@guardian/stand 0.0.59 → 0.0.61
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/dist/HtmlPreviewLoader.cjs +7 -0
- package/dist/HtmlPreviewLoader.d.cts +4 -0
- package/dist/HtmlPreviewLoader.d.ts +4 -0
- package/dist/HtmlPreviewLoader.js +4 -0
- package/dist/components/AlertBanner/AlertBanner.d.cts +1 -12
- package/dist/components/AlertBanner/AlertBanner.d.ts +1 -12
- package/dist/components/AlertBanner/styles.d.cts +1 -1
- package/dist/components/AlertBanner/styles.d.ts +1 -1
- package/dist/components/AlertBanner/types.d.cts +2 -1
- package/dist/components/AlertBanner/types.d.ts +2 -1
- package/dist/components/Avatar/Avatar.d.cts +1 -11
- package/dist/components/Avatar/Avatar.d.ts +1 -11
- package/dist/components/Avatar/styles.d.cts +1 -1
- package/dist/components/Avatar/styles.d.ts +1 -1
- package/dist/components/Avatar/types.d.cts +1 -2
- package/dist/components/Avatar/types.d.ts +1 -2
- package/dist/components/AvatarButton/AvatarButton.d.cts +0 -1
- package/dist/components/AvatarButton/AvatarButton.d.ts +0 -1
- package/dist/components/AvatarButton/styles.d.cts +0 -1
- package/dist/components/AvatarButton/styles.d.ts +0 -1
- package/dist/components/AvatarButton/types.d.cts +0 -1
- package/dist/components/AvatarButton/types.d.ts +0 -1
- package/dist/components/AvatarLink/AvatarLink.d.cts +0 -1
- package/dist/components/AvatarLink/AvatarLink.d.ts +0 -1
- package/dist/components/AvatarLink/styles.d.cts +0 -1
- package/dist/components/AvatarLink/styles.d.ts +0 -1
- package/dist/components/AvatarLink/types.d.cts +0 -1
- package/dist/components/AvatarLink/types.d.ts +0 -1
- package/dist/components/Button/Button.d.cts +1 -9
- package/dist/components/Button/Button.d.ts +1 -9
- package/dist/components/Button/styles.cjs +6 -6
- package/dist/components/Button/styles.d.cts +1 -1
- package/dist/components/Button/styles.d.ts +1 -1
- package/dist/components/Button/styles.js +6 -6
- package/dist/components/Button/types.d.cts +0 -1
- package/dist/components/Button/types.d.ts +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.cjs +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.cts +1 -7
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -7
- package/dist/components/ButtonGroup/styles.d.cts +0 -1
- package/dist/components/ButtonGroup/styles.d.ts +0 -1
- package/dist/components/ButtonGroup/types.d.cts +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -1
- package/dist/components/Byline/Byline.d.cts +20 -22
- package/dist/components/Byline/Byline.d.ts +20 -22
- package/dist/components/Byline/lib.cjs +2 -0
- package/dist/components/Byline/lib.d.cts +3 -0
- package/dist/components/Byline/lib.d.ts +2 -0
- package/dist/components/Byline/lib.js +1 -1
- package/dist/components/Byline/theme.d.cts +0 -1
- package/dist/components/Byline/theme.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.cts +1 -9
- package/dist/components/Checkbox/Checkbox.d.ts +1 -9
- package/dist/components/Checkbox/CheckboxGroup.cjs +1 -1
- package/dist/components/Checkbox/CheckboxGroup.d.cts +1 -6
- package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -6
- package/dist/components/Checkbox/styles.cjs +2 -2
- package/dist/components/Checkbox/styles.d.cts +1 -1
- package/dist/components/Checkbox/styles.d.ts +1 -1
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Checkbox/types.d.cts +0 -1
- package/dist/components/Checkbox/types.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.d.cts +1 -8
- package/dist/components/DatePicker/DatePicker.d.ts +1 -8
- package/dist/components/DatePicker/styles.d.cts +0 -1
- package/dist/components/DatePicker/styles.d.ts +0 -1
- package/dist/components/DatePicker/types.d.cts +1 -1
- package/dist/components/DatePicker/types.d.ts +1 -1
- package/dist/components/Favicon/Favicon.d.cts +0 -1
- package/dist/components/Favicon/Favicon.d.ts +0 -1
- package/dist/components/Favicon/styles.d.cts +0 -1
- package/dist/components/Favicon/styles.d.ts +0 -1
- package/dist/components/Favicon/types.d.cts +0 -1
- package/dist/components/Favicon/types.d.ts +0 -1
- package/dist/components/Form/styles.cjs +6 -6
- package/dist/components/Form/styles.d.cts +1 -1
- package/dist/components/Form/styles.d.ts +1 -1
- package/dist/components/Form/styles.js +6 -6
- package/dist/components/Form/types.d.cts +0 -1
- package/dist/components/Form/types.d.ts +0 -1
- package/dist/components/Grid/Grid.d.cts +2 -16
- package/dist/components/Grid/Grid.d.ts +2 -16
- package/dist/components/Grid/styles.d.cts +1 -1
- package/dist/components/Grid/styles.d.ts +1 -1
- package/dist/components/Grid/types.d.cts +1 -2
- package/dist/components/Grid/types.d.ts +1 -2
- package/dist/components/HtmlPreviewLoader/HtmlPreview.cjs +99 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.cts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.ts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.js +99 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.cjs +27 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.cts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.ts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.js +27 -0
- package/dist/components/HtmlPreviewLoader/styles.cjs +96 -0
- package/dist/components/HtmlPreviewLoader/styles.d.cts +7 -0
- package/dist/components/HtmlPreviewLoader/styles.d.ts +7 -0
- package/dist/components/HtmlPreviewLoader/styles.js +87 -0
- package/dist/components/HtmlPreviewLoader/types.d.cts +27 -0
- package/dist/components/HtmlPreviewLoader/types.d.ts +27 -0
- package/dist/components/Icon/Icon.d.cts +1 -11
- package/dist/components/Icon/Icon.d.ts +1 -11
- package/dist/components/Icon/Styles.d.cts +1 -0
- package/dist/components/Icon/Styles.d.ts +1 -0
- package/dist/components/Icon/types.d.cts +1 -2
- package/dist/components/Icon/types.d.ts +1 -2
- package/dist/components/IconButton/IconButton.d.cts +1 -10
- package/dist/components/IconButton/IconButton.d.ts +1 -10
- package/dist/components/IconButton/styles.d.cts +1 -0
- package/dist/components/IconButton/styles.d.ts +1 -0
- package/dist/components/IconButton/types.d.cts +0 -1
- package/dist/components/IconButton/types.d.ts +0 -1
- package/dist/components/IconLinkButton/IconLinkButton.d.cts +1 -10
- package/dist/components/IconLinkButton/IconLinkButton.d.ts +1 -10
- package/dist/components/IconLinkButton/styles.d.cts +1 -0
- package/dist/components/IconLinkButton/styles.d.ts +1 -0
- package/dist/components/IconLinkButton/types.d.cts +0 -1
- package/dist/components/IconLinkButton/types.d.ts +0 -1
- package/dist/components/InlineMessage/InlineMessage.d.cts +1 -12
- package/dist/components/InlineMessage/InlineMessage.d.ts +1 -12
- package/dist/components/InlineMessage/styles.d.cts +1 -1
- package/dist/components/InlineMessage/styles.d.ts +1 -1
- package/dist/components/InlineMessage/types.d.cts +0 -1
- package/dist/components/InlineMessage/types.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -9
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -9
- package/dist/components/IntendedAudienceSignifier/styles.d.cts +0 -1
- package/dist/components/IntendedAudienceSignifier/styles.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/types.d.cts +0 -1
- package/dist/components/IntendedAudienceSignifier/types.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/utils.d.cts +1 -2
- package/dist/components/IntendedAudienceSignifier/utils.d.ts +1 -2
- package/dist/components/Layout/Layout.d.cts +0 -1
- package/dist/components/Layout/Layout.d.ts +0 -1
- package/dist/components/Layout/styles.cjs +24 -24
- package/dist/components/Layout/styles.d.cts +1 -1
- package/dist/components/Layout/styles.d.ts +1 -1
- package/dist/components/Layout/styles.js +24 -24
- package/dist/components/Layout/types.d.cts +0 -1
- package/dist/components/Layout/types.d.ts +0 -1
- package/dist/components/Link/Link.d.cts +1 -9
- package/dist/components/Link/Link.d.ts +1 -9
- package/dist/components/Link/styles.d.cts +0 -1
- package/dist/components/Link/styles.d.ts +0 -1
- package/dist/components/Link/types.d.cts +0 -1
- package/dist/components/Link/types.d.ts +0 -1
- package/dist/components/LinkButton/LinkButton.d.cts +1 -9
- package/dist/components/LinkButton/LinkButton.d.ts +1 -9
- package/dist/components/LinkButton/Styles.d.cts +1 -0
- package/dist/components/LinkButton/Styles.d.ts +1 -0
- package/dist/components/LinkButton/types.d.cts +0 -1
- package/dist/components/LinkButton/types.d.ts +0 -1
- package/dist/components/Menu/Menu.cjs +1 -1
- package/dist/components/Menu/Menu.d.cts +5 -36
- package/dist/components/Menu/Menu.d.ts +5 -36
- package/dist/components/Menu/styles.d.cts +1 -1
- package/dist/components/Menu/styles.d.ts +1 -1
- package/dist/components/Menu/types.d.cts +0 -1
- package/dist/components/Menu/types.d.ts +0 -1
- package/dist/components/Modal/Modal.cjs +1 -1
- package/dist/components/Modal/Modal.d.cts +1 -7
- package/dist/components/Modal/Modal.d.ts +1 -7
- package/dist/components/Modal/styles.d.cts +0 -1
- package/dist/components/Modal/styles.d.ts +0 -1
- package/dist/components/Modal/types.d.cts +0 -1
- package/dist/components/Modal/types.d.ts +0 -1
- package/dist/components/RadioGroup/RadioGroup.cjs +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.cts +2 -16
- package/dist/components/RadioGroup/RadioGroup.d.ts +2 -16
- package/dist/components/RadioGroup/styles.cjs +2 -2
- package/dist/components/RadioGroup/styles.d.cts +1 -1
- package/dist/components/RadioGroup/styles.d.ts +1 -1
- package/dist/components/RadioGroup/styles.js +2 -2
- package/dist/components/RadioGroup/types.d.cts +0 -1
- package/dist/components/RadioGroup/types.d.ts +0 -1
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.d.cts +2 -15
- package/dist/components/Select/Select.d.ts +2 -15
- package/dist/components/Select/styles.d.cts +0 -1
- package/dist/components/Select/styles.d.ts +0 -1
- package/dist/components/Select/types.d.cts +0 -1
- package/dist/components/Select/types.d.ts +0 -1
- package/dist/components/Tabs/Tabs.cjs +1 -1
- package/dist/components/Tabs/Tabs.d.cts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -1
- package/dist/components/Tabs/styles.cjs +34 -34
- package/dist/components/Tabs/styles.d.cts +1 -1
- package/dist/components/Tabs/styles.d.ts +1 -1
- package/dist/components/Tabs/styles.js +34 -34
- package/dist/components/Tabs/types.d.cts +0 -1
- package/dist/components/Tabs/types.d.ts +0 -1
- package/dist/components/TagPicker/Autocomplete.d.cts +3 -19
- package/dist/components/TagPicker/Autocomplete.d.ts +3 -19
- package/dist/components/TagPicker/TagPicker.d.cts +39 -54
- package/dist/components/TagPicker/TagPicker.d.ts +39 -54
- package/dist/components/TagPicker/types.d.cts +1 -1
- package/dist/components/TagPicker/types.d.ts +1 -1
- package/dist/components/TagTable/TagTable.d.cts +2 -23
- package/dist/components/TagTable/TagTable.d.ts +2 -23
- package/dist/components/TextArea/TextArea.d.cts +1 -8
- package/dist/components/TextArea/TextArea.d.ts +1 -8
- package/dist/components/TextArea/styles.cjs +2 -2
- package/dist/components/TextArea/styles.d.cts +1 -1
- package/dist/components/TextArea/styles.d.ts +1 -1
- package/dist/components/TextArea/styles.js +2 -2
- package/dist/components/TextArea/types.d.cts +0 -1
- package/dist/components/TextArea/types.d.ts +0 -1
- package/dist/components/TextInput/TextInput.d.cts +1 -8
- package/dist/components/TextInput/TextInput.d.ts +1 -8
- package/dist/components/TextInput/styles.cjs +2 -2
- package/dist/components/TextInput/styles.d.cts +1 -1
- package/dist/components/TextInput/styles.d.ts +1 -1
- package/dist/components/TextInput/styles.js +2 -2
- package/dist/components/TextInput/types.d.cts +0 -1
- package/dist/components/TextInput/types.d.ts +0 -1
- package/dist/components/TopBar/TopBar.cjs +1 -1
- package/dist/components/TopBar/TopBar.d.cts +3 -17
- package/dist/components/TopBar/TopBar.d.ts +3 -17
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.cts +1 -11
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.ts +1 -11
- package/dist/components/TopBar/TopBarItem/styles.cjs +7 -7
- package/dist/components/TopBar/TopBarItem/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarItem/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarItem/styles.js +7 -7
- package/dist/components/TopBar/TopBarItem/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarItem/types.d.ts +0 -1
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.cts +1 -17
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.ts +1 -17
- package/dist/components/TopBar/TopBarNavigation/styles.cjs +30 -30
- package/dist/components/TopBar/TopBarNavigation/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarNavigation/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarNavigation/styles.js +30 -30
- package/dist/components/TopBar/TopBarNavigation/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarNavigation/types.d.ts +0 -1
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.cts +1 -6
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.ts +1 -6
- package/dist/components/TopBar/TopBarToolName/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarToolName/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarToolName/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarToolName/types.d.ts +0 -1
- package/dist/components/TopBar/styles.cjs +10 -10
- package/dist/components/TopBar/styles.d.cts +0 -1
- package/dist/components/TopBar/styles.d.ts +0 -1
- package/dist/components/TopBar/styles.js +10 -10
- package/dist/components/TopBar/types.d.cts +0 -1
- package/dist/components/TopBar/types.d.ts +0 -1
- package/dist/components/Typography/Typography.d.cts +1 -9
- package/dist/components/Typography/Typography.d.ts +1 -9
- package/dist/components/Typography/styles.d.cts +1 -1
- package/dist/components/Typography/styles.d.ts +1 -1
- package/dist/components/Typography/types.d.cts +0 -1
- package/dist/components/Typography/types.d.ts +0 -1
- package/dist/components/UserMenu/UserMenu.d.cts +2 -12
- package/dist/components/UserMenu/UserMenu.d.ts +2 -12
- package/dist/components/UserMenu/model.d.cts +0 -1
- package/dist/components/UserMenu/model.d.ts +0 -1
- package/dist/styleD/build/css/base/sizing.css +2 -0
- package/dist/styleD/build/css/component/htmlPreviewLoader.css +22 -0
- package/dist/styleD/build/css/component/icon.css +1 -0
- package/dist/styleD/build/css/component/previewFrame.css +10 -0
- package/dist/styleD/build/css/semantic/sizing.css +1 -0
- package/dist/styleD/build/typescript/base/sizing.cjs +2 -0
- package/dist/styleD/build/typescript/base/sizing.d.cts +2 -0
- package/dist/styleD/build/typescript/base/sizing.d.ts +2 -0
- package/dist/styleD/build/typescript/base/sizing.js +2 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.cjs +30 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.cts +33 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.ts +33 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.js +30 -0
- package/dist/styleD/build/typescript/component/icon.cjs +1 -0
- package/dist/styleD/build/typescript/component/icon.d.cts +3 -0
- package/dist/styleD/build/typescript/component/icon.d.ts +3 -0
- package/dist/styleD/build/typescript/component/icon.js +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.cts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.ts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
- package/dist/styleD/utils/semantic/mq.d.cts +0 -1
- package/dist/styleD/utils/semantic/mq.d.ts +0 -1
- package/dist/styleD/utils/semantic/typography.d.cts +0 -1
- package/dist/styleD/utils/semantic/typography.d.ts +0 -1
- package/dist/util/types.d.cts +2 -3
- package/dist/util/types.d.ts +2 -3
- package/package.json +31 -18
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
--base-sizing-size1-px: 1px;
|
|
7
7
|
--base-sizing-size2-px: 2px;
|
|
8
8
|
--base-sizing-size8-px: 8px;
|
|
9
|
+
--base-sizing-size14-px: 14px;
|
|
9
10
|
--base-sizing-size16-px: 16px;
|
|
10
11
|
--base-sizing-size18-px: 18px;
|
|
11
12
|
--base-sizing-size20-px: 20px;
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
--base-sizing-size1-rem: 0.0625rem;
|
|
17
18
|
--base-sizing-size2-rem: 0.125rem;
|
|
18
19
|
--base-sizing-size8-rem: 0.5rem;
|
|
20
|
+
--base-sizing-size14-rem: 0.875rem;
|
|
19
21
|
--base-sizing-size16-rem: 1rem;
|
|
20
22
|
--base-sizing-size18-rem: 1.125rem;
|
|
21
23
|
--base-sizing-size20-rem: 1.25rem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-html-preview-loader-padding-top: 0px;
|
|
7
|
+
--component-html-preview-loader-padding-right: 0.5rem;
|
|
8
|
+
--component-html-preview-loader-padding-bottom: 0px;
|
|
9
|
+
--component-html-preview-loader-padding-left: 0.5rem;
|
|
10
|
+
--component-html-preview-loader-shared-color-background: #ffffff;
|
|
11
|
+
--component-html-preview-loader-shared-color-text: #000000;
|
|
12
|
+
--component-html-preview-loader-preview-frame-background-color: #ededed;
|
|
13
|
+
--component-html-preview-loader-preview-frame-border-width: 0.0625rem;
|
|
14
|
+
--component-html-preview-loader-preview-frame-border-style: solid;
|
|
15
|
+
--component-html-preview-loader-preview-frame-border-color: #545454;
|
|
16
|
+
--component-html-preview-loader-preview-frame-padding-top: 0.5rem;
|
|
17
|
+
--component-html-preview-loader-preview-frame-padding-right: 0.5rem;
|
|
18
|
+
--component-html-preview-loader-preview-frame-padding-bottom: 0.5rem;
|
|
19
|
+
--component-html-preview-loader-preview-frame-padding-left: 0.5rem;
|
|
20
|
+
--component-html-preview-loader-loading-icon-color: #8d8d8d;
|
|
21
|
+
--component-html-preview-loader-loading-icon-size: 3rem;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--component-preview-frame-background-color: #545454;
|
|
7
|
+
--component-preview-frame-border-width: 0.0625rem;
|
|
8
|
+
--component-preview-frame-border-style: solid;
|
|
9
|
+
--component-preview-frame-border-color: #545454;
|
|
10
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--semantic-sizing-height-sm: 2rem;
|
|
10
10
|
--semantic-sizing-height-md: 2.5rem;
|
|
11
11
|
--semantic-sizing-height-lg: 3rem;
|
|
12
|
+
--semantic-sizing-icon-xs: 0.875rem;
|
|
12
13
|
--semantic-sizing-icon-sm: 1.125rem;
|
|
13
14
|
--semantic-sizing-icon-md: 1.25rem;
|
|
14
15
|
--semantic-sizing-icon-lg: 1.5rem;
|
|
@@ -6,6 +6,7 @@ const baseSizing = {
|
|
|
6
6
|
size1Px: "1px",
|
|
7
7
|
size2Px: "2px",
|
|
8
8
|
size8Px: "8px",
|
|
9
|
+
size14Px: "14px",
|
|
9
10
|
size16Px: "16px",
|
|
10
11
|
size18Px: "18px",
|
|
11
12
|
size20Px: "20px",
|
|
@@ -16,6 +17,7 @@ const baseSizing = {
|
|
|
16
17
|
size1Rem: "0.0625rem",
|
|
17
18
|
size2Rem: "0.125rem",
|
|
18
19
|
size8Rem: "0.5rem",
|
|
20
|
+
size14Rem: "0.875rem",
|
|
19
21
|
size16Rem: "1rem",
|
|
20
22
|
size18Rem: "1.125rem",
|
|
21
23
|
size20Rem: "1.25rem",
|
|
@@ -6,6 +6,7 @@ declare const baseSizing: {
|
|
|
6
6
|
readonly size1Px: "1px";
|
|
7
7
|
readonly size2Px: "2px";
|
|
8
8
|
readonly size8Px: "8px";
|
|
9
|
+
readonly size14Px: "14px";
|
|
9
10
|
readonly size16Px: "16px";
|
|
10
11
|
readonly size18Px: "18px";
|
|
11
12
|
readonly size20Px: "20px";
|
|
@@ -16,6 +17,7 @@ declare const baseSizing: {
|
|
|
16
17
|
readonly size1Rem: "0.0625rem";
|
|
17
18
|
readonly size2Rem: "0.125rem";
|
|
18
19
|
readonly size8Rem: "0.5rem";
|
|
20
|
+
readonly size14Rem: "0.875rem";
|
|
19
21
|
readonly size16Rem: "1rem";
|
|
20
22
|
readonly size18Rem: "1.125rem";
|
|
21
23
|
readonly size20Rem: "1.25rem";
|
|
@@ -6,6 +6,7 @@ declare const baseSizing: {
|
|
|
6
6
|
readonly size1Px: "1px";
|
|
7
7
|
readonly size2Px: "2px";
|
|
8
8
|
readonly size8Px: "8px";
|
|
9
|
+
readonly size14Px: "14px";
|
|
9
10
|
readonly size16Px: "16px";
|
|
10
11
|
readonly size18Px: "18px";
|
|
11
12
|
readonly size20Px: "20px";
|
|
@@ -16,6 +17,7 @@ declare const baseSizing: {
|
|
|
16
17
|
readonly size1Rem: "0.0625rem";
|
|
17
18
|
readonly size2Rem: "0.125rem";
|
|
18
19
|
readonly size8Rem: "0.5rem";
|
|
20
|
+
readonly size14Rem: "0.875rem";
|
|
19
21
|
readonly size16Rem: "1rem";
|
|
20
22
|
readonly size18Rem: "1.125rem";
|
|
21
23
|
readonly size20Rem: "1.25rem";
|
|
@@ -6,6 +6,7 @@ const baseSizing = {
|
|
|
6
6
|
size1Px: "1px",
|
|
7
7
|
size2Px: "2px",
|
|
8
8
|
size8Px: "8px",
|
|
9
|
+
size14Px: "14px",
|
|
9
10
|
size16Px: "16px",
|
|
10
11
|
size18Px: "18px",
|
|
11
12
|
size20Px: "20px",
|
|
@@ -16,6 +17,7 @@ const baseSizing = {
|
|
|
16
17
|
size1Rem: "0.0625rem",
|
|
17
18
|
size2Rem: "0.125rem",
|
|
18
19
|
size8Rem: "0.5rem",
|
|
20
|
+
size14Rem: "0.875rem",
|
|
19
21
|
size16Rem: "1rem",
|
|
20
22
|
size18Rem: "1.125rem",
|
|
21
23
|
size20Rem: "1.25rem",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/htmlPreviewLoader.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentHtmlPreviewLoader = {
|
|
6
|
+
paddingTop: "0px",
|
|
7
|
+
paddingRight: "0.5rem",
|
|
8
|
+
paddingBottom: "0px",
|
|
9
|
+
paddingLeft: "0.5rem",
|
|
10
|
+
shared: { color: {
|
|
11
|
+
background: "#ffffff",
|
|
12
|
+
text: "#000000"
|
|
13
|
+
} },
|
|
14
|
+
previewFrame: {
|
|
15
|
+
backgroundColor: "#ededed",
|
|
16
|
+
borderWidth: "0.0625rem",
|
|
17
|
+
borderStyle: "solid",
|
|
18
|
+
borderColor: "#545454",
|
|
19
|
+
paddingTop: "0.5rem",
|
|
20
|
+
paddingRight: "0.5rem",
|
|
21
|
+
paddingBottom: "0.5rem",
|
|
22
|
+
paddingLeft: "0.5rem"
|
|
23
|
+
},
|
|
24
|
+
loadingIcon: {
|
|
25
|
+
color: "#8d8d8d",
|
|
26
|
+
size: "3rem"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
exports.componentHtmlPreviewLoader = componentHtmlPreviewLoader;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/htmlPreviewLoader.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentHtmlPreviewLoader: {
|
|
6
|
+
paddingTop: string;
|
|
7
|
+
paddingRight: string;
|
|
8
|
+
paddingBottom: string;
|
|
9
|
+
paddingLeft: string;
|
|
10
|
+
shared: {
|
|
11
|
+
color: {
|
|
12
|
+
background: string;
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
previewFrame: {
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
borderWidth: string;
|
|
19
|
+
borderStyle: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
paddingTop: string;
|
|
22
|
+
paddingRight: string;
|
|
23
|
+
paddingBottom: string;
|
|
24
|
+
paddingLeft: string;
|
|
25
|
+
};
|
|
26
|
+
loadingIcon: {
|
|
27
|
+
color: string;
|
|
28
|
+
size: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type ComponentHtmlPreviewLoader = typeof componentHtmlPreviewLoader;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ComponentHtmlPreviewLoader, componentHtmlPreviewLoader };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/htmlPreviewLoader.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
declare const componentHtmlPreviewLoader: {
|
|
6
|
+
paddingTop: string;
|
|
7
|
+
paddingRight: string;
|
|
8
|
+
paddingBottom: string;
|
|
9
|
+
paddingLeft: string;
|
|
10
|
+
shared: {
|
|
11
|
+
color: {
|
|
12
|
+
background: string;
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
previewFrame: {
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
borderWidth: string;
|
|
19
|
+
borderStyle: string;
|
|
20
|
+
borderColor: string;
|
|
21
|
+
paddingTop: string;
|
|
22
|
+
paddingRight: string;
|
|
23
|
+
paddingBottom: string;
|
|
24
|
+
paddingLeft: string;
|
|
25
|
+
};
|
|
26
|
+
loadingIcon: {
|
|
27
|
+
color: string;
|
|
28
|
+
size: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type ComponentHtmlPreviewLoader = typeof componentHtmlPreviewLoader;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ComponentHtmlPreviewLoader, componentHtmlPreviewLoader };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
//#region src/styleD/build/typescript/component/htmlPreviewLoader.ts
|
|
2
|
+
/**
|
|
3
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
|
+
*/
|
|
5
|
+
const componentHtmlPreviewLoader = {
|
|
6
|
+
paddingTop: "0px",
|
|
7
|
+
paddingRight: "0.5rem",
|
|
8
|
+
paddingBottom: "0px",
|
|
9
|
+
paddingLeft: "0.5rem",
|
|
10
|
+
shared: { color: {
|
|
11
|
+
background: "#ffffff",
|
|
12
|
+
text: "#000000"
|
|
13
|
+
} },
|
|
14
|
+
previewFrame: {
|
|
15
|
+
backgroundColor: "#ededed",
|
|
16
|
+
borderWidth: "0.0625rem",
|
|
17
|
+
borderStyle: "solid",
|
|
18
|
+
borderColor: "#545454",
|
|
19
|
+
paddingTop: "0.5rem",
|
|
20
|
+
paddingRight: "0.5rem",
|
|
21
|
+
paddingBottom: "0.5rem",
|
|
22
|
+
paddingLeft: "0.5rem"
|
|
23
|
+
},
|
|
24
|
+
loadingIcon: {
|
|
25
|
+
color: "#8d8d8d",
|
|
26
|
+
size: "3rem"
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { componentHtmlPreviewLoader };
|
package/dist/util/types.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SerializedStyles } from "@emotion/react";
|
|
3
|
-
|
|
4
3
|
//#region src/util/types.d.ts
|
|
5
4
|
interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
6
5
|
/**
|
|
@@ -28,7 +27,7 @@ interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, Childre
|
|
|
28
27
|
*/
|
|
29
28
|
children?: ChildrenType;
|
|
30
29
|
}
|
|
31
|
-
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
32
|
-
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]
|
|
30
|
+
type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
31
|
+
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { DeepPartial, DefaultProps, DefaultPropsWithChildren, Prettify };
|
package/dist/util/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SerializedStyles } from "@emotion/react";
|
|
3
|
-
|
|
4
3
|
//#region src/util/types.d.ts
|
|
5
4
|
interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
6
5
|
/**
|
|
@@ -28,7 +27,7 @@ interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, Childre
|
|
|
28
27
|
*/
|
|
29
28
|
children?: ChildrenType;
|
|
30
29
|
}
|
|
31
|
-
type Prettify<T> = { [K in keyof T]: T[K] } & {};
|
|
32
|
-
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]
|
|
30
|
+
type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
31
|
+
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
33
32
|
//#endregion
|
|
34
33
|
export { DeepPartial, DefaultProps, DefaultPropsWithChildren, Prettify };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guardian/stand",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/guardian/stand"
|
|
6
6
|
},
|
|
@@ -327,6 +327,16 @@
|
|
|
327
327
|
"default": "./dist/Tabs.cjs"
|
|
328
328
|
}
|
|
329
329
|
},
|
|
330
|
+
"./HtmlPreviewLoader": {
|
|
331
|
+
"import": {
|
|
332
|
+
"types": "./dist/HtmlPreviewLoader.d.ts",
|
|
333
|
+
"default": "./dist/HtmlPreviewLoader.js"
|
|
334
|
+
},
|
|
335
|
+
"require": {
|
|
336
|
+
"types": "./dist/HtmlPreviewLoader.d.cts",
|
|
337
|
+
"default": "./dist/HtmlPreviewLoader.cjs"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
330
340
|
"./utils": {
|
|
331
341
|
"import": {
|
|
332
342
|
"types": "./dist/utils.d.ts",
|
|
@@ -483,6 +493,9 @@
|
|
|
483
493
|
],
|
|
484
494
|
"Tabs": [
|
|
485
495
|
"./dist/Tabs.d.ts"
|
|
496
|
+
],
|
|
497
|
+
"HtmlPreviewLoader": [
|
|
498
|
+
"./dist/HtmlPreviewLoader.d.ts"
|
|
486
499
|
]
|
|
487
500
|
}
|
|
488
501
|
},
|
|
@@ -490,37 +503,37 @@
|
|
|
490
503
|
"dist"
|
|
491
504
|
],
|
|
492
505
|
"devDependencies": {
|
|
493
|
-
"@arethetypeswrong/core": "0.18.
|
|
494
|
-
"@changesets/cli": "2.31.
|
|
506
|
+
"@arethetypeswrong/core": "0.18.5",
|
|
507
|
+
"@changesets/cli": "2.31.1",
|
|
495
508
|
"@codesandbox/sandpack-react": "2.20.0",
|
|
496
509
|
"@emotion/react": "11.11.4",
|
|
497
|
-
"@figma/rest-api-spec": "0.
|
|
510
|
+
"@figma/rest-api-spec": "0.41.0",
|
|
498
511
|
"@guardian/eslint-config": "15.0.0",
|
|
499
512
|
"@guardian/prettier": "10.0.0",
|
|
500
513
|
"@guardian/prosemirror-invisibles": "3.1.1",
|
|
501
514
|
"@guardian/tsconfig": "1.0.1",
|
|
502
515
|
"@internationalized/date": "3.12.1",
|
|
503
516
|
"@material-design-icons/svg": "0.14.15",
|
|
504
|
-
"@playwright/experimental-ct-react17": "1.
|
|
505
|
-
"@storybook/addon-a11y": "10.
|
|
506
|
-
"@storybook/addon-docs": "10.
|
|
507
|
-
"@storybook/addon-themes": "10.
|
|
508
|
-
"@storybook/react-vite": "10.
|
|
517
|
+
"@playwright/experimental-ct-react17": "1.61.1",
|
|
518
|
+
"@storybook/addon-a11y": "10.5.2",
|
|
519
|
+
"@storybook/addon-docs": "10.5.2",
|
|
520
|
+
"@storybook/addon-themes": "10.5.2",
|
|
521
|
+
"@storybook/react-vite": "10.5.2",
|
|
509
522
|
"@testing-library/jest-dom": "6.9.1",
|
|
510
|
-
"@tsdown/css": "0.22.
|
|
523
|
+
"@tsdown/css": "0.22.9",
|
|
511
524
|
"@types/jest": "30.0.0",
|
|
512
525
|
"@types/node": "24.10.1",
|
|
513
526
|
"@types/react": "17.0.76",
|
|
514
527
|
"@types/react-dom": "17.0.25",
|
|
515
528
|
"change-case": "5.4.4",
|
|
516
529
|
"eslint": "9.39.3",
|
|
517
|
-
"eslint-plugin-check-file": "3.3.
|
|
518
|
-
"eslint-plugin-storybook": "10.
|
|
530
|
+
"eslint-plugin-check-file": "3.3.2",
|
|
531
|
+
"eslint-plugin-storybook": "10.5.2",
|
|
519
532
|
"husky": "9.1.7",
|
|
520
533
|
"jest": "30.4.2",
|
|
521
534
|
"jest-environment-jsdom": "30.4.1",
|
|
522
|
-
"lint-staged": "17.0
|
|
523
|
-
"prettier": "3.
|
|
535
|
+
"lint-staged": "17.1.0",
|
|
536
|
+
"prettier": "3.9.5",
|
|
524
537
|
"prosemirror-dropcursor": "1.8.2",
|
|
525
538
|
"prosemirror-history": "1.4.1",
|
|
526
539
|
"prosemirror-keymap": "1.2.2",
|
|
@@ -534,13 +547,13 @@
|
|
|
534
547
|
"remark-gfm": "4.0.1",
|
|
535
548
|
"rimraf": "6.1.3",
|
|
536
549
|
"sort-package-json": "4.0.0",
|
|
537
|
-
"storybook": "10.
|
|
538
|
-
"style-dictionary": "5.
|
|
550
|
+
"storybook": "10.5.2",
|
|
551
|
+
"style-dictionary": "5.5.0",
|
|
539
552
|
"ts-jest": "29.4.11",
|
|
540
|
-
"tsdown": "0.22.
|
|
553
|
+
"tsdown": "0.22.9",
|
|
541
554
|
"tslib": "2.8.1",
|
|
542
555
|
"typescript": "5.1.3",
|
|
543
|
-
"vite": "8.
|
|
556
|
+
"vite": "8.1.5",
|
|
544
557
|
"vite-plugin-svgr": "5.2.0"
|
|
545
558
|
},
|
|
546
559
|
"peerDependencies": {
|