@guardian/stand 0.0.73 → 0.0.74
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/Tile.cjs +5 -0
- package/dist/Tile.d.cts +5 -0
- package/dist/Tile.d.ts +5 -0
- package/dist/Tile.js +3 -0
- package/dist/components/AlertBanner/AlertBanner.d.cts +2 -3
- package/dist/components/AlertBanner/AlertBanner.d.ts +2 -3
- package/dist/components/AlertBanner/styles.d.cts +3 -4
- package/dist/components/AlertBanner/styles.d.ts +3 -4
- package/dist/components/AlertBanner/types.d.cts +2 -3
- package/dist/components/AlertBanner/types.d.ts +2 -3
- package/dist/components/Avatar/Avatar.d.cts +2 -3
- package/dist/components/Avatar/Avatar.d.ts +2 -3
- package/dist/components/Avatar/styles.d.cts +3 -4
- package/dist/components/Avatar/styles.d.ts +3 -4
- package/dist/components/Avatar/types.d.cts +3 -4
- package/dist/components/Avatar/types.d.ts +3 -4
- package/dist/components/AvatarButton/AvatarButton.d.cts +2 -3
- package/dist/components/AvatarButton/AvatarButton.d.ts +2 -3
- package/dist/components/AvatarButton/styles.d.cts +2 -3
- package/dist/components/AvatarButton/styles.d.ts +2 -3
- package/dist/components/AvatarButton/types.d.cts +2 -3
- package/dist/components/AvatarButton/types.d.ts +2 -3
- package/dist/components/AvatarLink/AvatarLink.d.cts +2 -3
- package/dist/components/AvatarLink/AvatarLink.d.ts +2 -3
- package/dist/components/AvatarLink/styles.d.cts +2 -3
- package/dist/components/AvatarLink/styles.d.ts +2 -3
- package/dist/components/AvatarLink/types.d.cts +2 -3
- package/dist/components/AvatarLink/types.d.ts +2 -3
- package/dist/components/Badge/Badge.d.cts +2 -3
- package/dist/components/Badge/Badge.d.ts +2 -3
- package/dist/components/Badge/styles.d.cts +3 -4
- package/dist/components/Badge/styles.d.ts +3 -4
- package/dist/components/Badge/types.d.cts +4 -5
- package/dist/components/Badge/types.d.ts +4 -5
- package/dist/components/Button/Button.d.cts +2 -3
- package/dist/components/Button/Button.d.ts +2 -3
- package/dist/components/Button/styles.d.cts +3 -4
- package/dist/components/Button/styles.d.ts +3 -4
- package/dist/components/ButtonGroup/ButtonGroup.d.cts +2 -3
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +2 -3
- package/dist/components/ButtonGroup/styles.d.cts +3 -4
- package/dist/components/ButtonGroup/styles.d.ts +3 -4
- package/dist/components/ButtonGroup/types.d.cts +2 -3
- package/dist/components/ButtonGroup/types.d.ts +2 -3
- package/dist/components/Byline/Byline.d.cts +2 -3
- package/dist/components/Byline/Byline.d.ts +2 -3
- package/dist/components/Byline/lib.d.cts +3 -4
- package/dist/components/Byline/lib.d.ts +3 -4
- package/dist/components/Byline/theme.d.cts +2 -3
- package/dist/components/Byline/theme.d.ts +2 -3
- package/dist/components/Checkbox/Checkbox.d.cts +2 -3
- package/dist/components/Checkbox/Checkbox.d.ts +2 -3
- package/dist/components/Checkbox/CheckboxGroup.d.cts +2 -3
- package/dist/components/Checkbox/CheckboxGroup.d.ts +2 -3
- package/dist/components/Checkbox/styles.d.cts +3 -4
- package/dist/components/Checkbox/styles.d.ts +3 -4
- package/dist/components/DatePicker/DatePicker.d.cts +2 -3
- package/dist/components/DatePicker/DatePicker.d.ts +2 -3
- package/dist/components/DatePicker/styles.d.cts +2 -3
- package/dist/components/DatePicker/styles.d.ts +2 -3
- package/dist/components/Favicon/Favicon.d.cts +2 -3
- package/dist/components/Favicon/Favicon.d.ts +2 -3
- package/dist/components/Favicon/styles.d.cts +3 -4
- package/dist/components/Favicon/styles.d.ts +3 -4
- package/dist/components/Favicon/types.d.cts +2 -3
- package/dist/components/Favicon/types.d.ts +2 -3
- package/dist/components/Form/styles.d.cts +2 -3
- package/dist/components/Form/styles.d.ts +2 -3
- package/dist/components/Form/types.d.cts +2 -3
- package/dist/components/Form/types.d.ts +2 -3
- package/dist/components/Grid/Grid.d.cts +3 -4
- package/dist/components/Grid/Grid.d.ts +3 -4
- package/dist/components/Grid/styles.d.cts +3 -4
- package/dist/components/Grid/styles.d.ts +3 -4
- package/dist/components/Grid/types.d.cts +6 -7
- package/dist/components/Grid/types.d.ts +6 -7
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.cts +2 -3
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.ts +2 -3
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.cts +2 -3
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.ts +2 -3
- package/dist/components/HtmlPreviewLoader/styles.d.cts +3 -4
- package/dist/components/HtmlPreviewLoader/styles.d.ts +3 -4
- package/dist/components/HtmlPreviewLoader/types.d.cts +3 -4
- package/dist/components/HtmlPreviewLoader/types.d.ts +3 -4
- package/dist/components/Icon/Icon.d.cts +2 -3
- package/dist/components/Icon/Icon.d.ts +2 -3
- package/dist/components/Icon/Styles.d.cts +3 -4
- package/dist/components/Icon/Styles.d.ts +3 -4
- package/dist/components/Icon/types.d.cts +2 -2
- package/dist/components/Icon/types.d.ts +2 -2
- package/dist/components/IconButton/IconButton.d.cts +2 -3
- package/dist/components/IconButton/IconButton.d.ts +2 -3
- package/dist/components/IconButton/styles.d.cts +3 -4
- package/dist/components/IconButton/styles.d.ts +3 -4
- package/dist/components/IconButton/types.d.cts +2 -3
- package/dist/components/IconButton/types.d.ts +2 -3
- package/dist/components/IconLinkButton/IconLinkButton.d.cts +2 -3
- package/dist/components/IconLinkButton/IconLinkButton.d.ts +2 -3
- package/dist/components/IconLinkButton/styles.d.cts +3 -4
- package/dist/components/IconLinkButton/styles.d.ts +3 -4
- package/dist/components/IconLinkButton/types.d.cts +2 -3
- package/dist/components/IconLinkButton/types.d.ts +2 -3
- package/dist/components/InlineMessage/InlineMessage.d.cts +2 -3
- package/dist/components/InlineMessage/InlineMessage.d.ts +2 -3
- package/dist/components/InlineMessage/styles.d.cts +3 -4
- package/dist/components/InlineMessage/styles.d.ts +3 -4
- package/dist/components/InlineMessage/types.d.cts +2 -3
- package/dist/components/InlineMessage/types.d.ts +2 -3
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +2 -3
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +2 -3
- package/dist/components/IntendedAudienceSignifier/styles.d.cts +2 -3
- package/dist/components/IntendedAudienceSignifier/styles.d.ts +2 -3
- package/dist/components/IntendedAudienceSignifier/types.d.cts +3 -4
- package/dist/components/IntendedAudienceSignifier/types.d.ts +3 -4
- package/dist/components/IntendedAudienceSignifier/utils.d.cts +3 -4
- package/dist/components/IntendedAudienceSignifier/utils.d.ts +3 -4
- package/dist/components/Layout/Layout.d.cts +2 -3
- package/dist/components/Layout/Layout.d.ts +2 -3
- package/dist/components/Layout/styles.d.cts +7 -8
- package/dist/components/Layout/styles.d.ts +7 -8
- package/dist/components/Layout/types.d.cts +5 -6
- package/dist/components/Layout/types.d.ts +5 -6
- package/dist/components/Link/Link.d.cts +2 -3
- package/dist/components/Link/Link.d.ts +2 -3
- package/dist/components/Link/styles.d.cts +3 -4
- package/dist/components/Link/styles.d.ts +3 -4
- package/dist/components/LinkButton/LinkButton.d.cts +2 -3
- package/dist/components/LinkButton/LinkButton.d.ts +2 -3
- package/dist/components/LinkButton/Styles.d.cts +3 -4
- package/dist/components/LinkButton/Styles.d.ts +3 -4
- package/dist/components/LinkButton/types.d.cts +2 -3
- package/dist/components/LinkButton/types.d.ts +2 -3
- package/dist/components/Menu/Menu.d.cts +6 -7
- package/dist/components/Menu/Menu.d.ts +6 -7
- package/dist/components/Menu/styles.d.cts +11 -12
- package/dist/components/Menu/styles.d.ts +11 -12
- package/dist/components/Menu/types.d.cts +3 -3
- package/dist/components/Menu/types.d.ts +3 -3
- package/dist/components/Modal/Modal.d.cts +4 -5
- package/dist/components/Modal/Modal.d.ts +4 -5
- package/dist/components/Modal/styles.d.cts +4 -5
- package/dist/components/Modal/styles.d.ts +4 -5
- package/dist/components/Modal/types.d.cts +6 -6
- package/dist/components/Modal/types.d.ts +6 -6
- package/dist/components/Pagination/Pagination.d.cts +2 -3
- package/dist/components/Pagination/Pagination.d.ts +2 -3
- package/dist/components/Pagination/styles.d.cts +3 -4
- package/dist/components/Pagination/styles.d.ts +3 -4
- package/dist/components/Pagination/types.d.cts +4 -5
- package/dist/components/Pagination/types.d.ts +4 -5
- package/dist/components/RadioGroup/RadioGroup.d.cts +3 -4
- package/dist/components/RadioGroup/RadioGroup.d.ts +3 -4
- package/dist/components/RadioGroup/styles.d.cts +2 -3
- package/dist/components/RadioGroup/styles.d.ts +2 -3
- package/dist/components/Select/Select.d.cts +3 -4
- package/dist/components/Select/Select.d.ts +3 -4
- package/dist/components/Select/styles.d.cts +3 -4
- package/dist/components/Select/styles.d.ts +3 -4
- package/dist/components/Select/types.d.cts +2 -2
- package/dist/components/Select/types.d.ts +2 -2
- package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.cts +2 -3
- package/dist/components/SidebarStepperNavigation/SidebarStepperNavigation.d.ts +2 -3
- package/dist/components/SidebarStepperNavigation/styles.d.cts +3 -4
- package/dist/components/SidebarStepperNavigation/styles.d.ts +3 -4
- package/dist/components/SidebarStepperNavigation/types.d.cts +6 -7
- package/dist/components/SidebarStepperNavigation/types.d.ts +6 -7
- package/dist/components/Table/Table.d.cts +7 -8
- package/dist/components/Table/Table.d.ts +7 -8
- package/dist/components/Table/styles.d.cts +3 -4
- package/dist/components/Table/styles.d.ts +3 -4
- package/dist/components/Table/types.d.cts +5 -5
- package/dist/components/Table/types.d.ts +5 -5
- package/dist/components/Tabs/styles.d.cts +11 -12
- package/dist/components/Tabs/styles.d.ts +11 -12
- package/dist/components/TagPicker/Autocomplete.d.cts +4 -5
- package/dist/components/TagPicker/Autocomplete.d.ts +4 -5
- package/dist/components/TagPicker/TagPicker.d.cts +3 -4
- package/dist/components/TagPicker/TagPicker.d.ts +3 -4
- package/dist/components/TagPicker/types.d.cts +4 -5
- package/dist/components/TagPicker/types.d.ts +4 -5
- package/dist/components/TagTable/TagTable.d.cts +3 -4
- package/dist/components/TagTable/TagTable.d.ts +3 -4
- package/dist/components/TextArea/TextArea.d.cts +2 -3
- package/dist/components/TextArea/TextArea.d.ts +2 -3
- package/dist/components/TextArea/styles.d.cts +2 -3
- package/dist/components/TextArea/styles.d.ts +2 -3
- package/dist/components/TextArea/types.d.cts +2 -3
- package/dist/components/TextArea/types.d.ts +2 -3
- package/dist/components/TextInput/TextInput.d.cts +2 -3
- package/dist/components/TextInput/TextInput.d.ts +2 -3
- package/dist/components/TextInput/styles.d.cts +3 -4
- package/dist/components/TextInput/styles.d.ts +3 -4
- package/dist/components/TextInput/types.d.cts +2 -3
- package/dist/components/TextInput/types.d.ts +2 -3
- package/dist/components/TextListInput/TextListInput.d.cts +2 -3
- package/dist/components/TextListInput/TextListInput.d.ts +2 -3
- package/dist/components/TextListInput/styles.d.cts +3 -4
- package/dist/components/TextListInput/styles.d.ts +3 -4
- package/dist/components/TextListInput/types.d.cts +2 -3
- package/dist/components/TextListInput/types.d.ts +2 -3
- package/dist/components/Tile/Tile.cjs +102 -0
- package/dist/components/Tile/Tile.d.cts +4 -0
- package/dist/components/Tile/Tile.d.ts +4 -0
- package/dist/components/Tile/Tile.js +102 -0
- package/dist/components/Tile/styles.cjs +175 -0
- package/dist/components/Tile/styles.d.cts +7 -0
- package/dist/components/Tile/styles.d.ts +7 -0
- package/dist/components/Tile/styles.js +166 -0
- package/dist/components/Tile/types.d.cts +63 -0
- package/dist/components/Tile/types.d.ts +63 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.cts +2 -3
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +2 -3
- package/dist/components/ToggleSwitch/styles.d.cts +3 -4
- package/dist/components/ToggleSwitch/styles.d.ts +3 -4
- package/dist/components/ToggleSwitch/types.d.cts +2 -3
- package/dist/components/ToggleSwitch/types.d.ts +2 -3
- package/dist/components/Tooltip/Tooltip.d.cts +2 -3
- package/dist/components/Tooltip/Tooltip.d.ts +2 -3
- package/dist/components/Tooltip/styles.d.cts +3 -4
- package/dist/components/Tooltip/styles.d.ts +3 -4
- package/dist/components/Tooltip/types.d.cts +2 -3
- package/dist/components/Tooltip/types.d.ts +2 -3
- package/dist/components/TopBar/TopBar.d.cts +4 -5
- package/dist/components/TopBar/TopBar.d.ts +4 -5
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.cts +2 -3
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.ts +2 -3
- package/dist/components/TopBar/TopBarItem/styles.d.cts +3 -4
- package/dist/components/TopBar/TopBarItem/styles.d.ts +3 -4
- package/dist/components/TopBar/TopBarItem/types.d.cts +2 -3
- package/dist/components/TopBar/TopBarItem/types.d.ts +2 -3
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.cts +2 -3
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.ts +2 -3
- package/dist/components/TopBar/TopBarNavigation/styles.d.cts +3 -4
- package/dist/components/TopBar/TopBarNavigation/styles.d.ts +3 -4
- package/dist/components/TopBar/TopBarNavigation/types.d.cts +2 -3
- package/dist/components/TopBar/TopBarNavigation/types.d.ts +2 -3
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.cts +2 -3
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.ts +2 -3
- package/dist/components/TopBar/TopBarToolName/styles.d.cts +3 -4
- package/dist/components/TopBar/TopBarToolName/styles.d.ts +3 -4
- package/dist/components/TopBar/TopBarToolName/types.d.cts +2 -3
- package/dist/components/TopBar/TopBarToolName/types.d.ts +2 -3
- package/dist/components/TopBar/styles.d.cts +3 -4
- package/dist/components/TopBar/styles.d.ts +3 -4
- package/dist/components/TopBar/types.d.cts +2 -3
- package/dist/components/TopBar/types.d.ts +2 -3
- package/dist/components/Typography/Typography.d.cts +2 -3
- package/dist/components/Typography/Typography.d.ts +2 -3
- package/dist/components/Typography/styles.d.cts +3 -4
- package/dist/components/Typography/styles.d.ts +3 -4
- package/dist/components/Typography/types.d.cts +4 -5
- package/dist/components/Typography/types.d.ts +4 -5
- package/dist/components/UserFeedbackSummary/UserFeedbackSummary.d.cts +2 -3
- package/dist/components/UserFeedbackSummary/UserFeedbackSummary.d.ts +2 -3
- package/dist/components/UserFeedbackSummary/styles.d.cts +3 -4
- package/dist/components/UserFeedbackSummary/styles.d.ts +3 -4
- package/dist/components/UserFeedbackSummary/types.d.cts +2 -3
- package/dist/components/UserFeedbackSummary/types.d.ts +2 -3
- package/dist/components/UserMenu/UserMenu.d.cts +3 -4
- package/dist/components/UserMenu/UserMenu.d.ts +3 -4
- package/dist/components/UserMenu/model.d.cts +2 -3
- package/dist/components/UserMenu/model.d.ts +2 -3
- package/dist/components/UserMenu/theme.d.cts +2 -3
- package/dist/components/UserMenu/theme.d.ts +2 -3
- package/dist/components/UserMenu/types.d.cts +2 -3
- package/dist/components/UserMenu/types.d.ts +2 -3
- package/dist/fonts/materialSymbolsTypes.d.cts +2 -3
- package/dist/fonts/materialSymbolsTypes.d.ts +2 -3
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/styleD/build/css/component/tile.css +63 -0
- package/dist/styleD/build/typescript/base/colors.d.cts +3 -4
- package/dist/styleD/build/typescript/base/colors.d.ts +3 -4
- package/dist/styleD/build/typescript/base/radius.d.cts +3 -4
- package/dist/styleD/build/typescript/base/radius.d.ts +3 -4
- package/dist/styleD/build/typescript/base/sizing.d.cts +3 -4
- package/dist/styleD/build/typescript/base/sizing.d.ts +3 -4
- package/dist/styleD/build/typescript/base/spacing.d.cts +3 -4
- package/dist/styleD/build/typescript/base/spacing.d.ts +3 -4
- package/dist/styleD/build/typescript/base/typography.d.cts +3 -4
- package/dist/styleD/build/typescript/base/typography.d.ts +3 -4
- package/dist/styleD/build/typescript/component/alertBanner.d.cts +3 -4
- package/dist/styleD/build/typescript/component/alertBanner.d.ts +3 -4
- package/dist/styleD/build/typescript/component/autocomplete.d.cts +3 -4
- package/dist/styleD/build/typescript/component/autocomplete.d.ts +3 -4
- package/dist/styleD/build/typescript/component/avatar.d.cts +3 -4
- package/dist/styleD/build/typescript/component/avatar.d.ts +3 -4
- package/dist/styleD/build/typescript/component/badge.d.cts +3 -4
- package/dist/styleD/build/typescript/component/badge.d.ts +3 -4
- package/dist/styleD/build/typescript/component/button.d.cts +3 -4
- package/dist/styleD/build/typescript/component/button.d.ts +3 -4
- package/dist/styleD/build/typescript/component/buttonGroup.d.cts +3 -4
- package/dist/styleD/build/typescript/component/buttonGroup.d.ts +3 -4
- package/dist/styleD/build/typescript/component/byline.d.cts +3 -4
- package/dist/styleD/build/typescript/component/byline.d.ts +3 -4
- package/dist/styleD/build/typescript/component/checkbox.d.cts +3 -4
- package/dist/styleD/build/typescript/component/checkbox.d.ts +3 -4
- package/dist/styleD/build/typescript/component/datePicker.d.cts +3 -4
- package/dist/styleD/build/typescript/component/datePicker.d.ts +3 -4
- package/dist/styleD/build/typescript/component/favicon.d.cts +3 -4
- package/dist/styleD/build/typescript/component/favicon.d.ts +3 -4
- package/dist/styleD/build/typescript/component/form.d.cts +3 -4
- package/dist/styleD/build/typescript/component/form.d.ts +3 -4
- package/dist/styleD/build/typescript/component/grid.d.cts +3 -4
- package/dist/styleD/build/typescript/component/grid.d.ts +3 -4
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.cts +3 -4
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.ts +3 -4
- package/dist/styleD/build/typescript/component/icon.d.cts +3 -4
- package/dist/styleD/build/typescript/component/icon.d.ts +3 -4
- package/dist/styleD/build/typescript/component/inlineMessage.d.cts +3 -4
- package/dist/styleD/build/typescript/component/inlineMessage.d.ts +3 -4
- package/dist/styleD/build/typescript/component/intendedAudienceSignifier.d.cts +3 -4
- package/dist/styleD/build/typescript/component/intendedAudienceSignifier.d.ts +3 -4
- package/dist/styleD/build/typescript/component/layout.d.cts +3 -4
- package/dist/styleD/build/typescript/component/layout.d.ts +3 -4
- package/dist/styleD/build/typescript/component/link.d.cts +3 -4
- package/dist/styleD/build/typescript/component/link.d.ts +3 -4
- package/dist/styleD/build/typescript/component/menu.d.cts +3 -4
- package/dist/styleD/build/typescript/component/menu.d.ts +3 -4
- package/dist/styleD/build/typescript/component/modal.d.cts +3 -4
- package/dist/styleD/build/typescript/component/modal.d.ts +3 -4
- package/dist/styleD/build/typescript/component/pagination.d.cts +3 -4
- package/dist/styleD/build/typescript/component/pagination.d.ts +3 -4
- package/dist/styleD/build/typescript/component/radioGroup.d.cts +3 -4
- package/dist/styleD/build/typescript/component/radioGroup.d.ts +3 -4
- package/dist/styleD/build/typescript/component/select.d.cts +3 -4
- package/dist/styleD/build/typescript/component/select.d.ts +3 -4
- package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.cts +3 -4
- package/dist/styleD/build/typescript/component/sidebarStepperNavigation.d.ts +3 -4
- package/dist/styleD/build/typescript/component/table.d.cts +3 -4
- package/dist/styleD/build/typescript/component/table.d.ts +3 -4
- package/dist/styleD/build/typescript/component/tabs.d.cts +3 -4
- package/dist/styleD/build/typescript/component/tabs.d.ts +3 -4
- package/dist/styleD/build/typescript/component/tagPicker.d.cts +3 -4
- package/dist/styleD/build/typescript/component/tagPicker.d.ts +3 -4
- package/dist/styleD/build/typescript/component/tagTable.d.cts +3 -4
- package/dist/styleD/build/typescript/component/tagTable.d.ts +3 -4
- package/dist/styleD/build/typescript/component/textArea.d.cts +3 -4
- package/dist/styleD/build/typescript/component/textArea.d.ts +3 -4
- package/dist/styleD/build/typescript/component/textInput.d.cts +3 -4
- package/dist/styleD/build/typescript/component/textInput.d.ts +3 -4
- package/dist/styleD/build/typescript/component/textListInput.d.cts +3 -4
- package/dist/styleD/build/typescript/component/textListInput.d.ts +3 -4
- package/dist/styleD/build/typescript/component/tile.cjs +89 -0
- package/dist/styleD/build/typescript/component/tile.d.cts +111 -0
- package/dist/styleD/build/typescript/component/tile.d.ts +111 -0
- package/dist/styleD/build/typescript/component/tile.js +89 -0
- package/dist/styleD/build/typescript/component/toggleSwitch.d.cts +3 -4
- package/dist/styleD/build/typescript/component/toggleSwitch.d.ts +3 -4
- package/dist/styleD/build/typescript/component/tooltip.d.cts +3 -4
- package/dist/styleD/build/typescript/component/tooltip.d.ts +3 -4
- package/dist/styleD/build/typescript/component/topBar.d.cts +3 -4
- package/dist/styleD/build/typescript/component/topBar.d.ts +3 -4
- package/dist/styleD/build/typescript/component/typography.d.cts +3 -4
- package/dist/styleD/build/typescript/component/typography.d.ts +3 -4
- package/dist/styleD/build/typescript/component/userFeedbackSummary.d.cts +3 -4
- package/dist/styleD/build/typescript/component/userFeedbackSummary.d.ts +3 -4
- package/dist/styleD/build/typescript/component/userMenu.d.cts +3 -4
- package/dist/styleD/build/typescript/component/userMenu.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/breakpoints.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/breakpoints.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/colors.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/colors.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/grid.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/grid.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/radius.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/radius.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/shadow.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/shadow.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/sizing.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/sizing.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/spacing.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/spacing.d.ts +3 -4
- package/dist/styleD/build/typescript/semantic/typography.d.cts +3 -4
- package/dist/styleD/build/typescript/semantic/typography.d.ts +3 -4
- package/dist/styleD/utils/semantic/mq.d.cts +5 -6
- package/dist/styleD/utils/semantic/mq.d.ts +5 -6
- package/dist/styleD/utils/semantic/typography.d.cts +3 -4
- package/dist/styleD/utils/semantic/typography.d.ts +3 -4
- package/dist/util/reset.d.cts +2 -3
- package/dist/util/reset.d.ts +2 -3
- package/dist/util/types.d.cts +5 -6
- package/dist/util/types.d.ts +5 -6
- package/package.json +31 -17
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticBreakpoints: {
|
|
5
|
+
export declare const semanticBreakpoints: {
|
|
6
6
|
sm: string;
|
|
7
7
|
md: string;
|
|
8
8
|
lg: string;
|
|
9
9
|
};
|
|
10
|
-
type SemanticBreakpoints = typeof semanticBreakpoints;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SemanticBreakpoints, semanticBreakpoints };
|
|
10
|
+
export type SemanticBreakpoints = typeof semanticBreakpoints;
|
|
11
|
+
//#endregion
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticBreakpoints: {
|
|
5
|
+
export declare const semanticBreakpoints: {
|
|
6
6
|
sm: string;
|
|
7
7
|
md: string;
|
|
8
8
|
lg: string;
|
|
9
9
|
};
|
|
10
|
-
type SemanticBreakpoints = typeof semanticBreakpoints;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SemanticBreakpoints, semanticBreakpoints };
|
|
10
|
+
export type SemanticBreakpoints = typeof semanticBreakpoints;
|
|
11
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticColors: {
|
|
5
|
+
export declare const semanticColors: {
|
|
6
6
|
text: {
|
|
7
7
|
strong: string;
|
|
8
8
|
weak: string;
|
|
@@ -111,6 +111,5 @@ declare const semanticColors: {
|
|
|
111
111
|
neutralMedium: string;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
type SemanticColors = typeof semanticColors;
|
|
115
|
-
//#endregion
|
|
116
|
-
export { SemanticColors, semanticColors };
|
|
114
|
+
export type SemanticColors = typeof semanticColors;
|
|
115
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticColors: {
|
|
5
|
+
export declare const semanticColors: {
|
|
6
6
|
text: {
|
|
7
7
|
strong: string;
|
|
8
8
|
weak: string;
|
|
@@ -111,6 +111,5 @@ declare const semanticColors: {
|
|
|
111
111
|
neutralMedium: string;
|
|
112
112
|
};
|
|
113
113
|
};
|
|
114
|
-
type SemanticColors = typeof semanticColors;
|
|
115
|
-
//#endregion
|
|
116
|
-
export { SemanticColors, semanticColors };
|
|
114
|
+
export type SemanticColors = typeof semanticColors;
|
|
115
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticGrid: {
|
|
5
|
+
export declare const semanticGrid: {
|
|
6
6
|
gutter: {
|
|
7
7
|
lgPx: string;
|
|
8
8
|
mdPx: string;
|
|
@@ -25,6 +25,5 @@ declare const semanticGrid: {
|
|
|
25
25
|
sm: number;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
type SemanticGrid = typeof semanticGrid;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { SemanticGrid, semanticGrid };
|
|
28
|
+
export type SemanticGrid = typeof semanticGrid;
|
|
29
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticGrid: {
|
|
5
|
+
export declare const semanticGrid: {
|
|
6
6
|
gutter: {
|
|
7
7
|
lgPx: string;
|
|
8
8
|
mdPx: string;
|
|
@@ -25,6 +25,5 @@ declare const semanticGrid: {
|
|
|
25
25
|
sm: number;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
type SemanticGrid = typeof semanticGrid;
|
|
29
|
-
//#endregion
|
|
30
|
-
export { SemanticGrid, semanticGrid };
|
|
28
|
+
export type SemanticGrid = typeof semanticGrid;
|
|
29
|
+
//#endregion
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticRadius: {
|
|
5
|
+
export declare const semanticRadius: {
|
|
6
6
|
cornerXs: string;
|
|
7
7
|
cornerSm: string;
|
|
8
8
|
cornerMd: string;
|
|
9
9
|
};
|
|
10
|
-
type SemanticRadius = typeof semanticRadius;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SemanticRadius, semanticRadius };
|
|
10
|
+
export type SemanticRadius = typeof semanticRadius;
|
|
11
|
+
//#endregion
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticRadius: {
|
|
5
|
+
export declare const semanticRadius: {
|
|
6
6
|
cornerXs: string;
|
|
7
7
|
cornerSm: string;
|
|
8
8
|
cornerMd: string;
|
|
9
9
|
};
|
|
10
|
-
type SemanticRadius = typeof semanticRadius;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { SemanticRadius, semanticRadius };
|
|
10
|
+
export type SemanticRadius = typeof semanticRadius;
|
|
11
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticShadow: {
|
|
5
|
+
export declare const semanticShadow: {
|
|
6
6
|
raised: string;
|
|
7
7
|
};
|
|
8
|
-
type SemanticShadow = typeof semanticShadow;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { SemanticShadow, semanticShadow };
|
|
8
|
+
export type SemanticShadow = typeof semanticShadow;
|
|
9
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticShadow: {
|
|
5
|
+
export declare const semanticShadow: {
|
|
6
6
|
raised: string;
|
|
7
7
|
};
|
|
8
|
-
type SemanticShadow = typeof semanticShadow;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { SemanticShadow, semanticShadow };
|
|
8
|
+
export type SemanticShadow = typeof semanticShadow;
|
|
9
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticSizing: {
|
|
5
|
+
export declare const semanticSizing: {
|
|
6
6
|
height: {
|
|
7
7
|
xxxxs: string;
|
|
8
8
|
xxxs: string;
|
|
@@ -37,6 +37,5 @@ declare const semanticSizing: {
|
|
|
37
37
|
maxWidthPx: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
type SemanticSizing = typeof semanticSizing;
|
|
41
|
-
//#endregion
|
|
42
|
-
export { SemanticSizing, semanticSizing };
|
|
40
|
+
export type SemanticSizing = typeof semanticSizing;
|
|
41
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticSizing: {
|
|
5
|
+
export declare const semanticSizing: {
|
|
6
6
|
height: {
|
|
7
7
|
xxxxs: string;
|
|
8
8
|
xxxs: string;
|
|
@@ -37,6 +37,5 @@ declare const semanticSizing: {
|
|
|
37
37
|
maxWidthPx: string;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
type SemanticSizing = typeof semanticSizing;
|
|
41
|
-
//#endregion
|
|
42
|
-
export { SemanticSizing, semanticSizing };
|
|
40
|
+
export type SemanticSizing = typeof semanticSizing;
|
|
41
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticSpacing: {
|
|
5
|
+
export declare const semanticSpacing: {
|
|
6
6
|
stackXxs: string;
|
|
7
7
|
stackXs: string;
|
|
8
8
|
stackSm: string;
|
|
@@ -10,6 +10,5 @@ declare const semanticSpacing: {
|
|
|
10
10
|
stackLg: string;
|
|
11
11
|
stackXl: string;
|
|
12
12
|
};
|
|
13
|
-
type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SemanticSpacing, semanticSpacing };
|
|
13
|
+
export type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticSpacing: {
|
|
5
|
+
export declare const semanticSpacing: {
|
|
6
6
|
stackXxs: string;
|
|
7
7
|
stackXs: string;
|
|
8
8
|
stackSm: string;
|
|
@@ -10,6 +10,5 @@ declare const semanticSpacing: {
|
|
|
10
10
|
stackLg: string;
|
|
11
11
|
stackXl: string;
|
|
12
12
|
};
|
|
13
|
-
type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { SemanticSpacing, semanticSpacing };
|
|
13
|
+
export type SemanticSpacing = typeof semanticSpacing;
|
|
14
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticTypography: {
|
|
5
|
+
export declare const semanticTypography: {
|
|
6
6
|
titleSm: {
|
|
7
7
|
font: string;
|
|
8
8
|
letterSpacing: string;
|
|
@@ -379,6 +379,5 @@ declare const semanticTypography: {
|
|
|
379
379
|
fontWidth: number;
|
|
380
380
|
};
|
|
381
381
|
};
|
|
382
|
-
type SemanticTypography = typeof semanticTypography;
|
|
383
|
-
//#endregion
|
|
384
|
-
export { SemanticTypography, semanticTypography };
|
|
382
|
+
export type SemanticTypography = typeof semanticTypography;
|
|
383
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
|
-
declare const semanticTypography: {
|
|
5
|
+
export declare const semanticTypography: {
|
|
6
6
|
titleSm: {
|
|
7
7
|
font: string;
|
|
8
8
|
letterSpacing: string;
|
|
@@ -379,6 +379,5 @@ declare const semanticTypography: {
|
|
|
379
379
|
fontWidth: number;
|
|
380
380
|
};
|
|
381
381
|
};
|
|
382
|
-
type SemanticTypography = typeof semanticTypography;
|
|
383
|
-
//#endregion
|
|
384
|
-
export { SemanticTypography, semanticTypography };
|
|
382
|
+
export type SemanticTypography = typeof semanticTypography;
|
|
383
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { semanticBreakpoints } from "../../build/typescript/semantic/breakpoints.cjs";
|
|
2
2
|
//#region src/styleD/utils/semantic/mq.d.ts
|
|
3
|
-
type Breakpoint = keyof typeof semanticBreakpoints;
|
|
3
|
+
export type Breakpoint = keyof typeof semanticBreakpoints;
|
|
4
4
|
/**
|
|
5
5
|
* Returns a `min-width` media query string for the given breakpoint.
|
|
6
6
|
* Use to apply styles at that breakpoint and above.
|
|
@@ -13,7 +13,7 @@ type Breakpoint = keyof typeof semanticBreakpoints;
|
|
|
13
13
|
* }
|
|
14
14
|
* `;
|
|
15
15
|
*/
|
|
16
|
-
declare const from: Record<"sm" | "md" | "lg", string>;
|
|
16
|
+
export declare const from: Record<"sm" | "md" | "lg", string>;
|
|
17
17
|
/**
|
|
18
18
|
* Returns a `max-width` media query string for everything *below* the given
|
|
19
19
|
* breakpoint (exclusive). Use to apply styles only on screens smaller than
|
|
@@ -27,7 +27,7 @@ declare const from: Record<"sm" | "md" | "lg", string>;
|
|
|
27
27
|
* }
|
|
28
28
|
* `;
|
|
29
29
|
*/
|
|
30
|
-
declare const until: Record<"sm" | "md" | "lg", string>;
|
|
30
|
+
export declare const until: Record<"sm" | "md" | "lg", string>;
|
|
31
31
|
/**
|
|
32
32
|
* Returns a combined `min-width` and `max-width` media query string for
|
|
33
33
|
* the range starting at breakpoint A up to (but not including) breakpoint B.
|
|
@@ -40,7 +40,7 @@ declare const until: Record<"sm" | "md" | "lg", string>;
|
|
|
40
40
|
* }
|
|
41
41
|
* `;
|
|
42
42
|
*/
|
|
43
|
-
declare const between: {
|
|
43
|
+
export declare const between: {
|
|
44
44
|
sm: {
|
|
45
45
|
and: Record<"md" | "lg", string>;
|
|
46
46
|
};
|
|
@@ -51,5 +51,4 @@ declare const between: {
|
|
|
51
51
|
and: Record<"sm" | "md", string>;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { Breakpoint, between, from, until };
|
|
54
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { semanticBreakpoints } from "../../build/typescript/semantic/breakpoints.js";
|
|
2
2
|
//#region src/styleD/utils/semantic/mq.d.ts
|
|
3
|
-
type Breakpoint = keyof typeof semanticBreakpoints;
|
|
3
|
+
export type Breakpoint = keyof typeof semanticBreakpoints;
|
|
4
4
|
/**
|
|
5
5
|
* Returns a `min-width` media query string for the given breakpoint.
|
|
6
6
|
* Use to apply styles at that breakpoint and above.
|
|
@@ -13,7 +13,7 @@ type Breakpoint = keyof typeof semanticBreakpoints;
|
|
|
13
13
|
* }
|
|
14
14
|
* `;
|
|
15
15
|
*/
|
|
16
|
-
declare const from: Record<"sm" | "md" | "lg", string>;
|
|
16
|
+
export declare const from: Record<"sm" | "md" | "lg", string>;
|
|
17
17
|
/**
|
|
18
18
|
* Returns a `max-width` media query string for everything *below* the given
|
|
19
19
|
* breakpoint (exclusive). Use to apply styles only on screens smaller than
|
|
@@ -27,7 +27,7 @@ declare const from: Record<"sm" | "md" | "lg", string>;
|
|
|
27
27
|
* }
|
|
28
28
|
* `;
|
|
29
29
|
*/
|
|
30
|
-
declare const until: Record<"sm" | "md" | "lg", string>;
|
|
30
|
+
export declare const until: Record<"sm" | "md" | "lg", string>;
|
|
31
31
|
/**
|
|
32
32
|
* Returns a combined `min-width` and `max-width` media query string for
|
|
33
33
|
* the range starting at breakpoint A up to (but not including) breakpoint B.
|
|
@@ -40,7 +40,7 @@ declare const until: Record<"sm" | "md" | "lg", string>;
|
|
|
40
40
|
* }
|
|
41
41
|
* `;
|
|
42
42
|
*/
|
|
43
|
-
declare const between: {
|
|
43
|
+
export declare const between: {
|
|
44
44
|
sm: {
|
|
45
45
|
and: Record<"md" | "lg", string>;
|
|
46
46
|
};
|
|
@@ -51,5 +51,4 @@ declare const between: {
|
|
|
51
51
|
and: Record<"sm" | "md", string>;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { Breakpoint, between, from, until };
|
|
54
|
+
//#endregion
|
|
@@ -5,7 +5,6 @@ type SemanticTypography = {
|
|
|
5
5
|
letterSpacing: string;
|
|
6
6
|
fontWidth: number;
|
|
7
7
|
};
|
|
8
|
-
declare const convertTypographyToEmotionStringStyle: (typography: SemanticTypography) => SerializedStyles;
|
|
9
|
-
declare const convertTypographyToEmotionObjectStyle: (typography: SemanticTypography) => CSSObject;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { convertTypographyToEmotionObjectStyle, convertTypographyToEmotionStringStyle };
|
|
8
|
+
export declare const convertTypographyToEmotionStringStyle: (typography: SemanticTypography) => SerializedStyles;
|
|
9
|
+
export declare const convertTypographyToEmotionObjectStyle: (typography: SemanticTypography) => CSSObject;
|
|
10
|
+
//#endregion
|
|
@@ -5,7 +5,6 @@ type SemanticTypography = {
|
|
|
5
5
|
letterSpacing: string;
|
|
6
6
|
fontWidth: number;
|
|
7
7
|
};
|
|
8
|
-
declare const convertTypographyToEmotionStringStyle: (typography: SemanticTypography) => SerializedStyles;
|
|
9
|
-
declare const convertTypographyToEmotionObjectStyle: (typography: SemanticTypography) => CSSObject;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { convertTypographyToEmotionObjectStyle, convertTypographyToEmotionStringStyle };
|
|
8
|
+
export declare const convertTypographyToEmotionStringStyle: (typography: SemanticTypography) => SerializedStyles;
|
|
9
|
+
export declare const convertTypographyToEmotionObjectStyle: (typography: SemanticTypography) => CSSObject;
|
|
10
|
+
//#endregion
|
package/dist/util/reset.d.cts
CHANGED
package/dist/util/reset.d.ts
CHANGED
package/dist/util/types.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
//#region src/util/types.d.ts
|
|
3
|
-
interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
3
|
+
export interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
4
4
|
/**
|
|
5
5
|
* Custom theme overrides for the component, this is the recommended way to
|
|
6
6
|
* customize the appearance of the component based on the design system tokens
|
|
@@ -20,13 +20,12 @@ interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
|
20
20
|
*/
|
|
21
21
|
cssOverrides?: SerializedStyles | SerializedStyles[];
|
|
22
22
|
}
|
|
23
|
-
interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, ChildrenType = React.ReactNode> extends DefaultProps<ThemeType, ClassNameType> {
|
|
23
|
+
export interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, ChildrenType = React.ReactNode> extends DefaultProps<ThemeType, ClassNameType> {
|
|
24
24
|
/**
|
|
25
25
|
* The content of the component
|
|
26
26
|
*/
|
|
27
27
|
children?: ChildrenType;
|
|
28
28
|
}
|
|
29
|
-
type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
30
|
-
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
31
|
-
//#endregion
|
|
32
|
-
export { DeepPartial, DefaultProps, DefaultPropsWithChildren, Prettify };
|
|
29
|
+
export type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
30
|
+
export type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
31
|
+
//#endregion
|
package/dist/util/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SerializedStyles } from "@emotion/react";
|
|
2
2
|
//#region src/util/types.d.ts
|
|
3
|
-
interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
3
|
+
export interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
4
4
|
/**
|
|
5
5
|
* Custom theme overrides for the component, this is the recommended way to
|
|
6
6
|
* customize the appearance of the component based on the design system tokens
|
|
@@ -20,13 +20,12 @@ interface DefaultProps<ThemeType, ClassNameType = undefined> {
|
|
|
20
20
|
*/
|
|
21
21
|
cssOverrides?: SerializedStyles | SerializedStyles[];
|
|
22
22
|
}
|
|
23
|
-
interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, ChildrenType = React.ReactNode> extends DefaultProps<ThemeType, ClassNameType> {
|
|
23
|
+
export interface DefaultPropsWithChildren<ThemeType, ClassNameType = undefined, ChildrenType = React.ReactNode> extends DefaultProps<ThemeType, ClassNameType> {
|
|
24
24
|
/**
|
|
25
25
|
* The content of the component
|
|
26
26
|
*/
|
|
27
27
|
children?: ChildrenType;
|
|
28
28
|
}
|
|
29
|
-
type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
30
|
-
type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
31
|
-
//#endregion
|
|
32
|
-
export { DeepPartial, DefaultProps, DefaultPropsWithChildren, Prettify };
|
|
29
|
+
export type Prettify<T> = { [K in keyof T]: T[K]; } & {};
|
|
30
|
+
export type DeepPartial<T> = T extends object ? { [P in keyof T]?: DeepPartial<T[P]>; } : T;
|
|
31
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guardian/stand",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.74",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/guardian/stand"
|
|
6
6
|
},
|
|
@@ -247,6 +247,16 @@
|
|
|
247
247
|
"default": "./dist/TextArea.cjs"
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
|
+
"./Tile": {
|
|
251
|
+
"import": {
|
|
252
|
+
"types": "./dist/Tile.d.ts",
|
|
253
|
+
"default": "./dist/Tile.js"
|
|
254
|
+
},
|
|
255
|
+
"require": {
|
|
256
|
+
"types": "./dist/Tile.d.cts",
|
|
257
|
+
"default": "./dist/Tile.cjs"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
250
260
|
"./AlertBanner": {
|
|
251
261
|
"import": {
|
|
252
262
|
"types": "./dist/AlertBanner.d.ts",
|
|
@@ -467,6 +477,7 @@
|
|
|
467
477
|
"./component/checkbox.css": "./dist/styleD/build/css/component/checkbox.css",
|
|
468
478
|
"./component/toggleSwitch.css": "./dist/styleD/build/css/component/toggleSwitch.css",
|
|
469
479
|
"./component/textArea.css": "./dist/styleD/build/css/component/textArea.css",
|
|
480
|
+
"./component/tile.css": "./dist/styleD/build/css/component/tile.css",
|
|
470
481
|
"./component/alertBanner.css": "./dist/styleD/build/css/component/alertBanner.css",
|
|
471
482
|
"./component/datePicker.css": "./dist/styleD/build/css/component/datePicker.css",
|
|
472
483
|
"./component/intendedAudienceSignifier.css": "./dist/styleD/build/css/component/intendedAudienceSignifier.css",
|
|
@@ -570,6 +581,9 @@
|
|
|
570
581
|
"TextArea": [
|
|
571
582
|
"./dist/TextArea.d.ts"
|
|
572
583
|
],
|
|
584
|
+
"Tile": [
|
|
585
|
+
"./dist/Tile.d.ts"
|
|
586
|
+
],
|
|
573
587
|
"AlertBanner": [
|
|
574
588
|
"./dist/AlertBanner.d.ts"
|
|
575
589
|
],
|
|
@@ -616,7 +630,7 @@
|
|
|
616
630
|
],
|
|
617
631
|
"devDependencies": {
|
|
618
632
|
"@arethetypeswrong/core": "0.18.5",
|
|
619
|
-
"@changesets/cli": "3.0.
|
|
633
|
+
"@changesets/cli": "3.0.2",
|
|
620
634
|
"@codesandbox/sandpack-react": "2.20.0",
|
|
621
635
|
"@emotion/react": "11.11.4",
|
|
622
636
|
"@figma/rest-api-spec": "0.42.0",
|
|
@@ -627,27 +641,27 @@
|
|
|
627
641
|
"@internationalized/date": "3.12.1",
|
|
628
642
|
"@material-design-icons/svg": "0.14.15",
|
|
629
643
|
"@playwright/experimental-ct-react17": "1.62.1",
|
|
630
|
-
"@storybook/addon-a11y": "10.
|
|
631
|
-
"@storybook/addon-docs": "10.
|
|
632
|
-
"@storybook/addon-themes": "10.
|
|
633
|
-
"@storybook/react-vite": "10.
|
|
644
|
+
"@storybook/addon-a11y": "10.6.0",
|
|
645
|
+
"@storybook/addon-docs": "10.6.0",
|
|
646
|
+
"@storybook/addon-themes": "10.6.0",
|
|
647
|
+
"@storybook/react-vite": "10.6.0",
|
|
634
648
|
"@testing-library/dom": "^10.4.1",
|
|
635
649
|
"@testing-library/jest-dom": "7.0.1",
|
|
636
|
-
"@tsdown/css": "0.
|
|
650
|
+
"@tsdown/css": "0.23.0",
|
|
637
651
|
"@types/jest": "30.0.0",
|
|
638
|
-
"@types/node": "24.
|
|
652
|
+
"@types/node": "24.13.4",
|
|
639
653
|
"@types/react": "17.0.76",
|
|
640
654
|
"@types/react-dom": "17.0.25",
|
|
641
655
|
"@typescript/typescript6": "6.0.2",
|
|
642
656
|
"change-case": "5.4.4",
|
|
643
657
|
"eslint": "9.39.3",
|
|
644
658
|
"eslint-plugin-check-file": "3.3.2",
|
|
645
|
-
"eslint-plugin-storybook": "10.
|
|
659
|
+
"eslint-plugin-storybook": "10.6.0",
|
|
646
660
|
"husky": "9.1.7",
|
|
647
|
-
"jest": "30.5.
|
|
648
|
-
"jest-environment-jsdom": "30.5.
|
|
649
|
-
"knip": "^6.
|
|
650
|
-
"lint-staged": "17.
|
|
661
|
+
"jest": "30.5.1",
|
|
662
|
+
"jest-environment-jsdom": "30.5.1",
|
|
663
|
+
"knip": "^6.35.1",
|
|
664
|
+
"lint-staged": "17.5.1",
|
|
651
665
|
"prettier": "3.9.6",
|
|
652
666
|
"prosemirror-dropcursor": "1.8.2",
|
|
653
667
|
"prosemirror-history": "1.4.1",
|
|
@@ -661,13 +675,13 @@
|
|
|
661
675
|
"react-dom": "17.0.2",
|
|
662
676
|
"remark-gfm": "4.0.1",
|
|
663
677
|
"sort-package-json": "4.0.0",
|
|
664
|
-
"storybook": "10.
|
|
665
|
-
"style-dictionary": "5.5.
|
|
678
|
+
"storybook": "10.6.0",
|
|
679
|
+
"style-dictionary": "5.5.3",
|
|
666
680
|
"ts-jest": "29.4.12",
|
|
667
|
-
"tsdown": "0.
|
|
681
|
+
"tsdown": "0.23.0",
|
|
668
682
|
"tslib": "2.8.1",
|
|
669
683
|
"typescript": "5.1.3",
|
|
670
|
-
"vite": "8.
|
|
684
|
+
"vite": "8.3.0",
|
|
671
685
|
"vite-plugin-svgr": "5.2.0"
|
|
672
686
|
},
|
|
673
687
|
"peerDependencies": {
|