@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.
Files changed (179) hide show
  1. package/dist/components/ds-bar-nav-action.js +1 -1
  2. package/dist/components/ds-bar-nav.js +1 -1
  3. package/dist/components/ds-bar-nav.js.map +1 -1
  4. package/dist/components/ds-breadcrumb.js +1 -1
  5. package/dist/components/ds-button-group.js +1 -1
  6. package/dist/components/ds-button.js +1 -1
  7. package/dist/components/ds-card.js +1 -1
  8. package/dist/components/ds-card.js.map +1 -1
  9. package/dist/components/ds-checkbox.js +1 -1
  10. package/dist/components/ds-divider.js +1 -1
  11. package/dist/components/ds-empty-state.js +1 -1
  12. package/dist/components/ds-empty-state.js.map +1 -1
  13. package/dist/components/ds-fade.js +1 -1
  14. package/dist/components/ds-field.js +1 -1
  15. package/dist/components/ds-header.js +1 -1
  16. package/dist/components/ds-header.js.map +1 -1
  17. package/dist/components/ds-icon.js +1 -1
  18. package/dist/components/ds-input.js +1 -1
  19. package/dist/components/ds-label-wrap.js +1 -1
  20. package/dist/components/ds-menu.js +1 -1
  21. package/dist/components/ds-modal.js +1 -1
  22. package/dist/components/ds-panel-nav.js +1 -1
  23. package/dist/components/ds-radio-group.js +1 -1
  24. package/dist/components/ds-radio-group.js.map +1 -1
  25. package/dist/components/ds-scrollbar.js +1 -1
  26. package/dist/components/ds-select.js +1 -1
  27. package/dist/components/ds-slider.js +1 -1
  28. package/dist/components/ds-slider.js.map +1 -1
  29. package/dist/components/ds-surface.js +1 -1
  30. package/dist/components/ds-tab-group-nav.d.ts +11 -0
  31. package/dist/components/ds-tab-group-nav.js +2 -0
  32. package/dist/components/ds-tab-group-nav.js.map +1 -0
  33. package/dist/components/ds-tab-group.js +1 -1
  34. package/dist/components/ds-tab-group.js.map +1 -1
  35. package/dist/components/ds-table.js +1 -1
  36. package/dist/components/ds-table.js.map +1 -1
  37. package/dist/components/ds-tag.js +1 -1
  38. package/dist/components/ds-text.js +1 -1
  39. package/dist/components/ds-toast-provider.js +1 -1
  40. package/dist/components/ds-toggle-button-group.js +1 -1
  41. package/dist/components/ds-toggle-button.js +1 -1
  42. package/dist/components/ds-toggle.js +1 -1
  43. package/dist/components/ds-tooltip.js +1 -1
  44. package/dist/components/p-BQq26pt9.js +2 -0
  45. package/dist/components/p-BQq26pt9.js.map +1 -0
  46. package/dist/components/p-CMyQsk0K.js +2 -0
  47. package/dist/components/p-CMyQsk0K.js.map +1 -0
  48. package/dist/components/{p-D3CwGoIu.js → p-COsKOwZR.js} +2 -2
  49. package/dist/components/p-CpbnmEu1.js +2 -0
  50. package/dist/components/p-CpbnmEu1.js.map +1 -0
  51. package/dist/components/{p-DHF5BQbO.js → p-Dd0GrKaF.js} +2 -2
  52. package/dist/components/p-H89PzqGU.js +2 -0
  53. package/dist/components/p-H89PzqGU.js.map +1 -0
  54. package/dist/components/{p-Dfx0StHj.js → p-Vwlmhl4E.js} +2 -2
  55. package/dist/components/{p-C4p1fG67.js → p-woooYulR.js} +2 -2
  56. package/dist/types/.stencil/BarNav/BarNav.d.ts +7 -2
  57. package/dist/types/.stencil/BarNav/bar-nav-dom-utils.d.ts +1 -2
  58. package/dist/types/.stencil/TabGroupNav/TabGroupNav.d.ts +27 -0
  59. package/dist/types/components.d.ts +68 -0
  60. package/package.json +39 -9
  61. package/src/angular/index.ts +1 -0
  62. package/src/angular/proxies.ts +28 -0
  63. package/src/react/components.ts +46 -0
  64. package/src/react/ds-accordion.ts +27 -0
  65. package/src/react/ds-badge.ts +26 -0
  66. package/src/react/ds-banner.ts +27 -0
  67. package/src/react/ds-bar-nav-action.ts +27 -0
  68. package/src/react/ds-bar-nav.ts +33 -0
  69. package/src/react/ds-breadcrumb.ts +27 -0
  70. package/src/react/ds-button-group.ts +27 -0
  71. package/src/react/ds-button.ts +35 -0
  72. package/src/react/ds-card.ts +26 -0
  73. package/src/react/ds-checkbox.ts +27 -0
  74. package/src/react/ds-divider.ts +26 -0
  75. package/src/react/ds-empty-state.ts +26 -0
  76. package/src/react/ds-fade.ts +26 -0
  77. package/src/react/ds-field.ts +26 -0
  78. package/src/react/ds-header.ts +26 -0
  79. package/src/react/ds-icon.ts +26 -0
  80. package/src/react/ds-input.ts +33 -0
  81. package/src/react/ds-label-wrap.ts +26 -0
  82. package/src/react/ds-loader.ts +26 -0
  83. package/src/react/ds-menu.ts +33 -0
  84. package/src/react/ds-modal.ts +27 -0
  85. package/src/react/ds-pagination.ts +27 -0
  86. package/src/react/ds-panel-nav.ts +37 -0
  87. package/src/react/ds-radio-group.ts +27 -0
  88. package/src/react/ds-scrollbar.ts +26 -0
  89. package/src/react/ds-select.ts +27 -0
  90. package/src/react/ds-sidebar.ts +33 -0
  91. package/src/react/ds-skeleton.ts +26 -0
  92. package/src/react/ds-slider.ts +27 -0
  93. package/src/react/ds-surface.ts +26 -0
  94. package/src/react/ds-tab-group-nav.ts +27 -0
  95. package/src/react/ds-tab-group.ts +27 -0
  96. package/src/react/ds-table.ts +35 -0
  97. package/src/react/ds-tag.ts +35 -0
  98. package/src/react/ds-text.ts +26 -0
  99. package/src/react/ds-toast-provider.ts +26 -0
  100. package/src/react/ds-toggle-button-group.ts +27 -0
  101. package/src/react/ds-toggle-button.ts +27 -0
  102. package/src/react/ds-toggle.ts +27 -0
  103. package/src/react/ds-tooltip.ts +26 -0
  104. package/src/wc/components/Accordion/Accordion.tsx +144 -0
  105. package/src/wc/components/Badge/Badge.tsx +34 -0
  106. package/src/wc/components/Badge/index.ts +1 -0
  107. package/src/wc/components/Banner/Banner.tsx +148 -0
  108. package/src/wc/components/BarNav/BarNav.tsx +605 -0
  109. package/src/wc/components/BarNav/bar-nav-dom-utils.ts +23 -0
  110. package/src/wc/components/BarNav/bar-nav-tabs-menu-utils.ts +59 -0
  111. package/src/wc/components/BarNav/bar-nav-utils.ts +76 -0
  112. package/src/wc/components/BarNav/index.ts +1 -0
  113. package/src/wc/components/BarNavAction/BarNavAction.tsx +67 -0
  114. package/src/wc/components/BarNavAction/index.ts +1 -0
  115. package/src/wc/components/Breadcrumb/Breadcrumb.tsx +61 -0
  116. package/src/wc/components/Button/Button.tsx +158 -0
  117. package/src/wc/components/Button/index.ts +1 -0
  118. package/src/wc/components/ButtonGroup/ButtonGroup.tsx +110 -0
  119. package/src/wc/components/Card/Card.tsx +26 -0
  120. package/src/wc/components/Checkbox/Checkbox.tsx +60 -0
  121. package/src/wc/components/Checkbox/index.ts +1 -0
  122. package/src/wc/components/Divider/Divider.tsx +23 -0
  123. package/src/wc/components/Divider/index.ts +2 -0
  124. package/src/wc/components/EmptyState/EmptyState.tsx +32 -0
  125. package/src/wc/components/Fade/Fade.tsx +32 -0
  126. package/src/wc/components/Fade/index.ts +1 -0
  127. package/src/wc/components/Field/Field.tsx +28 -0
  128. package/src/wc/components/Header/Header.tsx +33 -0
  129. package/src/wc/components/Icon/Icon.tsx +112 -0
  130. package/src/wc/components/Icon/flag-icon-catalog.ts +68 -0
  131. package/src/wc/components/Icon/index.ts +1 -0
  132. package/src/wc/components/Icon/system-icon-catalog.ts +798 -0
  133. package/src/wc/components/Input/Input.tsx +100 -0
  134. package/src/wc/components/Input/index.ts +1 -0
  135. package/src/wc/components/LabelWrap/LabelWrap.tsx +38 -0
  136. package/src/wc/components/Loader/Loader.tsx +47 -0
  137. package/src/wc/components/Loader/index.ts +1 -0
  138. package/src/wc/components/Menu/Menu.tsx +340 -0
  139. package/src/wc/components/Modal/Modal.tsx +197 -0
  140. package/src/wc/components/Pagination/Pagination.tsx +97 -0
  141. package/src/wc/components/PanelNav/PanelNav.tsx +666 -0
  142. package/src/wc/components/PanelNav/index.ts +7 -0
  143. package/src/wc/components/PanelNav/panel-nav-utils.ts +124 -0
  144. package/src/wc/components/RadioGroup/RadioGroup.tsx +128 -0
  145. package/src/wc/components/RadioGroup/index.ts +1 -0
  146. package/src/wc/components/Scrollbar/Scrollbar.tsx +189 -0
  147. package/src/wc/components/Select/Select.tsx +195 -0
  148. package/src/wc/components/Sidebar/Sidebar.tsx +245 -0
  149. package/src/wc/components/Skeleton/Skeleton.tsx +64 -0
  150. package/src/wc/components/Skeleton/index.ts +1 -0
  151. package/src/wc/components/Slider/Slider.tsx +68 -0
  152. package/src/wc/components/Slider/index.ts +1 -0
  153. package/src/wc/components/Surface/Surface.tsx +81 -0
  154. package/src/wc/components/TabGroup/TabGroup.tsx +188 -0
  155. package/src/wc/components/TabGroup/tab-item-utils.ts +24 -0
  156. package/src/wc/components/TabGroupNav/TabGroupNav.tsx +188 -0
  157. package/src/wc/components/Table/Table.tsx +268 -0
  158. package/src/wc/components/Tag/Tag.tsx +135 -0
  159. package/src/wc/components/Tag/index.ts +1 -0
  160. package/src/wc/components/Text/Text.tsx +100 -0
  161. package/src/wc/components/Text/index.ts +1 -0
  162. package/src/wc/components/Toast/Toast.tsx +174 -0
  163. package/src/wc/components/Toast/toast-service.ts +60 -0
  164. package/src/wc/components/Toggle/Toggle.tsx +43 -0
  165. package/src/wc/components/Toggle/index.ts +1 -0
  166. package/src/wc/components/ToggleButton/ToggleButton.tsx +120 -0
  167. package/src/wc/components/ToggleButtonGroup/ToggleButtonGroup.tsx +118 -0
  168. package/src/wc/components/Tooltip/Tooltip.tsx +196 -0
  169. package/src/wc/components.d.ts +3028 -0
  170. package/dist/components/p-DV8pmt1m.js +0 -2
  171. package/dist/components/p-DV8pmt1m.js.map +0 -1
  172. package/dist/components/p-Dqga4VCz.js +0 -2
  173. package/dist/components/p-Dqga4VCz.js.map +0 -1
  174. package/dist/components/p-STnE_bmQ.js +0 -2
  175. package/dist/components/p-STnE_bmQ.js.map +0 -1
  176. /package/dist/components/{p-D3CwGoIu.js.map → p-COsKOwZR.js.map} +0 -0
  177. /package/dist/components/{p-DHF5BQbO.js.map → p-Dd0GrKaF.js.map} +0 -0
  178. /package/dist/components/{p-Dfx0StHj.js.map → p-Vwlmhl4E.js.map} +0 -0
  179. /package/dist/components/{p-C4p1fG67.js.map → p-woooYulR.js.map} +0 -0
@@ -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 { DsEmptyState as DsEmptyStateElement, defineCustomElement as defineDsEmptyState } from "@ds-mo/ui/dist/components/ds-empty-state.js";
16
+
17
+ export type DsEmptyStateEvents = NonNullable<unknown>;
18
+
19
+ export const DsEmptyState: StencilReactComponent<DsEmptyStateElement, DsEmptyStateEvents, Components.DsEmptyState> = /*@__PURE__*/ createComponent<DsEmptyStateElement, DsEmptyStateEvents, Components.DsEmptyState>({
20
+ tagName: 'ds-empty-state',
21
+ elementClass: DsEmptyStateElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsEmptyStateEvents,
25
+ defineCustomElement: defineDsEmptyState
26
+ });
@@ -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 { DsFade as DsFadeElement, defineCustomElement as defineDsFade } from "@ds-mo/ui/dist/components/ds-fade.js";
16
+
17
+ export type DsFadeEvents = NonNullable<unknown>;
18
+
19
+ export const DsFade: StencilReactComponent<DsFadeElement, DsFadeEvents, Components.DsFade> = /*@__PURE__*/ createComponent<DsFadeElement, DsFadeEvents, Components.DsFade>({
20
+ tagName: 'ds-fade',
21
+ elementClass: DsFadeElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsFadeEvents,
25
+ defineCustomElement: defineDsFade
26
+ });
@@ -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 { DsField as DsFieldElement, defineCustomElement as defineDsField } from "@ds-mo/ui/dist/components/ds-field.js";
16
+
17
+ export type DsFieldEvents = NonNullable<unknown>;
18
+
19
+ export const DsField: StencilReactComponent<DsFieldElement, DsFieldEvents, Components.DsField> = /*@__PURE__*/ createComponent<DsFieldElement, DsFieldEvents, Components.DsField>({
20
+ tagName: 'ds-field',
21
+ elementClass: DsFieldElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsFieldEvents,
25
+ defineCustomElement: defineDsField
26
+ });
@@ -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 { DsHeader as DsHeaderElement, defineCustomElement as defineDsHeader } from "@ds-mo/ui/dist/components/ds-header.js";
16
+
17
+ export type DsHeaderEvents = NonNullable<unknown>;
18
+
19
+ export const DsHeader: StencilReactComponent<DsHeaderElement, DsHeaderEvents, Components.DsHeader> = /*@__PURE__*/ createComponent<DsHeaderElement, DsHeaderEvents, Components.DsHeader>({
20
+ tagName: 'ds-header',
21
+ elementClass: DsHeaderElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsHeaderEvents,
25
+ defineCustomElement: defineDsHeader
26
+ });
@@ -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 { DsIcon as DsIconElement, defineCustomElement as defineDsIcon } from "@ds-mo/ui/dist/components/ds-icon.js";
16
+
17
+ export type DsIconEvents = NonNullable<unknown>;
18
+
19
+ export const DsIcon: StencilReactComponent<DsIconElement, DsIconEvents, Components.DsIcon> = /*@__PURE__*/ createComponent<DsIconElement, DsIconEvents, Components.DsIcon>({
20
+ tagName: 'ds-icon',
21
+ elementClass: DsIconElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsIconEvents,
25
+ defineCustomElement: defineDsIcon
26
+ });
@@ -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 DsInputCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsInput as DsInputElement, defineCustomElement as defineDsInput } from "@ds-mo/ui/dist/components/ds-input.js";
17
+
18
+ export type DsInputEvents = {
19
+ onDsChange: EventName<DsInputCustomEvent<string>>,
20
+ onDsClear: EventName<DsInputCustomEvent<void>>
21
+ };
22
+
23
+ export const DsInput: StencilReactComponent<DsInputElement, DsInputEvents, Components.DsInput> = /*@__PURE__*/ createComponent<DsInputElement, DsInputEvents, Components.DsInput>({
24
+ tagName: 'ds-input',
25
+ elementClass: DsInputElement,
26
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
27
+ react: React,
28
+ events: {
29
+ onDsChange: 'dsChange',
30
+ onDsClear: 'dsClear'
31
+ } as DsInputEvents,
32
+ defineCustomElement: defineDsInput
33
+ });
@@ -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 { DsLabelWrap as DsLabelWrapElement, defineCustomElement as defineDsLabelWrap } from "@ds-mo/ui/dist/components/ds-label-wrap.js";
16
+
17
+ export type DsLabelWrapEvents = NonNullable<unknown>;
18
+
19
+ export const DsLabelWrap: StencilReactComponent<DsLabelWrapElement, DsLabelWrapEvents, Components.DsLabelWrap> = /*@__PURE__*/ createComponent<DsLabelWrapElement, DsLabelWrapEvents, Components.DsLabelWrap>({
20
+ tagName: 'ds-label-wrap',
21
+ elementClass: DsLabelWrapElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsLabelWrapEvents,
25
+ defineCustomElement: defineDsLabelWrap
26
+ });
@@ -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 { DsLoader as DsLoaderElement, defineCustomElement as defineDsLoader } from "@ds-mo/ui/dist/components/ds-loader.js";
16
+
17
+ export type DsLoaderEvents = NonNullable<unknown>;
18
+
19
+ export const DsLoader: StencilReactComponent<DsLoaderElement, DsLoaderEvents, Components.DsLoader> = /*@__PURE__*/ createComponent<DsLoaderElement, DsLoaderEvents, Components.DsLoader>({
20
+ tagName: 'ds-loader',
21
+ elementClass: DsLoaderElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsLoaderEvents,
25
+ defineCustomElement: defineDsLoader
26
+ });
@@ -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 DsMenuCustomEvent, type MenuItemData } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsMenu as DsMenuElement, defineCustomElement as defineDsMenu } from "@ds-mo/ui/dist/components/ds-menu.js";
17
+
18
+ export type DsMenuEvents = {
19
+ onDsClose: EventName<DsMenuCustomEvent<void>>,
20
+ onDsSelect: EventName<DsMenuCustomEvent<MenuItemData>>
21
+ };
22
+
23
+ export const DsMenu: StencilReactComponent<DsMenuElement, DsMenuEvents, Components.DsMenu> = /*@__PURE__*/ createComponent<DsMenuElement, DsMenuEvents, Components.DsMenu>({
24
+ tagName: 'ds-menu',
25
+ elementClass: DsMenuElement,
26
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
27
+ react: React,
28
+ events: {
29
+ onDsClose: 'dsClose',
30
+ onDsSelect: 'dsSelect'
31
+ } as DsMenuEvents,
32
+ defineCustomElement: defineDsMenu
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 DsModalCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsModal as DsModalElement, defineCustomElement as defineDsModal } from "@ds-mo/ui/dist/components/ds-modal.js";
17
+
18
+ export type DsModalEvents = { onDsClose: EventName<DsModalCustomEvent<void>> };
19
+
20
+ export const DsModal: StencilReactComponent<DsModalElement, DsModalEvents, Components.DsModal> = /*@__PURE__*/ createComponent<DsModalElement, DsModalEvents, Components.DsModal>({
21
+ tagName: 'ds-modal',
22
+ elementClass: DsModalElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsClose: 'dsClose' } as DsModalEvents,
26
+ defineCustomElement: defineDsModal
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 DsPaginationCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsPagination as DsPaginationElement, defineCustomElement as defineDsPagination } from "@ds-mo/ui/dist/components/ds-pagination.js";
17
+
18
+ export type DsPaginationEvents = { onDsPageChange: EventName<DsPaginationCustomEvent<number>> };
19
+
20
+ export const DsPagination: StencilReactComponent<DsPaginationElement, DsPaginationEvents, Components.DsPagination> = /*@__PURE__*/ createComponent<DsPaginationElement, DsPaginationEvents, Components.DsPagination>({
21
+ tagName: 'ds-pagination',
22
+ elementClass: DsPaginationElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsPageChange: 'dsPageChange' } as DsPaginationEvents,
26
+ defineCustomElement: defineDsPagination
27
+ });
@@ -0,0 +1,37 @@
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 DsPanelNavCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsPanelNav as DsPanelNavElement, defineCustomElement as defineDsPanelNav } from "@ds-mo/ui/dist/components/ds-panel-nav.js";
17
+
18
+ export type DsPanelNavEvents = {
19
+ onDsNavSelect: EventName<DsPanelNavCustomEvent<string>>,
20
+ onDsNavToggle: EventName<DsPanelNavCustomEvent<boolean>>,
21
+ onDsNavFooterAction: EventName<DsPanelNavCustomEvent<void>>,
22
+ onDsNavUserAction: EventName<DsPanelNavCustomEvent<void>>
23
+ };
24
+
25
+ export const DsPanelNav: StencilReactComponent<DsPanelNavElement, DsPanelNavEvents, Components.DsPanelNav> = /*@__PURE__*/ createComponent<DsPanelNavElement, DsPanelNavEvents, Components.DsPanelNav>({
26
+ tagName: 'ds-panel-nav',
27
+ elementClass: DsPanelNavElement,
28
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
29
+ react: React,
30
+ events: {
31
+ onDsNavSelect: 'dsNavSelect',
32
+ onDsNavToggle: 'dsNavToggle',
33
+ onDsNavFooterAction: 'dsNavFooterAction',
34
+ onDsNavUserAction: 'dsNavUserAction'
35
+ } as DsPanelNavEvents,
36
+ defineCustomElement: defineDsPanelNav
37
+ });
@@ -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 DsRadioGroupCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsRadioGroup as DsRadioGroupElement, defineCustomElement as defineDsRadioGroup } from "@ds-mo/ui/dist/components/ds-radio-group.js";
17
+
18
+ export type DsRadioGroupEvents = { onDsChange: EventName<DsRadioGroupCustomEvent<string>> };
19
+
20
+ export const DsRadioGroup: StencilReactComponent<DsRadioGroupElement, DsRadioGroupEvents, Components.DsRadioGroup> = /*@__PURE__*/ createComponent<DsRadioGroupElement, DsRadioGroupEvents, Components.DsRadioGroup>({
21
+ tagName: 'ds-radio-group',
22
+ elementClass: DsRadioGroupElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsChange: 'dsChange' } as DsRadioGroupEvents,
26
+ defineCustomElement: defineDsRadioGroup
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 { DsScrollbar as DsScrollbarElement, defineCustomElement as defineDsScrollbar } from "@ds-mo/ui/dist/components/ds-scrollbar.js";
16
+
17
+ export type DsScrollbarEvents = NonNullable<unknown>;
18
+
19
+ export const DsScrollbar: StencilReactComponent<DsScrollbarElement, DsScrollbarEvents, Components.DsScrollbar> = /*@__PURE__*/ createComponent<DsScrollbarElement, DsScrollbarEvents, Components.DsScrollbar>({
20
+ tagName: 'ds-scrollbar',
21
+ elementClass: DsScrollbarElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsScrollbarEvents,
25
+ defineCustomElement: defineDsScrollbar
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 DsSelectCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsSelect as DsSelectElement, defineCustomElement as defineDsSelect } from "@ds-mo/ui/dist/components/ds-select.js";
17
+
18
+ export type DsSelectEvents = { onDsChange: EventName<DsSelectCustomEvent<string>> };
19
+
20
+ export const DsSelect: StencilReactComponent<DsSelectElement, DsSelectEvents, Components.DsSelect> = /*@__PURE__*/ createComponent<DsSelectElement, DsSelectEvents, Components.DsSelect>({
21
+ tagName: 'ds-select',
22
+ elementClass: DsSelectElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsChange: 'dsChange' } as DsSelectEvents,
26
+ defineCustomElement: defineDsSelect
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 DsSidebarCustomEvent, type SidebarWidth } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsSidebar as DsSidebarElement, defineCustomElement as defineDsSidebar } from "@ds-mo/ui/dist/components/ds-sidebar.js";
17
+
18
+ export type DsSidebarEvents = {
19
+ onDsToggle: EventName<DsSidebarCustomEvent<void>>,
20
+ onDsWidthChange: EventName<DsSidebarCustomEvent<SidebarWidth>>
21
+ };
22
+
23
+ export const DsSidebar: StencilReactComponent<DsSidebarElement, DsSidebarEvents, Components.DsSidebar> = /*@__PURE__*/ createComponent<DsSidebarElement, DsSidebarEvents, Components.DsSidebar>({
24
+ tagName: 'ds-sidebar',
25
+ elementClass: DsSidebarElement,
26
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
27
+ react: React,
28
+ events: {
29
+ onDsToggle: 'dsToggle',
30
+ onDsWidthChange: 'dsWidthChange'
31
+ } as DsSidebarEvents,
32
+ defineCustomElement: defineDsSidebar
33
+ });
@@ -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 { DsSkeleton as DsSkeletonElement, defineCustomElement as defineDsSkeleton } from "@ds-mo/ui/dist/components/ds-skeleton.js";
16
+
17
+ export type DsSkeletonEvents = NonNullable<unknown>;
18
+
19
+ export const DsSkeleton: StencilReactComponent<DsSkeletonElement, DsSkeletonEvents, Components.DsSkeleton> = /*@__PURE__*/ createComponent<DsSkeletonElement, DsSkeletonEvents, Components.DsSkeleton>({
20
+ tagName: 'ds-skeleton',
21
+ elementClass: DsSkeletonElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsSkeletonEvents,
25
+ defineCustomElement: defineDsSkeleton
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 DsSliderCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsSlider as DsSliderElement, defineCustomElement as defineDsSlider } from "@ds-mo/ui/dist/components/ds-slider.js";
17
+
18
+ export type DsSliderEvents = { onDsChange: EventName<DsSliderCustomEvent<number>> };
19
+
20
+ export const DsSlider: StencilReactComponent<DsSliderElement, DsSliderEvents, Components.DsSlider> = /*@__PURE__*/ createComponent<DsSliderElement, DsSliderEvents, Components.DsSlider>({
21
+ tagName: 'ds-slider',
22
+ elementClass: DsSliderElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsChange: 'dsChange' } as DsSliderEvents,
26
+ defineCustomElement: defineDsSlider
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 { DsSurface as DsSurfaceElement, defineCustomElement as defineDsSurface } from "@ds-mo/ui/dist/components/ds-surface.js";
16
+
17
+ export type DsSurfaceEvents = NonNullable<unknown>;
18
+
19
+ export const DsSurface: StencilReactComponent<DsSurfaceElement, DsSurfaceEvents, Components.DsSurface> = /*@__PURE__*/ createComponent<DsSurfaceElement, DsSurfaceEvents, Components.DsSurface>({
20
+ tagName: 'ds-surface',
21
+ elementClass: DsSurfaceElement,
22
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
23
+ react: React,
24
+ events: {} as DsSurfaceEvents,
25
+ defineCustomElement: defineDsSurface
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 DsTabGroupNavCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsTabGroupNav as DsTabGroupNavElement, defineCustomElement as defineDsTabGroupNav } from "@ds-mo/ui/dist/components/ds-tab-group-nav.js";
17
+
18
+ export type DsTabGroupNavEvents = { onDsChange: EventName<DsTabGroupNavCustomEvent<string>> };
19
+
20
+ export const DsTabGroupNav: StencilReactComponent<DsTabGroupNavElement, DsTabGroupNavEvents, Components.DsTabGroupNav> = /*@__PURE__*/ createComponent<DsTabGroupNavElement, DsTabGroupNavEvents, Components.DsTabGroupNav>({
21
+ tagName: 'ds-tab-group-nav',
22
+ elementClass: DsTabGroupNavElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsChange: 'dsChange' } as DsTabGroupNavEvents,
26
+ defineCustomElement: defineDsTabGroupNav
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 DsTabGroupCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsTabGroup as DsTabGroupElement, defineCustomElement as defineDsTabGroup } from "@ds-mo/ui/dist/components/ds-tab-group.js";
17
+
18
+ export type DsTabGroupEvents = { onDsChange: EventName<DsTabGroupCustomEvent<string>> };
19
+
20
+ export const DsTabGroup: StencilReactComponent<DsTabGroupElement, DsTabGroupEvents, Components.DsTabGroup> = /*@__PURE__*/ createComponent<DsTabGroupElement, DsTabGroupEvents, Components.DsTabGroup>({
21
+ tagName: 'ds-tab-group',
22
+ elementClass: DsTabGroupElement,
23
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
24
+ react: React,
25
+ events: { onDsChange: 'dsChange' } as DsTabGroupEvents,
26
+ defineCustomElement: defineDsTabGroup
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 DsTableCustomEvent } from "@ds-mo/ui";
15
+ import type { Components } from "@ds-mo/ui/dist/components";
16
+ import { DsTable as DsTableElement, defineCustomElement as defineDsTable } from "@ds-mo/ui/dist/components/ds-table.js";
17
+
18
+ export type DsTableEvents = {
19
+ onDsSort: EventName<DsTableCustomEvent<{ columnId: string }>>,
20
+ onDsRowClick: EventName<DsTableCustomEvent<{ row: unknown; rowIndex: number }>>,
21
+ onDsPageChange: EventName<DsTableCustomEvent<{ pageIndex: number }>>
22
+ };
23
+
24
+ export const DsTable: StencilReactComponent<DsTableElement, DsTableEvents, Components.DsTable> = /*@__PURE__*/ createComponent<DsTableElement, DsTableEvents, Components.DsTable>({
25
+ tagName: 'ds-table',
26
+ elementClass: DsTableElement,
27
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
28
+ react: React,
29
+ events: {
30
+ onDsSort: 'dsSort',
31
+ onDsRowClick: 'dsRowClick',
32
+ onDsPageChange: 'dsPageChange'
33
+ } as DsTableEvents,
34
+ defineCustomElement: defineDsTable
35
+ });