@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
|
@@ -2,46 +2,46 @@ import { BorderThemeType } from '../../themes/Border';
|
|
|
2
2
|
import { BgColorsTypes } from '../../themes/Colors';
|
|
3
3
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Set of semantic "shortcuts" for `border-radius` recognized by
|
|
6
6
|
* `BorderFactory`.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Each key describes a rounding pattern applied to specific corners.
|
|
9
|
+
* `round` applies the radius to all corners; the `roundX` / `sharpX`
|
|
10
|
+
* variants allow granular control without having to assemble the
|
|
11
|
+
* `border-radius` shorthand manually.
|
|
12
12
|
*/
|
|
13
13
|
export type BorderRoundPropsType = 'round' | 'roundBottom' | 'roundTop' | 'roundRight' | 'roundLeft' | 'roundTopLeft' | 'roundTopRight' | 'roundBottomLeft' | 'roundBottomRight' | 'roundTangentRight' | 'roundTangentLeft' | 'sharpTopLeft' | 'sharpTopRight' | 'sharpBottomRight' | 'sharpBottomLeft';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Partial map from `BorderRoundPropsType` to the applied radius value.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* (`theme.spacing(n)`).
|
|
17
|
+
* The value can be a theme token (`theme.border.borderRadius`) or a
|
|
18
|
+
* number — in which case it's interpreted as an index into the spacing
|
|
19
|
+
* scale (`theme.spacing(n)`).
|
|
20
20
|
*/
|
|
21
21
|
export type BorderRoundProps = Partial<Record<BorderRoundPropsType, BorderThemeType['borderRadius'] | number>>;
|
|
22
22
|
/**
|
|
23
|
-
* Props
|
|
23
|
+
* Props consumed by `BorderFactory`.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
26
|
-
* `BorderThemeType`),
|
|
27
|
-
*
|
|
25
|
+
* Combines three groups: conventional borders (color/width/style via
|
|
26
|
+
* `BorderThemeType`), semantic radius shortcuts (`BorderRoundProps`), and
|
|
27
|
+
* auxiliary controls like `borderPosition` and `square`.
|
|
28
28
|
*
|
|
29
|
-
* `square`
|
|
29
|
+
* `square` takes precedence over any configured radius.
|
|
30
30
|
*/
|
|
31
31
|
export type BorderFactoryProps = {
|
|
32
|
-
/**
|
|
32
|
+
/** Color token (`theme.colors`) applied to `border-color`. */
|
|
33
33
|
borderColor?: BgColorsTypes;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Restricts the border to a specific side (or pair of sides).
|
|
36
36
|
*
|
|
37
|
-
* `vertical`
|
|
37
|
+
* `vertical` applies to `top` + `bottom`; `horizontal` to `left` + `right`.
|
|
38
38
|
*/
|
|
39
39
|
borderPosition?: 'right' | 'left' | 'top' | 'bottom' | 'vertical' | 'horizontal';
|
|
40
|
-
/**
|
|
40
|
+
/** When `true`, forces `border-radius: undefined` (clears any radius). */
|
|
41
41
|
square?: boolean;
|
|
42
42
|
} & BorderThemeType & BorderRoundProps;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* `ThemeProvider`. Use
|
|
44
|
+
* Variant of `BorderFactoryProps` enriched with the `theme` injected by
|
|
45
|
+
* `ThemeProvider`. Use in signatures that need to access the current theme.
|
|
46
46
|
*/
|
|
47
47
|
export type BorderThemePropsType = WithTheme<BorderFactoryProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `BorderFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (`BorderSemantic`, `BorderRoundSemantic`),
|
|
6
|
-
*
|
|
4
|
+
* Re-exports the factory (`BorderFactory`), the semantic helpers
|
|
5
|
+
* (`BorderSemantic`, `BorderRoundSemantic`), the `borderKeys` list, and the
|
|
6
|
+
* prop types. Imports from outside this folder should use this barrel.
|
|
7
7
|
*/
|
|
8
8
|
export * from './BorderFactory';
|
|
9
9
|
export * from './BorderFactory.interface';
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { ColorFactoryProps } from './ColorFactory.interface';
|
|
2
2
|
import { FactoryInterpolation } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by the `ColorFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Only `color`, `contrast` and `readable` appear here — `opacity` is
|
|
7
|
+
* intentionally left out because it is a generic modifier that can be
|
|
8
|
+
* forwarded to the DOM (it causes no conflict).
|
|
9
9
|
*/
|
|
10
10
|
export declare const colorKeys: Array<keyof ColorFactoryProps>;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Text-color style factory.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
* 1. `contrast` (
|
|
16
|
-
*
|
|
17
|
-
* 2. `color` (
|
|
18
|
-
* `readable`,
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* 3. `opacity`:
|
|
14
|
+
* Resolution in three steps:
|
|
15
|
+
* 1. `contrast` (when present) wins: computes the best-contrast color over
|
|
16
|
+
* that background.
|
|
17
|
+
* 2. `color` (otherwise): resolves directly through the theme token; with
|
|
18
|
+
* `readable`, the resolved color still goes through `readableColor`
|
|
19
|
+
* against the page surface (`theme.colors.baseLight`, mode-aware) — the
|
|
20
|
+
* **text** intent of the contrast plan (G3), generalizing the pattern
|
|
21
|
+
* `Link` already applied locally.
|
|
22
|
+
* 3. `opacity`: when provided, maps the semantic token to a numeric value.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
|
26
26
|
* const Title = styled.h1(ColorFactory({ color: 'primary' }));
|
|
27
|
-
* const Badge = styled.span(ColorFactory({ contrast: 'primary' })); //
|
|
28
|
-
* const Note = styled.p(ColorFactory({ color: 'secondary', readable: true })); // ink
|
|
27
|
+
* const Badge = styled.span(ColorFactory({ contrast: 'primary' })); // text over a primary background
|
|
28
|
+
* const Note = styled.p(ColorFactory({ color: 'secondary', readable: true })); // AA ink per theme
|
|
29
29
|
* ```
|
|
30
30
|
*/
|
|
31
31
|
export declare const ColorFactory: (customProps: ColorFactoryProps) => FactoryInterpolation<ColorFactoryProps>;
|
|
@@ -1,54 +1,47 @@
|
|
|
1
1
|
import { BgColorsTypes } from '../../themes/Colors';
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* autocomplete) **
|
|
6
|
-
*
|
|
4
|
+
* Value accepted by the factory's color props: a typed theme token (with
|
|
5
|
+
* autocomplete) **or** a raw CSS string (hex/`var(--*)`) — the `theme.colors`
|
|
6
|
+
* passthrough for values outside the palette remains valid.
|
|
7
7
|
*/
|
|
8
8
|
export type ColorFactoryValueType = BgColorsTypes | (string & {});
|
|
9
9
|
/**
|
|
10
|
-
* Props
|
|
10
|
+
* Props consumed by the `ColorFactory`.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* They control the text color and the resulting opacity. The three `opacity`
|
|
13
|
+
* options are semantic tokens — not arbitrary values — to keep the set of
|
|
14
|
+
* variations under visual control.
|
|
15
15
|
*/
|
|
16
16
|
export type ColorFactoryProps = {
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* contraste.
|
|
18
|
+
* Theme token (`theme.colors`) used as `color`. Has lower precedence than
|
|
19
|
+
* `contrast`: when both are provided, the contrast calculation wins.
|
|
21
20
|
*
|
|
22
|
-
*
|
|
23
|
-
* (`<li color>`, etc.)
|
|
24
|
-
*
|
|
21
|
+
* Stays `string` (not the typed union): `color` is also an HTML attribute
|
|
22
|
+
* (`<li color>`, etc.) and interfaces extending native props require
|
|
23
|
+
* identical types on the name collision.
|
|
25
24
|
*/
|
|
26
25
|
color?: string;
|
|
27
26
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* Hypothetical "background" color token — the factory computes the best
|
|
28
|
+
* text color (black/white) to guarantee WCAG contrast over it.
|
|
30
29
|
*/
|
|
31
30
|
contrast?: ColorFactoryValueType;
|
|
32
31
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* move. `true` usa o piso AA (4.5); um número define o piso (ex.: `7` para
|
|
37
|
-
* AAA, `5` para AA com margem — o que o `Link` usa).
|
|
38
|
-
*
|
|
39
|
-
* Sem `readable`, `color` segue cru — a intenção fill (fundos vibrantes)
|
|
40
|
-
* não muda. Ignorado quando `contrast` está presente (lá o ink já é
|
|
41
|
-
* derivado do fundo declarado). Ver plano contraste G3.
|
|
32
|
+
* Makes the `color` legible against the page surface: `true` = WCAG AA
|
|
33
|
+
* (4.5), a number sets a custom floor. Ignored with `contrast`.
|
|
34
|
+
* See the Layout Props concept page for the full semantics.
|
|
42
35
|
*/
|
|
43
36
|
readable?: boolean | number;
|
|
44
37
|
/**
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* UI.
|
|
38
|
+
* Semantic opacity applied to the color: `low` ≈ 0.1, `md` ≈ 0.5,
|
|
39
|
+
* `high` ≈ 0.9. Keeping tokens avoids a proliferation of arbitrary values
|
|
40
|
+
* across the UI.
|
|
48
41
|
*/
|
|
49
42
|
opacity?: 'low' | 'md' | 'high';
|
|
50
43
|
};
|
|
51
44
|
/**
|
|
52
|
-
*
|
|
45
|
+
* Variant of `ColorFactoryProps` with `theme` injected by the `ThemeProvider`.
|
|
53
46
|
*/
|
|
54
47
|
export type ColorThemePropsType = WithTheme<ColorFactoryProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `ColorFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Re-exports the factory (`ColorFactory`), the `colorKeys` list, and the
|
|
5
|
+
* prop types. External imports should enter through here.
|
|
6
6
|
*/
|
|
7
7
|
export * from './ColorFactory';
|
|
8
8
|
export * from './ColorFactory.interface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-TLBV5OUM.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{b as ColorFactory,a as colorKeys};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { ContainerFactoryProps, ContainerThemePropsType } from './ContainerFactory.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by `ContainerFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Consumed by `System` in `shouldForwardProp` to prevent these props from
|
|
7
|
+
* being emitted as HTML attributes.
|
|
8
8
|
*/
|
|
9
9
|
export declare const containerKeys: Array<keyof ContainerFactoryProps>;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Factory for "structural" styles (display/position/overflow/padding/etc.).
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
* `isHidden`)
|
|
15
|
-
*
|
|
13
|
+
* Resolves the semantic flags (`truncate`, `container`, `absoluteFill`,
|
|
14
|
+
* `isHidden`) into sets of CSS properties — see `ContainerFactoryProps`
|
|
15
|
+
* for the meaning of each flag.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Values accepted by the `overflow`, `overflowX` and `overflowY` props.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Mirrors the set supported by CSS without `inherit`/`initial`, which rarely
|
|
6
|
+
* make sense at the component level.
|
|
7
7
|
*/
|
|
8
8
|
export type OverflowType = 'visible' | 'hidden' | 'scroll' | 'auto';
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Values accepted by `cursor`.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Exhaustive list of the native CSS cursors supported by Apollion. Limiting
|
|
13
|
+
* the set to a union avoids invalid strings and provides autocompletion.
|
|
14
14
|
*/
|
|
15
15
|
export type CursorType = 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'e-resize' | 'n-resize' | 'ne-resize' | 'nw-resize' | 's-resize' | 'se-resize' | 'sw-resize' | 'w-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'col-resize' | 'row-resize' | 'all-scroll' | 'zoom-in' | 'zoom-out' | 'grab' | 'grabbing';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Values accepted by `display`.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
* via Flex/Grid.
|
|
19
|
+
* Omits `table`, `list-item` and other legacy values — Apollion favors
|
|
20
|
+
* layout via Flex/Grid.
|
|
21
21
|
*/
|
|
22
22
|
export type DisplayType = 'none' | 'inline' | 'block' | 'flex' | 'grid' | 'inline-block' | 'inline-flex' | 'inline-grid';
|
|
23
23
|
/**
|
|
24
|
-
* Props
|
|
24
|
+
* Props consumed by the `ContainerFactory`.
|
|
25
25
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
26
|
+
* They gather an element's "structural" properties (positioning, overflow,
|
|
27
|
+
* padding/margin, grid-area, etc.) under a single object. They work together
|
|
28
|
+
* with `SizeFactory` (dimensions) and `SpacingFactory` (tokenized spacing
|
|
29
|
+
* scale).
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* - `truncate`
|
|
33
|
-
* - `container`
|
|
34
|
-
* - `absoluteFill`
|
|
31
|
+
* Some flags are high-level shortcuts:
|
|
32
|
+
* - `truncate` adds `overflow:hidden + text-overflow:ellipsis + white-space:nowrap`.
|
|
33
|
+
* - `container` centers with `margin: 0 auto` and `maxWidth: 1366`.
|
|
34
|
+
* - `absoluteFill` applies `position:absolute + top/bottom/left/right: 0`.
|
|
35
35
|
*/
|
|
36
36
|
export type ContainerFactoryProps = Partial<{
|
|
37
|
-
/**
|
|
37
|
+
/** `grid-area` value when the element sits inside a named grid. */
|
|
38
38
|
area: string;
|
|
39
39
|
padding: string | number;
|
|
40
40
|
margin: string | number;
|
|
41
|
-
/**
|
|
41
|
+
/** Applies `visibility: hidden` (keeps the space, unlike `display:none`). */
|
|
42
42
|
isHidden: boolean;
|
|
43
|
-
/**
|
|
43
|
+
/** Shortcut for single-line content with ellipsis. */
|
|
44
44
|
truncate: boolean;
|
|
45
|
-
/**
|
|
45
|
+
/** Centers the element and caps the width at the container breakpoint (1366px). */
|
|
46
46
|
container: boolean;
|
|
47
47
|
overflow: OverflowType;
|
|
48
48
|
overflowX: OverflowType;
|
|
49
49
|
overflowY: OverflowType;
|
|
50
|
-
/**
|
|
50
|
+
/** Positions absolutely and fills the whole parent (`top/bottom/left/right: 0`). */
|
|
51
51
|
absoluteFill: boolean;
|
|
52
52
|
position: 'relative' | 'absolute' | 'fixed' | 'sticky';
|
|
53
53
|
display: DisplayType;
|
|
@@ -58,17 +58,13 @@ export type ContainerFactoryProps = Partial<{
|
|
|
58
58
|
right: string | number;
|
|
59
59
|
zIndex: number;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
* Caso de uso: ancorar um overlay absoluto centrado num ponto percentual —
|
|
64
|
-
* `left`/`top` posicionam o canto, o `translate` recentra o elemento.
|
|
65
|
-
* Filtrada pelo `shouldForwardProp`: nunca vaza como atributo HTML
|
|
66
|
-
* (`transform` é atributo válido de SVG e passaria no `isPropValid`).
|
|
61
|
+
* CSS `transform` value (e.g. `translate(-50%, -33px)`). Never leaks
|
|
62
|
+
* to the DOM as an attribute.
|
|
67
63
|
*/
|
|
68
64
|
transform: string;
|
|
69
65
|
}>;
|
|
70
66
|
/**
|
|
71
|
-
*
|
|
72
|
-
* `ThemeProvider`.
|
|
67
|
+
* Variant of `ContainerFactoryProps` with `theme` injected by the
|
|
68
|
+
* `ThemeProvider`. Used in the factories' internal signatures.
|
|
73
69
|
*/
|
|
74
70
|
export type ContainerThemePropsType = WithTheme<ContainerFactoryProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `ContainerFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (`ContainerFactoryProps`, `OverflowType`, `CursorType`, `DisplayType`).
|
|
4
|
+
* Re-exports the factory (`ContainerFactory`), the `containerKeys` list, and
|
|
5
|
+
* the types (`ContainerFactoryProps`, `OverflowType`, `CursorType`, `DisplayType`).
|
|
6
6
|
*/
|
|
7
7
|
export * from './ContainerFactory';
|
|
8
8
|
export * from './ContainerFactory.interface';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { DeepFactoryProps } from './DeepFactory.interface';
|
|
2
2
|
import { FactoryInterpolation } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by the `DeepFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Consumed by the `System` to prevent these props from leaking to the DOM.
|
|
7
7
|
*/
|
|
8
8
|
export declare const deepKeys: Array<keyof DeepFactoryProps>;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Elevation factory (`box-shadow`) based on semantic levels.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* base
|
|
12
|
+
* The `deep` level indexes into a scale (-1 → 6) where each step combines
|
|
13
|
+
* distance/proximity/intensity from the theme. `deepColor` allows swapping
|
|
14
|
+
* the base color for a theme token (converted to RGB).
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
* - `deep === undefined`
|
|
18
|
-
* - `deep === -1`:
|
|
16
|
+
* Special cases:
|
|
17
|
+
* - `deep === undefined` or `noShadow`: returns `null` (no shadow).
|
|
18
|
+
* - `deep === -1`: inner shadow (`inset`).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* ```ts
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { DeepThemeInterface } from '../../themes/Deep';
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* "Resolved" shape of the theme's `deep` slice — each key is a single final
|
|
5
|
+
* value (string or number).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* Used internally by `getBoxShadow` to assemble the `box-shadow` shorthand.
|
|
8
|
+
* The values still come from the theme; this type is just a convenience
|
|
9
|
+
* alias.
|
|
10
10
|
*/
|
|
11
11
|
export type DeepThemeType = Record<keyof DeepThemeInterface, string | number>;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Semantic depth levels accepted by the `deep` prop.
|
|
14
14
|
*
|
|
15
|
-
* - `-1`:
|
|
16
|
-
* - `0`:
|
|
17
|
-
* - `1`–`6`:
|
|
15
|
+
* - `-1`: inner shadow (sunken).
|
|
16
|
+
* - `0`: baseline (no visible shadow).
|
|
17
|
+
* - `1`–`6`: increasing elevation steps.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Keeping a discrete scale avoids a sea of ad-hoc `box-shadow` values and
|
|
20
|
+
* gives the UI layers kinetic consistency.
|
|
21
21
|
*/
|
|
22
22
|
export type DeepStylesTypes = -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
23
23
|
/**
|
|
24
|
-
* Props
|
|
24
|
+
* Props consumed by the `DeepFactory`.
|
|
25
25
|
*
|
|
26
|
-
* `noShadow`
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* `noShadow` is an explicit override for when the component needs to cancel
|
|
27
|
+
* the shadow inherited from a variant. `deepColor` changes the shadow's base
|
|
28
|
+
* color (useful for colored shadows on "primary"/"danger" variants).
|
|
29
29
|
*/
|
|
30
30
|
export type DeepFactoryProps = {
|
|
31
|
-
/**
|
|
31
|
+
/** Applied depth level. See `DeepStylesTypes`. */
|
|
32
32
|
deep?: DeepStylesTypes;
|
|
33
|
-
/**
|
|
33
|
+
/** Color token (`theme.colors`) used as the `box-shadow` base color. */
|
|
34
34
|
deepColor?: string;
|
|
35
|
-
/**
|
|
35
|
+
/** When `true`, suppresses any shadow even when `deep` is set. */
|
|
36
36
|
noShadow?: boolean;
|
|
37
37
|
};
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Variant of `DeepFactoryProps` with `theme` injected by the `ThemeProvider`.
|
|
40
40
|
*/
|
|
41
41
|
export type DeepThemePropsType = WithTheme<DeepFactoryProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `DeepFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Re-exports the elevation factory (`DeepFactory`), the `deepKeys` list and
|
|
5
|
+
* the helper types (`DeepStylesTypes`, `DeepFactoryProps`).
|
|
6
6
|
*/
|
|
7
7
|
export * from './DeepFactory';
|
|
8
8
|
export * from './DeepFactory.interface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-OZIEVLUR.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{b as DeepFactory,a as deepKeys};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { FlexFactoryProps, FlexThemeProps } from './FlexFactory.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by the `FlexFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Consumed by the `System` to prevent these props from leaking to the DOM.
|
|
7
7
|
*/
|
|
8
8
|
export declare const flexKeys: Array<keyof FlexFactoryProps>;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Flexbox style factory.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* `wrap`, `alignSelf`, `order`, `grow`/`shrink`)
|
|
14
|
-
* `gapFn`. `flexDirection`
|
|
15
|
-
*
|
|
12
|
+
* Combines the semantic shortcuts (`flex`, `justifyContent`, `alignItems`,
|
|
13
|
+
* `wrap`, `alignSelf`, `order`, `grow`/`shrink`) with `gap` resolution via
|
|
14
|
+
* `gapFn`. `flexDirection` defaults to `column` (aligned with Apollion's
|
|
15
|
+
* preference for implicit vertical stacking).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { SpacingInterface } from '../../themes/Spacing';
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Semantic shortcuts accepted by the `flex` prop.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* - `auto`: `1 1 auto` (
|
|
8
|
-
* - `fluid`: `1 1 0%` (
|
|
9
|
-
* - `initial`: `0 1 auto` (
|
|
10
|
-
* - `none`: `none` (
|
|
6
|
+
* Each key maps to a `flex` shorthand:
|
|
7
|
+
* - `auto`: `1 1 auto` (grows/shrinks based on content).
|
|
8
|
+
* - `fluid`: `1 1 0%` (distributes space equally, ignores content).
|
|
9
|
+
* - `initial`: `0 1 auto` (does not grow, shrinks if needed).
|
|
10
|
+
* - `none`: `none` (neither grows nor shrinks).
|
|
11
11
|
*/
|
|
12
12
|
export type Flex = 'fluid' | 'initial' | 'auto' | 'none';
|
|
13
|
-
/**
|
|
13
|
+
/** Direction of the flex container's main axis. */
|
|
14
14
|
export type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Semantic tokens for `justify-content`. They shorten the native CSS values
|
|
17
17
|
* (`flex-start` → `start`, `space-between` → `between`, etc.).
|
|
18
18
|
*/
|
|
19
19
|
export type FlexJustify = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
|
|
20
|
-
/**
|
|
20
|
+
/** Semantic tokens for `align-items`. */
|
|
21
21
|
export type FlexAlignItems = 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Semantic tokens for `flex-wrap`. `reverse` applies `wrap-reverse`.
|
|
24
24
|
*/
|
|
25
25
|
export type FlexWrap = 'wrap' | 'reverse' | 'nowrap';
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* - `first`: `-999` (
|
|
29
|
-
* - `last`: `999` (
|
|
27
|
+
* `order` value. Accepts a direct number or semantic tokens:
|
|
28
|
+
* - `first`: `-999` (pulls the item to the start).
|
|
29
|
+
* - `last`: `999` (sends it to the end).
|
|
30
30
|
*/
|
|
31
31
|
export type FlexOrder = number | 'first' | 'last';
|
|
32
|
-
/**
|
|
32
|
+
/** Semantic tokens for `align-self`. */
|
|
33
33
|
export type AlignSelf = 'start' | 'end' | 'center' | 'auto' | 'stretch';
|
|
34
|
-
/**
|
|
34
|
+
/** Same token set as `AlignSelf` — reused for `justify-self`. */
|
|
35
35
|
export type JustifySelf = AlignSelf;
|
|
36
36
|
/**
|
|
37
|
-
* Props
|
|
37
|
+
* Props consumed by the `FlexFactory`.
|
|
38
38
|
*
|
|
39
|
-
*
|
|
40
|
-
* (
|
|
39
|
+
* All optional — when absent, the corresponding CSS attribute is not emitted
|
|
40
|
+
* (except `flexDirection`, which falls back to `column` in the factory).
|
|
41
41
|
*
|
|
42
|
-
* `gap`
|
|
43
|
-
*
|
|
44
|
-
*
|
|
42
|
+
* `gap` takes a token from the spacing scale (`SpacingInterface`); the
|
|
43
|
+
* factory handles resolution through the theme AND applies a `margin`
|
|
44
|
+
* fallback in old browsers without flexbox `gap` support.
|
|
45
45
|
*/
|
|
46
46
|
export type FlexFactoryProps = Partial<{
|
|
47
47
|
flex: Flex;
|
|
@@ -58,6 +58,6 @@ export type FlexFactoryProps = Partial<{
|
|
|
58
58
|
justifySelf: JustifySelf;
|
|
59
59
|
}>;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* Variant of `FlexFactoryProps` with `theme` injected by the `ThemeProvider`.
|
|
62
62
|
*/
|
|
63
63
|
export type FlexThemeProps = WithTheme<FlexFactoryProps>;
|