@useloops/design-system 1.4.35 → 1.4.39

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,11 +1,13 @@
1
1
  import * as react from 'react';
2
- import { Dispatch, SetStateAction, FunctionComponent, ReactElement, ChangeEvent, PropsWithChildren, ReactNode } from 'react';
2
+ import { ReactElement, FunctionComponent, ChangeEvent, PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
3
3
  import * as _mui_material from '@mui/material';
4
- import { AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, ButtonProps as ButtonProps$1, FormControlLabelProps as FormControlLabelProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, Breakpoint, SxProps, IconButtonProps as IconButtonProps$1, ButtonGroupProps, InputLabelProps as InputLabelProps$1, LinkProps as LinkProps$1, RadioProps as RadioProps$1, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, MenuItemProps, SliderProps as SliderProps$1, RatingProps, PaperProps, Theme, SwitchProps as SwitchProps$1, TextFieldProps as TextFieldProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
4
+ import { AvatarGroupProps as AvatarGroupProps$1, SxProps, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, FormControlLabelProps as FormControlLabelProps$1, Theme, Breakpoint, IconButtonProps as IconButtonProps$1, ButtonGroupProps, LinkProps as LinkProps$1, MenuItemProps, SelectProps as SelectProps$1, PaperProps, SwitchProps as SwitchProps$1, TextFieldProps as TextFieldProps$1, TypographyProps as TypographyProps$1, PaletteMode, Direction } from '@mui/material';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import { UniqueIdentifier } from '@dnd-kit/core';
7
- import * as _emotion_styled from '@emotion/styled';
7
+ import { Theme as Theme$1 } from '@mui/material/styles';
8
8
  import * as _mui_system from '@mui/system';
9
+ import { SxProps as SxProps$1, Theme as Theme$2 } from '@mui/system';
10
+ import * as _emotion_styled from '@emotion/styled';
9
11
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
10
12
  import { SubmitHandler } from 'react-hook-form';
11
13
 
@@ -27,6 +29,7 @@ interface ColorRange {
27
29
  }
28
30
  interface ColorRangeAlpha {
29
31
  0: string;
32
+ 0.01: string;
30
33
  1: string;
31
34
  2: string;
32
35
  3: string;
@@ -170,20 +173,6 @@ interface CustomTheme {
170
173
  };
171
174
  }
172
175
 
173
- type SupportedCurrency = 'gbp' | 'eur' | 'usd';
174
- type SupportedFrequency = 'monthly' | 'annual';
175
- interface AnnualControllerProps {
176
- body: string;
177
- currency: string;
178
- changeCurrencyEvent?: (value: string) => void;
179
- frequency: string;
180
- heading: string;
181
- setCurrency?: Dispatch<SetStateAction<SupportedCurrency>>;
182
- setFrequency?: Dispatch<SetStateAction<SupportedFrequency>>;
183
- togglePayAnnuallyEvent?: () => void;
184
- }
185
- declare const AnnualController: FunctionComponent<AnnualControllerProps>;
186
-
187
176
  interface AuthFormHeaderProps {
188
177
  logo?: ReactElement | false | undefined;
189
178
  headerText?: string;
@@ -191,13 +180,18 @@ interface AuthFormHeaderProps {
191
180
  }
192
181
  declare const AuthFormHeader: FunctionComponent<AuthFormHeaderProps>;
193
182
 
194
- interface AvatarProps extends Pick<AvatarProps$1, 'src' | 'className' | 'alt'> {
183
+ interface AvatarProps {
195
184
  variation?: 'sm' | 'lg';
185
+ src: string;
186
+ alt: string;
187
+ className: string;
196
188
  }
197
189
  declare const Avatar: FunctionComponent<AvatarProps>;
198
190
 
199
191
  interface AvatarGroupProps extends AvatarGroupProps$1 {
200
192
  variation?: 'primary';
193
+ max?: number;
194
+ sx: SxProps;
201
195
  }
202
196
  declare const AvatarGroup: FunctionComponent<AvatarGroupProps>;
203
197
 
@@ -210,27 +204,40 @@ interface ButtonBaseProps extends ButtonProps$1 {
210
204
  sizing: any;
211
205
  }
212
206
 
213
- interface ButtonProps extends Pick<ButtonBaseProps, 'fullWidth' | 'className' | 'disabled' | 'tabIndex' | 'href' | 'endIcon' | 'startIcon' | 'children' | 'onClick' | 'type'> {
207
+ interface ButtonProps {
214
208
  loading?: boolean;
215
209
  variation?: 'primary' | 'secondary' | 'outlined' | 'subtle';
216
210
  sizing?: ButtonSizing;
211
+ fullWidth?: boolean;
212
+ className?: string;
213
+ disabled?: boolean;
214
+ tabIndex?: number;
215
+ href?: string;
216
+ endIcon?: ReactElement;
217
+ startIcon?: ReactElement;
218
+ children: ReactElement | string;
219
+ onClick?: ButtonBaseProps['onClick'];
220
+ type?: 'button' | 'submit' | 'reset';
217
221
  }
218
222
  declare const Button: FunctionComponent<ButtonProps>;
219
223
 
220
- interface FormControlLabelProps extends Omit<FormControlLabelProps$1, 'label'> {
221
- label?: string;
222
- }
223
- declare const FormControlLabel: FunctionComponent<FormControlLabelProps>;
224
-
225
224
  interface StyledCheckboxProps extends CheckboxProps$1 {
226
225
  sizing?: 'default' | 'lg';
227
226
  }
228
227
 
229
- interface CheckboxProps extends Omit<FormControlLabelProps, 'control' | 'disableTypography' | 'classes' | 'labelPlacement' | 'slotProps' | 'label'> {
228
+ interface CheckboxProps {
230
229
  sizing?: StyledCheckboxProps['sizing'];
230
+ checked?: boolean;
231
231
  indeterminate?: StyledCheckboxProps['indeterminate'];
232
232
  checkboxLabel?: string;
233
233
  internalChange?: () => void;
234
+ onChange?: (event: React.SyntheticEvent<Element, Event>, checked: boolean) => void;
235
+ inputRef?: React.RefObject<HTMLInputElement>;
236
+ defaultChecked?: boolean;
237
+ disabled?: boolean;
238
+ id?: string;
239
+ required?: boolean;
240
+ value?: any;
234
241
  }
235
242
  declare const Checkbox: FunctionComponent<CheckboxProps>;
236
243
 
@@ -258,13 +265,12 @@ interface CheckboxGroupProps {
258
265
  }
259
266
  declare const CheckboxGroup: FunctionComponent<CheckboxGroupProps>;
260
267
 
261
- interface BackgroundOptions {
268
+ interface ColorBackgroundContainerProps {
269
+ sx?: SxProps;
270
+ children: ContainerProps['children'];
262
271
  texture?: 'none' | 'noise1';
263
272
  gradient?: 'tone1' | 'tone2' | 'tone3' | 'tone4';
264
273
  }
265
-
266
- interface ColorBackgroundContainerProps extends ContainerProps, BackgroundOptions {
267
- }
268
274
  declare const ColorBackgroundContainer: FunctionComponent<ColorBackgroundContainerProps>;
269
275
 
270
276
  interface DifferentialProps {
@@ -312,6 +318,22 @@ interface DragAndDropRankingProps extends Omit<SortableListProps<any>, 'renderIt
312
318
  }
313
319
  declare const DragAndDropRanking: FunctionComponent<DragAndDropRankingProps>;
314
320
 
321
+ interface FormControlLabelProps {
322
+ control: FormControlLabelProps$1['control'];
323
+ checked?: boolean;
324
+ disabled?: boolean;
325
+ label?: string;
326
+ sx?: SxProps<Theme>;
327
+ onChange?: FormControlLabelProps$1['onChange'];
328
+ value?: unknown;
329
+ required?: boolean;
330
+ error?: boolean;
331
+ name?: string;
332
+ id?: string;
333
+ inputRef?: FormControlLabelProps$1['inputRef'];
334
+ }
335
+ declare const FormControlLabel: FunctionComponent<FormControlLabelProps>;
336
+
315
337
  interface GridOverlayProps {
316
338
  breakpoint?: Breakpoint;
317
339
  }
@@ -327,14 +349,29 @@ declare const Icon: FunctionComponent<IconProps>;
327
349
  type IconButtonSizing = 'lg' | 'md';
328
350
  type IconButtonShapeMap = 'default' | 'round';
329
351
  type IconButtonVariation = 'default' | 'toggle' | 'outlined' | 'raised';
330
- interface IconButtonProps extends Pick<IconButtonProps$1, 'edge' | 'classes' | 'children' | 'onClick' | 'disabled' | 'ref' | 'id' | 'type'> {
352
+
353
+ interface StyledIconButtonProps extends IconButtonProps$1 {
331
354
  variation?: IconButtonVariation;
332
355
  shape?: IconButtonShapeMap;
333
356
  sizing?: IconButtonSizing;
334
- icon: ReactElement;
335
357
  loading?: boolean;
336
358
  }
337
359
 
360
+ interface IconButtonProps {
361
+ variation?: IconButtonVariation;
362
+ shape?: IconButtonShapeMap;
363
+ sizing?: IconButtonSizing;
364
+ icon: ReactElement;
365
+ loading?: boolean;
366
+ edge?: 'start' | 'end' | false;
367
+ children?: ReactNode | string;
368
+ onClick?: StyledIconButtonProps['onClick'];
369
+ disabled?: boolean;
370
+ ref?: React.Ref<HTMLButtonElement>;
371
+ id?: string;
372
+ type?: 'button' | 'submit' | 'reset';
373
+ className?: string;
374
+ }
338
375
  declare const IconButton: ({ icon, loading, sizing, ...rest }: IconButtonProps) => react_jsx_runtime.JSX.Element;
339
376
 
340
377
  interface IconButtonGroupProps extends PropsWithChildren {
@@ -350,19 +387,25 @@ declare const IconButtonGroup: FunctionComponent<IconButtonGroupProps>;
350
387
 
351
388
  type InputVariation = 'default' | 'help';
352
389
 
353
- type InputLabelBaseProps = Pick<InputLabelProps$1, 'children' | 'required' | 'error' | 'disabled' | 'sx' | 'component'> & {
390
+ interface InputLabelProps {
354
391
  variation?: InputVariation;
355
- align?: 'left' | 'center' | 'right';
356
- };
357
-
358
- interface InputLabelProps extends Pick<InputLabelBaseProps, 'align' | 'children' | 'disabled' | 'error' | 'required' | 'component' | 'sx'> {
392
+ align?: 'left' | 'center' | 'right' | undefined;
393
+ sx?: SxProps<Theme$1>;
394
+ children?: ReactElement | string;
395
+ disabled?: boolean;
396
+ error?: boolean;
397
+ required?: boolean;
359
398
  }
360
399
  declare const InputLabel: FunctionComponent<InputLabelProps>;
361
400
 
362
- interface InputLabelHelpProps extends Pick<InputLabelBaseProps, 'align' | 'children' | 'disabled' | 'required'> {
401
+ interface InputLabelHelpProps {
363
402
  state?: 'default' | 'positive' | 'negative' | 'disabled';
364
403
  showicon?: boolean;
365
404
  icon?: ReactNode;
405
+ align?: 'left' | 'center' | 'right';
406
+ children?: ReactNode;
407
+ disabled?: boolean;
408
+ required?: boolean;
366
409
  }
367
410
  declare const InputLabelHelp: FunctionComponent<InputLabelHelpProps>;
368
411
 
@@ -380,7 +423,22 @@ interface LikertProps {
380
423
  }
381
424
  declare const Likert: FunctionComponent<LikertProps>;
382
425
 
383
- interface LinkProps extends LinkProps$1 {
426
+ interface StyledLinkProps extends LinkProps$1 {
427
+ disabled?: boolean | undefined;
428
+ }
429
+
430
+ interface LinkProps {
431
+ children: React.ReactNode;
432
+ href?: string;
433
+ target?: string;
434
+ onClick?: StyledLinkProps['onClick'];
435
+ disabled?: boolean;
436
+ sx?: SxProps$1<Theme$2>;
437
+ underline?: "none" | "hover" | "always" | undefined;
438
+ noWrap?: boolean;
439
+ component?: any;
440
+ rel?: any;
441
+ title?: string;
384
442
  }
385
443
  declare const Link: FunctionComponent<LinkProps>;
386
444
 
@@ -397,178 +455,6 @@ interface PillProps {
397
455
  }
398
456
  declare const Pill: FunctionComponent<PillProps>;
399
457
 
400
- declare const _default: {
401
- headings: {
402
- "01-starter": {
403
- heading: string;
404
- pricing: string;
405
- };
406
- "02-team": {
407
- heading: string;
408
- pricing: string;
409
- };
410
- "03-plus": {
411
- heading: string;
412
- pricing: string;
413
- };
414
- "04-scale": {
415
- heading: string;
416
- pricing: string;
417
- };
418
- };
419
- rows: {
420
- "01-seats": {
421
- heading: string;
422
- description: string;
423
- starter: string;
424
- team: string;
425
- plus: string;
426
- scale: string;
427
- };
428
- "02-servicing": {
429
- heading: string;
430
- description: string;
431
- starter: string;
432
- team: string;
433
- plus: string;
434
- scale: string;
435
- };
436
- "03-respondents": {
437
- heading: string;
438
- description: string;
439
- starter: string;
440
- team: string;
441
- plus: string;
442
- scale: string;
443
- };
444
- "04-questions": {
445
- heading: string;
446
- description: string;
447
- starter: string;
448
- team: string;
449
- plus: string;
450
- scale: string;
451
- };
452
- "05-ai": {
453
- heading: string;
454
- description: string;
455
- starter: string;
456
- team: string;
457
- plus: string;
458
- scale: string;
459
- };
460
- "06-demographics": {
461
- heading: string;
462
- description: string;
463
- starter: string;
464
- team: string;
465
- plus: string;
466
- scale: string;
467
- };
468
- "07-training": {
469
- heading: string;
470
- description: string;
471
- starter: string;
472
- team: string;
473
- plus: string;
474
- scale: string;
475
- };
476
- "08-invite": {
477
- heading: string;
478
- description: string;
479
- starter: string;
480
- team: string;
481
- plus: string;
482
- scale: string;
483
- };
484
- "09-email": {
485
- heading: string;
486
- description: string;
487
- starter: string;
488
- team: string;
489
- plus: string;
490
- scale: string;
491
- };
492
- "10-beta": {
493
- heading: string;
494
- description: string;
495
- starter: string;
496
- team: string;
497
- plus: string;
498
- scale: string;
499
- };
500
- "11-sso": {
501
- heading: string;
502
- description: string;
503
- starter: string;
504
- team: string;
505
- plus: string;
506
- scale: string;
507
- };
508
- "12-minimum": {
509
- heading: string;
510
- description: string;
511
- starter: string;
512
- team: string;
513
- plus: string;
514
- scale: string;
515
- };
516
- };
517
- };
518
-
519
- interface PlanFeatureTableProps {
520
- currencySymbol: string;
521
- data: typeof _default;
522
- starterPrice: string;
523
- starterRespondentPrice: string;
524
- teamPrice: string;
525
- teamRespondentPrice: string;
526
- plusPrice: string;
527
- plusRespondentPrice: string;
528
- scalePrice: string;
529
- scaleRespondentPrice: string;
530
- variation?: 'default' | 'platform';
531
- }
532
- declare const PlanFeatureTable: FunctionComponent<PlanFeatureTableProps>;
533
-
534
- interface PlanTierCardProps {
535
- amount: string;
536
- billingType?: string;
537
- body: string;
538
- ctaEvent?: (heading: string) => void;
539
- ctaLink?: string;
540
- ctaTarget?: string;
541
- ctaText: string;
542
- ctaVariation?: 'primary' | 'secondary' | 'outlined';
543
- currencySymbol: string;
544
- currentPlan?: boolean;
545
- features?: string[];
546
- freeTrialLength?: string;
547
- freeTrialText?: string;
548
- frequency: string;
549
- heading: string;
550
- label?: string;
551
- largestHeaderHeight?: number;
552
- perMonth: string;
553
- setLargestHeaderHeight?: (height: number) => void;
554
- variation?: 'default' | 'platform';
555
- }
556
- declare const PlanTierCard: FunctionComponent<PlanTierCardProps>;
557
-
558
- interface PlanTierCardScaleProps {
559
- amount: string;
560
- body: string;
561
- ctaEvent?: (heading: string) => void;
562
- ctaLink?: string;
563
- ctaTarget?: string;
564
- ctaText: string;
565
- currencySymbol: string;
566
- heading: string;
567
- preText: string;
568
- postText: string;
569
- }
570
- declare const PlanTierCardScale: FunctionComponent<PlanTierCardScaleProps>;
571
-
572
458
  interface PortalProps extends PropsWithChildren {
573
459
  }
574
460
  declare const Portal: FunctionComponent<PortalProps>;
@@ -581,8 +467,17 @@ interface ProgressProps {
581
467
  }
582
468
  declare const Progress: FunctionComponent<ProgressProps>;
583
469
 
584
- interface RadioProps extends Pick<RadioProps$1, 'disabled' | 'name' | 'value' | 'autoFocus' | 'onChange' | 'checked' | 'readOnly' | 'required' | 'aria-label'> {
470
+ interface RadioProps {
585
471
  sizing?: 'default' | 'lg';
472
+ disabled?: boolean;
473
+ name?: string;
474
+ value?: unknown;
475
+ autoFocus?: boolean;
476
+ onChange?: ((event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void) | undefined;
477
+ checked?: boolean;
478
+ readOnly?: boolean;
479
+ required?: boolean;
480
+ 'aria-label'?: string;
586
481
  }
587
482
  declare const Radio: FunctionComponent<RadioProps>;
588
483
 
@@ -596,42 +491,70 @@ interface RadioGroupOther {
596
491
  placeholder?: string;
597
492
  name?: string;
598
493
  }
599
- interface RadioGroupProps extends Omit<RadioGroupProps$1, 'defaultValue' | 'sx' | 'classes' | 'onChange'> {
494
+ interface RadioGroupProps {
600
495
  options: RadioGroupOption[];
496
+ children?: ReactNode;
601
497
  other?: RadioGroupOther;
602
498
  onChange: (value: string) => void;
603
499
  internalChange?: () => void;
500
+ name?: string | undefined;
501
+ value: string;
604
502
  }
605
503
  declare const RadioGroup: FunctionComponent<RadioGroupProps>;
606
504
 
607
- type StyledSelectProps = SelectProps$1 & {
608
- sizing?: 'lg' | 'md' | 'xs';
609
- };
610
-
611
- type SelectProps = Pick<StyledSelectProps, 'onChange' | 'id' | 'onBlur' | 'autoFocus' | 'disabled' | 'error' | 'fullWidth' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'ref' | 'value' | 'inputRef' | 'MenuProps' | 'sizing'> & {
505
+ type SelectProps = {
612
506
  selections: {
613
507
  value: string;
614
508
  label: string;
615
509
  }[];
616
510
  selectOptionProps?: MenuItemProps;
617
511
  internalChange?: () => void;
618
- sx?: SxProps;
512
+ sx?: SelectProps$1['sx'];
513
+ onChange?: SelectProps$1['onChange'];
514
+ onBlur?: SelectProps$1['onBlur'];
515
+ ref?: SelectProps$1['ref'];
516
+ inputRef?: SelectProps$1['inputRef'];
517
+ MenuProps?: SelectProps$1['MenuProps'];
518
+ value?: SelectProps$1['value'];
519
+ id?: string;
520
+ autoFocus?: boolean;
521
+ disabled?: boolean;
522
+ error?: boolean;
523
+ fullWidth?: boolean;
524
+ name?: string | undefined;
525
+ placeholder?: string | undefined;
526
+ readOnly?: boolean;
527
+ required?: boolean;
528
+ sizing?: 'xs' | 'md' | 'lg';
619
529
  };
620
530
  declare const Select: FunctionComponent<SelectProps>;
621
531
 
622
- type SliderComponentProps = Pick<SliderProps$1, 'defaultValue' | 'disabled' | 'max' | 'min' | 'onChange' | 'step' | 'value'>;
623
- interface SliderProps extends SliderComponentProps {
532
+ interface SliderProps {
624
533
  labelLeft: string;
625
534
  labelRight: string;
626
535
  labelMiddle?: string;
627
- min: any;
536
+ min: number;
628
537
  labelRightProps?: InputLabelHelpProps;
629
538
  labelLeftProps?: InputLabelHelpProps;
630
539
  internalChange?: () => void;
540
+ defaultValue?: number;
541
+ disabled?: boolean;
542
+ max?: number;
543
+ onChange?: (event: Event, value: number | number[], activeThumb: number) => void;
544
+ step?: number;
545
+ value?: number;
631
546
  }
632
547
  declare const Slider: FunctionComponent<SliderProps>;
633
548
 
634
- interface StarRatingProps extends Pick<RatingProps, 'defaultValue' | 'disabled' | 'IconContainerComponent' | 'name' | 'precision' | 'value' | 'readOnly' | 'onChange'> {
549
+ interface StarRatingProps {
550
+ defaultValue?: number;
551
+ disabled?: boolean;
552
+ readOnly?: boolean;
553
+ onChange?: (event: React.ChangeEvent<{}>, value: number | null) => void;
554
+ precision?: number;
555
+ name?: string;
556
+ IconContainerComponent?: any;
557
+ value?: number | null;
635
558
  internalChange?: () => void;
636
559
  }
637
560
  declare const StarRating: FunctionComponent<StarRatingProps>;
@@ -642,7 +565,7 @@ interface SurfaceProps extends PaperProps {
642
565
  }
643
566
  declare const Surface: _emotion_styled.StyledComponent<_mui_material.PaperOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
644
567
  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;
645
- }, "children" | "sx" | "style" | "className" | "elevation" | "square" | "classes" | "variant"> & _mui_system.MUIStyledCommonProps<Theme> & SurfaceProps, {}, {}>;
568
+ }, "sx" | "className" | "style" | "classes" | "children" | "elevation" | "square" | "variant"> & _mui_system.MUIStyledCommonProps<Theme> & SurfaceProps, {}, {}>;
646
569
 
647
570
  interface SwitchProps extends SwitchProps$1 {
648
571
  }
@@ -679,12 +602,6 @@ type TextFieldProps = InputFieldBaseProps & {
679
602
  };
680
603
  declare const TextField: FunctionComponent<TextFieldProps>;
681
604
 
682
- interface TickGroupProps {
683
- heading: string;
684
- ticks: string[];
685
- }
686
- declare const TickGroup: FunctionComponent<TickGroupProps>;
687
-
688
605
  type ToastStatus = 'neutral' | 'success' | 'warning' | 'danger' | 'discover';
689
606
  type ToastVariation = 'sm' | 'lg';
690
607
  interface ToastProps {
@@ -800,6 +717,198 @@ interface AuthContainerSurfaceProps extends SurfaceProps {
800
717
  }
801
718
  declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
802
719
 
720
+ type SupportedCurrency = 'gbp' | 'eur' | 'usd';
721
+ type SupportedFrequency = 'monthly' | 'annual';
722
+ interface AnnualControllerProps {
723
+ body: string;
724
+ currency: string;
725
+ changeCurrencyEvent?: (value: string) => void;
726
+ frequency: string;
727
+ heading: string;
728
+ setCurrency?: Dispatch<SetStateAction<SupportedCurrency>>;
729
+ setFrequency?: Dispatch<SetStateAction<SupportedFrequency>>;
730
+ togglePayAnnuallyEvent?: () => void;
731
+ }
732
+ declare const AnnualController: FunctionComponent<AnnualControllerProps>;
733
+
734
+ declare const _default: {
735
+ headings: {
736
+ "01-starter": {
737
+ heading: string;
738
+ pricing: string;
739
+ };
740
+ "02-team": {
741
+ heading: string;
742
+ pricing: string;
743
+ };
744
+ "03-plus": {
745
+ heading: string;
746
+ pricing: string;
747
+ };
748
+ "04-scale": {
749
+ heading: string;
750
+ pricing: string;
751
+ };
752
+ };
753
+ rows: {
754
+ "01-seats": {
755
+ heading: string;
756
+ description: string;
757
+ starter: string;
758
+ team: string;
759
+ plus: string;
760
+ scale: string;
761
+ };
762
+ "02-servicing": {
763
+ heading: string;
764
+ description: string;
765
+ starter: string;
766
+ team: string;
767
+ plus: string;
768
+ scale: string;
769
+ };
770
+ "03-respondents": {
771
+ heading: string;
772
+ description: string;
773
+ starter: string;
774
+ team: string;
775
+ plus: string;
776
+ scale: string;
777
+ };
778
+ "04-questions": {
779
+ heading: string;
780
+ description: string;
781
+ starter: string;
782
+ team: string;
783
+ plus: string;
784
+ scale: string;
785
+ };
786
+ "05-ai": {
787
+ heading: string;
788
+ description: string;
789
+ starter: string;
790
+ team: string;
791
+ plus: string;
792
+ scale: string;
793
+ };
794
+ "06-demographics": {
795
+ heading: string;
796
+ description: string;
797
+ starter: string;
798
+ team: string;
799
+ plus: string;
800
+ scale: string;
801
+ };
802
+ "07-training": {
803
+ heading: string;
804
+ description: string;
805
+ starter: string;
806
+ team: string;
807
+ plus: string;
808
+ scale: string;
809
+ };
810
+ "08-invite": {
811
+ heading: string;
812
+ description: string;
813
+ starter: string;
814
+ team: string;
815
+ plus: string;
816
+ scale: string;
817
+ };
818
+ "09-email": {
819
+ heading: string;
820
+ description: string;
821
+ starter: string;
822
+ team: string;
823
+ plus: string;
824
+ scale: string;
825
+ };
826
+ "10-beta": {
827
+ heading: string;
828
+ description: string;
829
+ starter: string;
830
+ team: string;
831
+ plus: string;
832
+ scale: string;
833
+ };
834
+ "11-sso": {
835
+ heading: string;
836
+ description: string;
837
+ starter: string;
838
+ team: string;
839
+ plus: string;
840
+ scale: string;
841
+ };
842
+ "12-minimum": {
843
+ heading: string;
844
+ description: string;
845
+ starter: string;
846
+ team: string;
847
+ plus: string;
848
+ scale: string;
849
+ };
850
+ };
851
+ };
852
+
853
+ interface PlanFeatureTableProps {
854
+ currencySymbol: string;
855
+ data: typeof _default;
856
+ starterPrice: string;
857
+ starterRespondentPrice: string;
858
+ teamPrice: string;
859
+ teamRespondentPrice: string;
860
+ plusPrice: string;
861
+ plusRespondentPrice: string;
862
+ scalePrice: string;
863
+ scaleRespondentPrice: string;
864
+ variation?: 'default' | 'platform';
865
+ }
866
+ declare const PlanFeatureTable: FunctionComponent<PlanFeatureTableProps>;
867
+
868
+ interface PlanTierCardProps {
869
+ amount: string;
870
+ billingType?: string;
871
+ body: string;
872
+ ctaEvent?: (heading: string) => void;
873
+ ctaLink?: string;
874
+ ctaTarget?: string;
875
+ ctaText: string;
876
+ ctaVariation?: 'primary' | 'secondary' | 'outlined';
877
+ currencySymbol: string;
878
+ currentPlan?: boolean;
879
+ features?: string[];
880
+ freeTrialLength?: string;
881
+ freeTrialText?: string;
882
+ frequency: string;
883
+ heading: string;
884
+ label?: string;
885
+ largestHeaderHeight?: number;
886
+ perMonth: string;
887
+ setLargestHeaderHeight?: (height: number) => void;
888
+ variation?: 'default' | 'platform';
889
+ }
890
+ declare const PlanTierCard: FunctionComponent<PlanTierCardProps>;
891
+
892
+ interface PlanTierCardScaleProps {
893
+ amount: string;
894
+ body: string;
895
+ ctaEvent?: (heading: string) => void;
896
+ ctaLink?: string;
897
+ ctaTarget?: string;
898
+ ctaText: string;
899
+ currencySymbol: string;
900
+ heading: string;
901
+ preText: string;
902
+ postText: string;
903
+ }
904
+ declare const PlanTierCardScale: FunctionComponent<PlanTierCardScaleProps>;
905
+
906
+ interface TickGroupProps {
907
+ heading: string;
908
+ ticks: string[];
909
+ }
910
+ declare const TickGroup: FunctionComponent<TickGroupProps>;
911
+
803
912
  type ScreenSize = 'sm' | 'lg';
804
913
 
805
914
  interface Props {