@julseb-lib/react 0.1.5 → 0.1.6
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.cjs.js +39 -0
- package/dist/index.es.d.ts +1 -0
- package/dist/index.es.js +12438 -0
- package/dist/index.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,67 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { Main, Text } from "../../../"
|
|
3
|
-
import type { ILibMain } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
const links: Array<{ text: string; url: string }> = [
|
|
7
|
-
{ text: "Main default", url: "/main/demo-default" },
|
|
8
|
-
{ text: "Main large", url: "/main/demo-large" },
|
|
9
|
-
{ text: "Main form", url: "/main/demo-form" },
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
export const mainPreview: ComponentPreview<ILibMain> = {
|
|
13
|
-
name: "Main",
|
|
14
|
-
component: Main,
|
|
15
|
-
category: "styles",
|
|
16
|
-
import: "Main",
|
|
17
|
-
additionalImports: null,
|
|
18
|
-
optionalImports: null,
|
|
19
|
-
propsImport: "ILibMain",
|
|
20
|
-
additionalTypeImports: null,
|
|
21
|
-
extends: ["HTMLDivElement"],
|
|
22
|
-
previews: [
|
|
23
|
-
{
|
|
24
|
-
demo: (
|
|
25
|
-
<div className="flex flex-col gap-1">
|
|
26
|
-
{links.map((link, i) => (
|
|
27
|
-
<Text key={i}>
|
|
28
|
-
<Link
|
|
29
|
-
to={link.url}
|
|
30
|
-
target="_blank"
|
|
31
|
-
rel="noreferrer noopener"
|
|
32
|
-
>
|
|
33
|
-
{link.text}
|
|
34
|
-
</Link>
|
|
35
|
-
</Text>
|
|
36
|
-
))}
|
|
37
|
-
</div>
|
|
38
|
-
),
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
props: [
|
|
42
|
-
{
|
|
43
|
-
name: "gap",
|
|
44
|
-
type: "string",
|
|
45
|
-
possibleValues: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl"],
|
|
46
|
-
defaultValue: null,
|
|
47
|
-
description: "Spacing between children elements.",
|
|
48
|
-
isRequired: false,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "backgroundColor",
|
|
52
|
-
type: "string",
|
|
53
|
-
possibleValues: "Any color from the library",
|
|
54
|
-
defaultValue: null,
|
|
55
|
-
description: "Background color of the main container.",
|
|
56
|
-
isRequired: false,
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: "size",
|
|
60
|
-
type: "string",
|
|
61
|
-
possibleValues: ["default", "large", "form"],
|
|
62
|
-
defaultValue: "default",
|
|
63
|
-
description: "Size of the main container.",
|
|
64
|
-
isRequired: false,
|
|
65
|
-
},
|
|
66
|
-
],
|
|
67
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { MarkdownContainer } from "../../../"
|
|
2
|
-
import type { ILibMarkdownContainer } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
export const markdownContainerPreview: ComponentPreview<ILibMarkdownContainer> =
|
|
6
|
-
{
|
|
7
|
-
name: "Markdown Container",
|
|
8
|
-
component: MarkdownContainer,
|
|
9
|
-
category: "components",
|
|
10
|
-
import: "MarkdownContainer",
|
|
11
|
-
additionalImports: [],
|
|
12
|
-
optionalImports: [],
|
|
13
|
-
propsImport: "ILibMarkdownContainer",
|
|
14
|
-
additionalTypeImports: [],
|
|
15
|
-
extends: ["HTMLDivElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{
|
|
18
|
-
props: {
|
|
19
|
-
children:
|
|
20
|
-
"## Hello world \n\n I'm some markdown content **compiled** to *jsx*",
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
props: [
|
|
25
|
-
{
|
|
26
|
-
name: "options",
|
|
27
|
-
type: "Object",
|
|
28
|
-
possibleValues: [],
|
|
29
|
-
defaultValue: "libOptionsMarkdown",
|
|
30
|
-
description: "Markdown parsing options and configurations.",
|
|
31
|
-
isRequired: false,
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
}
|
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { useState } from "react"
|
|
2
|
-
import { BiEnvelope } from "react-icons/bi"
|
|
3
|
-
import { MarkdownEditor } from "../../../"
|
|
4
|
-
import type { ILibMarkdownEditor } from "../../../types/components-props"
|
|
5
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
6
|
-
|
|
7
|
-
const Preview: FC<Omit<ILibMarkdownEditor, "value" | "setValue">> = props => {
|
|
8
|
-
const [value, setValue] = useState("# Hello World\n\nHow are you?")
|
|
9
|
-
|
|
10
|
-
return <MarkdownEditor value={value} setValue={setValue} {...props} />
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const markdownEditorPreview: ComponentPreview<ILibMarkdownEditor> = {
|
|
14
|
-
name: "Markdown Editor",
|
|
15
|
-
component: MarkdownEditor,
|
|
16
|
-
category: "components",
|
|
17
|
-
import: "MarkdownEditor",
|
|
18
|
-
additionalImports: [],
|
|
19
|
-
optionalImports: [],
|
|
20
|
-
propsImport: "ILibMarkdownEditor",
|
|
21
|
-
additionalTypeImports: [],
|
|
22
|
-
extends: ["HTMLDivElement"],
|
|
23
|
-
previews: [
|
|
24
|
-
{ demo: <Preview /> },
|
|
25
|
-
{
|
|
26
|
-
previewTitle: "With dark bg",
|
|
27
|
-
demo: <Preview inputBackground="dark" label="Label" />,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
previewTitle: "With validation",
|
|
31
|
-
demo: (
|
|
32
|
-
<Preview validation={{ status: false, message: "Message" }} />
|
|
33
|
-
),
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
previewTitle: "With icon & less buttons",
|
|
37
|
-
demo: (
|
|
38
|
-
<Preview
|
|
39
|
-
icons={{ bold: <BiEnvelope /> }}
|
|
40
|
-
options={{ italic: false }}
|
|
41
|
-
/>
|
|
42
|
-
),
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
props: [
|
|
46
|
-
{
|
|
47
|
-
name: "value",
|
|
48
|
-
type: "string",
|
|
49
|
-
possibleValues: [],
|
|
50
|
-
defaultValue: null,
|
|
51
|
-
description: "Current markdown content value.",
|
|
52
|
-
isRequired: true,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
name: "setValue",
|
|
56
|
-
type: "function",
|
|
57
|
-
possibleValues: [],
|
|
58
|
-
defaultValue: null,
|
|
59
|
-
description: "Function to update the markdown content.",
|
|
60
|
-
isRequired: true,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "label",
|
|
64
|
-
type: "string",
|
|
65
|
-
possibleValues: [],
|
|
66
|
-
defaultValue: null,
|
|
67
|
-
description: "Label text for the editor.",
|
|
68
|
-
isRequired: false,
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
name: "labelComment",
|
|
72
|
-
type: "string",
|
|
73
|
-
possibleValues: [],
|
|
74
|
-
defaultValue: null,
|
|
75
|
-
description: "Additional comment text for the label.",
|
|
76
|
-
isRequired: false,
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: "helper",
|
|
80
|
-
type: "string",
|
|
81
|
-
possibleValues: [],
|
|
82
|
-
defaultValue: null,
|
|
83
|
-
description: "Helper text displayed above the editor.",
|
|
84
|
-
isRequired: false,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "helperBottom",
|
|
88
|
-
type: "string",
|
|
89
|
-
possibleValues: [],
|
|
90
|
-
defaultValue: null,
|
|
91
|
-
description: "Helper text displayed below the editor.",
|
|
92
|
-
isRequired: false,
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
name: "validation",
|
|
96
|
-
type: "Object",
|
|
97
|
-
possibleValues: [],
|
|
98
|
-
defaultValue: null,
|
|
99
|
-
description: "Validation state and messages.",
|
|
100
|
-
isRequired: false,
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
name: "inputBackground",
|
|
104
|
-
type: "string",
|
|
105
|
-
possibleValues: ["light", "dark"],
|
|
106
|
-
defaultValue: null,
|
|
107
|
-
description: "Background theme for the editor.",
|
|
108
|
-
isRequired: false,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
name: "defaultView",
|
|
112
|
-
type: "string",
|
|
113
|
-
possibleValues: ["code", "live", "preview"],
|
|
114
|
-
defaultValue: "live",
|
|
115
|
-
description: "Initial view mode for the editor.",
|
|
116
|
-
isRequired: false,
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
name: "options",
|
|
120
|
-
type: "Object",
|
|
121
|
-
possibleValues: [],
|
|
122
|
-
defaultValue: null,
|
|
123
|
-
description: "Configuration for which toolbar buttons to show.",
|
|
124
|
-
isRequired: false,
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
name: "textButtonTitles",
|
|
128
|
-
type: "string",
|
|
129
|
-
possibleValues: [],
|
|
130
|
-
defaultValue: "Titles",
|
|
131
|
-
description: "Text for the titles dropdown button.",
|
|
132
|
-
isRequired: false,
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: "icons",
|
|
136
|
-
type: "Object",
|
|
137
|
-
possibleValues: [],
|
|
138
|
-
defaultValue: null,
|
|
139
|
-
description: "Custom icons for toolbar buttons.",
|
|
140
|
-
isRequired: false,
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Masonry, Image, uuid } from "../../../"
|
|
2
|
-
import type { ILibMasonry } from "../../../types/components-props"
|
|
3
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
4
|
-
|
|
5
|
-
const images: Array<string> = [
|
|
6
|
-
"https://images.unsplash.com/photo-1636390785258-f59cd6883a03?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1470&q=80",
|
|
7
|
-
"https://images.unsplash.com/photo-1647599708318-1b267bf44fd2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDEzfGJvOGpRS1RhRTBZfHxlbnwwfHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60",
|
|
8
|
-
"https://images.unsplash.com/photo-1636390785299-b4df455163dd?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1470&q=80",
|
|
9
|
-
"https://images.unsplash.com/photo-1634705146926-b8fbca28f431?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1928&q=80",
|
|
10
|
-
"https://images.unsplash.com/photo-1647458792028-f9b3599d4208?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDEwfGJvOGpRS1RhRTBZfHxlbnwwfHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60",
|
|
11
|
-
"https://images.unsplash.com/photo-1647725280666-bb7f94a15d69?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDF8Ym84alFLVGFFMFl8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=60",
|
|
12
|
-
"https://images.unsplash.com/photo-1647831591495-2f9ce7dd3d1d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDN8Ym84alFLVGFFMFl8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=60",
|
|
13
|
-
"https://images.unsplash.com/photo-1647831570034-51d43eac0694?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDV8Ym84alFLVGFFMFl8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=60",
|
|
14
|
-
"https://images.unsplash.com/photo-1647464884405-42bbd541bc17?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDd8Ym84alFLVGFFMFl8fGVufDB8fHx8&auto=format&fit=crop&w=800&q=60",
|
|
15
|
-
"https://images.unsplash.com/photo-1646330685088-d8a402b0dcc2?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHx0b3BpYy1mZWVkfDE5fGJvOGpRS1RhRTBZfHxlbnwwfHx8fA%3D%3D&auto=format&fit=crop&w=800&q=60",
|
|
16
|
-
"https://images.unsplash.com/photo-1636207543865-acf3ad382295?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80",
|
|
17
|
-
]
|
|
18
|
-
|
|
19
|
-
export const masonryPreview: ComponentPreview<ILibMasonry> = {
|
|
20
|
-
name: "Masonry",
|
|
21
|
-
component: Masonry,
|
|
22
|
-
category: "components",
|
|
23
|
-
import: "Masonry",
|
|
24
|
-
additionalImports: null,
|
|
25
|
-
optionalImports: null,
|
|
26
|
-
propsImport: "ILibMasonry",
|
|
27
|
-
additionalTypeImports: null,
|
|
28
|
-
extends: ["HTMLDivElement"],
|
|
29
|
-
previews: [
|
|
30
|
-
{
|
|
31
|
-
demo: (
|
|
32
|
-
<Masonry col={3} gap="xl">
|
|
33
|
-
{images.map((image, i) => (
|
|
34
|
-
<Image src={image} alt={`Img ${i}`} key={uuid()} />
|
|
35
|
-
))}
|
|
36
|
-
</Masonry>
|
|
37
|
-
),
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
props: [
|
|
41
|
-
{
|
|
42
|
-
name: "col",
|
|
43
|
-
type: "number",
|
|
44
|
-
possibleValues: null,
|
|
45
|
-
defaultValue: "4",
|
|
46
|
-
description: "Number of columns in the masonry grid.",
|
|
47
|
-
isRequired: false,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
name: "gap",
|
|
51
|
-
type: "string",
|
|
52
|
-
possibleValues: ["2xs", "xs", "sm", "md", "lg", "xl", "2xl"],
|
|
53
|
-
defaultValue: "lg",
|
|
54
|
-
description: "Gap between grid items.",
|
|
55
|
-
isRequired: false,
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { useState, type FC } from "react"
|
|
2
|
-
import {
|
|
3
|
-
Modal,
|
|
4
|
-
Button,
|
|
5
|
-
disableScroll,
|
|
6
|
-
Image,
|
|
7
|
-
Alert,
|
|
8
|
-
Text,
|
|
9
|
-
Flexbox,
|
|
10
|
-
} from "../../../"
|
|
11
|
-
import type { ILibModal } from "../../../types/components-props"
|
|
12
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
13
|
-
|
|
14
|
-
const Preview: FC<Omit<ILibModal, "isOpen" | "setIsOpen">> = props => {
|
|
15
|
-
const [isOpen, setIsOpen] = useState(false)
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<>
|
|
19
|
-
<Button
|
|
20
|
-
onClick={() => {
|
|
21
|
-
setIsOpen(true)
|
|
22
|
-
disableScroll()
|
|
23
|
-
}}
|
|
24
|
-
>
|
|
25
|
-
Open modal
|
|
26
|
-
</Button>
|
|
27
|
-
|
|
28
|
-
<Modal {...(props as any)} isOpen={isOpen} setIsOpen={setIsOpen} />
|
|
29
|
-
</>
|
|
30
|
-
)
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export const modalPreview: ComponentPreview<ILibModal> = {
|
|
34
|
-
name: "Modal",
|
|
35
|
-
component: Modal,
|
|
36
|
-
category: "components",
|
|
37
|
-
import: "Modal",
|
|
38
|
-
additionalImports: [],
|
|
39
|
-
optionalImports: [],
|
|
40
|
-
propsImport: "ILibModal",
|
|
41
|
-
additionalTypeImports: [],
|
|
42
|
-
extends: ["HTMLDivElement"],
|
|
43
|
-
previews: [
|
|
44
|
-
{
|
|
45
|
-
previewTitle: "With image",
|
|
46
|
-
demo: (
|
|
47
|
-
<Preview>
|
|
48
|
-
<Image
|
|
49
|
-
src="/images/image-card.jpg"
|
|
50
|
-
alt="Img"
|
|
51
|
-
className="h-[90svh]"
|
|
52
|
-
fit="contain"
|
|
53
|
-
/>
|
|
54
|
-
</Preview>
|
|
55
|
-
),
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
previewTitle: "With alert",
|
|
59
|
-
demo: (
|
|
60
|
-
<Preview>
|
|
61
|
-
<Alert color="danger">
|
|
62
|
-
<Text>Modal text</Text>
|
|
63
|
-
<Flexbox gap="sm">
|
|
64
|
-
<Button color="danger">Button</Button>
|
|
65
|
-
<Button color="danger" variant="transparent">
|
|
66
|
-
Button
|
|
67
|
-
</Button>
|
|
68
|
-
</Flexbox>
|
|
69
|
-
</Alert>
|
|
70
|
-
</Preview>
|
|
71
|
-
),
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
props: [
|
|
75
|
-
{
|
|
76
|
-
name: "isOpen",
|
|
77
|
-
type: "boolean",
|
|
78
|
-
possibleValues: [],
|
|
79
|
-
defaultValue: null,
|
|
80
|
-
description: "Whether the modal is currently visible.",
|
|
81
|
-
isRequired: true,
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "setIsOpen",
|
|
85
|
-
type: "function",
|
|
86
|
-
possibleValues: [],
|
|
87
|
-
defaultValue: null,
|
|
88
|
-
description: "Function to control the modal open/closed state.",
|
|
89
|
-
isRequired: true,
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: "disableEsc",
|
|
93
|
-
type: "boolean",
|
|
94
|
-
possibleValues: [],
|
|
95
|
-
defaultValue: null,
|
|
96
|
-
description:
|
|
97
|
-
"Whether to disable closing the modal with the Escape key.",
|
|
98
|
-
isRequired: false,
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
name: "hideCloseButton",
|
|
102
|
-
type: "boolean",
|
|
103
|
-
possibleValues: [],
|
|
104
|
-
defaultValue: null,
|
|
105
|
-
description: "Whether to hide the close button in the modal.",
|
|
106
|
-
isRequired: false,
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: "closeIcon",
|
|
110
|
-
type: "ReactElement",
|
|
111
|
-
possibleValues: [],
|
|
112
|
-
defaultValue: null,
|
|
113
|
-
description: "Custom close icon for the modal.",
|
|
114
|
-
isRequired: false,
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
name: "labelClose",
|
|
118
|
-
type: "string",
|
|
119
|
-
possibleValues: [],
|
|
120
|
-
defaultValue: "Close modal",
|
|
121
|
-
description: "Aria label for the close button.",
|
|
122
|
-
isRequired: false,
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Link } from "react-router-dom"
|
|
2
|
-
import { PageLoading, Text } from "../../../"
|
|
3
|
-
import type { ILibPageLoading } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const pageLoadingPreview: ComponentPreview<ILibPageLoading> = {
|
|
7
|
-
name: "Page Loading",
|
|
8
|
-
component: PageLoading,
|
|
9
|
-
category: "components",
|
|
10
|
-
import: "PageLoading",
|
|
11
|
-
additionalImports: [],
|
|
12
|
-
optionalImports: [],
|
|
13
|
-
propsImport: "ILibPageLoading",
|
|
14
|
-
additionalTypeImports: [],
|
|
15
|
-
extends: ["HTMLDivElement"],
|
|
16
|
-
previews: [
|
|
17
|
-
{
|
|
18
|
-
demo: (
|
|
19
|
-
<Text>
|
|
20
|
-
<Link
|
|
21
|
-
to="/page-loading/demo"
|
|
22
|
-
target="_blank"
|
|
23
|
-
rel="noreferrer noopener"
|
|
24
|
-
>
|
|
25
|
-
Demo here
|
|
26
|
-
</Link>
|
|
27
|
-
</Text>
|
|
28
|
-
),
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
props: [
|
|
32
|
-
{
|
|
33
|
-
name: "backgroundColor",
|
|
34
|
-
type: "string",
|
|
35
|
-
possibleValues: "Any color from the library",
|
|
36
|
-
defaultValue: "primary-500",
|
|
37
|
-
description: "Background color for the loading overlay.",
|
|
38
|
-
isRequired: false,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
name: "loaderColor",
|
|
42
|
-
type: "string",
|
|
43
|
-
possibleValues: "Any color from the library",
|
|
44
|
-
defaultValue: "white",
|
|
45
|
-
description: "Color of the loading spinner.",
|
|
46
|
-
isRequired: false,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
name: "loaderVariant",
|
|
50
|
-
type: "number",
|
|
51
|
-
possibleValues: [1, 2, 3],
|
|
52
|
-
defaultValue: "1",
|
|
53
|
-
description: "Visual variant of the loading spinner.",
|
|
54
|
-
isRequired: false,
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: "stopScrolling",
|
|
58
|
-
type: "boolean",
|
|
59
|
-
possibleValues: [],
|
|
60
|
-
defaultValue: "false",
|
|
61
|
-
description:
|
|
62
|
-
"Whether to disable page scrolling while loading is visible.",
|
|
63
|
-
isRequired: false,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
}
|