@omicronenergy/oscd-ui 0.0.5 → 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 (181) hide show
  1. package/app-bar/OscdAppBar.d.ts +47 -0
  2. package/app-bar/OscdAppBar.js +150 -0
  3. package/app-bar/OscdAppBar.js.map +1 -0
  4. package/app-bar/oscd-app-bar.d.ts +12 -0
  5. package/app-bar/oscd-app-bar.js +9 -0
  6. package/app-bar/oscd-app-bar.js.map +1 -0
  7. package/button/OscdFilledButton.d.ts +38 -0
  8. package/button/OscdFilledButton.js +45 -0
  9. package/button/OscdFilledButton.js.map +1 -0
  10. package/button/OscdFilledButton.spec.d.ts +6 -0
  11. package/button/OscdFilledButton.spec.js +79 -0
  12. package/button/OscdFilledButton.spec.js.map +1 -0
  13. package/button/OscdOutlinedButton.d.ts +40 -0
  14. package/button/OscdOutlinedButton.js +37 -0
  15. package/button/OscdOutlinedButton.js.map +1 -0
  16. package/button/OscdTextButton.d.ts +38 -0
  17. package/button/OscdTextButton.js +35 -0
  18. package/button/OscdTextButton.js.map +1 -0
  19. package/button/oscd-filled-button.d.ts +7 -0
  20. package/button/oscd-filled-button.js +4 -0
  21. package/button/oscd-filled-button.js.map +1 -0
  22. package/button/oscd-outlined-button.d.ts +12 -0
  23. package/button/oscd-outlined-button.js +9 -0
  24. package/button/oscd-outlined-button.js.map +1 -0
  25. package/button/oscd-text-button.d.ts +12 -0
  26. package/button/oscd-text-button.js +9 -0
  27. package/button/oscd-text-button.js.map +1 -0
  28. package/dialog/OscdDialog.d.ts +42 -0
  29. package/dialog/OscdDialog.js +49 -0
  30. package/dialog/OscdDialog.js.map +1 -0
  31. package/dialog/oscd-dialog.d.ts +7 -0
  32. package/dialog/oscd-dialog.js +4 -0
  33. package/dialog/oscd-dialog.js.map +1 -0
  34. package/divider/OscdDivider.d.ts +26 -0
  35. package/divider/OscdDivider.js +22 -0
  36. package/divider/OscdDivider.js.map +1 -0
  37. package/divider/oscd-divider.d.ts +7 -0
  38. package/divider/oscd-divider.js +4 -0
  39. package/divider/oscd-divider.js.map +1 -0
  40. package/elevation/OscdElevation.d.ts +24 -0
  41. package/elevation/OscdElevation.js +20 -0
  42. package/elevation/OscdElevation.js.map +1 -0
  43. package/elevation/oscd-elevation.d.ts +12 -0
  44. package/elevation/oscd-elevation.js +9 -0
  45. package/elevation/oscd-elevation.js.map +1 -0
  46. package/field/OscdFilledField.d.ts +21 -0
  47. package/field/OscdFilledField.js +18 -0
  48. package/field/OscdFilledField.js.map +1 -0
  49. package/field/OscdOutlinedField.d.ts +23 -0
  50. package/field/OscdOutlinedField.js +20 -0
  51. package/field/OscdOutlinedField.js.map +1 -0
  52. package/field/oscd-filled-field.d.ts +7 -0
  53. package/field/oscd-filled-field.js +4 -0
  54. package/field/oscd-filled-field.js.map +1 -0
  55. package/field/oscd-outlined-field.d.ts +7 -0
  56. package/field/oscd-outlined-field.js +4 -0
  57. package/field/oscd-outlined-field.js.map +1 -0
  58. package/icon/OscdIcon.d.ts +24 -0
  59. package/icon/OscdIcon.js +20 -0
  60. package/icon/OscdIcon.js.map +1 -0
  61. package/icon/oscd-icon.d.ts +7 -0
  62. package/icon/oscd-icon.js +4 -0
  63. package/icon/oscd-icon.js.map +1 -0
  64. package/iconbutton/OscdFilledIconButton.d.ts +39 -0
  65. package/iconbutton/OscdFilledIconButton.js +37 -0
  66. package/iconbutton/OscdFilledIconButton.js.map +1 -0
  67. package/iconbutton/OscdFilledTonalIconButton.d.ts +39 -0
  68. package/iconbutton/OscdFilledTonalIconButton.js +37 -0
  69. package/iconbutton/OscdFilledTonalIconButton.js.map +1 -0
  70. package/iconbutton/OscdIconButton.d.ts +38 -0
  71. package/iconbutton/OscdIconButton.js +36 -0
  72. package/iconbutton/OscdIconButton.js.map +1 -0
  73. package/iconbutton/OscdOutlinedIconButton.d.ts +38 -0
  74. package/iconbutton/OscdOutlinedIconButton.js +36 -0
  75. package/iconbutton/OscdOutlinedIconButton.js.map +1 -0
  76. package/iconbutton/oscd-filled-icon-button.d.ts +7 -0
  77. package/iconbutton/oscd-filled-icon-button.js +4 -0
  78. package/iconbutton/oscd-filled-icon-button.js.map +1 -0
  79. package/iconbutton/oscd-filled-tonal-icon-button.d.ts +7 -0
  80. package/iconbutton/oscd-filled-tonal-icon-button.js +4 -0
  81. package/iconbutton/oscd-filled-tonal-icon-button.js.map +1 -0
  82. package/iconbutton/oscd-icon-button.d.ts +7 -0
  83. package/iconbutton/oscd-icon-button.js +4 -0
  84. package/iconbutton/oscd-icon-button.js.map +1 -0
  85. package/iconbutton/oscd-outlined-icon-button.d.ts +7 -0
  86. package/iconbutton/oscd-outlined-icon-button.js +4 -0
  87. package/iconbutton/oscd-outlined-icon-button.js.map +1 -0
  88. package/list/OscdList.d.ts +34 -0
  89. package/list/OscdList.js +44 -0
  90. package/list/OscdList.js.map +1 -0
  91. package/list/OscdListItem.d.ts +52 -0
  92. package/list/OscdListItem.js +78 -0
  93. package/list/OscdListItem.js.map +1 -0
  94. package/list/oscd-list-item.d.ts +7 -0
  95. package/list/oscd-list-item.js +4 -0
  96. package/list/oscd-list-item.js.map +1 -0
  97. package/list/oscd-list.d.ts +7 -0
  98. package/list/oscd-list.js +4 -0
  99. package/list/oscd-list.js.map +1 -0
  100. package/menu/OscdMenu.d.ts +68 -0
  101. package/menu/OscdMenu.js +62 -0
  102. package/menu/OscdMenu.js.map +1 -0
  103. package/menu/OscdMenuItem.d.ts +32 -0
  104. package/menu/OscdMenuItem.js +26 -0
  105. package/menu/OscdMenuItem.js.map +1 -0
  106. package/menu/oscd-menu-item.d.ts +7 -0
  107. package/menu/oscd-menu-item.js +4 -0
  108. package/menu/oscd-menu-item.js.map +1 -0
  109. package/menu/oscd-menu.d.ts +7 -0
  110. package/menu/oscd-menu.js +4 -0
  111. package/menu/oscd-menu.js.map +1 -0
  112. package/navigation-drawer/OscdNavigationDrawer.d.ts +21 -0
  113. package/navigation-drawer/OscdNavigationDrawer.js +43 -0
  114. package/navigation-drawer/OscdNavigationDrawer.js.map +1 -0
  115. package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +15 -0
  116. package/navigation-drawer/OscdNavigationDrawerHeader.js +66 -0
  117. package/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -0
  118. package/navigation-drawer/oscd-navigation-drawer-header.d.ts +7 -0
  119. package/navigation-drawer/oscd-navigation-drawer-header.js +4 -0
  120. package/navigation-drawer/oscd-navigation-drawer-header.js.map +1 -0
  121. package/navigation-drawer/oscd-navigation-drawer.d.ts +7 -0
  122. package/navigation-drawer/oscd-navigation-drawer.js +4 -0
  123. package/navigation-drawer/oscd-navigation-drawer.js.map +1 -0
  124. package/package.json +13 -7
  125. package/select/OscdFilledSelect.d.ts +42 -0
  126. package/select/OscdFilledSelect.js +39 -0
  127. package/select/OscdFilledSelect.js.map +1 -0
  128. package/select/OscdOutlinedSelect.d.ts +42 -0
  129. package/select/OscdOutlinedSelect.js +39 -0
  130. package/select/OscdOutlinedSelect.js.map +1 -0
  131. package/select/OscdSelectOption.d.ts +46 -0
  132. package/select/OscdSelectOption.js +41 -0
  133. package/select/OscdSelectOption.js.map +1 -0
  134. package/select/oscd-filled-select.d.ts +7 -0
  135. package/select/oscd-filled-select.js +4 -0
  136. package/select/oscd-filled-select.js.map +1 -0
  137. package/select/oscd-outlined-select.d.ts +7 -0
  138. package/select/oscd-outlined-select.js +4 -0
  139. package/select/oscd-outlined-select.js.map +1 -0
  140. package/select/oscd-select-option.d.ts +7 -0
  141. package/select/oscd-select-option.js +4 -0
  142. package/select/oscd-select-option.js.map +1 -0
  143. package/tabs/OscdPrimaryTab.d.ts +22 -0
  144. package/tabs/OscdPrimaryTab.js +19 -0
  145. package/tabs/OscdPrimaryTab.js.map +1 -0
  146. package/tabs/OscdSecondaryTab.d.ts +22 -0
  147. package/tabs/OscdSecondaryTab.js +19 -0
  148. package/tabs/OscdSecondaryTab.js.map +1 -0
  149. package/tabs/OscdTabs.d.ts +22 -0
  150. package/tabs/OscdTabs.js +18 -0
  151. package/tabs/OscdTabs.js.map +1 -0
  152. package/tabs/oscd-primary-tab.d.ts +7 -0
  153. package/tabs/oscd-primary-tab.js +4 -0
  154. package/tabs/oscd-primary-tab.js.map +1 -0
  155. package/tabs/oscd-secondary-tab.d.ts +7 -0
  156. package/tabs/oscd-secondary-tab.js +4 -0
  157. package/tabs/oscd-secondary-tab.js.map +1 -0
  158. package/tabs/oscd-tabs.d.ts +7 -0
  159. package/tabs/oscd-tabs.js +4 -0
  160. package/tabs/oscd-tabs.js.map +1 -0
  161. package/textfield/OscdFilledTextField.d.ts +30 -0
  162. package/textfield/OscdFilledTextField.js +30 -0
  163. package/textfield/OscdFilledTextField.js.map +1 -0
  164. package/textfield/OscdOutlinedTextField.d.ts +28 -0
  165. package/textfield/OscdOutlinedTextField.js +28 -0
  166. package/textfield/OscdOutlinedTextField.js.map +1 -0
  167. package/textfield/oscd-filled-text-field.d.ts +7 -0
  168. package/textfield/oscd-filled-text-field.js +4 -0
  169. package/textfield/oscd-filled-text-field.js.map +1 -0
  170. package/textfield/oscd-outlined-text-field.d.ts +7 -0
  171. package/textfield/oscd-outlined-text-field.js +4 -0
  172. package/textfield/oscd-outlined-text-field.js.map +1 -0
  173. package/utils/storybook/getStorybookHelpers.d.ts +4 -0
  174. package/utils/storybook/getStorybookHelpers.js +53 -0
  175. package/utils/storybook/getStorybookHelpers.js.map +1 -0
  176. package/utils/storybook/scopedWcDecorator.d.ts +2 -0
  177. package/utils/storybook/scopedWcDecorator.js +37 -0
  178. package/utils/storybook/scopedWcDecorator.js.map +1 -0
  179. package/utils/storybook/themingDecorator.d.ts +6 -0
  180. package/utils/storybook/themingDecorator.js +100 -0
  181. package/utils/storybook/themingDecorator.js.map +1 -0
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
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';
9
+ /**
10
+ * @tag oscd-filled-tonal-icon-button
11
+ * @summary Icon buttons help people take supplementary actions with a single
12
+ * tap.
13
+ *
14
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
+ * least amount of prominence.
16
+ *
17
+ * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
18
+ * are used for optional supplementary actions such as "Bookmark" or "Star."
19
+ *
20
+ * __Example usages:__
21
+ * - Add to Favorites
22
+ * - Print
23
+ *
24
+ * @final
25
+ * @suppress {visibility}
26
+ */
27
+ export class OscdFilledTonalIconButton extends IconButton {
28
+ static styles = [sharedStyles, styles];
29
+ getRenderClasses() {
30
+ return {
31
+ ...super.getRenderClasses(),
32
+ 'filled-tonal': true,
33
+ 'toggle-filled-tonal': this.toggle,
34
+ };
35
+ }
36
+ }
37
+ //# sourceMappingURL=OscdFilledTonalIconButton.js.map
@@ -0,0 +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;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"]}
@@ -0,0 +1,38 @@
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 { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
13
+ /**
14
+ * @tag oscd-icon-button
15
+ * @summary Icon buttons help people take supplementary actions with a single
16
+ * tap.
17
+ *
18
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
19
+ * least amount of prominence.
20
+ *
21
+ * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
22
+ * are used for optional supplementary actions such as "Bookmark" or "Star."
23
+ *
24
+ * __Example usages:__
25
+ * - Add to Favorites
26
+ * - Print
27
+ *
28
+ * @final
29
+ * @suppress {visibility}
30
+ */
31
+ export declare class OscdIconButton extends IconButton {
32
+ static styles: CSSResultOrNative[];
33
+ protected getRenderClasses(): {
34
+ standard: boolean;
35
+ 'flip-icon': boolean;
36
+ selected: boolean;
37
+ };
38
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
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';
9
+ /**
10
+ * @tag oscd-icon-button
11
+ * @summary Icon buttons help people take supplementary actions with a single
12
+ * tap.
13
+ *
14
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
+ * least amount of prominence.
16
+ *
17
+ * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
18
+ * are used for optional supplementary actions such as "Bookmark" or "Star."
19
+ *
20
+ * __Example usages:__
21
+ * - Add to Favorites
22
+ * - Print
23
+ *
24
+ * @final
25
+ * @suppress {visibility}
26
+ */
27
+ export class OscdIconButton extends IconButton {
28
+ static styles = [sharedStyles, styles];
29
+ getRenderClasses() {
30
+ return {
31
+ ...super.getRenderClasses(),
32
+ standard: true,
33
+ };
34
+ }
35
+ }
36
+ //# sourceMappingURL=OscdIconButton.js.map
@@ -0,0 +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;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"]}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 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 { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
13
+ /**
14
+ * @tag oscd-outlined-icon-button
15
+ * @summary Icon buttons help people take supplementary actions with a single
16
+ * tap.
17
+ *
18
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
19
+ * least amount of prominence.
20
+ *
21
+ * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
22
+ * are used for optional supplementary actions such as "Bookmark" or "Star."
23
+ *
24
+ * __Example usages:__
25
+ * - Add to Favorites
26
+ * - Print
27
+ *
28
+ * @final
29
+ * @suppress {visibility}
30
+ */
31
+ export declare class OscdOutlinedIconButton extends IconButton {
32
+ static styles: CSSResultOrNative[];
33
+ protected getRenderClasses(): {
34
+ outlined: boolean;
35
+ 'flip-icon': boolean;
36
+ selected: boolean;
37
+ };
38
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
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';
9
+ /**
10
+ * @tag oscd-outlined-icon-button
11
+ * @summary Icon buttons help people take supplementary actions with a single
12
+ * tap.
13
+ *
14
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
15
+ * least amount of prominence.
16
+ *
17
+ * __Rationale:__ The most compact and unobtrusive type of button, icon buttons
18
+ * are used for optional supplementary actions such as "Bookmark" or "Star."
19
+ *
20
+ * __Example usages:__
21
+ * - Add to Favorites
22
+ * - Print
23
+ *
24
+ * @final
25
+ * @suppress {visibility}
26
+ */
27
+ export class OscdOutlinedIconButton extends IconButton {
28
+ static styles = [sharedStyles, styles];
29
+ getRenderClasses() {
30
+ return {
31
+ ...super.getRenderClasses(),
32
+ outlined: true,
33
+ };
34
+ }
35
+ }
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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdFilledIconButton } from './OscdFilledIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-filled-icon-button': OscdFilledIconButton;
5
+ }
6
+ }
7
+ export { OscdFilledIconButton };
@@ -0,0 +1,4 @@
1
+ import { OscdFilledIconButton } from './OscdFilledIconButton.js';
2
+ customElements.define('oscd-filled-icon-button', OscdFilledIconButton);
3
+ export { OscdFilledIconButton };
4
+ //# sourceMappingURL=oscd-filled-icon-button.js.map
@@ -0,0 +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,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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdFilledTonalIconButton } from './OscdFilledTonalIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-filled-tonal-icon-button': OscdFilledTonalIconButton;
5
+ }
6
+ }
7
+ export { OscdFilledTonalIconButton };
@@ -0,0 +1,4 @@
1
+ import { OscdFilledTonalIconButton } from './OscdFilledTonalIconButton.js';
2
+ customElements.define('oscd-filled-tonal-icon-button', OscdFilledTonalIconButton);
3
+ export { OscdFilledTonalIconButton };
4
+ //# sourceMappingURL=oscd-filled-tonal-icon-button.js.map
@@ -0,0 +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,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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdIconButton } from './OscdIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-icon-button': OscdIconButton;
5
+ }
6
+ }
7
+ export { OscdIconButton };
@@ -0,0 +1,4 @@
1
+ import { OscdIconButton } from './OscdIconButton.js';
2
+ customElements.define('oscd-icon-button', OscdIconButton);
3
+ export { OscdIconButton };
4
+ //# sourceMappingURL=oscd-icon-button.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdOutlinedIconButton } from './OscdOutlinedIconButton.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-outlined-icon-button': OscdOutlinedIconButton;
5
+ }
6
+ }
7
+ export { OscdOutlinedIconButton };
@@ -0,0 +1,4 @@
1
+ import { OscdOutlinedIconButton } from './OscdOutlinedIconButton.js';
2
+ customElements.define('oscd-outlined-icon-button', OscdOutlinedIconButton);
3
+ export { OscdOutlinedIconButton };
4
+ //# sourceMappingURL=oscd-outlined-icon-button.js.map
@@ -0,0 +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,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"]}
@@ -0,0 +1,34 @@
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 { List } from '@material/web/list/internal/list.js';
13
+ /**
14
+ * @tag oscd-list
15
+ * @summary Lists are continuous, vertical indexes of text or images.
16
+ *
17
+ * Lists consist of one or more list items, and can contain actions represented
18
+ * by icons and text. List items come in three sizes: one-line, two-line, and
19
+ * three-line.
20
+ *
21
+ * __Takeaways:__
22
+ *
23
+ * - Lists should be sorted in logical ways that make content easy to scan, such
24
+ * as alphabetical, numerical, chronological, or by user preference.
25
+ * - Lists present content in a way that makes it easy to identify a specific
26
+ * item in a collection and act on it.
27
+ * - Lists should present icons, text, and actions in a consistent format.
28
+ *
29
+ * @final
30
+ * @suppress {visibility}
31
+ */
32
+ export declare class OscdList extends List {
33
+ static styles: CSSResultOrNative[];
34
+ }
@@ -0,0 +1,44 @@
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 { 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
+ const overrideStyles = css `
15
+ :host {
16
+ --md-list-container-color: var(
17
+ --oscd-list-container-color,
18
+ var(--md-sys-color-surface-container, #fef7ff)
19
+ );
20
+ }
21
+ `;
22
+ /**
23
+ * @tag oscd-list
24
+ * @summary Lists are continuous, vertical indexes of text or images.
25
+ *
26
+ * Lists consist of one or more list items, and can contain actions represented
27
+ * by icons and text. List items come in three sizes: one-line, two-line, and
28
+ * three-line.
29
+ *
30
+ * __Takeaways:__
31
+ *
32
+ * - Lists should be sorted in logical ways that make content easy to scan, such
33
+ * as alphabetical, numerical, chronological, or by user preference.
34
+ * - Lists present content in a way that makes it easy to identify a specific
35
+ * item in a collection and act on it.
36
+ * - Lists should present icons, text, and actions in a consistent format.
37
+ *
38
+ * @final
39
+ * @suppress {visibility}
40
+ */
41
+ export class OscdList extends List {
42
+ static styles = [styles, overrideStyles];
43
+ }
44
+ //# sourceMappingURL=OscdList.js.map
@@ -0,0 +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;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"]}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 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 { 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
+ /**
15
+ * @tag oscd-list-item
16
+ * @summary
17
+ * Lists are continuous, vertical indexes of text or images. Items are placed
18
+ * inside the list.
19
+ *
20
+ * Lists consist of one or more list items, and can contain actions represented
21
+ * by icons and text. List items come in three sizes: one-line, two-line, and
22
+ * three-line.
23
+ *
24
+ * __Takeaways:__
25
+ *
26
+ * - Lists should be sorted in logical ways that make content easy to scan, such
27
+ * as alphabetical, numerical, chronological, or by user preference.
28
+ * - Lists present content in a way that makes it easy to identify a specific
29
+ * item in a collection and act on it.
30
+ * - Lists should present icons, text, and actions in a consistent format.
31
+ *
32
+ * Acceptable slot child variants are:
33
+ *
34
+ * - `img[slot=end]`
35
+ * - `img[slot=start]`
36
+ *
37
+ * @example
38
+ * ```html
39
+ * <oscd-list-item
40
+ * headline="User Name"
41
+ * supportingText="user@name.com">
42
+ * <oscd-icon slot="start">account_circle</oscd-icon>
43
+ * <oscd-icon slot="end">check</oscd-icon>
44
+ * </oscd-list-item>
45
+ * ```
46
+ *
47
+ * @final
48
+ * @suppress {visibility}
49
+ */
50
+ export declare class OscdListItem extends ListItem {
51
+ static styles: CSSResultOrNative[];
52
+ }
@@ -0,0 +1,78 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 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 { 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
+ const styleOverrides = css `
15
+ :host([activated]) {
16
+ --md-list-item-label-text-color: var(
17
+ --oscd-list-item-activated-color,
18
+ var(--md-sys-color-primary, #6750a4)
19
+ );
20
+
21
+ background-color: var(
22
+ --oscd-list-item-activated-background-color,
23
+ var(--md-sys-color-surface-bright, #eaddff)
24
+ );
25
+ }
26
+ [slot='start'] {
27
+ color: var(
28
+ --md-list-item-leading-icon-color,
29
+ var(--md-sys-color-on-surface, #49454f)
30
+ );
31
+ }
32
+ [slot='end'] {
33
+ color: var(
34
+ --md-list-item-trailing-icon-color,
35
+ var(--md-sys-color-on-surface, #49454f)
36
+ );
37
+ }
38
+ `;
39
+ /**
40
+ * @tag oscd-list-item
41
+ * @summary
42
+ * Lists are continuous, vertical indexes of text or images. Items are placed
43
+ * inside the list.
44
+ *
45
+ * Lists consist of one or more list items, and can contain actions represented
46
+ * by icons and text. List items come in three sizes: one-line, two-line, and
47
+ * three-line.
48
+ *
49
+ * __Takeaways:__
50
+ *
51
+ * - Lists should be sorted in logical ways that make content easy to scan, such
52
+ * as alphabetical, numerical, chronological, or by user preference.
53
+ * - Lists present content in a way that makes it easy to identify a specific
54
+ * item in a collection and act on it.
55
+ * - Lists should present icons, text, and actions in a consistent format.
56
+ *
57
+ * Acceptable slot child variants are:
58
+ *
59
+ * - `img[slot=end]`
60
+ * - `img[slot=start]`
61
+ *
62
+ * @example
63
+ * ```html
64
+ * <oscd-list-item
65
+ * headline="User Name"
66
+ * supportingText="user@name.com">
67
+ * <oscd-icon slot="start">account_circle</oscd-icon>
68
+ * <oscd-icon slot="end">check</oscd-icon>
69
+ * </oscd-list-item>
70
+ * ```
71
+ *
72
+ * @final
73
+ * @suppress {visibility}
74
+ */
75
+ export class OscdListItem extends ListItem {
76
+ static styles = [styles, styleOverrides];
77
+ }
78
+ //# sourceMappingURL=OscdListItem.js.map
@@ -0,0 +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;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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdListItem } from './OscdListItem.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-list-item': OscdListItem;
5
+ }
6
+ }
7
+ export { OscdListItem };
@@ -0,0 +1,4 @@
1
+ import { OscdListItem } from './OscdListItem.js';
2
+ customElements.define('oscd-list-item', OscdListItem);
3
+ export { OscdListItem };
4
+ //# sourceMappingURL=oscd-list-item.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,7 @@
1
+ import { OscdList } from './OscdList.js';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'oscd-list': OscdList;
5
+ }
6
+ }
7
+ export { OscdList };
@@ -0,0 +1,4 @@
1
+ import { OscdList } from './OscdList.js';
2
+ customElements.define('oscd-list', OscdList);
3
+ export { OscdList };
4
+ //# sourceMappingURL=oscd-list.js.map
@@ -0,0 +1 @@
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"]}
@@ -0,0 +1,68 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2022 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 { 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
+ /**
18
+ * @tag oscd-menu
19
+ * @summary Menus display a list of choices on a temporary surface.
20
+ *
21
+ * Menus appear when users interact with a button, action, or other control.
22
+ *
23
+ * They can be opened from a variety of elements, most commonly icon buttons,
24
+ * buttons, and text fields.
25
+ *
26
+ * oscd-menu listens for the `close-menu` and `deselect-items` events.
27
+ *
28
+ * - `close-menu` closes the menu when dispatched from a child element.
29
+ * - `deselect-items` deselects all of its immediate menu-item children.
30
+ *
31
+ * @example
32
+ * ```html
33
+ * <div style="position:relative;">
34
+ * <button
35
+ * id="anchor"
36
+ * @click=${() => this.menuRef.value.show()}>
37
+ * Click to open menu
38
+ * </button>
39
+ * <!--
40
+ * `has-overflow` is required when using a submenu which overflows the
41
+ * menu's contents.
42
+ *
43
+ * Additionally, `anchor` ingests an idref which do not pass through shadow
44
+ * roots. You can also set `.anchorElement` to an element reference if
45
+ * necessary.
46
+ * -->
47
+ * <oscd-menu anchor="anchor" has-overflow ${ref(menuRef)}>
48
+ * <oscd-menu-item headline="This is a headline"></oscd-menu-item>
49
+ * <oscd-sub-menu>
50
+ * <oscd-menu-item
51
+ * slot="item"
52
+ * headline="this is a submenu item">
53
+ * </oscd-menu-item>
54
+ * <oscd-menu slot="menu">
55
+ * <oscd-menu-item headline="This is an item inside a submenu">
56
+ * </oscd-menu-item>
57
+ * </oscd-menu>
58
+ * </oscd-sub-menu>
59
+ * </oscd-menu>
60
+ * </div>
61
+ * ```
62
+ *
63
+ * @final
64
+ * @suppress {visibility}
65
+ */
66
+ export declare class OscdMenu extends Menu {
67
+ static styles: CSSResultOrNative[];
68
+ }