@julseb-lib/react 0.0.51 → 0.0.53
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/README.md +11 -42
- package/dist/index.cjs.js +4142 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +22200 -0
- package/dist/index.umd.js +4148 -0
- package/dist/lib/index.css +1422 -0
- package/dist/styles-BCSPldCD.js +16 -0
- package/dist/styles-CtcGw3Gv.cjs +7 -0
- package/package.json +69 -35
- package/.prettierrc +0 -5
- package/cypress/fixtures/example.json +0 -5
- package/cypress/index.d.ts +0 -5
- 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 +0 -52
- package/cypress/support/component-index.html +0 -12
- package/cypress/support/component.tsx +0 -79
- package/cypress/tsconfig.json +0 -9
- package/cypress.config.ts +0 -10
- package/eslint.config.js +0 -82
- package/index.html +0 -13
- package/public/vite.svg +0 -1
- package/src/App.tsx +0 -22
- package/src/components/BaseCard.tsx +0 -20
- package/src/components/BasePage.tsx +0 -26
- package/src/components/ColorCard/ColorCard.tsx +0 -41
- package/src/components/ColorCard/index.ts +0 -3
- package/src/components/ColorCard/styles.tsx +0 -28
- package/src/components/ColorCard/types.ts +0 -11
- package/src/components/ComponentPreview.tsx +0 -47
- package/src/components/CoverLayout.tsx +0 -99
- package/src/components/DemoContainerStyles.tsx +0 -19
- package/src/components/GridItem.tsx +0 -19
- package/src/components/NavDemo/NavDemo.tsx +0 -48
- package/src/components/NavDemo/index.ts +0 -3
- package/src/components/NavDemo/styles.tsx +0 -49
- package/src/components/Page.tsx +0 -23
- package/src/components/ResetScroll.tsx +0 -18
- package/src/components/SbDemoLayout.tsx +0 -30
- package/src/components/StylesCard/StylesCard.tsx +0 -50
- package/src/components/StylesCard/index.ts +0 -3
- package/src/components/StylesCard/styles.tsx +0 -54
- package/src/components/StylesCard/types.ts +0 -16
- package/src/components/index.ts +0 -12
- package/src/components/layouts/MainDemo.tsx +0 -16
- package/src/components/layouts/WrapperDemo.tsx +0 -14
- package/src/data/components.tsx +0 -242
- package/src/data/docgen.json +0 -2909
- package/src/data/french-cities.ts +0 -8683
- package/src/data/index.ts +0 -9
- package/src/data/previews/layouts/Container.preview.tsx +0 -23
- package/src/data/previews/styles/Colors.preview.tsx +0 -29
- package/src/data/previews/styles/Overlays.preview.tsx +0 -29
- package/src/data/previews/styles/Radiuses.preview.tsx +0 -29
- package/src/data/previews/styles/Shadows.preview.tsx +0 -29
- package/src/data/previews/styles/Spacers.preview.tsx +0 -29
- package/src/data/previews/styles/ThemeProvider.preview.tsx +0 -28
- package/src/data/previews/utils/Helpers.preview.tsx +0 -18
- package/src/data/previews/utils/Hooks.preview.tsx +0 -68
- package/src/data/previews/utils/JsUtils.preview.tsx +0 -67
- package/src/data/previews/utils/Mixins.preview.tsx +0 -18
- package/src/data/previews/utils/OptionsMarkdown.tsx +0 -108
- package/src/data/previews/utils/RenderPreview.tsx +0 -52
- package/src/data/previews/utils/Variables.preview.tsx +0 -51
- package/src/data/previews/utils/hooks/index.ts +0 -15
- package/src/data/previews/utils/hooks/useClickOutside.preview.tsx +0 -18
- package/src/data/previews/utils/hooks/useCopyToClipboard.preview.tsx +0 -17
- package/src/data/previews/utils/hooks/useDebounce.preview.tsx +0 -62
- package/src/data/previews/utils/hooks/useExportData.preview.tsx +0 -73
- package/src/data/previews/utils/hooks/useFetch.preview.tsx +0 -29
- package/src/data/previews/utils/hooks/useForm.preview.tsx +0 -39
- package/src/data/previews/utils/hooks/useIsOverflow.preview.tsx +0 -22
- package/src/data/previews/utils/hooks/useKeyPress.preview.tsx +0 -15
- package/src/data/previews/utils/hooks/useMaxWidth.preview.tsx +0 -7
- package/src/data/previews/utils/hooks/useMergeRefs.preview.tsx +0 -5
- package/src/data/previews/utils/hooks/useMinWidth.preview.tsx +0 -7
- package/src/data/previews/utils/hooks/usePaginatedData.preview.tsx +0 -12
- package/src/data/previews/utils/hooks/usePagination.preview.tsx +0 -12
- package/src/data/previews/utils/hooks/useTouchScreen.preview.tsx +0 -7
- package/src/data/previews/utils/hooks/useTranslation.preview.tsx +0 -44
- package/src/data/site-data.ts +0 -7
- package/src/data/styles/all-colors.ts +0 -908
- package/src/data/styles/all-font-families.ts +0 -16
- package/src/data/styles/all-font-sizes.ts +0 -82
- package/src/data/styles/all-font-weights.ts +0 -22
- package/src/data/styles/all-layouts.ts +0 -60
- package/src/data/styles/all-line-heights.ts +0 -16
- package/src/data/styles/all-overlays.ts +0 -43
- package/src/data/styles/all-radiuses.ts +0 -55
- package/src/data/styles/all-shadows.ts +0 -43
- package/src/data/styles/all-spacers.ts +0 -49
- package/src/data/styles/all-transition.ts +0 -22
- package/src/data/styles/index.ts +0 -13
- package/src/data/styles.json +0 -1538
- package/src/data/types.ts +0 -16
- package/src/data/utils/all-helpers.ts +0 -877
- package/src/data/utils/all-js-utils.tsx +0 -484
- package/src/data/utils/all-mixins.ts +0 -207
- package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +0 -61
- package/src/lib/components/Accordion/__tests__/Accordion.cy.tsx +0 -93
- package/src/lib/components/Accordion/__tests__/data.ts +0 -22
- package/src/lib/components/Alert/__preview__/Alert.preview.tsx +0 -52
- package/src/lib/components/Alert/__tests__/Alert.cy.tsx +0 -97
- package/src/lib/components/Aside/__preview__/Aside.preview.tsx +0 -27
- package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +0 -50
- package/src/lib/components/Autocomplete/__tests__/Autocomplete.cy.tsx +0 -38
- package/src/lib/components/Autocomplete/__tests__/Preview.tsx +0 -19
- package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +0 -82
- package/src/lib/components/Avatar/__tests__/Avatar.cy.tsx +0 -167
- package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +0 -33
- package/src/lib/components/Badge/__preview__/Badge.preview.tsx +0 -74
- package/src/lib/components/Badge/__tests__/Badge.cy.tsx +0 -130
- package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +0 -66
- package/src/lib/components/Breadcrumbs/__tests__/Breadcrumbs.cy.tsx +0 -70
- package/src/lib/components/Breadcrumbs/__tests__/Preview.tsx +0 -0
- package/src/lib/components/Breadcrumbs/__tests__/data.ts +0 -24
- package/src/lib/components/Burger/__preview__/Burger.preview.tsx +0 -60
- package/src/lib/components/Burger/__tests__/Burger.cy.tsx +0 -59
- package/src/lib/components/Burger/__tests__/Preview.tsx +0 -13
- package/src/lib/components/Button/__preview__/Button.preview.tsx +0 -183
- package/src/lib/components/Button/__tests__/Button.cy.tsx +0 -221
- package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +0 -129
- package/src/lib/components/ButtonGroup/__tests__/ButtonGroup.cy.tsx +0 -184
- package/src/lib/components/ButtonGroup/__tests__/data.ts +0 -33
- package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +0 -129
- package/src/lib/components/ButtonIcon/__tests__/ButtonIcon.cy.tsx +0 -180
- package/src/lib/components/Card/__preview__/Card.preview.tsx +0 -122
- package/src/lib/components/Card/__tests__/Card.cy.tsx +0 -49
- package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +0 -29
- package/src/lib/components/Cover/__preview__/Cover.preview.tsx +0 -45
- package/src/lib/components/Cover/__tests__/Cover.cy.tsx +0 -58
- package/src/lib/components/Datepicker/__preview__/Datepicker.preview.tsx +0 -107
- package/src/lib/components/Datepicker/__tests__/Datepicker.cy.tsx +0 -40
- package/src/lib/components/Datepicker/__tests__/Preview.tsx +0 -19
- package/src/lib/components/DragList/__preview__/DragList.preview.tsx +0 -57
- package/src/lib/components/DragList/__tests__/DragList.cy.tsx +0 -25
- package/src/lib/components/DragList/__tests__/Preview.tsx +0 -34
- package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +0 -67
- package/src/lib/components/Drawer/__tests__/Drawer.cy.tsx +0 -98
- package/src/lib/components/Drawer/__tests__/Preview.tsx +0 -43
- package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +0 -62
- package/src/lib/components/Dropdown/__tests__/Dropdown.cy.tsx +0 -73
- package/src/lib/components/Dropdown/__tests__/Preview.tsx +0 -103
- package/src/lib/components/Fade/__preview__/Fade.preview.tsx +0 -37
- package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +0 -41
- package/src/lib/components/Fieldset/__preview__/Previews.tsx +0 -72
- package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +0 -38
- package/src/lib/components/Flexbox/__tests__/Flexbox.cy.tsx +0 -23
- package/src/lib/components/Footer/__preview__/Footer.preview.tsx +0 -69
- package/src/lib/components/Form/__preview__/Form.preview.tsx +0 -76
- package/src/lib/components/FullBleed/__preview__/FullBleed.preview.tsx +0 -33
- package/src/lib/components/FullBleed/__tests__/FullBleed.cy.tsx +0 -27
- package/src/lib/components/Grid/__preview__/Grid.preview.tsx +0 -37
- package/src/lib/components/Grid/__tests__/Grid.cy.tsx +0 -39
- package/src/lib/components/Header/__preview__/Header.preview.tsx +0 -33
- package/src/lib/components/Header/__tests__/Header.cy.tsx +0 -95
- package/src/lib/components/Helmet/__preview__/Helmet.preview.tsx +0 -26
- package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +0 -40
- package/src/lib/components/Highlight/__tests__/Highlight.cy.tsx +0 -32
- package/src/lib/components/Hr/__preview__/Hr.preview.tsx +0 -32
- package/src/lib/components/Hr/__tests__/Hr.cy.tsx +0 -69
- package/src/lib/components/Icon/__preview__/Icon.preview.tsx +0 -55
- package/src/lib/components/Icon/__tests__/Icon.cy.tsx +0 -43
- package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +0 -59
- package/src/lib/components/IconMenu/__tests__/IconMenu.cy.tsx +0 -35
- package/src/lib/components/Image/__preview__/Image.preview.tsx +0 -88
- package/src/lib/components/Image/__tests__/Image.cy.tsx +0 -105
- package/src/lib/components/Input/__preview__/Input.demo.tsx +0 -73
- package/src/lib/components/Input/__preview__/Input.preview.tsx +0 -164
- package/src/lib/components/Input/__tests__/Input.cy.tsx +0 -145
- package/src/lib/components/Input/__tests__/Preview.tsx +0 -52
- package/src/lib/components/InputCheck/__preview__/InputCheck.demo.tsx +0 -422
- package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +0 -39
- package/src/lib/components/InputCheck/__tests__/InputCheck.cy.tsx +0 -100
- package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +0 -42
- package/src/lib/components/InputCounter/__tests__/InputCounter.cy.tsx +0 -99
- package/src/lib/components/InputCounter/__tests__/Preview.tsx +0 -58
- package/src/lib/components/InputImage/__preview__/InputImage.demo.tsx +0 -91
- package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +0 -33
- package/src/lib/components/InputImage/__tests__/InputImage.cy.tsx +0 -85
- package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +0 -76
- package/src/lib/components/InputPhone/__tests__/InputPhone.cy.tsx +0 -52
- package/src/lib/components/InputPhone/__tests__/Preview.tsx +0 -23
- package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +0 -87
- package/src/lib/components/InputPin/__tests__/InputPin.cy.tsx +0 -43
- package/src/lib/components/InputPin/__tests__/Preview.tsx +0 -28
- package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +0 -57
- package/src/lib/components/InputSlider/__tests__/InputSlider.cy.tsx +0 -56
- package/src/lib/components/InputSlider/__tests__/Preview.tsx +0 -20
- package/src/lib/components/Key/__preview__/Key.preview.tsx +0 -45
- package/src/lib/components/Key/__tests__/Key.cy.tsx +0 -80
- package/src/lib/components/Link/__preview__/Link.preview.tsx +0 -55
- package/src/lib/components/Link/__tests__/Link.cy.tsx +0 -16
- package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +0 -28
- package/src/lib/components/Linkify/__tests__/Linkify.cy.tsx +0 -28
- package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +0 -102
- package/src/lib/components/ListGroup/__tests__/ListGroup.cy.tsx +0 -85
- package/src/lib/components/ListGroup/__tests__/data.ts +0 -58
- package/src/lib/components/Loader/__preview__/Loader.preview.tsx +0 -39
- package/src/lib/components/Loader/__tests__/Loader.cy.tsx +0 -72
- package/src/lib/components/Main/__preview__/Main.preview.tsx +0 -33
- package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +0 -28
- package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.demo.tsx +0 -11
- package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +0 -28
- package/src/lib/components/MarkdownEditor/__tests__/MarkdownEditor.cy.tsx +0 -50
- package/src/lib/components/MarkdownEditor/__tests__/Preview.tsx +0 -11
- package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +0 -48
- package/src/lib/components/Masonry/__tests__/Masonry.cy.tsx +0 -35
- package/src/lib/components/Messaging/__preview__/Messaging.demo.tsx +0 -39
- package/src/lib/components/Messaging/__preview__/Messaging.preview.tsx +0 -130
- package/src/lib/components/Messaging/__tests__/Messaging.cy.tsx +0 -31
- package/src/lib/components/Messaging/__tests__/Preview.tsx +0 -69
- package/src/lib/components/Modal/__preview__/Modal.preview.tsx +0 -37
- package/src/lib/components/Modal/__preview__/Previews.tsx +0 -65
- package/src/lib/components/Modal/__tests__/Modal.cy.tsx +0 -54
- package/src/lib/components/Modal/__tests__/Preview.tsx +0 -72
- package/src/lib/components/PageLayout/__preview__/PageLayout.preview.tsx +0 -34
- package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +0 -33
- package/src/lib/components/PageLoading/__tests__/PageLoading.cy.tsx +0 -21
- package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +0 -61
- package/src/lib/components/Pagination/__tests__/Pagination.cy.tsx +0 -51
- package/src/lib/components/Pagination/__tests__/Preview.tsx +0 -76
- package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +0 -60
- package/src/lib/components/Paginator/__tests__/Paginator.cy.tsx +0 -74
- package/src/lib/components/Paginator/__tests__/Preview.tsx +0 -107
- package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +0 -28
- package/src/lib/components/ProgressBar/__tests__/ProgressBar.cy.tsx +0 -63
- package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +0 -55
- package/src/lib/components/ProgressCircle/__tests__/ProgressCircle.cy.tsx +0 -81
- package/src/lib/components/Rating/__preview__/Rating.preview.tsx +0 -56
- package/src/lib/components/Rating/__tests__/Preview.tsx +0 -28
- package/src/lib/components/Rating/__tests__/Rating.cy.tsx +0 -55
- package/src/lib/components/ResetScroll/__preview__/ResetScroll.preview.tsx +0 -19
- package/src/lib/components/Section/__preview__/Section.preview.tsx +0 -34
- package/src/lib/components/Section/__tests__/Section.cy.tsx +0 -26
- package/src/lib/components/Select/__preview__/Select.preview.tsx +0 -40
- package/src/lib/components/Select/__tests__/Preview.tsx +0 -32
- package/src/lib/components/Select/__tests__/Select.cy.tsx +0 -47
- package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +0 -115
- package/src/lib/components/Skeleton/__tests__/Skeleton.cy.tsx +0 -118
- package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +0 -53
- package/src/lib/components/Slideshow/__tests__/Slideshow.cy.tsx +0 -81
- package/src/lib/components/SrOnly/__preview__/SrOnly.preview.tsx +0 -28
- package/src/lib/components/SrOnly/__tests__/SrOnly.cy.tsx +0 -17
- package/src/lib/components/Stepper/__preview__/Stepper.preview.tsx +0 -63
- package/src/lib/components/Stepper/__tests__/Stepper.cy.tsx +0 -96
- package/src/lib/components/Stepper/__tests__/data.ts +0 -29
- package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +0 -180
- package/src/lib/components/Table/__preview__/Table.preview.tsx +0 -112
- package/src/lib/components/Table/__tests__/Table.cy.tsx +0 -24
- package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +0 -64
- package/src/lib/components/Tabs/__tests__/Tabs.cy.tsx +0 -62
- package/src/lib/components/Tabs/__tests__/data.tsx +0 -24
- package/src/lib/components/Tag/__preview__/Tag.preview.tsx +0 -63
- package/src/lib/components/Tag/__tests__/Tag.cy.tsx +0 -155
- package/src/lib/components/Text/__preview__/Text.tsx +0 -35
- package/src/lib/components/Text/__preview__/previews/Description.tsx +0 -20
- package/src/lib/components/Text/__preview__/previews/Ordered.tsx +0 -15
- package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +0 -37
- package/src/lib/components/Text/__preview__/previews/Quote.tsx +0 -11
- package/src/lib/components/Text/__preview__/previews/Small.tsx +0 -11
- package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +0 -30
- package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +0 -34
- package/src/lib/components/Text/__preview__/previews/Unordered.tsx +0 -15
- package/src/lib/components/Text/__tests__/Text.cy.tsx +0 -83
- package/src/lib/components/Text/__tests__/utils.ts +0 -7
- package/src/lib/components/TextIcon/__preview__/TextIcon.preview.tsx +0 -29
- package/src/lib/components/TextIcon/__tests__/TextIcon.cy.tsx +0 -131
- package/src/lib/components/Timepicker/__preview__/Timepicker.demo.tsx +0 -70
- package/src/lib/components/Timepicker/__preview__/Timepicker.preview.tsx +0 -60
- package/src/lib/components/Timepicker/__tests__/Preview.tsx +0 -68
- package/src/lib/components/Timepicker/__tests__/Timepicker.cy.tsx +0 -18
- package/src/lib/components/Toast/__preview__/Toast.preview.tsx +0 -32
- package/src/lib/components/Toast/__preview__/Toaster.demo.tsx +0 -79
- package/src/lib/components/Toast/__tests__/Preview.tsx +0 -78
- package/src/lib/components/Toast/__tests__/Toast.cy.tsx +0 -99
- package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +0 -59
- package/src/lib/components/Tooltip/__tests__/Tooltip.cy.tsx +0 -40
- package/src/lib/components/Truncate/__preview__/Truncate.demo.tsx +0 -45
- package/src/lib/components/Truncate/__preview__/Truncate.preview.tsx +0 -19
- package/src/lib/components/Truncate/__tests__/Truncate.cy.tsx +0 -71
- package/src/lib/components/Truncate/__tests__/utils.ts +0 -12
- package/src/lib/components/Video/__preview__/Video.preview.tsx +0 -45
- package/src/lib/components/Video/__tests__/Video.cy.tsx +0 -18
- package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +0 -25
- package/src/lib/components/Youtube/__preview__/Youtube.preview.tsx +0 -28
- package/src/lib/components/Youtube/__tests__/Youtube.cy.tsx +0 -26
- package/src/main.tsx +0 -13
- package/src/pages/404.tsx +0 -20
- package/src/pages/Generate.tsx +0 -505
- package/src/pages/GenerateOLD.tsx +0 -204
- package/src/pages/Homepage.tsx +0 -8
- package/src/pages/components/ComponentPage.tsx +0 -46
- package/src/pages/demos/BackToTopDemo.tsx +0 -176
- package/src/pages/demos/DemoAsideBoth.tsx +0 -37
- package/src/pages/demos/DemoAsideDefault.tsx +0 -25
- package/src/pages/demos/DemoAsideSmall.tsx +0 -29
- package/src/pages/demos/DemoCoverBottom.tsx +0 -27
- package/src/pages/demos/DemoCoverBottomOverlay.tsx +0 -27
- package/src/pages/demos/DemoCoverCenter.tsx +0 -27
- package/src/pages/demos/DemoCoverCenterOverlay.tsx +0 -28
- package/src/pages/demos/DemoHeader.tsx +0 -76
- package/src/pages/demos/DemoMainDefault.tsx +0 -16
- package/src/pages/demos/DemoMainForm.tsx +0 -20
- package/src/pages/demos/DemoMainFull.tsx +0 -126
- package/src/pages/demos/DemoMainLarge.tsx +0 -21
- package/src/pages/demos/DemoMainNumber.tsx +0 -21
- package/src/pages/demos/DemoPageLoading.tsx +0 -18
- package/src/pages/demos/PageLayoutDemo.tsx +0 -53
- package/src/routes/index.tsx +0 -91
- package/src/vite-env.d.ts +0 -1
- package/tsconfig-types.json +0 -32
- package/tsconfig.app.json +0 -26
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -24
- package/vite.config.ts +0 -49
- /package/{src/lib → dist}/index.css +0 -0
- /package/{src → dist}/lib/Mixins.tsx +0 -0
- /package/{src → dist}/lib/Variables.ts +0 -0
- /package/{src → dist}/lib/components/Accordion/Accordion.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/AccordionButton.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/AccordionContent.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/AccordionItem.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/index.ts +0 -0
- /package/{src → dist}/lib/components/Accordion/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Accordion/types.ts +0 -0
- /package/{src → dist}/lib/components/Alert/Alert.tsx +0 -0
- /package/{src → dist}/lib/components/Alert/index.ts +0 -0
- /package/{src → dist}/lib/components/Alert/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Alert/types.ts +0 -0
- /package/{src → dist}/lib/components/Aside/Aside.tsx +0 -0
- /package/{src → dist}/lib/components/Aside/index.ts +0 -0
- /package/{src → dist}/lib/components/Aside/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Aside/types.ts +0 -0
- /package/{src → dist}/lib/components/Autocomplete/Autocomplete.tsx +0 -0
- /package/{src → dist}/lib/components/Autocomplete/index.ts +0 -0
- /package/{src → dist}/lib/components/Autocomplete/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Autocomplete/types.ts +0 -0
- /package/{src → dist}/lib/components/Avatar/Avatar.tsx +0 -0
- /package/{src → dist}/lib/components/Avatar/AvatarFunction.tsx +0 -0
- /package/{src → dist}/lib/components/Avatar/index.ts +0 -0
- /package/{src → dist}/lib/components/Avatar/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Avatar/types.ts +0 -0
- /package/{src → dist}/lib/components/BackToTop/BackToTop.tsx +0 -0
- /package/{src → dist}/lib/components/BackToTop/index.ts +0 -0
- /package/{src → dist}/lib/components/BackToTop/styles.tsx +0 -0
- /package/{src → dist}/lib/components/BackToTop/types.ts +0 -0
- /package/{src → dist}/lib/components/Badge/Badge.tsx +0 -0
- /package/{src → dist}/lib/components/Badge/index.ts +0 -0
- /package/{src → dist}/lib/components/Badge/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Badge/types.ts +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/BreadcrumbItem.tsx +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/index.ts +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/types.ts +0 -0
- /package/{src → dist}/lib/components/Burger/Burger.tsx +0 -0
- /package/{src → dist}/lib/components/Burger/index.ts +0 -0
- /package/{src → dist}/lib/components/Burger/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Burger/types.ts +0 -0
- /package/{src → dist}/lib/components/Button/Button.tsx +0 -0
- /package/{src → dist}/lib/components/Button/index.ts +0 -0
- /package/{src → dist}/lib/components/Button/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Button/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Button/types.ts +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/ButtonGroup.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/ButtonGroupButton.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/ButtonGroupToggle.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/index.ts +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/styles.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/types.ts +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/ButtonFunction.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/ButtonIcon.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/index.ts +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/styles.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/types.ts +0 -0
- /package/{src → dist}/lib/components/Card/Card.tsx +0 -0
- /package/{src → dist}/lib/components/Card/index.ts +0 -0
- /package/{src → dist}/lib/components/Card/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Card/types.ts +0 -0
- /package/{src → dist}/lib/components/CodeContainer/CodeContainer.tsx +0 -0
- /package/{src → dist}/lib/components/CodeContainer/index.ts +0 -0
- /package/{src → dist}/lib/components/CodeContainer/styles.tsx +0 -0
- /package/{src → dist}/lib/components/CodeContainer/types.ts +0 -0
- /package/{src → dist}/lib/components/ComponentsMixins/ComponentsMixins.tsx +0 -0
- /package/{src → dist}/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +0 -0
- /package/{src → dist}/lib/components/ComponentsMixins/index.ts +0 -0
- /package/{src → dist}/lib/components/ComponentsMixins/types.ts +0 -0
- /package/{src → dist}/lib/components/Cover/Cover.tsx +0 -0
- /package/{src → dist}/lib/components/Cover/index.ts +0 -0
- /package/{src → dist}/lib/components/Cover/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Cover/types.ts +0 -0
- /package/{src → dist}/lib/components/Datepicker/Calendar.tsx +0 -0
- /package/{src → dist}/lib/components/Datepicker/Datepicker.tsx +0 -0
- /package/{src → dist}/lib/components/Datepicker/data.ts +0 -0
- /package/{src → dist}/lib/components/Datepicker/index.ts +0 -0
- /package/{src → dist}/lib/components/Datepicker/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Datepicker/types.ts +0 -0
- /package/{src → dist}/lib/components/DragList/DragList.tsx +0 -0
- /package/{src → dist}/lib/components/DragList/DragListItem.tsx +0 -0
- /package/{src → dist}/lib/components/DragList/index.ts +0 -0
- /package/{src → dist}/lib/components/DragList/styles.tsx +0 -0
- /package/{src → dist}/lib/components/DragList/types.ts +0 -0
- /package/{src → dist}/lib/components/Drawer/Drawer.tsx +0 -0
- /package/{src → dist}/lib/components/Drawer/index.ts +0 -0
- /package/{src → dist}/lib/components/Drawer/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Drawer/types.ts +0 -0
- /package/{src → dist}/lib/components/Dropdown/Dropdown.tsx +0 -0
- /package/{src → dist}/lib/components/Dropdown/DropdownContainer.tsx +0 -0
- /package/{src → dist}/lib/components/Dropdown/DropdownItem.tsx +0 -0
- /package/{src → dist}/lib/components/Dropdown/index.ts +0 -0
- /package/{src → dist}/lib/components/Dropdown/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Dropdown/types.ts +0 -0
- /package/{src → dist}/lib/components/Fade/Fade.tsx +0 -0
- /package/{src → dist}/lib/components/Fade/index.ts +0 -0
- /package/{src → dist}/lib/components/Fade/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Fade/types.ts +0 -0
- /package/{src → dist}/lib/components/Fallback/Fallback.tsx +0 -0
- /package/{src → dist}/lib/components/Fallback/index.ts +0 -0
- /package/{src → dist}/lib/components/Fieldset/Fieldset.tsx +0 -0
- /package/{src → dist}/lib/components/Fieldset/index.ts +0 -0
- /package/{src → dist}/lib/components/Fieldset/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Fieldset/types.ts +0 -0
- /package/{src → dist}/lib/components/Flexbox/Flexbox.tsx +0 -0
- /package/{src → dist}/lib/components/Flexbox/index.ts +0 -0
- /package/{src → dist}/lib/components/Flexbox/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Flexbox/types.ts +0 -0
- /package/{src → dist}/lib/components/Footer/Footer.tsx +0 -0
- /package/{src → dist}/lib/components/Footer/FooterLink.tsx +0 -0
- /package/{src → dist}/lib/components/Footer/FooterLogo.tsx +0 -0
- /package/{src → dist}/lib/components/Footer/index.ts +0 -0
- /package/{src → dist}/lib/components/Footer/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Footer/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Footer/types.ts +0 -0
- /package/{src → dist}/lib/components/Form/Form.tsx +0 -0
- /package/{src → dist}/lib/components/Form/index.ts +0 -0
- /package/{src → dist}/lib/components/Form/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Form/types.ts +0 -0
- /package/{src → dist}/lib/components/FullBleed/FullBleed.tsx +0 -0
- /package/{src → dist}/lib/components/FullBleed/index.ts +0 -0
- /package/{src → dist}/lib/components/FullBleed/styles.tsx +0 -0
- /package/{src → dist}/lib/components/FullBleed/types.ts +0 -0
- /package/{src → dist}/lib/components/Grid/Grid.tsx +0 -0
- /package/{src → dist}/lib/components/Grid/index.ts +0 -0
- /package/{src → dist}/lib/components/Grid/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Grid/types.ts +0 -0
- /package/{src → dist}/lib/components/Header/Header.tsx +0 -0
- /package/{src → dist}/lib/components/Header/HeaderBurger.tsx +0 -0
- /package/{src → dist}/lib/components/Header/HeaderLogo.tsx +0 -0
- /package/{src → dist}/lib/components/Header/HeaderNav.tsx +0 -0
- /package/{src → dist}/lib/components/Header/HeaderNavLink.tsx +0 -0
- /package/{src → dist}/lib/components/Header/HeaderSearch.tsx +0 -0
- /package/{src → dist}/lib/components/Header/index.ts +0 -0
- /package/{src → dist}/lib/components/Header/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Header/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Header/types.ts +0 -0
- /package/{src → dist}/lib/components/Helmet/Helmet.tsx +0 -0
- /package/{src → dist}/lib/components/Helmet/index.ts +0 -0
- /package/{src → dist}/lib/components/Helmet/types.ts +0 -0
- /package/{src → dist}/lib/components/Highlight/Highlight.tsx +0 -0
- /package/{src → dist}/lib/components/Highlight/index.ts +0 -0
- /package/{src → dist}/lib/components/Highlight/types.ts +0 -0
- /package/{src → dist}/lib/components/Hr/Hr.tsx +0 -0
- /package/{src → dist}/lib/components/Hr/index.ts +0 -0
- /package/{src → dist}/lib/components/Hr/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Hr/types.ts +0 -0
- /package/{src → dist}/lib/components/Icon/Icon.tsx +0 -0
- /package/{src → dist}/lib/components/Icon/index.ts +0 -0
- /package/{src → dist}/lib/components/Icon/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Icon/types.ts +0 -0
- /package/{src → dist}/lib/components/IconMenu/IconMenu.tsx +0 -0
- /package/{src → dist}/lib/components/IconMenu/IconMenuItem.tsx +0 -0
- /package/{src → dist}/lib/components/IconMenu/index.ts +0 -0
- /package/{src → dist}/lib/components/IconMenu/styles.tsx +0 -0
- /package/{src → dist}/lib/components/IconMenu/types.ts +0 -0
- /package/{src → dist}/lib/components/Image/Image.tsx +0 -0
- /package/{src → dist}/lib/components/Image/ImageFunction.tsx +0 -0
- /package/{src → dist}/lib/components/Image/index.ts +0 -0
- /package/{src → dist}/lib/components/Image/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Image/types.ts +0 -0
- /package/{src → dist}/lib/components/Input/Input.tsx +0 -0
- /package/{src → dist}/lib/components/Input/index.ts +0 -0
- /package/{src → dist}/lib/components/Input/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Input/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Input/templates/ColorInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/DateInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/FileInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/PasswordInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/SearchInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/SelectInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/TextInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/TextareaInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/templates/TimeInput.tsx +0 -0
- /package/{src → dist}/lib/components/Input/types.ts +0 -0
- /package/{src → dist}/lib/components/InputCheck/InputCheck.tsx +0 -0
- /package/{src → dist}/lib/components/InputCheck/index.ts +0 -0
- /package/{src → dist}/lib/components/InputCheck/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputCheck/types.ts +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputAndListContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputButton.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputIcon.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputLeftContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputPrefix.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputRightContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputSuffix.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputValidationHelper.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputValidationIcon.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/InputWrapper.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/ListInput.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/components/ListInputItem.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/index.ts +0 -0
- /package/{src → dist}/lib/components/InputComponents/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/types.ts +0 -0
- /package/{src → dist}/lib/components/InputContainer/HelperBottom.tsx +0 -0
- /package/{src → dist}/lib/components/InputContainer/InputContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputContainer/index.ts +0 -0
- /package/{src → dist}/lib/components/InputContainer/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputContainer/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/InputContainer/types.ts +0 -0
- /package/{src → dist}/lib/components/InputCounter/InputCounter.tsx +0 -0
- /package/{src → dist}/lib/components/InputCounter/index.ts +0 -0
- /package/{src → dist}/lib/components/InputCounter/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputCounter/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/InputCounter/types.ts +0 -0
- /package/{src → dist}/lib/components/InputImage/EmptyContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputImage/HoverContainer.tsx +0 -0
- /package/{src → dist}/lib/components/InputImage/InputImage.tsx +0 -0
- /package/{src → dist}/lib/components/InputImage/index.ts +0 -0
- /package/{src → dist}/lib/components/InputImage/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputImage/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/InputImage/types.ts +0 -0
- /package/{src → dist}/lib/components/InputPhone/InputPhone.tsx +0 -0
- /package/{src → dist}/lib/components/InputPhone/index.ts +0 -0
- /package/{src → dist}/lib/components/InputPhone/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputPhone/types.ts +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/countries.ts +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ac.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ad.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ae.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/af.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ag.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ai.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/al.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/am.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ao.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/aq.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ar.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/as.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/at.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/au.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/aw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ax.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/az.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ba.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bb.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bd.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/be.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bi.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bj.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bo.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bq.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/br.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bs.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/by.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/bz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ca.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cd.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cefta.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ch.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ci.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ck.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/co.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cp.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cx.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cy.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/cz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/de.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/dg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/dj.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/dk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/dm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/do.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/dz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ea.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ec.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ee.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/eg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/eh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/er.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/es-ct.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/es-ga.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/es.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/et.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/eu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fi.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fj.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fo.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/fr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ga.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-eng.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-nir.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-sct.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gb-wls.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gb.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gd.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ge.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gi.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gp.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gq.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gs.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/gy.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/hk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/hm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/hn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/hr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ht.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/hu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ic.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/id.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ie.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/il.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/im.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/in.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/io.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/iq.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ir.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/is.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/it.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/je.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/jm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/jo.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/jp.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ke.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ki.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/km.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kp.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ky.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/kz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/la.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lb.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/li.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ls.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/lv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ly.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ma.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/md.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/me.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ml.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mo.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mp.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mq.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ms.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mx.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/my.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/mz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/na.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ne.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ng.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ni.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/no.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/np.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/nz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/om.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pa.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pe.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ph.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ps.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/pw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/py.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/qa.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/re.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ro.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/rs.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ru.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/rw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sa.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sb.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sd.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/se.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sh.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/si.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sj.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/so.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ss.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/st.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sx.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sy.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/sz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ta.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/td.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/th.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tj.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tl.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/to.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tr.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tv.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tw.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/tz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ua.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ug.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/um.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/un.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/us.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/uy.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/uz.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/va.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/vc.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ve.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/vg.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/vi.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/vn.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/vu.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/wf.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ws.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/xk.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/xx.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/ye.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/yt.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/za.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/zm.svg +0 -0
- /package/{src → dist}/lib/components/InputPhone/utils/flags/zw.svg +0 -0
- /package/{src → dist}/lib/components/InputPin/InputPin.tsx +0 -0
- /package/{src → dist}/lib/components/InputPin/index.ts +0 -0
- /package/{src → dist}/lib/components/InputPin/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputPin/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/InputPin/types.ts +0 -0
- /package/{src → dist}/lib/components/InputSlider/InputSlider.tsx +0 -0
- /package/{src → dist}/lib/components/InputSlider/Slider.tsx +0 -0
- /package/{src → dist}/lib/components/InputSlider/index.ts +0 -0
- /package/{src → dist}/lib/components/InputSlider/styles.tsx +0 -0
- /package/{src → dist}/lib/components/InputSlider/types.ts +0 -0
- /package/{src → dist}/lib/components/Key/Key.tsx +0 -0
- /package/{src → dist}/lib/components/Key/index.ts +0 -0
- /package/{src → dist}/lib/components/Key/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Key/types.ts +0 -0
- /package/{src → dist}/lib/components/LibIcon/LibIcon.tsx +0 -0
- /package/{src → dist}/lib/components/LibIcon/index.ts +0 -0
- /package/{src → dist}/lib/components/LibIcon/types.ts +0 -0
- /package/{src → dist}/lib/components/Link/Link.tsx +0 -0
- /package/{src → dist}/lib/components/Link/index.ts +0 -0
- /package/{src → dist}/lib/components/Link/types.ts +0 -0
- /package/{src → dist}/lib/components/Linkify/Linkify.tsx +0 -0
- /package/{src → dist}/lib/components/Linkify/index.ts +0 -0
- /package/{src → dist}/lib/components/Linkify/types.ts +0 -0
- /package/{src → dist}/lib/components/ListGroup/ListGroup.tsx +0 -0
- /package/{src → dist}/lib/components/ListGroup/ListGroupItem.tsx +0 -0
- /package/{src → dist}/lib/components/ListGroup/ListGroupTitle.tsx +0 -0
- /package/{src → dist}/lib/components/ListGroup/index.ts +0 -0
- /package/{src → dist}/lib/components/ListGroup/styles.tsx +0 -0
- /package/{src → dist}/lib/components/ListGroup/types.ts +0 -0
- /package/{src → dist}/lib/components/Loader/Loader.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/index.ts +0 -0
- /package/{src → dist}/lib/components/Loader/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/templates/LoaderFour.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/templates/LoaderOne.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/templates/LoaderThree.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/templates/LoaderTwo.tsx +0 -0
- /package/{src → dist}/lib/components/Loader/types.ts +0 -0
- /package/{src → dist}/lib/components/Main/Main.tsx +0 -0
- /package/{src → dist}/lib/components/Main/index.ts +0 -0
- /package/{src → dist}/lib/components/Main/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Main/types.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownContainer/MarkdownContainer.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownContainer/index.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownContainer/styles.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownContainer/types.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MdEditorInput.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/index.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/markdown-buttons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/styles.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/types.ts +0 -0
- /package/{src → dist}/lib/components/Masonry/Masonry.tsx +0 -0
- /package/{src → dist}/lib/components/Masonry/index.ts +0 -0
- /package/{src → dist}/lib/components/Masonry/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Masonry/types.ts +0 -0
- /package/{src → dist}/lib/components/Masonry/utils.ts +0 -0
- /package/{src → dist}/lib/components/Messaging/Message.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/MessageForm.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/MessagesContainer.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/MessagesList.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/Messaging.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/index.ts +0 -0
- /package/{src → dist}/lib/components/Messaging/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Messaging/types.ts +0 -0
- /package/{src → dist}/lib/components/Modal/Modal.tsx +0 -0
- /package/{src → dist}/lib/components/Modal/index.ts +0 -0
- /package/{src → dist}/lib/components/Modal/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Modal/types.ts +0 -0
- /package/{src → dist}/lib/components/PageLayout/PageLayout.tsx +0 -0
- /package/{src → dist}/lib/components/PageLayout/index.ts +0 -0
- /package/{src → dist}/lib/components/PageLayout/types.ts +0 -0
- /package/{src → dist}/lib/components/PageLoading/PageLoading.tsx +0 -0
- /package/{src → dist}/lib/components/PageLoading/index.ts +0 -0
- /package/{src → dist}/lib/components/PageLoading/styles.tsx +0 -0
- /package/{src → dist}/lib/components/PageLoading/types.ts +0 -0
- /package/{src → dist}/lib/components/Pagination/Pagination.tsx +0 -0
- /package/{src → dist}/lib/components/Pagination/PaginationButton.tsx +0 -0
- /package/{src → dist}/lib/components/Pagination/index.ts +0 -0
- /package/{src → dist}/lib/components/Pagination/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Pagination/types.ts +0 -0
- /package/{src → dist}/lib/components/Paginator/Paginator.tsx +0 -0
- /package/{src → dist}/lib/components/Paginator/index.ts +0 -0
- /package/{src → dist}/lib/components/Paginator/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Paginator/types.ts +0 -0
- /package/{src → dist}/lib/components/ProgressBar/ProgressBar.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressBar/index.ts +0 -0
- /package/{src → dist}/lib/components/ProgressBar/styles.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressBar/types.ts +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/Circle.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/ProgressCircle.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/ProgressCircleFn.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/Value.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/clean-percentage.ts +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/index.ts +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/styles.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/types.ts +0 -0
- /package/{src → dist}/lib/components/Rating/Rating.tsx +0 -0
- /package/{src → dist}/lib/components/Rating/index.ts +0 -0
- /package/{src → dist}/lib/components/Rating/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Rating/types.ts +0 -0
- /package/{src → dist}/lib/components/ResetScroll/ResetScroll.tsx +0 -0
- /package/{src → dist}/lib/components/ResetScroll/index.ts +0 -0
- /package/{src → dist}/lib/components/Section/Section.tsx +0 -0
- /package/{src → dist}/lib/components/Section/index.ts +0 -0
- /package/{src → dist}/lib/components/Section/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Section/types.ts +0 -0
- /package/{src → dist}/lib/components/Select/Select.tsx +0 -0
- /package/{src → dist}/lib/components/Select/SelectButton.tsx +0 -0
- /package/{src → dist}/lib/components/Select/index.ts +0 -0
- /package/{src → dist}/lib/components/Select/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Select/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Select/types.ts +0 -0
- /package/{src → dist}/lib/components/Skeleton/Skeleton.tsx +0 -0
- /package/{src → dist}/lib/components/Skeleton/SkeletonCard.tsx +0 -0
- /package/{src → dist}/lib/components/Skeleton/SkeletonShine.tsx +0 -0
- /package/{src → dist}/lib/components/Skeleton/index.ts +0 -0
- /package/{src → dist}/lib/components/Skeleton/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Skeleton/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Skeleton/types.ts +0 -0
- /package/{src → dist}/lib/components/Slideshow/Slideshow.tsx +0 -0
- /package/{src → dist}/lib/components/Slideshow/SlideshowButton.tsx +0 -0
- /package/{src → dist}/lib/components/Slideshow/SlideshowPagination.tsx +0 -0
- /package/{src → dist}/lib/components/Slideshow/index.ts +0 -0
- /package/{src → dist}/lib/components/Slideshow/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Slideshow/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Slideshow/types.ts +0 -0
- /package/{src → dist}/lib/components/SrOnly/SrOnly.tsx +0 -0
- /package/{src → dist}/lib/components/SrOnly/index.ts +0 -0
- /package/{src → dist}/lib/components/SrOnly/styles.tsx +0 -0
- /package/{src → dist}/lib/components/SrOnly/types.ts +0 -0
- /package/{src → dist}/lib/components/Stepper/Step.tsx +0 -0
- /package/{src → dist}/lib/components/Stepper/Stepper.tsx +0 -0
- /package/{src → dist}/lib/components/Stepper/index.ts +0 -0
- /package/{src → dist}/lib/components/Stepper/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Stepper/types.ts +0 -0
- /package/{src → dist}/lib/components/Sticky/Sticky.tsx +0 -0
- /package/{src → dist}/lib/components/Sticky/index.ts +0 -0
- /package/{src → dist}/lib/components/Sticky/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Sticky/types.ts +0 -0
- /package/{src → dist}/lib/components/Table/TBody.tsx +0 -0
- /package/{src → dist}/lib/components/Table/THead.tsx +0 -0
- /package/{src → dist}/lib/components/Table/Table.tsx +0 -0
- /package/{src → dist}/lib/components/Table/Td.tsx +0 -0
- /package/{src → dist}/lib/components/Table/Tr.tsx +0 -0
- /package/{src → dist}/lib/components/Table/index.ts +0 -0
- /package/{src → dist}/lib/components/Table/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Table/types.ts +0 -0
- /package/{src → dist}/lib/components/Tabs/TabButton.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/TabItem.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/Tabs.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/TabsButtonsContainer.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/TabsContainer.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/index.ts +0 -0
- /package/{src → dist}/lib/components/Tabs/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/types.ts +0 -0
- /package/{src → dist}/lib/components/Tag/Tag.tsx +0 -0
- /package/{src → dist}/lib/components/Tag/index.ts +0 -0
- /package/{src → dist}/lib/components/Tag/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Tag/types.ts +0 -0
- /package/{src → dist}/lib/components/Text/Text.tsx +0 -0
- /package/{src → dist}/lib/components/Text/index.ts +0 -0
- /package/{src → dist}/lib/components/Text/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Text/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Text/templates/Blockquote.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Dl.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Em.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H1.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H2.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H3.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H4.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H5.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/H6.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Ol.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/P.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Small.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Strong.tsx +0 -0
- /package/{src → dist}/lib/components/Text/templates/Ul.tsx +0 -0
- /package/{src → dist}/lib/components/Text/types.ts +0 -0
- /package/{src → dist}/lib/components/TextIcon/TextIcon.tsx +0 -0
- /package/{src → dist}/lib/components/TextIcon/index.ts +0 -0
- /package/{src → dist}/lib/components/TextIcon/styles.tsx +0 -0
- /package/{src → dist}/lib/components/TextIcon/types.ts +0 -0
- /package/{src → dist}/lib/components/TextIcon/utils.ts +0 -0
- /package/{src → dist}/lib/components/Timepicker/Timepicker.tsx +0 -0
- /package/{src → dist}/lib/components/Timepicker/index.ts +0 -0
- /package/{src → dist}/lib/components/Timepicker/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Timepicker/types.ts +0 -0
- /package/{src → dist}/lib/components/Toast/Toast.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/Toaster.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/index.ts +0 -0
- /package/{src → dist}/lib/components/Toast/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/types.ts +0 -0
- /package/{src → dist}/lib/components/Tooltip/Tooltip.tsx +0 -0
- /package/{src → dist}/lib/components/Tooltip/index.ts +0 -0
- /package/{src → dist}/lib/components/Tooltip/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Tooltip/types.ts +0 -0
- /package/{src → dist}/lib/components/Truncate/Truncate.tsx +0 -0
- /package/{src → dist}/lib/components/Truncate/index.ts +0 -0
- /package/{src → dist}/lib/components/Truncate/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Truncate/types.ts +0 -0
- /package/{src → dist}/lib/components/Video/Video.tsx +0 -0
- /package/{src → dist}/lib/components/Video/index.ts +0 -0
- /package/{src → dist}/lib/components/Video/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Video/types.ts +0 -0
- /package/{src → dist}/lib/components/Wrapper/Wrapper.tsx +0 -0
- /package/{src → dist}/lib/components/Wrapper/index.ts +0 -0
- /package/{src → dist}/lib/components/Wrapper/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Wrapper/types.ts +0 -0
- /package/{src → dist}/lib/components/Youtube/Youtube.tsx +0 -0
- /package/{src → dist}/lib/components/Youtube/index.ts +0 -0
- /package/{src → dist}/lib/components/Youtube/styles.tsx +0 -0
- /package/{src → dist}/lib/components/Youtube/types.ts +0 -0
- /package/{src → dist}/lib/context/Theme.context.tsx +0 -0
- /package/{src → dist}/lib/context/Toaster/Toaster.context.tsx +0 -0
- /package/{src → dist}/lib/context/Toaster/index.ts +0 -0
- /package/{src → dist}/lib/context/Toaster/toast.reducer.ts +0 -0
- /package/{src → dist}/lib/hooks/index.ts +0 -0
- /package/{src → dist}/lib/hooks/useClickOutside.tsx +0 -0
- /package/{src → dist}/lib/hooks/useCopyToClipboard.tsx +0 -0
- /package/{src → dist}/lib/hooks/useDebounce.tsx +0 -0
- /package/{src → dist}/lib/hooks/useExportData.tsx +0 -0
- /package/{src → dist}/lib/hooks/useFetch.tsx +0 -0
- /package/{src → dist}/lib/hooks/useForm.tsx +0 -0
- /package/{src → dist}/lib/hooks/useIsOverflow.ts +0 -0
- /package/{src → dist}/lib/hooks/useKeyPress.tsx +0 -0
- /package/{src → dist}/lib/hooks/useMaxWidth.tsx +0 -0
- /package/{src → dist}/lib/hooks/useMergeRefs.ts +0 -0
- /package/{src → dist}/lib/hooks/useMinWidth.tsx +0 -0
- /package/{src → dist}/lib/hooks/usePaginatedData.tsx +0 -0
- /package/{src → dist}/lib/hooks/usePagination.tsx +0 -0
- /package/{src → dist}/lib/hooks/useTouchScreen.tsx +0 -0
- /package/{src → dist}/lib/hooks/useTranslation.tsx +0 -0
- /package/{src → dist}/lib/icons/ArrowUp.tsx +0 -0
- /package/{src → dist}/lib/icons/Bold.tsx +0 -0
- /package/{src → dist}/lib/icons/Calendar.tsx +0 -0
- /package/{src → dist}/lib/icons/CaretDown.tsx +0 -0
- /package/{src → dist}/lib/icons/Check.tsx +0 -0
- /package/{src → dist}/lib/icons/CheckCircle.tsx +0 -0
- /package/{src → dist}/lib/icons/ChevronDown.tsx +0 -0
- /package/{src → dist}/lib/icons/ChevronLeft.tsx +0 -0
- /package/{src → dist}/lib/icons/ChevronRight.tsx +0 -0
- /package/{src → dist}/lib/icons/ChevronUp.tsx +0 -0
- /package/{src → dist}/lib/icons/Clipboard.tsx +0 -0
- /package/{src → dist}/lib/icons/Clock.tsx +0 -0
- /package/{src → dist}/lib/icons/Close.tsx +0 -0
- /package/{src → dist}/lib/icons/CloseCircle.tsx +0 -0
- /package/{src → dist}/lib/icons/Code.tsx +0 -0
- /package/{src → dist}/lib/icons/CodeBlock.tsx +0 -0
- /package/{src → dist}/lib/icons/Comment.tsx +0 -0
- /package/{src → dist}/lib/icons/Drag.tsx +0 -0
- /package/{src → dist}/lib/icons/Edit.tsx +0 -0
- /package/{src → dist}/lib/icons/EditorCode.tsx +0 -0
- /package/{src → dist}/lib/icons/EditorLive.tsx +0 -0
- /package/{src → dist}/lib/icons/EditorPreview.tsx +0 -0
- /package/{src → dist}/lib/icons/Hide.tsx +0 -0
- /package/{src → dist}/lib/icons/Image.tsx +0 -0
- /package/{src → dist}/lib/icons/Italic.tsx +0 -0
- /package/{src → dist}/lib/icons/Link.tsx +0 -0
- /package/{src → dist}/lib/icons/Minus.tsx +0 -0
- /package/{src → dist}/lib/icons/OrderedList.tsx +0 -0
- /package/{src → dist}/lib/icons/Plus.tsx +0 -0
- /package/{src → dist}/lib/icons/Quote.tsx +0 -0
- /package/{src → dist}/lib/icons/Search.tsx +0 -0
- /package/{src → dist}/lib/icons/Send.tsx +0 -0
- /package/{src → dist}/lib/icons/Separator.tsx +0 -0
- /package/{src → dist}/lib/icons/Show.tsx +0 -0
- /package/{src → dist}/lib/icons/Star.tsx +0 -0
- /package/{src → dist}/lib/icons/StarFull.tsx +0 -0
- /package/{src → dist}/lib/icons/Strikethrough.tsx +0 -0
- /package/{src → dist}/lib/icons/Underline.tsx +0 -0
- /package/{src → dist}/lib/icons/UnorderedList.tsx +0 -0
- /package/{src → dist}/lib/icons/index.ts +0 -0
- /package/{src → dist}/lib/icons/styles.tsx +0 -0
- /package/{src → dist}/lib/icons/types.ts +0 -0
- /package/{src → dist}/lib/index.ts +0 -0
- /package/{src → dist}/lib/lib-utils/append-styles.ts +0 -0
- /package/{src → dist}/lib/lib-utils/colors-maps.ts +0 -0
- /package/{src → dist}/lib/lib-utils/get-highlighted-text.tsx +0 -0
- /package/{src → dist}/lib/lib-utils/get-icon-size-from-font.ts +0 -0
- /package/{src → dist}/lib/lib-utils/index.ts +0 -0
- /package/{src → dist}/lib/lib-utils/round-icon-size.ts +0 -0
- /package/{src → dist}/lib/lib-utils/transfom-search-keys.ts +0 -0
- /package/{src → dist}/lib/modules-declare.d.ts +0 -0
- /package/{src → dist}/lib/types/component-items.ts +0 -0
- /package/{src → dist}/lib/types/components-props.ts +0 -0
- /package/{src → dist}/lib/types/generate-int-range.ts +0 -0
- /package/{src → dist}/lib/types/global.ts +0 -0
- /package/{src → dist}/lib/types/index.ts +0 -0
- /package/{src → dist}/lib/types/require-at-least-one.ts +0 -0
- /package/{src → dist}/lib/types/theme.ts +0 -0
- /package/{src → dist}/lib/types/type-values.ts +0 -0
- /package/{src → dist}/lib/utils/StyleSheetManager.tsx +0 -0
- /package/{src → dist}/lib/utils/index.ts +0 -0
- /package/{src → dist}/lib/utils/lib-tokens.json +0 -0
- /package/{src → dist}/lib/utils/linkify-text.tsx +0 -0
- /package/{src → dist}/lib/utils/options-markdown.ts +0 -0
- /package/{src → dist}/lib/utils/set-default-theme.ts +0 -0
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/*=============================================== DropdownPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { useState } from "react"
|
|
4
|
-
import { Dropdown, DropdownContainer, Button } from "../../../"
|
|
5
|
-
import type { LibDropdownItem } from "../../../types"
|
|
6
|
-
import type { ILibDropdown } from "../../../types/components-props"
|
|
7
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
8
|
-
|
|
9
|
-
const items: Array<LibDropdownItem> = [
|
|
10
|
-
{
|
|
11
|
-
text: "Link",
|
|
12
|
-
to: "/",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
text: "Button",
|
|
16
|
-
onClick: () => alert("Clicked"),
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
text: "Button with icon",
|
|
20
|
-
onClick: () => alert("Clicked icon"),
|
|
21
|
-
icon: "mail",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
text: "Disabled",
|
|
25
|
-
disabled: true,
|
|
26
|
-
onClick: () => alert("This shouldn't work"),
|
|
27
|
-
},
|
|
28
|
-
]
|
|
29
|
-
|
|
30
|
-
const DropdownDemo = () => {
|
|
31
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<DropdownContainer
|
|
35
|
-
isOpen={isOpen}
|
|
36
|
-
data-testid="testid"
|
|
37
|
-
className="className"
|
|
38
|
-
>
|
|
39
|
-
<Button onClick={() => setIsOpen(!isOpen)}>Open</Button>
|
|
40
|
-
<Dropdown
|
|
41
|
-
items={items}
|
|
42
|
-
isOpen={isOpen}
|
|
43
|
-
setIsOpen={setIsOpen}
|
|
44
|
-
data-testid="testid.Dropdown"
|
|
45
|
-
className="Dropdown"
|
|
46
|
-
/>
|
|
47
|
-
</DropdownContainer>
|
|
48
|
-
)
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export const dropdownPreview: ComponentPreview<ILibDropdown> = {
|
|
52
|
-
name: "Dropdown",
|
|
53
|
-
component: Dropdown,
|
|
54
|
-
category: "components",
|
|
55
|
-
import: "Dropdown",
|
|
56
|
-
additionalImports: null,
|
|
57
|
-
optionalImports: ["DropdownContainer"],
|
|
58
|
-
propsImport: "ILibDropdown",
|
|
59
|
-
additionalTypeImports: ["LibDropdownItem"],
|
|
60
|
-
extends: ["HTMLDivElement"],
|
|
61
|
-
previews: [{ demo: <DropdownDemo /> }],
|
|
62
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/*=============================================== Dropdown tests ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { LIB_TOKENS } from "../../.."
|
|
4
|
-
import { Preview, PreviewDirection, PreviewColor } from "./Preview"
|
|
5
|
-
|
|
6
|
-
describe("<Dropdown />", () => {
|
|
7
|
-
it("renders <Dropdown /> component", () => {
|
|
8
|
-
cy.mount(<Preview />)
|
|
9
|
-
cy.dataTest().should("exist").should("have.class", "className")
|
|
10
|
-
cy.dataTest("testid.Dropdown")
|
|
11
|
-
.should("exist")
|
|
12
|
-
.should("have.class", "Dropdown")
|
|
13
|
-
.should("not.be.visible")
|
|
14
|
-
|
|
15
|
-
cy.dataTest("Button").click()
|
|
16
|
-
cy.dataTest("testid.Dropdown").should("be.visible")
|
|
17
|
-
|
|
18
|
-
cy.dataTest("testid.Dropdown.DropdownItem")
|
|
19
|
-
.should("exist")
|
|
20
|
-
.should("be.visible")
|
|
21
|
-
|
|
22
|
-
const stub = cy.stub()
|
|
23
|
-
cy.on("window:alert", stub)
|
|
24
|
-
|
|
25
|
-
cy.dataTest("testid.Dropdown.DropdownItem")
|
|
26
|
-
.last()
|
|
27
|
-
.click()
|
|
28
|
-
.then(() => {
|
|
29
|
-
expect(stub.getCall(0)).to.be.calledWith("Clicked icon")
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
cy.get("body").click()
|
|
33
|
-
cy.dataTest("testid.Dropdown").should("not.be.visible")
|
|
34
|
-
})
|
|
35
|
-
|
|
36
|
-
it("renders a different direction & position from button", () => {
|
|
37
|
-
cy.mount(<PreviewDirection />)
|
|
38
|
-
|
|
39
|
-
cy.dataTest().should("have.css", "justify-content", "flex-end")
|
|
40
|
-
cy.dataTest("testid.Dropdown")
|
|
41
|
-
.should("have.css", "right", "0px")
|
|
42
|
-
.should("have.css", "bottom", "48px")
|
|
43
|
-
|
|
44
|
-
cy.dataTest("Button").click()
|
|
45
|
-
cy.dataTest("testid.Dropdown").should("have.css", "max-height", "100px")
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
it("renders link or button and different accent color", () => {
|
|
49
|
-
cy.mount(<PreviewColor />)
|
|
50
|
-
cy.dataTest("Button").click()
|
|
51
|
-
|
|
52
|
-
cy.dataTest("testid.Dropdown.DropdownItem").should(
|
|
53
|
-
"have.css",
|
|
54
|
-
"color",
|
|
55
|
-
LIB_TOKENS.colors.light["danger-500"].rgb
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
cy.dataTest("testid.Dropdown.DropdownItem")
|
|
59
|
-
.eq(0)
|
|
60
|
-
.should("have.prop", "tagName", "A")
|
|
61
|
-
.should("not.contain.html", "span")
|
|
62
|
-
|
|
63
|
-
cy.dataTest("testid.Dropdown.DropdownItem")
|
|
64
|
-
.eq(1)
|
|
65
|
-
.should("have.prop", "tagName", "BUTTON")
|
|
66
|
-
.should("not.contain.html", "span")
|
|
67
|
-
|
|
68
|
-
cy.dataTest("testid.Dropdown.DropdownItem")
|
|
69
|
-
.eq(2)
|
|
70
|
-
.should("have.prop", "tagName", "BUTTON")
|
|
71
|
-
.should("contain.html", "span")
|
|
72
|
-
})
|
|
73
|
-
})
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/*=============================================== DropdownPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { useState } from "react"
|
|
4
|
-
import { DropdownContainer, Dropdown, Button } from "../../../"
|
|
5
|
-
import type { LibDropdownItem } from "../../../types"
|
|
6
|
-
|
|
7
|
-
const items: Array<LibDropdownItem> = [
|
|
8
|
-
{
|
|
9
|
-
text: "Link",
|
|
10
|
-
to: "/",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
text: "Button",
|
|
14
|
-
onClick: () => alert("Clicked"),
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
text: "Button with icon",
|
|
18
|
-
onClick: () => alert("Clicked icon"),
|
|
19
|
-
icon: "mail",
|
|
20
|
-
},
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
export const Preview = () => {
|
|
24
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
25
|
-
|
|
26
|
-
return (
|
|
27
|
-
<DropdownContainer
|
|
28
|
-
isOpen={isOpen}
|
|
29
|
-
data-testid="testid"
|
|
30
|
-
className="className"
|
|
31
|
-
>
|
|
32
|
-
<Button onClick={() => setIsOpen(!isOpen)} data-testid="Button">
|
|
33
|
-
Open dropdown
|
|
34
|
-
</Button>
|
|
35
|
-
|
|
36
|
-
<Dropdown
|
|
37
|
-
isOpen={isOpen}
|
|
38
|
-
setIsOpen={setIsOpen}
|
|
39
|
-
items={items}
|
|
40
|
-
data-testid="testid.Dropdown"
|
|
41
|
-
className="Dropdown"
|
|
42
|
-
/>
|
|
43
|
-
</DropdownContainer>
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export const PreviewDirection = () => {
|
|
48
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
49
|
-
|
|
50
|
-
return (
|
|
51
|
-
<DropdownContainer
|
|
52
|
-
isOpen={isOpen}
|
|
53
|
-
data-testid="testid"
|
|
54
|
-
className="className"
|
|
55
|
-
justifyContent="flex-end"
|
|
56
|
-
>
|
|
57
|
-
<Button onClick={() => setIsOpen(!isOpen)} data-testid="Button">
|
|
58
|
-
Open dropdown
|
|
59
|
-
</Button>
|
|
60
|
-
|
|
61
|
-
<Dropdown
|
|
62
|
-
isOpen={isOpen}
|
|
63
|
-
setIsOpen={setIsOpen}
|
|
64
|
-
items={items}
|
|
65
|
-
data-testid="testid.Dropdown"
|
|
66
|
-
className="Dropdown"
|
|
67
|
-
direction="up"
|
|
68
|
-
positionFromButton={48}
|
|
69
|
-
maxHeightOpen={100}
|
|
70
|
-
/>
|
|
71
|
-
</DropdownContainer>
|
|
72
|
-
)
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export const PreviewColor = () => {
|
|
76
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
77
|
-
|
|
78
|
-
return (
|
|
79
|
-
<DropdownContainer
|
|
80
|
-
isOpen={isOpen}
|
|
81
|
-
data-testid="testid"
|
|
82
|
-
className="className"
|
|
83
|
-
justifyContent="flex-end"
|
|
84
|
-
>
|
|
85
|
-
<Button
|
|
86
|
-
onClick={() => setIsOpen(!isOpen)}
|
|
87
|
-
data-testid="Button"
|
|
88
|
-
color="danger"
|
|
89
|
-
>
|
|
90
|
-
Open dropdown
|
|
91
|
-
</Button>
|
|
92
|
-
|
|
93
|
-
<Dropdown
|
|
94
|
-
isOpen={isOpen}
|
|
95
|
-
setIsOpen={setIsOpen}
|
|
96
|
-
items={items}
|
|
97
|
-
data-testid="testid.Dropdown"
|
|
98
|
-
className="Dropdown"
|
|
99
|
-
accentColor="danger"
|
|
100
|
-
/>
|
|
101
|
-
</DropdownContainer>
|
|
102
|
-
)
|
|
103
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*=============================================== FadePreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Fade, generateNumbers, Text } from "../../../"
|
|
4
|
-
import type { ILibFade } from "../../../types/components-props"
|
|
5
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
6
|
-
|
|
7
|
-
const text =
|
|
8
|
-
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc ac ullamcorper risus. Sed porttitor dolor eget leo accumsan ultricies. Morbi feugiat libero a mi sollicitudin, et varius eros porttitor. Aliquam ac elementum erat, interdum cursus tortor. Maecenas faucibus mollis nisl. Integer vel justo leo. Donec ac magna vel est blandit tristique. Cras nec mauris dictum elit blandit pellentesque sed vel sem. Nam ullamcorper malesuada orci, ac cursus mi convallis at. Donec aliquet pharetra velit, non suscipit elit consectetur vitae. Praesent suscipit, mi a interdum maximus, tellus metus feugiat urna, sed semper felis enim sed magna. Donec vestibulum commodo sapien quis lobortis. Maecenas et venenatis elit. Sed sed porttitor ante. Curabitur eu orci tristique, tristique justo eu, tempus elit."
|
|
9
|
-
|
|
10
|
-
export const fadePreview: ComponentPreview<ILibFade> = {
|
|
11
|
-
name: "Fade",
|
|
12
|
-
component: Fade,
|
|
13
|
-
category: "components",
|
|
14
|
-
import: "Fade",
|
|
15
|
-
additionalImports: null,
|
|
16
|
-
optionalImports: null,
|
|
17
|
-
propsImport: "ILibFade",
|
|
18
|
-
additionalTypeImports: null,
|
|
19
|
-
extends: ["HTMLDivElement"],
|
|
20
|
-
previews: [
|
|
21
|
-
{
|
|
22
|
-
demo: (
|
|
23
|
-
<>
|
|
24
|
-
{generateNumbers(0, 10).map(i => (
|
|
25
|
-
<Fade
|
|
26
|
-
key={i}
|
|
27
|
-
data-testid="testid"
|
|
28
|
-
className="className"
|
|
29
|
-
>
|
|
30
|
-
<Text>{text}</Text>
|
|
31
|
-
</Fade>
|
|
32
|
-
))}
|
|
33
|
-
</>
|
|
34
|
-
),
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/*=============================================== FieldsetPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Fieldset } from "../../../"
|
|
4
|
-
import { ChildrenCheck, ChildrenCheckValidate, ChildrenText } from "./Previews"
|
|
5
|
-
import type { ILibFieldset } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
export const fieldsetPreview: ComponentPreview<ILibFieldset> = {
|
|
9
|
-
name: "Fieldset",
|
|
10
|
-
component: Fieldset,
|
|
11
|
-
category: "components",
|
|
12
|
-
import: "Fieldset",
|
|
13
|
-
additionalImports: null,
|
|
14
|
-
optionalImports: null,
|
|
15
|
-
propsImport: "ILibFieldset",
|
|
16
|
-
additionalTypeImports: null,
|
|
17
|
-
extends: ["HTMLFieldSetElement"],
|
|
18
|
-
previews: [
|
|
19
|
-
{
|
|
20
|
-
previewTitle: "With check inputs",
|
|
21
|
-
props: { legend: "Favourite word?", children: <ChildrenCheck /> },
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
previewTitle: "With text inputs",
|
|
25
|
-
props: {
|
|
26
|
-
legend: "User information",
|
|
27
|
-
children: <ChildrenText />,
|
|
28
|
-
flexDirection: "column",
|
|
29
|
-
alignItems: "stretch",
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
previewTitle: "With validation",
|
|
34
|
-
props: {
|
|
35
|
-
legend: "Favourite word?",
|
|
36
|
-
children: <ChildrenCheckValidate />,
|
|
37
|
-
validation: { status: false, message: "This is required." },
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/*=============================================== Fieldset previews ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { InputCheck, Input } from "../../../"
|
|
4
|
-
|
|
5
|
-
export const ChildrenCheck = () => {
|
|
6
|
-
return (
|
|
7
|
-
<>
|
|
8
|
-
<InputCheck
|
|
9
|
-
id="hello"
|
|
10
|
-
name="inputs-check"
|
|
11
|
-
type="radio"
|
|
12
|
-
label="Hello"
|
|
13
|
-
/>
|
|
14
|
-
<InputCheck
|
|
15
|
-
id="world"
|
|
16
|
-
name="inputs-check"
|
|
17
|
-
type="radio"
|
|
18
|
-
label="World"
|
|
19
|
-
/>
|
|
20
|
-
|
|
21
|
-
<InputCheck id="foo" name="inputs-check" type="radio" label="Foo" />
|
|
22
|
-
|
|
23
|
-
<InputCheck id="baz" name="inputs-check" type="radio" label="Baz" />
|
|
24
|
-
</>
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export const ChildrenText = () => {
|
|
29
|
-
return (
|
|
30
|
-
<>
|
|
31
|
-
<Input label="Name" />
|
|
32
|
-
<Input label="Email" type="email" />
|
|
33
|
-
</>
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export const ChildrenCheckValidate = () => {
|
|
38
|
-
return (
|
|
39
|
-
<>
|
|
40
|
-
<InputCheck
|
|
41
|
-
id="hello-validate"
|
|
42
|
-
name="inputs-check"
|
|
43
|
-
type="radio"
|
|
44
|
-
label="Hello"
|
|
45
|
-
validation={false}
|
|
46
|
-
/>
|
|
47
|
-
<InputCheck
|
|
48
|
-
id="world-validate"
|
|
49
|
-
name="inputs-check"
|
|
50
|
-
type="radio"
|
|
51
|
-
label="World"
|
|
52
|
-
validation={false}
|
|
53
|
-
/>
|
|
54
|
-
|
|
55
|
-
<InputCheck
|
|
56
|
-
id="foo-validate"
|
|
57
|
-
name="inputs-check"
|
|
58
|
-
type="radio"
|
|
59
|
-
label="Foo"
|
|
60
|
-
validation={false}
|
|
61
|
-
/>
|
|
62
|
-
|
|
63
|
-
<InputCheck
|
|
64
|
-
id="baz-validate"
|
|
65
|
-
name="inputs-check"
|
|
66
|
-
type="radio"
|
|
67
|
-
label="Baz"
|
|
68
|
-
validation={false}
|
|
69
|
-
/>
|
|
70
|
-
</>
|
|
71
|
-
)
|
|
72
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*=============================================== FlexboxPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Flexbox } from "../"
|
|
4
|
-
import { GridItem } from "../../../../components"
|
|
5
|
-
import type { ILibFlexbox } from "../types"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
export const flexboxPreview: ComponentPreview<ILibFlexbox> = {
|
|
9
|
-
name: "Flexbox",
|
|
10
|
-
component: Flexbox,
|
|
11
|
-
category: "layouts",
|
|
12
|
-
import: "Flexbox",
|
|
13
|
-
additionalImports: null,
|
|
14
|
-
optionalImports: null,
|
|
15
|
-
propsImport: "ILibFlexbox",
|
|
16
|
-
additionalTypeImports: null,
|
|
17
|
-
extends: ["HTMLDivElement"],
|
|
18
|
-
previews: [
|
|
19
|
-
{
|
|
20
|
-
props: {
|
|
21
|
-
flexDirection: "column-reverse",
|
|
22
|
-
rowGap: "xs",
|
|
23
|
-
alignItems: "flex-end",
|
|
24
|
-
justifyContent: "flex-end",
|
|
25
|
-
"data-testid": "testid",
|
|
26
|
-
className: "className",
|
|
27
|
-
children: (
|
|
28
|
-
<>
|
|
29
|
-
<GridItem />
|
|
30
|
-
<GridItem>Longer item</GridItem>
|
|
31
|
-
<GridItem />
|
|
32
|
-
<GridItem>Even longer item</GridItem>
|
|
33
|
-
</>
|
|
34
|
-
),
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*=============================================== Flexbox tests ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Flexbox, LIB_TOKENS } from "../../.."
|
|
4
|
-
|
|
5
|
-
describe("<Flexbox />", () => {
|
|
6
|
-
it("renders <Flexbox /> component", () => {
|
|
7
|
-
cy.mount(
|
|
8
|
-
<Flexbox
|
|
9
|
-
data-testid="testid"
|
|
10
|
-
className="className"
|
|
11
|
-
flexDirection="column"
|
|
12
|
-
gap="s"
|
|
13
|
-
>
|
|
14
|
-
Hello
|
|
15
|
-
</Flexbox>
|
|
16
|
-
)
|
|
17
|
-
cy.dataTest()
|
|
18
|
-
.should("exist")
|
|
19
|
-
.should("have.class", "className")
|
|
20
|
-
.should("have.css", "flex-direction", "column")
|
|
21
|
-
.should("have.css", "gap", LIB_TOKENS.spacers.s)
|
|
22
|
-
})
|
|
23
|
-
})
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/*=============================================== FooterPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Footer } from "../../../"
|
|
4
|
-
import type { LibFooterLink } from "../../../types"
|
|
5
|
-
import type { ILibFooter } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
const items: Array<LibFooterLink> = [
|
|
9
|
-
{
|
|
10
|
-
text: "Link",
|
|
11
|
-
href: "#",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
text: "Router Link",
|
|
15
|
-
to: "/",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
text: "Button",
|
|
19
|
-
onClick: () => console.log("Clicked!"),
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
text: "Button",
|
|
23
|
-
onClick: () => console.log("Clicked!"),
|
|
24
|
-
},
|
|
25
|
-
]
|
|
26
|
-
|
|
27
|
-
export const footerPreview: ComponentPreview<ILibFooter> = {
|
|
28
|
-
name: "Footer",
|
|
29
|
-
component: Footer,
|
|
30
|
-
category: "components",
|
|
31
|
-
import: "Footer",
|
|
32
|
-
additionalImports: null,
|
|
33
|
-
optionalImports: null,
|
|
34
|
-
propsImport: "ILibFooter",
|
|
35
|
-
additionalTypeImports: ["LibFooterLink"],
|
|
36
|
-
extends: ["HTMLDivElement"],
|
|
37
|
-
previews: [
|
|
38
|
-
{
|
|
39
|
-
previewTitle: "Default",
|
|
40
|
-
props: {
|
|
41
|
-
logo: { text: "Hello" },
|
|
42
|
-
links: items,
|
|
43
|
-
"data-testid": "testid",
|
|
44
|
-
className: "className",
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
previewTitle: "Vertical with logo",
|
|
49
|
-
props: {
|
|
50
|
-
links: items,
|
|
51
|
-
logo: { img: "/images/logo-fajny-css.svg" },
|
|
52
|
-
linksSeparator: "dash",
|
|
53
|
-
direction: "vertical",
|
|
54
|
-
"data-testid": "testid",
|
|
55
|
-
className: "className",
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
previewTitle: "Vertical",
|
|
60
|
-
props: {
|
|
61
|
-
links: items,
|
|
62
|
-
withSeparator: true,
|
|
63
|
-
direction: "vertical",
|
|
64
|
-
"data-testid": "testid",
|
|
65
|
-
className: "className",
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*=============================================== FormPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { useState, type ChangeEvent, type FormEvent } from "react"
|
|
4
|
-
import { Form, Input } from "../../../"
|
|
5
|
-
import type { ILibForm } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
const FormDemo = () => {
|
|
9
|
-
const [inputs, setInputs] = useState({
|
|
10
|
-
name: "Jul",
|
|
11
|
-
email: "a@b.com",
|
|
12
|
-
password: "pass",
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
const handleInputs = (e: ChangeEvent<HTMLInputElement>) =>
|
|
16
|
-
setInputs({
|
|
17
|
-
...inputs,
|
|
18
|
-
[e.target.id]: e.target.value,
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
const resetForm = () =>
|
|
22
|
-
setInputs({
|
|
23
|
-
name: "",
|
|
24
|
-
email: "",
|
|
25
|
-
password: "",
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
|
|
29
|
-
e.preventDefault()
|
|
30
|
-
alert(JSON.stringify(inputs))
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<Form
|
|
35
|
-
buttonPrimary={{ text: "Submit", iconLeft: "send" }}
|
|
36
|
-
buttonSecondary={{ text: "Reset", onClick: resetForm }}
|
|
37
|
-
onSubmit={handleSubmit}
|
|
38
|
-
data-testid="testid"
|
|
39
|
-
className="className"
|
|
40
|
-
>
|
|
41
|
-
<Input
|
|
42
|
-
id="name"
|
|
43
|
-
label="Name"
|
|
44
|
-
onChange={handleInputs}
|
|
45
|
-
value={inputs.name}
|
|
46
|
-
/>
|
|
47
|
-
<Input
|
|
48
|
-
id="email"
|
|
49
|
-
label="Email"
|
|
50
|
-
type="email"
|
|
51
|
-
onChange={handleInputs}
|
|
52
|
-
value={inputs.email}
|
|
53
|
-
/>
|
|
54
|
-
<Input
|
|
55
|
-
id="password"
|
|
56
|
-
label="Password"
|
|
57
|
-
type="password"
|
|
58
|
-
onChange={handleInputs}
|
|
59
|
-
value={inputs.password}
|
|
60
|
-
/>
|
|
61
|
-
</Form>
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export const formPreview: ComponentPreview<ILibForm> = {
|
|
66
|
-
name: "Form",
|
|
67
|
-
component: Form,
|
|
68
|
-
category: "components",
|
|
69
|
-
import: "Form",
|
|
70
|
-
additionalImports: null,
|
|
71
|
-
optionalImports: null,
|
|
72
|
-
propsImport: "ILibForm",
|
|
73
|
-
additionalTypeImports: null,
|
|
74
|
-
extends: ["HTMLFormElement"],
|
|
75
|
-
previews: [{ previewTitle: "Default", demo: <FormDemo /> }],
|
|
76
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*=============================================== FullBleedPreview ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { Link } from "react-router-dom"
|
|
4
|
-
import { FullBleed, Text } from "../../../"
|
|
5
|
-
import type { ILibFullBleed } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
export const fullBleedPreview: ComponentPreview<ILibFullBleed> = {
|
|
9
|
-
name: "FullBleed",
|
|
10
|
-
component: FullBleed,
|
|
11
|
-
category: "components",
|
|
12
|
-
import: "FullBleed",
|
|
13
|
-
additionalImports: null,
|
|
14
|
-
optionalImports: null,
|
|
15
|
-
propsImport: "ILibFullBleed",
|
|
16
|
-
additionalTypeImports: null,
|
|
17
|
-
extends: ["HTMLDivElement"],
|
|
18
|
-
previews: [
|
|
19
|
-
{
|
|
20
|
-
demo: (
|
|
21
|
-
<Text>
|
|
22
|
-
<Link
|
|
23
|
-
to="/demos/main-full"
|
|
24
|
-
target="_blank"
|
|
25
|
-
rel="noreferrer noopener"
|
|
26
|
-
>
|
|
27
|
-
Demo here
|
|
28
|
-
</Link>
|
|
29
|
-
</Text>
|
|
30
|
-
),
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/*=============================================== FullBleed tests ===============================================*/
|
|
2
|
-
|
|
3
|
-
import { FullBleed, Image } from "../../.."
|
|
4
|
-
|
|
5
|
-
describe("<FullBleed />", () => {
|
|
6
|
-
it("renders <FullBleed /> component", () => {
|
|
7
|
-
cy.mount(
|
|
8
|
-
<FullBleed data-testid="testid" className="className">
|
|
9
|
-
Hello
|
|
10
|
-
</FullBleed>
|
|
11
|
-
)
|
|
12
|
-
cy.dataTest().should("exist").should("have.class", "className")
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
it("renders the image inside with a set height", () => {
|
|
16
|
-
cy.mount(
|
|
17
|
-
<FullBleed data-testid="testid" height={150}>
|
|
18
|
-
<Image
|
|
19
|
-
src="https://images.unsplash.com/photo-1643028468604-858ea2a9c111?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1932&q=80"
|
|
20
|
-
alt="Full bleed"
|
|
21
|
-
fit="cover"
|
|
22
|
-
/>
|
|
23
|
-
</FullBleed>
|
|
24
|
-
)
|
|
25
|
-
cy.dataTest().children().invoke("height").should("equal", 150)
|
|
26
|
-
})
|
|
27
|
-
})
|