@bpmn-io/form-js-carbon-styles 1.8.3 → 1.8.5

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.8.3",
3
+ "version": "1.8.5",
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.8.3",
21
+ "@bpmn-io/form-js-viewer": "^1.8.5",
22
22
  "@carbon/elements": "^11.33.1",
23
23
  "styled-components": "^6.1.1"
24
24
  },
25
25
  "files": [
26
26
  "src"
27
27
  ],
28
- "gitHead": "5b065bf91f29907ff39fee7f4252d639890bb84f"
28
+ "gitHead": "cc2823143bb6974e9c1355e4af494164122fd829"
29
29
  }
@@ -68,7 +68,7 @@ const MARKDOWN_STYLES = css`
68
68
  letter-spacing: var(--cds-body-long-01-letter-spacing);
69
69
  margin-bottom: var(--cds-spacing-05);
70
70
  }
71
-
71
+
72
72
  & h1 {
73
73
  font-size: var(--cds-productive-heading-06-font-size);
74
74
  font-weight: var(--cds-productive-heading-06-font-weight);
@@ -178,7 +178,7 @@ const MARKDOWN_STYLES = css`
178
178
  pre {
179
179
  margin-bottom: var(--cds-spacing-05);
180
180
  }
181
-
181
+
182
182
  div > :last-child {
183
183
  margin-bottom: 0;
184
184
  }
@@ -387,10 +387,7 @@ const DISABLED_STYLES = css`
387
387
  }
388
388
  }
389
389
 
390
- .fjs-form-field-datetime.fjs-disabled
391
- .fjs-input-group
392
- .fjs-input-adornment
393
- svg {
390
+ .fjs-form-field-datetime.fjs-disabled .fjs-input-group .fjs-input-adornment svg {
394
391
  color: var(--cds-icon-disabled);
395
392
  cursor: var(--cursor-disabled, not-allowed);
396
393
  }
@@ -416,22 +413,18 @@ const LABEL_DESCRIPTION_ERROR_STYLES = css`
416
413
  letter-spacing: var(--cds-label-01-letter-spacing);
417
414
  }
418
415
 
419
- .fjs-form-field:not(.fjs-form-field-checkbox, .fjs-form-field-grouplike)
420
- .fjs-form-field-label:first-child {
416
+ .fjs-form-field:not(.fjs-form-field-checkbox, .fjs-form-field-grouplike) .fjs-form-field-label:first-child {
421
417
  margin: 0;
422
418
  margin-bottom: var(--cds-spacing-03);
423
419
  }
424
420
 
425
- .fjs-form-field.fjs-form-field-radio
426
- .fjs-form-field-label:not(:first-of-type),
427
- .fjs-form-field.fjs-form-field-checklist
428
- .fjs-form-field-label:not(:first-of-type) {
421
+ .fjs-form-field.fjs-form-field-radio .fjs-form-field-label:not(:first-of-type),
422
+ .fjs-form-field.fjs-form-field-checklist .fjs-form-field-label:not(:first-of-type) {
429
423
  margin: 0;
430
424
  margin-bottom: 0.1875rem;
431
425
  }
432
426
 
433
- .fjs-form-field.fjs-form-field-radio
434
- .fjs-form-field-label:not(:first-of-type) {
427
+ .fjs-form-field.fjs-form-field-radio .fjs-form-field-label:not(:first-of-type) {
435
428
  min-height: ${rem(27)};
436
429
  }
437
430
 
@@ -522,9 +515,7 @@ const CHECKBOX_STYLES = css`
522
515
  }
523
516
 
524
517
  .fjs-form-field.fjs-checked .fjs-input[type='checkbox'],
525
- .fjs-form-field
526
- .fjs-form-field-label.fjs-checked
527
- .fjs-input[type='checkbox'] {
518
+ .fjs-form-field .fjs-form-field-label.fjs-checked .fjs-input[type='checkbox'] {
528
519
  &:before {
529
520
  border: none;
530
521
  border-width: 1px;
@@ -708,7 +699,8 @@ const BUTTON_STYLES = css`
708
699
 
709
700
  .fjs-form-field.fjs-form-field-button .fjs-button:focus {
710
701
  border-color: var(--cds-focus);
711
- box-shadow: inset 0 0 0 1px var(--cds-focus),
702
+ box-shadow:
703
+ inset 0 0 0 1px var(--cds-focus),
712
704
  inset 0 0 0 2px var(--cds-background);
713
705
  color: var(--cds-text-inverse);
714
706
  background-color: var(--cds-button-tertiary);
@@ -853,9 +845,9 @@ const DATETIME_INPUTS = css`
853
845
  select {
854
846
  ${getBaseInputStyles({ height: '1.5rem' })};
855
847
  ${getSelectArrowStyles({
856
- arrowRightPosition: 'var(--cds-spacing-03)',
857
- color: theme.iconPrimary,
858
- })};
848
+ arrowRightPosition: 'var(--cds-spacing-03)',
849
+ color: theme.iconPrimary,
850
+ })};
859
851
  border-bottom: none;
860
852
  padding-right: 2rem;
861
853
  }
@@ -942,9 +934,9 @@ const SELECT_STYLES = css`
942
934
  .fjs-form-field-select .fjs-input-group {
943
935
  ${getBaseInputStyles({ height: '2.5rem' })}
944
936
  ${getSelectArrowStyles({
945
- arrowRightPosition: 'var(--cds-spacing-05)',
946
- color: theme.iconPrimary,
947
- })}
937
+ arrowRightPosition: 'var(--cds-spacing-05)',
938
+ color: theme.iconPrimary,
939
+ })}
948
940
 
949
941
  .fjs-select-display {
950
942
  display: flex;
@@ -998,9 +990,9 @@ const SELECT_STYLES = css`
998
990
 
999
991
  .fjs-form-field-select.fjs-disabled .fjs-input-group {
1000
992
  ${getSelectArrowStyles({
1001
- arrowRightPosition: 'var(--cds-spacing-05)',
1002
- color: theme.iconDisabled,
1003
- })}
993
+ arrowRightPosition: 'var(--cds-spacing-05)',
994
+ color: theme.iconDisabled,
995
+ })}
1004
996
  }
1005
997
 
1006
998
  .fjs-has-errors.fjs-form-field-select .fjs-input-group:focus-within {