@materializecss/materialize 2.2.0 → 2.2.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 (51) hide show
  1. package/README.md +8 -11
  2. package/dist/css/materialize.css +9471 -0
  3. package/dist/css/materialize.min.css +6 -0
  4. package/dist/css/materialize.min.css.map +1 -0
  5. package/dist/js/materialize.cjs.js +8239 -0
  6. package/dist/js/materialize.d.ts +2593 -0
  7. package/dist/js/materialize.js +8244 -0
  8. package/dist/js/materialize.min.js +6 -0
  9. package/dist/js/materialize.mjs +8211 -0
  10. package/package.json +7 -4
  11. package/sass/components/_badges.scss +1 -1
  12. package/sass/components/_breadcrumb.scss +27 -0
  13. package/sass/components/_buttons.scss +60 -167
  14. package/sass/components/_cards.scss +36 -17
  15. package/sass/components/_carousel.scss +16 -18
  16. package/sass/components/_chips.scss +6 -14
  17. package/sass/components/_collapsible.scss +8 -5
  18. package/sass/components/_collection.scss +2 -3
  19. package/sass/components/_color-variables.scss +35 -3
  20. package/sass/components/_datepicker.scss +95 -48
  21. package/sass/components/_dropdown.scss +11 -7
  22. package/sass/components/_global.scss +22 -111
  23. package/sass/components/_grid.scss +3 -1
  24. package/sass/components/_materialbox.scss +5 -6
  25. package/sass/components/_modal.scss +11 -4
  26. package/sass/components/_navbar.scss +17 -16
  27. package/sass/components/_pagination.scss +47 -0
  28. package/sass/components/_preloader.scss +3 -1
  29. package/sass/components/_pulse.scss +3 -3
  30. package/sass/components/_sidenav.scss +15 -17
  31. package/sass/components/_slider.scss +2 -4
  32. package/sass/components/_tabs.scss +45 -33
  33. package/sass/components/_tapTarget.scss +10 -11
  34. package/sass/components/_timepicker.scss +62 -47
  35. package/sass/components/_toast.scss +3 -0
  36. package/sass/components/_tooltip.scss +0 -8
  37. package/sass/components/_transitions.scss +2 -3
  38. package/sass/components/_typography.scss +5 -5
  39. package/sass/components/_variables.scss +3 -2
  40. package/sass/components/forms/_checkboxes.scss +1 -2
  41. package/sass/components/forms/_file-input.scss +7 -9
  42. package/sass/components/forms/_forms.scss +8 -14
  43. package/sass/components/forms/_input-fields.scss +17 -11
  44. package/sass/components/forms/_range.scss +6 -1
  45. package/sass/components/forms/_select.scss +11 -103
  46. package/sass/components/forms/_switches.scss +2 -0
  47. package/sass/components/mixins.module.scss +159 -0
  48. package/sass/materialize.scss +39 -43
  49. package/dist/materialize-src-v2.2.0.zip +0 -0
  50. package/dist/materialize-v2.2.0.zip +0 -0
  51. package/sass/components/_color-classes.scss +0 -32
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "The responsive front-end library based on Material Design from Google.",
4
4
  "author": "The Materialize Team",
5
5
  "homepage": "https://materializeweb.com",
6
- "version": "2.2.0",
6
+ "version": "2.2.2",
7
7
  "style": "dist/css/materialize.css",
8
8
  "sass": "sass/materialize.scss",
9
9
  "typings": "dist/js/materialize.d.ts",
@@ -35,9 +35,9 @@
35
35
  "lint": "eslint .",
36
36
  "test": "npm run build && jasmine-browser-runner runSpecs",
37
37
  "build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
38
- "release": "npm run lint && npm run build && node ci/compress.js",
38
+ "release": "npm run lint && npm run build -- --environment BUILD:release && node ci/compress.mjs",
39
39
  "preversion": "npm run lint && npm test",
40
- "version": "npm run build && node ci/compress.js && git add -A dist src/index.ts"
40
+ "version": "npm run build -- --environment BUILD:release && node ci/compress.mjs && git add ."
41
41
  },
42
42
  "lint-staged": {
43
43
  "js/*.js": [
@@ -57,10 +57,12 @@
57
57
  "@rollup/plugin-typescript": "^11.1.6",
58
58
  "@types/node": "^20.5.2",
59
59
  "archiver": "^7.0.1",
60
+ "autoprefixer": "^9.8.6",
60
61
  "eslint": "^9.10.0",
61
62
  "jasmine": "^5.1.0",
62
63
  "jasmine-browser-runner": "^2.5.0",
63
64
  "jasmine-core": "^5.2.0",
65
+ "postcss": "^8.4.49",
64
66
  "rollup": "^4.20.0",
65
67
  "rollup-plugin-copy": "^3.5.0",
66
68
  "rollup-plugin-dts": "^6.1.1",
@@ -71,7 +73,8 @@
71
73
  "typescript-eslint": "^8.6.0"
72
74
  },
73
75
  "files": [
74
- "dist",
76
+ "dist/css",
77
+ "dist/js",
75
78
  "sass/**/*.scss",
76
79
  "LICENSE"
77
80
  ]
@@ -37,7 +37,7 @@ span.badge {
37
37
 
38
38
  // Special cases
39
39
 
40
- nav ul a span.badge {
40
+ .navbar ul a span.badge {
41
41
  display: inline-block;
42
42
  float: none;
43
43
  margin-left: 4px;
@@ -0,0 +1,27 @@
1
+ .breadcrumb-wrapper {
2
+ display: flex;
3
+ align-items: center;
4
+ }
5
+
6
+ .breadcrumb {
7
+ display: inline-flex;
8
+ align-items: center;
9
+
10
+ i,
11
+ i.material-icons, i.material-symbols-outlined,
12
+ i.material-symbols-rounded, i.material-symbols-sharp,
13
+ &:before {
14
+ font-weight: normal;
15
+ font-style: normal;
16
+ font-size: 24px;
17
+ }
18
+
19
+ &:before {
20
+ content: '\E5CC';
21
+ font-family: 'Material Symbols Outlined', 'Material Symbols Rounded', 'Material Symbols Sharp', 'Material Icons';
22
+ }
23
+
24
+ &:first-child:before {
25
+ visibility: hidden;
26
+ }
27
+ }
@@ -1,4 +1,7 @@
1
- .btn, .btn-floating, .btn-large, .btn-small, .btn-flat {
1
+ @use './mixins.module.scss' as *;
2
+ @use './variables' as *;
3
+
4
+ :root {
2
5
  --btn-height: 40px;
3
6
  --btn-font-size-icon: 16px;
4
7
  --btn-padding: 24px;
@@ -6,23 +9,16 @@
6
9
  --btn-gap-icon: 8px;
7
10
  --btn-border-radius: 4px;
8
11
  --btn-font-size: 14px;
12
+ }
9
13
 
10
- height: var(--btn-height);
11
- border: none;
12
- border-radius: var(--btn-border-radius);
13
- padding-left: var(--btn-padding);
14
- padding-right: var(--btn-padding);
15
- font-size: var(--btn-font-size);
16
- font-weight: 500;
17
- text-decoration: none;
18
- display: inline-flex;
19
- align-items: center;
20
- cursor: pointer;
21
- -webkit-tap-highlight-color: transparent; // Gets rid of tap active state
22
- white-space: nowrap;
23
- outline: 0;
24
- user-select: none;
25
- transition: background-color .2s ease-out;
14
+ .btn, .btn-floating, .btn-large, .btn-small, .btn-flat {
15
+ @include btn(
16
+ var(--btn-height),
17
+ var(--btn-border-radius),
18
+ var(--btn-padding),
19
+ var(--btn-padding),
20
+ var(--btn-font-size)
21
+ );
26
22
  }
27
23
 
28
24
  // Icon
@@ -54,31 +50,23 @@
54
50
  //------------------ Enabled
55
51
 
56
52
  .btn.filled {
57
- color: var(--md-sys-color-on-primary);
58
- background-color: var(--md-sys-color-primary);
53
+ @include btn-filled;
59
54
  }
60
55
 
61
56
  .btn.tonal {
62
- color: var(--md-sys-color-on-secondary-container);
63
- background-color: var(--md-sys-color-secondary-container);
57
+ @include btn-tonal;
64
58
  }
65
59
 
66
60
  .btn.elevated {
67
- color: var(--md-sys-color-on-secondary-container);
68
- background-color: var(--md-sys-color-secondary-container);
69
- @extend .z-depth-1;
61
+ @include btn-elevated;
70
62
  }
71
63
 
72
64
  .btn.outlined {
73
- background-color: transparent;
74
- color: var(--md-sys-color-primary);
75
- border: 1px solid var(--md-sys-color-outline);
65
+ @include btn-outlined;
76
66
  }
77
67
 
78
68
  .btn.text, .btn-flat {
79
- @extend .z-depth-0;
80
- color: var(--md-sys-color-primary);
81
- background-color: transparent;
69
+ @include btn-flat;
82
70
  }
83
71
 
84
72
  //------------------ Disabled
@@ -86,108 +74,37 @@
86
74
  .btn.disabled, .btn-floating.disabled, .btn-large.disabled, .btn-small.disabled, .btn-flat.disabled,
87
75
  .btn:disabled, .btn-floating:disabled, .btn-large:disabled, .btn-small:disabled, .btn-flat:disabled,
88
76
  .btn[disabled], .btn-floating[disabled], .btn-large[disabled], .btn-small[disabled], .btn-flat[disabled] {
89
- @extend .z-depth-0;
90
- color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 76%);
91
- background-color: color-mix(in srgb, transparent, var(--md-sys-color-on-surface) 24%);
92
- pointer-events: none;
93
- box-shadow: none;
94
- cursor: default;
77
+ @include btn-disabled();
95
78
  }
96
79
 
97
80
  //------------------ Hover
98
81
 
99
- .btn.elevated:hover {
100
- @extend .z-depth-2;
101
- color: var(--md-sys-color-primary);
102
- background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-on-secondary-container) 16%);
103
- }
104
-
105
- .btn.filled:hover {
106
- @extend .z-depth-1;
107
- color: var(--md-sys-color-on-primary);
108
- background-color: color-mix(in srgb, var(--md-sys-color-primary), var(--md-sys-color-on-primary) 16%);
109
- }
110
-
111
- .btn.tonal:hover {
112
- @extend .z-depth-1;
113
- color: var(--md-sys-color-on-secondary-container);
114
- background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-on-secondary-container) 16%);
115
- }
116
-
117
- .btn.outlined:hover {
118
- color: var(--md-sys-color-primary);
119
- background-color: color-mix(in srgb, transparent, var(--md-sys-color-primary) 16%);
120
- }
121
-
122
- .btn.text:hover {
123
- color: var(--md-sys-color-primary);
124
- background-color: color-mix(in srgb, var(--md-sys-color-primary) 16%, transparent);
125
- }
126
-
127
82
  //------------------ Focus
128
83
 
129
- .btn:focus.elevated {
130
- @extend .z-depth-1;
131
- color: var(--md-sys-color-primary);
132
- background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-primary) 20%);
133
- }
134
-
135
- .btn:focus.filled {
136
- @extend .z-depth-0;
137
- color: var(--md-sys-color-on-primary);
138
- background-color: color-mix(in srgb, var(--md-sys-color-primary), var(--md-sys-color-on-primary) 20%);
139
- }
140
-
141
- .btn:focus.tonal {
142
- @extend .z-depth-0;
143
- color: var(--md-sys-color-on-secondary-container);
144
- background-color: color-mix(in srgb, var(--md-sys-color-secondary-container), var(--md-sys-color-on-secondary-container) 20%);
145
- }
146
-
147
- .btn:focus.outlined {
148
- color: var(--md-sys-color-primary);
149
- background-color: color-mix(in srgb, transparent, var(--md-sys-color-primary) 20%);
150
- border: 1px solid var(--md-sys-color-primary);
151
- }
152
-
153
- .btn:focus.text {
154
- color: var(--md-sys-color-primary);
155
- background-color: color-mix(in srgb, transparent, var(--md-sys-color-primary) 20%);
156
- }
157
-
158
- // Focus with Keyboard
159
- .btn:focus-visible {
160
- &.filled,
161
- &.elevated,
162
- &.tonal,
163
- &.outlined,
164
- &.text {
165
- outline: 3px solid var(--md-sys-color-secondary);
166
- outline-offset: 2px;
167
- }
168
- }
169
-
170
- //----------
171
-
172
- // .btn-floating {
173
- // border-radius: 16px;
174
- // width: unset;
175
- // display: grid;
176
- // grid-auto-flow: column;
177
- // align-items: center;
178
- // padding: 16px !important;
179
- // padding-right: 24px !important; /* only with icon */
180
- // gap: 8px;
181
- // }
182
- // .btn-floating.btn-large {
183
- // width: unset;
184
- // }
185
- // .btn-large {
186
- // font-size: 14px;
187
- // }
188
- //-----
189
84
  // Floating button
190
85
  .btn-floating {
86
+ // FIXES
87
+ // width: unset;
88
+ // padding: 16px !important;
89
+ // padding-right: 24px !important; /* only with icon */
90
+ // gap: 8px;
91
+ width: $button-floating-size;
92
+ height: $button-floating-size;
93
+ color: var(--md-sys-color-on-primary-container);
94
+ background-color: var(--md-sys-color-primary-container);
95
+ border-radius: $button-floating-radius;
96
+ padding: 0;
97
+ display: grid;
98
+ grid-auto-flow: column;
99
+ align-items: center;
100
+ position: relative;
101
+ overflow: hidden;
102
+ z-index: 1;
103
+ @extend .z-depth-1;
104
+ transition: background-color .3s;
105
+ cursor: pointer;
106
+ vertical-align: middle;
107
+
191
108
  &:hover {
192
109
  @extend .z-depth-1-half;
193
110
  background-color: color-mix(in srgb, var(--md-sys-color-primary-container), var(--md-sys-color-on-primary-container) 16%);
@@ -203,13 +120,12 @@
203
120
  }
204
121
 
205
122
  &.btn-large {
206
- &.halfway-fab {
207
- bottom: -56px * 0.5;
208
- }
209
-
210
123
  width: 56px;
211
124
  height: 56px;
212
125
  padding: 0;
126
+ &.halfway-fab {
127
+ bottom: -56px * 0.5;
128
+ }
213
129
  // font-size:
214
130
  // i {
215
131
  // // line-height: 56px;
@@ -218,51 +134,28 @@
218
134
 
219
135
  &.btn-small {
220
136
  --btn-small-height: calc(0.75 * var(--btn-height));
137
+ width: var(--btn-small-height);
138
+ height: var(--btn-small-height);
221
139
 
222
140
  &.halfway-fab {
223
141
  bottom: calc(var(--btn-small-height) * -0.5);
224
142
  }
225
-
226
- width: var(--btn-small-height);
227
- height: var(--btn-small-height);
228
143
  // i {
229
144
  // line-height: $button-floating-small-size;
230
145
  // }
231
146
  }
232
147
 
233
148
  &.halfway-fab {
149
+ position: absolute;
150
+ right: 24px;
151
+ bottom: -$button-floating-size * 0.5;
152
+
234
153
  &.left {
235
154
  right: auto;
236
155
  left: 24px;
237
156
  }
238
-
239
- position: absolute;
240
- right: 24px;
241
- bottom: -$button-floating-size * 0.5;
242
157
  }
243
158
 
244
- // FIXES
245
- // width: unset;
246
- // padding: 16px !important;
247
- // padding-right: 24px !important; /* only with icon */
248
- // gap: 8px;
249
- width: $button-floating-size;
250
- height: $button-floating-size;
251
- color: var(--md-sys-color-on-primary-container);
252
- background-color: var(--md-sys-color-primary-container);
253
- border-radius: $button-floating-radius;
254
- padding: 0;
255
- display: grid;
256
- grid-auto-flow: column;
257
- align-items: center;
258
- position: relative;
259
- overflow: hidden;
260
- z-index: 1;
261
- @extend .z-depth-1;
262
- transition: background-color .3s;
263
- cursor: pointer;
264
- vertical-align: middle;
265
-
266
159
  i {
267
160
  color: $button-floating-color;
268
161
  font-size: 1.6rem;
@@ -279,6 +172,13 @@ button.btn-floating {
279
172
 
280
173
  // Fixed Action Button
281
174
  .fixed-action-btn {
175
+ position: fixed;
176
+ right: 23px;
177
+ bottom: 23px;
178
+ padding-top: 15px;
179
+ margin-bottom: 0;
180
+ z-index: 997;
181
+
282
182
  &.active {
283
183
  ul {
284
184
  visibility: visible;
@@ -340,15 +240,15 @@ button.btn-floating {
340
240
  }
341
241
 
342
242
  &.toolbar {
243
+ padding: 0;
244
+ height: 56px;
245
+
343
246
  &.active {
344
247
  & > a i {
345
248
  opacity: 0;
346
249
  }
347
250
  }
348
251
 
349
- padding: 0;
350
- height: 56px;
351
-
352
252
  ul {
353
253
  display: flex;
354
254
  top: 0;
@@ -382,13 +282,6 @@ button.btn-floating {
382
282
  }
383
283
  }
384
284
 
385
- position: fixed;
386
- right: 23px;
387
- bottom: 23px;
388
- padding-top: 15px;
389
- margin-bottom: 0;
390
- z-index: 997;
391
-
392
285
  ul {
393
286
  left: 0;
394
287
  right: 0;
@@ -1,3 +1,6 @@
1
+ @use './variables' as *;
2
+ @use './mixins.module.scss' as *;
3
+
1
4
  .card-panel {
2
5
  transition: box-shadow .25s;
3
6
  padding: 24px;
@@ -8,10 +11,11 @@
8
11
  }
9
12
 
10
13
  .card {
11
- overflow: hidden;
14
+ --background-color: color-mix(in srgb, var(--md-sys-color-surface), var(--md-sys-color-surface-tint) 17%);
15
+
12
16
  position: relative;
13
17
  //margin: $element-top-margin 0 $element-bottom-margin 0;
14
- background-color: var(--md-sys-color-surface);
18
+ background-color: var(--background-color);
15
19
  transition: box-shadow .25s;
16
20
  border-radius: 12px;
17
21
  @extend .z-depth-1;
@@ -61,6 +65,8 @@
61
65
 
62
66
  // Horizontal Cards
63
67
  &.horizontal {
68
+ display: flex;
69
+
64
70
  &.small, &.medium, &.large {
65
71
  .card-image {
66
72
  height: 100%;
@@ -73,8 +79,6 @@
73
79
  }
74
80
  }
75
81
 
76
- display: flex;
77
-
78
82
  .card-image {
79
83
  max-width: 50%;
80
84
 
@@ -141,6 +145,10 @@
141
145
  bottom: 0;
142
146
  cursor: pointer;
143
147
  }
148
+
149
+ img.activator {
150
+ position: relative;
151
+ }
144
152
  }
145
153
 
146
154
  .card-content {
@@ -167,25 +175,36 @@
167
175
  }
168
176
 
169
177
  .card-action {
178
+ padding: 0 1.6rem;
179
+
170
180
  &:last-child {
171
181
  border-radius: 0 0 2px 2px;
172
182
  }
173
-
174
- border-top: 1px solid var(--md-sys-color-outline-variant);
175
- position: relative;
176
- background-color: inherit;
177
-
183
+ // Replaced card links with buttons (Accessibility, @see https://github.com/materializecss/materialize/issues/565)
178
184
  a {
179
- padding: 16px 24px;
180
- display: inline-block;
181
- }
185
+ @include btn(
186
+ var(--btn-height),
187
+ var(--btn-border-radius),
188
+ var(--btn-padding),
189
+ var(--btn-padding),
190
+ var(--btn-font-size)
191
+ );
192
+
193
+ &:first-child {
194
+ margin-left: -1.6rem;
195
+ }
182
196
 
183
- a:not(.btn):not(.btn-large):not(.btn-floating) {
184
- color: var(--md-sys-color-primary);
185
- transition: color .3s ease;
197
+ &:last-child {
198
+ margin-right: -1.6rem;
199
+ }
200
+ }
186
201
 
187
- &:hover {
188
- background-color: rgba(var(--md-sys-color-primary-numeric), 0.06);
202
+ .btn {
203
+ &.filled,
204
+ &.tonal,
205
+ &.elevated,
206
+ &.outlined {
207
+ margin: 0 .26rem 1.6rem 0;
189
208
  }
190
209
  }
191
210
  }
@@ -1,20 +1,28 @@
1
1
  .carousel {
2
2
  --carousel-height: 400px;
3
3
 
4
+ overflow: hidden;
5
+ position: relative;
6
+ width: 100%;
7
+ height: var(--carousel-height);
8
+ perspective: 500px;
9
+ transform-style: preserve-3d;
10
+ transform-origin: 0% 50%;
11
+
4
12
  &.carousel-slider {
5
13
  top: 0;
6
14
  left: 0;
7
15
 
8
16
  .carousel-fixed-item {
9
- &.with-indicators {
10
- bottom: 68px;
11
- }
12
-
13
17
  position: absolute;
14
18
  left: 0;
15
19
  right: 0;
16
20
  bottom: 20px;
17
21
  z-index: 1;
22
+
23
+ &.with-indicators {
24
+ bottom: 68px;
25
+ }
18
26
  }
19
27
 
20
28
  .carousel-item {
@@ -37,14 +45,6 @@
37
45
  }
38
46
  }
39
47
 
40
- overflow: hidden;
41
- position: relative;
42
- width: 100%;
43
- height: var(--carousel-height);
44
- perspective: 500px;
45
- transform-style: preserve-3d;
46
- transform-origin: 0% 50%;
47
-
48
48
  .carousel-item {
49
49
  visibility: hidden;
50
50
  width: calc(var(--carousel-height) * 0.5);
@@ -61,7 +61,6 @@
61
61
  .indicators {
62
62
  padding-left: 0;
63
63
  list-style-type: none;
64
-
65
64
  position: absolute;
66
65
  text-align: center;
67
66
  left: 0;
@@ -70,10 +69,6 @@
70
69
  margin: 0;
71
70
 
72
71
  .indicator-item {
73
- &.active {
74
- background-color: var(--md-ref-palette-primary100);
75
- }
76
-
77
72
  display: inline-block;
78
73
  position: relative;
79
74
  cursor: pointer;
@@ -81,9 +76,12 @@
81
76
  width: 8px;
82
77
  margin: 24px 4px;
83
78
  background-color: rgba(255, 255, 255, 0.45);
84
-
85
79
  transition: background-color .3s;
86
80
  border-radius: 50%;
81
+
82
+ &.active {
83
+ background-color: var(--md-ref-palette-primary100);
84
+ }
87
85
  }
88
86
  }
89
87
 
@@ -1,3 +1,5 @@
1
+ @use './colors.module.scss' as *;
2
+
1
3
  .chip {
2
4
  --font-size: 14px;
3
5
  --font-size-icon: 18px;
@@ -5,22 +7,16 @@
5
7
 
6
8
  color: var(--md-sys-color-on-surface-variant);
7
9
  background-color: rgba(0, 0, 0, 0.09);
8
-
9
10
  display: inline-flex;
10
11
  white-space: nowrap;
11
12
  gap: 8px;
12
-
13
13
  margin: 0;
14
14
  height: 32px;
15
-
16
15
  padding-left: var(--padding);
17
- padding-right: var(--padding);
18
-
16
+ padding-right: var(--padding);
19
17
  font-size: var(--font-size);
20
- font-weight: 500;
21
-
18
+ font-weight: 500;
22
19
  border-radius: 8px;
23
-
24
20
  align-items: center;
25
21
  user-select: none;
26
22
  vertical-align: top;
@@ -73,14 +69,11 @@
73
69
  display: flex;
74
70
  gap: 4px;
75
71
  flex-wrap: wrap;
76
-
77
72
  border: none;
78
73
  box-shadow: none;
79
74
  margin: 0 0 8px 0;
80
-
81
75
  padding: 4px;
82
76
  // min-height: 45px;
83
-
84
77
  outline: none;
85
78
  transition: all .3s;
86
79
 
@@ -103,11 +96,9 @@
103
96
  color: var(--md-sys-color-on-background);
104
97
  display: inline-block;
105
98
  font-size: 16px;
106
-
107
99
  // height: 32px;
108
100
  // line-height: 32px;
109
101
  height: 32px;
110
-
111
102
  outline: 0;
112
103
  margin: 0;
113
104
  padding: 0;
@@ -116,7 +107,6 @@
116
107
  min-width: 100px;
117
108
  max-width: 200px;
118
109
 
119
-
120
110
  &:focus {
121
111
  border: 0;
122
112
  box-shadow: none;
@@ -136,12 +126,14 @@
136
126
  width: 92%;
137
127
  width: calc(100% - 3rem);
138
128
  }
129
+
139
130
  // Form suffix
140
131
  .suffix ~ .chips {
141
132
  margin-right: 3rem;
142
133
  width: 92%;
143
134
  width: calc(100% - 3rem);
144
135
  }
136
+
145
137
  .chips:empty ~ label {
146
138
  font-size: 0.8rem;
147
139
  transform: translateY(-140%);
@@ -1,7 +1,10 @@
1
+ @use './variables' as *;
2
+ @use './colors.module.scss' as *;
3
+ @use './global' as *;
4
+
1
5
  .collapsible {
2
6
  padding-left: 0;
3
7
  list-style-type: none;
4
-
5
8
  border-top: 1px solid var(--md-sys-color-outline-variant);
6
9
  border-right: 1px solid var(--md-sys-color-outline-variant);
7
10
  border-left: 1px solid var(--md-sys-color-outline-variant);
@@ -10,10 +13,6 @@
10
13
  }
11
14
 
12
15
  .collapsible-header {
13
- &:focus {
14
- outline: 0
15
- }
16
-
17
16
  display: flex;
18
17
  cursor: pointer;
19
18
  -webkit-tap-highlight-color: transparent;
@@ -21,6 +20,10 @@
21
20
  padding: 1rem;
22
21
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
23
22
 
23
+ &:focus {
24
+ outline: 0
25
+ }
26
+
24
27
  i {
25
28
  width: 2rem;
26
29
  font-size: 1.6rem;