@box/blueprint-web 12.47.0 → 12.48.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.
@@ -161,56 +161,85 @@
161
161
  }
162
162
  }
163
163
 
164
- .bp_loading_indicator_module_crawler--03792{
164
+ .bp_loading_indicator_module_crawler--47d03[data-modern=false]{
165
+ --loading-indicator-medium-size:1.5rem;
166
+ --loading-indicator-segment-width:0.125rem;
167
+ --loading-indicator-segment-height:0.625rem;
168
+ --loading-indicator-segment-border-radius:0.375rem;
169
+ --loading-indicator-segment-margin-left:0.125rem;
170
+ --loading-indicator-segment-offset:0.5rem;
171
+ --loading-indicator-segment-default-background:var(--box-blue-100);
172
+ --loading-indicator-segment-default-background-opacity-30:var(--box-blue-30);
173
+ --loading-indicator-segment-dark-background:var(--gray-black);
174
+ --loading-indicator-segment-dark-background-opacity-30:var(--gray-30);
175
+ --loading-indicator-segment-light-background:var(--gray-white);
176
+ --loading-indicator-segment-light-background-opacity-30:var(--white-opacity-30);
177
+ }
178
+
179
+ .bp_loading_indicator_module_crawler--47d03[data-modern=true]{
180
+ --loading-indicator-medium-size:1.5rem;
181
+ --loading-indicator-segment-width:0.125rem;
182
+ --loading-indicator-segment-height:0.625rem;
183
+ --loading-indicator-segment-border-radius:var(--bp-radius-12);
184
+ --loading-indicator-segment-margin-left:0.125rem;
185
+ --loading-indicator-segment-offset:0.5rem;
186
+ --loading-indicator-segment-default-background:var(--bp-surface-loading-indicator-surface);
187
+ --loading-indicator-segment-default-background-opacity-30:var(--bp-surface-loading-indicator-surface-tertiary);
188
+ --loading-indicator-segment-dark-background:var(--bp-surface-loading-indicator-surface-on-light);
189
+ --loading-indicator-segment-dark-background-opacity-30:var(--bp-surface-loading-indicator-surface-on-light-tertiary);
190
+ --loading-indicator-segment-light-background:var(--bp-surface-loading-indicator-surface-on-dark);
191
+ --loading-indicator-segment-light-background-opacity-30:var(--bp-surface-loading-indicator-surface-on-dark-tertiary);
192
+ }
193
+
194
+ .bp_loading_indicator_module_crawler--47d03{
165
195
  align-items:center;
166
196
  display:flex;
167
- height:1.5rem;
197
+ height:var(--loading-indicator-medium-size);
168
198
  justify-content:center;
169
199
  left:0;
170
200
  margin:0 auto;
171
201
  position:absolute;
172
202
  right:0;
173
203
  white-space:nowrap;
174
- width:1.5rem;
204
+ width:var(--loading-indicator-medium-size);
175
205
  }
176
- .bp_loading_indicator_module_crawler--03792 .bp_loading_indicator_module_segment--03792{
177
- border-radius:.375rem;
206
+ .bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03{
207
+ border-radius:var(--loading-indicator-segment-border-radius);
178
208
  display:inline-block;
179
- height:.625rem;
180
- width:.125rem;
209
+ height:var(--loading-indicator-segment-height);
210
+ width:var(--loading-indicator-segment-width);
181
211
  }
182
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_small--03792{
212
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_small--47d03{
183
213
  transform:scale(.6667);
184
214
  }
185
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_large--03792{
215
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_large--47d03{
186
216
  transform:scale(1.3334);
187
217
  }
188
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_x-large--03792{
218
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_x-large--47d03{
189
219
  transform:scale(2);
190
220
  }
191
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_default--03792 .bp_loading_indicator_module_segment--03792{
192
- animation:bp_loading_indicator_module_segment-transform--03792 .66s ease-in-out infinite,bp_loading_indicator_module_segment-default--03792 .66s ease-in-out infinite;
221
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_default--47d03 .bp_loading_indicator_module_segment--47d03{
222
+ animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-default--47d03 .66s ease-in-out infinite;
193
223
  }
194
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_dark--03792 .bp_loading_indicator_module_segment--03792{
195
- animation:bp_loading_indicator_module_segment-transform--03792 .66s ease-in-out infinite,bp_loading_indicator_module_segment-dark--03792 .66s ease-in-out infinite;
224
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_dark--47d03 .bp_loading_indicator_module_segment--47d03{
225
+ animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-dark--47d03 .66s ease-in-out infinite;
196
226
  }
197
- .bp_loading_indicator_module_crawler--03792.bp_loading_indicator_module_light--03792 .bp_loading_indicator_module_segment--03792{
198
- animation:bp_loading_indicator_module_segment-transform--03792 .66s ease-in-out infinite,bp_loading_indicator_module_segment-light--03792 .66s ease-in-out infinite;
199
- background-color:var(--gray-white);
227
+ .bp_loading_indicator_module_crawler--47d03.bp_loading_indicator_module_light--47d03 .bp_loading_indicator_module_segment--47d03{
228
+ animation:bp_loading_indicator_module_segment-transform--47d03 .66s ease-in-out infinite,bp_loading_indicator_module_segment-light--47d03 .66s ease-in-out infinite;
200
229
  }
201
230
 
202
- .bp_loading_indicator_module_crawler--03792 .bp_loading_indicator_module_segment--03792:nth-child(2){
231
+ .bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03:nth-child(2){
203
232
  animation-delay:.1s;
204
- margin-left:.125rem;
233
+ margin-left:var(--loading-indicator-segment-margin-left);
205
234
  }
206
235
 
207
- .bp_loading_indicator_module_crawler--03792 .bp_loading_indicator_module_segment--03792:last-child{
236
+ .bp_loading_indicator_module_crawler--47d03 .bp_loading_indicator_module_segment--47d03:last-child{
208
237
  animation-delay:.2s;
209
- left:.5rem;
210
- margin-left:.125rem;
238
+ left:var(--loading-indicator-segment-offset);
239
+ margin-left:var(--loading-indicator-segment-margin-left);
211
240
  }
212
241
 
213
- @keyframes bp_loading_indicator_module_segment-transform--03792{
242
+ @keyframes bp_loading_indicator_module_segment-transform--47d03{
214
243
  0%,100%,80%{
215
244
  transform:scaleY(1.2);
216
245
  }
@@ -218,28 +247,28 @@
218
247
  transform:scaleY(1.6);
219
248
  }
220
249
  }
221
- @keyframes bp_loading_indicator_module_segment-dark--03792{
250
+ @keyframes bp_loading_indicator_module_segment-dark--47d03{
222
251
  0%,100%,80%{
223
- background-color:var(--gray-30);
252
+ background-color:var(--loading-indicator-segment-dark-background-opacity-30);
224
253
  }
225
254
  40%{
226
- background-color:var(--gray-black);
255
+ background-color:var(--loading-indicator-segment-dark-background);
227
256
  }
228
257
  }
229
- @keyframes bp_loading_indicator_module_segment-default--03792{
230
- 0%,100%,80%{
231
- background-color:var(--box-blue-30);
258
+ @keyframes bp_loading_indicator_module_segment-default--47d03{
259
+ 0%,100%{
260
+ background-color:var(--loading-indicator-segment-default-background-opacity-30);
232
261
  }
233
262
  40%{
234
- background-color:var(--box-blue-100);
263
+ background-color:var(--loading-indicator-segment-default-background);
235
264
  }
236
265
  }
237
- @keyframes bp_loading_indicator_module_segment-light--03792{
266
+ @keyframes bp_loading_indicator_module_segment-light--47d03{
238
267
  0%,100%,80%{
239
- opacity:.3;
268
+ background-color:var(--loading-indicator-segment-light-background-opacity-30);
240
269
  }
241
270
  40%{
242
- opacity:1;
271
+ background-color:var(--loading-indicator-segment-light-background);
243
272
  }
244
273
  }
245
274
  .bp_base_button_module_button--77a2c[data-modern=true]{
@@ -6090,65 +6119,144 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
6090
6119
  .bp_base_text_input_module_textInputContainerOuter--74c72 .bp_base_text_input_module_inlineError--74c72,.bp_base_text_input_module_textInputContainerOuter--74c72 .bp_base_text_input_module_subtext--74c72{
6091
6120
  margin-block-start:var(--text-input-inline-error-subtext-block-margin);
6092
6121
  }
6093
- .bp_chip_module_chip--96f83{
6122
+ .bp_chip_module_chip--d54cf[data-modern=false]{
6123
+ --chip-gap:var(--space-2);
6124
+ --chip-height:var(--size-8);
6125
+ --chip-radius:var(--radius-half);
6126
+ --chip-padding-inline:0;
6127
+ --chip-label-inline-padding:var(--space-4);
6128
+ --chip-item-inline-padding:var(--space-2);
6129
+ --chip-status-gap:var(--space-2);
6130
+ --chip-status-height:var(--size-5);
6131
+ --chip-status-padding:var(--space-2);
6132
+ --chip-status-background-default:var(--gray-10);
6133
+ --chip-status-radius:var(--radius-half);
6134
+ --chip-button-background:var(--surface-chip-button-surface);
6135
+ --chip-button-background-hover:var(--surface-chip-button-surface-hover);
6136
+ --chip-button-status-text-color:var(--text-text-on-dark);
6137
+ --chip-button-status-background:var(--box-blue-100);
6138
+ --chip-button-focus-box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6139
+ --chip-button-outline-width:var(--border-2);
6140
+ --chip-button-outline-color:var(--outline-focus-on-light);
6141
+ --chip-single-select-background:var(--surface-filterchip-surface-single);
6142
+ --chip-single-select-background-hover:var(--surface-filterchip-surface-single-hover);
6143
+ --chip-single-select-background-selected:var(--surface-filterchip-surface-single-on);
6144
+ --chip-single-select-background-selected-hover:var(--surface-filterchip-surface-single-on-hover);
6145
+ --chip-single-select-text-color-selected:var(--text-text-on-dark);
6146
+ --chip-single-select-status-text-color-selected:var(--text-text-on-light);
6147
+ --chip-multi-select-background:var(--surface-filterchip-surface-multi);
6148
+ --chip-multi-select-background-hover:var(--surface-filterchip-surface-multi-hover);
6149
+ --chip-multi-select-background-selected:var(--surface-filterchip-surface-multi-on);
6150
+ --chip-multi-select-background-selected-hover:var(--surface-filterchip-surface-multi-on-hover);
6151
+ --chip-multi-select-text-color-selected:var(--text-cta-link);
6152
+ --chip-multi-select-status-text-color-selected:var(--text-text-on-dark);
6153
+ --chip-multi-select-status-background-selected:var(--box-blue-100);
6154
+ --chip-multi-select-icon-color:var(--icon-icon-on-light);
6155
+ --chip-multi-select-border-selected:var(--border-1) solid var(--border-filterchip-border-multi-on);
6156
+ --chip-multi-select-border-color-selected:var(--border-filterchip-border-multi-on);
6157
+ --chip-multi-select-focus-border-selected:var(--border-1) solid var(--gray-white);
6158
+ }
6159
+
6160
+ .bp_chip_module_chip--d54cf[data-modern=true]{
6161
+ --chip-gap:var(--bp-space-020);
6162
+ --chip-height:var(--bp-size-080);
6163
+ --chip-radius:var(--bp-radius-16);
6164
+ --chip-padding-inline:var(--bp-space-000);
6165
+ --chip-label-inline-padding:var(--bp-space-040);
6166
+ --chip-item-inline-padding:var(--bp-space-020);
6167
+ --chip-status-gap:var(--bp-space-020);
6168
+ --chip-status-height:var(--bp-size-050);
6169
+ --chip-status-padding:var(--bp-space-020);
6170
+ --chip-status-background-default:var(--bp-surface-status-surface-gray);
6171
+ --chip-status-radius:var(--bp-radius-16);
6172
+ --chip-button-background:var(--bp-surface-chip-button-surface);
6173
+ --chip-button-background-hover:var(--bp-surface-chip-button-surface-hover);
6174
+ --chip-button-status-text-color:var(--bp-text-text-on-dark);
6175
+ --chip-button-status-background:var(--bp-surface-status-surface-boxblue);
6176
+ --chip-button-focus-box-shadow:0 0 0 var(--bp-border-02) var(--bp-outline-focus-on-light);
6177
+ --chip-button-outline-width:var(--bp-border-02);
6178
+ --chip-button-outline-color:var(--bp-outline-focus-on-light);
6179
+ --chip-single-select-background:var(--bp-surface-filter-chip-surface-single);
6180
+ --chip-single-select-background-hover:var( --bp-surface-filter-chip-surface-single-hover);
6181
+ --chip-single-select-background-selected:var(--bp-surface-filter-chip-surface-single-on);
6182
+ --chip-single-select-background-selected-hover:var(--bp-surface-filter-chip-surface-single-on-hover);
6183
+ --chip-single-select-text-color-selected:var(--bp-text-text-on-dark);
6184
+ --chip-single-select-status-text-color-selected:var(--bp-text-text-on-light);
6185
+ --chip-multi-select-background:var(--bp-surface-filter-chip-surface-multi);
6186
+ --chip-multi-select-background-hover:var(--bp-surface-filter-chip-surface-multi-hover);
6187
+ --chip-multi-select-background-selected:var(--bp-surface-filter-chip-surface-multi-on);
6188
+ --chip-multi-select-background-selected-hover:var(--bp-surface-filter-chip-surface-multi-on-hover);
6189
+ --chip-multi-select-text-color-selected:var(--bp-text-cta-link);
6190
+ --chip-multi-select-status-text-color-selected:var(--bp-text-text-on-dark);
6191
+ --chip-multi-select-status-background-selected:var(--bp-surface-status-surface-boxblue);
6192
+ --chip-multi-select-icon-color:var(--bp-icon-icon-on-light);
6193
+ --chip-multi-select-border-selected:var(--bp-border-01) solid var(--bp-border-filter-chip-border-multi-on);
6194
+ --chip-multi-select-border-color-selected:var(--bp-border-filter-chip-border-multi-on);
6195
+ --chip-multi-select-focus-border-selected:var(--bp-border-01) solid var(--bp-gray-white);
6196
+ }
6197
+
6198
+ .bp_chip_module_chip--d54cf{
6094
6199
  align-items:center;
6095
6200
  border:none;
6096
- border-radius:var(--radius-half);
6201
+ border-radius:var(--chip-radius);
6097
6202
  cursor:pointer;
6098
6203
  display:flex;
6099
6204
  font-family:var(--body-default-bold-font-family);
6100
6205
  font-size:var(--body-default-bold-font-size);
6101
6206
  font-weight:var(--body-default-bold-font-weight);
6102
- gap:var(--space-2);
6103
- height:var(--size-8);
6207
+ gap:var(--chip-gap);
6208
+ height:var(--chip-height);
6104
6209
  letter-spacing:var(--body-default-bold-letter-spacing);
6105
6210
  line-height:var(--body-default-bold-line-height);
6106
- padding-inline:0;
6211
+ padding-inline:var(--chip-padding-inline);
6107
6212
  -webkit-text-decoration:var(--body-default-bold-text-decoration);
6108
6213
  text-decoration:var(--body-default-bold-text-decoration);
6109
6214
  text-transform:var(--body-default-bold-text-case);
6110
6215
  }
6111
- .bp_chip_module_chip--96f83 .bp_chip_module_labelText--96f83:first-child{
6112
- margin-inline-start:var(--space-4);
6216
+ .bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf:first-child{
6217
+ margin-inline-start:var(--chip-label-inline-padding);
6113
6218
  }
6114
- .bp_chip_module_chip--96f83 .bp_chip_module_labelText--96f83:last-child{
6115
- margin-inline-end:var(--space-4);
6219
+ .bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf:last-child{
6220
+ margin-inline-end:var(--chip-label-inline-padding);
6116
6221
  }
6117
- .bp_chip_module_chip--96f83 .bp_chip_module_chipStatus--96f83:first-child,.bp_chip_module_chip--96f83 svg:first-child{
6118
- margin-inline-start:var(--space-2);
6222
+ .bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf:first-child,.bp_chip_module_chip--d54cf svg:first-child{
6223
+ margin-inline-start:var(--chip-item-inline-padding);
6119
6224
  }
6120
- .bp_chip_module_chip--96f83 .bp_chip_module_chipStatus--96f83:last-child,.bp_chip_module_chip--96f83 svg:last-child{
6121
- margin-inline-end:var(--space-2);
6225
+ .bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf:last-child,.bp_chip_module_chip--d54cf svg:last-child{
6226
+ margin-inline-end:var(--chip-item-inline-padding);
6122
6227
  }
6123
- .bp_chip_module_chip--96f83:disabled{
6228
+ .bp_chip_module_chip--d54cf:disabled{
6124
6229
  cursor:default;
6125
6230
  pointer-events:none;
6126
6231
  }
6127
- .bp_chip_module_chip--96f83 .bp_chip_module_chipStatus--96f83{
6232
+ .bp_chip_module_chip--d54cf:disabled svg{
6233
+ opacity:.4;
6234
+ }
6235
+ .bp_chip_module_chip--d54cf .bp_chip_module_chipStatus--d54cf{
6128
6236
  align-items:center;
6129
- background-color:var(--gray-10);
6130
- border-radius:var(--radius-half);
6237
+ background-color:var(--chip-status-background-default);
6238
+ border-radius:var(--chip-status-radius);
6131
6239
  box-sizing:border-box;
6132
6240
  display:flex;
6133
6241
  flex-grow:0;
6134
6242
  font-family:var(--label-bold-font-family);
6135
6243
  font-size:var(--label-bold-font-size);
6136
6244
  font-weight:var(--label-bold-font-weight);
6137
- gap:var(--space-2);
6138
- height:var(--size-5);
6245
+ gap:var(--chip-status-gap);
6246
+ height:var(--chip-status-height);
6139
6247
  justify-content:center;
6140
6248
  letter-spacing:var(--label-bold-letter-spacing);
6141
6249
  line-height:var(--label-bold-line-height);
6142
- padding:var(--space-2);
6250
+ padding:var(--chip-status-padding);
6143
6251
  -webkit-text-decoration:var(--label-bold-text-decoration);
6144
6252
  text-decoration:var(--label-bold-text-decoration);
6145
6253
  text-transform:var(--label-bold-text-case);
6146
6254
  }
6147
- .bp_chip_module_chip--96f83 .bp_chip_module_labelText--96f83{
6255
+ .bp_chip_module_chip--d54cf .bp_chip_module_labelText--d54cf{
6148
6256
  white-space:nowrap;
6149
6257
  }
6150
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83{
6151
- background-color:var(--surface-chip-button-surface);
6258
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf{
6259
+ background-color:var(--chip-button-background);
6152
6260
  font-family:var(--body-default-font-family);
6153
6261
  font-size:var(--body-default-font-size);
6154
6262
  font-weight:var(--body-default-font-weight);
@@ -6158,52 +6266,51 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
6158
6266
  text-decoration:var(--body-default-text-decoration);
6159
6267
  text-transform:var(--body-default-text-case);
6160
6268
  }
6161
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83:focus-visible{
6162
- box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6269
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:focus-visible{
6270
+ box-shadow:0 0 0 var(--chip-button-outline-width) var(--chip-button-outline-width);
6163
6271
  outline:none;
6164
6272
  overflow:visible;
6165
6273
  }
6166
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83 .bp_chip_module_chipStatus--96f83{
6167
- background-color:var(--box-blue-100);
6168
- color:var(--text-text-on-dark);
6274
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf .bp_chip_module_chipStatus--d54cf{
6275
+ background-color:var(--chip-button-status-background);
6276
+ color:var(--chip-button-status-text-color);
6169
6277
  }
6170
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83:focus-visible,.bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83[data-active-item]{
6171
- box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6278
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf[data-active-item]{
6279
+ box-shadow:var(--chip-button-focus-box-shadow);
6172
6280
  outline:none;
6173
6281
  }
6174
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83:disabled{
6282
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled{
6175
6283
  pointer-events:none;
6176
6284
  }
6177
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83:disabled .bp_chip_module_chipStatus--96f83{
6285
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled .bp_chip_module_chipStatus--d54cf,.bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:disabled svg{
6178
6286
  opacity:.4;
6179
6287
  }
6180
- .bp_chip_module_chip--96f83.bp_chip_module_chipButton--96f83:hover:enabled{
6181
- background-color:var(--surface-chip-button-surface-hover);
6288
+ .bp_chip_module_chip--d54cf.bp_chip_module_chipButton--d54cf:hover:enabled{
6289
+ background-color:var(--chip-button-background-hover);
6182
6290
  }
6183
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83{
6184
- background-color:var(--surface-filterchip-surface-single);
6291
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf{
6292
+ background-color:var(--chip-single-select-background);
6185
6293
  }
6186
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83[data-state=on]{
6187
- background-color:var(--surface-filterchip-surface-single-on);
6188
- color:var(--text-text-on-dark);
6294
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on]{
6295
+ background-color:var(--chip-single-select-background-selected);
6296
+ color:var(--chip-single-select-text-color-selected);
6189
6297
  }
6190
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83[data-state=on]:hover{
6191
- background-color:var(--surface-filterchip-surface-single-on-hover);
6298
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on]:hover{
6299
+ background-color:var(--chip-single-select-background-selected-hover);
6192
6300
  }
6193
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83[data-state=on] .bp_chip_module_chipStatus--96f83{
6194
- color:var(--text-text-on-light);
6301
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-state=on] .bp_chip_module_chipStatus--d54cf{
6302
+ color:var(--chip-single-select-status-text-color-selected);
6195
6303
  }
6196
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83:focus-visible,.bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83[data-active-item]{
6304
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf[data-active-item]{
6197
6305
  box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6198
6306
  outline:var(--border-1) solid var(--gray-white);
6199
6307
  outline-offset:calc(var(--border-1)*-1);
6200
6308
  }
6201
- .bp_chip_module_chip--96f83.bp_chip_module_singleSelectChip--96f83:hover:not([data-state=on]){
6202
- background-color:var(--surface-filterchip-surface-single-hover);
6309
+ .bp_chip_module_chip--d54cf.bp_chip_module_singleSelectChip--d54cf:hover:not([data-state=on]){
6310
+ background-color:var(--chip-single-select-background-hover);
6203
6311
  }
6204
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83{
6205
- background-color:var(--surface-filterchip-surface-multi);
6206
- border:var(--border-1) solid var(--surface-filterchip-surface-multi);
6312
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf{
6313
+ background-color:var(--chip-multi-select-background);
6207
6314
  font-family:var(--body-default-font-family);
6208
6315
  font-size:var(--body-default-font-size);
6209
6316
  font-weight:var(--body-default-font-weight);
@@ -6213,13 +6320,13 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
6213
6320
  text-decoration:var(--body-default-text-decoration);
6214
6321
  text-transform:var(--body-default-text-case);
6215
6322
  }
6216
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83 path{
6217
- fill:var(--icon-icon-on-light);
6323
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf path{
6324
+ fill:var(--chip-multi-select-icon-color);
6218
6325
  }
6219
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on]{
6220
- background-color:var(--surface-filterchip-surface-multi-on);
6221
- border:var(--border-1) solid var(--border-filterchip-border-multi-on);
6222
- color:var(--text-cta-link);
6326
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]{
6327
+ background-color:var(--chip-multi-select-background-selected);
6328
+ border:var(--chip-multi-select-border-selected);
6329
+ color:var(--chip-multi-select-text-color-selected);
6223
6330
  font-family:var(--body-default-bold-font-family);
6224
6331
  font-size:var(--body-default-bold-font-size);
6225
6332
  font-weight:var(--body-default-bold-font-weight);
@@ -6229,32 +6336,31 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
6229
6336
  text-decoration:var(--body-default-bold-text-decoration);
6230
6337
  text-transform:var(--body-default-bold-text-case);
6231
6338
  }
6232
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on] path{
6233
- fill:var(--text-cta-link);
6339
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on] path{
6340
+ fill:var(--chip-multi-select-text-color-selected);
6234
6341
  }
6235
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on]:hover{
6236
- background-color:var(--surface-filterchip-surface-multi-on-hover);
6342
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]:hover{
6343
+ background-color:var(--chip-multi-select-background-selected-hover);
6237
6344
  }
6238
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on]:focus-visible,.bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on][data-active-item]{
6239
- border:var(--border-1) solid var(--gray-white);
6345
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on]:focus-visible,.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on][data-active-item]{
6346
+ border:var(--chip-multi-select-focus-border-selected);
6240
6347
  box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6241
- outline:var(--border-1) solid var(--border-filterchip-border-multi-on);
6348
+ outline:var(--border-1) solid var(--chip-multi-select-border-color-selected);
6242
6349
  outline-offset:calc(var(--border-2)*-1);
6243
6350
  }
6244
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-state=on] .bp_chip_module_chipStatus--96f83{
6245
- background-color:var(--box-blue-100);
6246
- color:var(--text-text-on-dark);
6351
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-state=on] .bp_chip_module_chipStatus--d54cf{
6352
+ background-color:var(--chip-multi-select-status-background-selected);
6353
+ color:var(--chip-multi-select-status-text-color-selected);
6247
6354
  }
6248
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83:focus-visible:not([data-state=on]),.bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83[data-active-item]:not([data-state=on]){
6355
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf:focus-visible:not([data-state=on]),.bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf[data-active-item]:not([data-state=on]){
6249
6356
  box-shadow:0 0 0 var(--border-2) var(--outline-focus-on-light);
6250
6357
  outline:var(--border-1) solid var(--gray-white);
6251
6358
  outline-offset:calc(var(--border-1)*-1);
6252
6359
  }
6253
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83:hover:not([data-state=on]){
6254
- background-color:var(--surface-filterchip-surface-multi-hover);
6255
- border:var(--border-1) solid var(--surface-filterchip-surface-multi-hover);
6360
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf:hover:not([data-state=on]){
6361
+ background-color:var(--chip-multi-select-background-hover);
6256
6362
  }
6257
- .bp_chip_module_chip--96f83.bp_chip_module_multiSelectChip--96f83 span::before{
6363
+ .bp_chip_module_chip--d54cf.bp_chip_module_multiSelectChip--d54cf span::before{
6258
6364
  content:attr(data-text);
6259
6365
  display:block;
6260
6366
  font-family:var(--body-default-bold-font-family);
@@ -6270,20 +6376,30 @@ table.bp_inline_table_module_inlineTable--7cffa tr:not(:last-child) td{
6270
6376
  visibility:hidden;
6271
6377
  }
6272
6378
 
6273
- .bp_chip_module_chipsGroup--96f83{
6379
+ .bp_chip_module_chipsGroup--d54cf[data-modern=false]{
6380
+ --chips-group-gap:var(--space-2);
6381
+ --chips-group-small-screen-padding:var(--space-5);
6382
+ }
6383
+
6384
+ .bp_chip_module_chipsGroup--d54cf[data-modern=true]{
6385
+ --chips-group-gap:var(--bp-space-020);
6386
+ --chips-group-small-screen-padding:var(--bp-space-050);
6387
+ }
6388
+
6389
+ .bp_chip_module_chipsGroup--d54cf{
6274
6390
  display:flex;
6275
6391
  flex-wrap:wrap;
6276
- gap:var(--space-2);
6392
+ gap:var(--chips-group-gap);
6277
6393
  }
6278
6394
  @media (max-width: 767px){
6279
- .bp_chip_module_chipsGroup--96f83{
6395
+ .bp_chip_module_chipsGroup--d54cf{
6280
6396
  -ms-overflow-style:none;
6281
6397
  flex-wrap:nowrap;
6282
6398
  overflow-x:scroll;
6283
- padding:var(--space-05);
6399
+ padding:var(--chips-group-small-screen-padding);
6284
6400
  scrollbar-width:none;
6285
6401
  }
6286
- .bp_chip_module_chipsGroup--96f83::-webkit-scrollbar{
6402
+ .bp_chip_module_chipsGroup--d54cf::-webkit-scrollbar{
6287
6403
  display:none;
6288
6404
  }
6289
6405
  }
@@ -1,5 +1,7 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { clsx } from 'clsx';
3
+ import 'react';
4
+ import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
3
5
  import styles from './loading-indicator.module.js';
4
6
 
5
7
  function LoadingIndicator(props) {
@@ -11,11 +13,15 @@ function LoadingIndicator(props) {
11
13
  className = '',
12
14
  ...rest
13
15
  } = props;
16
+ const {
17
+ enableModernizedComponents
18
+ } = useBlueprintModernization();
14
19
  return jsxs("div", {
15
20
  ...rest,
16
21
  "aria-label": ariaLabel,
17
22
  "aria-live": ariaLive,
18
23
  className: clsx(styles.crawler, styles[variant], styles[size], className),
24
+ "data-modern": enableModernizedComponents,
19
25
  role: "status",
20
26
  children: [jsx("div", {
21
27
  className: styles.segment
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"crawler":"bp_loading_indicator_module_crawler--03792","segment":"bp_loading_indicator_module_segment--03792","small":"bp_loading_indicator_module_small--03792","large":"bp_loading_indicator_module_large--03792","x-large":"bp_loading_indicator_module_x-large--03792","default":"bp_loading_indicator_module_default--03792","segment-transform":"bp_loading_indicator_module_segment-transform--03792","segment-default":"bp_loading_indicator_module_segment-default--03792","dark":"bp_loading_indicator_module_dark--03792","segment-dark":"bp_loading_indicator_module_segment-dark--03792","light":"bp_loading_indicator_module_light--03792","segment-light":"bp_loading_indicator_module_segment-light--03792"};
2
+ var styles = {"crawler":"bp_loading_indicator_module_crawler--47d03","segment":"bp_loading_indicator_module_segment--47d03","small":"bp_loading_indicator_module_small--47d03","large":"bp_loading_indicator_module_large--47d03","x-large":"bp_loading_indicator_module_x-large--47d03","default":"bp_loading_indicator_module_default--47d03","segment-transform":"bp_loading_indicator_module_segment-transform--47d03","segment-default":"bp_loading_indicator_module_segment-default--47d03","dark":"bp_loading_indicator_module_dark--47d03","segment-dark":"bp_loading_indicator_module_segment-dark--47d03","light":"bp_loading_indicator_module_light--47d03","segment-light":"bp_loading_indicator_module_segment-light--47d03"};
3
3
 
4
4
  export { styles as default };
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as ToggleGroup from '@radix-ui/react-toggle-group';
3
3
  import clsx from 'clsx';
4
4
  import { forwardRef } from 'react';
5
+ import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
5
6
  import styles from './chip.module.js';
6
7
 
7
8
  const Chip = /*#__PURE__*/forwardRef((props, forwardedRef) => {
@@ -10,10 +11,14 @@ const Chip = /*#__PURE__*/forwardRef((props, forwardedRef) => {
10
11
  children,
11
12
  ...rest
12
13
  } = props;
14
+ const {
15
+ enableModernizedComponents
16
+ } = useBlueprintModernization();
13
17
  return jsx(ToggleGroup.Item, {
14
18
  ...rest,
15
19
  ref: forwardedRef,
16
20
  className: clsx(styles.chip, className),
21
+ "data-modern": enableModernizedComponents,
17
22
  children: children
18
23
  });
19
24
  });
@@ -1,4 +1,4 @@
1
1
  import '../../index.css';
2
- var styles = {"chip":"bp_chip_module_chip--96f83","labelText":"bp_chip_module_labelText--96f83","chipStatus":"bp_chip_module_chipStatus--96f83","chipButton":"bp_chip_module_chipButton--96f83","singleSelectChip":"bp_chip_module_singleSelectChip--96f83","multiSelectChip":"bp_chip_module_multiSelectChip--96f83","chipsGroup":"bp_chip_module_chipsGroup--96f83"};
2
+ var styles = {"chip":"bp_chip_module_chip--d54cf","labelText":"bp_chip_module_labelText--d54cf","chipStatus":"bp_chip_module_chipStatus--d54cf","chipButton":"bp_chip_module_chipButton--d54cf","singleSelectChip":"bp_chip_module_singleSelectChip--d54cf","multiSelectChip":"bp_chip_module_multiSelectChip--d54cf","chipsGroup":"bp_chip_module_chipsGroup--d54cf"};
3
3
 
4
4
  export { styles as default };
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import * as ToggleGroup from '@radix-ui/react-toggle-group';
3
3
  import clsx from 'clsx';
4
4
  import { forwardRef } from 'react';
5
+ import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
5
6
  import styles from './chip.module.js';
6
7
 
7
8
  /** Provides a container for Chips, this component handles keyboard navigation and chips selection state */
@@ -11,10 +12,14 @@ const ChipsGroup = /*#__PURE__*/forwardRef((props, forwardedRef) => {
11
12
  children,
12
13
  ...rest
13
14
  } = props;
15
+ const {
16
+ enableModernizedComponents
17
+ } = useBlueprintModernization();
14
18
  return jsx(ToggleGroup.Root, {
15
19
  ...rest,
16
20
  ref: forwardedRef,
17
21
  className: clsx([styles.chipsGroup, className]),
22
+ "data-modern": enableModernizedComponents,
18
23
  children: children
19
24
  });
20
25
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "12.47.0",
3
+ "version": "12.48.0",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {