@rippling/pebble-sdui-web 0.8.0 → 0.9.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.
Files changed (49) hide show
  1. package/dist/catalogs/custom-apps/action-params.d.ts +4 -0
  2. package/dist/catalogs/custom-apps/actions.d.ts +2 -1
  3. package/dist/catalogs/custom-apps/catalog.d.ts +2 -2
  4. package/dist/catalogs/custom-apps/component-events.d.ts +16 -14
  5. package/dist/catalogs/custom-apps/component-props.d.ts +1041 -260
  6. package/dist/catalogs/custom-apps/components.d.ts +5 -3
  7. package/dist/catalogs/custom-apps/index.cjs +4 -2
  8. package/dist/catalogs/custom-apps/index.cjs.map +1 -1
  9. package/dist/catalogs/custom-apps/index.d.ts +5 -5
  10. package/dist/catalogs/custom-apps/index.js +5983 -1661
  11. package/dist/catalogs/custom-apps/index.js.map +1 -1
  12. package/dist/catalogs/hub_platform/catalog.d.ts +1 -1
  13. package/dist/catalogs/hub_platform/component-props.d.ts +14 -6
  14. package/dist/catalogs/hub_platform/index.cjs +1 -1
  15. package/dist/catalogs/hub_platform/index.cjs.map +1 -1
  16. package/dist/catalogs/hub_platform/index.d.ts +1 -1
  17. package/dist/catalogs/hub_platform/index.js +86 -137
  18. package/dist/catalogs/hub_platform/index.js.map +1 -1
  19. package/dist/core/catalog-validation.cjs +2 -0
  20. package/dist/core/catalog-validation.cjs.map +1 -0
  21. package/dist/core/catalog-validation.d.ts +21 -0
  22. package/dist/core/catalog-validation.js +245 -0
  23. package/dist/core/catalog-validation.js.map +1 -0
  24. package/dist/core/directives.cjs +2 -0
  25. package/dist/core/directives.cjs.map +1 -0
  26. package/dist/core/directives.d.ts +72 -0
  27. package/dist/core/directives.js +35 -0
  28. package/dist/core/directives.js.map +1 -0
  29. package/dist/core/expressions.d.ts +5 -15
  30. package/dist/core/index.cjs +1 -1
  31. package/dist/core/index.d.ts +2 -0
  32. package/dist/core/index.js +28 -20
  33. package/dist/core/index.js.map +1 -1
  34. package/dist/docs/typescript/web/catalogs/custom-apps/actions.md +31 -2
  35. package/dist/docs/typescript/web/catalogs/custom-apps/components.md +468 -291
  36. package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +250 -288
  37. package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
  38. package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1362 -148
  39. package/dist/docs/typescript/web/catalogs/hub_platform/components.md +1 -1
  40. package/dist/docs/typescript/web/catalogs/hub_platform/types.md +14 -0
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.d.ts +2 -2
  43. package/dist/index.js +25 -17
  44. package/dist/index.js.map +1 -1
  45. package/dist/sdk-docs.cjs +208 -1
  46. package/dist/sdk-docs.cjs.map +1 -1
  47. package/dist/sdk-docs.js +213 -0
  48. package/dist/sdk-docs.js.map +1 -1
  49. package/package.json +1 -1
@@ -7,6 +7,10 @@ export interface NavigateParams {
7
7
  openInNewTab?: boolean;
8
8
  path: string;
9
9
  }
10
+ export interface OpenChatAssistantWithMessageParams {
11
+ target?: 'sidepane' | 'fullscreen' | 'copilot';
12
+ text: string;
13
+ }
10
14
  export interface PushStateParams {
11
15
  clearStatePath?: string;
12
16
  statePath: string;
@@ -1,7 +1,8 @@
1
1
  import { ActionBinding, ActionOptions } from '../../core/action-utils';
2
2
  import { WrapWithActionParamValue } from '../../core/expressions';
3
- import { NavigateParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams } from './action-params';
3
+ import { NavigateParams, OpenChatAssistantWithMessageParams, PushStateParams, RemoveStateParams, SetStateParams, ShowNotificationParams, TriggerFunctionParams } from './action-params';
4
4
  export declare const navigate: (params: WrapWithActionParamValue<NavigateParams>, options?: ActionOptions) => ActionBinding;
5
+ export declare const openChatAssistantWithMessage: (params: WrapWithActionParamValue<OpenChatAssistantWithMessageParams>, options?: ActionOptions) => ActionBinding;
5
6
  export declare const pushState: (params: WrapWithActionParamValue<PushStateParams>, options?: ActionOptions) => ActionBinding;
6
7
  export declare const removeState: (params: WrapWithActionParamValue<RemoveStateParams>, options?: ActionOptions) => ActionBinding;
7
8
  export declare const setState: (params: WrapWithActionParamValue<SetStateParams>, options?: ActionOptions) => ActionBinding;
@@ -4,10 +4,10 @@
4
4
  * Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
5
5
  *
6
6
  * Provides runtime access to the raw catalog schema: component definitions,
7
- * action definitions, and spec validation.
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.3.0";
10
+ export declare const CATALOG_VERSION = "1.4.2";
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. */
@@ -20,7 +20,7 @@ export type BrandBadgeEvents = never;
20
20
  export type BreadcrumbEvents = 'select';
21
21
  export type ButtonEvents = 'press' | 'pressWhileDisabled' | 'mouseEnter' | 'mouseLeave';
22
22
  export type ButtonGroupEvents = never;
23
- export type CalendarEvents = 'click' | 'clear';
23
+ export type CalendarEvents = 'click' | 'clear' | 'confirmMobile';
24
24
  export type CardEvents = 'edit' | 'delete' | 'add' | 'click' | 'action';
25
25
  export type CardGroupEvents = never;
26
26
  export type CarouselEvents = 'done';
@@ -32,11 +32,11 @@ export type ChipEvents = 'dismiss' | 'press';
32
32
  export type ChipGroupEvents = 'overflowChange';
33
33
  export type CircleEvents = never;
34
34
  export type ColorPickerEvents = 'change' | 'blur';
35
- export type CommentsEvents = 'commentChainCreation' | 'commentAddition' | 'commentEdit' | 'commentRemoval';
36
35
  export type ContentLoaderEvents = never;
37
36
  export type CountDownEvents = never;
38
37
  export type CountryEvents = never;
39
38
  export type CurrencyEvents = 'change' | 'blur';
39
+ export type DashboardEvents = never;
40
40
  export type DateEvents = 'change' | 'blur';
41
41
  export type DateInlineMultiEvents = 'change' | 'blur';
42
42
  export type DateRangeEvents = 'change' | 'blur';
@@ -45,17 +45,17 @@ export type DistributionBarEvents = never;
45
45
  export type DividerEvents = never;
46
46
  export type DraggableListEvents = 'update' | 'remove' | 'dragStart' | 'dragEnd';
47
47
  export type DrawerEvents = 'close';
48
- export type DropdownEvents = 'change';
48
+ export type DropdownEvents = 'change' | 'toggle';
49
49
  export type EmailEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave';
50
50
  export type EmojiPickerEvents = 'change';
51
51
  export type EmployeeSearchEvents = 'change';
52
52
  export type ExpansionPanelEvents = 'toggle';
53
53
  export type ExpansionPanelGroupEvents = never;
54
54
  export type FieldEvents = never;
55
- export type FileEvents = 'change' | 'delete';
55
+ export type FileEvents = 'change' | 'delete' | 'chipClick';
56
56
  export type FileDropEvents = 'change' | 'blur';
57
57
  export type FloatingButtonEvents = 'press' | 'pressWhileDisabled' | 'mouseEnter' | 'mouseLeave';
58
- export type FormEvents = 'change' | 'submit' | 'valid' | 'invalid' | 'cancel' | 'edit';
58
+ export type FormEvents = 'change' | 'submit' | 'valid' | 'invalid' | 'cancel' | 'edit' | 'skip';
59
59
  export type FormCheckboxEvents = 'change';
60
60
  export type FormCheckboxGroupEvents = 'change';
61
61
  export type FormContentEvents = never;
@@ -64,6 +64,7 @@ export type FormDateEvents = 'change';
64
64
  export type FormDateRangeEvents = 'change';
65
65
  export type FormDaySelectorEvents = 'change';
66
66
  export type FormEmailEvents = 'change' | 'blur';
67
+ export type FormEmployeeSearchEvents = 'change';
67
68
  export type FormFileEvents = 'change' | 'blur';
68
69
  export type FormFileDropEvents = 'change' | 'blur';
69
70
  export type FormGroupEvents = never;
@@ -72,10 +73,10 @@ export type FormHiddenEvents = never;
72
73
  export type FormInlineGroupEvents = never;
73
74
  export type FormInputGroupEvents = 'change';
74
75
  export type FormMaskerEvents = 'change' | 'blur';
75
- export type FormNumberEvents = 'change' | 'blur';
76
+ export type FormNumberEvents = 'change' | 'blur' | 'changeRaw' | 'changeCalculationState';
76
77
  export type FormPasswordEvents = 'change' | 'blur';
77
78
  export type FormPercentageEvents = 'change' | 'blur';
78
- export type FormPhoneEvents = 'change' | 'blur';
79
+ export type FormPhoneEvents = 'change' | 'blur' | 'countryCodeChange';
79
80
  export type FormRadioEvents = 'change';
80
81
  export type FormSegmentedControlEvents = 'change';
81
82
  export type FormSelectEvents = 'change' | 'blur';
@@ -87,7 +88,7 @@ export type FormSsnEvents = 'change' | 'blur';
87
88
  export type FormSurveyEvents = 'change';
88
89
  export type FormSwitchEvents = 'change';
89
90
  export type FormTextEvents = 'change' | 'blur';
90
- export type FormTextareaEvents = 'change' | 'blur';
91
+ export type FormTextareaEvents = 'change' | 'blur' | 'focus';
91
92
  export type FormTextAutoSuggestEvents = 'change' | 'blur';
92
93
  export type FormTimeEvents = 'change' | 'blur';
93
94
  export type FormTimezoneEvents = 'change' | 'blur' | 'focus';
@@ -123,7 +124,7 @@ export type NumberEvents = 'change' | 'blur' | 'changeRaw' | 'changeCalculationS
123
124
  export type ObjectListViewEvents = never;
124
125
  export type ObjectUIEvents = never;
125
126
  export type ObjectUIContentEvents = never;
126
- export type ObjectUIHeaderEvents = never;
127
+ export type ObjectUIHeaderEvents = 'primaryAction';
127
128
  export type ObjectUIStatsEvents = 'actionClick';
128
129
  export type ObjectUITemplateEvents = never;
129
130
  export type PageAppLogoEvents = never;
@@ -133,7 +134,7 @@ export type PageHeaderEvents = 'action';
133
134
  export type PaginateEvents = 'change';
134
135
  export type PaginateListEvents = 'change';
135
136
  export type PaneEvents = 'collapsedChange' | 'dismiss' | 'resize';
136
- export type PasswordEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | 'reveal';
137
+ export type PasswordEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | 'revealChange';
137
138
  export type PercentageEvents = 'change' | 'blur';
138
139
  export type PhoneEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave' | 'countryCodeChange';
139
140
  export type ProgressBarEvents = never;
@@ -141,6 +142,7 @@ export type ProgressStepsEvents = never;
141
142
  export type RadioEvents = 'change' | 'blur' | 'mouseenter' | 'mouseleave';
142
143
  export type RangeSliderEvents = 'change' | 'beforeChange' | 'afterChange' | 'blur';
143
144
  export type ReportLoaderEvents = never;
145
+ export type ReportsEvents = never;
144
146
  export type ReportShareLoaderEvents = never;
145
147
  export type ReportViewerLoaderEvents = never;
146
148
  export type ResizableBoardEvents = 'layoutChange' | 'breakpointChange' | 'dragStart' | 'dragStop' | 'resizeStart' | 'resizeStop';
@@ -168,17 +170,17 @@ export type SwitchEvents = 'change' | 'blur';
168
170
  export type TabEvents = 'change';
169
171
  export type TableBasicEvents = never;
170
172
  export type TextEvents = never;
171
- export type TextareaEvents = 'change' | 'blur' | 'focus';
173
+ export type TextareaEvents = 'change' | 'blur' | 'focus' | 'keydown';
172
174
  export type TextAutoSuggestEvents = 'change' | 'blur' | 'focus' | 'click';
173
175
  export type TextClipEvents = never;
174
176
  export type TextInputEvents = 'change' | 'blur' | 'focus' | 'click' | 'keydown' | 'keyup' | 'paste' | 'mouseenter' | 'mouseleave';
175
177
  export type TextSnippetEvents = never;
176
- export type TimeEvents = 'change' | 'blur';
178
+ export type TimeEvents = 'change' | 'blur' | 'inferredTimeChange';
177
179
  export type TimeRangeEvents = 'change' | 'blur';
178
180
  export type TimezoneEvents = 'change' | 'blur' | 'focus';
179
181
  export type TipEvents = never;
180
- export type TitleCaptionEvents = never;
181
- export type ToggleableArrowEvents = never;
182
+ export type TitleCaptionEvents = 'press';
183
+ export type ToggleableArrowEvents = 'change';
182
184
  export type TreeEvents = 'change' | 'footerAction';
183
185
  export type TreeSelectEvents = 'change';
184
186
  export type VideoEvents = never;