@julseb-lib/react 0.0.61 → 0.0.64
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/README.md +5 -5
- package/dist/@julseb-lib-react.cjs.js +1 -1
- package/dist/@julseb-lib-react.es.js +2 -2
- package/dist/@julseb-lib-react.umd.js +209 -212
- package/dist/index-CaOLbx-Z.cjs +4142 -0
- package/dist/index-Cf_pM6lO.js +23319 -0
- package/dist/index.d.ts +1 -90
- package/dist/lib/Mixins.tsx +985 -0
- package/dist/lib/Variables.ts +296 -0
- package/dist/lib/components/Accordion/Accordion.tsx +86 -0
- package/dist/lib/components/Accordion/AccordionButton.tsx +72 -0
- package/dist/lib/components/Accordion/AccordionContent.tsx +27 -0
- package/dist/lib/components/Accordion/AccordionItem.tsx +70 -0
- package/dist/lib/components/Accordion/index.ts +4 -0
- package/dist/lib/components/Accordion/styles.tsx +165 -0
- package/dist/lib/components/Accordion/subtypes.ts +22 -0
- package/dist/lib/components/Accordion/types.ts +33 -0
- package/dist/lib/components/Alert/Alert.tsx +118 -0
- package/dist/lib/components/Alert/index.ts +3 -0
- package/dist/lib/components/Alert/styles.tsx +39 -0
- package/dist/lib/components/Alert/types.ts +33 -0
- package/dist/lib/components/Aside/Aside.tsx +42 -0
- package/dist/lib/components/Aside/index.ts +3 -0
- package/dist/lib/components/Aside/styles.tsx +46 -0
- package/dist/lib/components/Aside/types.ts +8 -0
- package/dist/lib/components/Autocomplete/Autocomplete.tsx +352 -0
- package/dist/lib/components/Autocomplete/index.ts +3 -0
- package/dist/lib/components/Autocomplete/styles.tsx +13 -0
- package/dist/lib/components/Autocomplete/types.ts +42 -0
- package/dist/lib/components/Avatar/Avatar.tsx +143 -0
- package/dist/lib/components/Avatar/AvatarFunction.tsx +136 -0
- package/dist/lib/components/Avatar/index.ts +3 -0
- package/dist/lib/components/Avatar/styles.tsx +117 -0
- package/dist/lib/components/Avatar/types.ts +86 -0
- package/dist/lib/components/BackToTop/BackToTop.tsx +101 -0
- package/dist/lib/components/BackToTop/index.ts +3 -0
- package/dist/lib/components/BackToTop/styles.tsx +35 -0
- package/dist/lib/components/BackToTop/types.ts +8 -0
- package/dist/lib/components/Badge/Badge.tsx +94 -0
- package/dist/lib/components/Badge/index.ts +3 -0
- package/dist/lib/components/Badge/styles.tsx +41 -0
- package/dist/lib/components/Badge/types.ts +34 -0
- package/dist/lib/components/Breadcrumbs/BreadcrumbItem.tsx +42 -0
- package/dist/lib/components/Breadcrumbs/Breadcrumbs.tsx +52 -0
- package/dist/lib/components/Breadcrumbs/BreadcrumbsFn.tsx +76 -0
- package/dist/lib/components/Breadcrumbs/index.ts +3 -0
- package/dist/lib/components/Breadcrumbs/styles.tsx +64 -0
- package/dist/lib/components/Breadcrumbs/subtypes.ts +12 -0
- package/dist/lib/components/Breadcrumbs/types.ts +31 -0
- package/dist/lib/components/Burger/Burger.tsx +59 -0
- package/dist/lib/components/Burger/index.ts +3 -0
- package/dist/lib/components/Burger/styles.tsx +93 -0
- package/dist/lib/components/Burger/types.ts +13 -0
- package/dist/lib/components/Button/Button.tsx +134 -0
- package/dist/lib/components/Button/index.ts +3 -0
- package/dist/lib/components/Button/styles.tsx +32 -0
- package/dist/lib/components/Button/subtypes.ts +12 -0
- package/dist/lib/components/Button/types.ts +72 -0
- package/dist/lib/components/ButtonGroup/ButtonGroup.tsx +158 -0
- package/dist/lib/components/ButtonGroup/ButtonGroupButton.tsx +89 -0
- package/dist/lib/components/ButtonGroup/ButtonGroupToggle.tsx +99 -0
- package/dist/lib/components/ButtonGroup/index.ts +3 -0
- package/dist/lib/components/ButtonGroup/styles.tsx +91 -0
- package/dist/lib/components/ButtonGroup/subtypes.ts +42 -0
- package/dist/lib/components/ButtonGroup/types.ts +36 -0
- package/dist/lib/components/ButtonIcon/ButtonFunction.tsx +95 -0
- package/dist/lib/components/ButtonIcon/ButtonIcon.tsx +139 -0
- package/dist/lib/components/ButtonIcon/index.ts +3 -0
- package/dist/lib/components/ButtonIcon/styles.tsx +31 -0
- package/dist/lib/components/ButtonIcon/subtypes.ts +12 -0
- package/dist/lib/components/ButtonIcon/types.ts +90 -0
- package/dist/lib/components/Card/Card.tsx +133 -0
- package/dist/lib/components/Card/index.ts +3 -0
- package/dist/lib/components/Card/styles.tsx +75 -0
- package/dist/lib/components/Card/types.ts +29 -0
- package/dist/lib/components/CodeContainer/CodeContainer.tsx +135 -0
- package/dist/lib/components/CodeContainer/index.ts +3 -0
- package/dist/lib/components/CodeContainer/styles.tsx +65 -0
- package/dist/lib/components/CodeContainer/types.ts +235 -0
- package/dist/lib/components/ComponentsMixins/ComponentsMixins.tsx +441 -0
- package/dist/lib/components/ComponentsMixins/hooks/useKeyboardNavigation.tsx +81 -0
- package/dist/lib/components/ComponentsMixins/index.ts +5 -0
- package/dist/lib/components/ComponentsMixins/types.ts +37 -0
- package/dist/lib/components/Cover/Cover.tsx +72 -0
- package/dist/lib/components/Cover/index.ts +3 -0
- package/dist/lib/components/Cover/styles.tsx +80 -0
- package/dist/lib/components/Cover/types.ts +14 -0
- package/dist/lib/components/Datepicker/Calendar.tsx +395 -0
- package/dist/lib/components/Datepicker/Datepicker.tsx +254 -0
- package/dist/lib/components/Datepicker/data.ts +33 -0
- package/dist/lib/components/Datepicker/index.ts +3 -0
- package/dist/lib/components/Datepicker/styles.tsx +456 -0
- package/dist/lib/components/Datepicker/types.ts +68 -0
- package/dist/lib/components/DragList/DragList.tsx +127 -0
- package/dist/lib/components/DragList/DragListItem.tsx +191 -0
- package/dist/lib/components/DragList/index.ts +4 -0
- package/dist/lib/components/DragList/styles.tsx +75 -0
- package/dist/lib/components/DragList/types.ts +65 -0
- package/dist/lib/components/Drawer/Drawer.tsx +110 -0
- package/dist/lib/components/Drawer/index.ts +3 -0
- package/dist/lib/components/Drawer/styles.tsx +136 -0
- package/dist/lib/components/Drawer/types.ts +28 -0
- package/dist/lib/components/Dropdown/Dropdown.tsx +89 -0
- package/dist/lib/components/Dropdown/DropdownContainer.tsx +39 -0
- package/dist/lib/components/Dropdown/DropdownItem.tsx +97 -0
- package/dist/lib/components/Dropdown/index.ts +5 -0
- package/dist/lib/components/Dropdown/styles.tsx +156 -0
- package/dist/lib/components/Dropdown/types.ts +71 -0
- package/dist/lib/components/Fade/Fade.tsx +42 -0
- package/dist/lib/components/Fade/index.ts +3 -0
- package/dist/lib/components/Fade/styles.tsx +19 -0
- package/dist/lib/components/Fade/types.ts +5 -0
- package/dist/lib/components/Fallback/Fallback.tsx +37 -0
- package/dist/lib/components/Fallback/index.ts +3 -0
- package/dist/lib/components/Fieldset/Fieldset.tsx +107 -0
- package/dist/lib/components/Fieldset/index.ts +3 -0
- package/dist/lib/components/Fieldset/styles.tsx +50 -0
- package/dist/lib/components/Fieldset/types.ts +34 -0
- package/dist/lib/components/Flexbox/Flexbox.tsx +69 -0
- package/dist/lib/components/Flexbox/index.ts +3 -0
- package/dist/lib/components/Flexbox/styles.tsx +34 -0
- package/dist/lib/components/Flexbox/types.ts +27 -0
- package/dist/lib/components/Footer/Footer.tsx +106 -0
- package/dist/lib/components/Footer/FooterLink.tsx +31 -0
- package/dist/lib/components/Footer/FooterLogo.tsx +30 -0
- package/dist/lib/components/Footer/index.ts +3 -0
- package/dist/lib/components/Footer/styles.tsx +126 -0
- package/dist/lib/components/Footer/subtypes.ts +14 -0
- package/dist/lib/components/Footer/types.ts +76 -0
- package/dist/lib/components/Form/Form.tsx +148 -0
- package/dist/lib/components/Form/index.ts +3 -0
- package/dist/lib/components/Form/styles.tsx +24 -0
- package/dist/lib/components/Form/types.ts +32 -0
- package/dist/lib/components/FullBleed/FullBleed.tsx +45 -0
- package/dist/lib/components/FullBleed/index.ts +3 -0
- package/dist/lib/components/FullBleed/styles.tsx +32 -0
- package/dist/lib/components/FullBleed/types.ts +9 -0
- package/dist/lib/components/Grid/Grid.tsx +66 -0
- package/dist/lib/components/Grid/index.ts +3 -0
- package/dist/lib/components/Grid/styles.tsx +31 -0
- package/dist/lib/components/Grid/types.ts +24 -0
- package/dist/lib/components/Header/Header.tsx +212 -0
- package/dist/lib/components/Header/HeaderBurger.tsx +59 -0
- package/dist/lib/components/Header/HeaderLogo.tsx +65 -0
- package/dist/lib/components/Header/HeaderNav.tsx +82 -0
- package/dist/lib/components/Header/HeaderNavLink.tsx +32 -0
- package/dist/lib/components/Header/HeaderSearch.tsx +83 -0
- package/dist/lib/components/Header/index.ts +3 -0
- package/dist/lib/components/Header/styles.tsx +352 -0
- package/dist/lib/components/Header/subtypes.ts +86 -0
- package/dist/lib/components/Header/types.ts +91 -0
- package/dist/lib/components/Helmet/Helmet.tsx +67 -0
- package/dist/lib/components/Helmet/index.ts +3 -0
- package/dist/lib/components/Helmet/types.ts +17 -0
- package/dist/lib/components/Highlight/Highlight.tsx +45 -0
- package/dist/lib/components/Highlight/index.ts +3 -0
- package/dist/lib/components/Highlight/types.ts +11 -0
- package/dist/lib/components/Hr/Hr.tsx +50 -0
- package/dist/lib/components/Hr/index.ts +3 -0
- package/dist/lib/components/Hr/styles.tsx +29 -0
- package/dist/lib/components/Hr/types.ts +12 -0
- package/dist/lib/components/Icon/Icon.tsx +42 -0
- package/dist/lib/components/Icon/index.ts +3 -0
- package/dist/lib/components/Icon/styles.tsx +21 -0
- package/dist/lib/components/Icon/types.ts +13 -0
- package/dist/lib/components/IconMenu/IconMenu.tsx +157 -0
- package/dist/lib/components/IconMenu/IconMenuItem.tsx +74 -0
- package/dist/lib/components/IconMenu/index.ts +4 -0
- package/dist/lib/components/IconMenu/styles.tsx +116 -0
- package/dist/lib/components/IconMenu/types.ts +56 -0
- package/dist/lib/components/Image/Image.tsx +106 -0
- package/dist/lib/components/Image/ImageFunction.tsx +53 -0
- package/dist/lib/components/Image/index.ts +3 -0
- package/dist/lib/components/Image/styles.tsx +87 -0
- package/dist/lib/components/Image/types.ts +48 -0
- package/dist/lib/components/Input/Input.tsx +189 -0
- package/dist/lib/components/Input/index.ts +3 -0
- package/dist/lib/components/Input/styles.tsx +41 -0
- package/dist/lib/components/Input/subtypes.ts +186 -0
- package/dist/lib/components/Input/templates/ColorInput.tsx +40 -0
- package/dist/lib/components/Input/templates/DateInput.tsx +127 -0
- package/dist/lib/components/Input/templates/FileInput.tsx +61 -0
- package/dist/lib/components/Input/templates/PasswordInput.tsx +197 -0
- package/dist/lib/components/Input/templates/SearchInput.tsx +140 -0
- package/dist/lib/components/Input/templates/SelectInput.tsx +116 -0
- package/dist/lib/components/Input/templates/TextInput.tsx +116 -0
- package/dist/lib/components/Input/templates/TextareaInput.tsx +43 -0
- package/dist/lib/components/Input/templates/TimeInput.tsx +126 -0
- package/dist/lib/components/Input/types.ts +24 -0
- package/dist/lib/components/InputCheck/InputCheck.tsx +138 -0
- package/dist/lib/components/InputCheck/index.ts +3 -0
- package/dist/lib/components/InputCheck/styles.tsx +284 -0
- package/dist/lib/components/InputCheck/types.ts +35 -0
- package/dist/lib/components/InputComponents/components/InputAndListContainer.tsx +51 -0
- package/dist/lib/components/InputComponents/components/InputButton.tsx +62 -0
- package/dist/lib/components/InputComponents/components/InputContainer.tsx +70 -0
- package/dist/lib/components/InputComponents/components/InputIcon.tsx +51 -0
- package/dist/lib/components/InputComponents/components/InputLeftContainer.tsx +29 -0
- package/dist/lib/components/InputComponents/components/InputPrefix.tsx +31 -0
- package/dist/lib/components/InputComponents/components/InputRightContainer.tsx +35 -0
- package/dist/lib/components/InputComponents/components/InputSuffix.tsx +31 -0
- package/dist/lib/components/InputComponents/components/InputValidationHelper.tsx +98 -0
- package/dist/lib/components/InputComponents/components/InputValidationIcon.tsx +66 -0
- package/dist/lib/components/InputComponents/components/InputWrapper.tsx +46 -0
- package/dist/lib/components/InputComponents/components/ListInput.tsx +51 -0
- package/dist/lib/components/InputComponents/components/ListInputItem.tsx +56 -0
- package/dist/lib/components/InputComponents/index.ts +15 -0
- package/dist/lib/components/InputComponents/styles.tsx +738 -0
- package/dist/lib/components/InputComponents/types.ts +289 -0
- package/dist/lib/components/InputContainer/HelperBottom.tsx +96 -0
- package/dist/lib/components/InputContainer/InputContainer.tsx +132 -0
- package/dist/lib/components/InputContainer/index.ts +3 -0
- package/dist/lib/components/InputContainer/styles.tsx +89 -0
- package/dist/lib/components/InputContainer/subtypes.ts +10 -0
- package/dist/lib/components/InputContainer/types.ts +25 -0
- package/dist/lib/components/InputCounter/InputCounter.tsx +287 -0
- package/dist/lib/components/InputCounter/index.ts +3 -0
- package/dist/lib/components/InputCounter/styles.tsx +53 -0
- package/dist/lib/components/InputCounter/subtypes.ts +9 -0
- package/dist/lib/components/InputCounter/types.ts +51 -0
- package/dist/lib/components/InputImage/EmptyContainer.tsx +41 -0
- package/dist/lib/components/InputImage/HoverContainer.tsx +48 -0
- package/dist/lib/components/InputImage/InputImage.tsx +151 -0
- package/dist/lib/components/InputImage/index.ts +3 -0
- package/dist/lib/components/InputImage/styles.tsx +115 -0
- package/dist/lib/components/InputImage/subtypes.ts +30 -0
- package/dist/lib/components/InputImage/types.ts +25 -0
- package/dist/lib/components/InputPhone/InputPhone.tsx +386 -0
- package/dist/lib/components/InputPhone/index.ts +3 -0
- package/dist/lib/components/InputPhone/styles.tsx +219 -0
- package/dist/lib/components/InputPhone/types.ts +35 -0
- package/dist/lib/components/InputPhone/utils/countries.ts +648 -0
- package/dist/lib/components/InputPhone/utils/flags/ac.svg +76 -0
- package/dist/lib/components/InputPhone/utils/flags/ad.svg +150 -0
- package/dist/lib/components/InputPhone/utils/flags/ae.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/af.svg +81 -0
- package/dist/lib/components/InputPhone/utils/flags/ag.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/ai.svg +758 -0
- package/dist/lib/components/InputPhone/utils/flags/al.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/am.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/ao.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/aq.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/ar.svg +32 -0
- package/dist/lib/components/InputPhone/utils/flags/as.svg +72 -0
- package/dist/lib/components/InputPhone/utils/flags/at.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/au.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/aw.svg +186 -0
- package/dist/lib/components/InputPhone/utils/flags/ax.svg +18 -0
- package/dist/lib/components/InputPhone/utils/flags/az.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/ba.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/bb.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/bd.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/be.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/bf.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/bg.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/bh.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/bi.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/bj.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/bl.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/bm.svg +97 -0
- package/dist/lib/components/InputPhone/utils/flags/bn.svg +36 -0
- package/dist/lib/components/InputPhone/utils/flags/bo.svg +676 -0
- package/dist/lib/components/InputPhone/utils/flags/bq.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/br.svg +45 -0
- package/dist/lib/components/InputPhone/utils/flags/bs.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/bt.svg +89 -0
- package/dist/lib/components/InputPhone/utils/flags/bv.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/bw.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/by.svg +20 -0
- package/dist/lib/components/InputPhone/utils/flags/bz.svg +145 -0
- package/dist/lib/components/InputPhone/utils/flags/ca.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/cc.svg +19 -0
- package/dist/lib/components/InputPhone/utils/flags/cd.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/cefta.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/cf.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/cg.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/ch.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/ci.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/ck.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/cl.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/cm.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/cn.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/co.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/cp.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/cr.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/cu.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/cv.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/cw.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/cx.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/cy.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/cz.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/de.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/dg.svg +129 -0
- package/dist/lib/components/InputPhone/utils/flags/dj.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/dk.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/dm.svg +152 -0
- package/dist/lib/components/InputPhone/utils/flags/do.svg +6745 -0
- package/dist/lib/components/InputPhone/utils/flags/dz.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/ea.svg +544 -0
- package/dist/lib/components/InputPhone/utils/flags/ec.svg +138 -0
- package/dist/lib/components/InputPhone/utils/flags/ee.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/eg.svg +38 -0
- package/dist/lib/components/InputPhone/utils/flags/eh.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/er.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/es-ct.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/es-ga.svg +187 -0
- package/dist/lib/components/InputPhone/utils/flags/es.svg +544 -0
- package/dist/lib/components/InputPhone/utils/flags/et.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/eu.svg +28 -0
- package/dist/lib/components/InputPhone/utils/flags/fi.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/fj.svg +120 -0
- package/dist/lib/components/InputPhone/utils/flags/fk.svg +90 -0
- package/dist/lib/components/InputPhone/utils/flags/fm.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/fo.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/fr.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/ga.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/gb-eng.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/gb-nir.svg +132 -0
- package/dist/lib/components/InputPhone/utils/flags/gb-sct.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/gb-wls.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/gb.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/gd.svg +27 -0
- package/dist/lib/components/InputPhone/utils/flags/ge.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/gf.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/gg.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/gh.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/gi.svg +32 -0
- package/dist/lib/components/InputPhone/utils/flags/gl.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/gm.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/gn.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/gp.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/gq.svg +23 -0
- package/dist/lib/components/InputPhone/utils/flags/gr.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/gs.svg +133 -0
- package/dist/lib/components/InputPhone/utils/flags/gt.svg +220 -0
- package/dist/lib/components/InputPhone/utils/flags/gu.svg +23 -0
- package/dist/lib/components/InputPhone/utils/flags/gw.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/gy.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/hk.svg +30 -0
- package/dist/lib/components/InputPhone/utils/flags/hm.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/hn.svg +18 -0
- package/dist/lib/components/InputPhone/utils/flags/hr.svg +58 -0
- package/dist/lib/components/InputPhone/utils/flags/ht.svg +116 -0
- package/dist/lib/components/InputPhone/utils/flags/hu.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/ic.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/id.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/ie.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/il.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/im.svg +36 -0
- package/dist/lib/components/InputPhone/utils/flags/in.svg +25 -0
- package/dist/lib/components/InputPhone/utils/flags/io.svg +129 -0
- package/dist/lib/components/InputPhone/utils/flags/iq.svg +10 -0
- package/dist/lib/components/InputPhone/utils/flags/ir.svg +219 -0
- package/dist/lib/components/InputPhone/utils/flags/is.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/it.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/je.svg +45 -0
- package/dist/lib/components/InputPhone/utils/flags/jm.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/jo.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/jp.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/ke.svg +23 -0
- package/dist/lib/components/InputPhone/utils/flags/kg.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/kh.svg +61 -0
- package/dist/lib/components/InputPhone/utils/flags/ki.svg +36 -0
- package/dist/lib/components/InputPhone/utils/flags/km.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/kn.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/kp.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/kr.svg +24 -0
- package/dist/lib/components/InputPhone/utils/flags/kw.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/ky.svg +109 -0
- package/dist/lib/components/InputPhone/utils/flags/kz.svg +23 -0
- package/dist/lib/components/InputPhone/utils/flags/la.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/lb.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/lc.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/li.svg +43 -0
- package/dist/lib/components/InputPhone/utils/flags/lk.svg +22 -0
- package/dist/lib/components/InputPhone/utils/flags/lr.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/ls.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/lt.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/lu.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/lv.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/ly.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/ma.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/mc.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/md.svg +70 -0
- package/dist/lib/components/InputPhone/utils/flags/me.svg +116 -0
- package/dist/lib/components/InputPhone/utils/flags/mf.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mg.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mh.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mk.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/ml.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mm.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/mn.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/mo.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/mp.svg +86 -0
- package/dist/lib/components/InputPhone/utils/flags/mq.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mr.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/ms.svg +33 -0
- package/dist/lib/components/InputPhone/utils/flags/mt.svg +49 -0
- package/dist/lib/components/InputPhone/utils/flags/mu.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/mv.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/mw.svg +10 -0
- package/dist/lib/components/InputPhone/utils/flags/mx.svg +382 -0
- package/dist/lib/components/InputPhone/utils/flags/my.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/mz.svg +21 -0
- package/dist/lib/components/InputPhone/utils/flags/na.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/nc.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/ne.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/nf.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/ng.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/ni.svg +129 -0
- package/dist/lib/components/InputPhone/utils/flags/nl.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/no.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/np.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/nr.svg +12 -0
- package/dist/lib/components/InputPhone/utils/flags/nu.svg +10 -0
- package/dist/lib/components/InputPhone/utils/flags/nz.svg +36 -0
- package/dist/lib/components/InputPhone/utils/flags/om.svg +115 -0
- package/dist/lib/components/InputPhone/utils/flags/pa.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/pe.svg +244 -0
- package/dist/lib/components/InputPhone/utils/flags/pf.svg +19 -0
- package/dist/lib/components/InputPhone/utils/flags/pg.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/ph.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/pk.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/pl.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/pm.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/pn.svg +53 -0
- package/dist/lib/components/InputPhone/utils/flags/pr.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/ps.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/pt.svg +57 -0
- package/dist/lib/components/InputPhone/utils/flags/pw.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/py.svg +157 -0
- package/dist/lib/components/InputPhone/utils/flags/qa.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/re.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/ro.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/rs.svg +292 -0
- package/dist/lib/components/InputPhone/utils/flags/ru.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/rw.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/sa.svg +26 -0
- package/dist/lib/components/InputPhone/utils/flags/sb.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/sc.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/sd.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/se.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/sg.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/sh.svg +76 -0
- package/dist/lib/components/InputPhone/utils/flags/si.svg +18 -0
- package/dist/lib/components/InputPhone/utils/flags/sj.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/sk.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/sl.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/sm.svg +75 -0
- package/dist/lib/components/InputPhone/utils/flags/sn.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/so.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/sr.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/ss.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/st.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/sv.svg +594 -0
- package/dist/lib/components/InputPhone/utils/flags/sx.svg +56 -0
- package/dist/lib/components/InputPhone/utils/flags/sy.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/sz.svg +34 -0
- package/dist/lib/components/InputPhone/utils/flags/ta.svg +76 -0
- package/dist/lib/components/InputPhone/utils/flags/tc.svg +50 -0
- package/dist/lib/components/InputPhone/utils/flags/td.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/tf.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/tg.svg +14 -0
- package/dist/lib/components/InputPhone/utils/flags/th.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/tj.svg +22 -0
- package/dist/lib/components/InputPhone/utils/flags/tk.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/tl.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/tm.svg +205 -0
- package/dist/lib/components/InputPhone/utils/flags/tn.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/to.svg +10 -0
- package/dist/lib/components/InputPhone/utils/flags/tr.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/tt.svg +5 -0
- package/dist/lib/components/InputPhone/utils/flags/tv.svg +9 -0
- package/dist/lib/components/InputPhone/utils/flags/tw.svg +34 -0
- package/dist/lib/components/InputPhone/utils/flags/tz.svg +13 -0
- package/dist/lib/components/InputPhone/utils/flags/ua.svg +6 -0
- package/dist/lib/components/InputPhone/utils/flags/ug.svg +30 -0
- package/dist/lib/components/InputPhone/utils/flags/um.svg +15 -0
- package/dist/lib/components/InputPhone/utils/flags/un.svg +16 -0
- package/dist/lib/components/InputPhone/utils/flags/us.svg +10 -0
- package/dist/lib/components/InputPhone/utils/flags/uy.svg +28 -0
- package/dist/lib/components/InputPhone/utils/flags/uz.svg +30 -0
- package/dist/lib/components/InputPhone/utils/flags/va.svg +479 -0
- package/dist/lib/components/InputPhone/utils/flags/vc.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/ve.svg +26 -0
- package/dist/lib/components/InputPhone/utils/flags/vg.svg +63 -0
- package/dist/lib/components/InputPhone/utils/flags/vi.svg +28 -0
- package/dist/lib/components/InputPhone/utils/flags/vn.svg +11 -0
- package/dist/lib/components/InputPhone/utils/flags/vu.svg +21 -0
- package/dist/lib/components/InputPhone/utils/flags/wf.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/ws.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/xk.svg +8 -0
- package/dist/lib/components/InputPhone/utils/flags/xx.svg +4 -0
- package/dist/lib/components/InputPhone/utils/flags/ye.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/yt.svg +7 -0
- package/dist/lib/components/InputPhone/utils/flags/za.svg +17 -0
- package/dist/lib/components/InputPhone/utils/flags/zm.svg +27 -0
- package/dist/lib/components/InputPhone/utils/flags/zw.svg +21 -0
- package/dist/lib/components/InputPin/InputPin.tsx +138 -0
- package/dist/lib/components/InputPin/index.ts +3 -0
- package/dist/lib/components/InputPin/styles.tsx +70 -0
- package/dist/lib/components/InputPin/subtypes.ts +11 -0
- package/dist/lib/components/InputPin/types.ts +31 -0
- package/dist/lib/components/InputSlider/InputSlider.tsx +184 -0
- package/dist/lib/components/InputSlider/Slider.tsx +52 -0
- package/dist/lib/components/InputSlider/index.ts +3 -0
- package/dist/lib/components/InputSlider/styles.tsx +292 -0
- package/dist/lib/components/InputSlider/types.ts +14 -0
- package/dist/lib/components/Key/Key.tsx +45 -0
- package/dist/lib/components/Key/index.ts +3 -0
- package/dist/lib/components/Key/styles.tsx +29 -0
- package/dist/lib/components/Key/types.ts +11 -0
- package/dist/lib/components/LibIcon/LibIcon.tsx +35 -0
- package/dist/lib/components/LibIcon/index.ts +3 -0
- package/dist/lib/components/LibIcon/types.ts +9 -0
- package/dist/lib/components/Link/Link.tsx +68 -0
- package/dist/lib/components/Link/index.ts +3 -0
- package/dist/lib/components/Link/types.ts +9 -0
- package/dist/lib/components/Linkify/Linkify.tsx +51 -0
- package/dist/lib/components/Linkify/index.ts +3 -0
- package/dist/lib/components/Linkify/types.ts +8 -0
- package/dist/lib/components/ListGroup/ListGroup.tsx +113 -0
- package/dist/lib/components/ListGroup/ListGroupItem.tsx +164 -0
- package/dist/lib/components/ListGroup/ListGroupTitle.tsx +56 -0
- package/dist/lib/components/ListGroup/index.ts +5 -0
- package/dist/lib/components/ListGroup/styles.tsx +179 -0
- package/dist/lib/components/ListGroup/types.ts +114 -0
- package/dist/lib/components/Loader/Loader.tsx +35 -0
- package/dist/lib/components/Loader/index.ts +3 -0
- package/dist/lib/components/Loader/styles.tsx +140 -0
- package/dist/lib/components/Loader/templates/LoaderFour.tsx +24 -0
- package/dist/lib/components/Loader/templates/LoaderOne.tsx +24 -0
- package/dist/lib/components/Loader/templates/LoaderThree.tsx +29 -0
- package/dist/lib/components/Loader/templates/LoaderTwo.tsx +24 -0
- package/dist/lib/components/Loader/types.ts +25 -0
- package/dist/lib/components/Main/Main.tsx +45 -0
- package/dist/lib/components/Main/index.ts +3 -0
- package/dist/lib/components/Main/styles.tsx +61 -0
- package/dist/lib/components/Main/types.ts +19 -0
- package/dist/lib/components/MarkdownContainer/MarkdownContainer.tsx +35 -0
- package/dist/lib/components/MarkdownContainer/index.ts +3 -0
- package/dist/lib/components/MarkdownContainer/styles.tsx +17 -0
- package/dist/lib/components/MarkdownContainer/types.ts +9 -0
- package/dist/lib/components/MarkdownEditor/MarkdownEditor.tsx +196 -0
- package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.tsx +77 -0
- package/dist/lib/components/MarkdownEditor/MdEditorButtons/EditorButtons.tsx +75 -0
- package/dist/lib/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.tsx +54 -0
- package/dist/lib/components/MarkdownEditor/MdEditorInput.tsx +98 -0
- package/dist/lib/components/MarkdownEditor/index.ts +3 -0
- package/dist/lib/components/MarkdownEditor/markdown-buttons.tsx +182 -0
- package/dist/lib/components/MarkdownEditor/styles.tsx +187 -0
- package/dist/lib/components/MarkdownEditor/subtypes.ts +55 -0
- package/dist/lib/components/MarkdownEditor/types.ts +59 -0
- package/dist/lib/components/Masonry/Masonry.tsx +67 -0
- package/dist/lib/components/Masonry/index.ts +3 -0
- package/dist/lib/components/Masonry/styles.tsx +24 -0
- package/dist/lib/components/Masonry/types.ts +10 -0
- package/dist/lib/components/Masonry/utils.ts +30 -0
- package/dist/lib/components/Messaging/Message.tsx +106 -0
- package/dist/lib/components/Messaging/MessageForm.tsx +144 -0
- package/dist/lib/components/Messaging/MessagesContainer.tsx +29 -0
- package/dist/lib/components/Messaging/MessagesList.tsx +136 -0
- package/dist/lib/components/Messaging/Messaging.tsx +123 -0
- package/dist/lib/components/Messaging/index.ts +7 -0
- package/dist/lib/components/Messaging/styles.tsx +177 -0
- package/dist/lib/components/Messaging/types.ts +131 -0
- package/dist/lib/components/Modal/Modal.tsx +127 -0
- package/dist/lib/components/Modal/index.ts +3 -0
- package/dist/lib/components/Modal/styles.tsx +62 -0
- package/dist/lib/components/Modal/types.ts +38 -0
- package/dist/lib/components/PageLayout/PageLayout.tsx +80 -0
- package/dist/lib/components/PageLayout/index.ts +3 -0
- package/dist/lib/components/PageLayout/types.ts +47 -0
- package/dist/lib/components/PageLoading/PageLoading.tsx +64 -0
- package/dist/lib/components/PageLoading/index.ts +3 -0
- package/dist/lib/components/PageLoading/styles.tsx +24 -0
- package/dist/lib/components/PageLoading/types.ts +15 -0
- package/dist/lib/components/Pagination/Pagination.tsx +265 -0
- package/dist/lib/components/Pagination/PaginationButton.tsx +51 -0
- package/dist/lib/components/Pagination/index.ts +4 -0
- package/dist/lib/components/Pagination/styles.tsx +72 -0
- package/dist/lib/components/Pagination/types.ts +61 -0
- package/dist/lib/components/Paginator/Paginator.tsx +162 -0
- package/dist/lib/components/Paginator/index.ts +3 -0
- package/dist/lib/components/Paginator/styles.tsx +36 -0
- package/dist/lib/components/Paginator/types.ts +16 -0
- package/dist/lib/components/ProgressBar/ProgressBar.tsx +68 -0
- package/dist/lib/components/ProgressBar/index.ts +3 -0
- package/dist/lib/components/ProgressBar/styles.tsx +55 -0
- package/dist/lib/components/ProgressBar/types.ts +13 -0
- package/dist/lib/components/ProgressCircle/Circle.tsx +30 -0
- package/dist/lib/components/ProgressCircle/ProgressCircle.tsx +93 -0
- package/dist/lib/components/ProgressCircle/ProgressCircleFn.tsx +48 -0
- package/dist/lib/components/ProgressCircle/Value.tsx +31 -0
- package/dist/lib/components/ProgressCircle/clean-percentage.ts +7 -0
- package/dist/lib/components/ProgressCircle/index.ts +3 -0
- package/dist/lib/components/ProgressCircle/styles.tsx +55 -0
- package/dist/lib/components/ProgressCircle/subtypes.ts +11 -0
- package/dist/lib/components/ProgressCircle/types.ts +31 -0
- package/dist/lib/components/Rating/Rating.tsx +177 -0
- package/dist/lib/components/Rating/index.ts +3 -0
- package/dist/lib/components/Rating/styles.tsx +52 -0
- package/dist/lib/components/Rating/types.ts +24 -0
- package/dist/lib/components/ResetScroll/ResetScroll.tsx +22 -0
- package/dist/lib/components/ResetScroll/index.ts +3 -0
- package/dist/lib/components/Section/Section.tsx +30 -0
- package/dist/lib/components/Section/index.ts +3 -0
- package/dist/lib/components/Section/styles.tsx +24 -0
- package/dist/lib/components/Section/types.ts +7 -0
- package/dist/lib/components/Select/Select.tsx +284 -0
- package/dist/lib/components/Select/SelectButton.tsx +58 -0
- package/dist/lib/components/Select/index.ts +3 -0
- package/dist/lib/components/Select/styles.tsx +22 -0
- package/dist/lib/components/Select/subtypes.ts +32 -0
- package/dist/lib/components/Select/types.ts +33 -0
- package/dist/lib/components/Skeleton/Skeleton.tsx +60 -0
- package/dist/lib/components/Skeleton/SkeletonCard.tsx +78 -0
- package/dist/lib/components/Skeleton/SkeletonShine.tsx +26 -0
- package/dist/lib/components/Skeleton/index.ts +5 -0
- package/dist/lib/components/Skeleton/styles.tsx +102 -0
- package/dist/lib/components/Skeleton/subtypes.ts +16 -0
- package/dist/lib/components/Skeleton/types.ts +39 -0
- package/dist/lib/components/Slideshow/Slideshow.tsx +218 -0
- package/dist/lib/components/Slideshow/SlideshowButton.tsx +99 -0
- package/dist/lib/components/Slideshow/SlideshowPagination.tsx +84 -0
- package/dist/lib/components/Slideshow/index.ts +3 -0
- package/dist/lib/components/Slideshow/styles.tsx +361 -0
- package/dist/lib/components/Slideshow/subtypes.ts +22 -0
- package/dist/lib/components/Slideshow/types.ts +99 -0
- package/dist/lib/components/SrOnly/SrOnly.tsx +23 -0
- package/dist/lib/components/SrOnly/index.ts +3 -0
- package/dist/lib/components/SrOnly/styles.tsx +21 -0
- package/dist/lib/components/SrOnly/types.ts +5 -0
- package/dist/lib/components/Stepper/Step.tsx +118 -0
- package/dist/lib/components/Stepper/Stepper.tsx +96 -0
- package/dist/lib/components/Stepper/index.ts +4 -0
- package/dist/lib/components/Stepper/styles.tsx +115 -0
- package/dist/lib/components/Stepper/types.ts +48 -0
- package/dist/lib/components/Sticky/Sticky.tsx +30 -0
- package/dist/lib/components/Sticky/index.ts +3 -0
- package/dist/lib/components/Sticky/styles.tsx +15 -0
- package/dist/lib/components/Sticky/types.ts +7 -0
- package/dist/lib/components/Table/TBody.tsx +17 -0
- package/dist/lib/components/Table/THead.tsx +17 -0
- package/dist/lib/components/Table/Table.tsx +124 -0
- package/dist/lib/components/Table/Td.tsx +26 -0
- package/dist/lib/components/Table/Tr.tsx +17 -0
- package/dist/lib/components/Table/index.ts +7 -0
- package/dist/lib/components/Table/styles.tsx +114 -0
- package/dist/lib/components/Table/types.ts +52 -0
- package/dist/lib/components/Tabs/TabButton.tsx +50 -0
- package/dist/lib/components/Tabs/TabItem.tsx +34 -0
- package/dist/lib/components/Tabs/Tabs.tsx +137 -0
- package/dist/lib/components/Tabs/TabsButtonsContainer.tsx +46 -0
- package/dist/lib/components/Tabs/TabsContainer.tsx +23 -0
- package/dist/lib/components/Tabs/index.ts +7 -0
- package/dist/lib/components/Tabs/styles.tsx +178 -0
- package/dist/lib/components/Tabs/types.ts +60 -0
- package/dist/lib/components/Tag/Tag.tsx +97 -0
- package/dist/lib/components/Tag/index.ts +3 -0
- package/dist/lib/components/Tag/styles.tsx +41 -0
- package/dist/lib/components/Tag/types.ts +43 -0
- package/dist/lib/components/Text/Text.tsx +69 -0
- package/dist/lib/components/Text/index.ts +3 -0
- package/dist/lib/components/Text/styles.tsx +230 -0
- package/dist/lib/components/Text/subtypes.ts +15 -0
- package/dist/lib/components/Text/templates/Blockquote.tsx +34 -0
- package/dist/lib/components/Text/templates/Dl.tsx +34 -0
- package/dist/lib/components/Text/templates/Em.tsx +34 -0
- package/dist/lib/components/Text/templates/H1.tsx +36 -0
- package/dist/lib/components/Text/templates/H2.tsx +36 -0
- package/dist/lib/components/Text/templates/H3.tsx +36 -0
- package/dist/lib/components/Text/templates/H4.tsx +36 -0
- package/dist/lib/components/Text/templates/H5.tsx +36 -0
- package/dist/lib/components/Text/templates/H6.tsx +34 -0
- package/dist/lib/components/Text/templates/Ol.tsx +34 -0
- package/dist/lib/components/Text/templates/P.tsx +34 -0
- package/dist/lib/components/Text/templates/Small.tsx +34 -0
- package/dist/lib/components/Text/templates/Strong.tsx +34 -0
- package/dist/lib/components/Text/templates/Ul.tsx +34 -0
- package/dist/lib/components/Text/types.ts +28 -0
- package/dist/lib/components/TextIcon/TextIcon.tsx +104 -0
- package/dist/lib/components/TextIcon/index.ts +3 -0
- package/dist/lib/components/TextIcon/styles.tsx +38 -0
- package/dist/lib/components/TextIcon/types.ts +21 -0
- package/dist/lib/components/TextIcon/utils.ts +57 -0
- package/dist/lib/components/Timepicker/Timepicker.tsx +295 -0
- package/dist/lib/components/Timepicker/index.ts +3 -0
- package/dist/lib/components/Timepicker/styles.tsx +34 -0
- package/dist/lib/components/Timepicker/types.ts +69 -0
- package/dist/lib/components/Toast/Toast.tsx +210 -0
- package/dist/lib/components/Toast/Toaster.tsx +168 -0
- package/dist/lib/components/Toast/index.ts +3 -0
- package/dist/lib/components/Toast/styles.tsx +249 -0
- package/dist/lib/components/Toast/types.ts +32 -0
- package/dist/lib/components/Tooltip/Tooltip.tsx +120 -0
- package/dist/lib/components/Tooltip/index.ts +3 -0
- package/dist/lib/components/Tooltip/styles.tsx +151 -0
- package/dist/lib/components/Tooltip/types.ts +22 -0
- package/dist/lib/components/Truncate/Truncate.tsx +113 -0
- package/dist/lib/components/Truncate/index.ts +3 -0
- package/dist/lib/components/Truncate/styles.tsx +37 -0
- package/dist/lib/components/Truncate/types.ts +7 -0
- package/dist/lib/components/Video/Video.tsx +66 -0
- package/dist/lib/components/Video/index.ts +3 -0
- package/dist/lib/components/Video/styles.tsx +24 -0
- package/dist/lib/components/Video/types.ts +22 -0
- package/dist/lib/components/Wrapper/Wrapper.tsx +43 -0
- package/dist/lib/components/Wrapper/index.ts +3 -0
- package/dist/lib/components/Wrapper/styles.tsx +29 -0
- package/dist/lib/components/Wrapper/types.ts +9 -0
- package/dist/lib/components/Youtube/Youtube.tsx +44 -0
- package/dist/lib/components/Youtube/index.ts +3 -0
- package/dist/lib/components/Youtube/styles.tsx +20 -0
- package/dist/lib/components/Youtube/types.ts +11 -0
- package/dist/lib/context/Theme.context.tsx +106 -0
- package/dist/lib/context/Toaster/Toaster.context.tsx +131 -0
- package/dist/lib/context/Toaster/index.ts +5 -0
- package/dist/lib/context/Toaster/toast.reducer.ts +36 -0
- package/dist/lib/hooks/index.ts +17 -0
- package/dist/lib/hooks/useClickOutside.tsx +37 -0
- package/dist/lib/hooks/useCopyToClipboard.tsx +33 -0
- package/dist/lib/hooks/useDebounce.tsx +21 -0
- package/dist/lib/hooks/useExportData.tsx +55 -0
- package/dist/lib/hooks/useFetch.tsx +25 -0
- package/dist/lib/hooks/useForm.tsx +28 -0
- package/dist/lib/hooks/useIsOverflow.ts +44 -0
- package/dist/lib/hooks/useKeyPress.tsx +95 -0
- package/dist/lib/hooks/useMaxWidth.tsx +28 -0
- package/dist/lib/hooks/useMergeRefs.ts +33 -0
- package/dist/lib/hooks/useMinWidth.tsx +28 -0
- package/dist/lib/hooks/usePaginatedData.tsx +37 -0
- package/dist/lib/hooks/usePagination.tsx +112 -0
- package/dist/lib/hooks/useTouchScreen.tsx +21 -0
- package/dist/lib/hooks/useTranslation.tsx +30 -0
- package/dist/lib/icons/ArrowUp.tsx +32 -0
- package/dist/lib/icons/Bold.tsx +32 -0
- package/dist/lib/icons/Calendar.tsx +40 -0
- package/dist/lib/icons/CaretDown.tsx +32 -0
- package/dist/lib/icons/Check.tsx +32 -0
- package/dist/lib/icons/CheckCircle.tsx +38 -0
- package/dist/lib/icons/ChevronDown.tsx +32 -0
- package/dist/lib/icons/ChevronLeft.tsx +32 -0
- package/dist/lib/icons/ChevronRight.tsx +32 -0
- package/dist/lib/icons/ChevronUp.tsx +32 -0
- package/dist/lib/icons/Clipboard.tsx +32 -0
- package/dist/lib/icons/Clock.tsx +35 -0
- package/dist/lib/icons/Close.tsx +32 -0
- package/dist/lib/icons/CloseCircle.tsx +38 -0
- package/dist/lib/icons/Code.tsx +32 -0
- package/dist/lib/icons/CodeBlock.tsx +42 -0
- package/dist/lib/icons/Comment.tsx +42 -0
- package/dist/lib/icons/Drag.tsx +32 -0
- package/dist/lib/icons/Edit.tsx +38 -0
- package/dist/lib/icons/EditorCode.tsx +36 -0
- package/dist/lib/icons/EditorLive.tsx +36 -0
- package/dist/lib/icons/EditorPreview.tsx +36 -0
- package/dist/lib/icons/Hide.tsx +32 -0
- package/dist/lib/icons/Image.tsx +42 -0
- package/dist/lib/icons/Italic.tsx +32 -0
- package/dist/lib/icons/Link.tsx +36 -0
- package/dist/lib/icons/Minus.tsx +29 -0
- package/dist/lib/icons/OrderedList.tsx +32 -0
- package/dist/lib/icons/Plus.tsx +32 -0
- package/dist/lib/icons/Quote.tsx +32 -0
- package/dist/lib/icons/Search.tsx +38 -0
- package/dist/lib/icons/Send.tsx +32 -0
- package/dist/lib/icons/Separator.tsx +32 -0
- package/dist/lib/icons/Show.tsx +38 -0
- package/dist/lib/icons/Star.tsx +32 -0
- package/dist/lib/icons/StarFull.tsx +32 -0
- package/dist/lib/icons/Strikethrough.tsx +32 -0
- package/dist/lib/icons/Underline.tsx +36 -0
- package/dist/lib/icons/UnorderedList.tsx +32 -0
- package/dist/lib/icons/index.ts +41 -0
- package/dist/lib/icons/styles.tsx +19 -0
- package/dist/lib/icons/types.ts +11 -0
- package/dist/lib/index.css +1422 -0
- package/dist/lib/index.ts +159 -0
- package/dist/lib/lib-utils/append-styles.ts +9 -0
- package/dist/lib/lib-utils/colors-maps.ts +176 -0
- package/dist/lib/lib-utils/get-highlighted-text.tsx +31 -0
- package/dist/lib/lib-utils/get-icon-size-from-font.ts +27 -0
- package/dist/lib/lib-utils/index.ts +11 -0
- package/dist/lib/lib-utils/round-icon-size.ts +7 -0
- package/dist/lib/lib-utils/transfom-search-keys.ts +15 -0
- package/dist/lib/modules-declare.d.ts +18 -0
- package/dist/lib/utils/StyleSheetManager.tsx +32 -0
- package/dist/lib/utils/index.ts +6 -0
- package/dist/lib/utils/lib-tokens.json +860 -0
- package/dist/lib/utils/linkify-text.tsx +28 -0
- package/dist/lib/utils/options-markdown.ts +133 -0
- package/dist/lib/utils/set-default-theme.ts +14 -0
- package/dist/styles-BzlWff0X.cjs +7 -0
- package/dist/styles-D2xrGFT_.js +15 -0
- package/package.json +27 -48
- package/README.local.md +0 -6
- package/dist/Mixins.d.ts +0 -256
- package/dist/Variables.d.ts +0 -248
- package/dist/components/Accordion/Accordion.d.ts +0 -23
- package/dist/components/Accordion/AccordionButton.d.ts +0 -2
- package/dist/components/Accordion/AccordionContent.d.ts +0 -2
- package/dist/components/Accordion/AccordionItem.d.ts +0 -14
- package/dist/components/Accordion/index.d.ts +0 -2
- package/dist/components/Accordion/styles.d.ts +0 -6
- package/dist/components/Accordion/subtypes.d.ts +0 -11
- package/dist/components/Accordion/types.d.ts +0 -21
- package/dist/components/Alert/Alert.d.ts +0 -18
- package/dist/components/Alert/index.d.ts +0 -1
- package/dist/components/Alert/styles.d.ts +0 -10
- package/dist/components/Alert/types.d.ts +0 -20
- package/dist/components/Aside/Aside.d.ts +0 -12
- package/dist/components/Aside/index.d.ts +0 -1
- package/dist/components/Aside/styles.d.ts +0 -6
- package/dist/components/Aside/types.d.ts +0 -5
- package/dist/components/Autocomplete/Autocomplete.d.ts +0 -2
- package/dist/components/Autocomplete/index.d.ts +0 -1
- package/dist/components/Autocomplete/styles.d.ts +0 -3
- package/dist/components/Autocomplete/types.d.ts +0 -32
- package/dist/components/Avatar/Avatar.d.ts +0 -22
- package/dist/components/Avatar/AvatarFunction.d.ts +0 -5
- package/dist/components/Avatar/index.d.ts +0 -1
- package/dist/components/Avatar/styles.d.ts +0 -22
- package/dist/components/Avatar/types.d.ts +0 -63
- package/dist/components/BackToTop/BackToTop.d.ts +0 -11
- package/dist/components/BackToTop/index.d.ts +0 -1
- package/dist/components/BackToTop/styles.d.ts +0 -1161
- package/dist/components/BackToTop/types.d.ts +0 -5
- package/dist/components/Badge/Badge.d.ts +0 -19
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Badge/styles.d.ts +0 -10
- package/dist/components/Badge/types.d.ts +0 -23
- package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -2
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -24
- package/dist/components/Breadcrumbs/BreadcrumbsFn.d.ts +0 -2
- package/dist/components/Breadcrumbs/index.d.ts +0 -1
- package/dist/components/Breadcrumbs/styles.d.ts +0 -10
- package/dist/components/Breadcrumbs/subtypes.d.ts +0 -6
- package/dist/components/Breadcrumbs/types.d.ts +0 -19
- package/dist/components/Burger/Burger.d.ts +0 -16
- package/dist/components/Burger/index.d.ts +0 -1
- package/dist/components/Burger/styles.d.ts +0 -9
- package/dist/components/Burger/types.d.ts +0 -10
- package/dist/components/Button/Button.d.ts +0 -27
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Button/styles.d.ts +0 -3
- package/dist/components/Button/subtypes.d.ts +0 -7
- package/dist/components/Button/types.d.ts +0 -48
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -48
- package/dist/components/ButtonGroup/ButtonGroupButton.d.ts +0 -2
- package/dist/components/ButtonGroup/ButtonGroupToggle.d.ts +0 -2
- package/dist/components/ButtonGroup/index.d.ts +0 -1
- package/dist/components/ButtonGroup/styles.d.ts +0 -19
- package/dist/components/ButtonGroup/subtypes.d.ts +0 -16
- package/dist/components/ButtonGroup/types.d.ts +0 -22
- package/dist/components/ButtonIcon/ButtonFunction.d.ts +0 -2
- package/dist/components/ButtonIcon/ButtonIcon.d.ts +0 -30
- package/dist/components/ButtonIcon/index.d.ts +0 -1
- package/dist/components/ButtonIcon/styles.d.ts +0 -3
- package/dist/components/ButtonIcon/subtypes.d.ts +0 -7
- package/dist/components/ButtonIcon/types.d.ts +0 -55
- package/dist/components/Card/Card.d.ts +0 -36
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Card/styles.d.ts +0 -33
- package/dist/components/Card/types.d.ts +0 -14
- package/dist/components/CodeContainer/CodeContainer.d.ts +0 -19
- package/dist/components/CodeContainer/index.d.ts +0 -1
- package/dist/components/CodeContainer/styles.d.ts +0 -1162
- package/dist/components/CodeContainer/types.d.ts +0 -36
- package/dist/components/ComponentsMixins/ComponentsMixins.d.ts +0 -4
- package/dist/components/ComponentsMixins/hooks/useKeyboardNavigation.d.ts +0 -14
- package/dist/components/ComponentsMixins/index.d.ts +0 -3
- package/dist/components/ComponentsMixins/types.d.ts +0 -20
- package/dist/components/Cover/Cover.d.ts +0 -15
- package/dist/components/Cover/index.d.ts +0 -1
- package/dist/components/Cover/types.d.ts +0 -9
- package/dist/components/Datepicker/Calendar.d.ts +0 -6
- package/dist/components/Datepicker/Datepicker.d.ts +0 -80
- package/dist/components/Datepicker/data.d.ts +0 -25
- package/dist/components/Datepicker/index.d.ts +0 -1
- package/dist/components/Datepicker/styles.d.ts +0 -29
- package/dist/components/Datepicker/types.d.ts +0 -52
- package/dist/components/DragList/DragList.d.ts +0 -32
- package/dist/components/DragList/DragListItem.d.ts +0 -29
- package/dist/components/DragList/index.d.ts +0 -2
- package/dist/components/DragList/styles.d.ts +0 -14
- package/dist/components/DragList/types.d.ts +0 -42
- package/dist/components/Drawer/Drawer.d.ts +0 -23
- package/dist/components/Drawer/index.d.ts +0 -1
- package/dist/components/Drawer/styles.d.ts +0 -17
- package/dist/components/Drawer/types.d.ts +0 -16
- package/dist/components/Dropdown/Dropdown.d.ts +0 -18
- package/dist/components/Dropdown/DropdownContainer.d.ts +0 -22
- package/dist/components/Dropdown/DropdownItem.d.ts +0 -20
- package/dist/components/Dropdown/index.d.ts +0 -3
- package/dist/components/Dropdown/styles.d.ts +0 -17
- package/dist/components/Dropdown/types.d.ts +0 -40
- package/dist/components/Fade/Fade.d.ts +0 -10
- package/dist/components/Fade/index.d.ts +0 -1
- package/dist/components/Fade/styles.d.ts +0 -2
- package/dist/components/Fade/types.d.ts +0 -3
- package/dist/components/Fallback/Fallback.d.ts +0 -18
- package/dist/components/Fallback/index.d.ts +0 -1
- package/dist/components/Fieldset/Fieldset.d.ts +0 -25
- package/dist/components/Fieldset/index.d.ts +0 -1
- package/dist/components/Fieldset/styles.d.ts +0 -18
- package/dist/components/Fieldset/types.d.ts +0 -17
- package/dist/components/Flexbox/Flexbox.d.ts +0 -21
- package/dist/components/Flexbox/index.d.ts +0 -1
- package/dist/components/Flexbox/styles.d.ts +0 -15
- package/dist/components/Flexbox/types.d.ts +0 -14
- package/dist/components/Footer/Footer.d.ts +0 -28
- package/dist/components/Footer/FooterLink.d.ts +0 -2
- package/dist/components/Footer/FooterLogo.d.ts +0 -2
- package/dist/components/Footer/index.d.ts +0 -1
- package/dist/components/Footer/subtypes.d.ts +0 -7
- package/dist/components/Footer/types.d.ts +0 -48
- package/dist/components/Form/Form.d.ts +0 -15
- package/dist/components/Form/index.d.ts +0 -1
- package/dist/components/Form/styles.d.ts +0 -6
- package/dist/components/Form/types.d.ts +0 -21
- package/dist/components/FullBleed/FullBleed.d.ts +0 -13
- package/dist/components/FullBleed/index.d.ts +0 -1
- package/dist/components/FullBleed/styles.d.ts +0 -7
- package/dist/components/FullBleed/types.d.ts +0 -6
- package/dist/components/Grid/Grid.d.ts +0 -20
- package/dist/components/Grid/index.d.ts +0 -1
- package/dist/components/Grid/styles.d.ts +0 -14
- package/dist/components/Grid/types.d.ts +0 -13
- package/dist/components/Header/Header.d.ts +0 -25
- package/dist/components/Header/HeaderBurger.d.ts +0 -2
- package/dist/components/Header/HeaderLogo.d.ts +0 -2
- package/dist/components/Header/HeaderNav.d.ts +0 -2
- package/dist/components/Header/HeaderNavLink.d.ts +0 -2
- package/dist/components/Header/HeaderSearch.d.ts +0 -2
- package/dist/components/Header/index.d.ts +0 -1
- package/dist/components/Header/styles.d.ts +0 -29
- package/dist/components/Header/subtypes.d.ts +0 -43
- package/dist/components/Header/types.d.ts +0 -67
- package/dist/components/Helmet/Helmet.d.ts +0 -17
- package/dist/components/Helmet/index.d.ts +0 -1
- package/dist/components/Helmet/types.d.ts +0 -14
- package/dist/components/Highlight/Highlight.d.ts +0 -15
- package/dist/components/Highlight/index.d.ts +0 -1
- package/dist/components/Highlight/types.d.ts +0 -8
- package/dist/components/Hr/Hr.d.ts +0 -15
- package/dist/components/Hr/index.d.ts +0 -1
- package/dist/components/Hr/styles.d.ts +0 -8
- package/dist/components/Hr/types.d.ts +0 -9
- package/dist/components/Icon/Icon.d.ts +0 -14
- package/dist/components/Icon/index.d.ts +0 -1
- package/dist/components/Icon/styles.d.ts +0 -498
- package/dist/components/Icon/types.d.ts +0 -10
- package/dist/components/IconMenu/IconMenu.d.ts +0 -33
- package/dist/components/IconMenu/IconMenuItem.d.ts +0 -38
- package/dist/components/IconMenu/index.d.ts +0 -2
- package/dist/components/IconMenu/styles.d.ts +0 -1166
- package/dist/components/IconMenu/types.d.ts +0 -33
- package/dist/components/Image/Image.d.ts +0 -17
- package/dist/components/Image/ImageFunction.d.ts +0 -2
- package/dist/components/Image/index.d.ts +0 -1
- package/dist/components/Image/styles.d.ts +0 -20
- package/dist/components/Image/types.d.ts +0 -32
- package/dist/components/Input/Input.d.ts +0 -53
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Input/styles.d.ts +0 -3
- package/dist/components/Input/subtypes.d.ts +0 -85
- package/dist/components/Input/templates/ColorInput.d.ts +0 -3
- package/dist/components/Input/templates/DateInput.d.ts +0 -5
- package/dist/components/Input/templates/FileInput.d.ts +0 -3
- package/dist/components/Input/templates/PasswordInput.d.ts +0 -2
- package/dist/components/Input/templates/SearchInput.d.ts +0 -2
- package/dist/components/Input/templates/SelectInput.d.ts +0 -6
- package/dist/components/Input/templates/TextInput.d.ts +0 -3
- package/dist/components/Input/templates/TextareaInput.d.ts +0 -4
- package/dist/components/Input/templates/TimeInput.d.ts +0 -5
- package/dist/components/Input/types.d.ts +0 -2
- package/dist/components/InputCheck/InputCheck.d.ts +0 -18
- package/dist/components/InputCheck/index.d.ts +0 -1
- package/dist/components/InputCheck/styles.d.ts +0 -16
- package/dist/components/InputCheck/types.d.ts +0 -25
- package/dist/components/InputComponents/components/InputAndListContainer.d.ts +0 -12
- package/dist/components/InputComponents/components/InputButton.d.ts +0 -17
- package/dist/components/InputComponents/components/InputContainer.d.ts +0 -19
- package/dist/components/InputComponents/components/InputIcon.d.ts +0 -15
- package/dist/components/InputComponents/components/InputLeftContainer.d.ts +0 -10
- package/dist/components/InputComponents/components/InputPrefix.d.ts +0 -10
- package/dist/components/InputComponents/components/InputRightContainer.d.ts +0 -12
- package/dist/components/InputComponents/components/InputSuffix.d.ts +0 -10
- package/dist/components/InputComponents/components/InputValidationHelper.d.ts +0 -9
- package/dist/components/InputComponents/components/InputValidationIcon.d.ts +0 -10
- package/dist/components/InputComponents/components/InputWrapper.d.ts +0 -15
- package/dist/components/InputComponents/components/ListInput.d.ts +0 -14
- package/dist/components/InputComponents/components/ListInputItem.d.ts +0 -15
- package/dist/components/InputComponents/index.d.ts +0 -13
- package/dist/components/InputComponents/styles.d.ts +0 -50
- package/dist/components/InputComponents/types.d.ts +0 -191
- package/dist/components/InputContainer/HelperBottom.d.ts +0 -3
- package/dist/components/InputContainer/InputContainer.d.ts +0 -21
- package/dist/components/InputContainer/index.d.ts +0 -1
- package/dist/components/InputContainer/styles.d.ts +0 -10
- package/dist/components/InputContainer/subtypes.d.ts +0 -2
- package/dist/components/InputContainer/types.d.ts +0 -16
- package/dist/components/InputCounter/InputCounter.d.ts +0 -2
- package/dist/components/InputCounter/index.d.ts +0 -1
- package/dist/components/InputCounter/styles.d.ts +0 -10
- package/dist/components/InputCounter/subtypes.d.ts +0 -4
- package/dist/components/InputCounter/types.d.ts +0 -37
- package/dist/components/InputImage/EmptyContainer.d.ts +0 -2
- package/dist/components/InputImage/HoverContainer.d.ts +0 -2
- package/dist/components/InputImage/InputImage.d.ts +0 -41
- package/dist/components/InputImage/index.d.ts +0 -1
- package/dist/components/InputImage/styles.d.ts +0 -18
- package/dist/components/InputImage/subtypes.d.ts +0 -6
- package/dist/components/InputImage/types.d.ts +0 -21
- package/dist/components/InputPhone/InputPhone.d.ts +0 -46
- package/dist/components/InputPhone/index.d.ts +0 -1
- package/dist/components/InputPhone/styles.d.ts +0 -19
- package/dist/components/InputPhone/types.d.ts +0 -21
- package/dist/components/InputPhone/utils/countries.d.ts +0 -2
- package/dist/components/InputPin/InputPin.d.ts +0 -41
- package/dist/components/InputPin/index.d.ts +0 -1
- package/dist/components/InputPin/styles.d.ts +0 -3
- package/dist/components/InputPin/subtypes.d.ts +0 -6
- package/dist/components/InputPin/types.d.ts +0 -20
- package/dist/components/InputSlider/InputSlider.d.ts +0 -28
- package/dist/components/InputSlider/Slider.d.ts +0 -11
- package/dist/components/InputSlider/index.d.ts +0 -1
- package/dist/components/InputSlider/styles.d.ts +0 -13
- package/dist/components/InputSlider/types.d.ts +0 -10
- package/dist/components/Key/Key.d.ts +0 -14
- package/dist/components/Key/index.d.ts +0 -1
- package/dist/components/Key/styles.d.ts +0 -6
- package/dist/components/Key/types.d.ts +0 -8
- package/dist/components/LibIcon/LibIcon.d.ts +0 -11
- package/dist/components/LibIcon/index.d.ts +0 -1
- package/dist/components/LibIcon/types.d.ts +0 -6
- package/dist/components/Link/Link.d.ts +0 -9
- package/dist/components/Link/index.d.ts +0 -1
- package/dist/components/Link/types.d.ts +0 -5
- package/dist/components/Linkify/Linkify.d.ts +0 -11
- package/dist/components/Linkify/index.d.ts +0 -1
- package/dist/components/Linkify/types.d.ts +0 -5
- package/dist/components/ListGroup/ListGroup.d.ts +0 -31
- package/dist/components/ListGroup/ListGroupItem.d.ts +0 -22
- package/dist/components/ListGroup/ListGroupTitle.d.ts +0 -2
- package/dist/components/ListGroup/index.d.ts +0 -3
- package/dist/components/ListGroup/styles.d.ts +0 -20
- package/dist/components/ListGroup/types.d.ts +0 -73
- package/dist/components/Loader/Loader.d.ts +0 -14
- package/dist/components/Loader/index.d.ts +0 -1
- package/dist/components/Loader/styles.d.ts +0 -11
- package/dist/components/Loader/templates/LoaderFour.d.ts +0 -2
- package/dist/components/Loader/templates/LoaderOne.d.ts +0 -2
- package/dist/components/Loader/templates/LoaderThree.d.ts +0 -2
- package/dist/components/Loader/templates/LoaderTwo.d.ts +0 -2
- package/dist/components/Loader/types.d.ts +0 -16
- package/dist/components/Main/Main.d.ts +0 -13
- package/dist/components/Main/index.d.ts +0 -1
- package/dist/components/Main/styles.d.ts +0 -7
- package/dist/components/Main/types.d.ts +0 -14
- package/dist/components/MarkdownContainer/MarkdownContainer.d.ts +0 -10
- package/dist/components/MarkdownContainer/index.d.ts +0 -1
- package/dist/components/MarkdownContainer/styles.d.ts +0 -10
- package/dist/components/MarkdownContainer/types.d.ts +0 -5
- package/dist/components/MarkdownEditor/MarkdownEditor.d.ts +0 -66
- package/dist/components/MarkdownEditor/MdEditorButtons/EditorButtonTitles.d.ts +0 -2
- package/dist/components/MarkdownEditor/MdEditorButtons/EditorButtons.d.ts +0 -2
- package/dist/components/MarkdownEditor/MdEditorButtons/MarkdownButtons.d.ts +0 -2
- package/dist/components/MarkdownEditor/MdEditorInput.d.ts +0 -2
- package/dist/components/MarkdownEditor/index.d.ts +0 -1
- package/dist/components/MarkdownEditor/markdown-buttons.d.ts +0 -15
- package/dist/components/MarkdownEditor/styles.d.ts +0 -1232
- package/dist/components/MarkdownEditor/subtypes.d.ts +0 -23
- package/dist/components/MarkdownEditor/types.d.ts +0 -45
- package/dist/components/Masonry/Masonry.d.ts +0 -13
- package/dist/components/Masonry/index.d.ts +0 -1
- package/dist/components/Masonry/styles.d.ts +0 -8
- package/dist/components/Masonry/types.d.ts +0 -7
- package/dist/components/Masonry/utils.d.ts +0 -3
- package/dist/components/Messaging/Message.d.ts +0 -30
- package/dist/components/Messaging/MessageForm.d.ts +0 -15
- package/dist/components/Messaging/MessagesContainer.d.ts +0 -10
- package/dist/components/Messaging/MessagesList.d.ts +0 -14
- package/dist/components/Messaging/Messaging.d.ts +0 -25
- package/dist/components/Messaging/index.d.ts +0 -5
- package/dist/components/Messaging/styles.d.ts +0 -1162
- package/dist/components/Messaging/types.d.ts +0 -85
- package/dist/components/Modal/Modal.d.ts +0 -27
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Modal/styles.d.ts +0 -1158
- package/dist/components/Modal/types.d.ts +0 -25
- package/dist/components/PageLayout/PageLayout.d.ts +0 -18
- package/dist/components/PageLayout/index.d.ts +0 -1
- package/dist/components/PageLayout/types.d.ts +0 -39
- package/dist/components/PageLoading/PageLoading.d.ts +0 -14
- package/dist/components/PageLoading/index.d.ts +0 -1
- package/dist/components/PageLoading/styles.d.ts +0 -5
- package/dist/components/PageLoading/types.d.ts +0 -8
- package/dist/components/Pagination/Pagination.d.ts +0 -29
- package/dist/components/Pagination/PaginationButton.d.ts +0 -13
- package/dist/components/Pagination/index.d.ts +0 -2
- package/dist/components/Pagination/styles.d.ts +0 -6
- package/dist/components/Pagination/types.d.ts +0 -43
- package/dist/components/Paginator/Paginator.d.ts +0 -19
- package/dist/components/Paginator/index.d.ts +0 -1
- package/dist/components/Paginator/styles.d.ts +0 -4
- package/dist/components/Paginator/types.d.ts +0 -26
- package/dist/components/ProgressBar/ProgressBar.d.ts +0 -13
- package/dist/components/ProgressBar/index.d.ts +0 -1
- package/dist/components/ProgressBar/styles.d.ts +0 -5
- package/dist/components/ProgressBar/types.d.ts +0 -8
- package/dist/components/ProgressCircle/Circle.d.ts +0 -2
- package/dist/components/ProgressCircle/ProgressCircle.d.ts +0 -17
- package/dist/components/ProgressCircle/ProgressCircleFn.d.ts +0 -2
- package/dist/components/ProgressCircle/Value.d.ts +0 -2
- package/dist/components/ProgressCircle/clean-percentage.d.ts +0 -1
- package/dist/components/ProgressCircle/index.d.ts +0 -1
- package/dist/components/ProgressCircle/styles.d.ts +0 -10
- package/dist/components/ProgressCircle/subtypes.d.ts +0 -3
- package/dist/components/ProgressCircle/types.d.ts +0 -23
- package/dist/components/Rating/Rating.d.ts +0 -21
- package/dist/components/Rating/index.d.ts +0 -1
- package/dist/components/Rating/styles.d.ts +0 -7
- package/dist/components/Rating/types.d.ts +0 -24
- package/dist/components/ResetScroll/ResetScroll.d.ts +0 -5
- package/dist/components/ResetScroll/index.d.ts +0 -1
- package/dist/components/Section/Section.d.ts +0 -11
- package/dist/components/Section/index.d.ts +0 -1
- package/dist/components/Section/styles.d.ts +0 -5
- package/dist/components/Section/types.d.ts +0 -4
- package/dist/components/Select/Select.d.ts +0 -42
- package/dist/components/Select/SelectButton.d.ts +0 -2
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/styles.d.ts +0 -4
- package/dist/components/Select/subtypes.d.ts +0 -12
- package/dist/components/Select/types.d.ts +0 -19
- package/dist/components/Skeleton/Skeleton.d.ts +0 -19
- package/dist/components/Skeleton/SkeletonCard.d.ts +0 -21
- package/dist/components/Skeleton/SkeletonShine.d.ts +0 -11
- package/dist/components/Skeleton/index.d.ts +0 -3
- package/dist/components/Skeleton/styles.d.ts +0 -13
- package/dist/components/Skeleton/subtypes.d.ts +0 -11
- package/dist/components/Skeleton/types.d.ts +0 -25
- package/dist/components/Slideshow/Slideshow.d.ts +0 -44
- package/dist/components/Slideshow/SlideshowButton.d.ts +0 -2
- package/dist/components/Slideshow/SlideshowPagination.d.ts +0 -2
- package/dist/components/Slideshow/index.d.ts +0 -1
- package/dist/components/Slideshow/styles.d.ts +0 -35
- package/dist/components/Slideshow/subtypes.d.ts +0 -11
- package/dist/components/Slideshow/types.d.ts +0 -88
- package/dist/components/SrOnly/SrOnly.d.ts +0 -10
- package/dist/components/SrOnly/index.d.ts +0 -1
- package/dist/components/SrOnly/styles.d.ts +0 -2
- package/dist/components/SrOnly/types.d.ts +0 -3
- package/dist/components/Stepper/Step.d.ts +0 -23
- package/dist/components/Stepper/Stepper.d.ts +0 -31
- package/dist/components/Stepper/index.d.ts +0 -2
- package/dist/components/Stepper/styles.d.ts +0 -13
- package/dist/components/Stepper/types.d.ts +0 -29
- package/dist/components/Sticky/Sticky.d.ts +0 -11
- package/dist/components/Sticky/index.d.ts +0 -1
- package/dist/components/Sticky/styles.d.ts +0 -5
- package/dist/components/Sticky/types.d.ts +0 -4
- package/dist/components/Table/TBody.d.ts +0 -9
- package/dist/components/Table/THead.d.ts +0 -9
- package/dist/components/Table/Table.d.ts +0 -15
- package/dist/components/Table/Td.d.ts +0 -10
- package/dist/components/Table/Tr.d.ts +0 -9
- package/dist/components/Table/index.d.ts +0 -5
- package/dist/components/Table/styles.d.ts +0 -9
- package/dist/components/Table/types.d.ts +0 -26
- package/dist/components/Tabs/TabButton.d.ts +0 -14
- package/dist/components/Tabs/TabItem.d.ts +0 -11
- package/dist/components/Tabs/Tabs.d.ts +0 -24
- package/dist/components/Tabs/TabsButtonsContainer.d.ts +0 -12
- package/dist/components/Tabs/TabsContainer.d.ts +0 -10
- package/dist/components/Tabs/index.d.ts +0 -5
- package/dist/components/Tabs/styles.d.ts +0 -13
- package/dist/components/Tabs/types.d.ts +0 -34
- package/dist/components/Tag/Tag.d.ts +0 -20
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Tag/styles.d.ts +0 -11
- package/dist/components/Tag/types.d.ts +0 -29
- package/dist/components/Text/Text.d.ts +0 -15
- package/dist/components/Text/index.d.ts +0 -1
- package/dist/components/Text/styles.d.ts +0 -16
- package/dist/components/Text/subtypes.d.ts +0 -9
- package/dist/components/Text/templates/Blockquote.d.ts +0 -2
- package/dist/components/Text/templates/Dl.d.ts +0 -2
- package/dist/components/Text/templates/Em.d.ts +0 -2
- package/dist/components/Text/templates/H1.d.ts +0 -2
- package/dist/components/Text/templates/H2.d.ts +0 -2
- package/dist/components/Text/templates/H3.d.ts +0 -2
- package/dist/components/Text/templates/H4.d.ts +0 -2
- package/dist/components/Text/templates/H5.d.ts +0 -2
- package/dist/components/Text/templates/H6.d.ts +0 -2
- package/dist/components/Text/templates/Ol.d.ts +0 -2
- package/dist/components/Text/templates/P.d.ts +0 -2
- package/dist/components/Text/templates/Small.d.ts +0 -2
- package/dist/components/Text/templates/Strong.d.ts +0 -2
- package/dist/components/Text/templates/Ul.d.ts +0 -2
- package/dist/components/Text/types.d.ts +0 -16
- package/dist/components/TextIcon/TextIcon.d.ts +0 -30
- package/dist/components/TextIcon/index.d.ts +0 -1
- package/dist/components/TextIcon/styles.d.ts +0 -10
- package/dist/components/TextIcon/types.d.ts +0 -13
- package/dist/components/TextIcon/utils.d.ts +0 -2
- package/dist/components/Timepicker/Timepicker.d.ts +0 -32
- package/dist/components/Timepicker/index.d.ts +0 -1
- package/dist/components/Timepicker/styles.d.ts +0 -8
- package/dist/components/Timepicker/types.d.ts +0 -39
- package/dist/components/Toast/Toast.d.ts +0 -30
- package/dist/components/Toast/Toaster.d.ts +0 -36
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/components/Toast/styles.d.ts +0 -18
- package/dist/components/Toast/types.d.ts +0 -14
- package/dist/components/Tooltip/Tooltip.d.ts +0 -18
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/Tooltip/styles.d.ts +0 -12
- package/dist/components/Tooltip/types.d.ts +0 -12
- package/dist/components/Truncate/Truncate.d.ts +0 -11
- package/dist/components/Truncate/index.d.ts +0 -1
- package/dist/components/Truncate/styles.d.ts +0 -7
- package/dist/components/Truncate/types.d.ts +0 -4
- package/dist/components/Video/Video.d.ts +0 -13
- package/dist/components/Video/index.d.ts +0 -1
- package/dist/components/Video/styles.d.ts +0 -8
- package/dist/components/Video/types.d.ts +0 -8
- package/dist/components/Wrapper/Wrapper.d.ts +0 -13
- package/dist/components/Wrapper/index.d.ts +0 -1
- package/dist/components/Wrapper/styles.d.ts +0 -6
- package/dist/components/Wrapper/types.d.ts +0 -6
- package/dist/components/Youtube/Youtube.d.ts +0 -11
- package/dist/components/Youtube/index.d.ts +0 -1
- package/dist/components/Youtube/styles.d.ts +0 -6
- package/dist/components/Youtube/types.d.ts +0 -6
- package/dist/context/Theme.context.d.ts +0 -22
- package/dist/context/Toaster/Toaster.context.d.ts +0 -39
- package/dist/context/Toaster/index.d.ts +0 -1
- package/dist/context/Toaster/toast.reducer.d.ts +0 -11
- package/dist/hooks/index.d.ts +0 -15
- package/dist/hooks/useClickOutside.d.ts +0 -10
- package/dist/hooks/useCopyToClipboard.d.ts +0 -8
- package/dist/hooks/useDebounce.d.ts +0 -7
- package/dist/hooks/useExportData.d.ts +0 -8
- package/dist/hooks/useFetch.d.ts +0 -11
- package/dist/hooks/useForm.d.ts +0 -13
- package/dist/hooks/useIsOverflow.d.ts +0 -11
- package/dist/hooks/useKeyPress.d.ts +0 -7
- package/dist/hooks/useMaxWidth.d.ts +0 -6
- package/dist/hooks/useMergeRefs.d.ts +0 -7
- package/dist/hooks/useMinWidth.d.ts +0 -6
- package/dist/hooks/usePaginatedData.d.ts +0 -12
- package/dist/hooks/usePagination.d.ts +0 -21
- package/dist/hooks/useTouchScreen.d.ts +0 -5
- package/dist/hooks/useTranslation.d.ts +0 -12
- package/dist/index-CPCnEuUD.cjs +0 -4145
- package/dist/index-CPViozQN.js +0 -23531
- package/dist/lib-utils/append-styles.d.ts +0 -1
- package/dist/lib-utils/colors-maps.d.ts +0 -9
- package/dist/lib-utils/get-highlighted-text.d.ts +0 -3
- package/dist/lib-utils/get-icon-size-from-font.d.ts +0 -2
- package/dist/lib-utils/index.d.ts +0 -7
- package/dist/lib-utils/round-icon-size.d.ts +0 -1
- package/dist/lib-utils/transfom-search-keys.d.ts +0 -1
- package/dist/styles-BQSZDqOU.js +0 -15
- package/dist/styles-D3cozrfI.cjs +0 -7
- package/dist/types/component-items.d.ts +0 -438
- package/dist/types/component-items.js +0 -2
- package/dist/types/components-props.d.ts +0 -79
- package/dist/types/generate-int-range.d.ts +0 -7
- package/dist/types/generate-int-range.js +0 -3
- package/dist/types/global.d.ts +0 -350
- package/dist/types/global.js +0 -2
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.js +0 -6
- package/dist/types/require-at-least-one.d.ts +0 -3
- package/dist/types/require-at-least-one.js +0 -1
- package/dist/types/theme.d.ts +0 -2
- package/dist/types/type-values.d.ts +0 -2285
- package/dist/types/type-values.js +0 -2151
- package/dist/utils/StyleSheetManager.d.ts +0 -4
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/lib-tokens.json.d.ts +0 -863
- package/dist/utils/linkify-text.d.ts +0 -2
- package/dist/utils/options-markdown.d.ts +0 -4
- package/dist/utils/set-default-theme.d.ts +0 -6
- /package/dist/{types → lib/types}/component-items.ts +0 -0
- /package/dist/{types → lib/types}/components-props.ts +0 -0
- /package/dist/{types → lib/types}/generate-int-range.ts +0 -0
- /package/dist/{types → lib/types}/global.ts +0 -0
- /package/dist/{types → lib/types}/index.ts +0 -0
- /package/dist/{types → lib/types}/require-at-least-one.ts +0 -0
- /package/dist/{types → lib/types}/theme.ts +0 -0
- /package/dist/{types → lib/types}/type-values.ts +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*=============================================== useMergeRefs ===============================================*/
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
useMemo,
|
|
5
|
+
type Ref,
|
|
6
|
+
type RefCallback,
|
|
7
|
+
type MutableRefObject,
|
|
8
|
+
} from "react"
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @description Hook to add possibility to add multiple refs to an element
|
|
12
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#useMergeRefs
|
|
13
|
+
* @argument refs: Array<Ref<Instance> | undefined>
|
|
14
|
+
*/
|
|
15
|
+
export const useMergeRefs = <Instance>(
|
|
16
|
+
refs: Array<Ref<Instance> | undefined>
|
|
17
|
+
): RefCallback<Instance> | null => {
|
|
18
|
+
return useMemo(() => {
|
|
19
|
+
if (refs.every(ref => ref == null)) {
|
|
20
|
+
return null
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return value => {
|
|
24
|
+
refs.forEach(ref => {
|
|
25
|
+
if (typeof ref === "function") {
|
|
26
|
+
ref(value)
|
|
27
|
+
} else if (ref != null) {
|
|
28
|
+
;(ref as MutableRefObject<Instance | null>).current = value
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
}, refs)
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*=============================================== useMinWidth ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { useState, useEffect } from "react"
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @description Hook to detect if an element is larger than a set width
|
|
7
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#useMinWidth
|
|
8
|
+
* @argument width: number
|
|
9
|
+
*/
|
|
10
|
+
export const useMinWidth = (width: number): boolean => {
|
|
11
|
+
const [isMin, setIsMin] = useState<boolean>(false)
|
|
12
|
+
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
const detectSize = () => {
|
|
15
|
+
if (window.innerWidth >= width) {
|
|
16
|
+
setIsMin(true)
|
|
17
|
+
} else {
|
|
18
|
+
setIsMin(false)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
detectSize()
|
|
23
|
+
|
|
24
|
+
window.addEventListener("resize", () => detectSize())
|
|
25
|
+
}, [width])
|
|
26
|
+
|
|
27
|
+
return isMin
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*=============================================== usePaginatedData ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { useSearchParams } from "react-router-dom"
|
|
4
|
+
|
|
5
|
+
interface IUsePaginatedData<T> {
|
|
6
|
+
paginatedData: Array<T>
|
|
7
|
+
totalPages: number
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @description Hook to use with Pagination or Paginator components
|
|
12
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#usePaginatedData
|
|
13
|
+
* @argument data: Array<T> => to define
|
|
14
|
+
* @argument defaultLimit?: number
|
|
15
|
+
*/
|
|
16
|
+
export const usePaginatedData = <T,>(
|
|
17
|
+
data: Array<T>,
|
|
18
|
+
defaultLimit = 20
|
|
19
|
+
): IUsePaginatedData<T> => {
|
|
20
|
+
const [query] = useSearchParams()
|
|
21
|
+
const page = query.get("page") || 1
|
|
22
|
+
const currentPage: number =
|
|
23
|
+
typeof page === "string" ? parseInt(page) : page || 1
|
|
24
|
+
|
|
25
|
+
const getPaginatedData = () => {
|
|
26
|
+
const startIndex = currentPage * defaultLimit - defaultLimit
|
|
27
|
+
const endIndex = startIndex + defaultLimit
|
|
28
|
+
return data?.slice(startIndex, endIndex)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const getNumberOfPages = () => Math.ceil((data?.length || 0) / defaultLimit)
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
paginatedData: getPaginatedData(),
|
|
35
|
+
totalPages: getNumberOfPages(),
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/*=============================================== usePaginationNavigation ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { useCallback } from "react"
|
|
4
|
+
import { useSearchParams } from "react-router-dom"
|
|
5
|
+
import { scrollToTop } from "@julseb-lib/utils"
|
|
6
|
+
import type { DispatchState } from "../types"
|
|
7
|
+
|
|
8
|
+
interface ILibUsePaginationNavigation {
|
|
9
|
+
currentPage: number
|
|
10
|
+
setCurrentPage: DispatchState<number>
|
|
11
|
+
queries?: Array<Array<string>>
|
|
12
|
+
totalPages?: number
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @description Hook to use for building Pagination or Paginator buttons
|
|
17
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#usePagination
|
|
18
|
+
* @prop currentPage: number
|
|
19
|
+
* @prop setCurrentPage: Dispatch<SetStateAction<number>>
|
|
20
|
+
* @prop queries?: Array<Array<string>>
|
|
21
|
+
* @prop totalPages?: number
|
|
22
|
+
*/
|
|
23
|
+
export const usePagination = ({
|
|
24
|
+
currentPage,
|
|
25
|
+
setCurrentPage,
|
|
26
|
+
queries,
|
|
27
|
+
totalPages,
|
|
28
|
+
}: ILibUsePaginationNavigation) => {
|
|
29
|
+
const [_, setSearchParams] = useSearchParams()
|
|
30
|
+
|
|
31
|
+
const handlePrev = useCallback(() => {
|
|
32
|
+
const newPage = currentPage - 1
|
|
33
|
+
|
|
34
|
+
setCurrentPage(newPage)
|
|
35
|
+
|
|
36
|
+
setSearchParams(
|
|
37
|
+
queries
|
|
38
|
+
? {
|
|
39
|
+
page: newPage.toString(),
|
|
40
|
+
...Object.fromEntries(queries),
|
|
41
|
+
}
|
|
42
|
+
: { page: newPage.toString() },
|
|
43
|
+
{ replace: true }
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
scrollToTop()
|
|
47
|
+
}, [currentPage, queries, setCurrentPage, setSearchParams])
|
|
48
|
+
|
|
49
|
+
const handleNext = useCallback(() => {
|
|
50
|
+
const newPage = currentPage + 1
|
|
51
|
+
|
|
52
|
+
setCurrentPage(newPage)
|
|
53
|
+
|
|
54
|
+
setSearchParams(
|
|
55
|
+
queries
|
|
56
|
+
? {
|
|
57
|
+
page: newPage.toString(),
|
|
58
|
+
...Object.fromEntries(queries),
|
|
59
|
+
}
|
|
60
|
+
: { page: newPage.toString() },
|
|
61
|
+
{ replace: true }
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
scrollToTop()
|
|
65
|
+
}, [currentPage, queries, setCurrentPage, setSearchParams])
|
|
66
|
+
|
|
67
|
+
const handlePage = (n: number) => {
|
|
68
|
+
if (n < 1) {
|
|
69
|
+
setCurrentPage(1)
|
|
70
|
+
setSearchParams(
|
|
71
|
+
queries
|
|
72
|
+
? {
|
|
73
|
+
page: "1",
|
|
74
|
+
...Object.fromEntries(queries),
|
|
75
|
+
}
|
|
76
|
+
: { page: "1" },
|
|
77
|
+
{ replace: true }
|
|
78
|
+
)
|
|
79
|
+
return
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (totalPages && n > totalPages) {
|
|
83
|
+
setCurrentPage(totalPages)
|
|
84
|
+
setSearchParams(
|
|
85
|
+
queries
|
|
86
|
+
? {
|
|
87
|
+
page: totalPages.toString(),
|
|
88
|
+
...Object.fromEntries(queries),
|
|
89
|
+
}
|
|
90
|
+
: { page: totalPages.toString() },
|
|
91
|
+
{ replace: true }
|
|
92
|
+
)
|
|
93
|
+
return
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
setCurrentPage(n)
|
|
97
|
+
|
|
98
|
+
setSearchParams(
|
|
99
|
+
queries
|
|
100
|
+
? {
|
|
101
|
+
page: n.toString(),
|
|
102
|
+
...Object.fromEntries(queries),
|
|
103
|
+
}
|
|
104
|
+
: { page: n.toString() },
|
|
105
|
+
{ replace: true }
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
scrollToTop()
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return { handlePrev, handleNext, handlePage }
|
|
112
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*=============================================== useTouchScreen ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { useState, useLayoutEffect } from "react"
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @description Hook to detect if the device is a touch screen
|
|
7
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#useTouchScreen
|
|
8
|
+
*/
|
|
9
|
+
export const useTouchScreen = (): boolean => {
|
|
10
|
+
const [isTouchScreen, setIsTouchScreen] = useState<boolean>(false)
|
|
11
|
+
|
|
12
|
+
useLayoutEffect(() => {
|
|
13
|
+
const isTouchDevice = () => {
|
|
14
|
+
return "ontouchstart" in window || navigator.maxTouchPoints > 0
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
setIsTouchScreen(isTouchDevice())
|
|
18
|
+
}, [])
|
|
19
|
+
|
|
20
|
+
return isTouchScreen
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*=============================================== useTranslation ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { useState, useEffect } from "react"
|
|
4
|
+
import { detectLanguage } from "@julseb-lib/utils"
|
|
5
|
+
import type { TranslateLang } from "../types"
|
|
6
|
+
|
|
7
|
+
let currentLanguage = detectLanguage() || "en"
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @description Hook to detect the language, and return translated content
|
|
11
|
+
* @link https://documentation-components-react.vercel.app/helpers/hooks#useTranslation
|
|
12
|
+
* @argument translations: [language: string]: { [key: string]: string }
|
|
13
|
+
*/
|
|
14
|
+
export const useTranslation = (translations: TranslateLang) => {
|
|
15
|
+
const [language, setLanguage] = useState<string>(currentLanguage)
|
|
16
|
+
const languages = Object.keys(translations)
|
|
17
|
+
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
currentLanguage = language || "en"
|
|
20
|
+
}, [language])
|
|
21
|
+
|
|
22
|
+
const translate = (key: string) => translations?.[language]?.[key]
|
|
23
|
+
|
|
24
|
+
return {
|
|
25
|
+
translate,
|
|
26
|
+
setLanguage,
|
|
27
|
+
language,
|
|
28
|
+
languages,
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== ArrowUp ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const ArrowUp = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M11 8.414V18H13V8.414L17.293 12.707L18.707 11.293L12 4.586L5.29303 11.293L6.70703 12.707L11 8.414Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== Bold ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const Bold = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$color={color}
|
|
23
|
+
$size={size}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M17.061 11.22C17.6659 10.442 17.9961 9.48551 18 8.5C18 6.019 15.981 4 13.5 4H6V19H14C16.481 19 18.5 16.981 18.5 14.5C18.4987 13.8837 18.3702 13.2743 18.1226 12.7099C17.875 12.1456 17.5136 11.6383 17.061 11.22ZM13.5 7C14.327 7 15 7.673 15 8.5C15 9.327 14.327 10 13.5 10H9V7H13.5ZM14 16H9V13H14C14.827 13 15.5 13.673 15.5 14.5C15.5 15.327 14.827 16 14 16Z"
|
|
28
|
+
fill={color}
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*=============================================== Calendar ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const Calendar = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path d="M9 11H7V13H9V11Z" fill="currentColor" />
|
|
27
|
+
<path d="M9 15H7V17H9V15Z" fill="currentColor" />
|
|
28
|
+
<path d="M13 11H11V13H13V11Z" fill="currentColor" />
|
|
29
|
+
<path d="M13 15H11V17H13V15Z" fill="currentColor" />
|
|
30
|
+
<path d="M17 11H15V13H17V11Z" fill="currentColor" />
|
|
31
|
+
<path d="M17 15H15V17H17V15Z" fill="currentColor" />
|
|
32
|
+
<path
|
|
33
|
+
fillRule="evenodd"
|
|
34
|
+
clipRule="evenodd"
|
|
35
|
+
d="M19 22H5C3.897 22 3 21.103 3 20V6C3 4.897 3.897 4 5 4H7V2H9V4H15V2H17V4H19C20.103 4 21 4.897 21 6V20C21 21.103 20.103 22 19 22ZM19.001 20L19 8H5V20H19.001Z"
|
|
36
|
+
fill="currentColor"
|
|
37
|
+
/>
|
|
38
|
+
</StyledIcon>
|
|
39
|
+
)
|
|
40
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== CaretDown ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const CaretDown = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M11.998 17L18.998 9H4.99799L11.998 17Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== Check ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const Check = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M10 15.586L6.707 12.293L5.293 13.707L10 18.414L19.707 8.707L18.293 7.293L10 15.586Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*=============================================== CheckCircle ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const CheckCircle = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M7.69999 11.292L9.99899 13.587L15.293 8.293L16.707 9.707L10.001 16.413L6.28799 12.708L7.69999 11.292Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
<path
|
|
31
|
+
fillRule="evenodd"
|
|
32
|
+
clipRule="evenodd"
|
|
33
|
+
d="M2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12ZM4 12C4 16.411 7.589 20 12 20C16.411 20 20 16.411 20 12C20 7.589 16.411 4 12 4C7.589 4 4 7.589 4 12Z"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
/>
|
|
36
|
+
</StyledIcon>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== ChevronDown ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const ChevronDown = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M16.293 8.4395L12 12.7325L7.707 8.4395L6.293 9.8535L12 15.5605L17.707 9.8535L16.293 8.4395Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== ChevronLeft ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const ChevronLeft = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M14.1465 6.293L8.4395 12L14.1465 17.707L15.5605 16.293L11.2675 12L15.5605 7.707L14.1465 6.293Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== ChevronRight ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const ChevronRight = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M9.8535 17.707L15.5605 12L9.8535 6.293L8.4395 7.707L12.7325 12L8.4395 16.293L9.8535 17.707Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== ChevronUp ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const ChevronUp = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M6.293 14.1465L7.707 15.5605L12 11.2675L16.293 15.5605L17.707 14.1465L12 8.4395L6.293 14.1465Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*=============================================== Clipboard ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const Clipboard = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
d="M19 3H16.75C16.75 2.73478 16.6446 2.48043 16.4571 2.29289C16.2696 2.10536 16.0152 2 15.75 2H8.25C7.98478 2 7.73043 2.10536 7.54289 2.29289C7.35536 2.48043 7.25 2.73478 7.25 3H5C3.897 3 3 3.897 3 5V20C3 21.103 3.897 22 5 22H19C20.103 22 21 21.103 21 20V5C21 3.897 20.103 3 19 3ZM19 20H5V5H7V7H17V5H19V20Z"
|
|
28
|
+
fill="currentColor"
|
|
29
|
+
/>
|
|
30
|
+
</StyledIcon>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*=============================================== Clock ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { StyledIcon } from "./styles"
|
|
4
|
+
import type { ILibIcon } from "./types"
|
|
5
|
+
|
|
6
|
+
export const Clock = ({
|
|
7
|
+
"data-testid": testid,
|
|
8
|
+
className,
|
|
9
|
+
size = 64,
|
|
10
|
+
color = "currentColor",
|
|
11
|
+
...rest
|
|
12
|
+
}: ILibIcon) => {
|
|
13
|
+
return (
|
|
14
|
+
<StyledIcon
|
|
15
|
+
data-testid={testid}
|
|
16
|
+
className={className}
|
|
17
|
+
width={size}
|
|
18
|
+
height={size}
|
|
19
|
+
viewBox="0 0 24 24"
|
|
20
|
+
fill="none"
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
$size={size}
|
|
23
|
+
$color={color}
|
|
24
|
+
{...rest}
|
|
25
|
+
>
|
|
26
|
+
<path d="M11 13V7H13V11H17V13H11Z" fill="currentColor" />
|
|
27
|
+
<path
|
|
28
|
+
fillRule="evenodd"
|
|
29
|
+
clipRule="evenodd"
|
|
30
|
+
d="M2 12C2 6.486 6.486 2 12 2C17.514 2 22 6.486 22 12C22 17.514 17.514 22 12 22C6.486 22 2 17.514 2 12ZM4 12C4 16.411 7.589 20 12 20C16.411 20 20 16.411 20 12C20 7.589 16.411 4 12 4C7.589 4 4 7.589 4 12Z"
|
|
31
|
+
fill="currentColor"
|
|
32
|
+
/>
|
|
33
|
+
</StyledIcon>
|
|
34
|
+
)
|
|
35
|
+
}
|