@ds-mo/ui 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/components/ds-bar-nav-action.js +1 -1
- package/dist/components/ds-bar-nav.js +1 -1
- package/dist/components/ds-bar-nav.js.map +1 -1
- package/dist/components/ds-breadcrumb.js +1 -1
- package/dist/components/ds-button-group.js +1 -1
- package/dist/components/ds-button.js +1 -1
- package/dist/components/ds-card.js +1 -1
- package/dist/components/ds-card.js.map +1 -1
- package/dist/components/ds-checkbox.js +1 -1
- package/dist/components/ds-divider.js +1 -1
- package/dist/components/ds-empty-state.js +1 -1
- package/dist/components/ds-empty-state.js.map +1 -1
- package/dist/components/ds-fade.js +1 -1
- package/dist/components/ds-field.js +1 -1
- package/dist/components/ds-header.js +1 -1
- package/dist/components/ds-header.js.map +1 -1
- package/dist/components/ds-icon.js +1 -1
- package/dist/components/ds-input.js +1 -1
- package/dist/components/ds-label-wrap.js +1 -1
- package/dist/components/ds-menu.js +1 -1
- package/dist/components/ds-modal.js +1 -1
- package/dist/components/ds-panel-nav.js +1 -1
- package/dist/components/ds-radio-group.js +1 -1
- package/dist/components/ds-radio-group.js.map +1 -1
- package/dist/components/ds-scrollbar.js +1 -1
- package/dist/components/ds-select.js +1 -1
- package/dist/components/ds-slider.js +1 -1
- package/dist/components/ds-slider.js.map +1 -1
- package/dist/components/ds-surface.js +1 -1
- package/dist/components/ds-tab-group-nav.d.ts +11 -0
- package/dist/components/ds-tab-group-nav.js +2 -0
- package/dist/components/ds-tab-group-nav.js.map +1 -0
- package/dist/components/ds-tab-group.js +1 -1
- package/dist/components/ds-tab-group.js.map +1 -1
- package/dist/components/ds-table.js +1 -1
- package/dist/components/ds-table.js.map +1 -1
- package/dist/components/ds-tag.js +1 -1
- package/dist/components/ds-text.js +1 -1
- package/dist/components/ds-toast-provider.js +1 -1
- package/dist/components/ds-toggle-button-group.js +1 -1
- package/dist/components/ds-toggle-button.js +1 -1
- package/dist/components/ds-toggle.js +1 -1
- package/dist/components/ds-tooltip.js +1 -1
- package/dist/components/p-BQq26pt9.js +2 -0
- package/dist/components/p-BQq26pt9.js.map +1 -0
- package/dist/components/p-CMyQsk0K.js +2 -0
- package/dist/components/p-CMyQsk0K.js.map +1 -0
- package/dist/components/{p-D3CwGoIu.js → p-COsKOwZR.js} +2 -2
- package/dist/components/p-CpbnmEu1.js +2 -0
- package/dist/components/p-CpbnmEu1.js.map +1 -0
- package/dist/components/{p-DHF5BQbO.js → p-Dd0GrKaF.js} +2 -2
- package/dist/components/p-H89PzqGU.js +2 -0
- package/dist/components/p-H89PzqGU.js.map +1 -0
- package/dist/components/{p-Dfx0StHj.js → p-Vwlmhl4E.js} +2 -2
- package/dist/components/{p-C4p1fG67.js → p-woooYulR.js} +2 -2
- package/dist/types/.stencil/BarNav/BarNav.d.ts +7 -2
- package/dist/types/.stencil/BarNav/bar-nav-dom-utils.d.ts +1 -2
- package/dist/types/.stencil/TabGroupNav/TabGroupNav.d.ts +27 -0
- package/dist/types/components.d.ts +68 -0
- package/package.json +39 -9
- package/src/angular/index.ts +1 -0
- package/src/angular/proxies.ts +28 -0
- package/src/react/components.ts +46 -0
- package/src/react/ds-accordion.ts +27 -0
- package/src/react/ds-badge.ts +26 -0
- package/src/react/ds-banner.ts +27 -0
- package/src/react/ds-bar-nav-action.ts +27 -0
- package/src/react/ds-bar-nav.ts +33 -0
- package/src/react/ds-breadcrumb.ts +27 -0
- package/src/react/ds-button-group.ts +27 -0
- package/src/react/ds-button.ts +35 -0
- package/src/react/ds-card.ts +26 -0
- package/src/react/ds-checkbox.ts +27 -0
- package/src/react/ds-divider.ts +26 -0
- package/src/react/ds-empty-state.ts +26 -0
- package/src/react/ds-fade.ts +26 -0
- package/src/react/ds-field.ts +26 -0
- package/src/react/ds-header.ts +26 -0
- package/src/react/ds-icon.ts +26 -0
- package/src/react/ds-input.ts +33 -0
- package/src/react/ds-label-wrap.ts +26 -0
- package/src/react/ds-loader.ts +26 -0
- package/src/react/ds-menu.ts +33 -0
- package/src/react/ds-modal.ts +27 -0
- package/src/react/ds-pagination.ts +27 -0
- package/src/react/ds-panel-nav.ts +37 -0
- package/src/react/ds-radio-group.ts +27 -0
- package/src/react/ds-scrollbar.ts +26 -0
- package/src/react/ds-select.ts +27 -0
- package/src/react/ds-sidebar.ts +33 -0
- package/src/react/ds-skeleton.ts +26 -0
- package/src/react/ds-slider.ts +27 -0
- package/src/react/ds-surface.ts +26 -0
- package/src/react/ds-tab-group-nav.ts +27 -0
- package/src/react/ds-tab-group.ts +27 -0
- package/src/react/ds-table.ts +35 -0
- package/src/react/ds-tag.ts +35 -0
- package/src/react/ds-text.ts +26 -0
- package/src/react/ds-toast-provider.ts +26 -0
- package/src/react/ds-toggle-button-group.ts +27 -0
- package/src/react/ds-toggle-button.ts +27 -0
- package/src/react/ds-toggle.ts +27 -0
- package/src/react/ds-tooltip.ts +26 -0
- package/src/wc/components/Accordion/Accordion.tsx +144 -0
- package/src/wc/components/Badge/Badge.tsx +34 -0
- package/src/wc/components/Badge/index.ts +1 -0
- package/src/wc/components/Banner/Banner.tsx +148 -0
- package/src/wc/components/BarNav/BarNav.tsx +605 -0
- package/src/wc/components/BarNav/bar-nav-dom-utils.ts +23 -0
- package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +59 -0
- package/src/wc/components/BarNav/bar-nav-utils.ts +76 -0
- package/src/wc/components/BarNav/index.ts +1 -0
- package/src/wc/components/BarNavAction/BarNavAction.tsx +67 -0
- package/src/wc/components/BarNavAction/index.ts +1 -0
- package/src/wc/components/Breadcrumb/Breadcrumb.tsx +61 -0
- package/src/wc/components/Button/Button.tsx +158 -0
- package/src/wc/components/Button/index.ts +1 -0
- package/src/wc/components/ButtonGroup/ButtonGroup.tsx +110 -0
- package/src/wc/components/Card/Card.tsx +26 -0
- package/src/wc/components/Checkbox/Checkbox.tsx +60 -0
- package/src/wc/components/Checkbox/index.ts +1 -0
- package/src/wc/components/Divider/Divider.tsx +23 -0
- package/src/wc/components/Divider/index.ts +2 -0
- package/src/wc/components/EmptyState/EmptyState.tsx +32 -0
- package/src/wc/components/Fade/Fade.tsx +32 -0
- package/src/wc/components/Fade/index.ts +1 -0
- package/src/wc/components/Field/Field.tsx +28 -0
- package/src/wc/components/Header/Header.tsx +33 -0
- package/src/wc/components/Icon/Icon.tsx +112 -0
- package/src/wc/components/Icon/flag-icon-catalog.ts +68 -0
- package/src/wc/components/Icon/index.ts +1 -0
- package/src/wc/components/Icon/system-icon-catalog.ts +798 -0
- package/src/wc/components/Input/Input.tsx +100 -0
- package/src/wc/components/Input/index.ts +1 -0
- package/src/wc/components/LabelWrap/LabelWrap.tsx +38 -0
- package/src/wc/components/Loader/Loader.tsx +47 -0
- package/src/wc/components/Loader/index.ts +1 -0
- package/src/wc/components/Menu/Menu.tsx +340 -0
- package/src/wc/components/Modal/Modal.tsx +197 -0
- package/src/wc/components/Pagination/Pagination.tsx +97 -0
- package/src/wc/components/PanelNav/PanelNav.tsx +666 -0
- package/src/wc/components/PanelNav/index.ts +7 -0
- package/src/wc/components/PanelNav/panel-nav-utils.ts +124 -0
- package/src/wc/components/RadioGroup/RadioGroup.tsx +128 -0
- package/src/wc/components/RadioGroup/index.ts +1 -0
- package/src/wc/components/Scrollbar/Scrollbar.tsx +189 -0
- package/src/wc/components/Select/Select.tsx +195 -0
- package/src/wc/components/Sidebar/Sidebar.tsx +245 -0
- package/src/wc/components/Skeleton/Skeleton.tsx +64 -0
- package/src/wc/components/Skeleton/index.ts +1 -0
- package/src/wc/components/Slider/Slider.tsx +68 -0
- package/src/wc/components/Slider/index.ts +1 -0
- package/src/wc/components/Surface/Surface.tsx +81 -0
- package/src/wc/components/TabGroup/TabGroup.tsx +188 -0
- package/src/wc/components/TabGroup/tab-item-utils.ts +24 -0
- package/src/wc/components/TabGroupNav/TabGroupNav.tsx +188 -0
- package/src/wc/components/Table/Table.tsx +268 -0
- package/src/wc/components/Tag/Tag.tsx +135 -0
- package/src/wc/components/Tag/index.ts +1 -0
- package/src/wc/components/Text/Text.tsx +100 -0
- package/src/wc/components/Text/index.ts +1 -0
- package/src/wc/components/Toast/Toast.tsx +174 -0
- package/src/wc/components/Toast/toast-service.ts +60 -0
- package/src/wc/components/Toggle/Toggle.tsx +43 -0
- package/src/wc/components/Toggle/index.ts +1 -0
- package/src/wc/components/ToggleButton/ToggleButton.tsx +120 -0
- package/src/wc/components/ToggleButtonGroup/ToggleButtonGroup.tsx +118 -0
- package/src/wc/components/Tooltip/Tooltip.tsx +196 -0
- package/src/wc/components.d.ts +3028 -0
- package/dist/components/p-DV8pmt1m.js +0 -2
- package/dist/components/p-DV8pmt1m.js.map +0 -1
- package/dist/components/p-Dqga4VCz.js +0 -2
- package/dist/components/p-Dqga4VCz.js.map +0 -1
- package/dist/components/p-STnE_bmQ.js +0 -2
- package/dist/components/p-STnE_bmQ.js.map +0 -1
- /package/dist/components/{p-D3CwGoIu.js.map → p-COsKOwZR.js.map} +0 -0
- /package/dist/components/{p-DHF5BQbO.js.map → p-Dd0GrKaF.js.map} +0 -0
- /package/dist/components/{p-Dfx0StHj.js.map → p-Vwlmhl4E.js.map} +0 -0
- /package/dist/components/{p-C4p1fG67.js.map → p-woooYulR.js.map} +0 -0
|
@@ -31,6 +31,7 @@ import { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
|
31
31
|
import { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
32
32
|
import { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
33
33
|
import { TabBackground } from "./components/TabGroup/TabGroup";
|
|
34
|
+
import { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
34
35
|
import { SortState, TableColumn } from "./components/Table/Table";
|
|
35
36
|
import { TagBackground, TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
36
37
|
import { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
@@ -64,6 +65,7 @@ export { SkeletonVariant } from "./components/Skeleton/Skeleton";
|
|
|
64
65
|
export { SurfaceBackground, SurfaceContrast, SurfaceElement, SurfaceElevation, SurfaceIntent, SurfaceRadius } from "./components/Surface/Surface";
|
|
65
66
|
export { TabItem } from "./components/TabGroup/tab-item-utils";
|
|
66
67
|
export { TabBackground } from "./components/TabGroup/TabGroup";
|
|
68
|
+
export { TabGroupNavBackground } from "./components/TabGroupNav/TabGroupNav";
|
|
67
69
|
export { SortState, TableColumn } from "./components/Table/Table";
|
|
68
70
|
export { TagBackground, TagContrast, TagElevation, TagIntent, TagSize } from "./components/Tag/Tag";
|
|
69
71
|
export { LineTruncation, TextAlign, TextColor, TextDecoration, TextElement, TextVariant, TextWrap } from "./components/Text/Text";
|
|
@@ -748,6 +750,23 @@ export namespace Components {
|
|
|
748
750
|
*/
|
|
749
751
|
"value": string;
|
|
750
752
|
}
|
|
753
|
+
interface DsTabGroupNav {
|
|
754
|
+
"ariaLabel": string | undefined;
|
|
755
|
+
"ariaLabelledby": string | undefined;
|
|
756
|
+
"background": TabGroupNavBackground | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* @default 'horizontal'
|
|
759
|
+
*/
|
|
760
|
+
"orientation": 'horizontal' | 'vertical';
|
|
761
|
+
/**
|
|
762
|
+
* @default []
|
|
763
|
+
*/
|
|
764
|
+
"tabs": TabItem[];
|
|
765
|
+
/**
|
|
766
|
+
* @default ''
|
|
767
|
+
*/
|
|
768
|
+
"value": string;
|
|
769
|
+
}
|
|
751
770
|
interface DsTable {
|
|
752
771
|
/**
|
|
753
772
|
* @default []
|
|
@@ -1038,6 +1057,10 @@ export interface DsTabGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
1038
1057
|
detail: T;
|
|
1039
1058
|
target: HTMLDsTabGroupElement;
|
|
1040
1059
|
}
|
|
1060
|
+
export interface DsTabGroupNavCustomEvent<T> extends CustomEvent<T> {
|
|
1061
|
+
detail: T;
|
|
1062
|
+
target: HTMLDsTabGroupNavElement;
|
|
1063
|
+
}
|
|
1041
1064
|
export interface DsTableCustomEvent<T> extends CustomEvent<T> {
|
|
1042
1065
|
detail: T;
|
|
1043
1066
|
target: HTMLDsTableElement;
|
|
@@ -1457,6 +1480,23 @@ declare global {
|
|
|
1457
1480
|
prototype: HTMLDsTabGroupElement;
|
|
1458
1481
|
new (): HTMLDsTabGroupElement;
|
|
1459
1482
|
};
|
|
1483
|
+
interface HTMLDsTabGroupNavElementEventMap {
|
|
1484
|
+
"dsChange": string;
|
|
1485
|
+
}
|
|
1486
|
+
interface HTMLDsTabGroupNavElement extends Components.DsTabGroupNav, HTMLStencilElement {
|
|
1487
|
+
addEventListener<K extends keyof HTMLDsTabGroupNavElementEventMap>(type: K, listener: (this: HTMLDsTabGroupNavElement, ev: DsTabGroupNavCustomEvent<HTMLDsTabGroupNavElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1488
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1489
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1490
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1491
|
+
removeEventListener<K extends keyof HTMLDsTabGroupNavElementEventMap>(type: K, listener: (this: HTMLDsTabGroupNavElement, ev: DsTabGroupNavCustomEvent<HTMLDsTabGroupNavElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1492
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1493
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1494
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1495
|
+
}
|
|
1496
|
+
var HTMLDsTabGroupNavElement: {
|
|
1497
|
+
prototype: HTMLDsTabGroupNavElement;
|
|
1498
|
+
new (): HTMLDsTabGroupNavElement;
|
|
1499
|
+
};
|
|
1460
1500
|
interface HTMLDsTableElementEventMap {
|
|
1461
1501
|
"dsSort": { columnId: string };
|
|
1462
1502
|
"dsRowClick": { row: unknown; rowIndex: number };
|
|
@@ -1596,6 +1636,7 @@ declare global {
|
|
|
1596
1636
|
"ds-slider": HTMLDsSliderElement;
|
|
1597
1637
|
"ds-surface": HTMLDsSurfaceElement;
|
|
1598
1638
|
"ds-tab-group": HTMLDsTabGroupElement;
|
|
1639
|
+
"ds-tab-group-nav": HTMLDsTabGroupNavElement;
|
|
1599
1640
|
"ds-table": HTMLDsTableElement;
|
|
1600
1641
|
"ds-tag": HTMLDsTagElement;
|
|
1601
1642
|
"ds-text": HTMLDsTextElement;
|
|
@@ -2338,6 +2379,24 @@ declare namespace LocalJSX {
|
|
|
2338
2379
|
*/
|
|
2339
2380
|
"value"?: string;
|
|
2340
2381
|
}
|
|
2382
|
+
interface DsTabGroupNav {
|
|
2383
|
+
"ariaLabel"?: string | undefined;
|
|
2384
|
+
"ariaLabelledby"?: string | undefined;
|
|
2385
|
+
"background"?: TabGroupNavBackground | undefined;
|
|
2386
|
+
"onDsChange"?: (event: DsTabGroupNavCustomEvent<string>) => void;
|
|
2387
|
+
/**
|
|
2388
|
+
* @default 'horizontal'
|
|
2389
|
+
*/
|
|
2390
|
+
"orientation"?: 'horizontal' | 'vertical';
|
|
2391
|
+
/**
|
|
2392
|
+
* @default []
|
|
2393
|
+
*/
|
|
2394
|
+
"tabs"?: TabItem[];
|
|
2395
|
+
/**
|
|
2396
|
+
* @default ''
|
|
2397
|
+
*/
|
|
2398
|
+
"value"?: string;
|
|
2399
|
+
}
|
|
2341
2400
|
interface DsTable {
|
|
2342
2401
|
/**
|
|
2343
2402
|
* @default []
|
|
@@ -2797,6 +2856,13 @@ declare namespace LocalJSX {
|
|
|
2797
2856
|
"ariaLabelledby": string | undefined;
|
|
2798
2857
|
"orientation": 'horizontal' | 'vertical';
|
|
2799
2858
|
}
|
|
2859
|
+
interface DsTabGroupNavAttributes {
|
|
2860
|
+
"value": string;
|
|
2861
|
+
"background": TabGroupNavBackground | undefined;
|
|
2862
|
+
"ariaLabel": string | undefined;
|
|
2863
|
+
"ariaLabelledby": string | undefined;
|
|
2864
|
+
"orientation": 'horizontal' | 'vertical';
|
|
2865
|
+
}
|
|
2800
2866
|
interface DsTableAttributes {
|
|
2801
2867
|
"loading": boolean;
|
|
2802
2868
|
"emptyMessage": string;
|
|
@@ -2897,6 +2963,7 @@ declare namespace LocalJSX {
|
|
|
2897
2963
|
"ds-slider": Omit<DsSlider, keyof DsSliderAttributes> & { [K in keyof DsSlider & keyof DsSliderAttributes]?: DsSlider[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `attr:${K}`]?: DsSliderAttributes[K] } & { [K in keyof DsSlider & keyof DsSliderAttributes as `prop:${K}`]?: DsSlider[K] } & OneOf<"label", DsSlider["label"], DsSliderAttributes["label"]>;
|
|
2898
2964
|
"ds-surface": Omit<DsSurface, keyof DsSurfaceAttributes> & { [K in keyof DsSurface & keyof DsSurfaceAttributes]?: DsSurface[K] } & { [K in keyof DsSurface & keyof DsSurfaceAttributes as `attr:${K}`]?: DsSurfaceAttributes[K] } & { [K in keyof DsSurface & keyof DsSurfaceAttributes as `prop:${K}`]?: DsSurface[K] };
|
|
2899
2965
|
"ds-tab-group": Omit<DsTabGroup, keyof DsTabGroupAttributes> & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes]?: DsTabGroup[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `attr:${K}`]?: DsTabGroupAttributes[K] } & { [K in keyof DsTabGroup & keyof DsTabGroupAttributes as `prop:${K}`]?: DsTabGroup[K] };
|
|
2966
|
+
"ds-tab-group-nav": Omit<DsTabGroupNav, keyof DsTabGroupNavAttributes> & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes]?: DsTabGroupNav[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `attr:${K}`]?: DsTabGroupNavAttributes[K] } & { [K in keyof DsTabGroupNav & keyof DsTabGroupNavAttributes as `prop:${K}`]?: DsTabGroupNav[K] };
|
|
2900
2967
|
"ds-table": Omit<DsTable, keyof DsTableAttributes> & { [K in keyof DsTable & keyof DsTableAttributes]?: DsTable[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `attr:${K}`]?: DsTableAttributes[K] } & { [K in keyof DsTable & keyof DsTableAttributes as `prop:${K}`]?: DsTable[K] };
|
|
2901
2968
|
"ds-tag": Omit<DsTag, keyof DsTagAttributes> & { [K in keyof DsTag & keyof DsTagAttributes]?: DsTag[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `attr:${K}`]?: DsTagAttributes[K] } & { [K in keyof DsTag & keyof DsTagAttributes as `prop:${K}`]?: DsTag[K] } & OneOf<"label", DsTag["label"], DsTagAttributes["label"]>;
|
|
2902
2969
|
"ds-text": Omit<DsText, keyof DsTextAttributes> & { [K in keyof DsText & keyof DsTextAttributes]?: DsText[K] } & { [K in keyof DsText & keyof DsTextAttributes as `attr:${K}`]?: DsTextAttributes[K] } & { [K in keyof DsText & keyof DsTextAttributes as `prop:${K}`]?: DsText[K] };
|
|
@@ -2947,6 +3014,7 @@ declare module "@stencil/core" {
|
|
|
2947
3014
|
"ds-slider": LocalJSX.IntrinsicElements["ds-slider"] & JSXBase.HTMLAttributes<HTMLDsSliderElement>;
|
|
2948
3015
|
"ds-surface": LocalJSX.IntrinsicElements["ds-surface"] & JSXBase.HTMLAttributes<HTMLDsSurfaceElement>;
|
|
2949
3016
|
"ds-tab-group": LocalJSX.IntrinsicElements["ds-tab-group"] & JSXBase.HTMLAttributes<HTMLDsTabGroupElement>;
|
|
3017
|
+
"ds-tab-group-nav": LocalJSX.IntrinsicElements["ds-tab-group-nav"] & JSXBase.HTMLAttributes<HTMLDsTabGroupNavElement>;
|
|
2950
3018
|
"ds-table": LocalJSX.IntrinsicElements["ds-table"] & JSXBase.HTMLAttributes<HTMLDsTableElement>;
|
|
2951
3019
|
"ds-tag": LocalJSX.IntrinsicElements["ds-tag"] & JSXBase.HTMLAttributes<HTMLDsTagElement>;
|
|
2952
3020
|
"ds-text": LocalJSX.IntrinsicElements["ds-text"] & JSXBase.HTMLAttributes<HTMLDsTextElement>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-mo/ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "CompoMo — composable web components styled with TokoMo design tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -23,20 +23,35 @@
|
|
|
23
23
|
"type": "module",
|
|
24
24
|
"main": "./dist/index.js",
|
|
25
25
|
"module": "./dist/index.js",
|
|
26
|
-
"types": "./
|
|
26
|
+
"types": "./src/wc/components.d.ts",
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
29
|
+
"types": "./src/wc/components.d.ts",
|
|
30
|
+
"import": "./dist/components/index.js"
|
|
31
31
|
},
|
|
32
32
|
"./angular": {
|
|
33
|
+
"types": "./src/angular/index.ts",
|
|
33
34
|
"import": "./src/angular/index.ts"
|
|
34
35
|
},
|
|
36
|
+
"./react": {
|
|
37
|
+
"types": "./src/react/components.ts",
|
|
38
|
+
"import": "./src/react/components.ts"
|
|
39
|
+
},
|
|
40
|
+
"./dist/components": {
|
|
41
|
+
"types": "./src/wc/components.d.ts",
|
|
42
|
+
"import": "./dist/components/index.js"
|
|
43
|
+
},
|
|
35
44
|
"./dist/components/*": "./dist/components/*"
|
|
36
45
|
},
|
|
37
46
|
"files": [
|
|
38
47
|
"dist",
|
|
39
|
-
"src/
|
|
48
|
+
"src/wc/components.d.ts",
|
|
49
|
+
"src/wc/components/**/*.ts",
|
|
50
|
+
"src/wc/components/**/*.tsx",
|
|
51
|
+
"!src/wc/components/**/*.stories.ts",
|
|
52
|
+
"!src/wc/components/**/*.stories.tsx",
|
|
53
|
+
"src/angular",
|
|
54
|
+
"src/react"
|
|
40
55
|
],
|
|
41
56
|
"scripts": {
|
|
42
57
|
"prebuild": "node scripts/generate-icon-catalog.mjs",
|
|
@@ -57,25 +72,40 @@
|
|
|
57
72
|
"mcp": "node scripts/mcp-server.mjs"
|
|
58
73
|
},
|
|
59
74
|
"peerDependencies": {
|
|
60
|
-
"@ds-mo/icons": "^
|
|
61
|
-
"@ds-mo/tokens": ">=2.9.0"
|
|
75
|
+
"@ds-mo/icons": "^6.0.0",
|
|
76
|
+
"@ds-mo/tokens": ">=2.9.0",
|
|
77
|
+
"react": "^18 || ^19",
|
|
78
|
+
"react-dom": "^18 || ^19"
|
|
79
|
+
},
|
|
80
|
+
"peerDependenciesMeta": {
|
|
81
|
+
"react": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
84
|
+
"react-dom": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
62
87
|
},
|
|
63
88
|
"devDependencies": {
|
|
64
|
-
"@ds-mo/icons": "^
|
|
65
|
-
"@ds-mo/tokens": "^2.9.
|
|
89
|
+
"@ds-mo/icons": "^6.0.0",
|
|
90
|
+
"@ds-mo/tokens": "^2.9.1",
|
|
66
91
|
"@eslint/js": "^10.0.1",
|
|
67
92
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
68
93
|
"@playwright/test": "^1.55.0",
|
|
69
94
|
"@stencil/angular-output-target": "^1.3.1",
|
|
70
95
|
"@stencil/core": "^4.43.4",
|
|
96
|
+
"@stencil/react-output-target": "^1.5.3",
|
|
71
97
|
"@storybook/addon-docs": "^10.4.2",
|
|
72
98
|
"@storybook/web-components": "^10.4.2",
|
|
73
99
|
"@storybook/web-components-vite": "^10.4.2",
|
|
100
|
+
"@types/react": "^19.2.17",
|
|
101
|
+
"@types/react-dom": "^19.2.3",
|
|
74
102
|
"concurrently": "^10.0.3",
|
|
75
103
|
"eslint": "^10.4.1",
|
|
76
104
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
77
105
|
"globals": "^17.6.0",
|
|
78
106
|
"lit": "^3.3.3",
|
|
107
|
+
"react": "^19.2.7",
|
|
108
|
+
"react-dom": "^19.2.7",
|
|
79
109
|
"storybook": "^10.4.2",
|
|
80
110
|
"tsx": "^4.20.3",
|
|
81
111
|
"typescript": "~5.8.3",
|
package/src/angular/index.ts
CHANGED
package/src/angular/proxies.ts
CHANGED
|
@@ -862,6 +862,34 @@ export declare interface DsTabGroup extends Components.DsTabGroup {
|
|
|
862
862
|
}
|
|
863
863
|
|
|
864
864
|
|
|
865
|
+
@ProxyCmp({
|
|
866
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'orientation', 'tabs', 'value']
|
|
867
|
+
})
|
|
868
|
+
@Component({
|
|
869
|
+
selector: 'ds-tab-group-nav',
|
|
870
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
871
|
+
template: '<ng-content></ng-content>',
|
|
872
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
873
|
+
inputs: ['ariaLabel', 'ariaLabelledby', 'background', 'orientation', 'tabs', 'value'],
|
|
874
|
+
outputs: ['dsChange'],
|
|
875
|
+
standalone: false
|
|
876
|
+
})
|
|
877
|
+
export class DsTabGroupNav {
|
|
878
|
+
protected el: HTMLDsTabGroupNavElement;
|
|
879
|
+
@Output() dsChange = new EventEmitter<CustomEvent<string>>();
|
|
880
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
|
|
881
|
+
c.detach();
|
|
882
|
+
this.el = r.nativeElement;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
export declare interface DsTabGroupNav extends Components.DsTabGroupNav {
|
|
888
|
+
|
|
889
|
+
dsChange: EventEmitter<CustomEvent<string>>;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
|
|
865
893
|
@ProxyCmp({
|
|
866
894
|
inputs: ['columns', 'data', 'emptyMessage', 'loading', 'pageIndex', 'pageSize', 'selectedRows', 'sortState']
|
|
867
895
|
})
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
export { DsAccordion } from "./ds-accordion.js";
|
|
8
|
+
export { DsBadge } from "./ds-badge.js";
|
|
9
|
+
export { DsBanner } from "./ds-banner.js";
|
|
10
|
+
export { DsBarNavAction } from "./ds-bar-nav-action.js";
|
|
11
|
+
export { DsBarNav } from "./ds-bar-nav.js";
|
|
12
|
+
export { DsBreadcrumb } from "./ds-breadcrumb.js";
|
|
13
|
+
export { DsButtonGroup } from "./ds-button-group.js";
|
|
14
|
+
export { DsButton } from "./ds-button.js";
|
|
15
|
+
export { DsCard } from "./ds-card.js";
|
|
16
|
+
export { DsCheckbox } from "./ds-checkbox.js";
|
|
17
|
+
export { DsDivider } from "./ds-divider.js";
|
|
18
|
+
export { DsEmptyState } from "./ds-empty-state.js";
|
|
19
|
+
export { DsFade } from "./ds-fade.js";
|
|
20
|
+
export { DsField } from "./ds-field.js";
|
|
21
|
+
export { DsHeader } from "./ds-header.js";
|
|
22
|
+
export { DsIcon } from "./ds-icon.js";
|
|
23
|
+
export { DsInput } from "./ds-input.js";
|
|
24
|
+
export { DsLabelWrap } from "./ds-label-wrap.js";
|
|
25
|
+
export { DsLoader } from "./ds-loader.js";
|
|
26
|
+
export { DsMenu } from "./ds-menu.js";
|
|
27
|
+
export { DsModal } from "./ds-modal.js";
|
|
28
|
+
export { DsPagination } from "./ds-pagination.js";
|
|
29
|
+
export { DsPanelNav } from "./ds-panel-nav.js";
|
|
30
|
+
export { DsRadioGroup } from "./ds-radio-group.js";
|
|
31
|
+
export { DsScrollbar } from "./ds-scrollbar.js";
|
|
32
|
+
export { DsSelect } from "./ds-select.js";
|
|
33
|
+
export { DsSidebar } from "./ds-sidebar.js";
|
|
34
|
+
export { DsSkeleton } from "./ds-skeleton.js";
|
|
35
|
+
export { DsSlider } from "./ds-slider.js";
|
|
36
|
+
export { DsSurface } from "./ds-surface.js";
|
|
37
|
+
export { DsTabGroupNav } from "./ds-tab-group-nav.js";
|
|
38
|
+
export { DsTabGroup } from "./ds-tab-group.js";
|
|
39
|
+
export { DsTable } from "./ds-table.js";
|
|
40
|
+
export { DsTag } from "./ds-tag.js";
|
|
41
|
+
export { DsText } from "./ds-text.js";
|
|
42
|
+
export { DsToastProvider } from "./ds-toast-provider.js";
|
|
43
|
+
export { DsToggleButtonGroup } from "./ds-toggle-button-group.js";
|
|
44
|
+
export { DsToggleButton } from "./ds-toggle-button.js";
|
|
45
|
+
export { DsToggle } from "./ds-toggle.js";
|
|
46
|
+
export { DsTooltip } from "./ds-tooltip.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsAccordionCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsAccordion as DsAccordionElement, defineCustomElement as defineDsAccordion } from "@ds-mo/ui/dist/components/ds-accordion.js";
|
|
17
|
+
|
|
18
|
+
export type DsAccordionEvents = { onDsExpandedChange: EventName<DsAccordionCustomEvent<string[]>> };
|
|
19
|
+
|
|
20
|
+
export const DsAccordion: StencilReactComponent<DsAccordionElement, DsAccordionEvents, Components.DsAccordion> = /*@__PURE__*/ createComponent<DsAccordionElement, DsAccordionEvents, Components.DsAccordion>({
|
|
21
|
+
tagName: 'ds-accordion',
|
|
22
|
+
elementClass: DsAccordionElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsExpandedChange: 'dsExpandedChange' } as DsAccordionEvents,
|
|
26
|
+
defineCustomElement: defineDsAccordion
|
|
27
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
15
|
+
import { DsBadge as DsBadgeElement, defineCustomElement as defineDsBadge } from "@ds-mo/ui/dist/components/ds-badge.js";
|
|
16
|
+
|
|
17
|
+
export type DsBadgeEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const DsBadge: StencilReactComponent<DsBadgeElement, DsBadgeEvents, Components.DsBadge> = /*@__PURE__*/ createComponent<DsBadgeElement, DsBadgeEvents, Components.DsBadge>({
|
|
20
|
+
tagName: 'ds-badge',
|
|
21
|
+
elementClass: DsBadgeElement,
|
|
22
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
23
|
+
react: React,
|
|
24
|
+
events: {} as DsBadgeEvents,
|
|
25
|
+
defineCustomElement: defineDsBadge
|
|
26
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsBannerCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsBanner as DsBannerElement, defineCustomElement as defineDsBanner } from "@ds-mo/ui/dist/components/ds-banner.js";
|
|
17
|
+
|
|
18
|
+
export type DsBannerEvents = { onDsDismiss: EventName<DsBannerCustomEvent<void>> };
|
|
19
|
+
|
|
20
|
+
export const DsBanner: StencilReactComponent<DsBannerElement, DsBannerEvents, Components.DsBanner> = /*@__PURE__*/ createComponent<DsBannerElement, DsBannerEvents, Components.DsBanner>({
|
|
21
|
+
tagName: 'ds-banner',
|
|
22
|
+
elementClass: DsBannerElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsDismiss: 'dsDismiss' } as DsBannerEvents,
|
|
26
|
+
defineCustomElement: defineDsBanner
|
|
27
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsBarNavActionCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsBarNavAction as DsBarNavActionElement, defineCustomElement as defineDsBarNavAction } from "@ds-mo/ui/dist/components/ds-bar-nav-action.js";
|
|
17
|
+
|
|
18
|
+
export type DsBarNavActionEvents = { onDsChange: EventName<DsBarNavActionCustomEvent<boolean>> };
|
|
19
|
+
|
|
20
|
+
export const DsBarNavAction: StencilReactComponent<DsBarNavActionElement, DsBarNavActionEvents, Components.DsBarNavAction> = /*@__PURE__*/ createComponent<DsBarNavActionElement, DsBarNavActionEvents, Components.DsBarNavAction>({
|
|
21
|
+
tagName: 'ds-bar-nav-action',
|
|
22
|
+
elementClass: DsBarNavActionElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsChange: 'dsChange' } as DsBarNavActionEvents,
|
|
26
|
+
defineCustomElement: defineDsBarNavAction
|
|
27
|
+
});
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsBarNavCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsBarNav as DsBarNavElement, defineCustomElement as defineDsBarNav } from "@ds-mo/ui/dist/components/ds-bar-nav.js";
|
|
17
|
+
|
|
18
|
+
export type DsBarNavEvents = {
|
|
19
|
+
onDsTabChange: EventName<DsBarNavCustomEvent<string>>,
|
|
20
|
+
onDsActionChange: EventName<DsBarNavCustomEvent<{ id: string; selected: boolean }>>
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const DsBarNav: StencilReactComponent<DsBarNavElement, DsBarNavEvents, Components.DsBarNav> = /*@__PURE__*/ createComponent<DsBarNavElement, DsBarNavEvents, Components.DsBarNav>({
|
|
24
|
+
tagName: 'ds-bar-nav',
|
|
25
|
+
elementClass: DsBarNavElement,
|
|
26
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
27
|
+
react: React,
|
|
28
|
+
events: {
|
|
29
|
+
onDsTabChange: 'dsTabChange',
|
|
30
|
+
onDsActionChange: 'dsActionChange'
|
|
31
|
+
} as DsBarNavEvents,
|
|
32
|
+
defineCustomElement: defineDsBarNav
|
|
33
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type BreadcrumbItem, type DsBreadcrumbCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsBreadcrumb as DsBreadcrumbElement, defineCustomElement as defineDsBreadcrumb } from "@ds-mo/ui/dist/components/ds-breadcrumb.js";
|
|
17
|
+
|
|
18
|
+
export type DsBreadcrumbEvents = { onDsNavigate: EventName<DsBreadcrumbCustomEvent<{ item: BreadcrumbItem; index: number }>> };
|
|
19
|
+
|
|
20
|
+
export const DsBreadcrumb: StencilReactComponent<DsBreadcrumbElement, DsBreadcrumbEvents, Components.DsBreadcrumb> = /*@__PURE__*/ createComponent<DsBreadcrumbElement, DsBreadcrumbEvents, Components.DsBreadcrumb>({
|
|
21
|
+
tagName: 'ds-breadcrumb',
|
|
22
|
+
elementClass: DsBreadcrumbElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsNavigate: 'dsNavigate' } as DsBreadcrumbEvents,
|
|
26
|
+
defineCustomElement: defineDsBreadcrumb
|
|
27
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsButtonGroupCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsButtonGroup as DsButtonGroupElement, defineCustomElement as defineDsButtonGroup } from "@ds-mo/ui/dist/components/ds-button-group.js";
|
|
17
|
+
|
|
18
|
+
export type DsButtonGroupEvents = { onDsClick: EventName<DsButtonGroupCustomEvent<number>> };
|
|
19
|
+
|
|
20
|
+
export const DsButtonGroup: StencilReactComponent<DsButtonGroupElement, DsButtonGroupEvents, Components.DsButtonGroup> = /*@__PURE__*/ createComponent<DsButtonGroupElement, DsButtonGroupEvents, Components.DsButtonGroup>({
|
|
21
|
+
tagName: 'ds-button-group',
|
|
22
|
+
elementClass: DsButtonGroupElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsClick: 'dsClick' } as DsButtonGroupEvents,
|
|
26
|
+
defineCustomElement: defineDsButtonGroup
|
|
27
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsButtonCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsButton as DsButtonElement, defineCustomElement as defineDsButton } from "@ds-mo/ui/dist/components/ds-button.js";
|
|
17
|
+
|
|
18
|
+
export type DsButtonEvents = {
|
|
19
|
+
onDsClick: EventName<DsButtonCustomEvent<MouseEvent>>,
|
|
20
|
+
onDsMouseEnter: EventName<DsButtonCustomEvent<MouseEvent>>,
|
|
21
|
+
onDsMouseLeave: EventName<DsButtonCustomEvent<MouseEvent>>
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const DsButton: StencilReactComponent<DsButtonElement, DsButtonEvents, Components.DsButton> = /*@__PURE__*/ createComponent<DsButtonElement, DsButtonEvents, Components.DsButton>({
|
|
25
|
+
tagName: 'ds-button',
|
|
26
|
+
elementClass: DsButtonElement,
|
|
27
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
28
|
+
react: React,
|
|
29
|
+
events: {
|
|
30
|
+
onDsClick: 'dsClick',
|
|
31
|
+
onDsMouseEnter: 'dsMouseEnter',
|
|
32
|
+
onDsMouseLeave: 'dsMouseLeave'
|
|
33
|
+
} as DsButtonEvents,
|
|
34
|
+
defineCustomElement: defineDsButton
|
|
35
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
15
|
+
import { DsCard as DsCardElement, defineCustomElement as defineDsCard } from "@ds-mo/ui/dist/components/ds-card.js";
|
|
16
|
+
|
|
17
|
+
export type DsCardEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const DsCard: StencilReactComponent<DsCardElement, DsCardEvents, Components.DsCard> = /*@__PURE__*/ createComponent<DsCardElement, DsCardEvents, Components.DsCard>({
|
|
20
|
+
tagName: 'ds-card',
|
|
21
|
+
elementClass: DsCardElement,
|
|
22
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
23
|
+
react: React,
|
|
24
|
+
events: {} as DsCardEvents,
|
|
25
|
+
defineCustomElement: defineDsCard
|
|
26
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import { type DsCheckboxCustomEvent } from "@ds-mo/ui";
|
|
15
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
16
|
+
import { DsCheckbox as DsCheckboxElement, defineCustomElement as defineDsCheckbox } from "@ds-mo/ui/dist/components/ds-checkbox.js";
|
|
17
|
+
|
|
18
|
+
export type DsCheckboxEvents = { onDsChange: EventName<DsCheckboxCustomEvent<boolean>> };
|
|
19
|
+
|
|
20
|
+
export const DsCheckbox: StencilReactComponent<DsCheckboxElement, DsCheckboxEvents, Components.DsCheckbox> = /*@__PURE__*/ createComponent<DsCheckboxElement, DsCheckboxEvents, Components.DsCheckbox>({
|
|
21
|
+
tagName: 'ds-checkbox',
|
|
22
|
+
elementClass: DsCheckboxElement,
|
|
23
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
24
|
+
react: React,
|
|
25
|
+
events: { onDsChange: 'dsChange' } as DsCheckboxEvents,
|
|
26
|
+
defineCustomElement: defineDsCheckbox
|
|
27
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
5
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* eslint-disable */
|
|
9
|
+
|
|
10
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
11
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
12
|
+
import React from 'react';
|
|
13
|
+
|
|
14
|
+
import type { Components } from "@ds-mo/ui/dist/components";
|
|
15
|
+
import { DsDivider as DsDividerElement, defineCustomElement as defineDsDivider } from "@ds-mo/ui/dist/components/ds-divider.js";
|
|
16
|
+
|
|
17
|
+
export type DsDividerEvents = NonNullable<unknown>;
|
|
18
|
+
|
|
19
|
+
export const DsDivider: StencilReactComponent<DsDividerElement, DsDividerEvents, Components.DsDivider> = /*@__PURE__*/ createComponent<DsDividerElement, DsDividerEvents, Components.DsDivider>({
|
|
20
|
+
tagName: 'ds-divider',
|
|
21
|
+
elementClass: DsDividerElement,
|
|
22
|
+
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
23
|
+
react: React,
|
|
24
|
+
events: {} as DsDividerEvents,
|
|
25
|
+
defineCustomElement: defineDsDivider
|
|
26
|
+
});
|