@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{a,
|
|
1
|
+
import"../../chunks/chunk-4L2KOZIQ.esm.js";import{a,e as b,g as c}from"../../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-VMIXRIQ2.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{c as ApollionProvider,a as createTheme,b as useApollionTheme};
|
package/lib/themes/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export * from './Dimension';
|
|
|
9
9
|
export * from './Font';
|
|
10
10
|
export * from './Foundation';
|
|
11
11
|
export * from './GlobalStyle';
|
|
12
|
+
export * from './Ground';
|
|
13
|
+
export * from './Mode';
|
|
12
14
|
export * from './Semantic';
|
|
13
15
|
export * from './Spacing';
|
|
14
16
|
export * from './Surface';
|
package/lib/themes/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk-
|
|
1
|
+
import"../chunks/chunk-EBOJSNZ5.esm.js";import{a as Ua,b as Va}from"../chunks/chunk-3BR5YHOT.esm.js";import{a as Wa}from"../chunks/chunk-HPM5AX5Z.esm.js";import{a as Xa}from"../chunks/chunk-2XTVIQMG.esm.js";import{a as Ya}from"../chunks/chunk-4ZHLV35P.esm.js";import"../chunks/chunk-4L2KOZIQ.esm.js";import{a as Qa,e as Sa,g as Ta}from"../chunks/chunk-6KLI7VMF.esm.js";import"../chunks/chunk-YJHYFCT7.esm.js";import{a as va,b as wa,c as xa,d as ya,e as za,f as Aa,g as Ba,h as Ca,i as Da,j as Ea,k as Fa,l as Ga,m as Ha,n as Ia,o as Ja,p as Ka,q as La,r as Ma}from"../chunks/chunk-TLIKQFOT.esm.js";import"../chunks/chunk-IA234JY2.esm.js";import{a as Oa,b as Pa}from"../chunks/chunk-TG5BCBO4.esm.js";import{a as Ra}from"../chunks/chunk-CCONLRLQ.esm.js";import{b as Na}from"../chunks/chunk-6XX3UO2Y.esm.js";import{a as ja,b as ka,c as la}from"../chunks/chunk-KT6QQ3UJ.esm.js";import{b as ma}from"../chunks/chunk-BERIBF3O.esm.js";import{a as na}from"../chunks/chunk-YZQXTNVA.esm.js";import"../chunks/chunk-Z7GJDO5T.esm.js";import{a as ra,b as sa,c as ta}from"../chunks/chunk-P7RR4ZHS.esm.js";import{a as oa,b as pa,c as qa}from"../chunks/chunk-JOKVE3IX.esm.js";import"../chunks/chunk-CWRWYU7D.esm.js";import{a as ua}from"../chunks/chunk-PFLBU7HG.esm.js";import{a as ha}from"../chunks/chunk-IPANNHV3.esm.js";import{a as ia}from"../chunks/chunk-3DUB5C4Z.esm.js";import"../chunks/chunk-HATBJ5OR.esm.js";import"../chunks/chunk-VMIXRIQ2.esm.js";import{a as _,b as $,c as aa,d as ba,e as ca,f as da,g as ea,h as fa,i as ga}from"../chunks/chunk-JQ66DKSQ.esm.js";import"../chunks/chunk-YC44Q5HI.esm.js";import{a as X,b as Y,c as Z}from"../chunks/chunk-BFABFZI7.esm.js";import{a as P,b as Q,c as R,d as S,e as T,f as U,g as V,h as W}from"../chunks/chunk-U525YXTZ.esm.js";import{a as F,b as G,c as H,d as I,e as J,f as K,g as L,h as M,i as N,j as O}from"../chunks/chunk-STSRIPD6.esm.js";import{A as y,B as z,C as A,D as B,E as C,F as D,G as E,c as a,d as b,e as c,f as d,g as e,h as f,i as g,j as h,k as i,l as j,m as k,n as l,o as m,p as n,q as o,r as p,s as q,t as r,u as s,v as t,w as u,x as v,y as w,z as x}from"../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{xa as A11Y_ATTRIBUTE,Xa as ApollionModeScript,Ta as ApollionProvider,ya as DARK_SCHEME_QUERY,pa as DEFAULT_DIMENSION,Y as DEPTH_SHADOW,oa as DIMENSION_MULTIPLIERS,n as DISABLED_NEUTRAL_INDICES,J as EDGE_ALPHA,$ as GROUND_INK_ROLES,_ as GROUND_VAR_PREFIX,Va as GlobalStyle,Ua as GlobalStyleComponent,Wa as Ground,G as HALATION_FLOORS,d as HextoRgb,I as INK_APCA_MIN,H as INK_MIX,F as LADDER_DELTAS,f as MIN_CONTRAST_AA,t as MIN_STATE_CONTRAST,wa as MODE_ATTRIBUTE,va as MODE_STORAGE_KEY,l as NEUTRAL_TEXT_INDICES,T as OKABE_ITO,r as QUIET_NEUTRAL_INDICES,k as READABLE_TEXT_PALETTES,aa as ROOT_GROUND_TOKEN,u as STATE_DELTA_L_JND,o as STRUCTURAL_NEUTRAL_INDICES,Ya as SurfaceProvider,ra as TYPE_WEIGHT_LADDERS,K as WASH_ALPHA,za as a11yStorageKey,W as accessibilityPalettes,ha as animation,b as apcaContrast,a as apcaLuminance,ga as auditGroundVars,ja as breakpointsValues,x as clampLightness,La as clearDocumentMode,U as colorblindPalette,g as contrastRatio,Ga as cookieAdapter,la as createBreakpoints,Q as createColors,ma as createComponentTokens,na as createDeepTheme,Z as createDeth,ta as createFont,ua as createFoundation,m as createReadableTextLayer,Na as createSemantic,Pa as createSpacing,Qa as createTheme,ia as defaultInputBorder,ka as defaultInputBreakpoints,P as defaultInputColors,sa as defaultInputFont,Oa as defaultInputSpacing,i as getColor,j as getContrastColor,Ma as getModeScript,qa as getMultiplierForDimension,e as getOppositeColor,R as grayscalePalette,da as groundInkPath,ba as groundVar,ca as groundVarRef,fa as groundVars,S as highContrastPalette,Ra as invertForSurface,Ba as isA11yMode,v as isDarkSurface,Aa as isModePreference,ea as isOpaqueGround,X as levelValues,Ea as localStorageAdapter,c as mixOklch,D as mountActionColors,C as mountBaseColors,A as mountGreyscaleColors,E as mountMainColors,B as mountNeutralColors,z as mountSingleColor,M as oppositePolarity,Ca as prefersDarkScheme,Ja as readA11yFromCookie,Fa as readCookieValue,Ia as readModeFromCookie,h as readableColor,p as resolveDisabledNeutral,Da as resolveMode,O as resolveOppositeLadder,L as resolvePolarity,s as resolveQuietPalette,Ha as resolveStorage,q as resolveStructuralNeutrals,N as resolveSurfaceLadder,w as shiftLightness,Ka as syncDocumentMode,V as toDarkColors,y as toRgbaString,Sa as useApollionTheme};
|
|
@@ -3,9 +3,9 @@ import { BreakpointsContextType } from './Breakpoints.interface';
|
|
|
3
3
|
/**
|
|
4
4
|
* React context exposing the breakpoint flags to the rest of the app.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Default is `undefined` (NOT a stub object) so `useMediaQuery` can actually
|
|
7
|
+
* detect a missing `<BreakpointsProvider />` and throw instead of silently
|
|
8
|
+
* reporting a band.
|
|
9
9
|
*/
|
|
10
10
|
export declare const BreakpointsContext: React.Context<BreakpointsContextType>;
|
|
11
11
|
/**
|
|
@@ -13,11 +13,13 @@ export declare const BreakpointsContext: React.Context<BreakpointsContextType>;
|
|
|
13
13
|
* propagates the state through the `BreakpointsContext`.
|
|
14
14
|
*
|
|
15
15
|
* Runtime care:
|
|
16
|
+
* - Queries are ASCENDING `min-width` sets (mobile-first); the band flags are
|
|
17
|
+
* derived, never queried as ranges — no width can double-match.
|
|
16
18
|
* - In SSR / environments without `matchMedia` the effect returns early and
|
|
17
|
-
* keeps the initial state (
|
|
19
|
+
* keeps the initial state (the mobile band).
|
|
18
20
|
* - Uses `addEventListener('change', ...)` with an `addListener` fallback
|
|
19
21
|
* for old Safari compatibility.
|
|
20
|
-
* - Cleans up the listeners on unmount.
|
|
22
|
+
* - Cleans up the listeners on unmount and on theme-breakpoint change.
|
|
21
23
|
*/
|
|
22
24
|
export declare const BreakpointsProvider: React.FC<{
|
|
23
25
|
children?: React.ReactNode;
|
|
@@ -1,19 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shape of the context exposed by `BreakpointsProvider`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* - `
|
|
8
|
-
* - `
|
|
4
|
+
* Flags derive from ascending `min-width` matches (mobile-first, AGENTS.md
|
|
5
|
+
* rule 12) and the bands are half-open `[value, next)` — every width maps to
|
|
6
|
+
* exactly ONE of `isMobile` / `isTablet` / `isLaptop` / `isDesktop`:
|
|
7
|
+
* - `isMobile`: width < `md`.
|
|
8
|
+
* - `isTablet`: `md` ≤ width < `lg`.
|
|
9
|
+
* - `isLaptop`: `lg` ≤ width < `xl`.
|
|
10
|
+
* - `isDesktop`: width ≥ `xl`.
|
|
9
11
|
* - `isPortrait`: portrait orientation (size-independent).
|
|
10
12
|
*
|
|
11
|
-
* In SSR (or browsers without `matchMedia`)
|
|
12
|
-
*
|
|
13
|
+
* In SSR (or browsers without `matchMedia`) the initial state is the MOBILE
|
|
14
|
+
* band — mobile is the design's primary target, so the server-rendered frame
|
|
15
|
+
* is the mobile frame and wider viewports enhance after hydration.
|
|
13
16
|
*/
|
|
14
17
|
export type BreakpointsContextType = {
|
|
15
18
|
isMobile: boolean;
|
|
16
19
|
isTablet: boolean;
|
|
17
20
|
isLaptop: boolean;
|
|
21
|
+
isDesktop: boolean;
|
|
18
22
|
isPortrait: boolean;
|
|
19
23
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../../chunks/chunk-HATBJ5OR.esm.js";import"../../../chunks/chunk-G5Z7USXC.esm.js";import"../../../chunks/chunk-AXUWC2WH.esm.js";import"../../../chunks/chunk-GZONWSRB.esm.js";export{a as BreakpointsContext,b as BreakpointsProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o,b as r}from"../../chunks/chunk-
|
|
1
|
+
import{a as o,b as r}from"../../chunks/chunk-HATBJ5OR.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{o as BreakpointsContext,r as BreakpointsProvider};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* APCA (Accessible Perceptual Contrast Algorithm) — `Lc` lightness contrast
|
|
3
|
+
* for self-illuminated displays, the WCAG 3 candidate metric. First-party port
|
|
4
|
+
* of the public apca-w3 0.1.9 reference constants (SAPC-4g), kept inside the
|
|
5
|
+
* in-house color engine (ADR-016) so the dark-polarity invariants of the mode
|
|
6
|
+
* engine (APOLLION-DARK-MODE-ENGINE) can be asserted without a dependency.
|
|
7
|
+
*
|
|
8
|
+
* Sign convention: positive `Lc` = dark text on a light ground; negative =
|
|
9
|
+
* light text on a dark ground. Magnitude is what the floors compare against
|
|
10
|
+
* (`|Lc| ≥ 75` body, `≥ 60` secondary, `≥ 45` large text).
|
|
11
|
+
*
|
|
12
|
+
* Input: 6- or 3-digit hex (with or without `#`). Anything else → `NaN`
|
|
13
|
+
* (callers treat `NaN` as "not measurable", never as a pass).
|
|
14
|
+
*
|
|
15
|
+
* @see https://github.com/Myndex/apca-w3 (reference implementation + vectors)
|
|
16
|
+
*/
|
|
17
|
+
/** sRGB hex → APCA estimated screen luminance `Y` (simple 2.4 gamma, per SAPC-4g). */
|
|
18
|
+
export declare function apcaLuminance(hex: string): number;
|
|
19
|
+
/**
|
|
20
|
+
* APCA `Lc` for `text` over `background` (both hex). Polarity-aware: the
|
|
21
|
+
* exponents differ for dark-on-light vs light-on-dark, and the result is
|
|
22
|
+
* signed accordingly.
|
|
23
|
+
*/
|
|
24
|
+
export declare function apcaContrast(text: string, background: string): number;
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* - `css`, `keyframes` — template literals for dynamic CSS / animation
|
|
7
7
|
* - `ThemeProvider` — theme wrapper (used by ApollionProvider)
|
|
8
8
|
* - `StyleSheetManager` — injection control (shouldForwardProp etc.)
|
|
9
|
+
* - `ServerStyleSheet` — SSR style collection (ADR-009/017; mode-bridge determinism tests)
|
|
9
10
|
* - `createGlobalStyle` — used in themes/GlobalStyle
|
|
10
11
|
* - `useTheme` — hook to read the theme in components
|
|
11
12
|
*
|
|
@@ -16,6 +17,6 @@
|
|
|
16
17
|
* @see ./README.md
|
|
17
18
|
* @see ADR-005 §3.1
|
|
18
19
|
*/
|
|
19
|
-
import styled, { createGlobalStyle, css, keyframes, StyleSheetManager, ThemeProvider, useTheme } from 'styled-components';
|
|
20
|
-
export { createGlobalStyle, css, keyframes, StyleSheetManager, ThemeProvider, useTheme };
|
|
20
|
+
import styled, { createGlobalStyle, css, keyframes, ServerStyleSheet, StyleSheetManager, ThemeProvider, useTheme } from 'styled-components';
|
|
21
|
+
export { createGlobalStyle, css, keyframes, ServerStyleSheet, StyleSheetManager, ThemeProvider, useTheme };
|
|
21
22
|
export default styled;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type * from './interface';
|
|
2
|
-
export { createGlobalStyle, css, default, keyframes, StyleSheetManager, ThemeProvider, useTheme } from './component';
|
|
2
|
+
export { createGlobalStyle, css, default, keyframes, ServerStyleSheet, StyleSheetManager, ThemeProvider, useTheme, } from './component';
|
package/package.json
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apollion-dsi/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "Apollion Design System — Component Library",
|
|
5
5
|
"homepage": "https://www.apollion.com.br",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"module": "lib/index.esm.js",
|
|
9
9
|
"types": "lib/index.d.ts",
|
|
10
|
+
"browserslist": [
|
|
11
|
+
"chrome >= 123",
|
|
12
|
+
"edge >= 123",
|
|
13
|
+
"firefox >= 120",
|
|
14
|
+
"safari >= 17.5"
|
|
15
|
+
],
|
|
10
16
|
"exports": {
|
|
11
17
|
".": {
|
|
12
18
|
"types": "./lib/index.d.ts",
|
|
@@ -61,6 +67,10 @@
|
|
|
61
67
|
"types": "./lib/dataDisplay/Meter/index.d.ts",
|
|
62
68
|
"import": "./lib/dataDisplay/Meter/index.esm.js"
|
|
63
69
|
},
|
|
70
|
+
"./data-display/steps": {
|
|
71
|
+
"types": "./lib/dataDisplay/Steps/index.d.ts",
|
|
72
|
+
"import": "./lib/dataDisplay/Steps/index.esm.js"
|
|
73
|
+
},
|
|
64
74
|
"./data-display/table": {
|
|
65
75
|
"types": "./lib/dataDisplay/Table/index.d.ts",
|
|
66
76
|
"import": "./lib/dataDisplay/Table/index.esm.js"
|
|
@@ -81,6 +91,10 @@
|
|
|
81
91
|
"types": "./lib/elements/Calendar/index.d.ts",
|
|
82
92
|
"import": "./lib/elements/Calendar/index.esm.js"
|
|
83
93
|
},
|
|
94
|
+
"./elements/divider": {
|
|
95
|
+
"types": "./lib/elements/Divider/index.d.ts",
|
|
96
|
+
"import": "./lib/elements/Divider/index.esm.js"
|
|
97
|
+
},
|
|
84
98
|
"./elements/dropdown": {
|
|
85
99
|
"types": "./lib/elements/Dropdown/index.d.ts",
|
|
86
100
|
"import": "./lib/elements/Dropdown/index.esm.js"
|
|
@@ -93,6 +107,10 @@
|
|
|
93
107
|
"types": "./lib/elements/IconButton/index.d.ts",
|
|
94
108
|
"import": "./lib/elements/IconButton/index.esm.js"
|
|
95
109
|
},
|
|
110
|
+
"./elements/icon-text": {
|
|
111
|
+
"types": "./lib/elements/IconText/index.d.ts",
|
|
112
|
+
"import": "./lib/elements/IconText/index.esm.js"
|
|
113
|
+
},
|
|
96
114
|
"./elements/image": {
|
|
97
115
|
"types": "./lib/elements/Image/index.d.ts",
|
|
98
116
|
"import": "./lib/elements/Image/index.esm.js"
|
|
@@ -177,6 +195,10 @@
|
|
|
177
195
|
"types": "./lib/form/InputSelect/index.d.ts",
|
|
178
196
|
"import": "./lib/form/InputSelect/index.esm.js"
|
|
179
197
|
},
|
|
198
|
+
"./form/option": {
|
|
199
|
+
"types": "./lib/form/Option/index.d.ts",
|
|
200
|
+
"import": "./lib/form/Option/index.esm.js"
|
|
201
|
+
},
|
|
180
202
|
"./form/radio": {
|
|
181
203
|
"types": "./lib/form/Radio/index.d.ts",
|
|
182
204
|
"import": "./lib/form/Radio/index.esm.js"
|
|
@@ -225,6 +247,10 @@
|
|
|
225
247
|
"types": "./lib/themes/Border/index.d.ts",
|
|
226
248
|
"import": "./lib/themes/Border/index.esm.js"
|
|
227
249
|
},
|
|
250
|
+
"./themes/breakpoints": {
|
|
251
|
+
"types": "./lib/themes/Breakpoints/index.d.ts",
|
|
252
|
+
"import": "./lib/themes/Breakpoints/index.esm.js"
|
|
253
|
+
},
|
|
228
254
|
"./themes/colors": {
|
|
229
255
|
"types": "./lib/themes/Colors/index.d.ts",
|
|
230
256
|
"import": "./lib/themes/Colors/index.esm.js"
|
|
@@ -249,6 +275,18 @@
|
|
|
249
275
|
"types": "./lib/themes/Foundation/index.d.ts",
|
|
250
276
|
"import": "./lib/themes/Foundation/index.esm.js"
|
|
251
277
|
},
|
|
278
|
+
"./themes/ground": {
|
|
279
|
+
"types": "./lib/themes/Ground/index.d.ts",
|
|
280
|
+
"import": "./lib/themes/Ground/index.esm.js"
|
|
281
|
+
},
|
|
282
|
+
"./themes/layout": {
|
|
283
|
+
"types": "./lib/themes/Layout/index.d.ts",
|
|
284
|
+
"import": "./lib/themes/Layout/index.esm.js"
|
|
285
|
+
},
|
|
286
|
+
"./themes/mode": {
|
|
287
|
+
"types": "./lib/themes/Mode/index.d.ts",
|
|
288
|
+
"import": "./lib/themes/Mode/index.esm.js"
|
|
289
|
+
},
|
|
252
290
|
"./themes/semantic": {
|
|
253
291
|
"types": "./lib/themes/Semantic/index.d.ts",
|
|
254
292
|
"import": "./lib/themes/Semantic/index.esm.js"
|
|
@@ -314,7 +352,10 @@
|
|
|
314
352
|
"prepack": "node ../../scripts/release-preflight.js && yarn build:lib && yarn generate-exports",
|
|
315
353
|
"check-types:strict": "node ./scripts/strict-ratchet.js",
|
|
316
354
|
"a11y": "node ./scripts/a11y-sweep.js",
|
|
317
|
-
"a11y:update": "node ./scripts/a11y-sweep.js --update"
|
|
355
|
+
"a11y:update": "node ./scripts/a11y-sweep.js --update",
|
|
356
|
+
"a11y:dark": "node ./scripts/a11y-sweep.js --mode dark",
|
|
357
|
+
"a11y:dark:update": "node ./scripts/a11y-sweep.js --mode dark --update",
|
|
358
|
+
"visual:dark": "VISUAL_MODE=dark bash ./scripts/run-visual.sh"
|
|
318
359
|
},
|
|
319
360
|
"peerDependencies": {
|
|
320
361
|
"react": "^19.0.0",
|
|
@@ -342,7 +383,7 @@
|
|
|
342
383
|
"zod": "4.4.3"
|
|
343
384
|
},
|
|
344
385
|
"optionalDependencies": {
|
|
345
|
-
"@apollion-dsi/tokens": "5.
|
|
386
|
+
"@apollion-dsi/tokens": "5.8.0"
|
|
346
387
|
},
|
|
347
388
|
"devDependencies": {
|
|
348
389
|
"@apollion-dsi/eslint-config": "0.9.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s}from"./chunk-G4IUG32B.esm.js";import"./chunk-KHEBUAB4.esm.js";import"./chunk-KYIPVR2T.esm.js";import"./chunk-CZAUFZ45.esm.js";import"./chunk-H2KVPACE.esm.js";import"./chunk-5SQH2W2J.esm.js";import"./chunk-TD4RVB2L.esm.js";import"./chunk-BVKAXW2H.esm.js";import"./chunk-TUALAE4W.esm.js";import"./chunk-ZLFQHCLE.esm.js";import"./chunk-KL3ATH64.esm.js";import"./chunk-T6ZB656A.esm.js";import"./chunk-7AFAO7ZS.esm.js";import{c as a}from"./chunk-56NEPHUH.esm.js";import"./chunk-RU6QRCR7.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-2R6XFFSQ.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-BRXIFPWB.esm.js";import"./chunk-3EOSES4S.esm.js";import"./chunk-NQBO2D7L.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import"./chunk-7EGX7BMB.esm.js";import"./chunk-OWMRURZT.esm.js";import"./chunk-6X6WKZ3Y.esm.js";import"./chunk-2ROOI4B2.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-UNM6DHPD.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-NDIYF5SX.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-5Q265MC7.esm.js";import"./chunk-3V3ZEGHO.esm.js";import"./chunk-WGTBX72G.esm.js";import"./chunk-IWMEDT6U.esm.js";import"./chunk-KASRN4X5.esm.js";import"./chunk-BMGVQBTB.esm.js";import"./chunk-BC24WDTC.esm.js";import"./chunk-6N52NFPT.esm.js";import{a as r,b as m}from"./chunk-6OXVRDS2.esm.js";import"./chunk-CLDPV7NK.esm.js";import{a as o}from"./chunk-YRBM4WYM.esm.js";import"./chunk-5OKRFXLL.esm.js";import"./chunk-LATE6DIA.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-MBYC37CX.esm.js";import"./chunk-NI6YLGUA.esm.js";import"./chunk-OZIEVLUR.esm.js";import"./chunk-5HENHW73.esm.js";import"./chunk-RZDVS7AY.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-A6Z2M2XU.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-TLBV5OUM.esm.js";import"./chunk-E3MSXQXV.esm.js";import"./chunk-TQJTHPA3.esm.js";import"./chunk-BV6GHAF7.esm.js";import{c as i}from"./chunk-G5Z7USXC.esm.js";import"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import t,{useEffect as d,useState as y}from"react";import{createPortal as x}from"react-dom";var C=n(()=>{let{notifications:f,removeNotification:p}=a(),[c,l]=y(!1);return d(()=>{l(!0)},[]),!c||!i?null:x(t.createElement(o,{style:{position:"fixed",bottom:"1rem",right:"1rem"}},t.createElement(r,null,f.map(({id:e,...u})=>t.createElement(m,{key:e,initial:{x:"100%",opacity:0},animate:{x:0,opacity:1},exit:{scale:0,opacity:0,height:0},style:{minWidth:300,maxWidth:"30vw",zIndex:100}},t.createElement(o,{style:{margin:"0.5rem"}},t.createElement(s,{...u,visible:!0,closable:!0,onDismiss:()=>p(e)})))))),i)},"NotificationGroup"),W=C;export{W as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as L}from"./chunk-E3MSXQXV.esm.js";import{b as N,g as O}from"./chunk-APD22JEO.esm.js";import{a as I}from"./chunk-GZONWSRB.esm.js";import H,{forwardRef as V}from"react";var a=O.div.withConfig({componentId:"sc-1ihglem-0"})(["",""],({theme:r})=>{var l,c,f,g,u,b,y,m,h,x,w,_,v,C,k,S,R,z,F,W,P;let o=(l=r.colors.baseDark)!=null?l:"#000",t=(c=r.colors.neutral)!=null?c:{},p=(f=r.colors.grayscale)!=null?f:{},d=(u=(g=r.colors.primary)==null?void 0:g.base)!=null?u:o,T=L(d,(b=r.colors.baseLight)!=null?b:"#FFFFFF"),n=(m=(y=r.colors.primary)==null?void 0:y.light)!=null?m:o,s=(x=(h=r.colors.primary)==null?void 0:h.action)!=null?x:o,i=(v=(_=(w=r.colors.disabled)==null?void 0:w.color)!=null?_:t[70])!=null?v:o,e=I(U=>{var j,D,B;return(B=(D=(j=r.colors).getContrastColor)==null?void 0:D.call(j,U))!=null?B:o},"contrastOn");return N(["--rdp-accent-color:",";--rdp-accent-background-color:",";--rdp-day-height:2.25rem;--rdp-day-width:2.25rem;--rdp-day_button-border-radius:",";display:inline-block;width:fit-content;font-family:",";color:",";padding:",";.rdp-root{--rdp-outline:2px solid ",";--rdp-outline-offset:2px;position:relative;}.rdp-months{display:flex;gap:",";}.rdp-month_caption{display:flex;align-items:center;justify-content:center;padding:"," 0 ",";font-size:",";font-weight:",";text-transform:capitalize;color:",";}.rdp-nav{position:absolute;top:",";right:0;display:flex;gap:",";}.rdp-dropdowns{display:flex;align-items:center;gap:",";}.rdp-dropdown_root{position:relative;display:inline-flex;align-items:center;}.rdp-dropdown{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;border:none;appearance:none;cursor:pointer;}.rdp-dropdown_root .rdp-caption_label{display:inline-flex;align-items:center;gap:",";padding:2px ",";border:1px solid ",";border-radius:",";background:",";white-space:nowrap;}.rdp-caption_label .rdp-chevron{width:0.625rem;height:0.625rem;flex-shrink:0;fill:currentColor;}.rdp-button_previous .rdp-chevron,.rdp-button_next .rdp-chevron{width:0.875rem;height:0.875rem;fill:currentColor;}.rdp-month_caption:has(.rdp-dropdowns){justify-content:flex-start;padding-right:4.5rem;}.rdp-button_previous,.rdp-button_next{width:1.75rem;height:1.75rem;display:inline-flex;align-items:center;justify-content:center;border:1px solid ",";border-radius:",";background:",";color:",";cursor:pointer;transition:",";&:hover:not(:disabled){border-color:",";color:",";}&:disabled{color:",";cursor:default;}}.rdp-weekdays{display:grid;grid-template-columns:repeat(7,var(--rdp-day-width));}.rdp-weekday{width:var(--rdp-day-width);height:1.75rem;display:inline-flex;align-items:center;justify-content:center;font-size:",";font-weight:",";color:",";text-transform:uppercase;}.rdp-week{display:grid;grid-template-columns:repeat(7,var(--rdp-day-width));}.rdp-day{width:var(--rdp-day-width);height:var(--rdp-day-height);padding:0;}.rdp-day_button{width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:var(--rdp-day_button-border-radius);background:transparent;color:inherit;font-size:",";cursor:pointer;transition:",";&:hover:not(:disabled){background:",";color:",";}&:focus-visible{outline:var(--rdp-outline);outline-offset:var(--rdp-outline-offset);}&:disabled{cursor:default;color:",";}}.rdp-today:not(.rdp-outside):not(.rdp-selected) .rdp-day_button{border-color:",";color:",";font-weight:",";}.rdp-selected .rdp-day_button,.rdp-selected .rdp-day_button:hover:not(:disabled){background:",";color:",";border-color:",";}.rdp-outside .rdp-day_button{color:",";}.rdp-disabled .rdp-day_button,.rdp-disabled .rdp-day_button:hover{color:",";background:transparent;cursor:default;}.rdp-hidden{visibility:hidden;}.rdp-range_middle .rdp-day_button{background:",";color:",";border-radius:0;}.rdp-range_start .rdp-day_button{border-top-right-radius:0;border-bottom-right-radius:0;}.rdp-range_end .rdp-day_button{border-top-left-radius:0;border-bottom-left-radius:0;}"],d,n,r.border.borderRadius.micro,r.font.fontFamily.main,(C=t[140])!=null?C:o,r.spacing("xs"),s,r.spacing("medium"),r.spacing("xs"),r.spacing("small"),r.font.fontSize.small,r.font.fontWeight.bold,(k=t[140])!=null?k:o,r.spacing("xs"),r.spacing("micro"),r.spacing("small"),r.spacing("micro"),r.spacing("xs"),(S=t[40])!=null?S:o,r.border.borderRadius.micro,(R=p[0])!=null?R:"transparent",(z=t[40])!=null?z:o,r.border.borderRadius.micro,(F=p[0])!=null?F:"transparent",(W=t[140])!=null?W:o,r.animation.transitions.short,d,d,i,r.font.fontSize.micro,r.font.fontWeight.bold,(P=t[120])!=null?P:o,r.font.fontSize.small,r.animation.transitions.short,n,e(n),i,s,T,r.font.fontWeight.bold,d,e(d),d,i,i,n,e(n))});a.displayName="Calendar";import{format as Y,isValid as Z,parse as $,parseISO as rr}from"date-fns";import{enUS as tr,ptBR as A}from"date-fns/locale";import{DayPicker as E}from"react-day-picker";var M=V(({locale:r=A,...o},t)=>H.createElement(a,{ref:t},H.createElement(E,{locale:r,...o})));M.displayName="Calendar";export{a,Y as b,Z as c,rr as d,A as e,M as f};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as a}from"./chunk-E3MSXQXV.esm.js";import{a as ye}from"./chunk-GZONWSRB.esm.js";function Ie(Ce){var n,t,s,o,i,c,m,b,p,f,k,l,d,g,S,D,x,u,y,C,I,O,h,T,w,F,B,L,z,P,j,q,v,A,E,G,H,J,K,M,N,Q,R,U,V,W,X,Y,Z,_,$,ee,ae,re,ne,te,se,oe,ie,ce,me,be,pe,fe,ke,le,de,ge,Se,De,xe,ue;let{colors:e,spacing:r}=Ce;return{color:{feedback:{success:{bg:(s=(t=(n=e.success)==null?void 0:n.base)!=null?t:e.baseDark)!=null?s:"#000",txtOn:a((c=(i=(o=e.success)==null?void 0:o.base)!=null?i:e.baseDark)!=null?c:"#000"),border:(p=(b=(m=e.success)==null?void 0:m.dark)!=null?b:e.baseDark)!=null?p:"#000"},danger:{bg:(l=(k=(f=e.danger)==null?void 0:f.base)!=null?k:e.baseDark)!=null?l:"#000",txtOn:a((S=(g=(d=e.danger)==null?void 0:d.base)!=null?g:e.baseDark)!=null?S:"#000"),border:(u=(x=(D=e.danger)==null?void 0:D.dark)!=null?x:e.baseDark)!=null?u:"#000"},warning:{bg:(I=(C=(y=e.warning)==null?void 0:y.base)!=null?C:e.baseDark)!=null?I:"#000",txtOn:a((T=(h=(O=e.warning)==null?void 0:O.base)!=null?h:e.baseDark)!=null?T:"#000"),border:(B=(F=(w=e.warning)==null?void 0:w.dark)!=null?F:e.baseDark)!=null?B:"#000"},information:{bg:(P=(z=(L=e.information)==null?void 0:L.base)!=null?z:e.baseDark)!=null?P:"#000",txtOn:a((v=(q=(j=e.information)==null?void 0:j.base)!=null?q:e.baseDark)!=null?v:"#000"),border:(G=(E=(A=e.information)==null?void 0:A.dark)!=null?E:e.baseDark)!=null?G:"#000"}},interface:{function:{primary:{normal:{bg:(K=(J=(H=e.primary)==null?void 0:H.base)!=null?J:e.baseDark)!=null?K:"#000",txtOn:a((Q=(N=(M=e.primary)==null?void 0:M.base)!=null?N:e.baseDark)!=null?Q:"#000")}},secondary:{normal:{bg:(V=(U=(R=e.secondary)==null?void 0:R.base)!=null?U:e.baseDark)!=null?V:"#000",txtOn:a((Y=(X=(W=e.secondary)==null?void 0:W.base)!=null?X:e.baseDark)!=null?Y:"#000")}},tertiary:{normal:{bg:($=(_=(Z=e.tertiary)==null?void 0:Z.base)!=null?_:e.baseDark)!=null?$:"#000",txtOn:a((re=(ae=(ee=e.tertiary)==null?void 0:ee.base)!=null?ae:e.baseDark)!=null?re:"#000")}}}},brand:{first:{default:{surface:(se=(te=(ne=e.main)==null?void 0:ne.base)!=null?te:e.baseDark)!=null?se:"#000",txtOn:a((ce=(ie=(oe=e.main)==null?void 0:oe.base)!=null?ie:e.baseDark)!=null?ce:"#000")}},second:{default:{surface:(pe=(be=(me=e.opposite)==null?void 0:me.base)!=null?be:e.baseDark)!=null?pe:"#000",txtOn:a((le=(ke=(fe=e.opposite)==null?void 0:fe.base)!=null?ke:e.baseDark)!=null?le:"#000")}},third:{default:{surface:(Se=(ge=(de=e.complementary)==null?void 0:de.base)!=null?ge:e.baseDark)!=null?Se:"#000",txtOn:a((ue=(xe=(De=e.complementary)==null?void 0:De.base)!=null?xe:e.baseDark)!=null?ue:"#000")}}}},dimension:{spacing:{zero:r("zero"),micro:r("micro"),xs:r("xs"),small:r("small"),medium:r("medium"),large:r("large"),xl:r("xl"),xxl:r("xxl"),giant:r("giant")}}}}ye(Ie,"createSemantic");export{Ie as a};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import{a as d}from"./chunk-KASRN4X5.esm.js";import{c}from"./chunk-LATE6DIA.esm.js";import{b as a}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var u=n(({trackW:t,thumb:o,pad:e})=>t-o-e*2,"thumbTravel"),s=n(({theme:t,$size:o="medium"})=>t.component.switch.size[o],"sizeTokens"),r=c("input").withConfig({componentId:"apollion-switch-input"})`
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: 0;
|
|
4
|
-
top: 0;
|
|
5
|
-
margin: 0;
|
|
6
|
-
z-index: 1;
|
|
7
|
-
opacity: 0;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
`,p=c("span").withConfig({componentId:"apollion-switch-thumb"})`
|
|
10
|
-
--travel: ${t=>u(s(t))}px;
|
|
11
|
-
|
|
12
|
-
position: absolute;
|
|
13
|
-
top: 50%;
|
|
14
|
-
left: ${t=>s(t).pad}px;
|
|
15
|
-
width: ${t=>s(t).thumb}px;
|
|
16
|
-
height: ${t=>s(t).thumb}px;
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
background: ${({theme:t})=>t.colors.neutral[0]};
|
|
19
|
-
transform: translateY(-50%);
|
|
20
|
-
transition: ${({theme:t})=>t.animation.transitions.short};
|
|
21
|
-
`,i=c("span").withConfig({componentId:"apollion-switch-track"})`
|
|
22
|
-
position: relative;
|
|
23
|
-
display: inline-block;
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
width: ${t=>s(t).trackW}px;
|
|
26
|
-
height: ${t=>s(t).trackH}px;
|
|
27
|
-
border-radius: ${t=>s(t).trackH/2}px;
|
|
28
|
-
background: ${({theme:t})=>t.colors.muted};
|
|
29
|
-
margin-right: ${({theme:t})=>t.spacing("xs")};
|
|
30
|
-
transition: ${({theme:t})=>t.animation.transitions.short};
|
|
31
|
-
`;function f({variant:t,theme:o}){let e=o.colors.information;return t==="success"&&(e=o.colors.success),t==="error"&&(e=o.colors.danger),a(["&:hover > ",",& > ",":focus ~ ","{box-shadow:",";}& > ",":checked ~ ","{background:",";}& > ",":checked ~ "," > ","{transform:translateY(-50%) translateX(var(--travel));}"],i,r,i,o.depth("level-zero"),r,i,e.base,r,i,p)}n(f,"switchVariantStyle");function y({theme:t,disabled:o}){return o?a(["color:",";& > ",":disabled{cursor:default;}& > ",":disabled ~ ","{background-color:",";box-shadow:none;}& > ",":disabled:checked ~ ","{background-color:",";}"],t.colors.disabled.color,r,r,i,t.colors.disabled.fill,r,i,t.colors.disabled.color):null}n(y,"disabledStyle");var m=c("label").withConfig({componentId:"apollion-switch-container"})`
|
|
32
|
-
position: relative;
|
|
33
|
-
display: inline-flex;
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
align-items: center;
|
|
36
|
-
cursor: pointer;
|
|
37
|
-
gap: ${({theme:t})=>t.spacing("xs")};
|
|
38
|
-
margin: ${({theme:t})=>t.spacing(0,"xs","xs",0)};
|
|
39
|
-
transition: ${({theme:t})=>t.animation.transitions.short};
|
|
40
|
-
|
|
41
|
-
${f}
|
|
42
|
-
${y}
|
|
43
|
-
`;import l from"react";var w=n(({label:t=null,labelProps:o,variant:e="default",size:h="medium",...S})=>l.createElement(m,{variant:e,disabled:S.disabled},l.createElement(r,{...S,type:"checkbox",role:"switch"}),l.createElement(i,{$size:h},l.createElement(p,{$size:h})),typeof t=="string"?l.createElement(d,{fontSize:"small",color:"neutral.180",...o},t):t),"SwitchComponent");w.displayName="Switch";export{r as a,p as b,i as c,m as d,w as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as H}from"./chunk-M32CTX5Z.esm.js";import{b as D,c as F,d as R,e as b,f as y,g as v,h as x,i as E,j as C,k as M,m as T,n as h,o as N}from"./chunk-5H2LWL6K.esm.js";import{a as P}from"./chunk-BE2JDTVA.esm.js";import{a as w}from"./chunk-4V7LOS5Z.esm.js";import{e as d}from"./chunk-BV6GHAF7.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";import o,{useEffect as q,useState as G}from"react";var J={left:"bottom-start",right:"bottom-end",center:"bottom"},I=r(({children:a,options:n,content:s,hoverable:L=!1,position:z="left",width:i,full:c})=>{if(!n&&!s)throw new Error('Dropdown deve receber "content" ou "options" props');let m=d(a),A=n?"menu":"dialog",[O,S]=G(),{active:l,enable:f,disable:g,toggle:W}=P(!1),{refs:u,floatingStyles:k,context:t,elements:p}=M({open:l,onOpenChange:r(e=>e?f():g(),"onOpenChange"),placement:J[z],middleware:[y(4),F(),x({padding:8})],whileElementsMounted:D}),{getReferenceProps:B,getFloatingProps:K}=h([E(t,{enabled:!m}),T(t,{enabled:L,move:!1,handleClose:v()}),C(t,{outsidePress:!0,escapeKey:!0}),N(t,{role:A})]);q(()=>{if(c&&p.reference){let e=p.reference.getBoundingClientRect();S(e.width)}},[c,p.reference]);let U=r(()=>{let e=m?a({isOpen:l,open:f,toggle:W}):a;return o.cloneElement(e,{ref:u.setReference,...B()})},"renderTrigger"),j=r(()=>{let e=s;return Array.isArray(n)&&(e=o.createElement(H,{gap:"zero",color:"primary.action",content:n})),d(s)&&(e=s({close:g})),o.createElement(w,{p:"xs",borderRadius:"xs",deep:2,width:i!=null?i:O},e)},"renderDropdownContent");return o.createElement(o.Fragment,null,U(),l&&o.createElement(b,null,o.createElement(R,{context:t,modal:!1,initialFocus:-1},o.createElement("div",{ref:u.setFloating,style:{...k,zIndex:500},...K()},j()))))},"DropdownComponent");I.displayName="Dropdown";export{I as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./chunk-GZONWSRB.esm.js";function r(t){let{color:n,dimension:a}=t;return{bg:{primary:n.interface.function.primary.normal.bg,secondary:n.interface.function.secondary.normal.bg,tertiary:n.interface.function.tertiary.normal.bg,success:n.feedback.success.bg,danger:n.feedback.danger.bg,warning:n.feedback.warning.bg,info:n.feedback.information.bg,brand:n.brand.first.default.surface},text:{onPrimary:n.interface.function.primary.normal.txtOn,onSecondary:n.interface.function.secondary.normal.txtOn,onTertiary:n.interface.function.tertiary.normal.txtOn,onSuccess:n.feedback.success.txtOn,onDanger:n.feedback.danger.txtOn,onWarning:n.feedback.warning.txtOn,onInfo:n.feedback.information.txtOn,onMain:n.brand.first.default.txtOn,onOpposite:n.brand.second.default.txtOn,onComplementary:n.brand.third.default.txtOn},spacing:{xs:a.spacing.xs,sm:a.spacing.small,md:a.spacing.medium,lg:a.spacing.large,xl:a.spacing.xl,xxl:a.spacing.xxl}}}e(r,"createFoundation");export{r as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-KASRN4X5.esm.js";import{a as r}from"./chunk-CLDPV7NK.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import e from"react";var d=i(({media:t,title:o,description:l,actionComponent:n,children:m,...f})=>{let x=typeof o=="string"?e.createElement(a,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"neutral.180"},o):o,s=typeof l=="string"?e.createElement(a,{as:"p",fontSize:"micro",lineHeight:"wild",color:"neutral.180"},l):l;return e.createElement(r,{display:"inline-flex",borderRadius:"md",borderWidth:"thin",borderColor:"neutral.30",overflow:"hidden",...f},t&&e.createElement(r,{area:"media"},t),e.createElement(r,{p:"large",gap:"large"},e.createElement(r,{area:"content",gap:"xs"},e.createElement(r,{area:"title"},x),e.createElement(r,{area:"subtitle"},s,m)),n&&e.createElement(r,{area:"action",flex:"fluid",mt:"large"},n)))},"CardComponent");d.displayName="Card";export{d as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as $}from"./chunk-43YSWDK6.esm.js";import{g as C}from"./chunk-NYDXZB2D.esm.js";import{a as u}from"./chunk-GZONWSRB.esm.js";import V,{forwardRef as v,useEffect as E,useMemo as O,useState as F}from"react";function l(e){return e.replace(/\D/g,"")}u(l,"removeNonDigits");function x(e,r="."){return l(e).replace(/\B(?=(\d{3})+(?!\d))/g,r)}u(x,"formatNumber");function p(e,r){let t=e;if(r.prefix&&t&&(t=e.replaceAll(r.prefix,"").trim()),t==="")return t;let{decimal:n,thousand:o,validate:f}=r,c=t.indexOf(n);if(c>=0){let a=t.substring(0,c),i=t.substring(c);a=x(a,o),f&&(i=`${i}00`),i=l(i).substring(0,2),t=`${a}${n}${i}`}else t=x(t),f&&(t+=`${n}00`);return t}u(p,"formatCurrency");function B(e,r=","){if(typeof e=="number")return e;try{let t=e.indexOf(r);if(t>=0){let n=l(e.substring(0,t)),o=l(e.substring(t));return+`${n}.${o}`}return Number(l(e))}catch(t){return console.log("Failed to convert string to Number"),0}}u(B,"currencyToNumber");function g(e,r){let t=e;return typeof t=="number"&&(t=t.toLocaleString("pt-BR",{style:"decimal"})),p(t,{validate:!0,...r})}u(g,"getInitialCurrencyValue");var M=v(({onChange:e,value:r,decimal:t=",",thousand:n=".",prefix:o="R$",...f},c)=>{let[a,i]=F(()=>r?g(r,{decimal:t,thousand:n,prefix:o}):"");E(()=>{i(s=>{let m=r?g(r,{decimal:t,thousand:n,prefix:o}):"";return m!==s?m:s})},[r,t,n,o]);let d=O(()=>$(s=>e==null?void 0:e(s),250),[e]),b=u((s,m)=>{var I;let y=p((I=s.target.value)!=null?I:"",{validate:m,decimal:t,thousand:n,prefix:o});i(y),d(y)},"handleChange"),N=u(()=>{i(""),d("")},"resetValues"),S=o?`${o} ${a}`:a;return V.createElement(C,{...f,ref:c,reset:N,value:S,onChange:b,onBlur:s=>b(s,!0)})});M.displayName="InputCurrency";export{p as a,B as b,g as c,M as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r}from"./chunk-CLDPV7NK.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var t=e(r).attrs(o=>({p:"medium",borderRadius:"micro",bgColor:"neutral.0",deep:2,...o})).withConfig({componentId:"sc-5vfy6v-0"})([""]);export{t as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Q,b as $}from"./chunk-RU6QRCR7.esm.js";import{a as j}from"./chunk-2R6XFFSQ.esm.js";import{a as q,b as z}from"./chunk-TG5BCBO4.esm.js";import{b as _}from"./chunk-JOKVE3IX.esm.js";import{a as H}from"./chunk-BRXIFPWB.esm.js";import{a as U}from"./chunk-3EOSES4S.esm.js";import{a as Y}from"./chunk-NQBO2D7L.esm.js";import{a as F}from"./chunk-3DUB5C4Z.esm.js";import{b as O,c as G}from"./chunk-KT6QQ3UJ.esm.js";import{a as L,b as R}from"./chunk-7EGX7BMB.esm.js";import{a as V}from"./chunk-OWMRURZT.esm.js";import{b as B}from"./chunk-6X6WKZ3Y.esm.js";import{b as J}from"./chunk-WGTBX72G.esm.js";import{a as K}from"./chunk-IWMEDT6U.esm.js";import{a as M}from"./chunk-VMIXRIQ2.esm.js";import{a as y,b as I,g as w}from"./chunk-5HENHW73.esm.js";import{b as A}from"./chunk-G5Z7USXC.esm.js";import{d as D,e as S}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import i from"react";function v(e={}){let{colors:o,breakpoints:t,spacing:r,border:a,font:m,dimension:s,component:f}=L({colors:y,spacing:q,font:Q,border:F,breakpoints:O,dimension:_,component:{}},e),u=I(o),d=z(r,s),l=$(m,s),P=j({colors:u,spacing:d});return{font:l,border:a,animation:Y,colors:u,breakpoints:G(t),spacing:d,depth:B(u),deep:V(u),semantic:P,foundation:U(P),component:R(f)}}n(v,"createTheme");import N,{createContext as re,lazy as ne,Suspense as ie,useContext as ce,useReducer as ae,useRef as se}from"react";var de=ne(()=>import("./Notification.group-GB62BMAL.esm.js")),W=re({});function pe(e,{type:o,payload:t}){switch(o){case"ADD":return[t,...e];case"REMOVE":return e.filter(r=>r.id!==t.id);default:return e}}n(pe,"NotificationReducer");var X=n(e=>{let[o,t]=ae(pe,[]),r=se(!1),a=n(s=>{t({type:"REMOVE",payload:{id:s}})},"removeNotification"),m=n(s=>{if(t({type:"ADD",payload:{id:K(),...s}}),o.length>=3){let[f]=o.slice(-1);setTimeout(()=>a(f.id),0)}},"showNotification");return o.length>0&&(r.current=!0),N.createElement(W.Provider,{value:{notifications:o,removeNotification:a,showNotification:m}},N.createElement(N.Fragment,null,e.children,r.current&&N.createElement(ie,{fallback:null},N.createElement(de,null))))},"NotificationsProvider");function Se(){let e=ce(W);if(e===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return e}n(Se,"useNotification");function fe(e,o){return typeof o=="string"?M(e):!0}n(fe,"shouldForwardProp");var Z="(prefers-color-scheme: dark)";function me(){var e,o;return!!((o=(e=A)==null?void 0:e.matchMedia)!=null&&o.call(e,Z).matches)}n(me,"prefersDarkScheme");var ee=i.createContext(null);function ue(){let e=i.useContext(ee);if(e===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return e}n(ue,"useApollionTheme");var le=n(({children:e,theme:o,lightTheme:t,darkTheme:r,colors:a,useSystemPreference:m=!1,themeMode:s,onThemeModeChange:f,surface:u="positive",dimension:d})=>{let l=s!==void 0,[P,b]=i.useState(()=>m&&me()?"dark":"light"),p=l?s:P;i.useEffect(()=>{var x,C;if(l||!m)return;let c=(C=(x=A)==null?void 0:x.matchMedia)==null?void 0:C.call(x,Z);if(!c)return;b(c.matches?"dark":"light");let h=n(te=>{b(te.matches?"dark":"light")},"handleChange");return c.addEventListener("change",h),()=>c.removeEventListener("change",h)},[l,m]);let g=i.useCallback(c=>{let h=c!=null?c:p==="dark"?"light":"dark";l||b(h),f==null||f(h)},[p,l,f]),T=i.useMemo(()=>{if(o||t||r||!a)return null;let c=d!==void 0?{colors:a,dimension:d}:{colors:a};return{light:v(c),dark:v({...c,colors:w(a)})}},[o,t,r,a,d]),k=i.useMemo(()=>t&&r?p==="dark"?r:t:t||r||o||(T?p==="dark"?T.dark:T.light:v(d!==void 0?{dimension:d}:void 0)),[t,r,o,T,d,p]),E=i.useMemo(()=>H(k,u,p),[k,u,p]),oe=i.useMemo(()=>({theme:E,themeMode:p,toggleTheme:g}),[E,p,g]);return i.createElement(D,{shouldForwardProp:fe},i.createElement(ee.Provider,{value:oe},i.createElement(S,{theme:E},i.createElement(J,null,i.createElement(X,null,e)))))},"ApollionProvider");export{v as a,X as b,Se as c,ue as d,le as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as y,d as p,e as h,f,l as I,m as b,q as l,r as k,s as D,t as L,u as x}from"./chunk-E3MSXQXV.esm.js";import{o as d,p as C}from"./chunk-BV6GHAF7.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var n={baseDark:"#26292E",baseLight:"#FCFCFC",transparent:"transparent",deepDark:"#000",deepLight:"#FFF",main:"#003750",opposite:y("#003750"),complementary:"#F6BA20",information:"#3399FF",success:"#2CB567",danger:"#E12712",warning:"#FFBB00",primary:"#32AFDC",secondary:"#2D81AA",tertiary:"#2CE571"},F=/^(#|rgba?\(|hsla?\(|oklch\(|oklab\(|color\(|var\(--|currentColor$|transparent$|inherit$)/;function P(e){let r={baseDark:e.baseDark,baseLight:e.baseLight,deepDark:e.deepDark,deepLight:e.deepLight,transparent:e.transparent,neutral:k(e),grayscale:l(e),...D(e),...L(e),...x(e)},t={...r,...b(r),disabled:I(r)},s=C(d);return Object.assign(o=>F.test(o)?o:s(o,t,"base"),t,{getColor:h,getContrastColor:f})}a(P,"createColors");function B(e=n){let r=l(e);return{...e,main:r[100],opposite:r[10],complementary:r[20],primary:r[60],secondary:r[40],tertiary:r[30],information:r[50],success:r[70],warning:r[80],danger:r[90]}}a(B,"grayscalePalette");function E(e=n){var s;let r=(s=e.baseLight)!=null?s:n.baseLight,t=a(o=>o&&(typeof o=="string"?p(o,r,7):{...o,base:p(o.base,r,7)}),"aaa");return{...e,main:t(e.main),opposite:t(e.opposite),complementary:t(e.complementary),primary:t(e.primary),secondary:t(e.secondary),tertiary:t(e.tertiary),information:t(e.information),success:t(e.success),warning:t(e.warning),danger:t(e.danger)}}a(E,"highContrastPalette");var i={orange:"#E69F00",skyBlue:"#56B4E9",bluishGreen:"#009E73",vermillion:"#D55E00",blue:"#0072B2"};function A(e=n){return{...e,main:e.main,danger:i.vermillion,success:i.bluishGreen,warning:i.orange,primary:i.skyBlue,information:i.blue,secondary:i.blue}}a(A,"colorblindPalette");function S(e=n){var c,m,u,g;let r=(c=e.baseDark)!=null?c:n.baseDark,t=(m=e.baseLight)!=null?m:n.baseLight,s=(u=e.deepDark)!=null?u:n.deepDark,o=(g=e.deepLight)!=null?g:n.deepLight;return{...e,baseDark:t,baseLight:r,deepDark:o,deepLight:s}}a(S,"toDarkColors");var R={grayscale:B,"high-contrast":E,colorblind:A};export{n as a,P as b,B as c,E as d,i as e,A as f,S as g,R as h};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as D}from"./chunk-BE2JDTVA.esm.js";import{b as m}from"./chunk-3V3ZEGHO.esm.js";import{a as N}from"./chunk-KASRN4X5.esm.js";import{a as l}from"./chunk-YRBM4WYM.esm.js";import{b as d}from"./chunk-G5Z7USXC.esm.js";import{b as w,g as s}from"./chunk-APD22JEO.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var ie=w(["--railColor:",";--trackColor:",";--thumbColor:",";--markColor:",";"],({theme:e})=>e.colors.primary.light,({theme:e})=>e.colors.primary.base,({theme:e})=>e.colors.primary.action,({theme:e})=>e.colors.primary.active),ae=w(["pointer-events:none;--railColor:",";--trackColor:",";--thumbColor:",";--markColor:transparent;"],({theme:e})=>e.colors.muted,({theme:e})=>e.colors.neutral[30],({theme:e})=>e.colors.neutral[30]),$=s(l).withConfig({componentId:"sc-18639os-0"})(["--height:6px;",";cursor:pointer;box-sizing:content-box;height:var(--height);padding:1.5rem 0 2rem;width:100%;"],({disabled:e})=>e?ae:ie),j=s(l).withConfig({componentId:"sc-18639os-1"})(["width:100%;height:var(--height);background:var(--railColor);position:absolute;border-radius:calc(var(--height) / 2);box-shadow:0px 0px 0px 1px var(--railColor);"]),A=s(l).withConfig({componentId:"sc-18639os-2"})(["height:var(--height);box-shadow:0px 0px 0px 1px var(--trackColor);background:var(--trackColor);border-radius:calc(var(--height) / 2);position:absolute;left:0;"]),H=s(l).withConfig({componentId:"sc-18639os-3"})(["height:var(--height);background-image:linear-gradient(to right,#e12712,#ffbb00,#2cb567);background-repeat:no-repeat;border-radius:calc(var(--height) / 2);position:absolute;width:100%;left:0;"]),W=s(l).withConfig({componentId:"sc-18639os-4"})(["height:var(--height);background-color:var(--railColor);background-repeat:no-repeat;position:absolute;right:0;"]),T=s(l).attrs(e=>({bgColor:"baseLight",color:"primary.dark",borderRadius:"xs",borderWidth:"thin",p:"micro",...e})).withConfig({componentId:"sc-18639os-5"})(["--borderColor:",";opacity:0;transition:all 200ms linear;text-align:center;position:absolute;bottom:",";left:50%;transform:translateX(-50%);font-size:12px;white-space:nowrap;border-color:var(--borderColor);&:before{content:'';position:absolute;width:0;height:0;border-top:10px solid var(--borderColor);border-left:5px solid transparent;border-right:5px solid transparent;top:100%;left:50%;margin-left:-5px;margin-top:-1px;}"],({theme:e})=>e.colors.neutral[40],({theme:e})=>e.spacing("large")),se=w(["box-shadow:0px 0px 0px 9px #00000033 !important;& ","{opacity:1;}"],T),_=s(l).withConfig({componentId:"sc-18639os-6"})(["--size:calc(var(--height) * 2.4);display:flex;justify-content:center;width:var(--size);height:var(--size);margin-top:calc((var(--size) * -1 / 2) + var(--height) / 2);margin-left:calc(var(--size) * -1 / 2);position:absolute;background:var(--thumbColor);transition:box-shadow 150ms cubic-bezier(0.4,0,0.2,1) 0ms;&:hover{box-shadow:0px 0px 0px 6px #00000033;","{opacity:1;}}",""],T,({active:e})=>e&&se),q=s(l).attrs(e=>({borderRadius:"circular",...e})).withConfig({componentId:"sc-18639os-7"})(["--size:calc(var(--height) * 0.8);position:absolute;margin:calc(var(--height) * 0.1);width:var(--size);height:var(--size);padding:2px;margin-left:",";background:",";"],({active:e})=>e?"unset":"calc(var(--size) * -1)",({active:e})=>e?"var(--thumbColor)":"var(--markColor)"),J=s(l).withConfig({componentId:"sc-18639os-8"})(["position:absolute;margin-top:1rem;transform:translateX(-50%);white-space:nowrap;font-size:0.75rem;color:",";"],({theme:e})=>e.colors.main.base);import n,{useCallback as le,useEffect as ce,useMemo as ue,useRef as Q,useState as de}from"react";function M(e,t,o){return(e-t)*100/(o-t)}p(M,"valueToPercent");function K(e,t,o){return(o-t)*e+t}p(K,"percentToValue");function z(e,t,o){let h=Math.round((e-o)/t)*t+o;return Number(h.toFixed(t))}p(z,"roundValueToStep");function O(e){return e>=1?1:e<=0?0:e}p(O,"clamp");function L(e,t,o,h){return Number.isFinite(e)&&e>=o&&e<=t?h?z(e,h,o):e:Math.min(Math.max(o,e),t)}p(L,"normalizeValue");function R({gradient:e,disabled:t,getLabelValue:o,markLabel:h,onChange:b,value:k=50,max:c=100,min:i=0,step:u=1,mark:I}){let[v,V]=de(()=>L(k,c,i,u));ce(()=>{V(r=>{let a=L(k,c,i,u);return a!==r?a:r})},[k,c,i,u]);let{active:U,enable:B,disable:Y}=D(),P=Q(null),Z=ue(()=>{if(!(I===!0&&u))return[];let r=Math.floor((c-i)/u)+1;return!Number.isFinite(r)||r<=0||r>1e4?[]:[...Array(r)].map((a,E)=>{let x=i+u*E;return{value:x,...o&&h&&{label:o(x)}}})},[I,o,h,u,i,c]),F=Q(0),y=le(r=>{let a=0;try{if(r.type==="touchmove"){let[S]=r.changedTouches;a=S==null?void 0:S.clientX}else a=r.clientX}catch(S){a=r.clientX}let{width:E,left:x}=P.current.getBoundingClientRect(),ne=O((a-x)/E),C=K(ne,i,c);C=z(C,u,i),V(C),b&&(clearTimeout(F.current),F.current=setTimeout(()=>{b(C)},100))},[i,c,u,b]),f=m(r=>{y(r)}),g=m(()=>{Y(),d.document.removeEventListener("mousemove",f),d.document.removeEventListener("mouseup",g),d.document.removeEventListener("touchmove",f),d.document.removeEventListener("touchend",g)}),ee=m(r=>{r.preventDefault(),y(r),B(),d.document.addEventListener("mousemove",f,{passive:!1}),d.document.addEventListener("mouseup",g,{passive:!1})}),re=m(r=>{r.stopPropagation(),y(r),B(),d.document.addEventListener("touchmove",f,{passive:!1}),d.document.addEventListener("touchend",g,{passive:!1})}),oe=o?o(v):String(v),X=`${M(v,i,c)}%`,te={width:X},G={left:X};return n.createElement($,{ref:P,onMouseDown:ee,onTouchStart:re,disabled:t},n.createElement(j,null),e?n.createElement(H,null,n.createElement(W,{style:G})):n.createElement(A,{style:te}),Z.map(r=>{let a={left:`${M(r.value,i,c)}%`};return n.createElement(n.Fragment,{key:r.value},n.createElement(q,{active:r.value<=v,style:a}),r.label&&n.createElement(J,{style:a},r.label))}),n.createElement(_,{borderRadius:"circular",deep:1,active:U,style:G,"data-testid":"input-range-thumb"},!t&&n.createElement(T,null,n.createElement(N,null,oe))))}p(R,"Slider");R.displayName="Slider";export{$ as a,j as b,A as c,H as d,W as e,T as f,_ as g,q as h,J as i,R as j};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i}from"./chunk-KASRN4X5.esm.js";import{a as n}from"./chunk-CLDPV7NK.esm.js";import{a}from"./chunk-YRBM4WYM.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function g({size:o,border:t}){let r;switch(o){case"extraSmall":r={height:"0.25rem",borderRadius:"micro",mb:"micro"};break;case"small":r={height:"0.5rem",borderRadius:"xs",mb:"micro"};break;case"large":r={height:"1rem",borderRadius:"md",mb:"small"};break;default:r={height:"0.75rem",borderRadius:"sm",mb:"xs"}}return t||(r.borderRadius=void 0),r}s(g,"progressOverlayProps");var P=e(a).attrs(g).withConfig({componentId:"sc-13s1fh5-0"})(["background:var(--bg-overlay);overflow:hidden;width:100%;"]),u=e(a).withConfig({componentId:"sc-13s1fh5-1"})(["height:100%;background:var(--bg-progress);transition:",";"],({theme:o})=>o.animation.transitions.short);function h({color:o,theme:t}){let{base:r,dark:m,light:c}=t.colors[o];return{"--text-color":m,"--bg-overlay":c,"--bg-progress":r}}s(h,"getProgressColor");var x=e(n).withConfig({componentId:"sc-13s1fh5-2"})([""," ","{color:var(--text-color);}"],h,i);export{P as a,u as b,h as c,x as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{g as e}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var l=e.circle.withConfig({componentId:"sc-aqn9mc-0"})([""]),t=e(l).withConfig({componentId:"sc-aqn9mc-1"})(["stroke:",";fill:",";"],({theme:o})=>o.colors.neutral[20],({theme:o})=>o.colors.neutral[5]);import c from"react";function n(o){return c.createElement(t,{...o})}r(n,"CircleComponent");n.displayName="Circle";export{l as a,t as b,n as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-CLDPV7NK.esm.js";import{a as o}from"./chunk-YRBM4WYM.esm.js";import{AnimatePresence as a,motion as e,MotionConfig as p,useReducedMotion as x}from"framer-motion";var n=e.create(o),r=e.create(t);export{a,n as b,r as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as l,b as n}from"./chunk-TQJTHPA3.esm.js";import{a as x}from"./chunk-GZONWSRB.esm.js";var c={"level-one-minus":"inset 0px 0px 4px","level-zero":"0px 0px 0px","level-one":"0px 0px 4px","level-two":"0px 0px 8px","level-three":"0px 0px 16px","level-four":"0px 0px 28px","level-five":"0px 0px 44px","level-six":"0px 0px 72px"},f=n("rgb"),m=x(s=>{var r,o,t;let p=s.neutral[180],e=f(l(p)),a=e?`rgba(${Math.round(((r=e.r)!=null?r:0)*255)}, ${Math.round(((o=e.g)!=null?o:0)*255)}, ${Math.round(((t=e.b)!=null?t:0)*255)}, 0.15)`:p;return h=>`${c[h]} ${a}`},"createDeth");export{c as a,m as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-YRBM4WYM.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var o=i((r,e)=>({gridTemplateColumns:e.columns,gridTemplateRows:e.rows,gridTemplateAreas:e.areas,gap:e.gap?r.spacing(e.gap):void 0,gridColumnGap:e.columnGap?r.spacing(e.columnGap):void 0,gridRowGap:e.rowGap?r.spacing(e.rowGap):void 0}),"getGridProps"),f=i(({medias:r,theme:e})=>r?"xs"in r?Object.keys(r).reduce((d,t)=>({...d,[e.breakpoints.up(t)]:o(e,r[t])}),{}):o(e,r):{},"setGridBreakpoints"),c=a(n).withConfig({componentId:"sc-11fh3lu-0"})(["display:grid;",""],f);export{f as a,c as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-GZONWSRB.esm.js";var e=["bgColor"],p=n(o=>({theme:a,...t})=>{let r={...o,...t},{bgColor:c}=typeof o=="function"?o(r):r;return c&&{backgroundColor:a.colors(c)}},"BackgroundFactory");export{e as a,p as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createGlobalStyle as r,css as t,keyframes as a,StyleSheetManager as o,ThemeProvider as l,useTheme as m}from"styled-components";var s=e;export{r as a,t as b,a as c,o as d,l as e,m as f,s as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as i}from"./chunk-WNCECFZT.esm.js";import{d as r}from"./chunk-KASRN4X5.esm.js";import{a as t}from"./chunk-CLDPV7NK.esm.js";import{a as m}from"./chunk-YRBM4WYM.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";var f=n(({children:p,icon:l,title:a,description:x,...e})=>{let c=e.inverted?"neutral.170":"grayscale.0";return o.createElement(i,{content:o.createElement(m,{p:"xs"},o.createElement(t,{gap:"medium",maxWidth:400,color:c},o.createElement(t,{flexDirection:"row",alignItems:"center",gap:"medium"},l,o.createElement(r,{variant:"h4",text:a,color:null})),o.createElement(r,{variant:"p",text:x,color:null}))),...e},p)},"Popover");f.displayName="Popover";export{f as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-6N52NFPT.esm.js";import{a as o}from"./chunk-YRBM4WYM.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var n=e(o).withConfig({componentId:"sc-1teioay-0"})(["animation:rotate 2s linear infinite;@keyframes rotate{100%{transform:rotate(360deg);}}"]),i=e(t).withConfig({componentId:"sc-1teioay-1"})(["fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"]);import s,{forwardRef as d}from"react";var a=d(({size:p,label:m="Carregando",...f},l)=>{let r=p||"1em";return s.createElement(n,{as:"svg",viewBox:"0 0 50 50",role:"status","aria-label":m,...f,width:r,height:r,ref:l},s.createElement(i,{cx:"25",cy:"25",r:"20"}))});a.displayName="Spinner";export{n as a,i as b,a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ma}from"./chunk-3EOSES4S.esm.js";import{f as e}from"./chunk-E3MSXQXV.esm.js";import{a as ca}from"./chunk-GZONWSRB.esm.js";function Da(r,ka,fa){var n,o,i,s,d,b,c,m,k,f,g,u,D,p,F,l,x,h,y,O,S,v,T,L,w,P,M,C,j,q,z,A,B,E,G,H,I,J,K,N,Q,R,U,V,W,X,Y,Z,_,$,aa,ea,ra,ta,na,oa,ia,sa,da,ba;if(ka==="positive")return r;let{colors:a}=r,t={color:{feedback:{success:{bg:(i=(o=(n=a.success)==null?void 0:n.dark)!=null?o:a.baseDark)!=null?i:"#000",txtOn:e((b=(d=(s=a.success)==null?void 0:s.dark)!=null?d:a.baseDark)!=null?b:"#000"),border:(k=(m=(c=a.success)==null?void 0:c.base)!=null?m:a.baseLight)!=null?k:"#FFF"},danger:{bg:(u=(g=(f=a.danger)==null?void 0:f.dark)!=null?g:a.baseDark)!=null?u:"#000",txtOn:e((F=(p=(D=a.danger)==null?void 0:D.dark)!=null?p:a.baseDark)!=null?F:"#000"),border:(h=(x=(l=a.danger)==null?void 0:l.base)!=null?x:a.baseLight)!=null?h:"#FFF"},warning:{bg:(S=(O=(y=a.warning)==null?void 0:y.dark)!=null?O:a.baseDark)!=null?S:"#000",txtOn:e((L=(T=(v=a.warning)==null?void 0:v.dark)!=null?T:a.baseDark)!=null?L:"#000"),border:(M=(P=(w=a.warning)==null?void 0:w.base)!=null?P:a.baseLight)!=null?M:"#FFF"},information:{bg:(q=(j=(C=a.information)==null?void 0:C.dark)!=null?j:a.baseDark)!=null?q:"#000",txtOn:e((B=(A=(z=a.information)==null?void 0:z.dark)!=null?A:a.baseDark)!=null?B:"#000"),border:(H=(G=(E=a.information)==null?void 0:E.base)!=null?G:a.baseLight)!=null?H:"#FFF"}},interface:{function:{primary:{normal:{bg:(I=a.baseDark)!=null?I:"#000",txtOn:e((J=a.baseDark)!=null?J:"#000")}},secondary:{normal:{bg:(K=a.baseDark)!=null?K:"#000",txtOn:e((N=a.baseDark)!=null?N:"#000")}},tertiary:{normal:{bg:(Q=a.baseDark)!=null?Q:"#000",txtOn:e((R=a.baseDark)!=null?R:"#000")}}}},brand:{first:{default:{surface:(W=(V=(U=a.main)==null?void 0:U.dark)!=null?V:a.baseDark)!=null?W:"#000",txtOn:e((Z=(Y=(X=a.main)==null?void 0:X.dark)!=null?Y:a.baseDark)!=null?Z:"#000")}},second:{default:{surface:(aa=($=(_=a.opposite)==null?void 0:_.dark)!=null?$:a.baseDark)!=null?aa:"#000",txtOn:e((ta=(ra=(ea=a.opposite)==null?void 0:ea.dark)!=null?ra:a.baseDark)!=null?ta:"#000")}},third:{default:{surface:(ia=(oa=(na=a.complementary)==null?void 0:na.dark)!=null?oa:a.baseDark)!=null?ia:"#000",txtOn:e((ba=(da=(sa=a.complementary)==null?void 0:sa.dark)!=null?da:a.baseDark)!=null?ba:"#000")}}}},dimension:r.semantic.dimension};return{...r,semantic:t,foundation:ma(t)}}ca(Da,"invertForSurface");export{Da as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as t}from"./chunk-YRBM4WYM.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";var o=e(t).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]);export{o as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk-KASRN4X5.esm.js";import{a as x}from"./chunk-BMGVQBTB.esm.js";import{a as B}from"./chunk-BC24WDTC.esm.js";import{a as y}from"./chunk-CLDPV7NK.esm.js";import{b as p}from"./chunk-RZDVS7AY.esm.js";import{b}from"./chunk-IK5Z5C2R.esm.js";import{b as f}from"./chunk-OXQA5WD3.esm.js";import{d}from"./chunk-RWLJNXLX.esm.js";import{d as l}from"./chunk-E3MSXQXV.esm.js";import{b as c,g as F}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import u,{forwardRef as O}from"react";var s=5,T=a(({size:o="medium",theme:t})=>{var n;let r=(n=t.component.button.size[o])!=null?n:t.component.button.size.medium;return[b({fontWeight:r.fontWeight,fontSize:r.fontSize,...r.textTransform!==void 0&&{textTransform:r.textTransform}}),f({py:r.py,px:r.px}),d({borderRadius:r.borderRadius})]},"buttonSize"),z=a((o,t)=>c(["color:",";background:",";border-color:",";box-shadow:",";&:hover{color:",";background:",";border-color:",";box-shadow:",";}&:focus{color:",";background:",";border-color:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{color:",";background:",";border-color:",";}}&:disabled{background:",";border-color:",";color:",";box-shadow:",";cursor:default;}"],t.colors.getContrastColor(o.base),o.base,o.base,r=>r.theme.depth("level-two"),t.colors.getContrastColor(o.action),o.action,o.action,r=>r.theme.depth("level-zero"),t.colors.getContrastColor(o.action),o.action,o.active,o.action,t.colors.getContrastColor(o.active),o.active,o.light,t.colors.disabled.fill,t.colors.disabled.fill,t.colors.disabled.color,r=>r.theme.depth("level-zero")),"ButtonContained"),h=a((o,t)=>{var r;return c(["background:transparent;color:",";border-color:",";&:hover{color:",";background:",";border-color:",";}&:focus{color:",";background:",";border-color:",";box-shadow:",";&:hover{border-color:",";}}&:active{&,&:hover,&:focus{background-color:transparent;color:",";border-color:",";box-shadow:",";}}&:disabled{color:",";background:",";border-color:",";cursor:default;}"],l(o.base,(r=t.colors.baseLight)!=null?r:"#FFFFFF",s),o.base,t.colors.getContrastColor(o.action),o.action,o.action,t.colors.getContrastColor(o.action),o.action,o.active,n=>n.theme.depth("level-two"),o.action,o.dark,o.light,n=>n.theme.depth("level-two"),t.colors.disabled.color,t.colors.disabled.fill,t.colors.disabled.fill)},"ButtonOutlined"),L=a((o,t)=>{var r,n,e,i;return c(["background:transparent;color:",";border-color:transparent;border-radius:none;&:hover{color:",";text-decoration:underline;}&:focus{color:",";text-decoration:underline;}&:active{color:",";text-decoration:underline;}&:disabled{color:",";text-decoration:none;cursor:default;}"],l(o.base,(r=t.colors.baseLight)!=null?r:"#FFFFFF",s),l(o.action,(n=t.colors.baseLight)!=null?n:"#FFFFFF",s),l(o.base,(e=t.colors.baseLight)!=null?e:"#FFFFFF",s),l(o.active,(i=t.colors.baseLight)!=null?i:"#FFFFFF",s),t.colors.disabled.color)},"ButtonLinked"),W=a(({color:o,variant:t,theme:r})=>{let n=r.colors[o],e;switch(t){case"outlined":e=h(n,r);break;case"linked":e=L(n,r);break;default:e=z(n,r)}return c(["&&{","}"],e)},"buttonVariant"),N=a(({fullWidth:o})=>({width:o?"100%":"fit-content"}),"isFullWidth"),C=c(["outline:0;cursor:pointer;transition:",";"," "," "," "," ",""],({theme:o})=>o.animation.transitions.short,d({borderWidth:"regular",borderStyle:"solid"}),p({gap:"xs",flexDirection:"row",alignItems:"center",justifyContent:"center"}),N,T,W),v=F(y).withConfig({componentId:"sc-12djmz6-0"})([""," ","{width:1em;height:1em;}"],C,B);var S=O(({children:o,text:t,isLoading:r,icon:n=null,iconPosition:e="left",color:i="primary",size:m="medium",variant:I="contained",fullWidth:k=!1,...P},w)=>u.createElement(v,{...P,color:i,size:m,variant:I,fullWidth:k,as:"button",ref:w},u.createElement(x,{loading:r,...e==="right"?{closer:n}:{opener:n}},u.createElement(g,{fontWeight:"bold",lineHeight:"tight",fontFamily:"main"},o||t))));S.displayName="Button";export{T as a,W as b,C as c,v as d,S as e};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{o as f}from"./chunk-H2KVPACE.esm.js";import{a as l,b as m}from"./chunk-5SQH2W2J.esm.js";import{a as h}from"./chunk-KASRN4X5.esm.js";import{a as b}from"./chunk-CLDPV7NK.esm.js";import{c as a}from"./chunk-LATE6DIA.esm.js";import{b as d}from"./chunk-TLBV5OUM.esm.js";import{b as s,g as x}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var i=a("input").withConfig({componentId:"apollion-checkbox-input"})`
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: 0;
|
|
4
|
-
top: 0;
|
|
5
|
-
margin: 0;
|
|
6
|
-
opacity: 0;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
`,t=x(b).attrs(o=>({alignItems:"center",justifyContent:"center",borderRadius:"micro",borderWidth:"thin",boderStyle:"solid",borderColor:"information",deep:-1,mr:"small",...o})).withConfig({componentId:"sc-o1c91u-0"})(["width:20px;height:20px;flex-shrink:0;transition:",";"],({theme:o})=>o.animation.transitions.short);function y({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),s(["color:",";& > ","{border:1px solid ",";}&:hover > ",",&:focus > ","{border-color:",";box-shadow:",";}& > ",":checked ~ ","{border-color:",";background-color:",";box-shadow:",";}"],r.dark,t,r.dark,t,t,r.action,e.depth("level-zero"),i,t,r.base,r.base,e.depth("level-zero"))}n(y,"checkboxVariantStyle");function C({theme:o,disabled:e}){return e?s(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";box-shadow:none;& > ","{color:",";}}}"],o.colors.disabled.color,i,t,o.colors.disabled.fill,o.colors.disabled.fill,l,o.colors.disabled.color):null}n(C,"disabledStyle");var k=a("label").withConfig({componentId:"apollion-checkbox-container"})`
|
|
9
|
-
position: relative;
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
align-items: center;
|
|
14
|
-
/* micro — the xs gap read too wide between the box and its label. */
|
|
15
|
-
gap: ${({theme:o})=>o.spacing("micro")};
|
|
16
|
-
/* Pre-v4 margin was \`spacing(0, 8, 'medium', 0)\` (32px right + 16px bottom)
|
|
17
|
-
— excessive, it overrode the consumer's layout. v4 keeps only a small
|
|
18
|
-
breathing space (xs = 8px) horizontal+vertical, enough for inline use
|
|
19
|
-
without dictating layout. A parent with Flex gap adds more when needed. */
|
|
20
|
-
margin: ${({theme:o})=>o.spacing(0,"xs","xs",0)};
|
|
21
|
-
transition: ${({theme:o})=>o.animation.transitions.short};
|
|
22
|
-
|
|
23
|
-
& > ${i} ~ ${t} > ${l} {
|
|
24
|
-
${d({color:"neutral.0"})}
|
|
25
|
-
opacity: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* Shows the check when the native input is :checked */
|
|
29
|
-
& > ${i}:checked ~ ${t} > ${l} {
|
|
30
|
-
opacity: 1;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
${y}
|
|
34
|
-
${C}
|
|
35
|
-
`;import c from"react";var u=n(({label:o=null,labelProps:e,variant:r="default",...p})=>c.createElement(k,{variant:r,disabled:p.disabled},c.createElement(i,{...p,type:"checkbox",hidden:!0}),c.createElement(t,null,c.createElement(m,{icon:f,size:"small"})),typeof o=="string"?c.createElement(h,{fontSize:"small",color:"neutral.180",...e},o):o),"CheckboxComponent");u.displayName="Checkbox";export{i as a,t as b,k as c,u as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as d,b as N,c as m,d as S,e as P}from"./chunk-TQJTHPA3.esm.js";import{p as I}from"./chunk-BV6GHAF7.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";var E=N("oklch"),X=N("rgb");function i(t,e,n){var s;let r=d(t),o=d(e);if(!r||!o)return t;let a=P([r,o],"oklch");return(s=m(a(n)))!=null?s:t}c(i,"mixOklch");function x(t){return t?typeof t=="string"?t:t.base:"#000"}c(x,"coerceToHex");var q=I(t=>{var a,s,l;let e=X(d(t));if(!e)return"0,0,0";let n=Math.round(((a=e.r)!=null?a:0)*255),r=Math.round(((s=e.g)!=null?s:0)*255),o=Math.round(((l=e.b)!=null?l:0)*255);return`${n},${r},${o}`});function K(t){var o,a;let e=x(t),n=E(d(e));if(!n)return e;let r={...n,h:(((o=n.h)!=null?o:0)+180)%360};return(a=m(r))!=null?a:e}c(K,"getOppositeColor");var F=4.5;function T(t,e){let n=d(x(t)),r=d(x(e));return!n||!r?1:S(n,r)}c(T,"contrastRatio");var L=I((t,e,n=F)=>{var l,g,p,u;let r=x(t),o=d(x(e)),a=E(d(r));if(!o||!a)return r;let s=T("#fff",e)>=T("#000",e)?.04:-.04;for(let f=0;f<25;f+=1){let C=(l=m(a))!=null?l:r,h=d(C);if(h&&S(h,o)>=n)return C;let b=Math.min(1,Math.max(0,((g=a.l)!=null?g:0)+s));if(b===((p=a.l)!=null?p:0))break;a={...a,l:b}}return(u=m(a))!=null?u:r});function G(t,e){return t?typeof t=="string"?t:t[e||"base"]:"black"}c(G,"getColor");var Q=I((t,e)=>{let n=G(t);if(!d(n))return n;let r=i(n,"#000",.6),o=e||"#FFFFFF",a=T(r,n)>=T(o,n)?r:o;return T(a,n)>=F?a:T("#000000",n)>=T("#FFFFFF",n)?"#000000":"#FFFFFF"}),$=["main","opposite","complementary","primary","secondary","tertiary","success","danger","warning","information"],j=[120,130,140,150,160,170,180];function V(t,{surface:e,minRatio:n=F}={}){var s,l,g,p;let r=(l=e!=null?e:(s=t.neutral)==null?void 0:s["10"])!=null?l:"#FFFFFF",o={};for(let u of $){let f=(g=t[u])==null?void 0:g.base;f&&(o[u]=L(f,r,n))}let a={};for(let u of j){let f=(p=t.neutral)==null?void 0:p[u];f&&(a[u]=L(f,r,n))}return{palettes:o,neutral:a}}c(V,"createReadableTextLayer");var D={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]}},M={light:{muted:10},dark:{muted:170}};function Y(t){var s,l;let e=v(t.baseLight),n=e?D.dark:D.light,r=t.neutral,o=(s=r==null?void 0:r[n.fill])!=null?s:e?"#2a3140":"#eef1f4",a=(l=r==null?void 0:r[n.colorCandidates[0]])!=null?l:o;for(let g of n.colorCandidates){let p=r==null?void 0:r[g];if(p&&T(p,o)>=F){a=p;break}}return{fill:o,color:a}}c(Y,"resolveDisabledNeutral");function Z(t){var o;let e=v(t.baseLight),n=e?M.dark:M.light,r=t.neutral;return{muted:(o=r==null?void 0:r[n.muted])!=null?o:e?"#2a3140":"#eef1f4"}}c(Z,"resolveStructuralNeutrals");var R=1.3,z=.05,O=.04;function _(t){var n;let e=E(d(t));return e?(n=e.l)!=null?n:0:null}c(_,"oklchLightness");function B(t,e){if(T(t,e)>=R)return!0;let n=_(t),r=_(e);return n!==null&&r!==null&&Math.abs(n-r)>=z}c(B,"isPerceptibleState");function v(t){return t?T("#fff",t)>T("#000",t):!1}c(v,"isDarkSurface");function U(t,e,n){var s,l,g,p;let r=E(d(t));if(!r)return null;let o={...r,l:(s=n!=null?n:r.l)!=null?s:0},a=e?O:-O;for(let u=0;u<25;u+=1){let f=Math.min(1,Math.max(0,((l=o.l)!=null?l:0)+a));if(f===((g=o.l)!=null?g:0))break;o={...o,l:f};let C=m(o);if(C&&T(t,C)>=R)return C}return(p=m(o))!=null?p:null}c(U,"derivePerceptibleState");function H(t,e,n){let r=U(t,e,n);if(r&&T(t,r)>=R)return r;let o=U(t,!e);return o&&T(t,o)>=R?o:r!=null?r:o}c(H,"perceptibleStateFor");function y(t,e){var l,g,p,u,f,C,h,b;let n=typeof t=="object"&&t!==null?t:void 0,r=x(t),o=e.deepDark,a=e.deepLight,s={base:r,dark:i(r,o,.6),action:i(r,o,.2),active:i(r,a,.6),light:i(r,a,.9),onLight:r};if(d(r)){let A=v(e.baseLight),k=B(r,s.action);if(k||(s.action=(l=H(r,A))!=null?l:s.action),!B(r,s.active)){let w=k?void 0:(g=_(s.action))!=null?g:void 0;s.active=(p=H(r,A,w))!=null?p:s.active}}if(s.onLight=L(s.action,s.light),n){let A=(u=n.action)!=null?u:s.action,k=(f=n.light)!=null?f:s.light;return{base:r,dark:(C=n.dark)!=null?C:s.dark,action:A,active:(h=n.active)!=null?h:s.active,light:k,onLight:(b=n.onLight)!=null?b:L(A,k)}}return s}c(y,"mountSingleColor");function tt(t){let e=t.deepLight,n=t.deepDark;return{0:e,5:i(e,n,.05),10:i(e,n,.1),20:i(e,n,.2),30:i(e,n,.3),40:i(e,n,.4),50:i(e,n,.5),60:i(e,n,.6),70:i(e,n,.7),80:i(e,n,.8),90:i(e,n,.9),100:i(e,n,1)}}c(tt,"mountGreyscaleColors");function et(t){let e=t.deepLight,n=t.deepDark,r=typeof t.primary=="object"&&t.primary?t.primary.base:t.primary,o=c(s=>1/17*(s-1),"interpolation"),a=i(r,n,.5);return{0:i(a,e,o(18)),5:i(a,e,o(17.5)),10:i(a,e,o(17)),20:i(a,e,o(16)),30:i(a,e,o(15)),40:i(a,e,o(14)),50:i(a,e,o(13)),60:i(a,e,o(12)),70:i(a,e,o(11)),80:i(a,e,o(10)),90:i(a,e,o(9)),100:i(a,e,o(8)),110:i(a,e,o(7)),120:i(a,e,o(6)),130:i(a,e,o(5)),140:i(a,e,o(4)),150:i(a,e,o(3)),160:i(a,e,o(2)),170:a,180:i(a,n,.25)}}c(et,"mountNeutralColors");function nt(t){return{main:y(t.main,t),opposite:y(t.opposite,t),complementary:y(t.complementary,t)}}c(nt,"mountBaseColors");function rt(t){return{danger:y(t.danger,t),information:y(t.information,t),success:y(t.success,t),warning:y(t.warning,t)}}c(rt,"mountActionColors");function ot(t){return{primary:y(t.primary,t),secondary:y(t.secondary,t),tertiary:y(t.tertiary,t)}}c(ot,"mountMainColors");export{q as a,K as b,F as c,L as d,G as e,Q as f,$ as g,j as h,V as i,D as j,M as k,Y as l,Z as m,R as n,z as o,y as p,tt as q,et as r,nt as s,rt as t,ot as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./chunk-YRBM4WYM.esm.js";import{b as t}from"./chunk-G5Z7USXC.esm.js";import{g as d}from"./chunk-APD22JEO.esm.js";import{a as g}from"./chunk-GZONWSRB.esm.js";import w,{forwardRef as N,useCallback as L,useLayoutEffect as U,useRef as y,useState as Y}from"react";var h=(()=>{if(typeof window=="undefined")return 15;let o=t.document.createElement("div"),i=t.document.createElement("div");o.style.overflow="scroll",o.style.width="100%",i.style.width="100%",t.document.body.appendChild(o),o.appendChild(i);let x=o.offsetWidth-i.offsetWidth;return o.removeChild(i),t.document.body.removeChild(o),x})(),b=h?h+1:20;var I=d(f).withConfig({componentId:"sc-wsu612-0"})(["flex:1;height:100%;overflow:hidden;"]),R=d(f).withConfig({componentId:"sc-wsu612-1"})(["height:100%;box-sizing:border-box;overflow-y:scroll;"]),C=d(f).withConfig({componentId:"sc-wsu612-2"})(["position:absolute;top:0;right:2px;cursor:pointer;user-select:none;width:6px;min-height:30px;max-height:100%;background:rgba(0,0,0,0.4);opacity:0;transition:opacity 0.25s ease-in;z-index:1;"]),D=d(f).withConfig({componentId:"sc-wsu612-3"})(["flex:1;display:flex;overscroll-behavior:auto;overflow:hidden;&:hover ","{opacity:0.75;}"],C);var j=N(({children:o,onScroll:i,style:x,scrollableRef:p,...k},M)=>{let[m,W]=Y(1),c=y(null),u=y(null),S=y(0),T=y({}),O=L(n=>{c.current=n,typeof p=="function"?p(n):p&&(p.current=n)},[p]);U(()=>{let n=c.current,e,r=g(()=>{cancelAnimationFrame(e),e=requestAnimationFrame(()=>{var s;if(n){let{clientHeight:l,scrollHeight:a}=n;W(l/a),T.current={clientHeight:l,scrollHeight:a,trackHeight:(s=u==null?void 0:u.current)==null?void 0:s.clientHeight}}})},"updateScrollbar");return t.addEventListener("resize",r),r(),()=>{cancelAnimationFrame(e),t.removeEventListener("resize",r)}},[c,o]);let P=L(n=>{if(i&&i(n),m===1)return;let e=c.current,r=u.current;cancelAnimationFrame(S.current),S.current=requestAnimationFrame(()=>{let{clientHeight:s,scrollHeight:l,trackHeight:a}=T.current,v=e.scrollTop/(l-s)*(s-a);r&&(r.style.transform=`translateY(${v}px)`)})},[c,m,i]),F=L(n=>{let e=c.current,r,s=n.pageY,l=(e==null?void 0:e.scrollTop)||0,a=g(({pageY:v})=>{cancelAnimationFrame(r),r=requestAnimationFrame(()=>{let q=v-s;l+=q/m,s=v,e&&(e.scrollTop=l)})},"drag"),A=g(()=>{t.removeEventListener("mousemove",a)},"stop");t.addEventListener("mousemove",a),t.addEventListener("mouseup",A,{once:!0})},[c,m]),E=!!h,H=E?b:0,_={style:{marginRight:`-${H}px`}},B={...x,paddingRight:H},$={onScroll:P,ref:O,tabIndex:0,style:{width:`calc(100% + ${h}px)`,overflowX:"hidden"}},z={ref:u,onMouseDown:F,style:{height:`${m*100}%`,display:m===1?"none":void 0}};return w.createElement(D,{...k,style:B,ref:M},w.createElement(I,{..._},w.createElement(R,{...$},o)),E&&w.createElement(C,{round:"micro",...z}))});j.displayName="CustomScroll";export{j as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as M,b as T}from"./chunk-KHEBUAB4.esm.js";import{c as z}from"./chunk-KYIPVR2T.esm.js";import{ga as E}from"./chunk-H2KVPACE.esm.js";import{a as B,b as A}from"./chunk-5SQH2W2J.esm.js";import{e as g}from"./chunk-UNM6DHPD.esm.js";import{a as I,d as h}from"./chunk-KASRN4X5.esm.js";import{a as w}from"./chunk-BMGVQBTB.esm.js";import{a as P,b as W}from"./chunk-6OXVRDS2.esm.js";import{a as s}from"./chunk-CLDPV7NK.esm.js";import{c as u}from"./chunk-G5Z7USXC.esm.js";import{b as S,c as k,g as a}from"./chunk-APD22JEO.esm.js";import{a as e}from"./chunk-GZONWSRB.esm.js";var U=k(["0%{width:0;}100%{width:100%;}"]),y=a(s).withConfig({componentId:"sc-6lckl1-0"})(["--time:15;width:0;height:0.25rem;background-color:var(--baseColor);animation:"," calc(var(--time,15) * 1s) normal forwards;"],U),V=a(s).withConfig({componentId:"sc-6lckl1-1"})(["position:absolute;top:0.25rem;left:0.5rem;right:0.5rem;"]);function _({variant:o,theme:r}){let i=r.colors[o];return S(["--baseColor:",";--lightColor:",";--darkColor:",";--activeColor:",";--actionColor:",";position:relative;background-color:var(--lightColor);border-color:var(--baseColor);","{color:var(--darkColor);}& ","{width:intrinsic;color:var(--darkColor);&:hover{background:var(--activeColor);}&:active ","{color:var(--actionColor);}}&:hover ","{animation-play-state:paused;}"],i.base,i.light,i.dark,i.active,i.action,I,M,B,y)}e(_,"getWrapperStyle");var b=a(W).withConfig({componentId:"sc-6lckl1-2"})(_);b.displayName="div";var j=a(s).withConfig({componentId:"sc-6lckl1-3"})(["color:var(--darkColor);svg{width:2rem;height:2rem;}"]);import t,{useEffect as q,useState as H}from"react";import{createPortal as J}from"react-dom";var F=e(({type:o="block",variant:r="primary",visible:i=!0,closable:m=!0,autoClose:l=null,message:n=null,action:f=null,icon:v=null,link:C,onDismiss:c,closeLabel:$="Fechar notifica\xE7\xE3o",...p})=>{let{isMobile:N}=g(),G=e(()=>{let d=f;return typeof f=="function"&&(d=f({close:c})),d?t.cloneElement(d,{color:r,alignSelf:"center",justifySelf:"center"}):null},"renderActionButton"),L=e(()=>typeof n=="function"?n({close:c}):typeof n=="string"?t.createElement(h,{text:n,variant:"p",fontSize:"xs"}):n,"renderMessage"),x=r==="danger",Q=x?"alert":"status";return i?t.createElement(b,{p:"medium",pr:9,round:N?0:"xs",borderWidth:N?"none":"thin",borderStyle:"solid",variant:r,"data-testid":`notification-${o}`,role:Q,"aria-live":x?"assertive":"polite","aria-atomic":"true",...p},l&&t.createElement(V,null,t.createElement(y,{round:"micro",style:{"--time":l},onAnimationEnd:c})),t.createElement(w,{contentGap:"medium",opener:v&&t.createElement(j,{pt:"xs",alignSelf:"start"},v),closer:G()},p.title&&t.createElement(h,{text:p.title,variant:"h3",fontSize:"small",fontWeight:"stronger",type:"mobile"}),L(),C&&t.createElement(z,{...C,target:"_blank"})),m&&t.createElement(T,{p:"xs",borderWidth:"none",icon:t.createElement(A,{size:"small",icon:E}),"aria-label":$,variant:"linked",onClick:c,alignSelf:"start",position:"absolute",right:"0.5rem",top:"0.5rem"})):null},"BaseNotification"),K=e(o=>{let{isMobile:r}=g(),[i,m]=H(!1);q(()=>{m(!0)},[]);let l=o.pagePosition==="top"?{top:0}:{bottom:0};if(!i||!u)return null;let n=o.visible!==!1;return J(t.createElement(P,null,n?t.createElement(F,{...o,initial:{y:"-100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"-100%",opacity:0},style:{...l,zIndex:1e3,margin:r?0:"1rem",position:"fixed",right:0,left:0}}):null),u)},"PageNotification"),O=e(o=>o.type==="page"?t.createElement(K,{...o}):t.createElement(F,{...o}),"NotificationComponent");O.displayName="Notification";export{y as a,V as b,b as c,j as d,O as e};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{b as f}from"./chunk-73MPQ5OY.esm.js";import{e as m}from"./chunk-UNM6DHPD.esm.js";import{a as i}from"./chunk-CLDPV7NK.esm.js";import{g as e}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";var a={xs:{columns:"100%",rows:"100%",areas:`
|
|
2
|
-
"content"
|
|
3
|
-
`}};var n=e(f).attrs({medias:a}).withConfig({componentId:"sc-11xb4nx-0"})(["width:100%;height:100%;"]);import r from"react";var s=o(({layoutComponents:t})=>{let{isMobile:p}=m();return r.createElement(n,null,r.createElement(i,{area:"content",width:"100%",justifyContent:p?"center":void 0},t&&t.content&&r.createElement(t.content,null)))},"DefaultLayout");s.displayName="DefaultLayout";export{a,n as b,s as c};
|