@digdir/designsystemet-react 1.0.0-rc.2 → 1.0.0-rc.4
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/cjs/components/Accordion/Accordion.js +1 -3
- package/dist/cjs/components/Alert/Alert.js +1 -3
- package/dist/cjs/components/Box/Box.js +1 -4
- package/dist/cjs/components/Button/Button.js +1 -5
- package/dist/cjs/components/Card/Card.js +1 -3
- package/dist/cjs/components/Chip/Group/Group.js +1 -3
- package/dist/cjs/components/Chip/Removable/Removable.js +1 -3
- package/dist/cjs/components/Chip/Toggle/Toggle.js +1 -3
- package/dist/cjs/components/DropdownMenu/DropdownMenu.js +1 -3
- package/dist/cjs/components/DropdownMenu/DropdownMenuContent.js +1 -1
- package/dist/cjs/components/HelpText/HelpText.js +1 -3
- package/dist/cjs/components/Link/Link.js +2 -2
- package/dist/cjs/components/List/ListRoot.js +1 -3
- package/dist/cjs/components/Pagination/Pagination.js +1 -3
- package/dist/cjs/components/Pagination/PaginationRoot.js +1 -3
- package/dist/cjs/components/Popover/Popover.js +1 -3
- package/dist/cjs/components/Popover/PopoverContent.js +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +2 -6
- package/dist/cjs/components/Table/Table.js +1 -3
- package/dist/cjs/components/Tabs/Tabs.js +1 -3
- package/dist/cjs/components/Tag/Tag.js +1 -5
- package/dist/cjs/components/ToggleGroup/ToggleGroup.js +1 -3
- package/dist/cjs/components/Tooltip/Tooltip.js +3 -3
- package/dist/cjs/components/Typography/ErrorMessage/ErrorMessage.js +1 -3
- package/dist/cjs/components/Typography/Heading/Heading.js +1 -3
- package/dist/cjs/components/Typography/Ingress/Ingress.js +1 -3
- package/dist/cjs/components/Typography/Label/Label.js +1 -3
- package/dist/cjs/components/Typography/Paragraph/Paragraph.js +1 -3
- package/dist/cjs/components/form/Checkbox/Checkbox.js +1 -1
- package/dist/cjs/components/form/Combobox/Combobox.js +1 -3
- package/dist/cjs/components/form/Combobox/useFloatingCombobox.js +1 -1
- package/dist/cjs/components/form/Fieldset/Fieldset.js +1 -1
- package/dist/cjs/components/form/NativeSelect/NativeSelect.js +1 -1
- package/dist/cjs/components/form/NativeSelect/useNativeSelect.js +1 -3
- package/dist/cjs/components/form/Radio/Radio.js +1 -1
- package/dist/cjs/components/form/Search/useSearch.js +1 -3
- package/dist/cjs/components/form/Switch/Switch.js +1 -1
- package/dist/cjs/components/form/Textarea/Textarea.js +1 -1
- package/dist/cjs/components/form/Textarea/useTextarea.js +1 -3
- package/dist/cjs/components/form/Textfield/Textfield.js +1 -1
- package/dist/cjs/components/form/Textfield/useTextfield.js +1 -3
- package/dist/cjs/components/form/useFormField.js +4 -3
- package/dist/cjs/node_modules/@floating-ui/react/dist/floating-ui.react.js +1 -1
- package/dist/cjs/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
- package/dist/cjs/node_modules/@floating-ui/{dom → react-dom/node_modules/@floating-ui/dom}/dist/floating-ui.dom.js +3 -3
- package/dist/esm/components/Accordion/Accordion.js +1 -3
- package/dist/esm/components/Alert/Alert.js +1 -3
- package/dist/esm/components/Box/Box.js +1 -4
- package/dist/esm/components/Button/Button.js +1 -5
- package/dist/esm/components/Card/Card.js +1 -3
- package/dist/esm/components/Chip/Group/Group.js +1 -3
- package/dist/esm/components/Chip/Removable/Removable.js +1 -3
- package/dist/esm/components/Chip/Toggle/Toggle.js +1 -3
- package/dist/esm/components/DropdownMenu/DropdownMenu.js +1 -3
- package/dist/esm/components/DropdownMenu/DropdownMenuContent.js +1 -1
- package/dist/esm/components/HelpText/HelpText.js +1 -3
- package/dist/esm/components/Link/Link.js +2 -2
- package/dist/esm/components/List/ListRoot.js +1 -3
- package/dist/esm/components/Pagination/Pagination.js +1 -3
- package/dist/esm/components/Pagination/PaginationRoot.js +1 -3
- package/dist/esm/components/Popover/Popover.js +1 -3
- package/dist/esm/components/Popover/PopoverContent.js +1 -1
- package/dist/esm/components/Spinner/Spinner.js +2 -6
- package/dist/esm/components/Table/Table.js +1 -3
- package/dist/esm/components/Tabs/Tabs.js +1 -3
- package/dist/esm/components/Tag/Tag.js +1 -5
- package/dist/esm/components/ToggleGroup/ToggleGroup.js +1 -3
- package/dist/esm/components/Tooltip/Tooltip.js +3 -3
- package/dist/esm/components/Typography/ErrorMessage/ErrorMessage.js +1 -3
- package/dist/esm/components/Typography/Heading/Heading.js +1 -3
- package/dist/esm/components/Typography/Ingress/Ingress.js +1 -3
- package/dist/esm/components/Typography/Label/Label.js +1 -3
- package/dist/esm/components/Typography/Paragraph/Paragraph.js +1 -3
- package/dist/esm/components/form/Checkbox/Checkbox.js +1 -1
- package/dist/esm/components/form/Combobox/Combobox.js +1 -3
- package/dist/esm/components/form/Combobox/useFloatingCombobox.js +1 -1
- package/dist/esm/components/form/Fieldset/Fieldset.js +1 -1
- package/dist/esm/components/form/NativeSelect/NativeSelect.js +1 -1
- package/dist/esm/components/form/NativeSelect/useNativeSelect.js +1 -3
- package/dist/esm/components/form/Radio/Radio.js +1 -1
- package/dist/esm/components/form/Search/useSearch.js +1 -3
- package/dist/esm/components/form/Switch/Switch.js +1 -1
- package/dist/esm/components/form/Textarea/Textarea.js +1 -1
- package/dist/esm/components/form/Textarea/useTextarea.js +1 -3
- package/dist/esm/components/form/Textfield/Textfield.js +1 -1
- package/dist/esm/components/form/Textfield/useTextfield.js +1 -3
- package/dist/esm/components/form/useFormField.js +4 -3
- package/dist/esm/node_modules/@floating-ui/react/dist/floating-ui.react.js +2 -2
- package/dist/esm/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +2 -2
- package/dist/esm/node_modules/@floating-ui/{dom → react-dom/node_modules/@floating-ui/dom}/dist/floating-ui.dom.js +4 -4
- package/dist/types/components/Accordion/Accordion.d.ts +8 -6
- package/dist/types/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts +2 -7
- package/dist/types/components/Alert/Alert.d.ts.map +1 -1
- package/dist/types/components/Box/Box.d.ts +4 -7
- package/dist/types/components/Box/Box.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +4 -11
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Card/Card.d.ts +2 -12
- package/dist/types/components/Card/Card.d.ts.map +1 -1
- package/dist/types/components/Chip/Group/Group.d.ts +1 -5
- package/dist/types/components/Chip/Group/Group.d.ts.map +1 -1
- package/dist/types/components/Chip/Removable/Removable.d.ts +0 -2
- package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
- package/dist/types/components/Chip/Toggle/Toggle.d.ts +0 -2
- package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +2 -4
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +2 -2
- package/dist/types/components/HelpText/HelpText.d.ts +1 -2
- package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +0 -10
- package/dist/types/components/Link/Link.d.ts.map +1 -1
- package/dist/types/components/List/ListHeading.d.ts +1 -1
- package/dist/types/components/List/ListRoot.d.ts +2 -5
- package/dist/types/components/List/ListRoot.d.ts.map +1 -1
- package/dist/types/components/Modal/ModalTrigger.d.ts +2 -2
- package/dist/types/components/Pagination/Pagination.d.ts +2 -6
- package/dist/types/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/types/components/Pagination/PaginationRoot.d.ts +0 -2
- package/dist/types/components/Pagination/PaginationRoot.d.ts.map +1 -1
- package/dist/types/components/Popover/Popover.d.ts +2 -5
- package/dist/types/components/Popover/Popover.d.ts.map +1 -1
- package/dist/types/components/Popover/PopoverTrigger.d.ts +2 -2
- package/dist/types/components/Spinner/Spinner.d.ts +4 -8
- package/dist/types/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/types/components/Table/Table.d.ts +2 -6
- package/dist/types/components/Table/Table.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts +2 -6
- package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/components/Tag/Tag.d.ts +3 -6
- package/dist/types/components/Tag/Tag.d.ts.map +1 -1
- package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +0 -2
- package/dist/types/components/ToggleGroup/ToggleGroup.d.ts.map +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +3 -24
- package/dist/types/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts +2 -6
- package/dist/types/components/Typography/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/dist/types/components/Typography/Heading/Heading.d.ts +2 -6
- package/dist/types/components/Typography/Heading/Heading.d.ts.map +1 -1
- package/dist/types/components/Typography/Ingress/Ingress.d.ts +2 -6
- package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
- package/dist/types/components/Typography/Label/Label.d.ts +2 -5
- package/dist/types/components/Typography/Label/Label.d.ts.map +1 -1
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts +2 -6
- package/dist/types/components/Typography/Paragraph/Paragraph.d.ts.map +1 -1
- package/dist/types/components/form/Combobox/Combobox.d.ts +2 -2
- package/dist/types/components/form/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/form/Fieldset/useFieldset.d.ts +1 -1
- package/dist/types/components/form/NativeSelect/NativeSelect.d.ts +2 -6
- package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +1 -1
- package/dist/types/components/form/NativeSelect/useNativeSelect.d.ts.map +1 -1
- package/dist/types/components/form/Search/Search.d.ts +2 -6
- package/dist/types/components/form/Search/Search.d.ts.map +1 -1
- package/dist/types/components/form/Search/useSearch.d.ts.map +1 -1
- package/dist/types/components/form/Switch/Switch.d.ts.map +1 -1
- package/dist/types/components/form/Textarea/Textarea.d.ts +1 -1
- package/dist/types/components/form/Textarea/useTextarea.d.ts.map +1 -1
- package/dist/types/components/form/Textfield/Textfield.d.ts +2 -6
- package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
- package/dist/types/components/form/Textfield/useTextfield.d.ts.map +1 -1
- package/dist/types/components/form/useFormField.d.ts +1 -4
- package/dist/types/components/form/useFormField.d.ts.map +1 -1
- package/dist/types/utilities/index.d.ts +0 -2
- package/dist/types/utilities/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/utilities/getColor.js +0 -27
- package/dist/cjs/utilities/getSize.js +0 -33
- package/dist/esm/utilities/getColor.js +0 -25
- package/dist/esm/utilities/getSize.js +0 -31
- package/dist/types/utilities/getColor.d.ts +0 -2
- package/dist/types/utilities/getColor.d.ts.map +0 -1
- package/dist/types/utilities/getSize.d.ts +0 -2
- package/dist/types/utilities/getSize.d.ts.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import type { Placement } from '@floating-ui/react';
|
|
3
3
|
import type { PortalProps } from '../../types/Portal';
|
|
4
|
-
type OldDropdownMenuSizes = 'small' | 'medium' | 'large';
|
|
5
4
|
export type DropdownMenuProps = {
|
|
6
5
|
/** Whether the dropdown is open or not.
|
|
7
6
|
* @default false
|
|
@@ -16,13 +15,12 @@ export type DropdownMenuProps = {
|
|
|
16
15
|
/**
|
|
17
16
|
* The size of the dropdown
|
|
18
17
|
* @default md
|
|
19
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
20
18
|
**/
|
|
21
|
-
size?: 'sm' | 'md' | 'lg'
|
|
19
|
+
size?: 'sm' | 'md' | 'lg';
|
|
22
20
|
children: React.ReactNode;
|
|
23
21
|
} & PortalProps;
|
|
24
22
|
export declare const DropdownMenu: {
|
|
25
|
-
({ open, onClose, placement, portal, children,
|
|
23
|
+
({ open, onClose, placement, portal, size, children, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
26
24
|
displayName: string;
|
|
27
25
|
};
|
|
28
26
|
type DropdownMenuContextType = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"DropdownMenu.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownMenu/DropdownMenu.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;QAGI;IACJ,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,YAAY;4DAOtB,iBAAiB;;CA4BnB,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IACrC,IAAI,EAAE,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC3C,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,mBAAmB,wCAM9B,CAAC"}
|
|
@@ -3,8 +3,8 @@ import { Button } from '../Button';
|
|
|
3
3
|
export type DropdownMenuTriggerProps = React.ComponentPropsWithRef<typeof Button>;
|
|
4
4
|
export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<{
|
|
5
5
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
6
|
-
color?: "accent" | "neutral" |
|
|
7
|
-
size?: "sm" | "md" | "lg" |
|
|
6
|
+
color?: "accent" | "neutral" | "danger" | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
9
|
icon?: boolean | undefined;
|
|
10
10
|
asChild?: boolean | undefined;
|
|
@@ -10,7 +10,6 @@ export type HelpTextProps = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Size of the helptext
|
|
12
12
|
* @default md
|
|
13
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
14
13
|
*/
|
|
15
14
|
size?: PopoverProps['size'];
|
|
16
15
|
/**
|
|
@@ -20,7 +19,7 @@ export type HelpTextProps = {
|
|
|
20
19
|
placement?: Placement;
|
|
21
20
|
} & PortalProps & ButtonHTMLAttributes<HTMLButtonElement>;
|
|
22
21
|
declare const HelpText: {
|
|
23
|
-
({ title, placement, portal, className, children, ...rest }: HelpTextProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
({ title, placement, portal, size, className, children, ...rest }: HelpTextProps): import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
displayName: string;
|
|
25
24
|
};
|
|
26
25
|
export { HelpText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAItD,MAAM,MAAM,aAAa,GAAG;IAC1B;;QAEI;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,WAAW,GACb,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;uEAQX,aAAa;;CAkDf,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -4,11 +4,6 @@ export type LinkProps = {
|
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** Custom class name for the link. This will be appended to the design system class names. */
|
|
6
6
|
className?: string;
|
|
7
|
-
/**
|
|
8
|
-
* Inverts the color of the link. Use this on dark backgrounds.
|
|
9
|
-
* @deprecated Use `data-ds-theme="dark"` instead.
|
|
10
|
-
*/
|
|
11
|
-
inverted?: boolean;
|
|
12
7
|
/** The URL that the link points to. This can also be an email address (starting with `mailto:`) or a phone number (staring with `tel:`). */
|
|
13
8
|
href?: string;
|
|
14
9
|
/**
|
|
@@ -22,11 +17,6 @@ export declare const Link: import("react").ForwardRefExoticComponent<{
|
|
|
22
17
|
children: ReactNode;
|
|
23
18
|
/** Custom class name for the link. This will be appended to the design system class names. */
|
|
24
19
|
className?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* Inverts the color of the link. Use this on dark backgrounds.
|
|
27
|
-
* @deprecated Use `data-ds-theme="dark"` instead.
|
|
28
|
-
*/
|
|
29
|
-
inverted?: boolean | undefined;
|
|
30
20
|
/** The URL that the link points to. This can also be an email address (starting with `mailto:`) or a phone number (staring with `tel:`). */
|
|
31
21
|
href?: string | undefined;
|
|
32
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7D,MAAM,MAAM,SAAS,GAAG;IACtB,8CAA8C;IAC9C,QAAQ,EAAE,SAAS,CAAC;IAEpB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB
|
|
1
|
+
{"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/components/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7D,MAAM,MAAM,SAAS,GAAG;IACtB,8CAA8C;IAC9C,QAAQ,EAAE,SAAS,CAAC;IAEpB,8FAA8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,4IAA4I;IAC5I,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,IAAI;IAff,8CAA8C;cACpC,SAAS;IAEnB,8FAA8F;;IAG9F,4IAA4I;;IAE5I;;;OAGG;;+FAkBJ,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type HeadingProps } from '../Typography';
|
|
|
2
2
|
export type ListHeadingProps = HeadingProps;
|
|
3
3
|
export declare const ListHeading: import("react").ForwardRefExoticComponent<{
|
|
4
4
|
level?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xs" | "2xs" | "xl" | "2xl" | undefined;
|
|
6
6
|
spacing?: boolean | undefined;
|
|
7
7
|
asChild?: boolean | undefined;
|
|
8
8
|
} & import("react").HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
@@ -4,16 +4,14 @@ export type ListContextType = {
|
|
|
4
4
|
headingId?: string;
|
|
5
5
|
setHeadingId: (id: string) => void;
|
|
6
6
|
};
|
|
7
|
-
export type OldListSizes = 'small' | 'medium' | 'large';
|
|
8
7
|
export declare const ListContext: import("react").Context<ListContextType>;
|
|
9
8
|
export type ListProps = {
|
|
10
9
|
/**
|
|
11
10
|
* Changes text sizing
|
|
12
11
|
* @default md
|
|
13
12
|
*
|
|
14
|
-
* @note `small`, `medium` and `large` are deprecated
|
|
15
13
|
*/
|
|
16
|
-
size?: ListContextType['size']
|
|
14
|
+
size?: ListContextType['size'];
|
|
17
15
|
/**
|
|
18
16
|
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
19
17
|
* @default false
|
|
@@ -25,9 +23,8 @@ export declare const ListRoot: import("react").ForwardRefExoticComponent<{
|
|
|
25
23
|
* Changes text sizing
|
|
26
24
|
* @default md
|
|
27
25
|
*
|
|
28
|
-
* @note `small`, `medium` and `large` are deprecated
|
|
29
26
|
*/
|
|
30
|
-
size?: "sm" | "md" | "lg" |
|
|
27
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
31
28
|
/**
|
|
32
29
|
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
33
30
|
* @default false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/List/ListRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ListRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/List/ListRoot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,0CAItB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ;IAbnB;;;;OAIG;;IAEH;;;OAGG;;mFAkBJ,CAAC"}
|
|
@@ -3,8 +3,8 @@ import { Button } from '../Button';
|
|
|
3
3
|
export type ModalTriggerProps = React.ComponentPropsWithRef<typeof Button>;
|
|
4
4
|
export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<{
|
|
5
5
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
6
|
-
color?: "accent" | "neutral" |
|
|
7
|
-
size?: "sm" | "md" | "lg" |
|
|
6
|
+
color?: "accent" | "neutral" | "danger" | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
9
|
icon?: boolean | undefined;
|
|
10
10
|
asChild?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
type OldPaginationSizes = 'small' | 'medium' | 'large';
|
|
3
2
|
export type PaginationProps = {
|
|
4
3
|
/** Sets the text label for the next page button */
|
|
5
4
|
nextLabel: string;
|
|
@@ -7,9 +6,8 @@ export type PaginationProps = {
|
|
|
7
6
|
previousLabel: string;
|
|
8
7
|
/** Sets the size of the component
|
|
9
8
|
* @default md
|
|
10
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
11
9
|
*/
|
|
12
|
-
size?: 'sm' | 'md' | 'lg'
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
13
11
|
/** Sets how compact the component will be. If true, only 5 steps will show. */
|
|
14
12
|
compact?: boolean;
|
|
15
13
|
/** Hides the component's previous and next button labels */
|
|
@@ -32,9 +30,8 @@ export declare const Pagination: React.ForwardRefExoticComponent<{
|
|
|
32
30
|
previousLabel: string;
|
|
33
31
|
/** Sets the size of the component
|
|
34
32
|
* @default md
|
|
35
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
36
33
|
*/
|
|
37
|
-
size?: "sm" | "md" | "lg" |
|
|
34
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
38
35
|
/** Sets how compact the component will be. If true, only 5 steps will show. */
|
|
39
36
|
compact?: boolean | undefined;
|
|
40
37
|
/** Hides the component's previous and next button labels */
|
|
@@ -50,5 +47,4 @@ export declare const Pagination: React.ForwardRefExoticComponent<{
|
|
|
50
47
|
/** `aria-label` for pagination item */
|
|
51
48
|
itemLabel?: ((currentPage: number) => string) | undefined;
|
|
52
49
|
} & Omit<React.HTMLAttributes<HTMLElement>, "onChange"> & React.RefAttributes<HTMLElement>>;
|
|
53
|
-
export {};
|
|
54
50
|
//# sourceMappingURL=Pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAYpC,MAAM,MAAM,eAAe,GAAG;IAC5B,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,QAAQ,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,uCAAuC;IACvC,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,MAAM,CAAC;CAC7C,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,CAAC;AAQxD,eAAO,MAAM,UAAU;IA9BrB,mDAAmD;eACxC,MAAM;IACjB,uDAAuD;mBACxC,MAAM;IACrB;;OAEG;;IAEH,+EAA+E;;IAE/E,4DAA4D;;IAE5D;;OAEG;iBACU,MAAM;IACnB,4BAA4B;gBAChB,MAAM;IAClB,4DAA4D;4BACpC,MAAM,KAAK,IAAI;IACvC,uCAAuC;+BACb,MAAM,KAAK,MAAM;2FA4F5C,CAAC"}
|
|
@@ -9,7 +9,6 @@ export type PaginationRootProps = {
|
|
|
9
9
|
/**
|
|
10
10
|
* Sets the size of the component
|
|
11
11
|
* @default md
|
|
12
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
13
12
|
*/
|
|
14
13
|
size?: PaginationProps['size'];
|
|
15
14
|
/**
|
|
@@ -27,7 +26,6 @@ export declare const PaginationRoot: import("react").ForwardRefExoticComponent<{
|
|
|
27
26
|
/**
|
|
28
27
|
* Sets the size of the component
|
|
29
28
|
* @default md
|
|
30
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
31
29
|
*/
|
|
32
30
|
size?: PaginationProps['size'];
|
|
33
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PaginationRoot.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/PaginationRoot.tsx"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,WAAW,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC/C,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iDAG5B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,cAAc;IAjBzB;;;OAGG;WACI,eAAe,CAAC,MAAM,CAAC;IAC9B;;;OAGG;;IAEH;;;OAGG;;6EAkBJ,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { Placement } from '@floating-ui/react';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import type { PortalProps } from '../../types/Portal';
|
|
4
|
-
type OldPopoverSizes = 'small' | 'medium' | 'large';
|
|
5
4
|
export type PopoverProps = {
|
|
6
5
|
/**
|
|
7
6
|
* Placement of the tooltip on the trigger.
|
|
@@ -21,9 +20,8 @@ export type PopoverProps = {
|
|
|
21
20
|
/**
|
|
22
21
|
* Size of the popover
|
|
23
22
|
* @default md
|
|
24
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
25
23
|
*/
|
|
26
|
-
size?: 'sm' | 'md' | 'lg'
|
|
24
|
+
size?: 'sm' | 'md' | 'lg';
|
|
27
25
|
/** Callback function when popover changes open state */
|
|
28
26
|
onOpenChange?: (open: boolean) => void;
|
|
29
27
|
/**
|
|
@@ -33,7 +31,7 @@ export type PopoverProps = {
|
|
|
33
31
|
children: React.ReactNode;
|
|
34
32
|
} & PortalProps;
|
|
35
33
|
export declare const Popover: {
|
|
36
|
-
({ children, placement, open, variant, portal, onOpenChange, onClose,
|
|
34
|
+
({ children, placement, open, variant, portal, size, onOpenChange, onClose, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
37
35
|
displayName: string;
|
|
38
36
|
};
|
|
39
37
|
export declare const PopoverContext: React.Context<{
|
|
@@ -53,5 +51,4 @@ export declare const PopoverContext: React.Context<{
|
|
|
53
51
|
setTriggerId?: ((id: string) => void) | undefined;
|
|
54
52
|
setInternalOpen: (open: boolean) => void;
|
|
55
53
|
}>;
|
|
56
|
-
export {};
|
|
57
54
|
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,wDAAwD;IACxD,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,OAAO;mFASjB,YAAY;;CAyCd,CAAC;AAEF,eAAO,MAAM,cAAc;gBACb,MAAM,SAAS,CAAC,OAAO,CAAC;cAC1B,OAAO,GAAG,IAAI;;;;;kBAKV,OAAO;UACf,YAAY,YAAY,CAAC,MAAM,CAAC,CAAC;aAC9B,YAAY,YAAY,CAAC,SAAS,CAAC,CAAC;eAClC,SAAS;mBACL,YAAY,CAAC,cAAc,CAAC;cACjC,YAAY,CAAC,SAAS,CAAC;yBACb,MAAM,KAAK,IAAI;yBACf,MAAM,KAAK,IAAI;4BACX,OAAO,KAAK,IAAI;EASxC,CAAC"}
|
|
@@ -3,8 +3,8 @@ import { Button } from '../Button';
|
|
|
3
3
|
export type PopoverTriggerProps = React.ComponentPropsWithRef<typeof Button>;
|
|
4
4
|
export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<{
|
|
5
5
|
variant?: "primary" | "secondary" | "tertiary" | undefined;
|
|
6
|
-
color?: "accent" | "neutral" |
|
|
7
|
-
size?: "sm" | "md" | "lg" |
|
|
6
|
+
color?: "accent" | "neutral" | "danger" | undefined;
|
|
7
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
8
8
|
fullWidth?: boolean | undefined;
|
|
9
9
|
icon?: boolean | undefined;
|
|
10
10
|
asChild?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
type OldSpinnerSizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
2
|
export type SpinnerProps = {
|
|
4
3
|
/** Spinner title */
|
|
5
4
|
title: string;
|
|
@@ -7,20 +6,17 @@ export type SpinnerProps = {
|
|
|
7
6
|
* Spinner size
|
|
8
7
|
*
|
|
9
8
|
* @default md
|
|
10
|
-
* @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge` is deprecated
|
|
11
9
|
*/
|
|
12
|
-
size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'
|
|
10
|
+
size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
13
11
|
/**
|
|
14
12
|
* Spinner appearance
|
|
15
|
-
* @default
|
|
16
|
-
* @note `inverted` is deprecated
|
|
13
|
+
* @default neutral
|
|
17
14
|
*/
|
|
18
|
-
|
|
15
|
+
color?: 'neutral' | 'accent';
|
|
19
16
|
} & React.ComponentPropsWithoutRef<'svg'>;
|
|
20
17
|
/** Spinner component used for indicating busy or indeterminate loading */
|
|
21
18
|
export declare const Spinner: {
|
|
22
|
-
({ title,
|
|
19
|
+
({ title, color, size, className, style, ...rest }: SpinnerProps): JSX.Element;
|
|
23
20
|
displayName: string;
|
|
24
21
|
};
|
|
25
|
-
export {};
|
|
26
22
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAgBpC,MAAM,MAAM,YAAY,GAAG;IACzB,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChD;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC9B,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,eAAO,MAAM,OAAO;wDAOjB,YAAY,GAAG,WAAW;;CAqC5B,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type OldTableSizes = 'small' | 'medium' | 'large';
|
|
3
2
|
export type TableProps = {
|
|
4
3
|
/**
|
|
5
4
|
* The size of the table
|
|
6
5
|
* @default md
|
|
7
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
8
6
|
*/
|
|
9
|
-
size?: 'sm' | 'md' | 'lg'
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
8
|
/**
|
|
11
9
|
* If true, the table will have zebra striping
|
|
12
10
|
* @default false
|
|
@@ -27,9 +25,8 @@ export declare const Table: React.ForwardRefExoticComponent<{
|
|
|
27
25
|
/**
|
|
28
26
|
* The size of the table
|
|
29
27
|
* @default md
|
|
30
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
31
28
|
*/
|
|
32
|
-
size?: "sm" | "md" | "lg" |
|
|
29
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
33
30
|
/**
|
|
34
31
|
* If true, the table will have zebra striping
|
|
35
32
|
* @default false
|
|
@@ -46,5 +43,4 @@ export declare const Table: React.ForwardRefExoticComponent<{
|
|
|
46
43
|
*/
|
|
47
44
|
border?: boolean | undefined;
|
|
48
45
|
} & Omit<React.TableHTMLAttributes<HTMLTableElement>, "border"> & React.RefAttributes<HTMLTableElement>>;
|
|
49
|
-
export {};
|
|
50
46
|
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,UAAU,GAAG;IACvB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAC;AAEhE,eAAO,MAAM,KAAK;IAtBhB;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;IAEH;;;OAGG;;wGAuCJ,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
type OldTabSize = 'small' | 'medium' | 'large';
|
|
3
2
|
export type TabsProps = {
|
|
4
3
|
/** Controlled state for `Tabs` component. */
|
|
5
4
|
value?: string;
|
|
@@ -10,9 +9,8 @@ export type TabsProps = {
|
|
|
10
9
|
/**
|
|
11
10
|
* Changes items size and paddings
|
|
12
11
|
* @default md
|
|
13
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
14
12
|
*/
|
|
15
|
-
size?: 'sm' | 'md' | 'lg'
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
16
14
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'value'>;
|
|
17
15
|
/** `Tabs` component.
|
|
18
16
|
* @example
|
|
@@ -45,9 +43,7 @@ export declare const Tabs: import("react").ForwardRefExoticComponent<{
|
|
|
45
43
|
/**
|
|
46
44
|
* Changes items size and paddings
|
|
47
45
|
* @default md
|
|
48
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
49
46
|
*/
|
|
50
|
-
size?: "sm" | "md" | "lg" |
|
|
47
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
51
48
|
} & Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
52
|
-
export {};
|
|
53
49
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,SAAS,GAAG;IACtB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/D;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,WAAW,2CAAsC,CAAC;AAE/D,eAAO,MAAM,IAAI;IApCf,6CAA6C;;IAE7C,qBAAqB;;IAErB,+CAA+C;wBAC5B,MAAM,KAAK,IAAI;IAClC;;;OAGG;;+GAuEJ,CAAC"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
import type { ParagraphProps } from '../Typography';
|
|
3
|
-
type Size = Exclude<ParagraphProps['size'], '
|
|
4
|
-
type OldColors = 'first' | 'second' | 'third';
|
|
3
|
+
type Size = Exclude<ParagraphProps['size'], 'xs'>;
|
|
5
4
|
export type TagProps = {
|
|
6
5
|
/** Color of the tag
|
|
7
6
|
* @default neutral
|
|
8
7
|
*/
|
|
9
|
-
color?: 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'brand1' | 'brand2' | 'brand3'
|
|
8
|
+
color?: 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'brand1' | 'brand2' | 'brand3';
|
|
10
9
|
/**
|
|
11
10
|
* Size of the tag
|
|
12
11
|
* @default md
|
|
13
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
14
12
|
*/
|
|
15
13
|
size?: Size;
|
|
16
14
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
@@ -18,11 +16,10 @@ export declare const Tag: import("react").ForwardRefExoticComponent<{
|
|
|
18
16
|
/** Color of the tag
|
|
19
17
|
* @default neutral
|
|
20
18
|
*/
|
|
21
|
-
color?: "neutral" | "
|
|
19
|
+
color?: "neutral" | "danger" | "info" | "warning" | "brand1" | "brand2" | "brand3" | "success" | undefined;
|
|
22
20
|
/**
|
|
23
21
|
* Size of the tag
|
|
24
22
|
* @default md
|
|
25
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
26
23
|
*/
|
|
27
24
|
size?: Size;
|
|
28
25
|
} & HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGpD,KAAK,IAAI,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC,eAAO,MAAM,GAAG;IAnBd;;OAEG;;IAUH;;;OAGG;WACI,IAAI;qFAyBZ,CAAC"}
|
|
@@ -20,7 +20,6 @@ export type ToggleGroupProps = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Changes items size and paddings
|
|
22
22
|
* @default md
|
|
23
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
24
23
|
*/
|
|
25
24
|
size?: ToggleGroupContextProps['size'];
|
|
26
25
|
} & Omit<HTMLAttributes<HTMLDivElement>, 'value' | 'onChange'>;
|
|
@@ -46,7 +45,6 @@ export declare const ToggleGroup: import("react").ForwardRefExoticComponent<{
|
|
|
46
45
|
/**
|
|
47
46
|
* Changes items size and paddings
|
|
48
47
|
* @default md
|
|
49
|
-
* @note `small`, `medium`, `large` is deprecated
|
|
50
48
|
*/
|
|
51
49
|
size?: ToggleGroupContextProps['size'];
|
|
52
50
|
} & Omit<HTMLAttributes<HTMLDivElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ToggleGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/ToggleGroup/ToggleGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAE7C,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,kDAA6C,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;CACxC,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAE/D;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW;IAzBtB,oDAAoD;;IAEpD,qBAAqB;;IAErB,uDAAuD;wBACpC,MAAM,KAAK,IAAI;IAClC,wBAAwB;;IAExB;;;OAGG;WACI,uBAAuB,CAAC,MAAM,CAAC;+GA+EvC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
import type { PortalProps } from '../../types/Portal';
|
|
3
4
|
export type TooltipProps = {
|
|
4
5
|
/**
|
|
5
6
|
* The element that triggers the tooltip.
|
|
@@ -23,18 +24,7 @@ export type TooltipProps = {
|
|
|
23
24
|
open?: boolean;
|
|
24
25
|
/** Whether the tooltip is open by default or not. */
|
|
25
26
|
defaultOpen?: boolean;
|
|
26
|
-
|
|
27
|
-
* Inverts the color of the tooltip. Use this on dark backgrounds.
|
|
28
|
-
* @deprecated Use the `data-ds-theme` attribute instead.
|
|
29
|
-
*/
|
|
30
|
-
inverted?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* Portals the floating element outside of the app root and into the body.
|
|
33
|
-
* @see https://floating-ui.com/docs/floatingportal
|
|
34
|
-
* @default true
|
|
35
|
-
*/
|
|
36
|
-
portal?: boolean;
|
|
37
|
-
} & HTMLAttributes<HTMLDivElement>;
|
|
27
|
+
} & HTMLAttributes<HTMLDivElement> & PortalProps;
|
|
38
28
|
export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
39
29
|
/**
|
|
40
30
|
* The element that triggers the tooltip.
|
|
@@ -58,16 +48,5 @@ export declare const Tooltip: React.ForwardRefExoticComponent<{
|
|
|
58
48
|
open?: boolean | undefined;
|
|
59
49
|
/** Whether the tooltip is open by default or not. */
|
|
60
50
|
defaultOpen?: boolean | undefined;
|
|
61
|
-
|
|
62
|
-
* Inverts the color of the tooltip. Use this on dark backgrounds.
|
|
63
|
-
* @deprecated Use the `data-ds-theme` attribute instead.
|
|
64
|
-
*/
|
|
65
|
-
inverted?: boolean | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Portals the floating element outside of the app root and into the body.
|
|
68
|
-
* @see https://floating-ui.com/docs/floatingportal
|
|
69
|
-
* @default true
|
|
70
|
-
*/
|
|
71
|
-
portal?: boolean | undefined;
|
|
72
|
-
} & HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
+
} & HTMLAttributes<HTMLDivElement> & PortalProps & React.RefAttributes<HTMLDivElement>>;
|
|
73
52
|
//# sourceMappingURL=Tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAChE,6BAA6B;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChC,WAAW,CAAC;AAEd,eAAO,MAAM,OAAO;IAzBlB;;;OAGG;cACO,MAAM,YAAY,GAAG,MAAM,aAAa,CAAC,WAAW,CAAC;IAC/D,6BAA6B;aACpB,MAAM;IACf;;;OAGG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH,qDAAqD;;uFA+GtD,CAAC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
type OldErrorMessageSizes = 'xsmall' | 'small' | 'medium' | 'large';
|
|
3
2
|
export type ErrorMessageProps = {
|
|
4
3
|
/**
|
|
5
4
|
* Changes text sizing
|
|
6
5
|
* @default md
|
|
7
|
-
* @note `xsmall`, `small`, `medium`, `large` is deprecated
|
|
8
6
|
*/
|
|
9
|
-
size?: 'xs' | 'sm' | 'md' | 'lg'
|
|
7
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
10
8
|
/** Adds margin-bottom */
|
|
11
9
|
spacing?: boolean;
|
|
12
10
|
/** Toggle error color */
|
|
@@ -22,9 +20,8 @@ export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
|
|
|
22
20
|
/**
|
|
23
21
|
* Changes text sizing
|
|
24
22
|
* @default md
|
|
25
|
-
* @note `xsmall`, `small`, `medium`, `large` is deprecated
|
|
26
23
|
*/
|
|
27
|
-
size?: "
|
|
24
|
+
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
28
25
|
/** Adds margin-bottom */
|
|
29
26
|
spacing?: boolean | undefined;
|
|
30
27
|
/** Toggle error color */
|
|
@@ -35,5 +32,4 @@ export declare const ErrorMessage: import("react").ForwardRefExoticComponent<{
|
|
|
35
32
|
*/
|
|
36
33
|
asChild?: boolean | undefined;
|
|
37
34
|
} & HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
38
|
-
export {};
|
|
39
35
|
//# sourceMappingURL=ErrorMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/ErrorMessage/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yBAAyB;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,2DAA2D;AAC3D,eAAO,MAAM,YAAY;IAjBvB;;;OAGG;;IAEH,yBAAyB;;IAEzB,yBAAyB;;IAEzB;;;OAGG;;+FA0BJ,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
type OldHeadingSizes = 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
3
2
|
export type HeadingProps = {
|
|
4
3
|
/** Heading level. This will translate into any h1-6 level unless `as` is defined */
|
|
5
4
|
level?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
5
|
/** Changes text sizing
|
|
7
6
|
* @default 'xl'
|
|
8
7
|
*
|
|
9
|
-
* @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge`, `2xlarge`, `3xlarge` is deprecated
|
|
10
8
|
*/
|
|
11
|
-
size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'
|
|
9
|
+
size?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
12
10
|
/** Adds margin-bottom */
|
|
13
11
|
spacing?: boolean;
|
|
14
12
|
/**
|
|
@@ -24,9 +22,8 @@ export declare const Heading: import("react").ForwardRefExoticComponent<{
|
|
|
24
22
|
/** Changes text sizing
|
|
25
23
|
* @default 'xl'
|
|
26
24
|
*
|
|
27
|
-
* @note `xxsmall`, `xsmall`, `small`, `medium`, `large`, `xlarge`, `2xlarge`, `3xlarge` is deprecated
|
|
28
25
|
*/
|
|
29
|
-
size?: "
|
|
26
|
+
size?: "sm" | "md" | "lg" | "xs" | "2xs" | "xl" | "2xl" | undefined;
|
|
30
27
|
/** Adds margin-bottom */
|
|
31
28
|
spacing?: boolean | undefined;
|
|
32
29
|
/**
|
|
@@ -35,5 +32,4 @@ export declare const Heading: import("react").ForwardRefExoticComponent<{
|
|
|
35
32
|
*/
|
|
36
33
|
asChild?: boolean | undefined;
|
|
37
34
|
} & HTMLAttributes<HTMLHeadingElement> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
38
|
-
export {};
|
|
39
35
|
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,OAAO,CAAC;AAKzD,MAAM,MAAM,YAAY,GAAG;IACzB,oFAAoF;IACpF,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACxD,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC,uEAAuE;AACvE,eAAO,MAAM,OAAO;IAjBlB,oFAAoF;;IAEpF;;;OAGG;;IAEH,yBAAyB;;IAEzB;;;OAGG;;2FAyBJ,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
-
type OldIngressSizes = 'large' | 'medium' | 'small' | 'xsmall';
|
|
3
2
|
export type IngressProps = {
|
|
4
3
|
/** Changes text sizing
|
|
5
4
|
* @default md
|
|
6
|
-
* @note `xsmall`, `small`, `medium`, `large` is deprecated
|
|
7
5
|
*/
|
|
8
|
-
size?: 'xs' | 'sm' | 'md' | 'lg'
|
|
6
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
9
7
|
/** Adds margin-bottom */
|
|
10
8
|
spacing?: boolean;
|
|
11
9
|
/**
|
|
@@ -18,9 +16,8 @@ export type IngressProps = {
|
|
|
18
16
|
export declare const Ingress: import("react").ForwardRefExoticComponent<{
|
|
19
17
|
/** Changes text sizing
|
|
20
18
|
* @default md
|
|
21
|
-
* @note `xsmall`, `small`, `medium`, `large` is deprecated
|
|
22
19
|
*/
|
|
23
|
-
size?: "
|
|
20
|
+
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
|
24
21
|
/** Adds margin-bottom */
|
|
25
22
|
spacing?: boolean | undefined;
|
|
26
23
|
/**
|
|
@@ -29,5 +26,4 @@ export declare const Ingress: import("react").ForwardRefExoticComponent<{
|
|
|
29
26
|
*/
|
|
30
27
|
asChild?: boolean | undefined;
|
|
31
28
|
} & HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
32
|
-
export {};
|
|
33
29
|
//# sourceMappingURL=Ingress.d.ts.map
|