@omicronenergy/oscd-ui 0.0.3 → 0.0.5

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 (233) hide show
  1. package/README.md +100 -0
  2. package/package.json +163 -15
  3. package/app-bar/OscdAppBar.d.ts +0 -45
  4. package/app-bar/OscdAppBar.js +0 -142
  5. package/app-bar/OscdAppBar.js.map +0 -1
  6. package/app-bar/OscdAppBar.stories.d.ts +0 -10
  7. package/app-bar/OscdAppBar.stories.js +0 -85
  8. package/app-bar/OscdAppBar.stories.js.map +0 -1
  9. package/app-bar/oscd-app-bar.d.ts +0 -12
  10. package/app-bar/oscd-app-bar.js +0 -14
  11. package/app-bar/oscd-app-bar.js.map +0 -1
  12. package/button/OscdButton.stories.d.ts +0 -7
  13. package/button/OscdButton.stories.js +0 -60
  14. package/button/OscdButton.stories.js.map +0 -1
  15. package/button/OscdFilledButton.d.ts +0 -40
  16. package/button/OscdFilledButton.js +0 -42
  17. package/button/OscdFilledButton.js.map +0 -1
  18. package/button/OscdFilledButton.spec.d.ts +0 -6
  19. package/button/OscdFilledButton.spec.js +0 -75
  20. package/button/OscdFilledButton.spec.js.map +0 -1
  21. package/button/OscdOutlinedButton.d.ts +0 -42
  22. package/button/OscdOutlinedButton.js +0 -34
  23. package/button/OscdOutlinedButton.js.map +0 -1
  24. package/button/OscdTextButton.d.ts +0 -40
  25. package/button/OscdTextButton.js +0 -32
  26. package/button/OscdTextButton.js.map +0 -1
  27. package/button/oscd-filled-button.d.ts +0 -2
  28. package/button/oscd-filled-button.js +0 -4
  29. package/button/oscd-filled-button.js.map +0 -1
  30. package/button/oscd-outlined-button.d.ts +0 -7
  31. package/button/oscd-outlined-button.js +0 -9
  32. package/button/oscd-outlined-button.js.map +0 -1
  33. package/button/oscd-text-button.d.ts +0 -7
  34. package/button/oscd-text-button.js +0 -9
  35. package/button/oscd-text-button.js.map +0 -1
  36. package/dialog/OscdDialog.d.ts +0 -47
  37. package/dialog/OscdDialog.js +0 -38
  38. package/dialog/OscdDialog.js.map +0 -1
  39. package/dialog/OscdDialog.stories.d.ts +0 -5
  40. package/dialog/OscdDialog.stories.js +0 -50
  41. package/dialog/OscdDialog.stories.js.map +0 -1
  42. package/dialog/oscd-dialog.d.ts +0 -2
  43. package/dialog/oscd-dialog.js +0 -4
  44. package/dialog/oscd-dialog.js.map +0 -1
  45. package/divider/OscdDivider.d.ts +0 -30
  46. package/divider/OscdDivider.js +0 -21
  47. package/divider/OscdDivider.js.map +0 -1
  48. package/divider/OscdDivider.stories.d.ts +0 -5
  49. package/divider/OscdDivider.stories.js +0 -28
  50. package/divider/OscdDivider.stories.js.map +0 -1
  51. package/divider/oscd-divider.d.ts +0 -2
  52. package/divider/oscd-divider.js +0 -4
  53. package/divider/oscd-divider.js.map +0 -1
  54. package/elevation/OscdElevation.d.ts +0 -28
  55. package/elevation/OscdElevation.js +0 -19
  56. package/elevation/OscdElevation.js.map +0 -1
  57. package/elevation/oscd-elevation.d.ts +0 -7
  58. package/elevation/oscd-elevation.js +0 -9
  59. package/elevation/oscd-elevation.js.map +0 -1
  60. package/field/OscdFilledField.d.ts +0 -24
  61. package/field/OscdFilledField.js +0 -16
  62. package/field/OscdFilledField.js.map +0 -1
  63. package/field/OscdOutlinedField.d.ts +0 -24
  64. package/field/OscdOutlinedField.js +0 -16
  65. package/field/OscdOutlinedField.js.map +0 -1
  66. package/field/oscd-filled-field.d.ts +0 -2
  67. package/field/oscd-filled-field.js +0 -4
  68. package/field/oscd-filled-field.js.map +0 -1
  69. package/field/oscd-outlined-field.d.ts +0 -2
  70. package/field/oscd-outlined-field.js +0 -4
  71. package/field/oscd-outlined-field.js.map +0 -1
  72. package/icon/OscdIcon.d.ts +0 -25
  73. package/icon/OscdIcon.js +0 -16
  74. package/icon/OscdIcon.js.map +0 -1
  75. package/icon/OscdIcon.stories.d.ts +0 -5
  76. package/icon/OscdIcon.stories.js +0 -54
  77. package/icon/OscdIcon.stories.js.map +0 -1
  78. package/icon/oscd-icon.d.ts +0 -2
  79. package/icon/oscd-icon.js +0 -4
  80. package/icon/oscd-icon.js.map +0 -1
  81. package/iconbutton/OscdFilledIconButton.d.ts +0 -44
  82. package/iconbutton/OscdFilledIconButton.js +0 -37
  83. package/iconbutton/OscdFilledIconButton.js.map +0 -1
  84. package/iconbutton/OscdFilledTonalIconButton.d.ts +0 -44
  85. package/iconbutton/OscdFilledTonalIconButton.js +0 -37
  86. package/iconbutton/OscdFilledTonalIconButton.js.map +0 -1
  87. package/iconbutton/OscdIconButton.d.ts +0 -43
  88. package/iconbutton/OscdIconButton.js +0 -36
  89. package/iconbutton/OscdIconButton.js.map +0 -1
  90. package/iconbutton/OscdIconButton.stories.d.ts +0 -7
  91. package/iconbutton/OscdIconButton.stories.js +0 -101
  92. package/iconbutton/OscdIconButton.stories.js.map +0 -1
  93. package/iconbutton/OutlinedIconButton.d.ts +0 -43
  94. package/iconbutton/OutlinedIconButton.js +0 -36
  95. package/iconbutton/OutlinedIconButton.js.map +0 -1
  96. package/iconbutton/oscd-filled-icon-button.d.ts +0 -2
  97. package/iconbutton/oscd-filled-icon-button.js +0 -4
  98. package/iconbutton/oscd-filled-icon-button.js.map +0 -1
  99. package/iconbutton/oscd-filled-tonal-icon-button.d.ts +0 -2
  100. package/iconbutton/oscd-filled-tonal-icon-button.js +0 -4
  101. package/iconbutton/oscd-filled-tonal-icon-button.js.map +0 -1
  102. package/iconbutton/oscd-icon-button.d.ts +0 -2
  103. package/iconbutton/oscd-icon-button.js +0 -4
  104. package/iconbutton/oscd-icon-button.js.map +0 -1
  105. package/iconbutton/oscd-outlined-icon-button.d.ts +0 -2
  106. package/iconbutton/oscd-outlined-icon-button.js +0 -4
  107. package/iconbutton/oscd-outlined-icon-button.js.map +0 -1
  108. package/list/OscdList.d.ts +0 -39
  109. package/list/OscdList.js +0 -44
  110. package/list/OscdList.js.map +0 -1
  111. package/list/OscdList.stories.d.ts +0 -5
  112. package/list/OscdList.stories.js +0 -30
  113. package/list/OscdList.stories.js.map +0 -1
  114. package/list/OscdListItem.d.ts +0 -59
  115. package/list/OscdListItem.js +0 -80
  116. package/list/OscdListItem.js.map +0 -1
  117. package/list/oscd-list-item.d.ts +0 -2
  118. package/list/oscd-list-item.js +0 -4
  119. package/list/oscd-list-item.js.map +0 -1
  120. package/list/oscd-list.d.ts +0 -2
  121. package/list/oscd-list.js +0 -4
  122. package/list/oscd-list.js.map +0 -1
  123. package/menu/OscdMenu.d.ts +0 -73
  124. package/menu/OscdMenu.js +0 -62
  125. package/menu/OscdMenu.js.map +0 -1
  126. package/menu/OscdMenu.stories.d.ts +0 -5
  127. package/menu/OscdMenu.stories.js +0 -29
  128. package/menu/OscdMenu.stories.js.map +0 -1
  129. package/menu/OscdMenuItem.d.ts +0 -37
  130. package/menu/OscdMenuItem.js +0 -26
  131. package/menu/OscdMenuItem.js.map +0 -1
  132. package/menu/OscdMenuItem.stories.d.ts +0 -5
  133. package/menu/OscdMenuItem.stories.js +0 -37
  134. package/menu/OscdMenuItem.stories.js.map +0 -1
  135. package/menu/oscd-menu-item.d.ts +0 -2
  136. package/menu/oscd-menu-item.js +0 -4
  137. package/menu/oscd-menu-item.js.map +0 -1
  138. package/menu/oscd-menu.d.ts +0 -1
  139. package/menu/oscd-menu.js +0 -4
  140. package/menu/oscd-menu.js.map +0 -1
  141. package/navigation-drawer/OscdNavigationDrawer.d.ts +0 -15
  142. package/navigation-drawer/OscdNavigationDrawer.js +0 -37
  143. package/navigation-drawer/OscdNavigationDrawer.js.map +0 -1
  144. package/navigation-drawer/OscdNavigationDrawer.stories.d.ts +0 -5
  145. package/navigation-drawer/OscdNavigationDrawer.stories.js +0 -97
  146. package/navigation-drawer/OscdNavigationDrawer.stories.js.map +0 -1
  147. package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +0 -15
  148. package/navigation-drawer/OscdNavigationDrawerHeader.js +0 -61
  149. package/navigation-drawer/OscdNavigationDrawerHeader.js.map +0 -1
  150. package/navigation-drawer/OscdNavigationDrawerHeader.stories.d.ts +0 -5
  151. package/navigation-drawer/OscdNavigationDrawerHeader.stories.js +0 -35
  152. package/navigation-drawer/OscdNavigationDrawerHeader.stories.js.map +0 -1
  153. package/navigation-drawer/oscd-navigation-drawer-header.d.ts +0 -2
  154. package/navigation-drawer/oscd-navigation-drawer-header.js +0 -4
  155. package/navigation-drawer/oscd-navigation-drawer-header.js.map +0 -1
  156. package/navigation-drawer/oscd-navigation-drawer.d.ts +0 -7
  157. package/navigation-drawer/oscd-navigation-drawer.js +0 -4
  158. package/navigation-drawer/oscd-navigation-drawer.js.map +0 -1
  159. package/select/OscdFilledSelect.d.ts +0 -47
  160. package/select/OscdFilledSelect.js +0 -39
  161. package/select/OscdFilledSelect.js.map +0 -1
  162. package/select/OscdFilledSelect.stories.d.ts +0 -5
  163. package/select/OscdFilledSelect.stories.js +0 -29
  164. package/select/OscdFilledSelect.stories.js.map +0 -1
  165. package/select/OscdOutlinedSelect.d.ts +0 -47
  166. package/select/OscdOutlinedSelect.js +0 -39
  167. package/select/OscdOutlinedSelect.js.map +0 -1
  168. package/select/OscdOutlinedSelect.stories.d.ts +0 -5
  169. package/select/OscdOutlinedSelect.stories.js +0 -29
  170. package/select/OscdOutlinedSelect.stories.js.map +0 -1
  171. package/select/OscdSelectOption.d.ts +0 -51
  172. package/select/OscdSelectOption.js +0 -41
  173. package/select/OscdSelectOption.js.map +0 -1
  174. package/select/oscd-filled-select.d.ts +0 -2
  175. package/select/oscd-filled-select.js +0 -4
  176. package/select/oscd-filled-select.js.map +0 -1
  177. package/select/oscd-outlined-select.d.ts +0 -2
  178. package/select/oscd-outlined-select.js +0 -4
  179. package/select/oscd-outlined-select.js.map +0 -1
  180. package/select/oscd-select-option.d.ts +0 -2
  181. package/select/oscd-select-option.js +0 -4
  182. package/select/oscd-select-option.js.map +0 -1
  183. package/tabs/OscdPrimaryTab.d.ts +0 -26
  184. package/tabs/OscdPrimaryTab.js +0 -18
  185. package/tabs/OscdPrimaryTab.js.map +0 -1
  186. package/tabs/OscdPrimaryTab.stories.d.ts +0 -5
  187. package/tabs/OscdPrimaryTab.stories.js +0 -33
  188. package/tabs/OscdPrimaryTab.stories.js.map +0 -1
  189. package/tabs/OscdSecondaryTab.d.ts +0 -26
  190. package/tabs/OscdSecondaryTab.js +0 -18
  191. package/tabs/OscdSecondaryTab.js.map +0 -1
  192. package/tabs/OscdSecondaryTab.stories.d.ts +0 -5
  193. package/tabs/OscdSecondaryTab.stories.js +0 -33
  194. package/tabs/OscdSecondaryTab.stories.js.map +0 -1
  195. package/tabs/OscdTabs.d.ts +0 -26
  196. package/tabs/OscdTabs.js +0 -17
  197. package/tabs/OscdTabs.js.map +0 -1
  198. package/tabs/OscdTabs.stories.d.ts +0 -5
  199. package/tabs/OscdTabs.stories.js +0 -29
  200. package/tabs/OscdTabs.stories.js.map +0 -1
  201. package/tabs/oscd-primary-tab.d.ts +0 -2
  202. package/tabs/oscd-primary-tab.js +0 -4
  203. package/tabs/oscd-primary-tab.js.map +0 -1
  204. package/tabs/oscd-secondary-tab.d.ts +0 -2
  205. package/tabs/oscd-secondary-tab.js +0 -4
  206. package/tabs/oscd-secondary-tab.js.map +0 -1
  207. package/tabs/oscd-tabs.d.ts +0 -2
  208. package/tabs/oscd-tabs.js +0 -4
  209. package/tabs/oscd-tabs.js.map +0 -1
  210. package/textfield/OscdFilledTextField.d.ts +0 -31
  211. package/textfield/OscdFilledTextField.js +0 -30
  212. package/textfield/OscdFilledTextField.js.map +0 -1
  213. package/textfield/OscdOutlinedTextField.d.ts +0 -27
  214. package/textfield/OscdOutlinedTextField.js +0 -24
  215. package/textfield/OscdOutlinedTextField.js.map +0 -1
  216. package/textfield/oscd-filled-text-field.d.ts +0 -2
  217. package/textfield/oscd-filled-text-field.js +0 -4
  218. package/textfield/oscd-filled-text-field.js.map +0 -1
  219. package/textfield/oscd-outlined-text-field.d.ts +0 -2
  220. package/textfield/oscd-outlined-text-field.js +0 -4
  221. package/textfield/oscd-outlined-text-field.js.map +0 -1
  222. package/theming/AllComponents.stories.d.ts +0 -5
  223. package/theming/AllComponents.stories.js +0 -309
  224. package/theming/AllComponents.stories.js.map +0 -1
  225. package/utils/storybook/getStorybookHelpers.d.ts +0 -4
  226. package/utils/storybook/getStorybookHelpers.js +0 -53
  227. package/utils/storybook/getStorybookHelpers.js.map +0 -1
  228. package/utils/storybook/scopedWcDecorator.d.ts +0 -2
  229. package/utils/storybook/scopedWcDecorator.js +0 -27
  230. package/utils/storybook/scopedWcDecorator.js.map +0 -1
  231. package/utils/storybook/themingDecorator.d.ts +0 -17
  232. package/utils/storybook/themingDecorator.js +0 -100
  233. package/utils/storybook/themingDecorator.js.map +0 -1
@@ -1,15 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 OMICRON Electronics GmbH
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { CSSResultOrNative } from "lit";
7
- import { ListItemEl as ListItem } from "@material/web/list/internal/listitem/list-item.js";
8
- declare global {
9
- interface HTMLElementTagNameMap {
10
- "oscd-navigation-drawer-header": OscdNavigationDrawerHeader;
11
- }
12
- }
13
- export declare class OscdNavigationDrawerHeader extends ListItem {
14
- static readonly styles: CSSResultOrNative[];
15
- }
@@ -1,61 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 OMICRON Electronics GmbH
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { css } from "lit";
7
- import { ListItemEl as ListItem } from "@material/web/list/internal/listitem/list-item.js";
8
- import { styles } from "@material/web/list/internal/listitem/list-item-styles.js";
9
- const overrideStyles = css `
10
- :host {
11
- --navigation-drawer-header-color: var(
12
- --oscd-navigation-drawer-header-color,
13
- var(--md-sys-color-on-primary, #1d1b20)
14
- );
15
- --navigation-drawer-header-background-color: var(
16
- --oscd-navigation-drawer-header-background-color,
17
- var(--md-sys-color-primary, #fff)
18
- );
19
-
20
- --md-list-item-label-text-font: var(
21
- --oscd-navigation-drawer-header-text-font,
22
- Roboto
23
- );
24
- --md-list-item-label-text-size: var(
25
- --oscd-navigation-drawer-header-text-size,
26
- 1.25rem
27
- );
28
- --md-list-item-label-text-line-height: var(
29
- --oscd-navigation-drawer-header-text-line-height,
30
- 1.5rem
31
- );
32
- --md-list-item-label-text-weight: var(
33
- --oscd-navigation-drawer-header-text-weight,
34
- 500
35
- );
36
-
37
- --md-list-item-supporting-text-font: var(
38
- --oscd-navigation-drawer-header-supporting-text-font,
39
- var(--md-sys-typescale-body-medium-font, Roboto)
40
- );
41
- --md-list-item-supporting-text-size: var(
42
- --oscd-navigation-drawer-header-supporting-text-size,
43
- 0.875rem
44
- );
45
- --md-list-item-supporting-text-line-height: var(
46
- --oscd-navigation-drawer-header-supporting-text-line-height,
47
- 1.25rem
48
- );
49
- --md-list-item-supporting-text-weight: var(
50
- --oscd-navigation-drawer-header-supporting-text-weight,
51
- 400
52
- );
53
- }
54
- `;
55
- export class OscdNavigationDrawerHeader extends ListItem {
56
- static styles = [
57
- styles,
58
- overrideStyles,
59
- ];
60
- }
61
- //# sourceMappingURL=OscdNavigationDrawerHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdNavigationDrawerHeader.js","sourceRoot":"","sources":["OscdNavigationDrawerHeader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAC7C,OAAO,EAAE,UAAU,IAAI,QAAQ,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,0DAA0D,CAAC;AAQlF,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CzB,CAAC;AAEF,MAAM,OAAO,0BAA2B,SAAQ,QAAQ;IACtD,MAAM,CAAmB,MAAM,GAAwB;QACrD,MAAM;QACN,cAAc;KACf,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { css, CSSResultOrNative } from \"lit\";\nimport { ListItemEl as ListItem } from \"@material/web/list/internal/listitem/list-item.js\";\nimport { styles } from \"@material/web/list/internal/listitem/list-item-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-navigation-drawer-header\": OscdNavigationDrawerHeader;\n }\n}\n\nconst overrideStyles = css`\n :host {\n --navigation-drawer-header-color: var(\n --oscd-navigation-drawer-header-color,\n var(--md-sys-color-on-primary, #1d1b20)\n );\n --navigation-drawer-header-background-color: var(\n --oscd-navigation-drawer-header-background-color,\n var(--md-sys-color-primary, #fff)\n );\n\n --md-list-item-label-text-font: var(\n --oscd-navigation-drawer-header-text-font,\n Roboto\n );\n --md-list-item-label-text-size: var(\n --oscd-navigation-drawer-header-text-size,\n 1.25rem\n );\n --md-list-item-label-text-line-height: var(\n --oscd-navigation-drawer-header-text-line-height,\n 1.5rem\n );\n --md-list-item-label-text-weight: var(\n --oscd-navigation-drawer-header-text-weight,\n 500\n );\n\n --md-list-item-supporting-text-font: var(\n --oscd-navigation-drawer-header-supporting-text-font,\n var(--md-sys-typescale-body-medium-font, Roboto)\n );\n --md-list-item-supporting-text-size: var(\n --oscd-navigation-drawer-header-supporting-text-size,\n 0.875rem\n );\n --md-list-item-supporting-text-line-height: var(\n --oscd-navigation-drawer-header-supporting-text-line-height,\n 1.25rem\n );\n --md-list-item-supporting-text-weight: var(\n --oscd-navigation-drawer-header-supporting-text-weight,\n 400\n );\n }\n`;\n\nexport class OscdNavigationDrawerHeader extends ListItem {\n static override readonly styles: CSSResultOrNative[] = [\n styles,\n overrideStyles,\n ];\n}\n"]}
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/web-components";
2
- declare const meta: Meta;
3
- export default meta;
4
- type Story = StoryObj;
5
- export declare const Default: Story;
@@ -1,35 +0,0 @@
1
- import { html } from "lit";
2
- import { OscdNavigationDrawerHeader } from "navigation-drawer/OscdNavigationDrawerHeader";
3
- import { scopedWcDecorator } from "utils/storybook/scopedWcDecorator.js";
4
- const meta = {
5
- title: "Open SCD/Navigation Drawer/Navigation Drawer Header",
6
- component: "oscd-navigation-drawer-header",
7
- tags: ["autodocs"],
8
- decorators: [scopedWcDecorator],
9
- parameters: {
10
- layout: "centered",
11
- scopedElements: {
12
- "oscd-navigation-drawer-header": OscdNavigationDrawerHeader,
13
- },
14
- },
15
- render: ({ label }) => html `
16
- <oscd-navigation-drawer-header>${label}</oscd-navigation-drawer-header>
17
- `,
18
- argTypes: {
19
- label: {
20
- control: { type: "text" },
21
- description: "Header label",
22
- table: {
23
- category: "Web Component Properties",
24
- defaultValue: { summary: "Navigation" },
25
- },
26
- },
27
- },
28
- };
29
- export default meta;
30
- export const Default = {
31
- args: {
32
- label: "Navigation",
33
- },
34
- };
35
- //# sourceMappingURL=OscdNavigationDrawerHeader.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdNavigationDrawerHeader.stories.js","sourceRoot":"","sources":["OscdNavigationDrawerHeader.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8CAA8C,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,qDAAqD;IAC5D,SAAS,EAAE,+BAA+B;IAC1C,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,CAAC,iBAAiB,CAAC;IAC/B,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;QAClB,cAAc,EAAE;YACd,+BAA+B,EAAE,0BAA0B;SAC5D;KACF;IACD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,IAAI,CAAA;qCACQ,KAAK;GACvC;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;YACzB,WAAW,EAAE,cAAc;YAC3B,KAAK,EAAE;gBACL,QAAQ,EAAE,0BAA0B;gBACpC,YAAY,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE;aACxC;SACF;KACF;CACF,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE,YAAY;KACpB;CACF,CAAC","sourcesContent":["import { html } from \"lit\";\nimport type { Meta, StoryObj } from \"@storybook/web-components\";\n\nimport { OscdNavigationDrawerHeader } from \"navigation-drawer/OscdNavigationDrawerHeader\";\nimport { scopedWcDecorator } from \"utils/storybook/scopedWcDecorator.js\";\n\nconst meta: Meta = {\n title: \"Open SCD/Navigation Drawer/Navigation Drawer Header\",\n component: \"oscd-navigation-drawer-header\",\n tags: [\"autodocs\"],\n decorators: [scopedWcDecorator],\n parameters: {\n layout: \"centered\",\n scopedElements: {\n \"oscd-navigation-drawer-header\": OscdNavigationDrawerHeader,\n },\n },\n render: ({ label }) => html`\n <oscd-navigation-drawer-header>${label}</oscd-navigation-drawer-header>\n `,\n argTypes: {\n label: {\n control: { type: \"text\" },\n description: \"Header label\",\n table: {\n category: \"Web Component Properties\",\n defaultValue: { summary: \"Navigation\" },\n },\n },\n },\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Default: Story = {\n args: {\n label: \"Navigation\",\n },\n};\n"]}
@@ -1,2 +0,0 @@
1
- import { OscdNavigationDrawerHeader } from "./OscdNavigationDrawerHeader";
2
- export { OscdNavigationDrawerHeader };
@@ -1,4 +0,0 @@
1
- import { OscdNavigationDrawerHeader } from "./OscdNavigationDrawerHeader";
2
- customElements.define("oscd-navigation-drawer-header", OscdNavigationDrawerHeader);
3
- export { OscdNavigationDrawerHeader };
4
- //# sourceMappingURL=oscd-navigation-drawer-header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oscd-navigation-drawer-header.js","sourceRoot":"","sources":["oscd-navigation-drawer-header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,cAAc,CAAC,MAAM,CACnB,+BAA+B,EAC/B,0BAA0B,CAC3B,CAAC;AACF,OAAO,EAAE,0BAA0B,EAAE,CAAC","sourcesContent":["import { OscdNavigationDrawerHeader } from \"./OscdNavigationDrawerHeader\";\n\ncustomElements.define(\n \"oscd-navigation-drawer-header\",\n OscdNavigationDrawerHeader\n);\nexport { OscdNavigationDrawerHeader };\n"]}
@@ -1,7 +0,0 @@
1
- import { OscdNavigationDrawer } from "./OscdNavigationDrawer";
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- "oscd-navigation-drawer": OscdNavigationDrawer;
5
- }
6
- }
7
- export { OscdNavigationDrawer };
@@ -1,4 +0,0 @@
1
- import { OscdNavigationDrawer } from "./OscdNavigationDrawer";
2
- customElements.define("oscd-navigation-drawer", OscdNavigationDrawer);
3
- export { OscdNavigationDrawer };
4
- //# sourceMappingURL=oscd-navigation-drawer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oscd-navigation-drawer.js","sourceRoot":"","sources":["oscd-navigation-drawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAM9D,cAAc,CAAC,MAAM,CAAC,wBAAwB,EAAE,oBAAoB,CAAC,CAAC;AACtE,OAAO,EAAE,oBAAoB,EAAE,CAAC","sourcesContent":["import { OscdNavigationDrawer } from \"./OscdNavigationDrawer\";\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-navigation-drawer\": OscdNavigationDrawer;\n }\n}\ncustomElements.define(\"oscd-navigation-drawer\", OscdNavigationDrawer);\nexport { OscdNavigationDrawer };\n"]}
@@ -1,47 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * @license
8
- * Copyright 2025 OMICRON Electronics GmbH
9
- * SPDX-License-Identifier: Apache-2.0
10
- */
11
- import { CSSResultOrNative } from "lit";
12
- import { FilledSelect } from "@material/web/select/internal/filled-select.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-filled-select": OscdFilledSelect;
16
- }
17
- }
18
- /**
19
- * @summary
20
- * Select menus display a list of choices on temporary surfaces and display the
21
- * currently selected menu item above the menu.
22
- *
23
- * @description
24
- * The select component allows users to choose a value from a fixed list of
25
- * available options. Composed of an interactive anchor button and a menu, it is
26
- * analogous to the native HTML `<select>` element. This is the "filled"
27
- * variant.
28
- *
29
- * @example
30
- * ```html
31
- * <oscd-filled-select label="fruits">
32
- * <!-- An empty selected option will give select an "un-filled" state -->
33
- * <oscd-select-option selected></oscd-select-option>
34
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
35
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
36
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
37
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
38
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
39
- * </oscd-filled-select>
40
- * ```
41
- *
42
- * @final
43
- * @suppress {visibility}
44
- */
45
- export declare class OscdFilledSelect extends FilledSelect {
46
- static styles: CSSResultOrNative[];
47
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { FilledSelect } from "@material/web/select/internal/filled-select.js";
7
- import { styles } from "@material/web/select/internal/filled-select-styles.js";
8
- import { styles as sharedStyles } from "@material/web/select/internal/shared-styles.js";
9
- /**
10
- * @summary
11
- * Select menus display a list of choices on temporary surfaces and display the
12
- * currently selected menu item above the menu.
13
- *
14
- * @description
15
- * The select component allows users to choose a value from a fixed list of
16
- * available options. Composed of an interactive anchor button and a menu, it is
17
- * analogous to the native HTML `<select>` element. This is the "filled"
18
- * variant.
19
- *
20
- * @example
21
- * ```html
22
- * <oscd-filled-select label="fruits">
23
- * <!-- An empty selected option will give select an "un-filled" state -->
24
- * <oscd-select-option selected></oscd-select-option>
25
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
26
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
27
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
28
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
29
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
30
- * </oscd-filled-select>
31
- * ```
32
- *
33
- * @final
34
- * @suppress {visibility}
35
- */
36
- export class OscdFilledSelect extends FilledSelect {
37
- static styles = [sharedStyles, styles];
38
- }
39
- //# sourceMappingURL=OscdFilledSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdFilledSelect.js","sourceRoot":"","sources":["OscdFilledSelect.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,uDAAuD,CAAC;AAC/E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAQxF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,OAAO,gBAAiB,SAAQ,YAAY;IAChD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from \"lit\";\nimport { FilledSelect } from \"@material/web/select/internal/filled-select.js\";\nimport { styles } from \"@material/web/select/internal/filled-select-styles.js\";\nimport { styles as sharedStyles } from \"@material/web/select/internal/shared-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-filled-select\": OscdFilledSelect;\n }\n}\n\n/**\n * @summary\n * Select menus display a list of choices on temporary surfaces and display the\n * currently selected menu item above the menu.\n *\n * @description\n * The select component allows users to choose a value from a fixed list of\n * available options. Composed of an interactive anchor button and a menu, it is\n * analogous to the native HTML `<select>` element. This is the \"filled\"\n * variant.\n *\n * @example\n * ```html\n * <oscd-filled-select label=\"fruits\">\n * <!-- An empty selected option will give select an \"un-filled\" state -->\n * <oscd-select-option selected></oscd-select-option>\n * <oscd-select-option value=\"apple\" headline=\"Apple\"></oscd-select-option>\n * <oscd-select-option value=\"banana\" headline=\"Banana\"></oscd-select-option>\n * <oscd-select-option value=\"kiwi\" headline=\"Kiwi\"></oscd-select-option>\n * <oscd-select-option value=\"orange\" headline=\"Orange\"></oscd-select-option>\n * <oscd-select-option value=\"tomato\" headline=\"Tomato\"></oscd-select-option>\n * </oscd-filled-select>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledSelect extends FilledSelect {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n}\n"]}
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/web-components";
2
- declare const meta: Meta;
3
- export default meta;
4
- type Story = StoryObj;
5
- export declare const Default: Story;
@@ -1,29 +0,0 @@
1
- import { html } from "lit";
2
- import { OscdFilledSelect } from "select/OscdFilledSelect";
3
- import { OscdSelectOption } from "select/OscdSelectOption";
4
- import { scopedWcDecorator } from "utils/storybook/scopedWcDecorator.js";
5
- const meta = {
6
- title: "Open SCD/Selects/Filled Select",
7
- component: "oscd-filled-select",
8
- tags: ["autodocs"],
9
- decorators: [scopedWcDecorator],
10
- parameters: {
11
- layout: "centered",
12
- scopedElements: {
13
- "oscd-filled-select": OscdFilledSelect,
14
- "oscd-select-option": OscdSelectOption,
15
- },
16
- },
17
- render: () => html `
18
- <oscd-filled-select label="Choose one">
19
- <oscd-select-option value="1">Option 1</oscd-select-option>
20
- <oscd-select-option value="2">Option 2</oscd-select-option>
21
- </oscd-filled-select>
22
- `,
23
- argTypes: {},
24
- };
25
- export default meta;
26
- export const Default = {
27
- args: {},
28
- };
29
- //# sourceMappingURL=OscdFilledSelect.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdFilledSelect.stories.js","sourceRoot":"","sources":["OscdFilledSelect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,gCAAgC;IACvC,SAAS,EAAE,oBAAoB;IAC/B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,CAAC,iBAAiB,CAAC;IAC/B,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;QAClB,cAAc,EAAE;YACd,oBAAoB,EAAE,gBAAgB;YACtC,oBAAoB,EAAE,gBAAgB;SACvC;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;;;;;GAKjB;IACD,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["import { html } from \"lit\";\nimport type { Meta, StoryObj } from \"@storybook/web-components\";\n\nimport { OscdFilledSelect } from \"select/OscdFilledSelect\";\nimport { OscdSelectOption } from \"select/OscdSelectOption\";\nimport { scopedWcDecorator } from \"utils/storybook/scopedWcDecorator.js\";\n\nconst meta: Meta = {\n title: \"Open SCD/Selects/Filled Select\",\n component: \"oscd-filled-select\",\n tags: [\"autodocs\"],\n decorators: [scopedWcDecorator],\n parameters: {\n layout: \"centered\",\n scopedElements: {\n \"oscd-filled-select\": OscdFilledSelect,\n \"oscd-select-option\": OscdSelectOption,\n },\n },\n render: () => html`\n <oscd-filled-select label=\"Choose one\">\n <oscd-select-option value=\"1\">Option 1</oscd-select-option>\n <oscd-select-option value=\"2\">Option 2</oscd-select-option>\n </oscd-filled-select>\n `,\n argTypes: {},\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Default: Story = {\n args: {},\n};\n"]}
@@ -1,47 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * @license
8
- * Copyright 2025 OMICRON Electronics GmbH
9
- * SPDX-License-Identifier: Apache-2.0
10
- */
11
- import { CSSResultOrNative } from "lit";
12
- import { OutlinedSelect } from "@material/web/select/internal/outlined-select.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-outlined-select": OscdOutlinedSelect;
16
- }
17
- }
18
- /**
19
- * @summary
20
- * Select menus display a list of choices on temporary surfaces and display the
21
- * currently selected menu item above the menu.
22
- *
23
- * @description
24
- * The select component allows users to choose a value from a fixed list of
25
- * available options. Composed of an interactive anchor button and a menu, it is
26
- * analogous to the native HTML `<select>` element. This is the "outlined"
27
- * variant.
28
- *
29
- * @example
30
- * ```html
31
- * <oscd-outlined-select label="fruits">
32
- * <!-- An empty selected option will give select an "un-filled" state -->
33
- * <oscd-select-option selected></oscd-select-option>
34
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
35
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
36
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
37
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
38
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
39
- * </oscd-outlined-select>
40
- * ```
41
- *
42
- * @final
43
- * @suppress {visibility}
44
- */
45
- export declare class OscdOutlinedSelect extends OutlinedSelect {
46
- static styles: CSSResultOrNative[];
47
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { OutlinedSelect } from "@material/web/select/internal/outlined-select.js";
7
- import { styles } from "@material/web/select/internal/outlined-select-styles.js";
8
- import { styles as sharedStyles } from "@material/web/select/internal/shared-styles.js";
9
- /**
10
- * @summary
11
- * Select menus display a list of choices on temporary surfaces and display the
12
- * currently selected menu item above the menu.
13
- *
14
- * @description
15
- * The select component allows users to choose a value from a fixed list of
16
- * available options. Composed of an interactive anchor button and a menu, it is
17
- * analogous to the native HTML `<select>` element. This is the "outlined"
18
- * variant.
19
- *
20
- * @example
21
- * ```html
22
- * <oscd-outlined-select label="fruits">
23
- * <!-- An empty selected option will give select an "un-filled" state -->
24
- * <oscd-select-option selected></oscd-select-option>
25
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
26
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
27
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
28
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
29
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
30
- * </oscd-outlined-select>
31
- * ```
32
- *
33
- * @final
34
- * @suppress {visibility}
35
- */
36
- export class OscdOutlinedSelect extends OutlinedSelect {
37
- static styles = [sharedStyles, styles];
38
- }
39
- //# sourceMappingURL=OscdOutlinedSelect.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdOutlinedSelect.js","sourceRoot":"","sources":["OscdOutlinedSelect.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,MAAM,EAAE,MAAM,yDAAyD,CAAC;AACjF,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAQxF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IACpD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from \"lit\";\nimport { OutlinedSelect } from \"@material/web/select/internal/outlined-select.js\";\nimport { styles } from \"@material/web/select/internal/outlined-select-styles.js\";\nimport { styles as sharedStyles } from \"@material/web/select/internal/shared-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-outlined-select\": OscdOutlinedSelect;\n }\n}\n\n/**\n * @summary\n * Select menus display a list of choices on temporary surfaces and display the\n * currently selected menu item above the menu.\n *\n * @description\n * The select component allows users to choose a value from a fixed list of\n * available options. Composed of an interactive anchor button and a menu, it is\n * analogous to the native HTML `<select>` element. This is the \"outlined\"\n * variant.\n *\n * @example\n * ```html\n * <oscd-outlined-select label=\"fruits\">\n * <!-- An empty selected option will give select an \"un-filled\" state -->\n * <oscd-select-option selected></oscd-select-option>\n * <oscd-select-option value=\"apple\" headline=\"Apple\"></oscd-select-option>\n * <oscd-select-option value=\"banana\" headline=\"Banana\"></oscd-select-option>\n * <oscd-select-option value=\"kiwi\" headline=\"Kiwi\"></oscd-select-option>\n * <oscd-select-option value=\"orange\" headline=\"Orange\"></oscd-select-option>\n * <oscd-select-option value=\"tomato\" headline=\"Tomato\"></oscd-select-option>\n * </oscd-outlined-select>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdOutlinedSelect extends OutlinedSelect {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n}\n"]}
@@ -1,5 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/web-components";
2
- declare const meta: Meta;
3
- export default meta;
4
- type Story = StoryObj;
5
- export declare const Default: Story;
@@ -1,29 +0,0 @@
1
- import { html } from "lit";
2
- import { OscdOutlinedSelect } from "select/OscdOutlinedSelect";
3
- import { OscdSelectOption } from "select/OscdSelectOption";
4
- import { scopedWcDecorator } from "utils/storybook/scopedWcDecorator.js";
5
- const meta = {
6
- title: "Open SCD/Selects/Outlined Select",
7
- component: "oscd-outlined-select",
8
- tags: ["autodocs"],
9
- decorators: [scopedWcDecorator],
10
- parameters: {
11
- layout: "centered",
12
- scopedElements: {
13
- "oscd-outlined-select": OscdOutlinedSelect,
14
- "oscd-select-option": OscdSelectOption,
15
- },
16
- },
17
- render: () => html `
18
- <oscd-outlined-select label="Choose one">
19
- <oscd-select-option value="1">Option 1</oscd-select-option>
20
- <oscd-select-option value="2">Option 2</oscd-select-option>
21
- </oscd-outlined-select>
22
- `,
23
- argTypes: {},
24
- };
25
- export default meta;
26
- export const Default = {
27
- args: {},
28
- };
29
- //# sourceMappingURL=OscdOutlinedSelect.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdOutlinedSelect.stories.js","sourceRoot":"","sources":["OscdOutlinedSelect.stories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAG3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,MAAM,IAAI,GAAS;IACjB,KAAK,EAAE,kCAAkC;IACzC,SAAS,EAAE,sBAAsB;IACjC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,CAAC,iBAAiB,CAAC;IAC/B,UAAU,EAAE;QACV,MAAM,EAAE,UAAU;QAClB,cAAc,EAAE;YACd,sBAAsB,EAAE,kBAAkB;YAC1C,oBAAoB,EAAE,gBAAgB;SACvC;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAA;;;;;GAKjB;IACD,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE,EAAE;CACT,CAAC","sourcesContent":["import { html } from \"lit\";\nimport type { Meta, StoryObj } from \"@storybook/web-components\";\n\nimport { OscdOutlinedSelect } from \"select/OscdOutlinedSelect\";\nimport { OscdSelectOption } from \"select/OscdSelectOption\";\nimport { scopedWcDecorator } from \"utils/storybook/scopedWcDecorator.js\";\n\nconst meta: Meta = {\n title: \"Open SCD/Selects/Outlined Select\",\n component: \"oscd-outlined-select\",\n tags: [\"autodocs\"],\n decorators: [scopedWcDecorator],\n parameters: {\n layout: \"centered\",\n scopedElements: {\n \"oscd-outlined-select\": OscdOutlinedSelect,\n \"oscd-select-option\": OscdSelectOption,\n },\n },\n render: () => html`\n <oscd-outlined-select label=\"Choose one\">\n <oscd-select-option value=\"1\">Option 1</oscd-select-option>\n <oscd-select-option value=\"2\">Option 2</oscd-select-option>\n </oscd-outlined-select>\n `,\n argTypes: {},\n};\n\nexport default meta;\ntype Story = StoryObj;\n\nexport const Default: Story = {\n args: {},\n};\n"]}
@@ -1,51 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * @license
8
- * Copyright 2025 OMICRON Electronics GmbH
9
- * SPDX-License-Identifier: Apache-2.0
10
- */
11
- import { CSSResultOrNative } from "lit";
12
- import { SelectOptionEl } from "@material/web/select/internal/selectoption/select-option.js";
13
- export { type SelectOption } from "@material/web/select/internal/selectoption/select-option.js";
14
- declare global {
15
- interface HTMLElementTagNameMap {
16
- "oscd-select-option": OscdSelectOption;
17
- }
18
- }
19
- /**
20
- * @summary
21
- * Select menus display a list of choices on temporary surfaces and display the
22
- * currently selected menu item above the menu.
23
- *
24
- * @description
25
- * The select component allows users to choose a value from a fixed list of
26
- * available options. Composed of an interactive anchor button and a menu, it is
27
- * analogous to the native HTML `<select>` element. This is the option that
28
- * can be placed inside of an oscd-select.
29
- *
30
- * This component is a subclass of `oscd-menu-item` and can accept the same slots,
31
- * properties, and events as `oscd-menu-item`.
32
- *
33
- * @example
34
- * ```html
35
- * <oscd-outlined-select label="fruits">
36
- * <!-- An empty selected option will give select an "un-filled" state -->
37
- * <oscd-select-option selected></oscd-select-option>
38
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
39
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
40
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
41
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
42
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
43
- * </oscd-outlined-select>
44
- * ```
45
- *
46
- * @final
47
- * @suppress {visibility}
48
- */
49
- export declare class OscdSelectOption extends SelectOptionEl {
50
- static styles: CSSResultOrNative[];
51
- }
@@ -1,41 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- import { styles } from "@material/web/menu/internal/menuitem/menu-item-styles.js";
7
- import { SelectOptionEl } from "@material/web/select/internal/selectoption/select-option.js";
8
- /**
9
- * @summary
10
- * Select menus display a list of choices on temporary surfaces and display the
11
- * currently selected menu item above the menu.
12
- *
13
- * @description
14
- * The select component allows users to choose a value from a fixed list of
15
- * available options. Composed of an interactive anchor button and a menu, it is
16
- * analogous to the native HTML `<select>` element. This is the option that
17
- * can be placed inside of an oscd-select.
18
- *
19
- * This component is a subclass of `oscd-menu-item` and can accept the same slots,
20
- * properties, and events as `oscd-menu-item`.
21
- *
22
- * @example
23
- * ```html
24
- * <oscd-outlined-select label="fruits">
25
- * <!-- An empty selected option will give select an "un-filled" state -->
26
- * <oscd-select-option selected></oscd-select-option>
27
- * <oscd-select-option value="apple" headline="Apple"></oscd-select-option>
28
- * <oscd-select-option value="banana" headline="Banana"></oscd-select-option>
29
- * <oscd-select-option value="kiwi" headline="Kiwi"></oscd-select-option>
30
- * <oscd-select-option value="orange" headline="Orange"></oscd-select-option>
31
- * <oscd-select-option value="tomato" headline="Tomato"></oscd-select-option>
32
- * </oscd-outlined-select>
33
- * ```
34
- *
35
- * @final
36
- * @suppress {visibility}
37
- */
38
- export class OscdSelectOption extends SelectOptionEl {
39
- static styles = [styles];
40
- }
41
- //# sourceMappingURL=OscdSelectOption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OscdSelectOption.js","sourceRoot":"","sources":["OscdSelectOption.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,EAAE,MAAM,0DAA0D,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,6DAA6D,CAAC;AAU7F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,OAAO,gBAAiB,SAAQ,cAAc;IAClD,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from \"lit\";\nimport { styles } from \"@material/web/menu/internal/menuitem/menu-item-styles.js\";\n\nimport { SelectOptionEl } from \"@material/web/select/internal/selectoption/select-option.js\";\n\nexport { type SelectOption } from \"@material/web/select/internal/selectoption/select-option.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-select-option\": OscdSelectOption;\n }\n}\n\n/**\n * @summary\n * Select menus display a list of choices on temporary surfaces and display the\n * currently selected menu item above the menu.\n *\n * @description\n * The select component allows users to choose a value from a fixed list of\n * available options. Composed of an interactive anchor button and a menu, it is\n * analogous to the native HTML `<select>` element. This is the option that\n * can be placed inside of an oscd-select.\n *\n * This component is a subclass of `oscd-menu-item` and can accept the same slots,\n * properties, and events as `oscd-menu-item`.\n *\n * @example\n * ```html\n * <oscd-outlined-select label=\"fruits\">\n * <!-- An empty selected option will give select an \"un-filled\" state -->\n * <oscd-select-option selected></oscd-select-option>\n * <oscd-select-option value=\"apple\" headline=\"Apple\"></oscd-select-option>\n * <oscd-select-option value=\"banana\" headline=\"Banana\"></oscd-select-option>\n * <oscd-select-option value=\"kiwi\" headline=\"Kiwi\"></oscd-select-option>\n * <oscd-select-option value=\"orange\" headline=\"Orange\"></oscd-select-option>\n * <oscd-select-option value=\"tomato\" headline=\"Tomato\"></oscd-select-option>\n * </oscd-outlined-select>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdSelectOption extends SelectOptionEl {\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
@@ -1,2 +0,0 @@
1
- import { OscdFilledSelect } from "./OscdFilledSelect";
2
- export { OscdFilledSelect };
@@ -1,4 +0,0 @@
1
- import { OscdFilledSelect } from "./OscdFilledSelect";
2
- customElements.define("oscd-filled-select", OscdFilledSelect);
3
- export { OscdFilledSelect };
4
- //# sourceMappingURL=oscd-filled-select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oscd-filled-select.js","sourceRoot":"","sources":["oscd-filled-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,CAAC","sourcesContent":["import { OscdFilledSelect } from \"./OscdFilledSelect\";\n\ncustomElements.define(\"oscd-filled-select\", OscdFilledSelect);\nexport { OscdFilledSelect };\n"]}
@@ -1,2 +0,0 @@
1
- import { OscdOutlinedSelect } from "./OscdOutlinedSelect";
2
- export { OscdOutlinedSelect };
@@ -1,4 +0,0 @@
1
- import { OscdOutlinedSelect } from "./OscdOutlinedSelect";
2
- customElements.define("oscd-outlined-select", OscdOutlinedSelect);
3
- export { OscdOutlinedSelect };
4
- //# sourceMappingURL=oscd-outlined-select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oscd-outlined-select.js","sourceRoot":"","sources":["oscd-outlined-select.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,cAAc,CAAC,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["import { OscdOutlinedSelect } from \"./OscdOutlinedSelect\";\n\ncustomElements.define(\"oscd-outlined-select\", OscdOutlinedSelect);\nexport { OscdOutlinedSelect };\n"]}
@@ -1,2 +0,0 @@
1
- import { OscdSelectOption } from "./OscdSelectOption";
2
- export { OscdSelectOption };
@@ -1,4 +0,0 @@
1
- import { OscdSelectOption } from "./OscdSelectOption";
2
- customElements.define("oscd-select-option", OscdSelectOption);
3
- export { OscdSelectOption };
4
- //# sourceMappingURL=oscd-select-option.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oscd-select-option.js","sourceRoot":"","sources":["oscd-select-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,cAAc,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,CAAC","sourcesContent":["import { OscdSelectOption } from \"./OscdSelectOption\";\n\ncustomElements.define(\"oscd-select-option\", OscdSelectOption);\nexport { OscdSelectOption };\n"]}
@@ -1,26 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2023 Google LLC
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- /**
7
- * @license
8
- * Copyright 2025 OMICRON Electronics GmbH
9
- * SPDX-License-Identifier: Apache-2.0
10
- */
11
- import { CSSResultOrNative } from "lit";
12
- import { PrimaryTab } from "@material/web/tabs/internal/primary-tab.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-primary-tab": OscdPrimaryTab;
16
- }
17
- }
18
- /**
19
- * @summary Tab allow users to display a tab within a Tabs.
20
- *
21
- * @final
22
- * @suppress {visibility}
23
- */
24
- export declare class OscdPrimaryTab extends PrimaryTab {
25
- static styles: CSSResultOrNative[];
26
- }