scb-wc 0.1.37 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scb-wc",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -437,5 +437,5 @@
437
437
  },
438
438
  "./mvc/*": "./mvc/*"
439
439
  },
440
- "buildHash": "A736CB22BEE93ECAB39C59E23238853E3C131C3CD0CBFA7354910EE85F08FF0B"
440
+ "buildHash": "A4649236302D24E82C95240647CD77296D669C67F03D575C98E0AC8672F7D089"
441
441
  }
@@ -58,4 +58,3 @@ e([a({
58
58
  reflect: !0
59
59
  })], o.prototype, "open", void 0), o = e([i("scb-chevron")], o);
60
60
  //#endregion
61
- export { o as ScbChevron };
@@ -467,4 +467,3 @@ var s = class extends t {
467
467
  };
468
468
  e([o()], s.prototype, "_currentDate", void 0), e([o()], s.prototype, "_selectedDate", void 0), e([o()], s.prototype, "_showMonthDropdown", void 0), e([o()], s.prototype, "_showYearDropdown", void 0), e([a({ type: String })], s.prototype, "variant", void 0), e([a({ type: String })], s.prototype, "lang", void 0), e([a({ type: String })], s.prototype, "selectedValue", void 0), e([a({ type: Boolean })], s.prototype, "open", void 0), e([o()], s.prototype, "_selectedHour", void 0), e([o()], s.prototype, "_selectedMinute", void 0), s = e([i("scb-datepicker")], s);
469
469
  //#endregion
470
- export { s as ScbDatepicker };
@@ -1,6 +1,7 @@
1
1
  import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js";
2
2
  import "../scb-chevron/scb-chevron.js";
3
3
  import "../scb-divider/scb-divider.js";
4
+ import "../scb-chip/scb-chip.js";
4
5
  import { LitElement as t, css as n, html as r } from "lit";
5
6
  import { customElement as i, property as a } from "lit/decorators.js";
6
7
  import "@material/web/focus/md-focus-ring.js";
@@ -158,12 +159,21 @@ var o, s = class extends t {
158
159
 
159
160
  .scb-toc-item-top {
160
161
  padding: var(--scb-toc-item-top-padding-y) var(--scb-toc-item-top-padding-x);
162
+ position: relative;
161
163
  display: flex;
162
164
  gap: var(--scb-toc-item-top-gap);
163
165
  flex-direction: row;
164
166
  align-items: flex-start;
165
167
  }
166
168
 
169
+ .scb-toc-item-top.has-trailing {
170
+ padding-right: calc(
171
+ var(--scb-toc-item-top-padding-x) +
172
+ var(--scb-toc-item-chevron-size) +
173
+ var(--scb-toc-item-top-gap)
174
+ );
175
+ }
176
+
167
177
  .scb-toc-item-top.no-supporting-text {
168
178
  align-items: center;
169
179
  }
@@ -223,6 +233,15 @@ var o, s = class extends t {
223
233
  align-items: flex-start;
224
234
  }
225
235
 
236
+ .toc-chevron-button-wrapper.trailing-slot {
237
+ position: absolute;
238
+ top: 50%;
239
+ right: var(--scb-toc-item-top-padding-x);
240
+ margin-left: 0;
241
+ align-items: center;
242
+ transform: translateY(-50%);
243
+ }
244
+
226
245
  .toc-chevron-button {
227
246
  position: relative;
228
247
  display: inline-flex;
@@ -402,7 +421,7 @@ var o, s = class extends t {
402
421
  let e = `bottom-${this._unique}`, t = `toc-label-${this._unique}`, n = `toc-chevron-${this._unique}`, i = this.supportingText.trim().length > 0;
403
422
  return r`
404
423
  <div class="scb-toc-item" role="listitem">
405
- <div class=${`scb-toc-item-top${i ? "" : " no-supporting-text"}`}>
424
+ <div class=${`scb-toc-item-top${i ? "" : " no-supporting-text"}${this._trailingSlotHasContent ? " has-trailing" : ""}`}>
406
425
  <div>
407
426
  <div class="toc-item-label-wrapper">
408
427
  <a
@@ -419,7 +438,7 @@ var o, s = class extends t {
419
438
  </div>
420
439
 
421
440
  ${this._trailingSlotHasContent ? r`
422
- <div class="toc-chevron-button-wrapper">
441
+ <div class="toc-chevron-button-wrapper trailing-slot">
423
442
  <slot name="trailing"></slot>
424
443
  </div>
425
444
  ` : this._slotHasContent ? r`
@@ -0,0 +1,92 @@
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-app-bar/scb-app-bar';
4
+ export * from '../scb-components/scb-avatar/scb-avatar';
5
+ export * from '../scb-components/scb-badge/scb-badge';
6
+ export * from '../scb-components/scb-breadcrumb/scb-breadcrumb-item';
7
+ export * from '../scb-components/scb-breadcrumb/scb-breadcrumb';
8
+ export * from '../scb-components/scb-button/scb-button';
9
+ export * from '../scb-components/scb-calendar/scb-calendar-event';
10
+ export * from '../scb-components/scb-calendar/scb-calendar';
11
+ export * from '../scb-components/scb-calendar-card/scb-calendar-card';
12
+ export * from '../scb-components/scb-card/scb-action-card';
13
+ export * from '../scb-components/scb-card/scb-card';
14
+ export * from '../scb-components/scb-card/scb-container-card';
15
+ export * from '../scb-components/scb-card/scb-link-card';
16
+ export * from '../scb-components/scb-card/scb-list-card';
17
+ export * from '../scb-components/scb-card/scb-social-card';
18
+ export * from '../scb-components/scb-checkbox/scb-checkbox-group';
19
+ export * from '../scb-components/scb-checkbox/scb-checkbox';
20
+ export * from '../scb-components/scb-chip/scb-chip';
21
+ export * from '../scb-components/scb-collapse/scb-collapse';
22
+ export * from '../scb-components/scb-cookies-consent/scb-cookies-consent';
23
+ export * from '../scb-components/scb-dialog/scb-dialog';
24
+ export * from '../scb-components/scb-divider/scb-divider';
25
+ export * from '../scb-components/scb-drawer/scb-drawer';
26
+ export * from '../scb-components/scb-drop-zone/scb-drop-zone';
27
+ export * from '../scb-components/scb-dropdown/scb-dropdown';
28
+ export * from '../scb-components/scb-fab/scb-fab';
29
+ export * from '../scb-components/scb-fact-card/scb-fact-card-content';
30
+ export * from '../scb-components/scb-fact-card/scb-fact-card';
31
+ export * from '../scb-components/scb-footer/scb-footer-section';
32
+ export * from '../scb-components/scb-footer/scb-footer';
33
+ export * from '../scb-components/scb-gallery-grid/scb-gallery-grid';
34
+ export * from '../scb-components/scb-grid/scb-grid-item';
35
+ export * from '../scb-components/scb-grid/scb-grid';
36
+ export * from '../scb-components/scb-grid/scb-stack';
37
+ export * from '../scb-components/scb-header/scb-header-menu-group';
38
+ export * from '../scb-components/scb-header/scb-header-menu-item';
39
+ export * from '../scb-components/scb-header/scb-header-tab';
40
+ export * from '../scb-components/scb-header/scb-header-utility';
41
+ export * from '../scb-components/scb-header/scb-header';
42
+ export * from '../scb-components/scb-horizontal-scroller/scb-horizontal-scroller';
43
+ export * from '../scb-components/scb-icon-button/scb-icon-button';
44
+ export * from '../scb-components/scb-keyfigure-card/scb-keyfigure-card';
45
+ export * from '../scb-components/scb-link/scb-link';
46
+ export * from '../scb-components/scb-list/scb-list-item';
47
+ export * from '../scb-components/scb-list/scb-list';
48
+ export * from '../scb-components/scb-menu/scb-menu-item';
49
+ export * from '../scb-components/scb-menu/scb-menu-section';
50
+ export * from '../scb-components/scb-menu/scb-menu';
51
+ export * from '../scb-components/scb-menu/scb-sub-menu';
52
+ export * from '../scb-components/scb-nav/scb-nav-item';
53
+ export * from '../scb-components/scb-nav/scb-nav';
54
+ export * from '../scb-components/scb-notification-card/scb-notification-card';
55
+ export * from '../scb-components/scb-options-menu/scb-options-menu-item';
56
+ export * from '../scb-components/scb-options-menu/scb-options-menu';
57
+ export * from '../scb-components/scb-options-menu/scb-options-sub-menu';
58
+ export * from '../scb-components/scb-overlay/scb-overlay';
59
+ export * from '../scb-components/scb-pagination/scb-pagination';
60
+ export * from '../scb-components/scb-progress-indicator/scb-progress-indicator';
61
+ export * from '../scb-components/scb-progress-stepper/scb-progress-step';
62
+ export * from '../scb-components/scb-progress-stepper/scb-progress-stepper';
63
+ export * from '../scb-components/scb-radio-button/scb-radio-button';
64
+ export * from '../scb-components/scb-radio-button/scb-radio-group';
65
+ export * from '../scb-components/scb-scrollspy/scb-scrollspy';
66
+ export * from '../scb-components/scb-search/scb-search';
67
+ export * from '../scb-components/scb-segmented-button/scb-segmented-button';
68
+ export * from '../scb-components/scb-segmented-button/scb-segmented-item';
69
+ export * from '../scb-components/scb-select/scb-select-option';
70
+ export * from '../scb-components/scb-select/scb-select';
71
+ export * from '../scb-components/scb-skeleton/scb-skeleton';
72
+ export * from '../scb-components/scb-slider/scb-slider';
73
+ export * from '../scb-components/scb-snackbar/scb-snackbar';
74
+ export * from '../scb-components/scb-status-pill/scb-status-pill';
75
+ export * from '../scb-components/scb-stepper/scb-step';
76
+ export * from '../scb-components/scb-stepper/scb-stepper';
77
+ export * from '../scb-components/scb-switch/scb-switch';
78
+ export * from '../scb-components/scb-table/scb-table';
79
+ export * from '../scb-components/scb-table-advanced/scb-table-advanced';
80
+ export * from '../scb-components/scb-tabs/scb-primary-tab';
81
+ export * from '../scb-components/scb-tabs/scb-secondary-tab';
82
+ export * from '../scb-components/scb-tabs/scb-tabs';
83
+ export * from '../scb-components/scb-textfield/scb-textfield';
84
+ export * from '../scb-components/scb-toc/scb-toc-item';
85
+ export * from '../scb-components/scb-toc/scb-toc';
86
+ export * from '../scb-components/scb-tooltip/scb-tooltip';
87
+ export * from '../scb-components/scb-viz/scb-viz-actions-runtime';
88
+ export * from '../scb-components/scb-viz/scb-viz-print-runtime';
89
+ export * from '../scb-components/scb-viz/scb-viz-series-differentiation-registry';
90
+ export * from '../scb-components/scb-viz/scb-viz-series-differentiation-runtime';
91
+ export * from '../scb-components/scb-viz/scb-viz-table-runtime';
92
+ export * from '../scb-components/scb-viz/scb-viz';