@rippling/pebble-sdui-web 0.6.3 → 0.7.0
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/2020-C_v5qH0D.cjs +9 -0
- package/dist/2020-C_v5qH0D.cjs.map +1 -0
- package/dist/2020-PBERvPzO.js +4846 -0
- package/dist/2020-PBERvPzO.js.map +1 -0
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +29 -29
- package/dist/catalogs/custom-apps/index.cjs +2 -9
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +1 -1
- package/dist/catalogs/custom-apps/index.js +431 -5275
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/catalogs/hub_platform/action-params.d.ts +5 -0
- package/dist/catalogs/hub_platform/actions.d.ts +5 -0
- package/dist/catalogs/hub_platform/catalog.d.ts +33 -0
- package/dist/catalogs/hub_platform/component-events.d.ts +10 -0
- package/dist/catalogs/hub_platform/component-props.d.ts +287 -0
- package/dist/catalogs/hub_platform/components.d.ts +11 -0
- package/dist/catalogs/hub_platform/function-params.d.ts +5 -0
- package/dist/catalogs/hub_platform/functions.d.ts +5 -0
- package/dist/catalogs/hub_platform/index.cjs +2 -0
- package/dist/catalogs/hub_platform/index.cjs.map +1 -0
- package/dist/catalogs/hub_platform/index.d.ts +11 -0
- package/dist/catalogs/hub_platform/index.js +1087 -0
- package/dist/catalogs/hub_platform/index.js.map +1 -0
- package/dist/catalogs/hub_platform/render.d.ts +20 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +3 -3
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1 -47
- package/dist/docs/typescript/web/catalogs/hub_platform/actions.md +6 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/components.md +212 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/computed-functions.md +6 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/definitions.md +91 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/readme.md +16 -0
- package/dist/docs/typescript/web/catalogs/hub_platform/types.md +368 -0
- package/package.json +6 -1
|
@@ -7,7 +7,7 @@
|
|
|
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.
|
|
10
|
+
export declare const CATALOG_VERSION = "1.2.0";
|
|
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. */
|
|
@@ -3,6 +3,31 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Auto-generated from catalogs/custom-apps.catalog.json — do not edit.
|
|
5
5
|
*/
|
|
6
|
+
export interface AppNavBarNavItem {
|
|
7
|
+
badge?: AppNavBarNavItemBadge;
|
|
8
|
+
icon?: string;
|
|
9
|
+
isSection?: boolean;
|
|
10
|
+
links?: AppNavBarNavItem[];
|
|
11
|
+
path?: string;
|
|
12
|
+
queryParams?: QueryParam;
|
|
13
|
+
title: string;
|
|
14
|
+
}
|
|
15
|
+
export interface CheckListItem {
|
|
16
|
+
branches?: CheckListItem[];
|
|
17
|
+
checkListOptions?: CheckListOption;
|
|
18
|
+
isChecked: boolean;
|
|
19
|
+
isDefaultOpen?: boolean;
|
|
20
|
+
isDisabled?: boolean;
|
|
21
|
+
label: string;
|
|
22
|
+
showMoreSize?: number;
|
|
23
|
+
value: string;
|
|
24
|
+
}
|
|
25
|
+
export interface NestedListItem {
|
|
26
|
+
branches?: NestedListItem[];
|
|
27
|
+
isDefaultOpen?: boolean;
|
|
28
|
+
label: string;
|
|
29
|
+
value?: string;
|
|
30
|
+
}
|
|
6
31
|
export interface ActionCardPrimaryActionTo {
|
|
7
32
|
openInNewTab?: boolean;
|
|
8
33
|
path: string;
|
|
@@ -87,7 +112,7 @@ export interface AppNavBarAction {
|
|
|
87
112
|
size?: 'L' | 'M' | 'S' | 'XS';
|
|
88
113
|
}
|
|
89
114
|
/** Badge shown next to the nav item title */
|
|
90
|
-
export interface
|
|
115
|
+
export interface AppNavBarNavItemBadge {
|
|
91
116
|
appearance?: 'INFO_DARK' | 'INFO_LIGHT' | 'ERROR_DARK' | 'ERROR_LIGHT' | 'PRIMARY_DARK' | 'PRIMARY_LIGHT' | 'SUCCESS_DARK' | 'SUCCESS_LIGHT' | 'WARNING_DARK' | 'WARNING_LIGHT' | 'NEUTRAL' | 'BLACK';
|
|
92
117
|
text: string;
|
|
93
118
|
}
|
|
@@ -202,16 +227,6 @@ export interface CheckboxGroupTag {
|
|
|
202
227
|
appearance?: 'PRIMARY' | 'NEUTRAL' | 'WARNING' | 'INFO' | 'ERROR' | 'SUCCESS' | 'TRANSPARENT' | 'DISABLED';
|
|
203
228
|
label: string;
|
|
204
229
|
}
|
|
205
|
-
export interface CheckListList {
|
|
206
|
-
branches?: CheckListList[];
|
|
207
|
-
checkListOptions?: CheckListOption;
|
|
208
|
-
isChecked: boolean;
|
|
209
|
-
isDefaultOpen?: boolean;
|
|
210
|
-
isDisabled?: boolean;
|
|
211
|
-
label: string;
|
|
212
|
-
showMoreSize?: number;
|
|
213
|
-
value: string;
|
|
214
|
-
}
|
|
215
230
|
/** Per-item input type overrides */
|
|
216
231
|
export interface CheckListOption {
|
|
217
232
|
shouldHaveNegativeCheckbox?: boolean;
|
|
@@ -895,15 +910,6 @@ export interface LayoutValue {
|
|
|
895
910
|
x?: number;
|
|
896
911
|
y?: number;
|
|
897
912
|
}
|
|
898
|
-
export interface LinkValue {
|
|
899
|
-
badge?: AppNavBarBadge;
|
|
900
|
-
icon?: string;
|
|
901
|
-
isSection?: boolean;
|
|
902
|
-
links?: LinkValue[];
|
|
903
|
-
path?: string;
|
|
904
|
-
queryParams?: QueryParam;
|
|
905
|
-
title: string;
|
|
906
|
-
}
|
|
907
913
|
/** Location object with nickname and address. Required for displaying location information */
|
|
908
914
|
export interface Location {
|
|
909
915
|
address: Addres;
|
|
@@ -944,12 +950,6 @@ export interface MenuListList {
|
|
|
944
950
|
export interface Metadata {
|
|
945
951
|
[key: string]: unknown;
|
|
946
952
|
}
|
|
947
|
-
export interface NestedListList {
|
|
948
|
-
branches?: NestedListList[];
|
|
949
|
-
isDefaultOpen?: boolean;
|
|
950
|
-
label: string;
|
|
951
|
-
value?: string;
|
|
952
|
-
}
|
|
953
953
|
export interface NumberArg {
|
|
954
954
|
[key: string]: unknown;
|
|
955
955
|
}
|
|
@@ -1629,7 +1629,7 @@ export interface AppNavBarProps {
|
|
|
1629
1629
|
baseURL?: string;
|
|
1630
1630
|
isLogoRound?: boolean;
|
|
1631
1631
|
isVertical?: boolean;
|
|
1632
|
-
links:
|
|
1632
|
+
links: AppNavBarNavItem[];
|
|
1633
1633
|
logoUrl?: string;
|
|
1634
1634
|
shouldPersistQueryParams?: boolean;
|
|
1635
1635
|
size?: number;
|
|
@@ -1838,7 +1838,7 @@ export interface CheckListProps {
|
|
|
1838
1838
|
hasIndependentActions?: boolean;
|
|
1839
1839
|
hasIndependentChildActions?: boolean;
|
|
1840
1840
|
indent?: number;
|
|
1841
|
-
list:
|
|
1841
|
+
list: CheckListItem[];
|
|
1842
1842
|
selectAllText?: string;
|
|
1843
1843
|
shouldHaveNegativeCheckbox?: boolean;
|
|
1844
1844
|
shouldShowIndeterminate?: boolean;
|
|
@@ -3188,7 +3188,7 @@ export interface ModalFooterProps {
|
|
|
3188
3188
|
export interface NestedListProps {
|
|
3189
3189
|
depth?: number;
|
|
3190
3190
|
indent?: number;
|
|
3191
|
-
list:
|
|
3191
|
+
list: NestedListItem[];
|
|
3192
3192
|
selectedValue?: string;
|
|
3193
3193
|
showMore?: ShowMoreValue;
|
|
3194
3194
|
theme?: 'NO_CARD' | 'TRANSPARENT_NO_SEPARATOR' | 'TRANSPARENT_NO_SEPARATOR_NO_CARD';
|