@rippling/pebble-sdui-web 0.3.0 → 0.3.2

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.
@@ -17,8 +17,10 @@ export interface Addres {
17
17
  }
18
18
  /** Lottie animation JSON object. Required if path not provided */
19
19
  export interface AnimationData {
20
+ [key: string]: unknown;
20
21
  }
21
22
  export interface AppGroupSelectArg {
23
+ [key: string]: unknown;
22
24
  }
23
25
  export interface AppGroupSelectCheck {
24
26
  args?: AppGroupSelectArg;
@@ -32,6 +34,7 @@ export interface AppGroupSelectFooter {
32
34
  }
33
35
  /** Fuse.js search options for customizing fuzzy search behavior */
34
36
  export interface AppGroupSelectFuseOption {
37
+ [key: string]: unknown;
35
38
  }
36
39
  export interface AppNavBarAction {
37
40
  appearance?: 'PRIMARY' | 'DESTRUCTIVE' | 'OUTLINE' | 'GHOST' | 'ACCENT' | 'SUCCESS' | 'INFO' | 'WARNING';
@@ -77,6 +80,7 @@ export interface CardAction {
77
80
  label: string;
78
81
  }
79
82
  export interface CheckboxArg {
83
+ [key: string]: unknown;
80
84
  }
81
85
  export interface CheckboxCheck {
82
86
  args?: CheckboxArg;
@@ -84,6 +88,7 @@ export interface CheckboxCheck {
84
88
  type: string;
85
89
  }
86
90
  export interface CheckboxGroupArg {
91
+ [key: string]: unknown;
87
92
  }
88
93
  export interface CheckboxGroupCheck {
89
94
  args?: CheckboxGroupArg;
@@ -124,8 +129,10 @@ export interface ChipTip {
124
129
  }
125
130
  /** Configure when each priority level auto-collapses based on container width. Keys are priority numbers, values are width thresholds (collapse below this width). Use false to disable auto-collapse for a priority level */
126
131
  export interface CollapseBelow {
132
+ [key: string]: unknown;
127
133
  }
128
134
  export interface ColorPickerArg {
135
+ [key: string]: unknown;
129
136
  }
130
137
  export interface ColorPickerCheck {
131
138
  args?: ColorPickerArg;
@@ -140,6 +147,7 @@ export interface Column {
140
147
  wrapText?: boolean;
141
148
  }
142
149
  export interface CurrencyArg {
150
+ [key: string]: unknown;
143
151
  }
144
152
  export interface CurrencyCheck {
145
153
  args?: CurrencyArg;
@@ -147,6 +155,7 @@ export interface CurrencyCheck {
147
155
  type: string;
148
156
  }
149
157
  export interface DateArg {
158
+ [key: string]: unknown;
150
159
  }
151
160
  export interface DateCheck {
152
161
  args?: DateArg;
@@ -154,6 +163,7 @@ export interface DateCheck {
154
163
  type: string;
155
164
  }
156
165
  export interface DateInlineMultiArg {
166
+ [key: string]: unknown;
157
167
  }
158
168
  export interface DateInlineMultiCheck {
159
169
  args?: DateInlineMultiArg;
@@ -161,6 +171,7 @@ export interface DateInlineMultiCheck {
161
171
  type: string;
162
172
  }
163
173
  export interface DateRangeArg {
174
+ [key: string]: unknown;
164
175
  }
165
176
  export interface DateRangeCheck {
166
177
  args?: DateRangeArg;
@@ -168,12 +179,16 @@ export interface DateRangeCheck {
168
179
  type: string;
169
180
  }
170
181
  export interface DaySelectorArg {
182
+ [key: string]: unknown;
171
183
  }
172
184
  export interface DaySelectorCheck {
173
185
  args?: DaySelectorArg;
174
186
  message: string;
175
187
  type: string;
176
188
  }
189
+ export interface DaySelectorTip {
190
+ content: string;
191
+ }
177
192
  export interface DraggableListList {
178
193
  id: unknown;
179
194
  label?: string;
@@ -196,6 +211,7 @@ export interface DropdownList2 {
196
211
  value: string;
197
212
  }
198
213
  export interface EmailArg {
214
+ [key: string]: unknown;
199
215
  }
200
216
  export interface EmailCheck {
201
217
  args?: EmailArg;
@@ -203,6 +219,7 @@ export interface EmailCheck {
203
219
  type: string;
204
220
  }
205
221
  export interface FileDropArg {
222
+ [key: string]: unknown;
206
223
  }
207
224
  export interface FileDropCheck {
208
225
  args?: FileDropArg;
@@ -246,21 +263,27 @@ export interface FormCheckboxGroupOption {
246
263
  }
247
264
  /** Map of rule name to error message */
248
265
  export interface FormCheckboxGroupValidationError {
266
+ [key: string]: string;
249
267
  }
250
268
  /** Map of rule name to error message */
251
269
  export interface FormCheckboxValidationError {
270
+ [key: string]: string;
252
271
  }
253
272
  /** Map of rule name to error message */
254
273
  export interface FormCurrencyValidationError {
274
+ [key: string]: string;
255
275
  }
256
276
  /** Map of rule name to error message */
257
277
  export interface FormDateValidationError {
278
+ [key: string]: string;
258
279
  }
259
280
  /** Map of rule name to error message */
260
281
  export interface FormDaySelectorValidationError {
282
+ [key: string]: string;
261
283
  }
262
284
  /** Map of rule name to error message */
263
285
  export interface FormEmailValidationError {
286
+ [key: string]: string;
264
287
  }
265
288
  /** Cropper configuration */
266
289
  export interface FormFileCropperConfig {
@@ -298,6 +321,7 @@ export interface FormFileDropDefaultValue {
298
321
  }
299
322
  /** Map of rule name to error message */
300
323
  export interface FormFileDropValidationError {
324
+ [key: string]: string;
301
325
  }
302
326
  export interface FormFileDropValue {
303
327
  name?: string;
@@ -311,6 +335,7 @@ export interface FormFileDropValue {
311
335
  }
312
336
  /** Map of rule name to error message */
313
337
  export interface FormFileValidationError {
338
+ [key: string]: string;
314
339
  }
315
340
  export interface FormFileValue {
316
341
  name?: string;
@@ -324,15 +349,19 @@ export interface FormFileValue {
324
349
  }
325
350
  /** Map of rule name to error message */
326
351
  export interface FormNumberValidationError {
352
+ [key: string]: string;
327
353
  }
328
354
  /** Map of rule name to error message */
329
355
  export interface FormPasswordValidationError {
356
+ [key: string]: string;
330
357
  }
331
358
  /** Map of rule name to error message */
332
359
  export interface FormPercentageValidationError {
360
+ [key: string]: string;
333
361
  }
334
362
  /** Map of rule name to error message */
335
363
  export interface FormPhoneValidationError {
364
+ [key: string]: string;
336
365
  }
337
366
  export interface FormRadioOption {
338
367
  isActive?: boolean;
@@ -345,6 +374,7 @@ export interface FormRadioOption {
345
374
  }
346
375
  /** Map of rule name to error message */
347
376
  export interface FormRadioValidationError {
377
+ [key: string]: string;
348
378
  }
349
379
  export interface FormSegmentedControlOption {
350
380
  appearance?: 'PRIMARY' | 'POSITIVE' | 'NEGATIVE' | 'NEUTRAL';
@@ -361,27 +391,35 @@ export interface FormSegmentedControlTip {
361
391
  }
362
392
  /** Map of rule name to error message */
363
393
  export interface FormSegmentedControlValidationError {
394
+ [key: string]: string;
364
395
  }
365
396
  /** Map of rule name to error message */
366
397
  export interface FormSelectValidationError {
398
+ [key: string]: string;
367
399
  }
368
400
  /** Map of rule name to error message */
369
401
  export interface FormSinValidationError {
402
+ [key: string]: string;
370
403
  }
371
404
  /** Named marks on the slider track. Keys are numeric positions, values are labels */
372
405
  export interface FormSliderMark {
406
+ [key: string]: string;
373
407
  }
374
408
  /** Map of rule name to error message */
375
409
  export interface FormSliderValidationError {
410
+ [key: string]: string;
376
411
  }
377
412
  /** Map of rule name to error message */
378
413
  export interface FormSsnValidationError {
414
+ [key: string]: string;
379
415
  }
380
416
  /** Map of rule name to error message */
381
417
  export interface FormSwitchValidationError {
418
+ [key: string]: string;
382
419
  }
383
420
  /** Map of rule name to error message */
384
421
  export interface FormTextareaValidationError {
422
+ [key: string]: string;
385
423
  }
386
424
  export interface FormTextAutoSuggestSuggestion {
387
425
  label: string;
@@ -389,15 +427,19 @@ export interface FormTextAutoSuggestSuggestion {
389
427
  }
390
428
  /** Map of rule name to error message */
391
429
  export interface FormTextAutoSuggestValidationError {
430
+ [key: string]: string;
392
431
  }
393
432
  /** Map of rule name to error message */
394
433
  export interface FormTextValidationError {
434
+ [key: string]: string;
395
435
  }
396
436
  /** Map of rule name to error message */
397
437
  export interface FormTimeValidationError {
438
+ [key: string]: string;
398
439
  }
399
440
  /** Fuse.js search options for customizing search behavior */
400
441
  export interface FormTreeFuseOption {
442
+ [key: string]: unknown;
401
443
  }
402
444
  export interface FormTreeList {
403
445
  disabledInfo?: unknown;
@@ -410,6 +452,7 @@ export interface FormTreeList {
410
452
  }
411
453
  /** Fuse.js search configuration. Default: { keys: ["label", "name"] } */
412
454
  export interface FormTreeSelectFuseOption {
455
+ [key: string]: unknown;
413
456
  }
414
457
  export interface FormTreeSelectList {
415
458
  isDisabled?: boolean;
@@ -420,18 +463,23 @@ export interface FormTreeSelectList {
420
463
  }
421
464
  /** Map of rule name to error message */
422
465
  export interface FormTreeSelectValidationError {
466
+ [key: string]: string;
423
467
  }
424
468
  /** Map of rule name to error message */
425
469
  export interface FormTreeValidationError {
470
+ [key: string]: string;
426
471
  }
427
472
  /** External validation errors keyed by input name */
428
473
  export interface FormValidationError {
474
+ [key: string]: string;
429
475
  }
430
476
  /** Form values model. Written to state on change/submit (read-only — push-only) */
431
477
  export interface FormValue {
478
+ [key: string]: unknown;
432
479
  }
433
480
  /** Map of rule name to error message */
434
481
  export interface FormWorkEmailValidationError {
482
+ [key: string]: string;
435
483
  }
436
484
  export interface GridAction {
437
485
  'aria-label'?: string;
@@ -455,6 +503,7 @@ export interface Input {
455
503
  }
456
504
  /** Props to pass to the input component */
457
505
  export interface InputProp {
506
+ [key: string]: unknown;
458
507
  }
459
508
  export interface LayoutValue {
460
509
  border?: string;
@@ -488,6 +537,7 @@ export interface LocationCardAction {
488
537
  label: string;
489
538
  }
490
539
  export interface MaskerArg {
540
+ [key: string]: unknown;
491
541
  }
492
542
  export interface MaskerCheck {
493
543
  args?: MaskerArg;
@@ -515,6 +565,7 @@ export interface NestedListList {
515
565
  value?: string;
516
566
  }
517
567
  export interface NumberArg {
568
+ [key: string]: unknown;
518
569
  }
519
570
  export interface NumberCheck {
520
571
  args?: NumberArg;
@@ -574,8 +625,10 @@ export interface PaginateListList {
574
625
  }
575
626
  /** Partner company data for profile URL routing */
576
627
  export interface PartnerCompany {
628
+ [key: string]: unknown;
577
629
  }
578
630
  export interface PasswordArg {
631
+ [key: string]: unknown;
579
632
  }
580
633
  export interface PasswordCheck {
581
634
  args?: PasswordArg;
@@ -589,6 +642,7 @@ export interface PasswordStringPadding {
589
642
  position: 'start' | 'end';
590
643
  }
591
644
  export interface PercentageArg {
645
+ [key: string]: unknown;
592
646
  }
593
647
  export interface PercentageCheck {
594
648
  args?: PercentageArg;
@@ -596,6 +650,7 @@ export interface PercentageCheck {
596
650
  type: string;
597
651
  }
598
652
  export interface PhoneArg {
653
+ [key: string]: unknown;
599
654
  }
600
655
  export interface PhoneCheck {
601
656
  args?: PhoneArg;
@@ -617,8 +672,10 @@ export interface ProgressStepsStep {
617
672
  }
618
673
  /** Query parameters to append when navigating to this item */
619
674
  export interface QueryParam {
675
+ [key: string]: string;
620
676
  }
621
677
  export interface RadioArg {
678
+ [key: string]: unknown;
622
679
  }
623
680
  export interface RadioCheck {
624
681
  args?: RadioArg;
@@ -635,6 +692,7 @@ export interface RadioOption {
635
692
  value: unknown;
636
693
  }
637
694
  export interface RangeSliderArg {
695
+ [key: string]: unknown;
638
696
  }
639
697
  export interface RangeSliderCheck {
640
698
  args?: RangeSliderArg;
@@ -643,9 +701,15 @@ export interface RangeSliderCheck {
643
701
  }
644
702
  /** Marks on slider as {position: label} object (e.g. {10: "10$", 50: "50$"}) */
645
703
  export interface RangeSliderMark {
704
+ [key: string]: string;
646
705
  }
647
706
  /** Per-day configuration. Keys are day names (Sunday, Monday, etc.). Each can have isDisabled (boolean) and tip (object with content string) */
648
707
  export interface RenderProp {
708
+ [key: string]: RenderPropValue;
709
+ }
710
+ export interface RenderPropValue {
711
+ isDisabled?: boolean;
712
+ tip?: DaySelectorTip;
649
713
  }
650
714
  export interface Role {
651
715
  fullName?: string;
@@ -657,12 +721,14 @@ export interface Role {
657
721
  workEmail?: string;
658
722
  }
659
723
  export interface Row {
724
+ [key: string]: string | number | boolean;
660
725
  }
661
726
  export interface Segment {
662
727
  segmentColor: string;
663
728
  value: number;
664
729
  }
665
730
  export interface SegmentedControlArg {
731
+ [key: string]: unknown;
666
732
  }
667
733
  export interface SegmentedControlCheck {
668
734
  args?: SegmentedControlArg;
@@ -688,6 +754,7 @@ export interface SegmentedControlTip {
688
754
  content: string;
689
755
  }
690
756
  export interface SelectableGroupArg {
757
+ [key: string]: unknown;
691
758
  }
692
759
  export interface SelectableGroupCheck {
693
760
  args?: SelectableGroupArg;
@@ -695,6 +762,7 @@ export interface SelectableGroupCheck {
695
762
  type: string;
696
763
  }
697
764
  export interface SelectableGroupList {
765
+ [key: string]: unknown;
698
766
  }
699
767
  export interface SelectableMenuList {
700
768
  isDisabled?: boolean;
@@ -702,6 +770,7 @@ export interface SelectableMenuList {
702
770
  value: string;
703
771
  }
704
772
  export interface SelectArg {
773
+ [key: string]: unknown;
705
774
  }
706
775
  /** Avatar configuration for the option */
707
776
  export interface SelectAvatarProp {
@@ -720,6 +789,7 @@ export interface SelectFooter {
720
789
  }
721
790
  /** Fuse.js search options for customizing fuzzy search behavior */
722
791
  export interface SelectFuseOption {
792
+ [key: string]: unknown;
723
793
  }
724
794
  export interface SelectOption {
725
795
  avatarProps?: SelectAvatarProp;
@@ -742,6 +812,7 @@ export interface ShowMoreValue {
742
812
  size: number;
743
813
  }
744
814
  export interface SignatureArg {
815
+ [key: string]: unknown;
745
816
  }
746
817
  export interface SignatureCheck {
747
818
  args?: SignatureArg;
@@ -749,6 +820,7 @@ export interface SignatureCheck {
749
820
  type: string;
750
821
  }
751
822
  export interface SinArg {
823
+ [key: string]: unknown;
752
824
  }
753
825
  export interface SinCheck {
754
826
  args?: SinArg;
@@ -767,6 +839,7 @@ export interface Slide {
767
839
  img: string;
768
840
  }
769
841
  export interface SliderArg {
842
+ [key: string]: unknown;
770
843
  }
771
844
  export interface SliderCheck {
772
845
  args?: SliderArg;
@@ -775,8 +848,10 @@ export interface SliderCheck {
775
848
  }
776
849
  /** Named marks on the slider track. Keys are numeric positions, values are labels */
777
850
  export interface SliderMark {
851
+ [key: string]: string;
778
852
  }
779
853
  export interface SsnArg {
854
+ [key: string]: unknown;
780
855
  }
781
856
  export interface SsnCheck {
782
857
  args?: SsnArg;
@@ -814,6 +889,7 @@ export interface SubmitButtonProp {
814
889
  size?: 'L' | 'M' | 'S' | 'XS';
815
890
  }
816
891
  export interface SurveyArg {
892
+ [key: string]: unknown;
817
893
  }
818
894
  export interface SurveyCheck {
819
895
  args?: SurveyArg;
@@ -832,6 +908,7 @@ export interface SurveyRangeLabel {
832
908
  upper: string;
833
909
  }
834
910
  export interface SwitchArg {
911
+ [key: string]: unknown;
835
912
  }
836
913
  export interface SwitchCheck {
837
914
  args?: SwitchArg;
@@ -852,6 +929,7 @@ export interface TabItem {
852
929
  value: unknown;
853
930
  }
854
931
  export interface TextareaArg {
932
+ [key: string]: unknown;
855
933
  }
856
934
  export interface TextareaCheck {
857
935
  args?: TextareaArg;
@@ -859,6 +937,7 @@ export interface TextareaCheck {
859
937
  type: string;
860
938
  }
861
939
  export interface TextAutoSuggestArg {
940
+ [key: string]: unknown;
862
941
  }
863
942
  export interface TextAutoSuggestCheck {
864
943
  args?: TextAutoSuggestArg;
@@ -876,6 +955,7 @@ export interface TextAutoSuggestSuggestion {
876
955
  value: unknown;
877
956
  }
878
957
  export interface TextInputArg {
958
+ [key: string]: unknown;
879
959
  }
880
960
  export interface TextInputCheck {
881
961
  args?: TextInputArg;
@@ -889,6 +969,7 @@ export interface TextInputStringPadding {
889
969
  position: 'start' | 'end';
890
970
  }
891
971
  export interface TimeArg {
972
+ [key: string]: unknown;
892
973
  }
893
974
  export interface TimeCheck {
894
975
  args?: TimeArg;
@@ -900,6 +981,7 @@ export interface TimeProp {
900
981
  defaultValue: string;
901
982
  }
902
983
  export interface TimeRangeArg {
984
+ [key: string]: unknown;
903
985
  }
904
986
  export interface TimeRangeCheck {
905
987
  args?: TimeRangeArg;
@@ -907,6 +989,7 @@ export interface TimeRangeCheck {
907
989
  type: string;
908
990
  }
909
991
  export interface TimezoneArg {
992
+ [key: string]: unknown;
910
993
  }
911
994
  export interface TimezoneCheck {
912
995
  args?: TimezoneArg;
@@ -920,6 +1003,7 @@ export interface ToggleIcon {
920
1003
  size?: unknown;
921
1004
  }
922
1005
  export interface TreeArg {
1006
+ [key: string]: unknown;
923
1007
  }
924
1008
  export interface TreeCheck {
925
1009
  args?: TreeArg;
@@ -932,6 +1016,7 @@ export interface TreeFooter {
932
1016
  }
933
1017
  /** Fuse.js search options for customizing search behavior */
934
1018
  export interface TreeFuseOption {
1019
+ [key: string]: unknown;
935
1020
  }
936
1021
  export interface TreeList {
937
1022
  disabledInfo?: unknown;
@@ -943,6 +1028,7 @@ export interface TreeList {
943
1028
  value: string;
944
1029
  }
945
1030
  export interface TreeSelectArg {
1031
+ [key: string]: unknown;
946
1032
  }
947
1033
  export interface TreeSelectCheck {
948
1034
  args?: TreeSelectArg;
@@ -951,6 +1037,7 @@ export interface TreeSelectCheck {
951
1037
  }
952
1038
  /** Fuse.js search configuration. Default: { keys: ["label", "name"] } */
953
1039
  export interface TreeSelectFuseOption {
1040
+ [key: string]: unknown;
954
1041
  }
955
1042
  export interface TreeSelectList {
956
1043
  isDisabled?: boolean;
@@ -962,6 +1049,7 @@ export interface TreeSelectList {
962
1049
  /** User cache data with smallPhoto fallback */
963
1050
  export interface User_cache {
964
1051
  smallPhoto?: string;
1052
+ [key: string]: unknown | string | undefined;
965
1053
  }
966
1054
  /** Vertical size constraints for mobile stacked layout. Object with optional default/min/max properties as CSS strings */
967
1055
  export interface VerticalSize {
@@ -970,6 +1058,7 @@ export interface VerticalSize {
970
1058
  min?: string;
971
1059
  }
972
1060
  export interface WorkEmailArg {
1061
+ [key: string]: unknown;
973
1062
  }
974
1063
  export interface WorkEmailCheck {
975
1064
  args?: WorkEmailArg;