@sebgroup/green-core 1.64.0 → 1.65.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.UDMQ6ZPV.js → chunk.25ME3RJJ.js} +1 -1
- package/chunks/{chunk.YYLPMTLX.js → chunk.2NIJ42AV.js} +2 -2
- package/chunks/{chunk.DPXMDOM6.js → chunk.3CV43MWE.js} +1 -1
- package/chunks/{chunk.ECUZICLN.js → chunk.4V2MDCOG.js} +1 -1
- package/chunks/{chunk.6OBCHB45.js → chunk.5GKJYSBV.js} +1 -1
- package/chunks/{chunk.CJPQT2NX.js → chunk.76CTWWTO.js} +19 -4
- package/chunks/{chunk.UBQF2XNY.js → chunk.7C7Y6WAE.js} +2 -2
- package/chunks/{chunk.GHQJQMIT.js → chunk.7E76OQO4.js} +2 -2
- package/chunks/{chunk.FKS2NX4H.js → chunk.7IJ45CPT.js} +2 -2
- package/chunks/{chunk.RZ7ZIX2E.js → chunk.AYJHEQ2T.js} +2 -2
- package/chunks/{chunk.XCRRXI2A.js → chunk.BIWJJ7RK.js} +2 -2
- package/chunks/{chunk.C2QMTTFS.js → chunk.C3QNLD2U.js} +1 -1
- package/chunks/{chunk.AXMGASII.js → chunk.CIUHRMH7.js} +1 -1
- package/chunks/{chunk.YXUQ3IEC.js → chunk.CPR6XAI3.js} +1 -1
- package/chunks/chunk.DO27JKTH.js +324 -0
- package/chunks/{chunk.EXH47S7D.js → chunk.G4HNP6TT.js} +28 -17
- package/chunks/{chunk.KPFSHDJT.js → chunk.GXBOA37S.js} +33 -21
- package/chunks/{chunk.G5EFP65Y.js → chunk.H2TXX4BQ.js} +1 -1
- package/chunks/{chunk.DW7XJE5K.js → chunk.HBUJSVUI.js} +11 -3
- package/chunks/{chunk.CGNUY4TK.js → chunk.IEWLS75F.js} +11 -10
- package/chunks/{chunk.RCJ3EMRO.js → chunk.KX63CZJW.js} +2 -2
- package/chunks/{chunk.K42R2T2R.js → chunk.LGGFMOPA.js} +1 -1
- package/chunks/{chunk.2XGJAHBM.js → chunk.LVFKJRDS.js} +6 -6
- package/chunks/{chunk.XUBBC66D.js → chunk.MU7FX7GD.js} +2 -2
- package/chunks/{chunk.K43RWIGA.js → chunk.N4MSKSFX.js} +1 -1
- package/chunks/{chunk.PJ4D723J.js → chunk.NBJT3RI4.js} +2 -2
- package/chunks/{chunk.G37OJWBW.js → chunk.NJWYS5RK.js} +1 -1
- package/chunks/{chunk.PH5ZZ7S2.js → chunk.NPHFPYPG.js} +1 -1
- package/chunks/{chunk.6OI7CI4L.js → chunk.NVBMHHKJ.js} +2 -2
- package/chunks/{chunk.PV5HHD5H.js → chunk.OGJ5JQNK.js} +1 -1
- package/chunks/{chunk.WIDAWXQ5.js → chunk.OTZMBHF7.js} +1 -1
- package/chunks/{chunk.TEIDKRJE.js → chunk.PKEO2IHM.js} +2 -2
- package/chunks/chunk.QK3R23GV.js +1 -1
- package/chunks/{chunk.HFKLQGPX.js → chunk.RADBGM4I.js} +1 -1
- package/chunks/{chunk.N72WEGLV.js → chunk.S3JQFYLY.js} +5 -5
- package/chunks/{chunk.EIN6QN27.js → chunk.SITEZ5J3.js} +1 -1
- package/chunks/{chunk.JWJA3C3S.js → chunk.TBVNQQGU.js} +5 -5
- package/chunks/{chunk.GBHL22GY.js → chunk.UOPJZ7LB.js} +1 -1
- package/chunks/{chunk.TURR45PB.js → chunk.VA6TUMR2.js} +9 -2
- package/chunks/{chunk.XB56TT52.js → chunk.VH2KPU5O.js} +1 -1
- package/chunks/{chunk.4RXC5LFK.js → chunk.ZCQDR3BZ.js} +1 -1
- package/chunks/{chunk.3V65T2OH.js → chunk.ZSHEAGDL.js} +1 -1
- package/components/badge/badge.js +4 -4
- package/components/badge/index.js +4 -4
- package/components/button/button.js +5 -5
- package/components/button/button.trans.styles.js +2 -2
- package/components/button/index.js +5 -5
- package/components/calendar/calendar.js +3 -3
- package/components/calendar/calendar.trans.styles.js +2 -2
- package/components/calendar/index.js +3 -3
- package/components/card/card.js +3 -3
- package/components/card/index.js +3 -3
- package/components/container/container.js +2 -2
- package/components/container/index.js +2 -2
- package/components/context-menu/context-menu.js +6 -6
- package/components/context-menu/context-menu.trans.styles.js +2 -2
- package/components/context-menu/index.js +7 -7
- package/components/datepicker/datepicker.d.ts +2 -1
- package/components/datepicker/datepicker.js +18 -18
- package/components/datepicker/datepicker.trans.styles.js +3 -3
- package/components/datepicker/index.js +18 -18
- package/components/dialog/dialog.js +9 -9
- package/components/dialog/index.js +9 -9
- package/components/divider/divider.js +2 -2
- package/components/divider/index.js +2 -2
- package/components/dropdown/dropdown.js +15 -15
- package/components/dropdown/dropdown.trans.styles.js +3 -3
- package/components/dropdown/index.js +16 -16
- package/components/fab/fab.js +6 -6
- package/components/fab/index.js +6 -6
- package/components/filter-chips/filter-chip/filter-chip.js +6 -6
- package/components/filter-chips/filter-chip/filter-chip.trans.styles.js +3 -3
- package/components/filter-chips/filter-chip/index.js +6 -6
- package/components/filter-chips/filter-chips.d.ts +2 -1
- package/components/filter-chips/filter-chips.js +7 -7
- package/components/filter-chips/filter-chips.trans.styles.js +3 -3
- package/components/filter-chips/index.js +7 -7
- package/components/flex/flex.js +3 -3
- package/components/flex/index.js +3 -3
- package/components/form/form-control.d.ts +3 -1
- package/components/form/form-control.js +1 -1
- package/components/form/index.js +5 -5
- package/components/form/summary/index.js +5 -5
- package/components/form/summary/summary.js +5 -5
- package/components/grid/grid.js +3 -3
- package/components/grid/index.js +3 -3
- package/components/grouped-list/grouped-list.js +3 -3
- package/components/grouped-list/grouped-list.trans.styles.js +3 -3
- package/components/grouped-list/index.js +3 -3
- package/components/icon/icons/index.js +3 -3
- package/components/img/img.js +2 -2
- package/components/img/index.js +2 -2
- package/components/index.d.ts +1 -0
- package/components/index.js +48 -43
- package/components/input/index.js +13 -13
- package/components/input/input.d.ts +6 -2
- package/components/input/input.js +13 -13
- package/components/input/input.trans.styles.js +3 -3
- package/components/link/index.js +2 -2
- package/components/link/link.js +2 -2
- package/components/mask/index.js +4 -4
- package/components/mask/mask.js +4 -4
- package/components/menu-button/index.js +2 -2
- package/components/menu-button/menu-button.js +2 -2
- package/components/popover/index.js +3 -3
- package/components/popover/popover.js +3 -3
- package/components/popover/popover.trans.styles.js +2 -2
- package/components/rich-text/index.js +2 -2
- package/components/rich-text/rich-text.js +2 -2
- package/components/segmented-control/index.js +4 -4
- package/components/segmented-control/segment/index.js +3 -3
- package/components/segmented-control/segment/segment.js +3 -3
- package/components/segmented-control/segment/segment.trans.styles.js +3 -3
- package/components/segmented-control/segmented-control.js +4 -4
- package/components/segmented-control/segmented-control.trans.styles.js +3 -3
- package/components/select/index.d.ts +1 -0
- package/components/select/index.js +39 -0
- package/components/select/select.d.ts +77 -0
- package/components/select/select.js +39 -0
- package/components/select/select.styles.d.ts +1 -0
- package/components/select/select.trans.styles.d.ts +2 -0
- package/components/select/select.trans.styles.js +30 -0
- package/components/signal/index.js +2 -2
- package/components/signal/signal.js +2 -2
- package/components/spacer/index.js +2 -2
- package/components/spacer/spacer.js +2 -2
- package/components/text/index.js +3 -3
- package/components/text/text.js +3 -3
- package/components/textarea/index.js +13 -13
- package/components/textarea/textarea.d.ts +1 -1
- package/components/textarea/textarea.js +13 -13
- package/components/theme/index.js +3 -3
- package/components/theme/theme.js +3 -3
- package/components/theme/theme.trans.styles.js +3 -3
- package/components/video/index.js +2 -2
- package/components/video/video.js +2 -2
- package/index.js +48 -43
- package/package.json +1 -1
- package/primitives/field-base/field-base.js +3 -3
- package/primitives/field-base/index.js +3 -3
- package/primitives/form-control-footer/form-control-footer.js +4 -4
- package/primitives/form-control-footer/index.js +4 -4
- package/primitives/form-control-header/form-control-header.js +7 -7
- package/primitives/form-control-header/index.js +7 -7
- package/primitives/listbox/index.js +4 -4
- package/primitives/listbox/listbox.js +4 -4
- package/primitives/listbox/option.js +3 -3
- package/primitives/menu/index.js +4 -4
- package/primitives/menu/menu-heading.js +3 -3
- package/primitives/menu/menu-item.js +3 -3
- package/primitives/menu/menu.js +4 -4
- package/primitives/ripple/index.js +2 -2
- package/primitives/ripple/ripple.js +2 -2
- package/transitional-styles.js +2 -2
- /package/chunks/{chunk.4EWOQKZC.js → chunk.OE2OJVFW.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IEWLS75F.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.TYGMNHNO.js";
|
|
@@ -48,11 +48,10 @@ var styles = css`
|
|
|
48
48
|
align-items: center;
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
gap: var(--gds-space-xs);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
padding: calc(var(--gds-space-xs) - 1px) var(--gds-space-xs)
|
|
54
|
-
calc(var(--gds-space-xs) - 1px) var(--gds-space-m);
|
|
51
|
+
padding-block: var(--gds-space-xs);
|
|
52
|
+
padding-inline: var(--gds-space-m) var(--gds-space-s);
|
|
55
53
|
min-block-size: var(--gds-space-3xl);
|
|
54
|
+
block-size: var(--gds-space-3xl);
|
|
56
55
|
outline-style: solid;
|
|
57
56
|
outline-width: 0;
|
|
58
57
|
border-radius: var(--gds-space-xs);
|
|
@@ -65,6 +64,18 @@ var styles = css`
|
|
|
65
64
|
transition-property: background-color;
|
|
66
65
|
}
|
|
67
66
|
|
|
67
|
+
.field.lead-slot-occupied {
|
|
68
|
+
padding-inline-start: var(--gds-space-s);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.field.action-slot-occupied:not(.trail-slot-occupied) {
|
|
72
|
+
padding-inline-end: var(--gds-space-s);
|
|
73
|
+
|
|
74
|
+
&.small {
|
|
75
|
+
padding-inline-end: var(--gds-space-xs);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
68
79
|
.field:focus-within {
|
|
69
80
|
outline-width: var(--gds-space-3xs);
|
|
70
81
|
outline-offset: var(--gds-space-3xs);
|
|
@@ -76,27 +87,16 @@ var styles = css`
|
|
|
76
87
|
gap: var(--gds-space-2xs);
|
|
77
88
|
padding: calc(var(--gds-space-xs) - 1px) var(--gds-space-xs);
|
|
78
89
|
min-block-size: var(--gds-space-xl);
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
/* In Figma, the icon button overlaps 4px with the padding. The rule
|
|
82
|
-
below is there to replicate that so the field doesn't change height
|
|
83
|
-
when the action button appears */
|
|
84
|
-
.field.small slot[name='action']::slotted(*) {
|
|
85
|
-
margin: calc(var(--gds-space-xs) / -0.5) 0;
|
|
90
|
+
block-size: var(--gds-space-xl);
|
|
86
91
|
}
|
|
87
92
|
|
|
88
93
|
.field.multiline {
|
|
89
94
|
align-items: flex-start;
|
|
90
|
-
padding:
|
|
91
|
-
|
|
95
|
+
padding: var(--gds-space-s);
|
|
96
|
+
padding-inline-start: var(--gds-space-m);
|
|
92
97
|
height: max-content;
|
|
93
98
|
}
|
|
94
99
|
|
|
95
|
-
.field.trail-slot-occupied,
|
|
96
|
-
.field:not(.action-slot-occupied):not(.small) {
|
|
97
|
-
padding: calc(var(--gds-space-xs) - 1px) var(--gds-space-m);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
100
|
.field.disabled {
|
|
101
101
|
background: var(--gds-color-l3-background-disabled);
|
|
102
102
|
color: var(--gds-color-l3-content-disabled);
|
|
@@ -145,7 +145,12 @@ var styles = css`
|
|
|
145
145
|
align-items: center;
|
|
146
146
|
justify-content: center;
|
|
147
147
|
display: flex;
|
|
148
|
-
|
|
148
|
+
inline-size: var(--gds-space-l);
|
|
149
|
+
block-size: var(--gds-space-l);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.multiline slot[name='action']::slotted([gds-element]) {
|
|
153
|
+
margin-top: -4px;
|
|
149
154
|
}
|
|
150
155
|
}
|
|
151
156
|
`;
|
|
@@ -224,7 +229,14 @@ renderFieldContents_fn = function() {
|
|
|
224
229
|
__privateMethod(this, _renderSlotAction, renderSlotAction_fn).call(this),
|
|
225
230
|
__privateMethod(this, _renderSlotTrail, renderSlotTrail_fn).call(this)
|
|
226
231
|
];
|
|
227
|
-
return html`${map(elements, (el) => el)}
|
|
232
|
+
return html`${map(elements, (el) => el)}
|
|
233
|
+
|
|
234
|
+
<!-- <div class="left">
|
|
235
|
+
${__privateMethod(this, _renderSlotLead, renderSlotLead_fn).call(this)} ${__privateMethod(this, _renderSlotMain, renderSlotMain_fn).call(this)}
|
|
236
|
+
</div>
|
|
237
|
+
<div class="right">
|
|
238
|
+
${__privateMethod(this, _renderSlotAction, renderSlotAction_fn).call(this)} ${__privateMethod(this, _renderSlotTrail, renderSlotTrail_fn).call(this)}
|
|
239
|
+
</div> --> `;
|
|
228
240
|
};
|
|
229
241
|
_renderSlotLead = new WeakSet();
|
|
230
242
|
renderSlotLead_fn = function() {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.C3ECHGX7.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsFormControlElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VA6TUMR2.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.TYGMNHNO.js";
|
|
@@ -77,7 +77,9 @@ var GdsFilterChips = class extends GdsFormControlElement {
|
|
|
77
77
|
if (clickedChip) {
|
|
78
78
|
if (this.multiple && Array.isArray(this.value)) {
|
|
79
79
|
if (clickedChip.selected) {
|
|
80
|
-
this.value = this.value.filter(
|
|
80
|
+
this.value = this.value.filter(
|
|
81
|
+
(v) => v !== clickedChip.value
|
|
82
|
+
);
|
|
81
83
|
} else {
|
|
82
84
|
this.value = [...this.value, clickedChip.value];
|
|
83
85
|
}
|
|
@@ -96,6 +98,12 @@ var GdsFilterChips = class extends GdsFormControlElement {
|
|
|
96
98
|
__privateAdd(this, _collapseThreshold, 3);
|
|
97
99
|
__privateAdd(this, _collapsedAt, 0);
|
|
98
100
|
}
|
|
101
|
+
get value() {
|
|
102
|
+
return this._internalValue;
|
|
103
|
+
}
|
|
104
|
+
set value(value) {
|
|
105
|
+
this._internalValue = value;
|
|
106
|
+
}
|
|
99
107
|
/**
|
|
100
108
|
* Returns the chips in the control
|
|
101
109
|
* @readonly
|
|
@@ -172,7 +180,7 @@ handleSlotChange_fn = function() {
|
|
|
172
180
|
GdsFilterChips.styles = [styles];
|
|
173
181
|
__decorateClass([
|
|
174
182
|
property({ converter: stringArrayConverter })
|
|
175
|
-
], GdsFilterChips.prototype, "value",
|
|
183
|
+
], GdsFilterChips.prototype, "value", 1);
|
|
176
184
|
__decorateClass([
|
|
177
185
|
property({ type: Boolean })
|
|
178
186
|
], GdsFilterChips.prototype, "multiple", 2);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LVFKJRDS.js";
|
|
4
4
|
import {
|
|
5
5
|
VER_SUFFIX
|
|
6
6
|
} from "./chunk.QK3R23GV.js";
|
|
@@ -2314,23 +2314,24 @@ export {
|
|
|
2314
2314
|
context_menu_trans_styles_default2 as context_menu_trans_styles_default,
|
|
2315
2315
|
register4,
|
|
2316
2316
|
calendar_trans_styles_default2 as calendar_trans_styles_default,
|
|
2317
|
-
|
|
2317
|
+
register5,
|
|
2318
|
+
register7 as register6,
|
|
2318
2319
|
dropdown_trans_styles_default,
|
|
2319
|
-
register8 as
|
|
2320
|
+
register8 as register7,
|
|
2320
2321
|
datepicker_trans_styles_default2 as datepicker_trans_styles_default,
|
|
2321
|
-
register9 as
|
|
2322
|
+
register9 as register8,
|
|
2322
2323
|
filter_chip_trans_styles_default2 as filter_chip_trans_styles_default,
|
|
2323
|
-
register10 as
|
|
2324
|
+
register10 as register9,
|
|
2324
2325
|
filter_chips_trans_styles_default2 as filter_chips_trans_styles_default,
|
|
2325
|
-
register11 as
|
|
2326
|
+
register11 as register10,
|
|
2326
2327
|
grouped_list_trans_styles_default2 as grouped_list_trans_styles_default,
|
|
2327
|
-
register12 as
|
|
2328
|
+
register12 as register11,
|
|
2328
2329
|
input_trans_styles_default,
|
|
2329
|
-
register13 as
|
|
2330
|
+
register13 as register12,
|
|
2330
2331
|
segment_trans_styles_default2 as segment_trans_styles_default,
|
|
2331
|
-
register14 as
|
|
2332
|
+
register14 as register13,
|
|
2332
2333
|
segmented_control_trans_styles_default2 as segmented_control_trans_styles_default,
|
|
2333
|
-
register15 as
|
|
2334
|
+
register15 as register14,
|
|
2334
2335
|
theme_trans_styles_default,
|
|
2335
2336
|
registerTransitionalStyles,
|
|
2336
2337
|
TransitionalStyles
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CIUHRMH7.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.K4KPKUH4.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LVFKJRDS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -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 Fri, 07 Feb 2025 14:34:43 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 Fri, 07 Feb 2025 14:34:43 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 Fri, 07 Feb 2025 14:34:43 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 Fri, 07 Feb 2025 14:34:43 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 Fri, 07 Feb 2025 14:34:43 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 Fri, 07 Feb 2025 14:34:43 GMT
|
|
301
301
|
*/
|
|
302
302
|
|
|
303
303
|
:host {
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.VHN4JEZC.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.IEWLS75F.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.TYGMNHNO.js";
|
|
10
10
|
import {
|
|
11
11
|
tokens
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.LVFKJRDS.js";
|
|
13
13
|
import {
|
|
14
14
|
GdsElement
|
|
15
15
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.K4KPKUH4.js";
|
|
4
4
|
import {
|
|
5
5
|
TransitionalStyles
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.IEWLS75F.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LVFKJRDS.js";
|
|
10
10
|
import {
|
|
11
11
|
GdsElement
|
|
12
12
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsContainer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CIUHRMH7.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
6
|
} from "./chunk.K4KPKUH4.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LVFKJRDS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IEWLS75F.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.TYGMNHNO.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
dark_default,
|
|
9
9
|
light_default,
|
|
10
10
|
tokens
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.LVFKJRDS.js";
|
|
12
12
|
import {
|
|
13
13
|
GdsElement
|
|
14
14
|
} from "./chunk.TMEWQZER.js";
|
package/chunks/chunk.QK3R23GV.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
// libs/core/src/utils/helpers/custom-element-scoping.ts
|
|
7
7
|
import { html as litHtml } from "lit";
|
|
8
8
|
import { customElement } from "lit/decorators.js";
|
|
9
|
-
var VER_SUFFIX = "-
|
|
9
|
+
var VER_SUFFIX = "-fabad4";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.K4KPKUH4.js";
|
|
4
4
|
import {
|
|
5
5
|
forwardAttributes
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.76CTWWTO.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsFormControlElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.VA6TUMR2.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.TYGMNHNO.js";
|
|
13
13
|
import {
|
|
14
14
|
tokens
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.LVFKJRDS.js";
|
|
16
16
|
import {
|
|
17
17
|
gdsCustomElement,
|
|
18
18
|
html
|
|
@@ -351,7 +351,7 @@ renderNativeTextarea_fn = function() {
|
|
|
351
351
|
@change=${__privateGet(this, _handleOnChange)}
|
|
352
352
|
.value=${this.value}
|
|
353
353
|
id="input"
|
|
354
|
-
aria-describedby="supporting-text"
|
|
354
|
+
aria-describedby="supporting-text extended-supporting-text sub-label message"
|
|
355
355
|
placeholder=" "
|
|
356
356
|
${forwardAttributes(__privateGet(this, _forwardableAttrs))}
|
|
357
357
|
></textarea>
|
|
@@ -372,7 +372,7 @@ renderClearButton_fn = function() {
|
|
|
372
372
|
slot="action"
|
|
373
373
|
id="clear-button"
|
|
374
374
|
>
|
|
375
|
-
<gds-icon-cross-
|
|
375
|
+
<gds-icon-cross-large />
|
|
376
376
|
</gds-button>
|
|
377
377
|
`;
|
|
378
378
|
else
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.76CTWWTO.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.VA6TUMR2.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LVFKJRDS.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement,
|
|
12
12
|
html
|
|
@@ -237,7 +237,7 @@ renderNativeInput_fn = function() {
|
|
|
237
237
|
.value=${this.value}
|
|
238
238
|
id="input"
|
|
239
239
|
?disabled=${this.disabled}
|
|
240
|
-
aria-describedby="supporting-text"
|
|
240
|
+
aria-describedby="supporting-text extended-supporting-text sub-label message"
|
|
241
241
|
aria-invalid=${this.invalid}
|
|
242
242
|
placeholder=" "
|
|
243
243
|
${forwardAttributes(__privateGet(this, _forwardableAttrs))}
|
|
@@ -258,7 +258,7 @@ renderClearButton_fn = function() {
|
|
|
258
258
|
id="clear-button"
|
|
259
259
|
slot="action"
|
|
260
260
|
>
|
|
261
|
-
<gds-icon-cross-
|
|
261
|
+
<gds-icon-cross-large />
|
|
262
262
|
</gds-button>`;
|
|
263
263
|
else
|
|
264
264
|
return nothing;
|
|
@@ -76,6 +76,12 @@ var GdsFormControlElement = class extends GdsElement {
|
|
|
76
76
|
get invalid() {
|
|
77
77
|
return !__privateGet(this, _internals).validity.valid;
|
|
78
78
|
}
|
|
79
|
+
get value() {
|
|
80
|
+
return this._internalValue;
|
|
81
|
+
}
|
|
82
|
+
set value(value) {
|
|
83
|
+
this._internalValue = value;
|
|
84
|
+
}
|
|
79
85
|
/**
|
|
80
86
|
* The form element that the form control is associated with.
|
|
81
87
|
*/
|
|
@@ -106,7 +112,8 @@ var GdsFormControlElement = class extends GdsElement {
|
|
|
106
112
|
// @ts-expect-error - setValidity actually takes an element as the third argument, but the type definition is wrong.
|
|
107
113
|
this._getValidityAnchor()
|
|
108
114
|
);
|
|
109
|
-
this.
|
|
115
|
+
if (oldValue !== this.invalid)
|
|
116
|
+
this.requestUpdate();
|
|
110
117
|
return __privateGet(this, _internals).checkValidity();
|
|
111
118
|
}
|
|
112
119
|
reportValidity() {
|
|
@@ -161,7 +168,7 @@ __decorateClass([
|
|
|
161
168
|
], GdsFormControlElement.prototype, "label", 2);
|
|
162
169
|
__decorateClass([
|
|
163
170
|
property()
|
|
164
|
-
], GdsFormControlElement.prototype, "value",
|
|
171
|
+
], GdsFormControlElement.prototype, "value", 1);
|
|
165
172
|
__decorateClass([
|
|
166
173
|
property({ reflect: true })
|
|
167
174
|
], GdsFormControlElement.prototype, "name", 2);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsBadge
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.NPHFPYPG.js";
|
|
4
4
|
import "../../chunks/chunk.3M4XRCEF.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.NVBMHHKJ.js";
|
|
6
6
|
import "../../chunks/chunk.WFKUYHQY.js";
|
|
7
|
-
import "../../chunks/chunk.
|
|
7
|
+
import "../../chunks/chunk.CIUHRMH7.js";
|
|
8
8
|
import "../../chunks/chunk.K4KPKUH4.js";
|
|
9
9
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
10
|
-
import "../../chunks/chunk.
|
|
10
|
+
import "../../chunks/chunk.LVFKJRDS.js";
|
|
11
11
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
12
12
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
13
13
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../../chunks/chunk.CK2UGCPG.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsBadge
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.NPHFPYPG.js";
|
|
5
5
|
import "../../chunks/chunk.3M4XRCEF.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.NVBMHHKJ.js";
|
|
7
7
|
import "../../chunks/chunk.WFKUYHQY.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.CIUHRMH7.js";
|
|
9
9
|
import "../../chunks/chunk.K4KPKUH4.js";
|
|
10
10
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
11
|
+
import "../../chunks/chunk.LVFKJRDS.js";
|
|
12
12
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
13
13
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
14
14
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsButton
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.76CTWWTO.js";
|
|
4
4
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
6
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.5GKJYSBV.js";
|
|
6
|
+
import "../../chunks/chunk.VA6TUMR2.js";
|
|
7
7
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
8
|
-
import "../../chunks/chunk.
|
|
8
|
+
import "../../chunks/chunk.IEWLS75F.js";
|
|
9
9
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
10
10
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
11
|
-
import "../../chunks/chunk.
|
|
11
|
+
import "../../chunks/chunk.LVFKJRDS.js";
|
|
12
12
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
13
13
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
14
14
|
import "../../chunks/chunk.QK3R23GV.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.IEWLS75F.js";
|
|
5
|
+
import "../../chunks/chunk.LVFKJRDS.js";
|
|
6
6
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
7
7
|
import "../../chunks/chunk.QK3R23GV.js";
|
|
8
8
|
import "../../chunks/chunk.B7ZOSVCQ.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../chunks/chunk.JGTSJ4J6.js";
|
|
2
2
|
import {
|
|
3
3
|
GdsButton
|
|
4
|
-
} from "../../chunks/chunk.
|
|
4
|
+
} from "../../chunks/chunk.76CTWWTO.js";
|
|
5
5
|
import "../../chunks/chunk.TX64TTBN.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
7
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.5GKJYSBV.js";
|
|
7
|
+
import "../../chunks/chunk.VA6TUMR2.js";
|
|
8
8
|
import "../../chunks/chunk.WM7HBMMV.js";
|
|
9
|
-
import "../../chunks/chunk.
|
|
9
|
+
import "../../chunks/chunk.IEWLS75F.js";
|
|
10
10
|
import "../../chunks/chunk.TYGMNHNO.js";
|
|
11
11
|
import "../../chunks/chunk.YO24ZYAD.js";
|
|
12
|
-
import "../../chunks/chunk.
|
|
12
|
+
import "../../chunks/chunk.LVFKJRDS.js";
|
|
13
13
|
import "../../chunks/chunk.6QMJ7GQK.js";
|
|
14
14
|
import "../../chunks/chunk.TMEWQZER.js";
|
|
15
15
|
import "../../chunks/chunk.QK3R23GV.js";
|