@rippling/pebble-sdui-web 0.21.1 → 0.21.3

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.
@@ -7,7 +7,7 @@
7
7
  * action definitions, directive definitions, and spec validation.
8
8
  */
9
9
  export declare const CATALOG_NAME = "custom-apps";
10
- export declare const CATALOG_VERSION = "1.12.2";
10
+ export declare const CATALOG_VERSION = "1.12.4";
11
11
  /** Return component descriptions keyed by component name. */
12
12
  export declare function getComponents(): Record<string, string>;
13
13
  /** Return action descriptions keyed by action name. */
@@ -169,7 +169,7 @@ export type SplitPaneEvents = 'activePaneChange';
169
169
  export type SsnEvents = 'change' | 'blur';
170
170
  export type StatusEvents = never;
171
171
  export type StepperEvents = 'click';
172
- export type SuperGridEvents = 'rowClick' | 'rowActionClick';
172
+ export type SuperGridEvents = 'rowClick' | 'rowActionClick' | 'edit';
173
173
  export type SupportButtonEvents = 'press';
174
174
  export type SurveyEvents = 'change';
175
175
  export type SwitchEvents = 'change' | 'blur';
@@ -228,8 +228,8 @@ export interface ArrayPredicateValueVariant3 {
228
228
  or: ArrayPredicate[];
229
229
  }
230
230
  export interface Attachment {
231
- content: string;
232
231
  name: string;
232
+ content: string;
233
233
  [key: string]: unknown | string;
234
234
  }
235
235
  /** Badge overlay configuration for the avatar */
@@ -349,6 +349,11 @@ export interface CardTo {
349
349
  openInNewTab?: boolean;
350
350
  path: string;
351
351
  }
352
+ export interface Change {
353
+ after: unknown;
354
+ before: unknown;
355
+ field: string;
356
+ }
352
357
  export interface CheckboxArg {
353
358
  [key: string]: unknown;
354
359
  }
@@ -679,6 +684,13 @@ export interface EditButton {
679
684
  isDisabled?: boolean;
680
685
  show?: boolean;
681
686
  }
687
+ /** Bind to state with $bindState to receive the sanitized inline-edit update before edit emits. */
688
+ export interface EditData {
689
+ issues: Issue[];
690
+ items?: SuperGridItem[];
691
+ outcome: 'accepted' | 'rejected';
692
+ rowId: string;
693
+ }
682
694
  export interface EmailArg {
683
695
  [key: string]: unknown;
684
696
  }
@@ -1444,6 +1456,11 @@ export interface InputGroupSuffix {
1444
1456
  inputProps: InputGroupInputProp;
1445
1457
  type: 'Text' | 'Number' | 'Currency' | 'Masker' | 'Password' | 'Percentage' | 'Phone' | 'Select' | 'TextAutoSuggest' | 'Time' | 'Date' | 'Timezone';
1446
1458
  }
1459
+ export interface Issue {
1460
+ code: string;
1461
+ columnId: string;
1462
+ message: string;
1463
+ }
1447
1464
  export interface LabelLeftIcon {
1448
1465
  'aria-describedby'?: string;
1449
1466
  'aria-label'?: string;
@@ -2114,6 +2131,12 @@ export interface SubmitButtonProp {
2114
2131
  label?: string;
2115
2132
  size?: 'L' | 'M' | 'S' | 'XS';
2116
2133
  }
2134
+ export interface SuperGridItem {
2135
+ changeNote?: string;
2136
+ changes: Change[];
2137
+ columnId: string;
2138
+ rowId: string;
2139
+ }
2117
2140
  export interface SupportButtonTo {
2118
2141
  openInNewTab?: boolean;
2119
2142
  path: string;
@@ -3141,6 +3164,7 @@ export interface FormProps {
3141
3164
  skipButton?: SkipButton;
3142
3165
  submitButtonLabel?: string;
3143
3166
  submitButtonProps?: SubmitButtonProp;
3167
+ submitSignal?: string | number | boolean;
3144
3168
  successMessage?: string;
3145
3169
  theme?: 'NO_CARD' | 'NO_MARGIN_Y' | 'V2';
3146
3170
  title?: string;
@@ -4810,6 +4834,7 @@ export interface SpinnerProps {
4810
4834
  }
4811
4835
  export interface SplitButtonProps {
4812
4836
  appearance?: 'PRIMARY' | 'ACCENT' | 'OUTLINE' | 'SUCCESS' | 'INFO' | 'DESTRUCTIVE' | 'WARNING' | 'ACTIVE';
4837
+ clickedValue?: string;
4813
4838
  dropdownList?: DropdownList[];
4814
4839
  isDisabled?: boolean;
4815
4840
  isFluid?: boolean;
@@ -4877,6 +4902,7 @@ export interface SuperGridProps {
4877
4902
  caption?: string;
4878
4903
  configContext?: ConfigContext;
4879
4904
  contextFilters?: ContextFilter[];
4905
+ editData?: EditData;
4880
4906
  gridId: string;
4881
4907
  height?: string;
4882
4908
  rowActionClickedData?: unknown;