@useloops/design-system 1.4.162 → 1.4.164

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.ts CHANGED
@@ -1,19 +1,23 @@
1
- import react, { ReactElement, FunctionComponent, ChangeEvent, PropsWithChildren, ReactNode, FC, Dispatch, SetStateAction } from 'react';
1
+ import { Icons } from 'BrandCore/Icon';
2
+ export { default as Icon, Icons, iconSizeMap, icons } from 'BrandCore/Icon';
2
3
  import * as _mui_material from '@mui/material';
3
- import { AvatarGroupProps as AvatarGroupProps$1, SxProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Theme, Breakpoint, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, PopperProps as PopperProps$1, FadeProps, SelectProps as SelectProps$1, SelectChangeEvent, PaperProps, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
4
+ import { SxProps, Theme, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps, MenuItemProps as MenuItemProps$1, FormControlLabelProps as FormControlLabelProps$1, Breakpoint, TooltipProps as TooltipProps$1, IconButtonProps as IconButtonProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, LinkProps as LinkProps$1, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, SelectProps as SelectProps$1, SelectChangeEvent, PaperProps, SwitchProps as SwitchProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
5
+ import react, { FunctionComponent, ReactNode, PropsWithChildren, ReactElement, ChangeEvent, FC } from 'react';
6
+ import { SurfaceProps as SurfaceProps$1 } from 'WebCore/Surface';
7
+ import { GenericSizeMap as GenericSizeMap$1 } from 'BrandCore/primitiveVariables';
4
8
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
9
  import * as _emotion_styled from '@emotion/styled';
6
10
  import * as _mui_system from '@mui/system';
7
11
  import { Theme as Theme$1 } from '@mui/material/styles';
8
- import { NavigationSizing as NavigationSizing$1 } from 'Platform/Navigation/Navigation';
12
+ import { NavigationSizing as NavigationSizing$1 } from 'Platform/Navigation';
9
13
  import { NumericFormatProps } from 'react-number-format';
14
+ import { InputFieldBaseProps as InputFieldBaseProps$1 } from 'WebCore/InputFieldBase';
10
15
  import { PopupState } from 'material-ui-popup-state/hooks';
11
- import { SurfaceProps as SurfaceProps$1 } from 'WebCore/Surface';
12
16
  import { UniqueIdentifier } from '@dnd-kit/core';
13
17
  import { SubmitHandler } from 'react-hook-form';
14
18
  import { TextFieldProps as TextFieldProps$2, NumberFieldProps as NumberFieldProps$1, TextareaProps as TextareaProps$1, SelectProps as SelectProps$2, CheckboxProps as CheckboxProps$2, CheckboxGroupProps as CheckboxGroupProps$1, SwitchProps as SwitchProps$2, SliderProps as SliderProps$1, DifferentialProps as DifferentialProps$1, LikertProps as LikertProps$1, RadioGroupProps as RadioGroupProps$1, RankProps as RankProps$1, RichTextFieldProps as RichTextFieldProps$1, StarRatingProps as StarRatingProps$1, HtmlProps as HtmlProps$1, CustomFieldProps as CustomFieldProps$1, InputLabelProps as InputLabelProps$1, InputLabelHelpProps as InputLabelHelpProps$1 } from 'WebCore';
15
19
 
16
- interface ColorRange {
20
+ interface ColorRange$1 {
17
21
  0: string;
18
22
  50?: string;
19
23
  100: string;
@@ -29,7 +33,7 @@ interface ColorRange {
29
33
  1000: string;
30
34
  1100?: string;
31
35
  }
32
- interface ColorRangeAlpha {
36
+ interface ColorRangeAlpha$1 {
33
37
  0: string;
34
38
  0.01: string;
35
39
  1: string;
@@ -38,6 +42,462 @@ interface ColorRangeAlpha {
38
42
  4: string;
39
43
  5: string;
40
44
  }
45
+ declare enum FontWeight {
46
+ DEFAULT = 400,
47
+ BOLD = 500
48
+ }
49
+ interface SemanticColor {
50
+ light: {
51
+ surface: {
52
+ sunken: string | undefined;
53
+ default: string | undefined;
54
+ raised: string | undefined;
55
+ overlay: string | undefined;
56
+ scrim: string | undefined;
57
+ transparent: string | undefined;
58
+ };
59
+ interaction: {
60
+ none: string | undefined;
61
+ hover: string | undefined;
62
+ press: string | undefined;
63
+ hoverOnDark: string | undefined;
64
+ pressOnDark: string | undefined;
65
+ disabled: string | undefined;
66
+ };
67
+ stroke: {
68
+ default: string | undefined;
69
+ focus: string | undefined;
70
+ disabled: string | undefined;
71
+ };
72
+ text: {
73
+ primary: string | undefined;
74
+ secondary: string | undefined;
75
+ placeholder: string | undefined;
76
+ disabled: string | undefined;
77
+ textLink: string | undefined;
78
+ textLinkHover: string | undefined;
79
+ primaryInverted: string | undefined;
80
+ secondaryInverted: string | undefined;
81
+ placeholderInverted: string | undefined;
82
+ disabledInverted: string | undefined;
83
+ positive: string | undefined;
84
+ negative: string | undefined;
85
+ lockedWhite: string | undefined;
86
+ };
87
+ icon: {
88
+ primary: string | undefined;
89
+ secondary: string | undefined;
90
+ disabled: string | undefined;
91
+ primaryInverted: string | undefined;
92
+ secondaryInverted: string | undefined;
93
+ disabledInverted: string | undefined;
94
+ positive: string | undefined;
95
+ negative: string | undefined;
96
+ lockedWhite: string | undefined;
97
+ };
98
+ input: {
99
+ default: string | undefined;
100
+ disabled: string | undefined;
101
+ };
102
+ };
103
+ dark: {
104
+ surface: {
105
+ sunken: string | undefined;
106
+ default: string | undefined;
107
+ raised: string | undefined;
108
+ overlay: string | undefined;
109
+ scrim: string | undefined;
110
+ transparent: string | undefined;
111
+ };
112
+ interaction: {
113
+ none: string | undefined;
114
+ hover: string | undefined;
115
+ press: string | undefined;
116
+ hoverOnDark: string | undefined;
117
+ pressOnDark: string | undefined;
118
+ disabled: string | undefined;
119
+ };
120
+ stroke: {
121
+ default: string | undefined;
122
+ focus: string | undefined;
123
+ disabled: string | undefined;
124
+ };
125
+ text: {
126
+ primary: string | undefined;
127
+ secondary: string | undefined;
128
+ placeholder: string | undefined;
129
+ disabled: string | undefined;
130
+ textLink: string | undefined;
131
+ textLinkHover: string | undefined;
132
+ primaryInverted: string | undefined;
133
+ secondaryInverted: string | undefined;
134
+ placeholderInverted: string | undefined;
135
+ disabledInverted: string | undefined;
136
+ positive: string | undefined;
137
+ negative: string | undefined;
138
+ lockedWhite: string | undefined;
139
+ };
140
+ icon: {
141
+ primary: string | undefined;
142
+ secondary: string | undefined;
143
+ disabled: string | undefined;
144
+ primaryInverted: string | undefined;
145
+ secondaryInverted: string | undefined;
146
+ disabledInverted: string | undefined;
147
+ positive: string | undefined;
148
+ negative: string | undefined;
149
+ lockedWhite: string | undefined;
150
+ };
151
+ input: {
152
+ default: string | undefined;
153
+ disabled: string | undefined;
154
+ };
155
+ };
156
+ }
157
+
158
+ declare const neutralRamp: {
159
+ light: {
160
+ 0: string;
161
+ 50: string | undefined;
162
+ 100: string;
163
+ 200: string;
164
+ 300: string;
165
+ 400: string;
166
+ 500: string;
167
+ 600: string;
168
+ 700: string;
169
+ 800: string;
170
+ 900: string;
171
+ 950: string | undefined;
172
+ 1000: string;
173
+ 1100: string | undefined;
174
+ };
175
+ dark: {
176
+ 0: string;
177
+ 50: string | undefined;
178
+ 100: string;
179
+ 200: string;
180
+ 300: string;
181
+ 400: string;
182
+ 500: string;
183
+ 600: string;
184
+ 700: string;
185
+ 800: string;
186
+ 900: string;
187
+ 950: string | undefined;
188
+ 1000: string;
189
+ 1100: string | undefined;
190
+ };
191
+ };
192
+ declare const generateRamp: (color: ColorRange$1) => {
193
+ light: {
194
+ 0: string;
195
+ 100: string;
196
+ 200: string;
197
+ 300: string;
198
+ 400: string;
199
+ 500: string;
200
+ 600: string;
201
+ 700: string;
202
+ 800: string;
203
+ 900: string;
204
+ 1000: string;
205
+ };
206
+ dark: {
207
+ 0: string;
208
+ 100: string;
209
+ 200: string;
210
+ 300: string;
211
+ 400: string;
212
+ 500: string;
213
+ 600: string;
214
+ 700: string;
215
+ 800: string;
216
+ 900: string;
217
+ 1000: string;
218
+ };
219
+ };
220
+ declare const purpleRamp: {
221
+ light: {
222
+ 0: string;
223
+ 100: string;
224
+ 200: string;
225
+ 300: string;
226
+ 400: string;
227
+ 500: string;
228
+ 600: string;
229
+ 700: string;
230
+ 800: string;
231
+ 900: string;
232
+ 1000: string;
233
+ };
234
+ dark: {
235
+ 0: string;
236
+ 100: string;
237
+ 200: string;
238
+ 300: string;
239
+ 400: string;
240
+ 500: string;
241
+ 600: string;
242
+ 700: string;
243
+ 800: string;
244
+ 900: string;
245
+ 1000: string;
246
+ };
247
+ };
248
+ declare const redRamp: {
249
+ light: {
250
+ 0: string;
251
+ 100: string;
252
+ 200: string;
253
+ 300: string;
254
+ 400: string;
255
+ 500: string;
256
+ 600: string;
257
+ 700: string;
258
+ 800: string;
259
+ 900: string;
260
+ 1000: string;
261
+ };
262
+ dark: {
263
+ 0: string;
264
+ 100: string;
265
+ 200: string;
266
+ 300: string;
267
+ 400: string;
268
+ 500: string;
269
+ 600: string;
270
+ 700: string;
271
+ 800: string;
272
+ 900: string;
273
+ 1000: string;
274
+ };
275
+ };
276
+ declare const peachRamp: {
277
+ light: {
278
+ 0: string;
279
+ 100: string;
280
+ 200: string;
281
+ 300: string;
282
+ 400: string;
283
+ 500: string;
284
+ 600: string;
285
+ 700: string;
286
+ 800: string;
287
+ 900: string;
288
+ 1000: string;
289
+ };
290
+ dark: {
291
+ 0: string;
292
+ 100: string;
293
+ 200: string;
294
+ 300: string;
295
+ 400: string;
296
+ 500: string;
297
+ 600: string;
298
+ 700: string;
299
+ 800: string;
300
+ 900: string;
301
+ 1000: string;
302
+ };
303
+ };
304
+ declare const yellowRamp: {
305
+ light: {
306
+ 0: string;
307
+ 100: string;
308
+ 200: string;
309
+ 300: string;
310
+ 400: string;
311
+ 500: string;
312
+ 600: string;
313
+ 700: string;
314
+ 800: string;
315
+ 900: string;
316
+ 1000: string;
317
+ };
318
+ dark: {
319
+ 0: string;
320
+ 100: string;
321
+ 200: string;
322
+ 300: string;
323
+ 400: string;
324
+ 500: string;
325
+ 600: string;
326
+ 700: string;
327
+ 800: string;
328
+ 900: string;
329
+ 1000: string;
330
+ };
331
+ };
332
+ declare const blueRamp: {
333
+ light: {
334
+ 0: string;
335
+ 100: string;
336
+ 200: string;
337
+ 300: string;
338
+ 400: string;
339
+ 500: string;
340
+ 600: string;
341
+ 700: string;
342
+ 800: string;
343
+ 900: string;
344
+ 1000: string;
345
+ };
346
+ dark: {
347
+ 0: string;
348
+ 100: string;
349
+ 200: string;
350
+ 300: string;
351
+ 400: string;
352
+ 500: string;
353
+ 600: string;
354
+ 700: string;
355
+ 800: string;
356
+ 900: string;
357
+ 1000: string;
358
+ };
359
+ };
360
+ declare const greenRamp: {
361
+ light: {
362
+ 0: string;
363
+ 100: string;
364
+ 200: string;
365
+ 300: string;
366
+ 400: string;
367
+ 500: string;
368
+ 600: string;
369
+ 700: string;
370
+ 800: string;
371
+ 900: string;
372
+ 1000: string;
373
+ };
374
+ dark: {
375
+ 0: string;
376
+ 100: string;
377
+ 200: string;
378
+ 300: string;
379
+ 400: string;
380
+ 500: string;
381
+ 600: string;
382
+ 700: string;
383
+ 800: string;
384
+ 900: string;
385
+ 1000: string;
386
+ };
387
+ };
388
+
389
+ declare const neutral: ColorRange$1;
390
+ declare const darkNeutral: ColorRange$1;
391
+ declare const neutralAlpha: ColorRangeAlpha$1;
392
+ declare const darkNeutralAlpha: ColorRangeAlpha$1;
393
+ declare const purple: ColorRange$1;
394
+ declare const red: ColorRange$1;
395
+ declare const peach: ColorRange$1;
396
+ declare const yellow: ColorRange$1;
397
+ declare const blue: ColorRange$1;
398
+ declare const green: ColorRange$1;
399
+
400
+ type GenericSizeMap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
401
+ declare const breakpoints: {
402
+ sm: number;
403
+ md: number;
404
+ lg: number;
405
+ lgNav: number;
406
+ xl: number;
407
+ xxl: number;
408
+ };
409
+ declare const space: {
410
+ 0: number;
411
+ 25: number;
412
+ 50: number;
413
+ 100: number;
414
+ 150: number;
415
+ 200: number;
416
+ 300: number;
417
+ 350: number;
418
+ 400: number;
419
+ 500: number;
420
+ 600: number;
421
+ 800: number;
422
+ 1000: number;
423
+ 2000: number;
424
+ };
425
+ declare const base: number;
426
+ declare const margin: {
427
+ none: number;
428
+ xs: number;
429
+ sm: number;
430
+ md: number;
431
+ lg: number;
432
+ xl: number;
433
+ xxl: number;
434
+ xxxl: number;
435
+ };
436
+ declare const padding: {
437
+ none: number;
438
+ xs: number;
439
+ sm: number;
440
+ md: number;
441
+ lg: number;
442
+ xl: number;
443
+ };
444
+ declare const radius: {
445
+ none: number;
446
+ xs: number;
447
+ sm: number;
448
+ md: number;
449
+ lg: number;
450
+ xl: number;
451
+ round: number;
452
+ };
453
+ declare const elevation: {
454
+ raised: string;
455
+ overlay: string;
456
+ };
457
+ declare const elevationFilter: {
458
+ raised: string;
459
+ overlay: string;
460
+ };
461
+ declare const boxShadow: {
462
+ input: {
463
+ focus: string;
464
+ };
465
+ };
466
+ declare const easing: {
467
+ default: string;
468
+ input: string;
469
+ };
470
+
471
+ declare const semantic: SemanticColor;
472
+
473
+ declare const fonts: {
474
+ Domaine: {
475
+ name: string;
476
+ default: {
477
+ fileName: string;
478
+ weight: FontWeight;
479
+ };
480
+ bold: {
481
+ fileName: string;
482
+ weight: FontWeight;
483
+ };
484
+ };
485
+ FoundersGrotesk: {
486
+ name: string;
487
+ default: {
488
+ fileName: string;
489
+ weight: FontWeight;
490
+ };
491
+ bold: {
492
+ fileName: string;
493
+ weight: FontWeight;
494
+ };
495
+ };
496
+ FontStack: {
497
+ Serif: string;
498
+ SansSerif: string;
499
+ };
500
+ };
41
501
 
42
502
  interface CustomTheme {
43
503
  palette: {
@@ -146,13 +606,13 @@ interface CustomTheme {
146
606
  handle: string;
147
607
  };
148
608
  };
149
- shape: {
150
- borderRadius: number;
151
- hotspot: {
152
- active: number;
153
- default: number
154
- }
155
- },
609
+ shape: {
610
+ borderRadius: number;
611
+ hotspot: {
612
+ active: number;
613
+ default: number;
614
+ };
615
+ };
156
616
  typography: {
157
617
  headline: {
158
618
  xs: string;
@@ -175,6 +635,49 @@ interface CustomTheme {
175
635
  };
176
636
  }
177
637
 
638
+ interface AuthContainerSurfaceProps extends SurfaceProps$1 {
639
+ headContent?: ReactNode;
640
+ sx?: SxProps<Theme>;
641
+ }
642
+ declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
643
+
644
+ type NavigationSizing = 'sm' | 'lg';
645
+ interface NavigationProps {
646
+ isMobile?: boolean;
647
+ logoLink?: string;
648
+ nudgeProps: NudgeProps$1;
649
+ primaryMenuItemProps: MenuItemProps[];
650
+ secondaryMenuItemProps: MenuItemProps[];
651
+ sizing?: NavigationSizing;
652
+ tertiaryMenuItemProps: MenuItemProps[];
653
+ toggleMenuOnClick?: () => void;
654
+ userMenuProps: UserMenuProps$1;
655
+ }
656
+ interface MenuItemProps {
657
+ active?: boolean;
658
+ children?: MenuItemProps[];
659
+ danger?: boolean;
660
+ fullWidth?: boolean;
661
+ href?: string;
662
+ icon?: Icons;
663
+ label: string;
664
+ onClick?: () => void;
665
+ selected?: boolean;
666
+ sizing?: NavigationSizing;
667
+ }
668
+ interface UserMenuProps$1 {
669
+ avatar: string;
670
+ email: string;
671
+ menuItems: MenuItemProps[];
672
+ name: string;
673
+ }
674
+ interface NudgeProps$1 extends PropsWithChildren {
675
+ description: string;
676
+ notification: boolean;
677
+ title: string;
678
+ }
679
+ declare const Navigation: FunctionComponent<NavigationProps>;
680
+
178
681
  interface AuthFormHeaderProps {
179
682
  logo?: ReactElement | false | undefined;
180
683
  headerText?: string;
@@ -198,9 +701,7 @@ interface AvatarGroupProps extends AvatarGroupProps$1 {
198
701
  }
199
702
  declare const AvatarGroup: FunctionComponent<AvatarGroupProps>;
200
703
 
201
- type GenericSizeMap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
202
-
203
- type ButtonSizing = Exclude<GenericSizeMap, 'none'>;
704
+ type ButtonSizing = Exclude<GenericSizeMap$1, 'none'>;
204
705
 
205
706
  interface ButtonBaseProps extends ButtonProps$1 {
206
707
  loading?: boolean;
@@ -351,13 +852,6 @@ interface HtmlProps {
351
852
  }
352
853
  declare const Html: FunctionComponent<HtmlProps>;
353
854
 
354
- interface IconProps {
355
- name: 'access-time' | 'arrow-forward' | 'check-circle' | 'check-thin' | 'check' | 'chevron-right' | 'close' | 'dash' | 'error-outline' | 'expand-more' | 'folder' | 'gift' | 'google' | 'help' | 'home' | 'info' | 'lightbulb' | 'linkedin-color' | 'linkedin' | 'lock' | 'loopsOfficial' | 'medium' | 'menu' | 'navigation-arrow' | 'negative' | 'neutral' | 'notification' | 'open-in-new' | 'play' | 'positive' | 'push-left' | 'push-right' | 'settings' | 'star' | 'unfold-more' | 'warning-amber' | string;
356
- size?: number;
357
- sx?: SxProps;
358
- }
359
- declare const Icon: FunctionComponent<IconProps>;
360
-
361
855
  interface TooltipProps extends PropsWithChildren {
362
856
  message: TooltipProps$1['title'];
363
857
  variation?: 'primary';
@@ -477,52 +971,15 @@ declare const Logo: FunctionComponent<React.SVGProps<SVGSVGElement>>;
477
971
 
478
972
  declare const Markdown: (props: any) => react_jsx_runtime.JSX.Element;
479
973
 
480
- type NavigationSizing = 'sm' | 'lg';
481
- interface NavigationProps {
482
- isMobile?: boolean;
483
- logoLink?: string;
484
- nudgeProps: NudgeProps$1;
485
- primaryMenuItemProps: MenuItemProps[];
486
- secondaryMenuItemProps: MenuItemProps[];
487
- sizing?: NavigationSizing;
488
- tertiaryMenuItemProps: MenuItemProps[];
489
- toggleMenuOnClick?: () => void;
490
- userMenuProps: UserMenuProps$1;
491
- }
492
- interface MenuItemProps {
493
- active?: boolean;
494
- children?: MenuItemProps[];
495
- danger?: boolean;
496
- fullWidth?: boolean;
497
- href?: string;
498
- icon?: string;
499
- label: string;
500
- onClick?: () => void;
501
- selected?: boolean;
502
- sizing?: NavigationSizing;
503
- }
504
- interface UserMenuProps$1 {
505
- avatar: string;
506
- email: string;
507
- menuItems: MenuItemProps[];
508
- name: string;
509
- }
510
- interface NudgeProps$1 extends PropsWithChildren {
511
- description: string;
512
- notification: boolean;
513
- title: string;
514
- }
515
- declare const Navigation: FunctionComponent<NavigationProps>;
516
-
517
974
  type MenuButtonSizing = 'sm' | 'md' | 'lg';
518
975
  interface MenuButtonProps {
519
976
  active?: boolean;
520
977
  danger?: boolean;
521
978
  fullWidth?: boolean;
522
979
  href?: string;
523
- icon?: string;
980
+ icon?: Icons;
524
981
  label: string;
525
- navigationSizing: NavigationSizing;
982
+ navigationSizing: NavigationSizing$1;
526
983
  onClick?: () => void;
527
984
  sizing?: MenuButtonSizing;
528
985
  }
@@ -536,7 +993,7 @@ interface NudgeProps extends PropsWithChildren {
536
993
  }
537
994
  declare const Nudge: FunctionComponent<NudgeProps>;
538
995
 
539
- type NumberFieldProps = InputFieldBaseProps & {
996
+ type NumberFieldProps = InputFieldBaseProps$1 & {
540
997
  hideActionButtons?: boolean;
541
998
  max?: number;
542
999
  min?: number;
@@ -563,6 +1020,7 @@ declare const Pill: FunctionComponent<PillProps>;
563
1020
  type BindOn = 'trigger' | 'contextMenu' | 'toggle' | 'hover' | 'focus' | 'doubleClick';
564
1021
  interface PopperProps {
565
1022
  popperProps?: Partial<PopperProps$1>;
1023
+ clickAwayListenerProps?: Partial<ClickAwayListenerProps>;
566
1024
  transitionFadeProps?: Pick<FadeProps, 'easing' | 'timeout' | 'appear' | 'enter' | 'exit'>;
567
1025
  surfaceProps?: SurfaceProps$1;
568
1026
  bindOn?: BindOn[];
@@ -577,7 +1035,7 @@ declare const Portal: FunctionComponent<PortalProps>;
577
1035
 
578
1036
  declare const PoweredByWatermarkLogo: () => react_jsx_runtime.JSX.Element;
579
1037
 
580
- type ProgressSizing = Exclude<GenericSizeMap, 'none'>;
1038
+ type ProgressSizing = Exclude<GenericSizeMap$1, 'none'>;
581
1039
  interface ProgressProps {
582
1040
  sizing?: ProgressSizing;
583
1041
  }
@@ -618,41 +1076,6 @@ interface RadioGroupProps {
618
1076
  }
619
1077
  declare const RadioGroup: FunctionComponent<RadioGroupProps>;
620
1078
 
621
- type SelectOption = {
622
- label: string;
623
- value: string;
624
- };
625
-
626
- type SelectOnChange = (event: SelectChangeEvent<any>, child: React.ReactNode) => void;
627
- type AutocompleteOnChange = (value: string | string[]) => void;
628
- type SelectProps = {
629
- selections: SelectOption[];
630
- autoComplete?: boolean;
631
- autoFocus?: boolean;
632
- disabled?: boolean;
633
- disablePortal?: boolean;
634
- error?: boolean;
635
- fullWidth?: boolean;
636
- id?: string;
637
- inputRef?: SelectProps$1['inputRef'];
638
- internalChange?: () => void;
639
- MenuProps?: SelectProps$1['MenuProps'];
640
- multi?: boolean;
641
- name: string;
642
- onBlur?: SelectProps$1['onBlur'];
643
- onChange?: SelectOnChange | AutocompleteOnChange;
644
- placeholder?: string | undefined;
645
- readOnly?: boolean;
646
- ref?: SelectProps$1['ref'];
647
- required?: boolean;
648
- selectOptionProps?: MenuItemProps$1;
649
- sizing?: 'xs' | 'md' | 'lg';
650
- sx?: SelectProps$1['sx'];
651
- value?: SelectProps$1['value'];
652
- renderListItem?: (value: string, label: string) => ReactElement;
653
- };
654
- declare const Select: FunctionComponent<SelectProps>;
655
-
656
1079
  interface Option {
657
1080
  label: string;
658
1081
  value: string;
@@ -706,6 +1129,41 @@ type RichTextFieldProps = Omit<InputFieldBaseProps, 'value' | 'onChange'> & {
706
1129
  };
707
1130
  declare const RichTextField: FunctionComponent<RichTextFieldProps>;
708
1131
 
1132
+ type SelectOption = {
1133
+ label: string;
1134
+ value: string;
1135
+ };
1136
+
1137
+ type SelectOnChange = (event: SelectChangeEvent<any>, child: React.ReactNode) => void;
1138
+ type AutocompleteOnChange = (value: string | string[]) => void;
1139
+ type SelectProps = {
1140
+ selections: SelectOption[];
1141
+ autoComplete?: boolean;
1142
+ autoFocus?: boolean;
1143
+ disabled?: boolean;
1144
+ disablePortal?: boolean;
1145
+ error?: boolean;
1146
+ fullWidth?: boolean;
1147
+ id?: string;
1148
+ inputRef?: SelectProps$1['inputRef'];
1149
+ internalChange?: () => void;
1150
+ MenuProps?: SelectProps$1['MenuProps'];
1151
+ multi?: boolean;
1152
+ name: string;
1153
+ onBlur?: SelectProps$1['onBlur'];
1154
+ onChange?: SelectOnChange | AutocompleteOnChange;
1155
+ placeholder?: string | undefined;
1156
+ readOnly?: boolean;
1157
+ ref?: SelectProps$1['ref'];
1158
+ required?: boolean;
1159
+ selectOptionProps?: MenuItemProps$1;
1160
+ sizing?: 'xs' | 'md' | 'lg';
1161
+ sx?: SelectProps$1['sx'];
1162
+ value?: SelectProps$1['value'];
1163
+ renderListItem?: (value: string, label: string) => ReactElement;
1164
+ };
1165
+ declare const Select: FunctionComponent<SelectProps>;
1166
+
709
1167
  interface SliderProps {
710
1168
  labelLeft: string;
711
1169
  labelRight: string;
@@ -747,9 +1205,11 @@ interface SurfaceProps extends PropsWithChildren {
747
1205
  declare const Surface: FC<SurfaceProps>;
748
1206
 
749
1207
  interface StyledSwitchProps extends SwitchProps$1 {
1208
+ sizing?: 'sm' | 'lg';
750
1209
  }
751
1210
 
752
1211
  interface SwitchProps extends StyledSwitchProps {
1212
+ sizing?: 'sm' | 'lg';
753
1213
  value?: boolean;
754
1214
  label?: string | ReactElement;
755
1215
  labelPlacement?: Exclude<FormControlLabelProps['labelPlacement'], 'top' | 'bottom'>;
@@ -759,7 +1219,7 @@ interface SwitchProps extends StyledSwitchProps {
759
1219
  }
760
1220
  declare const Switch: FunctionComponent<SwitchProps>;
761
1221
 
762
- type TextareaProps = InputFieldBaseProps & {
1222
+ type TextareaProps = InputFieldBaseProps$1 & {
763
1223
  startAdornment?: ReactElement;
764
1224
  endAdornment?: ReactElement;
765
1225
  internalChange?: () => void;
@@ -782,7 +1242,7 @@ interface TextBarDividerProps {
782
1242
  }
783
1243
  declare const TextBarDivider: FunctionComponent<TextBarDividerProps>;
784
1244
 
785
- type TextFieldProps = InputFieldBaseProps & {
1245
+ type TextFieldProps = InputFieldBaseProps$1 & {
786
1246
  startAdornment?: ReactElement;
787
1247
  endAdornment?: ReactElement;
788
1248
  internalChange?: () => void;
@@ -941,204 +1401,6 @@ declare const passwordValidation: (min?: number) => {
941
1401
  };
942
1402
  };
943
1403
 
944
- interface AuthContainerSurfaceProps extends SurfaceProps {
945
- headContent?: ReactNode;
946
- sx?: SxProps<Theme>;
947
- }
948
- declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
949
-
950
- type SupportedCurrency = 'gbp' | 'eur' | 'usd';
951
- type SupportedFrequency = 'monthly' | 'annual';
952
- interface AnnualControllerProps {
953
- body: string;
954
- currency: string;
955
- changeCurrencyEvent?: (value: string) => void;
956
- frequency: string;
957
- heading: string;
958
- setCurrency?: Dispatch<SetStateAction<SupportedCurrency>>;
959
- setFrequency?: Dispatch<SetStateAction<SupportedFrequency>>;
960
- togglePayAnnuallyEvent?: () => void;
961
- }
962
- declare const AnnualController: FunctionComponent<AnnualControllerProps>;
963
-
964
- declare const _default: {
965
- headings: {
966
- "01-starter": {
967
- heading: string;
968
- pricing: string;
969
- };
970
- "02-team": {
971
- heading: string;
972
- pricing: string;
973
- };
974
- "03-plus": {
975
- heading: string;
976
- pricing: string;
977
- };
978
- "04-scale": {
979
- heading: string;
980
- pricing: string;
981
- };
982
- };
983
- rows: {
984
- "01-seats": {
985
- heading: string;
986
- description: string;
987
- starter: string;
988
- team: string;
989
- plus: string;
990
- scale: string;
991
- };
992
- "02-servicing": {
993
- heading: string;
994
- description: string;
995
- starter: string;
996
- team: string;
997
- plus: string;
998
- scale: string;
999
- };
1000
- "03-respondents": {
1001
- heading: string;
1002
- description: string;
1003
- starter: string;
1004
- team: string;
1005
- plus: string;
1006
- scale: string;
1007
- };
1008
- "04-questions": {
1009
- heading: string;
1010
- description: string;
1011
- starter: string;
1012
- team: string;
1013
- plus: string;
1014
- scale: string;
1015
- };
1016
- "05-ai": {
1017
- heading: string;
1018
- description: string;
1019
- starter: string;
1020
- team: string;
1021
- plus: string;
1022
- scale: string;
1023
- };
1024
- "06-demographics": {
1025
- heading: string;
1026
- description: string;
1027
- starter: string;
1028
- team: string;
1029
- plus: string;
1030
- scale: string;
1031
- };
1032
- "07-training": {
1033
- heading: string;
1034
- description: string;
1035
- starter: string;
1036
- team: string;
1037
- plus: string;
1038
- scale: string;
1039
- };
1040
- "08-invite": {
1041
- heading: string;
1042
- description: string;
1043
- starter: string;
1044
- team: string;
1045
- plus: string;
1046
- scale: string;
1047
- };
1048
- "09-email": {
1049
- heading: string;
1050
- description: string;
1051
- starter: string;
1052
- team: string;
1053
- plus: string;
1054
- scale: string;
1055
- };
1056
- "10-beta": {
1057
- heading: string;
1058
- description: string;
1059
- starter: string;
1060
- team: string;
1061
- plus: string;
1062
- scale: string;
1063
- };
1064
- "11-sso": {
1065
- heading: string;
1066
- description: string;
1067
- starter: string;
1068
- team: string;
1069
- plus: string;
1070
- scale: string;
1071
- };
1072
- "12-minimum": {
1073
- heading: string;
1074
- description: string;
1075
- starter: string;
1076
- team: string;
1077
- plus: string;
1078
- scale: string;
1079
- };
1080
- };
1081
- };
1082
-
1083
- interface PlanFeatureTableProps {
1084
- currencySymbol: string;
1085
- data: typeof _default;
1086
- starterPrice: string;
1087
- starterRespondentPrice: string;
1088
- teamPrice: string;
1089
- teamRespondentPrice: string;
1090
- plusPrice: string;
1091
- plusRespondentPrice: string;
1092
- scalePrice: string;
1093
- scaleRespondentPrice: string;
1094
- variation?: 'default' | 'platform';
1095
- }
1096
- declare const PlanFeatureTable: FunctionComponent<PlanFeatureTableProps>;
1097
-
1098
- interface PlanTierCardProps {
1099
- amount: string;
1100
- billingType?: string;
1101
- body: string;
1102
- ctaEvent?: (heading: string) => void;
1103
- ctaLink?: string;
1104
- ctaTarget?: string;
1105
- ctaText: string;
1106
- ctaVariation?: 'primary' | 'secondary' | 'outlined';
1107
- currencySymbol: string;
1108
- currentPlan?: boolean;
1109
- features?: string[];
1110
- freeTrialLength?: string;
1111
- freeTrialText?: string;
1112
- frequency: string;
1113
- heading: string;
1114
- label?: string;
1115
- largestHeaderHeight?: number;
1116
- perMonth: string;
1117
- setLargestHeaderHeight?: (height: number) => void;
1118
- variation?: 'default' | 'platform';
1119
- }
1120
- declare const PlanTierCard: FunctionComponent<PlanTierCardProps>;
1121
-
1122
- interface PlanTierCardScaleProps {
1123
- amount: string;
1124
- body: string;
1125
- ctaEvent?: (heading: string) => void;
1126
- ctaLink?: string;
1127
- ctaTarget?: string;
1128
- ctaText: string;
1129
- currencySymbol: string;
1130
- heading: string;
1131
- preText: string;
1132
- postText: string;
1133
- }
1134
- declare const PlanTierCardScale: FunctionComponent<PlanTierCardScaleProps>;
1135
-
1136
- interface TickGroupProps {
1137
- heading: string;
1138
- ticks: string[];
1139
- }
1140
- declare const TickGroup: FunctionComponent<TickGroupProps>;
1141
-
1142
1404
  type ScreenSize = 'sm' | 'lg';
1143
1405
 
1144
1406
  interface Props extends PropsWithChildren {
@@ -1181,14 +1443,14 @@ declare module '@mui/material/styles' {
1181
1443
  palette?: {
1182
1444
  black?: string;
1183
1445
  white?: string;
1184
- neutral?: ColorRange;
1185
- neutralAlpha?: ColorRangeAlpha;
1186
- purple?: ColorRange;
1187
- red?: ColorRange;
1188
- peach?: ColorRange;
1189
- yellow?: ColorRange;
1190
- blue?: ColorRange;
1191
- green?: ColorRange;
1446
+ neutral?: ColorRange$1;
1447
+ neutralAlpha?: ColorRangeAlpha$1;
1448
+ purple?: ColorRange$1;
1449
+ red?: ColorRange$1;
1450
+ peach?: ColorRange$1;
1451
+ yellow?: ColorRange$1;
1452
+ blue?: ColorRange$1;
1453
+ green?: ColorRange$1;
1192
1454
  icon?: {
1193
1455
  primary?: string;
1194
1456
  secondary?: string;
@@ -1348,4 +1610,4 @@ declare module '@mui/system' {
1348
1610
  }
1349
1611
  }
1350
1612
 
1351
- export { AnnualController, type AnnualControllerProps, AuthContainerSurface, type AuthContainerSurfaceProps, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, GridOverlay, type GridOverlayProps, Html, type HtmlProps, Icon, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, PlanFeatureTable, type PlanFeatureTableProps, PlanTierCard, type PlanTierCardProps, PlanTierCardScale, type PlanTierCardScaleProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, TickGroup, type TickGroupProps, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, chooseArticle, defaultInputValidation, emailValidation, passwordValidation, useDropdownMenu };
1613
+ export { AuthContainerSurface, AuthFormHeader, type AuthFormHeaderProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Button, type ButtonProps, CheckboxGroup as CheckBoxGroup, Checkbox, type CheckboxGroupProps, type CheckboxProps, ColorBackgroundContainer, type ColorBackgroundContainerProps, type ColorRange$1 as ColorRange, type ColorRangeAlpha$1 as ColorRangeAlpha, CustomField, type CustomFieldProps, DEFAULT_MAX_INPUT_LENGTH, Differential, type DifferentialProps, DropdownMenu, type FieldType, type FieldTypes, FontWeight, FormControlLabel, FormGenerator, type FormGeneratorConfig, type FormGeneratorHandler, type GenericSizeMap, GridOverlay, type GridOverlayProps, Html, type HtmlProps, IconButton, IconButtonGroup, type IconButtonProps, InputFieldBase, type InputFieldBaseProps, InputLabel, InputLabelHelp, type InputLabelHelpProps, type InputLabelProps, Likert, type LikertProps, Link, type LinkProps, Loader, type LoaderProps, Logo, Markdown, MenuButton, type MenuButtonProps, Navigation, type NavigationProps, type NavigationSizing, Nudge, type NudgeProps, NumberField, type NumberFieldProps, Pill, type PillProps, Popper, type PopperProps, Portal, type PortalProps, PoweredByWatermarkLogo, Progress, type ProgressProps, Radio, RadioGroup, type RadioGroupProps, type RadioProps, Rank, type RankProps, RichTextField, type RichTextFieldProps, Select, type SelectProps, type SemanticColor, Slider, type SliderProps, SortableList, type SortableListProps, StarRating, type StarRatingProps, Surface, type SurfaceProps, Switch, type SwitchProps, Textarea as TextArea, TextBarDivider, type TextBarDividerProps, TextField, type TextFieldProps, type TextareaProps, ThemeProvider, Toast, type ToastProps, Tooltip, type TooltipProps, Typography, type TypographyProps, UserMenu, type UserMenuProps, backgroundCreator, base, blue, blueRamp, boxShadow, breakpoints, chooseArticle, darkNeutral, darkNeutralAlpha, defaultInputValidation, easing, elevation, elevationFilter, emailValidation, fonts, generateRamp, green, greenRamp, margin, neutral, neutralAlpha, neutralRamp, padding, passwordValidation, peach, peachRamp, purple, purpleRamp, radius, red, redRamp, semantic, space, useDropdownMenu, yellow, yellowRamp };