@apollion-dsi/core 6.0.0 → 7.1.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 +1 -1
- package/lib/chunks/Dropdown.floating-7EM6JR7N.esm.js +1 -0
- package/lib/chunks/Notification.group-4FQM35YN.esm.js +1 -0
- package/lib/chunks/Tooltip.floating-IEWE6XP4.esm.js +1 -0
- package/lib/chunks/chunk-347TNROV.esm.js +1 -0
- package/lib/chunks/chunk-3ICGUDL7.esm.js +1 -0
- package/lib/chunks/chunk-42TLD4GM.esm.js +1 -0
- package/lib/chunks/{chunk-QDLV2F2N.esm.js → chunk-4DUZ532N.esm.js} +1 -1
- package/lib/chunks/{chunk-WUVW6J3R.esm.js → chunk-4EVYPW5X.esm.js} +1 -1
- package/lib/chunks/{chunk-Y3SYDZIF.esm.js → chunk-4TQV5FFJ.esm.js} +1 -1
- package/lib/chunks/{chunk-M4OETFK4.esm.js → chunk-57RF3T2U.esm.js} +1 -1
- package/lib/chunks/{chunk-VLYDLZDV.esm.js → chunk-5ILT45RQ.esm.js} +1 -1
- package/lib/chunks/chunk-62CVSGJD.esm.js +1 -0
- package/lib/chunks/{chunk-SACX6WA6.esm.js → chunk-6V6NLBEI.esm.js} +1 -1
- package/lib/chunks/chunk-7BPSZCSD.esm.js +1 -0
- package/lib/chunks/{chunk-XEUESXXM.esm.js → chunk-7PFH2RKV.esm.js} +1 -1
- package/lib/chunks/{chunk-DOYOTA4M.esm.js → chunk-AM56FZLE.esm.js} +1 -1
- package/lib/chunks/chunk-BHRDNR3A.esm.js +1 -0
- package/lib/chunks/{chunk-KZGTQCBM.esm.js → chunk-CC5NKEXF.esm.js} +1 -1
- package/lib/chunks/chunk-CK3WBMQQ.esm.js +1 -0
- package/lib/chunks/chunk-CNJA3S6G.esm.js +1 -0
- package/lib/chunks/{chunk-HV5DUMYV.esm.js → chunk-CTFEQBY7.esm.js} +1 -1
- package/lib/chunks/{chunk-VZJX7POT.esm.js → chunk-CWSD3AXD.esm.js} +1 -1
- package/lib/chunks/{chunk-EAPNLQRA.esm.js → chunk-DKLZWHQO.esm.js} +1 -1
- package/lib/chunks/{chunk-FX4N4XE3.esm.js → chunk-EFFENLBC.esm.js} +1 -1
- package/lib/chunks/{chunk-T7HLONFV.esm.js → chunk-EK6YOJCW.esm.js} +1 -1
- package/lib/chunks/{chunk-HRWQDKQV.esm.js → chunk-ET2EP4QA.esm.js} +11 -7
- package/lib/chunks/chunk-ETEH25BP.esm.js +1 -0
- package/lib/chunks/{chunk-G7MPAQNL.esm.js → chunk-FBHZTBNG.esm.js} +1 -1
- package/lib/chunks/chunk-GC5QKJHS.esm.js +26 -0
- package/lib/chunks/{chunk-UKGWJWRQ.esm.js → chunk-GHDDFAEP.esm.js} +1 -1
- package/lib/chunks/chunk-GWC4QADH.esm.js +1 -0
- package/lib/chunks/{chunk-UWNCASVD.esm.js → chunk-H4XR4LGF.esm.js} +1 -1
- package/lib/chunks/chunk-H7ADZSZ7.esm.js +1 -0
- package/lib/chunks/{chunk-VNIBGIZ2.esm.js → chunk-HD42Q2PS.esm.js} +1 -1
- package/lib/chunks/chunk-HGOJTQ3L.esm.js +4 -0
- package/lib/chunks/{chunk-JEDWIAR7.esm.js → chunk-HJYD74KU.esm.js} +1 -1
- package/lib/chunks/chunk-IQWHAMQB.esm.js +48 -0
- package/lib/chunks/{chunk-FUQKZLIO.esm.js → chunk-J2ZPCUOE.esm.js} +1 -1
- package/lib/chunks/chunk-JLUNVLUS.esm.js +1 -0
- package/lib/chunks/chunk-JY6IWPBO.esm.js +1 -0
- package/lib/chunks/chunk-KU2OQ3LP.esm.js +1 -0
- package/lib/chunks/chunk-LPIWPCM4.esm.js +1 -0
- package/lib/chunks/{chunk-HCNNXM2C.esm.js → chunk-MBQGF5IM.esm.js} +1 -1
- package/lib/chunks/{chunk-45MWDRNM.esm.js → chunk-MMKXCJ23.esm.js} +1 -1
- package/lib/chunks/{chunk-PXOXPLL4.esm.js → chunk-MYGV5PMT.esm.js} +1 -1
- package/lib/chunks/chunk-N5QK3LZW.esm.js +1 -0
- package/lib/chunks/{chunk-NKSAICKJ.esm.js → chunk-O2EYNJ7I.esm.js} +1 -1
- package/lib/chunks/{chunk-E7F7OX6L.esm.js → chunk-ODL6ZIU7.esm.js} +1 -1
- package/lib/chunks/{chunk-MZXNUBS6.esm.js → chunk-OEEVC5Y2.esm.js} +1 -1
- package/lib/chunks/{chunk-AY4A3CRI.esm.js → chunk-OUTATATT.esm.js} +1 -1
- package/lib/chunks/{chunk-5H2LWL6K.esm.js → chunk-QRU4HAB3.esm.js} +1 -1
- package/lib/chunks/chunk-R2TPABZ3.esm.js +1 -0
- package/lib/chunks/{chunk-JHHHDDJX.esm.js → chunk-R3VRFUEK.esm.js} +1 -1
- package/lib/chunks/{chunk-BLWZI2HB.esm.js → chunk-RKHQJTYX.esm.js} +1 -1
- package/lib/chunks/{chunk-256WC4PP.esm.js → chunk-RNAHUZE7.esm.js} +1 -1
- package/lib/chunks/{chunk-F62355HF.esm.js → chunk-RZLOZ3NW.esm.js} +1 -1
- package/lib/chunks/chunk-TBHGVERY.esm.js +1 -0
- package/lib/chunks/{chunk-CEQ2E5NR.esm.js → chunk-TBWTTUID.esm.js} +1 -1
- package/lib/chunks/{chunk-MMBAI43B.esm.js → chunk-UACWLLHE.esm.js} +10 -6
- package/lib/chunks/chunk-UDQ3TYVZ.esm.js +1 -0
- package/lib/chunks/chunk-ULRUO4J4.esm.js +1 -0
- package/lib/chunks/{chunk-CYE4PE7O.esm.js → chunk-UNYBUDKE.esm.js} +1 -1
- package/lib/chunks/{chunk-ZZNJQONU.esm.js → chunk-UQVJ7IG5.esm.js} +1 -1
- package/lib/chunks/chunk-VUK26WF2.esm.js +1 -0
- package/lib/chunks/{chunk-5J3XFFOC.esm.js → chunk-X2CMFDNG.esm.js} +1 -1
- package/lib/chunks/{chunk-WI3WPCW3.esm.js → chunk-XTY6DXMK.esm.js} +1 -1
- package/lib/chunks/chunk-XTYYQH7J.esm.js +1 -0
- package/lib/chunks/chunk-YA5EBWSR.esm.js +1 -0
- package/lib/chunks/{chunk-TV2VA222.esm.js → chunk-YHQ6S4MF.esm.js} +1 -1
- package/lib/chunks/{chunk-D2BGFGF5.esm.js → chunk-YSSFTYCU.esm.js} +1 -1
- package/lib/chunks/{chunk-URJHAYIA.esm.js → chunk-ZJ3V4V3H.esm.js} +1 -1
- package/lib/chunks/{chunk-3MZJAPWM.esm.js → chunk-ZQ5JOSGH.esm.js} +1 -1
- package/lib/containers/Base/Base.style.d.ts +15 -1
- package/lib/containers/Base/index.d.ts +11 -5
- package/lib/containers/Base/index.esm.js +1 -1
- package/lib/containers/Box/Box.interface.d.ts +33 -0
- package/lib/containers/Box/Box.style.d.ts +22 -0
- package/lib/containers/Box/index.d.ts +16 -0
- package/lib/containers/Box/index.esm.js +1 -0
- package/lib/containers/Card/Card.d.ts +2 -2
- package/lib/containers/Card/Card.interface.d.ts +42 -9
- package/lib/containers/Card/Card.style.d.ts +80 -15
- package/lib/containers/Card/index.esm.js +1 -1
- package/lib/containers/Content/index.d.ts +8 -1
- package/lib/containers/Content/index.esm.js +1 -1
- package/lib/containers/Flex/Flex.interface.d.ts +23 -6
- package/lib/containers/Flex/Flex.style.d.ts +35 -3
- package/lib/containers/Flex/index.esm.js +1 -1
- package/lib/containers/Grid/Grid.interface.d.ts +31 -7
- package/lib/containers/Grid/Grid.style.d.ts +4 -4
- package/lib/containers/Grid/index.esm.js +1 -1
- package/lib/containers/Notification/Notification.d.ts +1 -1
- package/lib/containers/Notification/Notification.interface.d.ts +3 -1
- package/lib/containers/Notification/Notification.style.d.ts +161 -45
- package/lib/containers/Notification/index.esm.js +1 -1
- package/lib/containers/Paper/Paper.interface.d.ts +34 -7
- package/lib/containers/Paper/Paper.style.d.ts +12 -34
- package/lib/containers/Paper/index.esm.js +1 -1
- package/lib/containers/Scroll/index.esm.js +1 -1
- package/lib/containers/index.esm.js +1 -1
- package/lib/dataDisplay/DataTable/DataTable.style.d.ts +8 -8
- package/lib/dataDisplay/DataTable/index.esm.js +1 -1
- package/lib/dataDisplay/DescriptionList/DescriptionList.interface.d.ts +8 -1
- package/lib/dataDisplay/DescriptionList/index.esm.js +1 -1
- package/lib/dataDisplay/Meter/Meter.interface.d.ts +2 -1
- package/lib/dataDisplay/Meter/Meter.style.d.ts +70 -6
- package/lib/dataDisplay/Meter/index.esm.js +1 -1
- package/lib/dataDisplay/Steps/Steps.style.d.ts +210 -18
- package/lib/dataDisplay/Steps/index.esm.js +1 -1
- package/lib/dataDisplay/Table/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableEmpty/TableEmpty.style.d.ts +141 -13
- package/lib/dataDisplay/Table/TableEmpty/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableFooter/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TableHeaderCheckboxCell/index.esm.js +1 -1
- package/lib/dataDisplay/Table/TablePagination/index.esm.js +1 -1
- package/lib/dataDisplay/Table/index.esm.js +1 -1
- package/lib/dataDisplay/Tabs/Tabs.style.d.ts +401 -81
- package/lib/dataDisplay/Tabs/index.esm.js +1 -1
- package/lib/dataDisplay/index.esm.js +1 -1
- package/lib/elements/Avatar/Avatar.interface.d.ts +4 -1
- package/lib/elements/Avatar/Avatar.style.d.ts +6 -18
- package/lib/elements/Avatar/index.esm.js +1 -1
- package/lib/elements/Button/Button.style.d.ts +70 -6
- package/lib/elements/Button/index.esm.js +1 -1
- package/lib/elements/Divider/Divider.style.d.ts +77 -24
- package/lib/elements/Divider/index.esm.js +1 -1
- package/lib/elements/Dropdown/Dropdown.d.ts +1 -1
- package/lib/elements/Dropdown/Dropdown.floating.d.ts +38 -0
- package/lib/elements/Dropdown/Dropdown.interface.d.ts +9 -0
- package/lib/elements/Dropdown/index.esm.js +1 -1
- package/lib/elements/Icon/index.esm.js +1 -1
- package/lib/elements/IconButton/IconButton.style.d.ts +280 -24
- package/lib/elements/IconButton/index.esm.js +1 -1
- package/lib/elements/IconText/IconText.interface.d.ts +3 -1
- package/lib/elements/IconText/IconText.style.d.ts +6 -17
- package/lib/elements/IconText/index.esm.js +1 -1
- package/lib/elements/Image/Image.interface.d.ts +2 -1
- package/lib/elements/Image/index.esm.js +1 -1
- package/lib/elements/Label/index.esm.js +1 -1
- package/lib/elements/Link/Link.style.d.ts +4 -4
- package/lib/elements/Link/index.esm.js +1 -1
- package/lib/elements/List/List.style.d.ts +72 -20
- package/lib/elements/List/index.esm.js +1 -1
- package/lib/elements/Modal/Modal.style.d.ts +166 -62
- package/lib/elements/Modal/index.esm.js +1 -1
- package/lib/elements/Popover/Popover.style.d.ts +13 -0
- package/lib/elements/Popover/index.esm.js +1 -1
- package/lib/elements/ProgressBar/ProgressBar.interface.d.ts +2 -1
- package/lib/elements/ProgressBar/ProgressBar.style.d.ts +70 -6
- package/lib/elements/ProgressBar/index.esm.js +1 -1
- package/lib/elements/Sheet/Sheet.style.d.ts +84 -20
- package/lib/elements/Sheet/index.esm.js +1 -1
- package/lib/elements/Spinner/index.esm.js +1 -1
- package/lib/elements/Svg/Svg.interface.d.ts +2 -1
- package/lib/elements/Svg/Svg.style.d.ts +1 -1
- package/lib/elements/Svg/index.esm.js +1 -1
- package/lib/elements/Text/Text.props.d.ts +9 -8
- package/lib/elements/Text/index.esm.js +1 -1
- package/lib/elements/Tooltip/Tooltip.floating.d.ts +36 -0
- package/lib/elements/Tooltip/index.esm.js +1 -1
- package/lib/elements/index.esm.js +1 -1
- package/lib/factory/ContainerQueryFactory/ContainerQueryFactory.interface.d.ts +21 -6
- package/lib/factory/ContainerQueryFactory/index.esm.js +1 -1
- package/lib/factory/FlexFactory/FlexFactory.d.ts +3 -1
- package/lib/factory/FlexFactory/index.esm.js +1 -1
- package/lib/factory/PlacementFactory/PlacementFactory.d.ts +25 -0
- package/lib/factory/PlacementFactory/PlacementFactory.interface.d.ts +30 -0
- package/lib/factory/PlacementFactory/index.d.ts +2 -0
- package/lib/factory/PlacementFactory/index.esm.js +1 -0
- package/lib/factory/ResponsiveFactory/ResponsiveFactory.interface.d.ts +12 -0
- package/lib/factory/ResponsiveFactory/index.esm.js +1 -1
- package/lib/factory/System/System.d.ts +5 -0
- package/lib/factory/System/System.interface.d.ts +72 -3
- package/lib/factory/System/index.esm.js +1 -1
- package/lib/factory/ViewportMediaFactory/ViewportMediaFactory.d.ts +25 -0
- package/lib/factory/ViewportMediaFactory/ViewportMediaFactory.interface.d.ts +50 -0
- package/lib/factory/ViewportMediaFactory/index.d.ts +8 -0
- package/lib/factory/ViewportMediaFactory/index.esm.js +1 -0
- package/lib/factory/index.d.ts +2 -0
- package/lib/factory/index.esm.js +1 -1
- package/lib/form/Checkbox/Checkbox.d.ts +1 -1
- package/lib/form/Checkbox/Checkbox.interface.d.ts +2 -1
- package/lib/form/Checkbox/Checkbox.style.d.ts +145 -16
- package/lib/form/Checkbox/index.esm.js +1 -1
- package/lib/form/Field/Field.interface.d.ts +2 -2
- package/lib/form/Field/Field.style.d.ts +80 -16
- package/lib/form/Field/index.esm.js +1 -1
- package/lib/form/FieldGroup/index.esm.js +1 -1
- package/lib/form/Form/Form.interface.d.ts +2 -1
- package/lib/form/Form/Form.style.d.ts +76 -12
- package/lib/form/Form/index.esm.js +1 -1
- package/lib/form/Input/Input.interface.d.ts +2 -2
- package/lib/form/Input/Input.style.d.ts +76 -12
- package/lib/form/Input/index.esm.js +1 -1
- package/lib/form/InputCurrency/InputCurrency.style.d.ts +70 -6
- package/lib/form/InputCurrency/index.esm.js +1 -1
- package/lib/form/InputDate/index.esm.js +1 -1
- package/lib/form/InputMask/index.esm.js +1 -1
- package/lib/form/InputRange/InputRange.d.ts +1 -1
- package/lib/form/InputRange/InputRange.interface.d.ts +2 -1
- package/lib/form/InputRange/InputRange.style.d.ts +8 -8
- package/lib/form/InputRange/index.esm.js +1 -1
- package/lib/form/InputSelect/index.esm.js +1 -1
- package/lib/form/Option/Option.style.d.ts +70 -6
- package/lib/form/Option/index.esm.js +1 -1
- package/lib/form/Radio/Radio.d.ts +1 -1
- package/lib/form/Radio/Radio.interface.d.ts +2 -1
- package/lib/form/Radio/Radio.style.d.ts +4 -4
- package/lib/form/Radio/index.esm.js +1 -1
- package/lib/form/Select/Select.interface.d.ts +2 -1
- package/lib/form/Select/Select.style.d.ts +2 -1
- package/lib/form/Select/index.esm.js +1 -1
- package/lib/form/Switch/Switch.d.ts +1 -1
- package/lib/form/Switch/Switch.interface.d.ts +2 -1
- package/lib/form/Switch/Switch.style.d.ts +4 -3
- package/lib/form/Switch/index.esm.js +1 -1
- package/lib/form/TextArea/TextArea.interface.d.ts +2 -1
- package/lib/form/TextArea/TextArea.style.d.ts +72 -8
- package/lib/form/TextArea/index.esm.js +1 -1
- package/lib/form/UploadCard/UploadCard.style.d.ts +113 -47
- package/lib/form/UploadCard/index.esm.js +1 -1
- package/lib/form/index.esm.js +1 -1
- package/lib/hooks/index.esm.js +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.style.d.ts +12 -12
- package/lib/layouts/DefaultLayout/index.esm.js +1 -1
- package/lib/layouts/SideBarLayout/SideBarLayout.style.d.ts +12 -12
- package/lib/layouts/SideBarLayout/index.esm.js +1 -1
- package/lib/layouts/index.esm.js +1 -1
- package/lib/skeleton/ComposedSkeleton/index.esm.js +1 -1
- package/lib/skeleton/TextPreset/index.esm.js +1 -1
- package/lib/skeleton/index.esm.js +1 -1
- package/lib/themes/GlobalStyle/index.esm.js +1 -1
- package/lib/themes/ThemeProvider/index.esm.js +1 -1
- package/lib/themes/index.esm.js +1 -1
- package/package.json +5 -13
- package/lib/chunks/Notification.group-A2B3AOWQ.esm.js +0 -1
- package/lib/chunks/chunk-4MZWNQEG.esm.js +0 -1
- package/lib/chunks/chunk-52ZUY32C.esm.js +0 -1
- package/lib/chunks/chunk-6A67VC76.esm.js +0 -1
- package/lib/chunks/chunk-75RZEPGR.esm.js +0 -1
- package/lib/chunks/chunk-CT2E5OHH.esm.js +0 -1
- package/lib/chunks/chunk-DNEZUVFF.esm.js +0 -4
- package/lib/chunks/chunk-DNPDRN65.esm.js +0 -1
- package/lib/chunks/chunk-DXBBCZ2G.esm.js +0 -1
- package/lib/chunks/chunk-E3DFLAI2.esm.js +0 -1
- package/lib/chunks/chunk-HEPTXYI6.esm.js +0 -1
- package/lib/chunks/chunk-HHMU4JQU.esm.js +0 -1
- package/lib/chunks/chunk-I6OALESP.esm.js +0 -1
- package/lib/chunks/chunk-J2WMKVZ6.esm.js +0 -1
- package/lib/chunks/chunk-N4HS4XKA.esm.js +0 -26
- package/lib/chunks/chunk-RSQIUWSS.esm.js +0 -1
- package/lib/chunks/chunk-SGFHFA5O.esm.js +0 -1
- package/lib/chunks/chunk-T45OIU7I.esm.js +0 -1
- package/lib/chunks/chunk-TOLIKUNQ.esm.js +0 -1
- package/lib/chunks/chunk-WUMLGV6U.esm.js +0 -1
- package/lib/chunks/chunk-WYMKPFHD.esm.js +0 -1
- package/lib/chunks/chunk-YHM3YIO6.esm.js +0 -1
- package/lib/chunks/chunk-Z2ESWFUW.esm.js +0 -43
- package/lib/chunks/chunk-ZAYWAUKZ.esm.js +0 -1
- /package/lib/chunks/{chunk-AIUT47H7.esm.js → chunk-MPMCXGOX.esm.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { FlexFactoryProps } from '../../factory/FlexFactory';
|
|
3
|
+
import { LayoutContainerProps, PolymorphicProps } from '../../factory/System';
|
|
3
4
|
import { BreakpointTypes } from '../../themes/Breakpoints';
|
|
4
5
|
import { SpacingInterface } from '../../themes/Spacing';
|
|
5
6
|
import { Theme } from '../../themes/ThemeProvider';
|
|
6
|
-
import { BaseContainerProps } from '../Base';
|
|
7
7
|
/**
|
|
8
8
|
* Breakpoints accepted by the `Grid`'s `medias` prop.
|
|
9
9
|
*
|
|
@@ -75,13 +75,13 @@ export type GridAlignmentProps = Pick<FlexFactoryProps, 'alignItems' | 'justifyC
|
|
|
75
75
|
*/
|
|
76
76
|
export type GridBreakpoints = Partial<Record<GridMediasTypes, GridMediaInterface>> & GridMediaInterface;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
78
|
+
* The grid-specific shape — the box alignment surface plus the responsive grid
|
|
79
|
+
* template (`medias`) — **without** the responsive channels. Channel-agnostic,
|
|
80
|
+
* so both the layout `Grid` ({@link GridPropsInterface}) and the Grid-rooted
|
|
81
|
+
* **surface** `Card` compose it: `Grid` adds the layout channels, `Card` the
|
|
82
|
+
* surface channels (ADR-028).
|
|
83
83
|
*/
|
|
84
|
-
export interface
|
|
84
|
+
export interface GridShapeProps extends GridAlignmentProps {
|
|
85
85
|
/**
|
|
86
86
|
* Responsive grid configuration. Accepts either a "flat" config
|
|
87
87
|
* (applied as the default) or an object with per-breakpoint keys
|
|
@@ -93,6 +93,17 @@ export interface GridPropsInterface extends BaseContainerProps, GridAlignmentPro
|
|
|
93
93
|
* ```
|
|
94
94
|
*/
|
|
95
95
|
medias?: GridBreakpoints;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Props of the `Grid` before the native `<div>` props.
|
|
99
|
+
*
|
|
100
|
+
* `Grid` is a **layout** container — structure only (ADR-028). It extends the
|
|
101
|
+
* layout surface ({@link LayoutContainerProps}: spacing, size, container
|
|
102
|
+
* geometry, layout-only responsive channels) plus the grid template + alignment
|
|
103
|
+
* ({@link GridShapeProps}). It carries **no** background, border, elevation,
|
|
104
|
+
* typography or motion — the Grid-rooted **surface** is `Card`.
|
|
105
|
+
*/
|
|
106
|
+
export interface GridPropsInterface extends LayoutContainerProps, GridShapeProps {
|
|
96
107
|
children?: ReactNode;
|
|
97
108
|
}
|
|
98
109
|
/**
|
|
@@ -102,6 +113,19 @@ export interface GridPropsInterface extends BaseContainerProps, GridAlignmentPro
|
|
|
102
113
|
*/
|
|
103
114
|
export interface DefaultGridInterface extends GridPropsInterface, Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
104
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Public props type for annotating a `Grid` **layout object** — the runtime
|
|
118
|
+
* interface plus the `styled-components` polymorphic {@link PolymorphicProps}
|
|
119
|
+
* (`as`/`forwardedAs`). Use this (not `DefaultGridInterface`) when a consumer
|
|
120
|
+
* types a plain object and needs `as`, so no local augmentation or
|
|
121
|
+
* `ComponentProps<typeof Grid>` workaround is needed.
|
|
122
|
+
*
|
|
123
|
+
* `as`/`forwardedAs` live here rather than on `DefaultGridInterface` because
|
|
124
|
+
* that interface is the generic passed to `styled(...)` internally, where a
|
|
125
|
+
* polymorphic `as` blows the styled-components union past the TS ceiling
|
|
126
|
+
* (TS2590). The styled `Grid` component itself still accepts `as` natively.
|
|
127
|
+
*/
|
|
128
|
+
export type GridProps = DefaultGridInterface & PolymorphicProps;
|
|
105
129
|
/**
|
|
106
130
|
* Props that reach the Grid's styled-components functions. Equivalent to
|
|
107
131
|
* {@link DefaultGridInterface} with the `theme` injected by the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridShapeProps, GridStyleProps } from './Grid.interface';
|
|
2
2
|
import { CSSObject } from '../../vendors/StyledComponents';
|
|
3
3
|
/**
|
|
4
4
|
* Builds the responsive CSS from `medias`.
|
|
@@ -17,10 +17,10 @@ export declare const setGridBreakpoints: ({ medias, theme }: GridStyleProps) =>
|
|
|
17
17
|
*
|
|
18
18
|
* Exposed as `Grid` in the barrel.
|
|
19
19
|
*/
|
|
20
|
-
export declare const DefaultGridStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").
|
|
20
|
+
export declare const DefaultGridStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
21
21
|
as?: import("styled-components").WebTarget;
|
|
22
22
|
forwardedAs?: import("styled-components").WebTarget;
|
|
23
|
-
}, keyof
|
|
23
|
+
}, keyof GridShapeProps> & GridShapeProps, never> & Partial<Pick<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
24
24
|
as?: import("styled-components").WebTarget;
|
|
25
25
|
forwardedAs?: import("styled-components").WebTarget;
|
|
26
|
-
}, keyof
|
|
26
|
+
}, keyof GridShapeProps> & GridShapeProps, never>>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../../chunks/chunk-
|
|
1
|
+
import{a,b}from"../../chunks/chunk-OEEVC5Y2.esm.js";import"../../chunks/chunk-347TNROV.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-TBHGVERY.esm.js";import"../../chunks/chunk-62CVSGJD.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-VUFEYXWD.esm.js";import"../../chunks/chunk-SF2QSF7E.esm.js";import"../../chunks/chunk-MBQGF5IM.esm.js";import"../../chunks/chunk-CK3WBMQQ.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-RZLOZ3NW.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-TZQMBDGR.esm.js";import"../../chunks/chunk-WCUEINBQ.esm.js";import"../../chunks/chunk-YJ6PPJQ4.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-3A7I6HM2.esm.js";import"../../chunks/chunk-XTY6DXMK.esm.js";import"../../chunks/chunk-R2B57RMV.esm.js";import"../../chunks/chunk-RFUX53ZX.esm.js";import"../../chunks/chunk-CQASQBD7.esm.js";import"../../chunks/chunk-MREWGN5R.esm.js";import"../../chunks/chunk-PXVTXO3L.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{b as DefaultGridStyle,b as Grid,a as setGridBreakpoints};
|
|
@@ -38,7 +38,7 @@ export declare const BaseNotification: React.ForwardRefExoticComponent<{
|
|
|
38
38
|
action?: React.ReactNode | ((p: {
|
|
39
39
|
close: () => void;
|
|
40
40
|
}) => React.ReactNode);
|
|
41
|
-
} & import("..").DefaultFlexInterface & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
} & import("..").DefaultFlexInterface & import("../../factory").SurfaceFactoryProps & import("../../factory").MotionFactoryProps & React.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
/**
|
|
43
43
|
* `type="page"` variation — renders the notification in a portal on
|
|
44
44
|
* `document.body`, fixed to the top or bottom of the page (controlled by
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LinkInterface } from '../../elements/Link';
|
|
3
|
+
import { MotionFactoryProps } from '../../factory/MotionFactory';
|
|
4
|
+
import { SurfaceFactoryProps } from '../../factory/System';
|
|
3
5
|
import { DefaultFlexInterface } from '../Flex';
|
|
4
6
|
/**
|
|
5
7
|
* Visual types accepted by `Notification`.
|
|
@@ -112,7 +114,7 @@ export type NotificationInterface = {
|
|
|
112
114
|
action?: React.ReactNode | ((p: {
|
|
113
115
|
close: () => void;
|
|
114
116
|
}) => React.ReactNode);
|
|
115
|
-
} & DefaultFlexInterface;
|
|
117
|
+
} & DefaultFlexInterface & SurfaceFactoryProps & MotionFactoryProps;
|
|
116
118
|
/**
|
|
117
119
|
* Internal shape used in the toast queue. Adds the `id` generated by
|
|
118
120
|
* `nanoid()` to allow targeted removal.
|
|
@@ -3,42 +3,94 @@ import { NotificationVariants } from './Notification.interface';
|
|
|
3
3
|
* Internal progress bar of the notification. Duration comes from the
|
|
4
4
|
* `--time` CSS variable, set inline by the component.
|
|
5
5
|
*/
|
|
6
|
-
export declare const NotificationProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("
|
|
6
|
+
export declare const NotificationProgress: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
7
7
|
as?: import("styled-components").WebTarget;
|
|
8
8
|
forwardedAs?: import("styled-components").WebTarget;
|
|
9
9
|
}, never> & Partial<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
10
10
|
as?: import("styled-components").WebTarget;
|
|
11
11
|
forwardedAs?: import("styled-components").WebTarget;
|
|
12
|
-
}, never>> & {
|
|
13
|
-
as?: import("styled-components").WebTarget;
|
|
14
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
15
|
-
}, never> & Partial<Pick<import("styled-components").FastOmit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
16
|
-
as?: import("styled-components").WebTarget;
|
|
17
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
18
|
-
}, never> & Partial<Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("../../factory").ApollionProps & {
|
|
19
|
-
as?: import("styled-components").WebTarget;
|
|
20
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
21
|
-
}, never>> & {
|
|
22
|
-
as?: import("styled-components").WebTarget;
|
|
23
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
24
12
|
}, never>>> & string;
|
|
25
13
|
/** Absolutely positioned container of the progress bar, placed at the top. */
|
|
26
|
-
export declare const ProgressContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").
|
|
27
|
-
as?: import("styled-components").WebTarget;
|
|
28
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
export declare const ProgressContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
15
|
+
as?: import("styled-components").WebTarget;
|
|
16
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
17
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
18
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
19
|
+
gap?: import("../../themes").SpacingInterface;
|
|
20
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
21
|
+
flexBasis: string | number;
|
|
22
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
23
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
24
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
25
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
26
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
27
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
28
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
29
|
+
grow: boolean;
|
|
30
|
+
shrink: boolean;
|
|
31
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
32
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
33
|
+
}>, never> & Partial<Pick<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
34
|
+
as?: import("styled-components").WebTarget;
|
|
35
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
36
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
37
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
38
|
+
gap?: import("../../themes").SpacingInterface;
|
|
39
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
40
|
+
flexBasis: string | number;
|
|
41
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
42
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
43
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
44
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
45
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
46
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
47
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
48
|
+
grow: boolean;
|
|
49
|
+
shrink: boolean;
|
|
50
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
51
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
52
|
+
}>, never>> & {
|
|
53
|
+
as?: import("styled-components").WebTarget;
|
|
54
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
55
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
56
|
+
as?: import("styled-components").WebTarget;
|
|
57
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
58
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
59
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
60
|
+
gap?: import("../../themes").SpacingInterface;
|
|
61
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
62
|
+
flexBasis: string | number;
|
|
63
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
64
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
65
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
66
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
67
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
68
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
69
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
70
|
+
grow: boolean;
|
|
71
|
+
shrink: boolean;
|
|
72
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
73
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
74
|
+
}>, never> & Partial<Pick<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
75
|
+
as?: import("styled-components").WebTarget;
|
|
76
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
77
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
78
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
79
|
+
gap?: import("../../themes").SpacingInterface;
|
|
80
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
81
|
+
flexBasis: string | number;
|
|
82
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
83
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
84
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
85
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
86
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
87
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
88
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
89
|
+
grow: boolean;
|
|
90
|
+
shrink: boolean;
|
|
91
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
92
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
93
|
+
}>, never>> & {
|
|
42
94
|
as?: import("styled-components").WebTarget;
|
|
43
95
|
forwardedAs?: import("styled-components").WebTarget;
|
|
44
96
|
}, never>>> & string;
|
|
@@ -62,22 +114,86 @@ export declare const WrapperNotificationStyle: import("styled-components/dist/ty
|
|
|
62
114
|
* Container for the left-hand icon. Applies the `--darkColor` color and
|
|
63
115
|
* forces a fixed size on the SVG.
|
|
64
116
|
*/
|
|
65
|
-
export declare const NotificationIconStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").
|
|
66
|
-
as?: import("styled-components").WebTarget;
|
|
67
|
-
forwardedAs?: import("styled-components").WebTarget;
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
117
|
+
export declare const NotificationIconStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
118
|
+
as?: import("styled-components").WebTarget;
|
|
119
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
120
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
121
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
122
|
+
gap?: import("../../themes").SpacingInterface;
|
|
123
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
124
|
+
flexBasis: string | number;
|
|
125
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
126
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
127
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
128
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
129
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
130
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
131
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
132
|
+
grow: boolean;
|
|
133
|
+
shrink: boolean;
|
|
134
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
135
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
136
|
+
}>, never> & Partial<Pick<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
137
|
+
as?: import("styled-components").WebTarget;
|
|
138
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
139
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
140
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
141
|
+
gap?: import("../../themes").SpacingInterface;
|
|
142
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
143
|
+
flexBasis: string | number;
|
|
144
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
145
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
146
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
147
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
148
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
149
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
150
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
151
|
+
grow: boolean;
|
|
152
|
+
shrink: boolean;
|
|
153
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
154
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
155
|
+
}>, never>> & {
|
|
156
|
+
as?: import("styled-components").WebTarget;
|
|
157
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
158
|
+
}, never> & Partial<Pick<import("styled-components").FastOmit<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
159
|
+
as?: import("styled-components").WebTarget;
|
|
160
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
161
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
162
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
163
|
+
gap?: import("../../themes").SpacingInterface;
|
|
164
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
165
|
+
flexBasis: string | number;
|
|
166
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
167
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
168
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
169
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
170
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
171
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
172
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
173
|
+
grow: boolean;
|
|
174
|
+
shrink: boolean;
|
|
175
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
176
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
177
|
+
}>, never> & Partial<Pick<import("styled-components").FastOmit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color"> & import("../../factory").LayoutContainerProps & {
|
|
178
|
+
as?: import("styled-components").WebTarget;
|
|
179
|
+
forwardedAs?: import("styled-components").WebTarget;
|
|
180
|
+
}, "wrap" | "flex" | "gap" | "flexDirection" | "flexBasis" | "justifyContent" | "alignItems" | "alignContent" | "justifyItems" | "placeItems" | "alignSelf" | "grow" | "shrink" | "order" | "justifySelf"> & Partial<{
|
|
181
|
+
flex: import("../../factory/FlexFactory/FlexFactory.interface").Flex;
|
|
182
|
+
gap?: import("../../themes").SpacingInterface;
|
|
183
|
+
flexDirection: import("../../factory/FlexFactory/FlexFactory.interface").FlexDirection;
|
|
184
|
+
flexBasis: string | number;
|
|
185
|
+
justifyContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexJustify;
|
|
186
|
+
alignItems: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignItems;
|
|
187
|
+
alignContent: import("../../factory/FlexFactory/FlexFactory.interface").FlexAlignContent;
|
|
188
|
+
justifyItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
189
|
+
placeItems: import("../../factory/FlexFactory/FlexFactory.interface").GridItemsAlign;
|
|
190
|
+
wrap: import("../../factory/FlexFactory/FlexFactory.interface").FlexWrap;
|
|
191
|
+
alignSelf: import("../../factory/FlexFactory/FlexFactory.interface").AlignSelf;
|
|
192
|
+
grow: boolean;
|
|
193
|
+
shrink: boolean;
|
|
194
|
+
order: import("../../factory/FlexFactory/FlexFactory.interface").FlexOrder;
|
|
195
|
+
justifySelf: import("../../factory/FlexFactory/FlexFactory.interface").JustifySelf;
|
|
196
|
+
}>, never>> & {
|
|
81
197
|
as?: import("styled-components").WebTarget;
|
|
82
198
|
forwardedAs?: import("styled-components").WebTarget;
|
|
83
199
|
}, never>>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../../chunks/chunk-DG6QINOD.esm.js";import{a,b,c,d,e}from"../../chunks/chunk-
|
|
1
|
+
import"../../chunks/chunk-DG6QINOD.esm.js";import{a,b,c,d,e}from"../../chunks/chunk-42TLD4GM.esm.js";import"../../chunks/chunk-EK6YOJCW.esm.js";import"../../chunks/chunk-ZMHNNJNC.esm.js";import"../../chunks/chunk-KQQ7V7VG.esm.js";import"../../chunks/chunk-A3OJEVGQ.esm.js";import"../../chunks/chunk-RR2TYGZC.esm.js";import"../../chunks/chunk-2FQC32AA.esm.js";import"../../chunks/chunk-HSKYQ6VP.esm.js";import"../../chunks/chunk-SPHHNZVP.esm.js";import"../../chunks/chunk-4UWZA5FD.esm.js";import"../../chunks/chunk-3QSPHURU.esm.js";import"../../chunks/chunk-NDIYF5SX.esm.js";import"../../chunks/chunk-KR2X2UQG.esm.js";import"../../chunks/chunk-BE2JDTVA.esm.js";import"../../chunks/chunk-KZTG5TDM.esm.js";import"../../chunks/chunk-5ILT45RQ.esm.js";import"../../chunks/chunk-DAT6GD4T.esm.js";import"../../chunks/chunk-H4XR4LGF.esm.js";import"../../chunks/chunk-HGOJTQ3L.esm.js";import"../../chunks/chunk-JLUNVLUS.esm.js";import"../../chunks/chunk-7TJO34VI.esm.js";import"../../chunks/chunk-JLQDS5TS.esm.js";import"../../chunks/chunk-5Q265MC7.esm.js";import"../../chunks/chunk-3V3ZEGHO.esm.js";import"../../chunks/chunk-CC5NKEXF.esm.js";import"../../chunks/chunk-J2ZPCUOE.esm.js";import"../../chunks/chunk-EBOJSNZ5.esm.js";import"../../chunks/chunk-4E3BR56X.esm.js";import"../../chunks/chunk-TMIQIUOH.esm.js";import"../../chunks/chunk-4L2KOZIQ.esm.js";import"../../chunks/chunk-MYGV5PMT.esm.js";import{c as f,d as g}from"../../chunks/chunk-4TQV5FFJ.esm.js";import"../../chunks/chunk-YJHYFCT7.esm.js";import"../../chunks/chunk-TLIKQFOT.esm.js";import"../../chunks/chunk-IA234JY2.esm.js";import"../../chunks/chunk-TG5BCBO4.esm.js";import"../../chunks/chunk-G757UD32.esm.js";import"../../chunks/chunk-OSFHXCPW.esm.js";import"../../chunks/chunk-BERIBF3O.esm.js";import"../../chunks/chunk-LVVNQRJ2.esm.js";import"../../chunks/chunk-Z7GJDO5T.esm.js";import"../../chunks/chunk-P7RR4ZHS.esm.js";import"../../chunks/chunk-JOKVE3IX.esm.js";import"../../chunks/chunk-CWRWYU7D.esm.js";import"../../chunks/chunk-PFLBU7HG.esm.js";import"../../chunks/chunk-TG2P4DDY.esm.js";import"../../chunks/chunk-UHABJEDB.esm.js";import"../../chunks/chunk-3DUB5C4Z.esm.js";import"../../chunks/chunk-KT6QQ3UJ.esm.js";import"../../chunks/chunk-HVFI7FHR.esm.js";import"../../chunks/chunk-YSSFTYCU.esm.js";import"../../chunks/chunk-ZQ5JOSGH.esm.js";import"../../chunks/chunk-KT4BKJVV.esm.js";import"../../chunks/chunk-UDQ3TYVZ.esm.js";import"../../chunks/chunk-347TNROV.esm.js";import"../../chunks/chunk-MPMCXGOX.esm.js";import"../../chunks/chunk-TBHGVERY.esm.js";import"../../chunks/chunk-62CVSGJD.esm.js";import"../../chunks/chunk-VMIXRIQ2.esm.js";import"../../chunks/chunk-VUFEYXWD.esm.js";import"../../chunks/chunk-SF2QSF7E.esm.js";import"../../chunks/chunk-MBQGF5IM.esm.js";import"../../chunks/chunk-CK3WBMQQ.esm.js";import"../../chunks/chunk-RWLJNXLX.esm.js";import"../../chunks/chunk-RZLOZ3NW.esm.js";import"../../chunks/chunk-IK5Z5C2R.esm.js";import"../../chunks/chunk-BNB3KNKE.esm.js";import"../../chunks/chunk-OXQA5WD3.esm.js";import"../../chunks/chunk-TZQMBDGR.esm.js";import"../../chunks/chunk-WCUEINBQ.esm.js";import"../../chunks/chunk-YJ6PPJQ4.esm.js";import"../../chunks/chunk-QYL6LECA.esm.js";import"../../chunks/chunk-3A7I6HM2.esm.js";import"../../chunks/chunk-XTY6DXMK.esm.js";import"../../chunks/chunk-R2B57RMV.esm.js";import"../../chunks/chunk-RFUX53ZX.esm.js";import"../../chunks/chunk-CQASQBD7.esm.js";import"../../chunks/chunk-MREWGN5R.esm.js";import"../../chunks/chunk-PXVTXO3L.esm.js";import"../../chunks/chunk-BV6GHAF7.esm.js";import"../../chunks/chunk-G5Z7USXC.esm.js";import"../../chunks/chunk-AXUWC2WH.esm.js";import"../../chunks/chunk-GZONWSRB.esm.js";export{e as Notification,d as NotificationIconStyle,a as NotificationProgress,f as NotificationsProvider,b as ProgressContainer,c as WrapperNotificationStyle,g as useNotification};
|
|
@@ -1,10 +1,37 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { FlexFactoryProps } from '../../factory/FlexFactory';
|
|
3
|
+
import { PolymorphicProps, SurfaceContainerProps } from '../../factory/System';
|
|
2
4
|
/**
|
|
3
|
-
* Props of the `Paper` component.
|
|
5
|
+
* Props of the `Paper` component before the native `<div>` props.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* `Paper` is the flex **surface** (ADR-028): it builds on
|
|
8
|
+
* {@link SurfaceContainerProps} (the layout factory group + the surface group
|
|
9
|
+
* `bgColor`/border/`deep` + the responsive channels at full width, so a Paper
|
|
10
|
+
* may respond to breakpoint/slot width with surface props too) plus the flex
|
|
11
|
+
* layout props ({@link FlexFactoryProps}). Pre-configured via `.attrs` —
|
|
12
|
+
* `p="medium"`, `borderRadius="micro"`, `bgColor="surface.paper"`, `deep={2}`
|
|
13
|
+
* (the paper ground of the surface ladder, ADR-023) — all overridable.
|
|
9
14
|
*/
|
|
10
|
-
export
|
|
15
|
+
export interface PaperPropsInterface extends SurfaceContainerProps, FlexFactoryProps {
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Renders the surface **flat**: transparent background and no elevation
|
|
19
|
+
* (`deep: 0`), keeping every other Paper ergonomic. A resting neutral state
|
|
20
|
+
* that can be animated to a solid raised surface (e.g. transparent on mobile,
|
|
21
|
+
* a raised panel on desktop; a neutral→filled reveal). An explicit `bgColor`
|
|
22
|
+
* or `deep` still wins over the flat defaults.
|
|
23
|
+
*
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
flat?: boolean;
|
|
27
|
+
}
|
|
28
|
+
type NativeProps = Omit<React.ComponentPropsWithoutRef<'div'>, 'children'>;
|
|
29
|
+
/** Complete runtime props of `<Paper>` — factory props + native `<div>` props. */
|
|
30
|
+
export interface DefaultPaperInterface extends PaperPropsInterface, NativeProps {
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Public props type for annotating a `Paper` **layout object** — the runtime
|
|
34
|
+
* interface plus the polymorphic `as`/`forwardedAs`.
|
|
35
|
+
*/
|
|
36
|
+
export type PaperProps = DefaultPaperInterface & PolymorphicProps;
|
|
37
|
+
export {};
|