@sebgroup/green-core 1.68.5 → 1.69.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/chunks/{chunk.DYN6322L.js → chunk.3GQXXIAA.js} +2 -2
- package/chunks/{chunk.IJTVVDT5.js → chunk.4D6PS3YB.js} +1 -1
- package/chunks/{chunk.CTQODNHP.js → chunk.4GEYYFIK.js} +1 -1
- package/chunks/{chunk.TOBY35JG.js → chunk.4KL2SL2I.js} +1 -1
- package/chunks/{chunk.UPA7PT7F.js → chunk.5PXMD6FN.js} +2 -2
- package/chunks/chunk.6PGW4W5E.js +240 -0
- package/chunks/{chunk.HXC56ASG.js → chunk.A7DPHMYA.js} +1 -1
- package/chunks/{chunk.RF56IWRC.js → chunk.BA4XMBLV.js} +1 -1
- package/chunks/{chunk.KRR2MHH6.js → chunk.BR67WBUE.js} +1 -1
- package/chunks/{chunk.4RYCDDEL.js → chunk.CHZ4Z2YY.js} +1 -1
- package/chunks/{chunk.G5A6TLEB.js → chunk.D73543IP.js} +1 -1
- package/chunks/{chunk.2UGVYZW6.js → chunk.EPGFD7VH.js} +2 -2
- package/chunks/{chunk.OXFUYPNR.js → chunk.ERTFEGJX.js} +1 -1
- package/chunks/{chunk.KYGKWH6H.js → chunk.FB74W3AW.js} +1 -1
- package/chunks/{chunk.R7PMRDER.js → chunk.FIRXUEIK.js} +1 -1
- package/chunks/{chunk.AYJAUUCZ.js → chunk.FV4KNGDE.js} +1 -1
- package/chunks/{chunk.YDPMAYLA.js → chunk.GJ6CZ6UN.js} +2 -2
- package/chunks/{chunk.TRS2VCUR.js → chunk.GOPGCNDC.js} +1 -1
- package/chunks/{chunk.DNBHE2HW.js → chunk.GRVFPKOG.js} +1 -1
- package/chunks/{chunk.L27GXXCR.js → chunk.GVAZGVX2.js} +1 -1
- package/chunks/{chunk.SSMQSB4N.js → chunk.GZQMA4XI.js} +1 -1
- package/chunks/{chunk.3JPQEXQG.js → chunk.HBGEHVVS.js} +1 -1
- package/chunks/{chunk.W7XFAJ4E.js → chunk.I2YO744I.js} +2 -2
- package/chunks/{chunk.R7SHJPQX.js → chunk.IT5VVUWI.js} +1 -1
- package/chunks/chunk.ITT4IIHM.js +378 -0
- package/chunks/{chunk.KFICL24P.js → chunk.JFJHA6P6.js} +1 -1
- package/chunks/{chunk.XB7K3C5P.js → chunk.JIL3VXPT.js} +2 -2
- package/chunks/{chunk.L5PE6QYR.js → chunk.JLTWJMDP.js} +1 -1
- package/chunks/chunk.LTVUUK5B.js +0 -0
- package/chunks/{chunk.3ER354IV.js → chunk.LUSRFI2X.js} +2 -2
- package/chunks/{chunk.XHLTNW7U.js → chunk.N6GUDNJV.js} +2 -2
- package/chunks/{chunk.Y2NHXTDW.js → chunk.NHCDT25A.js} +1 -1
- package/chunks/{chunk.JO7TMUNS.js → chunk.NQQAFN6S.js} +1 -1
- package/chunks/{chunk.M6XWWL3K.js → chunk.NSJATXHH.js} +2 -2
- package/chunks/{chunk.7Y2HXZTW.js → chunk.OGHRZS7Z.js} +2 -2
- package/chunks/{chunk.NGISBDVX.js → chunk.OGXYFLYC.js} +6 -6
- package/chunks/chunk.PBKM6LEO.js +0 -0
- package/chunks/{chunk.L76SIVXL.js → chunk.Q3QF6FIQ.js} +2 -2
- package/chunks/chunk.QK3R23GV.js +1 -1
- package/chunks/{chunk.F2SQQT5J.js → chunk.ST5QI4XQ.js} +2 -2
- package/chunks/{chunk.FFOHUW46.js → chunk.UAED2ICJ.js} +1 -1
- package/chunks/{chunk.KC6Z3HNY.js → chunk.UR2O7OZR.js} +2 -2
- package/chunks/{chunk.M42OSKF3.js → chunk.VDIZOFXQ.js} +1 -1
- package/chunks/chunk.VL6WP6CO.js +113 -0
- package/chunks/{chunk.ZNRXC2JN.js → chunk.WDV4K3NB.js} +2 -2
- package/chunks/{chunk.J5LBLNY4.js → chunk.WSXUN75Q.js} +2 -2
- package/chunks/{chunk.Y5YZV6CC.js → chunk.XA77YAN3.js} +1 -1
- package/components/badge/badge.js +4 -4
- package/components/badge/index.js +4 -4
- package/components/button/button.js +4 -4
- package/components/button/button.trans.styles.js +2 -2
- package/components/button/index.js +4 -4
- package/components/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +2 -2
- package/components/calendar/index.js +3 -3
- package/components/card/card.js +3 -3
- package/components/card/index.js +3 -3
- package/components/container/container.js +3 -3
- package/components/container/index.js +3 -3
- package/components/context-menu/context-menu.js +6 -6
- package/components/context-menu/context-menu.trans.styles.js +2 -2
- package/components/context-menu/index.js +7 -7
- package/components/datepicker/datepicker.js +16 -16
- package/components/datepicker/datepicker.trans.styles.js +2 -2
- package/components/datepicker/index.js +16 -16
- package/components/dialog/dialog.js +7 -7
- package/components/dialog/index.js +7 -7
- package/components/div/div.js +2 -2
- package/components/div/index.js +2 -2
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.js +13 -13
- package/components/dropdown/dropdown.trans.styles.js +2 -2
- package/components/dropdown/index.js +14 -14
- package/components/fab/fab.js +5 -5
- package/components/fab/index.js +5 -5
- package/components/filter-chips/filter-chip/filter-chip.js +5 -5
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
- package/components/filter-chips/filter-chip/index.js +5 -5
- package/components/filter-chips/filter-chips.js +5 -5
- package/components/filter-chips/filter-chips.trans.styles.js +2 -2
- package/components/filter-chips/index.js +5 -5
- package/components/flex/flex.js +3 -3
- package/components/flex/index.js +3 -3
- package/components/form/form-control.d.ts +4 -1
- package/components/form/index.js +6 -6
- package/components/form/summary/index.js +6 -6
- package/components/form/summary/summary.js +6 -6
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/grouped-list/grouped-list.js +3 -3
- package/components/grouped-list/grouped-list.trans.styles.js +2 -2
- package/components/grouped-list/index.js +3 -3
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +54 -43
- package/components/input/index.js +10 -10
- package/components/input/input.js +10 -10
- package/components/input/input.trans.styles.js +2 -2
- package/components/link/index.js +2 -2
- package/components/link/link.js +2 -2
- package/components/mask/index.js +4 -4
- package/components/mask/mask.js +4 -4
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/index.js +3 -3
- package/components/popover/popover.js +3 -3
- package/components/popover/popover.trans.styles.js +2 -2
- package/components/radio/index.d.ts +2 -0
- package/components/radio/index.js +46 -0
- package/components/radio/radio-group/radio-group.d.ts +55 -0
- package/components/radio/radio-group/radio-group.js +39 -0
- package/components/radio/radio-group/radio-group.styles.d.ts +1 -0
- package/components/radio/radio.d.ts +44 -0
- package/components/radio/radio.js +17 -0
- package/components/radio/radio.styles.d.ts +1 -0
- package/components/radio/radio.trans.styles.d.ts +2 -0
- package/components/radio/radio.trans.styles.js +26 -0
- package/components/rich-text/index.js +2 -2
- package/components/rich-text/rich-text.js +2 -2
- package/components/segmented-control/index.js +4 -4
- package/components/segmented-control/segment/index.js +3 -3
- package/components/segmented-control/segment/segment.js +3 -3
- package/components/segmented-control/segment/segment.trans.styles.js +2 -2
- package/components/segmented-control/segmented-control.js +4 -4
- package/components/segmented-control/segmented-control.trans.styles.js +2 -2
- package/components/select/index.js +10 -10
- package/components/select/select.js +10 -10
- package/components/select/select.trans.styles.js +2 -2
- package/components/signal/index.js +2 -2
- package/components/signal/signal.js +2 -2
- package/components/spacer/index.js +2 -2
- package/components/spacer/spacer.js +2 -2
- package/components/spinner/gds-spinner.js +2 -2
- package/components/spinner/index.js +2 -2
- package/components/text/index.js +3 -3
- package/components/text/text.js +3 -3
- package/components/textarea/index.js +10 -10
- package/components/textarea/textarea.js +10 -10
- package/components/theme/index.js +3 -3
- package/components/theme/theme.js +3 -3
- package/components/theme/theme.trans.styles.js +2 -2
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +54 -43
- package/package.json +1 -1
- package/primitives/field-base/field-base.js +3 -3
- package/primitives/field-base/index.js +3 -3
- package/primitives/form-control-footer/form-control-footer.js +4 -4
- package/primitives/form-control-footer/index.js +4 -4
- package/primitives/form-control-header/form-control-header.js +6 -6
- package/primitives/form-control-header/index.js +6 -6
- package/primitives/listbox/index.js +4 -4
- package/primitives/listbox/listbox.js +4 -4
- package/primitives/listbox/option.js +3 -3
- package/primitives/menu/index.js +4 -4
- package/primitives/menu/menu-heading.js +3 -3
- package/primitives/menu/menu-item.js +3 -3
- package/primitives/menu/menu.js +4 -4
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/primitives/selection-controls/index.d.ts +1 -0
- package/primitives/selection-controls/index.js +15 -0
- package/primitives/selection-controls/selection-field-label.d.ts +36 -0
- package/primitives/selection-controls/selection-field-label.js +14 -0
- package/primitives/selection-controls/selection-field-label.styles.d.ts +1 -0
- package/transitional-styles.js +2 -2
- package/components/radio/radio-group.d.ts +0 -13
- package/components/radio/radio-group.js +0 -69
- /package/chunks/{chunk.2PVXNNB5.js → chunk.4S2VQKXS.js} +0 -0
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__decorateClass,
|
|
3
|
-
__privateAdd,
|
|
4
|
-
__privateSet
|
|
5
|
-
} from "../../chunks/chunk.SEHSDSX2.js";
|
|
6
|
-
|
|
7
|
-
// libs/core/src/components/radio/radio-group.ts
|
|
8
|
-
import { html, LitElement } from "lit";
|
|
9
|
-
import { customElement, property } from "lit/decorators.js";
|
|
10
|
-
var _internals;
|
|
11
|
-
var GdsRadioGroup = class extends LitElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super();
|
|
14
|
-
// Private members
|
|
15
|
-
__privateAdd(this, _internals, void 0);
|
|
16
|
-
this.label = "Label";
|
|
17
|
-
this.inputElement = null;
|
|
18
|
-
this.exludeAttr = ["id", "label"];
|
|
19
|
-
__privateSet(this, _internals, this.attachInternals());
|
|
20
|
-
}
|
|
21
|
-
reflectAttributesToInput() {
|
|
22
|
-
if (this.inputElement) {
|
|
23
|
-
const attributes = this.attributes;
|
|
24
|
-
for (let i = 0; i < attributes.length; i++) {
|
|
25
|
-
const attribute = attributes[i];
|
|
26
|
-
if (!this.exludeAttr.includes(attribute.name)) {
|
|
27
|
-
this.inputElement.setAttribute(attribute.name, attribute.value);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
update(changedProperties) {
|
|
33
|
-
var _a;
|
|
34
|
-
super.update(changedProperties);
|
|
35
|
-
if (!this.inputElement) {
|
|
36
|
-
this.inputElement = (_a = this.shadowRoot) == null ? void 0 : _a.getElementById(
|
|
37
|
-
"radio"
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
this.reflectAttributesToInput();
|
|
41
|
-
}
|
|
42
|
-
render() {
|
|
43
|
-
return html`
|
|
44
|
-
<fieldset
|
|
45
|
-
class="gds-radio-group"
|
|
46
|
-
role="radiogroup"
|
|
47
|
-
aria-labelledby="label"
|
|
48
|
-
>
|
|
49
|
-
<label>${this.label}</label>
|
|
50
|
-
<slot></slot>
|
|
51
|
-
</fieldset>
|
|
52
|
-
`;
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
_internals = new WeakMap();
|
|
56
|
-
// static styles = unsafeCSS(styles)
|
|
57
|
-
GdsRadioGroup.shadowRootOptions = {
|
|
58
|
-
mode: "open",
|
|
59
|
-
delegatesFocus: true
|
|
60
|
-
};
|
|
61
|
-
__decorateClass([
|
|
62
|
-
property({ type: String, reflect: true, attribute: "label" })
|
|
63
|
-
], GdsRadioGroup.prototype, "label", 2);
|
|
64
|
-
GdsRadioGroup = __decorateClass([
|
|
65
|
-
customElement("gds-radio-group")
|
|
66
|
-
], GdsRadioGroup);
|
|
67
|
-
export {
|
|
68
|
-
GdsRadioGroup
|
|
69
|
-
};
|
|
File without changes
|