@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
package/plop/actions/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as runCommand } from "./run-command.js"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { NodePlopAPI } from "plop"
|
|
2
|
-
import { exec } from "child_process"
|
|
3
|
-
|
|
4
|
-
export default (plop: NodePlopAPI) => {
|
|
5
|
-
const { setActionType } = plop
|
|
6
|
-
|
|
7
|
-
setActionType(
|
|
8
|
-
"runCommand",
|
|
9
|
-
(_, config) =>
|
|
10
|
-
new Promise((resolve, reject) => {
|
|
11
|
-
exec(config.command, (error, stdout) => {
|
|
12
|
-
if (error) {
|
|
13
|
-
console.error(error.message)
|
|
14
|
-
reject(error)
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
resolve(stdout)
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
)
|
|
21
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { NodePlopAPI } from "plop"
|
|
2
|
-
|
|
3
|
-
export default (plop: NodePlopAPI) => {
|
|
4
|
-
const { setGenerator } = plop
|
|
5
|
-
|
|
6
|
-
setGenerator("component", {
|
|
7
|
-
description: "React component",
|
|
8
|
-
prompts: [
|
|
9
|
-
{
|
|
10
|
-
type: "input",
|
|
11
|
-
name: "name",
|
|
12
|
-
message: "Enter component's name",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
type: "list",
|
|
16
|
-
name: "category",
|
|
17
|
-
message: "Which category?",
|
|
18
|
-
choices: ["styles", "layouts", "components", "helpers"],
|
|
19
|
-
default: "components",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
type: "input",
|
|
23
|
-
name: "tag",
|
|
24
|
-
message: "Enter HTML tag",
|
|
25
|
-
default: "div",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
type: "input",
|
|
29
|
-
name: "attribute",
|
|
30
|
-
message: "Enter HTML attribute",
|
|
31
|
-
default: data => data.tag,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
type: "confirm",
|
|
35
|
-
name: "children",
|
|
36
|
-
message: "Add `children` prop?",
|
|
37
|
-
default: true,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
actions: [
|
|
41
|
-
"Creating your component",
|
|
42
|
-
{
|
|
43
|
-
type: "addMany",
|
|
44
|
-
destination: "../src/lib/components/{{ pascalCase name }}",
|
|
45
|
-
templateFiles: "./templates/component/*.hbs",
|
|
46
|
-
base: "./templates/component",
|
|
47
|
-
verbose: false,
|
|
48
|
-
},
|
|
49
|
-
"Creating previews file",
|
|
50
|
-
{
|
|
51
|
-
type: "add",
|
|
52
|
-
path: "../src/lib/components/{{ pascalCase name }}/__preview__/{{ pascalCase name }}.preview.tsx",
|
|
53
|
-
templateFile: "./templates/component/__preview__/preview.hbs",
|
|
54
|
-
},
|
|
55
|
-
"Importing and adding your component in components file",
|
|
56
|
-
{
|
|
57
|
-
type: "modify",
|
|
58
|
-
path: "../src/data/components.tsx",
|
|
59
|
-
template:
|
|
60
|
-
'import { {{ camelCase name }}Preview } from "../lib/components/{{ pascalCase name }}/__preview__/{{ pascalCase name }}.preview"\n$1',
|
|
61
|
-
pattern: /(\/\* Prepend import - DO NOT REMOVE \*\/)/g,
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
type: "modify",
|
|
65
|
-
path: "../src/data/components.tsx",
|
|
66
|
-
template: "{{ camelCase name }}Preview,\n\t$1",
|
|
67
|
-
pattern: /(\/\* Prepend array - DO NOT REMOVE \*\/)/g,
|
|
68
|
-
},
|
|
69
|
-
"Exporting your new component from the library",
|
|
70
|
-
{
|
|
71
|
-
type: "modify",
|
|
72
|
-
path: "../src/lib/index.ts",
|
|
73
|
-
template:
|
|
74
|
-
'export * from "./components/{{ pascalCase name }}"\n$1',
|
|
75
|
-
pattern: /(\/\* Prepend here - DO NOT REMOVE \*\/)/g,
|
|
76
|
-
},
|
|
77
|
-
"Exporting your component's type from the library",
|
|
78
|
-
{
|
|
79
|
-
type: "modify",
|
|
80
|
-
path: "../src/lib/types/components-props.ts",
|
|
81
|
-
template:
|
|
82
|
-
'export * from "../components/{{ pascalCase name }}/types"\n$1',
|
|
83
|
-
pattern: /(\/\* Prepend here - DO NOT REMOVE \*\/)/g,
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
})
|
|
87
|
-
}
|
package/plop/generators/demo.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { NodePlopAPI, ActionType } from "plop"
|
|
2
|
-
import { BASE_PATH } from "../utils"
|
|
3
|
-
|
|
4
|
-
export default (plop: NodePlopAPI) => {
|
|
5
|
-
const { setGenerator } = plop
|
|
6
|
-
|
|
7
|
-
setGenerator("demo", {
|
|
8
|
-
description: "Generates a demo page",
|
|
9
|
-
prompts: [
|
|
10
|
-
{ type: "input", name: "name", message: "Enter demo's name" },
|
|
11
|
-
],
|
|
12
|
-
actions: [
|
|
13
|
-
{
|
|
14
|
-
type: "add",
|
|
15
|
-
path: `${BASE_PATH}/pages/demos/{{>pascalName}}Demo.tsx`,
|
|
16
|
-
templateFile: "./templates/demo.hbs",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
type: "modify",
|
|
20
|
-
path: `${BASE_PATH}/routes/index.tsx`,
|
|
21
|
-
template:
|
|
22
|
-
'import { {{>pascalName}}Demo } from "../pages/demos/{{>pascalName}}Demo"\n$1',
|
|
23
|
-
pattern: /(\/\* Prepend demo import - DO NOT REMOVE \*\/)/g,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
type: "modify",
|
|
27
|
-
path: `${BASE_PATH}/routes/index.tsx`,
|
|
28
|
-
template:
|
|
29
|
-
'{ path: "/{{>kebabName}}/demo", element: <{{>pascalName}}Demo /> },\n\t$1',
|
|
30
|
-
pattern: /(\/\* Prepend here - DO NOT REMOVE \*\/)/g,
|
|
31
|
-
},
|
|
32
|
-
],
|
|
33
|
-
// actions: data => {
|
|
34
|
-
// const actions: Array<ActionType> = []
|
|
35
|
-
// return actions
|
|
36
|
-
// },
|
|
37
|
-
})
|
|
38
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { NodePlopAPI } from "plop"
|
|
2
|
-
import { toPascalCase } from "@julseb-lib/utils"
|
|
3
|
-
|
|
4
|
-
export default (plop: NodePlopAPI) => {
|
|
5
|
-
const { setGenerator } = plop
|
|
6
|
-
|
|
7
|
-
setGenerator("generator", {
|
|
8
|
-
description: "Generate plop generators",
|
|
9
|
-
prompts: [
|
|
10
|
-
{
|
|
11
|
-
type: "input",
|
|
12
|
-
message: "Enter the name of your new generator",
|
|
13
|
-
name: "name",
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
actions: data => {
|
|
17
|
-
const actions = [
|
|
18
|
-
{
|
|
19
|
-
type: "add",
|
|
20
|
-
path: "./generators/{{>kebabName}}.ts",
|
|
21
|
-
templateFile: "./templates/generator.hbs",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
type: "modify",
|
|
25
|
-
path: "./generators/index.ts",
|
|
26
|
-
template: `export { default as generate{{>pascalName}} } from "./{{>kebabName}}.js"\n$1`,
|
|
27
|
-
pattern: /(\/\* Prepend export - DO NOT REMOVE \*\/)/g,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
type: "modify",
|
|
31
|
-
path: "./plopfile.ts",
|
|
32
|
-
template: `generate{{>pascalName}},\n\t$1`,
|
|
33
|
-
pattern: /(\/\* Prepend import - DO NOT REMOVE \*\/)/g,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
type: "modify",
|
|
37
|
-
path: "./plopfile.ts",
|
|
38
|
-
template: `generate${toPascalCase(
|
|
39
|
-
data?.name,
|
|
40
|
-
)}(plop) // yarn plop:${data?.name[0]}\n\t$1`,
|
|
41
|
-
pattern: /(\/\* Prepend function - DO NOT REMOVE \*\/)/g,
|
|
42
|
-
},
|
|
43
|
-
"Don't forget to add the scripts in package.json :)",
|
|
44
|
-
]
|
|
45
|
-
|
|
46
|
-
return actions
|
|
47
|
-
},
|
|
48
|
-
})
|
|
49
|
-
}
|
package/plop/generators/index.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { default as generatorGenerator } from "./generator"
|
|
2
|
-
export { default as previewGenerator } from "./preview"
|
|
3
|
-
export { default as subtypeGenerator } from "./subtype"
|
|
4
|
-
export { default as componentGenerator } from "./component"
|
|
5
|
-
export { default as generateDemo } from "./demo.js"
|
|
6
|
-
/* Prepend export - DO NOT REMOVE */
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { NodePlopAPI } from "plop"
|
|
2
|
-
|
|
3
|
-
export default (plop: NodePlopAPI) => {
|
|
4
|
-
const { setGenerator } = plop
|
|
5
|
-
|
|
6
|
-
setGenerator("preview", {
|
|
7
|
-
description: "Component preview",
|
|
8
|
-
prompts: [
|
|
9
|
-
{
|
|
10
|
-
type: "input",
|
|
11
|
-
name: "name",
|
|
12
|
-
message: "Enter component's name",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
type: "list",
|
|
16
|
-
name: "category",
|
|
17
|
-
message: "Which category?",
|
|
18
|
-
choices: ["styles", "layouts", "components", "helpers"],
|
|
19
|
-
default: "components",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
type: "input",
|
|
23
|
-
name: "attribute",
|
|
24
|
-
message: "Enter HTML attribute",
|
|
25
|
-
default: "div",
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
actions: data => {
|
|
29
|
-
const actions = [
|
|
30
|
-
"Start creating your new files",
|
|
31
|
-
{
|
|
32
|
-
type: "add",
|
|
33
|
-
path: "../src/lib/components/{{ pascalCase name }}/__preview__/{{ pascalCase name }}.preview.tsx",
|
|
34
|
-
templateFile: data?.demo
|
|
35
|
-
? "./templates/__preview__/preview.hbs"
|
|
36
|
-
: "./templates/__preview__/preview-props.hbs",
|
|
37
|
-
},
|
|
38
|
-
"Importing the preview into the preview folder",
|
|
39
|
-
{
|
|
40
|
-
type: "modify",
|
|
41
|
-
path: "../src/data/components.tsx",
|
|
42
|
-
template:
|
|
43
|
-
'import { {{ camelCase name }}Preview } from "../lib/components/{{ pascalCase name }}/__preview__/{{ pascalCase name }}.preview"\n$1',
|
|
44
|
-
pattern: /(\/\* Prepend import - DO NOT REMOVE \*\/)/g,
|
|
45
|
-
},
|
|
46
|
-
"Exporting from the component from the data folder",
|
|
47
|
-
{
|
|
48
|
-
type: "modify",
|
|
49
|
-
path: "../src/data/components.tsx",
|
|
50
|
-
template: "{{ camelCase name }}Preview,\n$1",
|
|
51
|
-
pattern: /(\/\* Prepend array - DO NOT REMOVE \*\/)/g,
|
|
52
|
-
},
|
|
53
|
-
]
|
|
54
|
-
|
|
55
|
-
return actions
|
|
56
|
-
},
|
|
57
|
-
})
|
|
58
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { NodePlopAPI } from "plop"
|
|
2
|
-
import { allComponents } from "../utils"
|
|
3
|
-
|
|
4
|
-
export default (plop: NodePlopAPI) => {
|
|
5
|
-
const { setGenerator } = plop
|
|
6
|
-
|
|
7
|
-
setGenerator("subtype", {
|
|
8
|
-
description: "Generates a subtypes.ts file for selected component",
|
|
9
|
-
prompts: [
|
|
10
|
-
{
|
|
11
|
-
name: "name",
|
|
12
|
-
message: "Select your component",
|
|
13
|
-
type: "list",
|
|
14
|
-
choices: allComponents,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
actions: [
|
|
18
|
-
{
|
|
19
|
-
type: "add",
|
|
20
|
-
path: "../src/lib/components/{{ pascalCase name }}/subtypes.ts",
|
|
21
|
-
templateFile: "./templates/subtypes.hbs",
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
})
|
|
25
|
-
}
|
package/plop/partials/index.ts
DELETED
package/plop/plopfile.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NodePlopAPI } from "plop"
|
|
2
|
-
import {
|
|
3
|
-
generatorGenerator,
|
|
4
|
-
previewGenerator,
|
|
5
|
-
componentGenerator,
|
|
6
|
-
subtypeGenerator,
|
|
7
|
-
generateDemo,
|
|
8
|
-
/* Prepend import - DO NOT REMOVE */
|
|
9
|
-
} from "./generators"
|
|
10
|
-
import { kebabName, pascalName } from "./partials"
|
|
11
|
-
import chalk from "chalk"
|
|
12
|
-
import figlet from "figlet"
|
|
13
|
-
|
|
14
|
-
export default (plop: NodePlopAPI) => {
|
|
15
|
-
console.log(
|
|
16
|
-
chalk.blueBright(
|
|
17
|
-
figlet.textSync("JulSeb CLI", { horizontalLayout: "full" }),
|
|
18
|
-
),
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
// Partials
|
|
22
|
-
kebabName(plop)
|
|
23
|
-
pascalName(plop)
|
|
24
|
-
|
|
25
|
-
// Generators
|
|
26
|
-
generatorGenerator(plop) // yarn plop:g
|
|
27
|
-
previewGenerator(plop) // yarn plop:p
|
|
28
|
-
componentGenerator(plop) // yarn plop:c
|
|
29
|
-
subtypeGenerator(plop) // yarn plop:st
|
|
30
|
-
generateDemo(plop) // yarn plop:d
|
|
31
|
-
/* Prepend function - DO NOT REMOVE */
|
|
32
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { {{ pascalCase name }} } from "../../../"
|
|
2
|
-
import type { } from "../../../types"
|
|
3
|
-
import type { ILib{{ pascalCase name }} } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const {{ camelCase name }}Preview: ComponentPreview<ILib{{ pascalCase name }}> = {
|
|
7
|
-
name: "{{ pascalCase name }}",
|
|
8
|
-
component: {{ pascalCase name }},
|
|
9
|
-
category: "{{ category }}",
|
|
10
|
-
import: "{{ pascalCase name }}", // import Component (ex: Skeleton)
|
|
11
|
-
additionalImports: [], // import OtherComponent (ex: SkeletonCard)
|
|
12
|
-
optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
|
|
13
|
-
propsImport: "ILib{{ pascalCase name }}", // import ILibComponent (ex: ILibAccordion)
|
|
14
|
-
additionalTypeImports: [], // import ILibComponentItem (ex: ILibAccordionItem)
|
|
15
|
-
extends: ["HTML{{ pascalCase attribute }}Element"],
|
|
16
|
-
previews: [
|
|
17
|
-
{ previewTitle: "Default", props: { } },
|
|
18
|
-
{ previewTitle: "Default", demo: <{{ pascalCase name }} /> },
|
|
19
|
-
],
|
|
20
|
-
props: [
|
|
21
|
-
/*
|
|
22
|
-
Generate the documentation like this:
|
|
23
|
-
{
|
|
24
|
-
name: "<name of prop>",
|
|
25
|
-
type: '<type of prop, can be: "" | "string" | "Array<string>" | "number" | "boolean" | "string | number" | "string | Object" | "boolean | number | string | Object" | "string | number | Object" | "Object" | "boolean | Object" | "function" | "CSSProperties" | "string | JSX.Element" | "ReactNode">',
|
|
26
|
-
possibleValues: ["<possible value of prop>"],
|
|
27
|
-
defaultValue: "<default value or null>",
|
|
28
|
-
description: "<description of the prop>",
|
|
29
|
-
isRequired: <boolean telling if the prop is required or not>,
|
|
30
|
-
},
|
|
31
|
-
ignore ref, children, rest, className, element
|
|
32
|
-
*/
|
|
33
|
-
],
|
|
34
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { {{ pascalCase name }} } from "../../../"
|
|
2
|
-
import type { } from "../../../types"
|
|
3
|
-
import type { ILib{{ pascalCase name }} } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const {{ camelCase name }}Preview: ComponentPreview<ILib{{ pascalCase name }}> = {
|
|
7
|
-
name: "{{ pascalCase name }}",
|
|
8
|
-
component: {{ pascalCase name }},
|
|
9
|
-
category: "{{ category }}",
|
|
10
|
-
imports: ["{{ pascalCase name }}"],
|
|
11
|
-
typeImports: ["ILib{{ pascalCase name }}"],
|
|
12
|
-
extends: ["HTML{{ pascalCase attribute }}Element"],
|
|
13
|
-
previews: [
|
|
14
|
-
{ previewTitle: "Default", props: { } },
|
|
15
|
-
{ previewTitle: "Default", demo: <{{ pascalCase name }}Preview /> },
|
|
16
|
-
],
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function {{ pascalCase name }}Preview() {
|
|
20
|
-
return (
|
|
21
|
-
<{{ pascalCase name }}>
|
|
22
|
-
|
|
23
|
-
</{{ pascalCase name }}>
|
|
24
|
-
)
|
|
25
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { {{ pascalCase name }} } from "../../../"
|
|
2
|
-
import type { } from "../../../types"
|
|
3
|
-
import type { ILib{{ pascalCase name }} } from "../../../types/components-props"
|
|
4
|
-
import type { ComponentPreview } from "../../../../data/components"
|
|
5
|
-
|
|
6
|
-
export const {{ camelCase name }}Preview: ComponentPreview<ILib{{ pascalCase name }}> = {
|
|
7
|
-
name: "{{ pascalCase name }}",
|
|
8
|
-
component: {{ pascalCase name }},
|
|
9
|
-
category: "{{ category }}",
|
|
10
|
-
import: "{{ pascalCase name }}", // import Component (ex: Skeleton)
|
|
11
|
-
additionalImports: [], // import OtherComponent (ex: SkeletonCard)
|
|
12
|
-
optionalImports: [], // import ComponentItem (ex: AccordionItem) => to build with children instead of prop on component
|
|
13
|
-
propsImport: "ILib{{ pascalCase name }}", // import ILibComponent (ex: ILibAccordion)
|
|
14
|
-
additionalTypeImports: [], // import LibComponentItem (ex: LibAccordionItem)
|
|
15
|
-
extends: ["HTML{{ pascalCase attribute }}Element"],
|
|
16
|
-
previews: [
|
|
17
|
-
{ previewTitle: "Default", props: { } },
|
|
18
|
-
{ previewTitle: "Default", demo: <{{ pascalCase name }} /> },
|
|
19
|
-
],
|
|
20
|
-
props: [],
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./{{ pascalCase name }}"
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type FC } from "react"
|
|
2
|
-
import { } from "@julseb-lib/utils"
|
|
3
|
-
import { clsx } from "../../utils"
|
|
4
|
-
import type { ILib{{ pascalCase name }} } from "./types"
|
|
5
|
-
|
|
6
|
-
/*
|
|
7
|
-
Generate JSDoc with:
|
|
8
|
-
* <short description of the component>
|
|
9
|
-
*
|
|
10
|
-
* @component
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* <an example of the component>
|
|
14
|
-
*
|
|
15
|
-
* @extends <type the component is extending (check in ./types.ts)>
|
|
16
|
-
*
|
|
17
|
-
for each prop, generate:
|
|
18
|
-
* @prop {type} [props.<prop name>] <prop with the possible values, and default values> - <short description of the prop>
|
|
19
|
-
*
|
|
20
|
-
* @returns <what the component returns>
|
|
21
|
-
*
|
|
22
|
-
* @see https://doc-julseb-lib-react.vercel.app/components/<name of the component>
|
|
23
|
-
*/
|
|
24
|
-
export const {{ pascalCase name }}: FC<ILib{{ pascalCase name }}> = ({ className, element = "{{ lowerCase tag }}", ref, {{#if children}} children,{{/if}} ...rest }) => {
|
|
25
|
-
const Element = element
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<Element ref={ref} className={clsx("", "{{ kebabCase name }}", className)} {...rest}{{#if children}}>
|
|
29
|
-
{children}
|
|
30
|
-
</Element>{{ else }} />{{/if}}
|
|
31
|
-
)
|
|
32
|
-
}
|
package/plop/templates/demo.hbs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { NodePlopAPI, ActionType } from "plop"
|
|
2
|
-
import { BASE_PATH } from "../utils"
|
|
3
|
-
|
|
4
|
-
export default (plop: NodePlopAPI) => {
|
|
5
|
-
const { setGenerator } = plop
|
|
6
|
-
|
|
7
|
-
setGenerator("{{>kebabName}}", {
|
|
8
|
-
description: "",
|
|
9
|
-
prompts: [],
|
|
10
|
-
actions: [],
|
|
11
|
-
// actions: data => {
|
|
12
|
-
// const actions: Array<ActionType> = []
|
|
13
|
-
// return actions
|
|
14
|
-
// },
|
|
15
|
-
})
|
|
16
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export const allComponents = [
|
|
2
|
-
"Text",
|
|
3
|
-
"Wrapper",
|
|
4
|
-
"Main",
|
|
5
|
-
"Aside",
|
|
6
|
-
"Section",
|
|
7
|
-
"Grid",
|
|
8
|
-
"Flexbox",
|
|
9
|
-
"Icon",
|
|
10
|
-
"Key",
|
|
11
|
-
"TextIcon",
|
|
12
|
-
"Highlight",
|
|
13
|
-
"Linkify",
|
|
14
|
-
"Tooltip",
|
|
15
|
-
"Hr",
|
|
16
|
-
"Skeleton",
|
|
17
|
-
"Image",
|
|
18
|
-
"Masonry",
|
|
19
|
-
"FullBleed",
|
|
20
|
-
"Video",
|
|
21
|
-
"Youtube",
|
|
22
|
-
"Badge",
|
|
23
|
-
"Avatar",
|
|
24
|
-
"Loader",
|
|
25
|
-
"Burger",
|
|
26
|
-
"Button",
|
|
27
|
-
"ButtonIcon",
|
|
28
|
-
"ButtonGroup",
|
|
29
|
-
"Tag",
|
|
30
|
-
"Truncate",
|
|
31
|
-
"Card",
|
|
32
|
-
"Input",
|
|
33
|
-
"InputImage",
|
|
34
|
-
"InputCheck",
|
|
35
|
-
"InputPhone",
|
|
36
|
-
"InputCounter",
|
|
37
|
-
"InputSlider",
|
|
38
|
-
"Select",
|
|
39
|
-
"Autocomplete",
|
|
40
|
-
"Rating",
|
|
41
|
-
"InputPin",
|
|
42
|
-
"Form",
|
|
43
|
-
"ListGroup",
|
|
44
|
-
"Breadcrumbs",
|
|
45
|
-
"Accordion",
|
|
46
|
-
"Dropdown",
|
|
47
|
-
"Toast",
|
|
48
|
-
"Alert",
|
|
49
|
-
"Modal",
|
|
50
|
-
"Pagination",
|
|
51
|
-
"Paginator",
|
|
52
|
-
"Stepper",
|
|
53
|
-
"ProgressBar",
|
|
54
|
-
"ProgressCircle",
|
|
55
|
-
"Tabs",
|
|
56
|
-
"Slideshow",
|
|
57
|
-
"Cover",
|
|
58
|
-
"Table",
|
|
59
|
-
"PageLoading",
|
|
60
|
-
"Sticky",
|
|
61
|
-
"Messaging",
|
|
62
|
-
"MarkdownEditor",
|
|
63
|
-
"MarkdownContainer",
|
|
64
|
-
"CodeContainer",
|
|
65
|
-
"Fade",
|
|
66
|
-
"BackToTop",
|
|
67
|
-
"Header",
|
|
68
|
-
"IconMenu",
|
|
69
|
-
"Footer",
|
|
70
|
-
"Helmet",
|
|
71
|
-
"SrOnly",
|
|
72
|
-
]
|
package/plop/utils/constants.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const BASE_PATH = "../src"
|
package/plop/utils/index.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from "./constants.js"
|
|
2
|
-
export { default as surroundBrackets } from "./surround-brackets.js"
|
|
3
|
-
export { default as addOpenBrackets } from "./addOpenBrackets.js"
|
|
4
|
-
export { default as addClosingBrackets } from "./addClosingBrackets.js"
|
|
5
|
-
export * from "./all-components.js"
|
package/public/favicon.svg
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!-- Generator: Adobe Illustrator 25.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
-
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
-
viewBox="0 0 64 64" style="enable-background:new 0 0 64 64;" xml:space="preserve">
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
.st0{fill: #1A2C42;}
|
|
7
|
-
.st1{fill: #FFFFFF;}
|
|
8
|
-
|
|
9
|
-
@media (prefers-color-scheme: dark) {
|
|
10
|
-
.st0 {fill: #FFF;}
|
|
11
|
-
.st1 {fill: #1A2C42;}
|
|
12
|
-
}
|
|
13
|
-
</style>
|
|
14
|
-
<path class="st0" d="M59.05,64H4.95C2.22,64,0,61.78,0,59.05V4.95C0,2.22,2.22,0,4.95,0h54.1C61.78,0,64,2.22,64,4.95v54.1
|
|
15
|
-
C64,61.78,61.78,64,59.05,64z"/>
|
|
16
|
-
<g>
|
|
17
|
-
<path class="st1" d="M29.9,36.9c-0.13,7.62-6.48,11.28-12.91,11.28c-1.1,0-6.34-0.53-9.39-3.44c1.06-1.06,3.18-3.17,6.3-6.39
|
|
18
|
-
c0.66,0.66,1.67,1.1,3.39,1.1c2.25,0,3.92-1.41,3.92-3.83V15.13h8.68V36.9z"/>
|
|
19
|
-
<path class="st1" d="M48.73,25.26c0-1.37-1.14-2.51-2.51-2.51c-1.36,0-2.47,1.15-2.47,2.51c0,1.37,1.11,2.47,2.47,2.47
|
|
20
|
-
c3.22,0,6.13,1.54,7.98,3.92c1.41,1.76,2.2,3.97,2.2,6.39c0,5.64-4.54,10.14-10.18,10.14s-10.18-4.45-10.18-10.27h7.71
|
|
21
|
-
c0,1.41,1.11,2.51,2.47,2.51c1.37,0,2.51-1.1,2.51-2.47c0-1.37-1.14-2.51-2.51-2.51c-5.64,0-10.13-4.49-10.13-10.13
|
|
22
|
-
s4.49-10.18,10.13-10.18S56.4,19.62,56.4,25.26H48.73z"/>
|
|
23
|
-
</g>
|
|
24
|
-
</svg>
|
|
Binary file
|
|
Binary file
|