@omicronenergy/oscd-ui 0.0.6 → 0.0.8

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 (406) hide show
  1. package/README.md +13 -13
  2. package/dist/about/Catalog.stories.js +305 -0
  3. package/{app-bar → dist/app-bar}/OscdAppBar.js +27 -25
  4. package/dist/app-bar/OscdAppBar.stories.js +83 -0
  5. package/dist/button/OscdElevatedButton.js +53 -0
  6. package/dist/button/OscdElevatedButton.spec.js +36 -0
  7. package/dist/button/OscdElevatedButton.stories.js +20 -0
  8. package/dist/button/OscdFilledButton.js +51 -0
  9. package/dist/button/OscdFilledButton.spec.js +36 -0
  10. package/dist/button/OscdFilledButton.stories.js +20 -0
  11. package/dist/button/OscdFilledTonalButton.js +52 -0
  12. package/dist/button/OscdFilledTonalButton.spec.js +36 -0
  13. package/dist/button/OscdFilledTonalButton.stories.js +20 -0
  14. package/dist/button/OscdOutlinedButton.js +46 -0
  15. package/dist/button/OscdOutlinedButton.spec.js +36 -0
  16. package/dist/button/OscdOutlinedButton.stories.js +20 -0
  17. package/dist/button/OscdTextButton.js +44 -0
  18. package/dist/button/OscdTextButton.spec.js +36 -0
  19. package/dist/button/OscdTextButton.stories.js +20 -0
  20. package/dist/button/oscd-elevated-button.js +9 -0
  21. package/dist/button/oscd-filled-button.js +9 -0
  22. package/dist/button/oscd-filled-tonal-button.js +9 -0
  23. package/dist/button/oscd-outlined-button.js +9 -0
  24. package/dist/button/oscd-text-button.js +9 -0
  25. package/dist/checkbox/OscdCheckbox.js +36 -0
  26. package/dist/checkbox/OscdCheckbox.spec.js +38 -0
  27. package/dist/checkbox/OscdCheckbox.stories.js +20 -0
  28. package/dist/checkbox/oscd-checkbox.js +9 -0
  29. package/dist/chips/OscdAssistChip.js +36 -0
  30. package/dist/chips/OscdAssistChip.spec.js +36 -0
  31. package/dist/chips/OscdAssistChip.stories.js +20 -0
  32. package/dist/chips/OscdChipSet.js +18 -0
  33. package/dist/chips/OscdChipSet.spec.js +38 -0
  34. package/dist/chips/OscdChipSet.stories.js +20 -0
  35. package/dist/chips/OscdFilterChip.js +42 -0
  36. package/dist/chips/OscdFilterChip.spec.js +36 -0
  37. package/dist/chips/OscdFilterChip.stories.js +20 -0
  38. package/dist/chips/OscdInputChip.js +38 -0
  39. package/dist/chips/OscdInputChip.spec.js +36 -0
  40. package/dist/chips/OscdInputChip.stories.js +20 -0
  41. package/dist/chips/OscdSuggestionChip.js +38 -0
  42. package/dist/chips/OscdSuggestionChip.spec.js +36 -0
  43. package/dist/chips/OscdSuggestionChip.stories.js +20 -0
  44. package/dist/chips/oscd-assist-chip.js +9 -0
  45. package/dist/chips/oscd-chip-set.js +9 -0
  46. package/dist/chips/oscd-filter-chip.js +9 -0
  47. package/dist/chips/oscd-input-chip.js +9 -0
  48. package/dist/chips/oscd-suggestion-chip.js +9 -0
  49. package/{dialog → dist/dialog}/OscdDialog.js +12 -13
  50. package/dist/dialog/OscdDialog.spec.js +38 -0
  51. package/dist/dialog/OscdDialog.stories.js +20 -0
  52. package/dist/dialog/oscd-dialog.js +9 -0
  53. package/dist/divider/OscdDivider.js +21 -0
  54. package/dist/divider/OscdDivider.spec.js +38 -0
  55. package/dist/divider/OscdDivider.stories.js +20 -0
  56. package/dist/divider/oscd-divider.js +9 -0
  57. package/dist/elevation/OscdElevation.js +20 -0
  58. package/dist/elevation/OscdElevation.spec.js +36 -0
  59. package/dist/elevation/OscdElevation.stories.js +20 -0
  60. package/dist/elevation/oscd-elevation.js +9 -0
  61. package/dist/fab/OscdBrandedFab.js +68 -0
  62. package/dist/fab/OscdBrandedFab.spec.js +36 -0
  63. package/dist/fab/OscdBrandedFab.stories.js +20 -0
  64. package/dist/fab/OscdFab.js +58 -0
  65. package/dist/fab/OscdFab.spec.js +38 -0
  66. package/dist/fab/OscdFab.stories.js +20 -0
  67. package/dist/fab/oscd-branded-fab.js +9 -0
  68. package/dist/fab/oscd-fab.js +9 -0
  69. package/dist/field/OscdFilledField.js +18 -0
  70. package/dist/field/OscdFilledField.spec.js +36 -0
  71. package/dist/field/OscdFilledField.stories.js +20 -0
  72. package/dist/field/OscdOutlinedField.js +18 -0
  73. package/dist/field/OscdOutlinedField.spec.js +36 -0
  74. package/dist/field/OscdOutlinedField.stories.js +20 -0
  75. package/dist/field/oscd-filled-field.js +9 -0
  76. package/dist/field/oscd-outlined-field.js +9 -0
  77. package/dist/focus/OscdFocusRing.js +18 -0
  78. package/dist/focus/OscdFocusRing.spec.js +36 -0
  79. package/dist/focus/OscdFocusRing.stories.js +20 -0
  80. package/dist/focus/oscd-focus-ring.js +9 -0
  81. package/dist/icon/OscdIcon.js +17 -0
  82. package/dist/icon/OscdIcon.spec.js +38 -0
  83. package/dist/icon/OscdIcon.stories.js +20 -0
  84. package/dist/icon/oscd-icon.js +9 -0
  85. package/dist/iconbutton/OscdFilledIconButton.js +49 -0
  86. package/dist/iconbutton/OscdFilledIconButton.spec.js +36 -0
  87. package/dist/iconbutton/OscdFilledIconButton.stories.js +20 -0
  88. package/dist/iconbutton/OscdFilledTonalIconButton.js +49 -0
  89. package/dist/iconbutton/OscdFilledTonalIconButton.spec.js +40 -0
  90. package/dist/iconbutton/OscdFilledTonalIconButton.stories.js +20 -0
  91. package/dist/iconbutton/OscdIconButton.js +48 -0
  92. package/dist/iconbutton/OscdIconButton.spec.js +36 -0
  93. package/dist/iconbutton/OscdIconButton.stories.js +20 -0
  94. package/dist/iconbutton/OscdOutlinedIconButton.js +48 -0
  95. package/dist/iconbutton/OscdOutlinedIconButton.spec.js +38 -0
  96. package/dist/iconbutton/OscdOutlinedIconButton.stories.js +20 -0
  97. package/dist/iconbutton/oscd-filled-icon-button.js +9 -0
  98. package/dist/iconbutton/oscd-filled-tonal-icon-button.js +9 -0
  99. package/dist/iconbutton/oscd-icon-button.js +9 -0
  100. package/dist/iconbutton/oscd-outlined-icon-button.js +9 -0
  101. package/dist/labs/badge/OscdBadge.js +16 -0
  102. package/dist/labs/badge/OscdBadge.spec.js +38 -0
  103. package/dist/labs/badge/OscdBadge.stories.js +20 -0
  104. package/dist/labs/badge/oscd-badge.js +9 -0
  105. package/dist/labs/card/OscdElevatedCard.js +27 -0
  106. package/dist/labs/card/OscdElevatedCard.spec.js +36 -0
  107. package/dist/labs/card/OscdElevatedCard.stories.js +20 -0
  108. package/dist/labs/card/OscdFilledCard.js +27 -0
  109. package/dist/labs/card/OscdFilledCard.spec.js +36 -0
  110. package/dist/labs/card/OscdFilledCard.stories.js +20 -0
  111. package/dist/labs/card/OscdOutlinedCard.js +27 -0
  112. package/dist/labs/card/OscdOutlinedCard.spec.js +36 -0
  113. package/dist/labs/card/OscdOutlinedCard.stories.js +20 -0
  114. package/dist/labs/card/oscd-elevated-card.js +9 -0
  115. package/dist/labs/card/oscd-filled-card.js +9 -0
  116. package/dist/labs/card/oscd-outlined-card.js +9 -0
  117. package/dist/labs/item/OscdItem.js +71 -0
  118. package/dist/labs/item/OscdItem.spec.js +38 -0
  119. package/dist/labs/item/OscdItem.stories.js +20 -0
  120. package/dist/labs/item/oscd-item.js +9 -0
  121. package/dist/labs/navigationbar/OscdNavigationBar.js +26 -0
  122. package/dist/labs/navigationbar/OscdNavigationBar.spec.js +44 -0
  123. package/dist/labs/navigationbar/OscdNavigationBar.stories.js +20 -0
  124. package/dist/labs/navigationbar/oscd-navigation-bar.js +9 -0
  125. package/dist/labs/navigationtab/OscdNavigationTab.js +30 -0
  126. package/dist/labs/navigationtab/OscdNavigationTab.spec.js +36 -0
  127. package/dist/labs/navigationtab/OscdNavigationTab.stories.js +20 -0
  128. package/dist/labs/navigationtab/oscd-navigation-tab.js +9 -0
  129. package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.js +31 -0
  130. package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.spec.js +40 -0
  131. package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.stories.js +24 -0
  132. package/dist/labs/segmentedbutton/oscd-outlined-segmented-button.js +9 -0
  133. package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.js +19 -0
  134. package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.spec.js +40 -0
  135. package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.stories.js +35 -0
  136. package/dist/labs/segmentedbuttonset/oscd-outlined-segmented-button-set.js +9 -0
  137. package/{list/OscdList.d.ts → dist/list/OscdList.js} +10 -14
  138. package/dist/list/OscdList.spec.js +38 -0
  139. package/dist/list/OscdList.stories.js +20 -0
  140. package/{list/OscdListItem.d.ts → dist/list/OscdListItem.js} +20 -9
  141. package/dist/list/OscdListItem.spec.js +36 -0
  142. package/dist/list/OscdListItem.stories.js +20 -0
  143. package/dist/list/oscd-list-item.js +9 -0
  144. package/dist/list/oscd-list.js +9 -0
  145. package/{menu/OscdMenu.d.ts → dist/menu/OscdMenu.js} +21 -12
  146. package/dist/menu/OscdMenu.spec.js +38 -0
  147. package/dist/menu/OscdMenu.stories.js +20 -0
  148. package/dist/menu/OscdMenuItem.js +40 -0
  149. package/dist/menu/OscdMenuItem.spec.js +36 -0
  150. package/dist/menu/OscdMenuItem.stories.js +20 -0
  151. package/dist/menu/OscdSubMenu.js +59 -0
  152. package/dist/menu/OscdSubMenu.spec.js +38 -0
  153. package/dist/menu/OscdSubMenu.stories.js +20 -0
  154. package/dist/menu/oscd-menu-item.js +9 -0
  155. package/dist/menu/oscd-menu.js +9 -0
  156. package/dist/menu/oscd-sub-menu.js +9 -0
  157. package/dist/navigation-drawer/OscdNavigationDrawer.js +48 -0
  158. package/dist/navigation-drawer/OscdNavigationDrawer.stories.js +98 -0
  159. package/{navigation-drawer → dist/navigation-drawer}/OscdNavigationDrawerHeader.js +6 -6
  160. package/dist/navigation-drawer/OscdNavigationDrawerHeader.stories.js +41 -0
  161. package/dist/progress/OscdCircularProgress.js +24 -0
  162. package/dist/progress/OscdCircularProgress.spec.js +36 -0
  163. package/dist/progress/OscdCircularProgress.stories.js +15 -0
  164. package/dist/progress/OscdLinearProgress.js +23 -0
  165. package/dist/progress/OscdLinearProgress.spec.js +36 -0
  166. package/dist/progress/OscdLinearProgress.stories.js +15 -0
  167. package/dist/progress/oscd-circular-progress.js +9 -0
  168. package/dist/progress/oscd-linear-progress.js +9 -0
  169. package/dist/radio/OscdRadio.js +39 -0
  170. package/dist/radio/OscdRadio.spec.js +38 -0
  171. package/dist/radio/OscdRadio.stories.js +45 -0
  172. package/dist/radio/oscd-radio.js +9 -0
  173. package/dist/ripple/OscdRipple.js +24 -0
  174. package/dist/ripple/OscdRipple.spec.js +38 -0
  175. package/dist/ripple/OscdRipple.stories.js +20 -0
  176. package/dist/ripple/oscd-ripple.js +9 -0
  177. package/dist/select/OscdFilledSelect.js +54 -0
  178. package/dist/select/OscdFilledSelect.spec.js +36 -0
  179. package/dist/select/OscdFilledSelect.stories.js +21 -0
  180. package/dist/select/OscdOutlinedSelect.js +54 -0
  181. package/dist/select/OscdOutlinedSelect.spec.js +36 -0
  182. package/dist/select/OscdOutlinedSelect.stories.js +21 -0
  183. package/dist/select/OscdSelectOption.js +55 -0
  184. package/dist/select/OscdSelectOption.spec.js +36 -0
  185. package/dist/select/OscdSelectOption.stories.js +22 -0
  186. package/dist/select/oscd-filled-select.js +9 -0
  187. package/dist/select/oscd-outlined-select.js +9 -0
  188. package/dist/select/oscd-select-option.js +9 -0
  189. package/dist/slider/OscdSlider.js +43 -0
  190. package/dist/slider/OscdSlider.spec.js +38 -0
  191. package/dist/slider/OscdSlider.stories.js +20 -0
  192. package/dist/slider/oscd-slider.js +9 -0
  193. package/dist/switch/OscdSwitch.js +33 -0
  194. package/dist/switch/OscdSwitch.spec.js +38 -0
  195. package/dist/switch/OscdSwitch.stories.js +20 -0
  196. package/dist/switch/oscd-switch.js +9 -0
  197. package/dist/tabs/OscdPrimaryTab.js +34 -0
  198. package/dist/tabs/OscdPrimaryTab.spec.js +36 -0
  199. package/dist/tabs/OscdPrimaryTab.stories.js +25 -0
  200. package/dist/tabs/OscdSecondaryTab.js +34 -0
  201. package/dist/tabs/OscdSecondaryTab.spec.js +36 -0
  202. package/dist/tabs/OscdSecondaryTab.stories.js +24 -0
  203. package/dist/tabs/OscdTabs.js +29 -0
  204. package/dist/tabs/OscdTabs.spec.js +38 -0
  205. package/dist/tabs/OscdTabs.stories.js +39 -0
  206. package/dist/tabs/oscd-primary-tab.js +9 -0
  207. package/dist/tabs/oscd-secondary-tab.js +9 -0
  208. package/dist/tabs/oscd-tabs.js +9 -0
  209. package/dist/textfield/OscdFilledTextField.js +35 -0
  210. package/dist/textfield/OscdFilledTextField.spec.js +36 -0
  211. package/dist/textfield/OscdFilledTextField.stories.js +20 -0
  212. package/dist/textfield/OscdOutlinedTextField.js +35 -0
  213. package/dist/textfield/OscdOutlinedTextField.spec.js +36 -0
  214. package/dist/textfield/OscdOutlinedTextField.stories.js +20 -0
  215. package/dist/textfield/oscd-filled-text-field.js +9 -0
  216. package/dist/textfield/oscd-outlined-text-field.js +9 -0
  217. package/{utils → dist/utils}/storybook/getStorybookHelpers.js +9 -6
  218. package/dist/utils/storybook/getStorybookMeta.js +49 -0
  219. package/{utils → dist/utils}/storybook/scopedWcDecorator.js +1 -0
  220. package/dist/utils/storybook/story-overrides/button-overrides.js +28 -0
  221. package/dist/utils/storybook/story-overrides/card-overrides.js +35 -0
  222. package/dist/utils/storybook/story-overrides/checkbox-overrides.js +27 -0
  223. package/dist/utils/storybook/story-overrides/chip-overrides.js +41 -0
  224. package/dist/utils/storybook/story-overrides/dialog-overrides.js +43 -0
  225. package/dist/utils/storybook/story-overrides/divider-overrides.js +19 -0
  226. package/dist/utils/storybook/story-overrides/elevation-overrides.js +38 -0
  227. package/dist/utils/storybook/story-overrides/fab-overrides.js +90 -0
  228. package/dist/utils/storybook/story-overrides/icon-buttons-overrides.js +32 -0
  229. package/dist/utils/storybook/story-overrides/icon-overrides.js +23 -0
  230. package/dist/utils/storybook/story-overrides/list-overrides.js +43 -0
  231. package/dist/utils/storybook/story-overrides/menu-overrides.js +75 -0
  232. package/dist/utils/storybook/story-overrides/story-overrides.js +29 -0
  233. package/dist/utils/storybook/story-overrides/text-field-overrides.js +52 -0
  234. package/package.json +177 -162
  235. package/app-bar/OscdAppBar.d.ts +0 -47
  236. package/app-bar/OscdAppBar.js.map +0 -1
  237. package/app-bar/oscd-app-bar.d.ts +0 -12
  238. package/app-bar/oscd-app-bar.js.map +0 -1
  239. package/button/OscdFilledButton.d.ts +0 -38
  240. package/button/OscdFilledButton.js +0 -45
  241. package/button/OscdFilledButton.js.map +0 -1
  242. package/button/OscdFilledButton.spec.d.ts +0 -6
  243. package/button/OscdFilledButton.spec.js +0 -79
  244. package/button/OscdFilledButton.spec.js.map +0 -1
  245. package/button/OscdOutlinedButton.d.ts +0 -40
  246. package/button/OscdOutlinedButton.js +0 -37
  247. package/button/OscdOutlinedButton.js.map +0 -1
  248. package/button/OscdTextButton.d.ts +0 -38
  249. package/button/OscdTextButton.js +0 -35
  250. package/button/OscdTextButton.js.map +0 -1
  251. package/button/oscd-filled-button.d.ts +0 -7
  252. package/button/oscd-filled-button.js +0 -4
  253. package/button/oscd-filled-button.js.map +0 -1
  254. package/button/oscd-outlined-button.d.ts +0 -12
  255. package/button/oscd-outlined-button.js +0 -9
  256. package/button/oscd-outlined-button.js.map +0 -1
  257. package/button/oscd-text-button.d.ts +0 -12
  258. package/button/oscd-text-button.js +0 -9
  259. package/button/oscd-text-button.js.map +0 -1
  260. package/dialog/OscdDialog.d.ts +0 -42
  261. package/dialog/OscdDialog.js.map +0 -1
  262. package/dialog/oscd-dialog.d.ts +0 -7
  263. package/dialog/oscd-dialog.js +0 -4
  264. package/dialog/oscd-dialog.js.map +0 -1
  265. package/divider/OscdDivider.d.ts +0 -26
  266. package/divider/OscdDivider.js +0 -22
  267. package/divider/OscdDivider.js.map +0 -1
  268. package/divider/oscd-divider.d.ts +0 -7
  269. package/divider/oscd-divider.js +0 -4
  270. package/divider/oscd-divider.js.map +0 -1
  271. package/elevation/OscdElevation.d.ts +0 -24
  272. package/elevation/OscdElevation.js +0 -20
  273. package/elevation/OscdElevation.js.map +0 -1
  274. package/elevation/oscd-elevation.d.ts +0 -12
  275. package/elevation/oscd-elevation.js +0 -9
  276. package/elevation/oscd-elevation.js.map +0 -1
  277. package/field/OscdFilledField.d.ts +0 -21
  278. package/field/OscdFilledField.js +0 -18
  279. package/field/OscdFilledField.js.map +0 -1
  280. package/field/OscdOutlinedField.d.ts +0 -23
  281. package/field/OscdOutlinedField.js +0 -20
  282. package/field/OscdOutlinedField.js.map +0 -1
  283. package/field/oscd-filled-field.d.ts +0 -7
  284. package/field/oscd-filled-field.js +0 -4
  285. package/field/oscd-filled-field.js.map +0 -1
  286. package/field/oscd-outlined-field.d.ts +0 -7
  287. package/field/oscd-outlined-field.js +0 -4
  288. package/field/oscd-outlined-field.js.map +0 -1
  289. package/icon/OscdIcon.d.ts +0 -24
  290. package/icon/OscdIcon.js +0 -20
  291. package/icon/OscdIcon.js.map +0 -1
  292. package/icon/oscd-icon.d.ts +0 -7
  293. package/icon/oscd-icon.js +0 -4
  294. package/icon/oscd-icon.js.map +0 -1
  295. package/iconbutton/OscdFilledIconButton.d.ts +0 -39
  296. package/iconbutton/OscdFilledIconButton.js +0 -37
  297. package/iconbutton/OscdFilledIconButton.js.map +0 -1
  298. package/iconbutton/OscdFilledTonalIconButton.d.ts +0 -39
  299. package/iconbutton/OscdFilledTonalIconButton.js +0 -37
  300. package/iconbutton/OscdFilledTonalIconButton.js.map +0 -1
  301. package/iconbutton/OscdIconButton.d.ts +0 -38
  302. package/iconbutton/OscdIconButton.js +0 -36
  303. package/iconbutton/OscdIconButton.js.map +0 -1
  304. package/iconbutton/OscdOutlinedIconButton.d.ts +0 -38
  305. package/iconbutton/OscdOutlinedIconButton.js +0 -36
  306. package/iconbutton/OscdOutlinedIconButton.js.map +0 -1
  307. package/iconbutton/oscd-filled-icon-button.d.ts +0 -7
  308. package/iconbutton/oscd-filled-icon-button.js +0 -4
  309. package/iconbutton/oscd-filled-icon-button.js.map +0 -1
  310. package/iconbutton/oscd-filled-tonal-icon-button.d.ts +0 -7
  311. package/iconbutton/oscd-filled-tonal-icon-button.js +0 -4
  312. package/iconbutton/oscd-filled-tonal-icon-button.js.map +0 -1
  313. package/iconbutton/oscd-icon-button.d.ts +0 -7
  314. package/iconbutton/oscd-icon-button.js +0 -4
  315. package/iconbutton/oscd-icon-button.js.map +0 -1
  316. package/iconbutton/oscd-outlined-icon-button.d.ts +0 -7
  317. package/iconbutton/oscd-outlined-icon-button.js +0 -4
  318. package/iconbutton/oscd-outlined-icon-button.js.map +0 -1
  319. package/list/OscdList.js +0 -44
  320. package/list/OscdList.js.map +0 -1
  321. package/list/OscdListItem.js +0 -78
  322. package/list/OscdListItem.js.map +0 -1
  323. package/list/oscd-list-item.d.ts +0 -7
  324. package/list/oscd-list-item.js +0 -4
  325. package/list/oscd-list-item.js.map +0 -1
  326. package/list/oscd-list.d.ts +0 -7
  327. package/list/oscd-list.js +0 -4
  328. package/list/oscd-list.js.map +0 -1
  329. package/menu/OscdMenu.js +0 -62
  330. package/menu/OscdMenu.js.map +0 -1
  331. package/menu/OscdMenuItem.d.ts +0 -32
  332. package/menu/OscdMenuItem.js +0 -26
  333. package/menu/OscdMenuItem.js.map +0 -1
  334. package/menu/oscd-menu-item.d.ts +0 -7
  335. package/menu/oscd-menu-item.js +0 -4
  336. package/menu/oscd-menu-item.js.map +0 -1
  337. package/menu/oscd-menu.d.ts +0 -7
  338. package/menu/oscd-menu.js +0 -4
  339. package/menu/oscd-menu.js.map +0 -1
  340. package/navigation-drawer/OscdNavigationDrawer.d.ts +0 -21
  341. package/navigation-drawer/OscdNavigationDrawer.js +0 -43
  342. package/navigation-drawer/OscdNavigationDrawer.js.map +0 -1
  343. package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +0 -15
  344. package/navigation-drawer/OscdNavigationDrawerHeader.js.map +0 -1
  345. package/navigation-drawer/oscd-navigation-drawer-header.d.ts +0 -7
  346. package/navigation-drawer/oscd-navigation-drawer-header.js.map +0 -1
  347. package/navigation-drawer/oscd-navigation-drawer.d.ts +0 -7
  348. package/navigation-drawer/oscd-navigation-drawer.js.map +0 -1
  349. package/select/OscdFilledSelect.d.ts +0 -42
  350. package/select/OscdFilledSelect.js +0 -39
  351. package/select/OscdFilledSelect.js.map +0 -1
  352. package/select/OscdOutlinedSelect.d.ts +0 -42
  353. package/select/OscdOutlinedSelect.js +0 -39
  354. package/select/OscdOutlinedSelect.js.map +0 -1
  355. package/select/OscdSelectOption.d.ts +0 -46
  356. package/select/OscdSelectOption.js +0 -41
  357. package/select/OscdSelectOption.js.map +0 -1
  358. package/select/oscd-filled-select.d.ts +0 -7
  359. package/select/oscd-filled-select.js +0 -4
  360. package/select/oscd-filled-select.js.map +0 -1
  361. package/select/oscd-outlined-select.d.ts +0 -7
  362. package/select/oscd-outlined-select.js +0 -4
  363. package/select/oscd-outlined-select.js.map +0 -1
  364. package/select/oscd-select-option.d.ts +0 -7
  365. package/select/oscd-select-option.js +0 -4
  366. package/select/oscd-select-option.js.map +0 -1
  367. package/tabs/OscdPrimaryTab.d.ts +0 -22
  368. package/tabs/OscdPrimaryTab.js +0 -19
  369. package/tabs/OscdPrimaryTab.js.map +0 -1
  370. package/tabs/OscdSecondaryTab.d.ts +0 -22
  371. package/tabs/OscdSecondaryTab.js +0 -19
  372. package/tabs/OscdSecondaryTab.js.map +0 -1
  373. package/tabs/OscdTabs.d.ts +0 -22
  374. package/tabs/OscdTabs.js +0 -18
  375. package/tabs/OscdTabs.js.map +0 -1
  376. package/tabs/oscd-primary-tab.d.ts +0 -7
  377. package/tabs/oscd-primary-tab.js +0 -4
  378. package/tabs/oscd-primary-tab.js.map +0 -1
  379. package/tabs/oscd-secondary-tab.d.ts +0 -7
  380. package/tabs/oscd-secondary-tab.js +0 -4
  381. package/tabs/oscd-secondary-tab.js.map +0 -1
  382. package/tabs/oscd-tabs.d.ts +0 -7
  383. package/tabs/oscd-tabs.js +0 -4
  384. package/tabs/oscd-tabs.js.map +0 -1
  385. package/textfield/OscdFilledTextField.d.ts +0 -30
  386. package/textfield/OscdFilledTextField.js +0 -30
  387. package/textfield/OscdFilledTextField.js.map +0 -1
  388. package/textfield/OscdOutlinedTextField.d.ts +0 -28
  389. package/textfield/OscdOutlinedTextField.js +0 -28
  390. package/textfield/OscdOutlinedTextField.js.map +0 -1
  391. package/textfield/oscd-filled-text-field.d.ts +0 -7
  392. package/textfield/oscd-filled-text-field.js +0 -4
  393. package/textfield/oscd-filled-text-field.js.map +0 -1
  394. package/textfield/oscd-outlined-text-field.d.ts +0 -7
  395. package/textfield/oscd-outlined-text-field.js +0 -4
  396. package/textfield/oscd-outlined-text-field.js.map +0 -1
  397. package/utils/storybook/getStorybookHelpers.d.ts +0 -4
  398. package/utils/storybook/getStorybookHelpers.js.map +0 -1
  399. package/utils/storybook/scopedWcDecorator.d.ts +0 -2
  400. package/utils/storybook/scopedWcDecorator.js.map +0 -1
  401. package/utils/storybook/themingDecorator.d.ts +0 -6
  402. package/utils/storybook/themingDecorator.js.map +0 -1
  403. /package/{app-bar → dist/app-bar}/oscd-app-bar.js +0 -0
  404. /package/{navigation-drawer → dist/navigation-drawer}/oscd-navigation-drawer-header.js +0 -0
  405. /package/{navigation-drawer → dist/navigation-drawer}/oscd-navigation-drawer.js +0 -0
  406. /package/{utils → dist/utils}/storybook/themingDecorator.js +0 -0
@@ -0,0 +1,51 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2025 Omicron Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { MdElevation } from '@omicronenergy/oscd-material-web-base/elevation/MdElevation.js';
14
+ import { FilledButton } from '@omicronenergy/oscd-material-web-base/button/internal/filled-button.js';
15
+ import { styles as filledStyles } from '@omicronenergy/oscd-material-web-base/button/internal/filled-styles.js';
16
+ import { styles as sharedElevationStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-elevation-styles.js';
17
+ import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
18
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
19
+ /**
20
+ * @tagname oscd-filled-button
21
+ * @summary Buttons help people take action, such as sending an email, sharing a
22
+ * document, or liking a comment.
23
+ *
24
+ * __Emphasis:__ High emphasis – For the primary, most important, or most common
25
+ * action on a screen
26
+ *
27
+ * __Rationale:__ The filled button’s contrasting surface color makes it the
28
+ * most prominent button after the FAB. It’s used for final or unblocking
29
+ * actions in a flow.
30
+ *
31
+ * __Example usages:__
32
+ * - Save
33
+ * - Confirm
34
+ * - Done
35
+ *
36
+ * @final
37
+ * @suppress {visibility}
38
+ */
39
+ export class OscdFilledButton extends ScopedElementsMixin(FilledButton) {
40
+ }
41
+ OscdFilledButton.scopedElements = {
42
+ 'md-ripple': MdRipple,
43
+ 'md-focus-ring': MdFocusRing,
44
+ 'md-elevation': MdElevation,
45
+ };
46
+ OscdFilledButton.styles = [
47
+ sharedStyles,
48
+ sharedElevationStyles,
49
+ filledStyles,
50
+ ];
51
+ //# sourceMappingURL=OscdFilledButton.js.map
@@ -0,0 +1,36 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { expect, fixture, fixtureCleanup } from '@open-wc/testing';
7
+ import { html } from 'lit';
8
+ import { spy } from 'sinon';
9
+ describe('OscdFilledButton side-effect free', () => {
10
+ let defineSpy;
11
+ // let harness: ScopingTestHarness;
12
+ beforeEach(async () => {
13
+ // Spy on customElements.define before dynamic import
14
+ defineSpy = spy(window.customElements, 'define');
15
+ });
16
+ afterEach(() => {
17
+ // Restore the spy
18
+ defineSpy.restore();
19
+ // Clean up DOM
20
+ fixtureCleanup();
21
+ });
22
+ it('should not call customElements.define as a side effect during import/instantiation', async () => {
23
+ // Dynamically import the component
24
+ const { OscdFilledButton } = await import('./OscdFilledButton.js');
25
+ // Instantiate the component
26
+ const oscdFilledButton = await fixture(html `<oscd-filled-button></oscd-filled-button>`, { scopedElements: { 'oscd-filled-button': OscdFilledButton } });
27
+ // Verify it's upgraded (not just a dummy tag)
28
+ expect(oscdFilledButton.shadowRoot).not.to.be.null;
29
+ expect(oscdFilledButton.constructor.name).to.equal('OscdFilledButton');
30
+ const globallyDefinedElements = defineSpy.args
31
+ .filter(([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'))
32
+ .map(([tagName]) => tagName);
33
+ expect(globallyDefinedElements).to.deep.equal([]);
34
+ });
35
+ });
36
+ //# sourceMappingURL=OscdFilledButton.spec.js.map
@@ -0,0 +1,20 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import './oscd-filled-button.js';
7
+ import { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';
8
+ const { args, argTypes, meta } = getStorybookMeta({
9
+ tagName: 'oscd-filled-button',
10
+ });
11
+ export default {
12
+ title: 'Buttons / Filled Button',
13
+ tags: ['autodocs'],
14
+ ...meta,
15
+ };
16
+ export const Default = {
17
+ argTypes,
18
+ args,
19
+ };
20
+ //# sourceMappingURL=OscdFilledButton.stories.js.map
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2025 Omicron Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { MdElevation } from '@omicronenergy/oscd-material-web-base/elevation/MdElevation.js';
14
+ import { FilledTonalButton } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-button.js';
15
+ import { styles as tonalStyles } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-styles.js';
16
+ import { styles as sharedElevationStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-elevation-styles.js';
17
+ import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
18
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
19
+ /**
20
+ * @tagname oscd-filled-tonal-button
21
+ * @summary Buttons help people take action, such as sending an email, sharing a
22
+ * document, or liking a comment.
23
+ *
24
+ * __Emphasis:__ Medium emphasis – For important actions that don’t distract
25
+ * from other onscreen elements.
26
+ *
27
+ * __Rationale:__ Filled tonal buttons have a lighter background color and
28
+ * darker label color, making them less visually prominent than a regular,
29
+ * filled button. They’re still used for final or unblocking actions in a flow,
30
+ * but do so with less emphasis.
31
+ *
32
+ * __Example usages:__
33
+ * - Save
34
+ * - Confirm
35
+ * - Done
36
+ *
37
+ * @final
38
+ * @suppress {visibility}
39
+ */
40
+ export class OscdFilledTonalButton extends ScopedElementsMixin(FilledTonalButton) {
41
+ }
42
+ OscdFilledTonalButton.scopedElements = {
43
+ 'md-ripple': MdRipple,
44
+ 'md-focus-ring': MdFocusRing,
45
+ 'md-elevation': MdElevation,
46
+ };
47
+ OscdFilledTonalButton.styles = [
48
+ sharedStyles,
49
+ sharedElevationStyles,
50
+ tonalStyles,
51
+ ];
52
+ //# sourceMappingURL=OscdFilledTonalButton.js.map
@@ -0,0 +1,36 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { expect, fixture, fixtureCleanup } from '@open-wc/testing';
7
+ import { html } from 'lit';
8
+ import { spy } from 'sinon';
9
+ describe('OscdFilledTonalButton side-effect free', () => {
10
+ let defineSpy;
11
+ // let harness: ScopingTestHarness;
12
+ beforeEach(async () => {
13
+ // Spy on customElements.define before dynamic import
14
+ defineSpy = spy(window.customElements, 'define');
15
+ });
16
+ afterEach(() => {
17
+ // Restore the spy
18
+ defineSpy.restore();
19
+ // Clean up DOM
20
+ fixtureCleanup();
21
+ });
22
+ it('should not call customElements.define as a side effect during import/instantiation', async () => {
23
+ // Dynamically import the component
24
+ const { OscdFilledTonalButton } = await import('./OscdFilledTonalButton.js');
25
+ // Instantiate the component
26
+ const oscdFilledTonalButton = await fixture(html `<oscd-filled-tonal-button></oscd-filled-tonal-button>`, { scopedElements: { 'oscd-filled-tonal-button': OscdFilledTonalButton } });
27
+ // Verify it's upgraded (not just a dummy tag)
28
+ expect(oscdFilledTonalButton.shadowRoot).not.to.be.null;
29
+ expect(oscdFilledTonalButton.constructor.name).to.equal('OscdFilledTonalButton');
30
+ const globallyDefinedElements = defineSpy.args
31
+ .filter(([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'))
32
+ .map(([tagName]) => tagName);
33
+ expect(globallyDefinedElements).to.deep.equal([]);
34
+ });
35
+ });
36
+ //# sourceMappingURL=OscdFilledTonalButton.spec.js.map
@@ -0,0 +1,20 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import './oscd-filled-tonal-button.js';
7
+ import { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';
8
+ const { args, argTypes, meta } = getStorybookMeta({
9
+ tagName: 'oscd-filled-tonal-button',
10
+ });
11
+ export default {
12
+ title: 'Buttons / Filled Tonal Button',
13
+ tags: ['autodocs'],
14
+ ...meta,
15
+ };
16
+ export const Default = {
17
+ argTypes,
18
+ args,
19
+ };
20
+ //# sourceMappingURL=OscdFilledTonalButton.stories.js.map
@@ -0,0 +1,46 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2025 Omicron Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { OutlinedButton } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-button.js';
14
+ import { styles as outlinedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-styles.js';
15
+ import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
16
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
17
+ /**
18
+ * @tagname oscd-outlined-button
19
+ * @summary Buttons help people take action, such as sending an email, sharing a
20
+ * document, or liking a comment.
21
+ *
22
+ * __Emphasis:__ Medium emphasis – For important actions that don’t distract
23
+ * from other onscreen elements.
24
+ *
25
+ * __Rationale:__ Use an outlined button for actions that need attention but
26
+ * aren’t the primary action, such as “See all” or “Add to cart.” This is also
27
+ * the button to use for giving someone the opportunity to change their mind or
28
+ * escape a flow.
29
+ *
30
+ * __Example usages:__
31
+ * - Reply
32
+ * - View all
33
+ * - Add to cart
34
+ * - Take out of trash
35
+ *
36
+ * @final
37
+ * @suppress {visibility}
38
+ */
39
+ export class OscdOutlinedButton extends ScopedElementsMixin(OutlinedButton) {
40
+ }
41
+ OscdOutlinedButton.scopedElements = {
42
+ 'md-ripple': MdRipple,
43
+ 'md-focus-ring': MdFocusRing,
44
+ };
45
+ OscdOutlinedButton.styles = [sharedStyles, outlinedStyles];
46
+ //# sourceMappingURL=OscdOutlinedButton.js.map
@@ -0,0 +1,36 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { expect, fixture, fixtureCleanup } from '@open-wc/testing';
7
+ import { html } from 'lit';
8
+ import { spy } from 'sinon';
9
+ describe('OscdOutlinedButton side-effect free', () => {
10
+ let defineSpy;
11
+ // let harness: ScopingTestHarness;
12
+ beforeEach(async () => {
13
+ // Spy on customElements.define before dynamic import
14
+ defineSpy = spy(window.customElements, 'define');
15
+ });
16
+ afterEach(() => {
17
+ // Restore the spy
18
+ defineSpy.restore();
19
+ // Clean up DOM
20
+ fixtureCleanup();
21
+ });
22
+ it('should not call customElements.define as a side effect during import/instantiation', async () => {
23
+ // Dynamically import the component
24
+ const { OscdOutlinedButton } = await import('./OscdOutlinedButton.js');
25
+ // Instantiate the component
26
+ const oscdOutlinedButton = await fixture(html `<oscd-outlined-button></oscd-outlined-button>`, { scopedElements: { 'oscd-outlined-button': OscdOutlinedButton } });
27
+ // Verify it's upgraded (not just a dummy tag)
28
+ expect(oscdOutlinedButton.shadowRoot).not.to.be.null;
29
+ expect(oscdOutlinedButton.constructor.name).to.equal('OscdOutlinedButton');
30
+ const globallyDefinedElements = defineSpy.args
31
+ .filter(([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'))
32
+ .map(([tagName]) => tagName);
33
+ expect(globallyDefinedElements).to.deep.equal([]);
34
+ });
35
+ });
36
+ //# sourceMappingURL=OscdOutlinedButton.spec.js.map
@@ -0,0 +1,20 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import './oscd-outlined-button.js';
7
+ import { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';
8
+ const { args, argTypes, meta } = getStorybookMeta({
9
+ tagName: 'oscd-outlined-button',
10
+ });
11
+ export default {
12
+ title: 'Buttons / Outlined Button',
13
+ tags: ['autodocs'],
14
+ ...meta,
15
+ };
16
+ export const Default = {
17
+ argTypes,
18
+ args,
19
+ };
20
+ //# sourceMappingURL=OscdOutlinedButton.stories.js.map
@@ -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 Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
14
+ import { TextButton } from '@omicronenergy/oscd-material-web-base/button/internal/text-button.js';
15
+ import { styles as textStyles } from '@omicronenergy/oscd-material-web-base/button/internal/text-styles.js';
16
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
17
+ /**
18
+ * @tagname oscd-text-button
19
+ * @summary Buttons help people take action, such as sending an email, sharing a
20
+ * document, or liking a comment.
21
+ *
22
+ * __Emphasis:__ Low emphasis – For optional or supplementary actions with the
23
+ * least amount of prominence
24
+ *
25
+ * __Rationale:__ Text buttons have less visual prominence, so should be used
26
+ * for low emphasis actions, such as an alternative option.
27
+ *
28
+ * __Example usages:__
29
+ * - Learn more
30
+ * - View all
31
+ * - Change account
32
+ * - Turn on
33
+ *
34
+ * @final
35
+ * @suppress {visibility}
36
+ */
37
+ export class OscdTextButton extends ScopedElementsMixin(TextButton) {
38
+ }
39
+ OscdTextButton.scopedElements = {
40
+ 'md-ripple': MdRipple,
41
+ 'md-focus-ring': MdFocusRing,
42
+ };
43
+ OscdTextButton.styles = [sharedStyles, textStyles];
44
+ //# sourceMappingURL=OscdTextButton.js.map
@@ -0,0 +1,36 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { expect, fixture, fixtureCleanup } from '@open-wc/testing';
7
+ import { html } from 'lit';
8
+ import { spy } from 'sinon';
9
+ describe('OscdTextButton side-effect free', () => {
10
+ let defineSpy;
11
+ // let harness: ScopingTestHarness;
12
+ beforeEach(async () => {
13
+ // Spy on customElements.define before dynamic import
14
+ defineSpy = spy(window.customElements, 'define');
15
+ });
16
+ afterEach(() => {
17
+ // Restore the spy
18
+ defineSpy.restore();
19
+ // Clean up DOM
20
+ fixtureCleanup();
21
+ });
22
+ it('should not call customElements.define as a side effect during import/instantiation', async () => {
23
+ // Dynamically import the component
24
+ const { OscdTextButton } = await import('./OscdTextButton.js');
25
+ // Instantiate the component
26
+ const oscdTextButton = await fixture(html `<oscd-text-button></oscd-text-button>`, { scopedElements: { 'oscd-text-button': OscdTextButton } });
27
+ // Verify it's upgraded (not just a dummy tag)
28
+ expect(oscdTextButton.shadowRoot).not.to.be.null;
29
+ expect(oscdTextButton.constructor.name).to.equal('OscdTextButton');
30
+ const globallyDefinedElements = defineSpy.args
31
+ .filter(([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'))
32
+ .map(([tagName]) => tagName);
33
+ expect(globallyDefinedElements).to.deep.equal([]);
34
+ });
35
+ });
36
+ //# sourceMappingURL=OscdTextButton.spec.js.map
@@ -0,0 +1,20 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import './oscd-text-button.js';
7
+ import { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';
8
+ const { args, argTypes, meta } = getStorybookMeta({
9
+ tagName: 'oscd-text-button',
10
+ });
11
+ export default {
12
+ title: 'Buttons / Text Button',
13
+ tags: ['autodocs'],
14
+ ...meta,
15
+ };
16
+ export const Default = {
17
+ argTypes,
18
+ args,
19
+ };
20
+ //# sourceMappingURL=OscdTextButton.stories.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdElevatedButton } from './OscdElevatedButton.js';
7
+ customElements.define('oscd-elevated-button', OscdElevatedButton);
8
+ export { OscdElevatedButton };
9
+ //# sourceMappingURL=oscd-elevated-button.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdFilledButton } from './OscdFilledButton.js';
7
+ customElements.define('oscd-filled-button', OscdFilledButton);
8
+ export { OscdFilledButton };
9
+ //# sourceMappingURL=oscd-filled-button.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdFilledTonalButton } from './OscdFilledTonalButton.js';
7
+ customElements.define('oscd-filled-tonal-button', OscdFilledTonalButton);
8
+ export { OscdFilledTonalButton };
9
+ //# sourceMappingURL=oscd-filled-tonal-button.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdOutlinedButton } from './OscdOutlinedButton.js';
7
+ customElements.define('oscd-outlined-button', OscdOutlinedButton);
8
+ export { OscdOutlinedButton };
9
+ //# sourceMappingURL=oscd-outlined-button.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdTextButton } from './OscdTextButton.js';
7
+ customElements.define('oscd-text-button', OscdTextButton);
8
+ export { OscdTextButton };
9
+ //# sourceMappingURL=oscd-text-button.js.map
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2025 Omicron Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { Checkbox } from '@omicronenergy/oscd-material-web-base/checkbox/internal/checkbox.js';
14
+ import { styles } from '@omicronenergy/oscd-material-web-base/checkbox/internal/checkbox-styles.js';
15
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
16
+ /**
17
+ * @tagname oscd-checkbox
18
+ * @summary Checkboxes allow users to select one or more items from a set.
19
+ * Checkboxes can turn an option on or off.
20
+ *
21
+ * Use checkboxes to:
22
+ * - Select one or more options from a list
23
+ * - Present a list containing sub-selections
24
+ * - Turn an item on or off in a desktop environment
25
+ *
26
+ * @final
27
+ * @suppress {visibility}
28
+ */
29
+ export class OscdCheckbox extends ScopedElementsMixin(Checkbox) {
30
+ }
31
+ OscdCheckbox.scopedElements = {
32
+ 'md-ripple': MdRipple,
33
+ 'md-focus-ring': MdFocusRing,
34
+ };
35
+ OscdCheckbox.styles = [styles];
36
+ //# sourceMappingURL=OscdCheckbox.js.map
@@ -0,0 +1,38 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { expect, fixture, fixtureCleanup } from '@open-wc/testing';
7
+ import { html } from 'lit';
8
+ import { spy } from 'sinon';
9
+ describe('OscdCheckbox side-effect free', () => {
10
+ let defineSpy;
11
+ // let harness: ScopingTestHarness;
12
+ beforeEach(async () => {
13
+ // Spy on customElements.define before dynamic import
14
+ defineSpy = spy(window.customElements, 'define');
15
+ });
16
+ afterEach(() => {
17
+ // Restore the spy
18
+ defineSpy.restore();
19
+ // Clean up DOM
20
+ fixtureCleanup();
21
+ });
22
+ it('should not call customElements.define as a side effect during import/instantiation', async () => {
23
+ // Dynamically import the component
24
+ const { OscdCheckbox } = await import('./OscdCheckbox.js');
25
+ // Instantiate the component
26
+ const oscdCheckbox = await fixture(html `<oscd-checkbox></oscd-checkbox>`, {
27
+ scopedElements: { 'oscd-checkbox': OscdCheckbox },
28
+ });
29
+ // Verify it's upgraded (not just a dummy tag)
30
+ expect(oscdCheckbox.shadowRoot).not.to.be.null;
31
+ expect(oscdCheckbox.constructor.name).to.equal('OscdCheckbox');
32
+ const globallyDefinedElements = defineSpy.args
33
+ .filter(([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'))
34
+ .map(([tagName]) => tagName);
35
+ expect(globallyDefinedElements).to.deep.equal([]);
36
+ });
37
+ });
38
+ //# sourceMappingURL=OscdCheckbox.spec.js.map
@@ -0,0 +1,20 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import './oscd-checkbox.js';
7
+ import { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';
8
+ const { args, argTypes, meta } = getStorybookMeta({
9
+ tagName: 'oscd-checkbox',
10
+ });
11
+ export default {
12
+ title: 'Checkboxs / Checkbox',
13
+ tags: ['autodocs'],
14
+ ...meta,
15
+ };
16
+ export const Default = {
17
+ argTypes,
18
+ args,
19
+ };
20
+ //# sourceMappingURL=OscdCheckbox.stories.js.map
@@ -0,0 +1,9 @@
1
+ /*
2
+ * GENERATED SOURCE FILE. DO NOT MODIFY.
3
+ * Modifications will be overwritten.
4
+ * To prevent this file from being overwritten, remove this comment entirely.
5
+ */
6
+ import { OscdCheckbox } from './OscdCheckbox.js';
7
+ customElements.define('oscd-checkbox', OscdCheckbox);
8
+ export { OscdCheckbox };
9
+ //# sourceMappingURL=oscd-checkbox.js.map
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2023 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2025 Omicron Energy GmbH
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ import { MdRipple } from '@omicronenergy/oscd-material-web-base/ripple/MdRipple.js';
12
+ import { MdFocusRing } from '@omicronenergy/oscd-material-web-base/focus/MdFocusRing.js';
13
+ import { AssistChip } from '@omicronenergy/oscd-material-web-base/chips/internal/assist-chip.js';
14
+ import { styles } from '@omicronenergy/oscd-material-web-base/chips/internal/assist-styles.js';
15
+ import { styles as elevatedStyles } from '@omicronenergy/oscd-material-web-base/chips/internal/elevated-styles.js';
16
+ import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/chips/internal/shared-styles.js';
17
+ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
18
+ /**
19
+ * @tagname oscd-assist-chip
20
+ * TODO(b/243982145): add docs
21
+ *
22
+ * @final
23
+ * @suppress {visibility}
24
+ */
25
+ export class OscdAssistChip extends ScopedElementsMixin(AssistChip) {
26
+ }
27
+ OscdAssistChip.scopedElements = {
28
+ 'md-ripple': MdRipple,
29
+ 'md-focus-ring': MdFocusRing,
30
+ };
31
+ OscdAssistChip.styles = [
32
+ sharedStyles,
33
+ elevatedStyles,
34
+ styles,
35
+ ];
36
+ //# sourceMappingURL=OscdAssistChip.js.map