@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
|
@@ -3,15 +3,14 @@ import { ComponentTabs } from "../../styleD/build/typescript/component/tabs.js";
|
|
|
3
3
|
import "./types.js";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/Tabs/styles.d.ts
|
|
6
|
-
type TabsTheme = Prettify<ComponentTabs['tabs']>;
|
|
7
|
-
type PartialTabsTheme = DeepPartial<TabsTheme>;
|
|
8
|
-
type TabTheme = Prettify<ComponentTabs['tab']>;
|
|
9
|
-
type PartialTabTheme = DeepPartial<TabTheme>;
|
|
10
|
-
type TabListTheme = Prettify<ComponentTabs['tabList']>;
|
|
11
|
-
type PartialTabListTheme = DeepPartial<TabListTheme>;
|
|
12
|
-
type TabPanelsTheme = Prettify<ComponentTabs['tabPanels']>;
|
|
13
|
-
type PartialTabPanelsTheme = DeepPartial<TabPanelsTheme>;
|
|
14
|
-
type TabPanelTheme = Prettify<ComponentTabs['tabPanel']>;
|
|
15
|
-
type PartialTabPanelTheme = DeepPartial<TabPanelTheme>;
|
|
16
|
-
//#endregion
|
|
17
|
-
export { PartialTabListTheme, PartialTabPanelTheme, PartialTabPanelsTheme, PartialTabTheme, PartialTabsTheme, TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme };
|
|
6
|
+
export type TabsTheme = Prettify<ComponentTabs['tabs']>;
|
|
7
|
+
export type PartialTabsTheme = DeepPartial<TabsTheme>;
|
|
8
|
+
export type TabTheme = Prettify<ComponentTabs['tab']>;
|
|
9
|
+
export type PartialTabTheme = DeepPartial<TabTheme>;
|
|
10
|
+
export type TabListTheme = Prettify<ComponentTabs['tabList']>;
|
|
11
|
+
export type PartialTabListTheme = DeepPartial<TabListTheme>;
|
|
12
|
+
export type TabPanelsTheme = Prettify<ComponentTabs['tabPanels']>;
|
|
13
|
+
export type PartialTabPanelsTheme = DeepPartial<TabPanelsTheme>;
|
|
14
|
+
export type TabPanelTheme = Prettify<ComponentTabs['tabPanel']>;
|
|
15
|
+
export type PartialTabPanelTheme = DeepPartial<TabPanelTheme>;
|
|
16
|
+
//#endregion
|
|
@@ -5,11 +5,11 @@ import { ComponentAutocomplete } from "../../styleD/build/typescript/component/a
|
|
|
5
5
|
import { SerializedStyles } from "@emotion/react";
|
|
6
6
|
import { ReactElement, ReactNode } from "react";
|
|
7
7
|
//#region src/components/TagPicker/Autocomplete.d.ts
|
|
8
|
-
type AutocompleteOption = {
|
|
8
|
+
export type AutocompleteOption = {
|
|
9
9
|
id: number | string;
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
|
-
interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
12
|
+
export interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
13
13
|
/** `addSelection` - Function called when an option is picked from the dropdown */
|
|
14
14
|
addSelection: (selection: T) => void;
|
|
15
15
|
/** `loading` - Whether the component is loading options for the dropdown */
|
|
@@ -125,6 +125,5 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
|
125
125
|
*
|
|
126
126
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
127
127
|
*/
|
|
128
|
-
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
129
|
-
//#endregion
|
|
130
|
-
export { Autocomplete, AutocompleteOption, AutocompleteProps };
|
|
128
|
+
export declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
129
|
+
//#endregion
|
|
@@ -5,11 +5,11 @@ import { ComponentAutocomplete } from "../../styleD/build/typescript/component/a
|
|
|
5
5
|
import { ReactElement, ReactNode } from "react";
|
|
6
6
|
import { SerializedStyles } from "@emotion/react";
|
|
7
7
|
//#region src/components/TagPicker/Autocomplete.d.ts
|
|
8
|
-
type AutocompleteOption = {
|
|
8
|
+
export type AutocompleteOption = {
|
|
9
9
|
id: number | string;
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
|
-
interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
12
|
+
export interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
13
13
|
/** `addSelection` - Function called when an option is picked from the dropdown */
|
|
14
14
|
addSelection: (selection: T) => void;
|
|
15
15
|
/** `loading` - Whether the component is loading options for the dropdown */
|
|
@@ -125,6 +125,5 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
|
125
125
|
*
|
|
126
126
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
127
127
|
*/
|
|
128
|
-
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
129
|
-
//#endregion
|
|
130
|
-
export { Autocomplete, AutocompleteOption, AutocompleteProps };
|
|
128
|
+
export declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
129
|
+
//#endregion
|
|
@@ -9,7 +9,7 @@ import "../../TagPicker.cjs";
|
|
|
9
9
|
import { SerializedStyles } from "@emotion/react";
|
|
10
10
|
import { ReactElement, ReactNode } from "react";
|
|
11
11
|
//#region src/components/TagPicker/TagPicker.d.ts
|
|
12
|
-
type TagPickerProps<T extends TagRow = TagRow> = {
|
|
12
|
+
export type TagPickerProps<T extends TagRow = TagRow> = {
|
|
13
13
|
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
14
14
|
addTag: (tag: T) => void;
|
|
15
15
|
/** `loading` - Whether the component is loading options for the dropdown */
|
|
@@ -87,6 +87,5 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
87
87
|
*
|
|
88
88
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
89
89
|
*/
|
|
90
|
-
declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
91
|
-
//#endregion
|
|
92
|
-
export { TagPicker, TagPickerProps };
|
|
90
|
+
export declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
91
|
+
//#endregion
|
|
@@ -9,7 +9,7 @@ import "../../TagPicker.js";
|
|
|
9
9
|
import { ReactElement, ReactNode } from "react";
|
|
10
10
|
import { SerializedStyles } from "@emotion/react";
|
|
11
11
|
//#region src/components/TagPicker/TagPicker.d.ts
|
|
12
|
-
type TagPickerProps<T extends TagRow = TagRow> = {
|
|
12
|
+
export type TagPickerProps<T extends TagRow = TagRow> = {
|
|
13
13
|
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
14
14
|
addTag: (tag: T) => void;
|
|
15
15
|
/** `loading` - Whether the component is loading options for the dropdown */
|
|
@@ -87,6 +87,5 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
87
87
|
*
|
|
88
88
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
89
89
|
*/
|
|
90
|
-
declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
91
|
-
//#endregion
|
|
92
|
-
export { TagPicker, TagPickerProps };
|
|
90
|
+
export declare function TagPicker<T extends TagRow = TagRow>({ addTag, loading, offline, onReorder, onSearch, options, proposedTags, readOnly, removeTag, retryConnection, tags, canRemove, filterRows, filterOptions, offlineBackupTags, highlightLeadingTag, searchPlaceholder, searchLabel, removeIcon, searchIcon, loadingIcon, showTagType, showTagSectionName, proposedTagsHeading, proposedTagsSubHeading, gripIcon, theme, tagTableTheme, proposedTagTableTheme, autoCompleteTheme, selectTheme, cssOverrides, testId }: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
91
|
+
//#endregion
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
//#region src/components/TagPicker/types.d.ts
|
|
2
|
-
type Tag = {
|
|
2
|
+
export type Tag = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
6
|
-
type TagRow = Tag & {
|
|
6
|
+
export type TagRow = Tag & {
|
|
7
7
|
type: string;
|
|
8
8
|
sectionName: string;
|
|
9
9
|
};
|
|
10
|
-
interface FilterOption {
|
|
10
|
+
export interface FilterOption {
|
|
11
11
|
label: string;
|
|
12
12
|
filter: string;
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { FilterOption, Tag, TagRow };
|
|
14
|
+
//#endregion
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
//#region src/components/TagPicker/types.d.ts
|
|
2
|
-
type Tag = {
|
|
2
|
+
export type Tag = {
|
|
3
3
|
id: number;
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
6
|
-
type TagRow = Tag & {
|
|
6
|
+
export type TagRow = Tag & {
|
|
7
7
|
type: string;
|
|
8
8
|
sectionName: string;
|
|
9
9
|
};
|
|
10
|
-
interface FilterOption {
|
|
10
|
+
export interface FilterOption {
|
|
11
11
|
label: string;
|
|
12
12
|
filter: string;
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
|
-
export { FilterOption, Tag, TagRow };
|
|
14
|
+
//#endregion
|
|
@@ -7,7 +7,7 @@ import { ReactElement, ReactNode } from "react";
|
|
|
7
7
|
type Row = TagRow | {
|
|
8
8
|
tag: TagRow;
|
|
9
9
|
};
|
|
10
|
-
interface TagTableProps<R extends Row> {
|
|
10
|
+
export interface TagTableProps<R extends Row> {
|
|
11
11
|
/** `rows` - The collection of rows */
|
|
12
12
|
rows: R[];
|
|
13
13
|
/** `filterRows` - Function to filter rows from `rows` prop from appearing in the table */
|
|
@@ -95,6 +95,5 @@ interface TagTableProps<R extends Row> {
|
|
|
95
95
|
*
|
|
96
96
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
97
97
|
*/
|
|
98
|
-
declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
99
|
-
//#endregion
|
|
100
|
-
export { TagTable, TagTableProps };
|
|
98
|
+
export declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
99
|
+
//#endregion
|
|
@@ -7,7 +7,7 @@ import { SerializedStyles } from "@emotion/react";
|
|
|
7
7
|
type Row = TagRow | {
|
|
8
8
|
tag: TagRow;
|
|
9
9
|
};
|
|
10
|
-
interface TagTableProps<R extends Row> {
|
|
10
|
+
export interface TagTableProps<R extends Row> {
|
|
11
11
|
/** `rows` - The collection of rows */
|
|
12
12
|
rows: R[];
|
|
13
13
|
/** `filterRows` - Function to filter rows from `rows` prop from appearing in the table */
|
|
@@ -95,6 +95,5 @@ interface TagTableProps<R extends Row> {
|
|
|
95
95
|
*
|
|
96
96
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
97
97
|
*/
|
|
98
|
-
declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
99
|
-
//#endregion
|
|
100
|
-
export { TagTable, TagTableProps };
|
|
98
|
+
export declare function TagTable<R extends Row>({ rows, filterRows, heading, subHeading, showTagType, showTagSectionName, highlightFirstRow, removeAction: removeTag, addAction: addTag, onReorder, canRemove, 'data-testid': dataTestId, removeIcon, gripIcon, renderCustomControl, renderWhenEmpty, headerContent, theme, cssOverrides }: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
99
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextAreaProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/TextArea/TextArea.d.ts
|
|
3
|
-
declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextArea };
|
|
3
|
+
export declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextAreaProps } from "./types.js";
|
|
2
2
|
//#region src/components/TextArea/TextArea.d.ts
|
|
3
|
-
declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextArea };
|
|
3
|
+
export declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { ComponentTextArea } from "../../styleD/build/typescript/component/textA
|
|
|
3
3
|
import "./types.cjs";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/TextArea/styles.d.ts
|
|
6
|
-
type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { TextAreaTheme };
|
|
6
|
+
export type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { ComponentTextArea } from "../../styleD/build/typescript/component/textA
|
|
|
3
3
|
import "./types.js";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/TextArea/styles.d.ts
|
|
6
|
-
type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { TextAreaTheme };
|
|
6
|
+
export type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@ import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
|
2
2
|
import { TextAreaTheme } from "./styles.cjs";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/TextArea/types.d.ts
|
|
5
|
-
interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
5
|
+
export interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
6
6
|
/** Temporary text that occupies the text area when it is empty */
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { TextAreaProps };
|
|
9
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@ import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
|
2
2
|
import { TextAreaTheme } from "./styles.js";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/TextArea/types.d.ts
|
|
5
|
-
interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
5
|
+
export interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
6
6
|
/** Temporary text that occupies the text area when it is empty */
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { TextAreaProps };
|
|
9
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextInputProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/TextInput/TextInput.d.ts
|
|
3
|
-
declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextInput };
|
|
3
|
+
export declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextInputProps } from "./types.js";
|
|
2
2
|
//#region src/components/TextInput/TextInput.d.ts
|
|
3
|
-
declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextInput };
|
|
3
|
+
export declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -3,7 +3,6 @@ import { ComponentTextInput } from "../../styleD/build/typescript/component/text
|
|
|
3
3
|
import "./types.cjs";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/TextInput/styles.d.ts
|
|
6
|
-
type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
|
-
type PartialTextInputTheme = Prettify<DeepPartial<ComponentTextInput>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PartialTextInputTheme, TextInputTheme };
|
|
6
|
+
export type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
|
+
export type PartialTextInputTheme = Prettify<DeepPartial<ComponentTextInput>>;
|
|
8
|
+
//#endregion
|
|
@@ -3,7 +3,6 @@ import { ComponentTextInput } from "../../styleD/build/typescript/component/text
|
|
|
3
3
|
import "./types.js";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/TextInput/styles.d.ts
|
|
6
|
-
type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
|
-
type PartialTextInputTheme = Prettify<DeepPartial<ComponentTextInput>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PartialTextInputTheme, TextInputTheme };
|
|
6
|
+
export type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
|
+
export type PartialTextInputTheme = Prettify<DeepPartial<ComponentTextInput>>;
|
|
8
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@ import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
|
2
2
|
import { TextInputTheme } from "./styles.cjs";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/TextInput/types.d.ts
|
|
5
|
-
interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
5
|
+
export interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
6
6
|
/** Temporary text that occupies the text input when it is empty */
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { TextInputProps };
|
|
9
|
+
//#endregion
|
|
@@ -2,9 +2,8 @@ import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
|
2
2
|
import { TextInputTheme } from "./styles.js";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
4
|
//#region src/components/TextInput/types.d.ts
|
|
5
|
-
interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
5
|
+
export interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
6
6
|
/** Temporary text that occupies the text input when it is empty */
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { TextInputProps };
|
|
9
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextListInputProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/TextListInput/TextListInput.d.ts
|
|
3
|
-
declare const TextListInput: ({ label, size, placeholder, initialData, errorMessage, onChange, theme, cssOverrides, className }: TextListInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextListInput };
|
|
3
|
+
export declare const TextListInput: ({ label, size, placeholder, initialData, errorMessage, onChange, theme, cssOverrides, className }: TextListInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TextListInputProps } from "./types.js";
|
|
2
2
|
//#region src/components/TextListInput/TextListInput.d.ts
|
|
3
|
-
declare const TextListInput: ({ label, size, placeholder, initialData, errorMessage, onChange, theme, cssOverrides, className }: TextListInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { TextListInput };
|
|
3
|
+
export declare const TextListInput: ({ label, size, placeholder, initialData, errorMessage, onChange, theme, cssOverrides, className }: TextListInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
|
2
2
|
import { ComponentTextListInput } from "../../styleD/build/typescript/component/textListInput.cjs";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/TextListInput/styles.d.ts
|
|
5
|
-
type TextListInputTheme = Prettify<ComponentTextListInput>;
|
|
6
|
-
type PartialTextListInputTheme = Prettify<DeepPartial<TextListInputTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PartialTextListInputTheme, TextListInputTheme };
|
|
5
|
+
export type TextListInputTheme = Prettify<ComponentTextListInput>;
|
|
6
|
+
export type PartialTextListInputTheme = Prettify<DeepPartial<TextListInputTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.js";
|
|
|
2
2
|
import { ComponentTextListInput } from "../../styleD/build/typescript/component/textListInput.js";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/TextListInput/styles.d.ts
|
|
5
|
-
type TextListInputTheme = Prettify<ComponentTextListInput>;
|
|
6
|
-
type PartialTextListInputTheme = Prettify<DeepPartial<TextListInputTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PartialTextListInputTheme, TextListInputTheme };
|
|
5
|
+
export type TextListInputTheme = Prettify<ComponentTextListInput>;
|
|
6
|
+
export type PartialTextListInputTheme = Prettify<DeepPartial<TextListInputTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { PartialTextInputTheme } from "../TextInput/styles.cjs";
|
|
|
3
3
|
import "../../TextInput.cjs";
|
|
4
4
|
import { TextListInputTheme } from "./styles.cjs";
|
|
5
5
|
//#region src/components/TextListInput/types.d.ts
|
|
6
|
-
type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
6
|
+
export type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
7
7
|
/**
|
|
8
8
|
* Label text for text list group
|
|
9
9
|
*/
|
|
@@ -29,5 +29,4 @@ type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
|
29
29
|
*/
|
|
30
30
|
onChange: (values: string[]) => void;
|
|
31
31
|
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { TextListInputProps };
|
|
32
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { PartialTextInputTheme } from "../TextInput/styles.js";
|
|
|
3
3
|
import "../../TextInput.js";
|
|
4
4
|
import { TextListInputTheme } from "./styles.js";
|
|
5
5
|
//#region src/components/TextListInput/types.d.ts
|
|
6
|
-
type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
6
|
+
export type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
7
7
|
/**
|
|
8
8
|
* Label text for text list group
|
|
9
9
|
*/
|
|
@@ -29,5 +29,4 @@ type TextListInputProps = DefaultProps<TextListInputTheme> & {
|
|
|
29
29
|
*/
|
|
30
30
|
onChange: (values: string[]) => void;
|
|
31
31
|
};
|
|
32
|
-
//#endregion
|
|
33
|
-
export { TextListInputProps };
|
|
32
|
+
//#endregion
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
const require_mergeDeep = require("../../util/mergeDeep.cjs");
|
|
2
|
+
const require_Icon = require("../Icon/Icon.cjs");
|
|
3
|
+
const require_Typography = require("../Typography/Typography.cjs");
|
|
4
|
+
const require_styles = require("./styles.cjs");
|
|
5
|
+
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
6
|
+
let react_aria_components = require("react-aria-components");
|
|
7
|
+
//#region src/components/Tile/Tile.tsx
|
|
8
|
+
function getTileIndicator(interactionMode, isSelected) {
|
|
9
|
+
switch (interactionMode) {
|
|
10
|
+
case "clickable": return "arrow_forward";
|
|
11
|
+
case "selectable": return isSelected ? "radio_button_checked" : "radio_button_unchecked";
|
|
12
|
+
case "multi-select": return isSelected ? "check_box" : "check_box_outline_blank";
|
|
13
|
+
default: return "arrow_forward";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function TileContent({ children, description, typography = "bodyBoldSm", descriptionTypography = "bodySm", icon = "account_balance", size = "md", interactionMode, isSelected, theme }) {
|
|
17
|
+
const indicator = getTileIndicator(interactionMode, isSelected);
|
|
18
|
+
const hasDescription = Boolean(description);
|
|
19
|
+
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)(_emotion_react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
|
|
20
|
+
css: require_styles.tileContentStyles(theme, { size }),
|
|
21
|
+
children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
|
|
22
|
+
css: require_styles.tileTextStyles(theme),
|
|
23
|
+
children: [icon && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
24
|
+
size,
|
|
25
|
+
cssOverrides: require_styles.tileIconStyles(theme),
|
|
26
|
+
children: icon
|
|
27
|
+
}), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
28
|
+
variant: typography,
|
|
29
|
+
theme: { color: theme.shared.color },
|
|
30
|
+
cssOverrides: require_styles.tileTitleStyles(theme),
|
|
31
|
+
children
|
|
32
|
+
})]
|
|
33
|
+
}), interactionMode !== "clickable" && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
34
|
+
symbol: indicator,
|
|
35
|
+
size,
|
|
36
|
+
cssOverrides: require_styles.tileArrowStyles(theme)
|
|
37
|
+
})]
|
|
38
|
+
}), (hasDescription || interactionMode === "clickable") && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
|
|
39
|
+
css: require_styles.tileBottomRowStyles(),
|
|
40
|
+
children: [description && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Typography.Typography, {
|
|
41
|
+
variant: descriptionTypography,
|
|
42
|
+
theme: { color: theme.shared.descriptionColor },
|
|
43
|
+
cssOverrides: require_styles.tileDescriptionStyles(theme),
|
|
44
|
+
children: description
|
|
45
|
+
}), interactionMode === "clickable" && /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
46
|
+
symbol: indicator,
|
|
47
|
+
size,
|
|
48
|
+
cssOverrides: require_styles.tileArrowStyles(theme)
|
|
49
|
+
})]
|
|
50
|
+
})] });
|
|
51
|
+
}
|
|
52
|
+
function ClickableLinkTile({ theme = {}, cssOverrides, children, description, typography, descriptionTypography, icon, size = "md", ...props }) {
|
|
53
|
+
const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultTileTheme, theme);
|
|
54
|
+
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.Link, {
|
|
55
|
+
...props,
|
|
56
|
+
css: [require_styles.tileStyles(mergedTheme, { size }), cssOverrides],
|
|
57
|
+
children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(TileContent, {
|
|
58
|
+
children,
|
|
59
|
+
description,
|
|
60
|
+
typography,
|
|
61
|
+
descriptionTypography,
|
|
62
|
+
icon,
|
|
63
|
+
size,
|
|
64
|
+
interactionMode: "clickable",
|
|
65
|
+
theme: mergedTheme
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function SelectionTile({ interactionMode, value, isSelected, onSelectionChange, theme = {}, cssOverrides, children, description, typography, descriptionTypography, icon, size = "md", ...buttonProps }) {
|
|
70
|
+
const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultTileTheme, theme);
|
|
71
|
+
const handlePress = () => {
|
|
72
|
+
if (interactionMode === "selectable") {
|
|
73
|
+
if (!isSelected) onSelectionChange(value);
|
|
74
|
+
} else onSelectionChange(value, !isSelected);
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.Button, {
|
|
77
|
+
...buttonProps,
|
|
78
|
+
"aria-pressed": isSelected,
|
|
79
|
+
"data-selected": isSelected || void 0,
|
|
80
|
+
onPress: handlePress,
|
|
81
|
+
css: [require_styles.selectableTileStyles(mergedTheme, { size }), cssOverrides],
|
|
82
|
+
children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(TileContent, {
|
|
83
|
+
children,
|
|
84
|
+
description,
|
|
85
|
+
typography,
|
|
86
|
+
descriptionTypography,
|
|
87
|
+
icon,
|
|
88
|
+
size,
|
|
89
|
+
interactionMode,
|
|
90
|
+
isSelected,
|
|
91
|
+
theme: mergedTheme
|
|
92
|
+
})
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function isClickableTile(props) {
|
|
96
|
+
return typeof props.href === "string";
|
|
97
|
+
}
|
|
98
|
+
function Tile(props) {
|
|
99
|
+
return isClickableTile(props) ? /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(ClickableLinkTile, { ...props }) : /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(SelectionTile, { ...props });
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
exports.Tile = Tile;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { mergeDeep } from "../../util/mergeDeep.js";
|
|
2
|
+
import { Icon } from "../Icon/Icon.js";
|
|
3
|
+
import { Typography } from "../Typography/Typography.js";
|
|
4
|
+
import { defaultTileTheme, selectableTileStyles, tileArrowStyles, tileBottomRowStyles, tileContentStyles, tileDescriptionStyles, tileIconStyles, tileStyles, tileTextStyles, tileTitleStyles } from "./styles.js";
|
|
5
|
+
import { Fragment, jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Button, Link } from "react-aria-components";
|
|
7
|
+
//#region src/components/Tile/Tile.tsx
|
|
8
|
+
function getTileIndicator(interactionMode, isSelected) {
|
|
9
|
+
switch (interactionMode) {
|
|
10
|
+
case "clickable": return "arrow_forward";
|
|
11
|
+
case "selectable": return isSelected ? "radio_button_checked" : "radio_button_unchecked";
|
|
12
|
+
case "multi-select": return isSelected ? "check_box" : "check_box_outline_blank";
|
|
13
|
+
default: return "arrow_forward";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function TileContent({ children, description, typography = "bodyBoldSm", descriptionTypography = "bodySm", icon = "account_balance", size = "md", interactionMode, isSelected, theme }) {
|
|
17
|
+
const indicator = getTileIndicator(interactionMode, isSelected);
|
|
18
|
+
const hasDescription = Boolean(description);
|
|
19
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs("div", {
|
|
20
|
+
css: tileContentStyles(theme, { size }),
|
|
21
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
22
|
+
css: tileTextStyles(theme),
|
|
23
|
+
children: [icon && /* @__PURE__ */ jsx(Icon, {
|
|
24
|
+
size,
|
|
25
|
+
cssOverrides: tileIconStyles(theme),
|
|
26
|
+
children: icon
|
|
27
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
28
|
+
variant: typography,
|
|
29
|
+
theme: { color: theme.shared.color },
|
|
30
|
+
cssOverrides: tileTitleStyles(theme),
|
|
31
|
+
children
|
|
32
|
+
})]
|
|
33
|
+
}), interactionMode !== "clickable" && /* @__PURE__ */ jsx(Icon, {
|
|
34
|
+
symbol: indicator,
|
|
35
|
+
size,
|
|
36
|
+
cssOverrides: tileArrowStyles(theme)
|
|
37
|
+
})]
|
|
38
|
+
}), (hasDescription || interactionMode === "clickable") && /* @__PURE__ */ jsxs("div", {
|
|
39
|
+
css: tileBottomRowStyles(),
|
|
40
|
+
children: [description && /* @__PURE__ */ jsx(Typography, {
|
|
41
|
+
variant: descriptionTypography,
|
|
42
|
+
theme: { color: theme.shared.descriptionColor },
|
|
43
|
+
cssOverrides: tileDescriptionStyles(theme),
|
|
44
|
+
children: description
|
|
45
|
+
}), interactionMode === "clickable" && /* @__PURE__ */ jsx(Icon, {
|
|
46
|
+
symbol: indicator,
|
|
47
|
+
size,
|
|
48
|
+
cssOverrides: tileArrowStyles(theme)
|
|
49
|
+
})]
|
|
50
|
+
})] });
|
|
51
|
+
}
|
|
52
|
+
function ClickableLinkTile({ theme = {}, cssOverrides, children, description, typography, descriptionTypography, icon, size = "md", ...props }) {
|
|
53
|
+
const mergedTheme = mergeDeep(defaultTileTheme, theme);
|
|
54
|
+
return /* @__PURE__ */ jsx(Link, {
|
|
55
|
+
...props,
|
|
56
|
+
css: [tileStyles(mergedTheme, { size }), cssOverrides],
|
|
57
|
+
children: /* @__PURE__ */ jsx(TileContent, {
|
|
58
|
+
children,
|
|
59
|
+
description,
|
|
60
|
+
typography,
|
|
61
|
+
descriptionTypography,
|
|
62
|
+
icon,
|
|
63
|
+
size,
|
|
64
|
+
interactionMode: "clickable",
|
|
65
|
+
theme: mergedTheme
|
|
66
|
+
})
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function SelectionTile({ interactionMode, value, isSelected, onSelectionChange, theme = {}, cssOverrides, children, description, typography, descriptionTypography, icon, size = "md", ...buttonProps }) {
|
|
70
|
+
const mergedTheme = mergeDeep(defaultTileTheme, theme);
|
|
71
|
+
const handlePress = () => {
|
|
72
|
+
if (interactionMode === "selectable") {
|
|
73
|
+
if (!isSelected) onSelectionChange(value);
|
|
74
|
+
} else onSelectionChange(value, !isSelected);
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
77
|
+
...buttonProps,
|
|
78
|
+
"aria-pressed": isSelected,
|
|
79
|
+
"data-selected": isSelected || void 0,
|
|
80
|
+
onPress: handlePress,
|
|
81
|
+
css: [selectableTileStyles(mergedTheme, { size }), cssOverrides],
|
|
82
|
+
children: /* @__PURE__ */ jsx(TileContent, {
|
|
83
|
+
children,
|
|
84
|
+
description,
|
|
85
|
+
typography,
|
|
86
|
+
descriptionTypography,
|
|
87
|
+
icon,
|
|
88
|
+
size,
|
|
89
|
+
interactionMode,
|
|
90
|
+
isSelected,
|
|
91
|
+
theme: mergedTheme
|
|
92
|
+
})
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
function isClickableTile(props) {
|
|
96
|
+
return typeof props.href === "string";
|
|
97
|
+
}
|
|
98
|
+
function Tile(props) {
|
|
99
|
+
return isClickableTile(props) ? /* @__PURE__ */ jsx(ClickableLinkTile, { ...props }) : /* @__PURE__ */ jsx(SelectionTile, { ...props });
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
102
|
+
export { Tile };
|