@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WBBCGR25.js";
|
|
4
4
|
import {
|
|
5
5
|
VER_SUFFIX
|
|
6
6
|
} from "./chunk.QK3R23GV.js";
|
|
@@ -1213,6 +1213,44 @@ Values for light mode are used by default.
|
|
|
1213
1213
|
--gds-sys-color-font: var(--gds-ref-pallet-base800);
|
|
1214
1214
|
--gds-sys-color-base-container: var(--gds-ref-pallet-base500);
|
|
1215
1215
|
--gds-sys-color-focus-outline: var(--gds-ref-pallet-base1000);
|
|
1216
|
+
--gds-sys-color-blue: #41b0ee;
|
|
1217
|
+
--gds-sys-color-dark-blue-1: #41b0ee;
|
|
1218
|
+
--gds-sys-color-dark-blue-2: #007ac7;
|
|
1219
|
+
--gds-sys-color-green: #60cd18;
|
|
1220
|
+
--gds-sys-color-dark-green-1: #45b400;
|
|
1221
|
+
--gds-sys-color-dark-green-2: #308800;
|
|
1222
|
+
--gds-sys-color-yellow: #ffc500;
|
|
1223
|
+
--gds-sys-color-dark-yellow-1: #ffb400;
|
|
1224
|
+
--gds-sys-color-dark-yellow-2: #f8a000;
|
|
1225
|
+
--gds-sys-color-text-primary: #333333;
|
|
1226
|
+
--gds-sys-color-text-secondary: #ababab;
|
|
1227
|
+
--gds-sys-color-text-white: #ffffff;
|
|
1228
|
+
--gds-sys-color-text-black: #333333;
|
|
1229
|
+
--gds-sys-color-text-inverted: #ffffff;
|
|
1230
|
+
--gds-sys-color-text-link: #0062bc;
|
|
1231
|
+
--gds-sys-color-text-error: #9f000a;
|
|
1232
|
+
--gds-sys-color-text-disabled: #adadad;
|
|
1233
|
+
--gds-sys-color-red: #f03529;
|
|
1234
|
+
--gds-sys-color-dark-red-1: #d81a1a;
|
|
1235
|
+
--gds-sys-color-dark-red-2: #bb000c;
|
|
1236
|
+
--gds-sys-color-purple: #673ab6;
|
|
1237
|
+
--gds-sys-color-dark-purple-1: #4f2c99;
|
|
1238
|
+
--gds-sys-color-dark-purple-2: #3f2587;
|
|
1239
|
+
--gds-sys-color-white: #ffffff;
|
|
1240
|
+
--gds-sys-color-black: #000000;
|
|
1241
|
+
--gds-sys-color-background-primary: #ffffff;
|
|
1242
|
+
--gds-sys-color-background-secondary: #eeeeee;
|
|
1243
|
+
--gds-sys-color-base-100: #f8f8f8;
|
|
1244
|
+
--gds-sys-color-base-200: #e9e9e9;
|
|
1245
|
+
--gds-sys-color-base-300: #dedede;
|
|
1246
|
+
--gds-sys-color-base-400: #cecece;
|
|
1247
|
+
--gds-sys-color-base-500: #adadad;
|
|
1248
|
+
--gds-sys-color-base-600: #868686;
|
|
1249
|
+
--gds-sys-color-base-700: #494949;
|
|
1250
|
+
--gds-sys-color-base-800: #333333;
|
|
1251
|
+
--gds-sys-color-base-900: #1a1a1a;
|
|
1252
|
+
--gds-sys-color-hover-10: rgba(255, 255, 255, 0.1);
|
|
1253
|
+
--gds-sys-color-hover-20: rgba(255, 255, 255, 0.2);
|
|
1216
1254
|
--gds-comp-checkbox-container-height: 1rem;
|
|
1217
1255
|
--gds-comp-checkbox-container-width: 1rem;
|
|
1218
1256
|
--gds-comp-checkbox-container-color: var(--gds-sys-color-surface);
|
|
File without changes
|
|
@@ -188,7 +188,7 @@ var GdsDialog = class extends GdsElement {
|
|
|
188
188
|
>
|
|
189
189
|
<gds-flex
|
|
190
190
|
justify-content="space-between"
|
|
191
|
-
border="0 0 4xs
|
|
191
|
+
border-width="0 0 4xs 0"
|
|
192
192
|
margin="0 -s"
|
|
193
193
|
padding="0 s s"
|
|
194
194
|
background-color="secondary"
|
|
@@ -203,14 +203,9 @@ var GdsDialog = class extends GdsElement {
|
|
|
203
203
|
><gds-icon-cross-large></gds-icon-cross-large
|
|
204
204
|
></gds-button>
|
|
205
205
|
</gds-flex>
|
|
206
|
-
<gds-
|
|
207
|
-
id="content"
|
|
208
|
-
padding="m 0"
|
|
209
|
-
overflow="auto"
|
|
210
|
-
flex="1"
|
|
211
|
-
>
|
|
206
|
+
<gds-div id="content" padding="m 0" overflow="auto" flex="1">
|
|
212
207
|
<slot></slot>
|
|
213
|
-
</gds-
|
|
208
|
+
</gds-div>
|
|
214
209
|
<gds-flex
|
|
215
210
|
class="footer"
|
|
216
211
|
justify-content="center"
|
|
@@ -125,12 +125,12 @@ function toCss(selector, property2, tree, valueTemplate = (v) => v, styleTemplat
|
|
|
125
125
|
var styleCache = /* @__PURE__ */ new Map();
|
|
126
126
|
function styleExpressionProperty(options) {
|
|
127
127
|
return (proto, descriptor) => {
|
|
128
|
-
var _a, _b, _c
|
|
128
|
+
var _a, _b, _c;
|
|
129
129
|
const sel = (_a = options == null ? void 0 : options.selector) != null ? _a : String(":host");
|
|
130
130
|
const prop = (_b = options == null ? void 0 : options.property) != null ? _b : String(descriptor);
|
|
131
|
-
const valueTemplate =
|
|
131
|
+
const valueTemplate = options == null ? void 0 : options.valueTemplate;
|
|
132
132
|
const styleTemplate = options == null ? void 0 : options.styleTemplate;
|
|
133
|
-
const cacheKey = (
|
|
133
|
+
const cacheKey = (_c = options == null ? void 0 : options.cacheOverrideKey) != null ? _c : `0`;
|
|
134
134
|
property({ attribute: options == null ? void 0 : options.attribute, noAccessor: true })(
|
|
135
135
|
proto,
|
|
136
136
|
descriptor
|
|
@@ -144,7 +144,7 @@ function styleExpressionProperty(options) {
|
|
|
144
144
|
if (!newValue)
|
|
145
145
|
return;
|
|
146
146
|
this["__" + String(descriptor)] = newValue;
|
|
147
|
-
await this.
|
|
147
|
+
await this.firstUpdated();
|
|
148
148
|
const lvl = (_a2 = this.level) != null ? _a2 : "0";
|
|
149
149
|
const styleKey = sel + prop + newValue + lvl + cacheKey;
|
|
150
150
|
if (styleCache.has(styleKey)) {
|
|
@@ -160,7 +160,7 @@ function styleExpressionProperty(options) {
|
|
|
160
160
|
sel,
|
|
161
161
|
prop,
|
|
162
162
|
ast,
|
|
163
|
-
valueTemplate.bind(this),
|
|
163
|
+
valueTemplate == null ? void 0 : valueTemplate.bind(this),
|
|
164
164
|
styleTemplate == null ? void 0 : styleTemplate.bind(this)
|
|
165
165
|
);
|
|
166
166
|
const style = unsafeCSS(css);
|
|
@@ -5,15 +5,20 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
GdsFormControlElement
|
|
7
7
|
} from "./chunk.VA6TUMR2.js";
|
|
8
|
+
import {
|
|
9
|
+
withLayoutChildProps,
|
|
10
|
+
withMarginProps,
|
|
11
|
+
withSizeXProps
|
|
12
|
+
} from "./chunk.G2WTHFPE.js";
|
|
8
13
|
import {
|
|
9
14
|
TransitionalStyles
|
|
10
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.LNQWCKU7.js";
|
|
11
16
|
import {
|
|
12
17
|
watch
|
|
13
18
|
} from "./chunk.TYGMNHNO.js";
|
|
14
19
|
import {
|
|
15
20
|
tokens
|
|
16
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.WBBCGR25.js";
|
|
17
22
|
import {
|
|
18
23
|
gdsCustomElement,
|
|
19
24
|
html
|
|
@@ -92,7 +97,7 @@ var styles = css`
|
|
|
92
97
|
|
|
93
98
|
// libs/core/src/components/datepicker/datepicker.ts
|
|
94
99
|
var _valueOnOpen, _renderBackToValidRangeButton, renderBackToValidRangeButton_fn, _focusDate, focusDate_fn, _getSpinnerLabel, getSpinnerLabel_fn, _getMinSpinnerValue, getMinSpinnerValue_fn, _getMaxSpinnerValue, getMaxSpinnerValue_fn, _dispatchChangeEvent, dispatchChangeEvent_fn, _dispatchInputEvent, dispatchInputEvent_fn, _handleFieldFocusOut, _handleSpinnerFocus, _handleClipboardCopy, _handleClipboardPaste, _handleFieldClick, _handleCalendarChange, _handleMonthChange, _handleYearChange, _handleIncrementFocusedMonth, _handleDecrementFocusedMonth, _handleCalendarFocusChange, _handlePopoverStateChange, _handleSpinnerKeydown, _parseDateFormat, parseDateFormat_fn, _handleSpinnerChange, _spinnerState, _years, years_get, _isValueOutsideRange, isValueOutsideRange_get;
|
|
95
|
-
var
|
|
100
|
+
var Datepicker = class extends GdsFormControlElement {
|
|
96
101
|
constructor() {
|
|
97
102
|
super(...arguments);
|
|
98
103
|
__privateAdd(this, _renderBackToValidRangeButton);
|
|
@@ -713,76 +718,82 @@ isValueOutsideRange_get = function() {
|
|
|
713
718
|
return false;
|
|
714
719
|
return this.value.getFullYear() < this.min.getFullYear() || this.value.getFullYear() > this.max.getFullYear();
|
|
715
720
|
};
|
|
716
|
-
|
|
721
|
+
Datepicker.styles = [tokens, styles];
|
|
717
722
|
__decorateClass([
|
|
718
723
|
property({ converter: dateConverter })
|
|
719
|
-
],
|
|
724
|
+
], Datepicker.prototype, "value", 1);
|
|
720
725
|
__decorateClass([
|
|
721
726
|
property({ converter: dateConverter })
|
|
722
|
-
],
|
|
727
|
+
], Datepicker.prototype, "min", 2);
|
|
723
728
|
__decorateClass([
|
|
724
729
|
property({ converter: dateConverter })
|
|
725
|
-
],
|
|
730
|
+
], Datepicker.prototype, "max", 2);
|
|
726
731
|
__decorateClass([
|
|
727
732
|
property({ type: Boolean })
|
|
728
|
-
],
|
|
733
|
+
], Datepicker.prototype, "open", 2);
|
|
729
734
|
__decorateClass([
|
|
730
735
|
property({ attribute: "supporting-text" })
|
|
731
|
-
],
|
|
736
|
+
], Datepicker.prototype, "supportingText", 2);
|
|
732
737
|
__decorateClass([
|
|
733
738
|
property({ type: String })
|
|
734
|
-
],
|
|
739
|
+
], Datepicker.prototype, "size", 2);
|
|
735
740
|
__decorateClass([
|
|
736
741
|
property({ type: Boolean, attribute: "show-week-numbers" })
|
|
737
|
-
],
|
|
742
|
+
], Datepicker.prototype, "showWeekNumbers", 2);
|
|
738
743
|
__decorateClass([
|
|
739
744
|
property({ type: Boolean, attribute: "hide-label" })
|
|
740
|
-
],
|
|
745
|
+
], Datepicker.prototype, "hideLabel", 2);
|
|
741
746
|
__decorateClass([
|
|
742
747
|
property()
|
|
743
|
-
],
|
|
748
|
+
], Datepicker.prototype, "dateformat", 1);
|
|
744
749
|
__decorateClass([
|
|
745
750
|
property({ type: Boolean, attribute: "disabled-weekends" })
|
|
746
|
-
],
|
|
751
|
+
], Datepicker.prototype, "disabledWeekends", 2);
|
|
747
752
|
__decorateClass([
|
|
748
753
|
property({ converter: dateArrayConverter, attribute: "disabled-dates" })
|
|
749
|
-
],
|
|
754
|
+
], Datepicker.prototype, "disabledDates", 2);
|
|
750
755
|
__decorateClass([
|
|
751
756
|
queryAsync("#calendar-button")
|
|
752
|
-
],
|
|
757
|
+
], Datepicker.prototype, "test_calendarButton", 2);
|
|
753
758
|
__decorateClass([
|
|
754
759
|
state()
|
|
755
|
-
],
|
|
760
|
+
], Datepicker.prototype, "_focusedMonth", 2);
|
|
756
761
|
__decorateClass([
|
|
757
762
|
state()
|
|
758
|
-
],
|
|
763
|
+
], Datepicker.prototype, "_focusedYear", 2);
|
|
759
764
|
__decorateClass([
|
|
760
765
|
state()
|
|
761
|
-
],
|
|
766
|
+
], Datepicker.prototype, "_dateFormatLayout", 2);
|
|
762
767
|
__decorateClass([
|
|
763
768
|
queryAsync("#calendar")
|
|
764
|
-
],
|
|
769
|
+
], Datepicker.prototype, "_elCalendar", 2);
|
|
765
770
|
__decorateClass([
|
|
766
771
|
queryAsync("#calendar-button")
|
|
767
|
-
],
|
|
772
|
+
], Datepicker.prototype, "_elTrigger", 2);
|
|
768
773
|
__decorateClass([
|
|
769
774
|
queryAsync("#field")
|
|
770
|
-
],
|
|
775
|
+
], Datepicker.prototype, "_elFieldAsync", 2);
|
|
771
776
|
__decorateClass([
|
|
772
777
|
queryAll("[role=spinbutton]")
|
|
773
|
-
],
|
|
778
|
+
], Datepicker.prototype, "_elSpinners", 2);
|
|
774
779
|
__decorateClass([
|
|
775
780
|
query("#field")
|
|
776
|
-
],
|
|
781
|
+
], Datepicker.prototype, "_elField", 2);
|
|
777
782
|
__decorateClass([
|
|
778
783
|
watch("value")
|
|
779
|
-
],
|
|
784
|
+
], Datepicker.prototype, "_handleValueChange", 1);
|
|
780
785
|
__decorateClass([
|
|
781
786
|
watch("open")
|
|
782
|
-
],
|
|
783
|
-
|
|
784
|
-
gdsCustomElement("gds-datepicker"),
|
|
787
|
+
], Datepicker.prototype, "_handleOpenChange", 1);
|
|
788
|
+
Datepicker = __decorateClass([
|
|
785
789
|
localized()
|
|
790
|
+
], Datepicker);
|
|
791
|
+
var GdsDatepicker = class extends withSizeXProps(
|
|
792
|
+
withMarginProps(withLayoutChildProps(Datepicker))
|
|
793
|
+
) {
|
|
794
|
+
};
|
|
795
|
+
GdsDatepicker = __decorateClass([
|
|
796
|
+
gdsCustomElement("gds-datepicker")
|
|
786
797
|
], GdsDatepicker);
|
|
787
798
|
|
|
788
799
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GdsFlex
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UGHZGD2M.js";
|
|
4
4
|
import {
|
|
5
5
|
styleExpressionProperty
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.NUUST5OZ.js";
|
|
7
7
|
import {
|
|
8
8
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.WBBCGR25.js";
|
|
10
10
|
import {
|
|
11
11
|
gdsCustomElement
|
|
12
12
|
} from "./chunk.QK3R23GV.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
styleExpressionProperty
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NUUST5OZ.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.WBBCGR25.js";
|
|
7
7
|
import {
|
|
8
8
|
GdsElement
|
|
9
9
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -18,14 +18,13 @@ import {
|
|
|
18
18
|
// libs/core/src/components/spacer/spacer.ts
|
|
19
19
|
var GdsSpacer = class extends GdsElement {
|
|
20
20
|
render() {
|
|
21
|
-
return html
|
|
21
|
+
return html``;
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
GdsSpacer.styles = [tokens];
|
|
25
25
|
__decorateClass([
|
|
26
26
|
styleExpressionProperty({
|
|
27
27
|
property: "height",
|
|
28
|
-
selector: "div",
|
|
29
28
|
valueTemplate: (v) => `var(--gds-space-${v})`
|
|
30
29
|
})
|
|
31
30
|
], GdsSpacer.prototype, "size", 2);
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withLayoutChildProps,
|
|
3
|
+
withMarginProps,
|
|
4
|
+
withSizeXProps
|
|
5
|
+
} from "./chunk.G2WTHFPE.js";
|
|
1
6
|
import {
|
|
2
7
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.WBBCGR25.js";
|
|
4
9
|
import {
|
|
5
10
|
GdsElement
|
|
6
11
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -40,7 +45,9 @@ var badge_style_default = style;
|
|
|
40
45
|
|
|
41
46
|
// libs/core/src/components/badge/badge.ts
|
|
42
47
|
var _renderLeadSlot, renderLeadSlot_fn, _renderMainSlot, renderMainSlot_fn, _handleSlotChange, handleSlotChange_fn, _renderTrailSlot, renderTrailSlot_fn;
|
|
43
|
-
var GdsBadge = class extends
|
|
48
|
+
var GdsBadge = class extends withSizeXProps(
|
|
49
|
+
withMarginProps(withLayoutChildProps(GdsElement))
|
|
50
|
+
) {
|
|
44
51
|
constructor() {
|
|
45
52
|
super();
|
|
46
53
|
__privateAdd(this, _renderLeadSlot);
|
|
@@ -69,7 +76,7 @@ var GdsBadge = class extends GdsElement {
|
|
|
69
76
|
padding-inline="${padding}"
|
|
70
77
|
border-radius="${this.notification || this.rounded ? "max" : "2xs"}"
|
|
71
78
|
block-size="${blockSize}"
|
|
72
|
-
width="
|
|
79
|
+
width="100%"
|
|
73
80
|
font-size="${this.size === "small" || this.notification ? "detail-xs" : "detail-s"}"
|
|
74
81
|
pointer-events=${this.disabled ? "none" : "auto"}
|
|
75
82
|
user-select="${this.disabled ? "none" : "auto"}"
|
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 = "-f25474";
|
|
10
10
|
var ScopedElementRegistry = class {
|
|
11
11
|
static get instance() {
|
|
12
12
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
styleExpressionProperty
|
|
3
|
-
} from "./chunk.K4KPKUH4.js";
|
|
4
1
|
import {
|
|
5
2
|
GdsButton
|
|
6
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B3QCLV6X.js";
|
|
4
|
+
import {
|
|
5
|
+
withPositioningProps
|
|
6
|
+
} from "./chunk.G2WTHFPE.js";
|
|
7
7
|
import {
|
|
8
8
|
gdsCustomElement
|
|
9
9
|
} from "./chunk.QK3R23GV.js";
|
|
@@ -29,27 +29,12 @@ var style = css`
|
|
|
29
29
|
var fab_styles_default = style;
|
|
30
30
|
|
|
31
31
|
// libs/core/src/components/fab/fab.ts
|
|
32
|
-
var GdsFab = class extends GdsButton {
|
|
32
|
+
var GdsFab = class extends withPositioningProps(GdsButton) {
|
|
33
33
|
connectedCallback() {
|
|
34
34
|
super.connectedCallback();
|
|
35
35
|
this._dynamicStylesController.inject("FAB_styles", fab_styles_default);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
-
__decorateClass([
|
|
39
|
-
styleExpressionProperty({
|
|
40
|
-
valueTemplate: (v) => v
|
|
41
|
-
})
|
|
42
|
-
], GdsFab.prototype, "position", 2);
|
|
43
|
-
__decorateClass([
|
|
44
|
-
styleExpressionProperty({
|
|
45
|
-
valueTemplate: (v) => v
|
|
46
|
-
})
|
|
47
|
-
], GdsFab.prototype, "transform", 2);
|
|
48
|
-
__decorateClass([
|
|
49
|
-
styleExpressionProperty({
|
|
50
|
-
valueTemplate: (v) => v
|
|
51
|
-
})
|
|
52
|
-
], GdsFab.prototype, "inset", 2);
|
|
53
38
|
GdsFab = __decorateClass([
|
|
54
39
|
gdsCustomElement("gds-fab")
|
|
55
40
|
], GdsFab);
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withLayoutChildProps,
|
|
3
|
+
withMarginProps,
|
|
4
|
+
withSizeXProps
|
|
5
|
+
} from "./chunk.G2WTHFPE.js";
|
|
1
6
|
import {
|
|
2
7
|
styleExpressionProperty
|
|
3
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.NUUST5OZ.js";
|
|
4
9
|
import {
|
|
5
10
|
tokens
|
|
6
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.WBBCGR25.js";
|
|
7
12
|
import {
|
|
8
13
|
GdsElement
|
|
9
14
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -61,7 +66,9 @@ var link_styles_default = style;
|
|
|
61
66
|
|
|
62
67
|
// libs/core/src/components/link/link.ts
|
|
63
68
|
var _defaultRel, defaultRel_get;
|
|
64
|
-
var GdsLink = class extends
|
|
69
|
+
var GdsLink = class extends withMarginProps(
|
|
70
|
+
withSizeXProps(withLayoutChildProps(GdsElement))
|
|
71
|
+
) {
|
|
65
72
|
constructor() {
|
|
66
73
|
super();
|
|
67
74
|
__privateAdd(this, _defaultRel);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LNQWCKU7.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
6
|
} from "./chunk.TYGMNHNO.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";
|
|
@@ -82,7 +82,7 @@ var style = css`
|
|
|
82
82
|
border-style: solid;
|
|
83
83
|
border-color: transparent;
|
|
84
84
|
border-radius: var(--gds-space-2xs);
|
|
85
|
-
transition:
|
|
85
|
+
transition: background 0.2s;
|
|
86
86
|
outline-style: solid;
|
|
87
87
|
outline-color: transparent;
|
|
88
88
|
outline-width: 0px;
|
|
@@ -109,7 +109,8 @@ var style = css`
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
&:focus-visible {
|
|
112
|
-
outline-color: color-
|
|
112
|
+
outline-color: var(--gds-color-l2-content-primary);
|
|
113
|
+
outline-width: var(--gds-space-3xs);
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withLayoutChildProps,
|
|
3
|
+
withMarginProps
|
|
4
|
+
} from "./chunk.G2WTHFPE.js";
|
|
1
5
|
import {
|
|
2
6
|
TransitionalStyles
|
|
3
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.LNQWCKU7.js";
|
|
4
8
|
import {
|
|
5
9
|
GdsElement
|
|
6
10
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -25,6 +29,9 @@ import { css } from "lit";
|
|
|
25
29
|
var style = css`
|
|
26
30
|
@layer base, reset, transitional-styles;
|
|
27
31
|
@layer base {
|
|
32
|
+
:host {
|
|
33
|
+
display: inline-block;
|
|
34
|
+
}
|
|
28
35
|
button {
|
|
29
36
|
display: flex;
|
|
30
37
|
border-width: 0;
|
|
@@ -46,7 +53,9 @@ var context_menu_styles_default = style;
|
|
|
46
53
|
|
|
47
54
|
// libs/core/src/components/context-menu/context-menu.ts
|
|
48
55
|
var _handleItemClick, handleItemClick_fn;
|
|
49
|
-
var GdsContextMenu = class extends
|
|
56
|
+
var GdsContextMenu = class extends withMarginProps(
|
|
57
|
+
withLayoutChildProps(GdsElement)
|
|
58
|
+
) {
|
|
50
59
|
constructor() {
|
|
51
60
|
super();
|
|
52
61
|
__privateAdd(this, _handleItemClick);
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forwardAttributes
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B3QCLV6X.js";
|
|
4
4
|
import {
|
|
5
5
|
GdsFormControlElement
|
|
6
6
|
} from "./chunk.VA6TUMR2.js";
|
|
7
|
+
import {
|
|
8
|
+
withLayoutChildProps,
|
|
9
|
+
withMarginProps,
|
|
10
|
+
withSizeXProps
|
|
11
|
+
} from "./chunk.G2WTHFPE.js";
|
|
7
12
|
import {
|
|
8
13
|
tokens
|
|
9
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.WBBCGR25.js";
|
|
10
15
|
import {
|
|
11
16
|
gdsCustomElement,
|
|
12
17
|
html
|
|
@@ -90,7 +95,7 @@ var styles = css`
|
|
|
90
95
|
|
|
91
96
|
// libs/core/src/components/input/input.ts
|
|
92
97
|
var _renderDefault, renderDefault_fn, _renderFloatingLabel, renderFloatingLabel_fn, _forwardableAttrs, _handleOnInput, _handleOnChange, _handleFieldClick, _handleClearBtnClick, _renderFieldContents, renderFieldContents_fn, _renderSlotLead, renderSlotLead_fn, _renderSlotTrail, renderSlotTrail_fn, _renderNativeInput, renderNativeInput_fn, _renderClearButton, renderClearButton_fn, _shouldShowRemainingChars, shouldShowRemainingChars_get;
|
|
93
|
-
var
|
|
98
|
+
var Input = class extends GdsFormControlElement {
|
|
94
99
|
constructor() {
|
|
95
100
|
super();
|
|
96
101
|
__privateAdd(this, _renderDefault);
|
|
@@ -267,38 +272,44 @@ _shouldShowRemainingChars = new WeakSet();
|
|
|
267
272
|
shouldShowRemainingChars_get = function() {
|
|
268
273
|
return this.maxlength < Number.MAX_SAFE_INTEGER;
|
|
269
274
|
};
|
|
270
|
-
|
|
275
|
+
Input.styles = [tokens, styles];
|
|
271
276
|
__decorateClass([
|
|
272
277
|
property({ attribute: "supporting-text" })
|
|
273
|
-
],
|
|
278
|
+
], Input.prototype, "supportingText", 2);
|
|
274
279
|
__decorateClass([
|
|
275
280
|
property({
|
|
276
281
|
attribute: "show-extended-supporting-text",
|
|
277
282
|
type: Boolean,
|
|
278
283
|
reflect: true
|
|
279
284
|
})
|
|
280
|
-
],
|
|
285
|
+
], Input.prototype, "showExtendedSupportingText", 2);
|
|
281
286
|
__decorateClass([
|
|
282
287
|
property({ type: Boolean })
|
|
283
|
-
],
|
|
288
|
+
], Input.prototype, "clearable", 2);
|
|
284
289
|
__decorateClass([
|
|
285
290
|
property({ type: Number })
|
|
286
|
-
],
|
|
291
|
+
], Input.prototype, "maxlength", 2);
|
|
287
292
|
__decorateClass([
|
|
288
293
|
property({ type: String })
|
|
289
|
-
],
|
|
294
|
+
], Input.prototype, "variant", 2);
|
|
290
295
|
__decorateClass([
|
|
291
296
|
property({ type: String })
|
|
292
|
-
],
|
|
297
|
+
], Input.prototype, "size", 2);
|
|
293
298
|
__decorateClass([
|
|
294
299
|
queryAsync("input")
|
|
295
|
-
],
|
|
300
|
+
], Input.prototype, "elInputAsync", 2);
|
|
296
301
|
__decorateClass([
|
|
297
302
|
query("input")
|
|
298
|
-
],
|
|
299
|
-
|
|
300
|
-
gdsCustomElement("gds-input"),
|
|
303
|
+
], Input.prototype, "elInput", 2);
|
|
304
|
+
Input = __decorateClass([
|
|
301
305
|
localized()
|
|
306
|
+
], Input);
|
|
307
|
+
var GdsInput = class extends withSizeXProps(
|
|
308
|
+
withMarginProps(withLayoutChildProps(Input))
|
|
309
|
+
) {
|
|
310
|
+
};
|
|
311
|
+
GdsInput = __decorateClass([
|
|
312
|
+
gdsCustomElement("gds-input")
|
|
302
313
|
], GdsInput);
|
|
303
314
|
|
|
304
315
|
export {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GdsDiv
|
|
3
|
+
} from "./chunk.C6D7M75U.js";
|
|
4
|
+
import {
|
|
5
|
+
tokens
|
|
6
|
+
} from "./chunk.WBBCGR25.js";
|
|
7
|
+
import {
|
|
8
|
+
gdsCustomElement,
|
|
9
|
+
html
|
|
10
|
+
} from "./chunk.QK3R23GV.js";
|
|
11
|
+
import {
|
|
12
|
+
__decorateClass
|
|
13
|
+
} from "./chunk.SEHSDSX2.js";
|
|
14
|
+
|
|
15
|
+
// libs/core/src/components/flex/flex.styles.ts
|
|
16
|
+
import { css } from "lit";
|
|
17
|
+
var style = css`
|
|
18
|
+
:host {
|
|
19
|
+
display: flex;
|
|
20
|
+
box-sizing: border-box;
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
var flex_styles_default = style;
|
|
24
|
+
|
|
25
|
+
// libs/core/src/components/flex/flex.ts
|
|
26
|
+
var GdsFlex = class extends GdsDiv {
|
|
27
|
+
render() {
|
|
28
|
+
return html`<slot></slot>`;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
GdsFlex.styles = [tokens, flex_styles_default];
|
|
32
|
+
GdsFlex = __decorateClass([
|
|
33
|
+
gdsCustomElement("gds-flex")
|
|
34
|
+
], GdsFlex);
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
GdsFlex
|
|
38
|
+
};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
withLayoutChildProps,
|
|
3
|
+
withSizeXProps
|
|
4
|
+
} from "./chunk.G2WTHFPE.js";
|
|
1
5
|
import {
|
|
2
6
|
tokens
|
|
3
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.WBBCGR25.js";
|
|
4
8
|
import {
|
|
5
9
|
GdsElement
|
|
6
10
|
} from "./chunk.TMEWQZER.js";
|
|
@@ -158,7 +162,9 @@ var menu_button_styles_default = style;
|
|
|
158
162
|
|
|
159
163
|
// libs/core/src/components/menu-button/menu-button.ts
|
|
160
164
|
var _isLink, isLink_get, _defaultRel, defaultRel_get;
|
|
161
|
-
var GdsMenuButton = class extends
|
|
165
|
+
var GdsMenuButton = class extends withSizeXProps(
|
|
166
|
+
withLayoutChildProps(GdsElement)
|
|
167
|
+
) {
|
|
162
168
|
constructor() {
|
|
163
169
|
super();
|
|
164
170
|
__privateAdd(this, _isLink);
|