@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bpmn-io/form-js-carbon-styles",
3
- "version": "1.0.0",
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.0.0",
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": "^5.3.6"
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": "3a6af85bb648af7fd35347556dc36384da5ee64f"
35
+ "gitHead": "6bfb194e07fe44d3309744507f9f874cf8e94169"
36
36
  }
@@ -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: none;
165
- font-size: var(--cds-body-short-01-font-size);
166
- font-weight: var(--cds-body-short-01-font-weight);
167
- line-height: var(--cds-body-short-01-line-height);
168
- letter-spacing: var(--cds-body-short-01-letter-spacing);
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
- visibility: hidden;
927
+ color: transparent;
930
928
  }
931
929
 
932
930
  .fjs-select-cross {