@purpur/library 10.1.0 → 10.1.1
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/CHANGELOG.json +12 -0
- package/CHANGELOG.md +8 -1
- package/dist/components/accordion/src/accordion-item.d.ts +3 -3
- package/dist/components/accordion/src/accordion.d.ts +1 -1
- package/dist/components/alert-badge/src/alert-badge.d.ts +1 -1
- package/dist/components/breadcrumbs/src/breadcrumbs.d.ts +1 -1
- package/dist/components/card/src/card-badge.d.ts +1 -1
- package/dist/components/card/src/card-content-container.d.ts +2 -2
- package/dist/components/card/src/card-content.d.ts +2 -2
- package/dist/components/card/src/card-cta.d.ts +2 -2
- package/dist/components/card/src/card-media-layout.d.ts +1 -1
- package/dist/components/card/src/card-root.d.ts +2 -2
- package/dist/components/container/src/container.d.ts +2 -2
- package/dist/components/counter-badge/src/counter-badge.d.ts +1 -1
- package/dist/components/cta-link/src/cta-link.d.ts +10 -10
- package/dist/components/date-range-field/src/date-range-field.d.ts +1 -1
- package/dist/components/dismissable-chip-group/src/dismissable-chip-group-item.d.ts +2 -2
- package/dist/components/drawer/src/drawer-content.d.ts +2 -2
- package/dist/components/drawer/src/drawer-trigger.d.ts +2 -2
- package/dist/components/drawer/src/drawer.d.ts +1 -1
- package/dist/components/dropdown/src/dropdown-combobox.d.ts.map +1 -1
- package/dist/components/dropdown/src/useDropdown.d.ts +2 -2
- package/dist/components/field-error-text/src/field-error-text.d.ts +1 -1
- package/dist/components/footer/src/footer-social-link.d.ts +1 -1
- package/dist/components/footer/src/footer.d.ts +4 -4
- package/dist/components/grid/src/grid.d.ts +1 -1
- package/dist/components/grid/src/grid.item.d.ts +1 -1
- package/dist/components/heading/src/heading.d.ts +1 -1
- package/dist/components/hero-banner/src/hero-banner-actions.d.ts +2 -2
- package/dist/components/hero-banner/src/hero-banner-media.d.ts +2 -2
- package/dist/components/hero-banner/src/hero-banner-types.d.ts +3 -3
- package/dist/components/label/src/label.d.ts +1 -1
- package/dist/components/listbox/src/listbox-item.d.ts +2 -2
- package/dist/components/logo/src/logo.types.d.ts +1 -1
- package/dist/components/notification/src/notification.d.ts +2 -2
- package/dist/components/pagination/src/pagination-page-selector.d.ts +1 -1
- package/dist/components/pagination/src/pagination-page-size-selector.d.ts +2 -2
- package/dist/components/pagination/src/pagination-page-trigger.d.ts +2 -2
- package/dist/components/pagination/src/pagination-pages.d.ts +1 -1
- package/dist/components/pagination/src/pagination-step-trigger.d.ts +2 -2
- package/dist/components/pagination/src/types.d.ts +2 -2
- package/dist/components/pagination/src/use-page-options.hook.d.ts +2 -2
- package/dist/components/password-field/src/password-strength.d.ts +2 -2
- package/dist/components/product-card/src/product-card.d.ts +3 -3
- package/dist/components/promotion-card/src/promotion-card.d.ts +3 -3
- package/dist/components/quantity-selector/src/quantity-selector.d.ts +1 -1
- package/dist/components/radio-button-group/src/radio-button-group-root.d.ts +3 -3
- package/dist/components/radio-card-group/src/radio-card-group.d.ts +2 -2
- package/dist/components/rich-text/src/types.d.ts +1 -1
- package/dist/components/search-field/src/search-field.d.ts +6 -6
- package/dist/components/select/src/select.d.ts +2 -2
- package/dist/components/spacer/src/spacer.d.ts +1 -1
- package/dist/components/stepper/src/stepper-container.d.ts +1 -1
- package/dist/components/stepper/src/stepper-content.d.ts +2 -2
- package/dist/components/stepper/src/stepper.d.ts +1 -1
- package/dist/components/table/src/cell-types/button-group-cell.d.ts +3 -3
- package/dist/components/table/src/story-utils/table-data.d.ts +4 -4
- package/dist/components/table/src/table-content.d.ts +2 -2
- package/dist/components/table/src/table.d.ts +2 -2
- package/dist/components/table/src/test-utils/table-data.d.ts +3 -3
- package/dist/components/table/src/types.d.ts +1 -1
- package/dist/components/tabs/src/tab-content.d.ts +1 -1
- package/dist/components/text-area/src/text-area.d.ts +1 -1
- package/dist/components/text-field/src/text-field.d.ts +1 -1
- package/dist/country-flag-icon/LICENSE.txt +0 -11
- package/dist/dropdown-B7W5fErJ.js +2 -0
- package/dist/dropdown-B7W5fErJ.js.map +1 -0
- package/dist/{dropdown-DJr5COdU.mjs → dropdown-CxEElxNf.mjs} +359 -352
- package/dist/dropdown-CxEElxNf.mjs.map +1 -0
- package/dist/dropdown.cjs.js +1 -1
- package/dist/dropdown.es.js +1 -1
- package/dist/libraries/library/src/container.d.ts +1 -1
- package/dist/libraries/library/src/content-block.d.ts +1 -1
- package/dist/libraries/library/src/toggle.d.ts +2 -2
- package/dist/libraries/theme/src/ThemeProvider.d.ts +1 -1
- package/dist/library.cjs.js +1 -1
- package/dist/library.es.js +2 -2
- package/dist/{table-CY8rjMoR.mjs → table-7-6k_wGH.mjs} +2 -2
- package/dist/{table-CY8rjMoR.mjs.map → table-7-6k_wGH.mjs.map} +1 -1
- package/dist/{table-BkXNxvjW.js → table-CllIkAkM.js} +2 -2
- package/dist/{table-BkXNxvjW.js.map → table-CllIkAkM.js.map} +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.es.js +1 -1
- package/package.json +21 -21
- package/dist/dropdown-DJr5COdU.mjs.map +0 -1
- package/dist/dropdown-s8FhNU5N.js +0 -2
- package/dist/dropdown-s8FhNU5N.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpur/library",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "10.1.1",
|
|
6
|
+
"tag": "@purpur/library_v10.1.1",
|
|
7
|
+
"date": "Fri, 28 Aug 2026 09:52:12 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Dropdown: Fix combobox input not resetting to the selected option's label on blur"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "10.1.0",
|
|
6
18
|
"tag": "@purpur/library_v10.1.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @purpur/library
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 28 Aug 2026 09:52:12 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 10.1.1
|
|
6
|
+
Fri, 28 Aug 2026 09:52:12 GMT
|
|
7
|
+
|
|
8
|
+
### Updates
|
|
9
|
+
|
|
10
|
+
- Dropdown: Fix combobox input not resetting to the selected option's label on blur
|
|
4
11
|
|
|
5
12
|
## 10.1.0
|
|
6
13
|
Thu, 27 Aug 2026 13:40:13 GMT
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
4
4
|
export type AccordionItemOnClickEvent = React.MouseEvent<HTMLButtonElement, MouseEvent> & {
|
|
5
5
|
currentTarget: {
|
|
6
6
|
dataset: {
|
|
@@ -39,4 +39,4 @@ export type AccordionItemProps = Omit<BaseProps, "onClick" | "title" | "children
|
|
|
39
39
|
onClose?: () => void;
|
|
40
40
|
};
|
|
41
41
|
export declare const AccordionItem: ({ children, className, fullWidth, title, headingTag, initialOpen, onClick, onOpen, onClose, ...props }: AccordionItemProps) => React.JSX.Element;
|
|
42
|
-
//# sourceMappingURL=accordion-item.d.ts.map
|
|
42
|
+
//# sourceMappingURL=accordion-item.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const ALERT_BADGE_VARIANT: {
|
|
4
4
|
readonly ATTENTION: "attention";
|
|
5
5
|
readonly INFORMATION: "information";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, AnchorHTMLAttributes, ForwardRefExoticComponent, ReactElement } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
type WithMeta = {
|
|
4
4
|
meta?: true;
|
|
5
5
|
baseUrl: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
type CardContentContainerProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
/**
|
|
5
5
|
* The child elements of the content container (React.ReactNode)
|
|
@@ -14,4 +14,4 @@ type CardContentContainerProps = Omit<BaseProps, "children"> & {
|
|
|
14
14
|
};
|
|
15
15
|
export declare const CardContentContainer: ({ ["data-testid"]: dataTestId, children, className, isFooter, fullHeight, gapSize, ...props }: CardContentContainerProps) => React.JSX.Element;
|
|
16
16
|
export {};
|
|
17
|
-
//# sourceMappingURL=card-content-container.d.ts.
|
|
17
|
+
//# sourceMappingURL=card-content-container.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
type CardContentProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
/**
|
|
5
5
|
* The child elements of the content (React.ReactNode)
|
|
@@ -8,4 +8,4 @@ type CardContentProps = Omit<BaseProps, "children"> & {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const CardContent: ({ ["data-testid"]: dataTestId, children, className, ...props }: CardContentProps) => React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
|
-
//# sourceMappingURL=card-content.d.ts.
|
|
11
|
+
//# sourceMappingURL=card-content.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type CardCtaProps = BaseProps & {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
/**
|
|
@@ -15,4 +15,4 @@ export type CardCtaProps = BaseProps & {
|
|
|
15
15
|
text?: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const CardCta: ({ ["data-testid"]: dataTestId, className, children, disabled, iconPosition, loading, text, linkStyling, ...props }: CardCtaProps) => React.JSX.Element;
|
|
18
|
-
//# sourceMappingURL=card-cta.d.ts.
|
|
18
|
+
//# sourceMappingURL=card-cta.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type CardMediaLayoutProps = BaseProps & {
|
|
4
4
|
imageTop?: boolean;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type CardRootProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
fullHeight?: boolean;
|
|
@@ -8,4 +8,4 @@ export type CardRootProps = Omit<BaseProps, "children"> & {
|
|
|
8
8
|
variant?: "primary" | "secondary";
|
|
9
9
|
};
|
|
10
10
|
export declare const CardRoot: React.ForwardRefExoticComponent<Omit<CardRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
//# sourceMappingURL=card-root.d.ts.
|
|
11
|
+
//# sourceMappingURL=card-root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export declare const Width: {
|
|
4
4
|
readonly XS: "xs";
|
|
5
5
|
readonly SM: "sm";
|
|
@@ -27,4 +27,4 @@ export type ContainerProps = Omit<BaseProps, "children"> & {
|
|
|
27
27
|
element?: ContainerElementType;
|
|
28
28
|
};
|
|
29
29
|
export declare const Container: React.ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
30
|
-
//# sourceMappingURL=container.d.ts.
|
|
30
|
+
//# sourceMappingURL=container.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type CounterBadgeProps = Omit<BaseProps<"span">, "children"> & {
|
|
4
4
|
value: number;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { ActionProps } from '../../../libraries/action/src/action';
|
|
3
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { ActionProps } from '../../../libraries/action/src/action.tsx';
|
|
3
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
4
4
|
export declare const ctaLinkIcons: readonly ["forward", "external", "back", "phone"];
|
|
5
5
|
export type CtaLinkIcon = (typeof ctaLinkIcons)[number];
|
|
6
6
|
type CtaLinkBaseProps = {
|
|
@@ -18,8 +18,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
18
18
|
className?: string;
|
|
19
19
|
fullWidth?: boolean;
|
|
20
20
|
negative?: boolean;
|
|
21
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
22
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
21
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
22
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
23
23
|
} & {
|
|
24
24
|
iconOnly: true;
|
|
25
25
|
"aria-label": string;
|
|
@@ -33,8 +33,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
33
33
|
className?: string;
|
|
34
34
|
fullWidth?: boolean;
|
|
35
35
|
negative?: boolean;
|
|
36
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
37
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
36
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
37
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
38
38
|
} & {
|
|
39
39
|
iconOnly?: false;
|
|
40
40
|
"aria-label"?: string;
|
|
@@ -48,8 +48,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
48
48
|
className?: string;
|
|
49
49
|
fullWidth?: boolean;
|
|
50
50
|
negative?: boolean;
|
|
51
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
52
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
51
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
52
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
53
53
|
} & {
|
|
54
54
|
iconOnly: true;
|
|
55
55
|
"aria-label": string;
|
|
@@ -61,8 +61,8 @@ export declare const CtaLink: React.ForwardRefExoticComponent<(Omit<CtaLinkBaseP
|
|
|
61
61
|
className?: string;
|
|
62
62
|
fullWidth?: boolean;
|
|
63
63
|
negative?: boolean;
|
|
64
|
-
size?: import('../../../libraries/action/src/action').Size;
|
|
65
|
-
variant: import('../../../libraries/action/src/action').Variant;
|
|
64
|
+
size?: import('../../../libraries/action/src/action.tsx').Size;
|
|
65
|
+
variant: import('../../../libraries/action/src/action.tsx').Variant;
|
|
66
66
|
} & {
|
|
67
67
|
iconOnly?: false;
|
|
68
68
|
"aria-label"?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { DateFieldProps } from '../../date-field/src/date-field
|
|
2
|
+
import { DateFieldProps } from '../../date-field/src/date-field';
|
|
3
3
|
type IndividualFieldProps = Omit<DateFieldProps, "value" | "onChange" | "disabled" | "readOnly" | "required" | "negative" | "formatLabel" | "dateChars" | "aria-labelledby" | "aria-describedby" | "data-testid" | "startAdornment" | "className" | "ref">;
|
|
4
4
|
export type DateRangeFieldProps = {
|
|
5
5
|
label?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type DismissableChipGroupItemProps = Omit<BaseProps<"button">, "aria-label" | "children"> & {
|
|
4
4
|
["aria-label"]: string;
|
|
5
5
|
children: ReactNode;
|
|
@@ -9,4 +9,4 @@ export declare const DismissableChipGroupItem: {
|
|
|
9
9
|
({ children, id, onDismiss, disabled, ...props }: DismissableChipGroupItemProps): React.JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=dismissable-chip-group-item.d.ts.
|
|
12
|
+
//# sourceMappingURL=dismissable-chip-group-item.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { Position } from './types';
|
|
4
4
|
export type WithBackButton = {
|
|
5
5
|
backButton: boolean;
|
|
@@ -88,4 +88,4 @@ export declare const DrawerContent: React.ForwardRefExoticComponent<(Omit<Omit<R
|
|
|
88
88
|
zIndex?: number;
|
|
89
89
|
position?: Position;
|
|
90
90
|
} & WithoutBackButton, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
91
|
-
//# sourceMappingURL=drawer-content.d.ts.
|
|
91
|
+
//# sourceMappingURL=drawer-content.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type DrawerTriggerProps = Omit<BaseProps<"button">, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
export declare const DrawerTrigger: React.ForwardRefExoticComponent<Omit<DrawerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
//# sourceMappingURL=drawer-trigger.d.ts.
|
|
7
|
+
//# sourceMappingURL=drawer-trigger.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { DrawerContent } from './drawer-content';
|
|
4
4
|
import { DrawerTrigger } from './drawer-trigger';
|
|
5
5
|
import { DrawerVariant } from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-combobox.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,qBAAqB,EAAkB,MAAM,kBAAkB,CAAC;AAgB9E,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"dropdown-combobox.d.ts","sourceRoot":"","sources":["../../../../../../components/dropdown/src/dropdown-combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,KAAK,EAAE,qBAAqB,EAAkB,MAAM,kBAAkB,CAAC;AAgB9E,eAAO,MAAM,gBAAgB,8FAgU3B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { ListboxItemProps, ListboxProps } from '../../listbox/src/listbox';
|
|
2
|
+
import { ListboxItemProps, ListboxProps } from '../../listbox/src/listbox.tsx';
|
|
3
3
|
import { DropdownOption } from './dropdown.types';
|
|
4
4
|
export type UseDropdownParams = {
|
|
5
5
|
id: string;
|
|
@@ -37,4 +37,4 @@ export type UseDropdownReturn = {
|
|
|
37
37
|
anchorStyle: CSSProperties;
|
|
38
38
|
};
|
|
39
39
|
export declare const useDropdown: ({ id, variant, options, listboxLabel, multiple, selectedOption, selectedOptions, onSelect, filterOption, inputValue: controlledInputValue, defaultInputValue, onInputChange, noOptionsText, highlightFirstOption, openOnFocus, listboxMaxHeight, negative, disabled, readOnly, ["data-testid"]: dataTestId, }: UseDropdownParams) => UseDropdownReturn;
|
|
40
|
-
//# sourceMappingURL=useDropdown.d.ts.map
|
|
40
|
+
//# sourceMappingURL=useDropdown.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const ariaRelevantValues: readonly ["additions text", "additions", "removals", "text", "all"];
|
|
4
4
|
export type FieldErrorTextProps = Omit<BaseProps, "aria-relevant" | "children"> & {
|
|
5
5
|
children: ReactNode;
|
|
@@ -7,4 +7,4 @@ export type FooterSocialLinkProps = Omit<BaseProps<"a">, "aria-label" | "href" |
|
|
|
7
7
|
href: string;
|
|
8
8
|
};
|
|
9
9
|
export declare const FooterSocialLink: ({ icon, href, ...props }: FooterSocialLinkProps) => React.JSX.Element;
|
|
10
|
-
//# sourceMappingURL=footer-social-link.d.ts.
|
|
10
|
+
//# sourceMappingURL=footer-social-link.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { LinkProps } from '../../link/src/link';
|
|
4
|
-
import { ColorOptions, ColorScheme } from '../../../libraries/theme/src/theme';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { LinkProps } from '../../link/src/link.tsx';
|
|
4
|
+
import { ColorOptions, ColorScheme } from '../../../libraries/theme/src/theme.ts';
|
|
5
5
|
import { CustomLinkType, FooterNavigationItem, FooterNavigationItemLink } from './footer-navigation';
|
|
6
6
|
import { FooterSocialLinkProps } from './footer-social-link';
|
|
7
7
|
type AdditionalLink = FooterNavigationItemLink & Omit<LinkProps, "href" | "variant" | "negative" | "children" | "disableVisited">;
|
|
@@ -79,4 +79,4 @@ export declare const Footer: {
|
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
export {};
|
|
82
|
-
//# sourceMappingURL=footer.d.ts.
|
|
82
|
+
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { Item } from './grid.item';
|
|
4
4
|
export type GridProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
children: ReactNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type ItemProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
/** The number of columns that the item spans on small screens. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const HeadingTag: {
|
|
4
4
|
readonly H1: "h1";
|
|
5
5
|
readonly H2: "h2";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
type HeroBannerActionProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
/** One or several CTA links or buttons */
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
7
|
export declare const HeroBannerActions: ({ children, className, ...props }: HeroBannerActionProps) => React.JSX.Element;
|
|
8
8
|
export {};
|
|
9
|
-
//# sourceMappingURL=hero-banner-actions.d.ts.
|
|
9
|
+
//# sourceMappingURL=hero-banner-actions.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
type WithVideo = {
|
|
4
4
|
/** Video pause/play button callback (your implementation should handle the state) */
|
|
5
5
|
togglePausePlay: () => void;
|
|
@@ -19,4 +19,4 @@ type WithoutVideo = {
|
|
|
19
19
|
export type HeroBannerMediaProps = BaseProps & (WithVideo | WithoutVideo);
|
|
20
20
|
export declare const HeroBannerMedia: ({ children, isPlaying, togglePausePlay, videoPauseAriaLabel, videoPlayAriaLabel, className, ...props }: HeroBannerMediaProps) => false | "" | 0 | 0n | React.JSX.Element | null | undefined;
|
|
21
21
|
export {};
|
|
22
|
-
//# sourceMappingURL=hero-banner-media.d.ts.
|
|
22
|
+
//# sourceMappingURL=hero-banner-media.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { ColorScheme } from '../../../libraries/theme/src/theme';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { ColorScheme } from '../../../libraries/theme/src/theme.ts';
|
|
4
4
|
export declare const TitleHyphenVariant: {
|
|
5
5
|
readonly default: "default";
|
|
6
6
|
readonly enabled: "enabled";
|
|
@@ -45,4 +45,4 @@ export type HeroBannerProps = BaseProps & {
|
|
|
45
45
|
*/
|
|
46
46
|
media?: ReactNode;
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=hero-banner-types.d.ts.
|
|
48
|
+
//# sourceMappingURL=hero-banner-types.d.ts.map
|
|
@@ -6,4 +6,4 @@ export type LabelProps = Omit<BaseProps<"label">, "children"> & {
|
|
|
6
6
|
negative?: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const Label: ({ children, className, disabled, negative, ...props }: LabelProps) => React.JSX.Element;
|
|
9
|
-
//# sourceMappingURL=label.d.ts.
|
|
9
|
+
//# sourceMappingURL=label.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type ListboxItemProps = Omit<BaseProps<"li">, "role"> & {
|
|
4
4
|
highlighted?: boolean;
|
|
5
5
|
hovered?: boolean;
|
|
@@ -12,4 +12,4 @@ export type ListboxItemProps = Omit<BaseProps<"li">, "role"> & {
|
|
|
12
12
|
hideSelectedIcon?: boolean;
|
|
13
13
|
};
|
|
14
14
|
export declare const ListboxItem: React.ForwardRefExoticComponent<Omit<ListboxItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
15
|
-
//# sourceMappingURL=listbox-item.d.ts.
|
|
15
|
+
//# sourceMappingURL=listbox-item.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
1
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
2
|
export type LogoBaseProps = Omit<BaseProps<"span">, "children" | "color"> & {
|
|
3
3
|
/**
|
|
4
4
|
* Color variant of the logo.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
4
4
|
export declare const NOTIFICATION_STATUS: {
|
|
5
5
|
readonly SUCCESS: "success";
|
|
6
6
|
readonly WARNING: "warning";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { InternalLinkProps, InternalNoLinkProps } from './types';
|
|
4
4
|
export type PaginationPageSelectorProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
currentPage: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { LinkProps, NoLinkProps } from './types';
|
|
4
4
|
export type PaginationPageSizeSelectorProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
availablePageSizes: number[];
|
|
@@ -22,4 +22,4 @@ export declare const PaginationPageSizeSelector: React.ForwardRefExoticComponent
|
|
|
22
22
|
pageSize: number;
|
|
23
23
|
pageSizeLabel: string;
|
|
24
24
|
} & Omit<NoLinkProps, "onPageChange">, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
//# sourceMappingURL=pagination-page-size-selector.d.ts.
|
|
25
|
+
//# sourceMappingURL=pagination-page-size-selector.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { InternalLinkProps, InternalNoLinkProps, Link } from './types';
|
|
4
4
|
export type PaginationPageTriggerProps = Omit<BaseProps<"li">, "children"> & {
|
|
5
5
|
linkElement: Link;
|
|
@@ -28,4 +28,4 @@ export declare const PaginationPageTrigger: React.ForwardRefExoticComponent<(Omi
|
|
|
28
28
|
selected: boolean;
|
|
29
29
|
stepNumberPrefix: string;
|
|
30
30
|
} & InternalNoLinkProps, "ref">) & React.RefAttributes<HTMLLIElement>>;
|
|
31
|
-
//# sourceMappingURL=pagination-page-trigger.d.ts.
|
|
31
|
+
//# sourceMappingURL=pagination-page-trigger.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { InternalLinkProps, InternalNoLinkProps, Link } from './types';
|
|
4
4
|
export type PaginationPagesProps = Omit<BaseProps<"ol">, "children"> & {
|
|
5
5
|
linkElement: Link;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
import { InternalLinkProps, InternalNoLinkProps, Link } from './types';
|
|
4
4
|
export type PaginationStepTriggerProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
linkElement: Link;
|
|
@@ -28,4 +28,4 @@ export declare const PaginationStepTrigger: React.ForwardRefExoticComponent<(Omi
|
|
|
28
28
|
pageToNavigateTo: number;
|
|
29
29
|
isIconOnly: boolean;
|
|
30
30
|
} & InternalNoLinkProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
//# sourceMappingURL=pagination-step-trigger.d.ts.
|
|
31
|
+
//# sourceMappingURL=pagination-step-trigger.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type PaginationInformation = {
|
|
4
4
|
pageSize: number;
|
|
5
5
|
currentPage: number;
|
|
@@ -34,4 +34,4 @@ export type InternalNoLinkProps = {
|
|
|
34
34
|
hrefGetter?: never;
|
|
35
35
|
};
|
|
36
36
|
export type Link = ForwardRefExoticComponent<AnchorHTMLAttributes<HTMLAnchorElement>> | "a";
|
|
37
|
-
//# sourceMappingURL=types.d.ts.
|
|
37
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SelectOption } from '../../select/src/select';
|
|
1
|
+
import { SelectOption } from '../../select/src/select.tsx';
|
|
2
2
|
type UsePageOptionsHook = {
|
|
3
3
|
options: SelectOption[];
|
|
4
4
|
};
|
|
5
5
|
export declare const usePageOptions: (numberOfPages: number) => UsePageOptionsHook;
|
|
6
6
|
export {};
|
|
7
|
-
//# sourceMappingURL=use-page-options.hook.d.ts.map
|
|
7
|
+
//# sourceMappingURL=use-page-options.hook.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
3
|
export type PasswordStrengthProps = Omit<BaseProps, "children"> & {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
@@ -8,4 +8,4 @@ export type PasswordStrengthProps = Omit<BaseProps, "children"> & {
|
|
|
8
8
|
strongText: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const PasswordStrength: React.ForwardRefExoticComponent<Omit<PasswordStrengthProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
//# sourceMappingURL=password-strength.d.ts.
|
|
11
|
+
//# sourceMappingURL=password-strength.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ForwardRefExoticComponent, PropsWithoutRef, ReactNode } from 'react';
|
|
2
|
-
import { BadgeVariant } from '../../badge/src/badge
|
|
3
|
-
import { CardHeadingButtonProps, CardHeadingLinkProps, CardHeadingNonInteractiveProps, CardProps } from '../../card/src/card
|
|
4
|
-
import { HeadingTagType } from '../../heading/src/heading
|
|
2
|
+
import { BadgeVariant } from '../../badge/src/badge';
|
|
3
|
+
import { CardHeadingButtonProps, CardHeadingLinkProps, CardHeadingNonInteractiveProps, CardProps } from '../../card/src/card';
|
|
4
|
+
import { HeadingTagType } from '../../heading/src/heading';
|
|
5
5
|
import { Colors } from './colors';
|
|
6
6
|
import { Price } from './price';
|
|
7
7
|
import { ProductHeader } from './product-header';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { HeadingTagType, HeadingVariantType } from '../../heading/src/heading';
|
|
4
|
-
import { ColorScheme } from '../../../libraries/theme/src/theme';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { HeadingTagType, HeadingVariantType } from '../../heading/src/heading.tsx';
|
|
4
|
+
import { ColorScheme } from '../../../libraries/theme/src/theme.ts';
|
|
5
5
|
export declare const promotionCardVariants: readonly ["primary", "secondary", "quaternary"];
|
|
6
6
|
export type PromotionCardVariant = (typeof promotionCardVariants)[number];
|
|
7
7
|
export type PromotionCardDecorativeImage = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
3
|
export declare const quantitySelectorButtonVariants: readonly ["primary", "secondary"];
|
|
4
4
|
type ButtonVariant = (typeof quantitySelectorButtonVariants)[number];
|
|
5
5
|
export type QuantitySelectorProps = Omit<BaseProps<"input">, "onChange" | "type"> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { BaseProps } from '../../../libraries/common-types/src/common-types';
|
|
3
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { BaseProps } from '../../../libraries/common-types/src/common-types.ts';
|
|
3
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
4
4
|
import { RADIO_BUTTON_GROUP_ORIENTATION, RadioButtonGroupDirection } from './constants';
|
|
5
5
|
import { RadioButtonGroupItem } from './radio-button-group-item';
|
|
6
6
|
export type RadioButtonGroupRootProps = Omit<BaseProps, "id"> & {
|
|
@@ -80,4 +80,4 @@ export type RadioButtonGroupRootProps = Omit<BaseProps, "id"> & {
|
|
|
80
80
|
headingTag?: HeadingTagType;
|
|
81
81
|
};
|
|
82
82
|
export declare const RadioButtonGroupRoot: React.ForwardRefExoticComponent<Omit<RadioButtonGroupRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
83
|
-
//# sourceMappingURL=radio-button-group-root.d.ts.map
|
|
83
|
+
//# sourceMappingURL=radio-button-group-root.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React, ReactNode, Ref } from 'react';
|
|
2
|
-
import { HeadingTagType } from '../../heading/src/heading';
|
|
2
|
+
import { HeadingTagType } from '../../heading/src/heading.tsx';
|
|
3
3
|
import { RadioCardGroupOrientation, RadioPosition } from './radio-card-group.constants';
|
|
4
4
|
import { RadioCardItemProps } from './radio-card-item';
|
|
5
5
|
export type RadioCardGroupItem = RadioCardItemProps & {
|
|
@@ -142,4 +142,4 @@ export declare const RadioCardGroup: React.ForwardRefExoticComponent<StylingProp
|
|
|
142
142
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
143
143
|
export type { RadioCardItemProps } from './radio-card-item';
|
|
144
144
|
export { RadioCardItem } from './radio-card-item';
|
|
145
|
-
//# sourceMappingURL=radio-card-group.d.ts.map
|
|
145
|
+
//# sourceMappingURL=radio-card-group.d.ts.map
|