@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
|
@@ -11,7 +11,7 @@ import { GdsContainer } from '../container';
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
export declare class GdsCard extends GdsContainer {
|
|
14
|
-
static styles:
|
|
14
|
+
static styles: import("lit").CSSResult[][];
|
|
15
15
|
/**
|
|
16
16
|
* Controls the box-shadow property of the card.
|
|
17
17
|
*
|
|
@@ -30,95 +30,5 @@ export declare class GdsCard extends GdsContainer {
|
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
shadow?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Controls the border property of the card.
|
|
35
|
-
* Supports all tokens from the design system.
|
|
36
|
-
*
|
|
37
|
-
* @property border
|
|
38
|
-
*
|
|
39
|
-
* Can be specified for each side using the size tokens like this:
|
|
40
|
-
*
|
|
41
|
-
* ```html
|
|
42
|
-
* <gds-container border="4xs 0 0 0"></gds-container>
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* Also for different breakpoints like this:
|
|
46
|
-
*
|
|
47
|
-
* ```html
|
|
48
|
-
* <gds-container border="s{2xs} m{3xs} l{4xs}"></gds-container>
|
|
49
|
-
* ```
|
|
50
|
-
*
|
|
51
|
-
* When you want to apply the border in all breakpoints and sides you can use the following:
|
|
52
|
-
*
|
|
53
|
-
* ```html
|
|
54
|
-
* <gds-container border="4xs"></gds-container>
|
|
55
|
-
* ```
|
|
56
|
-
*/
|
|
57
|
-
border?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Controls the border-radius property of the container.
|
|
60
|
-
* Supports all the size tokens from the design system.
|
|
61
|
-
*
|
|
62
|
-
* You can apply radius in each corner like this:
|
|
63
|
-
*
|
|
64
|
-
* ```html
|
|
65
|
-
* <gds-container radius="none none m m" ></gds-container>
|
|
66
|
-
* ```
|
|
67
|
-
*
|
|
68
|
-
* Also for different breakpoints like this:
|
|
69
|
-
*
|
|
70
|
-
* ```html
|
|
71
|
-
* <gds-container radius="s{none none xs} m{none xs none xs} l{s}" ></gds-container>
|
|
72
|
-
* ```
|
|
73
|
-
*
|
|
74
|
-
* Each corner can have a different radius value and also different values for different breakpoints.
|
|
75
|
-
*
|
|
76
|
-
* * These are the available values you can use to define Border Radius
|
|
77
|
-
*
|
|
78
|
-
* `0, 4XS, 3XS, 2XS, XS, S, M, L, XL, 2XL, 3XL, 4XL, 5XL, 6XL, 7XL, 8XL, MAX`
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
81
|
-
radius?: string;
|
|
82
|
-
/**
|
|
83
|
-
* Controls the backdrop-filter property of the container.
|
|
84
|
-
* When you want to apply a backdrop blur filter to the container you can use this property.
|
|
85
|
-
*
|
|
86
|
-
* ```html
|
|
87
|
-
* <gds-container filter="20px"></gds-container>
|
|
88
|
-
* ```
|
|
89
|
-
*
|
|
90
|
-
* The above example will apply a backdrop blur filter of `20px`.
|
|
91
|
-
*
|
|
92
|
-
* The filter also support breakpoint syntax like this:
|
|
93
|
-
*
|
|
94
|
-
* ```html
|
|
95
|
-
* <gds-container filter="s{20px} m{40px} l{60px}"></gds-container>
|
|
96
|
-
* ```
|
|
97
|
-
*
|
|
98
|
-
* The above example will apply the filter style of `20px` for `small` devices, `40px` for `medium` devices, and `60px` for large devices.
|
|
99
|
-
*/
|
|
100
|
-
filter?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Controls the mask-image property of the container.
|
|
103
|
-
* Adds a predefined style of mask to the container.
|
|
104
|
-
*
|
|
105
|
-
* @property mask
|
|
106
|
-
*
|
|
107
|
-
* @example
|
|
108
|
-
*
|
|
109
|
-
* ```html
|
|
110
|
-
* <gds-container mask="top"></gds-container>
|
|
111
|
-
* ```
|
|
112
|
-
*
|
|
113
|
-
* The above example will apply the mask style of `top` with `40%` transparency.
|
|
114
|
-
* The mask can be applied in different positions like `top`, `bottom`, `left`, `right`.
|
|
115
|
-
*
|
|
116
|
-
* It can also be combined with the color like this:
|
|
117
|
-
* ```html
|
|
118
|
-
* <gds-container mask="top/l1-background-tertiary/0.4"></gds-container>
|
|
119
|
-
* ```
|
|
120
|
-
*
|
|
121
|
-
*/
|
|
122
|
-
mask?: string;
|
|
123
33
|
render(): any;
|
|
124
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsCard
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
3
|
+
} from "../../../chunks/chunk.AKNDGE2O.js";
|
|
4
4
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
5
|
-
import "../../../chunks/chunk.
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
5
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
6
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
8
7
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
8
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
9
9
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
10
10
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
11
11
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../chunks/chunk.DCVDALVX.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsCard
|
|
4
|
-
} from "../../../chunks/chunk.
|
|
4
|
+
} from "../../../chunks/chunk.AKNDGE2O.js";
|
|
5
5
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.
|
|
8
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
6
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
7
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
9
8
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
9
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
10
10
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
11
11
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
12
12
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -16,6 +16,25 @@ export declare class GdsContainer extends GdsElement {
|
|
|
16
16
|
* Supports all valid CSS display values.
|
|
17
17
|
*/
|
|
18
18
|
display: string;
|
|
19
|
+
/**
|
|
20
|
+
* The level of the container can be used to apply background and color styles from the corresponding level.
|
|
21
|
+
*
|
|
22
|
+
* Default value for `gds-container` is set to `2`.
|
|
23
|
+
*
|
|
24
|
+
* @property level
|
|
25
|
+
*
|
|
26
|
+
* */
|
|
27
|
+
level: string;
|
|
28
|
+
/**
|
|
29
|
+
* Controls the `place-items` property of the container.
|
|
30
|
+
* Supports all valid CSS `place-items` values.
|
|
31
|
+
*/
|
|
32
|
+
'place-items'?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Controls the `place-content` property of the container.
|
|
35
|
+
* Supports all valid CSS `place-content` values.
|
|
36
|
+
*/
|
|
37
|
+
'place-content'?: string;
|
|
19
38
|
/**
|
|
20
39
|
* Controls the color property of the container.
|
|
21
40
|
* Supports all the color tokens from the design system.
|
|
@@ -40,6 +59,57 @@ export declare class GdsContainer extends GdsElement {
|
|
|
40
59
|
* The above example will apply the background style of `primary` with `20%` transparency.
|
|
41
60
|
*/
|
|
42
61
|
background?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Controls the border property of the card.
|
|
64
|
+
* Supports all tokens from the design system.
|
|
65
|
+
*
|
|
66
|
+
* @property border
|
|
67
|
+
*
|
|
68
|
+
* Can be specified for each side using the size tokens like this:
|
|
69
|
+
*
|
|
70
|
+
* ```html
|
|
71
|
+
* <gds-container border="4xs 0 0 0"></gds-container>
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* Also for different breakpoints like this:
|
|
75
|
+
*
|
|
76
|
+
* ```html
|
|
77
|
+
* <gds-container border="s{2xs} m{3xs} l{4xs}"></gds-container>
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* When you want to apply the border in all breakpoints and sides you can use the following:
|
|
81
|
+
*
|
|
82
|
+
* ```html
|
|
83
|
+
* <gds-container border="4xs"></gds-container>
|
|
84
|
+
* ```
|
|
85
|
+
*/
|
|
86
|
+
border?: string;
|
|
87
|
+
'border-color'?: string;
|
|
88
|
+
'border-width'?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Controls the border-radius property of the container.
|
|
91
|
+
* Supports all the size tokens from the design system.
|
|
92
|
+
*
|
|
93
|
+
* You can apply radius in each corner like this:
|
|
94
|
+
*
|
|
95
|
+
* ```html
|
|
96
|
+
* <gds-container border-radius="none none m m" ></gds-container>
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* Also for different breakpoints like this:
|
|
100
|
+
*
|
|
101
|
+
* ```html
|
|
102
|
+
* <gds-container border-radius="s{none none xs} m{none xs none xs} l{s}" ></gds-container>
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Each corner can have a different radius value and also different values for different breakpoints.
|
|
106
|
+
*
|
|
107
|
+
* * These are the available values you can use to define Border Radius
|
|
108
|
+
*
|
|
109
|
+
* `0, 4XS, 3XS, 2XS, XS, S, M, L, XL, 2XL, 3XL, 4XL, 5XL, 6XL, 7XL, 8XL, MAX`
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
'border-radius'?: string;
|
|
43
113
|
/**
|
|
44
114
|
* Controls the opacity property of the container.
|
|
45
115
|
*
|
|
@@ -72,6 +142,8 @@ export declare class GdsContainer extends GdsElement {
|
|
|
72
142
|
*
|
|
73
143
|
*/
|
|
74
144
|
padding?: string;
|
|
145
|
+
'padding-inline'?: string;
|
|
146
|
+
'padding-block'?: string;
|
|
75
147
|
/**
|
|
76
148
|
* Controls the margin of the text.
|
|
77
149
|
* Supports all the default margin values.
|
|
@@ -98,19 +170,19 @@ export declare class GdsContainer extends GdsElement {
|
|
|
98
170
|
* Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
99
171
|
*
|
|
100
172
|
* ```html
|
|
101
|
-
* <gds-flex column="2 / -1"></gds-flex>
|
|
173
|
+
* <gds-flex grid-column="2 / -1"></gds-flex>
|
|
102
174
|
* ```
|
|
103
175
|
*
|
|
104
176
|
* The above example will apply the grid-column style of `2 / -1`.
|
|
105
|
-
* The column can be applied to the flex using shorthand like column="1 / 2"
|
|
177
|
+
* The column can be applied to the flex using shorthand like grid-column="1 / 2"
|
|
106
178
|
*
|
|
107
179
|
* The column also support breakpoint syntax like this:
|
|
108
180
|
*
|
|
109
181
|
* ```html
|
|
110
|
-
* <gds-flex column="s{1 / 2} m{2 / 3} l{3 / 4}"></gds-flex>
|
|
182
|
+
* <gds-flex grid-column="s{1 / 2} m{2 / 3} l{3 / 4}"></gds-flex>
|
|
111
183
|
* ```
|
|
112
184
|
*/
|
|
113
|
-
column?: string;
|
|
185
|
+
'grid-column'?: string;
|
|
114
186
|
/**
|
|
115
187
|
* Controls the grid-row property of the flex.
|
|
116
188
|
* Supports all valid CSS grid-row values.
|
|
@@ -118,19 +190,19 @@ export declare class GdsContainer extends GdsElement {
|
|
|
118
190
|
* Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
119
191
|
*
|
|
120
192
|
* ```html
|
|
121
|
-
* <gds-flex row="2 / -1"></gds-flex>
|
|
193
|
+
* <gds-flex grid-row="2 / -1"></gds-flex>
|
|
122
194
|
* ```
|
|
123
195
|
*
|
|
124
196
|
* The above example will apply the grid-row style of `2 / -1`.
|
|
125
|
-
* The row can be applied to the flex using shorthand like row="1 / 2"
|
|
197
|
+
* The row can be applied to the flex using shorthand like grid-row="1 / 2"
|
|
126
198
|
*
|
|
127
199
|
* The row also support breakpoint syntax like this:
|
|
128
200
|
*
|
|
129
201
|
* ```html
|
|
130
|
-
* <gds-flex row="s{1 / 2} m{2 / 3} l{3 / 4}"></gds-flex>
|
|
202
|
+
* <gds-flex grid-row="s{1 / 2} m{2 / 3} l{3 / 4}"></gds-flex>
|
|
131
203
|
* ```
|
|
132
204
|
*/
|
|
133
|
-
row?: string;
|
|
205
|
+
'grid-row'?: string;
|
|
134
206
|
/**
|
|
135
207
|
* Controls the height property of the flex.
|
|
136
208
|
* Supports all valid CSS height values.
|
|
@@ -138,20 +210,165 @@ export declare class GdsContainer extends GdsElement {
|
|
|
138
210
|
* @property height
|
|
139
211
|
*/
|
|
140
212
|
height?: string;
|
|
213
|
+
/**
|
|
214
|
+
* Controls the `max-height` property of the flex.
|
|
215
|
+
* Supports all valid CSS `max-height` values.
|
|
216
|
+
*
|
|
217
|
+
* @property max-height
|
|
218
|
+
*/
|
|
219
|
+
'max-height'?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Controls the `min-height` property of the flex.
|
|
222
|
+
* Supports all valid CSS `min-height` values.
|
|
223
|
+
*
|
|
224
|
+
* @property min-height
|
|
225
|
+
*/
|
|
226
|
+
'min-height'?: string;
|
|
227
|
+
/**
|
|
228
|
+
* Controls the `block-size` property of the flex.
|
|
229
|
+
* Supports only tokens.
|
|
230
|
+
*
|
|
231
|
+
* @property block-size
|
|
232
|
+
*/
|
|
233
|
+
'block-size'?: string;
|
|
234
|
+
/**
|
|
235
|
+
* Controls the `min-block-size` property of the flex.
|
|
236
|
+
* Supports only tokens.
|
|
237
|
+
*
|
|
238
|
+
* @property min-block-size
|
|
239
|
+
*/
|
|
240
|
+
'min-block-size'?: string;
|
|
141
241
|
/**
|
|
142
242
|
* Controls the width property of the flex.
|
|
143
243
|
* Supports all valid CSS height values.
|
|
244
|
+
*
|
|
245
|
+
* @property width
|
|
144
246
|
*/
|
|
145
247
|
width?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Controls the `max-width` property of the flex.
|
|
250
|
+
* Supports all valid CSS `max-width` values.
|
|
251
|
+
*
|
|
252
|
+
* @property max-width
|
|
253
|
+
*/
|
|
254
|
+
'max-width'?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Controls the `min-width` property of the flex.
|
|
257
|
+
* Supports all valid CSS `min-width` values.
|
|
258
|
+
*
|
|
259
|
+
* @property min-width
|
|
260
|
+
*/
|
|
261
|
+
'min-width'?: string;
|
|
262
|
+
/**
|
|
263
|
+
* Controls the `inline-size` property of the flex.
|
|
264
|
+
* Supports only token
|
|
265
|
+
*
|
|
266
|
+
* @property inline-size
|
|
267
|
+
*/
|
|
268
|
+
'inline-size'?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Controls the cursor property of the flex.
|
|
271
|
+
* Supports all valid CSS cursor values.
|
|
272
|
+
*/
|
|
273
|
+
cursor?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Controls the `pointer-events` property of the flex.
|
|
276
|
+
* Supports all valid CSS `pointer-events` values.
|
|
277
|
+
*
|
|
278
|
+
* @property pointer-events
|
|
279
|
+
*/
|
|
280
|
+
'pointer-events'?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Controls the `user-select` property of the flex.
|
|
283
|
+
* Supports all valid CSS `user-select` values.
|
|
284
|
+
*
|
|
285
|
+
* @property user-select
|
|
286
|
+
*/
|
|
287
|
+
'user-select'?: string;
|
|
146
288
|
/**
|
|
147
289
|
* Controls the z-index property of the flex.
|
|
148
290
|
* Supports all valid CSS z-index values.
|
|
149
291
|
*/
|
|
150
|
-
|
|
292
|
+
'z-index'?: string;
|
|
151
293
|
/**
|
|
152
|
-
* Controls the
|
|
153
|
-
* Supports all valid CSS
|
|
294
|
+
* Controls the `transform` property of the flex.
|
|
295
|
+
* Supports all valid CSS `transform` values.
|
|
296
|
+
*
|
|
297
|
+
* @property transform
|
|
298
|
+
*/
|
|
299
|
+
transform?: string;
|
|
300
|
+
/**
|
|
301
|
+
* Controls the `transform-style` property of the flex.
|
|
302
|
+
* Supports all valid CSS `transform-style` values.
|
|
303
|
+
*
|
|
304
|
+
* @property transform-style
|
|
305
|
+
*/
|
|
306
|
+
'transform-style'?: string;
|
|
307
|
+
/**
|
|
308
|
+
* Controls the `transition` property of the flex.
|
|
309
|
+
* Supports all valid CSS `transition` values.
|
|
310
|
+
*
|
|
311
|
+
* @property transition
|
|
312
|
+
*/
|
|
313
|
+
transition?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Controls the `transition-behavior` property of the flex.
|
|
316
|
+
* Supports all valid CSS `transition-behavior` values.
|
|
317
|
+
*
|
|
318
|
+
* @property transition-behavior
|
|
319
|
+
*/
|
|
320
|
+
'transition-behavior'?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Controls the `animation` property of the flex.
|
|
323
|
+
* Supports all valid CSS `animation` values.
|
|
324
|
+
*
|
|
325
|
+
* @property animation
|
|
326
|
+
*/
|
|
327
|
+
animation?: string;
|
|
328
|
+
/**
|
|
329
|
+
* Controls the size of the text.
|
|
330
|
+
* Supports all typography size tokens from the design system.
|
|
331
|
+
*
|
|
332
|
+
* You can apply size like this:
|
|
333
|
+
* ```html
|
|
334
|
+
* <gds-container font-size="body-m"></gds-container>
|
|
335
|
+
* ```
|
|
336
|
+
*
|
|
337
|
+
* These are the available values you can use to define size:
|
|
338
|
+
*
|
|
339
|
+
* `heading-xl`,
|
|
340
|
+
* `heading-l`,
|
|
341
|
+
* `heading-m`,
|
|
342
|
+
* `heading-s`,
|
|
343
|
+
* `heading-xs`,
|
|
344
|
+
* `heading-2xs`,
|
|
345
|
+
* `detail-m`,
|
|
346
|
+
* `detail-s`,
|
|
347
|
+
* `detail-xs`,
|
|
348
|
+
* `body-l`,
|
|
349
|
+
* `body-m`,
|
|
350
|
+
* `body-s`,
|
|
351
|
+
* `display-2xl`,
|
|
352
|
+
* `display-xl`,
|
|
353
|
+
* `display-l`,
|
|
354
|
+
* `display-m`,
|
|
355
|
+
* `display-s `,
|
|
356
|
+
* `preamble-2xl`,
|
|
357
|
+
* `preamble-xl`,
|
|
358
|
+
* `preamble-l`,
|
|
359
|
+
* `preamble-m`,
|
|
360
|
+
* `preamble-s`,
|
|
361
|
+
* `preamble-xs`,
|
|
362
|
+
*
|
|
363
|
+
* @property 'font-size'
|
|
364
|
+
*/
|
|
365
|
+
'font-size'?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Controls the `font-weight` of the text.
|
|
368
|
+
* Supports all the weigh tokens.
|
|
369
|
+
*
|
|
370
|
+
* @property weight
|
|
154
371
|
*/
|
|
155
|
-
|
|
372
|
+
'font-weight'?: string;
|
|
156
373
|
render(): any;
|
|
157
374
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
4
|
-
import "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
3
|
+
} from "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
4
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
6
5
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
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,10 +1,10 @@
|
|
|
1
1
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsContainer
|
|
4
|
-
} from "../../../chunks/chunk.
|
|
5
|
-
import "../../../chunks/chunk.
|
|
6
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
4
|
+
} from "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
5
|
+
import "../../../chunks/chunk.XKACXVCM.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";
|
|
@@ -30,20 +30,50 @@ export declare class GdsFlex extends GdsContainer {
|
|
|
30
30
|
*/
|
|
31
31
|
gap?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Controls the
|
|
33
|
+
* Controls the `flex` property of the flex.
|
|
34
|
+
* Supports all valid CSS flex property values.
|
|
35
|
+
*/
|
|
36
|
+
flex?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Controls the `align-self` property of the flex.
|
|
39
|
+
* Supports all valid CSS align-self values.
|
|
40
|
+
*/
|
|
41
|
+
'align-self'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Controls the `align-items` property of the flex.
|
|
34
44
|
* Supports all valid CSS align-items values.
|
|
35
45
|
*/
|
|
36
|
-
align?: string;
|
|
46
|
+
'align-items'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Controls the `align-content` property of the flex.
|
|
49
|
+
* Supports all valid CSS align-content values.
|
|
50
|
+
*/
|
|
51
|
+
'align-content'?: string;
|
|
37
52
|
/**
|
|
38
|
-
* Controls the justify-content property of the flex.
|
|
53
|
+
* Controls the `justify-content` property of the flex.
|
|
39
54
|
* Supports all valid CSS justify-content values.
|
|
40
55
|
*/
|
|
41
|
-
justify?: string;
|
|
56
|
+
'justify-content'?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Controls the `place-content` property of the flex.
|
|
59
|
+
* Supports all valid CSS place-content values.
|
|
60
|
+
*/
|
|
61
|
+
'place-content'?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Controls the `justify-items` property of the flex.
|
|
64
|
+
* Supports all valid CSS justify-items values.
|
|
65
|
+
*/
|
|
66
|
+
'justify-items'?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Controls the `justify-self` property of the flex.
|
|
69
|
+
* Supports all valid CSS justify-self values.
|
|
70
|
+
*/
|
|
71
|
+
'justify-self'?: string;
|
|
42
72
|
/**
|
|
43
73
|
* Controls the flex-direction property of the flex.
|
|
44
74
|
* Supports all valid CSS flex-direction values.
|
|
45
75
|
*/
|
|
46
|
-
direction?: string;
|
|
76
|
+
'flex-direction'?: string;
|
|
47
77
|
connectedCallback(): void;
|
|
48
78
|
render(): any;
|
|
49
79
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFlex
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
3
|
+
} from "../../../chunks/chunk.I5ZVUUCK.js";
|
|
4
4
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
5
|
-
import "../../../chunks/chunk.
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
5
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
6
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
8
7
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
8
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
9
9
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
10
10
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
11
11
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../../chunks/chunk.A23HHQDO.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsFlex
|
|
4
|
-
} from "../../../chunks/chunk.
|
|
4
|
+
} from "../../../chunks/chunk.I5ZVUUCK.js";
|
|
5
5
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.
|
|
8
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
6
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
7
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
9
8
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
9
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
10
10
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
11
11
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
12
12
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -34,7 +34,7 @@ export declare class GdsGrid extends GdsContainer {
|
|
|
34
34
|
* <gds-grid auto-columns="l{200} m{100} s{80}"></gds-grid> <!-- different values for each breakpoint -->
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
'auto-columns'?: string;
|
|
38
38
|
constructor();
|
|
39
39
|
render(): any;
|
|
40
40
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsGrid
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
3
|
+
} from "../../../chunks/chunk.G5N266EN.js";
|
|
4
4
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
5
|
-
import "../../../chunks/chunk.
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
5
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
6
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
8
7
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
8
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
9
9
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
10
10
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
11
11
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsGrid
|
|
3
|
-
} from "../../../chunks/chunk.
|
|
3
|
+
} from "../../../chunks/chunk.G5N266EN.js";
|
|
4
4
|
import "../../../chunks/chunk.OJK4O3JQ.js";
|
|
5
|
-
import "../../../chunks/chunk.
|
|
6
|
-
import "../../../chunks/chunk.
|
|
7
|
-
import "../../../chunks/chunk.3DNQAQ3I.js";
|
|
5
|
+
import "../../../chunks/chunk.CKHSQ3NZ.js";
|
|
6
|
+
import "../../../chunks/chunk.XKACXVCM.js";
|
|
8
7
|
import "../../../chunks/chunk.2WO4NHJ2.js";
|
|
8
|
+
import "../../../chunks/chunk.RC3RN452.js";
|
|
9
9
|
import "../../../chunks/chunk.ZQ4D5K7J.js";
|
|
10
10
|
import "../../../chunks/chunk.W7CV3QYI.js";
|
|
11
11
|
import "../../../chunks/chunk.YO24ZYAD.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mask';
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { GdsFlex } from '../flex';
|
|
2
|
+
export declare class GdsMask extends GdsFlex {
|
|
3
|
+
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
4
|
+
'mask-image'?: string;
|
|
5
|
+
'mask-size': string;
|
|
6
|
+
'mask-repeat': string;
|
|
7
|
+
'mask-position': string;
|
|
8
|
+
'background-color'?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Controls the backdrop-filter property of the container.
|
|
11
|
+
* When you want to apply a backdrop blur filter to the container you can use this property.
|
|
12
|
+
*
|
|
13
|
+
* ```html
|
|
14
|
+
* <gds-mask backdrop-filter="20px"></gds-mask>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* The above example will apply a backdrop blur filter of `20px`.
|
|
18
|
+
*
|
|
19
|
+
* The filter also support breakpoint syntax like this:
|
|
20
|
+
*
|
|
21
|
+
* ```html
|
|
22
|
+
* <gds-mask backdrop-filter="s{20px} m{40px} l{60px}"></gds-mask>
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* The above example will apply the filter style of `20px` for `small` devices, `40px` for `medium` devices, and `60px` for large devices.
|
|
26
|
+
*/
|
|
27
|
+
'backdrop-filter'?: string;
|
|
28
|
+
constructor();
|
|
29
|
+
render(): import("lit-html").TemplateResult;
|
|
30
|
+
}
|