@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,13 +1,7 @@
|
|
|
1
1
|
import { DialogButtonsProps, DialogContentProps, DialogDismissProps, DialogHeaderProps, DialogProps, DialogTriggerProps, ModalProps } from "./types.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/Modal/Modal.d.ts
|
|
5
|
-
declare const Modal: ({
|
|
6
|
-
theme,
|
|
7
|
-
children,
|
|
8
|
-
cssOverrides,
|
|
9
|
-
...props
|
|
10
|
-
}: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const Modal: ({ theme, children, cssOverrides, ...props }: ModalProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
11
5
|
declare const DialogTrigger: (props: DialogTriggerProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
6
|
interface DialogCompound {
|
|
13
7
|
(props: DialogProps): React.ReactElement;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
|
|
5
4
|
//#region src/components/Modal/styles.d.ts
|
|
6
5
|
type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
7
6
|
type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
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
|
-
|
|
5
4
|
//#region src/components/Modal/styles.d.ts
|
|
6
5
|
type ModalTheme = Prettify<Pick<ComponentModal, 'modal' | 'overlay'>>;
|
|
7
6
|
type PartialModalTheme = Prettify<DeepPartial<ModalTheme>>;
|
|
@@ -3,7 +3,6 @@ import { IconButtonProps } from "../IconButton/types.cjs";
|
|
|
3
3
|
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
|
-
|
|
7
6
|
//#region src/components/Modal/types.d.ts
|
|
8
7
|
type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
9
8
|
type DialogProps$1 = DefaultProps<DialogTheme['container'], DialogProps['className']> & DialogProps;
|
|
@@ -3,7 +3,6 @@ import { IconButtonProps } from "../IconButton/types.js";
|
|
|
3
3
|
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
|
-
|
|
7
6
|
//#region src/components/Modal/types.d.ts
|
|
8
7
|
type ModalProps = DefaultProps<ModalTheme, ModalOverlayProps['className']> & ModalOverlayProps;
|
|
9
8
|
type DialogProps$1 = DefaultProps<DialogTheme['container'], DialogProps['className']> & DialogProps;
|
|
@@ -3,7 +3,7 @@ const require_mergeDeep = require("../../util/mergeDeep.cjs");
|
|
|
3
3
|
const require_Form = require("../Form/Form.cjs");
|
|
4
4
|
const require_styles = require("./styles.cjs");
|
|
5
5
|
let react = require("react");
|
|
6
|
-
react = require_runtime.__toESM(react);
|
|
6
|
+
react = require_runtime.__toESM(react, 1);
|
|
7
7
|
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
8
8
|
let react_aria_components = require("react-aria-components");
|
|
9
9
|
//#region src/components/RadioGroup/RadioGroup.tsx
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps } from "./types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
4
|
-
declare function RadioGroup({
|
|
5
|
-
|
|
6
|
-
orientation,
|
|
7
|
-
isInvalid,
|
|
8
|
-
theme,
|
|
9
|
-
children,
|
|
10
|
-
...props
|
|
11
|
-
}: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function Radio({
|
|
13
|
-
theme,
|
|
14
|
-
size,
|
|
15
|
-
children,
|
|
16
|
-
isInvalid,
|
|
17
|
-
...props
|
|
18
|
-
}: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
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;
|
|
19
5
|
//#endregion
|
|
20
6
|
export { Radio, RadioGroup };
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/RadioGroup/RadioGroup.d.ts
|
|
4
|
-
declare function RadioGroup({
|
|
5
|
-
|
|
6
|
-
orientation,
|
|
7
|
-
isInvalid,
|
|
8
|
-
theme,
|
|
9
|
-
children,
|
|
10
|
-
...props
|
|
11
|
-
}: RadioGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function Radio({
|
|
13
|
-
theme,
|
|
14
|
-
size,
|
|
15
|
-
children,
|
|
16
|
-
isInvalid,
|
|
17
|
-
...props
|
|
18
|
-
}: RadioProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
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;
|
|
19
5
|
//#endregion
|
|
20
6
|
export { Radio, RadioGroup };
|
|
@@ -12,8 +12,8 @@ const radioGroupStyles = (theme, { size, orientation }) => {
|
|
|
12
12
|
margin-bottom: ${theme.shared.marginBottom};
|
|
13
13
|
|
|
14
14
|
${orientation === "horizontal" && _emotion_react.css`
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
flex-direction: ${theme.shared.orientation.horizontal.flexDirection};
|
|
16
|
+
`}
|
|
17
17
|
`;
|
|
18
18
|
};
|
|
19
19
|
const radioStyles = (theme, { size, isInvalid }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentRadioGroup } from "../../styleD/build/typescript/component/radioGroup.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/RadioGroup/styles.d.ts
|
|
6
6
|
type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentRadioGroup } from "../../styleD/build/typescript/component/radioGroup.js";
|
|
3
|
+
import "./types.js";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/RadioGroup/styles.d.ts
|
|
6
6
|
type RadioGroupTheme = Prettify<ComponentRadioGroup>;
|
|
7
7
|
//#endregion
|
|
@@ -12,8 +12,8 @@ const radioGroupStyles = (theme, { size, orientation }) => {
|
|
|
12
12
|
margin-bottom: ${theme.shared.marginBottom};
|
|
13
13
|
|
|
14
14
|
${orientation === "horizontal" && css`
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
flex-direction: ${theme.shared.orientation.horizontal.flexDirection};
|
|
16
|
+
`}
|
|
17
17
|
`;
|
|
18
18
|
};
|
|
19
19
|
const radioStyles = (theme, { size, isInvalid }) => {
|
|
@@ -2,7 +2,6 @@ import { DefaultProps } from "../../util/types.cjs";
|
|
|
2
2
|
import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
3
3
|
import { RadioGroupTheme } from "./styles.cjs";
|
|
4
4
|
import { RadioGroupProps, RadioProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/RadioGroup/types.d.ts
|
|
7
6
|
type RadioGroupProps$1 = FormInputContainerDefaultProps<RadioGroupProps, RadioGroupTheme>;
|
|
8
7
|
interface RadioProps$1 extends DefaultProps<RadioGroupTheme, RadioProps['className']>, RadioProps {
|
|
@@ -2,7 +2,6 @@ import { DefaultProps } from "../../util/types.js";
|
|
|
2
2
|
import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
3
3
|
import { RadioGroupTheme } from "./styles.js";
|
|
4
4
|
import { RadioGroupProps, RadioProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/RadioGroup/types.d.ts
|
|
7
6
|
type RadioGroupProps$1 = FormInputContainerDefaultProps<RadioGroupProps, RadioGroupTheme>;
|
|
8
7
|
interface RadioProps$1 extends DefaultProps<RadioGroupTheme, RadioProps['className']>, RadioProps {
|
|
@@ -4,7 +4,7 @@ const require_Icon = require("../Icon/Icon.cjs");
|
|
|
4
4
|
const require_Form = require("../Form/Form.cjs");
|
|
5
5
|
const require_styles = require("./styles.cjs");
|
|
6
6
|
let react = require("react");
|
|
7
|
-
react = require_runtime.__toESM(react);
|
|
7
|
+
react = require_runtime.__toESM(react, 1);
|
|
8
8
|
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
9
9
|
let react_aria_components = require("react-aria-components");
|
|
10
10
|
//#region src/components/Select/Select.tsx
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/components/Select/Select.d.ts
|
|
4
|
-
declare function Option({
|
|
5
|
-
|
|
6
|
-
theme,
|
|
7
|
-
id,
|
|
8
|
-
...props
|
|
9
|
-
}: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function Select({
|
|
11
|
-
isInvalid,
|
|
12
|
-
theme,
|
|
13
|
-
placement,
|
|
14
|
-
shouldFlip,
|
|
15
|
-
children,
|
|
16
|
-
...props
|
|
17
|
-
}: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Select({ isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
5
|
//#endregion
|
|
19
6
|
export { Option, Select };
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
import { OptionProps, SelectProps } from "./types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/Select/Select.d.ts
|
|
4
|
-
declare function Option({
|
|
5
|
-
|
|
6
|
-
theme,
|
|
7
|
-
id,
|
|
8
|
-
...props
|
|
9
|
-
}: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function Select({
|
|
11
|
-
isInvalid,
|
|
12
|
-
theme,
|
|
13
|
-
placement,
|
|
14
|
-
shouldFlip,
|
|
15
|
-
children,
|
|
16
|
-
...props
|
|
17
|
-
}: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function Option({ children, theme, id, ...props }: OptionProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Select({ isInvalid, theme, placement, shouldFlip, children, ...props }: SelectProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
5
|
//#endregion
|
|
19
6
|
export { Option, Select };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.cjs";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/Select/styles.d.ts
|
|
6
5
|
type SelectTheme = Prettify<ComponentSelect>;
|
|
7
6
|
type PartialSelectTheme = Prettify<DeepPartial<SelectTheme>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentSelect } from "../../styleD/build/typescript/component/select.js";
|
|
3
3
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/Select/styles.d.ts
|
|
6
5
|
type SelectTheme = Prettify<ComponentSelect>;
|
|
7
6
|
type PartialSelectTheme = Prettify<DeepPartial<SelectTheme>>;
|
|
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
|
2
2
|
import { FormInputContainerDefaultProps } from "../Form/types.cjs";
|
|
3
3
|
import { SelectTheme } from "./styles.cjs";
|
|
4
4
|
import { ListBoxItemProps, PopoverProps, SelectProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/Select/types.d.ts
|
|
7
6
|
interface OptionProps extends DefaultPropsWithChildren<SelectTheme, ListBoxItemProps['className'], string>, Omit<ListBoxItemProps, 'children'> {}
|
|
8
7
|
type SelectProps$1 = FormInputContainerDefaultProps<SelectProps<object, 'single' | 'multiple'> & {
|
|
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
|
2
2
|
import { FormInputContainerDefaultProps } from "../Form/types.js";
|
|
3
3
|
import { SelectTheme } from "./styles.js";
|
|
4
4
|
import { ListBoxItemProps, PopoverProps, SelectProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/Select/types.d.ts
|
|
7
6
|
interface OptionProps extends DefaultPropsWithChildren<SelectTheme, ListBoxItemProps['className'], string>, Omit<ListBoxItemProps, 'children'> {}
|
|
8
7
|
type SelectProps$1 = FormInputContainerDefaultProps<SelectProps<object, 'single' | 'multiple'> & {
|
|
@@ -3,7 +3,7 @@ const require_mergeDeep = require("../../util/mergeDeep.cjs");
|
|
|
3
3
|
const require_Icon = require("../Icon/Icon.cjs");
|
|
4
4
|
const require_styles = require("./styles.cjs");
|
|
5
5
|
let react = require("react");
|
|
6
|
-
react = require_runtime.__toESM(react);
|
|
6
|
+
react = require_runtime.__toESM(react, 1);
|
|
7
7
|
let _emotion_react_jsx_runtime = require("@emotion/react/jsx-runtime");
|
|
8
8
|
let react_aria_components = require("react-aria-components");
|
|
9
9
|
//#region src/components/Tabs/Tabs.tsx
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TabListProps as TabListProps$1, TabPanelProps as TabPanelProps$1, TabPanelsProps as TabPanelsProps$1, TabProps as TabProps$1, TabsProps as TabsProps$1 } from "./types.cjs";
|
|
2
2
|
import { Tab, TabList, TabPanel, TabPanels, Tabs } from "react-aria-components";
|
|
3
3
|
import React from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/Tabs/Tabs.d.ts
|
|
6
5
|
interface TabsCompound {
|
|
7
6
|
(props: TabsProps$1): React.ReactElement<TabsProps$1, typeof Tabs>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TabListProps as TabListProps$1, TabPanelProps as TabPanelProps$1, TabPanelsProps as TabPanelsProps$1, TabProps as TabProps$1, TabsProps as TabsProps$1 } from "./types.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Tab, TabList, TabPanel, TabPanels, Tabs } from "react-aria-components";
|
|
4
|
-
|
|
5
4
|
//#region src/components/Tabs/Tabs.d.ts
|
|
6
5
|
interface TabsCompound {
|
|
7
6
|
(props: TabsProps$1): React.ReactElement<TabsProps$1, typeof Tabs>;
|
|
@@ -33,8 +33,8 @@ const tabStyles = (theme, { orientation, size, icon }) => {
|
|
|
33
33
|
padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
|
|
34
34
|
${theme.shared.padding.bottom} ${theme.shared.padding.left};
|
|
35
35
|
${hasIcon && _emotion_react.css`
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
padding-right: ${theme.shared.padding.withIcon.right};
|
|
37
|
+
`}
|
|
38
38
|
color: ${theme.shared.color};
|
|
39
39
|
${require_typography.convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
40
40
|
|
|
@@ -63,44 +63,44 @@ const tabStyles = (theme, { orientation, size, icon }) => {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
${orientation === "horizontal" && _emotion_react.css`
|
|
66
|
-
|
|
66
|
+
border-right: ${theme.shared.border};
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
&:first-child {
|
|
69
|
+
border-left: ${theme.shared.border};
|
|
70
|
+
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
72
|
+
&::after {
|
|
73
|
+
content: '';
|
|
74
|
+
position: absolute;
|
|
75
|
+
bottom: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
height: ${theme.shared.selected.border.size};
|
|
79
|
+
background: transparent;
|
|
80
|
+
}
|
|
81
|
+
`}
|
|
82
82
|
|
|
83
83
|
${orientation === "vertical" && _emotion_react.css`
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
border-bottom: ${theme.shared.border};
|
|
85
|
+
padding-right: ${theme.shared.padding.verticalRight};
|
|
86
|
+
${hasIcon && _emotion_react.css`
|
|
87
|
+
padding-right: ${theme.shared.padding.withIcon.verticalRight};
|
|
88
|
+
`}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
&:first-child {
|
|
91
|
+
border-top: ${theme.shared.border};
|
|
92
|
+
}
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
bottom: 0;
|
|
99
|
+
right: 0;
|
|
100
|
+
width: ${theme.shared.selected.border.size};
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
`}
|
|
104
104
|
`;
|
|
105
105
|
};
|
|
106
106
|
const defaultTabListTheme = require_tabs.componentTabs.tabList;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.cjs";
|
|
2
2
|
import { ComponentTabs } from "../../styleD/build/typescript/component/tabs.cjs";
|
|
3
|
+
import "./types.cjs";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/Tabs/styles.d.ts
|
|
6
6
|
type TabsTheme = Prettify<ComponentTabs['tabs']>;
|
|
7
7
|
type PartialTabsTheme = DeepPartial<TabsTheme>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeepPartial, Prettify } from "../../util/types.js";
|
|
2
2
|
import { ComponentTabs } from "../../styleD/build/typescript/component/tabs.js";
|
|
3
|
+
import "./types.js";
|
|
3
4
|
import { SerializedStyles } from "@emotion/react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/Tabs/styles.d.ts
|
|
6
6
|
type TabsTheme = Prettify<ComponentTabs['tabs']>;
|
|
7
7
|
type PartialTabsTheme = DeepPartial<TabsTheme>;
|
|
@@ -33,8 +33,8 @@ const tabStyles = (theme, { orientation, size, icon }) => {
|
|
|
33
33
|
padding: ${theme.shared.padding.top} ${theme.shared.padding.right}
|
|
34
34
|
${theme.shared.padding.bottom} ${theme.shared.padding.left};
|
|
35
35
|
${hasIcon && css`
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
padding-right: ${theme.shared.padding.withIcon.right};
|
|
37
|
+
`}
|
|
38
38
|
color: ${theme.shared.color};
|
|
39
39
|
${convertTypographyToEmotionStringStyle(theme[size].typography)}
|
|
40
40
|
|
|
@@ -63,44 +63,44 @@ const tabStyles = (theme, { orientation, size, icon }) => {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
${orientation === "horizontal" && css`
|
|
66
|
-
|
|
66
|
+
border-right: ${theme.shared.border};
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
&:first-child {
|
|
69
|
+
border-left: ${theme.shared.border};
|
|
70
|
+
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
72
|
+
&::after {
|
|
73
|
+
content: '';
|
|
74
|
+
position: absolute;
|
|
75
|
+
bottom: 0;
|
|
76
|
+
left: 0;
|
|
77
|
+
right: 0;
|
|
78
|
+
height: ${theme.shared.selected.border.size};
|
|
79
|
+
background: transparent;
|
|
80
|
+
}
|
|
81
|
+
`}
|
|
82
82
|
|
|
83
83
|
${orientation === "vertical" && css`
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
border-bottom: ${theme.shared.border};
|
|
85
|
+
padding-right: ${theme.shared.padding.verticalRight};
|
|
86
|
+
${hasIcon && css`
|
|
87
|
+
padding-right: ${theme.shared.padding.withIcon.verticalRight};
|
|
88
|
+
`}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
&:first-child {
|
|
91
|
+
border-top: ${theme.shared.border};
|
|
92
|
+
}
|
|
93
93
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
&::after {
|
|
95
|
+
content: '';
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 0;
|
|
98
|
+
bottom: 0;
|
|
99
|
+
right: 0;
|
|
100
|
+
width: ${theme.shared.selected.border.size};
|
|
101
|
+
background: transparent;
|
|
102
|
+
}
|
|
103
|
+
`}
|
|
104
104
|
`;
|
|
105
105
|
};
|
|
106
106
|
const defaultTabListTheme = componentTabs.tabList;
|
|
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.cjs";
|
|
|
2
2
|
import { IconProps } from "../Icon/types.cjs";
|
|
3
3
|
import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.cjs";
|
|
4
4
|
import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/Tabs/types.d.ts
|
|
7
6
|
interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
|
|
8
7
|
/**
|
|
@@ -2,7 +2,6 @@ import { DefaultPropsWithChildren } from "../../util/types.js";
|
|
|
2
2
|
import { IconProps } from "../Icon/types.js";
|
|
3
3
|
import { TabListTheme, TabPanelTheme, TabPanelsTheme, TabTheme, TabsTheme } from "./styles.js";
|
|
4
4
|
import { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps } from "react-aria-components";
|
|
5
|
-
|
|
6
5
|
//#region src/components/Tabs/types.d.ts
|
|
7
6
|
interface TabsProps$1 extends DefaultPropsWithChildren<TabsTheme, TabsProps['className']>, Omit<TabsProps, 'children'> {
|
|
8
7
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DeepPartial } from "../../util/types.cjs";
|
|
2
2
|
import { IconProps } from "../Icon/types.cjs";
|
|
3
|
+
import "../../Icon.cjs";
|
|
3
4
|
import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.cjs";
|
|
4
5
|
import { SerializedStyles } from "@emotion/react";
|
|
5
6
|
import { ReactElement, ReactNode } from "react";
|
|
6
|
-
|
|
7
7
|
//#region src/components/TagPicker/Autocomplete.d.ts
|
|
8
8
|
type AutocompleteOption = {
|
|
9
9
|
id: number | string;
|
|
@@ -125,22 +125,6 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
|
125
125
|
*
|
|
126
126
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
127
127
|
*/
|
|
128
|
-
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({
|
|
129
|
-
addSelection,
|
|
130
|
-
loading,
|
|
131
|
-
onTextInputChange,
|
|
132
|
-
options,
|
|
133
|
-
label,
|
|
134
|
-
placeholder,
|
|
135
|
-
disabled,
|
|
136
|
-
value,
|
|
137
|
-
'data-testid': dataTestId,
|
|
138
|
-
loadingIcon,
|
|
139
|
-
theme,
|
|
140
|
-
cssOverrides,
|
|
141
|
-
addFirstOnEnter,
|
|
142
|
-
symbol,
|
|
143
|
-
icon
|
|
144
|
-
}: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
128
|
+
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
145
129
|
//#endregion
|
|
146
|
-
export { Autocomplete };
|
|
130
|
+
export { Autocomplete, AutocompleteOption, AutocompleteProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DeepPartial } from "../../util/types.js";
|
|
2
2
|
import { IconProps } from "../Icon/types.js";
|
|
3
|
+
import "../../Icon.js";
|
|
3
4
|
import { ComponentAutocomplete } from "../../styleD/build/typescript/component/autocomplete.js";
|
|
4
5
|
import { ReactElement, ReactNode } from "react";
|
|
5
6
|
import { SerializedStyles } from "@emotion/react";
|
|
6
|
-
|
|
7
7
|
//#region src/components/TagPicker/Autocomplete.d.ts
|
|
8
8
|
type AutocompleteOption = {
|
|
9
9
|
id: number | string;
|
|
@@ -125,22 +125,6 @@ interface AutocompleteProps<T extends AutocompleteOption = AutocompleteOption> {
|
|
|
125
125
|
*
|
|
126
126
|
* This is currently still in testing phase, so a production implementation is not yet available.
|
|
127
127
|
*/
|
|
128
|
-
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({
|
|
129
|
-
addSelection,
|
|
130
|
-
loading,
|
|
131
|
-
onTextInputChange,
|
|
132
|
-
options,
|
|
133
|
-
label,
|
|
134
|
-
placeholder,
|
|
135
|
-
disabled,
|
|
136
|
-
value,
|
|
137
|
-
'data-testid': dataTestId,
|
|
138
|
-
loadingIcon,
|
|
139
|
-
theme,
|
|
140
|
-
cssOverrides,
|
|
141
|
-
addFirstOnEnter,
|
|
142
|
-
symbol,
|
|
143
|
-
icon
|
|
144
|
-
}: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
128
|
+
declare function Autocomplete<T extends AutocompleteOption = AutocompleteOption>({ addSelection, loading, onTextInputChange, options, label, placeholder, disabled, value, 'data-testid': dataTestId, loadingIcon, theme, cssOverrides, addFirstOnEnter, symbol, icon }: AutocompleteProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
145
129
|
//#endregion
|
|
146
|
-
export { Autocomplete };
|
|
130
|
+
export { Autocomplete, AutocompleteOption, AutocompleteProps };
|