@justeattakeaway/pie-form-label 0.17.0 → 0.18.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/dist/index.js CHANGED
@@ -7,9 +7,9 @@ const o = class o extends b {
7
7
  this.getAttribute("v") || this.setAttribute("v", o.v);
8
8
  }
9
9
  };
10
- o.v = "0.17.0";
10
+ o.v = "0.18.0";
11
11
  let p = o;
12
- const u = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-formLabel{--form-label-font-size: calc(var(--dt-font-size-14) * 1px);--form-label-line-height: calc(var(--dt-font-size-14-line-height) * 1px);--form-label-font-weight: var(--dt-font-weight-bold);--form-label-color: var(--dt-color-content-default);display:flex;justify-content:space-between;align-items:flex-end;gap:var(--dt-spacing-d);color:var(--form-label-color);font-size:var(--form-label-font-size);line-height:var(--form-label-line-height);font-weight:var(--form-label-font-weight);padding-block-end:var(--dt-spacing-a)}.c-formLabel-optional,.c-formLabel-trailing{color:var(--dt-color-content-subdued);font-weight:var(--dt-font-weight-regular)}.c-formLabel-leading-wrapper{display:flex}.c-formLabel-leading{margin-inline-end:var(--dt-spacing-b)}.c-formLabel-trailing{flex-shrink:0;white-space:var(--dt-spacing-d)}";
12
+ const u = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-formLabel{--form-label-font-size: calc(var(--dt-font-size-14) * 1px);--form-label-line-height: calc(var(--dt-font-size-14-line-height) * 1px);--form-label-font-weight: var(--dt-font-weight-bold);--form-label-color: var(--dt-color-content-default-solid);display:flex;justify-content:space-between;align-items:flex-end;gap:var(--dt-spacing-d);color:var(--form-label-color);font-size:var(--form-label-font-size);line-height:var(--form-label-line-height);font-weight:var(--form-label-font-weight);padding-block-end:var(--dt-spacing-a)}.c-formLabel-optional,.c-formLabel-trailing{color:var(--dt-color-content-subdued-solid);font-weight:var(--dt-font-weight-regular)}.c-formLabel-leading-wrapper{display:flex}.c-formLabel-leading{margin-inline-end:var(--dt-spacing-b)}.c-formLabel-trailing{flex-shrink:0;white-space:var(--dt-spacing-d)}";
13
13
  var L = Object.defineProperty, y = Object.getOwnPropertyDescriptor, i = (e, a, n, l) => {
14
14
  for (var t = l > 1 ? void 0 : l ? y(a, n) : a, s = e.length - 1, c; s >= 0; s--)
15
15
  (c = e[s]) && (t = (l ? c(a, n, t) : c(t)) || t);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-form-label",
3
3
  "description": "PIE Design System Form Label built using Web Components",
4
- "version": "0.17.0",
4
+ "version": "0.18.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -40,15 +40,15 @@
40
40
  "devDependencies": {
41
41
  "@custom-elements-manifest/analyzer": "0.9.0",
42
42
  "@justeattakeaway/pie-components-config": "0.21.0",
43
- "@justeattakeaway/pie-css": "0.19.0",
43
+ "@justeattakeaway/pie-css": "0.22.0",
44
44
  "@justeattakeaway/pie-monorepo-utils": "0.7.0",
45
- "@justeattakeaway/pie-switch": "2.1.0",
46
- "@justeattakeaway/pie-text-input": "0.28.12",
45
+ "@justeattakeaway/pie-switch": "2.3.0",
46
+ "@justeattakeaway/pie-text-input": "0.29.0",
47
47
  "@justeattakeaway/pie-wrapper-react": "0.14.3",
48
48
  "cem-plugin-module-file-extensions": "0.0.5"
49
49
  },
50
50
  "dependencies": {
51
- "@justeattakeaway/pie-webc-core": "1.1.0"
51
+ "@justeattakeaway/pie-webc-core": "2.0.0"
52
52
  },
53
53
  "volta": {
54
54
  "extends": "../../../package.json"
@@ -8,7 +8,7 @@
8
8
  --form-label-font-size: #{p.font-size(--dt-font-size-14)};
9
9
  --form-label-line-height: calc(var(--dt-font-size-14-line-height) * 1px);
10
10
  --form-label-font-weight: var(--dt-font-weight-bold);
11
- --form-label-color: var(--dt-color-content-default);
11
+ --form-label-color: var(--dt-color-content-default-solid);
12
12
 
13
13
  display: flex;
14
14
  justify-content: space-between;
@@ -23,7 +23,7 @@
23
23
 
24
24
  .c-formLabel-optional,
25
25
  .c-formLabel-trailing {
26
- color: var(--dt-color-content-subdued);
26
+ color: var(--dt-color-content-subdued-solid);
27
27
  font-weight: var(--dt-font-weight-regular);
28
28
  }
29
29