@guardian/stand 0.0.73 → 0.0.75
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/SearchInput.cjs +5 -0
- package/dist/SearchInput.d.cts +5 -0
- package/dist/SearchInput.d.ts +5 -0
- package/dist/SearchInput.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/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.cjs +1 -0
- package/dist/components/Form/types.d.cts +2 -3
- package/dist/components/Form/types.d.ts +2 -3
- package/dist/components/Form/types.js +2 -1
- 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/SearchInput/SearchInput.cjs +33 -0
- package/dist/components/SearchInput/SearchInput.d.cts +4 -0
- package/dist/components/SearchInput/SearchInput.d.ts +4 -0
- package/dist/components/SearchInput/SearchInput.js +33 -0
- package/dist/components/SearchInput/styles.cjs +87 -0
- package/dist/components/SearchInput/styles.d.cts +8 -0
- package/dist/components/SearchInput/styles.d.ts +8 -0
- package/dist/components/SearchInput/styles.js +86 -0
- package/dist/components/SearchInput/types.d.cts +9 -0
- package/dist/components/SearchInput/types.d.ts +9 -0
- 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 +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/searchInput.css +34 -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.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/searchInput.cjs +49 -0
- package/dist/styleD/build/typescript/component/searchInput.d.cts +53 -0
- package/dist/styleD/build/typescript/component/searchInput.d.ts +53 -0
- package/dist/styleD/build/typescript/component/searchInput.js +49 -0
- 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 +45 -17
|
@@ -53,8 +53,8 @@ interface MenuItemProps$1 extends DefaultProps<MenuItemTheme, MenuItemProps['cla
|
|
|
53
53
|
*/
|
|
54
54
|
size?: MenuPopoverProps['size'];
|
|
55
55
|
}
|
|
56
|
-
type MenuSeparatorProps = DefaultProps<MenuSeparatorTheme, SeparatorProps['className']>;
|
|
57
|
-
interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['className']>, PopoverProps {
|
|
56
|
+
export type MenuSeparatorProps = DefaultProps<MenuSeparatorTheme, SeparatorProps['className']>;
|
|
57
|
+
export interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['className']>, PopoverProps {
|
|
58
58
|
/**
|
|
59
59
|
* Size variant of the Popover, this doesn't need to be passed if the Popover is a child of Menu, as it will inherit the size of the Menu.
|
|
60
60
|
*/
|
|
@@ -62,4 +62,4 @@ interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['
|
|
|
62
62
|
}
|
|
63
63
|
type MenuTriggerProps$1 = MenuTriggerProps;
|
|
64
64
|
//#endregion
|
|
65
|
-
export { MenuItemProps$1 as MenuItemProps,
|
|
65
|
+
export { MenuItemProps$1 as MenuItemProps, MenuProps$1 as MenuProps, MenuSectionProps$1 as MenuSectionProps, MenuTriggerProps$1 as MenuTriggerProps };
|
|
@@ -53,8 +53,8 @@ interface MenuItemProps$1 extends DefaultProps<MenuItemTheme, MenuItemProps['cla
|
|
|
53
53
|
*/
|
|
54
54
|
size?: MenuPopoverProps['size'];
|
|
55
55
|
}
|
|
56
|
-
type MenuSeparatorProps = DefaultProps<MenuSeparatorTheme, SeparatorProps['className']>;
|
|
57
|
-
interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['className']>, PopoverProps {
|
|
56
|
+
export type MenuSeparatorProps = DefaultProps<MenuSeparatorTheme, SeparatorProps['className']>;
|
|
57
|
+
export interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['className']>, PopoverProps {
|
|
58
58
|
/**
|
|
59
59
|
* Size variant of the Popover, this doesn't need to be passed if the Popover is a child of Menu, as it will inherit the size of the Menu.
|
|
60
60
|
*/
|
|
@@ -62,4 +62,4 @@ interface MenuPopoverProps extends DefaultProps<MenuPopoverTheme, PopoverProps['
|
|
|
62
62
|
}
|
|
63
63
|
type MenuTriggerProps$1 = MenuTriggerProps;
|
|
64
64
|
//#endregion
|
|
65
|
-
export { MenuItemProps$1 as MenuItemProps,
|
|
65
|
+
export { MenuItemProps$1 as MenuItemProps, MenuProps$1 as MenuProps, MenuSectionProps$1 as MenuSectionProps, MenuTriggerProps$1 as MenuTriggerProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DialogButtonsProps, DialogContentProps, DialogDismissProps, DialogHeaderProps, DialogProps, DialogTriggerProps, ModalProps } from "./types.cjs";
|
|
2
2
|
import React from "react";
|
|
3
3
|
//#region src/components/Modal/Modal.d.ts
|
|
4
|
-
declare const Modal: ({ theme, children, cssOverrides, ...props }: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const DialogTrigger: (props: DialogTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Modal: ({ theme, children, cssOverrides, ...props }: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const DialogTrigger: (props: DialogTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
interface DialogCompound {
|
|
7
7
|
(props: DialogProps): React.ReactElement;
|
|
8
8
|
Header: (props: DialogHeaderProps) => React.ReactElement;
|
|
@@ -10,6 +10,5 @@ interface DialogCompound {
|
|
|
10
10
|
Content: (props: DialogContentProps) => React.ReactElement;
|
|
11
11
|
Dismiss: (props: DialogDismissProps) => React.ReactElement;
|
|
12
12
|
}
|
|
13
|
-
declare const Dialog: DialogCompound;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Dialog, DialogTrigger, Modal };
|
|
13
|
+
export declare const Dialog: DialogCompound;
|
|
14
|
+
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DialogButtonsProps, DialogContentProps, DialogDismissProps, DialogHeaderProps, DialogProps, DialogTriggerProps, ModalProps } from "./types.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
//#region src/components/Modal/Modal.d.ts
|
|
4
|
-
declare const Modal: ({ theme, children, cssOverrides, ...props }: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare const DialogTrigger: (props: DialogTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Modal: ({ theme, children, cssOverrides, ...props }: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const DialogTrigger: (props: DialogTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
6
|
interface DialogCompound {
|
|
7
7
|
(props: DialogProps): React.ReactElement;
|
|
8
8
|
Header: (props: DialogHeaderProps) => React.ReactElement;
|
|
@@ -10,6 +10,5 @@ interface DialogCompound {
|
|
|
10
10
|
Content: (props: DialogContentProps) => React.ReactElement;
|
|
11
11
|
Dismiss: (props: DialogDismissProps) => React.ReactElement;
|
|
12
12
|
}
|
|
13
|
-
declare const Dialog: DialogCompound;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { Dialog, DialogTrigger, Modal };
|
|
13
|
+
export declare const Dialog: DialogCompound;
|
|
14
|
+
//#endregion
|
|
@@ -2,8 +2,7 @@ import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
|
2
2
|
import { ComponentModal } from "../../styleD/build/typescript/component/modal.cjs";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Modal/styles.d.ts
|
|
5
|
-
type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
6
|
-
type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
7
|
-
type DialogTheme = Prettify<ComponentModal['dialog']>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DialogTheme, ModalTheme, PartialModalTheme };
|
|
5
|
+
export type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
6
|
+
export type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
7
|
+
export type DialogTheme = Prettify<ComponentModal['dialog']>;
|
|
8
|
+
//#endregion
|
|
@@ -2,8 +2,7 @@ import { DeepPartial, Prettify } from "../../util/types.js";
|
|
|
2
2
|
import { ComponentModal } from "../../styleD/build/typescript/component/modal.js";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Modal/styles.d.ts
|
|
5
|
-
type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
6
|
-
type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
7
|
-
type DialogTheme = Prettify<ComponentModal['dialog']>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { DialogTheme, ModalTheme, PartialModalTheme };
|
|
5
|
+
export type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
6
|
+
export type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
7
|
+
export type DialogTheme = Prettify<ComponentModal['dialog']>;
|
|
8
|
+
//#endregion
|
|
@@ -4,16 +4,16 @@ import { TypographyProps } from "../Typography/types.cjs";
|
|
|
4
4
|
import { DialogTheme, ModalTheme } from "./styles.cjs";
|
|
5
5
|
import { DialogProps, DialogTriggerProps, ModalOverlayProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/Modal/types.d.ts
|
|
7
|
-
type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
7
|
+
export type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
8
8
|
type DialogProps$1 = DefaultProps<DialogTheme['container'], DialogProps['className']> & DialogProps;
|
|
9
|
-
type DialogHeaderProps = Omit<TypographyProps, 'theme'> & {
|
|
9
|
+
export type DialogHeaderProps = Omit<TypographyProps, 'theme'> & {
|
|
10
10
|
theme?: DeepPartial<DialogTheme['title']>;
|
|
11
11
|
};
|
|
12
|
-
type DialogButtonsProps = DefaultPropsWithChildren<DialogTheme['ctas']>;
|
|
13
|
-
type DialogContentProps = DefaultPropsWithChildren<DialogTheme['children']>;
|
|
14
|
-
type DialogDismissProps = Omit<IconButtonProps, 'theme'> & {
|
|
12
|
+
export type DialogButtonsProps = DefaultPropsWithChildren<DialogTheme['ctas']>;
|
|
13
|
+
export type DialogContentProps = DefaultPropsWithChildren<DialogTheme['children']>;
|
|
14
|
+
export type DialogDismissProps = Omit<IconButtonProps, 'theme'> & {
|
|
15
15
|
theme?: DeepPartial<DialogTheme['dismiss']>;
|
|
16
16
|
};
|
|
17
17
|
type DialogTriggerProps$1 = DialogTriggerProps;
|
|
18
18
|
//#endregion
|
|
19
|
-
export {
|
|
19
|
+
export { DialogProps$1 as DialogProps, DialogTriggerProps$1 as DialogTriggerProps };
|
|
@@ -4,16 +4,16 @@ import { TypographyProps } from "../Typography/types.js";
|
|
|
4
4
|
import { DialogTheme, ModalTheme } from "./styles.js";
|
|
5
5
|
import { DialogProps, DialogTriggerProps, ModalOverlayProps } from "react-aria-components";
|
|
6
6
|
//#region src/components/Modal/types.d.ts
|
|
7
|
-
type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
7
|
+
export type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
8
8
|
type DialogProps$1 = DefaultProps<DialogTheme['container'], DialogProps['className']> & DialogProps;
|
|
9
|
-
type DialogHeaderProps = Omit<TypographyProps, 'theme'> & {
|
|
9
|
+
export type DialogHeaderProps = Omit<TypographyProps, 'theme'> & {
|
|
10
10
|
theme?: DeepPartial<DialogTheme['title']>;
|
|
11
11
|
};
|
|
12
|
-
type DialogButtonsProps = DefaultPropsWithChildren<DialogTheme['ctas']>;
|
|
13
|
-
type DialogContentProps = DefaultPropsWithChildren<DialogTheme['children']>;
|
|
14
|
-
type DialogDismissProps = Omit<IconButtonProps, 'theme'> & {
|
|
12
|
+
export type DialogButtonsProps = DefaultPropsWithChildren<DialogTheme['ctas']>;
|
|
13
|
+
export type DialogContentProps = DefaultPropsWithChildren<DialogTheme['children']>;
|
|
14
|
+
export type DialogDismissProps = Omit<IconButtonProps, 'theme'> & {
|
|
15
15
|
theme?: DeepPartial<DialogTheme['dismiss']>;
|
|
16
16
|
};
|
|
17
17
|
type DialogTriggerProps$1 = DialogTriggerProps;
|
|
18
18
|
//#endregion
|
|
19
|
-
export {
|
|
19
|
+
export { DialogProps$1 as DialogProps, DialogTriggerProps$1 as DialogTriggerProps };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/Pagination/Pagination.d.ts
|
|
3
|
-
declare const Pagination: ({ currentPage, totalItems, pageSize, onPageChange, siblingCount, boundaryCount, showSummary, renderSummary, collapseBelow, labels, theme, cssOverrides, className }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { Pagination };
|
|
3
|
+
export declare const Pagination: ({ currentPage, totalItems, pageSize, onPageChange, siblingCount, boundaryCount, showSummary, renderSummary, collapseBelow, labels, theme, cssOverrides, className }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationProps } from "./types.js";
|
|
2
2
|
//#region src/components/Pagination/Pagination.d.ts
|
|
3
|
-
declare const Pagination: ({ currentPage, totalItems, pageSize, onPageChange, siblingCount, boundaryCount, showSummary, renderSummary, collapseBelow, labels, theme, cssOverrides, className }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { Pagination };
|
|
3
|
+
export declare const Pagination: ({ currentPage, totalItems, pageSize, onPageChange, siblingCount, boundaryCount, showSummary, renderSummary, collapseBelow, labels, theme, cssOverrides, className }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
|
2
2
|
import { ComponentPagination } from "../../styleD/build/typescript/component/pagination.cjs";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Pagination/styles.d.ts
|
|
5
|
-
type PaginationTheme = Prettify<ComponentPagination>;
|
|
6
|
-
type PartialPaginationTheme = Prettify<DeepPartial<PaginationTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PaginationTheme, PartialPaginationTheme };
|
|
5
|
+
export type PaginationTheme = Prettify<ComponentPagination>;
|
|
6
|
+
export type PartialPaginationTheme = Prettify<DeepPartial<PaginationTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -2,7 +2,6 @@ import { DeepPartial, Prettify } from "../../util/types.js";
|
|
|
2
2
|
import { ComponentPagination } from "../../styleD/build/typescript/component/pagination.js";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
4
|
//#region src/components/Pagination/styles.d.ts
|
|
5
|
-
type PaginationTheme = Prettify<ComponentPagination>;
|
|
6
|
-
type PartialPaginationTheme = Prettify<DeepPartial<PaginationTheme>>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { PaginationTheme, PartialPaginationTheme };
|
|
5
|
+
export type PaginationTheme = Prettify<ComponentPagination>;
|
|
6
|
+
export type PartialPaginationTheme = Prettify<DeepPartial<PaginationTheme>>;
|
|
7
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { Breakpoint } from "../../styleD/utils/semantic/mq.cjs";
|
|
|
3
3
|
import { PaginationTheme } from "./styles.cjs";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/components/Pagination/types.d.ts
|
|
6
|
-
interface PaginationSummaryInfo {
|
|
6
|
+
export interface PaginationSummaryInfo {
|
|
7
7
|
/** The currently active page (1-based). */
|
|
8
8
|
currentPage: number;
|
|
9
9
|
/** Total number of pages. */
|
|
@@ -17,7 +17,7 @@ interface PaginationSummaryInfo {
|
|
|
17
17
|
/** 1-based index of the last item on the current page. */
|
|
18
18
|
endItem: number;
|
|
19
19
|
}
|
|
20
|
-
interface PaginationLabels {
|
|
20
|
+
export interface PaginationLabels {
|
|
21
21
|
/** Accessible label for the surrounding `nav` element. */
|
|
22
22
|
nav?: string;
|
|
23
23
|
/** Accessible label for the previous-page button. */
|
|
@@ -29,7 +29,7 @@ interface PaginationLabels {
|
|
|
29
29
|
/** Text shown in the compact (collapsed) view below the `collapseBelow` breakpoint. */
|
|
30
30
|
status?: (currentPage: number, totalPages: number) => string;
|
|
31
31
|
}
|
|
32
|
-
type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
32
|
+
export type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
33
33
|
/** The currently active page (1-based). */
|
|
34
34
|
currentPage: number;
|
|
35
35
|
/** Total number of items across all pages. */
|
|
@@ -55,5 +55,4 @@ type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
|
55
55
|
/** Overrides for the accessible labels. */
|
|
56
56
|
labels?: PaginationLabels;
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
|
-
export { PaginationLabels, PaginationProps, PaginationSummaryInfo };
|
|
58
|
+
//#endregion
|
|
@@ -3,7 +3,7 @@ import { Breakpoint } from "../../styleD/utils/semantic/mq.js";
|
|
|
3
3
|
import { PaginationTheme } from "./styles.js";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
//#region src/components/Pagination/types.d.ts
|
|
6
|
-
interface PaginationSummaryInfo {
|
|
6
|
+
export interface PaginationSummaryInfo {
|
|
7
7
|
/** The currently active page (1-based). */
|
|
8
8
|
currentPage: number;
|
|
9
9
|
/** Total number of pages. */
|
|
@@ -17,7 +17,7 @@ interface PaginationSummaryInfo {
|
|
|
17
17
|
/** 1-based index of the last item on the current page. */
|
|
18
18
|
endItem: number;
|
|
19
19
|
}
|
|
20
|
-
interface PaginationLabels {
|
|
20
|
+
export interface PaginationLabels {
|
|
21
21
|
/** Accessible label for the surrounding `nav` element. */
|
|
22
22
|
nav?: string;
|
|
23
23
|
/** Accessible label for the previous-page button. */
|
|
@@ -29,7 +29,7 @@ interface PaginationLabels {
|
|
|
29
29
|
/** Text shown in the compact (collapsed) view below the `collapseBelow` breakpoint. */
|
|
30
30
|
status?: (currentPage: number, totalPages: number) => string;
|
|
31
31
|
}
|
|
32
|
-
type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
32
|
+
export type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
33
33
|
/** The currently active page (1-based). */
|
|
34
34
|
currentPage: number;
|
|
35
35
|
/** Total number of items across all pages. */
|
|
@@ -55,5 +55,4 @@ type PaginationProps = DefaultProps<PaginationTheme> & {
|
|
|
55
55
|
/** Overrides for the accessible labels. */
|
|
56
56
|
labels?: PaginationLabels;
|
|
57
57
|
};
|
|
58
|
-
//#endregion
|
|
59
|
-
export { PaginationLabels, PaginationProps, PaginationSummaryInfo };
|
|
58
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3
|
-
declare function RadioGroup({ size, orientation, isInvalid, theme, children, ...props }: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Radio({ theme, size, children, isInvalid, ...props }: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Radio, RadioGroup };
|
|
3
|
+
export declare function RadioGroup({ size, orientation, isInvalid, theme, children, ...props }: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function Radio({ theme, size, children, isInvalid, ...props }: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps } from "./types.js";
|
|
2
2
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
3
|
-
declare function RadioGroup({ size, orientation, isInvalid, theme, children, ...props }: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Radio({ theme, size, children, isInvalid, ...props }: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Radio, RadioGroup };
|
|
3
|
+
export declare function RadioGroup({ size, orientation, isInvalid, theme, children, ...props }: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function Radio({ theme, size, children, isInvalid, ...props }: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { ComponentRadioGroup } from "../../styleD/build/typescript/component/rad
|
|
|
3
3
|
import "./types.cjs";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/RadioGroup/styles.d.ts
|
|
6
|
-
type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { RadioGroupTheme };
|
|
6
|
+
export type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
|
+
//#endregion
|
|
@@ -3,6 +3,5 @@ import { ComponentRadioGroup } from "../../styleD/build/typescript/component/rad
|
|
|
3
3
|
import "./types.js";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/RadioGroup/styles.d.ts
|
|
6
|
-
type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { RadioGroupTheme };
|
|
6
|
+
export type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
|
+
//#endregion
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_mergeDeep = require("../../util/mergeDeep.cjs");
|
|
2
|
+
const require_Icon = require("../Icon/Icon.cjs");
|
|
3
|
+
const require_Form = require("../Form/Form.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/SearchInput/SearchInput.tsx
|
|
8
|
+
const increaseIconSize = (s) => {
|
|
9
|
+
if (s === "sm") return "md";
|
|
10
|
+
return "lg";
|
|
11
|
+
};
|
|
12
|
+
function SearchInput({ size = "md", isInvalid = false, theme = {}, placeholder, ...props }) {
|
|
13
|
+
const mergedTheme = require_mergeDeep.mergeDeep(require_styles.defaultSearchInputTheme, theme);
|
|
14
|
+
return /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Form.FormInputContainer, {
|
|
15
|
+
as: react_aria_components.SearchField,
|
|
16
|
+
size,
|
|
17
|
+
isInvalid,
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsxs)("div", {
|
|
20
|
+
css: require_styles.searchInputStyles(mergedTheme, {
|
|
21
|
+
size,
|
|
22
|
+
isInvalid
|
|
23
|
+
}),
|
|
24
|
+
children: [/* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(require_Icon.Icon, {
|
|
25
|
+
size: increaseIconSize(size),
|
|
26
|
+
symbol: "search",
|
|
27
|
+
className: "search-icon"
|
|
28
|
+
}), /* @__PURE__ */ (0, _emotion_react_jsx_runtime.jsx)(react_aria_components.Input, { placeholder })]
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.SearchInput = SearchInput;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SearchInputProps } from "./types.cjs";
|
|
2
|
+
//#region src/components/SearchInput/SearchInput.d.ts
|
|
3
|
+
export declare function SearchInput({ size, isInvalid, theme, placeholder, ...props }: SearchInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SearchInputProps } from "./types.js";
|
|
2
|
+
//#region src/components/SearchInput/SearchInput.d.ts
|
|
3
|
+
export declare function SearchInput({ size, isInvalid, theme, placeholder, ...props }: SearchInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
//#endregion
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { mergeDeep } from "../../util/mergeDeep.js";
|
|
2
|
+
import { Icon } from "../Icon/Icon.js";
|
|
3
|
+
import { FormInputContainer } from "../Form/Form.js";
|
|
4
|
+
import { defaultSearchInputTheme, searchInputStyles } from "./styles.js";
|
|
5
|
+
import { jsx, jsxs } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Input, SearchField } from "react-aria-components";
|
|
7
|
+
//#region src/components/SearchInput/SearchInput.tsx
|
|
8
|
+
const increaseIconSize = (s) => {
|
|
9
|
+
if (s === "sm") return "md";
|
|
10
|
+
return "lg";
|
|
11
|
+
};
|
|
12
|
+
function SearchInput({ size = "md", isInvalid = false, theme = {}, placeholder, ...props }) {
|
|
13
|
+
const mergedTheme = mergeDeep(defaultSearchInputTheme, theme);
|
|
14
|
+
return /* @__PURE__ */ jsx(FormInputContainer, {
|
|
15
|
+
as: SearchField,
|
|
16
|
+
size,
|
|
17
|
+
isInvalid,
|
|
18
|
+
...props,
|
|
19
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
20
|
+
css: searchInputStyles(mergedTheme, {
|
|
21
|
+
size,
|
|
22
|
+
isInvalid
|
|
23
|
+
}),
|
|
24
|
+
children: [/* @__PURE__ */ jsx(Icon, {
|
|
25
|
+
size: increaseIconSize(size),
|
|
26
|
+
symbol: "search",
|
|
27
|
+
className: "search-icon"
|
|
28
|
+
}), /* @__PURE__ */ jsx(Input, { placeholder })]
|
|
29
|
+
})
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { SearchInput };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const require_typography = require("../../styleD/utils/semantic/typography.cjs");
|
|
2
|
+
const require_searchInput = require("../../styleD/build/typescript/component/searchInput.cjs");
|
|
3
|
+
let _emotion_react = require("@emotion/react");
|
|
4
|
+
//#region src/components/SearchInput/styles.ts
|
|
5
|
+
const defaultSearchInputTheme = require_searchInput.componentSearchInput;
|
|
6
|
+
const searchInputStyles = (theme, { size, isInvalid }) => {
|
|
7
|
+
return _emotion_react.css`
|
|
8
|
+
${require_typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
9
|
+
background-color: ${theme.shared.backgroundColor};
|
|
10
|
+
border-radius: ${theme.shared.borderRadius};
|
|
11
|
+
border: ${theme.shared.border};
|
|
12
|
+
color: ${theme.shared.color};
|
|
13
|
+
cursor: ${theme.shared.cursor};
|
|
14
|
+
height: ${theme[size].height};
|
|
15
|
+
margin-top: ${theme.shared.marginTop};
|
|
16
|
+
padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
|
|
17
|
+
${theme.shared.padding.bottom} ${theme.shared.padding.left};
|
|
18
|
+
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
::placeholder {
|
|
24
|
+
color: ${theme.shared.placeholderColor};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& input {
|
|
28
|
+
${require_typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
border-radius: 0;
|
|
31
|
+
border: 0;
|
|
32
|
+
color: ${theme.shared.color};
|
|
33
|
+
cursor: ${theme.shared.cursor};
|
|
34
|
+
height: ${theme[size].height};
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0;
|
|
37
|
+
width: 100%;
|
|
38
|
+
|
|
39
|
+
::placeholder {
|
|
40
|
+
color: ${theme.shared.placeholderColor};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[data-disabled] {
|
|
44
|
+
color: ${theme.shared.disabled.color};
|
|
45
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
46
|
+
|
|
47
|
+
::placeholder {
|
|
48
|
+
color: ${theme.shared.disabled.color};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[data-focused] {
|
|
53
|
+
outline: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .search-icon {
|
|
58
|
+
margin-right: 8px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus-within {
|
|
62
|
+
outline: ${theme.shared.focused.outline};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
${isInvalid && _emotion_react.css`
|
|
66
|
+
border: ${theme.shared.error.border};
|
|
67
|
+
`}
|
|
68
|
+
|
|
69
|
+
&:has(:disabled) {
|
|
70
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
71
|
+
border: ${theme.shared.disabled.border};
|
|
72
|
+
color: ${theme.shared.disabled.color};
|
|
73
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
74
|
+
|
|
75
|
+
::placeholder {
|
|
76
|
+
color: ${theme.shared.disabled.color};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
& svg {
|
|
80
|
+
stroke: ${theme.shared.disabled.color};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
`;
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
exports.defaultSearchInputTheme = defaultSearchInputTheme;
|
|
87
|
+
exports.searchInputStyles = searchInputStyles;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
|
+
import { ComponentSearchInput } from "../../styleD/build/typescript/component/searchInput.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
4
|
+
import { SerializedStyles } from "@emotion/react";
|
|
5
|
+
//#region src/components/SearchInput/styles.d.ts
|
|
6
|
+
export type SearchInputTheme = Prettify<ComponentSearchInput>;
|
|
7
|
+
export type PartialSearchInputTheme = Prettify<DeepPartial<ComponentSearchInput>>;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
|
+
import { ComponentSearchInput } from "../../styleD/build/typescript/component/searchInput.js";
|
|
3
|
+
import "./types.js";
|
|
4
|
+
import { SerializedStyles } from "@emotion/react";
|
|
5
|
+
//#region src/components/SearchInput/styles.d.ts
|
|
6
|
+
export type SearchInputTheme = Prettify<ComponentSearchInput>;
|
|
7
|
+
export type PartialSearchInputTheme = Prettify<DeepPartial<ComponentSearchInput>>;
|
|
8
|
+
//#endregion
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { convertTypographyToEmotionStringStyle } from "../../styleD/utils/semantic/typography.js";
|
|
2
|
+
import { componentSearchInput } from "../../styleD/build/typescript/component/searchInput.js";
|
|
3
|
+
import { css } from "@emotion/react";
|
|
4
|
+
//#region src/components/SearchInput/styles.ts
|
|
5
|
+
const defaultSearchInputTheme = componentSearchInput;
|
|
6
|
+
const searchInputStyles = (theme, { size, isInvalid }) => {
|
|
7
|
+
return css`
|
|
8
|
+
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
9
|
+
background-color: ${theme.shared.backgroundColor};
|
|
10
|
+
border-radius: ${theme.shared.borderRadius};
|
|
11
|
+
border: ${theme.shared.border};
|
|
12
|
+
color: ${theme.shared.color};
|
|
13
|
+
cursor: ${theme.shared.cursor};
|
|
14
|
+
height: ${theme[size].height};
|
|
15
|
+
margin-top: ${theme.shared.marginTop};
|
|
16
|
+
padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
|
|
17
|
+
${theme.shared.padding.bottom} ${theme.shared.padding.left};
|
|
18
|
+
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
justify-content: flex-start;
|
|
21
|
+
align-items: center;
|
|
22
|
+
|
|
23
|
+
::placeholder {
|
|
24
|
+
color: ${theme.shared.placeholderColor};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& input {
|
|
28
|
+
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
29
|
+
background-color: transparent;
|
|
30
|
+
border-radius: 0;
|
|
31
|
+
border: 0;
|
|
32
|
+
color: ${theme.shared.color};
|
|
33
|
+
cursor: ${theme.shared.cursor};
|
|
34
|
+
height: ${theme[size].height};
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding: 0;
|
|
37
|
+
width: 100%;
|
|
38
|
+
|
|
39
|
+
::placeholder {
|
|
40
|
+
color: ${theme.shared.placeholderColor};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[data-disabled] {
|
|
44
|
+
color: ${theme.shared.disabled.color};
|
|
45
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
46
|
+
|
|
47
|
+
::placeholder {
|
|
48
|
+
color: ${theme.shared.disabled.color};
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[data-focused] {
|
|
53
|
+
outline: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .search-icon {
|
|
58
|
+
margin-right: 8px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus-within {
|
|
62
|
+
outline: ${theme.shared.focused.outline};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
${isInvalid && css`
|
|
66
|
+
border: ${theme.shared.error.border};
|
|
67
|
+
`}
|
|
68
|
+
|
|
69
|
+
&:has(:disabled) {
|
|
70
|
+
background-color: ${theme.shared.disabled.backgroundColor};
|
|
71
|
+
border: ${theme.shared.disabled.border};
|
|
72
|
+
color: ${theme.shared.disabled.color};
|
|
73
|
+
cursor: ${theme.shared.disabled.cursor};
|
|
74
|
+
|
|
75
|
+
::placeholder {
|
|
76
|
+
color: ${theme.shared.disabled.color};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
& svg {
|
|
80
|
+
stroke: ${theme.shared.disabled.color};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
`;
|
|
84
|
+
};
|
|
85
|
+
//#endregion
|
|
86
|
+
export { defaultSearchInputTheme, searchInputStyles };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
2
|
+
import { SearchInputTheme } from "./styles.cjs";
|
|
3
|
+
import { SearchFieldProps } from "react-aria-components";
|
|
4
|
+
//#region src/components/SearchInput/types.d.ts
|
|
5
|
+
export interface SearchInputProps extends FormInputContainerDefaultProps<SearchFieldProps, SearchInputTheme> {
|
|
6
|
+
/** Temporary text that occupies the text input when it is empty */
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
2
|
+
import { SearchInputTheme } from "./styles.js";
|
|
3
|
+
import { SearchFieldProps } from "react-aria-components";
|
|
4
|
+
//#region src/components/SearchInput/types.d.ts
|
|
5
|
+
export interface SearchInputProps extends FormInputContainerDefaultProps<SearchFieldProps, SearchInputTheme> {
|
|
6
|
+
/** Temporary text that occupies the text input when it is empty */
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.cjs";
|
|
2
2
|
//#region src/components/Select/Select.d.ts
|
|
3
|
-
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Option, Select };
|
|
3
|
+
export declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.js";
|
|
2
2
|
//#region src/components/Select/Select.d.ts
|
|
3
|
-
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Option, Select };
|
|
3
|
+
export declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function Select({ size, isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
@@ -3,7 +3,6 @@ import { ComponentSelect } from "../../styleD/build/typescript/component/select.
|
|
|
3
3
|
import "./types.cjs";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
//#region src/components/Select/styles.d.ts
|
|
6
|
-
type SelectTheme = Prettify<ComponentSelect>;
|
|
7
|
-
type PartialSelectTheme = Prettify<DeepPartial<SelectTheme>>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { PartialSelectTheme, SelectTheme };
|
|
6
|
+
export type SelectTheme = Prettify<ComponentSelect>;
|
|
7
|
+
export type PartialSelectTheme = Prettify<DeepPartial<SelectTheme>>;
|
|
8
|
+
//#endregion
|