@carbon/styles 1.41.1 → 1.41.2
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.41.
|
|
4
|
+
"version": "1.41.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"scss/**/*.css",
|
|
66
66
|
"css/**/*.css"
|
|
67
67
|
],
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "a4709f9f15fd713e910528118e5192faf5a48985"
|
|
69
69
|
}
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
block-size: convert.to-rem(2px);
|
|
147
147
|
content: '';
|
|
148
148
|
inline-size: convert.to-rem(6px);
|
|
149
|
-
inset-block-start: calc(50% - #{convert.to-rem(2px)
|
|
149
|
+
inset-block-start: calc(50% - #{convert.to-rem(2px) * 0.5});
|
|
150
150
|
inset-inline-end: 0;
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -309,7 +309,7 @@ $sizes: (
|
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
// Slug callout styles
|
|
312
|
-
.#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--
|
|
312
|
+
.#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--slug-content {
|
|
313
313
|
border: 1px solid $border-subtle;
|
|
314
314
|
border-radius: 16px;
|
|
315
315
|
// 84px seems to make this fully opaque?
|
|
@@ -334,13 +334,44 @@ $sizes: (
|
|
|
334
334
|
min-inline-size: convert.to-rem(280px);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
.#{$prefix}--slug.#{$prefix}--slug--enabled
|
|
337
|
+
.#{$prefix}--slug.#{$prefix}--slug--enabled
|
|
338
|
+
> .#{$prefix}--toggletip
|
|
339
|
+
> .#{$prefix}--popover
|
|
340
|
+
> .#{$prefix}--popover-caret {
|
|
338
341
|
background: $border-subtle;
|
|
339
342
|
}
|
|
340
343
|
|
|
341
344
|
.#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--toggletip-content {
|
|
345
|
+
// This sets the max size to the size of the action bar with 3 buttons
|
|
346
|
+
max-inline-size: convert.to-rem(334px);
|
|
342
347
|
padding-block-end: convert.to-rem(80px);
|
|
343
348
|
padding-block-start: convert.to-rem(32px);
|
|
344
349
|
padding-inline: convert.to-rem(32px);
|
|
345
350
|
}
|
|
351
|
+
|
|
352
|
+
.#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--slug-actions {
|
|
353
|
+
position: absolute;
|
|
354
|
+
justify-content: flex-end;
|
|
355
|
+
background: $layer-accent;
|
|
356
|
+
border-end-end-radius: convert.to-rem(15px);
|
|
357
|
+
border-end-start-radius: convert.to-rem(15px);
|
|
358
|
+
column-gap: 0;
|
|
359
|
+
inline-size: 100%;
|
|
360
|
+
inset-block-end: 0;
|
|
361
|
+
inset-inline-end: 0;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.#{$prefix}--slug.#{$prefix}--slug--enabled
|
|
365
|
+
.#{$prefix}--slug-actions
|
|
366
|
+
.#{$prefix}--btn:focus {
|
|
367
|
+
border-color: $focus;
|
|
368
|
+
box-shadow: inset 0 0 0 1px $focus, inset 0 0 0 2px $background;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.#{$prefix}--slug.#{$prefix}--slug--enabled
|
|
372
|
+
.#{$prefix}--slug-actions
|
|
373
|
+
.#{$prefix}--btn--primary {
|
|
374
|
+
order: 1;
|
|
375
|
+
border-end-end-radius: convert.to-rem(16px);
|
|
376
|
+
}
|
|
346
377
|
}
|