@rippling/pebble-sdui-web 0.3.2 → 0.4.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.
@@ -7,15 +7,23 @@
7
7
  * action definitions, and spec validation.
8
8
  */
9
9
  export declare const CATALOG_NAME = "custom-apps";
10
- export declare const CATALOG_VERSION = "1.0.0";
10
+ export declare const CATALOG_VERSION = "1.1.1";
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. */
14
14
  export declare function getActions(): Record<string, string>;
15
+ /** Return computed function descriptions keyed by function name. */
16
+ export declare function getFunctions(): Record<string, string>;
17
+ /** Return full computed function definitions keyed by function name. */
18
+ export declare function getComputedFunctions(): Record<string, Record<string, unknown>>;
19
+ /** Return reusable JSON Schema definitions keyed by definition name. */
20
+ export declare function getDefs(): Record<string, Record<string, unknown>>;
15
21
  /** Get the full JSON definition of a component by name. */
16
22
  export declare function getComponent(name: string): Record<string, unknown>;
17
23
  /** Get the full JSON definition of an action by name. */
18
24
  export declare function getAction(name: string): Record<string, unknown>;
25
+ /** Get the full JSON definition of a computed function by name. */
26
+ export declare function getFunction(name: string): Record<string, unknown>;
19
27
  /**
20
28
  * Validate a rendered spec against this catalog's schema.
21
29
  * Returns a list of error messages. Empty list means valid.
@@ -56,13 +56,20 @@ export type FloatingButtonEvents = 'press' | 'pressWhileDisabled' | 'mouseEnter'
56
56
  export type FormEvents = 'change' | 'submit' | 'valid' | 'invalid' | 'cancel' | 'edit';
57
57
  export type FormCheckboxEvents = 'change';
58
58
  export type FormCheckboxGroupEvents = 'change';
59
+ export type FormContentEvents = never;
59
60
  export type FormCurrencyEvents = 'change' | 'blur';
60
61
  export type FormDateEvents = 'change';
62
+ export type FormDateRangeEvents = 'change';
61
63
  export type FormDaySelectorEvents = 'change';
62
64
  export type FormEmailEvents = 'change' | 'blur';
63
65
  export type FormFileEvents = 'change' | 'blur';
64
66
  export type FormFileDropEvents = 'change' | 'blur';
67
+ export type FormGroupEvents = never;
68
+ export type FormGroupHeaderEvents = never;
65
69
  export type FormHiddenEvents = never;
70
+ export type FormInlineGroupEvents = never;
71
+ export type FormInputGroupEvents = 'change';
72
+ export type FormMaskerEvents = 'change' | 'blur';
66
73
  export type FormNumberEvents = 'change' | 'blur';
67
74
  export type FormPasswordEvents = 'change' | 'blur';
68
75
  export type FormPercentageEvents = 'change' | 'blur';
@@ -70,14 +77,18 @@ export type FormPhoneEvents = 'change' | 'blur';
70
77
  export type FormRadioEvents = 'change';
71
78
  export type FormSegmentedControlEvents = 'change';
72
79
  export type FormSelectEvents = 'change' | 'blur';
80
+ export type FormSelectableGroupEvents = 'change';
81
+ export type FormSignatureEvents = 'change';
73
82
  export type FormSinEvents = 'change' | 'blur';
74
83
  export type FormSliderEvents = 'change';
75
84
  export type FormSsnEvents = 'change' | 'blur';
85
+ export type FormSurveyEvents = 'change';
76
86
  export type FormSwitchEvents = 'change';
77
87
  export type FormTextEvents = 'change' | 'blur';
78
88
  export type FormTextareaEvents = 'change' | 'blur';
79
89
  export type FormTextAutoSuggestEvents = 'change' | 'blur';
80
90
  export type FormTimeEvents = 'change' | 'blur';
91
+ export type FormTimezoneEvents = 'change' | 'blur' | 'focus';
81
92
  export type FormTreeEvents = 'change';
82
93
  export type FormTreeSelectEvents = 'change';
83
94
  export type FormWorkEmailEvents = 'change' | 'blur';