@apollion-dsi/core 5.3.0 → 5.5.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 +90 -66
- package/lib/chunks/Notification.group-ICBTCHGB.esm.js +1 -0
- package/lib/chunks/chunk-2CW4G3UR.esm.js +1 -0
- package/lib/chunks/chunk-2WED4EVR.esm.js +43 -0
- package/lib/chunks/chunk-34QOWBI6.esm.js +1 -0
- package/lib/chunks/chunk-3RNWYCCU.esm.js +1 -0
- package/lib/chunks/{chunk-OXFE7XFH.esm.js → chunk-452VAAGY.esm.js} +1 -1
- package/lib/chunks/{chunk-75YRUKSI.esm.js → chunk-4BMWIGG4.esm.js} +1 -1
- package/lib/chunks/{chunk-PLYS2FYI.esm.js → chunk-4V7LOS5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-RC453BIC.esm.js → chunk-4VEUQE23.esm.js} +1 -1
- package/lib/chunks/{chunk-I3LRFLFK.esm.js → chunk-5MWVBWXW.esm.js} +1 -1
- package/lib/chunks/{chunk-LC6CQDHG.esm.js → chunk-5NE62M4R.esm.js} +1 -1
- 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-IGHPN2OO.esm.js → chunk-73MPQ5OY.esm.js} +1 -1
- package/lib/chunks/chunk-7EGX7BMB.esm.js +1 -0
- package/lib/chunks/{chunk-NAPV2J5W.esm.js → chunk-AYZYOY57.esm.js} +1 -1
- package/lib/chunks/{chunk-YJ4ZRQMI.esm.js → chunk-BC24WDTC.esm.js} +1 -1
- 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-QTWYG4PZ.esm.js → chunk-CLDPV7NK.esm.js} +1 -1
- package/lib/chunks/chunk-CQK4PCNH.esm.js +1 -0
- package/lib/chunks/chunk-CZAUFZ45.esm.js +1 -0
- package/lib/chunks/chunk-CZJF4EVQ.esm.js +1 -0
- package/lib/chunks/{chunk-FYIBJA5Y.esm.js → chunk-D2T4FF27.esm.js} +1 -1
- package/lib/chunks/chunk-DLVRDZRA.esm.js +35 -0
- package/lib/chunks/{chunk-LAO57LJC.esm.js → chunk-EJ3VKFOX.esm.js} +1 -1
- package/lib/chunks/{chunk-5VB6YPWU.esm.js → chunk-FPUV6SIF.esm.js} +4 -4
- package/lib/chunks/chunk-G4IUG32B.esm.js +1 -0
- package/lib/chunks/{chunk-KAPHZYMX.esm.js → chunk-HMITYQV5.esm.js} +1 -1
- package/lib/chunks/{chunk-UB6WSKGK.esm.js → chunk-HRMJR6TD.esm.js} +1 -1
- package/lib/chunks/{chunk-MFMJXXV6.esm.js → chunk-I46TFDIX.esm.js} +1 -1
- package/lib/chunks/{chunk-KMQUGDL3.esm.js → chunk-IE4YNQFD.esm.js} +1 -1
- package/lib/chunks/{chunk-WXIAPOTW.esm.js → chunk-K2BKOGDX.esm.js} +1 -1
- package/lib/chunks/chunk-KASRN4X5.esm.js +1 -0
- package/lib/chunks/chunk-KHEBUAB4.esm.js +1 -0
- package/lib/chunks/{chunk-6C3PW2PK.esm.js → chunk-KYIPVR2T.esm.js} +1 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +1 -0
- package/lib/chunks/{chunk-52WIL6WF.esm.js → chunk-LTTG3NIJ.esm.js} +1 -1
- package/lib/chunks/{chunk-JSCUCQSD.esm.js → chunk-M32CTX5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-7UYOO2PQ.esm.js → chunk-M33BYGAO.esm.js} +1 -1
- package/lib/chunks/{chunk-YX33Y5T6.esm.js → chunk-MJUAYHOW.esm.js} +1 -1
- package/lib/chunks/{chunk-BIBJ6JAY.esm.js → chunk-MLIU6MRT.esm.js} +1 -1
- package/lib/chunks/{chunk-SPWQRX4O.esm.js → chunk-MS7WJXDX.esm.js} +1 -1
- package/lib/chunks/chunk-NYDXZB2D.esm.js +1 -0
- package/lib/chunks/chunk-OHOMOBIV.esm.js +43 -0
- package/lib/chunks/chunk-OUHMU5PP.esm.js +1 -0
- package/lib/chunks/chunk-P5PWDVWO.esm.js +1 -0
- package/lib/chunks/chunk-PXCCSJNT.esm.js +1 -0
- package/lib/chunks/chunk-ROSLCQXL.esm.js +1 -0
- package/lib/chunks/{chunk-IUNHMZ3V.esm.js → chunk-RUKCBNDS.esm.js} +1 -1
- package/lib/chunks/chunk-TD4RVB2L.esm.js +4 -0
- package/lib/chunks/{chunk-ZP75XPKF.esm.js → chunk-TISQZ6PQ.esm.js} +1 -1
- package/lib/chunks/{chunk-7ORNMDF3.esm.js → chunk-UHMYTFMU.esm.js} +1 -1
- package/lib/chunks/chunk-VAJGIZNP.esm.js +1 -0
- package/lib/chunks/{chunk-WKQ3JIEG.esm.js → chunk-VHXSTTRG.esm.js} +1 -1
- package/lib/chunks/{chunk-46YVAYDW.esm.js → chunk-WNCECFZT.esm.js} +1 -1
- package/lib/chunks/chunk-WU5LSQM6.esm.js +1 -0
- package/lib/chunks/{chunk-MJX6TZUR.esm.js → chunk-XGE6OOEJ.esm.js} +1 -1
- package/lib/chunks/{chunk-RE3I3OYH.esm.js → chunk-YKIFYIC5.esm.js} +1 -1
- package/lib/chunks/chunk-YRBM4WYM.esm.js +1 -0
- package/lib/chunks/chunk-ZZFLBPSO.esm.js +39 -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 +24 -18
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +66 -59
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +181 -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 +40 -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 +8 -8
- package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +17 -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-AGTNBWPD.esm.js +0 -39
- package/lib/chunks/chunk-B64YEI67.esm.js +0 -1
- package/lib/chunks/chunk-CWLQNJ2D.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
|
@@ -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
|
*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Colors` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Any other file in the project should import from the barrel, never from
|
|
5
|
+
* internal paths like `./Colors.interface` or `./Colors.props`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './Colors.interface';
|
|
8
8
|
export * from './Colors.helpers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as v,b as w,c as x,d as y,e as z,f as A,g as B}from"../../chunks/chunk-
|
|
1
|
+
import{a as v,b as w,c as x,d as y,e as z,f as A,g as B}from"../../chunks/chunk-3RNWYCCU.esm.js";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../../chunks/chunk-E3MSXQXV.esm.js";import"../../chunks/chunk-TQJTHPA3.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{j as DISABLED_NEUTRAL_INDICES,a as HextoRgb,c as MIN_CONTRAST_AA,n as MIN_STATE_CONTRAST,h as NEUTRAL_TEXT_INDICES,z as OKABE_ITO,g as READABLE_TEXT_PALETTES,o as STATE_DELTA_L_JND,k as STRUCTURAL_NEUTRAL_INDICES,B as accessibilityPalettes,A as colorblindPalette,w as createColors,i as createReadableTextLayer,v as defaultInputColors,e as getColor,f as getContrastColor,b as getOppositeColor,x as grayscalePalette,y as highContrastPalette,t as mountActionColors,s as mountBaseColors,q as mountGreyscaleColors,u as mountMainColors,r as mountNeutralColors,p as mountSingleColor,d as readableColor,l as resolveDisabledNeutral,m as resolveStructuralNeutrals};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ComponentTokensInput, ComponentTokensLayer } from './Component.interface';
|
|
2
|
+
/**
|
|
3
|
+
* Resolves the component token tier (`theme.component`) from consumer
|
|
4
|
+
* overrides deep-merged over the defaults.
|
|
5
|
+
*
|
|
6
|
+
* **Purity + idempotence (ADR-002 §9 contract, same as `createSemantic` /
|
|
7
|
+
* `createFoundation`):**
|
|
8
|
+
* - Reads nothing external (Date, Math.random, env, DOM).
|
|
9
|
+
* - Does not mutate the input.
|
|
10
|
+
* - Same input → same output (referentially new, byte-equivalent).
|
|
11
|
+
*
|
|
12
|
+
* **Aliasing discipline (ADR-020):** defaults reference foundation scales
|
|
13
|
+
* only (spacing aliases, font-size/weight keys, border-radius keys) — never
|
|
14
|
+
* raw palette values or raw CSS strings. Raw numbers appear only for
|
|
15
|
+
* tuned geometry (heights, switch track/thumb) that intentionally lives off
|
|
16
|
+
* the scales.
|
|
17
|
+
*
|
|
18
|
+
* @param input - Deep-partial consumer overrides (`createTheme({ component })`).
|
|
19
|
+
* @returns Complete component tier, ready to be plugged into `theme.component`.
|
|
20
|
+
*
|
|
21
|
+
* @see ./Component.interface.ts
|
|
22
|
+
* @see ../../docs/adr/ADR-020-component-token-tier.md
|
|
23
|
+
*/
|
|
24
|
+
export declare function createComponentTokens(input?: ComponentTokensInput): ComponentTokensLayer;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { BorderInput } from '../Border';
|
|
2
|
+
import type { FontInput, FontSizeKey } from '../Font';
|
|
3
|
+
import type { SpacingAlias } from '../Spacing';
|
|
4
|
+
/** Key of the theme's border-radius scale (`theme.border.borderRadius`). */
|
|
5
|
+
export type BorderRadiusKey = keyof BorderInput['borderRadius'];
|
|
6
|
+
/** Key of the theme's font-weight scale (`theme.font.fontWeight`). */
|
|
7
|
+
export type FontWeightKey = keyof FontInput['fontWeight'];
|
|
8
|
+
/** Key of the theme's line-height scale (`theme.font.lineHeight`). */
|
|
9
|
+
export type LineHeightKey = keyof FontInput['lineHeight'];
|
|
10
|
+
/**
|
|
11
|
+
* Per-size tokens of the `Input` (`theme.component.input.size.*`).
|
|
12
|
+
*
|
|
13
|
+
* Every non-numeric field is an ALIAS into a foundation scale (spacing /
|
|
14
|
+
* font-size / border-radius keys), never a raw CSS value — the ADR-020
|
|
15
|
+
* aliasing discipline. `height` is a raw px number: input heights are a
|
|
16
|
+
* tuned, continuous design decision that intentionally does not land on any
|
|
17
|
+
* scale step (same rationale as shadow geometry in the tokens IR).
|
|
18
|
+
*/
|
|
19
|
+
export interface InputSizeTokens {
|
|
20
|
+
py: SpacingAlias;
|
|
21
|
+
fontSize: FontSizeKey;
|
|
22
|
+
borderRadius: BorderRadiusKey;
|
|
23
|
+
height: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Per-size geometry of the `Switch` (`theme.component.switch.size.*`).
|
|
27
|
+
* All px numbers — the switch is a drawn control (track + thumb), not
|
|
28
|
+
* composed from the spacing scale.
|
|
29
|
+
*/
|
|
30
|
+
export interface SwitchSizeTokens {
|
|
31
|
+
trackW: number;
|
|
32
|
+
trackH: number;
|
|
33
|
+
thumb: number;
|
|
34
|
+
pad: number;
|
|
35
|
+
}
|
|
36
|
+
/** Per-size tokens of the native `Select` (`theme.component.select.size.*`). */
|
|
37
|
+
export interface SelectSizeTokens {
|
|
38
|
+
height: number;
|
|
39
|
+
px: SpacingAlias;
|
|
40
|
+
}
|
|
41
|
+
/** Per-size tokens of the `Button` (`theme.component.button.size.*`).
|
|
42
|
+
* `textTransform` mirrors the `FontFactory` union (including the historical
|
|
43
|
+
* `captalyze` spelling) — the tier feeds the factory verbatim. */
|
|
44
|
+
export interface ButtonSizeTokens {
|
|
45
|
+
fontSize: FontSizeKey;
|
|
46
|
+
fontWeight: FontWeightKey;
|
|
47
|
+
textTransform?: 'normal' | 'uppercase' | 'lowercase' | 'captalyze';
|
|
48
|
+
py: SpacingAlias;
|
|
49
|
+
px: SpacingAlias;
|
|
50
|
+
borderRadius: BorderRadiusKey;
|
|
51
|
+
}
|
|
52
|
+
/** Per-size tokens of the `InputSelect` (`theme.component.inputSelect.size.*`). */
|
|
53
|
+
export interface InputSelectSizeTokens {
|
|
54
|
+
py: SpacingAlias;
|
|
55
|
+
px: SpacingAlias;
|
|
56
|
+
fontSize: FontSizeKey;
|
|
57
|
+
lineHeight?: LineHeightKey;
|
|
58
|
+
borderRadius: BorderRadiusKey;
|
|
59
|
+
height: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Component token tier (`theme.component.*`) — ADR-020.
|
|
63
|
+
*
|
|
64
|
+
* Names each component's themeable decisions so the surface is enumerable
|
|
65
|
+
* (a themer restyles one component without forking it). Defaults alias
|
|
66
|
+
* foundation scales only; consumer overrides deep-merge over defaults via
|
|
67
|
+
* `createTheme({ component: { … } })`.
|
|
68
|
+
*/
|
|
69
|
+
export interface ComponentTokensLayer {
|
|
70
|
+
input: {
|
|
71
|
+
size: Record<'expansive' | 'medium' | 'compact' | 'micro', InputSizeTokens>;
|
|
72
|
+
};
|
|
73
|
+
switch: {
|
|
74
|
+
size: Record<'small' | 'medium' | 'large', SwitchSizeTokens>;
|
|
75
|
+
};
|
|
76
|
+
select: {
|
|
77
|
+
size: Record<'small' | 'medium' | 'large', SelectSizeTokens>;
|
|
78
|
+
};
|
|
79
|
+
button: {
|
|
80
|
+
size: Record<'extraSmall' | 'small' | 'medium' | 'large', ButtonSizeTokens>;
|
|
81
|
+
};
|
|
82
|
+
inputSelect: {
|
|
83
|
+
size: Record<'expansive' | 'medium' | 'compact' | 'micro', InputSelectSizeTokens>;
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
/** Deep-partial consumer override shape accepted by `createComponentTokens`. */
|
|
87
|
+
export type ComponentTokensInput = {
|
|
88
|
+
[K in keyof ComponentTokensLayer]?: {
|
|
89
|
+
size?: {
|
|
90
|
+
[S in keyof ComponentTokensLayer[K]['size']]?: Partial<ComponentTokensLayer[K]['size'][S]>;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component token tier — each component's themeable decisions, enumerable
|
|
3
|
+
* and override-able (ADR-020).
|
|
4
|
+
*
|
|
5
|
+
* Exposed at `theme.component` as of `@apollion-dsi/core` 5.4.0.
|
|
6
|
+
*
|
|
7
|
+
* Subpath import (preferred):
|
|
8
|
+
* ```ts
|
|
9
|
+
* import { createComponentTokens, type ComponentTokensLayer } from '@apollion-dsi/core/themes/component';
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* Also re-exported by the `themes` barrel:
|
|
13
|
+
* `import { createComponentTokens } from '@apollion-dsi/core/themes';`.
|
|
14
|
+
*
|
|
15
|
+
* @see ../../../docs/adr/ADR-020-component-token-tier.md
|
|
16
|
+
*/
|
|
17
|
+
export type { BorderRadiusKey, ButtonSizeTokens, ComponentTokensInput, ComponentTokensLayer, FontWeightKey, InputSelectSizeTokens, InputSizeTokens, LineHeightKey, SelectSizeTokens, SwitchSizeTokens, } from './Component.interface';
|
|
18
|
+
export { createComponentTokens } from './Component.helpers';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as a}from"../../chunks/chunk-7EGX7BMB.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createComponentTokens};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Deep` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Any other file in the project should import from the barrel, never from
|
|
5
|
+
* internal paths like `./Deep.interface` or `./Deep.props`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './Deep.interface';
|
|
8
8
|
export * from './Deep.props';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-OWMRURZT.esm.js";import"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-OWMRURZT.esm.js";import"../../chunks/chunk-3RNWYCCU.esm.js";import"../../chunks/chunk-E3MSXQXV.esm.js";import"../../chunks/chunk-TQJTHPA3.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{a as createDeepTheme};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Depth` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Any other file in the project should import from the barrel, never from
|
|
5
|
+
* internal paths like `./Depth.interface` or `./Depth.props`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './Depth.interface';
|
|
8
8
|
export * from './Depth.props';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Dimension` module (density axis — ADR-006 E2).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* `Dimension`
|
|
4
|
+
* Not to be confused with `theme.semantic.dimension` (spacing-aliases layer);
|
|
5
|
+
* this `Dimension` is the density/multiplier axis introduced in v4.
|
|
6
6
|
*
|
|
7
|
-
* @see ./Dimension.interface.ts (naming disambiguation
|
|
7
|
+
* @see ./Dimension.interface.ts (full naming disambiguation)
|
|
8
8
|
*/
|
|
9
9
|
export * from './Dimension.interface';
|
|
10
10
|
export * from './Dimension.props';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `Font` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Any other file in the project should import from the barrel, never from
|
|
5
|
+
* internal paths like `./Font.interface` or `./Font.props`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './Font.interface';
|
|
8
8
|
export * from './Font.props';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type { FoundationLayer } from './Foundation.interface';
|
|
2
2
|
import type { SemanticLayer } from '../Semantic/Semantic.interface';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Resolves the Foundation layer from the Semantic layer.
|
|
5
5
|
*
|
|
6
|
-
* **
|
|
7
|
-
* -
|
|
8
|
-
* -
|
|
9
|
-
* -
|
|
6
|
+
* **Purity + idempotence (ADR-002 §9 contract, inherited from Semantic):**
|
|
7
|
+
* - Reads nothing external (Date, Math.random, env, DOM).
|
|
8
|
+
* - Does not mutate the input.
|
|
9
|
+
* - Same input → same output (referentially new, byte-equivalent).
|
|
10
10
|
*
|
|
11
|
-
* Foundation
|
|
12
|
-
*
|
|
11
|
+
* Foundation is purely derivative of Semantic — every color/spacing change
|
|
12
|
+
* propagates via Semantic. The mapping follows ADR-002 §3 + §5.
|
|
13
13
|
*
|
|
14
|
-
* @param semantic -
|
|
15
|
-
* @returns
|
|
14
|
+
* @param semantic - Already-resolved Semantic layer (from `createSemantic`).
|
|
15
|
+
* @returns Complete Foundation layer, ready to be plugged into
|
|
16
16
|
* `theme.foundation`.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```ts
|
|
20
|
-
* //
|
|
20
|
+
* // In product code (DEX/Jovian/Fanaticofc):
|
|
21
21
|
* const StyledCTA = styled.button`
|
|
22
22
|
* background: ${({ theme }) => theme.foundation.bg.primary};
|
|
23
23
|
* color: ${({ theme }) => theme.foundation.text.onPrimary};
|
|
@@ -26,7 +26,7 @@ import type { SemanticLayer } from '../Semantic/Semantic.interface';
|
|
|
26
26
|
* ```
|
|
27
27
|
*
|
|
28
28
|
* @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3, §5
|
|
29
|
-
* @see ../Semantic/Semantic.helpers.ts (
|
|
30
|
-
* @see ./README.md (cheatsheet
|
|
29
|
+
* @see ../Semantic/Semantic.helpers.ts (source layer)
|
|
30
|
+
* @see ./README.md (full cheatsheet)
|
|
31
31
|
*/
|
|
32
32
|
export declare function createFoundation(semantic: SemanticLayer): FoundationLayer;
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* Foundation layer of the theme — short, ergonomic aliases over Semantic.
|
|
3
|
+
* This is the layer that product code (screens, features, DEX/Jovian/Fanaticofc
|
|
4
|
+
* clients) should consume by default.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* simplification — it is a product decision."
|
|
8
|
-
* Semantic
|
|
9
|
-
*
|
|
6
|
+
* Philosophy (Aplica DS, adopted literally): "Foundation is not a technical
|
|
7
|
+
* simplification — it is a product decision." It does not require knowing the
|
|
8
|
+
* full Semantic taxonomy; a product dev writes `theme.foundation.bg.primary`
|
|
9
|
+
* instead of `theme.semantic.color.interface.function.primary.normal.bg`.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* -
|
|
13
|
-
* -
|
|
14
|
-
* - Engine
|
|
11
|
+
* Who should use what (ADR-002 §5):
|
|
12
|
+
* - Product → Foundation (this layer)
|
|
13
|
+
* - Components → Semantic
|
|
14
|
+
* - Engine → Structural (`theme.colors.*`, `theme.spacing(...)`)
|
|
15
15
|
*
|
|
16
16
|
* @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
|
|
17
17
|
* @see ../../docs/CONCEPTS.md §2 (Layer Cake) · §3 (3-group communication)
|
|
18
|
-
* @see ./README.md (cheatsheet
|
|
18
|
+
* @see ./README.md (full cheatsheet)
|
|
19
19
|
*/
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
* forma:
|
|
21
|
+
* Short aliases for background colors. They map to Semantic as follows:
|
|
23
22
|
* - `bg.primary` ← `semantic.color.interface.function.primary.normal.bg`
|
|
24
23
|
* - `bg.secondary` ← `semantic.color.interface.function.secondary.normal.bg`
|
|
25
24
|
* - `bg.tertiary` ← `semantic.color.interface.function.tertiary.normal.bg`
|
|
@@ -27,7 +26,7 @@
|
|
|
27
26
|
* - `bg.danger` ← `semantic.color.feedback.danger.bg`
|
|
28
27
|
* - `bg.warning` ← `semantic.color.feedback.warning.bg`
|
|
29
28
|
* - `bg.info` ← `semantic.color.feedback.information.bg`
|
|
30
|
-
* - `bg.brand` ← `semantic.color.brand.first.default.surface` (
|
|
29
|
+
* - `bg.brand` ← `semantic.color.brand.first.default.surface` (brand color / `main`)
|
|
31
30
|
*/
|
|
32
31
|
export interface FoundationBg {
|
|
33
32
|
primary: string;
|
|
@@ -40,13 +39,13 @@ export interface FoundationBg {
|
|
|
40
39
|
brand: string;
|
|
41
40
|
}
|
|
42
41
|
/**
|
|
43
|
-
*
|
|
44
|
-
* (`onPrimary`)
|
|
42
|
+
* Short aliases for text colors "on" a Foundation background. The suffix
|
|
43
|
+
* (`onPrimary`) explicitly indicates the bg pair.
|
|
45
44
|
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
45
|
+
* The WCAG ≥ AA contrast guarantee is the Semantic layer's responsibility,
|
|
46
|
+
* which resolves each `txtOn` via `getContrastColor(bg)` (luminance of the
|
|
47
|
+
* background color itself) — dark-mode-stable: `onMain` stays readable in both
|
|
48
|
+
* modes because the brand color does not change. See ADR-010.
|
|
50
49
|
*/
|
|
51
50
|
export interface FoundationText {
|
|
52
51
|
onPrimary: string;
|
|
@@ -61,10 +60,10 @@ export interface FoundationText {
|
|
|
61
60
|
onComplementary: string;
|
|
62
61
|
}
|
|
63
62
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
63
|
+
* Short spacing aliases. They map to Semantic spacing while preserving the
|
|
64
|
+
* canonical 2-3 letter convention (xs/sm/md/lg/xl/xxl).
|
|
66
65
|
*
|
|
67
|
-
*
|
|
66
|
+
* Translation to Apollion's legacy spacing aliases:
|
|
68
67
|
* - `xs` ← `semantic.dimension.spacing.xs`
|
|
69
68
|
* - `sm` ← `semantic.dimension.spacing.small`
|
|
70
69
|
* - `md` ← `semantic.dimension.spacing.medium`
|
|
@@ -81,8 +80,8 @@ export interface FoundationSpacing {
|
|
|
81
80
|
xxl: string;
|
|
82
81
|
}
|
|
83
82
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
83
|
+
* Complete shape of the Foundation layer. Exposed at `theme.foundation` as of
|
|
84
|
+
* Apollion v3.2.0 (ADR-002 Slice 3).
|
|
86
85
|
*/
|
|
87
86
|
export interface FoundationLayer {
|
|
88
87
|
bg: FoundationBg;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Foundation layer — short, ergonomic aliases over Semantic.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Exposed at `theme.foundation` as of `@apollion-dsi/core` 3.2.0.
|
|
5
5
|
*
|
|
6
|
-
* Subpath import (
|
|
6
|
+
* Subpath import (preferred):
|
|
7
7
|
* ```ts
|
|
8
8
|
* import { createFoundation, type FoundationLayer } from '@apollion-dsi/core/themes/foundation';
|
|
9
9
|
* ```
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Also re-exported by the `themes` barrel for compat with pre-subpath
|
|
12
|
+
* consumers: `import { createFoundation } from '@apollion-dsi/core/themes';`.
|
|
13
13
|
*
|
|
14
14
|
* @see ../../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
|
|
15
15
|
*/
|
|
@@ -2,9 +2,9 @@ import type { SemanticLayer } from './Semantic.interface';
|
|
|
2
2
|
import type { ColorsThemeInterface } from '../Colors/Colors.interface';
|
|
3
3
|
import type { SpacingThemeInterface } from '../Spacing/Spacing.interface';
|
|
4
4
|
/**
|
|
5
|
-
* Subset
|
|
5
|
+
* Subset of the structural `Theme` needed to derive the Semantic layer.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* Typed explicitly (instead of `Theme`) to avoid the type cycle
|
|
8
8
|
* `ThemeProvider.interface → Semantic.interface → ThemeProvider.interface`.
|
|
9
9
|
*/
|
|
10
10
|
export interface CreateSemanticInput {
|
|
@@ -12,20 +12,20 @@ export interface CreateSemanticInput {
|
|
|
12
12
|
spacing: SpacingThemeInterface;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Resolves the Semantic layer from the structural theme.
|
|
16
16
|
*
|
|
17
|
-
* **
|
|
18
|
-
* -
|
|
19
|
-
* -
|
|
20
|
-
* -
|
|
17
|
+
* **Purity + idempotence (ADR-002 §9 contract):**
|
|
18
|
+
* - Reads nothing external (Date, Math.random, env, DOM).
|
|
19
|
+
* - Does not mutate the input.
|
|
20
|
+
* - Same input → same output (referentially new, byte-equivalent).
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
* performance,
|
|
24
|
-
*
|
|
22
|
+
* This contract is what allows calling it via `useMemo([theme])` for
|
|
23
|
+
* performance, without relying on React's semantic guarantees (React reserves
|
|
24
|
+
* the right to discard caches — see ADR-002 §9 / React docs).
|
|
25
25
|
*
|
|
26
26
|
* Mapping rationale (ADR-002 §5, Aplica ⇄ Apollion):
|
|
27
27
|
* - `feedback.{state}.bg` ← `colors.{state}.base`
|
|
28
|
-
* - `feedback.{state}.txtOn` ← `getContrastColor(bg)` (
|
|
28
|
+
* - `feedback.{state}.txtOn` ← `getContrastColor(bg)` (WCAG luminance; ADR-010)
|
|
29
29
|
* - `feedback.{state}.border` ← `colors.{state}.dark`
|
|
30
30
|
* - `interface.function.{role}.normal.bg` ← `colors.{role}.base`
|
|
31
31
|
* - `interface.function.{role}.normal.txtOn` ← `getContrastColor(bg)`
|
|
@@ -33,8 +33,8 @@ export interface CreateSemanticInput {
|
|
|
33
33
|
* - `brand.{...}.default.txtOn` ← `getContrastColor(surface)` (dark-mode-stable, ADR-010)
|
|
34
34
|
* - `dimension.spacing.{alias}` ← `spacing(alias)`
|
|
35
35
|
*
|
|
36
|
-
* @param theme - Subset
|
|
37
|
-
* @returns
|
|
36
|
+
* @param theme - Subset of the structural theme with `colors` and `spacing` resolved.
|
|
37
|
+
* @returns Complete Semantic layer, ready to be plugged into `theme.semantic`.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* ```ts
|
|
@@ -42,7 +42,7 @@ export interface CreateSemanticInput {
|
|
|
42
42
|
*
|
|
43
43
|
* const theme = createTheme();
|
|
44
44
|
* theme.semantic.color.feedback.success.bg;
|
|
45
|
-
* // →
|
|
45
|
+
* // → same value as theme.colors.success.base
|
|
46
46
|
* ```
|
|
47
47
|
*
|
|
48
48
|
* @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md §3, §5, §9
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Semantic layer of the theme — tokens named by intent, a direct mirror of the
|
|
3
|
+
* Aplica DS taxonomy (`semantic.<category>.<group>.<state>.<property>`).
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
* `theme.spacing(...)`, etc.);
|
|
7
|
-
*
|
|
5
|
+
* This layer does NOT replace the structural layer (`theme.colors.*`,
|
|
6
|
+
* `theme.spacing(...)`, etc.); it is a parallel read, derived exactly once in
|
|
7
|
+
* `createTheme()` from the already-existing structural tokens.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* brand).
|
|
9
|
+
* `@apollion-dsi/core` components should prefer Semantic tokens when accessing
|
|
10
|
+
* colors/dimensions with a clear intent (feedback, interface function,
|
|
11
|
+
* brand). Product code should consume Foundation (the layer above) — see §3 of
|
|
12
12
|
* `docs/adr/ADR-002-layered-theme-aliases-and-surface.md`.
|
|
13
13
|
*
|
|
14
14
|
* @see ../../docs/adr/ADR-002-layered-theme-aliases-and-surface.md
|
|
@@ -16,24 +16,24 @@
|
|
|
16
16
|
* @see https://docs.aplica.me/en-US/design-tokens-fundamentals/token-architecture
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* `txtOn`
|
|
19
|
+
* Background-color / text-color-on pair. Aplica DS convention.
|
|
20
|
+
* `txtOn` is the text color guaranteed with WCAG ≥ AA contrast over `bg`.
|
|
21
21
|
*/
|
|
22
22
|
export interface SemanticBgPair {
|
|
23
23
|
bg: string;
|
|
24
24
|
txtOn: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Triplet
|
|
28
|
-
* warning, information)
|
|
27
|
+
* Triplet with an explicit border, used in feedback states (success, danger,
|
|
28
|
+
* warning, information) where the border usually highlights the card/notification.
|
|
29
29
|
*/
|
|
30
30
|
export interface SemanticFeedbackTokens extends SemanticBgPair {
|
|
31
31
|
border: string;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
34
|
+
* Feedback tokens — communicate functional state to the user.
|
|
35
|
+
* They map to `theme.colors.{success, danger, warning, information}` at the
|
|
36
|
+
* structural level.
|
|
37
37
|
*/
|
|
38
38
|
export interface SemanticColorFeedback {
|
|
39
39
|
success: SemanticFeedbackTokens;
|
|
@@ -42,15 +42,15 @@ export interface SemanticColorFeedback {
|
|
|
42
42
|
information: SemanticFeedbackTokens;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
45
|
+
* State of an interface.function pair (default `normal`). Reserved for future
|
|
46
|
+
* expansion (`hover`, `pressed`, `disabled`) without a breaking change.
|
|
47
47
|
*/
|
|
48
48
|
export interface SemanticInterfaceFunctionStates {
|
|
49
49
|
normal: SemanticBgPair;
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* tertiary).
|
|
52
|
+
* Functional interface tokens — action roles (primary, secondary,
|
|
53
|
+
* tertiary). They map to `theme.colors.{primary, secondary, tertiary}`.
|
|
54
54
|
*/
|
|
55
55
|
export interface SemanticColorInterfaceFunction {
|
|
56
56
|
primary: SemanticInterfaceFunctionStates;
|
|
@@ -58,14 +58,14 @@ export interface SemanticColorInterfaceFunction {
|
|
|
58
58
|
tertiary: SemanticInterfaceFunctionStates;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Interface tokens — aggregates `function` and (in the future) other roles.
|
|
62
62
|
*/
|
|
63
63
|
export interface SemanticColorInterface {
|
|
64
64
|
function: SemanticColorInterfaceFunction;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* Surface + text-on for a brand color, in the default state.
|
|
68
|
+
* `default` is reserved as a string key to allow future variants.
|
|
69
69
|
*/
|
|
70
70
|
export interface SemanticBrandTokens {
|
|
71
71
|
default: {
|
|
@@ -74,11 +74,11 @@ export interface SemanticBrandTokens {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
78
|
-
* `theme.colors.{main, opposite, complementary}`
|
|
77
|
+
* Brand tokens — visual identity. They map to
|
|
78
|
+
* `theme.colors.{main, opposite, complementary}` at the structural level.
|
|
79
79
|
*
|
|
80
|
-
* `first`/`second`/`third`
|
|
81
|
-
*
|
|
80
|
+
* `first`/`second`/`third` reflects the Aplica DS nomenclature (presentation
|
|
81
|
+
* order) instead of Apollion's legacy nomenclature
|
|
82
82
|
* (`main`/`opposite`/`complementary`).
|
|
83
83
|
*/
|
|
84
84
|
export interface SemanticColorBrand {
|
|
@@ -87,7 +87,7 @@ export interface SemanticColorBrand {
|
|
|
87
87
|
third: SemanticBrandTokens;
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* Color layer of Semantic.
|
|
91
91
|
*/
|
|
92
92
|
export interface SemanticColor {
|
|
93
93
|
feedback: SemanticColorFeedback;
|
|
@@ -95,13 +95,13 @@ export interface SemanticColor {
|
|
|
95
95
|
brand: SemanticColorBrand;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
* Spacing
|
|
99
|
-
*
|
|
98
|
+
* Spacing pre-resolved into a CSS string (`'8px'`, `'1rem'`, etc.), generated
|
|
99
|
+
* exactly once in `createSemantic()` from `theme.spacing(alias)`.
|
|
100
100
|
*
|
|
101
|
-
* Apollion
|
|
102
|
-
* Semantic
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* Apollion uses the legacy `zero..giant` aliases at the structural level; the
|
|
102
|
+
* Semantic layer preserves those same keys to avoid unnecessary cognitive
|
|
103
|
+
* translation (ADR-002 §5 deferred adopting Aplica's Fibonacci nomenclature
|
|
104
|
+
* to ADR-003 / the v4 epic).
|
|
105
105
|
*/
|
|
106
106
|
export interface SemanticDimensionSpacing {
|
|
107
107
|
zero: string;
|
|
@@ -115,14 +115,14 @@ export interface SemanticDimensionSpacing {
|
|
|
115
115
|
giant: string;
|
|
116
116
|
}
|
|
117
117
|
/**
|
|
118
|
-
*
|
|
119
|
-
*
|
|
118
|
+
* Dimension layer of Semantic. Currently covers only spacing; typography and
|
|
119
|
+
* elevation may land in future iterations without a breaking change.
|
|
120
120
|
*/
|
|
121
121
|
export interface SemanticDimension {
|
|
122
122
|
spacing: SemanticDimensionSpacing;
|
|
123
123
|
}
|
|
124
124
|
/**
|
|
125
|
-
*
|
|
125
|
+
* Complete shape of the Semantic layer. Exposed at `theme.semantic` as of
|
|
126
126
|
* Apollion v3.1.0.
|
|
127
127
|
*/
|
|
128
128
|
export interface SemanticLayer {
|