@vandeurenglenn/lite-elements 0.3.50 → 0.3.51

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.
Files changed (81) hide show
  1. package/exports/banner.js +36 -36
  2. package/exports/bundle/button.js +6 -1
  3. package/exports/bundle/index.html +590 -590
  4. package/exports/bundle/themes/default/colors.module.css +180 -180
  5. package/exports/bundle/themes/default/missing/motion.css +3 -3
  6. package/exports/bundle/themes/default/missing/shape.css +12 -12
  7. package/exports/bundle/themes/default/missing/theme.dark.css +4 -4
  8. package/exports/bundle/themes/default/missing/theme.light.css +4 -4
  9. package/exports/bundle/themes/default/missing/tokens.css +8 -8
  10. package/exports/bundle/themes/default/theme.css +10 -10
  11. package/exports/bundle/themes/default/theme.dark.css +33 -33
  12. package/exports/bundle/themes/default/theme.light.css +33 -33
  13. package/exports/bundle/themes/default/tokens.css +256 -256
  14. package/exports/bundle/themes/default/typography.module.css +150 -150
  15. package/exports/bundle/upload-image.js +49 -45
  16. package/exports/button.js +148 -143
  17. package/exports/card.js +139 -139
  18. package/exports/code.js +34 -34
  19. package/exports/demo-icons.js +15 -15
  20. package/exports/demo-shell.js +539 -539
  21. package/exports/demo.js +456 -456
  22. package/exports/dialog.js +148 -148
  23. package/exports/divider.js +21 -21
  24. package/exports/drawer-button.js +13 -13
  25. package/exports/drawer-item.js +38 -38
  26. package/exports/drawer-layout.js +95 -95
  27. package/exports/drawer.js +7 -7
  28. package/exports/dropdown-menu.js +58 -58
  29. package/exports/dropdown.js +25 -25
  30. package/exports/elevation.js +50 -50
  31. package/exports/fab.js +145 -145
  32. package/exports/icon-button.js +12 -12
  33. package/exports/icon-set.js +4 -4
  34. package/exports/icon.js +15 -15
  35. package/exports/input.js +5 -5
  36. package/exports/list-item.js +42 -42
  37. package/exports/menu.js +12 -12
  38. package/exports/minute-field.js +4 -4
  39. package/exports/mixins/scroll-mixin.d.ts +1 -1
  40. package/exports/notification.js +34 -34
  41. package/exports/notifications.js +65 -65
  42. package/exports/pages.js +42 -42
  43. package/exports/pane.js +18 -18
  44. package/exports/rail.js +57 -57
  45. package/exports/root.js +7 -7
  46. package/exports/section/section.d.ts +1 -1
  47. package/exports/section.js +10 -10
  48. package/exports/section2.js +24 -24
  49. package/exports/selector.js +30 -30
  50. package/exports/summary-mirror.js +19 -19
  51. package/exports/summary.js +24 -24
  52. package/exports/supporting-pane.js +46 -46
  53. package/exports/tab.js +21 -21
  54. package/exports/tabs.js +50 -50
  55. package/exports/text-field.js +9 -9
  56. package/exports/theme.js +8 -8
  57. package/exports/themes/default/colors.module.css +180 -180
  58. package/exports/themes/default/missing/motion.css +3 -3
  59. package/exports/themes/default/missing/shape.css +12 -12
  60. package/exports/themes/default/missing/theme.dark.css +4 -4
  61. package/exports/themes/default/missing/theme.light.css +4 -4
  62. package/exports/themes/default/missing/tokens.css +8 -8
  63. package/exports/themes/default/theme.css +10 -10
  64. package/exports/themes/default/theme.dark.css +33 -33
  65. package/exports/themes/default/theme.light.css +33 -33
  66. package/exports/themes/default/tokens.css +256 -256
  67. package/exports/themes/default/typography.module.css +150 -150
  68. package/exports/time-picker.js +20 -20
  69. package/exports/toggle-button.js +3 -3
  70. package/exports/toggle.js +4 -4
  71. package/exports/top-app-bar.js +20 -20
  72. package/exports/typography.js +155 -155
  73. package/exports/upload-file.js +8 -8
  74. package/exports/upload-image.js +200 -200
  75. package/package.json +20 -28
  76. package/exports/bundle/simple-hash-router.js +0 -1
  77. package/exports/bundle/types2.js +0 -1
  78. package/exports/router/simple-hash-router.d.ts +0 -34
  79. package/exports/router/types.d.ts +0 -45
  80. package/exports/simple-hash-router.js +0 -111
  81. package/exports/types2.js +0 -1
package/exports/rail.js CHANGED
@@ -56,63 +56,63 @@ let CustomRail = (() => {
56
56
  get right() { return this.#right_accessor_storage; }
57
57
  set right(value) { this.#right_accessor_storage = value; }
58
58
  render() {
59
- return html `<style>
60
- :host {
61
- display: contents;
62
- }
63
-
64
- custom-pane {
65
- box-sizing: border-box;
66
- padding: 12px 24px;
67
- height: 100%;
68
- --custom-pane-width: var(--custom-drawer-with, 320px);
69
- }
70
-
71
- slot[name='headline']::slotted(*) {
72
- color: var(--md-sys-color-on-surface-variant);
73
- font-family: var(--md-sys-typescale-title-small-font-family-name);
74
- font-style: var(--md-sys-typescale-title-small-font-family-style);
75
- font-weight: var(--md-sys-typescale-title-small-font-weight);
76
- font-size: var(--md-sys-typescale-title-small-font-size);
77
- letter-spacing: var(--md-sys-typescale-title-small-tracking);
78
- line-height: var(--md-sys-typescale-title-small-height);
79
- text-transform: var(--md-sys-typescale-title-small-text-transform);
80
- text-decoration: var(--md-sys-typescale-title-small-text-decoration);
81
- text-transform: capitalize;
82
- margin: 0;
83
- }
84
-
85
- ::slotted([slot='footer']) {
86
- display: block;
87
- box-sizing: border-box;
88
- min-height: 48px;
89
- border-top: 1px solid rgba(0, 0, 0, 0.14);
90
- }
91
-
92
- ::slotted([slot='content']) {
93
- display: flex;
94
- flex-direction: column;
95
- height: 100%;
96
- width: 100%;
97
- overflow-y: auto;
98
- }
99
-
100
- ::slotted(*) {
101
- pointer-events: none;
102
- }
103
-
104
- aside {
105
- width: 100%;
106
- }
107
- </style>
108
-
109
- <custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type}>
110
- <slot name="header">
111
- <slot name="headline" slot="headline"></slot>
112
- <slot name="menu-button" slot="menu-button"></slot>
113
- </slot>
114
- <slot name="content" slot="content"></slot>
115
- <slot name="footer" slot="footer"></slot>
59
+ return html `<style>
60
+ :host {
61
+ display: contents;
62
+ }
63
+
64
+ custom-pane {
65
+ box-sizing: border-box;
66
+ padding: 12px 24px;
67
+ height: 100%;
68
+ --custom-pane-width: var(--custom-drawer-with, 320px);
69
+ }
70
+
71
+ slot[name='headline']::slotted(*) {
72
+ color: var(--md-sys-color-on-surface-variant);
73
+ font-family: var(--md-sys-typescale-title-small-font-family-name);
74
+ font-style: var(--md-sys-typescale-title-small-font-family-style);
75
+ font-weight: var(--md-sys-typescale-title-small-font-weight);
76
+ font-size: var(--md-sys-typescale-title-small-font-size);
77
+ letter-spacing: var(--md-sys-typescale-title-small-tracking);
78
+ line-height: var(--md-sys-typescale-title-small-height);
79
+ text-transform: var(--md-sys-typescale-title-small-text-transform);
80
+ text-decoration: var(--md-sys-typescale-title-small-text-decoration);
81
+ text-transform: capitalize;
82
+ margin: 0;
83
+ }
84
+
85
+ ::slotted([slot='footer']) {
86
+ display: block;
87
+ box-sizing: border-box;
88
+ min-height: 48px;
89
+ border-top: 1px solid rgba(0, 0, 0, 0.14);
90
+ }
91
+
92
+ ::slotted([slot='content']) {
93
+ display: flex;
94
+ flex-direction: column;
95
+ height: 100%;
96
+ width: 100%;
97
+ overflow-y: auto;
98
+ }
99
+
100
+ ::slotted(*) {
101
+ pointer-events: none;
102
+ }
103
+
104
+ aside {
105
+ width: 100%;
106
+ }
107
+ </style>
108
+
109
+ <custom-pane .open=${this.open} .mobile=${this.mobile} .type=${this.type}>
110
+ <slot name="header">
111
+ <slot name="headline" slot="headline"></slot>
112
+ <slot name="menu-button" slot="menu-button"></slot>
113
+ </slot>
114
+ <slot name="content" slot="content"></slot>
115
+ <slot name="footer" slot="footer"></slot>
116
116
  </custom-pane> `;
117
117
  }
118
118
  constructor() {
package/exports/root.js CHANGED
@@ -17,16 +17,16 @@ let CustomRoot = (() => {
17
17
  if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
18
18
  }
19
19
  static styles = [
20
- css `
21
- :host {
22
- display: contents;
23
- }
20
+ css `
21
+ :host {
22
+ display: contents;
23
+ }
24
24
  `
25
25
  ];
26
26
  render() {
27
- return html `
28
- <custom-theme></custom-theme>
29
- <slot></slot>
27
+ return html `
28
+ <custom-theme></custom-theme>
29
+ <slot></slot>
30
30
  `;
31
31
  }
32
32
  static {
@@ -3,7 +3,7 @@ declare const CustomSection_base: {
3
3
  new (): {
4
4
  [x: string]: any;
5
5
  scrolling: any;
6
- scrollElement: any;
6
+ scrollElement: /*elided*/ any;
7
7
  "__#2@#onscroll": () => void;
8
8
  connectedCallback(options?: {
9
9
  scrollElement: undefined | string;
@@ -29,19 +29,19 @@ let DemoSection = (() => {
29
29
  }
30
30
  }
31
31
  static styles = [
32
- css `
33
- :host {
34
- display: flex;
35
- flex-direction: column;
36
- box-sizing: border-box;
37
- }
32
+ css `
33
+ :host {
34
+ display: flex;
35
+ flex-direction: column;
36
+ box-sizing: border-box;
37
+ }
38
38
  `
39
39
  ];
40
40
  render() {
41
- return html `
42
- <custom-section>
43
- <slot></slot>
44
- </custom-section>
41
+ return html `
42
+ <custom-section>
43
+ <slot></slot>
44
+ </custom-section>
45
45
  `;
46
46
  }
47
47
  static {
@@ -19,33 +19,33 @@ let CustomSection = (() => {
19
19
  if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
20
20
  }
21
21
  static styles = [
22
- css `
23
- :host {
24
- display: flex;
25
- justify-content: center;
26
- align-items: baseline;
27
- margin: 16px;
28
- position: relative;
29
- overflow-y: auto;
30
- }
31
- .container {
32
- align-items: center;
33
- box-sizing: border-box;
34
- padding: 12px;
35
- border-radius: var(--md-sys-shape-corner-extra-large);
36
- }
37
- .content {
38
- max-width: 720px;
39
- }
22
+ css `
23
+ :host {
24
+ display: flex;
25
+ justify-content: center;
26
+ align-items: baseline;
27
+ margin: 16px;
28
+ position: relative;
29
+ overflow-y: auto;
30
+ }
31
+ .container {
32
+ align-items: center;
33
+ box-sizing: border-box;
34
+ padding: 12px;
35
+ border-radius: var(--md-sys-shape-corner-extra-large);
36
+ }
37
+ .content {
38
+ max-width: 720px;
39
+ }
40
40
  `
41
41
  ];
42
42
  render() {
43
- return html `
44
- <flex-column class="container">
45
- <flex-column class="content">
46
- <slot></slot>
47
- </flex-column>
48
- </flex-column>
43
+ return html `
44
+ <flex-column class="container">
45
+ <flex-column class="content">
46
+ <slot></slot>
47
+ </flex-column>
48
+ </flex-column>
49
49
  `;
50
50
  }
51
51
  static {
@@ -18,36 +18,36 @@ let CustomSelector = (() => {
18
18
  if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
19
19
  }
20
20
  static styles = [
21
- css `
22
- :host {
23
- display: flex;
24
- flex-direction: column;
25
- width: 100%;
26
- height: 100%;
27
- overflow-y: auto;
28
- }
29
-
30
- ::slotted(.custom-selected:not([non-interactive])) {
31
- background: var(--md-sys-color-secondary-container);
32
- color: var(--md-sys-color-on-secondary-container);
33
- }
34
-
35
- ::slotted(*) {
36
- color: var(--md-sys-color-on-surface-variant);
37
- font-family: var(--md-sys-typescale-label-large-font-family-name);
38
- font-style: var(--md-sys-typescale-label-large-font-family-style);
39
- font-weight: var(--md-sys-typescale-label-large-font-weight);
40
- font-size: var(--md-sys-typescale-label-large-font-size);
41
- letter-spacing: var(--md-sys-typescale-label-large-tracking);
42
- line-height: var(--md-sys-typescale-label-large-height);
43
- text-transform: var(--md-sys-typescale-label-large-text-transform);
44
- text-decoration: var(--md-sys-typescale-label-large-text-decoration);
45
- }
46
-
47
- ::slotted(:not(.custom-selected):not([non-interactive]):hover) {
48
- background: var(--md-sys-color-secondary-container-hover);
49
- color: var(--md-sys-color-on-secondary-container);
50
- }
21
+ css `
22
+ :host {
23
+ display: flex;
24
+ flex-direction: column;
25
+ width: 100%;
26
+ height: 100%;
27
+ overflow-y: auto;
28
+ }
29
+
30
+ ::slotted(.custom-selected:not([non-interactive])) {
31
+ background: var(--md-sys-color-secondary-container);
32
+ color: var(--md-sys-color-on-secondary-container);
33
+ }
34
+
35
+ ::slotted(*) {
36
+ color: var(--md-sys-color-on-surface-variant);
37
+ font-family: var(--md-sys-typescale-label-large-font-family-name);
38
+ font-style: var(--md-sys-typescale-label-large-font-family-style);
39
+ font-weight: var(--md-sys-typescale-label-large-font-weight);
40
+ font-size: var(--md-sys-typescale-label-large-font-size);
41
+ letter-spacing: var(--md-sys-typescale-label-large-tracking);
42
+ line-height: var(--md-sys-typescale-label-large-height);
43
+ text-transform: var(--md-sys-typescale-label-large-text-transform);
44
+ text-decoration: var(--md-sys-typescale-label-large-text-decoration);
45
+ }
46
+
47
+ ::slotted(:not(.custom-selected):not([non-interactive]):hover) {
48
+ background: var(--md-sys-color-secondary-container-hover);
49
+ color: var(--md-sys-color-on-secondary-container);
50
+ }
51
51
  `
52
52
  ];
53
53
  render() {
@@ -39,25 +39,25 @@ let CustomSummaryMirror = (() => {
39
39
  }
40
40
  }
41
41
  get template() {
42
- return html `
43
- <style>
44
- :host {
45
- display: flex;
46
- flex-direction: column;
47
- height: 100%;
48
- min-height: 400px;
49
- max-width: 1200px;
50
- }
51
-
52
- @media (min-width: 1200px) {
53
- :host {
54
- flex-direction: row;
55
- width: 80%;
56
- }
57
- }
58
- </style>
59
- <slot name="left"></slot>
60
- <slot name="right"></slot>
42
+ return html `
43
+ <style>
44
+ :host {
45
+ display: flex;
46
+ flex-direction: column;
47
+ height: 100%;
48
+ min-height: 400px;
49
+ max-width: 1200px;
50
+ }
51
+
52
+ @media (min-width: 1200px) {
53
+ :host {
54
+ flex-direction: row;
55
+ width: 80%;
56
+ }
57
+ }
58
+ </style>
59
+ <slot name="left"></slot>
60
+ <slot name="right"></slot>
61
61
  `;
62
62
  }
63
63
  });
@@ -16,33 +16,33 @@ let CustomSummary = (() => {
16
16
  if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
17
17
  }
18
18
  static styles = [
19
- css `
20
- :host {
21
- display: flex;
22
- flex-direction: column;
23
- height: 100%;
24
- min-height: 400px;
25
- max-width: 1200px;
26
- }
27
- ::slotted([slot='left']) {
28
- padding-bottom: 24px;
29
- }
30
- @media (min-width: 1200px) {
31
- :host {
32
- flex-direction: row;
33
- width: 80%;
34
- }
35
- ::slotted([slot='left']) {
36
- padding-right: 24px;
37
- padding-bottom: 0;
38
- }
39
- }
19
+ css `
20
+ :host {
21
+ display: flex;
22
+ flex-direction: column;
23
+ height: 100%;
24
+ min-height: 400px;
25
+ max-width: 1200px;
26
+ }
27
+ ::slotted([slot='left']) {
28
+ padding-bottom: 24px;
29
+ }
30
+ @media (min-width: 1200px) {
31
+ :host {
32
+ flex-direction: row;
33
+ width: 80%;
34
+ }
35
+ ::slotted([slot='left']) {
36
+ padding-right: 24px;
37
+ padding-bottom: 0;
38
+ }
39
+ }
40
40
  `
41
41
  ];
42
42
  render() {
43
- return html `
44
- <slot name="left"></slot>
45
- <slot name="right"></slot>
43
+ return html `
44
+ <slot name="left"></slot>
45
+ <slot name="right"></slot>
46
46
  `;
47
47
  }
48
48
  static {
@@ -76,52 +76,52 @@ let CustomSupportingPane = (() => {
76
76
  });
77
77
  }
78
78
  render() {
79
- return html `<style>
80
- :host {
81
- display: flex;
82
- flex-direction: column;
83
- height: 100%;
84
- background: var(--md-sys-color-surface);
85
- color: var(--md-sys-color-on-surface);
86
- width: 100%;
87
- position: relative;
88
- --supporting-pane-width: 360px;
89
- }
90
- .support {
91
- position: absolute;
92
- right: 0;
93
- }
94
-
95
- :host([left]) {
96
- left: 0;
97
- right: none;
98
- }
99
- :host([variant='expanded']) .support {
100
- --custom-pane-width: var(--supporting-pane-width);
101
- }
102
- :host([variant='expanded']) {
103
- flex-direction: row;
104
- }
105
-
106
- :host([variant='compact']) .support {
107
- position: absolute;
108
- flex-direction: row;
109
- }
110
- main {
111
- width: 100%;
112
- }
113
- :host([open]) main {
114
- width: calc(100% - var(--supporting-pane-width));
115
- }
116
- </style>
117
- <main>
118
- <slot></slot>
119
- </main>
120
- <custom-pane class="support" ?open=${this.open} ?right=${!this.left} .id=${this.id}>
121
- <slot name="supporting">
122
- <slot name="supporting-header" slot="header"></slot>
123
- <slot name="supporting-content"></slot>
124
- </slot>
79
+ return html `<style>
80
+ :host {
81
+ display: flex;
82
+ flex-direction: column;
83
+ height: 100%;
84
+ background: var(--md-sys-color-surface);
85
+ color: var(--md-sys-color-on-surface);
86
+ width: 100%;
87
+ position: relative;
88
+ --supporting-pane-width: 360px;
89
+ }
90
+ .support {
91
+ position: absolute;
92
+ right: 0;
93
+ }
94
+
95
+ :host([left]) {
96
+ left: 0;
97
+ right: none;
98
+ }
99
+ :host([variant='expanded']) .support {
100
+ --custom-pane-width: var(--supporting-pane-width);
101
+ }
102
+ :host([variant='expanded']) {
103
+ flex-direction: row;
104
+ }
105
+
106
+ :host([variant='compact']) .support {
107
+ position: absolute;
108
+ flex-direction: row;
109
+ }
110
+ main {
111
+ width: 100%;
112
+ }
113
+ :host([open]) main {
114
+ width: calc(100% - var(--supporting-pane-width));
115
+ }
116
+ </style>
117
+ <main>
118
+ <slot></slot>
119
+ </main>
120
+ <custom-pane class="support" ?open=${this.open} ?right=${!this.left} .id=${this.id}>
121
+ <slot name="supporting">
122
+ <slot name="supporting-header" slot="header"></slot>
123
+ <slot name="supporting-content"></slot>
124
+ </slot>
125
125
  </custom-pane>`;
126
126
  }
127
127
  constructor() {
package/exports/tab.js CHANGED
@@ -17,27 +17,27 @@ let CustomTab = (() => {
17
17
  __runInitializers(_classThis, _classExtraInitializers);
18
18
  }
19
19
  render() {
20
- return html `
21
- <style>
22
- :host {
23
- display: flex;
24
- align-items: center;
25
- justify-content: center;
26
- gap: 8px;
27
- height: 40px;
28
- padding: 0 12px;
29
- box-sizing: border-box;
30
- width: auto;
31
- font: var(--_supporting-text-type);
32
- cursor: pointer;
33
- white-space: nowrap;
34
- }
35
-
36
- slot {
37
- pointer-events: none;
38
- }
39
- </style>
40
- <slot></slot>
20
+ return html `
21
+ <style>
22
+ :host {
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: center;
26
+ gap: 8px;
27
+ height: 40px;
28
+ padding: 0 12px;
29
+ box-sizing: border-box;
30
+ width: auto;
31
+ font: var(--_supporting-text-type);
32
+ cursor: pointer;
33
+ white-space: nowrap;
34
+ }
35
+
36
+ slot {
37
+ pointer-events: none;
38
+ }
39
+ </style>
40
+ <slot></slot>
41
41
  `;
42
42
  }
43
43
  });
package/exports/tabs.js CHANGED
@@ -21,56 +21,56 @@ let CustomTabs = (() => {
21
21
  }
22
22
  // TODO: make scrollable
23
23
  render() {
24
- return html `
25
- <style>
26
- :host {
27
- --custom-tabs-background: var(---md-sys-color-surface);
28
- --selected-color: var(--md-sys-color-primary);
29
- --selected-tab-color: var(--md-sys-color-primary);
30
- --custom-tabs-shape: var(--md-sys-shape-corner-none);
31
- --inactive-color: var(--md-sys-color-on-surface-variant);
32
- display: flex;
33
- flex-direction: row;
34
- min-height: var(--custom-tabs-height, 64px);
35
- overflow-x: auto;
36
- background: var(--custom-tabs-background);
37
- border-radius: var(--custom-tabs-shape);
38
- }
39
- ::slotted(*) {
40
- color: var(--inactive-color);
41
- }
42
- ::slotted(.custom-selected) {
43
- color: var(--selected-color);
44
- border-bottom: 2px solid var(--selected-tab-color);
45
- }
46
-
47
- :host([round]) ::slotted(*) {
48
- gap: 0;
49
- }
50
-
51
- :host([round]) ::slotted(.custom-selected) {
52
- --md-sys-color-on-surface: var(--md-sys-color-on-tertiary);
53
- color: var(--md-sys-color-on-tertiary);
54
- background: var(--md-sys-color-tertiary);
55
- border: none;
56
- border-radius: var(--md-sys-shape-corner-extra-large);
57
- }
58
- ::-webkit-scrollbar {
59
- width: 6px;
60
- border-radius: 12px;
61
- }
62
- ::-webkit-scrollbar-track {
63
- background: #f1f1f1;
64
- }
65
- ::-webkit-scrollbar-thumb {
66
- background: #888;
67
- border-radius: 12px;
68
- }
69
- ::-webkit-scrollbar-thumb:hover {
70
- background: #555;
71
- }
72
- </style>
73
- <slot></slot>
24
+ return html `
25
+ <style>
26
+ :host {
27
+ --custom-tabs-background: var(---md-sys-color-surface);
28
+ --selected-color: var(--md-sys-color-primary);
29
+ --selected-tab-color: var(--md-sys-color-primary);
30
+ --custom-tabs-shape: var(--md-sys-shape-corner-none);
31
+ --inactive-color: var(--md-sys-color-on-surface-variant);
32
+ display: flex;
33
+ flex-direction: row;
34
+ min-height: var(--custom-tabs-height, 64px);
35
+ overflow-x: auto;
36
+ background: var(--custom-tabs-background);
37
+ border-radius: var(--custom-tabs-shape);
38
+ }
39
+ ::slotted(*) {
40
+ color: var(--inactive-color);
41
+ }
42
+ ::slotted(.custom-selected) {
43
+ color: var(--selected-color);
44
+ border-bottom: 2px solid var(--selected-tab-color);
45
+ }
46
+
47
+ :host([round]) ::slotted(*) {
48
+ gap: 0;
49
+ }
50
+
51
+ :host([round]) ::slotted(.custom-selected) {
52
+ --md-sys-color-on-surface: var(--md-sys-color-on-tertiary);
53
+ color: var(--md-sys-color-on-tertiary);
54
+ background: var(--md-sys-color-tertiary);
55
+ border: none;
56
+ border-radius: var(--md-sys-shape-corner-extra-large);
57
+ }
58
+ ::-webkit-scrollbar {
59
+ width: 6px;
60
+ border-radius: 12px;
61
+ }
62
+ ::-webkit-scrollbar-track {
63
+ background: #f1f1f1;
64
+ }
65
+ ::-webkit-scrollbar-thumb {
66
+ background: #888;
67
+ border-radius: 12px;
68
+ }
69
+ ::-webkit-scrollbar-thumb:hover {
70
+ background: #555;
71
+ }
72
+ </style>
73
+ <slot></slot>
74
74
  `;
75
75
  }
76
76
  });