@julseb-lib/react 0.0.0
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 +19 -0
- package/dist/index.cjs.js +4092 -0
- package/dist/index.css +1421 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +22257 -0
- package/dist/index.umd.js +4098 -0
- package/dist/lib/Mixins.tsx +985 -0
- package/dist/lib/Variables.ts +294 -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 +110 -0
- package/dist/lib/components/Avatar/index.ts +3 -0
- package/dist/lib/components/Avatar/styles.tsx +87 -0
- package/dist/lib/components/Avatar/types.ts +73 -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 +99 -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 +114 -0
- package/dist/lib/components/Card/index.ts +3 -0
- package/dist/lib/components/Card/styles.tsx +57 -0
- package/dist/lib/components/Card/types.ts +29 -0
- package/dist/lib/components/CodeContainer/CodeContainer.tsx +129 -0
- package/dist/lib/components/CodeContainer/index.ts +3 -0
- package/dist/lib/components/CodeContainer/styles.tsx +64 -0
- package/dist/lib/components/CodeContainer/types.ts +235 -0
- package/dist/lib/components/ComponentsMixins/ComponentsMixins.tsx +439 -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 +107 -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 +150 -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 +104 -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 +202 -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 +77 -0
- package/dist/lib/components/Header/HeaderNavLink.tsx +63 -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 +345 -0
- package/dist/lib/components/Header/subtypes.ts +85 -0
- package/dist/lib/components/Header/types.ts +67 -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 +46 -0
- package/dist/lib/components/Image/index.ts +3 -0
- package/dist/lib/components/Image/styles.tsx +63 -0
- package/dist/lib/components/Image/types.ts +41 -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 +87 -0
- package/dist/lib/components/InputComponents/components/InputValidationIcon.tsx +64 -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 +300 -0
- package/dist/lib/components/InputContainer/InputContainer.tsx +200 -0
- package/dist/lib/components/InputContainer/index.ts +3 -0
- package/dist/lib/components/InputContainer/styles.tsx +80 -0
- package/dist/lib/components/InputContainer/types.ts +36 -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 +149 -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 +24 -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/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 +186 -0
- package/dist/lib/components/MarkdownEditor/subtypes.ts +54 -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 +86 -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 +263 -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 +78 -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 +56 -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 +120 -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 +56 -0
- package/dist/lib/components/Timepicker/Timepicker.tsx +294 -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 +213 -0
- package/dist/lib/components/Toast/Toaster.tsx +179 -0
- package/dist/lib/components/Toast/index.ts +3 -0
- package/dist/lib/components/Toast/styles.tsx +217 -0
- package/dist/lib/components/Toast/types.ts +41 -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 +96 -0
- package/dist/lib/context/Toaster/Toaster.context.tsx +132 -0
- package/dist/lib/context/Toaster/index.ts +3 -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 +50 -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 +32 -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 +1421 -0
- package/dist/lib/index.ts +153 -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/types/component-items.ts +514 -0
- package/dist/lib/types/components-props.ts +81 -0
- package/dist/lib/types/generate-int-range.ts +19 -0
- package/dist/lib/types/global.ts +442 -0
- package/dist/lib/types/index.ts +7 -0
- package/dist/lib/types/require-at-least-one.ts +7 -0
- package/dist/lib/types/theme.ts +168 -0
- package/dist/lib/types/type-values.ts +2219 -0
- package/dist/lib/utils/StyleSheetManager.tsx +31 -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-CVN0uFDU.cjs +7 -0
- package/dist/styles-DM9qlYpR.js +16 -0
- package/package.json +102 -0
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/*=============================================== CodeContainer types ===============================================*/
|
|
2
|
+
|
|
3
|
+
import type { CSSProperties } from "react"
|
|
4
|
+
import type { SyntaxHighlighterProps } from "react-syntax-highlighter"
|
|
5
|
+
import type { LibAllColors, LibComponentBase, LibIcon } from "../../types"
|
|
6
|
+
|
|
7
|
+
interface HighlighterLangs extends Omit<SyntaxHighlighterProps, "children"> {
|
|
8
|
+
language?:
|
|
9
|
+
| "oneC (1c)"
|
|
10
|
+
| "abnf"
|
|
11
|
+
| "accesslog"
|
|
12
|
+
| "actionscript"
|
|
13
|
+
| "ada"
|
|
14
|
+
| "angelscript"
|
|
15
|
+
| "apache"
|
|
16
|
+
| "applescript"
|
|
17
|
+
| "arcade"
|
|
18
|
+
| "arduino"
|
|
19
|
+
| "armasm"
|
|
20
|
+
| "asciidoc"
|
|
21
|
+
| "aspectj"
|
|
22
|
+
| "autohotkey"
|
|
23
|
+
| "autoit"
|
|
24
|
+
| "avrasm"
|
|
25
|
+
| "awk"
|
|
26
|
+
| "axapta"
|
|
27
|
+
| "bash"
|
|
28
|
+
| "basic"
|
|
29
|
+
| "bnf"
|
|
30
|
+
| "brainfuck"
|
|
31
|
+
| "cLike (c-like)"
|
|
32
|
+
| "c"
|
|
33
|
+
| "cal"
|
|
34
|
+
| "capnproto"
|
|
35
|
+
| "ceylon"
|
|
36
|
+
| "clean"
|
|
37
|
+
| "clojureRepl (clojure-repl)"
|
|
38
|
+
| "clojure"
|
|
39
|
+
| "cmake"
|
|
40
|
+
| "coffeescript"
|
|
41
|
+
| "coq"
|
|
42
|
+
| "cos"
|
|
43
|
+
| "cpp"
|
|
44
|
+
| "crmsh"
|
|
45
|
+
| "crystal"
|
|
46
|
+
| "csharp"
|
|
47
|
+
| "csp"
|
|
48
|
+
| "css"
|
|
49
|
+
| "d"
|
|
50
|
+
| "dart"
|
|
51
|
+
| "delphi"
|
|
52
|
+
| "diff"
|
|
53
|
+
| "django"
|
|
54
|
+
| "dns"
|
|
55
|
+
| "dockerfile"
|
|
56
|
+
| "dos"
|
|
57
|
+
| "dsconfig"
|
|
58
|
+
| "dts"
|
|
59
|
+
| "dust"
|
|
60
|
+
| "ebnf"
|
|
61
|
+
| "elixir"
|
|
62
|
+
| "elm"
|
|
63
|
+
| "erb"
|
|
64
|
+
| "erlangRepl (erlang-repl)"
|
|
65
|
+
| "erlang"
|
|
66
|
+
| "excel"
|
|
67
|
+
| "fix"
|
|
68
|
+
| "flix"
|
|
69
|
+
| "fortran"
|
|
70
|
+
| "fsharp"
|
|
71
|
+
| "gams"
|
|
72
|
+
| "gauss"
|
|
73
|
+
| "gcode"
|
|
74
|
+
| "gherkin"
|
|
75
|
+
| "glsl"
|
|
76
|
+
| "gml"
|
|
77
|
+
| "go"
|
|
78
|
+
| "golo"
|
|
79
|
+
| "gradle"
|
|
80
|
+
| "groovy"
|
|
81
|
+
| "haml"
|
|
82
|
+
| "handlebars"
|
|
83
|
+
| "haskell"
|
|
84
|
+
| "haxe"
|
|
85
|
+
| "hsp"
|
|
86
|
+
| "htmlbars"
|
|
87
|
+
| "http"
|
|
88
|
+
| "hy"
|
|
89
|
+
| "inform7"
|
|
90
|
+
| "ini"
|
|
91
|
+
| "irpf90"
|
|
92
|
+
| "isbl"
|
|
93
|
+
| "java"
|
|
94
|
+
| "javascript"
|
|
95
|
+
| "jbossCli (jboss-cli)"
|
|
96
|
+
| "json"
|
|
97
|
+
| "juliaRepl (julia-repl)"
|
|
98
|
+
| "julia"
|
|
99
|
+
| "kotlin"
|
|
100
|
+
| "lasso"
|
|
101
|
+
| "latex"
|
|
102
|
+
| "ldif"
|
|
103
|
+
| "leaf"
|
|
104
|
+
| "less"
|
|
105
|
+
| "lisp"
|
|
106
|
+
| "livecodeserver"
|
|
107
|
+
| "livescript"
|
|
108
|
+
| "llvm"
|
|
109
|
+
| "lsl"
|
|
110
|
+
| "lua"
|
|
111
|
+
| "makefile"
|
|
112
|
+
| "markdown"
|
|
113
|
+
| "mathematica"
|
|
114
|
+
| "matlab"
|
|
115
|
+
| "maxima"
|
|
116
|
+
| "mel"
|
|
117
|
+
| "mercury"
|
|
118
|
+
| "mipsasm"
|
|
119
|
+
| "mizar"
|
|
120
|
+
| "mojolicious"
|
|
121
|
+
| "monkey"
|
|
122
|
+
| "moonscript"
|
|
123
|
+
| "n1ql"
|
|
124
|
+
| "nginx"
|
|
125
|
+
| "nim"
|
|
126
|
+
| "nix"
|
|
127
|
+
| "nodeRepl (node-repl)"
|
|
128
|
+
| "nsis"
|
|
129
|
+
| "objectivec"
|
|
130
|
+
| "ocaml"
|
|
131
|
+
| "openscad"
|
|
132
|
+
| "oxygene"
|
|
133
|
+
| "parser3"
|
|
134
|
+
| "perl"
|
|
135
|
+
| "pf"
|
|
136
|
+
| "pgsql"
|
|
137
|
+
| "phpTemplate (php-template)"
|
|
138
|
+
| "php"
|
|
139
|
+
| "plaintext"
|
|
140
|
+
| "pony"
|
|
141
|
+
| "powershell"
|
|
142
|
+
| "processing"
|
|
143
|
+
| "profile"
|
|
144
|
+
| "prolog"
|
|
145
|
+
| "properties"
|
|
146
|
+
| "protobuf"
|
|
147
|
+
| "puppet"
|
|
148
|
+
| "purebasic"
|
|
149
|
+
| "pythonRepl (python-repl)"
|
|
150
|
+
| "python"
|
|
151
|
+
| "q"
|
|
152
|
+
| "qml"
|
|
153
|
+
| "r"
|
|
154
|
+
| "reasonml"
|
|
155
|
+
| "rib"
|
|
156
|
+
| "roboconf"
|
|
157
|
+
| "routeros"
|
|
158
|
+
| "rsl"
|
|
159
|
+
| "ruby"
|
|
160
|
+
| "ruleslanguage"
|
|
161
|
+
| "rust"
|
|
162
|
+
| "sas"
|
|
163
|
+
| "scala"
|
|
164
|
+
| "scheme"
|
|
165
|
+
| "scilab"
|
|
166
|
+
| "scss"
|
|
167
|
+
| "shell"
|
|
168
|
+
| "smali"
|
|
169
|
+
| "smalltalk"
|
|
170
|
+
| "sml"
|
|
171
|
+
| "sqf"
|
|
172
|
+
| "sql"
|
|
173
|
+
| "sqlMore (sql_more)"
|
|
174
|
+
| "stan"
|
|
175
|
+
| "stata"
|
|
176
|
+
| "step21"
|
|
177
|
+
| "stylus"
|
|
178
|
+
| "subunit"
|
|
179
|
+
| "swift"
|
|
180
|
+
| "taggerscript"
|
|
181
|
+
| "tap"
|
|
182
|
+
| "tcl"
|
|
183
|
+
| "thrift"
|
|
184
|
+
| "tp"
|
|
185
|
+
| "twig"
|
|
186
|
+
| "typescript"
|
|
187
|
+
| "vala"
|
|
188
|
+
| "vbnet"
|
|
189
|
+
| "vbscriptHtml (vbscript-html)"
|
|
190
|
+
| "vbscript"
|
|
191
|
+
| "verilog"
|
|
192
|
+
| "vhdl"
|
|
193
|
+
| "vim"
|
|
194
|
+
| "x86asm"
|
|
195
|
+
| "xl"
|
|
196
|
+
| "xml"
|
|
197
|
+
| "xquery"
|
|
198
|
+
| "yaml"
|
|
199
|
+
| "zephir"
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
interface ILibCodeContainerBase extends LibComponentBase<HTMLDivElement> {
|
|
203
|
+
highlighterProps?: HighlighterLangs
|
|
204
|
+
color?: LibAllColors
|
|
205
|
+
highlighterStyle?: CSSProperties
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
interface CodeContainerWithCopyButton extends ILibCodeContainerBase {
|
|
209
|
+
hideCopyButton?: undefined | false
|
|
210
|
+
tooltipTexts?: {
|
|
211
|
+
copy?: string
|
|
212
|
+
copied?: string
|
|
213
|
+
}
|
|
214
|
+
icons?: {
|
|
215
|
+
copy?: LibIcon
|
|
216
|
+
copied?: LibIcon
|
|
217
|
+
}
|
|
218
|
+
iconsSizes?: {
|
|
219
|
+
copy?: number
|
|
220
|
+
copied?: number
|
|
221
|
+
}
|
|
222
|
+
iconsBaseUrl?: string
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
interface CodeContainerWithoutCopyButton extends ILibCodeContainerBase {
|
|
226
|
+
hideCopyButton: true
|
|
227
|
+
tooltipTexts?: never
|
|
228
|
+
icons?: never
|
|
229
|
+
iconsSizes?: never
|
|
230
|
+
iconsBaseUrl?: never
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type ILibCodeContainer =
|
|
234
|
+
| CodeContainerWithCopyButton
|
|
235
|
+
| CodeContainerWithoutCopyButton
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
/*=============================================== ComponentsMixins ===============================================*/
|
|
2
|
+
|
|
3
|
+
import { css } from "styled-components"
|
|
4
|
+
import {
|
|
5
|
+
BREAKPOINTS,
|
|
6
|
+
FONT_FAMILIES,
|
|
7
|
+
INPUT_HEIGHT,
|
|
8
|
+
LINE_HEIGHTS,
|
|
9
|
+
Mixins,
|
|
10
|
+
RADIUSES,
|
|
11
|
+
SPACERS,
|
|
12
|
+
TRANSITIONS,
|
|
13
|
+
COLORS_LIGHT,
|
|
14
|
+
COLORS_DARK,
|
|
15
|
+
FONT_SIZES,
|
|
16
|
+
FONT_WEIGHTS,
|
|
17
|
+
} from "../../"
|
|
18
|
+
import type {
|
|
19
|
+
ILibButtonMixin,
|
|
20
|
+
ILibInputBaseMixin,
|
|
21
|
+
ILibTextBaseMixin,
|
|
22
|
+
} from "./types"
|
|
23
|
+
|
|
24
|
+
/*====================== Button ======================*/
|
|
25
|
+
|
|
26
|
+
export const ButtonMixin = ({
|
|
27
|
+
$color,
|
|
28
|
+
$shadow,
|
|
29
|
+
$borderRadius,
|
|
30
|
+
$variant,
|
|
31
|
+
}: ILibButtonMixin) => css`
|
|
32
|
+
border: 1px solid transparent;
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
line-height: 100%;
|
|
36
|
+
transition: ${TRANSITIONS.SHORT};
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
${Mixins.BorderRadius($borderRadius)}
|
|
39
|
+
${Mixins.Flexbox({
|
|
40
|
+
$inline: true,
|
|
41
|
+
$alignItems: "center",
|
|
42
|
+
$justifyContent: "center",
|
|
43
|
+
})}
|
|
44
|
+
${Mixins.BoxShadow($shadow)}
|
|
45
|
+
|
|
46
|
+
${({ theme }) => {
|
|
47
|
+
switch ($variant) {
|
|
48
|
+
case "plain":
|
|
49
|
+
return css`
|
|
50
|
+
background-color: ${Mixins.ColorsHoverDefault(
|
|
51
|
+
$color,
|
|
52
|
+
theme
|
|
53
|
+
)};
|
|
54
|
+
color: ${$color === "white"
|
|
55
|
+
? theme.PRIMARY_500
|
|
56
|
+
: $color === "background"
|
|
57
|
+
? theme.FONT
|
|
58
|
+
: theme.BACKGROUND};
|
|
59
|
+
|
|
60
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
61
|
+
&:not(:disabled):hover {
|
|
62
|
+
background-color: ${Mixins.ColorsHoverHover(
|
|
63
|
+
$color,
|
|
64
|
+
theme
|
|
65
|
+
)};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:not(:disabled):active {
|
|
69
|
+
background-color: ${Mixins.ColorsHoverActive(
|
|
70
|
+
$color,
|
|
71
|
+
theme
|
|
72
|
+
)};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:disabled {
|
|
76
|
+
background-color: ${theme.GRAY_100};
|
|
77
|
+
color: ${theme.GRAY_500};
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
`
|
|
81
|
+
case "transparent":
|
|
82
|
+
return css`
|
|
83
|
+
color: ${Mixins.ColorsHoverDefault($color, theme)};
|
|
84
|
+
|
|
85
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
86
|
+
&:not(:disabled):hover {
|
|
87
|
+
color: ${Mixins.ColorsHoverHover($color, theme)};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:not(:disabled):active {
|
|
91
|
+
color: ${Mixins.ColorsHoverActive($color, theme)};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:disabled {
|
|
95
|
+
color: ${theme.GRAY_500};
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
`
|
|
99
|
+
case "ghost":
|
|
100
|
+
return css`
|
|
101
|
+
background-color: ${Mixins.ColorsGhostDefault(
|
|
102
|
+
$color,
|
|
103
|
+
theme
|
|
104
|
+
)};
|
|
105
|
+
color: ${$color === "white" || $color === "background"
|
|
106
|
+
? theme.PRIMARY_500
|
|
107
|
+
: $color === "font"
|
|
108
|
+
? theme.BACKGROUND
|
|
109
|
+
: Mixins.ColorsHoverDefault($color, theme)};
|
|
110
|
+
|
|
111
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
112
|
+
&:not(:disabled):hover {
|
|
113
|
+
background-color: ${Mixins.ColorsGhostHover(
|
|
114
|
+
$color,
|
|
115
|
+
theme
|
|
116
|
+
)};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:not(:disabled):active {
|
|
120
|
+
background-color: ${Mixins.ColorsGhostActive(
|
|
121
|
+
$color,
|
|
122
|
+
theme
|
|
123
|
+
)};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:disabled {
|
|
127
|
+
background-color: ${theme.GRAY_50};
|
|
128
|
+
color: ${theme.GRAY_500};
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
`
|
|
132
|
+
case "outline":
|
|
133
|
+
return css`
|
|
134
|
+
border-color: ${Mixins.ColorsHoverDefault($color, theme)};
|
|
135
|
+
color: ${Mixins.ColorsHoverDefault($color, theme)};
|
|
136
|
+
|
|
137
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
138
|
+
&:not(:disabled):hover {
|
|
139
|
+
border-color: ${Mixins.ColorsHoverHover(
|
|
140
|
+
$color,
|
|
141
|
+
theme
|
|
142
|
+
)};
|
|
143
|
+
color: ${Mixins.ColorsHoverHover($color, theme)};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:not(:disabled):active {
|
|
147
|
+
border-color: ${Mixins.ColorsHoverActive(
|
|
148
|
+
$color,
|
|
149
|
+
theme
|
|
150
|
+
)};
|
|
151
|
+
color: ${Mixins.ColorsHoverActive($color, theme)};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&:disabled {
|
|
155
|
+
border-color: ${theme.GRAY_500};
|
|
156
|
+
color: ${theme.GRAY_500};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
`
|
|
160
|
+
default:
|
|
161
|
+
return null
|
|
162
|
+
}
|
|
163
|
+
}}
|
|
164
|
+
`
|
|
165
|
+
/*====================== Text ======================*/
|
|
166
|
+
|
|
167
|
+
export const TextBaseMixin = ({
|
|
168
|
+
$fontSize,
|
|
169
|
+
$fontWeight,
|
|
170
|
+
$textAlign,
|
|
171
|
+
$color = "currentColor",
|
|
172
|
+
$linkColor = "primary",
|
|
173
|
+
}: ILibTextBaseMixin) => css`
|
|
174
|
+
font-family: ${FONT_FAMILIES.BODY};
|
|
175
|
+
font-size: ${Mixins.FontSize($fontSize)};
|
|
176
|
+
font-weight: ${Mixins.FontWeight($fontWeight)};
|
|
177
|
+
text-align: ${$textAlign};
|
|
178
|
+
color: ${({ theme }) => Mixins.AllColors($color, theme)};
|
|
179
|
+
line-height: ${LINE_HEIGHTS.BODY};
|
|
180
|
+
|
|
181
|
+
& > * {
|
|
182
|
+
font-size: inherit;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
& > code {
|
|
186
|
+
font-family: ${FONT_FAMILIES.CODE};
|
|
187
|
+
line-height: ${LINE_HEIGHTS.CODE};
|
|
188
|
+
color: ${({ theme }) => theme.PRIMARY_500};
|
|
189
|
+
padding: ${SPACERS.XXS};
|
|
190
|
+
background-color: ${({ theme }) => theme.GRAY_50};
|
|
191
|
+
border-radius: ${RADIUSES.S};
|
|
192
|
+
font-size: inherit;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
& > a,
|
|
196
|
+
& > button {
|
|
197
|
+
padding: 0;
|
|
198
|
+
border: none;
|
|
199
|
+
background-color: transparent;
|
|
200
|
+
text-decoration: none;
|
|
201
|
+
font-size: inherit;
|
|
202
|
+
font-weight: ${FONT_WEIGHTS.BLACK};
|
|
203
|
+
transition: ${TRANSITIONS.SHORT};
|
|
204
|
+
color: ${({ theme }) => Mixins.ColorsHoverDefault($linkColor, theme)};
|
|
205
|
+
|
|
206
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
207
|
+
&:hover {
|
|
208
|
+
color: ${({ theme }) =>
|
|
209
|
+
Mixins.ColorsHoverHover($linkColor, theme)};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&:active {
|
|
213
|
+
color: ${({ theme }) =>
|
|
214
|
+
Mixins.ColorsHoverActive($linkColor, theme)};
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
`
|
|
219
|
+
|
|
220
|
+
/*====================== Input ======================*/
|
|
221
|
+
|
|
222
|
+
export const InputBaseMixin = ({
|
|
223
|
+
$disabled,
|
|
224
|
+
$inputBackground,
|
|
225
|
+
$inputVariant,
|
|
226
|
+
$validationStatus,
|
|
227
|
+
}: ILibInputBaseMixin) => css`
|
|
228
|
+
height: ${INPUT_HEIGHT}px;
|
|
229
|
+
width: 100%;
|
|
230
|
+
flex-grow: 1;
|
|
231
|
+
border: none;
|
|
232
|
+
background-color: transparent;
|
|
233
|
+
outline: none;
|
|
234
|
+
font-family: ${FONT_FAMILIES.BODY};
|
|
235
|
+
padding: 0 ${SPACERS.XS};
|
|
236
|
+
font-size: ${FONT_SIZES.BODY};
|
|
237
|
+
|
|
238
|
+
&::placeholder {
|
|
239
|
+
color: ${({ theme }) => theme.GRAY_400};
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&:disabled {
|
|
243
|
+
cursor: not-allowed;
|
|
244
|
+
background-color: ${({ theme }) => theme.GRAY_100};
|
|
245
|
+
color: ${({ theme }) => theme.GRAY_500};
|
|
246
|
+
|
|
247
|
+
&::placeholder {
|
|
248
|
+
color: ${({ theme }) => theme.GRAY_500};
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
&[type="file"],
|
|
253
|
+
&[type="color"] {
|
|
254
|
+
padding: 0;
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
&[type="file"] {
|
|
259
|
+
overflow: hidden;
|
|
260
|
+
|
|
261
|
+
&::file-selector-button {
|
|
262
|
+
height: 100%;
|
|
263
|
+
background-color: ${({ theme }) => theme.GRAY_100};
|
|
264
|
+
color: ${({ theme }) => theme.FONT};
|
|
265
|
+
border: none;
|
|
266
|
+
height: ${INPUT_HEIGHT}px;
|
|
267
|
+
padding: 0 ${SPACERS.XS};
|
|
268
|
+
line-height: 100%;
|
|
269
|
+
transition: ${TRANSITIONS.SHORT};
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
transform: translateY(-1px);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
275
|
+
&:not(:disabled):hover::file-selector-button {
|
|
276
|
+
background-color: ${({ theme }) => theme.GRAY_300};
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&:not(:disabled):active::file-selector-button {
|
|
280
|
+
background-color: ${({ theme }) => theme.GRAY_200};
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:disabled {
|
|
285
|
+
cursor: not-allowed;
|
|
286
|
+
|
|
287
|
+
&::file-selector-button {
|
|
288
|
+
cursor: not-allowed;
|
|
289
|
+
color: ${({ theme }) => theme.GRAY_500};
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
${() => {
|
|
294
|
+
switch ($inputBackground) {
|
|
295
|
+
case "light":
|
|
296
|
+
return css`
|
|
297
|
+
&::file-selector-button {
|
|
298
|
+
background-color: ${COLORS_LIGHT.GRAY_100};
|
|
299
|
+
color: ${COLORS_LIGHT.FONT};
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
303
|
+
&:not(:disabled):hover::file-selector-button {
|
|
304
|
+
background-color: ${COLORS_LIGHT.GRAY_300};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&:not(:disabled):active::file-selector-button {
|
|
308
|
+
background-color: ${COLORS_LIGHT.GRAY_200};
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&:disabled {
|
|
313
|
+
&::file-selector-button {
|
|
314
|
+
color: ${COLORS_LIGHT.GRAY_500};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
`
|
|
318
|
+
case "dark":
|
|
319
|
+
return css`
|
|
320
|
+
&::file-selector-button {
|
|
321
|
+
background-color: ${COLORS_DARK.GRAY_100};
|
|
322
|
+
color: ${COLORS_DARK.FONT};
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
@media ${BREAKPOINTS.HOVER} {
|
|
326
|
+
&:not(:disabled):hover::file-selector-button {
|
|
327
|
+
background-color: ${COLORS_DARK.GRAY_300};
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&:not(:disabled):active::file-selector-button {
|
|
331
|
+
background-color: ${COLORS_DARK.GRAY_200};
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
&:disabled {
|
|
336
|
+
&::file-selector-button {
|
|
337
|
+
color: ${COLORS_DARK.GRAY_500};
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
`
|
|
341
|
+
default:
|
|
342
|
+
return null
|
|
343
|
+
}
|
|
344
|
+
}}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
&[type="color"] {
|
|
348
|
+
padding: ${SPACERS.XS};
|
|
349
|
+
overflow: hidden;
|
|
350
|
+
|
|
351
|
+
&::-webkit-color-swatch-wrapper,
|
|
352
|
+
&::-webkit-color-swatch {
|
|
353
|
+
padding: 0;
|
|
354
|
+
margin: 0;
|
|
355
|
+
width: 100%;
|
|
356
|
+
border-radius: ${$inputVariant === "pill"
|
|
357
|
+
? RADIUSES.ROUND
|
|
358
|
+
: RADIUSES.S};
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
&[type="date"],
|
|
363
|
+
&[type="datetime-local"],
|
|
364
|
+
&[type="month"],
|
|
365
|
+
&[type="week"],
|
|
366
|
+
&[type="time"] {
|
|
367
|
+
padding-left: ${SPACERS.XS};
|
|
368
|
+
|
|
369
|
+
&::-webkit-inner-spin-button,
|
|
370
|
+
&::-webkit-calendar-picker-indicator {
|
|
371
|
+
-webkit-appearance: none;
|
|
372
|
+
-moz-appearance: none;
|
|
373
|
+
appearance: none;
|
|
374
|
+
display: none;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
&[type="search"] {
|
|
379
|
+
&::-webkit-search-cancel-button {
|
|
380
|
+
-webkit-appearance: none;
|
|
381
|
+
appearance: none;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
${() => {
|
|
386
|
+
switch ($inputBackground) {
|
|
387
|
+
case "light":
|
|
388
|
+
return css`
|
|
389
|
+
background-color: ${$validationStatus === false
|
|
390
|
+
? COLORS_LIGHT.DANGER_50
|
|
391
|
+
: $disabled
|
|
392
|
+
? COLORS_LIGHT.GRAY_100
|
|
393
|
+
: COLORS_LIGHT.BACKGROUND};
|
|
394
|
+
color: ${$disabled
|
|
395
|
+
? COLORS_LIGHT.GRAY_500
|
|
396
|
+
: COLORS_LIGHT.FONT};
|
|
397
|
+
|
|
398
|
+
&::placeholder {
|
|
399
|
+
color: ${COLORS_LIGHT.GRAY_400};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&:disabled {
|
|
403
|
+
background-color: ${COLORS_LIGHT.GRAY_100};
|
|
404
|
+
color: ${COLORS_LIGHT.GRAY_500};
|
|
405
|
+
|
|
406
|
+
&::placeholder {
|
|
407
|
+
color: ${COLORS_LIGHT.GRAY_500};
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
`
|
|
411
|
+
case "dark":
|
|
412
|
+
return css`
|
|
413
|
+
background-color: ${$validationStatus === false
|
|
414
|
+
? COLORS_DARK.DANGER_50
|
|
415
|
+
: $disabled
|
|
416
|
+
? COLORS_DARK.GRAY_100
|
|
417
|
+
: COLORS_DARK.BACKGROUND};
|
|
418
|
+
color: ${$disabled
|
|
419
|
+
? COLORS_DARK.GRAY_500
|
|
420
|
+
: COLORS_DARK.FONT};
|
|
421
|
+
|
|
422
|
+
&::placeholder {
|
|
423
|
+
color: ${COLORS_DARK.GRAY_400};
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
&:disabled {
|
|
427
|
+
background-color: ${COLORS_DARK.GRAY_100};
|
|
428
|
+
color: ${COLORS_DARK.GRAY_500};
|
|
429
|
+
|
|
430
|
+
&::placeholder {
|
|
431
|
+
color: ${COLORS_DARK.GRAY_500};
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
`
|
|
435
|
+
default:
|
|
436
|
+
return null
|
|
437
|
+
}
|
|
438
|
+
}}
|
|
439
|
+
`
|