@sebgroup/green-core 1.15.1 → 1.17.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/README.md +101 -7
- package/chunks/chunk.2LQSDOD4.js +29 -0
- package/chunks/chunk.2ND5EWHE.js +65 -0
- package/chunks/chunk.2OOTOCUG.js +420 -0
- package/chunks/chunk.2WO4NHJ2.js +34 -0
- package/chunks/chunk.2Y3BHFKO.js +154 -0
- package/chunks/chunk.375BWME4.js +29 -0
- package/chunks/chunk.5VURDMKE.js +75 -0
- package/chunks/chunk.63RKNI5K.js +244 -0
- package/chunks/chunk.6NM7ENKA.js +31 -0
- package/chunks/chunk.6UA66KQU.js +153 -0
- package/chunks/chunk.7TCXY7BP.js +0 -0
- package/chunks/chunk.AQGTMWG4.js +101 -0
- package/chunks/chunk.D7H7CUS4.js +55 -0
- package/chunks/chunk.DFYMYEGD.js +78 -0
- package/chunks/chunk.EUQ5DOQM.js +560 -0
- package/chunks/chunk.HS7ICQNA.js +0 -0
- package/chunks/chunk.IYCENQZG.js +28 -0
- package/chunks/chunk.KC32OWZE.js +274 -0
- package/chunks/chunk.LUHCF4BJ.js +64 -0
- package/chunks/chunk.MAD5DQMN.js +161 -0
- package/chunks/chunk.MI4A2C2A.js +0 -0
- package/chunks/chunk.Q2T57HE7.js +0 -0
- package/chunks/chunk.QONSFT2N.js +4653 -0
- package/chunks/chunk.TMBQL2RO.js +0 -0
- package/chunks/chunk.TN6ZYAH3.js +74 -0
- package/chunks/chunk.TSDZQZBY.js +0 -0
- package/chunks/chunk.TX64TTBN.js +0 -0
- package/chunks/chunk.U4DPJ4QU.js +96 -0
- package/chunks/chunk.UF6IEONX.js +0 -0
- package/chunks/chunk.VOYMQ322.js +61 -0
- package/chunks/chunk.VYK7D6QO.js +64 -0
- package/chunks/chunk.WDZ2JTCP.js +360 -0
- package/chunks/chunk.WJDR7FTS.js +193 -0
- package/chunks/chunk.WM7HBMMV.js +54 -0
- package/chunks/chunk.XD5R3ZU3.js +460 -0
- package/chunks/chunk.XHTJVQUJ.js +140 -0
- package/chunks/chunk.XI4H54TV.js +39 -0
- package/chunks/chunk.XMPBXAGB.js +80 -0
- package/chunks/chunk.XU4HZLJL.js +0 -0
- package/chunks/chunk.YIQIH4RW.js +139 -0
- package/chunks/chunk.YJHAKLGR.js +54 -0
- package/chunks/chunk.YO24ZYAD.js +0 -0
- package/chunks/chunk.ZTE73BY2.js +655 -0
- package/chunks/chunk.ZYQWZMVY.js +467 -0
- package/components/badge/badge.js +245 -0
- package/components/button/button.d.ts +5 -5
- package/components/button/button.js +18 -0
- package/components/button/button.trans.styles.d.ts +2 -0
- package/components/button/index.d.ts +1 -0
- package/components/button/index.js +18 -0
- package/components/checkbox/checkbox.js +219 -0
- package/components/context-menu/context-menu.d.ts +2 -1
- package/components/context-menu/context-menu.js +22 -0
- package/components/context-menu/index.d.ts +3 -0
- package/components/context-menu/index.js +29 -0
- package/components/datepicker/date-part-spinner.js +10 -0
- package/components/datepicker/datepicker.d.ts +3 -2
- package/components/datepicker/datepicker.js +29 -0
- package/components/datepicker/index.d.ts +1 -0
- package/components/datepicker/index.js +29 -0
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/dropdown.js +22 -0
- package/components/dropdown/index.d.ts +3 -0
- package/components/dropdown/index.js +30 -0
- package/components/form-control.js +12 -0
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/grid.js +11 -0
- package/components/grid/grid.style.css.js +7 -0
- package/components/grid/index.d.ts +1 -0
- package/components/grid/index.js +11 -0
- package/components/grouped-list/grouped-list.js +14 -0
- package/components/grouped-list/index.d.ts +2 -0
- package/components/grouped-list/index.js +17 -0
- package/components/grouped-list/list-item.js +10 -0
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +10 -0
- package/components/icon/index.d.ts +1 -0
- package/components/icon/index.js +10 -0
- package/components/index.d.ts +4 -3
- package/components/index.js +81 -0
- package/components/input/input.js +682 -0
- package/components/radio/radio-group.js +9 -0
- package/components/radio/radio.js +240 -0
- package/components/segmented-control/index.d.ts +1 -0
- package/components/segmented-control/index.js +15 -0
- package/components/segmented-control/segment/index.d.ts +1 -0
- package/components/segmented-control/segment/index.js +13 -0
- package/components/segmented-control/segment/segment.js +12 -0
- package/components/segmented-control/segmented-control.d.ts +1 -1
- package/components/segmented-control/segmented-control.js +15 -0
- package/components/switch/switch.js +164 -0
- package/components/theme/index.d.ts +1 -0
- package/components/theme/index.js +11 -0
- package/components/theme/theme.js +11 -0
- package/components/tooltip/tooltip.js +252 -0
- package/index.js +72 -4291
- package/localization.js +3 -5
- package/package.json +7 -16
- package/primitives/calendar/calendar.js +13 -0
- package/primitives/calendar/functions.js +7 -0
- package/primitives/calendar/index.d.ts +1 -0
- package/primitives/calendar/index.js +14 -0
- package/primitives/listbox/index.d.ts +0 -1
- package/primitives/listbox/index.js +17 -0
- package/primitives/listbox/listbox.d.ts +2 -1
- package/primitives/listbox/listbox.js +16 -0
- package/primitives/listbox/option.js +14 -0
- package/primitives/menu/index.d.ts +1 -0
- package/primitives/menu/index.js +15 -0
- package/primitives/menu/menu-heading.js +11 -0
- package/primitives/menu/menu-item.d.ts +1 -2
- package/primitives/menu/menu-item.js +12 -0
- package/primitives/menu/menu.d.ts +2 -1
- package/primitives/menu/menu.js +14 -0
- package/primitives/popover/index.js +14 -0
- package/primitives/popover/popover.js +13 -0
- package/primitives/ripple/index.d.ts +1 -0
- package/primitives/ripple/index.js +11 -0
- package/primitives/ripple/ripple.d.ts +1 -1
- package/primitives/ripple/ripple.js +10 -0
- package/scoping.d.ts +1 -0
- package/scoping.js +18 -0
- package/transitional-styles.js +6 -4275
package/localization.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
5
|
-
};
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./chunks/chunk.5VURDMKE.js";
|
|
6
4
|
|
|
7
5
|
// libs/core/src/utils/localization/localization.ts
|
|
8
6
|
import { configureLocalization } from "@lit/localize";
|
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.
|
|
4
|
+
"version": "1.17.0",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -29,20 +29,11 @@
|
|
|
29
29
|
"reflect-metadata": "^0.1.13"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
|
-
".":
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"./
|
|
37
|
-
|
|
38
|
-
"default": "./transitional-styles.js"
|
|
39
|
-
},
|
|
40
|
-
"./localization": {
|
|
41
|
-
"types": "./localization.d.ts",
|
|
42
|
-
"default": "./localization.js"
|
|
43
|
-
},
|
|
44
|
-
"./jest-config": {
|
|
45
|
-
"default": "./green-jest-config.cjs"
|
|
46
|
-
}
|
|
32
|
+
".": "./index.js",
|
|
33
|
+
"./scoping": "./scoping.js",
|
|
34
|
+
"./transitional-styles": "./transitional-styles.js",
|
|
35
|
+
"./localization": "./localization.js",
|
|
36
|
+
"./components/*": "./components/*",
|
|
37
|
+
"./_primitives/*": "./primitives/*"
|
|
47
38
|
}
|
|
48
39
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsCalendar
|
|
3
|
+
} from "../../chunks/chunk.KC32OWZE.js";
|
|
4
|
+
import "../../chunks/chunk.375BWME4.js";
|
|
5
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
6
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
7
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
8
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
9
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
10
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
11
|
+
export {
|
|
12
|
+
GdsCalendar
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calendar';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "../../chunks/chunk.TMBQL2RO.js";
|
|
2
|
+
import {
|
|
3
|
+
GdsCalendar
|
|
4
|
+
} from "../../chunks/chunk.KC32OWZE.js";
|
|
5
|
+
import "../../chunks/chunk.375BWME4.js";
|
|
6
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
7
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
8
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
9
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
10
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
|
+
export {
|
|
13
|
+
GdsCalendar
|
|
14
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "../../chunks/chunk.MI4A2C2A.js";
|
|
2
|
+
import {
|
|
3
|
+
GdsListbox
|
|
4
|
+
} from "../../chunks/chunk.MAD5DQMN.js";
|
|
5
|
+
import "../../chunks/chunk.XHTJVQUJ.js";
|
|
6
|
+
import "../../chunks/chunk.DFYMYEGD.js";
|
|
7
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
8
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
9
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
10
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
11
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
12
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
13
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
14
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
15
|
+
export {
|
|
16
|
+
GdsListbox
|
|
17
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { GdsOption, OptionsContainer } from './option';
|
|
2
1
|
import 'reflect-metadata';
|
|
3
2
|
import { GdsElement } from '../../gds-element';
|
|
3
|
+
import '../../primitives/listbox/option';
|
|
4
|
+
import type { GdsOption, OptionsContainer } from '../../primitives/listbox/option';
|
|
4
5
|
import { ListboxKbNavigation } from '../../controllers/listbox-kb-nav-controller';
|
|
5
6
|
/**
|
|
6
7
|
* @element gds-listbox
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsListbox
|
|
3
|
+
} from "../../chunks/chunk.MAD5DQMN.js";
|
|
4
|
+
import "../../chunks/chunk.XHTJVQUJ.js";
|
|
5
|
+
import "../../chunks/chunk.DFYMYEGD.js";
|
|
6
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
7
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
8
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
10
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
11
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
12
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
13
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
14
|
+
export {
|
|
15
|
+
GdsListbox
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsOption
|
|
3
|
+
} from "../../chunks/chunk.XHTJVQUJ.js";
|
|
4
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
5
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
6
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
7
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
8
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
9
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
10
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
|
+
export {
|
|
13
|
+
GdsOption
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './menu';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import "../../chunks/chunk.UF6IEONX.js";
|
|
2
|
+
import {
|
|
3
|
+
GdsMenu
|
|
4
|
+
} from "../../chunks/chunk.LUHCF4BJ.js";
|
|
5
|
+
import "../../chunks/chunk.VYK7D6QO.js";
|
|
6
|
+
import "../../chunks/chunk.DFYMYEGD.js";
|
|
7
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
8
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
9
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
10
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
11
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
12
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
13
|
+
export {
|
|
14
|
+
GdsMenu
|
|
15
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsMenuHeading
|
|
3
|
+
} from "../../chunks/chunk.YJHAKLGR.js";
|
|
4
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
5
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
6
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
7
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
8
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
9
|
+
export {
|
|
10
|
+
GdsMenuHeading
|
|
11
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
1
|
import { GdsElement } from '../../gds-element';
|
|
3
|
-
declare const GdsMenuItem_base: (new (...args: any[]) => LitElement) & typeof GdsElement;
|
|
2
|
+
declare const GdsMenuItem_base: (new (...args: any[]) => import("lit").LitElement) & typeof GdsElement;
|
|
4
3
|
/**
|
|
5
4
|
* @element gds-menu-item
|
|
6
5
|
* @internal
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsMenuItem
|
|
3
|
+
} from "../../chunks/chunk.VYK7D6QO.js";
|
|
4
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
5
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
6
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
7
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
8
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
9
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
10
|
+
export {
|
|
11
|
+
GdsMenuItem
|
|
12
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { GdsElement } from '../../gds-element';
|
|
2
2
|
import { ListboxKbNavigation } from '../../controllers/listbox-kb-nav-controller';
|
|
3
|
-
import
|
|
3
|
+
import '../../primitives/menu/menu-item';
|
|
4
|
+
import type { GdsMenuItem } from '../../primitives/menu/menu-item';
|
|
4
5
|
/**
|
|
5
6
|
* @element gds-menu
|
|
6
7
|
* @internal
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsMenu
|
|
3
|
+
} from "../../chunks/chunk.LUHCF4BJ.js";
|
|
4
|
+
import "../../chunks/chunk.VYK7D6QO.js";
|
|
5
|
+
import "../../chunks/chunk.DFYMYEGD.js";
|
|
6
|
+
import "../../chunks/chunk.2ND5EWHE.js";
|
|
7
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
8
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
9
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
10
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
|
+
export {
|
|
13
|
+
GdsMenu
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "../../chunks/chunk.XU4HZLJL.js";
|
|
2
|
+
import {
|
|
3
|
+
GdsPopover
|
|
4
|
+
} from "../../chunks/chunk.WDZ2JTCP.js";
|
|
5
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
6
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
7
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
8
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
9
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
10
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
|
+
export {
|
|
13
|
+
GdsPopover
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsPopover
|
|
3
|
+
} from "../../chunks/chunk.WDZ2JTCP.js";
|
|
4
|
+
import "../../chunks/chunk.QONSFT2N.js";
|
|
5
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
6
|
+
import "../../chunks/chunk.2LQSDOD4.js";
|
|
7
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
8
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
9
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
10
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
11
|
+
export {
|
|
12
|
+
GdsPopover
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ripple';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../../chunks/chunk.TX64TTBN.js";
|
|
2
|
+
import {
|
|
3
|
+
Ripple
|
|
4
|
+
} from "../../chunks/chunk.AQGTMWG4.js";
|
|
5
|
+
import "../../chunks/chunk.EUQ5DOQM.js";
|
|
6
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
7
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
8
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
9
|
+
export {
|
|
10
|
+
Ripple
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
2
|
export declare class Ripple extends LitElement {
|
|
3
|
-
static
|
|
3
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
4
4
|
private _rippleEl?;
|
|
5
5
|
render(): import("lit").TemplateResult<1>;
|
|
6
6
|
onmousedown: (e: MouseEvent) => void;
|
package/scoping.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './utils/helpers/custom-element-scoping';
|
package/scoping.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./chunks/chunk.YO24ZYAD.js";
|
|
2
|
+
import {
|
|
3
|
+
VER_SUFFIX,
|
|
4
|
+
gdsCustomElement,
|
|
5
|
+
getScopedTagName,
|
|
6
|
+
getUnscopedTagName,
|
|
7
|
+
html,
|
|
8
|
+
htmlTemplateTagFactory
|
|
9
|
+
} from "./chunks/chunk.VOYMQ322.js";
|
|
10
|
+
import "./chunks/chunk.5VURDMKE.js";
|
|
11
|
+
export {
|
|
12
|
+
VER_SUFFIX,
|
|
13
|
+
gdsCustomElement,
|
|
14
|
+
getScopedTagName,
|
|
15
|
+
getUnscopedTagName,
|
|
16
|
+
html,
|
|
17
|
+
htmlTemplateTagFactory
|
|
18
|
+
};
|