scb-wc 0.1.69 → 0.1.71
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 +41 -22
- package/all.js +0 -2
- package/index.js +88 -90
- package/mvc/components/all.js +0 -2
- package/mvc/components/scb-accordion/scb-accordion-item.js +1 -1
- package/mvc/components/scb-dropdown/scb-dropdown.js +1 -1
- package/mvc/components/scb-header/scb-header.js +1 -1
- package/mvc/components/scb-menu/scb-menu-item.js +1 -1
- package/mvc/components/scb-menu/scb-menu.js +8 -3
- package/mvc/components/scb-select/scb-select.js +1 -1
- package/mvc/components/scb-textfield/scb-textfield.js +319 -24
- package/mvc/components/scb-toc/scb-toc-item.js +1 -1
- package/mvc/{components/scb-chevron → vendor}/scb-chevron.js +1 -1
- package/package.json +2 -2
- package/scb-chevron/scb-chevron.js +0 -1
- package/scb-components/scb-menu/scb-menu.d.ts +1 -0
- package/scb-datepicker/scb-datepicker.js +0 -1
- package/scb-menu/scb-menu.js +10 -2
- package/scb-wc-public-entry/index.d.ts +97 -0
- package/scb-wc.bundle.js +220 -215
- package/scb-wc.d.ts +194 -198
- package/mvc/components/scb-datepicker/scb-datepicker.js +0 -296
- package/scb-components/index.d.ts +0 -99
- package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
- package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -39
package/scb-menu/scb-menu.js
CHANGED
|
@@ -8,7 +8,7 @@ import { customElement as a, property as o } from "lit/decorators.js";
|
|
|
8
8
|
//#region src/scb-components/scb-menu/scb-menu.ts
|
|
9
9
|
var s = class extends t {
|
|
10
10
|
constructor(...e) {
|
|
11
|
-
super(...e), this.label = "", this.subLabel = "", this.noHighlightSelected = !1, this.lazySrc = "", this.lazyIdParam = "id", this.lazyChildrenField = "", this.lazyIdField = "id", this.lazyLabelField = "label", this.lazyHrefField = "href", this.lazyHasChildrenField = "hasChildren", this.lazyHasLinkField = "hasLink", this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._lazyCache = /* @__PURE__ */ new Map(), this._onGlobalSelect = (e) => {
|
|
11
|
+
super(...e), this.label = "", this.subLabel = "", this.noHighlightSelected = !1, this.elevation = !1, this.lazySrc = "", this.lazyIdParam = "id", this.lazyChildrenField = "", this.lazyIdField = "id", this.lazyLabelField = "label", this.lazyHrefField = "href", this.lazyHasChildrenField = "hasChildren", this.lazyHasLinkField = "hasLink", this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._lazyCache = /* @__PURE__ */ new Map(), this._onGlobalSelect = (e) => {
|
|
12
12
|
let t = e;
|
|
13
13
|
this.querySelectorAll("scb-menu-item").forEach((e) => {
|
|
14
14
|
e.selected = !1, this.noHighlightSelected ? e.setAttribute("no-highlight-selected", "") : e.removeAttribute("no-highlight-selected");
|
|
@@ -23,7 +23,7 @@ var s = class extends t {
|
|
|
23
23
|
display: block;
|
|
24
24
|
color: var(--md-sys-color-on-surface);
|
|
25
25
|
padding: var(--spacing-4, 12px);
|
|
26
|
-
background: var(--scb-menu-background, var(--md-sys-color-surface-container));
|
|
26
|
+
background: var(--scb-menu-background, var(--md-sys-color-surface-container-low));
|
|
27
27
|
font-family: var(--brand-font);
|
|
28
28
|
|
|
29
29
|
margin-block-start: var(--scb-menu-spacing-block-start, 0);
|
|
@@ -31,6 +31,11 @@ var s = class extends t {
|
|
|
31
31
|
margin-inline-start: var(--scb-menu-spacing-inline-start, 0);
|
|
32
32
|
margin-inline-end: var(--scb-menu-spacing-inline-end, 0);
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
:host([elevation]) {
|
|
36
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.30), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
|
|
37
|
+
border-radius: 0 var(--radius-Large, 16px) var(--radius-Large, 16px) 0;
|
|
38
|
+
}
|
|
34
39
|
|
|
35
40
|
.scb-menu-label {
|
|
36
41
|
font-size: var(--md-sys-typescale-label-large-size);
|
|
@@ -230,6 +235,9 @@ e([o({ type: String })], s.prototype, "label", void 0), e([o({
|
|
|
230
235
|
attribute: "no-highlight-selected",
|
|
231
236
|
reflect: !0
|
|
232
237
|
})], s.prototype, "noHighlightSelected", void 0), e([o({
|
|
238
|
+
type: Boolean,
|
|
239
|
+
reflect: !0
|
|
240
|
+
})], s.prototype, "elevation", void 0), e([o({
|
|
233
241
|
type: String,
|
|
234
242
|
attribute: "lazy-src"
|
|
235
243
|
})], s.prototype, "lazySrc", void 0), e([o({
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export * from '../scb-components/scb-accordion/scb-accordion-item';
|
|
2
|
+
export * from '../scb-components/scb-accordion/scb-accordion';
|
|
3
|
+
export * from '../scb-components/scb-action-card/scb-action-card';
|
|
4
|
+
export * from '../scb-components/scb-app-bar/scb-app-bar';
|
|
5
|
+
export * from '../scb-components/scb-avatar/scb-avatar';
|
|
6
|
+
export * from '../scb-components/scb-badge/scb-badge';
|
|
7
|
+
export * from '../scb-components/scb-breadcrumb/scb-breadcrumb-item';
|
|
8
|
+
export * from '../scb-components/scb-breadcrumb/scb-breadcrumb';
|
|
9
|
+
export * from '../scb-components/scb-button/scb-button';
|
|
10
|
+
export * from '../scb-components/scb-calendar/scb-calendar-event';
|
|
11
|
+
export * from '../scb-components/scb-calendar/scb-calendar';
|
|
12
|
+
export * from '../scb-components/scb-calendar-card/scb-calendar-card';
|
|
13
|
+
export * from '../scb-components/scb-card/scb-action-card';
|
|
14
|
+
export * from '../scb-components/scb-card/scb-card';
|
|
15
|
+
export * from '../scb-components/scb-card/scb-container-card';
|
|
16
|
+
export * from '../scb-components/scb-card/scb-link-card';
|
|
17
|
+
export * from '../scb-components/scb-card/scb-list-card';
|
|
18
|
+
export * from '../scb-components/scb-card/scb-social-card';
|
|
19
|
+
export * from '../scb-components/scb-checkbox/scb-checkbox-group';
|
|
20
|
+
export * from '../scb-components/scb-checkbox/scb-checkbox';
|
|
21
|
+
export * from '../scb-components/scb-chip/scb-chip';
|
|
22
|
+
export * from '../scb-components/scb-collapse/scb-collapse';
|
|
23
|
+
export * from '../scb-components/scb-container-card/scb-container-card';
|
|
24
|
+
export * from '../scb-components/scb-cookies-consent/scb-cookies-consent';
|
|
25
|
+
export * from '../scb-components/scb-dialog/scb-dialog';
|
|
26
|
+
export * from '../scb-components/scb-divider/scb-divider';
|
|
27
|
+
export * from '../scb-components/scb-drawer/scb-drawer';
|
|
28
|
+
export * from '../scb-components/scb-drop-zone/scb-drop-zone';
|
|
29
|
+
export * from '../scb-components/scb-dropdown/scb-dropdown';
|
|
30
|
+
export * from '../scb-components/scb-fab/scb-fab';
|
|
31
|
+
export * from '../scb-components/scb-fact-card/scb-fact-card-content';
|
|
32
|
+
export * from '../scb-components/scb-fact-card/scb-fact-card';
|
|
33
|
+
export * from '../scb-components/scb-footer/scb-footer-section';
|
|
34
|
+
export * from '../scb-components/scb-footer/scb-footer';
|
|
35
|
+
export * from '../scb-components/scb-gallery-grid/scb-gallery-grid';
|
|
36
|
+
export * from '../scb-components/scb-grid/scb-grid-item';
|
|
37
|
+
export * from '../scb-components/scb-grid/scb-grid';
|
|
38
|
+
export * from '../scb-components/scb-grid/scb-stack';
|
|
39
|
+
export * from '../scb-components/scb-header/scb-header-menu-group';
|
|
40
|
+
export * from '../scb-components/scb-header/scb-header-menu-item';
|
|
41
|
+
export * from '../scb-components/scb-header/scb-header-tab';
|
|
42
|
+
export * from '../scb-components/scb-header/scb-header-utility';
|
|
43
|
+
export * from '../scb-components/scb-header/scb-header';
|
|
44
|
+
export * from '../scb-components/scb-horizontal-scroller/scb-horizontal-scroller';
|
|
45
|
+
export * from '../scb-components/scb-icon-button/scb-icon-button';
|
|
46
|
+
export * from '../scb-components/scb-keyfigure-card/scb-keyfigure-card';
|
|
47
|
+
export * from '../scb-components/scb-link/scb-link';
|
|
48
|
+
export * from '../scb-components/scb-link-card/scb-link-card';
|
|
49
|
+
export * from '../scb-components/scb-list/scb-list-item';
|
|
50
|
+
export * from '../scb-components/scb-list/scb-list';
|
|
51
|
+
export * from '../scb-components/scb-list-card/scb-list-card';
|
|
52
|
+
export * from '../scb-components/scb-menu/scb-menu-item';
|
|
53
|
+
export * from '../scb-components/scb-menu/scb-menu-section';
|
|
54
|
+
export * from '../scb-components/scb-menu/scb-menu';
|
|
55
|
+
export * from '../scb-components/scb-menu/scb-sub-menu';
|
|
56
|
+
export * from '../scb-components/scb-nav/scb-nav-item';
|
|
57
|
+
export * from '../scb-components/scb-nav/scb-nav';
|
|
58
|
+
export * from '../scb-components/scb-notification-card/scb-notification-card';
|
|
59
|
+
export * from '../scb-components/scb-options-menu/scb-options-menu-item';
|
|
60
|
+
export * from '../scb-components/scb-options-menu/scb-options-menu';
|
|
61
|
+
export * from '../scb-components/scb-options-menu/scb-options-sub-menu';
|
|
62
|
+
export * from '../scb-components/scb-overlay/scb-overlay';
|
|
63
|
+
export * from '../scb-components/scb-pagination/scb-pagination';
|
|
64
|
+
export * from '../scb-components/scb-progress-indicator/scb-progress-indicator';
|
|
65
|
+
export * from '../scb-components/scb-progress-stepper/scb-progress-step';
|
|
66
|
+
export * from '../scb-components/scb-progress-stepper/scb-progress-stepper';
|
|
67
|
+
export * from '../scb-components/scb-radio-button/scb-radio-button';
|
|
68
|
+
export * from '../scb-components/scb-radio-button/scb-radio-group';
|
|
69
|
+
export * from '../scb-components/scb-scrollspy/scb-scrollspy';
|
|
70
|
+
export * from '../scb-components/scb-search/scb-search';
|
|
71
|
+
export * from '../scb-components/scb-segmented-button/scb-segmented-button';
|
|
72
|
+
export * from '../scb-components/scb-segmented-button/scb-segmented-item';
|
|
73
|
+
export * from '../scb-components/scb-select/scb-select-option';
|
|
74
|
+
export * from '../scb-components/scb-select/scb-select';
|
|
75
|
+
export * from '../scb-components/scb-skeleton/scb-skeleton';
|
|
76
|
+
export * from '../scb-components/scb-slider/scb-slider';
|
|
77
|
+
export * from '../scb-components/scb-snackbar/scb-snackbar';
|
|
78
|
+
export * from '../scb-components/scb-social-card/scb-social-card';
|
|
79
|
+
export * from '../scb-components/scb-status-pill/scb-status-pill';
|
|
80
|
+
export * from '../scb-components/scb-stepper/scb-step';
|
|
81
|
+
export * from '../scb-components/scb-stepper/scb-stepper';
|
|
82
|
+
export * from '../scb-components/scb-switch/scb-switch';
|
|
83
|
+
export * from '../scb-components/scb-table/scb-table';
|
|
84
|
+
export * from '../scb-components/scb-table-advanced/scb-table-advanced';
|
|
85
|
+
export * from '../scb-components/scb-tabs/scb-primary-tab';
|
|
86
|
+
export * from '../scb-components/scb-tabs/scb-secondary-tab';
|
|
87
|
+
export * from '../scb-components/scb-tabs/scb-tabs';
|
|
88
|
+
export * from '../scb-components/scb-textfield/scb-textfield';
|
|
89
|
+
export * from '../scb-components/scb-toc/scb-toc-item';
|
|
90
|
+
export * from '../scb-components/scb-toc/scb-toc';
|
|
91
|
+
export * from '../scb-components/scb-tooltip/scb-tooltip';
|
|
92
|
+
export * from '../scb-components/scb-viz/scb-viz-actions-runtime';
|
|
93
|
+
export * from '../scb-components/scb-viz/scb-viz-print-runtime';
|
|
94
|
+
export * from '../scb-components/scb-viz/scb-viz-series-differentiation-registry';
|
|
95
|
+
export * from '../scb-components/scb-viz/scb-viz-series-differentiation-runtime';
|
|
96
|
+
export * from '../scb-components/scb-viz/scb-viz-table-runtime';
|
|
97
|
+
export * from '../scb-components/scb-viz/scb-viz';
|