@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,97 +0,0 @@
|
|
|
1
|
-
import { Text, designTokens } from "../../../"
|
|
2
|
-
import type { ILibText } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
import { TextDisplay } from "./previews/TextDisplay"
|
|
5
|
-
import { TextTitles } from "./previews/TextTitles"
|
|
6
|
-
import { Paragraphs } from "./previews/Paragraphs"
|
|
7
|
-
import { Small } from "./previews/Small"
|
|
8
|
-
import { BlockQuote } from "./previews/Quote"
|
|
9
|
-
import { Unordered } from "./previews/Unordered"
|
|
10
|
-
import { Ordered } from "./previews/Ordered"
|
|
11
|
-
import { Description } from "./previews/Description"
|
|
12
|
-
|
|
13
|
-
export const textPreview: ComponentPreview<ILibText> = {
|
|
14
|
-
name: "Text",
|
|
15
|
-
component: Text,
|
|
16
|
-
category: "styles",
|
|
17
|
-
import: "Text",
|
|
18
|
-
additionalImports: null,
|
|
19
|
-
optionalImports: null,
|
|
20
|
-
propsImport: "ILibText",
|
|
21
|
-
additionalTypeImports: null,
|
|
22
|
-
extends: ["HTMLDivElement"],
|
|
23
|
-
previews: [
|
|
24
|
-
{ previewTitle: "Display", demo: <TextDisplay /> },
|
|
25
|
-
{ previewTitle: "Titles", demo: <TextTitles /> },
|
|
26
|
-
{ previewTitle: "Paragraphs", demo: <Paragraphs /> },
|
|
27
|
-
{ previewTitle: "Small", demo: <Small /> },
|
|
28
|
-
{ previewTitle: "Blockquote", demo: <BlockQuote /> },
|
|
29
|
-
{ previewTitle: "Unordered list", demo: <Unordered /> },
|
|
30
|
-
{ previewTitle: "Ordered list", demo: <Ordered /> },
|
|
31
|
-
{ previewTitle: "Description list", demo: <Description /> },
|
|
32
|
-
],
|
|
33
|
-
props: [
|
|
34
|
-
{
|
|
35
|
-
name: "color",
|
|
36
|
-
type: "string",
|
|
37
|
-
possibleValues: "Any color from the library",
|
|
38
|
-
defaultValue: null,
|
|
39
|
-
description: "Text color.",
|
|
40
|
-
isRequired: false,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: "linkColor",
|
|
44
|
-
type: "string",
|
|
45
|
-
possibleValues: Object.keys(designTokens.libColorsHover),
|
|
46
|
-
defaultValue: null,
|
|
47
|
-
description: "Color for links inside the text.",
|
|
48
|
-
isRequired: false,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "textAlign",
|
|
52
|
-
type: "string",
|
|
53
|
-
possibleValues: [
|
|
54
|
-
"left",
|
|
55
|
-
"center",
|
|
56
|
-
"right",
|
|
57
|
-
"justify",
|
|
58
|
-
"start",
|
|
59
|
-
"end",
|
|
60
|
-
],
|
|
61
|
-
defaultValue: null,
|
|
62
|
-
description: "Text alignment.",
|
|
63
|
-
isRequired: false,
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: "tag",
|
|
67
|
-
type: "string",
|
|
68
|
-
possibleValues: [
|
|
69
|
-
"p",
|
|
70
|
-
"span",
|
|
71
|
-
"div",
|
|
72
|
-
"strong",
|
|
73
|
-
"em",
|
|
74
|
-
"b",
|
|
75
|
-
"i",
|
|
76
|
-
"u",
|
|
77
|
-
"small",
|
|
78
|
-
"mark",
|
|
79
|
-
"del",
|
|
80
|
-
"ins",
|
|
81
|
-
"sub",
|
|
82
|
-
"sup",
|
|
83
|
-
],
|
|
84
|
-
defaultValue: "p",
|
|
85
|
-
description: "HTML tag to use for the text.",
|
|
86
|
-
isRequired: false,
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: "display",
|
|
90
|
-
type: "boolean",
|
|
91
|
-
possibleValues: null,
|
|
92
|
-
defaultValue: null,
|
|
93
|
-
description: "Only if the tag is h1 to h5.",
|
|
94
|
-
isRequired: false,
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Text } from "../.."
|
|
2
|
-
|
|
3
|
-
export const Description = () => {
|
|
4
|
-
return (
|
|
5
|
-
<Text tag="dl">
|
|
6
|
-
<dt>Description list title</dt>
|
|
7
|
-
<dd>Description list content</dd>
|
|
8
|
-
<dt>Description list title</dt>
|
|
9
|
-
<dd>Description list content</dd>
|
|
10
|
-
<dt>Description list title</dt>
|
|
11
|
-
<dd>Description list content</dd>
|
|
12
|
-
<dt>Description list title</dt>
|
|
13
|
-
<dd>Description list content</dd>
|
|
14
|
-
<dt>Description list title</dt>
|
|
15
|
-
<dd>Description list content</dd>
|
|
16
|
-
</Text>
|
|
17
|
-
)
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { Text } from "../.."
|
|
3
|
-
|
|
4
|
-
export const Paragraphs = () => {
|
|
5
|
-
return (
|
|
6
|
-
<div className="flex flex-col items-stretch">
|
|
7
|
-
<Text tag="p">Paragraph</Text>
|
|
8
|
-
|
|
9
|
-
<Text tag="p">
|
|
10
|
-
Paragraph <Text tag="strong">strong</Text>
|
|
11
|
-
</Text>
|
|
12
|
-
<Text tag="p">
|
|
13
|
-
Paragraph <Text tag="em">italic</Text>
|
|
14
|
-
</Text>
|
|
15
|
-
<Text tag="p" linkColor="danger">
|
|
16
|
-
Paragraph with <Link to="#">link</Link>
|
|
17
|
-
</Text>
|
|
18
|
-
<Text tag="p" className="className" linkColor="warning">
|
|
19
|
-
Paragraph with <button>button</button>
|
|
20
|
-
</Text>
|
|
21
|
-
<Text tag="p">
|
|
22
|
-
Paragraph <code>code</code>
|
|
23
|
-
</Text>
|
|
24
|
-
</div>
|
|
25
|
-
)
|
|
26
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Text } from "../.."
|
|
2
|
-
|
|
3
|
-
export const TextDisplay = () => {
|
|
4
|
-
return (
|
|
5
|
-
<div className="flex flex-col items-stretch">
|
|
6
|
-
<Text tag="h1" display>
|
|
7
|
-
Title h1 display
|
|
8
|
-
</Text>
|
|
9
|
-
|
|
10
|
-
<Text tag="h2" display>
|
|
11
|
-
Title h2 display
|
|
12
|
-
</Text>
|
|
13
|
-
|
|
14
|
-
<Text tag="h3" display>
|
|
15
|
-
Title h3 display
|
|
16
|
-
</Text>
|
|
17
|
-
|
|
18
|
-
<Text tag="h4" display>
|
|
19
|
-
Title h4 display
|
|
20
|
-
</Text>
|
|
21
|
-
|
|
22
|
-
<Text tag="h5" display>
|
|
23
|
-
Title h5 display
|
|
24
|
-
</Text>
|
|
25
|
-
</div>
|
|
26
|
-
)
|
|
27
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Text } from "../.."
|
|
2
|
-
|
|
3
|
-
export const TextTitles = () => {
|
|
4
|
-
return (
|
|
5
|
-
<div className="flex flex-col items-stretch">
|
|
6
|
-
<Text tag="h1">Title h1</Text>
|
|
7
|
-
|
|
8
|
-
<Text tag="h2">Title h2</Text>
|
|
9
|
-
|
|
10
|
-
<Text tag="h3">Title h3</Text>
|
|
11
|
-
|
|
12
|
-
<Text tag="h4">Title h4</Text>
|
|
13
|
-
|
|
14
|
-
<Text tag="h5">Title h5</Text>
|
|
15
|
-
|
|
16
|
-
<Text tag="h6">Title h6</Text>
|
|
17
|
-
</div>
|
|
18
|
-
)
|
|
19
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { Toast, toast, Button } from "../../../"
|
|
2
|
-
import type { ILibToast } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
const Preview = () => {
|
|
6
|
-
return (
|
|
7
|
-
<div className="flex flex-col items-start gap-2">
|
|
8
|
-
<Button
|
|
9
|
-
color="success"
|
|
10
|
-
onClick={() =>
|
|
11
|
-
toast.success("Success", {
|
|
12
|
-
body: "Body",
|
|
13
|
-
duration: 10000,
|
|
14
|
-
})
|
|
15
|
-
}
|
|
16
|
-
>
|
|
17
|
-
Success
|
|
18
|
-
</Button>
|
|
19
|
-
<Button color="danger" onClick={() => toast.error("Error")}>
|
|
20
|
-
Error
|
|
21
|
-
</Button>
|
|
22
|
-
<Button color="warning" onClick={() => toast.warning("Warning")}>
|
|
23
|
-
Warning
|
|
24
|
-
</Button>
|
|
25
|
-
<Button color="primary" onClick={() => toast.info("Info")}>
|
|
26
|
-
Info
|
|
27
|
-
</Button>
|
|
28
|
-
<Button color="gray" onClick={() => toast.loading("Loading")}>
|
|
29
|
-
Loading
|
|
30
|
-
</Button>
|
|
31
|
-
<Button color="danger" onClick={() => toast.close()}>
|
|
32
|
-
Close
|
|
33
|
-
</Button>
|
|
34
|
-
</div>
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export const toastPreview: ComponentPreview<ILibToast> = {
|
|
39
|
-
name: "Toast",
|
|
40
|
-
component: Toast,
|
|
41
|
-
category: "components",
|
|
42
|
-
import: "Toast",
|
|
43
|
-
additionalImports: ["ToastContainer"],
|
|
44
|
-
optionalImports: [],
|
|
45
|
-
propsImport: "ILibToast",
|
|
46
|
-
additionalTypeImports: [],
|
|
47
|
-
extends: ["HTMLDivElement"],
|
|
48
|
-
previews: [
|
|
49
|
-
{
|
|
50
|
-
previewTitle: "Default",
|
|
51
|
-
props: { title: "Title", body: "Body", hideCloseButton: true },
|
|
52
|
-
},
|
|
53
|
-
{ previewTitle: "Toaster", demo: <Preview /> },
|
|
54
|
-
],
|
|
55
|
-
props: [
|
|
56
|
-
{
|
|
57
|
-
name: "title",
|
|
58
|
-
type: "ReactNode",
|
|
59
|
-
possibleValues: [],
|
|
60
|
-
defaultValue: null,
|
|
61
|
-
description: "Title content to display in the toast header.",
|
|
62
|
-
isRequired: true,
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
name: "body",
|
|
66
|
-
type: "ReactNode",
|
|
67
|
-
possibleValues: [],
|
|
68
|
-
defaultValue: null,
|
|
69
|
-
description: "Body content to display below the title.",
|
|
70
|
-
isRequired: false,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
name: "status",
|
|
74
|
-
type: "string",
|
|
75
|
-
possibleValues: ["success", "error", "warning", "info", "loading"],
|
|
76
|
-
defaultValue: "success",
|
|
77
|
-
description:
|
|
78
|
-
"Status type that determines the toast appearance and behavior.",
|
|
79
|
-
isRequired: false,
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "hideCloseButton",
|
|
83
|
-
type: "boolean",
|
|
84
|
-
possibleValues: [],
|
|
85
|
-
defaultValue: "false",
|
|
86
|
-
description: "Whether to hide the close button in the toast.",
|
|
87
|
-
isRequired: false,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: "closeToast",
|
|
91
|
-
type: "function",
|
|
92
|
-
possibleValues: [],
|
|
93
|
-
defaultValue: null,
|
|
94
|
-
description: "Function to call when the close button is clicked.",
|
|
95
|
-
isRequired: false,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: "iconClose",
|
|
99
|
-
type: "ReactElement",
|
|
100
|
-
possibleValues: [],
|
|
101
|
-
defaultValue: "BiX",
|
|
102
|
-
description: "Custom icon for the close button.",
|
|
103
|
-
isRequired: false,
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: "loaderVariant",
|
|
107
|
-
type: "number",
|
|
108
|
-
possibleValues: [1, 2, 3],
|
|
109
|
-
defaultValue: null,
|
|
110
|
-
description:
|
|
111
|
-
"Variant of the loader shown when status is 'loading'.",
|
|
112
|
-
isRequired: false,
|
|
113
|
-
},
|
|
114
|
-
],
|
|
115
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { Tooltip, Text } from "../../../"
|
|
2
|
-
import type { ILibTooltip } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
export const tooltipPreview: ComponentPreview<ILibTooltip> = {
|
|
6
|
-
name: "Tooltip",
|
|
7
|
-
component: Tooltip,
|
|
8
|
-
category: "components",
|
|
9
|
-
import: "Tooltip",
|
|
10
|
-
additionalImports: null,
|
|
11
|
-
optionalImports: null,
|
|
12
|
-
propsImport: "ILibTooltip",
|
|
13
|
-
additionalTypeImports: null,
|
|
14
|
-
extends: ["HTMLDivElement"],
|
|
15
|
-
previews: [
|
|
16
|
-
{
|
|
17
|
-
previewTitle: "Click",
|
|
18
|
-
props: {
|
|
19
|
-
tooltip: "Hello World!",
|
|
20
|
-
trigger: "click",
|
|
21
|
-
children: <Text>Hello, trigger on click</Text>,
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
previewTitle: "Hover",
|
|
26
|
-
props: {
|
|
27
|
-
tooltip: "Hello World!",
|
|
28
|
-
trigger: "hover",
|
|
29
|
-
hideArrow: true,
|
|
30
|
-
position: "bottom",
|
|
31
|
-
children: "Hello, trigger on hover without arrow",
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
previewTitle: "Left",
|
|
36
|
-
props: {
|
|
37
|
-
tooltip: "Hello World!",
|
|
38
|
-
position: "left",
|
|
39
|
-
children: "Hello tooltip left",
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
previewTitle: "Right",
|
|
44
|
-
props: {
|
|
45
|
-
tooltip: "Hello World!",
|
|
46
|
-
position: "right",
|
|
47
|
-
children: "Hello tooltip right",
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
props: [
|
|
52
|
-
{
|
|
53
|
-
name: "tooltip",
|
|
54
|
-
type: "string",
|
|
55
|
-
possibleValues: null,
|
|
56
|
-
defaultValue: null,
|
|
57
|
-
description: "The tooltip text or React element to display.",
|
|
58
|
-
isRequired: true,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
name: "position",
|
|
62
|
-
type: "string",
|
|
63
|
-
possibleValues: ["top", "bottom", "left", "right"],
|
|
64
|
-
defaultValue: null,
|
|
65
|
-
description: "Tooltip position.",
|
|
66
|
-
isRequired: false,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "hideArrow",
|
|
70
|
-
type: "boolean",
|
|
71
|
-
possibleValues: null,
|
|
72
|
-
defaultValue: null,
|
|
73
|
-
description: "If true, hides the tooltip arrow.",
|
|
74
|
-
isRequired: false,
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: "trigger",
|
|
78
|
-
type: "string",
|
|
79
|
-
possibleValues: ["hover", "click"],
|
|
80
|
-
defaultValue: null,
|
|
81
|
-
description: "Tooltip trigger event.",
|
|
82
|
-
isRequired: false,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
name: "backgroundColor",
|
|
86
|
-
type: "string",
|
|
87
|
-
possibleValues: "Any color from the library",
|
|
88
|
-
defaultValue: null,
|
|
89
|
-
description: "Tooltip background color.",
|
|
90
|
-
isRequired: false,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
name: "textColor",
|
|
94
|
-
type: "string",
|
|
95
|
-
possibleValues: "Any color from the library",
|
|
96
|
-
defaultValue: null,
|
|
97
|
-
description: "Tooltip text color.",
|
|
98
|
-
isRequired: false,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: "offset",
|
|
102
|
-
type: "string",
|
|
103
|
-
possibleValues: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "0px"],
|
|
104
|
-
defaultValue: null,
|
|
105
|
-
description: "Tooltip offset.",
|
|
106
|
-
isRequired: false,
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: "tooltipClasses",
|
|
110
|
-
type: "string",
|
|
111
|
-
possibleValues: null,
|
|
112
|
-
defaultValue: null,
|
|
113
|
-
description: "Additional class names for the tooltip.",
|
|
114
|
-
isRequired: false,
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { Wrapper, Text } from "../../../"
|
|
3
|
-
import type { ILibWrapper } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const wrapperPreview: ComponentPreview<ILibWrapper> = {
|
|
7
|
-
name: "Wrapper",
|
|
8
|
-
component: Wrapper,
|
|
9
|
-
category: "styles",
|
|
10
|
-
import: "Wrapper",
|
|
11
|
-
additionalImports: null,
|
|
12
|
-
optionalImports: null,
|
|
13
|
-
propsImport: "ILibWrapper",
|
|
14
|
-
additionalTypeImports: null,
|
|
15
|
-
extends: ["HTMLSectionElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{
|
|
18
|
-
demo: (
|
|
19
|
-
<div className="flex flex-col gap-2">
|
|
20
|
-
<Text>
|
|
21
|
-
<Link
|
|
22
|
-
to="/main/demo-default"
|
|
23
|
-
target="_blank"
|
|
24
|
-
rel="noreferrer noopener"
|
|
25
|
-
>
|
|
26
|
-
Demo main default
|
|
27
|
-
</Link>
|
|
28
|
-
</Text>
|
|
29
|
-
<Text>
|
|
30
|
-
<Link
|
|
31
|
-
to="/aside/demo-left"
|
|
32
|
-
target="_blank"
|
|
33
|
-
rel="noreferrer noopener"
|
|
34
|
-
>
|
|
35
|
-
Demo main and aside
|
|
36
|
-
</Link>
|
|
37
|
-
</Text>
|
|
38
|
-
</div>
|
|
39
|
-
),
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
props: [
|
|
43
|
-
{
|
|
44
|
-
name: "gap",
|
|
45
|
-
type: "string",
|
|
46
|
-
possibleValues: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl"],
|
|
47
|
-
defaultValue: "lg",
|
|
48
|
-
description: "Spacing between children elements.",
|
|
49
|
-
isRequired: false,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: "backgroundColor",
|
|
53
|
-
type: "string",
|
|
54
|
-
possibleValues: "Any color from the library",
|
|
55
|
-
defaultValue: "background",
|
|
56
|
-
description: "Background color of the wrapper.",
|
|
57
|
-
isRequired: false,
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
name: "minHeight",
|
|
61
|
-
type: "string",
|
|
62
|
-
possibleValues: [
|
|
63
|
-
"0",
|
|
64
|
-
"full",
|
|
65
|
-
"screen",
|
|
66
|
-
"min",
|
|
67
|
-
"max",
|
|
68
|
-
"fit",
|
|
69
|
-
"dvh",
|
|
70
|
-
"lvh",
|
|
71
|
-
"svh",
|
|
72
|
-
],
|
|
73
|
-
defaultValue: "svh",
|
|
74
|
-
description: "Minimum height of the wrapper.",
|
|
75
|
-
isRequired: false,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
}
|
package/src/main.tsx
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { createRoot } from "react-dom/client"
|
|
2
|
-
import { ThemeProviderWrapper, ToastContainer } from "./lib"
|
|
3
|
-
import { App } from "./App"
|
|
4
|
-
import "./lib/index.css"
|
|
5
|
-
|
|
6
|
-
createRoot(document.getElementById("root")!).render(
|
|
7
|
-
<ThemeProviderWrapper>
|
|
8
|
-
<App />
|
|
9
|
-
<ToastContainer />
|
|
10
|
-
</ThemeProviderWrapper>,
|
|
11
|
-
)
|
package/src/pages/Component.tsx
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { useParams } from "react-router-dom"
|
|
2
|
-
import { toKebabCase, toPascalCase } from "@julseb-lib/utils"
|
|
3
|
-
import { Page } from "../components"
|
|
4
|
-
import { NotFound } from "./NotFound"
|
|
5
|
-
import { previews } from "../data/components"
|
|
6
|
-
import { ComponentPreview } from "../components/ComponentPreview"
|
|
7
|
-
|
|
8
|
-
export const ComponentPage = () => {
|
|
9
|
-
const { componentName } = useParams<{ componentName: string }>()
|
|
10
|
-
|
|
11
|
-
const componentPreview = previews.find(
|
|
12
|
-
demo => toKebabCase(demo.name) === toKebabCase(componentName ?? ""),
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
if (!componentPreview) return <NotFound />
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<Page title={toPascalCase(componentPreview.name)!}>
|
|
19
|
-
{componentPreview.previews?.map((preview, i) => (
|
|
20
|
-
<ComponentPreview
|
|
21
|
-
component={componentPreview.component}
|
|
22
|
-
noStretch={componentPreview.noStretch}
|
|
23
|
-
{...preview}
|
|
24
|
-
key={i}
|
|
25
|
-
/>
|
|
26
|
-
))}
|
|
27
|
-
</Page>
|
|
28
|
-
)
|
|
29
|
-
}
|
package/src/pages/Homepage.tsx
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { useLibTheme, Text } from "../lib"
|
|
2
|
-
import { Page } from "../components"
|
|
3
|
-
|
|
4
|
-
export const Homepage = () => {
|
|
5
|
-
const { theme, switchTheme } = useLibTheme()
|
|
6
|
-
|
|
7
|
-
const heights = [
|
|
8
|
-
"3xs",
|
|
9
|
-
"2xs",
|
|
10
|
-
"xs",
|
|
11
|
-
"sm",
|
|
12
|
-
"md",
|
|
13
|
-
"lg",
|
|
14
|
-
"xl",
|
|
15
|
-
"2xl",
|
|
16
|
-
"3xl",
|
|
17
|
-
"4xl",
|
|
18
|
-
"5xl",
|
|
19
|
-
"6xl",
|
|
20
|
-
"7xl",
|
|
21
|
-
"none",
|
|
22
|
-
"px",
|
|
23
|
-
"full",
|
|
24
|
-
"dvw",
|
|
25
|
-
"dvh",
|
|
26
|
-
"lvw",
|
|
27
|
-
"lvh",
|
|
28
|
-
"svw",
|
|
29
|
-
"svh",
|
|
30
|
-
"screen",
|
|
31
|
-
"min",
|
|
32
|
-
"max",
|
|
33
|
-
"fit",
|
|
34
|
-
]
|
|
35
|
-
|
|
36
|
-
return (
|
|
37
|
-
<Page title="Hello World">
|
|
38
|
-
<Text>Theme is {theme}</Text>
|
|
39
|
-
<button
|
|
40
|
-
onClick={switchTheme}
|
|
41
|
-
className="self-start bg-blue-500 hover:bg-blue-300 active:bg-blue-600 px-4 py-2 rounded-md font-black text-white"
|
|
42
|
-
>
|
|
43
|
-
Switch to {theme === "light" ? "dark" : "light"} theme
|
|
44
|
-
</button>
|
|
45
|
-
|
|
46
|
-
<ul>
|
|
47
|
-
{heights.map(h => (
|
|
48
|
-
<li key={h}>{`"${h}": "${h}",`}</li>
|
|
49
|
-
))}
|
|
50
|
-
</ul>
|
|
51
|
-
</Page>
|
|
52
|
-
)
|
|
53
|
-
}
|
package/src/pages/NotFound.tsx
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BasePage } from "../../components"
|
|
2
|
-
import { Wrapper, Main, Aside, Text } from "../../lib"
|
|
3
|
-
|
|
4
|
-
export const AsideBothDemo = () => {
|
|
5
|
-
return (
|
|
6
|
-
<BasePage title="AsideBoth">
|
|
7
|
-
<Wrapper backgroundColor="warning-200">
|
|
8
|
-
<Aside backgroundColor="danger-200" size="small">
|
|
9
|
-
<Text tag="h2">Aside</Text>
|
|
10
|
-
</Aside>
|
|
11
|
-
|
|
12
|
-
<Main backgroundColor="danger-200">
|
|
13
|
-
<Text tag="h1">Main</Text>
|
|
14
|
-
</Main>
|
|
15
|
-
|
|
16
|
-
<Aside backgroundColor="danger-200" size="small">
|
|
17
|
-
<Text tag="h2">Aside</Text>
|
|
18
|
-
</Aside>
|
|
19
|
-
</Wrapper>
|
|
20
|
-
</BasePage>
|
|
21
|
-
)
|
|
22
|
-
}
|