@inglorious/ui 9.7.3 → 9.8.1

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 (104) hide show
  1. package/package.json +5 -5
  2. package/src/controls/button/style.css +0 -2
  3. package/src/controls/button/template.js +2 -3
  4. package/src/controls/checkbox/style.css +0 -1
  5. package/src/controls/checkbox/template.js +0 -2
  6. package/src/controls/combobox/style.css +0 -14
  7. package/src/controls/combobox/template.js +0 -13
  8. package/src/controls/file-upload/template.js +1 -1
  9. package/src/controls/image-cropper/helpers.js +0 -2
  10. package/src/controls/image-cropper/image.js +0 -2
  11. package/src/controls/image-cropper/style.css +0 -6
  12. package/src/controls/image-cropper/template.js +3 -5
  13. package/src/controls/input/style.css +0 -1
  14. package/src/controls/radio-group/style.css +0 -2
  15. package/src/controls/rating/style.css +0 -3
  16. package/src/controls/select/style.css +0 -6
  17. package/src/controls/slider/style.css +0 -5
  18. package/src/controls/slider/template.js +0 -1
  19. package/src/controls/switch/style.css +0 -1
  20. package/src/controls/switch/template.js +0 -2
  21. package/src/controls/textarea/style.css +0 -2
  22. package/src/data-display/before-after/style.css +0 -4
  23. package/src/data-display/before-after/template.js +3 -3
  24. package/src/data-display/carousel/carousel.stories.js +0 -2
  25. package/src/data-display/carousel/handlers.js +0 -2
  26. package/src/data-display/carousel/style.css +0 -18
  27. package/src/data-display/carousel/template.js +0 -15
  28. package/src/data-display/chat/index.js +0 -1
  29. package/src/data-display/chat/style.css +0 -2
  30. package/src/data-display/chat/template.js +0 -1
  31. package/src/data-display/chip/template.js +0 -1
  32. package/src/data-display/data-grid/base.css +0 -2
  33. package/src/data-display/data-grid/handlers.js +1 -8
  34. package/src/data-display/data-grid/helpers.js +0 -5
  35. package/src/data-display/data-grid/template.js +0 -1
  36. package/src/data-display/data-grid/theme.css +0 -1
  37. package/src/data-display/icon/style.css +0 -7
  38. package/src/data-display/icon/template.js +2 -2
  39. package/src/data-display/table/style.css +0 -2
  40. package/src/data-display/tooltip/style.css +0 -3
  41. package/src/data-display/virtual-list/handlers.js +0 -2
  42. package/src/data-display/virtual-list/template.js +2 -4
  43. package/src/examples/dashboard/before-after-data.js +0 -3
  44. package/src/examples/dashboard/data.js +0 -1
  45. package/src/examples/dashboard/primitive-content.js +0 -2
  46. package/src/examples/dashboard/style.css +0 -3
  47. package/src/feedback/alert/style.css +0 -1
  48. package/src/feedback/dialog/dialog.stories.js +7 -2
  49. package/src/feedback/dialog/style.css +31 -18
  50. package/src/feedback/dialog/template.js +16 -16
  51. package/src/feedback/progress/style.css +0 -6
  52. package/src/feedback/progress/template.js +0 -3
  53. package/src/feedback/snackbar/snackbar.stories.js +0 -1
  54. package/src/feedback/snackbar/style.css +0 -10
  55. package/src/layout/flex/style.css +0 -2
  56. package/src/navigation/bottom-navigation/style.css +0 -7
  57. package/src/navigation/drawer/style.css +0 -21
  58. package/src/navigation/drawer/template.js +10 -9
  59. package/src/navigation/menu/menu.stories.js +0 -2
  60. package/src/navigation/menu/style.css +0 -4
  61. package/src/navigation/menu/template.js +0 -3
  62. package/src/navigation/speed-dial/style.css +0 -4
  63. package/src/navigation/speed-dial/template.js +0 -5
  64. package/src/navigation/tabs/template.js +0 -2
  65. package/src/navigation/view-transitions/index.js +0 -13
  66. package/src/navigation/view-transitions/style.css +0 -2
  67. package/src/shared/icons.js +0 -4
  68. package/src/styles/themes/bootstrap.css +0 -40
  69. package/src/styles/themes/inglorious.css +0 -21
  70. package/src/styles/themes/ios-18.css +0 -47
  71. package/src/styles/themes/ios-26.css +0 -55
  72. package/src/styles/themes/material-3.css +0 -52
  73. package/src/styles/themes/material-ui.css +0 -43
  74. package/src/styles/tokens.css +0 -40
  75. package/src/surfaces/accordion/style.css +0 -2
  76. package/src/surfaces/accordion/template.js +0 -4
  77. package/src/surfaces/app-bar/style.css +0 -3
  78. package/src/surfaces/card/style.css +0 -3
  79. package/types/controls/button-group.d.ts +5 -3
  80. package/types/controls/button.d.ts +3 -1
  81. package/types/controls/combobox.d.ts +13 -0
  82. package/types/controls/fab.d.ts +1 -1
  83. package/types/controls/icon-button.d.ts +7 -21
  84. package/types/controls/input.d.ts +2 -2
  85. package/types/data-display/avatar.d.ts +1 -1
  86. package/types/data-display/badge.d.ts +4 -2
  87. package/types/data-display/chip.d.ts +5 -3
  88. package/types/data-display/icon.d.ts +4 -2
  89. package/types/data-display/tooltip.d.ts +4 -2
  90. package/types/data-display/typography.d.ts +3 -1
  91. package/types/feedback/alert.d.ts +3 -1
  92. package/types/feedback/backdrop.d.ts +4 -2
  93. package/types/feedback/dialog.d.ts +11 -1
  94. package/types/index.d.ts +1 -0
  95. package/types/layout/container.d.ts +3 -1
  96. package/types/layout/flex.d.ts +9 -11
  97. package/types/layout/grid.d.ts +4 -2
  98. package/types/navigation/breadcrumbs.d.ts +1 -1
  99. package/types/navigation/drawer.d.ts +9 -1
  100. package/types/navigation/link.d.ts +4 -2
  101. package/types/shared/renderable.d.ts +12 -0
  102. package/types/surfaces/app-bar.d.ts +3 -1
  103. package/types/surfaces/card.d.ts +4 -2
  104. package/types/surfaces/paper.d.ts +3 -1
@@ -1,34 +1,23 @@
1
- /* San Francisco is the system font on Apple devices, and cannot be served to
2
- others: Inter stands in for it there. */
3
1
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
4
2
 
5
3
  .iw-theme-ios-18 {
6
4
  --iw-font-family-sans:
7
5
  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue",
8
6
  Arial, sans-serif;
9
- /* The theme on the page itself: the element with the theme class, usually
10
- <body>, takes its background, text color and font. */
11
7
  background-color: var(--iw-color-bg);
12
8
  color: var(--iw-color-text);
13
9
  font-family: var(--iw-font-family-sans);
14
10
 
15
- /* ========================================
16
- iOS 18 THEME - The flat iOS, 7 to 18
17
- ======================================== */
18
-
19
- /* iOS color roles the shared tokens have no name for */
20
11
  --iw-ios-fill: rgba(118, 118, 128, 0.12);
21
12
  --iw-ios-fill-secondary: rgba(120, 120, 128, 0.2);
22
13
  --iw-ios-fill-quaternary: rgba(116, 116, 128, 0.08);
23
14
  --iw-ios-gray: #8e8e93;
24
15
  --iw-ios-tab-inactive: #999999;
25
16
  --iw-ios-segment-selected: var(--iw-color-white);
26
- /* Bars and menus: translucent, blurring what passes under them */
27
17
  --iw-ios-bar-bg: rgba(249, 249, 249, 0.94);
28
18
  --iw-ios-material: rgba(242, 242, 242, 0.8);
29
19
  --iw-ios-blur: blur(20px) saturate(180%);
30
20
 
31
- /* Semantic Colors: grouped content, white on grey */
32
21
  --iw-color-bg: #f2f2f7;
33
22
  --iw-color-bg-secondary: #f2f2f7;
34
23
  --iw-color-bg-tertiary: #e5e5ea;
@@ -68,8 +57,6 @@
68
57
  --iw-radius-xl: 14px;
69
58
  --iw-radius-2xl: 20px;
70
59
 
71
- /* The Dynamic Type scale at its default size: footnote, subheadline,
72
- body, title 3, title 2, title 1 and large title */
73
60
  --iw-font-size-xs: 0.8125rem;
74
61
  --iw-font-size-sm: 0.9375rem;
75
62
  --iw-font-size-base: 1.0625rem;
@@ -78,11 +65,6 @@
78
65
  --iw-font-size-2xl: 1.75rem;
79
66
  --iw-font-size-3xl: 2.125rem;
80
67
 
81
- /* ========================================
82
- COMPONENT TOKENS
83
- ======================================== */
84
-
85
- /* Button: filled */
86
68
  --iw-button-bg: var(--iw-color-primary);
87
69
  --iw-button-bg-hover: var(--iw-color-primary-hover);
88
70
  --iw-button-bg-active: var(--iw-color-primary);
@@ -93,7 +75,6 @@
93
75
  --iw-button-shadow-hover: none;
94
76
  --iw-button-shadow-active: none;
95
77
 
96
- /* A button's default color is a gray button, with a tinted label */
97
78
  --iw-button-default-color: var(--iw-color-primary);
98
79
  --iw-button-default-bg: var(--iw-ios-fill);
99
80
  --iw-button-default-bg-hover: var(--iw-ios-fill-secondary);
@@ -101,7 +82,6 @@
101
82
  --iw-button-default-border: transparent;
102
83
  --iw-button-default-text: var(--iw-color-primary);
103
84
 
104
- /* Input: a filled, borderless field */
105
85
  --iw-input-bg: var(--iw-ios-fill);
106
86
  --iw-input-bg-hover: var(--iw-ios-fill);
107
87
  --iw-input-bg-focus: var(--iw-ios-fill);
@@ -114,26 +94,20 @@
114
94
  --iw-input-shadow-focus: 0 0 0 3px
115
95
  color-mix(in srgb, var(--iw-color-primary) 35%, transparent);
116
96
 
117
- /* App bar: a navigation bar */
118
97
  --iw-app-bar-bg: var(--iw-ios-bar-bg);
119
98
 
120
- /* Drawer: a sidebar */
121
99
  --iw-drawer-bg: var(--iw-color-bg);
122
100
 
123
- /* Card: an inset grouped section */
124
101
  --iw-card-bg: var(--iw-color-surface);
125
102
  --iw-card-border: transparent;
126
103
  --iw-card-radius: var(--iw-radius-lg);
127
104
  --iw-card-shadow: none;
128
105
  --iw-card-shadow-hover: var(--iw-shadow-md);
129
106
 
130
- /* Badge */
131
107
  --iw-badge-radius: var(--iw-radius-full);
132
108
 
133
- /* Chip: a gray capsule */
134
109
  --iw-chip-bg: var(--iw-ios-fill);
135
110
 
136
- /* List */
137
111
  --iw-list-item: transparent;
138
112
  --iw-list-item-active: var(--iw-color-surface-active);
139
113
  --iw-list-item-selected: color-mix(
@@ -142,18 +116,15 @@
142
116
  transparent
143
117
  );
144
118
 
145
- /* Progress: a thin bar */
146
119
  --iw-progress-height: 4px;
147
120
  --iw-progress-radius: var(--iw-radius-full);
148
121
  --iw-progress-track-color: var(--iw-ios-fill-secondary);
149
122
 
150
- /* Alert */
151
123
  --iw-alert-radius: var(--iw-radius-lg);
152
124
  --iw-alert-shadow: none;
153
125
  color-scheme: light;
154
126
  }
155
127
 
156
- /* Dark variant */
157
128
  .iw-theme-ios-18.iw-theme-dark {
158
129
  color-scheme: dark;
159
130
 
@@ -195,7 +166,6 @@
195
166
  }
196
167
 
197
168
  .iw-theme-ios-18 {
198
- /* Buttons: filled, gray, tinted and plain. Pressing one dims it */
199
169
  .iw-button {
200
170
  padding: 7px 14px;
201
171
  font-size: var(--iw-font-size-base);
@@ -263,7 +233,6 @@
263
233
  outline-offset: 1px;
264
234
  }
265
235
 
266
- /* Outlined buttons are tinted: iOS draws no outlines */
267
236
  &.iw-button-outline {
268
237
  border-color: transparent;
269
238
  background-color: color-mix(
@@ -285,7 +254,6 @@
285
254
  }
286
255
  }
287
256
 
288
- /* Ghost buttons are plain */
289
257
  &.iw-button-ghost {
290
258
  &:hover:not(:disabled),
291
259
  &:active:not(:disabled),
@@ -307,8 +275,6 @@
307
275
  }
308
276
  }
309
277
 
310
- /* Form fields: labels and notes in the footnote style around a filled
311
- field */
312
278
  .iw-input,
313
279
  .iw-select,
314
280
  .iw-textarea-field {
@@ -333,7 +299,6 @@
333
299
  }
334
300
  }
335
301
 
336
- /* Switch: the 51 by 31 point switch, green when on */
337
302
  .iw-switch:not(
338
303
  .iw-switch-secondary,
339
304
  .iw-switch-success,
@@ -406,7 +371,6 @@
406
371
  }
407
372
  }
408
373
 
409
- /* Tabs: a segmented control, its segments equally wide */
410
374
  .iw-tabs-list {
411
375
  display: inline-grid;
412
376
  grid-auto-flow: column;
@@ -449,7 +413,6 @@
449
413
  0 3px 1px rgba(0, 0, 0, 0.04);
450
414
  }
451
415
 
452
- /* Chips: capsules, filled with the tint when selected */
453
416
  .iw-chip {
454
417
  padding: 5px 12px;
455
418
  font-size: var(--iw-font-size-sm);
@@ -468,7 +431,6 @@
468
431
  font-weight: var(--iw-font-weight-semibold);
469
432
  }
470
433
 
471
- /* Cards: inset grouped sections, the footer ruled off below */
472
434
  .iw-card-header {
473
435
  border: 0 none;
474
436
  }
@@ -487,7 +449,6 @@
487
449
  font-size: var(--iw-font-size-sm);
488
450
  }
489
451
 
490
- /* Alerts: tinted, borderless boxes */
491
452
  .iw-alert {
492
453
  padding: 12px 16px;
493
454
 
@@ -519,7 +480,6 @@
519
480
  }
520
481
  }
521
482
 
522
- /* Tables: a plain list, with headers in the classic section style */
523
483
  .iw-table {
524
484
  border: 0 none;
525
485
  }
@@ -537,8 +497,6 @@
537
497
  color: var(--iw-color-text-secondary);
538
498
  }
539
499
 
540
- /* Dialogs: alerts, centered on a translucent material, with their actions
541
- as a row of text buttons under a hairline */
542
500
  .iw-dialog {
543
501
  border: 0 none;
544
502
  border-radius: var(--iw-radius-xl);
@@ -607,7 +565,6 @@
607
565
  background-color: var(--iw-ios-fill-quaternary);
608
566
  }
609
567
 
610
- /* The preferred action is the filled one, and stands out in bold */
611
568
  &:not(.iw-button-outline, .iw-button-ghost) {
612
569
  font-weight: var(--iw-font-weight-semibold);
613
570
  }
@@ -617,7 +574,6 @@
617
574
  }
618
575
  }
619
576
 
620
- /* Menus and snackbars: on the translucent material */
621
577
  .iw-menu {
622
578
  min-width: 15rem;
623
579
  padding: 0;
@@ -658,8 +614,6 @@
658
614
  color: var(--iw-color-text);
659
615
  }
660
616
 
661
- /* App bars: translucent navigation bars over a hairline. A prominent one
662
- has a large title */
663
617
  .iw-app-bar {
664
618
  backdrop-filter: var(--iw-ios-blur);
665
619
  }
@@ -683,7 +637,6 @@
683
637
  line-height: 2.5625rem;
684
638
  }
685
639
 
686
- /* Bottom navigation: a tab bar */
687
640
  .iw-bottom-navigation {
688
641
  gap: 0;
689
642
  padding: 0;
@@ -1,39 +1,25 @@
1
- /* San Francisco is the system font on Apple devices, and cannot be served to
2
- others: Inter stands in for it there. */
3
1
  @import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
4
2
 
5
3
  .iw-theme-ios-26 {
6
4
  --iw-font-family-sans:
7
5
  -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue",
8
6
  Arial, sans-serif;
9
- /* The theme on the page itself: the element with the theme class, usually
10
- <body>, takes its background, text color and font. */
11
7
  background-color: var(--iw-color-bg);
12
8
  color: var(--iw-color-text);
13
9
  font-family: var(--iw-font-family-sans);
14
10
 
15
- /* ========================================
16
- iOS 26 THEME - Liquid Glass
17
- ======================================== */
18
-
19
- /* iOS color roles the shared tokens have no name for */
20
11
  --iw-ios-fill: rgba(118, 118, 128, 0.12);
21
12
  --iw-ios-fill-secondary: rgba(120, 120, 128, 0.2);
22
13
  --iw-ios-fill-quaternary: rgba(116, 116, 128, 0.08);
23
14
  --iw-ios-gray: #8e8e93;
24
15
  --iw-ios-segment-selected: var(--iw-color-white);
25
- /* Glass: what passes under it is blurred and brightened, its edge catches
26
- the light, and it floats on a soft shadow. Only controls and navigation
27
- are glass, never content. */
28
16
  --iw-ios-glass-bg: rgba(255, 255, 255, 0.6);
29
17
  --iw-ios-glass-blur: blur(12px) saturate(180%);
30
18
  --iw-ios-glass-border: rgba(255, 255, 255, 0.7);
31
19
  --iw-ios-glass-shadow:
32
20
  inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(0, 0, 0, 0.1);
33
- /* The highlight along the top of a filled control */
34
21
  --iw-ios-sheen: inset 0 1px 0 rgba(255, 255, 255, 0.3);
35
22
 
36
- /* Semantic Colors: grouped content, white on grey */
37
23
  --iw-color-bg: #f2f2f7;
38
24
  --iw-color-bg-secondary: #f2f2f7;
39
25
  --iw-color-bg-tertiary: #e5e5ea;
@@ -48,7 +34,6 @@
48
34
  --iw-color-border: #c6c6c8;
49
35
  --iw-color-border-focus: #0088ff;
50
36
 
51
- /* The system colors as iOS 26 retuned them */
52
37
  --iw-color-primary: #0088ff;
53
38
  --iw-color-primary-hover: color-mix(in srgb, #0088ff 92%, #000000);
54
39
  --iw-color-primary-active: color-mix(in srgb, #0088ff 85%, #000000);
@@ -68,15 +53,12 @@
68
53
  --iw-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.14);
69
54
  --iw-shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.2);
70
55
 
71
- /* Larger corners, nested concentrically */
72
56
  --iw-radius-sm: 8px;
73
57
  --iw-radius-md: 12px;
74
58
  --iw-radius-lg: 16px;
75
59
  --iw-radius-xl: 24px;
76
60
  --iw-radius-2xl: 34px;
77
61
 
78
- /* The Dynamic Type scale at its default size: footnote, subheadline,
79
- body, title 3, title 2, title 1 and large title */
80
62
  --iw-font-size-xs: 0.8125rem;
81
63
  --iw-font-size-sm: 0.9375rem;
82
64
  --iw-font-size-base: 1.0625rem;
@@ -87,11 +69,6 @@
87
69
 
88
70
  --iw-label-font-weight: var(--iw-font-weight-medium);
89
71
 
90
- /* ========================================
91
- COMPONENT TOKENS
92
- ======================================== */
93
-
94
- /* Button: a filled capsule */
95
72
  --iw-button-bg: var(--iw-color-primary);
96
73
  --iw-button-bg-hover: var(--iw-color-primary-hover);
97
74
  --iw-button-bg-active: var(--iw-color-primary);
@@ -102,8 +79,6 @@
102
79
  --iw-button-shadow-hover: var(--iw-ios-sheen);
103
80
  --iw-button-shadow-active: var(--iw-ios-sheen);
104
81
 
105
- /* A button's default color is a glass button, labelled in the text color;
106
- its outlined and ghost forms take the tint */
107
82
  --iw-button-default-color: var(--iw-color-primary);
108
83
  --iw-button-default-bg: var(--iw-ios-glass-bg);
109
84
  --iw-button-default-bg-hover: var(--iw-ios-glass-bg);
@@ -111,7 +86,6 @@
111
86
  --iw-button-default-border: var(--iw-ios-glass-border);
112
87
  --iw-button-default-text: var(--iw-color-text);
113
88
 
114
- /* Input: a filled, borderless field */
115
89
  --iw-input-bg: var(--iw-ios-fill);
116
90
  --iw-input-bg-hover: var(--iw-ios-fill);
117
91
  --iw-input-bg-focus: var(--iw-ios-fill);
@@ -124,26 +98,20 @@
124
98
  --iw-input-shadow-focus: 0 0 0 3px
125
99
  color-mix(in srgb, var(--iw-color-primary) 35%, transparent);
126
100
 
127
- /* App bar: the content shows through, blurred, under the title */
128
101
  --iw-app-bar-bg: color-mix(in srgb, var(--iw-color-bg) 72%, transparent);
129
102
 
130
- /* Drawer: a sidebar */
131
103
  --iw-drawer-bg: var(--iw-color-bg);
132
104
 
133
- /* Card: an inset grouped section, with the larger corners */
134
105
  --iw-card-bg: var(--iw-color-surface);
135
106
  --iw-card-border: transparent;
136
107
  --iw-card-radius: var(--iw-radius-xl);
137
108
  --iw-card-shadow: none;
138
109
  --iw-card-shadow-hover: var(--iw-shadow-md);
139
110
 
140
- /* Badge */
141
111
  --iw-badge-radius: var(--iw-radius-full);
142
112
 
143
- /* Chip: a gray capsule */
144
113
  --iw-chip-bg: var(--iw-ios-fill);
145
114
 
146
- /* List */
147
115
  --iw-list-item: transparent;
148
116
  --iw-list-item-active: var(--iw-color-surface-active);
149
117
  --iw-list-item-selected: color-mix(
@@ -152,18 +120,15 @@
152
120
  transparent
153
121
  );
154
122
 
155
- /* Progress: a thin bar */
156
123
  --iw-progress-height: 4px;
157
124
  --iw-progress-radius: var(--iw-radius-full);
158
125
  --iw-progress-track-color: var(--iw-ios-fill-secondary);
159
126
 
160
- /* Alert */
161
127
  --iw-alert-radius: var(--iw-radius-lg);
162
128
  --iw-alert-shadow: none;
163
129
  color-scheme: light;
164
130
  }
165
131
 
166
- /* Dark variant */
167
132
  .iw-theme-ios-26.iw-theme-dark {
168
133
  color-scheme: dark;
169
134
 
@@ -207,8 +172,6 @@
207
172
  }
208
173
 
209
174
  .iw-theme-ios-26 {
210
- /* Buttons: capsules, filled, glass, tinted and plain. Pressing one
211
- brightens it */
212
175
  .iw-button {
213
176
  padding: 7px 16px;
214
177
  font-size: var(--iw-font-size-base);
@@ -278,7 +241,6 @@
278
241
  outline-offset: 2px;
279
242
  }
280
243
 
281
- /* Outlined buttons are tinted: iOS draws no outlines */
282
244
  &.iw-button-outline {
283
245
  border-color: transparent;
284
246
  background-color: color-mix(
@@ -301,7 +263,6 @@
301
263
  }
302
264
  }
303
265
 
304
- /* Ghost buttons are plain */
305
266
  &.iw-button-ghost {
306
267
  backdrop-filter: none;
307
268
 
@@ -327,8 +288,6 @@
327
288
  }
328
289
  }
329
290
 
330
- /* Form fields: labels and notes in the footnote style around a filled
331
- field */
332
291
  .iw-input,
333
292
  .iw-select,
334
293
  .iw-textarea-field {
@@ -358,7 +317,6 @@
358
317
  }
359
318
  }
360
319
 
361
- /* Switch: a wide, low track with a capsule for a thumb, green when on */
362
320
  .iw-switch:not(
363
321
  .iw-switch-secondary,
364
322
  .iw-switch-success,
@@ -432,7 +390,6 @@
432
390
  }
433
391
  }
434
392
 
435
- /* Tabs: a segmented control in a capsule, its segments equally wide */
436
393
  .iw-tabs-list {
437
394
  display: inline-grid;
438
395
  grid-auto-flow: column;
@@ -474,7 +431,6 @@
474
431
  0 3px 1px rgba(0, 0, 0, 0.04);
475
432
  }
476
433
 
477
- /* Chips: capsules, filled with the tint when selected */
478
434
  .iw-chip {
479
435
  padding: 6px 12px;
480
436
  font-size: var(--iw-font-size-sm);
@@ -493,7 +449,6 @@
493
449
  font-weight: var(--iw-font-weight-semibold);
494
450
  }
495
451
 
496
- /* Cards: inset grouped sections, the footer ruled off below */
497
452
  .iw-card-header {
498
453
  border: 0 none;
499
454
  }
@@ -512,7 +467,6 @@
512
467
  font-size: var(--iw-font-size-sm);
513
468
  }
514
469
 
515
- /* Alerts: tinted, borderless boxes */
516
470
  .iw-alert {
517
471
  padding: 14px 16px;
518
472
 
@@ -543,7 +497,6 @@
543
497
  }
544
498
  }
545
499
 
546
- /* Tables: a plain list */
547
500
  .iw-table {
548
501
  border: 0 none;
549
502
  }
@@ -560,8 +513,6 @@
560
513
  color: var(--iw-color-text-secondary);
561
514
  }
562
515
 
563
- /* Dialogs: alerts on glass, their text aligned to the start and their
564
- actions a row of capsules */
565
516
  .iw-dialog {
566
517
  border: 1px solid var(--iw-ios-glass-border);
567
518
  border-radius: var(--iw-radius-2xl);
@@ -604,7 +555,6 @@
604
555
  flex: 1;
605
556
  padding-block: 13px;
606
557
 
607
- /* Actions that are not the preferred one sit on a gray capsule */
608
558
  &.iw-button-outline,
609
559
  &.iw-button-ghost,
610
560
  &.iw-button-default {
@@ -635,7 +585,6 @@
635
585
  }
636
586
  }
637
587
 
638
- /* Menus, tooltips and snackbars float on glass */
639
588
  .iw-menu {
640
589
  min-width: 15rem;
641
590
  padding: 6px;
@@ -678,8 +627,6 @@
678
627
  color: var(--iw-color-text);
679
628
  }
680
629
 
681
- /* App bars: no bar at all, just a blur where the content passes under the
682
- title. A prominent one has a large title */
683
630
  .iw-app-bar {
684
631
  border-bottom: 0 none;
685
632
  backdrop-filter: blur(8px);
@@ -704,8 +651,6 @@
704
651
  line-height: 2.5625rem;
705
652
  }
706
653
 
707
- /* Bottom navigation: a tab bar floating on glass, the selected tab on a
708
- capsule of its own */
709
654
  .iw-bottom-navigation {
710
655
  gap: 0;
711
656
  margin: 0 var(--iw-space-4) var(--iw-space-4);