@mw-kit/mw-ui 1.7.117 → 1.7.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addons/Portal/index.d.ts +4 -4
- package/dist/addons/Portal/interfaces.d.ts +6 -6
- package/dist/assets/icons/feather/index.d.ts +865 -290
- package/dist/assets/icons/flags/flags.d.ts +2 -2
- package/dist/assets/icons/flags/index.d.ts +26 -26
- package/dist/components/AbsoluteContainer/index.d.ts +56 -55
- package/dist/components/AbsoluteContainer/interfaces.d.ts +48 -48
- package/dist/components/AbsoluteContainer/styles.d.ts +2 -2
- package/dist/components/Button/constants.d.ts +9 -9
- package/dist/components/Button/index.d.ts +4 -4
- package/dist/components/Button/interfaces.d.ts +31 -31
- package/dist/components/Button/styles.d.ts +2 -2
- package/dist/components/Button/theme.d.ts +35 -35
- package/dist/components/Calendar/components/Basic/components/Main/index.d.ts +3 -3
- package/dist/components/Calendar/components/Basic/components/Main/interfaces.d.ts +3 -3
- package/dist/components/Calendar/components/Basic/components/Main/styles.d.ts +16 -16
- package/dist/components/Calendar/components/Basic/components/MonthPicker/index.d.ts +9 -9
- package/dist/components/Calendar/components/Basic/index.d.ts +61 -61
- package/dist/components/Calendar/components/Basic/interfaces.d.ts +39 -36
- package/dist/components/Calendar/components/Basic/styles.d.ts +63 -63
- package/dist/components/Calendar/components/Interval/components/Main/functions.d.ts +6 -6
- package/dist/components/Calendar/components/Interval/components/Main/index.d.ts +3 -3
- package/dist/components/Calendar/components/Interval/components/Main/interfaces.d.ts +3 -3
- package/dist/components/Calendar/components/Interval/components/Main/styles.d.ts +3 -3
- package/dist/components/Calendar/components/Interval/index.d.ts +8 -8
- package/dist/components/Calendar/components/Interval/interfaces.d.ts +30 -27
- package/dist/components/Calendar/components/Single/components/Main/index.d.ts +3 -3
- package/dist/components/Calendar/components/Single/components/Main/interfaces.d.ts +3 -3
- package/dist/components/Calendar/components/Single/index.d.ts +8 -8
- package/dist/components/Calendar/components/Single/interfaces.d.ts +24 -24
- package/dist/components/Calendar/components/index.d.ts +3 -3
- package/dist/components/Calendar/components/interfaces.d.ts +3 -3
- package/dist/components/Calendar/constants.d.ts +6 -6
- package/dist/components/Calendar/functions.d.ts +11 -11
- package/dist/components/Calendar/index.d.ts +84 -84
- package/dist/components/Calendar/interfaces.d.ts +9 -9
- package/dist/components/Calendar/styles.d.ts +2 -2
- package/dist/components/Card/index.d.ts +4 -4
- package/dist/components/Card/interfaces.d.ts +6 -6
- package/dist/components/Card/styled.d.ts +2 -2
- package/dist/components/EllipsisContainer/functions.d.ts +6 -6
- package/dist/components/EllipsisContainer/index.d.ts +4 -4
- package/dist/components/EllipsisContainer/styled.d.ts +4 -2
- package/dist/components/EllipsisContainer/types.d.ts +4 -4
- package/dist/components/Filters/AppliedFilters/components/Menu/index.d.ts +4 -4
- package/dist/components/Filters/AppliedFilters/components/Menu/interfaces.d.ts +5 -5
- package/dist/components/Filters/AppliedFilters/components/Menu/styles.d.ts +57 -57
- package/dist/components/Filters/AppliedFilters/index.d.ts +6 -6
- package/dist/components/Filters/AppliedFilters/interfaces.d.ts +12 -9
- package/dist/components/Filters/Button/index.d.ts +4 -4
- package/dist/components/Filters/Button/interfaces.d.ts +7 -7
- package/dist/components/Filters/Button/styles.d.ts +4 -4
- package/dist/components/Filters/Filters/components/Menu/index.d.ts +4 -4
- package/dist/components/Filters/Filters/components/Menu/interfaces.d.ts +5 -5
- package/dist/components/Filters/Filters/components/Submenu/components/Header/index.d.ts +4 -4
- package/dist/components/Filters/Filters/components/Submenu/components/Header/interfaces.d.ts +11 -11
- package/dist/components/Filters/Filters/components/Submenu/components/Header/styles.d.ts +1 -1
- package/dist/components/Filters/Filters/components/Submenu/index.d.ts +4 -4
- package/dist/components/Filters/Filters/components/Submenu/interfaces.d.ts +10 -10
- package/dist/components/Filters/Filters/components/Submenu/styles.d.ts +1 -1
- package/dist/components/Filters/Filters/index.d.ts +6 -6
- package/dist/components/Filters/Filters/interfaces.d.ts +51 -51
- package/dist/components/Filters/interfaces.d.ts +20 -20
- package/dist/components/Filters/styles.d.ts +1 -1
- package/dist/components/Form/context.d.ts +10 -10
- package/dist/components/Form/index.d.ts +10 -10
- package/dist/components/Form/types.d.ts +5 -5
- package/dist/components/Grid/components/Col/index.d.ts +4 -4
- package/dist/components/Grid/components/Col/interfaces.d.ts +31 -31
- package/dist/components/Grid/components/Col/styles.d.ts +2 -1
- package/dist/components/Grid/components/Grid/context.d.ts +5 -5
- package/dist/components/Grid/components/Grid/index.d.ts +4 -4
- package/dist/components/Grid/components/Grid/interfaces.d.ts +17 -17
- package/dist/components/Grid/components/Grid/styles.d.ts +2 -1
- package/dist/components/Grid/components/Row/context.d.ts +5 -5
- package/dist/components/Grid/components/Row/index.d.ts +4 -4
- package/dist/components/Grid/components/Row/interfaces.d.ts +26 -26
- package/dist/components/Grid/components/Row/styles.d.ts +2 -1
- package/dist/components/Grid/index.d.ts +6 -6
- package/dist/components/Grid/interfaces.d.ts +2 -2
- package/dist/components/Icon/index.d.ts +4 -4
- package/dist/components/Icon/interfaces.d.ts +35 -35
- package/dist/components/Icon/styled.d.ts +15 -15
- package/dist/components/Indicator/constants.d.ts +8 -8
- package/dist/components/Indicator/index.d.ts +4 -4
- package/dist/components/Indicator/interfaces.d.ts +9 -9
- package/dist/components/Indicator/styles.d.ts +2 -2
- package/dist/components/Input/components/Checkbox/index.d.ts +4 -4
- package/dist/components/Input/components/Checkbox/interfaces.d.ts +32 -32
- package/dist/components/Input/components/Checkbox/styles.d.ts +4 -4
- package/dist/components/Input/components/Date/functions.d.ts +1 -1
- package/dist/components/Input/components/Date/index.d.ts +4 -4
- package/dist/components/Input/components/Date/interfaces.d.ts +9 -9
- package/dist/components/Input/components/Date/styles.d.ts +1 -1
- package/dist/components/Input/components/DateIntervalPicker/functions.d.ts +6 -6
- package/dist/components/Input/components/DateIntervalPicker/index.d.ts +6 -6
- package/dist/components/Input/components/DateIntervalPicker/interfaces.d.ts +33 -33
- package/dist/components/Input/components/DateIntervalPicker/styles.d.ts +19 -19
- package/dist/components/Input/components/DatePicker/index.d.ts +4 -4
- package/dist/components/Input/components/DatePicker/interfaces.d.ts +10 -10
- package/dist/components/Input/components/DatePicker/styles.d.ts +12 -12
- package/dist/components/Input/components/DateTime/index.d.ts +4 -4
- package/dist/components/Input/components/DateTime/interfaces.d.ts +11 -11
- package/dist/components/Input/components/DateTime/styles.d.ts +1 -1
- package/dist/components/Input/components/Input/index.d.ts +4 -4
- package/dist/components/Input/components/Input/interfaces.d.ts +51 -51
- package/dist/components/Input/components/Input/styles.d.ts +11 -11
- package/dist/components/Input/components/Password/index.d.ts +4 -4
- package/dist/components/Input/components/Password/interfaces.d.ts +4 -4
- package/dist/components/Input/components/Phone/countries.d.ts +3 -3
- package/dist/components/Input/components/Phone/index.d.ts +7 -7
- package/dist/components/Input/components/Phone/interfaces.d.ts +42 -42
- package/dist/components/Input/components/Phone/styles.d.ts +3 -3
- package/dist/components/Input/components/RadioButton/index.d.ts +4 -4
- package/dist/components/Input/components/RadioButton/interfaces.d.ts +13 -13
- package/dist/components/Input/components/RadioButton/styles.d.ts +3 -3
- package/dist/components/Input/components/Range/index.d.ts +4 -4
- package/dist/components/Input/components/Range/interfaces.d.ts +37 -37
- package/dist/components/Input/components/Range/styles/Input/index.d.ts +6 -6
- package/dist/components/Input/components/Range/styles/InputContainer/index.d.ts +6 -6
- package/dist/components/Input/components/Range/styles/Label/index.d.ts +9 -9
- package/dist/components/Input/components/Range/styles/LabelContainer/index.d.ts +2 -2
- package/dist/components/Input/components/Range/styles/LabelsContainer/index.d.ts +6 -6
- package/dist/components/Input/components/Range/styles/Marker/index.d.ts +9 -9
- package/dist/components/Input/components/Range/styles/MarkersContainer/index.d.ts +2 -2
- package/dist/components/Input/components/Range/styles/MinMaxLabelContainer/index.d.ts +2 -2
- package/dist/components/Input/components/Range/styles/NavBar/index.d.ts +6 -6
- package/dist/components/Input/components/Range/styles/SelectedArea/index.d.ts +6 -6
- package/dist/components/Input/components/Range/styles/ViewModeContainer/index.d.ts +2 -2
- package/dist/components/Input/components/Range/styles/index.d.ts +11 -11
- package/dist/components/Input/components/Select/hooks/Navigation/index.d.ts +13 -13
- package/dist/components/Input/components/Select/hooks/Select/components/Header/index.d.ts +3 -3
- package/dist/components/Input/components/Select/hooks/Select/components/Header/styles.d.ts +1 -1
- package/dist/components/Input/components/Select/hooks/Select/context.d.ts +5 -5
- package/dist/components/Input/components/Select/hooks/Select/index.d.ts +4 -4
- package/dist/components/Input/components/Select/hooks/Select/interfaces.d.ts +12 -12
- package/dist/components/Input/components/Select/hooks/SelectMultiple/components/Footer/index.d.ts +3 -3
- package/dist/components/Input/components/Select/hooks/SelectMultiple/components/Header/index.d.ts +3 -3
- package/dist/components/Input/components/Select/hooks/SelectMultiple/components/Header/styles.d.ts +2 -2
- package/dist/components/Input/components/Select/hooks/SelectMultiple/components/Label/index.d.ts +8 -8
- package/dist/components/Input/components/Select/hooks/SelectMultiple/context.d.ts +5 -5
- package/dist/components/Input/components/Select/hooks/SelectMultiple/index.d.ts +4 -4
- package/dist/components/Input/components/Select/hooks/SelectMultiple/interfaces.d.ts +17 -14
- package/dist/components/Input/components/Select/hooks/interfaces.d.ts +50 -50
- package/dist/components/Input/components/Select/index.d.ts +7 -7
- package/dist/components/Input/components/Select/interfaces.d.ts +1 -1
- package/dist/components/Input/components/Select/styles.d.ts +4 -4
- package/dist/components/Input/components/Switch/index.d.ts +4 -4
- package/dist/components/Input/components/Switch/interfaces.d.ts +24 -24
- package/dist/components/Input/components/Switch/styles.d.ts +3 -3
- package/dist/components/Input/components/Tags/components/Input/index.d.ts +4 -4
- package/dist/components/Input/components/Tags/components/Input/interfaces.d.ts +12 -12
- package/dist/components/Input/components/Tags/components/Input/styles.d.ts +2 -2
- package/dist/components/Input/components/Tags/components/Label/index.d.ts +4 -4
- package/dist/components/Input/components/Tags/components/Label/interfaces.d.ts +4 -4
- package/dist/components/Input/components/Tags/components/Label/styles.d.ts +2 -2
- package/dist/components/Input/components/Tags/components/Tag/index.d.ts +4 -4
- package/dist/components/Input/components/Tags/components/Tag/interfaces.d.ts +5 -5
- package/dist/components/Input/components/Tags/components/Tag/styles.d.ts +2 -2
- package/dist/components/Input/components/Tags/components/index.d.ts +3 -3
- package/dist/components/Input/components/Tags/index.d.ts +4 -4
- package/dist/components/Input/components/Tags/interfaces.d.ts +32 -32
- package/dist/components/Input/components/Tags/styles.d.ts +3 -3
- package/dist/components/Input/components/Time/index.d.ts +4 -4
- package/dist/components/Input/components/Time/interfaces.d.ts +6 -6
- package/dist/components/Input/functions.d.ts +2 -2
- package/dist/components/Input/index.d.ts +21 -21
- package/dist/components/Input/interfaces.d.ts +4 -4
- package/dist/components/Link/index.d.ts +10 -13
- package/dist/components/Loader/index.d.ts +3 -3
- package/dist/components/Loader/interfaces.d.ts +9 -9
- package/dist/components/Menu/index.d.ts +3 -3
- package/dist/components/Menu/interfaces.d.ts +46 -46
- package/dist/components/Menu/styles.d.ts +59 -57
- package/dist/components/Modal/component.d.ts +4 -4
- package/dist/components/Modal/contants.d.ts +14 -15
- package/dist/components/Modal/index.d.ts +7 -7
- package/dist/components/Modal/interfaces.d.ts +54 -54
- package/dist/components/Modal/styles.d.ts +8 -8
- package/dist/components/Modal/templates/Audit/index.d.ts +4 -4
- package/dist/components/Modal/templates/Audit/interfaces.d.ts +6 -6
- package/dist/components/Modal/templates/Audit/styles.d.ts +1 -1
- package/dist/components/Modal/templates/ConfirmDelete/index.d.ts +4 -4
- package/dist/components/Modal/templates/ConfirmDelete/interfaces.d.ts +6 -6
- package/dist/components/Modal/templates/ConfirmDelete/styles.d.ts +1 -1
- package/dist/components/Modal/templates/ConfirmEdit/index.d.ts +4 -4
- package/dist/components/Modal/templates/ConfirmEdit/interfaces.d.ts +7 -7
- package/dist/components/Modal/templates/ConfirmEdit/styles.d.ts +1 -1
- package/dist/components/Modal/templates/index.d.ts +3 -3
- package/dist/components/Placeholder/components/Template1/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template1/styles.d.ts +8 -8
- package/dist/components/Placeholder/components/Template10/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template10/styles.d.ts +8 -8
- package/dist/components/Placeholder/components/Template2/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template2/styles.d.ts +9 -9
- package/dist/components/Placeholder/components/Template3/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template3/styles.d.ts +3 -3
- package/dist/components/Placeholder/components/Template4/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template4/styles.d.ts +5 -5
- package/dist/components/Placeholder/components/Template5/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template5/styles.d.ts +6 -6
- package/dist/components/Placeholder/components/Template6/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template6/styles.d.ts +6 -6
- package/dist/components/Placeholder/components/Template7/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template7/styles.d.ts +7 -7
- package/dist/components/Placeholder/components/Template8/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template8/styles.d.ts +6 -6
- package/dist/components/Placeholder/components/Template9/index.d.ts +4 -4
- package/dist/components/Placeholder/components/Template9/styles.d.ts +7 -7
- package/dist/components/Placeholder/index.d.ts +4 -4
- package/dist/components/Placeholder/interfaces.d.ts +10 -10
- package/dist/components/Placeholder/styles.d.ts +2 -2
- package/dist/components/ProgressBar/index.d.ts +4 -4
- package/dist/components/ProgressBar/interfaces.d.ts +4 -4
- package/dist/components/ProgressBar/styles.d.ts +3 -3
- package/dist/components/ScrollContainer/index.d.ts +4 -4
- package/dist/components/ScrollContainer/interfaces.d.ts +35 -35
- package/dist/components/ScrollContainer/styles/BeforeAfterContainer/index.d.ts +3 -3
- package/dist/components/ScrollContainer/styles/Container/index.d.ts +2 -2
- package/dist/components/ScrollContainer/styles/OverflowContainer/index.d.ts +7 -3
- package/dist/components/ScrollContainer/styles/RelativeContainer/index.d.ts +2 -2
- package/dist/components/ScrollContainer/styles/index.d.ts +4 -4
- package/dist/components/Tabs/components/ScrollButton/index.d.ts +7 -7
- package/dist/components/Tabs/components/ScrollButton/styled.d.ts +1 -1
- package/dist/components/Tabs/components/ScrollButtons/index.d.ts +8 -8
- package/dist/components/Tabs/components/ScrollButtons/styled.d.ts +3 -3
- package/dist/components/Tabs/components/TabItem/components/Close/index.d.ts +8 -8
- package/dist/components/Tabs/components/TabItem/components/Close/styles.d.ts +1 -1
- package/dist/components/Tabs/components/TabItem/components/LabelItem/index.d.ts +12 -12
- package/dist/components/Tabs/components/TabItem/components/LabelItem/styled.d.ts +6 -6
- package/dist/components/Tabs/components/TabItem/components/index.d.ts +2 -2
- package/dist/components/Tabs/components/TabItem/index.d.ts +11 -11
- package/dist/components/Tabs/components/TabItem/styled.d.ts +1 -1
- package/dist/components/Tabs/components/index.d.ts +2 -2
- package/dist/components/Tabs/functions.d.ts +11 -11
- package/dist/components/Tabs/index.d.ts +6 -6
- package/dist/components/Tabs/interfaces.d.ts +82 -82
- package/dist/components/Tabs/styled.d.ts +9 -9
- package/dist/components/TextArea/index.d.ts +4 -4
- package/dist/components/TextArea/interfaces.d.ts +8 -8
- package/dist/components/TextArea/styles.d.ts +2 -2
- package/dist/components/Toast/index.d.ts +4 -4
- package/dist/components/Toast/interfaces.d.ts +7 -7
- package/dist/components/Toast/styles.d.ts +4 -4
- package/dist/components/Transition/components/Transition/index.d.ts +4 -4
- package/dist/components/Transition/components/Transition/interfaces.d.ts +8 -8
- package/dist/components/Transition/hooks/useTransition/index.d.ts +3 -3
- package/dist/components/Transition/hooks/useTransition/interfaces.d.ts +25 -0
- package/dist/components/Transition/index.d.ts +3 -3
- package/dist/components/Transition/interfaces.d.ts +1 -1
- package/dist/components/Zoom/index.d.ts +4 -4
- package/dist/components/Zoom/interfaces.d.ts +9 -9
- package/dist/components/Zoom/styles.d.ts +7 -7
- package/dist/components/index.d.ts +25 -25
- package/dist/components/theme.d.ts +37 -37
- package/dist/functions/common.d.ts +6 -5
- package/dist/functions/formatters.d.ts +30 -30
- package/dist/functions/validators.d.ts +30 -31
- package/dist/hooks/onClickOut.d.ts +3 -3
- package/dist/index.d.mts +2141 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +9634 -18953
- package/dist/index.mjs +12897 -0
- package/dist/interfaces.d.ts +27 -27
- package/dist/theme/constants.d.ts +72 -72
- package/dist/theme/globals.d.ts +3 -3
- package/dist/theme/index.d.ts +7 -7
- package/dist/theme/interfaces.d.ts +30 -30
- package/dist/theme/useCssVars.d.ts +6 -6
- package/package.json +16 -11
- package/dist/activity~biiPBqTY.svg +0 -1
- package/dist/airplay~biaaiUhG.svg +0 -1
- package/dist/alert-circle~bjJqMLsA.svg +0 -1
- package/dist/alert-octagon~lZSWtLyt.svg +0 -1
- package/dist/alert-triangle~TEXDTPVi.svg +0 -1
- package/dist/align-center~cugBNsYg.svg +0 -1
- package/dist/align-justify~EVkdNRuk.svg +0 -1
- package/dist/align-left~LFpVozPL.svg +0 -1
- package/dist/align-right~pPZXvfdV.svg +0 -1
- package/dist/anchor~cegYhTqa.svg +0 -1
- package/dist/aperture~PGufiscL.svg +0 -1
- package/dist/archive~AgEMDCRZ.svg +0 -1
- package/dist/arrow-down-circle~SkmooyQZ.svg +0 -1
- package/dist/arrow-down-left~pVXhozyL.svg +0 -1
- package/dist/arrow-down-right~TIkYIsbf.svg +0 -1
- package/dist/arrow-down~RhQgOooS.svg +0 -1
- package/dist/arrow-left-circle~frWfAecG.svg +0 -1
- package/dist/arrow-left~bgZMUihF.svg +0 -1
- package/dist/arrow-right-circle~boWtIxmj.svg +0 -1
- package/dist/arrow-right~bdewFdqR.svg +0 -1
- package/dist/arrow-up-circle~ZMgXyjMs.svg +0 -1
- package/dist/arrow-up-left~WsbedPms.svg +0 -1
- package/dist/arrow-up-right~WVrjJYEu.svg +0 -1
- package/dist/arrow-up~uqOWpCUP.svg +0 -1
- package/dist/at-sign~YPBeYeKj.svg +0 -1
- package/dist/award~bpSBvQep.svg +0 -1
- package/dist/bar-chart-2~EfUFFurc.svg +0 -1
- package/dist/bar-chart~RuePqHcT.svg +0 -1
- package/dist/battery-charging~rhnbhiNt.svg +0 -1
- package/dist/battery~RnOzuwRk.svg +0 -1
- package/dist/bell-off~stwzsevw.svg +0 -1
- package/dist/bell~gwVynDot.svg +0 -1
- package/dist/bluetooth~iuuzJEKf.svg +0 -1
- package/dist/bold~bkIGAsPf.svg +0 -1
- package/dist/book-open~NBrGvrIN.svg +0 -1
- package/dist/bookmark~IHFLdCSP.svg +0 -1
- package/dist/book~VzkSHPhi.svg +0 -1
- package/dist/box~bbQaPYoL.svg +0 -1
- package/dist/briefcase~dVBBoLHk.svg +0 -1
- package/dist/calendar~boEcWUYS.svg +0 -1
- package/dist/camera-off~hbgqgtJv.svg +0 -1
- package/dist/camera~KitBDCAl.svg +0 -1
- package/dist/cast~YuUGXZHa.svg +0 -1
- package/dist/check-circle~uXCTyGCC.svg +0 -1
- package/dist/check-square~AonzfyMr.svg +0 -1
- package/dist/check~XPvIBsva.svg +0 -1
- package/dist/chevron-down~zWIkGWxr.svg +0 -1
- package/dist/chevron-left~iqEtHtYY.svg +0 -1
- package/dist/chevron-right~zhejNZBS.svg +0 -1
- package/dist/chevron-up~hodGltLK.svg +0 -1
- package/dist/chevrons-down~DwKpwAmQ.svg +0 -1
- package/dist/chevrons-left~wzkAZmSM.svg +0 -1
- package/dist/chevrons-right~ITkCfmzL.svg +0 -1
- package/dist/chevrons-up~OucaBhKo.svg +0 -1
- package/dist/chrome~bcKLLsCy.svg +0 -1
- package/dist/circle~boAlGHgn.svg +0 -1
- package/dist/clipboard~iTnqVZYq.svg +0 -1
- package/dist/clock~bkzdxydO.svg +0 -1
- package/dist/cloud-drizzle~bckrkKHy.svg +0 -1
- package/dist/cloud-lightning~FatUIIlo.svg +0 -1
- package/dist/cloud-off~YChCCGYI.svg +0 -1
- package/dist/cloud-rain~ydLBEbbi.svg +0 -1
- package/dist/cloud-snow~BHfFaDdy.svg +0 -1
- package/dist/cloud~bnuciPRa.svg +0 -1
- package/dist/codepen~kEbghejG.svg +0 -1
- package/dist/codesandbox~bmroKzII.svg +0 -1
- package/dist/code~EDcULRfk.svg +0 -1
- package/dist/coffee~bbwWxZyE.svg +0 -1
- package/dist/columns~OpWaDvMk.svg +0 -1
- package/dist/command~EKiizJvz.svg +0 -1
- package/dist/compass~kxTWSEob.svg +0 -1
- package/dist/copy~pvZUojhH.svg +0 -1
- package/dist/corner-down-left~szwAYIxy.svg +0 -1
- package/dist/corner-down-right~bknVbIhn.svg +0 -1
- package/dist/corner-left-down~bbOsFGVX.svg +0 -1
- package/dist/corner-left-up~XsmREpTH.svg +0 -1
- package/dist/corner-right-down~bgEpWFzF.svg +0 -1
- package/dist/corner-right-up~FVrYPlHl.svg +0 -1
- package/dist/corner-up-left~vFLfDzgz.svg +0 -1
- package/dist/corner-up-right~bdOZrMmg.svg +0 -1
- package/dist/cpu~HhEvQVGd.svg +0 -1
- package/dist/credit-card~blMcJcRl.svg +0 -1
- package/dist/crop~bhrwpjTZ.svg +0 -1
- package/dist/crosshair~bkZpGIAk.svg +0 -1
- package/dist/database~blGeGQVV.svg +0 -1
- package/dist/delete~KsancTdH.svg +0 -1
- package/dist/disc~QtBHbdHb.svg +0 -1
- package/dist/divide-circle~bashnHDD.svg +0 -1
- package/dist/divide-square~bdmxQYrf.svg +0 -1
- package/dist/divide~lwOLpBzi.svg +0 -1
- package/dist/dollar-sign~fMLwEeHv.svg +0 -1
- package/dist/download-cloud~BHguoPUk.svg +0 -1
- package/dist/download~bnryeaai.svg +0 -1
- package/dist/dribbble~bnQvXLAI.svg +0 -1
- package/dist/droplet~gtpZHtPX.svg +0 -1
- package/dist/edit-2~McPICdkX.svg +0 -1
- package/dist/edit-3~jgzpPOli.svg +0 -1
- package/dist/edit~ncrsmJBS.svg +0 -1
- package/dist/external-link~JsJSOFBC.svg +0 -1
- package/dist/eye-off~IgcjKloe.svg +0 -1
- package/dist/eye~AVFsZOsX.svg +0 -1
- package/dist/facebook~IuEnHbKx.svg +0 -1
- package/dist/fast-forward~bpdLBDlt.svg +0 -1
- package/dist/feather~bkZNbQcF.svg +0 -1
- package/dist/figma~SCSCWblu.svg +0 -1
- package/dist/file-minus~DiweqOZl.svg +0 -1
- package/dist/file-plus~bmOhzPCc.svg +0 -1
- package/dist/file-text~biurWCcu.svg +0 -1
- package/dist/file~neoktrtv.svg +0 -1
- package/dist/film~pVKwyjXN.svg +0 -1
- package/dist/filter~YVaJzRCD.svg +0 -1
- package/dist/flag~oLpVaiXH.svg +0 -1
- package/dist/folder-minus~sffPcTEz.svg +0 -1
- package/dist/folder-plus~JQbbHRPf.svg +0 -1
- package/dist/folder~bgANIxfC.svg +0 -1
- package/dist/framer~beeVvdMp.svg +0 -1
- package/dist/frown~boMWMWbf.svg +0 -1
- package/dist/gift~biDPlYkt.svg +0 -1
- package/dist/git-branch~WuTzmprN.svg +0 -1
- package/dist/git-commit~pyMlFaSW.svg +0 -1
- package/dist/git-merge~VKfQRqWg.svg +0 -1
- package/dist/git-pull-request~HkJBVzZZ.svg +0 -1
- package/dist/github~SHmasYlK.svg +0 -1
- package/dist/gitlab~iaJHSysP.svg +0 -1
- package/dist/globe~bacXnzkY.svg +0 -1
- package/dist/grid~ZxSsBZBE.svg +0 -1
- package/dist/hard-drive~jkPQENrY.svg +0 -1
- package/dist/hash~txVeKbeG.svg +0 -1
- package/dist/headphones~bmSLgSSr.svg +0 -1
- package/dist/heart~DtNWylgO.svg +0 -1
- package/dist/help-circle~iUOcBhNV.svg +0 -1
- package/dist/hexagon~MTPLHqak.svg +0 -1
- package/dist/home~kTmjeefQ.svg +0 -1
- package/dist/image~iFYLydNG.svg +0 -1
- package/dist/inbox~rXbdxxSZ.svg +0 -1
- package/dist/index.js.map +0 -1
- package/dist/index.modern.js +0 -22273
- package/dist/index.modern.js.map +0 -1
- package/dist/info~blrpOSSH.svg +0 -1
- package/dist/instagram~bfewcVWW.svg +0 -1
- package/dist/italic~byAgSsBS.svg +0 -1
- package/dist/key~vDRnqwXf.svg +0 -1
- package/dist/layers~baOTaWMf.svg +0 -1
- package/dist/layout~rmzxqwxv.svg +0 -1
- package/dist/life-buoy~kIkVOqYu.svg +0 -1
- package/dist/link-2~zJQJdgbN.svg +0 -1
- package/dist/linkedin~AdimuYgp.svg +0 -1
- package/dist/link~TVGrTfIP.svg +0 -1
- package/dist/list~nnrHeveN.svg +0 -1
- package/dist/loader~kJErACOw.svg +0 -1
- package/dist/lock~SdtoDMIX.svg +0 -1
- package/dist/log-in~RbYZKDBz.svg +0 -1
- package/dist/log-out~iGtjJuGz.svg +0 -1
- package/dist/mail~wkejjDlp.svg +0 -1
- package/dist/map-pin~woVDSLIh.svg +0 -1
- package/dist/map~AlPBLZLu.svg +0 -1
- package/dist/maximize-2~eGnXMZkQ.svg +0 -1
- package/dist/maximize~bnPTUCFu.svg +0 -1
- package/dist/meh~tvtefILF.svg +0 -1
- package/dist/menu~SuFiMwxA.svg +0 -1
- package/dist/message-circle~jVRPynTx.svg +0 -1
- package/dist/message-square~bIlUcpRZ.svg +0 -1
- package/dist/mic-off~ShFBbyUC.svg +0 -1
- package/dist/mic~rbQvHVYO.svg +0 -1
- package/dist/minimize-2~BVTffQrB.svg +0 -1
- package/dist/minimize~bgydtcZS.svg +0 -1
- package/dist/minus-circle~GgUPODRC.svg +0 -1
- package/dist/minus-square~cdETABHh.svg +0 -1
- package/dist/minus~ytyxLzFT.svg +0 -1
- package/dist/monitor~rgKLSihR.svg +0 -1
- package/dist/moon~CtKvfohx.svg +0 -1
- package/dist/more-horizontal~CdvdGoyc.svg +0 -1
- package/dist/more-vertical~pUtQYQfx.svg +0 -1
- package/dist/mouse-pointer~badOPCSt.svg +0 -1
- package/dist/move~blNGAwZy.svg +0 -1
- package/dist/music~betqwQCc.svg +0 -1
- package/dist/navigation-2~bkXruwKQ.svg +0 -1
- package/dist/navigation~OPYqSXpj.svg +0 -1
- package/dist/octagon~HdRqGFRs.svg +0 -1
- package/dist/package~gQJSCxJm.svg +0 -1
- package/dist/paperclip~AShGFnmT.svg +0 -1
- package/dist/pause-circle~bgWLsoeJ.svg +0 -1
- package/dist/pause~HMTeReNG.svg +0 -1
- package/dist/pen-tool~Vumbwtwd.svg +0 -1
- package/dist/percent~bdBIiPPH.svg +0 -1
- package/dist/phone-call~bouZaGel.svg +0 -1
- package/dist/phone-forwarded~RarENXPI.svg +0 -1
- package/dist/phone-incoming~GljCixZT.svg +0 -1
- package/dist/phone-missed~gMNdkMVF.svg +0 -1
- package/dist/phone-off~HYzwzNoH.svg +0 -1
- package/dist/phone-outgoing~rxwwfxQI.svg +0 -1
- package/dist/phone~BUJDdwmU.svg +0 -1
- package/dist/pie-chart~NiCpGotM.svg +0 -1
- package/dist/play-circle~baYTKokN.svg +0 -1
- package/dist/play~IFwOzAxH.svg +0 -1
- package/dist/plus-circle~LflBbcYI.svg +0 -1
- package/dist/plus-square~oYHJAdJu.svg +0 -1
- package/dist/plus~bhuxXvHC.svg +0 -1
- package/dist/pocket~baRAYLiZ.svg +0 -1
- package/dist/power~SxEJBaEt.svg +0 -1
- package/dist/printer~bfRDqzdn.svg +0 -1
- package/dist/radio~DwpKPdWX.svg +0 -1
- package/dist/refresh-ccw~bgmxuxkV.svg +0 -1
- package/dist/refresh-cw~qqtpctZN.svg +0 -1
- package/dist/repeat~PzvnzcVu.svg +0 -1
- package/dist/rewind~LjmGpKwP.svg +0 -1
- package/dist/rotate-ccw~ldkbqqoc.svg +0 -1
- package/dist/rotate-cw~thfnctwj.svg +0 -1
- package/dist/rss~bfFKddOP.svg +0 -1
- package/dist/save~ByMAWbsH.svg +0 -1
- package/dist/scissors~BXUjfRXV.svg +0 -1
- package/dist/search~bjxBdQqx.svg +0 -1
- package/dist/send~euQpXoGp.svg +0 -1
- package/dist/server~DcLwAXxD.svg +0 -1
- package/dist/settings~plzuITpH.svg +0 -1
- package/dist/share-2~ZffJGrzN.svg +0 -1
- package/dist/share~MhNsMHnv.svg +0 -1
- package/dist/shield-off~VgpZZqIB.svg +0 -1
- package/dist/shield~ICeYsYwx.svg +0 -1
- package/dist/shopping-bag~bbIFUUKM.svg +0 -1
- package/dist/shopping-cart~NFrkkTZr.svg +0 -1
- package/dist/shuffle~tXabkuTd.svg +0 -1
- package/dist/sidebar~bhMeTjDm.svg +0 -1
- package/dist/skip-back~gceMMhdq.svg +0 -1
- package/dist/skip-forward~COBqVpgr.svg +0 -1
- package/dist/slack~ZNrnxgSx.svg +0 -1
- package/dist/slash~AUPAGPvg.svg +0 -1
- package/dist/sliders~yFnCkOnV.svg +0 -1
- package/dist/smartphone~hTwBWIEg.svg +0 -1
- package/dist/smile~XNZLcKSN.svg +0 -1
- package/dist/speaker~DjRotaeS.svg +0 -1
- package/dist/square~baZuFkLd.svg +0 -1
- package/dist/star~LmDDPANn.svg +0 -1
- package/dist/stop-circle~pdmXFcxi.svg +0 -1
- package/dist/sunrise~KmZZNjuf.svg +0 -1
- package/dist/sunset~bbNqfJBW.svg +0 -1
- package/dist/sun~oxzeTmcs.svg +0 -1
- package/dist/tablet~fGcDYJRb.svg +0 -1
- package/dist/table~xxKZPVLj.svg +0 -1
- package/dist/tag~EcvcKRJQ.svg +0 -1
- package/dist/target~RzxvDAhK.svg +0 -1
- package/dist/terminal~dQpphtDj.svg +0 -1
- package/dist/thermometer~bdMfLhcO.svg +0 -1
- package/dist/thumbs-down~NvHaFMqI.svg +0 -1
- package/dist/thumbs-up~wjEXSBgS.svg +0 -1
- package/dist/toggle-left~jPbjdXAY.svg +0 -1
- package/dist/toggle-right~IOFvWyHA.svg +0 -1
- package/dist/tool~CdDRqxCL.svg +0 -1
- package/dist/trash-2~belPhfEE.svg +0 -1
- package/dist/trash~lZqFuqQW.svg +0 -1
- package/dist/trello~bktuyBUj.svg +0 -1
- package/dist/trending-down~viwePGkh.svg +0 -1
- package/dist/trending-up~NmLnokPc.svg +0 -1
- package/dist/triangle~BUZbkddz.svg +0 -1
- package/dist/truck~bbTddAdf.svg +0 -1
- package/dist/tv~bcAQOraw.svg +0 -1
- package/dist/twitch~bjeCRDuE.svg +0 -1
- package/dist/twitter~boxtFEFF.svg +0 -1
- package/dist/type~ncdlVwTR.svg +0 -1
- package/dist/umbrella~RTPSxBgn.svg +0 -1
- package/dist/underline~kMLGILnp.svg +0 -1
- package/dist/unlock~NvPPFnwR.svg +0 -1
- package/dist/upload-cloud~bbwgGQhC.svg +0 -1
- package/dist/upload~BHJFcEyU.svg +0 -1
- package/dist/user-check~uxPibher.svg +0 -1
- package/dist/user-minus~booxhJNJ.svg +0 -1
- package/dist/user-plus~bfqtRGWA.svg +0 -1
- package/dist/user-x~nPnBpKsD.svg +0 -1
- package/dist/users~TNvWMhZW.svg +0 -1
- package/dist/user~JKzKPASe.svg +0 -1
- package/dist/video-off~bfwQrZRh.svg +0 -1
- package/dist/video~JujRyiIj.svg +0 -1
- package/dist/voicemail~fhqlzVWL.svg +0 -1
- package/dist/volume-1~bhKtOxog.svg +0 -1
- package/dist/volume-2~JDbZIdGz.svg +0 -1
- package/dist/volume-x~ETRbeDcO.svg +0 -1
- package/dist/volume~kHjODsVV.svg +0 -1
- package/dist/watch~JVZYZBXp.svg +0 -1
- package/dist/wifi-off~ilJJyYxW.svg +0 -1
- package/dist/wifi~CUgLgTvx.svg +0 -1
- package/dist/wind~YbrjuQWi.svg +0 -1
- package/dist/x-circle~bpwRYEoy.svg +0 -1
- package/dist/x-octagon~ubDqtnWl.svg +0 -1
- package/dist/x-square~unBFooQv.svg +0 -1
- package/dist/x~LUSCZZme.svg +0 -1
- package/dist/youtube~KkkPcYpx.svg +0 -1
- package/dist/zap-off~bokClQTx.svg +0 -1
- package/dist/zap~bbZskdTu.svg +0 -1
- package/dist/zoom-in~GKjbyGDc.svg +0 -1
- package/dist/zoom-out~JvQgNgol.svg +0 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,2141 @@
|
|
|
1
|
+
import * as styled_components from 'styled-components';
|
|
2
|
+
import { FlattenSimpleInterpolation } from 'styled-components';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import react__default, { TextareaHTMLAttributes } from 'react';
|
|
5
|
+
import { PopupProps, SemanticICONS } from 'semantic-ui-react';
|
|
6
|
+
export * from 'semantic-ui-react';
|
|
7
|
+
|
|
8
|
+
declare type TransitionFunction = 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear' | 'step-start' | 'step-end' | `cubic-bezier(${number}, ${number}, ${number}, ${number})` | `frames(${number})` | `steps(${number})` | `steps(${number}, ${'jump-start' | 'jump-end' | 'jump-none' | 'jump-both' | 'start' | 'end'})`;
|
|
9
|
+
interface Transition$1<P extends string> {
|
|
10
|
+
active: boolean;
|
|
11
|
+
mountDuration: number;
|
|
12
|
+
properties: Partial<{
|
|
13
|
+
[key in P]: {
|
|
14
|
+
/**
|
|
15
|
+
* Note: equals or less than mountDuration
|
|
16
|
+
* Default: value of mountDuration
|
|
17
|
+
*/
|
|
18
|
+
duration?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Default: ease-in-out
|
|
21
|
+
*/
|
|
22
|
+
function?: TransitionFunction;
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
declare type MappedTransitions<P extends string> = {
|
|
27
|
+
[key in P]: {
|
|
28
|
+
enabled?: string;
|
|
29
|
+
disabled?: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare const theme: {
|
|
34
|
+
readonly button: {
|
|
35
|
+
readonly sizes: {
|
|
36
|
+
tiny: {
|
|
37
|
+
fontSize: string;
|
|
38
|
+
lineHeight: string;
|
|
39
|
+
minWidth: string;
|
|
40
|
+
minHeight: string;
|
|
41
|
+
};
|
|
42
|
+
mini: {
|
|
43
|
+
fontSize: string;
|
|
44
|
+
lineHeight: string;
|
|
45
|
+
minWidth: string;
|
|
46
|
+
minHeight: string;
|
|
47
|
+
};
|
|
48
|
+
small: {
|
|
49
|
+
fontSize: string;
|
|
50
|
+
lineHeight: string;
|
|
51
|
+
minWidth: string;
|
|
52
|
+
minHeight: string;
|
|
53
|
+
};
|
|
54
|
+
large: {
|
|
55
|
+
fontSize: string;
|
|
56
|
+
lineHeight: string;
|
|
57
|
+
minWidth: string;
|
|
58
|
+
minHeight: string;
|
|
59
|
+
};
|
|
60
|
+
big: {
|
|
61
|
+
fontSize: string;
|
|
62
|
+
lineHeight: string;
|
|
63
|
+
minWidth: string;
|
|
64
|
+
minHeight: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
declare type ColorOptions = keyof typeof colors;
|
|
71
|
+
declare type OpacitiyOptions = keyof typeof opacities;
|
|
72
|
+
declare type SpacingOptions = keyof typeof spacings;
|
|
73
|
+
declare type FontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
74
|
+
interface Typography {
|
|
75
|
+
fontFamily: string;
|
|
76
|
+
fontWeight: FontWeight;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
}
|
|
79
|
+
declare type TypographyOptions = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
|
|
80
|
+
declare type Typographies = {
|
|
81
|
+
[key in TypographyOptions]: Typography;
|
|
82
|
+
};
|
|
83
|
+
declare type useTypographyFunc = (typography: TypographyOptions, options?: {
|
|
84
|
+
fontWeight?: FontWeight;
|
|
85
|
+
}) => FlattenSimpleInterpolation;
|
|
86
|
+
interface ThemeInterface {
|
|
87
|
+
colors: typeof colors;
|
|
88
|
+
fonts: typeof fonts;
|
|
89
|
+
getColor: (color: ColorOptions, opacity?: OpacitiyOptions) => string;
|
|
90
|
+
useTypography: useTypographyFunc;
|
|
91
|
+
isDarkColor: (color: ColorOptions, ifDark?: ColorOptions, ifLight?: ColorOptions) => ColorOptions;
|
|
92
|
+
spacings: typeof spacings;
|
|
93
|
+
typographies: typeof typographies;
|
|
94
|
+
components: typeof theme;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
declare const colors: {
|
|
98
|
+
readonly black: "#000000";
|
|
99
|
+
readonly blue: "#3455AB";
|
|
100
|
+
readonly bronze: "#7A4D05";
|
|
101
|
+
readonly brown: "#9F3A38";
|
|
102
|
+
readonly darkBlue: "#192338";
|
|
103
|
+
readonly darkestBlue: "#121B2E";
|
|
104
|
+
readonly darkestGreen: "#1E561F";
|
|
105
|
+
readonly darkestGrey: "#989898";
|
|
106
|
+
readonly darkGreen: "#129105";
|
|
107
|
+
readonly darkGrey: "#949494";
|
|
108
|
+
readonly darkSilver: "#525A6A";
|
|
109
|
+
readonly floralWhite: "#FFFAF3";
|
|
110
|
+
readonly ghostWhite: "#F9FAFB";
|
|
111
|
+
readonly green: "#76B100";
|
|
112
|
+
readonly grey: "#ADADAD";
|
|
113
|
+
readonly greyishBlue: "#263046";
|
|
114
|
+
readonly iceWhite: "#F9F8F8";
|
|
115
|
+
readonly lightBlue: "#2D9AFF";
|
|
116
|
+
readonly lightestGrey: "#E2E2E3";
|
|
117
|
+
readonly lightGreen: "#66BB6A";
|
|
118
|
+
readonly lightGrey: "#C8C8C8";
|
|
119
|
+
readonly milkWhite: "#FCFFF5";
|
|
120
|
+
readonly orange: "#FB8702";
|
|
121
|
+
readonly pink: "#E23851";
|
|
122
|
+
readonly purple: "#8E66BB";
|
|
123
|
+
readonly red: "#C31717";
|
|
124
|
+
readonly silver: "#B2B2B2";
|
|
125
|
+
readonly snowWhite: "#FFF6F6";
|
|
126
|
+
readonly vanilla: "#CCBEA0";
|
|
127
|
+
readonly warningGray: "#E6E6E6";
|
|
128
|
+
readonly warningRed: "#EF5350";
|
|
129
|
+
readonly warningYellow: "#FBCF30";
|
|
130
|
+
readonly white: "#FFFFFF";
|
|
131
|
+
readonly yellow: "#FBCB01";
|
|
132
|
+
};
|
|
133
|
+
declare const opacities: {
|
|
134
|
+
readonly 100: "FF";
|
|
135
|
+
readonly 95: "F2";
|
|
136
|
+
readonly 90: "E6";
|
|
137
|
+
readonly 85: "D9";
|
|
138
|
+
readonly 80: "CC";
|
|
139
|
+
readonly 75: "BF";
|
|
140
|
+
readonly 70: "B3";
|
|
141
|
+
readonly 65: "A6";
|
|
142
|
+
readonly 60: "99";
|
|
143
|
+
readonly 55: "8C";
|
|
144
|
+
readonly 50: "80";
|
|
145
|
+
readonly 45: "73";
|
|
146
|
+
readonly 40: "66";
|
|
147
|
+
readonly 35: "59";
|
|
148
|
+
readonly 30: "4D";
|
|
149
|
+
readonly 25: "40";
|
|
150
|
+
readonly 20: "33";
|
|
151
|
+
readonly 15: "26";
|
|
152
|
+
readonly 10: "1A";
|
|
153
|
+
readonly 5: "0D";
|
|
154
|
+
readonly 0: "00";
|
|
155
|
+
};
|
|
156
|
+
declare const spacings: {
|
|
157
|
+
readonly s1: "7px";
|
|
158
|
+
readonly s2: "8px";
|
|
159
|
+
readonly s3: "14px";
|
|
160
|
+
readonly s4: "21px";
|
|
161
|
+
readonly s5: "28px";
|
|
162
|
+
readonly s6: "35px";
|
|
163
|
+
};
|
|
164
|
+
declare const fonts: {
|
|
165
|
+
readonly lato: "\"Lato\", sans-serif";
|
|
166
|
+
};
|
|
167
|
+
declare const typographies: Typographies;
|
|
168
|
+
|
|
169
|
+
declare type Position = 'top right' | 'top left' | 'bottom right' | 'bottom left' | 'right top' | 'right bottom' | 'left top' | 'left bottom';
|
|
170
|
+
interface References {
|
|
171
|
+
top?: string;
|
|
172
|
+
left?: string;
|
|
173
|
+
bottom?: string;
|
|
174
|
+
right?: string;
|
|
175
|
+
}
|
|
176
|
+
declare type TransitionArguments = Transition$1<'width' | 'max-width' | 'height' | 'max-height'>;
|
|
177
|
+
declare type CommonProps$3 = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
178
|
+
width?: string | number;
|
|
179
|
+
height?: string | number;
|
|
180
|
+
maxWidth?: string | number;
|
|
181
|
+
maxHeight?: string | number;
|
|
182
|
+
references?: References;
|
|
183
|
+
zIndex?: number;
|
|
184
|
+
pointer?: {
|
|
185
|
+
color?: ColorOptions | string | ((theme: ThemeInterface) => string);
|
|
186
|
+
size?: SpacingOptions | string | ((theme: ThemeInterface) => string);
|
|
187
|
+
distance?: SpacingOptions | string | ((theme: ThemeInterface) => string);
|
|
188
|
+
} | true;
|
|
189
|
+
bgColor?: ColorOptions | string | ((theme: ThemeInterface) => string);
|
|
190
|
+
} & (React.PropsWithChildren | {
|
|
191
|
+
content: React.FunctionComponent;
|
|
192
|
+
});
|
|
193
|
+
declare type AbsoluteContainerProps = CommonProps$3 & {
|
|
194
|
+
open: boolean;
|
|
195
|
+
position?: Position;
|
|
196
|
+
axis?: 'x' | 'y';
|
|
197
|
+
center?: {
|
|
198
|
+
x: number;
|
|
199
|
+
y: number;
|
|
200
|
+
};
|
|
201
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
202
|
+
/**
|
|
203
|
+
* defines an element to be the bound reference when calculating auto position,
|
|
204
|
+
* the window will be used by default
|
|
205
|
+
* */
|
|
206
|
+
boundRef?: HTMLDivElement | null;
|
|
207
|
+
transition?: Partial<Omit<TransitionArguments, 'active'>>;
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
interface LoaderProps {
|
|
211
|
+
color?: string | keyof typeof colors;
|
|
212
|
+
bgColor?: string | keyof typeof colors;
|
|
213
|
+
size?: string;
|
|
214
|
+
borderSize?: string;
|
|
215
|
+
filled?: true | string | keyof typeof colors;
|
|
216
|
+
zIndex?: number;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare type Common$5 = react__default.HTMLAttributes<HTMLDivElement> & {
|
|
220
|
+
height?: string;
|
|
221
|
+
maxHeight?: string;
|
|
222
|
+
spacing?: SpacingOrZero | Omit<Spacings, 'right'>;
|
|
223
|
+
};
|
|
224
|
+
declare type AfterBefore = react__default.HTMLAttributes<HTMLDivElement> & {
|
|
225
|
+
fluid?: true;
|
|
226
|
+
background?: Parameters<ThemeInterface['getColor']> | Parameters<ThemeInterface['getColor']>[0];
|
|
227
|
+
spacing?: SpacingOrZero | Omit<Spacings, 'right'>;
|
|
228
|
+
children: ReactNode;
|
|
229
|
+
};
|
|
230
|
+
interface ScrollContainerProps extends Common$5 {
|
|
231
|
+
onScrollEnd?: (event: react__default.UIEvent<HTMLDivElement, UIEvent>) => void | Promise<void>;
|
|
232
|
+
before?: ReactNode | AfterBefore;
|
|
233
|
+
after?: ReactNode | AfterBefore;
|
|
234
|
+
empty?: {
|
|
235
|
+
empty: boolean;
|
|
236
|
+
content: ReactNode;
|
|
237
|
+
};
|
|
238
|
+
loading?: boolean | LoaderProps;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/** funcao que fara a validacao da regra, deve retornar true caso passe na validacao, e false ou o conteudo do popup caso contrario */
|
|
242
|
+
declare type Rule<T extends GenericObject = GenericObject> = (index: number, data: T) => boolean | Omit<PopupProps, 'trigger'>;
|
|
243
|
+
declare type MenuOptionLabelProps<T extends GenericObject = GenericObject> = {
|
|
244
|
+
delimiter?: boolean;
|
|
245
|
+
keepOpen?: boolean;
|
|
246
|
+
caret?: boolean;
|
|
247
|
+
disabled?: boolean;
|
|
248
|
+
border?: Borders;
|
|
249
|
+
data: T;
|
|
250
|
+
};
|
|
251
|
+
declare type OptionLabelComponent<T extends GenericObject = GenericObject> = react__default.FunctionComponent<MenuOptionLabelProps<T>>;
|
|
252
|
+
declare type Option$2<T extends GenericObject = GenericObject> = MenuOptionLabelProps<T> & {
|
|
253
|
+
label: ReactNode | OptionLabelComponent<T>;
|
|
254
|
+
onClick?: (index: number, option: Option$2, event: react__default.MouseEvent) => void;
|
|
255
|
+
rules?: Rule<T>[];
|
|
256
|
+
};
|
|
257
|
+
interface CommonProps$2 extends Omit<AbsoluteContainerProps, 'children' | 'content'> {
|
|
258
|
+
bordered?: boolean;
|
|
259
|
+
containerSpacing?: SpacingOrZero | Omit<Spacings, 'right'>;
|
|
260
|
+
itemSpacing?: SpacingOrZero | Spacings;
|
|
261
|
+
children?: JSX.Element | (string & (string | JSX.Element | undefined)) | null;
|
|
262
|
+
}
|
|
263
|
+
interface MenuProps<T extends GenericObject = GenericObject> extends CommonProps$2, Pick<ScrollContainerProps, 'onScrollEnd' | 'loading' | 'before' | 'after'> {
|
|
264
|
+
open: boolean;
|
|
265
|
+
close: () => void;
|
|
266
|
+
options: Option$2<T>[];
|
|
267
|
+
scrollSpacing?: ScrollContainerProps['spacing'];
|
|
268
|
+
scrollTabIndex?: number;
|
|
269
|
+
emptyContent?: ReactNode;
|
|
270
|
+
highlight?: number;
|
|
271
|
+
}
|
|
272
|
+
declare type MenuInterface = <T extends GenericObject = GenericObject>(props: MenuProps<T>, ref?: react__default.ForwardedRef<HTMLDivElement>) => JSX.Element;
|
|
273
|
+
|
|
274
|
+
declare const icons: {
|
|
275
|
+
readonly activity: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
276
|
+
title?: string | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
readonly airplay: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
279
|
+
title?: string | undefined;
|
|
280
|
+
}>;
|
|
281
|
+
readonly alert_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
282
|
+
title?: string | undefined;
|
|
283
|
+
}>;
|
|
284
|
+
readonly alert_octagon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
285
|
+
title?: string | undefined;
|
|
286
|
+
}>;
|
|
287
|
+
readonly alert_triangle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
288
|
+
title?: string | undefined;
|
|
289
|
+
}>;
|
|
290
|
+
readonly align_center: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
291
|
+
title?: string | undefined;
|
|
292
|
+
}>;
|
|
293
|
+
readonly align_justify: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
294
|
+
title?: string | undefined;
|
|
295
|
+
}>;
|
|
296
|
+
readonly align_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
297
|
+
title?: string | undefined;
|
|
298
|
+
}>;
|
|
299
|
+
readonly align_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
300
|
+
title?: string | undefined;
|
|
301
|
+
}>;
|
|
302
|
+
readonly anchor: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
303
|
+
title?: string | undefined;
|
|
304
|
+
}>;
|
|
305
|
+
readonly aperture: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
306
|
+
title?: string | undefined;
|
|
307
|
+
}>;
|
|
308
|
+
readonly archive: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
309
|
+
title?: string | undefined;
|
|
310
|
+
}>;
|
|
311
|
+
readonly arrow_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
312
|
+
title?: string | undefined;
|
|
313
|
+
}>;
|
|
314
|
+
readonly arrow_down_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
315
|
+
title?: string | undefined;
|
|
316
|
+
}>;
|
|
317
|
+
readonly arrow_down_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
318
|
+
title?: string | undefined;
|
|
319
|
+
}>;
|
|
320
|
+
readonly arrow_down_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
321
|
+
title?: string | undefined;
|
|
322
|
+
}>;
|
|
323
|
+
readonly arrow_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
324
|
+
title?: string | undefined;
|
|
325
|
+
}>;
|
|
326
|
+
readonly arrow_left_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
327
|
+
title?: string | undefined;
|
|
328
|
+
}>;
|
|
329
|
+
readonly arrow_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
330
|
+
title?: string | undefined;
|
|
331
|
+
}>;
|
|
332
|
+
readonly arrow_right_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
333
|
+
title?: string | undefined;
|
|
334
|
+
}>;
|
|
335
|
+
readonly arrow_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
336
|
+
title?: string | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
readonly arrow_up_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
339
|
+
title?: string | undefined;
|
|
340
|
+
}>;
|
|
341
|
+
readonly arrow_up_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
342
|
+
title?: string | undefined;
|
|
343
|
+
}>;
|
|
344
|
+
readonly arrow_up_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
345
|
+
title?: string | undefined;
|
|
346
|
+
}>;
|
|
347
|
+
readonly at_sign: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
348
|
+
title?: string | undefined;
|
|
349
|
+
}>;
|
|
350
|
+
readonly award: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
351
|
+
title?: string | undefined;
|
|
352
|
+
}>;
|
|
353
|
+
readonly bar_chart: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
354
|
+
title?: string | undefined;
|
|
355
|
+
}>;
|
|
356
|
+
readonly bar_chart_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
357
|
+
title?: string | undefined;
|
|
358
|
+
}>;
|
|
359
|
+
readonly battery: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
360
|
+
title?: string | undefined;
|
|
361
|
+
}>;
|
|
362
|
+
readonly battery_charging: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
363
|
+
title?: string | undefined;
|
|
364
|
+
}>;
|
|
365
|
+
readonly bell: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
366
|
+
title?: string | undefined;
|
|
367
|
+
}>;
|
|
368
|
+
readonly bell_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
369
|
+
title?: string | undefined;
|
|
370
|
+
}>;
|
|
371
|
+
readonly bluetooth: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
372
|
+
title?: string | undefined;
|
|
373
|
+
}>;
|
|
374
|
+
readonly bold: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
375
|
+
title?: string | undefined;
|
|
376
|
+
}>;
|
|
377
|
+
readonly book: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
378
|
+
title?: string | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
readonly book_open: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
381
|
+
title?: string | undefined;
|
|
382
|
+
}>;
|
|
383
|
+
readonly bookmark: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
384
|
+
title?: string | undefined;
|
|
385
|
+
}>;
|
|
386
|
+
readonly box: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
387
|
+
title?: string | undefined;
|
|
388
|
+
}>;
|
|
389
|
+
readonly briefcase: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
390
|
+
title?: string | undefined;
|
|
391
|
+
}>;
|
|
392
|
+
readonly calendar: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
393
|
+
title?: string | undefined;
|
|
394
|
+
}>;
|
|
395
|
+
readonly camera: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
396
|
+
title?: string | undefined;
|
|
397
|
+
}>;
|
|
398
|
+
readonly camera_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
399
|
+
title?: string | undefined;
|
|
400
|
+
}>;
|
|
401
|
+
readonly cast: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
402
|
+
title?: string | undefined;
|
|
403
|
+
}>;
|
|
404
|
+
readonly check: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
405
|
+
title?: string | undefined;
|
|
406
|
+
}>;
|
|
407
|
+
readonly check_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
408
|
+
title?: string | undefined;
|
|
409
|
+
}>;
|
|
410
|
+
readonly check_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
411
|
+
title?: string | undefined;
|
|
412
|
+
}>;
|
|
413
|
+
readonly chevron_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
414
|
+
title?: string | undefined;
|
|
415
|
+
}>;
|
|
416
|
+
readonly chevron_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
417
|
+
title?: string | undefined;
|
|
418
|
+
}>;
|
|
419
|
+
readonly chevron_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
420
|
+
title?: string | undefined;
|
|
421
|
+
}>;
|
|
422
|
+
readonly chevron_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
423
|
+
title?: string | undefined;
|
|
424
|
+
}>;
|
|
425
|
+
readonly chevrons_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
426
|
+
title?: string | undefined;
|
|
427
|
+
}>;
|
|
428
|
+
readonly chevrons_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
429
|
+
title?: string | undefined;
|
|
430
|
+
}>;
|
|
431
|
+
readonly chevrons_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
432
|
+
title?: string | undefined;
|
|
433
|
+
}>;
|
|
434
|
+
readonly chevrons_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
435
|
+
title?: string | undefined;
|
|
436
|
+
}>;
|
|
437
|
+
readonly chrome: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
438
|
+
title?: string | undefined;
|
|
439
|
+
}>;
|
|
440
|
+
readonly circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
441
|
+
title?: string | undefined;
|
|
442
|
+
}>;
|
|
443
|
+
readonly clipboard: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
444
|
+
title?: string | undefined;
|
|
445
|
+
}>;
|
|
446
|
+
readonly clock: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
447
|
+
title?: string | undefined;
|
|
448
|
+
}>;
|
|
449
|
+
readonly cloud: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
450
|
+
title?: string | undefined;
|
|
451
|
+
}>;
|
|
452
|
+
readonly cloud_drizzle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
453
|
+
title?: string | undefined;
|
|
454
|
+
}>;
|
|
455
|
+
readonly cloud_lightning: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
456
|
+
title?: string | undefined;
|
|
457
|
+
}>;
|
|
458
|
+
readonly cloud_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
459
|
+
title?: string | undefined;
|
|
460
|
+
}>;
|
|
461
|
+
readonly cloud_rain: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
462
|
+
title?: string | undefined;
|
|
463
|
+
}>;
|
|
464
|
+
readonly cloud_snow: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
465
|
+
title?: string | undefined;
|
|
466
|
+
}>;
|
|
467
|
+
readonly code: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
468
|
+
title?: string | undefined;
|
|
469
|
+
}>;
|
|
470
|
+
readonly codepen: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
471
|
+
title?: string | undefined;
|
|
472
|
+
}>;
|
|
473
|
+
readonly codesandbox: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
474
|
+
title?: string | undefined;
|
|
475
|
+
}>;
|
|
476
|
+
readonly coffee: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
477
|
+
title?: string | undefined;
|
|
478
|
+
}>;
|
|
479
|
+
readonly columns: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
480
|
+
title?: string | undefined;
|
|
481
|
+
}>;
|
|
482
|
+
readonly command: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
483
|
+
title?: string | undefined;
|
|
484
|
+
}>;
|
|
485
|
+
readonly compass: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
486
|
+
title?: string | undefined;
|
|
487
|
+
}>;
|
|
488
|
+
readonly copy: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
489
|
+
title?: string | undefined;
|
|
490
|
+
}>;
|
|
491
|
+
readonly corner_down_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
492
|
+
title?: string | undefined;
|
|
493
|
+
}>;
|
|
494
|
+
readonly corner_down_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
495
|
+
title?: string | undefined;
|
|
496
|
+
}>;
|
|
497
|
+
readonly corner_left_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
498
|
+
title?: string | undefined;
|
|
499
|
+
}>;
|
|
500
|
+
readonly corner_left_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
501
|
+
title?: string | undefined;
|
|
502
|
+
}>;
|
|
503
|
+
readonly corner_right_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
504
|
+
title?: string | undefined;
|
|
505
|
+
}>;
|
|
506
|
+
readonly corner_right_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
507
|
+
title?: string | undefined;
|
|
508
|
+
}>;
|
|
509
|
+
readonly corner_up_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
510
|
+
title?: string | undefined;
|
|
511
|
+
}>;
|
|
512
|
+
readonly corner_up_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
513
|
+
title?: string | undefined;
|
|
514
|
+
}>;
|
|
515
|
+
readonly cpu: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
516
|
+
title?: string | undefined;
|
|
517
|
+
}>;
|
|
518
|
+
readonly credit_card: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
519
|
+
title?: string | undefined;
|
|
520
|
+
}>;
|
|
521
|
+
readonly crop: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
522
|
+
title?: string | undefined;
|
|
523
|
+
}>;
|
|
524
|
+
readonly crosshair: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
525
|
+
title?: string | undefined;
|
|
526
|
+
}>;
|
|
527
|
+
readonly database: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
528
|
+
title?: string | undefined;
|
|
529
|
+
}>;
|
|
530
|
+
readonly delete: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
531
|
+
title?: string | undefined;
|
|
532
|
+
}>;
|
|
533
|
+
readonly disc: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
534
|
+
title?: string | undefined;
|
|
535
|
+
}>;
|
|
536
|
+
readonly divide: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
537
|
+
title?: string | undefined;
|
|
538
|
+
}>;
|
|
539
|
+
readonly divide_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
540
|
+
title?: string | undefined;
|
|
541
|
+
}>;
|
|
542
|
+
readonly divide_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
543
|
+
title?: string | undefined;
|
|
544
|
+
}>;
|
|
545
|
+
readonly dollar_sign: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
546
|
+
title?: string | undefined;
|
|
547
|
+
}>;
|
|
548
|
+
readonly download: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
549
|
+
title?: string | undefined;
|
|
550
|
+
}>;
|
|
551
|
+
readonly download_cloud: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
552
|
+
title?: string | undefined;
|
|
553
|
+
}>;
|
|
554
|
+
readonly dribbble: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
555
|
+
title?: string | undefined;
|
|
556
|
+
}>;
|
|
557
|
+
readonly droplet: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
558
|
+
title?: string | undefined;
|
|
559
|
+
}>;
|
|
560
|
+
readonly edit: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
561
|
+
title?: string | undefined;
|
|
562
|
+
}>;
|
|
563
|
+
readonly edit_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
564
|
+
title?: string | undefined;
|
|
565
|
+
}>;
|
|
566
|
+
readonly edit_3: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
567
|
+
title?: string | undefined;
|
|
568
|
+
}>;
|
|
569
|
+
readonly external_link: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
570
|
+
title?: string | undefined;
|
|
571
|
+
}>;
|
|
572
|
+
readonly eye: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
573
|
+
title?: string | undefined;
|
|
574
|
+
}>;
|
|
575
|
+
readonly eye_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
576
|
+
title?: string | undefined;
|
|
577
|
+
}>;
|
|
578
|
+
readonly facebook: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
579
|
+
title?: string | undefined;
|
|
580
|
+
}>;
|
|
581
|
+
readonly fast_forward: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
582
|
+
title?: string | undefined;
|
|
583
|
+
}>;
|
|
584
|
+
readonly feather: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
585
|
+
title?: string | undefined;
|
|
586
|
+
}>;
|
|
587
|
+
readonly figma: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
588
|
+
title?: string | undefined;
|
|
589
|
+
}>;
|
|
590
|
+
readonly file: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
591
|
+
title?: string | undefined;
|
|
592
|
+
}>;
|
|
593
|
+
readonly file_minus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
594
|
+
title?: string | undefined;
|
|
595
|
+
}>;
|
|
596
|
+
readonly file_plus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
597
|
+
title?: string | undefined;
|
|
598
|
+
}>;
|
|
599
|
+
readonly file_text: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
600
|
+
title?: string | undefined;
|
|
601
|
+
}>;
|
|
602
|
+
readonly film: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
603
|
+
title?: string | undefined;
|
|
604
|
+
}>;
|
|
605
|
+
readonly filter: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
606
|
+
title?: string | undefined;
|
|
607
|
+
}>;
|
|
608
|
+
readonly flag: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
609
|
+
title?: string | undefined;
|
|
610
|
+
}>;
|
|
611
|
+
readonly folder: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
612
|
+
title?: string | undefined;
|
|
613
|
+
}>;
|
|
614
|
+
readonly folder_minus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
615
|
+
title?: string | undefined;
|
|
616
|
+
}>;
|
|
617
|
+
readonly folder_plus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
618
|
+
title?: string | undefined;
|
|
619
|
+
}>;
|
|
620
|
+
readonly framer: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
621
|
+
title?: string | undefined;
|
|
622
|
+
}>;
|
|
623
|
+
readonly frown: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
624
|
+
title?: string | undefined;
|
|
625
|
+
}>;
|
|
626
|
+
readonly gift: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
627
|
+
title?: string | undefined;
|
|
628
|
+
}>;
|
|
629
|
+
readonly git_branch: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
630
|
+
title?: string | undefined;
|
|
631
|
+
}>;
|
|
632
|
+
readonly git_commit: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
633
|
+
title?: string | undefined;
|
|
634
|
+
}>;
|
|
635
|
+
readonly git_merge: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
636
|
+
title?: string | undefined;
|
|
637
|
+
}>;
|
|
638
|
+
readonly git_pull_request: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
639
|
+
title?: string | undefined;
|
|
640
|
+
}>;
|
|
641
|
+
readonly github: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
642
|
+
title?: string | undefined;
|
|
643
|
+
}>;
|
|
644
|
+
readonly gitlab: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
645
|
+
title?: string | undefined;
|
|
646
|
+
}>;
|
|
647
|
+
readonly globe: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
648
|
+
title?: string | undefined;
|
|
649
|
+
}>;
|
|
650
|
+
readonly grid: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
651
|
+
title?: string | undefined;
|
|
652
|
+
}>;
|
|
653
|
+
readonly hard_drive: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
654
|
+
title?: string | undefined;
|
|
655
|
+
}>;
|
|
656
|
+
readonly hash: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
657
|
+
title?: string | undefined;
|
|
658
|
+
}>;
|
|
659
|
+
readonly headphones: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
660
|
+
title?: string | undefined;
|
|
661
|
+
}>;
|
|
662
|
+
readonly heart: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
663
|
+
title?: string | undefined;
|
|
664
|
+
}>;
|
|
665
|
+
readonly help_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
666
|
+
title?: string | undefined;
|
|
667
|
+
}>;
|
|
668
|
+
readonly hexagon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
669
|
+
title?: string | undefined;
|
|
670
|
+
}>;
|
|
671
|
+
readonly home: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
672
|
+
title?: string | undefined;
|
|
673
|
+
}>;
|
|
674
|
+
readonly image: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
675
|
+
title?: string | undefined;
|
|
676
|
+
}>;
|
|
677
|
+
readonly inbox: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
678
|
+
title?: string | undefined;
|
|
679
|
+
}>;
|
|
680
|
+
readonly info: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
681
|
+
title?: string | undefined;
|
|
682
|
+
}>;
|
|
683
|
+
readonly instagram: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
684
|
+
title?: string | undefined;
|
|
685
|
+
}>;
|
|
686
|
+
readonly italic: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
687
|
+
title?: string | undefined;
|
|
688
|
+
}>;
|
|
689
|
+
readonly key: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
690
|
+
title?: string | undefined;
|
|
691
|
+
}>;
|
|
692
|
+
readonly layers: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
693
|
+
title?: string | undefined;
|
|
694
|
+
}>;
|
|
695
|
+
readonly layout: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
696
|
+
title?: string | undefined;
|
|
697
|
+
}>;
|
|
698
|
+
readonly life_buoy: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
699
|
+
title?: string | undefined;
|
|
700
|
+
}>;
|
|
701
|
+
readonly link: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
702
|
+
title?: string | undefined;
|
|
703
|
+
}>;
|
|
704
|
+
readonly link_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
705
|
+
title?: string | undefined;
|
|
706
|
+
}>;
|
|
707
|
+
readonly linkedin: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
708
|
+
title?: string | undefined;
|
|
709
|
+
}>;
|
|
710
|
+
readonly list: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
711
|
+
title?: string | undefined;
|
|
712
|
+
}>;
|
|
713
|
+
readonly loader: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
714
|
+
title?: string | undefined;
|
|
715
|
+
}>;
|
|
716
|
+
readonly lock: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
717
|
+
title?: string | undefined;
|
|
718
|
+
}>;
|
|
719
|
+
readonly log_in: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
720
|
+
title?: string | undefined;
|
|
721
|
+
}>;
|
|
722
|
+
readonly log_out: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
723
|
+
title?: string | undefined;
|
|
724
|
+
}>;
|
|
725
|
+
readonly mail: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
726
|
+
title?: string | undefined;
|
|
727
|
+
}>;
|
|
728
|
+
readonly map: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
729
|
+
title?: string | undefined;
|
|
730
|
+
}>;
|
|
731
|
+
readonly map_pin: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
732
|
+
title?: string | undefined;
|
|
733
|
+
}>;
|
|
734
|
+
readonly maximize: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
735
|
+
title?: string | undefined;
|
|
736
|
+
}>;
|
|
737
|
+
readonly maximize_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
738
|
+
title?: string | undefined;
|
|
739
|
+
}>;
|
|
740
|
+
readonly meh: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
741
|
+
title?: string | undefined;
|
|
742
|
+
}>;
|
|
743
|
+
readonly menu: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
744
|
+
title?: string | undefined;
|
|
745
|
+
}>;
|
|
746
|
+
readonly message_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
747
|
+
title?: string | undefined;
|
|
748
|
+
}>;
|
|
749
|
+
readonly message_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
750
|
+
title?: string | undefined;
|
|
751
|
+
}>;
|
|
752
|
+
readonly mic: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
753
|
+
title?: string | undefined;
|
|
754
|
+
}>;
|
|
755
|
+
readonly mic_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
756
|
+
title?: string | undefined;
|
|
757
|
+
}>;
|
|
758
|
+
readonly minimize: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
759
|
+
title?: string | undefined;
|
|
760
|
+
}>;
|
|
761
|
+
readonly minimize_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
762
|
+
title?: string | undefined;
|
|
763
|
+
}>;
|
|
764
|
+
readonly minus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
765
|
+
title?: string | undefined;
|
|
766
|
+
}>;
|
|
767
|
+
readonly minus_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
768
|
+
title?: string | undefined;
|
|
769
|
+
}>;
|
|
770
|
+
readonly minus_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
771
|
+
title?: string | undefined;
|
|
772
|
+
}>;
|
|
773
|
+
readonly monitor: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
774
|
+
title?: string | undefined;
|
|
775
|
+
}>;
|
|
776
|
+
readonly moon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
777
|
+
title?: string | undefined;
|
|
778
|
+
}>;
|
|
779
|
+
readonly more_horizontal: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
780
|
+
title?: string | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
readonly more_vertical: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
783
|
+
title?: string | undefined;
|
|
784
|
+
}>;
|
|
785
|
+
readonly mouse_pointer: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
786
|
+
title?: string | undefined;
|
|
787
|
+
}>;
|
|
788
|
+
readonly move: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
789
|
+
title?: string | undefined;
|
|
790
|
+
}>;
|
|
791
|
+
readonly music: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
792
|
+
title?: string | undefined;
|
|
793
|
+
}>;
|
|
794
|
+
readonly navigation: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
795
|
+
title?: string | undefined;
|
|
796
|
+
}>;
|
|
797
|
+
readonly navigation_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
798
|
+
title?: string | undefined;
|
|
799
|
+
}>;
|
|
800
|
+
readonly octagon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
801
|
+
title?: string | undefined;
|
|
802
|
+
}>;
|
|
803
|
+
readonly package: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
804
|
+
title?: string | undefined;
|
|
805
|
+
}>;
|
|
806
|
+
readonly paperclip: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
807
|
+
title?: string | undefined;
|
|
808
|
+
}>;
|
|
809
|
+
readonly pause: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
810
|
+
title?: string | undefined;
|
|
811
|
+
}>;
|
|
812
|
+
readonly pause_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
813
|
+
title?: string | undefined;
|
|
814
|
+
}>;
|
|
815
|
+
readonly pen_tool: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
816
|
+
title?: string | undefined;
|
|
817
|
+
}>;
|
|
818
|
+
readonly percent: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
819
|
+
title?: string | undefined;
|
|
820
|
+
}>;
|
|
821
|
+
readonly phone: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
822
|
+
title?: string | undefined;
|
|
823
|
+
}>;
|
|
824
|
+
readonly phone_call: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
825
|
+
title?: string | undefined;
|
|
826
|
+
}>;
|
|
827
|
+
readonly phone_forwarded: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
828
|
+
title?: string | undefined;
|
|
829
|
+
}>;
|
|
830
|
+
readonly phone_incoming: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
831
|
+
title?: string | undefined;
|
|
832
|
+
}>;
|
|
833
|
+
readonly phone_missed: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
834
|
+
title?: string | undefined;
|
|
835
|
+
}>;
|
|
836
|
+
readonly phone_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
837
|
+
title?: string | undefined;
|
|
838
|
+
}>;
|
|
839
|
+
readonly phone_outgoing: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
840
|
+
title?: string | undefined;
|
|
841
|
+
}>;
|
|
842
|
+
readonly pie_chart: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
843
|
+
title?: string | undefined;
|
|
844
|
+
}>;
|
|
845
|
+
readonly play: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
846
|
+
title?: string | undefined;
|
|
847
|
+
}>;
|
|
848
|
+
readonly play_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
849
|
+
title?: string | undefined;
|
|
850
|
+
}>;
|
|
851
|
+
readonly plus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
852
|
+
title?: string | undefined;
|
|
853
|
+
}>;
|
|
854
|
+
readonly plus_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
855
|
+
title?: string | undefined;
|
|
856
|
+
}>;
|
|
857
|
+
readonly plus_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
858
|
+
title?: string | undefined;
|
|
859
|
+
}>;
|
|
860
|
+
readonly pocket: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
861
|
+
title?: string | undefined;
|
|
862
|
+
}>;
|
|
863
|
+
readonly power: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
864
|
+
title?: string | undefined;
|
|
865
|
+
}>;
|
|
866
|
+
readonly printer: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
867
|
+
title?: string | undefined;
|
|
868
|
+
}>;
|
|
869
|
+
readonly radio: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
870
|
+
title?: string | undefined;
|
|
871
|
+
}>;
|
|
872
|
+
readonly refresh_ccw: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
873
|
+
title?: string | undefined;
|
|
874
|
+
}>;
|
|
875
|
+
readonly refresh_cw: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
876
|
+
title?: string | undefined;
|
|
877
|
+
}>;
|
|
878
|
+
readonly repeat: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
879
|
+
title?: string | undefined;
|
|
880
|
+
}>;
|
|
881
|
+
readonly rewind: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
882
|
+
title?: string | undefined;
|
|
883
|
+
}>;
|
|
884
|
+
readonly rotate_ccw: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
885
|
+
title?: string | undefined;
|
|
886
|
+
}>;
|
|
887
|
+
readonly rotate_cw: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
888
|
+
title?: string | undefined;
|
|
889
|
+
}>;
|
|
890
|
+
readonly rss: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
891
|
+
title?: string | undefined;
|
|
892
|
+
}>;
|
|
893
|
+
readonly save: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
894
|
+
title?: string | undefined;
|
|
895
|
+
}>;
|
|
896
|
+
readonly scissors: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
897
|
+
title?: string | undefined;
|
|
898
|
+
}>;
|
|
899
|
+
readonly search: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
900
|
+
title?: string | undefined;
|
|
901
|
+
}>;
|
|
902
|
+
readonly send: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
903
|
+
title?: string | undefined;
|
|
904
|
+
}>;
|
|
905
|
+
readonly server: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
906
|
+
title?: string | undefined;
|
|
907
|
+
}>;
|
|
908
|
+
readonly settings: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
909
|
+
title?: string | undefined;
|
|
910
|
+
}>;
|
|
911
|
+
readonly share: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
912
|
+
title?: string | undefined;
|
|
913
|
+
}>;
|
|
914
|
+
readonly share_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
915
|
+
title?: string | undefined;
|
|
916
|
+
}>;
|
|
917
|
+
readonly shield: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
918
|
+
title?: string | undefined;
|
|
919
|
+
}>;
|
|
920
|
+
readonly shield_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
921
|
+
title?: string | undefined;
|
|
922
|
+
}>;
|
|
923
|
+
readonly shopping_bag: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
924
|
+
title?: string | undefined;
|
|
925
|
+
}>;
|
|
926
|
+
readonly shopping_cart: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
927
|
+
title?: string | undefined;
|
|
928
|
+
}>;
|
|
929
|
+
readonly shuffle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
930
|
+
title?: string | undefined;
|
|
931
|
+
}>;
|
|
932
|
+
readonly sidebar: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
933
|
+
title?: string | undefined;
|
|
934
|
+
}>;
|
|
935
|
+
readonly skip_back: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
936
|
+
title?: string | undefined;
|
|
937
|
+
}>;
|
|
938
|
+
readonly skip_forward: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
939
|
+
title?: string | undefined;
|
|
940
|
+
}>;
|
|
941
|
+
readonly slack: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
942
|
+
title?: string | undefined;
|
|
943
|
+
}>;
|
|
944
|
+
readonly slash: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
945
|
+
title?: string | undefined;
|
|
946
|
+
}>;
|
|
947
|
+
readonly sliders: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
948
|
+
title?: string | undefined;
|
|
949
|
+
}>;
|
|
950
|
+
readonly smartphone: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
951
|
+
title?: string | undefined;
|
|
952
|
+
}>;
|
|
953
|
+
readonly smile: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
954
|
+
title?: string | undefined;
|
|
955
|
+
}>;
|
|
956
|
+
readonly speaker: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
957
|
+
title?: string | undefined;
|
|
958
|
+
}>;
|
|
959
|
+
readonly square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
960
|
+
title?: string | undefined;
|
|
961
|
+
}>;
|
|
962
|
+
readonly star: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
963
|
+
title?: string | undefined;
|
|
964
|
+
}>;
|
|
965
|
+
readonly stop_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
966
|
+
title?: string | undefined;
|
|
967
|
+
}>;
|
|
968
|
+
readonly sun: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
969
|
+
title?: string | undefined;
|
|
970
|
+
}>;
|
|
971
|
+
readonly sunrise: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
972
|
+
title?: string | undefined;
|
|
973
|
+
}>;
|
|
974
|
+
readonly sunset: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
975
|
+
title?: string | undefined;
|
|
976
|
+
}>;
|
|
977
|
+
readonly table: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
978
|
+
title?: string | undefined;
|
|
979
|
+
}>;
|
|
980
|
+
readonly tablet: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
981
|
+
title?: string | undefined;
|
|
982
|
+
}>;
|
|
983
|
+
readonly tag: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
984
|
+
title?: string | undefined;
|
|
985
|
+
}>;
|
|
986
|
+
readonly target: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
987
|
+
title?: string | undefined;
|
|
988
|
+
}>;
|
|
989
|
+
readonly terminal: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
990
|
+
title?: string | undefined;
|
|
991
|
+
}>;
|
|
992
|
+
readonly thermometer: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
993
|
+
title?: string | undefined;
|
|
994
|
+
}>;
|
|
995
|
+
readonly thumbs_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
996
|
+
title?: string | undefined;
|
|
997
|
+
}>;
|
|
998
|
+
readonly thumbs_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
999
|
+
title?: string | undefined;
|
|
1000
|
+
}>;
|
|
1001
|
+
readonly toggle_left: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1002
|
+
title?: string | undefined;
|
|
1003
|
+
}>;
|
|
1004
|
+
readonly toggle_right: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1005
|
+
title?: string | undefined;
|
|
1006
|
+
}>;
|
|
1007
|
+
readonly tool: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1008
|
+
title?: string | undefined;
|
|
1009
|
+
}>;
|
|
1010
|
+
readonly trash: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1011
|
+
title?: string | undefined;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly trash_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1014
|
+
title?: string | undefined;
|
|
1015
|
+
}>;
|
|
1016
|
+
readonly trello: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1017
|
+
title?: string | undefined;
|
|
1018
|
+
}>;
|
|
1019
|
+
readonly trending_down: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1020
|
+
title?: string | undefined;
|
|
1021
|
+
}>;
|
|
1022
|
+
readonly trending_up: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1023
|
+
title?: string | undefined;
|
|
1024
|
+
}>;
|
|
1025
|
+
readonly triangle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1026
|
+
title?: string | undefined;
|
|
1027
|
+
}>;
|
|
1028
|
+
readonly truck: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1029
|
+
title?: string | undefined;
|
|
1030
|
+
}>;
|
|
1031
|
+
readonly tv: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1032
|
+
title?: string | undefined;
|
|
1033
|
+
}>;
|
|
1034
|
+
readonly twitch: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1035
|
+
title?: string | undefined;
|
|
1036
|
+
}>;
|
|
1037
|
+
readonly twitter: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1038
|
+
title?: string | undefined;
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly type: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1041
|
+
title?: string | undefined;
|
|
1042
|
+
}>;
|
|
1043
|
+
readonly umbrella: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1044
|
+
title?: string | undefined;
|
|
1045
|
+
}>;
|
|
1046
|
+
readonly underline: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1047
|
+
title?: string | undefined;
|
|
1048
|
+
}>;
|
|
1049
|
+
readonly unlock: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1050
|
+
title?: string | undefined;
|
|
1051
|
+
}>;
|
|
1052
|
+
readonly upload: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1053
|
+
title?: string | undefined;
|
|
1054
|
+
}>;
|
|
1055
|
+
readonly upload_cloud: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1056
|
+
title?: string | undefined;
|
|
1057
|
+
}>;
|
|
1058
|
+
readonly user: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1059
|
+
title?: string | undefined;
|
|
1060
|
+
}>;
|
|
1061
|
+
readonly user_check: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1062
|
+
title?: string | undefined;
|
|
1063
|
+
}>;
|
|
1064
|
+
readonly user_minus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1065
|
+
title?: string | undefined;
|
|
1066
|
+
}>;
|
|
1067
|
+
readonly user_plus: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1068
|
+
title?: string | undefined;
|
|
1069
|
+
}>;
|
|
1070
|
+
readonly user_x: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1071
|
+
title?: string | undefined;
|
|
1072
|
+
}>;
|
|
1073
|
+
readonly users: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1074
|
+
title?: string | undefined;
|
|
1075
|
+
}>;
|
|
1076
|
+
readonly video: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1077
|
+
title?: string | undefined;
|
|
1078
|
+
}>;
|
|
1079
|
+
readonly video_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1080
|
+
title?: string | undefined;
|
|
1081
|
+
}>;
|
|
1082
|
+
readonly voicemail: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1083
|
+
title?: string | undefined;
|
|
1084
|
+
}>;
|
|
1085
|
+
readonly volume: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1086
|
+
title?: string | undefined;
|
|
1087
|
+
}>;
|
|
1088
|
+
readonly volume_1: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1089
|
+
title?: string | undefined;
|
|
1090
|
+
}>;
|
|
1091
|
+
readonly volume_2: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1092
|
+
title?: string | undefined;
|
|
1093
|
+
}>;
|
|
1094
|
+
readonly volume_x: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1095
|
+
title?: string | undefined;
|
|
1096
|
+
}>;
|
|
1097
|
+
readonly watch: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1098
|
+
title?: string | undefined;
|
|
1099
|
+
}>;
|
|
1100
|
+
readonly wifi: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1101
|
+
title?: string | undefined;
|
|
1102
|
+
}>;
|
|
1103
|
+
readonly wifi_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1104
|
+
title?: string | undefined;
|
|
1105
|
+
}>;
|
|
1106
|
+
readonly wind: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1107
|
+
title?: string | undefined;
|
|
1108
|
+
}>;
|
|
1109
|
+
readonly x: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1110
|
+
title?: string | undefined;
|
|
1111
|
+
}>;
|
|
1112
|
+
readonly x_circle: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1113
|
+
title?: string | undefined;
|
|
1114
|
+
}>;
|
|
1115
|
+
readonly x_octagon: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1116
|
+
title?: string | undefined;
|
|
1117
|
+
}>;
|
|
1118
|
+
readonly x_square: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1119
|
+
title?: string | undefined;
|
|
1120
|
+
}>;
|
|
1121
|
+
readonly youtube: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1122
|
+
title?: string | undefined;
|
|
1123
|
+
}>;
|
|
1124
|
+
readonly zap: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1125
|
+
title?: string | undefined;
|
|
1126
|
+
}>;
|
|
1127
|
+
readonly zap_off: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1128
|
+
title?: string | undefined;
|
|
1129
|
+
}>;
|
|
1130
|
+
readonly zoom_in: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1131
|
+
title?: string | undefined;
|
|
1132
|
+
}>;
|
|
1133
|
+
readonly zoom_out: react.FunctionComponent<react.SVGProps<SVGSVGElement> & {
|
|
1134
|
+
title?: string | undefined;
|
|
1135
|
+
}>;
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
interface CommonProps$1 {
|
|
1139
|
+
color?: typeof colors | string;
|
|
1140
|
+
width?: string | number;
|
|
1141
|
+
height?: string | number;
|
|
1142
|
+
}
|
|
1143
|
+
interface SemanticIcon extends CommonProps$1 {
|
|
1144
|
+
type: 'semantic';
|
|
1145
|
+
icon: SemanticICONS;
|
|
1146
|
+
onClick?: (event: react__default.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
1147
|
+
}
|
|
1148
|
+
interface FeatherIcon extends CommonProps$1 {
|
|
1149
|
+
type: 'feather';
|
|
1150
|
+
icon: keyof typeof icons;
|
|
1151
|
+
onClick?: (event: react__default.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
1152
|
+
strokeWidth?: string;
|
|
1153
|
+
}
|
|
1154
|
+
interface SVGIcon extends CommonProps$1 {
|
|
1155
|
+
type: 'svg';
|
|
1156
|
+
icon: react__default.FunctionComponent<react__default.SVGAttributes<SVGElement>>;
|
|
1157
|
+
onClick?: (event: react__default.MouseEvent<SVGElement, MouseEvent>) => void;
|
|
1158
|
+
strokeWidth?: string;
|
|
1159
|
+
}
|
|
1160
|
+
interface JSXIcon {
|
|
1161
|
+
color?: typeof colors | string;
|
|
1162
|
+
type: 'jsx';
|
|
1163
|
+
icon: JSX.Element;
|
|
1164
|
+
width: string | number;
|
|
1165
|
+
}
|
|
1166
|
+
declare type IconProps = SemanticIcon | FeatherIcon | SVGIcon | JSXIcon;
|
|
1167
|
+
|
|
1168
|
+
declare type MaskFunction = (value: string) => string;
|
|
1169
|
+
declare type MaskReplace = [RegExp, string];
|
|
1170
|
+
declare type MaskReplaceArray = MaskReplace[];
|
|
1171
|
+
declare type Mask = MaskFunction | MaskReplace | MaskReplaceArray;
|
|
1172
|
+
|
|
1173
|
+
interface InputProps$1 extends react__default.InputHTMLAttributes<HTMLInputElement> {
|
|
1174
|
+
label?: ReactNode;
|
|
1175
|
+
invalid?: boolean;
|
|
1176
|
+
disabled?: boolean;
|
|
1177
|
+
loading?: boolean;
|
|
1178
|
+
mask?: Mask;
|
|
1179
|
+
icon?: {
|
|
1180
|
+
icon: IconProps;
|
|
1181
|
+
position?: 'left' | 'right';
|
|
1182
|
+
};
|
|
1183
|
+
clearable?: boolean | (() => void);
|
|
1184
|
+
setValue?: (value: string) => void;
|
|
1185
|
+
onPressEnter?: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
|
|
1186
|
+
htmlDisabled?: boolean;
|
|
1187
|
+
htmlReadOnly?: boolean;
|
|
1188
|
+
viewMode?: boolean;
|
|
1189
|
+
type?: 'text' | 'number' | 'search' | 'email' | 'url' | 'PASSWORD';
|
|
1190
|
+
width?: string;
|
|
1191
|
+
arrows?: boolean;
|
|
1192
|
+
borderless?: boolean;
|
|
1193
|
+
paddingless?: boolean;
|
|
1194
|
+
inputWidth?: string;
|
|
1195
|
+
children?: react__default.ReactNode;
|
|
1196
|
+
dirty?: (() => void) | string;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
declare type SelectOptionLabelProps<T extends GenericObject = GenericObject> = {
|
|
1200
|
+
value: string;
|
|
1201
|
+
data: T;
|
|
1202
|
+
disabled?: boolean;
|
|
1203
|
+
mode?: 'placeholder';
|
|
1204
|
+
};
|
|
1205
|
+
declare type SelectOptionLabelComponent<T extends GenericObject = GenericObject> = React.FunctionComponent<SelectOptionLabelProps<T>>;
|
|
1206
|
+
declare type Option$1<T extends GenericObject = GenericObject> = Pick<Option$2<T>, 'onClick' | 'rules' | 'data' | 'disabled'> & {
|
|
1207
|
+
label: ReactNode | SelectOptionLabelComponent<T>;
|
|
1208
|
+
value: string;
|
|
1209
|
+
};
|
|
1210
|
+
interface LoaderReturn<T extends GenericObject = GenericObject> {
|
|
1211
|
+
options: Option$1<T>[];
|
|
1212
|
+
lastPage: boolean;
|
|
1213
|
+
}
|
|
1214
|
+
declare type Loader$1<T extends GenericObject = GenericObject> = (search: string, page: number) => Promise<LoaderReturn<T> | Option$1<T>[] | null>;
|
|
1215
|
+
declare type CommonProps<T extends GenericObject = GenericObject> = Omit<InputProps$1, 'type' | 'mask' | 'icon' | 'setValue' | 'value' | 'onChange' | 'children' | 'clearable' | 'dirty'> & Pick<MenuProps, 'onScrollEnd' | 'position' | 'center' | 'maxHeight' | 'emptyContent'> & {
|
|
1216
|
+
search?: boolean;
|
|
1217
|
+
/**
|
|
1218
|
+
* async function to load options
|
|
1219
|
+
*
|
|
1220
|
+
* returning null will keep loading, until the loader be called again (useful when aborting requests)
|
|
1221
|
+
*/
|
|
1222
|
+
loader: Loader$1<T>;
|
|
1223
|
+
initialLoader?: () => Option$1<T>[];
|
|
1224
|
+
};
|
|
1225
|
+
|
|
1226
|
+
interface ButtonProps$1 extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
1227
|
+
disabled?: true;
|
|
1228
|
+
getContent: (open: boolean, close: () => void) => JSX.Element;
|
|
1229
|
+
gap: SpacingOrZero;
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
interface AppliedFilter {
|
|
1233
|
+
/** nome da chave do filtro */
|
|
1234
|
+
name: string;
|
|
1235
|
+
/** labels do filtro */
|
|
1236
|
+
labels: {
|
|
1237
|
+
/** label do filtro */
|
|
1238
|
+
filter: {
|
|
1239
|
+
text: string;
|
|
1240
|
+
element: ReactNode;
|
|
1241
|
+
};
|
|
1242
|
+
/** label da opcao escolhida */
|
|
1243
|
+
option: {
|
|
1244
|
+
text: string;
|
|
1245
|
+
element: ReactNode;
|
|
1246
|
+
};
|
|
1247
|
+
};
|
|
1248
|
+
/** valor da opcao escolhida */
|
|
1249
|
+
value: string | number | boolean;
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
interface Label {
|
|
1253
|
+
text: string;
|
|
1254
|
+
element: ReactNode;
|
|
1255
|
+
}
|
|
1256
|
+
declare type LabelOrString = string | Label;
|
|
1257
|
+
interface Option {
|
|
1258
|
+
/** label da opcao */
|
|
1259
|
+
label: LabelOrString;
|
|
1260
|
+
/** valor da opcao */
|
|
1261
|
+
value: string | number | boolean;
|
|
1262
|
+
}
|
|
1263
|
+
interface OptionsReturn {
|
|
1264
|
+
options: Option[];
|
|
1265
|
+
lastPage: boolean;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* essa callback recebe o valor da string de busca e opcionalmente o indice da pagina, e ela deve retornar uma lista de opcoes
|
|
1269
|
+
* para que a paginacao seja considerada, e necessario retornar a lista de opcoes em um objeto, juntamente com o indicador de ultima pagina
|
|
1270
|
+
* */
|
|
1271
|
+
declare type OptionsCallback = (value: string, page?: number) => Promise<OptionsReturn | Option[]>;
|
|
1272
|
+
interface Filter {
|
|
1273
|
+
/** label do filtro */
|
|
1274
|
+
label: LabelOrString;
|
|
1275
|
+
/** nome da chave do filtro */
|
|
1276
|
+
name: string;
|
|
1277
|
+
/** lista de opcoes ou funcao que retorna a lista de opcoes */
|
|
1278
|
+
options: Option[] | OptionsCallback;
|
|
1279
|
+
/** se o filtro for do tipo callback, podera ser enviado este parametro para indicar se o filtro permite busca com string vazia */
|
|
1280
|
+
allowEmptySearch?: boolean;
|
|
1281
|
+
/** indicador de filtro desabilitado */
|
|
1282
|
+
disabled?: boolean;
|
|
1283
|
+
/** indicador de barra divisoria */
|
|
1284
|
+
delimiter?: boolean;
|
|
1285
|
+
/** espacamento das opcoes deste filtro, default s1 */
|
|
1286
|
+
optionSpacing?: SpacingOrZero;
|
|
1287
|
+
/** mantem o menu de filtros abertos após a selecao */
|
|
1288
|
+
keepOpen?: true;
|
|
1289
|
+
}
|
|
1290
|
+
interface Common$4 {
|
|
1291
|
+
items: Filter[];
|
|
1292
|
+
setAppliedFilters: react__default.Dispatch<react__default.SetStateAction<AppliedFilter[]>>;
|
|
1293
|
+
containerProps?: Omit<AbsoluteContainerProps, 'open'>;
|
|
1294
|
+
subContainerProps?: Pick<AbsoluteContainerProps, 'center'>;
|
|
1295
|
+
}
|
|
1296
|
+
declare type FiltersProps = Common$4 & Omit<ButtonProps$1, 'getContent' | 'gap'>;
|
|
1297
|
+
|
|
1298
|
+
declare type Tab<T = {}> = {
|
|
1299
|
+
/**
|
|
1300
|
+
* Define the tab label.
|
|
1301
|
+
*/
|
|
1302
|
+
label: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* Define the tab data.
|
|
1305
|
+
*/
|
|
1306
|
+
data: T;
|
|
1307
|
+
/**
|
|
1308
|
+
* Providing a unique and static key will prevent remount the component when closing a previous tab
|
|
1309
|
+
*/
|
|
1310
|
+
key?: React.Key | null;
|
|
1311
|
+
group?: string;
|
|
1312
|
+
primary?: boolean;
|
|
1313
|
+
};
|
|
1314
|
+
declare type TabProvider<T = {}> = React.FunctionComponent<React.PropsWithChildren<{
|
|
1315
|
+
active: boolean;
|
|
1316
|
+
setTab: React.Dispatch<React.SetStateAction<Tab<T>>>;
|
|
1317
|
+
setLabel: React.Dispatch<React.SetStateAction<string>>;
|
|
1318
|
+
} & Tab<T>>>;
|
|
1319
|
+
declare type TabComponent<T = {}> = React.FunctionComponent<{
|
|
1320
|
+
data: T;
|
|
1321
|
+
label: string;
|
|
1322
|
+
setLabel: React.Dispatch<React.SetStateAction<string>>;
|
|
1323
|
+
}> & {
|
|
1324
|
+
provider?: TabProvider<T>;
|
|
1325
|
+
};
|
|
1326
|
+
declare type TabProps<T = {}, C extends string = string> = Tab<T> & {
|
|
1327
|
+
/**
|
|
1328
|
+
* Specifies which component, will mount/unmount everytime the tab is ACTIVATED/INACTIVATED
|
|
1329
|
+
*/
|
|
1330
|
+
component?: C;
|
|
1331
|
+
};
|
|
1332
|
+
declare type TabComponents<T = {}, C extends string = string> = {
|
|
1333
|
+
[K in C]: TabComponent<T>;
|
|
1334
|
+
};
|
|
1335
|
+
interface TabsProps<T = {}, C extends string = string> extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
1336
|
+
/**
|
|
1337
|
+
* list of components
|
|
1338
|
+
*/
|
|
1339
|
+
components?: TabComponents<T, C>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Array with available tabs.
|
|
1342
|
+
*/
|
|
1343
|
+
options: TabProps<T, C>[] | [TabProps<T, C>[], React.Dispatch<React.SetStateAction<TabProps<T, C>[]>>];
|
|
1344
|
+
/**
|
|
1345
|
+
* React state to control which tab is active.
|
|
1346
|
+
*/
|
|
1347
|
+
active: number | [number, (active: number, data: T) => void];
|
|
1348
|
+
/**
|
|
1349
|
+
* Sets the style of the tabs to internal.
|
|
1350
|
+
*/
|
|
1351
|
+
internal?: boolean;
|
|
1352
|
+
/**
|
|
1353
|
+
* Sets the maximum limit of opened tabs.
|
|
1354
|
+
*/
|
|
1355
|
+
maxTabs?: number;
|
|
1356
|
+
/**
|
|
1357
|
+
* Run an action when exceeding the maximum tab limit.
|
|
1358
|
+
*/
|
|
1359
|
+
onMaxTabsExceeded?: (maxTabs?: number) => void;
|
|
1360
|
+
/**
|
|
1361
|
+
* disable close button
|
|
1362
|
+
*/
|
|
1363
|
+
alwaysOpen?: true;
|
|
1364
|
+
/**
|
|
1365
|
+
* border bottom style
|
|
1366
|
+
*/
|
|
1367
|
+
delimiter?: 'blue' | 'grey' | 'none';
|
|
1368
|
+
/**
|
|
1369
|
+
* container spacing
|
|
1370
|
+
*/
|
|
1371
|
+
spacing?: SpacingOrZero | Spacings;
|
|
1372
|
+
/**
|
|
1373
|
+
* callback when closing a tab
|
|
1374
|
+
*/
|
|
1375
|
+
onClose?: (index: number, tab: TabProps<T>, event: React.MouseEvent) => boolean | Promise<boolean>;
|
|
1376
|
+
}
|
|
1377
|
+
declare type TabsComponent = <T = {}, C extends string = string>(props: TabsProps<T, C>) => JSX.Element;
|
|
1378
|
+
|
|
1379
|
+
declare type Element = JSX.Element | string | number | boolean | null;
|
|
1380
|
+
declare type ReactNode = Element | Element[];
|
|
1381
|
+
declare type GenericObject = Record<string | number | symbol, any>;
|
|
1382
|
+
declare type SpacingOrZero = keyof typeof spacings | '0';
|
|
1383
|
+
declare type Spacings = {
|
|
1384
|
+
top?: SpacingOrZero;
|
|
1385
|
+
left?: SpacingOrZero;
|
|
1386
|
+
bottom?: SpacingOrZero;
|
|
1387
|
+
right?: SpacingOrZero;
|
|
1388
|
+
};
|
|
1389
|
+
declare type Border = {
|
|
1390
|
+
width?: string;
|
|
1391
|
+
style?: 'dashed' | 'dotted' | 'double' | 'groove' | 'hidden' | 'inherit' | 'initial' | 'inset' | 'none' | 'outset';
|
|
1392
|
+
color: ColorOptions | 'transparent';
|
|
1393
|
+
};
|
|
1394
|
+
declare type Borders = Border | Partial<{
|
|
1395
|
+
[key in 'top' | 'left' | 'bottom' | 'right']: Border;
|
|
1396
|
+
}>;
|
|
1397
|
+
|
|
1398
|
+
declare const AbsoluteContainer: react__default.ForwardRefExoticComponent<(Pick<Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1399
|
+
width?: string | number | undefined;
|
|
1400
|
+
height?: string | number | undefined;
|
|
1401
|
+
maxWidth?: string | number | undefined;
|
|
1402
|
+
maxHeight?: string | number | undefined;
|
|
1403
|
+
references?: References | undefined;
|
|
1404
|
+
zIndex?: number | undefined;
|
|
1405
|
+
pointer?: true | {
|
|
1406
|
+
color?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1407
|
+
size?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1408
|
+
distance?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
bgColor?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1411
|
+
} & {
|
|
1412
|
+
children?: react__default.ReactNode;
|
|
1413
|
+
} & {
|
|
1414
|
+
open: boolean;
|
|
1415
|
+
position?: Position | undefined;
|
|
1416
|
+
axis?: "x" | "y" | undefined;
|
|
1417
|
+
center?: {
|
|
1418
|
+
x: number;
|
|
1419
|
+
y: number;
|
|
1420
|
+
} | undefined;
|
|
1421
|
+
ref?: react__default.Ref<HTMLDivElement> | undefined;
|
|
1422
|
+
boundRef?: HTMLDivElement | null | undefined;
|
|
1423
|
+
transition?: Partial<Omit<Transition$1<"width" | "max-width" | "height" | "max-height">, "active">> | undefined;
|
|
1424
|
+
}, "color" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition"> | Pick<Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1425
|
+
width?: string | number | undefined;
|
|
1426
|
+
height?: string | number | undefined;
|
|
1427
|
+
maxWidth?: string | number | undefined;
|
|
1428
|
+
maxHeight?: string | number | undefined;
|
|
1429
|
+
references?: References | undefined;
|
|
1430
|
+
zIndex?: number | undefined;
|
|
1431
|
+
pointer?: true | {
|
|
1432
|
+
color?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1433
|
+
size?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1434
|
+
distance?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1435
|
+
} | undefined;
|
|
1436
|
+
bgColor?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1437
|
+
} & {
|
|
1438
|
+
content: react__default.FunctionComponent<{}>;
|
|
1439
|
+
} & {
|
|
1440
|
+
open: boolean;
|
|
1441
|
+
position?: Position | undefined;
|
|
1442
|
+
axis?: "x" | "y" | undefined;
|
|
1443
|
+
center?: {
|
|
1444
|
+
x: number;
|
|
1445
|
+
y: number;
|
|
1446
|
+
} | undefined;
|
|
1447
|
+
ref?: react__default.Ref<HTMLDivElement> | undefined;
|
|
1448
|
+
boundRef?: HTMLDivElement | null | undefined;
|
|
1449
|
+
transition?: Partial<Omit<Transition$1<"width" | "max-width" | "height" | "max-height">, "active">> | undefined;
|
|
1450
|
+
}, "color" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "content" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition">) & react__default.RefAttributes<HTMLDivElement>>;
|
|
1451
|
+
|
|
1452
|
+
interface Common$3 {
|
|
1453
|
+
appliedFilters: [
|
|
1454
|
+
AppliedFilter[],
|
|
1455
|
+
react__default.Dispatch<react__default.SetStateAction<AppliedFilter[]>>
|
|
1456
|
+
];
|
|
1457
|
+
containerProps?: Omit<AbsoluteContainerProps, 'open'>;
|
|
1458
|
+
}
|
|
1459
|
+
declare type AppliedFiltersProps = Common$3 & Omit<ButtonProps$1, 'getContent' | 'gap'>;
|
|
1460
|
+
|
|
1461
|
+
interface AppliedFiltersMenuProps extends Common$3 {
|
|
1462
|
+
open: boolean;
|
|
1463
|
+
close: () => void;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
declare const AppliedFilters: ((props: AppliedFiltersProps) => JSX.Element) & {
|
|
1467
|
+
Menu: (props: AppliedFiltersMenuProps) => JSX.Element;
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
declare type Size = 'tiny' | 'mini' | 'small' | 'large' | 'big';
|
|
1471
|
+
interface StyledButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1472
|
+
/**
|
|
1473
|
+
* Specifies the button size.
|
|
1474
|
+
*/
|
|
1475
|
+
size: Size;
|
|
1476
|
+
/**
|
|
1477
|
+
* Specifies if the button style is solid, bordered or text only.
|
|
1478
|
+
*/
|
|
1479
|
+
appearance: 'solid' | 'bordered' | 'link' | 'borderless';
|
|
1480
|
+
/**
|
|
1481
|
+
* Define the color of button.
|
|
1482
|
+
*/
|
|
1483
|
+
color?: ColorOptions;
|
|
1484
|
+
/**
|
|
1485
|
+
* Define if button is loading.
|
|
1486
|
+
*/
|
|
1487
|
+
loading: number;
|
|
1488
|
+
}
|
|
1489
|
+
interface ButtonProps extends Omit<Partial<StyledButtonProps>, 'loading'> {
|
|
1490
|
+
/**
|
|
1491
|
+
* Text inside the button.
|
|
1492
|
+
*/
|
|
1493
|
+
content?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* Define if button is loading.
|
|
1496
|
+
*/
|
|
1497
|
+
loading?: boolean;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
declare const Button: (props: ButtonProps) => JSX.Element;
|
|
1501
|
+
|
|
1502
|
+
interface TimeProps extends Omit<InputProps$1, 'type' | 'mask'> {
|
|
1503
|
+
type: 'time';
|
|
1504
|
+
seconds?: boolean;
|
|
1505
|
+
value: string;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
declare type Types = 'default' | 'info' | 'danger' | 'success' | 'warning';
|
|
1509
|
+
declare type Sizes = 'mini' | 'medium' | 'small';
|
|
1510
|
+
interface IndicatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
1511
|
+
size: Sizes;
|
|
1512
|
+
type: Types;
|
|
1513
|
+
labelColor: ColorOptions;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
interface CalendarInterface {
|
|
1517
|
+
month: number;
|
|
1518
|
+
year: number;
|
|
1519
|
+
weeks: Date[][];
|
|
1520
|
+
}
|
|
1521
|
+
declare type DayAppearance = 'active' | 'highlight' | 'disabled';
|
|
1522
|
+
interface Common$2 extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
1523
|
+
label?: ReactNode;
|
|
1524
|
+
initialMonth?: Date;
|
|
1525
|
+
max?: Date;
|
|
1526
|
+
min?: Date;
|
|
1527
|
+
getDay: (date: Date) => {
|
|
1528
|
+
appearance?: DayAppearance;
|
|
1529
|
+
activeColor?: ColorOptions;
|
|
1530
|
+
onClick?: react__default.MouseEventHandler<HTMLButtonElement>;
|
|
1531
|
+
onMouseOver?: react__default.MouseEventHandler<HTMLButtonElement>;
|
|
1532
|
+
onMouseOut?: react__default.MouseEventHandler<HTMLButtonElement>;
|
|
1533
|
+
indicator?: IndicatorProps['type'];
|
|
1534
|
+
};
|
|
1535
|
+
onChangeMonth?: (calendar: CalendarInterface & {
|
|
1536
|
+
firstDay: Date;
|
|
1537
|
+
lastDay: Date;
|
|
1538
|
+
}) => Promise<void>;
|
|
1539
|
+
calendar?: [
|
|
1540
|
+
CalendarInterface,
|
|
1541
|
+
react__default.Dispatch<react__default.SetStateAction<CalendarInterface>>
|
|
1542
|
+
];
|
|
1543
|
+
paddingless?: true;
|
|
1544
|
+
}
|
|
1545
|
+
declare type BasicCalendarProps = (Common$2 & {
|
|
1546
|
+
absolute?: undefined;
|
|
1547
|
+
}) | (Common$2 & {
|
|
1548
|
+
absolute: true;
|
|
1549
|
+
} & AbsoluteContainerProps);
|
|
1550
|
+
|
|
1551
|
+
declare type Value$2 = Date | null;
|
|
1552
|
+
declare type InputTimeProps$1 = Omit<TimeProps, 'type' | 'value' | 'setValue' | 'minWidth'>;
|
|
1553
|
+
interface Common$1 extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min' | 'onChangeMonth'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
1554
|
+
initialValue?: Value$2;
|
|
1555
|
+
value?: [Value$2, (value: Value$2) => void];
|
|
1556
|
+
time?: true | InputTimeProps$1 | ((value: Value$2) => InputTimeProps$1 | undefined);
|
|
1557
|
+
onSubmit?: {
|
|
1558
|
+
onClick: (value: Value$2) => void;
|
|
1559
|
+
disabled?: boolean;
|
|
1560
|
+
};
|
|
1561
|
+
invalid?: [boolean, (invalid: boolean) => void];
|
|
1562
|
+
getDay?: (day: Date) => Partial<ReturnType<BasicCalendarProps['getDay']>>;
|
|
1563
|
+
}
|
|
1564
|
+
declare type AbsoluteSingleCalendarProps = Common$1 & Omit<AbsoluteContainerProps, 'onSubmit'>;
|
|
1565
|
+
|
|
1566
|
+
declare type Value$1 = [Date | null, Date | null];
|
|
1567
|
+
declare type InputTimeProps = Omit<TimeProps, 'type' | 'value' | 'setValue' | 'minWidth'>;
|
|
1568
|
+
declare type GetInputTimeProps = (value: Date | null) => InputTimeProps | undefined;
|
|
1569
|
+
declare type OnChangeMonth = Exclude<BasicCalendarProps['onChangeMonth'], undefined>;
|
|
1570
|
+
interface Common extends Pick<BasicCalendarProps, 'initialMonth' | 'max' | 'min'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
|
|
1571
|
+
initialValue?: Value$1;
|
|
1572
|
+
value?: [Value$1, (value: Value$1) => void];
|
|
1573
|
+
time?: true | [
|
|
1574
|
+
GetInputTimeProps | InputTimeProps | undefined,
|
|
1575
|
+
GetInputTimeProps | InputTimeProps | undefined
|
|
1576
|
+
];
|
|
1577
|
+
onSubmit?: Omit<ButtonProps, 'type' | 'onClick'> & {
|
|
1578
|
+
onClick: (value: Value$1) => void;
|
|
1579
|
+
};
|
|
1580
|
+
invalid?: [[boolean, boolean], (invalid: [boolean, boolean]) => void];
|
|
1581
|
+
onChangeMonth?: (calendar: Parameters<OnChangeMonth>[0], side: 'left' | 'right') => ReturnType<OnChangeMonth>;
|
|
1582
|
+
getDay?: (day: Date, side: 'left' | 'right') => Partial<ReturnType<BasicCalendarProps['getDay']>>;
|
|
1583
|
+
}
|
|
1584
|
+
declare type AbsoluteIntervalCalendarProps = Common & Omit<AbsoluteContainerProps, 'onSubmit'>;
|
|
1585
|
+
|
|
1586
|
+
declare const Calendar: react__default.ForwardRefExoticComponent<((Common$2 & {
|
|
1587
|
+
absolute?: undefined;
|
|
1588
|
+
} & {
|
|
1589
|
+
type: "basic";
|
|
1590
|
+
}) | (Common & {
|
|
1591
|
+
absolute?: undefined;
|
|
1592
|
+
} & {
|
|
1593
|
+
type: "interval";
|
|
1594
|
+
}) | ({
|
|
1595
|
+
absolute?: undefined;
|
|
1596
|
+
} & Common$1 & {
|
|
1597
|
+
type: "single";
|
|
1598
|
+
}) | Pick<Common$2 & {
|
|
1599
|
+
absolute: true;
|
|
1600
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1601
|
+
width?: string | number | undefined;
|
|
1602
|
+
height?: string | number | undefined;
|
|
1603
|
+
maxWidth?: string | number | undefined;
|
|
1604
|
+
maxHeight?: string | number | undefined;
|
|
1605
|
+
references?: References | undefined;
|
|
1606
|
+
zIndex?: number | undefined;
|
|
1607
|
+
pointer?: true | {
|
|
1608
|
+
color?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1609
|
+
size?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1610
|
+
distance?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1611
|
+
} | undefined;
|
|
1612
|
+
bgColor?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1613
|
+
} & {
|
|
1614
|
+
children?: react__default.ReactNode;
|
|
1615
|
+
} & {
|
|
1616
|
+
open: boolean;
|
|
1617
|
+
position?: Position | undefined;
|
|
1618
|
+
axis?: "x" | "y" | undefined;
|
|
1619
|
+
center?: {
|
|
1620
|
+
x: number;
|
|
1621
|
+
y: number;
|
|
1622
|
+
} | undefined;
|
|
1623
|
+
ref?: react__default.Ref<HTMLDivElement> | undefined;
|
|
1624
|
+
boundRef?: HTMLDivElement | null | undefined;
|
|
1625
|
+
transition?: Partial<Omit<Transition$1<"width" | "max-width" | "height" | "max-height">, "active">> | undefined;
|
|
1626
|
+
} & {
|
|
1627
|
+
type: "basic";
|
|
1628
|
+
}, "type" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition" | "absolute" | keyof Common$2> | Pick<Common$2 & {
|
|
1629
|
+
absolute: true;
|
|
1630
|
+
} & Omit<react__default.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
1631
|
+
width?: string | number | undefined;
|
|
1632
|
+
height?: string | number | undefined;
|
|
1633
|
+
maxWidth?: string | number | undefined;
|
|
1634
|
+
maxHeight?: string | number | undefined;
|
|
1635
|
+
references?: References | undefined;
|
|
1636
|
+
zIndex?: number | undefined;
|
|
1637
|
+
pointer?: true | {
|
|
1638
|
+
color?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1639
|
+
size?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1640
|
+
distance?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1641
|
+
} | undefined;
|
|
1642
|
+
bgColor?: string | ((theme: ThemeInterface) => string) | undefined;
|
|
1643
|
+
} & {
|
|
1644
|
+
content: react__default.FunctionComponent<{}>;
|
|
1645
|
+
} & {
|
|
1646
|
+
open: boolean;
|
|
1647
|
+
position?: Position | undefined;
|
|
1648
|
+
axis?: "x" | "y" | undefined;
|
|
1649
|
+
center?: {
|
|
1650
|
+
x: number;
|
|
1651
|
+
y: number;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
ref?: react__default.Ref<HTMLDivElement> | undefined;
|
|
1654
|
+
boundRef?: HTMLDivElement | null | undefined;
|
|
1655
|
+
transition?: Partial<Omit<Transition$1<"width" | "max-width" | "height" | "max-height">, "active">> | undefined;
|
|
1656
|
+
} & {
|
|
1657
|
+
type: "basic";
|
|
1658
|
+
}, "type" | "content" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition" | "absolute" | keyof Common$2> | Pick<Common & Omit<AbsoluteContainerProps, "onSubmit"> & {
|
|
1659
|
+
absolute: true;
|
|
1660
|
+
} & {
|
|
1661
|
+
type: "interval";
|
|
1662
|
+
}, "type" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition" | "absolute" | keyof Common> | Pick<{
|
|
1663
|
+
absolute: true;
|
|
1664
|
+
} & Common$1 & Omit<AbsoluteContainerProps, "onSubmit"> & {
|
|
1665
|
+
type: "single";
|
|
1666
|
+
}, "type" | "width" | "height" | "maxHeight" | "position" | "open" | "maxWidth" | "references" | "zIndex" | "pointer" | "bgColor" | "axis" | "center" | "boundRef" | "transition" | "absolute" | keyof Common$1>) & react__default.RefAttributes<HTMLDivElement>>;
|
|
1667
|
+
|
|
1668
|
+
interface CardProps {
|
|
1669
|
+
size: 'mini' | 'small' | 'medium' | 'big';
|
|
1670
|
+
borderType: 'info' | 'danger' | 'success' | 'warning' | 'none';
|
|
1671
|
+
children: React.ReactNode;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
declare const Card: ({ children, ...rest }: CardProps) => JSX.Element;
|
|
1675
|
+
|
|
1676
|
+
declare type EllipsisContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1677
|
+
lines?: number;
|
|
1678
|
+
};
|
|
1679
|
+
|
|
1680
|
+
declare const EllipsisContainer: (props: EllipsisContainerProps) => JSX.Element;
|
|
1681
|
+
|
|
1682
|
+
interface FiltersMenuProps extends Common$4 {
|
|
1683
|
+
open: boolean;
|
|
1684
|
+
close: () => void;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
declare const Filters: ((props: FiltersProps) => JSX.Element) & {
|
|
1688
|
+
Menu: (props: FiltersMenuProps) => JSX.Element;
|
|
1689
|
+
};
|
|
1690
|
+
|
|
1691
|
+
declare type ContextProps<Name extends string = string> = {
|
|
1692
|
+
[K in 'isRequired' | 'isInvalid' | 'isViewMode' | 'isDisabled']: (name: Name) => boolean;
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
declare const Form: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLFormElement> & Partial<ContextProps<string>> & react__default.RefAttributes<HTMLFormElement>> & {
|
|
1696
|
+
useContext: <Name extends string = string>(name: Name | undefined) => {
|
|
1697
|
+
isRequired: () => boolean;
|
|
1698
|
+
isInvalid: () => boolean;
|
|
1699
|
+
isViewMode: () => boolean;
|
|
1700
|
+
isDisabled: () => boolean;
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
|
|
1704
|
+
declare type HorizontalAligns = 'left' | 'center' | 'right' | 'around' | 'between';
|
|
1705
|
+
declare type VerticalAligns = 'top' | 'center' | 'bottom';
|
|
1706
|
+
|
|
1707
|
+
declare type Widths = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'auto';
|
|
1708
|
+
interface BaseColProps {
|
|
1709
|
+
width?: Widths;
|
|
1710
|
+
spacing?: SpacingOrZero | Spacings;
|
|
1711
|
+
align?: {
|
|
1712
|
+
self?: {
|
|
1713
|
+
horizontal?: Exclude<HorizontalAligns, 'around' | 'between'>;
|
|
1714
|
+
vertical?: VerticalAligns;
|
|
1715
|
+
};
|
|
1716
|
+
content?: {
|
|
1717
|
+
horizontal?: HorizontalAligns;
|
|
1718
|
+
vertical?: VerticalAligns;
|
|
1719
|
+
};
|
|
1720
|
+
text?: 'center' | 'left' | 'right' | 'justify';
|
|
1721
|
+
};
|
|
1722
|
+
spacingAround?: boolean;
|
|
1723
|
+
bordered?: true;
|
|
1724
|
+
hover?: true | ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1725
|
+
pointer?: true;
|
|
1726
|
+
ellipsis?: true;
|
|
1727
|
+
}
|
|
1728
|
+
interface ColProps extends react__default.HTMLAttributes<HTMLDivElement>, BaseColProps {
|
|
1729
|
+
backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1730
|
+
fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
declare type Striped = {
|
|
1734
|
+
[key in 'even' | 'odd']: ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1735
|
+
};
|
|
1736
|
+
interface BaseRowProps {
|
|
1737
|
+
spacing?: SpacingOrZero | Spacings;
|
|
1738
|
+
horizontalAlign?: HorizontalAligns;
|
|
1739
|
+
verticalAlign?: VerticalAligns;
|
|
1740
|
+
spacingAround?: boolean;
|
|
1741
|
+
striped?: true | Striped | Omit<Striped, 'even'> | Omit<Striped, 'odd'>;
|
|
1742
|
+
borderless?: true;
|
|
1743
|
+
hover?: true | ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1744
|
+
}
|
|
1745
|
+
interface RowProps extends react__default.HTMLAttributes<HTMLDivElement>, BaseRowProps {
|
|
1746
|
+
cols?: BaseColProps;
|
|
1747
|
+
backgroundColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1748
|
+
fontColor?: ColorOptions | [ColorOptions, OpacitiyOptions];
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
interface BaseGridProps {
|
|
1752
|
+
spacing?: SpacingOrZero | Spacings;
|
|
1753
|
+
}
|
|
1754
|
+
interface GridProps extends react__default.HTMLAttributes<HTMLDivElement>, BaseGridProps {
|
|
1755
|
+
rows?: BaseRowProps;
|
|
1756
|
+
cols?: BaseColProps;
|
|
1757
|
+
borderless?: true;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
|
|
1761
|
+
Row: react.ForwardRefExoticComponent<RowProps & react.RefAttributes<HTMLDivElement>>;
|
|
1762
|
+
Col: react.ForwardRefExoticComponent<ColProps & react.RefAttributes<HTMLDivElement>>;
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
declare const Icon: (props: IconProps) => JSX.Element;
|
|
1766
|
+
|
|
1767
|
+
declare const Indicator: (props: Partial<IndicatorProps>) => JSX.Element;
|
|
1768
|
+
|
|
1769
|
+
interface Country {
|
|
1770
|
+
name: string;
|
|
1771
|
+
iso: keyof Countries;
|
|
1772
|
+
ddi: number;
|
|
1773
|
+
placeholder?: string;
|
|
1774
|
+
validation?: RegExp | ((value: string) => boolean);
|
|
1775
|
+
charLimit: number;
|
|
1776
|
+
mask?: (value: string) => string;
|
|
1777
|
+
}
|
|
1778
|
+
declare type Countries = {
|
|
1779
|
+
ar: Country;
|
|
1780
|
+
br: Country;
|
|
1781
|
+
cl: Country;
|
|
1782
|
+
es: Country;
|
|
1783
|
+
us: Country;
|
|
1784
|
+
mx: Country;
|
|
1785
|
+
py: Country;
|
|
1786
|
+
pt: Country;
|
|
1787
|
+
uy: Country;
|
|
1788
|
+
};
|
|
1789
|
+
interface PhoneProps extends Omit<InputProps$1, 'type' | 'mask' | 'placeholder' | 'icon' | 'setValue'> {
|
|
1790
|
+
type: 'phone';
|
|
1791
|
+
setValue: (value: string) => void;
|
|
1792
|
+
value?: string;
|
|
1793
|
+
placeholder?: Partial<{
|
|
1794
|
+
[k in keyof Countries]: string;
|
|
1795
|
+
}>;
|
|
1796
|
+
}
|
|
1797
|
+
interface Details {
|
|
1798
|
+
country: Country;
|
|
1799
|
+
masked: string;
|
|
1800
|
+
value: string;
|
|
1801
|
+
withDDI: string;
|
|
1802
|
+
valid: boolean;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
interface Padding {
|
|
1806
|
+
top?: string | keyof typeof spacings;
|
|
1807
|
+
left?: string | keyof typeof spacings;
|
|
1808
|
+
bottom?: string | keyof typeof spacings;
|
|
1809
|
+
right?: string | keyof typeof spacings;
|
|
1810
|
+
}
|
|
1811
|
+
interface LabelContentProps {
|
|
1812
|
+
required?: boolean;
|
|
1813
|
+
invalid?: boolean;
|
|
1814
|
+
viewMode?: boolean;
|
|
1815
|
+
padding?: Padding;
|
|
1816
|
+
bordered?: true;
|
|
1817
|
+
}
|
|
1818
|
+
interface CheckboxProps extends Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'type'>, LabelContentProps {
|
|
1819
|
+
label?: ReactNode | react__default.FunctionComponent<LabelContentProps>;
|
|
1820
|
+
type: 'checkbox';
|
|
1821
|
+
width?: string;
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
interface DateProps extends Omit<InputProps$1, 'type' | 'mask' | 'icon' | 'min' | 'max'> {
|
|
1825
|
+
type: 'date';
|
|
1826
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
1827
|
+
value?: string;
|
|
1828
|
+
max?: Date;
|
|
1829
|
+
min?: Date;
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
interface SelectProps$2<T extends GenericObject = GenericObject> extends CommonProps<T> {
|
|
1833
|
+
type: 'select';
|
|
1834
|
+
name?: string;
|
|
1835
|
+
setValue: (value: string, option: Option$1<T>['data']) => void;
|
|
1836
|
+
onClear?: (value: '') => void;
|
|
1837
|
+
value: string | Pick<Option$1<T>, 'value' | 'data' | 'label'>;
|
|
1838
|
+
dirty?: (() => void) | Pick<Option$1<T>, 'value' | 'data'>;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
interface SelectProps$1<T extends GenericObject = GenericObject> extends CommonProps<T> {
|
|
1842
|
+
type: 'select-multiple';
|
|
1843
|
+
setValue: (value: string[], data: Option$1<T>['data'][]) => void;
|
|
1844
|
+
value: (Pick<Option$1<T>, 'value' | 'data'> | string)[];
|
|
1845
|
+
selectAll?: boolean;
|
|
1846
|
+
dirty?: (() => void) | Pick<Option$1<T>, 'value' | 'data'>[];
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
declare type SelectProps<T extends GenericObject = GenericObject> = SelectProps$2<T> | SelectProps$1<T>;
|
|
1850
|
+
|
|
1851
|
+
interface PasswordProps extends Omit<InputProps$1, 'mask' | 'icon' | 'type' | 'clearble' | 'placeholder'> {
|
|
1852
|
+
type: 'password';
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
interface DatePickerProps extends Omit<InputProps$1, 'type' | 'mask' | 'icon' | 'htmlDisabled' | 'htmlReadonly' | 'clearable' | 'onPressEnter' | 'min' | 'max' | 'children'> {
|
|
1856
|
+
type: 'datepicker';
|
|
1857
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
1858
|
+
value: string;
|
|
1859
|
+
setValue: (value: string) => void;
|
|
1860
|
+
max?: Date;
|
|
1861
|
+
min?: Date;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
1865
|
+
label?: ReactNode | {
|
|
1866
|
+
label?: ReactNode;
|
|
1867
|
+
before?: ReactNode;
|
|
1868
|
+
after?: ReactNode;
|
|
1869
|
+
};
|
|
1870
|
+
labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
1871
|
+
required?: boolean;
|
|
1872
|
+
invalid?: boolean;
|
|
1873
|
+
htmlDisabled?: boolean;
|
|
1874
|
+
viewMode?: boolean;
|
|
1875
|
+
type: 'switch';
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
interface Marker {
|
|
1879
|
+
label: ReactNode;
|
|
1880
|
+
value: number;
|
|
1881
|
+
}
|
|
1882
|
+
interface RangeProps extends Omit<react__default.InputHTMLAttributes<HTMLInputElement>, 'type' | 'min' | 'max' | 'onChange'> {
|
|
1883
|
+
type: 'range';
|
|
1884
|
+
label?: ReactNode;
|
|
1885
|
+
minLabel?: ReactNode;
|
|
1886
|
+
maxLabel?: ReactNode;
|
|
1887
|
+
invalid?: boolean;
|
|
1888
|
+
disabled?: boolean;
|
|
1889
|
+
required?: boolean;
|
|
1890
|
+
hideNavbar?: boolean;
|
|
1891
|
+
viewMode?: boolean;
|
|
1892
|
+
value: number;
|
|
1893
|
+
width?: string;
|
|
1894
|
+
onChange?: (event: react__default.ChangeEvent<HTMLInputElement>, value: number) => void;
|
|
1895
|
+
setValue: react__default.Dispatch<react__default.SetStateAction<number>>;
|
|
1896
|
+
markers?: {
|
|
1897
|
+
min?: number;
|
|
1898
|
+
max?: number;
|
|
1899
|
+
} | ({
|
|
1900
|
+
markers: {
|
|
1901
|
+
0: number | Marker;
|
|
1902
|
+
1: number | Marker;
|
|
1903
|
+
} & Array<number | Marker>;
|
|
1904
|
+
position?: 'bottom' | 'top';
|
|
1905
|
+
} & ({
|
|
1906
|
+
strict: true;
|
|
1907
|
+
} | {
|
|
1908
|
+
strict?: false;
|
|
1909
|
+
min?: number;
|
|
1910
|
+
max?: number;
|
|
1911
|
+
}));
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
interface RadioButtonProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
1915
|
+
label?: ReactNode;
|
|
1916
|
+
required?: boolean;
|
|
1917
|
+
invalid?: boolean;
|
|
1918
|
+
type: 'radio';
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
declare type Value = [string, string];
|
|
1922
|
+
declare type IntervalType = 'day' | 'week' | 'month' | 'custom';
|
|
1923
|
+
interface DateIntervalPickerProps extends React.HTMLAttributes<HTMLInputElement>, Pick<InputProps$1, 'label' | 'invalid' | 'required' | 'disabled' | 'width' | 'borderless' | 'paddingless'> {
|
|
1924
|
+
type: 'date-interval-picker';
|
|
1925
|
+
value: Value;
|
|
1926
|
+
setValue: (value: Value) => void;
|
|
1927
|
+
getLabel?: (value: Value) => string;
|
|
1928
|
+
center?: {
|
|
1929
|
+
x: number;
|
|
1930
|
+
y: number;
|
|
1931
|
+
};
|
|
1932
|
+
max?: Date;
|
|
1933
|
+
min?: Date;
|
|
1934
|
+
only?: IntervalType;
|
|
1935
|
+
calendar?: Omit<AbsoluteIntervalCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open' | 'center'>;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
interface StyledInputProps extends react__default.HTMLAttributes<HTMLInputElement> {
|
|
1939
|
+
disabled?: boolean;
|
|
1940
|
+
invalid?: boolean;
|
|
1941
|
+
minWidth?: string;
|
|
1942
|
+
}
|
|
1943
|
+
interface InputProps extends StyledInputProps {
|
|
1944
|
+
mask?: Mask;
|
|
1945
|
+
value: [string, (value: string) => void];
|
|
1946
|
+
onPressEnter: react__default.KeyboardEventHandler<HTMLInputElement>;
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1949
|
+
interface TagsProps {
|
|
1950
|
+
type: 'tags';
|
|
1951
|
+
label?: ReactNode;
|
|
1952
|
+
width?: string;
|
|
1953
|
+
disabled?: boolean;
|
|
1954
|
+
loading?: boolean;
|
|
1955
|
+
invalid?: boolean;
|
|
1956
|
+
required?: boolean;
|
|
1957
|
+
input?: Omit<InputProps, 'onPressEnter' | 'invalid'>;
|
|
1958
|
+
value: string[];
|
|
1959
|
+
setValue: (value: string[]) => void;
|
|
1960
|
+
validate?: (value: string) => boolean;
|
|
1961
|
+
onBeforeAdd?: (value: string) => string;
|
|
1962
|
+
unique?: boolean;
|
|
1963
|
+
maxTags?: number;
|
|
1964
|
+
borderless?: boolean;
|
|
1965
|
+
paddingless?: boolean;
|
|
1966
|
+
placeholder?: string;
|
|
1967
|
+
onBlur?: () => void;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
interface DateTimeProps extends Omit<InputProps$1, 'type' | 'mask' | 'icon' | 'min' | 'max'> {
|
|
1971
|
+
type: 'datetime';
|
|
1972
|
+
picker?: true | Omit<AbsoluteSingleCalendarProps, 'initialValue' | 'onSubmit' | 'invalid' | 'open'>;
|
|
1973
|
+
value?: string;
|
|
1974
|
+
max?: Date;
|
|
1975
|
+
min?: Date;
|
|
1976
|
+
seconds?: boolean;
|
|
1977
|
+
step?: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second';
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
declare type Props = DateProps | TimeProps | CheckboxProps | SelectProps | PasswordProps | PhoneProps | DatePickerProps | RangeProps | InputProps$1 | SwitchProps | RadioButtonProps | DateIntervalPickerProps | TagsProps | DateTimeProps;
|
|
1981
|
+
declare const Input: react__default.ForwardRefExoticComponent<Props & react__default.RefAttributes<HTMLInputElement>> & {
|
|
1982
|
+
useDefaultDateIntervalState: (min?: Date | undefined, max?: Date | undefined) => [string, string];
|
|
1983
|
+
getPhoneDetails: (phone: string) => Details | null;
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
declare const Link: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
|
|
1987
|
+
size?: Size | undefined;
|
|
1988
|
+
colorSetting?: "black" | "blue" | "bronze" | "brown" | "darkBlue" | "darkestBlue" | "darkestGreen" | "darkestGrey" | "darkGreen" | "darkGrey" | "darkSilver" | "floralWhite" | "ghostWhite" | "green" | "grey" | "greyishBlue" | "iceWhite" | "lightBlue" | "lightestGrey" | "lightGreen" | "lightGrey" | "milkWhite" | "orange" | "pink" | "purple" | "red" | "silver" | "snowWhite" | "vanilla" | "warningGray" | "warningRed" | "warningYellow" | "white" | "yellow" | {
|
|
1989
|
+
normal?: "black" | "blue" | "bronze" | "brown" | "darkBlue" | "darkestBlue" | "darkestGreen" | "darkestGrey" | "darkGreen" | "darkGrey" | "darkSilver" | "floralWhite" | "ghostWhite" | "green" | "grey" | "greyishBlue" | "iceWhite" | "lightBlue" | "lightestGrey" | "lightGreen" | "lightGrey" | "milkWhite" | "orange" | "pink" | "purple" | "red" | "silver" | "snowWhite" | "vanilla" | "warningGray" | "warningRed" | "warningYellow" | "white" | "yellow" | undefined;
|
|
1990
|
+
hover?: "black" | "blue" | "bronze" | "brown" | "darkBlue" | "darkestBlue" | "darkestGreen" | "darkestGrey" | "darkGreen" | "darkGrey" | "darkSilver" | "floralWhite" | "ghostWhite" | "green" | "grey" | "greyishBlue" | "iceWhite" | "lightBlue" | "lightestGrey" | "lightGreen" | "lightGrey" | "milkWhite" | "orange" | "pink" | "purple" | "red" | "silver" | "snowWhite" | "vanilla" | "warningGray" | "warningRed" | "warningYellow" | "white" | "yellow" | undefined;
|
|
1991
|
+
} | undefined;
|
|
1992
|
+
disabled?: boolean | undefined;
|
|
1993
|
+
} & Omit<react.HTMLAttributes<HTMLDivElement>, "color">, never>;
|
|
1994
|
+
|
|
1995
|
+
declare const Loader: styled_components.StyledComponent<"div", styled_components.DefaultTheme, LoaderProps, never>;
|
|
1996
|
+
|
|
1997
|
+
declare const Menu: MenuInterface;
|
|
1998
|
+
|
|
1999
|
+
interface StyledModalProps {
|
|
2000
|
+
/**
|
|
2001
|
+
* Specifies the modal size.
|
|
2002
|
+
*/
|
|
2003
|
+
size: 'custom' | 'small' | 'medium' | 'large';
|
|
2004
|
+
/**
|
|
2005
|
+
* Specifies the custom modal size.
|
|
2006
|
+
*/
|
|
2007
|
+
customSize?: {
|
|
2008
|
+
width?: string;
|
|
2009
|
+
height?: string;
|
|
2010
|
+
};
|
|
2011
|
+
/**
|
|
2012
|
+
* Define the color of header and default confirm button.
|
|
2013
|
+
*/
|
|
2014
|
+
color: ColorOptions;
|
|
2015
|
+
/**
|
|
2016
|
+
* Define if header of modal is inverted.
|
|
2017
|
+
*/
|
|
2018
|
+
inverted: number;
|
|
2019
|
+
}
|
|
2020
|
+
interface ModalProps extends Omit<Partial<StyledModalProps>, 'inverted'> {
|
|
2021
|
+
/**
|
|
2022
|
+
* Title on header of modal.
|
|
2023
|
+
*/
|
|
2024
|
+
title?: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* Content on center of modal.
|
|
2027
|
+
*/
|
|
2028
|
+
content?: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* Content on center of modal.
|
|
2031
|
+
*/
|
|
2032
|
+
children?: string | JSX.Element;
|
|
2033
|
+
/**
|
|
2034
|
+
* Define if header of modal is inverted.
|
|
2035
|
+
*/
|
|
2036
|
+
inverted?: boolean;
|
|
2037
|
+
/**
|
|
2038
|
+
* Define if content of modal is loading.
|
|
2039
|
+
*/
|
|
2040
|
+
loading?: boolean;
|
|
2041
|
+
/**
|
|
2042
|
+
* Content on footer of modal.
|
|
2043
|
+
*/
|
|
2044
|
+
footer?: ButtonProps[];
|
|
2045
|
+
footerMessage?: string | JSX.Element;
|
|
2046
|
+
openState: [boolean, React.Dispatch<React.SetStateAction<boolean>>];
|
|
2047
|
+
closeOnClickOutside?: boolean;
|
|
2048
|
+
closeOnEsc?: boolean;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
interface AuditProps extends Omit<ModalProps, 'size' | 'customSize' | 'color' | 'inverted' | 'loading' | 'footer' | 'footerMessage' | 'title'> {
|
|
2052
|
+
cancelAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2053
|
+
confirmAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
interface ConfirmSuccessProps extends Omit<ModalProps, 'size' | 'customSize' | 'color' | 'inverted' | 'loading' | 'footer' | 'footerMessage' | 'title'> {
|
|
2057
|
+
homeAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2058
|
+
cancelAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2059
|
+
confirmAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
interface ConfirmDeleteProps extends Omit<ModalProps, 'size' | 'customSize' | 'color' | 'inverted' | 'loading' | 'footer' | 'footerMessage'> {
|
|
2063
|
+
cancelAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2064
|
+
confirmAction: React.MouseEventHandler<HTMLButtonElement>;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
declare const Modal: ((props: ModalProps) => JSX.Element) & {
|
|
2068
|
+
ConfirmDelete: (props: ConfirmDeleteProps) => JSX.Element;
|
|
2069
|
+
ConfirmEdit: (props: ConfirmSuccessProps) => JSX.Element;
|
|
2070
|
+
Audit: (props: AuditProps) => JSX.Element;
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
interface PlaceholderProps {
|
|
2074
|
+
loading: boolean;
|
|
2075
|
+
type: 'template1' | 'template2' | 'template3' | 'template4' | 'template5' | 'template6' | 'template7' | 'template8' | 'template9' | 'template10';
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
declare const Placeholder: (props: PlaceholderProps) => JSX.Element;
|
|
2079
|
+
|
|
2080
|
+
interface ProgressBarProps {
|
|
2081
|
+
type: 'default' | 'info' | 'danger' | 'success' | 'warning';
|
|
2082
|
+
value: string;
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
declare const ProgressBar: (props: ProgressBarProps) => JSX.Element;
|
|
2086
|
+
|
|
2087
|
+
declare const ScrollContainer: react__default.ForwardRefExoticComponent<ScrollContainerProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
2088
|
+
|
|
2089
|
+
declare const Tabs: TabsComponent & {
|
|
2090
|
+
mapComponents: <C extends string, T = {}>(obj: { [K in C]: TabComponent<T>; }) => TabComponents<T, C>;
|
|
2091
|
+
buildComponent: <T_1 = {}>(component: TabComponent<T_1>, provider?: TabProvider<T_1> | undefined) => TabComponent<T_1>;
|
|
2092
|
+
};
|
|
2093
|
+
|
|
2094
|
+
interface MwTextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
2095
|
+
name?: string;
|
|
2096
|
+
width: string;
|
|
2097
|
+
height: string;
|
|
2098
|
+
placeholder?: string;
|
|
2099
|
+
disabled?: boolean;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2102
|
+
declare const TextArea: (props: MwTextAreaProps) => JSX.Element;
|
|
2103
|
+
|
|
2104
|
+
interface ToasterTypes {
|
|
2105
|
+
color: 'success' | 'error' | 'warning';
|
|
2106
|
+
size: 'normal' | 'large';
|
|
2107
|
+
title: string;
|
|
2108
|
+
description: string;
|
|
2109
|
+
handlClose: () => void;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
declare const Toast: (props: ToasterTypes) => JSX.Element;
|
|
2113
|
+
|
|
2114
|
+
interface TransitionOptions {
|
|
2115
|
+
active: boolean;
|
|
2116
|
+
mountDuration: number;
|
|
2117
|
+
}
|
|
2118
|
+
interface TransitionProps extends TransitionOptions {
|
|
2119
|
+
element: (options: TransitionOptions) => JSX.Element;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
declare const Transition: (props: TransitionProps) => JSX.Element | null;
|
|
2123
|
+
|
|
2124
|
+
declare const useTransition: <P extends string>(props: Transition$1<P>, values: MappedTransitions<P>) => styled_components.FlattenSimpleInterpolation | undefined;
|
|
2125
|
+
|
|
2126
|
+
interface StyledZoomProps {
|
|
2127
|
+
width?: number | string;
|
|
2128
|
+
height?: number | string;
|
|
2129
|
+
}
|
|
2130
|
+
interface ZoomProps extends StyledZoomProps {
|
|
2131
|
+
src: string;
|
|
2132
|
+
defaultClickOptions?: Partial<ModalProps>;
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
declare const Zoom: (props: ZoomProps) => JSX.Element;
|
|
2136
|
+
|
|
2137
|
+
declare const ThemeProvider: (props: {
|
|
2138
|
+
children: JSX.Element | string | (JSX.Element | string)[];
|
|
2139
|
+
}) => JSX.Element;
|
|
2140
|
+
|
|
2141
|
+
export { AbsoluteContainer as MwAbsoluteContainer, AppliedFilters as MwAppliedFilters, Button as MwButton, Calendar as MwCalendar, Card as MwCard, EllipsisContainer as MwEllipsisContainer, Filters as MwFilters, Form as MwForm, Grid as MwGrid, Icon as MwIcon, Indicator as MwIndicator, Input as MwInput, Link as MwLink, Loader as MwLoader, Menu as MwMenu, Modal as MwModal, Placeholder as MwPlaceholder, ProgressBar as MwProgressBar, ScrollContainer as MwScrollContainer, Tabs as MwTabs, TextArea as MwTextArea, Toast as MwToast, Transition as MwTransition, Zoom as MwZoom, ThemeProvider, useTransition as useMwTransition };
|