@ethlete/components 1.0.0-next.103 → 1.0.0-next.105

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 (85) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/design/sdk/foundations/colors/colors.css +46 -0
  3. package/fesm2022/ethlete-components.mjs +155 -155
  4. package/fesm2022/ethlete-components.mjs.map +1 -1
  5. package/generators/generators.json +5 -0
  6. package/generators/migrate-state-token-names/migration.js +33 -0
  7. package/generators/migrate-state-token-names/schema.json +26 -0
  8. package/generators/migrate-state-token-names/state-token-names.js +53 -0
  9. package/migrations.json +9 -0
  10. package/package.json +1 -1
  11. package/src/lib/accordion/accordion.component.css +5 -5
  12. package/src/lib/bracket/bracket-pick-card.component.css +1 -1
  13. package/src/lib/bracket/bracket.component.css +11 -1
  14. package/src/lib/breadcrumb/breadcrumb-overflow.component.css +2 -2
  15. package/src/lib/breadcrumb/breadcrumb.component.css +4 -0
  16. package/src/lib/button/button-properties-styles.component.css +19 -19
  17. package/src/lib/button/button.component.css +4 -4
  18. package/src/lib/button/fab.component.css +1 -1
  19. package/src/lib/button/icon-button.component.css +2 -2
  20. package/src/lib/button/split-button.component.css +2 -2
  21. package/src/lib/button/text-button.component.css +1 -1
  22. package/src/lib/button/window-control-button.component.css +2 -2
  23. package/src/lib/calendar/calendar.component.css +3 -3
  24. package/src/lib/carousel/carousel-autoplay-styles.component.css +5 -2
  25. package/src/lib/carousel/carousel.component.css +20 -6
  26. package/src/lib/chart/bar-chart.component.css +5 -1
  27. package/src/lib/chart/line-chart.component.css +5 -1
  28. package/src/lib/chart/sankey-chart.component.css +1 -1
  29. package/src/lib/chip/chip.component.css +6 -6
  30. package/src/lib/command-palette/command-palette-item.component.css +1 -1
  31. package/src/lib/forms/cascader/cascader-breadcrumb-styles.component.css +2 -2
  32. package/src/lib/forms/cascader/cascader-panel.component.css +8 -4
  33. package/src/lib/forms/checkbox/checkbox.component.css +2 -2
  34. package/src/lib/forms/choice-field/choice-field-card-styles.component.css +2 -2
  35. package/src/lib/forms/dropzone/dropzone-item.component.css +5 -1
  36. package/src/lib/forms/dropzone/dropzone.component.css +7 -3
  37. package/src/lib/forms/form-field/form-field-control-suffix-styles.component.css +2 -2
  38. package/src/lib/forms/form-field/form-field-text-shell-styles.component.css +7 -7
  39. package/src/lib/forms/form-field/form-field.component.css +2 -2
  40. package/src/lib/forms/input/number-input.component.css +2 -2
  41. package/src/lib/forms/input/password-input.component.css +2 -2
  42. package/src/lib/forms/multi-language-rich-text-editor/tools/multi-language-rich-text-editor-language-tool.component.css +3 -3
  43. package/src/lib/forms/rating/rating.component.css +2 -2
  44. package/src/lib/forms/rich-text-editor/rich-text-content-styles.component.css +2 -2
  45. package/src/lib/forms/rich-text-editor/rich-text-editor-image-editor.component.css +1 -1
  46. package/src/lib/forms/rich-text-editor/rich-text-editor-token-popup.component.css +1 -1
  47. package/src/lib/forms/rich-text-editor/tools/rich-text-editor-image-styles.component.css +1 -1
  48. package/src/lib/forms/rich-text-editor/tools/rich-text-editor-table-styles.component.css +1 -1
  49. package/src/lib/forms/select/select-extras-styles.component.css +8 -4
  50. package/src/lib/forms/select/select-option-styles.component.css +8 -8
  51. package/src/lib/forms/select/select-panel.component.css +1 -1
  52. package/src/lib/forms/selection-list/checkbox-group/checkbox-group-select-all.component.css +6 -2
  53. package/src/lib/forms/selection-list/checkbox-group/checkbox-option.component.css +7 -3
  54. package/src/lib/forms/selection-list/radio-group/radio.component.css +7 -3
  55. package/src/lib/forms/selection-list/segmented-button-group/segmented-button-group.component.css +1 -1
  56. package/src/lib/forms/selection-list/segmented-button-group/segmented-button.component.css +5 -5
  57. package/src/lib/forms/slider/range-slider.component.css +1 -1
  58. package/src/lib/forms/slider/slider.component.css +1 -1
  59. package/src/lib/forms/switch/switch.component.css +16 -8
  60. package/src/lib/kbd/kbd.component.css +1 -1
  61. package/src/lib/loader/progress-bar/progress-bar.component.css +4 -0
  62. package/src/lib/match/match-card.component.css +12 -4
  63. package/src/lib/match/match-participant.component.css +3 -3
  64. package/src/lib/menu/menu-item-shortcut.component.css +2 -0
  65. package/src/lib/menu/menu-search-styles.component.css +1 -1
  66. package/src/lib/menu/menu.component.css +2 -2
  67. package/src/lib/pagination/pagination.component.css +5 -1
  68. package/src/lib/scheduler/scheduler-time-grid-view.component.css +1 -1
  69. package/src/lib/scrollable/headless/scrollable-buttons.component.css +19 -1
  70. package/src/lib/scrollable/headless/scrollable-masks.component.css +21 -0
  71. package/src/lib/scrollbar/scrollbar.component.css +3 -3
  72. package/src/lib/skeleton/skeleton.component.css +8 -2
  73. package/src/lib/standings/standings-pick.component.css +15 -7
  74. package/src/lib/standings/standings.component.css +4 -4
  75. package/src/lib/stream/pip/pip-stage-styles.component.css +4 -2
  76. package/src/lib/stream/pip/pip-window.component.css +2 -1
  77. package/src/lib/table/table-expander-cell.component.css +2 -2
  78. package/src/lib/table/table-reorder-overlay.component.css +1 -1
  79. package/src/lib/table/table-row-box-styles.component.css +6 -2
  80. package/src/lib/table/table-sticky-columns-styles.component.css +1 -1
  81. package/src/lib/table/table.component.css +23 -14
  82. package/src/lib/tabs/tab-bar-styles.component.css +1 -1
  83. package/src/lib/time-picker/time-picker.component.css +1 -1
  84. package/src/lib/tree/tree.component.css +2 -2
  85. package/types/ethlete-components.d.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0-next.105
4
+
5
+ ### Patch Changes
6
+
7
+ - Restore soft edge fades when scrolling with inside buttons and a button gutter.
8
+
9
+ ## 1.0.0-next.104
10
+
11
+ ### Major Changes
12
+
13
+ - Renamed the component state tokens to one pattern, `--et-<component>[-<part>][-<variant>]-<state>[-<property>]` (e.g. `--et-select-option-background-hover` is now `--et-select-option-hover`); `et update` renames them.
14
+
15
+ ### Minor Changes
16
+
17
+ - Add `--et-bracket-section-title-rule-width` and `--et-bracket-section-title-rule-color` to draw a rule across every column of a bracket section under its title.
18
+
19
+ ### Patch Changes
20
+
21
+ - Form control hover and pressed states fall back to the surface text when a theme sets no `tint`; the multi-language editor's language trigger shows them again.
22
+ - Menu, select, cascader, command palette, tree and mention-popup items tint hover and pressed with the surface tint, falling back to the surface text when a theme sets no `tint`.
23
+ - Calendar, breadcrumb overflow, chip, chart, carousel, scrollbar, bracket pick card and other neutral tints fall back to
24
+ the surface text when a theme sets no tint, so their hover shows on light surfaces.
25
+ - Table, accordion, standings and match hover and pressed states follow the surface tint everywhere, and fall back to the surface text when a theme sets no tint.
26
+ - A stuck bracket section title now sits just past the `<et-scrollable>` start fade, so it stays opaque; the scroll container exposes the fade width as `--et-scrollable-start-fade`.
27
+ - Under `dir="rtl"` the breadcrumb separators and carousel arrows now point in reading direction, the switch thumb sits at the start edge, and the menu item shortcut stays left-to-right.
28
+ - Mirror pagination arrows, scrollable buttons and fade, and the progress bar under `dir="rtl"`.
29
+
3
30
  ## 1.0.0-next.103
4
31
 
5
32
  ### Patch Changes
@@ -20,6 +20,7 @@
20
20
  --et-surface-control-text-focus: rgb(64 64 64);
21
21
  --et-surface-control-text-active: rgb(23 23 23);
22
22
  --et-surface-control-text-disabled: rgb(180 180 180);
23
+ --et-surface-next-background: rgb(240 240 240);
23
24
  }
24
25
 
25
26
  .et-surface--default-dark,
@@ -38,6 +39,7 @@
38
39
  --et-surface-control-text-focus: rgb(220 220 220);
39
40
  --et-surface-control-text-active: rgb(250 250 250);
40
41
  --et-surface-control-text-disabled: rgb(100 100 100);
42
+ --et-surface-next-background: rgb(38 38 38);
41
43
  }
42
44
 
43
45
  .et-surface--light-elevated {
@@ -57,6 +59,11 @@
57
59
  --et-surface-control-text-focus: rgb(64 64 64);
58
60
  --et-surface-control-text-active: rgb(23 23 23);
59
61
  --et-surface-control-text-disabled: rgb(180 180 180);
62
+ --et-surface-next-background: color-mix(
63
+ in srgb,
64
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
65
+ var(--et-surface-background)
66
+ );
60
67
  }
61
68
 
62
69
  .et-surface--dark-elevated {
@@ -74,6 +81,11 @@
74
81
  --et-surface-control-text-focus: rgb(220 220 220);
75
82
  --et-surface-control-text-active: rgb(250 250 250);
76
83
  --et-surface-control-text-disabled: rgb(100 100 100);
84
+ --et-surface-next-background: color-mix(
85
+ in srgb,
86
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
87
+ var(--et-surface-background)
88
+ );
77
89
  }
78
90
 
79
91
  @media (prefers-color-scheme: light) {
@@ -94,6 +106,7 @@
94
106
  --et-surface-control-text-focus: rgb(64 64 64);
95
107
  --et-surface-control-text-active: rgb(23 23 23);
96
108
  --et-surface-control-text-disabled: rgb(180 180 180);
109
+ --et-surface-next-background: rgb(240 240 240);
97
110
  color-scheme: light;
98
111
  }
99
112
  }
@@ -114,6 +127,7 @@
114
127
  --et-surface-control-text-focus: rgb(220 220 220);
115
128
  --et-surface-control-text-active: rgb(250 250 250);
116
129
  --et-surface-control-text-disabled: rgb(100 100 100);
130
+ --et-surface-next-background: rgb(38 38 38);
117
131
  color-scheme: dark;
118
132
  }
119
133
  }
@@ -135,6 +149,7 @@
135
149
  --et-surface-control-text-focus: rgb(64 64 64);
136
150
  --et-surface-control-text-active: rgb(23 23 23);
137
151
  --et-surface-control-text-disabled: rgb(180 180 180);
152
+ --et-surface-next-background: rgb(240 240 240);
138
153
  color-scheme: light;
139
154
  }
140
155
 
@@ -153,6 +168,7 @@
153
168
  --et-surface-control-text-focus: rgb(220 220 220);
154
169
  --et-surface-control-text-active: rgb(250 250 250);
155
170
  --et-surface-control-text-disabled: rgb(100 100 100);
171
+ --et-surface-next-background: rgb(38 38 38);
156
172
  color-scheme: dark;
157
173
  }
158
174
  }
@@ -480,6 +496,11 @@
480
496
  --et-surface-control-text-focus: rgb(64 64 64);
481
497
  --et-surface-control-text-active: rgb(23 23 23);
482
498
  --et-surface-control-text-disabled: rgb(180 180 180);
499
+ --et-surface-next-background: color-mix(
500
+ in srgb,
501
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
502
+ var(--et-surface-background)
503
+ );
483
504
  }
484
505
 
485
506
  .et-surface--dark[data-et-surface-fill] {
@@ -497,6 +518,11 @@
497
518
  --et-surface-control-text-focus: rgb(220 220 220);
498
519
  --et-surface-control-text-active: rgb(250 250 250);
499
520
  --et-surface-control-text-disabled: rgb(100 100 100);
521
+ --et-surface-next-background: color-mix(
522
+ in srgb,
523
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
524
+ var(--et-surface-background)
525
+ );
500
526
  }
501
527
 
502
528
  @media (prefers-color-scheme: light) {
@@ -517,6 +543,11 @@
517
543
  --et-surface-control-text-focus: rgb(64 64 64);
518
544
  --et-surface-control-text-active: rgb(23 23 23);
519
545
  --et-surface-control-text-disabled: rgb(180 180 180);
546
+ --et-surface-next-background: color-mix(
547
+ in srgb,
548
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
549
+ var(--et-surface-background)
550
+ );
520
551
  }
521
552
  }
522
553
 
@@ -536,6 +567,11 @@
536
567
  --et-surface-control-text-focus: rgb(220 220 220);
537
568
  --et-surface-control-text-active: rgb(250 250 250);
538
569
  --et-surface-control-text-disabled: rgb(100 100 100);
570
+ --et-surface-next-background: color-mix(
571
+ in srgb,
572
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
573
+ var(--et-surface-background)
574
+ );
539
575
  }
540
576
  }
541
577
 
@@ -556,6 +592,11 @@
556
592
  --et-surface-control-text-focus: rgb(64 64 64);
557
593
  --et-surface-control-text-active: rgb(23 23 23);
558
594
  --et-surface-control-text-disabled: rgb(180 180 180);
595
+ --et-surface-next-background: color-mix(
596
+ in srgb,
597
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
598
+ var(--et-surface-background)
599
+ );
559
600
  }
560
601
 
561
602
  :root.et-scheme--dark .et-surface--inherited[data-et-surface-fill] {
@@ -573,6 +614,11 @@
573
614
  --et-surface-control-text-focus: rgb(220 220 220);
574
615
  --et-surface-control-text-active: rgb(250 250 250);
575
616
  --et-surface-control-text-disabled: rgb(100 100 100);
617
+ --et-surface-next-background: color-mix(
618
+ in srgb,
619
+ var(--et-surface-tint, var(--et-surface-text)) 9%,
620
+ var(--et-surface-background)
621
+ );
576
622
  }
577
623
  }
578
624