@apollion-dsi/core 5.3.0 → 5.4.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 +46 -34
- package/lib/chunks/Notification.group-YC5G24UY.esm.js +1 -0
- package/lib/chunks/chunk-3RNWYCCU.esm.js +1 -0
- package/lib/chunks/{chunk-RE3I3OYH.esm.js → chunk-4KZ2JQAC.esm.js} +1 -1
- package/lib/chunks/{chunk-PLYS2FYI.esm.js → chunk-4V7LOS5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-WXIAPOTW.esm.js → chunk-5LTPAIHB.esm.js} +1 -1
- package/lib/chunks/chunk-5O44BVAT.esm.js +43 -0
- package/lib/chunks/{chunk-JN5ZNWJR.esm.js → chunk-5SQH2W2J.esm.js} +1 -1
- package/lib/chunks/chunk-6OXVRDS2.esm.js +1 -0
- package/lib/chunks/{chunk-46YVAYDW.esm.js → chunk-6UPV326F.esm.js} +1 -1
- package/lib/chunks/{chunk-IGHPN2OO.esm.js → chunk-73MPQ5OY.esm.js} +1 -1
- package/lib/chunks/chunk-7EGX7BMB.esm.js +1 -0
- package/lib/chunks/chunk-7Y6YHVIS.esm.js +1 -0
- package/lib/chunks/{chunk-OXFE7XFH.esm.js → chunk-7YLTH6LY.esm.js} +1 -1
- package/lib/chunks/{chunk-52WIL6WF.esm.js → chunk-A3PI2KMG.esm.js} +1 -1
- package/lib/chunks/chunk-ARQDV4PP.esm.js +1 -0
- package/lib/chunks/{chunk-YJ4ZRQMI.esm.js → chunk-BC24WDTC.esm.js} +1 -1
- package/lib/chunks/chunk-BL3BNTW3.esm.js +1 -0
- package/lib/chunks/{chunk-2IZ35FTI.esm.js → chunk-BMGVQBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-KDIEROKH.esm.js → chunk-BVKAXW2H.esm.js} +1 -1
- package/lib/chunks/chunk-C5ZCCKMP.esm.js +1 -0
- package/lib/chunks/{chunk-QTWYG4PZ.esm.js → chunk-CLDPV7NK.esm.js} +1 -1
- package/lib/chunks/{chunk-NAPV2J5W.esm.js → chunk-DIN3SAMW.esm.js} +1 -1
- package/lib/chunks/{chunk-SPWQRX4O.esm.js → chunk-DZB2OR52.esm.js} +1 -1
- package/lib/chunks/{chunk-LAO57LJC.esm.js → chunk-EJ3VKFOX.esm.js} +1 -1
- package/lib/chunks/{chunk-BIBJ6JAY.esm.js → chunk-F3WJSICY.esm.js} +1 -1
- package/lib/chunks/{chunk-5VB6YPWU.esm.js → chunk-FCMCTNIG.esm.js} +4 -4
- package/lib/chunks/{chunk-6C3PW2PK.esm.js → chunk-FUSBM77F.esm.js} +1 -1
- package/lib/chunks/chunk-FXR7WKA7.esm.js +1 -0
- package/lib/chunks/{chunk-JSCUCQSD.esm.js → chunk-HP5OTTKY.esm.js} +1 -1
- package/lib/chunks/{chunk-7ORNMDF3.esm.js → chunk-HUATVKQA.esm.js} +1 -1
- package/lib/chunks/{chunk-MFMJXXV6.esm.js → chunk-I46TFDIX.esm.js} +1 -1
- package/lib/chunks/chunk-IQ6MEZCJ.esm.js +1 -0
- package/lib/chunks/{chunk-YX33Y5T6.esm.js → chunk-KUNNAGZ3.esm.js} +1 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +1 -0
- package/lib/chunks/{chunk-I3LRFLFK.esm.js → chunk-MI7BQ4AV.esm.js} +1 -1
- package/lib/chunks/chunk-OHOMOBIV.esm.js +43 -0
- package/lib/chunks/chunk-PR2T746R.esm.js +1 -0
- package/lib/chunks/{chunk-RC453BIC.esm.js → chunk-PWFS4OYV.esm.js} +1 -1
- package/lib/chunks/{chunk-MJX6TZUR.esm.js → chunk-QHDAJQC7.esm.js} +1 -1
- package/lib/chunks/{chunk-IUNHMZ3V.esm.js → chunk-QNK4SZQ6.esm.js} +1 -1
- package/lib/chunks/{chunk-CWLQNJ2D.esm.js → chunk-QOO64QE4.esm.js} +1 -1
- package/lib/chunks/chunk-QXQC37K5.esm.js +1 -0
- package/lib/chunks/chunk-ROYW5FBA.esm.js +1 -0
- package/lib/chunks/chunk-T5YJT2PA.esm.js +35 -0
- package/lib/chunks/chunk-TD4RVB2L.esm.js +4 -0
- package/lib/chunks/chunk-UYYT7GH5.esm.js +1 -0
- package/lib/chunks/chunk-VAJGIZNP.esm.js +1 -0
- package/lib/chunks/{chunk-FYIBJA5Y.esm.js → chunk-VFA2NPNZ.esm.js} +1 -1
- package/lib/chunks/{chunk-7UYOO2PQ.esm.js → chunk-VHIU3G6O.esm.js} +1 -1
- package/lib/chunks/{chunk-WKQ3JIEG.esm.js → chunk-VHXSTTRG.esm.js} +1 -1
- package/lib/chunks/{chunk-KAPHZYMX.esm.js → chunk-VSLW7J54.esm.js} +1 -1
- package/lib/chunks/{chunk-ZP75XPKF.esm.js → chunk-WJL7X2E2.esm.js} +1 -1
- package/lib/chunks/{chunk-KMQUGDL3.esm.js → chunk-WS2NO23J.esm.js} +1 -1
- package/lib/chunks/{chunk-LC6CQDHG.esm.js → chunk-X3YSUW3W.esm.js} +1 -1
- package/lib/chunks/chunk-X5UHGM25.esm.js +1 -0
- package/lib/chunks/{chunk-UB6WSKGK.esm.js → chunk-XAVQOLJ6.esm.js} +1 -1
- package/lib/chunks/{chunk-75YRUKSI.esm.js → chunk-XJJDEXNW.esm.js} +1 -1
- package/lib/chunks/{chunk-AGTNBWPD.esm.js → chunk-XVEUJXSW.esm.js} +7 -7
- package/lib/chunks/chunk-YLRQW7VD.esm.js +1 -0
- package/lib/chunks/chunk-YRBM4WYM.esm.js +1 -0
- package/lib/chunks/chunk-ZPPJD46V.esm.js +1 -0
- package/lib/containers/Base/Base.interface.d.ts +7 -7
- package/lib/containers/Base/Base.style.d.ts +9 -8
- package/lib/containers/Base/index.d.ts +9 -9
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/Card.d.ts +8 -7
- package/lib/containers/Card/Card.interface.d.ts +16 -16
- package/lib/containers/Card/index.d.ts +5 -5
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/Content.d.ts +10 -10
- package/lib/containers/Content/Content.interface.d.ts +15 -15
- package/lib/containers/Content/index.d.ts +5 -5
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +10 -10
- package/lib/containers/Flex/Flex.style.d.ts +7 -6
- package/lib/containers/Flex/index.d.ts +8 -7
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +27 -26
- package/lib/containers/Grid/Grid.style.d.ts +10 -10
- package/lib/containers/Grid/index.d.ts +7 -7
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Motion/Motion.style.d.ts +37 -37
- package/lib/containers/Motion/index.d.ts +7 -6
- package/lib/containers/Motion/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.context.d.ts +17 -17
- package/lib/containers/Notification/Notification.d.ts +23 -23
- package/lib/containers/Notification/Notification.group.d.ts +9 -9
- package/lib/containers/Notification/Notification.interface.d.ts +39 -39
- package/lib/containers/Notification/Notification.style.d.ts +136 -136
- package/lib/containers/Notification/index.d.ts +9 -9
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +5 -5
- package/lib/containers/Paper/Paper.style.d.ts +8 -8
- package/lib/containers/Paper/index.d.ts +5 -5
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +12 -12
- package/lib/containers/Scroll/Scroll.helpers.d.ts +15 -14
- package/lib/containers/Scroll/Scroll.interface.d.ts +7 -11
- package/lib/containers/Scroll/Scroll.style.d.ts +13 -13
- package/lib/containers/Scroll/index.d.ts +5 -5
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.d.ts +8 -9
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +16 -15
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +62 -57
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +121 -133
- package/lib/dataDisplay/DataTable/DataTable.props.d.ts +11 -11
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +29 -29
- package/lib/dataDisplay/DataTable/index.d.ts +5 -5
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +17 -17
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +28 -28
- package/lib/dataDisplay/DescriptionList/index.d.ts +6 -6
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.d.ts +15 -15
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +36 -35
- package/lib/dataDisplay/Meter/Meter.style.d.ts +11 -11
- package/lib/dataDisplay/Meter/index.d.ts +4 -4
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +9 -9
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +32 -32
- package/lib/dataDisplay/Table/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table.context.d.ts +15 -15
- package/lib/dataDisplay/Table/Table.shared.d.ts +5 -5
- package/lib/dataDisplay/Table/TableBody/TableBody.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableBody/TableBody.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableBody/index.d.ts +5 -4
- package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableCell/TableCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.d.ts +4 -4
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +8 -8
- package/lib/dataDisplay/Table/TableEmpty/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/TableFooter.d.ts +5 -5
- package/lib/dataDisplay/Table/TableFooter/TableFooter.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableFooter/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeader/TableHeader.interface.d.ts +2 -2
- package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeader/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.interface.d.ts +3 -2
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/TablePagination.d.ts +7 -7
- package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +8 -8
- package/lib/dataDisplay/Table/TablePagination/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/TableRow.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.style.d.ts +4 -3
- package/lib/dataDisplay/Table/TableRow/index.d.ts +3 -3
- package/lib/dataDisplay/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.d.ts +21 -21
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +22 -22
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +9 -9
- package/lib/dataDisplay/Tabs/index.d.ts +5 -5
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.d.ts +7 -7
- package/lib/elements/Avatar/Avatar.helpers.d.ts +6 -6
- package/lib/elements/Avatar/Avatar.interface.d.ts +23 -12
- package/lib/elements/Avatar/Avatar.style.d.ts +26 -7
- package/lib/elements/Avatar/index.d.ts +4 -4
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.d.ts +12 -12
- package/lib/elements/Button/Button.interface.d.ts +39 -38
- package/lib/elements/Button/Button.style.d.ts +18 -15
- package/lib/elements/Button/index.d.ts +7 -7
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.d.ts +10 -10
- package/lib/elements/Calendar/Calendar.interface.d.ts +15 -16
- package/lib/elements/Calendar/Calendar.style.d.ts +11 -11
- package/lib/elements/Calendar/index.d.ts +6 -6
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +17 -16
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +26 -26
- package/lib/elements/Dropdown/index.d.ts +4 -4
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/Icon.d.ts +7 -7
- package/lib/elements/Icon/Icon.helpers.d.ts +10 -9
- package/lib/elements/Icon/Icon.interface.d.ts +25 -24
- package/lib/elements/Icon/Icon.style.d.ts +8 -8
- package/lib/elements/Icon/index.d.ts +5 -5
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.d.ts +8 -8
- package/lib/elements/IconButton/IconButton.interface.d.ts +17 -7
- package/lib/elements/IconButton/IconButton.style.d.ts +4 -4
- package/lib/elements/IconButton/index.d.ts +5 -5
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/Image/Image.d.ts +9 -9
- package/lib/elements/Image/Image.interface.d.ts +14 -13
- package/lib/elements/Image/Image.style.d.ts +4 -4
- package/lib/elements/Image/index.d.ts +4 -4
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/Label.d.ts +13 -12
- package/lib/elements/Label/Label.interface.d.ts +11 -15
- package/lib/elements/Label/Label.style.d.ts +7 -7
- package/lib/elements/Label/index.d.ts +4 -4
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.d.ts +31 -31
- package/lib/elements/Link/Link.interface.d.ts +31 -30
- package/lib/elements/Link/Link.style.d.ts +23 -22
- package/lib/elements/Link/index.d.ts +4 -4
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +9 -9
- package/lib/elements/List/List.interface.d.ts +25 -25
- package/lib/elements/List/List.style.d.ts +8 -9
- package/lib/elements/List/index.d.ts +3 -3
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.d.ts +22 -22
- package/lib/elements/Modal/Modal.interface.d.ts +41 -41
- package/lib/elements/Modal/Modal.style.d.ts +509 -510
- package/lib/elements/Modal/index.d.ts +4 -4
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.d.ts +8 -8
- package/lib/elements/Popover/Popover.interface.d.ts +11 -11
- package/lib/elements/Popover/index.d.ts +3 -3
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.d.ts +11 -11
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +9 -9
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +21 -22
- package/lib/elements/ProgressBar/index.d.ts +6 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.d.ts +6 -6
- package/lib/elements/Spinner/Spinner.interface.d.ts +11 -11
- package/lib/elements/Spinner/Spinner.style.d.ts +9 -8
- package/lib/elements/Spinner/index.d.ts +4 -4
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.d.ts +8 -8
- package/lib/elements/Svg/Svg.interface.d.ts +19 -20
- package/lib/elements/Svg/Svg.style.d.ts +17 -9
- package/lib/elements/Svg/index.d.ts +4 -4
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.d.ts +10 -10
- package/lib/elements/Text/Text.interface.d.ts +94 -90
- package/lib/elements/Text/Text.props.d.ts +35 -35
- package/lib/elements/Text/Text.style.d.ts +8 -8
- package/lib/elements/Text/index.d.ts +5 -5
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +8 -8
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +18 -19
- package/lib/elements/Tooltip/Tooltip.style.d.ts +14 -13
- package/lib/elements/Tooltip/index.d.ts +4 -4
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BackgroundFactory/BackgroundFactory.d.ts +10 -10
- package/lib/factory/BackgroundFactory/BackgroundFactory.interface.d.ts +18 -14
- package/lib/factory/BackgroundFactory/index.d.ts +4 -4
- package/lib/factory/BorderFactory/BorderFactory.d.ts +16 -16
- package/lib/factory/BorderFactory/BorderFactory.interface.d.ts +20 -20
- package/lib/factory/BorderFactory/index.d.ts +4 -4
- package/lib/factory/ColorFactory/ColorFactory.d.ts +16 -16
- package/lib/factory/ColorFactory/ColorFactory.interface.d.ts +21 -28
- package/lib/factory/ColorFactory/index.d.ts +3 -3
- package/lib/factory/ContainerFactory/ContainerFactory.d.ts +7 -7
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +27 -31
- package/lib/factory/ContainerFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/DeepFactory.d.ts +9 -9
- package/lib/factory/DeepFactory/DeepFactory.interface.d.ts +19 -19
- package/lib/factory/DeepFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +7 -7
- package/lib/factory/FlexFactory/FlexFactory.interface.d.ts +22 -22
- package/lib/factory/FlexFactory/index.d.ts +4 -4
- package/lib/factory/FontFactory/FontFactory.d.ts +6 -6
- package/lib/factory/FontFactory/FontFactory.interface.d.ts +19 -19
- package/lib/factory/FontFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +9 -9
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +15 -15
- package/lib/factory/ResponsiveFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/SizeFactory/SizeFactory.d.ts +7 -7
- package/lib/factory/SizeFactory/SizeFactory.interface.d.ts +9 -9
- package/lib/factory/SizeFactory/index.d.ts +2 -2
- package/lib/factory/SpacingFactory/SpacingFactory.d.ts +7 -6
- package/lib/factory/SpacingFactory/SpacingFactory.interface.d.ts +9 -9
- package/lib/factory/SpacingFactory/index.d.ts +3 -3
- package/lib/factory/System/System.d.ts +24 -14
- package/lib/factory/System/System.interface.d.ts +17 -17
- package/lib/factory/System/index.d.ts +3 -3
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.d.ts +8 -7
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +7 -7
- package/lib/form/Checkbox/Checkbox.interface.d.ts +9 -10
- package/lib/form/Checkbox/Checkbox.style.d.ts +12 -12
- package/lib/form/Checkbox/index.d.ts +3 -3
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +7 -7
- package/lib/form/Field/Field.interface.d.ts +6 -6
- package/lib/form/Field/Field.props.d.ts +5 -5
- package/lib/form/Field/Field.style.d.ts +3 -3
- package/lib/form/Field/index.d.ts +7 -6
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/FieldGroup.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.helpers.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.interface.d.ts +18 -18
- package/lib/form/FieldGroup/index.d.ts +3 -3
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.helpers.d.ts +26 -26
- package/lib/form/Form/Form.interface.d.ts +33 -33
- package/lib/form/Form/Form.style.d.ts +4 -4
- package/lib/form/Form/index.d.ts +4 -4
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.d.ts +7 -7
- package/lib/form/Input/Input.helpers.d.ts +8 -16
- package/lib/form/Input/Input.interface.d.ts +26 -26
- package/lib/form/Input/Input.style.d.ts +28 -28
- package/lib/form/Input/index.d.ts +5 -5
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.d.ts +7 -7
- package/lib/form/InputCurrency/InputCurrency.helpers.d.ts +13 -13
- package/lib/form/InputCurrency/InputCurrency.interface.d.ts +9 -8
- package/lib/form/InputCurrency/index.d.ts +5 -5
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +13 -13
- package/lib/form/InputDate/InputDate.interface.d.ts +26 -25
- package/lib/form/InputDate/buildSyntheticEvent.d.ts +18 -18
- package/lib/form/InputDate/index.d.ts +8 -7
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/InputMask.d.ts +9 -9
- package/lib/form/InputMask/InputMask.interface.d.ts +9 -9
- package/lib/form/InputMask/index.d.ts +4 -3
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +9 -9
- package/lib/form/InputRange/InputRange.helpers.d.ts +14 -14
- package/lib/form/InputRange/InputRange.style.d.ts +24 -23
- package/lib/form/InputRange/index.d.ts +4 -4
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/DropdownIndicator.d.ts +6 -6
- package/lib/form/InputSelect/InputSelect.helpers.d.ts +12 -11
- package/lib/form/InputSelect/InputSelect.style.d.ts +12 -39
- package/lib/form/InputSelect/index.d.ts +4 -4
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +7 -7
- package/lib/form/Radio/Radio.interface.d.ts +13 -14
- package/lib/form/Radio/Radio.style.d.ts +11 -11
- package/lib/form/Radio/index.d.ts +3 -3
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/Select.style.d.ts +1 -12
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +11 -11
- package/lib/form/Switch/Switch.interface.d.ts +16 -17
- package/lib/form/Switch/Switch.style.d.ts +12 -25
- package/lib/form/Switch/index.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.d.ts +9 -9
- package/lib/form/TextArea/TextArea.interface.d.ts +15 -15
- package/lib/form/TextArea/TextArea.style.d.ts +9 -9
- package/lib/form/TextArea/index.d.ts +3 -3
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.d.ts +14 -14
- package/lib/form/UploadCard/UploadCard.helpers.d.ts +15 -15
- package/lib/form/UploadCard/UploadCard.interface.d.ts +40 -39
- package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
- package/lib/form/UploadCard/index.d.ts +6 -6
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/UploadCard/useFileControl.d.ts +6 -6
- package/lib/form/UploadCard/useFileState.d.ts +6 -6
- package/lib/form/UploadCard/useObjectUrl.d.ts +5 -5
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/useClickOutside/index.d.ts +3 -3
- package/lib/hooks/useClickOutside/useClickOutside.d.ts +8 -8
- package/lib/hooks/useClipboard/index.d.ts +3 -3
- package/lib/hooks/useClipboard/useClipboard.d.ts +10 -10
- package/lib/hooks/useClipboard/useClipboard.helpers.d.ts +8 -9
- package/lib/hooks/useDrag/index.d.ts +5 -5
- package/lib/hooks/useDrag/useDrag.d.ts +6 -6
- package/lib/hooks/useDrag/useDrag.helpers.d.ts +9 -9
- package/lib/hooks/useDrag/useDrag.interface.d.ts +9 -9
- package/lib/hooks/useEventCallback/index.d.ts +4 -4
- package/lib/hooks/useEventCallback/useEventCallback.d.ts +12 -12
- package/lib/hooks/useFileDialog/index.d.ts +3 -3
- package/lib/hooks/useFileDialog/useFileDialog.d.ts +15 -15
- package/lib/hooks/useIntersect/index.d.ts +3 -3
- package/lib/hooks/useIntersect/useIntersect.d.ts +11 -11
- package/lib/hooks/useLazyEffect/index.d.ts +3 -3
- package/lib/hooks/useLazyEffect/useLazyEffect.d.ts +7 -7
- package/lib/hooks/useMediaQuery/index.d.ts +5 -5
- package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +7 -7
- package/lib/hooks/useMediaQuery/useMediaQuery.helpers.d.ts +8 -8
- package/lib/hooks/useMediaQuery/useMediaQuery.interface.d.ts +6 -6
- package/lib/hooks/useProgress/index.d.ts +3 -3
- package/lib/hooks/useProgress/useProgress.d.ts +13 -13
- package/lib/hooks/useScript/index.d.ts +3 -3
- package/lib/hooks/useScript/useScript.d.ts +7 -7
- package/lib/hooks/useToggle/index.d.ts +3 -3
- package/lib/hooks/useToggle/useToggle.d.ts +14 -14
- package/lib/hooks/useUnload/index.d.ts +3 -3
- package/lib/hooks/useUnload/useUnload.d.ts +10 -10
- package/lib/icons/icon.interface.d.ts +8 -7
- package/lib/icons/index.d.ts +6 -6
- package/lib/icons/set/alertInfo.d.ts +1 -1
- package/lib/icons/set/alignCenter.d.ts +1 -1
- package/lib/icons/set/alignJustify.d.ts +1 -1
- package/lib/icons/set/alignLeft.d.ts +1 -1
- package/lib/icons/set/alignRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleDown.d.ts +1 -1
- package/lib/icons/set/arrowCircleLeft.d.ts +1 -1
- package/lib/icons/set/arrowCircleRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleUp.d.ts +1 -1
- package/lib/icons/set/arrowLeft.d.ts +1 -1
- package/lib/icons/set/arrowRight.d.ts +1 -1
- package/lib/icons/set/attention.d.ts +1 -1
- package/lib/icons/set/ban.d.ts +1 -1
- package/lib/icons/set/calendar.d.ts +1 -1
- package/lib/icons/set/check.d.ts +1 -1
- package/lib/icons/set/chevronDown.d.ts +1 -1
- package/lib/icons/set/chevronLeft.d.ts +1 -1
- package/lib/icons/set/chevronRight.d.ts +1 -1
- package/lib/icons/set/chevronUp.d.ts +1 -1
- package/lib/icons/set/clock.d.ts +1 -1
- package/lib/icons/set/cog.d.ts +1 -1
- package/lib/icons/set/edit.d.ts +1 -1
- package/lib/icons/set/ellipsisH.d.ts +1 -1
- package/lib/icons/set/emojiAngry.d.ts +1 -1
- package/lib/icons/set/emojiBeamSweat.d.ts +1 -1
- package/lib/icons/set/emojiSadTear.d.ts +1 -1
- package/lib/icons/set/emojiSquintTear.d.ts +1 -1
- package/lib/icons/set/emojiStar.d.ts +1 -1
- package/lib/icons/set/emojiTired.d.ts +1 -1
- package/lib/icons/set/emojiTongue.d.ts +1 -1
- package/lib/icons/set/emojiTongueSquint.d.ts +1 -1
- package/lib/icons/set/envelope.d.ts +1 -1
- package/lib/icons/set/eye.d.ts +1 -1
- package/lib/icons/set/eyeSlash.d.ts +1 -1
- package/lib/icons/set/file.d.ts +1 -1
- package/lib/icons/set/filePdf.d.ts +1 -1
- package/lib/icons/set/menuBars.d.ts +1 -1
- package/lib/icons/set/minus.d.ts +1 -1
- package/lib/icons/set/pen.d.ts +1 -1
- package/lib/icons/set/phoneAlt.d.ts +1 -1
- package/lib/icons/set/phoneSlash.d.ts +1 -1
- package/lib/icons/set/picture.d.ts +1 -1
- package/lib/icons/set/pictures.d.ts +1 -1
- package/lib/icons/set/playCircle.d.ts +1 -1
- package/lib/icons/set/plus.d.ts +1 -1
- package/lib/icons/set/roundedAttention.d.ts +1 -1
- package/lib/icons/set/roundedCheck.d.ts +1 -1
- package/lib/icons/set/roundedInfo.d.ts +1 -1
- package/lib/icons/set/running.d.ts +1 -1
- package/lib/icons/set/search.d.ts +1 -1
- package/lib/icons/set/shareAlt.d.ts +1 -1
- package/lib/icons/set/shareSquare.d.ts +1 -1
- package/lib/icons/set/signIn.d.ts +1 -1
- package/lib/icons/set/signOut.d.ts +1 -1
- package/lib/icons/set/sort.d.ts +1 -1
- package/lib/icons/set/sortDown.d.ts +1 -1
- package/lib/icons/set/sortUp.d.ts +1 -1
- package/lib/icons/set/spinner.d.ts +1 -1
- package/lib/icons/set/thumbsDown.d.ts +1 -1
- package/lib/icons/set/thumbsUp.d.ts +1 -1
- package/lib/icons/set/times.d.ts +1 -1
- package/lib/icons/set/trash.d.ts +1 -1
- package/lib/icons/set/unlink.d.ts +1 -1
- package/lib/icons/set/upload.d.ts +1 -1
- package/lib/icons/set/user.d.ts +1 -1
- package/lib/icons/set/userAdd.d.ts +1 -1
- package/lib/icons/set/userBlock.d.ts +1 -1
- package/lib/icons/set/userCheck.d.ts +1 -1
- package/lib/icons/set/userConfig.d.ts +1 -1
- package/lib/icons/set/userDelete.d.ts +1 -1
- package/lib/icons/set/userEdit.d.ts +1 -1
- package/lib/icons/set/userInvalid.d.ts +1 -1
- package/lib/icons/set/userLocked.d.ts +1 -1
- package/lib/icons/set/users.d.ts +1 -1
- 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 +6 -6
- package/lib/layouts/DefaultLayout/DefaultLayout.interface.d.ts +8 -9
- package/lib/layouts/DefaultLayout/DefaultLayout.props.d.ts +4 -4
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +5 -6
- package/lib/layouts/SideBarLayout/SideBarLayout.interface.d.ts +7 -7
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +5 -5
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +6 -5
- package/lib/layouts/SideBarLayout/index.d.ts +6 -6
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/CircleComponent.d.ts +3 -3
- package/lib/scenario/CircleComponent/CircleComponent.style.d.ts +4 -4
- package/lib/scenario/CircleComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/RectComponent.d.ts +3 -3
- package/lib/scenario/RectComponent/RectComponent.style.d.ts +3 -3
- package/lib/scenario/RectComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +12 -12
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +10 -10
- package/lib/skeleton/ComposedSkeleton/index.d.ts +7 -7
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +4 -4
- package/lib/skeleton/TextPreset/index.d.ts +4 -4
- 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 +9 -9
- package/lib/themes/Animation/Animation.props.d.ts +4 -5
- package/lib/themes/Animation/index.d.ts +4 -4
- package/lib/themes/Border/Border.interface.d.ts +26 -25
- package/lib/themes/Border/index.d.ts +4 -4
- package/lib/themes/Breakpoints/index.d.ts +3 -3
- package/lib/themes/Colors/Colors.helpers.d.ts +128 -129
- package/lib/themes/Colors/Colors.interface.d.ts +23 -23
- package/lib/themes/Colors/Colors.presets.d.ts +2 -2
- package/lib/themes/Colors/index.d.ts +3 -3
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.helpers.d.ts +24 -0
- package/lib/themes/Component/Component.interface.d.ts +93 -0
- package/lib/themes/Component/index.d.ts +18 -0
- package/lib/themes/Component/index.esm.js +1 -0
- package/lib/themes/Deep/index.d.ts +3 -3
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Depth/index.d.ts +3 -3
- package/lib/themes/Dimension/index.d.ts +4 -4
- package/lib/themes/Font/index.d.ts +3 -3
- package/lib/themes/Foundation/Foundation.helpers.d.ts +12 -12
- package/lib/themes/Foundation/Foundation.interface.d.ts +25 -26
- package/lib/themes/Foundation/index.d.ts +5 -5
- package/lib/themes/GlobalStyle/index.d.ts +1 -1
- package/lib/themes/Semantic/Semantic.helpers.d.ts +14 -14
- package/lib/themes/Semantic/Semantic.interface.d.ts +36 -36
- package/lib/themes/Semantic/index.d.ts +5 -5
- package/lib/themes/Spacing/index.d.ts +3 -3
- package/lib/themes/Surface/Surface.d.ts +15 -15
- package/lib/themes/Surface/Surface.helpers.d.ts +26 -25
- package/lib/themes/Surface/Surface.interface.d.ts +9 -9
- package/lib/themes/Surface/index.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +65 -41
- package/lib/themes/ThemeProvider/index.d.ts +7 -7
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/components/Breakpoints/Breakpoints.d.ts +12 -12
- package/lib/utils/components/Breakpoints/Breakpoints.interface.d.ts +8 -8
- package/lib/utils/components/Breakpoints/index.d.ts +3 -3
- package/lib/utils/components/index.d.ts +4 -4
- package/lib/utils/index.d.ts +4 -4
- package/lib/utils/logger.d.ts +4 -4
- package/lib/utils/mask.d.ts +12 -12
- package/lib/utils/object.d.ts +29 -27
- package/lib/utils/typeUtils.d.ts +18 -16
- package/lib/utils/utils.d.ts +31 -31
- package/lib/utils/window.d.ts +10 -10
- package/lib/vendors/Culori/component.d.ts +14 -14
- package/lib/vendors/Culori/engine.d.ts +40 -40
- package/lib/vendors/Culori/interface.d.ts +7 -7
- package/lib/vendors/Culori/named.d.ts +4 -4
- package/lib/vendors/DateFns/component.d.ts +16 -15
- package/lib/vendors/DateFns/interface.d.ts +6 -6
- package/lib/vendors/Deepmerge/component.d.ts +2 -2
- package/lib/vendors/Deepmerge/interface.d.ts +4 -4
- package/lib/vendors/EmotionIsPropValid/component.d.ts +3 -3
- package/lib/vendors/EmotionIsPropValid/interface.d.ts +3 -3
- package/lib/vendors/FastDeepEqual/component.d.ts +2 -2
- package/lib/vendors/FastDeepEqual/interface.d.ts +3 -3
- package/lib/vendors/FloatingUI/component.d.ts +18 -17
- package/lib/vendors/FloatingUI/interface.d.ts +10 -10
- package/lib/vendors/FramerMotion/component.d.ts +9 -9
- package/lib/vendors/FramerMotion/interface.d.ts +8 -7
- package/lib/vendors/LodashDebounce/component.d.ts +2 -2
- package/lib/vendors/LodashDebounce/interface.d.ts +2 -2
- package/lib/vendors/Nanoid/component.d.ts +5 -5
- package/lib/vendors/Nanoid/interface.d.ts +4 -4
- package/lib/vendors/ObjectHash/component.d.ts +2 -2
- package/lib/vendors/ObjectHash/interface.d.ts +2 -2
- package/lib/vendors/ReactContentLoader/component.d.ts +4 -4
- package/lib/vendors/ReactContentLoader/interface.d.ts +3 -3
- package/lib/vendors/ReactDayPicker/component.d.ts +7 -7
- package/lib/vendors/ReactDayPicker/interface.d.ts +11 -11
- package/lib/vendors/ReactHookForm/component.d.ts +14 -14
- package/lib/vendors/ReactHookForm/interface.d.ts +16 -16
- package/lib/vendors/ReactSelect/component.d.ts +6 -6
- package/lib/vendors/ReactSelect/interface.d.ts +24 -9
- package/lib/vendors/StyledComponents/component.d.ts +10 -10
- package/lib/vendors/StyledComponents/interface.d.ts +12 -12
- package/lib/vendors/StyledNormalize/component.d.ts +3 -3
- package/lib/vendors/StyledNormalize/interface.d.ts +3 -3
- package/lib/vendors/TanstackReactTable/component.d.ts +10 -10
- package/lib/vendors/TanstackReactTable/interface.d.ts +15 -15
- package/lib/vendors/TanstackReactVirtual/component.d.ts +8 -8
- package/lib/vendors/TanstackReactVirtual/interface.d.ts +6 -6
- package/lib/vendors/Zod/component.d.ts +3 -3
- package/package.json +7 -3
- package/lib/chunks/Notification.group-P24CKBGW.esm.js +0 -1
- package/lib/chunks/chunk-2JE2KM3Y.esm.js +0 -1
- package/lib/chunks/chunk-5RSKEPVX.esm.js +0 -1
- package/lib/chunks/chunk-7WWDUGCC.esm.js +0 -1
- package/lib/chunks/chunk-B64YEI67.esm.js +0 -1
- package/lib/chunks/chunk-FGI2BYTC.esm.js +0 -1
- package/lib/chunks/chunk-FJUISCKG.esm.js +0 -1
- package/lib/chunks/chunk-G4OCANJN.esm.js +0 -1
- package/lib/chunks/chunk-GQSXSPXG.esm.js +0 -34
- package/lib/chunks/chunk-JYROOJRO.esm.js +0 -1
- package/lib/chunks/chunk-KFJ6EF6N.esm.js +0 -1
- package/lib/chunks/chunk-LBSRV6OY.esm.js +0 -1
- package/lib/chunks/chunk-M53TQFQR.esm.js +0 -43
- package/lib/chunks/chunk-MGLZFOSB.esm.js +0 -1
- package/lib/chunks/chunk-NO4SD45Y.esm.js +0 -1
- package/lib/chunks/chunk-OPAH7JBD.esm.js +0 -43
- package/lib/chunks/chunk-PAITPPEW.esm.js +0 -4
- package/lib/chunks/chunk-Q6EGG64M.esm.js +0 -1
- package/lib/chunks/chunk-QZNDN3FN.esm.js +0 -1
- package/lib/chunks/chunk-RTTQGZN4.esm.js +0 -1
- package/lib/chunks/chunk-UE2MT6VF.esm.js +0 -1
- package/lib/chunks/chunk-VRM5U7D2.esm.js +0 -1
- package/lib/chunks/chunk-YHJ77TR7.esm.js +0 -1
- /package/lib/chunks/{chunk-QF2YUOVX.esm.js → chunk-KL3ATH64.esm.js} +0 -0
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# @apollion-dsi/core
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
React component library of the **Apollion Design System** — 40+
|
|
4
|
+
ready-to-use components, organized by category, with strict typing,
|
|
5
|
+
theming via `ThemeProvider`, and co-resident documentation
|
|
6
6
|
(TSDoc + Storybook + MDX).
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/@apollion-dsi/core)
|
|
@@ -13,16 +13,16 @@ estrita, theming via `ThemeProvider` e documentação co-residente
|
|
|
13
13
|
- **TypeScript** 6.x
|
|
14
14
|
- **styled-components** 6.x
|
|
15
15
|
- **@tanstack/react-table** 8.x (`DataTable`)
|
|
16
|
-
- **framer-motion** (`Modal`, `Notification`
|
|
16
|
+
- **framer-motion** (animated `Modal`, `Notification`)
|
|
17
17
|
- **Jest** + **Storybook** 8.x
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Installation
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
yarn add @apollion-dsi/core
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
Peer dependencies (React 19)
|
|
25
|
+
Peer dependencies (React 19) must be present in the consumer:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
yarn add react@19.2.6 react-dom@19.2.6 styled-components@^6
|
|
@@ -30,24 +30,24 @@ yarn add react@19.2.6 react-dom@19.2.6 styled-components@^6
|
|
|
30
30
|
|
|
31
31
|
## Imports (v4 — subpaths-only)
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
As of **v4.0.0** the root barrel **does not re-export** the components. The only
|
|
34
|
+
symbol in `@apollion-dsi/core` is `APOLLION_CORE_VERSION`.
|
|
35
|
+
Always import from granular subpaths — this enables per-component tree-shaking:
|
|
36
36
|
|
|
37
37
|
```ts
|
|
38
38
|
import { ApollionProvider, createTheme } from '@apollion-dsi/core/themes';
|
|
39
39
|
import { Button } from '@apollion-dsi/core/elements/button';
|
|
40
40
|
import { Flex } from '@apollion-dsi/core/containers/flex';
|
|
41
41
|
|
|
42
|
-
// ❌
|
|
43
|
-
//
|
|
42
|
+
// ❌ ESLint error (no-restricted-imports); the `apollion-migrate v4` codemod
|
|
43
|
+
// converts legacy imports automatically
|
|
44
44
|
import { Button } from '@apollion-dsi/core';
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
##
|
|
47
|
+
## Minimal setup
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
`ThemeProvider`
|
|
49
|
+
Wrap your application with `ApollionProvider` (which also mounts the
|
|
50
|
+
`ThemeProvider` and the `NotificationsProvider`):
|
|
51
51
|
|
|
52
52
|
```tsx
|
|
53
53
|
import { createRoot } from 'react-dom/client';
|
|
@@ -61,16 +61,16 @@ createRoot(document.getElementById('root')!).render(
|
|
|
61
61
|
);
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
##
|
|
64
|
+
## Categories
|
|
65
65
|
|
|
66
|
-
|
|
|
66
|
+
| Category | Components |
|
|
67
67
|
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
68
68
|
| **Elements** | `Button`, `IconButton`, `Icon`, `Svg`, `Image`, `Text`, `Label`, `Link`, `List`, `Avatar`, `Modal`, `Popover`, `Tooltip`, `Dropdown`, `Spinner`, `ProgressBar` |
|
|
69
69
|
| **Containers** | `Flex`, `Grid`, `Base`, `Content`, `Card`, `Paper`, `Scroll`, `Notification` |
|
|
70
70
|
| **Form** | `Form`, `Field`, `FieldGroup`, `Input`, `InputCurrency`, `InputDate`, `InputMask`, `InputRange`, `InputSelect`, `Radio`, `Checkbox`, `Switch`, `TextArea`, `UploadCard` |
|
|
71
71
|
| **Data Display** | `Table`, `DataTable`, `Tabs` |
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
Each component lives in `src/<group>/<Component>/` with:
|
|
74
74
|
|
|
75
75
|
```
|
|
76
76
|
ComponentName/
|
|
@@ -85,8 +85,8 @@ ComponentName/
|
|
|
85
85
|
|
|
86
86
|
## Theming
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
The `ThemeProvider` exposes semantic tokens (colors, spacing, typography,
|
|
89
|
+
borders, shadows). Components consume the theme via styled-components:
|
|
90
90
|
|
|
91
91
|
```tsx
|
|
92
92
|
import { Text } from '@apollion-dsi/core/elements/text';
|
|
@@ -94,12 +94,12 @@ import { Flex } from '@apollion-dsi/core/containers/flex';
|
|
|
94
94
|
|
|
95
95
|
<Flex bgColor="primary.light" p="large">
|
|
96
96
|
<Text color="primary.dark" fontWeight="bold">
|
|
97
|
-
|
|
97
|
+
Content
|
|
98
98
|
</Text>
|
|
99
99
|
</Flex>;
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
For a custom theme, pass `theme` to `ApollionProvider`:
|
|
103
103
|
|
|
104
104
|
```tsx
|
|
105
105
|
<ApollionProvider theme={customTheme}>...</ApollionProvider>
|
|
@@ -107,21 +107,33 @@ Para tema customizado, passe `theme` ao `ApollionProvider`:
|
|
|
107
107
|
|
|
108
108
|
## Scripts (workspace)
|
|
109
109
|
|
|
110
|
-
| Script |
|
|
111
|
-
| ---------------------------------------------------------- |
|
|
112
|
-
| `yarn workspace @apollion-dsi/core run start` | TSC
|
|
113
|
-
| `yarn workspace @apollion-dsi/core run storybook` | Storybook
|
|
114
|
-
| `yarn workspace @apollion-dsi/core run build` |
|
|
115
|
-
| `yarn workspace @apollion-dsi/core run test` |
|
|
116
|
-
| `yarn workspace @apollion-dsi/core run validate` | Lint + types + prettier + Jest + build.
|
|
117
|
-
| `yarn workspace @apollion-dsi/core run coverage` | Jest coverage.
|
|
118
|
-
| `yarn workspace @apollion-dsi/core run audit-dependencies` | Audit-ci.
|
|
110
|
+
| Script | What it does |
|
|
111
|
+
| ---------------------------------------------------------- | ------------------------------------------------------- |
|
|
112
|
+
| `yarn workspace @apollion-dsi/core run start` | TSC in watch mode. |
|
|
113
|
+
| `yarn workspace @apollion-dsi/core run storybook` | Storybook at `http://localhost:4000`. |
|
|
114
|
+
| `yarn workspace @apollion-dsi/core run build` | Cleans `lib/`, runs esbuild + types + static storybook. |
|
|
115
|
+
| `yarn workspace @apollion-dsi/core run test` | Equivalent to `validate`. |
|
|
116
|
+
| `yarn workspace @apollion-dsi/core run validate` | Lint + types + prettier + Jest + build. |
|
|
117
|
+
| `yarn workspace @apollion-dsi/core run coverage` | Jest coverage. |
|
|
118
|
+
| `yarn workspace @apollion-dsi/core run audit-dependencies` | Audit-ci. |
|
|
119
119
|
|
|
120
|
-
##
|
|
120
|
+
## Documentation
|
|
121
121
|
|
|
122
|
-
- **
|
|
123
|
-
- **Storybook
|
|
122
|
+
- **Official documentation:** <https://www.apollion.com.br>
|
|
123
|
+
- Local **Storybook**: `yarn workspace @apollion-dsi/core run storybook`.
|
|
124
124
|
|
|
125
|
-
##
|
|
125
|
+
## Lineage & Acknowledgements
|
|
126
|
+
|
|
127
|
+
Apollion (2020) and DEX (2018) were built in collaboration between
|
|
128
|
+
**Fernando Balves** (author) and **Fernando Poe** (co-author / Design Manager).
|
|
129
|
+
The intuition of semantic tokens, generative palettes and the separation of
|
|
130
|
+
intent ⇄ implementation was born from that joint work.
|
|
131
|
+
|
|
132
|
+
**[Aplica DS](https://aplica.me/en/)** (2025), by Fernando Poe, is the public,
|
|
133
|
+
independent evolution of that thinking. Apollion's token architecture adopts the
|
|
134
|
+
non-disruptive subset of its layer model (Semantic, Foundation, Surface) — see
|
|
135
|
+
[docs.aplica.me](https://docs.aplica.me/en-US) for the upstream concept.
|
|
136
|
+
|
|
137
|
+
## License
|
|
126
138
|
|
|
127
139
|
MIT.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as s}from"./chunk-7Y6YHVIS.esm.js";import"./chunk-IQ6MEZCJ.esm.js";import"./chunk-FUSBM77F.esm.js";import"./chunk-PR2T746R.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-QXQC37K5.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-FXR7WKA7.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-3RNWYCCU.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as u,d as p,e as g,f as y,l as d,m as C,q as l,r as f,s as h,t as I,u as b}from"./chunk-E3MSXQXV.esm.js";import{o as c,p as m}from"./chunk-BV6GHAF7.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";var s={baseDark:"#26292E",baseLight:"#FCFCFC",transparent:"transparent",deepDark:"#000",deepLight:"#FFF",main:"#003750",opposite:u("#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 L(r){let e={baseDark:r.baseDark,baseLight:r.baseLight,deepDark:r.deepDark,deepLight:r.deepLight,transparent:r.transparent,neutral:f(r),grayscale:l(r),...h(r),...I(r),...b(r)},t={...e,...C(e),disabled:d(e)},i=m(c);return Object.assign(o=>F.test(o)?o:i(o,t,"base"),t,{getColor:g,getContrastColor:y})}n(L,"createColors");function x(r=s){let e=l(r);return{...r,main:e[100],opposite:e[10],complementary:e[20],primary:e[60],secondary:e[40],tertiary:e[30],information:e[50],success:e[70],warning:e[80],danger:e[90]}}n(x,"grayscalePalette");function k(r=s){var i;let e=(i=r.baseLight)!=null?i:s.baseLight,t=n(o=>o&&(typeof o=="string"?p(o,e,7):{...o,base:p(o.base,e,7)}),"aaa");return{...r,main:t(r.main),opposite:t(r.opposite),complementary:t(r.complementary),primary:t(r.primary),secondary:t(r.secondary),tertiary:t(r.tertiary),information:t(r.information),success:t(r.success),warning:t(r.warning),danger:t(r.danger)}}n(k,"highContrastPalette");var a={orange:"#E69F00",skyBlue:"#56B4E9",bluishGreen:"#009E73",vermillion:"#D55E00",blue:"#0072B2"};function B(r=s){return{...r,main:r.main,danger:a.vermillion,success:a.bluishGreen,warning:a.orange,primary:a.skyBlue,information:a.blue,secondary:a.blue}}n(B,"colorblindPalette");var v={grayscale:x,"high-contrast":k,colorblind:B};export{s as a,L as b,x as c,k as d,a as e,B as f,v as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as C}from"./chunk-
|
|
1
|
+
import{d as C}from"./chunk-T5YJT2PA.esm.js";import{b}from"./chunk-F3WJSICY.esm.js";import{a}from"./chunk-CDRLVSLF.esm.js";import{a as t}from"./chunk-CLDPV7NK.esm.js";import{g as r}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import o from"react";var c=r(b).withConfig({componentId:"sc-a4obcw-0"})([""]);var e=l(n=>{let{getAllSelected:m}=o.useContext(a);return o.createElement(c,{bgColor:"baseLight"},o.createElement(t,{justifyContent:"center"},o.createElement(C,{label:n.children,onChange:x=>m(x.target.checked)})))},"TableHeaderCheckboxCellComponent");e.displayName="TableHeaderCheckboxCell";export{c as a,e as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r}from"./chunk-
|
|
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 +1 @@
|
|
|
1
|
-
import{a as d}from"./chunk-
|
|
1
|
+
import{a as d}from"./chunk-FXR7WKA7.esm.js";import{a as f}from"./chunk-CLDPV7NK.esm.js";import{j as H}from"./chunk-BV6GHAF7.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import r from"react";var A=n(({theme:t,disabled:y,variant:c})=>{let e=t.colors.neutral[180],s=t.colors.neutral[180];if(c!=="default"){let{base:g,dark:i}=c==="success"?t.colors.success:t.colors.danger;e=i,s=g}return y&&(e=t.colors.grayscale[30]),{"--colorLabel":e,"--colorHint":s}},"getFieldColor"),v=a(f).withConfig({componentId:"sc-1iiu1tt-0"})(["width:100%;justify-content:center;",";"],A),I=a(d).withConfig({componentId:"sc-1iiu1tt-1"})(["color:var(--color-label);"]),L=a(d).withConfig({componentId:"sc-1iiu1tt-2"})(["color:var(--color-label);"]),O=a(d).withConfig({componentId:"sc-1iiu1tt-3"})(["color:var(--color-hint);&:empty{height:",";}"],({theme:t})=>t.spacing("small"));var j=n(({name:t,value:y,label:c,inputProps:e,hintText:s,variant:g,setFieldValue:i,readOnly:m,readOnlyText:k="apenas leitura",hintErrorText:u="Something went wrong",hintSuccessText:z="Everything is alright",...o})=>{var w;let E=o.component,S=!!o.errors||o.error,b=!!o.success,h=(w=e==null?void 0:e.readOnly)!=null?w:m,V=n(l=>{if(!m&&(e!=null&&e.onChange&&e.onChange(l),i)){let x=l;H(l)&&(x=l.target.type==="checkbox"||l.target.type==="radio"?l.target.checked:l.target.value),i(t,x)}},"onChange"),D=n(()=>{if(m)return;if(typeof(e==null?void 0:e.reset)=="function"){e.reset();return}let l=e==null?void 0:e.type;i&&i(t,l==="checkbox"||l==="radio"?!1:"")},"resetField"),B=typeof o.errors=="string"?o.errors:u,C=S&&B||b&&z||s,F=g||S&&"error"||b&&"success"||"default",N=!c||o.hideLabel,W=h||o.optionalText,q=h?k:o.optionalText,T=e&&e.disabled;return r.createElement(v,{area:o.area,variant:F,disabled:T,gap:"micro",...o.fieldProps},r.createElement(f,{flexDirection:"row",justifyContent:"between",isHidden:N},r.createElement(I,{as:"label",htmlFor:t,fontSize:"xs",fontWeight:"bold",lineHeight:"regular"},c),W&&r.createElement(L,{fontStyle:"italic",lineHeight:"tight",fontSize:"micro"},q)),r.createElement(E,{...e,id:t,name:t,value:y,variant:F,readOnly:h,onChange:V,reset:D}),r.createElement(O,{lineHeight:"tight",fontSize:"micro",isHidden:T||!C},C))},"FieldComponent");j.displayName="Field";export{j as a};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import{a as d}from"./chunk-FXR7WKA7.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 +1 @@
|
|
|
1
|
-
import{e as f}from"./chunk-
|
|
1
|
+
import{e as f}from"./chunk-TD4RVB2L.esm.js";import{b as C}from"./chunk-BVKAXW2H.esm.js";import{a as u}from"./chunk-YRBM4WYM.esm.js";import{a as I,k as d,l as g}from"./chunk-BV6GHAF7.esm.js";import{g as h}from"./chunk-APD22JEO.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 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 +1 @@
|
|
|
1
|
-
import{a as b,b as C,c as P,e as k,f as v,h as E,j as R,k as F,l as S,m as I,n as z,o as B}from"./chunk-5H2LWL6K.esm.js";import{a as T}from"./chunk-
|
|
1
|
+
import{a as b,b as C,c as P,e as k,f as v,h as E,j as R,k as F,l as S,m as I,n as z,o as B}from"./chunk-5H2LWL6K.esm.js";import{a as T}from"./chunk-FXR7WKA7.esm.js";import{a as c}from"./chunk-YRBM4WYM.esm.js";import{g as s}from"./chunk-APD22JEO.esm.js";import{a as n}from"./chunk-GZONWSRB.esm.js";import o from"react";function G({inverted:t,theme:e}){return t?{"--background":e.colors.grayscale[0],"--color":e.colors.neutral[170]}:{"--background":e.colors.grayscale[80],"--color":e.colors.grayscale[0]}}n(G,"getContainerStyle");var r=s(c).withConfig({componentId:"sc-10yilai-0"})(["position:absolute;width:8px;height:8px;z-index:-1;&::before{content:'';transform:rotate(45deg);background:var(--background);position:absolute;width:8px;height:8px;z-index:-1;}"]),H=s(c).withConfig({componentId:"sc-10yilai-1"})([""," color:var(--color);background-color:var(--background);line-height:1;&[data-placement^='top'] > ","{bottom:-3px;}&[data-placement^='bottom'] > ","{top:-3px;}&[data-placement^='left'] > ","{right:-4px;}&[data-placement^='right'] > ","{left:-4px;}"],G,r,r,r,r);var M=n((t,e)=>typeof t=="string"?o.createElement(T,{...e},t):t,"getElement"),O=n(({children:t,position:e="top",content:A,inverted:N,noArrow:U,onDismiss:a,visible:i})=>{var y,w;if(i!==void 0&&typeof a=="undefined")throw new Error('Voc\xEA deve fornecer a fun\xE7\xE3o "onDismiss" quando utilizar a prop "visible"');let f=o.useRef(null),[$,q]=o.useState(!1),p=i!==void 0,d=p?!!i:$,D=o.useCallback(h=>{p?!h&&a&&a():q(h)},[p,a]),{refs:m,floatingStyles:K,context:l,placement:L,middlewareData:u}=F({open:d,onOpenChange:D,placement:e,middleware:[v(8),P(),E({padding:4}),b({element:f})],whileElementsMounted:C}),{getReferenceProps:V,getFloatingProps:X}=z([I(l,{move:!1,restMs:40}),S(l),R(l,{outsidePress:!0,escapeKey:!0}),B(l,{role:"tooltip"})]),g=(y=u.arrow)==null?void 0:y.x,x=(w=u.arrow)==null?void 0:w.y,Y=M(t),j=o.cloneElement(Y,{ref:m.setReference,...V()});return o.createElement(o.Fragment,null,j,d&&o.createElement(k,null,o.createElement(H,{ref:m.setFloating,inverted:N,deep:2,p:"xs",borderRadius:"xs","data-placement":L,style:K,...X()},M(A,{fontSize:"micro",lineHeight:"regular"}),!U&&o.createElement(r,{ref:f,style:{left:g!=null?`${g}px`:"",top:x!=null?`${x}px`:""}}))))},"TooltipComponent");O.displayName="Tooltip";export{r as a,H as b,O as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-GZONWSRB.esm.js";import t from"deepmerge";var e=t;var m={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}}}};function r(i={}){return e(m,i)}o(r,"createComponentTokens");export{e as a,r as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as M,b as T}from"./chunk-IQ6MEZCJ.esm.js";import{c as z}from"./chunk-FUSBM77F.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-FXR7WKA7.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 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-FXR7WKA7.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 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-IWMEDT6U.esm.js";import{d as r}from"./chunk-
|
|
1
|
+
import{a as f}from"./chunk-IWMEDT6U.esm.js";import{d as r}from"./chunk-FXR7WKA7.esm.js";import{a as t}from"./chunk-CLDPV7NK.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";import e,{forwardRef as D,useMemo as b}from"react";var L=D(({title:s,contents:m,direction:p="row",itemProps:a,dividers:x=!1,...c},u)=>{let d=b(()=>m.map(o=>{var i;return{...o,id:(i=o.id)!=null?i:f()}}),[m]),n=p==="row",h=l(o=>x&&o<d.length-1?{borderPosition:"bottom",borderWidth:"thin",borderColor:"neutral.70"}:void 0,"dividerProps");return e.createElement(t,{ref:u,flexDirection:"column",gap:"small",width:"100%",...c},s&&e.createElement(r,{fontWeight:"bold",lineHeight:"regular"},s),e.createElement(t,{as:"dl",flexDirection:"column",gap:"micro",width:"100%",m:"zero"},d.map(({id:o,key:i,value:g},w)=>e.createElement(t,{key:o,as:"div",width:"100%",flexDirection:n?"row":"column",justifyContent:n?"between":void 0,gap:n?"medium":"micro",...h(w),...a},e.createElement(r,{as:"dt",fontSize:"xs",lineHeight:"tight",color:"neutral.180"},i),e.createElement(r,{as:"dd",fontSize:"xs",lineHeight:"tight"},g)))))});L.displayName="DescriptionList";export{L as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as G}from"./chunk-EJ3VKFOX.esm.js";import{a as P,b as K}from"./chunk-IQ6MEZCJ.esm.js";import{e as k}from"./chunk-PR2T746R.esm.js";import{ga as A}from"./chunk-H2KVPACE.esm.js";import{b as z}from"./chunk-5SQH2W2J.esm.js";import{e as V}from"./chunk-UNM6DHPD.esm.js";import{a as O}from"./chunk-BE2JDTVA.esm.js";import{a as L,d as j}from"./chunk-FXR7WKA7.esm.js";import{a as H}from"./chunk-BMGVQBTB.esm.js";import{a as F,b as B}from"./chunk-6OXVRDS2.esm.js";import{a as b}from"./chunk-CLDPV7NK.esm.js";import{a as I}from"./chunk-YRBM4WYM.esm.js";import{a as D}from"./chunk-BV6GHAF7.esm.js";import{c as E}from"./chunk-G5Z7USXC.esm.js";import{b as h,g as c}from"./chunk-APD22JEO.esm.js";import{a as l}from"./chunk-GZONWSRB.esm.js";var eo=h(["max-width:30rem;min-width:20rem;"]),to=h(["max-width:40rem;min-width:20rem;"]),no=h(["max-width:55rem;min-width:40rem;"]),ro=h(["max-width:75rem;min-width:40rem;"]),lo=h(["width:95%;"]);function ao({size:n}){switch(n){case"small":return eo;case"medium":return no;case"large":return ro;default:return to}}l(ao,"modalSize");function io({variant:n,theme:e}){let a=e.colors[n];return h(["--baseColor:",";--lightColor:",";--actionColor:",";"],a.base,a.light,a.action)}l(io,"modalVariantColor");var W=c(B).attrs({p:"large",borderRadius:"md",bgColor:"neutral.0"}).withConfig({componentId:"sc-8jjm43-0"})(["",";",";","{",";}"],lo,io,({theme:n})=>n.breakpoints.up("sm"),ao),q=c(b).withConfig({componentId:"sc-8jjm43-1"})(["max-height:84vh;overflow:hidden;"]),N=c(b).withConfig({componentId:"sc-8jjm43-2"})(["& ","{flex:1;}& ","{padding:0.3rem;color:var(--baseColor);&:only-child{margin-left:auto;}}& ",":active{color:var(--actionColor);background-color:var(--lightColor);}& ",":hover{background-color:var(--lightColor);}"],L,P,P,P),Q=c(I).withConfig({componentId:"sc-8jjm43-3"})(["flex:1;display:flex;overscroll-behavior:none;overflow:hidden;"]),Y=c(b).attrs({borderRadius:"circular"}).withConfig({componentId:"sc-8jjm43-4"})(["background-color:var(--lightColor);& svg{color:var(--baseColor);width:1.25rem;height:1.25rem;g{fill:var(--baseColor);}}"]),$=c(I).withConfig({componentId:"sc-8jjm43-5"})(["z-index:9999;display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;"]),J=c(B).withConfig({componentId:"sc-8jjm43-6"})(["will-change:opacity;"]);import o,{cloneElement as mo,isValidElement as so,useEffect as U,useRef as co,useState as fo}from"react";import{createPortal as uo}from"react-dom";var X=l(({isOpen:n,onDismiss:e,...a})=>{if(!n&&!e)throw new Error('You must provide "isOpen" and "onDismiss" if not using "trigger" prop.');let[i,f]=fo(!1),s=co(null);return U(()=>{f(!0)},[]),U(()=>{var C,M;if(!n||!i)return;let t=document.activeElement,d=s.current,u=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),y=l(()=>d?Array.from(d.querySelectorAll(u)).filter(r=>r.offsetParent!==null):[],"getFocusable");(M=(C=y()[0])!=null?C:d)==null||M.focus();let m=l(r=>{if(r.key==="Escape"){r.stopPropagation(),e==null||e();return}if(r.key!=="Tab")return;let p=y();if(!p.length){r.preventDefault();return}let v=p[0],S=p[p.length-1],g=document.activeElement;r.shiftKey&&(g===v||g===d)?(r.preventDefault(),S.focus()):!r.shiftKey&&g===S&&(r.preventDefault(),v.focus())},"onKeyDown");return document.addEventListener("keydown",m),()=>{var r;document.removeEventListener("keydown",m),(r=t==null?void 0:t.focus)==null||r.call(t)}},[n,i,e]),!i||!E?null:uo(o.createElement(F,null,n?o.createElement($,{"data-testid":"modal-container"},o.createElement(J,{absoluteFill:!0,bgColor:"neutral.180","data-testid":"modal-overlay",onClick:e,initial:{opacity:0},animate:{opacity:.8},exit:{opacity:0}}),o.createElement(go,{ref:s,onDismiss:e,...a})):null),E)},"ModalBaseComponent"),po=l(({defaultOpen:n,trigger:e,isOpen:a,onDismiss:i,onModalOpen:f,...s})=>{let{active:t,disable:d,enable:u,toggle:y}=O(n,{onActive:f});return(a||i)&&D.warn('"isOpen" and "onDismiss" has no effect while using "trigger" prop'),o.createElement(o.Fragment,null,l(()=>{let m=null;if(typeof e=="function"&&(m=e({isOpen:t,open:u})),so(e)&&(m=mo(e,{onClick:y})),m===null)throw new Error('"trigger" prop is not a valid element');return m},"renderTrigger")(),o.createElement(X,{isOpen:t,onDismiss:d,...s}))},"ModalTriggerVariant"),go=o.forwardRef(l(function({noCloseButton:e,primaryButton:a,secondaryButton:i,primaryText:f,secondaryText:s,onDismiss:t,primaryAction:d,secondaryAction:u,children:y,tagline:w,variant:m,footer:C,title:M,size:r,icon:p,closeLabel:v="Fechar"},S){let{isMobile:g}=V(),T=o.useId(),_=l(()=>{d({close:t})},"handlePrimary"),R=l(()=>{u({close:t})},"handleSecondary"),oo=l(()=>{let x={onClick:_,fullWidth:C==="full"||g,"data-testid":"modal-confirm-button"};return a?o.cloneElement(a,x):o.createElement(k,{color:m,...x},f)},"renderPrimaryButton");return o.createElement(W,{ref:S,role:"dialog","aria-modal":"true","aria-labelledby":M?T:void 0,tabIndex:-1,size:r,variant:m,initial:{y:"100%",opacity:0},animate:{y:0,opacity:1},exit:{y:"200%",opacity:0}},o.createElement(q,{gap:"medium"},o.createElement(N,{gap:"xs"},o.createElement(H,{opener:p&&o.createElement(Y,{justifyContent:"center",alignItems:"center",p:"micro"},p),closer:!e&&o.createElement(K,{onClick:t,"data-testid":"modal-close-button","aria-label":v,icon:o.createElement(z,{icon:A}),variant:"linked",color:"secondary",size:"large",alignSelf:"start"})},M&&o.createElement(j,{id:T,variant:"h4",area:"title",color:"neutral.170",text:M})),w&&o.createElement(j,{variant:"meta",color:"secondary.dark",area:"tagline"},w)),o.createElement(Q,{py:"medium"},o.createElement(G,null,y)),(d||u)&&o.createElement(b,{flexDirection:g?"column-reverse":"row",justifyContent:C==="expanded"?"between":"end",gap:"medium"},u&&l(()=>{if(C==="full")return null;let x={onClick:R,fullWidth:g,"data-testid":"modal-cancel-button"};return i?o.cloneElement(i,x):o.createElement(k,{variant:"outlined",color:"secondary",...x},s)},"renderSecondaryButton")(),d&&oo())))},"ModalDialog")),Z=l(({noCloseButton:n=!1,secondaryText:e="Cancelar",primaryText:a="Confirmar",variant:i="primary",footer:f="right",...s})=>{let t={noCloseButton:n,secondaryText:e,primaryText:a,variant:i,footer:f,...s};return t!=null&&t.trigger?o.createElement(po,{...t}):o.createElement(X,{...t})},"ModalComponent");Z.displayName="Modal";export{W as a,q as b,N as c,Q as d,Y as e,$ as f,J as g,Z as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-6N52NFPT.esm.js";import{a as o}from"./chunk-
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as f,c as j,d as _,e as z,f as B}from"./chunk-ZPPJD46V.esm.js";import{g as x}from"./chunk-UYYT7GH5.esm.js";import{b as F,c as S,d as L,e as H,f as k,h as O,i as D,j as K,k as A,n as C,o as R}from"./chunk-5H2LWL6K.esm.js";import{n as P}from"./chunk-H2KVPACE.esm.js";import{b as w}from"./chunk-5SQH2W2J.esm.js";import{a as T}from"./chunk-4V7LOS5Z.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";import s,{forwardRef as $,useMemo as c,useState as V}from"react";function N(e,n){let i={value:n,name:e!=null?e:"",type:"text"};return{target:i,currentTarget:i,type:"change",bubbles:!0,cancelable:!0,defaultPrevented:!1,isDefaultPrevented:t(()=>!1,"isDefaultPrevented"),isPropagationStopped:t(()=>!1,"isPropagationStopped"),isTrusted:!1,persist:t(()=>{},"persist"),preventDefault:t(()=>{},"preventDefault"),stopPropagation:t(()=>{},"stopPropagation"),timeStamp:Date.now(),nativeEvent:{target:i},eventPhase:0}}t(N,"buildSyntheticEvent");var ee="yyyy-MM-dd";function te(e){if(!e)return;let n=_(e);return j(n)?n:void 0}t(te,"toDate");function ne(e,n,i){let o=[];if(n&&o.push({before:n}),i&&o.push({after:i}),e&&o.push(...Array.isArray(e)?e:[e]),o.length!==0)return o.length===1?o[0]:o}t(ne,"resolveDisabled");var U=$(({value:e,onChange:n,onValueChange:i,locale:o=z,minDate:a,maxDate:p,disabledDates:h,displayFormat:g="dd/MM/yyyy",name:y,placeholder:q,disabled:m,readOnly:M,...G},d)=>{let[v,I]=V(!1),u=c(()=>te(e),[e]),J=c(()=>u?f(u,g,{locale:o}):"",[u,g,o]),Q=c(()=>ne(h,a,p),[h,a,p]),{refs:b,floatingStyles:W,context:l}=A({open:v,onOpenChange:I,placement:"bottom-start",middleware:[k(4),S(),O({padding:8})],whileElementsMounted:F}),{getReferenceProps:X,getFloatingProps:Y}=C([D(l,{enabled:!m&&!M}),K(l,{outsidePress:!0,escapeKey:!0}),R(l,{role:"dialog"})]),Z=t(r=>{if(!r)return;let E=f(r,ee);i==null||i(E),n==null||n(N(y,E)),I(!1)},"handleSelect");return s.createElement(s.Fragment,null,s.createElement(x,{...G,ref:r=>{typeof d=="function"?d(r):d&&(d.current=r),b.setReference(r)},type:"text",role:"combobox",disabled:m,readOnly:M,name:y,placeholder:q,value:J,onChange:t(r=>{},"handleInputChange"),inputMode:"none",autoComplete:"off",icon:s.createElement(w,{icon:P}),iconPosition:"right",...X({onKeyDown:t(r=>{r.key.length===1&&r.key!==" "&&r.preventDefault()},"handleKeyDown")})}),v&&s.createElement(H,null,s.createElement(L,{context:l,modal:!1,initialFocus:-1},s.createElement("div",{ref:b.setFloating,style:W,...Y()},s.createElement(T,{p:"xs",borderRadius:"xs",deep:3},s.createElement(B,{mode:"single",selected:u,onSelect:Z,locale:o,defaultMonth:u,disabled:Q,captionLayout:"dropdown",startMonth:a!=null?a:new Date(1970,0,1),endMonth:p!=null?p:new Date(2100,11,31)}))))))});U.displayName="InputDate";export{U as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n}from"./chunk-
|
|
1
|
+
import{c as n}from"./chunk-BC24WDTC.esm.js";import{a as e}from"./chunk-CLDPV7NK.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{b as f}from"./chunk-TUALAE4W.esm.js";import{a as I}from"./chunk-ZLFQHCLE.esm.js";import{a as s}from"./chunk-5Q265MC7.esm.js";import{b as g}from"./chunk-
|
|
1
|
+
import{b as f}from"./chunk-TUALAE4W.esm.js";import{a as I}from"./chunk-ZLFQHCLE.esm.js";import{a as s}from"./chunk-5Q265MC7.esm.js";import{b as g}from"./chunk-LATE6DIA.esm.js";import{c as i}from"./chunk-BV6GHAF7.esm.js";import{g as c}from"./chunk-APD22JEO.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as H}from"./chunk-HP5OTTKY.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 +1 @@
|
|
|
1
|
-
import{a as t}from"./chunk-
|
|
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 +1 @@
|
|
|
1
|
-
import{c as i}from"./chunk-
|
|
1
|
+
import{c as i}from"./chunk-6UPV326F.esm.js";import{d as r}from"./chunk-FXR7WKA7.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 +1 @@
|
|
|
1
|
-
import{a,b as s,d as t}from"./chunk-
|
|
1
|
+
import{a,b as s,d as t}from"./chunk-X3YSUW3W.esm.js";import{a as o}from"./chunk-FXR7WKA7.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-
|
|
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 +1 @@
|
|
|
1
|
-
import{a as C}from"./chunk-2CVIS37T.esm.js";import{d as n}from"./chunk-
|
|
1
|
+
import{a as C}from"./chunk-2CVIS37T.esm.js";import{d as n}from"./chunk-FXR7WKA7.esm.js";import{a as m}from"./chunk-BMGVQBTB.esm.js";import{b as t}from"./chunk-A6Z2M2XU.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import l from"react";var d=a.th.withConfig({componentId:"sc-1ft9505-0"})([""," ",""],C,t);var e=o(r=>l.createElement(d,{...r,bgColor:r.bgColor||void 0},l.createElement(m,null,l.createElement(n,{color:"neutral.170",fontWeight:"stronger"},r.children))),"TableHeaderCellComponent");e.displayName="TableHeaderCell";export{d as a,e as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as x,b as y,c as
|
|
1
|
+
import{a as x,b as y,c as h,f as T}from"./chunk-UYYT7GH5.esm.js";import{a as c}from"./chunk-CLDPV7NK.esm.js";import{c as o}from"./chunk-LATE6DIA.esm.js";import{b as f}from"./chunk-IK5Z5C2R.esm.js";import{b as d}from"./chunk-OXQA5WD3.esm.js";import{b as p}from"./chunk-A6Z2M2XU.esm.js";import{d as u}from"./chunk-RWLJNXLX.esm.js";import{a as s}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;
|
|
@@ -7,7 +7,7 @@ import{a as x,b as y,c as T,f as h}from"./chunk-2JE2KM3Y.esm.js";import{a as c}f
|
|
|
7
7
|
|
|
8
8
|
${x}
|
|
9
9
|
|
|
10
|
-
${
|
|
10
|
+
${h}
|
|
11
11
|
|
|
12
12
|
${y}
|
|
13
13
|
|
|
@@ -15,7 +15,7 @@ import{a as x,b as y,c as T,f as h}from"./chunk-2JE2KM3Y.esm.js";import{a as c}f
|
|
|
15
15
|
${f({fontFamily:"main"})}
|
|
16
16
|
${d({p:"small"})}
|
|
17
17
|
${p({bgColor:"grayscale.0"})}
|
|
18
|
-
`,
|
|
18
|
+
`,g=o(c).withConfig({componentId:"apollion-textarea-counter"})`
|
|
19
19
|
position: absolute;
|
|
20
20
|
right: 0;
|
|
21
21
|
bottom: 0;
|
|
@@ -23,4 +23,4 @@ import{a as x,b as y,c as T,f as h}from"./chunk-2JE2KM3Y.esm.js";import{a as c}f
|
|
|
23
23
|
font-size: 0.6875rem;
|
|
24
24
|
transform: translateY(100%);
|
|
25
25
|
color: ${({theme:e})=>e.colors.neutral[170]};
|
|
26
|
-
`;import a,{forwardRef as k,useState as
|
|
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"}},A=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:s(m=>{t||$(m.target.value),n&&n(m)},"handleChange"),...V[z],...r,ref:F,style:{resize:I?"both":"none"}}),r.maxLength&&a.createElement(g,null,Number(r.maxLength)-(P||"").length," ",b))});A.displayName="TextArea";export{S as a,g as b,A as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as B}from"./chunk-
|
|
1
|
+
import{c as B}from"./chunk-PR2T746R.esm.js";import{a as h}from"./chunk-FXR7WKA7.esm.js";import{b as g}from"./chunk-NI6YLGUA.esm.js";import{b as p}from"./chunk-IK5Z5C2R.esm.js";import{b as x}from"./chunk-TLBV5OUM.esm.js";import{d as y}from"./chunk-E3MSXQXV.esm.js";import{b as d,g as L}from"./chunk-APD22JEO.esm.js";import{a as e}from"./chunk-GZONWSRB.esm.js";import k,{forwardRef as E}from"react";var w=5,F=e(t=>{let n=x(t)(t);return!(n!=null&&n.color)||t.contrast?n:{...n,color:y(n.color,t.theme.colors.baseLight,w)}},"readableLinkColor"),C=L.a.withConfig({componentId:"sc-jsghq-0"})(["",";",";",";",""],F,g({cursor:"pointer"}),p({textDecoration:"underline",fontFamily:"main"}),({textDecoration:t})=>t==="none"&&d(["&:hover,&:focus-visible{text-decoration:underline;}"])),b=L.a.attrs({"data-ds-link-button":""}).withConfig({componentId:"sc-jsghq-1"})(["",";",";text-decoration:none;"],B,p({lineHeight:"tight"}));var I=e(t=>t?/^(https?:)?\/\//i.test(t)||/^(mailto|tel|sms):/i.test(t):!1,"isExternalHref"),H=["noopener","noreferrer"],S=e(t=>{let n=(t!=null?t:"").toLowerCase().split(/\s+/).filter(Boolean);return[...new Set([...H,...n])].join(" ")},"mergeRel"),A={target:"_blank"},v=E(({as:t,text:n,children:c,variant:l="contained",color:r="primary",href:o,rel:i,...f},a)=>{let s=I(o),m=s?"a":t,T=s?{...A,rel:S(i)}:{rel:i};return k.createElement(b,{...f,...T,as:m,variant:l,color:r,href:o,ref:a},k.createElement(h,{fontWeight:"bold",lineHeight:"tight"},c||n))}),u=E(({as:t,text:n,children:c,color:l="primary",href:r,rel:o,...i},f)=>{let a=I(r),s=a?"a":t,m=a?{...A,rel:S(o)}:{rel:o};return k.createElement(C,{...i,...m,as:s,color:l,href:r,ref:f},c||n)});u.Button=v;u.displayName="Link";export{C as a,b,u as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as i}from"./chunk-LATE6DIA.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as r}from"./chunk-GZONWSRB.esm.js";var p=a(i.span).withConfig({componentId:"sc-29xk67-0"})(["margin:0;font-family:",";line-height:",";& a:not([data-ds-link-button]){text-decoration:underline;}& a[data-ds-link-button]{display:inline-flex;vertical-align:middle;}"],({theme:e})=>e.font.fontFamily.main,({theme:e})=>e.font.lineHeight.regular);var x={p:{props:{fontSize:"small"}},meta:{tag:"p",props:{fontSize:"micro"}},lead:{tag:"p",props:{fontSize:"medium"}},blockquote:{props:{fontSize:"xxl"}},h1:{props:{fontSize:"xl",md_fontSize:"colossal"}},h2:{props:{fontSize:"large",md_fontSize:"giant"}},h3:{props:{fontSize:"large",fontStyle:"italic",md_fontSize:"xxl",md_fontStyle:"normal"}},h4:{props:{fontSize:"medium",md_fontSize:"xl"}},h5:{props:{fontSize:"medium",fontStyle:"italic",color:"neutral.170",md_fontSize:"large",md_fontStyle:"normal",md_color:"neutral.180"}},h6:{props:{fontSize:"small",color:"neutral.170",textTransform:"uppercase",md_fontSize:"medium",md_textTransform:"normal",md_color:"neutral.180"}},d1:{tag:"h1",props:{fontSize:"xxl",md_fontSize:"gargantua"}},d2:{tag:"h2",props:{fontSize:"xl",md_fontSize:"colossal"}},d3:{tag:"h3",props:{fontSize:"large",md_fontSize:"giant"}},d4:{tag:"h4",props:{fontSize:"medium",md_fontSize:"xxl"}}},T={fontWeight:"bold",lineHeight:"close"},g={fontWeight:"stronger",lineHeight:"close"};function u(e){switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return T;case"d1":case"d2":case"d3":case"d4":return g;default:return{}}}r(u,"getDefaultProps");function s(e){let o=x,{tag:n=e,props:t={}}=o[e]||{};return{tag:n,variantProps:{fontWeight:"regular",letterSpacing:"regular",color:"neutral.180",...u(e),...t}}}r(s,"getTextProps");import S,{forwardRef as h}from"react";var l=h(({text:e,children:o,variant:n="span",type:t,...m},f)=>{let{tag:c,variantProps:d}=s(n);return S.createElement(p,{as:c,ignoreResponsive:t==="mobile",enableBreakpoint:t==="desktop"?"md":void 0,...d,...m,ref:f},o||e)});l.displayName="Text";var z=l;export{p as a,x as b,s as c,z as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as x}from"./chunk-
|
|
1
|
+
import{c as x}from"./chunk-FUSBM77F.esm.js";import{o as h}from"./chunk-H2KVPACE.esm.js";import{b as g}from"./chunk-5SQH2W2J.esm.js";import{a as S}from"./chunk-IWMEDT6U.esm.js";import{d as u}from"./chunk-FXR7WKA7.esm.js";import{a as m}from"./chunk-CLDPV7NK.esm.js";import{b as f}from"./chunk-A6Z2M2XU.esm.js";import{g as p}from"./chunk-APD22JEO.esm.js";import{a as d}from"./chunk-GZONWSRB.esm.js";import e,{forwardRef as j,useState as v}from"react";var w=p(m).withConfig({componentId:"sc-1bknes7-0"})(["list-style:none;padding:0;margin:0;"]),b=p(m).withConfig({componentId:"sc-1bknes7-1"})(["padding:8px 12px;cursor:pointer;&:hover{","}",""],f(({isSelected:t})=>!t&&{bgColor:"muted"}),f(({isSelected:t})=>t&&{bgColor:"neutral.40"}));var B=d(({item:t,showCheckIcon:l,action:a})=>{var c;if(!t.title)throw new Error("You need to pass a title to you object inside the list");let r=l&&t.isSelected&&!t.to,i=d(()=>!t.to&&a(),"onClickItem"),s=e.createElement(b,{as:"li",gap:"xs",width:"100%",flexDirection:"row",alignItems:"center",borderRadius:"micro",isSelected:t.isSelected,onClick:i},(c=t.icon)!=null?c:r&&e.createElement(g,{icon:h,color:"main"}),e.createElement(u,{whiteSpace:"nowrap"},t.title));return t.to?e.createElement(x,{href:t.to},s):s},"ListItem"),D=j(({content:t,multiple:l,showCheckIcon:a,onSelectItems:r,onItemClick:i,...s},c)=>{let[L,k]=v(()=>t.map(o=>({id:S(5),isSelected:!1,...o}))),C=d(o=>()=>{var I;let T=o.id,E=!o.isSelected,y=L.map(n=>n.id===T?{...n,isSelected:E}:{...n,isSelected:l?n.isSelected:!1});if(k(y),r==null||r(y),i==null||i(o),o.action){let{action:n,icon:H,...F}=o;(I=o.action)==null||I.call(o,F)}},"toggleItem");return e.createElement(w,{as:"ul",gap:"micro",...s,ref:c},L.map(o=>e.createElement(B,{item:o,key:o.id,showCheckIcon:a,action:C(o)})))});D.displayName="List";export{w as a,b,D as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-FXR7WKA7.esm.js";import{a as c}from"./chunk-YRBM4WYM.esm.js";import{b as d,g as s}from"./chunk-APD22JEO.esm.js";import{a}from"./chunk-GZONWSRB.esm.js";var t=s.input.withConfig({componentId:"sc-truao3-0"})(["position:absolute;left:0;top:0;margin:0;z-index:1;opacity:0;"]);t.displayName="input";var i=s(c).attrs(o=>({borderRadius:"md",borderWidth:"regular",borderStyle:"solid",borderColor:"information",deep:-1,...o})).withConfig({componentId:"sc-truao3-1"})(["--size:20px;--checked-size:calc(var(--size) * 0.5);width:var(--size);height:var(--size);flex-shrink:0;margin-right:",";&::before{content:'';border-radius:50%;display:inline-block;width:var(--checked-size);height:var(--checked-size);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;}"],({theme:o})=>o.spacing("small"));function y({variant:o,theme:e}){let r=e.colors.information;return o==="success"&&(r=e.colors.success),o==="error"&&(r=e.colors.danger),d(["color:",";& > ","{border:2px solid ",";&::before{background:",";}}&:hover > ",",&:focus > ","{border-color:",";}& > ",":checked ~ ","{border-color:",";box-shadow:",";}"],r.dark,i,r.dark,r.base,i,i,r.action,t,i,r.base,e.depth("level-zero"))}a(y,"inputVariantStyle");function g(o){return d(["color:",";& > ",":disabled{cursor:default;& ~ ","{background-color:",";border-color:",";&::before{background:",";}}}"],o.colors.disabled.color,t,i,o.colors.disabled.fill,o.colors.disabled.fill,o.colors.disabled.color)}a(g,"getDisabledStyle");var p=s(n).withConfig({componentId:"sc-truao3-2"})(["cursor:pointer;position:relative;display:inline-flex;flex-direction:row;align-items:center;gap:",";margin:",";"," "," & ",":checked ~ ","::before{opacity:1;}"],({theme:o})=>o.spacing("micro"),({theme:o})=>o.spacing(0,"xs","xs",0),y,({theme:o,disabled:e})=>e&&g(o),t,i);import l from"react";var f=a(({id:o,disabled:e,label:r=null,labelProps:m,variant:u="default",...b})=>l.createElement(p,{as:"label",htmlFor:o,variant:u,disabled:e},l.createElement(t,{...b,type:"radio",id:o,disabled:e}),l.createElement(i,null),typeof r=="string"?l.createElement(n,{fontSize:"small",color:"neutral.180",...m},r):r),"RadioComponent");f.displayName="Radio";export{t as a,i as b,p as c,f as d};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{b as f}from"./chunk-
|
|
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
2
|
"content"
|
|
3
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as u}from"./chunk-PR2T746R.esm.js";import{c as m}from"./chunk-BC24WDTC.esm.js";import{b as t}from"./chunk-IK5Z5C2R.esm.js";import{b as r}from"./chunk-OXQA5WD3.esm.js";import{d as o}from"./chunk-RWLJNXLX.esm.js";import{g as a}from"./chunk-APD22JEO.esm.js";import{a as c}from"./chunk-GZONWSRB.esm.js";import p,{forwardRef as z}from"react";function x({size:n}){switch(n){case"extraSmall":return[r({p:"micro"}),o({borderRadius:"micro"}),t({fontSize:"micro"})];case"small":return[r({p:"xs"}),o({borderRadius:"circular"}),t({fontSize:"xs"})];case"large":return[r({p:"medium"}),o({borderRadius:"circular"}),t({fontSize:"medium"})];default:return[r({p:"small"}),o({borderRadius:"circular"}),t({fontSize:"small"})]}}c(x,"iconButtonSize");var f=a(u).withConfig({componentId:"sc-1uzpf1p-0"})(x);var l=z(({color:n="primary",size:s="medium",variant:d="contained",icon:I=null,label:B,...i},S)=>{let{isLoading:y,loadingComponent:e}=i;return p.createElement(f,{"aria-label":B,...i,color:n,size:s,variant:d,as:"button",ref:S},y?e!=null?e:p.createElement(m,{"data-testid":"icon-spinner"}):I)});l.displayName="IconButton";export{f as a,l as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as y}from"./chunk-
|
|
1
|
+
import{d as y}from"./chunk-HUATVKQA.esm.js";import{d as G}from"./chunk-T5YJT2PA.esm.js";import{a as o}from"./chunk-GZONWSRB.esm.js";import c,{Children as T,useCallback as H,useMemo as k}from"react";function R(e){return Array(e).fill("min-content").join(" ")}o(R,"createSpace");function v(e){return e?R(e):"1fr"}o(v,"getGridColumns");function g(e){let l=e&&e.row?e.row:e,m=e&&e.column?e.column:e;return[l,m]}o(g,"getGridGap");var I=o(e=>{let{name:l,variant:m,gap:s="Compact",columns:p,value:t,inputs:C,children:b,onChange:d,type:u,...L}=e,x=k(()=>v(p),[p]),[E,F]=k(()=>g(s),[s]),f=H((r,n)=>a=>{if(!d||!l)return;let i=null;u==="radio"?i=n:r&&Array.isArray(t)?i=t.filter(M=>M!==n):i=[...t||[],n],d(i)},[l,t,d,u]);function h(r){return Array.isArray(t)?!!t.includes(r):r===t}o(h,"isInputChecked");function w(){let r=u==="radio"?y:G;return C.map(n=>{let a=h(n.value),i=u==="radio"?l:n.name;return c.createElement(r,{...n,key:n.value,variant:m,name:i,checked:a,onChange:f(a,n.value)})})}o(w,"renderInputs");function A(){return T.map(b,r=>{if(!c.isValidElement(r))return null;let n=r.props.value,a=h(n);return c.cloneElement(r,{onChange:f(a,n),checked:a})})}return o(A,"renderChildren"),c.createElement("div",{style:{display:"grid",gridRowGap:E,gridColumnGap:F,gridTemplateColumns:x}},C?w():A())},"FieldGroupComponent");I.displayName="FieldGroup";export{I as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as w}from"./chunk-VMIXRIQ2.esm.js";import{a as A}from"./chunk-MBYC37CX.esm.js";import{a as m,b as y}from"./chunk-NI6YLGUA.esm.js";import{a as c,b as f}from"./chunk-OZIEVLUR.esm.js";import{a as F,b as g}from"./chunk-RZDVS7AY.esm.js";import{a as d,b as u}from"./chunk-IK5Z5C2R.esm.js";import{a as S,b as h}from"./chunk-BNB3KNKE.esm.js";import{a as K,b as x}from"./chunk-OXQA5WD3.esm.js";import{a as e,b as i}from"./chunk-A6Z2M2XU.esm.js";import{a as s,d as a}from"./chunk-RWLJNXLX.esm.js";import{a as l,b as p}from"./chunk-TLBV5OUM.esm.js";import{g as b}from"./chunk-APD22JEO.esm.js";import{a as t}from"./chunk-GZONWSRB.esm.js";var n=null,C=t(()=>(n===null&&(n=new Set([...m,...e,...K,...s,...l,...c,...d,...F,...S,"variant","active"])),n),"getCustomPropNames"),v=t(o=>!C().has(o)&&w(o),"shouldForwardProp"),P=new Set(["width","height"]),O=t(o=>P.has(o)||v(o),"shouldForwardDimensionAttrs"),E=t((o=>b(o).withConfig({shouldForwardProp:v})),"styled"),r=t(o=>E(o).withConfig({componentId:`apollion-${o}`})(y({position:"relative"}),g,x,a,i,u,p,f,h,A),"buildElement"),V={a:r("a"),div:r("div"),span:r("span"),input:r("input"),button:r("button")};export{v as a,O as b,E as c,V as d};
|