@lion/ui 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -0
- package/components/accordion/src/LionAccordion.js +31 -42
- package/components/accordion/test/lion-accordion.test.js +108 -134
- package/components/button/src/LionButton.js +9 -12
- package/components/button/src/LionButtonReset.js +0 -5
- package/components/button/src/LionButtonSubmit.js +7 -12
- package/components/button/test/demos.screenshots-test.js +50 -11
- package/components/button/test/lion-button.test.js +0 -1
- package/components/button/test-suites/LionButton.suite.js +135 -145
- package/components/button/test-suites/LionButtonReset.suite.js +54 -72
- package/components/button/test-suites/LionButtonSubmit.suite.js +49 -68
- package/components/calendar/src/LionCalendar.js +151 -104
- package/components/calendar/src/calendarStyle.js +0 -1
- package/components/calendar/src/utils/createMonth.js +3 -4
- package/components/calendar/src/utils/createMultipleMonth.js +15 -7
- package/components/calendar/src/utils/createWeek.js +0 -2
- package/components/calendar/src/utils/dataTemplate.js +8 -4
- package/components/calendar/src/utils/dayTemplate.js +0 -6
- package/components/calendar/src/utils/getDayMonthYear.js +6 -2
- package/components/calendar/test/demos.screenshots-test.js +40 -9
- package/components/calendar/test/lion-calendar.test.js +171 -282
- package/components/calendar/test/utils/createMonth.test.js +61 -22
- package/components/calendar/test/utils/createMultipleMonth.test.js +14 -7
- package/components/calendar/test/utils/createWeek.test.js +51 -17
- package/components/calendar/test/utils/dataTemplate.test.js +3 -4
- package/components/calendar/test/utils/dayTemplate.test.js +106 -34
- package/components/calendar/test/utils/getFirstDayNextMonth.test.js +0 -1
- package/components/calendar/test/utils/getLastDayPreviousMonth.test.js +0 -1
- package/components/calendar/test/utils/isSameDate.test.js +0 -1
- package/components/calendar/test/utils/snapshots/monthTemplate_en-GB_Sunday_2018-12.js +1 -2
- package/components/calendar/test-helpers/CalendarObject.js +31 -62
- package/components/calendar/test-helpers/DayObject.js +7 -15
- package/components/calendar/test-suites/LionCalendar.suite.js +7 -9
- package/components/checkbox-group/src/LionCheckboxIndeterminate.js +17 -30
- package/components/checkbox-group/test/lion-checkbox-group-integrations.test.js +0 -1
- package/components/checkbox-group/test/lion-checkbox-group.test.js +21 -16
- package/components/checkbox-group/test/lion-checkbox-indeterminate-integrations.test.js +3 -3
- package/components/checkbox-group/test/lion-checkbox-integrations.test.js +3 -2
- package/components/checkbox-group/test/lion-checkbox.test.js +30 -16
- package/components/checkbox-group/test-suites/CheckboxIndeterminate.suite.js +147 -191
- package/components/collapsible/src/LionCollapsible.js +10 -15
- package/components/collapsible/test/lion-collapsible.test.js +4 -18
- package/components/combobox/src/LionCombobox.js +45 -55
- package/components/combobox/src/utils/makeMatchingTextBold.js +2 -5
- package/components/combobox/src/validators.js +0 -1
- package/components/combobox/test/lion-combobox-integrations.test.js +6 -6
- package/components/combobox/test/lion-combobox.test.js +598 -860
- package/components/combobox/test/validators.test.js +6 -13
- package/components/combobox/test-helpers/combobox-helpers.js +24 -11
- package/components/core/src/DisabledMixin.js +61 -66
- package/components/core/src/DisabledWithTabIndexMixin.js +76 -83
- package/components/core/src/EventTargetShim.js +1 -4
- package/components/core/src/ScopedElementsMixin.js +4 -15
- package/components/core/src/ScopedStylesController.js +1 -5
- package/components/core/src/SlotMixin.js +236 -239
- package/components/core/src/browserDetection.js +5 -12
- package/components/core/test/DisabledMixin.test.js +24 -39
- package/components/core/test/DisabledWithTabIndexMixin.test.js +21 -34
- package/components/core/test/EventTargetShim.test.js +0 -8
- package/components/core/test/ScopedElementsMixin.test.js +22 -38
- package/components/core/test/ScopedStylesController.test.js +11 -20
- package/components/core/test/SlotMixin.test.js +102 -154
- package/components/core/test-helpers/getCachedFixture.js +5 -11
- package/components/core/types/SlotMixinTypes.ts +8 -3
- package/components/dialog/src/LionDialog.js +4 -3
- package/components/dialog/test/lion-dialog.integration.test.js +10 -20
- package/components/dialog/test/lion-dialog.test.js +48 -62
- package/components/dialog/test-helpers/test-router.js +4 -6
- package/components/drawer/src/LionDrawer.js +18 -34
- package/components/drawer/src/drawerStyle.js +0 -1
- package/components/drawer/test/lion-drawer.test.js +1 -17
- package/components/fieldset/test/lion-fieldset.test.js +6 -4
- package/components/form/src/LionForm.js +18 -13
- package/components/form/test/lion-form.test.js +22 -52
- package/components/form-core/src/FocusMixin.js +172 -174
- package/components/form-core/src/FormControlMixin.js +811 -813
- package/components/form-core/src/FormatMixin.js +537 -537
- package/components/form-core/src/InteractionStateMixin.js +196 -183
- package/components/form-core/src/LionField.js +9 -5
- package/components/form-core/src/NativeTextFieldMixin.js +114 -116
- package/components/form-core/src/choice-group/ChoiceGroupMixin.js +322 -357
- package/components/form-core/src/choice-group/ChoiceInputMixin.js +306 -296
- package/components/form-core/src/choice-group/CustomChoiceGroupMixin.js +114 -139
- package/components/form-core/src/form-group/FormElementsHaveNoError.js +0 -2
- package/components/form-core/src/form-group/FormGroupMixin.js +551 -557
- package/components/form-core/src/registration/FormRegisteringMixin.js +72 -71
- package/components/form-core/src/registration/FormRegistrarMixin.js +201 -217
- package/components/form-core/src/registration/FormRegistrarPortalMixin.js +31 -37
- package/components/form-core/src/utils/SyncUpdatableMixin.js +106 -117
- package/components/form-core/src/utils/getAriaElementsInRightDomOrder.js +1 -2
- package/components/form-core/src/validate/LionValidationFeedback.js +12 -8
- package/components/form-core/src/validate/Unparseable.js +4 -2
- package/components/form-core/src/validate/ValidateMixin.js +829 -883
- package/components/form-core/src/validate/Validator.js +3 -6
- package/components/form-core/src/validate/resultValidators/DefaultSuccess.js +1 -2
- package/components/form-core/src/validate/validators/DateValidators.js +0 -5
- package/components/form-core/src/validate/validators/NumberValidators.js +1 -5
- package/components/form-core/src/validate/validators/Required.js +1 -1
- package/components/form-core/src/validate/validators/StringValidators.js +1 -8
- package/components/form-core/test/FocusMixin.test.js +96 -82
- package/components/form-core/test/FormControlMixin.test.js +120 -176
- package/components/form-core/test/FormRegistrationMixins.test.js +0 -2
- package/components/form-core/test/FormatMixin.test.js +0 -1
- package/components/form-core/test/InteractionStateMixin.test.js +0 -1
- package/components/form-core/test/NativeTextFieldMixin.test.js +0 -1
- package/components/form-core/test/choice-group/ChoiceGroupMixin.test.js +0 -1
- package/components/form-core/test/choice-group/ChoiceInputMixin.test.js +0 -1
- package/components/form-core/test/choice-group/CustomChoiceGroupMixin.integrations.test.js +6 -8
- package/components/form-core/test/choice-group/CustomChoiceGroupMixin.test.js +0 -3
- package/components/form-core/test/form-group/FormGroupMixin.test.js +0 -1
- package/components/form-core/test/lion-field.test.js +88 -98
- package/components/form-core/test/utils/SyncUpdatableMixin.test.js +51 -65
- package/components/form-core/test/utils/getAriaElementsInRightDomOrder.test.js +3 -3
- package/components/form-core/test/validate/DateValidators.test.js +5 -27
- package/components/form-core/test/validate/NumberValidators.test.js +4 -16
- package/components/form-core/test/validate/Required.test.js +8 -21
- package/components/form-core/test/validate/ResultValidator.test.js +1 -2
- package/components/form-core/test/validate/StringValidators.test.js +4 -35
- package/components/form-core/test/validate/ValidateMixin.test.js +0 -1
- package/components/form-core/test/validate/ValidateMixinFeedbackPart.test.js +0 -1
- package/components/form-core/test/validate/Validator.test.js +39 -34
- package/components/form-core/test/validate/lion-validation-feedback.test.js +81 -43
- package/components/form-core/test-helpers/ExampleValidators.js +0 -5
- package/components/form-core/test-helpers/getFormControlMembers.js +2 -2
- package/components/form-core/test-helpers/mimicUserInput.js +5 -1
- package/components/form-core/test-suites/FormRegistrationMixins.suite.js +65 -122
- package/components/form-core/test-suites/FormatMixin.suite.js +202 -227
- package/components/form-core/test-suites/InteractionStateMixin.suite.js +47 -60
- package/components/form-core/test-suites/NativeTextFieldMixin.suite.js +8 -11
- package/components/form-core/test-suites/ValidateMixin.suite.js +280 -359
- package/components/form-core/test-suites/ValidateMixinFeedbackPart.suite.js +112 -163
- package/components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.js +185 -218
- package/components/form-core/test-suites/choice-group/ChoiceInputMixin.suite.js +116 -109
- package/components/form-core/test-suites/choice-group/CustomChoiceGroupMixin.suite.js +36 -70
- package/components/form-core/test-suites/form-group/FormGroupMixin-input.suite.js +57 -65
- package/components/form-core/test-suites/form-group/FormGroupMixin.suite.js +664 -523
- package/components/form-core/translations/bg-BG.js +0 -1
- package/components/form-core/translations/cs-CZ.js +0 -1
- package/components/form-core/translations/de-DE.js +0 -1
- package/components/form-core/translations/en-AU.js +0 -1
- package/components/form-core/translations/en-GB.js +0 -1
- package/components/form-core/translations/en-US.js +0 -1
- package/components/form-core/translations/es-ES.js +0 -1
- package/components/form-core/translations/fr-BE.js +0 -1
- package/components/form-core/translations/fr-FR.js +0 -1
- package/components/form-core/translations/hu-HU.js +0 -1
- package/components/form-core/translations/it-IT.js +0 -1
- package/components/form-core/translations/nl-BE.js +0 -1
- package/components/form-core/translations/nl-NL.js +0 -1
- package/components/form-core/translations/pl-PL.js +0 -1
- package/components/form-core/translations/ro-RO.js +0 -1
- package/components/form-core/translations/ru-RU.js +0 -1
- package/components/form-core/translations/sk-SK.js +0 -1
- package/components/form-core/translations/tr-TR.js +0 -1
- package/components/form-core/translations/uk-UA.js +0 -1
- package/components/form-core/types/choice-group/ChoiceGroupMixinTypes.ts +5 -0
- package/components/form-integrations/test/dialog-integrations.test.js +1 -4
- package/components/form-integrations/test/form-group-methods.test.js +28 -31
- package/components/form-integrations/test/form-integrations.test.js +27 -28
- package/components/form-integrations/test/form-validation-integrations.test.js +21 -29
- package/components/form-integrations/test/helpers/umbrella-form.js +3 -5
- package/components/form-integrations/test/model-value-consistency.test.js +75 -77
- package/components/form-integrations/test/model-value-event.test.js +10 -20
- package/components/helpers/src/SbActionLogger.js +13 -17
- package/components/helpers/src/SbLocaleSwitcher.js +5 -5
- package/components/helpers/src/sortEachDepth.js +0 -2
- package/components/helpers/test/renderLitAsNode.test.js +0 -4
- package/components/helpers/test/sb-action-logger.test.js +24 -55
- package/components/icon/src/IconManager.js +0 -2
- package/components/icon/src/LionIcon.js +2 -7
- package/components/icon/src/icons.js +0 -2
- package/components/icon/test/IconManager.test.js +0 -15
- package/components/icon/test/hammer.svg.js +3 -4
- package/components/icon/test/heart.svg.js +3 -4
- package/components/icon/test/lion-icon.test.js +14 -43
- package/components/input/src/LionInput.js +2 -8
- package/components/input/test/input-integrations.test.js +0 -5
- package/components/input/test/lion-input-integrations.test.js +0 -4
- package/components/input/test/lion-input.test.js +28 -58
- package/components/input/test-helpers/getInputMembers.js +2 -2
- package/components/input-amount/src/LionInputAmount.js +37 -26
- package/components/input-amount/src/formatters.js +4 -5
- package/components/input-amount/src/parsers.js +0 -3
- package/components/input-amount/test/formatters.test.js +102 -80
- package/components/input-amount/test/lion-input-amount-integrations.test.js +0 -4
- package/components/input-amount/test/lion-input-amount.test.js +155 -164
- package/components/input-amount/test/parsers.test.js +33 -17
- package/components/input-amount/test/preprocessors.test.js +0 -3
- package/components/input-amount-dropdown/src/LionInputAmountDropdown.js +49 -59
- package/components/input-amount-dropdown/src/currencyUtil.js +8 -7
- package/components/input-amount-dropdown/src/parsers.js +0 -1
- package/components/input-amount-dropdown/src/validators.js +0 -1
- package/components/input-amount-dropdown/test/LionInputAmountDropdown.test.js +34 -36
- package/components/input-amount-dropdown/test/lion-input-amount-dropdown-integrations.test.js +18 -13
- package/components/input-amount-dropdown/test-helpers/mimicUserChangingDropdown.js +5 -1
- package/components/input-amount-dropdown/test-suites/LionInputAmountDropdown.suite.js +132 -107
- package/components/input-date/src/LionInputDate.js +4 -3
- package/components/input-date/test/lion-input-date-integrations.test.js +0 -3
- package/components/input-date/test/lion-input-date.test.js +19 -32
- package/components/input-datepicker/src/LionInputDatepicker.js +17 -29
- package/components/input-datepicker/src/localizeNamespaceLoader.js +1 -2
- package/components/input-datepicker/test/lion-input-datepicker-integrations.test.js +0 -3
- package/components/input-datepicker/test/lion-input-datepicker.test.js +88 -153
- package/components/input-datepicker/test-helpers/DatepickerInputObject.js +9 -12
- package/components/input-datepicker/test-suites/LionInputDatepicker.suite.js +6 -4
- package/components/input-datepicker/translations/bg-BG.js +0 -1
- package/components/input-datepicker/translations/cs-CZ.js +0 -1
- package/components/input-datepicker/translations/de-DE.js +0 -1
- package/components/input-datepicker/translations/en-AU.js +0 -1
- package/components/input-datepicker/translations/en-GB.js +0 -1
- package/components/input-datepicker/translations/en-US.js +0 -1
- package/components/input-datepicker/translations/es-ES.js +0 -1
- package/components/input-datepicker/translations/fr-BE.js +0 -1
- package/components/input-datepicker/translations/fr-FR.js +0 -1
- package/components/input-datepicker/translations/hu-HU.js +0 -1
- package/components/input-datepicker/translations/it-IT.js +0 -1
- package/components/input-datepicker/translations/nl-BE.js +0 -1
- package/components/input-datepicker/translations/nl-NL.js +0 -1
- package/components/input-datepicker/translations/pl-PL.js +0 -1
- package/components/input-datepicker/translations/ro-RO.js +0 -1
- package/components/input-datepicker/translations/ru-RU.js +0 -1
- package/components/input-datepicker/translations/sk-SK.js +0 -1
- package/components/input-datepicker/translations/tr-TR.js +0 -1
- package/components/input-datepicker/translations/uk-UA.js +0 -1
- package/components/input-email/test/lion-input-email-integrations.test.js +0 -2
- package/components/input-email/test/lion-input-email.test.js +1 -7
- package/components/input-file/src/FileHandle.js +0 -3
- package/components/input-file/src/LionInputFile.js +85 -83
- package/components/input-file/src/LionSelectedFileList.js +12 -12
- package/components/input-file/src/validators.js +10 -9
- package/components/input-file/test/FileValidators.test.js +170 -80
- package/components/input-file/test/lion-input-file.test.js +160 -244
- package/components/input-file/test/lion-selected-file-list.test.js +13 -22
- package/components/input-file/translations/bg-BG.js +0 -1
- package/components/input-file/translations/cs-CZ.js +0 -1
- package/components/input-file/translations/de-DE.js +0 -1
- package/components/input-file/translations/en-AU.js +0 -1
- package/components/input-file/translations/en-GB.js +0 -1
- package/components/input-file/translations/en-PH.js +0 -1
- package/components/input-file/translations/en-US.js +0 -1
- package/components/input-file/translations/en.js +2 -1
- package/components/input-file/translations/es-ES.js +0 -1
- package/components/input-file/translations/fr-BE.js +0 -1
- package/components/input-file/translations/fr-FR.js +0 -1
- package/components/input-file/translations/hu-HU.js +0 -1
- package/components/input-file/translations/id-ID.js +0 -1
- package/components/input-file/translations/id.js +2 -1
- package/components/input-file/translations/it-IT.js +0 -1
- package/components/input-file/translations/nl-BE.js +0 -1
- package/components/input-file/translations/nl-NL.js +0 -1
- package/components/input-file/translations/pl-PL.js +0 -1
- package/components/input-file/translations/ro-RO.js +0 -1
- package/components/input-file/translations/ru-RU.js +0 -1
- package/components/input-file/translations/sk-SK.js +0 -1
- package/components/input-file/translations/uk-UA.js +0 -1
- package/components/input-file/translations/zh-CN.js +0 -1
- package/components/input-iban/src/validators.js +6 -11
- package/components/input-iban/test/formatters.test.js +0 -3
- package/components/input-iban/test/lion-input-iban-integrations.test.js +0 -2
- package/components/input-iban/test/lion-input-iban.test.js +1 -9
- package/components/input-iban/test/parsers.test.js +0 -2
- package/components/input-iban/test/validators.test.js +0 -12
- package/components/input-iban/translations/bg-BG.js +0 -1
- package/components/input-iban/translations/cs-CZ.js +0 -1
- package/components/input-iban/translations/de-DE.js +0 -1
- package/components/input-iban/translations/en-AU.js +0 -1
- package/components/input-iban/translations/en-GB.js +0 -1
- package/components/input-iban/translations/en-US.js +0 -1
- package/components/input-iban/translations/es-ES.js +0 -1
- package/components/input-iban/translations/fr-BE.js +0 -1
- package/components/input-iban/translations/fr-FR.js +0 -1
- package/components/input-iban/translations/hu-HU.js +0 -1
- package/components/input-iban/translations/it-IT.js +0 -1
- package/components/input-iban/translations/nl-BE.js +0 -1
- package/components/input-iban/translations/nl-NL.js +0 -1
- package/components/input-iban/translations/pl-PL.js +0 -1
- package/components/input-iban/translations/ro-RO.js +0 -1
- package/components/input-iban/translations/ru-RU.js +0 -1
- package/components/input-iban/translations/sk-SK.js +0 -1
- package/components/input-iban/translations/uk-UA.js +0 -1
- package/components/input-range/src/LionInputRange.js +18 -19
- package/components/input-range/test/lion-input-range.test.js +23 -48
- package/components/input-range/translations/bg-BG.js +0 -1
- package/components/input-range/translations/cs-CZ.js +0 -1
- package/components/input-range/translations/de-DE.js +0 -1
- package/components/input-range/translations/en-AU.js +0 -1
- package/components/input-range/translations/en-GB.js +0 -1
- package/components/input-range/translations/en-PH.js +0 -1
- package/components/input-range/translations/en-US.js +0 -1
- package/components/input-range/translations/es-ES.js +0 -1
- package/components/input-range/translations/fr-BE.js +0 -1
- package/components/input-range/translations/fr-FR.js +0 -1
- package/components/input-range/translations/hu-HU.js +0 -1
- package/components/input-range/translations/it-IT.js +0 -1
- package/components/input-range/translations/nl-BE.js +0 -1
- package/components/input-range/translations/nl-NL.js +0 -1
- package/components/input-range/translations/pl-PL.js +0 -1
- package/components/input-range/translations/ro-RO.js +0 -1
- package/components/input-range/translations/ru-RU.js +0 -1
- package/components/input-range/translations/sk-SK.js +0 -1
- package/components/input-range/translations/uk-UA.js +0 -1
- package/components/input-range/translations/zh-CN.js +0 -1
- package/components/input-stepper/src/LionInputStepper.js +19 -38
- package/components/input-stepper/test/lion-input-stepper-integrations.test.js +0 -1
- package/components/input-stepper/test/lion-input-stepper.test.js +0 -1
- package/components/input-stepper/test-suites/lion-input-stepper.integration.suite.js +0 -2
- package/components/input-stepper/test-suites/lion-input-stepper.suite.js +56 -105
- package/components/input-stepper/translations/bg-BG.js +0 -1
- package/components/input-stepper/translations/cs-CZ.js +0 -1
- package/components/input-stepper/translations/de-DE.js +0 -1
- package/components/input-stepper/translations/en-AU.js +0 -1
- package/components/input-stepper/translations/en-GB.js +0 -1
- package/components/input-stepper/translations/en-US.js +0 -1
- package/components/input-stepper/translations/es-ES.js +0 -1
- package/components/input-stepper/translations/fr-BE.js +0 -1
- package/components/input-stepper/translations/fr-FR.js +0 -1
- package/components/input-stepper/translations/hu-HU.js +0 -1
- package/components/input-stepper/translations/it-IT.js +0 -1
- package/components/input-stepper/translations/nl-BE.js +0 -1
- package/components/input-stepper/translations/nl-NL.js +0 -1
- package/components/input-stepper/translations/pl-PL.js +0 -1
- package/components/input-stepper/translations/ro-RO.js +0 -1
- package/components/input-stepper/translations/ru-RU.js +0 -1
- package/components/input-stepper/translations/sk-SK.js +0 -1
- package/components/input-stepper/translations/uk-UA.js +0 -1
- package/components/input-tel/src/LionInputTel.js +53 -37
- package/components/input-tel/src/PhoneUtilManager.js +6 -4
- package/components/input-tel/src/formatters.js +12 -10
- package/components/input-tel/src/parsers.js +3 -3
- package/components/input-tel/src/preprocessors.js +15 -7
- package/components/input-tel/src/validators.js +4 -6
- package/components/input-tel/test/LionInputTel.test.js +4 -2
- package/components/input-tel/test/formatters.test.js +22 -10
- package/components/input-tel/test/parsers.test.js +40 -11
- package/components/input-tel/test/preprocessors.test.js +24 -13
- package/components/input-tel/test/validators.test.js +15 -13
- package/components/input-tel/test-helpers/mockPhoneUtilManager.js +7 -6
- package/components/input-tel/test-suites/LionInputTel.suite.js +33 -73
- package/components/input-tel/translations/bg-BG.js +0 -1
- package/components/input-tel/translations/cs-CZ.js +0 -1
- package/components/input-tel/translations/de-DE.js +0 -1
- package/components/input-tel/translations/en-AU.js +0 -1
- package/components/input-tel/translations/en-GB.js +0 -1
- package/components/input-tel/translations/en-US.js +0 -1
- package/components/input-tel/translations/es-ES.js +0 -1
- package/components/input-tel/translations/fr-BE.js +0 -1
- package/components/input-tel/translations/fr-FR.js +0 -1
- package/components/input-tel/translations/hu-HU.js +0 -1
- package/components/input-tel/translations/it-IT.js +0 -1
- package/components/input-tel/translations/nl-BE.js +0 -1
- package/components/input-tel/translations/nl-NL.js +0 -1
- package/components/input-tel/translations/pl-PL.js +0 -1
- package/components/input-tel/translations/ro-RO.js +0 -1
- package/components/input-tel/translations/ru-RU.js +0 -1
- package/components/input-tel/translations/sk-SK.js +0 -1
- package/components/input-tel/translations/uk-UA.js +0 -1
- package/components/input-tel-dropdown/src/LionInputTelDropdown.js +10 -28
- package/components/input-tel-dropdown/src/regionCodeToLocale.js +3 -1
- package/components/input-tel-dropdown/test/LionInputTelDropdown.test.js +31 -38
- package/components/input-tel-dropdown/test/regionCodeToLocale.test.js +0 -1
- package/components/input-tel-dropdown/test-helpers/mimicUserChangingDropdown.js +5 -1
- package/components/input-tel-dropdown/test-suites/LionInputTelDropdown--parentheses.suite.js +16 -11
- package/components/input-tel-dropdown/test-suites/LionInputTelDropdown.suite.js +54 -79
- package/components/listbox/src/LionListbox.js +4 -1
- package/components/listbox/src/LionOption.js +8 -7
- package/components/listbox/src/LionOptions.js +0 -3
- package/components/listbox/src/ListboxMixin.js +801 -819
- package/components/listbox/test/lion-listbox.test.js +0 -1
- package/components/listbox/test/lion-option.test.js +53 -64
- package/components/listbox/test/lion-options.test.js +3 -4
- package/components/listbox/test-helpers/getListboxMembers.js +6 -3
- package/components/listbox/test-suites/ListboxMixin.suite.js +101 -261
- package/components/listbox/types/ListboxMixinTypes.ts +7 -1
- package/components/localize/src/LocalizeManager.js +40 -40
- package/components/localize/src/LocalizeMixin.js +130 -157
- package/components/localize/src/date/formatDate.js +1 -5
- package/components/localize/src/date/getDateFormatBasedOnLocale.js +5 -3
- package/components/localize/src/date/getMonthNames.js +3 -5
- package/components/localize/src/date/getWeekdayNames.js +1 -5
- package/components/localize/src/date/parseDate.js +5 -20
- package/components/localize/src/date/utils/normalizeIntlDate.js +0 -7
- package/components/localize/src/getLocalizeManager.js +0 -3
- package/components/localize/src/number/formatNumber.js +3 -7
- package/components/localize/src/number/formatNumberToParts.js +52 -18
- package/components/localize/src/number/getCurrencyName.js +5 -5
- package/components/localize/src/number/getFractionDigits.js +4 -4
- package/components/localize/src/number/getSeparatorsFromNumber.js +1 -3
- package/components/localize/src/number/parseNumber.js +0 -3
- package/components/localize/src/number/utils/normalize-format-number-to-parts/forceAddGroupSeparators.js +0 -1
- package/components/localize/src/number/utils/normalize-format-number-to-parts/forceSpaceBetweenCurrencyCodeAndNumber.js +4 -1
- package/components/localize/test/LocalizeManager.test.js +385 -278
- package/components/localize/test/LocalizeMixin.test.js +28 -112
- package/components/localize/test/date/formatDate.test.js +18 -48
- package/components/localize/test/date/getDateFormatBasedOnLocale.test.js +0 -3
- package/components/localize/test/date/getMonthNames.test.js +27 -12
- package/components/localize/test/date/getWeekdayNames.test.js +93 -49
- package/components/localize/test/date/normalizeDateTime.test.js +0 -2
- package/components/localize/test/date/parseDate.test.js +12 -16
- package/components/localize/test/getLocalizeManager.test.js +0 -3
- package/components/localize/test/isLocalizeESModule.test.js +32 -13
- package/components/localize/test/localize.test.js +0 -4
- package/components/localize/test/number/formatNumber.test.js +215 -106
- package/components/localize/test/number/formatNumberToParts.test.js +31 -38
- package/components/localize/test/number/getCurrencyName.test.js +20 -6
- package/components/localize/test/number/getDecimalSeparator.test.js +5 -4
- package/components/localize/test/number/getFractionDigits.test.js +0 -2
- package/components/localize/test/number/getGroupSeparator.test.js +0 -2
- package/components/localize/test/number/getSeparatorsFromNumber.test.js +5 -3
- package/components/localize/test/number/parseNumber.test.js +123 -56
- package/components/localize/test/side-effect-free-entrypoint.test.js +0 -6
- package/components/localize/test-helpers/fake-imports.js +11 -6
- package/components/localize/test-helpers/localizeTearDown.js +0 -1
- package/components/menu/README.md +360 -0
- package/components/menu/src/InteractiveListMixin.js +866 -0
- package/components/menu/src/LionMenu.js +423 -0
- package/components/menu/src/MoreButtonMenuMixin.js +272 -0
- package/components/menu/src/MultiLevelListMixin.js +306 -0
- package/components/menu/src/utils/isInView.js +25 -0
- package/components/menu/src/utils/listItemInteractions.js +124 -0
- package/components/menu/test/InteractiveListMixin.test.js +2 -0
- package/components/menu/test/MoreButtonMenuMixin.test.js +5 -0
- package/components/menu/test/MultiLevelListMixin.test.js +2 -0
- package/components/menu/test/lion-menu-interactions.test.js +2 -0
- package/components/menu/test/lion-menu.test.js +18 -0
- package/components/menu/test-helpers/mimicKeyPress.js +19 -0
- package/components/menu/test-suites/InteractiveListMixin.suite.js +498 -0
- package/components/menu/test-suites/LionMenu.suite.js +107 -0
- package/components/menu/test-suites/LionMenuInteractions.suite.js +561 -0
- package/components/menu/test-suites/MoreButtonMenuMixin.suite.js +365 -0
- package/components/menu/test-suites/MultiLevelListMixin.suite.js +291 -0
- package/components/menu/types/InteractiveListMixinTypes.ts +126 -0
- package/components/menu/types/MoreButtonMenuMixinTypes.ts +51 -0
- package/components/menu/types/MultiLevelListMixinTypes.ts +28 -0
- package/components/menu/types/OverlayWithListInvokerMixinTypes.ts +61 -0
- package/components/overlays/NEXT.md +49 -0
- package/components/overlays/src/ArrowMixin.js +111 -127
- package/components/overlays/src/OverlayController.js +440 -246
- package/components/overlays/src/OverlayMixin.js +130 -68
- package/components/overlays/src/OverlaysManager.js +30 -32
- package/components/overlays/src/configurations/visibility-trigger-partials/withClickInteraction.js +0 -1
- package/components/overlays/src/configurations/visibility-trigger-partials/withHoverInteraction.js +11 -11
- package/components/overlays/src/configurations/withBottomSheetConfig.js +12 -13
- package/components/overlays/src/configurations/withDropdownConfig.js +4 -2
- package/components/overlays/src/configurations/withModalDialogConfig.js +12 -13
- package/components/overlays/src/configurations/withPopoverConfig.js +27 -25
- package/components/overlays/src/configurations/withTooltipConfig.js +15 -13
- package/components/overlays/src/overlayDocumentStyle.js +1 -1
- package/components/overlays/src/overlayShadowDomStyle.js +0 -1
- package/components/overlays/src/singleton.js +0 -2
- package/components/overlays/src/utils/adopt-styles.js +19 -19
- package/components/overlays/src/utils/deep-contains.js +7 -6
- package/components/overlays/src/utils/get-focusable-elements.js +7 -10
- package/components/overlays/src/utils/inert-siblings.js +2 -4
- package/components/overlays/src/utils/is-equal-config.js +14 -6
- package/components/overlays/src/utils/is-visible.js +0 -1
- package/components/overlays/src/utils/simulate-tab.js +1 -4
- package/components/overlays/src/utils/sort-by-tabindex.js +2 -4
- package/components/overlays/test/ArrowMixin.test.js +18 -30
- package/components/overlays/test/OverlayController.test.js +551 -533
- package/components/overlays/test/OverlayMixin.test.js +0 -2
- package/components/overlays/test/OverlaysManager.test.js +30 -35
- package/components/overlays/test/global-positioning.test.js +6 -10
- package/components/overlays/test/local-positioning.test.js +101 -103
- package/components/overlays/test/utils-tests/active-element.test.js +12 -27
- package/components/overlays/test/utils-tests/adopt-styles.test.js +25 -56
- package/components/overlays/test/utils-tests/deep-contains.test.js +73 -74
- package/components/overlays/test/utils-tests/get-focusable-elements.test.js +6 -23
- package/components/overlays/test/utils-tests/is-equal-config.test.js +32 -13
- package/components/overlays/test/utils-tests/visibility.test.js +44 -79
- package/components/overlays/test-helpers/createShadowHost.js +5 -3
- package/components/overlays/test-helpers/normalizeTransformStyle.js +2 -4
- package/components/overlays/test-suites/OverlayMixin.suite.js +159 -188
- package/components/overlays/test-suites/WithHoverInteraction.suite.js +96 -79
- package/components/overlays/translations/bg-BG.js +0 -1
- package/components/overlays/translations/cs-CZ.js +0 -1
- package/components/overlays/translations/de-DE.js +0 -1
- package/components/overlays/translations/en-AU.js +0 -1
- package/components/overlays/translations/en-GB.js +0 -1
- package/components/overlays/translations/en-US.js +0 -1
- package/components/overlays/translations/es-ES.js +0 -1
- package/components/overlays/translations/fr-BE.js +0 -1
- package/components/overlays/translations/fr-FR.js +0 -1
- package/components/overlays/translations/hu-HU.js +0 -1
- package/components/overlays/translations/it-IT.js +0 -1
- package/components/overlays/translations/nl-BE.js +0 -1
- package/components/overlays/translations/nl-NL.js +0 -1
- package/components/overlays/translations/pl-PL.js +0 -1
- package/components/overlays/translations/ro-RO.js +0 -1
- package/components/overlays/translations/ru-RU.js +0 -1
- package/components/overlays/translations/sk-SK.js +0 -1
- package/components/overlays/translations/tr-TR.js +0 -1
- package/components/overlays/translations/uk-UA.js +0 -1
- package/components/overlays/types/ArrowMixinTypes.ts +1 -3
- package/components/overlays/types/OverlayConfig.ts +20 -5
- package/components/overlays/types/OverlayMixinTypes.ts +2 -0
- package/components/pagination/src/LionPagination.js +9 -12
- package/components/pagination/test/lion-pagination.test.js +18 -50
- package/components/progress-indicator/src/LionProgressIndicator.js +10 -12
- package/components/progress-indicator/test/lion-progress-indicator.test.js +1 -22
- package/components/radio-group/src/LionRadioGroup.js +1 -2
- package/components/radio-group/test/lion-radio-group-integrations.test.js +0 -1
- package/components/radio-group/test/lion-radio-group.test.js +27 -27
- package/components/radio-group/test/lion-radio-integrations.test.js +3 -2
- package/components/radio-group/test/lion-radio.test.js +30 -16
- package/components/select/src/LionSelect.js +12 -13
- package/components/select/test/lion-select.test.js +7 -12
- package/components/select-rich/src/LionSelectInvoker.js +18 -11
- package/components/select-rich/src/LionSelectRich.js +32 -43
- package/components/select-rich/test/demos.screenshots-test.js +40 -9
- package/components/select-rich/test/lion-select-invoker.test.js +26 -43
- package/components/select-rich/test/lion-select-listbox-suite-integration.test.js +3 -3
- package/components/select-rich/test/lion-select-rich-dialog-integration.test.js +4 -9
- package/components/select-rich/test/lion-select-rich-interaction.test.js +154 -101
- package/components/select-rich/test/lion-select-rich-upgrade.test.js +26 -0
- package/components/select-rich/test/lion-select-rich.test.js +153 -195
- package/components/select-rich/test-helpers/getSelectRichMembers.js +4 -1
- package/components/steps/src/LionStep.js +21 -12
- package/components/steps/src/LionSteps.js +25 -25
- package/components/steps/test/lion-step.test.js +18 -25
- package/components/steps/test/lion-steps.test.js +45 -78
- package/components/switch/src/LionSwitch.js +2 -7
- package/components/switch/src/LionSwitchButton.js +5 -6
- package/components/switch/test/lion-switch-button.test.js +16 -28
- package/components/switch/test/lion-switch.test.js +17 -31
- package/components/tabs/src/LionTabs.js +25 -28
- package/components/tabs/test/lion-tabs.test.js +156 -154
- package/components/textarea/src/LionTextarea.js +4 -23
- package/components/textarea/test/lion-textarea-integrations.test.js +0 -5
- package/components/textarea/test/lion-textarea.test.js +2 -28
- package/components/tooltip/src/LionTooltip.js +6 -6
- package/components/tooltip/test/lion-tooltip.test.js +75 -102
- package/components/validate-messages/src/getLocalizedMessage.js +8 -7
- package/components/validate-messages/src/loadDefaultFeedbackMessages.js +3 -1
- package/components/validate-messages/src/loadDefaultFeedbackMessagesNoSideEffects.js +9 -5
- package/components/validate-messages/src/per-entrypoint/loadComboboxMessagesNoSideEffects.js +5 -2
- package/components/validate-messages/src/per-entrypoint/loadFormCoreMessagesNoSideEffects.js +99 -35
- package/components/validate-messages/src/per-entrypoint/loadInputTelMessagesNoSideEffects.js +4 -3
- package/components/validate-messages/test/loadDefaultFeedbackMessages.test.js +5 -3
- package/components/validate-messages/test/loadDefaultFeedbackMessagesNoSideEffects.test.js +80 -45
- package/components/validate-messages/translations/bg-BG.js +0 -1
- package/components/validate-messages/translations/cs-CZ.js +0 -1
- package/components/validate-messages/translations/de-DE.js +0 -1
- package/components/validate-messages/translations/en-AU.js +0 -1
- package/components/validate-messages/translations/en-GB.js +0 -1
- package/components/validate-messages/translations/en-PH.js +0 -1
- package/components/validate-messages/translations/en-US.js +0 -1
- package/components/validate-messages/translations/es-ES.js +0 -1
- package/components/validate-messages/translations/fr-BE.js +0 -1
- package/components/validate-messages/translations/fr-FR.js +0 -1
- package/components/validate-messages/translations/hu-HU.js +0 -1
- package/components/validate-messages/translations/it-IT.js +0 -1
- package/components/validate-messages/translations/nl-BE.js +0 -1
- package/components/validate-messages/translations/nl-NL.js +0 -1
- package/components/validate-messages/translations/pl-PL.js +0 -1
- package/components/validate-messages/translations/ro-RO.js +0 -1
- package/components/validate-messages/translations/ru-RU.js +0 -1
- package/components/validate-messages/translations/sk-SK.js +0 -1
- package/components/validate-messages/translations/tr-TR.js +0 -1
- package/components/validate-messages/translations/uk-UA.js +0 -1
- package/custom-elements.json +3312 -206
- package/dist-types/components/combobox/src/LionCombobox.d.ts +1 -1
- package/dist-types/components/combobox/src/LionCombobox.d.ts.map +1 -1
- package/dist-types/components/core/src/SlotMixin.d.ts +6 -1
- package/dist-types/components/core/src/SlotMixin.d.ts.map +1 -1
- package/dist-types/components/core/types/SlotMixinTypes.d.ts +5 -1
- package/dist-types/components/core/types/SlotMixinTypes.d.ts.map +1 -1
- package/dist-types/components/dialog/src/LionDialog.d.ts +6 -2
- package/dist-types/components/dialog/src/LionDialog.d.ts.map +1 -1
- package/dist-types/components/form-core/src/LionField.d.ts +3 -1
- package/dist-types/components/form-core/src/LionField.d.ts.map +1 -1
- package/dist-types/components/form-core/src/choice-group/ChoiceGroupMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/types/choice-group/ChoiceGroupMixinTypes.d.ts +5 -0
- package/dist-types/components/form-core/types/choice-group/ChoiceGroupMixinTypes.d.ts.map +1 -1
- package/dist-types/components/input-amount/src/LionInputAmount.d.ts +3 -1
- package/dist-types/components/input-amount/src/LionInputAmount.d.ts.map +1 -1
- package/dist-types/components/input-amount/src/formatters.d.ts +6 -4
- package/dist-types/components/input-amount/src/formatters.d.ts.map +1 -1
- package/dist-types/components/input-datepicker/src/LionInputDatepicker.d.ts +1 -1
- package/dist-types/components/input-tel/src/LionInputTel.d.ts +6 -6
- package/dist-types/components/input-tel/src/LionInputTel.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/PhoneUtilManager.d.ts +2 -2
- package/dist-types/components/input-tel/src/PhoneUtilManager.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/formatters.d.ts +2 -2
- package/dist-types/components/input-tel/src/formatters.d.ts.map +1 -1
- package/dist-types/components/input-tel/src/preprocessors.d.ts +2 -2
- package/dist-types/components/input-tel/src/preprocessors.d.ts.map +1 -1
- package/dist-types/components/input-tel/test/validators.test.d.ts +1 -1
- package/dist-types/components/input-tel/test/validators.test.d.ts.map +1 -1
- package/dist-types/components/listbox/src/LionOption.d.ts +5 -2
- package/dist-types/components/listbox/src/LionOption.d.ts.map +1 -1
- package/dist-types/components/listbox/src/ListboxMixin.d.ts.map +1 -1
- package/dist-types/components/listbox/types/ListboxMixinTypes.d.ts +7 -1
- package/dist-types/components/listbox/types/ListboxMixinTypes.d.ts.map +1 -1
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts +35 -0
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +1 -0
- package/dist-types/components/menu/src/LionMenu.d.ts +129 -0
- package/dist-types/components/menu/src/LionMenu.d.ts.map +1 -0
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts +8 -0
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts.map +1 -0
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +7 -0
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -0
- package/dist-types/components/menu/src/utils/isInView.d.ts +9 -0
- package/dist-types/components/menu/src/utils/isInView.d.ts.map +1 -0
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +48 -0
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +1 -0
- package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts +2 -0
- package/dist-types/components/menu/test/InteractiveListMixin.test.d.ts.map +1 -0
- package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts +2 -0
- package/dist-types/components/menu/test/MoreButtonMenuMixin.test.d.ts.map +1 -0
- package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts +2 -0
- package/dist-types/components/menu/test/MultiLevelListMixin.test.d.ts.map +1 -0
- package/dist-types/components/menu/test/lion-menu-interactions.test.d.ts +2 -0
- package/dist-types/components/menu/test/lion-menu-interactions.test.d.ts.map +1 -0
- package/dist-types/components/menu/test/lion-menu.test.d.ts +2 -0
- package/dist-types/components/menu/test/lion-menu.test.d.ts.map +1 -0
- package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts +7 -0
- package/dist-types/components/menu/test-helpers/mimicKeyPress.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +11 -0
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts +9 -0
- package/dist-types/components/menu/test-suites/LionMenu.suite.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/LionMenuInteractions.suite.d.ts +5 -0
- package/dist-types/components/menu/test-suites/LionMenuInteractions.suite.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts +11 -0
- package/dist-types/components/menu/test-suites/MoreButtonMenuMixin.suite.d.ts.map +1 -0
- package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts +11 -0
- package/dist-types/components/menu/test-suites/MultiLevelListMixin.suite.d.ts.map +1 -0
- package/dist-types/components/menu/types/InteractiveListMixinTypes.d.ts +72 -0
- package/dist-types/components/menu/types/InteractiveListMixinTypes.d.ts.map +1 -0
- package/dist-types/components/menu/types/MoreButtonMenuMixinTypes.d.ts +30 -0
- package/dist-types/components/menu/types/MoreButtonMenuMixinTypes.d.ts.map +1 -0
- package/dist-types/components/menu/types/MultiLevelListMixinTypes.d.ts +16 -0
- package/dist-types/components/menu/types/MultiLevelListMixinTypes.d.ts.map +1 -0
- package/dist-types/components/menu/types/OverlayWithListInvokerMixinTypes.d.ts +35 -0
- package/dist-types/components/menu/types/OverlayWithListInvokerMixinTypes.d.ts.map +1 -0
- package/dist-types/components/overlays/src/OverlayController.d.ts +22 -5
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayMixin.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlaysManager.d.ts.map +1 -1
- package/dist-types/components/overlays/src/overlayDocumentStyle.d.ts.map +1 -1
- package/dist-types/components/overlays/src/utils/is-equal-config.d.ts.map +1 -1
- package/dist-types/components/overlays/types/ArrowMixinTypes.d.ts.map +1 -1
- package/dist-types/components/overlays/types/OverlayConfig.d.ts +12 -2
- package/dist-types/components/overlays/types/OverlayConfig.d.ts.map +1 -1
- package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts +1 -0
- package/dist-types/components/overlays/types/OverlayMixinTypes.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectInvoker.d.ts +3 -1
- package/dist-types/components/select-rich/src/LionSelectInvoker.d.ts.map +1 -1
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts +13 -2
- package/dist-types/components/select-rich/src/LionSelectRich.d.ts.map +1 -1
- package/dist-types/components/select-rich/test/lion-select-rich-interaction.test.d.ts.map +1 -1
- package/dist-types/components/select-rich/test/lion-select-rich-upgrade.test.d.ts +2 -0
- package/dist-types/components/select-rich/test/lion-select-rich-upgrade.test.d.ts.map +1 -0
- package/dist-types/components/tooltip/src/LionTooltip.d.ts +1 -1
- package/dist-types/exports/define/lion-item.d.ts +2 -0
- package/dist-types/exports/define/lion-item.d.ts.map +1 -0
- package/dist-types/exports/define/lion-menu.d.ts +2 -0
- package/dist-types/exports/define/lion-menu.d.ts.map +1 -0
- package/dist-types/exports/define/lion-menuitem.d.ts +2 -0
- package/dist-types/exports/define/lion-menuitem.d.ts.map +1 -0
- package/dist-types/exports/menu-test-suites.d.ts +4 -0
- package/dist-types/exports/menu-test-suites.d.ts.map +1 -0
- package/dist-types/exports/menu.d.ts +3 -0
- package/dist-types/exports/menu.d.ts.map +1 -0
- package/dist-types/exports/overlays.d.ts +6 -0
- package/dist-types/exports/overlays.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/accordion/overview.md +2 -2
- package/docs/components/accordion/reference.md +2 -2
- package/docs/components/accordion/use-cases.md +2 -2
- package/docs/components/button/examples.md +2 -2
- package/docs/components/button/extensions.md +2 -2
- package/docs/components/button/overview.md +2 -2
- package/docs/components/button/use-cases.md +2 -2
- package/docs/components/calendar/overview.md +2 -2
- package/docs/components/calendar/use-cases.md +2 -2
- package/docs/components/checkbox-group/overview.md +4 -4
- package/docs/components/checkbox-group/use-cases.md +2 -2
- package/docs/components/collapsible/examples.md +2 -2
- package/docs/components/collapsible/overview.md +3 -3
- package/docs/components/collapsible/use-cases.md +2 -2
- package/docs/components/combobox/api-table.md +53 -39
- package/docs/components/combobox/extensions.md +2 -2
- package/docs/components/combobox/overview.md +3 -3
- package/docs/components/combobox/use-cases.md +3 -3
- package/docs/components/dialog/api-table.md +32 -6
- package/docs/components/dialog/overview.md +3 -3
- package/docs/components/dialog/use-cases.md +2 -2
- package/docs/components/drawer/overview.md +2 -2
- package/docs/components/drawer/use-cases.md +2 -2
- package/docs/components/fieldset/overview.md +7 -7
- package/docs/components/fieldset/use-cases.md +2 -2
- package/docs/components/form/overview.md +5 -5
- package/docs/components/form/use-cases.md +4 -4
- package/docs/components/icon/overview.md +2 -2
- package/docs/components/icon/use-cases.md +3 -3
- package/docs/components/input/overview.md +3 -3
- package/docs/components/input/use-cases.md +2 -2
- package/docs/components/input-amount/api-table.md +9 -7
- package/docs/components/input-amount/overview.md +5 -5
- package/docs/components/input-amount/use-cases.md +17 -6
- package/docs/components/input-amount-dropdown/api-table.md +2 -0
- package/docs/components/input-amount-dropdown/use-cases.md +2 -2
- package/docs/components/input-date/overview.md +5 -5
- package/docs/components/input-date/use-cases.md +2 -2
- package/docs/components/input-datepicker/api-table.md +63 -45
- package/docs/components/input-datepicker/overview.md +7 -7
- package/docs/components/input-datepicker/use-cases.md +2 -2
- package/docs/components/input-email/overview.md +4 -4
- package/docs/components/input-email/use-cases.md +2 -2
- package/docs/components/input-file/overview.md +3 -3
- package/docs/components/input-file/use-cases.md +2 -2
- package/docs/components/input-iban/overview.md +4 -4
- package/docs/components/input-iban/use-cases.md +2 -2
- package/docs/components/input-range/overview.md +4 -4
- package/docs/components/input-range/use-cases.md +2 -2
- package/docs/components/input-stepper/overview.md +3 -3
- package/docs/components/input-stepper/use-cases.md +2 -2
- package/docs/components/input-tel/overview.md +3 -3
- package/docs/components/input-tel/use-cases.md +8 -8
- package/docs/components/input-tel-dropdown/extensions.md +2 -2
- package/docs/components/input-tel-dropdown/overview.md +3 -3
- package/docs/components/input-tel-dropdown/use-cases.md +2 -2
- package/docs/components/listbox/overview.md +2 -2
- package/docs/components/listbox/use-cases.md +3 -3
- package/docs/components/menu/api-table.md +44 -0
- package/docs/components/menu/applyMenuDemoStyles.js +173 -0
- package/docs/components/menu/extensions.md +262 -0
- package/docs/components/menu/index.md +13 -0
- package/docs/components/menu/migration.md +129 -0
- package/docs/components/menu/overview.md +448 -0
- package/docs/components/menu/src/DemoNavigationBar.js +441 -0
- package/docs/components/menu/src/DemoSpinButton.js +215 -0
- package/docs/components/menu/src/DemoToolbar.js +101 -0
- package/docs/components/menu/src/DemoTree.js +55 -0
- package/docs/components/menu/src/navigation-bar-types.js +41 -0
- package/docs/components/menu/use-cases.md +74 -0
- package/docs/components/pagination/overview.md +2 -2
- package/docs/components/pagination/use-cases.md +2 -2
- package/docs/components/progress-indicator/examples.md +2 -2
- package/docs/components/progress-indicator/overview.md +2 -2
- package/docs/components/radio-group/overview.md +5 -5
- package/docs/components/radio-group/use-cases.md +2 -2
- package/docs/components/select/overview.md +2 -2
- package/docs/components/select/use-cases.md +3 -3
- package/docs/components/select-rich/api-table.md +51 -33
- package/docs/components/select-rich/examples.md +2 -2
- package/docs/components/select-rich/overview.md +2 -2
- package/docs/components/select-rich/use-cases.md +4 -4
- package/docs/components/steps/overview.md +2 -2
- package/docs/components/steps/use-cases.md +2 -2
- package/docs/components/switch/overview.md +2 -2
- package/docs/components/switch/reference.md +2 -2
- package/docs/components/switch/use-cases.md +2 -2
- package/docs/components/tabs/examples.md +3 -3
- package/docs/components/tabs/overview.md +2 -2
- package/docs/components/tabs/use-cases.md +2 -2
- package/docs/components/textarea/overview.md +2 -2
- package/docs/components/textarea/use-cases.md +2 -2
- package/docs/components/tooltip/api-table.md +33 -7
- package/docs/components/tooltip/examples.md +2 -2
- package/docs/components/tooltip/overview.md +2 -2
- package/docs/components/tooltip/use-cases.md +2 -2
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/babel-plugin-extend-docs/index.md +2 -2
- package/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md +2 -2
- package/docs/fundamentals/node-tools/providence-analytics/index.md +2 -2
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +3 -3
- package/docs/fundamentals/node-tools/publish-docs/index.md +2 -2
- package/docs/fundamentals/node-tools/publish-docs/overview.md +5 -5
- package/docs/fundamentals/node-tools/remark-extend/index.md +2 -2
- package/docs/fundamentals/node-tools/remark-extend/overview.md +2 -2
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/index.md +2 -2
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +4 -4
- package/docs/fundamentals/rationales/TypeScript.md +62 -2
- package/docs/fundamentals/rationales/accessibility.md +5 -5
- package/docs/fundamentals/rationales/side-effects.md +2 -2
- package/docs/fundamentals/rationales/versioning.md +2 -2
- package/docs/fundamentals/systems/core/SlotMixin.md +3 -3
- package/docs/fundamentals/systems/core/index.md +2 -2
- package/docs/fundamentals/systems/core/overview.md +3 -3
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +6 -6
- package/docs/fundamentals/systems/form/index.md +2 -2
- package/docs/fundamentals/systems/form/interaction-states.md +2 -2
- package/docs/fundamentals/systems/form/model-value.md +3 -3
- package/docs/fundamentals/systems/form/overview.md +30 -30
- package/docs/fundamentals/systems/form/styling.md +2 -2
- package/docs/fundamentals/systems/form/use-cases.md +2 -2
- package/docs/fundamentals/systems/form/validate.md +4 -4
- package/docs/fundamentals/systems/icon/index.md +2 -2
- package/docs/fundamentals/systems/icon/overview.md +2 -2
- package/docs/fundamentals/systems/localize/dates.md +2 -2
- package/docs/fundamentals/systems/localize/index.md +2 -2
- package/docs/fundamentals/systems/localize/numbers.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +6 -6
- package/docs/fundamentals/systems/localize/rationale.md +2 -2
- package/docs/fundamentals/systems/localize/text.md +2 -2
- package/docs/fundamentals/systems/localize/use-cases.md +2 -2
- package/docs/fundamentals/systems/overlays/_edge-cases.md +2 -2
- package/docs/fundamentals/systems/overlays/api-table.md +46 -43
- package/docs/fundamentals/systems/overlays/configuration.md +4 -4
- package/docs/fundamentals/systems/overlays/index.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +7 -7
- package/docs/fundamentals/systems/overlays/rationale.md +2 -2
- package/docs/fundamentals/systems/overlays/use-cases.md +4 -4
- package/docs/fundamentals/tools/ajax/index.md +2 -2
- package/docs/fundamentals/tools/ajax/overview.md +2 -2
- package/docs/fundamentals/tools/ajax/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/action-logger.md +2 -2
- package/docs/fundamentals/tools/helpers/index.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +3 -3
- package/docs/fundamentals/tools/singleton-manager/example-complex/index.md +2 -2
- package/docs/fundamentals/tools/singleton-manager/example-fail/index.md +2 -2
- package/docs/fundamentals/tools/singleton-manager/example-success/index.md +2 -2
- package/docs/fundamentals/tools/singleton-manager/index.md +2 -2
- package/docs/fundamentals/tools/singleton-manager/overview.md +6 -6
- package/docs/guides/how-to/create-a-custom-field.md +7 -7
- package/docs/guides/how-to/create-a-form.md +6 -6
- package/docs/guides/how-to/extend-a-native-input.md +4 -4
- package/docs/guides/how-to/get-started.md +2 -2
- package/docs/guides/how-to/index.md +1 -1
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/definitions-and-terms.md +2 -2
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/scoped-elements.md +2 -2
- package/docs/guides/principles/styling.md +3 -3
- package/docs/guides/principles/subclasser-apis.md +2 -2
- package/exports/define/lion-accordion.js +0 -1
- package/exports/define/lion-button-reset.js +0 -1
- package/exports/define/lion-button-submit.js +0 -1
- package/exports/define/lion-button.js +0 -1
- package/exports/define/lion-calendar.js +0 -1
- package/exports/define/lion-checkbox-group.js +0 -1
- package/exports/define/lion-checkbox-indeterminate.js +0 -1
- package/exports/define/lion-checkbox.js +0 -1
- package/exports/define/lion-collapsible.js +0 -1
- package/exports/define/lion-combobox.js +0 -1
- package/exports/define/lion-dialog.js +0 -1
- package/exports/define/lion-drawer.js +0 -1
- package/exports/define/lion-field.js +0 -1
- package/exports/define/lion-fieldset.js +0 -1
- package/exports/define/lion-form.js +0 -1
- package/exports/define/lion-icon.js +0 -1
- package/exports/define/lion-input-amount-dropdown.js +0 -1
- package/exports/define/lion-input-amount.js +0 -1
- package/exports/define/lion-input-date.js +0 -1
- package/exports/define/lion-input-datepicker.js +0 -1
- package/exports/define/lion-input-email.js +0 -1
- package/exports/define/lion-input-file.js +0 -1
- package/exports/define/lion-input-iban.js +0 -1
- package/exports/define/lion-input-range.js +0 -1
- package/exports/define/lion-input-stepper.js +0 -1
- package/exports/define/lion-input-tel-dropdown.js +0 -1
- package/exports/define/lion-input-tel.js +0 -1
- package/exports/define/lion-input.js +0 -1
- package/exports/define/lion-item.js +2 -0
- package/exports/define/lion-listbox.js +0 -1
- package/exports/define/lion-menu.js +2 -0
- package/exports/define/lion-menuitem.js +2 -0
- package/exports/define/lion-option.js +0 -1
- package/exports/define/lion-options.js +0 -1
- package/exports/define/lion-pagination.js +0 -1
- package/exports/define/lion-progress-indicator.js +0 -1
- package/exports/define/lion-radio-group.js +0 -1
- package/exports/define/lion-radio.js +0 -1
- package/exports/define/lion-select-invoker.js +0 -1
- package/exports/define/lion-select-rich.js +0 -1
- package/exports/define/lion-select.js +0 -1
- package/exports/define/lion-selected-file-list.js +0 -1
- package/exports/define/lion-step.js +0 -1
- package/exports/define/lion-steps.js +0 -1
- package/exports/define/lion-switch-button.js +0 -1
- package/exports/define/lion-switch.js +0 -1
- package/exports/define/lion-tabs.js +0 -1
- package/exports/define/lion-textarea.js +0 -1
- package/exports/define/lion-tooltip.js +0 -1
- package/exports/define/lion-validation-feedback.js +0 -1
- package/exports/define-helpers/sb-action-logger.js +0 -1
- package/exports/define-helpers/sb-locale-switcher.js +0 -1
- package/exports/form-core.js +0 -8
- package/exports/localize-no-side-effects.js +0 -1
- package/exports/localize.js +0 -2
- package/exports/menu-test-suites.js +4 -0
- package/exports/menu.js +3 -0
- package/exports/overlays.js +6 -4
- package/generated/awesome-phonenumber/LICENSE +22 -0
- package/generated/awesome-phonenumber/LICENSE.closure-library +176 -0
- package/generated/awesome-phonenumber/LICENSE.libphonenumber +176 -0
- package/generated/awesome-phonenumber/checksums.json +6 -0
- package/generated/awesome-phonenumber/index-esm.mjs +817 -0
- package/generated/awesome-phonenumber/index.d.ts +227 -0
- package/generated/awesome-phonenumber/index.js +45 -0
- package/generated/awesome-phonenumber/lib/index.js +710 -0
- package/generated/awesome-phonenumber/package.json +9 -0
- package/generated/awesome-phonenumber/provenance.json +13 -0
- package/menu-test-suites.js +4 -0
- package/menu.js +3 -0
- package/overlays.js +6 -0
- package/package.json +35 -6
- package/vscode.html-custom-data.json +76 -8
- package/web-types.json +202 -17
|
@@ -10,7 +10,7 @@ export type OptionWithFilterFn = LionOption & {
|
|
|
10
10
|
onFilterUnmatch?: Function;
|
|
11
11
|
onFilterMatch?: Function;
|
|
12
12
|
};
|
|
13
|
-
declare const LionCombobox_base: typeof LionListbox & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/CustomChoiceGroupMixinTypes.js").CustomChoiceGroupHost> & Pick<typeof import("../../form-core/types/choice-group/CustomChoiceGroupMixinTypes.js").CustomChoiceGroupHost, "properties" | "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("@lion/ui/types/form-core.js").ChoiceGroupHost> & Pick<typeof import("@lion/ui/types/form-core.js").ChoiceGroupHost, "properties" | "prototype" | "styles"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("@lion/ui/types/overlays.js").OverlayHost> & Pick<typeof import("@lion/ui/types/overlays.js").OverlayHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces">;
|
|
13
|
+
declare const LionCombobox_base: typeof LionListbox & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/CustomChoiceGroupMixinTypes.js").CustomChoiceGroupHost> & Pick<typeof import("../../form-core/types/choice-group/CustomChoiceGroupMixinTypes.js").CustomChoiceGroupHost, "properties" | "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("@lion/ui/types/form-core.js").ChoiceGroupHost> & Pick<typeof import("@lion/ui/types/form-core.js").ChoiceGroupHost, "properties" | "prototype" | "styles"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("@lion/ui/types/overlays.js").OverlayHost> & Pick<typeof import("@lion/ui/types/overlays.js").OverlayHost, "_getFocusableInvokerEl" | "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces">;
|
|
14
14
|
/**
|
|
15
15
|
* @typedef {import('@lion/ui/listbox.js').LionOption} LionOption
|
|
16
16
|
* @typedef {import('@lion/ui/listbox.js').LionOptions} LionOptions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionCombobox.d.ts","sourceRoot":"","sources":["../../../../components/combobox/src/LionCombobox.js"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"LionCombobox.d.ts","sourceRoot":"","sources":["../../../../components/combobox/src/LionCombobox.js"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAmB/C,YAAoD,UAAU,GAApD,OAAO,qBAAqB,EAAE,UAAU,CAAY;AAC9D,YAAqD,WAAW,GAAtD,OAAO,qBAAqB,EAAE,WAAW,CAAa;AAChE,YAA8D,aAAa,GAAjE,OAAO,4BAA4B,EAAE,aAAa,CAAe;AAC3E,YAAqD,QAAQ,GAAnD,OAAO,wBAAwB,EAAE,QAAQ,CAAU;AAC7D,YAAiE,e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IAED;;OAEG;YACH,uBAAuB;IAYvB;;;;;;OAMG;IACH,UAAA,oBAAoB,YAEnB;IAED;;;OAGG;IACH,UAAA,iBAAiB,SAIhB;IAED;;;OAGG;IAEH,UAAA,oBAAoB,IACA,aAAa,CAMhC;IAED;;;OAGG;IACH,UAAA,iBAAiB,SAIhB;IAED;;;OAGG;IACH,UAAA,oBAAoB,SAGnB;IAED;;;OAGG;IACH,UAAA,wBAAwB,SAIvB;IAED;;;OAGG;IACH,UAAA,2BAA2B,SAI1B;IAED;;;;OAIG;IACH,UAAA,iBAAiB,CAAC,EAAE,EAHT,aAGS,QA8CnB;IAED;;;;;;OAMG;IACH,UAAA,uBAAuB,CAAC,UAAU,EALvB,MAAM,GAAC,MAAM,EAKU,EAAE,aAAa,EAJtC,MAAM,GAAC,MAAM,EAIyB,EAAE,EAAE,KAAK,EAAE,GAHjD;QAAC,KAAK,CAAC,EAAC,MAAM,CAAA;KAGwC,WAOhE;IAED;;;;;;OAMG;IAEH,UAAA,sBAAsB,CAAC,UAAU,EALtB,MAAM,EAKgB,EAAE,aAAa,GAJrC,MAAM,EAIoC,QASpD;IAED;;OAEG;IACH,uBAAuB,SAKtB;IAED;;OAEG;YACH,gCAAgC;IAqBhC;;OAEG;YACH,eAAe;IAuBf;;OAEG;YACH,kBAAkB;IAMlB;;;OAGG;IACH,UAAA,QAAQ,CAAC,EAAE,AAHR,CACA,EADQ,aAGA,QAMV;IAED;;;OAGG;IAEH,UAAA,eAAe,CAAC,EAAE,AAJf,CACA,EADQ,UAIO,QAEjB;IAED,KAAK,SAIJ;CACF"}
|
|
@@ -42,5 +42,10 @@ export type LitElement = import('lit').LitElement;
|
|
|
42
42
|
* @param {HTMLElement} target the desired target in light dom
|
|
43
43
|
*/
|
|
44
44
|
export declare function moveUserProvidedDefaultSlottablesToTarget(source: HTMLElement, target: HTMLElement): void;
|
|
45
|
-
export declare const SlotMixin:
|
|
45
|
+
export declare const SlotMixin: {
|
|
46
|
+
<T extends import("@open-wc/dedupe-mixin").Constructor<import("lit").LitElement & import("../types/SlotMixinTypes.js").SlotHost>>(superclass: T): T;
|
|
47
|
+
<T extends import("@open-wc/dedupe-mixin").Constructor<import("lit").LitElement>>(superclass: T): T & import("@open-wc/dedupe-mixin").Constructor<import("../types/SlotMixinTypes.js").SlotHost> & {
|
|
48
|
+
prototype: import("lit").LitElement & import("../types/SlotMixinTypes.js").SlotHost;
|
|
49
|
+
} & Pick<typeof import("lit").LitElement, Exclude<keyof typeof import("lit").LitElement, 'prototype'>>;
|
|
50
|
+
};
|
|
46
51
|
//# sourceMappingURL=SlotMixin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"AAMG,YAA6F,aAAa,GAAhG;IAAC,YAAY,EAAC,OAAO,CAAC;IAAC,yCAAyC,EAAE,cAAc,CAAA;CAAC,CAAe;AAC1G,YAAmE,kBAAkB,GAA3E,OAAO,4BAA4B,EAAE,kBAAkB,CAAoB;AACrF,YAAmE,kBAAkB,GAA3E,OAAO,4BAA4B,EAAE,kBAAkB,CAAoB;AACrF,YAA0D,SAAS,GAAzD,OAAO,4BAA4B,EAAE,SAAS,CAAW;AACnE,YAAyD,QAAQ,GAAvD,OAAO,4BAA4B,EAAE,QAAQ,CAAU;AACjE,YAAoC,UAAU,GAApC,OAAO,KAAK,EAAE,UAAU,CAAY;AANjD;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,yCAAyC,CAAC,MAAM,EAHrD,WAGqD,EAAE,MAAM,EAF7D,WAE6D,QAwBvE;AA6SD,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"SlotMixin.d.ts","sourceRoot":"","sources":["../../../../components/core/src/SlotMixin.js"],"names":[],"mappings":"AAMG,YAA6F,aAAa,GAAhG;IAAC,YAAY,EAAC,OAAO,CAAC;IAAC,yCAAyC,EAAE,cAAc,CAAA;CAAC,CAAe;AAC1G,YAAmE,kBAAkB,GAA3E,OAAO,4BAA4B,EAAE,kBAAkB,CAAoB;AACrF,YAAmE,kBAAkB,GAA3E,OAAO,4BAA4B,EAAE,kBAAkB,CAAoB;AACrF,YAA0D,SAAS,GAAzD,OAAO,4BAA4B,EAAE,SAAS,CAAW;AACnE,YAAyD,QAAQ,GAAvD,OAAO,4BAA4B,EAAE,QAAQ,CAAU;AACjE,YAAoC,UAAU,GAApC,OAAO,KAAK,EAAE,UAAU,CAAY;AANjD;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,yCAAyC,CAAC,MAAM,EAHrD,WAGqD,EAAE,MAAM,EAF7D,WAE6D,QAwBvE;AA6SD,eAAO,MAAM,SAAS;;;;;CAAuC,CAAC"}
|
|
@@ -56,6 +56,7 @@ export declare class SlotHost {
|
|
|
56
56
|
* `SlotMixin`, when attached to the DOM it creates content for defined slots in the Light DOM.
|
|
57
57
|
* The content element is created using a factory function and is assigned a slot name from the key.
|
|
58
58
|
* Existing slot content is not overridden.
|
|
59
|
+
* Reapplying the deduped mixin preserves the superclass type, including overridden accessors.
|
|
59
60
|
*
|
|
60
61
|
* The purpose is to have the default content in the Light DOM rather than hidden in Shadow DOM
|
|
61
62
|
* like default slot content works natively.
|
|
@@ -69,7 +70,10 @@ export declare class SlotHost {
|
|
|
69
70
|
* };
|
|
70
71
|
* }
|
|
71
72
|
*/
|
|
72
|
-
declare function SlotMixinImplementation<T extends Constructor<LitElement>>(superclass: T): T
|
|
73
|
+
declare function SlotMixinImplementation<T extends Constructor<LitElement & SlotHost>>(superclass: T): T;
|
|
74
|
+
declare function SlotMixinImplementation<T extends Constructor<LitElement>>(superclass: T): T & Constructor<SlotHost> & {
|
|
75
|
+
prototype: LitElement & SlotHost;
|
|
76
|
+
} & Pick<typeof LitElement, Exclude<keyof typeof LitElement, 'prototype'>>;
|
|
73
77
|
export type SlotMixin = typeof SlotMixinImplementation;
|
|
74
78
|
export {};
|
|
75
79
|
//# sourceMappingURL=SlotMixinTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlotMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/core/types/SlotMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,cAAc,CAAC;IACzB;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,CAAC;IACvB;;;;;OAKG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;;;;;OAMG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAAG,OAAO,GAAG,kBAAkB,GAAG,SAAS,CAAC;AAE3F,OAAO,UAAU,YAAY,IAAI,kBAAkB,CAAC;AAEpD,MAAM,MAAM,QAAQ,GAAG;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,YAAY,CAAC;CACpC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,QAAQ;IAC3B;;OAEG;IACH,IAAW,KAAK,IAAI,QAAQ,CAAC;IAE7B;;OAEG;IACH,SAAS,CAAC,iBAAiB,IAAI,IAAI,CAAC;IAEpC;;;;;;OAMG;IACH,SAAS,CAAC,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;IAEpD,iBAAiB,IAAI,IAAI,CAAC;CAC3B;AAED
|
|
1
|
+
{"version":3,"file":"SlotMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/core/types/SlotMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO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9C,CAAC;AAEJ,MAAM,MAAM,SAAS,GAAG,OAAO,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
declare const LionDialog_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "prototype"> & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata>;
|
|
2
|
+
declare const LionDialog_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "_getFocusableInvokerEl" | "prototype"> & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata>;
|
|
3
3
|
/**
|
|
4
4
|
* @customElement lion-dialog
|
|
5
5
|
*/
|
|
@@ -33,8 +33,12 @@ export declare class LionDialog extends LionDialog_base {
|
|
|
33
33
|
handlesAccessibility?: boolean;
|
|
34
34
|
isTooltip?: boolean;
|
|
35
35
|
invokerRelation?: 'label' | 'description';
|
|
36
|
-
_noDialogEl?: Boolean;
|
|
37
36
|
visibilityTriggerFunction?: Function;
|
|
37
|
+
elementToFocusOnShow?: boolean;
|
|
38
|
+
isActivated?: boolean;
|
|
39
|
+
requireConnectedNodes?: boolean;
|
|
40
|
+
syncChildrenCloseState?: boolean;
|
|
41
|
+
_shouldTeardownDomStructure?: boolean;
|
|
38
42
|
isAlertDialog: boolean;
|
|
39
43
|
};
|
|
40
44
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionDialog.d.ts","sourceRoot":"","sources":["../../../../components/dialog/src/LionDialog.js"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;AAGvC;;GAEG;AACH,qBAAa,UAAW,SAAQ,eAAwB;IAU/C,aAAa;IATpB,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAKb;IAED,cAGC;IAED;;OAEG;IAEH,UAAA,oBAAoB
|
|
1
|
+
{"version":3,"file":"LionDialog.d.ts","sourceRoot":"","sources":["../../../../components/dialog/src/LionDialog.js"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;;AAGvC;;GAEG;AACH,qBAAa,UAAW,SAAQ,eAAwB;IAU/C,aAAa;IATpB,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAKb;IAED,cAGC;IAED;;OAEG;IAEH,UAAA,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAKnB;IAED,MAAM,yCAOL;CACF"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
declare const LionField_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> &
|
|
2
|
+
declare const LionField_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & {
|
|
3
|
+
prototype: LitElement & import("../../core/types/SlotMixinTypes.js").SlotHost;
|
|
4
|
+
} & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../types/validate/ValidateMixinTypes.js").ValidateHost> & Pick<typeof import("../types/validate/ValidateMixinTypes.js").ValidateHost, "prototype" | "validationTypes"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormControlMixinTypes.js").FormControlHost> & Pick<typeof import("../types/FormControlMixinTypes.js").FormControlHost, "properties" | "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost> & Pick<typeof import("../types/utils/SyncUpdatableMixinTypes.js").SyncUpdatableHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype"> & Pick<typeof import("../../core/types/SlotMixinTypes.js").SlotHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/validate/ValidateMixinTypes.js").ScopedElementsHost> & Pick<typeof import("../types/validate/ValidateMixinTypes.js").ScopedElementsHost, "prototype" | "scopedElements"> & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../types/FormatMixinTypes.js").FormatHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/FocusMixinTypes.js").FocusHost> & Pick<typeof import("../types/FocusMixinTypes.js").FocusHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/InteractionStateMixinTypes.js").InteractionStateHost> & Pick<typeof import("../types/InteractionStateMixinTypes.js").InteractionStateHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost> & Pick<typeof import("../types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost, "properties" | "prototype">;
|
|
3
5
|
/**
|
|
4
6
|
* `LionField`: wraps <input>, <textarea>, <select> and other interactable elements.
|
|
5
7
|
* Also it would follow a nice hierarchy: lion-form -> lion-fieldset -> lion-field
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionField.d.ts","sourceRoot":"","sources":["../../../../components/form-core/src/LionField.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"LionField.d.ts","sourceRoot":"","sources":["../../../../components/form-core/src/LionField.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;AAQjC;;;;;;;;;;;;;;;;GAgBG;AACH,qBAAa,SAAU,SAAQ,cAE9B;IAMG,kBAAkB;IACb,kBAAkB,EADZ,GAAG;IALhB;;OAEG;IACH,YAAY,CAAC,iBAAiB,EAFnB,OAAO,KAAK,EAAE,cAEK,QAI7B;IAED,iBAAiB,SAKhB;IAED,oBAAoB,SAGnB;IAED,qBAAqB,SAGpB;IAED;;;OAGG;IACH,KAAK,SAGJ;IAED;;;OAGG;IACH,KAAK,SAGJ;IAED;;;;OAIG;IAEH,UAAA,SAAS,CAAC,EAAE,AAJT,CACA,EADQ,KAAK,YAIJ,QAGX;IAED;;OAEG;IACH,IAAI,sBAAsB;;MAEzB;IAED;;;OAGG;IACH,cAAI,cAAc,8GAEjB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoiceGroupMixin.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/src/choice-group/ChoiceGroupMixin.js"],"names":[],"mappings":"AAMG,YAAwF,gBAAgB,GAA9F,OAAO,mDAAmD,EAAE,gBAAgB,CAAkB;AACxG,YAA0E,eAAe,GAA/E,OAAO,sCAAsC,EAAE,eAAe,CAAiB;AACzF,YAAoG,0BAA0B,GAApH,OAAO,qDAAqD,EAAE,0BAA0B,CAA4B;AAC9H,YAA+E,WAAW,GAAhF,OAAO,+CAA+C,EAAE,WAAW,CAAa;AAC1F,YAAuF,eAAe,GAA5F,OAAO,mDAAmD,EAAE,eAAe,CAAiB;AACtG,YAAwD,SAAS,GAAvD,OAAO,0BAA0B,EAAE,SAAS,CAAW;
|
|
1
|
+
{"version":3,"file":"ChoiceGroupMixin.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/src/choice-group/ChoiceGroupMixin.js"],"names":[],"mappings":"AAMG,YAAwF,gBAAgB,GAA9F,OAAO,mDAAmD,EAAE,gBAAgB,CAAkB;AACxG,YAA0E,eAAe,GAA/E,OAAO,sCAAsC,EAAE,eAAe,CAAiB;AACzF,YAAoG,0BAA0B,GAApH,OAAO,qDAAqD,EAAE,0BAA0B,CAA4B;AAC9H,YAA+E,WAAW,GAAhF,OAAO,+CAA+C,EAAE,WAAW,CAAa;AAC1F,YAAuF,eAAe,GAA5F,OAAO,mDAAmD,EAAE,eAAe,CAAiB;AACtG,YAAwD,SAAS,GAAvD,OAAO,0BAA0B,EAAE,SAAS,CAAW;AA+ZpE,eAAO,MAAM,gBAAgB,8FAA8C,CAAC"}
|
|
@@ -6,6 +6,11 @@ import { InteractionStateHost } from '../InteractionStateMixinTypes.js';
|
|
|
6
6
|
import { FormRegistrarHost } from '../registration/FormRegistrarMixinTypes.js';
|
|
7
7
|
import { ChoiceInputHost } from './ChoiceInputMixinTypes.js';
|
|
8
8
|
export declare class ChoiceGroupHost extends FormControlHost {
|
|
9
|
+
/**
|
|
10
|
+
* TODO: rename to `multiple` (the platform name, `<select multiple>`), non-breaking: keep this
|
|
11
|
+
* property and the `multiple-choice` attribute as a deprecated alias for a release before removing
|
|
12
|
+
* them in a major. See the TODO in src/choice-group/ChoiceGroupMixin.js.
|
|
13
|
+
*/
|
|
9
14
|
multipleChoice: boolean;
|
|
10
15
|
get serializedValue(): string;
|
|
11
16
|
set serializedValue(value: string);
|
|
@@ -1 +1 @@
|
|
|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GAAG,IAAI,CAAC;IACzE,SAAS,CAAC,QAAQ,IAAI,OAAO,CAAC;IAC9B,SAAS,CAAC,0BAA0B,CAAC,EAAE,EAAE,KAAK,GAAG,IAAI,CAAC;IACtD,SAAS,CAAC,mBAAmB,IAAI,eAAe,EAAE,CAAC;IACnD,SAAS,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC;IAChE,SAAS,CAAC,kCAAkC,CAAC,EAAE,EAAE,KAAK,GAAG,IAAI,CAAC;IAE9D,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,uBAAuB;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EACjF,UAAU,EAAE,CAAC,GACZ,CAAC,GACF,WAAW,CAAC,eAAe,CAAC,GAC5B,IAAI,CAAC,OAAO,eAAe,EAAE,MAAM,OAAO,eAAe,CAAC,GAC1D,WAAW,CAAC,iBAAiB,CAAC,GAC9B,IAAI,CAAC,OAAO,iBAAiB,EAAE,MAAM,OAAO,iBAAiB,CAAC,GAC9D,WAAW,CAAC,oBAAoB,CAAC,GACjC,IAAI,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC,GACpE,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,OAAO,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"ChoiceGroupMixinTypes.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/types/choice-group/ChoiceGroupMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,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AS,CAAC,kCAAkC,CAAC,EAAE,EAAE,KAAK,GAAG,IAAI,CAAC;IAE9D,OAAO,CAAC,uBAAuB;IAC/B,OAAO,CAAC,uBAAuB;CAChC;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EACjF,UAAU,EAAE,CAAC,GACZ,CAAC,GACF,WAAW,CAAC,eAAe,CAAC,GAC5B,IAAI,CAAC,OAAO,eAAe,EAAE,MAAM,OAAO,eAAe,CAAC,GAC1D,WAAW,CAAC,iBAAiB,CAAC,GAC9B,IAAI,CAAC,OAAO,iBAAiB,EAAE,MAAM,OAAO,iBAAiB,CAAC,GAC9D,WAAW,CAAC,oBAAoB,CAAC,GACjC,IAAI,CAAC,OAAO,oBAAoB,EAAE,MAAM,OAAO,oBAAoB,CAAC,GACpE,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,MAAM,MAAM,gBAAgB,GAAG,OAAO,yBAAyB,CAAC"}
|
|
@@ -3,11 +3,12 @@ export type FormatOptions = import('../../form-core/types/FormatMixinTypes.js').
|
|
|
3
3
|
export type AmountFormatOptions = FormatOptions & {
|
|
4
4
|
locale?: string;
|
|
5
5
|
currency: string | undefined;
|
|
6
|
+
currencySymbol: string | undefined;
|
|
6
7
|
};
|
|
7
8
|
declare const LionInputAmount_base: typeof LionInput & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata>;
|
|
8
9
|
/**
|
|
9
10
|
* @typedef {import('../../form-core/types/FormatMixinTypes.js').FormatOptions} FormatOptions
|
|
10
|
-
* @typedef {FormatOptions & {locale?:string;currency:string|undefined}} AmountFormatOptions
|
|
11
|
+
* @typedef {FormatOptions & {locale?:string;currency:string|undefined;currencySymbol:string|undefined;}} AmountFormatOptions
|
|
11
12
|
*/
|
|
12
13
|
/**
|
|
13
14
|
* `LionInputAmount` is a class for an amount custom form element (`<lion-input-amount>`).
|
|
@@ -17,6 +18,7 @@ declare const LionInputAmount_base: typeof LionInput & import("@open-wc/dedupe-m
|
|
|
17
18
|
export declare class LionInputAmount extends LionInputAmount_base {
|
|
18
19
|
/** @type {string | undefined} */
|
|
19
20
|
currency: string | undefined;
|
|
21
|
+
currencyLabel: string;
|
|
20
22
|
/** @type {string | undefined} */
|
|
21
23
|
locale: string | undefined;
|
|
22
24
|
__currencyDisplayNodeIsConnected: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputAmount.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/LionInputAmount.js"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAO3C,YAA6E,aAAa,GAAhF,OAAO,2CAA2C,EAAE,aAAa,CAAe;AAC1F,
|
|
1
|
+
{"version":3,"file":"LionInputAmount.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/LionInputAmount.js"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAO3C,YAA6E,aAAa,GAAhF,OAAO,2CAA2C,EAAE,aAAa,CAAe;AAC1F,YAAuG,mBAAmB,GAAhH,aAAa,GAAG;IAAC,MAAM,CAAC,EAAC,MAAM,CAAC;IAAA,QAAQ,EAAC,MAAM,GAAC,SAAS,CAAC;IAAA,cAAc,EAAC,MAAM,GAAC,SAAS,CAAC;CAAC,CAAqB;;AAF7H;;;GAGG;AAEH;;;;GAIG;AACH,qBAAa,eAAgB,SAAQ,oBAAwB;IA0DzD,iCAAiC;IAC5B,QAAQ,EADF,MAAM,GAAG,SAAS;IAExB,aAAa;IAClB,iCAAiC;IAC5B,MAAM,EADA,MAAM,GAAG,SAAS;IAExB,gCAAgC;IAErC,iBAAiB;IACZ,wBAAwB;IAqHtB,2BAA2B;IAtLpC,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CA0Bb;IAED,IAAI,KAAK;;MAYR;IAED,MAAM,KAAK,MAAM,uEAShB;IAED,cAaC;IAED,iBAAiB,SAShB;IAED,+DAA+D;IAC/D,OAAO,CAAC,iBAAiB,EADb,OAAO,KAAK,EAAE,cACD,QAexB;IAED;;;;;;OAMG;IACH,iBAAiB,SAKhB;IAED;;;;OAIG;IACH,eAAe,CAAC,SAAS,EAJd,MAIc,EAAE,SAAS,EAHzB,MAGyB,QAMnC;IAED;;;;OAIG;IACH,UAAA,cAAc,YAEb;IAED;;;;OAIG;IACH,UAAA,kBAAkB,CAAC,EAAE,QAAQ,EAAE,EAH5B;QAAsB,QAAQ,EAAtB,MAAM,OAAC,CACf;KAE4B,QAiC9B;IAED;;;OAGG;IACH,YAAI,qBAAqB,GASxB;IAED,eAAe;YACf,yBAAyB;IAczB,IAAI,eAAe,WAMlB;IAED,UAAU,SAET;CACF"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type FormatNumberOptions = import('../../localize/types/LocalizeMixinTypes.js').FormatNumberOptions;
|
|
2
|
+
export type FormatNumberPart = import('../../localize/types/LocalizeMixinTypes.js').FormatNumberPart;
|
|
2
3
|
/**
|
|
3
|
-
* @typedef {import('../../localize/types/LocalizeMixinTypes.js').FormatNumberOptions}
|
|
4
|
+
* @typedef {import('../../localize/types/LocalizeMixinTypes.js').FormatNumberOptions} FormatNumberOptions
|
|
5
|
+
* @typedef {import('../../localize/types/LocalizeMixinTypes.js').FormatNumberPart} FormatNumberPart
|
|
4
6
|
*/
|
|
5
7
|
/**
|
|
6
8
|
* Formats a number considering the default fraction digits provided by Intl.
|
|
7
9
|
*
|
|
8
10
|
* @param {number} modelValue Number to format
|
|
9
|
-
* @param {
|
|
11
|
+
* @param {FormatNumberOptions} [givenOptions]
|
|
10
12
|
*/
|
|
11
|
-
export declare function formatAmount(modelValue: number, givenOptions?:
|
|
13
|
+
export declare function formatAmount(modelValue: number, givenOptions?: FormatNumberOptions): string;
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @param {string} currency
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/formatters.js"],"names":[],"mappings":"AAOG,YAAoF,
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/formatters.js"],"names":[],"mappings":"AAOG,YAAoF,mBAAmB,GAA7F,OAAO,4CAA4C,EAAE,mBAAmB,CAAqB;AACvG,YAAiF,gBAAgB,GAAvF,OAAO,4CAA4C,EAAE,gBAAgB,CAAkB;AAFpG;;;GAGG;AAEH;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAH5B,MAG4B,EAAE,YAAY,AAFlD,CAA2C,EAAnC,mBAE0C,UAepD;AAED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAHjC,MAGiC,EAAE,MAAM,EAFzC,MAEyC,UAMnD"}
|
|
@@ -2,7 +2,7 @@ import { LionCalendar } from '@lion/ui/calendar.js';
|
|
|
2
2
|
import { LionInputDate } from '@lion/ui/input-date.js';
|
|
3
3
|
export type Validator = import('../../form-core/src/validate/Validator.js').Validator;
|
|
4
4
|
export type RenderOptions = import('lit').RenderOptions;
|
|
5
|
-
declare const LionInputDatepicker_base: typeof LionInputDate & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/ArrowMixinTypes.js").ArrowHost> & Pick<typeof import("../../overlays/types/ArrowMixinTypes.js").ArrowHost, "properties" | "prototype" | "styles"> & import("../../core/src/ScopedElementsMixin.js").ScopedElementsHostConstructor & import("../../core/src/types.js").ScopedElementsHostV2Constructor;
|
|
5
|
+
declare const LionInputDatepicker_base: typeof LionInputDate & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/OverlayMixinTypes.js").OverlayHost> & Pick<typeof import("../../overlays/types/OverlayMixinTypes.js").OverlayHost, "_getFocusableInvokerEl" | "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../overlays/types/ArrowMixinTypes.js").ArrowHost> & Pick<typeof import("../../overlays/types/ArrowMixinTypes.js").ArrowHost, "properties" | "prototype" | "styles"> & import("../../core/src/ScopedElementsMixin.js").ScopedElementsHostConstructor & import("../../core/src/types.js").ScopedElementsHostV2Constructor;
|
|
6
6
|
/**
|
|
7
7
|
* @typedef {import('../../form-core/src/validate/Validator.js').Validator} Validator
|
|
8
8
|
* @typedef {import('lit').RenderOptions} RenderOptions
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { LionInput } from '@lion/ui/input.js';
|
|
2
2
|
import { PhoneNumber } from './validators.js';
|
|
3
3
|
export type RegionCode = import('../types/index.js').RegionCode;
|
|
4
|
-
export type PhoneNumberFormat = import('awesome-phonenumber').PhoneNumberFormat;
|
|
5
|
-
export type PhoneNumberTypes = import('awesome-phonenumber').PhoneNumberTypes;
|
|
4
|
+
export type PhoneNumberFormat = import('#awesome-phonenumber').PhoneNumberFormat;
|
|
5
|
+
export type PhoneNumberTypes = import('#awesome-phonenumber').PhoneNumberTypes;
|
|
6
6
|
export type FormatOptions = import('../../form-core/types/FormatMixinTypes.js').FormatOptions;
|
|
7
|
-
export type AwesomePhoneNumber = any & typeof import('awesome-phonenumber');
|
|
7
|
+
export type AwesomePhoneNumber = any & typeof import('#awesome-phonenumber');
|
|
8
8
|
export type FormatOptionsTel = FormatOptions & {
|
|
9
9
|
regionCode: RegionCode;
|
|
10
10
|
formatStrategy: PhoneNumberFormat;
|
|
@@ -13,10 +13,10 @@ export type FormatOptionsTel = FormatOptions & {
|
|
|
13
13
|
declare const LionInputTel_base: typeof LionInput & import("@open-wc/dedupe-mixin").Constructor<import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost> & Pick<typeof import("../../localize/types/LocalizeMixinTypes.js").LocalizeMixinHost, "localizeNamespaces" | "prototype" | "waitForLocalizeNamespaces"> & Pick<typeof import("lit").LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata>;
|
|
14
14
|
/**
|
|
15
15
|
* @typedef {import('../types/index.js').RegionCode} RegionCode
|
|
16
|
-
* @typedef {import('awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
17
|
-
* @typedef {import('awesome-phonenumber').PhoneNumberTypes} PhoneNumberTypes
|
|
16
|
+
* @typedef {import('#awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
17
|
+
* @typedef {import('#awesome-phonenumber').PhoneNumberTypes} PhoneNumberTypes
|
|
18
18
|
* @typedef {import('../../form-core/types/FormatMixinTypes.js').FormatOptions} FormatOptions
|
|
19
|
-
* @typedef {* & typeof import('awesome-phonenumber')} AwesomePhoneNumber
|
|
19
|
+
* @typedef {* & typeof import('#awesome-phonenumber')} AwesomePhoneNumber
|
|
20
20
|
* @typedef {FormatOptions & {regionCode: RegionCode; formatStrategy: PhoneNumberFormat; formatCountryCodeStyle: string;}} FormatOptionsTel
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI3C,YAAkD,UAAU,GAAlD,OAAO,mBAAmB,EAAE,UAAU,CAAY;AAC5D,
|
|
1
|
+
{"version":3,"file":"LionInputTel.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/LionInputTel.js"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAM9C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI3C,YAAkD,UAAU,GAAlD,OAAO,mBAAmB,EAAE,UAAU,CAAY;AAC5D,YAA4D,iBAAiB,GAAnE,OAAO,sBAAsB,EAAE,iBAAiB,CAAmB;AAC7E,YAA2D,gBAAgB,GAAjE,OAAO,sBAAsB,EAAE,gBAAgB,CAAkB;AAC3E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,OAAO,CAAC,WAAW,CAAC,CAK7B;IAED;;;;OAIG;IAEH,IAAI,SAAS,WAEZ;IAED,eAAe;IACf,QAAA,gCAAgC,CAAC;IAEjC;;;OAGG;IACH,UAAA,QAAQ,EAFE,UAAU,GAAG,SAAS,CAEX;IAErB;;OAEG;IACH,cAkDC;IAED;;OAEG;IACH,YAAY,CAAC,iBAAiB,EAFnB,OAAO,KAAK,EAAE,cAEK,QAI7B;IAED;;OAEG;IACH,OAAO,CAAC,iBAAiB,EAFd,OAAO,KAAK,EAAE,cAEA,QA6BxB;IAED;;OAEG;IACH,eAAe,SAYd;IAED;;;;OAIG;IACH,SAAS,CAAC,UAAU,EAHT,MAGS,GAFP,MAAM,CAQlB;IAED;;;;OAIG;IACH,MAAM,CAAC,SAAS,EAHL,MAGK,GAFH,MAAM,CAMlB;IAED;;;;;;;OAOG;IACH,YAAY,CAAC,SAAS,EANX,MAMW,EAAE,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAJzD;QAAwB,aAAa,EAA7B,MAAM,CACd;QAAwB,iBAAiB,EAAjC,MAAM,CACd;KAEyD,GAF/C;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAC;KAAE,GAAG,SAAS,CAUlE;IAED;;;;;;OAMG;IACH,cAAc,IAFD,OAAO,CAInB;IAED;;OAEG;IACH,UAAA,uBAAuB,SAOtB;IAED;;OAEG;YACH,uBAAuB;CAiCxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type AwesomePhoneNumber = any & typeof import('awesome-phonenumber');
|
|
1
|
+
export type AwesomePhoneNumber = any & typeof import('#awesome-phonenumber');
|
|
2
2
|
/**
|
|
3
|
-
* @typedef {* & typeof import('awesome-phonenumber')} AwesomePhoneNumber
|
|
3
|
+
* @typedef {* & typeof import('#awesome-phonenumber')} AwesomePhoneNumber
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* - Handles lazy loading of the awesome-phonenumber library (relatively large, but way lighter than google-libphonenumber), allowing
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneUtilManager.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/PhoneUtilManager.js"],"names":[],"mappings":"AAIG,
|
|
1
|
+
{"version":3,"file":"PhoneUtilManager.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/PhoneUtilManager.js"],"names":[],"mappings":"AAIG,YAAqD,kBAAkB,GAA7D,MAAI,cAAc,sBAAsB,CAAC,CAAoB;AAD1E;;GAEG;AAEH;;;;;GAKG;AACH,qBAAa,gBAAgB;WAGpB,SAAS;IAFhB,OAAa,kBAAkB,iBAK9B;IAED;;OAEG;IACH,MAAM,KAAK,QAAQ,YAElB;CACF;yBAdY,gBAAgB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type PhoneNumberFormat = import('awesome-phonenumber').PhoneNumberFormat;
|
|
1
|
+
export type PhoneNumberFormat = import('#awesome-phonenumber').PhoneNumberFormat;
|
|
2
2
|
export type RegionCode = import('../types/index.js').RegionCode;
|
|
3
3
|
/**
|
|
4
|
-
* @typedef {import('awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
4
|
+
* @typedef {import('#awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
5
5
|
* @typedef {import('../types/index.js').RegionCode} RegionCode
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/formatters.js"],"names":[],"mappings":"AAGG,
|
|
1
|
+
{"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/formatters.js"],"names":[],"mappings":"AAGG,YAA4D,iBAAiB,GAAnE,OAAO,sBAAsB,EAAE,iBAAiB,CAAmB;AAC7E,YAAkD,UAAU,GAAlD,OAAO,mBAAmB,EAAE,UAAU,CAAY;AAF/D;;;GAGG;AAEH;;;;;GAKG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EALpC,MAKoC,EAAE,EAAE,UAAU,EAAE,sBAAsB,EAAE,EAHpF;IAA4B,UAAU,EAA9B,UAAU,CAClB;IAAwB,sBAAsB,EAAtC,MAAM,CAChB;CACsF,UAWtF;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EARD,MAQC,EACV,EAAE,UAAU,EAAE,cAAgC,EAAE,sBAAkC,EAAE,EAPnF;IAA4B,UAAU,EAA9B,UAAU,CAClB;IAAoC,cAAc,AAAlD,CACA,EADQ,iBAAiB,CACzB;IAAyB,sBAAsB,AAA/C,CACA,EADQ,MAAM,CACd;CAImF,GAJzE,MAAM,CAoDlB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type RegionCode = import('../types/index.js').RegionCode;
|
|
2
|
-
export type PhoneNumberFormat = import('awesome-phonenumber').PhoneNumberFormat;
|
|
2
|
+
export type PhoneNumberFormat = import('#awesome-phonenumber').PhoneNumberFormat;
|
|
3
3
|
/**
|
|
4
4
|
* @typedef {import('../types/index.js').RegionCode} RegionCode
|
|
5
|
-
* @typedef {import('awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
5
|
+
* @typedef {import('#awesome-phonenumber').PhoneNumberFormat} PhoneNumberFormat
|
|
6
6
|
*/
|
|
7
7
|
/**
|
|
8
8
|
* @param {string} viewValue
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preprocessors.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/preprocessors.js"],"names":[],"mappings":"AAIG,YAAkD,UAAU,GAAlD,OAAO,mBAAmB,EAAE,UAAU,CAAY;AAC5D,
|
|
1
|
+
{"version":3,"file":"preprocessors.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/src/preprocessors.js"],"names":[],"mappings":"AAIG,YAAkD,UAAU,GAAlD,OAAO,mBAAmB,EAAE,UAAU,CAAY;AAC5D,YAA4D,iBAAiB,GAAnE,OAAO,sBAAsB,EAAE,iBAAiB,CAAmB;AAFhF;;;GAGG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAVA,MAUA,EACT,EAAE,UAAU,EAAE,cAAc,EAAE,aAAa,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,EATvF;IAA4B,UAAU,EAA9B,UAAU,CAClB;IAAwB,aAAa,EAA7B,MAAM,CACd;IAAwB,iBAAiB,EAAjC,MAAM,CACd;IAAmC,cAAc,EAAzC,iBAAiB,CACzB;IAA0B,sBAAsB,AAAhD,CACA,EADQ,MAAM,OAAC,CACf;CAIuF,GAJ7E;IAAC,SAAS,EAAC,MAAM,CAAC;IAAC,UAAU,EAAC,MAAM,CAAC;CAAC,GAAC,SAAS,CA+C5D"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type AwesomePhoneNumber = any & typeof import('awesome-phonenumber');
|
|
1
|
+
export type AwesomePhoneNumber = any & typeof import('#awesome-phonenumber');
|
|
2
2
|
//# sourceMappingURL=validators.test.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.test.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test/validators.test.js"],"names":[],"mappings":"AAMG,
|
|
1
|
+
{"version":3,"file":"validators.test.d.ts","sourceRoot":"","sources":["../../../../components/input-tel/test/validators.test.js"],"names":[],"mappings":"AAMG,YAAqD,kBAAkB,GAA7D,MAAI,cAAc,sBAAsB,CAAC,CAAoB"}
|
|
@@ -2,7 +2,9 @@ import { LitElement } from 'lit';
|
|
|
2
2
|
export type TemplateResult = import('lit').TemplateResult;
|
|
3
3
|
export type ChoiceGroupHost = import('../../form-core/types/choice-group/ChoiceGroupMixinTypes.js').ChoiceGroupHost;
|
|
4
4
|
export type LionOptionHost = import('../types/LionOption.js').LionOptionHost;
|
|
5
|
-
declare const LionOption_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> &
|
|
5
|
+
declare const LionOption_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/SlotMixinTypes.js").SlotHost> & {
|
|
6
|
+
prototype: LitElement & import("../../core/types/SlotMixinTypes.js").SlotHost;
|
|
7
|
+
} & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost> & Pick<typeof import("../../form-core/types/registration/FormRegisteringMixinTypes.js").FormRegisteringHost, "properties" | "prototype"> & Pick<typeof LitElement, "_$litElement$" | "_initializers" | "addInitializer" | "createProperty" | "disableWarning" | "elementProperties" | "elementStyles" | "enableWarning" | "enabledWarnings" | "getPropertyOptions" | "observedAttributes" | "properties" | "prototype" | "shadowRootOptions" | "styles" | typeof Symbol.metadata> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost> & Pick<typeof import("../../form-core/types/choice-group/ChoiceInputMixinTypes.js").ChoiceInputHost, "prototype" | "styles"> & import("@open-wc/dedupe-mixin").Constructor<import("../../form-core/types/FormatMixinTypes.js").FormatHost> & Pick<typeof import("../../form-core/types/FormatMixinTypes.js").FormatHost, "prototype"> & import("@open-wc/dedupe-mixin").Constructor<import("../../core/types/DisabledMixinTypes.js").DisabledHost> & Pick<typeof import("../../core/types/DisabledMixinTypes.js").DisabledHost, "prototype">;
|
|
6
8
|
/**
|
|
7
9
|
* @typedef {import('lit').TemplateResult } TemplateResult
|
|
8
10
|
* @typedef {import('../../form-core/types/choice-group/ChoiceGroupMixinTypes.js').ChoiceGroupHost } ChoiceGroupHost
|
|
@@ -19,7 +21,8 @@ export declare class LionOption extends LionOption_base {
|
|
|
19
21
|
active: boolean;
|
|
20
22
|
/** @type {any} */
|
|
21
23
|
static get properties(): any;
|
|
22
|
-
|
|
24
|
+
/** @returns {import('lit').CSSResultArray} */
|
|
25
|
+
static get styles(): import('lit').CSSResultArray;
|
|
23
26
|
/**
|
|
24
27
|
* @override We want to start with a clean slate, so we omit slots inherited from FormControl
|
|
25
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionOption.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/LionOption.js"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAKzC,YAAyC,cAAc,GAA7C,OAAO,KAAK,EAAE,cAAc,CAAiB;AACvD,YAAkG,eAAe,GAAvG,OAAO,6DAA6D,EAAE,eAAe,CAAkB;AACjH,YAA4D,cAAc,GAAhE,OAAO,wBAAwB,EAAE,cAAc,CAAiB
|
|
1
|
+
{"version":3,"file":"LionOption.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/LionOption.js"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAKzC,YAAyC,cAAc,GAA7C,OAAO,KAAK,EAAE,cAAc,CAAiB;AACvD,YAAkG,eAAe,GAAvG,OAAO,6DAA6D,EAAE,eAAe,CAAkB;AACjH,YAA4D,cAAc,GAAhE,OAAO,wBAAwB,EAAE,cAAc,CAAiB;;;;AAH7E;;;;GAIG;AAEH;;;;;;GAMG;AACH,qBAAa,UAAW,SAAQ,eAE/B;IAsDQ,MAAM;IArDb,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAQb;IAED,8CAA8C;IAC9C,MAAM,KAAK,MAAM,IADH,OAAO,KAAK,EAAE,cAAc,CA+BzC;IAED;;OAEG;IAEH,IAAI,KAAK,OAER;IAED,cAOC;IAED;;;;;OAKG;IACH,aAAa,CAAC,IAAI,AALf,CACA,EADQ,MAKO,EAAE,QAAQ,AAJzB,CACA,EADQ,OAIiB,EAAE,OAAO,AAHlC,CACA,EADQ,OAAO,KAAK,EAAE,mBAGY,GAFxB,IAAI,CAQhB;IAED;;OAEG;IACH,OAAO,CAAC,iBAAiB,EAFd,OAAO,KAAK,EAAE,cAEA,QASxB;IAED;;;OAGG;IACH,MAAM,IAFO,cAAc,CAQ1B;IAED,iBAAiB,SAGhB;IAED,eAAe;YACf,wBAAwB;IAIxB,eAAe;YACf,0BAA0B;IAI1B,eAAe;YACf,SAAS;CAgBV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListboxMixin.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/ListboxMixin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListboxMixin.d.ts","sourceRoot":"","sources":["../../../../components/listbox/src/ListboxMixin.js"],"names":[],"mappings":"AAyBG,YAAyF,oBAAoB,GAAnG,OAAO,gDAAgD,EAAE,oBAAoB,CAAsB;AAC7G,YAAoF,eAAe,GAAzF,OAAO,gDAAgD,EAAE,eAAe,CAAiB;AACnG,YAAgD,UAAU,GAAhD,OAAO,iBAAiB,EAAE,UAAU,CAAY;AAC1D,YAAgE,YAAY,GAAlE,OAAO,+BAA+B,EAAE,YAAY,CAAc;AAC5E,YAA+D,WAAW,GAAhE,OAAO,+BAA+B,EAAE,WAAW,CAAa;AAC1E,YAAiH,uBAAuB,GAA9H,OAAO,qEAAqE,EAAE,uBAAuB,CAAyB;AACxI,YAA2F,sBAAsB,GAAvG,OAAO,gDAAgD,EAAE,sBAAsB,CAAwB;AAy5BpH,eAAO,MAAM,YAAY,sEAA0C,CAAC"}
|
|
@@ -23,7 +23,13 @@ export declare class ListboxHost {
|
|
|
23
23
|
rotateKeyboardNavigation: Boolean;
|
|
24
24
|
/**
|
|
25
25
|
* Informs screen reader and affects keyboard navigation.
|
|
26
|
-
* By default 'vertical'
|
|
26
|
+
* By default 'vertical'.
|
|
27
|
+
*
|
|
28
|
+
* TODO: rename to `axis: 'inline' | 'block'` (the vocabulary the menu's `InteractiveListMixin` uses),
|
|
29
|
+
* together with `rotateKeyboardNavigation` -> `wrap` and `multipleChoice` -> `multiple`. Must be
|
|
30
|
+
* non-breaking: the old properties and their attributes stay available as deprecated aliases for a
|
|
31
|
+
* release (dev-only deprecation warning), and only then get `@deprecated` here and disappear in a
|
|
32
|
+
* major. See the TODO at the top of src/ListboxMixin.js.
|
|
27
33
|
*/
|
|
28
34
|
orientation: 'vertical' | 'horizontal';
|
|
29
35
|
hasNoDefaultSelected: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListboxMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/listbox/types/ListboxMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+DAA+D,CAAC;AAClG,OAAO,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AAC9F,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,MAAM,KAAK,MAAM,IAAI,cAAc,CAAC;IACpC;;;;;;OAMG;IACI,qBAAqB,EAAE,OAAO,CAAC;IACtC;;;OAGG;IACI,wBAAwB,EAAE,OAAO,CAAC;IACzC
|
|
1
|
+
{"version":3,"file":"ListboxMixinTypes.d.ts","sourceRoot":"","sources":["../../../../components/listbox/types/ListboxMixinTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,cA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AW,CAAC,iBAAiB,CAAC,GAC9B,IAAI,CAAC,OAAO,iBAAiB,EAAE,MAAM,OAAO,iBAAiB,CAAC,GAC9D,WAAW,CAAC,eAAe,CAAC,GAC5B,IAAI,CAAC,OAAO,eAAe,EAAE,MAAM,OAAO,eAAe,CAAC,GAC1D,IAAI,CAAC,OAAO,UAAU,EAAE,MAAM,OAAO,UAAU,CAAC,CAAC;AAEnD,MAAM,MAAM,YAAY,GAAG,OAAO,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export type InteractiveListItemRole = import('../types/InteractiveListMixinTypes.js').InteractiveListItemRole;
|
|
3
|
+
export type InteractiveListMixinType = import('../types/InteractiveListMixinTypes.js').InteractiveListMixin;
|
|
4
|
+
/**
|
|
5
|
+
* Lightweight component supporting InteractiveListItemRole as a type.
|
|
6
|
+
*
|
|
7
|
+
* Supports:
|
|
8
|
+
* - 1. menu item
|
|
9
|
+
* <lion-item> Item label </lion-item>
|
|
10
|
+
* - 2. sub menu
|
|
11
|
+
* <lion-item>
|
|
12
|
+
* <button slot="invoker"> Item label </button>
|
|
13
|
+
* <lion-menu slot="subitems"> ... </lion-menu>
|
|
14
|
+
* </lion-item>
|
|
15
|
+
*
|
|
16
|
+
* Sets the role property on the right element. For case 1, this would be the item itself,
|
|
17
|
+
* for case 2 it would be the [slot=invoker].
|
|
18
|
+
*/
|
|
19
|
+
export declare class LionItem extends LitElement {
|
|
20
|
+
/** @type {InteractiveListItemRole |''} */
|
|
21
|
+
type: InteractiveListItemRole | '';
|
|
22
|
+
_computedType: string | undefined;
|
|
23
|
+
/** @type {any} */
|
|
24
|
+
static get properties(): any;
|
|
25
|
+
get _invokerNode(): HTMLElement | undefined;
|
|
26
|
+
static styles: import("lit").CSSResult[];
|
|
27
|
+
constructor();
|
|
28
|
+
connectedCallback(): void;
|
|
29
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
30
|
+
}
|
|
31
|
+
export declare class LionMenuitem extends LionItem {
|
|
32
|
+
connectedCallback(): void;
|
|
33
|
+
}
|
|
34
|
+
export declare const InteractiveListMixin: typeof import("../types/InteractiveListMixinTypes.js").InteractiveListMixinImplementation;
|
|
35
|
+
//# sourceMappingURL=InteractiveListMixin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractiveListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/InteractiveListMixin.js"],"names":[],"mappings":"AAEA,OAAO,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAgBzC,YAAmF,uBAAuB,GAAhG,OAAO,uCAAuC,EAAE,uBAAuB,CAAyB;AAC1G,YAAgF,wBAAwB,GAA9F,OAAO,uCAAuC,EAAE,oBAAoB,CAA0B;AA2B3G;;;;;;;;;;;;;;GAcG;AACH,qBAAa,QAAS,SAAQ,UAAU;IAwBpC,0CAA0C;IACrC,IAAI,EADE,uBAAuB,GAAE,EAAE;IAQ/B,aAAa;IA/BtB,kBAAkB;IAClB,MAAM,KAAK,UAAU,IADV,GAAG,CAKb;IAED,IAAI,YAAY,4BAIf;IAED,MAAM,CAAC,MAAM,4BAMX;IAEF,cAIC;IAED,iBAAiB,SAWhB;IAED,MAAM,yCAKL;CACF;AAED,qBAAa,YAAa,SAAQ,QAAQ;IACxC,iBAAiB,SAGhB;CACF;AA+uBD,eAAO,MAAM,oBAAoB,2FAAkD,CAAC"}
|