@ucalgary-design-system/fieldset 1.0.2 → 1.0.3
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/CHANGELOG.md +8 -0
- package/index.js +100 -95
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { unsafeCSS as
|
|
2
|
-
import { BaseElement as
|
|
3
|
-
import { FormLabel as
|
|
1
|
+
import { unsafeCSS as x, nothing as y, html as u } from "lit";
|
|
2
|
+
import { BaseElement as C } from "@ucalgary-design-system/core";
|
|
3
|
+
import { FormLabel as O } from "@ucalgary-design-system/helper-components";
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2017 Google LLC
|
|
7
7
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8
8
|
*/
|
|
9
|
-
const
|
|
9
|
+
const M = (i) => (t, e) => {
|
|
10
10
|
e !== void 0 ? e.addInitializer(() => {
|
|
11
11
|
customElements.define(i, t);
|
|
12
12
|
}) : customElements.define(i, t);
|
|
@@ -16,10 +16,10 @@ const x = (i) => (t, e) => {
|
|
|
16
16
|
* Copyright 2019 Google LLC
|
|
17
17
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const $ = globalThis, _ = $.ShadowRoot && ($.ShadyCSS === void 0 || $.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, A = Symbol(), v = /* @__PURE__ */ new WeakMap();
|
|
20
20
|
let T = class {
|
|
21
21
|
constructor(t, e, s) {
|
|
22
|
-
if (this._$cssResult$ = !0, s !==
|
|
22
|
+
if (this._$cssResult$ = !0, s !== A) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
23
23
|
this.cssText = t, this.t = e;
|
|
24
24
|
}
|
|
25
25
|
get styleSheet() {
|
|
@@ -27,7 +27,7 @@ let T = class {
|
|
|
27
27
|
const e = this.t;
|
|
28
28
|
if (_ && t === void 0) {
|
|
29
29
|
const s = e !== void 0 && e.length === 1;
|
|
30
|
-
s && (t =
|
|
30
|
+
s && (t = v.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && v.set(e, t));
|
|
31
31
|
}
|
|
32
32
|
return t;
|
|
33
33
|
}
|
|
@@ -35,13 +35,13 @@ let T = class {
|
|
|
35
35
|
return this.cssText;
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
const R = (i) => new T(typeof i == "string" ? i : i + "", void 0,
|
|
38
|
+
const R = (i) => new T(typeof i == "string" ? i : i + "", void 0, A), j = (i, t) => {
|
|
39
39
|
if (_) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
40
40
|
else for (const e of t) {
|
|
41
|
-
const s = document.createElement("style"), r =
|
|
41
|
+
const s = document.createElement("style"), r = $.litNonce;
|
|
42
42
|
r !== void 0 && s.setAttribute("nonce", r), s.textContent = e.cssText, i.appendChild(s);
|
|
43
43
|
}
|
|
44
|
-
},
|
|
44
|
+
}, w = _ ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
45
45
|
let e = "";
|
|
46
46
|
for (const s of t.cssRules) e += s.cssText;
|
|
47
47
|
return R(e);
|
|
@@ -51,10 +51,10 @@ const R = (i) => new T(typeof i == "string" ? i : i + "", void 0, O), M = (i, t)
|
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
53
|
*/
|
|
54
|
-
const { is:
|
|
54
|
+
const { is: q, defineProperty: z, getOwnPropertyDescriptor: D, getOwnPropertyNames: k, getOwnPropertySymbols: L, getPrototypeOf: N } = Object, d = globalThis, P = d.trustedTypes, B = P ? P.emptyScript : "", g = d.reactiveElementPolyfillSupport, m = (i, t) => i, b = { toAttribute(i, t) {
|
|
55
55
|
switch (t) {
|
|
56
56
|
case Boolean:
|
|
57
|
-
i = i ?
|
|
57
|
+
i = i ? B : null;
|
|
58
58
|
break;
|
|
59
59
|
case Object:
|
|
60
60
|
case Array:
|
|
@@ -79,45 +79,43 @@ const { is: z, defineProperty: j, getOwnPropertyDescriptor: q, getOwnPropertyNam
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
return e;
|
|
82
|
-
} }, E = (i, t) => !
|
|
83
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
84
|
-
class
|
|
82
|
+
} }, E = (i, t) => !q(i, t), U = { attribute: !0, type: String, converter: b, reflect: !1, useDefault: !1, hasChanged: E };
|
|
83
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), d.litPropertyMetadata ?? (d.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
84
|
+
class f extends HTMLElement {
|
|
85
85
|
static addInitializer(t) {
|
|
86
86
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
87
87
|
}
|
|
88
88
|
static get observedAttributes() {
|
|
89
89
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
90
90
|
}
|
|
91
|
-
static createProperty(t, e =
|
|
92
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
91
|
+
static createProperty(t, e = U) {
|
|
92
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
93
93
|
const s = Symbol(), r = this.getPropertyDescriptor(t, s, e);
|
|
94
|
-
r !== void 0 &&
|
|
94
|
+
r !== void 0 && z(this.prototype, t, r);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
static getPropertyDescriptor(t, e, s) {
|
|
98
|
-
const { get: r, set:
|
|
98
|
+
const { get: r, set: o } = D(this.prototype, t) ?? { get() {
|
|
99
99
|
return this[e];
|
|
100
|
-
}, set(
|
|
101
|
-
this[e] =
|
|
100
|
+
}, set(n) {
|
|
101
|
+
this[e] = n;
|
|
102
102
|
} };
|
|
103
|
-
return { get() {
|
|
104
|
-
return r == null ? void 0 : r.call(this);
|
|
105
|
-
}, set(o) {
|
|
103
|
+
return { get: r, set(n) {
|
|
106
104
|
const a = r == null ? void 0 : r.call(this);
|
|
107
|
-
|
|
105
|
+
o == null || o.call(this, n), this.requestUpdate(t, a, s);
|
|
108
106
|
}, configurable: !0, enumerable: !0 };
|
|
109
107
|
}
|
|
110
108
|
static getPropertyOptions(t) {
|
|
111
|
-
return this.elementProperties.get(t) ??
|
|
109
|
+
return this.elementProperties.get(t) ?? U;
|
|
112
110
|
}
|
|
113
111
|
static _$Ei() {
|
|
114
|
-
if (this.hasOwnProperty(
|
|
115
|
-
const t =
|
|
112
|
+
if (this.hasOwnProperty(m("elementProperties"))) return;
|
|
113
|
+
const t = N(this);
|
|
116
114
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
117
115
|
}
|
|
118
116
|
static finalize() {
|
|
119
|
-
if (this.hasOwnProperty(
|
|
120
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
117
|
+
if (this.hasOwnProperty(m("finalized"))) return;
|
|
118
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(m("properties"))) {
|
|
121
119
|
const e = this.properties, s = [...k(e), ...L(e)];
|
|
122
120
|
for (const r of s) this.createProperty(r, e[r]);
|
|
123
121
|
}
|
|
@@ -137,8 +135,8 @@ class u extends HTMLElement {
|
|
|
137
135
|
const e = [];
|
|
138
136
|
if (Array.isArray(t)) {
|
|
139
137
|
const s = new Set(t.flat(1 / 0).reverse());
|
|
140
|
-
for (const r of s) e.unshift(
|
|
141
|
-
} else t !== void 0 && e.push(
|
|
138
|
+
for (const r of s) e.unshift(w(r));
|
|
139
|
+
} else t !== void 0 && e.push(w(t));
|
|
142
140
|
return e;
|
|
143
141
|
}
|
|
144
142
|
static _$Eu(t, e) {
|
|
@@ -167,7 +165,7 @@ class u extends HTMLElement {
|
|
|
167
165
|
}
|
|
168
166
|
createRenderRoot() {
|
|
169
167
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
170
|
-
return
|
|
168
|
+
return j(t, this.constructor.elementStyles), t;
|
|
171
169
|
}
|
|
172
170
|
connectedCallback() {
|
|
173
171
|
var t;
|
|
@@ -188,33 +186,37 @@ class u extends HTMLElement {
|
|
|
188
186
|
attributeChangedCallback(t, e, s) {
|
|
189
187
|
this._$AK(t, s);
|
|
190
188
|
}
|
|
191
|
-
_$
|
|
192
|
-
var
|
|
189
|
+
_$ET(t, e) {
|
|
190
|
+
var o;
|
|
193
191
|
const s = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, s);
|
|
194
192
|
if (r !== void 0 && s.reflect === !0) {
|
|
195
|
-
const
|
|
196
|
-
this._$Em = t,
|
|
193
|
+
const n = (((o = s.converter) == null ? void 0 : o.toAttribute) !== void 0 ? s.converter : b).toAttribute(e, s.type);
|
|
194
|
+
this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
_$AK(t, e) {
|
|
200
|
-
var n;
|
|
198
|
+
var o, n;
|
|
201
199
|
const s = this.constructor, r = s._$Eh.get(t);
|
|
202
200
|
if (r !== void 0 && this._$Em !== r) {
|
|
203
|
-
const
|
|
204
|
-
this._$Em = r
|
|
201
|
+
const a = s.getPropertyOptions(r), h = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : b;
|
|
202
|
+
this._$Em = r;
|
|
203
|
+
const S = h.fromAttribute(e, a.type);
|
|
204
|
+
this[r] = S ?? ((n = this._$Ej) == null ? void 0 : n.get(r)) ?? S, this._$Em = null;
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
requestUpdate(t, e, s) {
|
|
208
|
+
var r;
|
|
208
209
|
if (t !== void 0) {
|
|
209
|
-
|
|
210
|
-
|
|
210
|
+
const o = this.constructor, n = this[t];
|
|
211
|
+
if (s ?? (s = o.getPropertyOptions(t)), !((s.hasChanged ?? E)(n, e) || s.useDefault && s.reflect && n === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(o._$Eu(t, s)))) return;
|
|
212
|
+
this.C(t, e, s);
|
|
211
213
|
}
|
|
212
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
214
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
213
215
|
}
|
|
214
|
-
|
|
215
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
216
|
+
C(t, e, { useDefault: s, reflect: r, wrapped: o }, n) {
|
|
217
|
+
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, n ?? e ?? this[t]), o !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
216
218
|
}
|
|
217
|
-
async _$
|
|
219
|
+
async _$EP() {
|
|
218
220
|
this.isUpdatePending = !0;
|
|
219
221
|
try {
|
|
220
222
|
await this._$ES;
|
|
@@ -232,21 +234,24 @@ class u extends HTMLElement {
|
|
|
232
234
|
if (!this.isUpdatePending) return;
|
|
233
235
|
if (!this.hasUpdated) {
|
|
234
236
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
235
|
-
for (const [
|
|
237
|
+
for (const [o, n] of this._$Ep) this[o] = n;
|
|
236
238
|
this._$Ep = void 0;
|
|
237
239
|
}
|
|
238
240
|
const r = this.constructor.elementProperties;
|
|
239
|
-
if (r.size > 0) for (const [
|
|
241
|
+
if (r.size > 0) for (const [o, n] of r) {
|
|
242
|
+
const { wrapped: a } = n, h = this[o];
|
|
243
|
+
a !== !0 || this._$AL.has(o) || h === void 0 || this.C(o, void 0, n, h);
|
|
244
|
+
}
|
|
240
245
|
}
|
|
241
246
|
let t = !1;
|
|
242
247
|
const e = this._$AL;
|
|
243
248
|
try {
|
|
244
249
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
245
|
-
var
|
|
246
|
-
return (
|
|
247
|
-
}), this.update(e)) : this._$
|
|
250
|
+
var o;
|
|
251
|
+
return (o = r.hostUpdate) == null ? void 0 : o.call(r);
|
|
252
|
+
}), this.update(e)) : this._$EM();
|
|
248
253
|
} catch (r) {
|
|
249
|
-
throw t = !1, this._$
|
|
254
|
+
throw t = !1, this._$EM(), r;
|
|
250
255
|
}
|
|
251
256
|
t && this._$AE(e);
|
|
252
257
|
}
|
|
@@ -259,7 +264,7 @@ class u extends HTMLElement {
|
|
|
259
264
|
return (r = s.hostUpdated) == null ? void 0 : r.call(s);
|
|
260
265
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
261
266
|
}
|
|
262
|
-
_$
|
|
267
|
+
_$EM() {
|
|
263
268
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
264
269
|
}
|
|
265
270
|
get updateComplete() {
|
|
@@ -272,53 +277,53 @@ class u extends HTMLElement {
|
|
|
272
277
|
return !0;
|
|
273
278
|
}
|
|
274
279
|
update(t) {
|
|
275
|
-
this._$
|
|
280
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
|
276
281
|
}
|
|
277
282
|
updated(t) {
|
|
278
283
|
}
|
|
279
284
|
firstUpdated(t) {
|
|
280
285
|
}
|
|
281
286
|
}
|
|
282
|
-
|
|
287
|
+
f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, f[m("elementProperties")] = /* @__PURE__ */ new Map(), f[m("finalized")] = /* @__PURE__ */ new Map(), g == null || g({ ReactiveElement: f }), (d.reactiveElementVersions ?? (d.reactiveElementVersions = [])).push("2.1.1");
|
|
283
288
|
/**
|
|
284
289
|
* @license
|
|
285
290
|
* Copyright 2017 Google LLC
|
|
286
291
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
287
292
|
*/
|
|
288
|
-
const
|
|
293
|
+
const F = { attribute: !0, type: String, converter: b, reflect: !1, hasChanged: E }, I = (i = F, t, e) => {
|
|
289
294
|
const { kind: s, metadata: r } = e;
|
|
290
|
-
let
|
|
291
|
-
if (
|
|
292
|
-
const { name:
|
|
295
|
+
let o = globalThis.litPropertyMetadata.get(r);
|
|
296
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), o.set(e.name, i), s === "accessor") {
|
|
297
|
+
const { name: n } = e;
|
|
293
298
|
return { set(a) {
|
|
294
|
-
const
|
|
295
|
-
t.set.call(this, a), this.requestUpdate(
|
|
299
|
+
const h = t.get.call(this);
|
|
300
|
+
t.set.call(this, a), this.requestUpdate(n, h, i);
|
|
296
301
|
}, init(a) {
|
|
297
|
-
return a !== void 0 && this.
|
|
302
|
+
return a !== void 0 && this.C(n, void 0, i, a), a;
|
|
298
303
|
} };
|
|
299
304
|
}
|
|
300
305
|
if (s === "setter") {
|
|
301
|
-
const { name:
|
|
306
|
+
const { name: n } = e;
|
|
302
307
|
return function(a) {
|
|
303
|
-
const
|
|
304
|
-
t.call(this, a), this.requestUpdate(
|
|
308
|
+
const h = this[n];
|
|
309
|
+
t.call(this, a), this.requestUpdate(n, h, i);
|
|
305
310
|
};
|
|
306
311
|
}
|
|
307
312
|
throw Error("Unsupported decorator location: " + s);
|
|
308
313
|
};
|
|
309
|
-
function
|
|
310
|
-
return (t, e) => typeof e == "object" ?
|
|
311
|
-
const
|
|
312
|
-
return r.constructor.createProperty(
|
|
314
|
+
function p(i) {
|
|
315
|
+
return (t, e) => typeof e == "object" ? I(i, t, e) : ((s, r, o) => {
|
|
316
|
+
const n = r.hasOwnProperty(o);
|
|
317
|
+
return r.constructor.createProperty(o, s), n ? Object.getOwnPropertyDescriptor(r, o) : void 0;
|
|
313
318
|
})(i, t, e);
|
|
314
319
|
}
|
|
315
|
-
const
|
|
316
|
-
var
|
|
317
|
-
for (var r = s > 1 ? void 0 : s ?
|
|
318
|
-
(
|
|
319
|
-
return s && r &&
|
|
320
|
+
const J = ":host{display:block}.form-fieldset{width:var(--ucds-form-element-width);max-width:var(--ucds-form-element-maxwidth);display:flex;flex-direction:column;gap:var(--ucds-form-component-intra-spacing)}.form-fieldset fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--ucds-form-component-inter-spacing)}.form-fieldset fieldset legend{font-weight:var(--ucds-font-weight-bold);margin-bottom:var(--ucds-form-component-inter-spacing);padding:0}.form-fieldset fieldset legend:disabled{color:var(--ucds-color-text-disabled)}.form-fieldset fieldset:not(:last-child){margin-bottom:var(--ucds-form-component-intra-spacing)}";
|
|
321
|
+
var K = Object.defineProperty, W = Object.getOwnPropertyDescriptor, c = (i, t, e, s) => {
|
|
322
|
+
for (var r = s > 1 ? void 0 : s ? W(t, e) : t, o = i.length - 1, n; o >= 0; o--)
|
|
323
|
+
(n = i[o]) && (r = (s ? n(t, e, r) : n(r)) || r);
|
|
324
|
+
return s && r && K(t, e, r), r;
|
|
320
325
|
};
|
|
321
|
-
let l = class extends
|
|
326
|
+
let l = class extends C {
|
|
322
327
|
constructor() {
|
|
323
328
|
super(...arguments), this.label = "", this.disabled = !1, this.required = !1, this.error = !1;
|
|
324
329
|
}
|
|
@@ -337,43 +342,43 @@ let l = class extends U {
|
|
|
337
342
|
super.firstUpdated(i), this.label || console.error(`${this.localName}: Property 'label' is required and was not set.`);
|
|
338
343
|
}
|
|
339
344
|
render() {
|
|
340
|
-
return
|
|
345
|
+
return u`
|
|
341
346
|
<div class="form-fieldset">
|
|
342
347
|
<fieldset ?error=${this.error} ?disabled=${this.disabled}>
|
|
343
|
-
${this.label ?
|
|
348
|
+
${this.label ? u`<legend ?disabled=${this.disabled}>${this.label}${this.required ? u`${O.requiredAsteriskTemplate()}` : y}</legend>` : y}
|
|
344
349
|
<slot>Please provide at least two <ucds-radio> or <ucds-checkbox> child elements</slot>
|
|
345
350
|
</fieldset>
|
|
346
|
-
${this.error && !this.disabled ?
|
|
347
|
-
${this.helpText ?
|
|
351
|
+
${this.error && !this.disabled ? u`<form-error-message text="${this.errorText}"></form-error-message>` : y}
|
|
352
|
+
${this.helpText ? u`<form-help-message text="${this.helpText}" ?disabled="${this.disabled}"></form-help-message>` : y}
|
|
348
353
|
</div>
|
|
349
354
|
`;
|
|
350
355
|
}
|
|
351
356
|
};
|
|
352
357
|
l.styles = [
|
|
353
|
-
U.styles,
|
|
354
358
|
C.styles,
|
|
355
|
-
|
|
359
|
+
O.styles,
|
|
360
|
+
x(J)
|
|
356
361
|
];
|
|
357
|
-
|
|
358
|
-
|
|
362
|
+
c([
|
|
363
|
+
p({ type: String })
|
|
359
364
|
], l.prototype, "label", 2);
|
|
360
|
-
|
|
361
|
-
|
|
365
|
+
c([
|
|
366
|
+
p({ type: Boolean, reflect: !0 })
|
|
362
367
|
], l.prototype, "disabled", 2);
|
|
363
|
-
|
|
364
|
-
|
|
368
|
+
c([
|
|
369
|
+
p({ type: Boolean, reflect: !0 })
|
|
365
370
|
], l.prototype, "required", 2);
|
|
366
|
-
|
|
367
|
-
|
|
371
|
+
c([
|
|
372
|
+
p({ type: Boolean, reflect: !0 })
|
|
368
373
|
], l.prototype, "error", 2);
|
|
369
|
-
|
|
370
|
-
|
|
374
|
+
c([
|
|
375
|
+
p({ type: String, attribute: "error-text" })
|
|
371
376
|
], l.prototype, "errorText", 2);
|
|
372
|
-
|
|
373
|
-
|
|
377
|
+
c([
|
|
378
|
+
p({ type: String, attribute: "help-text" })
|
|
374
379
|
], l.prototype, "helpText", 2);
|
|
375
|
-
l =
|
|
376
|
-
|
|
380
|
+
l = c([
|
|
381
|
+
M("ucds-fieldset")
|
|
377
382
|
], l);
|
|
378
383
|
export {
|
|
379
384
|
l as Fieldset
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ucalgary-design-system/fieldset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"require": "./index.js"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"
|
|
14
|
-
"@ucalgary-design-system/core": "^1.0.
|
|
13
|
+
"peerDependencies": {
|
|
14
|
+
"@ucalgary-design-system/core": "^1.0.3",
|
|
15
15
|
"@ucalgary-design-system/helper-components": "^1.0.2",
|
|
16
16
|
"@ucalgary-design-system/tokens": "^1.0.3",
|
|
17
17
|
"lit": "^3.2.1"
|