@sebgroup/green-core 1.65.2 → 1.66.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.MNBT4BBM.js → chunk.2OB745JA.js} +17 -16
- package/chunks/{chunk.QQZ6OU7Y.js → chunk.3H5ICQVZ.js} +7 -43
- package/chunks/{chunk.HLECFPM7.js → chunk.3ONXWPQW.js} +2 -2
- package/chunks/{chunk.NXCMDWVV.js → chunk.5UF3G7BV.js} +13 -31
- package/chunks/{chunk.ZJAOT2TY.js → chunk.6IPE43TE.js} +13 -9
- package/chunks/chunk.76QWARGM.js +48 -0
- package/chunks/{chunk.3HYF3OQJ.js → chunk.ANVDAFT6.js} +1 -1
- package/chunks/{chunk.6AXAS42G.js → chunk.AOL7I7LG.js} +1 -1
- package/chunks/{chunk.5KH5FC7L.js → chunk.B3QCLV6X.js} +27 -18
- package/chunks/{chunk.33KNAKAX.js → chunk.BCTJIMKU.js} +1 -1
- package/chunks/chunk.C6D7M75U.js +189 -0
- package/chunks/{chunk.WXLGEKTJ.js → chunk.C7QZFHHI.js} +2 -2
- package/chunks/{chunk.ZRVWDJF3.js → chunk.D7OG6JDU.js} +19 -39
- package/chunks/{chunk.I26S7X2I.js → chunk.ESW6XPZT.js} +1 -1
- package/chunks/{chunk.IVF6XCAV.js → chunk.FHNILNLX.js} +33 -22
- package/chunks/chunk.G2WTHFPE.js +136 -0
- package/chunks/{chunk.ERDZD4ZA.js → chunk.GB5SVW2I.js} +18 -42
- package/chunks/{chunk.72P5ER45.js → chunk.JKCCH7B5.js} +2 -2
- package/chunks/{chunk.RZC5YKY2.js → chunk.KHEFX7ET.js} +1 -1
- package/chunks/{chunk.S6H4MUKG.js → chunk.LNQWCKU7.js} +39 -1
- package/chunks/chunk.M5C2HLKD.js +0 -0
- package/chunks/{chunk.TMGAZY2U.js → chunk.MHE47HSD.js} +3 -8
- package/chunks/{chunk.K4KPKUH4.js → chunk.NUUST5OZ.js} +5 -5
- package/chunks/{chunk.FQ5S3SPL.js → chunk.O5MF3AWQ.js} +39 -28
- package/chunks/{chunk.7RH4YLXP.js → chunk.OGQ5SET4.js} +1 -1
- package/chunks/{chunk.E2DI7SCS.js → chunk.OPSLMB6U.js} +3 -3
- package/chunks/{chunk.IDLO4SF7.js → chunk.OXIKAUCN.js} +3 -4
- package/chunks/{chunk.WVIONKU4.js → chunk.PVDNSDQ5.js} +1 -1
- package/chunks/{chunk.AOTGGABX.js → chunk.PZHMIVFF.js} +10 -3
- package/chunks/chunk.QK3R23GV.js +1 -1
- package/chunks/{chunk.JIYNFF4D.js → chunk.QL3SRQMU.js} +5 -20
- package/chunks/{chunk.N5YJ6GYI.js → chunk.RW5RXCBK.js} +10 -3
- package/chunks/{chunk.RWKRHNWT.js → chunk.SHOSMOYU.js} +1 -1
- package/chunks/{chunk.BJYILCTQ.js → chunk.SPON3Z5D.js} +1 -1
- package/chunks/{chunk.N7UBPAKJ.js → chunk.SVOA74C3.js} +5 -4
- package/chunks/{chunk.3YLD22MP.js → chunk.TF6J2JQN.js} +11 -2
- package/chunks/{chunk.NXUVLTO7.js → chunk.UBXNWORG.js} +25 -14
- package/chunks/chunk.UGHZGD2M.js +38 -0
- package/chunks/{chunk.UQ24RS46.js → chunk.VQ7OJPCU.js} +8 -2
- package/chunks/{chunk.L2TDNB6Z.js → chunk.WBBCGR25.js} +6 -6
- package/chunks/{chunk.M3LCBAMM.js → chunk.WSOQAUSR.js} +23 -12
- package/chunks/{chunk.7M5L527M.js → chunk.WXOLDCJC.js} +10 -3
- package/chunks/{chunk.QOMPMV5S.js → chunk.XER65FVD.js} +9 -2
- package/chunks/chunk.XHVRV33B.js +20 -0
- package/chunks/{chunk.6J4YIHNE.js → chunk.ZCIBIPPR.js} +1 -1
- package/chunks/{chunk.D7J47HUV.js → chunk.ZHRMYWJY.js} +5 -18
- package/components/badge/badge.d.ts +3 -1
- package/components/badge/badge.js +9 -7
- package/components/badge/index.js +9 -7
- package/components/button/button.d.ts +16 -12
- package/components/button/button.js +8 -5
- package/components/button/button.trans.styles.js +2 -2
- package/components/button/index.js +8 -5
- package/components/calendar/calendar.js +4 -4
- package/components/calendar/calendar.trans.styles.js +2 -2
- package/components/calendar/index.js +4 -4
- package/components/card/card.d.ts +6 -5
- package/components/card/card.js +7 -5
- package/components/card/index.js +7 -5
- package/components/container/container.d.ts +3 -392
- package/components/container/container.js +8 -3
- package/components/container/index.js +8 -3
- package/components/context-menu/context-menu.d.ts +3 -1
- package/components/context-menu/context-menu.js +10 -7
- package/components/context-menu/context-menu.trans.styles.js +2 -2
- package/components/context-menu/index.js +11 -8
- package/components/datepicker/datepicker.d.ts +19 -15
- package/components/datepicker/datepicker.js +26 -24
- package/components/datepicker/datepicker.trans.styles.js +2 -2
- package/components/datepicker/index.js +26 -24
- package/components/dialog/dialog.js +13 -11
- package/components/dialog/index.js +13 -11
- package/components/div/div.d.ts +173 -0
- package/components/div/div.js +15 -0
- package/components/div/index.d.ts +1 -0
- package/components/div/index.js +16 -0
- package/components/divider/divider.d.ts +10 -8
- package/components/divider/divider.js +4 -3
- package/components/divider/index.js +4 -3
- package/components/dropdown/dropdown.js +20 -18
- package/components/dropdown/dropdown.trans.styles.js +2 -2
- package/components/dropdown/index.js +21 -19
- package/components/fab/fab.d.ts +3 -17
- package/components/fab/fab.js +9 -7
- package/components/fab/index.js +9 -7
- package/components/filter-chips/filter-chip/filter-chip.js +9 -6
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +2 -2
- package/components/filter-chips/filter-chip/index.js +9 -6
- package/components/filter-chips/filter-chips.js +9 -6
- package/components/filter-chips/filter-chips.trans.styles.js +2 -2
- package/components/filter-chips/index.js +9 -6
- package/components/flex/flex.d.ts +3 -76
- package/components/flex/flex.js +7 -5
- package/components/flex/index.js +7 -5
- package/components/form/index.js +12 -8
- package/components/form/summary/index.js +12 -8
- package/components/form/summary/summary.js +12 -8
- package/components/grid/grid.d.ts +5 -6
- package/components/grid/grid.js +7 -5
- package/components/grid/index.js +7 -5
- package/components/grouped-list/grouped-list.js +4 -4
- package/components/grouped-list/grouped-list.trans.styles.js +2 -2
- package/components/grouped-list/index.js +4 -4
- package/components/icon/icons/index.js +132 -132
- package/components/img/img.d.ts +17 -77
- package/components/img/img.js +5 -3
- package/components/img/index.js +5 -3
- package/components/index.js +63 -59
- package/components/input/index.js +17 -15
- package/components/input/input.d.ts +19 -15
- package/components/input/input.js +17 -15
- package/components/input/input.trans.styles.js +2 -2
- package/components/link/index.js +6 -4
- package/components/link/link.d.ts +3 -1
- package/components/link/link.js +6 -4
- package/components/mask/index.js +8 -6
- package/components/mask/mask.d.ts +1 -0
- package/components/mask/mask.js +8 -6
- package/components/menu-button/index.js +6 -3
- package/components/menu-button/menu-button.d.ts +3 -1
- package/components/menu-button/menu-button.js +6 -3
- package/components/popover/index.js +6 -6
- package/components/popover/popover.js +4 -4
- package/components/popover/popover.trans.styles.js +2 -2
- package/components/rich-text/index.js +6 -3
- package/components/rich-text/rich-text.d.ts +3 -1
- package/components/rich-text/rich-text.js +6 -3
- package/components/segmented-control/index.js +9 -7
- package/components/segmented-control/segment/index.js +7 -5
- package/components/segmented-control/segment/segment.d.ts +3 -13
- package/components/segmented-control/segment/segment.js +7 -5
- package/components/segmented-control/segment/segment.trans.styles.js +2 -2
- package/components/segmented-control/segmented-control.d.ts +3 -1
- package/components/segmented-control/segmented-control.js +9 -7
- package/components/segmented-control/segmented-control.trans.styles.js +2 -2
- package/components/select/index.js +17 -15
- package/components/select/select.d.ts +31 -27
- package/components/select/select.js +17 -15
- package/components/select/select.trans.styles.js +2 -2
- package/components/signal/index.js +3 -3
- package/components/signal/signal.js +3 -3
- package/components/spacer/index.js +3 -3
- package/components/spacer/spacer.d.ts +3 -0
- package/components/spacer/spacer.js +3 -3
- package/components/text/index.js +7 -5
- package/components/text/text.d.ts +9 -87
- package/components/text/text.js +7 -5
- package/components/textarea/index.js +17 -15
- package/components/textarea/textarea.d.ts +19 -15
- package/components/textarea/textarea.js +17 -15
- package/components/theme/index.js +4 -4
- package/components/theme/theme.js +4 -4
- package/components/theme/theme.trans.styles.js +2 -2
- package/components/video/index.js +5 -3
- package/components/video/video.d.ts +5 -31
- package/components/video/video.js +5 -3
- package/index.js +63 -59
- package/package.json +1 -1
- package/primitives/field-base/field-base.js +4 -4
- package/primitives/field-base/index.js +4 -4
- package/primitives/form-control-footer/form-control-footer.js +9 -7
- package/primitives/form-control-footer/index.js +9 -7
- package/primitives/form-control-header/form-control-header.js +11 -9
- package/primitives/form-control-header/index.js +11 -9
- package/primitives/listbox/index.js +5 -5
- package/primitives/listbox/listbox.js +5 -5
- package/primitives/listbox/option.js +4 -4
- package/primitives/menu/index.js +5 -5
- package/primitives/menu/menu-heading.js +4 -4
- package/primitives/menu/menu-item.js +4 -4
- package/primitives/menu/menu.js +5 -5
- package/primitives/ripple/index.js +3 -3
- package/primitives/ripple/ripple.js +3 -3
- package/transitional-styles.js +2 -2
- package/utils/helpers/index.d.ts +1 -0
- package/utils/helpers/style-expression-helpers.d.ts +33 -0
- package/utils/mixins/declarative-layout-mixins.d.ts +69 -0
- package/utils/mixins/mixin-builder.d.ts +24 -0
- package/chunks/chunk.5SFGYE7C.js +0 -106
- package/chunks/chunk.N4DG6Q7H.js +0 -381
- /package/components/{container/container.style.d.ts → div/div.style.d.ts} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// dist/libs/tokens/internal/dark.css?inline
|
|
6
6
|
var dark_default = `/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
color-scheme: dark;
|
|
@@ -119,7 +119,7 @@ color-scheme: dark;
|
|
|
119
119
|
// dist/libs/tokens/internal/light.css?inline
|
|
120
120
|
var light_default = `/**
|
|
121
121
|
* Do not edit directly
|
|
122
|
-
* Generated on
|
|
122
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
125
|
color-scheme: light;
|
|
@@ -236,7 +236,7 @@ import { css, unsafeCSS } from "lit";
|
|
|
236
236
|
// dist/libs/tokens/internal/motion.css?inline
|
|
237
237
|
var motion_default = `/**
|
|
238
238
|
* Do not edit directly
|
|
239
|
-
* Generated on
|
|
239
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
240
240
|
*/
|
|
241
241
|
|
|
242
242
|
:host {
|
|
@@ -255,7 +255,7 @@ var motion_default = `/**
|
|
|
255
255
|
// dist/libs/tokens/internal/shadow.css?inline
|
|
256
256
|
var shadow_default = `/**
|
|
257
257
|
* Do not edit directly
|
|
258
|
-
* Generated on
|
|
258
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
259
259
|
*/
|
|
260
260
|
|
|
261
261
|
:host {
|
|
@@ -270,7 +270,7 @@ var shadow_default = `/**
|
|
|
270
270
|
// dist/libs/tokens/internal/size.css?inline
|
|
271
271
|
var size_default = `/**
|
|
272
272
|
* Do not edit directly
|
|
273
|
-
* Generated on
|
|
273
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
:host {
|
|
@@ -297,7 +297,7 @@ var size_default = `/**
|
|
|
297
297
|
// dist/libs/tokens/internal/text.css?inline
|
|
298
298
|
var text_default = `/**
|
|
299
299
|
* Do not edit directly
|
|
300
|
-
* Generated on
|
|
300
|
+
* Generated on Mon, 24 Feb 2025 12:56:22 GMT
|
|
301
301
|
*/
|
|
302
302
|
|
|
303
303
|
:host {
|
|
@@ -4,12 +4,17 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
observeLightDOM
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
|
+
import {
|
|
8
|
+
withLayoutChildProps,
|
|
9
|
+
withMarginProps,
|
|
10
|
+
withSizeXProps
|
|
11
|
+
} from "./chunk.G2WTHFPE.js";
|
|
7
12
|
import {
|
|
8
13
|
watch
|
|
9
14
|
} from "./chunk.TYGMNHNO.js";
|
|
10
15
|
import {
|
|
11
16
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.WBBCGR25.js";
|
|
13
18
|
import {
|
|
14
19
|
gdsCustomElement,
|
|
15
20
|
html
|
|
@@ -79,7 +84,7 @@ var styles = css`
|
|
|
79
84
|
|
|
80
85
|
// libs/core/src/components/select/select.ts
|
|
81
86
|
var _isValueInitialized, _handleSelectElementChange, _setValueFromSelectElement, setValueFromSelectElement_fn, _renderFieldContents, renderFieldContents_fn, _renderSlotLead, renderSlotLead_fn, _renderMainLabel, renderMainLabel_fn, _renderMainSlot, renderMainSlot_fn, _renderChevron, renderChevron_fn;
|
|
82
|
-
var
|
|
87
|
+
var Select = class extends GdsFormControlElement {
|
|
83
88
|
constructor() {
|
|
84
89
|
super(...arguments);
|
|
85
90
|
__privateAdd(this, _setValueFromSelectElement);
|
|
@@ -287,22 +292,22 @@ renderChevron_fn = function() {
|
|
|
287
292
|
return html` <gds-icon-chevron-bottom></gds-icon-chevron-bottom> `;
|
|
288
293
|
}
|
|
289
294
|
};
|
|
290
|
-
|
|
295
|
+
Select.styles = [tokens, styles];
|
|
291
296
|
__decorateClass([
|
|
292
297
|
property({ attribute: "supporting-text" })
|
|
293
|
-
],
|
|
298
|
+
], Select.prototype, "supportingText", 2);
|
|
294
299
|
__decorateClass([
|
|
295
300
|
property({ type: String })
|
|
296
|
-
],
|
|
301
|
+
], Select.prototype, "size", 2);
|
|
297
302
|
__decorateClass([
|
|
298
303
|
query("select")
|
|
299
|
-
],
|
|
304
|
+
], Select.prototype, "selectElement", 2);
|
|
300
305
|
__decorateClass([
|
|
301
306
|
property()
|
|
302
|
-
],
|
|
307
|
+
], Select.prototype, "value", 1);
|
|
303
308
|
__decorateClass([
|
|
304
309
|
query(".select-container")
|
|
305
|
-
],
|
|
310
|
+
], Select.prototype, "_elSelectContainer", 2);
|
|
306
311
|
__decorateClass([
|
|
307
312
|
observeLightDOM({
|
|
308
313
|
childList: true,
|
|
@@ -310,13 +315,19 @@ __decorateClass([
|
|
|
310
315
|
attributes: true,
|
|
311
316
|
characterData: true
|
|
312
317
|
})
|
|
313
|
-
],
|
|
318
|
+
], Select.prototype, "_captureDOM", 1);
|
|
314
319
|
__decorateClass([
|
|
315
320
|
watch("value")
|
|
316
|
-
],
|
|
317
|
-
|
|
318
|
-
gdsCustomElement("gds-select"),
|
|
321
|
+
], Select.prototype, "_handleValueChange", 1);
|
|
322
|
+
Select = __decorateClass([
|
|
319
323
|
localized()
|
|
324
|
+
], Select);
|
|
325
|
+
var GdsSelect = class extends withLayoutChildProps(
|
|
326
|
+
withSizeXProps(withMarginProps(Select))
|
|
327
|
+
) {
|
|
328
|
+
};
|
|
329
|
+
GdsSelect = __decorateClass([
|
|
330
|
+
gdsCustomElement("gds-select")
|
|
320
331
|
], GdsSelect);
|
|
321
332
|
|
|
322
333
|
export {
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resizeObserver
|
|
3
3
|
} from "./chunk.VHN4JEZC.js";
|
|
4
|
+
import {
|
|
5
|
+
withLayoutChildProps,
|
|
6
|
+
withMarginProps,
|
|
7
|
+
withSizeXProps
|
|
8
|
+
} from "./chunk.G2WTHFPE.js";
|
|
4
9
|
import {
|
|
5
10
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.LNQWCKU7.js";
|
|
7
12
|
import {
|
|
8
13
|
watch
|
|
9
14
|
} from "./chunk.TYGMNHNO.js";
|
|
10
15
|
import {
|
|
11
16
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.WBBCGR25.js";
|
|
13
18
|
import {
|
|
14
19
|
GdsElement
|
|
15
20
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -151,7 +156,9 @@ var debounce = (fn, delay) => {
|
|
|
151
156
|
};
|
|
152
157
|
};
|
|
153
158
|
var _value, _handleSlotChange, handleSlotChange_fn, _scrollLeft, _scrollRight, _updateScrollBtnState, _updateScrollBtnStateDebounced, _updateIndicator, _handleSegmentClick, _updateSelectedFromValue;
|
|
154
|
-
var GdsSegmentedControl = class extends
|
|
159
|
+
var GdsSegmentedControl = class extends withLayoutChildProps(
|
|
160
|
+
withSizeXProps(withMarginProps(GdsElement))
|
|
161
|
+
) {
|
|
155
162
|
constructor() {
|
|
156
163
|
super(...arguments);
|
|
157
164
|
__privateAdd(this, _handleSlotChange);
|
|
@@ -4,9 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
observeLightDOM
|
|
6
6
|
} from "./chunk.WM7HBMMV.js";
|
|
7
|
+
import {
|
|
8
|
+
withLayoutChildProps,
|
|
9
|
+
withMarginProps
|
|
10
|
+
} from "./chunk.G2WTHFPE.js";
|
|
7
11
|
import {
|
|
8
12
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.WBBCGR25.js";
|
|
10
14
|
import {
|
|
11
15
|
GdsElement
|
|
12
16
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -29,6 +33,7 @@ var styles = css`
|
|
|
29
33
|
--default-border: 1px solid
|
|
30
34
|
color-mix(in srgb, currentColor, transparent 80%);
|
|
31
35
|
letter-spacing: 0.0125rem;
|
|
36
|
+
display: block;
|
|
32
37
|
}
|
|
33
38
|
|
|
34
39
|
:host > :first-child {
|
|
@@ -211,7 +216,9 @@ var styles = css`
|
|
|
211
216
|
`;
|
|
212
217
|
|
|
213
218
|
// libs/core/src/components/rich-text/rich-text.ts
|
|
214
|
-
var GdsRichText = class extends
|
|
219
|
+
var GdsRichText = class extends withLayoutChildProps(
|
|
220
|
+
withMarginProps(GdsElement)
|
|
221
|
+
) {
|
|
215
222
|
constructor() {
|
|
216
223
|
super(...arguments);
|
|
217
224
|
this.captureMode = "clone";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsDiv
|
|
3
|
+
} from "./chunk.C6D7M75U.js";
|
|
4
|
+
import {
|
|
5
|
+
gdsCustomElement
|
|
6
|
+
} from "./chunk.QK3R23GV.js";
|
|
7
|
+
import {
|
|
8
|
+
__decorateClass
|
|
9
|
+
} from "./chunk.SEHSDSX2.js";
|
|
10
|
+
|
|
11
|
+
// libs/core/src/components/container/container.ts
|
|
12
|
+
var GdsContainer = class extends GdsDiv {
|
|
13
|
+
};
|
|
14
|
+
GdsContainer = __decorateClass([
|
|
15
|
+
gdsCustomElement("gds-container")
|
|
16
|
+
], GdsContainer);
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
GdsContainer
|
|
20
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk.
|
|
2
|
+
withSizeXProps
|
|
3
|
+
} from "./chunk.G2WTHFPE.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.LNQWCKU7.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.WBBCGR25.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -90,7 +90,7 @@ var segment_style_default = `@layer base {
|
|
|
90
90
|
`;
|
|
91
91
|
|
|
92
92
|
// libs/core/src/components/segmented-control/segment/segment.ts
|
|
93
|
-
var GdsSegment = class extends GdsElement {
|
|
93
|
+
var GdsSegment = class extends withSizeXProps(GdsElement) {
|
|
94
94
|
constructor() {
|
|
95
95
|
super(...arguments);
|
|
96
96
|
this.selected = false;
|
|
@@ -129,19 +129,6 @@ __decorateClass([
|
|
|
129
129
|
__decorateClass([
|
|
130
130
|
property({ type: Boolean, reflect: true })
|
|
131
131
|
], GdsSegment.prototype, "disabled", 2);
|
|
132
|
-
__decorateClass([
|
|
133
|
-
styleExpressionProperty({
|
|
134
|
-
valueTemplate: (v) => v
|
|
135
|
-
})
|
|
136
|
-
], GdsSegment.prototype, "min-width", 2);
|
|
137
|
-
__decorateClass([
|
|
138
|
-
styleExpressionProperty({
|
|
139
|
-
valueTemplate: (v) => v
|
|
140
|
-
})
|
|
141
|
-
], GdsSegment.prototype, "max-width", 2);
|
|
142
|
-
__decorateClass([
|
|
143
|
-
styleExpressionProperty()
|
|
144
|
-
], GdsSegment.prototype, "width", 2);
|
|
145
132
|
GdsSegment = __decorateClass([
|
|
146
133
|
gdsCustomElement("gds-segment")
|
|
147
134
|
], GdsSegment);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GdsElement } from '../../gds-element';
|
|
2
2
|
import '../flex';
|
|
3
|
+
declare const GdsBadge_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeXProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").MarginProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").LayoutChildProps) & typeof GdsElement;
|
|
3
4
|
/**
|
|
4
5
|
* `gds-badge`
|
|
5
6
|
*
|
|
@@ -7,7 +8,7 @@ import '../flex';
|
|
|
7
8
|
* @status beta
|
|
8
9
|
*
|
|
9
10
|
*/
|
|
10
|
-
export declare class GdsBadge extends
|
|
11
|
+
export declare class GdsBadge extends GdsBadge_base {
|
|
11
12
|
#private;
|
|
12
13
|
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
13
14
|
/**
|
|
@@ -47,3 +48,4 @@ export declare class GdsBadge extends GdsElement {
|
|
|
47
48
|
constructor();
|
|
48
49
|
render(): any;
|
|
49
50
|
}
|
|
51
|
+
export {};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsBadge
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.PZHMIVFF.js";
|
|
4
4
|
import "../../chunks/chunk.3M4XRCEF.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.UGHZGD2M.js";
|
|
6
|
+
import "../../chunks/chunk.M5C2HLKD.js";
|
|
7
|
+
import "../../chunks/chunk.C6D7M75U.js";
|
|
8
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
9
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
10
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
11
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
11
12
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
13
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
12
14
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
13
15
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
14
16
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import "../../chunks/chunk.CK2UGCPG.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsBadge
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.PZHMIVFF.js";
|
|
5
5
|
import "../../chunks/chunk.3M4XRCEF.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.
|
|
9
|
-
import "../../chunks/chunk.
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.UGHZGD2M.js";
|
|
7
|
+
import "../../chunks/chunk.M5C2HLKD.js";
|
|
8
|
+
import "../../chunks/chunk.C6D7M75U.js";
|
|
9
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
10
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
11
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
12
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
12
13
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
14
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
13
15
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
14
16
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
15
17
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import { GdsFormControlElement } from '../form/form-control';
|
|
2
2
|
import '../../primitives/ripple';
|
|
3
|
-
|
|
4
|
-
* @element gds-button
|
|
5
|
-
* @summary A custom button element that can display a label, lead and trail icons, and a ripple effect on click.
|
|
6
|
-
* @status stable
|
|
7
|
-
*
|
|
8
|
-
* @slot - Content to be displayed as the button label.
|
|
9
|
-
* @slot lead - An optional slot that allows a `gds-icon-[ICON_NAME]` element to be placed before the label.
|
|
10
|
-
* @slot trail - An optional slot that allows a `gds-icon-[ICON_NAME]` element to be placed after the label.
|
|
11
|
-
*
|
|
12
|
-
* @event click - Fired when the button is clicked.
|
|
13
|
-
*/
|
|
14
|
-
export declare class GdsButton<ValueT = any> extends GdsFormControlElement<ValueT> {
|
|
3
|
+
declare class Button extends GdsFormControlElement<any> {
|
|
15
4
|
#private;
|
|
16
5
|
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
17
6
|
/**
|
|
@@ -66,3 +55,18 @@ export declare class GdsButton<ValueT = any> extends GdsFormControlElement<Value
|
|
|
66
55
|
protected _getValidityAnchor(): HTMLElement;
|
|
67
56
|
private _attributeChanged;
|
|
68
57
|
}
|
|
58
|
+
declare const GdsButton_base: (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").SizeXProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").MarginProps) & (new (...args: any[]) => import("../../utils/mixins/declarative-layout-mixins").LayoutChildProps) & typeof Button;
|
|
59
|
+
/**
|
|
60
|
+
* @element gds-button
|
|
61
|
+
* @summary A custom button element that can display a label, lead and trail icons, and a ripple effect on click.
|
|
62
|
+
* @status stable
|
|
63
|
+
*
|
|
64
|
+
* @slot - Content to be displayed as the button label.
|
|
65
|
+
* @slot lead - An optional slot that allows a `gds-icon-[ICON_NAME]` element to be placed before the label.
|
|
66
|
+
* @slot trail - An optional slot that allows a `gds-icon-[ICON_NAME]` element to be placed after the label.
|
|
67
|
+
*
|
|
68
|
+
* @event click - Fired when the button is clicked.
|
|
69
|
+
*/
|
|
70
|
+
export declare class GdsButton extends GdsButton_base {
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.B3QCLV6X.js";
|
|
4
4
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.ESW6XPZT.js";
|
|
6
6
|
import "../../chunks/chunk.VA6TUMR2.js";
|
|
7
7
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
9
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
10
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
11
|
+
import "../../chunks/chunk.LNQWCKU7.js";
|
|
9
12
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
11
|
-
import "../../chunks/chunk.L2TDNB6Z.js";
|
|
13
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
12
14
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
15
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
13
16
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
14
17
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
15
18
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
button_trans_styles_default,
|
|
3
3
|
register
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.LNQWCKU7.js";
|
|
5
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
6
6
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
7
7
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
8
8
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsButton
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.B3QCLV6X.js";
|
|
5
5
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.ESW6XPZT.js";
|
|
7
7
|
import "../../chunks/chunk.VA6TUMR2.js";
|
|
8
8
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
10
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
11
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
12
|
+
import "../../chunks/chunk.LNQWCKU7.js";
|
|
10
13
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
12
|
-
import "../../chunks/chunk.L2TDNB6Z.js";
|
|
14
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
13
15
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
16
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
14
17
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
15
18
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
16
19
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsCalendar
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.SVOA74C3.js";
|
|
4
|
+
import "../../chunks/chunk.LNQWCKU7.js";
|
|
5
5
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.L2TDNB6Z.js";
|
|
6
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
8
7
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
8
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
9
9
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
10
10
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
11
11
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
calendar_trans_styles_default,
|
|
3
3
|
register4 as register
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.LNQWCKU7.js";
|
|
5
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
6
6
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
7
7
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
8
8
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../../chunks/chunk.DJ2OXJZN.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsCalendar
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.SVOA74C3.js";
|
|
5
|
+
import "../../chunks/chunk.LNQWCKU7.js";
|
|
6
6
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.L2TDNB6Z.js";
|
|
7
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
9
8
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
9
|
+
import "../../chunks/chunk.YO24ZYAD.js";
|
|
10
10
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
11
11
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
12
12
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GdsDiv } from '../div';
|
|
2
2
|
/**
|
|
3
3
|
* A container for content representing a single entity. e.g. a contact, article, or task.
|
|
4
4
|
*
|
|
5
|
-
* `gds-card` inherits all properties from `gds-
|
|
5
|
+
* `gds-card` inherits all properties from `gds-div`, but comes with some predefined defaults
|
|
6
6
|
* and a shortcut property for specifiying different card variants.
|
|
7
7
|
*
|
|
8
8
|
* @element gds-card
|
|
9
9
|
* @status beta
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
export declare class GdsCard extends
|
|
12
|
+
export declare class GdsCard extends GdsDiv {
|
|
13
13
|
static styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Style Expression Property for the `box-shadow` property.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* Accepts shadow tokens from the design system.
|
|
18
18
|
*
|
|
19
19
|
* `xs`, `s`, `m`, `l`, `xl`
|
|
20
20
|
*
|
|
21
|
+
* @deprecated Use the `box-shadow` property instead.
|
|
21
22
|
*/
|
|
22
23
|
shadow?: string;
|
|
23
24
|
/**
|
package/components/card/card.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsCard
|
|
3
|
-
} from "../../chunks/chunk.
|
|
4
|
-
import "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.6IPE43TE.js";
|
|
4
|
+
import "../../chunks/chunk.M5C2HLKD.js";
|
|
5
|
+
import "../../chunks/chunk.C6D7M75U.js";
|
|
6
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
7
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
8
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
9
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
8
10
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
9
11
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
10
12
|
import "../../chunks/chunk.QK3R23GV.js";
|
package/components/card/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import "../../chunks/chunk.ALFDKEVN.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsCard
|
|
4
|
-
} from "../../chunks/chunk.
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
8
|
-
import "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.6IPE43TE.js";
|
|
5
|
+
import "../../chunks/chunk.M5C2HLKD.js";
|
|
6
|
+
import "../../chunks/chunk.C6D7M75U.js";
|
|
7
|
+
import "../../chunks/chunk.G2WTHFPE.js";
|
|
8
|
+
import "../../chunks/chunk.76QWARGM.js";
|
|
9
|
+
import "../../chunks/chunk.NUUST5OZ.js";
|
|
10
|
+
import "../../chunks/chunk.WBBCGR25.js";
|
|
9
11
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
10
12
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
11
13
|
import "../../chunks/chunk.QK3R23GV.js";
|