@julseb-lib/react 0.0.49 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +5 -0
- package/README.md +42 -11
- package/cypress/fixtures/example.json +5 -0
- package/cypress/index.d.ts +5 -0
- package/cypress/screenshots/ButtonGroup/__tests__/ButtonGroup.cy.tsx/ButtonGroup -- renders first button as ButtonIcon (failed).png +0 -0
- package/cypress/screenshots/Datepicker/__tests__/Datepicker.cy.tsx/Datepicker -- renders Datepicker component (failed).png +0 -0
- package/cypress/screenshots/Paginator/__tests__/Paginator.cy.tsx/Paginator -- renders text instead of an input (failed).png +0 -0
- package/cypress/screenshots/ProgressBar/__tests__/ProgressBar.cy.tsx/ProgressBar -- renders without animation (failed).png +0 -0
- package/cypress/support/commands.ts +52 -0
- package/cypress/support/component-index.html +12 -0
- package/cypress/support/component.tsx +79 -0
- package/cypress/tsconfig.json +9 -0
- package/cypress.config.ts +10 -0
- package/eslint.config.js +82 -0
- package/index.html +13 -0
- package/package.json +35 -69
- package/public/vite.svg +1 -0
- package/src/App.tsx +22 -0
- package/src/components/BaseCard.tsx +20 -0
- package/src/components/BasePage.tsx +26 -0
- package/src/components/ColorCard/ColorCard.tsx +41 -0
- package/src/components/ColorCard/index.ts +3 -0
- package/src/components/ColorCard/styles.tsx +28 -0
- package/src/components/ColorCard/types.ts +11 -0
- package/src/components/ComponentPreview.tsx +47 -0
- package/src/components/CoverLayout.tsx +99 -0
- package/src/components/DemoContainerStyles.tsx +19 -0
- package/src/components/GridItem.tsx +19 -0
- package/src/components/NavDemo/NavDemo.tsx +48 -0
- package/src/components/NavDemo/index.ts +3 -0
- package/src/components/NavDemo/styles.tsx +49 -0
- package/src/components/Page.tsx +23 -0
- package/src/components/ResetScroll.tsx +18 -0
- package/src/components/SbDemoLayout.tsx +30 -0
- package/src/components/StylesCard/StylesCard.tsx +50 -0
- package/src/components/StylesCard/index.ts +3 -0
- package/src/components/StylesCard/styles.tsx +54 -0
- package/src/components/StylesCard/types.ts +16 -0
- package/src/components/index.ts +12 -0
- package/src/components/layouts/MainDemo.tsx +16 -0
- package/src/components/layouts/WrapperDemo.tsx +14 -0
- package/src/data/components.tsx +242 -0
- package/src/data/docgen.json +2909 -0
- package/src/data/french-cities.ts +8683 -0
- package/src/data/index.ts +9 -0
- package/src/data/previews/layouts/Container.preview.tsx +23 -0
- package/src/data/previews/styles/Colors.preview.tsx +29 -0
- package/src/data/previews/styles/Overlays.preview.tsx +29 -0
- package/src/data/previews/styles/Radiuses.preview.tsx +29 -0
- package/src/data/previews/styles/Shadows.preview.tsx +29 -0
- package/src/data/previews/styles/Spacers.preview.tsx +29 -0
- package/src/data/previews/styles/ThemeProvider.preview.tsx +28 -0
- package/src/data/previews/utils/Helpers.preview.tsx +18 -0
- package/src/data/previews/utils/Hooks.preview.tsx +68 -0
- package/src/data/previews/utils/JsUtils.preview.tsx +67 -0
- package/src/data/previews/utils/Mixins.preview.tsx +18 -0
- package/src/data/previews/utils/OptionsMarkdown.tsx +108 -0
- package/src/data/previews/utils/RenderPreview.tsx +52 -0
- package/src/data/previews/utils/Variables.preview.tsx +51 -0
- package/src/data/previews/utils/hooks/index.ts +15 -0
- package/src/data/previews/utils/hooks/useClickOutside.preview.tsx +18 -0
- package/src/data/previews/utils/hooks/useCopyToClipboard.preview.tsx +17 -0
- package/src/data/previews/utils/hooks/useDebounce.preview.tsx +62 -0
- package/src/data/previews/utils/hooks/useExportData.preview.tsx +73 -0
- package/src/data/previews/utils/hooks/useFetch.preview.tsx +29 -0
- package/src/data/previews/utils/hooks/useForm.preview.tsx +39 -0
- package/src/data/previews/utils/hooks/useIsOverflow.preview.tsx +22 -0
- package/src/data/previews/utils/hooks/useKeyPress.preview.tsx +15 -0
- package/src/data/previews/utils/hooks/useMaxWidth.preview.tsx +7 -0
- package/src/data/previews/utils/hooks/useMergeRefs.preview.tsx +5 -0
- package/src/data/previews/utils/hooks/useMinWidth.preview.tsx +7 -0
- package/src/data/previews/utils/hooks/usePaginatedData.preview.tsx +12 -0
- package/src/data/previews/utils/hooks/usePagination.preview.tsx +12 -0
- package/src/data/previews/utils/hooks/useTouchScreen.preview.tsx +7 -0
- package/src/data/previews/utils/hooks/useTranslation.preview.tsx +44 -0
- package/src/data/site-data.ts +7 -0
- package/src/data/styles/all-colors.ts +908 -0
- package/src/data/styles/all-font-families.ts +16 -0
- package/src/data/styles/all-font-sizes.ts +82 -0
- package/src/data/styles/all-font-weights.ts +22 -0
- package/src/data/styles/all-layouts.ts +60 -0
- package/src/data/styles/all-line-heights.ts +16 -0
- package/src/data/styles/all-overlays.ts +43 -0
- package/src/data/styles/all-radiuses.ts +55 -0
- package/src/data/styles/all-shadows.ts +43 -0
- package/src/data/styles/all-spacers.ts +49 -0
- package/src/data/styles/all-transition.ts +22 -0
- package/src/data/styles/index.ts +13 -0
- package/src/data/styles.json +1538 -0
- package/src/data/types.ts +16 -0
- package/src/data/utils/all-helpers.ts +877 -0
- package/src/data/utils/all-js-utils.tsx +484 -0
- package/src/data/utils/all-mixins.ts +207 -0
- package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +61 -0
- package/src/lib/components/Accordion/__tests__/Accordion.cy.tsx +93 -0
- package/src/lib/components/Accordion/__tests__/data.ts +22 -0
- package/src/lib/components/Alert/__preview__/Alert.preview.tsx +52 -0
- package/src/lib/components/Alert/__tests__/Alert.cy.tsx +97 -0
- package/src/lib/components/Aside/__preview__/Aside.preview.tsx +27 -0
- package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +50 -0
- package/src/lib/components/Autocomplete/__tests__/Autocomplete.cy.tsx +38 -0
- package/src/lib/components/Autocomplete/__tests__/Preview.tsx +19 -0
- package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +82 -0
- package/src/lib/components/Avatar/__tests__/Avatar.cy.tsx +167 -0
- package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +33 -0
- package/src/lib/components/Badge/__preview__/Badge.preview.tsx +74 -0
- package/src/lib/components/Badge/__tests__/Badge.cy.tsx +130 -0
- package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +66 -0
- package/src/lib/components/Breadcrumbs/__tests__/Breadcrumbs.cy.tsx +70 -0
- package/src/lib/components/Breadcrumbs/__tests__/Preview.tsx +0 -0
- package/src/lib/components/Breadcrumbs/__tests__/data.ts +24 -0
- package/src/lib/components/Burger/__preview__/Burger.preview.tsx +60 -0
- package/src/lib/components/Burger/__tests__/Burger.cy.tsx +59 -0
- package/src/lib/components/Burger/__tests__/Preview.tsx +13 -0
- package/src/lib/components/Button/__preview__/Button.preview.tsx +183 -0
- package/src/lib/components/Button/__tests__/Button.cy.tsx +221 -0
- package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +129 -0
- package/src/lib/components/ButtonGroup/__tests__/ButtonGroup.cy.tsx +184 -0
- package/src/lib/components/ButtonGroup/__tests__/data.ts +33 -0
- package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +129 -0
- package/src/lib/components/ButtonIcon/__tests__/ButtonIcon.cy.tsx +180 -0
- package/src/lib/components/Card/__preview__/Card.preview.tsx +122 -0
- package/src/lib/components/Card/__tests__/Card.cy.tsx +49 -0
- package/src/lib/components/CodeContainer/CodeContainer.tsx +135 -0
- package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +29 -0
- package/src/lib/components/CodeContainer/styles.tsx +65 -0
- package/src/lib/components/Cover/__preview__/Cover.preview.tsx +45 -0
- package/src/lib/components/Cover/__tests__/Cover.cy.tsx +58 -0
- package/src/lib/components/Datepicker/__preview__/Datepicker.preview.tsx +107 -0
- package/src/lib/components/Datepicker/__tests__/Datepicker.cy.tsx +40 -0
- package/src/lib/components/Datepicker/__tests__/Preview.tsx +19 -0
- package/src/lib/components/DragList/__preview__/DragList.preview.tsx +57 -0
- package/src/lib/components/DragList/__tests__/DragList.cy.tsx +25 -0
- package/src/lib/components/DragList/__tests__/Preview.tsx +34 -0
- package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +67 -0
- package/src/lib/components/Drawer/__tests__/Drawer.cy.tsx +98 -0
- package/src/lib/components/Drawer/__tests__/Preview.tsx +43 -0
- package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +62 -0
- package/src/lib/components/Dropdown/__tests__/Dropdown.cy.tsx +73 -0
- package/src/lib/components/Dropdown/__tests__/Preview.tsx +103 -0
- package/src/lib/components/Fade/__preview__/Fade.preview.tsx +37 -0
- package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +41 -0
- package/src/lib/components/Fieldset/__preview__/Previews.tsx +72 -0
- package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +38 -0
- package/src/lib/components/Flexbox/__tests__/Flexbox.cy.tsx +23 -0
- package/src/lib/components/Footer/__preview__/Footer.preview.tsx +69 -0
- package/src/lib/components/Form/__preview__/Form.preview.tsx +76 -0
- package/src/lib/components/FullBleed/__preview__/FullBleed.preview.tsx +33 -0
- package/src/lib/components/FullBleed/__tests__/FullBleed.cy.tsx +27 -0
- package/src/lib/components/Grid/__preview__/Grid.preview.tsx +37 -0
- package/src/lib/components/Grid/__tests__/Grid.cy.tsx +39 -0
- package/src/lib/components/Header/__preview__/Header.preview.tsx +33 -0
- package/src/lib/components/Header/__tests__/Header.cy.tsx +95 -0
- package/src/lib/components/Helmet/__preview__/Helmet.preview.tsx +26 -0
- package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +40 -0
- package/src/lib/components/Highlight/__tests__/Highlight.cy.tsx +32 -0
- package/src/lib/components/Hr/__preview__/Hr.preview.tsx +32 -0
- package/src/lib/components/Hr/__tests__/Hr.cy.tsx +69 -0
- package/src/lib/components/Icon/__preview__/Icon.preview.tsx +55 -0
- package/src/lib/components/Icon/__tests__/Icon.cy.tsx +43 -0
- package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +59 -0
- package/src/lib/components/IconMenu/__tests__/IconMenu.cy.tsx +35 -0
- package/src/lib/components/Image/__preview__/Image.preview.tsx +88 -0
- package/src/lib/components/Image/__tests__/Image.cy.tsx +105 -0
- package/src/lib/components/Input/__preview__/Input.demo.tsx +73 -0
- package/src/lib/components/Input/__preview__/Input.preview.tsx +164 -0
- package/src/lib/components/Input/__tests__/Input.cy.tsx +145 -0
- package/src/lib/components/Input/__tests__/Preview.tsx +52 -0
- package/src/lib/components/InputCheck/__preview__/InputCheck.demo.tsx +422 -0
- package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +39 -0
- package/src/lib/components/InputCheck/__tests__/InputCheck.cy.tsx +100 -0
- package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +42 -0
- package/src/lib/components/InputCounter/__tests__/InputCounter.cy.tsx +99 -0
- package/src/lib/components/InputCounter/__tests__/Preview.tsx +58 -0
- package/src/lib/components/InputImage/__preview__/InputImage.demo.tsx +91 -0
- package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +33 -0
- package/src/lib/components/InputImage/__tests__/InputImage.cy.tsx +85 -0
- package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +76 -0
- package/src/lib/components/InputPhone/__tests__/InputPhone.cy.tsx +52 -0
- package/src/lib/components/InputPhone/__tests__/Preview.tsx +23 -0
- package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +87 -0
- package/src/lib/components/InputPin/__tests__/InputPin.cy.tsx +43 -0
- package/src/lib/components/InputPin/__tests__/Preview.tsx +28 -0
- package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +57 -0
- package/src/lib/components/InputSlider/__tests__/InputSlider.cy.tsx +56 -0
- package/src/lib/components/InputSlider/__tests__/Preview.tsx +20 -0
- package/src/lib/components/Key/__preview__/Key.preview.tsx +45 -0
- package/src/lib/components/Key/__tests__/Key.cy.tsx +80 -0
- package/src/lib/components/Link/__preview__/Link.preview.tsx +55 -0
- package/src/lib/components/Link/__tests__/Link.cy.tsx +16 -0
- package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +28 -0
- package/src/lib/components/Linkify/__tests__/Linkify.cy.tsx +28 -0
- package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +102 -0
- package/src/lib/components/ListGroup/__tests__/ListGroup.cy.tsx +85 -0
- package/src/lib/components/ListGroup/__tests__/data.ts +58 -0
- package/src/lib/components/Loader/__preview__/Loader.preview.tsx +39 -0
- package/src/lib/components/Loader/__tests__/Loader.cy.tsx +72 -0
- package/src/lib/components/Main/__preview__/Main.preview.tsx +33 -0
- package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +28 -0
- package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.demo.tsx +11 -0
- package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +28 -0
- package/src/lib/components/MarkdownEditor/__tests__/MarkdownEditor.cy.tsx +50 -0
- package/src/lib/components/MarkdownEditor/__tests__/Preview.tsx +11 -0
- package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +48 -0
- package/src/lib/components/Masonry/__tests__/Masonry.cy.tsx +35 -0
- package/src/lib/components/Messaging/__preview__/Messaging.demo.tsx +39 -0
- package/src/lib/components/Messaging/__preview__/Messaging.preview.tsx +130 -0
- package/src/lib/components/Messaging/__tests__/Messaging.cy.tsx +31 -0
- package/src/lib/components/Messaging/__tests__/Preview.tsx +69 -0
- package/src/lib/components/Modal/__preview__/Modal.preview.tsx +37 -0
- package/src/lib/components/Modal/__preview__/Previews.tsx +65 -0
- package/src/lib/components/Modal/__tests__/Modal.cy.tsx +54 -0
- package/src/lib/components/Modal/__tests__/Preview.tsx +72 -0
- package/src/lib/components/PageLayout/__preview__/PageLayout.preview.tsx +34 -0
- package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +33 -0
- package/src/lib/components/PageLoading/__tests__/PageLoading.cy.tsx +21 -0
- package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +61 -0
- package/src/lib/components/Pagination/__tests__/Pagination.cy.tsx +51 -0
- package/src/lib/components/Pagination/__tests__/Preview.tsx +76 -0
- package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +60 -0
- package/src/lib/components/Paginator/__tests__/Paginator.cy.tsx +74 -0
- package/src/lib/components/Paginator/__tests__/Preview.tsx +107 -0
- package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +28 -0
- package/src/lib/components/ProgressBar/__tests__/ProgressBar.cy.tsx +63 -0
- package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +55 -0
- package/src/lib/components/ProgressCircle/__tests__/ProgressCircle.cy.tsx +81 -0
- package/src/lib/components/Rating/__preview__/Rating.preview.tsx +56 -0
- package/src/lib/components/Rating/__tests__/Preview.tsx +28 -0
- package/src/lib/components/Rating/__tests__/Rating.cy.tsx +55 -0
- package/src/lib/components/ResetScroll/__preview__/ResetScroll.preview.tsx +19 -0
- package/src/lib/components/Section/__preview__/Section.preview.tsx +34 -0
- package/src/lib/components/Section/__tests__/Section.cy.tsx +26 -0
- package/src/lib/components/Select/__preview__/Select.preview.tsx +40 -0
- package/src/lib/components/Select/__tests__/Preview.tsx +32 -0
- package/src/lib/components/Select/__tests__/Select.cy.tsx +47 -0
- package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +115 -0
- package/src/lib/components/Skeleton/__tests__/Skeleton.cy.tsx +118 -0
- package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +53 -0
- package/src/lib/components/Slideshow/__tests__/Slideshow.cy.tsx +81 -0
- package/src/lib/components/SrOnly/__preview__/SrOnly.preview.tsx +28 -0
- package/src/lib/components/SrOnly/__tests__/SrOnly.cy.tsx +17 -0
- package/src/lib/components/Stepper/__preview__/Stepper.preview.tsx +63 -0
- package/src/lib/components/Stepper/__tests__/Stepper.cy.tsx +96 -0
- package/src/lib/components/Stepper/__tests__/data.ts +29 -0
- package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +180 -0
- package/src/lib/components/Table/__preview__/Table.preview.tsx +112 -0
- package/src/lib/components/Table/__tests__/Table.cy.tsx +24 -0
- package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +64 -0
- package/src/lib/components/Tabs/__tests__/Tabs.cy.tsx +62 -0
- package/src/lib/components/Tabs/__tests__/data.tsx +24 -0
- package/src/lib/components/Tag/__preview__/Tag.preview.tsx +63 -0
- package/src/lib/components/Tag/__tests__/Tag.cy.tsx +155 -0
- package/src/lib/components/Text/__preview__/Text.tsx +35 -0
- package/src/lib/components/Text/__preview__/previews/Description.tsx +20 -0
- package/src/lib/components/Text/__preview__/previews/Ordered.tsx +15 -0
- package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +37 -0
- package/src/lib/components/Text/__preview__/previews/Quote.tsx +11 -0
- package/src/lib/components/Text/__preview__/previews/Small.tsx +11 -0
- package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +30 -0
- package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +34 -0
- package/src/lib/components/Text/__preview__/previews/Unordered.tsx +15 -0
- package/src/lib/components/Text/__tests__/Text.cy.tsx +83 -0
- package/src/lib/components/Text/__tests__/utils.ts +7 -0
- package/src/lib/components/TextIcon/__preview__/TextIcon.preview.tsx +29 -0
- package/src/lib/components/TextIcon/__tests__/TextIcon.cy.tsx +131 -0
- package/src/lib/components/Timepicker/__preview__/Timepicker.demo.tsx +70 -0
- package/src/lib/components/Timepicker/__preview__/Timepicker.preview.tsx +60 -0
- package/src/lib/components/Timepicker/__tests__/Preview.tsx +68 -0
- package/src/lib/components/Timepicker/__tests__/Timepicker.cy.tsx +18 -0
- package/src/lib/components/Toast/__preview__/Toast.preview.tsx +32 -0
- package/src/lib/components/Toast/__preview__/Toaster.demo.tsx +79 -0
- package/src/lib/components/Toast/__tests__/Preview.tsx +78 -0
- package/src/lib/components/Toast/__tests__/Toast.cy.tsx +99 -0
- package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +59 -0
- package/src/lib/components/Tooltip/__tests__/Tooltip.cy.tsx +40 -0
- package/src/lib/components/Truncate/__preview__/Truncate.demo.tsx +45 -0
- package/src/lib/components/Truncate/__preview__/Truncate.preview.tsx +19 -0
- package/src/lib/components/Truncate/__tests__/Truncate.cy.tsx +71 -0
- package/src/lib/components/Truncate/__tests__/utils.ts +12 -0
- package/src/lib/components/Video/__preview__/Video.preview.tsx +45 -0
- package/src/lib/components/Video/__tests__/Video.cy.tsx +18 -0
- package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +25 -0
- package/src/lib/components/Youtube/__preview__/Youtube.preview.tsx +28 -0
- package/src/lib/components/Youtube/__tests__/Youtube.cy.tsx +26 -0
- package/src/main.tsx +13 -0
- package/src/pages/404.tsx +20 -0
- package/src/pages/Generate.tsx +505 -0
- package/src/pages/GenerateOLD.tsx +204 -0
- package/src/pages/Homepage.tsx +8 -0
- package/src/pages/components/ComponentPage.tsx +46 -0
- package/src/pages/demos/BackToTopDemo.tsx +176 -0
- package/src/pages/demos/DemoAsideBoth.tsx +37 -0
- package/src/pages/demos/DemoAsideDefault.tsx +25 -0
- package/src/pages/demos/DemoAsideSmall.tsx +29 -0
- package/src/pages/demos/DemoCoverBottom.tsx +27 -0
- package/src/pages/demos/DemoCoverBottomOverlay.tsx +27 -0
- package/src/pages/demos/DemoCoverCenter.tsx +27 -0
- package/src/pages/demos/DemoCoverCenterOverlay.tsx +28 -0
- package/src/pages/demos/DemoHeader.tsx +76 -0
- package/src/pages/demos/DemoMainDefault.tsx +16 -0
- package/src/pages/demos/DemoMainForm.tsx +20 -0
- package/src/pages/demos/DemoMainFull.tsx +126 -0
- package/src/pages/demos/DemoMainLarge.tsx +21 -0
- package/src/pages/demos/DemoMainNumber.tsx +21 -0
- package/src/pages/demos/DemoPageLoading.tsx +18 -0
- package/src/pages/demos/PageLayoutDemo.tsx +53 -0
- package/src/routes/index.tsx +91 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig-types.json +32 -0
- package/tsconfig.app.json +26 -0
- package/tsconfig.json +7 -0
- package/tsconfig.node.json +24 -0
- package/vite.config.ts +49 -0
- package/dist/index.cjs.js +0 -4142
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +0 -22196
- package/dist/index.umd.js +0 -4148
- package/dist/lib/components/CodeContainer/CodeContainer.tsx +0 -129
- package/dist/lib/components/CodeContainer/styles.tsx +0 -65
- package/dist/lib/index.css +0 -1422
- package/dist/styles-BCSPldCD.js +0 -16
- package/dist/styles-CtcGw3Gv.cjs +0 -7
- /package/{dist → src}/lib/Mixins.tsx +0 -0
- /package/{dist → src}/lib/Variables.ts +0 -0
- /package/{dist → src}/lib/components/Accordion/Accordion.tsx +0 -0
- /package/{dist → src}/lib/components/Accordion/AccordionButton.tsx +0 -0
- /package/{dist → src}/lib/components/Accordion/AccordionContent.tsx +0 -0
- /package/{dist → src}/lib/components/Accordion/AccordionItem.tsx +0 -0
- /package/{dist → src}/lib/components/Accordion/index.ts +0 -0
- /package/{dist → src}/lib/components/Accordion/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Accordion/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Accordion/types.ts +0 -0
- /package/{dist → src}/lib/components/Alert/Alert.tsx +0 -0
- /package/{dist → src}/lib/components/Alert/index.ts +0 -0
- /package/{dist → src}/lib/components/Alert/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Alert/types.ts +0 -0
- /package/{dist → src}/lib/components/Aside/Aside.tsx +0 -0
- /package/{dist → src}/lib/components/Aside/index.ts +0 -0
- /package/{dist → src}/lib/components/Aside/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Aside/types.ts +0 -0
- /package/{dist → src}/lib/components/Autocomplete/Autocomplete.tsx +0 -0
- /package/{dist → src}/lib/components/Autocomplete/index.ts +0 -0
- /package/{dist → src}/lib/components/Autocomplete/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Autocomplete/types.ts +0 -0
- /package/{dist → src}/lib/components/Avatar/Avatar.tsx +0 -0
- /package/{dist → src}/lib/components/Avatar/AvatarFunction.tsx +0 -0
- /package/{dist → src}/lib/components/Avatar/index.ts +0 -0
- /package/{dist → src}/lib/components/Avatar/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Avatar/types.ts +0 -0
- /package/{dist → src}/lib/components/BackToTop/BackToTop.tsx +0 -0
- /package/{dist → src}/lib/components/BackToTop/index.ts +0 -0
- /package/{dist → src}/lib/components/BackToTop/styles.tsx +0 -0
- /package/{dist → src}/lib/components/BackToTop/types.ts +0 -0
- /package/{dist → src}/lib/components/Badge/Badge.tsx +0 -0
- /package/{dist → src}/lib/components/Badge/index.ts +0 -0
- /package/{dist → src}/lib/components/Badge/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Badge/types.ts +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/BreadcrumbItem.tsx +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/index.ts +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Breadcrumbs/types.ts +0 -0
- /package/{dist → src}/lib/components/Burger/Burger.tsx +0 -0
- /package/{dist → src}/lib/components/Burger/index.ts +0 -0
- /package/{dist → src}/lib/components/Burger/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Burger/types.ts +0 -0
- /package/{dist → src}/lib/components/Button/Button.tsx +0 -0
- /package/{dist → src}/lib/components/Button/index.ts +0 -0
- /package/{dist → src}/lib/components/Button/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Button/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Button/types.ts +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/ButtonGroup.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/ButtonGroupButton.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/ButtonGroupToggle.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/index.ts +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/styles.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/ButtonGroup/types.ts +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/ButtonFunction.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/ButtonIcon.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/index.ts +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/styles.tsx +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/ButtonIcon/types.ts +0 -0
- /package/{dist → src}/lib/components/Card/Card.tsx +0 -0
- /package/{dist → src}/lib/components/Card/index.ts +0 -0
- /package/{dist → src}/lib/components/Card/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Card/types.ts +0 -0
- /package/{dist → src}/lib/components/CodeContainer/index.ts +0 -0
- /package/{dist → src}/lib/components/CodeContainer/types.ts +0 -0
- /package/{dist → src}/lib/components/ComponentsMixins/ComponentsMixins.tsx +0 -0
- /package/{dist → src}/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +0 -0
- /package/{dist → src}/lib/components/ComponentsMixins/index.ts +0 -0
- /package/{dist → src}/lib/components/ComponentsMixins/types.ts +0 -0
- /package/{dist → src}/lib/components/Cover/Cover.tsx +0 -0
- /package/{dist → src}/lib/components/Cover/index.ts +0 -0
- /package/{dist → src}/lib/components/Cover/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Cover/types.ts +0 -0
- /package/{dist → src}/lib/components/Datepicker/Calendar.tsx +0 -0
- /package/{dist → src}/lib/components/Datepicker/Datepicker.tsx +0 -0
- /package/{dist → src}/lib/components/Datepicker/data.ts +0 -0
- /package/{dist → src}/lib/components/Datepicker/index.ts +0 -0
- /package/{dist → src}/lib/components/Datepicker/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Datepicker/types.ts +0 -0
- /package/{dist → src}/lib/components/DragList/DragList.tsx +0 -0
- /package/{dist → src}/lib/components/DragList/DragListItem.tsx +0 -0
- /package/{dist → src}/lib/components/DragList/index.ts +0 -0
- /package/{dist → src}/lib/components/DragList/styles.tsx +0 -0
- /package/{dist → src}/lib/components/DragList/types.ts +0 -0
- /package/{dist → src}/lib/components/Drawer/Drawer.tsx +0 -0
- /package/{dist → src}/lib/components/Drawer/index.ts +0 -0
- /package/{dist → src}/lib/components/Drawer/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Drawer/types.ts +0 -0
- /package/{dist → src}/lib/components/Dropdown/Dropdown.tsx +0 -0
- /package/{dist → src}/lib/components/Dropdown/DropdownContainer.tsx +0 -0
- /package/{dist → src}/lib/components/Dropdown/DropdownItem.tsx +0 -0
- /package/{dist → src}/lib/components/Dropdown/index.ts +0 -0
- /package/{dist → src}/lib/components/Dropdown/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Dropdown/types.ts +0 -0
- /package/{dist → src}/lib/components/Fade/Fade.tsx +0 -0
- /package/{dist → src}/lib/components/Fade/index.ts +0 -0
- /package/{dist → src}/lib/components/Fade/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Fade/types.ts +0 -0
- /package/{dist → src}/lib/components/Fallback/Fallback.tsx +0 -0
- /package/{dist → src}/lib/components/Fallback/index.ts +0 -0
- /package/{dist → src}/lib/components/Fieldset/Fieldset.tsx +0 -0
- /package/{dist → src}/lib/components/Fieldset/index.ts +0 -0
- /package/{dist → src}/lib/components/Fieldset/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Fieldset/types.ts +0 -0
- /package/{dist → src}/lib/components/Flexbox/Flexbox.tsx +0 -0
- /package/{dist → src}/lib/components/Flexbox/index.ts +0 -0
- /package/{dist → src}/lib/components/Flexbox/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Flexbox/types.ts +0 -0
- /package/{dist → src}/lib/components/Footer/Footer.tsx +0 -0
- /package/{dist → src}/lib/components/Footer/FooterLink.tsx +0 -0
- /package/{dist → src}/lib/components/Footer/FooterLogo.tsx +0 -0
- /package/{dist → src}/lib/components/Footer/index.ts +0 -0
- /package/{dist → src}/lib/components/Footer/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Footer/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Footer/types.ts +0 -0
- /package/{dist → src}/lib/components/Form/Form.tsx +0 -0
- /package/{dist → src}/lib/components/Form/index.ts +0 -0
- /package/{dist → src}/lib/components/Form/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Form/types.ts +0 -0
- /package/{dist → src}/lib/components/FullBleed/FullBleed.tsx +0 -0
- /package/{dist → src}/lib/components/FullBleed/index.ts +0 -0
- /package/{dist → src}/lib/components/FullBleed/styles.tsx +0 -0
- /package/{dist → src}/lib/components/FullBleed/types.ts +0 -0
- /package/{dist → src}/lib/components/Grid/Grid.tsx +0 -0
- /package/{dist → src}/lib/components/Grid/index.ts +0 -0
- /package/{dist → src}/lib/components/Grid/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Grid/types.ts +0 -0
- /package/{dist → src}/lib/components/Header/Header.tsx +0 -0
- /package/{dist → src}/lib/components/Header/HeaderBurger.tsx +0 -0
- /package/{dist → src}/lib/components/Header/HeaderLogo.tsx +0 -0
- /package/{dist → src}/lib/components/Header/HeaderNav.tsx +0 -0
- /package/{dist → src}/lib/components/Header/HeaderNavLink.tsx +0 -0
- /package/{dist → src}/lib/components/Header/HeaderSearch.tsx +0 -0
- /package/{dist → src}/lib/components/Header/index.ts +0 -0
- /package/{dist → src}/lib/components/Header/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Header/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Header/types.ts +0 -0
- /package/{dist → src}/lib/components/Helmet/Helmet.tsx +0 -0
- /package/{dist → src}/lib/components/Helmet/index.ts +0 -0
- /package/{dist → src}/lib/components/Helmet/types.ts +0 -0
- /package/{dist → src}/lib/components/Highlight/Highlight.tsx +0 -0
- /package/{dist → src}/lib/components/Highlight/index.ts +0 -0
- /package/{dist → src}/lib/components/Highlight/types.ts +0 -0
- /package/{dist → src}/lib/components/Hr/Hr.tsx +0 -0
- /package/{dist → src}/lib/components/Hr/index.ts +0 -0
- /package/{dist → src}/lib/components/Hr/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Hr/types.ts +0 -0
- /package/{dist → src}/lib/components/Icon/Icon.tsx +0 -0
- /package/{dist → src}/lib/components/Icon/index.ts +0 -0
- /package/{dist → src}/lib/components/Icon/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Icon/types.ts +0 -0
- /package/{dist → src}/lib/components/IconMenu/IconMenu.tsx +0 -0
- /package/{dist → src}/lib/components/IconMenu/IconMenuItem.tsx +0 -0
- /package/{dist → src}/lib/components/IconMenu/index.ts +0 -0
- /package/{dist → src}/lib/components/IconMenu/styles.tsx +0 -0
- /package/{dist → src}/lib/components/IconMenu/types.ts +0 -0
- /package/{dist → src}/lib/components/Image/Image.tsx +0 -0
- /package/{dist → src}/lib/components/Image/ImageFunction.tsx +0 -0
- /package/{dist → src}/lib/components/Image/index.ts +0 -0
- /package/{dist → src}/lib/components/Image/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Image/types.ts +0 -0
- /package/{dist → src}/lib/components/Input/Input.tsx +0 -0
- /package/{dist → src}/lib/components/Input/index.ts +0 -0
- /package/{dist → src}/lib/components/Input/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Input/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Input/templates/ColorInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/DateInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/FileInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/PasswordInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/SearchInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/SelectInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/TextInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/TextareaInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/templates/TimeInput.tsx +0 -0
- /package/{dist → src}/lib/components/Input/types.ts +0 -0
- /package/{dist → src}/lib/components/InputCheck/InputCheck.tsx +0 -0
- /package/{dist → src}/lib/components/InputCheck/index.ts +0 -0
- /package/{dist → src}/lib/components/InputCheck/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputCheck/types.ts +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputAndListContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputButton.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputIcon.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputLeftContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputPrefix.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputRightContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputSuffix.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputValidationHelper.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputValidationIcon.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/InputWrapper.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/ListInput.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/components/ListInputItem.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/index.ts +0 -0
- /package/{dist → src}/lib/components/InputComponents/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputComponents/types.ts +0 -0
- /package/{dist → src}/lib/components/InputContainer/HelperBottom.tsx +0 -0
- /package/{dist → src}/lib/components/InputContainer/InputContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputContainer/index.ts +0 -0
- /package/{dist → src}/lib/components/InputContainer/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputContainer/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/InputContainer/types.ts +0 -0
- /package/{dist → src}/lib/components/InputCounter/InputCounter.tsx +0 -0
- /package/{dist → src}/lib/components/InputCounter/index.ts +0 -0
- /package/{dist → src}/lib/components/InputCounter/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputCounter/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/InputCounter/types.ts +0 -0
- /package/{dist → src}/lib/components/InputImage/EmptyContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputImage/HoverContainer.tsx +0 -0
- /package/{dist → src}/lib/components/InputImage/InputImage.tsx +0 -0
- /package/{dist → src}/lib/components/InputImage/index.ts +0 -0
- /package/{dist → src}/lib/components/InputImage/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputImage/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/InputImage/types.ts +0 -0
- /package/{dist → src}/lib/components/InputPhone/InputPhone.tsx +0 -0
- /package/{dist → src}/lib/components/InputPhone/index.ts +0 -0
- /package/{dist → src}/lib/components/InputPhone/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputPhone/types.ts +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/countries.ts +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ac.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ad.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ae.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/af.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ag.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ai.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/al.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/am.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ao.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/aq.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ar.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/as.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/at.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/au.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/aw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ax.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/az.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ba.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bb.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bd.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/be.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bi.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bj.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bo.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bq.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/br.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bs.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/by.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/bz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ca.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cd.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cefta.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ch.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ci.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ck.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/co.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cp.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cx.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cy.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/cz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/de.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/dg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/dj.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/dk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/dm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/do.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/dz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ea.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ec.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ee.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/eg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/eh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/er.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/es-ct.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/es-ga.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/es.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/et.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/eu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fi.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fj.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fo.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/fr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ga.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gb.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gd.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ge.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gi.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gp.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gq.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gs.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/gy.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/hk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/hm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/hn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/hr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ht.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/hu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ic.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/id.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ie.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/il.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/im.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/in.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/io.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/iq.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ir.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/is.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/it.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/je.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/jm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/jo.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/jp.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ke.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ki.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/km.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kp.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ky.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/kz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/la.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lb.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/li.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ls.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/lv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ly.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ma.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/md.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/me.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ml.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mo.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mp.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mq.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ms.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mx.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/my.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/mz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/na.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ne.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ng.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ni.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/no.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/np.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/nz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/om.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pa.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pe.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ph.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ps.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/pw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/py.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/qa.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/re.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ro.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/rs.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ru.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/rw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sa.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sb.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sd.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/se.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sh.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/si.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sj.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/so.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ss.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/st.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sx.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sy.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/sz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ta.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/td.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/th.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tj.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tl.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/to.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tr.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tv.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tw.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/tz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ua.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ug.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/um.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/un.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/us.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/uy.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/uz.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/va.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/vc.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ve.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/vg.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/vi.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/vn.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/vu.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/wf.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ws.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/xk.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/xx.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/ye.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/yt.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/za.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/zm.svg +0 -0
- /package/{dist → src}/lib/components/InputPhone/utils/flags/zw.svg +0 -0
- /package/{dist → src}/lib/components/InputPin/InputPin.tsx +0 -0
- /package/{dist → src}/lib/components/InputPin/index.ts +0 -0
- /package/{dist → src}/lib/components/InputPin/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputPin/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/InputPin/types.ts +0 -0
- /package/{dist → src}/lib/components/InputSlider/InputSlider.tsx +0 -0
- /package/{dist → src}/lib/components/InputSlider/Slider.tsx +0 -0
- /package/{dist → src}/lib/components/InputSlider/index.ts +0 -0
- /package/{dist → src}/lib/components/InputSlider/styles.tsx +0 -0
- /package/{dist → src}/lib/components/InputSlider/types.ts +0 -0
- /package/{dist → src}/lib/components/Key/Key.tsx +0 -0
- /package/{dist → src}/lib/components/Key/index.ts +0 -0
- /package/{dist → src}/lib/components/Key/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Key/types.ts +0 -0
- /package/{dist → src}/lib/components/LibIcon/LibIcon.tsx +0 -0
- /package/{dist → src}/lib/components/LibIcon/index.ts +0 -0
- /package/{dist → src}/lib/components/LibIcon/types.ts +0 -0
- /package/{dist → src}/lib/components/Link/Link.tsx +0 -0
- /package/{dist → src}/lib/components/Link/index.ts +0 -0
- /package/{dist → src}/lib/components/Link/types.ts +0 -0
- /package/{dist → src}/lib/components/Linkify/Linkify.tsx +0 -0
- /package/{dist → src}/lib/components/Linkify/index.ts +0 -0
- /package/{dist → src}/lib/components/Linkify/types.ts +0 -0
- /package/{dist → src}/lib/components/ListGroup/ListGroup.tsx +0 -0
- /package/{dist → src}/lib/components/ListGroup/ListGroupItem.tsx +0 -0
- /package/{dist → src}/lib/components/ListGroup/ListGroupTitle.tsx +0 -0
- /package/{dist → src}/lib/components/ListGroup/index.ts +0 -0
- /package/{dist → src}/lib/components/ListGroup/styles.tsx +0 -0
- /package/{dist → src}/lib/components/ListGroup/types.ts +0 -0
- /package/{dist → src}/lib/components/Loader/Loader.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/index.ts +0 -0
- /package/{dist → src}/lib/components/Loader/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/templates/LoaderFour.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/templates/LoaderOne.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/templates/LoaderThree.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/templates/LoaderTwo.tsx +0 -0
- /package/{dist → src}/lib/components/Loader/types.ts +0 -0
- /package/{dist → src}/lib/components/Main/Main.tsx +0 -0
- /package/{dist → src}/lib/components/Main/index.ts +0 -0
- /package/{dist → src}/lib/components/Main/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Main/types.ts +0 -0
- /package/{dist → src}/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownContainer/index.ts +0 -0
- /package/{dist → src}/lib/components/MarkdownContainer/styles.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownContainer/types.ts +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/MdEditorInput.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/index.ts +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/markdown-buttons.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/styles.tsx +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/MarkdownEditor/types.ts +0 -0
- /package/{dist → src}/lib/components/Masonry/Masonry.tsx +0 -0
- /package/{dist → src}/lib/components/Masonry/index.ts +0 -0
- /package/{dist → src}/lib/components/Masonry/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Masonry/types.ts +0 -0
- /package/{dist → src}/lib/components/Masonry/utils.ts +0 -0
- /package/{dist → src}/lib/components/Messaging/Message.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/MessageForm.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/MessagesContainer.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/MessagesList.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/Messaging.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/index.ts +0 -0
- /package/{dist → src}/lib/components/Messaging/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Messaging/types.ts +0 -0
- /package/{dist → src}/lib/components/Modal/Modal.tsx +0 -0
- /package/{dist → src}/lib/components/Modal/index.ts +0 -0
- /package/{dist → src}/lib/components/Modal/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Modal/types.ts +0 -0
- /package/{dist → src}/lib/components/PageLayout/PageLayout.tsx +0 -0
- /package/{dist → src}/lib/components/PageLayout/index.ts +0 -0
- /package/{dist → src}/lib/components/PageLayout/types.ts +0 -0
- /package/{dist → src}/lib/components/PageLoading/PageLoading.tsx +0 -0
- /package/{dist → src}/lib/components/PageLoading/index.ts +0 -0
- /package/{dist → src}/lib/components/PageLoading/styles.tsx +0 -0
- /package/{dist → src}/lib/components/PageLoading/types.ts +0 -0
- /package/{dist → src}/lib/components/Pagination/Pagination.tsx +0 -0
- /package/{dist → src}/lib/components/Pagination/PaginationButton.tsx +0 -0
- /package/{dist → src}/lib/components/Pagination/index.ts +0 -0
- /package/{dist → src}/lib/components/Pagination/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Pagination/types.ts +0 -0
- /package/{dist → src}/lib/components/Paginator/Paginator.tsx +0 -0
- /package/{dist → src}/lib/components/Paginator/index.ts +0 -0
- /package/{dist → src}/lib/components/Paginator/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Paginator/types.ts +0 -0
- /package/{dist → src}/lib/components/ProgressBar/ProgressBar.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressBar/index.ts +0 -0
- /package/{dist → src}/lib/components/ProgressBar/styles.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressBar/types.ts +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/Circle.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/ProgressCircle.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/ProgressCircleFn.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/Value.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/clean-percentage.ts +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/index.ts +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/styles.tsx +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/ProgressCircle/types.ts +0 -0
- /package/{dist → src}/lib/components/Rating/Rating.tsx +0 -0
- /package/{dist → src}/lib/components/Rating/index.ts +0 -0
- /package/{dist → src}/lib/components/Rating/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Rating/types.ts +0 -0
- /package/{dist → src}/lib/components/ResetScroll/ResetScroll.tsx +0 -0
- /package/{dist → src}/lib/components/ResetScroll/index.ts +0 -0
- /package/{dist → src}/lib/components/Section/Section.tsx +0 -0
- /package/{dist → src}/lib/components/Section/index.ts +0 -0
- /package/{dist → src}/lib/components/Section/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Section/types.ts +0 -0
- /package/{dist → src}/lib/components/Select/Select.tsx +0 -0
- /package/{dist → src}/lib/components/Select/SelectButton.tsx +0 -0
- /package/{dist → src}/lib/components/Select/index.ts +0 -0
- /package/{dist → src}/lib/components/Select/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Select/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Select/types.ts +0 -0
- /package/{dist → src}/lib/components/Skeleton/Skeleton.tsx +0 -0
- /package/{dist → src}/lib/components/Skeleton/SkeletonCard.tsx +0 -0
- /package/{dist → src}/lib/components/Skeleton/SkeletonShine.tsx +0 -0
- /package/{dist → src}/lib/components/Skeleton/index.ts +0 -0
- /package/{dist → src}/lib/components/Skeleton/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Skeleton/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Skeleton/types.ts +0 -0
- /package/{dist → src}/lib/components/Slideshow/Slideshow.tsx +0 -0
- /package/{dist → src}/lib/components/Slideshow/SlideshowButton.tsx +0 -0
- /package/{dist → src}/lib/components/Slideshow/SlideshowPagination.tsx +0 -0
- /package/{dist → src}/lib/components/Slideshow/index.ts +0 -0
- /package/{dist → src}/lib/components/Slideshow/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Slideshow/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Slideshow/types.ts +0 -0
- /package/{dist → src}/lib/components/SrOnly/SrOnly.tsx +0 -0
- /package/{dist → src}/lib/components/SrOnly/index.ts +0 -0
- /package/{dist → src}/lib/components/SrOnly/styles.tsx +0 -0
- /package/{dist → src}/lib/components/SrOnly/types.ts +0 -0
- /package/{dist → src}/lib/components/Stepper/Step.tsx +0 -0
- /package/{dist → src}/lib/components/Stepper/Stepper.tsx +0 -0
- /package/{dist → src}/lib/components/Stepper/index.ts +0 -0
- /package/{dist → src}/lib/components/Stepper/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Stepper/types.ts +0 -0
- /package/{dist → src}/lib/components/Sticky/Sticky.tsx +0 -0
- /package/{dist → src}/lib/components/Sticky/index.ts +0 -0
- /package/{dist → src}/lib/components/Sticky/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Sticky/types.ts +0 -0
- /package/{dist → src}/lib/components/Table/TBody.tsx +0 -0
- /package/{dist → src}/lib/components/Table/THead.tsx +0 -0
- /package/{dist → src}/lib/components/Table/Table.tsx +0 -0
- /package/{dist → src}/lib/components/Table/Td.tsx +0 -0
- /package/{dist → src}/lib/components/Table/Tr.tsx +0 -0
- /package/{dist → src}/lib/components/Table/index.ts +0 -0
- /package/{dist → src}/lib/components/Table/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Table/types.ts +0 -0
- /package/{dist → src}/lib/components/Tabs/TabButton.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/TabItem.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/Tabs.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/TabsButtonsContainer.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/TabsContainer.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/index.ts +0 -0
- /package/{dist → src}/lib/components/Tabs/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Tabs/types.ts +0 -0
- /package/{dist → src}/lib/components/Tag/Tag.tsx +0 -0
- /package/{dist → src}/lib/components/Tag/index.ts +0 -0
- /package/{dist → src}/lib/components/Tag/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Tag/types.ts +0 -0
- /package/{dist → src}/lib/components/Text/Text.tsx +0 -0
- /package/{dist → src}/lib/components/Text/index.ts +0 -0
- /package/{dist → src}/lib/components/Text/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Text/subtypes.ts +0 -0
- /package/{dist → src}/lib/components/Text/templates/Blockquote.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Dl.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Em.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H1.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H2.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H3.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H4.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H5.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/H6.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Ol.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/P.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Small.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Strong.tsx +0 -0
- /package/{dist → src}/lib/components/Text/templates/Ul.tsx +0 -0
- /package/{dist → src}/lib/components/Text/types.ts +0 -0
- /package/{dist → src}/lib/components/TextIcon/TextIcon.tsx +0 -0
- /package/{dist → src}/lib/components/TextIcon/index.ts +0 -0
- /package/{dist → src}/lib/components/TextIcon/styles.tsx +0 -0
- /package/{dist → src}/lib/components/TextIcon/types.ts +0 -0
- /package/{dist → src}/lib/components/TextIcon/utils.ts +0 -0
- /package/{dist → src}/lib/components/Timepicker/Timepicker.tsx +0 -0
- /package/{dist → src}/lib/components/Timepicker/index.ts +0 -0
- /package/{dist → src}/lib/components/Timepicker/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Timepicker/types.ts +0 -0
- /package/{dist → src}/lib/components/Toast/Toast.tsx +0 -0
- /package/{dist → src}/lib/components/Toast/Toaster.tsx +0 -0
- /package/{dist → src}/lib/components/Toast/index.ts +0 -0
- /package/{dist → src}/lib/components/Toast/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Toast/types.ts +0 -0
- /package/{dist → src}/lib/components/Tooltip/Tooltip.tsx +0 -0
- /package/{dist → src}/lib/components/Tooltip/index.ts +0 -0
- /package/{dist → src}/lib/components/Tooltip/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Tooltip/types.ts +0 -0
- /package/{dist → src}/lib/components/Truncate/Truncate.tsx +0 -0
- /package/{dist → src}/lib/components/Truncate/index.ts +0 -0
- /package/{dist → src}/lib/components/Truncate/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Truncate/types.ts +0 -0
- /package/{dist → src}/lib/components/Video/Video.tsx +0 -0
- /package/{dist → src}/lib/components/Video/index.ts +0 -0
- /package/{dist → src}/lib/components/Video/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Video/types.ts +0 -0
- /package/{dist → src}/lib/components/Wrapper/Wrapper.tsx +0 -0
- /package/{dist → src}/lib/components/Wrapper/index.ts +0 -0
- /package/{dist → src}/lib/components/Wrapper/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Wrapper/types.ts +0 -0
- /package/{dist → src}/lib/components/Youtube/Youtube.tsx +0 -0
- /package/{dist → src}/lib/components/Youtube/index.ts +0 -0
- /package/{dist → src}/lib/components/Youtube/styles.tsx +0 -0
- /package/{dist → src}/lib/components/Youtube/types.ts +0 -0
- /package/{dist → src}/lib/context/Theme.context.tsx +0 -0
- /package/{dist → src}/lib/context/Toaster/Toaster.context.tsx +0 -0
- /package/{dist → src}/lib/context/Toaster/index.ts +0 -0
- /package/{dist → src}/lib/context/Toaster/toast.reducer.ts +0 -0
- /package/{dist → src}/lib/hooks/index.ts +0 -0
- /package/{dist → src}/lib/hooks/useClickOutside.tsx +0 -0
- /package/{dist → src}/lib/hooks/useCopyToClipboard.tsx +0 -0
- /package/{dist → src}/lib/hooks/useDebounce.tsx +0 -0
- /package/{dist → src}/lib/hooks/useExportData.tsx +0 -0
- /package/{dist → src}/lib/hooks/useFetch.tsx +0 -0
- /package/{dist → src}/lib/hooks/useForm.tsx +0 -0
- /package/{dist → src}/lib/hooks/useIsOverflow.ts +0 -0
- /package/{dist → src}/lib/hooks/useKeyPress.tsx +0 -0
- /package/{dist → src}/lib/hooks/useMaxWidth.tsx +0 -0
- /package/{dist → src}/lib/hooks/useMergeRefs.ts +0 -0
- /package/{dist → src}/lib/hooks/useMinWidth.tsx +0 -0
- /package/{dist → src}/lib/hooks/usePaginatedData.tsx +0 -0
- /package/{dist → src}/lib/hooks/usePagination.tsx +0 -0
- /package/{dist → src}/lib/hooks/useTouchScreen.tsx +0 -0
- /package/{dist → src}/lib/hooks/useTranslation.tsx +0 -0
- /package/{dist → src}/lib/icons/ArrowUp.tsx +0 -0
- /package/{dist → src}/lib/icons/Bold.tsx +0 -0
- /package/{dist → src}/lib/icons/Calendar.tsx +0 -0
- /package/{dist → src}/lib/icons/CaretDown.tsx +0 -0
- /package/{dist → src}/lib/icons/Check.tsx +0 -0
- /package/{dist → src}/lib/icons/CheckCircle.tsx +0 -0
- /package/{dist → src}/lib/icons/ChevronDown.tsx +0 -0
- /package/{dist → src}/lib/icons/ChevronLeft.tsx +0 -0
- /package/{dist → src}/lib/icons/ChevronRight.tsx +0 -0
- /package/{dist → src}/lib/icons/ChevronUp.tsx +0 -0
- /package/{dist → src}/lib/icons/Clipboard.tsx +0 -0
- /package/{dist → src}/lib/icons/Clock.tsx +0 -0
- /package/{dist → src}/lib/icons/Close.tsx +0 -0
- /package/{dist → src}/lib/icons/CloseCircle.tsx +0 -0
- /package/{dist → src}/lib/icons/Code.tsx +0 -0
- /package/{dist → src}/lib/icons/CodeBlock.tsx +0 -0
- /package/{dist → src}/lib/icons/Comment.tsx +0 -0
- /package/{dist → src}/lib/icons/Drag.tsx +0 -0
- /package/{dist → src}/lib/icons/Edit.tsx +0 -0
- /package/{dist → src}/lib/icons/EditorCode.tsx +0 -0
- /package/{dist → src}/lib/icons/EditorLive.tsx +0 -0
- /package/{dist → src}/lib/icons/EditorPreview.tsx +0 -0
- /package/{dist → src}/lib/icons/Hide.tsx +0 -0
- /package/{dist → src}/lib/icons/Image.tsx +0 -0
- /package/{dist → src}/lib/icons/Italic.tsx +0 -0
- /package/{dist → src}/lib/icons/Link.tsx +0 -0
- /package/{dist → src}/lib/icons/Minus.tsx +0 -0
- /package/{dist → src}/lib/icons/OrderedList.tsx +0 -0
- /package/{dist → src}/lib/icons/Plus.tsx +0 -0
- /package/{dist → src}/lib/icons/Quote.tsx +0 -0
- /package/{dist → src}/lib/icons/Search.tsx +0 -0
- /package/{dist → src}/lib/icons/Send.tsx +0 -0
- /package/{dist → src}/lib/icons/Separator.tsx +0 -0
- /package/{dist → src}/lib/icons/Show.tsx +0 -0
- /package/{dist → src}/lib/icons/Star.tsx +0 -0
- /package/{dist → src}/lib/icons/StarFull.tsx +0 -0
- /package/{dist → src}/lib/icons/Strikethrough.tsx +0 -0
- /package/{dist → src}/lib/icons/Underline.tsx +0 -0
- /package/{dist → src}/lib/icons/UnorderedList.tsx +0 -0
- /package/{dist → src}/lib/icons/index.ts +0 -0
- /package/{dist → src}/lib/icons/styles.tsx +0 -0
- /package/{dist → src}/lib/icons/types.ts +0 -0
- /package/{dist → src/lib}/index.css +0 -0
- /package/{dist → src}/lib/index.ts +0 -0
- /package/{dist → src}/lib/lib-utils/append-styles.ts +0 -0
- /package/{dist → src}/lib/lib-utils/colors-maps.ts +0 -0
- /package/{dist → src}/lib/lib-utils/get-highlighted-text.tsx +0 -0
- /package/{dist → src}/lib/lib-utils/get-icon-size-from-font.ts +0 -0
- /package/{dist → src}/lib/lib-utils/index.ts +0 -0
- /package/{dist → src}/lib/lib-utils/round-icon-size.ts +0 -0
- /package/{dist → src}/lib/lib-utils/transfom-search-keys.ts +0 -0
- /package/{dist → src}/lib/modules-declare.d.ts +0 -0
- /package/{dist → src}/lib/types/component-items.ts +0 -0
- /package/{dist → src}/lib/types/components-props.ts +0 -0
- /package/{dist → src}/lib/types/generate-int-range.ts +0 -0
- /package/{dist → src}/lib/types/global.ts +0 -0
- /package/{dist → src}/lib/types/index.ts +0 -0
- /package/{dist → src}/lib/types/require-at-least-one.ts +0 -0
- /package/{dist → src}/lib/types/theme.ts +0 -0
- /package/{dist → src}/lib/types/type-values.ts +0 -0
- /package/{dist → src}/lib/utils/StyleSheetManager.tsx +0 -0
- /package/{dist → src}/lib/utils/index.ts +0 -0
- /package/{dist → src}/lib/utils/lib-tokens.json +0 -0
- /package/{dist → src}/lib/utils/linkify-text.tsx +0 -0
- /package/{dist → src}/lib/utils/options-markdown.ts +0 -0
- /package/{dist → src}/lib/utils/set-default-theme.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*=============================================== Exports ===============================================*/
|
|
2
|
+
|
|
3
|
+
export * from "./site-data"
|
|
4
|
+
export * from "./styles/all-colors"
|
|
5
|
+
export * from "./styles/all-overlays"
|
|
6
|
+
export * from "./styles/all-shadows"
|
|
7
|
+
export * from "./styles/all-spacers"
|
|
8
|
+
export * from "./styles/all-radiuses"
|
|
9
|
+
export * from "./french-cities"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*=============================================== ContainerPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { Link } from "react-router-dom"
|
|
4
|
+
import { unslugify } from "@julseb-lib/utils"
|
|
5
|
+
import { Flexbox, Text } from "../../../lib"
|
|
6
|
+
|
|
7
|
+
export const ContainerPreview = ({ demos }: { demos: Array<string> }) => {
|
|
8
|
+
return (
|
|
9
|
+
<Flexbox flexDirection="column" alignItems="stretch">
|
|
10
|
+
{demos.map(d => (
|
|
11
|
+
<Text key={d}>
|
|
12
|
+
<Link
|
|
13
|
+
to={`/demos/${d}`}
|
|
14
|
+
target="_blank"
|
|
15
|
+
rel="noreferrer noopener"
|
|
16
|
+
>
|
|
17
|
+
{unslugify(d)}
|
|
18
|
+
</Link>
|
|
19
|
+
</Text>
|
|
20
|
+
))}
|
|
21
|
+
</Flexbox>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*=============================================== ColorsPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { ColorCard } from "../../../components"
|
|
5
|
+
import { Flexbox } from "../../../lib"
|
|
6
|
+
import { colorsLight, colorsDark } from "../.."
|
|
7
|
+
|
|
8
|
+
const ColorsPreview = () => {
|
|
9
|
+
return (
|
|
10
|
+
<Flexbox gap="xs" flexDirection="column" alignItems="stretch">
|
|
11
|
+
{[...colorsLight, ...colorsDark].map((c, i) => (
|
|
12
|
+
<ColorCard color={c} key={i} />
|
|
13
|
+
))}
|
|
14
|
+
</Flexbox>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const colorsPreview: ComponentPreview<null> = {
|
|
19
|
+
name: "Colors",
|
|
20
|
+
category: "styles",
|
|
21
|
+
component: null,
|
|
22
|
+
import: null,
|
|
23
|
+
additionalImports: ["COLORS_LIGHT", "COLORS_DARK"],
|
|
24
|
+
optionalImports: null,
|
|
25
|
+
propsImport: null,
|
|
26
|
+
additionalTypeImports: null,
|
|
27
|
+
extends: null,
|
|
28
|
+
previews: [{ previewTitle: "", demo: <ColorsPreview /> }],
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*=============================================== ColorsPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { ColorCard } from "../../../components"
|
|
5
|
+
import { Flexbox } from "../../../lib"
|
|
6
|
+
import { allOverlays } from "../.."
|
|
7
|
+
|
|
8
|
+
const ColorsPreview = () => {
|
|
9
|
+
return (
|
|
10
|
+
<Flexbox gap="xs" flexDirection="column" alignItems="stretch">
|
|
11
|
+
{allOverlays.map(o => (
|
|
12
|
+
<ColorCard overlay={o} key={o.css} />
|
|
13
|
+
))}
|
|
14
|
+
</Flexbox>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const overlaysPreview: ComponentPreview<null> = {
|
|
19
|
+
name: "Overlays",
|
|
20
|
+
category: "styles",
|
|
21
|
+
component: null,
|
|
22
|
+
import: "OVERLAYS",
|
|
23
|
+
additionalImports: null,
|
|
24
|
+
optionalImports: null,
|
|
25
|
+
propsImport: null,
|
|
26
|
+
additionalTypeImports: null,
|
|
27
|
+
extends: null,
|
|
28
|
+
previews: [{ demo: <ColorsPreview /> }],
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*=============================================== RadiusesPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { StylesCard } from "../../../components"
|
|
5
|
+
import { Grid } from "../../../lib"
|
|
6
|
+
import { allRadiuses } from "../.."
|
|
7
|
+
|
|
8
|
+
const RadiusesPreview = () => {
|
|
9
|
+
return (
|
|
10
|
+
<Grid col={2} gap="m">
|
|
11
|
+
{allRadiuses.map(s => (
|
|
12
|
+
<StylesCard variable={s} type="radius" key={s.name} />
|
|
13
|
+
))}
|
|
14
|
+
</Grid>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const radiusesPreview: ComponentPreview<null> = {
|
|
19
|
+
name: "Radiuses",
|
|
20
|
+
category: "styles",
|
|
21
|
+
component: null,
|
|
22
|
+
import: "RADIUSES",
|
|
23
|
+
additionalImports: null,
|
|
24
|
+
optionalImports: null,
|
|
25
|
+
propsImport: null,
|
|
26
|
+
additionalTypeImports: null,
|
|
27
|
+
extends: null,
|
|
28
|
+
previews: [{ demo: <RadiusesPreview /> }],
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*=============================================== ShadowsPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { StylesCard } from "../../../components"
|
|
5
|
+
import { Grid } from "../../../lib"
|
|
6
|
+
import { allShadows } from "../.."
|
|
7
|
+
|
|
8
|
+
const ShadowsPreview = () => {
|
|
9
|
+
return (
|
|
10
|
+
<Grid col={2} gap="m">
|
|
11
|
+
{allShadows.map(shadow => (
|
|
12
|
+
<StylesCard variable={shadow} type="shadow" key={shadow.css} />
|
|
13
|
+
))}
|
|
14
|
+
</Grid>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const shadowsPreview: ComponentPreview<null> = {
|
|
19
|
+
name: "Shadows",
|
|
20
|
+
category: "styles",
|
|
21
|
+
component: null,
|
|
22
|
+
import: "SHADOWS",
|
|
23
|
+
additionalImports: null,
|
|
24
|
+
optionalImports: null,
|
|
25
|
+
propsImport: null,
|
|
26
|
+
additionalTypeImports: null,
|
|
27
|
+
extends: null,
|
|
28
|
+
previews: [{ demo: <ShadowsPreview /> }],
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*=============================================== SpacersPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { StylesCard } from "../../../components"
|
|
5
|
+
import { Grid } from "../../../lib"
|
|
6
|
+
import { allSpacers } from "../.."
|
|
7
|
+
|
|
8
|
+
const SpacersPreview = () => {
|
|
9
|
+
return (
|
|
10
|
+
<Grid col={2} gap="m">
|
|
11
|
+
{allSpacers.map(s => (
|
|
12
|
+
<StylesCard variable={s} type="spacer" key={s.name} />
|
|
13
|
+
))}
|
|
14
|
+
</Grid>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const spacersPreview: ComponentPreview<null> = {
|
|
19
|
+
name: "Spacers",
|
|
20
|
+
category: "styles",
|
|
21
|
+
component: null,
|
|
22
|
+
import: "SPACERS",
|
|
23
|
+
additionalImports: null,
|
|
24
|
+
optionalImports: null,
|
|
25
|
+
propsImport: null,
|
|
26
|
+
additionalTypeImports: null,
|
|
27
|
+
extends: null,
|
|
28
|
+
previews: [{ demo: <SpacersPreview /> }],
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*=============================================== ThemeProviderPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { useLibTheme, Button, Text } from "../../../lib"
|
|
5
|
+
|
|
6
|
+
const ThemeProviderPreview = () => {
|
|
7
|
+
const { selectedTheme, toggleTheme } = useLibTheme()
|
|
8
|
+
|
|
9
|
+
return (
|
|
10
|
+
<>
|
|
11
|
+
<Text>Selected theme: {selectedTheme}</Text>
|
|
12
|
+
<Button onClick={toggleTheme}>Toggle theme</Button>
|
|
13
|
+
</>
|
|
14
|
+
)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const themeProviderPreview: ComponentPreview<null> = {
|
|
18
|
+
name: "Theme Provider",
|
|
19
|
+
category: "styles",
|
|
20
|
+
component: null,
|
|
21
|
+
import: "useLibTheme",
|
|
22
|
+
additionalImports: ["ThemeProviderWrapper"],
|
|
23
|
+
optionalImports: null,
|
|
24
|
+
propsImport: "ThemeContextProps",
|
|
25
|
+
additionalTypeImports: null,
|
|
26
|
+
extends: null,
|
|
27
|
+
previews: [{ demo: <ThemeProviderPreview /> }],
|
|
28
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*=============================================== HelpersPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { allHelpers } from "../../utils/all-helpers"
|
|
5
|
+
import { RenderPreview } from "./RenderPreview"
|
|
6
|
+
|
|
7
|
+
export const helpersPreview: ComponentPreview<null> = {
|
|
8
|
+
name: "Helpers",
|
|
9
|
+
category: "helpers",
|
|
10
|
+
component: null,
|
|
11
|
+
import: null,
|
|
12
|
+
additionalImports: null,
|
|
13
|
+
optionalImports: null,
|
|
14
|
+
propsImport: null,
|
|
15
|
+
additionalTypeImports: null,
|
|
16
|
+
extends: null,
|
|
17
|
+
previews: [{ demo: <RenderPreview data={allHelpers} /> }],
|
|
18
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*=============================================== HooksPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
PreviewUseClickOutside,
|
|
5
|
+
PreviewUseCopyToClipboard,
|
|
6
|
+
PreviewUseDebounce,
|
|
7
|
+
PreviewUseExportData,
|
|
8
|
+
PreviewUseFetch,
|
|
9
|
+
PreviewUseForm,
|
|
10
|
+
PreviewUseIsOverflow,
|
|
11
|
+
PreviewUseKeyPress,
|
|
12
|
+
PreviewUseMaxWidth,
|
|
13
|
+
PreviewUseMergeRefs,
|
|
14
|
+
PreviewUseMinWidth,
|
|
15
|
+
PreviewUsePaginatedData,
|
|
16
|
+
PreviewUsePagination,
|
|
17
|
+
PreviewUseTouchScreen,
|
|
18
|
+
PreviewUseTranslation,
|
|
19
|
+
} from "./hooks"
|
|
20
|
+
import type { ComponentPreview } from "../../components"
|
|
21
|
+
|
|
22
|
+
export const hooksPreview: ComponentPreview<null> = {
|
|
23
|
+
name: "Hooks",
|
|
24
|
+
category: "helpers",
|
|
25
|
+
component: null,
|
|
26
|
+
import: null,
|
|
27
|
+
additionalImports: [
|
|
28
|
+
"useClickOutside",
|
|
29
|
+
"useCopyToClipboard",
|
|
30
|
+
"useDebounce",
|
|
31
|
+
"useExportData",
|
|
32
|
+
"useFetch",
|
|
33
|
+
"useForm",
|
|
34
|
+
"useIsOverflow",
|
|
35
|
+
"useKeyPress",
|
|
36
|
+
"useMaxWidth",
|
|
37
|
+
"useMergeRefs",
|
|
38
|
+
"useMinWidth",
|
|
39
|
+
"usePaginatedData",
|
|
40
|
+
"usePagination",
|
|
41
|
+
"useTouchScreen",
|
|
42
|
+
"useTranslation",
|
|
43
|
+
],
|
|
44
|
+
optionalImports: null,
|
|
45
|
+
propsImport: null,
|
|
46
|
+
additionalTypeImports: null,
|
|
47
|
+
extends: null,
|
|
48
|
+
previews: [
|
|
49
|
+
{ previewTitle: "useClickOutside", demo: <PreviewUseClickOutside /> },
|
|
50
|
+
{
|
|
51
|
+
previewTitle: "useCopyToClipboard",
|
|
52
|
+
demo: <PreviewUseCopyToClipboard />,
|
|
53
|
+
},
|
|
54
|
+
{ previewTitle: "useDebounce", demo: <PreviewUseDebounce /> },
|
|
55
|
+
{ previewTitle: "useExportData", demo: <PreviewUseExportData /> },
|
|
56
|
+
{ previewTitle: "useFetch", demo: <PreviewUseFetch /> },
|
|
57
|
+
{ previewTitle: "useForm", demo: <PreviewUseForm /> },
|
|
58
|
+
{ previewTitle: "useIsOverflow", demo: <PreviewUseIsOverflow /> },
|
|
59
|
+
{ previewTitle: "useKeyPress", demo: <PreviewUseKeyPress /> },
|
|
60
|
+
{ previewTitle: "useMaxWidth", demo: <PreviewUseMaxWidth /> },
|
|
61
|
+
{ previewTitle: "useMergeRefs", demo: <PreviewUseMergeRefs /> },
|
|
62
|
+
{ previewTitle: "useMinWidth", demo: <PreviewUseMinWidth /> },
|
|
63
|
+
{ previewTitle: "usePaginatedData", demo: <PreviewUsePaginatedData /> },
|
|
64
|
+
{ previewTitle: "usePagination", demo: <PreviewUsePagination /> },
|
|
65
|
+
{ previewTitle: "useTouchScreen", demo: <PreviewUseTouchScreen /> },
|
|
66
|
+
{ previewTitle: "useTranslation", demo: <PreviewUseTranslation /> },
|
|
67
|
+
],
|
|
68
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/*=============================================== UtilsPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { allJsUtils } from "../../utils/all-js-utils"
|
|
5
|
+
import { RenderPreview } from "./RenderPreview"
|
|
6
|
+
|
|
7
|
+
export const utilsPreview: ComponentPreview<null> = {
|
|
8
|
+
name: "JsUtils",
|
|
9
|
+
category: "helpers",
|
|
10
|
+
component: null,
|
|
11
|
+
import: null,
|
|
12
|
+
additionalImports: [
|
|
13
|
+
"calculateAverage",
|
|
14
|
+
"calculateTotalSum",
|
|
15
|
+
"capitalize",
|
|
16
|
+
"convertDate",
|
|
17
|
+
"convertDateShort",
|
|
18
|
+
"convertPrice",
|
|
19
|
+
"convertToEmail",
|
|
20
|
+
"convertYoutube",
|
|
21
|
+
"deleteDuplicates",
|
|
22
|
+
"detectLanguage",
|
|
23
|
+
"disableScroll",
|
|
24
|
+
"enableScroll",
|
|
25
|
+
"filterObject",
|
|
26
|
+
"formatDate",
|
|
27
|
+
"formatHour",
|
|
28
|
+
"generateNumbers",
|
|
29
|
+
"getFirstName",
|
|
30
|
+
"getLastName",
|
|
31
|
+
"getPercentage",
|
|
32
|
+
"getRandom",
|
|
33
|
+
"getRandomAvatar",
|
|
34
|
+
"getRandomDate",
|
|
35
|
+
"getRandomNumber",
|
|
36
|
+
"getRandomString",
|
|
37
|
+
"getRandomTime",
|
|
38
|
+
"getTimeNow",
|
|
39
|
+
"getToday",
|
|
40
|
+
"getTomorrow",
|
|
41
|
+
"getYesterday",
|
|
42
|
+
"hexToRgb",
|
|
43
|
+
"emailRegex",
|
|
44
|
+
"passwordRegex",
|
|
45
|
+
"rgbToHex",
|
|
46
|
+
"scrollToTop",
|
|
47
|
+
"slugify",
|
|
48
|
+
"sortByFrequency",
|
|
49
|
+
"stringifyPx",
|
|
50
|
+
"toCamelCase",
|
|
51
|
+
"toConstantCase",
|
|
52
|
+
"toDotCase",
|
|
53
|
+
"toKebabCase",
|
|
54
|
+
"toPascalCase",
|
|
55
|
+
"toPathCase",
|
|
56
|
+
"toSentenceCase",
|
|
57
|
+
"toSnakeCase",
|
|
58
|
+
"toTitleCase",
|
|
59
|
+
"unslugify",
|
|
60
|
+
"uuid",
|
|
61
|
+
],
|
|
62
|
+
optionalImports: null,
|
|
63
|
+
propsImport: null,
|
|
64
|
+
additionalTypeImports: null,
|
|
65
|
+
extends: null,
|
|
66
|
+
previews: [{ demo: <RenderPreview data={allJsUtils} /> }],
|
|
67
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*=============================================== MixinsPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { allMixins } from "../../utils/all-mixins"
|
|
5
|
+
import { RenderPreview } from "./RenderPreview"
|
|
6
|
+
|
|
7
|
+
export const mixinsPreview: ComponentPreview<null> = {
|
|
8
|
+
name: "Mixins",
|
|
9
|
+
category: "helpers",
|
|
10
|
+
component: null,
|
|
11
|
+
import: "Mixins",
|
|
12
|
+
additionalImports: null,
|
|
13
|
+
optionalImports: null,
|
|
14
|
+
propsImport: null,
|
|
15
|
+
additionalTypeImports: null,
|
|
16
|
+
extends: null,
|
|
17
|
+
previews: [{ demo: <RenderPreview data={allMixins} withCode /> }],
|
|
18
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*=============================================== OptionsMarkdownPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { CodeContainer } from "../../../lib"
|
|
4
|
+
import type { ComponentPreview } from "../../components"
|
|
5
|
+
|
|
6
|
+
const optionsMarkdown = {
|
|
7
|
+
forceBlock: true,
|
|
8
|
+
wrapper: "div",
|
|
9
|
+
overrides: {
|
|
10
|
+
h1: {
|
|
11
|
+
component: "Text",
|
|
12
|
+
props: { tag: "h1" },
|
|
13
|
+
},
|
|
14
|
+
|
|
15
|
+
h2: {
|
|
16
|
+
component: "Text",
|
|
17
|
+
props: { tag: "h2" },
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
h3: {
|
|
21
|
+
component: "Text",
|
|
22
|
+
props: { tag: "h3" },
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
h4: {
|
|
26
|
+
component: "Text",
|
|
27
|
+
props: { tag: "h4" },
|
|
28
|
+
},
|
|
29
|
+
|
|
30
|
+
h5: {
|
|
31
|
+
component: "Text",
|
|
32
|
+
props: { tag: "h5" },
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
h6: {
|
|
36
|
+
component: "Text",
|
|
37
|
+
props: { tag: "h6" },
|
|
38
|
+
},
|
|
39
|
+
|
|
40
|
+
p: {
|
|
41
|
+
component: "Text",
|
|
42
|
+
props: { tag: "p" },
|
|
43
|
+
},
|
|
44
|
+
|
|
45
|
+
strong: {
|
|
46
|
+
component: "Text",
|
|
47
|
+
props: { tag: "strong" },
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
em: {
|
|
51
|
+
component: "Text",
|
|
52
|
+
props: { tag: "em" },
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
ul: {
|
|
56
|
+
component: "Text",
|
|
57
|
+
props: { tag: "ul" },
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
ol: {
|
|
61
|
+
component: "Text",
|
|
62
|
+
props: { tag: "ol" },
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
dl: {
|
|
66
|
+
component: "Text",
|
|
67
|
+
props: { tag: "dl" },
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
small: {
|
|
71
|
+
component: "Text",
|
|
72
|
+
props: { tag: "small" },
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
blockquote: {
|
|
76
|
+
component: "Text",
|
|
77
|
+
props: { tag: "blockquote" },
|
|
78
|
+
},
|
|
79
|
+
|
|
80
|
+
table: {
|
|
81
|
+
component: "Table",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export const optionsMarkdownPreview: ComponentPreview<null> = {
|
|
87
|
+
name: "OptionsMarkdown",
|
|
88
|
+
category: "helpers",
|
|
89
|
+
component: null,
|
|
90
|
+
import: "optionsMarkdown",
|
|
91
|
+
additionalImports: null,
|
|
92
|
+
optionalImports: null,
|
|
93
|
+
propsImport: null,
|
|
94
|
+
additionalTypeImports: null,
|
|
95
|
+
extends: null,
|
|
96
|
+
previews: [
|
|
97
|
+
{
|
|
98
|
+
demo: (
|
|
99
|
+
<CodeContainer highlighterProps={{ language: "typescript" }}>
|
|
100
|
+
{JSON.stringify(optionsMarkdown, null, " ").replaceAll(
|
|
101
|
+
'],\n "',
|
|
102
|
+
'],\n\n "'
|
|
103
|
+
)}
|
|
104
|
+
</CodeContainer>
|
|
105
|
+
),
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { capitalize, uuid } from "@julseb-lib/utils"
|
|
2
|
+
import { Table, CodeContainer } from "../../../lib"
|
|
3
|
+
import type { ReactChildren } from "../../../lib/types"
|
|
4
|
+
|
|
5
|
+
interface IRenderPreview {
|
|
6
|
+
data: Array<any>
|
|
7
|
+
withCode?: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const RenderPreview = ({ data, withCode }: IRenderPreview) => {
|
|
11
|
+
if (!data?.length) return null
|
|
12
|
+
|
|
13
|
+
const headers = Object.keys(data[0]).map(v => capitalize(v))
|
|
14
|
+
const tableData = data.map(u => Object.values(u).map(v => v))
|
|
15
|
+
|
|
16
|
+
const tableDataWithCode = data.map(u =>
|
|
17
|
+
Object.values(u).map((v: any, i) => {
|
|
18
|
+
if (i === Object.values(u).length - 1) {
|
|
19
|
+
return (
|
|
20
|
+
<CodeContainer
|
|
21
|
+
key={uuid()}
|
|
22
|
+
highlighterProps={{ language: "typescript" }}
|
|
23
|
+
hideCopyButton
|
|
24
|
+
color="white"
|
|
25
|
+
highlighterStyle={{ height: "100%" }}
|
|
26
|
+
>
|
|
27
|
+
{`${v}${
|
|
28
|
+
typeof v === "string" &&
|
|
29
|
+
v[0] !== "&" &&
|
|
30
|
+
v[v.length - 1] !== ";"
|
|
31
|
+
? ";"
|
|
32
|
+
: ""
|
|
33
|
+
}`}
|
|
34
|
+
</CodeContainer>
|
|
35
|
+
)
|
|
36
|
+
} else {
|
|
37
|
+
return v
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
if (!data.length) return null
|
|
43
|
+
|
|
44
|
+
if (withCode) return <Table headers={headers} data={tableDataWithCode} />
|
|
45
|
+
|
|
46
|
+
return (
|
|
47
|
+
<Table
|
|
48
|
+
headers={headers}
|
|
49
|
+
data={tableData as Array<Array<ReactChildren>>}
|
|
50
|
+
/>
|
|
51
|
+
)
|
|
52
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*=============================================== VariablesPreview ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { ComponentPreview } from "../../components"
|
|
4
|
+
import { allColors } from "../../styles/all-colors"
|
|
5
|
+
import { allOverlays } from "../../styles/all-overlays"
|
|
6
|
+
import { allFontFamilies } from "../../styles/all-font-families"
|
|
7
|
+
import { allFontWeights } from "../../styles/all-font-weights"
|
|
8
|
+
import { allFontSizes } from "../../styles/all-font-sizes"
|
|
9
|
+
import { allLineHeights } from "../../styles/all-line-heights"
|
|
10
|
+
import { allRadiuses } from "../../styles/all-radiuses"
|
|
11
|
+
import { allShadows } from "../../styles/all-shadows"
|
|
12
|
+
import { allSpacers } from "../../styles/all-spacers"
|
|
13
|
+
import { allTransitions } from "../../styles/all-transition"
|
|
14
|
+
import { allLayouts } from "../../styles/all-layouts"
|
|
15
|
+
import type { Color, Variable } from "../../types"
|
|
16
|
+
import { RenderPreview } from "./RenderPreview"
|
|
17
|
+
|
|
18
|
+
interface List {
|
|
19
|
+
name: string
|
|
20
|
+
list: Array<Color | Variable | (Variable & { valueTablet: string })>
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const lists: Array<List> = [
|
|
24
|
+
{ name: "Colors", list: allColors },
|
|
25
|
+
{ name: "Overlay", list: allOverlays },
|
|
26
|
+
{ name: "Font families", list: allFontFamilies },
|
|
27
|
+
{ name: "Font sizes", list: allFontSizes },
|
|
28
|
+
{ name: "Font weights", list: allFontWeights },
|
|
29
|
+
{ name: "Line heights", list: allLineHeights },
|
|
30
|
+
{ name: "Shadows", list: allShadows },
|
|
31
|
+
{ name: "Radiuses", list: allRadiuses },
|
|
32
|
+
{ name: "Spacers", list: allSpacers },
|
|
33
|
+
{ name: "Transitions", list: allTransitions },
|
|
34
|
+
{ name: "Layouts", list: allLayouts },
|
|
35
|
+
]
|
|
36
|
+
|
|
37
|
+
export const variablesPreview: ComponentPreview<null> = {
|
|
38
|
+
name: "Variables",
|
|
39
|
+
category: "helpers",
|
|
40
|
+
component: null,
|
|
41
|
+
import: null,
|
|
42
|
+
additionalImports: null,
|
|
43
|
+
optionalImports: null,
|
|
44
|
+
propsImport: null,
|
|
45
|
+
additionalTypeImports: null,
|
|
46
|
+
extends: null,
|
|
47
|
+
previews: lists.map(list => ({
|
|
48
|
+
previewTitle: list.name,
|
|
49
|
+
demo: <RenderPreview data={list.list} />,
|
|
50
|
+
})),
|
|
51
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./useClickOutside.preview"
|
|
2
|
+
export * from "./useCopyToClipboard.preview"
|
|
3
|
+
export * from "./useDebounce.preview"
|
|
4
|
+
export * from "./useExportData.preview"
|
|
5
|
+
export * from "./useFetch.preview"
|
|
6
|
+
export * from "./useForm.preview"
|
|
7
|
+
export * from "./useIsOverflow.preview"
|
|
8
|
+
export * from "./useKeyPress.preview"
|
|
9
|
+
export * from "./useMaxWidth.preview"
|
|
10
|
+
export * from "./useMergeRefs.preview"
|
|
11
|
+
export * from "./useMinWidth.preview"
|
|
12
|
+
export * from "./usePaginatedData.preview"
|
|
13
|
+
export * from "./usePagination.preview"
|
|
14
|
+
export * from "./useTouchScreen.preview"
|
|
15
|
+
export * from "./useTranslation.preview"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useRef, useState } from "react"
|
|
2
|
+
import { useClickOutside, Button } from "../../../../lib"
|
|
3
|
+
|
|
4
|
+
export const PreviewUseClickOutside = () => {
|
|
5
|
+
const [click, setClick] = useState<"nowhere" | "inside" | "outside">(
|
|
6
|
+
"nowhere"
|
|
7
|
+
)
|
|
8
|
+
const ref = useRef<HTMLButtonElement>(null)
|
|
9
|
+
useClickOutside(ref, () => setClick("outside"))
|
|
10
|
+
|
|
11
|
+
return (
|
|
12
|
+
<div>
|
|
13
|
+
<Button ref={ref as any} onClick={() => setClick("inside")}>
|
|
14
|
+
You clicked {click}
|
|
15
|
+
</Button>
|
|
16
|
+
</div>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useCopyToClipboard, Flexbox, Button, Text } from "../../../../lib"
|
|
2
|
+
|
|
3
|
+
export const PreviewUseCopyToClipboard = () => {
|
|
4
|
+
const [value, copy] = useCopyToClipboard()
|
|
5
|
+
|
|
6
|
+
return (
|
|
7
|
+
<Flexbox
|
|
8
|
+
flexDirection="column"
|
|
9
|
+
justifyContent="flex-start"
|
|
10
|
+
alignItems="flex-start"
|
|
11
|
+
>
|
|
12
|
+
<Button onClick={() => copy("Prout")}>Copy this text</Button>
|
|
13
|
+
|
|
14
|
+
<Text>Copied: {value}</Text>
|
|
15
|
+
</Flexbox>
|
|
16
|
+
)
|
|
17
|
+
}
|