@guardian/stand 0.0.72 → 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/AlertBanner.d.cts +2 -2
- package/dist/AlertBanner.d.ts +2 -2
- package/dist/Grid.d.cts +2 -2
- package/dist/Grid.d.ts +2 -2
- package/dist/HtmlPreviewLoader.d.cts +3 -1
- package/dist/HtmlPreviewLoader.d.ts +3 -1
- package/dist/Pagination.cjs +5 -0
- package/dist/Pagination.d.cts +5 -0
- package/dist/Pagination.d.ts +5 -0
- package/dist/Pagination.js +3 -0
- 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/Typography.d.cts +2 -2
- package/dist/Typography.d.ts +2 -2
- package/dist/UserMenu.d.cts +2 -1
- package/dist/UserMenu.d.ts +2 -1
- 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 +4 -4
- package/dist/components/AlertBanner/styles.d.ts +4 -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.cjs +0 -1
- package/dist/components/Byline/lib.d.cts +3 -5
- package/dist/components/Byline/lib.d.ts +3 -5
- package/dist/components/Byline/lib.js +1 -1
- 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 +4 -4
- package/dist/components/HtmlPreviewLoader/styles.d.ts +4 -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.cjs +97 -0
- package/dist/components/Pagination/Pagination.d.cts +4 -0
- package/dist/components/Pagination/Pagination.d.ts +4 -0
- package/dist/components/Pagination/Pagination.js +97 -0
- package/dist/components/Pagination/lib.cjs +30 -0
- package/dist/components/Pagination/lib.js +28 -0
- package/dist/components/Pagination/styles.cjs +112 -0
- package/dist/components/Pagination/styles.d.cts +7 -0
- package/dist/components/Pagination/styles.d.ts +7 -0
- package/dist/components/Pagination/styles.js +105 -0
- package/dist/components/Pagination/types.d.cts +58 -0
- package/dist/components/Pagination/types.d.ts +58 -0
- 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 +5 -7
- package/dist/components/UserMenu/UserMenu.d.ts +5 -7
- 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 +5 -0
- package/dist/components/UserMenu/theme.d.ts +5 -0
- 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 +4 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +3 -1
- package/dist/styleD/build/css/component/pagination.css +51 -0
- 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.cjs +72 -0
- package/dist/styleD/build/typescript/component/pagination.d.cts +74 -0
- package/dist/styleD/build/typescript/component/pagination.d.ts +74 -0
- package/dist/styleD/build/typescript/component/pagination.js +72 -0
- 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 +49 -20
- package/dist/styleD/build/css/component/previewFrame.css +0 -10
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
const require_mq = require("../../styleD/utils/semantic/mq.cjs");
|
|
2
|
+
const require_tile = require("../../styleD/build/typescript/component/tile.cjs");
|
|
3
|
+
let _emotion_react = require("@emotion/react");
|
|
4
|
+
//#region src/components/Tile/styles.ts
|
|
5
|
+
const defaultTileTheme = require_tile.componentTile;
|
|
6
|
+
const tileStyles = (theme, { size }) => _emotion_react.css`
|
|
7
|
+
display: ${theme.shared.display};
|
|
8
|
+
flex-direction: ${theme.shared.flexDirection};
|
|
9
|
+
align-items: ${theme.shared.alignItems};
|
|
10
|
+
justify-content: ${theme.shared.justifyContent};
|
|
11
|
+
gap: ${theme.shared.gap};
|
|
12
|
+
min-height: ${theme[size].minHeight};
|
|
13
|
+
padding: ${theme[size].paddingY} ${theme[size].paddingX};
|
|
14
|
+
border: ${theme.shared.borderWidth} ${theme.shared.borderStyle}
|
|
15
|
+
${theme.shared.borderColor};
|
|
16
|
+
border-radius: ${theme.shared.borderRadius};
|
|
17
|
+
background-color: ${theme.shared.backgroundColor};
|
|
18
|
+
color: ${theme.shared.color};
|
|
19
|
+
text-decoration: ${theme.shared.textDecoration};
|
|
20
|
+
cursor: ${theme.shared.cursor};
|
|
21
|
+
width: ${theme[size].width};
|
|
22
|
+
max-width: ${theme.shared.maxWidth};
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
font: inherit;
|
|
25
|
+
text-align: left;
|
|
26
|
+
|
|
27
|
+
${require_mq.until.md} {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&[data-hovered] {
|
|
32
|
+
background-color: ${theme.shared.hover.backgroundColor};
|
|
33
|
+
border-color: ${theme.shared.hover.borderColor};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&[data-pressed] {
|
|
37
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
38
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[data-selected] {
|
|
42
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
43
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-focus-visible] {
|
|
47
|
+
outline: ${theme.shared.focusVisible.outline};
|
|
48
|
+
outline-offset: ${theme.shared.focusVisible.outlineOffset};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[data-disabled] {
|
|
52
|
+
color: ${theme.shared.disabled.color};
|
|
53
|
+
border-color: ${theme.shared.disabled.borderColor};
|
|
54
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
55
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
const selectableTileStyles = (theme, { size }) => _emotion_react.css`
|
|
59
|
+
${tileStyles(theme, { size })}
|
|
60
|
+
|
|
61
|
+
&[data-hovered] {
|
|
62
|
+
background-color: ${theme.shared.selectableTile.shared.hover.backgroundColor};
|
|
63
|
+
border-color: ${theme.shared.hover.borderColor};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-pressed] {
|
|
67
|
+
background-color: ${theme.shared.selectableTile.shared.pressed.backgroundColor};
|
|
68
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-selected] {
|
|
72
|
+
background-color: ${theme.shared.selectableTile.shared.selected.backgroundColor};
|
|
73
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[data-focus-visible] {
|
|
77
|
+
background-color: ${theme.shared.selectableTile.shared.focusVisible.backgroundColor};
|
|
78
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&[data-selected][data-hovered] {
|
|
82
|
+
background-color: ${theme.shared.selectableTile.shared.selected.hover.backgroundColor};
|
|
83
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&[data-selected][data-pressed] {
|
|
87
|
+
background-color: ${theme.shared.selectableTile.shared.selected.pressed.backgroundColor};
|
|
88
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[data-selected][data-focus-visible] {
|
|
92
|
+
background-color: ${theme.shared.selectableTile.shared.selected.focusVisible.backgroundColor};
|
|
93
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-disabled] {
|
|
97
|
+
color: ${theme.shared.disabled.color};
|
|
98
|
+
border-color: ${theme.shared.disabled.borderColor};
|
|
99
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
100
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
101
|
+
}
|
|
102
|
+
`;
|
|
103
|
+
const tileContentStyles = (theme, { size }) => _emotion_react.css`
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: row;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: space-between;
|
|
108
|
+
gap: ${theme[size].gap};
|
|
109
|
+
width: 100%;
|
|
110
|
+
min-width: 0;
|
|
111
|
+
`;
|
|
112
|
+
const tileTextStyles = (theme) => _emotion_react.css`
|
|
113
|
+
color: ${theme.shared.color};
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
min-width: 0;
|
|
117
|
+
gap: 0.5rem;
|
|
118
|
+
`;
|
|
119
|
+
const tileTitleStyles = (theme) => _emotion_react.css`
|
|
120
|
+
display: block;
|
|
121
|
+
line-height: 1.2;
|
|
122
|
+
color: ${theme.shared.color};
|
|
123
|
+
|
|
124
|
+
[data-disabled] & {
|
|
125
|
+
color: ${theme.shared.disabled.color};
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
128
|
+
const tileDescriptionStyles = (theme) => _emotion_react.css`
|
|
129
|
+
color: ${theme.shared.descriptionColor};
|
|
130
|
+
display: block;
|
|
131
|
+
line-height: 1.2;
|
|
132
|
+
min-width: 0;
|
|
133
|
+
flex: 1;
|
|
134
|
+
|
|
135
|
+
[data-disabled] & {
|
|
136
|
+
color: ${theme.shared.disabled.color};
|
|
137
|
+
}
|
|
138
|
+
`;
|
|
139
|
+
const tileBottomRowStyles = () => _emotion_react.css`
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: space-between;
|
|
143
|
+
gap: 0.5rem;
|
|
144
|
+
width: 100%;
|
|
145
|
+
min-width: 0;
|
|
146
|
+
`;
|
|
147
|
+
const tileArrowStyles = (theme) => _emotion_react.css`
|
|
148
|
+
color: ${theme.shared.tileArrow.shared.color};
|
|
149
|
+
flex-shrink: 0;
|
|
150
|
+
margin-left: auto;
|
|
151
|
+
|
|
152
|
+
[data-disabled] & {
|
|
153
|
+
color: ${theme.shared.tileArrow.shared.disabled.color};
|
|
154
|
+
}
|
|
155
|
+
`;
|
|
156
|
+
const tileIconStyles = (theme) => _emotion_react.css`
|
|
157
|
+
color: ${theme.shared.tileIcon.shared.color};
|
|
158
|
+
flex-shrink: 0;
|
|
159
|
+
margin-right: 0.25rem;
|
|
160
|
+
|
|
161
|
+
[data-disabled] & {
|
|
162
|
+
color: ${theme.shared.tileIcon.shared.disabled.color};
|
|
163
|
+
}
|
|
164
|
+
`;
|
|
165
|
+
//#endregion
|
|
166
|
+
exports.defaultTileTheme = defaultTileTheme;
|
|
167
|
+
exports.selectableTileStyles = selectableTileStyles;
|
|
168
|
+
exports.tileArrowStyles = tileArrowStyles;
|
|
169
|
+
exports.tileBottomRowStyles = tileBottomRowStyles;
|
|
170
|
+
exports.tileContentStyles = tileContentStyles;
|
|
171
|
+
exports.tileDescriptionStyles = tileDescriptionStyles;
|
|
172
|
+
exports.tileIconStyles = tileIconStyles;
|
|
173
|
+
exports.tileStyles = tileStyles;
|
|
174
|
+
exports.tileTextStyles = tileTextStyles;
|
|
175
|
+
exports.tileTitleStyles = tileTitleStyles;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
|
+
import { ComponentTile } from "../../styleD/build/typescript/component/tile.cjs";
|
|
3
|
+
import { SerializedStyles } from "@emotion/react";
|
|
4
|
+
//#region src/components/Tile/styles.d.ts
|
|
5
|
+
export type TileTheme = Prettify<ComponentTile>;
|
|
6
|
+
export type PartialTileTheme = Prettify<DeepPartial<TileTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
|
+
import { ComponentTile } from "../../styleD/build/typescript/component/tile.js";
|
|
3
|
+
import { SerializedStyles } from "@emotion/react";
|
|
4
|
+
//#region src/components/Tile/styles.d.ts
|
|
5
|
+
export type TileTheme = Prettify<ComponentTile>;
|
|
6
|
+
export type PartialTileTheme = Prettify<DeepPartial<TileTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { until } from "../../styleD/utils/semantic/mq.js";
|
|
2
|
+
import { componentTile } from "../../styleD/build/typescript/component/tile.js";
|
|
3
|
+
import { css } from "@emotion/react";
|
|
4
|
+
//#region src/components/Tile/styles.ts
|
|
5
|
+
const defaultTileTheme = componentTile;
|
|
6
|
+
const tileStyles = (theme, { size }) => css`
|
|
7
|
+
display: ${theme.shared.display};
|
|
8
|
+
flex-direction: ${theme.shared.flexDirection};
|
|
9
|
+
align-items: ${theme.shared.alignItems};
|
|
10
|
+
justify-content: ${theme.shared.justifyContent};
|
|
11
|
+
gap: ${theme.shared.gap};
|
|
12
|
+
min-height: ${theme[size].minHeight};
|
|
13
|
+
padding: ${theme[size].paddingY} ${theme[size].paddingX};
|
|
14
|
+
border: ${theme.shared.borderWidth} ${theme.shared.borderStyle}
|
|
15
|
+
${theme.shared.borderColor};
|
|
16
|
+
border-radius: ${theme.shared.borderRadius};
|
|
17
|
+
background-color: ${theme.shared.backgroundColor};
|
|
18
|
+
color: ${theme.shared.color};
|
|
19
|
+
text-decoration: ${theme.shared.textDecoration};
|
|
20
|
+
cursor: ${theme.shared.cursor};
|
|
21
|
+
width: ${theme[size].width};
|
|
22
|
+
max-width: ${theme.shared.maxWidth};
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
font: inherit;
|
|
25
|
+
text-align: left;
|
|
26
|
+
|
|
27
|
+
${until.md} {
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&[data-hovered] {
|
|
32
|
+
background-color: ${theme.shared.hover.backgroundColor};
|
|
33
|
+
border-color: ${theme.shared.hover.borderColor};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&[data-pressed] {
|
|
37
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
38
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&[data-selected] {
|
|
42
|
+
background-color: ${theme.shared.pressed.backgroundColor};
|
|
43
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-focus-visible] {
|
|
47
|
+
outline: ${theme.shared.focusVisible.outline};
|
|
48
|
+
outline-offset: ${theme.shared.focusVisible.outlineOffset};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&[data-disabled] {
|
|
52
|
+
color: ${theme.shared.disabled.color};
|
|
53
|
+
border-color: ${theme.shared.disabled.borderColor};
|
|
54
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
55
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
const selectableTileStyles = (theme, { size }) => css`
|
|
59
|
+
${tileStyles(theme, { size })}
|
|
60
|
+
|
|
61
|
+
&[data-hovered] {
|
|
62
|
+
background-color: ${theme.shared.selectableTile.shared.hover.backgroundColor};
|
|
63
|
+
border-color: ${theme.shared.hover.borderColor};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&[data-pressed] {
|
|
67
|
+
background-color: ${theme.shared.selectableTile.shared.pressed.backgroundColor};
|
|
68
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&[data-selected] {
|
|
72
|
+
background-color: ${theme.shared.selectableTile.shared.selected.backgroundColor};
|
|
73
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[data-focus-visible] {
|
|
77
|
+
background-color: ${theme.shared.selectableTile.shared.focusVisible.backgroundColor};
|
|
78
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&[data-selected][data-hovered] {
|
|
82
|
+
background-color: ${theme.shared.selectableTile.shared.selected.hover.backgroundColor};
|
|
83
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&[data-selected][data-pressed] {
|
|
87
|
+
background-color: ${theme.shared.selectableTile.shared.selected.pressed.backgroundColor};
|
|
88
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[data-selected][data-focus-visible] {
|
|
92
|
+
background-color: ${theme.shared.selectableTile.shared.selected.focusVisible.backgroundColor};
|
|
93
|
+
border-color: ${theme.shared.pressed.borderColor};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-disabled] {
|
|
97
|
+
color: ${theme.shared.disabled.color};
|
|
98
|
+
border-color: ${theme.shared.disabled.borderColor};
|
|
99
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
100
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
101
|
+
}
|
|
102
|
+
`;
|
|
103
|
+
const tileContentStyles = (theme, { size }) => css`
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: row;
|
|
106
|
+
align-items: center;
|
|
107
|
+
justify-content: space-between;
|
|
108
|
+
gap: ${theme[size].gap};
|
|
109
|
+
width: 100%;
|
|
110
|
+
min-width: 0;
|
|
111
|
+
`;
|
|
112
|
+
const tileTextStyles = (theme) => css`
|
|
113
|
+
color: ${theme.shared.color};
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
min-width: 0;
|
|
117
|
+
gap: 0.5rem;
|
|
118
|
+
`;
|
|
119
|
+
const tileTitleStyles = (theme) => css`
|
|
120
|
+
display: block;
|
|
121
|
+
line-height: 1.2;
|
|
122
|
+
color: ${theme.shared.color};
|
|
123
|
+
|
|
124
|
+
[data-disabled] & {
|
|
125
|
+
color: ${theme.shared.disabled.color};
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
128
|
+
const tileDescriptionStyles = (theme) => css`
|
|
129
|
+
color: ${theme.shared.descriptionColor};
|
|
130
|
+
display: block;
|
|
131
|
+
line-height: 1.2;
|
|
132
|
+
min-width: 0;
|
|
133
|
+
flex: 1;
|
|
134
|
+
|
|
135
|
+
[data-disabled] & {
|
|
136
|
+
color: ${theme.shared.disabled.color};
|
|
137
|
+
}
|
|
138
|
+
`;
|
|
139
|
+
const tileBottomRowStyles = () => css`
|
|
140
|
+
display: flex;
|
|
141
|
+
align-items: center;
|
|
142
|
+
justify-content: space-between;
|
|
143
|
+
gap: 0.5rem;
|
|
144
|
+
width: 100%;
|
|
145
|
+
min-width: 0;
|
|
146
|
+
`;
|
|
147
|
+
const tileArrowStyles = (theme) => css`
|
|
148
|
+
color: ${theme.shared.tileArrow.shared.color};
|
|
149
|
+
flex-shrink: 0;
|
|
150
|
+
margin-left: auto;
|
|
151
|
+
|
|
152
|
+
[data-disabled] & {
|
|
153
|
+
color: ${theme.shared.tileArrow.shared.disabled.color};
|
|
154
|
+
}
|
|
155
|
+
`;
|
|
156
|
+
const tileIconStyles = (theme) => css`
|
|
157
|
+
color: ${theme.shared.tileIcon.shared.color};
|
|
158
|
+
flex-shrink: 0;
|
|
159
|
+
margin-right: 0.25rem;
|
|
160
|
+
|
|
161
|
+
[data-disabled] & {
|
|
162
|
+
color: ${theme.shared.tileIcon.shared.disabled.color};
|
|
163
|
+
}
|
|
164
|
+
`;
|
|
165
|
+
//#endregion
|
|
166
|
+
export { defaultTileTheme, selectableTileStyles, tileArrowStyles, tileBottomRowStyles, tileContentStyles, tileDescriptionStyles, tileIconStyles, tileStyles, tileTextStyles, tileTitleStyles };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
2
|
+
import { IconProps } from "../Icon/types.cjs";
|
|
3
|
+
import { TypographyVariant } from "../Typography/types.cjs";
|
|
4
|
+
import { TileTheme } from "./styles.cjs";
|
|
5
|
+
import { ButtonProps, LinkProps } from "react-aria-components";
|
|
6
|
+
//#region src/components/Tile/types.d.ts
|
|
7
|
+
export type TileInteractionMode = 'clickable' | 'selectable' | 'multi-select';
|
|
8
|
+
interface TileBaseProps extends DefaultPropsWithChildren<TileTheme> {
|
|
9
|
+
/**
|
|
10
|
+
* The interaction behavior of the Tile.
|
|
11
|
+
* @default 'clickable'
|
|
12
|
+
*/
|
|
13
|
+
interactionMode?: TileInteractionMode;
|
|
14
|
+
/**
|
|
15
|
+
* Size variant of the tile.
|
|
16
|
+
* @default 'md'
|
|
17
|
+
*/
|
|
18
|
+
size?: keyof Omit<TileTheme, 'shared'>;
|
|
19
|
+
/**
|
|
20
|
+
* Supporting text rendered below the title.
|
|
21
|
+
*/
|
|
22
|
+
description?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Title typography variant.
|
|
25
|
+
* @default 'bodyBoldSm'
|
|
26
|
+
*/
|
|
27
|
+
typography?: TypographyVariant;
|
|
28
|
+
/**
|
|
29
|
+
* to change the typography of the description, you can pass a variant from semanticTypography.
|
|
30
|
+
* By default, it is set to "body-sm".
|
|
31
|
+
*/
|
|
32
|
+
descriptionTypography?: TypographyVariant;
|
|
33
|
+
/**
|
|
34
|
+
* Optional leading icon rendered before the title.
|
|
35
|
+
*/
|
|
36
|
+
icon?: IconProps['symbol'] | '' | Exclude<IconProps['children'], string>;
|
|
37
|
+
}
|
|
38
|
+
export type ClickableTileProps = TileBaseProps & Omit<LinkProps, 'children' | 'href'> & {
|
|
39
|
+
href: string;
|
|
40
|
+
};
|
|
41
|
+
type SelectionTileBaseProps = TileBaseProps & Omit<ButtonProps, 'children' | 'onPress' | 'value'> & {
|
|
42
|
+
/** Value identifying this Tile in a selection. */
|
|
43
|
+
value: string;
|
|
44
|
+
/** Whether this tile is currently selected. */
|
|
45
|
+
isSelected: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type SelectionTileProps = SelectionTileBaseProps & ({
|
|
48
|
+
interactionMode: Extract<TileInteractionMode, 'selectable'>;
|
|
49
|
+
/** Called when this Tile is selected. */
|
|
50
|
+
onSelectionChange: (value: string) => void;
|
|
51
|
+
} | {
|
|
52
|
+
interactionMode: Extract<TileInteractionMode, 'multi-select'>;
|
|
53
|
+
/** Called with the next selected state when this Tile is pressed. */
|
|
54
|
+
onSelectionChange: (value: string, isSelected: boolean) => void;
|
|
55
|
+
});
|
|
56
|
+
export type SelectableTileProps = Extract<SelectionTileProps, {
|
|
57
|
+
interactionMode: 'selectable';
|
|
58
|
+
}>;
|
|
59
|
+
export type MultiSelectTileProps = Extract<SelectionTileProps, {
|
|
60
|
+
interactionMode: 'multi-select';
|
|
61
|
+
}>;
|
|
62
|
+
export type TileProps = ClickableTileProps | SelectionTileProps;
|
|
63
|
+
//#endregion
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
2
|
+
import { IconProps } from "../Icon/types.js";
|
|
3
|
+
import { TypographyVariant } from "../Typography/types.js";
|
|
4
|
+
import { TileTheme } from "./styles.js";
|
|
5
|
+
import { ButtonProps, LinkProps } from "react-aria-components";
|
|
6
|
+
//#region src/components/Tile/types.d.ts
|
|
7
|
+
export type TileInteractionMode = 'clickable' | 'selectable' | 'multi-select';
|
|
8
|
+
interface TileBaseProps extends DefaultPropsWithChildren<TileTheme> {
|
|
9
|
+
/**
|
|
10
|
+
* The interaction behavior of the Tile.
|
|
11
|
+
* @default 'clickable'
|
|
12
|
+
*/
|
|
13
|
+
interactionMode?: TileInteractionMode;
|
|
14
|
+
/**
|
|
15
|
+
* Size variant of the tile.
|
|
16
|
+
* @default 'md'
|
|
17
|
+
*/
|
|
18
|
+
size?: keyof Omit<TileTheme, 'shared'>;
|
|
19
|
+
/**
|
|
20
|
+
* Supporting text rendered below the title.
|
|
21
|
+
*/
|
|
22
|
+
description?: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Title typography variant.
|
|
25
|
+
* @default 'bodyBoldSm'
|
|
26
|
+
*/
|
|
27
|
+
typography?: TypographyVariant;
|
|
28
|
+
/**
|
|
29
|
+
* to change the typography of the description, you can pass a variant from semanticTypography.
|
|
30
|
+
* By default, it is set to "body-sm".
|
|
31
|
+
*/
|
|
32
|
+
descriptionTypography?: TypographyVariant;
|
|
33
|
+
/**
|
|
34
|
+
* Optional leading icon rendered before the title.
|
|
35
|
+
*/
|
|
36
|
+
icon?: IconProps['symbol'] | '' | Exclude<IconProps['children'], string>;
|
|
37
|
+
}
|
|
38
|
+
export type ClickableTileProps = TileBaseProps & Omit<LinkProps, 'children' | 'href'> & {
|
|
39
|
+
href: string;
|
|
40
|
+
};
|
|
41
|
+
type SelectionTileBaseProps = TileBaseProps & Omit<ButtonProps, 'children' | 'onPress' | 'value'> & {
|
|
42
|
+
/** Value identifying this Tile in a selection. */
|
|
43
|
+
value: string;
|
|
44
|
+
/** Whether this tile is currently selected. */
|
|
45
|
+
isSelected: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type SelectionTileProps = SelectionTileBaseProps & ({
|
|
48
|
+
interactionMode: Extract<TileInteractionMode, 'selectable'>;
|
|
49
|
+
/** Called when this Tile is selected. */
|
|
50
|
+
onSelectionChange: (value: string) => void;
|
|
51
|
+
} | {
|
|
52
|
+
interactionMode: Extract<TileInteractionMode, 'multi-select'>;
|
|
53
|
+
/** Called with the next selected state when this Tile is pressed. */
|
|
54
|
+
onSelectionChange: (value: string, isSelected: boolean) => void;
|
|
55
|
+
});
|
|
56
|
+
export type SelectableTileProps = Extract<SelectionTileProps, {
|
|
57
|
+
interactionMode: 'selectable';
|
|
58
|
+
}>;
|
|
59
|
+
export type MultiSelectTileProps = Extract<SelectionTileProps, {
|
|
60
|
+
interactionMode: 'multi-select';
|
|
61
|
+
}>;
|
|
62
|
+
export type TileProps = ClickableTileProps | SelectionTileProps;
|
|
63
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ToggleSwitchProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/ToggleSwitch/ToggleSwitch.d.ts
|
|
3
|
-
declare function ToggleSwitch({ children, description, size, theme, cssOverrides, ...props }: ToggleSwitchProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ToggleSwitch };
|
|
3
|
+
export declare function ToggleSwitch({ children, description, size, theme, cssOverrides, ...props }: ToggleSwitchProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ToggleSwitchProps } from "./types.js";
|
|
2
2
|
//#region src/components/ToggleSwitch/ToggleSwitch.d.ts
|
|
3
|
-
declare function ToggleSwitch({ children, description, size, theme, cssOverrides, ...props }: ToggleSwitchProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { ToggleSwitch };
|
|
3
|
+
export declare function ToggleSwitch({ children, description, size, theme, cssOverrides, ...props }: ToggleSwitchProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -4,7 +4,6 @@ import "./types.cjs";
|
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
import "react-aria-components";
|
|
6
6
|
//#region src/components/ToggleSwitch/styles.d.ts
|
|
7
|
-
type ToggleSwitchTheme = Prettify<ComponentToggleSwitch>;
|
|
8
|
-
type PartialToggleSwitchTheme = Prettify<DeepPartial<ToggleSwitchTheme>>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { PartialToggleSwitchTheme, ToggleSwitchTheme };
|
|
7
|
+
export type ToggleSwitchTheme = Prettify<ComponentToggleSwitch>;
|
|
8
|
+
export type PartialToggleSwitchTheme = Prettify<DeepPartial<ToggleSwitchTheme>>;
|
|
9
|
+
//#endregion
|
|
@@ -4,7 +4,6 @@ import "./types.js";
|
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
import "react-aria-components";
|
|
6
6
|
//#region src/components/ToggleSwitch/styles.d.ts
|
|
7
|
-
type ToggleSwitchTheme = Prettify<ComponentToggleSwitch>;
|
|
8
|
-
type PartialToggleSwitchTheme = Prettify<DeepPartial<ToggleSwitchTheme>>;
|
|
9
|
-
//#endregion
|
|
10
|
-
export { PartialToggleSwitchTheme, ToggleSwitchTheme };
|
|
7
|
+
export type ToggleSwitchTheme = Prettify<ComponentToggleSwitch>;
|
|
8
|
+
export type PartialToggleSwitchTheme = Prettify<DeepPartial<ToggleSwitchTheme>>;
|
|
9
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@ import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
|
2
2
|
import { ToggleSwitchTheme } from "./styles.cjs";
|
|
3
3
|
import { SwitchProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/ToggleSwitch/types.d.ts
|
|
5
|
-
interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme, SwitchProps['className']>, Omit<SwitchProps, 'children'> {
|
|
5
|
+
export interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme, SwitchProps['className']>, Omit<SwitchProps, 'children'> {
|
|
6
6
|
/**
|
|
7
7
|
* Size variant of the ToggleSwitch.
|
|
8
8
|
* @default 'md'
|
|
@@ -13,5 +13,4 @@ interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme,
|
|
|
13
13
|
*/
|
|
14
14
|
description?: React.ReactNode;
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { ToggleSwitchProps };
|
|
16
|
+
//#endregion
|
|
@@ -2,7 +2,7 @@ import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
|
2
2
|
import { ToggleSwitchTheme } from "./styles.js";
|
|
3
3
|
import { SwitchProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/ToggleSwitch/types.d.ts
|
|
5
|
-
interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme, SwitchProps['className']>, Omit<SwitchProps, 'children'> {
|
|
5
|
+
export interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme, SwitchProps['className']>, Omit<SwitchProps, 'children'> {
|
|
6
6
|
/**
|
|
7
7
|
* Size variant of the ToggleSwitch.
|
|
8
8
|
* @default 'md'
|
|
@@ -13,5 +13,4 @@ interface ToggleSwitchProps extends DefaultPropsWithChildren<ToggleSwitchTheme,
|
|
|
13
13
|
*/
|
|
14
14
|
description?: React.ReactNode;
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
|
-
export { ToggleSwitchProps };
|
|
16
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
3
|
-
declare const Tooltip: ({ children, placement, theme, cssOverrides, className, ...props }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { Tooltip };
|
|
3
|
+
export declare const Tooltip: ({ children, placement, theme, cssOverrides, className, ...props }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TooltipProps } from "./types.js";
|
|
2
2
|
//#region src/components/Tooltip/Tooltip.d.ts
|
|
3
|
-
declare const Tooltip: ({ children, placement, theme, cssOverrides, className, ...props }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { Tooltip };
|
|
3
|
+
export declare const Tooltip: ({ children, placement, theme, cssOverrides, className, ...props }: TooltipProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
|
2
2
|
import { ComponentTooltip } from "../../styleD/build/typescript/component/tooltip.cjs";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Tooltip/styles.d.ts
|
|
5
|
-
type TooltipTheme = Prettify<ComponentTooltip>;
|
|
6
|
-
type PartialTooltipTheme = Prettify<DeepPartial<TooltipTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PartialTooltipTheme, TooltipTheme };
|
|
5
|
+
export type TooltipTheme = Prettify<ComponentTooltip>;
|
|
6
|
+
export type PartialTooltipTheme = Prettify<DeepPartial<TooltipTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.js";
|
|
|
2
2
|
import { ComponentTooltip } from "../../styleD/build/typescript/component/tooltip.js";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Tooltip/styles.d.ts
|
|
5
|
-
type TooltipTheme = Prettify<ComponentTooltip>;
|
|
6
|
-
type PartialTooltipTheme = Prettify<DeepPartial<TooltipTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PartialTooltipTheme, TooltipTheme };
|
|
5
|
+
export type TooltipTheme = Prettify<ComponentTooltip>;
|
|
6
|
+
export type PartialTooltipTheme = Prettify<DeepPartial<TooltipTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
2
2
|
import { TooltipTheme } from "./styles.cjs";
|
|
3
3
|
//#region src/components/Tooltip/types.d.ts
|
|
4
|
-
type TooltipProps = DefaultPropsWithChildren<TooltipTheme> & {
|
|
4
|
+
export type TooltipProps = DefaultPropsWithChildren<TooltipTheme> & {
|
|
5
5
|
placement?: 'top' | 'bottom' | 'start' | 'end';
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { TooltipProps };
|
|
7
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
2
2
|
import { TooltipTheme } from "./styles.js";
|
|
3
3
|
//#region src/components/Tooltip/types.d.ts
|
|
4
|
-
type TooltipProps = DefaultPropsWithChildren<TooltipTheme> & {
|
|
4
|
+
export type TooltipProps = DefaultPropsWithChildren<TooltipTheme> & {
|
|
5
5
|
placement?: 'top' | 'bottom' | 'start' | 'end';
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { TooltipProps };
|
|
7
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { TopBarTheme } from "./styles.cjs";
|
|
2
2
|
import { TopBarProps } from "./types.cjs";
|
|
3
3
|
//#region src/components/TopBar/TopBar.d.ts
|
|
4
|
-
declare function TopBarContainerRight({ children, theme }: {
|
|
4
|
+
export declare function TopBarContainerRight({ children, theme }: {
|
|
5
5
|
children: TopBarProps['children'];
|
|
6
6
|
theme?: TopBarTheme;
|
|
7
7
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function TopBarContainerLeft({ children, theme }: {
|
|
8
|
+
export declare function TopBarContainerLeft({ children, theme }: {
|
|
9
9
|
children: TopBarProps['children'];
|
|
10
10
|
theme?: TopBarTheme;
|
|
11
11
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { TopBar, TopBarContainerLeft, TopBarContainerRight };
|
|
12
|
+
export declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
//#endregion
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { TopBarTheme } from "./styles.js";
|
|
2
2
|
import { TopBarProps } from "./types.js";
|
|
3
3
|
//#region src/components/TopBar/TopBar.d.ts
|
|
4
|
-
declare function TopBarContainerRight({ children, theme }: {
|
|
4
|
+
export declare function TopBarContainerRight({ children, theme }: {
|
|
5
5
|
children: TopBarProps['children'];
|
|
6
6
|
theme?: TopBarTheme;
|
|
7
7
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function TopBarContainerLeft({ children, theme }: {
|
|
8
|
+
export declare function TopBarContainerLeft({ children, theme }: {
|
|
9
9
|
children: TopBarProps['children'];
|
|
10
10
|
theme?: TopBarTheme;
|
|
11
11
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
-
//#endregion
|
|
14
|
-
export { TopBar, TopBarContainerLeft, TopBarContainerRight };
|
|
12
|
+
export declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
//#endregion
|