@lion/ui 0.20.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/components/form-core/src/FormatMixin.js +10 -5
- package/components/form-core/test-helpers/mimicUserInput.js +1 -0
- package/components/form-core/test-suites/FormatMixin.suite.js +31 -14
- package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +51 -8
- package/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.js +5 -0
- package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +1 -0
- package/components/input-datepicker/src/LionInputDatepicker.js +4 -0
- package/components/input-datepicker/test/lion-input-datepicker.test.js +55 -0
- package/components/input-range/src/LionInputRange.js +51 -8
- package/components/input-range/test/lion-input-range.test.js +114 -0
- package/components/input-tel/src/LionInputTel.js +1 -4
- package/components/input-tel-dropdown/test/LionInputTelDropdown.test.js +5 -1
- package/components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.js +90 -0
- package/components/input-tel-dropdown/test-suites/types.ts +6 -0
- package/custom-elements.json +425 -66
- package/dist-types/components/form-core/src/FormatMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/test-helpers/mimicUserInput.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/FormatMixin.suite.d.ts +8 -0
- package/dist-types/components/form-core/test-suites/FormatMixin.suite.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts +24 -6
- package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -0
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/test/lion-input-datepicker.test.d.ts.map +1 -1
- package/dist-types/components/input-range/src/LionInputRange.d.ts +11 -0
- package/dist-types/components/input-range/src/LionInputRange.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/test/LionInputTelDropdown.test.d.ts.map +1 -1
- package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.d.ts +11 -0
- package/dist-types/components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.d.ts.map +1 -0
- package/dist-types/components/input-tel-dropdown/test-suites/types.d.ts +6 -0
- package/dist-types/components/input-tel-dropdown/test-suites/types.d.ts.map +1 -0
- package/dist-types/exports/input-tel-dropdown-test-suites.d.ts +1 -0
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/api-table.md +4 -2
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/api-table.md +2 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/api-table.md +2 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-amount-dropdown/api-table.md +4 -3
- package/docs/components/input-date/api-table.md +2 -1
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/api-table.md +2 -1
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/api-table.md +2 -1
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/api-table.md +2 -1
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/api-table.md +2 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/api-table.md +7 -1
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-range/use-cases.md +14 -0
- package/docs/components/input-stepper/api-table.md +2 -1
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/api-table.md +2 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/api-table.md +2 -1
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/api-table.md +2 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/api-table.md +2 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/api-table.md +2 -1
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/switch/api-table.md +2 -1
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/textarea/api-table.md +2 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/api-table.md +2 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/how-to/index.md +1 -1
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/exports/input-tel-dropdown-test-suites.js +1 -0
- package/input-tel-dropdown-test-suites.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormatMixin.d.ts","sourceRoot":"","sources":["../../../../components/form-core/src/FormatMixin.js"],"names":[],"mappings":"0BAWa,OAAO,8BAA8B,EAAE,WAAW;
|
|
1
|
+
{"version":3,"file":"FormatMixin.d.ts","sourceRoot":"","sources":["../../../../components/form-core/src/FormatMixin.js"],"names":[],"mappings":"0BAWa,OAAO,8BAA8B,EAAE,WAAW;AA+nB/D,6FAAkE;qCAjoBrD,OAAO,mCAAmC,EAAE,sBAAsB;4BAClE,OAAO,8BAA8B,EAAE,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mimicUserInput.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-helpers/mimicUserInput.js"],"names":[],"mappings":"AACA;;;;GAIG;AACH,4CAJW,WAAW,0CAEX;IAAC,UAAU,CAAC,EAAC,MAAM,CAAA;CAAC,
|
|
1
|
+
{"version":3,"file":"mimicUserInput.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-helpers/mimicUserInput.js"],"names":[],"mappings":"AACA;;;;GAIG;AACH,4CAJW,WAAW,0CAEX;IAAC,UAAU,CAAC,EAAC,MAAM,CAAA;CAAC,QAY9B"}
|
|
@@ -34,6 +34,14 @@ export type FormatMixinSuiteConfig = {
|
|
|
34
34
|
* - Optional. Expected initial serializedValue state when element is created without a value. If not provided, defaults will be generated based on modelValueType.
|
|
35
35
|
*/
|
|
36
36
|
getExpectedInitialSerializedValue?: ((el: FormatClass) => any) | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* - Optional. Expected modelValue after user clears the input node value. Defaults to empty string.
|
|
39
|
+
*/
|
|
40
|
+
getExpectedModelValueForEmptyInputNode?: ((el: FormatClass) => any) | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* - Optional. Parser override used by tests. When provided, it is applied before connectedCallback so fallback init sync uses it.
|
|
43
|
+
*/
|
|
44
|
+
parser?: ((value: string, opts?: any) => any) | undefined;
|
|
37
45
|
/**
|
|
38
46
|
* - Optional. Offset for model-value-changed event counter. Use 0 for most types, 1 for Date types where parseDate() creates new objects. If not provided, defaults will be generated based on modelValueType.
|
|
39
47
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormatMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-suites/FormatMixin.suite.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormatMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-suites/FormatMixin.suite.js"],"names":[],"mappings":"AA6JA;;GAEG;AACH,6FAuyBC;;;;;;;;;;;;;oBA95Ba,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,GAAG,MAAM,GAAG,OAAO;;;;2BAC/H;QAAE,WAAW,EAAE,OAAO,CAAC;QAAC,SAAS,EAAE,OAAO,CAAA;KAAE,KAAK,GAAG;;;;yCACtD,WAAW,KAAK,GAAG;;;;6CACnB,WAAW,KAAK,GAAG;;;;8CACnB,WAAW,KAAK,GAAG;;;;mDACnB,WAAW,KAAK,GAAG;;;;sBAChB,MAAM,SAAS,GAAG,KAAK,GAAG;;;;;;8BArCnC,OAAO,mCAAmC,EAAE,eAAe;6BAC3D,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,eAAe,GAAG,MAAM,GAAG,OAAO;;AAFnJ;;;GAGG;AAEH;IACE,mCAEC;IAED,uDAEC;CAcF"}
|
|
@@ -37,11 +37,6 @@
|
|
|
37
37
|
* @customElement lion-input-amount-dropdown
|
|
38
38
|
*/
|
|
39
39
|
export class LionInputAmountDropdown extends LionInputAmount {
|
|
40
|
-
/**
|
|
41
|
-
* @configure LitElement
|
|
42
|
-
* @type {any}
|
|
43
|
-
*/
|
|
44
|
-
static properties: any;
|
|
45
40
|
static localizeNamespaces: import("../../localize/types/LocalizeMixinTypes.js").NamespaceObject[];
|
|
46
41
|
static templates: {
|
|
47
42
|
dropdown: (templateDataForDropdown: TemplateDataForDropdownInputAmount) => import("lit-html").TemplateResult<1>;
|
|
@@ -56,6 +51,21 @@ export class LionInputAmountDropdown extends LionInputAmount {
|
|
|
56
51
|
* @enhance LionInputAmountDropdown
|
|
57
52
|
*/
|
|
58
53
|
static styles: (import("lit").CSSResult | (import("lit").CSSResultOrNative | import("lit").CSSResultArray)[])[];
|
|
54
|
+
/**
|
|
55
|
+
* The internal modelValue is a combination of the amount and the currency code. The amount is a number, the currency code is a string.
|
|
56
|
+
* @private
|
|
57
|
+
* @type {import('../types/index.js').AmountDropdownModelValue}
|
|
58
|
+
*/
|
|
59
|
+
private __modelValue;
|
|
60
|
+
/**
|
|
61
|
+
* For a FormControl to function properly, its modelValue, serializedValue and viewValue/formattedValue
|
|
62
|
+
* should always translate in two directions. This is expected by `_callParser` method. It guards for empty
|
|
63
|
+
* viewValues. As the viewValue (`.value`) only concerns the amount part and not the currency part in
|
|
64
|
+
* InputAmountDropdown, this contract is broken.
|
|
65
|
+
* Below, we compensate for this.
|
|
66
|
+
*/
|
|
67
|
+
set modelValue(arg: import("../types/index.js").AmountDropdownModelValue);
|
|
68
|
+
get modelValue(): import("../types/index.js").AmountDropdownModelValue;
|
|
59
69
|
refs: {
|
|
60
70
|
/** @type {DropdownRef} */
|
|
61
71
|
dropdown: DropdownRef;
|
|
@@ -152,13 +162,21 @@ export class LionInputAmountDropdown extends LionInputAmount {
|
|
|
152
162
|
_currencyUtil: {
|
|
153
163
|
countryToCurrencyMap: import("../types/index.js").RegionToCurrencyMap;
|
|
154
164
|
allCurrencies: import("../types/index.js").AllCurrenciesSet;
|
|
155
|
-
getCurrencySymbol: (currency: import("../types/index.js").CurrencyCode, locale: string) => string;
|
|
165
|
+
getCurrencySymbol: (currency: import("../types/index.js").CurrencyCode, locale: string) => string; /** @type {DropdownRef} */
|
|
156
166
|
};
|
|
157
167
|
/**
|
|
158
168
|
* @protected
|
|
159
169
|
*/
|
|
160
170
|
protected _initModelValueBasedOnDropdown(): void;
|
|
161
171
|
__initializedCurrencyCode: string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Used for Required validation and computation of interaction states.
|
|
174
|
+
* We only consider the amount part for emptiness checks.
|
|
175
|
+
* Missing, null, empty-string or NaN amount is considered empty.
|
|
176
|
+
* @return {boolean}
|
|
177
|
+
* @protected
|
|
178
|
+
*/
|
|
179
|
+
protected _isEmpty(modelValue?: import("../types/index.js").AmountDropdownModelValue): boolean;
|
|
162
180
|
/**
|
|
163
181
|
* Prepares data for options, like "Greece (Ελλάδα)", where "Greece" is `nameForLocale` and
|
|
164
182
|
* "Ελλάδα" `nameForRegion`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputAmountDropdown.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/LionInputAmountDropdown.js"],"names":[],"mappings":"AA6BA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;GASG;AAEH;
|
|
1
|
+
{"version":3,"file":"LionInputAmountDropdown.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/LionInputAmountDropdown.js"],"names":[],"mappings":"AA6BA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;GASG;AAEH;IAgDE,kGAGE;IA+EF;4CACwB,kCAAkC;QA0BxD;;;WAGG;kDAFQ,kCAAkC,mDAClC,UAAU;MAgBrB;IAEF;;;OAGG;IACH,gHA4BE;IA/LF;;;;OAIG;IACH,qBAAa;IAEb;;;;;;OAMG;IAEH,0EASC;IAED,uEAEC;IAOD;QACE,0BAA0B;kBAAf,WAAW;MAEtB;IAEF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,4FA8BC;IASD,+BAMC;IAbD;;OAEG;IACH,4BAEC;IAOC,gBAoJU,MAAM,CApJc;IA6G9B;;;OAGG;IACH,oFAEC;IAED,gDAEE;IAYF,qLAAyB;IAKzB;;;OAGG;IACH,wBAHW,OAAO,mBAAmB,EAAE,wBAAwB,iHAG4B;IAC3F,yFAA4B;IAC5B,gGAAgC;IAEhC,uCAAkD;IAQlD;;;OAGG;IACH,qBAFU,YAAY,EAAE,CAEK;IAE7B;;;OAGG;IACH,mBAFU,YAAY,EAAE,CAEG;IAE3B;;;OAGG;IACH,sCAA6B;IAC7B;;;OAGG;IACH,4CAAmC;IAEnC;;;;;OAKG;IACH,yBAA0B;IAE1B;;;;OAIG;IACH,kCAAmC;IAqFrC;;;OAGG;IACH,wCAFW,qBAAqB,QA0B/B;IAED;;OAEG;IACH,mCAmBC;IA5HC;;;2GAlRA,0BAA0B;MAkRO;IA6CnC;;OAEG;IACH,iDAQC;IALG,8CAA8C;IAOlD;;;;;;OAMG;IACH,uFAHY,OAAO,CAQlB;IAwDD;;;;;;;OAOG;IACH,6BAmBC;IAED;;;;;;;;OAQG;IAEH,6CAEC;IAED,kCAqCC;IAED;;;;OAIG;IACH,0EAIC;CACF;kBA7jBY,OAAO,uBAAuB,EAAE,GAAG;4BACnC,OAAO,KAAK,EAAE,aAAa;yBAC3B,OAAO,2CAA2C,EAAE,UAAU;yBAC9D,OAAO,gCAAgC,EAAE,UAAU;iDACnD,OAAO,mBAAmB,EAAE,kCAAkC;oCAC9D,OAAO,mBAAmB,EAAE,qBAAqB;0BACjD,OAAO,mBAAmB,EAAE,WAAW;yBACvC,OAAO,mBAAmB,EAAE,UAAU;2BACtC,OAAO,mBAAmB,EAAE,YAAY;6BACxC,OAAO,yCAAyC,EAAE,cAAc;gCAChE,OAAO,yCAAyC,EAAE,iBAAiB;4BACnE,OAAO,2CAA2C,EAAE,aAAa;kCACjE,aAAa,GAAG;IAAC,MAAM,CAAC,EAAC,MAAM,CAAC;IAAA,QAAQ,EAAC,MAAM,GAAC,SAAS,CAAA;CAAC;6CAC1D,kCAAkC,GAAG;IAAC,IAAI,EAAE;QAAC,cAAc,EAAC,UAAU,EAAE,CAAA;KAAC,CAAA;CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputAmountDropdown.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js"],"names":[],"mappings":"AAuCA;;GAEG;AAEH,wDAHW;IAAE,KAAK,EAAC,uBAAuB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"LionInputAmountDropdown.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js"],"names":[],"mappings":"AAuCA;;GAEG;AAEH,wDAHW;IAAE,KAAK,EAAC,uBAAuB,CAAA;CAAE,QAyW3C;iDAjYY,OAAO,mBAAmB,EAAE,kCAAkC;8BAC9D,iBAAiB,IAAC,WAAW,GAAG;IAAC,UAAU,EAAC,MAAM,CAAA;CAAC,CAAA;6BACnD,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputDatepicker.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/src/LionInputDatepicker.js"],"names":[],"mappings":";AAiBA;;;GAGG;AAEH;;GAEG;AACH;IAGE;;MAKC;IAED,wFAgCC;IAED,kBAAkB;IAClB,6BAgCC;
|
|
1
|
+
{"version":3,"file":"LionInputDatepicker.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/src/LionInputDatepicker.js"],"names":[],"mappings":";AAiBA;;;GAGG;AAEH;;GAEG;AACH;IAGE;;MAKC;IAED,wFAgCC;IAED,kBAAkB;IAClB,6BAgCC;IA8RD;;;;;OAKG;IACH,gDAFa,IAAI,GAAG,SAAS,CAM5B;IA3RD;;OAEG;IACH,0CAEC;IAED;;;OAGG;IACH,4CAIC;IAED,mCAEC;IAIC,eAAe;IACf,oBAAuC;IACvC,iBAAiB;IACjB,uCAAoC;IAGpC,iBAAiB;IACjB,mDAA2C;IAC3C,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,qCAA6B;IAC7B,iBAAiB;IACjB,gDAAyC;IAsL3C,uCAOC;IAYD;;;OAGG;IACH,6DAFW;QAAE,MAAM,EAAE;YAAE,YAAY,EAAE,IAAI,CAAA;SAAE,CAAA;KAAC,QAwB3C;IA7MD,eAAe;IACf,gCAKC;IAgBG,qBAAyD;IAI7D;;;;;OAKG;IACH,mEASC;IAED,8DAoBC;IAED,+CAOC;IAED;;;OAGG;IAEH,0DAeC;IAED;;;OAGG;IAEH,yDAgBC;IAED;;OAEG;IAEH,6DAEC;IAKC,iDAEC;IAIH;;;;OAIG;IAEH,iCAHa,MAAM,CAmBlB;IAWD;;;OAGG;IACH,iCAIC;IAkDD;;;;OAIG;IACH,gCAFW,SAAS,EAAE,QAkBrB;IAVK,uBAAgC;IAEhC,uBAAgC;IAKhC,4BAAqC;IAK3C;;;;;;OAMG;IAEH,iCALW,KAAK,GAAC,WAAW,YACjB;QAAC,SAAS,EAAE,SAAS,CAAA;KAAC,QAUhC;IAgBC,mDAEC;CAIJ;wBAzbY,OAAO,2CAA2C,EAAE,SAAS;4BAC7D,OAAO,KAAK,EAAE,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lion-input-datepicker.test.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/test/lion-input-datepicker.test.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lion-input-datepicker.test.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/test/lion-input-datepicker.test.js"],"names":[],"mappings":"6BAgBa,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -16,6 +16,15 @@ export class LionInputRange extends LionInputRange_base {
|
|
|
16
16
|
*/
|
|
17
17
|
static scopedStyles(scope: CSSResult): import("lit").CSSResult;
|
|
18
18
|
static get styles(): (import("lit").CSSResult | import("lit").CSSResultArray)[];
|
|
19
|
+
/**
|
|
20
|
+
* Get the display info for the current value
|
|
21
|
+
* @protected
|
|
22
|
+
* @returns {{ text: string, showUnit: boolean }}
|
|
23
|
+
*/
|
|
24
|
+
protected get _valueDisplay(): {
|
|
25
|
+
text: string;
|
|
26
|
+
showUnit: boolean;
|
|
27
|
+
};
|
|
19
28
|
/** @type {ScopedStylesController} */
|
|
20
29
|
scopedStylesController: ScopedStylesController;
|
|
21
30
|
min: number;
|
|
@@ -23,6 +32,8 @@ export class LionInputRange extends LionInputRange_base {
|
|
|
23
32
|
step: number;
|
|
24
33
|
unit: string;
|
|
25
34
|
noMinMaxLabels: boolean;
|
|
35
|
+
minLabel: string;
|
|
36
|
+
maxLabel: string;
|
|
26
37
|
/**
|
|
27
38
|
* @param {string} modelValue
|
|
28
39
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputRange.d.ts","sourceRoot":"","sources":["../../../../components/input-range/src/LionInputRange.js"],"names":[],"mappings":";AAOA;;GAEG;AAEH;;;;GAIG;AACH;IACE,kBAAkB;IAClB,
|
|
1
|
+
{"version":3,"file":"LionInputRange.d.ts","sourceRoot":"","sources":["../../../../components/input-range/src/LionInputRange.js"],"names":[],"mappings":";AAOA;;GAEG;AAEH;;;;GAIG;AACH;IACE,kBAAkB;IAClB,6BA+BC;IAED,kGAGE;IAEF;;OAEG;IACH,2BAFW,SAAS,2BAWnB;IAED,gFAkBC;IAMD;;;;OAIG;IACH;cAFqB,MAAM;kBAAY,OAAO;MAc7C;IAIC,qCAAqC;IACrC,wBADW,sBAAsB,CAC6B;IAC9D,YAAmB;IACnB,YAAmB;IACnB,aAAa;IACb,aAAc;IAEd,wBAA2B;IAC3B,iBAAkB;IAClB,iBAAkB;IAClB;;OAEG;IACH,qBAFW,MAAM,YAEiC;IAyCpD,iBAAiB;IACjB,sEAiBC;IAED,iBAAiB;IACjB,2EAwBC;CACF;wBA/MY,OAAO,KAAK,EAAE,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":";AAUA;;;;;;;GAOG;AAEH;;GAEG;AACH;IACE;;OAEG;IACH;;;;;;;;;;;;;;;;;;;;;;MAOE;IAEF,kGAGE;IAgBF,mFAAsB;IAdtB;;;;;;;OAOG;IACH,gFAEC;IAoCD,6CAA+B;IA9B/B;;;;;;;;;;;;;;;;OAgBG;IACH,0CASC;IAMD;;;;OAIG;IACH,qCAFW,UAAU,GAAC,SAAS,QAM9B;IAFC,mEAA8B;IAIhC;;;;OAIG;IACH,qEAMC;IAED;;;;OAIG;IAEH,6DAEC;IAED;;;;OAIG;IAGH,wBAEC;IASC;;;;;OAKG;IACH,gBAFU,iBAAiB,CAEU;IAErC;;;;OAIG;IACH,wBAFU,MAAM,CAEuB;IAEvC;;;;OAIG;IACH,gBAFU,UAAU,EAAE,CAEE;IAExB;;;OAGG;IACH,kBAFU,UAAU,EAAE,CAEI;IAE1B,eAAe;IACf,yCAAyD;IAKzD;;;OAGG;IACH,sBAFU,kBAAkB,GAAC,IAAI,CAIzB;IA0BN,oDAAkD;IAiCpD;;;OAGG;IACH,uEAEC;IAIH;;;;OAIG;IACH,sBAHW,MAAM,GACJ,MAAM,CAQlB;IAED;;;;OAIG;IACH,kBAHW,MAAM,GACJ,MAAM,CAMlB;IAED;;;;;;;OAOG;IACH,wBANW,MAAM;QAEU,aAAa,EAA7B,MAAM;QACU,iBAAiB,EAAjC,MAAM;QACJ;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;KAAE,GAAG,SAAS,CAUlE;IAaD;;OAEG;IACH,0CAOC;IAED;;OAEG;IACH,gCAgCC;CACF;yBAnVY,OAAO,mBAAmB,EAAE,UAAU;gCACtC,OAAO,qBAAqB,EAAE,iBAAiB;+BAC/C,OAAO,qBAAqB,EAAE,gBAAgB;4BAC9C,OAAO,2CAA2C,EAAE,aAAa;iCACjE,0CAAiC;+BACjC,aAAa,GAAG;IAAC,UAAU,EAAE,UAAU,CAAC;IAAC,cAAc,EAAE,iBAAiB,CAAC;IAAC,sBAAsB,EAAE,MAAM,CAAC;CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputTelDropdown.test.d.ts","sourceRoot":"","sources":["../../../../components/input-tel-dropdown/test/LionInputTelDropdown.test.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LionInputTelDropdown.test.d.ts","sourceRoot":"","sources":["../../../../components/input-tel-dropdown/test/LionInputTelDropdown.test.js"],"names":[],"mappings":"8CAoBa,OAAO,mBAAmB,EAAE,+BAA+B;8BAC3D,iBAAiB,IAAC,WAAW,GAAG;IAAC,UAAU,EAAC,MAAM,CAAA;CAAC,CAAA;yBACnD,OAAO,mBAAmB,EAAE,UAAU;6BACtC,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {{ klass:LionInputTelDropdown, config: TelDropdownConfig }} config
|
|
3
|
+
*/
|
|
4
|
+
export function runInputTelDropdownParenthesesSuite({ klass, config }?: {
|
|
5
|
+
klass: LionInputTelDropdown;
|
|
6
|
+
config: TelDropdownConfig;
|
|
7
|
+
}): void;
|
|
8
|
+
export type TemplateResult = import('lit').TemplateResult;
|
|
9
|
+
export type TelDropdownConfig = import('./types.js').TelDropdownConfig;
|
|
10
|
+
import { LionInputTelDropdown } from "../../../exports/input-tel-dropdown.js";
|
|
11
|
+
//# sourceMappingURL=LionInputTelDropdown--parentheses.suite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LionInputTelDropdown--parentheses.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.js"],"names":[],"mappings":"AAmCA;;GAEG;AAEH,wEAHW;IAAE,KAAK,EAAC,oBAAoB,CAAC;IAAC,MAAM,EAAE,iBAAiB,CAAA;CAAE,QAqDnE;6BAxEY,OAAO,KAAK,EAAE,cAAc;gCAC5B,OAAO,YAAY,EAAE,iBAAiB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { LionInputTelDropdown } from '@lion/ui/input-tel-dropdown.js';
|
|
2
|
+
export type TelDropdownConfig = {
|
|
3
|
+
getTelDropdownInvokerEl: (el: LionInputTelDropdown) => HTMLElement | null;
|
|
4
|
+
selectNlOption: (el: LionInputTelDropdown) => Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/input-tel-dropdown/test-suites/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uBAAuB,EAAE,CAAC,EAAE,EAAE,oBAAoB,KAAK,WAAW,GAAG,IAAI,CAAC;IAC1E,cAAc,EAAE,CAAC,EAAE,EAAE,oBAAoB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D,CAAC"}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { runInputTelDropdownSuite } from "../components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.js";
|
|
2
|
+
export { runInputTelDropdownParenthesesSuite } from "../components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.js";
|
|
2
3
|
//# sourceMappingURL=input-tel-dropdown-test-suites.d.ts.map
|