@everymatrix/general-registration 1.21.12 → 1.21.13
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/dist/cjs/checkbox-group-input_13.cjs.entry.js +2160 -52
- package/dist/components/active-mixin.js +1 -1
- package/dist/components/checkbox-group-input2.js +13 -7
- package/dist/components/date-input2.js +1 -1
- package/dist/components/field-mixin.js +3 -3
- package/dist/components/input-field-shared-styles.js +431 -1
- package/dist/components/password-input2.js +880 -5
- package/dist/components/vaadin-button.js +464 -1
- package/dist/components/vaadin-combo-box.js +343 -9
- package/dist/components/virtual-keyboard-controller.js +1 -1
- package/dist/esm/checkbox-group-input_13.entry.js +2160 -52
- package/dist/general-registration/general-registration.esm.js +1 -1
- package/dist/general-registration/{p-59cdc741.entry.js → p-1ddb70a7.entry.js} +3399 -1625
- package/package.json +1 -1
|
@@ -107,17 +107,17 @@ function defineCustomElement(CustomElement) {
|
|
|
107
107
|
*
|
|
108
108
|
* @private
|
|
109
109
|
*/
|
|
110
|
-
class Lumo extends HTMLElement {
|
|
110
|
+
class Lumo$4 extends HTMLElement {
|
|
111
111
|
static get is() {
|
|
112
112
|
return 'vaadin-lumo-styles';
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
static get version() {
|
|
116
|
-
return '24.2.
|
|
116
|
+
return '24.2.4';
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
defineCustomElement(Lumo);
|
|
120
|
+
defineCustomElement(Lumo$4);
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* @license
|
|
@@ -461,7 +461,7 @@ const addGlobalThemeStyles = (id, ...styles) => {
|
|
|
461
461
|
document.head.insertAdjacentElement('afterbegin', styleTag);
|
|
462
462
|
};
|
|
463
463
|
|
|
464
|
-
const addLumoGlobalStyles = (id, ...styles) => {
|
|
464
|
+
const addLumoGlobalStyles$4 = (id, ...styles) => {
|
|
465
465
|
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
466
466
|
};
|
|
467
467
|
|
|
@@ -471,7 +471,7 @@ const addLumoGlobalStyles = (id, ...styles) => {
|
|
|
471
471
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
472
472
|
*/
|
|
473
473
|
|
|
474
|
-
const colorBase = i$1`
|
|
474
|
+
const colorBase$3 = i$1`
|
|
475
475
|
:host {
|
|
476
476
|
/* Base (background) */
|
|
477
477
|
--lumo-base-color: #fff;
|
|
@@ -558,9 +558,9 @@ const colorBase = i$1`
|
|
|
558
558
|
}
|
|
559
559
|
`;
|
|
560
560
|
|
|
561
|
-
addLumoGlobalStyles('color-props', colorBase);
|
|
561
|
+
addLumoGlobalStyles$4('color-props', colorBase$3);
|
|
562
562
|
|
|
563
|
-
const color = i$1`
|
|
563
|
+
const color$3 = i$1`
|
|
564
564
|
[theme~='dark'] {
|
|
565
565
|
/* Base (background) */
|
|
566
566
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -677,7 +677,7 @@ const color = i$1`
|
|
|
677
677
|
}
|
|
678
678
|
`;
|
|
679
679
|
|
|
680
|
-
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
680
|
+
registerStyles('', color$3, { moduleId: 'lumo-color' });
|
|
681
681
|
|
|
682
682
|
/**
|
|
683
683
|
* @license
|
|
@@ -685,7 +685,7 @@ registerStyles('', color, { moduleId: 'lumo-color' });
|
|
|
685
685
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
686
686
|
*/
|
|
687
687
|
|
|
688
|
-
const fontIcons = i$1`
|
|
688
|
+
const fontIcons$2 = i$1`
|
|
689
689
|
@font-face {
|
|
690
690
|
font-family: 'lumo-icons';
|
|
691
691
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4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vARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -740,7 +740,7 @@ const fontIcons = i$1`
|
|
|
740
740
|
}
|
|
741
741
|
`;
|
|
742
742
|
|
|
743
|
-
addLumoGlobalStyles('font-icons', fontIcons);
|
|
743
|
+
addLumoGlobalStyles$4('font-icons', fontIcons$2);
|
|
744
744
|
|
|
745
745
|
/**
|
|
746
746
|
* @license
|
|
@@ -748,7 +748,7 @@ addLumoGlobalStyles('font-icons', fontIcons);
|
|
|
748
748
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
749
749
|
*/
|
|
750
750
|
|
|
751
|
-
const sizing = i$1`
|
|
751
|
+
const sizing$4 = i$1`
|
|
752
752
|
:host {
|
|
753
753
|
--lumo-size-xs: 1.625rem;
|
|
754
754
|
--lumo-size-s: 1.875rem;
|
|
@@ -765,7 +765,7 @@ const sizing = i$1`
|
|
|
765
765
|
}
|
|
766
766
|
`;
|
|
767
767
|
|
|
768
|
-
addLumoGlobalStyles('sizing-props', sizing);
|
|
768
|
+
addLumoGlobalStyles$4('sizing-props', sizing$4);
|
|
769
769
|
|
|
770
770
|
/**
|
|
771
771
|
* @license
|
|
@@ -773,7 +773,7 @@ addLumoGlobalStyles('sizing-props', sizing);
|
|
|
773
773
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
774
774
|
*/
|
|
775
775
|
|
|
776
|
-
const spacing = i$1`
|
|
776
|
+
const spacing$3 = i$1`
|
|
777
777
|
:host {
|
|
778
778
|
/* Square */
|
|
779
779
|
--lumo-space-xs: 0.25rem;
|
|
@@ -798,7 +798,7 @@ const spacing = i$1`
|
|
|
798
798
|
}
|
|
799
799
|
`;
|
|
800
800
|
|
|
801
|
-
addLumoGlobalStyles('spacing-props', spacing);
|
|
801
|
+
addLumoGlobalStyles$4('spacing-props', spacing$3);
|
|
802
802
|
|
|
803
803
|
/**
|
|
804
804
|
* @license
|
|
@@ -806,7 +806,7 @@ addLumoGlobalStyles('spacing-props', spacing);
|
|
|
806
806
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
807
807
|
*/
|
|
808
808
|
|
|
809
|
-
const style = i$1`
|
|
809
|
+
const style$4 = i$1`
|
|
810
810
|
:host {
|
|
811
811
|
/* Border radius */
|
|
812
812
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -836,7 +836,7 @@ i$1`
|
|
|
836
836
|
}
|
|
837
837
|
`;
|
|
838
838
|
|
|
839
|
-
addLumoGlobalStyles('style-props', style);
|
|
839
|
+
addLumoGlobalStyles$4('style-props', style$4);
|
|
840
840
|
|
|
841
841
|
/**
|
|
842
842
|
* @license
|
|
@@ -844,7 +844,7 @@ addLumoGlobalStyles('style-props', style);
|
|
|
844
844
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
845
845
|
*/
|
|
846
846
|
|
|
847
|
-
const font = i$1`
|
|
847
|
+
const font$4 = i$1`
|
|
848
848
|
:host {
|
|
849
849
|
/* prettier-ignore */
|
|
850
850
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -866,7 +866,7 @@ const font = i$1`
|
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
868
|
|
|
869
|
-
const typography = i$1`
|
|
869
|
+
const typography$4 = i$1`
|
|
870
870
|
body,
|
|
871
871
|
:host {
|
|
872
872
|
font-family: var(--lumo-font-family);
|
|
@@ -960,8 +960,8 @@ const typography = i$1`
|
|
|
960
960
|
}
|
|
961
961
|
`;
|
|
962
962
|
|
|
963
|
-
registerStyles('', typography, { moduleId: 'lumo-typography' });
|
|
964
|
-
addLumoGlobalStyles('typography-props', font);
|
|
963
|
+
registerStyles('', typography$4, { moduleId: 'lumo-typography' });
|
|
964
|
+
addLumoGlobalStyles$4('typography-props', font$4);
|
|
965
965
|
|
|
966
966
|
registerStyles(
|
|
967
967
|
'vaadin-checkbox',
|
|
@@ -9298,7 +9298,7 @@ const registered = new Set();
|
|
|
9298
9298
|
const ElementMixin = (superClass) =>
|
|
9299
9299
|
class VaadinElementMixin extends DirMixin(superClass) {
|
|
9300
9300
|
static get version() {
|
|
9301
|
-
return '24.2.
|
|
9301
|
+
return '24.2.5';
|
|
9302
9302
|
}
|
|
9303
9303
|
|
|
9304
9304
|
/** @protected */
|
|
@@ -12188,12 +12188,6 @@ const CheckedMixin = dedupingMixin(
|
|
|
12188
12188
|
const input = event.target;
|
|
12189
12189
|
|
|
12190
12190
|
this._toggleChecked(input.checked);
|
|
12191
|
-
|
|
12192
|
-
// Clicking the checkbox or radio-button in Safari
|
|
12193
|
-
// does not make it focused, so we do it manually.
|
|
12194
|
-
if (!isElementFocused(input)) {
|
|
12195
|
-
input.focus();
|
|
12196
|
-
}
|
|
12197
12191
|
}
|
|
12198
12192
|
|
|
12199
12193
|
/** @protected */
|
|
@@ -12737,6 +12731,18 @@ const CheckboxMixin = (superclass) =>
|
|
|
12737
12731
|
type: String,
|
|
12738
12732
|
value: '',
|
|
12739
12733
|
},
|
|
12734
|
+
|
|
12735
|
+
/**
|
|
12736
|
+
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
12737
|
+
*
|
|
12738
|
+
* @override
|
|
12739
|
+
* @protected
|
|
12740
|
+
*/
|
|
12741
|
+
tabindex: {
|
|
12742
|
+
type: Number,
|
|
12743
|
+
value: 0,
|
|
12744
|
+
reflectToAttribute: true,
|
|
12745
|
+
},
|
|
12740
12746
|
};
|
|
12741
12747
|
}
|
|
12742
12748
|
|
|
@@ -12975,7 +12981,7 @@ defineCustomElement(Checkbox);
|
|
|
12975
12981
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12976
12982
|
*/
|
|
12977
12983
|
|
|
12978
|
-
const helper = i$1`
|
|
12984
|
+
const helper$1 = i$1`
|
|
12979
12985
|
:host([has-helper]) [part='helper-text']::before {
|
|
12980
12986
|
content: '';
|
|
12981
12987
|
display: block;
|
|
@@ -13034,7 +13040,7 @@ const helper = i$1`
|
|
|
13034
13040
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13035
13041
|
*/
|
|
13036
13042
|
|
|
13037
|
-
const requiredField = i$1`
|
|
13043
|
+
const requiredField$1 = i$1`
|
|
13038
13044
|
[part='label'] {
|
|
13039
13045
|
align-self: flex-start;
|
|
13040
13046
|
color: var(--lumo-secondary-text-color);
|
|
@@ -13132,7 +13138,7 @@ const requiredField = i$1`
|
|
|
13132
13138
|
}
|
|
13133
13139
|
`;
|
|
13134
13140
|
|
|
13135
|
-
registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
13141
|
+
registerStyles('', requiredField$1, { moduleId: 'lumo-required-field' });
|
|
13136
13142
|
|
|
13137
13143
|
const checkboxGroup = i$1`
|
|
13138
13144
|
:host {
|
|
@@ -13179,7 +13185,7 @@ const checkboxGroup = i$1`
|
|
|
13179
13185
|
}
|
|
13180
13186
|
`;
|
|
13181
13187
|
|
|
13182
|
-
registerStyles('vaadin-checkbox-group', [requiredField, helper, checkboxGroup], {
|
|
13188
|
+
registerStyles('vaadin-checkbox-group', [requiredField$1, helper$1, checkboxGroup], {
|
|
13183
13189
|
moduleId: 'lumo-checkbox-group',
|
|
13184
13190
|
});
|
|
13185
13191
|
|
|
@@ -14601,6 +14607,436 @@ const CheckboxInput = class {
|
|
|
14601
14607
|
};
|
|
14602
14608
|
CheckboxInput.style = checkboxInputCss;
|
|
14603
14609
|
|
|
14610
|
+
/**
|
|
14611
|
+
* @license
|
|
14612
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
14613
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14614
|
+
*/
|
|
14615
|
+
|
|
14616
|
+
/**
|
|
14617
|
+
* Dummy custom element used for collecting
|
|
14618
|
+
* development time usage statistics.
|
|
14619
|
+
*
|
|
14620
|
+
* @private
|
|
14621
|
+
*/
|
|
14622
|
+
class Lumo$3 extends HTMLElement {
|
|
14623
|
+
static get is() {
|
|
14624
|
+
return 'vaadin-lumo-styles';
|
|
14625
|
+
}
|
|
14626
|
+
|
|
14627
|
+
static get version() {
|
|
14628
|
+
return '24.2.5';
|
|
14629
|
+
}
|
|
14630
|
+
}
|
|
14631
|
+
|
|
14632
|
+
defineCustomElement(Lumo$3);
|
|
14633
|
+
|
|
14634
|
+
const addLumoGlobalStyles$3 = (id, ...styles) => {
|
|
14635
|
+
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
14636
|
+
};
|
|
14637
|
+
|
|
14638
|
+
/**
|
|
14639
|
+
* @license
|
|
14640
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
14641
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14642
|
+
*/
|
|
14643
|
+
|
|
14644
|
+
const colorBase$2 = i$1`
|
|
14645
|
+
:host {
|
|
14646
|
+
/* Base (background) */
|
|
14647
|
+
--lumo-base-color: #fff;
|
|
14648
|
+
|
|
14649
|
+
/* Tint */
|
|
14650
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
14651
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
14652
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
14653
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
14654
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
14655
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
14656
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
14657
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
14658
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
14659
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
14660
|
+
--lumo-tint: #fff;
|
|
14661
|
+
|
|
14662
|
+
/* Shade */
|
|
14663
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
14664
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
14665
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
14666
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
14667
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
14668
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
14669
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
14670
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
14671
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
14672
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
14673
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
|
14674
|
+
|
|
14675
|
+
/* Contrast */
|
|
14676
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
14677
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
14678
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
14679
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
14680
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
14681
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
14682
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
14683
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
14684
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
14685
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
14686
|
+
--lumo-contrast: var(--lumo-shade);
|
|
14687
|
+
|
|
14688
|
+
/* Text */
|
|
14689
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
14690
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
14691
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
14692
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
14693
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
14694
|
+
|
|
14695
|
+
/* Primary */
|
|
14696
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
14697
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
14698
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
14699
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
14700
|
+
--lumo-primary-contrast-color: #fff;
|
|
14701
|
+
|
|
14702
|
+
/* Error */
|
|
14703
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
|
14704
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
14705
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
14706
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
14707
|
+
--lumo-error-contrast-color: #fff;
|
|
14708
|
+
|
|
14709
|
+
/* Success */
|
|
14710
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
14711
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
14712
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
14713
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
14714
|
+
--lumo-success-contrast-color: #fff;
|
|
14715
|
+
|
|
14716
|
+
/* Warning */
|
|
14717
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
14718
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
14719
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
14720
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
14721
|
+
}
|
|
14722
|
+
|
|
14723
|
+
/* forced-colors mode adjustments */
|
|
14724
|
+
@media (forced-colors: active) {
|
|
14725
|
+
html {
|
|
14726
|
+
--lumo-disabled-text-color: GrayText;
|
|
14727
|
+
}
|
|
14728
|
+
}
|
|
14729
|
+
`;
|
|
14730
|
+
|
|
14731
|
+
addLumoGlobalStyles$3('color-props', colorBase$2);
|
|
14732
|
+
|
|
14733
|
+
const color$2 = i$1`
|
|
14734
|
+
[theme~='dark'] {
|
|
14735
|
+
/* Base (background) */
|
|
14736
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
|
14737
|
+
|
|
14738
|
+
/* Tint */
|
|
14739
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
14740
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
14741
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
14742
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
14743
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
14744
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
14745
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
14746
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
14747
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
14748
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
14749
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
|
14750
|
+
|
|
14751
|
+
/* Shade */
|
|
14752
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
14753
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
14754
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
14755
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
14756
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
14757
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
14758
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
14759
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
14760
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
14761
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
14762
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
|
14763
|
+
|
|
14764
|
+
/* Contrast */
|
|
14765
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
14766
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
14767
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
14768
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
14769
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
14770
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
14771
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
14772
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
14773
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
14774
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
14775
|
+
--lumo-contrast: var(--lumo-tint);
|
|
14776
|
+
|
|
14777
|
+
/* Text */
|
|
14778
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
14779
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
14780
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
14781
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
14782
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
14783
|
+
|
|
14784
|
+
/* Primary */
|
|
14785
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
14786
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
14787
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
14788
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
14789
|
+
--lumo-primary-contrast-color: #fff;
|
|
14790
|
+
|
|
14791
|
+
/* Error */
|
|
14792
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
|
14793
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
14794
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
14795
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
14796
|
+
|
|
14797
|
+
/* Success */
|
|
14798
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
14799
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
14800
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
14801
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
14802
|
+
|
|
14803
|
+
/* Warning */
|
|
14804
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
14805
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
14806
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
14807
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
14808
|
+
}
|
|
14809
|
+
|
|
14810
|
+
html {
|
|
14811
|
+
color: var(--lumo-body-text-color);
|
|
14812
|
+
background-color: var(--lumo-base-color);
|
|
14813
|
+
color-scheme: light;
|
|
14814
|
+
}
|
|
14815
|
+
|
|
14816
|
+
[theme~='dark'] {
|
|
14817
|
+
color: var(--lumo-body-text-color);
|
|
14818
|
+
background-color: var(--lumo-base-color);
|
|
14819
|
+
color-scheme: dark;
|
|
14820
|
+
}
|
|
14821
|
+
|
|
14822
|
+
h1,
|
|
14823
|
+
h2,
|
|
14824
|
+
h3,
|
|
14825
|
+
h4,
|
|
14826
|
+
h5,
|
|
14827
|
+
h6 {
|
|
14828
|
+
color: var(--lumo-header-text-color);
|
|
14829
|
+
}
|
|
14830
|
+
|
|
14831
|
+
a:where(:any-link) {
|
|
14832
|
+
color: var(--lumo-primary-text-color);
|
|
14833
|
+
}
|
|
14834
|
+
|
|
14835
|
+
a:not(:any-link) {
|
|
14836
|
+
color: var(--lumo-disabled-text-color);
|
|
14837
|
+
}
|
|
14838
|
+
|
|
14839
|
+
blockquote {
|
|
14840
|
+
color: var(--lumo-secondary-text-color);
|
|
14841
|
+
}
|
|
14842
|
+
|
|
14843
|
+
code,
|
|
14844
|
+
pre {
|
|
14845
|
+
background-color: var(--lumo-contrast-10pct);
|
|
14846
|
+
border-radius: var(--lumo-border-radius-m);
|
|
14847
|
+
}
|
|
14848
|
+
`;
|
|
14849
|
+
|
|
14850
|
+
registerStyles('', color$2, { moduleId: 'lumo-color' });
|
|
14851
|
+
|
|
14852
|
+
/**
|
|
14853
|
+
* @license
|
|
14854
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
14855
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14856
|
+
*/
|
|
14857
|
+
|
|
14858
|
+
const sizing$3 = i$1`
|
|
14859
|
+
:host {
|
|
14860
|
+
--lumo-size-xs: 1.625rem;
|
|
14861
|
+
--lumo-size-s: 1.875rem;
|
|
14862
|
+
--lumo-size-m: 2.25rem;
|
|
14863
|
+
--lumo-size-l: 2.75rem;
|
|
14864
|
+
--lumo-size-xl: 3.5rem;
|
|
14865
|
+
|
|
14866
|
+
/* Icons */
|
|
14867
|
+
--lumo-icon-size-s: 1.25em;
|
|
14868
|
+
--lumo-icon-size-m: 1.5em;
|
|
14869
|
+
--lumo-icon-size-l: 2.25em;
|
|
14870
|
+
/* For backwards compatibility */
|
|
14871
|
+
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
14872
|
+
}
|
|
14873
|
+
`;
|
|
14874
|
+
|
|
14875
|
+
addLumoGlobalStyles$3('sizing-props', sizing$3);
|
|
14876
|
+
|
|
14877
|
+
/**
|
|
14878
|
+
* @license
|
|
14879
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
14880
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14881
|
+
*/
|
|
14882
|
+
|
|
14883
|
+
const style$3 = i$1`
|
|
14884
|
+
:host {
|
|
14885
|
+
/* Border radius */
|
|
14886
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
14887
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
14888
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
14889
|
+
|
|
14890
|
+
/* Shadow */
|
|
14891
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
14892
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
14893
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
14894
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
14895
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
14896
|
+
|
|
14897
|
+
/* Clickable element cursor */
|
|
14898
|
+
--lumo-clickable-cursor: default;
|
|
14899
|
+
}
|
|
14900
|
+
`;
|
|
14901
|
+
|
|
14902
|
+
/**
|
|
14903
|
+
* Default values for component-specific custom properties.
|
|
14904
|
+
*/
|
|
14905
|
+
i$1`
|
|
14906
|
+
html {
|
|
14907
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
14908
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
14909
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
14910
|
+
}
|
|
14911
|
+
`;
|
|
14912
|
+
|
|
14913
|
+
addLumoGlobalStyles$3('style-props', style$3);
|
|
14914
|
+
|
|
14915
|
+
/**
|
|
14916
|
+
* @license
|
|
14917
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
14918
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14919
|
+
*/
|
|
14920
|
+
|
|
14921
|
+
const font$3 = i$1`
|
|
14922
|
+
:host {
|
|
14923
|
+
/* prettier-ignore */
|
|
14924
|
+
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
14925
|
+
|
|
14926
|
+
/* Font sizes */
|
|
14927
|
+
--lumo-font-size-xxs: 0.75rem;
|
|
14928
|
+
--lumo-font-size-xs: 0.8125rem;
|
|
14929
|
+
--lumo-font-size-s: 0.875rem;
|
|
14930
|
+
--lumo-font-size-m: 1rem;
|
|
14931
|
+
--lumo-font-size-l: 1.125rem;
|
|
14932
|
+
--lumo-font-size-xl: 1.375rem;
|
|
14933
|
+
--lumo-font-size-xxl: 1.75rem;
|
|
14934
|
+
--lumo-font-size-xxxl: 2.5rem;
|
|
14935
|
+
|
|
14936
|
+
/* Line heights */
|
|
14937
|
+
--lumo-line-height-xs: 1.25;
|
|
14938
|
+
--lumo-line-height-s: 1.375;
|
|
14939
|
+
--lumo-line-height-m: 1.625;
|
|
14940
|
+
}
|
|
14941
|
+
`;
|
|
14942
|
+
|
|
14943
|
+
const typography$3 = i$1`
|
|
14944
|
+
body,
|
|
14945
|
+
:host {
|
|
14946
|
+
font-family: var(--lumo-font-family);
|
|
14947
|
+
font-size: var(--lumo-font-size-m);
|
|
14948
|
+
line-height: var(--lumo-line-height-m);
|
|
14949
|
+
-webkit-text-size-adjust: 100%;
|
|
14950
|
+
-webkit-font-smoothing: antialiased;
|
|
14951
|
+
-moz-osx-font-smoothing: grayscale;
|
|
14952
|
+
}
|
|
14953
|
+
|
|
14954
|
+
small,
|
|
14955
|
+
[theme~='font-size-s'] {
|
|
14956
|
+
font-size: var(--lumo-font-size-s);
|
|
14957
|
+
line-height: var(--lumo-line-height-s);
|
|
14958
|
+
}
|
|
14959
|
+
|
|
14960
|
+
[theme~='font-size-xs'] {
|
|
14961
|
+
font-size: var(--lumo-font-size-xs);
|
|
14962
|
+
line-height: var(--lumo-line-height-xs);
|
|
14963
|
+
}
|
|
14964
|
+
|
|
14965
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
14966
|
+
font-weight: 600;
|
|
14967
|
+
line-height: var(--lumo-line-height-xs);
|
|
14968
|
+
margin-block: 0;
|
|
14969
|
+
}
|
|
14970
|
+
|
|
14971
|
+
:where(h1) {
|
|
14972
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
14973
|
+
}
|
|
14974
|
+
|
|
14975
|
+
:where(h2) {
|
|
14976
|
+
font-size: var(--lumo-font-size-xxl);
|
|
14977
|
+
}
|
|
14978
|
+
|
|
14979
|
+
:where(h3) {
|
|
14980
|
+
font-size: var(--lumo-font-size-xl);
|
|
14981
|
+
}
|
|
14982
|
+
|
|
14983
|
+
:where(h4) {
|
|
14984
|
+
font-size: var(--lumo-font-size-l);
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14987
|
+
:where(h5) {
|
|
14988
|
+
font-size: var(--lumo-font-size-m);
|
|
14989
|
+
}
|
|
14990
|
+
|
|
14991
|
+
:where(h6) {
|
|
14992
|
+
font-size: var(--lumo-font-size-xs);
|
|
14993
|
+
text-transform: uppercase;
|
|
14994
|
+
letter-spacing: 0.03em;
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
p,
|
|
14998
|
+
blockquote {
|
|
14999
|
+
margin-top: 0.5em;
|
|
15000
|
+
margin-bottom: 0.75em;
|
|
15001
|
+
}
|
|
15002
|
+
|
|
15003
|
+
a {
|
|
15004
|
+
text-decoration: none;
|
|
15005
|
+
}
|
|
15006
|
+
|
|
15007
|
+
a:where(:any-link):hover {
|
|
15008
|
+
text-decoration: underline;
|
|
15009
|
+
}
|
|
15010
|
+
|
|
15011
|
+
hr {
|
|
15012
|
+
display: block;
|
|
15013
|
+
align-self: stretch;
|
|
15014
|
+
height: 1px;
|
|
15015
|
+
border: 0;
|
|
15016
|
+
padding: 0;
|
|
15017
|
+
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
|
15018
|
+
background-color: var(--lumo-contrast-10pct);
|
|
15019
|
+
}
|
|
15020
|
+
|
|
15021
|
+
blockquote {
|
|
15022
|
+
border-left: 2px solid var(--lumo-contrast-30pct);
|
|
15023
|
+
}
|
|
15024
|
+
|
|
15025
|
+
b,
|
|
15026
|
+
strong {
|
|
15027
|
+
font-weight: 600;
|
|
15028
|
+
}
|
|
15029
|
+
|
|
15030
|
+
/* RTL specific styles */
|
|
15031
|
+
blockquote[dir='rtl'] {
|
|
15032
|
+
border-left: none;
|
|
15033
|
+
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
15034
|
+
}
|
|
15035
|
+
`;
|
|
15036
|
+
|
|
15037
|
+
registerStyles('', typography$3, { moduleId: 'lumo-typography' });
|
|
15038
|
+
addLumoGlobalStyles$3('typography-props', font$3);
|
|
15039
|
+
|
|
14604
15040
|
registerStyles(
|
|
14605
15041
|
'vaadin-input-container',
|
|
14606
15042
|
i$1`
|
|
@@ -15154,6 +15590,469 @@ registerStyles('vaadin-date-picker-overlay', [menuOverlay, datePickerOverlay], {
|
|
|
15154
15590
|
moduleId: 'lumo-date-picker-overlay',
|
|
15155
15591
|
});
|
|
15156
15592
|
|
|
15593
|
+
/**
|
|
15594
|
+
* @license
|
|
15595
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15596
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15597
|
+
*/
|
|
15598
|
+
|
|
15599
|
+
/**
|
|
15600
|
+
* Dummy custom element used for collecting
|
|
15601
|
+
* development time usage statistics.
|
|
15602
|
+
*
|
|
15603
|
+
* @private
|
|
15604
|
+
*/
|
|
15605
|
+
class Lumo$2 extends HTMLElement {
|
|
15606
|
+
static get is() {
|
|
15607
|
+
return 'vaadin-lumo-styles';
|
|
15608
|
+
}
|
|
15609
|
+
|
|
15610
|
+
static get version() {
|
|
15611
|
+
return '24.2.5';
|
|
15612
|
+
}
|
|
15613
|
+
}
|
|
15614
|
+
|
|
15615
|
+
defineCustomElement(Lumo$2);
|
|
15616
|
+
|
|
15617
|
+
const addLumoGlobalStyles$2 = (id, ...styles) => {
|
|
15618
|
+
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
15619
|
+
};
|
|
15620
|
+
|
|
15621
|
+
/**
|
|
15622
|
+
* @license
|
|
15623
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15624
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15625
|
+
*/
|
|
15626
|
+
|
|
15627
|
+
const colorBase$1 = i$1`
|
|
15628
|
+
:host {
|
|
15629
|
+
/* Base (background) */
|
|
15630
|
+
--lumo-base-color: #fff;
|
|
15631
|
+
|
|
15632
|
+
/* Tint */
|
|
15633
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
15634
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
15635
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
15636
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
15637
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
15638
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
15639
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
15640
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
15641
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
15642
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
15643
|
+
--lumo-tint: #fff;
|
|
15644
|
+
|
|
15645
|
+
/* Shade */
|
|
15646
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
15647
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
15648
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
15649
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
15650
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
15651
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
15652
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
15653
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
15654
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
15655
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
15656
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
|
15657
|
+
|
|
15658
|
+
/* Contrast */
|
|
15659
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
15660
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
15661
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
15662
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
15663
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
15664
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
15665
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
15666
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
15667
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
15668
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
15669
|
+
--lumo-contrast: var(--lumo-shade);
|
|
15670
|
+
|
|
15671
|
+
/* Text */
|
|
15672
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
15673
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
15674
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
15675
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
15676
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
15677
|
+
|
|
15678
|
+
/* Primary */
|
|
15679
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
15680
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
15681
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
15682
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
15683
|
+
--lumo-primary-contrast-color: #fff;
|
|
15684
|
+
|
|
15685
|
+
/* Error */
|
|
15686
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
|
15687
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
15688
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
15689
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
15690
|
+
--lumo-error-contrast-color: #fff;
|
|
15691
|
+
|
|
15692
|
+
/* Success */
|
|
15693
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
15694
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
15695
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
15696
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
15697
|
+
--lumo-success-contrast-color: #fff;
|
|
15698
|
+
|
|
15699
|
+
/* Warning */
|
|
15700
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
15701
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
15702
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
15703
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
15704
|
+
}
|
|
15705
|
+
|
|
15706
|
+
/* forced-colors mode adjustments */
|
|
15707
|
+
@media (forced-colors: active) {
|
|
15708
|
+
html {
|
|
15709
|
+
--lumo-disabled-text-color: GrayText;
|
|
15710
|
+
}
|
|
15711
|
+
}
|
|
15712
|
+
`;
|
|
15713
|
+
|
|
15714
|
+
addLumoGlobalStyles$2('color-props', colorBase$1);
|
|
15715
|
+
|
|
15716
|
+
const color$1 = i$1`
|
|
15717
|
+
[theme~='dark'] {
|
|
15718
|
+
/* Base (background) */
|
|
15719
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
|
15720
|
+
|
|
15721
|
+
/* Tint */
|
|
15722
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
15723
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
15724
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
15725
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
15726
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
15727
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
15728
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
15729
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
15730
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
15731
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
15732
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
|
15733
|
+
|
|
15734
|
+
/* Shade */
|
|
15735
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
15736
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
15737
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
15738
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
15739
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
15740
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
15741
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
15742
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
15743
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
15744
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
15745
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
|
15746
|
+
|
|
15747
|
+
/* Contrast */
|
|
15748
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
15749
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
15750
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
15751
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
15752
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
15753
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
15754
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
15755
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
15756
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
15757
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
15758
|
+
--lumo-contrast: var(--lumo-tint);
|
|
15759
|
+
|
|
15760
|
+
/* Text */
|
|
15761
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
15762
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
15763
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
15764
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
15765
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
15766
|
+
|
|
15767
|
+
/* Primary */
|
|
15768
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
15769
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
15770
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
15771
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
15772
|
+
--lumo-primary-contrast-color: #fff;
|
|
15773
|
+
|
|
15774
|
+
/* Error */
|
|
15775
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
|
15776
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
15777
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
15778
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
15779
|
+
|
|
15780
|
+
/* Success */
|
|
15781
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
15782
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
15783
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
15784
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
15785
|
+
|
|
15786
|
+
/* Warning */
|
|
15787
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
15788
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
15789
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
15790
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
15791
|
+
}
|
|
15792
|
+
|
|
15793
|
+
html {
|
|
15794
|
+
color: var(--lumo-body-text-color);
|
|
15795
|
+
background-color: var(--lumo-base-color);
|
|
15796
|
+
color-scheme: light;
|
|
15797
|
+
}
|
|
15798
|
+
|
|
15799
|
+
[theme~='dark'] {
|
|
15800
|
+
color: var(--lumo-body-text-color);
|
|
15801
|
+
background-color: var(--lumo-base-color);
|
|
15802
|
+
color-scheme: dark;
|
|
15803
|
+
}
|
|
15804
|
+
|
|
15805
|
+
h1,
|
|
15806
|
+
h2,
|
|
15807
|
+
h3,
|
|
15808
|
+
h4,
|
|
15809
|
+
h5,
|
|
15810
|
+
h6 {
|
|
15811
|
+
color: var(--lumo-header-text-color);
|
|
15812
|
+
}
|
|
15813
|
+
|
|
15814
|
+
a:where(:any-link) {
|
|
15815
|
+
color: var(--lumo-primary-text-color);
|
|
15816
|
+
}
|
|
15817
|
+
|
|
15818
|
+
a:not(:any-link) {
|
|
15819
|
+
color: var(--lumo-disabled-text-color);
|
|
15820
|
+
}
|
|
15821
|
+
|
|
15822
|
+
blockquote {
|
|
15823
|
+
color: var(--lumo-secondary-text-color);
|
|
15824
|
+
}
|
|
15825
|
+
|
|
15826
|
+
code,
|
|
15827
|
+
pre {
|
|
15828
|
+
background-color: var(--lumo-contrast-10pct);
|
|
15829
|
+
border-radius: var(--lumo-border-radius-m);
|
|
15830
|
+
}
|
|
15831
|
+
`;
|
|
15832
|
+
|
|
15833
|
+
registerStyles('', color$1, { moduleId: 'lumo-color' });
|
|
15834
|
+
|
|
15835
|
+
/**
|
|
15836
|
+
* @license
|
|
15837
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15838
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15839
|
+
*/
|
|
15840
|
+
|
|
15841
|
+
const sizing$2 = i$1`
|
|
15842
|
+
:host {
|
|
15843
|
+
--lumo-size-xs: 1.625rem;
|
|
15844
|
+
--lumo-size-s: 1.875rem;
|
|
15845
|
+
--lumo-size-m: 2.25rem;
|
|
15846
|
+
--lumo-size-l: 2.75rem;
|
|
15847
|
+
--lumo-size-xl: 3.5rem;
|
|
15848
|
+
|
|
15849
|
+
/* Icons */
|
|
15850
|
+
--lumo-icon-size-s: 1.25em;
|
|
15851
|
+
--lumo-icon-size-m: 1.5em;
|
|
15852
|
+
--lumo-icon-size-l: 2.25em;
|
|
15853
|
+
/* For backwards compatibility */
|
|
15854
|
+
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
15855
|
+
}
|
|
15856
|
+
`;
|
|
15857
|
+
|
|
15858
|
+
addLumoGlobalStyles$2('sizing-props', sizing$2);
|
|
15859
|
+
|
|
15860
|
+
/**
|
|
15861
|
+
* @license
|
|
15862
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15863
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15864
|
+
*/
|
|
15865
|
+
|
|
15866
|
+
const spacing$2 = i$1`
|
|
15867
|
+
:host {
|
|
15868
|
+
/* Square */
|
|
15869
|
+
--lumo-space-xs: 0.25rem;
|
|
15870
|
+
--lumo-space-s: 0.5rem;
|
|
15871
|
+
--lumo-space-m: 1rem;
|
|
15872
|
+
--lumo-space-l: 1.5rem;
|
|
15873
|
+
--lumo-space-xl: 2.5rem;
|
|
15874
|
+
|
|
15875
|
+
/* Wide */
|
|
15876
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
15877
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
15878
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
15879
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
15880
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
15881
|
+
|
|
15882
|
+
/* Tall */
|
|
15883
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
15884
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
15885
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
15886
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
15887
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
15888
|
+
}
|
|
15889
|
+
`;
|
|
15890
|
+
|
|
15891
|
+
addLumoGlobalStyles$2('spacing-props', spacing$2);
|
|
15892
|
+
|
|
15893
|
+
/**
|
|
15894
|
+
* @license
|
|
15895
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15896
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15897
|
+
*/
|
|
15898
|
+
|
|
15899
|
+
const style$2 = i$1`
|
|
15900
|
+
:host {
|
|
15901
|
+
/* Border radius */
|
|
15902
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
15903
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
15904
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
15905
|
+
|
|
15906
|
+
/* Shadow */
|
|
15907
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
15908
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
15909
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
15910
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
15911
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
15912
|
+
|
|
15913
|
+
/* Clickable element cursor */
|
|
15914
|
+
--lumo-clickable-cursor: default;
|
|
15915
|
+
}
|
|
15916
|
+
`;
|
|
15917
|
+
|
|
15918
|
+
/**
|
|
15919
|
+
* Default values for component-specific custom properties.
|
|
15920
|
+
*/
|
|
15921
|
+
i$1`
|
|
15922
|
+
html {
|
|
15923
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
15924
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
15925
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
15926
|
+
}
|
|
15927
|
+
`;
|
|
15928
|
+
|
|
15929
|
+
addLumoGlobalStyles$2('style-props', style$2);
|
|
15930
|
+
|
|
15931
|
+
/**
|
|
15932
|
+
* @license
|
|
15933
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
15934
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15935
|
+
*/
|
|
15936
|
+
|
|
15937
|
+
const font$2 = i$1`
|
|
15938
|
+
:host {
|
|
15939
|
+
/* prettier-ignore */
|
|
15940
|
+
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
15941
|
+
|
|
15942
|
+
/* Font sizes */
|
|
15943
|
+
--lumo-font-size-xxs: 0.75rem;
|
|
15944
|
+
--lumo-font-size-xs: 0.8125rem;
|
|
15945
|
+
--lumo-font-size-s: 0.875rem;
|
|
15946
|
+
--lumo-font-size-m: 1rem;
|
|
15947
|
+
--lumo-font-size-l: 1.125rem;
|
|
15948
|
+
--lumo-font-size-xl: 1.375rem;
|
|
15949
|
+
--lumo-font-size-xxl: 1.75rem;
|
|
15950
|
+
--lumo-font-size-xxxl: 2.5rem;
|
|
15951
|
+
|
|
15952
|
+
/* Line heights */
|
|
15953
|
+
--lumo-line-height-xs: 1.25;
|
|
15954
|
+
--lumo-line-height-s: 1.375;
|
|
15955
|
+
--lumo-line-height-m: 1.625;
|
|
15956
|
+
}
|
|
15957
|
+
`;
|
|
15958
|
+
|
|
15959
|
+
const typography$2 = i$1`
|
|
15960
|
+
body,
|
|
15961
|
+
:host {
|
|
15962
|
+
font-family: var(--lumo-font-family);
|
|
15963
|
+
font-size: var(--lumo-font-size-m);
|
|
15964
|
+
line-height: var(--lumo-line-height-m);
|
|
15965
|
+
-webkit-text-size-adjust: 100%;
|
|
15966
|
+
-webkit-font-smoothing: antialiased;
|
|
15967
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15968
|
+
}
|
|
15969
|
+
|
|
15970
|
+
small,
|
|
15971
|
+
[theme~='font-size-s'] {
|
|
15972
|
+
font-size: var(--lumo-font-size-s);
|
|
15973
|
+
line-height: var(--lumo-line-height-s);
|
|
15974
|
+
}
|
|
15975
|
+
|
|
15976
|
+
[theme~='font-size-xs'] {
|
|
15977
|
+
font-size: var(--lumo-font-size-xs);
|
|
15978
|
+
line-height: var(--lumo-line-height-xs);
|
|
15979
|
+
}
|
|
15980
|
+
|
|
15981
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
15982
|
+
font-weight: 600;
|
|
15983
|
+
line-height: var(--lumo-line-height-xs);
|
|
15984
|
+
margin-block: 0;
|
|
15985
|
+
}
|
|
15986
|
+
|
|
15987
|
+
:where(h1) {
|
|
15988
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
15989
|
+
}
|
|
15990
|
+
|
|
15991
|
+
:where(h2) {
|
|
15992
|
+
font-size: var(--lumo-font-size-xxl);
|
|
15993
|
+
}
|
|
15994
|
+
|
|
15995
|
+
:where(h3) {
|
|
15996
|
+
font-size: var(--lumo-font-size-xl);
|
|
15997
|
+
}
|
|
15998
|
+
|
|
15999
|
+
:where(h4) {
|
|
16000
|
+
font-size: var(--lumo-font-size-l);
|
|
16001
|
+
}
|
|
16002
|
+
|
|
16003
|
+
:where(h5) {
|
|
16004
|
+
font-size: var(--lumo-font-size-m);
|
|
16005
|
+
}
|
|
16006
|
+
|
|
16007
|
+
:where(h6) {
|
|
16008
|
+
font-size: var(--lumo-font-size-xs);
|
|
16009
|
+
text-transform: uppercase;
|
|
16010
|
+
letter-spacing: 0.03em;
|
|
16011
|
+
}
|
|
16012
|
+
|
|
16013
|
+
p,
|
|
16014
|
+
blockquote {
|
|
16015
|
+
margin-top: 0.5em;
|
|
16016
|
+
margin-bottom: 0.75em;
|
|
16017
|
+
}
|
|
16018
|
+
|
|
16019
|
+
a {
|
|
16020
|
+
text-decoration: none;
|
|
16021
|
+
}
|
|
16022
|
+
|
|
16023
|
+
a:where(:any-link):hover {
|
|
16024
|
+
text-decoration: underline;
|
|
16025
|
+
}
|
|
16026
|
+
|
|
16027
|
+
hr {
|
|
16028
|
+
display: block;
|
|
16029
|
+
align-self: stretch;
|
|
16030
|
+
height: 1px;
|
|
16031
|
+
border: 0;
|
|
16032
|
+
padding: 0;
|
|
16033
|
+
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
|
16034
|
+
background-color: var(--lumo-contrast-10pct);
|
|
16035
|
+
}
|
|
16036
|
+
|
|
16037
|
+
blockquote {
|
|
16038
|
+
border-left: 2px solid var(--lumo-contrast-30pct);
|
|
16039
|
+
}
|
|
16040
|
+
|
|
16041
|
+
b,
|
|
16042
|
+
strong {
|
|
16043
|
+
font-weight: 600;
|
|
16044
|
+
}
|
|
16045
|
+
|
|
16046
|
+
/* RTL specific styles */
|
|
16047
|
+
blockquote[dir='rtl'] {
|
|
16048
|
+
border-left: none;
|
|
16049
|
+
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
16050
|
+
}
|
|
16051
|
+
`;
|
|
16052
|
+
|
|
16053
|
+
registerStyles('', typography$2, { moduleId: 'lumo-typography' });
|
|
16054
|
+
addLumoGlobalStyles$2('typography-props', font$2);
|
|
16055
|
+
|
|
15157
16056
|
const button = i$1`
|
|
15158
16057
|
:host {
|
|
15159
16058
|
/* Sizing */
|
|
@@ -15992,7 +16891,7 @@ document.head.appendChild(template$1.content);
|
|
|
15992
16891
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15993
16892
|
*/
|
|
15994
16893
|
|
|
15995
|
-
const fieldButton = i$1`
|
|
16894
|
+
const fieldButton$1 = i$1`
|
|
15996
16895
|
[part$='button'] {
|
|
15997
16896
|
flex: none;
|
|
15998
16897
|
width: 1em;
|
|
@@ -16020,7 +16919,7 @@ const fieldButton = i$1`
|
|
|
16020
16919
|
display: block;
|
|
16021
16920
|
}
|
|
16022
16921
|
`;
|
|
16023
|
-
registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
16922
|
+
registerStyles('', fieldButton$1, { moduleId: 'lumo-field-button' });
|
|
16024
16923
|
|
|
16025
16924
|
/**
|
|
16026
16925
|
* @license
|
|
@@ -16028,7 +16927,7 @@ registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
|
16028
16927
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16029
16928
|
*/
|
|
16030
16929
|
|
|
16031
|
-
const inputField = i$1`
|
|
16930
|
+
const inputField$1 = i$1`
|
|
16032
16931
|
:host {
|
|
16033
16932
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
16034
16933
|
color: var(--lumo-body-text-color);
|
|
@@ -16164,9 +17063,9 @@ const inputField = i$1`
|
|
|
16164
17063
|
}
|
|
16165
17064
|
`;
|
|
16166
17065
|
|
|
16167
|
-
const inputFieldShared$
|
|
17066
|
+
const inputFieldShared$2 = [requiredField$1, fieldButton$1, helper$1, inputField$1];
|
|
16168
17067
|
|
|
16169
|
-
registerStyles('', inputFieldShared$
|
|
17068
|
+
registerStyles('', inputFieldShared$2, {
|
|
16170
17069
|
moduleId: 'lumo-input-field-shared-styles',
|
|
16171
17070
|
});
|
|
16172
17071
|
|
|
@@ -16198,7 +17097,7 @@ const datePicker = i$1`
|
|
|
16198
17097
|
}
|
|
16199
17098
|
`;
|
|
16200
17099
|
|
|
16201
|
-
registerStyles('vaadin-date-picker', [inputFieldShared$
|
|
17100
|
+
registerStyles('vaadin-date-picker', [inputFieldShared$2, datePicker], { moduleId: 'lumo-date-picker' });
|
|
16202
17101
|
|
|
16203
17102
|
/**
|
|
16204
17103
|
@license
|
|
@@ -23042,7 +23941,7 @@ const inputFieldContainer = i$1`
|
|
|
23042
23941
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
23043
23942
|
*/
|
|
23044
23943
|
|
|
23045
|
-
const inputFieldShared = [fieldShared, inputFieldContainer, clearButton];
|
|
23944
|
+
const inputFieldShared$1 = [fieldShared, inputFieldContainer, clearButton];
|
|
23046
23945
|
|
|
23047
23946
|
/**
|
|
23048
23947
|
* @license
|
|
@@ -24355,7 +25254,7 @@ const datePickerStyles = i$1`
|
|
|
24355
25254
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
24356
25255
|
*/
|
|
24357
25256
|
|
|
24358
|
-
registerStyles('vaadin-date-picker', [inputFieldShared, datePickerStyles], { moduleId: 'vaadin-date-picker-styles' });
|
|
25257
|
+
registerStyles('vaadin-date-picker', [inputFieldShared$1, datePickerStyles], { moduleId: 'vaadin-date-picker-styles' });
|
|
24359
25258
|
|
|
24360
25259
|
/**
|
|
24361
25260
|
* `<vaadin-date-picker>` is an input field that allows to enter a date by typing or by selecting from a calendar overlay.
|
|
@@ -30689,7 +31588,882 @@ NumberInput.style = numberInputCss;
|
|
|
30689
31588
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30690
31589
|
*/
|
|
30691
31590
|
|
|
30692
|
-
|
|
31591
|
+
/**
|
|
31592
|
+
* Dummy custom element used for collecting
|
|
31593
|
+
* development time usage statistics.
|
|
31594
|
+
*
|
|
31595
|
+
* @private
|
|
31596
|
+
*/
|
|
31597
|
+
class Lumo$1 extends HTMLElement {
|
|
31598
|
+
static get is() {
|
|
31599
|
+
return 'vaadin-lumo-styles';
|
|
31600
|
+
}
|
|
31601
|
+
|
|
31602
|
+
static get version() {
|
|
31603
|
+
return '24.2.5';
|
|
31604
|
+
}
|
|
31605
|
+
}
|
|
31606
|
+
|
|
31607
|
+
defineCustomElement(Lumo$1);
|
|
31608
|
+
|
|
31609
|
+
const addLumoGlobalStyles$1 = (id, ...styles) => {
|
|
31610
|
+
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
31611
|
+
};
|
|
31612
|
+
|
|
31613
|
+
/**
|
|
31614
|
+
* @license
|
|
31615
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31616
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31617
|
+
*/
|
|
31618
|
+
|
|
31619
|
+
const colorBase = i$1`
|
|
31620
|
+
:host {
|
|
31621
|
+
/* Base (background) */
|
|
31622
|
+
--lumo-base-color: #fff;
|
|
31623
|
+
|
|
31624
|
+
/* Tint */
|
|
31625
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
31626
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
31627
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
31628
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
31629
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
31630
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
31631
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
31632
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
31633
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
31634
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
31635
|
+
--lumo-tint: #fff;
|
|
31636
|
+
|
|
31637
|
+
/* Shade */
|
|
31638
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
31639
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
31640
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
31641
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
31642
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
31643
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
31644
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
31645
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
31646
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
31647
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
31648
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
|
31649
|
+
|
|
31650
|
+
/* Contrast */
|
|
31651
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
31652
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
31653
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
31654
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
31655
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
31656
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
31657
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
31658
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
31659
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
31660
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
31661
|
+
--lumo-contrast: var(--lumo-shade);
|
|
31662
|
+
|
|
31663
|
+
/* Text */
|
|
31664
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
31665
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
31666
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
31667
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
31668
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
31669
|
+
|
|
31670
|
+
/* Primary */
|
|
31671
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
31672
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
31673
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
31674
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
31675
|
+
--lumo-primary-contrast-color: #fff;
|
|
31676
|
+
|
|
31677
|
+
/* Error */
|
|
31678
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
|
31679
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
31680
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
31681
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
31682
|
+
--lumo-error-contrast-color: #fff;
|
|
31683
|
+
|
|
31684
|
+
/* Success */
|
|
31685
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
31686
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
31687
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
31688
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
31689
|
+
--lumo-success-contrast-color: #fff;
|
|
31690
|
+
|
|
31691
|
+
/* Warning */
|
|
31692
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
31693
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
31694
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
31695
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
31696
|
+
}
|
|
31697
|
+
|
|
31698
|
+
/* forced-colors mode adjustments */
|
|
31699
|
+
@media (forced-colors: active) {
|
|
31700
|
+
html {
|
|
31701
|
+
--lumo-disabled-text-color: GrayText;
|
|
31702
|
+
}
|
|
31703
|
+
}
|
|
31704
|
+
`;
|
|
31705
|
+
|
|
31706
|
+
addLumoGlobalStyles$1('color-props', colorBase);
|
|
31707
|
+
|
|
31708
|
+
const color = i$1`
|
|
31709
|
+
[theme~='dark'] {
|
|
31710
|
+
/* Base (background) */
|
|
31711
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
|
31712
|
+
|
|
31713
|
+
/* Tint */
|
|
31714
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
31715
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
31716
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
31717
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
31718
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
31719
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
31720
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
31721
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
31722
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
31723
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
31724
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
|
31725
|
+
|
|
31726
|
+
/* Shade */
|
|
31727
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
31728
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
31729
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
31730
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
31731
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
31732
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
31733
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
31734
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
31735
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
31736
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
31737
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
|
31738
|
+
|
|
31739
|
+
/* Contrast */
|
|
31740
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
31741
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
31742
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
31743
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
31744
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
31745
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
31746
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
31747
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
31748
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
31749
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
31750
|
+
--lumo-contrast: var(--lumo-tint);
|
|
31751
|
+
|
|
31752
|
+
/* Text */
|
|
31753
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
|
31754
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
31755
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
31756
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
31757
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
31758
|
+
|
|
31759
|
+
/* Primary */
|
|
31760
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
31761
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
31762
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
31763
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
31764
|
+
--lumo-primary-contrast-color: #fff;
|
|
31765
|
+
|
|
31766
|
+
/* Error */
|
|
31767
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
|
31768
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
31769
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
31770
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
31771
|
+
|
|
31772
|
+
/* Success */
|
|
31773
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
|
31774
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
31775
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
31776
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
31777
|
+
|
|
31778
|
+
/* Warning */
|
|
31779
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
31780
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
31781
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
31782
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
31783
|
+
}
|
|
31784
|
+
|
|
31785
|
+
html {
|
|
31786
|
+
color: var(--lumo-body-text-color);
|
|
31787
|
+
background-color: var(--lumo-base-color);
|
|
31788
|
+
color-scheme: light;
|
|
31789
|
+
}
|
|
31790
|
+
|
|
31791
|
+
[theme~='dark'] {
|
|
31792
|
+
color: var(--lumo-body-text-color);
|
|
31793
|
+
background-color: var(--lumo-base-color);
|
|
31794
|
+
color-scheme: dark;
|
|
31795
|
+
}
|
|
31796
|
+
|
|
31797
|
+
h1,
|
|
31798
|
+
h2,
|
|
31799
|
+
h3,
|
|
31800
|
+
h4,
|
|
31801
|
+
h5,
|
|
31802
|
+
h6 {
|
|
31803
|
+
color: var(--lumo-header-text-color);
|
|
31804
|
+
}
|
|
31805
|
+
|
|
31806
|
+
a:where(:any-link) {
|
|
31807
|
+
color: var(--lumo-primary-text-color);
|
|
31808
|
+
}
|
|
31809
|
+
|
|
31810
|
+
a:not(:any-link) {
|
|
31811
|
+
color: var(--lumo-disabled-text-color);
|
|
31812
|
+
}
|
|
31813
|
+
|
|
31814
|
+
blockquote {
|
|
31815
|
+
color: var(--lumo-secondary-text-color);
|
|
31816
|
+
}
|
|
31817
|
+
|
|
31818
|
+
code,
|
|
31819
|
+
pre {
|
|
31820
|
+
background-color: var(--lumo-contrast-10pct);
|
|
31821
|
+
border-radius: var(--lumo-border-radius-m);
|
|
31822
|
+
}
|
|
31823
|
+
`;
|
|
31824
|
+
|
|
31825
|
+
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
31826
|
+
|
|
31827
|
+
/**
|
|
31828
|
+
* @license
|
|
31829
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31830
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31831
|
+
*/
|
|
31832
|
+
|
|
31833
|
+
const fontIcons$1 = i$1`
|
|
31834
|
+
@font-face {
|
|
31835
|
+
font-family: 'lumo-icons';
|
|
31836
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8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bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
31837
|
+
format('woff');
|
|
31838
|
+
font-weight: normal;
|
|
31839
|
+
font-style: normal;
|
|
31840
|
+
}
|
|
31841
|
+
|
|
31842
|
+
html {
|
|
31843
|
+
--lumo-icons-align-center: '\\ea01';
|
|
31844
|
+
--lumo-icons-align-left: '\\ea02';
|
|
31845
|
+
--lumo-icons-align-right: '\\ea03';
|
|
31846
|
+
--lumo-icons-angle-down: '\\ea04';
|
|
31847
|
+
--lumo-icons-angle-left: '\\ea05';
|
|
31848
|
+
--lumo-icons-angle-right: '\\ea06';
|
|
31849
|
+
--lumo-icons-angle-up: '\\ea07';
|
|
31850
|
+
--lumo-icons-arrow-down: '\\ea08';
|
|
31851
|
+
--lumo-icons-arrow-left: '\\ea09';
|
|
31852
|
+
--lumo-icons-arrow-right: '\\ea0a';
|
|
31853
|
+
--lumo-icons-arrow-up: '\\ea0b';
|
|
31854
|
+
--lumo-icons-bar-chart: '\\ea0c';
|
|
31855
|
+
--lumo-icons-bell: '\\ea0d';
|
|
31856
|
+
--lumo-icons-calendar: '\\ea0e';
|
|
31857
|
+
--lumo-icons-checkmark: '\\ea0f';
|
|
31858
|
+
--lumo-icons-chevron-down: '\\ea10';
|
|
31859
|
+
--lumo-icons-chevron-left: '\\ea11';
|
|
31860
|
+
--lumo-icons-chevron-right: '\\ea12';
|
|
31861
|
+
--lumo-icons-chevron-up: '\\ea13';
|
|
31862
|
+
--lumo-icons-clock: '\\ea14';
|
|
31863
|
+
--lumo-icons-cog: '\\ea15';
|
|
31864
|
+
--lumo-icons-cross: '\\ea16';
|
|
31865
|
+
--lumo-icons-download: '\\ea17';
|
|
31866
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
31867
|
+
--lumo-icons-edit: '\\ea19';
|
|
31868
|
+
--lumo-icons-error: '\\ea1a';
|
|
31869
|
+
--lumo-icons-eye: '\\ea1b';
|
|
31870
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
31871
|
+
--lumo-icons-menu: '\\ea1d';
|
|
31872
|
+
--lumo-icons-minus: '\\ea1e';
|
|
31873
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
31874
|
+
--lumo-icons-phone: '\\ea20';
|
|
31875
|
+
--lumo-icons-photo: '\\ea21';
|
|
31876
|
+
--lumo-icons-play: '\\ea22';
|
|
31877
|
+
--lumo-icons-plus: '\\ea23';
|
|
31878
|
+
--lumo-icons-redo: '\\ea24';
|
|
31879
|
+
--lumo-icons-reload: '\\ea25';
|
|
31880
|
+
--lumo-icons-search: '\\ea26';
|
|
31881
|
+
--lumo-icons-undo: '\\ea27';
|
|
31882
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
31883
|
+
--lumo-icons-upload: '\\ea29';
|
|
31884
|
+
--lumo-icons-user: '\\ea2a';
|
|
31885
|
+
}
|
|
31886
|
+
`;
|
|
31887
|
+
|
|
31888
|
+
addLumoGlobalStyles$1('font-icons', fontIcons$1);
|
|
31889
|
+
|
|
31890
|
+
/**
|
|
31891
|
+
* @license
|
|
31892
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31893
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31894
|
+
*/
|
|
31895
|
+
|
|
31896
|
+
const sizing$1 = i$1`
|
|
31897
|
+
:host {
|
|
31898
|
+
--lumo-size-xs: 1.625rem;
|
|
31899
|
+
--lumo-size-s: 1.875rem;
|
|
31900
|
+
--lumo-size-m: 2.25rem;
|
|
31901
|
+
--lumo-size-l: 2.75rem;
|
|
31902
|
+
--lumo-size-xl: 3.5rem;
|
|
31903
|
+
|
|
31904
|
+
/* Icons */
|
|
31905
|
+
--lumo-icon-size-s: 1.25em;
|
|
31906
|
+
--lumo-icon-size-m: 1.5em;
|
|
31907
|
+
--lumo-icon-size-l: 2.25em;
|
|
31908
|
+
/* For backwards compatibility */
|
|
31909
|
+
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
31910
|
+
}
|
|
31911
|
+
`;
|
|
31912
|
+
|
|
31913
|
+
addLumoGlobalStyles$1('sizing-props', sizing$1);
|
|
31914
|
+
|
|
31915
|
+
/**
|
|
31916
|
+
* @license
|
|
31917
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31918
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31919
|
+
*/
|
|
31920
|
+
|
|
31921
|
+
const spacing$1 = i$1`
|
|
31922
|
+
:host {
|
|
31923
|
+
/* Square */
|
|
31924
|
+
--lumo-space-xs: 0.25rem;
|
|
31925
|
+
--lumo-space-s: 0.5rem;
|
|
31926
|
+
--lumo-space-m: 1rem;
|
|
31927
|
+
--lumo-space-l: 1.5rem;
|
|
31928
|
+
--lumo-space-xl: 2.5rem;
|
|
31929
|
+
|
|
31930
|
+
/* Wide */
|
|
31931
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
31932
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
31933
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
31934
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
31935
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
31936
|
+
|
|
31937
|
+
/* Tall */
|
|
31938
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
31939
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
31940
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
31941
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
31942
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
31943
|
+
}
|
|
31944
|
+
`;
|
|
31945
|
+
|
|
31946
|
+
addLumoGlobalStyles$1('spacing-props', spacing$1);
|
|
31947
|
+
|
|
31948
|
+
/**
|
|
31949
|
+
* @license
|
|
31950
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31951
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31952
|
+
*/
|
|
31953
|
+
|
|
31954
|
+
const style$1 = i$1`
|
|
31955
|
+
:host {
|
|
31956
|
+
/* Border radius */
|
|
31957
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
31958
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
31959
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
31960
|
+
|
|
31961
|
+
/* Shadow */
|
|
31962
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
31963
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
31964
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
31965
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
31966
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
31967
|
+
|
|
31968
|
+
/* Clickable element cursor */
|
|
31969
|
+
--lumo-clickable-cursor: default;
|
|
31970
|
+
}
|
|
31971
|
+
`;
|
|
31972
|
+
|
|
31973
|
+
/**
|
|
31974
|
+
* Default values for component-specific custom properties.
|
|
31975
|
+
*/
|
|
31976
|
+
i$1`
|
|
31977
|
+
html {
|
|
31978
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
31979
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
31980
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
31981
|
+
}
|
|
31982
|
+
`;
|
|
31983
|
+
|
|
31984
|
+
addLumoGlobalStyles$1('style-props', style$1);
|
|
31985
|
+
|
|
31986
|
+
/**
|
|
31987
|
+
* @license
|
|
31988
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
31989
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31990
|
+
*/
|
|
31991
|
+
|
|
31992
|
+
const font$1 = i$1`
|
|
31993
|
+
:host {
|
|
31994
|
+
/* prettier-ignore */
|
|
31995
|
+
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
31996
|
+
|
|
31997
|
+
/* Font sizes */
|
|
31998
|
+
--lumo-font-size-xxs: 0.75rem;
|
|
31999
|
+
--lumo-font-size-xs: 0.8125rem;
|
|
32000
|
+
--lumo-font-size-s: 0.875rem;
|
|
32001
|
+
--lumo-font-size-m: 1rem;
|
|
32002
|
+
--lumo-font-size-l: 1.125rem;
|
|
32003
|
+
--lumo-font-size-xl: 1.375rem;
|
|
32004
|
+
--lumo-font-size-xxl: 1.75rem;
|
|
32005
|
+
--lumo-font-size-xxxl: 2.5rem;
|
|
32006
|
+
|
|
32007
|
+
/* Line heights */
|
|
32008
|
+
--lumo-line-height-xs: 1.25;
|
|
32009
|
+
--lumo-line-height-s: 1.375;
|
|
32010
|
+
--lumo-line-height-m: 1.625;
|
|
32011
|
+
}
|
|
32012
|
+
`;
|
|
32013
|
+
|
|
32014
|
+
const typography$1 = i$1`
|
|
32015
|
+
body,
|
|
32016
|
+
:host {
|
|
32017
|
+
font-family: var(--lumo-font-family);
|
|
32018
|
+
font-size: var(--lumo-font-size-m);
|
|
32019
|
+
line-height: var(--lumo-line-height-m);
|
|
32020
|
+
-webkit-text-size-adjust: 100%;
|
|
32021
|
+
-webkit-font-smoothing: antialiased;
|
|
32022
|
+
-moz-osx-font-smoothing: grayscale;
|
|
32023
|
+
}
|
|
32024
|
+
|
|
32025
|
+
small,
|
|
32026
|
+
[theme~='font-size-s'] {
|
|
32027
|
+
font-size: var(--lumo-font-size-s);
|
|
32028
|
+
line-height: var(--lumo-line-height-s);
|
|
32029
|
+
}
|
|
32030
|
+
|
|
32031
|
+
[theme~='font-size-xs'] {
|
|
32032
|
+
font-size: var(--lumo-font-size-xs);
|
|
32033
|
+
line-height: var(--lumo-line-height-xs);
|
|
32034
|
+
}
|
|
32035
|
+
|
|
32036
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
32037
|
+
font-weight: 600;
|
|
32038
|
+
line-height: var(--lumo-line-height-xs);
|
|
32039
|
+
margin-block: 0;
|
|
32040
|
+
}
|
|
32041
|
+
|
|
32042
|
+
:where(h1) {
|
|
32043
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
32044
|
+
}
|
|
32045
|
+
|
|
32046
|
+
:where(h2) {
|
|
32047
|
+
font-size: var(--lumo-font-size-xxl);
|
|
32048
|
+
}
|
|
32049
|
+
|
|
32050
|
+
:where(h3) {
|
|
32051
|
+
font-size: var(--lumo-font-size-xl);
|
|
32052
|
+
}
|
|
32053
|
+
|
|
32054
|
+
:where(h4) {
|
|
32055
|
+
font-size: var(--lumo-font-size-l);
|
|
32056
|
+
}
|
|
32057
|
+
|
|
32058
|
+
:where(h5) {
|
|
32059
|
+
font-size: var(--lumo-font-size-m);
|
|
32060
|
+
}
|
|
32061
|
+
|
|
32062
|
+
:where(h6) {
|
|
32063
|
+
font-size: var(--lumo-font-size-xs);
|
|
32064
|
+
text-transform: uppercase;
|
|
32065
|
+
letter-spacing: 0.03em;
|
|
32066
|
+
}
|
|
32067
|
+
|
|
32068
|
+
p,
|
|
32069
|
+
blockquote {
|
|
32070
|
+
margin-top: 0.5em;
|
|
32071
|
+
margin-bottom: 0.75em;
|
|
32072
|
+
}
|
|
32073
|
+
|
|
32074
|
+
a {
|
|
32075
|
+
text-decoration: none;
|
|
32076
|
+
}
|
|
32077
|
+
|
|
32078
|
+
a:where(:any-link):hover {
|
|
32079
|
+
text-decoration: underline;
|
|
32080
|
+
}
|
|
32081
|
+
|
|
32082
|
+
hr {
|
|
32083
|
+
display: block;
|
|
32084
|
+
align-self: stretch;
|
|
32085
|
+
height: 1px;
|
|
32086
|
+
border: 0;
|
|
32087
|
+
padding: 0;
|
|
32088
|
+
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
|
32089
|
+
background-color: var(--lumo-contrast-10pct);
|
|
32090
|
+
}
|
|
32091
|
+
|
|
32092
|
+
blockquote {
|
|
32093
|
+
border-left: 2px solid var(--lumo-contrast-30pct);
|
|
32094
|
+
}
|
|
32095
|
+
|
|
32096
|
+
b,
|
|
32097
|
+
strong {
|
|
32098
|
+
font-weight: 600;
|
|
32099
|
+
}
|
|
32100
|
+
|
|
32101
|
+
/* RTL specific styles */
|
|
32102
|
+
blockquote[dir='rtl'] {
|
|
32103
|
+
border-left: none;
|
|
32104
|
+
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
32105
|
+
}
|
|
32106
|
+
`;
|
|
32107
|
+
|
|
32108
|
+
registerStyles('', typography$1, { moduleId: 'lumo-typography' });
|
|
32109
|
+
addLumoGlobalStyles$1('typography-props', font$1);
|
|
32110
|
+
|
|
32111
|
+
/**
|
|
32112
|
+
* @license
|
|
32113
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32114
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32115
|
+
*/
|
|
32116
|
+
|
|
32117
|
+
const fieldButton = i$1`
|
|
32118
|
+
[part$='button'] {
|
|
32119
|
+
flex: none;
|
|
32120
|
+
width: 1em;
|
|
32121
|
+
height: 1em;
|
|
32122
|
+
line-height: 1;
|
|
32123
|
+
font-size: var(--lumo-icon-size-m);
|
|
32124
|
+
text-align: center;
|
|
32125
|
+
color: var(--lumo-contrast-60pct);
|
|
32126
|
+
transition: 0.2s color;
|
|
32127
|
+
cursor: var(--lumo-clickable-cursor);
|
|
32128
|
+
}
|
|
32129
|
+
|
|
32130
|
+
[part$='button']:hover {
|
|
32131
|
+
color: var(--lumo-contrast-90pct);
|
|
32132
|
+
}
|
|
32133
|
+
|
|
32134
|
+
:host([disabled]) [part$='button'],
|
|
32135
|
+
:host([readonly]) [part$='button'] {
|
|
32136
|
+
color: var(--lumo-contrast-20pct);
|
|
32137
|
+
cursor: default;
|
|
32138
|
+
}
|
|
32139
|
+
|
|
32140
|
+
[part$='button']::before {
|
|
32141
|
+
font-family: 'lumo-icons';
|
|
32142
|
+
display: block;
|
|
32143
|
+
}
|
|
32144
|
+
`;
|
|
32145
|
+
registerStyles('', fieldButton, { moduleId: 'lumo-field-button' });
|
|
32146
|
+
|
|
32147
|
+
/**
|
|
32148
|
+
* @license
|
|
32149
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32150
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32151
|
+
*/
|
|
32152
|
+
|
|
32153
|
+
const helper = i$1`
|
|
32154
|
+
:host([has-helper]) [part='helper-text']::before {
|
|
32155
|
+
content: '';
|
|
32156
|
+
display: block;
|
|
32157
|
+
height: 0.4em;
|
|
32158
|
+
}
|
|
32159
|
+
|
|
32160
|
+
[part='helper-text'] {
|
|
32161
|
+
display: block;
|
|
32162
|
+
color: var(--lumo-secondary-text-color);
|
|
32163
|
+
font-size: var(--lumo-font-size-xs);
|
|
32164
|
+
line-height: var(--lumo-line-height-xs);
|
|
32165
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
32166
|
+
transition: color 0.2s;
|
|
32167
|
+
}
|
|
32168
|
+
|
|
32169
|
+
:host(:hover:not([readonly])) [part='helper-text'] {
|
|
32170
|
+
color: var(--lumo-body-text-color);
|
|
32171
|
+
}
|
|
32172
|
+
|
|
32173
|
+
:host([disabled]) [part='helper-text'] {
|
|
32174
|
+
color: var(--lumo-disabled-text-color);
|
|
32175
|
+
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
32176
|
+
}
|
|
32177
|
+
|
|
32178
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text']::before {
|
|
32179
|
+
display: none;
|
|
32180
|
+
}
|
|
32181
|
+
|
|
32182
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text']::after {
|
|
32183
|
+
content: '';
|
|
32184
|
+
display: block;
|
|
32185
|
+
height: 0.4em;
|
|
32186
|
+
}
|
|
32187
|
+
|
|
32188
|
+
:host([has-helper][theme~='helper-above-field']) [part='label'] {
|
|
32189
|
+
order: 0;
|
|
32190
|
+
padding-bottom: 0.4em;
|
|
32191
|
+
}
|
|
32192
|
+
|
|
32193
|
+
:host([has-helper][theme~='helper-above-field']) [part='helper-text'] {
|
|
32194
|
+
order: 1;
|
|
32195
|
+
}
|
|
32196
|
+
|
|
32197
|
+
:host([has-helper][theme~='helper-above-field']) [part='label'] + * {
|
|
32198
|
+
order: 2;
|
|
32199
|
+
}
|
|
32200
|
+
|
|
32201
|
+
:host([has-helper][theme~='helper-above-field']) [part='error-message'] {
|
|
32202
|
+
order: 3;
|
|
32203
|
+
}
|
|
32204
|
+
`;
|
|
32205
|
+
|
|
32206
|
+
/**
|
|
32207
|
+
* @license
|
|
32208
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32209
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32210
|
+
*/
|
|
32211
|
+
|
|
32212
|
+
const requiredField = i$1`
|
|
32213
|
+
[part='label'] {
|
|
32214
|
+
align-self: flex-start;
|
|
32215
|
+
color: var(--lumo-secondary-text-color);
|
|
32216
|
+
font-weight: 500;
|
|
32217
|
+
font-size: var(--lumo-font-size-s);
|
|
32218
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
32219
|
+
transition: color 0.2s;
|
|
32220
|
+
line-height: 1;
|
|
32221
|
+
padding-right: 1em;
|
|
32222
|
+
padding-bottom: 0.5em;
|
|
32223
|
+
/* As a workaround for diacritics being cut off, add a top padding and a
|
|
32224
|
+
negative margin to compensate */
|
|
32225
|
+
padding-top: 0.25em;
|
|
32226
|
+
margin-top: -0.25em;
|
|
32227
|
+
overflow: hidden;
|
|
32228
|
+
white-space: nowrap;
|
|
32229
|
+
text-overflow: ellipsis;
|
|
32230
|
+
position: relative;
|
|
32231
|
+
max-width: 100%;
|
|
32232
|
+
box-sizing: border-box;
|
|
32233
|
+
}
|
|
32234
|
+
|
|
32235
|
+
:host([has-label])::before {
|
|
32236
|
+
margin-top: calc(var(--lumo-font-size-s) * 1.5);
|
|
32237
|
+
}
|
|
32238
|
+
|
|
32239
|
+
:host([has-label][theme~='small'])::before {
|
|
32240
|
+
margin-top: calc(var(--lumo-font-size-xs) * 1.5);
|
|
32241
|
+
}
|
|
32242
|
+
|
|
32243
|
+
:host([has-label]) {
|
|
32244
|
+
padding-top: var(--lumo-space-m);
|
|
32245
|
+
}
|
|
32246
|
+
|
|
32247
|
+
:host([has-label]) ::slotted([slot='tooltip']) {
|
|
32248
|
+
--vaadin-tooltip-offset-bottom: calc((var(--lumo-space-m) - var(--lumo-space-xs)) * -1);
|
|
32249
|
+
}
|
|
32250
|
+
|
|
32251
|
+
:host([required]) [part='required-indicator']::after {
|
|
32252
|
+
content: var(--lumo-required-field-indicator, '\\2022');
|
|
32253
|
+
transition: opacity 0.2s;
|
|
32254
|
+
color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color));
|
|
32255
|
+
position: absolute;
|
|
32256
|
+
right: 0;
|
|
32257
|
+
width: 1em;
|
|
32258
|
+
text-align: center;
|
|
32259
|
+
}
|
|
32260
|
+
|
|
32261
|
+
:host([invalid]) [part='required-indicator']::after {
|
|
32262
|
+
color: var(--lumo-required-field-indicator-color, var(--lumo-error-text-color));
|
|
32263
|
+
}
|
|
32264
|
+
|
|
32265
|
+
[part='error-message'] {
|
|
32266
|
+
margin-left: calc(var(--lumo-border-radius-m) / 4);
|
|
32267
|
+
font-size: var(--lumo-font-size-xs);
|
|
32268
|
+
line-height: var(--lumo-line-height-xs);
|
|
32269
|
+
color: var(--lumo-error-text-color);
|
|
32270
|
+
will-change: max-height;
|
|
32271
|
+
transition: 0.4s max-height;
|
|
32272
|
+
max-height: 5em;
|
|
32273
|
+
}
|
|
32274
|
+
|
|
32275
|
+
:host([has-error-message]) [part='error-message']::before,
|
|
32276
|
+
:host([has-error-message]) [part='error-message']::after {
|
|
32277
|
+
content: '';
|
|
32278
|
+
display: block;
|
|
32279
|
+
height: 0.4em;
|
|
32280
|
+
}
|
|
32281
|
+
|
|
32282
|
+
:host(:not([invalid])) [part='error-message'] {
|
|
32283
|
+
max-height: 0;
|
|
32284
|
+
overflow: hidden;
|
|
32285
|
+
}
|
|
32286
|
+
|
|
32287
|
+
/* RTL specific styles */
|
|
32288
|
+
|
|
32289
|
+
:host([dir='rtl']) [part='label'] {
|
|
32290
|
+
margin-left: 0;
|
|
32291
|
+
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
32292
|
+
}
|
|
32293
|
+
|
|
32294
|
+
:host([dir='rtl']) [part='label'] {
|
|
32295
|
+
padding-left: 1em;
|
|
32296
|
+
padding-right: 0;
|
|
32297
|
+
}
|
|
32298
|
+
|
|
32299
|
+
:host([dir='rtl']) [part='required-indicator']::after {
|
|
32300
|
+
right: auto;
|
|
32301
|
+
left: 0;
|
|
32302
|
+
}
|
|
32303
|
+
|
|
32304
|
+
:host([dir='rtl']) [part='error-message'] {
|
|
32305
|
+
margin-left: 0;
|
|
32306
|
+
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
32307
|
+
}
|
|
32308
|
+
`;
|
|
32309
|
+
|
|
32310
|
+
registerStyles('', requiredField, { moduleId: 'lumo-required-field' });
|
|
32311
|
+
|
|
32312
|
+
/**
|
|
32313
|
+
* @license
|
|
32314
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32315
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32316
|
+
*/
|
|
32317
|
+
|
|
32318
|
+
const inputField = i$1`
|
|
32319
|
+
:host {
|
|
32320
|
+
--lumo-text-field-size: var(--lumo-size-m);
|
|
32321
|
+
color: var(--lumo-body-text-color);
|
|
32322
|
+
font-size: var(--lumo-font-size-m);
|
|
32323
|
+
font-family: var(--lumo-font-family);
|
|
32324
|
+
-webkit-font-smoothing: antialiased;
|
|
32325
|
+
-moz-osx-font-smoothing: grayscale;
|
|
32326
|
+
-webkit-tap-highlight-color: transparent;
|
|
32327
|
+
padding: var(--lumo-space-xs) 0;
|
|
32328
|
+
}
|
|
32329
|
+
|
|
32330
|
+
:host::before {
|
|
32331
|
+
height: var(--lumo-text-field-size);
|
|
32332
|
+
box-sizing: border-box;
|
|
32333
|
+
display: inline-flex;
|
|
32334
|
+
align-items: center;
|
|
32335
|
+
}
|
|
32336
|
+
|
|
32337
|
+
:host([focused]:not([readonly])) [part='label'] {
|
|
32338
|
+
color: var(--lumo-primary-text-color);
|
|
32339
|
+
}
|
|
32340
|
+
|
|
32341
|
+
:host([focused]) [part='input-field'] ::slotted(:is(input, textarea)) {
|
|
32342
|
+
-webkit-mask-image: none;
|
|
32343
|
+
mask-image: none;
|
|
32344
|
+
}
|
|
32345
|
+
|
|
32346
|
+
::slotted(:is(input, textarea):placeholder-shown) {
|
|
32347
|
+
color: var(--lumo-secondary-text-color);
|
|
32348
|
+
}
|
|
32349
|
+
|
|
32350
|
+
/* Hover */
|
|
32351
|
+
:host(:hover:not([readonly]):not([focused])) [part='label'] {
|
|
32352
|
+
color: var(--lumo-body-text-color);
|
|
32353
|
+
}
|
|
32354
|
+
|
|
32355
|
+
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
32356
|
+
opacity: 0.1;
|
|
32357
|
+
}
|
|
32358
|
+
|
|
32359
|
+
/* Touch device adjustment */
|
|
32360
|
+
@media (pointer: coarse) {
|
|
32361
|
+
:host(:hover:not([readonly]):not([focused])) [part='label'] {
|
|
32362
|
+
color: var(--lumo-secondary-text-color);
|
|
32363
|
+
}
|
|
32364
|
+
|
|
32365
|
+
:host(:hover:not([readonly]):not([focused])) [part='input-field']::after {
|
|
32366
|
+
opacity: 0;
|
|
32367
|
+
}
|
|
32368
|
+
|
|
32369
|
+
:host(:active:not([readonly]):not([focused])) [part='input-field']::after {
|
|
32370
|
+
opacity: 0.2;
|
|
32371
|
+
}
|
|
32372
|
+
}
|
|
32373
|
+
|
|
32374
|
+
/* Trigger when not focusing using the keyboard */
|
|
32375
|
+
:host([focused]:not([focus-ring]):not([readonly])) [part='input-field']::after {
|
|
32376
|
+
transform: scaleX(0);
|
|
32377
|
+
transition-duration: 0.15s, 1s;
|
|
32378
|
+
}
|
|
32379
|
+
|
|
32380
|
+
/* Focus-ring */
|
|
32381
|
+
:host([focus-ring]) [part='input-field'] {
|
|
32382
|
+
box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct);
|
|
32383
|
+
}
|
|
32384
|
+
|
|
32385
|
+
/* Read-only and disabled */
|
|
32386
|
+
:host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) {
|
|
32387
|
+
opacity: 0;
|
|
32388
|
+
}
|
|
32389
|
+
|
|
32390
|
+
/* Read-only style */
|
|
32391
|
+
:host([readonly]) {
|
|
32392
|
+
--vaadin-input-field-border-color: transparent;
|
|
32393
|
+
}
|
|
32394
|
+
|
|
32395
|
+
/* Disabled style */
|
|
32396
|
+
:host([disabled]) {
|
|
32397
|
+
pointer-events: none;
|
|
32398
|
+
--vaadin-input-field-border-color: var(--lumo-contrast-20pct);
|
|
32399
|
+
}
|
|
32400
|
+
|
|
32401
|
+
:host([disabled]) [part='label'],
|
|
32402
|
+
:host([disabled]) [part='input-field'] ::slotted(*) {
|
|
32403
|
+
color: var(--lumo-disabled-text-color);
|
|
32404
|
+
-webkit-text-fill-color: var(--lumo-disabled-text-color);
|
|
32405
|
+
}
|
|
32406
|
+
|
|
32407
|
+
/* Invalid style */
|
|
32408
|
+
:host([invalid]) {
|
|
32409
|
+
--vaadin-input-field-border-color: var(--lumo-error-color);
|
|
32410
|
+
}
|
|
32411
|
+
|
|
32412
|
+
:host([invalid][focus-ring]) [part='input-field'] {
|
|
32413
|
+
box-shadow: 0 0 0 2px var(--lumo-error-color-50pct);
|
|
32414
|
+
}
|
|
32415
|
+
|
|
32416
|
+
:host([input-prevented]) [part='input-field'] {
|
|
32417
|
+
animation: shake 0.15s infinite;
|
|
32418
|
+
}
|
|
32419
|
+
|
|
32420
|
+
@keyframes shake {
|
|
32421
|
+
25% {
|
|
32422
|
+
transform: translateX(4px);
|
|
32423
|
+
}
|
|
32424
|
+
75% {
|
|
32425
|
+
transform: translateX(-4px);
|
|
32426
|
+
}
|
|
32427
|
+
}
|
|
32428
|
+
|
|
32429
|
+
/* Small theme */
|
|
32430
|
+
:host([theme~='small']) {
|
|
32431
|
+
font-size: var(--lumo-font-size-s);
|
|
32432
|
+
--lumo-text-field-size: var(--lumo-size-s);
|
|
32433
|
+
}
|
|
32434
|
+
|
|
32435
|
+
:host([theme~='small']) [part='label'] {
|
|
32436
|
+
font-size: var(--lumo-font-size-xs);
|
|
32437
|
+
}
|
|
32438
|
+
|
|
32439
|
+
:host([theme~='small']) [part='error-message'] {
|
|
32440
|
+
font-size: var(--lumo-font-size-xxs);
|
|
32441
|
+
}
|
|
32442
|
+
|
|
32443
|
+
/* Slotted content */
|
|
32444
|
+
[part='input-field'] ::slotted(:not(vaadin-icon):not(input):not(textarea)) {
|
|
32445
|
+
color: var(--lumo-secondary-text-color);
|
|
32446
|
+
font-weight: 400;
|
|
32447
|
+
}
|
|
32448
|
+
|
|
32449
|
+
[part='clear-button']::before {
|
|
32450
|
+
content: var(--lumo-icons-cross);
|
|
32451
|
+
}
|
|
32452
|
+
`;
|
|
32453
|
+
|
|
32454
|
+
const inputFieldShared = [requiredField, fieldButton, helper, inputField];
|
|
32455
|
+
|
|
32456
|
+
registerStyles('', inputFieldShared, {
|
|
32457
|
+
moduleId: 'lumo-input-field-shared-styles',
|
|
32458
|
+
});
|
|
32459
|
+
|
|
32460
|
+
/**
|
|
32461
|
+
* @license
|
|
32462
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
32463
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
32464
|
+
*/
|
|
32465
|
+
|
|
32466
|
+
registerStyles('vaadin-text-field', inputFieldShared, {
|
|
30693
32467
|
moduleId: 'lumo-text-field-styles',
|
|
30694
32468
|
});
|
|
30695
32469
|
|
|
@@ -30912,7 +32686,7 @@ const TextFieldMixin = (superClass) =>
|
|
|
30912
32686
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30913
32687
|
*/
|
|
30914
32688
|
|
|
30915
|
-
registerStyles('vaadin-text-field', inputFieldShared, { moduleId: 'vaadin-text-field-styles' });
|
|
32689
|
+
registerStyles('vaadin-text-field', inputFieldShared$1, { moduleId: 'vaadin-text-field-styles' });
|
|
30916
32690
|
|
|
30917
32691
|
/**
|
|
30918
32692
|
* `<vaadin-text-field>` is a web component that allows the user to input and edit text.
|
|
@@ -31109,7 +32883,7 @@ const passwordField = i$1`
|
|
|
31109
32883
|
}
|
|
31110
32884
|
`;
|
|
31111
32885
|
|
|
31112
|
-
registerStyles('vaadin-password-field', [inputFieldShared$
|
|
32886
|
+
registerStyles('vaadin-password-field', [inputFieldShared$2, passwordField], { moduleId: 'lumo-password-field' });
|
|
31113
32887
|
|
|
31114
32888
|
/**
|
|
31115
32889
|
* @license
|
|
@@ -31765,6 +33539,318 @@ const RadioInput = class {
|
|
|
31765
33539
|
};
|
|
31766
33540
|
RadioInput.style = radioInputCss;
|
|
31767
33541
|
|
|
33542
|
+
/**
|
|
33543
|
+
* @license
|
|
33544
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33545
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33546
|
+
*/
|
|
33547
|
+
|
|
33548
|
+
/**
|
|
33549
|
+
* Dummy custom element used for collecting
|
|
33550
|
+
* development time usage statistics.
|
|
33551
|
+
*
|
|
33552
|
+
* @private
|
|
33553
|
+
*/
|
|
33554
|
+
class Lumo extends HTMLElement {
|
|
33555
|
+
static get is() {
|
|
33556
|
+
return 'vaadin-lumo-styles';
|
|
33557
|
+
}
|
|
33558
|
+
|
|
33559
|
+
static get version() {
|
|
33560
|
+
return '24.2.5';
|
|
33561
|
+
}
|
|
33562
|
+
}
|
|
33563
|
+
|
|
33564
|
+
defineCustomElement(Lumo);
|
|
33565
|
+
|
|
33566
|
+
const addLumoGlobalStyles = (id, ...styles) => {
|
|
33567
|
+
addGlobalThemeStyles(`lumo-${id}`, styles);
|
|
33568
|
+
};
|
|
33569
|
+
|
|
33570
|
+
/**
|
|
33571
|
+
* @license
|
|
33572
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33573
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33574
|
+
*/
|
|
33575
|
+
|
|
33576
|
+
const fontIcons = i$1`
|
|
33577
|
+
@font-face {
|
|
33578
|
+
font-family: 'lumo-icons';
|
|
33579
|
+
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AA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FNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
33580
|
+
format('woff');
|
|
33581
|
+
font-weight: normal;
|
|
33582
|
+
font-style: normal;
|
|
33583
|
+
}
|
|
33584
|
+
|
|
33585
|
+
html {
|
|
33586
|
+
--lumo-icons-align-center: '\\ea01';
|
|
33587
|
+
--lumo-icons-align-left: '\\ea02';
|
|
33588
|
+
--lumo-icons-align-right: '\\ea03';
|
|
33589
|
+
--lumo-icons-angle-down: '\\ea04';
|
|
33590
|
+
--lumo-icons-angle-left: '\\ea05';
|
|
33591
|
+
--lumo-icons-angle-right: '\\ea06';
|
|
33592
|
+
--lumo-icons-angle-up: '\\ea07';
|
|
33593
|
+
--lumo-icons-arrow-down: '\\ea08';
|
|
33594
|
+
--lumo-icons-arrow-left: '\\ea09';
|
|
33595
|
+
--lumo-icons-arrow-right: '\\ea0a';
|
|
33596
|
+
--lumo-icons-arrow-up: '\\ea0b';
|
|
33597
|
+
--lumo-icons-bar-chart: '\\ea0c';
|
|
33598
|
+
--lumo-icons-bell: '\\ea0d';
|
|
33599
|
+
--lumo-icons-calendar: '\\ea0e';
|
|
33600
|
+
--lumo-icons-checkmark: '\\ea0f';
|
|
33601
|
+
--lumo-icons-chevron-down: '\\ea10';
|
|
33602
|
+
--lumo-icons-chevron-left: '\\ea11';
|
|
33603
|
+
--lumo-icons-chevron-right: '\\ea12';
|
|
33604
|
+
--lumo-icons-chevron-up: '\\ea13';
|
|
33605
|
+
--lumo-icons-clock: '\\ea14';
|
|
33606
|
+
--lumo-icons-cog: '\\ea15';
|
|
33607
|
+
--lumo-icons-cross: '\\ea16';
|
|
33608
|
+
--lumo-icons-download: '\\ea17';
|
|
33609
|
+
--lumo-icons-dropdown: '\\ea18';
|
|
33610
|
+
--lumo-icons-edit: '\\ea19';
|
|
33611
|
+
--lumo-icons-error: '\\ea1a';
|
|
33612
|
+
--lumo-icons-eye: '\\ea1b';
|
|
33613
|
+
--lumo-icons-eye-disabled: '\\ea1c';
|
|
33614
|
+
--lumo-icons-menu: '\\ea1d';
|
|
33615
|
+
--lumo-icons-minus: '\\ea1e';
|
|
33616
|
+
--lumo-icons-ordered-list: '\\ea1f';
|
|
33617
|
+
--lumo-icons-phone: '\\ea20';
|
|
33618
|
+
--lumo-icons-photo: '\\ea21';
|
|
33619
|
+
--lumo-icons-play: '\\ea22';
|
|
33620
|
+
--lumo-icons-plus: '\\ea23';
|
|
33621
|
+
--lumo-icons-redo: '\\ea24';
|
|
33622
|
+
--lumo-icons-reload: '\\ea25';
|
|
33623
|
+
--lumo-icons-search: '\\ea26';
|
|
33624
|
+
--lumo-icons-undo: '\\ea27';
|
|
33625
|
+
--lumo-icons-unordered-list: '\\ea28';
|
|
33626
|
+
--lumo-icons-upload: '\\ea29';
|
|
33627
|
+
--lumo-icons-user: '\\ea2a';
|
|
33628
|
+
}
|
|
33629
|
+
`;
|
|
33630
|
+
|
|
33631
|
+
addLumoGlobalStyles('font-icons', fontIcons);
|
|
33632
|
+
|
|
33633
|
+
/**
|
|
33634
|
+
* @license
|
|
33635
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33636
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33637
|
+
*/
|
|
33638
|
+
|
|
33639
|
+
const sizing = i$1`
|
|
33640
|
+
:host {
|
|
33641
|
+
--lumo-size-xs: 1.625rem;
|
|
33642
|
+
--lumo-size-s: 1.875rem;
|
|
33643
|
+
--lumo-size-m: 2.25rem;
|
|
33644
|
+
--lumo-size-l: 2.75rem;
|
|
33645
|
+
--lumo-size-xl: 3.5rem;
|
|
33646
|
+
|
|
33647
|
+
/* Icons */
|
|
33648
|
+
--lumo-icon-size-s: 1.25em;
|
|
33649
|
+
--lumo-icon-size-m: 1.5em;
|
|
33650
|
+
--lumo-icon-size-l: 2.25em;
|
|
33651
|
+
/* For backwards compatibility */
|
|
33652
|
+
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
33653
|
+
}
|
|
33654
|
+
`;
|
|
33655
|
+
|
|
33656
|
+
addLumoGlobalStyles('sizing-props', sizing);
|
|
33657
|
+
|
|
33658
|
+
/**
|
|
33659
|
+
* @license
|
|
33660
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33661
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33662
|
+
*/
|
|
33663
|
+
|
|
33664
|
+
const spacing = i$1`
|
|
33665
|
+
:host {
|
|
33666
|
+
/* Square */
|
|
33667
|
+
--lumo-space-xs: 0.25rem;
|
|
33668
|
+
--lumo-space-s: 0.5rem;
|
|
33669
|
+
--lumo-space-m: 1rem;
|
|
33670
|
+
--lumo-space-l: 1.5rem;
|
|
33671
|
+
--lumo-space-xl: 2.5rem;
|
|
33672
|
+
|
|
33673
|
+
/* Wide */
|
|
33674
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
|
33675
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
|
33676
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
|
33677
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
|
33678
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
|
33679
|
+
|
|
33680
|
+
/* Tall */
|
|
33681
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
|
33682
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
|
33683
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
|
33684
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
|
33685
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
33686
|
+
}
|
|
33687
|
+
`;
|
|
33688
|
+
|
|
33689
|
+
addLumoGlobalStyles('spacing-props', spacing);
|
|
33690
|
+
|
|
33691
|
+
/**
|
|
33692
|
+
* @license
|
|
33693
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33694
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33695
|
+
*/
|
|
33696
|
+
|
|
33697
|
+
const style = i$1`
|
|
33698
|
+
:host {
|
|
33699
|
+
/* Border radius */
|
|
33700
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
33701
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
|
33702
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
|
33703
|
+
|
|
33704
|
+
/* Shadow */
|
|
33705
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
|
33706
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
|
33707
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
|
33708
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
|
33709
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
|
33710
|
+
|
|
33711
|
+
/* Clickable element cursor */
|
|
33712
|
+
--lumo-clickable-cursor: default;
|
|
33713
|
+
}
|
|
33714
|
+
`;
|
|
33715
|
+
|
|
33716
|
+
/**
|
|
33717
|
+
* Default values for component-specific custom properties.
|
|
33718
|
+
*/
|
|
33719
|
+
i$1`
|
|
33720
|
+
html {
|
|
33721
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
33722
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
33723
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
33724
|
+
}
|
|
33725
|
+
`;
|
|
33726
|
+
|
|
33727
|
+
addLumoGlobalStyles('style-props', style);
|
|
33728
|
+
|
|
33729
|
+
/**
|
|
33730
|
+
* @license
|
|
33731
|
+
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
33732
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
33733
|
+
*/
|
|
33734
|
+
|
|
33735
|
+
const font = i$1`
|
|
33736
|
+
:host {
|
|
33737
|
+
/* prettier-ignore */
|
|
33738
|
+
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
33739
|
+
|
|
33740
|
+
/* Font sizes */
|
|
33741
|
+
--lumo-font-size-xxs: 0.75rem;
|
|
33742
|
+
--lumo-font-size-xs: 0.8125rem;
|
|
33743
|
+
--lumo-font-size-s: 0.875rem;
|
|
33744
|
+
--lumo-font-size-m: 1rem;
|
|
33745
|
+
--lumo-font-size-l: 1.125rem;
|
|
33746
|
+
--lumo-font-size-xl: 1.375rem;
|
|
33747
|
+
--lumo-font-size-xxl: 1.75rem;
|
|
33748
|
+
--lumo-font-size-xxxl: 2.5rem;
|
|
33749
|
+
|
|
33750
|
+
/* Line heights */
|
|
33751
|
+
--lumo-line-height-xs: 1.25;
|
|
33752
|
+
--lumo-line-height-s: 1.375;
|
|
33753
|
+
--lumo-line-height-m: 1.625;
|
|
33754
|
+
}
|
|
33755
|
+
`;
|
|
33756
|
+
|
|
33757
|
+
const typography = i$1`
|
|
33758
|
+
body,
|
|
33759
|
+
:host {
|
|
33760
|
+
font-family: var(--lumo-font-family);
|
|
33761
|
+
font-size: var(--lumo-font-size-m);
|
|
33762
|
+
line-height: var(--lumo-line-height-m);
|
|
33763
|
+
-webkit-text-size-adjust: 100%;
|
|
33764
|
+
-webkit-font-smoothing: antialiased;
|
|
33765
|
+
-moz-osx-font-smoothing: grayscale;
|
|
33766
|
+
}
|
|
33767
|
+
|
|
33768
|
+
small,
|
|
33769
|
+
[theme~='font-size-s'] {
|
|
33770
|
+
font-size: var(--lumo-font-size-s);
|
|
33771
|
+
line-height: var(--lumo-line-height-s);
|
|
33772
|
+
}
|
|
33773
|
+
|
|
33774
|
+
[theme~='font-size-xs'] {
|
|
33775
|
+
font-size: var(--lumo-font-size-xs);
|
|
33776
|
+
line-height: var(--lumo-line-height-xs);
|
|
33777
|
+
}
|
|
33778
|
+
|
|
33779
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
33780
|
+
font-weight: 600;
|
|
33781
|
+
line-height: var(--lumo-line-height-xs);
|
|
33782
|
+
margin-block: 0;
|
|
33783
|
+
}
|
|
33784
|
+
|
|
33785
|
+
:where(h1) {
|
|
33786
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
33787
|
+
}
|
|
33788
|
+
|
|
33789
|
+
:where(h2) {
|
|
33790
|
+
font-size: var(--lumo-font-size-xxl);
|
|
33791
|
+
}
|
|
33792
|
+
|
|
33793
|
+
:where(h3) {
|
|
33794
|
+
font-size: var(--lumo-font-size-xl);
|
|
33795
|
+
}
|
|
33796
|
+
|
|
33797
|
+
:where(h4) {
|
|
33798
|
+
font-size: var(--lumo-font-size-l);
|
|
33799
|
+
}
|
|
33800
|
+
|
|
33801
|
+
:where(h5) {
|
|
33802
|
+
font-size: var(--lumo-font-size-m);
|
|
33803
|
+
}
|
|
33804
|
+
|
|
33805
|
+
:where(h6) {
|
|
33806
|
+
font-size: var(--lumo-font-size-xs);
|
|
33807
|
+
text-transform: uppercase;
|
|
33808
|
+
letter-spacing: 0.03em;
|
|
33809
|
+
}
|
|
33810
|
+
|
|
33811
|
+
p,
|
|
33812
|
+
blockquote {
|
|
33813
|
+
margin-top: 0.5em;
|
|
33814
|
+
margin-bottom: 0.75em;
|
|
33815
|
+
}
|
|
33816
|
+
|
|
33817
|
+
a {
|
|
33818
|
+
text-decoration: none;
|
|
33819
|
+
}
|
|
33820
|
+
|
|
33821
|
+
a:where(:any-link):hover {
|
|
33822
|
+
text-decoration: underline;
|
|
33823
|
+
}
|
|
33824
|
+
|
|
33825
|
+
hr {
|
|
33826
|
+
display: block;
|
|
33827
|
+
align-self: stretch;
|
|
33828
|
+
height: 1px;
|
|
33829
|
+
border: 0;
|
|
33830
|
+
padding: 0;
|
|
33831
|
+
margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2);
|
|
33832
|
+
background-color: var(--lumo-contrast-10pct);
|
|
33833
|
+
}
|
|
33834
|
+
|
|
33835
|
+
blockquote {
|
|
33836
|
+
border-left: 2px solid var(--lumo-contrast-30pct);
|
|
33837
|
+
}
|
|
33838
|
+
|
|
33839
|
+
b,
|
|
33840
|
+
strong {
|
|
33841
|
+
font-weight: 600;
|
|
33842
|
+
}
|
|
33843
|
+
|
|
33844
|
+
/* RTL specific styles */
|
|
33845
|
+
blockquote[dir='rtl'] {
|
|
33846
|
+
border-left: none;
|
|
33847
|
+
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
33848
|
+
}
|
|
33849
|
+
`;
|
|
33850
|
+
|
|
33851
|
+
registerStyles('', typography, { moduleId: 'lumo-typography' });
|
|
33852
|
+
addLumoGlobalStyles('typography-props', font);
|
|
33853
|
+
|
|
31768
33854
|
const item = i$1`
|
|
31769
33855
|
:host {
|
|
31770
33856
|
display: flex;
|
|
@@ -31986,7 +34072,7 @@ const comboBox = i$1`
|
|
|
31986
34072
|
}
|
|
31987
34073
|
`;
|
|
31988
34074
|
|
|
31989
|
-
registerStyles('vaadin-combo-box', [inputFieldShared$
|
|
34075
|
+
registerStyles('vaadin-combo-box', [inputFieldShared$2, comboBox], { moduleId: 'lumo-combo-box' });
|
|
31990
34076
|
|
|
31991
34077
|
/**
|
|
31992
34078
|
* @license
|
|
@@ -33329,7 +35415,9 @@ class IronListAdapter {
|
|
|
33329
35415
|
this.__preventElementUpdates = false;
|
|
33330
35416
|
} else {
|
|
33331
35417
|
// Already initialized, just update _virtualCount
|
|
35418
|
+
this._updateScrollerSize();
|
|
33332
35419
|
this._virtualCount = this.items.length;
|
|
35420
|
+
this._render();
|
|
33333
35421
|
}
|
|
33334
35422
|
|
|
33335
35423
|
// When reducing size while invisible, iron-list does not update items, so
|
|
@@ -34878,6 +36966,14 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34878
36966
|
observer: '_toggleElementChanged',
|
|
34879
36967
|
},
|
|
34880
36968
|
|
|
36969
|
+
/**
|
|
36970
|
+
* Set of items to be rendered in the dropdown.
|
|
36971
|
+
* @protected
|
|
36972
|
+
*/
|
|
36973
|
+
_dropdownItems: {
|
|
36974
|
+
type: Array,
|
|
36975
|
+
},
|
|
36976
|
+
|
|
34881
36977
|
/** @private */
|
|
34882
36978
|
_closeOnBlurIsPrevented: Boolean,
|
|
34883
36979
|
|
|
@@ -34895,8 +36991,8 @@ const ComboBoxMixin = (subclass) =>
|
|
|
34895
36991
|
static get observers() {
|
|
34896
36992
|
return [
|
|
34897
36993
|
'_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)',
|
|
34898
|
-
'_openedOrItemsChanged(opened,
|
|
34899
|
-
'_updateScroller(_scroller,
|
|
36994
|
+
'_openedOrItemsChanged(opened, _dropdownItems, loading)',
|
|
36995
|
+
'_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, theme)',
|
|
34900
36996
|
];
|
|
34901
36997
|
}
|
|
34902
36998
|
|
|
@@ -35135,7 +37231,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35135
37231
|
this.dispatchEvent(new CustomEvent('vaadin-combo-box-dropdown-opened', { bubbles: true, composed: true }));
|
|
35136
37232
|
|
|
35137
37233
|
this._onOpened();
|
|
35138
|
-
} else if (wasOpened && this.
|
|
37234
|
+
} else if (wasOpened && this._dropdownItems && this._dropdownItems.length) {
|
|
35139
37235
|
this.close();
|
|
35140
37236
|
|
|
35141
37237
|
this.dispatchEvent(new CustomEvent('vaadin-combo-box-dropdown-closed', { bubbles: true, composed: true }));
|
|
@@ -35325,7 +37421,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35325
37421
|
/** @private */
|
|
35326
37422
|
_onArrowDown() {
|
|
35327
37423
|
if (this.opened) {
|
|
35328
|
-
const items = this.
|
|
37424
|
+
const items = this._dropdownItems;
|
|
35329
37425
|
if (items) {
|
|
35330
37426
|
this._focusedIndex = Math.min(items.length - 1, this._focusedIndex + 1);
|
|
35331
37427
|
this._prefillFocusedItemLabel();
|
|
@@ -35341,7 +37437,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35341
37437
|
if (this._focusedIndex > -1) {
|
|
35342
37438
|
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
35343
37439
|
} else {
|
|
35344
|
-
const items = this.
|
|
37440
|
+
const items = this._dropdownItems;
|
|
35345
37441
|
if (items) {
|
|
35346
37442
|
this._focusedIndex = items.length - 1;
|
|
35347
37443
|
}
|
|
@@ -35356,7 +37452,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35356
37452
|
/** @private */
|
|
35357
37453
|
_prefillFocusedItemLabel() {
|
|
35358
37454
|
if (this._focusedIndex > -1) {
|
|
35359
|
-
const focusedItem = this.
|
|
37455
|
+
const focusedItem = this._dropdownItems[this._focusedIndex];
|
|
35360
37456
|
this._inputElementValue = this._getItemLabel(focusedItem);
|
|
35361
37457
|
this._markAllSelectionRange();
|
|
35362
37458
|
}
|
|
@@ -35529,7 +37625,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35529
37625
|
/** @private */
|
|
35530
37626
|
_commitValue() {
|
|
35531
37627
|
if (this._focusedIndex > -1) {
|
|
35532
|
-
const focusedItem = this.
|
|
37628
|
+
const focusedItem = this._dropdownItems[this._focusedIndex];
|
|
35533
37629
|
if (this.selectedItem !== focusedItem) {
|
|
35534
37630
|
this.selectedItem = focusedItem;
|
|
35535
37631
|
}
|
|
@@ -35544,7 +37640,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35544
37640
|
}
|
|
35545
37641
|
} else {
|
|
35546
37642
|
// Try to find an item which label matches the input value.
|
|
35547
|
-
const items = [this.selectedItem, ...(this.
|
|
37643
|
+
const items = [this.selectedItem, ...(this._dropdownItems || [])];
|
|
35548
37644
|
const itemMatchingInputValue = items[this.__getItemIndexByLabel(items, this._inputElementValue)];
|
|
35549
37645
|
|
|
35550
37646
|
if (
|
|
@@ -35759,6 +37855,8 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35759
37855
|
|
|
35760
37856
|
/** @private */
|
|
35761
37857
|
_filteredItemsChanged(filteredItems, oldFilteredItems) {
|
|
37858
|
+
this._setDropdownItems(filteredItems);
|
|
37859
|
+
|
|
35762
37860
|
// Store the currently focused item if any. The focused index preserves
|
|
35763
37861
|
// in the case when more filtered items are loading but it is reset
|
|
35764
37862
|
// when the user types in a filter query.
|
|
@@ -35819,6 +37917,16 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35819
37917
|
}
|
|
35820
37918
|
}
|
|
35821
37919
|
|
|
37920
|
+
/**
|
|
37921
|
+
* Provide items to be rendered in the dropdown.
|
|
37922
|
+
* Override this method to show custom items.
|
|
37923
|
+
*
|
|
37924
|
+
* @protected
|
|
37925
|
+
*/
|
|
37926
|
+
_setDropdownItems(items) {
|
|
37927
|
+
this._dropdownItems = items;
|
|
37928
|
+
}
|
|
37929
|
+
|
|
35822
37930
|
/** @private */
|
|
35823
37931
|
_getItemElements() {
|
|
35824
37932
|
return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`));
|
|
@@ -35985,7 +38093,7 @@ const ComboBoxMixin = (subclass) =>
|
|
|
35985
38093
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35986
38094
|
*/
|
|
35987
38095
|
|
|
35988
|
-
registerStyles('vaadin-combo-box', inputFieldShared, { moduleId: 'vaadin-combo-box-styles' });
|
|
38096
|
+
registerStyles('vaadin-combo-box', inputFieldShared$1, { moduleId: 'vaadin-combo-box-styles' });
|
|
35989
38097
|
|
|
35990
38098
|
/**
|
|
35991
38099
|
* `<vaadin-combo-box>` is a web component for choosing a value from a filterable list of options
|