@nuskin/foundation-ui-components 2.1.0 → 3.0.0-fixpackage.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/dist/index.d.mts DELETED
@@ -1,1248 +0,0 @@
1
- import * as react from 'react';
2
- import react__default, { ReactElement, HTMLProps, PropsWithChildren, ReactNode, SyntheticEvent, HTMLAttributes } from 'react';
3
- import { FoundationTheme } from '@nuskin/foundation-theme';
4
- import * as _mui_material from '@mui/material';
5
- import { SvgIconProps as SvgIconProps$1, AutocompleteChangeReason, AutocompleteChangeDetails, ComponentsProps, ButtonProps, TextFieldProps, InputLabelProps, RadioGroupProps } from '@mui/material';
6
- import { SvgIconProps } from '@mui/material/SvgIcon';
7
- import * as _emotion_styled from '@emotion/styled';
8
- import * as _emotion_react from '@emotion/react';
9
- import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
10
- import * as _mui_material_Card from '@mui/material/Card';
11
- import * as _mui_material_CardMedia from '@mui/material/CardMedia';
12
- import * as react_jsx_runtime from 'react/jsx-runtime';
13
- import { CheckboxProps } from '@material-ui/core/Checkbox';
14
- import { React as React$1 } from 'React';
15
- import * as notistack from 'notistack';
16
- import { SnackbarProviderProps, VariantType } from 'notistack';
17
-
18
- /**
19
- * NsCollapse component adds css animation while showing children items if prop `isOpen` is true,
20
- * and while removing children if prop `isOpen` is false
21
- */
22
- declare const NsCollapse: ({ isOpen, content, additionalProps, variant, level, invert, isChild, type, cslp, allowMultipleExpanded, }: NsCollapseProps) => ReactElement;
23
-
24
- /**
25
- * NsAccordionHeader is primarily used by NsToggleSection and NsAccordionItem
26
- * as a header, so it accepts `title` , `isOpen` and `onClick`
27
- */
28
- declare const NsAccordionHeader: ({ title, onClick, isOpen, additionalProps, openedIconName, closedIconName, variant, headerTypographyVariant, startIcon, invert, cslp, showEndIconWhenEmpty, content, }: NsAccordionHeaderProps) => ReactElement;
29
-
30
- /**
31
- * NsToggleSection takes prop `title` and prop `children` and toggles
32
- * children with animation when clicked on title
33
- *
34
- * it also has a `defaultOpen` prop, which when true, children is visible
35
- * by default, otherwise children is hidden by default and toggles between visible
36
- * and hidden on clicking title
37
- */
38
- declare const NsToggleSection: ({ title, content, additionalProps, defaultOpen, variant, invert, isChild, type, }: NsToggleSectionProps) => ReactElement;
39
-
40
- /**
41
- * this component is used by accordion to pass title
42
- * and content
43
- * cslp:{header:CslpTag, content:CslpTag}
44
- */
45
- declare const NsAccordionItem: ({ isOpen, isChild, toggleOpen, title, content, variant, headerTypographyVariant, closedIconName, openedIconName, startIcon, level, additionalProps, invert, type, cslp, allowMultipleExpanded, showEndIconWhenEmpty, }: NsAccordionItemProps) => ReactElement;
46
-
47
- declare const NsAccordion: ({ allowMultipleExpanded, invert, level, variant, items, headerTypographyVariant, closedIconName, openedIconName, additionalProps, isChild, showEndIconWhenEmpty, }: NsAccordionProps) => ReactElement;
48
-
49
- type CslpTag = { 'data-cslp': string };
50
-
51
- type AdditionalProps = {
52
- additionalProps?: {
53
- ariaLabel?: string;
54
- testid?: string;
55
- className?: string;
56
- 'data-testid'?: string;
57
- } & Partial<CslpTag>;
58
- cslp?: Record<string, CslpTag>;
59
- } & DarkModeEnabledOption;
60
-
61
- type Themed = {
62
- theme: FoundationTheme.Theme;
63
- };
64
-
65
- type DarkModeEnabledOption = {
66
- darkModeEnabled?: boolean;
67
- };
68
-
69
- type NsIconSizeType = 'small' | 'medium' | 'large' | 'xLarge';
70
-
71
- type NsIconNameType = keyof typeof IconVariants;
72
-
73
- type NsIconProps = HTMLProps & {
74
- name: NsIconNameType;
75
- size?: NsIconSizeType;
76
- color?: FoundationTheme.PaletteColors;
77
- testId?: string;
78
- colorOverride?: string;
79
- cursor?:
80
- | 'auto'
81
- | 'default'
82
- | 'none'
83
- | 'context-menu'
84
- | 'help'
85
- | 'pointer'
86
- | 'progress'
87
- | 'wait'
88
- | 'cell'
89
- | 'crosshair'
90
- | 'text'
91
- | 'vertical-text'
92
- | 'alias'
93
- | 'copy'
94
- | 'move'
95
- | 'no-drop'
96
- | 'not-allowed'
97
- | 'grab'
98
- | 'grabbing'
99
- | 'e-resize'
100
- | 'n-resize'
101
- | 'ne-resize'
102
- | 'nw-resize'
103
- | 's-resize'
104
- | 'se-resize'
105
- | 'sw-resize'
106
- | 'w-resize'
107
- | 'ew-resize'
108
- | 'ns-resize'
109
- | 'nesw-resize'
110
- | 'nwse-resize'
111
- | 'col-resize'
112
- | 'row-resize'
113
- | 'all-scroll'
114
- | 'zoom-in'
115
- | 'zoom-out';
116
- };
117
-
118
- declare const NsIcon: ({ name, size, color, testId, className, colorOverride, onClick, cursor, ...rest }: NsIconProps) => ReactElement | null;
119
-
120
- /**
121
- * * pass colorOverride = '#272525'
122
- */
123
- declare function UserOutline(props: SvgIconProps): ReactElement;
124
-
125
- declare const IconVariants: {
126
- arrowDown: (props: _mui_material.SvgIconProps) => react.ReactElement;
127
- arrowUp: (props: _mui_material.SvgIconProps) => react.ReactElement;
128
- arrowLeft: (props: _mui_material.SvgIconProps) => react.ReactElement;
129
- arrowRight: (props: _mui_material.SvgIconProps) => react.ReactElement;
130
- alertError: (props: _mui_material.SvgIconProps) => react.ReactElement;
131
- cart: (props: _mui_material.SvgIconProps) => react.ReactElement;
132
- cartBadge: (props: _mui_material.SvgIconProps) => react.ReactElement;
133
- close: (props: _mui_material.SvgIconProps) => react.ReactElement;
134
- check: (props: _mui_material.SvgIconProps) => react.ReactElement;
135
- checkShield: (props: _mui_material.SvgIconProps) => react.ReactElement;
136
- checkVerified: (props: _mui_material.SvgIconProps) => react.ReactElement;
137
- error: (props: _mui_material.SvgIconProps) => react.ReactElement;
138
- hamburgerIcon: (props: _mui_material.SvgIconProps) => react.ReactElement;
139
- home: (props: _mui_material.SvgIconProps) => react.ReactElement;
140
- infoFilled: (props: _mui_material.SvgIconProps) => react.ReactElement;
141
- infoOutlined: (props: _mui_material.SvgIconProps) => react.ReactElement;
142
- search: (props: _mui_material.SvgIconProps) => react.ReactElement;
143
- success: (props: _mui_material.SvgIconProps) => react.ReactElement;
144
- slash: (props: _mui_material.SvgIconProps) => react.ReactElement;
145
- trash: (props: _mui_material.SvgIconProps) => react.ReactElement;
146
- userIcon: (props: _mui_material.SvgIconProps) => react.ReactElement;
147
- userOutline: typeof UserOutline;
148
- warning: (props: _mui_material.SvgIconProps) => react.ReactElement;
149
- roundedClose: (props: _mui_material.SvgIconProps) => react.ReactElement;
150
- chevronRight: (props: _mui_material.SvgIconProps) => react.ReactElement;
151
- };
152
-
153
- declare const Check: (props: SvgIconProps$1) => ReactElement;
154
-
155
- declare const iconSize: Record<NsIconSizeType, string>;
156
- type IconWrapperType = {
157
- size: NsIconSizeType;
158
- cursor: NsIconProps['cursor'];
159
- };
160
- declare const IconWrapper: _emotion_styled.StyledComponent<{
161
- theme?: _emotion_react.Theme;
162
- as?: React.ElementType;
163
- } & IconWrapperType, react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
164
-
165
- type Variants =
166
- | 'h1'
167
- | 'h2'
168
- | 'h3'
169
- | 'h4'
170
- | 'h5'
171
- | 'h6'
172
- | 'title-l'
173
- | 'title-m'
174
- | 'title-s'
175
- | 'label-l'
176
- | 'label-m'
177
- | 'label-s'
178
- | 'body-xl'
179
- | 'body-l'
180
- | 'body-m'
181
- | 'body-s'
182
- | 'body-xs'
183
- | 'CTA';
184
-
185
- type HtmlTagVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'p' | 'label';
186
-
187
- type NsTypographyProps = {
188
- variant: Variants;
189
- decoration?: 'underline' | 'none';
190
- weight?: 'bold' | 'normal' | 'light';
191
- color?: FoundationTheme.PaletteColors;
192
- component?: 'div' | 'span' | 'p';
193
- as?: HtmlTagVariant;
194
- className?: string;
195
- colorOverride?: string;
196
- renderHTMLNode?: boolean;
197
- noSpacing?:boolean;
198
- } & AdditionalProps;
199
-
200
- declare const NsTypography: ({ children, weight, className, variant, decoration, color, additionalProps, colorOverride, noSpacing, renderHTMLNode, }: PropsWithChildren<NsTypographyProps>) => ReactElement;
201
-
202
- declare const GlobalFontInter: () => ReactElement;
203
-
204
- declare const HtmlTagVariantMapping: Record<string, HtmlTagVariant>;
205
-
206
- declare const AccordionVariant: {
207
- readonly Basic: "basic";
208
- readonly Compact: "compact";
209
- readonly Gray: "gray";
210
- readonly Stripe: "stripe";
211
- };
212
- declare const variantValues: ("basic" | "compact" | "gray" | "stripe")[];
213
- type AccordionVariantType = (typeof variantValues)[number];
214
- declare const AccordionContentTypeObject: {
215
- text: string;
216
- html: string;
217
- accordion: string;
218
- jsx: string;
219
- };
220
- declare const contentValues: string[];
221
- type AccordionContentType = (typeof contentValues)[number];
222
-
223
- type AccordionItem = {
224
- allowMultipleExpanded?: boolean;
225
- type: AccordionContentType;
226
- id: string;
227
- content: string | AccordionItem[] | ReactElement | null;
228
- icon?: NsIconProps;
229
- title: string | ReactElement;
230
- isDefaultOpen?: boolean;
231
- $?: {
232
- rte: CslpTag;
233
- item_title: CslpTag;
234
- };
235
- };
236
-
237
- type NsAccordionProps = AdditionalProps & {
238
- invert: boolean;
239
- level: number;
240
- variant: AccordionVariantType;
241
- items?: AccordionItem[];
242
- isChild?: boolean;
243
- headerTypographyVariant?: Variants;
244
- /** NsIcon's icon name to be shown in opened state */
245
- openedIconName?: NsIconNameType;
246
- /** NsIcon's icon name to be shown in closed state */
247
- closedIconName?: NsIconNameType;
248
- allowMultipleExpanded: boolean;
249
- showEndIconWhenEmpty?: boolean;
250
- };
251
-
252
- type CommonAccordionType = {
253
- invert: boolean;
254
- level: number;
255
- variant: AccordionVariantType;
256
- content: AccordionItem['content'];
257
- };
258
-
259
- type NsAccordionHeaderProps = AdditionalProps & {
260
- title: string | ReactNode;
261
- // eslint-disable-next-line no-unused-vars
262
- onClick: (...args: any[]) => void;
263
- /** a flag for the header, based on which header can change properties */
264
- isOpen: boolean;
265
- /** NsIcon's icon name to be shown in opened state */
266
- openedIconName?: NsIconNameType;
267
- /** NsIcon's icon name to be shown in closed state */
268
- closedIconName?: NsIconNameType;
269
- headerTypographyVariant?: Variants;
270
- startIcon?: NsIconProps;
271
- showEndIconWhenEmpty?: boolean;
272
- content: AccordionItem['content'];
273
- } & Pick<CommonAccordionType, 'invert' | 'variant'>;
274
-
275
- type NsCollapseProps = AdditionalProps & {
276
- isOpen: boolean;
277
- isChild: boolean;
278
- allowMultipleExpanded?: boolean;
279
- type: AccordionContentType;
280
- } & CommonAccordionType;
281
-
282
- type NsToggleSectionProps = AdditionalProps & {
283
- title: string | ReactNode;
284
- /** if true, NsToggle is rendered in open state, that collapsible section is visible */
285
- defaultOpen?: boolean;
286
- isChild: boolean;
287
- type: AccordionContentType;
288
- } & Pick<CommonAccordionType, 'invert' | 'variant' | 'content'>;
289
-
290
- type NsAccordionItemProps = AdditionalProps & {
291
- isOpen: boolean;
292
- // eslint-disable-next-line no-unused-vars
293
- toggleOpen(index: number, isOpen: boolean): void;
294
- title: string | ReactNode;
295
- headerTypographyVariant?: Variants;
296
- /** NsIcon's icon name to be shown in opened state */
297
- openedIconName?: NsIconNameType;
298
- /** NsIcon's icon name to be shown in closed state */
299
- closedIconName?: NsIconNameType;
300
- startIcon?: NsIconProps;
301
- isChild: boolean;
302
- type: AccordionContentType;
303
- allowMultipleExpanded?: boolean;
304
- showEndIconWhenEmpty?: boolean;
305
- } & CommonAccordionType;
306
-
307
- interface NsAlertProps {
308
- context?: string;
309
- title?: string;
310
- threshold?: number;
311
- type?: string;
312
- visible?: boolean;
313
- head?: ReactNode;
314
- body?: ReactNode;
315
- onDismiss?: () => void;
316
- foot?: ReactNode;
317
- }
318
-
319
- declare function NsAlert({ context, title, threshold, type, visible, head, body, foot, onDismiss, }: NsAlertProps): ReactElement;
320
-
321
- type NsAuthDropdownProps = {
322
- signInRedirectLink: string;
323
- signUpRedirectLink: string;
324
- signInBtnText: string;
325
- signUpLinkText: string;
326
- signUpLinkPrefixText: string;
327
- titleText: string;
328
- closeOnMouseLeave?: boolean;
329
- } & AdditionalProps;
330
-
331
- declare const NsAuthDropdown: ({ signInRedirectLink, signUpRedirectLink, signInBtnText, signUpLinkText, signUpLinkPrefixText, titleText, closeOnMouseLeave, darkModeEnabled, }: NsAuthDropdownProps) => ReactElement;
332
-
333
- type NsAutocompleteProps = {
334
- id?: string;
335
- options: OptionsProps[];
336
- loading?: boolean;
337
- OptionsUI: react__default.ComponentType<any>;
338
- noOptionsText?: string;
339
- /*
340
- Callback fired when the input value changes.
341
- event The event source of the callback.
342
- value The new value of the text input.
343
- reason Can be: "input" (user input), "reset" (programmatic change), "clear".
344
- */
345
- onInputChange(event: SyntheticEvent, value: string, reason: string): void;
346
- onKeypress?:(event:SyntheticEvent) => void;
347
- /*
348
- event The event source of the callback.
349
- value The new value of the component.
350
- reason One of "createOption", "selectOption", "removeOption", "blur" or "clear".
351
- */
352
- onChange(
353
- event: SyntheticEvent<Element, Event>,
354
- value: string | OptionsProps | null,
355
- reason: AutocompleteChangeReason,
356
- details?: AutocompleteChangeDetails<OptionsProps> | undefined
357
- ): void;
358
- onFocus?:() => void;
359
- clear?: {
360
- text?: string;
361
- show?: boolean; //default to false
362
- onClear: () => void;
363
- recentSearchText?: string;
364
- };
365
- seeMore?: {
366
- text?: string;
367
- show?: boolean; //default to false
368
- onSeeMore: () => void;
369
- };
370
- placeholder?: string;
371
- className?: string;
372
- iconStart?: string | react__default.ReactNode;
373
- iconEnd?: string | react__default.ReactNode;
374
- inputValue: string;
375
- value: string | OptionsProps | null;
376
- isFilterEnabled?: boolean;
377
- fullWidth?:boolean
378
- } & AdditionalProps;
379
-
380
- type ListUiProps = {
381
- option: OptionsProps;
382
- };
383
-
384
- type OptionsProps = {
385
- id: string;
386
- group?: string;
387
- value: string;
388
- icon?: NsIconNameType;
389
- image?: string;
390
- groupBgColor?: string;
391
- };
392
-
393
- type ComponentBoxProps = ComponentsProps & HTMLAttributes<HTMLElement>;
394
-
395
- declare const NsAutocomplete: ({ id, options, OptionsUI, loading, noOptionsText, onInputChange, onChange, onFocus, clear, seeMore, placeholder, className, iconStart, iconEnd, inputValue, value, isFilterEnabled, fullWidth, onKeypress, }: PropsWithChildren<NsAutocompleteProps>) => ReactElement;
396
-
397
- declare const LineLoader: ({ show }: {
398
- show: boolean;
399
- }) => ReactElement;
400
-
401
- type NsImageProps = {
402
- alt: string;
403
- className?: string;
404
- fill?: boolean;
405
- height?: number | string;
406
- id?: string;
407
- src: string;
408
- variant?: 'product' | 'award' | 'icon' | 'fill';
409
- width?: number | string;
410
- };
411
- type BynderImageDataType = {
412
- /** selected is manually added, using additionalInfo from bynder */
413
- selected?: {
414
- url: string;
415
- fileSize: number | null;
416
- width: number | null;
417
- height: number | null;
418
- imageType?: string;
419
- type: 'VIDEO' | 'IMAGE';
420
- altText?: string;
421
- fit: 'cover' | 'contain' | 'scale-down' | 'none';
422
- position: string;
423
- bgColor: string;
424
- };
425
- isPublic: boolean;
426
- __typename?: 'Image';
427
- id: string;
428
- name: string;
429
- description: string | null;
430
- databaseId: string;
431
- originalUrl?: string;
432
- type: 'VIDEO' | 'IMAGE' | 'DOCUMENT';
433
- url?: string;
434
- previewUrls?: string[];
435
- extensions?: string[];
436
- textMetaproperties?: ({
437
- name: string;
438
- value: string;
439
- } | null)[];
440
- files: {
441
- [key: string]: {
442
- url: string;
443
- width: number | null;
444
- height: number | null;
445
- fileSize: number | null;
446
- };
447
- };
448
- };
449
-
450
- type AlignmentType$1 = 'start' | 'center' | 'end';
451
-
452
-
453
- type NsBannerProps = {
454
- children: react__default.ReactNode;
455
- image: BynderImageDataType;
456
- alignment?: AlignmentType$1;
457
- justify?: AlignmentType$1;
458
- className?: string;
459
- } & AdditionalProps;
460
-
461
- /**
462
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
463
- * NsBanner.tsx
464
- * @description NsBanner component with a image background
465
- */
466
-
467
- declare const NsBanner: (props: PropsWithChildren<NsBannerProps>) => ReactElement;
468
-
469
- type NsBrandComponentProps = {
470
- variant?: 'stacked' | 'horizontal' | 'poweredBy' | 'logomark' | 'wordmark';
471
- size?: string;
472
- color?: FoundationTheme.PaletteColors;
473
- };
474
-
475
- declare const NsBrandComponent: (props: PropsWithChildren<NsBrandComponentProps>) => ReactElement;
476
-
477
- type NsBreadcrumbProps = {
478
- items?: ItemProps[];
479
- underline?: boolean;
480
- separator?: 'chevronRight' | 'slash';
481
- };
482
-
483
- type ItemProps = {
484
- label?: string;
485
- href?: string;
486
- icon?: NsIconNameType;
487
- } & AdditionalProps;
488
-
489
- /**
490
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
491
- * NsBreadcrumb.tsx
492
- * @description NsBreadcrumb component with a navigation items array props
493
- */
494
-
495
- declare const NsBreadcrumb: (props: PropsWithChildren<NsBreadcrumbProps>) => ReactElement;
496
-
497
- type NsButtonProps = Pick<
498
- ButtonProps,
499
- | 'aria-label'
500
- | 'className'
501
- | 'color'
502
- | 'disabled'
503
- | 'endIcon'
504
- | 'fullWidth'
505
- | 'href'
506
- | 'onBlur'
507
- | 'onClick'
508
- | 'onChange'
509
- | 'onFocus'
510
- | 'size'
511
- | 'startIcon'
512
- | 'type'
513
- | 'variant'
514
- > & {
515
- iconOnly?: boolean;
516
- darkModeEnabled?: boolean;
517
- startIconName?: NsIconProps['name'];
518
- endIconName?: NsIconProps['name'];
519
- };
520
-
521
- declare const NsButton: ({ children, darkModeEnabled, ...props }: PropsWithChildren<NsButtonProps>) => ReactElement;
522
-
523
- declare function NsBrandWrapper({ children }: PropsWithChildren): ReactElement;
524
-
525
- type NsBgCardProps = {
526
- backgroundImageUrl: string;
527
- };
528
- declare const NsBgCard: _emotion_styled.StyledComponent<_mui_material_Card.CardOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
529
- ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
530
- }, "variant" | "style" | "children" | "className" | "classes" | "sx" | "elevation" | "square" | "raised"> & {
531
- theme?: _emotion_react.Theme;
532
- } & NsBgCardProps, {}, {}>;
533
-
534
- declare const NsBrandLogo: _emotion_styled.StyledComponent<_mui_material_CardMedia.CardMediaOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
535
- ref?: ((instance: HTMLDivElement | null) => void | react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof react.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | react.RefObject<HTMLDivElement> | null | undefined;
536
- }, "style" | "image" | "children" | "className" | "classes" | "sx" | "src"> & {
537
- theme?: _emotion_react.Theme;
538
- } & {
539
- component: "img";
540
- }, {}, {}>;
541
-
542
- type NsFfgCardProps = AdditionalProps & {
543
- topImageUrl: string;
544
- topImageAlt: string;
545
- text: string;
546
- cardLink: { href: string; title: string };
547
- onClick(): void;
548
- cslp?: {
549
- card_text: CslpTag;
550
- action_text: CslpTag;
551
- };
552
- };
553
-
554
- type NsCardButton = {
555
- showButton?: boolean;
556
- fullWidth?: boolean;
557
- url?: string;
558
- endIcon?: NsIconNameType;
559
- buttonText: string;
560
- buttonVariant?: 'text' | 'outlined' | 'contained';
561
- buttonColor?: 'secondary' | 'primary';
562
- showArrowWithText?: boolean;
563
- };
564
-
565
- type NsHeroCardLevel1Props = {
566
- cardTitle: string;
567
- cardDescription: string;
568
- backgroundImageDetail: BynderImageDataType;
569
- button?: NsCardButton;
570
- className?: string;
571
- imagePosition?: 'top' | 'bottom';
572
- fontColor?: 'primary' | 'secondary';
573
- };
574
- declare function NsHeroCardLevel1({ cardTitle, cardDescription, backgroundImageDetail, button, className, imagePosition, fontColor, }: NsHeroCardLevel1Props): ReactElement;
575
-
576
- type NsHeroCardLevel2Props = {
577
- brandName: string;
578
- cardTitle: string;
579
- cardDescription: string;
580
- backgroundImageDetail: BynderImageDataType;
581
- button?: NsCardButton;
582
- className?: string;
583
- fontColor?: 'primary' | 'secondary';
584
- };
585
- declare const NsHeroCardLevel2: ({ brandName, cardTitle, cardDescription, backgroundImageDetail, button, className, fontColor, }: NsHeroCardLevel2Props) => ReactElement;
586
-
587
- type NsPostProps = {
588
- text: string;
589
- body: string;
590
- backgroundImageDetail: BynderImageDataType;
591
- className?: string;
592
- fontColor?: 'primary' | 'secondary';
593
- };
594
- declare const NsPost: ({ text, body, backgroundImageDetail, className, fontColor }: NsPostProps) => ReactElement;
595
-
596
- type NsBrandCardProps = {
597
- title?: string;
598
- brandImageUrl: string;
599
- backgroundImageUrl: string;
600
- size?: 'small' | 'large';
601
- button?: NsCardButton;
602
- className?: string;
603
- fontColor?: 'primary' | 'secondary';
604
- };
605
- declare function NsBrandCard({ title, brandImageUrl, backgroundImageUrl, button, size, className, fontColor, }: NsBrandCardProps): ReactElement;
606
-
607
- type NsIconTextProps = {
608
- text: string;
609
- body: string;
610
- className?: string;
611
- fontColor?: 'primary' | 'secondary';
612
- };
613
- declare const NsIconText: ({ text, body, className, fontColor }: NsIconTextProps) => react_jsx_runtime.JSX.Element;
614
-
615
- type NsCheckoutCardProps = {
616
- icon: NsIconNameType;
617
- title: string;
618
- linkText: string;
619
- url: string;
620
- className?: string;
621
- fontColor?: 'primary' | 'secondary';
622
- };
623
- declare function NsCheckoutCard({ title, icon, linkText, url, className, fontColor, }: NsCheckoutCardProps): ReactElement;
624
-
625
- type NsSmallFullCardProps = {
626
- title: string;
627
- subtitle: string;
628
- backgroundImageDetail: BynderImageDataType;
629
- button?: NsCardButton;
630
- className?: string;
631
- fontColor?: 'primary' | 'secondary';
632
- };
633
- declare function NsSmallFullCard({ title, subtitle, backgroundImageDetail, button, className, fontColor, }: NsSmallFullCardProps): ReactElement;
634
-
635
- type NsXLargeCardProps = {
636
- title: string;
637
- subtitle: string;
638
- backgroundImageDetail: BynderImageDataType;
639
- button?: NsCardButton;
640
- className?: string;
641
- fontColor?: 'primary' | 'secondary';
642
- };
643
- declare function NsXLargeCard({ title, subtitle, backgroundImageDetail, button, className, fontColor, }: NsXLargeCardProps): ReactElement;
644
-
645
- type NsLargeCardProps = {
646
- title: string;
647
- subtitle?: string;
648
- intro: string;
649
- backgroundImageDetail: BynderImageDataType;
650
- isHorizontal?: boolean;
651
- button?: NsCardButton;
652
- className?: string;
653
- fontColor?: 'primary' | 'secondary';
654
- };
655
- declare function NsLargeCard({ title, subtitle, backgroundImageDetail, intro, isHorizontal, button, className, fontColor, }: NsLargeCardProps): ReactElement;
656
-
657
- type NsMediumCardProps = {
658
- title: string;
659
- titleFontWeight?: 'bold' | 'normal' | 'light';
660
- subtitle: string;
661
- backgroundImageDetail: BynderImageDataType;
662
- button?: NsCardButton;
663
- className?: string;
664
- fluid?: boolean;
665
- showArrowWithButtonText?: boolean;
666
- fontColor?: 'primary' | 'secondary';
667
- };
668
- declare function NsMediumCard({ title, titleFontWeight, subtitle, backgroundImageDetail, button, className, fluid, showArrowWithButtonText, fontColor, }: NsMediumCardProps): ReactElement;
669
-
670
- type NsAwardCardProps = {
671
- title: string;
672
- awardName: string;
673
- mediaOutlet: string;
674
- backgroundImageDetail: BynderImageDataType;
675
- className?: string;
676
- fontColor?: 'primary' | 'secondary';
677
- };
678
- declare function NsAwardCard({ title, awardName, mediaOutlet, backgroundImageDetail, className, fontColor, }: NsAwardCardProps): ReactElement;
679
-
680
- interface CarousalProps<T = any> {
681
- entries: T[];
682
- renderEntry(entry: T, index: number): ReactNode;
683
- allEntryLink?: string;
684
- allEntryLabel?: string;
685
- settings: any;
686
- showControlButtons?: boolean;
687
- }
688
- declare function NsCarousal({ entries, renderEntry, allEntryLink, settings, allEntryLabel, showControlButtons, }: CarousalProps): ReactElement;
689
-
690
- declare const NsScrollingCarousal: ({ slides, scrollSeconds, stillSeconds, renderSlide, settings, dotsBottomPixel, additionalProps, }: NsScrollingCarousalProps) => ReactElement;
691
-
692
- declare const settings: {
693
- dots: boolean;
694
- infinite: boolean;
695
- speed: number;
696
- slidesToShow: number;
697
- slidesToScroll: number;
698
- swipeToSlide: boolean;
699
- responsive: ({
700
- breakpoint: number;
701
- settings: {
702
- slidesToShow: number;
703
- slidesToScroll: number;
704
- infinite: boolean;
705
- dots: boolean;
706
- initialSlide?: undefined;
707
- };
708
- } | {
709
- breakpoint: number;
710
- settings: {
711
- slidesToShow: number;
712
- slidesToScroll: number;
713
- initialSlide: number;
714
- infinite?: undefined;
715
- dots?: undefined;
716
- };
717
- } | {
718
- breakpoint: number;
719
- settings: {
720
- slidesToShow: number;
721
- slidesToScroll: number;
722
- infinite?: undefined;
723
- dots?: undefined;
724
- initialSlide?: undefined;
725
- };
726
- })[];
727
- };
728
-
729
- type NsCarousalProps<T = any> = {
730
- entries: T[];
731
- // eslint-disable-next-line no-unused-vars
732
- renderEntry(entry: T, index: number): ReactNode;
733
- allEntryLink: string;
734
- settings: any;
735
- };
736
-
737
- type NsScrollingCarousalProps<T = any> = {
738
- slides: T;
739
- // eslint-disable-next-line no-unused-vars
740
- renderSlide(slide: T, index: number): ReactNode;
741
- /* time it takes while scrolling */
742
- scrollSeconds: number;
743
- /* time for which slide stays still before scrolling */
744
- stillSeconds: number;
745
- settings: any;
746
- /* value in number, specifying how much the dots should be from bottom of slides container */
747
- dotsBottomPixel?: number;
748
- } & AdditionalProps;
749
-
750
- type NsCartIconProps = {
751
- itemCount?: number;
752
- size?: 'small' | 'medium' | 'large' | 'xLarge';
753
- color?: FoundationTheme.PaletteColors;
754
- maxItemCount?: number;
755
- };
756
-
757
- declare const NsCartIcon: ({ itemCount, size, color, maxItemCount, }: NsCartIconProps) => ReactElement;
758
-
759
- /**
760
- * @description Extend the FlagProps interface to include message, color and size prop.
761
- */
762
-
763
-
764
-
765
- type NsFlagSize = 'small' | 'medium' | 'large';
766
-
767
- type NsFlagProps = {
768
- className?: string;
769
- size?: NsFlagSize;
770
- message?: string;
771
- testId?: string;
772
- /** Displays background color for flag container */
773
- color?: FoundationTheme.PaletteColors;
774
- };
775
-
776
- /**
777
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
778
- * flag.tsx
779
- * @description NsFlag component with a themed background
780
- */
781
-
782
- declare const NsFlag: (props: PropsWithChildren<NsFlagProps>) => ReactElement | null;
783
-
784
- // Define the props for the custom checkbox component
785
- type NsCheckboxProps = Pick<CheckboxProps, 'label' | 'onChange'> & {
786
- name: string;
787
- className?: string;
788
- checked: boolean;
789
- /* Aria label for the checkbox area. */
790
- ariaLabel?: string;
791
- /* True if you want disable the checkbox and label . */
792
- disabled?: boolean;
793
- /* Size of the checkbox component. Either small / medium. */
794
- size?: 'small' | 'medium';
795
- /* Flag component props */
796
- flag?: NsFlagProps;
797
- /* Test Id for testing purpose */
798
- testid?: string;
799
- };
800
-
801
- /**
802
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
803
- * checkbox.tsx
804
- * @description
805
- */
806
-
807
- declare const NsCheckbox: (props: PropsWithChildren<NsCheckboxProps>) => ReactElement;
808
-
809
- /*
810
- options to be shown on content stack
811
- 1 Column (100%)
812
- 2 Columns (50%, 50%)
813
- 2 Columns (33%, 67%)
814
- 2 Columns (67%, 33%)
815
- 3 Columns (33%, 33%, 33%)
816
- 3 Columns (50%, 25%, 25%)
817
- 3 Columns (25%, 25%, 50%)
818
- 4 Columns (25%, 25%, 25%, 25%)
819
- */
820
- type NsColumnControlProps = PropsWithChildren<{
821
- /**
822
- * follows the convention of ns-col-lg-(column-ratio) (for large screens >= 960px),
823
- * ns-col-md-(column-ratio) (for tablet screens >= 600px),
824
- * and ns-col-sm-(column-ratio) (for mobile screens i.e < 600px)
825
- * sample values
826
- * 'ns-col-lg-2-1', 'ns-col-lg-1-2', 'ns-col-lg-1-1',
827
- */
828
- columnClass: string;
829
- gap?: number;
830
- }> &
831
- AdditionalProps;
832
-
833
- type NsFlexColumnsProps = PropsWithChildren<{
834
- /**
835
- * follows the convention of ns-col-lg-{column-ratio}
836
- * sample value for column-ratio = 2-1 ==>ns-col-lg-2-1
837
- */
838
- columnClass: string;
839
- gap: number;
840
- /* when this boolean is true, column control takes full width of page instead of being restricted to 1200px */
841
- isFullWidth?: boolean;
842
- }> &
843
- AdditionalProps;
844
-
845
- type NsGridColumnsProps = NsFlexColumnsProps;
846
-
847
- declare const NsColumnControl: ({ columnClass, children, gap, additionalProps }: NsColumnControlProps) => ReactElement;
848
-
849
- declare const NsFlexColumns: ({ columnClass, children, gap, additionalProps, isFullWidth, }: NsFlexColumnsProps) => ReactElement;
850
-
851
- declare const NsGridColumns: ({ columnClass, children, gap, isFullWidth, additionalProps, }: NsGridColumnsProps) => ReactElement;
852
-
853
- interface DropdownProps extends AdditionalProps {
854
- selectedLabel: ReactNode;
855
- onSelect: (arg: ReactNode) => void; // eslint-disable-line
856
- children: ReactNode[];
857
- disabled?: boolean;
858
- type?: 'outlined' | 'unfilled';
859
- placeholder?: string;
860
- dropdownBorderColor?: FoundationTheme.PaletteColors;
861
- closeOnMouseLeave?: boolean;
862
- showListDivider?: boolean;
863
- className?: string;
864
- placeholder?: string;
865
- }
866
-
867
- interface DropdownOptionProps {
868
- value: string;
869
- children: ReactNode;
870
- }
871
-
872
- declare const NsDropdown: react__default.FC<DropdownProps>;
873
-
874
- declare const NsDropdownOption: react__default.FC<DropdownOptionProps>;
875
-
876
- type NsEmailSimpleProps = Pick<TextFieldProps> &
877
- AdditionalProps & {
878
- disabled?: boolean;
879
- label?: string;
880
- required?: boolean;
881
- maxLength?: number;
882
- invalidEmailText?: string;
883
- dupedEmailText?: string;
884
- requiredErrorMessage?: string;
885
- checkEmail?: Function;
886
- };
887
-
888
- declare const NsEmailSimple: (props: NsEmailSimpleProps) => ReactElement;
889
-
890
- declare const useWindowSize: () => {
891
- width: number;
892
- height: number;
893
- };
894
-
895
- type ItemMap = Record<string, boolean>;
896
- type UseAccordionProp = {
897
- allowMultipleExpanded?: boolean;
898
- defaultOpenIds?: string[];
899
- };
900
- declare const useAccordionMap: ({ allowMultipleExpanded, defaultOpenIds }: UseAccordionProp) => {
901
- itemStateMap: ItemMap;
902
- toggleOpen: (index: string | number) => void;
903
- };
904
-
905
- declare const NsImage: ({ src, width, height, alt, variant, ...rest }: NsImageProps) => ReactElement;
906
-
907
- /** end alt text */
908
- /** DAT specific */
909
- declare const getBasicDATWidthHeight: (width?: number, height?: number, transform?: string) => string;
910
-
911
- // TODO: check if fieldStateType could be converted to enum, since we also have to account for undefined
912
- type fieldStateType = undefined | 'error' | 'success';
913
- type NsInputFieldProps = Omit<
914
- TextFieldProps,
915
- | 'sx'
916
- | 'hiddenLabel'
917
- | 'style'
918
- | 'classes'
919
- | 'className'
920
- | 'color'
921
- | 'error'
922
- | 'margin'
923
- | 'size'
924
- | 'variant'
925
- | 'select'
926
- | 'SelectProps'
927
- > & {
928
- /**
929
- * has default undefined value, and we can update the value to success
930
- * on successful validation and update value to 'error' in case of error
931
- */
932
-
933
- fieldState?: fieldStateType;
934
- iconStart?: ReactNode;
935
- /**
936
- * assign react component for end icon
937
- */
938
- iconEnd?: ReactNode;
939
- /**
940
- * assign react component for side icon
941
- */
942
-
943
- iconSide?: ReactNode;
944
- /** purpose of showOptional props is to show additional text 'optional' in the label,
945
- * if required = false and this flag is true */
946
- showOptional?: boolean;
947
- defaultValue?: string;
948
- rows?: number;
949
- id?: string;
950
- labelSize?: number;
951
- } & AdditionalProps;
952
-
953
- /**
954
- * we are using fieldState in place of error prop
955
- * @param props { placeholder, fieldState, iconStart, iconEnd, iconSide }
956
- * @returns Input Field
957
- */
958
- declare const NsInputField: (props: NsInputFieldProps) => ReactElement;
959
-
960
- type NsLabelProps = PropsWithChildren &
961
- Omit<InputLabelProps, 'sx' | 'classes' | 'color' | 'margin' | 'variant' | 'classes'> & {
962
- /** purpose of showOptional props is to show additional text 'optional' in the label,
963
- * if required = false and this flag is true */
964
- showOptional?: boolean;
965
- size?: number;
966
- };
967
-
968
- declare const NsLabel: (props: NsLabelProps) => ReactElement;
969
-
970
- /**
971
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
972
- * @name types.tsx
973
- * @description Exports types for components - NsLink
974
- */
975
-
976
-
977
- type NsLinkProps = AdditionalProps & {
978
- className?: string;
979
- href: string;
980
- variants?: string;
981
- outlined?: boolean;
982
- // Used to enable the underline when hover the element
983
- underlineOnHover?: boolean;
984
- disabled?: boolean;
985
- target?: string;
986
- isSsr?: boolean;
987
- passHref?: boolean;
988
- prefetch?: boolean;
989
- showHorizontal?: boolean;
990
- color?: 'primary' | 'secondary';
991
- };
992
-
993
- declare const NsLink: (props: PropsWithChildren<NsLinkProps>) => ReactElement;
994
-
995
- interface NsModalProps extends NsModalComponentProps {
996
- open: boolean;
997
- fullScreen?: boolean;
998
- }
999
- interface NsModalComponentProps {
1000
- handleClose?: () => void;
1001
- additionalProps?: NsModalAdditionalProps;
1002
- variant?: NsModalVariant | 'default';
1003
- header?: NsModalContentProps;
1004
- body?: NsModalContentProps;
1005
- footer?: NsModalContentProps;
1006
- statusInfo?: NsModalStatusProps;
1007
- }
1008
- interface NsModalContentProps {
1009
- show?: boolean;
1010
- children?: string | ReactNode;
1011
- isCloseIcon?: boolean;
1012
- iconName?: NsIconNameType;
1013
- }
1014
- interface NsModalStatusProps {
1015
- title: string;
1016
- description: string;
1017
- }
1018
- interface NsModalAdditionalProps {
1019
- className?: string;
1020
- scrollType?: 'paper' | 'body';
1021
- ariaLabel?: NsModalAriaLabelProps;
1022
- dividers?: boolean;
1023
- }
1024
- interface NsModalAriaLabelProps {
1025
- ariaLabelledby?: string;
1026
- ariaDescribedby?: string;
1027
- }
1028
- type NsModalVariant = 'success' | 'warning' | 'error' | 'info';
1029
-
1030
- declare const NsModal: (props: NsModalProps) => ReactElement;
1031
-
1032
- interface NsNavProductCardProps extends AdditionalProps {
1033
- productImg: BynderImageDataType;
1034
- productName: string;
1035
- className?: string;
1036
- productDescription: string;
1037
- }
1038
-
1039
- declare const NsNavProductCard: ({ productImg, productDescription, productName, className, }: NsNavProductCardProps) => ReactElement;
1040
-
1041
- type NavTabs = {
1042
- tabName: string;
1043
- tabLink?: string;
1044
- tabContent?: ReactNode;
1045
- activeColor: FoundationTheme.PaletteColors;
1046
- color?: FoundationTheme.PaletteColors;
1047
- textVariant: Variants;
1048
- liveTag?: CslpTag;
1049
- };
1050
-
1051
- type NsNavTabComponentProps = {
1052
- tabs: NavTabs[];
1053
- className?: string;
1054
- tabTitleClassName?: string;
1055
- showDrawer?: boolean;
1056
- } & AdditionalProps;
1057
-
1058
- declare const NsNavTabComponent: ({ tabs, className, tabTitleClassName, showDrawer, }: NsNavTabComponentProps) => ReactElement;
1059
-
1060
- declare module '@mui/material/LinearProgress' {
1061
- // eslint-disable-next-line no-unused-vars
1062
- interface LinearProgressPropsColorOverrides {
1063
- neutral: true;
1064
- accentColorA: true;
1065
- accentColorB: true;
1066
- accentColorC: true;
1067
- accentColorD: true;
1068
- }
1069
- }
1070
-
1071
- type NsProgressProps = {
1072
- barColor?: FoundationTheme.PaletteColors;
1073
- backgroundColor?: FoundationTheme.PaletteColors;
1074
- height?: string;
1075
- value: number;
1076
- body?: ReactNode;
1077
- };
1078
-
1079
- declare const NsProgress: (props: NsProgressProps) => ReactElement;
1080
-
1081
- type NsRadioGroupProps = Pick<RadioGroupProps, 'name' | 'onChange' | 'value' | 'defaultValue' | 'row'> & {
1082
- disable: boolean;
1083
- helperText: string;
1084
- label: string;
1085
- items: RadioItems[];
1086
- color: FoundationTheme.PaletteColors;
1087
- size: number;
1088
- labelFontSize: number;
1089
- } & AdditionalProps;
1090
-
1091
- type RadioItems = {
1092
- label: string;
1093
- value: string | number;
1094
- id: string | number;
1095
- };
1096
-
1097
- declare const NsRadioGroup: (props: NsRadioGroupProps) => ReactElement;
1098
-
1099
- interface SelectProps {
1100
- selected: LabelValueType;
1101
- onSelect(arg: LabelValueType): void; // eslint-disable-line
1102
- children?: ReactNode | null;
1103
- disabled?: boolean;
1104
- type?: 'outlined' | 'unfilled';
1105
- placeholder?: string;
1106
- selectBorderColor?: FoundationTheme.PaletteColors;
1107
- closeOnMouseLeave?: boolean;
1108
- showListDivider?: boolean;
1109
- label?: string;
1110
- readOnly?: boolean;
1111
- name?: string;
1112
- errorMessage?: string;
1113
- menuProps?: string | object;
1114
- reverseArrowControls?: boolean;
1115
- validateOnBlur?: boolean;
1116
- autoComplete?: string;
1117
- // eslint-disable-next-line no-undef
1118
- rules?: Array;
1119
- hasArrows?: boolean;
1120
- options: LabelValueType[];
1121
- RenderOption?(x: any): any; // eslint-disable-line
1122
- }
1123
-
1124
- interface SelectOptionProps {
1125
- value: string;
1126
- label: string;
1127
- selected?: LabelValueType;
1128
- index: number;
1129
- onClick: () => void;
1130
- showListDivider?: boolean;
1131
- }
1132
-
1133
- type LabelValueType = {
1134
- label: string;
1135
- value: string;
1136
- id?: string;
1137
- index?: number;
1138
- };
1139
-
1140
- type RenderSelectOptionArgType = LabelValueType & {
1141
- onClick(): void;
1142
- showListDivider: boolean;
1143
- selected: LabelValueType;
1144
- };
1145
-
1146
- declare const NsSelect: react__default.FC<SelectProps>;
1147
-
1148
- declare const NsSelectOption: react__default.FC<SelectOptionProps>;
1149
-
1150
- type NsSpinnerProps = {
1151
- size?: number;
1152
- } & Omit<AdditionalProps, 'darkModeEnabled'>;
1153
-
1154
- declare const NsSpinner: react__default.FC<NsSpinnerProps>;
1155
-
1156
- /* eslint-disable no-unused-vars */
1157
-
1158
-
1159
- interface Header {
1160
- label: string;
1161
- id: string | number;
1162
- numeric: boolean;
1163
- sortable?: boolean;
1164
- }
1165
-
1166
- interface Item {
1167
- [key: string]: string | number;
1168
- }
1169
-
1170
- interface NsTableProps {
1171
- headers: Header[];
1172
- items: Item[];
1173
- rows: number;
1174
- itemKey: string;
1175
- rowsPerPageOptions: number[];
1176
- isExpandableAll?: boolean;
1177
- showActions?: boolean;
1178
- showExpandedContent?: boolean;
1179
- loading?: boolean;
1180
- expandableContent: (selectedItem: Item, index: number) => React$1.ReactNode;
1181
- actionClick: (item: Item) => React$1.ReactNode;
1182
- }
1183
-
1184
- declare function NsTable({ headers, items, rows, rowsPerPageOptions, itemKey, expandableContent, actionClick, showActions, showExpandedContent, loading, isExpandableAll, }: NsTableProps): ReactElement;
1185
-
1186
- type AlignmentType = 'start' | 'center' | 'end';
1187
-
1188
- type TextCtaDataType = {
1189
- link: {
1190
- href?: string;
1191
- title?: string;
1192
- };
1193
- description?: string;
1194
- };
1195
- type NsTextStripProps = {
1196
- alignment?: AlignmentType;
1197
- className?: string;
1198
- } & AdditionalProps &
1199
- TextCtaDataType;
1200
-
1201
- /**
1202
- * NsTextStrip.tsx
1203
- * @description NsTextStrip component for scrolling text CTA
1204
- */
1205
-
1206
- declare const NsTextStrip: (props: NsTextStripProps) => ReactElement;
1207
-
1208
- declare const NsToastProvider: (props: PropsWithChildren<SnackbarProviderProps>) => ReactElement;
1209
-
1210
- type ToastActionLink = {
1211
- label: string;
1212
- onClick?: () => void;
1213
- };
1214
- type ToastOptions = {
1215
- className?: string;
1216
- autoHideDuration?: number | null;
1217
- persist?: boolean;
1218
- showCloseIcon?: boolean;
1219
- actions?: ToastActionLink[];
1220
- };
1221
- declare const useToast: () => {
1222
- showToast: (variant?: VariantType, message?: string, options?: ToastOptions) => notistack.SnackbarKey | undefined;
1223
- closeToast: (toastId?: string) => void;
1224
- };
1225
-
1226
- type ShowType = PropsWithChildren & {
1227
- when?: boolean;
1228
- elseContent?: ReactElement;
1229
- };
1230
- declare const Show: ({ when, children, elseContent }: ShowType) => ReactElement;
1231
-
1232
- type NsVideoProps = {
1233
- src: string;
1234
- title?: string;
1235
- width?: string;
1236
- height?: string;
1237
- allowFullScreen?: boolean;
1238
- } & AdditionalProps;
1239
-
1240
- /**
1241
- * @author [Vijayaprathap Kumar] (vpkumar@nuskin.com)
1242
- * NsVideo.tsx
1243
- * @description NsVideo component with a Iframe video url props
1244
- */
1245
-
1246
- declare const NsVideo: (props: PropsWithChildren<NsVideoProps>) => ReactElement;
1247
-
1248
- export { type AccordionContentType, AccordionContentTypeObject, type AccordionItem, AccordionVariant, type AccordionVariantType, type AdditionalProps, type BynderImageDataType, Check, type ComponentBoxProps, type CslpTag, type DarkModeEnabledOption, type DropdownOptionProps, type DropdownProps, GlobalFontInter, type HtmlTagVariant, HtmlTagVariantMapping, IconWrapper, type ItemProps, type LabelValueType, LineLoader, type ListUiProps, type NavTabs, NsAccordion, NsAccordionHeader, type NsAccordionHeaderProps, NsAccordionItem, type NsAccordionItemProps, type NsAccordionProps, NsAlert, type NsAlertProps, NsAuthDropdown, type NsAuthDropdownProps, NsAutocomplete, type NsAutocompleteProps, NsAwardCard, NsBanner, type NsBannerProps, NsBgCard, NsBrandCard, NsBrandComponent, type NsBrandComponentProps, NsBrandLogo, NsBrandWrapper, NsBreadcrumb, type NsBreadcrumbProps, NsButton, type NsButtonProps, type NsCardButton, NsCarousal, type NsCarousalProps, NsCartIcon, type NsCartIconProps, NsCheckbox, type NsCheckboxProps, NsCheckoutCard, NsCollapse, type NsCollapseProps, NsColumnControl, type NsColumnControlProps, settings as NsDefaultCarousalSettings, NsDropdown, NsDropdownOption, NsEmailSimple, type NsEmailSimpleProps, type NsFfgCardProps, NsFlag, type NsFlagProps, type NsFlagSize, NsFlexColumns, NsGridColumns, NsHeroCardLevel1, NsHeroCardLevel2, NsIcon, type NsIconNameType, type NsIconProps, type NsIconSizeType, NsIconText, IconVariants as NsIconVariants, NsImage, NsInputField, type NsInputFieldProps, NsLabel, type NsLabelProps, NsLargeCard, NsLink, type NsLinkProps, NsMediumCard, NsModal, type NsModalProps, type NsModalVariant, NsNavProductCard, type NsNavProductCardProps, NsNavTabComponent as NsNavTab, type NsNavTabComponentProps, NsPost, NsProgress, type NsProgressProps, NsRadioGroup, type NsRadioGroupProps, NsScrollingCarousal, type NsScrollingCarousalProps, NsSelect, NsSelectOption, NsSmallFullCard, NsSpinner, type NsSpinnerProps, NsTable, type NsTableProps, NsTextStrip, type NsTextStripProps, NsToastProvider, NsToggleSection, type NsToggleSectionProps, NsTypography, type NsTypographyProps, NsVideo, type NsVideoProps, NsXLargeCard, type OptionsProps, type RenderSelectOptionArgType, type SelectOptionProps, type SelectProps, Show, type Themed, type ToastOptions, type Variants, getBasicDATWidthHeight, iconSize, useAccordionMap, useToast, useWindowSize };