@box/blueprint-web 12.92.2 → 12.92.3

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.
@@ -10088,7 +10088,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10088
10088
  .bp_styles_module_dropdown--92246{
10089
10089
  min-width:var(--split-button-dropdown-min-width);
10090
10090
  }
10091
- .bp_switch_module_option--4da80[data-modern=false]{
10091
+ .bp_switch_module_option--9f3e1[data-modern=false]{
10092
10092
  --switch-height:var(--size-5);
10093
10093
  --switch-margin-left:var(--space-10);
10094
10094
  --switch-margin-right:var(--space-3);
@@ -10108,6 +10108,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10108
10108
  --thumb-border:var(--border-1) solid var(--border-switch-border);
10109
10109
  --thumb-radius:var(--size-10);
10110
10110
  --thumb-shadow:var(--dropshadow-3);
10111
+ --thumb-transform:translateX(calc(var(--switch-width) - var(--thumb-width)));
10111
10112
  font-family:var(--body-default-font-family);
10112
10113
  font-size:var(--body-default-font-size);
10113
10114
  font-weight:var(--body-default-font-weight);
@@ -10118,7 +10119,7 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10118
10119
  text-transform:var(--body-default-text-case);
10119
10120
  }
10120
10121
 
10121
- .bp_switch_module_option--4da80[data-modern=true]{
10122
+ .bp_switch_module_option--9f3e1[data-modern=true]{
10122
10123
  --switch-height:var(--bp-size-060);
10123
10124
  --switch-margin-left:var(--bp-space-100);
10124
10125
  --switch-margin-right:var(--bp-space-030);
@@ -10128,17 +10129,17 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10128
10129
  --switch-bg-on-hover:var(--bp-surface-switch-surface-on-hover);
10129
10130
  --switch-radius:var(--bp-size-100);
10130
10131
  --switch-padding-inline:var(--bp-space-005);
10131
- --switch-base-width:var(--bp-size-110);
10132
- --switch-width:calc(var(--switch-base-width) - var(--switch-padding-inline)*2);
10132
+ --switch-width:var(--bp-size-110);
10133
10133
  --switch-outline:var(--bp-outline-focus-on-light);
10134
10134
  --switch-disabled-opacity:.6;
10135
- --description-margin:calc(var(--switch-margin-right) + var(--switch-base-width));
10135
+ --description-margin:calc(var(--switch-margin-right) + var(--switch-width));
10136
10136
  --thumb-width:var(--bp-size-050);
10137
10137
  --thumb-height:var(--bp-size-050);
10138
10138
  --thumb-bg:var(--bp-surface-switch-surface);
10139
10139
  --thumb-border:none;
10140
10140
  --thumb-radius:var(--bp-size-100);
10141
10141
  --thumb-shadow:var(--dropshadow-3);
10142
+ --thumb-transform:translateX(calc(var(--switch-width) - var(--thumb-width) - var(--switch-padding-inline)*2));
10142
10143
  font-family:var(--bp-font-font-family);
10143
10144
  font-size:var(--bp-font-size-05);
10144
10145
  font-style:normal;
@@ -10147,33 +10148,33 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10147
10148
  line-height:var(--bp-font-line-height-04);
10148
10149
  }
10149
10150
 
10150
- .bp_switch_module_option--4da80{
10151
+ .bp_switch_module_option--9f3e1{
10151
10152
  display:flex;
10152
10153
  flex-direction:column;
10153
10154
  }
10154
- .bp_switch_module_option--4da80 .bp_switch_module_label--4da80{
10155
+ .bp_switch_module_option--9f3e1 .bp_switch_module_label--9f3e1{
10155
10156
  cursor:pointer;
10156
10157
  display:inline-flex;
10157
10158
  flex-direction:row;
10158
10159
  width:-moz-fit-content;
10159
10160
  width:fit-content;
10160
10161
  }
10161
- .bp_switch_module_option--4da80 .bp_switch_module_label--4da80.bp_switch_module_rightAlign--4da80{
10162
+ .bp_switch_module_option--9f3e1 .bp_switch_module_label--9f3e1.bp_switch_module_rightAlign--9f3e1{
10162
10163
  flex-direction:row-reverse;
10163
10164
  justify-content:space-between;
10164
10165
  width:unset;
10165
10166
  }
10166
- .bp_switch_module_option--4da80 .bp_switch_module_label--4da80:has(.bp_switch_module_switch--4da80:disabled){
10167
+ .bp_switch_module_option--9f3e1 .bp_switch_module_label--9f3e1:has(.bp_switch_module_switch--9f3e1:disabled){
10167
10168
  cursor:default;
10168
10169
  }
10169
- .bp_switch_module_option--4da80 .bp_switch_module_description--4da80{
10170
+ .bp_switch_module_option--9f3e1 .bp_switch_module_description--9f3e1{
10170
10171
  margin-left:var(--description-margin);
10171
10172
  }
10172
- .bp_switch_module_option--4da80 .bp_switch_module_description--4da80.bp_switch_module_rightAlign--4da80{
10173
+ .bp_switch_module_option--9f3e1 .bp_switch_module_description--9f3e1.bp_switch_module_rightAlign--9f3e1{
10173
10174
  margin-left:unset;
10174
10175
  margin-right:var(--description-margin);
10175
10176
  }
10176
- .bp_switch_module_option--4da80 .bp_switch_module_thumb--4da80{
10177
+ .bp_switch_module_option--9f3e1 .bp_switch_module_thumb--9f3e1{
10177
10178
  background-color:var(--thumb-bg);
10178
10179
  border:var(--thumb-border);
10179
10180
  border-radius:var(--thumb-radius);
@@ -10185,11 +10186,12 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10185
10186
  width:var(--thumb-width);
10186
10187
  will-change:transform;
10187
10188
  }
10188
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80{
10189
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1{
10189
10190
  all:unset;
10190
10191
  align-items:center;
10191
10192
  background-color:var(--switch-bg-off);
10192
10193
  border-radius:var(--switch-radius);
10194
+ box-sizing:border-box;
10193
10195
  display:flex;
10194
10196
  flex-shrink:0;
10195
10197
  height:var(--switch-height);
@@ -10200,31 +10202,31 @@ div[data-radix-popper-content-wrapper]:has([role=menu]):has([data-state=open]):h
10200
10202
  width:var(--switch-width);
10201
10203
  will-change:transition;
10202
10204
  }
10203
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80:disabled{
10205
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1:disabled{
10204
10206
  opacity:var(--switch-disabled-opacity);
10205
10207
  }
10206
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80.bp_switch_module_rightAlign--4da80{
10208
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1.bp_switch_module_rightAlign--9f3e1{
10207
10209
  margin-left:var(--switch-margin-left);
10208
10210
  margin-right:unset;
10209
10211
  }
10210
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80:focus-visible{
10212
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1:focus-visible{
10211
10213
  background-color:var(--switch-bg-off-hover);
10212
10214
  box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--switch-outline);
10213
10215
  }
10214
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80:hover:not(:disabled){
10216
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1:hover:not(:disabled){
10215
10217
  background-color:var(--switch-bg-off-hover);
10216
10218
  }
10217
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80[aria-checked=true]{
10219
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1[aria-checked=true]{
10218
10220
  background-color:var(--switch-bg-on);
10219
10221
  }
10220
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80[aria-checked=true] .bp_switch_module_thumb--4da80{
10221
- transform:translateX(calc(var(--switch-width) - var(--thumb-width)));
10222
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1[aria-checked=true] .bp_switch_module_thumb--9f3e1{
10223
+ transform:var(--thumb-transform);
10222
10224
  }
10223
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80[aria-checked=true]:focus-visible{
10225
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1[aria-checked=true]:focus-visible{
10224
10226
  background-color:var(--switch-bg-on-hover);
10225
10227
  box-shadow:0 0 0 var(--border-1, 1px) var(--background-background), 0 0 0 var(--border-3) var(--switch-outline);
10226
10228
  }
10227
- .bp_switch_module_option--4da80 .bp_switch_module_switch--4da80[aria-checked=true]:hover:not(:disabled){
10229
+ .bp_switch_module_option--9f3e1 .bp_switch_module_switch--9f3e1[aria-checked=true]:hover:not(:disabled){
10228
10230
  background-color:var(--switch-bg-on-hover);
10229
10231
  }
10230
10232
 
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"option":"bp_switch_module_option--4da80","label":"bp_switch_module_label--4da80","rightAlign":"bp_switch_module_rightAlign--4da80","switch":"bp_switch_module_switch--4da80","description":"bp_switch_module_description--4da80","thumb":"bp_switch_module_thumb--4da80"};
2
+ var styles = {"option":"bp_switch_module_option--9f3e1","label":"bp_switch_module_label--9f3e1","rightAlign":"bp_switch_module_rightAlign--9f3e1","switch":"bp_switch_module_switch--9f3e1","description":"bp_switch_module_description--9f3e1","thumb":"bp_switch_module_thumb--9f3e1"};
3
3
 
4
4
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.92.2",
3
+ "version": "12.92.3",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {