@rippling/pebble-sdui-mobile 0.12.1 → 0.14.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/action-params.d.ts +4 -0
- package/dist/catalogs/custom-apps/actions.d.ts +2 -1
- package/dist/catalogs/custom-apps/catalog.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +2 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +7 -0
- package/dist/catalogs/custom-apps/components.d.ts +3 -2
- package/dist/catalogs/custom-apps/index.cjs +5 -4
- package/dist/catalogs/custom-apps/index.cjs.map +1 -1
- package/dist/catalogs/custom-apps/index.d.ts +5 -5
- package/dist/catalogs/custom-apps/index.js +230 -174
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/docs/typescript/mobile/catalogs/custom-apps/actions.md +28 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/components.md +26 -2
- package/dist/docs/typescript/mobile/catalogs/custom-apps/definitions.md +26 -0
- package/dist/docs/typescript/mobile/catalogs/custom-apps/readme.md +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ActionBinding, ActionOptions } from '../../core/action-utils';
|
|
2
2
|
import { WrapWithActionParamValue } from '../../core/expressions';
|
|
3
|
-
import { GoBackParams, NavigateParams, PushParams, TriggerApiParams } from './action-params';
|
|
3
|
+
import { GoBackParams, NavigateParams, PushParams, SetStateParams, TriggerApiParams } from './action-params';
|
|
4
4
|
export declare const goBack: (params: WrapWithActionParamValue<GoBackParams>, options?: ActionOptions) => ActionBinding;
|
|
5
5
|
export declare const navigate: (params: WrapWithActionParamValue<NavigateParams>, options?: ActionOptions) => ActionBinding;
|
|
6
6
|
export declare const push: (params: WrapWithActionParamValue<PushParams>, options?: ActionOptions) => ActionBinding;
|
|
7
|
+
export declare const setState: (params: WrapWithActionParamValue<SetStateParams>, options?: ActionOptions) => ActionBinding;
|
|
7
8
|
export declare const triggerApi: (params: WrapWithActionParamValue<TriggerApiParams>, options?: ActionOptions) => ActionBinding;
|
|
@@ -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.
|
|
10
|
+
export declare const CATALOG_VERSION = "1.7.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. */
|
|
@@ -44,6 +44,7 @@ export type ObjectListViewEvents = never;
|
|
|
44
44
|
export type ObjectListViewCardEvents = never;
|
|
45
45
|
export type PageCondensedFooterEvents = 'action';
|
|
46
46
|
export type PageCondensedHeaderEvents = never;
|
|
47
|
+
export type PageContentEvents = never;
|
|
47
48
|
export type PageFilterHeaderEvents = 'filterMenuPress';
|
|
48
49
|
export type PageFooterEvents = 'action';
|
|
49
50
|
export type PageHeaderEvents = never;
|
|
@@ -77,5 +78,5 @@ export type TimeEvents = 'change' | 'blur';
|
|
|
77
78
|
export type TimeRangeEvents = 'change';
|
|
78
79
|
export type TipEvents = never;
|
|
79
80
|
export type VStackEvents = never;
|
|
80
|
-
export type WidgetEvents = 'titlePress' | 'primaryAction' | 'secondaryAction';
|
|
81
|
+
export type WidgetEvents = 'press' | 'titlePress' | 'primaryAction' | 'secondaryAction';
|
|
81
82
|
export type WorkEmailEvents = 'change' | 'blur';
|
|
@@ -1295,6 +1295,13 @@ export interface PageCondensedHeaderProps {
|
|
|
1295
1295
|
testID?: string;
|
|
1296
1296
|
title: string;
|
|
1297
1297
|
}
|
|
1298
|
+
export interface PageContentProps {
|
|
1299
|
+
align?: AlignItemsValue;
|
|
1300
|
+
enableSafeArea?: boolean;
|
|
1301
|
+
gap?: number;
|
|
1302
|
+
padding?: ('vertical' | 'horizontal' | 'top' | 'bottom' | 'all' | 'none')[];
|
|
1303
|
+
testID?: string;
|
|
1304
|
+
}
|
|
1298
1305
|
export interface PageFilterHeaderProps {
|
|
1299
1306
|
badge?: string;
|
|
1300
1307
|
defaultExpanded?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentInputs } from '../../core/component-utils';
|
|
2
2
|
import { ElementNode } from '../../core/elements';
|
|
3
|
-
import { ActionCardProps, AnchorProps, AnimationProps, AvatarProps, AvatarStackProps, BadgeProps, ButtonProps, CardProps, CheckboxProps, CheckboxGroupProps, ChipProps, CountryProps, CurrencyProps, DateProps, DateRangeProps, DateTimePickerProps, DividerProps, EmailProps, ExpansionPanelProps, FileViewerButtonProps, FileViewerPressableProps, FloatingButtonProps, FormProps, GroupProps, HiddenProps, HStackProps, IconProps, ImageProps, InputTextProps, LabelProps, ListProps, ListItemProps, ModalSheetProps, NoticeProps, NumberProps, ObjectFooterProps, ObjectItemProps, ObjectListViewProps, ObjectListViewCardProps, PageCondensedFooterProps, PageCondensedHeaderProps, PageFilterHeaderProps, PageFooterProps, PageHeaderProps, PageModalActionHeaderProps, PasswordProps, PercentageProps, PhoneProps, PressableProps, ProgressIndicatorProps, RadioProps, RadioGroupProps, SearchProps, SectionHeaderProps, SelectProps, SelectChipsProps, SignatureProps, SinProps, SliderProps, SliderRangeProps, SnackBarProps, SpacerProps, SpinnerProps, SsnProps, StatusProps, StatusBarProps, SwitchProps, TabsProps, TextProps, TextareaProps, TimeProps, TimeRangeProps, TipProps, VStackProps, WidgetProps, WorkEmailProps } from './component-props';
|
|
4
|
-
import { ActionCardEvents, AnchorEvents, AnimationEvents, AvatarEvents, AvatarStackEvents, BadgeEvents, ButtonEvents, CardEvents, CheckboxEvents, CheckboxGroupEvents, ChipEvents, CountryEvents, CurrencyEvents, DateEvents, DateRangeEvents, DateTimePickerEvents, DividerEvents, EmailEvents, ExpansionPanelEvents, FileViewerButtonEvents, FileViewerPressableEvents, FloatingButtonEvents, FormEvents, GroupEvents, HiddenEvents, HStackEvents, IconEvents, ImageEvents, InputTextEvents, LabelEvents, ListEvents, ListItemEvents, ModalSheetEvents, NoticeEvents, NumberEvents, ObjectFooterEvents, ObjectItemEvents, ObjectListViewEvents, ObjectListViewCardEvents, PageCondensedFooterEvents, PageCondensedHeaderEvents, PageFilterHeaderEvents, PageFooterEvents, PageHeaderEvents, PageModalActionHeaderEvents, PasswordEvents, PercentageEvents, PhoneEvents, PressableEvents, ProgressIndicatorEvents, RadioEvents, RadioGroupEvents, SearchEvents, SectionHeaderEvents, SelectEvents, SelectChipsEvents, SignatureEvents, SinEvents, SliderEvents, SliderRangeEvents, SnackBarEvents, SpacerEvents, SpinnerEvents, SsnEvents, StatusEvents, StatusBarEvents, SwitchEvents, TabsEvents, TextEvents, TextareaEvents, TimeEvents, TimeRangeEvents, TipEvents, VStackEvents, WidgetEvents, WorkEmailEvents } from './component-events';
|
|
3
|
+
import { ActionCardProps, AnchorProps, AnimationProps, AvatarProps, AvatarStackProps, BadgeProps, ButtonProps, CardProps, CheckboxProps, CheckboxGroupProps, ChipProps, CountryProps, CurrencyProps, DateProps, DateRangeProps, DateTimePickerProps, DividerProps, EmailProps, ExpansionPanelProps, FileViewerButtonProps, FileViewerPressableProps, FloatingButtonProps, FormProps, GroupProps, HiddenProps, HStackProps, IconProps, ImageProps, InputTextProps, LabelProps, ListProps, ListItemProps, ModalSheetProps, NoticeProps, NumberProps, ObjectFooterProps, ObjectItemProps, ObjectListViewProps, ObjectListViewCardProps, PageCondensedFooterProps, PageCondensedHeaderProps, PageContentProps, PageFilterHeaderProps, PageFooterProps, PageHeaderProps, PageModalActionHeaderProps, PasswordProps, PercentageProps, PhoneProps, PressableProps, ProgressIndicatorProps, RadioProps, RadioGroupProps, SearchProps, SectionHeaderProps, SelectProps, SelectChipsProps, SignatureProps, SinProps, SliderProps, SliderRangeProps, SnackBarProps, SpacerProps, SpinnerProps, SsnProps, StatusProps, StatusBarProps, SwitchProps, TabsProps, TextProps, TextareaProps, TimeProps, TimeRangeProps, TipProps, VStackProps, WidgetProps, WorkEmailProps } from './component-props';
|
|
4
|
+
import { ActionCardEvents, AnchorEvents, AnimationEvents, AvatarEvents, AvatarStackEvents, BadgeEvents, ButtonEvents, CardEvents, CheckboxEvents, CheckboxGroupEvents, ChipEvents, CountryEvents, CurrencyEvents, DateEvents, DateRangeEvents, DateTimePickerEvents, DividerEvents, EmailEvents, ExpansionPanelEvents, FileViewerButtonEvents, FileViewerPressableEvents, FloatingButtonEvents, FormEvents, GroupEvents, HiddenEvents, HStackEvents, IconEvents, ImageEvents, InputTextEvents, LabelEvents, ListEvents, ListItemEvents, ModalSheetEvents, NoticeEvents, NumberEvents, ObjectFooterEvents, ObjectItemEvents, ObjectListViewEvents, ObjectListViewCardEvents, PageCondensedFooterEvents, PageCondensedHeaderEvents, PageContentEvents, PageFilterHeaderEvents, PageFooterEvents, PageHeaderEvents, PageModalActionHeaderEvents, PasswordEvents, PercentageEvents, PhoneEvents, PressableEvents, ProgressIndicatorEvents, RadioEvents, RadioGroupEvents, SearchEvents, SectionHeaderEvents, SelectEvents, SelectChipsEvents, SignatureEvents, SinEvents, SliderEvents, SliderRangeEvents, SnackBarEvents, SpacerEvents, SpinnerEvents, SsnEvents, StatusEvents, StatusBarEvents, SwitchEvents, TabsEvents, TextEvents, TextareaEvents, TimeEvents, TimeRangeEvents, TipEvents, VStackEvents, WidgetEvents, WorkEmailEvents } from './component-events';
|
|
5
5
|
type CatalogElementNode = ElementNode<'mobile', 'custom-apps'>;
|
|
6
6
|
export declare const ActionCard: (input: ComponentInputs<ActionCardProps, ActionCardEvents>) => CatalogElementNode;
|
|
7
7
|
export declare const Anchor: (input: ComponentInputs<AnchorProps, AnchorEvents>) => CatalogElementNode;
|
|
@@ -44,6 +44,7 @@ export declare const ObjectListView: (input: ComponentInputs<ObjectListViewProps
|
|
|
44
44
|
export declare const ObjectListViewCard: (input: ComponentInputs<ObjectListViewCardProps, ObjectListViewCardEvents>) => CatalogElementNode;
|
|
45
45
|
export declare const PageCondensedFooter: (input: ComponentInputs<PageCondensedFooterProps, PageCondensedFooterEvents>) => CatalogElementNode;
|
|
46
46
|
export declare const PageCondensedHeader: (input: ComponentInputs<PageCondensedHeaderProps, PageCondensedHeaderEvents>) => CatalogElementNode;
|
|
47
|
+
export declare const PageContent: (input: ComponentInputs<PageContentProps, PageContentEvents, true>) => CatalogElementNode;
|
|
47
48
|
export declare const PageFilterHeader: (input: ComponentInputs<PageFilterHeaderProps, PageFilterHeaderEvents>) => CatalogElementNode;
|
|
48
49
|
export declare const PageFooter: (input: ComponentInputs<PageFooterProps, PageFooterEvents>) => CatalogElementNode;
|
|
49
50
|
export declare const PageHeader: (input: ComponentInputs<PageHeaderProps, PageHeaderEvents>) => CatalogElementNode;
|