@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
@@ -1024,6 +1024,14 @@
1024
1024
  "name": "DuplicateFileNames",
1025
1025
  "module": "../components/input-file/src/validators.js"
1026
1026
  }
1027
+ },
1028
+ {
1029
+ "kind": "js",
1030
+ "name": "MaxFileCount",
1031
+ "declaration": {
1032
+ "name": "MaxFileCount",
1033
+ "module": "../components/input-file/src/validators.js"
1034
+ }
1027
1035
  }
1028
1036
  ]
1029
1037
  },
@@ -2166,36 +2174,6 @@
2166
2174
  }
2167
2175
  ]
2168
2176
  },
2169
- {
2170
- "kind": "javascript-module",
2171
- "path": "exports/define-helpers/sb-action-logger.js",
2172
- "declarations": [],
2173
- "exports": [
2174
- {
2175
- "kind": "custom-element-definition",
2176
- "name": "sb-action-logger",
2177
- "declaration": {
2178
- "name": "SbActionLogger",
2179
- "module": "/exports/helpers.js"
2180
- }
2181
- }
2182
- ]
2183
- },
2184
- {
2185
- "kind": "javascript-module",
2186
- "path": "exports/define-helpers/sb-locale-switcher.js",
2187
- "declarations": [],
2188
- "exports": [
2189
- {
2190
- "kind": "custom-element-definition",
2191
- "name": "sb-locale-switcher",
2192
- "declaration": {
2193
- "name": "SbLocaleSwitcher",
2194
- "module": "/exports/helpers.js"
2195
- }
2196
- }
2197
- ]
2198
- },
2199
2177
  {
2200
2178
  "kind": "javascript-module",
2201
2179
  "path": "exports/define/lion-accordion.js",
@@ -2901,6 +2879,36 @@
2901
2879
  }
2902
2880
  ]
2903
2881
  },
2882
+ {
2883
+ "kind": "javascript-module",
2884
+ "path": "exports/define-helpers/sb-action-logger.js",
2885
+ "declarations": [],
2886
+ "exports": [
2887
+ {
2888
+ "kind": "custom-element-definition",
2889
+ "name": "sb-action-logger",
2890
+ "declaration": {
2891
+ "name": "SbActionLogger",
2892
+ "module": "/exports/helpers.js"
2893
+ }
2894
+ }
2895
+ ]
2896
+ },
2897
+ {
2898
+ "kind": "javascript-module",
2899
+ "path": "exports/define-helpers/sb-locale-switcher.js",
2900
+ "declarations": [],
2901
+ "exports": [
2902
+ {
2903
+ "kind": "custom-element-definition",
2904
+ "name": "sb-locale-switcher",
2905
+ "declaration": {
2906
+ "name": "SbLocaleSwitcher",
2907
+ "module": "/exports/helpers.js"
2908
+ }
2909
+ }
2910
+ ]
2911
+ },
2904
2912
  {
2905
2913
  "kind": "javascript-module",
2906
2914
  "path": "components/accordion/src/LionAccordion.js",
@@ -71432,13 +71440,10 @@
71432
71440
  "parameters": [
71433
71441
  {
71434
71442
  "name": "modelValue",
71435
- "default": "this.modelValue",
71436
- "type": {
71437
- "text": "string"
71438
- }
71443
+ "default": "this.modelValue"
71439
71444
  }
71440
71445
  ],
71441
- "description": "Used for Required validation and computation of interaction states.\nWe need to override this, because we prefill the input with the currency code, but for proper UX,\nwe don't consider this as having interaction state `prefilled`",
71446
+ "description": "Used for Required validation and computation of interaction states.\nWe only consider the amount part for emptiness checks.\nMissing, null, empty-string or NaN amount is considered empty.",
71442
71447
  "return": {
71443
71448
  "type": {
71444
71449
  "text": "boolean"
@@ -83369,18 +83374,6 @@
83369
83374
  "kind": "class",
83370
83375
  "description": "LionInputEmail: extension of lion-input",
83371
83376
  "name": "LionInputEmail",
83372
- "mixins": [
83373
- {
83374
- "name": "LocalizeMixin",
83375
- "package": "@lion/ui/localize-no-side-effects.js"
83376
- }
83377
- ],
83378
- "superclass": {
83379
- "name": "LionInput",
83380
- "package": "@lion/ui/input.js"
83381
- },
83382
- "tagName": "lion-input-email",
83383
- "customElement": true,
83384
83377
  "members": [
83385
83378
  {
83386
83379
  "kind": "method",
@@ -83548,7 +83541,7 @@
83548
83541
  "text": "string | undefined"
83549
83542
  },
83550
83543
  "description": "Delegates this property to input/textarea/select.",
83551
- "default": "undefined",
83544
+ "default": "'email'",
83552
83545
  "attribute": "autocomplete",
83553
83546
  "reflects": true,
83554
83547
  "inheritedFrom": {
@@ -86107,6 +86100,18 @@
86107
86100
  }
86108
86101
  }
86109
86102
  ],
86103
+ "mixins": [
86104
+ {
86105
+ "name": "LocalizeMixin",
86106
+ "package": "@lion/ui/localize-no-side-effects.js"
86107
+ }
86108
+ ],
86109
+ "superclass": {
86110
+ "name": "LionInput",
86111
+ "package": "@lion/ui/input.js"
86112
+ },
86113
+ "tagName": "lion-input-email",
86114
+ "customElement": true,
86110
86115
  "attributes": [
86111
86116
  {
86112
86117
  "name": "autocomplete",
@@ -90902,6 +90907,319 @@
90902
90907
  "name": "Validator",
90903
90908
  "package": "@lion/ui/form-core.js"
90904
90909
  }
90910
+ },
90911
+ {
90912
+ "kind": "class",
90913
+ "description": "",
90914
+ "name": "MaxFileCount",
90915
+ "members": [
90916
+ {
90917
+ "kind": "method",
90918
+ "name": "abortExecution",
90919
+ "inheritedFrom": {
90920
+ "name": "Validator",
90921
+ "module": "components/form-core/src/validate/Validator.js"
90922
+ },
90923
+ "privacy": "public"
90924
+ },
90925
+ {
90926
+ "kind": "method",
90927
+ "name": "addEventListener",
90928
+ "parameters": [
90929
+ {
90930
+ "name": "type"
90931
+ },
90932
+ {
90933
+ "name": "callback"
90934
+ },
90935
+ {
90936
+ "name": "options"
90937
+ }
90938
+ ],
90939
+ "inheritedFrom": {
90940
+ "name": "EventTarget",
90941
+ "module": "../../node_modules/@lit-labs/ssr-dom-shim/lib/events.js"
90942
+ },
90943
+ "privacy": "public"
90944
+ },
90945
+ {
90946
+ "kind": "field",
90947
+ "name": "async",
90948
+ "type": {
90949
+ "text": "boolean"
90950
+ },
90951
+ "static": true,
90952
+ "default": "false",
90953
+ "description": "Whether the validator is asynchronous or not. When true., this means execute function returns\na Promise. This can be handy for:\n- server side calls\n- validations that are dependent on lazy loaded resources (they can be async until the dependency\nis loaded)",
90954
+ "inheritedFrom": {
90955
+ "name": "Validator",
90956
+ "module": "components/form-core/src/validate/Validator.js"
90957
+ },
90958
+ "privacy": "public"
90959
+ },
90960
+ {
90961
+ "kind": "field",
90962
+ "name": "config",
90963
+ "description": "The second argument of the constructor, for instance\n`new MinLength(3, {getFeedMessage: async () => 'too long'})`.\nWill be stored on Validator instance and passed to `execute` function.",
90964
+ "inheritedFrom": {
90965
+ "name": "Validator",
90966
+ "module": "components/form-core/src/validate/Validator.js"
90967
+ },
90968
+ "privacy": "public"
90969
+ },
90970
+ {
90971
+ "kind": "method",
90972
+ "name": "dispatchEvent",
90973
+ "parameters": [
90974
+ {
90975
+ "name": "event"
90976
+ }
90977
+ ],
90978
+ "inheritedFrom": {
90979
+ "name": "EventTarget",
90980
+ "module": "../../node_modules/@lit-labs/ssr-dom-shim/lib/events.js"
90981
+ },
90982
+ "privacy": "public"
90983
+ },
90984
+ {
90985
+ "kind": "method",
90986
+ "name": "execute",
90987
+ "parameters": [
90988
+ {
90989
+ "name": "value",
90990
+ "type": {
90991
+ "text": "File[]"
90992
+ }
90993
+ },
90994
+ {
90995
+ "name": "maxFiles",
90996
+ "default": "this.param || 0",
90997
+ "type": {
90998
+ "text": "number"
90999
+ }
91000
+ }
91001
+ ],
91002
+ "description": "The function that returns a validity outcome. When we need to show feedback,\nit should return true, otherwise false. So when an error\\info|warning|success message\nneeds to be shown, return true. For async Validators, the function can return a Promise.\nIt's also possible to return an enum. Let's say that a phone number can have multiple\nstates: 'invalid-country-code' | 'too-long' | 'too-short'\nThose states can be retrieved in the getMessage",
91003
+ "return": {
91004
+ "type": {
91005
+ "text": "boolean"
91006
+ }
91007
+ },
91008
+ "inheritedFrom": {
91009
+ "name": "Validator",
91010
+ "module": "components/form-core/src/validate/Validator.js"
91011
+ },
91012
+ "privacy": "public"
91013
+ },
91014
+ {
91015
+ "kind": "method",
91016
+ "name": "getMessage",
91017
+ "static": true,
91018
+ "parameters": [
91019
+ {
91020
+ "name": "data",
91021
+ "optional": true,
91022
+ "type": {
91023
+ "text": "Partial<FeedbackMessageData>"
91024
+ }
91025
+ }
91026
+ ],
91027
+ "description": "Called inside Validator.prototype._getMessage (see explanation).",
91028
+ "return": {
91029
+ "type": {
91030
+ "text": "Promise<string|Element>"
91031
+ }
91032
+ },
91033
+ "inheritedFrom": {
91034
+ "name": "Validator",
91035
+ "module": "components/form-core/src/validate/Validator.js"
91036
+ },
91037
+ "privacy": "public"
91038
+ },
91039
+ {
91040
+ "kind": "method",
91041
+ "name": "onFormControlConnect",
91042
+ "parameters": [
91043
+ {
91044
+ "name": "formControl",
91045
+ "type": {
91046
+ "text": "FormControlHost"
91047
+ }
91048
+ }
91049
+ ],
91050
+ "description": "Validators are allowed to have knowledge about FormControls.\nIn some cases (in case of the Required Validator) we wanted to enhance accessibility by\nadding [aria-required]. Also, it would be possible to write an advanced MinLength\nValidator that adds a .preprocessor that restricts from typing too many characters\n(like the native [minlength] validator).\nWill be called when Validator is added to FormControl.validators.",
91051
+ "inheritedFrom": {
91052
+ "name": "Validator",
91053
+ "module": "components/form-core/src/validate/Validator.js"
91054
+ },
91055
+ "privacy": "public"
91056
+ },
91057
+ {
91058
+ "kind": "method",
91059
+ "name": "onFormControlDisconnect",
91060
+ "parameters": [
91061
+ {
91062
+ "name": "formControl",
91063
+ "type": {
91064
+ "text": "FormControlHost"
91065
+ }
91066
+ }
91067
+ ],
91068
+ "description": "Also see `onFormControlConnect`.\nWill be called when Validator is removed from FormControl.validators.",
91069
+ "inheritedFrom": {
91070
+ "name": "Validator",
91071
+ "module": "components/form-core/src/validate/Validator.js"
91072
+ },
91073
+ "privacy": "public"
91074
+ },
91075
+ {
91076
+ "kind": "field",
91077
+ "name": "param",
91078
+ "description": "The first argument of the constructor, for instance 3 in `new MinLength(3)`. Will\nbe stored on Validator instance and passed to `execute` function",
91079
+ "inheritedFrom": {
91080
+ "name": "Validator",
91081
+ "module": "components/form-core/src/validate/Validator.js"
91082
+ },
91083
+ "privacy": "public"
91084
+ },
91085
+ {
91086
+ "kind": "method",
91087
+ "name": "removeEventListener",
91088
+ "parameters": [
91089
+ {
91090
+ "name": "type"
91091
+ },
91092
+ {
91093
+ "name": "callback"
91094
+ },
91095
+ {
91096
+ "name": "options"
91097
+ }
91098
+ ],
91099
+ "inheritedFrom": {
91100
+ "name": "EventTarget",
91101
+ "module": "../../node_modules/@lit-labs/ssr-dom-shim/lib/events.js"
91102
+ },
91103
+ "privacy": "public"
91104
+ },
91105
+ {
91106
+ "kind": "field",
91107
+ "name": "type",
91108
+ "description": "Default type supported by ValidateMixin",
91109
+ "type": {
91110
+ "text": "ValidationType"
91111
+ },
91112
+ "inheritedFrom": {
91113
+ "name": "Validator",
91114
+ "module": "components/form-core/src/validate/Validator.js"
91115
+ },
91116
+ "privacy": "public"
91117
+ },
91118
+ {
91119
+ "kind": "field",
91120
+ "name": "validatorName",
91121
+ "type": {
91122
+ "text": "ValidatorName"
91123
+ },
91124
+ "static": true,
91125
+ "default": "''",
91126
+ "description": "The name under which validation results get registered. For convenience and predictability, this\nshould always be the same as the constructor name (since it will be obfuscated in js builds,\nwe need to provide it separately).",
91127
+ "readonly": true,
91128
+ "inheritedFrom": {
91129
+ "name": "Validator",
91130
+ "module": "components/form-core/src/validate/Validator.js"
91131
+ },
91132
+ "privacy": "public"
91133
+ },
91134
+ {
91135
+ "kind": "field",
91136
+ "name": "['_$isValidator$']",
91137
+ "type": {
91138
+ "text": "boolean"
91139
+ },
91140
+ "static": true,
91141
+ "default": "true",
91142
+ "description": "This unique marker allows us to identify Validator instances across different lion versions.\nIt's meant to be used as a replacement for an instanceof check.\n\nN.B. it's important to keep the bracket notation, as `static _$isValidator$ = true;` will\nbe renamed during minification and that leads to different names across different\nlion versions.",
91143
+ "inheritedFrom": {
91144
+ "name": "Validator",
91145
+ "module": "components/form-core/src/validate/Validator.js"
91146
+ },
91147
+ "privacy": "public"
91148
+ },
91149
+ {
91150
+ "kind": "method",
91151
+ "name": "_getMessage",
91152
+ "parameters": [
91153
+ {
91154
+ "name": "data",
91155
+ "optional": true,
91156
+ "type": {
91157
+ "text": "Partial<FeedbackMessageData>"
91158
+ }
91159
+ }
91160
+ ],
91161
+ "description": "This is a protected method that usually should not be overridden. It is called by ValidateMixin\nand it gathers data to be passed to getMessage functions found:\n- `this.config.getMessage`, locally provided by consumers of the Validator (overrides global getMessage)\n- `MyValidator.getMessage`, globally provided by creators or consumers of the Validator\n\nConfusion can arise because of similarities with former mentioned methods. In that regard, a\nbetter name for this function would have been _pepareDataAndCallHighestPrioGetMessage.",
91162
+ "return": {
91163
+ "type": {
91164
+ "text": "Promise<string|Element>"
91165
+ }
91166
+ },
91167
+ "privacy": "protected",
91168
+ "inheritedFrom": {
91169
+ "name": "Validator",
91170
+ "module": "components/form-core/src/validate/Validator.js"
91171
+ }
91172
+ },
91173
+ {
91174
+ "kind": "field",
91175
+ "name": "__captureEventListeners",
91176
+ "default": "new Map()",
91177
+ "inheritedFrom": {
91178
+ "name": "EventTarget",
91179
+ "module": "../../node_modules/@lit-labs/ssr-dom-shim/lib/events.js"
91180
+ },
91181
+ "privacy": "private"
91182
+ },
91183
+ {
91184
+ "kind": "field",
91185
+ "name": "__config",
91186
+ "type": {
91187
+ "text": "ValidatorConfig"
91188
+ },
91189
+ "inheritedFrom": {
91190
+ "name": "Validator",
91191
+ "module": "components/form-core/src/validate/Validator.js"
91192
+ },
91193
+ "privacy": "private"
91194
+ },
91195
+ {
91196
+ "kind": "field",
91197
+ "name": "__eventListeners",
91198
+ "default": "new Map()",
91199
+ "inheritedFrom": {
91200
+ "name": "EventTarget",
91201
+ "module": "../../node_modules/@lit-labs/ssr-dom-shim/lib/events.js"
91202
+ },
91203
+ "privacy": "private"
91204
+ },
91205
+ {
91206
+ "kind": "field",
91207
+ "name": "__param",
91208
+ "type": {
91209
+ "text": "ValidatorParam"
91210
+ },
91211
+ "default": "param",
91212
+ "inheritedFrom": {
91213
+ "name": "Validator",
91214
+ "module": "components/form-core/src/validate/Validator.js"
91215
+ },
91216
+ "privacy": "private"
91217
+ }
91218
+ ],
91219
+ "superclass": {
91220
+ "name": "Validator",
91221
+ "package": "@lion/ui/form-core.js"
91222
+ }
90905
91223
  }
90906
91224
  ],
90907
91225
  "exports": [
@@ -90920,6 +91238,14 @@
90920
91238
  "name": "DuplicateFileNames",
90921
91239
  "module": "components/input-file/src/validators.js"
90922
91240
  }
91241
+ },
91242
+ {
91243
+ "kind": "js",
91244
+ "name": "MaxFileCount",
91245
+ "declaration": {
91246
+ "name": "MaxFileCount",
91247
+ "module": "components/input-file/src/validators.js"
91248
+ }
90923
91249
  }
90924
91250
  ]
90925
91251
  },
@@ -102129,7 +102455,7 @@
102129
102455
  "text": "string | undefined"
102130
102456
  },
102131
102457
  "description": "Delegates this property to input/textarea/select.",
102132
- "default": "undefined",
102458
+ "default": "'tel'",
102133
102459
  "attribute": "autocomplete",
102134
102460
  "reflects": true,
102135
102461
  "inheritedFrom": {
@@ -105742,7 +106068,7 @@
105742
106068
  "text": "string | undefined"
105743
106069
  },
105744
106070
  "description": "Delegates this property to input/textarea/select.",
105745
- "default": "undefined",
106071
+ "default": "'tel'",
105746
106072
  "attribute": "autocomplete",
105747
106073
  "reflects": true,
105748
106074
  "inheritedFrom": {
@@ -151471,45 +151797,15 @@
151471
151797
  },
151472
151798
  {
151473
151799
  "kind": "javascript-module",
151474
- "path": "../../node_modules/awesome-phonenumber/index-esm.mjs",
151475
- "declarations": [
151476
- {
151477
- "kind": "variable",
151478
- "name": "index"
151479
- },
151480
- {
151481
- "kind": "function",
151482
- "name": "parsePhoneNumber",
151483
- "parameters": [
151484
- {
151485
- "name": "args"
151486
- }
151487
- ]
151488
- }
151489
- ],
151800
+ "path": "node_modules/awesome-phonenumber/index-esm.mjs",
151801
+ "declarations": [],
151490
151802
  "exports": [
151491
- {
151492
- "kind": "js",
151493
- "name": "default",
151494
- "declaration": {
151495
- "name": "index",
151496
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151497
- }
151498
- },
151499
151803
  {
151500
151804
  "kind": "js",
151501
151805
  "name": "AsYouType",
151502
151806
  "declaration": {
151503
151807
  "name": "AsYouType",
151504
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151505
- }
151506
- },
151507
- {
151508
- "kind": "js",
151509
- "name": "parsePhoneNumber",
151510
- "declaration": {
151511
- "name": "parsePhoneNumber",
151512
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151808
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151513
151809
  }
151514
151810
  },
151515
151811
  {
@@ -151517,7 +151813,7 @@
151517
151813
  "name": "getCountryCodeForRegionCode",
151518
151814
  "declaration": {
151519
151815
  "name": "getCountryCodeForRegionCode",
151520
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151816
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151521
151817
  }
151522
151818
  },
151523
151819
  {
@@ -151525,7 +151821,7 @@
151525
151821
  "name": "getRegionCodeForCountryCode",
151526
151822
  "declaration": {
151527
151823
  "name": "getRegionCodeForCountryCode",
151528
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151824
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151529
151825
  }
151530
151826
  },
151531
151827
  {
@@ -151533,7 +151829,7 @@
151533
151829
  "name": "getSupportedCallingCodes",
151534
151830
  "declaration": {
151535
151831
  "name": "getSupportedCallingCodes",
151536
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151832
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151537
151833
  }
151538
151834
  },
151539
151835
  {
@@ -151541,7 +151837,15 @@
151541
151837
  "name": "getSupportedRegionCodes",
151542
151838
  "declaration": {
151543
151839
  "name": "getSupportedRegionCodes",
151544
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151840
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151841
+ }
151842
+ },
151843
+ {
151844
+ "kind": "js",
151845
+ "name": "findNumbers",
151846
+ "declaration": {
151847
+ "name": "findNumbers",
151848
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151545
151849
  }
151546
151850
  },
151547
151851
  {
@@ -151549,7 +151853,7 @@
151549
151853
  "name": "getExample",
151550
151854
  "declaration": {
151551
151855
  "name": "getExample",
151552
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151856
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151553
151857
  }
151554
151858
  },
151555
151859
  {
@@ -151557,7 +151861,7 @@
151557
151861
  "name": "getAsYouType",
151558
151862
  "declaration": {
151559
151863
  "name": "getAsYouType",
151560
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151864
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151561
151865
  }
151562
151866
  },
151563
151867
  {
@@ -151565,7 +151869,23 @@
151565
151869
  "name": "getNumberFrom",
151566
151870
  "declaration": {
151567
151871
  "name": "getNumberFrom",
151568
- "module": "../../node_modules/awesome-phonenumber/index-esm.mjs"
151872
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151873
+ }
151874
+ },
151875
+ {
151876
+ "kind": "js",
151877
+ "name": "parsePhoneNumber",
151878
+ "declaration": {
151879
+ "name": "parsePhoneNumber",
151880
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151881
+ }
151882
+ },
151883
+ {
151884
+ "kind": "js",
151885
+ "name": "default",
151886
+ "declaration": {
151887
+ "name": "parsePhoneNumber",
151888
+ "module": "node_modules/awesome-phonenumber/index-esm.mjs"
151569
151889
  }
151570
151890
  }
151571
151891
  ]
@@ -152361,17 +152681,30 @@
152361
152681
  "kind": "javascript-module",
152362
152682
  "path": "components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js",
152363
152683
  "declarations": [
152684
+ {
152685
+ "kind": "function",
152686
+ "name": "isDisabled",
152687
+ "parameters": [
152688
+ {
152689
+ "name": "item",
152690
+ "type": {
152691
+ "text": "HTMLElement|undefined"
152692
+ }
152693
+ }
152694
+ ]
152695
+ },
152364
152696
  {
152365
152697
  "kind": "function",
152366
152698
  "name": "withHoverInteraction",
152367
152699
  "parameters": [
152368
152700
  {
152369
- "name": "{ delayIn = 0, delayOut = 300 }"
152701
+ "name": "{\n isHoverSupported = window.matchMedia('(hover: hover)').matches,\n longpressDuration = 500,\n delayOut = 300,\n delayIn = 0,\n}",
152702
+ "default": "{}"
152370
152703
  },
152371
152704
  {
152372
152705
  "name": "options",
152373
152706
  "type": {
152374
- "text": "{ delayIn?: number, delayOut?: number }"
152707
+ "text": "{ isHoverSupported?: boolean, longpressDuration?: number, delayIn?: number, delayOut?: number }"
152375
152708
  }
152376
152709
  }
152377
152710
  ],
@@ -152384,6 +152717,14 @@
152384
152717
  }
152385
152718
  ],
152386
152719
  "exports": [
152720
+ {
152721
+ "kind": "js",
152722
+ "name": "isDisabled",
152723
+ "declaration": {
152724
+ "name": "isDisabled",
152725
+ "module": "components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js"
152726
+ }
152727
+ },
152387
152728
  {
152388
152729
  "kind": "js",
152389
152730
  "name": "withHoverInteraction",
@@ -1 +1 @@
1
- {"version":3,"file":"lion-calendar.test.d.ts","sourceRoot":"","sources":["../../../../components/calendar/test/lion-calendar.test.js"],"names":[],"mappings":"2BAUa,OAAO,wBAAwB,EAAE,YAAY;6BAC7C,OAAO,KAAK,EAAE,cAAc"}
1
+ {"version":3,"file":"lion-calendar.test.d.ts","sourceRoot":"","sources":["../../../../components/calendar/test/lion-calendar.test.js"],"names":[],"mappings":"2BAYa,OAAO,wBAAwB,EAAE,YAAY;6BAC7C,OAAO,KAAK,EAAE,cAAc"}