@omicronenergy/oscd-ui 0.0.8 → 0.0.11
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.
- package/CHANGELOG.md +109 -0
- package/custom-elements.json +26922 -0
- package/dist/about/Catalog.stories.d.ts +5 -0
- package/dist/about/Catalog.stories.js.map +1 -0
- package/dist/action-icon/OscdActionIcon.d.ts +37 -0
- package/dist/action-icon/OscdActionIcon.js +274 -0
- package/dist/action-icon/OscdActionIcon.js.map +1 -0
- package/dist/action-icon/oscd-action-icon.d.ts +2 -0
- package/dist/action-icon/oscd-action-icon.js +4 -0
- package/dist/action-icon/oscd-action-icon.js.map +1 -0
- package/dist/action-icon/oscd-action-icon.stories.d.ts +97 -0
- package/dist/action-icon/oscd-action-icon.stories.js +105 -0
- package/dist/action-icon/oscd-action-icon.stories.js.map +1 -0
- package/dist/action-list/OscdActionList.d.ts +63 -0
- package/dist/action-list/OscdActionList.js +212 -0
- package/dist/action-list/OscdActionList.js.map +1 -0
- package/dist/action-list/oscd-action-list.d.ts +1 -0
- package/dist/action-list/oscd-action-list.js +3 -0
- package/dist/action-list/oscd-action-list.js.map +1 -0
- package/dist/action-list/oscd-action-list.spec.d.ts +1 -0
- package/dist/action-list/oscd-action-list.spec.js +62 -0
- package/dist/action-list/oscd-action-list.spec.js.map +1 -0
- package/dist/action-list/oscd-action-list.stories.d.ts +92 -0
- package/dist/action-list/oscd-action-list.stories.js +100 -0
- package/dist/action-list/oscd-action-list.stories.js.map +1 -0
- package/dist/action-pane/OscdActionPane.d.ts +40 -0
- package/dist/action-pane/OscdActionPane.js +206 -0
- package/dist/action-pane/OscdActionPane.js.map +1 -0
- package/dist/action-pane/oscd-action-pane.d.ts +2 -0
- package/dist/action-pane/oscd-action-pane.js +4 -0
- package/dist/action-pane/oscd-action-pane.js.map +1 -0
- package/dist/action-pane/oscd-action-pane.stories.d.ts +52 -0
- package/dist/action-pane/oscd-action-pane.stories.js +79 -0
- package/dist/action-pane/oscd-action-pane.stories.js.map +1 -0
- package/dist/action-tree/OscdActionTree.d.ts +44 -0
- package/dist/action-tree/OscdActionTree.js +449 -0
- package/dist/action-tree/OscdActionTree.js.map +1 -0
- package/dist/action-tree/oscd-action-tree.d.ts +2 -0
- package/dist/action-tree/oscd-action-tree.js +4 -0
- package/dist/action-tree/oscd-action-tree.js.map +1 -0
- package/dist/action-tree/oscd-action-tree.spec.d.ts +1 -0
- package/dist/action-tree/oscd-action-tree.spec.js +164 -0
- package/dist/action-tree/oscd-action-tree.spec.js.map +1 -0
- package/dist/action-tree/oscd-action-tree.stories.d.ts +51 -0
- package/dist/action-tree/oscd-action-tree.stories.js +118 -0
- package/dist/action-tree/oscd-action-tree.stories.js.map +1 -0
- package/dist/app-bar/OscdAppBar.d.ts +47 -0
- package/dist/app-bar/OscdAppBar.js.map +1 -0
- package/dist/app-bar/OscdAppBar.stories.d.ts +10 -0
- package/dist/app-bar/OscdAppBar.stories.js +1 -1
- package/dist/app-bar/OscdAppBar.stories.js.map +1 -0
- package/dist/app-bar/oscd-app-bar.d.ts +12 -0
- package/dist/app-bar/oscd-app-bar.js.map +1 -0
- package/dist/button/OscdElevatedButton.d.ts +52 -0
- package/dist/button/OscdElevatedButton.js +6 -6
- package/dist/button/OscdElevatedButton.js.map +1 -0
- package/dist/button/OscdElevatedButton.spec.d.ts +1 -0
- package/dist/button/OscdElevatedButton.spec.js.map +1 -0
- package/dist/button/OscdElevatedButton.stories.d.ts +51 -0
- package/dist/button/OscdElevatedButton.stories.js.map +1 -0
- package/dist/button/OscdFilledButton.d.ts +50 -0
- package/dist/button/OscdFilledButton.js +6 -6
- package/dist/button/OscdFilledButton.js.map +1 -0
- package/dist/button/OscdFilledButton.spec.d.ts +1 -0
- package/dist/button/OscdFilledButton.spec.js.map +1 -0
- package/dist/button/OscdFilledButton.stories.d.ts +51 -0
- package/dist/button/OscdFilledButton.stories.js.map +1 -0
- package/dist/button/OscdFilledTonalButton.d.ts +51 -0
- package/dist/button/OscdFilledTonalButton.js +6 -6
- package/dist/button/OscdFilledTonalButton.js.map +1 -0
- package/dist/button/OscdFilledTonalButton.spec.d.ts +1 -0
- package/dist/button/OscdFilledTonalButton.spec.js.map +1 -0
- package/dist/button/OscdFilledTonalButton.stories.d.ts +51 -0
- package/dist/button/OscdFilledTonalButton.stories.js.map +1 -0
- package/dist/button/OscdOutlinedButton.d.ts +50 -0
- package/dist/button/OscdOutlinedButton.js +4 -4
- package/dist/button/OscdOutlinedButton.js.map +1 -0
- package/dist/button/OscdOutlinedButton.spec.d.ts +1 -0
- package/dist/button/OscdOutlinedButton.spec.js.map +1 -0
- package/dist/button/OscdOutlinedButton.stories.d.ts +51 -0
- package/dist/button/OscdOutlinedButton.stories.js.map +1 -0
- package/dist/button/OscdTextButton.d.ts +48 -0
- package/dist/button/OscdTextButton.js +4 -4
- package/dist/button/OscdTextButton.js.map +1 -0
- package/dist/button/OscdTextButton.spec.d.ts +1 -0
- package/dist/button/OscdTextButton.spec.js.map +1 -0
- package/dist/button/OscdTextButton.stories.d.ts +51 -0
- package/dist/button/OscdTextButton.stories.js.map +1 -0
- package/dist/button/oscd-elevated-button.d.ts +2 -0
- package/dist/button/oscd-elevated-button.js.map +1 -0
- package/dist/button/oscd-filled-button.d.ts +2 -0
- package/dist/button/oscd-filled-button.js.map +1 -0
- package/dist/button/oscd-filled-tonal-button.d.ts +2 -0
- package/dist/button/oscd-filled-tonal-button.js.map +1 -0
- package/dist/button/oscd-outlined-button.d.ts +2 -0
- package/dist/button/oscd-outlined-button.js.map +1 -0
- package/dist/button/oscd-text-button.d.ts +2 -0
- package/dist/button/oscd-text-button.js.map +1 -0
- package/dist/checkbox/OscdCheckbox.d.ts +41 -0
- package/dist/checkbox/OscdCheckbox.js +4 -4
- package/dist/checkbox/OscdCheckbox.js.map +1 -0
- package/dist/checkbox/OscdCheckbox.spec.d.ts +1 -0
- package/dist/checkbox/OscdCheckbox.spec.js.map +1 -0
- package/dist/checkbox/OscdCheckbox.stories.d.ts +51 -0
- package/dist/checkbox/OscdCheckbox.stories.js.map +1 -0
- package/dist/checkbox/oscd-checkbox.d.ts +2 -0
- package/dist/checkbox/oscd-checkbox.js.map +1 -0
- package/dist/chips/OscdAssistChip.d.ts +35 -0
- package/dist/chips/OscdAssistChip.js +4 -4
- package/dist/chips/OscdAssistChip.js.map +1 -0
- package/dist/chips/OscdAssistChip.spec.d.ts +1 -0
- package/dist/chips/OscdAssistChip.spec.js.map +1 -0
- package/dist/chips/OscdAssistChip.stories.d.ts +51 -0
- package/dist/chips/OscdAssistChip.stories.js.map +1 -0
- package/dist/chips/OscdChipSet.d.ts +27 -0
- package/dist/chips/OscdChipSet.js.map +1 -0
- package/dist/chips/OscdChipSet.spec.d.ts +1 -0
- package/dist/chips/OscdChipSet.spec.js.map +1 -0
- package/dist/chips/OscdChipSet.stories.d.ts +51 -0
- package/dist/chips/OscdChipSet.stories.js.map +1 -0
- package/dist/chips/OscdFilterChip.d.ts +37 -0
- package/dist/chips/OscdFilterChip.js +6 -6
- package/dist/chips/OscdFilterChip.js.map +1 -0
- package/dist/chips/OscdFilterChip.spec.d.ts +1 -0
- package/dist/chips/OscdFilterChip.spec.js.map +1 -0
- package/dist/chips/OscdFilterChip.stories.d.ts +51 -0
- package/dist/chips/OscdFilterChip.stories.js.map +1 -0
- package/dist/chips/OscdInputChip.d.ts +35 -0
- package/dist/chips/OscdInputChip.js +4 -4
- package/dist/chips/OscdInputChip.js.map +1 -0
- package/dist/chips/OscdInputChip.spec.d.ts +1 -0
- package/dist/chips/OscdInputChip.spec.js.map +1 -0
- package/dist/chips/OscdInputChip.stories.d.ts +51 -0
- package/dist/chips/OscdInputChip.stories.js.map +1 -0
- package/dist/chips/OscdSuggestionChip.d.ts +37 -0
- package/dist/chips/OscdSuggestionChip.js +6 -6
- package/dist/chips/OscdSuggestionChip.js.map +1 -0
- package/dist/chips/OscdSuggestionChip.spec.d.ts +1 -0
- package/dist/chips/OscdSuggestionChip.spec.js.map +1 -0
- package/dist/chips/OscdSuggestionChip.stories.d.ts +51 -0
- package/dist/chips/OscdSuggestionChip.stories.js.map +1 -0
- package/dist/chips/oscd-assist-chip.d.ts +2 -0
- package/dist/chips/oscd-assist-chip.js.map +1 -0
- package/dist/chips/oscd-chip-set.d.ts +2 -0
- package/dist/chips/oscd-chip-set.js.map +1 -0
- package/dist/chips/oscd-filter-chip.d.ts +2 -0
- package/dist/chips/oscd-filter-chip.js.map +1 -0
- package/dist/chips/oscd-input-chip.d.ts +2 -0
- package/dist/chips/oscd-input-chip.js.map +1 -0
- package/dist/chips/oscd-suggestion-chip.d.ts +2 -0
- package/dist/chips/oscd-suggestion-chip.js.map +1 -0
- package/dist/dialog/OscdDialog.d.ts +53 -0
- package/dist/dialog/OscdDialog.js +2 -2
- package/dist/dialog/OscdDialog.js.map +1 -0
- package/dist/dialog/OscdDialog.spec.d.ts +1 -0
- package/dist/dialog/OscdDialog.spec.js.map +1 -0
- package/dist/dialog/OscdDialog.stories.d.ts +51 -0
- package/dist/dialog/OscdDialog.stories.js.map +1 -0
- package/dist/dialog/oscd-dialog.d.ts +2 -0
- package/dist/dialog/oscd-dialog.js.map +1 -0
- package/dist/divider/OscdDivider.d.ts +30 -0
- package/dist/divider/OscdDivider.js.map +1 -0
- package/dist/divider/OscdDivider.spec.d.ts +1 -0
- package/dist/divider/OscdDivider.spec.js.map +1 -0
- package/dist/divider/OscdDivider.stories.d.ts +51 -0
- package/dist/divider/OscdDivider.stories.js.map +1 -0
- package/dist/divider/oscd-divider.d.ts +2 -0
- package/dist/divider/oscd-divider.js.map +1 -0
- package/dist/elevation/OscdElevation.d.ts +29 -0
- package/dist/elevation/OscdElevation.js.map +1 -0
- package/dist/elevation/OscdElevation.spec.d.ts +1 -0
- package/dist/elevation/OscdElevation.spec.js.map +1 -0
- package/dist/elevation/OscdElevation.stories.d.ts +51 -0
- package/dist/elevation/OscdElevation.stories.js.map +1 -0
- package/dist/elevation/oscd-elevation.d.ts +2 -0
- package/dist/elevation/oscd-elevation.js.map +1 -0
- package/dist/fab/OscdBrandedFab.d.ts +71 -0
- package/dist/fab/OscdBrandedFab.js +6 -6
- package/dist/fab/OscdBrandedFab.js.map +1 -0
- package/dist/fab/OscdBrandedFab.spec.d.ts +1 -0
- package/dist/fab/OscdBrandedFab.spec.js.map +1 -0
- package/dist/fab/OscdBrandedFab.stories.d.ts +51 -0
- package/dist/fab/OscdBrandedFab.stories.js.map +1 -0
- package/dist/fab/OscdFab.d.ts +58 -0
- package/dist/fab/OscdFab.js +6 -6
- package/dist/fab/OscdFab.js.map +1 -0
- package/dist/fab/OscdFab.spec.d.ts +1 -0
- package/dist/fab/OscdFab.spec.js.map +1 -0
- package/dist/fab/OscdFab.stories.d.ts +51 -0
- package/dist/fab/OscdFab.stories.js.map +1 -0
- package/dist/fab/oscd-branded-fab.d.ts +2 -0
- package/dist/fab/oscd-branded-fab.js.map +1 -0
- package/dist/fab/oscd-fab.d.ts +2 -0
- package/dist/fab/oscd-fab.js.map +1 -0
- package/dist/field/OscdFilledField.d.ts +26 -0
- package/dist/field/OscdFilledField.js.map +1 -0
- package/dist/field/OscdFilledField.spec.d.ts +1 -0
- package/dist/field/OscdFilledField.spec.js.map +1 -0
- package/dist/field/OscdFilledField.stories.d.ts +51 -0
- package/dist/field/OscdFilledField.stories.js.map +1 -0
- package/dist/field/OscdOutlinedField.d.ts +26 -0
- package/dist/field/OscdOutlinedField.js.map +1 -0
- package/dist/field/OscdOutlinedField.spec.d.ts +1 -0
- package/dist/field/OscdOutlinedField.spec.js.map +1 -0
- package/dist/field/OscdOutlinedField.stories.d.ts +51 -0
- package/dist/field/OscdOutlinedField.stories.js.map +1 -0
- package/dist/field/oscd-filled-field.d.ts +2 -0
- package/dist/field/oscd-filled-field.js.map +1 -0
- package/dist/field/oscd-outlined-field.d.ts +2 -0
- package/dist/field/oscd-outlined-field.js.map +1 -0
- package/dist/filter-button/OscdFilterButton.d.ts +49 -0
- package/dist/filter-button/OscdFilterButton.js +110 -0
- package/dist/filter-button/OscdFilterButton.js.map +1 -0
- package/dist/filter-button/oscd-filter-button.d.ts +2 -0
- package/dist/filter-button/oscd-filter-button.js +4 -0
- package/dist/filter-button/oscd-filter-button.js.map +1 -0
- package/dist/filter-button/oscd-filter-button.stories.d.ts +56 -0
- package/dist/filter-button/oscd-filter-button.stories.js +51 -0
- package/dist/filter-button/oscd-filter-button.stories.js.map +1 -0
- package/dist/focus/OscdFocusRing.d.ts +27 -0
- package/dist/focus/OscdFocusRing.js.map +1 -0
- package/dist/focus/OscdFocusRing.spec.d.ts +1 -0
- package/dist/focus/OscdFocusRing.spec.js.map +1 -0
- package/dist/focus/OscdFocusRing.stories.d.ts +51 -0
- package/dist/focus/OscdFocusRing.stories.js.map +1 -0
- package/dist/focus/oscd-focus-ring.d.ts +2 -0
- package/dist/focus/oscd-focus-ring.js.map +1 -0
- package/dist/icon/OscdIcon.d.ts +26 -0
- package/dist/icon/OscdIcon.js.map +1 -0
- package/dist/icon/OscdIcon.spec.d.ts +1 -0
- package/dist/icon/OscdIcon.spec.js.map +1 -0
- package/dist/icon/OscdIcon.stories.d.ts +51 -0
- package/dist/icon/OscdIcon.stories.js.map +1 -0
- package/dist/icon/oscd-icon.d.ts +2 -0
- package/dist/icon/oscd-icon.js.map +1 -0
- package/dist/iconbutton/OscdFilledIconButton.d.ts +52 -0
- package/dist/iconbutton/OscdFilledIconButton.js +4 -4
- package/dist/iconbutton/OscdFilledIconButton.js.map +1 -0
- package/dist/iconbutton/OscdFilledIconButton.spec.d.ts +1 -0
- package/dist/iconbutton/OscdFilledIconButton.spec.js.map +1 -0
- package/dist/iconbutton/OscdFilledIconButton.stories.d.ts +51 -0
- package/dist/iconbutton/OscdFilledIconButton.stories.js.map +1 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.d.ts +52 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.js +4 -4
- package/dist/iconbutton/OscdFilledTonalIconButton.js.map +1 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.spec.d.ts +1 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.spec.js.map +1 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.stories.d.ts +51 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.stories.js.map +1 -0
- package/dist/iconbutton/OscdIconButton.d.ts +51 -0
- package/dist/iconbutton/OscdIconButton.js +4 -4
- package/dist/iconbutton/OscdIconButton.js.map +1 -0
- package/dist/iconbutton/OscdIconButton.spec.d.ts +1 -0
- package/dist/iconbutton/OscdIconButton.spec.js.map +1 -0
- package/dist/iconbutton/OscdIconButton.stories.d.ts +51 -0
- package/dist/iconbutton/OscdIconButton.stories.js.map +1 -0
- package/dist/iconbutton/OscdOutlinedIconButton.d.ts +51 -0
- package/dist/iconbutton/OscdOutlinedIconButton.js +4 -4
- package/dist/iconbutton/OscdOutlinedIconButton.js.map +1 -0
- package/dist/iconbutton/OscdOutlinedIconButton.spec.d.ts +1 -0
- package/dist/iconbutton/OscdOutlinedIconButton.spec.js.map +1 -0
- package/dist/iconbutton/OscdOutlinedIconButton.stories.d.ts +51 -0
- package/dist/iconbutton/OscdOutlinedIconButton.stories.js.map +1 -0
- package/dist/iconbutton/oscd-filled-icon-button.d.ts +2 -0
- package/dist/iconbutton/oscd-filled-icon-button.js.map +1 -0
- package/dist/iconbutton/oscd-filled-tonal-icon-button.d.ts +2 -0
- package/dist/iconbutton/oscd-filled-tonal-icon-button.js.map +1 -0
- package/dist/iconbutton/oscd-icon-button.d.ts +2 -0
- package/dist/iconbutton/oscd-icon-button.js.map +1 -0
- package/dist/iconbutton/oscd-outlined-icon-button.d.ts +2 -0
- package/dist/iconbutton/oscd-outlined-icon-button.js.map +1 -0
- package/dist/labs/badge/OscdBadge.d.ts +25 -0
- package/dist/labs/badge/OscdBadge.js.map +1 -0
- package/dist/labs/badge/OscdBadge.spec.d.ts +1 -0
- package/dist/labs/badge/OscdBadge.spec.js.map +1 -0
- package/dist/labs/badge/OscdBadge.stories.d.ts +51 -0
- package/dist/labs/badge/OscdBadge.stories.js.map +1 -0
- package/dist/labs/badge/oscd-badge.d.ts +2 -0
- package/dist/labs/badge/oscd-badge.js.map +1 -0
- package/dist/labs/card/OscdElevatedCard.d.ts +31 -0
- package/dist/labs/card/OscdElevatedCard.js +2 -2
- package/dist/labs/card/OscdElevatedCard.js.map +1 -0
- package/dist/labs/card/OscdElevatedCard.spec.d.ts +1 -0
- package/dist/labs/card/OscdElevatedCard.spec.js.map +1 -0
- package/dist/labs/card/OscdElevatedCard.stories.d.ts +51 -0
- package/dist/labs/card/OscdElevatedCard.stories.js.map +1 -0
- package/dist/labs/card/OscdFilledCard.d.ts +31 -0
- package/dist/labs/card/OscdFilledCard.js +2 -2
- package/dist/labs/card/OscdFilledCard.js.map +1 -0
- package/dist/labs/card/OscdFilledCard.spec.d.ts +1 -0
- package/dist/labs/card/OscdFilledCard.spec.js.map +1 -0
- package/dist/labs/card/OscdFilledCard.stories.d.ts +51 -0
- package/dist/labs/card/OscdFilledCard.stories.js.map +1 -0
- package/dist/labs/card/OscdOutlinedCard.d.ts +31 -0
- package/dist/labs/card/OscdOutlinedCard.js +2 -2
- package/dist/labs/card/OscdOutlinedCard.js.map +1 -0
- package/dist/labs/card/OscdOutlinedCard.spec.d.ts +1 -0
- package/dist/labs/card/OscdOutlinedCard.spec.js.map +1 -0
- package/dist/labs/card/OscdOutlinedCard.stories.d.ts +51 -0
- package/dist/labs/card/OscdOutlinedCard.stories.js.map +1 -0
- package/dist/labs/card/oscd-elevated-card.d.ts +2 -0
- package/dist/labs/card/oscd-elevated-card.js.map +1 -0
- package/dist/labs/card/oscd-filled-card.d.ts +2 -0
- package/dist/labs/card/oscd-filled-card.js.map +1 -0
- package/dist/labs/card/oscd-outlined-card.d.ts +2 -0
- package/dist/labs/card/oscd-outlined-card.js.map +1 -0
- package/dist/labs/item/OscdItem.d.ts +80 -0
- package/dist/labs/item/OscdItem.js.map +1 -0
- package/dist/labs/item/OscdItem.spec.d.ts +1 -0
- package/dist/labs/item/OscdItem.spec.js.map +1 -0
- package/dist/labs/item/OscdItem.stories.d.ts +51 -0
- package/dist/labs/item/OscdItem.stories.js.map +1 -0
- package/dist/labs/item/oscd-item.d.ts +2 -0
- package/dist/labs/item/oscd-item.js.map +1 -0
- package/dist/labs/navigationbar/OscdNavigationBar.d.ts +31 -0
- package/dist/labs/navigationbar/OscdNavigationBar.js +2 -2
- package/dist/labs/navigationbar/OscdNavigationBar.js.map +1 -0
- package/dist/labs/navigationbar/OscdNavigationBar.spec.d.ts +1 -0
- package/dist/labs/navigationbar/OscdNavigationBar.spec.js.map +1 -0
- package/dist/labs/navigationbar/OscdNavigationBar.stories.d.ts +51 -0
- package/dist/labs/navigationbar/OscdNavigationBar.stories.js.map +1 -0
- package/dist/labs/navigationbar/oscd-navigation-bar.d.ts +2 -0
- package/dist/labs/navigationbar/oscd-navigation-bar.js.map +1 -0
- package/dist/labs/navigationtab/OscdNavigationTab.d.ts +35 -0
- package/dist/labs/navigationtab/OscdNavigationTab.js +6 -6
- package/dist/labs/navigationtab/OscdNavigationTab.js.map +1 -0
- package/dist/labs/navigationtab/OscdNavigationTab.spec.d.ts +1 -0
- package/dist/labs/navigationtab/OscdNavigationTab.spec.js.map +1 -0
- package/dist/labs/navigationtab/OscdNavigationTab.stories.d.ts +51 -0
- package/dist/labs/navigationtab/OscdNavigationTab.stories.js.map +1 -0
- package/dist/labs/navigationtab/oscd-navigation-tab.d.ts +2 -0
- package/dist/labs/navigationtab/oscd-navigation-tab.js.map +1 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.d.ts +35 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.js +4 -4
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.js.map +1 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.spec.d.ts +1 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.spec.js.map +1 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.stories.d.ts +53 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.stories.js.map +1 -0
- package/dist/labs/segmentedbutton/oscd-outlined-segmented-button.d.ts +2 -0
- package/dist/labs/segmentedbutton/oscd-outlined-segmented-button.js.map +1 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.d.ts +27 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.js.map +1 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.spec.d.ts +1 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.spec.js.map +1 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.stories.d.ts +54 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.stories.js.map +1 -0
- package/dist/labs/segmentedbuttonset/oscd-outlined-segmented-button-set.d.ts +2 -0
- package/dist/labs/segmentedbuttonset/oscd-outlined-segmented-button-set.js.map +1 -0
- package/dist/list/OscdList.d.ts +39 -0
- package/dist/list/OscdList.js.map +1 -0
- package/dist/list/OscdList.spec.d.ts +1 -0
- package/dist/list/OscdList.spec.js.map +1 -0
- package/dist/list/OscdList.stories.d.ts +51 -0
- package/dist/list/OscdList.stories.js.map +1 -0
- package/dist/list/OscdListItem.d.ts +68 -0
- package/dist/list/OscdListItem.js +6 -6
- package/dist/list/OscdListItem.js.map +1 -0
- package/dist/list/OscdListItem.spec.d.ts +1 -0
- package/dist/list/OscdListItem.spec.js.map +1 -0
- package/dist/list/OscdListItem.stories.d.ts +51 -0
- package/dist/list/OscdListItem.stories.js.map +1 -0
- package/dist/list/oscd-list-item.d.ts +2 -0
- package/dist/list/oscd-list-item.js.map +1 -0
- package/dist/list/oscd-list.d.ts +2 -0
- package/dist/list/oscd-list.js.map +1 -0
- package/dist/menu/OscdMenu.d.ts +83 -0
- package/dist/menu/OscdMenu.js +4 -4
- package/dist/menu/OscdMenu.js.map +1 -0
- package/dist/menu/OscdMenu.spec.d.ts +1 -0
- package/dist/menu/OscdMenu.spec.js.map +1 -0
- package/dist/menu/OscdMenu.stories.d.ts +51 -0
- package/dist/menu/OscdMenu.stories.js.map +1 -0
- package/dist/menu/OscdMenuItem.d.ts +46 -0
- package/dist/menu/OscdMenuItem.js +6 -6
- package/dist/menu/OscdMenuItem.js.map +1 -0
- package/dist/menu/OscdMenuItem.spec.d.ts +1 -0
- package/dist/menu/OscdMenuItem.spec.js.map +1 -0
- package/dist/menu/OscdMenuItem.stories.d.ts +51 -0
- package/dist/menu/OscdMenuItem.stories.js.map +1 -0
- package/dist/menu/OscdSubMenu.d.ts +68 -0
- package/dist/menu/OscdSubMenu.js.map +1 -0
- package/dist/menu/OscdSubMenu.spec.d.ts +1 -0
- package/dist/menu/OscdSubMenu.spec.js.map +1 -0
- package/dist/menu/OscdSubMenu.stories.d.ts +51 -0
- package/dist/menu/OscdSubMenu.stories.js.map +1 -0
- package/dist/menu/oscd-menu-item.d.ts +2 -0
- package/dist/menu/oscd-menu-item.js.map +1 -0
- package/dist/menu/oscd-menu.d.ts +2 -0
- package/dist/menu/oscd-menu.js.map +1 -0
- package/dist/menu/oscd-sub-menu.d.ts +2 -0
- package/dist/menu/oscd-sub-menu.js.map +1 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.d.ts +27 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.js +2 -2
- package/dist/navigation-drawer/OscdNavigationDrawer.js.map +1 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.d.ts +8 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.js +5 -5
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.js.map +1 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.d.ts +15 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.stories.d.ts +8 -0
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.stories.js +1 -1
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.stories.js.map +1 -0
- package/dist/navigation-drawer/oscd-navigation-drawer-header.d.ts +7 -0
- package/dist/navigation-drawer/oscd-navigation-drawer-header.js.map +1 -0
- package/dist/navigation-drawer/oscd-navigation-drawer.d.ts +7 -0
- package/dist/navigation-drawer/oscd-navigation-drawer.js.map +1 -0
- package/dist/progress/OscdCircularProgress.d.ts +33 -0
- package/dist/progress/OscdCircularProgress.js.map +1 -0
- package/dist/progress/OscdCircularProgress.spec.d.ts +1 -0
- package/dist/progress/OscdCircularProgress.spec.js.map +1 -0
- package/dist/progress/OscdCircularProgress.stories.d.ts +51 -0
- package/dist/progress/OscdCircularProgress.stories.js.map +1 -0
- package/dist/progress/OscdLinearProgress.d.ts +32 -0
- package/dist/progress/OscdLinearProgress.js.map +1 -0
- package/dist/progress/OscdLinearProgress.spec.d.ts +1 -0
- package/dist/progress/OscdLinearProgress.spec.js.map +1 -0
- package/dist/progress/OscdLinearProgress.stories.d.ts +51 -0
- package/dist/progress/OscdLinearProgress.stories.js.map +1 -0
- package/dist/progress/oscd-circular-progress.d.ts +2 -0
- package/dist/progress/oscd-circular-progress.js.map +1 -0
- package/dist/progress/oscd-linear-progress.d.ts +2 -0
- package/dist/progress/oscd-linear-progress.js.map +1 -0
- package/dist/radio/OscdRadio.d.ts +44 -0
- package/dist/radio/OscdRadio.js +4 -4
- package/dist/radio/OscdRadio.js.map +1 -0
- package/dist/radio/OscdRadio.spec.d.ts +1 -0
- package/dist/radio/OscdRadio.spec.js.map +1 -0
- package/dist/radio/OscdRadio.stories.d.ts +52 -0
- package/dist/radio/OscdRadio.stories.js.map +1 -0
- package/dist/radio/oscd-radio.d.ts +2 -0
- package/dist/radio/oscd-radio.js.map +1 -0
- package/dist/ripple/OscdRipple.d.ts +33 -0
- package/dist/ripple/OscdRipple.js.map +1 -0
- package/dist/ripple/OscdRipple.spec.d.ts +1 -0
- package/dist/ripple/OscdRipple.spec.js.map +1 -0
- package/dist/ripple/OscdRipple.stories.d.ts +51 -0
- package/dist/ripple/OscdRipple.stories.js.map +1 -0
- package/dist/ripple/oscd-ripple.d.ts +2 -0
- package/dist/ripple/oscd-ripple.js.map +1 -0
- package/dist/scl-checkbox/OscdSclCheckbox.d.ts +39 -0
- package/dist/scl-checkbox/OscdSclCheckbox.js +176 -0
- package/dist/scl-checkbox/OscdSclCheckbox.js.map +1 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.d.ts +1 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.js +3 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.js.map +1 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.spec.d.ts +1 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.spec.js +138 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.spec.js.map +1 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.stories.d.ts +51 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.stories.js +22 -0
- package/dist/scl-checkbox/oscd-scl-checkbox.stories.js.map +1 -0
- package/dist/scl-icon/OscdSclIcon.d.ts +53 -0
- package/dist/scl-icon/OscdSclIcon.js +176 -0
- package/dist/scl-icon/OscdSclIcon.js.map +1 -0
- package/dist/scl-icon/OscdSclIcon.spec.d.ts +1 -0
- package/dist/scl-icon/OscdSclIcon.spec.js +38 -0
- package/dist/scl-icon/OscdSclIcon.spec.js.map +1 -0
- package/dist/scl-icon/OscdSclIcon.stories.d.ts +52 -0
- package/dist/scl-icon/OscdSclIcon.stories.js +77 -0
- package/dist/scl-icon/OscdSclIcon.stories.js.map +1 -0
- package/dist/scl-icon/internal/icons/compare.d.ts +3 -0
- package/dist/scl-icon/internal/icons/compare.js +11 -0
- package/dist/scl-icon/internal/icons/compare.js.map +1 -0
- package/dist/scl-icon/internal/icons/icons.d.ts +44 -0
- package/dist/scl-icon/internal/icons/icons.js +553 -0
- package/dist/scl-icon/internal/icons/icons.js.map +1 -0
- package/dist/scl-icon/internal/icons/ied-icons.d.ts +3 -0
- package/dist/scl-icon/internal/icons/ied-icons.js +11 -0
- package/dist/scl-icon/internal/icons/ied-icons.js.map +1 -0
- package/dist/scl-icon/internal/icons/lnode.d.ts +16 -0
- package/dist/scl-icon/internal/icons/lnode.js +50 -0
- package/dist/scl-icon/internal/icons/lnode.js.map +1 -0
- package/dist/scl-icon/oscd-scl-icon.d.ts +2 -0
- package/dist/scl-icon/oscd-scl-icon.js +9 -0
- package/dist/scl-icon/oscd-scl-icon.js.map +1 -0
- package/dist/scl-select/OscdSclSelect.d.ts +50 -0
- package/dist/scl-select/OscdSclSelect.js +184 -0
- package/dist/scl-select/OscdSclSelect.js.map +1 -0
- package/dist/scl-select/oscd-scl-select.d.ts +1 -0
- package/dist/scl-select/oscd-scl-select.js +3 -0
- package/dist/scl-select/oscd-scl-select.js.map +1 -0
- package/dist/scl-select/oscd-scl-select.spec.d.ts +1 -0
- package/dist/scl-select/oscd-scl-select.spec.js +124 -0
- package/dist/scl-select/oscd-scl-select.spec.js.map +1 -0
- package/dist/scl-select/oscd-scl-select.stories.d.ts +54 -0
- package/dist/scl-select/oscd-scl-select.stories.js +45 -0
- package/dist/scl-select/oscd-scl-select.stories.js.map +1 -0
- package/dist/scl-textfield/OscdSclTextField.d.ts +78 -0
- package/dist/scl-textfield/OscdSclTextField.js +307 -0
- package/dist/scl-textfield/OscdSclTextField.js.map +1 -0
- package/dist/scl-textfield/oscd-scl-text-field.d.ts +1 -0
- package/dist/scl-textfield/oscd-scl-text-field.js +3 -0
- package/dist/scl-textfield/oscd-scl-text-field.js.map +1 -0
- package/dist/scl-textfield/oscd-scl-text-field.spec.d.ts +1 -0
- package/dist/scl-textfield/oscd-scl-text-field.spec.js +176 -0
- package/dist/scl-textfield/oscd-scl-text-field.spec.js.map +1 -0
- package/dist/scl-textfield/oscd-scl-text-field.stories.d.ts +53 -0
- package/dist/scl-textfield/oscd-scl-text-field.stories.js +43 -0
- package/dist/scl-textfield/oscd-scl-text-field.stories.js.map +1 -0
- package/dist/select/OscdFilledSelect.d.ts +60 -0
- package/dist/select/OscdFilledSelect.js +6 -4
- package/dist/select/OscdFilledSelect.js.map +1 -0
- package/dist/select/OscdFilledSelect.spec.d.ts +1 -0
- package/dist/select/OscdFilledSelect.spec.js.map +1 -0
- package/dist/select/OscdFilledSelect.stories.d.ts +53 -0
- package/dist/select/OscdFilledSelect.stories.js.map +1 -0
- package/dist/select/OscdOutlinedSelect.d.ts +58 -0
- package/dist/select/OscdOutlinedSelect.js +4 -4
- package/dist/select/OscdOutlinedSelect.js.map +1 -0
- package/dist/select/OscdOutlinedSelect.spec.d.ts +1 -0
- package/dist/select/OscdOutlinedSelect.spec.js.map +1 -0
- package/dist/select/OscdOutlinedSelect.stories.d.ts +53 -0
- package/dist/select/OscdOutlinedSelect.stories.js.map +1 -0
- package/dist/select/OscdSelectOption.d.ts +60 -0
- package/dist/select/OscdSelectOption.js +6 -6
- package/dist/select/OscdSelectOption.js.map +1 -0
- package/dist/select/OscdSelectOption.spec.d.ts +1 -0
- package/dist/select/OscdSelectOption.spec.js.map +1 -0
- package/dist/select/OscdSelectOption.stories.d.ts +52 -0
- package/dist/select/OscdSelectOption.stories.js.map +1 -0
- package/dist/select/oscd-filled-select.d.ts +2 -0
- package/dist/select/oscd-filled-select.js.map +1 -0
- package/dist/select/oscd-outlined-select.d.ts +2 -0
- package/dist/select/oscd-outlined-select.js.map +1 -0
- package/dist/select/oscd-select-option.d.ts +2 -0
- package/dist/select/oscd-select-option.js.map +1 -0
- package/dist/selection-list/OscdSelectionList.d.ts +51 -0
- package/dist/selection-list/OscdSelectionList.js +146 -0
- package/dist/selection-list/OscdSelectionList.js.map +1 -0
- package/dist/selection-list/internal/FilterListBase.d.ts +20 -0
- package/dist/selection-list/internal/FilterListBase.js +95 -0
- package/dist/selection-list/internal/FilterListBase.js.map +1 -0
- package/dist/selection-list/internal/FilterListBase.spec.d.ts +1 -0
- package/dist/selection-list/internal/FilterListBase.spec.js +142 -0
- package/dist/selection-list/internal/FilterListBase.spec.js.map +1 -0
- package/dist/selection-list/oscd-selection-list.d.ts +1 -0
- package/dist/selection-list/oscd-selection-list.js +3 -0
- package/dist/selection-list/oscd-selection-list.js.map +1 -0
- package/dist/selection-list/oscd-selection-list.spec.d.ts +1 -0
- package/dist/selection-list/oscd-selection-list.spec.js +75 -0
- package/dist/selection-list/oscd-selection-list.spec.js.map +1 -0
- package/dist/selection-list/oscd-selection-list.stories.d.ts +57 -0
- package/dist/selection-list/oscd-selection-list.stories.js +72 -0
- package/dist/selection-list/oscd-selection-list.stories.js.map +1 -0
- package/dist/selection-list/storybook-utils.d.ts +1 -0
- package/dist/selection-list/storybook-utils.js +13 -0
- package/dist/selection-list/storybook-utils.js.map +1 -0
- package/dist/slider/OscdSlider.d.ts +47 -0
- package/dist/slider/OscdSlider.js +6 -6
- package/dist/slider/OscdSlider.js.map +1 -0
- package/dist/slider/OscdSlider.spec.d.ts +1 -0
- package/dist/slider/OscdSlider.spec.js.map +1 -0
- package/dist/slider/OscdSlider.stories.d.ts +51 -0
- package/dist/slider/OscdSlider.stories.js.map +1 -0
- package/dist/slider/oscd-slider.d.ts +2 -0
- package/dist/slider/oscd-slider.js.map +1 -0
- package/dist/switch/OscdSwitch.d.ts +38 -0
- package/dist/switch/OscdSwitch.js +4 -4
- package/dist/switch/OscdSwitch.js.map +1 -0
- package/dist/switch/OscdSwitch.spec.d.ts +1 -0
- package/dist/switch/OscdSwitch.spec.js.map +1 -0
- package/dist/switch/OscdSwitch.stories.d.ts +51 -0
- package/dist/switch/OscdSwitch.stories.js.map +1 -0
- package/dist/switch/oscd-switch.d.ts +2 -0
- package/dist/switch/oscd-switch.js.map +1 -0
- package/dist/tabs/OscdPrimaryTab.d.ts +37 -0
- package/dist/tabs/OscdPrimaryTab.js +6 -6
- package/dist/tabs/OscdPrimaryTab.js.map +1 -0
- package/dist/tabs/OscdPrimaryTab.spec.d.ts +1 -0
- package/dist/tabs/OscdPrimaryTab.spec.js.map +1 -0
- package/dist/tabs/OscdPrimaryTab.stories.d.ts +53 -0
- package/dist/tabs/OscdPrimaryTab.stories.js.map +1 -0
- package/dist/tabs/OscdSecondaryTab.d.ts +37 -0
- package/dist/tabs/OscdSecondaryTab.js +6 -6
- package/dist/tabs/OscdSecondaryTab.js.map +1 -0
- package/dist/tabs/OscdSecondaryTab.spec.d.ts +1 -0
- package/dist/tabs/OscdSecondaryTab.spec.js.map +1 -0
- package/dist/tabs/OscdSecondaryTab.stories.d.ts +52 -0
- package/dist/tabs/OscdSecondaryTab.stories.js.map +1 -0
- package/dist/tabs/OscdTabs.d.ts +33 -0
- package/dist/tabs/OscdTabs.js +2 -2
- package/dist/tabs/OscdTabs.js.map +1 -0
- package/dist/tabs/OscdTabs.spec.d.ts +1 -0
- package/dist/tabs/OscdTabs.spec.js.map +1 -0
- package/dist/tabs/OscdTabs.stories.d.ts +55 -0
- package/dist/tabs/OscdTabs.stories.js.map +1 -0
- package/dist/tabs/oscd-primary-tab.d.ts +2 -0
- package/dist/tabs/oscd-primary-tab.js.map +1 -0
- package/dist/tabs/oscd-secondary-tab.d.ts +2 -0
- package/dist/tabs/oscd-secondary-tab.js.map +1 -0
- package/dist/tabs/oscd-tabs.d.ts +2 -0
- package/dist/tabs/oscd-tabs.js.map +1 -0
- package/dist/textfield/OscdFilledTextField.d.ts +35 -0
- package/dist/textfield/OscdFilledTextField.js.map +1 -0
- package/dist/textfield/OscdFilledTextField.spec.d.ts +1 -0
- package/dist/textfield/OscdFilledTextField.spec.js.map +1 -0
- package/dist/textfield/OscdFilledTextField.stories.d.ts +51 -0
- package/dist/textfield/OscdFilledTextField.stories.js.map +1 -0
- package/dist/textfield/OscdOutlinedTextField.d.ts +35 -0
- package/dist/textfield/OscdOutlinedTextField.js.map +1 -0
- package/dist/textfield/OscdOutlinedTextField.spec.d.ts +1 -0
- package/dist/textfield/OscdOutlinedTextField.spec.js.map +1 -0
- package/dist/textfield/OscdOutlinedTextField.stories.d.ts +51 -0
- package/dist/textfield/OscdOutlinedTextField.stories.js.map +1 -0
- package/dist/textfield/oscd-filled-text-field.d.ts +2 -0
- package/dist/textfield/oscd-filled-text-field.js.map +1 -0
- package/dist/textfield/oscd-outlined-text-field.d.ts +2 -0
- package/dist/textfield/oscd-outlined-text-field.js.map +1 -0
- package/dist/tree-grid/OscdTreeGrid.d.ts +66 -0
- package/dist/tree-grid/OscdTreeGrid.js +461 -0
- package/dist/tree-grid/OscdTreeGrid.js.map +1 -0
- package/dist/tree-grid/oscd-tree-grid.d.ts +2 -0
- package/dist/tree-grid/oscd-tree-grid.js +4 -0
- package/dist/tree-grid/oscd-tree-grid.js.map +1 -0
- package/dist/tree-grid/oscd-tree-grid.spec.d.ts +1 -0
- package/dist/tree-grid/oscd-tree-grid.spec.js +230 -0
- package/dist/tree-grid/oscd-tree-grid.spec.js.map +1 -0
- package/dist/tree-grid/oscd-tree-grid.stories.d.ts +51 -0
- package/dist/tree-grid/oscd-tree-grid.stories.js +24 -0
- package/dist/tree-grid/oscd-tree-grid.stories.js.map +1 -0
- package/dist/tree-grid/sample-tree.d.ts +313 -0
- package/dist/tree-grid/sample-tree.js +314 -0
- package/dist/tree-grid/sample-tree.js.map +1 -0
- package/dist/utils/storybook/getStorybookHelpers.d.ts +4 -0
- package/dist/utils/storybook/getStorybookHelpers.js.map +1 -0
- package/dist/utils/storybook/getStorybookMeta.d.ts +21 -0
- package/dist/utils/storybook/getStorybookMeta.js +12 -12
- package/dist/utils/storybook/getStorybookMeta.js.map +1 -0
- package/dist/utils/storybook/scopedWcDecorator.d.ts +2 -0
- package/dist/utils/storybook/scopedWcDecorator.js.map +1 -0
- package/dist/utils/storybook/story-overrides/button-overrides.d.ts +2 -0
- package/dist/utils/storybook/story-overrides/button-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/card-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/card-overrides.js +1 -1
- package/dist/utils/storybook/story-overrides/card-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/checkbox-overrides.d.ts +2 -0
- package/dist/utils/storybook/story-overrides/checkbox-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/chip-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/chip-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/dialog-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/dialog-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/divider-overrides.d.ts +2 -0
- package/dist/utils/storybook/story-overrides/divider-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/elevation-overrides.d.ts +5 -0
- package/dist/utils/storybook/story-overrides/elevation-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/fab-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/fab-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/icon-buttons-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/icon-buttons-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/icon-overrides.d.ts +2 -0
- package/dist/utils/storybook/story-overrides/icon-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/list-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/list-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/menu-overrides.d.ts +4 -0
- package/dist/utils/storybook/story-overrides/menu-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/story-overrides.d.ts +9 -0
- package/dist/utils/storybook/story-overrides/story-overrides.js.map +1 -0
- package/dist/utils/storybook/story-overrides/text-field-overrides.d.ts +3 -0
- package/dist/utils/storybook/story-overrides/text-field-overrides.js.map +1 -0
- package/dist/utils/storybook/themingDecorator.d.ts +19 -0
- package/dist/utils/storybook/themingDecorator.js.map +1 -0
- package/package.json +98 -68
- package/regenerating-library.md +36 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import './oscd-filled-button.js';
|
|
3
|
+
import { OscdFilledButton } from './OscdFilledButton.js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: import("storybook/internal/csf").ComponentTitle;
|
|
6
|
+
id?: import("storybook/internal/csf").ComponentId;
|
|
7
|
+
includeStories?: RegExp | string[];
|
|
8
|
+
excludeStories?: RegExp | string[];
|
|
9
|
+
component?: string | undefined;
|
|
10
|
+
subcomponents?: Record<string, string> | undefined;
|
|
11
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
12
|
+
textContent: string;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
15
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
16
|
+
textContent: string;
|
|
17
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
18
|
+
textContent: string;
|
|
19
|
+
}>[] | undefined;
|
|
20
|
+
parameters?: import("@storybook/web-components-vite").Parameters | undefined;
|
|
21
|
+
args?: Partial<OscdFilledButton & {
|
|
22
|
+
textContent: string;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
argTypes?: Partial<import("@storybook/web-components-vite").ArgTypes<OscdFilledButton & {
|
|
25
|
+
textContent: string;
|
|
26
|
+
}>> | undefined;
|
|
27
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
28
|
+
textContent: string;
|
|
29
|
+
}> | import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
30
|
+
textContent: string;
|
|
31
|
+
}>[] | undefined;
|
|
32
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
33
|
+
textContent: string;
|
|
34
|
+
}> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
35
|
+
textContent: string;
|
|
36
|
+
}>[] | undefined;
|
|
37
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
38
|
+
textContent: string;
|
|
39
|
+
}> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
40
|
+
textContent: string;
|
|
41
|
+
}>[] | undefined;
|
|
42
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
43
|
+
textContent: string;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
tags: import("storybook/internal/csf").Tag[];
|
|
46
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledButton & {
|
|
47
|
+
textContent: string;
|
|
48
|
+
}>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const Default: StoryObj;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdFilledButton.stories.js","sourceRoot":"","sources":["../../button/OscdFilledButton.stories.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,yBAAyB,CAAC;AAEjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAmB;IAClE,OAAO,EAAE,oBAAoB;CAC9B,CAAC,CAAC;AAEH,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,GAAG,IAAI;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B,QAAQ;IACR,IAAI;CACL,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport type { StoryObj } from '@storybook/web-components-vite';\nimport './oscd-filled-button.js';\nimport { OscdFilledButton } from './OscdFilledButton.js';\nimport { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';\n\nconst { args, argTypes, meta } = getStorybookMeta<OscdFilledButton>({\n tagName: 'oscd-filled-button',\n});\n\nexport default {\n title: 'Buttons / Filled Button',\n tags: ['autodocs'],\n ...meta,\n};\n\nexport const Default: StoryObj = {\n argTypes,\n args,\n};\n"]}
|
|
@@ -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 { OscdElevation } from '../elevation/OscdElevation.js';
|
|
12
|
+
import { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
13
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
14
|
+
import { CSSResultOrNative } from 'lit';
|
|
15
|
+
import { FilledTonalButton } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-button.js';
|
|
16
|
+
declare global {
|
|
17
|
+
interface HTMLElementTagNameMap {
|
|
18
|
+
'oscd-filled-tonal-button': OscdFilledTonalButton;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
declare const OscdFilledTonalButton_base: typeof FilledTonalButton & import("@open-wc/scoped-elements/lit-element.js").ScopedElementsHostConstructor;
|
|
22
|
+
/**
|
|
23
|
+
* @tagname oscd-filled-tonal-button
|
|
24
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
25
|
+
* document, or liking a comment.
|
|
26
|
+
*
|
|
27
|
+
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
28
|
+
* from other onscreen elements.
|
|
29
|
+
*
|
|
30
|
+
* __Rationale:__ Filled tonal buttons have a lighter background color and
|
|
31
|
+
* darker label color, making them less visually prominent than a regular,
|
|
32
|
+
* filled button. They’re still used for final or unblocking actions in a flow,
|
|
33
|
+
* but do so with less emphasis.
|
|
34
|
+
*
|
|
35
|
+
* __Example usages:__
|
|
36
|
+
* - Save
|
|
37
|
+
* - Confirm
|
|
38
|
+
* - Done
|
|
39
|
+
*
|
|
40
|
+
* @final
|
|
41
|
+
* @suppress {visibility}
|
|
42
|
+
*/
|
|
43
|
+
export declare class OscdFilledTonalButton extends OscdFilledTonalButton_base {
|
|
44
|
+
static scopedElements: {
|
|
45
|
+
'md-ripple': typeof OscdRipple;
|
|
46
|
+
'md-focus-ring': typeof OscdFocusRing;
|
|
47
|
+
'md-elevation': typeof OscdElevation;
|
|
48
|
+
};
|
|
49
|
+
static styles: CSSResultOrNative[];
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* Copyright 2025 Omicron Energy GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { OscdElevation } from '../elevation/OscdElevation.js';
|
|
12
|
+
import { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
13
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
14
14
|
import { FilledTonalButton } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-button.js';
|
|
15
15
|
import { styles as tonalStyles } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-styles.js';
|
|
16
16
|
import { styles as sharedElevationStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-elevation-styles.js';
|
|
@@ -40,9 +40,9 @@ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
|
|
|
40
40
|
export class OscdFilledTonalButton extends ScopedElementsMixin(FilledTonalButton) {
|
|
41
41
|
}
|
|
42
42
|
OscdFilledTonalButton.scopedElements = {
|
|
43
|
-
'md-ripple':
|
|
44
|
-
'md-focus-ring':
|
|
45
|
-
'md-elevation':
|
|
43
|
+
'md-ripple': OscdRipple,
|
|
44
|
+
'md-focus-ring': OscdFocusRing,
|
|
45
|
+
'md-elevation': OscdElevation,
|
|
46
46
|
};
|
|
47
47
|
OscdFilledTonalButton.styles = [
|
|
48
48
|
sharedStyles,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdFilledTonalButton.js","sourceRoot":"","sources":["../../button/OscdFilledTonalButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;;GAIG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,8EAA8E,CAAC;AACjH,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,8EAA8E,CAAC;AACrH,OAAO,EAAE,MAAM,IAAI,qBAAqB,EAAE,MAAM,kFAAkF,CAAC;AACnI,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,wEAAwE,CAAC;AAEhH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAO9E;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,OAAO,qBAAsB,SAAQ,mBAAmB,CAC5D,iBAAiB,CAClB;;AACQ,oCAAc,GAAG;IACtB,WAAW,EAAE,UAAU;IACvB,eAAe,EAAE,aAAa;IAC9B,cAAc,EAAE,aAAa;CAC9B,CAAC;AACc,4BAAM,GAAwB;IAC5C,YAAY;IACZ,qBAAqB;IACrB,WAAW;CACZ,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * @license\n * Copyright 2025 Omicron Energy GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { OscdElevation } from '../elevation/OscdElevation.js';\nimport { OscdFocusRing } from '../focus/OscdFocusRing.js';\nimport { OscdRipple } from '../ripple/OscdRipple.js';\n\nimport { CSSResultOrNative } from 'lit';\n\nimport { FilledTonalButton } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-button.js';\nimport { styles as tonalStyles } from '@omicronenergy/oscd-material-web-base/button/internal/filled-tonal-styles.js';\nimport { styles as sharedElevationStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-elevation-styles.js';\nimport { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';\n\nimport { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-filled-tonal-button': OscdFilledTonalButton;\n }\n}\n\n/**\n * @tagname oscd-filled-tonal-button\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * __Emphasis:__ Medium emphasis – For important actions that don’t distract\n * from other onscreen elements.\n *\n * __Rationale:__ Filled tonal buttons have a lighter background color and\n * darker label color, making them less visually prominent than a regular,\n * filled button. They’re still used for final or unblocking actions in a flow,\n * but do so with less emphasis.\n *\n * __Example usages:__\n * - Save\n * - Confirm\n * - Done\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledTonalButton extends ScopedElementsMixin(\n FilledTonalButton,\n) {\n static scopedElements = {\n 'md-ripple': OscdRipple,\n 'md-focus-ring': OscdFocusRing,\n 'md-elevation': OscdElevation,\n };\n static override styles: CSSResultOrNative[] = [\n sharedStyles,\n sharedElevationStyles,\n tonalStyles,\n ];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdFilledTonalButton.spec.js","sourceRoot":"","sources":["../../button/OscdFilledTonalButton.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAY,MAAM,OAAO,CAAC;AAEtC,QAAQ,CAAC,wCAAwC,EAAE,GAAG,EAAE;IACtD,IAAI,SAAmB,CAAC;IACxB,mCAAmC;IAEnC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,qDAAqD;QACrD,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,kBAAkB;QAClB,SAAS,CAAC,OAAO,EAAE,CAAC;QACpB,eAAe;QACf,cAAc,EAAE,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oFAAoF,EAAE,KAAK,IAAI,EAAE;QAClG,mCAAmC;QACnC,MAAM,EAAE,qBAAqB,EAAE,GAC7B,MAAM,MAAM,CAAC,4BAA4B,CAAC,CAAC;QAE7C,4BAA4B;QAC5B,MAAM,qBAAqB,GAAG,MAAM,OAAO,CACzC,IAAI,CAAA,uDAAuD,EAC3D,EAAE,cAAc,EAAE,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,EAAE,CAC1E,CAAC;QAEF,8CAA8C;QAC9C,MAAM,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACxD,MAAM,CAAC,qBAAqB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CACrD,uBAAuB,CACxB,CAAC;QAEF,MAAM,uBAAuB,GAAG,SAAS,CAAC,IAAI;aAC3C,MAAM,CACL,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CACnE;aACA,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;QAE/B,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { expect, fixture, fixtureCleanup } from '@open-wc/testing';\nimport { html } from 'lit';\nimport { spy, SinonSpy } from 'sinon';\n\ndescribe('OscdFilledTonalButton side-effect free', () => {\n let defineSpy: SinonSpy;\n // let harness: ScopingTestHarness;\n\n beforeEach(async () => {\n // Spy on customElements.define before dynamic import\n defineSpy = spy(window.customElements, 'define');\n });\n\n afterEach(() => {\n // Restore the spy\n defineSpy.restore();\n // Clean up DOM\n fixtureCleanup();\n });\n\n it('should not call customElements.define as a side effect during import/instantiation', async () => {\n // Dynamically import the component\n const { OscdFilledTonalButton } =\n await import('./OscdFilledTonalButton.js');\n\n // Instantiate the component\n const oscdFilledTonalButton = await fixture(\n html`<oscd-filled-tonal-button></oscd-filled-tonal-button>`,\n { scopedElements: { 'oscd-filled-tonal-button': OscdFilledTonalButton } },\n );\n\n // Verify it's upgraded (not just a dummy tag)\n expect(oscdFilledTonalButton.shadowRoot).not.to.be.null;\n expect(oscdFilledTonalButton.constructor.name).to.equal(\n 'OscdFilledTonalButton',\n );\n\n const globallyDefinedElements = defineSpy.args\n .filter(\n ([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'),\n )\n .map(([tagName]) => tagName);\n\n expect(globallyDefinedElements).to.deep.equal([]);\n });\n});\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import './oscd-filled-tonal-button.js';
|
|
3
|
+
import { OscdFilledTonalButton } from './OscdFilledTonalButton.js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: import("storybook/internal/csf").ComponentTitle;
|
|
6
|
+
id?: import("storybook/internal/csf").ComponentId;
|
|
7
|
+
includeStories?: RegExp | string[];
|
|
8
|
+
excludeStories?: RegExp | string[];
|
|
9
|
+
component?: string | undefined;
|
|
10
|
+
subcomponents?: Record<string, string> | undefined;
|
|
11
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
12
|
+
textContent: string;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
15
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
16
|
+
textContent: string;
|
|
17
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
18
|
+
textContent: string;
|
|
19
|
+
}>[] | undefined;
|
|
20
|
+
parameters?: import("@storybook/web-components-vite").Parameters | undefined;
|
|
21
|
+
args?: Partial<OscdFilledTonalButton & {
|
|
22
|
+
textContent: string;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
argTypes?: Partial<import("@storybook/web-components-vite").ArgTypes<OscdFilledTonalButton & {
|
|
25
|
+
textContent: string;
|
|
26
|
+
}>> | undefined;
|
|
27
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
28
|
+
textContent: string;
|
|
29
|
+
}> | import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
30
|
+
textContent: string;
|
|
31
|
+
}>[] | undefined;
|
|
32
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
33
|
+
textContent: string;
|
|
34
|
+
}> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
35
|
+
textContent: string;
|
|
36
|
+
}>[] | undefined;
|
|
37
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
38
|
+
textContent: string;
|
|
39
|
+
}> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
40
|
+
textContent: string;
|
|
41
|
+
}>[] | undefined;
|
|
42
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
43
|
+
textContent: string;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
tags: import("storybook/internal/csf").Tag[];
|
|
46
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components-vite").WebComponentsRenderer, OscdFilledTonalButton & {
|
|
47
|
+
textContent: string;
|
|
48
|
+
}>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const Default: StoryObj;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdFilledTonalButton.stories.js","sourceRoot":"","sources":["../../button/OscdFilledTonalButton.stories.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,+BAA+B,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAwB;IACvE,OAAO,EAAE,0BAA0B;CACpC,CAAC,CAAC;AAEH,eAAe;IACb,KAAK,EAAE,+BAA+B;IACtC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,GAAG,IAAI;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B,QAAQ;IACR,IAAI;CACL,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport type { StoryObj } from '@storybook/web-components-vite';\nimport './oscd-filled-tonal-button.js';\nimport { OscdFilledTonalButton } from './OscdFilledTonalButton.js';\nimport { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';\n\nconst { args, argTypes, meta } = getStorybookMeta<OscdFilledTonalButton>({\n tagName: 'oscd-filled-tonal-button',\n});\n\nexport default {\n title: 'Buttons / Filled Tonal Button',\n tags: ['autodocs'],\n ...meta,\n};\n\nexport const Default: StoryObj = {\n argTypes,\n args,\n};\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
12
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
13
|
+
import { CSSResultOrNative } from 'lit';
|
|
14
|
+
import { OutlinedButton } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-button.js';
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'oscd-outlined-button': OscdOutlinedButton;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
declare const OscdOutlinedButton_base: typeof OutlinedButton & import("@open-wc/scoped-elements/lit-element.js").ScopedElementsHostConstructor;
|
|
21
|
+
/**
|
|
22
|
+
* @tagname oscd-outlined-button
|
|
23
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
24
|
+
* document, or liking a comment.
|
|
25
|
+
*
|
|
26
|
+
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
27
|
+
* from other onscreen elements.
|
|
28
|
+
*
|
|
29
|
+
* __Rationale:__ Use an outlined button for actions that need attention but
|
|
30
|
+
* aren’t the primary action, such as “See all” or “Add to cart.” This is also
|
|
31
|
+
* the button to use for giving someone the opportunity to change their mind or
|
|
32
|
+
* escape a flow.
|
|
33
|
+
*
|
|
34
|
+
* __Example usages:__
|
|
35
|
+
* - Reply
|
|
36
|
+
* - View all
|
|
37
|
+
* - Add to cart
|
|
38
|
+
* - Take out of trash
|
|
39
|
+
*
|
|
40
|
+
* @final
|
|
41
|
+
* @suppress {visibility}
|
|
42
|
+
*/
|
|
43
|
+
export declare class OscdOutlinedButton extends OscdOutlinedButton_base {
|
|
44
|
+
static scopedElements: {
|
|
45
|
+
'md-ripple': typeof OscdRipple;
|
|
46
|
+
'md-focus-ring': typeof OscdFocusRing;
|
|
47
|
+
};
|
|
48
|
+
static styles: CSSResultOrNative[];
|
|
49
|
+
}
|
|
50
|
+
export {};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* Copyright 2025 Omicron Energy GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
12
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
13
13
|
import { OutlinedButton } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-button.js';
|
|
14
14
|
import { styles as outlinedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-styles.js';
|
|
15
15
|
import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
|
|
@@ -39,8 +39,8 @@ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
|
|
|
39
39
|
export class OscdOutlinedButton extends ScopedElementsMixin(OutlinedButton) {
|
|
40
40
|
}
|
|
41
41
|
OscdOutlinedButton.scopedElements = {
|
|
42
|
-
'md-ripple':
|
|
43
|
-
'md-focus-ring':
|
|
42
|
+
'md-ripple': OscdRipple,
|
|
43
|
+
'md-focus-ring': OscdFocusRing,
|
|
44
44
|
};
|
|
45
45
|
OscdOutlinedButton.styles = [sharedStyles, outlinedStyles];
|
|
46
46
|
//# sourceMappingURL=OscdOutlinedButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdOutlinedButton.js","sourceRoot":"","sources":["../../button/OscdOutlinedButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,cAAc,EAAE,MAAM,0EAA0E,CAAC;AAC1G,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,0EAA0E,CAAC;AACpH,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,wEAAwE,CAAC;AAEhH,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAO9E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,OAAO,kBAAmB,SAAQ,mBAAmB,CAAC,cAAc,CAAC;;AAClE,iCAAc,GAAG;IACtB,WAAW,EAAE,UAAU;IACvB,eAAe,EAAE,aAAa;CAC/B,CAAC;AACc,yBAAM,GAAwB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * @license\n * Copyright 2025 Omicron Energy GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { OscdFocusRing } from '../focus/OscdFocusRing.js';\nimport { OscdRipple } from '../ripple/OscdRipple.js';\n\nimport { CSSResultOrNative } from 'lit';\n\nimport { OutlinedButton } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-button.js';\nimport { styles as outlinedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/outlined-styles.js';\nimport { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';\n\nimport { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-outlined-button': OscdOutlinedButton;\n }\n}\n\n/**\n * @tagname oscd-outlined-button\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * __Emphasis:__ Medium emphasis – For important actions that don’t distract\n * from other onscreen elements.\n *\n * __Rationale:__ Use an outlined button for actions that need attention but\n * aren’t the primary action, such as “See all” or “Add to cart.” This is also\n * the button to use for giving someone the opportunity to change their mind or\n * escape a flow.\n *\n * __Example usages:__\n * - Reply\n * - View all\n * - Add to cart\n * - Take out of trash\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdOutlinedButton extends ScopedElementsMixin(OutlinedButton) {\n static scopedElements = {\n 'md-ripple': OscdRipple,\n 'md-focus-ring': OscdFocusRing,\n };\n static override styles: CSSResultOrNative[] = [sharedStyles, outlinedStyles];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdOutlinedButton.spec.js","sourceRoot":"","sources":["../../button/OscdOutlinedButton.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAY,MAAM,OAAO,CAAC;AAEtC,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,IAAI,SAAmB,CAAC;IACxB,mCAAmC;IAEnC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,qDAAqD;QACrD,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,kBAAkB;QAClB,SAAS,CAAC,OAAO,EAAE,CAAC;QACpB,eAAe;QACf,cAAc,EAAE,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oFAAoF,EAAE,KAAK,IAAI,EAAE;QAClG,mCAAmC;QACnC,MAAM,EAAE,kBAAkB,EAAE,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,CAAC;QAEvE,4BAA4B;QAC5B,MAAM,kBAAkB,GAAG,MAAM,OAAO,CACtC,IAAI,CAAA,+CAA+C,EACnD,EAAE,cAAc,EAAE,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,EAAE,CACnE,CAAC;QAEF,8CAA8C;QAC9C,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACrD,MAAM,CAAC,kBAAkB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAE3E,MAAM,uBAAuB,GAAG,SAAS,CAAC,IAAI;aAC3C,MAAM,CACL,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CACnE;aACA,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;QAE/B,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { expect, fixture, fixtureCleanup } from '@open-wc/testing';\nimport { html } from 'lit';\nimport { spy, SinonSpy } from 'sinon';\n\ndescribe('OscdOutlinedButton side-effect free', () => {\n let defineSpy: SinonSpy;\n // let harness: ScopingTestHarness;\n\n beforeEach(async () => {\n // Spy on customElements.define before dynamic import\n defineSpy = spy(window.customElements, 'define');\n });\n\n afterEach(() => {\n // Restore the spy\n defineSpy.restore();\n // Clean up DOM\n fixtureCleanup();\n });\n\n it('should not call customElements.define as a side effect during import/instantiation', async () => {\n // Dynamically import the component\n const { OscdOutlinedButton } = await import('./OscdOutlinedButton.js');\n\n // Instantiate the component\n const oscdOutlinedButton = await fixture(\n html`<oscd-outlined-button></oscd-outlined-button>`,\n { scopedElements: { 'oscd-outlined-button': OscdOutlinedButton } },\n );\n\n // Verify it's upgraded (not just a dummy tag)\n expect(oscdOutlinedButton.shadowRoot).not.to.be.null;\n expect(oscdOutlinedButton.constructor.name).to.equal('OscdOutlinedButton');\n\n const globallyDefinedElements = defineSpy.args\n .filter(\n ([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'),\n )\n .map(([tagName]) => tagName);\n\n expect(globallyDefinedElements).to.deep.equal([]);\n });\n});\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import './oscd-outlined-button.js';
|
|
3
|
+
import { OscdOutlinedButton } from './OscdOutlinedButton.js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: import("storybook/internal/csf").ComponentTitle;
|
|
6
|
+
id?: import("storybook/internal/csf").ComponentId;
|
|
7
|
+
includeStories?: RegExp | string[];
|
|
8
|
+
excludeStories?: RegExp | string[];
|
|
9
|
+
component?: string | undefined;
|
|
10
|
+
subcomponents?: Record<string, string> | undefined;
|
|
11
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
12
|
+
textContent: string;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
15
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
16
|
+
textContent: string;
|
|
17
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
18
|
+
textContent: string;
|
|
19
|
+
}>[] | undefined;
|
|
20
|
+
parameters?: import("@storybook/web-components-vite").Parameters | undefined;
|
|
21
|
+
args?: Partial<OscdOutlinedButton & {
|
|
22
|
+
textContent: string;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
argTypes?: Partial<import("@storybook/web-components-vite").ArgTypes<OscdOutlinedButton & {
|
|
25
|
+
textContent: string;
|
|
26
|
+
}>> | undefined;
|
|
27
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
28
|
+
textContent: string;
|
|
29
|
+
}> | import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
30
|
+
textContent: string;
|
|
31
|
+
}>[] | undefined;
|
|
32
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
33
|
+
textContent: string;
|
|
34
|
+
}> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
35
|
+
textContent: string;
|
|
36
|
+
}>[] | undefined;
|
|
37
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
38
|
+
textContent: string;
|
|
39
|
+
}> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
40
|
+
textContent: string;
|
|
41
|
+
}>[] | undefined;
|
|
42
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
43
|
+
textContent: string;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
tags: import("storybook/internal/csf").Tag[];
|
|
46
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components-vite").WebComponentsRenderer, OscdOutlinedButton & {
|
|
47
|
+
textContent: string;
|
|
48
|
+
}>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const Default: StoryObj;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdOutlinedButton.stories.js","sourceRoot":"","sources":["../../button/OscdOutlinedButton.stories.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,2BAA2B,CAAC;AAEnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAqB;IACpE,OAAO,EAAE,sBAAsB;CAChC,CAAC,CAAC;AAEH,eAAe;IACb,KAAK,EAAE,2BAA2B;IAClC,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,GAAG,IAAI;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B,QAAQ;IACR,IAAI;CACL,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport type { StoryObj } from '@storybook/web-components-vite';\nimport './oscd-outlined-button.js';\nimport { OscdOutlinedButton } from './OscdOutlinedButton.js';\nimport { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';\n\nconst { args, argTypes, meta } = getStorybookMeta<OscdOutlinedButton>({\n tagName: 'oscd-outlined-button',\n});\n\nexport default {\n title: 'Buttons / Outlined Button',\n tags: ['autodocs'],\n ...meta,\n};\n\nexport const Default: StoryObj = {\n argTypes,\n args,\n};\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
12
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
13
|
+
import { CSSResultOrNative } from 'lit';
|
|
14
|
+
import { TextButton } from '@omicronenergy/oscd-material-web-base/button/internal/text-button.js';
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'oscd-text-button': OscdTextButton;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
declare const OscdTextButton_base: typeof TextButton & import("@open-wc/scoped-elements/lit-element.js").ScopedElementsHostConstructor;
|
|
21
|
+
/**
|
|
22
|
+
* @tagname oscd-text-button
|
|
23
|
+
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
24
|
+
* document, or liking a comment.
|
|
25
|
+
*
|
|
26
|
+
* __Emphasis:__ Low emphasis – For optional or supplementary actions with the
|
|
27
|
+
* least amount of prominence
|
|
28
|
+
*
|
|
29
|
+
* __Rationale:__ Text buttons have less visual prominence, so should be used
|
|
30
|
+
* for low emphasis actions, such as an alternative option.
|
|
31
|
+
*
|
|
32
|
+
* __Example usages:__
|
|
33
|
+
* - Learn more
|
|
34
|
+
* - View all
|
|
35
|
+
* - Change account
|
|
36
|
+
* - Turn on
|
|
37
|
+
*
|
|
38
|
+
* @final
|
|
39
|
+
* @suppress {visibility}
|
|
40
|
+
*/
|
|
41
|
+
export declare class OscdTextButton extends OscdTextButton_base {
|
|
42
|
+
static scopedElements: {
|
|
43
|
+
'md-ripple': typeof OscdRipple;
|
|
44
|
+
'md-focus-ring': typeof OscdFocusRing;
|
|
45
|
+
};
|
|
46
|
+
static styles: CSSResultOrNative[];
|
|
47
|
+
}
|
|
48
|
+
export {};
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* Copyright 2025 Omicron Energy GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
12
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
13
13
|
import { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';
|
|
14
14
|
import { TextButton } from '@omicronenergy/oscd-material-web-base/button/internal/text-button.js';
|
|
15
15
|
import { styles as textStyles } from '@omicronenergy/oscd-material-web-base/button/internal/text-styles.js';
|
|
@@ -37,8 +37,8 @@ import { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';
|
|
|
37
37
|
export class OscdTextButton extends ScopedElementsMixin(TextButton) {
|
|
38
38
|
}
|
|
39
39
|
OscdTextButton.scopedElements = {
|
|
40
|
-
'md-ripple':
|
|
41
|
-
'md-focus-ring':
|
|
40
|
+
'md-ripple': OscdRipple,
|
|
41
|
+
'md-focus-ring': OscdFocusRing,
|
|
42
42
|
};
|
|
43
43
|
OscdTextButton.styles = [sharedStyles, textStyles];
|
|
44
44
|
//# sourceMappingURL=OscdTextButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdTextButton.js","sourceRoot":"","sources":["../../button/OscdTextButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,wEAAwE,CAAC;AAChH,OAAO,EAAE,UAAU,EAAE,MAAM,sEAAsE,CAAC;AAClG,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,sEAAsE,CAAC;AAE5G,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAO9E;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,OAAO,cAAe,SAAQ,mBAAmB,CAAC,UAAU,CAAC;;AAC1D,6BAAc,GAAG;IACtB,WAAW,EAAE,UAAU;IACvB,eAAe,EAAE,aAAa;CAC/B,CAAC;AACc,qBAAM,GAAwB,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * @license\n * Copyright 2025 Omicron Energy GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { OscdFocusRing } from '../focus/OscdFocusRing.js';\nimport { OscdRipple } from '../ripple/OscdRipple.js';\n\nimport { CSSResultOrNative } from 'lit';\n\nimport { styles as sharedStyles } from '@omicronenergy/oscd-material-web-base/button/internal/shared-styles.js';\nimport { TextButton } from '@omicronenergy/oscd-material-web-base/button/internal/text-button.js';\nimport { styles as textStyles } from '@omicronenergy/oscd-material-web-base/button/internal/text-styles.js';\n\nimport { ScopedElementsMixin } from '@open-wc/scoped-elements/lit-element.js';\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-text-button': OscdTextButton;\n }\n}\n\n/**\n * @tagname oscd-text-button\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence\n *\n * __Rationale:__ Text buttons have less visual prominence, so should be used\n * for low emphasis actions, such as an alternative option.\n *\n * __Example usages:__\n * - Learn more\n * - View all\n * - Change account\n * - Turn on\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdTextButton extends ScopedElementsMixin(TextButton) {\n static scopedElements = {\n 'md-ripple': OscdRipple,\n 'md-focus-ring': OscdFocusRing,\n };\n static override styles: CSSResultOrNative[] = [sharedStyles, textStyles];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdTextButton.spec.js","sourceRoot":"","sources":["../../button/OscdTextButton.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,GAAG,EAAY,MAAM,OAAO,CAAC;AAEtC,QAAQ,CAAC,iCAAiC,EAAE,GAAG,EAAE;IAC/C,IAAI,SAAmB,CAAC;IACxB,mCAAmC;IAEnC,UAAU,CAAC,KAAK,IAAI,EAAE;QACpB,qDAAqD;QACrD,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,kBAAkB;QAClB,SAAS,CAAC,OAAO,EAAE,CAAC;QACpB,eAAe;QACf,cAAc,EAAE,CAAC;IACnB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oFAAoF,EAAE,KAAK,IAAI,EAAE;QAClG,mCAAmC;QACnC,MAAM,EAAE,cAAc,EAAE,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,CAAC;QAE/D,4BAA4B;QAC5B,MAAM,cAAc,GAAG,MAAM,OAAO,CAClC,IAAI,CAAA,uCAAuC,EAC3C,EAAE,cAAc,EAAE,EAAE,kBAAkB,EAAE,cAAc,EAAE,EAAE,CAC3D,CAAC;QAEF,8CAA8C;QAC9C,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACjD,MAAM,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAEnE,MAAM,uBAAuB,GAAG,SAAS,CAAC,IAAI;aAC3C,MAAM,CACL,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CACnE;aACA,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC;QAE/B,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { expect, fixture, fixtureCleanup } from '@open-wc/testing';\nimport { html } from 'lit';\nimport { spy, SinonSpy } from 'sinon';\n\ndescribe('OscdTextButton side-effect free', () => {\n let defineSpy: SinonSpy;\n // let harness: ScopingTestHarness;\n\n beforeEach(async () => {\n // Spy on customElements.define before dynamic import\n defineSpy = spy(window.customElements, 'define');\n });\n\n afterEach(() => {\n // Restore the spy\n defineSpy.restore();\n // Clean up DOM\n fixtureCleanup();\n });\n\n it('should not call customElements.define as a side effect during import/instantiation', async () => {\n // Dynamically import the component\n const { OscdTextButton } = await import('./OscdTextButton.js');\n\n // Instantiate the component\n const oscdTextButton = await fixture(\n html`<oscd-text-button></oscd-text-button>`,\n { scopedElements: { 'oscd-text-button': OscdTextButton } },\n );\n\n // Verify it's upgraded (not just a dummy tag)\n expect(oscdTextButton.shadowRoot).not.to.be.null;\n expect(oscdTextButton.constructor.name).to.equal('OscdTextButton');\n\n const globallyDefinedElements = defineSpy.args\n .filter(\n ([tagName]) => !tagName.startsWith('scoped-elements-test-wrapper'),\n )\n .map(([tagName]) => tagName);\n\n expect(globallyDefinedElements).to.deep.equal([]);\n });\n});\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components-vite';
|
|
2
|
+
import './oscd-text-button.js';
|
|
3
|
+
import { OscdTextButton } from './OscdTextButton.js';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
title: import("storybook/internal/csf").ComponentTitle;
|
|
6
|
+
id?: import("storybook/internal/csf").ComponentId;
|
|
7
|
+
includeStories?: RegExp | string[];
|
|
8
|
+
excludeStories?: RegExp | string[];
|
|
9
|
+
component?: string | undefined;
|
|
10
|
+
subcomponents?: Record<string, string> | undefined;
|
|
11
|
+
play?: import("storybook/internal/csf").PlayFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
12
|
+
textContent: string;
|
|
13
|
+
}> | undefined;
|
|
14
|
+
globals?: import("storybook/internal/csf").Globals | undefined;
|
|
15
|
+
decorators?: import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
16
|
+
textContent: string;
|
|
17
|
+
}> | import("storybook/internal/csf").DecoratorFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
18
|
+
textContent: string;
|
|
19
|
+
}>[] | undefined;
|
|
20
|
+
parameters?: import("@storybook/web-components-vite").Parameters | undefined;
|
|
21
|
+
args?: Partial<OscdTextButton & {
|
|
22
|
+
textContent: string;
|
|
23
|
+
}> | undefined;
|
|
24
|
+
argTypes?: Partial<import("@storybook/web-components-vite").ArgTypes<OscdTextButton & {
|
|
25
|
+
textContent: string;
|
|
26
|
+
}>> | undefined;
|
|
27
|
+
loaders?: import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
28
|
+
textContent: string;
|
|
29
|
+
}> | import("storybook/internal/csf").LoaderFunction<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
30
|
+
textContent: string;
|
|
31
|
+
}>[] | undefined;
|
|
32
|
+
beforeEach?: import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
33
|
+
textContent: string;
|
|
34
|
+
}> | import("storybook/internal/csf").BeforeEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
35
|
+
textContent: string;
|
|
36
|
+
}>[] | undefined;
|
|
37
|
+
afterEach?: import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
38
|
+
textContent: string;
|
|
39
|
+
}> | import("storybook/internal/csf").AfterEach<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
40
|
+
textContent: string;
|
|
41
|
+
}>[] | undefined;
|
|
42
|
+
render?: import("storybook/internal/csf").ArgsStoryFn<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
43
|
+
textContent: string;
|
|
44
|
+
}> | undefined;
|
|
45
|
+
tags: import("storybook/internal/csf").Tag[];
|
|
46
|
+
mount?: ((context: import("storybook/internal/csf").StoryContext<import("@storybook/web-components-vite").WebComponentsRenderer, OscdTextButton & {
|
|
47
|
+
textContent: string;
|
|
48
|
+
}>) => () => Promise<import("storybook/internal/csf").Canvas>) | undefined;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
export declare const Default: StoryObj;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OscdTextButton.stories.js","sourceRoot":"","sources":["../../button/OscdTextButton.stories.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAEzE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,gBAAgB,CAAiB;IAChE,OAAO,EAAE,kBAAkB;CAC5B,CAAC,CAAC;AAEH,eAAe;IACb,KAAK,EAAE,uBAAuB;IAC9B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,GAAG,IAAI;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAa;IAC/B,QAAQ;IACR,IAAI;CACL,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport type { StoryObj } from '@storybook/web-components-vite';\nimport './oscd-text-button.js';\nimport { OscdTextButton } from './OscdTextButton.js';\nimport { getStorybookMeta } from '@/utils/storybook/getStorybookMeta.js';\n\nconst { args, argTypes, meta } = getStorybookMeta<OscdTextButton>({\n tagName: 'oscd-text-button',\n});\n\nexport default {\n title: 'Buttons / Text Button',\n tags: ['autodocs'],\n ...meta,\n};\n\nexport const Default: StoryObj = {\n argTypes,\n args,\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oscd-elevated-button.js","sourceRoot":"","sources":["../../button/oscd-elevated-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,cAAc,CAAC,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { OscdElevatedButton } from './OscdElevatedButton.js';\n\ncustomElements.define('oscd-elevated-button', OscdElevatedButton);\nexport { OscdElevatedButton };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oscd-filled-button.js","sourceRoot":"","sources":["../../button/oscd-filled-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,cAAc,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { OscdFilledButton } from './OscdFilledButton.js';\n\ncustomElements.define('oscd-filled-button', OscdFilledButton);\nexport { OscdFilledButton };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oscd-filled-tonal-button.js","sourceRoot":"","sources":["../../button/oscd-filled-tonal-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,cAAc,CAAC,MAAM,CAAC,0BAA0B,EAAE,qBAAqB,CAAC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { OscdFilledTonalButton } from './OscdFilledTonalButton.js';\n\ncustomElements.define('oscd-filled-tonal-button', OscdFilledTonalButton);\nexport { OscdFilledTonalButton };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oscd-outlined-button.js","sourceRoot":"","sources":["../../button/oscd-outlined-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,cAAc,CAAC,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { OscdOutlinedButton } from './OscdOutlinedButton.js';\n\ncustomElements.define('oscd-outlined-button', OscdOutlinedButton);\nexport { OscdOutlinedButton };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oscd-text-button.js","sourceRoot":"","sources":["../../button/oscd-text-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,cAAc,CAAC,MAAM,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,CAAC","sourcesContent":["/*\n * GENERATED SOURCE FILE. DO NOT MODIFY.\n * Modifications will be overwritten.\n * To prevent this file from being overwritten, remove this comment entirely.\n */\n\nimport { OscdTextButton } from './OscdTextButton.js';\n\ncustomElements.define('oscd-text-button', OscdTextButton);\nexport { OscdTextButton };\n"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { OscdFocusRing } from '../focus/OscdFocusRing.js';
|
|
12
|
+
import { OscdRipple } from '../ripple/OscdRipple.js';
|
|
13
|
+
import { CSSResultOrNative } from 'lit';
|
|
14
|
+
import { Checkbox } from '@omicronenergy/oscd-material-web-base/checkbox/internal/checkbox.js';
|
|
15
|
+
declare global {
|
|
16
|
+
interface HTMLElementTagNameMap {
|
|
17
|
+
'oscd-checkbox': OscdCheckbox;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
declare const OscdCheckbox_base: typeof Checkbox & import("@open-wc/scoped-elements/lit-element.js").ScopedElementsHostConstructor;
|
|
21
|
+
/**
|
|
22
|
+
* @tagname oscd-checkbox
|
|
23
|
+
* @summary Checkboxes allow users to select one or more items from a set.
|
|
24
|
+
* Checkboxes can turn an option on or off.
|
|
25
|
+
*
|
|
26
|
+
* Use checkboxes to:
|
|
27
|
+
* - Select one or more options from a list
|
|
28
|
+
* - Present a list containing sub-selections
|
|
29
|
+
* - Turn an item on or off in a desktop environment
|
|
30
|
+
*
|
|
31
|
+
* @final
|
|
32
|
+
* @suppress {visibility}
|
|
33
|
+
*/
|
|
34
|
+
export declare class OscdCheckbox extends OscdCheckbox_base {
|
|
35
|
+
static scopedElements: {
|
|
36
|
+
'md-ripple': typeof OscdRipple;
|
|
37
|
+
'md-focus-ring': typeof OscdFocusRing;
|
|
38
|
+
};
|
|
39
|
+
static styles: CSSResultOrNative[];
|
|
40
|
+
}
|
|
41
|
+
export {};
|