@sebgroup/green-core 1.30.0 → 1.32.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 (87) hide show
  1. package/chunks/{chunk.SUCYW2BN.js → chunk.2HUICVEB.js} +2 -2
  2. package/chunks/{chunk.LPQA7BDV.js → chunk.2YZSLAXQ.js} +1 -1
  3. package/chunks/{chunk.COEIL5XR.js → chunk.3NWU65G2.js} +8 -2
  4. package/chunks/{chunk.JL6J6MCJ.js → chunk.432YVDHB.js} +1 -1
  5. package/chunks/{chunk.5DR24KUY.js → chunk.BEYBLGU3.js} +2 -2
  6. package/chunks/chunk.BTI3F6RY.js +0 -0
  7. package/chunks/{chunk.57LSASOY.js → chunk.CF2FHRNR.js} +1 -1
  8. package/chunks/{chunk.7D4CRLVS.js → chunk.CIWHLTEC.js} +1 -1
  9. package/chunks/chunk.DCVDALVX.js +0 -0
  10. package/chunks/{chunk.PVMVDWNH.js → chunk.DH47VYYQ.js} +1 -1
  11. package/chunks/{chunk.JG4R6KQ7.js → chunk.KJKUEZ33.js} +4 -1
  12. package/chunks/{chunk.LYAC2QCH.js → chunk.MR6N3VAU.js} +1 -1
  13. package/chunks/{chunk.C3SO7KTM.js → chunk.QVRZK3CQ.js} +7 -2
  14. package/chunks/{chunk.4XLVTKU5.js → chunk.RALLT724.js} +1 -1
  15. package/chunks/{chunk.7VDSEUTR.js → chunk.SIAKY7DM.js} +4 -4
  16. package/chunks/chunk.UNXDEINN.js +86 -0
  17. package/chunks/{chunk.WIA7QHCX.js → chunk.UOT5KPZH.js} +7 -2
  18. package/chunks/chunk.US5K5OGQ.js +0 -0
  19. package/chunks/chunk.VOYMQ322.js +1 -1
  20. package/chunks/{chunk.WGTPNU3P.js → chunk.X32AG3RQ.js} +1 -1
  21. package/chunks/{chunk.FJUIK5PN.js → chunk.Y4GPJIXU.js} +5 -5
  22. package/chunks/{chunk.FQQ43BBK.js → chunk.YDZD6ZMG.js} +1 -1
  23. package/chunks/chunk.YL55SGZC.js +0 -0
  24. package/chunks/{chunk.FC6X4F4U.js → chunk.YRDSZC4U.js} +1 -1
  25. package/chunks/{chunk.MZSK66DN.js → chunk.YT5MTXP5.js} +59 -41
  26. package/chunks/{chunk.O2NYP6CU.js → chunk.ZUYZBLHW.js} +63 -42
  27. package/components/button/button.d.ts +3 -1
  28. package/components/button/button.js +4 -4
  29. package/components/button/index.js +4 -4
  30. package/components/calendar/calendar.d.ts +13 -1
  31. package/components/calendar/calendar.js +1 -1
  32. package/components/calendar/index.js +1 -1
  33. package/components/content/divider/divider.js +2 -2
  34. package/components/content/divider/index.js +2 -2
  35. package/components/content/spacer/index.js +2 -2
  36. package/components/content/spacer/spacer.js +2 -2
  37. package/components/content/text/index.js +2 -2
  38. package/components/content/text/text.js +2 -2
  39. package/components/datepicker/datepicker.d.ts +2 -1
  40. package/components/datepicker/datepicker.js +7 -7
  41. package/components/datepicker/index.js +7 -7
  42. package/components/dropdown/dropdown.d.ts +2 -1
  43. package/components/dropdown/dropdown.js +2 -2
  44. package/components/dropdown/index.js +2 -2
  45. package/components/filter-chips/filter-chip/filter-chip.js +4 -4
  46. package/components/filter-chips/filter-chip/index.js +4 -4
  47. package/components/filter-chips/filter-chips.d.ts +2 -1
  48. package/components/filter-chips/filter-chips.js +5 -5
  49. package/components/filter-chips/index.js +5 -5
  50. package/components/{form-control.d.ts → form/form-control.d.ts} +20 -8
  51. package/components/form/form-control.js +13 -0
  52. package/components/form/index.d.ts +1 -0
  53. package/components/form/index.js +28 -0
  54. package/components/form/summary/index.d.ts +1 -0
  55. package/components/form/summary/index.js +27 -0
  56. package/components/form/summary/summary.d.ts +13 -0
  57. package/components/form/summary/summary.js +26 -0
  58. package/components/icon/icons/index.js +195 -195
  59. package/components/index.d.ts +1 -0
  60. package/components/index.js +39 -30
  61. package/components/layout/card/card.js +4 -4
  62. package/components/layout/card/index.js +5 -4
  63. package/components/layout/container/container.js +2 -2
  64. package/components/layout/container/index.js +2 -2
  65. package/components/layout/flex/flex.js +4 -4
  66. package/components/layout/flex/index.js +5 -4
  67. package/components/layout/grid/grid.js +2 -2
  68. package/components/layout/grid/index.js +2 -2
  69. package/components/media/img/img.js +2 -2
  70. package/components/media/img/index.js +2 -2
  71. package/components/media/video/index.js +2 -2
  72. package/components/media/video/video.js +2 -2
  73. package/components/menu-button/index.js +2 -2
  74. package/components/menu-button/menu-button.js +2 -2
  75. package/components/segmented-control/index.js +3 -3
  76. package/components/segmented-control/segment/index.js +2 -2
  77. package/components/segmented-control/segment/segment.js +2 -2
  78. package/components/segmented-control/segmented-control.js +3 -3
  79. package/generated/locales/sv.d.ts +3 -0
  80. package/index.js +39 -30
  81. package/localization.js +42 -37
  82. package/package.json +1 -1
  83. package/primitives/ripple/index.js +2 -2
  84. package/primitives/ripple/ripple.js +2 -2
  85. package/setup-jest.js +3 -0
  86. package/components/form-control.js +0 -13
  87. /package/chunks/{chunk.65745UGT.js → chunk.A23HHQDO.js} +0 -0
package/localization.js CHANGED
@@ -7,7 +7,9 @@ import { configureLocalization } from "@lit/localize";
7
7
 
8
8
  // libs/core/src/generated/locale-codes.ts
9
9
  var sourceLocale = `en`;
10
- var targetLocales = [`sv`];
10
+ var targetLocales = [
11
+ `sv`
12
+ ];
11
13
 
12
14
  // libs/core/src/generated/locales/sv.ts
13
15
  var sv_exports = {};
@@ -16,42 +18,45 @@ __export(sv_exports, {
16
18
  });
17
19
  import { str } from "@lit/localize";
18
20
  var templates = {
19
- s15a16ae9f99f19bf: `Juli`,
20
- s15a852e9f9a50fa5: `Juni`,
21
- s17e3edbe032f79ec: `\xD6ppna kalender`,
22
- s1a2dda8f763a68bd: `Januari`,
23
- s1e118319b5202c41: `M\xE5n`,
24
- s1e187019b5262aa6: `Maj`,
25
- s281846ef0421c71f: `November`,
26
- s39938ecdae568740: `September`,
27
- s407a88a592a0987c: `Augusti`,
28
- s46d6587089bd0356: `N\xE4sta m\xE5nad`,
29
- s5052d10b539eabf0: `Mars`,
30
- s58bfb494feb8eb02: str`${0} valda`,
31
- s5d929ff1619ac0c9: `S\xF6k`,
32
- s5e8250fb85d64c23: `St\xE4ng`,
33
- s62931b2a50168976: `F\xF6reg\xE5ende m\xE5nad`,
34
- s63d040e37887f17e: `Idag`,
35
- s6cfed919e21ac6ac: `Tor`,
36
- s6d24cd19e23b8185: `Tis`,
37
- s74aa0319e62b2eb7: `Ons`,
38
- s7793b811d20184fe: `December`,
39
- s7fd3469f78111589: `\xD6ppna meny`,
40
- s8ade4e9d5e804d6a: `F\xF6rsta tillg\xE4ngliga datum`,
41
- s9836b719fa8ef857: `L\xF6r`,
42
- s987ac119fac8d621: `S\xF6n`,
43
- sa6f2645578b2d2bc: `\xC5r`,
44
- sa7cd5c2ff6d266e7: `Oktober`,
45
- sb47daaf9e1c4a905: `M\xE5nad`,
46
- sb4f1dffbb6be6302: `Rensa`,
47
- sbc083a1dbee9af73: `Februari`,
48
- scb6b9cb49cf93277: `April`,
49
- sd898d99fd9c13de6: `S\xF6k i listan av val`,
50
- sdc27791837e94961: `Visa ut\xF6kad beskrivning`,
51
- sdc42f1da42d6411a: `Rensa text`,
52
- se0955919920ee87d: `Dag`,
53
- se4129fd6b9d7b4c2: `Sista tillg\xE4ngliga datum`,
54
- sf295af199c723ec8: `Fre`
21
+ "s15a16ae9f99f19bf": `Juli`,
22
+ "s15a852e9f9a50fa5": `Juni`,
23
+ "s17e3edbe032f79ec": `\xD6ppna kalender`,
24
+ "s1a2dda8f763a68bd": `Januari`,
25
+ "s1e118319b5202c41": `M\xE5n`,
26
+ "s1e187019b5262aa6": `Maj`,
27
+ "s241bf8eb8742b138": `Valideringsfel`,
28
+ "s281846ef0421c71f": `November`,
29
+ "s39938ecdae568740": `September`,
30
+ "s407a88a592a0987c": `Augusti`,
31
+ "s46d6587089bd0356": `N\xE4sta m\xE5nad`,
32
+ "s5052d10b539eabf0": `Mars`,
33
+ "s58bfb494feb8eb02": str`${0} valda`,
34
+ "s5d929ff1619ac0c9": `S\xF6k`,
35
+ "s5e8250fb85d64c23": `St\xE4ng`,
36
+ "s5febcd9b311c16fe": `Scrolla h\xF6ger`,
37
+ "s62931b2a50168976": `F\xF6reg\xE5ende m\xE5nad`,
38
+ "s63d040e37887f17e": `Idag`,
39
+ "s6cfed919e21ac6ac": `Tor`,
40
+ "s6d24cd19e23b8185": `Tis`,
41
+ "s74aa0319e62b2eb7": `Ons`,
42
+ "s7793b811d20184fe": `December`,
43
+ "s7fd3469f78111589": `\xD6ppna meny`,
44
+ "s8ade4e9d5e804d6a": `F\xF6rsta tillg\xE4ngliga datum`,
45
+ "s9836b719fa8ef857": `L\xF6r`,
46
+ "s987ac119fac8d621": `S\xF6n`,
47
+ "s9af3c72c33088826": str`Det finns ${0} fel att åtgärda innan du kan fortsätta:`,
48
+ "sa6f2645578b2d2bc": `\xC5r`,
49
+ "sa7cd5c2ff6d266e7": `Oktober`,
50
+ "sb47daaf9e1c4a905": `M\xE5nad`,
51
+ "sb4f1dffbb6be6302": `Rensa`,
52
+ "sbc083a1dbee9af73": `Februari`,
53
+ "scb6b9cb49cf93277": `April`,
54
+ "sd898d99fd9c13de6": `S\xF6k i listan av val`,
55
+ "sdc27791837e94961": `Visa ut\xF6kad beskrivning`,
56
+ "sdc42f1da42d6411a": `Rensa text`,
57
+ "se0955919920ee87d": `Dag`,
58
+ "se4129fd6b9d7b4c2": `Sista tillg\xE4ngliga datum`,
59
+ "sf295af199c723ec8": `Fre`
55
60
  };
56
61
 
57
62
  // libs/core/src/utils/localization/localization.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "1.30.0",
4
+ "version": "1.32.0",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,8 +1,8 @@
1
1
  import "../../chunks/chunk.TX64TTBN.js";
2
2
  import {
3
3
  Ripple
4
- } from "../../chunks/chunk.FC6X4F4U.js";
5
- import "../../chunks/chunk.FJUIK5PN.js";
4
+ } from "../../chunks/chunk.YRDSZC4U.js";
5
+ import "../../chunks/chunk.Y4GPJIXU.js";
6
6
  import "../../chunks/chunk.YO24ZYAD.js";
7
7
  import "../../chunks/chunk.VOYMQ322.js";
8
8
  import "../../chunks/chunk.5VURDMKE.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Ripple
3
- } from "../../chunks/chunk.FC6X4F4U.js";
4
- import "../../chunks/chunk.FJUIK5PN.js";
3
+ } from "../../chunks/chunk.YRDSZC4U.js";
4
+ import "../../chunks/chunk.Y4GPJIXU.js";
5
5
  import "../../chunks/chunk.YO24ZYAD.js";
6
6
  import "../../chunks/chunk.VOYMQ322.js";
7
7
  import "../../chunks/chunk.5VURDMKE.js";
package/setup-jest.js CHANGED
@@ -8,6 +8,9 @@ global.HTMLElement.prototype.attachInternals = () => {
8
8
  global.ElementInternals = function () {}
9
9
  global.ElementInternals.prototype.setValidity = () => {}
10
10
  global.ElementInternals.prototype.setFormValue = () => {}
11
+ global.ElementInternals.prototype.validity = () => {
12
+ valid: true
13
+ }
11
14
 
12
15
  window.matchMedia = () => {
13
16
  return {
@@ -1,13 +0,0 @@
1
- import {
2
- GdsFormControlElement
3
- } from "../chunks/chunk.MZSK66DN.js";
4
- import "../chunks/chunk.WM7HBMMV.js";
5
- import "../chunks/chunk.ZQ4D5K7J.js";
6
- import "../chunks/chunk.W7CV3QYI.js";
7
- import "../chunks/chunk.2WO4NHJ2.js";
8
- import "../chunks/chunk.YO24ZYAD.js";
9
- import "../chunks/chunk.VOYMQ322.js";
10
- import "../chunks/chunk.5VURDMKE.js";
11
- export {
12
- GdsFormControlElement
13
- };
File without changes