@rippling/pebble-sdui-web 0.15.0 → 0.15.2
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 +3 -1
- package/dist/catalogs/custom-apps/component-events.d.ts +1 -1
- package/dist/catalogs/custom-apps/component-props.d.ts +8 -1
- package/dist/catalogs/custom-apps/components.d.ts +2 -2
- 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 +504 -257
- package/dist/catalogs/custom-apps/index.js.map +1 -1
- package/dist/catalogs/hub_platform/catalog.d.ts +2 -0
- package/dist/catalogs/hub_platform/index.cjs +1 -1
- package/dist/catalogs/hub_platform/index.cjs.map +1 -1
- package/dist/catalogs/hub_platform/index.d.ts +1 -1
- package/dist/catalogs/hub_platform/index.js +83 -58
- package/dist/catalogs/hub_platform/index.js.map +1 -1
- package/dist/core/component-markdown.cjs +19 -0
- package/dist/core/component-markdown.cjs.map +1 -0
- package/dist/core/component-markdown.d.ts +8 -0
- package/dist/core/component-markdown.js +58 -0
- package/dist/core/component-markdown.js.map +1 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/components.md +19 -9
- package/dist/docs/typescript/web/catalogs/custom-apps/definitions.md +1 -0
- package/dist/docs/typescript/web/catalogs/custom-apps/readme.md +1 -1
- package/dist/docs/typescript/web/catalogs/custom-apps/types.md +1 -1
- package/dist/sdk-docs.cjs +15 -3
- package/dist/sdk-docs.cjs.map +1 -1
- package/dist/sdk-docs.js +15 -3
- package/dist/sdk-docs.js.map +1 -1
- 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 = "1.5.
|
|
10
|
+
export declare const CATALOG_VERSION = "1.5.4";
|
|
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,6 +20,8 @@ export declare function getComputedFunctions(): Record<string, Record<string, un
|
|
|
20
20
|
export declare function getDefs(): Record<string, Record<string, unknown>>;
|
|
21
21
|
/** Get the full JSON definition of a component by name. */
|
|
22
22
|
export declare function getComponent(name: string): Record<string, unknown>;
|
|
23
|
+
/** Render LLM-ready Markdown with the SDUI contract taking precedence. */
|
|
24
|
+
export declare function getComponentMarkdown(name: string): string;
|
|
23
25
|
/** Get the full JSON definition of an action by name. */
|
|
24
26
|
export declare function getAction(name: string): Record<string, unknown>;
|
|
25
27
|
/** Get the full JSON definition of a computed function by name. */
|
|
@@ -45,7 +45,7 @@ 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' | 'toggle';
|
|
48
|
+
export type DropdownEvents = 'change' | 'toggle' | 'action';
|
|
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';
|
|
@@ -2527,6 +2527,7 @@ export interface CardProps {
|
|
|
2527
2527
|
actions?: CardAction[];
|
|
2528
2528
|
actionsDropdownWidth?: number;
|
|
2529
2529
|
content?: string;
|
|
2530
|
+
fluid?: boolean;
|
|
2530
2531
|
isAddCard?: boolean;
|
|
2531
2532
|
isDisabled?: boolean;
|
|
2532
2533
|
minCardHeight?: number | string;
|
|
@@ -2844,6 +2845,7 @@ export interface DrawerProps {
|
|
|
2844
2845
|
width?: string | number;
|
|
2845
2846
|
}
|
|
2846
2847
|
export interface DropdownProps {
|
|
2848
|
+
clickedValue?: unknown;
|
|
2847
2849
|
defaultValue?: unknown;
|
|
2848
2850
|
dropdownIsOpen?: boolean;
|
|
2849
2851
|
footer?: DropdownFooter;
|
|
@@ -2856,7 +2858,10 @@ export interface DropdownProps {
|
|
|
2856
2858
|
shouldAutoClose?: boolean;
|
|
2857
2859
|
shouldCloseOnScroll?: boolean;
|
|
2858
2860
|
showSelectedLabel?: boolean;
|
|
2859
|
-
|
|
2861
|
+
triggerAriaLabel?: string;
|
|
2862
|
+
triggerIcon?: string;
|
|
2863
|
+
triggerLabel?: string;
|
|
2864
|
+
triggerSize?: 'XS' | 'S' | 'M' | 'L';
|
|
2860
2865
|
value?: unknown;
|
|
2861
2866
|
width?: number;
|
|
2862
2867
|
}
|
|
@@ -3241,6 +3246,7 @@ export interface FormFileDropProps {
|
|
|
3241
3246
|
label?: string;
|
|
3242
3247
|
maxFileSize?: number;
|
|
3243
3248
|
maxTotalFileSize?: number;
|
|
3249
|
+
metadata?: unknown;
|
|
3244
3250
|
multiPartUpload?: boolean;
|
|
3245
3251
|
multiple?: boolean;
|
|
3246
3252
|
placeholder?: string;
|
|
@@ -3986,6 +3992,7 @@ export interface LayoutProps {
|
|
|
3986
3992
|
zIndex?: number;
|
|
3987
3993
|
}
|
|
3988
3994
|
export interface LayoutCardProps {
|
|
3995
|
+
fluid?: boolean;
|
|
3989
3996
|
padding?: 'PX_0' | 'PX_8' | 'PX_16' | 'PX_24' | 'PX_32';
|
|
3990
3997
|
theme?: 'DEFAULT' | 'SELECTABLE';
|
|
3991
3998
|
}
|
|
@@ -25,7 +25,7 @@ export declare const Card: (input: ComponentInputs<CardProps, CardEvents, true>)
|
|
|
25
25
|
export declare const CardGroup: (input: ComponentInputs<CardGroupProps, CardGroupEvents, true>) => CatalogElementNode;
|
|
26
26
|
export declare const Carousel: (input: ComponentInputs<CarouselProps, CarouselEvents>) => CatalogElementNode;
|
|
27
27
|
export declare const ChartLoader: (input: ComponentInputs<ChartLoaderProps, ChartLoaderEvents>) => CatalogElementNode;
|
|
28
|
-
export declare const Checkbox: (input: ComponentInputs<CheckboxProps, CheckboxEvents>) => CatalogElementNode;
|
|
28
|
+
export declare const Checkbox: (input: ComponentInputs<CheckboxProps, CheckboxEvents, true>) => CatalogElementNode;
|
|
29
29
|
export declare const CheckboxGroup: (input: ComponentInputs<CheckboxGroupProps, CheckboxGroupEvents>) => CatalogElementNode;
|
|
30
30
|
export declare const CheckList: (input: ComponentInputs<CheckListProps, CheckListEvents>) => CatalogElementNode;
|
|
31
31
|
export declare const Chip: (input: ComponentInputs<ChipProps, ChipEvents>) => CatalogElementNode;
|
|
@@ -56,7 +56,7 @@ export declare const File: (input: ComponentInputs<FileProps, FileEvents>) => Ca
|
|
|
56
56
|
export declare const FileDrop: (input: ComponentInputs<FileDropProps, FileDropEvents>) => CatalogElementNode;
|
|
57
57
|
export declare const FloatingButton: (input: ComponentInputs<FloatingButtonProps, FloatingButtonEvents>) => CatalogElementNode;
|
|
58
58
|
export declare const Form: (input: ComponentInputs<FormProps, FormEvents, true>) => CatalogElementNode;
|
|
59
|
-
export declare const FormCheckbox: (input: ComponentInputs<FormCheckboxProps, FormCheckboxEvents>) => CatalogElementNode;
|
|
59
|
+
export declare const FormCheckbox: (input: ComponentInputs<FormCheckboxProps, FormCheckboxEvents, true>) => CatalogElementNode;
|
|
60
60
|
export declare const FormCheckboxGroup: (input: ComponentInputs<FormCheckboxGroupProps, FormCheckboxGroupEvents>) => CatalogElementNode;
|
|
61
61
|
export declare const FormContent: (input: ComponentInputs<FormContentProps, FormContentEvents, true>) => CatalogElementNode;
|
|
62
62
|
export declare const FormCurrency: (input: ComponentInputs<FormCurrencyProps, FormCurrencyEvents>) => CatalogElementNode;
|