├── .browserslistrc ├── .editorconfig ├── .gitignore ├── .storybook ├── main.ts └── preview.ts ├── NOTES.md ├── README.md ├── cypress.json ├── jest.config.js ├── package.json ├── src ├── AccessibleVisibilityContext.ts ├── GlobalStyles.tsx ├── HideOnEscapeKey.tsx ├── HtmlContent.tsx ├── HtmlPickerSelector.tsx ├── MultiplePickerProvider.tsx ├── Picker.stories.jsx ├── PickerContext.ts ├── PickerSelector.tsx ├── SinglePickerProvider.tsx ├── Visibility.stories.jsx ├── VisibilityConsumer.tsx ├── VisibilityContent.tsx ├── VisibilityContext.ts ├── VisibilityControlContext.ts ├── VisibilityControlProvider.tsx ├── VisibilityProvider.tsx ├── VisibilityTarget.tsx ├── VisibilityTrigger.tsx ├── createRandomString.ts ├── createUseSharedContext.ts ├── htmlStyleDecorators.tsx ├── jest-setup.js ├── jotaiScope.ts ├── toBePressed.expect.js ├── toBeSelected.expect.js ├── translateProps.ts ├── useAccessibleTarget.ts ├── useAccessibleTrigger.ts ├── useAccessibleVisibility.ts ├── useClonedChild.ts ├── useLinkedIds.ts ├── usePickerField.ts ├── useRegisterItem.ts ├── useScopedAtom.ts ├── useSharedVisibilityContext.ts ├── useSharedVisibilityControlContext.ts ├── useUniqueId.ts ├── useVisibility.ts └── useVisibilityControl.ts ├── tsconfig.json └── yarn.lock /.browserslistrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/.browserslistrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/.gitignore -------------------------------------------------------------------------------- /.storybook/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/.storybook/main.ts -------------------------------------------------------------------------------- /.storybook/preview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/.storybook/preview.ts -------------------------------------------------------------------------------- /NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/NOTES.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/README.md -------------------------------------------------------------------------------- /cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/cypress.json -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/package.json -------------------------------------------------------------------------------- /src/AccessibleVisibilityContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/AccessibleVisibilityContext.ts -------------------------------------------------------------------------------- /src/GlobalStyles.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/GlobalStyles.tsx -------------------------------------------------------------------------------- /src/HideOnEscapeKey.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/HideOnEscapeKey.tsx -------------------------------------------------------------------------------- /src/HtmlContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/HtmlContent.tsx -------------------------------------------------------------------------------- /src/HtmlPickerSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/HtmlPickerSelector.tsx -------------------------------------------------------------------------------- /src/MultiplePickerProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/MultiplePickerProvider.tsx -------------------------------------------------------------------------------- /src/Picker.stories.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/Picker.stories.jsx -------------------------------------------------------------------------------- /src/PickerContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/PickerContext.ts -------------------------------------------------------------------------------- /src/PickerSelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/PickerSelector.tsx -------------------------------------------------------------------------------- /src/SinglePickerProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/SinglePickerProvider.tsx -------------------------------------------------------------------------------- /src/Visibility.stories.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/Visibility.stories.jsx -------------------------------------------------------------------------------- /src/VisibilityConsumer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityConsumer.tsx -------------------------------------------------------------------------------- /src/VisibilityContent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityContent.tsx -------------------------------------------------------------------------------- /src/VisibilityContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityContext.ts -------------------------------------------------------------------------------- /src/VisibilityControlContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityControlContext.ts -------------------------------------------------------------------------------- /src/VisibilityControlProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityControlProvider.tsx -------------------------------------------------------------------------------- /src/VisibilityProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityProvider.tsx -------------------------------------------------------------------------------- /src/VisibilityTarget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityTarget.tsx -------------------------------------------------------------------------------- /src/VisibilityTrigger.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/VisibilityTrigger.tsx -------------------------------------------------------------------------------- /src/createRandomString.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/createRandomString.ts -------------------------------------------------------------------------------- /src/createUseSharedContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/createUseSharedContext.ts -------------------------------------------------------------------------------- /src/htmlStyleDecorators.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/htmlStyleDecorators.tsx -------------------------------------------------------------------------------- /src/jest-setup.js: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom' 2 | -------------------------------------------------------------------------------- /src/jotaiScope.ts: -------------------------------------------------------------------------------- 1 | export const jotaiScope = Symbol() 2 | -------------------------------------------------------------------------------- /src/toBePressed.expect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/toBePressed.expect.js -------------------------------------------------------------------------------- /src/toBeSelected.expect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/toBeSelected.expect.js -------------------------------------------------------------------------------- /src/translateProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/translateProps.ts -------------------------------------------------------------------------------- /src/useAccessibleTarget.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useAccessibleTarget.ts -------------------------------------------------------------------------------- /src/useAccessibleTrigger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useAccessibleTrigger.ts -------------------------------------------------------------------------------- /src/useAccessibleVisibility.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useAccessibleVisibility.ts -------------------------------------------------------------------------------- /src/useClonedChild.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useClonedChild.ts -------------------------------------------------------------------------------- /src/useLinkedIds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useLinkedIds.ts -------------------------------------------------------------------------------- /src/usePickerField.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/usePickerField.ts -------------------------------------------------------------------------------- /src/useRegisterItem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useRegisterItem.ts -------------------------------------------------------------------------------- /src/useScopedAtom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useScopedAtom.ts -------------------------------------------------------------------------------- /src/useSharedVisibilityContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useSharedVisibilityContext.ts -------------------------------------------------------------------------------- /src/useSharedVisibilityControlContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useSharedVisibilityControlContext.ts -------------------------------------------------------------------------------- /src/useUniqueId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useUniqueId.ts -------------------------------------------------------------------------------- /src/useVisibility.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useVisibility.ts -------------------------------------------------------------------------------- /src/useVisibilityControl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/src/useVisibilityControl.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Sawtaytoes/children-first-components/HEAD/yarn.lock --------------------------------------------------------------------------------