@lion/ui 0.18.1 → 0.19.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/components/calendar/src/LionCalendar.js +1 -1
- package/components/calendar/test/lion-calendar.test.js +67 -47
- package/components/calendar/test-suites/LionCalendar.suite.js +79 -0
- package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +6 -4
- package/components/input-amount-dropdown/test/LionInputAmountDropdown.test.js +20 -1
- package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +24 -0
- package/components/input-datepicker/test/lion-input-datepicker.test.js +13 -4
- package/components/input-datepicker/test-suites/LionInputDatepicker.suite.js +35 -0
- package/components/input-email/src/LionInputEmail.js +2 -0
- package/components/input-email/test/lion-input-email.test.js +6 -0
- package/components/input-file/src/validators.js +31 -1
- package/components/input-file/test/FileValidators.test.js +31 -0
- package/components/input-file/translations/bg.js +1 -0
- package/components/input-file/translations/cs.js +1 -0
- package/components/input-file/translations/de.js +2 -0
- package/components/input-file/translations/en.js +1 -0
- package/components/input-file/translations/es.js +1 -0
- package/components/input-file/translations/fr.js +1 -0
- package/components/input-file/translations/hu.js +1 -0
- package/components/input-file/translations/id.js +1 -0
- package/components/input-file/translations/it.js +1 -0
- package/components/input-file/translations/nl.js +1 -0
- package/components/input-file/translations/pl.js +1 -0
- package/components/input-file/translations/ro.js +1 -0
- package/components/input-file/translations/ru.js +1 -0
- package/components/input-file/translations/sk.js +1 -0
- package/components/input-file/translations/uk.js +1 -0
- package/components/input-file/translations/zh.js +1 -0
- package/components/input-tel/src/LionInputTel.js +1 -1
- package/components/input-tel/test-suites/LionInputTel.suite.js +7 -0
- package/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js +132 -26
- package/components/overlays/test/withHoverInteraction.test.js +118 -0
- package/custom-elements.json +433 -92
- package/dist-types/components/calendar/test/lion-calendar.test.d.ts.map +1 -1
- package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts +5 -0
- package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts +0 -9
- package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/test/LionInputAmountDropdown.test.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/test/lion-input-datepicker.test.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts +7 -0
- package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts.map +1 -0
- package/dist-types/components/input-email/src/LionInputEmail.d.ts.map +1 -1
- package/dist-types/components/input-file/src/validators.d.ts +11 -0
- package/dist-types/components/input-file/src/validators.d.ts.map +1 -1
- package/dist-types/components/input-file/translations/bg-BG.d.ts +1 -0
- package/dist-types/components/input-file/translations/bg.d.ts +1 -0
- package/dist-types/components/input-file/translations/cs-CZ.d.ts +1 -0
- package/dist-types/components/input-file/translations/cs.d.ts +1 -0
- package/dist-types/components/input-file/translations/de-DE.d.ts +1 -0
- package/dist-types/components/input-file/translations/de.d.ts +1 -0
- package/dist-types/components/input-file/translations/en-AU.d.ts +1 -0
- package/dist-types/components/input-file/translations/en-GB.d.ts +1 -0
- package/dist-types/components/input-file/translations/en-PH.d.ts +1 -0
- package/dist-types/components/input-file/translations/en-US.d.ts +1 -0
- package/dist-types/components/input-file/translations/en.d.ts +1 -0
- package/dist-types/components/input-file/translations/es-ES.d.ts +1 -0
- package/dist-types/components/input-file/translations/es.d.ts +1 -0
- package/dist-types/components/input-file/translations/fr-BE.d.ts +1 -0
- package/dist-types/components/input-file/translations/fr-FR.d.ts +1 -0
- package/dist-types/components/input-file/translations/fr.d.ts +1 -0
- package/dist-types/components/input-file/translations/hu-HU.d.ts +1 -0
- package/dist-types/components/input-file/translations/hu.d.ts +1 -0
- package/dist-types/components/input-file/translations/id-ID.d.ts +1 -0
- package/dist-types/components/input-file/translations/id.d.ts +1 -0
- package/dist-types/components/input-file/translations/it-IT.d.ts +1 -0
- package/dist-types/components/input-file/translations/it.d.ts +1 -0
- package/dist-types/components/input-file/translations/nl-BE.d.ts +1 -0
- package/dist-types/components/input-file/translations/nl-NL.d.ts +1 -0
- package/dist-types/components/input-file/translations/nl.d.ts +1 -0
- package/dist-types/components/input-file/translations/pl-PL.d.ts +1 -0
- package/dist-types/components/input-file/translations/pl.d.ts +1 -0
- package/dist-types/components/input-file/translations/ro-RO.d.ts +1 -0
- package/dist-types/components/input-file/translations/ro.d.ts +1 -0
- package/dist-types/components/input-file/translations/ru-RU.d.ts +1 -0
- package/dist-types/components/input-file/translations/ru.d.ts +1 -0
- package/dist-types/components/input-file/translations/sk-SK.d.ts +1 -0
- package/dist-types/components/input-file/translations/sk.d.ts +1 -0
- package/dist-types/components/input-file/translations/uk-UA.d.ts +1 -0
- package/dist-types/components/input-file/translations/uk.d.ts +1 -0
- package/dist-types/components/input-file/translations/zh-CN.d.ts +1 -0
- package/dist-types/components/input-file/translations/zh.d.ts +1 -0
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/input-tel/test-suites/LionInputTel.suite.d.ts.map +1 -1
- package/dist-types/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.d.ts +8 -2
- package/dist-types/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.d.ts.map +1 -1
- package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts +2 -0
- package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts.map +1 -0
- package/dist-types/exports/input-file.d.ts +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- 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/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-amount-dropdown/api-table.md +1 -1
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/api-table.md +1 -1
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-file/use-cases.md +18 -0
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/api-table.md +1 -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 +1 -1
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/tabs/examples.md +1 -1
- package/docs/components/tooltip/use-cases.md +55 -0
- 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/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-file.js +5 -1
- package/input-file.js +5 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LionCalendar.suite.d.ts","sourceRoot":"","sources":["../../../../components/calendar/test-suites/LionCalendar.suite.js"],"names":[],"mappings":"AAMA;;SAwEC"}
|
|
@@ -159,15 +159,6 @@ export class LionInputAmountDropdown extends LionInputAmount {
|
|
|
159
159
|
*/
|
|
160
160
|
protected _initModelValueBasedOnDropdown(): void;
|
|
161
161
|
__initializedCurrencyCode: string | undefined;
|
|
162
|
-
/**
|
|
163
|
-
* Used for Required validation and computation of interaction states.
|
|
164
|
-
* We need to override this, because we prefill the input with the currency code, but for proper UX,
|
|
165
|
-
* we don't consider this as having interaction state `prefilled`
|
|
166
|
-
* @param {string} modelValue
|
|
167
|
-
* @return {boolean}
|
|
168
|
-
* @protected
|
|
169
|
-
*/
|
|
170
|
-
protected _isEmpty(modelValue?: string): boolean;
|
|
171
162
|
/**
|
|
172
163
|
* Prepares data for options, like "Greece (Ελλάδα)", where "Greece" is `nameForLocale` and
|
|
173
164
|
* "Ελλάδα" `nameForRegion`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputAmountDropdown.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/LionInputAmountDropdown.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;GASG;AAEH;IACE;;;OAGG;IACH,mBAFU,GAAG,CAMX;IAEF,kGAGE;IA+EF;4CACwB,kCAAkC;QA0BxD;;;WAGG;kDAFQ,kCAAkC,mDAClC,UAAU;MAgBrB;IAEF;;;OAGG;IACH,gHA4BE;IA5JF;QACE,0BAA0B;kBAAf,WAAW;MAEtB;IAEF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,4FA8BC;IASD,+BAMC;IAbD;;OAEG;IACH,4BAEC;IAOC,gBAiJU,MAAM,CAjJc;IA6G9B;;;OAGG;IACH,oFAEC;IAED,gDAEE;IAYF,qLAAyB;IAEzB;;;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;
|
|
1
|
+
{"version":3,"file":"LionInputAmountDropdown.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/LionInputAmountDropdown.js"],"names":[],"mappings":"AAYA;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH;;;;;;;;;GASG;AAEH;IACE;;;OAGG;IACH,mBAFU,GAAG,CAMX;IAEF,kGAGE;IA+EF;4CACwB,kCAAkC;QA0BxD;;;WAGG;kDAFQ,kCAAkC,mDAClC,UAAU;MAgBrB;IAEF;;;OAGG;IACH,gHA4BE;IA5JF;QACE,0BAA0B;kBAAf,WAAW;MAEtB;IAEF;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,4FA8BC;IASD,+BAMC;IAbD;;OAEG;IACH,4BAEC;IAOC,gBAiJU,MAAM,CAjJc;IA6G9B;;;OAGG;IACH,oFAEC;IAED,gDAEE;IAYF,qLAAyB;IAEzB;;;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;IAoFrC;;;OAGG;IACH,wCAFW,qBAAqB,QA0B/B;IAED;;OAEG;IACH,mCAmBC;IA3HC;;;;MAAiC;IA6CnC;;OAEG;IACH,iDAOC;IALG,8CAA8C;IA2ElD;;;;;;;OAOG;IACH,6BAmBC;IAED;;;;;;;;OAQG;IAEH,6CAEC;IAED,kCAkCC;IAED;;;;OAIG;IACH,0EAIC;CACF;kBAjhBY,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"}
|
package/dist-types/components/input-amount-dropdown/test/LionInputAmountDropdown.test.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputAmountDropdown.test.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/test/LionInputAmountDropdown.test.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LionInputAmountDropdown.test.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/test/LionInputAmountDropdown.test.js"],"names":[],"mappings":"iDAiBa,OAAO,mBAAmB,EAAE,kCAAkC;8BAC9D,iBAAiB,IAAC,WAAW,GAAG;IAAC,UAAU,EAAC,MAAM,CAAA;CAAC,CAAA;yBACnD,OAAO,mBAAmB,EAAE,UAAU;6BACtC,OAAO,KAAK,EAAE,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,QAgT3C;iDAxUY,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":"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":"6BAca,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @typedef {import('@lion/ui/input-datepicker.js').LionInputDatepicker} LionInputDatepicker */
|
|
2
|
+
export function runDatepickerSuite({ datepickerTagName, calendarTagName, }?: {
|
|
3
|
+
datepickerTagName?: string | undefined;
|
|
4
|
+
calendarTagName?: string | undefined;
|
|
5
|
+
}): void;
|
|
6
|
+
export type LionInputDatepicker = import('@lion/ui/input-datepicker.js').LionInputDatepicker;
|
|
7
|
+
//# sourceMappingURL=LionInputDatepicker.suite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LionInputDatepicker.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-datepicker/test-suites/LionInputDatepicker.suite.js"],"names":[],"mappings":"AAGA,gGAAgG;AAEhG;;;SA6BC;kCA/Ba,OAAO,8BAA8B,EAAE,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputEmail.d.ts","sourceRoot":"","sources":["../../../../components/input-email/src/LionInputEmail.js"],"names":[],"mappings":";AAIA;;;;GAIG;AACH;
|
|
1
|
+
{"version":3,"file":"LionInputEmail.d.ts","sourceRoot":"","sources":["../../../../components/input-email/src/LionInputEmail.js"],"names":[],"mappings":";AAIA;;;;GAIG;AACH;CAaC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
+
* @typedef {import('../../form-core/types/validate/index.js').FeedbackMessageData} FeedbackMessageData
|
|
2
3
|
* @typedef {import('../../form-core/types/validate/validate.js').ValidatorConfig} ValidatorConfig
|
|
3
4
|
* @typedef {import('../../form-core/types/validate/validate.js').ValidatorParam} ValidatorParam
|
|
4
5
|
* @typedef {import('../../form-core/types/validate/validate.js').ValidatorOutcome} ValidatorOutcome
|
|
@@ -50,6 +51,16 @@ export class DuplicateFileNames extends Validator {
|
|
|
50
51
|
*/
|
|
51
52
|
execute(modelValue: InputFile[], params?: ValidatorParam): ValidatorOutcome | Promise<ValidatorOutcome>;
|
|
52
53
|
}
|
|
54
|
+
export class MaxFileCount extends Validator {
|
|
55
|
+
static get validatorName(): string;
|
|
56
|
+
/**
|
|
57
|
+
* @param {File[]} value
|
|
58
|
+
* @param {number} maxFiles
|
|
59
|
+
* @returns {boolean}
|
|
60
|
+
*/
|
|
61
|
+
execute(value: File[], maxFiles?: number): boolean;
|
|
62
|
+
}
|
|
63
|
+
export type FeedbackMessageData = import('../../form-core/types/validate/index.js').FeedbackMessageData;
|
|
53
64
|
export type ValidatorConfig = import('../../form-core/types/validate/validate.js').ValidatorConfig;
|
|
54
65
|
export type ValidatorParam = import('../../form-core/types/validate/validate.js').ValidatorParam;
|
|
55
66
|
export type ValidatorOutcome = import('../../form-core/types/validate/validate.js').ValidatorOutcome;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/validators.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/validators.js"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAGH;IAGE;;;OAGG;IACH,mCAHW,MAAM,eACN,MAAM,WAIhB;IAED;;;;OAIG;IACH,8BAHW,MAAM,GACL,MAAM,CAIjB;IAED;;;OAGG;IACH,qCAHW,MAAM,yBACN,MAAM,EAAE,sBAMlB;IAED;;;OAGG;IACH,+BAHW,MAAM,oBACN,MAAM,EAAE,sBAIlB;IA+BD,qCAEC;IA/BD;;;;OAIG;IACH,oBAJW,MAAM,IAAI,CAAC;0BACS,MAAM,EAAE;+BAAyB,MAAM,EAAE;qBAAe,MAAM;gBAuB5F;CAOF;AAED;IAqBE;;OAEG;IACH,qBAFa,QAAQ,MAAM,GAAC,OAAO,CAAC,CAOnC;IAjBD;;;;OAIG;IACH,oBAJW,SAAS,EAAE,WACX,cAAc,GACZ,gBAAgB,GAAC,QAAQ,gBAAgB,CAAC,CAItD;CAWF;AAED;IACE,mCAEC;IAgBD;;;;OAIG;IACH,eAJW,IAAI,EAAE,aACN,MAAM,GACJ,OAAO,CAInB;CACF;kCA3IY,OAAO,yCAAyC,EAAE,mBAAmB;8BACrE,OAAO,4CAA4C,EAAE,eAAe;6BACpE,OAAO,4CAA4C,EAAE,cAAc;+BACnE,OAAO,4CAA4C,EAAE,gBAAgB;wBACrE,OAAO,wBAAwB,EAAE,SAAS"}
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=bg.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=cs.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=de.d.ts.map
|
|
@@ -15,6 +15,7 @@ declare namespace _default {
|
|
|
15
15
|
const selectTextDuplicateFileName: string;
|
|
16
16
|
const selectTextMultipleFile: string;
|
|
17
17
|
const selectTextSingleFile: string;
|
|
18
|
+
const maxFileCountExceeded: string;
|
|
18
19
|
}
|
|
19
20
|
export default _default;
|
|
20
21
|
//# sourceMappingURL=en.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=es.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=fr.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=hu.d.ts.map
|
|
@@ -15,6 +15,7 @@ declare namespace _default {
|
|
|
15
15
|
const selectTextDuplicateFileName: string;
|
|
16
16
|
const selectTextMultipleFile: string;
|
|
17
17
|
const selectTextSingleFile: string;
|
|
18
|
+
const maxFileCountExceeded: string;
|
|
18
19
|
}
|
|
19
20
|
export default _default;
|
|
20
21
|
//# sourceMappingURL=id.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=it.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=nl.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=pl.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=ro.d.ts.map
|
|
@@ -15,6 +15,7 @@ declare namespace _default {
|
|
|
15
15
|
const selectTextDuplicateFileName: string;
|
|
16
16
|
const selectTextMultipleFile: string;
|
|
17
17
|
const selectTextSingleFile: string;
|
|
18
|
+
const maxFileCountExceeded: string;
|
|
18
19
|
}
|
|
19
20
|
export default _default;
|
|
20
21
|
//# sourceMappingURL=ru.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=sk.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=uk.d.ts.map
|
|
@@ -16,6 +16,7 @@ declare namespace _default {
|
|
|
16
16
|
const selectTextDuplicateFileName: string;
|
|
17
17
|
const selectTextMultipleFile: string;
|
|
18
18
|
const selectTextSingleFile: string;
|
|
19
|
+
const maxFileCountExceeded: string;
|
|
19
20
|
}
|
|
20
21
|
export default _default;
|
|
21
22
|
//# sourceMappingURL=zh.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":";AAWA;;;;;;;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;
|
|
1
|
+
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":";AAWA;;;;;;;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,gCAkCC;CACF;yBArVY,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":"LionInputTel.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test-suites/LionInputTel.suite.js"],"names":[],"mappings":"AAiLA;;GAEG;AAEH,6CAHW;IAAE,KAAK,EAAC,YAAY,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"LionInputTel.suite.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test-suites/LionInputTel.suite.js"],"names":[],"mappings":"AAiLA;;GAEG;AAEH,6CAHW;IAAE,KAAK,EAAC,YAAY,CAAA;CAAE,QAyThC;6BA1dY,OAAO,KAAK,EAAE,cAAc;yBAC5B,OAAO,mBAAmB,EAAE,UAAU"}
|
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
* @typedef {import('@lion/ui/types/overlays.js').OverlayConfig} OverlayConfig
|
|
3
3
|
* @typedef {import('@lion/ui/overlays.js').OverlayController} OverlayController
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {HTMLElement|undefined} item
|
|
7
|
+
*/
|
|
8
|
+
export function isDisabled(item: HTMLElement | undefined): boolean | undefined;
|
|
5
9
|
/**
|
|
6
10
|
* Use for tooltips and [flyout menus](https://www.w3.org/WAI/tutorials/menus/flyout/).
|
|
7
11
|
* Note that it handles both mouse hover and focus interaction.
|
|
8
12
|
* Provide delayIn and delayOut when the content needs a small delay before being showed
|
|
9
|
-
* @param {{ delayIn?: number, delayOut?: number }} options
|
|
13
|
+
* @param {{ isHoverSupported?: boolean, longpressDuration?: number, delayIn?: number, delayOut?: number }} options
|
|
10
14
|
* @returns {Partial<OverlayConfig>}
|
|
11
15
|
*/
|
|
12
|
-
export function withHoverInteraction({
|
|
16
|
+
export function withHoverInteraction({ isHoverSupported, longpressDuration, delayOut, delayIn, }?: {
|
|
17
|
+
isHoverSupported?: boolean;
|
|
18
|
+
longpressDuration?: number;
|
|
13
19
|
delayIn?: number;
|
|
14
20
|
delayOut?: number;
|
|
15
21
|
}): Partial<OverlayConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withHoverInteraction.d.ts","sourceRoot":"","sources":["../../../../../../components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"withHoverInteraction.d.ts","sourceRoot":"","sources":["../../../../../../components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js"],"names":[],"mappings":"AAAA;;;GAGG;AAKH;;GAEG;AACH,iCAFW,WAAW,GAAC,SAAS,uBAI/B;AAED;;;;;;GAMG;AACH,mGAHW;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAG,GAC9F,QAAQ,aAAa,CAAC,CA+JlC;4BAlLY,OAAO,4BAA4B,EAAE,aAAa;gCAClD,OAAO,sBAAsB,EAAE,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withHoverInteraction.test.d.ts","sourceRoot":"","sources":["../../../../components/overlays/test/withHoverInteraction.test.js"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { LionInputFile } from "../components/input-file/src/LionInputFile.js";
|
|
2
2
|
export { LionSelectedFileList } from "../components/input-file/src/LionSelectedFileList.js";
|
|
3
|
-
export { IsAcceptedFile, DuplicateFileNames } from "../components/input-file/src/validators.js";
|
|
3
|
+
export { IsAcceptedFile, DuplicateFileNames, MaxFileCount } from "../components/input-file/src/validators.js";
|
|
4
4
|
//# sourceMappingURL=input-file.d.ts.map
|