@apollion-dsi/core 5.3.0 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -66
- package/lib/chunks/Notification.group-ICBTCHGB.esm.js +1 -0
- package/lib/chunks/chunk-2CW4G3UR.esm.js +1 -0
- package/lib/chunks/chunk-2WED4EVR.esm.js +43 -0
- package/lib/chunks/chunk-34QOWBI6.esm.js +1 -0
- package/lib/chunks/chunk-3RNWYCCU.esm.js +1 -0
- package/lib/chunks/{chunk-OXFE7XFH.esm.js → chunk-452VAAGY.esm.js} +1 -1
- package/lib/chunks/{chunk-75YRUKSI.esm.js → chunk-4BMWIGG4.esm.js} +1 -1
- package/lib/chunks/{chunk-PLYS2FYI.esm.js → chunk-4V7LOS5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-RC453BIC.esm.js → chunk-4VEUQE23.esm.js} +1 -1
- package/lib/chunks/{chunk-I3LRFLFK.esm.js → chunk-5MWVBWXW.esm.js} +1 -1
- package/lib/chunks/{chunk-LC6CQDHG.esm.js → chunk-5NE62M4R.esm.js} +1 -1
- package/lib/chunks/{chunk-JN5ZNWJR.esm.js → chunk-5SQH2W2J.esm.js} +1 -1
- package/lib/chunks/chunk-6OXVRDS2.esm.js +1 -0
- package/lib/chunks/{chunk-IGHPN2OO.esm.js → chunk-73MPQ5OY.esm.js} +1 -1
- package/lib/chunks/chunk-7EGX7BMB.esm.js +1 -0
- package/lib/chunks/{chunk-NAPV2J5W.esm.js → chunk-AYZYOY57.esm.js} +1 -1
- package/lib/chunks/{chunk-YJ4ZRQMI.esm.js → chunk-BC24WDTC.esm.js} +1 -1
- package/lib/chunks/{chunk-2IZ35FTI.esm.js → chunk-BMGVQBTB.esm.js} +1 -1
- package/lib/chunks/{chunk-KDIEROKH.esm.js → chunk-BVKAXW2H.esm.js} +1 -1
- package/lib/chunks/{chunk-QTWYG4PZ.esm.js → chunk-CLDPV7NK.esm.js} +1 -1
- package/lib/chunks/chunk-CQK4PCNH.esm.js +1 -0
- package/lib/chunks/chunk-CZAUFZ45.esm.js +1 -0
- package/lib/chunks/chunk-CZJF4EVQ.esm.js +1 -0
- package/lib/chunks/{chunk-FYIBJA5Y.esm.js → chunk-D2T4FF27.esm.js} +1 -1
- package/lib/chunks/chunk-DLVRDZRA.esm.js +35 -0
- package/lib/chunks/{chunk-LAO57LJC.esm.js → chunk-EJ3VKFOX.esm.js} +1 -1
- package/lib/chunks/{chunk-5VB6YPWU.esm.js → chunk-FPUV6SIF.esm.js} +4 -4
- package/lib/chunks/chunk-G4IUG32B.esm.js +1 -0
- package/lib/chunks/{chunk-KAPHZYMX.esm.js → chunk-HMITYQV5.esm.js} +1 -1
- package/lib/chunks/{chunk-UB6WSKGK.esm.js → chunk-HRMJR6TD.esm.js} +1 -1
- package/lib/chunks/{chunk-MFMJXXV6.esm.js → chunk-I46TFDIX.esm.js} +1 -1
- package/lib/chunks/{chunk-KMQUGDL3.esm.js → chunk-IE4YNQFD.esm.js} +1 -1
- package/lib/chunks/{chunk-WXIAPOTW.esm.js → chunk-K2BKOGDX.esm.js} +1 -1
- package/lib/chunks/chunk-KASRN4X5.esm.js +1 -0
- package/lib/chunks/chunk-KHEBUAB4.esm.js +1 -0
- package/lib/chunks/{chunk-6C3PW2PK.esm.js → chunk-KYIPVR2T.esm.js} +1 -1
- package/lib/chunks/chunk-LATE6DIA.esm.js +1 -0
- package/lib/chunks/{chunk-52WIL6WF.esm.js → chunk-LTTG3NIJ.esm.js} +1 -1
- package/lib/chunks/{chunk-JSCUCQSD.esm.js → chunk-M32CTX5Z.esm.js} +1 -1
- package/lib/chunks/{chunk-7UYOO2PQ.esm.js → chunk-M33BYGAO.esm.js} +1 -1
- package/lib/chunks/{chunk-YX33Y5T6.esm.js → chunk-MJUAYHOW.esm.js} +1 -1
- package/lib/chunks/{chunk-BIBJ6JAY.esm.js → chunk-MLIU6MRT.esm.js} +1 -1
- package/lib/chunks/{chunk-SPWQRX4O.esm.js → chunk-MS7WJXDX.esm.js} +1 -1
- package/lib/chunks/chunk-NYDXZB2D.esm.js +1 -0
- package/lib/chunks/chunk-OHOMOBIV.esm.js +43 -0
- package/lib/chunks/chunk-OUHMU5PP.esm.js +1 -0
- package/lib/chunks/chunk-P5PWDVWO.esm.js +1 -0
- package/lib/chunks/chunk-PXCCSJNT.esm.js +1 -0
- package/lib/chunks/chunk-ROSLCQXL.esm.js +1 -0
- package/lib/chunks/{chunk-IUNHMZ3V.esm.js → chunk-RUKCBNDS.esm.js} +1 -1
- package/lib/chunks/chunk-TD4RVB2L.esm.js +4 -0
- package/lib/chunks/{chunk-ZP75XPKF.esm.js → chunk-TISQZ6PQ.esm.js} +1 -1
- package/lib/chunks/{chunk-7ORNMDF3.esm.js → chunk-UHMYTFMU.esm.js} +1 -1
- package/lib/chunks/chunk-VAJGIZNP.esm.js +1 -0
- package/lib/chunks/{chunk-WKQ3JIEG.esm.js → chunk-VHXSTTRG.esm.js} +1 -1
- package/lib/chunks/{chunk-46YVAYDW.esm.js → chunk-WNCECFZT.esm.js} +1 -1
- package/lib/chunks/chunk-WU5LSQM6.esm.js +1 -0
- package/lib/chunks/{chunk-MJX6TZUR.esm.js → chunk-XGE6OOEJ.esm.js} +1 -1
- package/lib/chunks/{chunk-RE3I3OYH.esm.js → chunk-YKIFYIC5.esm.js} +1 -1
- package/lib/chunks/chunk-YRBM4WYM.esm.js +1 -0
- package/lib/chunks/chunk-ZZFLBPSO.esm.js +39 -0
- package/lib/containers/Base/Base.interface.d.ts +7 -7
- package/lib/containers/Base/Base.style.d.ts +9 -8
- package/lib/containers/Base/index.d.ts +9 -9
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Card/Card.d.ts +8 -7
- package/lib/containers/Card/Card.interface.d.ts +16 -16
- package/lib/containers/Card/index.d.ts +5 -5
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/Content.d.ts +10 -10
- package/lib/containers/Content/Content.interface.d.ts +15 -15
- package/lib/containers/Content/index.d.ts +5 -5
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +10 -10
- package/lib/containers/Flex/Flex.style.d.ts +7 -6
- package/lib/containers/Flex/index.d.ts +8 -7
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +27 -26
- package/lib/containers/Grid/Grid.style.d.ts +10 -10
- package/lib/containers/Grid/index.d.ts +7 -7
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Motion/Motion.style.d.ts +37 -37
- package/lib/containers/Motion/index.d.ts +7 -6
- package/lib/containers/Motion/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.context.d.ts +17 -17
- package/lib/containers/Notification/Notification.d.ts +23 -23
- package/lib/containers/Notification/Notification.group.d.ts +9 -9
- package/lib/containers/Notification/Notification.interface.d.ts +39 -39
- package/lib/containers/Notification/Notification.style.d.ts +136 -136
- package/lib/containers/Notification/index.d.ts +9 -9
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +5 -5
- package/lib/containers/Paper/Paper.style.d.ts +8 -8
- package/lib/containers/Paper/index.d.ts +5 -5
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/Scroll.d.ts +12 -12
- package/lib/containers/Scroll/Scroll.helpers.d.ts +15 -14
- package/lib/containers/Scroll/Scroll.interface.d.ts +7 -11
- package/lib/containers/Scroll/Scroll.style.d.ts +13 -13
- package/lib/containers/Scroll/index.d.ts +5 -5
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.d.ts +8 -9
- package/lib/dataDisplay/DataTable/DataTable.filters.d.ts +24 -18
- package/lib/dataDisplay/DataTable/DataTable.helpers.d.ts +66 -59
- package/lib/dataDisplay/DataTable/DataTable.interface.d.ts +181 -133
- package/lib/dataDisplay/DataTable/DataTable.props.d.ts +11 -11
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +29 -29
- package/lib/dataDisplay/DataTable/index.d.ts +5 -5
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.d.ts +17 -17
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +28 -28
- package/lib/dataDisplay/DescriptionList/index.d.ts +6 -6
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.d.ts +15 -15
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +36 -35
- package/lib/dataDisplay/Meter/Meter.style.d.ts +11 -11
- package/lib/dataDisplay/Meter/index.d.ts +4 -4
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/Table.d.ts +9 -9
- package/lib/dataDisplay/Table/Table/Table.interface.d.ts +40 -32
- package/lib/dataDisplay/Table/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table.context.d.ts +15 -15
- package/lib/dataDisplay/Table/Table.shared.d.ts +5 -5
- package/lib/dataDisplay/Table/TableBody/TableBody.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableBody/TableBody.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableBody/index.d.ts +5 -4
- package/lib/dataDisplay/Table/TableCell/TableCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCell/TableCell.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableCell/TableCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/TableCheckboxCell.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.d.ts +4 -4
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.interface.d.ts +7 -7
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +8 -8
- package/lib/dataDisplay/Table/TableEmpty/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/TableFooter.d.ts +5 -5
- package/lib/dataDisplay/Table/TableFooter/TableFooter.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableFooter/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeader/TableHeader.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeader/TableHeader.interface.d.ts +2 -2
- package/lib/dataDisplay/Table/TableHeader/TableHeader.style.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeader/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.d.ts +5 -5
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.interface.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/TableHeaderCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.interface.d.ts +3 -2
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/TableHeaderCheckboxCell.style.d.ts +4 -4
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.d.ts +3 -3
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/TablePagination.d.ts +8 -8
- package/lib/dataDisplay/Table/TablePagination/TablePagination.interface.d.ts +17 -8
- package/lib/dataDisplay/Table/TablePagination/index.d.ts +2 -2
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableRow/TableRow.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.interface.d.ts +3 -3
- package/lib/dataDisplay/Table/TableRow/TableRow.style.d.ts +4 -3
- package/lib/dataDisplay/Table/TableRow/index.d.ts +3 -3
- package/lib/dataDisplay/Table/index.d.ts +5 -5
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.d.ts +21 -21
- package/lib/dataDisplay/Tabs/Tabs.interface.d.ts +22 -22
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +9 -9
- package/lib/dataDisplay/Tabs/index.d.ts +5 -5
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.d.ts +7 -7
- package/lib/elements/Avatar/Avatar.helpers.d.ts +6 -6
- package/lib/elements/Avatar/Avatar.interface.d.ts +23 -12
- package/lib/elements/Avatar/Avatar.style.d.ts +26 -7
- package/lib/elements/Avatar/index.d.ts +4 -4
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.d.ts +12 -12
- package/lib/elements/Button/Button.interface.d.ts +39 -38
- package/lib/elements/Button/Button.style.d.ts +18 -15
- package/lib/elements/Button/index.d.ts +7 -7
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Calendar/Calendar.d.ts +10 -10
- package/lib/elements/Calendar/Calendar.interface.d.ts +15 -16
- package/lib/elements/Calendar/Calendar.style.d.ts +11 -11
- package/lib/elements/Calendar/index.d.ts +6 -6
- package/lib/elements/Calendar/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +17 -16
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +26 -26
- package/lib/elements/Dropdown/index.d.ts +4 -4
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/Icon.d.ts +7 -7
- package/lib/elements/Icon/Icon.helpers.d.ts +10 -9
- package/lib/elements/Icon/Icon.interface.d.ts +25 -24
- package/lib/elements/Icon/Icon.style.d.ts +8 -8
- package/lib/elements/Icon/index.d.ts +5 -5
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.d.ts +8 -8
- package/lib/elements/IconButton/IconButton.interface.d.ts +17 -7
- package/lib/elements/IconButton/IconButton.style.d.ts +4 -4
- package/lib/elements/IconButton/index.d.ts +5 -5
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/Image/Image.d.ts +9 -9
- package/lib/elements/Image/Image.interface.d.ts +14 -13
- package/lib/elements/Image/Image.style.d.ts +4 -4
- package/lib/elements/Image/index.d.ts +4 -4
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/Label.d.ts +13 -12
- package/lib/elements/Label/Label.interface.d.ts +11 -15
- package/lib/elements/Label/Label.style.d.ts +7 -7
- package/lib/elements/Label/index.d.ts +4 -4
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.d.ts +31 -31
- package/lib/elements/Link/Link.interface.d.ts +31 -30
- package/lib/elements/Link/Link.style.d.ts +23 -22
- package/lib/elements/Link/index.d.ts +4 -4
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.d.ts +9 -9
- package/lib/elements/List/List.interface.d.ts +25 -25
- package/lib/elements/List/List.style.d.ts +8 -9
- package/lib/elements/List/index.d.ts +3 -3
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.d.ts +22 -22
- package/lib/elements/Modal/Modal.interface.d.ts +41 -41
- package/lib/elements/Modal/Modal.style.d.ts +509 -510
- package/lib/elements/Modal/index.d.ts +4 -4
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.d.ts +8 -8
- package/lib/elements/Popover/Popover.interface.d.ts +11 -11
- package/lib/elements/Popover/index.d.ts +3 -3
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.d.ts +11 -11
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +9 -9
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +21 -22
- package/lib/elements/ProgressBar/index.d.ts +6 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Spinner/Spinner.d.ts +6 -6
- package/lib/elements/Spinner/Spinner.interface.d.ts +11 -11
- package/lib/elements/Spinner/Spinner.style.d.ts +9 -8
- package/lib/elements/Spinner/index.d.ts +4 -4
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.d.ts +8 -8
- package/lib/elements/Svg/Svg.interface.d.ts +19 -20
- package/lib/elements/Svg/Svg.style.d.ts +17 -9
- package/lib/elements/Svg/index.d.ts +4 -4
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.d.ts +10 -10
- package/lib/elements/Text/Text.interface.d.ts +94 -90
- package/lib/elements/Text/Text.props.d.ts +35 -35
- package/lib/elements/Text/Text.style.d.ts +8 -8
- package/lib/elements/Text/index.d.ts +5 -5
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.d.ts +8 -8
- package/lib/elements/Tooltip/Tooltip.interface.d.ts +18 -19
- package/lib/elements/Tooltip/Tooltip.style.d.ts +14 -13
- package/lib/elements/Tooltip/index.d.ts +4 -4
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/BackgroundFactory/BackgroundFactory.d.ts +10 -10
- package/lib/factory/BackgroundFactory/BackgroundFactory.interface.d.ts +18 -14
- package/lib/factory/BackgroundFactory/index.d.ts +4 -4
- package/lib/factory/BorderFactory/BorderFactory.d.ts +16 -16
- package/lib/factory/BorderFactory/BorderFactory.interface.d.ts +20 -20
- package/lib/factory/BorderFactory/index.d.ts +4 -4
- package/lib/factory/ColorFactory/ColorFactory.d.ts +16 -16
- package/lib/factory/ColorFactory/ColorFactory.interface.d.ts +21 -28
- package/lib/factory/ColorFactory/index.d.ts +3 -3
- package/lib/factory/ContainerFactory/ContainerFactory.d.ts +7 -7
- package/lib/factory/ContainerFactory/ContainerFactory.interface.d.ts +27 -31
- package/lib/factory/ContainerFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/DeepFactory.d.ts +9 -9
- package/lib/factory/DeepFactory/DeepFactory.interface.d.ts +19 -19
- package/lib/factory/DeepFactory/index.d.ts +3 -3
- package/lib/factory/DeepFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +7 -7
- package/lib/factory/FlexFactory/FlexFactory.interface.d.ts +22 -22
- package/lib/factory/FlexFactory/index.d.ts +4 -4
- package/lib/factory/FontFactory/FontFactory.d.ts +6 -6
- package/lib/factory/FontFactory/FontFactory.interface.d.ts +19 -19
- package/lib/factory/FontFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.d.ts +9 -9
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +15 -15
- package/lib/factory/ResponsiveFactory/index.d.ts +3 -3
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/SizeFactory/SizeFactory.d.ts +7 -7
- package/lib/factory/SizeFactory/SizeFactory.interface.d.ts +9 -9
- package/lib/factory/SizeFactory/index.d.ts +2 -2
- package/lib/factory/SpacingFactory/SpacingFactory.d.ts +7 -6
- package/lib/factory/SpacingFactory/SpacingFactory.interface.d.ts +9 -9
- package/lib/factory/SpacingFactory/index.d.ts +3 -3
- package/lib/factory/System/System.d.ts +24 -14
- package/lib/factory/System/System.interface.d.ts +17 -17
- package/lib/factory/System/index.d.ts +3 -3
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/index.d.ts +8 -7
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +7 -7
- package/lib/form/Checkbox/Checkbox.interface.d.ts +9 -10
- package/lib/form/Checkbox/Checkbox.style.d.ts +12 -12
- package/lib/form/Checkbox/index.d.ts +3 -3
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.d.ts +7 -7
- package/lib/form/Field/Field.interface.d.ts +6 -6
- package/lib/form/Field/Field.props.d.ts +5 -5
- package/lib/form/Field/Field.style.d.ts +3 -3
- package/lib/form/Field/index.d.ts +7 -6
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/FieldGroup.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.helpers.d.ts +9 -9
- package/lib/form/FieldGroup/FieldGroup.interface.d.ts +18 -18
- package/lib/form/FieldGroup/index.d.ts +3 -3
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.helpers.d.ts +26 -26
- package/lib/form/Form/Form.interface.d.ts +33 -33
- package/lib/form/Form/Form.style.d.ts +4 -4
- package/lib/form/Form/index.d.ts +4 -4
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.d.ts +7 -7
- package/lib/form/Input/Input.helpers.d.ts +8 -16
- package/lib/form/Input/Input.interface.d.ts +26 -26
- package/lib/form/Input/Input.style.d.ts +28 -28
- package/lib/form/Input/index.d.ts +5 -5
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.d.ts +7 -7
- package/lib/form/InputCurrency/InputCurrency.helpers.d.ts +13 -13
- package/lib/form/InputCurrency/InputCurrency.interface.d.ts +9 -8
- package/lib/form/InputCurrency/index.d.ts +5 -5
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/InputDate.d.ts +13 -13
- package/lib/form/InputDate/InputDate.interface.d.ts +26 -25
- package/lib/form/InputDate/buildSyntheticEvent.d.ts +18 -18
- package/lib/form/InputDate/index.d.ts +8 -7
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/InputMask.d.ts +9 -9
- package/lib/form/InputMask/InputMask.interface.d.ts +9 -9
- package/lib/form/InputMask/index.d.ts +4 -3
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +9 -9
- package/lib/form/InputRange/InputRange.helpers.d.ts +14 -14
- package/lib/form/InputRange/InputRange.style.d.ts +24 -23
- package/lib/form/InputRange/index.d.ts +4 -4
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/DropdownIndicator.d.ts +6 -6
- package/lib/form/InputSelect/InputSelect.helpers.d.ts +12 -11
- package/lib/form/InputSelect/InputSelect.style.d.ts +12 -39
- package/lib/form/InputSelect/index.d.ts +4 -4
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +7 -7
- package/lib/form/Radio/Radio.interface.d.ts +13 -14
- package/lib/form/Radio/Radio.style.d.ts +11 -11
- package/lib/form/Radio/index.d.ts +3 -3
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/Select.style.d.ts +1 -12
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +11 -11
- package/lib/form/Switch/Switch.interface.d.ts +16 -17
- package/lib/form/Switch/Switch.style.d.ts +12 -25
- package/lib/form/Switch/index.d.ts +2 -2
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.d.ts +9 -9
- package/lib/form/TextArea/TextArea.interface.d.ts +15 -15
- package/lib/form/TextArea/TextArea.style.d.ts +9 -9
- package/lib/form/TextArea/index.d.ts +3 -3
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.d.ts +14 -14
- package/lib/form/UploadCard/UploadCard.helpers.d.ts +15 -15
- package/lib/form/UploadCard/UploadCard.interface.d.ts +40 -39
- package/lib/form/UploadCard/UploadCard.style.d.ts +16 -16
- package/lib/form/UploadCard/index.d.ts +6 -6
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/UploadCard/useFileControl.d.ts +6 -6
- package/lib/form/UploadCard/useFileState.d.ts +6 -6
- package/lib/form/UploadCard/useObjectUrl.d.ts +5 -5
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/useClickOutside/index.d.ts +3 -3
- package/lib/hooks/useClickOutside/useClickOutside.d.ts +8 -8
- package/lib/hooks/useClipboard/index.d.ts +3 -3
- package/lib/hooks/useClipboard/useClipboard.d.ts +10 -10
- package/lib/hooks/useClipboard/useClipboard.helpers.d.ts +8 -9
- package/lib/hooks/useDrag/index.d.ts +5 -5
- package/lib/hooks/useDrag/useDrag.d.ts +6 -6
- package/lib/hooks/useDrag/useDrag.helpers.d.ts +9 -9
- package/lib/hooks/useDrag/useDrag.interface.d.ts +9 -9
- package/lib/hooks/useEventCallback/index.d.ts +4 -4
- package/lib/hooks/useEventCallback/useEventCallback.d.ts +12 -12
- package/lib/hooks/useFileDialog/index.d.ts +3 -3
- package/lib/hooks/useFileDialog/useFileDialog.d.ts +15 -15
- package/lib/hooks/useIntersect/index.d.ts +3 -3
- package/lib/hooks/useIntersect/useIntersect.d.ts +11 -11
- package/lib/hooks/useLazyEffect/index.d.ts +3 -3
- package/lib/hooks/useLazyEffect/useLazyEffect.d.ts +7 -7
- package/lib/hooks/useMediaQuery/index.d.ts +5 -5
- package/lib/hooks/useMediaQuery/useMediaQuery.d.ts +7 -7
- package/lib/hooks/useMediaQuery/useMediaQuery.helpers.d.ts +8 -8
- package/lib/hooks/useMediaQuery/useMediaQuery.interface.d.ts +6 -6
- package/lib/hooks/useProgress/index.d.ts +3 -3
- package/lib/hooks/useProgress/useProgress.d.ts +13 -13
- package/lib/hooks/useScript/index.d.ts +3 -3
- package/lib/hooks/useScript/useScript.d.ts +7 -7
- package/lib/hooks/useToggle/index.d.ts +3 -3
- package/lib/hooks/useToggle/useToggle.d.ts +14 -14
- package/lib/hooks/useUnload/index.d.ts +3 -3
- package/lib/hooks/useUnload/useUnload.d.ts +10 -10
- package/lib/icons/icon.interface.d.ts +8 -7
- package/lib/icons/index.d.ts +6 -6
- package/lib/icons/set/alertInfo.d.ts +1 -1
- package/lib/icons/set/alignCenter.d.ts +1 -1
- package/lib/icons/set/alignJustify.d.ts +1 -1
- package/lib/icons/set/alignLeft.d.ts +1 -1
- package/lib/icons/set/alignRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleDown.d.ts +1 -1
- package/lib/icons/set/arrowCircleLeft.d.ts +1 -1
- package/lib/icons/set/arrowCircleRight.d.ts +1 -1
- package/lib/icons/set/arrowCircleUp.d.ts +1 -1
- package/lib/icons/set/arrowLeft.d.ts +1 -1
- package/lib/icons/set/arrowRight.d.ts +1 -1
- package/lib/icons/set/attention.d.ts +1 -1
- package/lib/icons/set/ban.d.ts +1 -1
- package/lib/icons/set/calendar.d.ts +1 -1
- package/lib/icons/set/check.d.ts +1 -1
- package/lib/icons/set/chevronDown.d.ts +1 -1
- package/lib/icons/set/chevronLeft.d.ts +1 -1
- package/lib/icons/set/chevronRight.d.ts +1 -1
- package/lib/icons/set/chevronUp.d.ts +1 -1
- package/lib/icons/set/clock.d.ts +1 -1
- package/lib/icons/set/cog.d.ts +1 -1
- package/lib/icons/set/edit.d.ts +1 -1
- package/lib/icons/set/ellipsisH.d.ts +1 -1
- package/lib/icons/set/emojiAngry.d.ts +1 -1
- package/lib/icons/set/emojiBeamSweat.d.ts +1 -1
- package/lib/icons/set/emojiSadTear.d.ts +1 -1
- package/lib/icons/set/emojiSquintTear.d.ts +1 -1
- package/lib/icons/set/emojiStar.d.ts +1 -1
- package/lib/icons/set/emojiTired.d.ts +1 -1
- package/lib/icons/set/emojiTongue.d.ts +1 -1
- package/lib/icons/set/emojiTongueSquint.d.ts +1 -1
- package/lib/icons/set/envelope.d.ts +1 -1
- package/lib/icons/set/eye.d.ts +1 -1
- package/lib/icons/set/eyeSlash.d.ts +1 -1
- package/lib/icons/set/file.d.ts +1 -1
- package/lib/icons/set/filePdf.d.ts +1 -1
- package/lib/icons/set/menuBars.d.ts +1 -1
- package/lib/icons/set/minus.d.ts +1 -1
- package/lib/icons/set/pen.d.ts +1 -1
- package/lib/icons/set/phoneAlt.d.ts +1 -1
- package/lib/icons/set/phoneSlash.d.ts +1 -1
- package/lib/icons/set/picture.d.ts +1 -1
- package/lib/icons/set/pictures.d.ts +1 -1
- package/lib/icons/set/playCircle.d.ts +1 -1
- package/lib/icons/set/plus.d.ts +1 -1
- package/lib/icons/set/roundedAttention.d.ts +1 -1
- package/lib/icons/set/roundedCheck.d.ts +1 -1
- package/lib/icons/set/roundedInfo.d.ts +1 -1
- package/lib/icons/set/running.d.ts +1 -1
- package/lib/icons/set/search.d.ts +1 -1
- package/lib/icons/set/shareAlt.d.ts +1 -1
- package/lib/icons/set/shareSquare.d.ts +1 -1
- package/lib/icons/set/signIn.d.ts +1 -1
- package/lib/icons/set/signOut.d.ts +1 -1
- package/lib/icons/set/sort.d.ts +1 -1
- package/lib/icons/set/sortDown.d.ts +1 -1
- package/lib/icons/set/sortUp.d.ts +1 -1
- package/lib/icons/set/spinner.d.ts +1 -1
- package/lib/icons/set/thumbsDown.d.ts +1 -1
- package/lib/icons/set/thumbsUp.d.ts +1 -1
- package/lib/icons/set/times.d.ts +1 -1
- package/lib/icons/set/trash.d.ts +1 -1
- package/lib/icons/set/unlink.d.ts +1 -1
- package/lib/icons/set/upload.d.ts +1 -1
- package/lib/icons/set/user.d.ts +1 -1
- package/lib/icons/set/userAdd.d.ts +1 -1
- package/lib/icons/set/userBlock.d.ts +1 -1
- package/lib/icons/set/userCheck.d.ts +1 -1
- package/lib/icons/set/userConfig.d.ts +1 -1
- package/lib/icons/set/userDelete.d.ts +1 -1
- package/lib/icons/set/userEdit.d.ts +1 -1
- package/lib/icons/set/userInvalid.d.ts +1 -1
- package/lib/icons/set/userLocked.d.ts +1 -1
- package/lib/icons/set/users.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +1 -1
- package/lib/layouts/DefaultLayout/DefaultLayout.d.ts +6 -6
- package/lib/layouts/DefaultLayout/DefaultLayout.interface.d.ts +8 -9
- package/lib/layouts/DefaultLayout/DefaultLayout.props.d.ts +4 -4
- package/lib/layouts/DefaultLayout/DefaultLayout.style.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.d.ts +6 -6
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.d.ts +5 -6
- package/lib/layouts/SideBarLayout/SideBarLayout.interface.d.ts +7 -7
- package/lib/layouts/SideBarLayout/SideBarLayout.props.d.ts +5 -5
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +6 -5
- package/lib/layouts/SideBarLayout/index.d.ts +6 -6
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/scenario/CircleComponent/CircleComponent.d.ts +3 -3
- package/lib/scenario/CircleComponent/CircleComponent.style.d.ts +4 -4
- package/lib/scenario/CircleComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/RectComponent.d.ts +3 -3
- package/lib/scenario/RectComponent/RectComponent.style.d.ts +3 -3
- package/lib/scenario/RectComponent/index.d.ts +5 -5
- package/lib/scenario/RectComponent/index.esm.js +1 -1
- package/lib/scenario/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.d.ts +12 -12
- package/lib/skeleton/ComposedSkeleton/ComposedSkeleton.interface.d.ts +10 -10
- package/lib/skeleton/ComposedSkeleton/index.d.ts +7 -7
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/TextPreset.d.ts +4 -4
- package/lib/skeleton/TextPreset/index.d.ts +4 -4
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/Animation/Animation.interface.d.ts +9 -9
- package/lib/themes/Animation/Animation.props.d.ts +4 -5
- package/lib/themes/Animation/index.d.ts +4 -4
- package/lib/themes/Border/Border.interface.d.ts +26 -25
- package/lib/themes/Border/index.d.ts +4 -4
- package/lib/themes/Breakpoints/index.d.ts +3 -3
- package/lib/themes/Colors/Colors.helpers.d.ts +128 -129
- package/lib/themes/Colors/Colors.interface.d.ts +23 -23
- package/lib/themes/Colors/Colors.presets.d.ts +2 -2
- package/lib/themes/Colors/index.d.ts +3 -3
- package/lib/themes/Colors/index.esm.js +1 -1
- package/lib/themes/Component/Component.helpers.d.ts +24 -0
- package/lib/themes/Component/Component.interface.d.ts +93 -0
- package/lib/themes/Component/index.d.ts +18 -0
- package/lib/themes/Component/index.esm.js +1 -0
- package/lib/themes/Deep/index.d.ts +3 -3
- package/lib/themes/Deep/index.esm.js +1 -1
- package/lib/themes/Depth/index.d.ts +3 -3
- package/lib/themes/Dimension/index.d.ts +4 -4
- package/lib/themes/Font/index.d.ts +3 -3
- package/lib/themes/Foundation/Foundation.helpers.d.ts +12 -12
- package/lib/themes/Foundation/Foundation.interface.d.ts +25 -26
- package/lib/themes/Foundation/index.d.ts +5 -5
- package/lib/themes/GlobalStyle/index.d.ts +1 -1
- package/lib/themes/Semantic/Semantic.helpers.d.ts +14 -14
- package/lib/themes/Semantic/Semantic.interface.d.ts +36 -36
- package/lib/themes/Semantic/index.d.ts +5 -5
- package/lib/themes/Spacing/index.d.ts +3 -3
- package/lib/themes/Surface/Surface.d.ts +15 -15
- package/lib/themes/Surface/Surface.helpers.d.ts +26 -25
- package/lib/themes/Surface/Surface.interface.d.ts +9 -9
- package/lib/themes/Surface/index.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.d.ts +4 -4
- package/lib/themes/ThemeProvider/ThemeProvider.interface.d.ts +65 -41
- package/lib/themes/ThemeProvider/index.d.ts +7 -7
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.esm.js +1 -1
- package/lib/utils/components/Breakpoints/Breakpoints.d.ts +12 -12
- package/lib/utils/components/Breakpoints/Breakpoints.interface.d.ts +8 -8
- package/lib/utils/components/Breakpoints/index.d.ts +3 -3
- package/lib/utils/components/index.d.ts +4 -4
- package/lib/utils/index.d.ts +4 -4
- package/lib/utils/logger.d.ts +4 -4
- package/lib/utils/mask.d.ts +12 -12
- package/lib/utils/object.d.ts +29 -27
- package/lib/utils/typeUtils.d.ts +18 -16
- package/lib/utils/utils.d.ts +31 -31
- package/lib/utils/window.d.ts +10 -10
- package/lib/vendors/Culori/component.d.ts +14 -14
- package/lib/vendors/Culori/engine.d.ts +40 -40
- package/lib/vendors/Culori/interface.d.ts +7 -7
- package/lib/vendors/Culori/named.d.ts +4 -4
- package/lib/vendors/DateFns/component.d.ts +16 -15
- package/lib/vendors/DateFns/interface.d.ts +6 -6
- package/lib/vendors/Deepmerge/component.d.ts +2 -2
- package/lib/vendors/Deepmerge/interface.d.ts +4 -4
- package/lib/vendors/EmotionIsPropValid/component.d.ts +3 -3
- package/lib/vendors/EmotionIsPropValid/interface.d.ts +3 -3
- package/lib/vendors/FastDeepEqual/component.d.ts +2 -2
- package/lib/vendors/FastDeepEqual/interface.d.ts +3 -3
- package/lib/vendors/FloatingUI/component.d.ts +18 -17
- package/lib/vendors/FloatingUI/interface.d.ts +10 -10
- package/lib/vendors/FramerMotion/component.d.ts +9 -9
- package/lib/vendors/FramerMotion/interface.d.ts +8 -7
- package/lib/vendors/LodashDebounce/component.d.ts +2 -2
- package/lib/vendors/LodashDebounce/interface.d.ts +2 -2
- package/lib/vendors/Nanoid/component.d.ts +5 -5
- package/lib/vendors/Nanoid/interface.d.ts +4 -4
- package/lib/vendors/ObjectHash/component.d.ts +2 -2
- package/lib/vendors/ObjectHash/interface.d.ts +2 -2
- package/lib/vendors/ReactContentLoader/component.d.ts +4 -4
- package/lib/vendors/ReactContentLoader/interface.d.ts +3 -3
- package/lib/vendors/ReactDayPicker/component.d.ts +7 -7
- package/lib/vendors/ReactDayPicker/interface.d.ts +11 -11
- package/lib/vendors/ReactHookForm/component.d.ts +14 -14
- package/lib/vendors/ReactHookForm/interface.d.ts +16 -16
- package/lib/vendors/ReactSelect/component.d.ts +6 -6
- package/lib/vendors/ReactSelect/interface.d.ts +24 -9
- package/lib/vendors/StyledComponents/component.d.ts +10 -10
- package/lib/vendors/StyledComponents/interface.d.ts +12 -12
- package/lib/vendors/StyledNormalize/component.d.ts +3 -3
- package/lib/vendors/StyledNormalize/interface.d.ts +3 -3
- package/lib/vendors/TanstackReactTable/component.d.ts +10 -10
- package/lib/vendors/TanstackReactTable/interface.d.ts +15 -15
- package/lib/vendors/TanstackReactVirtual/component.d.ts +8 -8
- package/lib/vendors/TanstackReactVirtual/interface.d.ts +6 -6
- package/lib/vendors/Zod/component.d.ts +3 -3
- package/package.json +7 -3
- package/lib/chunks/Notification.group-P24CKBGW.esm.js +0 -1
- package/lib/chunks/chunk-2JE2KM3Y.esm.js +0 -1
- package/lib/chunks/chunk-5RSKEPVX.esm.js +0 -1
- package/lib/chunks/chunk-7WWDUGCC.esm.js +0 -1
- package/lib/chunks/chunk-AGTNBWPD.esm.js +0 -39
- package/lib/chunks/chunk-B64YEI67.esm.js +0 -1
- package/lib/chunks/chunk-CWLQNJ2D.esm.js +0 -1
- package/lib/chunks/chunk-FGI2BYTC.esm.js +0 -1
- package/lib/chunks/chunk-FJUISCKG.esm.js +0 -1
- package/lib/chunks/chunk-G4OCANJN.esm.js +0 -1
- package/lib/chunks/chunk-GQSXSPXG.esm.js +0 -34
- package/lib/chunks/chunk-JYROOJRO.esm.js +0 -1
- package/lib/chunks/chunk-KFJ6EF6N.esm.js +0 -1
- package/lib/chunks/chunk-LBSRV6OY.esm.js +0 -1
- package/lib/chunks/chunk-M53TQFQR.esm.js +0 -43
- package/lib/chunks/chunk-MGLZFOSB.esm.js +0 -1
- package/lib/chunks/chunk-NO4SD45Y.esm.js +0 -1
- package/lib/chunks/chunk-OPAH7JBD.esm.js +0 -43
- package/lib/chunks/chunk-PAITPPEW.esm.js +0 -4
- package/lib/chunks/chunk-Q6EGG64M.esm.js +0 -1
- package/lib/chunks/chunk-QZNDN3FN.esm.js +0 -1
- package/lib/chunks/chunk-RTTQGZN4.esm.js +0 -1
- package/lib/chunks/chunk-UE2MT6VF.esm.js +0 -1
- package/lib/chunks/chunk-VRM5U7D2.esm.js +0 -1
- package/lib/chunks/chunk-YHJ77TR7.esm.js +0 -1
- /package/lib/chunks/{chunk-QF2YUOVX.esm.js → chunk-KL3ATH64.esm.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { BackgroundFactoryProps, BorderFactoryProps, ColorFactoryProps, ContainerFactoryProps, DeepFactoryProps, FontFactoryProps, SizeFactoryProps, SpacingFactoryProps } from '../../factory';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Set of props accepted by the design system's base container.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* — `Flex`, `Grid`, `Paper`, `Card`, etc. —
|
|
8
|
-
*
|
|
5
|
+
* Composed by aggregating all of the system's "factories" (spacing, size,
|
|
6
|
+
* colors, borders, typography, deep/shadow, and background). Other containers
|
|
7
|
+
* — `Flex`, `Grid`, `Paper`, `Card`, etc. — extend this interface to
|
|
8
|
+
* inherit the entire declarative styling API.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Not used directly as a public component prop; it serves as the base
|
|
11
|
+
* for each container's interfaces.
|
|
12
12
|
*/
|
|
13
13
|
export interface BaseContainerProps extends SpacingFactoryProps, SizeFactoryProps, ContainerFactoryProps, FontFactoryProps, ColorFactoryProps, BorderFactoryProps, DeepFactoryProps, BackgroundFactoryProps {
|
|
14
14
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Primitive container (`div`) integrated with the Apollion factory.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Accepts all {@link BaseContainerProps} props (spacing, colors, sizes,
|
|
5
|
+
* borders, etc.) and is the root upon which `Flex`, `Grid`, `Paper`
|
|
6
|
+
* and other containers are built. Use it only when you need a neutral
|
|
7
|
+
* block without `display: flex` or `display: grid`.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* —
|
|
11
|
-
*
|
|
9
|
+
* The animated variant lives in the `containers/motion` subpath
|
|
10
|
+
* (`AnimatedContainer`) — keeping it out of this module prevents
|
|
11
|
+
* `framer-motion` from entering the bundle of every component that
|
|
12
|
+
* extends `BaseContainer`.
|
|
12
13
|
*/
|
|
13
14
|
export declare const BaseContainer: import("styled-components").IStyledComponent<"web", import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Base` primitive container.
|
|
3
3
|
*
|
|
4
|
-
* `Base`
|
|
5
|
-
*
|
|
6
|
-
* (`BaseContainer`)
|
|
4
|
+
* `Base` is not a final component — it is the building block used by all
|
|
5
|
+
* other containers (`Flex`, `Grid`, `Paper`, etc.). Exports the styled
|
|
6
|
+
* component (`BaseContainer`) and the props interface (`BaseContainerProps`).
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `BaseContainer`.
|
|
8
|
+
* The animated version (`AnimatedContainer`) lives in the `containers/motion`
|
|
9
|
+
* subpath to keep `framer-motion` out of the bundle of every component that
|
|
10
|
+
* extends `BaseContainer`.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
* paths
|
|
12
|
+
* Every other file in the project must import from the barrel, never from
|
|
13
|
+
* internal paths such as `./Base.style` or `./Base.interface`.
|
|
14
14
|
*/
|
|
15
15
|
export { BaseContainer } from './Base.style';
|
|
16
16
|
export * from './Base.interface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-YRBM4WYM.esm.js";import"../../chunks/chunk-5OKRFXLL.esm.js";import"../../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{a as BaseContainer};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { CardInterface } from './Card.interface';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Flexible content container with named areas for media, title,
|
|
5
|
+
* description, free-form content (children), and actions.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* (
|
|
9
|
-
* strings,
|
|
10
|
-
*
|
|
7
|
+
* Built on top of {@link Flex}, so it inherits all factory props
|
|
8
|
+
* (spacing, colors, borders, sizes). When `title`/`description` are
|
|
9
|
+
* strings, they are automatically wrapped in `BaseText` with the
|
|
10
|
+
* appropriate typography; when they are `ReactNode`s, they are rendered
|
|
11
|
+
* as provided.
|
|
11
12
|
*
|
|
12
13
|
* @example
|
|
13
14
|
* ```tsx
|
|
@@ -19,6 +20,6 @@ import { CardInterface } from './Card.interface';
|
|
|
19
20
|
* />
|
|
20
21
|
* ```
|
|
21
22
|
*
|
|
22
|
-
* @see {@link CardInterface}
|
|
23
|
+
* @see {@link CardInterface} for the detailed props.
|
|
23
24
|
*/
|
|
24
25
|
export declare const CardComponent: React.FC<CardInterface>;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { FlexPropsInterface } from '../Flex';
|
|
3
3
|
/**
|
|
4
|
-
* Props
|
|
4
|
+
* Props of the {@link CardComponent} component.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
6
|
+
* Extends {@link FlexPropsInterface}, so `Card` accepts all of `Flex`'s
|
|
7
|
+
* declarative layout props (spacing, color, border, size, etc.). The
|
|
8
|
+
* `Card`-specific props orchestrate content into named areas:
|
|
9
|
+
* `media`, `title`, `description`, `children`, and `actionComponent`.
|
|
10
10
|
*/
|
|
11
11
|
export interface CardInterface extends FlexPropsInterface {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* Main title of the card. When a string, it is rendered in `BaseText`
|
|
14
|
+
* with heading typography; when a `ReactNode`, it is used as-is — useful
|
|
15
|
+
* for including icons, avatars, or custom hierarchy.
|
|
16
16
|
*/
|
|
17
17
|
title?: string | ReactNode;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* `BaseText`,
|
|
19
|
+
* Description/subtitle of the card. Same contract as `title`: a string
|
|
20
|
+
* becomes `BaseText`, any other `ReactNode` is rendered as-is.
|
|
21
21
|
*/
|
|
22
22
|
description?: string | ReactNode;
|
|
23
|
-
/**
|
|
23
|
+
/** Additional slot for a custom subtitle. */
|
|
24
24
|
subtitle?: ReactNode;
|
|
25
|
-
/**
|
|
25
|
+
/** Main content of the card. Appears below the description. */
|
|
26
26
|
children?: ReactNode;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
28
|
+
* Action component (button, button pair, link). Rendered in the `action`
|
|
29
|
+
* area with automatic `mt="large"`.
|
|
30
30
|
*/
|
|
31
31
|
actionComponent?: ReactNode;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* Media displayed at the top of the card. Typically an `<Image>` or a
|
|
34
|
+
* video, but any `ReactNode` is accepted.
|
|
35
35
|
*/
|
|
36
36
|
media?: ReactNode;
|
|
37
37
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Card` component.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* interface
|
|
4
|
+
* Re-exports the component (renaming `CardComponent` → `Card`) and the
|
|
5
|
+
* props interface (`CardInterface`).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* paths
|
|
7
|
+
* Every other file in the project must import from the barrel, never from
|
|
8
|
+
* internal paths such as `./Card` or `./Card.interface`.
|
|
9
9
|
*/
|
|
10
10
|
export * from './Card.interface';
|
|
11
11
|
export { CardComponent as Card } from './Card';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-452VAAGY.esm.js";import"../../chunks/chunk-KASRN4X5.esm.js";import"../../chunks/chunk-CLDPV7NK.esm.js";import"../../chunks/chunk-YRBM4WYM.esm.js";import"../../chunks/chunk-5OKRFXLL.esm.js";import"../../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{a as Card};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ContentProps } from './Content.interface';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* `closer` —
|
|
6
|
-
* spinner
|
|
4
|
+
* Linear (row) container with three slots — `opener`, `content`/`children`,
|
|
5
|
+
* `closer` — and a `loading` mode that hides the content and renders an
|
|
6
|
+
* overlaid spinner.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* Used as an internal block by components that need a spinner sharing the
|
|
9
|
+
* content's visual spot (e.g. buttons, notifications, cells). When
|
|
10
|
+
* `loading` is `true`, the content is hidden via `isHidden` while keeping
|
|
11
|
+
* its space — so the UI does not "jump" during loading.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* Accepts `children` or `content`; when both are provided, `children`
|
|
14
|
+
* takes precedence.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```tsx
|
|
@@ -24,6 +24,6 @@ import { ContentProps } from './Content.interface';
|
|
|
24
24
|
* </Content>
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
|
-
* @see {@link ContentProps}
|
|
27
|
+
* @see {@link ContentProps} for the detailed props.
|
|
28
28
|
*/
|
|
29
29
|
export declare const ContentComponent: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,39 +2,39 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
import { BaseContainerProps } from '../Base';
|
|
3
3
|
import { FlexPropsInterface } from '../Flex';
|
|
4
4
|
/**
|
|
5
|
-
* Props
|
|
5
|
+
* Props of the {@link ContentComponent} component.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* slots (`opener`, `content`/`children`, `closer`)
|
|
10
|
-
*
|
|
7
|
+
* Extends {@link BaseContainerProps} to inherit all layout and color
|
|
8
|
+
* factory props. The `Content`-specific props orchestrate the three
|
|
9
|
+
* slots (`opener`, `content`/`children`, `closer`) and the loading
|
|
10
|
+
* state.
|
|
11
11
|
*/
|
|
12
12
|
export interface ContentProps extends BaseContainerProps {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* When `true`, the main content is hidden via `isHidden` (without
|
|
15
|
+
* removing the space) and the spinner is displayed on top.
|
|
16
16
|
*/
|
|
17
17
|
loading?: boolean;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* `<Spinner>`
|
|
19
|
+
* Custom loading component. When absent, the design system's default
|
|
20
|
+
* `<Spinner>` is used.
|
|
21
21
|
*/
|
|
22
22
|
loadingComponent?: ReactNode;
|
|
23
23
|
/**
|
|
24
|
-
* Gap
|
|
25
|
-
*
|
|
24
|
+
* Gap between `opener`, content, and `closer`. Accepts the same spacing
|
|
25
|
+
* tokens as `Flex`.
|
|
26
26
|
*
|
|
27
27
|
* @default 'xs'
|
|
28
28
|
*/
|
|
29
29
|
contentGap?: FlexPropsInterface['gap'];
|
|
30
|
-
/**
|
|
30
|
+
/** Left slot. Typically an icon. */
|
|
31
31
|
opener?: ReactNode;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
33
|
+
* Main content. Alternative to `children` — when both are provided,
|
|
34
|
+
* `children` takes precedence.
|
|
35
35
|
*/
|
|
36
36
|
content?: ReactNode;
|
|
37
|
-
/**
|
|
37
|
+
/** Right slot. Typically an icon or action. */
|
|
38
38
|
closer?: ReactNode;
|
|
39
39
|
children?: ReactNode;
|
|
40
40
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Content` component.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Re-exports the component (renaming `ContentComponent` → `Content`) and
|
|
5
|
+
* the props interface (`ContentProps`).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
* paths
|
|
7
|
+
* Every other file in the project must import from the barrel, never from
|
|
8
|
+
* internal paths such as `./Content` or `./Content.interface`.
|
|
9
9
|
*/
|
|
10
10
|
export { ContentComponent as Content } from './Content';
|
|
11
11
|
export * from './Content.interface';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-BMGVQBTB.esm.js";import"../../chunks/chunk-BC24WDTC.esm.js";import"../../chunks/chunk-6N52NFPT.esm.js";import"../../chunks/chunk-CLDPV7NK.esm.js";import"../../chunks/chunk-YRBM4WYM.esm.js";import"../../chunks/chunk-5OKRFXLL.esm.js";import"../../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{a as Content};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { ApollionProps } from '../../factory/System';
|
|
3
3
|
/**
|
|
4
|
-
* Props
|
|
4
|
+
* Props of the `Flex` component before the native `<div>` props.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* (
|
|
8
|
-
* `children`.
|
|
9
|
-
*
|
|
6
|
+
* Extends {@link ApollionProps} — inheriting all factory props
|
|
7
|
+
* (spacing, size, colors, borders, deep, etc.) — and adds only
|
|
8
|
+
* `children`. It is exposed separately so that other components can
|
|
9
|
+
* style themselves "like a Flex" without importing the native div props.
|
|
10
10
|
*/
|
|
11
11
|
export interface FlexPropsInterface extends ApollionProps {
|
|
12
12
|
children?: ReactNode;
|
|
13
13
|
}
|
|
14
14
|
type NativeProps = Omit<React.ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
* factory ({@link FlexPropsInterface})
|
|
18
|
-
* (
|
|
16
|
+
* Complete set of props accepted by `<Flex>` at runtime. Merges the
|
|
17
|
+
* factory props ({@link FlexPropsInterface}) with the native `<div>`
|
|
18
|
+
* props (minus `children`, which comes from the factory).
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* Layout props should emulate Flex/Grid CSS — only add a new prop when
|
|
21
|
+
* it is actually used by some consumer.
|
|
22
22
|
*/
|
|
23
23
|
export interface DefaultFlexInterface extends FlexPropsInterface, NativeProps {
|
|
24
24
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* The design system's `flex` container. Extends {@link BaseContainer},
|
|
3
|
+
* inheriting all factory props (spacing, colors, borders, etc.), and
|
|
4
|
+
* adds `display: flex` by default.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* `containers/motion` (`AnimatedFlex`) —
|
|
8
|
-
* `framer-motion`
|
|
6
|
+
* Exposed as `Flex` in the barrel. The animated variant lives in the
|
|
7
|
+
* `containers/motion` subpath (`AnimatedFlex`) — keeping it out of this
|
|
8
|
+
* module prevents `framer-motion` from entering the bundle of consumers
|
|
9
|
+
* that only use the plain `Flex`.
|
|
9
10
|
*/
|
|
10
11
|
export declare const DefaultFlexStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
11
12
|
as?: import("styled-components").WebTarget;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Flex` container.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Re-exports the styled-component (renaming `DefaultFlexStyle` → `Flex`)
|
|
5
|
+
* and the props interfaces (`FlexPropsInterface`, `DefaultFlexInterface`).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* The animated version (`AnimatedFlex`) lives in the `containers/motion`
|
|
8
|
+
* subpath to keep `framer-motion` out of the bundle of consumers that only
|
|
9
|
+
* use the plain `Flex`.
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
-
* paths
|
|
11
|
+
* Every other file in the project must import from the barrel, never from
|
|
12
|
+
* internal paths such as `./Flex.style` or `./Flex.interface`.
|
|
12
13
|
*/
|
|
13
14
|
export * from './Flex.interface';
|
|
14
15
|
export { DefaultFlexStyle as Flex } from './Flex.style';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk-
|
|
1
|
+
import{a}from"../../chunks/chunk-CLDPV7NK.esm.js";import"../../chunks/chunk-YRBM4WYM.esm.js";import"../../chunks/chunk-5OKRFXLL.esm.js";import"../../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{a as Flex};
|
|
@@ -4,24 +4,24 @@ import { SpacingInterface } from '../../themes/Spacing';
|
|
|
4
4
|
import { Theme } from '../../themes/ThemeProvider';
|
|
5
5
|
import { BaseContainerProps } from '../Base';
|
|
6
6
|
/**
|
|
7
|
-
* Breakpoints
|
|
7
|
+
* Breakpoints accepted by the `Grid`'s `medias` prop.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* Mirrors the breakpoints declared in the theme (`xs`, `sm`, `md`, `lg`, `xl`).
|
|
10
|
+
* Each key is a media query — the `xs` configuration is treated as the
|
|
11
|
+
* default style (mobile-first), and the others are stacked via `min-width`.
|
|
12
12
|
*/
|
|
13
13
|
export type GridMediasTypes = BreakpointTypes;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Alias of the theme's spacing set, used in the Grid's `gap`, `columnGap`,
|
|
16
|
+
* and `rowGap`.
|
|
17
17
|
*/
|
|
18
18
|
export type GridSpacingTypes = SpacingInterface;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Set of grid properties accepted by each breakpoint.
|
|
21
21
|
*
|
|
22
|
-
* - `columns`/`rows`:
|
|
23
|
-
* - `areas`:
|
|
24
|
-
* - `gap`, `columnGap`, `rowGap`: gap
|
|
22
|
+
* - `columns`/`rows`: equivalent to `grid-template-columns`/`-rows`.
|
|
23
|
+
* - `areas`: equivalent to `grid-template-areas`.
|
|
24
|
+
* - `gap`, `columnGap`, `rowGap`: grid gap in theme tokens.
|
|
25
25
|
*/
|
|
26
26
|
export type GridMediaInterface = {
|
|
27
27
|
breakpoint?: string;
|
|
@@ -33,24 +33,24 @@ export type GridMediaInterface = {
|
|
|
33
33
|
gap?: GridSpacingTypes;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Mapping of breakpoint → grid configuration.
|
|
37
37
|
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
38
|
+
* Allows passing either a "flat" config (no `xs` key, applied as the
|
|
39
|
+
* default) or an object with per-breakpoint keys.
|
|
40
40
|
*/
|
|
41
41
|
export type GridBreakpoints = Partial<Record<GridMediasTypes, GridMediaInterface>> & GridMediaInterface;
|
|
42
42
|
/**
|
|
43
|
-
* Props
|
|
43
|
+
* Props of the `Grid` before the native `<div>` props.
|
|
44
44
|
*
|
|
45
|
-
*
|
|
46
|
-
* (
|
|
47
|
-
*
|
|
45
|
+
* Extends {@link BaseContainerProps} to inherit all factory props
|
|
46
|
+
* (spacing, color, borders, etc.) and adds `medias` to configure
|
|
47
|
+
* the grid per breakpoint.
|
|
48
48
|
*/
|
|
49
49
|
export interface GridPropsInterface extends BaseContainerProps {
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
52
|
-
* (
|
|
53
|
-
* (`xs`, `sm`, `md`, ...).
|
|
51
|
+
* Responsive grid configuration. Accepts either a "flat" config
|
|
52
|
+
* (applied as the default) or an object with per-breakpoint keys
|
|
53
|
+
* (`xs`, `sm`, `md`, ...). Treat `xs` as mobile-first.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ```tsx
|
|
@@ -61,17 +61,18 @@ export interface GridPropsInterface extends BaseContainerProps {
|
|
|
61
61
|
children?: ReactNode;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
* factory ({@link GridPropsInterface})
|
|
66
|
-
* (
|
|
64
|
+
* Complete set of props accepted by `<Grid>` at runtime. Merges the
|
|
65
|
+
* factory props ({@link GridPropsInterface}) with the native `<div>`
|
|
66
|
+
* props (minus `children`, which comes from the factory).
|
|
67
67
|
*/
|
|
68
68
|
export interface DefaultGridInterface extends GridPropsInterface, Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* Props
|
|
72
|
-
* {@link DefaultGridInterface}
|
|
71
|
+
* Props that reach the Grid's styled-components functions. Equivalent to
|
|
72
|
+
* {@link DefaultGridInterface} with the `theme` injected by the
|
|
73
|
+
* `ThemeProvider`.
|
|
73
74
|
*
|
|
74
|
-
*
|
|
75
|
+
* Used only in `Grid.style.ts`.
|
|
75
76
|
*/
|
|
76
77
|
export interface GridStyleProps extends DefaultGridInterface {
|
|
77
78
|
theme: Theme;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { DefaultGridInterface, GridStyleProps } from './Grid.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Builds the responsive CSS from `medias`.
|
|
5
5
|
*
|
|
6
|
-
* -
|
|
7
|
-
*
|
|
8
|
-
* -
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* - When `medias` has no `xs` key, treats the whole object as a "flat"
|
|
7
|
+
* config and applies it without a media query.
|
|
8
|
+
* - When breakpoint keys are present, generates a `@media (min-width:…)`
|
|
9
|
+
* for each one using `theme.breakpoints.up(media)`. The `xs` breakpoint
|
|
10
|
+
* is considered mobile-first.
|
|
11
11
|
*/
|
|
12
12
|
export declare const setGridBreakpoints: ({ medias, theme }: GridStyleProps) => CSSObject;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* The design system's `grid` container. Extends {@link BaseContainer},
|
|
15
|
+
* inheriting all factory props, and applies `display: grid` plus the
|
|
16
|
+
* responsive CSS generated by {@link setGridBreakpoints}.
|
|
17
17
|
*
|
|
18
|
-
*
|
|
18
|
+
* Exposed as `Grid` in the barrel.
|
|
19
19
|
*/
|
|
20
20
|
export declare const DefaultGridStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
21
21
|
as?: import("styled-components").WebTarget;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Public barrel of the `Grid` container.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* `GridBreakpoints`, ...)
|
|
7
|
-
*
|
|
4
|
+
* Re-exports the styled-component (renaming `DefaultGridStyle` → `Grid`),
|
|
5
|
+
* the props interfaces (`GridPropsInterface`, `DefaultGridInterface`,
|
|
6
|
+
* `GridBreakpoints`, ...), and the `setGridBreakpoints` helper — used by
|
|
7
|
+
* the tests and by components that need to compose breakpoints.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
* paths
|
|
9
|
+
* Every other file in the project must import from the barrel, never from
|
|
10
|
+
* internal paths such as `./Grid.style` or `./Grid.interface`.
|
|
11
11
|
*/
|
|
12
12
|
export * from './Grid.interface';
|
|
13
13
|
export * from './Grid.style';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-73MPQ5OY.esm.js";import"../../chunks/chunk-YRBM4WYM.esm.js";import"../../chunks/chunk-5OKRFXLL.esm.js";import"../../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{b as DefaultGridStyle,b as Grid,a as setGridBreakpoints};
|