@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
package/README.md
CHANGED
|
@@ -1,14 +1,28 @@
|
|
|
1
1
|
# @apollion-dsi/core
|
|
2
2
|
|
|
3
|
-
React component library of the **Apollion Design System** — 50+
|
|
4
|
-
|
|
5
|
-
light
|
|
3
|
+
The React component library of the **Apollion Design System** — 50+ typed,
|
|
4
|
+
accessible components with an engine-driven dark mode: one color config derives
|
|
5
|
+
light **and** dark, and every tonal pair is WCAG AA legible by construction.
|
|
6
6
|
|
|
7
7
|
[](https://www.npmjs.com/package/@apollion-dsi/core)
|
|
8
|
+
[](https://www.npmjs.com/package/@apollion-dsi/core)
|
|
9
|
+
[](https://www.npmjs.com/package/@apollion-dsi/core)
|
|
10
|
+
|
|
11
|
+
- **Accessible by construction.** Color pairs meet WCAG AA automatically, and
|
|
12
|
+
every component passes an axe sweep (`wcag2a` + `wcag2aa`) with zero
|
|
13
|
+
violations.
|
|
14
|
+
- **Engine-driven dark mode.** One `colors` config derives both modes as
|
|
15
|
+
`light-dark()` pairs switched on `<html>` — no re-render, no flash. A11y
|
|
16
|
+
presets (grayscale, high-contrast, colorblind-safe) are an independent axis.
|
|
17
|
+
- **Config-first theming.** `createTheme` resolves semantic tokens and a
|
|
18
|
+
per-component token tier; override one field without forking a component.
|
|
19
|
+
- **Tree-shakeable.** Import from granular subpaths so a consumer only bundles
|
|
20
|
+
what it renders — animation helpers stay behind their own subpath.
|
|
21
|
+
- **Strictly typed.** Ships its own types; every prop is documented.
|
|
8
22
|
|
|
9
23
|
## Installation
|
|
10
24
|
|
|
11
|
-
`react`, `react-dom
|
|
25
|
+
`react`, `react-dom`, and `styled-components` are **peer dependencies** —
|
|
12
26
|
install them alongside the package:
|
|
13
27
|
|
|
14
28
|
```bash
|
|
@@ -21,124 +35,83 @@ yarn add @apollion-dsi/core react react-dom styled-components
|
|
|
21
35
|
| `react-dom` | `^19.0.0` |
|
|
22
36
|
| `styled-components` | `^6.0.0` |
|
|
23
37
|
|
|
24
|
-
##
|
|
25
|
-
|
|
26
|
-
Since **v4** the root barrel **does not re-export** the components. The only
|
|
27
|
-
symbol in `@apollion-dsi/core` is `APOLLION_CORE_VERSION`.
|
|
28
|
-
Always import from granular subpaths — this enables per-component
|
|
29
|
-
tree-shaking:
|
|
30
|
-
|
|
31
|
-
```ts
|
|
32
|
-
import { ApollionProvider, createTheme } from '@apollion-dsi/core/themes';
|
|
33
|
-
import { Button } from '@apollion-dsi/core/elements/button';
|
|
34
|
-
import { Flex } from '@apollion-dsi/core/containers/flex';
|
|
35
|
-
|
|
36
|
-
// ❌ Not available since v4
|
|
37
|
-
import { Button } from '@apollion-dsi/core';
|
|
38
|
-
```
|
|
38
|
+
## Quick start
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
animated components never pull `framer-motion` into their bundle.
|
|
43
|
-
|
|
44
|
-
## Minimal setup
|
|
45
|
-
|
|
46
|
-
Wrap your application with `ApollionProvider` (which also mounts the
|
|
47
|
-
`ThemeProvider` and the `NotificationsProvider`):
|
|
40
|
+
Wrap your app in `ApollionProvider` (it also mounts the theme and notifications
|
|
41
|
+
providers) and render a component:
|
|
48
42
|
|
|
49
43
|
```tsx
|
|
50
44
|
import { createRoot } from 'react-dom/client';
|
|
51
45
|
import { ApollionProvider } from '@apollion-dsi/core/themes';
|
|
52
|
-
import {
|
|
46
|
+
import { Button } from '@apollion-dsi/core/elements/button';
|
|
53
47
|
|
|
54
48
|
createRoot(document.getElementById('root')!).render(
|
|
55
49
|
<ApollionProvider>
|
|
56
|
-
<
|
|
50
|
+
<Button>Get started</Button>
|
|
57
51
|
</ApollionProvider>,
|
|
58
52
|
);
|
|
59
53
|
```
|
|
60
54
|
|
|
61
|
-
##
|
|
62
|
-
|
|
63
|
-
| Category | Components |
|
|
64
|
-
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
65
|
-
| **Elements** | `Avatar`, `Button`, `Calendar`, `Dropdown`, `Icon`, `IconButton`, `Image`, `Label`, `Link`, `List`, `Modal`, `Popover`, `ProgressBar`, `Spinner`, `Svg`, `Text`, `Tooltip` |
|
|
66
|
-
| **Containers** | `Base`, `Card`, `Content`, `Flex`, `Grid`, `Motion`, `Notification`, `Paper`, `Scroll` |
|
|
67
|
-
| **Form** | `Checkbox`, `Field`, `FieldGroup`, `Form`, `Input`, `InputCurrency`, `InputDate`, `InputMask`, `InputRange`, `InputSelect`, `Radio`, `Select`, `Switch`, `TextArea`, `UploadCard` |
|
|
68
|
-
| **Data Display** | `DataTable`, `DescriptionList`, `Meter`, `Table`, `Tabs` |
|
|
55
|
+
## Documentation
|
|
69
56
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
and the granular theme scales under `themes/*`.
|
|
57
|
+
- **Docs & live examples:** <https://www.apollion.com.br>
|
|
58
|
+
- **Changelog:** <https://www.apollion.com.br/changelog>
|
|
73
59
|
|
|
74
|
-
##
|
|
60
|
+
## Imports (subpaths only)
|
|
75
61
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
shadows) via styled-components props:
|
|
62
|
+
The root barrel exports only `APOLLION_CORE_VERSION`. Always import from granular
|
|
63
|
+
subpaths — this is what enables per-component tree-shaking:
|
|
79
64
|
|
|
80
|
-
```
|
|
81
|
-
import {
|
|
65
|
+
```ts
|
|
66
|
+
import { ApollionProvider, createTheme } from '@apollion-dsi/core/themes';
|
|
67
|
+
import { Button } from '@apollion-dsi/core/elements/button';
|
|
82
68
|
import { Flex } from '@apollion-dsi/core/containers/flex';
|
|
83
69
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
Content
|
|
87
|
-
</Text>
|
|
88
|
-
</Flex>;
|
|
70
|
+
// Not available — the root barrel re-exports nothing:
|
|
71
|
+
// import { Button } from '@apollion-dsi/core';
|
|
89
72
|
```
|
|
90
73
|
|
|
91
|
-
|
|
74
|
+
Animation helpers live behind `@apollion-dsi/core/containers/motion`, so
|
|
75
|
+
consumers that never import animated components never pull `framer-motion` into
|
|
76
|
+
their bundle.
|
|
92
77
|
|
|
93
|
-
|
|
94
|
-
(`theme.component.*`): each component's themeable size decisions are named,
|
|
95
|
-
enumerable theme values. Override one field of one size without forking the
|
|
96
|
-
component:
|
|
78
|
+
## Components
|
|
97
79
|
|
|
98
|
-
|
|
99
|
-
|
|
80
|
+
| Category | Components |
|
|
81
|
+
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
82
|
+
| **Elements** | `Avatar`, `Button`, `Calendar`, `Divider`, `Dropdown`, `Icon`, `IconButton`, `IconText`, `Image`, `Label`, `Link`, `List`, `Modal`, `Popover`, `ProgressBar`, `Spinner`, `Svg`, `Text`, `Tooltip` |
|
|
83
|
+
| **Containers** | `Base`, `Card`, `Content`, `Flex`, `Grid`, `Motion`, `Notification`, `Paper`, `Scroll` |
|
|
84
|
+
| **Form** | `Checkbox`, `Field`, `FieldGroup`, `Form`, `Input`, `InputCurrency`, `InputDate`, `InputMask`, `InputRange`, `InputSelect`, `Option`, `Radio`, `Select`, `Switch`, `TextArea`, `UploadCard` |
|
|
85
|
+
| **Data Display** | `DataTable`, `DescriptionList`, `Meter`, `Steps`, `Table`, `Tabs` |
|
|
100
86
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
<ApollionProvider theme={theme}>...</ApollionProvider>;
|
|
106
|
-
```
|
|
87
|
+
Also available: `layouts/*`, `skeleton/*` and `scenario/*` (loading
|
|
88
|
+
placeholders), `icons`, `hooks`, `utils`, `factory`, and the theme scales under
|
|
89
|
+
`themes/*`.
|
|
107
90
|
|
|
108
|
-
|
|
91
|
+
## Theming
|
|
109
92
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
93
|
+
Build a theme with `createTheme` and pass it to `ApollionProvider`. Components
|
|
94
|
+
consume semantic tokens (colors, spacing, typography, borders, shadows) as
|
|
95
|
+
props:
|
|
113
96
|
|
|
114
97
|
```tsx
|
|
115
|
-
|
|
116
|
-
colors: { baseDark: '#FCFCFC', baseLight: '#26292E', deepDark: '#FFF', deepLight: '#000' },
|
|
117
|
-
});
|
|
98
|
+
import { ApollionProvider, createTheme } from '@apollion-dsi/core/themes';
|
|
118
99
|
|
|
119
|
-
|
|
100
|
+
// One config derives light + dark; `defaultMode="system"` follows the OS.
|
|
101
|
+
const theme = createTheme({ colors: { main: '#003750' } });
|
|
102
|
+
|
|
103
|
+
<ApollionProvider theme={theme} defaultMode="system" persist="localStorage">
|
|
120
104
|
...
|
|
121
105
|
</ApollionProvider>;
|
|
122
106
|
```
|
|
123
107
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
- Tonal color pairs are WCAG AA legible **by construction** — contrast
|
|
127
|
-
helpers (`getContrastColor`, `readableColor`) guarantee a readable ink for
|
|
128
|
-
any background, in both themes.
|
|
129
|
-
- Every Storybook story passes the semantic axe sweep (`wcag2a` +
|
|
130
|
-
`wcag2aa`) with zero violations.
|
|
131
|
-
|
|
132
|
-
## Documentation
|
|
133
|
-
|
|
134
|
-
- **Official documentation:** <https://www.apollion.com.br>
|
|
135
|
-
- **Changelog:** <https://www.apollion.com.br/changelog>
|
|
108
|
+
Full theming and dark-mode guides: <https://www.apollion.com.br/docs/concept-dark-mode/>
|
|
136
109
|
|
|
137
110
|
## Lineage & Acknowledgements
|
|
138
111
|
|
|
139
|
-
Apollion (2020) and DEX (2018) were built in collaboration between
|
|
140
|
-
|
|
141
|
-
|
|
112
|
+
Apollion (2020) and DEX (2018) were built in collaboration between **Fernando
|
|
113
|
+
Balves** (author) and **Fernando Poe** (co-author / Design Manager). The
|
|
114
|
+
intuition of semantic tokens, generative palettes, and the separation of
|
|
142
115
|
intent ⇄ implementation was born from that joint work.
|
|
143
116
|
|
|
144
117
|
**[Aplica DS](https://aplica.me/en/)** (2025), by Fernando Poe, is the public,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as a}from"./chunk-UIZHH3IZ.esm.js";import"./chunk-NBQ34TTP.esm.js";import"./chunk-2ROOI4B2.esm.js";import"./chunk-4UWZA5FD.esm.js";import"./chunk-KQQ7V7VG.esm.js";import"./chunk-NDIYF5SX.esm.js";import"./chunk-A3OJEVGQ.esm.js";import"./chunk-KR2X2UQG.esm.js";import"./chunk-BE2JDTVA.esm.js";import"./chunk-2FQC32AA.esm.js";import"./chunk-6AF7EOSR.esm.js";import"./chunk-SPHHNZVP.esm.js";import"./chunk-3QSPHURU.esm.js";import"./chunk-IRZ4UB35.esm.js";import"./chunk-H2KVPACE.esm.js";import"./chunk-23T5Y5P7.esm.js";import"./chunk-NFEJI3EH.esm.js";import"./chunk-AFFGRIAY.esm.js";import"./chunk-VROT2JQQ.esm.js";import"./chunk-UBIEAIXU.esm.js";import"./chunk-5Q265MC7.esm.js";import"./chunk-3V3ZEGHO.esm.js";import"./chunk-PUP76STF.esm.js";import"./chunk-MUI7DBJO.esm.js";import"./chunk-EBOJSNZ5.esm.js";import"./chunk-3BR5YHOT.esm.js";import"./chunk-HPM5AX5Z.esm.js";import"./chunk-2XTVIQMG.esm.js";import"./chunk-4ZHLV35P.esm.js";import"./chunk-4L2KOZIQ.esm.js";import{d as s}from"./chunk-6KLI7VMF.esm.js";import"./chunk-YJHYFCT7.esm.js";import"./chunk-TLIKQFOT.esm.js";import"./chunk-IA234JY2.esm.js";import"./chunk-TG5BCBO4.esm.js";import"./chunk-CCONLRLQ.esm.js";import"./chunk-6XX3UO2Y.esm.js";import"./chunk-KT6QQ3UJ.esm.js";import"./chunk-BERIBF3O.esm.js";import"./chunk-YZQXTNVA.esm.js";import"./chunk-Z7GJDO5T.esm.js";import"./chunk-P7RR4ZHS.esm.js";import"./chunk-JOKVE3IX.esm.js";import"./chunk-CWRWYU7D.esm.js";import"./chunk-PFLBU7HG.esm.js";import"./chunk-IPANNHV3.esm.js";import"./chunk-3DUB5C4Z.esm.js";import"./chunk-HATBJ5OR.esm.js";import"./chunk-3TVX6V2P.esm.js";import"./chunk-Q5ET2AY3.esm.js";import"./chunk-RLDFMPSZ.esm.js";import{a as r,b as m}from"./chunk-I6HAFAKY.esm.js";import"./chunk-7L77BJCX.esm.js";import{a as o}from"./chunk-HEZGD5NN.esm.js";import"./chunk-PJQ3IZE7.esm.js";import"./chunk-5OE3KRLX.esm.js";import"./chunk-VMIXRIQ2.esm.js";import"./chunk-N6TVSSCE.esm.js";import"./chunk-RWLJNXLX.esm.js";import"./chunk-NZ67MJX5.esm.js";import"./chunk-BNB3KNKE.esm.js";import"./chunk-OXQA5WD3.esm.js";import"./chunk-5HBSIYOZ.esm.js";import"./chunk-RNL7RFJK.esm.js";import"./chunk-JQ66DKSQ.esm.js";import"./chunk-QYL6LECA.esm.js";import"./chunk-GNQ43LWP.esm.js";import"./chunk-WI3WPCW3.esm.js";import"./chunk-IK5Z5C2R.esm.js";import"./chunk-YC44Q5HI.esm.js";import"./chunk-BFABFZI7.esm.js";import"./chunk-U525YXTZ.esm.js";import"./chunk-STSRIPD6.esm.js";import"./chunk-XVPUSCK5.esm.js";import"./chunk-BV6GHAF7.esm.js";import{c as i}from"./chunk-G5Z7USXC.esm.js";import"./chunk-AXUWC2WH.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}=s(),[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(a,{...u,visible:!0,closable:!0,onDismiss:()=>p(e)})))))),i)},"NotificationGroup"),W=C;export{W as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as f}from"./chunk-
|
|
1
|
+
import{e as f}from"./chunk-NFEJI3EH.esm.js";import{b as C}from"./chunk-AFFGRIAY.esm.js";import{a as u}from"./chunk-HEZGD5NN.esm.js";import{a as I,k as d,l as g}from"./chunk-BV6GHAF7.esm.js";import{g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";var s=h(u).withConfig({componentId:"sc-l15crp-0"})(({theme:t,size:o})=>({fontSize:o?t.spacing(o):"inherit",display:"inline-block",lineHeight:0,"& svg":{stroke:"currentColor",fill:"currentColor",strokeWidth:0,"& g":{fill:"currentColor"}}}));import r,{forwardRef as p,useEffect as v,useState as w}from"react";function y(t,o){if(typeof window!="undefined")try{window.fetch(t).then(e=>e.text()).then(e=>d(e,"svg")).then(g).then(o)}catch(e){I.warn(`[ICON] Failed to load icon from: ${t}`)}}i(y,"getIconFromUrl");var R=i((t,o)=>r.cloneElement(t,o),"createIcon"),E=p(({icon:t,iconProps:o,svgProps:e,children:n,...m},l)=>{let a=i(()=>{let c=null;return n?c=R(n,e):t?c=r.createElement(f,{...t,...e}):o&&(c=f(e)),c},"getIcon");return r.createElement(s,{...m,ref:l},a())}),P=p(({title:t,src:o,svgProps:e,...n},m)=>{let[l,a]=w(()=>r.createElement(C,{height:"1em",width:"1em",alt:t}));return v(()=>{y(o,c=>{a(R(c,e))})},[o]),r.createElement(s,{...n,ref:m},l)}),S=p(({title:t,...o},e)=>{let n={...o.iconProps||{},title:t,stroke:"currentColor",fill:"currentColor",strokeWidth:"0",height:"1em",width:"1em"};return o.src?r.createElement(P,{...o,svgProps:n,ref:e}):r.createElement(E,{...o,svgProps:n,ref:e})});S.displayName="Icon";export{s as a,S as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as H}from"./chunk-3XGXC5CQ.esm.js";import{c as E}from"./chunk-IRZ4UB35.esm.js";import{o as F}from"./chunk-H2KVPACE.esm.js";import{b as j}from"./chunk-23T5Y5P7.esm.js";import{a as d}from"./chunk-MUI7DBJO.esm.js";import{a as l}from"./chunk-7L77BJCX.esm.js";import{a as x}from"./chunk-HEZGD5NN.esm.js";import{a as T}from"./chunk-YC44Q5HI.esm.js";import{k as z}from"./chunk-XVPUSCK5.esm.js";import{b as M,g as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import o,{forwardRef as N}from"react";var D=i((e,t)=>z(e.colors[t],"base"),"literalStop"),y=i((e,t)=>T(e,n=>D(n,t)),"stop"),L=i((e,t)=>T(e,n=>{var a,c,f;return(f=(c=(a=n.colors).getContrastColor)==null?void 0:c.call(a,D(n,t)))!=null?f:n.colors.ink.primary}),"inkOn"),W=i((e,t)=>{switch(t){case"complete":return{fill:y(e,"success"),ink:L(e,"success")};case"current":return{fill:y(e,"primary"),ink:L(e,"primary")};case"next":return{fill:e.colors.surface.raised,ink:e.colors.ink.primary};default:return{fill:e.colors.surface.sunken,ink:e.colors.ink.disabled}}},"badgePaint"),k=h(l).withConfig({componentId:"sc-1bjowjb-0"})(["width:",";height:",";flex:0 0 auto;border-radius:",";background:",";color:",";box-shadow:",";transition:",";"],({$size:e})=>e,({$size:e})=>e,({theme:e})=>e.border.borderRadius.circular,({theme:e,$status:t})=>W(e,t).fill,({theme:e,$status:t})=>W(e,t).ink,({theme:e,$status:t})=>t==="next"?`inset 0 0 0 1px ${e.colors.edge.border}`:"none",({theme:e})=>e.animation.transitions.short),I=h(l).withConfig({componentId:"sc-1bjowjb-1"})(["flex:1 1 0;height:0.25rem;align-self:center;border-radius:",";background:",";"],({theme:e})=>e.border.borderRadius.micro,({theme:e,$done:t})=>t?y(e,"success"):e.colors.edge.hairline),K=M(["cursor:pointer;&:hover ","{box-shadow:",";}"],k,({theme:e})=>e.depth("level-one")),A=h(l).withConfig({componentId:"sc-1bjowjb-2"})(["flex:1 1 0;min-width:0;"," a{text-decoration:none;}&:focus-within ","{outline:2px solid ",";outline-offset:2px;}"],({$actionable:e})=>e&&K,k,({theme:e})=>y(e,"primary"));var $=N(({stepNumber:e,status:t,size:n="2rem",...a},c)=>o.createElement(k,{alignItems:"center",justifyContent:"center",$status:t,$size:typeof n=="number"?`${n}px`:n,...a,ref:c},t==="complete"?o.createElement(j,{icon:F,size:"small",color:"currentColor","aria-hidden":!0}):o.createElement(d,{fontSize:"xs",fontWeight:"bold",lineHeight:"tight",color:"inherit"},e)));$.displayName="StepsBadge";var C=i((e,t,n)=>e.isComplete||t<n?"complete":t===n?"current":e.disabled?"disabled":"next","resolveStepStatus"),Q=i((e,t)=>t==="next"&&!!(e.href||e.to||e.onClick),"isActionable"),U=i((e,t)=>`Passo ${e} de ${t}`,"defaultCounter"),q=N(({steps:e,currentIndex:t=0,linkAs:n,label:a="Etapas",counterLabel:c=U,layout:f="auto",...B},w)=>{let b=e.length,V=e.filter((p,u)=>C(p,u,t)==="complete").length,O=b?Math.round((V+1)/b*100):0,v=i((p={},u)=>{var r;return o.createElement(l,{as:"nav","aria-label":a,gap:"small",width:"100%",...p,ref:u},o.createElement(H,{progress:Math.min(100,O),color:"success",size:"small"}),o.createElement(l,{flexDirection:"row",gap:"small",alignItems:"baseline"},o.createElement(d,{fontSize:"small",fontWeight:"bold",color:"ink.primary"},c(t+1,b)),o.createElement(d,{fontSize:"small",color:"ink.secondary"},(r=e[t])==null?void 0:r.title)))},"mobileVariant"),P=i((p={},u)=>o.createElement(l,{as:"nav","aria-label":a,flexDirection:"row",width:"100%",...p,ref:u},e.map((r,s)=>{let m=C(r,s,t),g=Q(r,m),G=s===b-1,J=o.createElement($,{stepNumber:s+1,status:m}),S;return g&&(r.href||r.to)?S=o.createElement(E,{as:r.to?n:void 0,href:r.href,to:r.to,text:r.title,onClick:r.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:"center"}):g?S=o.createElement(d,{as:"button",type:"button",onClick:r.onClick,fontSize:"xs",fontWeight:"bold",color:"primary",textAlign:"center",bgColor:"transparent",borderWidth:"none",cursor:"pointer",style:{padding:0}},r.title):S=o.createElement(d,{fontSize:"xs",fontWeight:"bold",textAlign:"center",color:m==="disabled"?"ink.disabled":"ink.primary"},r.title),o.createElement(A,{key:`${s}-${r.title}`,$actionable:g,gap:"small",alignItems:"center","aria-current":m==="current"?"step":void 0,"aria-disabled":m==="disabled"||void 0,onClick:g&&!r.href&&!r.to?r.onClick:void 0},o.createElement(l,{flexDirection:"row",alignItems:"center",width:"100%"},o.createElement(I,{$done:s>0&&C(e[s-1],s-1,t)==="complete",style:{visibility:s===0?"hidden":void 0}}),J,o.createElement(I,{$done:m==="complete",style:{visibility:G?"hidden":void 0}})),S)})),"desktopVariant");return f==="mobile"?v(B,w):f==="desktop"?P(B,w):o.createElement(x,{containment:"inline-size",width:"100%",...B,ref:w},o.createElement(x,{cq:{md:{display:"none"}}},v()),o.createElement(x,{display:"none",cq:{md:{display:"block"}}},P()))});q.displayName="Steps";export{W as a,k as b,I as c,A as d,$ as e,C as f,q as g};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t}from"./chunk-TLIKQFOT.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import e from"react";function m(r){return e.createElement("script",{dangerouslySetInnerHTML:{__html:t(r)}})}o(m,"ApollionModeScript");export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{f as i}from"./chunk-6KLI7VMF.esm.js";import{b as r}from"./chunk-TLIKQFOT.esm.js";import{c as a,h as m}from"./chunk-JQ66DKSQ.esm.js";import{a as n}from"./chunk-AXUWC2WH.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import b from"react";import{normalize as s}from"styled-normalize";var c=n([""," *,*::before,*::after{box-sizing:inherit;}html{font-size:100%;color-scheme:light;}html[","='dark']{color-scheme:dark;}"," html,body{margin:0;padding:0;box-sizing:border-box;background-color:",";color:",";","}",";"],s,({$attribute:o=r})=>o,({$system:o,$attribute:e=r})=>o?`@media (prefers-color-scheme: dark) { html:not([${e}]) { color-scheme: dark; } }`:"",({theme:o})=>{var e,t;return(t=(e=o.colors.surface)==null?void 0:e.canvas)!=null?t:o.colors.baseLight},({theme:o})=>{var e,t;return(t=(e=o.colors.ink)==null?void 0:e.primary)!=null?t:o.colors.baseDark},({theme:o})=>Object.entries(m(o,a)).map(([e,t])=>`${e}: ${t};`).join(`
|
|
2
|
+
`),({extend:o})=>o);function p(o){let e=i();return b.createElement(c,{...o,$attribute:e==null?void 0:e.attribute,$system:(e==null?void 0:e.mode)==="system"})}l(p,"GlobalStyle");export{c as a,p as b};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import{b as d}from"./chunk-CEVSZEYI.esm.js";import{a as e}from"./chunk-7L77BJCX.esm.js";import{g as i}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import r from"react";var a={xs:{columns:"1fr",rows:"100%",areas:`
|
|
2
|
+
"content"
|
|
3
|
+
`},md:{columns:"200px 1fr",rows:"100%",areas:`
|
|
4
|
+
"sidebar content"
|
|
5
|
+
`}};var m=i(d).attrs({medias:a}).withConfig({componentId:"sc-191lt0b-0"})(["height:100%;"]);function n({layoutComponents:t}){return r.createElement(m,null,t.sidebar&&r.createElement(e,{area:"sidebar",display:"none",md_display:"flex"},r.createElement(t.sidebar,null)),r.createElement(e,{area:"content",width:"100%",justifyContent:"center",md_justifyContent:"start"},t.content&&r.createElement(t.content,null)))}o(n,"SideBarLayout");n.displayName="SideBarLayout";export{a,m as b,n as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{g as n}from"./chunk-Q5ET2AY3.esm.js";import{a as e}from"./chunk-7L77BJCX.esm.js";import t,{forwardRef as u}from"react";var i=u(({loading:o,opener:f=null,closer:l=null,content:s,contentGap:m="xs",children:p,loadingComponent:r,...x},c)=>t.createElement(e,{flexDirection:"row",justifyContent:"center",alignItems:"center",...x,ref:c},t.createElement(e,{flexDirection:"row",flex:"fluid",alignItems:"center",gap:m,isHidden:o},f,t.createElement(e,{flex:"fluid"},p||s),l),o&&(r!=null?r:t.createElement(n,{"data-testid":"content-spinner",color:"gray.0",position:"absolute"}))));i.displayName="Content";export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b as s,d as t}from"./chunk-
|
|
1
|
+
import{a,b as s,d as t}from"./chunk-IN3Y5P5T.esm.js";import{a as o}from"./chunk-MUI7DBJO.esm.js";import r,{forwardRef as B}from"react";var n=B(({color:m="primary",border:i,size:f="medium",progress:e=0,showProgressLabel:l=!1,...g},P)=>{let p=-100+Number(e),u=Math.min(100,Math.max(0,Number(e)));return r.createElement(t,{color:m,justifyContent:"center",alignItems:"center",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u,...g,ref:P},r.createElement(a,{size:f,border:i},r.createElement(s,{style:{transform:`translateX(${p}%)`}})),l&&r.createElement(o,null,e,"%"))});n.displayName="ProgressBar";export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as t}from"./chunk-MUI7DBJO.esm.js";import{b as p}from"./chunk-6KLI7VMF.esm.js";import{a as r}from"./chunk-7L77BJCX.esm.js";import{a as f}from"./chunk-GZONWSRB.esm.js";import i,{forwardRef as b,useMemo as L}from"react";var T=b(({title:m,contents:d,direction:x="row",itemProps:c,dividers:h=!1,gap:n,...a},u)=>{let l=L(()=>d.map(o=>{var e;return{...o,id:(e=o.id)!=null?e:p()}}),[d]),s=x==="row",w=f(o=>h&&o<l.length-1?{borderPosition:"bottom",borderWidth:"thin",borderColor:"edge.strong"}:void 0,"dividerProps");return i.createElement(r,{ref:u,flexDirection:"column",gap:"small",width:"100%",...a},m&&i.createElement(t,{fontWeight:"bold",lineHeight:"regular"},m),i.createElement(r,{as:"dl",flexDirection:"column",gap:"micro",width:"100%",m:"zero"},l.map(({id:o,key:e,value:g},D)=>i.createElement(r,{key:o,as:"div",width:"100%",flexDirection:s?"row":"column",justifyContent:s?"between":void 0,gap:n!=null?n:s?"medium":"micro",...w(D),...c},i.createElement(t,{as:"dt",fontSize:"xs",lineHeight:"tight",color:"ink.primary"},e),i.createElement(t,{as:"dd",fontSize:"xs",lineHeight:"tight"},g)))))});T.displayName="DescriptionList";export{T as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./chunk-
|
|
1
|
+
import{a as e}from"./chunk-CCONLRLQ.esm.js";import{e as t}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import f from"react";var m=o(({surface:r="positive",children:c})=>{let i=f.useCallback(a=>e(a,r),[r]);return f.createElement(t,{theme:i},c)},"SurfaceProvider");export{m as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as p}from"./chunk-JQ66DKSQ.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var g=["bgColor"],y=a(o=>({theme:c,...t})=>{let n={...o,...t},{bgColor:r}=typeof o=="function"?o(n):n;return r&&{backgroundColor:c.colors(r),...p(c,r)}},"BackgroundFactory");export{g as a,y as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as v}from"./chunk-VMIXRIQ2.esm.js";import{a as b}from"./chunk-N6TVSSCE.esm.js";import{a as s,d as a}from"./chunk-RWLJNXLX.esm.js";import{a as A,b as w}from"./chunk-NZ67MJX5.esm.js";import{a as K,b as S}from"./chunk-BNB3KNKE.esm.js";import{a as h,b as x}from"./chunk-OXQA5WD3.esm.js";import{a as e,b as i}from"./chunk-5HBSIYOZ.esm.js";import{a as p,b as l}from"./chunk-RNL7RFJK.esm.js";import{a as m,b as y}from"./chunk-QYL6LECA.esm.js";import{a as c,b as f}from"./chunk-GNQ43LWP.esm.js";import{a as F,d as g}from"./chunk-WI3WPCW3.esm.js";import{a as d,b as u}from"./chunk-IK5Z5C2R.esm.js";import{g as C}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var n=null,E=t(()=>(n===null&&(n=new Set([...m,...e,...h,...s,...p,...c,...d,...F,...K,...A,"variant","active"])),n),"getCustomPropNames"),P=t(o=>!E().has(o)&&v(o),"shouldForwardProp"),N=new Set(["width","height"]),$=t(o=>N.has(o)||P(o),"shouldForwardDimensionAttrs"),D=t((o=>C(o).withConfig({shouldForwardProp:P})),"styled"),r=t(o=>D(o).withConfig({componentId:`apollion-${o}`})(y({position:"relative"}),g,x,a,i,u,l,f,S,b,w),"buildElement"),j={a:r("a"),div:r("div"),span:r("span"),input:r("input"),button:r("button")};export{P as a,$ as b,D as c,j as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as n}from"./chunk-HATBJ5OR.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";function i({innerWidth:e,innerHeight:t}){return{width:e,height:t}}r(i,"getBoundaries");function a({innerWidth:e},t){return e<t.md}r(a,"checkIsMobile");function p({innerWidth:e},t){return e>=t.md&&e<t.lg}r(p,"checkIsTablet");function u({innerWidth:e},t){return e>=t.lg&&e<t.xl}r(u,"checkIsLaptop");function c({innerWidth:e},t){return e>=t.xl}r(c,"checkIsDesktop");import{useContext as o}from"react";function d(){let e=o(n);if(e===void 0)throw new Error("cant use useMediaQuery hook outside of <BreakpointsProvider />");return e}r(d,"useMediaQuery");export{i as a,a as b,p as c,u as d,c as e,d as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as De,b as xe,c as Ce,d as Oe}from"./chunk-YJHYFCT7.esm.js";import{a as Ee,b as Ne,d as Te,e as Ae,f as Me,g as Se,h as ke,i as z,m as be,p as we,q as Ie}from"./chunk-TLIKQFOT.esm.js";import{a as Le,b as Re}from"./chunk-TG5BCBO4.esm.js";import{a as G}from"./chunk-CCONLRLQ.esm.js";import{b as Ye}from"./chunk-6XX3UO2Y.esm.js";import{b as fe,c as ue}from"./chunk-KT6QQ3UJ.esm.js";import{a as me,b as le}from"./chunk-BERIBF3O.esm.js";import{a as pe}from"./chunk-YZQXTNVA.esm.js";import{b as ve,c as Pe}from"./chunk-P7RR4ZHS.esm.js";import{b as ye}from"./chunk-JOKVE3IX.esm.js";import{a as he}from"./chunk-PFLBU7HG.esm.js";import{a as de}from"./chunk-IPANNHV3.esm.js";import{a as ae}from"./chunk-3DUB5C4Z.esm.js";import{b as Fe}from"./chunk-HATBJ5OR.esm.js";import{a as ie}from"./chunk-VMIXRIQ2.esm.js";import{b as te,c as re,d as ne}from"./chunk-YC44Q5HI.esm.js";import{c as oe}from"./chunk-BFABFZI7.esm.js";import{a as F,b as Z,g as W,h as ee}from"./chunk-U525YXTZ.esm.js";import{d as se,e as ce}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";function _(r={}){let{colors:n,breakpoints:t,containerSizes:i,layout:a,spacing:A,border:u,font:m,dimension:y,typeWeight:M,component:x}=me({colors:F,spacing:Le,font:ve,border:ae,breakpoints:fe,containerSizes:De,layout:xe,dimension:ye,typeWeight:"regular",component:{}},r),f=Z(n),S=Re(A,y),v=Pe(m,y,M),k=Ye({colors:f,spacing:S});return{font:v,border:u,animation:de,colors:f,breakpoints:ue(t),containerSizes:Ce(i),layout:Oe(a),spacing:S,depth:oe(f),deep:pe(f),semantic:k,foundation:he(k),component:le(x)}}s(_,"createTheme");import D,{createContext as $e,lazy as qe,Suspense as He,useContext as Je,useReducer as Ke,useRef as Xe}from"react";import{nanoid as Ge}from"nanoid";var Ze=qe(()=>import("./Notification.group-SKYIVPR6.esm.js")),_e=$e({});function We(r,{type:n,payload:t}){switch(n){case"ADD":return[t,...r];case"REMOVE":return r.filter(i=>i.id!==t.id);default:return r}}s(We,"NotificationReducer");var Ve=s(r=>{let[n,t]=Ke(We,[]),i=Xe(!1),a=s(u=>{t({type:"REMOVE",payload:{id:u}})},"removeNotification"),A=s(u=>{if(t({type:"ADD",payload:{id:Ge(),...u}}),n.length>=3){let[m]=n.slice(-1);setTimeout(()=>a(m.id),0)}},"showNotification");return n.length>0&&(i.current=!0),D.createElement(_e.Provider,{value:{notifications:n,removeNotification:a,showNotification:A}},D.createElement(D.Fragment,null,r.children,i.current&&D.createElement(He,{fallback:null},D.createElement(Ze,null))))},"NotificationsProvider");function Mo(){let r=Je(_e);if(r===void 0)throw new Error("cant use useNotification hook outside of <NotificationsProvider />");return r}s(Mo,"useNotification");import o from"react";function eo(r,n){return typeof n=="string"?ie(r):!0}s(eo,"shouldForwardProp");var oo=typeof window=="undefined"?o.useEffect:o.useLayoutEffect,B=o.createContext(null);function Go(){let r=o.useContext(B);if(r===null)throw new Error("useApollionTheme deve ser usado dentro de um <ApollionProvider>.");return r}s(Go,"useApollionTheme");function _o(){return o.useContext(B)}s(_o,"useApollionThemeOptional");var Vo=s(({children:r,theme:n,lightTheme:t,darkTheme:i,colors:a,useSystemPreference:A=!1,themeMode:u,onThemeModeChange:m,mode:y,defaultMode:M,initialMode:x,onModeChange:f,persist:S=!1,storageKey:v=Ee,syncDocument:k=!0,attribute:b=Ne,a11y:g,defaultA11y:ze=null,onA11yChange:C,surface:O="positive",dimension:E,typeWeight:N})=>{var X;let c=o.useMemo(()=>be(S),[S]),Y=Ae(v),L=y!==void 0||u!==void 0,Be=M!=null?M:A?"system":"light",[ge,Q]=o.useState(Be),T=(X=y!=null?y:u)!=null?X:ge,[V,U]=o.useState(()=>x!==void 0?x==="dark":T==="system"&&ke()),d=z(T,V),w=g!==void 0,[Qe,j]=o.useState(ze),P=w?g:Qe;oo(()=>{if(c){if(!L){let e=c.read(v);Me(e)&&Q(e)}if(!w){let e=c.read(Y);if(e===null||e==="")return;j(Se(e)?e:null)}}},[c,v,Y,L,w]),o.useEffect(()=>{var I;if(T!=="system")return;let e=typeof window!="undefined"?(I=window.matchMedia)==null?void 0:I.call(window,Te):void 0;if(!e)return;U(e.matches);let p=s(je=>U(je.matches),"handleChange");return e.addEventListener("change",p),()=>e.removeEventListener("change",p)},[T]),o.useEffect(()=>{if(!(!k||typeof document=="undefined"))return we(document.documentElement,{mode:d,a11y:P},{attribute:b}),()=>Ie(document.documentElement,{attribute:b})},[k,d,P,b]);let R=o.useCallback(e=>{L||Q(e),c==null||c.write(v,e),f==null||f(e),m==null||m(z(e,V))},[L,c,v,f,m,V]),$=o.useCallback(e=>{w||j(e),c==null||c.write(Y,e),C==null||C(e)},[w,c,Y,C]),q=o.useCallback(e=>R(e!=null?e:d==="dark"?"light":"dark"),[R,d]),H=o.useMemo(()=>{if(n||t||i)return null;let e=a!=null?a:F,p=P?ee[P](e):e,I={colors:p,...E!==void 0&&{dimension:E},...N!==void 0&&{typeWeight:N}};return{light:_(I),dark:_({...I,colors:W(p)})}},[n,t,i,a,E,N,P]),l=o.useMemo(()=>t&&i?{light:t,dark:i}:t||i||n?null:H,[t,i,n,H]),J=o.useMemo(()=>{var e,p;return l?d==="dark"?l.dark:l.light:(p=(e=t!=null?t:i)!=null?e:n)!=null?p:_({...E!==void 0&&{dimension:E},...N!==void 0&&{typeWeight:N}})},[l,d,t,i,n,E,N]),h=o.useMemo(()=>{if(!l)return ne(G(J,O));let e={light:G(l.light,O,"light"),dark:G(l.dark,O,"dark")};return te(e)},[l,J,O]),K=o.useMemo(()=>h.modes?re(d==="dark"?h.modes.dark:h.modes.light,h.modes):h,[h,d]),Ue=o.useMemo(()=>({theme:K,mode:T,resolvedMode:d,setMode:R,a11y:P,setA11y:$,attribute:b,themeMode:d,toggleTheme:q}),[K,T,d,R,P,$,b,q]);return o.createElement(se,{shouldForwardProp:eo},o.createElement(B.Provider,{value:Ue},o.createElement(ce,{theme:h},o.createElement(Fe,null,o.createElement(Ve,null,r)))))},"ApollionProvider");export{_ as a,Ge as b,Ve as c,Mo as d,Go as e,_o as f,Vo as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as x}from"./chunk-
|
|
1
|
+
import{b as x}from"./chunk-PESCONAO.esm.js";import{e as n}from"./chunk-MUI7DBJO.esm.js";import{a as r}from"./chunk-7L77BJCX.esm.js";import{a as e}from"./chunk-GZONWSRB.esm.js";import o from"react";var t=e(({initialPagination:i,finalPagination:a,linesPerPage:p,totalPagination:m,showingText:b=e((s,f,T)=>`Exibindo ${s} - ${f} de ${T} itens`,"showingText"),linesPerPageLabel:l="Linhas por p\xE1gina"})=>i&&a&&m&&Array.isArray(p)?o.createElement(r,{flexDirection:"row",justifyContent:"between",alignItems:"center"},o.createElement(n,{color:"primary.dark"},b(i,a,m)),o.createElement(r,{flexDirection:"row",justifyContent:"center",alignItems:"center",gap:2},o.createElement(n,{color:"primary.dark"},l),o.createElement(x,{width:"150px",options:p,"aria-label":l}))):null,"TablePaginationComponent");t.displayName="TablePagination";export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as r}from"./chunk-
|
|
1
|
+
import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import l from"react";var a=r.tr.withConfig({componentId:"sc-1ukbygm-0"})([""]);var o=t(e=>l.createElement(a,{...e},e.children),"TableRowComponent");o.displayName="TableRow";export{a,o as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as n}from"./chunk-XVPUSCK5.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";function Oa(c,a=c){var b,m,d,p,k;let e=(b=c.baseLight)!=null?b:"#FFF",r=(m=c.baseDark)!=null?m:"#000",s=(d=a.surface)!=null?d:{canvas:e,sunken:e,paper:e,raised:e,overlay:e,scrim:r},t=(p=a.ink)!=null?p:{primary:r,secondary:r,muted:r,disabled:r},o=(k=a.edge)!=null?k:{hairline:r,border:r,strong:r},i=l(g=>({bg:g,txtOn:t.primary}),"pair");return{surface:{canvas:i(s.canvas),sunken:i(s.sunken),paper:i(s.paper),raised:i(s.raised),overlay:i(s.overlay)},ink:{primary:t.primary,secondary:t.secondary,muted:t.muted,disabled:t.disabled},edge:{hairline:o.hairline,border:o.border,strong:o.strong}}}l(Oa,"ladderSemantic");function Ia(c){var r,s,t,o,i,b,m,d,p,k,g,u,f,y,D,x,S,C,O,h,I,v,L,w,P,T,F,G,z,B,j,q,A,E,H,J,K,M,N,Q,R,U,V,W,X,Y,Z,_,$,aa,ea,ra,na,sa,ta,ia,oa,ca,ba,ma,da,pa,ka,ga,la,ua,fa,ya,Da,xa,Sa,Ca;let{colors:a,spacing:e}=c;return{color:{feedback:{success:{bg:(t=(s=(r=a.success)==null?void 0:r.base)!=null?s:a.baseDark)!=null?t:"#000",txtOn:n((b=(i=(o=a.success)==null?void 0:o.base)!=null?i:a.baseDark)!=null?b:"#000"),border:(p=(d=(m=a.success)==null?void 0:m.dark)!=null?d:a.baseDark)!=null?p:"#000"},danger:{bg:(u=(g=(k=a.danger)==null?void 0:k.base)!=null?g:a.baseDark)!=null?u:"#000",txtOn:n((D=(y=(f=a.danger)==null?void 0:f.base)!=null?y:a.baseDark)!=null?D:"#000"),border:(C=(S=(x=a.danger)==null?void 0:x.dark)!=null?S:a.baseDark)!=null?C:"#000"},warning:{bg:(I=(h=(O=a.warning)==null?void 0:O.base)!=null?h:a.baseDark)!=null?I:"#000",txtOn:n((w=(L=(v=a.warning)==null?void 0:v.base)!=null?L:a.baseDark)!=null?w:"#000"),border:(F=(T=(P=a.warning)==null?void 0:P.dark)!=null?T:a.baseDark)!=null?F:"#000"},information:{bg:(B=(z=(G=a.information)==null?void 0:G.base)!=null?z:a.baseDark)!=null?B:"#000",txtOn:n((A=(q=(j=a.information)==null?void 0:j.base)!=null?q:a.baseDark)!=null?A:"#000"),border:(J=(H=(E=a.information)==null?void 0:E.dark)!=null?H:a.baseDark)!=null?J:"#000"}},interface:{function:{primary:{normal:{bg:(N=(M=(K=a.primary)==null?void 0:K.base)!=null?M:a.baseDark)!=null?N:"#000",txtOn:n((U=(R=(Q=a.primary)==null?void 0:Q.base)!=null?R:a.baseDark)!=null?U:"#000")}},secondary:{normal:{bg:(X=(W=(V=a.secondary)==null?void 0:V.base)!=null?W:a.baseDark)!=null?X:"#000",txtOn:n((_=(Z=(Y=a.secondary)==null?void 0:Y.base)!=null?Z:a.baseDark)!=null?_:"#000")}},tertiary:{normal:{bg:(ea=(aa=($=a.tertiary)==null?void 0:$.base)!=null?aa:a.baseDark)!=null?ea:"#000",txtOn:n((sa=(na=(ra=a.tertiary)==null?void 0:ra.base)!=null?na:a.baseDark)!=null?sa:"#000")}}}},brand:{first:{default:{surface:(oa=(ia=(ta=a.main)==null?void 0:ta.base)!=null?ia:a.baseDark)!=null?oa:"#000",txtOn:n((ma=(ba=(ca=a.main)==null?void 0:ca.base)!=null?ba:a.baseDark)!=null?ma:"#000")}},second:{default:{surface:(ka=(pa=(da=a.opposite)==null?void 0:da.base)!=null?pa:a.baseDark)!=null?ka:"#000",txtOn:n((ua=(la=(ga=a.opposite)==null?void 0:ga.base)!=null?la:a.baseDark)!=null?ua:"#000")}},third:{default:{surface:(Da=(ya=(fa=a.complementary)==null?void 0:fa.base)!=null?ya:a.baseDark)!=null?Da:"#000",txtOn:n((Ca=(Sa=(xa=a.complementary)==null?void 0:xa.base)!=null?Sa:a.baseDark)!=null?Ca:"#000")}}},...Oa(a)},dimension:{spacing:{zero:e("zero"),micro:e("micro"),xs:e("xs"),small:e("small"),medium:e("medium"),large:e("large"),xl:e("xl"),xxl:e("xxl"),giant:e("giant")}}}}l(Ia,"createSemantic");export{Oa as a,Ia as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./chunk-HEZGD5NN.esm.js";import{g as e}from"./chunk-AXUWC2WH.esm.js";var o=e(t).withConfig({componentId:"sc-atg43m-0"})(["display:flex;"]);export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as i,b}from"./chunk-6VRD7OZA.esm.js";import{b as l}from"./chunk-ALR3UKST.esm.js";import{a as T}from"./chunk-CDRLVSLF.esm.js";import{e as m}from"./chunk-MUI7DBJO.esm.js";import{g as f}from"./chunk-AXUWC2WH.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";import o from"react";var p=f.tfoot.withConfig({componentId:"sc-lefdns-0"})(["width:100%;& > ","{background-color:",";}"],i,({theme:n})=>n.colors.surface.sunken);var t=a(n=>{let{columnSum:e}=o.useContext(T),s=e.index!==void 0?o.createElement(b,null,Array.from({length:e.index+1},(d,r)=>e.index===r?o.createElement(l,{key:r},o.createElement(m,{variant:"h6"},e.sum)):e.index-1===r?o.createElement(l,{key:r},o.createElement(m,{variant:"h6"},"Total:")):o.createElement(l,{key:r},"\xA0"))):n.children;return o.createElement(p,{isSum:e.index!==void 0,...n},s)},"TableFooterComponent");t.displayName="TableFooter";export{p as a,t as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as f}from"./chunk-
|
|
1
|
+
import{b as f}from"./chunk-VROT2JQQ.esm.js";import{a as I}from"./chunk-UBIEAIXU.esm.js";import{a as s}from"./chunk-5Q265MC7.esm.js";import{b as g}from"./chunk-5OE3KRLX.esm.js";import{c as i}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var b=r(({cover:e,height:o,width:t})=>e&&{width:t!=null?t:"100%",height:o!=null?o:"100%",objectFit:"cover"},"imageCover"),l=r(e=>e?i(e):"fit-content","getSizeValue"),d=c("img").withConfig({shouldForwardProp:g}).withConfig({componentId:"sc-swtbvc-0"})(["display:block;width:",";height:",";",";&[src='']{visibility:hidden;position:absolute;}"],({full:e,width:o})=>e?"100%":l(o),({height:e})=>l(e),b);import n,{forwardRef as C,useState as L}from"react";var p=C(({src:e,...o},t)=>n.createElement(d,{src:e,ref:t,...o})),h=r(({width:e=60,height:o=60})=>n.createElement(I,{height:o,width:e},n.createElement(f,{width:e,height:o})),"ImageDefaultContentLoader");function x(e){return new Promise((o,t)=>{let a=new Image;a.onload=o,a.onerror=t,a.src=e})}r(x,"loadImage");var u=r(({src:e,fallback:o,threshold:t,...a})=>{let[m,y]=L(),[S]=s({threshold:t},()=>{x(e).then(()=>y(e)).catch(()=>console.warn(`[Failed]: error on loading image: ${e}`))}),w=typeof m=="undefined";return n.createElement(n.Fragment,null,w?o||n.createElement(h,{...a}):null,n.createElement(p,{src:m||"",ref:S,...a}))},"ImageLazy");u.displayName="ImageLazy";export{d as a,p as b,u as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as b}from"./chunk-
|
|
1
|
+
import{c as b}from"./chunk-OX3EZSSO.esm.js";import{a as p}from"./chunk-CDRLVSLF.esm.js";import{a as T}from"./chunk-XQJ4DROM.esm.js";import{e as C}from"./chunk-MUI7DBJO.esm.js";import{a as u}from"./chunk-7L77BJCX.esm.js";import{b as a}from"./chunk-5HBSIYOZ.esm.js";import{b as c}from"./chunk-IK5Z5C2R.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import l,{useEffect as S}from"react";var h=d.td.withConfig({componentId:"sc-1t8iq38-0"})(["",";",";",";"],T,a,c({fontFamily:"main"}));var t=o(e=>{let{ellipsis:n}=l.useContext(p),[i,x]=l.useState(null),m=l.useRef(null);function y(){return i===null?e.children:n&&i?l.createElement(b,{content:e.children},e.children):e.children==="string"?l.createElement(C,{color:"baseDark"},e.children):e.children}return o(y,"getCustomChild"),S(()=>{let r=m.current;if(!r)return;let f=o(()=>x(r.offsetWidth<r.scrollWidth),"measure");if(f(),typeof ResizeObserver=="undefined")return;let s=new ResizeObserver(f);return s.observe(r),()=>s.disconnect()},[e.children,n]),l.createElement(h,{ref:m,...e},l.createElement(u,null,y()))},"TableCellComponent");t.displayName="TableCell";export{h as a,t as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{createGlobalStyle as r,css as t,keyframes as a,ServerStyleSheet as l,StyleSheetManager as o,ThemeProvider as S,useTheme as m}from"styled-components";var y=e;export{r as a,t as b,a as c,o as d,S as e,m as f,y as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-GZONWSRB.esm.js";import t from"deepmerge";var e=t;var
|
|
1
|
+
import{a as o}from"./chunk-GZONWSRB.esm.js";import t from"deepmerge";var e=t;var r={input:{size:{expansive:{py:"medium",fontSize:"small",borderRadius:"xs",height:54},medium:{py:"small",fontSize:"small",borderRadius:"xs",height:46},compact:{py:"xs",fontSize:"small",borderRadius:"xs",height:38},micro:{py:"micro",fontSize:"micro",borderRadius:"micro",height:26}}},switch:{size:{small:{trackW:32,trackH:18,thumb:14,pad:2},medium:{trackW:40,trackH:22,thumb:18,pad:2},large:{trackW:48,trackH:26,thumb:22,pad:2}}},select:{size:{small:{height:38,px:"small"},medium:{height:46,px:"small"},large:{height:54,px:"medium"}}},button:{size:{extraSmall:{fontSize:"micro",fontWeight:"bold",textTransform:"uppercase",py:"micro",px:"medium",borderRadius:"micro"},small:{fontSize:"small",fontWeight:"bold",py:"xs",px:"medium",borderRadius:"large"},medium:{fontSize:"small",fontWeight:"bold",py:"small",px:"large",borderRadius:"large"},large:{fontSize:"medium",fontWeight:"bold",py:"medium",px:"xl",borderRadius:"large"}}},inputSelect:{size:{expansive:{py:"medium",px:"small",fontSize:"small",borderRadius:"xs",height:54},medium:{py:"xs",px:"small",fontSize:"small",lineHeight:"close",borderRadius:"xs",height:46},compact:{py:"zero",px:"small",fontSize:"small",borderRadius:"xs",height:38},micro:{py:"zero",px:"small",fontSize:"micro",borderRadius:"micro",height:26}}},text:{fontWeight:"regular"}};function m(i={}){return e(r,i)}o(m,"createComponentTokens");export{e as a,m as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as s,b as h,x as i}from"./chunk-XVPUSCK5.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var d={"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"},m=h("rgb"),c={light:{alpha:.15},dark:{alpha:.4}},$=n(p=>{var o,a,l,x;let t=i(p.baseLight),r=t?(o=p.deepLight)!=null?o:"#000":p.neutral[180],v=t?c.dark.alpha:c.light.alpha,e=m(s(r)),f=e?`rgba(${Math.round(((a=e.r)!=null?a:0)*255)}, ${Math.round(((l=e.g)!=null?l:0)*255)}, ${Math.round(((x=e.b)!=null?x:0)*255)}, ${v})`:r;return g=>`${d[g]} ${f}`},"createDeth");export{d as a,c as b,$ as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as x,c as b}from"./chunk-
|
|
1
|
+
import{a as x,c as b}from"./chunk-IN3Y5P5T.esm.js";import{a as h}from"./chunk-7L77BJCX.esm.js";import{a as d}from"./chunk-HEZGD5NN.esm.js";import{g as t}from"./chunk-AXUWC2WH.esm.js";import{a as M}from"./chunk-GZONWSRB.esm.js";import i,{forwardRef as v}from"react";var u=t(h).withConfig({componentId:"sc-10ipxtd-0"})([""," width:100%;"],b),s=t(x).withConfig({componentId:"sc-10ipxtd-1"})(["margin-bottom:0;"]),y=t(d).withConfig({componentId:"sc-10ipxtd-2"})(["position:absolute;top:0;bottom:0;background:var(--bg-progress);"]),g=t(d).withConfig({componentId:"sc-10ipxtd-3"})(["position:absolute;top:0;bottom:0;width:2px;background:var(--text-color);"]);var P=v(({label:w,min:r=0,max:n=100,value:p,segments:e,ticks:m,color:C="primary",size:T="medium",border:$,...S},I)=>{let f=n-r,a=M(o=>f>0?Math.min(100,Math.max(0,(o-r)/f*100)):0,"pct"),l=p!=null,k=e!=null&&e.length?e:l?[{from:r,to:p}]:[];return i.createElement(u,{color:C,role:l?"meter":"img","aria-label":w,...l&&{"aria-valuemin":r,"aria-valuemax":n,"aria-valuenow":Math.min(n,Math.max(r,p))},...S,ref:I},i.createElement(s,{size:T,border:$},k.map((o,c)=>i.createElement(y,{key:`${o.from}-${o.to}-${c}`,"aria-hidden":"true",style:{left:`${a(o.from)}%`,width:`${Math.max(a(o.to)-a(o.from),0)}%`,...o.color&&{background:o.color}}})),m==null?void 0:m.map((o,c)=>i.createElement(g,{key:`${o.at}-${c}`,"aria-hidden":"true",style:{left:`calc(${a(o.at)}% - 1px)`,...o.color&&{background:o.color}}}))))});P.displayName="Meter";export{P as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as d}from"./chunk-MUI7DBJO.esm.js";import{d as f}from"./chunk-RWLJNXLX.esm.js";import{b as u}from"./chunk-OXQA5WD3.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{a as s}from"./chunk-YC44Q5HI.esm.js";import{g as b}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import x from"react";function g(r){return r==="default"?"primary":r==="info"?"information":r}i(g,"getColorVariant");function L(r,t,n){let e=g(t),o=r.colors[e];if(n){let a=o==null?void 0:o.action;return{backgroundColor:a,color:a&&s(r,l=>{var c;let m=(c=l.colors[e])==null?void 0:c.action;return m&&l.colors.getContrastColor(m)})}}return{backgroundColor:o==null?void 0:o.light,color:o==null?void 0:o.onLight}}i(L,"getColor");var y=b(d).withConfig({componentId:"sc-dznqj7-0"})(["display:inline;"," "," "," ",""],p({fontSize:"micro",lineHeight:"close"}),u({px:"small",py:"xs"}),f({borderRadius:"micro"}),({theme:r,variant:t,inverted:n})=>L(r,t,n));function C(r){let{variant:t="default",text:n,children:e,alignSelf:o="start",...a}=r;return x.createElement(y,{variant:t,alignSelf:o,...a},e||n)}i(C,"Label");C.displayName="Label";export{y as a,C as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as d}from"./chunk-
|
|
1
|
+
import{c as d}from"./chunk-5OE3KRLX.esm.js";import{b as a}from"./chunk-AXUWC2WH.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var n=r(({theme:e,$size:o})=>e.component.select.size[o],"sizeTokens");function p(e){let o=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><path d="M2.5 4.5L6 8l3.5-3.5" stroke="${e}" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(o)}")`}r(p,"chevron");function g({$variant:e,theme:o}){return e==="error"?{accent:o.colors.danger.base,text:o.colors.danger.dark,border:o.colors.danger.base}:e==="success"?{accent:o.colors.success.base,text:o.colors.success.dark,border:o.colors.success.base}:{accent:o.colors.primary.base,text:o.colors.primary.dark,border:o.colors.edge.border}}r(g,"variantColors");function S(e){let{theme:o}=e,{accent:s,text:l,border:t}=g(e);return a(["color:",";border:1px solid ",";box-shadow:",";&:hover,&:focus{box-shadow:none;border-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:2px;}"],l,t,o.depth("level-one-minus"),t,s)}r(S,"variantStyle");function x({theme:e}){return a(["&:disabled{cursor:default;color:",";border-color:transparent;background-color:",";box-shadow:none;}"],e.colors.disabled.color,e.colors.disabled.fill)}r(x,"disabledStyle");var i=d("select").withConfig({componentId:"apollion-select"})`
|
|
2
2
|
appearance: none;
|
|
3
3
|
-webkit-appearance: none;
|
|
4
4
|
-moz-appearance: none;
|
|
@@ -12,7 +12,7 @@ import{c as d}from"./chunk-LATE6DIA.esm.js";import{b as a}from"./chunk-APD22JEO.
|
|
|
12
12
|
font-size: ${({theme:e})=>e.font.fontSize.small};
|
|
13
13
|
line-height: ${({theme:e})=>e.font.lineHeight.close};
|
|
14
14
|
|
|
15
|
-
background-color: ${({theme:e})=>e.colors.
|
|
15
|
+
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
16
16
|
border-radius: ${({theme:e,$radius:o})=>e.border.borderRadius[o]};
|
|
17
17
|
|
|
18
18
|
/* Left padding = size token; right padding reserves room for the chevron. */
|
|
@@ -32,12 +32,12 @@ import{c as d}from"./chunk-LATE6DIA.esm.js";import{b as a}from"./chunk-APD22JEO.
|
|
|
32
32
|
|
|
33
33
|
/* Force readable native option colors — the OS popup inherits these. */
|
|
34
34
|
& option {
|
|
35
|
-
color: ${({theme:e})=>e.colors.
|
|
36
|
-
background-color: ${({theme:e})=>e.colors.
|
|
35
|
+
color: ${({theme:e})=>e.colors.ink.primary};
|
|
36
|
+
background-color: ${({theme:e})=>e.colors.surface.paper};
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&:disabled {
|
|
40
40
|
/* Fade the chevron in step with the disabled text. */
|
|
41
41
|
background-image: ${({theme:e})=>p(e.colors.disabled.color)};
|
|
42
42
|
}
|
|
43
|
-
`;i.displayName="select";import u,{forwardRef as h}from"react";var m=h(({options:e,size:o="medium",variant:s="default",borderRadius:l="xs",width:t,...
|
|
43
|
+
`;i.displayName="select";import u,{forwardRef as h}from"react";var m=h(({options:e,size:o="medium",variant:s="default",borderRadius:l="xs",width:t,...f},b)=>u.createElement(i,{ref:b,$size:o,$variant:s,$radius:l,$width:t,...f},e.map(c=>u.createElement("option",{key:String(c.value),value:c.value},c.label))));m.displayName="Select";export{i as a,m as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as fe}from"./chunk-6XX3UO2Y.esm.js";import{a as ke}from"./chunk-PFLBU7HG.esm.js";import{j as ce}from"./chunk-STSRIPD6.esm.js";import{l as a}from"./chunk-XVPUSCK5.esm.js";import{a as be}from"./chunk-GZONWSRB.esm.js";function Oe(r,ge,pe){var n,o,i,s,d,m,b,c,k,f,g,p,u,D,F,l,x,O,h,v,y,S,L,T,w,P,M,C,j,q,z,A,B,E,G,H,I,J,K,N,Q,R,U,V,W,X,Y,Z,_,$,ee,ae,re,te,ne,oe,ie,se,de,me;if(ge==="positive")return r;let{colors:e}=r,ue=ce(e),t={color:{feedback:{success:{bg:(i=(o=(n=e.success)==null?void 0:n.dark)!=null?o:e.baseDark)!=null?i:"#000",txtOn:a((m=(d=(s=e.success)==null?void 0:s.dark)!=null?d:e.baseDark)!=null?m:"#000"),border:(k=(c=(b=e.success)==null?void 0:b.base)!=null?c:e.baseLight)!=null?k:"#FFF"},danger:{bg:(p=(g=(f=e.danger)==null?void 0:f.dark)!=null?g:e.baseDark)!=null?p:"#000",txtOn:a((F=(D=(u=e.danger)==null?void 0:u.dark)!=null?D:e.baseDark)!=null?F:"#000"),border:(O=(x=(l=e.danger)==null?void 0:l.base)!=null?x:e.baseLight)!=null?O:"#FFF"},warning:{bg:(y=(v=(h=e.warning)==null?void 0:h.dark)!=null?v:e.baseDark)!=null?y:"#000",txtOn:a((T=(L=(S=e.warning)==null?void 0:S.dark)!=null?L:e.baseDark)!=null?T:"#000"),border:(M=(P=(w=e.warning)==null?void 0:w.base)!=null?P:e.baseLight)!=null?M:"#FFF"},information:{bg:(q=(j=(C=e.information)==null?void 0:C.dark)!=null?j:e.baseDark)!=null?q:"#000",txtOn:a((B=(A=(z=e.information)==null?void 0:z.dark)!=null?A:e.baseDark)!=null?B:"#000"),border:(H=(G=(E=e.information)==null?void 0:E.base)!=null?G:e.baseLight)!=null?H:"#FFF"}},interface:{function:{primary:{normal:{bg:(I=e.baseDark)!=null?I:"#000",txtOn:a((J=e.baseDark)!=null?J:"#000")}},secondary:{normal:{bg:(K=e.baseDark)!=null?K:"#000",txtOn:a((N=e.baseDark)!=null?N:"#000")}},tertiary:{normal:{bg:(Q=e.baseDark)!=null?Q:"#000",txtOn:a((R=e.baseDark)!=null?R:"#000")}}}},brand:{first:{default:{surface:(W=(V=(U=e.main)==null?void 0:U.dark)!=null?V:e.baseDark)!=null?W:"#000",txtOn:a((Z=(Y=(X=e.main)==null?void 0:X.dark)!=null?Y:e.baseDark)!=null?Z:"#000")}},second:{default:{surface:(ee=($=(_=e.opposite)==null?void 0:_.dark)!=null?$:e.baseDark)!=null?ee:"#000",txtOn:a((te=(re=(ae=e.opposite)==null?void 0:ae.dark)!=null?re:e.baseDark)!=null?te:"#000")}},third:{default:{surface:(ie=(oe=(ne=e.complementary)==null?void 0:ne.dark)!=null?oe:e.baseDark)!=null?ie:"#000",txtOn:a((me=(de=(se=e.complementary)==null?void 0:se.dark)!=null?de:e.baseDark)!=null?me:"#000")}}},...fe(e,ue)},dimension:r.semantic.dimension};return{...r,semantic:t,foundation:ke(t)}}be(Oe,"invertForSurface");export{Oe as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-HEZGD5NN.esm.js";import{c as a}from"./chunk-WI3WPCW3.esm.js";import{g as d}from"./chunk-AXUWC2WH.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var u=t(e=>{var i;if(e===void 0)return;if(typeof e=="string")return e;let r="autoFit"in e?"auto-fit":"auto-fill",n="autoFit"in e?e.autoFit:e.autoFill;return`repeat(${r}, minmax(min(${n}, 100%), ${(i=e.max)!=null?i:"1fr"}))`},"resolveColumns"),f=t((e,r)=>({gridTemplateColumns:u(r.columns),gridTemplateRows:r.rows,gridTemplateAreas:r.areas,gap:r.gap?e.spacing(r.gap):void 0,gridColumnGap:r.columnGap?e.spacing(r.columnGap):void 0,gridRowGap:r.rowGap?e.spacing(r.rowGap):void 0,...a(r)}),"getGridProps"),s=t(({medias:e,theme:r})=>e?"xs"in e?Object.keys(e).reduce((n,i)=>({...n,[r.breakpoints.up(i)]:f(r,e[i])}),{}):f(r,e):{},"setGridBreakpoints"),G=d(o).withConfig({componentId:"sc-11fh3lu-0"})(["display:grid;",""],s);export{s as a,G as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as k}from"./chunk-43YSWDK6.esm.js";import{g as f}from"./chunk-
|
|
1
|
+
import{a as k}from"./chunk-43YSWDK6.esm.js";import{g as f}from"./chunk-PNMHDQZ7.esm.js";import{r as c}from"./chunk-BV6GHAF7.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import h,{useEffect as v,useMemo as i,useState as g}from"react";function I(M){let{mask:u,value:e,onChange:t,...d}=M,a=i(()=>c(u),[u]),[C,s]=g(()=>e?a(e):"");v(()=>{s(n=>{let r=e?a(e):"";return r!==n?r:n})},[e,a]);let m=i(()=>k(t!=null?t:(()=>{}),250),[t]);return h.createElement(f,{...d,reset:o(()=>{s(""),m("")},"resetValues"),value:C,onChange:o((n,r)=>{var l;let p=a((l=n.target.value)!=null?l:"");s(p),m(p)},"handleChange")})}o(I,"InputMaskComponent");I.displayName="InputMask";export{I as a};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{a as i}from"./chunk-23T5Y5P7.esm.js";import{a as h}from"./chunk-7L77BJCX.esm.js";import{c as a}from"./chunk-5OE3KRLX.esm.js";import{b as p}from"./chunk-RNL7RFJK.esm.js";import{b as c,g as d}from"./chunk-AXUWC2WH.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var s=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
|
+
`,r=d(h).attrs(o=>({alignItems:"center",justifyContent:"center",borderRadius:"micro",borderWidth:"thin",boderStyle:"solid",borderColor:"primary",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 b(o,t,l="primary"){var e;return t==="success"?o.colors.success:t==="error"?o.colors.danger:(e=o.colors[l])!=null?e:o.colors.primary}n(b,"resolveControlPalette");function x({variant:o,$color:t,theme:l}){let e=b(l,o,t);return c(["color:",";& > ","{border:1px solid ",";}&:hover > ",",&:focus > ","{border-color:",";box-shadow:",";}& > ",":checked ~ ","{border-color:",";background-color:",";box-shadow:",";}"],e.dark,r,e.dark,r,r,e.action,l.depth("level-zero"),s,r,e.base,e.base,l.depth("level-zero"))}n(x,"checkboxVariantStyle");function u({theme:o,disabled:t}){return t?c(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";box-shadow:none;& > ","{color:",";}}}"],o.colors.disabled.color,s,r,o.colors.disabled.fill,o.colors.disabled.fill,i,o.colors.disabled.color):null}n(u,"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
|
+
& > ${s} ~ ${r} > ${i} {
|
|
24
|
+
${p({color:"neutral.0"})}
|
|
25
|
+
opacity: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Shows the check when the native input is :checked */
|
|
29
|
+
& > ${s}:checked ~ ${r} > ${i} {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
${x}
|
|
34
|
+
${u}
|
|
35
|
+
`;export{s as a,r as b,b as c,k as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as r}from"./chunk-AXUWC2WH.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import d from"react";var t=r.thead.withConfig({componentId:"sc-eqsqas-0"})(["width:100%;background:",";position:sticky;top:0;z-index:1;"],({theme:a})=>a.colors.surface.paper);var e=o(a=>d.createElement(t,{...a},a.children),"TableHeaderComponent");e.displayName="TableHeader";export{t as a,e as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as h}from"./chunk-CEVSZEYI.esm.js";import{a as l}from"./chunk-MUI7DBJO.esm.js";import{a}from"./chunk-7L77BJCX.esm.js";import{a as d}from"./chunk-YC44Q5HI.esm.js";import{k as p}from"./chunk-XVPUSCK5.esm.js";import{b as f,g as c}from"./chunk-AXUWC2WH.esm.js";import{a as s}from"./chunk-GZONWSRB.esm.js";import t from"react";var B=f(["cursor:pointer;&:hover,&:focus-within{border-color:",";box-shadow:",";transform:translateY(-2px);}@media (prefers-reduced-motion:reduce){&:hover,&:focus-within{transform:none;}}"],({theme:e})=>d(e,o=>p(o.colors.primary,"base")),({theme:e})=>e.depth("level-three")),u=c(h).withConfig({componentId:"sc-mtfzzn-0"})(["transition:",";",""],({theme:e})=>e.animation.transitions.short,({$interactive:e})=>e&&B);var F=s(e=>{let o=[],r=[];return e.media&&(o.push("media"),r.push("auto")),e.title&&(o.push("title"),r.push("auto")),o.push("content"),r.push(e.action?"1fr":"auto"),e.action&&(o.push("action"),r.push("auto")),{columns:"1fr",rows:r.join(" "),areas:o.map(i=>`"${i}"`).join(" ")}},"cardTemplate"),C=s(({media:e,title:o,description:r,subtitle:i,actionComponent:n,children:g,interactive:m=!1,medias:x,p:y="large",...b})=>{let w=typeof o=="string"?t.createElement(l,{as:"h4",fontSize:"small",fontWeight:"bold",lineHeight:"regular",color:"ink.primary"},o):o,I=typeof r=="string"?t.createElement(l,{as:"p",fontSize:"micro",lineHeight:"wild",color:"ink.secondary"},r):r,v=F({media:!!e,title:!!o,action:!!n});return t.createElement(u,{borderRadius:"md",borderWidth:"thin",borderColor:"edge.hairline",bgColor:"surface.paper",overflow:m?"visible":"hidden",p:y,medias:{...v,gap:"large",...x},$interactive:m,containment:"inline-size",...b},e&&t.createElement(a,{area:"media"},e),o&&t.createElement(a,{area:"title"},w),t.createElement(a,{area:"content",gap:"xs"},I,i,g),n&&t.createElement(a,{area:"action"},n))},"CardComponent");C.displayName="Card";export{C as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as y,c as h,f as T}from"./chunk-
|
|
1
|
+
import{a as x,b as y,c as h,f as T}from"./chunk-PNMHDQZ7.esm.js";import{a as c}from"./chunk-7L77BJCX.esm.js";import{c as o}from"./chunk-5OE3KRLX.esm.js";import{d as u}from"./chunk-RWLJNXLX.esm.js";import{b as d}from"./chunk-OXQA5WD3.esm.js";import{b as s}from"./chunk-5HBSIYOZ.esm.js";import{b as f}from"./chunk-IK5Z5C2R.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var S=o("textarea").withConfig({componentId:"apollion-textarea"})`
|
|
2
2
|
-webkit-appearance: none;
|
|
3
3
|
width: 100%;
|
|
4
4
|
outline: none;
|
|
@@ -14,13 +14,13 @@ import{a as x,b as y,c as h,f as T}from"./chunk-NYDXZB2D.esm.js";import{a as c}f
|
|
|
14
14
|
${u({borderRadius:"xs",borderWidth:"thin",borderStyle:"solid"})}
|
|
15
15
|
${f({fontFamily:"main"})}
|
|
16
16
|
${d({p:"small"})}
|
|
17
|
-
${
|
|
18
|
-
`,
|
|
17
|
+
${s({bgColor:"surface.paper"})}
|
|
18
|
+
`,A=o(c).withConfig({componentId:"apollion-textarea-counter"})`
|
|
19
19
|
position: absolute;
|
|
20
20
|
right: 0;
|
|
21
21
|
bottom: 0;
|
|
22
22
|
line-height: 1.2rem;
|
|
23
23
|
font-size: 0.6875rem;
|
|
24
24
|
transform: translateY(100%);
|
|
25
|
-
color: ${({theme:e})=>e.colors.
|
|
26
|
-
`;import a,{forwardRef as k,useState as w}from"react";var V={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},
|
|
25
|
+
color: ${({theme:e})=>e.colors.ink.primary};
|
|
26
|
+
`;import a,{forwardRef as k,useState as w}from"react";var V={expansive:{fontSize:"medium",py:"medium"},medium:{fontSize:"medium",py:"small"},compact:{fontSize:"medium",py:"xs"},micro:{py:"micro",fontSize:"small",borderRadius:"micro"}},g=k(({value:e,defaultValue:C,onChange:n,maxLengthHint:b="characters left",variant:i="default",resize:I=!1,size:z="medium",...r},F)=>{let t=e!==void 0,[l,$]=w(C||""),P=t?e:l;return a.createElement(T,{variant:i},a.createElement(S,{value:t?e:l,defaultValue:void 0,variant:i,onChange:p(m=>{t||$(m.target.value),n&&n(m)},"handleChange"),...V[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&a.createElement(A,null,Number(r.maxLength)-(P||"").length," ",b))});g.displayName="TextArea";export{S as a,A as b,g as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as y}from"./chunk-YC44Q5HI.esm.js";import{f as m}from"./chunk-XVPUSCK5.esm.js";import{a as p}from"./chunk-GZONWSRB.esm.js";var g=["deep","deepColor","noShadow"];function d({position:i="",distance:n=0,proximity:t=0,color:e="",intensity:r=0}){return{geometry:`${i} 0px 0px ${n}px ${t}px`.trim(),color:`rgba(${e}, ${r})`}}p(d,"shadowParts");function l(i,n,t){let{deep:e}=i,r=e.color.regular;if(t){let s=i.colors(t);r=typeof s=="string"?m(s):r}let o={color:r,position:e.position.outter,distance:e.distance.flat,proximity:e.proximity.flat,intensity:e.intensity.medium};switch(n){case-1:return{...o,position:e.position.internal,distance:e.distance.micro,proximity:e.proximity.flat,intensity:e.intensity.high};case 1:return{...o,proximity:e.proximity.flat,distance:e.distance.micro};case 2:return{...o,proximity:e.proximity.close,distance:e.distance.xs};case 3:return{...o,distance:e.distance.sm,proximity:e.proximity.medium};case 4:return{...o,distance:e.distance.md,proximity:e.proximity.close};case 5:return{...o,distance:e.distance.lg,proximity:e.proximity.close};case 6:return{...o,distance:e.distance.xl,proximity:e.proximity.close};default:return o}}p(l,"shadowFor");var D=p(i=>n=>{var c,a;let{theme:t,deep:e,deepColor:r,noShadow:o}={...i,...n};if(e===void 0||o)return null;let{geometry:s}=d(l((a=(c=t.modes)==null?void 0:c.light)!=null?a:t,e,r)),x=y(t,f=>d(l(f,e,r)).color);return{boxShadow:`${s} ${x}`}},"DeepFactory");export{g as a,D as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as d}from"./chunk-G5Z7USXC.esm.js";import{f as h}from"./chunk-AXUWC2WH.esm.js";import{a as i}from"./chunk-GZONWSRB.esm.js";import U,{createContext as k,useEffect as T,useMemo as b,useState as v}from"react";var L=k(void 0),B={isMobile:!0,isTablet:!1,isLaptop:!1,isDesktop:!1,isPortrait:!1},y=i(t=>({isMobile:!t.mdUp,isTablet:t.mdUp&&!t.lgUp,isLaptop:t.lgUp&&!t.xlUp,isDesktop:t.xlUp,isPortrait:t.portrait}),"deriveBands"),P=i(({children:t})=>{let{breakpoints:M}=h(),[g,c]=v(B),{md:l,lg:f,xl:u}=M.values,p=b(()=>({mdUp:`(min-width: ${l}px)`,lgUp:`(min-width: ${f}px)`,xlUp:`(min-width: ${u}px)`,portrait:"(orientation: portrait)"}),[l,f,u]);return T(()=>{var x;if(!((x=d)!=null&&x.matchMedia))return;let s=Object.keys(p),o={},m=i(()=>s.reduce((e,r)=>{var n;return e[r]=!!((n=o[r])!=null&&n.matches),e},{}),"readMatches"),a=i(()=>{c(y(m()))},"handleQueryListener");return s.forEach(e=>{o[e]=d.matchMedia(p[e])}),c(y(m())),s.forEach(e=>{try{o[e].addEventListener("change",a)}catch(r){o[e].addListener(a)}}),()=>{s.forEach(e=>{var r,n;try{(r=o[e])==null||r.removeEventListener("change",a)}catch(C){(n=o[e])==null||n.removeListener(a)}})}},[p]),U.createElement(L.Provider,{value:g},t)},"BreakpointsProvider");export{L as a,P as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as o}from"./chunk-5OE3KRLX.esm.js";var r=o.div;export{r as a};
|