@carbon/styles 1.45.0-rc.0 → 1.45.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/css/styles.css +17 -0
- package/css/styles.min.css +1 -1
- package/package.json +2 -2
- package/scss/components/tag/_tag.scss +17 -0
- package/scss/components/tile/_tile.scss +4 -0
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.45.0
|
|
4
|
+
"version": "1.45.0",
|
|
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": "670dffcae241d9bf9b3a64ea06e100e7e5a08c37"
|
|
69
69
|
}
|
|
@@ -268,6 +268,23 @@
|
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
// Slug styles
|
|
272
|
+
.#{$prefix}--tag .#{$prefix}--slug .#{$prefix}--slug__button--inline {
|
|
273
|
+
color: currentColor;
|
|
274
|
+
margin-inline-start: convert.to-rem(1px);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.#{$prefix}--tag
|
|
278
|
+
.#{$prefix}--slug
|
|
279
|
+
.#{$prefix}--slug__button--inline
|
|
280
|
+
.#{$prefix}--slug__text::before {
|
|
281
|
+
background-color: currentColor;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.#{$prefix}--tag .#{$prefix}--slug .#{$prefix}--slug__button--inline:hover {
|
|
285
|
+
border-color: currentColor;
|
|
286
|
+
}
|
|
287
|
+
|
|
271
288
|
// Windows HCM fix
|
|
272
289
|
/* stylelint-disable */
|
|
273
290
|
.#{$prefix}--tag {
|
|
@@ -470,6 +470,10 @@ $-icon-container-size: calc(#{layout.density('padding-inline')} * 2 + 1rem);
|
|
|
470
470
|
border-radius: $spacing-05;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
|
+
.#{$prefix}--tile--slug-rounded .#{$prefix}--tile__chevron {
|
|
474
|
+
border-end-end-radius: $spacing-05;
|
|
475
|
+
}
|
|
476
|
+
|
|
473
477
|
// Windows HCM fix
|
|
474
478
|
.#{$prefix}--tile__chevron svg,
|
|
475
479
|
.#{$prefix}--tile__checkmark svg,
|