@bpmn-io/form-js-carbon-styles 1.1.0 → 1.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-carbon-styles",
3
- "version": "1.1.0",
3
+ "version": "1.3.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,7 +20,7 @@
20
20
  "url": "https://github.com/bpmn-io"
21
21
  },
22
22
  "devDependencies": {
23
- "@bpmn-io/form-js-viewer": "^1.1.0",
23
+ "@bpmn-io/form-js-viewer": "^1.3.0",
24
24
  "@carbon/elements": "^11.19.1",
25
25
  "@types/styled-components": "^5.1.26",
26
26
  "styled-components": "^6.0.0"
@@ -32,5 +32,5 @@
32
32
  "files": [
33
33
  "src"
34
34
  ],
35
- "gitHead": "6bfb194e07fe44d3309744507f9f874cf8e94169"
35
+ "gitHead": "f7cc5395b19de74eb7d9183af38dc462170a6179"
36
36
  }
@@ -388,7 +388,7 @@ const LABEL_DESCRIPTION_ERROR_STYLES = css`
388
388
  letter-spacing: var(--cds-label-01-letter-spacing);
389
389
  }
390
390
 
391
- .fjs-form-field:not(.fjs-form-field-checkbox)
391
+ .fjs-form-field:not(.fjs-form-field-checkbox, .fjs-form-field-group)
392
392
  .fjs-form-field-label:first-child {
393
393
  margin: 0;
394
394
  margin-bottom: var(--cds-spacing-03);
@@ -1156,14 +1156,6 @@ const CARBON_STYLES = css`
1156
1156
  padding: 0;
1157
1157
  }
1158
1158
 
1159
- .fjs-layout-column:first-of-type .fjs-form-field {
1160
- margin-left: 0;
1161
- }
1162
-
1163
- .fjs-layout-column:last-of-type .fjs-form-field {
1164
- margin-right: 0;
1165
- }
1166
-
1167
1159
  @media (width < 66rem) {
1168
1160
  // Carbon lg width breakpoint
1169
1161
  .fjs-layout-column .fjs-form-field {