@bpmn-io/form-js-carbon-styles 1.0.0 → 1.1.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/package.json +4 -4
- package/src/carbon-styles.js +6 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-carbon-styles",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Custom carbon styles for form-js",
|
|
5
5
|
"main": "src/carbon-styles.js",
|
|
6
6
|
"types": "src/types/carbon-styles.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"url": "https://github.com/bpmn-io"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@bpmn-io/form-js-viewer": "^1.
|
|
23
|
+
"@bpmn-io/form-js-viewer": "^1.1.0",
|
|
24
24
|
"@carbon/elements": "^11.19.1",
|
|
25
25
|
"@types/styled-components": "^5.1.26",
|
|
26
|
-
"styled-components": "^
|
|
26
|
+
"styled-components": "^6.0.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@carbon/elements": ">=11",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"files": [
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "6bfb194e07fe44d3309744507f9f874cf8e94169"
|
|
36
36
|
}
|
package/src/carbon-styles.js
CHANGED
|
@@ -161,15 +161,14 @@ const ANCHOR_STYLES = css`
|
|
|
161
161
|
.fjs-container .fjs-form-field-text a {
|
|
162
162
|
color: var(--cds-link-primary);
|
|
163
163
|
outline: none;
|
|
164
|
-
text-decoration:
|
|
165
|
-
font-size:
|
|
166
|
-
font-weight:
|
|
167
|
-
line-height: var(--cds-body-
|
|
168
|
-
letter-spacing: var(--cds-body-
|
|
164
|
+
text-decoration: underline;
|
|
165
|
+
font-size: inherit;
|
|
166
|
+
font-weight: inherit;
|
|
167
|
+
line-height: var(--cds-body-compact-01-line-height);
|
|
168
|
+
letter-spacing: var(--cds-body-compact-01-letter-spacing);
|
|
169
169
|
|
|
170
170
|
&:hover {
|
|
171
171
|
color: var(--cds-link-primary-hover);
|
|
172
|
-
text-decoration: underline;
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
&:focus {
|
|
@@ -180,7 +179,6 @@ const ANCHOR_STYLES = css`
|
|
|
180
179
|
&:active:visited,
|
|
181
180
|
&:active:visited:hover {
|
|
182
181
|
color: var(--cds-text-primary);
|
|
183
|
-
text-decoration: underline;
|
|
184
182
|
}
|
|
185
183
|
|
|
186
184
|
&:visited {
|
|
@@ -926,7 +924,7 @@ const SELECT_STYLES = css`
|
|
|
926
924
|
}
|
|
927
925
|
|
|
928
926
|
.fjs-select-arrow {
|
|
929
|
-
|
|
927
|
+
color: transparent;
|
|
930
928
|
}
|
|
931
929
|
|
|
932
930
|
.fjs-select-cross {
|