@omicronenergy/oscd-ui 0.0.4 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +100 -0
- package/app-bar/OscdAppBar.d.ts +13 -11
- package/app-bar/OscdAppBar.js +16 -8
- package/app-bar/OscdAppBar.js.map +1 -1
- package/app-bar/oscd-app-bar.d.ts +6 -6
- package/app-bar/oscd-app-bar.js +2 -7
- package/app-bar/oscd-app-bar.js.map +1 -1
- package/button/OscdFilledButton.d.ts +6 -8
- package/button/OscdFilledButton.js +8 -5
- package/button/OscdFilledButton.js.map +1 -1
- package/button/OscdFilledButton.spec.js +22 -18
- package/button/OscdFilledButton.spec.js.map +1 -1
- package/button/OscdOutlinedButton.d.ts +4 -6
- package/button/OscdOutlinedButton.js +4 -1
- package/button/OscdOutlinedButton.js.map +1 -1
- package/button/OscdTextButton.d.ts +6 -8
- package/button/OscdTextButton.js +7 -4
- package/button/OscdTextButton.js.map +1 -1
- package/button/oscd-filled-button.d.ts +6 -1
- package/button/oscd-filled-button.js +2 -2
- package/button/oscd-filled-button.js.map +1 -1
- package/button/oscd-outlined-button.d.ts +6 -1
- package/button/oscd-outlined-button.js +2 -2
- package/button/oscd-outlined-button.js.map +1 -1
- package/button/oscd-text-button.d.ts +6 -1
- package/button/oscd-text-button.js +2 -2
- package/button/oscd-text-button.js.map +1 -1
- package/dialog/OscdDialog.d.ts +3 -8
- package/dialog/OscdDialog.js +4 -4
- package/dialog/OscdDialog.js.map +1 -1
- package/dialog/oscd-dialog.d.ts +6 -1
- package/dialog/oscd-dialog.js +2 -2
- package/dialog/oscd-dialog.js.map +1 -1
- package/divider/OscdDivider.d.ts +4 -8
- package/divider/OscdDivider.js +4 -3
- package/divider/OscdDivider.js.map +1 -1
- package/divider/oscd-divider.d.ts +6 -1
- package/divider/oscd-divider.js +2 -2
- package/divider/oscd-divider.js.map +1 -1
- package/elevation/OscdElevation.d.ts +2 -6
- package/elevation/OscdElevation.js +2 -1
- package/elevation/OscdElevation.js.map +1 -1
- package/elevation/oscd-elevation.d.ts +6 -1
- package/elevation/oscd-elevation.js +2 -2
- package/elevation/oscd-elevation.js.map +1 -1
- package/field/OscdFilledField.d.ts +4 -7
- package/field/OscdFilledField.js +5 -3
- package/field/OscdFilledField.js.map +1 -1
- package/field/OscdOutlinedField.d.ts +6 -7
- package/field/OscdOutlinedField.js +7 -3
- package/field/OscdOutlinedField.js.map +1 -1
- package/field/oscd-filled-field.d.ts +6 -1
- package/field/oscd-filled-field.js +2 -2
- package/field/oscd-filled-field.js.map +1 -1
- package/field/oscd-outlined-field.d.ts +6 -1
- package/field/oscd-outlined-field.js +2 -2
- package/field/oscd-outlined-field.js.map +1 -1
- package/icon/OscdIcon.d.ts +6 -7
- package/icon/OscdIcon.js +6 -2
- package/icon/OscdIcon.js.map +1 -1
- package/icon/oscd-icon.d.ts +6 -1
- package/icon/oscd-icon.js +2 -2
- package/icon/oscd-icon.js.map +1 -1
- package/iconbutton/OscdFilledIconButton.d.ts +4 -9
- package/iconbutton/OscdFilledIconButton.js +5 -5
- package/iconbutton/OscdFilledIconButton.js.map +1 -1
- package/iconbutton/OscdFilledTonalIconButton.d.ts +5 -10
- package/iconbutton/OscdFilledTonalIconButton.js +6 -6
- package/iconbutton/OscdFilledTonalIconButton.js.map +1 -1
- package/iconbutton/OscdIconButton.d.ts +3 -8
- package/iconbutton/OscdIconButton.js +4 -4
- package/iconbutton/OscdIconButton.js.map +1 -1
- package/iconbutton/{OutlinedIconButton.d.ts → OscdOutlinedIconButton.d.ts} +3 -8
- package/iconbutton/{OutlinedIconButton.js → OscdOutlinedIconButton.js} +5 -5
- package/iconbutton/OscdOutlinedIconButton.js.map +1 -0
- package/iconbutton/oscd-filled-icon-button.d.ts +6 -1
- package/iconbutton/oscd-filled-icon-button.js +2 -2
- package/iconbutton/oscd-filled-icon-button.js.map +1 -1
- package/iconbutton/oscd-filled-tonal-icon-button.d.ts +6 -1
- package/iconbutton/oscd-filled-tonal-icon-button.js +2 -2
- package/iconbutton/oscd-filled-tonal-icon-button.js.map +1 -1
- package/iconbutton/oscd-icon-button.d.ts +6 -1
- package/iconbutton/oscd-icon-button.js +2 -2
- package/iconbutton/oscd-icon-button.js.map +1 -1
- package/iconbutton/oscd-outlined-icon-button.d.ts +6 -1
- package/iconbutton/oscd-outlined-icon-button.js +2 -2
- package/iconbutton/oscd-outlined-icon-button.js.map +1 -1
- package/list/OscdList.d.ts +3 -8
- package/list/OscdList.js +4 -4
- package/list/OscdList.js.map +1 -1
- package/list/OscdListItem.d.ts +4 -11
- package/list/OscdListItem.js +6 -8
- package/list/OscdListItem.js.map +1 -1
- package/list/oscd-list-item.d.ts +6 -1
- package/list/oscd-list-item.js +2 -2
- package/list/oscd-list-item.js.map +1 -1
- package/list/oscd-list.d.ts +6 -1
- package/list/oscd-list.js +2 -2
- package/list/oscd-list.js.map +1 -1
- package/menu/OscdMenu.d.ts +7 -12
- package/menu/OscdMenu.js +5 -5
- package/menu/OscdMenu.js.map +1 -1
- package/menu/OscdMenuItem.d.ts +5 -10
- package/menu/OscdMenuItem.js +3 -3
- package/menu/OscdMenuItem.js.map +1 -1
- package/menu/oscd-menu-item.d.ts +6 -1
- package/menu/oscd-menu-item.js +2 -2
- package/menu/oscd-menu-item.js.map +1 -1
- package/menu/oscd-menu.d.ts +7 -1
- package/menu/oscd-menu.js +3 -3
- package/menu/oscd-menu.js.map +1 -1
- package/navigation-drawer/OscdNavigationDrawer.d.ts +8 -2
- package/navigation-drawer/OscdNavigationDrawer.js +10 -4
- package/navigation-drawer/OscdNavigationDrawer.js.map +1 -1
- package/navigation-drawer/OscdNavigationDrawerHeader.d.ts +7 -7
- package/navigation-drawer/OscdNavigationDrawerHeader.js +8 -3
- package/navigation-drawer/OscdNavigationDrawerHeader.js.map +1 -1
- package/navigation-drawer/oscd-navigation-drawer-header.d.ts +6 -1
- package/navigation-drawer/oscd-navigation-drawer-header.js +2 -2
- package/navigation-drawer/oscd-navigation-drawer-header.js.map +1 -1
- package/navigation-drawer/oscd-navigation-drawer.d.ts +2 -2
- package/navigation-drawer/oscd-navigation-drawer.js +2 -2
- package/navigation-drawer/oscd-navigation-drawer.js.map +1 -1
- package/package.json +169 -15
- package/select/OscdFilledSelect.d.ts +3 -8
- package/select/OscdFilledSelect.js +4 -4
- package/select/OscdFilledSelect.js.map +1 -1
- package/select/OscdOutlinedSelect.d.ts +3 -8
- package/select/OscdOutlinedSelect.js +4 -4
- package/select/OscdOutlinedSelect.js.map +1 -1
- package/select/OscdSelectOption.d.ts +4 -9
- package/select/OscdSelectOption.js +3 -3
- package/select/OscdSelectOption.js.map +1 -1
- package/select/oscd-filled-select.d.ts +6 -1
- package/select/oscd-filled-select.js +2 -2
- package/select/oscd-filled-select.js.map +1 -1
- package/select/oscd-outlined-select.d.ts +6 -1
- package/select/oscd-outlined-select.js +2 -2
- package/select/oscd-outlined-select.js.map +1 -1
- package/select/oscd-select-option.d.ts +6 -1
- package/select/oscd-select-option.js +2 -2
- package/select/oscd-select-option.js.map +1 -1
- package/tabs/OscdPrimaryTab.d.ts +3 -7
- package/tabs/OscdPrimaryTab.js +4 -3
- package/tabs/OscdPrimaryTab.js.map +1 -1
- package/tabs/OscdSecondaryTab.d.ts +3 -7
- package/tabs/OscdSecondaryTab.js +4 -3
- package/tabs/OscdSecondaryTab.js.map +1 -1
- package/tabs/OscdTabs.d.ts +3 -7
- package/tabs/OscdTabs.js +3 -2
- package/tabs/OscdTabs.js.map +1 -1
- package/tabs/oscd-primary-tab.d.ts +6 -1
- package/tabs/oscd-primary-tab.js +2 -2
- package/tabs/oscd-primary-tab.js.map +1 -1
- package/tabs/oscd-secondary-tab.d.ts +6 -1
- package/tabs/oscd-secondary-tab.js +2 -2
- package/tabs/oscd-secondary-tab.js.map +1 -1
- package/tabs/oscd-tabs.d.ts +6 -1
- package/tabs/oscd-tabs.js +2 -2
- package/tabs/oscd-tabs.js.map +1 -1
- package/textfield/OscdFilledTextField.d.ts +10 -11
- package/textfield/OscdFilledTextField.js +12 -12
- package/textfield/OscdFilledTextField.js.map +1 -1
- package/textfield/OscdOutlinedTextField.d.ts +11 -10
- package/textfield/OscdOutlinedTextField.js +15 -11
- package/textfield/OscdOutlinedTextField.js.map +1 -1
- package/textfield/oscd-filled-text-field.d.ts +6 -1
- package/textfield/oscd-filled-text-field.js +2 -2
- package/textfield/oscd-filled-text-field.js.map +1 -1
- package/textfield/oscd-outlined-text-field.d.ts +6 -1
- package/textfield/oscd-outlined-text-field.js +2 -2
- package/textfield/oscd-outlined-text-field.js.map +1 -1
- package/utils/storybook/getStorybookHelpers.d.ts +2 -2
- package/utils/storybook/getStorybookHelpers.js +9 -9
- package/utils/storybook/getStorybookHelpers.js.map +1 -1
- package/utils/storybook/scopedWcDecorator.d.ts +1 -1
- package/utils/storybook/scopedWcDecorator.js +17 -7
- package/utils/storybook/scopedWcDecorator.js.map +1 -1
- package/utils/storybook/themingDecorator.d.ts +4 -15
- package/utils/storybook/themingDecorator.js +62 -62
- package/utils/storybook/themingDecorator.js.map +1 -1
- package/app-bar/OscdAppBar.stories.d.ts +0 -10
- package/app-bar/OscdAppBar.stories.js +0 -85
- package/app-bar/OscdAppBar.stories.js.map +0 -1
- package/button/OscdButton.stories.d.ts +0 -7
- package/button/OscdButton.stories.js +0 -60
- package/button/OscdButton.stories.js.map +0 -1
- package/dialog/OscdDialog.stories.d.ts +0 -5
- package/dialog/OscdDialog.stories.js +0 -50
- package/dialog/OscdDialog.stories.js.map +0 -1
- package/divider/OscdDivider.stories.d.ts +0 -5
- package/divider/OscdDivider.stories.js +0 -28
- package/divider/OscdDivider.stories.js.map +0 -1
- package/icon/OscdIcon.stories.d.ts +0 -5
- package/icon/OscdIcon.stories.js +0 -54
- package/icon/OscdIcon.stories.js.map +0 -1
- package/iconbutton/OscdIconButton.stories.d.ts +0 -7
- package/iconbutton/OscdIconButton.stories.js +0 -101
- package/iconbutton/OscdIconButton.stories.js.map +0 -1
- package/iconbutton/OutlinedIconButton.js.map +0 -1
- package/list/OscdList.stories.d.ts +0 -5
- package/list/OscdList.stories.js +0 -30
- package/list/OscdList.stories.js.map +0 -1
- package/menu/OscdMenu.stories.d.ts +0 -6
- package/menu/OscdMenu.stories.js +0 -55
- package/menu/OscdMenu.stories.js.map +0 -1
- package/menu/OscdMenuItem.stories.d.ts +0 -5
- package/menu/OscdMenuItem.stories.js +0 -37
- package/menu/OscdMenuItem.stories.js.map +0 -1
- package/navigation-drawer/OscdNavigationDrawer.stories.d.ts +0 -5
- package/navigation-drawer/OscdNavigationDrawer.stories.js +0 -97
- package/navigation-drawer/OscdNavigationDrawer.stories.js.map +0 -1
- package/navigation-drawer/OscdNavigationDrawerHeader.stories.d.ts +0 -5
- package/navigation-drawer/OscdNavigationDrawerHeader.stories.js +0 -35
- package/navigation-drawer/OscdNavigationDrawerHeader.stories.js.map +0 -1
- package/select/OscdFilledSelect.stories.d.ts +0 -5
- package/select/OscdFilledSelect.stories.js +0 -29
- package/select/OscdFilledSelect.stories.js.map +0 -1
- package/select/OscdOutlinedSelect.stories.d.ts +0 -5
- package/select/OscdOutlinedSelect.stories.js +0 -29
- package/select/OscdOutlinedSelect.stories.js.map +0 -1
- package/tabs/OscdPrimaryTab.stories.d.ts +0 -5
- package/tabs/OscdPrimaryTab.stories.js +0 -33
- package/tabs/OscdPrimaryTab.stories.js.map +0 -1
- package/tabs/OscdSecondaryTab.stories.d.ts +0 -5
- package/tabs/OscdSecondaryTab.stories.js +0 -33
- package/tabs/OscdSecondaryTab.stories.js.map +0 -1
- package/tabs/OscdTabs.stories.d.ts +0 -5
- package/tabs/OscdTabs.stories.js +0 -29
- package/tabs/OscdTabs.stories.js.map +0 -1
- package/theming/AllComponents.stories.d.ts +0 -5
- package/theming/AllComponents.stories.js +0 -309
- package/theming/AllComponents.stories.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OscdFilledButton } from
|
|
2
|
-
customElements.define(
|
|
1
|
+
import { OscdFilledButton } from './OscdFilledButton.js';
|
|
2
|
+
customElements.define('oscd-filled-button', OscdFilledButton);
|
|
3
3
|
export { OscdFilledButton };
|
|
4
4
|
//# sourceMappingURL=oscd-filled-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-filled-button.js","sourceRoot":"","sources":["oscd-filled-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
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"]}
|
|
@@ -3,5 +3,10 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdOutlinedButton } from
|
|
6
|
+
import { OscdOutlinedButton } from './OscdOutlinedButton.js';
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'md-outlined-button': OscdOutlinedButton;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
7
12
|
export { OscdOutlinedButton };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdOutlinedButton } from
|
|
7
|
-
customElements.define(
|
|
6
|
+
import { OscdOutlinedButton } from './OscdOutlinedButton.js';
|
|
7
|
+
customElements.define('oscd-outlined-button', OscdOutlinedButton);
|
|
8
8
|
export { OscdOutlinedButton };
|
|
9
9
|
//# sourceMappingURL=oscd-outlined-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-outlined-button.js","sourceRoot":"","sources":["oscd-outlined-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
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"]}
|
|
@@ -3,5 +3,10 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdTextButton } from
|
|
6
|
+
import { OscdTextButton } from './OscdTextButton.js';
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'oscd-text-button': OscdTextButton;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
7
12
|
export { OscdTextButton };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdTextButton } from
|
|
7
|
-
customElements.define(
|
|
6
|
+
import { OscdTextButton } from './OscdTextButton.js';
|
|
7
|
+
customElements.define('oscd-text-button', OscdTextButton);
|
|
8
8
|
export { OscdTextButton };
|
|
9
9
|
//# sourceMappingURL=oscd-text-button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-text-button.js","sourceRoot":"","sources":["oscd-text-button.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
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
CHANGED
|
@@ -8,19 +8,14 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { Dialog } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-dialog": OscdDialog;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { Dialog } from '@material/web/dialog/internal/dialog.js';
|
|
18
13
|
/**
|
|
14
|
+
* @tag oscd-dialog
|
|
19
15
|
* @summary Dialogs can require an action, communicate information, or help
|
|
20
16
|
* users accomplish a task. There are two types of dialogs: basic and
|
|
21
17
|
* full-screen.
|
|
22
18
|
*
|
|
23
|
-
* @description
|
|
24
19
|
* A dialog is a modal window that appears in front of app content to provide
|
|
25
20
|
* critical information or ask for a decision. Dialogs disable all app
|
|
26
21
|
* functionality when they appear, and remain on screen until confirmed,
|
package/dialog/OscdDialog.js
CHANGED
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { css } from
|
|
12
|
-
import { Dialog } from
|
|
13
|
-
import { styles } from
|
|
11
|
+
import { css } from 'lit';
|
|
12
|
+
import { Dialog } from '@material/web/dialog/internal/dialog.js';
|
|
13
|
+
import { styles } from '@material/web/dialog/internal/dialog-styles.js';
|
|
14
14
|
const styleOverrides = css `
|
|
15
15
|
.scrim {
|
|
16
16
|
z-index: 6;
|
|
17
17
|
}
|
|
18
18
|
`;
|
|
19
19
|
/**
|
|
20
|
+
* @tag oscd-dialog
|
|
20
21
|
* @summary Dialogs can require an action, communicate information, or help
|
|
21
22
|
* users accomplish a task. There are two types of dialogs: basic and
|
|
22
23
|
* full-screen.
|
|
23
24
|
*
|
|
24
|
-
* @description
|
|
25
25
|
* A dialog is a modal window that appears in front of app content to provide
|
|
26
26
|
* critical information or ask for a decision. Dialogs disable all app
|
|
27
27
|
* functionality when they appear, and remain on screen until confirmed,
|
package/dialog/OscdDialog.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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;
|
|
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
CHANGED
package/dialog/oscd-dialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-dialog.js","sourceRoot":"","sources":["oscd-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
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
CHANGED
|
@@ -8,18 +8,14 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { Divider } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-divider": OscdDivider;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { Divider } from '@material/web/divider/internal/divider.js';
|
|
18
13
|
/**
|
|
14
|
+
* @tag oscd-divider
|
|
19
15
|
* @summary A divider is a thin line that groups content in lists and
|
|
20
16
|
* containers.
|
|
21
17
|
*
|
|
22
|
-
*
|
|
18
|
+
* Dividers can reinforce tapability, such as when used to separate
|
|
23
19
|
* list items or define tappable regions in an accordion.
|
|
24
20
|
*
|
|
25
21
|
* @final
|
package/divider/OscdDivider.js
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
* Copyright 2023 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { Divider } from
|
|
7
|
-
import { styles } from
|
|
6
|
+
import { Divider } from '@material/web/divider/internal/divider.js';
|
|
7
|
+
import { styles } from '@material/web/divider/internal/divider-styles.js';
|
|
8
8
|
/**
|
|
9
|
+
* @tag oscd-divider
|
|
9
10
|
* @summary A divider is a thin line that groups content in lists and
|
|
10
11
|
* containers.
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* Dividers can reinforce tapability, such as when used to separate
|
|
13
14
|
* list items or define tappable regions in an accordion.
|
|
14
15
|
*
|
|
15
16
|
* @final
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OscdDivider } from
|
|
2
|
-
customElements.define(
|
|
1
|
+
import { OscdDivider } from './OscdDivider.js';
|
|
2
|
+
customElements.define('oscd-divider', OscdDivider);
|
|
3
3
|
export { OscdDivider };
|
|
4
4
|
//# sourceMappingURL=oscd-divider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-divider.js","sourceRoot":"","sources":["oscd-divider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;
|
|
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"]}
|
|
@@ -10,13 +10,9 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import { CSSResultOrNative } from 'lit';
|
|
12
12
|
import { Elevation } from '@material/web/elevation/internal/elevation.js';
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
'md-elevation': OscdElevation;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
13
|
/**
|
|
19
|
-
*
|
|
14
|
+
* @tag oscd-elevation
|
|
15
|
+
* @summary The `<oscd-elevation>` custom element with default styles.
|
|
20
16
|
*
|
|
21
17
|
* Elevation is the relative distance between two surfaces along the z-axis.
|
|
22
18
|
*
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
import { Elevation } from '@material/web/elevation/internal/elevation.js';
|
|
7
7
|
import { styles } from '@material/web/elevation/internal/elevation-styles.js';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* @tag oscd-elevation
|
|
10
|
+
* @summary The `<oscd-elevation>` custom element with default styles.
|
|
10
11
|
*
|
|
11
12
|
* Elevation is the relative distance between two surfaces along the z-axis.
|
|
12
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OscdElevation.js","sourceRoot":"","sources":["OscdElevation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AASH,OAAO,
|
|
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"]}
|
|
@@ -3,5 +3,10 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdElevation } from
|
|
6
|
+
import { OscdElevation } from './OscdElevation.js';
|
|
7
|
+
declare global {
|
|
8
|
+
interface HTMLElementTagNameMap {
|
|
9
|
+
'oscd-elevation': OscdElevation;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
7
12
|
export { OscdElevation };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OscdElevation } from
|
|
7
|
-
customElements.define(
|
|
6
|
+
import { OscdElevation } from './OscdElevation.js';
|
|
7
|
+
customElements.define('oscd-elevation', OscdElevation);
|
|
8
8
|
export { OscdElevation };
|
|
9
9
|
//# sourceMappingURL=oscd-elevation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-elevation.js","sourceRoot":"","sources":["oscd-elevation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
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"]}
|
|
@@ -8,14 +8,11 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { FilledField } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-filled-field": OscdFilledField;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { FilledField } from '@material/web/field/internal/filled-field.js';
|
|
18
13
|
/**
|
|
14
|
+
* @tag oscd-filled-field
|
|
15
|
+
* @summary A Material Design filled field component.
|
|
19
16
|
* @final
|
|
20
17
|
* @suppress {visibility}
|
|
21
18
|
*/
|
package/field/OscdFilledField.js
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { FilledField } from
|
|
7
|
-
import { styles as filledStyles } from
|
|
8
|
-
import { styles as sharedStyles } from
|
|
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
9
|
/**
|
|
10
|
+
* @tag oscd-filled-field
|
|
11
|
+
* @summary A Material Design filled field component.
|
|
10
12
|
* @final
|
|
11
13
|
* @suppress {visibility}
|
|
12
14
|
*/
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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"]}
|
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { OutlinedField } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-outlined-field": OscdOutlinedField;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { OutlinedField } from '@material/web/field/internal/outlined-field.js';
|
|
18
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.
|
|
19
18
|
* @final
|
|
20
19
|
* @suppress {visibility}
|
|
21
20
|
*/
|
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { OutlinedField } from
|
|
7
|
-
import { styles as outlinedStyles } from
|
|
8
|
-
import { styles as sharedStyles } from
|
|
6
|
+
import { OutlinedField } from '@material/web/field/internal/outlined-field.js';
|
|
7
|
+
import { styles as outlinedStyles } from '@material/web/field/internal/outlined-styles.js';
|
|
8
|
+
import { styles as sharedStyles } from '@material/web/field/internal/shared-styles.js';
|
|
9
9
|
/**
|
|
10
|
+
* @tag oscd-outlined-field
|
|
11
|
+
* @summary A Material Design outlined field component.
|
|
12
|
+
* This component is a wrapper around the `OutlinedField` from Material Web Components,
|
|
13
|
+
* providing a scoped element that uses the `OscdOutlinedField` as its field.
|
|
10
14
|
* @final
|
|
11
15
|
* @suppress {visibility}
|
|
12
16
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OscdOutlinedField.js","sourceRoot":"","sources":["OscdOutlinedField.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"OscdOutlinedField.js","sourceRoot":"","sources":["OscdOutlinedField.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,iDAAiD,CAAC;AAC3F,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAEvF;;;;;;;GAOG;AACH,MAAM,OAAO,iBAAkB,SAAQ,aAAa;IAClD,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';\nimport { OutlinedField } from '@material/web/field/internal/outlined-field.js';\nimport { styles as outlinedStyles } from '@material/web/field/internal/outlined-styles.js';\nimport { styles as sharedStyles } from '@material/web/field/internal/shared-styles.js';\n\n/**\n * @tag oscd-outlined-field\n * @summary A Material Design outlined field component.\n * This component is a wrapper around the `OutlinedField` from Material Web Components,\n * providing a scoped element that uses the `OscdOutlinedField` as its field.\n * @final\n * @suppress {visibility}\n */\nexport class OscdOutlinedField extends OutlinedField {\n static override styles: CSSResultOrNative[] = [sharedStyles, outlinedStyles];\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OscdFilledField } from
|
|
2
|
-
customElements.define(
|
|
1
|
+
import { OscdFilledField } from './OscdFilledField.js';
|
|
2
|
+
customElements.define('oscd-filled-field', OscdFilledField);
|
|
3
3
|
export { OscdFilledField };
|
|
4
4
|
//# sourceMappingURL=oscd-filled-field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-filled-field.js","sourceRoot":"","sources":["oscd-filled-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"oscd-filled-field.js","sourceRoot":"","sources":["oscd-filled-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAQvD,cAAc,CAAC,MAAM,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,CAAC","sourcesContent":["import { OscdFilledField } from './OscdFilledField.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-filled-field': OscdFilledField;\n }\n}\n\ncustomElements.define('oscd-filled-field', OscdFilledField);\nexport { OscdFilledField };\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OscdOutlinedField } from
|
|
2
|
-
customElements.define(
|
|
1
|
+
import { OscdOutlinedField } from './OscdOutlinedField.js';
|
|
2
|
+
customElements.define('oscd-outlined-field', OscdOutlinedField);
|
|
3
3
|
export { OscdOutlinedField };
|
|
4
4
|
//# sourceMappingURL=oscd-outlined-field.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-outlined-field.js","sourceRoot":"","sources":["oscd-outlined-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"oscd-outlined-field.js","sourceRoot":"","sources":["oscd-outlined-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,cAAc,CAAC,MAAM,CAAC,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,CAAC","sourcesContent":["import { OscdOutlinedField } from './OscdOutlinedField.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-outlined-field': OscdOutlinedField;\n }\n}\n\ncustomElements.define('oscd-outlined-field', OscdOutlinedField);\nexport { OscdOutlinedField };\n"]}
|
package/icon/OscdIcon.d.ts
CHANGED
|
@@ -8,14 +8,13 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { Icon } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-icon": OscdIcon;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { Icon } from '@material/web/icon/internal/icon.js';
|
|
18
13
|
/**
|
|
14
|
+
* @tag oscd-icon
|
|
15
|
+
* @summary An icon is a graphical representation of an object, action, or concept.
|
|
16
|
+
* Icons can be used to represent actions, such as "add" or "delete", or to
|
|
17
|
+
* represent objects, such as "folder" or "file".
|
|
19
18
|
* @final
|
|
20
19
|
* @suppress {visibility}
|
|
21
20
|
*/
|
package/icon/OscdIcon.js
CHANGED
|
@@ -3,9 +3,13 @@
|
|
|
3
3
|
* Copyright 2021 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { Icon } from
|
|
7
|
-
import { styles } from
|
|
6
|
+
import { Icon } from '@material/web/icon/internal/icon.js';
|
|
7
|
+
import { styles } from '@material/web/icon/internal/icon-styles.js';
|
|
8
8
|
/**
|
|
9
|
+
* @tag oscd-icon
|
|
10
|
+
* @summary An icon is a graphical representation of an object, action, or concept.
|
|
11
|
+
* Icons can be used to represent actions, such as "add" or "delete", or to
|
|
12
|
+
* represent objects, such as "folder" or "file".
|
|
9
13
|
* @final
|
|
10
14
|
* @suppress {visibility}
|
|
11
15
|
*/
|
package/icon/OscdIcon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OscdIcon.js","sourceRoot":"","sources":["OscdIcon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"OscdIcon.js","sourceRoot":"","sources":["OscdIcon.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH,OAAO,EAAE,IAAI,EAAE,MAAM,qCAAqC,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,4CAA4C,CAAC;AAEpE;;;;;;;GAOG;AACH,MAAM,OAAO,QAAS,SAAQ,IAAI;IAChC,kBAAkB;IAClB,MAAM,CAAU,MAAM,GAAwB,CAAC,MAAM,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 { Icon } from '@material/web/icon/internal/icon.js';\nimport { styles } from '@material/web/icon/internal/icon-styles.js';\n\n/**\n * @tag oscd-icon\n * @summary An icon is a graphical representation of an object, action, or concept.\n * Icons can be used to represent actions, such as \"add\" or \"delete\", or to\n * represent objects, such as \"folder\" or \"file\".\n * @final\n * @suppress {visibility}\n */\nexport class OscdIcon extends Icon {\n /** @nocollapse */\n static override styles: CSSResultOrNative[] = [styles];\n}\n"]}
|
package/icon/oscd-icon.d.ts
CHANGED
package/icon/oscd-icon.js
CHANGED
package/icon/oscd-icon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oscd-icon.js","sourceRoot":"","sources":["oscd-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"oscd-icon.js","sourceRoot":"","sources":["oscd-icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAQzC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,CAAC","sourcesContent":["import { OscdIcon } from './OscdIcon.js';\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'oscd-icon': OscdIcon;\n }\n}\n\ncustomElements.define('oscd-icon', OscdIcon);\nexport { OscdIcon };\n"]}
|
|
@@ -8,18 +8,13 @@
|
|
|
8
8
|
* Copyright 2025 OMICRON Electronics GmbH
|
|
9
9
|
* SPDX-License-Identifier: Apache-2.0
|
|
10
10
|
*/
|
|
11
|
-
import { CSSResultOrNative } from
|
|
12
|
-
import { IconButton } from
|
|
13
|
-
declare global {
|
|
14
|
-
interface HTMLElementTagNameMap {
|
|
15
|
-
"oscd-filled-icon-button": OscdFilledIconButton;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
11
|
+
import { CSSResultOrNative } from 'lit';
|
|
12
|
+
import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
|
|
18
13
|
/**
|
|
14
|
+
* @tag oscd-filled-icon-button
|
|
19
15
|
* @summary Icon buttons help people take supplementary actions with a single
|
|
20
16
|
* tap.
|
|
21
17
|
*
|
|
22
|
-
* @description
|
|
23
18
|
* __Emphasis:__ Low emphasis – For optional or supplementary actions with the
|
|
24
19
|
* least amount of prominence.
|
|
25
20
|
*
|
|
@@ -37,7 +32,7 @@ export declare class OscdFilledIconButton extends IconButton {
|
|
|
37
32
|
static styles: CSSResultOrNative[];
|
|
38
33
|
protected getRenderClasses(): {
|
|
39
34
|
filled: boolean;
|
|
40
|
-
|
|
35
|
+
'toggle-filled': boolean;
|
|
41
36
|
'flip-icon': boolean;
|
|
42
37
|
selected: boolean;
|
|
43
38
|
};
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Copyright 2022 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { styles } from
|
|
7
|
-
import { IconButton } from
|
|
8
|
-
import { styles as sharedStyles } from
|
|
6
|
+
import { styles } from '@material/web/iconbutton/internal/filled-styles.js';
|
|
7
|
+
import { IconButton } from '@material/web/iconbutton/internal/icon-button.js';
|
|
8
|
+
import { styles as sharedStyles } from '@material/web/iconbutton/internal/shared-styles.js';
|
|
9
9
|
/**
|
|
10
|
+
* @tag oscd-filled-icon-button
|
|
10
11
|
* @summary Icon buttons help people take supplementary actions with a single
|
|
11
12
|
* tap.
|
|
12
13
|
*
|
|
13
|
-
* @description
|
|
14
14
|
* __Emphasis:__ Low emphasis – For optional or supplementary actions with the
|
|
15
15
|
* least amount of prominence.
|
|
16
16
|
*
|
|
@@ -30,7 +30,7 @@ export class OscdFilledIconButton extends IconButton {
|
|
|
30
30
|
return {
|
|
31
31
|
...super.getRenderClasses(),
|
|
32
32
|
filled: true,
|
|
33
|
-
|
|
33
|
+
'toggle-filled': this.toggle,
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
}
|