@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.
- package/chunks/{chunk.SUCYW2BN.js → chunk.2HUICVEB.js} +2 -2
- package/chunks/{chunk.LPQA7BDV.js → chunk.2YZSLAXQ.js} +1 -1
- package/chunks/{chunk.COEIL5XR.js → chunk.3NWU65G2.js} +8 -2
- package/chunks/{chunk.JL6J6MCJ.js → chunk.432YVDHB.js} +1 -1
- package/chunks/{chunk.5DR24KUY.js → chunk.BEYBLGU3.js} +2 -2
- package/chunks/chunk.BTI3F6RY.js +0 -0
- package/chunks/{chunk.57LSASOY.js → chunk.CF2FHRNR.js} +1 -1
- package/chunks/{chunk.7D4CRLVS.js → chunk.CIWHLTEC.js} +1 -1
- package/chunks/chunk.DCVDALVX.js +0 -0
- package/chunks/{chunk.PVMVDWNH.js → chunk.DH47VYYQ.js} +1 -1
- package/chunks/{chunk.JG4R6KQ7.js → chunk.KJKUEZ33.js} +4 -1
- package/chunks/{chunk.LYAC2QCH.js → chunk.MR6N3VAU.js} +1 -1
- package/chunks/{chunk.C3SO7KTM.js → chunk.QVRZK3CQ.js} +7 -2
- package/chunks/{chunk.4XLVTKU5.js → chunk.RALLT724.js} +1 -1
- package/chunks/{chunk.7VDSEUTR.js → chunk.SIAKY7DM.js} +4 -4
- package/chunks/chunk.UNXDEINN.js +86 -0
- package/chunks/{chunk.WIA7QHCX.js → chunk.UOT5KPZH.js} +7 -2
- package/chunks/chunk.US5K5OGQ.js +0 -0
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.WGTPNU3P.js → chunk.X32AG3RQ.js} +1 -1
- package/chunks/{chunk.FJUIK5PN.js → chunk.Y4GPJIXU.js} +5 -5
- package/chunks/{chunk.FQQ43BBK.js → chunk.YDZD6ZMG.js} +1 -1
- package/chunks/chunk.YL55SGZC.js +0 -0
- package/chunks/{chunk.FC6X4F4U.js → chunk.YRDSZC4U.js} +1 -1
- package/chunks/{chunk.MZSK66DN.js → chunk.YT5MTXP5.js} +59 -41
- package/chunks/{chunk.O2NYP6CU.js → chunk.ZUYZBLHW.js} +63 -42
- package/components/button/button.d.ts +3 -1
- package/components/button/button.js +4 -4
- package/components/button/index.js +4 -4
- package/components/calendar/calendar.d.ts +13 -1
- package/components/calendar/calendar.js +1 -1
- package/components/calendar/index.js +1 -1
- package/components/content/divider/divider.js +2 -2
- package/components/content/divider/index.js +2 -2
- package/components/content/spacer/index.js +2 -2
- package/components/content/spacer/spacer.js +2 -2
- package/components/content/text/index.js +2 -2
- package/components/content/text/text.js +2 -2
- package/components/datepicker/datepicker.d.ts +2 -1
- package/components/datepicker/datepicker.js +7 -7
- package/components/datepicker/index.js +7 -7
- package/components/dropdown/dropdown.d.ts +2 -1
- package/components/dropdown/dropdown.js +2 -2
- package/components/dropdown/index.js +2 -2
- package/components/filter-chips/filter-chip/filter-chip.js +4 -4
- package/components/filter-chips/filter-chip/index.js +4 -4
- package/components/filter-chips/filter-chips.d.ts +2 -1
- package/components/filter-chips/filter-chips.js +5 -5
- package/components/filter-chips/index.js +5 -5
- package/components/{form-control.d.ts → form/form-control.d.ts} +20 -8
- package/components/form/form-control.js +13 -0
- package/components/form/index.d.ts +1 -0
- package/components/form/index.js +28 -0
- package/components/form/summary/index.d.ts +1 -0
- package/components/form/summary/index.js +27 -0
- package/components/form/summary/summary.d.ts +13 -0
- package/components/form/summary/summary.js +26 -0
- package/components/icon/icons/index.js +195 -195
- package/components/index.d.ts +1 -0
- package/components/index.js +39 -30
- package/components/layout/card/card.js +4 -4
- package/components/layout/card/index.js +5 -4
- package/components/layout/container/container.js +2 -2
- package/components/layout/container/index.js +2 -2
- package/components/layout/flex/flex.js +4 -4
- package/components/layout/flex/index.js +5 -4
- package/components/layout/grid/grid.js +2 -2
- package/components/layout/grid/index.js +2 -2
- package/components/media/img/img.js +2 -2
- package/components/media/img/index.js +2 -2
- package/components/media/video/index.js +2 -2
- package/components/media/video/video.js +2 -2
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/segmented-control/index.js +3 -3
- package/components/segmented-control/segment/index.js +2 -2
- package/components/segmented-control/segment/segment.js +2 -2
- package/components/segmented-control/segmented-control.js +3 -3
- package/generated/locales/sv.d.ts +3 -0
- package/index.js +39 -30
- package/localization.js +42 -37
- package/package.json +1 -1
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/setup-jest.js +3 -0
- package/components/form-control.js +0 -13
- /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 = [
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
2
2
|
import {
|
|
3
3
|
Ripple
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
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.
|
|
4
|
-
import "../../chunks/chunk.
|
|
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
|