@carbon/element-styles 0.3.2 → 0.3.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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/element-styles",
|
|
3
3
|
"description": "An experimental styling system for native HTML elements, relying on semantic, attribute-focused selectors instead of class names.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.3",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sass": "index.scss",
|
|
@@ -28,9 +28,10 @@
|
|
|
28
28
|
"postinstall": "ibmtelemetry --config=telemetry.yml",
|
|
29
29
|
"dev": "vite docs",
|
|
30
30
|
"build": "npm run build:icons && npm run build:prebuilts && npm run build:docs",
|
|
31
|
+
"build:scss-docs": "node tasks/build-scss-docs.ts",
|
|
31
32
|
"build:icons": "node tasks/build-icons.ts",
|
|
32
33
|
"build:prebuilts": "node tasks/build-prebuilts.ts",
|
|
33
|
-
"build:docs": "vite build docs"
|
|
34
|
+
"build:docs": "npm run build:scss-docs && vite build docs"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@ibm/telemetry-js": "^1.11.0"
|
|
@@ -40,6 +41,8 @@
|
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
43
|
"@carbon/icons": "^11.77.0",
|
|
44
|
+
"@types/node": "^26.1.1",
|
|
45
|
+
"marked": "^18.0.6",
|
|
43
46
|
"sass": "^1.98.0",
|
|
44
47
|
"vite": "^8.0.3"
|
|
45
48
|
}
|
|
@@ -22,7 +22,7 @@ $-default-config: (
|
|
|
22
22
|
|
|
23
23
|
/// @group radio-button
|
|
24
24
|
/// @param {Map} config [()]
|
|
25
|
-
/// @param {Selector} config.selector ['
|
|
25
|
+
/// @param {Selector} config.selector ['label:has(input[type="radio"])']
|
|
26
26
|
@mixin styles($config: $config) {
|
|
27
27
|
$props: map.deep-merge($-default-config, $config);
|
|
28
28
|
|
|
@@ -133,6 +133,13 @@ $-default-config: (
|
|
|
133
133
|
display: none;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
+
& li[role="separator"] {
|
|
137
|
+
block-size: 0.0625rem;
|
|
138
|
+
background-color: theme.$border-subtle;
|
|
139
|
+
margin-block: spacing.$spacing-03;
|
|
140
|
+
margin-inline: layout.$density--padding;
|
|
141
|
+
}
|
|
142
|
+
|
|
136
143
|
& + main,
|
|
137
144
|
& + main + footer {
|
|
138
145
|
margin-inline-start: 16rem;
|