@shortfuse/materialdesignweb 0.7.1-0 → 0.7.1-2

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 (138) hide show
  1. package/bin/generate-css.js +1 -2
  2. package/components/Badge.js +40 -3
  3. package/components/Body.js +16 -2
  4. package/components/BottomAppBar.js +25 -2
  5. package/components/Box.js +33 -3
  6. package/components/Button.js +146 -9
  7. package/components/Card.js +111 -3
  8. package/components/Checkbox.js +91 -3
  9. package/components/CheckboxIcon.js +92 -4
  10. package/components/Chip.js +38 -2
  11. package/components/Dialog.js +237 -3
  12. package/components/DialogActions.js +3 -2
  13. package/components/Divider.js +44 -3
  14. package/components/ExtendedFab.js +27 -2
  15. package/components/Fab.js +26 -2
  16. package/components/FilterChip.js +83 -2
  17. package/components/Headline.js +16 -2
  18. package/components/Icon.js +80 -4
  19. package/components/IconButton.js +153 -2
  20. package/components/Label.js +16 -2
  21. package/components/Layout.js +21 -3
  22. package/components/List.js +15 -2
  23. package/components/ListItem.js +229 -3
  24. package/components/ListOption.js +37 -3
  25. package/components/ListSelect.js +12 -2
  26. package/components/Menu.js +173 -3
  27. package/components/MenuItem.js +55 -2
  28. package/components/Nav.js +19 -2
  29. package/components/NavBar.js +37 -2
  30. package/components/NavBarItem.js +44 -2
  31. package/components/NavDrawer.js +34 -2
  32. package/components/NavDrawerItem.js +44 -2
  33. package/components/NavItem.js +183 -3
  34. package/components/NavRail.js +50 -2
  35. package/components/NavRailItem.js +25 -2
  36. package/components/Pane.js +263 -3
  37. package/components/Progress.js +469 -10
  38. package/components/Radio.js +97 -3
  39. package/components/RadioIcon.js +77 -5
  40. package/components/Ripple.js +76 -3
  41. package/components/SegmentedButton.js +97 -2
  42. package/components/SegmentedButtonGroup.js +15 -2
  43. package/components/Select.js +54 -2
  44. package/components/Shape.js +55 -18
  45. package/components/Slider.js +309 -3
  46. package/components/Snackbar.js +82 -2
  47. package/components/Surface.js +13 -4
  48. package/components/Switch.js +67 -4
  49. package/components/SwitchIcon.js +272 -5
  50. package/components/Tab.js +87 -3
  51. package/components/TabContent.js +21 -21
  52. package/components/TabList.js +131 -2
  53. package/components/TextArea.js +97 -3
  54. package/components/Title.js +16 -2
  55. package/components/Tooltip.js +42 -2
  56. package/components/TopAppBar.js +212 -3
  57. package/core/template.js +36 -9
  58. package/mixins/ControlMixin.js +65 -2
  59. package/mixins/DensityMixin.js +17 -3
  60. package/mixins/FlexableMixin.js +81 -3
  61. package/mixins/RippleMixin.js +15 -4
  62. package/mixins/ShapeMixin.js +279 -8
  63. package/mixins/StateMixin.js +87 -5
  64. package/mixins/SurfaceMixin.js +152 -3
  65. package/mixins/TextFieldMixin.js +661 -3
  66. package/mixins/ThemableMixin.js +206 -3
  67. package/mixins/TooltipTriggerMixin.js +30 -4
  68. package/mixins/TouchTargetMixin.js +29 -4
  69. package/package.json +2 -1
  70. package/theming/loader.js +0 -2
  71. package/components/Badge.css +0 -38
  72. package/components/Body.css +0 -14
  73. package/components/BottomAppBar.css +0 -23
  74. package/components/Box.css +0 -31
  75. package/components/Button.css +0 -147
  76. package/components/Card.css +0 -109
  77. package/components/Checkbox.css +0 -89
  78. package/components/CheckboxIcon.css +0 -90
  79. package/components/Chip.css +0 -35
  80. package/components/Dialog.css +0 -235
  81. package/components/Divider.css +0 -41
  82. package/components/ExtendedFab.css +0 -24
  83. package/components/Fab.css +0 -23
  84. package/components/FilterChip.css +0 -80
  85. package/components/Headline.css +0 -14
  86. package/components/Icon.css +0 -76
  87. package/components/IconButton.css +0 -150
  88. package/components/Label.css +0 -14
  89. package/components/Layout.css +0 -19
  90. package/components/List.css +0 -12
  91. package/components/ListItem.css +0 -224
  92. package/components/ListOption.css +0 -34
  93. package/components/ListSelect.css +0 -9
  94. package/components/Menu.css +0 -171
  95. package/components/MenuItem.css +0 -53
  96. package/components/Nav.css +0 -17
  97. package/components/NavBar.css +0 -34
  98. package/components/NavBarItem.css +0 -41
  99. package/components/NavDrawer.css +0 -31
  100. package/components/NavDrawerItem.css +0 -42
  101. package/components/NavItem.css +0 -181
  102. package/components/NavRail.css +0 -47
  103. package/components/NavRailItem.css +0 -25
  104. package/components/Outline.css +0 -138
  105. package/components/Pane.css +0 -261
  106. package/components/Progress.css +0 -75
  107. package/components/ProgressCircle.css +0 -226
  108. package/components/ProgressLine.css +0 -155
  109. package/components/Radio.css +0 -95
  110. package/components/RadioIcon.css +0 -73
  111. package/components/Ripple.css +0 -74
  112. package/components/SegmentedButton.css +0 -94
  113. package/components/SegmentedButtonGroup.css +0 -12
  114. package/components/Select.css +0 -52
  115. package/components/Shape.css +0 -132
  116. package/components/Slider.css +0 -307
  117. package/components/Snackbar.css +0 -80
  118. package/components/Surface.css +0 -10
  119. package/components/Switch.css +0 -64
  120. package/components/SwitchIcon.css +0 -178
  121. package/components/SwitchIconAnimations.css +0 -89
  122. package/components/Tab.css +0 -85
  123. package/components/TabList.css +0 -129
  124. package/components/TextArea.css +0 -93
  125. package/components/Title.css +0 -14
  126. package/components/Tooltip.css +0 -40
  127. package/components/TopAppBar.css +0 -209
  128. package/mixins/ControlMixin.css +0 -57
  129. package/mixins/DensityMixin.css +0 -40
  130. package/mixins/FlexableMixin.css +0 -79
  131. package/mixins/RippleMixin.css +0 -12
  132. package/mixins/ShapeMixin.css +0 -135
  133. package/mixins/StateMixin.css +0 -82
  134. package/mixins/SurfaceMixin.css +0 -150
  135. package/mixins/TextFieldMixin.css +0 -657
  136. package/mixins/ThemableMixin.css +0 -204
  137. package/mixins/TooltipTriggerMixin.css +0 -27
  138. package/mixins/TouchTargetMixin.css +0 -26
@@ -1,89 +0,0 @@
1
- /* https://m3.material.io/components/checkbox/specs */
2
-
3
- :host {
4
- --mdw-ink: var(--mdw-color__on-primary);
5
- --mdw-bg: var(--mdw-color__primary);
6
-
7
- display: inline-grid;
8
- align-items: baseline;
9
- gap: 12px;
10
- grid-auto-flow: column;
11
- justify-content: flex-start;
12
-
13
- cursor: pointer;
14
-
15
- transition: none 100ms cubic-bezier(0.4, 0.0, 1, 1);
16
- }
17
-
18
- :host([disabled]) {
19
- opacity: 0.38;
20
- }
21
-
22
- :host(:empty) {
23
- vertical-align: -11.5%;
24
-
25
- line-height: 18px;
26
- }
27
-
28
- :host(:empty) #checkbox {
29
- transform: none;
30
- }
31
-
32
- #control {
33
- grid-column: 1/1;
34
-
35
- cursor: inherit;
36
- }
37
-
38
- #label {
39
- cursor: inherit;
40
- }
41
-
42
- #label[disabled] {
43
- cursor: not-allowed;
44
- }
45
-
46
- #state,
47
- #ripple-container {
48
- inset-block-start: 50%;
49
- inset-inline-start: 50%;
50
-
51
- block-size: 40px;
52
- inline-size: 40px;
53
-
54
- transform: translateX(-50%) translateY(-50%);
55
-
56
- border-radius: 50%;
57
- }
58
-
59
- #checkbox {
60
- position: relative;
61
-
62
- display: inline-flex;
63
-
64
- grid-column: 1 / 1;
65
-
66
- pointer-events: none;
67
-
68
- transform: translateY(11.5%);
69
-
70
- color: rgb(var(--mdw-color__on-surface));
71
- }
72
-
73
- #checkbox[selected] {
74
- color: rgb(var(--mdw-bg));
75
- }
76
-
77
- #checkbox[disabled] {
78
- color: rgb(var(--mdw-color__on-surface));
79
- }
80
-
81
- #checkbox[errored] {
82
- color: rgb(var(--mdw-color__error));
83
- }
84
-
85
- #icon {
86
- --mdw-ink: inherit;
87
- --mdw-bg: inherit;
88
- --disabled-opacity: 1;
89
- }
@@ -1,90 +0,0 @@
1
- /* https://m3.material.io/components/checkbox/specs */
2
-
3
- :host {
4
- --mdw-ink: var(--mdw-color__on-primary);
5
- --mdw-bg: var(--mdw-color__primary);
6
- --mdw-shape__size: 2px;
7
- --disabled-opacity: 0.38;
8
- position: relative;
9
-
10
- display: inline-block;
11
- align-items: center;
12
- justify-content: center;
13
-
14
- box-sizing: border-box;
15
- block-size: 18px;
16
- inline-size: 18px;
17
-
18
- font-size: 18px;
19
- line-height: 18px;
20
- }
21
-
22
- #shape {
23
- --mdw-shape__size: inherit;
24
- position: absolute;
25
- inset: 0;
26
-
27
- z-index: auto;
28
-
29
- background-color: transparent;
30
- }
31
-
32
- #icon {
33
- position: absolute;
34
- inset: 0;
35
-
36
- opacity: 0;
37
-
38
- background-color: rgb(var(--mdw-bg));
39
- color: rgb(var(--mdw-ink));
40
-
41
- transition-duration: 200ms;
42
- transition-property: opacity, background-color, color;
43
- will-change: opacity;
44
- }
45
-
46
- #outline {
47
- filter:
48
- drop-shadow(1px 0px 0px currentColor)
49
- drop-shadow(0px 1px 0px currentColor)
50
- drop-shadow(-1px 0px 0px currentColor)
51
- drop-shadow(0px -1px 0px currentColor);
52
-
53
- color: rgb(var(--mdw-color__on-surface));
54
-
55
- transition-duration: 200ms;
56
- transition-property: opacity, background-color, color;
57
- will-change: opacity;
58
- }
59
-
60
- /* Selected */
61
-
62
- #icon[selected] {
63
- opacity: 1;
64
- }
65
-
66
- #outline[selected] {
67
- opacity: 0;
68
- }
69
-
70
- /* Errored */
71
-
72
- #icon[errored] {
73
- background-color: rgb(var(--mdw-color__error));
74
- color: rgb(var(--mdw-color__on-error));
75
- }
76
-
77
- #outline[errored] {
78
- color: rgb(var(--mdw-color__error));
79
- }
80
-
81
- /* Disabled */
82
-
83
- #icon[disabled] {
84
- background-color: rgba(var(--mdw-color__on-surface), var(--disabled-opacity));
85
- color: rgb(var(--mdw-color__surface), var(--disabled-opacity));
86
- }
87
-
88
- #outline[disabled] {
89
- color: rgb(var(--mdw-color__on-surface), var(--disabled-opacity));
90
- }
@@ -1,35 +0,0 @@
1
- /* https://m3.material.io/components/chips/specs */
2
-
3
- :host {
4
- --mdw-shape__size: 8px;
5
- --mdw-ink: var(--mdw-color__on-surface);
6
- padding-block: calc(4px + (var(--mdw-density) * 2px));
7
- padding-inline: calc(16px + (var(--mdw-density) * 2px));
8
-
9
- color: rgb(var(--mdw-ink));
10
- }
11
-
12
- :host(:where([suggestion])) {
13
- --mdw-ink: var(--mdw-color__on-surface-variant);
14
- }
15
-
16
- :host(:where([icon])) {
17
- gap: 8px;
18
-
19
- padding-inline: calc(8px + (var(--mdw-density) * 2px)) calc(16px + (var(--mdw-density) * 2px));
20
-
21
- }
22
-
23
- #outline {
24
- --mdw-ink: rgb(var(--mdw-color__on-surface-variant));
25
- }
26
-
27
- #outline:is([ink],[color]) {
28
- /* stylelint-disable-next-line rule-selector-property-disallowed-list */
29
- --mdw-ink: inherit;
30
- }
31
-
32
- #slot[disabled],
33
- #icon[disabled] {
34
- color: rgba(var(--mdw-color__on-surface), 0.38);
35
- }
@@ -1,235 +0,0 @@
1
- /* https://m3.material.io/components/dialogs/specs */
2
-
3
- :host {
4
- --mdw-dialog__expand-duration: var(--mdw-motion-expand-duration, 250ms);
5
- --mdw-dialog__simple-duration: var(--mdw-motion-simple-duration, 100ms);
6
- --mdw-dialog__standard-easing: var(--mdw-motion-standard-easing, cubic-bezier(0.4, 0.0, 0.2, 1));
7
- --mdw-dialog__deceleration-easing: var(--mdw-motion-deceleration-easing, cubic-bezier(0.0, 0.0, 0.2, 1));
8
- --mdw-dialog__fade-in-duration: var(--mdw-motion-fade-in-duration, 150ms);
9
-
10
- position: fixed;
11
- inset: 0;
12
-
13
- pointer-events: none;
14
-
15
- z-index: 24;
16
- }
17
-
18
- #dialog {
19
- position: fixed;
20
- inset-block-start: 0;
21
- inset-inline-start: 0;
22
-
23
- display: flex;
24
- align-items: center;
25
- flex-direction: row;
26
- justify-content: center;
27
-
28
- box-sizing: border-box;
29
- block-size:100%;
30
- max-block-size: none;
31
- inline-size:100%;
32
- max-inline-size: none;
33
- margin:0;
34
- border: none;
35
- padding: 48px;
36
-
37
- opacity: 0;
38
- /* visiblity:hidden still registers events, hide from pointer with scale(0) */
39
- transform: scale(0);
40
- visibility: hidden;
41
- z-index: 24;
42
-
43
- background-color: transparent;
44
-
45
- transition-delay: 0s, 200ms, 200ms;
46
- transition-duration: 200ms, 0s, 0s;
47
- transition-property: opacity, transform, visibility;
48
- transition-timing-function: ease-out;
49
- will-change: opacity;
50
- }
51
-
52
- @media (min-width: 1440px) {
53
- #dialog {
54
- padding: 56px;
55
- }
56
- }
57
-
58
- #dialog::backdrop {
59
- /** Use scrim instead */
60
- display: none;
61
- }
62
-
63
- #dialog[aria-hidden="false"],
64
- #dialog:modal {
65
- pointer-events: auto;
66
-
67
- opacity: 1;
68
-
69
- transform: none;
70
- visibility: visible;
71
-
72
- transition-delay: 0s;
73
- transition-duration: 0s;
74
- transition-timing-function: ease-in;
75
- }
76
-
77
- #scrim {
78
- position: fixed;
79
- inset: 0;
80
-
81
- overflow-y: scroll;
82
- overscroll-behavior: none;
83
- overscroll-behavior: contain;
84
- scrollbar-width: none;
85
-
86
- block-size: 100%;
87
- inline-size: 100%;
88
-
89
- cursor: default;
90
- pointer-events: inherit;
91
- -webkit-tap-highlight-color: transparent;
92
-
93
- opacity: 0.38;
94
- z-index: 0;
95
-
96
- background-color: rgb(var(--mdw-color__scrim));
97
- }
98
-
99
- #scrim::-webkit-scrollbar {
100
- display: none;
101
- }
102
-
103
- #scrim::after {
104
- content: '';
105
-
106
- display: block;
107
-
108
- block-size: 200%;
109
- inline-size: 200%;
110
- }
111
- @keyframes scaleUpAnimation {
112
- from {
113
- transform: scaleY(0);
114
- }
115
-
116
- to {
117
- transform: scaleY(1);
118
- }
119
- }
120
-
121
- #surface {
122
- --mdw-shape__size: 28px;
123
-
124
- position: relative;
125
-
126
- display: flex;
127
- align-items: flex-start;
128
- flex-direction: column;
129
- -webkit-overflow-scrolling: touch;
130
- overscroll-behavior: none;
131
- overscroll-behavior: contain;
132
-
133
- box-sizing: border-box;
134
- max-block-size: 100%;
135
- min-inline-size: 280px;
136
- max-inline-size: 560px;
137
- flex-shrink: 1;
138
-
139
- padding-block-start: 8px;
140
-
141
- transform: scale(1);
142
- transform-origin: top center;
143
- z-index: 24;
144
-
145
- will-change: display, transform;
146
- }
147
-
148
- #surface[icon] {
149
- align-items: center;
150
- }
151
-
152
- #surface[open] {
153
- animation-name: scaleUpAnimation;
154
- animation-duration: 200ms;
155
- animation-direction: forwards;
156
- }
157
-
158
- #icon {
159
- padding-block-start: 16px;
160
-
161
- font-size: 24px;
162
- }
163
-
164
- #headline {
165
- display: block;
166
-
167
- padding-block-start: 16px;
168
- padding-inline: 24px;
169
-
170
- font: var(--mdw-typescale__headline-small__font);
171
- letter-spacing: var(--mdw-typescale__headline-small__letter-spacing);
172
- }
173
-
174
- #headline:not([slotted]):empty {
175
- display: none;
176
- }
177
-
178
- #body {
179
- padding-block: 16px;
180
- }
181
-
182
- .content {
183
- padding-inline: 24px;
184
- }
185
-
186
- #divider-top {
187
- padding-block-start: 16px;
188
- }
189
-
190
- mdw-divider:not([size]) {
191
- color: transparent;
192
- }
193
-
194
- mdw-divider[size="inset"] {
195
- padding-inline: 24px;
196
- }
197
-
198
- #fixed {
199
- display:block;
200
-
201
- padding-block-start: 16px;
202
-
203
- color: rgb(var(--mdw-color__on-surface-variant));
204
-
205
- font: var(--mdw-typescale__body-medium__font);
206
- letter-spacing: var(--mdw-typescale__body-medium__letter-spacing);
207
- }
208
-
209
- #fixed:not([slotted]) {
210
- display: none;
211
- }
212
-
213
- #slot {
214
- display:block;
215
-
216
- overflow-y: auto;
217
-
218
- color: rgb(var(--mdw-color__on-surface-variant));
219
-
220
- font: var(--mdw-typescale__body-medium__font);
221
- letter-spacing: var(--mdw-typescale__body-medium__letter-spacing);
222
- }
223
-
224
- #scroller {
225
- display: block;
226
- overflow-y: auto;
227
- }
228
-
229
- #form {
230
- display: contents;
231
- }
232
-
233
- #form-slot::slotted(form) {
234
- display: contents;
235
- }
@@ -1,41 +0,0 @@
1
- /* https://m3.material.io/components/dividers/specs */
2
-
3
- :host {
4
- --mdw-ink: var(--mdw-color__outline-variant);
5
- position: relative;
6
-
7
- display: block;
8
- overflow: visible;
9
-
10
- box-sizing: border-box;
11
- block-size: 0;
12
- inline-size: 100%;
13
-
14
- color: rgb(var(--mdw-ink));
15
- }
16
-
17
- :host::before {
18
- content: '';
19
-
20
- display: block;
21
-
22
- box-sizing: border-box;
23
- block-size: 1px;
24
- inline-size: auto;
25
-
26
- background-color: currentcolor;
27
- }
28
-
29
- :host([vertical]) {
30
- display: inline-flex;
31
- vertical-align: top;
32
-
33
- block-size: auto;
34
- min-block-size: 100%;
35
- inline-size: 0;
36
- }
37
-
38
- :host([vertical])::before {
39
- block-size: auto;
40
- min-inline-size: 1px;
41
- }
@@ -1,24 +0,0 @@
1
- /* https://m3.material.io/components/extended-fab/specs */
2
-
3
- :host {
4
- --mdw-bg: var(--mdw-color__primary-container);
5
- --mdw-ink: var(--mdw-color__on-primary-container);
6
- --mdw-shape__size: 16px;
7
- --mdw-surface__tint: var(--mdw-surface__tint__3);
8
- --mdw-surface__tint__raised: var(--mdw-surface__tint__4);
9
- --mdw-surface__shadow__resting: var(--mdw-surface__shadow__3);
10
- --mdw-surface__shadow__raised: var(--mdw-surface__shadow__4);
11
- min-inline-size: 48px;
12
- padding: calc(16px + (var(--mdw-density) * 2px));
13
- }
14
-
15
- #icon {
16
- font-size: 24px;
17
- }
18
-
19
- :host([lowered]) {
20
- --mdw-surface__tint: var(--mdw-surface__tint__1);
21
- --mdw-surface__tint__raised: var(--mdw-surface__tint__2);
22
- --mdw-surface__shadow__resting: var(--mdw-surface__shadow__1);
23
- --mdw-surface__shadow__raised: var(--mdw-surface__shadow__2);
24
- }
@@ -1,23 +0,0 @@
1
- /* https://m3.material.io/components/floating-action-button/specs */
2
-
3
- :host {
4
- min-inline-size: 24px;
5
- }
6
-
7
- #icon {
8
- font-size: 24px;
9
- }
10
-
11
- #icon[fab-size="large"] {
12
- font-size: 36px;
13
- }
14
-
15
- :host([fab-size="small"]) {
16
- --mdw-shape__size: 12px;
17
- padding: calc(8px + (var(--mdw-density) * 2px));
18
- }
19
-
20
- :host([fab-size="large"]) {
21
- --mdw-shape__size: 28px;
22
- padding: calc(30px + (var(--mdw-density) * 2px));
23
- }
@@ -1,80 +0,0 @@
1
- /* https://m3.material.io/components/chips/specs */
2
-
3
- /* Filter Chips can be elevated */
4
-
5
- :host {
6
- --mdw-ink: var(--mdw-color__on-secondary-container);
7
- --mdw-bg: var(--mdw-color__secondary-container);
8
- gap: 8px;
9
-
10
- padding-inline-start: max(4px, calc(8px + (var(--mdw-density) * 2px)));
11
- padding-inline-end: max(12px, calc(16px + (var(--mdw-density) * 2px)));
12
-
13
- color: rgb(var(--mdw-color__on-surface-variant));
14
-
15
- }
16
-
17
- :host(:focus) {
18
- --mdw-outline__rgb: var(--mdw-color__outline);
19
- }
20
-
21
- #icon[selected] {
22
- font-variation-settings: 'FILL' 1;
23
- }
24
-
25
- #shape {
26
- background-color: transparent;
27
- }
28
-
29
- :host(:where([trailing-icon],[dropdown],[trailing-src])) {
30
- padding-inline-start: max(4px, calc(8px + (var(--mdw-density) * 2px)));
31
- }
32
-
33
- #shape[elevated] {
34
- background-color: rgb(var(--mdw-color__surface));
35
- }
36
-
37
- #shape[selected] {
38
- background-color: rgb(var(--mdw-bg));
39
- }
40
-
41
- :host([selected]) {
42
- color: rgb(var(--mdw-ink));
43
- }
44
-
45
- #outline[selected] {
46
- opacity: 0;
47
- }
48
-
49
- #trailing-icon {
50
- position: relative;
51
-
52
- font-size: 18px;
53
- }
54
-
55
- .mdw-chip__checkbox {
56
- position: absolute;
57
-
58
- max-block-size: 0;
59
- max-inline-size: 0;
60
-
61
- appearance: none;
62
- pointer-events: none;
63
- }
64
-
65
- #check-icon {
66
- font-size: 0;
67
- }
68
-
69
- #check-icon[selected] {
70
- font-size: 18px;
71
- }
72
-
73
- #check-icon[disabled] {
74
- color: rgba(var(--mdw-color__on-surface), 0.38);
75
- }
76
-
77
- #shape[disabled]:is([elevated],[selected]) {
78
- background-color: rgba(var(--mdw-color__on-surface), 0.12);
79
- /* color: rgba(var(--mdw-color__on-surface), 0.38); */
80
- }
@@ -1,14 +0,0 @@
1
- :host {
2
- font: var(--mdw-typescale__headline-large__font);
3
- letter-spacing: var(--mdw-typescale__headline-large__letter-spacing);
4
- }
5
-
6
- :host([size="medium"]) {
7
- font: var(--mdw-typescale__headline-medium__font);
8
- letter-spacing: var(--mdw-typescale__headline-medium__letter-spacing);
9
- }
10
-
11
- :host([size="small"]) {
12
- font: var(--mdw-typescale__headline-small__font);
13
- letter-spacing: var(--mdw-typescale__headline-small__letter-spacing);
14
- }
@@ -1,76 +0,0 @@
1
- /* https://material.io/design/iconography/system-icons.html */
2
-
3
- :host {
4
- display: inline-block;
5
- vertical-align: -11.5%;
6
-
7
- block-size: 1em;
8
- inline-size: 1em;
9
-
10
- -webkit-user-select: none;
11
- user-select: none;
12
-
13
- font-variation-settings: 'FILL' 1;
14
-
15
- transition-duration: 200ms;
16
- /* stylelint-disable-next-line liberty/use-logical-spec -- Safari does not animate inline-size */
17
- transition-property: inline-size, width;
18
- }
19
-
20
- :host(:is([color],[ink])) {
21
- color: rgb(var(--mdw-ink));
22
- }
23
-
24
- #icon {
25
- /* Clip bounds in case font is not ready */
26
- display: block;
27
- overflow: clip;
28
-
29
- block-size: 1em;
30
- inline-size: 1em;
31
-
32
- font-size: inherit;
33
- font-variation-settings: inherit;
34
-
35
- transition-delay: 1ms;
36
- transition-duration: 200ms;
37
-
38
- transition-property: font-variation-settings;
39
- }
40
-
41
- #icon[hidden] {
42
- display: none;
43
- }
44
-
45
- #svg {
46
- display: block;
47
-
48
- block-size: inherit;
49
- inline-size: inherit;
50
-
51
- fill: currentColor;
52
-
53
- object-fit: cover;
54
- }
55
-
56
- #img {
57
- display: block;
58
-
59
- block-size: inherit;
60
- inline-size: inherit;
61
-
62
- object-fit: cover;
63
-
64
- transition-delay: 1ms;
65
- transition-duration: 200ms;
66
- transition-property: filter;
67
- }
68
-
69
- #img[disabled] {
70
- filter: grayscale();
71
- }
72
-
73
- .material-symbols-outlined {
74
- /* https://github.com/google/material-design-icons/issues/750 */
75
- direction: inherit;
76
- }