@lumx/core 3.9.1-alpha.2 → 3.9.2-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.
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.9.1-alpha.2",
43
+ "version": "3.9.2-alpha.0",
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.18.13",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -93,7 +93,7 @@
93
93
  &__pagination {
94
94
  align-items: center;
95
95
  // Compute max width for N items based on their size, margin and focus outline
96
- max-width: ($item-max-count * ($item-size + $item-margin-inline)) + $item-focus-outline * 2;
96
+ max-width: ($item-max-count * ($item-size + $item-margin-inline)) + $item-focus-outline * 2 + $item-size;
97
97
  overflow: hidden;
98
98
  }
99
99
 
@@ -130,16 +130,20 @@
130
130
  }
131
131
 
132
132
  #{$self}--theme-light & {
133
- background-color: lumx-color-variant("dark", "L4");
133
+ background-color:lumx-color-variant("dark", "L5");
134
134
 
135
135
  &[data-focus-visible-added] {
136
136
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "dark");
137
137
  }
138
138
 
139
- &:hover,
139
+ &:hover {
140
+ background-color: lumx-color-variant("primary", "N");
141
+ }
140
142
  &--is-active {
141
143
  background-color: lumx-color-variant("primary", "N");
142
-
144
+ width: $item-size*2;
145
+ border-radius: $lumx-border-radius;
146
+
143
147
  &[data-focus-visible-added] {
144
148
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "primary");
145
149
  }
@@ -147,15 +151,19 @@
147
151
  }
148
152
 
149
153
  #{$self}--theme-dark & {
150
- background-color: lumx-color-variant("light", "L4");
154
+ background-color: lumx-color-variant("light", "L5");
151
155
 
152
156
  &[data-focus-visible-added] {
153
157
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "light");
154
158
  }
155
159
 
156
- &:hover,
160
+ &:hover {
161
+ background-color: lumx-color-variant("light", "N");
162
+ }
157
163
  &--is-active {
158
164
  background-color: lumx-color-variant("light", "N");
165
+ width: $item-size*2;
166
+ border-radius: $lumx-border-radius;
159
167
 
160
168
  &[data-focus-visible-added] {
161
169
  @include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "light");
@@ -17,6 +17,10 @@
17
17
  border-radius: var(--lumx-border-radius);
18
18
  will-change: transform;
19
19
 
20
+ &--is-hidden {
21
+ visibility: hidden;
22
+ }
23
+
20
24
  &__arrow {
21
25
  position: absolute;
22
26
  width: 0;