@julseb-lib/react 0.1.5 → 0.1.7
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/dist/index.d.ts +1 -0
- package/dist/julseb-lib-react.cjs.js +39 -0
- package/dist/julseb-lib-react.es.js +12438 -0
- package/dist/julseb-lib-react.umd.js +39 -0
- package/dist/lib/index.css +443 -0
- package/dist/react.css +1 -0
- package/package.json +40 -1
- package/.editorconfig +0 -7
- package/.prettierrc +0 -5
- package/eslint.config.js +0 -177
- package/index.html +0 -14
- package/plop/actions/index.ts +0 -1
- package/plop/actions/run-command.ts +0 -21
- package/plop/generators/component.ts +0 -87
- package/plop/generators/demo.ts +0 -38
- package/plop/generators/generator.ts +0 -49
- package/plop/generators/index.ts +0 -6
- package/plop/generators/preview.ts +0 -58
- package/plop/generators/subtype.ts +0 -25
- package/plop/partials/index.ts +0 -2
- package/plop/partials/kebab-name.ts +0 -7
- package/plop/partials/pascal-name.ts +0 -7
- package/plop/plopfile.ts +0 -32
- package/plop/templates/__preview__/preview-props.hbs +0 -34
- package/plop/templates/__preview__/preview.hbs +0 -25
- package/plop/templates/component/__preview__/preview.hbs +0 -21
- package/plop/templates/component/index.ts.hbs +0 -1
- package/plop/templates/component/types.ts.hbs +0 -5
- package/plop/templates/component/{{ pascalCase name }}.tsx.hbs +0 -32
- package/plop/templates/demo.hbs +0 -9
- package/plop/templates/generator.hbs +0 -16
- package/plop/templates/subtypes.hbs +0 -3
- package/plop/utils/addClosingBrackets.ts +0 -13
- package/plop/utils/addOpenBrackets.ts +0 -13
- package/plop/utils/all-components.ts +0 -72
- package/plop/utils/constants.ts +0 -1
- package/plop/utils/index.ts +0 -5
- package/plop/utils/surround-brackets.ts +0 -12
- package/public/favicon.svg +0 -24
- package/public/images/cover-img.avif +0 -0
- package/public/images/image-card.jpg +0 -0
- package/public/images/logo-fajny-css-white.svg +0 -37
- package/public/images/logo-fajny-css.svg +0 -35
- package/public/images/pic-avatar.jpg +0 -0
- package/public/images/slideshow-1.avif +0 -0
- package/public/images/slideshow-2.avif +0 -0
- package/public/images/slideshow-3.avif +0 -0
- package/public/images/slideshow-4.avif +0 -0
- package/public/vite.svg +0 -1
- package/src/App.tsx +0 -6
- package/src/components/ComponentPreview.tsx +0 -46
- package/src/components/GridItem.tsx +0 -9
- package/src/components/index.ts +0 -4
- package/src/components/layout/BasePage.tsx +0 -27
- package/src/components/layout/CoverLayout.tsx +0 -97
- package/src/components/layout/Nav.tsx +0 -63
- package/src/components/layout/Page.tsx +0 -24
- package/src/data/components.tsx +0 -220
- package/src/data/french-cities.ts +0 -8683
- package/src/data/index.ts +0 -3
- package/src/data/previews/styles/Colors.preview.tsx +0 -94
- package/src/data/previews/styles/Overlays.preview.tsx +0 -48
- package/src/data/previews/styles/Radiuses.preview.tsx +0 -49
- package/src/data/previews/styles/Shadows.preview.tsx +0 -49
- package/src/data/previews/styles/Spacers.preview.tsx +0 -50
- package/src/data/previews/styles/Theme.preview.tsx +0 -32
- package/src/data/site-data.ts +0 -4
- package/src/data/styles/colors.ts +0 -1985
- package/src/data/styles/index.ts +0 -5
- package/src/data/styles/overlays.ts +0 -47
- package/src/data/styles/radiuses.ts +0 -68
- package/src/data/styles/shadows.ts +0 -61
- package/src/data/styles/spacers.ts +0 -54
- package/src/data/types/index.ts +0 -1
- package/src/data/types/variables.ts +0 -7
- package/src/lib/components/Accordion/__preview__/Accordion.preview.tsx +0 -107
- package/src/lib/components/Alert/__preview__/Alert.preview.tsx +0 -72
- package/src/lib/components/Aside/__preview__/Aside.preview.tsx +0 -59
- package/src/lib/components/Autocomplete/__preview__/Autocomplete.preview.tsx +0 -181
- package/src/lib/components/Autocomplete/__preview__/Preview.tsx +0 -17
- package/src/lib/components/Avatar/__preview__/Avatar.preview.tsx +0 -107
- package/src/lib/components/BackToTop/__preview__/BackToTop.preview.tsx +0 -115
- package/src/lib/components/Badge/__preview__/Badge.preview.tsx +0 -84
- package/src/lib/components/Breadcrumbs/__preview__/Breadcrumbs.preview.tsx +0 -55
- package/src/lib/components/Burger/__preview__/Burger.preview.tsx +0 -55
- package/src/lib/components/Burger/__preview__/Preview.tsx +0 -11
- package/src/lib/components/Button/__preview__/Button.preview.tsx +0 -182
- package/src/lib/components/ButtonGroup/__preview__/ButtonGroup.preview.tsx +0 -101
- package/src/lib/components/ButtonIcon/__preview__/ButtonIcon.preview.tsx +0 -239
- package/src/lib/components/CodeContainer/__preview__/CodeContainer.preview.tsx +0 -280
- package/src/lib/components/Cover/__preview__/Cover.preview.tsx +0 -154
- package/src/lib/components/DragList/__preview__/Draglist.preview.tsx +0 -156
- package/src/lib/components/Drawer/__preview__/Drawer.preview.tsx +0 -159
- package/src/lib/components/Dropdown/__preview__/Dropdown.preview.tsx +0 -83
- package/src/lib/components/Dropdown/__preview__/Preview.tsx +0 -52
- package/src/lib/components/Fade/__preview__/Fade.preview.tsx +0 -33
- package/src/lib/components/Fieldset/__preview__/Fieldset.preview.tsx +0 -99
- package/src/lib/components/Fieldset/__preview__/Preview.tsx +0 -70
- package/src/lib/components/Flexbox/__preview__/Flexbox.preview.tsx +0 -155
- package/src/lib/components/Form/__preview__/Form.preview.tsx +0 -124
- package/src/lib/components/Grid/__preview__/Grid.preview.tsx +0 -146
- package/src/lib/components/Header/__preview__/Header.preview.tsx +0 -33
- package/src/lib/components/Highlight/__preview__/Highlight.preview.tsx +0 -60
- package/src/lib/components/Hr/__preview__/Hr.preview.tsx +0 -75
- package/src/lib/components/IconMenu/__preview__/IconMenu.preview.tsx +0 -55
- package/src/lib/components/Image/__preview__/Image.preview.tsx +0 -71
- package/src/lib/components/Input/__preview__/Input.preview.tsx +0 -237
- package/src/lib/components/Input/__preview__/Previews.tsx +0 -67
- package/src/lib/components/InputCheck/__preview__/InputCheck.preview.tsx +0 -84
- package/src/lib/components/InputCheck/__preview__/Previews.tsx +0 -136
- package/src/lib/components/InputCounter/__preview__/InputCounter.preview.tsx +0 -153
- package/src/lib/components/InputCounter/__preview__/Preview.tsx +0 -13
- package/src/lib/components/InputImage/__preview__/InputImage.preview.tsx +0 -133
- package/src/lib/components/InputImage/__preview__/Preview.tsx +0 -29
- package/src/lib/components/InputPhone/__preview__/InputPhone.preview.tsx +0 -165
- package/src/lib/components/InputPhone/__preview__/Preview.tsx +0 -42
- package/src/lib/components/InputPin/__preview__/InputPin.preview.tsx +0 -154
- package/src/lib/components/InputSlider/__preview__/InputSlider.preview.tsx +0 -128
- package/src/lib/components/InputSlider/__preview__/Preview.tsx +0 -17
- package/src/lib/components/Key/__preview__/Key.preview.tsx +0 -80
- package/src/lib/components/Linkify/__preview__/Linkify.preview.tsx +0 -33
- package/src/lib/components/ListGroup/__preview__/ListGroup.preview.tsx +0 -246
- package/src/lib/components/Loader/__preview__/Loader.preview.tsx +0 -38
- package/src/lib/components/Main/__preview__/Main.preview.tsx +0 -67
- package/src/lib/components/MarkdownContainer/__preview__/MarkdownContainer.preview.tsx +0 -34
- package/src/lib/components/MarkdownEditor/__preview__/MarkdownEditor.preview.tsx +0 -143
- package/src/lib/components/Masonry/__preview__/Masonry.preview.tsx +0 -58
- package/src/lib/components/Modal/__preview__/Modal.preview.tsx +0 -125
- package/src/lib/components/PageLoading/__preview__/PageLoading.preview.tsx +0 -66
- package/src/lib/components/Pagination/__preview__/Pagination.preview.tsx +0 -264
- package/src/lib/components/Paginator/__preview__/Paginator.preview.tsx +0 -212
- package/src/lib/components/ProgressBar/__preview__/ProgressBar.preview.tsx +0 -63
- package/src/lib/components/ProgressCircle/__preview__/ProgressCircle.preview.tsx +0 -107
- package/src/lib/components/Rating/__preview__/Rating.preview.tsx +0 -133
- package/src/lib/components/Section/__preview__/Section.preview.tsx +0 -35
- package/src/lib/components/Select/__preview__/Select.preview.tsx +0 -168
- package/src/lib/components/Skeleton/__preview__/Skeleton.preview.tsx +0 -240
- package/src/lib/components/Slideshow/__preview__/Slideshow.preview.tsx +0 -133
- package/src/lib/components/Sticky/__preview__/Sticky.preview.tsx +0 -188
- package/src/lib/components/Table/__preview__/Table.preview.tsx +0 -173
- package/src/lib/components/Tabs/__preview__/Tabs.preview.tsx +0 -155
- package/src/lib/components/Tag/__preview__/Tag.preview.tsx +0 -128
- package/src/lib/components/Text/__preview__/Text.preview.tsx +0 -97
- package/src/lib/components/Text/__preview__/previews/Description.tsx +0 -18
- package/src/lib/components/Text/__preview__/previews/Ordered.tsx +0 -13
- package/src/lib/components/Text/__preview__/previews/Paragraphs.tsx +0 -26
- package/src/lib/components/Text/__preview__/previews/Quote.tsx +0 -5
- package/src/lib/components/Text/__preview__/previews/Small.tsx +0 -5
- package/src/lib/components/Text/__preview__/previews/TextDisplay.tsx +0 -27
- package/src/lib/components/Text/__preview__/previews/TextTitles.tsx +0 -19
- package/src/lib/components/Text/__preview__/previews/Unordered.tsx +0 -13
- package/src/lib/components/Toast/__preview__/Toast.preview.tsx +0 -115
- package/src/lib/components/Tooltip/__preview__/Tooltip.preview.tsx +0 -117
- package/src/lib/components/Wrapper/__preview__/Wrapper.preview.tsx +0 -78
- package/src/main.tsx +0 -11
- package/src/pages/Component.tsx +0 -29
- package/src/pages/Homepage.tsx +0 -53
- package/src/pages/NotFound.tsx +0 -10
- package/src/pages/demos/AsideBothDemo.tsx +0 -22
- package/src/pages/demos/AsideDefaultDemo.tsx +0 -18
- package/src/pages/demos/AsideRightDemo.tsx +0 -18
- package/src/pages/demos/CoverBottomDemo.tsx +0 -24
- package/src/pages/demos/CoverBottomOverlayDemo.tsx +0 -25
- package/src/pages/demos/CoverCenterDemo.tsx +0 -24
- package/src/pages/demos/CoverCenterOverlayDemo.tsx +0 -25
- package/src/pages/demos/HeaderDemo.tsx +0 -76
- package/src/pages/demos/MainDefaultDemo.tsx +0 -14
- package/src/pages/demos/MainFormDemo.tsx +0 -14
- package/src/pages/demos/MainLargeDemo.tsx +0 -14
- package/src/pages/demos/PageLoadingDemo.tsx +0 -10
- package/src/routes/index.tsx +0 -59
- package/src/types/global.d.ts +0 -11
- package/src/vite-env.d.ts +0 -1
- package/tailwind.config.ts +0 -19
- package/tsconfig.app.json +0 -28
- package/tsconfig.json +0 -7
- package/tsconfig.node.json +0 -25
- package/vite.config.ts +0 -53
- /package/{src/lib → dist}/index.css +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/AccordionContent.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/AccordionItem.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/AccordionTitle.tsx +0 -0
- /package/{src → dist}/lib/components/Accordion/index.ts +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/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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/Avatar/Avatar.tsx +0 -0
- /package/{src → dist}/lib/components/Avatar/AvatarFn.tsx +0 -0
- /package/{src → dist}/lib/components/Avatar/index.ts +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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/Breadcrumbs.tsx +0 -0
- /package/{src → dist}/lib/components/Breadcrumbs/index.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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/ButtonGroup.tsx +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/index.ts +0 -0
- /package/{src → dist}/lib/components/ButtonGroup/types.ts +0 -0
- /package/{src → dist}/lib/components/ButtonIcon/ButtonFn.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/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/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/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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/Dropdown/Dropdown.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/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/types.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/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/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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/Header/Header.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/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Header/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/types.ts +0 -0
- /package/{src → dist}/lib/components/IconMenu/IconMenu.module.css +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/types.ts +0 -0
- /package/{src → dist}/lib/components/Image/Image.tsx +0 -0
- /package/{src → dist}/lib/components/Image/index.ts +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/classes.ts +0 -0
- /package/{src → dist}/lib/components/Input/index.ts +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/types.ts +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputButton.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputIcon.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputList.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputListItem.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputPrefix.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputSuffix.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputValidation.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputWithListWrapper.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/InputWrapper.tsx +0 -0
- /package/{src → dist}/lib/components/InputComponents/classes.ts +0 -0
- /package/{src → dist}/lib/components/InputComponents/index.ts +0 -0
- /package/{src → dist}/lib/components/InputComponents/types.ts +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/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/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/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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/InputSlider/InputSlider.tsx +0 -0
- /package/{src → dist}/lib/components/InputSlider/index.ts +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/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/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/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/Loader/utils/gen-border-bottom.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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MarkdownButtons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MarkdownEditor.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MarkdownEditorTitles.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/MarkdownViewButtons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/buttons/icons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/buttons/markdown-buttons.tsx +0 -0
- /package/{src → dist}/lib/components/MarkdownEditor/index.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/types.ts +0 -0
- /package/{src → dist}/lib/components/Masonry/utils.tsx +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/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/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/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/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/types.ts +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/ProgressCircle.tsx +0 -0
- /package/{src → dist}/lib/components/ProgressCircle/index.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/types.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/types.ts +0 -0
- /package/{src → dist}/lib/components/Select/Select.tsx +0 -0
- /package/{src → dist}/lib/components/Select/index.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/index.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/subtypes.ts +0 -0
- /package/{src → dist}/lib/components/Slideshow/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/types.ts +0 -0
- /package/{src → dist}/lib/components/Table/Table.tsx +0 -0
- /package/{src → dist}/lib/components/Table/index.ts +0 -0
- /package/{src → dist}/lib/components/Table/types.ts +0 -0
- /package/{src → dist}/lib/components/Tabs/Tabs.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/TabsButton.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/TabsContent.tsx +0 -0
- /package/{src → dist}/lib/components/Tabs/index.ts +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/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/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/Toast/Toast.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/ToastContainer.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/ToastFn.tsx +0 -0
- /package/{src → dist}/lib/components/Toast/index.ts +0 -0
- /package/{src → dist}/lib/components/Toast/types.ts +0 -0
- /package/{src → dist}/lib/components/Toast/utils.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/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/types.ts +0 -0
- /package/{src → dist}/lib/context/Theme.context.tsx +0 -0
- /package/{src → dist}/lib/context/index.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/index.ts +0 -0
- /package/{src → dist}/lib/lib-utils/get-highlighted-text.tsx +0 -0
- /package/{src → dist}/lib/lib-utils/index.ts +0 -0
- /package/{src → dist}/lib/lib-utils/transfom-search-keys.ts +0 -0
- /package/{src → dist}/lib/lib-utils/use-keyboard-navigation.tsx +0 -0
- /package/{src → dist}/lib/types/components-items-props.ts +0 -0
- /package/{src → dist}/lib/types/components-props.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/tailwind.ts +0 -0
- /package/{src → dist}/lib/utils/clsx.tsx +0 -0
- /package/{src → dist}/lib/utils/design-tokens.ts +0 -0
- /package/{src → dist}/lib/utils/gen-align.ts +0 -0
- /package/{src → dist}/lib/utils/gen-bg-color.ts +0 -0
- /package/{src → dist}/lib/utils/gen-border-color.ts +0 -0
- /package/{src → dist}/lib/utils/gen-border-radius.ts +0 -0
- /package/{src → dist}/lib/utils/gen-border.ts +0 -0
- /package/{src → dist}/lib/utils/gen-box-shadow.ts +0 -0
- /package/{src → dist}/lib/utils/gen-button-color.ts +0 -0
- /package/{src → dist}/lib/utils/gen-gap.ts +0 -0
- /package/{src → dist}/lib/utils/gen-justify.ts +0 -0
- /package/{src → dist}/lib/utils/gen-link-color.ts +0 -0
- /package/{src → dist}/lib/utils/gen-max-width.ts +0 -0
- /package/{src → dist}/lib/utils/gen-object-fit.ts +0 -0
- /package/{src → dist}/lib/utils/gen-text-align.ts +0 -0
- /package/{src → dist}/lib/utils/gen-text-color.ts +0 -0
- /package/{src → dist}/lib/utils/gen-vertical-align.ts +0 -0
- /package/{src → dist}/lib/utils/index.ts +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/tools.ts +0 -0
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { Cover, Text } from "../../../"
|
|
3
|
-
import type { ILibCover } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const coverPreview: ComponentPreview<ILibCover> = {
|
|
7
|
-
name: "Cover",
|
|
8
|
-
component: Cover,
|
|
9
|
-
category: "components",
|
|
10
|
-
import: "Cover",
|
|
11
|
-
additionalImports: [],
|
|
12
|
-
optionalImports: [],
|
|
13
|
-
propsImport: "ILibCover",
|
|
14
|
-
additionalTypeImports: [],
|
|
15
|
-
extends: ["HTMLDivElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{
|
|
18
|
-
demo: (
|
|
19
|
-
<>
|
|
20
|
-
<Text>
|
|
21
|
-
<Link
|
|
22
|
-
to="/cover/demo-center"
|
|
23
|
-
target="_blank"
|
|
24
|
-
rel="noreferrer noopener"
|
|
25
|
-
>
|
|
26
|
-
Demo center
|
|
27
|
-
</Link>
|
|
28
|
-
</Text>
|
|
29
|
-
<Text>
|
|
30
|
-
<Link
|
|
31
|
-
to="/cover/demo-center-overlay"
|
|
32
|
-
target="_blank"
|
|
33
|
-
rel="noreferrer noopener"
|
|
34
|
-
>
|
|
35
|
-
Demo center overlay
|
|
36
|
-
</Link>
|
|
37
|
-
</Text>
|
|
38
|
-
<Text>
|
|
39
|
-
<Link
|
|
40
|
-
to="/cover/demo-bottom"
|
|
41
|
-
target="_blank"
|
|
42
|
-
rel="noreferrer noopener"
|
|
43
|
-
>
|
|
44
|
-
Demo bottom
|
|
45
|
-
</Link>
|
|
46
|
-
</Text>
|
|
47
|
-
<Text>
|
|
48
|
-
<Link
|
|
49
|
-
to="/cover/demo-bottom-overlay"
|
|
50
|
-
target="_blank"
|
|
51
|
-
rel="noreferrer noopener"
|
|
52
|
-
>
|
|
53
|
-
Demo bottom overlay
|
|
54
|
-
</Link>
|
|
55
|
-
</Text>
|
|
56
|
-
</>
|
|
57
|
-
),
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
props: [
|
|
61
|
-
{
|
|
62
|
-
name: "img",
|
|
63
|
-
type: "string",
|
|
64
|
-
possibleValues: [],
|
|
65
|
-
defaultValue: null,
|
|
66
|
-
description: "URL of the background image to display.",
|
|
67
|
-
isRequired: true,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: "alt",
|
|
71
|
-
type: "string",
|
|
72
|
-
possibleValues: [],
|
|
73
|
-
defaultValue: null,
|
|
74
|
-
description: "Alt text for the background image.",
|
|
75
|
-
isRequired: false,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "overlay",
|
|
79
|
-
type: "string",
|
|
80
|
-
possibleValues: [
|
|
81
|
-
"black-50",
|
|
82
|
-
"black-100",
|
|
83
|
-
"white-50",
|
|
84
|
-
"white-100",
|
|
85
|
-
"gradient-black",
|
|
86
|
-
"gradient-white",
|
|
87
|
-
],
|
|
88
|
-
defaultValue: null,
|
|
89
|
-
description: "Overlay variant to apply over the background image.",
|
|
90
|
-
isRequired: false,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: "alignItems",
|
|
94
|
-
type: "string",
|
|
95
|
-
possibleValues: ["start", "center", "end", "stretch", "baseline"],
|
|
96
|
-
defaultValue: "center",
|
|
97
|
-
description: "How flex items are aligned along the cross axis.",
|
|
98
|
-
isRequired: false,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: "justifyContent",
|
|
102
|
-
type: "string",
|
|
103
|
-
possibleValues: [
|
|
104
|
-
"start",
|
|
105
|
-
"center",
|
|
106
|
-
"end",
|
|
107
|
-
"between",
|
|
108
|
-
"around",
|
|
109
|
-
"evenly",
|
|
110
|
-
],
|
|
111
|
-
defaultValue: "center",
|
|
112
|
-
description: "How flex items are aligned along the main axis.",
|
|
113
|
-
isRequired: false,
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: "flexDirection",
|
|
117
|
-
type: "string",
|
|
118
|
-
possibleValues: ["row", "row-reverse", "column", "column-reverse"],
|
|
119
|
-
defaultValue: "column",
|
|
120
|
-
description: "Direction of the flex container's main axis.",
|
|
121
|
-
isRequired: false,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
name: "flexWrap",
|
|
125
|
-
type: "string",
|
|
126
|
-
possibleValues: ["nowrap", "wrap", "wrap-reverse"],
|
|
127
|
-
defaultValue: "nowrap",
|
|
128
|
-
description: "Whether flex items should wrap to new lines.",
|
|
129
|
-
isRequired: false,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: "gap",
|
|
133
|
-
type: "string",
|
|
134
|
-
possibleValues: [
|
|
135
|
-
"0",
|
|
136
|
-
"1",
|
|
137
|
-
"2",
|
|
138
|
-
"3",
|
|
139
|
-
"4",
|
|
140
|
-
"5",
|
|
141
|
-
"6",
|
|
142
|
-
"8",
|
|
143
|
-
"10",
|
|
144
|
-
"12",
|
|
145
|
-
"16",
|
|
146
|
-
"20",
|
|
147
|
-
"24",
|
|
148
|
-
],
|
|
149
|
-
defaultValue: null,
|
|
150
|
-
description: "Gap between flex items.",
|
|
151
|
-
isRequired: false,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { useState } from "react"
|
|
2
|
-
import { DragList, Badge, Text, Flexbox, convertDateShort } from "../../.."
|
|
3
|
-
import type { LibDragListItem } from "../../../types"
|
|
4
|
-
import type { ILibDragList } from "../../../types/components-props"
|
|
5
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
6
|
-
|
|
7
|
-
const DragListDemo = (
|
|
8
|
-
props: Omit<ILibDragList, "items" | "setItems" | "children">,
|
|
9
|
-
) => {
|
|
10
|
-
const [items, setItems] = useState<Array<LibDragListItem>>([
|
|
11
|
-
{ id: "0", title: "First", body: "Body" },
|
|
12
|
-
{
|
|
13
|
-
id: "1",
|
|
14
|
-
title: (
|
|
15
|
-
<Flexbox
|
|
16
|
-
alignItems="center"
|
|
17
|
-
justifyContent="space-between"
|
|
18
|
-
gap="xs"
|
|
19
|
-
className="w-full"
|
|
20
|
-
>
|
|
21
|
-
<Text tag="h6">Second</Text>
|
|
22
|
-
<Badge color="success" className="min-w-2 size-2" />
|
|
23
|
-
</Flexbox>
|
|
24
|
-
),
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
id: "2",
|
|
28
|
-
title: (
|
|
29
|
-
<Flexbox
|
|
30
|
-
alignItems="center"
|
|
31
|
-
justifyContent="space-between"
|
|
32
|
-
gap="xs"
|
|
33
|
-
className="w-full"
|
|
34
|
-
>
|
|
35
|
-
<Text tag="strong">Third</Text>
|
|
36
|
-
<Text color="gray" tag="small">
|
|
37
|
-
{convertDateShort(new Date())}
|
|
38
|
-
</Text>
|
|
39
|
-
</Flexbox>
|
|
40
|
-
),
|
|
41
|
-
body: "Item",
|
|
42
|
-
},
|
|
43
|
-
])
|
|
44
|
-
|
|
45
|
-
return <DragList items={items} setItems={setItems} {...props} />
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export const draglistPreview: ComponentPreview<ILibDragList> = {
|
|
49
|
-
name: "Drag List",
|
|
50
|
-
component: DragList,
|
|
51
|
-
category: "components",
|
|
52
|
-
import: "DragList",
|
|
53
|
-
additionalImports: [],
|
|
54
|
-
optionalImports: ["DragListItem"],
|
|
55
|
-
propsImport: "ILibDraglist",
|
|
56
|
-
additionalTypeImports: ["LibDragListItem"],
|
|
57
|
-
extends: ["HTMLDivElement"],
|
|
58
|
-
previews: [{ previewTitle: "Default", demo: <DragListDemo /> }],
|
|
59
|
-
propsTitle: "DragList",
|
|
60
|
-
props: [
|
|
61
|
-
{
|
|
62
|
-
name: "iconDrag",
|
|
63
|
-
type: "ReactElement",
|
|
64
|
-
possibleValues: [],
|
|
65
|
-
defaultValue: "BiDotsVerticalRounded",
|
|
66
|
-
description: "Icon to display as the drag handle for each item.",
|
|
67
|
-
isRequired: false,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: "borderRadius",
|
|
71
|
-
type: "string",
|
|
72
|
-
possibleValues: ["xs", "sm", "md", "lg", "xl", "full"],
|
|
73
|
-
defaultValue: null,
|
|
74
|
-
description: "Border radius size for the drag list container.",
|
|
75
|
-
isRequired: false,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "items",
|
|
79
|
-
type: "Array of objects",
|
|
80
|
-
possibleValues: [],
|
|
81
|
-
defaultValue: null,
|
|
82
|
-
description:
|
|
83
|
-
"Array of draggable items with id, title, and body properties.",
|
|
84
|
-
isRequired: false,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "setItems",
|
|
88
|
-
type: "function",
|
|
89
|
-
possibleValues: [],
|
|
90
|
-
defaultValue: null,
|
|
91
|
-
description:
|
|
92
|
-
"Function to update the items array when items are reordered.",
|
|
93
|
-
isRequired: false,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: "hideSeparator",
|
|
97
|
-
type: "boolean",
|
|
98
|
-
possibleValues: [],
|
|
99
|
-
defaultValue: null,
|
|
100
|
-
description: "Whether to hide separators between draggable items.",
|
|
101
|
-
isRequired: false,
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
propsSecondTitle: "DragListItem",
|
|
105
|
-
propsSecond: [
|
|
106
|
-
{
|
|
107
|
-
name: "item",
|
|
108
|
-
type: "Object",
|
|
109
|
-
possibleValues: [],
|
|
110
|
-
defaultValue: null,
|
|
111
|
-
description:
|
|
112
|
-
"Item object containing id, title, and body properties. Only when children is not defined.",
|
|
113
|
-
isRequired: true,
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
name: "index",
|
|
117
|
-
type: "number",
|
|
118
|
-
possibleValues: [],
|
|
119
|
-
defaultValue: null,
|
|
120
|
-
description: "Index position of the item in the drag list.",
|
|
121
|
-
isRequired: true,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
name: "handleDragStart",
|
|
125
|
-
type: "function",
|
|
126
|
-
possibleValues: [],
|
|
127
|
-
defaultValue: null,
|
|
128
|
-
description: "Function called when drag operation starts.",
|
|
129
|
-
isRequired: true,
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
name: "handleDragOver",
|
|
133
|
-
type: "function",
|
|
134
|
-
possibleValues: [],
|
|
135
|
-
defaultValue: null,
|
|
136
|
-
description: "Function called when dragging over this item.",
|
|
137
|
-
isRequired: true,
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: "iconDrag",
|
|
141
|
-
type: "ReactElement",
|
|
142
|
-
possibleValues: [],
|
|
143
|
-
defaultValue: "BiDotsVerticalRounded",
|
|
144
|
-
description: "Icon to display as the drag handle.",
|
|
145
|
-
isRequired: false,
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
name: "iconLabel",
|
|
149
|
-
type: "string",
|
|
150
|
-
possibleValues: [],
|
|
151
|
-
defaultValue: "Drag",
|
|
152
|
-
description: "Aria label for the drag handle button.",
|
|
153
|
-
isRequired: false,
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { useState } from "react"
|
|
2
|
-
import { Link } from "react-router-dom"
|
|
3
|
-
import { Drawer, Button, Text } from "../../../"
|
|
4
|
-
import type {} from "../../../types"
|
|
5
|
-
import type { ILibDrawer } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
const links: Array<{ id: number; to: string; text: string }> = [
|
|
9
|
-
{ id: 0, text: "Link", to: "#" },
|
|
10
|
-
{ id: 1, text: "Link", to: "#" },
|
|
11
|
-
{ id: 2, text: "Link", to: "#" },
|
|
12
|
-
{ id: 3, text: "Link", to: "#" },
|
|
13
|
-
{ id: 4, text: "Link", to: "#" },
|
|
14
|
-
]
|
|
15
|
-
|
|
16
|
-
const Preview: FC<Omit<ILibDrawer, "isOpen" | "setIsOpen">> = props => {
|
|
17
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
18
|
-
|
|
19
|
-
return (
|
|
20
|
-
<>
|
|
21
|
-
<Button onClick={() => setIsOpen(true)}>
|
|
22
|
-
Open {props?.position}
|
|
23
|
-
</Button>
|
|
24
|
-
|
|
25
|
-
<Drawer isOpen={isOpen} setIsOpen={setIsOpen} {...props}>
|
|
26
|
-
{links.map(link => (
|
|
27
|
-
<Link key={link.id} to={link.to}>
|
|
28
|
-
{link.text}
|
|
29
|
-
</Link>
|
|
30
|
-
))}
|
|
31
|
-
<Text>Text</Text>
|
|
32
|
-
<button>Button</button>
|
|
33
|
-
</Drawer>
|
|
34
|
-
</>
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export const drawerPreview: ComponentPreview<ILibDrawer> = {
|
|
39
|
-
name: "Drawer",
|
|
40
|
-
component: Drawer,
|
|
41
|
-
category: "components",
|
|
42
|
-
import: "Drawer", // import Component (ex: Skeleton)
|
|
43
|
-
additionalImports: [], // import OtherComponent (ex: SkeletonCard)
|
|
44
|
-
optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
|
|
45
|
-
propsImport: "ILibDrawer", // import ILibComponent (ex: ILibAccordion)
|
|
46
|
-
additionalTypeImports: [], // import LibComponentItem (ex: LibAccordionItem)
|
|
47
|
-
extends: ["HTMLDivElement"],
|
|
48
|
-
previews: [
|
|
49
|
-
{ previewTitle: "Left", demo: <Preview position="left" /> },
|
|
50
|
-
{ previewTitle: "Right", demo: <Preview position="right" /> },
|
|
51
|
-
],
|
|
52
|
-
props: [
|
|
53
|
-
{
|
|
54
|
-
name: "isOpen",
|
|
55
|
-
type: "boolean",
|
|
56
|
-
possibleValues: [],
|
|
57
|
-
defaultValue: null,
|
|
58
|
-
description: "Whether the drawer is currently open.",
|
|
59
|
-
isRequired: true,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: "setIsOpen",
|
|
63
|
-
type: "function",
|
|
64
|
-
possibleValues: [],
|
|
65
|
-
defaultValue: null,
|
|
66
|
-
description: "Function to control the drawer's open/closed state.",
|
|
67
|
-
isRequired: true,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: "position",
|
|
71
|
-
type: "string",
|
|
72
|
-
possibleValues: ["left", "right", "top", "bottom"],
|
|
73
|
-
defaultValue: "right",
|
|
74
|
-
description: "Position of the drawer relative to the viewport.",
|
|
75
|
-
isRequired: false,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "enableScrollingOpen",
|
|
79
|
-
type: "boolean",
|
|
80
|
-
possibleValues: [],
|
|
81
|
-
defaultValue: "false",
|
|
82
|
-
description: "Whether to allow page scrolling when drawer is open.",
|
|
83
|
-
isRequired: false,
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
name: "disableEsc",
|
|
87
|
-
type: "boolean",
|
|
88
|
-
possibleValues: [],
|
|
89
|
-
defaultValue: "false",
|
|
90
|
-
description:
|
|
91
|
-
"Whether to disable closing the drawer with the Escape key.",
|
|
92
|
-
isRequired: false,
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
name: "backgroundColor",
|
|
96
|
-
type: "string",
|
|
97
|
-
possibleValues: "Any color from the library",
|
|
98
|
-
defaultValue: "primary",
|
|
99
|
-
description: "Background color for the drawer content area.",
|
|
100
|
-
isRequired: false,
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: "contentColor",
|
|
104
|
-
type: "string",
|
|
105
|
-
possibleValues: "Any color from the library",
|
|
106
|
-
defaultValue: "white",
|
|
107
|
-
description: "Text color for the drawer content.",
|
|
108
|
-
isRequired: false,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: "linksColor",
|
|
112
|
-
type: "string",
|
|
113
|
-
possibleValues: [
|
|
114
|
-
"primary",
|
|
115
|
-
"secondary",
|
|
116
|
-
"success",
|
|
117
|
-
"danger",
|
|
118
|
-
"warning",
|
|
119
|
-
"gray",
|
|
120
|
-
"white",
|
|
121
|
-
],
|
|
122
|
-
defaultValue: "white",
|
|
123
|
-
description: "Color for links and buttons within the drawer.",
|
|
124
|
-
isRequired: false,
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: "gap",
|
|
128
|
-
type: "string",
|
|
129
|
-
possibleValues: ["0px", "2xs", "xs", "sm", "md", "lg", "xl", "2xl"],
|
|
130
|
-
defaultValue: "md",
|
|
131
|
-
description: "Gap between child elements in the drawer.",
|
|
132
|
-
isRequired: false,
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: "maxWidth",
|
|
136
|
-
type: "string | number",
|
|
137
|
-
possibleValues: [],
|
|
138
|
-
defaultValue: "400",
|
|
139
|
-
description: "Maximum width of the drawer in pixels.",
|
|
140
|
-
isRequired: false,
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
name: "overlayColor",
|
|
144
|
-
type: "string",
|
|
145
|
-
possibleValues: "Any color or overlay from the library",
|
|
146
|
-
defaultValue: "black-80",
|
|
147
|
-
description: "Background color for the overlay behind the drawer.",
|
|
148
|
-
isRequired: false,
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
name: "hideCloseButton",
|
|
152
|
-
type: "boolean",
|
|
153
|
-
possibleValues: [],
|
|
154
|
-
defaultValue: "false",
|
|
155
|
-
description: "Whether to hide the close button in the drawer.",
|
|
156
|
-
isRequired: false,
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Dropdown } from "../../../"
|
|
2
|
-
import { Preview } from "./Preview"
|
|
3
|
-
import type { ILibDropdown } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const dropdownPreview: ComponentPreview<ILibDropdown> = {
|
|
7
|
-
name: "Dropdown",
|
|
8
|
-
component: Dropdown,
|
|
9
|
-
category: "components",
|
|
10
|
-
import: "Dropdown",
|
|
11
|
-
additionalImports: [],
|
|
12
|
-
optionalImports: ["DropdownItem"],
|
|
13
|
-
propsImport: "ILibDropdown",
|
|
14
|
-
additionalTypeImports: ["LibDropdownItem"],
|
|
15
|
-
extends: ["HTMLDivElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{ previewTitle: "Default", demo: <Preview /> },
|
|
18
|
-
{ previewTitle: "Up", demo: <Preview direction="up" /> },
|
|
19
|
-
],
|
|
20
|
-
propsTitle: "Dropdown",
|
|
21
|
-
props: [
|
|
22
|
-
{
|
|
23
|
-
name: "isOpen",
|
|
24
|
-
type: "boolean",
|
|
25
|
-
possibleValues: [],
|
|
26
|
-
defaultValue: null,
|
|
27
|
-
description: "Whether the dropdown is currently visible.",
|
|
28
|
-
isRequired: true,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: "setIsOpen",
|
|
32
|
-
type: "function",
|
|
33
|
-
possibleValues: [],
|
|
34
|
-
defaultValue: null,
|
|
35
|
-
description: "Function to control the dropdown open/closed state.",
|
|
36
|
-
isRequired: true,
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
name: "direction",
|
|
40
|
-
type: "string",
|
|
41
|
-
possibleValues: ["up", "down"],
|
|
42
|
-
defaultValue: "down",
|
|
43
|
-
description:
|
|
44
|
-
"Direction for the dropdown to appear relative to its trigger.",
|
|
45
|
-
isRequired: false,
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "shadow",
|
|
49
|
-
type: "string",
|
|
50
|
-
possibleValues: [
|
|
51
|
-
"xs",
|
|
52
|
-
"sm",
|
|
53
|
-
"md",
|
|
54
|
-
"lg",
|
|
55
|
-
"xl",
|
|
56
|
-
"2xl",
|
|
57
|
-
"inner",
|
|
58
|
-
"none",
|
|
59
|
-
],
|
|
60
|
-
defaultValue: null,
|
|
61
|
-
description: "Shadow variant to apply when dropdown is open.",
|
|
62
|
-
isRequired: false,
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: "borderRadius",
|
|
66
|
-
type: "string",
|
|
67
|
-
possibleValues: ["xs", "sm", "md", "lg", "xl", "full"],
|
|
68
|
-
defaultValue: "md",
|
|
69
|
-
description: "Border radius size for the dropdown container.",
|
|
70
|
-
isRequired: false,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
name: "items",
|
|
74
|
-
type: "Array of objects",
|
|
75
|
-
possibleValues: [],
|
|
76
|
-
defaultValue: null,
|
|
77
|
-
description:
|
|
78
|
-
"Array of dropdown item objects with content and click handlers.",
|
|
79
|
-
isRequired: false,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
propsSecondTitle: "DropdownItem",
|
|
83
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { useState, type FC } from "react"
|
|
2
|
-
import { Link } from "react-router-dom"
|
|
3
|
-
import { BiEnvelope } from "react-icons/bi"
|
|
4
|
-
import { clsx } from "../../../utils"
|
|
5
|
-
import { Dropdown } from "../Dropdown"
|
|
6
|
-
import { Button } from "../../Button"
|
|
7
|
-
import type { ILibDropdown } from "../types"
|
|
8
|
-
import type { LibDropdownItem } from "../../../types"
|
|
9
|
-
|
|
10
|
-
const items: Array<LibDropdownItem> = [
|
|
11
|
-
{
|
|
12
|
-
content: "Link",
|
|
13
|
-
element: Link,
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
to: "/",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
content: "Button",
|
|
19
|
-
onClick: () => alert("Clicked"),
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
content: (
|
|
23
|
-
<>
|
|
24
|
-
<BiEnvelope />
|
|
25
|
-
Button with icon
|
|
26
|
-
</>
|
|
27
|
-
),
|
|
28
|
-
onClick: () => alert("Clicked icon"),
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
content: "Disabled",
|
|
32
|
-
disabled: true,
|
|
33
|
-
onClick: () => alert("This shouldn't work"),
|
|
34
|
-
},
|
|
35
|
-
]
|
|
36
|
-
|
|
37
|
-
export const Preview: FC<Partial<ILibDropdown>> = props => {
|
|
38
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
39
|
-
|
|
40
|
-
return (
|
|
41
|
-
<div className={clsx("relative", isOpen && "z-10")}>
|
|
42
|
-
<Button onClick={() => setIsOpen(!isOpen)}>Open dropdown</Button>
|
|
43
|
-
<Dropdown
|
|
44
|
-
{...(props as any)}
|
|
45
|
-
isOpen={isOpen}
|
|
46
|
-
setIsOpen={setIsOpen}
|
|
47
|
-
items={items}
|
|
48
|
-
shadow="xl"
|
|
49
|
-
/>
|
|
50
|
-
</div>
|
|
51
|
-
)
|
|
52
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Fade, generateNumbers, Text } from "../../../"
|
|
2
|
-
import type {} from "../../../types"
|
|
3
|
-
import type { ILibFade } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
const text =
|
|
7
|
-
"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."
|
|
8
|
-
|
|
9
|
-
export const fadePreview: ComponentPreview<ILibFade> = {
|
|
10
|
-
name: "Fade",
|
|
11
|
-
component: Fade,
|
|
12
|
-
category: "components",
|
|
13
|
-
import: "Fade", // import Component (ex: Skeleton)
|
|
14
|
-
additionalImports: [], // import OtherComponent (ex: SkeletonCard)
|
|
15
|
-
optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
|
|
16
|
-
propsImport: "ILibFade", // import ILibComponent (ex: ILibAccordion)
|
|
17
|
-
additionalTypeImports: [], // import LibComponentItem (ex: LibAccordionItem)
|
|
18
|
-
extends: ["HTMLDivElement"],
|
|
19
|
-
previews: [
|
|
20
|
-
{
|
|
21
|
-
demo: (
|
|
22
|
-
<>
|
|
23
|
-
{generateNumbers(0, 10).map(i => (
|
|
24
|
-
<Fade key={i}>
|
|
25
|
-
<Text>{text}</Text>
|
|
26
|
-
</Fade>
|
|
27
|
-
))}
|
|
28
|
-
</>
|
|
29
|
-
),
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
props: [],
|
|
33
|
-
}
|