@guardian/stand 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/HtmlPreviewLoader.cjs +7 -0
- package/dist/HtmlPreviewLoader.d.cts +4 -0
- package/dist/HtmlPreviewLoader.d.ts +4 -0
- package/dist/HtmlPreviewLoader.js +4 -0
- package/dist/components/AlertBanner/AlertBanner.d.cts +1 -12
- package/dist/components/AlertBanner/AlertBanner.d.ts +1 -12
- package/dist/components/AlertBanner/styles.d.cts +1 -1
- package/dist/components/AlertBanner/styles.d.ts +1 -1
- package/dist/components/AlertBanner/types.d.cts +2 -1
- package/dist/components/AlertBanner/types.d.ts +2 -1
- package/dist/components/Avatar/Avatar.d.cts +1 -11
- package/dist/components/Avatar/Avatar.d.ts +1 -11
- package/dist/components/Avatar/styles.d.cts +1 -1
- package/dist/components/Avatar/styles.d.ts +1 -1
- package/dist/components/Avatar/types.d.cts +1 -2
- package/dist/components/Avatar/types.d.ts +1 -2
- package/dist/components/AvatarButton/AvatarButton.d.cts +0 -1
- package/dist/components/AvatarButton/AvatarButton.d.ts +0 -1
- package/dist/components/AvatarButton/styles.d.cts +0 -1
- package/dist/components/AvatarButton/styles.d.ts +0 -1
- package/dist/components/AvatarButton/types.d.cts +0 -1
- package/dist/components/AvatarButton/types.d.ts +0 -1
- package/dist/components/AvatarLink/AvatarLink.d.cts +0 -1
- package/dist/components/AvatarLink/AvatarLink.d.ts +0 -1
- package/dist/components/AvatarLink/styles.d.cts +0 -1
- package/dist/components/AvatarLink/styles.d.ts +0 -1
- package/dist/components/AvatarLink/types.d.cts +0 -1
- package/dist/components/AvatarLink/types.d.ts +0 -1
- package/dist/components/Button/Button.d.cts +1 -9
- package/dist/components/Button/Button.d.ts +1 -9
- package/dist/components/Button/styles.cjs +6 -6
- package/dist/components/Button/styles.d.cts +1 -1
- package/dist/components/Button/styles.d.ts +1 -1
- package/dist/components/Button/styles.js +6 -6
- package/dist/components/Button/types.d.cts +0 -1
- package/dist/components/Button/types.d.ts +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.cjs +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.cts +1 -7
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +1 -7
- package/dist/components/ButtonGroup/styles.d.cts +0 -1
- package/dist/components/ButtonGroup/styles.d.ts +0 -1
- package/dist/components/ButtonGroup/types.d.cts +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -1
- package/dist/components/Byline/Byline.d.cts +20 -22
- package/dist/components/Byline/Byline.d.ts +20 -22
- package/dist/components/Byline/lib.cjs +2 -0
- package/dist/components/Byline/lib.d.cts +3 -0
- package/dist/components/Byline/lib.d.ts +2 -0
- package/dist/components/Byline/lib.js +1 -1
- package/dist/components/Byline/theme.d.cts +0 -1
- package/dist/components/Byline/theme.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.d.cts +1 -9
- package/dist/components/Checkbox/Checkbox.d.ts +1 -9
- package/dist/components/Checkbox/CheckboxGroup.cjs +1 -1
- package/dist/components/Checkbox/CheckboxGroup.d.cts +1 -6
- package/dist/components/Checkbox/CheckboxGroup.d.ts +1 -6
- package/dist/components/Checkbox/styles.cjs +2 -2
- package/dist/components/Checkbox/styles.d.cts +1 -1
- package/dist/components/Checkbox/styles.d.ts +1 -1
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Checkbox/types.d.cts +0 -1
- package/dist/components/Checkbox/types.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.d.cts +1 -8
- package/dist/components/DatePicker/DatePicker.d.ts +1 -8
- package/dist/components/DatePicker/styles.d.cts +0 -1
- package/dist/components/DatePicker/styles.d.ts +0 -1
- package/dist/components/DatePicker/types.d.cts +1 -1
- package/dist/components/DatePicker/types.d.ts +1 -1
- package/dist/components/Favicon/Favicon.d.cts +0 -1
- package/dist/components/Favicon/Favicon.d.ts +0 -1
- package/dist/components/Favicon/styles.d.cts +0 -1
- package/dist/components/Favicon/styles.d.ts +0 -1
- package/dist/components/Favicon/types.d.cts +0 -1
- package/dist/components/Favicon/types.d.ts +0 -1
- package/dist/components/Form/styles.cjs +6 -6
- package/dist/components/Form/styles.d.cts +1 -1
- package/dist/components/Form/styles.d.ts +1 -1
- package/dist/components/Form/styles.js +6 -6
- package/dist/components/Form/types.d.cts +0 -1
- package/dist/components/Form/types.d.ts +0 -1
- package/dist/components/Grid/Grid.d.cts +2 -16
- package/dist/components/Grid/Grid.d.ts +2 -16
- package/dist/components/Grid/styles.d.cts +1 -1
- package/dist/components/Grid/styles.d.ts +1 -1
- package/dist/components/Grid/types.d.cts +1 -2
- package/dist/components/Grid/types.d.ts +1 -2
- package/dist/components/HtmlPreviewLoader/HtmlPreview.cjs +99 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.cts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.d.ts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreview.js +99 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.cjs +27 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.cts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.d.ts +5 -0
- package/dist/components/HtmlPreviewLoader/HtmlPreviewLoader.js +27 -0
- package/dist/components/HtmlPreviewLoader/styles.cjs +96 -0
- package/dist/components/HtmlPreviewLoader/styles.d.cts +7 -0
- package/dist/components/HtmlPreviewLoader/styles.d.ts +7 -0
- package/dist/components/HtmlPreviewLoader/styles.js +87 -0
- package/dist/components/HtmlPreviewLoader/types.d.cts +27 -0
- package/dist/components/HtmlPreviewLoader/types.d.ts +27 -0
- package/dist/components/Icon/Icon.d.cts +1 -11
- package/dist/components/Icon/Icon.d.ts +1 -11
- package/dist/components/Icon/Styles.d.cts +1 -0
- package/dist/components/Icon/Styles.d.ts +1 -0
- package/dist/components/Icon/types.d.cts +1 -2
- package/dist/components/Icon/types.d.ts +1 -2
- package/dist/components/IconButton/IconButton.d.cts +1 -10
- package/dist/components/IconButton/IconButton.d.ts +1 -10
- package/dist/components/IconButton/styles.d.cts +1 -0
- package/dist/components/IconButton/styles.d.ts +1 -0
- package/dist/components/IconButton/types.d.cts +0 -1
- package/dist/components/IconButton/types.d.ts +0 -1
- package/dist/components/IconLinkButton/IconLinkButton.d.cts +1 -10
- package/dist/components/IconLinkButton/IconLinkButton.d.ts +1 -10
- package/dist/components/IconLinkButton/styles.d.cts +1 -0
- package/dist/components/IconLinkButton/styles.d.ts +1 -0
- package/dist/components/IconLinkButton/types.d.cts +0 -1
- package/dist/components/IconLinkButton/types.d.ts +0 -1
- package/dist/components/InlineMessage/InlineMessage.d.cts +1 -12
- package/dist/components/InlineMessage/InlineMessage.d.ts +1 -12
- package/dist/components/InlineMessage/styles.d.cts +1 -1
- package/dist/components/InlineMessage/styles.d.ts +1 -1
- package/dist/components/InlineMessage/types.d.cts +0 -1
- package/dist/components/InlineMessage/types.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.cts +1 -9
- package/dist/components/IntendedAudienceSignifier/IntendedAudienceSignifier.d.ts +1 -9
- package/dist/components/IntendedAudienceSignifier/styles.d.cts +0 -1
- package/dist/components/IntendedAudienceSignifier/styles.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/types.d.cts +0 -1
- package/dist/components/IntendedAudienceSignifier/types.d.ts +0 -1
- package/dist/components/IntendedAudienceSignifier/utils.d.cts +1 -2
- package/dist/components/IntendedAudienceSignifier/utils.d.ts +1 -2
- package/dist/components/Layout/Layout.d.cts +0 -1
- package/dist/components/Layout/Layout.d.ts +0 -1
- package/dist/components/Layout/styles.cjs +24 -24
- package/dist/components/Layout/styles.d.cts +1 -1
- package/dist/components/Layout/styles.d.ts +1 -1
- package/dist/components/Layout/styles.js +24 -24
- package/dist/components/Layout/types.d.cts +0 -1
- package/dist/components/Layout/types.d.ts +0 -1
- package/dist/components/Link/Link.d.cts +1 -9
- package/dist/components/Link/Link.d.ts +1 -9
- package/dist/components/Link/styles.d.cts +0 -1
- package/dist/components/Link/styles.d.ts +0 -1
- package/dist/components/Link/types.d.cts +0 -1
- package/dist/components/Link/types.d.ts +0 -1
- package/dist/components/LinkButton/LinkButton.d.cts +1 -9
- package/dist/components/LinkButton/LinkButton.d.ts +1 -9
- package/dist/components/LinkButton/Styles.d.cts +1 -0
- package/dist/components/LinkButton/Styles.d.ts +1 -0
- package/dist/components/LinkButton/types.d.cts +0 -1
- package/dist/components/LinkButton/types.d.ts +0 -1
- package/dist/components/Menu/Menu.cjs +1 -1
- package/dist/components/Menu/Menu.d.cts +5 -36
- package/dist/components/Menu/Menu.d.ts +5 -36
- package/dist/components/Menu/styles.d.cts +1 -1
- package/dist/components/Menu/styles.d.ts +1 -1
- package/dist/components/Menu/types.d.cts +0 -1
- package/dist/components/Menu/types.d.ts +0 -1
- package/dist/components/Modal/Modal.cjs +1 -1
- package/dist/components/Modal/Modal.d.cts +1 -7
- package/dist/components/Modal/Modal.d.ts +1 -7
- package/dist/components/Modal/styles.d.cts +0 -1
- package/dist/components/Modal/styles.d.ts +0 -1
- package/dist/components/Modal/types.d.cts +0 -1
- package/dist/components/Modal/types.d.ts +0 -1
- package/dist/components/RadioGroup/RadioGroup.cjs +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.cts +2 -16
- package/dist/components/RadioGroup/RadioGroup.d.ts +2 -16
- package/dist/components/RadioGroup/styles.cjs +2 -2
- package/dist/components/RadioGroup/styles.d.cts +1 -1
- package/dist/components/RadioGroup/styles.d.ts +1 -1
- package/dist/components/RadioGroup/styles.js +2 -2
- package/dist/components/RadioGroup/types.d.cts +0 -1
- package/dist/components/RadioGroup/types.d.ts +0 -1
- package/dist/components/Select/Select.cjs +1 -1
- package/dist/components/Select/Select.d.cts +2 -15
- package/dist/components/Select/Select.d.ts +2 -15
- package/dist/components/Select/styles.d.cts +0 -1
- package/dist/components/Select/styles.d.ts +0 -1
- package/dist/components/Select/types.d.cts +0 -1
- package/dist/components/Select/types.d.ts +0 -1
- package/dist/components/Tabs/Tabs.cjs +1 -1
- package/dist/components/Tabs/Tabs.d.cts +0 -1
- package/dist/components/Tabs/Tabs.d.ts +0 -1
- package/dist/components/Tabs/styles.cjs +34 -34
- package/dist/components/Tabs/styles.d.cts +1 -1
- package/dist/components/Tabs/styles.d.ts +1 -1
- package/dist/components/Tabs/styles.js +34 -34
- package/dist/components/Tabs/types.d.cts +0 -1
- package/dist/components/Tabs/types.d.ts +0 -1
- package/dist/components/TagPicker/Autocomplete.d.cts +3 -19
- package/dist/components/TagPicker/Autocomplete.d.ts +3 -19
- package/dist/components/TagPicker/TagPicker.d.cts +39 -54
- package/dist/components/TagPicker/TagPicker.d.ts +39 -54
- package/dist/components/TagPicker/types.d.cts +1 -1
- package/dist/components/TagPicker/types.d.ts +1 -1
- package/dist/components/TagTable/TagTable.d.cts +2 -23
- package/dist/components/TagTable/TagTable.d.ts +2 -23
- package/dist/components/TextArea/TextArea.d.cts +1 -8
- package/dist/components/TextArea/TextArea.d.ts +1 -8
- package/dist/components/TextArea/styles.cjs +2 -2
- package/dist/components/TextArea/styles.d.cts +1 -1
- package/dist/components/TextArea/styles.d.ts +1 -1
- package/dist/components/TextArea/styles.js +2 -2
- package/dist/components/TextArea/types.d.cts +0 -1
- package/dist/components/TextArea/types.d.ts +0 -1
- package/dist/components/TextInput/TextInput.d.cts +1 -8
- package/dist/components/TextInput/TextInput.d.ts +1 -8
- package/dist/components/TextInput/styles.cjs +2 -2
- package/dist/components/TextInput/styles.d.cts +1 -1
- package/dist/components/TextInput/styles.d.ts +1 -1
- package/dist/components/TextInput/styles.js +2 -2
- package/dist/components/TextInput/types.d.cts +0 -1
- package/dist/components/TextInput/types.d.ts +0 -1
- package/dist/components/TopBar/TopBar.cjs +1 -1
- package/dist/components/TopBar/TopBar.d.cts +3 -17
- package/dist/components/TopBar/TopBar.d.ts +3 -17
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.cts +1 -11
- package/dist/components/TopBar/TopBarItem/TopBarItem.d.ts +1 -11
- package/dist/components/TopBar/TopBarItem/styles.cjs +7 -7
- package/dist/components/TopBar/TopBarItem/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarItem/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarItem/styles.js +7 -7
- package/dist/components/TopBar/TopBarItem/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarItem/types.d.ts +0 -1
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.cts +1 -17
- package/dist/components/TopBar/TopBarNavigation/TopBarNavigation.d.ts +1 -17
- package/dist/components/TopBar/TopBarNavigation/styles.cjs +30 -30
- package/dist/components/TopBar/TopBarNavigation/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarNavigation/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarNavigation/styles.js +30 -30
- package/dist/components/TopBar/TopBarNavigation/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarNavigation/types.d.ts +0 -1
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.cts +1 -6
- package/dist/components/TopBar/TopBarToolName/TopBarToolName.d.ts +1 -6
- package/dist/components/TopBar/TopBarToolName/styles.d.cts +1 -1
- package/dist/components/TopBar/TopBarToolName/styles.d.ts +1 -1
- package/dist/components/TopBar/TopBarToolName/types.d.cts +0 -1
- package/dist/components/TopBar/TopBarToolName/types.d.ts +0 -1
- package/dist/components/TopBar/styles.cjs +10 -10
- package/dist/components/TopBar/styles.d.cts +0 -1
- package/dist/components/TopBar/styles.d.ts +0 -1
- package/dist/components/TopBar/styles.js +10 -10
- package/dist/components/TopBar/types.d.cts +0 -1
- package/dist/components/TopBar/types.d.ts +0 -1
- package/dist/components/Typography/Typography.d.cts +1 -9
- package/dist/components/Typography/Typography.d.ts +1 -9
- package/dist/components/Typography/styles.d.cts +1 -1
- package/dist/components/Typography/styles.d.ts +1 -1
- package/dist/components/Typography/types.d.cts +0 -1
- package/dist/components/Typography/types.d.ts +0 -1
- package/dist/components/UserMenu/UserMenu.d.cts +2 -12
- package/dist/components/UserMenu/UserMenu.d.ts +2 -12
- package/dist/components/UserMenu/model.d.cts +0 -1
- package/dist/components/UserMenu/model.d.ts +0 -1
- package/dist/styleD/build/css/base/sizing.css +2 -0
- package/dist/styleD/build/css/component/htmlPreviewLoader.css +22 -0
- package/dist/styleD/build/css/component/icon.css +1 -0
- package/dist/styleD/build/css/component/previewFrame.css +10 -0
- package/dist/styleD/build/css/semantic/sizing.css +1 -0
- package/dist/styleD/build/typescript/base/sizing.cjs +2 -0
- package/dist/styleD/build/typescript/base/sizing.d.cts +2 -0
- package/dist/styleD/build/typescript/base/sizing.d.ts +2 -0
- package/dist/styleD/build/typescript/base/sizing.js +2 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.cjs +30 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.cts +33 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.d.ts +33 -0
- package/dist/styleD/build/typescript/component/htmlPreviewLoader.js +30 -0
- package/dist/styleD/build/typescript/component/icon.cjs +1 -0
- package/dist/styleD/build/typescript/component/icon.d.cts +3 -0
- package/dist/styleD/build/typescript/component/icon.d.ts +3 -0
- package/dist/styleD/build/typescript/component/icon.js +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.cjs +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.cts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.d.ts +1 -0
- package/dist/styleD/build/typescript/semantic/sizing.js +1 -0
- package/dist/styleD/utils/semantic/mq.d.cts +0 -1
- package/dist/styleD/utils/semantic/mq.d.ts +0 -1
- package/dist/styleD/utils/semantic/typography.d.cts +0 -1
- package/dist/styleD/utils/semantic/typography.d.ts +0 -1
- package/dist/util/types.d.cts +2 -3
- package/dist/util/types.d.ts +2 -3
- package/package.json +31 -18
|
@@ -1,29 +1,46 @@
|
|
|
1
1
|
import { DeepPartial } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.cjs";
|
|
3
|
+
import "../../Select.cjs";
|
|
3
4
|
import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.cjs";
|
|
4
5
|
import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTable.cjs";
|
|
5
6
|
import { FilterOption, TagRow } from "./types.cjs";
|
|
6
7
|
import { ComponentTagPicker } from "../../styleD/build/typescript/component/tagPicker.cjs";
|
|
8
|
+
import "../../TagPicker.cjs";
|
|
7
9
|
import { SerializedStyles } from "@emotion/react";
|
|
8
10
|
import { ReactElement, ReactNode } from "react";
|
|
9
|
-
|
|
10
11
|
//#region src/components/TagPicker/TagPicker.d.ts
|
|
11
12
|
type TagPickerProps<T extends TagRow = TagRow> = {
|
|
12
|
-
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
14
|
+
addTag: (tag: T) => void;
|
|
15
|
+
/** `loading` - Whether the component is loading options for the dropdown */
|
|
16
|
+
loading: boolean;
|
|
17
|
+
/** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
|
|
18
|
+
offline?: boolean;
|
|
19
|
+
/** `onReorder - Function called when a selected tag is moved in the tag table */
|
|
20
|
+
onReorder?: (tags: T[]) => void;
|
|
21
|
+
/** `onReorder - Function called the user enters a query or selects a filter value */
|
|
22
|
+
onSearch: (queryText: string, filterValue?: string) => void;
|
|
23
|
+
/** `options` - The list of options shown in the dropdown */
|
|
24
|
+
options: T[];
|
|
25
|
+
/** `proposedTags` - A list of "proposed tags" that the user can add */
|
|
26
|
+
proposedTags?: T[];
|
|
27
|
+
/** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
/** `addTag` - Function called when a tag is removed from selected tags list */
|
|
30
|
+
removeTag: (tag: T) => void;
|
|
31
|
+
/** `retryConnection - Function called to check if the service to fetch tag options is available again */
|
|
32
|
+
retryConnection?: () => void;
|
|
33
|
+
/** `tags` - The list of selected tags */
|
|
34
|
+
tags: T[];
|
|
35
|
+
/** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
|
|
36
|
+
canRemove?: (tag: T) => boolean;
|
|
37
|
+
/** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
|
|
38
|
+
filterRows?: (tag: T) => boolean;
|
|
39
|
+
/** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
|
|
40
|
+
filterOptions?: FilterOption[];
|
|
41
|
+
/** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
|
|
42
|
+
offlineBackupTags?: T[];
|
|
43
|
+
/** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
|
|
27
44
|
gripIcon?: ReactElement;
|
|
28
45
|
/** `testid` - the test id for the Tag picker, defaults to "tag-picker". Is used as a prefix for test id's on the sub components eg:
|
|
29
46
|
* - "tag-picker-search-input"
|
|
@@ -41,12 +58,14 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
41
58
|
showTagType?: boolean;
|
|
42
59
|
showTagSectionName?: boolean;
|
|
43
60
|
proposedTagsHeading?: ReactNode;
|
|
44
|
-
proposedTagsSubHeading?: string;
|
|
61
|
+
proposedTagsSubHeading?: string;
|
|
62
|
+
/** `theme` - Used to customise the look and feel of the TagPicker component */
|
|
45
63
|
theme?: DeepPartial<ComponentTagPicker>;
|
|
46
64
|
tagTableTheme?: DeepPartial<ComponentTagTable>;
|
|
47
65
|
proposedTagTableTheme?: DeepPartial<ComponentTagTable>;
|
|
48
66
|
autoCompleteTheme?: DeepPartial<ComponentAutocomplete>;
|
|
49
|
-
selectTheme?: DeepPartial<ComponentSelect>;
|
|
67
|
+
selectTheme?: DeepPartial<ComponentSelect>;
|
|
68
|
+
/** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
|
|
50
69
|
cssOverrides?: SerializedStyles;
|
|
51
70
|
};
|
|
52
71
|
/**
|
|
@@ -68,40 +87,6 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
68
87
|
*
|
|
69
88
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
70
89
|
*/
|
|
71
|
-
declare function TagPicker<T extends TagRow = TagRow>({
|
|
72
|
-
addTag,
|
|
73
|
-
loading,
|
|
74
|
-
offline,
|
|
75
|
-
onReorder,
|
|
76
|
-
onSearch,
|
|
77
|
-
options,
|
|
78
|
-
proposedTags,
|
|
79
|
-
readOnly,
|
|
80
|
-
removeTag,
|
|
81
|
-
retryConnection,
|
|
82
|
-
tags,
|
|
83
|
-
canRemove,
|
|
84
|
-
filterRows,
|
|
85
|
-
filterOptions,
|
|
86
|
-
offlineBackupTags,
|
|
87
|
-
highlightLeadingTag,
|
|
88
|
-
searchPlaceholder,
|
|
89
|
-
searchLabel,
|
|
90
|
-
removeIcon,
|
|
91
|
-
searchIcon,
|
|
92
|
-
loadingIcon,
|
|
93
|
-
showTagType,
|
|
94
|
-
showTagSectionName,
|
|
95
|
-
proposedTagsHeading,
|
|
96
|
-
proposedTagsSubHeading,
|
|
97
|
-
gripIcon,
|
|
98
|
-
theme,
|
|
99
|
-
tagTableTheme,
|
|
100
|
-
proposedTagTableTheme,
|
|
101
|
-
autoCompleteTheme,
|
|
102
|
-
selectTheme,
|
|
103
|
-
cssOverrides,
|
|
104
|
-
testId
|
|
105
|
-
}: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
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;
|
|
106
91
|
//#endregion
|
|
107
|
-
export { TagPicker };
|
|
92
|
+
export { TagPicker, TagPickerProps };
|
|
@@ -1,29 +1,46 @@
|
|
|
1
1
|
import { DeepPartial } from "../../util/types.js";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.js";
|
|
3
|
+
import "../../Select.js";
|
|
3
4
|
import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.js";
|
|
4
5
|
import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTable.js";
|
|
5
6
|
import { FilterOption, TagRow } from "./types.js";
|
|
6
7
|
import { ComponentTagPicker } from "../../styleD/build/typescript/component/tagPicker.js";
|
|
8
|
+
import "../../TagPicker.js";
|
|
7
9
|
import { ReactElement, ReactNode } from "react";
|
|
8
10
|
import { SerializedStyles } from "@emotion/react";
|
|
9
|
-
|
|
10
11
|
//#region src/components/TagPicker/TagPicker.d.ts
|
|
11
12
|
type TagPickerProps<T extends TagRow = TagRow> = {
|
|
12
|
-
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
/** `addTag` - Function called when a tag is selected from the dropdown or proposal list */
|
|
14
|
+
addTag: (tag: T) => void;
|
|
15
|
+
/** `loading` - Whether the component is loading options for the dropdown */
|
|
16
|
+
loading: boolean;
|
|
17
|
+
/** `offline` - Whether the component has failed to fetch a list of options, indicating either that the service is offline or cannot be reached */
|
|
18
|
+
offline?: boolean;
|
|
19
|
+
/** `onReorder - Function called when a selected tag is moved in the tag table */
|
|
20
|
+
onReorder?: (tags: T[]) => void;
|
|
21
|
+
/** `onReorder - Function called the user enters a query or selects a filter value */
|
|
22
|
+
onSearch: (queryText: string, filterValue?: string) => void;
|
|
23
|
+
/** `options` - The list of options shown in the dropdown */
|
|
24
|
+
options: T[];
|
|
25
|
+
/** `proposedTags` - A list of "proposed tags" that the user can add */
|
|
26
|
+
proposedTags?: T[];
|
|
27
|
+
/** `readOnly` - Whether the interactions modifying the list of tags should be disabled */
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
/** `addTag` - Function called when a tag is removed from selected tags list */
|
|
30
|
+
removeTag: (tag: T) => void;
|
|
31
|
+
/** `retryConnection - Function called to check if the service to fetch tag options is available again */
|
|
32
|
+
retryConnection?: () => void;
|
|
33
|
+
/** `tags` - The list of selected tags */
|
|
34
|
+
tags: T[];
|
|
35
|
+
/** `canRemove - A filter function that determines if the user is able to remove the tag from the selected tags */
|
|
36
|
+
canRemove?: (tag: T) => boolean;
|
|
37
|
+
/** `filterRows - A filter function that determines if the tag should be excluded from the selected and proposed tag tables */
|
|
38
|
+
filterRows?: (tag: T) => boolean;
|
|
39
|
+
/** `filterOptions` - the list of options for setting the filter value (second argument of `onSearch`). If omitted, or has only one member, the Select input is not rendered. */
|
|
40
|
+
filterOptions?: FilterOption[];
|
|
41
|
+
/** `offlineBackupTags` - A list of tags that the user can select if the service is offline */
|
|
42
|
+
offlineBackupTags?: T[];
|
|
43
|
+
/** `gripIcon` - Icon to indicate that a row can be dragged, used in the accessible drag button */
|
|
27
44
|
gripIcon?: ReactElement;
|
|
28
45
|
/** `testid` - the test id for the Tag picker, defaults to "tag-picker". Is used as a prefix for test id's on the sub components eg:
|
|
29
46
|
* - "tag-picker-search-input"
|
|
@@ -41,12 +58,14 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
41
58
|
showTagType?: boolean;
|
|
42
59
|
showTagSectionName?: boolean;
|
|
43
60
|
proposedTagsHeading?: ReactNode;
|
|
44
|
-
proposedTagsSubHeading?: string;
|
|
61
|
+
proposedTagsSubHeading?: string;
|
|
62
|
+
/** `theme` - Used to customise the look and feel of the TagPicker component */
|
|
45
63
|
theme?: DeepPartial<ComponentTagPicker>;
|
|
46
64
|
tagTableTheme?: DeepPartial<ComponentTagTable>;
|
|
47
65
|
proposedTagTableTheme?: DeepPartial<ComponentTagTable>;
|
|
48
66
|
autoCompleteTheme?: DeepPartial<ComponentAutocomplete>;
|
|
49
|
-
selectTheme?: DeepPartial<ComponentSelect>;
|
|
67
|
+
selectTheme?: DeepPartial<ComponentSelect>;
|
|
68
|
+
/** `cssOverrides` - Escape hatch for styling that doesn't fall into the theme */
|
|
50
69
|
cssOverrides?: SerializedStyles;
|
|
51
70
|
};
|
|
52
71
|
/**
|
|
@@ -68,40 +87,6 @@ type TagPickerProps<T extends TagRow = TagRow> = {
|
|
|
68
87
|
*
|
|
69
88
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
70
89
|
*/
|
|
71
|
-
declare function TagPicker<T extends TagRow = TagRow>({
|
|
72
|
-
addTag,
|
|
73
|
-
loading,
|
|
74
|
-
offline,
|
|
75
|
-
onReorder,
|
|
76
|
-
onSearch,
|
|
77
|
-
options,
|
|
78
|
-
proposedTags,
|
|
79
|
-
readOnly,
|
|
80
|
-
removeTag,
|
|
81
|
-
retryConnection,
|
|
82
|
-
tags,
|
|
83
|
-
canRemove,
|
|
84
|
-
filterRows,
|
|
85
|
-
filterOptions,
|
|
86
|
-
offlineBackupTags,
|
|
87
|
-
highlightLeadingTag,
|
|
88
|
-
searchPlaceholder,
|
|
89
|
-
searchLabel,
|
|
90
|
-
removeIcon,
|
|
91
|
-
searchIcon,
|
|
92
|
-
loadingIcon,
|
|
93
|
-
showTagType,
|
|
94
|
-
showTagSectionName,
|
|
95
|
-
proposedTagsHeading,
|
|
96
|
-
proposedTagsSubHeading,
|
|
97
|
-
gripIcon,
|
|
98
|
-
theme,
|
|
99
|
-
tagTableTheme,
|
|
100
|
-
proposedTagTableTheme,
|
|
101
|
-
autoCompleteTheme,
|
|
102
|
-
selectTheme,
|
|
103
|
-
cssOverrides,
|
|
104
|
-
testId
|
|
105
|
-
}: TagPickerProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
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;
|
|
106
91
|
//#endregion
|
|
107
|
-
export { TagPicker };
|
|
92
|
+
export { TagPicker, TagPickerProps };
|
|
@@ -3,7 +3,6 @@ import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTa
|
|
|
3
3
|
import { TagRow } from "../TagPicker/types.cjs";
|
|
4
4
|
import { SerializedStyles } from "@emotion/react";
|
|
5
5
|
import { ReactElement, ReactNode } from "react";
|
|
6
|
-
|
|
7
6
|
//#region src/components/TagTable/TagTable.d.ts
|
|
8
7
|
type Row = TagRow | {
|
|
9
8
|
tag: TagRow;
|
|
@@ -96,26 +95,6 @@ interface TagTableProps<R extends Row> {
|
|
|
96
95
|
*
|
|
97
96
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
98
97
|
*/
|
|
99
|
-
declare function TagTable<R extends Row>({
|
|
100
|
-
rows,
|
|
101
|
-
filterRows,
|
|
102
|
-
heading,
|
|
103
|
-
subHeading,
|
|
104
|
-
showTagType,
|
|
105
|
-
showTagSectionName,
|
|
106
|
-
highlightFirstRow,
|
|
107
|
-
removeAction: removeTag,
|
|
108
|
-
addAction: addTag,
|
|
109
|
-
onReorder,
|
|
110
|
-
canRemove,
|
|
111
|
-
'data-testid': dataTestId,
|
|
112
|
-
removeIcon,
|
|
113
|
-
gripIcon,
|
|
114
|
-
renderCustomControl,
|
|
115
|
-
renderWhenEmpty,
|
|
116
|
-
headerContent,
|
|
117
|
-
theme,
|
|
118
|
-
cssOverrides
|
|
119
|
-
}: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
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;
|
|
120
99
|
//#endregion
|
|
121
|
-
export { TagTable };
|
|
100
|
+
export { TagTable, TagTableProps };
|
|
@@ -3,7 +3,6 @@ import { ComponentTagTable } from "../../styleD/build/typescript/component/tagTa
|
|
|
3
3
|
import { TagRow } from "../TagPicker/types.js";
|
|
4
4
|
import { ReactElement, ReactNode } from "react";
|
|
5
5
|
import { SerializedStyles } from "@emotion/react";
|
|
6
|
-
|
|
7
6
|
//#region src/components/TagTable/TagTable.d.ts
|
|
8
7
|
type Row = TagRow | {
|
|
9
8
|
tag: TagRow;
|
|
@@ -96,26 +95,6 @@ interface TagTableProps<R extends Row> {
|
|
|
96
95
|
*
|
|
97
96
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
98
97
|
*/
|
|
99
|
-
declare function TagTable<R extends Row>({
|
|
100
|
-
rows,
|
|
101
|
-
filterRows,
|
|
102
|
-
heading,
|
|
103
|
-
subHeading,
|
|
104
|
-
showTagType,
|
|
105
|
-
showTagSectionName,
|
|
106
|
-
highlightFirstRow,
|
|
107
|
-
removeAction: removeTag,
|
|
108
|
-
addAction: addTag,
|
|
109
|
-
onReorder,
|
|
110
|
-
canRemove,
|
|
111
|
-
'data-testid': dataTestId,
|
|
112
|
-
removeIcon,
|
|
113
|
-
gripIcon,
|
|
114
|
-
renderCustomControl,
|
|
115
|
-
renderWhenEmpty,
|
|
116
|
-
headerContent,
|
|
117
|
-
theme,
|
|
118
|
-
cssOverrides
|
|
119
|
-
}: TagTableProps<R>): import("@emotion/react/jsx-runtime").JSX.Element | null;
|
|
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;
|
|
120
99
|
//#endregion
|
|
121
|
-
export { TagTable };
|
|
100
|
+
export { TagTable, TagTableProps };
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { TextAreaProps } from "./types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TextArea/TextArea.d.ts
|
|
4
|
-
declare function TextArea({
|
|
5
|
-
size,
|
|
6
|
-
isInvalid,
|
|
7
|
-
theme,
|
|
8
|
-
placeholder,
|
|
9
|
-
...props
|
|
10
|
-
}: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
4
|
//#endregion
|
|
12
5
|
export { TextArea };
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { TextAreaProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TextArea/TextArea.d.ts
|
|
4
|
-
declare function TextArea({
|
|
5
|
-
size,
|
|
6
|
-
isInvalid,
|
|
7
|
-
theme,
|
|
8
|
-
placeholder,
|
|
9
|
-
...props
|
|
10
|
-
}: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TextArea({ size, isInvalid, theme, placeholder, ...props }: TextAreaProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
4
|
//#endregion
|
|
12
5
|
export { TextArea };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentTextArea } from "../../styleD/build/typescript/component/textArea.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/TextArea/styles.d.ts
|
|
6
6
|
type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentTextArea } from "../../styleD/build/typescript/component/textArea.js";
|
|
3
|
+
import "./types.js";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/TextArea/styles.d.ts
|
|
6
6
|
type TextAreaTheme = Prettify<ComponentTextArea>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
2
2
|
import { TextAreaTheme } from "./styles.cjs";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
|
|
5
4
|
//#region src/components/TextArea/types.d.ts
|
|
6
5
|
interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
7
6
|
/** Temporary text that occupies the text area when it is empty */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
2
2
|
import { TextAreaTheme } from "./styles.js";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
|
|
5
4
|
//#region src/components/TextArea/types.d.ts
|
|
6
5
|
interface TextAreaProps extends FormInputContainerDefaultProps<TextFieldProps, TextAreaTheme> {
|
|
7
6
|
/** Temporary text that occupies the text area when it is empty */
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { TextInputProps } from "./types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TextInput/TextInput.d.ts
|
|
4
|
-
declare function TextInput({
|
|
5
|
-
size,
|
|
6
|
-
isInvalid,
|
|
7
|
-
theme,
|
|
8
|
-
placeholder,
|
|
9
|
-
...props
|
|
10
|
-
}: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
4
|
//#endregion
|
|
12
5
|
export { TextInput };
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { TextInputProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TextInput/TextInput.d.ts
|
|
4
|
-
declare function TextInput({
|
|
5
|
-
size,
|
|
6
|
-
isInvalid,
|
|
7
|
-
theme,
|
|
8
|
-
placeholder,
|
|
9
|
-
...props
|
|
10
|
-
}: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TextInput({ size, isInvalid, theme, placeholder, ...props }: TextInputProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
4
|
//#endregion
|
|
12
5
|
export { TextInput };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentTextInput } from "../../styleD/build/typescript/component/textInput.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/TextInput/styles.d.ts
|
|
6
6
|
type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentTextInput } from "../../styleD/build/typescript/component/textInput.js";
|
|
3
|
+
import "./types.js";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/TextInput/styles.d.ts
|
|
6
6
|
type TextInputTheme = Prettify<ComponentTextInput>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
2
2
|
import { TextInputTheme } from "./styles.cjs";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
|
|
5
4
|
//#region src/components/TextInput/types.d.ts
|
|
6
5
|
interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
7
6
|
/** Temporary text that occupies the text input when it is empty */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
2
2
|
import { TextInputTheme } from "./styles.js";
|
|
3
3
|
import { TextFieldProps } from "react-aria-components";
|
|
4
|
-
|
|
5
4
|
//#region src/components/TextInput/types.d.ts
|
|
6
5
|
interface TextInputProps extends FormInputContainerDefaultProps<TextFieldProps, TextInputTheme> {
|
|
7
6
|
/** Temporary text that occupies the text input when it is empty */
|
|
@@ -10,7 +10,7 @@ const require_TopBarNavigation = require("./TopBarNavigation/TopBarNavigation.cj
|
|
|
10
10
|
const require_useResize = require("../../util/useResize.cjs");
|
|
11
11
|
const require_styles = require("./styles.cjs");
|
|
12
12
|
let react = require("react");
|
|
13
|
-
react = require_runtime.__toESM(react);
|
|
13
|
+
react = require_runtime.__toESM(react, 1);
|
|
14
14
|
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
15
15
|
let react_aria_components = require("react-aria-components");
|
|
16
16
|
//#region src/components/TopBar/TopBar.tsx
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import { TopBarTheme } from "./styles.cjs";
|
|
2
2
|
import { TopBarProps } from "./types.cjs";
|
|
3
|
-
|
|
4
3
|
//#region src/components/TopBar/TopBar.d.ts
|
|
5
|
-
declare function TopBarContainerRight({
|
|
6
|
-
children,
|
|
7
|
-
theme
|
|
8
|
-
}: {
|
|
4
|
+
declare function TopBarContainerRight({ children, theme }: {
|
|
9
5
|
children: TopBarProps['children'];
|
|
10
6
|
theme?: TopBarTheme;
|
|
11
7
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function TopBarContainerLeft({
|
|
13
|
-
children,
|
|
14
|
-
theme
|
|
15
|
-
}: {
|
|
8
|
+
declare function TopBarContainerLeft({ children, theme }: {
|
|
16
9
|
children: TopBarProps['children'];
|
|
17
10
|
theme?: TopBarTheme;
|
|
18
11
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function TopBar({
|
|
20
|
-
children,
|
|
21
|
-
collapseBelow,
|
|
22
|
-
theme,
|
|
23
|
-
cssOverrides,
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { TopBar, TopBarContainerLeft, TopBarContainerRight };
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import { TopBarTheme } from "./styles.js";
|
|
2
2
|
import { TopBarProps } from "./types.js";
|
|
3
|
-
|
|
4
3
|
//#region src/components/TopBar/TopBar.d.ts
|
|
5
|
-
declare function TopBarContainerRight({
|
|
6
|
-
children,
|
|
7
|
-
theme
|
|
8
|
-
}: {
|
|
4
|
+
declare function TopBarContainerRight({ children, theme }: {
|
|
9
5
|
children: TopBarProps['children'];
|
|
10
6
|
theme?: TopBarTheme;
|
|
11
7
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function TopBarContainerLeft({
|
|
13
|
-
children,
|
|
14
|
-
theme
|
|
15
|
-
}: {
|
|
8
|
+
declare function TopBarContainerLeft({ children, theme }: {
|
|
16
9
|
children: TopBarProps['children'];
|
|
17
10
|
theme?: TopBarTheme;
|
|
18
11
|
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function TopBar({
|
|
20
|
-
children,
|
|
21
|
-
collapseBelow,
|
|
22
|
-
theme,
|
|
23
|
-
cssOverrides,
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function TopBar({ children, collapseBelow, theme, cssOverrides, className, ...props }: TopBarProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { TopBar, TopBarContainerLeft, TopBarContainerRight };
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { TopBarItemProps } from "./types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TopBar/TopBarItem/TopBarItem.d.ts
|
|
4
|
-
declare function TopBarItem({
|
|
5
|
-
children,
|
|
6
|
-
alignment,
|
|
7
|
-
theme,
|
|
8
|
-
cssOverrides,
|
|
9
|
-
className,
|
|
10
|
-
size,
|
|
11
|
-
_menuOpen,
|
|
12
|
-
...props
|
|
13
|
-
}: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TopBarItem({ children, alignment, theme, cssOverrides, className, size, _menuOpen, ...props }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
4
|
//#endregion
|
|
15
5
|
export { TopBarItem };
|
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
import { TopBarItemProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/TopBar/TopBarItem/TopBarItem.d.ts
|
|
4
|
-
declare function TopBarItem({
|
|
5
|
-
children,
|
|
6
|
-
alignment,
|
|
7
|
-
theme,
|
|
8
|
-
cssOverrides,
|
|
9
|
-
className,
|
|
10
|
-
size,
|
|
11
|
-
_menuOpen,
|
|
12
|
-
...props
|
|
13
|
-
}: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function TopBarItem({ children, alignment, theme, cssOverrides, className, size, _menuOpen, ...props }: TopBarItemProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
4
|
//#endregion
|
|
15
5
|
export { TopBarItem };
|