@apollion-dsi/core 5.2.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-2IJOUM4J.esm.js → chunk-2R6XFFSQ.esm.js} +1 -1
- package/lib/chunks/chunk-3RNWYCCU.esm.js +1 -0
- package/lib/chunks/{chunk-ZGOSF7MW.esm.js → chunk-4KZ2JQAC.esm.js} +1 -1
- package/lib/chunks/{chunk-B2P5HATF.esm.js → chunk-4V7LOS5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-R5TTMVOX.esm.js → chunk-5LTPAIHB.esm.js} +1 -1
- package/lib/chunks/chunk-5O44BVAT.esm.js +43 -0
- package/lib/chunks/{chunk-KJYK6XCD.esm.js → chunk-5SQH2W2J.esm.js} +1 -1
- package/lib/chunks/chunk-6OXVRDS2.esm.js +1 -0
- package/lib/chunks/{chunk-EWMKR54B.esm.js → chunk-6UPV326F.esm.js} +1 -1
- package/lib/chunks/{chunk-WGWNGDWB.esm.js → chunk-73MPQ5OY.esm.js} +1 -1
- package/lib/chunks/{chunk-VLV6QRHD.esm.js → chunk-7AFAO7ZS.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-HQNUD24O.esm.js → chunk-7YLTH6LY.esm.js} +1 -1
- package/lib/chunks/{chunk-PPTRV6X5.esm.js → chunk-A3PI2KMG.esm.js} +1 -1
- package/lib/chunks/chunk-ARQDV4PP.esm.js +1 -0
- package/lib/chunks/{chunk-5S3TUYUP.esm.js → chunk-BC24WDTC.esm.js} +1 -1
- package/lib/chunks/chunk-BL3BNTW3.esm.js +1 -0
- package/lib/chunks/{chunk-OYSYDN5D.esm.js → chunk-BMGVQBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-UXIUHBTM.esm.js → chunk-BRXIFPWB.esm.js} +1 -1
- package/lib/chunks/{chunk-QHP63QIN.esm.js → chunk-BVKAXW2H.esm.js} +1 -1
- package/lib/chunks/chunk-C5ZCCKMP.esm.js +1 -0
- package/lib/chunks/{chunk-XD5JATJP.esm.js → chunk-CLDPV7NK.esm.js} +1 -1
- package/lib/chunks/{chunk-7INKITCH.esm.js → chunk-DIN3SAMW.esm.js} +1 -1
- package/lib/chunks/{chunk-P7CCFE7P.esm.js → chunk-DZB2OR52.esm.js} +1 -1
- package/lib/chunks/chunk-E3MSXQXV.esm.js +1 -0
- package/lib/chunks/{chunk-43YDIYCC.esm.js → chunk-EJ3VKFOX.esm.js} +1 -1
- package/lib/chunks/{chunk-YRUA55LS.esm.js → chunk-F3WJSICY.esm.js} +1 -1
- package/lib/chunks/{chunk-NHLEDNBH.esm.js → chunk-FCMCTNIG.esm.js} +4 -4
- package/lib/chunks/{chunk-FJYFRGGS.esm.js → chunk-FUSBM77F.esm.js} +1 -1
- package/lib/chunks/chunk-FXR7WKA7.esm.js +1 -0
- package/lib/chunks/{chunk-SBGLFBS6.esm.js → chunk-HP5OTTKY.esm.js} +1 -1
- package/lib/chunks/{chunk-3PFBK2IN.esm.js → chunk-HUATVKQA.esm.js} +1 -1
- package/lib/chunks/{chunk-QXIXCG4P.esm.js → chunk-I46TFDIX.esm.js} +1 -1
- package/lib/chunks/chunk-IQ6MEZCJ.esm.js +1 -0
- package/lib/chunks/{chunk-J6GAXYRL.esm.js → chunk-KUNNAGZ3.esm.js} +1 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +1 -0
- package/lib/chunks/{chunk-DQRYJ5SE.esm.js → chunk-MBYC37CX.esm.js} +1 -1
- package/lib/chunks/{chunk-2PMF2ZDP.esm.js → chunk-MI7BQ4AV.esm.js} +1 -1
- package/lib/chunks/chunk-OHOMOBIV.esm.js +43 -0
- package/lib/chunks/{chunk-OVCASTEE.esm.js → chunk-OWMRURZT.esm.js} +1 -1
- package/lib/chunks/{chunk-R3TDH6EA.esm.js → chunk-OZIEVLUR.esm.js} +1 -1
- package/lib/chunks/chunk-PR2T746R.esm.js +1 -0
- package/lib/chunks/{chunk-G55322Q7.esm.js → chunk-PWFS4OYV.esm.js} +1 -1
- package/lib/chunks/{chunk-PFI7CUIF.esm.js → chunk-QHDAJQC7.esm.js} +1 -1
- package/lib/chunks/{chunk-FM2OSZ2P.esm.js → chunk-QNK4SZQ6.esm.js} +1 -1
- package/lib/chunks/{chunk-GKDUFFTX.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-TIIRB72W.esm.js → chunk-TLBV5OUM.esm.js} +1 -1
- package/lib/chunks/{chunk-7K2OTPM3.esm.js → chunk-TUALAE4W.esm.js} +1 -1
- package/lib/chunks/chunk-UYYT7GH5.esm.js +1 -0
- package/lib/chunks/chunk-VAJGIZNP.esm.js +1 -0
- package/lib/chunks/{chunk-C6UFPYO2.esm.js → chunk-VFA2NPNZ.esm.js} +1 -1
- package/lib/chunks/{chunk-6GKH5V6G.esm.js → chunk-VHIU3G6O.esm.js} +1 -1
- package/lib/chunks/{chunk-HKCAPBA5.esm.js → chunk-VHXSTTRG.esm.js} +1 -1
- package/lib/chunks/{chunk-FCHUUVGL.esm.js → chunk-VSLW7J54.esm.js} +1 -1
- package/lib/chunks/chunk-WJL7X2E2.esm.js +1 -0
- package/lib/chunks/{chunk-EEAH7N3Z.esm.js → chunk-WS2NO23J.esm.js} +1 -1
- package/lib/chunks/{chunk-WHMKOHET.esm.js → chunk-X3YSUW3W.esm.js} +1 -1
- package/lib/chunks/chunk-X5UHGM25.esm.js +1 -0
- package/lib/chunks/{chunk-CIQN5RU5.esm.js → chunk-XAVQOLJ6.esm.js} +1 -1
- package/lib/chunks/{chunk-YAIYGTK4.esm.js → chunk-XBLZJLBQ.esm.js} +1 -1
- package/lib/chunks/{chunk-3Z37PTRI.esm.js → chunk-XJJDEXNW.esm.js} +1 -1
- package/lib/chunks/{chunk-VE6ZFG4B.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-HLQPDBH3.esm.js → chunk-ZLFQHCLE.esm.js} +1 -1
- 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/ColorFactory/index.esm.js +1 -1
- 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 +28 -17
- 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/Semantic/index.esm.js +1 -1
- 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/Surface/index.esm.js +1 -1
- 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-AMDKW3AB.esm.js +0 -1
- package/lib/chunks/chunk-2NX4M5YU.esm.js +0 -34
- package/lib/chunks/chunk-4FUDMVCG.esm.js +0 -43
- package/lib/chunks/chunk-4YYNAPVU.esm.js +0 -1
- package/lib/chunks/chunk-72JJK65G.esm.js +0 -1
- package/lib/chunks/chunk-AIRJ6MU5.esm.js +0 -4
- package/lib/chunks/chunk-AIWSVDOV.esm.js +0 -1
- package/lib/chunks/chunk-CJYWOEIJ.esm.js +0 -1
- package/lib/chunks/chunk-DDVXHG2C.esm.js +0 -1
- package/lib/chunks/chunk-G4OCANJN.esm.js +0 -1
- package/lib/chunks/chunk-GK2ACFLW.esm.js +0 -1
- package/lib/chunks/chunk-GQYFO5Q6.esm.js +0 -1
- package/lib/chunks/chunk-GX63GZG7.esm.js +0 -1
- package/lib/chunks/chunk-HHUS4ZRO.esm.js +0 -1
- package/lib/chunks/chunk-I4DTAH2F.esm.js +0 -1
- package/lib/chunks/chunk-LX37YG2D.esm.js +0 -1
- package/lib/chunks/chunk-M4J2UWGX.esm.js +0 -1
- package/lib/chunks/chunk-RTTQGZN4.esm.js +0 -1
- package/lib/chunks/chunk-SHKSIXNT.esm.js +0 -1
- package/lib/chunks/chunk-VOJB2X7S.esm.js +0 -1
- package/lib/chunks/chunk-VQIIOQT4.esm.js +0 -1
- package/lib/chunks/chunk-WBQROY3S.esm.js +0 -1
- package/lib/chunks/chunk-WTQ4273O.esm.js +0 -1
- package/lib/chunks/chunk-YANKPG4H.esm.js +0 -43
- package/lib/chunks/chunk-ZFEKT65Q.esm.js +0 -1
- /package/lib/chunks/{chunk-QF2YUOVX.esm.js → chunk-KL3ATH64.esm.js} +0 -0
|
@@ -1,51 +1,52 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Shape of the border input consumed by `createTheme`.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `theme.border.*`
|
|
7
|
-
*
|
|
4
|
+
* Concentrates the three axes that describe a border — radius, width, and
|
|
5
|
+
* style — into named scales. Components reference these keys via
|
|
6
|
+
* `theme.border.*` instead of literals (`'8px'`, `'1px solid'`), which
|
|
7
|
+
* guarantees visual consistency and allows swapping the visual identity at a
|
|
8
|
+
* single point.
|
|
8
9
|
*/
|
|
9
10
|
export type BorderInput = {
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
-
* (100%,
|
|
12
|
+
* Border-radius scale. Goes from `straight` (square corners) up to
|
|
13
|
+
* `circular` (100%, used on avatars and badges).
|
|
13
14
|
*/
|
|
14
15
|
borderRadius: {
|
|
15
|
-
/**
|
|
16
|
+
/** No rounding. */
|
|
16
17
|
straight: string;
|
|
17
|
-
/**
|
|
18
|
+
/** Minimal softening for large surfaces. */
|
|
18
19
|
micro: string;
|
|
19
|
-
/**
|
|
20
|
+
/** Small radius — inputs and tags. */
|
|
20
21
|
xs: string;
|
|
21
|
-
/**
|
|
22
|
+
/** Medium-low radius — compact cards. */
|
|
22
23
|
sm: string;
|
|
23
|
-
/**
|
|
24
|
+
/** Medium radius — standard cards. */
|
|
24
25
|
md: string;
|
|
25
|
-
/**
|
|
26
|
+
/** Wide radius — pill buttons and CTAs. */
|
|
26
27
|
large: string;
|
|
27
|
-
/** `100%` —
|
|
28
|
+
/** `100%` — perfectly round elements (avatars, badges). */
|
|
28
29
|
circular: string;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
32
|
+
* Border-width scale. `none` allows "zeroing" a border while keeping the
|
|
33
|
+
* key consistent with the rest of the design system.
|
|
33
34
|
*/
|
|
34
35
|
borderWidth: {
|
|
35
36
|
/** `0px`. */
|
|
36
37
|
none: string;
|
|
37
|
-
/**
|
|
38
|
+
/** Thin line, default for dividers. */
|
|
38
39
|
thin: string;
|
|
39
|
-
/**
|
|
40
|
+
/** Standard thickness for input/button borders. */
|
|
40
41
|
regular: string;
|
|
41
|
-
/**
|
|
42
|
+
/** Highlighted border used for focus/active state. */
|
|
42
43
|
great: string;
|
|
43
|
-
/**
|
|
44
|
+
/** Heavy border, strong emphasis. */
|
|
44
45
|
bold: string;
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
48
|
+
* Supported styles for `border-style`. Restricts the CSS property to the
|
|
49
|
+
* values approved by the design system.
|
|
49
50
|
*/
|
|
50
51
|
borderStyle: {
|
|
51
52
|
solid: string;
|
|
@@ -54,9 +55,9 @@ export type BorderInput = {
|
|
|
54
55
|
};
|
|
55
56
|
};
|
|
56
57
|
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
58
|
+
* Border-token selection shorthand used by component factories/props. Allows
|
|
59
|
+
* a prop to receive the token key (e.g. `'md'`, `'thin'`) instead of the raw
|
|
60
|
+
* value.
|
|
60
61
|
*/
|
|
61
62
|
export type BorderThemeType = Partial<{
|
|
62
63
|
[K in keyof BorderInput]: keyof BorderInput[K];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Border` theme module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Re-exports the interface (`BorderInterface`, `BorderInput`) and the
|
|
5
|
+
* default values (`defaultInputBorder`) used by `createTheme`. Other files
|
|
6
|
+
* in the project should import from here — never from internal paths like
|
|
7
7
|
* `./Border.props`.
|
|
8
8
|
*/
|
|
9
9
|
export * from './Border.interface';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Breakpoints` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Any other file in the project should import from the barrel, never from
|
|
5
|
+
* internal paths like `./Breakpoints.interface` or `./Breakpoints.props`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './Breakpoints.interface';
|
|
8
8
|
export * from './Breakpoints.props';
|
|
@@ -16,47 +16,47 @@ export declare const HextoRgb: {
|
|
|
16
16
|
* Rotate hue 180° in **OKLch** space (replaces `Color(c).rotate(180)` HSL
|
|
17
17
|
* rotation from color@5).
|
|
18
18
|
*
|
|
19
|
-
* Spike `spike/culori-oklch-lerp-parity`
|
|
20
|
-
* rotation
|
|
21
|
-
* perceptual complement
|
|
22
|
-
*
|
|
19
|
+
* Spike `spike/culori-oklch-lerp-parity` documents the semantic shift: HSL hue
|
|
20
|
+
* rotation is perceptually incorrect (e.g. blue→orange per HSL math, but the
|
|
21
|
+
* perceptual complement of blue is yellow-green). OKLch hue rotation is the
|
|
22
|
+
* perceptually accurate correction.
|
|
23
23
|
*
|
|
24
|
-
* **Token impact:** `defaultInputColors.opposite`
|
|
25
|
-
*
|
|
26
|
-
* 3.x — design review
|
|
27
|
-
* (
|
|
24
|
+
* **Token impact:** `defaultInputColors.opposite` in `Colors.props.ts:27`
|
|
25
|
+
* uses this function at module-load time. The token value changes in v4.0.0 vs
|
|
26
|
+
* 3.x — design review mandatory in the S2 visual regression baseline
|
|
27
|
+
* ("Brand" category).
|
|
28
28
|
*
|
|
29
|
-
* @see ADR-006 §6 S2 (semantic shift
|
|
30
|
-
* @see ../vendors/Culori/README.md — "
|
|
29
|
+
* @see ADR-006 §6 S2 (semantic shift documented)
|
|
30
|
+
* @see ../vendors/Culori/README.md — "Equivalence proof"
|
|
31
31
|
*/
|
|
32
32
|
export declare function getOppositeColor(color: AcceptColorType): string;
|
|
33
|
-
/**
|
|
33
|
+
/** WCAG AA contrast floor for normal text. */
|
|
34
34
|
export declare const MIN_CONTRAST_AA = 4.5;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
37
|
-
*
|
|
36
|
+
* Adjusts the lightness (OKLch L) of `color` until it reaches a WCAG contrast
|
|
37
|
+
* floor against `background`, **preserving hue and chroma**.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
39
|
+
* Unlike `getContrastColor` (which picks black/white): this is the **readable
|
|
40
|
+
* link/accent color** — it keeps the identity (e.g. brand red) while
|
|
41
|
+
* guaranteeing readability on light AND dark backgrounds (dark-mode-safe). The
|
|
42
|
+
* adjustment moves toward the **endpoint of higher contrast** (white vs black
|
|
43
|
+
* against the background) — robust even for mid-luminance backgrounds, where a
|
|
44
|
+
* simple threshold would pick the wrong side. Iterates in L steps until passing
|
|
45
|
+
* `minRatio` or clamping at [0,1].
|
|
46
46
|
*
|
|
47
|
-
* **
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
47
|
+
* **Memoized since fine-combing pass F6:** the repo's `memoize` used to key only
|
|
48
|
+
* on the 1st argument, which is why this function was left out — the result
|
|
49
|
+
* also depends on `background`, so caching would cause contamination between
|
|
50
|
+
* light/dark. The memoize now keys on ALL arguments, so the blocker is gone.
|
|
51
|
+
* This matters: it is the hot path of the color system, with up to 25
|
|
52
|
+
* iterations of `parse`+`formatHex`+`wcagContrast` per rendered element.
|
|
53
53
|
*
|
|
54
|
-
* @param color -
|
|
55
|
-
* @param background -
|
|
56
|
-
* @param minRatio -
|
|
57
|
-
* @returns Hex
|
|
54
|
+
* @param color - Accent color (string | ColorPalleteInterface).
|
|
55
|
+
* @param background - Background the color must be readable against.
|
|
56
|
+
* @param minRatio - WCAG contrast floor (default 4.5 = AA normal text).
|
|
57
|
+
* @returns Hex with adjusted L; the original `color` if it already passes the floor (or fails to parse).
|
|
58
58
|
*
|
|
59
|
-
* @see getContrastColor (
|
|
59
|
+
* @see getContrastColor (black/white choice for text-over-solid-color)
|
|
60
60
|
* @see ../../docs/adr/ADR-010-contrast-derived-txton-dark-mode-stable.md §12
|
|
61
61
|
*/
|
|
62
62
|
export declare const readableColor: {
|
|
@@ -69,32 +69,31 @@ export declare const readableColor: {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare function getColor(color: AcceptColorType, prop?: keyof ColorPalleteInterface): string;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* Picks a **readable text color over the solid color `color`**, guaranteeing
|
|
73
|
+
* WCAG AA contrast (>= 4.5) on backgrounds of any luminance.
|
|
74
74
|
*
|
|
75
|
-
* **
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* `readableColor`
|
|
75
|
+
* **Mid-tone bug fix (ADR-010 §12; brasil_2030 feedback):** the previous
|
|
76
|
+
* version used a fixed luminance threshold (`< 0.45`) + a single darkened
|
|
77
|
+
* candidate and, if it didn't pass, fell back to white — electing white at ~3.6:1
|
|
78
|
+
* over mid backgrounds (e.g. `#708B97`), failing AA. It now picks, between the
|
|
79
|
+
* tinted dark text and the light one, the one with **higher contrast**; if even
|
|
80
|
+
* the winner fails AA, it escalates to the pure endpoint (`#000`/`#fff`) of
|
|
81
|
+
* higher contrast — which always yields >= ~4.5 against any background. Same
|
|
82
|
+
* direction-by-contrast that `readableColor` applies, sharing `contrastRatio`.
|
|
83
83
|
*
|
|
84
84
|
* **S6 migration:** `color@5` → culori `wcagContrast` (parity spike/culori-wcag-parity,
|
|
85
|
-
* 262
|
|
85
|
+
* 262 measurements). `Color(c).darken(0.6)` → OKLch lerp (`mixOklch` toward `#000`).
|
|
86
86
|
*
|
|
87
|
-
* **
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* deixou de ser necessário.
|
|
87
|
+
* **Memoization:** keyed by **all** arguments since fine-combing pass F6.
|
|
88
|
+
* Previously only `color` entered the key, so two calls with the same `color`
|
|
89
|
+
* and different `colorbase` returned the first result — silent contamination.
|
|
90
|
+
* No core caller passes `colorbase` today, which kept the defect latent; the
|
|
91
|
+
* manual `clearCache()` this block used to recommend is no longer needed.
|
|
93
92
|
*
|
|
94
|
-
* @param color -
|
|
95
|
-
* @param colorbase - Override
|
|
96
|
-
* @returns
|
|
97
|
-
* @see readableColor (
|
|
93
|
+
* @param color - Solid background color (string | `ColorPalleteInterface`).
|
|
94
|
+
* @param colorbase - Override for the light text candidate (default `#FFFFFF`).
|
|
95
|
+
* @returns Readable text hex; `color` itself if it fails to parse (guard).
|
|
96
|
+
* @see readableColor (readable accent preserving hue/chroma)
|
|
98
97
|
* @see ADR-006 §6 S6 · ADR-010 §12
|
|
99
98
|
*/
|
|
100
99
|
export declare const getContrastColor: {
|
|
@@ -102,75 +101,75 @@ export declare const getContrastColor: {
|
|
|
102
101
|
clearCache(): void;
|
|
103
102
|
};
|
|
104
103
|
/**
|
|
105
|
-
*
|
|
106
|
-
*
|
|
104
|
+
* Named palettes whose `base` is used as **text** by consumers and which
|
|
105
|
+
* therefore get readable ink in the text layer (contrast plan G2).
|
|
107
106
|
*/
|
|
108
107
|
export declare const READABLE_TEXT_PALETTES: readonly ["main", "opposite", "complementary", "primary", "secondary", "tertiary", "success", "danger", "warning", "information"];
|
|
109
108
|
export type ReadableTextPaletteType = (typeof READABLE_TEXT_PALETTES)[number];
|
|
110
109
|
/**
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
110
|
+
* Neutral ramp indices classified as **text** (≥ 120 — the dark side of the
|
|
111
|
+
* ramp, home of `dt`/`figcaption`/labels painted by the DS).
|
|
112
|
+
* Low indices remain fill/border. See contrast plan G4.
|
|
114
113
|
*/
|
|
115
114
|
export declare const NEUTRAL_TEXT_INDICES: readonly [120, 130, 140, 150, 160, 170, 180];
|
|
116
115
|
export type NeutralTextIndexType = (typeof NEUTRAL_TEXT_INDICES)[number];
|
|
117
|
-
/**
|
|
116
|
+
/** Options for the readable text layer ({@link createReadableTextLayer}). */
|
|
118
117
|
export interface ReadableTextLayerOptions {
|
|
119
118
|
/**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
119
|
+
* Target surface for contrast. Default: `colors.neutral['10']` — the light
|
|
120
|
+
* card, the real worst case for reading (targeting `#FFF` would leave it a
|
|
121
|
+
* hair from the floor). In a dark theme, pass that theme's card surface.
|
|
123
122
|
*/
|
|
124
123
|
surface?: AcceptColorType;
|
|
125
|
-
/**
|
|
124
|
+
/** WCAG contrast floor. Default 4.5 (AA normal text). */
|
|
126
125
|
minRatio?: number;
|
|
127
126
|
}
|
|
128
|
-
/**
|
|
127
|
+
/** Result of {@link createReadableTextLayer}: readable hex per token. */
|
|
129
128
|
export interface ReadableTextLayer {
|
|
130
|
-
/**
|
|
129
|
+
/** Readable ink per named palette (`main`, `primary`, …), derived from `base`. */
|
|
131
130
|
palettes: Record<ReadableTextPaletteType, string>;
|
|
132
|
-
/**
|
|
131
|
+
/** Readable ink per high (text) index of the neutral ramp. */
|
|
133
132
|
neutral: Record<NeutralTextIndexType, string>;
|
|
134
133
|
}
|
|
135
134
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
135
|
+
* Generative **per-theme readable text** layer (contrast plan G2;
|
|
136
|
+
* origin: brasil_2030 consumer, handoff `2026-07-29-contraste-wcag`).
|
|
138
137
|
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
138
|
+
* For each brand color used as ink and for the text side of the neutral ramp,
|
|
139
|
+
* derives via {@link readableColor} a hex that passes the WCAG floor against
|
|
140
|
+
* the theme's surface — preserving hue/chroma (brand identity survives; only
|
|
141
|
+
* the lightness moves). Fill stays vibrant: this layer is text-only.
|
|
143
142
|
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* (`themeCssVars.ts` +
|
|
143
|
+
* Call once **per theme** (light/dark are distinct palettes, each with its own
|
|
144
|
+
* surface) and emit the result wherever the consumer needs it — CSS vars in an
|
|
145
|
+
* SSG, static tokens, etc. Replaces the local reimplementations
|
|
146
|
+
* (`themeCssVars.ts` + `txt()`/`ink()` helpers in the consumer).
|
|
148
147
|
*
|
|
149
148
|
* @example
|
|
150
149
|
* ```ts
|
|
151
150
|
* const light = createReadableTextLayer(lightTheme.colors);
|
|
152
151
|
* const dark = createReadableTextLayer(darkTheme.colors, { surface: darkTheme.colors.baseLight });
|
|
153
|
-
* // light.palettes.secondary → ink
|
|
154
|
-
* // dark.neutral[140] →
|
|
152
|
+
* // light.palettes.secondary → AA ink over the light card
|
|
153
|
+
* // dark.neutral[140] → text gray lightened for the dark theme
|
|
155
154
|
* ```
|
|
156
155
|
*
|
|
157
|
-
* @param colors -
|
|
158
|
-
* @param options -
|
|
159
|
-
* @returns
|
|
156
|
+
* @param colors - Structural palette of the theme (`theme.colors`).
|
|
157
|
+
* @param options - Target surface and contrast floor.
|
|
158
|
+
* @returns `palettes` + `neutral` map with readable hex values.
|
|
160
159
|
* @see readableColor · ADR-010 §12 · docs/plans/plano-contraste-nativo-brasil2030.md (G2)
|
|
161
160
|
*/
|
|
162
161
|
export declare function createReadableTextLayer(colors: ThemeColorsType, { surface, minRatio }?: ReadableTextLayerOptions): ReadableTextLayer;
|
|
163
162
|
/**
|
|
164
|
-
*
|
|
163
|
+
* {@link NeutralColorsType} ramp indices used for `:disabled`.
|
|
165
164
|
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
165
|
+
* No derived token: disabled **is** a point on the Neutral scale, chosen by
|
|
166
|
+
* the surface mode (`isDarkSurface` over `baseLight`).
|
|
168
167
|
*
|
|
169
|
-
* - **fill** — light `10` (muted
|
|
170
|
-
*
|
|
171
|
-
* - **color** —
|
|
172
|
-
*
|
|
173
|
-
* gray-anchored
|
|
168
|
+
* - **fill** — light `10` (muted on the light card); dark `170` (inverted
|
|
169
|
+
* polarity — does not collapse into the inverted `deepLight` / Fanático bug).
|
|
170
|
+
* - **color** — candidates on the same ramp, first one that passes AA (≥ 4.5)
|
|
171
|
+
* against the fill. Preferred order documented below; the walk covers
|
|
172
|
+
* gray-anchored themes where the nominal pair (`140` / `80`) fails.
|
|
174
173
|
*
|
|
175
174
|
* @see resolveDisabledNeutral · APOLLION-DISABLED-CONTRAST
|
|
176
175
|
*/
|
|
@@ -185,12 +184,12 @@ export declare const DISABLED_NEUTRAL_INDICES: {
|
|
|
185
184
|
};
|
|
186
185
|
};
|
|
187
186
|
/**
|
|
188
|
-
*
|
|
187
|
+
* Mode-aware structural indices for the **muted** fill (rail / chip / soft bg).
|
|
189
188
|
*
|
|
190
|
-
* Light
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
189
|
+
* Light keeps the historical `neutral.10`; dark inverts polarity (`170`) so it
|
|
190
|
+
* does not collapse into the inverted `deepLight`. Borders and placeholders
|
|
191
|
+
* stay on the direct Neutral ramp (`neutral.40` / `neutral.70`) — Apollion does
|
|
192
|
+
* not invent a `border`/`placeholder` channel.
|
|
194
193
|
*
|
|
195
194
|
* @see resolveStructuralNeutrals · APOLLION-STRUCTURAL-NEUTRAL
|
|
196
195
|
*/
|
|
@@ -203,73 +202,73 @@ export declare const STRUCTURAL_NEUTRAL_INDICES: {
|
|
|
203
202
|
};
|
|
204
203
|
};
|
|
205
204
|
/**
|
|
206
|
-
*
|
|
205
|
+
* The `:disabled` fill+color pair read **only** from the theme's Neutral ramp.
|
|
207
206
|
*
|
|
208
|
-
*
|
|
209
|
-
* Styled-components
|
|
207
|
+
* Assembled once in {@link createColors} → `theme.colors.disabled`.
|
|
208
|
+
* Styled-components consume the pair; they do not recompute per render.
|
|
210
209
|
*/
|
|
211
210
|
export declare function resolveDisabledNeutral(colors: ThemeColorsType): {
|
|
212
211
|
fill: string;
|
|
213
212
|
color: string;
|
|
214
213
|
};
|
|
215
214
|
/**
|
|
216
|
-
*
|
|
215
|
+
* `muted` slot — mode-aware hex from the Neutral ramp.
|
|
217
216
|
*
|
|
218
|
-
*
|
|
219
|
-
* hardcodes
|
|
217
|
+
* Assembled in {@link createColors} → `theme.colors.muted`. Replaces soft-fill
|
|
218
|
+
* hardcodes (`neutral.10`) that collapsed in the inverted dark.
|
|
220
219
|
*/
|
|
221
220
|
export declare function resolveStructuralNeutrals(colors: ThemeColorsType): {
|
|
222
221
|
muted: string;
|
|
223
222
|
};
|
|
224
223
|
/**
|
|
225
|
-
*
|
|
226
|
-
*
|
|
224
|
+
* Perceptual state floor between `base` and an interaction state (`action`/`active`):
|
|
225
|
+
* minimum WCAG luminance ratio for the shift to be perceptible (ADR-012).
|
|
227
226
|
*/
|
|
228
227
|
export declare const MIN_STATE_CONTRAST = 1.3;
|
|
229
228
|
/**
|
|
230
|
-
* ΔL
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
229
|
+
* OKLch ΔL just-noticeable-difference (~0.05 — same threshold documented in
|
|
230
|
+
* the OKLch spike). Alternative criterion to {@link MIN_STATE_CONTRAST}: near
|
|
231
|
+
* black the WCAG ratio saturates (the formula's `+0.05` dominates) and a
|
|
232
|
+
* clearly visible shift measures < 1.3x — the perceptually uniform ΔL does not saturate.
|
|
234
233
|
*/
|
|
235
234
|
export declare const STATE_DELTA_L_JND = 0.05;
|
|
236
235
|
/**
|
|
237
|
-
*
|
|
238
|
-
* perceptual lerp**,
|
|
239
|
-
*
|
|
236
|
+
* Derives the 5-stop palette (`ColorPalleteInterface`) from a seed via **OKLch
|
|
237
|
+
* perceptual lerp**, with a **mode-aware perceptual state floor** on the
|
|
238
|
+
* interaction states (`action`/`active`) — ADR-012.
|
|
240
239
|
*
|
|
241
|
-
*
|
|
242
|
-
* -
|
|
243
|
-
* default.
|
|
244
|
-
*
|
|
245
|
-
* baseline
|
|
246
|
-
* -
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* - `dark`/`light`
|
|
252
|
-
*
|
|
253
|
-
* - Escape hatch:
|
|
254
|
-
*
|
|
240
|
+
* Contract:
|
|
241
|
+
* - The historical derivation (lerp toward `deepDark`/`deepLight`) is the
|
|
242
|
+
* default candidate. If it is already perceptible ({@link isPerceptibleState}
|
|
243
|
+
* — the common case for light themes), the output is **byte-identical** to
|
|
244
|
+
* the previous one (zero visual-baseline churn).
|
|
245
|
+
* - If the candidate collapses (e.g. dark theme with `deep*` anchored in grays
|
|
246
|
+
* — brasil_2030 feedback, CTA hover at 1.02x), the state is re-derived by
|
|
247
|
+
* adjusting only the OKLch L of `base` (hue/chroma preserved) in the
|
|
248
|
+
* direction of the surface mode ({@link isDarkSurface} over
|
|
249
|
+
* `colors.baseLight`) until the {@link MIN_STATE_CONTRAST} floor.
|
|
250
|
+
* - `dark`/`light` always follow the historical derivation (they are ramp
|
|
251
|
+
* tints, not interaction states).
|
|
252
|
+
* - Escape hatch: a slot object ({@link ColorPalleteOverrideInterface}) has its
|
|
253
|
+
* supplied steps respected **verbatim** — no floor, no derivation.
|
|
255
254
|
*/
|
|
256
255
|
export declare function mountSingleColor(color: AcceptColorType | ColorPalleteOverrideInterface, colors: ColorsInput): ColorPalleteInterface;
|
|
257
256
|
/**
|
|
258
257
|
* 12-step greyscale ramp via **OKLch perceptual lerp**.
|
|
259
258
|
*
|
|
260
|
-
* Spike `spike/culori-oklch-lerp-parity`
|
|
261
|
-
* std-dev
|
|
262
|
-
* typing "50% gray"
|
|
259
|
+
* Spike `spike/culori-oklch-lerp-parity` confirmed the ramp's OKLAB L
|
|
260
|
+
* std-dev is **19× more uniform** vs color@5 RGB lerp. A brand designer
|
|
261
|
+
* typing "50% gray" now gets perceptual 50% (`#636363`), not
|
|
263
262
|
* sRGB-arithmetic 50% (`#808080`).
|
|
264
263
|
*/
|
|
265
264
|
export declare function mountGreyscaleColors(colors: ColorsInput): Record<GrayscaleColorsType, string>;
|
|
266
265
|
/**
|
|
267
|
-
* 20-step neutral ramp anchored
|
|
266
|
+
* 20-step neutral ramp anchored at `primary.mix(darker, 0.5)` (n170) via
|
|
268
267
|
* **OKLch perceptual lerp**.
|
|
269
268
|
*
|
|
270
|
-
*
|
|
271
|
-
* —
|
|
272
|
-
*
|
|
269
|
+
* The spike confirmed a marginal uniformity regression (+17% std-dev) in OKLAB L
|
|
270
|
+
* — below the just-noticeable difference threshold (~0.05). Visual diff
|
|
271
|
+
* documented as `expected-perceptual-gain` (44/68 deltas) or
|
|
273
272
|
* `acceptable-no-change` (24/68).
|
|
274
273
|
*/
|
|
275
274
|
export declare function mountNeutralColors(colors: ColorsInput): Record<NeutralColorsType, string>;
|
|
@@ -4,21 +4,32 @@ export interface ColorPalleteInterface {
|
|
|
4
4
|
action: string;
|
|
5
5
|
light: string;
|
|
6
6
|
active: string;
|
|
7
|
+
/**
|
|
8
|
+
* Readable ink over the `light` tonal surface (APOLLION-CONTRAST-GUARANTEE):
|
|
9
|
+
* `readableColor(action, light, 4.5)` — the accent with its L adjusted until
|
|
10
|
+
* it passes WCAG AA, preserving hue/chroma. It is the semantic pair of the
|
|
11
|
+
* tonal chip (`{ bg: light, ink: onLight }`), so that no component pairs raw
|
|
12
|
+
* `light`+`action` (which fails AA on high-luminance seeds). When `action`
|
|
13
|
+
* already passes over `light` (e.g. danger), it comes out byte-identical to `action`.
|
|
14
|
+
*
|
|
15
|
+
* @see readableColor · ADR-018 · design-system-backlog.md#engine-guaranteed-contrast
|
|
16
|
+
*/
|
|
17
|
+
onLight: string;
|
|
7
18
|
}
|
|
8
19
|
export type AcceptColorType = ColorPalleteInterface | string;
|
|
9
20
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* `dark`, `light`)
|
|
14
|
-
*
|
|
21
|
+
* Per-slot escape hatch (mode-aware interaction states — ADR-012): a
|
|
22
|
+
* {@link ColorsInput} slot accepts, besides the seed string, an explicit
|
|
23
|
+
* partial palette. `base` is required; any supplied step (`action`, `active`,
|
|
24
|
+
* `dark`, `light`) is respected **verbatim** — no perceptual state floor, no
|
|
25
|
+
* derivation. Missing steps follow the engine's standard derivation.
|
|
15
26
|
*/
|
|
16
27
|
export interface ColorPalleteOverrideInterface extends Partial<Omit<ColorPalleteInterface, 'base'>> {
|
|
17
28
|
base: string;
|
|
18
29
|
}
|
|
19
30
|
/**
|
|
20
|
-
*
|
|
21
|
-
* 100% —
|
|
31
|
+
* Input accepted per color slot of {@link ColorsInput}: a seed string (the
|
|
32
|
+
* 100% path — the engine derives the 4 steps) or a per-slot partial override
|
|
22
33
|
* ({@link ColorPalleteOverrideInterface}).
|
|
23
34
|
*/
|
|
24
35
|
export type ColorSeedInputType = string | ColorPalleteOverrideInterface;
|
|
@@ -60,7 +71,7 @@ type ColorWithVariantType<C extends VariantColorsType = VariantColorsType, V ext
|
|
|
60
71
|
type GrayscaleColorType<S extends GrayscaleColorsType = GrayscaleColorsType> = `grayscale.${S}`;
|
|
61
72
|
type NeutralColorType<S extends NeutralColorsType = NeutralColorsType> = `neutral.${S}`;
|
|
62
73
|
export type BgColorsTypes = ColorWithVariantType | GrayscaleColorType | NeutralColorType | BrandColorsType | ContrastColorsType
|
|
63
|
-
/**
|
|
74
|
+
/** Mode-aware soft fill assembled in `createColors`. */
|
|
64
75
|
| 'muted';
|
|
65
76
|
export type ColorsType = BgColorsTypes | null;
|
|
66
77
|
export type ThemeColorsType<T = ColorPalleteInterface> = BrandColorsInterface<T> & MainColorsInterface<T> & ActionColorsInterface<T> & ContrastColorsInterface & DeepColorsInterface & {
|
|
@@ -68,13 +79,13 @@ export type ThemeColorsType<T = ColorPalleteInterface> = BrandColorsInterface<T>
|
|
|
68
79
|
grayscale?: Record<GrayscaleColorsType, string>;
|
|
69
80
|
};
|
|
70
81
|
/**
|
|
71
|
-
*
|
|
72
|
-
* {@link createColors} via {@link resolveDisabledNeutral}.
|
|
82
|
+
* The `:disabled` fill+color pair — hex values from the Neutral ramp,
|
|
83
|
+
* assembled in {@link createColors} via {@link resolveDisabledNeutral}.
|
|
73
84
|
*/
|
|
74
85
|
export interface DisabledColorsInterface {
|
|
75
|
-
/**
|
|
86
|
+
/** Muted fill (`neutral.10` light / `neutral.170` dark). */
|
|
76
87
|
fill: string;
|
|
77
|
-
/**
|
|
88
|
+
/** Text/chrome over the fill (AA Neutral candidate). */
|
|
78
89
|
color: string;
|
|
79
90
|
}
|
|
80
91
|
export type ColorsThemeInterface = ThemeColorsType & {
|
|
@@ -82,14 +93,14 @@ export type ColorsThemeInterface = ThemeColorsType & {
|
|
|
82
93
|
getColor?: (color: AcceptColorType, prop?: keyof ColorPalleteInterface) => string;
|
|
83
94
|
getContrastColor?: (color: AcceptColorType, colorbase?: ColorsType) => string;
|
|
84
95
|
/**
|
|
85
|
-
* `:disabled`
|
|
86
|
-
*
|
|
96
|
+
* Mode-aware `:disabled` — points on the Neutral ramp resolved at theme
|
|
97
|
+
* assembly (not a derived token like `txtOn`).
|
|
87
98
|
*/
|
|
88
99
|
disabled: DisabledColorsInterface;
|
|
89
100
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
101
|
+
* Soft fill / rail / multi-chip bg — `neutral.10` light / `neutral.170` dark.
|
|
102
|
+
* Also resolvable via `theme.colors('muted')` in the factories.
|
|
103
|
+
* Borders/placeholders: direct Neutral ramp (`neutral.40` / `neutral.70`).
|
|
93
104
|
*/
|
|
94
105
|
muted: string;
|
|
95
106
|
};
|
|
@@ -9,8 +9,8 @@ import { ColorsInput } from './Colors.interface';
|
|
|
9
9
|
* `deep*`/`transparent`) pass through untouched, so surfaces keep working and
|
|
10
10
|
* `neutral`/`grayscale` ramps still derive from the same anchors.
|
|
11
11
|
*
|
|
12
|
-
* Built for the 5-theme accessibility dropdown of the radar SSG (
|
|
13
|
-
*
|
|
12
|
+
* Built for the 5-theme accessibility dropdown of the radar SSG (Light /
|
|
13
|
+
* Dark / Grayscale / High contrast / Colorblind-safe colors). `light`
|
|
14
14
|
* and `dark` are just the stock theme in each mode — the three presets below
|
|
15
15
|
* cover the accessibility modes.
|
|
16
16
|
*
|