@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.
Files changed (171) hide show
  1. package/chunks/{chunk.DYN6322L.js → chunk.3GQXXIAA.js} +2 -2
  2. package/chunks/{chunk.IJTVVDT5.js → chunk.4D6PS3YB.js} +1 -1
  3. package/chunks/{chunk.CTQODNHP.js → chunk.4GEYYFIK.js} +1 -1
  4. package/chunks/{chunk.TOBY35JG.js → chunk.4KL2SL2I.js} +1 -1
  5. package/chunks/{chunk.UPA7PT7F.js → chunk.5PXMD6FN.js} +2 -2
  6. package/chunks/chunk.6PGW4W5E.js +240 -0
  7. package/chunks/{chunk.HXC56ASG.js → chunk.A7DPHMYA.js} +1 -1
  8. package/chunks/{chunk.RF56IWRC.js → chunk.BA4XMBLV.js} +1 -1
  9. package/chunks/{chunk.KRR2MHH6.js → chunk.BR67WBUE.js} +1 -1
  10. package/chunks/{chunk.4RYCDDEL.js → chunk.CHZ4Z2YY.js} +1 -1
  11. package/chunks/{chunk.G5A6TLEB.js → chunk.D73543IP.js} +1 -1
  12. package/chunks/{chunk.2UGVYZW6.js → chunk.EPGFD7VH.js} +2 -2
  13. package/chunks/{chunk.OXFUYPNR.js → chunk.ERTFEGJX.js} +1 -1
  14. package/chunks/{chunk.KYGKWH6H.js → chunk.FB74W3AW.js} +1 -1
  15. package/chunks/{chunk.R7PMRDER.js → chunk.FIRXUEIK.js} +1 -1
  16. package/chunks/{chunk.AYJAUUCZ.js → chunk.FV4KNGDE.js} +1 -1
  17. package/chunks/{chunk.YDPMAYLA.js → chunk.GJ6CZ6UN.js} +2 -2
  18. package/chunks/{chunk.TRS2VCUR.js → chunk.GOPGCNDC.js} +1 -1
  19. package/chunks/{chunk.DNBHE2HW.js → chunk.GRVFPKOG.js} +1 -1
  20. package/chunks/{chunk.L27GXXCR.js → chunk.GVAZGVX2.js} +1 -1
  21. package/chunks/{chunk.SSMQSB4N.js → chunk.GZQMA4XI.js} +1 -1
  22. package/chunks/{chunk.3JPQEXQG.js → chunk.HBGEHVVS.js} +1 -1
  23. package/chunks/{chunk.W7XFAJ4E.js → chunk.I2YO744I.js} +2 -2
  24. package/chunks/{chunk.R7SHJPQX.js → chunk.IT5VVUWI.js} +1 -1
  25. package/chunks/chunk.ITT4IIHM.js +378 -0
  26. package/chunks/{chunk.KFICL24P.js → chunk.JFJHA6P6.js} +1 -1
  27. package/chunks/{chunk.XB7K3C5P.js → chunk.JIL3VXPT.js} +2 -2
  28. package/chunks/{chunk.L5PE6QYR.js → chunk.JLTWJMDP.js} +1 -1
  29. package/chunks/chunk.LTVUUK5B.js +0 -0
  30. package/chunks/{chunk.3ER354IV.js → chunk.LUSRFI2X.js} +2 -2
  31. package/chunks/{chunk.XHLTNW7U.js → chunk.N6GUDNJV.js} +2 -2
  32. package/chunks/{chunk.Y2NHXTDW.js → chunk.NHCDT25A.js} +1 -1
  33. package/chunks/{chunk.JO7TMUNS.js → chunk.NQQAFN6S.js} +1 -1
  34. package/chunks/{chunk.M6XWWL3K.js → chunk.NSJATXHH.js} +2 -2
  35. package/chunks/{chunk.7Y2HXZTW.js → chunk.OGHRZS7Z.js} +2 -2
  36. package/chunks/{chunk.NGISBDVX.js → chunk.OGXYFLYC.js} +6 -6
  37. package/chunks/chunk.PBKM6LEO.js +0 -0
  38. package/chunks/{chunk.L76SIVXL.js → chunk.Q3QF6FIQ.js} +2 -2
  39. package/chunks/chunk.QK3R23GV.js +1 -1
  40. package/chunks/{chunk.F2SQQT5J.js → chunk.ST5QI4XQ.js} +2 -2
  41. package/chunks/{chunk.FFOHUW46.js → chunk.UAED2ICJ.js} +1 -1
  42. package/chunks/{chunk.KC6Z3HNY.js → chunk.UR2O7OZR.js} +2 -2
  43. package/chunks/{chunk.M42OSKF3.js → chunk.VDIZOFXQ.js} +1 -1
  44. package/chunks/chunk.VL6WP6CO.js +113 -0
  45. package/chunks/{chunk.ZNRXC2JN.js → chunk.WDV4K3NB.js} +2 -2
  46. package/chunks/{chunk.J5LBLNY4.js → chunk.WSXUN75Q.js} +2 -2
  47. package/chunks/{chunk.Y5YZV6CC.js → chunk.XA77YAN3.js} +1 -1
  48. package/components/badge/badge.js +4 -4
  49. package/components/badge/index.js +4 -4
  50. package/components/button/button.js +4 -4
  51. package/components/button/button.trans.styles.js +2 -2
  52. package/components/button/index.js +4 -4
  53. package/components/calendar/calendar.js +3 -3
  54. package/components/calendar/calendar.trans.styles.js +2 -2
  55. package/components/calendar/index.js +3 -3
  56. package/components/card/card.js +3 -3
  57. package/components/card/index.js +3 -3
  58. package/components/container/container.js +3 -3
  59. package/components/container/index.js +3 -3
  60. package/components/context-menu/context-menu.js +6 -6
  61. package/components/context-menu/context-menu.trans.styles.js +2 -2
  62. package/components/context-menu/index.js +7 -7
  63. package/components/datepicker/datepicker.js +16 -16
  64. package/components/datepicker/datepicker.trans.styles.js +2 -2
  65. package/components/datepicker/index.js +16 -16
  66. package/components/dialog/dialog.js +7 -7
  67. package/components/dialog/index.js +7 -7
  68. package/components/div/div.js +2 -2
  69. package/components/div/index.js +2 -2
  70. package/components/divider/divider.js +2 -2
  71. package/components/divider/index.js +2 -2
  72. package/components/dropdown/dropdown.js +13 -13
  73. package/components/dropdown/dropdown.trans.styles.js +2 -2
  74. package/components/dropdown/index.js +14 -14
  75. package/components/fab/fab.js +5 -5
  76. package/components/fab/index.js +5 -5
  77. package/components/filter-chips/filter-chip/filter-chip.js +5 -5
  78. package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
  79. package/components/filter-chips/filter-chip/index.js +5 -5
  80. package/components/filter-chips/filter-chips.js +5 -5
  81. package/components/filter-chips/filter-chips.trans.styles.js +2 -2
  82. package/components/filter-chips/index.js +5 -5
  83. package/components/flex/flex.js +3 -3
  84. package/components/flex/index.js +3 -3
  85. package/components/form/form-control.d.ts +4 -1
  86. package/components/form/index.js +6 -6
  87. package/components/form/summary/index.js +6 -6
  88. package/components/form/summary/summary.js +6 -6
  89. package/components/grid/grid.js +3 -3
  90. package/components/grid/index.js +3 -3
  91. package/components/grouped-list/grouped-list.js +3 -3
  92. package/components/grouped-list/grouped-list.trans.styles.js +2 -2
  93. package/components/grouped-list/index.js +3 -3
  94. package/components/img/img.js +2 -2
  95. package/components/img/index.js +2 -2
  96. package/components/index.d.ts +1 -0
  97. package/components/index.js +54 -43
  98. package/components/input/index.js +10 -10
  99. package/components/input/input.js +10 -10
  100. package/components/input/input.trans.styles.js +2 -2
  101. package/components/link/index.js +2 -2
  102. package/components/link/link.js +2 -2
  103. package/components/mask/index.js +4 -4
  104. package/components/mask/mask.js +4 -4
  105. package/components/menu-button/index.js +2 -2
  106. package/components/menu-button/menu-button.js +2 -2
  107. package/components/popover/index.js +3 -3
  108. package/components/popover/popover.js +3 -3
  109. package/components/popover/popover.trans.styles.js +2 -2
  110. package/components/radio/index.d.ts +2 -0
  111. package/components/radio/index.js +46 -0
  112. package/components/radio/radio-group/radio-group.d.ts +55 -0
  113. package/components/radio/radio-group/radio-group.js +39 -0
  114. package/components/radio/radio-group/radio-group.styles.d.ts +1 -0
  115. package/components/radio/radio.d.ts +44 -0
  116. package/components/radio/radio.js +17 -0
  117. package/components/radio/radio.styles.d.ts +1 -0
  118. package/components/radio/radio.trans.styles.d.ts +2 -0
  119. package/components/radio/radio.trans.styles.js +26 -0
  120. package/components/rich-text/index.js +2 -2
  121. package/components/rich-text/rich-text.js +2 -2
  122. package/components/segmented-control/index.js +4 -4
  123. package/components/segmented-control/segment/index.js +3 -3
  124. package/components/segmented-control/segment/segment.js +3 -3
  125. package/components/segmented-control/segment/segment.trans.styles.js +2 -2
  126. package/components/segmented-control/segmented-control.js +4 -4
  127. package/components/segmented-control/segmented-control.trans.styles.js +2 -2
  128. package/components/select/index.js +10 -10
  129. package/components/select/select.js +10 -10
  130. package/components/select/select.trans.styles.js +2 -2
  131. package/components/signal/index.js +2 -2
  132. package/components/signal/signal.js +2 -2
  133. package/components/spacer/index.js +2 -2
  134. package/components/spacer/spacer.js +2 -2
  135. package/components/spinner/gds-spinner.js +2 -2
  136. package/components/spinner/index.js +2 -2
  137. package/components/text/index.js +3 -3
  138. package/components/text/text.js +3 -3
  139. package/components/textarea/index.js +10 -10
  140. package/components/textarea/textarea.js +10 -10
  141. package/components/theme/index.js +3 -3
  142. package/components/theme/theme.js +3 -3
  143. package/components/theme/theme.trans.styles.js +2 -2
  144. package/components/video/index.js +2 -2
  145. package/components/video/video.js +2 -2
  146. package/index.js +54 -43
  147. package/package.json +1 -1
  148. package/primitives/field-base/field-base.js +3 -3
  149. package/primitives/field-base/index.js +3 -3
  150. package/primitives/form-control-footer/form-control-footer.js +4 -4
  151. package/primitives/form-control-footer/index.js +4 -4
  152. package/primitives/form-control-header/form-control-header.js +6 -6
  153. package/primitives/form-control-header/index.js +6 -6
  154. package/primitives/listbox/index.js +4 -4
  155. package/primitives/listbox/listbox.js +4 -4
  156. package/primitives/listbox/option.js +3 -3
  157. package/primitives/menu/index.js +4 -4
  158. package/primitives/menu/menu-heading.js +3 -3
  159. package/primitives/menu/menu-item.js +3 -3
  160. package/primitives/menu/menu.js +4 -4
  161. package/primitives/ripple/index.js +2 -2
  162. package/primitives/ripple/ripple.js +2 -2
  163. package/primitives/selection-controls/index.d.ts +1 -0
  164. package/primitives/selection-controls/index.js +15 -0
  165. package/primitives/selection-controls/selection-field-label.d.ts +36 -0
  166. package/primitives/selection-controls/selection-field-label.js +14 -0
  167. package/primitives/selection-controls/selection-field-label.styles.d.ts +1 -0
  168. package/transitional-styles.js +2 -2
  169. package/components/radio/radio-group.d.ts +0 -13
  170. package/components/radio/radio-group.js +0 -69
  171. /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