@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.
- package/README.md +13 -13
- package/dist/about/Catalog.stories.js +305 -0
- package/{app-bar → dist/app-bar}/OscdAppBar.js +27 -25
- package/dist/app-bar/OscdAppBar.stories.js +83 -0
- package/dist/button/OscdElevatedButton.js +53 -0
- package/dist/button/OscdElevatedButton.spec.js +36 -0
- package/dist/button/OscdElevatedButton.stories.js +20 -0
- package/dist/button/OscdFilledButton.js +51 -0
- package/dist/button/OscdFilledButton.spec.js +36 -0
- package/dist/button/OscdFilledButton.stories.js +20 -0
- package/dist/button/OscdFilledTonalButton.js +52 -0
- package/dist/button/OscdFilledTonalButton.spec.js +36 -0
- package/dist/button/OscdFilledTonalButton.stories.js +20 -0
- package/dist/button/OscdOutlinedButton.js +46 -0
- package/dist/button/OscdOutlinedButton.spec.js +36 -0
- package/dist/button/OscdOutlinedButton.stories.js +20 -0
- package/dist/button/OscdTextButton.js +44 -0
- package/dist/button/OscdTextButton.spec.js +36 -0
- package/dist/button/OscdTextButton.stories.js +20 -0
- package/dist/button/oscd-elevated-button.js +9 -0
- package/dist/button/oscd-filled-button.js +9 -0
- package/dist/button/oscd-filled-tonal-button.js +9 -0
- package/dist/button/oscd-outlined-button.js +9 -0
- package/dist/button/oscd-text-button.js +9 -0
- package/dist/checkbox/OscdCheckbox.js +36 -0
- package/dist/checkbox/OscdCheckbox.spec.js +38 -0
- package/dist/checkbox/OscdCheckbox.stories.js +20 -0
- package/dist/checkbox/oscd-checkbox.js +9 -0
- package/dist/chips/OscdAssistChip.js +36 -0
- package/dist/chips/OscdAssistChip.spec.js +36 -0
- package/dist/chips/OscdAssistChip.stories.js +20 -0
- package/dist/chips/OscdChipSet.js +18 -0
- package/dist/chips/OscdChipSet.spec.js +38 -0
- package/dist/chips/OscdChipSet.stories.js +20 -0
- package/dist/chips/OscdFilterChip.js +42 -0
- package/dist/chips/OscdFilterChip.spec.js +36 -0
- package/dist/chips/OscdFilterChip.stories.js +20 -0
- package/dist/chips/OscdInputChip.js +38 -0
- package/dist/chips/OscdInputChip.spec.js +36 -0
- package/dist/chips/OscdInputChip.stories.js +20 -0
- package/dist/chips/OscdSuggestionChip.js +38 -0
- package/dist/chips/OscdSuggestionChip.spec.js +36 -0
- package/dist/chips/OscdSuggestionChip.stories.js +20 -0
- package/dist/chips/oscd-assist-chip.js +9 -0
- package/dist/chips/oscd-chip-set.js +9 -0
- package/dist/chips/oscd-filter-chip.js +9 -0
- package/dist/chips/oscd-input-chip.js +9 -0
- package/dist/chips/oscd-suggestion-chip.js +9 -0
- package/{dialog → dist/dialog}/OscdDialog.js +12 -13
- package/dist/dialog/OscdDialog.spec.js +38 -0
- package/dist/dialog/OscdDialog.stories.js +20 -0
- package/dist/dialog/oscd-dialog.js +9 -0
- package/dist/divider/OscdDivider.js +21 -0
- package/dist/divider/OscdDivider.spec.js +38 -0
- package/dist/divider/OscdDivider.stories.js +20 -0
- package/dist/divider/oscd-divider.js +9 -0
- package/dist/elevation/OscdElevation.js +20 -0
- package/dist/elevation/OscdElevation.spec.js +36 -0
- package/dist/elevation/OscdElevation.stories.js +20 -0
- package/dist/elevation/oscd-elevation.js +9 -0
- package/dist/fab/OscdBrandedFab.js +68 -0
- package/dist/fab/OscdBrandedFab.spec.js +36 -0
- package/dist/fab/OscdBrandedFab.stories.js +20 -0
- package/dist/fab/OscdFab.js +58 -0
- package/dist/fab/OscdFab.spec.js +38 -0
- package/dist/fab/OscdFab.stories.js +20 -0
- package/dist/fab/oscd-branded-fab.js +9 -0
- package/dist/fab/oscd-fab.js +9 -0
- package/dist/field/OscdFilledField.js +18 -0
- package/dist/field/OscdFilledField.spec.js +36 -0
- package/dist/field/OscdFilledField.stories.js +20 -0
- package/dist/field/OscdOutlinedField.js +18 -0
- package/dist/field/OscdOutlinedField.spec.js +36 -0
- package/dist/field/OscdOutlinedField.stories.js +20 -0
- package/dist/field/oscd-filled-field.js +9 -0
- package/dist/field/oscd-outlined-field.js +9 -0
- package/dist/focus/OscdFocusRing.js +18 -0
- package/dist/focus/OscdFocusRing.spec.js +36 -0
- package/dist/focus/OscdFocusRing.stories.js +20 -0
- package/dist/focus/oscd-focus-ring.js +9 -0
- package/dist/icon/OscdIcon.js +17 -0
- package/dist/icon/OscdIcon.spec.js +38 -0
- package/dist/icon/OscdIcon.stories.js +20 -0
- package/dist/icon/oscd-icon.js +9 -0
- package/dist/iconbutton/OscdFilledIconButton.js +49 -0
- package/dist/iconbutton/OscdFilledIconButton.spec.js +36 -0
- package/dist/iconbutton/OscdFilledIconButton.stories.js +20 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.js +49 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.spec.js +40 -0
- package/dist/iconbutton/OscdFilledTonalIconButton.stories.js +20 -0
- package/dist/iconbutton/OscdIconButton.js +48 -0
- package/dist/iconbutton/OscdIconButton.spec.js +36 -0
- package/dist/iconbutton/OscdIconButton.stories.js +20 -0
- package/dist/iconbutton/OscdOutlinedIconButton.js +48 -0
- package/dist/iconbutton/OscdOutlinedIconButton.spec.js +38 -0
- package/dist/iconbutton/OscdOutlinedIconButton.stories.js +20 -0
- package/dist/iconbutton/oscd-filled-icon-button.js +9 -0
- package/dist/iconbutton/oscd-filled-tonal-icon-button.js +9 -0
- package/dist/iconbutton/oscd-icon-button.js +9 -0
- package/dist/iconbutton/oscd-outlined-icon-button.js +9 -0
- package/dist/labs/badge/OscdBadge.js +16 -0
- package/dist/labs/badge/OscdBadge.spec.js +38 -0
- package/dist/labs/badge/OscdBadge.stories.js +20 -0
- package/dist/labs/badge/oscd-badge.js +9 -0
- package/dist/labs/card/OscdElevatedCard.js +27 -0
- package/dist/labs/card/OscdElevatedCard.spec.js +36 -0
- package/dist/labs/card/OscdElevatedCard.stories.js +20 -0
- package/dist/labs/card/OscdFilledCard.js +27 -0
- package/dist/labs/card/OscdFilledCard.spec.js +36 -0
- package/dist/labs/card/OscdFilledCard.stories.js +20 -0
- package/dist/labs/card/OscdOutlinedCard.js +27 -0
- package/dist/labs/card/OscdOutlinedCard.spec.js +36 -0
- package/dist/labs/card/OscdOutlinedCard.stories.js +20 -0
- package/dist/labs/card/oscd-elevated-card.js +9 -0
- package/dist/labs/card/oscd-filled-card.js +9 -0
- package/dist/labs/card/oscd-outlined-card.js +9 -0
- package/dist/labs/item/OscdItem.js +71 -0
- package/dist/labs/item/OscdItem.spec.js +38 -0
- package/dist/labs/item/OscdItem.stories.js +20 -0
- package/dist/labs/item/oscd-item.js +9 -0
- package/dist/labs/navigationbar/OscdNavigationBar.js +26 -0
- package/dist/labs/navigationbar/OscdNavigationBar.spec.js +44 -0
- package/dist/labs/navigationbar/OscdNavigationBar.stories.js +20 -0
- package/dist/labs/navigationbar/oscd-navigation-bar.js +9 -0
- package/dist/labs/navigationtab/OscdNavigationTab.js +30 -0
- package/dist/labs/navigationtab/OscdNavigationTab.spec.js +36 -0
- package/dist/labs/navigationtab/OscdNavigationTab.stories.js +20 -0
- package/dist/labs/navigationtab/oscd-navigation-tab.js +9 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.js +31 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.spec.js +40 -0
- package/dist/labs/segmentedbutton/OscdOutlinedSegmentedButton.stories.js +24 -0
- package/dist/labs/segmentedbutton/oscd-outlined-segmented-button.js +9 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.js +19 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.spec.js +40 -0
- package/dist/labs/segmentedbuttonset/OscdOutlinedSegmentedButtonSet.stories.js +35 -0
- package/dist/labs/segmentedbuttonset/oscd-outlined-segmented-button-set.js +9 -0
- package/{list/OscdList.d.ts → dist/list/OscdList.js} +10 -14
- package/dist/list/OscdList.spec.js +38 -0
- package/dist/list/OscdList.stories.js +20 -0
- package/{list/OscdListItem.d.ts → dist/list/OscdListItem.js} +20 -9
- package/dist/list/OscdListItem.spec.js +36 -0
- package/dist/list/OscdListItem.stories.js +20 -0
- package/dist/list/oscd-list-item.js +9 -0
- package/dist/list/oscd-list.js +9 -0
- package/{menu/OscdMenu.d.ts → dist/menu/OscdMenu.js} +21 -12
- package/dist/menu/OscdMenu.spec.js +38 -0
- package/dist/menu/OscdMenu.stories.js +20 -0
- package/dist/menu/OscdMenuItem.js +40 -0
- package/dist/menu/OscdMenuItem.spec.js +36 -0
- package/dist/menu/OscdMenuItem.stories.js +20 -0
- package/dist/menu/OscdSubMenu.js +59 -0
- package/dist/menu/OscdSubMenu.spec.js +38 -0
- package/dist/menu/OscdSubMenu.stories.js +20 -0
- package/dist/menu/oscd-menu-item.js +9 -0
- package/dist/menu/oscd-menu.js +9 -0
- package/dist/menu/oscd-sub-menu.js +9 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.js +48 -0
- package/dist/navigation-drawer/OscdNavigationDrawer.stories.js +98 -0
- package/{navigation-drawer → dist/navigation-drawer}/OscdNavigationDrawerHeader.js +6 -6
- package/dist/navigation-drawer/OscdNavigationDrawerHeader.stories.js +41 -0
- package/dist/progress/OscdCircularProgress.js +24 -0
- package/dist/progress/OscdCircularProgress.spec.js +36 -0
- package/dist/progress/OscdCircularProgress.stories.js +15 -0
- package/dist/progress/OscdLinearProgress.js +23 -0
- package/dist/progress/OscdLinearProgress.spec.js +36 -0
- package/dist/progress/OscdLinearProgress.stories.js +15 -0
- package/dist/progress/oscd-circular-progress.js +9 -0
- package/dist/progress/oscd-linear-progress.js +9 -0
- package/dist/radio/OscdRadio.js +39 -0
- package/dist/radio/OscdRadio.spec.js +38 -0
- package/dist/radio/OscdRadio.stories.js +45 -0
- package/dist/radio/oscd-radio.js +9 -0
- package/dist/ripple/OscdRipple.js +24 -0
- package/dist/ripple/OscdRipple.spec.js +38 -0
- package/dist/ripple/OscdRipple.stories.js +20 -0
- package/dist/ripple/oscd-ripple.js +9 -0
- package/dist/select/OscdFilledSelect.js +54 -0
- package/dist/select/OscdFilledSelect.spec.js +36 -0
- package/dist/select/OscdFilledSelect.stories.js +21 -0
- package/dist/select/OscdOutlinedSelect.js +54 -0
- package/dist/select/OscdOutlinedSelect.spec.js +36 -0
- package/dist/select/OscdOutlinedSelect.stories.js +21 -0
- package/dist/select/OscdSelectOption.js +55 -0
- package/dist/select/OscdSelectOption.spec.js +36 -0
- package/dist/select/OscdSelectOption.stories.js +22 -0
- package/dist/select/oscd-filled-select.js +9 -0
- package/dist/select/oscd-outlined-select.js +9 -0
- package/dist/select/oscd-select-option.js +9 -0
- package/dist/slider/OscdSlider.js +43 -0
- package/dist/slider/OscdSlider.spec.js +38 -0
- package/dist/slider/OscdSlider.stories.js +20 -0
- package/dist/slider/oscd-slider.js +9 -0
- package/dist/switch/OscdSwitch.js +33 -0
- package/dist/switch/OscdSwitch.spec.js +38 -0
- package/dist/switch/OscdSwitch.stories.js +20 -0
- package/dist/switch/oscd-switch.js +9 -0
- package/dist/tabs/OscdPrimaryTab.js +34 -0
- package/dist/tabs/OscdPrimaryTab.spec.js +36 -0
- package/dist/tabs/OscdPrimaryTab.stories.js +25 -0
- package/dist/tabs/OscdSecondaryTab.js +34 -0
- package/dist/tabs/OscdSecondaryTab.spec.js +36 -0
- package/dist/tabs/OscdSecondaryTab.stories.js +24 -0
- package/dist/tabs/OscdTabs.js +29 -0
- package/dist/tabs/OscdTabs.spec.js +38 -0
- package/dist/tabs/OscdTabs.stories.js +39 -0
- package/dist/tabs/oscd-primary-tab.js +9 -0
- package/dist/tabs/oscd-secondary-tab.js +9 -0
- package/dist/tabs/oscd-tabs.js +9 -0
- package/dist/textfield/OscdFilledTextField.js +35 -0
- package/dist/textfield/OscdFilledTextField.spec.js +36 -0
- package/dist/textfield/OscdFilledTextField.stories.js +20 -0
- package/dist/textfield/OscdOutlinedTextField.js +35 -0
- package/dist/textfield/OscdOutlinedTextField.spec.js +36 -0
- package/dist/textfield/OscdOutlinedTextField.stories.js +20 -0
- package/dist/textfield/oscd-filled-text-field.js +9 -0
- package/dist/textfield/oscd-outlined-text-field.js +9 -0
- package/{utils → dist/utils}/storybook/getStorybookHelpers.js +9 -6
- package/dist/utils/storybook/getStorybookMeta.js +49 -0
- package/{utils → dist/utils}/storybook/scopedWcDecorator.js +1 -0
- package/dist/utils/storybook/story-overrides/button-overrides.js +28 -0
- package/dist/utils/storybook/story-overrides/card-overrides.js +35 -0
- package/dist/utils/storybook/story-overrides/checkbox-overrides.js +27 -0
- package/dist/utils/storybook/story-overrides/chip-overrides.js +41 -0
- package/dist/utils/storybook/story-overrides/dialog-overrides.js +43 -0
- package/dist/utils/storybook/story-overrides/divider-overrides.js +19 -0
- package/dist/utils/storybook/story-overrides/elevation-overrides.js +38 -0
- package/dist/utils/storybook/story-overrides/fab-overrides.js +90 -0
- package/dist/utils/storybook/story-overrides/icon-buttons-overrides.js +32 -0
- package/dist/utils/storybook/story-overrides/icon-overrides.js +23 -0
- package/dist/utils/storybook/story-overrides/list-overrides.js +43 -0
- package/dist/utils/storybook/story-overrides/menu-overrides.js +75 -0
- package/dist/utils/storybook/story-overrides/story-overrides.js +29 -0
- package/dist/utils/storybook/story-overrides/text-field-overrides.js +52 -0
- package/package.json +177 -162
- package/app-bar/OscdAppBar.d.ts +0 -47
- package/app-bar/OscdAppBar.js.map +0 -1
- package/app-bar/oscd-app-bar.d.ts +0 -12
- package/app-bar/oscd-app-bar.js.map +0 -1
- package/button/OscdFilledButton.d.ts +0 -38
- package/button/OscdFilledButton.js +0 -45
- package/button/OscdFilledButton.js.map +0 -1
- package/button/OscdFilledButton.spec.d.ts +0 -6
- package/button/OscdFilledButton.spec.js +0 -79
- package/button/OscdFilledButton.spec.js.map +0 -1
- package/button/OscdOutlinedButton.d.ts +0 -40
- package/button/OscdOutlinedButton.js +0 -37
- package/button/OscdOutlinedButton.js.map +0 -1
- package/button/OscdTextButton.d.ts +0 -38
- package/button/OscdTextButton.js +0 -35
- package/button/OscdTextButton.js.map +0 -1
- package/button/oscd-filled-button.d.ts +0 -7
- package/button/oscd-filled-button.js +0 -4
- package/button/oscd-filled-button.js.map +0 -1
- package/button/oscd-outlined-button.d.ts +0 -12
- package/button/oscd-outlined-button.js +0 -9
- package/button/oscd-outlined-button.js.map +0 -1
- package/button/oscd-text-button.d.ts +0 -12
- package/button/oscd-text-button.js +0 -9
- package/button/oscd-text-button.js.map +0 -1
- package/dialog/OscdDialog.d.ts +0 -42
- package/dialog/OscdDialog.js.map +0 -1
- package/dialog/oscd-dialog.d.ts +0 -7
- package/dialog/oscd-dialog.js +0 -4
- package/dialog/oscd-dialog.js.map +0 -1
- package/divider/OscdDivider.d.ts +0 -26
- package/divider/OscdDivider.js +0 -22
- package/divider/OscdDivider.js.map +0 -1
- package/divider/oscd-divider.d.ts +0 -7
- package/divider/oscd-divider.js +0 -4
- package/divider/oscd-divider.js.map +0 -1
- package/elevation/OscdElevation.d.ts +0 -24
- package/elevation/OscdElevation.js +0 -20
- package/elevation/OscdElevation.js.map +0 -1
- package/elevation/oscd-elevation.d.ts +0 -12
- package/elevation/oscd-elevation.js +0 -9
- package/elevation/oscd-elevation.js.map +0 -1
- package/field/OscdFilledField.d.ts +0 -21
- package/field/OscdFilledField.js +0 -18
- package/field/OscdFilledField.js.map +0 -1
- package/field/OscdOutlinedField.d.ts +0 -23
- package/field/OscdOutlinedField.js +0 -20
- package/field/OscdOutlinedField.js.map +0 -1
- package/field/oscd-filled-field.d.ts +0 -7
- package/field/oscd-filled-field.js +0 -4
- package/field/oscd-filled-field.js.map +0 -1
- package/field/oscd-outlined-field.d.ts +0 -7
- package/field/oscd-outlined-field.js +0 -4
- package/field/oscd-outlined-field.js.map +0 -1
- package/icon/OscdIcon.d.ts +0 -24
- package/icon/OscdIcon.js +0 -20
- package/icon/OscdIcon.js.map +0 -1
- package/icon/oscd-icon.d.ts +0 -7
- package/icon/oscd-icon.js +0 -4
- package/icon/oscd-icon.js.map +0 -1
- package/iconbutton/OscdFilledIconButton.d.ts +0 -39
- package/iconbutton/OscdFilledIconButton.js +0 -37
- package/iconbutton/OscdFilledIconButton.js.map +0 -1
- package/iconbutton/OscdFilledTonalIconButton.d.ts +0 -39
- package/iconbutton/OscdFilledTonalIconButton.js +0 -37
- package/iconbutton/OscdFilledTonalIconButton.js.map +0 -1
- package/iconbutton/OscdIconButton.d.ts +0 -38
- package/iconbutton/OscdIconButton.js +0 -36
- package/iconbutton/OscdIconButton.js.map +0 -1
- package/iconbutton/OscdOutlinedIconButton.d.ts +0 -38
- package/iconbutton/OscdOutlinedIconButton.js +0 -36
- package/iconbutton/OscdOutlinedIconButton.js.map +0 -1
- package/iconbutton/oscd-filled-icon-button.d.ts +0 -7
- package/iconbutton/oscd-filled-icon-button.js +0 -4
- package/iconbutton/oscd-filled-icon-button.js.map +0 -1
- package/iconbutton/oscd-filled-tonal-icon-button.d.ts +0 -7
- package/iconbutton/oscd-filled-tonal-icon-button.js +0 -4
- package/iconbutton/oscd-filled-tonal-icon-button.js.map +0 -1
- package/iconbutton/oscd-icon-button.d.ts +0 -7
- package/iconbutton/oscd-icon-button.js +0 -4
- package/iconbutton/oscd-icon-button.js.map +0 -1
- package/iconbutton/oscd-outlined-icon-button.d.ts +0 -7
- package/iconbutton/oscd-outlined-icon-button.js +0 -4
- package/iconbutton/oscd-outlined-icon-button.js.map +0 -1
- package/list/OscdList.js +0 -44
- package/list/OscdList.js.map +0 -1
- package/list/OscdListItem.js +0 -78
- package/list/OscdListItem.js.map +0 -1
- package/list/oscd-list-item.d.ts +0 -7
- package/list/oscd-list-item.js +0 -4
- package/list/oscd-list-item.js.map +0 -1
- package/list/oscd-list.d.ts +0 -7
- package/list/oscd-list.js +0 -4
- package/list/oscd-list.js.map +0 -1
- package/menu/OscdMenu.js +0 -62
- package/menu/OscdMenu.js.map +0 -1
- package/menu/OscdMenuItem.d.ts +0 -32
- package/menu/OscdMenuItem.js +0 -26
- package/menu/OscdMenuItem.js.map +0 -1
- package/menu/oscd-menu-item.d.ts +0 -7
- package/menu/oscd-menu-item.js +0 -4
- package/menu/oscd-menu-item.js.map +0 -1
- package/menu/oscd-menu.d.ts +0 -7
- package/menu/oscd-menu.js +0 -4
- package/menu/oscd-menu.js.map +0 -1
- package/navigation-drawer/OscdNavigationDrawer.d.ts +0 -21
- package/navigation-drawer/OscdNavigationDrawer.js +0 -43
- package/navigation-drawer/OscdNavigationDrawer.js.map +0 -1
- package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +0 -15
- package/navigation-drawer/OscdNavigationDrawerHeader.js.map +0 -1
- package/navigation-drawer/oscd-navigation-drawer-header.d.ts +0 -7
- package/navigation-drawer/oscd-navigation-drawer-header.js.map +0 -1
- package/navigation-drawer/oscd-navigation-drawer.d.ts +0 -7
- package/navigation-drawer/oscd-navigation-drawer.js.map +0 -1
- package/select/OscdFilledSelect.d.ts +0 -42
- package/select/OscdFilledSelect.js +0 -39
- package/select/OscdFilledSelect.js.map +0 -1
- package/select/OscdOutlinedSelect.d.ts +0 -42
- package/select/OscdOutlinedSelect.js +0 -39
- package/select/OscdOutlinedSelect.js.map +0 -1
- package/select/OscdSelectOption.d.ts +0 -46
- package/select/OscdSelectOption.js +0 -41
- package/select/OscdSelectOption.js.map +0 -1
- package/select/oscd-filled-select.d.ts +0 -7
- package/select/oscd-filled-select.js +0 -4
- package/select/oscd-filled-select.js.map +0 -1
- package/select/oscd-outlined-select.d.ts +0 -7
- package/select/oscd-outlined-select.js +0 -4
- package/select/oscd-outlined-select.js.map +0 -1
- package/select/oscd-select-option.d.ts +0 -7
- package/select/oscd-select-option.js +0 -4
- package/select/oscd-select-option.js.map +0 -1
- package/tabs/OscdPrimaryTab.d.ts +0 -22
- package/tabs/OscdPrimaryTab.js +0 -19
- package/tabs/OscdPrimaryTab.js.map +0 -1
- package/tabs/OscdSecondaryTab.d.ts +0 -22
- package/tabs/OscdSecondaryTab.js +0 -19
- package/tabs/OscdSecondaryTab.js.map +0 -1
- package/tabs/OscdTabs.d.ts +0 -22
- package/tabs/OscdTabs.js +0 -18
- package/tabs/OscdTabs.js.map +0 -1
- package/tabs/oscd-primary-tab.d.ts +0 -7
- package/tabs/oscd-primary-tab.js +0 -4
- package/tabs/oscd-primary-tab.js.map +0 -1
- package/tabs/oscd-secondary-tab.d.ts +0 -7
- package/tabs/oscd-secondary-tab.js +0 -4
- package/tabs/oscd-secondary-tab.js.map +0 -1
- package/tabs/oscd-tabs.d.ts +0 -7
- package/tabs/oscd-tabs.js +0 -4
- package/tabs/oscd-tabs.js.map +0 -1
- package/textfield/OscdFilledTextField.d.ts +0 -30
- package/textfield/OscdFilledTextField.js +0 -30
- package/textfield/OscdFilledTextField.js.map +0 -1
- package/textfield/OscdOutlinedTextField.d.ts +0 -28
- package/textfield/OscdOutlinedTextField.js +0 -28
- package/textfield/OscdOutlinedTextField.js.map +0 -1
- package/textfield/oscd-filled-text-field.d.ts +0 -7
- package/textfield/oscd-filled-text-field.js +0 -4
- package/textfield/oscd-filled-text-field.js.map +0 -1
- package/textfield/oscd-outlined-text-field.d.ts +0 -7
- package/textfield/oscd-outlined-text-field.js +0 -4
- package/textfield/oscd-outlined-text-field.js.map +0 -1
- package/utils/storybook/getStorybookHelpers.d.ts +0 -4
- package/utils/storybook/getStorybookHelpers.js.map +0 -1
- package/utils/storybook/scopedWcDecorator.d.ts +0 -2
- package/utils/storybook/scopedWcDecorator.js.map +0 -1
- package/utils/storybook/themingDecorator.d.ts +0 -6
- package/utils/storybook/themingDecorator.js.map +0 -1
- /package/{app-bar → dist/app-bar}/oscd-app-bar.js +0 -0
- /package/{navigation-drawer → dist/navigation-drawer}/oscd-navigation-drawer-header.js +0 -0
- /package/{navigation-drawer → dist/navigation-drawer}/oscd-navigation-drawer.js +0 -0
- /package/{utils → dist/utils}/storybook/themingDecorator.js +0 -0
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2024 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { __decorate } from "tslib";
|
|
7
|
-
/* This is a PoC unit test.
|
|
8
|
-
* Purpose was to show how we can copy 1:1 the tests from Material Web Components
|
|
9
|
-
* and use them for our custom elements.
|
|
10
|
-
* This has been left in place as an example of how its done.
|
|
11
|
-
*/
|
|
12
|
-
import { html } from 'lit';
|
|
13
|
-
import { customElement } from 'lit/decorators.js';
|
|
14
|
-
import { ButtonHarness } from '@material/web/button/harness.js';
|
|
15
|
-
import { Environment } from '../testing/environment.js';
|
|
16
|
-
import { OscdFilledButton as Button } from './OscdFilledButton.js';
|
|
17
|
-
let TestButton = class TestButton extends Button {
|
|
18
|
-
};
|
|
19
|
-
TestButton = __decorate([
|
|
20
|
-
customElement('test-button')
|
|
21
|
-
], TestButton);
|
|
22
|
-
describe('Button', () => {
|
|
23
|
-
const env = new Environment();
|
|
24
|
-
async function setupTest() {
|
|
25
|
-
const button = new TestButton();
|
|
26
|
-
env.render(html `${button}`);
|
|
27
|
-
await env.waitForStability();
|
|
28
|
-
return { button, harness: new ButtonHarness(button) };
|
|
29
|
-
}
|
|
30
|
-
it('should not be focusable when disabled', async () => {
|
|
31
|
-
// Arrange
|
|
32
|
-
const { button } = await setupTest();
|
|
33
|
-
button.disabled = true;
|
|
34
|
-
await env.waitForStability();
|
|
35
|
-
// Act
|
|
36
|
-
button.focus();
|
|
37
|
-
// Assert
|
|
38
|
-
expect(document.activeElement)
|
|
39
|
-
.withContext('disabled button should not be focused')
|
|
40
|
-
.not.toBe(button);
|
|
41
|
-
});
|
|
42
|
-
it('should be focusable when soft-disabled', async () => {
|
|
43
|
-
// Arrange
|
|
44
|
-
const { button } = await setupTest();
|
|
45
|
-
button.softDisabled = true;
|
|
46
|
-
await env.waitForStability();
|
|
47
|
-
// Act
|
|
48
|
-
button.focus();
|
|
49
|
-
// Assert
|
|
50
|
-
expect(document.activeElement)
|
|
51
|
-
.withContext('soft-disabled button should be focused')
|
|
52
|
-
.toBe(button);
|
|
53
|
-
});
|
|
54
|
-
it('should not be clickable when disabled', async () => {
|
|
55
|
-
// Arrange
|
|
56
|
-
const clickListener = jasmine.createSpy('clickListener');
|
|
57
|
-
const { button } = await setupTest();
|
|
58
|
-
button.disabled = true;
|
|
59
|
-
button.addEventListener('click', clickListener);
|
|
60
|
-
await env.waitForStability();
|
|
61
|
-
// Act
|
|
62
|
-
button.click();
|
|
63
|
-
// Assert
|
|
64
|
-
expect(clickListener).not.toHaveBeenCalled();
|
|
65
|
-
});
|
|
66
|
-
it('should not be clickable when soft-disabled', async () => {
|
|
67
|
-
// Arrange
|
|
68
|
-
const clickListener = jasmine.createSpy('clickListener');
|
|
69
|
-
const { button } = await setupTest();
|
|
70
|
-
button.softDisabled = true;
|
|
71
|
-
button.addEventListener('click', clickListener);
|
|
72
|
-
await env.waitForStability();
|
|
73
|
-
// Act
|
|
74
|
-
button.click();
|
|
75
|
-
// Assert
|
|
76
|
-
expect(clickListener).not.toHaveBeenCalled();
|
|
77
|
-
});
|
|
78
|
-
});
|
|
79
|
-
//# sourceMappingURL=OscdFilledButton.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdFilledButton.spec.js","sourceRoot":"","sources":["OscdFilledButton.spec.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAGnE,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,MAAM;CAAG,CAAA;AAA5B,UAAU;IADf,aAAa,CAAC,aAAa,CAAC;GACvB,UAAU,CAAkB;AAElC,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;IACtB,MAAM,GAAG,GAAG,IAAI,WAAW,EAAE,CAAC;IAE9B,KAAK,UAAU,SAAS;QACtB,MAAM,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;QAChC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAA,GAAG,MAAM,EAAE,CAAC,CAAC;QAC5B,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAC7B,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC;IACxD,CAAC;IAED,EAAE,CAAC,uCAAuC,EAAE,KAAK,IAAI,EAAE;QACrD,UAAU;QACV,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,EAAE,CAAC;QACrC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAE7B,MAAM;QACN,MAAM,CAAC,KAAK,EAAE,CAAC;QAEf,SAAS;QACT,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC;aAC3B,WAAW,CAAC,uCAAuC,CAAC;aACpD,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;QACtD,UAAU;QACV,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,EAAE,CAAC;QACrC,MAAM,CAAC,YAAY,GAAG,IAAI,CAAC;QAC3B,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAE7B,MAAM;QACN,MAAM,CAAC,KAAK,EAAE,CAAC;QAEf,SAAS;QACT,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC;aAC3B,WAAW,CAAC,wCAAwC,CAAC;aACrD,IAAI,CAAC,MAAM,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uCAAuC,EAAE,KAAK,IAAI,EAAE;QACrD,UAAU;QACV,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QACzD,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,EAAE,CAAC;QACrC,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC;QACvB,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAChD,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAE7B,MAAM;QACN,MAAM,CAAC,KAAK,EAAE,CAAC;QAEf,SAAS;QACT,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IAC/C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4CAA4C,EAAE,KAAK,IAAI,EAAE;QAC1D,UAAU;QACV,MAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;QACzD,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,SAAS,EAAE,CAAC;QACrC,MAAM,CAAC,YAAY,GAAG,IAAI,CAAC;QAC3B,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAChD,MAAM,GAAG,CAAC,gBAAgB,EAAE,CAAC;QAE7B,MAAM;QACN,MAAM,CAAC,KAAK,EAAE,CAAC;QAEf,SAAS;QACT,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2024 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/* This is a PoC unit test.\n * Purpose was to show how we can copy 1:1 the tests from Material Web Components\n * and use them for our custom elements.\n * This has been left in place as an example of how its done.\n */\n\nimport { html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\n\nimport { ButtonHarness } from '@material/web/button/harness.js';\nimport { Environment } from '../testing/environment.js';\n\nimport { OscdFilledButton as Button } from './OscdFilledButton.js';\n\n@customElement('test-button')\nclass TestButton extends Button {}\n\ndescribe('Button', () => {\n const env = new Environment();\n\n async function setupTest() {\n const button = new TestButton();\n env.render(html`${button}`);\n await env.waitForStability();\n return { button, harness: new ButtonHarness(button) };\n }\n\n it('should not be focusable when disabled', async () => {\n // Arrange\n const { button } = await setupTest();\n button.disabled = true;\n await env.waitForStability();\n\n // Act\n button.focus();\n\n // Assert\n expect(document.activeElement)\n .withContext('disabled button should not be focused')\n .not.toBe(button);\n });\n\n it('should be focusable when soft-disabled', async () => {\n // Arrange\n const { button } = await setupTest();\n button.softDisabled = true;\n await env.waitForStability();\n\n // Act\n button.focus();\n\n // Assert\n expect(document.activeElement)\n .withContext('soft-disabled button should be focused')\n .toBe(button);\n });\n\n it('should not be clickable when disabled', async () => {\n // Arrange\n const clickListener = jasmine.createSpy('clickListener');\n const { button } = await setupTest();\n button.disabled = true;\n button.addEventListener('click', clickListener);\n await env.waitForStability();\n\n // Act\n button.click();\n\n // Assert\n expect(clickListener).not.toHaveBeenCalled();\n });\n\n it('should not be clickable when soft-disabled', async () => {\n // Arrange\n const clickListener = jasmine.createSpy('clickListener');\n const { button } = await setupTest();\n button.softDisabled = true;\n button.addEventListener('click', clickListener);\n await env.waitForStability();\n\n // Act\n button.click();\n\n // Assert\n expect(clickListener).not.toHaveBeenCalled();\n });\n});\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { OutlinedButton } from '@material/web/button/internal/outlined-button.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag "oscd-outlined-button"
|
|
15
|
-
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
16
|
-
* document, or liking a comment.
|
|
17
|
-
*
|
|
18
|
-
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
19
|
-
* from other onscreen elements.
|
|
20
|
-
*
|
|
21
|
-
* __Rationale:__ Use an outlined button for actions that need attention but
|
|
22
|
-
* aren’t the primary action, such as “See all” or “Add to cart.” This is also
|
|
23
|
-
* the button to use for giving someone the opportunity to change their mind or
|
|
24
|
-
* escape a flow.
|
|
25
|
-
*
|
|
26
|
-
* __Example usages:__
|
|
27
|
-
* - Reply
|
|
28
|
-
* - View all
|
|
29
|
-
* - Add to cart
|
|
30
|
-
* - Take out of trash
|
|
31
|
-
*
|
|
32
|
-
* @event click Fired when the user clicks the button.
|
|
33
|
-
*
|
|
34
|
-
* @final
|
|
35
|
-
* @suppress {visibility}
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export declare class OscdOutlinedButton extends OutlinedButton {
|
|
39
|
-
static styles: CSSResultOrNative[];
|
|
40
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OutlinedButton } from '@material/web/button/internal/outlined-button.js';
|
|
7
|
-
import { styles as outlinedStyles } from '@material/web/button/internal/outlined-styles.js';
|
|
8
|
-
import { styles as sharedStyles } from '@material/web/button/internal/shared-styles.js';
|
|
9
|
-
/**
|
|
10
|
-
* @tag "oscd-outlined-button"
|
|
11
|
-
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
12
|
-
* document, or liking a comment.
|
|
13
|
-
*
|
|
14
|
-
* __Emphasis:__ Medium emphasis – For important actions that don’t distract
|
|
15
|
-
* from other onscreen elements.
|
|
16
|
-
*
|
|
17
|
-
* __Rationale:__ Use an outlined button for actions that need attention but
|
|
18
|
-
* aren’t the primary action, such as “See all” or “Add to cart.” This is also
|
|
19
|
-
* the button to use for giving someone the opportunity to change their mind or
|
|
20
|
-
* escape a flow.
|
|
21
|
-
*
|
|
22
|
-
* __Example usages:__
|
|
23
|
-
* - Reply
|
|
24
|
-
* - View all
|
|
25
|
-
* - Add to cart
|
|
26
|
-
* - Take out of trash
|
|
27
|
-
*
|
|
28
|
-
* @event click Fired when the user clicks the button.
|
|
29
|
-
*
|
|
30
|
-
* @final
|
|
31
|
-
* @suppress {visibility}
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export class OscdOutlinedButton extends OutlinedButton {
|
|
35
|
-
static styles = [sharedStyles, outlinedStyles];
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=OscdOutlinedButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdOutlinedButton.js","sourceRoot":"","sources":["OscdOutlinedButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAC5F,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAExF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,OAAO,kBAAmB,SAAQ,cAAc;IACpD,MAAM,CAAU,MAAM,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/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from 'lit';\n\nimport { OutlinedButton } from '@material/web/button/internal/outlined-button.js';\nimport { styles as outlinedStyles } from '@material/web/button/internal/outlined-styles.js';\nimport { styles as sharedStyles } from '@material/web/button/internal/shared-styles.js';\n\n/**\n * @tag \"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 * @event click Fired when the user clicks the button.\n *\n * @final\n * @suppress {visibility}\n *\n */\nexport class OscdOutlinedButton extends OutlinedButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, outlinedStyles];\n}\n"]}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { TextButton } from '@material/web/button/internal/text-button.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag "oscd-text-button"
|
|
15
|
-
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
16
|
-
* document, or liking a comment.
|
|
17
|
-
*
|
|
18
|
-
* __Emphasis:__ Low emphasis – For optional or supplementary actions with the
|
|
19
|
-
* least amount of prominence
|
|
20
|
-
*
|
|
21
|
-
* __Rationale:__ Text buttons have less visual prominence, so should be used
|
|
22
|
-
* for low emphasis actions, such as an alternative option.
|
|
23
|
-
*
|
|
24
|
-
* __Example usages:__
|
|
25
|
-
* - Learn more
|
|
26
|
-
* - View all
|
|
27
|
-
* - Change account
|
|
28
|
-
* - Turn on
|
|
29
|
-
*
|
|
30
|
-
* @event click Fired when the user clicks the button.
|
|
31
|
-
*
|
|
32
|
-
* @final
|
|
33
|
-
* @suppress {visibility}
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
export declare class OscdTextButton extends TextButton {
|
|
37
|
-
static styles: CSSResultOrNative[];
|
|
38
|
-
}
|
package/button/OscdTextButton.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { styles as sharedStyles } from '@material/web/button/internal/shared-styles.js';
|
|
7
|
-
import { TextButton } from '@material/web/button/internal/text-button.js';
|
|
8
|
-
import { styles as textStyles } from '@material/web/button/internal/text-styles.js';
|
|
9
|
-
/**
|
|
10
|
-
* @tag "oscd-text-button"
|
|
11
|
-
* @summary Buttons help people take action, such as sending an email, sharing a
|
|
12
|
-
* document, or liking a comment.
|
|
13
|
-
*
|
|
14
|
-
* __Emphasis:__ Low emphasis – For optional or supplementary actions with the
|
|
15
|
-
* least amount of prominence
|
|
16
|
-
*
|
|
17
|
-
* __Rationale:__ Text buttons have less visual prominence, so should be used
|
|
18
|
-
* for low emphasis actions, such as an alternative option.
|
|
19
|
-
*
|
|
20
|
-
* __Example usages:__
|
|
21
|
-
* - Learn more
|
|
22
|
-
* - View all
|
|
23
|
-
* - Change account
|
|
24
|
-
* - Turn on
|
|
25
|
-
*
|
|
26
|
-
* @event click Fired when the user clicks the button.
|
|
27
|
-
*
|
|
28
|
-
* @final
|
|
29
|
-
* @suppress {visibility}
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
export class OscdTextButton extends TextButton {
|
|
33
|
-
static styles = [sharedStyles, textStyles];
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=OscdTextButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdTextButton.js","sourceRoot":"","sources":["OscdTextButton.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAC1E,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAEpF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,OAAO,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAU,MAAM,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/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from 'lit';\nimport { styles as sharedStyles } from '@material/web/button/internal/shared-styles.js';\nimport { TextButton } from '@material/web/button/internal/text-button.js';\nimport { styles as textStyles } from '@material/web/button/internal/text-styles.js';\n\n/**\n * @tag \"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 * @event click Fired when the user clicks the button.\n *\n * @final\n * @suppress {visibility}\n *\n */\nexport class OscdTextButton extends TextButton {\n static override styles: CSSResultOrNative[] = [sharedStyles, textStyles];\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-filled-button.js","sourceRoot":"","sources":["oscd-filled-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAQzD,cAAc,CAAC,MAAM,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,CAAC","sourcesContent":["import { OscdFilledButton } from './OscdFilledButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-filled-button': OscdFilledButton;\n }\n}\n\ncustomElements.define('oscd-filled-button', OscdFilledButton);\nexport { OscdFilledButton };\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdOutlinedButton } from './OscdOutlinedButton.js';
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'md-outlined-button': OscdOutlinedButton;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export { OscdOutlinedButton };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdOutlinedButton } from './OscdOutlinedButton.js';
|
|
7
|
-
customElements.define('oscd-outlined-button', OscdOutlinedButton);
|
|
8
|
-
export { OscdOutlinedButton };
|
|
9
|
-
//# sourceMappingURL=oscd-outlined-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-outlined-button.js","sourceRoot":"","sources":["oscd-outlined-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,cAAc,CAAC,MAAM,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { OscdOutlinedButton } from './OscdOutlinedButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'md-outlined-button': OscdOutlinedButton;\n }\n}\n\ncustomElements.define('oscd-outlined-button', OscdOutlinedButton);\nexport { OscdOutlinedButton };\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdTextButton } from './OscdTextButton.js';
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'oscd-text-button': OscdTextButton;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export { OscdTextButton };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdTextButton } from './OscdTextButton.js';
|
|
7
|
-
customElements.define('oscd-text-button', OscdTextButton);
|
|
8
|
-
export { OscdTextButton };
|
|
9
|
-
//# sourceMappingURL=oscd-text-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-text-button.js","sourceRoot":"","sources":["oscd-text-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAQrD,cAAc,CAAC,MAAM,CAAC,kBAAkB,EAAE,cAAc,CAAC,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { OscdTextButton } from './OscdTextButton.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-text-button': OscdTextButton;\n }\n}\n\ncustomElements.define('oscd-text-button', OscdTextButton);\nexport { OscdTextButton };\n"]}
|
package/dialog/OscdDialog.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { Dialog } from '@material/web/dialog/internal/dialog.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag oscd-dialog
|
|
15
|
-
* @summary Dialogs can require an action, communicate information, or help
|
|
16
|
-
* users accomplish a task. There are two types of dialogs: basic and
|
|
17
|
-
* full-screen.
|
|
18
|
-
*
|
|
19
|
-
* A dialog is a modal window that appears in front of app content to provide
|
|
20
|
-
* critical information or ask for a decision. Dialogs disable all app
|
|
21
|
-
* functionality when they appear, and remain on screen until confirmed,
|
|
22
|
-
* dismissed, or a required action has been taken.
|
|
23
|
-
*
|
|
24
|
-
* Dialogs are purposefully interruptive, so they should be used sparingly.
|
|
25
|
-
* A less disruptive alternative is to use a menu, which provides options
|
|
26
|
-
* without interrupting a user’s experience.
|
|
27
|
-
*
|
|
28
|
-
* On mobile devices only, complex dialogs should be displayed fullscreen.
|
|
29
|
-
*
|
|
30
|
-
* __Example usages:__
|
|
31
|
-
* - Common use cases for basic dialogs include alerts, quick selection, and
|
|
32
|
-
* confirmation.
|
|
33
|
-
* - More complex dialogs may contain actions that require a series of tasks
|
|
34
|
-
* to complete. One example is creating a calendar entry with the event title,
|
|
35
|
-
* date, location, and time.
|
|
36
|
-
*
|
|
37
|
-
* @final
|
|
38
|
-
* @suppress {visibility}
|
|
39
|
-
*/
|
|
40
|
-
export declare class OscdDialog extends Dialog {
|
|
41
|
-
static styles: CSSResultOrNative[];
|
|
42
|
-
}
|
package/dialog/OscdDialog.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdDialog.js","sourceRoot":"","sources":["OscdDialog.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,GAAG,EAAqB,MAAM,KAAK,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,gDAAgD,CAAC;AAExE,MAAM,cAAc,GAAG,GAAG,CAAA;;;;CAIzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,OAAO,UAAW,SAAQ,MAAM;IACpC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { css, CSSResultOrNative } from 'lit';\nimport { Dialog } from '@material/web/dialog/internal/dialog.js';\nimport { styles } from '@material/web/dialog/internal/dialog-styles.js';\n\nconst styleOverrides = css`\n .scrim {\n z-index: 6;\n }\n`;\n\n/**\n * @tag oscd-dialog\n * @summary Dialogs can require an action, communicate information, or help\n * users accomplish a task. There are two types of dialogs: basic and\n * full-screen.\n *\n * A dialog is a modal window that appears in front of app content to provide\n * critical information or ask for a decision. Dialogs disable all app\n * functionality when they appear, and remain on screen until confirmed,\n * dismissed, or a required action has been taken.\n *\n * Dialogs are purposefully interruptive, so they should be used sparingly.\n * A less disruptive alternative is to use a menu, which provides options\n * without interrupting a user’s experience.\n *\n * On mobile devices only, complex dialogs should be displayed fullscreen.\n *\n * __Example usages:__\n * - Common use cases for basic dialogs include alerts, quick selection, and\n * confirmation.\n * - More complex dialogs may contain actions that require a series of tasks\n * to complete. One example is creating a calendar entry with the event title,\n * date, location, and time.\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdDialog extends Dialog {\n static override styles: CSSResultOrNative[] = [styles, styleOverrides];\n}\n"]}
|
package/dialog/oscd-dialog.d.ts
DELETED
package/dialog/oscd-dialog.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-dialog.js","sourceRoot":"","sources":["oscd-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQ7C,cAAc,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,CAAC","sourcesContent":["import { OscdDialog } from './OscdDialog.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-dialog': OscdDialog;\n }\n}\n\ncustomElements.define('oscd-dialog', OscdDialog);\nexport { OscdDialog };\n"]}
|
package/divider/OscdDivider.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2023 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { Divider } from '@material/web/divider/internal/divider.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag oscd-divider
|
|
15
|
-
* @summary A divider is a thin line that groups content in lists and
|
|
16
|
-
* containers.
|
|
17
|
-
*
|
|
18
|
-
* Dividers can reinforce tapability, such as when used to separate
|
|
19
|
-
* list items or define tappable regions in an accordion.
|
|
20
|
-
*
|
|
21
|
-
* @final
|
|
22
|
-
* @suppress {visibility}
|
|
23
|
-
*/
|
|
24
|
-
export declare class OscdDivider extends Divider {
|
|
25
|
-
static styles: CSSResultOrNative[];
|
|
26
|
-
}
|
package/divider/OscdDivider.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2023 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { Divider } from '@material/web/divider/internal/divider.js';
|
|
7
|
-
import { styles } from '@material/web/divider/internal/divider-styles.js';
|
|
8
|
-
/**
|
|
9
|
-
* @tag oscd-divider
|
|
10
|
-
* @summary A divider is a thin line that groups content in lists and
|
|
11
|
-
* containers.
|
|
12
|
-
*
|
|
13
|
-
* Dividers can reinforce tapability, such as when used to separate
|
|
14
|
-
* list items or define tappable regions in an accordion.
|
|
15
|
-
*
|
|
16
|
-
* @final
|
|
17
|
-
* @suppress {visibility}
|
|
18
|
-
*/
|
|
19
|
-
export class OscdDivider extends Divider {
|
|
20
|
-
static styles = [styles];
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=OscdDivider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdDivider.js","sourceRoot":"","sources":["OscdDivider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,kDAAkD,CAAC;AAE1E;;;;;;;;;;GAUG;AACH,MAAM,OAAO,WAAY,SAAQ,OAAO;IACtC,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from 'lit';\n\nimport { Divider } from '@material/web/divider/internal/divider.js';\nimport { styles } from '@material/web/divider/internal/divider-styles.js';\n\n/**\n * @tag oscd-divider\n * @summary A divider is a thin line that groups content in lists and\n * containers.\n *\n * Dividers can reinforce tapability, such as when used to separate\n * list items or define tappable regions in an accordion.\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdDivider extends Divider {\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
|
package/divider/oscd-divider.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-divider.js","sourceRoot":"","sources":["oscd-divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAQ/C,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import { OscdDivider } from './OscdDivider.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-divider': OscdDivider;\n }\n}\n\ncustomElements.define('oscd-divider', OscdDivider);\nexport { OscdDivider };\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { Elevation } from '@material/web/elevation/internal/elevation.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag oscd-elevation
|
|
15
|
-
* @summary The `<oscd-elevation>` custom element with default styles.
|
|
16
|
-
*
|
|
17
|
-
* Elevation is the relative distance between two surfaces along the z-axis.
|
|
18
|
-
*
|
|
19
|
-
* @final
|
|
20
|
-
* @suppress {visibility}
|
|
21
|
-
*/
|
|
22
|
-
export declare class OscdElevation extends Elevation {
|
|
23
|
-
static styles: CSSResultOrNative[];
|
|
24
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { Elevation } from '@material/web/elevation/internal/elevation.js';
|
|
7
|
-
import { styles } from '@material/web/elevation/internal/elevation-styles.js';
|
|
8
|
-
/**
|
|
9
|
-
* @tag oscd-elevation
|
|
10
|
-
* @summary The `<oscd-elevation>` custom element with default styles.
|
|
11
|
-
*
|
|
12
|
-
* Elevation is the relative distance between two surfaces along the z-axis.
|
|
13
|
-
*
|
|
14
|
-
* @final
|
|
15
|
-
* @suppress {visibility}
|
|
16
|
-
*/
|
|
17
|
-
export class OscdElevation extends Elevation {
|
|
18
|
-
static styles = [styles];
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=OscdElevation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdElevation.js","sourceRoot":"","sources":["OscdElevation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,EAAE,SAAS,EAAE,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAE,MAAM,EAAE,MAAM,sDAAsD,CAAC;AAE9E;;;;;;;;GAQG;AACH,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from 'lit';\n\nimport { Elevation } from '@material/web/elevation/internal/elevation.js';\nimport { styles } from '@material/web/elevation/internal/elevation-styles.js';\n\n/**\n * @tag oscd-elevation\n * @summary The `<oscd-elevation>` custom element with default styles.\n *\n * Elevation is the relative distance between two surfaces along the z-axis.\n *\n * @final\n * @suppress {visibility}\n */\nexport class OscdElevation extends Elevation {\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdElevation } from './OscdElevation.js';
|
|
7
|
-
declare global {
|
|
8
|
-
interface HTMLElementTagNameMap {
|
|
9
|
-
'oscd-elevation': OscdElevation;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
export { OscdElevation };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { OscdElevation } from './OscdElevation.js';
|
|
7
|
-
customElements.define('oscd-elevation', OscdElevation);
|
|
8
|
-
export { OscdElevation };
|
|
9
|
-
//# sourceMappingURL=oscd-elevation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-elevation.js","sourceRoot":"","sources":["oscd-elevation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQnD,cAAc,CAAC,MAAM,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { OscdElevation } from './OscdElevation.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-elevation': OscdElevation;\n }\n}\n\ncustomElements.define('oscd-elevation', OscdElevation);\nexport { OscdElevation };\n"]}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { FilledField } from '@material/web/field/internal/filled-field.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag oscd-filled-field
|
|
15
|
-
* @summary A Material Design filled field component.
|
|
16
|
-
* @final
|
|
17
|
-
* @suppress {visibility}
|
|
18
|
-
*/
|
|
19
|
-
export declare class OscdFilledField extends FilledField {
|
|
20
|
-
static styles: CSSResultOrNative[];
|
|
21
|
-
}
|
package/field/OscdFilledField.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { FilledField } from '@material/web/field/internal/filled-field.js';
|
|
7
|
-
import { styles as filledStyles } from '@material/web/field/internal/filled-styles.js';
|
|
8
|
-
import { styles as sharedStyles } from '@material/web/field/internal/shared-styles.js';
|
|
9
|
-
/**
|
|
10
|
-
* @tag oscd-filled-field
|
|
11
|
-
* @summary A Material Design filled field component.
|
|
12
|
-
* @final
|
|
13
|
-
* @suppress {visibility}
|
|
14
|
-
*/
|
|
15
|
-
export class OscdFilledField extends FilledField {
|
|
16
|
-
static styles = [sharedStyles, filledStyles];
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=OscdFilledField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OscdFilledField.js","sourceRoot":"","sources":["OscdFilledField.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAEvF;;;;;GAKG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C,MAAM,CAAU,MAAM,GAAwB,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC","sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @license\n * Copyright 2025 OMICRON Electronics GmbH\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { CSSResultOrNative } from 'lit';\nimport { FilledField } from '@material/web/field/internal/filled-field.js';\nimport { styles as filledStyles } from '@material/web/field/internal/filled-styles.js';\nimport { styles as sharedStyles } from '@material/web/field/internal/shared-styles.js';\n\n/**\n * @tag oscd-filled-field\n * @summary A Material Design filled field component.\n * @final\n * @suppress {visibility}\n */\nexport class OscdFilledField extends FilledField {\n static override styles: CSSResultOrNative[] = [sharedStyles, filledStyles];\n}\n"]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
10
|
-
*/
|
|
11
|
-
import { CSSResultOrNative } from 'lit';
|
|
12
|
-
import { OutlinedField } from '@material/web/field/internal/outlined-field.js';
|
|
13
|
-
/**
|
|
14
|
-
* @tag oscd-outlined-field
|
|
15
|
-
* @summary A Material Design outlined field component.
|
|
16
|
-
* This component is a wrapper around the `OutlinedField` from Material Web Components,
|
|
17
|
-
* providing a scoped element that uses the `OscdOutlinedField` as its field.
|
|
18
|
-
* @final
|
|
19
|
-
* @suppress {visibility}
|
|
20
|
-
*/
|
|
21
|
-
export declare class OscdOutlinedField extends OutlinedField {
|
|
22
|
-
static styles: CSSResultOrNative[];
|
|
23
|
-
}
|