@apollion-dsi/core 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -34
- package/lib/chunks/Notification.group-YC5G24UY.esm.js +1 -0
- package/lib/chunks/chunk-3RNWYCCU.esm.js +1 -0
- package/lib/chunks/{chunk-RE3I3OYH.esm.js → chunk-4KZ2JQAC.esm.js} +1 -1
- package/lib/chunks/{chunk-PLYS2FYI.esm.js → chunk-4V7LOS5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-WXIAPOTW.esm.js → chunk-5LTPAIHB.esm.js} +1 -1
- package/lib/chunks/chunk-5O44BVAT.esm.js +43 -0
- package/lib/chunks/{chunk-JN5ZNWJR.esm.js → chunk-5SQH2W2J.esm.js} +1 -1
- package/lib/chunks/chunk-6OXVRDS2.esm.js +1 -0
- package/lib/chunks/{chunk-46YVAYDW.esm.js → chunk-6UPV326F.esm.js} +1 -1
- package/lib/chunks/{chunk-IGHPN2OO.esm.js → chunk-73MPQ5OY.esm.js} +1 -1
- package/lib/chunks/chunk-7EGX7BMB.esm.js +1 -0
- package/lib/chunks/chunk-7Y6YHVIS.esm.js +1 -0
- package/lib/chunks/{chunk-OXFE7XFH.esm.js → chunk-7YLTH6LY.esm.js} +1 -1
- package/lib/chunks/{chunk-52WIL6WF.esm.js → chunk-A3PI2KMG.esm.js} +1 -1
- package/lib/chunks/chunk-ARQDV4PP.esm.js +1 -0
- package/lib/chunks/{chunk-YJ4ZRQMI.esm.js → chunk-BC24WDTC.esm.js} +1 -1
- package/lib/chunks/chunk-BL3BNTW3.esm.js +1 -0
- package/lib/chunks/{chunk-2IZ35FTI.esm.js → chunk-BMGVQBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-KDIEROKH.esm.js → chunk-BVKAXW2H.esm.js} +1 -1
- package/lib/chunks/chunk-C5ZCCKMP.esm.js +1 -0
- package/lib/chunks/{chunk-QTWYG4PZ.esm.js → chunk-CLDPV7NK.esm.js} +1 -1
- package/lib/chunks/{chunk-NAPV2J5W.esm.js → chunk-DIN3SAMW.esm.js} +1 -1
- package/lib/chunks/{chunk-SPWQRX4O.esm.js → chunk-DZB2OR52.esm.js} +1 -1
- package/lib/chunks/{chunk-LAO57LJC.esm.js → chunk-EJ3VKFOX.esm.js} +1 -1
- package/lib/chunks/{chunk-BIBJ6JAY.esm.js → chunk-F3WJSICY.esm.js} +1 -1
- package/lib/chunks/{chunk-5VB6YPWU.esm.js → chunk-FCMCTNIG.esm.js} +4 -4
- package/lib/chunks/{chunk-6C3PW2PK.esm.js → chunk-FUSBM77F.esm.js} +1 -1
- package/lib/chunks/chunk-FXR7WKA7.esm.js +1 -0
- package/lib/chunks/{chunk-JSCUCQSD.esm.js → chunk-HP5OTTKY.esm.js} +1 -1
- package/lib/chunks/{chunk-7ORNMDF3.esm.js → chunk-HUATVKQA.esm.js} +1 -1
- package/lib/chunks/{chunk-MFMJXXV6.esm.js → chunk-I46TFDIX.esm.js} +1 -1
- package/lib/chunks/chunk-IQ6MEZCJ.esm.js +1 -0
- package/lib/chunks/{chunk-YX33Y5T6.esm.js → chunk-KUNNAGZ3.esm.js} +1 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +1 -0
- package/lib/chunks/{chunk-I3LRFLFK.esm.js → chunk-MI7BQ4AV.esm.js} +1 -1
- package/lib/chunks/chunk-OHOMOBIV.esm.js +43 -0
- package/lib/chunks/chunk-PR2T746R.esm.js +1 -0
- package/lib/chunks/{chunk-RC453BIC.esm.js → chunk-PWFS4OYV.esm.js} +1 -1
- package/lib/chunks/{chunk-MJX6TZUR.esm.js → chunk-QHDAJQC7.esm.js} +1 -1
- package/lib/chunks/{chunk-IUNHMZ3V.esm.js → chunk-QNK4SZQ6.esm.js} +1 -1
- package/lib/chunks/{chunk-CWLQNJ2D.esm.js → chunk-QOO64QE4.esm.js} +1 -1
- package/lib/chunks/chunk-QXQC37K5.esm.js +1 -0
- package/lib/chunks/chunk-ROYW5FBA.esm.js +1 -0
- package/lib/chunks/chunk-T5YJT2PA.esm.js +35 -0
- package/lib/chunks/chunk-TD4RVB2L.esm.js +4 -0
- package/lib/chunks/chunk-UYYT7GH5.esm.js +1 -0
- package/lib/chunks/chunk-VAJGIZNP.esm.js +1 -0
- package/lib/chunks/{chunk-FYIBJA5Y.esm.js → chunk-VFA2NPNZ.esm.js} +1 -1
- package/lib/chunks/{chunk-7UYOO2PQ.esm.js → chunk-VHIU3G6O.esm.js} +1 -1
- package/lib/chunks/{chunk-WKQ3JIEG.esm.js → chunk-VHXSTTRG.esm.js} +1 -1
- package/lib/chunks/{chunk-KAPHZYMX.esm.js → chunk-VSLW7J54.esm.js} +1 -1
- package/lib/chunks/{chunk-ZP75XPKF.esm.js → chunk-WJL7X2E2.esm.js} +1 -1
- package/lib/chunks/{chunk-KMQUGDL3.esm.js → chunk-WS2NO23J.esm.js} +1 -1
- package/lib/chunks/{chunk-LC6CQDHG.esm.js → chunk-X3YSUW3W.esm.js} +1 -1
- package/lib/chunks/chunk-X5UHGM25.esm.js +1 -0
- package/lib/chunks/{chunk-UB6WSKGK.esm.js → chunk-XAVQOLJ6.esm.js} +1 -1
- package/lib/chunks/{chunk-75YRUKSI.esm.js → chunk-XJJDEXNW.esm.js} +1 -1
- package/lib/chunks/{chunk-AGTNBWPD.esm.js → chunk-XVEUJXSW.esm.js} +7 -7
- package/lib/chunks/chunk-YLRQW7VD.esm.js +1 -0
- package/lib/chunks/chunk-YRBM4WYM.esm.js +1 -0
- package/lib/chunks/chunk-ZPPJD46V.esm.js +1 -0
- package/lib/containers/Base/Base.interface.d.ts +7 -7
- package/lib/containers/Base/Base.style.d.ts +9 -8
- package/lib/containers/Base/index.d.ts +9 -9
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/Card.d.ts +8 -7
- package/lib/containers/Card/Card.interface.d.ts +16 -16
- package/lib/containers/Card/index.d.ts +5 -5
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/Content.d.ts +10 -10
- package/lib/containers/Content/Content.interface.d.ts +15 -15
- package/lib/containers/Content/index.d.ts +5 -5
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +10 -10
- package/lib/containers/Flex/Flex.style.d.ts +7 -6
- package/lib/containers/Flex/index.d.ts +8 -7
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +27 -26
- package/lib/containers/Grid/Grid.style.d.ts +10 -10
- package/lib/containers/Grid/index.d.ts +7 -7
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Motion/Motion.style.d.ts +37 -37
- package/lib/containers/Motion/index.d.ts +7 -6
- package/lib/containers/Motion/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.context.d.ts +17 -17
- package/lib/containers/Notification/Notification.d.ts +23 -23
- package/lib/containers/Notification/Notification.group.d.ts +9 -9
- package/lib/containers/Notification/Notification.interface.d.ts +39 -39
- package/lib/containers/Notification/Notification.style.d.ts +136 -136
- package/lib/containers/Notification/index.d.ts +9 -9
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +5 -5
- package/lib/containers/Paper/Paper.style.d.ts +8 -8
- package/lib/containers/Paper/index.d.ts +5 -5
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +12 -12
- package/lib/containers/Scroll/Scroll.helpers.d.ts +15 -14
- package/lib/containers/Scroll/Scroll.interface.d.ts +7 -11
- package/lib/containers/Scroll/Scroll.style.d.ts +13 -13
- package/lib/containers/Scroll/index.d.ts +5 -5
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.d.ts +8 -9
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +16 -15
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +62 -57
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +121 -133
- package/lib/dataDisplay/DataTable/DataTable.props.d.ts +11 -11
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +29 -29
- package/lib/dataDisplay/DataTable/index.d.ts +5 -5
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +17 -17
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +28 -28
- package/lib/dataDisplay/DescriptionList/index.d.ts +6 -6
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.d.ts +15 -15
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +36 -35
- package/lib/dataDisplay/Meter/Meter.style.d.ts +11 -11
- package/lib/dataDisplay/Meter/index.d.ts +4 -4
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +9 -9
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +32 -32
- package/lib/dataDisplay/Table/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table.context.d.ts +15 -15
- package/lib/dataDisplay/Table/Table.shared.d.ts +5 -5
- package/lib/dataDisplay/Table/TableBody/TableBody.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableBody/TableBody.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableBody/index.d.ts +5 -4
- package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableCell/TableCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.d.ts +4 -4
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +8 -8
- package/lib/dataDisplay/Table/TableEmpty/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/TableFooter.d.ts +5 -5
- package/lib/dataDisplay/Table/TableFooter/TableFooter.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableFooter/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeader/TableHeader.interface.d.ts +2 -2
- package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeader/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.interface.d.ts +3 -2
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/TablePagination.d.ts +7 -7
- package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +8 -8
- package/lib/dataDisplay/Table/TablePagination/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/TableRow.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.style.d.ts +4 -3
- package/lib/dataDisplay/Table/TableRow/index.d.ts +3 -3
- package/lib/dataDisplay/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.d.ts +21 -21
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +22 -22
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +9 -9
- package/lib/dataDisplay/Tabs/index.d.ts +5 -5
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.d.ts +7 -7
- package/lib/elements/Avatar/Avatar.helpers.d.ts +6 -6
- package/lib/elements/Avatar/Avatar.interface.d.ts +23 -12
- package/lib/elements/Avatar/Avatar.style.d.ts +26 -7
- package/lib/elements/Avatar/index.d.ts +4 -4
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.d.ts +12 -12
- package/lib/elements/Button/Button.interface.d.ts +39 -38
- package/lib/elements/Button/Button.style.d.ts +18 -15
- package/lib/elements/Button/index.d.ts +7 -7
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.d.ts +10 -10
- package/lib/elements/Calendar/Calendar.interface.d.ts +15 -16
- package/lib/elements/Calendar/Calendar.style.d.ts +11 -11
- package/lib/elements/Calendar/index.d.ts +6 -6
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +17 -16
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +26 -26
- package/lib/elements/Dropdown/index.d.ts +4 -4
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/Icon.d.ts +7 -7
- package/lib/elements/Icon/Icon.helpers.d.ts +10 -9
- package/lib/elements/Icon/Icon.interface.d.ts +25 -24
- package/lib/elements/Icon/Icon.style.d.ts +8 -8
- package/lib/elements/Icon/index.d.ts +5 -5
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.d.ts +8 -8
- package/lib/elements/IconButton/IconButton.interface.d.ts +17 -7
- package/lib/elements/IconButton/IconButton.style.d.ts +4 -4
- package/lib/elements/IconButton/index.d.ts +5 -5
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/Image/Image.d.ts +9 -9
- package/lib/elements/Image/Image.interface.d.ts +14 -13
- package/lib/elements/Image/Image.style.d.ts +4 -4
- package/lib/elements/Image/index.d.ts +4 -4
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/Label.d.ts +13 -12
- package/lib/elements/Label/Label.interface.d.ts +11 -15
- package/lib/elements/Label/Label.style.d.ts +7 -7
- package/lib/elements/Label/index.d.ts +4 -4
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.d.ts +31 -31
- package/lib/elements/Link/Link.interface.d.ts +31 -30
- package/lib/elements/Link/Link.style.d.ts +23 -22
- package/lib/elements/Link/index.d.ts +4 -4
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +9 -9
- package/lib/elements/List/List.interface.d.ts +25 -25
- package/lib/elements/List/List.style.d.ts +8 -9
- package/lib/elements/List/index.d.ts +3 -3
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.d.ts +22 -22
- package/lib/elements/Modal/Modal.interface.d.ts +41 -41
- package/lib/elements/Modal/Modal.style.d.ts +509 -510
- package/lib/elements/Modal/index.d.ts +4 -4
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.d.ts +8 -8
- package/lib/elements/Popover/Popover.interface.d.ts +11 -11
- package/lib/elements/Popover/index.d.ts +3 -3
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.d.ts +11 -11
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +9 -9
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +21 -22
- package/lib/elements/ProgressBar/index.d.ts +6 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.d.ts +6 -6
- package/lib/elements/Spinner/Spinner.interface.d.ts +11 -11
- package/lib/elements/Spinner/Spinner.style.d.ts +9 -8
- package/lib/elements/Spinner/index.d.ts +4 -4
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.d.ts +8 -8
- package/lib/elements/Svg/Svg.interface.d.ts +19 -20
- package/lib/elements/Svg/Svg.style.d.ts +17 -9
- package/lib/elements/Svg/index.d.ts +4 -4
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.d.ts +10 -10
- package/lib/elements/Text/Text.interface.d.ts +94 -90
- package/lib/elements/Text/Text.props.d.ts +35 -35
- package/lib/elements/Text/Text.style.d.ts +8 -8
- package/lib/elements/Text/index.d.ts +5 -5
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +8 -8
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +18 -19
- package/lib/elements/Tooltip/Tooltip.style.d.ts +14 -13
- package/lib/elements/Tooltip/index.d.ts +4 -4
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BackgroundFactory/BackgroundFactory.d.ts +10 -10
- package/lib/factory/BackgroundFactory/BackgroundFactory.interface.d.ts +18 -14
- package/lib/factory/BackgroundFactory/index.d.ts +4 -4
- package/lib/factory/BorderFactory/BorderFactory.d.ts +16 -16
- package/lib/factory/BorderFactory/BorderFactory.interface.d.ts +20 -20
- package/lib/factory/BorderFactory/index.d.ts +4 -4
- package/lib/factory/ColorFactory/ColorFactory.d.ts +16 -16
- package/lib/factory/ColorFactory/ColorFactory.interface.d.ts +21 -28
- package/lib/factory/ColorFactory/index.d.ts +3 -3
- package/lib/factory/ContainerFactory/ContainerFactory.d.ts +7 -7
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +27 -31
- package/lib/factory/ContainerFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/DeepFactory.d.ts +9 -9
- package/lib/factory/DeepFactory/DeepFactory.interface.d.ts +19 -19
- package/lib/factory/DeepFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +7 -7
- package/lib/factory/FlexFactory/FlexFactory.interface.d.ts +22 -22
- package/lib/factory/FlexFactory/index.d.ts +4 -4
- package/lib/factory/FontFactory/FontFactory.d.ts +6 -6
- package/lib/factory/FontFactory/FontFactory.interface.d.ts +19 -19
- package/lib/factory/FontFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +9 -9
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +15 -15
- package/lib/factory/ResponsiveFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/SizeFactory/SizeFactory.d.ts +7 -7
- package/lib/factory/SizeFactory/SizeFactory.interface.d.ts +9 -9
- package/lib/factory/SizeFactory/index.d.ts +2 -2
- package/lib/factory/SpacingFactory/SpacingFactory.d.ts +7 -6
- package/lib/factory/SpacingFactory/SpacingFactory.interface.d.ts +9 -9
- package/lib/factory/SpacingFactory/index.d.ts +3 -3
- package/lib/factory/System/System.d.ts +24 -14
- package/lib/factory/System/System.interface.d.ts +17 -17
- package/lib/factory/System/index.d.ts +3 -3
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.d.ts +8 -7
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +7 -7
- package/lib/form/Checkbox/Checkbox.interface.d.ts +9 -10
- package/lib/form/Checkbox/Checkbox.style.d.ts +12 -12
- package/lib/form/Checkbox/index.d.ts +3 -3
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +7 -7
- package/lib/form/Field/Field.interface.d.ts +6 -6
- package/lib/form/Field/Field.props.d.ts +5 -5
- package/lib/form/Field/Field.style.d.ts +3 -3
- package/lib/form/Field/index.d.ts +7 -6
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/FieldGroup.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.helpers.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.interface.d.ts +18 -18
- package/lib/form/FieldGroup/index.d.ts +3 -3
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.helpers.d.ts +26 -26
- package/lib/form/Form/Form.interface.d.ts +33 -33
- package/lib/form/Form/Form.style.d.ts +4 -4
- package/lib/form/Form/index.d.ts +4 -4
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.d.ts +7 -7
- package/lib/form/Input/Input.helpers.d.ts +8 -16
- package/lib/form/Input/Input.interface.d.ts +26 -26
- package/lib/form/Input/Input.style.d.ts +28 -28
- package/lib/form/Input/index.d.ts +5 -5
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.d.ts +7 -7
- package/lib/form/InputCurrency/InputCurrency.helpers.d.ts +13 -13
- package/lib/form/InputCurrency/InputCurrency.interface.d.ts +9 -8
- package/lib/form/InputCurrency/index.d.ts +5 -5
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +13 -13
- package/lib/form/InputDate/InputDate.interface.d.ts +26 -25
- package/lib/form/InputDate/buildSyntheticEvent.d.ts +18 -18
- package/lib/form/InputDate/index.d.ts +8 -7
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/InputMask.d.ts +9 -9
- package/lib/form/InputMask/InputMask.interface.d.ts +9 -9
- package/lib/form/InputMask/index.d.ts +4 -3
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +9 -9
- package/lib/form/InputRange/InputRange.helpers.d.ts +14 -14
- package/lib/form/InputRange/InputRange.style.d.ts +24 -23
- package/lib/form/InputRange/index.d.ts +4 -4
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/DropdownIndicator.d.ts +6 -6
- package/lib/form/InputSelect/InputSelect.helpers.d.ts +12 -11
- package/lib/form/InputSelect/InputSelect.style.d.ts +12 -39
- package/lib/form/InputSelect/index.d.ts +4 -4
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +7 -7
- package/lib/form/Radio/Radio.interface.d.ts +13 -14
- package/lib/form/Radio/Radio.style.d.ts +11 -11
- package/lib/form/Radio/index.d.ts +3 -3
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/Select.style.d.ts +1 -12
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +11 -11
- package/lib/form/Switch/Switch.interface.d.ts +16 -17
- package/lib/form/Switch/Switch.style.d.ts +12 -25
- package/lib/form/Switch/index.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.d.ts +9 -9
- package/lib/form/TextArea/TextArea.interface.d.ts +15 -15
- package/lib/form/TextArea/TextArea.style.d.ts +9 -9
- package/lib/form/TextArea/index.d.ts +3 -3
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.d.ts +14 -14
- package/lib/form/UploadCard/UploadCard.helpers.d.ts +15 -15
- package/lib/form/UploadCard/UploadCard.interface.d.ts +40 -39
- package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
- package/lib/form/UploadCard/index.d.ts +6 -6
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/UploadCard/useFileControl.d.ts +6 -6
- package/lib/form/UploadCard/useFileState.d.ts +6 -6
- package/lib/form/UploadCard/useObjectUrl.d.ts +5 -5
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/useClickOutside/index.d.ts +3 -3
- package/lib/hooks/useClickOutside/useClickOutside.d.ts +8 -8
- package/lib/hooks/useClipboard/index.d.ts +3 -3
- package/lib/hooks/useClipboard/useClipboard.d.ts +10 -10
- package/lib/hooks/useClipboard/useClipboard.helpers.d.ts +8 -9
- package/lib/hooks/useDrag/index.d.ts +5 -5
- package/lib/hooks/useDrag/useDrag.d.ts +6 -6
- package/lib/hooks/useDrag/useDrag.helpers.d.ts +9 -9
- package/lib/hooks/useDrag/useDrag.interface.d.ts +9 -9
- package/lib/hooks/useEventCallback/index.d.ts +4 -4
- package/lib/hooks/useEventCallback/useEventCallback.d.ts +12 -12
- package/lib/hooks/useFileDialog/index.d.ts +3 -3
- package/lib/hooks/useFileDialog/useFileDialog.d.ts +15 -15
- package/lib/hooks/useIntersect/index.d.ts +3 -3
- package/lib/hooks/useIntersect/useIntersect.d.ts +11 -11
- package/lib/hooks/useLazyEffect/index.d.ts +3 -3
- package/lib/hooks/useLazyEffect/useLazyEffect.d.ts +7 -7
- package/lib/hooks/useMediaQuery/index.d.ts +5 -5
- package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +7 -7
- package/lib/hooks/useMediaQuery/useMediaQuery.helpers.d.ts +8 -8
- package/lib/hooks/useMediaQuery/useMediaQuery.interface.d.ts +6 -6
- package/lib/hooks/useProgress/index.d.ts +3 -3
- package/lib/hooks/useProgress/useProgress.d.ts +13 -13
- package/lib/hooks/useScript/index.d.ts +3 -3
- package/lib/hooks/useScript/useScript.d.ts +7 -7
- package/lib/hooks/useToggle/index.d.ts +3 -3
- package/lib/hooks/useToggle/useToggle.d.ts +14 -14
- package/lib/hooks/useUnload/index.d.ts +3 -3
- package/lib/hooks/useUnload/useUnload.d.ts +10 -10
- package/lib/icons/icon.interface.d.ts +8 -7
- package/lib/icons/index.d.ts +6 -6
- package/lib/icons/set/alertInfo.d.ts +1 -1
- package/lib/icons/set/alignCenter.d.ts +1 -1
- package/lib/icons/set/alignJustify.d.ts +1 -1
- package/lib/icons/set/alignLeft.d.ts +1 -1
- package/lib/icons/set/alignRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleDown.d.ts +1 -1
- package/lib/icons/set/arrowCircleLeft.d.ts +1 -1
- package/lib/icons/set/arrowCircleRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleUp.d.ts +1 -1
- package/lib/icons/set/arrowLeft.d.ts +1 -1
- package/lib/icons/set/arrowRight.d.ts +1 -1
- package/lib/icons/set/attention.d.ts +1 -1
- package/lib/icons/set/ban.d.ts +1 -1
- package/lib/icons/set/calendar.d.ts +1 -1
- package/lib/icons/set/check.d.ts +1 -1
- package/lib/icons/set/chevronDown.d.ts +1 -1
- package/lib/icons/set/chevronLeft.d.ts +1 -1
- package/lib/icons/set/chevronRight.d.ts +1 -1
- package/lib/icons/set/chevronUp.d.ts +1 -1
- package/lib/icons/set/clock.d.ts +1 -1
- package/lib/icons/set/cog.d.ts +1 -1
- package/lib/icons/set/edit.d.ts +1 -1
- package/lib/icons/set/ellipsisH.d.ts +1 -1
- package/lib/icons/set/emojiAngry.d.ts +1 -1
- package/lib/icons/set/emojiBeamSweat.d.ts +1 -1
- package/lib/icons/set/emojiSadTear.d.ts +1 -1
- package/lib/icons/set/emojiSquintTear.d.ts +1 -1
- package/lib/icons/set/emojiStar.d.ts +1 -1
- package/lib/icons/set/emojiTired.d.ts +1 -1
- package/lib/icons/set/emojiTongue.d.ts +1 -1
- package/lib/icons/set/emojiTongueSquint.d.ts +1 -1
- package/lib/icons/set/envelope.d.ts +1 -1
- package/lib/icons/set/eye.d.ts +1 -1
- package/lib/icons/set/eyeSlash.d.ts +1 -1
- package/lib/icons/set/file.d.ts +1 -1
- package/lib/icons/set/filePdf.d.ts +1 -1
- package/lib/icons/set/menuBars.d.ts +1 -1
- package/lib/icons/set/minus.d.ts +1 -1
- package/lib/icons/set/pen.d.ts +1 -1
- package/lib/icons/set/phoneAlt.d.ts +1 -1
- package/lib/icons/set/phoneSlash.d.ts +1 -1
- package/lib/icons/set/picture.d.ts +1 -1
- package/lib/icons/set/pictures.d.ts +1 -1
- package/lib/icons/set/playCircle.d.ts +1 -1
- package/lib/icons/set/plus.d.ts +1 -1
- package/lib/icons/set/roundedAttention.d.ts +1 -1
- package/lib/icons/set/roundedCheck.d.ts +1 -1
- package/lib/icons/set/roundedInfo.d.ts +1 -1
- package/lib/icons/set/running.d.ts +1 -1
- package/lib/icons/set/search.d.ts +1 -1
- package/lib/icons/set/shareAlt.d.ts +1 -1
- package/lib/icons/set/shareSquare.d.ts +1 -1
- package/lib/icons/set/signIn.d.ts +1 -1
- package/lib/icons/set/signOut.d.ts +1 -1
- package/lib/icons/set/sort.d.ts +1 -1
- package/lib/icons/set/sortDown.d.ts +1 -1
- package/lib/icons/set/sortUp.d.ts +1 -1
- package/lib/icons/set/spinner.d.ts +1 -1
- package/lib/icons/set/thumbsDown.d.ts +1 -1
- package/lib/icons/set/thumbsUp.d.ts +1 -1
- package/lib/icons/set/times.d.ts +1 -1
- package/lib/icons/set/trash.d.ts +1 -1
- package/lib/icons/set/unlink.d.ts +1 -1
- package/lib/icons/set/upload.d.ts +1 -1
- package/lib/icons/set/user.d.ts +1 -1
- package/lib/icons/set/userAdd.d.ts +1 -1
- package/lib/icons/set/userBlock.d.ts +1 -1
- package/lib/icons/set/userCheck.d.ts +1 -1
- package/lib/icons/set/userConfig.d.ts +1 -1
- package/lib/icons/set/userDelete.d.ts +1 -1
- package/lib/icons/set/userEdit.d.ts +1 -1
- package/lib/icons/set/userInvalid.d.ts +1 -1
- package/lib/icons/set/userLocked.d.ts +1 -1
- package/lib/icons/set/users.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +6 -6
- package/lib/layouts/DefaultLayout/DefaultLayout.interface.d.ts +8 -9
- package/lib/layouts/DefaultLayout/DefaultLayout.props.d.ts +4 -4
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +5 -6
- package/lib/layouts/SideBarLayout/SideBarLayout.interface.d.ts +7 -7
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +5 -5
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +6 -5
- package/lib/layouts/SideBarLayout/index.d.ts +6 -6
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/CircleComponent.d.ts +3 -3
- package/lib/scenario/CircleComponent/CircleComponent.style.d.ts +4 -4
- package/lib/scenario/CircleComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/RectComponent.d.ts +3 -3
- package/lib/scenario/RectComponent/RectComponent.style.d.ts +3 -3
- package/lib/scenario/RectComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +12 -12
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +10 -10
- package/lib/skeleton/ComposedSkeleton/index.d.ts +7 -7
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +4 -4
- package/lib/skeleton/TextPreset/index.d.ts +4 -4
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Animation/Animation.interface.d.ts +9 -9
- package/lib/themes/Animation/Animation.props.d.ts +4 -5
- package/lib/themes/Animation/index.d.ts +4 -4
- package/lib/themes/Border/Border.interface.d.ts +26 -25
- package/lib/themes/Border/index.d.ts +4 -4
- package/lib/themes/Breakpoints/index.d.ts +3 -3
- package/lib/themes/Colors/Colors.helpers.d.ts +128 -129
- package/lib/themes/Colors/Colors.interface.d.ts +23 -23
- package/lib/themes/Colors/Colors.presets.d.ts +2 -2
- package/lib/themes/Colors/index.d.ts +3 -3
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.helpers.d.ts +24 -0
- package/lib/themes/Component/Component.interface.d.ts +93 -0
- package/lib/themes/Component/index.d.ts +18 -0
- package/lib/themes/Component/index.esm.js +1 -0
- package/lib/themes/Deep/index.d.ts +3 -3
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Depth/index.d.ts +3 -3
- package/lib/themes/Dimension/index.d.ts +4 -4
- package/lib/themes/Font/index.d.ts +3 -3
- package/lib/themes/Foundation/Foundation.helpers.d.ts +12 -12
- package/lib/themes/Foundation/Foundation.interface.d.ts +25 -26
- package/lib/themes/Foundation/index.d.ts +5 -5
- package/lib/themes/GlobalStyle/index.d.ts +1 -1
- package/lib/themes/Semantic/Semantic.helpers.d.ts +14 -14
- package/lib/themes/Semantic/Semantic.interface.d.ts +36 -36
- package/lib/themes/Semantic/index.d.ts +5 -5
- package/lib/themes/Spacing/index.d.ts +3 -3
- package/lib/themes/Surface/Surface.d.ts +15 -15
- package/lib/themes/Surface/Surface.helpers.d.ts +26 -25
- package/lib/themes/Surface/Surface.interface.d.ts +9 -9
- package/lib/themes/Surface/index.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +65 -41
- package/lib/themes/ThemeProvider/index.d.ts +7 -7
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/components/Breakpoints/Breakpoints.d.ts +12 -12
- package/lib/utils/components/Breakpoints/Breakpoints.interface.d.ts +8 -8
- package/lib/utils/components/Breakpoints/index.d.ts +3 -3
- package/lib/utils/components/index.d.ts +4 -4
- package/lib/utils/index.d.ts +4 -4
- package/lib/utils/logger.d.ts +4 -4
- package/lib/utils/mask.d.ts +12 -12
- package/lib/utils/object.d.ts +29 -27
- package/lib/utils/typeUtils.d.ts +18 -16
- package/lib/utils/utils.d.ts +31 -31
- package/lib/utils/window.d.ts +10 -10
- package/lib/vendors/Culori/component.d.ts +14 -14
- package/lib/vendors/Culori/engine.d.ts +40 -40
- package/lib/vendors/Culori/interface.d.ts +7 -7
- package/lib/vendors/Culori/named.d.ts +4 -4
- package/lib/vendors/DateFns/component.d.ts +16 -15
- package/lib/vendors/DateFns/interface.d.ts +6 -6
- package/lib/vendors/Deepmerge/component.d.ts +2 -2
- package/lib/vendors/Deepmerge/interface.d.ts +4 -4
- package/lib/vendors/EmotionIsPropValid/component.d.ts +3 -3
- package/lib/vendors/EmotionIsPropValid/interface.d.ts +3 -3
- package/lib/vendors/FastDeepEqual/component.d.ts +2 -2
- package/lib/vendors/FastDeepEqual/interface.d.ts +3 -3
- package/lib/vendors/FloatingUI/component.d.ts +18 -17
- package/lib/vendors/FloatingUI/interface.d.ts +10 -10
- package/lib/vendors/FramerMotion/component.d.ts +9 -9
- package/lib/vendors/FramerMotion/interface.d.ts +8 -7
- package/lib/vendors/LodashDebounce/component.d.ts +2 -2
- package/lib/vendors/LodashDebounce/interface.d.ts +2 -2
- package/lib/vendors/Nanoid/component.d.ts +5 -5
- package/lib/vendors/Nanoid/interface.d.ts +4 -4
- package/lib/vendors/ObjectHash/component.d.ts +2 -2
- package/lib/vendors/ObjectHash/interface.d.ts +2 -2
- package/lib/vendors/ReactContentLoader/component.d.ts +4 -4
- package/lib/vendors/ReactContentLoader/interface.d.ts +3 -3
- package/lib/vendors/ReactDayPicker/component.d.ts +7 -7
- package/lib/vendors/ReactDayPicker/interface.d.ts +11 -11
- package/lib/vendors/ReactHookForm/component.d.ts +14 -14
- package/lib/vendors/ReactHookForm/interface.d.ts +16 -16
- package/lib/vendors/ReactSelect/component.d.ts +6 -6
- package/lib/vendors/ReactSelect/interface.d.ts +24 -9
- package/lib/vendors/StyledComponents/component.d.ts +10 -10
- package/lib/vendors/StyledComponents/interface.d.ts +12 -12
- package/lib/vendors/StyledNormalize/component.d.ts +3 -3
- package/lib/vendors/StyledNormalize/interface.d.ts +3 -3
- package/lib/vendors/TanstackReactTable/component.d.ts +10 -10
- package/lib/vendors/TanstackReactTable/interface.d.ts +15 -15
- package/lib/vendors/TanstackReactVirtual/component.d.ts +8 -8
- package/lib/vendors/TanstackReactVirtual/interface.d.ts +6 -6
- package/lib/vendors/Zod/component.d.ts +3 -3
- package/package.json +7 -3
- package/lib/chunks/Notification.group-P24CKBGW.esm.js +0 -1
- package/lib/chunks/chunk-2JE2KM3Y.esm.js +0 -1
- package/lib/chunks/chunk-5RSKEPVX.esm.js +0 -1
- package/lib/chunks/chunk-7WWDUGCC.esm.js +0 -1
- package/lib/chunks/chunk-B64YEI67.esm.js +0 -1
- package/lib/chunks/chunk-FGI2BYTC.esm.js +0 -1
- package/lib/chunks/chunk-FJUISCKG.esm.js +0 -1
- package/lib/chunks/chunk-G4OCANJN.esm.js +0 -1
- package/lib/chunks/chunk-GQSXSPXG.esm.js +0 -34
- package/lib/chunks/chunk-JYROOJRO.esm.js +0 -1
- package/lib/chunks/chunk-KFJ6EF6N.esm.js +0 -1
- package/lib/chunks/chunk-LBSRV6OY.esm.js +0 -1
- package/lib/chunks/chunk-M53TQFQR.esm.js +0 -43
- package/lib/chunks/chunk-MGLZFOSB.esm.js +0 -1
- package/lib/chunks/chunk-NO4SD45Y.esm.js +0 -1
- package/lib/chunks/chunk-OPAH7JBD.esm.js +0 -43
- package/lib/chunks/chunk-PAITPPEW.esm.js +0 -4
- package/lib/chunks/chunk-Q6EGG64M.esm.js +0 -1
- package/lib/chunks/chunk-QZNDN3FN.esm.js +0 -1
- package/lib/chunks/chunk-RTTQGZN4.esm.js +0 -1
- package/lib/chunks/chunk-UE2MT6VF.esm.js +0 -1
- package/lib/chunks/chunk-VRM5U7D2.esm.js +0 -1
- package/lib/chunks/chunk-YHJ77TR7.esm.js +0 -1
- /package/lib/chunks/{chunk-QF2YUOVX.esm.js → chunk-KL3ATH64.esm.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `FlexFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* Re-exports the factory (`FlexFactory`), `flexKeys`, and the main prop
|
|
5
|
+
* types. Other auxiliary tokens (e.g. `FlexDirection`) remain internal —
|
|
6
|
+
* export them here if they start being used elsewhere.
|
|
7
7
|
*/
|
|
8
8
|
export * from './FlexFactory';
|
|
9
9
|
export type { FlexThemeProps, FlexFactoryProps } from './FlexFactory.interface';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { FontFactoryProps, FontThemePropsType } from './FontFactory.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by `FontFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Consumed by the `System` to prevent these props from leaking to the DOM.
|
|
7
7
|
*/
|
|
8
8
|
export declare const fontKeys: Array<keyof FontFactoryProps>;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Typographic style factory.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Resolves each token through the corresponding `theme.font.*` slice — this
|
|
13
|
+
* lets components reference "semantic sizes" (e.g. `sm`, `md`, `xl`) instead
|
|
14
|
+
* of literal px/rem values.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { FontThemeInterface } from '../../themes/Font';
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Word-breaking strategies.
|
|
5
5
|
*
|
|
6
|
-
* - `normal`:
|
|
7
|
-
* - `words`:
|
|
8
|
-
* - `all`:
|
|
6
|
+
* - `normal`: the browser's default behavior.
|
|
7
|
+
* - `words`: breaks between words (overflow-wrap: break-word).
|
|
8
|
+
* - `all`: breaks inside words if necessary (word-break: break-all).
|
|
9
9
|
*/
|
|
10
10
|
export type WordBreakType = 'normal' | 'words' | 'all';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Legibility presets over non-solid backgrounds.
|
|
13
13
|
*
|
|
14
|
-
* - `on-photo`:
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* (
|
|
14
|
+
* - `on-photo`: reading shadow for text over a photographic or illustrated
|
|
15
|
+
* background (a name over grass, a caption over an image). Closed preset —
|
|
16
|
+
* not a free-form `textShadow` — to keep the set under visual control
|
|
17
|
+
* (same philosophy as ColorFactory's semantic `opacity`).
|
|
18
18
|
*/
|
|
19
19
|
export type LegibilityType = 'on-photo';
|
|
20
20
|
/**
|
|
21
|
-
* Props
|
|
21
|
+
* Props consumed by `FontFactory`.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
* lineHeight, fontStyle, textTransform)
|
|
25
|
-
*
|
|
23
|
+
* The tokenized keys (fontSize, fontWeight, fontFamily, letterSpacing,
|
|
24
|
+
* lineHeight, fontStyle, textTransform) reference the `theme.font` slice —
|
|
25
|
+
* i.e. they are keys of each theme sub-object (not free-form CSS values).
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
27
|
+
* The remaining keys (`textAlign`, `textDecoration`, `whiteSpace`,
|
|
28
|
+
* `wordBreak`) are direct CSS, staying low-level where tokenization brings no gain.
|
|
29
29
|
*/
|
|
30
30
|
export type FontFactoryProps = Partial<{
|
|
31
31
|
[K in keyof Omit<FontThemeInterface, 'fontSizePx'>]: keyof FontThemeInterface[K];
|
|
@@ -35,10 +35,10 @@ export type FontFactoryProps = Partial<{
|
|
|
35
35
|
whiteSpace: 'normal' | 'pre' | 'nowrap' | 'pre-wrap' | 'pre-line' | 'break-spaces';
|
|
36
36
|
wordBreak: WordBreakType;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
* (`on-photo`).
|
|
40
|
-
* (radar
|
|
41
|
-
*
|
|
38
|
+
* Reading-shadow preset for text over a photographic background
|
|
39
|
+
* (`on-photo`). Replaces the inline `style={{ textShadow }}` in the
|
|
40
|
+
* consumer (brasil_2030 radar, gap A3). Token emission is deferred until a
|
|
41
|
+
* 2nd consumer asks for the raw var (see backlog).
|
|
42
42
|
*/
|
|
43
43
|
legibility: LegibilityType;
|
|
44
44
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `FontFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* (`FontFactoryProps`, `WordBreakType`).
|
|
4
|
+
* Re-exports the factory (`FontFactory`), `fontKeys`, and the auxiliary
|
|
5
|
+
* types (`FontFactoryProps`, `WordBreakType`).
|
|
6
6
|
*/
|
|
7
7
|
export * from './FontFactory';
|
|
8
8
|
export * from './FontFactory.interface';
|
|
@@ -2,20 +2,20 @@ import { ResponsiveProps } from './ResponsiveFactory.interface';
|
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* `lg_*`, `xl_*`)
|
|
5
|
+
* Factory that materializes breakpoint-prefixed props (`sm_*`, `md_*`,
|
|
6
|
+
* `lg_*`, `xl_*`) into `@media (min-width: ...)` media queries.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
* 1.
|
|
10
|
-
* 2.
|
|
11
|
-
* 3.
|
|
12
|
-
* 4.
|
|
13
|
-
*
|
|
8
|
+
* Algorithm:
|
|
9
|
+
* 1. Bails early when `ignoreResponsive` is on.
|
|
10
|
+
* 2. Partitions the props into `mediaProps[breakpoint]`, grouping by prefix.
|
|
11
|
+
* 3. When `enableBreakpoint` is provided, merges that group into the base style.
|
|
12
|
+
* 4. For each breakpoint, generates a media query with `theme.breakpoints.up(bp)`
|
|
13
|
+
* and applies the factory set via `getStyles`.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```tsx
|
|
17
17
|
* <Box padding="sm" sm_padding="md" lg_padding="xl">
|
|
18
|
-
* Padding
|
|
18
|
+
* Padding grows with the viewport size.
|
|
19
19
|
* </Box>
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
@@ -9,34 +9,34 @@ import { FontFactoryProps } from '../FontFactory';
|
|
|
9
9
|
import { SizeFactoryProps } from '../SizeFactory';
|
|
10
10
|
import { SpacingFactoryProps } from '../SpacingFactory';
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Utility that produces the "responsive" version of any prop set.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* For each key `K` of type `T`, it emits four new keys prefixed with the
|
|
15
|
+
* breakpoint: `sm_K`, `md_K`, `lg_K`, `xl_K`. This allows writing, for
|
|
16
|
+
* example, `sm_padding="md"` on a component to apply `padding` only on
|
|
17
|
+
* screens from the `sm` breakpoint up.
|
|
18
18
|
*/
|
|
19
19
|
export type Responsive<T = Record<string, any>> = {
|
|
20
20
|
[K in keyof T as `sm_${string & K}` | `md_${string & K}` | `lg_${string & K}` | `xl_${string & K}`]: T[K];
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Aggregated set of the responsive props supported by Apollion.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
26
|
-
* Background, Color, Container, Deep, Font, Size, Spacing).
|
|
27
|
-
*
|
|
28
|
-
*
|
|
25
|
+
* Combines the `sm_/md_/lg_/xl_` variants of every factory (Flex, Border,
|
|
26
|
+
* Background, Color, Container, Deep, Font, Size, Spacing). It is the way to
|
|
27
|
+
* extend any styled component with breakpoint support without declaring each
|
|
28
|
+
* combination manually.
|
|
29
29
|
*/
|
|
30
30
|
export interface ResponsiveProps extends Responsive<FlexFactoryProps>, Responsive<BorderFactoryProps>, Responsive<BackgroundFactoryProps>, Responsive<ColorFactoryProps>, Responsive<ContainerFactoryProps>, Responsive<DeepFactoryProps>, Responsive<FontFactoryProps>, Responsive<SizeFactoryProps>, Responsive<SpacingFactoryProps> {
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
32
|
+
* When `true`, fully disables the responsive factory (useful in tests or
|
|
33
|
+
* in components that want to show a single fixed snapshot).
|
|
34
34
|
*/
|
|
35
35
|
ignoreResponsive?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
37
|
+
* Forces a prop set to apply as if the given breakpoint were active,
|
|
38
|
+
* regardless of the actual viewport size. Useful for stories/storyshots or
|
|
39
|
+
* controlled previews.
|
|
40
40
|
*/
|
|
41
41
|
enableBreakpoint?: BreakpointTypes;
|
|
42
42
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `ResponsiveFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* `Responsive<T
|
|
4
|
+
* Re-exports the factory (`ResponsiveFactory`) and the `ResponsiveProps` /
|
|
5
|
+
* `Responsive<T>` types. External imports should enter through here.
|
|
6
6
|
*/
|
|
7
7
|
export * from './ResponsiveFactory';
|
|
8
8
|
export * from './ResponsiveFactory.interface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-MBYC37CX.esm.js";import"../../chunks/chunk-NI6YLGUA.esm.js";import"../../chunks/chunk-OZIEVLUR.esm.js";import"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-MBYC37CX.esm.js";import"../../chunks/chunk-NI6YLGUA.esm.js";import"../../chunks/chunk-OZIEVLUR.esm.js";import"../../chunks/chunk-3RNWYCCU.esm.js";import"../../chunks/chunk-RZDVS7AY.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-A6Z2M2XU.esm.js";import"../../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{a as ResponsiveFactory};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { SizeFactoryProps } from './SizeFactory.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by the `SizeFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Consumed by the `System` to prevent these props from leaking to the DOM.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* Although `SizeThemeProps` exists, this factory does not access the theme —
|
|
9
|
+
* which is why the callback accepts an empty object as default.
|
|
10
10
|
*/
|
|
11
11
|
export declare const sizeKeys: Array<keyof SizeFactoryProps>;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Dimension style factory (`width`/`height` + min/max).
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Simply merges `customProps` with `contextProps` and returns them as a
|
|
16
|
+
* CSSObject — no tokenization. It is the simplest factory of the set.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
2
2
|
/**
|
|
3
|
-
* Props
|
|
3
|
+
* Props consumed by the `SizeFactory`.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Deals only with "pure" (non-tokenized) dimensions — any valid CSS string
|
|
6
|
+
* (`'100%'`, `'24rem'`, `'fit-content'`) or number (interpreted as pixels by
|
|
7
|
+
* styled-components).
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Tokenization (e.g. `xl`, `xxl`) is the `SpacingFactory`'s responsibility
|
|
10
|
+
* for margins/paddings, not this factory's.
|
|
11
11
|
*/
|
|
12
12
|
export interface SizeFactoryProps {
|
|
13
13
|
width?: string | number;
|
|
@@ -18,9 +18,9 @@ export interface SizeFactoryProps {
|
|
|
18
18
|
minHeight?: string | number;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Variant of `SizeFactoryProps` with `theme` injected by the `ThemeProvider`.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* Although the `SizeFactory` does not use the theme directly, this alias is
|
|
24
|
+
* kept for consistency with the other factories.
|
|
25
25
|
*/
|
|
26
26
|
export type SizeThemeProps = WithTheme<SizeFactoryProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `SizeFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Re-exports the factory (`SizeFactory`), `sizeKeys`, and the `SizeFactoryProps` type.
|
|
5
5
|
*/
|
|
6
6
|
export * from './SizeFactory';
|
|
7
7
|
export * from './SizeFactory.interface';
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { SpacingFactoryProps, SpacingKeysTypes, SpacingThemeProps } from './SpacingFactory.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Prop keys controlled by the `SpacingFactory`.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
6
|
+
* Consumed by the `System` to prevent these props from leaking to the DOM.
|
|
7
7
|
*/
|
|
8
8
|
export declare const spacingKeys: SpacingKeysTypes[];
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Factory for tokenized margins and paddings.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* Iterates over the received props, validates that they belong to
|
|
13
|
+
* `spacingKeys`, resolves the value through `theme.spacing()` and
|
|
14
|
+
* materializes it into one or two CSS properties (one for directional keys,
|
|
15
|
+
* two for `x`/`y`).
|
|
15
16
|
*
|
|
16
17
|
* @example
|
|
17
18
|
* ```tsx
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { SpacingInterface } from '../../themes/Spacing';
|
|
2
2
|
import { WithTheme } from '../../themes/ThemeProvider';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Canonical set of spacing shorthands accepted by Apollion.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* (`m` margin / `p` padding)
|
|
8
|
-
* -
|
|
6
|
+
* Inspired by utility-first frameworks: the first letter indicates the type
|
|
7
|
+
* (`m` margin / `p` padding) and the second indicates the side:
|
|
8
|
+
* - no letter → all sides.
|
|
9
9
|
* - `t/r/b/l` → top/right/bottom/left.
|
|
10
10
|
* - `x` → left + right.
|
|
11
11
|
* - `y` → top + bottom.
|
|
12
12
|
*/
|
|
13
13
|
export type SpacingKeysTypes = 'm' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my' | 'p' | 'pt' | 'pr' | 'pb' | 'pl' | 'px' | 'py';
|
|
14
14
|
/**
|
|
15
|
-
* Props
|
|
15
|
+
* Props consumed by `SpacingFactory`.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* (`xs`, `sm`, `md`, ...).
|
|
19
|
-
*
|
|
17
|
+
* Each key accepts a token from the `SpacingInterface` scale defined by the
|
|
18
|
+
* theme (`xs`, `sm`, `md`, ...). Keeping tokens (rather than free
|
|
19
|
+
* numbers/strings) ensures consistent visual rhythm across components.
|
|
20
20
|
*/
|
|
21
21
|
export type SpacingFactoryProps = Partial<Record<SpacingKeysTypes, SpacingInterface>>;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Variant of `SpacingFactoryProps` with `theme` injected by `ThemeProvider`.
|
|
24
24
|
*/
|
|
25
25
|
export type SpacingThemeProps = WithTheme<SpacingFactoryProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `SpacingFactory` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* `SpacingFactoryProps` / `SpacingKeysTypes
|
|
4
|
+
* Re-exports the factory (`SpacingFactory`), `spacingKeys`, and the
|
|
5
|
+
* `SpacingFactoryProps` / `SpacingKeysTypes` types.
|
|
6
6
|
*/
|
|
7
7
|
export * from './SpacingFactory';
|
|
8
8
|
export * from './SpacingFactory.interface';
|
|
@@ -1,30 +1,40 @@
|
|
|
1
1
|
import { Apollion, Styled } from './System.interface';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Predicate used by `withConfig({ shouldForwardProp })`.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* Blocks both Apollion custom props and any prop that is not a known HTML
|
|
6
|
+
* attribute (`isPropValid` covers React's catalog). This avoids "unknown
|
|
7
|
+
* prop on DOM element"-style warnings in development.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* Exported as the base for `shouldForwardDimensionAttrs`, used by elements
|
|
10
|
+
* that need to reintroduce `width`/`height` into the DOM.
|
|
11
11
|
*/
|
|
12
12
|
export declare const shouldForwardProp: (prop: string) => boolean;
|
|
13
13
|
export declare const shouldForwardDimensionAttrs: (prop: string) => boolean;
|
|
14
14
|
/**
|
|
15
|
-
* Wrapper
|
|
15
|
+
* Wrapper over `styled-components` pre-configured with `shouldForwardProp`.
|
|
16
16
|
*
|
|
17
|
-
* Use
|
|
18
|
-
*
|
|
19
|
-
*
|
|
17
|
+
* Use this `styled` instead of the one imported directly from
|
|
18
|
+
* `styled-components` in any Apollion component — custom props (variants,
|
|
19
|
+
* factories) stay isolated from the DOM without per-component configuration.
|
|
20
|
+
*
|
|
21
|
+
* SSR note: components built through this wrapper must pin an explicit
|
|
22
|
+
* `componentId` (`.withConfig({ componentId: 'apollion-<name>' })`).
|
|
23
|
+
* `babel-plugin-styled-components` (run at build time, see
|
|
24
|
+
* `esbuild-styled-components.js`, ADR-017) does not reliably bake an id for this
|
|
25
|
+
* factory binding — it is aliased/mixed with the vendor `styled` across files —
|
|
26
|
+
* so without an explicit id styled-components falls back to its process-global
|
|
27
|
+
* counter, which diverges between a consumer's SSR and client bundles and breaks
|
|
28
|
+
* hydration. Direct `vendors/StyledComponents` imports are baked by the plugin
|
|
29
|
+
* and need no manual id.
|
|
20
30
|
*/
|
|
21
31
|
export declare const styled: Styled;
|
|
22
32
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
33
|
+
* Pre-styled shortcut object — equivalent to `styled.div`, `styled.a`, ...
|
|
34
|
+
* but with all Apollion factories already applied.
|
|
25
35
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
36
|
+
* Adding or removing factories in `buildElement` changes the prop set
|
|
37
|
+
* available on every `apollion.*` element.
|
|
28
38
|
*
|
|
29
39
|
* @example
|
|
30
40
|
* ```tsx
|
|
@@ -11,38 +11,38 @@ import { ResponsiveProps } from '../ResponsiveFactory';
|
|
|
11
11
|
import { SizeFactoryProps } from '../SizeFactory';
|
|
12
12
|
import { SpacingFactoryProps } from '../SpacingFactory';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Base element accepted by `styled(...)`.
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* Can be an intrinsic HTML tag (string-key of `JSX.IntrinsicElements`) or
|
|
17
|
+
* any React component — enables chaining `styled(Component)` for
|
|
18
|
+
* extensions.
|
|
19
19
|
*/
|
|
20
20
|
export type StyledComponent = React.JSX.IntrinsicElements | React.ComponentType<any>;
|
|
21
21
|
export type { Styled };
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Aggregate type of ALL props accepted by `apollion.*` elements.
|
|
24
24
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
25
|
+
* This is the "baseline" used by components that rely on Apollion's styled
|
|
26
|
+
* system (`apollion.div`, `Base`, `Text`, etc.) — they extend this type
|
|
27
|
+
* to expose the full set of visual tokens and responsive variants without
|
|
28
|
+
* having to redeclare each key.
|
|
29
29
|
*/
|
|
30
30
|
export interface ApollionProps extends SpacingFactoryProps, SizeFactoryProps, ContainerFactoryProps, FontFactoryProps, ColorFactoryProps, BorderFactoryProps, DeepFactoryProps, BackgroundFactoryProps, FlexFactoryProps, ResponsiveProps {
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Set of HTML tags exposed as shortcuts by the `apollion` object.
|
|
34
34
|
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* `styled('tagname')`
|
|
35
|
+
* Intentionally short list — favors the elements with the most-used
|
|
36
|
+
* semantics in the design system. Other elements can be obtained via
|
|
37
|
+
* `styled('tagname')` directly.
|
|
38
38
|
*/
|
|
39
39
|
export type ApollionElements = 'a' | 'div' | 'input' | 'span' | 'button';
|
|
40
40
|
/**
|
|
41
|
-
* Shape
|
|
41
|
+
* Shape of the `apollion` object exported by this module.
|
|
42
42
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* Each key (`a`, `div`, ...) is a styled-components component typed to
|
|
44
|
+
* accept both the element's native HTML attributes and the aggregate
|
|
45
|
+
* `ApollionProps` set.
|
|
46
46
|
*/
|
|
47
47
|
export type Apollion = {
|
|
48
48
|
[E in ApollionElements]: IStyledComponent<'web', React.JSX.IntrinsicElements[E] & ApollionProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for the `System` module.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Re-exports the `apollion` object, the pre-configured `styled`, and the
|
|
5
|
+
* aggregate types (`ApollionProps`, `ApollionElements`, `Apollion`,
|
|
6
6
|
* `StyledComponent`).
|
|
7
7
|
*/
|
|
8
8
|
export * from './System';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"../../chunks/chunk-
|
|
1
|
+
import{a,b,c,d}from"../../chunks/chunk-LATE6DIA.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-MBYC37CX.esm.js";import"../../chunks/chunk-NI6YLGUA.esm.js";import"../../chunks/chunk-OZIEVLUR.esm.js";import"../../chunks/chunk-3RNWYCCU.esm.js";import"../../chunks/chunk-RZDVS7AY.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-A6Z2M2XU.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../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-APD22JEO.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{d as apollion,b as shouldForwardDimensionAttrs,a as shouldForwardProp,c as styled};
|
package/lib/factory/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel for Apollion's set of Style Factories.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* Font, Size, Spacing) +
|
|
7
|
-
* `System`,
|
|
4
|
+
* Gathers all the factories that transform custom props into CSS — one per
|
|
5
|
+
* visual dimension (Background, Border, Color, Container, Deep, Flex,
|
|
6
|
+
* Font, Size, Spacing) + the breakpoints factory (`ResponsiveFactory`) and
|
|
7
|
+
* the `System`, which assembles the `apollion.*` object and the
|
|
8
|
+
* pre-configured `styled`.
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
10
|
+
* External imports must come through this barrel — never through internal
|
|
11
|
+
* paths (`./BackgroundFactory/BackgroundFactory`).
|
|
11
12
|
*/
|
|
12
13
|
export * from './BackgroundFactory';
|
|
13
14
|
export * from './BorderFactory';
|
package/lib/factory/index.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/chunk-5OKRFXLL.esm.js";import{a as v,b as w,c as x,d as y}from"../chunks/chunk-
|
|
1
|
+
import"../chunks/chunk-5OKRFXLL.esm.js";import{a as v,b as w,c as x,d as y}from"../chunks/chunk-LATE6DIA.esm.js";import"../chunks/chunk-VMIXRIQ2.esm.js";import{a as u}from"../chunks/chunk-MBYC37CX.esm.js";import{a as i,b as j}from"../chunks/chunk-NI6YLGUA.esm.js";import{a as k,b as l}from"../chunks/chunk-OZIEVLUR.esm.js";import"../chunks/chunk-3RNWYCCU.esm.js";import{a as o,b as p}from"../chunks/chunk-RZDVS7AY.esm.js";import{a as m,b as n}from"../chunks/chunk-IK5Z5C2R.esm.js";import{a as q,b as r}from"../chunks/chunk-BNB3KNKE.esm.js";import{a as s,b as t}from"../chunks/chunk-OXQA5WD3.esm.js";import{a,b}from"../chunks/chunk-A6Z2M2XU.esm.js";import{a as c,b as d,c as e,d as f}from"../chunks/chunk-RWLJNXLX.esm.js";import{a as g,b as h}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-APD22JEO.esm.js";import"../chunks/chunk-GZONWSRB.esm.js";export{b as BackgroundFactory,f as BorderFactory,d as BorderRoundSemantic,e as BorderSemantic,h as ColorFactory,j as ContainerFactory,l as DeepFactory,p as FlexFactory,n as FontFactory,u as ResponsiveFactory,r as SizeFactory,t as SpacingFactory,y as apollion,a as backgroundKeys,c as borderKeys,g as colorKeys,i as containerKeys,k as deepKeys,o as flexKeys,m as fontKeys,w as shouldForwardDimensionAttrs,v as shouldForwardProp,q as sizeKeys,s as spacingKeys,x as styled};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CheckboxInterface } from './Checkbox.interface';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Apollion's selection box (checkbox).
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* Renders a native (invisible) `<input type="checkbox">` over a styled
|
|
7
|
+
* square with a check icon. The wrapping `<label>` guarantees that clicking
|
|
8
|
+
* the text also toggles the state.
|
|
9
9
|
*
|
|
10
|
-
* Use
|
|
11
|
-
*
|
|
10
|
+
* Use in forms where the user can select multiple values independently
|
|
11
|
+
* (unlike `Radio`, which is exclusive).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```tsx
|
|
@@ -17,7 +17,7 @@ import { CheckboxInterface } from './Checkbox.interface';
|
|
|
17
17
|
* <Checkbox name="locked" label="Bloqueado" disabled />
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
|
-
* @see {@link CheckboxInterface}
|
|
20
|
+
* @see {@link CheckboxInterface} for the detailed props.
|
|
21
21
|
*/
|
|
22
22
|
export declare const CheckboxComponent: {
|
|
23
23
|
({ label, labelProps, variant, ...rest }: CheckboxInterface): React.JSX.Element;
|