@bpmn-io/form-js-carbon-styles 1.10.0 → 1.10.1
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 +5 -5
- package/src/carbon-styles.js +4 -5
- package/src/carbon-styles.scss +8 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bpmn-io/form-js-carbon-styles",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Custom carbon styles for form-js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"all": "run-s test",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"url": "https://github.com/bpmn-io"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@bpmn-io/form-js-viewer": "^1.10.
|
|
22
|
-
"@carbon/elements": "^11.
|
|
23
|
-
"styled-components": "^6.1.
|
|
21
|
+
"@bpmn-io/form-js-viewer": "^1.10.1",
|
|
22
|
+
"@carbon/elements": "^11.52.0",
|
|
23
|
+
"styled-components": "^6.1.13"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"src"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "4bc566fc163797bfce5df7d6544f271e4d44e1e2"
|
|
29
29
|
}
|
package/src/carbon-styles.js
CHANGED
|
@@ -301,8 +301,7 @@ const READONLY_STYLES = css`
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
&.fjs-checked .fjs-input[type='checkbox']
|
|
305
|
-
.fjs-form-field-label.fjs-checked .fjs-input[type='checkbox'] {
|
|
304
|
+
&.fjs-checked .fjs-input[type='checkbox'] {
|
|
306
305
|
&:before {
|
|
307
306
|
border: 1px solid var(--cds-icon-disabled);
|
|
308
307
|
background: transparent;
|
|
@@ -418,8 +417,8 @@ const LABEL_DESCRIPTION_ERROR_STYLES = css`
|
|
|
418
417
|
margin-bottom: var(--cds-spacing-03);
|
|
419
418
|
}
|
|
420
419
|
|
|
421
|
-
.fjs-form-field.fjs-form-field-radio .fjs-
|
|
422
|
-
.fjs-form-field.fjs-form-field-checklist .fjs-
|
|
420
|
+
.fjs-form-field.fjs-form-field-radio .fjs-inline-label,
|
|
421
|
+
.fjs-form-field.fjs-form-field-checklist .fjs-inline-label {
|
|
423
422
|
margin: 0;
|
|
424
423
|
margin-bottom: 0.1875rem;
|
|
425
424
|
}
|
|
@@ -515,7 +514,7 @@ const CHECKBOX_STYLES = css`
|
|
|
515
514
|
}
|
|
516
515
|
|
|
517
516
|
.fjs-form-field.fjs-checked .fjs-input[type='checkbox'],
|
|
518
|
-
.fjs-form-field .fjs-
|
|
517
|
+
.fjs-form-field .fjs-inline-label.fjs-checked .fjs-input[type='checkbox'] {
|
|
519
518
|
&:before {
|
|
520
519
|
border: none;
|
|
521
520
|
border-width: 1px;
|
package/src/carbon-styles.scss
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
|
|
67
67
|
// Themed icons /////////////
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
[data-carbon-theme='g10'] {
|
|
70
70
|
.fjs-container {
|
|
71
71
|
.fjs-form-field-number .fjs-input-group {
|
|
72
72
|
.fjs-number-arrow-container {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
[data-carbon-theme='g100'] {
|
|
118
118
|
.fjs-container {
|
|
119
119
|
.fjs-form-field-number .fjs-input-group {
|
|
120
120
|
.fjs-number-arrow-container {
|
|
@@ -408,8 +408,7 @@
|
|
|
408
408
|
}
|
|
409
409
|
}
|
|
410
410
|
|
|
411
|
-
&.fjs-checked .fjs-input[type='checkbox']
|
|
412
|
-
.fjs-form-field-label.fjs-checked .fjs-input[type='checkbox'] {
|
|
411
|
+
&.fjs-checked .fjs-input[type='checkbox'] {
|
|
413
412
|
&:before {
|
|
414
413
|
border: 1px solid var(--cds-icon-disabled);
|
|
415
414
|
background: transparent;
|
|
@@ -535,13 +534,13 @@
|
|
|
535
534
|
margin-bottom: var(--cds-spacing-03);
|
|
536
535
|
}
|
|
537
536
|
|
|
538
|
-
.fjs-form-field.fjs-form-field-radio .fjs-
|
|
539
|
-
.fjs-form-field.fjs-form-field-checklist .fjs-
|
|
537
|
+
.fjs-form-field.fjs-form-field-radio .fjs-inline-label,
|
|
538
|
+
.fjs-form-field.fjs-form-field-checklist .fjs-inline-label {
|
|
540
539
|
margin: 0;
|
|
541
540
|
margin-bottom: 0.1875rem;
|
|
542
541
|
}
|
|
543
542
|
|
|
544
|
-
.fjs-form-field.fjs-form-field-radio .fjs-
|
|
543
|
+
.fjs-form-field.fjs-form-field-radio .fjs-inline-label {
|
|
545
544
|
min-height: #{rem(27)};
|
|
546
545
|
}
|
|
547
546
|
|
|
@@ -632,7 +631,7 @@
|
|
|
632
631
|
}
|
|
633
632
|
|
|
634
633
|
.fjs-form-field.fjs-checked .fjs-input[type='checkbox'],
|
|
635
|
-
.fjs-form-field .fjs-
|
|
634
|
+
.fjs-form-field .fjs-inline-label.fjs-checked .fjs-input[type='checkbox'] {
|
|
636
635
|
&:before {
|
|
637
636
|
border: none;
|
|
638
637
|
border-width: 1px;
|
|
@@ -1269,7 +1268,7 @@
|
|
|
1269
1268
|
}
|
|
1270
1269
|
|
|
1271
1270
|
.fjs-table-th {
|
|
1272
|
-
color: var(--cds-
|
|
1271
|
+
color: var(--cds-text-primary);
|
|
1273
1272
|
font-size: var(--cds-heading-compact-01-font-size);
|
|
1274
1273
|
font-weight: var(--cds-heading-compact-01-font-weight);
|
|
1275
1274
|
line-height: var(--cds-heading-compact-01-line-height);
|