@sebgroup/green-core 1.42.0 → 1.43.1
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.LFJRIUDW.js → chunk.27E4EAEK.js} +1 -1
- package/chunks/{chunk.DW6Q6SBC.js → chunk.3CT5ZFTQ.js} +2 -2
- package/chunks/{chunk.MBOWSQFX.js → chunk.A7Q7YZEN.js} +36 -12
- package/chunks/{chunk.XO3GEBSD.js → chunk.AERYOXEJ.js} +5 -4
- package/chunks/chunk.AKNDGE2O.js +37 -0
- package/chunks/chunk.ALUL3Z4L.js +107 -0
- package/chunks/chunk.CK2UGCPG.js +0 -0
- package/chunks/chunk.CKHSQ3NZ.js +363 -0
- package/chunks/{chunk.647FXT6C.js → chunk.CT4EJQUH.js} +4 -7
- package/chunks/{chunk.DMV5YQTC.js → chunk.CTPZ3SVO.js} +15 -9
- package/chunks/{chunk.JZZIQFBB.js → chunk.G5N266EN.js} +4 -5
- package/chunks/{chunk.XF5K6ZIH.js → chunk.GLIXAC4R.js} +1 -1
- package/chunks/{chunk.O7YI7FZ5.js → chunk.GYZUJT76.js} +2 -2
- package/chunks/chunk.HON6XHRQ.js +547 -0
- package/chunks/{chunk.GHYMUUPE.js → chunk.I5ZVUUCK.js} +36 -8
- package/chunks/{chunk.EJUBEZ5B.js → chunk.IGNF6GRC.js} +4 -4
- package/chunks/{chunk.4VW724L2.js → chunk.JMCXGEXD.js} +1 -1
- package/chunks/{chunk.G3YUUPNZ.js → chunk.LSSS5CKS.js} +33 -9
- package/chunks/chunk.MRMXDOA5.js +0 -0
- package/chunks/chunk.MWWZHWMO.js +652 -0
- package/chunks/{chunk.RHDKSFLQ.js → chunk.N74HN5IK.js} +4 -4
- package/chunks/{chunk.6GS7KCSS.js → chunk.PW3MVGRI.js} +4 -4
- package/chunks/chunk.PWTQJELS.js +142 -0
- package/chunks/{chunk.3DNQAQ3I.js → chunk.RC3RN452.js} +303 -301
- package/chunks/{chunk.EYEFIM2C.js → chunk.SFRZOLA5.js} +185 -69
- package/chunks/chunk.SKGENC3L.js +85 -0
- package/chunks/{chunk.S2QX5GSA.js → chunk.UFCPMXNG.js} +4 -4
- package/chunks/{chunk.UNXDEINN.js → chunk.UO5V45G5.js} +3 -3
- package/chunks/{chunk.L6K6EODO.js → chunk.VB7JSOFJ.js} +1 -1
- package/chunks/chunk.VOYMQ322.js +1 -1
- package/chunks/{chunk.DBILHPMR.js → chunk.VPZ2NC2L.js} +24 -14
- package/chunks/{chunk.U6OZ3R3W.js → chunk.XKACXVCM.js} +8 -2
- package/chunks/{chunk.Z27WVNGN.js → chunk.XUSFHKBA.js} +1 -1
- package/chunks/{chunk.27FXJC7Z.js → chunk.Y55XQFFO.js} +16 -16
- package/chunks/{chunk.2BMJPIND.js → chunk.YUFO2JLT.js} +4 -1
- package/components/badge/badge.d.ts +27 -3
- package/components/badge/badge.figma.js +2 -2
- package/components/badge/badge.js +2 -4
- package/components/badge/index.js +3 -4
- package/components/button/button.d.ts +1 -1
- package/components/button/button.js +4 -5
- package/components/button/fab/fab.js +6 -7
- package/components/button/fab/index.js +6 -7
- package/components/button/index.js +4 -5
- package/components/calendar/calendar.js +2 -2
- package/components/calendar/index.js +2 -2
- package/components/content/divider/divider.js +3 -3
- package/components/content/divider/index.js +3 -3
- package/components/content/spacer/index.js +3 -3
- package/components/content/spacer/spacer.js +3 -3
- package/components/content/text/index.js +4 -3
- package/components/content/text/text.d.ts +25 -9
- package/components/content/text/text.js +3 -3
- package/components/context-menu/context-menu.js +2 -2
- package/components/context-menu/index.js +2 -2
- package/components/datepicker/datepicker.js +9 -10
- package/components/datepicker/index.js +9 -10
- package/components/dropdown/dropdown.js +7 -8
- package/components/dropdown/index.js +7 -8
- package/components/filter-chips/filter-chip/filter-chip.js +4 -5
- package/components/filter-chips/filter-chip/index.js +4 -5
- package/components/filter-chips/filter-chips.js +5 -6
- package/components/filter-chips/index.js +5 -6
- package/components/form/form-control.d.ts +1 -0
- package/components/form/form-control.js +1 -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/icon/icons/index.js +3 -3
- package/components/index.d.ts +3 -0
- package/components/index.js +48 -36
- package/components/input/index.js +23 -4
- package/components/input/input.d.ts +21 -14
- package/components/input/input.js +23 -4
- package/components/layout/card/card.d.ts +1 -91
- package/components/layout/card/card.js +4 -4
- package/components/layout/card/index.js +4 -4
- package/components/layout/container/container.d.ts +229 -12
- package/components/layout/container/container.js +3 -3
- package/components/layout/container/index.js +3 -3
- package/components/layout/flex/flex.d.ts +35 -5
- package/components/layout/flex/flex.js +4 -4
- package/components/layout/flex/index.js +4 -4
- package/components/layout/grid/grid.d.ts +1 -1
- package/components/layout/grid/grid.js +4 -4
- package/components/layout/grid/index.js +4 -4
- package/components/layout/mask/index.d.ts +1 -0
- package/components/layout/mask/index.js +18 -0
- package/components/layout/mask/mask.d.ts +30 -0
- package/components/layout/mask/mask.js +18 -0
- package/components/media/img/img.d.ts +10 -10
- package/components/media/img/img.js +3 -4
- package/components/media/img/index.js +3 -4
- package/components/media/video/index.js +3 -4
- package/components/media/video/video.d.ts +10 -10
- package/components/media/video/video.js +3 -4
- package/components/menu-button/index.js +4 -4
- package/components/menu-button/menu-button.d.ts +1 -1
- package/components/menu-button/menu-button.js +4 -4
- 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/components/textarea/index.d.ts +1 -0
- package/components/textarea/index.js +37 -0
- package/components/textarea/textarea.d.ts +91 -0
- package/components/textarea/textarea.js +37 -0
- package/components/textarea/textarea.styles.d.ts +1 -0
- package/components/theme/index.js +2 -2
- package/components/theme/theme.js +2 -2
- package/index.js +47 -35
- package/package.json +1 -1
- package/primitives/listbox/index.js +3 -3
- package/primitives/listbox/listbox.js +3 -3
- package/primitives/listbox/option.js +3 -3
- package/primitives/menu/index.js +2 -2
- package/primitives/menu/menu-item.js +2 -2
- package/primitives/menu/menu.js +2 -2
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/primitives/signal/index.js +3 -4
- package/primitives/signal/signal.js +3 -4
- package/chunks/chunk.4KEZS5UA.js +0 -103
- package/chunks/chunk.7VC33K5Z.js +0 -49
- package/chunks/chunk.NKSKWGNM.js +0 -28
- package/chunks/chunk.OCU74EXO.js +0 -100
- package/chunks/chunk.OL4Y3QHU.js +0 -40
- package/chunks/chunk.SXGACXKX.js +0 -28
- package/chunks/chunk.VC72CYU3.js +0 -145
- package/chunks/chunk.W67TOOB4.js +0 -625
- package/chunks/chunk.YBOK7MI7.js +0 -31
- package/components/media/img/img.style.css.js +0 -7
- package/components/media/video/video.style.css.js +0 -7
- package/primitives/signal/signal.style.css.js +0 -7
- /package/chunks/{chunk.WK7IKANC.js → chunk.BPGOHQLS.js} +0 -0
- /package/components/layout/{card/card.style.d.ts → mask/mask.style.d.ts} +0 -0
- /package/components/media/img/{img.style.css.d.ts → img.style.d.ts} +0 -0
- /package/components/media/video/{video.style.css.d.ts → video.style.d.ts} +0 -0
- /package/primitives/signal/{signal.style.css.d.ts → signal.style.d.ts} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsMask
|
|
3
|
+
} from "../../../chunks/chunk.ALUL3Z4L.js";
|
|
4
|
+
import "../../../chunks/chunk.A23HHQDO.js";
|
|
5
|
+
import "../../../chunks/chunk.I5ZVUUCK.js";
|
|
6
|
+
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
7
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
8
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
9
|
+
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
10
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
11
|
+
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
12
|
+
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
13
|
+
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
14
|
+
import "../../../chunks/chunk.VOYMQ322.js";
|
|
15
|
+
import "../../../chunks/chunk.5VURDMKE.js";
|
|
16
|
+
export {
|
|
17
|
+
GdsMask
|
|
18
|
+
};
|
|
@@ -17,20 +17,20 @@ export declare class GdsImg extends GdsElement {
|
|
|
17
17
|
*
|
|
18
18
|
* You can apply the aspect ratio like this:
|
|
19
19
|
* ```html
|
|
20
|
-
* <gds-img ratio="16/9"></gds-img>
|
|
20
|
+
* <gds-img aspect-ratio="16/9"></gds-img>
|
|
21
21
|
* ```
|
|
22
22
|
* The above example will apply the aspect ratio of 16/9.
|
|
23
23
|
*
|
|
24
24
|
* You can also apply different aspect ratios for different screen sizes like this:
|
|
25
25
|
* ```html
|
|
26
|
-
* <gds-img ratio="l{16/9} m{4/3} s{1/1}"></gds-img>
|
|
26
|
+
* <gds-img aspect-ratio="l{16/9} m{4/3} s{1/1}"></gds-img>
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
29
|
* The above example will apply the aspect ratio of 16/9 for large screens, 4/3 for medium screens, and 1/1 for small screens.
|
|
30
30
|
*
|
|
31
31
|
* @property ratio
|
|
32
32
|
*/
|
|
33
|
-
ratio?: string;
|
|
33
|
+
'aspect-ratio'?: string;
|
|
34
34
|
/**
|
|
35
35
|
* Controls the `object-position` of the img.
|
|
36
36
|
* Supports all common CSS values.
|
|
@@ -85,14 +85,14 @@ export declare class GdsImg extends GdsElement {
|
|
|
85
85
|
*
|
|
86
86
|
* You can apply fit like this:
|
|
87
87
|
* ```html
|
|
88
|
-
* <gds-img fit="cover"></gds-img>
|
|
88
|
+
* <gds-img object-fit="cover"></gds-img>
|
|
89
89
|
* ```
|
|
90
90
|
*
|
|
91
91
|
* The above example will apply the object-fit style of cover.
|
|
92
92
|
*
|
|
93
93
|
* @property fit
|
|
94
94
|
*/
|
|
95
|
-
fit?: string;
|
|
95
|
+
'object-fit'?: string;
|
|
96
96
|
/**
|
|
97
97
|
* The image source URL.
|
|
98
98
|
*
|
|
@@ -111,12 +111,12 @@ export declare class GdsImg extends GdsElement {
|
|
|
111
111
|
*
|
|
112
112
|
* You can apply radius in each corner like this:
|
|
113
113
|
* ```html
|
|
114
|
-
* <gds-img radius="none none m m" ></gds-img>
|
|
114
|
+
* <gds-img border-radius="none none m m" ></gds-img>
|
|
115
115
|
* ```
|
|
116
116
|
*
|
|
117
117
|
* Also for different breakpoints like this:
|
|
118
118
|
* ```html
|
|
119
|
-
* <gds-img radius="s{xs} m{xs} l{s}"></gds-img>
|
|
119
|
+
* <gds-img border-radius="s{xs} m{xs} l{s}"></gds-img>
|
|
120
120
|
* ```
|
|
121
121
|
*
|
|
122
122
|
* Each corner can have a different radius value and also different values for different breakpoints.
|
|
@@ -124,14 +124,14 @@ export declare class GdsImg extends GdsElement {
|
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* ```html
|
|
127
|
-
* <gds-img radius="m"></gds-img>
|
|
128
|
-
* <gds-img radius="s{0 0 xs} m{0 xs 0 xs} l{s}" >
|
|
127
|
+
* <gds-img border-radius="m"></gds-img>
|
|
128
|
+
* <gds-img border-radius="s{0 0 xs} m{0 xs 0 xs} l{s}" >
|
|
129
129
|
* Specific breakpoints and sides
|
|
130
130
|
* </gds-img>
|
|
131
131
|
* ```
|
|
132
132
|
*
|
|
133
133
|
* @property radius
|
|
134
134
|
*/
|
|
135
|
-
radius?: string;
|
|
135
|
+
'border-radius'?: string;
|
|
136
136
|
render(): any;
|
|
137
137
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsImg
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
4
|
-
import "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.U6OZ3R3W.js";
|
|
6
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
3
|
+
} from "../../../chunks/chunk.LSSS5CKS.js";
|
|
4
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
7
5
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
6
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
8
7
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
8
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
10
9
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsImg
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
4
|
-
import "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.U6OZ3R3W.js";
|
|
6
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
3
|
+
} from "../../../chunks/chunk.LSSS5CKS.js";
|
|
4
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
7
5
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
6
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
8
7
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
8
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
10
9
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsVideo
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
4
|
-
import "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.U6OZ3R3W.js";
|
|
6
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
3
|
+
} from "../../../chunks/chunk.A7Q7YZEN.js";
|
|
4
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
7
5
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
6
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
8
7
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
8
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
10
9
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -16,7 +16,7 @@ export declare class GdsVideo extends GdsElement {
|
|
|
16
16
|
* You can apply the aspect ratio like this:
|
|
17
17
|
*
|
|
18
18
|
* ```html
|
|
19
|
-
* <gds-video ratio="16/9"></gds-video>
|
|
19
|
+
* <gds-video aspect-ratio="16/9"></gds-video>
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
22
|
* The above example will apply the aspect ratio of 16/9.
|
|
@@ -24,20 +24,20 @@ export declare class GdsVideo extends GdsElement {
|
|
|
24
24
|
* You can also apply different aspect ratios for different screen sizes like this:
|
|
25
25
|
*
|
|
26
26
|
* ```html
|
|
27
|
-
* <gds-video ratio="l{16/9} m{4/3} s{1/1}"></gds-video>
|
|
27
|
+
* <gds-video aspect-ratio="l{16/9} m{4/3} s{1/1}"></gds-video>
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
30
|
* The above example will apply the aspect ratio of 16/9 for large screens, 4/3 for medium screens, and 1/1 for small screens.
|
|
31
31
|
*
|
|
32
32
|
* @property ratio
|
|
33
33
|
*/
|
|
34
|
-
ratio?: string;
|
|
34
|
+
'aspect-ratio'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* Controls the `object-position` of the video.
|
|
37
37
|
* Supports all common CSS values.
|
|
38
38
|
* @property position
|
|
39
39
|
*/
|
|
40
|
-
position?: string;
|
|
40
|
+
'object-position'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Controls the inset property of the container.
|
|
43
43
|
* Supports all valid CSS inset values.
|
|
@@ -86,21 +86,21 @@ export declare class GdsVideo extends GdsElement {
|
|
|
86
86
|
* You can apply fit like this:
|
|
87
87
|
*
|
|
88
88
|
* ```html
|
|
89
|
-
* <gds-img fit="cover"></gds-img>
|
|
89
|
+
* <gds-img object-fit="cover"></gds-img>
|
|
90
90
|
* ```
|
|
91
91
|
*
|
|
92
92
|
* The above example will apply the object-fit style of cover.
|
|
93
93
|
*
|
|
94
94
|
* @property fit
|
|
95
95
|
*/
|
|
96
|
-
fit?: string;
|
|
96
|
+
'object-fit'?: string;
|
|
97
97
|
/**
|
|
98
98
|
* Controls the pointer-events property of the video.
|
|
99
99
|
* Supports all valid CSS pointer-events values.
|
|
100
100
|
*
|
|
101
101
|
* @property events
|
|
102
102
|
*/
|
|
103
|
-
events?: string;
|
|
103
|
+
'pointer-events'?: string;
|
|
104
104
|
/**
|
|
105
105
|
* Controls the border-radius property of the video.
|
|
106
106
|
* Supports all the size tokens from the design system.
|
|
@@ -109,19 +109,19 @@ export declare class GdsVideo extends GdsElement {
|
|
|
109
109
|
* You can apply radius in each corner like this:
|
|
110
110
|
*
|
|
111
111
|
* ```html
|
|
112
|
-
* <gds-container radius="none none m m" ></gds-container>
|
|
112
|
+
* <gds-container border-radius="none none m m" ></gds-container>
|
|
113
113
|
* ```
|
|
114
114
|
*
|
|
115
115
|
* Also for different breakpoints like this:
|
|
116
116
|
*
|
|
117
117
|
* ```html
|
|
118
|
-
* <gds-container radius="s{none none xs} m{none xs none xs} l{s}" ></gds-container>
|
|
118
|
+
* <gds-container border-radius="s{none none xs} m{none xs none xs} l{s}" ></gds-container>
|
|
119
119
|
* ```
|
|
120
120
|
*
|
|
121
121
|
* Each corner can have a different radius value and also different values for different breakpoints.
|
|
122
122
|
* @property radius
|
|
123
123
|
*/
|
|
124
|
-
radius?: string;
|
|
124
|
+
'border-radius'?: string;
|
|
125
125
|
src?: string;
|
|
126
126
|
poster?: string;
|
|
127
127
|
muted?: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsVideo
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
4
|
-
import "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.U6OZ3R3W.js";
|
|
6
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
3
|
+
} from "../../../chunks/chunk.A7Q7YZEN.js";
|
|
4
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
7
5
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
6
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
8
7
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
8
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
10
9
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/chunk.
|
|
2
|
+
GdsMenuButton
|
|
3
|
+
} from "../../chunks/chunk.Y55XQFFO.js";
|
|
4
4
|
import "../../chunks/chunk.7TCXY7BP.js";
|
|
5
5
|
import "../../chunks/chunk.KBYQYDL3.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
7
7
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
8
8
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
9
9
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
10
10
|
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
11
|
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
GdsMenuButton
|
|
14
14
|
};
|
|
@@ -11,7 +11,7 @@ import { GdsElement } from '../../gds-element';
|
|
|
11
11
|
*
|
|
12
12
|
* @csspart main-slot - The main slot of the button, between the lead and trail slots.
|
|
13
13
|
*/
|
|
14
|
-
export declare class
|
|
14
|
+
export declare class GdsMenuButton extends GdsElement {
|
|
15
15
|
#private;
|
|
16
16
|
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
17
17
|
static shadowRootOptions: ShadowRootInit;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/chunk.
|
|
2
|
+
GdsMenuButton
|
|
3
|
+
} from "../../chunks/chunk.Y55XQFFO.js";
|
|
4
4
|
import "../../chunks/chunk.7TCXY7BP.js";
|
|
5
5
|
import "../../chunks/chunk.KBYQYDL3.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
7
7
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
8
8
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
9
9
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
10
10
|
import "../../chunks/chunk.VOYMQ322.js";
|
|
11
11
|
import "../../chunks/chunk.5VURDMKE.js";
|
|
12
12
|
export {
|
|
13
|
-
|
|
13
|
+
GdsMenuButton
|
|
14
14
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegmentedControl
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.N74HN5IK.js";
|
|
4
4
|
import "../../chunks/chunk.TSDZQZBY.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.GLIXAC4R.js";
|
|
6
6
|
import "../../chunks/chunk.VHN4JEZC.js";
|
|
7
7
|
import "../../chunks/chunk.PZ3JKDIQ.js";
|
|
8
8
|
import "../../chunks/chunk.Q6BGQYZP.js";
|
|
9
9
|
import "../../chunks/chunk.IGJXZGV4.js";
|
|
10
10
|
import "../../chunks/chunk.3XCSDEVC.js";
|
|
11
|
-
import "../../chunks/chunk.3DNQAQ3I.js";
|
|
12
11
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
12
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
13
13
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
14
14
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
15
15
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../../../chunks/chunk.TSDZQZBY.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsSegment
|
|
4
|
-
} from "../../../chunks/chunk.
|
|
4
|
+
} from "../../../chunks/chunk.GLIXAC4R.js";
|
|
5
5
|
import "../../../chunks/chunk.3XCSDEVC.js";
|
|
6
|
-
import "../../../chunks/chunk.
|
|
6
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
7
7
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
8
8
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
9
9
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegment
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
3
|
+
} from "../../../chunks/chunk.GLIXAC4R.js";
|
|
4
4
|
import "../../../chunks/chunk.3XCSDEVC.js";
|
|
5
|
-
import "../../../chunks/chunk.
|
|
5
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
6
6
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
7
7
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
8
8
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsSegmentedControl
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.N74HN5IK.js";
|
|
4
4
|
import "../../chunks/chunk.TSDZQZBY.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.GLIXAC4R.js";
|
|
6
6
|
import "../../chunks/chunk.VHN4JEZC.js";
|
|
7
7
|
import "../../chunks/chunk.PZ3JKDIQ.js";
|
|
8
8
|
import "../../chunks/chunk.Q6BGQYZP.js";
|
|
9
9
|
import "../../chunks/chunk.IGJXZGV4.js";
|
|
10
10
|
import "../../chunks/chunk.3XCSDEVC.js";
|
|
11
|
-
import "../../chunks/chunk.3DNQAQ3I.js";
|
|
12
11
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
12
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
13
13
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
14
14
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
15
15
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './textarea';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsTextarea
|
|
3
|
+
} from "../../chunks/chunk.MWWZHWMO.js";
|
|
4
|
+
import "../../chunks/chunk.N2KGHIQK.js";
|
|
5
|
+
import "../../chunks/chunk.A23HHQDO.js";
|
|
6
|
+
import "../../chunks/chunk.I5ZVUUCK.js";
|
|
7
|
+
import "../../chunks/chunk.DCVDALVX.js";
|
|
8
|
+
import "../../chunks/chunk.AKNDGE2O.js";
|
|
9
|
+
import "../../chunks/chunk.OJK4O3JQ.js";
|
|
10
|
+
import "../../chunks/chunk.CKHSQ3NZ.js";
|
|
11
|
+
import "../../chunks/chunk.LRGDEZXT.js";
|
|
12
|
+
import "../../chunks/chunk.BPGOHQLS.js";
|
|
13
|
+
import "../../chunks/chunk.VPZ2NC2L.js";
|
|
14
|
+
import "../../chunks/chunk.7TCXY7BP.js";
|
|
15
|
+
import "../../chunks/chunk.FQDJDWFN.js";
|
|
16
|
+
import "../../chunks/chunk.IGJXZGV4.js";
|
|
17
|
+
import "../../chunks/chunk.CK2UGCPG.js";
|
|
18
|
+
import "../../chunks/chunk.PWTQJELS.js";
|
|
19
|
+
import "../../chunks/chunk.XKACXVCM.js";
|
|
20
|
+
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
21
|
+
import "../../chunks/chunk.SFRZOLA5.js";
|
|
22
|
+
import "../../chunks/chunk.TX64TTBN.js";
|
|
23
|
+
import "../../chunks/chunk.VB7JSOFJ.js";
|
|
24
|
+
import "../../chunks/chunk.YUFO2JLT.js";
|
|
25
|
+
import "../../chunks/chunk.KBYQYDL3.js";
|
|
26
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
27
|
+
import "../../chunks/chunk.3XCSDEVC.js";
|
|
28
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
29
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
30
|
+
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
31
|
+
import "../../chunks/chunk.W7CV3QYI.js";
|
|
32
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
33
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
34
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
35
|
+
export {
|
|
36
|
+
GdsTextarea
|
|
37
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { GdsFormControlElement } from '../form/form-control';
|
|
2
|
+
import '../layout/flex';
|
|
3
|
+
import '../icon/icons/cross-small';
|
|
4
|
+
import '../icon/icons/circle-info';
|
|
5
|
+
import '../icon/icons/triangle-exclamation';
|
|
6
|
+
import '../layout/flex';
|
|
7
|
+
import '../layout/container';
|
|
8
|
+
import '../layout/card';
|
|
9
|
+
import '../content/text';
|
|
10
|
+
import '../badge';
|
|
11
|
+
import '../button';
|
|
12
|
+
/**
|
|
13
|
+
* @summary A custom input element that can be used in forms.
|
|
14
|
+
* @status beta
|
|
15
|
+
*
|
|
16
|
+
* @element gds-input
|
|
17
|
+
*.
|
|
18
|
+
* @slot lead - Accepts `gds-icon-[ICON_NAME]`. Use this to place an icon in the start of the field.
|
|
19
|
+
* @slot trail - Accepts `gds-badge`. Use this to place a badge in the field, for displaying currency for example.
|
|
20
|
+
* @slot extended-supporting-text - A longer supporting text can be placed here. It will be
|
|
21
|
+
* displayed in a panel when the user clicks the info button.
|
|
22
|
+
*/
|
|
23
|
+
export declare class GdsTextarea extends GdsFormControlElement<string> {
|
|
24
|
+
#private;
|
|
25
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
26
|
+
value: string;
|
|
27
|
+
/**
|
|
28
|
+
* The label displayed above the field
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
* Rows of the textarea
|
|
33
|
+
*/
|
|
34
|
+
rows: number;
|
|
35
|
+
private lines;
|
|
36
|
+
private isDragging;
|
|
37
|
+
private lastMouseY;
|
|
38
|
+
/**
|
|
39
|
+
* The supporting text displayed between the label and the field itself
|
|
40
|
+
*/
|
|
41
|
+
supportingText: string;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the supporting text should be displayed or not.
|
|
44
|
+
*/
|
|
45
|
+
showExtendedSupportingText: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* If the input is Disabled
|
|
48
|
+
*/
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Whether the field should be clearable or not. Clearable fields will display a clear button when
|
|
52
|
+
* the field has a value.
|
|
53
|
+
*/
|
|
54
|
+
clearable: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Whether the field should be resizeable or not. If set to `false`, the field will not be resizeable.
|
|
57
|
+
*
|
|
58
|
+
* When `auto` (default), the field will disaplay a resize handle and will be resizeable in the vertical direction.
|
|
59
|
+
*
|
|
60
|
+
* The textarea is resizeable based on the `rows` attribute and the content of the textarea by default.
|
|
61
|
+
*
|
|
62
|
+
* @property resize
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
resize: string;
|
|
66
|
+
/**
|
|
67
|
+
* The maximum number of characters allowed in the field.
|
|
68
|
+
*/
|
|
69
|
+
maxlength: number;
|
|
70
|
+
/**
|
|
71
|
+
* The variant of the input field. The default variant displays a label, supporting text, and
|
|
72
|
+
* extended supporting text. The floating-label variant only displays the field itself and the
|
|
73
|
+
* supporting text below.
|
|
74
|
+
*
|
|
75
|
+
* The floating-label variant should only be used in specific cases, for example when the input field
|
|
76
|
+
* is placed inside a table cell or in a space-constrained layout.
|
|
77
|
+
*
|
|
78
|
+
* A typical form should use the default variant.
|
|
79
|
+
*/
|
|
80
|
+
variant: 'default' | 'floating-label';
|
|
81
|
+
private elTextareaAsync;
|
|
82
|
+
private elTextarea;
|
|
83
|
+
private elExtendedSupportingTextSlot;
|
|
84
|
+
trailSlotOccupied: boolean;
|
|
85
|
+
constructor();
|
|
86
|
+
connectedCallback(): void;
|
|
87
|
+
disconnectedCallback(): void;
|
|
88
|
+
render(): any;
|
|
89
|
+
protected _getValidityAnchor(): HTMLTextAreaElement;
|
|
90
|
+
private _setAutoHeight;
|
|
91
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsTextarea
|
|
3
|
+
} from "../../chunks/chunk.MWWZHWMO.js";
|
|
4
|
+
import "../../chunks/chunk.N2KGHIQK.js";
|
|
5
|
+
import "../../chunks/chunk.A23HHQDO.js";
|
|
6
|
+
import "../../chunks/chunk.I5ZVUUCK.js";
|
|
7
|
+
import "../../chunks/chunk.DCVDALVX.js";
|
|
8
|
+
import "../../chunks/chunk.AKNDGE2O.js";
|
|
9
|
+
import "../../chunks/chunk.OJK4O3JQ.js";
|
|
10
|
+
import "../../chunks/chunk.CKHSQ3NZ.js";
|
|
11
|
+
import "../../chunks/chunk.LRGDEZXT.js";
|
|
12
|
+
import "../../chunks/chunk.BPGOHQLS.js";
|
|
13
|
+
import "../../chunks/chunk.VPZ2NC2L.js";
|
|
14
|
+
import "../../chunks/chunk.7TCXY7BP.js";
|
|
15
|
+
import "../../chunks/chunk.FQDJDWFN.js";
|
|
16
|
+
import "../../chunks/chunk.IGJXZGV4.js";
|
|
17
|
+
import "../../chunks/chunk.CK2UGCPG.js";
|
|
18
|
+
import "../../chunks/chunk.PWTQJELS.js";
|
|
19
|
+
import "../../chunks/chunk.XKACXVCM.js";
|
|
20
|
+
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
21
|
+
import "../../chunks/chunk.SFRZOLA5.js";
|
|
22
|
+
import "../../chunks/chunk.TX64TTBN.js";
|
|
23
|
+
import "../../chunks/chunk.VB7JSOFJ.js";
|
|
24
|
+
import "../../chunks/chunk.YUFO2JLT.js";
|
|
25
|
+
import "../../chunks/chunk.KBYQYDL3.js";
|
|
26
|
+
import "../../chunks/chunk.WM7HBMMV.js";
|
|
27
|
+
import "../../chunks/chunk.3XCSDEVC.js";
|
|
28
|
+
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
29
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
30
|
+
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
31
|
+
import "../../chunks/chunk.W7CV3QYI.js";
|
|
32
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
33
|
+
import "../../chunks/chunk.VOYMQ322.js";
|
|
34
|
+
import "../../chunks/chunk.5VURDMKE.js";
|
|
35
|
+
export {
|
|
36
|
+
GdsTextarea
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsTheme
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.IGNF6GRC.js";
|
|
4
4
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
5
5
|
import "../../chunks/chunk.3XCSDEVC.js";
|
|
6
|
-
import "../../chunks/chunk.3DNQAQ3I.js";
|
|
7
6
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
7
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
8
8
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
9
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
10
10
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsTheme
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.IGNF6GRC.js";
|
|
4
4
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
5
5
|
import "../../chunks/chunk.3XCSDEVC.js";
|
|
6
|
-
import "../../chunks/chunk.3DNQAQ3I.js";
|
|
7
6
|
import "../../chunks/chunk.2WO4NHJ2.js";
|
|
7
|
+
import "../../chunks/chunk.RC3RN452.js";
|
|
8
8
|
import "../../chunks/chunk.ZQ4D5K7J.js";
|
|
9
9
|
import "../../chunks/chunk.W7CV3QYI.js";
|
|
10
10
|
import "../../chunks/chunk.YO24ZYAD.js";
|