@justeattakeaway/pie-checkbox-group 1.0.27 → 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/dist/index.js CHANGED
@@ -9,7 +9,7 @@ const d = class d extends x {
9
9
  this.getAttribute("v") || this.setAttribute("v", d.v);
10
10
  }
11
11
  };
12
- d.v = "1.0.27";
12
+ d.v = "1.1.0";
13
13
  let b = d;
14
14
  const S = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-checkboxGroup{--checkbox-group-offset: var(--dt-spacing-c);--checkbox-group-offset--inline: var(--dt-spacing-e);--checkbox-group-label-offset: var(--dt-spacing-a);margin:0;padding:0;border:0;min-width:0}.c-checkboxGroup ::slotted(pie-checkbox){display:flex}.c-checkboxGroup ::slotted(pie-form-label){display:block;padding-block-end:var(--checkbox-group-label-offset)}.c-checkboxGroup:not(.c-checkboxGroup--inline) ::slotted(pie-checkbox:not(:last-child)){margin-block-end:var(--checkbox-group-offset)}.c-checkboxGroup--inline{display:flex;align-items:flex-start;flex-wrap:wrap}.c-checkboxGroup.c-checkboxGroup--inline{margin:calc(-1 * var(--checkbox-group-offset) / 2) calc(-1 * var(--checkbox-group-offset--inline) / 2)}.c-checkboxGroup.c-checkboxGroup--inline ::slotted(pie-checkbox){margin:calc(var(--checkbox-group-offset) / 2) calc(var(--checkbox-group-offset--inline) / 2)}.c-checkboxGroup.c-checkboxGroup--inline ::slotted(pie-form-label){margin:0 calc(var(--checkbox-group-offset--inline) / 2) calc(-1 * (var(--checkbox-group-offset) / 2 - var(--checkbox-group-label-offset)));padding-block-end:0}.c-checkboxGroup-assistiveText{--checkbox-group-assistive-text-offset: var(--dt-spacing-a);display:block;margin-block-start:var(--checkbox-group-assistive-text-offset)}", E = ["default", "success", "error"], O = "pie-checkbox-group-disabled", $ = "pie-checkbox-group-error", p = {
15
15
  status: "default",
@@ -84,9 +84,9 @@ let t = class extends m(y(b)) {
84
84
  <pie-assistive-text
85
85
  id="${f}"
86
86
  variant=${c}
87
+ message=${a}
87
88
  class="c-checkboxGroup-assistiveText"
88
89
  data-test-id="pie-checkbox-group-assistive-text">
89
- ${a}
90
90
  </pie-assistive-text>`}
91
91
  `;
92
92
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-checkbox-group",
3
3
  "description": "PIE Design System Checkbox Group built using Web Components",
4
- "version": "1.0.27",
4
+ "version": "1.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -43,14 +43,14 @@
43
43
  "author": "Just Eat Takeaway.com - Design System Team",
44
44
  "license": "Apache-2.0",
45
45
  "devDependencies": {
46
- "@justeattakeaway/pie-checkbox": "1.2.3",
46
+ "@justeattakeaway/pie-checkbox": "1.3.0",
47
47
  "@justeattakeaway/pie-components-config": "0.21.3",
48
- "@justeattakeaway/pie-css": "1.1.2",
49
- "@justeattakeaway/pie-monorepo-utils": "0.9.3"
48
+ "@justeattakeaway/pie-css": "1.2.0",
49
+ "@justeattakeaway/pie-monorepo-utils": "0.9.5"
50
50
  },
51
51
  "dependencies": {
52
- "@justeattakeaway/pie-assistive-text": "0.11.34",
53
- "@justeattakeaway/pie-webc-core": "14.0.2"
52
+ "@justeattakeaway/pie-assistive-text": "1.0.0",
53
+ "@justeattakeaway/pie-webc-core": "15.0.0"
54
54
  },
55
55
  "customElements": "custom-elements.json",
56
56
  "sideEffects": [
package/src/index.ts CHANGED
@@ -134,9 +134,9 @@ export class PieCheckboxGroup extends FormControlMixin(RtlMixin(PieElement)) imp
134
134
  <pie-assistive-text
135
135
  id="${assistiveTextId}"
136
136
  variant=${status}
137
+ message=${assistiveText}
137
138
  class="c-checkboxGroup-assistiveText"
138
139
  data-test-id="pie-checkbox-group-assistive-text">
139
- ${assistiveText}
140
140
  </pie-assistive-text>`}
141
141
  `;
142
142
  }