@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 { useState, type FC, type FormEvent } from "react"
|
|
2
|
-
import { InputPin } from "../../../"
|
|
3
|
-
import type { LibValueInputPin } from "../../../types"
|
|
4
|
-
import type { ILibInputPin } from "../../../types/components-props"
|
|
5
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
6
|
-
|
|
7
|
-
const initialState = { 0: "", 1: "", 2: "", 3: "" }
|
|
8
|
-
|
|
9
|
-
const Preview: FC<Partial<ILibInputPin>> = props => {
|
|
10
|
-
const [values, setValues] = useState<LibValueInputPin>(initialState as any)
|
|
11
|
-
const [validation, setValidation] = useState<undefined | boolean>(undefined)
|
|
12
|
-
|
|
13
|
-
const handleSubmit = (e: FormEvent<HTMLFormElement>) => {
|
|
14
|
-
e.preventDefault()
|
|
15
|
-
|
|
16
|
-
if (Object.values(values).filter(v => v === "").length) {
|
|
17
|
-
setValidation(false)
|
|
18
|
-
return
|
|
19
|
-
} else {
|
|
20
|
-
setValidation(undefined)
|
|
21
|
-
alert(`Pin: ${Object.values(values).join("")}`)
|
|
22
|
-
setValues(initialState as any)
|
|
23
|
-
return
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<form onSubmit={handleSubmit}>
|
|
29
|
-
<InputPin
|
|
30
|
-
{...props}
|
|
31
|
-
values={values}
|
|
32
|
-
setValues={setValues}
|
|
33
|
-
validation={
|
|
34
|
-
validation !== undefined
|
|
35
|
-
? {
|
|
36
|
-
status: validation,
|
|
37
|
-
message: "All inputs are required.",
|
|
38
|
-
}
|
|
39
|
-
: undefined
|
|
40
|
-
}
|
|
41
|
-
/>
|
|
42
|
-
<button type="submit">Submit</button>
|
|
43
|
-
</form>
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export const inputPinPreview: ComponentPreview<ILibInputPin> = {
|
|
48
|
-
name: "Input Pin",
|
|
49
|
-
component: InputPin,
|
|
50
|
-
category: "components",
|
|
51
|
-
import: "InputPin",
|
|
52
|
-
additionalImports: [],
|
|
53
|
-
optionalImports: [],
|
|
54
|
-
propsImport: "ILibInputPin",
|
|
55
|
-
additionalTypeImports: ["LibValueInputPin"],
|
|
56
|
-
extends: ["HTMLDivElement"],
|
|
57
|
-
previews: [
|
|
58
|
-
{ previewTitle: "Default", demo: <Preview label="Pin" /> },
|
|
59
|
-
{ previewTitle: "Hidden", demo: <Preview hideValues /> },
|
|
60
|
-
{ previewTitle: "Disabled", demo: <Preview disabled /> },
|
|
61
|
-
{
|
|
62
|
-
previewTitle: "Background light",
|
|
63
|
-
demo: <Preview inputBackground="light" />,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
previewTitle: "Background dark",
|
|
67
|
-
demo: <Preview inputBackground="dark" />,
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
props: [
|
|
71
|
-
{
|
|
72
|
-
name: "values",
|
|
73
|
-
type: "Object",
|
|
74
|
-
possibleValues: [],
|
|
75
|
-
defaultValue: null,
|
|
76
|
-
description:
|
|
77
|
-
"Object containing the current values for each pin input field.",
|
|
78
|
-
isRequired: true,
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: "setValues",
|
|
82
|
-
type: "function",
|
|
83
|
-
possibleValues: [],
|
|
84
|
-
defaultValue: null,
|
|
85
|
-
description: "Function to update the pin input values.",
|
|
86
|
-
isRequired: true,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: "label",
|
|
90
|
-
type: "string",
|
|
91
|
-
possibleValues: [],
|
|
92
|
-
defaultValue: null,
|
|
93
|
-
description: "Label text to display above the pin inputs.",
|
|
94
|
-
isRequired: false,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: "labelComment",
|
|
98
|
-
type: "string",
|
|
99
|
-
possibleValues: [],
|
|
100
|
-
defaultValue: null,
|
|
101
|
-
description: "Additional comment text next to the label.",
|
|
102
|
-
isRequired: false,
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: "helper",
|
|
106
|
-
type: "string",
|
|
107
|
-
possibleValues: [],
|
|
108
|
-
defaultValue: null,
|
|
109
|
-
description: "Helper text to display below the label.",
|
|
110
|
-
isRequired: false,
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
name: "helperBottom",
|
|
114
|
-
type: "string",
|
|
115
|
-
possibleValues: [],
|
|
116
|
-
defaultValue: null,
|
|
117
|
-
description:
|
|
118
|
-
"Helper text to display at the bottom of the pin inputs.",
|
|
119
|
-
isRequired: false,
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
name: "validation",
|
|
123
|
-
type: "Object",
|
|
124
|
-
possibleValues: [],
|
|
125
|
-
defaultValue: null,
|
|
126
|
-
description: "Validation state and configuration object.",
|
|
127
|
-
isRequired: false,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: "placeholders",
|
|
131
|
-
type: "Array<string>",
|
|
132
|
-
possibleValues: [],
|
|
133
|
-
defaultValue: null,
|
|
134
|
-
description: "Array of placeholder texts for each pin input field.",
|
|
135
|
-
isRequired: false,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: "hideValues",
|
|
139
|
-
type: "boolean",
|
|
140
|
-
possibleValues: [],
|
|
141
|
-
defaultValue: null,
|
|
142
|
-
description: "Whether to hide the input values (password mode).",
|
|
143
|
-
isRequired: false,
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: "inputBackground",
|
|
147
|
-
type: "string",
|
|
148
|
-
possibleValues: ["light", "dark"],
|
|
149
|
-
defaultValue: "light",
|
|
150
|
-
description: "Background theme of the input fields.",
|
|
151
|
-
isRequired: false,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { InputSlider } from "../../../"
|
|
2
|
-
import { Preview } from "./Preview"
|
|
3
|
-
import type { ILibInputSlider } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const inputSliderPreview: ComponentPreview<ILibInputSlider> = {
|
|
7
|
-
name: "Input Slider",
|
|
8
|
-
component: InputSlider,
|
|
9
|
-
category: "components",
|
|
10
|
-
import: "InputSlider",
|
|
11
|
-
additionalImports: [],
|
|
12
|
-
optionalImports: [],
|
|
13
|
-
propsImport: "ILibInputSlider",
|
|
14
|
-
additionalTypeImports: [],
|
|
15
|
-
extends: ["HTMLInputElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{ previewTitle: "Default", demo: <Preview /> },
|
|
18
|
-
{
|
|
19
|
-
previewTitle: "With min max & value",
|
|
20
|
-
demo: <Preview showMinMax showValue="always" />,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
previewTitle: "Show value hover",
|
|
24
|
-
demo: <Preview showValue="hover" />,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
previewTitle: "With validation",
|
|
28
|
-
demo: (
|
|
29
|
-
<Preview
|
|
30
|
-
showValue="always"
|
|
31
|
-
validation={{ status: false, message: "Message" }}
|
|
32
|
-
/>
|
|
33
|
-
),
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
previewTitle: "With validation",
|
|
37
|
-
demo: (
|
|
38
|
-
<Preview
|
|
39
|
-
showValue="always"
|
|
40
|
-
validation={{ status: true, message: "Message" }}
|
|
41
|
-
/>
|
|
42
|
-
),
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
props: [
|
|
46
|
-
{
|
|
47
|
-
name: "label",
|
|
48
|
-
type: "string",
|
|
49
|
-
possibleValues: [],
|
|
50
|
-
defaultValue: null,
|
|
51
|
-
description: "Label text to display above the slider.",
|
|
52
|
-
isRequired: false,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: "labelComment",
|
|
56
|
-
type: "string",
|
|
57
|
-
possibleValues: [],
|
|
58
|
-
defaultValue: null,
|
|
59
|
-
description: "Additional comment text next to the label.",
|
|
60
|
-
isRequired: false,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "helper",
|
|
64
|
-
type: "string",
|
|
65
|
-
possibleValues: [],
|
|
66
|
-
defaultValue: null,
|
|
67
|
-
description: "Helper text to display below the label.",
|
|
68
|
-
isRequired: false,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "helperBottom",
|
|
72
|
-
type: "string",
|
|
73
|
-
possibleValues: [],
|
|
74
|
-
defaultValue: null,
|
|
75
|
-
description: "Helper text to display at the bottom of the slider.",
|
|
76
|
-
isRequired: false,
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "validation",
|
|
80
|
-
type: "Object",
|
|
81
|
-
possibleValues: [],
|
|
82
|
-
defaultValue: null,
|
|
83
|
-
description: "Validation state and configuration object.",
|
|
84
|
-
isRequired: false,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "showMinMax",
|
|
88
|
-
type: "boolean",
|
|
89
|
-
possibleValues: [],
|
|
90
|
-
defaultValue: null,
|
|
91
|
-
description:
|
|
92
|
-
"Whether to display min and max values on the sides of the slider.",
|
|
93
|
-
isRequired: false,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
name: "showValue",
|
|
97
|
-
type: "string",
|
|
98
|
-
possibleValues: ["never", "always", "hover"],
|
|
99
|
-
defaultValue: "never",
|
|
100
|
-
description: "When to show the current value tooltip.",
|
|
101
|
-
isRequired: false,
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: "min",
|
|
105
|
-
type: "number",
|
|
106
|
-
possibleValues: [],
|
|
107
|
-
defaultValue: "0",
|
|
108
|
-
description: "Minimum value for the slider range.",
|
|
109
|
-
isRequired: false,
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: "max",
|
|
113
|
-
type: "number",
|
|
114
|
-
possibleValues: [],
|
|
115
|
-
defaultValue: "100",
|
|
116
|
-
description: "Maximum value for the slider range.",
|
|
117
|
-
isRequired: false,
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: "value",
|
|
121
|
-
type: "number",
|
|
122
|
-
possibleValues: [],
|
|
123
|
-
defaultValue: null,
|
|
124
|
-
description: "Current value of the slider.",
|
|
125
|
-
isRequired: false,
|
|
126
|
-
},
|
|
127
|
-
],
|
|
128
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useState, type FC, type ChangeEvent } from "react"
|
|
2
|
-
import { InputSlider } from "../InputSlider"
|
|
3
|
-
import type { ILibInputSlider } from "../types"
|
|
4
|
-
|
|
5
|
-
export const Preview: FC<ILibInputSlider> = props => {
|
|
6
|
-
const [value, setValue] = useState(50)
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
<InputSlider
|
|
10
|
-
{...props}
|
|
11
|
-
value={value}
|
|
12
|
-
onChange={(e: ChangeEvent<HTMLInputElement>) =>
|
|
13
|
-
setValue(Number(e.target.value))
|
|
14
|
-
}
|
|
15
|
-
/>
|
|
16
|
-
)
|
|
17
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { designTokens, Key, capitalize } from "../../../"
|
|
2
|
-
import type { LibKeySize } from "../../../types"
|
|
3
|
-
import type { ILibKey } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
const children = "⌘K"
|
|
7
|
-
const sizes: Array<LibKeySize> = Object.keys(
|
|
8
|
-
designTokens.libKeySizes,
|
|
9
|
-
) as Array<LibKeySize>
|
|
10
|
-
|
|
11
|
-
export const keyPreview: ComponentPreview<ILibKey> = {
|
|
12
|
-
name: "Key",
|
|
13
|
-
component: Key,
|
|
14
|
-
category: "components",
|
|
15
|
-
import: "Key",
|
|
16
|
-
additionalImports: null,
|
|
17
|
-
optionalImports: null,
|
|
18
|
-
propsImport: "ILibKey",
|
|
19
|
-
additionalTypeImports: null,
|
|
20
|
-
extends: ["HTMLSpanElement"],
|
|
21
|
-
previews: [
|
|
22
|
-
...sizes.map(size => ({
|
|
23
|
-
previewTitle: capitalize(size),
|
|
24
|
-
props: {
|
|
25
|
-
children,
|
|
26
|
-
size,
|
|
27
|
-
},
|
|
28
|
-
})),
|
|
29
|
-
...sizes.map(size => ({
|
|
30
|
-
previewTitle: `${capitalize(size)} with separator`,
|
|
31
|
-
props: {
|
|
32
|
-
children,
|
|
33
|
-
size,
|
|
34
|
-
withSeparator: true,
|
|
35
|
-
},
|
|
36
|
-
})),
|
|
37
|
-
],
|
|
38
|
-
props: [
|
|
39
|
-
{
|
|
40
|
-
name: "keys",
|
|
41
|
-
type: "Array<string>",
|
|
42
|
-
possibleValues: null,
|
|
43
|
-
defaultValue: null,
|
|
44
|
-
description: "The list of keys to display.",
|
|
45
|
-
isRequired: true,
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "withSeparator",
|
|
49
|
-
type: "boolean",
|
|
50
|
-
possibleValues: null,
|
|
51
|
-
defaultValue: null,
|
|
52
|
-
description: "If true, displays a separator between keys.",
|
|
53
|
-
isRequired: false,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "size",
|
|
57
|
-
type: "string",
|
|
58
|
-
possibleValues: ["default", "large", "form"],
|
|
59
|
-
defaultValue: null,
|
|
60
|
-
description: "The size of the key component.",
|
|
61
|
-
isRequired: false,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
name: "accentColor",
|
|
65
|
-
type: "string",
|
|
66
|
-
possibleValues: [
|
|
67
|
-
"primary",
|
|
68
|
-
"secondary",
|
|
69
|
-
"success",
|
|
70
|
-
"danger",
|
|
71
|
-
"warning",
|
|
72
|
-
"gray",
|
|
73
|
-
],
|
|
74
|
-
defaultValue: null,
|
|
75
|
-
description:
|
|
76
|
-
"Accent color for the key, excluding black, white, transparent, background, and current.",
|
|
77
|
-
isRequired: false,
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Linkify } from "../../../"
|
|
2
|
-
import type { ILibLinkify } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
export const linkifyPreview: ComponentPreview<ILibLinkify> = {
|
|
6
|
-
name: "Linkify",
|
|
7
|
-
component: Linkify,
|
|
8
|
-
category: "components",
|
|
9
|
-
import: "Linkify",
|
|
10
|
-
additionalImports: null,
|
|
11
|
-
optionalImports: null,
|
|
12
|
-
propsImport: "ILibLinkify",
|
|
13
|
-
additionalTypeImports: null,
|
|
14
|
-
extends: ["HTMLHeadingElement"],
|
|
15
|
-
previews: [
|
|
16
|
-
{
|
|
17
|
-
props: {
|
|
18
|
-
children: "Hello world https://julien-sebag.com/ foo baz",
|
|
19
|
-
blank: true,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
props: [
|
|
24
|
-
{
|
|
25
|
-
name: "blank",
|
|
26
|
-
type: "boolean",
|
|
27
|
-
possibleValues: null,
|
|
28
|
-
defaultValue: null,
|
|
29
|
-
description: "If true, links open in a new tab.",
|
|
30
|
-
isRequired: false,
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
}
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { BiStar } from "react-icons/bi"
|
|
3
|
-
import { ListGroup, convertDateShort, Badge, Text } from "../../../"
|
|
4
|
-
import type { LibListGroupItem } from "../../../types"
|
|
5
|
-
import type { ILibListGroup } from "../../../types/components-props"
|
|
6
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
7
|
-
|
|
8
|
-
const items: Array<LibListGroupItem> = [
|
|
9
|
-
{
|
|
10
|
-
title: "Basic item",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
title: "With text",
|
|
14
|
-
body: "And body",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
title: "With badge and number",
|
|
18
|
-
contentRight: (
|
|
19
|
-
<Badge color="danger" className="px-2">
|
|
20
|
-
350
|
|
21
|
-
</Badge>
|
|
22
|
-
),
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
title: "With badge and icon",
|
|
26
|
-
contentRight: (
|
|
27
|
-
<Badge color="success">
|
|
28
|
-
<BiStar />
|
|
29
|
-
</Badge>
|
|
30
|
-
),
|
|
31
|
-
className: "bg-danger-500",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: "With color badge",
|
|
35
|
-
contentRight: <Badge color="warning" />,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
title: "Router link",
|
|
39
|
-
contentRight: (
|
|
40
|
-
<Text tag="small" color="gray">
|
|
41
|
-
{convertDateShort("2022-09-07")}
|
|
42
|
-
</Text>
|
|
43
|
-
),
|
|
44
|
-
body: "Body",
|
|
45
|
-
element: Link,
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
to: "/",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
title: "Anchor link",
|
|
51
|
-
contentRight: (
|
|
52
|
-
<Text tag="small" color="gray">
|
|
53
|
-
{convertDateShort("2022-09-07")}
|
|
54
|
-
</Text>
|
|
55
|
-
),
|
|
56
|
-
body: "Body",
|
|
57
|
-
element: "a",
|
|
58
|
-
// @ts-ignore
|
|
59
|
-
href: "#",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
title: "Button",
|
|
63
|
-
contentRight: (
|
|
64
|
-
<Text tag="small" color="gray">
|
|
65
|
-
{convertDateShort("2022-09-07")}
|
|
66
|
-
</Text>
|
|
67
|
-
),
|
|
68
|
-
body: "Body",
|
|
69
|
-
element: "button",
|
|
70
|
-
// @ts-ignore
|
|
71
|
-
onClick: () => alert("Clicked!"),
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
title: "Button disabled",
|
|
75
|
-
contentRight: (
|
|
76
|
-
<Text tag="small" color="gray">
|
|
77
|
-
{convertDateShort("2022-09-07")}
|
|
78
|
-
</Text>
|
|
79
|
-
),
|
|
80
|
-
element: "button",
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
onClick: () => alert("Clicked!"),
|
|
83
|
-
// @ts-ignore
|
|
84
|
-
disabled: true,
|
|
85
|
-
},
|
|
86
|
-
]
|
|
87
|
-
|
|
88
|
-
export const listGroupPreview: ComponentPreview<ILibListGroup> = {
|
|
89
|
-
name: "List Group",
|
|
90
|
-
component: ListGroup,
|
|
91
|
-
category: "components",
|
|
92
|
-
import: "ListGroup",
|
|
93
|
-
additionalImports: [],
|
|
94
|
-
optionalImports: ["ListGroupTitle", "ListGroupItem"],
|
|
95
|
-
propsImport: "ILibListGroup",
|
|
96
|
-
additionalTypeImports: ["LibListGroupItem"],
|
|
97
|
-
extends: ["HTMLDivElement"],
|
|
98
|
-
previews: [
|
|
99
|
-
{
|
|
100
|
-
previewTitle: "Default",
|
|
101
|
-
props: { items, title: "Hello World", showNumbers: true },
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
previewTitle: "With max height",
|
|
105
|
-
props: {
|
|
106
|
-
items,
|
|
107
|
-
title: {
|
|
108
|
-
text: "Title",
|
|
109
|
-
isFixed: true,
|
|
110
|
-
shadowOnScroll: "lg",
|
|
111
|
-
className: "bg-black",
|
|
112
|
-
},
|
|
113
|
-
className: "max-h-[300px]",
|
|
114
|
-
noSeparator: true,
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
propsTitle: "ListGroup",
|
|
119
|
-
props: [
|
|
120
|
-
{
|
|
121
|
-
name: "title",
|
|
122
|
-
type: "string | Object",
|
|
123
|
-
possibleValues: [],
|
|
124
|
-
defaultValue: null,
|
|
125
|
-
description:
|
|
126
|
-
"Title text or configuration object for the list group header.",
|
|
127
|
-
isRequired: false,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: "noSeparator",
|
|
131
|
-
type: "boolean",
|
|
132
|
-
possibleValues: [],
|
|
133
|
-
defaultValue: null,
|
|
134
|
-
description: "Whether to hide separators between list items.",
|
|
135
|
-
isRequired: false,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: "showNumbers",
|
|
139
|
-
type: "boolean",
|
|
140
|
-
possibleValues: [],
|
|
141
|
-
defaultValue: null,
|
|
142
|
-
description: "Whether to display numbers next to each list item.",
|
|
143
|
-
isRequired: false,
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
name: "items",
|
|
147
|
-
type: "Array of objects",
|
|
148
|
-
possibleValues: [],
|
|
149
|
-
defaultValue: null,
|
|
150
|
-
description: "Array of item objects to render as list items.",
|
|
151
|
-
isRequired: false,
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
propsSecondTitle: "ListGroupTitle",
|
|
155
|
-
propsSecond: [
|
|
156
|
-
{
|
|
157
|
-
name: "isFixed",
|
|
158
|
-
type: "boolean",
|
|
159
|
-
possibleValues: [],
|
|
160
|
-
defaultValue: null,
|
|
161
|
-
description:
|
|
162
|
-
"Whether the title should be sticky positioned at the top.",
|
|
163
|
-
isRequired: false,
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
name: "noSeparator",
|
|
167
|
-
type: "boolean",
|
|
168
|
-
possibleValues: [],
|
|
169
|
-
defaultValue: null,
|
|
170
|
-
description: "Whether to hide the bottom border separator.",
|
|
171
|
-
isRequired: false,
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: "shadow",
|
|
175
|
-
type: "string",
|
|
176
|
-
possibleValues: [
|
|
177
|
-
"xs",
|
|
178
|
-
"sm",
|
|
179
|
-
"md",
|
|
180
|
-
"lg",
|
|
181
|
-
"xl",
|
|
182
|
-
"2xl",
|
|
183
|
-
"inner",
|
|
184
|
-
"none",
|
|
185
|
-
],
|
|
186
|
-
defaultValue: null,
|
|
187
|
-
description: "Shadow variant to apply when scrolled.",
|
|
188
|
-
isRequired: false,
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
name: "listRef",
|
|
192
|
-
type: "Ref",
|
|
193
|
-
possibleValues: [],
|
|
194
|
-
defaultValue: null,
|
|
195
|
-
description:
|
|
196
|
-
"Ref to the scrollable list container for scroll detection.",
|
|
197
|
-
isRequired: false,
|
|
198
|
-
},
|
|
199
|
-
],
|
|
200
|
-
propsThirdTitle: "ListGroupItem",
|
|
201
|
-
propsThird: [
|
|
202
|
-
{
|
|
203
|
-
name: "title",
|
|
204
|
-
type: "ReactNode",
|
|
205
|
-
possibleValues: [],
|
|
206
|
-
defaultValue: null,
|
|
207
|
-
description: "Title text to display for the list item.",
|
|
208
|
-
isRequired: true,
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
name: "body",
|
|
212
|
-
type: "ReactNode",
|
|
213
|
-
possibleValues: [],
|
|
214
|
-
defaultValue: null,
|
|
215
|
-
description: "Body text or description to display below the title.",
|
|
216
|
-
isRequired: false,
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
name: "contentRight",
|
|
220
|
-
type: "ReactNode",
|
|
221
|
-
possibleValues: [],
|
|
222
|
-
defaultValue: null,
|
|
223
|
-
description:
|
|
224
|
-
"Content to display on the right side of the list item.",
|
|
225
|
-
isRequired: false,
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
name: "noSeparator",
|
|
229
|
-
type: "boolean",
|
|
230
|
-
possibleValues: [],
|
|
231
|
-
defaultValue: null,
|
|
232
|
-
description:
|
|
233
|
-
"Whether to hide the separator border between list items.",
|
|
234
|
-
isRequired: false,
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
name: "number",
|
|
238
|
-
type: "number",
|
|
239
|
-
possibleValues: [],
|
|
240
|
-
defaultValue: null,
|
|
241
|
-
description:
|
|
242
|
-
"Number to display before the title when using numbered lists.",
|
|
243
|
-
isRequired: false,
|
|
244
|
-
},
|
|
245
|
-
],
|
|
246
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Loader } from "../../../"
|
|
2
|
-
import type { ILibLoader } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
export const loaderPreview: ComponentPreview<ILibLoader> = {
|
|
6
|
-
name: "Loader",
|
|
7
|
-
component: Loader,
|
|
8
|
-
category: "components",
|
|
9
|
-
import: "Loader",
|
|
10
|
-
additionalImports: null,
|
|
11
|
-
optionalImports: null,
|
|
12
|
-
propsImport: "ILibLoader",
|
|
13
|
-
additionalTypeImports: null,
|
|
14
|
-
extends: ["HTMLSpanElement"],
|
|
15
|
-
previews: [
|
|
16
|
-
{ previewTitle: "Default", props: {} },
|
|
17
|
-
{ previewTitle: "Variant 2", props: { variant: 2 } },
|
|
18
|
-
{ previewTitle: "Variant 3", props: { variant: 3 } },
|
|
19
|
-
],
|
|
20
|
-
props: [
|
|
21
|
-
{
|
|
22
|
-
name: "variant",
|
|
23
|
-
type: "number",
|
|
24
|
-
possibleValues: ["1", "2", "3"],
|
|
25
|
-
defaultValue: "1",
|
|
26
|
-
description: "Loader variant style.",
|
|
27
|
-
isRequired: false,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: "color",
|
|
31
|
-
type: "string",
|
|
32
|
-
possibleValues: "Any color from the library",
|
|
33
|
-
defaultValue: "primary",
|
|
34
|
-
description: "Loader color.",
|
|
35
|
-
isRequired: false,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
}
|