@justeattakeaway/pie-checkbox-group 0.7.7 → 0.7.8

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
@@ -1,6 +1,6 @@
1
1
  import { LitElement as x, html as n, unsafeCSS as g } from "lit";
2
- import { state as k, property as c, queryAssignedElements as v } from "lit/decorators.js";
3
- import { FormControlMixin as m, RtlMixin as y, validPropertyValues as _, defineCustomElement as G } from "@justeattakeaway/pie-webc-core";
2
+ import { state as k, property as c, queryAssignedElements as m } from "lit/decorators.js";
3
+ import { FormControlMixin as v, RtlMixin as y, validPropertyValues as _, defineCustomElement as G } from "@justeattakeaway/pie-webc-core";
4
4
  import { ifDefined as b } from "lit/directives/if-defined.js";
5
5
  import { classMap as C } from "lit/directives/class-map.js";
6
6
  import "@justeattakeaway/pie-assistive-text";
@@ -14,7 +14,7 @@ var L = Object.defineProperty, o = (h, e, i, r) => {
14
14
  (l = h[a]) && (s = l(e, i, s) || s);
15
15
  return s && L(e, i, s), s;
16
16
  };
17
- const f = "pie-checkbox-group", u = "assistive-text", d = class d extends m(y(x)) {
17
+ const f = "pie-checkbox-group", u = "assistive-text", d = class d extends v(y(x)) {
18
18
  constructor() {
19
19
  super(...arguments), this._hasLabel = !1, this.isInline = p.isInline, this.status = p.status, this.disabled = p.disabled;
20
20
  }
@@ -66,7 +66,7 @@ const f = "pie-checkbox-group", u = "assistive-text", d = class d extends m(y(x)
66
66
  name=${b(e)}
67
67
  ?disabled=${a}
68
68
  aria-describedby="${b(r ? u : void 0)}"
69
- data-test-id="pie-checkbox-group"
69
+ data-test-id="pie-checkbox-group-fieldset"
70
70
  class="${C(l)}"
71
71
  >
72
72
  ${this.renderWrappedLabel()}
@@ -105,7 +105,7 @@ o([
105
105
  c({ type: Boolean, reflect: !0 })
106
106
  ], t.prototype, "disabled");
107
107
  o([
108
- v({ selector: "pie-checkbox" })
108
+ m({ selector: "pie-checkbox" })
109
109
  ], t.prototype, "_slottedChildren");
110
110
  G(f, t);
111
111
  export {
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": "0.7.7",
4
+ "version": "0.7.8",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -36,13 +36,13 @@
36
36
  "license": "Apache-2.0",
37
37
  "devDependencies": {
38
38
  "@custom-elements-manifest/analyzer": "0.9.0",
39
- "@justeattakeaway/pie-checkbox": "0.13.7",
39
+ "@justeattakeaway/pie-checkbox": "0.13.8",
40
40
  "@justeattakeaway/pie-components-config": "0.18.0",
41
- "@justeattakeaway/pie-css": "0.13.1",
41
+ "@justeattakeaway/pie-css": "0.14.1",
42
42
  "cem-plugin-module-file-extensions": "0.0.5"
43
43
  },
44
44
  "dependencies": {
45
- "@justeattakeaway/pie-assistive-text": "0.8.1",
45
+ "@justeattakeaway/pie-assistive-text": "0.8.2",
46
46
  "@justeattakeaway/pie-webc-core": "0.24.2"
47
47
  },
48
48
  "volta": {
package/src/index.ts CHANGED
@@ -120,7 +120,7 @@ export class PieCheckboxGroup extends FormControlMixin(RtlMixin(LitElement)) imp
120
120
  name=${ifDefined(name)}
121
121
  ?disabled=${disabled}
122
122
  aria-describedby="${ifDefined(assistiveText ? assistiveTextId : undefined)}"
123
- data-test-id="pie-checkbox-group"
123
+ data-test-id="pie-checkbox-group-fieldset"
124
124
  class="${classMap(classes)}"
125
125
  >
126
126
  ${this.renderWrappedLabel()}