@rippling/pebble-sdui-mobile 1.0.1 → 1.1.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/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +14 -21
- package/dist/catalogs/custom-apps/index.cjs +2 -2
- 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 +287 -161
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +6 -3
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +84 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/types.md +9 -31
- package/package.json +1 -1
|
@@ -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 = "2.0
|
|
10
|
+
export declare const CATALOG_VERSION = "2.1.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. */
|
|
@@ -24,6 +24,7 @@ export type PositionValue = 'absolute' | 'relative';
|
|
|
24
24
|
export type ShapeBorderWidthValue = 'shapeBorderWidthNone' | 'shapeBorderWidthXs' | 'shapeBorderWidthSm' | 'shapeBorderWidthMd' | 'shapeBorderWidthLg' | 'shapeBorderWidthXl';
|
|
25
25
|
export type ShapeCornerValue = 'shapeCornerNone' | 'shapeCornerXs' | 'shapeCornerSm' | 'shapeCornerMd' | 'shapeCornerLg' | 'shapeCornerXl' | 'shapeCorner2xl' | 'shapeCorner3xl' | 'shapeCorner4xl' | 'shapeCornerFull';
|
|
26
26
|
export type SizeValue = 'size0' | 'size25' | 'size50' | 'size75' | 'size100' | 'size125' | 'size150' | 'size175' | 'size200' | 'size225' | 'size250' | 'size275' | 'size300' | 'size350' | 'size400' | 'size450' | 'size500' | 'size600' | 'size700' | 'size800' | 'size900' | 'size1000' | 'size1100' | 'size1200' | 'size1400' | 'size1600' | 'size2000' | 'size2400' | 'size2800' | 'size3200' | 'size3600' | 'size4000' | 'size4400' | 'size4800' | 'size5200' | 'size5600' | 'size6000' | 'size6400' | 'size7200' | 'size8000' | 'size9600' | 'size11200' | 'size12800' | 'size14400' | 'size19200' | 'size25600' | 'size28800' | 'size32000' | 'size36000';
|
|
27
|
+
export type SourceValue = 'amplitude' | 'asana' | 'ashby' | 'atlassian' | 'bitrise' | 'box' | 'buildkite' | 'cloudflare' | 'contentful' | 'context7' | 'datadog' | 'deel' | 'dropbox' | 'excalidraw' | 'expo' | 'figma' | 'gem' | 'github' | 'gitlab' | 'gmail' | 'gong' | 'googlecalendar' | 'googlechat' | 'googledocs' | 'googledrive' | 'googleforms' | 'googlesheets' | 'googleslides' | 'googleworkspace' | 'greenhouse' | 'incidentio' | 'ironclad' | 'iterable' | 'jumpcloud' | 'launchdarkly' | 'linear' | 'logrocket' | 'lucid' | 'mermaidchart' | 'metaview' | 'microsoftcalendar' | 'microsoftexcel' | 'microsoftonedrive' | 'microsoftoutlook' | 'microsoftteams' | 'microsoftword' | 'mutiny' | 'netsuite' | 'notion' | 'peopleapi' | 'ramp' | 'ranger' | 'rippling' | 'salesforce' | 'sendoso' | 'sentry' | 'slack' | 'snowflake' | 'stripe' | 'symmetrypayroll' | 'vantage' | 'zoom';
|
|
27
28
|
export type SpaceValue = 'space0' | 'space25' | 'space50' | 'space75' | 'space100' | 'space125' | 'space150' | 'space175' | 'space200' | 'space225' | 'space250' | 'space275' | 'space300' | 'space350' | 'space400' | 'space450' | 'space500' | 'space600' | 'space700' | 'space800' | 'space900' | 'space1000' | 'space1100' | 'space1200' | 'space1400' | 'space1600' | 'space2000' | 'space2400' | 'space2800' | 'space3200' | 'space3600' | 'space4000' | 'space4400' | 'space4800' | 'space5200' | 'space5600' | 'space6000' | 'space6400' | 'space7200' | 'space8000' | 'space9600';
|
|
28
29
|
export type TextAlignValue = 'auto' | 'left' | 'right' | 'center' | 'justify';
|
|
29
30
|
export type TextAlignVerticalValue = 'auto' | 'top' | 'bottom' | 'center';
|
|
@@ -34,7 +35,7 @@ export type TypestyleValue = 'typestyleV2TitleLarge' | 'typestyleV2TitleMedium'
|
|
|
34
35
|
export type TypeValue = 'add' | 'airplane' | 'barChartDecrease' | 'barChartIncrease' | 'brain' | 'brainAi' | 'calendar' | 'checkMark' | 'clock' | 'coinsUsd' | 'creditCard' | 'document' | 'enterprise' | 'exclamationMark' | 'folders' | 'gear' | 'gearHeart' | 'gearPlay' | 'globe' | 'gradCap' | 'handshake' | 'heart' | 'integration' | 'inventoryManagement' | 'laptop' | 'laptopDev' | 'lightningBolt' | 'lock' | 'lockUnlocked' | 'magnifyingGlass' | 'magnifyingGlassQuestionMark' | 'noWifi' | 'offboarding' | 'onboarding' | 'payrollEuro' | 'payrollRupee' | 'payrollUsd' | 'payrollYen' | 'questionMark' | 'receipt' | 'refresh' | 'shieldCheck' | 'speechBubble' | 'thirdParty' | 'train' | 'unifiedSystem' | 'x';
|
|
35
36
|
export type UnderlayAppearanceValue = 'none' | 'base' | 'inverse' | 'opacity';
|
|
36
37
|
export type ValidateOnValue = 'change' | 'blur' | 'submit';
|
|
37
|
-
export type VariantValue = 'base' | 'pill' | 'text' | 'small';
|
|
38
|
+
export type VariantValue = 'base' | 'pill' | 'text' | 'small' | 'icon';
|
|
38
39
|
export type WritingDirectionValue = 'auto' | 'ltr' | 'rtl';
|
|
39
40
|
/** Primary action button. Press emits "primaryAction". */
|
|
40
41
|
export interface ActionCardPrimaryAction {
|
|
@@ -71,32 +72,20 @@ export interface Asset {
|
|
|
71
72
|
iconType?: string;
|
|
72
73
|
size?: 'small' | 'medium' | 'large';
|
|
73
74
|
}
|
|
74
|
-
/**
|
|
75
|
-
export interface AvatarHeader {
|
|
76
|
-
[key: string]: string;
|
|
77
|
-
}
|
|
78
|
-
/** Structured remote image source */
|
|
75
|
+
/** Catalog product logo */
|
|
79
76
|
export interface AvatarSource {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
uri: string;
|
|
83
|
-
width?: number;
|
|
77
|
+
source: SourceValue;
|
|
78
|
+
type: 'logo';
|
|
84
79
|
}
|
|
85
80
|
export interface AvatarStackAvatar {
|
|
86
81
|
recyclingKey?: string;
|
|
87
|
-
source?: IconValue | string | AvatarStackSource | AvatarStackSource;
|
|
82
|
+
source?: AvatarStackSource | IconValue | string | AvatarStackSource | AvatarStackSource;
|
|
88
83
|
title?: string;
|
|
89
84
|
}
|
|
90
|
-
/**
|
|
91
|
-
export interface AvatarStackHeader {
|
|
92
|
-
[key: string]: string;
|
|
93
|
-
}
|
|
94
|
-
/** Structured remote image source */
|
|
85
|
+
/** Catalog product logo */
|
|
95
86
|
export interface AvatarStackSource {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
uri: string;
|
|
99
|
-
width?: number;
|
|
87
|
+
source: SourceValue;
|
|
88
|
+
type: 'logo';
|
|
100
89
|
}
|
|
101
90
|
/** Optional Button props (label, appearance, icons, etc.). `onPress` is owned by the file viewer. */
|
|
102
91
|
export interface ButtonProp {
|
|
@@ -554,6 +543,7 @@ export interface Item {
|
|
|
554
543
|
/** Left action: provide title for text button or iconType for icon button */
|
|
555
544
|
export interface Left {
|
|
556
545
|
iconType?: IconValue;
|
|
546
|
+
testID?: string;
|
|
557
547
|
title?: string;
|
|
558
548
|
}
|
|
559
549
|
/** A json-render spec to render as the prefix (left-hand side) of the ObjectItem, e.g. an Avatar or Icon */
|
|
@@ -662,6 +652,7 @@ export interface PageHeaderState {
|
|
|
662
652
|
/** Right action: provide title for text button or iconType for icon button */
|
|
663
653
|
export interface PageModalActionHeaderRight {
|
|
664
654
|
iconType?: IconValue;
|
|
655
|
+
testID?: string;
|
|
665
656
|
title?: string;
|
|
666
657
|
}
|
|
667
658
|
export interface PasswordArg {
|
|
@@ -967,9 +958,10 @@ export interface AnimationProps {
|
|
|
967
958
|
}
|
|
968
959
|
export interface AvatarProps {
|
|
969
960
|
contentFit?: ContentFitValue;
|
|
961
|
+
isRounded?: boolean;
|
|
970
962
|
recyclingKey?: string;
|
|
971
963
|
size?: AvatarSizeValue;
|
|
972
|
-
source?: IconValue | string | AvatarSource | AvatarSource;
|
|
964
|
+
source?: AvatarSource | IconValue | string | AvatarSource | AvatarSource;
|
|
973
965
|
testID?: string;
|
|
974
966
|
title?: string;
|
|
975
967
|
}
|
|
@@ -1390,6 +1382,7 @@ export interface PageModalActionHeaderProps {
|
|
|
1390
1382
|
subtitle?: string;
|
|
1391
1383
|
testID?: string;
|
|
1392
1384
|
title?: string;
|
|
1385
|
+
transparent?: boolean;
|
|
1393
1386
|
}
|
|
1394
1387
|
export interface PasswordProps {
|
|
1395
1388
|
name?: string;
|