@lumx/core 4.28.0 → 4.28.1-alpha.0

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 (66) hide show
  1. package/package.json +2 -2
  2. package/scss/components/avatar/_index.scss +2 -2
  3. package/scss/components/badge/_index.scss +3 -3
  4. package/scss/components/button/_index.scss +29 -29
  5. package/scss/components/card/_index.scss +1 -1
  6. package/scss/components/checkbox/_index.scss +54 -54
  7. package/scss/components/chip/_index.scss +22 -22
  8. package/scss/components/combobox/_index.scss +4 -4
  9. package/scss/components/comment-block/_index.scss +1 -1
  10. package/scss/components/composite/_index.scss +2 -2
  11. package/scss/components/date-picker/_index.scss +1 -1
  12. package/scss/components/dialog/_index.scss +3 -3
  13. package/scss/components/divider/_index.scss +3 -3
  14. package/scss/components/drag-handle/_index.scss +1 -1
  15. package/scss/components/dropdown/_index.scss +1 -1
  16. package/scss/components/expansion-panel/_index.scss +1 -1
  17. package/scss/components/flag/_index.scss +4 -4
  18. package/scss/components/flex-box/_index.scss +34 -34
  19. package/scss/components/generic-block/_index.scss +1 -1
  20. package/scss/components/grid/_index.scss +30 -30
  21. package/scss/components/grid-column/_index.scss +1 -1
  22. package/scss/components/icon/_index.scss +9 -9
  23. package/scss/components/image-block/_index.scss +2 -2
  24. package/scss/components/image-lightbox/_index.scss +7 -7
  25. package/scss/components/inline-list/_index.scss +1 -1
  26. package/scss/components/input-helper/_index.scss +1 -1
  27. package/scss/components/input-label/_index.scss +2 -2
  28. package/scss/components/input-required-legend/_index.scss +2 -2
  29. package/scss/components/lightbox/_index.scss +1 -1
  30. package/scss/components/link/_index.scss +5 -5
  31. package/scss/components/link-preview/_index.scss +1 -1
  32. package/scss/components/list/_index.scss +25 -25
  33. package/scss/components/list/_mixins.scss +1 -1
  34. package/scss/components/list-box/_index.scss +8 -8
  35. package/scss/components/menu/_index.scss +1 -1
  36. package/scss/components/message/_index.scss +3 -3
  37. package/scss/components/mosaic/_index.scss +1 -1
  38. package/scss/components/navigation/_index.scss +10 -10
  39. package/scss/components/notification/_index.scss +2 -2
  40. package/scss/components/notification-block/_index.scss +1 -1
  41. package/scss/components/popover/_index.scss +2 -2
  42. package/scss/components/post-block/_index.scss +1 -1
  43. package/scss/components/progress/_index.scss +14 -14
  44. package/scss/components/progress-tracker/_index.scss +6 -6
  45. package/scss/components/radio-button/_index.scss +39 -39
  46. package/scss/components/scroll-box/_index.scss +1 -1
  47. package/scss/components/select/_index.scss +31 -31
  48. package/scss/components/side-navigation/_index.scss +3 -3
  49. package/scss/components/skeleton/_index.scss +13 -13
  50. package/scss/components/slider/_index.scss +10 -10
  51. package/scss/components/slideshow/_index.scss +6 -6
  52. package/scss/components/switch/_index.scss +54 -54
  53. package/scss/components/table/_index.scss +7 -7
  54. package/scss/components/tabs/_index.scss +13 -13
  55. package/scss/components/text/_index.scss +2 -2
  56. package/scss/components/text-field/_index.scss +43 -43
  57. package/scss/components/thumbnail/_index.scss +29 -29
  58. package/scss/components/toolbar/_index.scss +1 -1
  59. package/scss/components/tooltip/_index.scss +2 -2
  60. package/scss/components/tree-list/_index.scss +7 -7
  61. package/scss/components/uploader/_index.scss +3 -3
  62. package/scss/components/user-block/_index.scss +1 -1
  63. package/scss/core/base/_helpers.scss +4 -4
  64. package/scss/core/color/_index.scss +2 -2
  65. package/scss/core/spacing/_index.scss +1 -1
  66. package/scss/core/typography/_index.scss +3 -3
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "dependencies": {
9
9
  "@floating-ui/dom": "^1.7.5",
10
- "@lumx/icons": "^4.28.0",
10
+ "@lumx/icons": "^4.28.1-alpha.0",
11
11
  "classnames": "^2.3.2",
12
12
  "focus-visible": "^5.0.2",
13
13
  "lodash": "4.18.1",
@@ -66,7 +66,7 @@
66
66
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
67
67
  },
68
68
  "sideEffects": false,
69
- "version": "4.28.0",
69
+ "version": "4.28.1-alpha.0",
70
70
  "devDependencies": {
71
71
  "@rollup/plugin-typescript": "^12.3.0",
72
72
  "@testing-library/dom": "^10.4.1",
@@ -4,7 +4,7 @@
4
4
  Avatar
5
5
  ========================================================================== */
6
6
 
7
- .#{$lumx-base-prefix}-avatar {
7
+ .lumx-avatar {
8
8
  position: relative;
9
9
  background-repeat: no-repeat;
10
10
  background-position: center;
@@ -35,7 +35,7 @@
35
35
  ========================================================================== */
36
36
 
37
37
  @each $key, $size in $lumx-sizes {
38
- .#{$lumx-base-prefix}-avatar--size-#{$key} {
38
+ .lumx-avatar--size-#{$key} {
39
39
  width: $size;
40
40
  height: $size;
41
41
  }
@@ -5,7 +5,7 @@
5
5
  Badge
6
6
  ========================================================================== */
7
7
 
8
- .#{$lumx-base-prefix}-badge {
8
+ .lumx-badge {
9
9
  display: inline-flex;
10
10
  align-items: center;
11
11
  justify-content: center;
@@ -32,7 +32,7 @@
32
32
  ========================================================================== */
33
33
 
34
34
  @each $key, $color in $lumx-color-palette {
35
- .#{$lumx-base-prefix}-badge--color-#{$key} {
35
+ .lumx-badge--color-#{$key} {
36
36
  background-color: lumx-color-variant($key, "N");
37
37
 
38
38
  @if $key == "light" {
@@ -50,7 +50,7 @@
50
50
  /* Badge wrapper
51
51
  ========================================================================== */
52
52
 
53
- .#{$lumx-base-prefix}-badge-wrapper {
53
+ .lumx-badge-wrapper {
54
54
  position: relative;
55
55
  display: inline-block;
56
56
  outline: none;
@@ -4,10 +4,10 @@
4
4
  Button
5
5
  ========================================================================== */
6
6
 
7
- .#{$lumx-base-prefix}-button {
7
+ .lumx-button {
8
8
  @include lumx-button-base;
9
9
 
10
- .#{$lumx-base-prefix}-badge {
10
+ .lumx-badge {
11
11
  position: absolute;
12
12
  top: math.div(-$lumx-spacing-unit, 2);
13
13
  right: math.div(-$lumx-spacing-unit, 2);
@@ -19,38 +19,38 @@
19
19
 
20
20
  @each $key, $size in $lumx-sizes {
21
21
  @if $key == lumx-base-const("size", "S") or $key == lumx-base-const("size", "M") {
22
- .#{$lumx-base-prefix}-button--size-#{$key} {
23
- &.#{$lumx-base-prefix}-button--emphasis-high {
24
- &.#{$lumx-base-prefix}-button--variant-button {
22
+ .lumx-button--size-#{$key} {
23
+ &.lumx-button--emphasis-high {
24
+ &.lumx-button--variant-button {
25
25
  @include lumx-button-size(lumx-base-const("emphasis", "HIGH"), "button", $key);
26
26
  }
27
27
 
28
- &.#{$lumx-base-prefix}-button--variant-icon {
28
+ &.lumx-button--variant-icon {
29
29
  @include lumx-button-size(lumx-base-const("emphasis", "HIGH"), "icon", $key);
30
30
  }
31
31
  }
32
32
 
33
- &.#{$lumx-base-prefix}-button--emphasis-medium {
34
- &.#{$lumx-base-prefix}-button--variant-button {
33
+ &.lumx-button--emphasis-medium {
34
+ &.lumx-button--variant-button {
35
35
  @include lumx-button-size(lumx-base-const("emphasis", "MEDIUM"), "button", $key);
36
36
  }
37
37
 
38
- &.#{$lumx-base-prefix}-button--variant-icon {
38
+ &.lumx-button--variant-icon {
39
39
  @include lumx-button-size(lumx-base-const("emphasis", "MEDIUM"), "icon", $key);
40
40
  }
41
41
  }
42
42
 
43
- &.#{$lumx-base-prefix}-button--emphasis-low {
44
- &.#{$lumx-base-prefix}-button--variant-button {
43
+ &.lumx-button--emphasis-low {
44
+ &.lumx-button--variant-button {
45
45
  @include lumx-button-size(lumx-base-const("emphasis", "LOW"), "button", $key);
46
46
  }
47
47
 
48
- &.#{$lumx-base-prefix}-button--variant-icon {
48
+ &.lumx-button--variant-icon {
49
49
  @include lumx-button-size(lumx-base-const("emphasis", "LOW"), "icon", $key);
50
50
  }
51
51
  }
52
52
 
53
- &.#{$lumx-base-prefix}-button--variant-button {
53
+ &.lumx-button--variant-button {
54
54
  i:first-child {
55
55
  @include lumx-button-icon("button", $key, lumx-base-const("position", "LEFT"));
56
56
  }
@@ -60,7 +60,7 @@
60
60
  }
61
61
  }
62
62
 
63
- &.#{$lumx-base-prefix}-button--variant-icon {
63
+ &.lumx-button--variant-icon {
64
64
  & > i,
65
65
  & > img {
66
66
  @include lumx-button-icon("icon", $key);
@@ -79,8 +79,8 @@
79
79
 
80
80
  @each $key, $color in $lumx-color-palette {
81
81
  @if $key != "dark" and $key != "light" {
82
- .#{$lumx-base-prefix}-button--color-#{$key} {
83
- &.#{$lumx-base-prefix}-button--emphasis-high.#{$lumx-base-prefix}-button--theme-light {
82
+ .lumx-button--color-#{$key} {
83
+ &.lumx-button--emphasis-high.lumx-button--theme-light {
84
84
  @include lumx-button-color(
85
85
  lumx-base-const("emphasis", "HIGH"),
86
86
  $key,
@@ -88,7 +88,7 @@
88
88
  );
89
89
  }
90
90
 
91
- &.#{$lumx-base-prefix}-button--emphasis-high.#{$lumx-base-prefix}-button--theme-dark {
91
+ &.lumx-button--emphasis-high.lumx-button--theme-dark {
92
92
  @include lumx-button-color(lumx-base-const("emphasis", "HIGH"), $key, lumx-base-const("theme", "DARK"));
93
93
  }
94
94
  }
@@ -96,12 +96,12 @@
96
96
  }
97
97
 
98
98
  @each $key, $color in $lumx-color-palette {
99
- .#{$lumx-base-prefix}-button--color-#{$key} {
100
- &.#{$lumx-base-prefix}-button--emphasis-medium {
99
+ .lumx-button--color-#{$key} {
100
+ &.lumx-button--emphasis-medium {
101
101
  @include lumx-button-color(lumx-base-const("emphasis", "MEDIUM"), $key);
102
102
  }
103
103
 
104
- &.#{$lumx-base-prefix}-button--emphasis-low {
104
+ &.lumx-button--emphasis-low {
105
105
  @include lumx-button-color(lumx-base-const("emphasis", "LOW"), $key);
106
106
  }
107
107
  }
@@ -111,13 +111,13 @@
111
111
  /* Button selected
112
112
  ========================================================================== */
113
113
 
114
- .#{$lumx-base-prefix}-button.#{$lumx-base-prefix}-button--is-selected.#{$lumx-base-prefix}-button--emphasis-medium,
115
- .#{$lumx-base-prefix}-button.#{$lumx-base-prefix}-button--is-selected.#{$lumx-base-prefix}-button--emphasis-low, {
114
+ .lumx-button.lumx-button--is-selected.lumx-button--emphasis-medium,
115
+ .lumx-button.lumx-button--is-selected.lumx-button--emphasis-low, {
116
116
  @include lumx-button-size(lumx-base-const("emphasis", "SELECTED"));
117
117
 
118
118
  @each $key, $color in $lumx-color-palette {
119
- &.#{$lumx-base-prefix}-button--color-#{$key} {
120
- &.#{$lumx-base-prefix}-button--is-selected {
119
+ &.lumx-button--color-#{$key} {
120
+ &.lumx-button--is-selected {
121
121
  @include lumx-button-color(lumx-base-const("emphasis", "SELECTED"), $key);
122
122
  }
123
123
  }
@@ -127,7 +127,7 @@
127
127
  /* Button wrapper
128
128
  ========================================================================== */
129
129
 
130
- .#{$lumx-base-prefix}-button-wrapper {
130
+ .lumx-button-wrapper {
131
131
  width: fit-content;
132
132
 
133
133
  &--variant-button {
@@ -150,12 +150,12 @@
150
150
  /* Button group
151
151
  ========================================================================== */
152
152
 
153
- .#{$lumx-base-prefix}-button-group {
153
+ .lumx-button-group {
154
154
  display: inline-flex;
155
155
  vertical-align: top;
156
156
  gap: 1px;
157
157
 
158
- .#{$lumx-base-prefix}-button {
158
+ .lumx-button {
159
159
  // Remove border radius on the right on the first button (if not hidden and not also the last button)
160
160
  &:not(:last-of-type:not(.visually-hidden)) {
161
161
  &, &::before {
@@ -177,8 +177,8 @@
177
177
  /* Button full width
178
178
  ========================================================================== */
179
179
 
180
- .#{$lumx-base-prefix}-button--is-full-width:not(.#{$lumx-base-prefix}-button--variant-icon),
181
- .#{$lumx-base-prefix}-button-wrapper--is-full-width:not(.#{$lumx-base-prefix}-button-wrapper--variant-icon) {
180
+ .lumx-button--is-full-width:not(.lumx-button--variant-icon),
181
+ .lumx-button-wrapper--is-full-width:not(.lumx-button-wrapper--variant-icon) {
182
182
  flex-grow: 1;
183
183
  width: 100%;
184
184
  }
@@ -2,7 +2,7 @@
2
2
  Card
3
3
  ========================================================================== */
4
4
 
5
- .#{$lumx-base-prefix}-card {
5
+ .lumx-card {
6
6
  background-color: $lumx-color-light-N;
7
7
  border-radius: var(--lumx-border-radius);
8
8
  padding: $lumx-spacing-unit-huge;
@@ -4,7 +4,7 @@
4
4
  Checkbox
5
5
  ========================================================================== */
6
6
 
7
- .#{$lumx-base-prefix}-checkbox {
7
+ .lumx-checkbox {
8
8
  $self: &;
9
9
 
10
10
  display: flex;
@@ -85,48 +85,48 @@
85
85
  ========================================================================== */
86
86
 
87
87
  // Disabled state
88
- .#{$lumx-base-prefix}-checkbox--is-disabled {
89
- .#{$lumx-base-prefix}-checkbox__input-placeholder {
88
+ .lumx-checkbox--is-disabled {
89
+ .lumx-checkbox__input-placeholder {
90
90
  @include lumx-state-disabled-input;
91
91
  }
92
92
 
93
- &.#{$lumx-base-prefix}-checkbox--theme-light {
94
- .#{$lumx-base-prefix}-checkbox__label,
95
- .#{$lumx-base-prefix}-checkbox__helper {
93
+ &.lumx-checkbox--theme-light {
94
+ .lumx-checkbox__label,
95
+ .lumx-checkbox__helper {
96
96
  @include lumx-state-disabled-text(lumx-base-const("theme", "LIGHT"));
97
97
  }
98
98
  }
99
99
 
100
- &.#{$lumx-base-prefix}-checkbox--theme-dark {
101
- .#{$lumx-base-prefix}-checkbox__label,
102
- .#{$lumx-base-prefix}-checkbox__helper {
100
+ &.lumx-checkbox--theme-dark {
101
+ .lumx-checkbox__label,
102
+ .lumx-checkbox__helper {
103
103
  @include lumx-state-disabled-text(lumx-base-const("theme", "DARK"));
104
104
  }
105
105
  }
106
106
  }
107
107
 
108
- :not(.#{$lumx-base-prefix}-checkbox--is-disabled) {
108
+ :not(.lumx-checkbox--is-disabled) {
109
109
  // Hover state
110
- &.#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-unchecked
111
- .#{$lumx-base-prefix}-checkbox__input-native:hover
112
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
113
- .#{$lumx-base-prefix}-checkbox__input-background {
110
+ &.lumx-checkbox--theme-light.lumx-checkbox--is-unchecked
111
+ .lumx-checkbox__input-native:hover
112
+ + .lumx-checkbox__input-placeholder {
113
+ .lumx-checkbox__input-background {
114
114
  @include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "LOW"), "dark");
115
115
  }
116
116
  }
117
117
 
118
- &.#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-unchecked
119
- .#{$lumx-base-prefix}-checkbox__input-native:hover
120
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
121
- .#{$lumx-base-prefix}-checkbox__input-background {
118
+ &.lumx-checkbox--theme-dark.lumx-checkbox--is-unchecked
119
+ .lumx-checkbox__input-native:hover
120
+ + .lumx-checkbox__input-placeholder {
121
+ .lumx-checkbox__input-background {
122
122
  @include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "LOW"), "light");
123
123
  }
124
124
  }
125
125
 
126
- &.#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-checked
127
- .#{$lumx-base-prefix}-checkbox__input-native:hover
128
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
129
- .#{$lumx-base-prefix}-checkbox__input-indicator {
126
+ &.lumx-checkbox--theme-light.lumx-checkbox--is-checked
127
+ .lumx-checkbox__input-native:hover
128
+ + .lumx-checkbox__input-placeholder {
129
+ .lumx-checkbox__input-indicator {
130
130
  @include lumx-state(
131
131
  lumx-base-const("state", "HOVER"),
132
132
  lumx-base-const("emphasis", "HIGH"),
@@ -136,10 +136,10 @@
136
136
  }
137
137
  }
138
138
 
139
- &.#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-checked
140
- .#{$lumx-base-prefix}-checkbox__input-native:hover
141
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
142
- .#{$lumx-base-prefix}-checkbox__input-indicator {
139
+ &.lumx-checkbox--theme-dark.lumx-checkbox--is-checked
140
+ .lumx-checkbox__input-native:hover
141
+ + .lumx-checkbox__input-placeholder {
142
+ .lumx-checkbox__input-indicator {
143
143
  @include lumx-state(
144
144
  lumx-base-const("state", "HOVER"),
145
145
  lumx-base-const("emphasis", "HIGH"),
@@ -150,26 +150,26 @@
150
150
  }
151
151
 
152
152
  // Active state
153
- &.#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-unchecked
154
- .#{$lumx-base-prefix}-checkbox__input-native:active
155
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
156
- .#{$lumx-base-prefix}-checkbox__input-background {
153
+ &.lumx-checkbox--theme-light.lumx-checkbox--is-unchecked
154
+ .lumx-checkbox__input-native:active
155
+ + .lumx-checkbox__input-placeholder {
156
+ .lumx-checkbox__input-background {
157
157
  @include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "LOW"), "dark");
158
158
  }
159
159
  }
160
160
 
161
- &.#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-unchecked
162
- .#{$lumx-base-prefix}-checkbox__input-native:active
163
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
164
- .#{$lumx-base-prefix}-checkbox__input-background {
161
+ &.lumx-checkbox--theme-dark.lumx-checkbox--is-unchecked
162
+ .lumx-checkbox__input-native:active
163
+ + .lumx-checkbox__input-placeholder {
164
+ .lumx-checkbox__input-background {
165
165
  @include lumx-state(lumx-base-const("state", "ACTIVE"), lumx-base-const("emphasis", "LOW"), "light");
166
166
  }
167
167
  }
168
168
 
169
- &.#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-checked
170
- .#{$lumx-base-prefix}-checkbox__input-native:active
171
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
172
- .#{$lumx-base-prefix}-checkbox__input-indicator {
169
+ &.lumx-checkbox--theme-light.lumx-checkbox--is-checked
170
+ .lumx-checkbox__input-native:active
171
+ + .lumx-checkbox__input-placeholder {
172
+ .lumx-checkbox__input-indicator {
173
173
  @include lumx-state(
174
174
  lumx-base-const("state", "ACTIVE"),
175
175
  lumx-base-const("emphasis", "HIGH"),
@@ -179,10 +179,10 @@
179
179
  }
180
180
  }
181
181
 
182
- &.#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-checked
183
- .#{$lumx-base-prefix}-checkbox__input-native:active
184
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
185
- .#{$lumx-base-prefix}-checkbox__input-indicator {
182
+ &.lumx-checkbox--theme-dark.lumx-checkbox--is-checked
183
+ .lumx-checkbox__input-native:active
184
+ + .lumx-checkbox__input-placeholder {
185
+ .lumx-checkbox__input-indicator {
186
186
  @include lumx-state(
187
187
  lumx-base-const("state", "ACTIVE"),
188
188
  lumx-base-const("emphasis", "HIGH"),
@@ -194,21 +194,21 @@
194
194
  }
195
195
 
196
196
  // Focus state
197
- .#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-unchecked
198
- .#{$lumx-base-prefix}-checkbox__input-native[data-focus-visible-added]
199
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
197
+ .lumx-checkbox--theme-light.lumx-checkbox--is-unchecked
198
+ .lumx-checkbox__input-native[data-focus-visible-added]
199
+ + .lumx-checkbox__input-placeholder {
200
200
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "dark");
201
201
  }
202
202
 
203
- .#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-unchecked
204
- .#{$lumx-base-prefix}-checkbox__input-native[data-focus-visible-added]
205
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
203
+ .lumx-checkbox--theme-dark.lumx-checkbox--is-unchecked
204
+ .lumx-checkbox__input-native[data-focus-visible-added]
205
+ + .lumx-checkbox__input-placeholder {
206
206
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "light");
207
207
  }
208
208
 
209
- .#{$lumx-base-prefix}-checkbox--theme-light.#{$lumx-base-prefix}-checkbox--is-checked
210
- .#{$lumx-base-prefix}-checkbox__input-native[data-focus-visible-added]
211
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
209
+ .lumx-checkbox--theme-light.lumx-checkbox--is-checked
210
+ .lumx-checkbox__input-native[data-focus-visible-added]
211
+ + .lumx-checkbox__input-placeholder {
212
212
  @include lumx-state(
213
213
  lumx-base-const("state", "FOCUS"),
214
214
  lumx-base-const("emphasis", "HIGH"),
@@ -217,9 +217,9 @@
217
217
  );
218
218
  }
219
219
 
220
- .#{$lumx-base-prefix}-checkbox--theme-dark.#{$lumx-base-prefix}-checkbox--is-checked
221
- .#{$lumx-base-prefix}-checkbox__input-native[data-focus-visible-added]
222
- + .#{$lumx-base-prefix}-checkbox__input-placeholder {
220
+ .lumx-checkbox--theme-dark.lumx-checkbox--is-checked
221
+ .lumx-checkbox__input-native[data-focus-visible-added]
222
+ + .lumx-checkbox__input-placeholder {
223
223
  @include lumx-state(
224
224
  lumx-base-const("state", "FOCUS"),
225
225
  lumx-base-const("emphasis", "HIGH"),
@@ -2,7 +2,7 @@
2
2
  Chip
3
3
  ========================================================================== */
4
4
 
5
- .#{$lumx-base-prefix}-chip {
5
+ .lumx-chip {
6
6
  $self: &;
7
7
 
8
8
  @include lumx-chip-base;
@@ -29,30 +29,30 @@
29
29
  /* Chip size
30
30
  ========================================================================== */
31
31
 
32
- .#{$lumx-base-prefix}-chip--size-m {
32
+ .lumx-chip--size-m {
33
33
  @include lumx-chip-size(lumx-base-const("size", "M"));
34
34
 
35
35
  padding: 0 var(--lumx-material-chip-size-m-padding-vertical);
36
36
 
37
- &.#{$lumx-base-prefix}-chip--has-before {
37
+ &.lumx-chip--has-before {
38
38
  padding-left: $lumx-spacing-unit * 1.5;
39
39
  }
40
40
 
41
- &.#{$lumx-base-prefix}-chip--has-after {
41
+ &.lumx-chip--has-after {
42
42
  padding-right: $lumx-spacing-unit * 1.5;
43
43
  }
44
44
  }
45
45
 
46
- .#{$lumx-base-prefix}-chip--size-s {
46
+ .lumx-chip--size-s {
47
47
  @include lumx-chip-size(lumx-base-const("size", "S"));
48
48
 
49
49
  padding: 0 var(--lumx-material-chip-size-s-padding-vertical);
50
50
 
51
- &.#{$lumx-base-prefix}-chip--has-before {
51
+ &.lumx-chip--has-before {
52
52
  padding-left: $lumx-spacing-unit;
53
53
  }
54
54
 
55
- &.#{$lumx-base-prefix}-chip--has-after {
55
+ &.lumx-chip--has-after {
56
56
  padding-right: $lumx-spacing-unit;
57
57
  }
58
58
  }
@@ -60,17 +60,17 @@
60
60
  /* Chip states
61
61
  ========================================================================== */
62
62
 
63
- .#{$lumx-base-prefix}-chip--is-clickable {
63
+ .lumx-chip--is-clickable {
64
64
  @include lumx-state-transition;
65
65
 
66
66
  cursor: pointer;
67
67
  }
68
68
 
69
69
  @each $key, $color in $lumx-color-palette {
70
- .#{$lumx-base-prefix}-chip--is-unselected.#{$lumx-base-prefix}-chip--color-#{$key} {
70
+ .lumx-chip--is-unselected.lumx-chip--color-#{$key} {
71
71
  @include lumx-state(lumx-base-const("state", "DEFAULT"), lumx-base-const("emphasis", "MEDIUM"), $key);
72
72
 
73
- &.#{$lumx-base-prefix}-chip--is-clickable:not([aria-disabled=true]) {
73
+ &.lumx-chip--is-clickable:not([aria-disabled=true]) {
74
74
  &:hover,
75
75
  &[data-lumx-hover] {
76
76
  @include lumx-state(lumx-base-const("state", "HOVER"), lumx-base-const("emphasis", "MEDIUM"), $key);
@@ -83,28 +83,28 @@
83
83
  }
84
84
 
85
85
  @if $key == "dark" {
86
- .#{$lumx-base-prefix}-chip__label {
86
+ .lumx-chip__label {
87
87
  color: lumx-color-variant("dark", "L1");
88
88
  }
89
89
  }
90
90
  }
91
91
 
92
- .#{$lumx-base-prefix}-chip--color-#{$key} {
93
- &[data-focus-visible-added], &.#{$lumx-base-prefix}-chip--is-highlighted {
92
+ .lumx-chip--color-#{$key} {
93
+ &[data-focus-visible-added], &.lumx-chip--is-highlighted {
94
94
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "MEDIUM"), $key);
95
95
  }
96
96
  }
97
97
  }
98
98
 
99
- .#{$lumx-base-prefix}-chip--is-selected {
100
- &.#{$lumx-base-prefix}-chip--color-dark {
99
+ .lumx-chip--is-selected {
100
+ &.lumx-chip--color-dark {
101
101
  @include lumx-state-as-selected(
102
102
  lumx-base-const("state", "DEFAULT"),
103
103
  lumx-base-const("theme", "LIGHT"),
104
104
  "chip"
105
105
  );
106
106
 
107
- &.#{$lumx-base-prefix}-chip--is-clickable {
107
+ &.lumx-chip--is-clickable {
108
108
  &:not([aria-disabled="true"]) {
109
109
  &:hover,
110
110
  &[data-lumx-hover] {
@@ -135,14 +135,14 @@
135
135
  }
136
136
  }
137
137
 
138
- &.#{$lumx-base-prefix}-chip--color-light {
138
+ &.lumx-chip--color-light {
139
139
  @include lumx-state-as-selected(
140
140
  lumx-base-const("state", "DEFAULT"),
141
141
  lumx-base-const("theme", "DARK"),
142
142
  "chip"
143
143
  );
144
144
 
145
- &.#{$lumx-base-prefix}-chip--is-clickable {
145
+ &.lumx-chip--is-clickable {
146
146
  &:not([aria-disabled="true"]) {
147
147
  &:hover,
148
148
  &[data-lumx-hover] {
@@ -174,14 +174,14 @@
174
174
  }
175
175
  }
176
176
 
177
- .#{$lumx-base-prefix}-chip--is-disabled {
177
+ .lumx-chip--is-disabled {
178
178
  @include lumx-state-disabled-input;
179
179
  }
180
180
 
181
181
  /* Chip group
182
182
  ========================================================================== */
183
183
 
184
- .#{$lumx-base-prefix}-chip-group {
184
+ .lumx-chip-group {
185
185
  display: flex;
186
186
  flex-wrap: wrap;
187
187
  gap: $lumx-chip-group-spacing * 2;
@@ -190,11 +190,11 @@
190
190
  /* Selection Chip group
191
191
  ========================================================================== */
192
192
 
193
- .#{$lumx-base-prefix}-selection-chip-group {
193
+ .lumx-selection-chip-group {
194
194
  align-content: flex-start;
195
195
 
196
196
  // Shrink chips in constrained space
197
- &, & .#{$lumx-base-prefix}-chip, & .#{$lumx-base-prefix}-chip__label {
197
+ &, & .lumx-chip, & .lumx-chip__label {
198
198
  min-width: 0;
199
199
  }
200
200
  }
@@ -5,8 +5,8 @@
5
5
  // NB: list, option and section styles live in `components/list-box`, the state styles in `components/composite`.
6
6
 
7
7
  // ---- Input -----------------------
8
- .#{$lumx-base-prefix}-combobox-input {
9
- .#{$lumx-base-prefix}-text-field__chips {
8
+ .lumx-combobox-input {
9
+ .lumx-text-field__chips {
10
10
  width: min-content;
11
11
  min-width: 0;
12
12
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  // ---- Popover -----------------------
16
16
 
17
- .#{$lumx-base-prefix}-combobox-popover {
17
+ .lumx-combobox-popover {
18
18
  color: var(--lumx-color-dark-N);
19
19
 
20
20
  &__scroll {
@@ -25,7 +25,7 @@
25
25
  // content) and no state
26
26
  $visible-list: ':is([role="listbox"], [role="grid"], [role="tree"]):not([hidden])';
27
27
 
28
- &:not(:has(#{$visible-list}, .#{$lumx-base-prefix}-composite-status)) {
28
+ &:not(:has(#{$visible-list}, .lumx-composite-status)) {
29
29
  display: none;
30
30
  }
31
31
  }
@@ -4,7 +4,7 @@
4
4
  Comment block
5
5
  ========================================================================== */
6
6
 
7
- .#{$lumx-base-prefix}-comment-block {
7
+ .lumx-comment-block {
8
8
  $self: &;
9
9
 
10
10
  position: relative;
@@ -6,13 +6,13 @@
6
6
 
7
7
  // ---- Status -----------------------
8
8
 
9
- .#{$lumx-base-prefix}-composite-status {
9
+ .lumx-composite-status {
10
10
  text-align: center;
11
11
  }
12
12
 
13
13
  // ---- Item -----------------------
14
14
 
15
- .#{$lumx-base-prefix}-composite-item {
15
+ .lumx-composite-item {
16
16
  // Selection state icon, centered in the `after` slot
17
17
  &__selection-icon {
18
18
  margin: auto;
@@ -6,7 +6,7 @@
6
6
  Date picker
7
7
  ========================================================================== */
8
8
 
9
- .#{$lumx-base-prefix}-date-picker {
9
+ .lumx-date-picker {
10
10
  &__month {
11
11
  @include lumx-typography("subtitle1");
12
12
 
@@ -5,7 +5,7 @@
5
5
  Dialog
6
6
  ========================================================================== */
7
7
 
8
- .#{$lumx-base-prefix}-dialog {
8
+ .lumx-dialog {
9
9
  $self: &;
10
10
 
11
11
  position: fixed;
@@ -181,7 +181,7 @@
181
181
  ========================================================================== */
182
182
 
183
183
  @each $key, $size in $lumx-dialog-sizes {
184
- .#{$lumx-base-prefix}-dialog--size-#{$key} .#{$lumx-base-prefix}-dialog__container {
184
+ .lumx-dialog--size-#{$key} .lumx-dialog__container {
185
185
  @include mq($until: desktop) {
186
186
  top: 0;
187
187
  right: 0;
@@ -199,7 +199,7 @@
199
199
  }
200
200
  }
201
201
 
202
- .#{$lumx-base-prefix}-dialog--size-huge .#{$lumx-base-prefix}-dialog__container {
202
+ .lumx-dialog--size-huge .lumx-dialog__container {
203
203
  @include mq($until: desktop) {
204
204
  top: 0;
205
205
  right: 0;