@orangesk/orange-design-system 2.0.0 → 2.1.0
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/README.md +4 -2
- package/build/components/Card/style.css +1 -1
- package/build/components/Card/style.css.map +1 -1
- package/build/components/FeatureAccordion/style.css +1 -1
- package/build/components/FeatureAccordion/style.css.map +1 -1
- package/build/components/Tile/style.css +1 -1
- package/build/components/Tile/style.css.map +1 -1
- package/build/components/index.js +1 -1
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +234 -234
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -1
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +1 -1
- package/build/components/types/src/components/Button/index.d.ts +3 -3
- package/build/components/types/src/components/Card/CardSection.d.ts +2 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +1 -1
- package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -1
- package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
- package/build/components/types/src/components/Grid/GridCol.d.ts +1 -1
- package/build/components/types/src/components/Icon/IconSearch.d.ts +2 -2
- package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +1 -1
- package/build/components/types/src/components/Icon/PictogramSearch.d.ts +2 -2
- package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +1 -1
- package/build/components/types/src/components/Megamenu/Megamenu.d.ts +2 -1
- package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +1 -1
- package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +1 -1
- package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +1 -1
- package/build/components/types/src/components/Pagination/Separator.d.ts +1 -1
- package/build/components/types/src/components/Preview/Preview.d.ts +1 -1
- package/build/components/types/src/components/Preview/index.d.ts +1 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +1 -1
- package/build/components/types/src/components/Table/Row.d.ts +2 -1
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +1 -1
- package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -1
- package/build/lib/base.css +1 -1
- package/build/lib/base.css.map +1 -1
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/scripts.js +1 -1
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/tsconfig.tsbuildinfo +1 -1
- package/build/search-index.json +2 -2
- package/package.json +23 -23
- package/src/components/Button/IconButton.tsx +3 -1
- package/src/components/Button/tests/IconButton.unit.test.jsx +6 -2
- package/src/components/Card/CardSection.tsx +3 -2
- package/src/components/Card/styles/style.scss +7 -0
- package/src/components/Card/tests/CardSection.unit.test.jsx +12 -0
- package/src/components/Carousel/Carousel.static.ts +2 -2
- package/src/components/Carousel/tests/Carousel.static.test.jsx +7 -4
- package/src/components/FeatureAccordion/styles/mixins.scss +3 -3
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +8 -0
- package/src/components/Forms/Autocomplete/styles/style.scss +3 -0
- package/src/components/Forms/Autocomplete/tests/Autocomplete.unit.test.jsx +48 -0
- package/src/components/Forms/DatePicker/styles/style.scss +2 -0
- package/src/components/Forms/File/styles/style.scss +3 -0
- package/src/components/Forms/InputStepper/styles/style.scss +1 -0
- package/src/components/PromoBanner/PromoBanner.tsx +2 -1
- package/src/components/Tile/styles/mixins.scss +1 -0
- package/src/styles/base/globals-forms.scss +31 -0
- package/src/components/Card/CHANGELOG.md +0 -19
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React$1
|
|
2
|
-
import
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { ReactNode, ReactElement, HTMLAttributes, AnchorHTMLAttributes, FC } from 'react';
|
|
3
3
|
|
|
4
4
|
interface AccordionProps$1 {
|
|
5
5
|
/** Heading level from 1 to 6 */
|
|
@@ -17,7 +17,7 @@ interface AccordionProps$1 {
|
|
|
17
17
|
/** Additional HTML attributes */
|
|
18
18
|
[key: string]: any;
|
|
19
19
|
}
|
|
20
|
-
declare const Accordion:
|
|
20
|
+
declare const Accordion: React__default.FC<AccordionProps$1>;
|
|
21
21
|
|
|
22
22
|
interface AccordionHeaderProps {
|
|
23
23
|
/** Header id */
|
|
@@ -26,7 +26,7 @@ interface AccordionHeaderProps {
|
|
|
26
26
|
isActive?: boolean;
|
|
27
27
|
/** Header title */
|
|
28
28
|
title: string;
|
|
29
|
-
renderTitle?: (title: string) =>
|
|
29
|
+
renderTitle?: (title: string) => React__default.ReactNode;
|
|
30
30
|
/** Additional CSS classes */
|
|
31
31
|
className?: string;
|
|
32
32
|
/** Custom toggle attribute for specialized accordions (defaults to 'data-accordion-toggle') */
|
|
@@ -51,14 +51,14 @@ interface AccordionItemProps extends Pick<AccordionHeaderProps, "renderTitle"> {
|
|
|
51
51
|
/** Additional HTML attributes */
|
|
52
52
|
[key: string]: any;
|
|
53
53
|
}
|
|
54
|
-
declare const AccordionItem:
|
|
54
|
+
declare const AccordionItem: React__default.FC<AccordionItemProps>;
|
|
55
55
|
|
|
56
56
|
type AlertType = "warning" | "info" | "danger" | "success";
|
|
57
|
-
interface AlertProps extends
|
|
57
|
+
interface AlertProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
58
58
|
/** Additional action buttons to add interactivity */
|
|
59
|
-
actionButtons?:
|
|
59
|
+
actionButtons?: React__default.ReactNode;
|
|
60
60
|
/** Description of the alert */
|
|
61
|
-
description?:
|
|
61
|
+
description?: React__default.ReactNode;
|
|
62
62
|
/** Level of the heading in heading hierarchy */
|
|
63
63
|
headingLevel?: number;
|
|
64
64
|
/** Sets Alert to full width */
|
|
@@ -66,14 +66,14 @@ interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
66
66
|
/** Callback function when close button is clicked */
|
|
67
67
|
onClose?: () => void;
|
|
68
68
|
/** Custom title renderer. Passes props as function parameter. */
|
|
69
|
-
renderTitle?: (props: AlertProps) =>
|
|
69
|
+
renderTitle?: (props: AlertProps) => React__default.ReactNode;
|
|
70
70
|
/** Main text message */
|
|
71
71
|
title?: string;
|
|
72
72
|
/** Type of alert, sets icon and color */
|
|
73
73
|
type?: AlertType;
|
|
74
74
|
className?: string;
|
|
75
75
|
}
|
|
76
|
-
declare const Alert:
|
|
76
|
+
declare const Alert: React__default.FC<AlertProps>;
|
|
77
77
|
|
|
78
78
|
interface AnchorNavigationItem {
|
|
79
79
|
label: string;
|
|
@@ -83,16 +83,16 @@ interface AnchorNavigationItem {
|
|
|
83
83
|
interface AnchorNavigationProps {
|
|
84
84
|
items: AnchorNavigationItem[];
|
|
85
85
|
className?: string;
|
|
86
|
-
children?:
|
|
86
|
+
children?: React__default.ReactNode;
|
|
87
87
|
}
|
|
88
88
|
declare const AnchorNavigation: {
|
|
89
|
-
({ items, className, children, ...other }: AnchorNavigationProps):
|
|
89
|
+
({ items, className, children, ...other }: AnchorNavigationProps): React__default.JSX.Element;
|
|
90
90
|
displayName: string;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
type BarAlign = "start" | "end" | "center";
|
|
94
94
|
type BarSpace = "small" | "large";
|
|
95
|
-
interface BarProps extends
|
|
95
|
+
interface BarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
96
96
|
/** Flex vertical alignment */
|
|
97
97
|
align?: BarAlign;
|
|
98
98
|
/** Allow horizontally stacked items to wrap into new lines */
|
|
@@ -102,23 +102,23 @@ interface BarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
102
102
|
/** Item spacing */
|
|
103
103
|
space?: BarSpace;
|
|
104
104
|
/** Html tag to render */
|
|
105
|
-
tag?:
|
|
105
|
+
tag?: React__default.ElementType;
|
|
106
106
|
/** Additional class names */
|
|
107
107
|
className?: string;
|
|
108
108
|
/** Child content */
|
|
109
|
-
children?:
|
|
109
|
+
children?: React__default.ReactNode;
|
|
110
110
|
}
|
|
111
|
-
declare const Bar:
|
|
111
|
+
declare const Bar: React__default.ForwardRefExoticComponent<BarProps & React__default.RefAttributes<HTMLElement>>;
|
|
112
112
|
|
|
113
|
-
interface BarBreakProps extends
|
|
113
|
+
interface BarBreakProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
114
114
|
/** HTML tag to render the compontent with */
|
|
115
|
-
tag?:
|
|
115
|
+
tag?: React__default.ElementType;
|
|
116
116
|
/** Additional class names */
|
|
117
117
|
className?: string;
|
|
118
118
|
/** Child content */
|
|
119
|
-
children?:
|
|
119
|
+
children?: React__default.ReactNode;
|
|
120
120
|
}
|
|
121
|
-
declare const BarBreak:
|
|
121
|
+
declare const BarBreak: React__default.ForwardRefExoticComponent<BarBreakProps & React__default.RefAttributes<HTMLElement>>;
|
|
122
122
|
|
|
123
123
|
interface CommonProps$3 {
|
|
124
124
|
/** Bar item could shrink and wrap content if there is not enough empty space */
|
|
@@ -126,13 +126,13 @@ interface CommonProps$3 {
|
|
|
126
126
|
/** Bar item should fill empty space */
|
|
127
127
|
isFilling?: boolean;
|
|
128
128
|
/** Tag of the item */
|
|
129
|
-
tag?:
|
|
129
|
+
tag?: React__default.ElementType;
|
|
130
130
|
/** Additional class name */
|
|
131
131
|
className?: string;
|
|
132
132
|
/** Child content */
|
|
133
|
-
children?:
|
|
133
|
+
children?: React__default.ReactNode;
|
|
134
134
|
}
|
|
135
|
-
declare const BarItem:
|
|
135
|
+
declare const BarItem: React__default.ForwardRefExoticComponent<CommonProps$3 & React__default.HTMLAttributes<HTMLElement> & React__default.RefAttributes<HTMLElement>>;
|
|
136
136
|
|
|
137
137
|
interface BlockActionProps {
|
|
138
138
|
/** 1 and only one single element */
|
|
@@ -142,7 +142,7 @@ interface BlockActionProps {
|
|
|
142
142
|
hasBorderOnHover?: boolean;
|
|
143
143
|
[key: string]: any;
|
|
144
144
|
}
|
|
145
|
-
declare const BlockAction:
|
|
145
|
+
declare const BlockAction: React__default.FC<BlockActionProps>;
|
|
146
146
|
|
|
147
147
|
interface BlockActionControlProps {
|
|
148
148
|
/** 1 and only one single element */
|
|
@@ -150,7 +150,7 @@ interface BlockActionControlProps {
|
|
|
150
150
|
className?: string;
|
|
151
151
|
[key: string]: any;
|
|
152
152
|
}
|
|
153
|
-
declare const BlockActionControl:
|
|
153
|
+
declare const BlockActionControl: React__default.FC<BlockActionControlProps>;
|
|
154
154
|
|
|
155
155
|
interface BlockActionIndicatorProps {
|
|
156
156
|
/** 1 and only one single element */
|
|
@@ -158,7 +158,7 @@ interface BlockActionIndicatorProps {
|
|
|
158
158
|
className?: string;
|
|
159
159
|
[key: string]: any;
|
|
160
160
|
}
|
|
161
|
-
declare const BlockActionIndicator:
|
|
161
|
+
declare const BlockActionIndicator: React__default.FC<BlockActionIndicatorProps>;
|
|
162
162
|
|
|
163
163
|
interface BlockActionOverrideProps {
|
|
164
164
|
/** 1 and only one single element */
|
|
@@ -167,7 +167,7 @@ interface BlockActionOverrideProps {
|
|
|
167
167
|
[key: string]: any;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
declare const BlockActionOverride:
|
|
170
|
+
declare const BlockActionOverride: React__default.FC<BlockActionOverrideProps>;
|
|
171
171
|
|
|
172
172
|
declare const bodyBannerColors: readonly ["background-primary", "background-accent", "surface-subtle"];
|
|
173
173
|
type BodyBannerColor = (typeof bodyBannerColors)[number];
|
|
@@ -178,15 +178,15 @@ interface BodyBannerProps {
|
|
|
178
178
|
/** Additional CSS classes */
|
|
179
179
|
className?: string;
|
|
180
180
|
/** Image element */
|
|
181
|
-
image?:
|
|
181
|
+
image?: React__default.ReactNode;
|
|
182
182
|
/** Content area - typically heading and description */
|
|
183
|
-
children?:
|
|
183
|
+
children?: React__default.ReactNode;
|
|
184
184
|
/** Button text */
|
|
185
185
|
buttonText?: string;
|
|
186
186
|
/** Additional CSS classes for button */
|
|
187
187
|
buttonClassName?: string;
|
|
188
188
|
}
|
|
189
|
-
declare const BodyBanner: ({ className, size, color, image, children, buttonText, buttonClassName, ...other }: BodyBannerProps) =>
|
|
189
|
+
declare const BodyBanner: ({ className, size, color, image, children, buttonText, buttonClassName, ...other }: BodyBannerProps) => React__default.JSX.Element;
|
|
190
190
|
|
|
191
191
|
interface BreadcrumbItemData {
|
|
192
192
|
/** Item text */
|
|
@@ -209,7 +209,7 @@ declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
|
|
|
209
209
|
type ButtonSize = "small" | "large";
|
|
210
210
|
type ButtonType = "primary" | "fill" | "ghost";
|
|
211
211
|
interface CommonProps$2 {
|
|
212
|
-
elemRef?:
|
|
212
|
+
elemRef?: React__default.Ref<any>;
|
|
213
213
|
htmlType?: "button" | "submit" | "reset";
|
|
214
214
|
isActive?: boolean;
|
|
215
215
|
isDefault?: boolean;
|
|
@@ -218,20 +218,20 @@ interface CommonProps$2 {
|
|
|
218
218
|
size?: ButtonSize;
|
|
219
219
|
type?: ButtonType;
|
|
220
220
|
className?: string;
|
|
221
|
-
children?:
|
|
221
|
+
children?: React__default.ReactNode;
|
|
222
222
|
preserveWidth?: boolean;
|
|
223
223
|
}
|
|
224
|
-
type AnchorProps$1 = CommonProps$2 & Omit<
|
|
224
|
+
type AnchorProps$1 = CommonProps$2 & Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$2 | "type" | "ref"> & {
|
|
225
225
|
href: string;
|
|
226
226
|
};
|
|
227
|
-
type NativeButtonProps = CommonProps$2 & Omit<
|
|
227
|
+
type NativeButtonProps = CommonProps$2 & Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps$2 | "href" | "ref"> & {
|
|
228
228
|
href?: undefined;
|
|
229
229
|
};
|
|
230
230
|
type ButtonProps$2 = AnchorProps$1 | NativeButtonProps;
|
|
231
|
-
declare const Button:
|
|
231
|
+
declare const Button: React__default.ForwardRefExoticComponent<ButtonProps$2 & React__default.RefAttributes<any>>;
|
|
232
232
|
|
|
233
233
|
type IconPosition = "left" | "right";
|
|
234
|
-
interface IconButtonProps extends Omit<
|
|
234
|
+
interface IconButtonProps extends Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
|
|
235
235
|
/** Name of the icon */
|
|
236
236
|
iconName: string;
|
|
237
237
|
/** Position of the icon */
|
|
@@ -242,20 +242,20 @@ interface IconButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
242
242
|
size?: ButtonSize;
|
|
243
243
|
/** Use square button. Children are rendered as visually hidden */
|
|
244
244
|
isSquare?: boolean;
|
|
245
|
-
children?:
|
|
245
|
+
children?: React__default.ReactNode;
|
|
246
246
|
}
|
|
247
|
-
declare const IconButton:
|
|
247
|
+
declare const IconButton: React__default.ForwardRefExoticComponent<IconButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
248
248
|
|
|
249
249
|
declare const ButtonPrimary: {
|
|
250
|
-
(props: ButtonProps$2):
|
|
250
|
+
(props: ButtonProps$2): React$1.JSX.Element;
|
|
251
251
|
displayName: string;
|
|
252
252
|
};
|
|
253
253
|
declare const ButtonFill: {
|
|
254
|
-
(props: ButtonProps$2):
|
|
254
|
+
(props: ButtonProps$2): React$1.JSX.Element;
|
|
255
255
|
displayName: string;
|
|
256
256
|
};
|
|
257
257
|
declare const ButtonGhost: {
|
|
258
|
-
(props: ButtonProps$2):
|
|
258
|
+
(props: ButtonProps$2): React$1.JSX.Element;
|
|
259
259
|
displayName: string;
|
|
260
260
|
};
|
|
261
261
|
|
|
@@ -269,30 +269,30 @@ declare const Buttons: React.FC<ButtonsProps>;
|
|
|
269
269
|
|
|
270
270
|
declare const cardColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
|
|
271
271
|
type CardColor = (typeof cardColors)[number];
|
|
272
|
-
interface CardProps extends
|
|
272
|
+
interface CardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
273
273
|
/** Custom background color */
|
|
274
274
|
color?: CardColor;
|
|
275
275
|
noBorder?: boolean;
|
|
276
276
|
}
|
|
277
|
-
declare const Card:
|
|
277
|
+
declare const Card: React__default.ForwardRefExoticComponent<CardProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
278
278
|
|
|
279
|
-
interface CardProductHeaderProps extends
|
|
280
|
-
image?:
|
|
279
|
+
interface CardProductHeaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
280
|
+
image?: React__default.ReactNode;
|
|
281
281
|
/** Use small spacing */
|
|
282
282
|
space?: "small";
|
|
283
283
|
}
|
|
284
|
-
declare const CardProductHeader:
|
|
284
|
+
declare const CardProductHeader: React__default.ForwardRefExoticComponent<CardProductHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
285
285
|
|
|
286
286
|
type CardSectionColor = (typeof cardColors)[number];
|
|
287
|
-
interface CardSectionProps extends
|
|
287
|
+
interface CardSectionProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
288
288
|
/** Custom background color */
|
|
289
289
|
color?: CardSectionColor;
|
|
290
290
|
/** Fill available space using flexbox */
|
|
291
291
|
isFilling?: boolean;
|
|
292
|
-
/** Use
|
|
293
|
-
space?: "small";
|
|
292
|
+
/** Use spacing variant */
|
|
293
|
+
space?: "small" | "large";
|
|
294
294
|
}
|
|
295
|
-
declare const CardSection:
|
|
295
|
+
declare const CardSection: React__default.ForwardRefExoticComponent<CardSectionProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
296
296
|
|
|
297
297
|
interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
298
298
|
/** Swiper.js (https://swiperjs.com/) options object */
|
|
@@ -305,14 +305,14 @@ interface CarouselProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
305
305
|
bleedRight?: boolean;
|
|
306
306
|
className?: string;
|
|
307
307
|
}
|
|
308
|
-
declare const Carousel:
|
|
308
|
+
declare const Carousel: React__default.FC<CarouselProps>;
|
|
309
309
|
|
|
310
310
|
interface CarouselHeroItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
311
311
|
className?: string;
|
|
312
312
|
children?: ReactNode;
|
|
313
313
|
image: string;
|
|
314
314
|
}
|
|
315
|
-
declare const CarouselHeroItem:
|
|
315
|
+
declare const CarouselHeroItem: React__default.FC<CarouselHeroItemProps>;
|
|
316
316
|
|
|
317
317
|
interface TabItem {
|
|
318
318
|
label: string;
|
|
@@ -328,7 +328,7 @@ interface CarouselHeroProps {
|
|
|
328
328
|
enableAutoplay?: boolean;
|
|
329
329
|
[key: string]: any;
|
|
330
330
|
}
|
|
331
|
-
declare const CarouselHero:
|
|
331
|
+
declare const CarouselHero: React__default.FC<CarouselHeroProps>;
|
|
332
332
|
|
|
333
333
|
interface CarouselPromotionsProps {
|
|
334
334
|
className?: string;
|
|
@@ -336,7 +336,7 @@ interface CarouselPromotionsProps {
|
|
|
336
336
|
children?: ReactNode;
|
|
337
337
|
[key: string]: any;
|
|
338
338
|
}
|
|
339
|
-
declare const CarouselPromotions:
|
|
339
|
+
declare const CarouselPromotions: React__default.FC<CarouselPromotionsProps>;
|
|
340
340
|
|
|
341
341
|
interface Price {
|
|
342
342
|
monthly?: number;
|
|
@@ -384,19 +384,19 @@ interface CartTableProps {
|
|
|
384
384
|
labels?: Labels;
|
|
385
385
|
size?: "large";
|
|
386
386
|
}
|
|
387
|
-
declare const CartTable:
|
|
387
|
+
declare const CartTable: React__default.FC<CartTableProps>;
|
|
388
388
|
|
|
389
|
-
declare const Container:
|
|
389
|
+
declare const Container: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
390
390
|
|
|
391
|
-
interface IControlsProps extends
|
|
392
|
-
elemRef?:
|
|
391
|
+
interface IControlsProps extends React__default.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
392
|
+
elemRef?: React__default.Ref<any>;
|
|
393
393
|
icon: string;
|
|
394
394
|
className?: string;
|
|
395
395
|
isDisabled?: boolean;
|
|
396
396
|
}
|
|
397
|
-
declare const Controls:
|
|
397
|
+
declare const Controls: React__default.ForwardRefExoticComponent<IControlsProps & Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "ref" | "href" | keyof IControlsProps> & {
|
|
398
398
|
href?: undefined;
|
|
399
|
-
} &
|
|
399
|
+
} & React__default.RefAttributes<any>>;
|
|
400
400
|
|
|
401
401
|
interface CoverProps {
|
|
402
402
|
/** Background image source. URL string or an object of breakpoint: url pairs
|
|
@@ -433,11 +433,11 @@ interface CoverProps {
|
|
|
433
433
|
/** Additional className for the cover container */
|
|
434
434
|
className?: string;
|
|
435
435
|
/** Children content */
|
|
436
|
-
children?:
|
|
436
|
+
children?: React__default.ReactNode;
|
|
437
437
|
/** Additional props passed to Image component */
|
|
438
438
|
[key: string]: any;
|
|
439
439
|
}
|
|
440
|
-
declare const Cover:
|
|
440
|
+
declare const Cover: React__default.FC<CoverProps>;
|
|
441
441
|
|
|
442
442
|
interface DividerProps extends Omit<HTMLAttributes<HTMLDivElement>, "content"> {
|
|
443
443
|
/** Custom content inside divider */
|
|
@@ -445,7 +445,7 @@ interface DividerProps extends Omit<HTMLAttributes<HTMLDivElement>, "content"> {
|
|
|
445
445
|
/** Icon which will be rendered inside divider */
|
|
446
446
|
icon?: string;
|
|
447
447
|
}
|
|
448
|
-
declare const Divider:
|
|
448
|
+
declare const Divider: React__default.FC<DividerProps>;
|
|
449
449
|
|
|
450
450
|
type DropdownButtonProps = {
|
|
451
451
|
className?: string;
|
|
@@ -464,9 +464,9 @@ type DropdownProps = {
|
|
|
464
464
|
className?: string;
|
|
465
465
|
[key: string]: any;
|
|
466
466
|
};
|
|
467
|
-
declare const Dropdown:
|
|
467
|
+
declare const Dropdown: React__default.FC<DropdownProps>;
|
|
468
468
|
|
|
469
|
-
declare const DropdownDivider:
|
|
469
|
+
declare const DropdownDivider: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
470
470
|
|
|
471
471
|
interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
472
472
|
className?: string;
|
|
@@ -474,19 +474,19 @@ interface DropdownItemProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
474
474
|
disabled?: boolean;
|
|
475
475
|
href?: string;
|
|
476
476
|
}
|
|
477
|
-
declare const DropdownItem:
|
|
477
|
+
declare const DropdownItem: React__default.FC<DropdownItemProps>;
|
|
478
478
|
|
|
479
|
-
interface DropdownToggleButtonProps extends
|
|
479
|
+
interface DropdownToggleButtonProps extends React__default.HTMLAttributes<HTMLButtonElement> {
|
|
480
480
|
id: string;
|
|
481
481
|
className?: string;
|
|
482
482
|
}
|
|
483
|
-
declare const DropdownToggleButton:
|
|
483
|
+
declare const DropdownToggleButton: React__default.FC<DropdownToggleButtonProps>;
|
|
484
484
|
|
|
485
485
|
interface ExpanderProps {
|
|
486
486
|
/** Custom summary text renderer. Passes props as function parameter. */
|
|
487
|
-
renderSummary?: (props: ExpanderProps) =>
|
|
487
|
+
renderSummary?: (props: ExpanderProps) => React__default.ReactNode;
|
|
488
488
|
/** Custom summary text renderer when details are opened. Passes props as function parameter. */
|
|
489
|
-
renderSummaryOpened?: (props: ExpanderProps) =>
|
|
489
|
+
renderSummaryOpened?: (props: ExpanderProps) => React__default.ReactNode;
|
|
490
490
|
/** Trigger text */
|
|
491
491
|
summary?: string;
|
|
492
492
|
/** Trigger text when details are opened */
|
|
@@ -494,7 +494,7 @@ interface ExpanderProps {
|
|
|
494
494
|
/** Additional CSS classes */
|
|
495
495
|
className?: string;
|
|
496
496
|
/** Child elements */
|
|
497
|
-
children?:
|
|
497
|
+
children?: React__default.ReactNode;
|
|
498
498
|
/** Expander takes full width of its container */
|
|
499
499
|
isFullWidth?: boolean;
|
|
500
500
|
/** Position of trigger relative to content when opened */
|
|
@@ -504,15 +504,15 @@ interface ExpanderProps {
|
|
|
504
504
|
/** Initial open state */
|
|
505
505
|
open?: boolean;
|
|
506
506
|
}
|
|
507
|
-
declare const Expander:
|
|
507
|
+
declare const Expander: React__default.FC<ExpanderProps>;
|
|
508
508
|
|
|
509
509
|
interface AccordionProps {
|
|
510
510
|
/** Additional CSS classes */
|
|
511
511
|
className?: string;
|
|
512
512
|
}
|
|
513
513
|
declare const FeatureAccordion: (props: AccordionProps & {
|
|
514
|
-
children:
|
|
515
|
-
}) =>
|
|
514
|
+
children: React__default.ReactNode;
|
|
515
|
+
}) => React__default.JSX.Element;
|
|
516
516
|
|
|
517
517
|
interface FeatureAccordionItemProps extends AccordionItemProps {
|
|
518
518
|
image?: string | object;
|
|
@@ -521,13 +521,13 @@ interface FeatureAccordionItemProps extends AccordionItemProps {
|
|
|
521
521
|
imageSrcSet?: string;
|
|
522
522
|
[key: string]: any;
|
|
523
523
|
}
|
|
524
|
-
declare const FeatureAccordionItem:
|
|
524
|
+
declare const FeatureAccordionItem: React__default.FC<FeatureAccordionItemProps>;
|
|
525
525
|
|
|
526
526
|
type AutocompleteOption = string | {
|
|
527
527
|
title: string;
|
|
528
528
|
value: string;
|
|
529
529
|
};
|
|
530
|
-
interface AutocompleteProps extends Omit<
|
|
530
|
+
interface AutocompleteProps extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "size" | "value"> {
|
|
531
531
|
/** Module config. For more see accessible-autocomplete docs */
|
|
532
532
|
autocompleteConfig?: Record<string, any>;
|
|
533
533
|
/** Array of string options */
|
|
@@ -539,10 +539,10 @@ interface AutocompleteProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelect
|
|
|
539
539
|
/** Select value */
|
|
540
540
|
value?: string | string[];
|
|
541
541
|
}
|
|
542
|
-
declare const Autocomplete:
|
|
542
|
+
declare const Autocomplete: React__default.FC<AutocompleteProps>;
|
|
543
543
|
|
|
544
544
|
type CheckboxSize = "default" | "large";
|
|
545
|
-
interface CheckboxProps extends Omit<
|
|
545
|
+
interface CheckboxProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
546
546
|
/** Html id attribute */
|
|
547
547
|
id: string;
|
|
548
548
|
/** Checked state. */
|
|
@@ -559,7 +559,7 @@ interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElemen
|
|
|
559
559
|
size?: CheckboxSize;
|
|
560
560
|
className?: string;
|
|
561
561
|
}
|
|
562
|
-
declare const Checkbox:
|
|
562
|
+
declare const Checkbox: React__default.FC<CheckboxProps>;
|
|
563
563
|
|
|
564
564
|
interface FieldContextType {
|
|
565
565
|
controlId?: string;
|
|
@@ -581,35 +581,35 @@ interface FieldContextType {
|
|
|
581
581
|
interface InputFieldProps {
|
|
582
582
|
className?: string;
|
|
583
583
|
control: FieldContextType["control"];
|
|
584
|
-
hint?:
|
|
585
|
-
label?:
|
|
586
|
-
labelAfter?:
|
|
584
|
+
hint?: React__default.ReactNode;
|
|
585
|
+
label?: React__default.ReactNode;
|
|
586
|
+
labelAfter?: React__default.ReactNode;
|
|
587
587
|
messages?: Array<{
|
|
588
588
|
type: string;
|
|
589
589
|
text: string;
|
|
590
590
|
}>;
|
|
591
|
-
tooltip?:
|
|
591
|
+
tooltip?: React__default.ReactNode;
|
|
592
592
|
[key: string]: any;
|
|
593
593
|
}
|
|
594
|
-
declare const Field:
|
|
594
|
+
declare const Field: React__default.FC<InputFieldProps>;
|
|
595
595
|
|
|
596
596
|
interface FieldsetMessage {
|
|
597
597
|
[key: string]: any;
|
|
598
598
|
}
|
|
599
|
-
interface FieldsetProps extends
|
|
599
|
+
interface FieldsetProps extends React__default.FieldsetHTMLAttributes<HTMLFieldSetElement> {
|
|
600
600
|
/** Required `<legend />` for fieldset */
|
|
601
601
|
legend: ReactNode;
|
|
602
602
|
/** Additional legend props */
|
|
603
|
-
legendProps?:
|
|
603
|
+
legendProps?: React__default.HTMLAttributes<HTMLLegendElement>;
|
|
604
604
|
description?: ReactNode;
|
|
605
605
|
messages?: FieldsetMessage[];
|
|
606
606
|
className?: string;
|
|
607
607
|
children?: ReactNode;
|
|
608
608
|
}
|
|
609
|
-
declare const Fieldset:
|
|
609
|
+
declare const Fieldset: React__default.FC<FieldsetProps>;
|
|
610
610
|
|
|
611
611
|
type FileSize = "default" | "large";
|
|
612
|
-
interface FileProps extends Omit<
|
|
612
|
+
interface FileProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
613
613
|
/** Html id attribute. Generated automatically if omitted. */
|
|
614
614
|
id?: string;
|
|
615
615
|
/** Disabled state. */
|
|
@@ -637,13 +637,13 @@ interface GroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
637
637
|
/** Invalid state */
|
|
638
638
|
isInvalid?: boolean;
|
|
639
639
|
}
|
|
640
|
-
declare const Group:
|
|
640
|
+
declare const Group: React__default.FC<GroupProps>;
|
|
641
641
|
|
|
642
|
-
interface HintProps extends
|
|
642
|
+
interface HintProps extends React__default.HTMLAttributes<HTMLParagraphElement> {
|
|
643
643
|
className?: string;
|
|
644
|
-
children?:
|
|
644
|
+
children?: React__default.ReactNode;
|
|
645
645
|
}
|
|
646
|
-
declare const Hint:
|
|
646
|
+
declare const Hint: React__default.FC<HintProps>;
|
|
647
647
|
|
|
648
648
|
interface InputStepperConfig {
|
|
649
649
|
min?: number;
|
|
@@ -663,28 +663,28 @@ interface InputStepperProps {
|
|
|
663
663
|
className?: string;
|
|
664
664
|
[key: string]: any;
|
|
665
665
|
}
|
|
666
|
-
declare const InputStepper:
|
|
666
|
+
declare const InputStepper: React__default.FC<InputStepperProps>;
|
|
667
667
|
|
|
668
|
-
interface LabelProps extends
|
|
668
|
+
interface LabelProps extends React__default.LabelHTMLAttributes<HTMLLabelElement> {
|
|
669
669
|
htmlFor: string;
|
|
670
670
|
className?: string;
|
|
671
|
-
children?:
|
|
671
|
+
children?: React__default.ReactNode;
|
|
672
672
|
}
|
|
673
|
-
declare const Label:
|
|
673
|
+
declare const Label: React__default.FC<LabelProps>;
|
|
674
674
|
|
|
675
675
|
type MessageType = "info" | "warning" | "error" | "invalid";
|
|
676
|
-
interface MessageProps extends
|
|
676
|
+
interface MessageProps extends React__default.HTMLAttributes<HTMLParagraphElement> {
|
|
677
677
|
/** Type of message */
|
|
678
678
|
type?: MessageType;
|
|
679
679
|
/** Additional CSS classes */
|
|
680
680
|
className?: string;
|
|
681
681
|
/** Message content */
|
|
682
|
-
children?:
|
|
682
|
+
children?: React__default.ReactNode;
|
|
683
683
|
}
|
|
684
|
-
declare const Message:
|
|
684
|
+
declare const Message: React__default.FC<MessageProps>;
|
|
685
685
|
|
|
686
686
|
type RadioSize = "default" | "large";
|
|
687
|
-
interface RadioProps extends Omit<
|
|
687
|
+
interface RadioProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
688
688
|
/** Html id attribute */
|
|
689
689
|
id: string;
|
|
690
690
|
/** Checked state. */
|
|
@@ -701,7 +701,7 @@ interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>,
|
|
|
701
701
|
value?: string;
|
|
702
702
|
className?: string;
|
|
703
703
|
}
|
|
704
|
-
declare const Radio:
|
|
704
|
+
declare const Radio: React__default.FC<RadioProps>;
|
|
705
705
|
|
|
706
706
|
type RangeSliderWidth = "default" | "fullwidth";
|
|
707
707
|
interface RangeSliderConfig {
|
|
@@ -722,13 +722,13 @@ interface RangeSliderConfig {
|
|
|
722
722
|
start: number[];
|
|
723
723
|
[key: string]: any;
|
|
724
724
|
}
|
|
725
|
-
interface RangeSliderProps extends
|
|
725
|
+
interface RangeSliderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
726
726
|
/** [noUiSlider config object](https://refreshless.com/nouislider/slider-options/) */
|
|
727
727
|
config: RangeSliderConfig;
|
|
728
728
|
/** insert arbitrary element after rangeslider */
|
|
729
|
-
elementAfter?:
|
|
729
|
+
elementAfter?: React__default.ReactNode;
|
|
730
730
|
/** insert arbitrary element before rangeslider */
|
|
731
|
-
elementBefore?:
|
|
731
|
+
elementBefore?: React__default.ReactNode;
|
|
732
732
|
/** render data-rangeslider attribute and initialize RangeSlider.static.js */
|
|
733
733
|
hasDataAttr?: boolean;
|
|
734
734
|
/** element id. required by RangeSlider.static.js and generated automatically in React environment. */
|
|
@@ -740,7 +740,7 @@ interface RangeSliderProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
740
740
|
/** Additional CSS classes */
|
|
741
741
|
className?: string;
|
|
742
742
|
}
|
|
743
|
-
declare const RangeSlider:
|
|
743
|
+
declare const RangeSlider: React__default.FC<RangeSliderProps>;
|
|
744
744
|
|
|
745
745
|
type SelectOption = {
|
|
746
746
|
text: string;
|
|
@@ -748,9 +748,9 @@ type SelectOption = {
|
|
|
748
748
|
} | string;
|
|
749
749
|
type SelectSize = "default" | "large";
|
|
750
750
|
type SelectWidth = "default" | "12ch" | "shrink" | "fullwidth";
|
|
751
|
-
interface SelectProps extends Omit<
|
|
751
|
+
interface SelectProps extends Omit<React__default.SelectHTMLAttributes<HTMLSelectElement>, "size"> {
|
|
752
752
|
/** Forwarded DOM element ref. */
|
|
753
|
-
elemRef?:
|
|
753
|
+
elemRef?: React__default.Ref<HTMLSelectElement>;
|
|
754
754
|
/** Html id attribute. */
|
|
755
755
|
id?: string;
|
|
756
756
|
/** Disabled state. */
|
|
@@ -770,13 +770,13 @@ interface SelectProps extends Omit<React$1.SelectHTMLAttributes<HTMLSelectElemen
|
|
|
770
770
|
/** Additional CSS classes */
|
|
771
771
|
className?: string;
|
|
772
772
|
/** Child elements */
|
|
773
|
-
children?:
|
|
773
|
+
children?: React__default.ReactNode;
|
|
774
774
|
}
|
|
775
|
-
declare const Select:
|
|
775
|
+
declare const Select: React__default.FC<SelectProps>;
|
|
776
776
|
|
|
777
777
|
type TextAreaSize = "default" | "large";
|
|
778
778
|
type TextAreaWidth = "default" | "fullwidth";
|
|
779
|
-
interface TextAreaProps extends
|
|
779
|
+
interface TextAreaProps extends React__default.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
780
780
|
/** Html id attribute. */
|
|
781
781
|
id: string;
|
|
782
782
|
/** Disabled state. */
|
|
@@ -798,15 +798,15 @@ interface TextAreaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaEleme
|
|
|
798
798
|
/** Additional CSS classes */
|
|
799
799
|
className?: string;
|
|
800
800
|
/** Child elements */
|
|
801
|
-
children?:
|
|
801
|
+
children?: React__default.ReactNode;
|
|
802
802
|
}
|
|
803
|
-
declare const TextArea:
|
|
803
|
+
declare const TextArea: React__default.FC<TextAreaProps>;
|
|
804
804
|
|
|
805
805
|
type TextInputSize = "default" | "large";
|
|
806
806
|
type TextInputWidth = "3ch" | "8ch" | "12ch" | "default" | "fullwidth";
|
|
807
807
|
type TextInputType = "email" | "hidden" | "password" | "search" | "tel" | "number" | "text" | "url";
|
|
808
808
|
type TextInputSearchIcon = "none" | "transient" | "persistent";
|
|
809
|
-
interface TextInputProps extends Omit<
|
|
809
|
+
interface TextInputProps extends Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
810
810
|
/** Input html type. */
|
|
811
811
|
htmlType?: TextInputType;
|
|
812
812
|
/** Html id attribute. */
|
|
@@ -834,41 +834,41 @@ interface TextInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEleme
|
|
|
834
834
|
/** Search icon mode. `transient` shows icon only on empty unfocused input, `persistent` keeps it visible with placeholder. */
|
|
835
835
|
searchIcon?: TextInputSearchIcon;
|
|
836
836
|
}
|
|
837
|
-
declare const TextInput:
|
|
837
|
+
declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
838
838
|
|
|
839
839
|
interface GaugeProps {
|
|
840
840
|
/** Text inside the gauge */
|
|
841
|
-
children?:
|
|
841
|
+
children?: React__default.ReactNode;
|
|
842
842
|
/** Value filling the gauge */
|
|
843
843
|
percentage?: number;
|
|
844
844
|
className?: string;
|
|
845
845
|
[key: string]: any;
|
|
846
846
|
}
|
|
847
|
-
declare const Gauge:
|
|
847
|
+
declare const Gauge: React__default.ForwardRefExoticComponent<Omit<GaugeProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
848
848
|
|
|
849
849
|
type GridVAlign = "stretch" | "start" | "end" | "center";
|
|
850
850
|
type GridHAlign = "end" | "center" | "space-around" | "space-between";
|
|
851
851
|
type GridRowGapSize = "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | Record<string, "none" | "xsmall" | "small" | "medium" | "large" | "xlarge">;
|
|
852
852
|
type GridColumnGapSize = "none" | "small" | "default" | "large" | "xlarge" | Record<string, "none" | "small" | "default" | "large" | "xlarge">;
|
|
853
|
-
interface GridProps extends
|
|
853
|
+
interface GridProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
854
854
|
vAlign?: GridVAlign;
|
|
855
855
|
hAlign?: GridHAlign;
|
|
856
|
-
tag?:
|
|
856
|
+
tag?: React__default.ElementType;
|
|
857
857
|
justifyHeight?: boolean;
|
|
858
858
|
rowGapSize?: GridRowGapSize;
|
|
859
859
|
columnGapSize?: GridColumnGapSize;
|
|
860
860
|
}
|
|
861
|
-
declare const Grid:
|
|
861
|
+
declare const Grid: React__default.ForwardRefExoticComponent<GridProps & React__default.RefAttributes<HTMLElement>>;
|
|
862
862
|
|
|
863
863
|
type GridColAlign = "top" | "middle" | "bottom" | "stretch";
|
|
864
864
|
type GridColSize = number | "shrink" | "fill" | "auto" | Record<string, number | "shrink" | "fill" | "auto">;
|
|
865
|
-
interface GridColProps extends
|
|
865
|
+
interface GridColProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
866
866
|
align?: GridColAlign;
|
|
867
|
-
tag?:
|
|
867
|
+
tag?: React__default.ElementType;
|
|
868
868
|
size?: GridColSize;
|
|
869
869
|
}
|
|
870
870
|
declare const GridCol: {
|
|
871
|
-
({ className, align, tag, size, ...other }: GridColProps):
|
|
871
|
+
({ className, align, tag, size, ...other }: GridColProps): React__default.JSX.Element;
|
|
872
872
|
displayName: string;
|
|
873
873
|
};
|
|
874
874
|
|
|
@@ -889,24 +889,24 @@ interface HeroImageResponsive {
|
|
|
889
889
|
type HeroImage = HeroImageSrc | HeroImageResponsive;
|
|
890
890
|
interface HeroPriceObject {
|
|
891
891
|
amount: number;
|
|
892
|
-
prefix?:
|
|
893
|
-
suffix?:
|
|
892
|
+
prefix?: React__default.ReactNode;
|
|
893
|
+
suffix?: React__default.ReactNode;
|
|
894
894
|
}
|
|
895
895
|
type HeroPrice = string | HeroPriceObject;
|
|
896
896
|
interface HeroButtonProps {
|
|
897
|
-
children:
|
|
897
|
+
children: React__default.ReactNode;
|
|
898
898
|
[key: string]: any;
|
|
899
899
|
}
|
|
900
900
|
interface HeroStickerProps {
|
|
901
901
|
color?: StickerColor;
|
|
902
|
-
children?:
|
|
902
|
+
children?: React__default.ReactNode;
|
|
903
903
|
className?: string;
|
|
904
904
|
}
|
|
905
905
|
interface HeroProps {
|
|
906
906
|
/** Action button props */
|
|
907
907
|
button?: HeroButtonProps;
|
|
908
908
|
/** Main text */
|
|
909
|
-
description?:
|
|
909
|
+
description?: React__default.ReactNode;
|
|
910
910
|
hasFullwidthImage?: boolean;
|
|
911
911
|
/** Gradient overlay ensures proper text readability */
|
|
912
912
|
hasGradientOverlay?: boolean;
|
|
@@ -919,12 +919,12 @@ interface HeroProps {
|
|
|
919
919
|
/** Hero title */
|
|
920
920
|
title: string;
|
|
921
921
|
}
|
|
922
|
-
declare const Hero:
|
|
922
|
+
declare const Hero: React__default.FC<HeroProps>;
|
|
923
923
|
|
|
924
924
|
type IconColor = "info" | "success" | "warning" | "danger" | "orange";
|
|
925
925
|
type IconSize = "small" | "medium" | "large" | "xlarge" | "xxlarge" | "huge";
|
|
926
926
|
type IconType = "icon" | "pictogram";
|
|
927
|
-
interface IconProps extends
|
|
927
|
+
interface IconProps extends React__default.SVGAttributes<SVGSVGElement> {
|
|
928
928
|
/** Accessible label for the icon. */
|
|
929
929
|
alt?: string;
|
|
930
930
|
/** Icon color. */
|
|
@@ -948,7 +948,7 @@ interface IconProps extends React$1.SVGAttributes<SVGSVGElement> {
|
|
|
948
948
|
*/
|
|
949
949
|
className?: string;
|
|
950
950
|
}
|
|
951
|
-
declare const Icon:
|
|
951
|
+
declare const Icon: React__default.FC<IconProps>;
|
|
952
952
|
|
|
953
953
|
interface PictogramProps extends Omit<IconProps, "type"> {
|
|
954
954
|
/**
|
|
@@ -968,34 +968,34 @@ interface PictogramProps extends Omit<IconProps, "type"> {
|
|
|
968
968
|
* - Light version: Use the exact name provided (e.g., 'pictogram-skylink')
|
|
969
969
|
* - Dark version: Add '--dark' suffix (e.g., 'pictogram-skylink--dark')
|
|
970
970
|
*/
|
|
971
|
-
declare const Pictogram:
|
|
971
|
+
declare const Pictogram: React__default.FC<PictogramProps>;
|
|
972
972
|
|
|
973
|
-
declare const SpritePathContext:
|
|
973
|
+
declare const SpritePathContext: React__default.Context<string>;
|
|
974
974
|
interface SpritePathProviderProps {
|
|
975
975
|
children: ReactNode;
|
|
976
976
|
value?: string;
|
|
977
977
|
}
|
|
978
|
-
declare const SpritePathProvider:
|
|
978
|
+
declare const SpritePathProvider: React__default.FC<SpritePathProviderProps>;
|
|
979
979
|
|
|
980
980
|
interface IconListItem {
|
|
981
981
|
icon: string;
|
|
982
|
-
content:
|
|
983
|
-
tooltip?:
|
|
982
|
+
content: React__default.ReactNode;
|
|
983
|
+
tooltip?: React__default.ReactNode;
|
|
984
984
|
}
|
|
985
985
|
interface IconListProps {
|
|
986
986
|
items?: IconListItem[];
|
|
987
987
|
className?: string;
|
|
988
988
|
[key: string]: any;
|
|
989
989
|
}
|
|
990
|
-
declare const IconList:
|
|
990
|
+
declare const IconList: React__default.FC<IconListProps>;
|
|
991
991
|
|
|
992
992
|
interface ItemProps {
|
|
993
993
|
icon: string;
|
|
994
|
-
children:
|
|
995
|
-
tooltip?:
|
|
994
|
+
children: React__default.ReactNode;
|
|
995
|
+
tooltip?: React__default.ReactNode;
|
|
996
996
|
[key: string]: any;
|
|
997
997
|
}
|
|
998
|
-
declare const Item:
|
|
998
|
+
declare const Item: React__default.FC<ItemProps>;
|
|
999
999
|
|
|
1000
1000
|
interface ImageSrcObject {
|
|
1001
1001
|
default: string;
|
|
@@ -1014,7 +1014,7 @@ interface ImageProps {
|
|
|
1014
1014
|
className?: string;
|
|
1015
1015
|
[key: string]: any;
|
|
1016
1016
|
}
|
|
1017
|
-
declare const Image:
|
|
1017
|
+
declare const Image: React__default.FC<ImageProps>;
|
|
1018
1018
|
|
|
1019
1019
|
interface LinkProps$1 {
|
|
1020
1020
|
/** destination address */
|
|
@@ -1024,7 +1024,7 @@ interface LinkProps$1 {
|
|
|
1024
1024
|
/** additional CSS classes */
|
|
1025
1025
|
className?: string;
|
|
1026
1026
|
/** link content */
|
|
1027
|
-
children?:
|
|
1027
|
+
children?: React__default.ReactNode;
|
|
1028
1028
|
/** whether the link should be underlined */
|
|
1029
1029
|
isUnderline?: boolean;
|
|
1030
1030
|
/** whether the link should have normal font weight */
|
|
@@ -1032,7 +1032,7 @@ interface LinkProps$1 {
|
|
|
1032
1032
|
/** when true, adds the .no-accent modifier to disable orange accent color on hover (useful for dark backgrounds) */
|
|
1033
1033
|
noAccent?: boolean;
|
|
1034
1034
|
}
|
|
1035
|
-
declare const Link:
|
|
1035
|
+
declare const Link: React__default.FC<LinkProps$1 & React__default.HTMLAttributes<HTMLElement>>;
|
|
1036
1036
|
|
|
1037
1037
|
interface ListProps {
|
|
1038
1038
|
/** Size determines color of list items and color of their borders*/
|
|
@@ -1042,24 +1042,24 @@ interface ListProps {
|
|
|
1042
1042
|
/** Size determines vertical spacing */
|
|
1043
1043
|
size?: "small";
|
|
1044
1044
|
className?: string;
|
|
1045
|
-
children?:
|
|
1045
|
+
children?: React__default.ReactNode;
|
|
1046
1046
|
}
|
|
1047
|
-
declare const List:
|
|
1047
|
+
declare const List: React__default.FC<ListProps>;
|
|
1048
1048
|
|
|
1049
1049
|
interface ControlProps {
|
|
1050
1050
|
href?: string;
|
|
1051
1051
|
className?: string;
|
|
1052
|
-
children?:
|
|
1052
|
+
children?: React__default.ReactNode;
|
|
1053
1053
|
[key: string]: any;
|
|
1054
1054
|
}
|
|
1055
1055
|
interface ListItemProps {
|
|
1056
1056
|
/** Item with control props automatically creates a clickable item and renders an interactive element. If the object contains a href property, it renders an anchor element. If not, it renders a button of type="button" instead. */
|
|
1057
1057
|
controlProps?: ControlProps;
|
|
1058
1058
|
className?: string;
|
|
1059
|
-
children?:
|
|
1059
|
+
children?: React__default.ReactNode;
|
|
1060
1060
|
[key: string]: any;
|
|
1061
1061
|
}
|
|
1062
|
-
declare const ListItem:
|
|
1062
|
+
declare const ListItem: React__default.FC<ListItemProps>;
|
|
1063
1063
|
|
|
1064
1064
|
interface LoaderProps {
|
|
1065
1065
|
colour?: "default" | "inverse";
|
|
@@ -1072,13 +1072,13 @@ interface LoaderProps {
|
|
|
1072
1072
|
children?: ReactNode;
|
|
1073
1073
|
[key: string]: any;
|
|
1074
1074
|
}
|
|
1075
|
-
declare const Loader:
|
|
1075
|
+
declare const Loader: React__default.FC<LoaderProps>;
|
|
1076
1076
|
|
|
1077
1077
|
interface LoaderFullscreenProps {
|
|
1078
1078
|
className?: string;
|
|
1079
1079
|
children?: ReactNode;
|
|
1080
1080
|
}
|
|
1081
|
-
declare const LoaderFullscreen:
|
|
1081
|
+
declare const LoaderFullscreen: React__default.FC<LoaderFullscreenProps>;
|
|
1082
1082
|
|
|
1083
1083
|
type MegamenuProps = {
|
|
1084
1084
|
className?: string;
|
|
@@ -1088,15 +1088,15 @@ type MegamenuProps = {
|
|
|
1088
1088
|
searchFilled?: boolean;
|
|
1089
1089
|
compactLogoOnly?: boolean;
|
|
1090
1090
|
};
|
|
1091
|
-
declare const Megamenu: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) =>
|
|
1091
|
+
declare const Megamenu: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => React__default.JSX.Element;
|
|
1092
1092
|
|
|
1093
|
-
declare const MegamenuBlog: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) =>
|
|
1093
|
+
declare const MegamenuBlog: ({ className, title, isSticky, searchEmpty, searchFilled, compactLogoOnly, }: MegamenuProps) => React$1.JSX.Element;
|
|
1094
1094
|
|
|
1095
1095
|
declare const sizes$1: readonly ["small", "large"];
|
|
1096
1096
|
type ModalSize = (typeof sizes$1)[number];
|
|
1097
|
-
interface ModalProps extends
|
|
1097
|
+
interface ModalProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1098
1098
|
/** Action buttons in footer */
|
|
1099
|
-
actions?:
|
|
1099
|
+
actions?: React__default.ReactNode[];
|
|
1100
1100
|
/** Full height on XS */
|
|
1101
1101
|
fullHeight?: boolean;
|
|
1102
1102
|
/** Sticky footer is visible when modal content is too long */
|
|
@@ -1108,19 +1108,19 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1108
1108
|
/** Callback fired when modal is closed */
|
|
1109
1109
|
onHide?: () => void;
|
|
1110
1110
|
/** Custom header renderer. Receives id as function param. Returned element(s) must contain a header with close button. */
|
|
1111
|
-
renderHeader?: (id: string) =>
|
|
1111
|
+
renderHeader?: (id: string) => React__default.ReactNode;
|
|
1112
1112
|
/** Custom body renderer. Receives title as function param. Returned element(s) must contain a title. */
|
|
1113
|
-
renderBody?: () =>
|
|
1113
|
+
renderBody?: () => React__default.ReactNode;
|
|
1114
1114
|
/** Custom footer renderer. Receives actions as function param. Returned element(s) must contain the actions. */
|
|
1115
|
-
renderFooter?: () =>
|
|
1115
|
+
renderFooter?: () => React__default.ReactNode;
|
|
1116
1116
|
/** Custom main title renderer. Receives id as function param. Returned element must be a heading and use this id for accessibility purposes */
|
|
1117
|
-
renderTitle?: (id: string) =>
|
|
1117
|
+
renderTitle?: (id: string) => React__default.ReactNode;
|
|
1118
1118
|
/** Modal dialog size */
|
|
1119
1119
|
size?: ModalSize;
|
|
1120
1120
|
/** Main title */
|
|
1121
1121
|
title?: string;
|
|
1122
1122
|
/** Child elements */
|
|
1123
|
-
children?:
|
|
1123
|
+
children?: React__default.ReactNode;
|
|
1124
1124
|
/** Additional CSS classes */
|
|
1125
1125
|
className?: string;
|
|
1126
1126
|
/** Disables header paddings */
|
|
@@ -1128,18 +1128,18 @@ interface ModalProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1128
1128
|
/** Disables footer paddings */
|
|
1129
1129
|
disableFooterSpacing?: boolean;
|
|
1130
1130
|
}
|
|
1131
|
-
declare const Modal:
|
|
1131
|
+
declare const Modal: React__default.FC<ModalProps>;
|
|
1132
1132
|
|
|
1133
1133
|
declare const modalBodyColors: readonly ["background-primary", "background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-subtle", "fill-accent1", "fill-accent2", "fill-accent3", "fill-accent4", "fill-accent5"];
|
|
1134
1134
|
type ModalBodyColor = (typeof modalBodyColors)[number];
|
|
1135
|
-
interface ModalBodyProps extends
|
|
1135
|
+
interface ModalBodyProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1136
1136
|
color?: ModalBodyColor;
|
|
1137
1137
|
className?: string;
|
|
1138
|
-
children?:
|
|
1138
|
+
children?: React__default.ReactNode;
|
|
1139
1139
|
withTopPadding?: boolean;
|
|
1140
1140
|
disableSpacing?: boolean;
|
|
1141
1141
|
}
|
|
1142
|
-
declare const ModalBody:
|
|
1142
|
+
declare const ModalBody: React__default.FC<ModalBodyProps>;
|
|
1143
1143
|
|
|
1144
1144
|
interface ExtendedIconButtonProps extends IconButtonProps {
|
|
1145
1145
|
type?: ButtonType;
|
|
@@ -1147,22 +1147,22 @@ interface ExtendedIconButtonProps extends IconButtonProps {
|
|
|
1147
1147
|
type ModalCloseButtonProps = Omit<ExtendedIconButtonProps, "iconName">;
|
|
1148
1148
|
declare const ModalCloseButton: React.FC<ModalCloseButtonProps>;
|
|
1149
1149
|
|
|
1150
|
-
interface ModalProductFooterProps extends
|
|
1151
|
-
image?:
|
|
1150
|
+
interface ModalProductFooterProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1151
|
+
image?: React__default.ReactNode;
|
|
1152
1152
|
/** Use small spacing */
|
|
1153
1153
|
space?: "small";
|
|
1154
|
-
button?:
|
|
1154
|
+
button?: React__default.ReactNode;
|
|
1155
1155
|
}
|
|
1156
|
-
declare const ModalProductFooter:
|
|
1156
|
+
declare const ModalProductFooter: React__default.ForwardRefExoticComponent<ModalProductFooterProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1157
1157
|
|
|
1158
|
-
interface ModalProductHeaderProps extends
|
|
1159
|
-
image?:
|
|
1158
|
+
interface ModalProductHeaderProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1159
|
+
image?: React__default.ReactNode;
|
|
1160
1160
|
/** Use small spacing */
|
|
1161
1161
|
space?: "small";
|
|
1162
1162
|
/** Optional id for accessibility (e.g., for aria-labelledby) */
|
|
1163
1163
|
titleId?: string;
|
|
1164
1164
|
}
|
|
1165
|
-
declare const ModalProductHeader:
|
|
1165
|
+
declare const ModalProductHeader: React__default.ForwardRefExoticComponent<ModalProductHeaderProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1166
1166
|
|
|
1167
1167
|
declare const sizes: readonly ["small", "large"];
|
|
1168
1168
|
type TitleSize = (typeof sizes)[number];
|
|
@@ -1195,7 +1195,7 @@ interface PaginationProps {
|
|
|
1195
1195
|
/** Additional props */
|
|
1196
1196
|
[key: string]: any;
|
|
1197
1197
|
}
|
|
1198
|
-
declare const Pagination:
|
|
1198
|
+
declare const Pagination: React__default.FC<PaginationProps>;
|
|
1199
1199
|
|
|
1200
1200
|
declare const pillColors: readonly ["surface-primary", "surface-secondary", "surface-tertiary", "surface-subtle", "surface-moderate", "surface-contrast", "surface-accent", "fill-moderate", "fill-disabled", "transparent"];
|
|
1201
1201
|
type PillColor = (typeof pillColors)[number];
|
|
@@ -1205,21 +1205,21 @@ interface PillProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
1205
1205
|
color?: PillColor;
|
|
1206
1206
|
size?: "small" | "medium" | "large" | "xlarge" | "xxlarge";
|
|
1207
1207
|
}
|
|
1208
|
-
declare const Pill:
|
|
1208
|
+
declare const Pill: React__default.FC<PillProps>;
|
|
1209
1209
|
|
|
1210
1210
|
interface ProgressProps {
|
|
1211
1211
|
/** Color of the indicator */
|
|
1212
1212
|
color?: "orange" | "green" | "yellow" | "red" | "blue";
|
|
1213
1213
|
/** Provides clear instruction on what the horizontal bar represents */
|
|
1214
|
-
label:
|
|
1214
|
+
label: React__default.ReactNode;
|
|
1215
1215
|
/** Textual representation of the indicator */
|
|
1216
|
-
value:
|
|
1216
|
+
value: React__default.ReactNode;
|
|
1217
1217
|
/** Width of the progress indicator where 0 = empty, 1 = full */
|
|
1218
1218
|
width?: number;
|
|
1219
1219
|
className?: string;
|
|
1220
|
-
children?:
|
|
1220
|
+
children?: React__default.ReactNode;
|
|
1221
1221
|
}
|
|
1222
|
-
declare const Progress:
|
|
1222
|
+
declare const Progress: React__default.FC<ProgressProps>;
|
|
1223
1223
|
|
|
1224
1224
|
interface PromoBannerProps {
|
|
1225
1225
|
className?: string;
|
|
@@ -1232,50 +1232,50 @@ interface PromoBannerProps {
|
|
|
1232
1232
|
imageFullWidth?: boolean;
|
|
1233
1233
|
/** Make image extend to the edge of viewport even when inside container */
|
|
1234
1234
|
bleedImage?: boolean;
|
|
1235
|
-
children?:
|
|
1235
|
+
children?: React__default.ReactNode;
|
|
1236
1236
|
itemClassName?: string;
|
|
1237
1237
|
imageClassName?: string;
|
|
1238
1238
|
variant?: "vertical" | "reverse";
|
|
1239
1239
|
}
|
|
1240
|
-
declare const PromoBanner: ({ image, className, alignImage, flushTopSmDown, flushBottomSmDown, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, }: PromoBannerProps) =>
|
|
1240
|
+
declare const PromoBanner: ({ image, className, alignImage, flushTopSmDown, flushBottomSmDown, bleedImage, children, itemClassName, imageClassName, variant, imageFullWidth, ...other }: PromoBannerProps) => React__default.JSX.Element;
|
|
1241
1241
|
|
|
1242
1242
|
interface PromotionCardProps {
|
|
1243
1243
|
className?: string;
|
|
1244
|
-
children?:
|
|
1244
|
+
children?: React__default.ReactNode;
|
|
1245
1245
|
color?: CardColor;
|
|
1246
1246
|
[key: string]: any;
|
|
1247
1247
|
}
|
|
1248
|
-
declare const PromotionCard:
|
|
1248
|
+
declare const PromotionCard: React__default.FC<PromotionCardProps>;
|
|
1249
1249
|
|
|
1250
1250
|
interface PromotionCardContentProps {
|
|
1251
1251
|
className?: string;
|
|
1252
|
-
children?:
|
|
1252
|
+
children?: React__default.ReactNode;
|
|
1253
1253
|
[key: string]: any;
|
|
1254
1254
|
}
|
|
1255
|
-
declare const PromotionCardContent:
|
|
1255
|
+
declare const PromotionCardContent: React__default.FC<PromotionCardContentProps>;
|
|
1256
1256
|
|
|
1257
1257
|
interface PromotionCardImageWrapperProps {
|
|
1258
1258
|
className?: string;
|
|
1259
|
-
children?:
|
|
1259
|
+
children?: React__default.ReactNode;
|
|
1260
1260
|
[key: string]: any;
|
|
1261
1261
|
}
|
|
1262
|
-
declare const PromotionCardImageWrapper:
|
|
1262
|
+
declare const PromotionCardImageWrapper: React__default.FC<PromotionCardImageWrapperProps>;
|
|
1263
1263
|
|
|
1264
1264
|
interface PromotionCardSectionProps {
|
|
1265
1265
|
/** Inverse colors */
|
|
1266
1266
|
isInverse?: boolean;
|
|
1267
1267
|
className?: string;
|
|
1268
|
-
children?:
|
|
1268
|
+
children?: React__default.ReactNode;
|
|
1269
1269
|
[key: string]: any;
|
|
1270
1270
|
}
|
|
1271
|
-
declare const PromotionCardSection:
|
|
1271
|
+
declare const PromotionCardSection: React__default.FC<PromotionCardSectionProps>;
|
|
1272
1272
|
|
|
1273
1273
|
interface PromotionCardTitleProps {
|
|
1274
1274
|
className?: string;
|
|
1275
|
-
children:
|
|
1275
|
+
children: React__default.ReactElement;
|
|
1276
1276
|
[key: string]: any;
|
|
1277
1277
|
}
|
|
1278
|
-
declare const PromotionCardTitle:
|
|
1278
|
+
declare const PromotionCardTitle: React__default.FC<PromotionCardTitleProps>;
|
|
1279
1279
|
|
|
1280
1280
|
declare const sectionColors: readonly ["background-secondary", "background-contrast", "background-accent", "background-accent1-blog", "background-accent2-blog", "background-none", "surface-subtle"];
|
|
1281
1281
|
type SectionColor = (typeof sectionColors)[number];
|
|
@@ -1293,43 +1293,43 @@ interface SectionProps {
|
|
|
1293
1293
|
*/
|
|
1294
1294
|
spacing?: SectionSpacing;
|
|
1295
1295
|
/** Rendered HTML element */
|
|
1296
|
-
tag?:
|
|
1296
|
+
tag?: React__default.ElementType;
|
|
1297
1297
|
/** Additional CSS classes */
|
|
1298
1298
|
className?: string;
|
|
1299
1299
|
/** Section content */
|
|
1300
|
-
children?:
|
|
1300
|
+
children?: React__default.ReactNode;
|
|
1301
1301
|
/** Additional classes passed to the container */
|
|
1302
1302
|
containerClassName?: string;
|
|
1303
1303
|
}
|
|
1304
|
-
declare const Section:
|
|
1304
|
+
declare const Section: React__default.FC<SectionProps>;
|
|
1305
1305
|
|
|
1306
|
-
declare const Skeleton:
|
|
1306
|
+
declare const Skeleton: React__default.FC<React__default.HTMLAttributes<HTMLSpanElement>>;
|
|
1307
1307
|
|
|
1308
1308
|
interface SkipLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1309
1309
|
href?: string;
|
|
1310
1310
|
}
|
|
1311
|
-
declare const SkipLink:
|
|
1311
|
+
declare const SkipLink: React__default.FC<SkipLinkProps>;
|
|
1312
1312
|
|
|
1313
1313
|
type SocialName = "x" | "facebook-2" | "linkedin-2" | "instagram" | "pinterest" | "snapchat" | "tiktok" | "whatsapp" | "youtube" | "email";
|
|
1314
1314
|
type CommonProps$1 = {
|
|
1315
1315
|
name: SocialName;
|
|
1316
1316
|
className?: string;
|
|
1317
1317
|
};
|
|
1318
|
-
type ButtonProps$1 = CommonProps$1 & Omit<
|
|
1319
|
-
type LinkProps = CommonProps$1 & Omit<
|
|
1318
|
+
type ButtonProps$1 = CommonProps$1 & Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, "type" | keyof CommonProps$1>;
|
|
1319
|
+
type LinkProps = CommonProps$1 & Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps$1> & {
|
|
1320
1320
|
href: string;
|
|
1321
1321
|
};
|
|
1322
1322
|
type SocialButtonProps = ButtonProps$1 | LinkProps;
|
|
1323
|
-
declare const SocialButton:
|
|
1323
|
+
declare const SocialButton: React__default.ForwardRefExoticComponent<SocialButtonProps & React__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
1324
1324
|
|
|
1325
1325
|
declare const showTitlesFromOptions: readonly ["md", "lg", "xl"];
|
|
1326
1326
|
type ShowTitlesFrom = (typeof showTitlesFromOptions)[number];
|
|
1327
1327
|
interface StepbarStep {
|
|
1328
1328
|
href?: string;
|
|
1329
1329
|
isCurrent?: boolean;
|
|
1330
|
-
title:
|
|
1330
|
+
title: React__default.ReactNode;
|
|
1331
1331
|
}
|
|
1332
|
-
interface StepbarProps extends
|
|
1332
|
+
interface StepbarProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
1333
1333
|
/** Arial label of nav element */
|
|
1334
1334
|
label?: string;
|
|
1335
1335
|
/** Titles of non-current steps are visible from this breakpoint */
|
|
@@ -1337,32 +1337,32 @@ interface StepbarProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1337
1337
|
/** Array of step objects */
|
|
1338
1338
|
steps: StepbarStep[];
|
|
1339
1339
|
}
|
|
1340
|
-
declare const Stepbar:
|
|
1340
|
+
declare const Stepbar: React__default.FC<StepbarProps>;
|
|
1341
1341
|
|
|
1342
1342
|
interface StickerProps {
|
|
1343
1343
|
color?: "black" | "orange";
|
|
1344
1344
|
size?: "small";
|
|
1345
|
-
children?:
|
|
1345
|
+
children?: React__default.ReactNode;
|
|
1346
1346
|
className?: string;
|
|
1347
1347
|
[key: string]: any;
|
|
1348
1348
|
}
|
|
1349
|
-
declare const Sticker:
|
|
1349
|
+
declare const Sticker: React__default.FC<StickerProps>;
|
|
1350
1350
|
|
|
1351
1351
|
interface CellValue {
|
|
1352
|
-
value:
|
|
1352
|
+
value: React__default.ReactNode;
|
|
1353
1353
|
rawValue?: number | string;
|
|
1354
1354
|
[key: string]: any;
|
|
1355
1355
|
}
|
|
1356
1356
|
interface TableHeader {
|
|
1357
1357
|
key: string;
|
|
1358
|
-
label:
|
|
1358
|
+
label: React__default.ReactNode;
|
|
1359
1359
|
isSortable?: boolean;
|
|
1360
1360
|
sort?: "none" | "ascending" | "descending";
|
|
1361
|
-
cellProps?:
|
|
1362
|
-
headCellProps?:
|
|
1361
|
+
cellProps?: React__default.HTMLAttributes<HTMLTableCellElement>;
|
|
1362
|
+
headCellProps?: React__default.HTMLAttributes<HTMLTableCellElement>;
|
|
1363
1363
|
}
|
|
1364
1364
|
interface TableRow {
|
|
1365
|
-
[key: string]:
|
|
1365
|
+
[key: string]: React__default.ReactNode | CellValue | TableRow[] | boolean | undefined;
|
|
1366
1366
|
expand?: TableRow[];
|
|
1367
1367
|
isExpanded?: boolean;
|
|
1368
1368
|
id?: string;
|
|
@@ -1372,9 +1372,9 @@ interface ExpandableRowsCaptions {
|
|
|
1372
1372
|
emptyRow: string;
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
|
-
interface TableProps extends
|
|
1375
|
+
interface TableProps extends React__default.TableHTMLAttributes<HTMLTableElement> {
|
|
1376
1376
|
/** Caption helps users with screen readers to find a table and understand what it's about and decide if they want to read it. */
|
|
1377
|
-
caption?:
|
|
1377
|
+
caption?: React__default.ReactNode;
|
|
1378
1378
|
expandableRowsCaptions?: ExpandableRowsCaptions;
|
|
1379
1379
|
/** Foot element for table */
|
|
1380
1380
|
footers?: TableRow[];
|
|
@@ -1392,7 +1392,7 @@ interface TableProps extends React$1.TableHTMLAttributes<HTMLTableElement> {
|
|
|
1392
1392
|
rows: TableRow[];
|
|
1393
1393
|
className?: string;
|
|
1394
1394
|
}
|
|
1395
|
-
declare const Table:
|
|
1395
|
+
declare const Table: React__default.FC<TableProps>;
|
|
1396
1396
|
|
|
1397
1397
|
interface TabProps extends React.HTMLAttributes<HTMLButtonElement | HTMLAnchorElement> {
|
|
1398
1398
|
/** Id of the tabpanel this tab controls. */
|
|
@@ -1427,7 +1427,7 @@ interface TabPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
declare const TabPanel: React.FC<TabPanelProps>;
|
|
1429
1429
|
|
|
1430
|
-
interface TabsProps extends
|
|
1430
|
+
interface TabsProps extends React__default.HTMLAttributes<HTMLUListElement> {
|
|
1431
1431
|
/** Active Tab index */
|
|
1432
1432
|
activeTabIndex?: number;
|
|
1433
1433
|
/** Additional classes for tabs header. */
|
|
@@ -1439,20 +1439,20 @@ interface TabsProps extends React$1.HTMLAttributes<HTMLUListElement> {
|
|
|
1439
1439
|
/** Tabs behave as links rather than tabs */
|
|
1440
1440
|
isLink?: boolean;
|
|
1441
1441
|
/** Tab panels as children */
|
|
1442
|
-
children:
|
|
1442
|
+
children: React__default.ReactElement<TabPanelProps>[];
|
|
1443
1443
|
}
|
|
1444
|
-
declare const Tabs:
|
|
1444
|
+
declare const Tabs: React__default.FC<TabsProps>;
|
|
1445
1445
|
|
|
1446
1446
|
type TagButtonProps = {
|
|
1447
1447
|
className?: string;
|
|
1448
|
-
onClick?:
|
|
1449
|
-
children?:
|
|
1448
|
+
onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
1449
|
+
children?: React__default.ReactNode;
|
|
1450
1450
|
isDisabled?: boolean;
|
|
1451
1451
|
ariaLabel?: string;
|
|
1452
1452
|
iconName: string;
|
|
1453
1453
|
size?: string;
|
|
1454
1454
|
};
|
|
1455
|
-
declare const TagButton:
|
|
1455
|
+
declare const TagButton: React__default.ForwardRefExoticComponent<TagButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
|
|
1456
1456
|
|
|
1457
1457
|
declare const colors: readonly ["black", "orange", "yellow", "green", "blue", "success", "info", "warning", "danger", "transparent"];
|
|
1458
1458
|
type TagColor = (typeof colors)[number];
|
|
@@ -1462,37 +1462,37 @@ interface CommonProps {
|
|
|
1462
1462
|
size?: TagSize;
|
|
1463
1463
|
isDisabled?: boolean;
|
|
1464
1464
|
className?: string;
|
|
1465
|
-
children?:
|
|
1466
|
-
actionButton?:
|
|
1465
|
+
children?: React__default.ReactNode;
|
|
1466
|
+
actionButton?: React__default.ReactElement<TagButtonProps>;
|
|
1467
1467
|
}
|
|
1468
|
-
type SpanProps = CommonProps & Omit<
|
|
1468
|
+
type SpanProps = CommonProps & Omit<React__default.HTMLAttributes<HTMLSpanElement>, keyof CommonProps> & {
|
|
1469
1469
|
onClick?: undefined;
|
|
1470
1470
|
href?: undefined;
|
|
1471
1471
|
};
|
|
1472
|
-
type ButtonProps = CommonProps & Omit<
|
|
1473
|
-
onClick:
|
|
1472
|
+
type ButtonProps = CommonProps & Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement>, keyof CommonProps> & {
|
|
1473
|
+
onClick: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
1474
1474
|
href?: undefined;
|
|
1475
1475
|
};
|
|
1476
|
-
type AnchorProps = CommonProps & Omit<
|
|
1476
|
+
type AnchorProps = CommonProps & Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, keyof CommonProps> & {
|
|
1477
1477
|
href: string;
|
|
1478
1478
|
onClick?: undefined;
|
|
1479
1479
|
};
|
|
1480
1480
|
type TagProps = SpanProps | ButtonProps | AnchorProps;
|
|
1481
|
-
declare const Tag:
|
|
1481
|
+
declare const Tag: React__default.ForwardRefExoticComponent<TagProps & React__default.RefAttributes<HTMLElement>>;
|
|
1482
1482
|
|
|
1483
1483
|
interface TestimonialProps {
|
|
1484
1484
|
className?: string;
|
|
1485
|
-
children?:
|
|
1485
|
+
children?: React__default.ReactNode;
|
|
1486
1486
|
color?: "default" | "orange";
|
|
1487
1487
|
isDiv?: boolean;
|
|
1488
1488
|
[key: string]: any;
|
|
1489
1489
|
}
|
|
1490
|
-
declare const Testimonial:
|
|
1490
|
+
declare const Testimonial: React__default.FC<TestimonialProps>;
|
|
1491
1491
|
|
|
1492
1492
|
type TileHAlign = "center";
|
|
1493
1493
|
type TileVAlign = "center" | "end" | "space-between";
|
|
1494
1494
|
type TileVariant = "compact" | "action";
|
|
1495
|
-
interface TileProps extends
|
|
1495
|
+
interface TileProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1496
1496
|
/** Horizontal alignment of the tile content. */
|
|
1497
1497
|
hAlign?: TileHAlign;
|
|
1498
1498
|
/** Vertical alignment of the tile content. */
|
|
@@ -1502,12 +1502,12 @@ interface TileProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1502
1502
|
children?: ReactNode;
|
|
1503
1503
|
className?: string;
|
|
1504
1504
|
}
|
|
1505
|
-
declare const Tile:
|
|
1505
|
+
declare const Tile: React__default.FC<TileProps>;
|
|
1506
1506
|
|
|
1507
1507
|
type TooltipPlacement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "right" | "right-start" | "right-end" | "left" | "left-start" | "left-end";
|
|
1508
|
-
interface TooltipProps extends
|
|
1508
|
+
interface TooltipProps extends React__default.HTMLAttributes<HTMLElement> {
|
|
1509
1509
|
/** Tooltip dialog content */
|
|
1510
|
-
dialog?:
|
|
1510
|
+
dialog?: React__default.ReactNode;
|
|
1511
1511
|
/** Tooltip ID */
|
|
1512
1512
|
id?: string;
|
|
1513
1513
|
/** Preferred placement, if there is enough room. Defaults to top. */
|
|
@@ -1517,20 +1517,20 @@ interface TooltipProps extends React$1.HTMLAttributes<HTMLElement> {
|
|
|
1517
1517
|
"data-tooltip-trigger": true;
|
|
1518
1518
|
"aria-describedby": string;
|
|
1519
1519
|
"aria-owns": string;
|
|
1520
|
-
children:
|
|
1521
|
-
}) =>
|
|
1520
|
+
children: React__default.ReactNode;
|
|
1521
|
+
}) => React__default.ReactNode;
|
|
1522
1522
|
/** Render dialog as */
|
|
1523
1523
|
tag?: "span";
|
|
1524
1524
|
/** Additional CSS classes */
|
|
1525
1525
|
className?: string;
|
|
1526
|
-
children?:
|
|
1526
|
+
children?: React__default.ReactNode;
|
|
1527
1527
|
}
|
|
1528
|
-
declare const Tooltip:
|
|
1528
|
+
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
1529
1529
|
|
|
1530
|
-
type InfoTooltipProps = Omit<TooltipProps, "onAbort"> & Omit<
|
|
1531
|
-
children?:
|
|
1530
|
+
type InfoTooltipProps = Omit<TooltipProps, "onAbort"> & Omit<React__default.HTMLAttributes<HTMLButtonElement>, "onAbort"> & {
|
|
1531
|
+
children?: React__default.ReactNode;
|
|
1532
1532
|
className?: string;
|
|
1533
1533
|
};
|
|
1534
|
-
declare const InfoTooltip:
|
|
1534
|
+
declare const InfoTooltip: React__default.FC<InfoTooltipProps>;
|
|
1535
1535
|
|
|
1536
1536
|
export { Accordion, AccordionItem, Alert, AnchorNavigation, Autocomplete, Bar, BarBreak, BarItem, BlockAction, BlockActionControl, BlockActionIndicator, BlockActionOverride, BodyBanner, Breadcrumbs, Button, ButtonFill, ButtonGhost, ButtonPrimary, Buttons, Card, CardProductHeader, CardSection, Carousel, CarouselHero, CarouselHeroItem, CarouselPromotions, CartTable, Checkbox, Container, Controls, Cover, Divider, Dropdown, DropdownDivider, DropdownItem, DropdownToggleButton, Expander, FeatureAccordion, FeatureAccordionItem, Field, Fieldset, File, Gauge, Grid, GridCol, Group, Hero, Hint, Icon, IconButton, IconList, Image, InfoTooltip, InputStepper, Item, Label, Link, List, ListItem, Loader, LoaderFullscreen, Megamenu, MegamenuBlog, Message, Modal, ModalBody, ModalCloseButton, ModalProductFooter, ModalProductHeader, ModalTitle, Pagination, Pictogram, Pill, Progress, PromoBanner, PromotionCard, PromotionCardContent, PromotionCardImageWrapper, PromotionCardSection, PromotionCardTitle, Radio, RangeSlider, Section, Select, Skeleton, SkipLink, SocialButton, SpritePathContext, SpritePathProvider, Stepbar, Sticker, Tab, TabPanel, Table, Tabs, Tag, TagButton, Testimonial, TextArea, TextInput, Tile, Tooltip };
|