@madgex/design-system 12.0.0 → 12.0.2

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.
@@ -4,23 +4,21 @@ $constant-size-half-gutter-width: $constant-size-gutter-width * 0.5;
4
4
  $constant-size-quarter-gutter-width: $constant-size-gutter-width * 0.25;
5
5
  $constant-size-one-and-half-gutter-width: $constant-size-gutter-width * 1.5;
6
6
 
7
-
8
- $regular-border: var(--mds-size-border-width-base, 1px) solid var(--mds-color-border, #{$constant-color-neutral-lighter});
9
- $input-border: var(--mds-size-border-width-base, 1px) solid var(--mds-color-input-border, #{$constant-color-neutral-base});
7
+ $regular-border: var(--mds-size-border-width-base, 1px) solid
8
+ var(--mds-color-border, #{$constant-color-neutral-lighter});
9
+ $input-border: var(--mds-size-border-width-base, 1px) solid
10
+ var(--mds-color-input-border, #{$constant-color-neutral-base});
10
11
  $border-radius: var(--mds-size-border-radius-base, 4px);
11
12
  $surface-background: var(--mds-color-background-surface, #fff);
12
- $link-color: var(--mds-color-link-base, #1B75BB);
13
+ $link-color: var(--mds-color-link-base, #1b75bb);
13
14
  $link-hover-color: var(--mds-color-link-hover, #15598e);
14
15
 
15
16
  /**
16
- * TODO: when style-dictionary is upgraded to v4, we can set color-input-focus to `SelectedItem`
17
- * This is due to style-dictionary forcing all `color` object to color, rather than the new v4 way of detection/type attributes
18
- * https://styledictionary.com/version-4/migration/#cti-reliance
17
+ * we're not using `SelectedItem` as the fallback value, although this is the browser default, we have an a11y compatible color here
19
18
  */
20
19
  $focus-color: var(--mds-color-input-focus, #0064e1);
21
20
  $disabled-input-color: var(--mds-color-input-disabled-field, rgba(176, 176, 176, 0.5));
22
21
 
23
-
24
- $link-underline-offset: .1500rem;
22
+ $link-underline-offset: 0.15rem;
25
23
  $link-decoration-thickness: 1px;
26
- $link-hover-decoration-thickness: max(2px, .12em);
24
+ $link-hover-decoration-thickness: max(2px, 0.12em);
@@ -0,0 +1,18 @@
1
+ const util = require('util');
2
+ const exec = util.promisify(require('child_process').exec);
3
+
4
+ /**
5
+ * we are still using gulp to trigger build, so hillariously lets run vite from gulp for now.
6
+ *
7
+ * TODO: remove gulp! https://jira.wiley.com/browse/FEDC-549
8
+ */
9
+ async function buildViteJs() {
10
+ const { stdout, stderr } = await exec('npm run build:vite', {
11
+ cwd: __dirname,
12
+ });
13
+
14
+ console.log('build:design-system-ce stdout:', stdout);
15
+ console.log('build:design-system-ce stdegrr:', stderr);
16
+ }
17
+
18
+ exports.buildViteJs = buildViteJs;