@omicronenergy/oscd-ui 0.0.4 → 0.0.6

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/app-bar/OscdAppBar.d.ts +13 -11
  3. package/app-bar/OscdAppBar.js +16 -8
  4. package/app-bar/OscdAppBar.js.map +1 -1
  5. package/app-bar/oscd-app-bar.d.ts +6 -6
  6. package/app-bar/oscd-app-bar.js +2 -7
  7. package/app-bar/oscd-app-bar.js.map +1 -1
  8. package/button/OscdFilledButton.d.ts +6 -8
  9. package/button/OscdFilledButton.js +8 -5
  10. package/button/OscdFilledButton.js.map +1 -1
  11. package/button/OscdFilledButton.spec.js +22 -18
  12. package/button/OscdFilledButton.spec.js.map +1 -1
  13. package/button/OscdOutlinedButton.d.ts +4 -6
  14. package/button/OscdOutlinedButton.js +4 -1
  15. package/button/OscdOutlinedButton.js.map +1 -1
  16. package/button/OscdTextButton.d.ts +6 -8
  17. package/button/OscdTextButton.js +7 -4
  18. package/button/OscdTextButton.js.map +1 -1
  19. package/button/oscd-filled-button.d.ts +6 -1
  20. package/button/oscd-filled-button.js +2 -2
  21. package/button/oscd-filled-button.js.map +1 -1
  22. package/button/oscd-outlined-button.d.ts +6 -1
  23. package/button/oscd-outlined-button.js +2 -2
  24. package/button/oscd-outlined-button.js.map +1 -1
  25. package/button/oscd-text-button.d.ts +6 -1
  26. package/button/oscd-text-button.js +2 -2
  27. package/button/oscd-text-button.js.map +1 -1
  28. package/dialog/OscdDialog.d.ts +3 -8
  29. package/dialog/OscdDialog.js +4 -4
  30. package/dialog/OscdDialog.js.map +1 -1
  31. package/dialog/oscd-dialog.d.ts +6 -1
  32. package/dialog/oscd-dialog.js +2 -2
  33. package/dialog/oscd-dialog.js.map +1 -1
  34. package/divider/OscdDivider.d.ts +4 -8
  35. package/divider/OscdDivider.js +4 -3
  36. package/divider/OscdDivider.js.map +1 -1
  37. package/divider/oscd-divider.d.ts +6 -1
  38. package/divider/oscd-divider.js +2 -2
  39. package/divider/oscd-divider.js.map +1 -1
  40. package/elevation/OscdElevation.d.ts +2 -6
  41. package/elevation/OscdElevation.js +2 -1
  42. package/elevation/OscdElevation.js.map +1 -1
  43. package/elevation/oscd-elevation.d.ts +6 -1
  44. package/elevation/oscd-elevation.js +2 -2
  45. package/elevation/oscd-elevation.js.map +1 -1
  46. package/field/OscdFilledField.d.ts +4 -7
  47. package/field/OscdFilledField.js +5 -3
  48. package/field/OscdFilledField.js.map +1 -1
  49. package/field/OscdOutlinedField.d.ts +6 -7
  50. package/field/OscdOutlinedField.js +7 -3
  51. package/field/OscdOutlinedField.js.map +1 -1
  52. package/field/oscd-filled-field.d.ts +6 -1
  53. package/field/oscd-filled-field.js +2 -2
  54. package/field/oscd-filled-field.js.map +1 -1
  55. package/field/oscd-outlined-field.d.ts +6 -1
  56. package/field/oscd-outlined-field.js +2 -2
  57. package/field/oscd-outlined-field.js.map +1 -1
  58. package/icon/OscdIcon.d.ts +6 -7
  59. package/icon/OscdIcon.js +6 -2
  60. package/icon/OscdIcon.js.map +1 -1
  61. package/icon/oscd-icon.d.ts +6 -1
  62. package/icon/oscd-icon.js +2 -2
  63. package/icon/oscd-icon.js.map +1 -1
  64. package/iconbutton/OscdFilledIconButton.d.ts +4 -9
  65. package/iconbutton/OscdFilledIconButton.js +5 -5
  66. package/iconbutton/OscdFilledIconButton.js.map +1 -1
  67. package/iconbutton/OscdFilledTonalIconButton.d.ts +5 -10
  68. package/iconbutton/OscdFilledTonalIconButton.js +6 -6
  69. package/iconbutton/OscdFilledTonalIconButton.js.map +1 -1
  70. package/iconbutton/OscdIconButton.d.ts +3 -8
  71. package/iconbutton/OscdIconButton.js +4 -4
  72. package/iconbutton/OscdIconButton.js.map +1 -1
  73. package/iconbutton/{OutlinedIconButton.d.ts → OscdOutlinedIconButton.d.ts} +3 -8
  74. package/iconbutton/{OutlinedIconButton.js → OscdOutlinedIconButton.js} +5 -5
  75. package/iconbutton/OscdOutlinedIconButton.js.map +1 -0
  76. package/iconbutton/oscd-filled-icon-button.d.ts +6 -1
  77. package/iconbutton/oscd-filled-icon-button.js +2 -2
  78. package/iconbutton/oscd-filled-icon-button.js.map +1 -1
  79. package/iconbutton/oscd-filled-tonal-icon-button.d.ts +6 -1
  80. package/iconbutton/oscd-filled-tonal-icon-button.js +2 -2
  81. package/iconbutton/oscd-filled-tonal-icon-button.js.map +1 -1
  82. package/iconbutton/oscd-icon-button.d.ts +6 -1
  83. package/iconbutton/oscd-icon-button.js +2 -2
  84. package/iconbutton/oscd-icon-button.js.map +1 -1
  85. package/iconbutton/oscd-outlined-icon-button.d.ts +6 -1
  86. package/iconbutton/oscd-outlined-icon-button.js +2 -2
  87. package/iconbutton/oscd-outlined-icon-button.js.map +1 -1
  88. package/list/OscdList.d.ts +3 -8
  89. package/list/OscdList.js +4 -4
  90. package/list/OscdList.js.map +1 -1
  91. package/list/OscdListItem.d.ts +4 -11
  92. package/list/OscdListItem.js +6 -8
  93. package/list/OscdListItem.js.map +1 -1
  94. package/list/oscd-list-item.d.ts +6 -1
  95. package/list/oscd-list-item.js +2 -2
  96. package/list/oscd-list-item.js.map +1 -1
  97. package/list/oscd-list.d.ts +6 -1
  98. package/list/oscd-list.js +2 -2
  99. package/list/oscd-list.js.map +1 -1
  100. package/menu/OscdMenu.d.ts +7 -12
  101. package/menu/OscdMenu.js +5 -5
  102. package/menu/OscdMenu.js.map +1 -1
  103. package/menu/OscdMenuItem.d.ts +5 -10
  104. package/menu/OscdMenuItem.js +3 -3
  105. package/menu/OscdMenuItem.js.map +1 -1
  106. package/menu/oscd-menu-item.d.ts +6 -1
  107. package/menu/oscd-menu-item.js +2 -2
  108. package/menu/oscd-menu-item.js.map +1 -1
  109. package/menu/oscd-menu.d.ts +7 -1
  110. package/menu/oscd-menu.js +3 -3
  111. package/menu/oscd-menu.js.map +1 -1
  112. package/navigation-drawer/OscdNavigationDrawer.d.ts +8 -2
  113. package/navigation-drawer/OscdNavigationDrawer.js +10 -4
  114. package/navigation-drawer/OscdNavigationDrawer.js.map +1 -1
  115. package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +7 -7
  116. package/navigation-drawer/OscdNavigationDrawerHeader.js +8 -3
  117. package/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -1
  118. package/navigation-drawer/oscd-navigation-drawer-header.d.ts +6 -1
  119. package/navigation-drawer/oscd-navigation-drawer-header.js +2 -2
  120. package/navigation-drawer/oscd-navigation-drawer-header.js.map +1 -1
  121. package/navigation-drawer/oscd-navigation-drawer.d.ts +2 -2
  122. package/navigation-drawer/oscd-navigation-drawer.js +2 -2
  123. package/navigation-drawer/oscd-navigation-drawer.js.map +1 -1
  124. package/package.json +169 -15
  125. package/select/OscdFilledSelect.d.ts +3 -8
  126. package/select/OscdFilledSelect.js +4 -4
  127. package/select/OscdFilledSelect.js.map +1 -1
  128. package/select/OscdOutlinedSelect.d.ts +3 -8
  129. package/select/OscdOutlinedSelect.js +4 -4
  130. package/select/OscdOutlinedSelect.js.map +1 -1
  131. package/select/OscdSelectOption.d.ts +4 -9
  132. package/select/OscdSelectOption.js +3 -3
  133. package/select/OscdSelectOption.js.map +1 -1
  134. package/select/oscd-filled-select.d.ts +6 -1
  135. package/select/oscd-filled-select.js +2 -2
  136. package/select/oscd-filled-select.js.map +1 -1
  137. package/select/oscd-outlined-select.d.ts +6 -1
  138. package/select/oscd-outlined-select.js +2 -2
  139. package/select/oscd-outlined-select.js.map +1 -1
  140. package/select/oscd-select-option.d.ts +6 -1
  141. package/select/oscd-select-option.js +2 -2
  142. package/select/oscd-select-option.js.map +1 -1
  143. package/tabs/OscdPrimaryTab.d.ts +3 -7
  144. package/tabs/OscdPrimaryTab.js +4 -3
  145. package/tabs/OscdPrimaryTab.js.map +1 -1
  146. package/tabs/OscdSecondaryTab.d.ts +3 -7
  147. package/tabs/OscdSecondaryTab.js +4 -3
  148. package/tabs/OscdSecondaryTab.js.map +1 -1
  149. package/tabs/OscdTabs.d.ts +3 -7
  150. package/tabs/OscdTabs.js +3 -2
  151. package/tabs/OscdTabs.js.map +1 -1
  152. package/tabs/oscd-primary-tab.d.ts +6 -1
  153. package/tabs/oscd-primary-tab.js +2 -2
  154. package/tabs/oscd-primary-tab.js.map +1 -1
  155. package/tabs/oscd-secondary-tab.d.ts +6 -1
  156. package/tabs/oscd-secondary-tab.js +2 -2
  157. package/tabs/oscd-secondary-tab.js.map +1 -1
  158. package/tabs/oscd-tabs.d.ts +6 -1
  159. package/tabs/oscd-tabs.js +2 -2
  160. package/tabs/oscd-tabs.js.map +1 -1
  161. package/textfield/OscdFilledTextField.d.ts +10 -11
  162. package/textfield/OscdFilledTextField.js +12 -12
  163. package/textfield/OscdFilledTextField.js.map +1 -1
  164. package/textfield/OscdOutlinedTextField.d.ts +11 -10
  165. package/textfield/OscdOutlinedTextField.js +15 -11
  166. package/textfield/OscdOutlinedTextField.js.map +1 -1
  167. package/textfield/oscd-filled-text-field.d.ts +6 -1
  168. package/textfield/oscd-filled-text-field.js +2 -2
  169. package/textfield/oscd-filled-text-field.js.map +1 -1
  170. package/textfield/oscd-outlined-text-field.d.ts +6 -1
  171. package/textfield/oscd-outlined-text-field.js +2 -2
  172. package/textfield/oscd-outlined-text-field.js.map +1 -1
  173. package/utils/storybook/getStorybookHelpers.d.ts +2 -2
  174. package/utils/storybook/getStorybookHelpers.js +9 -9
  175. package/utils/storybook/getStorybookHelpers.js.map +1 -1
  176. package/utils/storybook/scopedWcDecorator.d.ts +1 -1
  177. package/utils/storybook/scopedWcDecorator.js +17 -7
  178. package/utils/storybook/scopedWcDecorator.js.map +1 -1
  179. package/utils/storybook/themingDecorator.d.ts +4 -15
  180. package/utils/storybook/themingDecorator.js +62 -62
  181. package/utils/storybook/themingDecorator.js.map +1 -1
  182. package/app-bar/OscdAppBar.stories.d.ts +0 -10
  183. package/app-bar/OscdAppBar.stories.js +0 -85
  184. package/app-bar/OscdAppBar.stories.js.map +0 -1
  185. package/button/OscdButton.stories.d.ts +0 -7
  186. package/button/OscdButton.stories.js +0 -60
  187. package/button/OscdButton.stories.js.map +0 -1
  188. package/dialog/OscdDialog.stories.d.ts +0 -5
  189. package/dialog/OscdDialog.stories.js +0 -50
  190. package/dialog/OscdDialog.stories.js.map +0 -1
  191. package/divider/OscdDivider.stories.d.ts +0 -5
  192. package/divider/OscdDivider.stories.js +0 -28
  193. package/divider/OscdDivider.stories.js.map +0 -1
  194. package/icon/OscdIcon.stories.d.ts +0 -5
  195. package/icon/OscdIcon.stories.js +0 -54
  196. package/icon/OscdIcon.stories.js.map +0 -1
  197. package/iconbutton/OscdIconButton.stories.d.ts +0 -7
  198. package/iconbutton/OscdIconButton.stories.js +0 -101
  199. package/iconbutton/OscdIconButton.stories.js.map +0 -1
  200. package/iconbutton/OutlinedIconButton.js.map +0 -1
  201. package/list/OscdList.stories.d.ts +0 -5
  202. package/list/OscdList.stories.js +0 -30
  203. package/list/OscdList.stories.js.map +0 -1
  204. package/menu/OscdMenu.stories.d.ts +0 -6
  205. package/menu/OscdMenu.stories.js +0 -55
  206. package/menu/OscdMenu.stories.js.map +0 -1
  207. package/menu/OscdMenuItem.stories.d.ts +0 -5
  208. package/menu/OscdMenuItem.stories.js +0 -37
  209. package/menu/OscdMenuItem.stories.js.map +0 -1
  210. package/navigation-drawer/OscdNavigationDrawer.stories.d.ts +0 -5
  211. package/navigation-drawer/OscdNavigationDrawer.stories.js +0 -97
  212. package/navigation-drawer/OscdNavigationDrawer.stories.js.map +0 -1
  213. package/navigation-drawer/OscdNavigationDrawerHeader.stories.d.ts +0 -5
  214. package/navigation-drawer/OscdNavigationDrawerHeader.stories.js +0 -35
  215. package/navigation-drawer/OscdNavigationDrawerHeader.stories.js.map +0 -1
  216. package/select/OscdFilledSelect.stories.d.ts +0 -5
  217. package/select/OscdFilledSelect.stories.js +0 -29
  218. package/select/OscdFilledSelect.stories.js.map +0 -1
  219. package/select/OscdOutlinedSelect.stories.d.ts +0 -5
  220. package/select/OscdOutlinedSelect.stories.js +0 -29
  221. package/select/OscdOutlinedSelect.stories.js.map +0 -1
  222. package/tabs/OscdPrimaryTab.stories.d.ts +0 -5
  223. package/tabs/OscdPrimaryTab.stories.js +0 -33
  224. package/tabs/OscdPrimaryTab.stories.js.map +0 -1
  225. package/tabs/OscdSecondaryTab.stories.d.ts +0 -5
  226. package/tabs/OscdSecondaryTab.stories.js +0 -33
  227. package/tabs/OscdSecondaryTab.stories.js.map +0 -1
  228. package/tabs/OscdTabs.stories.d.ts +0 -5
  229. package/tabs/OscdTabs.stories.js +0 -29
  230. package/tabs/OscdTabs.stories.js.map +0 -1
  231. package/theming/AllComponents.stories.d.ts +0 -5
  232. package/theming/AllComponents.stories.js +0 -309
  233. package/theming/AllComponents.stories.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"OscdFilledIconButton.js","sourceRoot":"","sources":["OscdFilledIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAQ5F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,MAAM,EAAE,IAAI;YACZ,eAAe,EAAE,IAAI,CAAC,MAAM;SAC7B,CAAC;IACJ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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/iconbutton/internal/filled-styles.js\";\nimport { IconButton } from \"@material/web/iconbutton/internal/icon-button.js\";\nimport { styles as sharedStyles } from \"@material/web/iconbutton/internal/shared-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-filled-icon-button\": OscdFilledIconButton;\n }\n}\n\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n filled: true,\n \"toggle-filled\": this.toggle,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"OscdFilledIconButton.js","sourceRoot":"","sources":["OscdFilledIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,EAAE,MAAM,oDAAoD,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAE5F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,MAAM,EAAE,IAAI;YACZ,eAAe,EAAE,IAAI,CAAC,MAAM;SAC7B,CAAC;IACJ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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/iconbutton/internal/filled-styles.js';\nimport { IconButton } from '@material/web/iconbutton/internal/icon-button.js';\nimport { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';\n\n/**\n * @tag oscd-filled-icon-button\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n filled: true,\n 'toggle-filled': this.toggle,\n };\n }\n}\n"]}
@@ -8,18 +8,13 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-filled-tonal-icon-button": OscdFilledTonalIconButton;
16
- }
17
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
18
13
  /**
14
+ * @tag oscd-filled-tonal-icon-button
19
15
  * @summary Icon buttons help people take supplementary actions with a single
20
16
  * tap.
21
17
  *
22
- * @description
23
18
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
24
19
  * least amount of prominence.
25
20
  *
@@ -36,8 +31,8 @@ declare global {
36
31
  export declare class OscdFilledTonalIconButton extends IconButton {
37
32
  static styles: CSSResultOrNative[];
38
33
  protected getRenderClasses(): {
39
- "filled-tonal": boolean;
40
- "toggle-filled-tonal": boolean;
34
+ 'filled-tonal': boolean;
35
+ 'toggle-filled-tonal': boolean;
41
36
  'flip-icon': boolean;
42
37
  selected: boolean;
43
38
  };
@@ -3,14 +3,14 @@
3
3
  * Copyright 2022 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { styles } from "@material/web/iconbutton/internal/filled-tonal-styles.js";
7
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
8
- import { styles as sharedStyles } from "@material/web/iconbutton/internal/shared-styles.js";
6
+ import { styles } from '@material/web/iconbutton/internal/filled-tonal-styles.js';
7
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
8
+ import { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';
9
9
  /**
10
+ * @tag oscd-filled-tonal-icon-button
10
11
  * @summary Icon buttons help people take supplementary actions with a single
11
12
  * tap.
12
13
  *
13
- * @description
14
14
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
15
  * least amount of prominence.
16
16
  *
@@ -29,8 +29,8 @@ export class OscdFilledTonalIconButton extends IconButton {
29
29
  getRenderClasses() {
30
30
  return {
31
31
  ...super.getRenderClasses(),
32
- "filled-tonal": true,
33
- "toggle-filled-tonal": this.toggle,
32
+ 'filled-tonal': true,
33
+ 'toggle-filled-tonal': this.toggle,
34
34
  };
35
35
  }
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OscdFilledTonalIconButton.js","sourceRoot":"","sources":["OscdFilledTonalIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,EAAE,MAAM,0DAA0D,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAQ5F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,yBAA0B,SAAQ,UAAU;IACvD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,cAAc,EAAE,IAAI;YACpB,qBAAqB,EAAE,IAAI,CAAC,MAAM;SACnC,CAAC;IACJ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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/iconbutton/internal/filled-tonal-styles.js\";\nimport { IconButton } from \"@material/web/iconbutton/internal/icon-button.js\";\nimport { styles as sharedStyles } from \"@material/web/iconbutton/internal/shared-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-filled-tonal-icon-button\": OscdFilledTonalIconButton;\n }\n}\n\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledTonalIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n \"filled-tonal\": true,\n \"toggle-filled-tonal\": this.toggle,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"OscdFilledTonalIconButton.js","sourceRoot":"","sources":["OscdFilledTonalIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,EAAE,MAAM,0DAA0D,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAE5F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,yBAA0B,SAAQ,UAAU;IACvD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,cAAc,EAAE,IAAI;YACpB,qBAAqB,EAAE,IAAI,CAAC,MAAM;SACnC,CAAC;IACJ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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/iconbutton/internal/filled-tonal-styles.js';\nimport { IconButton } from '@material/web/iconbutton/internal/icon-button.js';\nimport { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';\n\n/**\n * @tag oscd-filled-tonal-icon-button\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledTonalIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n 'filled-tonal': true,\n 'toggle-filled-tonal': this.toggle,\n };\n }\n}\n"]}
@@ -8,18 +8,13 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-icon-button": OscdIconButton;
16
- }
17
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
18
13
  /**
14
+ * @tag oscd-icon-button
19
15
  * @summary Icon buttons help people take supplementary actions with a single
20
16
  * tap.
21
17
  *
22
- * @description
23
18
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
24
19
  * least amount of prominence.
25
20
  *
@@ -3,14 +3,14 @@
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
7
- import { styles as sharedStyles } from "@material/web/iconbutton/internal/shared-styles.js";
8
- import { styles } from "@material/web/iconbutton/internal/standard-styles.js";
6
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
7
+ import { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';
8
+ import { styles } from '@material/web/iconbutton/internal/standard-styles.js';
9
9
  /**
10
+ * @tag oscd-icon-button
10
11
  * @summary Icon buttons help people take supplementary actions with a single
11
12
  * tap.
12
13
  *
13
- * @description
14
14
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
15
  * least amount of prominence.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"OscdIconButton.js","sourceRoot":"","sources":["OscdIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,sDAAsD,CAAC;AAQ9E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;IACJ,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 { IconButton } from \"@material/web/iconbutton/internal/icon-button.js\";\nimport { styles as sharedStyles } from \"@material/web/iconbutton/internal/shared-styles.js\";\nimport { styles } from \"@material/web/iconbutton/internal/standard-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-icon-button\": OscdIconButton;\n }\n}\n\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n standard: true,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"OscdIconButton.js","sourceRoot":"","sources":["OscdIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAE,MAAM,sDAAsD,CAAC;AAE9E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;IACJ,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 { IconButton } from '@material/web/iconbutton/internal/icon-button.js';\nimport { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';\nimport { styles } from '@material/web/iconbutton/internal/standard-styles.js';\n\n/**\n * @tag oscd-icon-button\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n standard: true,\n };\n }\n}\n"]}
@@ -8,18 +8,13 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-outlined-icon-button": OscdOutlinedIconButton;
16
- }
17
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
18
13
  /**
14
+ * @tag oscd-outlined-icon-button
19
15
  * @summary Icon buttons help people take supplementary actions with a single
20
16
  * tap.
21
17
  *
22
- * @description
23
18
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
24
19
  * least amount of prominence.
25
20
  *
@@ -3,14 +3,14 @@
3
3
  * Copyright 2022 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { IconButton } from "@material/web/iconbutton/internal/icon-button.js";
7
- import { styles } from "@material/web/iconbutton/internal/outlined-styles.js";
8
- import { styles as sharedStyles } from "@material/web/iconbutton/internal/shared-styles.js";
6
+ import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
7
+ import { styles } from '@material/web/iconbutton/internal/outlined-styles.js';
8
+ import { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';
9
9
  /**
10
+ * @tag oscd-outlined-icon-button
10
11
  * @summary Icon buttons help people take supplementary actions with a single
11
12
  * tap.
12
13
  *
13
- * @description
14
14
  * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
15
  * least amount of prominence.
16
16
  *
@@ -33,4 +33,4 @@ export class OscdOutlinedIconButton extends IconButton {
33
33
  };
34
34
  }
35
35
  }
36
- //# sourceMappingURL=OutlinedIconButton.js.map
36
+ //# sourceMappingURL=OscdOutlinedIconButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OscdOutlinedIconButton.js","sourceRoot":"","sources":["OscdOutlinedIconButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,sDAAsD,CAAC;AAC9E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAE5F;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC;IAElD,gBAAgB;QACjC,OAAO;YACL,GAAG,KAAK,CAAC,gBAAgB,EAAE;YAC3B,QAAQ,EAAE,IAAI;SACf,CAAC;IACJ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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 { IconButton } from '@material/web/iconbutton/internal/icon-button.js';\nimport { styles } from '@material/web/iconbutton/internal/outlined-styles.js';\nimport { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';\n\n/**\n * @tag oscd-outlined-icon-button\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdOutlinedIconButton extends IconButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, styles];\n\n protected override getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n outlined: true,\n };\n }\n}\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdFilledIconButton } from "./OscdFilledIconButton";
1
+ import { OscdFilledIconButton } from './OscdFilledIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-filled-icon-button': OscdFilledIconButton;
5
+ }
6
+ }
2
7
  export { OscdFilledIconButton };
@@ -1,4 +1,4 @@
1
- import { OscdFilledIconButton } from "./OscdFilledIconButton";
2
- customElements.define("oscd-filled-icon-button", OscdFilledIconButton);
1
+ import { OscdFilledIconButton } from './OscdFilledIconButton.js';
2
+ customElements.define('oscd-filled-icon-button', OscdFilledIconButton);
3
3
  export { OscdFilledIconButton };
4
4
  //# sourceMappingURL=oscd-filled-icon-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-filled-icon-button.js","sourceRoot":"","sources":["oscd-filled-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,cAAc,CAAC,MAAM,CAAC,yBAAyB,EAAE,oBAAoB,CAAC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,CAAC","sourcesContent":["import { OscdFilledIconButton } from \"./OscdFilledIconButton\";\n\ncustomElements.define(\"oscd-filled-icon-button\", OscdFilledIconButton);\nexport { OscdFilledIconButton };\n"]}
1
+ {"version":3,"file":"oscd-filled-icon-button.js","sourceRoot":"","sources":["oscd-filled-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAQjE,cAAc,CAAC,MAAM,CAAC,yBAAyB,EAAE,oBAAoB,CAAC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,CAAC","sourcesContent":["import { OscdFilledIconButton } from './OscdFilledIconButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-filled-icon-button': OscdFilledIconButton;\n }\n}\n\ncustomElements.define('oscd-filled-icon-button', OscdFilledIconButton);\nexport { OscdFilledIconButton };\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdFilledTonalIconButton } from "./OscdFilledTonalIconButton";
1
+ import { OscdFilledTonalIconButton } from './OscdFilledTonalIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-filled-tonal-icon-button': OscdFilledTonalIconButton;
5
+ }
6
+ }
2
7
  export { OscdFilledTonalIconButton };
@@ -1,4 +1,4 @@
1
- import { OscdFilledTonalIconButton } from "./OscdFilledTonalIconButton";
2
- customElements.define("oscd-filled-tonal-icon-button", OscdFilledTonalIconButton);
1
+ import { OscdFilledTonalIconButton } from './OscdFilledTonalIconButton.js';
2
+ customElements.define('oscd-filled-tonal-icon-button', OscdFilledTonalIconButton);
3
3
  export { OscdFilledTonalIconButton };
4
4
  //# sourceMappingURL=oscd-filled-tonal-icon-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-filled-tonal-icon-button.js","sourceRoot":"","sources":["oscd-filled-tonal-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,cAAc,CAAC,MAAM,CACnB,+BAA+B,EAC/B,yBAAyB,CAC1B,CAAC;AACF,OAAO,EAAE,yBAAyB,EAAE,CAAC","sourcesContent":["import { OscdFilledTonalIconButton } from \"./OscdFilledTonalIconButton\";\n\ncustomElements.define(\n \"oscd-filled-tonal-icon-button\",\n OscdFilledTonalIconButton\n);\nexport { OscdFilledTonalIconButton };\n"]}
1
+ {"version":3,"file":"oscd-filled-tonal-icon-button.js","sourceRoot":"","sources":["oscd-filled-tonal-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAQ3E,cAAc,CAAC,MAAM,CACnB,+BAA+B,EAC/B,yBAAyB,CAC1B,CAAC;AACF,OAAO,EAAE,yBAAyB,EAAE,CAAC","sourcesContent":["import { OscdFilledTonalIconButton } from './OscdFilledTonalIconButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-filled-tonal-icon-button': OscdFilledTonalIconButton;\n }\n}\n\ncustomElements.define(\n 'oscd-filled-tonal-icon-button',\n OscdFilledTonalIconButton,\n);\nexport { OscdFilledTonalIconButton };\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdIconButton } from "./OscdIconButton";
1
+ import { OscdIconButton } from './OscdIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-icon-button': OscdIconButton;
5
+ }
6
+ }
2
7
  export { OscdIconButton };
@@ -1,4 +1,4 @@
1
- import { OscdIconButton } from "./OscdIconButton";
2
- customElements.define("oscd-icon-button", OscdIconButton);
1
+ import { OscdIconButton } from './OscdIconButton.js';
2
+ customElements.define('oscd-icon-button', OscdIconButton);
3
3
  export { OscdIconButton };
4
4
  //# sourceMappingURL=oscd-icon-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-icon-button.js","sourceRoot":"","sources":["oscd-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAc,CAAC,MAAM,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,CAAC","sourcesContent":["import { OscdIconButton } from \"./OscdIconButton\";\n\ncustomElements.define(\"oscd-icon-button\", OscdIconButton);\nexport { OscdIconButton };\n"]}
1
+ {"version":3,"file":"oscd-icon-button.js","sourceRoot":"","sources":["oscd-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQrD,cAAc,CAAC,MAAM,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,CAAC","sourcesContent":["import { OscdIconButton } from './OscdIconButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-icon-button': OscdIconButton;\n }\n}\n\ncustomElements.define('oscd-icon-button', OscdIconButton);\nexport { OscdIconButton };\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdOutlinedIconButton } from "./OutlinedIconButton";
1
+ import { OscdOutlinedIconButton } from './OscdOutlinedIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-outlined-icon-button': OscdOutlinedIconButton;
5
+ }
6
+ }
2
7
  export { OscdOutlinedIconButton };
@@ -1,4 +1,4 @@
1
- import { OscdOutlinedIconButton } from "./OutlinedIconButton";
2
- customElements.define("oscd-outlined-icon-button", OscdOutlinedIconButton);
1
+ import { OscdOutlinedIconButton } from './OscdOutlinedIconButton.js';
2
+ customElements.define('oscd-outlined-icon-button', OscdOutlinedIconButton);
3
3
  export { OscdOutlinedIconButton };
4
4
  //# sourceMappingURL=oscd-outlined-icon-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-outlined-icon-button.js","sourceRoot":"","sources":["oscd-outlined-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,cAAc,CAAC,MAAM,CAAC,2BAA2B,EAAE,sBAAsB,CAAC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,CAAC","sourcesContent":["import { OscdOutlinedIconButton } from \"./OutlinedIconButton\";\n\ncustomElements.define(\"oscd-outlined-icon-button\", OscdOutlinedIconButton);\nexport { OscdOutlinedIconButton };\n"]}
1
+ {"version":3,"file":"oscd-outlined-icon-button.js","sourceRoot":"","sources":["oscd-outlined-icon-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAQrE,cAAc,CAAC,MAAM,CAAC,2BAA2B,EAAE,sBAAsB,CAAC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,CAAC","sourcesContent":["import { OscdOutlinedIconButton } from './OscdOutlinedIconButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-outlined-icon-button': OscdOutlinedIconButton;\n }\n}\n\ncustomElements.define('oscd-outlined-icon-button', OscdOutlinedIconButton);\nexport { OscdOutlinedIconButton };\n"]}
@@ -8,17 +8,12 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { List } from "@material/web/list/internal/list.js";
13
- declare global {
14
- interface HTMLElementTagNameMap {
15
- "oscd-list": OscdList;
16
- }
17
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { List } from '@material/web/list/internal/list.js';
18
13
  /**
14
+ * @tag oscd-list
19
15
  * @summary Lists are continuous, vertical indexes of text or images.
20
16
  *
21
- * @description
22
17
  * Lists consist of one or more list items, and can contain actions represented
23
18
  * by icons and text. List items come in three sizes: one-line, two-line, and
24
19
  * three-line.
package/list/OscdList.js CHANGED
@@ -8,9 +8,9 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { css } from "lit";
12
- import { List } from "@material/web/list/internal/list.js";
13
- import { styles } from "@material/web/list/internal/list-styles.js";
11
+ import { css } from 'lit';
12
+ import { List } from '@material/web/list/internal/list.js';
13
+ import { styles } from '@material/web/list/internal/list-styles.js';
14
14
  const overrideStyles = css `
15
15
  :host {
16
16
  --md-list-container-color: var(
@@ -20,9 +20,9 @@ const overrideStyles = css `
20
20
  }
21
21
  `;
22
22
  /**
23
+ * @tag oscd-list
23
24
  * @summary Lists are continuous, vertical indexes of text or images.
24
25
  *
25
- * @description
26
26
  * Lists consist of one or more list items, and can contain actions represented
27
27
  * by icons and text. List items come in three sizes: one-line, two-line, and
28
28
  * three-line.
@@ -1 +1 @@
1
- {"version":3,"file":"OscdList.js","sourceRoot":"","sources":["OscdList.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAQpE,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;CAOzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI;IAChC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,EAAE,cAAc,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 { css, CSSResultOrNative } from \"lit\";\nimport { List } from \"@material/web/list/internal/list.js\";\nimport { styles } from \"@material/web/list/internal/list-styles.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-list\": OscdList;\n }\n}\n\nconst overrideStyles = css`\n :host {\n --md-list-container-color: var(\n --oscd-list-container-color,\n var(--md-sys-color-surface-container, #fef7ff)\n );\n }\n`;\n\n/**\n * @summary Lists are continuous, vertical indexes of text or images.\n *\n * @description\n * Lists consist of one or more list items, and can contain actions represented\n * by icons and text. List items come in three sizes: one-line, two-line, and\n * three-line.\n *\n * __Takeaways:__\n *\n * - Lists should be sorted in logical ways that make content easy to scan, such\n * as alphabetical, numerical, chronological, or by user preference.\n * - Lists present content in a way that makes it easy to identify a specific\n * item in a collection and act on it.\n * - Lists should present icons, text, and actions in a consistent format.\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdList extends List {\n static override styles: CSSResultOrNative[] = [styles, overrideStyles];\n}\n"]}
1
+ {"version":3,"file":"OscdList.js","sourceRoot":"","sources":["OscdList.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AACH,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAEpE,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;CAOzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI;IAChC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,EAAE,cAAc,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 { css, CSSResultOrNative } from 'lit';\nimport { List } from '@material/web/list/internal/list.js';\nimport { styles } from '@material/web/list/internal/list-styles.js';\n\nconst overrideStyles = css`\n :host {\n --md-list-container-color: var(\n --oscd-list-container-color,\n var(--md-sys-color-surface-container, #fef7ff)\n );\n }\n`;\n\n/**\n * @tag oscd-list\n * @summary Lists are continuous, vertical indexes of text or images.\n *\n * Lists consist of one or more list items, and can contain actions represented\n * by icons and text. List items come in three sizes: one-line, two-line, and\n * three-line.\n *\n * __Takeaways:__\n *\n * - Lists should be sorted in logical ways that make content easy to scan, such\n * as alphabetical, numerical, chronological, or by user preference.\n * - Lists present content in a way that makes it easy to identify a specific\n * item in a collection and act on it.\n * - Lists should present icons, text, and actions in a consistent format.\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdList extends List {\n static override styles: CSSResultOrNative[] = [styles, overrideStyles];\n}\n"]}
@@ -8,20 +8,15 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { ListItemEl as ListItem } from "@material/web/list/internal/listitem/list-item.js";
13
- export { type ListItemType } from "@material/web/list/internal/listitem/list-item.js";
14
- declare global {
15
- interface HTMLElementTagNameMap {
16
- "oscd-list-item": OscdListItem;
17
- }
18
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { ListItemEl as ListItem } from '@material/web/list/internal/listitem/list-item.js';
13
+ export { type ListItemType } from '@material/web/list/internal/listitem/list-item.js';
19
14
  /**
15
+ * @tag oscd-list-item
20
16
  * @summary
21
17
  * Lists are continuous, vertical indexes of text or images. Items are placed
22
18
  * inside the list.
23
19
  *
24
- * @description
25
20
  * Lists consist of one or more list items, and can contain actions represented
26
21
  * by icons and text. List items come in three sizes: one-line, two-line, and
27
22
  * three-line.
@@ -49,8 +44,6 @@ declare global {
49
44
  * </oscd-list-item>
50
45
  * ```
51
46
  *
52
- * @example
53
- *
54
47
  * @final
55
48
  * @suppress {visibility}
56
49
  */
@@ -8,9 +8,9 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { css } from "lit";
12
- import { ListItemEl as ListItem } from "@material/web/list/internal/listitem/list-item.js";
13
- import { styles } from "@material/web/list/internal/listitem/list-item-styles.js";
11
+ import { css } from 'lit';
12
+ import { ListItemEl as ListItem } from '@material/web/list/internal/listitem/list-item.js';
13
+ import { styles } from '@material/web/list/internal/listitem/list-item-styles.js';
14
14
  const styleOverrides = css `
15
15
  :host([activated]) {
16
16
  --md-list-item-label-text-color: var(
@@ -23,13 +23,13 @@ const styleOverrides = css `
23
23
  var(--md-sys-color-surface-bright, #eaddff)
24
24
  );
25
25
  }
26
- [slot="start"] {
26
+ [slot='start'] {
27
27
  color: var(
28
28
  --md-list-item-leading-icon-color,
29
29
  var(--md-sys-color-on-surface, #49454f)
30
30
  );
31
31
  }
32
- [slot="end"] {
32
+ [slot='end'] {
33
33
  color: var(
34
34
  --md-list-item-trailing-icon-color,
35
35
  var(--md-sys-color-on-surface, #49454f)
@@ -37,11 +37,11 @@ const styleOverrides = css `
37
37
  }
38
38
  `;
39
39
  /**
40
+ * @tag oscd-list-item
40
41
  * @summary
41
42
  * Lists are continuous, vertical indexes of text or images. Items are placed
42
43
  * inside the list.
43
44
  *
44
- * @description
45
45
  * Lists consist of one or more list items, and can contain actions represented
46
46
  * by icons and text. List items come in three sizes: one-line, two-line, and
47
47
  * three-line.
@@ -69,8 +69,6 @@ const styleOverrides = css `
69
69
  * </oscd-list-item>
70
70
  * ```
71
71
  *
72
- * @example
73
- *
74
72
  * @final
75
73
  * @suppress {visibility}
76
74
  */
@@ -1 +1 @@
1
- {"version":3,"file":"OscdListItem.js","sourceRoot":"","sources":["OscdListItem.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;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;AAUlF,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;CAwBzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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 { 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\nexport { type ListItemType } from \"@material/web/list/internal/listitem/list-item.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-list-item\": OscdListItem;\n }\n}\n\nconst styleOverrides = css`\n :host([activated]) {\n --md-list-item-label-text-color: var(\n --oscd-list-item-activated-color,\n var(--md-sys-color-primary, #6750a4)\n );\n\n background-color: var(\n --oscd-list-item-activated-background-color,\n var(--md-sys-color-surface-bright, #eaddff)\n );\n }\n [slot=\"start\"] {\n color: var(\n --md-list-item-leading-icon-color,\n var(--md-sys-color-on-surface, #49454f)\n );\n }\n [slot=\"end\"] {\n color: var(\n --md-list-item-trailing-icon-color,\n var(--md-sys-color-on-surface, #49454f)\n );\n }\n`;\n\n/**\n * @summary\n * Lists are continuous, vertical indexes of text or images. Items are placed\n * inside the list.\n *\n * @description\n * Lists consist of one or more list items, and can contain actions represented\n * by icons and text. List items come in three sizes: one-line, two-line, and\n * three-line.\n *\n * __Takeaways:__\n *\n * - Lists should be sorted in logical ways that make content easy to scan, such\n * as alphabetical, numerical, chronological, or by user preference.\n * - Lists present content in a way that makes it easy to identify a specific\n * item in a collection and act on it.\n * - Lists should present icons, text, and actions in a consistent format.\n *\n * Acceptable slot child variants are:\n *\n * - `img[slot=end]`\n * - `img[slot=start]`\n *\n * @example\n * ```html\n * <oscd-list-item\n * headline=\"User Name\"\n * supportingText=\"user@name.com\">\n * <oscd-icon slot=\"start\">account_circle</oscd-icon>\n * <oscd-icon slot=\"end\">check</oscd-icon>\n * </oscd-list-item>\n * ```\n *\n * @example\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdListItem extends ListItem {\n static override styles: CSSResultOrNative[] = [styles, styleOverrides];\n}\n"]}
1
+ {"version":3,"file":"OscdListItem.js","sourceRoot":"","sources":["OscdListItem.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;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;AAIlF,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;CAwBzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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 { 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\nexport { type ListItemType } from '@material/web/list/internal/listitem/list-item.js';\n\nconst styleOverrides = css`\n :host([activated]) {\n --md-list-item-label-text-color: var(\n --oscd-list-item-activated-color,\n var(--md-sys-color-primary, #6750a4)\n );\n\n background-color: var(\n --oscd-list-item-activated-background-color,\n var(--md-sys-color-surface-bright, #eaddff)\n );\n }\n [slot='start'] {\n color: var(\n --md-list-item-leading-icon-color,\n var(--md-sys-color-on-surface, #49454f)\n );\n }\n [slot='end'] {\n color: var(\n --md-list-item-trailing-icon-color,\n var(--md-sys-color-on-surface, #49454f)\n );\n }\n`;\n\n/**\n * @tag oscd-list-item\n * @summary\n * Lists are continuous, vertical indexes of text or images. Items are placed\n * inside the list.\n *\n * Lists consist of one or more list items, and can contain actions represented\n * by icons and text. List items come in three sizes: one-line, two-line, and\n * three-line.\n *\n * __Takeaways:__\n *\n * - Lists should be sorted in logical ways that make content easy to scan, such\n * as alphabetical, numerical, chronological, or by user preference.\n * - Lists present content in a way that makes it easy to identify a specific\n * item in a collection and act on it.\n * - Lists should present icons, text, and actions in a consistent format.\n *\n * Acceptable slot child variants are:\n *\n * - `img[slot=end]`\n * - `img[slot=start]`\n *\n * @example\n * ```html\n * <oscd-list-item\n * headline=\"User Name\"\n * supportingText=\"user@name.com\">\n * <oscd-icon slot=\"start\">account_circle</oscd-icon>\n * <oscd-icon slot=\"end\">check</oscd-icon>\n * </oscd-list-item>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdListItem extends ListItem {\n static override styles: CSSResultOrNative[] = [styles, styleOverrides];\n}\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdListItem } from "./OscdListItem";
1
+ import { OscdListItem } from './OscdListItem.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-list-item': OscdListItem;
5
+ }
6
+ }
2
7
  export { OscdListItem };
@@ -1,4 +1,4 @@
1
- import { OscdListItem } from "./OscdListItem";
2
- customElements.define("oscd-list-item", OscdListItem);
1
+ import { OscdListItem } from './OscdListItem.js';
2
+ customElements.define('oscd-list-item', OscdListItem);
3
3
  export { OscdListItem };
4
4
  //# sourceMappingURL=oscd-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-list-item.js","sourceRoot":"","sources":["oscd-list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,CAAC","sourcesContent":["import { OscdListItem } from \"./OscdListItem\";\n\ncustomElements.define(\"oscd-list-item\", OscdListItem);\nexport { OscdListItem };\n"]}
1
+ {"version":3,"file":"oscd-list-item.js","sourceRoot":"","sources":["oscd-list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAQjD,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,CAAC","sourcesContent":["import { OscdListItem } from './OscdListItem.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-list-item': OscdListItem;\n }\n}\n\ncustomElements.define('oscd-list-item', OscdListItem);\nexport { OscdListItem };\n"]}
@@ -1,2 +1,7 @@
1
- import { OscdList } from "./OscdList";
1
+ import { OscdList } from './OscdList.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-list': OscdList;
5
+ }
6
+ }
2
7
  export { OscdList };
package/list/oscd-list.js CHANGED
@@ -1,4 +1,4 @@
1
- import { OscdList } from "./OscdList";
2
- customElements.define("oscd-list", OscdList);
1
+ import { OscdList } from './OscdList.js';
2
+ customElements.define('oscd-list', OscdList);
3
3
  export { OscdList };
4
4
  //# sourceMappingURL=oscd-list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"oscd-list.js","sourceRoot":"","sources":["oscd-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,CAAC","sourcesContent":["import { OscdList } from \"./OscdList\";\n\ncustomElements.define(\"oscd-list\", OscdList);\nexport { OscdList };\n"]}
1
+ {"version":3,"file":"oscd-list.js","sourceRoot":"","sources":["oscd-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQzC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,CAAC","sourcesContent":["import { OscdList } from './OscdList.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-list': OscdList;\n }\n}\n\ncustomElements.define('oscd-list', OscdList);\nexport { OscdList };\n"]}
@@ -8,21 +8,16 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { Menu } from "@material/web/menu/internal/menu.js";
13
- export { type ListItem } from "@material/web/list/internal/list-navigation-helpers.js";
14
- export { type MenuItem } from "@material/web/menu/internal/controllers/menuItemController.js";
15
- export { CloseReason, FocusState, type CloseMenuEvent, type Menu, } from "@material/web/menu/internal/controllers/shared.js";
16
- export { Corner } from "@material/web/menu/internal/menu.js";
17
- declare global {
18
- interface HTMLElementTagNameMap {
19
- "oscd-menu": OscdMenu;
20
- }
21
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { Menu } from '@material/web/menu/internal/menu.js';
13
+ export { type ListItem } from '@material/web/list/internal/list-navigation-helpers.js';
14
+ export { type MenuItem } from '@material/web/menu/internal/controllers/menuItemController.js';
15
+ export { CloseReason, FocusState, type CloseMenuEvent, type Menu, } from '@material/web/menu/internal/controllers/shared.js';
16
+ export { Corner } from '@material/web/menu/internal/menu.js';
22
17
  /**
18
+ * @tag oscd-menu
23
19
  * @summary Menus display a list of choices on a temporary surface.
24
20
  *
25
- * @description
26
21
  * Menus appear when users interact with a button, action, or other control.
27
22
  *
28
23
  * They can be opened from a variety of elements, most commonly icon buttons,
package/menu/OscdMenu.js CHANGED
@@ -3,14 +3,14 @@
3
3
  * Copyright 2022 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
- import { Menu } from "@material/web/menu/internal/menu.js";
7
- import { styles } from "@material/web/menu/internal/menu-styles.js";
8
- export { CloseReason, FocusState, } from "@material/web/menu/internal/controllers/shared.js";
9
- export { Corner } from "@material/web/menu/internal/menu.js";
6
+ import { Menu } from '@material/web/menu/internal/menu.js';
7
+ import { styles } from '@material/web/menu/internal/menu-styles.js';
8
+ export { CloseReason, FocusState, } from '@material/web/menu/internal/controllers/shared.js';
9
+ export { Corner } from '@material/web/menu/internal/menu.js';
10
10
  /**
11
+ * @tag oscd-menu
11
12
  * @summary Menus display a list of choices on a temporary surface.
12
13
  *
13
- * @description
14
14
  * Menus appear when users interact with a button, action, or other control.
15
15
  *
16
16
  * They can be opened from a variety of elements, most commonly icon buttons,
@@ -1 +1 @@
1
- {"version":3,"file":"OscdMenu.js","sourceRoot":"","sources":["OscdMenu.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAIpE,OAAO,EACL,WAAW,EACX,UAAU,GAGX,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAQ7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI;IAChC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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 { Menu } from \"@material/web/menu/internal/menu.js\";\nimport { styles } from \"@material/web/menu/internal/menu-styles.js\";\n\nexport { type ListItem } from \"@material/web/list/internal/list-navigation-helpers.js\";\nexport { type MenuItem } from \"@material/web/menu/internal/controllers/menuItemController.js\";\nexport {\n CloseReason,\n FocusState,\n type CloseMenuEvent,\n type Menu,\n} from \"@material/web/menu/internal/controllers/shared.js\";\nexport { Corner } from \"@material/web/menu/internal/menu.js\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"oscd-menu\": OscdMenu;\n }\n}\n\n/**\n * @summary Menus display a list of choices on a temporary surface.\n *\n * @description\n * Menus appear when users interact with a button, action, or other control.\n *\n * They can be opened from a variety of elements, most commonly icon buttons,\n * buttons, and text fields.\n *\n * oscd-menu listens for the `close-menu` and `deselect-items` events.\n *\n * - `close-menu` closes the menu when dispatched from a child element.\n * - `deselect-items` deselects all of its immediate menu-item children.\n *\n * @example\n * ```html\n * <div style=\"position:relative;\">\n * <button\n * id=\"anchor\"\n * @click=${() => this.menuRef.value.show()}>\n * Click to open menu\n * </button>\n * <!--\n * `has-overflow` is required when using a submenu which overflows the\n * menu's contents.\n *\n * Additionally, `anchor` ingests an idref which do not pass through shadow\n * roots. You can also set `.anchorElement` to an element reference if\n * necessary.\n * -->\n * <oscd-menu anchor=\"anchor\" has-overflow ${ref(menuRef)}>\n * <oscd-menu-item headline=\"This is a headline\"></oscd-menu-item>\n * <oscd-sub-menu>\n * <oscd-menu-item\n * slot=\"item\"\n * headline=\"this is a submenu item\">\n * </oscd-menu-item>\n * <oscd-menu slot=\"menu\">\n * <oscd-menu-item headline=\"This is an item inside a submenu\">\n * </oscd-menu-item>\n * </oscd-menu>\n * </oscd-sub-menu>\n * </oscd-menu>\n * </div>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdMenu extends Menu {\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
1
+ {"version":3,"file":"OscdMenu.js","sourceRoot":"","sources":["OscdMenu.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAIpE,OAAO,EACL,WAAW,EACX,UAAU,GAGX,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI;IAChC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 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 { Menu } from '@material/web/menu/internal/menu.js';\nimport { styles } from '@material/web/menu/internal/menu-styles.js';\n\nexport { type ListItem } from '@material/web/list/internal/list-navigation-helpers.js';\nexport { type MenuItem } from '@material/web/menu/internal/controllers/menuItemController.js';\nexport {\n CloseReason,\n FocusState,\n type CloseMenuEvent,\n type Menu,\n} from '@material/web/menu/internal/controllers/shared.js';\nexport { Corner } from '@material/web/menu/internal/menu.js';\n\n/**\n * @tag oscd-menu\n * @summary Menus display a list of choices on a temporary surface.\n *\n * Menus appear when users interact with a button, action, or other control.\n *\n * They can be opened from a variety of elements, most commonly icon buttons,\n * buttons, and text fields.\n *\n * oscd-menu listens for the `close-menu` and `deselect-items` events.\n *\n * - `close-menu` closes the menu when dispatched from a child element.\n * - `deselect-items` deselects all of its immediate menu-item children.\n *\n * @example\n * ```html\n * <div style=\"position:relative;\">\n * <button\n * id=\"anchor\"\n * @click=${() => this.menuRef.value.show()}>\n * Click to open menu\n * </button>\n * <!--\n * `has-overflow` is required when using a submenu which overflows the\n * menu's contents.\n *\n * Additionally, `anchor` ingests an idref which do not pass through shadow\n * roots. You can also set `.anchorElement` to an element reference if\n * necessary.\n * -->\n * <oscd-menu anchor=\"anchor\" has-overflow ${ref(menuRef)}>\n * <oscd-menu-item headline=\"This is a headline\"></oscd-menu-item>\n * <oscd-sub-menu>\n * <oscd-menu-item\n * slot=\"item\"\n * headline=\"this is a submenu item\">\n * </oscd-menu-item>\n * <oscd-menu slot=\"menu\">\n * <oscd-menu-item headline=\"This is an item inside a submenu\">\n * </oscd-menu-item>\n * </oscd-menu>\n * </oscd-sub-menu>\n * </oscd-menu>\n * </div>\n * ```\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdMenu extends Menu {\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
@@ -8,19 +8,14 @@
8
8
  * Copyright 2025 OMICRON Electronics GmbH
9
9
  * SPDX-License-Identifier: Apache-2.0
10
10
  */
11
- import { CSSResultOrNative } from "lit";
12
- import { MenuItemEl } from "@material/web/menu/internal/menuitem/menu-item.js";
13
- export { type MenuItem } from "@material/web/menu/internal/controllers/menuItemController.js";
14
- export { type CloseMenuEvent } from "@material/web/menu/internal/controllers/shared.js";
15
- declare global {
16
- interface HTMLElementTagNameMap {
17
- "oscd-menu-item": OscdMenuItem;
18
- }
19
- }
11
+ import { CSSResultOrNative } from 'lit';
12
+ import { MenuItemEl } from '@material/web/menu/internal/menuitem/menu-item.js';
13
+ export { type MenuItem } from '@material/web/menu/internal/controllers/menuItemController.js';
14
+ export { type CloseMenuEvent } from '@material/web/menu/internal/controllers/shared.js';
20
15
  /**
16
+ * @tag oscd-menu-item
21
17
  * @summary Menus display a list of choices on a temporary surface.
22
18
  *
23
- * @description
24
19
  * Menu items are the selectable choices within the menu. Menu items must
25
20
  * implement the `MenuItem` interface and also have the `Oscdmenu-item`
26
21
  * attribute. Additionally menu items are list items so they must also have the