@apollion-dsi/core 5.6.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -87
- package/lib/chunks/Notification.group-SKYIVPR6.esm.js +1 -0
- package/lib/chunks/{chunk-5SQH2W2J.esm.js → chunk-23T5Y5P7.esm.js} +1 -1
- package/lib/chunks/chunk-2XKW4UZB.esm.js +1 -0
- package/lib/chunks/chunk-2XTVIQMG.esm.js +1 -0
- package/lib/chunks/chunk-3BR5YHOT.esm.js +2 -0
- package/lib/chunks/chunk-3EL7GLYZ.esm.js +5 -0
- package/lib/chunks/{chunk-BMGVQBTB.esm.js → chunk-3TVX6V2P.esm.js} +1 -1
- package/lib/chunks/{chunk-MS7WJXDX.esm.js → chunk-3XGXC5CQ.esm.js} +1 -1
- package/lib/chunks/chunk-4MDTGKID.esm.js +1 -0
- package/lib/chunks/{chunk-7AFAO7ZS.esm.js → chunk-4ZHLV35P.esm.js} +1 -1
- package/lib/chunks/chunk-5HBSIYOZ.esm.js +1 -0
- package/lib/chunks/chunk-5OE3KRLX.esm.js +1 -0
- package/lib/chunks/chunk-6AF7EOSR.esm.js +1 -0
- package/lib/chunks/chunk-6KLI7VMF.esm.js +1 -0
- package/lib/chunks/{chunk-CZJF4EVQ.esm.js → chunk-6SQEKMOW.esm.js} +1 -1
- package/lib/chunks/{chunk-SJ3MPBVM.esm.js → chunk-6VRD7OZA.esm.js} +1 -1
- package/lib/chunks/chunk-6XX3UO2Y.esm.js +1 -0
- package/lib/chunks/chunk-7L77BJCX.esm.js +1 -0
- package/lib/chunks/chunk-7X5XCVTL.esm.js +1 -0
- package/lib/chunks/{chunk-BVKAXW2H.esm.js → chunk-AFFGRIAY.esm.js} +1 -1
- package/lib/chunks/{chunk-HMITYQV5.esm.js → chunk-ALR3UKST.esm.js} +1 -1
- package/lib/chunks/chunk-AXUWC2WH.esm.js +1 -0
- package/lib/chunks/{chunk-7EGX7BMB.esm.js → chunk-BERIBF3O.esm.js} +1 -1
- package/lib/chunks/chunk-BFABFZI7.esm.js +1 -0
- package/lib/chunks/{chunk-4VEUQE23.esm.js → chunk-BHK35QDU.esm.js} +1 -1
- package/lib/chunks/chunk-BULFULCF.esm.js +1 -0
- package/lib/chunks/{chunk-OHOMOBIV.esm.js → chunk-C7IUAX6C.esm.js} +5 -5
- package/lib/chunks/chunk-CCONLRLQ.esm.js +1 -0
- package/lib/chunks/chunk-CEVSZEYI.esm.js +1 -0
- package/lib/chunks/{chunk-D2T4FF27.esm.js → chunk-CV375N2M.esm.js} +1 -1
- package/lib/chunks/chunk-DHBTYTRE.esm.js +35 -0
- package/lib/chunks/chunk-EXO45TTW.esm.js +1 -0
- package/lib/chunks/chunk-FBBAYMRG.esm.js +1 -0
- package/lib/chunks/{chunk-FPUV6SIF.esm.js → chunk-FOHYQDXP.esm.js} +5 -5
- package/lib/chunks/chunk-GNQ43LWP.esm.js +1 -0
- package/lib/chunks/chunk-HATBJ5OR.esm.js +1 -0
- package/lib/chunks/chunk-HEZGD5NN.esm.js +1 -0
- package/lib/chunks/chunk-HO47XRST.esm.js +44 -0
- package/lib/chunks/chunk-HPM5AX5Z.esm.js +1 -0
- package/lib/chunks/chunk-I6HAFAKY.esm.js +1 -0
- package/lib/chunks/chunk-I6YTT57W.esm.js +3 -0
- package/lib/chunks/chunk-IA234JY2.esm.js +0 -0
- package/lib/chunks/chunk-IEECNFBV.esm.js +1 -0
- package/lib/chunks/chunk-IN3Y5P5T.esm.js +1 -0
- package/lib/chunks/chunk-IPANNHV3.esm.js +1 -0
- package/lib/chunks/chunk-IRZ4UB35.esm.js +1 -0
- package/lib/chunks/chunk-JQ66DKSQ.esm.js +1 -0
- package/lib/chunks/chunk-KK7GK3UF.esm.js +1 -0
- package/lib/chunks/{chunk-HRMJR6TD.esm.js → chunk-KMJC5FWJ.esm.js} +1 -1
- package/lib/chunks/{chunk-RZGNPPLN.esm.js → chunk-KSXQYRLN.esm.js} +1 -1
- package/lib/chunks/chunk-KY5NBHOI.esm.js +1 -0
- package/lib/chunks/chunk-L3UIDQAU.esm.js +1 -0
- package/lib/chunks/chunk-MUI7DBJO.esm.js +1 -0
- package/lib/chunks/chunk-MZ4K54LF.esm.js +1 -0
- package/lib/chunks/chunk-N6TVSSCE.esm.js +1 -0
- package/lib/chunks/chunk-NBQ34TTP.esm.js +4 -0
- package/lib/chunks/{chunk-TD4RVB2L.esm.js → chunk-NFEJI3EH.esm.js} +1 -1
- package/lib/chunks/chunk-NOZL56LA.esm.js +1 -0
- package/lib/chunks/chunk-NZ67MJX5.esm.js +1 -0
- package/lib/chunks/chunk-O57P24BI.esm.js +1 -0
- package/lib/chunks/chunk-OKKST6EP.esm.js +1 -0
- package/lib/chunks/{chunk-WNCECFZT.esm.js → chunk-OX3EZSSO.esm.js} +1 -1
- package/lib/chunks/chunk-P7RR4ZHS.esm.js +1 -0
- package/lib/chunks/chunk-PESCONAO.esm.js +1 -0
- package/lib/chunks/chunk-PFLBU7HG.esm.js +1 -0
- package/lib/chunks/chunk-PJQ3IZE7.esm.js +0 -0
- package/lib/chunks/chunk-PMQG6OAY.esm.js +1 -0
- package/lib/chunks/chunk-PNMHDQZ7.esm.js +1 -0
- package/lib/chunks/chunk-PUP76STF.esm.js +1 -0
- package/lib/chunks/chunk-Q4VSZJEJ.esm.js +1 -0
- package/lib/chunks/chunk-Q5ET2AY3.esm.js +1 -0
- package/lib/chunks/chunk-QG4MACPR.esm.js +1 -0
- package/lib/chunks/{chunk-XGE6OOEJ.esm.js → chunk-QJNYQOV7.esm.js} +1 -1
- package/lib/chunks/chunk-QYL6LECA.esm.js +1 -0
- package/lib/chunks/{chunk-CQK4PCNH.esm.js → chunk-RFZK5IQO.esm.js} +1 -1
- package/lib/chunks/chunk-RLDFMPSZ.esm.js +1 -0
- package/lib/chunks/chunk-RNL7RFJK.esm.js +1 -0
- package/lib/chunks/chunk-SEOZMJYW.esm.js +1 -0
- package/lib/chunks/chunk-STSRIPD6.esm.js +1 -0
- package/lib/chunks/chunk-SUY3U4J4.esm.js +1 -0
- package/lib/chunks/chunk-SXG6EM4R.esm.js +1 -0
- package/lib/chunks/chunk-TFOUOFFD.esm.js +1 -0
- package/lib/chunks/chunk-TLIKQFOT.esm.js +1 -0
- package/lib/chunks/chunk-U525YXTZ.esm.js +1 -0
- package/lib/chunks/chunk-UBIEAIXU.esm.js +1 -0
- package/lib/chunks/{chunk-MJUAYHOW.esm.js → chunk-UDVZGRJB.esm.js} +1 -1
- package/lib/chunks/chunk-UIZHH3IZ.esm.js +1 -0
- package/lib/chunks/{chunk-WU5LSQM6.esm.js → chunk-UO3HO2ZN.esm.js} +1 -1
- package/lib/chunks/chunk-VAH2Y2S5.esm.js +1 -0
- package/lib/chunks/chunk-VKFJFOLE.esm.js +1 -0
- package/lib/chunks/{chunk-XBLZJLBQ.esm.js → chunk-VLK46DIP.esm.js} +1 -1
- package/lib/chunks/chunk-VROT2JQQ.esm.js +1 -0
- package/lib/chunks/chunk-WESPISDY.esm.js +1 -0
- package/lib/chunks/chunk-WHG3FSD6.esm.js +1 -0
- package/lib/chunks/chunk-WI3WPCW3.esm.js +1 -0
- package/lib/chunks/chunk-WTUWJW2K.esm.js +39 -0
- package/lib/chunks/chunk-XBHJSNUP.esm.js +1 -0
- package/lib/chunks/{chunk-YKIFYIC5.esm.js → chunk-XKF6L4GH.esm.js} +1 -1
- package/lib/chunks/{chunk-2CVIS37T.esm.js → chunk-XQJ4DROM.esm.js} +1 -1
- package/lib/chunks/chunk-XVPUSCK5.esm.js +1 -0
- package/lib/chunks/chunk-YC44Q5HI.esm.js +1 -0
- package/lib/chunks/chunk-YJHYFCT7.esm.js +1 -0
- package/lib/chunks/{chunk-OWMRURZT.esm.js → chunk-YZQXTNVA.esm.js} +1 -1
- package/lib/chunks/chunk-Z7GJDO5T.esm.js +0 -0
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/Card.d.ts +27 -13
- package/lib/containers/Card/Card.interface.d.ts +20 -8
- package/lib/containers/Card/Card.style.d.ts +28 -0
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +39 -4
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Motion/Motion.style.d.ts +180 -24
- package/lib/containers/Motion/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.interface.d.ts +8 -0
- package/lib/containers/Notification/Notification.style.d.ts +720 -96
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.style.d.ts +6 -5
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +3 -3
- package/lib/containers/Scroll/Scroll.helpers.d.ts +17 -14
- package/lib/containers/Scroll/Scroll.style.d.ts +2 -2
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +0 -14
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +30 -8
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +8 -0
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.d.ts +46 -0
- package/lib/dataDisplay/Steps/Steps.interface.d.ts +99 -0
- package/lib/dataDisplay/Steps/Steps.style.d.ts +84 -0
- package/lib/dataDisplay/Steps/index.d.ts +10 -0
- package/lib/dataDisplay/Steps/index.esm.js +1 -0
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableBody/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/TableFooter.style.d.ts +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +1 -1
- package/lib/dataDisplay/Table/TableHeader/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +4 -4
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.d.ts +1 -0
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.interface.d.ts +8 -4
- package/lib/elements/Button/Button.style.d.ts +11 -1
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.d.ts +25 -0
- package/lib/elements/Divider/Divider.interface.d.ts +63 -0
- package/lib/elements/Divider/Divider.style.d.ts +49 -0
- package/lib/elements/Divider/index.d.ts +10 -0
- package/lib/elements/Divider/index.esm.js +1 -0
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +49 -8
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/IconText.d.ts +22 -0
- package/lib/elements/IconText/IconText.interface.d.ts +46 -0
- package/lib/elements/IconText/IconText.style.d.ts +25 -0
- package/lib/elements/IconText/index.d.ts +10 -0
- package/lib/elements/IconText/index.esm.js +1 -0
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.style.d.ts +12 -8
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +2 -1
- package/lib/elements/List/List.interface.d.ts +9 -0
- package/lib/elements/List/List.style.d.ts +1 -1
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +726 -16433
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.d.ts +10 -4
- package/lib/elements/Spinner/Spinner.interface.d.ts +23 -2
- package/lib/elements/Spinner/Spinner.style.d.ts +36 -0
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.interface.d.ts +12 -0
- package/lib/elements/Text/Text.props.d.ts +46 -17
- package/lib/elements/Text/Text.style.d.ts +24 -0
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Text/useTickFlash.d.ts +11 -0
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.d.ts +2 -0
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BackgroundFactory/index.esm.js +1 -1
- package/lib/factory/ColorFactory/index.esm.js +1 -1
- package/lib/factory/ContainerFactory/ContainerFactory.d.ts +4 -3
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +22 -2
- package/lib/factory/ContainerFactory/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/ContainerQueryFactory.d.ts +25 -0
- package/lib/factory/ContainerQueryFactory/ContainerQueryFactory.interface.d.ts +35 -0
- package/lib/factory/ContainerQueryFactory/index.d.ts +8 -0
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -0
- package/lib/factory/DeepFactory/DeepFactory.d.ts +4 -0
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +15 -3
- package/lib/factory/FlexFactory/FlexFactory.interface.d.ts +17 -2
- package/lib/factory/FlexFactory/index.esm.js +1 -1
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/System.interface.d.ts +2 -1
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.d.ts +1 -0
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox/Checkbox.interface.d.ts +12 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +22 -8
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.style.d.ts +5 -2
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.style.d.ts +10 -10
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.d.ts +10 -0
- package/lib/form/InputCurrency/InputCurrency.interface.d.ts +36 -0
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +48 -0
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.style.d.ts +8 -8
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.d.ts +31 -0
- package/lib/form/Option/Option.interface.d.ts +62 -0
- package/lib/form/Option/Option.style.d.ts +38 -0
- package/lib/form/Option/index.d.ts +10 -0
- package/lib/form/Option/index.esm.js +1 -0
- package/lib/form/Radio/Radio.d.ts +1 -1
- package/lib/form/Radio/Radio.interface.d.ts +13 -2
- package/lib/form/Radio/Radio.style.d.ts +8 -6
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +1 -1
- package/lib/form/Switch/Switch.interface.d.ts +12 -1
- package/lib/form/Switch/Switch.style.d.ts +4 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.style.d.ts +4 -4
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +19 -11
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/index.esm.js +1 -1
- package/lib/hooks/useMediaQuery/index.esm.js +1 -1
- package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +7 -5
- package/lib/hooks/useMediaQuery/useMediaQuery.helpers.d.ts +12 -6
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +3 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +2 -2
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +7 -3
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +3 -2
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +2 -2
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/index.esm.js +1 -1
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Animation/Animation.interface.d.ts +6 -0
- package/lib/themes/Animation/index.esm.js +1 -1
- package/lib/themes/Colors/Colors.helpers.d.ts +77 -0
- package/lib/themes/Colors/Colors.interface.d.ts +101 -2
- package/lib/themes/Colors/Colors.ladder.d.ts +98 -0
- package/lib/themes/Colors/index.d.ts +2 -0
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.interface.d.ts +19 -1
- package/lib/themes/Component/index.d.ts +1 -1
- package/lib/themes/Component/index.esm.js +1 -1
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Depth/Depth.props.d.ts +14 -0
- package/lib/themes/Depth/index.esm.js +1 -1
- package/lib/themes/Font/Font.interface.d.ts +8 -0
- package/lib/themes/Font/Font.props.d.ts +9 -2
- package/lib/themes/Font/index.esm.js +1 -1
- package/lib/themes/Foundation/Foundation.interface.d.ts +27 -0
- package/lib/themes/Foundation/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/GlobalStyle.d.ts +20 -2
- package/lib/themes/GlobalStyle/index.d.ts +5 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/Ground/Ground.d.ts +28 -0
- package/lib/themes/Ground/Ground.helpers.d.ts +60 -0
- package/lib/themes/Ground/index.d.ts +7 -0
- package/lib/themes/Ground/index.esm.js +1 -0
- package/lib/themes/Layout/Layout.interface.d.ts +33 -0
- package/lib/themes/Layout/Layout.props.d.ts +18 -0
- package/lib/themes/Layout/index.d.ts +8 -0
- package/lib/themes/Layout/index.esm.js +1 -0
- package/lib/themes/Mode/Mode.helpers.d.ts +64 -0
- package/lib/themes/Mode/Mode.interface.d.ts +54 -0
- package/lib/themes/Mode/ModeScript.d.ts +14 -0
- package/lib/themes/Mode/index.d.ts +9 -0
- package/lib/themes/Mode/index.esm.js +1 -0
- package/lib/themes/Semantic/Semantic.helpers.d.ts +9 -2
- package/lib/themes/Semantic/Semantic.interface.d.ts +28 -0
- package/lib/themes/Semantic/index.esm.js +1 -1
- package/lib/themes/Surface/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/ThemeProvider.d.ts +10 -4
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +129 -10
- package/lib/themes/ThemeProvider/ThemeProvider.modes.d.ts +52 -0
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +2 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/components/Breakpoints/Breakpoints.d.ts +7 -5
- package/lib/utils/components/Breakpoints/Breakpoints.interface.d.ts +11 -7
- package/lib/utils/components/Breakpoints/index.esm.js +1 -1
- package/lib/utils/components/index.esm.js +1 -1
- package/lib/vendors/Culori/apca.d.ts +24 -0
- package/lib/vendors/Culori/index.d.ts +1 -0
- package/lib/vendors/StyledComponents/component.d.ts +3 -2
- package/lib/vendors/StyledComponents/index.d.ts +1 -1
- package/package.json +44 -3
- package/lib/chunks/Notification.group-GB62BMAL.esm.js +0 -1
- package/lib/chunks/chunk-2CW4G3UR.esm.js +0 -1
- package/lib/chunks/chunk-2R6XFFSQ.esm.js +0 -1
- package/lib/chunks/chunk-2WED4EVR.esm.js +0 -43
- package/lib/chunks/chunk-34QOWBI6.esm.js +0 -1
- package/lib/chunks/chunk-3EOSES4S.esm.js +0 -1
- package/lib/chunks/chunk-452VAAGY.esm.js +0 -1
- package/lib/chunks/chunk-4BMWIGG4.esm.js +0 -1
- package/lib/chunks/chunk-4V7LOS5Z.esm.js +0 -1
- package/lib/chunks/chunk-56NEPHUH.esm.js +0 -1
- package/lib/chunks/chunk-5HENHW73.esm.js +0 -1
- package/lib/chunks/chunk-5MWVBWXW.esm.js +0 -1
- package/lib/chunks/chunk-5NE62M4R.esm.js +0 -1
- package/lib/chunks/chunk-6N52NFPT.esm.js +0 -1
- package/lib/chunks/chunk-6OXVRDS2.esm.js +0 -1
- package/lib/chunks/chunk-6X6WKZ3Y.esm.js +0 -1
- package/lib/chunks/chunk-73MPQ5OY.esm.js +0 -1
- package/lib/chunks/chunk-A6Z2M2XU.esm.js +0 -1
- package/lib/chunks/chunk-APD22JEO.esm.js +0 -1
- package/lib/chunks/chunk-AYZYOY57.esm.js +0 -1
- package/lib/chunks/chunk-BC24WDTC.esm.js +0 -1
- package/lib/chunks/chunk-BRXIFPWB.esm.js +0 -1
- package/lib/chunks/chunk-CLDPV7NK.esm.js +0 -1
- package/lib/chunks/chunk-CZAUFZ45.esm.js +0 -1
- package/lib/chunks/chunk-DLVRDZRA.esm.js +0 -35
- package/lib/chunks/chunk-E3MSXQXV.esm.js +0 -1
- package/lib/chunks/chunk-EJ3VKFOX.esm.js +0 -1
- package/lib/chunks/chunk-G4IUG32B.esm.js +0 -1
- package/lib/chunks/chunk-I46TFDIX.esm.js +0 -3
- package/lib/chunks/chunk-IE4YNQFD.esm.js +0 -1
- package/lib/chunks/chunk-IWMEDT6U.esm.js +0 -1
- package/lib/chunks/chunk-K2BKOGDX.esm.js +0 -1
- package/lib/chunks/chunk-KASRN4X5.esm.js +0 -1
- package/lib/chunks/chunk-KHEBUAB4.esm.js +0 -1
- package/lib/chunks/chunk-KI5W6U4K.esm.js +0 -1
- package/lib/chunks/chunk-KYIPVR2T.esm.js +0 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +0 -1
- package/lib/chunks/chunk-LTTG3NIJ.esm.js +0 -1
- package/lib/chunks/chunk-M32CTX5Z.esm.js +0 -1
- package/lib/chunks/chunk-M33BYGAO.esm.js +0 -1
- package/lib/chunks/chunk-MBYC37CX.esm.js +0 -1
- package/lib/chunks/chunk-MLIU6MRT.esm.js +0 -1
- package/lib/chunks/chunk-NI6YLGUA.esm.js +0 -1
- package/lib/chunks/chunk-NQBO2D7L.esm.js +0 -1
- package/lib/chunks/chunk-NYDXZB2D.esm.js +0 -1
- package/lib/chunks/chunk-OUHMU5PP.esm.js +0 -1
- package/lib/chunks/chunk-OZIEVLUR.esm.js +0 -1
- package/lib/chunks/chunk-P5PWDVWO.esm.js +0 -1
- package/lib/chunks/chunk-ROSLCQXL.esm.js +0 -1
- package/lib/chunks/chunk-RU6QRCR7.esm.js +0 -1
- package/lib/chunks/chunk-RUKCBNDS.esm.js +0 -1
- package/lib/chunks/chunk-RZDVS7AY.esm.js +0 -1
- package/lib/chunks/chunk-T6ZB656A.esm.js +0 -1
- package/lib/chunks/chunk-TISQZ6PQ.esm.js +0 -1
- package/lib/chunks/chunk-TLBV5OUM.esm.js +0 -1
- package/lib/chunks/chunk-TQJTHPA3.esm.js +0 -1
- package/lib/chunks/chunk-TUALAE4W.esm.js +0 -1
- package/lib/chunks/chunk-UHMYTFMU.esm.js +0 -1
- package/lib/chunks/chunk-UNM6DHPD.esm.js +0 -1
- package/lib/chunks/chunk-VAJGIZNP.esm.js +0 -1
- package/lib/chunks/chunk-VHXSTTRG.esm.js +0 -5
- package/lib/chunks/chunk-WGTBX72G.esm.js +0 -1
- package/lib/chunks/chunk-YRBM4WYM.esm.js +0 -1
- package/lib/chunks/chunk-ZLFQHCLE.esm.js +0 -1
- package/lib/chunks/chunk-ZZFLBPSO.esm.js +0 -39
- /package/lib/chunks/{chunk-5OKRFXLL.esm.js → chunk-4L2KOZIQ.esm.js} +0 -0
- /package/lib/chunks/{chunk-KL3ATH64.esm.js → chunk-EBOJSNZ5.esm.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as y}from"./chunk-
|
|
1
|
+
import{d as y}from"./chunk-WHG3FSD6.esm.js";import{a as G}from"./chunk-XBHJSNUP.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import c,{Children as T,useCallback as H,useMemo as k}from"react";function R(e){return Array(e).fill("min-content").join(" ")}o(R,"createSpace");function v(e){return e?R(e):"1fr"}o(v,"getGridColumns");function g(e){let l=e&&e.row?e.row:e,m=e&&e.column?e.column:e;return[l,m]}o(g,"getGridGap");var I=o(e=>{let{name:l,variant:m,gap:s="Compact",columns:p,value:t,inputs:C,children:b,onChange:d,type:u,...L}=e,x=k(()=>v(p),[p]),[E,F]=k(()=>g(s),[s]),f=H((r,n)=>a=>{if(!d||!l)return;let i=null;u==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(M=>M!==n):i=[...t||[],n],d(i)},[l,t,d,u]);function h(r){return Array.isArray(t)?!!t.includes(r):r===t}o(h,"isInputChecked");function w(){let r=u==="radio"?y:G;return C.map(n=>{let a=h(n.value),i=u==="radio"?l:n.name;return c.createElement(r,{...n,key:n.value,variant:m,name:i,checked:a,onChange:f(a,n.value)})})}o(w,"renderInputs");function A(){return T.map(b,r=>{if(!c.isValidElement(r))return null;let n=r.props.value,a=h(n);return c.cloneElement(r,{onChange:f(a,n),checked:a})})}return o(A,"renderChildren"),c.createElement("div",{style:{display:"grid",gridRowGap:E,gridColumnGap:F,gridTemplateColumns:x}},C?w():A())},"FieldGroupComponent");I.displayName="FieldGroup";export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as W,b as B}from"./chunk-NBQ34TTP.esm.js";import{f as E}from"./chunk-6AF7EOSR.esm.js";import{c as z}from"./chunk-IRZ4UB35.esm.js";import{ga as M}from"./chunk-H2KVPACE.esm.js";import{a as k,b as I}from"./chunk-23T5Y5P7.esm.js";import{a as w,e as g}from"./chunk-MUI7DBJO.esm.js";import{a as P}from"./chunk-3TVX6V2P.esm.js";import{a as A,b as T}from"./chunk-I6HAFAKY.esm.js";import{a as p}from"./chunk-7L77BJCX.esm.js";import{c as h}from"./chunk-G5Z7USXC.esm.js";import{b as x,c as S,g as l}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var O=S(["0%{width:0;}100%{width:100%;}"]),y=l(p).withConfig({componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],O),V=l(p).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function Q({variant:o,theme:n}){let e=n.colors[o];return x(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";--inkColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);",":not(button *){color:var(--inkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],e.base,e.light,e.dark,e.active,e.action,e.onLight,w,W,k,y)}i(Q,"getWrapperStyle");var b=l(T).withConfig({componentId:"sc-6lckl1-2"})(Q);b.displayName="div";var j=l(p).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import t,{useEffect as U,useState as _}from"react";import{createPortal as H}from"react-dom";var F=i(({type:o="block",variant:n="primary",visible:e=!0,closable:c=!0,autoClose:s=null,message:r=null,action:a=null,icon:m=null,link:C,onDismiss:f,closeLabel:L="Fechar notifica\xE7\xE3o",...d})=>{let{isMobile:v}=E(),$=i(()=>{let u=a;return typeof a=="function"&&(u=a({close:f})),u?t.cloneElement(u,{color:n,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),q=i(()=>typeof r=="function"?r({close:f}):typeof r=="string"?t.createElement(g,{text:r,variant:"p",fontSize:"xs"}):r,"renderMessage"),N=n==="danger",G=N?"alert":"status";return e?t.createElement(b,{p:"medium",pr:9,round:v?0:"xs",borderWidth:v?"none":"thin",borderStyle:"solid",variant:n,"data-testid":`notification-${o}`,role:G,"aria-live":N?"assertive":"polite","aria-atomic":"true",...d},s&&t.createElement(V,null,t.createElement(y,{round:"micro",style:{"--time":s},onAnimationEnd:f})),t.createElement(P,{contentGap:"medium",opener:m&&t.createElement(j,{pt:"xs",alignSelf:"start"},m),closer:$()},d.title&&t.createElement(g,{text:d.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),q(),C&&t.createElement(z,{...C,target:"_blank"})),c&&t.createElement(B,{p:"xs",borderWidth:"none",icon:t.createElement(I,{size:"small",icon:M}),"aria-label":L,variant:"linked",onClick:f,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),J=i(o=>{let[n,e]=_(!1);U(()=>{e(!0)},[]);let{pageOffset:c=0,...s}=o,r=o.pagePosition==="top",a=r?{top:c}:{bottom:c};if(!n||!h)return null;let m=o.visible!==!1;return H(t.createElement(A,null,m?t.createElement(F,{...s,round:0,borderWidth:"thin",borderPosition:r?"bottom":"top",initial:{y:r?"-100%":"100%",opacity:0},animate:{y:0,opacity:1},exit:{y:r?"-100%":"100%",opacity:0},style:{...a,zIndex:1e3,margin:0,position:"fixed",right:0,left:0}}):null),h)},"PageNotification"),K=i(o=>o.type==="page"?t.createElement(J,{...o}):t.createElement(F,{...o}),"NotificationComponent");K.displayName="Notification";export{y as a,V as b,b as c,j as d,K as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as m}from"./chunk-23T5Y5P7.esm.js";import{b as g}from"./chunk-AFFGRIAY.esm.js";import{e as c}from"./chunk-MUI7DBJO.esm.js";import{a as f}from"./chunk-7L77BJCX.esm.js";import{g as p}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import s from"react";function h(r){return r==="extraLarge"?"xl":r==="giant"?"xxl":r}a(h,"getIconSize");function x({theme:r,size:i,$label:e}){let{fontSize:o}=r.font,n=(e==null?void 0:e.length)||0;switch(i){case"small":{let t=r.spacing("medium");return{width:t,height:t,fontSize:o.micro}}case"large":{let t=r.spacing("xl");return{width:t,height:t,fontSize:n===1?o.xxl:o.large}}case"extraLarge":{let t=r.spacing("xxl");return{width:t,height:t,fontSize:n===1?o.gargantua:o.giant}}case"giant":{let t=r.spacing("giant");return{width:t,height:t,fontSize:o.gargantua}}default:{let t=r.spacing("large");return{width:t,height:t,fontSize:n===1?o.medium:o.xs}}}}a(x,"getSizes");var u=p(f).withConfig({componentId:"sc-k7r87e-0"})(x);function d({imgSrc:r,icon:i,size:e,label:o,alt:n}){return r?s.createElement(g,{width:"100%",height:"100%",src:r,alt:n!=null?n:"","data-testid":"avatar-image"}):i?s.createElement(m,{icon:i,size:h(e),"data-testid":"avatar-icon"}):s.createElement(c,{textTransform:"uppercase"},o)}a(d,"getContent");var l=a(({size:r,icon:i,imgSrc:e,label:o,alt:n,...t})=>s.createElement(u,{alignItems:"center",justifyContent:"center",overflow:"hidden",borderRadius:"circular",bgColor:"surface.sunken",color:"primary.base",$label:o,size:r,...!e&&!i&&!!o&&{role:"img","aria-label":n!=null?n:o},...t},d({size:r,icon:i,imgSrc:e,label:o,alt:n})),"Avatar");l.displayName="Avatar";export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as i}from"./chunk-OX3EZSSO.esm.js";import{e as t}from"./chunk-MUI7DBJO.esm.js";import{a as r}from"./chunk-7L77BJCX.esm.js";import{a as p}from"./chunk-HEZGD5NN.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var c=n(({children:m,icon:l,title:a,description:x,...e})=>{let f=e.inverted?"ink.primary":"surface.paper";return o.createElement(i,{content:o.createElement(p,{p:"xs"},o.createElement(r,{gap:"medium",maxWidth:400,color:f},o.createElement(r,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(t,{variant:"h4",text:a,color:null})),o.createElement(t,{variant:"p",text:x,color:null}))),...e},m)},"Popover");c.displayName="Popover";export{c as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk-7L77BJCX.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var p=e(r).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"surface.paper",deep:2,...o})).withConfig({componentId:"sc-5vfy6v-0"})([""]);export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as m}from"./chunk-
|
|
1
|
+
import{b as m}from"./chunk-VROT2JQQ.esm.js";import{a as n}from"./chunk-UBIEAIXU.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import f from"react";function e({width:t,height:o=13}){return f.createElement(n,{width:t,height:o},f.createElement(m,{x:0,y:0,width:t,height:o}))}r(e,"TextPresetComponent");e.displayName="TextPreset";export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as e}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var r=e.rect.withConfig({componentId:"sc-ofzrwt-0"})(["stroke:",";fill:",";"],({theme:o})=>o.colors.edge.hairline,({theme:o})=>o.colors.surface.sunken);import c from"react";function n(o){return c.createElement(r,{...o})}t(n,"RectComponent");n.displayName="Rect";export{r as a,n as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as y}from"./chunk-7L77BJCX.esm.js";import{a as h}from"./chunk-YC44Q5HI.esm.js";import{k as b}from"./chunk-XVPUSCK5.esm.js";import{b as s,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import x,{forwardRef as S,useRef as v}from"react";var g=c(y).withConfig({componentId:"sc-rp85te-0"})(["padding:",";border-radius:",";background:",";"],({theme:e})=>e.spacing("micro"),({theme:e})=>e.border.borderRadius.md,({theme:e})=>e.colors.surface.sunken),I={small:s(["min-height:1.75rem;padding:0 ",";font-size:","px;"],({theme:e})=>e.spacing("small"),({theme:e})=>e.font.fontSize.xs),medium:s(["min-height:2.25rem;padding:0 ",";font-size:","px;"],({theme:e})=>e.spacing("medium"),({theme:e})=>e.font.fontSize.small)},k=c.button.withConfig({componentId:"sc-rp85te-1"})(["appearance:none;border:0;margin:0;background:transparent;cursor:pointer;font-family:",";font-weight:",";line-height:",";color:",";border-radius:",";transition:",";display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:",";",";&:hover:not([aria-checked='true']):not(:disabled){background:",";}&[aria-checked='true']{background:",";box-shadow:",";color:",";}&:focus-visible{outline:2px solid ",";outline-offset:1px;}&:disabled{cursor:not-allowed;color:",";}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.fontWeight.bold,({theme:e})=>e.font.lineHeight.tight,({theme:e})=>e.colors.ink.secondary,({theme:e})=>e.border.borderRadius.sm,({theme:e})=>e.animation.transitions.short,({$fullWidth:e})=>e?"1 1 0":"0 0 auto",({$size:e})=>I[e],({theme:e})=>e.colors.wash.hover,({theme:e})=>e.colors.surface.raised,({theme:e})=>e.depth("level-one"),({theme:e})=>e.colors.ink.primary,({theme:e})=>h(e,i=>b(i.colors.primary,"base")),({theme:e})=>e.colors.ink.disabled);var w=S(({options:e,value:i,onChange:O,size:D="medium",label:R,fullWidth:d=!0,...C},a)=>{let f=v(null),m=l(r=>{var o,t;let n=e[r];!n||n.disabled||n.value===i||(O(n.value),(t=(o=f.current)==null?void 0:o.querySelectorAll('[role="radio"]')[r])==null||t.focus())},"pick"),u=l((r,n)=>{let o=e.length,t=r;for(let p=0;p<o;p+=1)if(t=(t+n+o)%o,!e[t].disabled)return t;return r},"step");return x.createElement(g,{flexDirection:"row",alignItems:"stretch",gap:"micro",width:d?"100%":void 0,role:"radiogroup","aria-label":R,onKeyDown:l(r=>{let n=e.findIndex(t=>t.value===i),o=null;r.key==="ArrowRight"||r.key==="ArrowDown"?o=u(n,1):r.key==="ArrowLeft"||r.key==="ArrowUp"?o=u(n,-1):r.key==="Home"?o=e.findIndex(t=>!t.disabled):r.key==="End"&&(o=e.length-1-[...e].reverse().findIndex(t=>!t.disabled)),!(o===null||o<0)&&(r.preventDefault(),m(o))},"handleKeyDown"),...C,ref:l(r=>{f.current=r,typeof a=="function"?a(r):a&&(a.current=r)},"setRefs")},e.map((r,n)=>{let o=r.value===i;return x.createElement(k,{key:r.value,type:"button",role:"radio","aria-checked":o,tabIndex:o?0:-1,disabled:r.disabled,$size:D,$fullWidth:d,onClick:()=>m(n)},r.label)}))});w.displayName="Option";export{g as a,k as b,w as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as m}from"./chunk-DHBTYTRE.esm.js";import{a as l}from"./chunk-MUI7DBJO.esm.js";import{a as p}from"./chunk-HEZGD5NN.esm.js";import{b as c,g as s}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var a=s.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);a.displayName="input";var r=s(p).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"primary",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"]);function h({variant:o,$color:i,theme:t}){let e=m(t,o,i);return c(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],e.dark,r,e.dark,e.base,r,r,e.action,a,r,e.base,t.depth("level-zero"))}n(h,"inputVariantStyle");function g(o){return c(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,a,r,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}n(g,"getDisabledStyle");var f=s(l).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),h,({theme:o,disabled:i})=>i&&g(o),a,r);import d from"react";var b=n(({id:o,disabled:i,label:t=null,labelProps:e,variant:u="default",color:y,...x})=>d.createElement(f,{as:"label",htmlFor:o,variant:u,$color:y,disabled:i},d.createElement(a,{...x,type:"radio",id:o,disabled:i}),d.createElement(r,null),typeof t=="string"?d.createElement(l,{fontSize:"small",color:"ink.primary",...e},t):t),"RadioComponent");b.displayName="Radio";export{a,r as b,f as c,b as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-GZONWSRB.esm.js";var k=["flex","gap","flexDirection","flexBasis","justifyContent","alignItems","alignContent","justifyItems","placeItems","wrap","alignSelf","grow","shrink","order","justifySelf"],C={auto:"1 1 auto",fluid:"1 1 0%",initial:"0 1 auto",none:"none"},S={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly"},w={start:"flex-start",end:"flex-end",center:"center",baseline:"baseline",stretch:"stretch"},h={start:"flex-start",end:"flex-end",center:"center",between:"space-between",around:"space-around",evenly:"space-evenly",stretch:"stretch"},p={start:"start",end:"end",center:"center",stretch:"stretch"},A={"flex-start":"start","flex-end":"end","space-between":"between","space-around":"around","space-evenly":"evenly"},o=a((e,t,l)=>{var s;if(t==null)return;let r=(s=A[t])!=null?s:t,n=l[r];return n},"resolveAlignment"),b=a(e=>{let t=o("justifyContent",e.justifyContent,S),l=o("alignItems",e.alignItems,w),r=o("alignContent",e.alignContent,h),n=o("justifyItems",e.justifyItems,p),s=o("placeItems",e.placeItems,p);return{...t&&{justifyContent:t},...l&&{alignItems:l},...r&&{alignContent:r},...n&&{justifyItems:n},...s&&{placeItems:s}}},"alignmentCss"),v={wrap:"wrap",nowrap:"nowrap",reverse:"wrap-reverse"},O={start:"flex-start",end:"flex-end",auto:"auto",center:"center",stretch:"stretch"},P=a(e=>typeof e=="string"?{first:-999,last:999}[e]:e,"flexOrderMap"),T=a(e=>({theme:t,...l})=>{let{flex:r,flexDirection:n,flexBasis:s,gap:i,justifyContent:g,alignItems:d,alignContent:u,justifyItems:m,placeItems:y,wrap:c,justifySelf:F,alignSelf:f,grow:I,shrink:j,order:x}={...e,...l};return{...i!=null?{gap:t.spacing(i)}:void 0,...r&&{flex:C[r]},...b({justifyContent:g,alignItems:d,alignContent:u,justifyItems:m,placeItems:y}),...f&&{alignSelf:o("alignSelf",f,O)},...c&&{flexWrap:v[c]},...x&&{order:P(x)},...j&&{flexShrink:1},...I&&{flexGrow:1},...n?{flexDirection:n}:{flexDirection:"column"},flexBasis:s,justifySelf:F}},"FlexFactory");export{k as a,o as b,b as c,T as d};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{a as s}from"./chunk-QJNYQOV7.esm.js";import{b as K}from"./chunk-NOZL56LA.esm.js";import{a as T}from"./chunk-6VRD7OZA.esm.js";import{a}from"./chunk-ALR3UKST.esm.js";import{a as q}from"./chunk-CDRLVSLF.esm.js";import{a as c}from"./chunk-Q4VSZJEJ.esm.js";import{a as W}from"./chunk-6SQEKMOW.esm.js";import{g as M}from"./chunk-PNMHDQZ7.esm.js";import{a as E}from"./chunk-QG4MACPR.esm.js";import{a as O}from"./chunk-KSXQYRLN.esm.js";import{F as B,K as y,Y as j,v as z,w as I}from"./chunk-H2KVPACE.esm.js";import{b as g}from"./chunk-23T5Y5P7.esm.js";import{a as F,e as $}from"./chunk-MUI7DBJO.esm.js";import{a as f}from"./chunk-7L77BJCX.esm.js";import{d as k}from"./chunk-RWLJNXLX.esm.js";import{b as P}from"./chunk-5HBSIYOZ.esm.js";import{b as l,g as H}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import t,{useEffect as ce,useState as p}from"react";function te(e){switch(e){case"Compact":return l(["& ","{padding:",";}& ",",","{padding:",";}"],c,({theme:n})=>n.spacing("micro"),a,s,({theme:n})=>n.spacing("micro"));case"Expansive":return l(["& ","{padding:",";}& ",",","{padding:",";}"],c,({theme:n})=>n.spacing("large"),a,s,({theme:n})=>n.spacing("large"));default:return l(["& ","{padding:",";}& ",",","{padding:",";}"],c,({theme:n})=>n.spacing("medium"),a,s,({theme:n})=>n.spacing("medium"))}}r(te,"getSizeStyle");function A(e){switch(e){case"left":return"flex-start";case"right":return"flex-end";default:return"center"}}r(A,"getAlignDirection");function ne(e){if(typeof e=="object"){let n=e.reduce((u,o)=>{let w=`
|
|
2
|
+
& ${a}, ${s}, ${c} {
|
|
3
|
+
&:nth-child(${o.target}) {
|
|
4
|
+
${f} {
|
|
5
|
+
text-align: ${o.direction};
|
|
6
|
+
align-items: ${A(o.direction)}
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
`;return`${u} ${w}`},"");return l(["& ",",",",","{","{text-align:center;align-items:",";}}",""],a,s,c,f,A("center"),n)}return e!==void 0?l(["& ",",",",","{","{text-align:",";align-items:",";}}"],a,s,c,f,e,A(e)):l(["& ",",",",","{","{text-align:center;align-items:center;}}"],a,s,c,f)}r(ne,"getAlignStyle");function ie(e){if(e===void 0)return l([""]);let n=e.map((u,o)=>u&&(u.type===void 0?`
|
|
11
|
+
&:nth-child(${o+1}) {
|
|
12
|
+
width: ${u.width}px;
|
|
13
|
+
}
|
|
14
|
+
`:`
|
|
15
|
+
&:nth-child(${o+1}) {
|
|
16
|
+
${u.type}-width: ${u.width}px;
|
|
17
|
+
}
|
|
18
|
+
`));return l(["& ",",",",","{","}"],a,s,c,n)}r(ie,"getColumnSizeStyle");function re(){return l(["& ",",",",","{& ","{width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}}"],a,s,c,F)}r(re,"getEllipsisStyle");function oe(e){return e.map(n=>l(["& ","{&:nth-child(","){",";}}"],T,n+1,P({bgColor:"muted"})))}r(oe,"getSelectedStyle");var le=`
|
|
19
|
+
& ${c} {
|
|
20
|
+
position: sticky;
|
|
21
|
+
top: 0;
|
|
22
|
+
}
|
|
23
|
+
`,ae=l(["","{& ","{&:nth-child(odd){",";}}& ",",","{",";}}& ","{z-index:10;}"],O,T,P({bgColor:"surface.sunken"}),a,s,k({borderWidth:"none"}),c),se=r(e=>`
|
|
24
|
+
& ${T}{
|
|
25
|
+
&:hover{
|
|
26
|
+
& ${a}, ${s}{
|
|
27
|
+
/* box-shadow inset instead of border avoids layout shift on hover
|
|
28
|
+
(rows would get +1px taller on mouseover, causing visible
|
|
29
|
+
drift). Visually identical to the classic border-1px. */
|
|
30
|
+
box-shadow: inset 0 -1px 0 ${e.colors.edge.border};
|
|
31
|
+
&:first-child{
|
|
32
|
+
box-shadow:
|
|
33
|
+
inset 1px 0 0 ${e.colors.getColor(e.colors.primary,"base")},
|
|
34
|
+
inset 0 -1px 0 ${e.colors.edge.border};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`,"getHoverableProps"),V=H.table.withConfig({componentId:"sc-u1ldbs-0"})(["position:relative;border-collapse:collapse;display:table;width:",";"," "," ",";"," "," "," "," ",""],({width:e})=>e||"100%",({stickyHeader:e})=>e&&le,({striped:e})=>e&&ae,({hoverable:e,theme:n})=>e&&se(n),({selected:e})=>oe(e),({ellipsis:e})=>e?re():"",({columnSize:e})=>ie(e),({align:e})=>ne(e),({rowSize:e})=>te(e));var Y=r(e=>{let[n,u]=p(""),[o,w]=p([]),[D,x]=p([]),[G,S]=p("Default"),b=t.useRef(null);ce(()=>{if(!b.current)return;let i=Array.from(b.current.children);w(i)},[]);let J=t.Children.toArray(e.children).length>1?1:0,N=t.Children.map(e.children,(i,m)=>m===J?t.cloneElement(i,{ref:b}):i),Q=r(i=>{if(i.key==="Enter"){if(!b.current)return;let m=b.current.children,d=o.map((h,C)=>{let v=m[C];return v&&(n===""&&(v.style.display=""),h.innerText.toLowerCase().includes(n.toLowerCase())||(v.style.display="none")),h});w(d)}},"getFilterData"),U=o.length>0&&o.every(i=>i.style.display==="none"),X=o.length,Z=r((i,m)=>{m&&x(d=>[...d,i]),m||x(D.filter(d=>d!==i))},"getSelected"),_=r(i=>(o.forEach((m,d)=>{let h=m.children[0].querySelectorAll("input")[0];return i&&(h.checked=!0,x(C=>[...C,d])),i||(h.checked=!1,x([])),null}),i),"getAllSelected"),R=r(i=>o.map(d=>parseInt(d.children[i].innerText,10)).reduce((d,h)=>d+h,0),"getAddLines"),ee=e.initialPagination&&e.finalPagination&&e.totalPagination&&e.linesPerPage;function L(i){switch(i){case"normal":if(X<=1)return"visible";if(e.stickyHeader||e.columnSize)return"scroll";break;case"y":if(e.columnSize&&!e.stickyHeader)return"hidden";break;default:return"visible"}return"visible"}return r(L,"getOverflow"),t.createElement(f,{overflow:L("normal"),overflowY:L("y"),gap:4},t.createElement(f,{flexDirection:"row",justifyContent:"between",alignItems:"center"},e.title&&t.createElement($,{color:"primary",readable:!0,variant:"h5","aria-hidden":"true"},e.title),t.createElement(f,{flexDirection:"row",justifyContent:"end",alignItems:"end",gap:2},e.searching&&t.createElement(f,{width:"230px"},t.createElement(M,{placeholder:"Pesquisar",type:"text",value:n,name:"search",onChange:i=>u(i.target.value),onKeyDown:i=>Q(i),width:"230",icon:t.createElement(g,{icon:z}),role:"search"})),e.rowTypes&&t.createElement(E,{options:[{icon:t.createElement(g,{icon:y}),title:"Layout Condensado",action:r(()=>S("Compact"),"action")},{icon:t.createElement(g,{icon:y}),title:"Layout Padr\xE3o",action:r(()=>S("Expansive"),"action")},{icon:t.createElement(g,{icon:y}),title:"Layout Expandido",action:r(()=>S("Default"),"action")}]},t.createElement(g,{icon:y,color:"primary"})),e.share&&t.createElement(E,{options:[{icon:t.createElement(g,{icon:B}),title:"Enviar por email",action:e.share.email},{icon:t.createElement(g,{icon:j}),title:"Compartilhar",action:e.share.social}]},t.createElement(g,{icon:I,color:"primary"})))),ee&&t.createElement(W,{initialPagination:e.initialPagination,finalPagination:e.finalPagination,totalPagination:e.totalPagination,linesPerPage:e.linesPerPage,showingText:e.showingText,linesPerPageLabel:e.linesPerPageLabel}),t.createElement(V,{...e,stickyHeader:e.stickyHeader,striped:e.striped,rowSize:G||e.rowSize,align:e.align,columnSize:e.columnSize,width:e.width,ellipsis:e.ellipsis,hoverable:e.hoverable,selected:D},t.createElement($,{as:"caption","aria-hidden":"false",hidden:!0},e.title),t.createElement(q.Provider,{value:{ellipsis:e.ellipsis,getSelected:Z,getAllSelected:_,columnSum:e.columnSum!==void 0?{index:e.columnSum,sum:R(e.columnSum)}:{index:void 0,sum:void 0}}},N)),U&&t.createElement(K,null))},"TableComponent");export{V as a,Y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c,b as x,d as p}from"./chunk-DHBTYTRE.esm.js";import{o as i}from"./chunk-H2KVPACE.esm.js";import{b as m}from"./chunk-23T5Y5P7.esm.js";import{a as n}from"./chunk-MUI7DBJO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import o from"react";var C=t(({label:e=null,labelProps:f,variant:h="default",color:k,...r})=>o.createElement(p,{variant:h,$color:k,disabled:r.disabled},o.createElement(c,{...r,type:"checkbox",hidden:!0}),o.createElement(x,null,o.createElement(m,{icon:i,size:"small"})),typeof e=="string"?o.createElement(n,{fontSize:"small",color:"ink.primary",...f},e):e),"CheckboxComponent");C.displayName="Checkbox";export{C as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as C}from"./chunk-XBHJSNUP.esm.js";import{a}from"./chunk-CDRLVSLF.esm.js";import{b}from"./chunk-Q4VSZJEJ.esm.js";import{a as t}from"./chunk-7L77BJCX.esm.js";import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import o from"react";var c=r(b).withConfig({componentId:"sc-a4obcw-0"})([""]);var e=l(n=>{let{getAllSelected:m}=o.useContext(a);return o.createElement(c,{bgColor:"baseLight"},o.createElement(t,{justifyContent:"center"},o.createElement(C,{label:n.children,onChange:x=>m(x.target.checked)})))},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{c as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e}from"./chunk-
|
|
1
|
+
import{b as e}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var d=r(({theme:o})=>e(["border-top:1px solid ",";border-bottom:1px solid ",";border-right:none;border-left:none;"],o.colors.muted,o.colors.muted),"getBorder");export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as $}from"./chunk-BV6GHAF7.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";var S={r:.2126729,g:.7151522,b:.072175,gamma:2.4},p={normBG:.56,normTXT:.57,revTXT:.62,revBG:.65,blkThrs:.022,blkClmp:1.414,scaleBoW:1.14,scaleWoB:1.14,loBoWoffset:.027,loWoBoffset:.027,loClip:.1,deltaYmin:5e-4};function pe(e){let n=e.trim().replace(/^#/,""),t=n.length===3?n.replace(/./g,o=>o+o):n;return/^[0-9a-fA-F]{6}$/.test(t)?[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]:null}s(pe,"hexChannels");function j(e){let n=pe(e);if(!n)return NaN;let[t,o,r]=n.map(a=>(a/255)**S.gamma);return S.r*t+S.g*o+S.b*r}s(j,"apcaLuminance");function Y(e){return e>p.blkThrs?e:e+(p.blkThrs-e)**p.blkClmp}s(Y,"softClamp");function Xe(e,n){let t=j(e),o=j(n);if(Number.isNaN(t)||Number.isNaN(o))return NaN;let r=Y(t),a=Y(o);if(Math.abs(a-r)<p.deltaYmin)return 0;if(a>r){let u=(a**p.normBG-r**p.normTXT)*p.scaleBoW;return(u<p.loClip?0:u-p.loBoWoffset)*100}let i=(a**p.revBG-r**p.revTXT)*p.scaleWoB;return(i>-p.loClip?0:i+p.loWoBoffset)*100}s(Xe,"apcaContrast");var Q={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};var U=s((e=0)=>{let n=Math.abs(e);return n<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((n+.055)/1.055,2.4)},"srgbToLinear"),G=s((e=0)=>{let n=Math.abs(e);return n>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(n,1/2.4)-.055):e*12.92},"linearToSrgb"),te=s(({r:e,g:n,b:t,alpha:o})=>{let r={mode:"lrgb",r:U(e),g:U(n),b:U(t)};return o!==void 0&&(r.alpha=o),r},"rgbToLrgb"),re=s(({r:e,g:n,b:t,alpha:o})=>{let r={mode:"rgb",r:G(e),g:G(n),b:G(t)};return o!==void 0&&(r.alpha=o),r},"lrgbToRgb"),oe=s(({r:e=0,g:n=0,b:t=0,alpha:o})=>{let r=Math.cbrt(.412221469470763*e+.5363325372617348*n+.0514459932675022*t),a=Math.cbrt(.2119034958178252*e+.6806995506452344*n+.1073969535369406*t),i=Math.cbrt(.0883024591900564*e+.2817188391361215*n+.6299787016738222*t),u={mode:"oklab",l:.210454268309314*r+.7936177747023054*a-.0040720430116193*i,a:1.9779985324311684*r-2.42859224204858*a+.450593709617411*i,b:.0259040424655478*r+.7827717124575296*a-.8086757549230774*i};return o!==void 0&&(u.alpha=o),u},"lrgbToOklab"),ae=s(({l:e=0,a:n=0,b:t=0,alpha:o})=>{let r=Math.pow(e+.3963377773761749*n+.2158037573099136*t,3),a=Math.pow(e-.1055613458156586*n-.0638541728258133*t,3),i=Math.pow(e-.0894841775298119*n-1.2914855480194092*t,3),u={mode:"lrgb",r:4.076741636075957*r-3.3077115392580616*a+.2309699031821044*i,g:-1.2684379732850317*r+2.6097573492876887*a-.3413193760026573*i,b:-.0041960761386756*r-.7034186179359362*a+1.7076146940746117*i};return o!==void 0&&(u.alpha=o),u},"oklabToLrgb"),J=s(e=>{let n=oe(te(e));return e.r===e.b&&e.b===e.g&&(n.a=0,n.b=0),n},"rgbToOklab"),K=s(e=>re(ae(e)),"oklabToRgb"),O=s(e=>(e=e%360)<0?e+360:e,"normalizeHue"),Z=s(({l:e,a:n=0,b:t=0,alpha:o})=>{let r=Math.sqrt(n*n+t*t),a={mode:"oklch",l:e,c:r};return r&&(a.h=O(Math.atan2(t,n)*180/Math.PI)),o!==void 0&&(a.alpha=o),a},"labToLch"),ee=s(({l:e,c:n,h:t=0,alpha:o})=>{let r={mode:"oklab",l:e,a:n?n*Math.cos(t/180*Math.PI):0,b:n?n*Math.sin(t/180*Math.PI):0};return o!==void 0&&(r.alpha=o),r},"lchToLab"),xe=s(({h:e,s:n=0,l:t=0,alpha:o})=>{e=O(e!==void 0?e:0);let r=t+n*(t<.5?t:1-t),a=r-(r-t)*2*Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r,g:a,b:2*t-r};break;case 1:i={r:a,g:r,b:2*t-r};break;case 2:i={r:2*t-r,g:r,b:a};break;case 3:i={r:2*t-r,g:a,b:r};break;case 4:i={r:a,g:2*t-r,b:r};break;case 5:i={r,g:2*t-r,b:a};break;default:i={r:2*t-r,g:2*t-r,b:2*t-r}}let u={mode:"rgb",...i};return o!==void 0&&(u.alpha=o),u},"hslToRgb"),he=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,se=s((e,n)=>{if(n===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(n===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(n===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(n===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}},"parseNumberToRgb"),ke=s(e=>{let n=e.match(he);return n?se(parseInt(n[1],16),n[1].length):void 0},"parseHex"),T="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",I=`${T}%`,X=`(?:${T}%|${T})`,ye=`(?:${T}(deg|grad|rad|turn)|${T})`,w="\\s*,\\s*",Ce=new RegExp(`^rgba?\\(\\s*${T}${w}${T}${w}${T}\\s*(?:,\\s*${X}\\s*)?\\)$`),Te=new RegExp(`^rgba?\\(\\s*${I}${w}${I}${w}${I}\\s*(?:,\\s*${X}\\s*)?\\)$`),Me=new RegExp(`^hsla?\\(\\s*${ye}${w}${I}${w}${I}\\s*(?:,\\s*${X}\\s*)?\\)$`),Re=s(e=>{let n=e.match(Ce),t=255;if(n||(n=e.match(Te),t=100),!n)return;let o={mode:"rgb",r:Number(n[1])/t,g:Number(n[2])/t,b:Number(n[3])/t};return n[4]!==void 0?o.alpha=Math.max(0,Math.min(1,Number(n[4])/100)):n[5]!==void 0&&(o.alpha=Math.max(0,Math.min(1,+n[5]))),o},"parseRgbLegacy"),Le=s((e,n)=>{switch(n){case"deg":return+e;case"rad":return Number(e)/Math.PI*180;case"grad":return Number(e)/10*9;case"turn":return Number(e)*360;default:return NaN}},"hueToDeg"),we=s(e=>{let n=e.match(Me);if(!n)return;let t={mode:"hsl"};return n[3]!==void 0?t.h=+n[3]:n[1]!==void 0&&n[2]!==void 0&&(t.h=Le(n[1],n[2])),n[4]!==void 0&&(t.s=Math.min(Math.max(0,Number(n[4])/100),1)),n[5]!==void 0&&(t.l=Math.min(Math.max(0,Number(n[5])/100),1)),n[6]!==void 0?t.alpha=Math.max(0,Math.min(1,Number(n[6])/100)):n[7]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+n[7]))),t},"parseHslLegacy"),Ne=s(e=>{let n=Q[e.toLowerCase()];return n===void 0?void 0:se(n,6)},"parseNamed"),Ee=s(e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,"parseTransparent"),g=s(e=>{var n,t,o,r;if(typeof e=="string")return(r=(o=(t=(n=ke(e))!=null?n:Re(e))!=null?t:Ne(e))!=null?o:Ee(e))!=null?r:we(e)},"parse"),Ie=s((e,n)=>e===void 0?void 0:typeof e!="object"?g(e):e.mode!==void 0?e:n?{...e,mode:n}:void 0,"prepare"),ne={rgb:{lrgb:te,oklab:J,oklch:s(e=>Z(J(e)),"oklch")},lrgb:{rgb:re,oklab:oe},hsl:{rgb:xe},oklab:{lrgb:ae,rgb:K,oklch:Z},oklch:{oklab:ee,rgb:s(e=>K(ee(e)),"rgb")}},ie=s((e,n)=>{var a,i;if(e.mode===n)return e;let t=(a=ne[e.mode])==null?void 0:a[n];if(t)return t(e);let o=(i=ne[e.mode])==null?void 0:i.rgb;if(o===void 0)throw new Error(`[vendors/Culori] sem rota de '${e.mode}' para 'rgb'`);let r=o(e);return n==="rgb"?r:ie(r,n)},"convertTo"),M=s((e="rgb")=>n=>{let t=Ie(n,e);return t===void 0?void 0:ie(t,e)},"converter"),Ae=M("rgb"),ve=M("lrgb"),$e=s(e=>Math.max(0,Math.min(1,e||0)),"clamp01"),V=s(e=>Math.round($e(e)*255),"channelTo255"),Se=s(e=>{if(e===void 0)return;let n=V(e.r),t=V(e.g),o=V(e.b);return"#"+(1<<24|n<<16|t<<8|o).toString(16).slice(1)},"serializeHex"),h=s(e=>Se(Ae(e)),"formatHex"),F=s(e=>{let n=ve(e);if(n===void 0)throw new TypeError(`[vendors/Culori] wcagLuminance: cor inv\xE1lida: ${String(e)}`);return .2126*n.r+.7152*n.g+.0722*n.b},"wcagLuminance"),A=s((e,n)=>{let t=F(e),o=F(n);return(Math.max(t,o)+.05)/(Math.min(t,o)+.05)},"wcagContrast"),Oe={rgb:["r","g","b","alpha"],oklab:["l","a","b","alpha"],oklch:["l","c","h","alpha"]},Fe=s(e=>e.map((n,t,o)=>{if(n===void 0)return n;let r=O(n);if(t===0||o[t-1]===void 0)return r;let a=r-O(o[t-1]);return Math.abs(a)<=180?a:a-360*Math.sign(a)}).reduce((n,t)=>!n.length||t===void 0||n[n.length-1]===void 0?(n.push(t),n):(n.push(t+n[n.length-1]),n),[]),"fixupHueShorter"),q=s(e=>{let n=!1,t=e.map(o=>o!==void 0?(n=!0,o):1);return n?t:e},"fixupAlpha"),_e=s(e=>e,"identityFixup"),Pe={rgb:{alpha:q},oklab:{alpha:q},oklch:{h:Fe,alpha:q}},Be=s((e,n,t)=>e+t*(n-e),"lerp"),De=s(e=>{let n=[];for(let t=0;t<e.length-1;t++){let o=e[t],r=e[t+1];o===void 0&&r===void 0?n.push(void 0):o!==void 0&&r!==void 0?n.push([o,r]):n.push(o!==void 0?[o,o]:[r,r])}return t=>{let o=t*n.length,r=t>=1?n.length-1:Math.max(Math.floor(o),0),a=n[r];return a===void 0?void 0:Be(a[0],a[1],o-r)}},"piecewiseLinear"),He=s(e=>{e[0]===void 0&&(e[0]=0),e[e.length-1]===void 0&&(e[e.length-1]=1);let n=1;for(;n<e.length;){if(e[n]===void 0){let t=n,o=e[n-1],r=n;for(;e[r]===void 0;)r++;let a=(e[r]-o)/(r-n+1);for(;n<r;)e[n]=o+(n+1-t)*a,n++}else e[n]<e[n-1]&&(e[n]=e[n-1]);n++}return e},"normalizePositions"),_=s((e,n="rgb")=>{let t=Oe[n];if(t===void 0)throw new Error(`[vendors/Culori] interpolate: modo n\xE3o absorvido: ${String(n)}`);let o=M(n),r=[],a=[];e.forEach(d=>{if(typeof d=="number"||typeof d=="function"||Array.isArray(d))throw new Error("[vendors/Culori] interpolate: positions/hints/easings n\xE3o absorvidos \u2014 use stops de cor.");let l=o(d);if(l===void 0)throw new TypeError(`[vendors/Culori] interpolate: stop inv\xE1lido: ${String(d)}`);r.push(l),a.push(void 0)}),He(a);let i={};t.forEach(d=>{var m;let l=(m=Pe[n][d])!=null?m:_e;i[d]=l(r.map(y=>y[d]))});let u={};t.forEach(d=>{u[d]=De(i[d])});let b=r.length-1,c=a;return d=>{if(d=Math.min(Math.max(0,d),1),d<=c[0])return r[0];if(d>c[b])return r[b];let l=0;for(;c[l]<d;)l++;let m=c[l-1],y=c[l]-m,R=(d-m)/y,L=(l-1+R)/b,C={mode:n};return t.forEach(v=>{let z=u[v](L);z!==void 0&&(C[v]=z)}),C}},"interpolate");var E=M("oklch"),me=M("rgb");function f(e,n,t){var i;let o=g(e),r=g(n);if(!o||!r)return e;let a=_([o,r],"oklch");return(i=h(a(t)))!=null?i:e}s(f,"mixOklch");function N(e){return e?typeof e=="string"?e:e.base:"#000"}s(N,"coerceToHex");var on=$(e=>{var a,i,u;let n=me(g(e));if(!n)return"0,0,0";let t=Math.round(((a=n.r)!=null?a:0)*255),o=Math.round(((i=n.g)!=null?i:0)*255),r=Math.round(((u=n.b)!=null?u:0)*255);return`${t},${o},${r}`});function an(e){var r,a;let n=N(e),t=E(g(n));if(!t)return n;let o={...t,h:(((r=t.h)!=null?r:0)+180)%360};return(a=h(o))!=null?a:n}s(an,"getOppositeColor");var D=4.5;function x(e,n){let t=g(N(e)),o=g(N(n));return!t||!o?1:A(t,o)}s(x,"contrastRatio");var P=$((e,n,t=D)=>{var u,b,c,d;let o=N(e),r=g(N(n)),a=E(g(o));if(!r||!a)return o;let i=x("#fff",n)>=x("#000",n)?.04:-.04;for(let l=0;l<25;l+=1){let m=(u=h(a))!=null?u:o,y=g(m);if(y&&A(y,r)>=t)return m;let R=Math.min(1,Math.max(0,((b=a.l)!=null?b:0)+i));if(R===((c=a.l)!=null?c:0))break;a={...a,l:R}}return(d=h(a))!=null?d:o});function Ue(e,n){return e?typeof e=="string"?e:e[n||"base"]:"black"}s(Ue,"getColor");var sn=$((e,n)=>{let t=Ue(e);if(!g(t))return t;let o=f(t,"#000",.6),r=n||"#FFFFFF",a=x(o,t)>=x(r,t)?o:r;return x(a,t)>=D?a:x("#000000",t)>=x("#FFFFFF",t)?"#000000":"#FFFFFF"}),Ge=["main","opposite","complementary","primary","secondary","tertiary","success","danger","warning","information"],Ve=[120,130,140,150,160,170,180];function fn(e,{surface:n,minRatio:t=D}={}){var i,u,b,c;let o=(u=n!=null?n:(i=e.neutral)==null?void 0:i["10"])!=null?u:"#FFFFFF",r={};for(let d of Ge){let l=(b=e[d])==null?void 0:b.base;l&&(r[d]=P(l,o,t))}let a={};for(let d of Ve){let l=(c=e.neutral)==null?void 0:c[d];l&&(a[d]=P(l,o,t))}return{palettes:r,neutral:a}}s(fn,"createReadableTextLayer");var fe={light:{fill:10,colorCandidates:[140,150,160,170,180,130,120]},dark:{fill:170,colorCandidates:[80,70,60,50,40,30,20,10,90,100]}},ue={light:{muted:10},dark:{muted:170}};function un(e){var i,u;let n=H(e.baseLight),t=n?fe.dark:fe.light,o=e.neutral,r=(i=o==null?void 0:o[t.fill])!=null?i:n?"#2a3140":"#eef1f4",a=(u=o==null?void 0:o[t.colorCandidates[0]])!=null?u:r;for(let b of t.colorCandidates){let c=o==null?void 0:o[b];if(c&&x(c,r)>=D){a=c;break}}return{fill:r,color:a}}s(un,"resolveDisabledNeutral");function dn(e){var r;let n=H(e.baseLight),t=n?ue.dark:ue.light,o=e.neutral;return{muted:(r=o==null?void 0:o[t.muted])!=null?r:n?"#2a3140":"#eef1f4"}}s(dn,"resolveStructuralNeutrals");var de={light:70,dark:110};function ln(e,n){var a,i;let t=H(e.baseLight),o=t?de.dark:de.light,r=(i=(a=e.neutral)==null?void 0:a[o])!=null?i:t?"#9aa3ad":"#6b7280";return k(r,n)}s(ln,"resolveQuietPalette");var B=1.3,qe=.05,le=.04;function W(e){var t;let n=E(g(e));return n?(t=n.l)!=null?t:0:null}s(W,"oklchLightness");function ce(e,n){if(x(e,n)>=B)return!0;let t=W(e),o=W(n);return t!==null&&o!==null&&Math.abs(t-o)>=qe}s(ce,"isPerceptibleState");function H(e){return e?x("#fff",e)>x("#000",e):!1}s(H,"isDarkSurface");function cn(e,n){var r,a;let t=E(g(e));if(!t)return e;let o=Math.min(1,Math.max(0,((r=t.l)!=null?r:0)+n));return(a=h({...t,l:o}))!=null?a:e}s(cn,"shiftLightness");function bn(e,n){var i,u,b,c;let t=E(g(e));if(!t)return e;let o=(i=t.l)!=null?i:0,r=(u=n.min)!=null?u:0,a=(b=n.max)!=null?b:1;return o>=r&&o<=a?e:(c=h({...t,l:Math.min(a,Math.max(r,o))}))!=null?c:e}s(bn,"clampLightness");function gn(e,n){let t=me(g(e));if(!t)return e;let o=Math.min(1,Math.max(0,n)),r=s(a=>Math.round((a!=null?a:0)*255),"channel");return`rgba(${r(t.r)}, ${r(t.g)}, ${r(t.b)}, ${o})`}s(gn,"toRgbaString");function be(e,n,t){var i,u,b,c;let o=E(g(e));if(!o)return null;let r={...o,l:(i=t!=null?t:o.l)!=null?i:0},a=n?le:-le;for(let d=0;d<25;d+=1){let l=Math.min(1,Math.max(0,((u=r.l)!=null?u:0)+a));if(l===((b=r.l)!=null?b:0))break;r={...r,l};let m=h(r);if(m&&x(e,m)>=B)return m}return(c=h(r))!=null?c:null}s(be,"derivePerceptibleState");function ge(e,n,t){let o=be(e,n,t);if(o&&x(e,o)>=B)return o;let r=be(e,!n);return r&&x(e,r)>=B?r:o!=null?o:r}s(ge,"perceptibleStateFor");function k(e,n){var u,b,c,d,l,m,y,R;let t=typeof e=="object"&&e!==null?e:void 0,o=N(e),r=n.deepDark,a=n.deepLight,i={base:o,dark:f(o,r,.6),action:f(o,r,.2),active:f(o,a,.6),light:f(o,a,.9),onLight:o};if(g(o)){let L=H(n.baseLight),C=ce(o,i.action);if(C||(i.action=(u=ge(o,L))!=null?u:i.action),!ce(o,i.active)){let v=C?void 0:(b=W(i.action))!=null?b:void 0;i.active=(c=ge(o,L,v))!=null?c:i.active}}if(i.onLight=P(i.action,i.light),t){let L=(d=t.action)!=null?d:i.action,C=(l=t.light)!=null?l:i.light;return{base:o,dark:(m=t.dark)!=null?m:i.dark,action:L,active:(y=t.active)!=null?y:i.active,light:C,onLight:(R=t.onLight)!=null?R:P(L,C)}}return i}s(k,"mountSingleColor");function mn(e){let n=e.deepLight,t=e.deepDark;return{0:n,5:f(n,t,.05),10:f(n,t,.1),20:f(n,t,.2),30:f(n,t,.3),40:f(n,t,.4),50:f(n,t,.5),60:f(n,t,.6),70:f(n,t,.7),80:f(n,t,.8),90:f(n,t,.9),100:f(n,t,1)}}s(mn,"mountGreyscaleColors");function pn(e){let n=e.deepLight,t=e.deepDark,o=typeof e.primary=="object"&&e.primary?e.primary.base:e.primary,r=s(i=>1/17*(i-1),"interpolation"),a=f(o,t,.5);return{0:f(a,n,r(18)),5:f(a,n,r(17.5)),10:f(a,n,r(17)),20:f(a,n,r(16)),30:f(a,n,r(15)),40:f(a,n,r(14)),50:f(a,n,r(13)),60:f(a,n,r(12)),70:f(a,n,r(11)),80:f(a,n,r(10)),90:f(a,n,r(9)),100:f(a,n,r(8)),110:f(a,n,r(7)),120:f(a,n,r(6)),130:f(a,n,r(5)),140:f(a,n,r(4)),150:f(a,n,r(3)),160:f(a,n,r(2)),170:a,180:f(a,t,.25)}}s(pn,"mountNeutralColors");function xn(e){return{main:k(e.main,e),opposite:k(e.opposite,e),complementary:k(e.complementary,e)}}s(xn,"mountBaseColors");function hn(e){return{danger:k(e.danger,e),information:k(e.information,e),success:k(e.success,e),warning:k(e.warning,e)}}s(hn,"mountActionColors");function kn(e){return{primary:k(e.primary,e),secondary:k(e.secondary,e),tertiary:k(e.tertiary,e)}}s(kn,"mountMainColors");export{g as a,M as b,j as c,Xe as d,f as e,on as f,an as g,D as h,x as i,P as j,Ue as k,sn as l,Ge as m,Ve as n,fn as o,fe as p,ue as q,un as r,dn as s,de as t,ln as u,B as v,qe as w,H as x,cn as y,bn as z,gn as A,k as B,mn as C,pn as D,xn as E,hn as F,kn as G};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-BFABFZI7.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";function u(e,o){return e===o?e:`light-dark(${e}, ${o})`}t(u,"lightDark");function l(e,o){if(!e.modes)return o(e);let n=o(e.modes.light),r=o(e.modes.dark);return n===void 0||r===void 0?n:u(n,r)}t(l,"forModes");function f(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}t(f,"isPlainObject");function d(e,o){if(typeof e=="string")return typeof o=="string"?u(e,o):e;if(f(e)){let n={},r=f(o)?o:{};for(let[s,i]of Object.entries(e))n[s]=d(i,r[s]);return n}return e}t(d,"projectNode");function m(e,o){let n=t(s=>{let i=e(s),c=o(s);return i===void 0||c===void 0?i:u(i,c)},"callable"),r=d({...e},{...o});return Object.assign(n,r,{getColor:e.getColor,getContrastColor:e.getContrastColor})}t(m,"projectColors");function p(e){let{light:o,dark:n}=e;return{...o,colors:m(o.colors,n.colors),semantic:{...o.semantic,color:d(o.semantic.color,n.semantic.color)},foundation:{...o.foundation,bg:d(o.foundation.bg,n.foundation.bg),text:d(o.foundation.text,n.foundation.text),edge:d(o.foundation.edge,n.foundation.edge)},depth:t(r=>{let s=o.depth(r),i=n.depth(r);if(s===i)return s;let c=a[r];return`${c} ${u(s.slice(c.length+1),i.slice(c.length+1))}`},"depth"),modes:e}}t(p,"projectModes");function g(e,o){return e.modes===o?e:{...e,modes:o}}t(g,"withModes");function h(e){return{...e,modes:void 0}}t(h,"withoutModes");export{l as a,p as b,g as c,h as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-GZONWSRB.esm.js";var r={unit:"px",values:{xs:240,sm:360,md:480,lg:640,xl:900}},i={pageMaxWidth:1366},u=t(e=>{let{values:n,unit:a}=e;return{unit:a,values:n,up:t(o=>`@container (min-width: ${n[o]}${a})`,"up"),width:t(o=>n[o],"width")}},"createContainerSizes"),p=t(e=>({...e}),"createLayout");export{r as a,i as b,u as c,p as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as e}from"./chunk-XVPUSCK5.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";function n(r){return{position:{outter:"",internal:"inset"},distance:{flat:0,micro:4,xs:8,sm:16,md:28,lg:44,xl:72},intensity:{low:.05,medium:.15,high:.3},proximity:{flat:0,close:-2,medium:-4,distant:-8},color:{deep:e(r.baseDark),regular:e(r.grayscale[50]),smooth:e(r.grayscale[30]),light:e(r.baseLight),primary:e(r.primary.base),success:e(r.success.base),warning:e(r.warning.base),danger:e(r.danger.base)}}}a(n,"createDeepTheme");export{n as a};
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-HEZGD5NN.esm.js";import"../../chunks/chunk-PJQ3IZE7.esm.js";import"../../chunks/chunk-5OE3KRLX.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-N6TVSSCE.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NZ67MJX5.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-5HBSIYOZ.esm.js";import"../../chunks/chunk-RNL7RFJK.esm.js";import"../../chunks/chunk-JQ66DKSQ.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-GNQ43LWP.esm.js";import"../../chunks/chunk-WI3WPCW3.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-YC44Q5HI.esm.js";import"../../chunks/chunk-BFABFZI7.esm.js";import"../../chunks/chunk-U525YXTZ.esm.js";import"../../chunks/chunk-STSRIPD6.esm.js";import"../../chunks/chunk-XVPUSCK5.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as BaseContainer};
|
|
@@ -1,23 +1,37 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CardInterface } from './Card.interface';
|
|
3
|
+
import type { GridMediaInterface } from '../Grid';
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
5
|
+
* Builds the default grid template from the slots present. Rows are `auto`
|
|
6
|
+
* except the content row, which takes the leftover (`1fr`) whenever there is
|
|
7
|
+
* an action to pin at the foot.
|
|
8
|
+
*/
|
|
9
|
+
export declare const cardTemplate: (slots: {
|
|
10
|
+
media: boolean;
|
|
11
|
+
title: boolean;
|
|
12
|
+
action: boolean;
|
|
13
|
+
}) => GridMediaInterface;
|
|
14
|
+
/**
|
|
15
|
+
* Paper-like surface that absorbs Grid: named slots (`media`, `title`,
|
|
16
|
+
* `content`, `action`) are grid areas on the Card itself, so equal-height
|
|
17
|
+
* tiles pin their action to the foot with no wrapper and `p` / `gap` pad
|
|
18
|
+
* the Card directly. The page `Grid` places Cards; a slot that needs
|
|
19
|
+
* grouping uses `Flex` — never a nested Grid.
|
|
20
|
+
*
|
|
21
|
+
* When `title`/`description` are strings, they are wrapped in `BaseText`
|
|
22
|
+
* with the appropriate typography; `ReactNode`s render as provided.
|
|
23
|
+
* `interactive` adds the hover lift (primary border + glow + 2px).
|
|
6
24
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* appropriate typography; when they are `ReactNode`s, they are rendered
|
|
11
|
-
* as provided.
|
|
25
|
+
* The Card is a size container (`container-type: inline-size`, ADR-025):
|
|
26
|
+
* slot content adapts to the CARD's width with the `cq` prop — the same Card
|
|
27
|
+
* works in a 280px sidebar and a 900px feed with zero viewport overrides.
|
|
12
28
|
*
|
|
13
29
|
* @example
|
|
14
30
|
* ```tsx
|
|
15
|
-
* <
|
|
16
|
-
* title="Plano Pro"
|
|
17
|
-
* description="
|
|
18
|
-
*
|
|
19
|
-
* actionComponent={<Button text="Assinar" fullWidth />}
|
|
20
|
-
* />
|
|
31
|
+
* <Grid medias={{ columns: '1fr 1fr', gap: 'medium' }} height={280}>
|
|
32
|
+
* <Card height="100%" title="Plano Pro" description="Acesso completo" actionComponent={<Link href="#" text="Assinar" />} />
|
|
33
|
+
* <Card height="100%" interactive title="Tile" description="…" actionComponent={<Link href="#" text="Go" />} />
|
|
34
|
+
* </Grid>
|
|
21
35
|
* ```
|
|
22
36
|
*
|
|
23
37
|
* @see {@link CardInterface} for the detailed props.
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { GridPropsInterface } from '../Grid';
|
|
3
3
|
/**
|
|
4
4
|
* Props of the {@link CardComponent} component.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* `
|
|
9
|
-
* `
|
|
6
|
+
* `Card` is the Paper-like surface that **absorbs Grid**: it extends
|
|
7
|
+
* {@link GridPropsInterface} (layout props + `medias` + the alignment
|
|
8
|
+
* surface), and its slots — `media`, `title`, `description` / `subtitle` /
|
|
9
|
+
* `children` (the `content` area), `actionComponent` — are named grid areas
|
|
10
|
+
* on the Card itself. The default template follows the slots present
|
|
11
|
+
* (`auto 1fr auto` with an action, so the footer pins); pass `medias` to
|
|
12
|
+
* replace it, keeping the same area names.
|
|
10
13
|
*/
|
|
11
|
-
export interface CardInterface extends
|
|
14
|
+
export interface CardInterface extends GridPropsInterface {
|
|
15
|
+
/**
|
|
16
|
+
* Announce hover: primary border, `level-three` glow and a 2px lift over
|
|
17
|
+
* the `short` transition (`overflow` becomes `visible` so the glow is not
|
|
18
|
+
* clipped). For tiles that navigate or open something.
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
interactive?: boolean;
|
|
12
23
|
/**
|
|
13
24
|
* Main title of the card. When a string, it is rendered in `BaseText`
|
|
14
25
|
* with heading typography; when a `ReactNode`, it is used as-is — useful
|
|
@@ -20,13 +31,14 @@ export interface CardInterface extends FlexPropsInterface {
|
|
|
20
31
|
* becomes `BaseText`, any other `ReactNode` is rendered as-is.
|
|
21
32
|
*/
|
|
22
33
|
description?: string | ReactNode;
|
|
23
|
-
/** Additional slot
|
|
34
|
+
/** Additional slot rendered in the `content` area between `description` and `children`. */
|
|
24
35
|
subtitle?: ReactNode;
|
|
25
36
|
/** Main content of the card. Appears below the description. */
|
|
26
37
|
children?: ReactNode;
|
|
27
38
|
/**
|
|
28
39
|
* Action component (button, button pair, link). Rendered in the `action`
|
|
29
|
-
* area
|
|
40
|
+
* area — the last row of the template, so it pins to the Card's foot when
|
|
41
|
+
* the Card is taller than its content.
|
|
30
42
|
*/
|
|
31
43
|
actionComponent?: ReactNode;
|
|
32
44
|
/**
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Card surface — a `Grid` with Paper-like chrome. Slots are named grid areas
|
|
3
|
+
* on this element; the page `Grid` places Cards, a slot that needs grouping
|
|
4
|
+
* uses `Flex`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const CardStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
7
|
+
as?: import("styled-components").WebTarget;
|
|
8
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
9
|
+
}, keyof import("..").DefaultGridInterface> & import("..").DefaultGridInterface, never> & Partial<Pick<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
10
|
+
as?: import("styled-components").WebTarget;
|
|
11
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
12
|
+
}, keyof import("..").DefaultGridInterface> & import("..").DefaultGridInterface, never>> & {
|
|
13
|
+
as?: import("styled-components").WebTarget;
|
|
14
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
15
|
+
}, "$interactive"> & {
|
|
16
|
+
$interactive?: boolean;
|
|
17
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
18
|
+
as?: import("styled-components").WebTarget;
|
|
19
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
20
|
+
}, keyof import("..").DefaultGridInterface> & import("..").DefaultGridInterface, never> & Partial<Pick<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
21
|
+
as?: import("styled-components").WebTarget;
|
|
22
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
23
|
+
}, keyof import("..").DefaultGridInterface> & import("..").DefaultGridInterface, never>> & {
|
|
24
|
+
as?: import("styled-components").WebTarget;
|
|
25
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
26
|
+
}, "$interactive"> & {
|
|
27
|
+
$interactive?: boolean;
|
|
28
|
+
}, never>>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-FBBAYMRG.esm.js";import"../../chunks/chunk-CEVSZEYI.esm.js";import"../../chunks/chunk-MUI7DBJO.esm.js";import"../../chunks/chunk-EBOJSNZ5.esm.js";import"../../chunks/chunk-3BR5YHOT.esm.js";import"../../chunks/chunk-HPM5AX5Z.esm.js";import"../../chunks/chunk-2XTVIQMG.esm.js";import"../../chunks/chunk-4ZHLV35P.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-6KLI7VMF.esm.js";import"../../chunks/chunk-YJHYFCT7.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-CCONLRLQ.esm.js";import"../../chunks/chunk-6XX3UO2Y.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-BERIBF3O.esm.js";import"../../chunks/chunk-YZQXTNVA.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-P7RR4ZHS.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-IPANNHV3.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-HATBJ5OR.esm.js";import"../../chunks/chunk-7L77BJCX.esm.js";import"../../chunks/chunk-HEZGD5NN.esm.js";import"../../chunks/chunk-PJQ3IZE7.esm.js";import"../../chunks/chunk-5OE3KRLX.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-N6TVSSCE.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NZ67MJX5.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-5HBSIYOZ.esm.js";import"../../chunks/chunk-RNL7RFJK.esm.js";import"../../chunks/chunk-JQ66DKSQ.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-GNQ43LWP.esm.js";import"../../chunks/chunk-WI3WPCW3.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-YC44Q5HI.esm.js";import"../../chunks/chunk-BFABFZI7.esm.js";import"../../chunks/chunk-U525YXTZ.esm.js";import"../../chunks/chunk-STSRIPD6.esm.js";import"../../chunks/chunk-XVPUSCK5.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as Card};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-3TVX6V2P.esm.js";import"../../chunks/chunk-Q5ET2AY3.esm.js";import"../../chunks/chunk-RLDFMPSZ.esm.js";import"../../chunks/chunk-7L77BJCX.esm.js";import"../../chunks/chunk-HEZGD5NN.esm.js";import"../../chunks/chunk-PJQ3IZE7.esm.js";import"../../chunks/chunk-5OE3KRLX.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-N6TVSSCE.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NZ67MJX5.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-5HBSIYOZ.esm.js";import"../../chunks/chunk-RNL7RFJK.esm.js";import"../../chunks/chunk-JQ66DKSQ.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-GNQ43LWP.esm.js";import"../../chunks/chunk-WI3WPCW3.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-YC44Q5HI.esm.js";import"../../chunks/chunk-BFABFZI7.esm.js";import"../../chunks/chunk-U525YXTZ.esm.js";import"../../chunks/chunk-STSRIPD6.esm.js";import"../../chunks/chunk-XVPUSCK5.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as Content};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-7L77BJCX.esm.js";import"../../chunks/chunk-HEZGD5NN.esm.js";import"../../chunks/chunk-PJQ3IZE7.esm.js";import"../../chunks/chunk-5OE3KRLX.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-N6TVSSCE.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NZ67MJX5.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-5HBSIYOZ.esm.js";import"../../chunks/chunk-RNL7RFJK.esm.js";import"../../chunks/chunk-JQ66DKSQ.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-GNQ43LWP.esm.js";import"../../chunks/chunk-WI3WPCW3.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-YC44Q5HI.esm.js";import"../../chunks/chunk-BFABFZI7.esm.js";import"../../chunks/chunk-U525YXTZ.esm.js";import"../../chunks/chunk-STSRIPD6.esm.js";import"../../chunks/chunk-XVPUSCK5.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as Flex};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { FlexFactoryProps } from '../../factory/FlexFactory';
|
|
2
3
|
import { BreakpointTypes } from '../../themes/Breakpoints';
|
|
3
4
|
import { SpacingInterface } from '../../themes/Spacing';
|
|
4
5
|
import { Theme } from '../../themes/ThemeProvider';
|
|
@@ -16,22 +17,56 @@ export type GridMediasTypes = BreakpointTypes;
|
|
|
16
17
|
* and `rowGap`.
|
|
17
18
|
*/
|
|
18
19
|
export type GridSpacingTypes = SpacingInterface;
|
|
20
|
+
/**
|
|
21
|
+
* Typed auto-repeat template (APOLLION-GRID-AUTOFIT): tracks wrap by the
|
|
22
|
+
* space available in the container, zero media queries involved.
|
|
23
|
+
*
|
|
24
|
+
* - `autoFit` collapses empty tracks (cards stretch to fill the row);
|
|
25
|
+
* `autoFill` keeps them (cards hold their width, empty slots remain).
|
|
26
|
+
* - The value is the track's minimum width (any CSS length, e.g. `'250px'`);
|
|
27
|
+
* the emitted template guards it with `min(<min>, 100%)` so a track can
|
|
28
|
+
* never force horizontal overflow below its minimum — the mobile-first
|
|
29
|
+
* point of the feature.
|
|
30
|
+
* - `max` is the track's stretch limit (default `'1fr'`).
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <Grid medias={{ xs: { columns: { autoFit: '250px' }, gap: 'medium' } }} />
|
|
35
|
+
* // → grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr))
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export type GridRepeatColumns = {
|
|
39
|
+
autoFit: string;
|
|
40
|
+
max?: string;
|
|
41
|
+
} | {
|
|
42
|
+
autoFill: string;
|
|
43
|
+
max?: string;
|
|
44
|
+
};
|
|
19
45
|
/**
|
|
20
46
|
* Set of grid properties accepted by each breakpoint.
|
|
21
47
|
*
|
|
22
|
-
* - `columns`/`rows`: equivalent to `grid-template-columns`/`-rows
|
|
48
|
+
* - `columns`/`rows`: equivalent to `grid-template-columns`/`-rows`;
|
|
49
|
+
* `columns` also accepts a typed auto-repeat object
|
|
50
|
+
* ({@link GridRepeatColumns}).
|
|
23
51
|
* - `areas`: equivalent to `grid-template-areas`.
|
|
24
52
|
* - `gap`, `columnGap`, `rowGap`: grid gap in theme tokens.
|
|
25
53
|
*/
|
|
26
54
|
export type GridMediaInterface = {
|
|
27
55
|
breakpoint?: string;
|
|
28
|
-
columns?: string;
|
|
56
|
+
columns?: string | GridRepeatColumns;
|
|
29
57
|
rows?: string;
|
|
30
58
|
areas?: string;
|
|
31
59
|
columnGap?: GridSpacingTypes;
|
|
32
60
|
rowGap?: GridSpacingTypes;
|
|
33
61
|
gap?: GridSpacingTypes;
|
|
34
|
-
};
|
|
62
|
+
} & GridAlignmentProps;
|
|
63
|
+
/**
|
|
64
|
+
* Box-alignment surface of a grid container — the same semantic tokens as
|
|
65
|
+
* `Flex` (`start` / `end` / `center` / `between` / …). Available on the host
|
|
66
|
+
* and per breakpoint inside `medias`, so "put this in the middle of the
|
|
67
|
+
* cell" needs no nested `Flex`.
|
|
68
|
+
*/
|
|
69
|
+
export type GridAlignmentProps = Pick<FlexFactoryProps, 'alignItems' | 'justifyContent' | 'alignContent' | 'justifyItems' | 'placeItems'>;
|
|
35
70
|
/**
|
|
36
71
|
* Mapping of breakpoint → grid configuration.
|
|
37
72
|
*
|
|
@@ -46,7 +81,7 @@ export type GridBreakpoints = Partial<Record<GridMediasTypes, GridMediaInterface
|
|
|
46
81
|
* (spacing, color, borders, etc.) and adds `medias` to configure
|
|
47
82
|
* the grid per breakpoint.
|
|
48
83
|
*/
|
|
49
|
-
export interface GridPropsInterface extends BaseContainerProps {
|
|
84
|
+
export interface GridPropsInterface extends BaseContainerProps, GridAlignmentProps {
|
|
50
85
|
/**
|
|
51
86
|
* Responsive grid configuration. Accepts either a "flat" config
|
|
52
87
|
* (applied as the default) or an object with per-breakpoint keys
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-CEVSZEYI.esm.js";import"../../chunks/chunk-HEZGD5NN.esm.js";import"../../chunks/chunk-PJQ3IZE7.esm.js";import"../../chunks/chunk-5OE3KRLX.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-N6TVSSCE.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-NZ67MJX5.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-5HBSIYOZ.esm.js";import"../../chunks/chunk-RNL7RFJK.esm.js";import"../../chunks/chunk-JQ66DKSQ.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-GNQ43LWP.esm.js";import"../../chunks/chunk-WI3WPCW3.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-YC44Q5HI.esm.js";import"../../chunks/chunk-BFABFZI7.esm.js";import"../../chunks/chunk-U525YXTZ.esm.js";import"../../chunks/chunk-STSRIPD6.esm.js";import"../../chunks/chunk-XVPUSCK5.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as DefaultGridStyle,b as Grid,a as setGridBreakpoints};
|