@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.
Files changed (149) hide show
  1. package/components/calendar/src/LionCalendar.js +1 -1
  2. package/components/calendar/test/lion-calendar.test.js +67 -47
  3. package/components/calendar/test-suites/LionCalendar.suite.js +79 -0
  4. package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +6 -4
  5. package/components/input-amount-dropdown/test/LionInputAmountDropdown.test.js +20 -1
  6. package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +24 -0
  7. package/components/input-datepicker/test/lion-input-datepicker.test.js +13 -4
  8. package/components/input-datepicker/test-suites/LionInputDatepicker.suite.js +35 -0
  9. package/components/input-email/src/LionInputEmail.js +2 -0
  10. package/components/input-email/test/lion-input-email.test.js +6 -0
  11. package/components/input-file/src/validators.js +31 -1
  12. package/components/input-file/test/FileValidators.test.js +31 -0
  13. package/components/input-file/translations/bg.js +1 -0
  14. package/components/input-file/translations/cs.js +1 -0
  15. package/components/input-file/translations/de.js +2 -0
  16. package/components/input-file/translations/en.js +1 -0
  17. package/components/input-file/translations/es.js +1 -0
  18. package/components/input-file/translations/fr.js +1 -0
  19. package/components/input-file/translations/hu.js +1 -0
  20. package/components/input-file/translations/id.js +1 -0
  21. package/components/input-file/translations/it.js +1 -0
  22. package/components/input-file/translations/nl.js +1 -0
  23. package/components/input-file/translations/pl.js +1 -0
  24. package/components/input-file/translations/ro.js +1 -0
  25. package/components/input-file/translations/ru.js +1 -0
  26. package/components/input-file/translations/sk.js +1 -0
  27. package/components/input-file/translations/uk.js +1 -0
  28. package/components/input-file/translations/zh.js +1 -0
  29. package/components/input-tel/src/LionInputTel.js +1 -1
  30. package/components/input-tel/test-suites/LionInputTel.suite.js +7 -0
  31. package/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js +132 -26
  32. package/components/overlays/test/withHoverInteraction.test.js +118 -0
  33. package/custom-elements.json +433 -92
  34. package/dist-types/components/calendar/test/lion-calendar.test.d.ts.map +1 -1
  35. package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts +5 -0
  36. package/dist-types/components/calendar/test-suites/LionCalendar.suite.d.ts.map +1 -0
  37. package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts +0 -9
  38. package/dist-types/components/input-amount-dropdown/src/LionInputAmountDropdown.d.ts.map +1 -1
  39. package/dist-types/components/input-amount-dropdown/test/LionInputAmountDropdown.test.d.ts.map +1 -1
  40. package/dist-types/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.d.ts.map +1 -1
  41. package/dist-types/components/input-datepicker/test/lion-input-datepicker.test.d.ts.map +1 -1
  42. package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts +7 -0
  43. package/dist-types/components/input-datepicker/test-suites/LionInputDatepicker.suite.d.ts.map +1 -0
  44. package/dist-types/components/input-email/src/LionInputEmail.d.ts.map +1 -1
  45. package/dist-types/components/input-file/src/validators.d.ts +11 -0
  46. package/dist-types/components/input-file/src/validators.d.ts.map +1 -1
  47. package/dist-types/components/input-file/translations/bg-BG.d.ts +1 -0
  48. package/dist-types/components/input-file/translations/bg.d.ts +1 -0
  49. package/dist-types/components/input-file/translations/cs-CZ.d.ts +1 -0
  50. package/dist-types/components/input-file/translations/cs.d.ts +1 -0
  51. package/dist-types/components/input-file/translations/de-DE.d.ts +1 -0
  52. package/dist-types/components/input-file/translations/de.d.ts +1 -0
  53. package/dist-types/components/input-file/translations/en-AU.d.ts +1 -0
  54. package/dist-types/components/input-file/translations/en-GB.d.ts +1 -0
  55. package/dist-types/components/input-file/translations/en-PH.d.ts +1 -0
  56. package/dist-types/components/input-file/translations/en-US.d.ts +1 -0
  57. package/dist-types/components/input-file/translations/en.d.ts +1 -0
  58. package/dist-types/components/input-file/translations/es-ES.d.ts +1 -0
  59. package/dist-types/components/input-file/translations/es.d.ts +1 -0
  60. package/dist-types/components/input-file/translations/fr-BE.d.ts +1 -0
  61. package/dist-types/components/input-file/translations/fr-FR.d.ts +1 -0
  62. package/dist-types/components/input-file/translations/fr.d.ts +1 -0
  63. package/dist-types/components/input-file/translations/hu-HU.d.ts +1 -0
  64. package/dist-types/components/input-file/translations/hu.d.ts +1 -0
  65. package/dist-types/components/input-file/translations/id-ID.d.ts +1 -0
  66. package/dist-types/components/input-file/translations/id.d.ts +1 -0
  67. package/dist-types/components/input-file/translations/it-IT.d.ts +1 -0
  68. package/dist-types/components/input-file/translations/it.d.ts +1 -0
  69. package/dist-types/components/input-file/translations/nl-BE.d.ts +1 -0
  70. package/dist-types/components/input-file/translations/nl-NL.d.ts +1 -0
  71. package/dist-types/components/input-file/translations/nl.d.ts +1 -0
  72. package/dist-types/components/input-file/translations/pl-PL.d.ts +1 -0
  73. package/dist-types/components/input-file/translations/pl.d.ts +1 -0
  74. package/dist-types/components/input-file/translations/ro-RO.d.ts +1 -0
  75. package/dist-types/components/input-file/translations/ro.d.ts +1 -0
  76. package/dist-types/components/input-file/translations/ru-RU.d.ts +1 -0
  77. package/dist-types/components/input-file/translations/ru.d.ts +1 -0
  78. package/dist-types/components/input-file/translations/sk-SK.d.ts +1 -0
  79. package/dist-types/components/input-file/translations/sk.d.ts +1 -0
  80. package/dist-types/components/input-file/translations/uk-UA.d.ts +1 -0
  81. package/dist-types/components/input-file/translations/uk.d.ts +1 -0
  82. package/dist-types/components/input-file/translations/zh-CN.d.ts +1 -0
  83. package/dist-types/components/input-file/translations/zh.d.ts +1 -0
  84. package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
  85. package/dist-types/components/input-tel/test-suites/LionInputTel.suite.d.ts.map +1 -1
  86. package/dist-types/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.d.ts +8 -2
  87. package/dist-types/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.d.ts.map +1 -1
  88. package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts +2 -0
  89. package/dist-types/components/overlays/test/withHoverInteraction.test.d.ts.map +1 -0
  90. package/dist-types/exports/input-file.d.ts +1 -1
  91. package/dist-types/tsconfig.tsbuildinfo +1 -1
  92. package/docs/components/checkbox-group/overview.md +2 -2
  93. package/docs/components/collapsible/overview.md +1 -1
  94. package/docs/components/combobox/overview.md +1 -1
  95. package/docs/components/combobox/use-cases.md +1 -1
  96. package/docs/components/dialog/overview.md +1 -1
  97. package/docs/components/fieldset/overview.md +5 -5
  98. package/docs/components/form/overview.md +3 -3
  99. package/docs/components/form/use-cases.md +2 -2
  100. package/docs/components/icon/use-cases.md +1 -1
  101. package/docs/components/input/overview.md +1 -1
  102. package/docs/components/input-amount/overview.md +3 -3
  103. package/docs/components/input-amount-dropdown/api-table.md +1 -1
  104. package/docs/components/input-date/overview.md +3 -3
  105. package/docs/components/input-datepicker/overview.md +5 -5
  106. package/docs/components/input-email/api-table.md +1 -1
  107. package/docs/components/input-email/overview.md +2 -2
  108. package/docs/components/input-file/overview.md +1 -1
  109. package/docs/components/input-file/use-cases.md +18 -0
  110. package/docs/components/input-iban/overview.md +2 -2
  111. package/docs/components/input-range/overview.md +2 -2
  112. package/docs/components/input-stepper/overview.md +1 -1
  113. package/docs/components/input-tel/api-table.md +1 -1
  114. package/docs/components/input-tel/overview.md +1 -1
  115. package/docs/components/input-tel/use-cases.md +6 -6
  116. package/docs/components/input-tel-dropdown/api-table.md +1 -1
  117. package/docs/components/input-tel-dropdown/overview.md +1 -1
  118. package/docs/components/listbox/use-cases.md +1 -1
  119. package/docs/components/radio-group/overview.md +3 -3
  120. package/docs/components/select/use-cases.md +1 -1
  121. package/docs/components/select-rich/use-cases.md +2 -2
  122. package/docs/components/tabs/examples.md +1 -1
  123. package/docs/components/tooltip/use-cases.md +55 -0
  124. package/docs/fundamentals/index.md +4 -4
  125. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  126. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  127. package/docs/fundamentals/rationales/accessibility.md +1 -1
  128. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  129. package/docs/fundamentals/systems/core/overview.md +1 -1
  130. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  131. package/docs/fundamentals/systems/form/model-value.md +1 -1
  132. package/docs/fundamentals/systems/form/overview.md +28 -28
  133. package/docs/fundamentals/systems/form/validate.md +2 -2
  134. package/docs/fundamentals/systems/localize/overview.md +4 -4
  135. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  136. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  137. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  138. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  139. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  140. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  141. package/docs/guides/how-to/create-a-form.md +4 -4
  142. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  143. package/docs/guides/how-to/index.md +1 -1
  144. package/docs/guides/index.md +8 -8
  145. package/docs/guides/principles/index.md +5 -5
  146. package/docs/guides/principles/styling.md +1 -1
  147. package/exports/input-file.js +5 -1
  148. package/input-file.js +5 -1
  149. package/package.json +2 -2
@@ -0,0 +1,5 @@
1
+ export function runCalendarSuite({ klass }?: {
2
+ klass?: typeof LionCalendar | undefined;
3
+ }): void;
4
+ import { LionCalendar } from "../../../exports/calendar.js";
5
+ //# sourceMappingURL=LionCalendar.suite.d.ts.map
@@ -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;IAkFrC;;;OAGG;IACH,wCAFW,qBAAqB,QA0B/B;IAED;;OAEG;IACH,mCAmBC;IAzHC;;;;MAAiC;IA6CnC;;OAEG;IACH,iDAOC;IALG,8CAA8C;IAOlD;;;;;;;OAOG;IACH,gCAJW,MAAM,GACL,OAAO,CAKlB;IAwDD;;;;;;;OAOG;IACH,6BAmBC;IAED;;;;;;;;OAQG;IAEH,6CAEC;IAED,kCAkCC;IAED;;;;OAIG;IACH,0EAIC;CACF;kBA/gBY,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
+ {"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"LionInputAmountDropdown.test.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/test/LionInputAmountDropdown.test.js"],"names":[],"mappings":"iDAgBa,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
+ {"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,QAwR3C;iDAhTY,OAAO,mBAAmB,EAAE,kCAAkC;8BAC9D,iBAAiB,IAAC,WAAW,GAAG;IAAC,UAAU,EAAC,MAAM,CAAA;CAAC,CAAA;6BACnD,OAAO,KAAK,EAAE,cAAc"}
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":"6BAaa,OAAO,KAAK,EAAE,cAAc"}
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;CAWC"}
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;;;;;GAKG;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;8BA7GY,OAAO,4CAA4C,EAAE,eAAe;6BACpE,OAAO,4CAA4C,EAAE,cAAc;+BACnE,OAAO,4CAA4C,EAAE,gBAAgB;wBACrE,OAAO,wBAAwB,EAAE,SAAS"}
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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=bg-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=bg.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=cs-CZ.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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=de-DE.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 const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=en-AU.d.ts.map
@@ -15,6 +15,7 @@ declare const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=en-GB.d.ts.map
@@ -15,6 +15,7 @@ declare const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=en-PH.d.ts.map
@@ -15,6 +15,7 @@ declare const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=en-US.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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=es-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=es.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=fr-BE.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=fr-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=fr.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=hu-HU.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 const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=id-ID.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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=it-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=it.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=nl-BE.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=nl-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=nl.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=pl-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=pl.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=ro-RO.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 const _default: {
15
15
  selectTextDuplicateFileName: string;
16
16
  selectTextMultipleFile: string;
17
17
  selectTextSingleFile: string;
18
+ maxFileCountExceeded: string;
18
19
  };
19
20
  export default _default;
20
21
  //# sourceMappingURL=ru-RU.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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=sk-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=sk.d.ts.map
@@ -16,6 +16,7 @@ declare const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=uk-UA.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 const _default: {
16
16
  selectTextDuplicateFileName: string;
17
17
  selectTextMultipleFile: string;
18
18
  selectTextSingleFile: string;
19
+ maxFileCountExceeded: string;
19
20
  };
20
21
  export default _default;
21
22
  //# sourceMappingURL=zh-CN.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;IAQC;;;;;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;IA2BN,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
+ {"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,QAkThC;6BAndY,OAAO,KAAK,EAAE,cAAc;yBAC5B,OAAO,mBAAmB,EAAE,UAAU"}
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({ delayIn, delayOut }: {
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;AAIH;;;;;;GAMG;AACH,4DAHW;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAG,GACtC,QAAQ,aAAa,CAAC,CA6DlC;4BAxEY,OAAO,4BAA4B,EAAE,aAAa;gCAClD,OAAO,sBAAsB,EAAE,iBAAiB"}
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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=withHoverInteraction.test.d.ts.map
@@ -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