@ui5/webcomponents 0.0.0-7c7170d4a → 0.0.0-7d8c57f70
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/.eslintrc.cjs +3 -0
- package/CHANGELOG.md +53 -1010
- package/README.md +41 -4
- package/config/wdio.conf.cjs +15 -0
- package/customI18n.js +50 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Assets-static.d.ts +4 -0
- package/dist/Assets-static.js +6 -0
- package/dist/Assets-static.js.map +1 -0
- package/dist/Avatar.d.ts +7 -16
- package/dist/Avatar.js +4 -5
- package/dist/Avatar.js.map +1 -1
- package/dist/AvatarGroup.d.ts +10 -15
- package/dist/AvatarGroup.js +6 -7
- package/dist/AvatarGroup.js.map +1 -1
- package/dist/{Tag.d.ts → Badge.d.ts} +16 -23
- package/dist/{Tag.js → Badge.js} +49 -59
- package/dist/Badge.js.map +1 -0
- package/dist/Breadcrumbs.d.ts +6 -7
- package/dist/Breadcrumbs.js +24 -22
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/BusyIndicator.d.ts +1 -1
- package/dist/BusyIndicator.js +1 -5
- package/dist/BusyIndicator.js.map +1 -1
- package/dist/Button.d.ts +42 -38
- package/dist/Button.js +46 -30
- package/dist/Button.js.map +1 -1
- package/dist/Calendar.d.ts +14 -14
- package/dist/Calendar.js +38 -85
- package/dist/Calendar.js.map +1 -1
- package/dist/CalendarDate.d.ts +1 -2
- package/dist/CalendarDate.js +0 -1
- package/dist/CalendarDate.js.map +1 -1
- package/dist/CalendarLegend.js +1 -1
- package/dist/CalendarLegend.js.map +1 -1
- package/dist/CalendarPart.d.ts +1 -2
- package/dist/CalendarPart.js +1 -2
- package/dist/CalendarPart.js.map +1 -1
- package/dist/Card.d.ts +13 -3
- package/dist/Card.js +1 -1
- package/dist/Card.js.map +1 -1
- package/dist/CardHeader.d.ts +8 -6
- package/dist/CardHeader.js +7 -11
- package/dist/CardHeader.js.map +1 -1
- package/dist/Carousel.d.ts +18 -13
- package/dist/Carousel.js +20 -36
- package/dist/Carousel.js.map +1 -1
- package/dist/CheckBox.d.ts +20 -12
- package/dist/CheckBox.js +23 -20
- package/dist/CheckBox.js.map +1 -1
- package/dist/ColorPalette.d.ts +7 -7
- package/dist/ColorPalette.js +19 -16
- package/dist/ColorPalette.js.map +1 -1
- package/dist/ColorPalettePopover.d.ts +16 -2
- package/dist/ColorPalettePopover.js +23 -0
- package/dist/ColorPalettePopover.js.map +1 -1
- package/dist/ColorPicker.d.ts +4 -16
- package/dist/ColorPicker.js +23 -33
- package/dist/ColorPicker.js.map +1 -1
- package/dist/ComboBox.d.ts +3 -16
- package/dist/ComboBox.js +42 -70
- package/dist/ComboBox.js.map +1 -1
- package/dist/CustomListItem.d.ts +1 -8
- package/dist/CustomListItem.js +4 -7
- package/dist/CustomListItem.js.map +1 -1
- package/dist/DateComponentBase.js +1 -2
- package/dist/DateComponentBase.js.map +1 -1
- package/dist/DatePicker.d.ts +42 -23
- package/dist/DatePicker.js +76 -48
- package/dist/DatePicker.js.map +1 -1
- package/dist/DateRangePicker.d.ts +10 -7
- package/dist/DateRangePicker.js +13 -25
- package/dist/DateRangePicker.js.map +1 -1
- package/dist/DateTimePicker.d.ts +17 -8
- package/dist/DateTimePicker.js +33 -20
- package/dist/DateTimePicker.js.map +1 -1
- package/dist/DayPicker.js +7 -10
- package/dist/DayPicker.js.map +1 -1
- package/dist/Dialog.d.ts +19 -1
- package/dist/Dialog.js +37 -5
- package/dist/Dialog.js.map +1 -1
- package/dist/DropIndicator.d.ts +2 -1
- package/dist/DropIndicator.js +6 -13
- package/dist/DropIndicator.js.map +1 -1
- package/dist/FileUploader.d.ts +30 -9
- package/dist/FileUploader.js +73 -36
- package/dist/FileUploader.js.map +1 -1
- package/dist/{ListItemGroupHeader.d.ts → GroupHeaderListItem.d.ts} +5 -4
- package/dist/{ListItemGroupHeader.js → GroupHeaderListItem.js} +17 -17
- package/dist/GroupHeaderListItem.js.map +1 -0
- package/dist/Icon.d.ts +30 -9
- package/dist/Icon.js +41 -20
- package/dist/Icon.js.map +1 -1
- package/dist/Input.d.ts +74 -55
- package/dist/Input.js +230 -185
- package/dist/Input.js.map +1 -1
- package/dist/Label.d.ts +1 -1
- package/dist/Label.js +1 -1
- package/dist/Label.js.map +1 -1
- package/dist/Link.d.ts +25 -18
- package/dist/Link.js +4 -4
- package/dist/Link.js.map +1 -1
- package/dist/List.d.ts +31 -40
- package/dist/List.js +45 -141
- package/dist/List.js.map +1 -1
- package/dist/ListItem.d.ts +53 -21
- package/dist/ListItem.js +39 -35
- package/dist/ListItem.js.map +1 -1
- package/dist/ListItemBase.d.ts +2 -3
- package/dist/ListItemBase.js +1 -1
- package/dist/ListItemBase.js.map +1 -1
- package/dist/Menu.d.ts +7 -10
- package/dist/Menu.js +29 -40
- package/dist/Menu.js.map +1 -1
- package/dist/MenuItem.d.ts +4 -4
- package/dist/MenuItem.js +4 -4
- package/dist/MenuItem.js.map +1 -1
- package/dist/MenuListItem.d.ts +1 -1
- package/dist/MenuListItem.js +3 -3
- package/dist/MenuListItem.js.map +1 -1
- package/dist/MessageStrip.d.ts +9 -18
- package/dist/MessageStrip.js +12 -23
- package/dist/MessageStrip.js.map +1 -1
- package/dist/MultiComboBox.d.ts +19 -33
- package/dist/MultiComboBox.js +120 -148
- package/dist/MultiComboBox.js.map +1 -1
- package/dist/MultiComboBoxItem.d.ts +0 -2
- package/dist/MultiComboBoxItem.js +0 -4
- package/dist/MultiComboBoxItem.js.map +1 -1
- package/dist/MultiInput.d.ts +13 -21
- package/dist/MultiInput.js +86 -62
- package/dist/MultiInput.js.map +1 -1
- package/dist/NavigationMenu.js +6 -6
- package/dist/NavigationMenu.js.map +1 -1
- package/dist/Option.d.ts +13 -4
- package/dist/Option.js +4 -1
- package/dist/Option.js.map +1 -1
- package/dist/Popover.d.ts +34 -18
- package/dist/Popover.js +93 -99
- package/dist/Popover.js.map +1 -1
- package/dist/Popup.d.ts +40 -28
- package/dist/Popup.js +77 -91
- package/dist/Popup.js.map +1 -1
- package/dist/ProgressIndicator.d.ts +7 -0
- package/dist/ProgressIndicator.js +12 -6
- package/dist/ProgressIndicator.js.map +1 -1
- package/dist/RadioButton.d.ts +27 -17
- package/dist/RadioButton.js +34 -27
- package/dist/RadioButton.js.map +1 -1
- package/dist/RadioButtonGroup.js +5 -6
- package/dist/RadioButtonGroup.js.map +1 -1
- package/dist/RangeSlider.d.ts +1 -3
- package/dist/RangeSlider.js +0 -7
- package/dist/RangeSlider.js.map +1 -1
- package/dist/ResponsivePopover.d.ts +15 -4
- package/dist/ResponsivePopover.js +33 -19
- package/dist/ResponsivePopover.js.map +1 -1
- package/dist/SegmentedButton.d.ts +14 -4
- package/dist/SegmentedButton.js +32 -12
- package/dist/SegmentedButton.js.map +1 -1
- package/dist/SegmentedButtonItem.d.ts +26 -62
- package/dist/SegmentedButtonItem.js +20 -71
- package/dist/SegmentedButtonItem.js.map +1 -1
- package/dist/Select.d.ts +31 -22
- package/dist/Select.js +70 -64
- package/dist/Select.js.map +1 -1
- package/dist/SelectMenu.d.ts +1 -1
- package/dist/SelectMenu.js +13 -14
- package/dist/SelectMenu.js.map +1 -1
- package/dist/SelectMenuOption.d.ts +3 -4
- package/dist/SelectMenuOption.js.map +1 -1
- package/dist/Slider.d.ts +1 -3
- package/dist/Slider.js +0 -4
- package/dist/Slider.js.map +1 -1
- package/dist/SliderBase.d.ts +1 -11
- package/dist/SliderBase.js +1 -7
- package/dist/SliderBase.js.map +1 -1
- package/dist/SplitButton.d.ts +34 -3
- package/dist/SplitButton.js +49 -18
- package/dist/SplitButton.js.map +1 -1
- package/dist/StandardListItem.d.ts +1 -8
- package/dist/StandardListItem.js +0 -3
- package/dist/StandardListItem.js.map +1 -1
- package/dist/StepInput.d.ts +15 -6
- package/dist/StepInput.js +14 -10
- package/dist/StepInput.js.map +1 -1
- package/dist/SuggestionGroupItem.js +2 -2
- package/dist/SuggestionGroupItem.js.map +1 -1
- package/dist/Switch.d.ts +18 -9
- package/dist/Switch.js +21 -13
- package/dist/Switch.js.map +1 -1
- package/dist/Tab.d.ts +11 -25
- package/dist/Tab.js +32 -40
- package/dist/Tab.js.map +1 -1
- package/dist/TabContainer.d.ts +77 -48
- package/dist/TabContainer.js +174 -170
- package/dist/TabContainer.js.map +1 -1
- package/dist/TabSeparator.d.ts +6 -16
- package/dist/TabSeparator.js +12 -11
- package/dist/TabSeparator.js.map +1 -1
- package/dist/Table.d.ts +364 -0
- package/dist/Table.js +874 -0
- package/dist/Table.js.map +1 -0
- package/dist/TableCell.d.ts +37 -0
- package/dist/TableCell.js +63 -0
- package/dist/TableCell.js.map +1 -0
- package/dist/TableColumn.d.ts +63 -0
- package/dist/TableColumn.js +59 -0
- package/dist/TableColumn.js.map +1 -0
- package/dist/TableGroupRow.d.ts +44 -0
- package/dist/TableGroupRow.js +102 -0
- package/dist/TableGroupRow.js.map +1 -0
- package/dist/TableRow.d.ts +120 -0
- package/dist/TableRow.js +323 -0
- package/dist/TableRow.js.map +1 -0
- package/dist/TextArea.d.ts +32 -24
- package/dist/TextArea.js +42 -46
- package/dist/TextArea.js.map +1 -1
- package/dist/TimePicker.d.ts +14 -183
- package/dist/TimePicker.js +22 -471
- package/dist/TimePicker.js.map +1 -1
- package/dist/TimePickerBase.d.ts +174 -0
- package/dist/TimePickerBase.js +475 -0
- package/dist/TimePickerBase.js.map +1 -0
- package/dist/TimePickerInternals.d.ts +3 -3
- package/dist/TimePickerInternals.js +5 -6
- package/dist/TimePickerInternals.js.map +1 -1
- package/dist/TimeSelection.d.ts +144 -0
- package/dist/TimeSelection.js +375 -0
- package/dist/TimeSelection.js.map +1 -0
- package/dist/TimeSelectionClocks.js +4 -2
- package/dist/TimeSelectionClocks.js.map +1 -1
- package/dist/TimeSelectionInputs.js +2 -0
- package/dist/TimeSelectionInputs.js.map +1 -1
- package/dist/Title.d.ts +2 -1
- package/dist/Title.js +10 -7
- package/dist/Title.js.map +1 -1
- package/dist/Toast.d.ts +8 -11
- package/dist/Toast.js +32 -36
- package/dist/Toast.js.map +1 -1
- package/dist/ToggleSpinButton.d.ts +1 -1
- package/dist/ToggleSpinButton.js +1 -1
- package/dist/ToggleSpinButton.js.map +1 -1
- package/dist/Token.d.ts +8 -8
- package/dist/Token.js +11 -11
- package/dist/Token.js.map +1 -1
- package/dist/Tokenizer.d.ts +47 -130
- package/dist/Tokenizer.js +176 -359
- package/dist/Tokenizer.js.map +1 -1
- package/dist/Toolbar.d.ts +8 -7
- package/dist/Toolbar.js +28 -20
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarButton.d.ts +18 -14
- package/dist/ToolbarButton.js +3 -1
- package/dist/ToolbarButton.js.map +1 -1
- package/dist/ToolbarRegistry.d.ts +2 -1
- package/dist/ToolbarRegistry.js +4 -1
- package/dist/ToolbarRegistry.js.map +1 -1
- package/dist/Tree.d.ts +13 -25
- package/dist/Tree.js +10 -92
- package/dist/Tree.js.map +1 -1
- package/dist/TreeItemBase.d.ts +5 -12
- package/dist/TreeItemBase.js +4 -7
- package/dist/TreeItemBase.js.map +1 -1
- package/dist/TreeItemCustom.d.ts +1 -1
- package/dist/TreeItemCustom.js +4 -4
- package/dist/TreeItemCustom.js.map +1 -1
- package/dist/WheelSlider.d.ts +101 -0
- package/dist/WheelSlider.js +338 -0
- package/dist/WheelSlider.js.map +1 -0
- package/dist/bundle.common.bootstrap.js.map +1 -1
- package/dist/bundle.esm.d.ts +3 -3
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/Avatar.css +1 -1
- package/dist/css/themes/AvatarGroup.css +1 -1
- package/dist/css/themes/Badge.css +1 -0
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/BusyIndicator.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/Calendar.css +1 -1
- package/dist/css/themes/CalendarHeader.css +1 -1
- package/dist/css/themes/CalendarLegend.css +1 -1
- package/dist/css/themes/CalendarLegendItem.css +1 -1
- package/dist/css/themes/Card.css +1 -1
- package/dist/css/themes/CardHeader.css +1 -1
- package/dist/css/themes/Carousel.css +1 -1
- package/dist/css/themes/CheckBox.css +1 -1
- package/dist/css/themes/ColorPalette.css +1 -1
- package/dist/css/themes/ColorPaletteItem.css +1 -1
- package/dist/css/themes/ColorPalettePopover.css +1 -1
- package/dist/css/themes/ColorPicker.css +1 -1
- package/dist/css/themes/ComboBox.css +1 -1
- package/dist/css/themes/CustomListItem.css +1 -1
- package/dist/css/themes/DatePicker.css +1 -1
- package/dist/css/themes/DateTimePickerPopover.css +1 -1
- package/dist/css/themes/DayPicker.css +1 -1
- package/dist/css/themes/Dialog.css +1 -1
- package/dist/css/themes/DropIndicator.css +1 -1
- package/dist/css/themes/FileUploader.css +1 -1
- package/dist/css/themes/GroupHeaderListItem.css +1 -0
- package/dist/css/themes/GrowingButton.css +1 -1
- package/dist/css/themes/Icon.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/InputIcon.css +1 -1
- package/dist/css/themes/InputSharedStyles.css +1 -1
- package/dist/css/themes/Label.css +1 -1
- package/dist/css/themes/Link.css +1 -1
- package/dist/css/themes/List.css +1 -1
- package/dist/css/themes/ListItem.css +1 -1
- package/dist/css/themes/ListItemBase.css +1 -1
- package/dist/css/themes/Menu.css +1 -1
- package/dist/css/themes/MenuListItem.css +1 -1
- package/dist/css/themes/MessageStrip.css +1 -1
- package/dist/css/themes/MonthPicker.css +1 -1
- package/dist/css/themes/MultiComboBox.css +1 -1
- package/dist/css/themes/MultiComboBoxPopover.css +1 -1
- package/dist/css/themes/MultiInput.css +1 -1
- package/dist/css/themes/NavigationMenu.css +1 -1
- package/dist/css/themes/Panel.css +1 -1
- package/dist/css/themes/Popover.css +1 -1
- package/dist/css/themes/Popup.css +1 -1
- package/dist/css/themes/PopupStaticAreaStyles.css +1 -0
- package/dist/css/themes/PopupsCommon.css +1 -1
- package/dist/css/themes/ProgressIndicator.css +1 -1
- package/dist/css/themes/RadioButton.css +1 -1
- package/dist/css/themes/RangeSlider.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/ResponsivePopover.css +1 -1
- package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
- package/dist/css/themes/SegmentedButton.css +1 -1
- package/dist/css/themes/Select.css +1 -1
- package/dist/css/themes/SelectMenu.css +1 -1
- package/dist/css/themes/SelectPopover.css +1 -1
- package/dist/css/themes/SliderBase.css +1 -1
- package/dist/css/themes/SplitButton.css +1 -1
- package/dist/css/themes/StepInput.css +1 -1
- package/dist/css/themes/Switch.css +1 -1
- package/dist/css/themes/TabContainer.css +1 -1
- package/dist/css/themes/TabInOverflow.css +1 -1
- package/dist/css/themes/TabInStrip.css +1 -1
- package/dist/css/themes/TabSemanticIcon.css +1 -1
- package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
- package/dist/css/themes/TabSeparatorInStrip.css +1 -1
- package/dist/css/themes/Table.css +1 -0
- package/dist/css/themes/TableCell.css +1 -0
- package/dist/css/themes/TableColumn.css +1 -0
- package/dist/css/themes/TableGroupRow.css +1 -0
- package/dist/css/themes/TableRow.css +1 -0
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/TimePicker.css +1 -1
- package/dist/css/themes/TimeSelection.css +1 -0
- package/dist/css/themes/Title.css +1 -1
- package/dist/css/themes/Toast.css +1 -1
- package/dist/css/themes/ToggleButton.css +1 -1
- package/dist/css/themes/Token.css +1 -1
- package/dist/css/themes/Tokenizer.css +1 -1
- package/dist/css/themes/TokenizerPopover.css +1 -1
- package/dist/css/themes/Toolbar.css +1 -1
- package/dist/css/themes/ToolbarPopover.css +1 -1
- package/dist/css/themes/TreeItem.css +1 -1
- package/dist/css/themes/ValueStateMessage.css +1 -1
- package/dist/css/themes/WheelSlider.css +1 -0
- package/dist/css/themes/YearPicker.css +1 -1
- package/dist/css/themes/sap_belize/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb_exp/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +3846 -3325
- package/dist/custom-elements.json +3303 -2747
- package/dist/features/ColorPaletteMoreColors.d.ts +1 -1
- package/dist/features/InputElementsFormSupport.d.ts +41 -0
- package/dist/features/InputElementsFormSupport.js +134 -0
- package/dist/features/InputElementsFormSupport.js.map +1 -0
- package/dist/features/InputSuggestions.d.ts +20 -14
- package/dist/features/InputSuggestions.js +72 -30
- package/dist/features/InputSuggestions.js.map +1 -1
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_in.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -0
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +13 -15
- package/dist/generated/i18n/i18n-defaults.js +15 -17
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/json-imports/Themes-static.d.ts +1 -0
- package/dist/generated/json-imports/Themes-static.js +45 -0
- package/dist/generated/json-imports/Themes-static.js.map +1 -0
- package/dist/generated/json-imports/Themes.js +5 -2
- package/dist/generated/json-imports/Themes.js.map +1 -1
- package/dist/generated/json-imports/i18n-static.d.ts +1 -0
- package/dist/generated/json-imports/i18n-static.js +168 -0
- package/dist/generated/json-imports/i18n-static.js.map +1 -0
- package/dist/generated/json-imports/i18n.js +1 -1
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/templates/AvatarGroupTemplate.lit.js +1 -1
- package/dist/generated/templates/AvatarGroupTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BadgeTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/BadgeTemplate.lit.js +11 -0
- package/dist/generated/templates/BadgeTemplate.lit.js.map +1 -0
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js +1 -2
- package/dist/generated/templates/BreadcrumbsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BusyIndicatorTemplate.lit.js +2 -2
- package/dist/generated/templates/BusyIndicatorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ButtonTemplate.lit.js +3 -4
- package/dist/generated/templates/ButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CalendarTemplate.lit.js +1 -1
- package/dist/generated/templates/CalendarTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CardHeaderTemplate.lit.js +2 -2
- package/dist/generated/templates/CardHeaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CheckBoxTemplate.lit.js +1 -1
- package/dist/generated/templates/CheckBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.js +1 -2
- package/dist/generated/templates/ColorPaletteDialogTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/ColorPalettePopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPaletteTemplate.lit.js +1 -2
- package/dist/generated/templates/ColorPaletteTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ColorPickerTemplate.lit.js +1 -1
- package/dist/generated/templates/ColorPickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js +4 -4
- package/dist/generated/templates/ComboBoxPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ComboBoxTemplate.lit.js +4 -23
- package/dist/generated/templates/ComboBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CustomListItemTemplate.lit.js +3 -3
- package/dist/generated/templates/CustomListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js +2 -2
- package/dist/generated/templates/DatePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DatePickerTemplate.lit.js +3 -6
- package/dist/generated/templates/DatePickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/DateTimePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/DialogTemplate.lit.js +1 -1
- package/dist/generated/templates/DialogTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/FileUploaderPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FileUploaderTemplate.lit.js +4 -6
- package/dist/generated/templates/FileUploaderTemplate.lit.js.map +1 -1
- package/dist/generated/templates/{ListItemGroupHeaderTemplate.lit.d.ts → GroupHeaderListItemTemplate.lit.d.ts} +2 -2
- package/dist/generated/templates/{ListItemGroupHeaderTemplate.lit.js → GroupHeaderListItemTemplate.lit.js} +1 -1
- package/dist/generated/templates/{ListItemGroupHeaderTemplate.lit.js.map → GroupHeaderListItemTemplate.lit.js.map} +1 -1
- package/dist/generated/templates/IconTemplate.lit.js +1 -1
- package/dist/generated/templates/IconTemplate.lit.js.map +1 -1
- package/dist/generated/templates/InputPopoverTemplate.lit.js +17 -17
- package/dist/generated/templates/InputPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/InputTemplate.lit.js +6 -26
- package/dist/generated/templates/InputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/LinkTemplate.lit.js +1 -1
- package/dist/generated/templates/LinkTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js +3 -3
- package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListTemplate.lit.js +2 -2
- package/dist/generated/templates/ListTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MenuListItemTemplate.lit.js +3 -3
- package/dist/generated/templates/MenuListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MenuTemplate.lit.js +7 -7
- package/dist/generated/templates/MenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MonthPickerTemplate.lit.js +1 -1
- package/dist/generated/templates/MonthPickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js +8 -8
- package/dist/generated/templates/MultiComboBoxPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js +4 -30
- package/dist/generated/templates/MultiComboBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MultiInputTemplate.lit.js +11 -28
- package/dist/generated/templates/MultiInputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/NavigationMenuTemplate.lit.js +8 -8
- package/dist/generated/templates/NavigationMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/PopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.js +2 -2
- package/dist/generated/templates/PopupBlockLayerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PopupTemplate.lit.js +1 -1
- package/dist/generated/templates/PopupTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js +1 -1
- package/dist/generated/templates/ProgressIndicatorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/RadioButtonTemplate.lit.js +1 -1
- package/dist/generated/templates/RadioButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js +4 -4
- package/dist/generated/templates/ResponsivePopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.js +2 -2
- package/dist/generated/templates/SegmentedButtonItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectMenuTemplate.lit.js +1 -1
- package/dist/generated/templates/SelectMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectPopoverTemplate.lit.js +3 -3
- package/dist/generated/templates/SelectPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectTemplate.lit.js +4 -20
- package/dist/generated/templates/SelectTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SplitButtonTemplate.lit.js +1 -1
- package/dist/generated/templates/SplitButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StandardListItemTemplate.lit.js +5 -5
- package/dist/generated/templates/StandardListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StepInputTemplate.lit.js +3 -3
- package/dist/generated/templates/StepInputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js +5 -5
- package/dist/generated/templates/SuggestionListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SwitchTemplate.lit.js +1 -1
- package/dist/generated/templates/SwitchTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/TabContainerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabContainerTemplate.lit.js +3 -4
- package/dist/generated/templates/TabContainerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.js +1 -1
- package/dist/generated/templates/TabInOverflowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabInStripTemplate.lit.js +2 -2
- package/dist/generated/templates/TabInStripTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.js +1 -1
- package/dist/generated/templates/TabSeparatorInOverflowTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TableCellTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableCellTemplate.lit.js +5 -0
- package/dist/generated/templates/TableCellTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableColumnTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableColumnTemplate.lit.js +5 -0
- package/dist/generated/templates/TableColumnTemplate.lit.js.map +1 -0
- package/dist/generated/templates/{ListItemGroupTemplate.lit.d.ts → TableGroupRowTemplate.lit.d.ts} +2 -2
- package/dist/generated/templates/TableGroupRowTemplate.lit.js +5 -0
- package/dist/generated/templates/TableGroupRowTemplate.lit.js.map +1 -0
- package/dist/generated/templates/{FormItemTemplate.lit.d.ts → TableRowTemplate.lit.d.ts} +2 -2
- package/dist/generated/templates/TableRowTemplate.lit.js +16 -0
- package/dist/generated/templates/TableRowTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TableTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TableTemplate.lit.js +15 -0
- package/dist/generated/templates/TableTemplate.lit.js.map +1 -0
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/TextAreaPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TextAreaTemplate.lit.js +2 -6
- package/dist/generated/templates/TextAreaTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.js +2 -2
- package/dist/generated/templates/TimePickerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimePickerTemplate.lit.js +2 -3
- package/dist/generated/templates/TimePickerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimeSelectionClocksTemplate.lit.js +1 -1
- package/dist/generated/templates/TimeSelectionClocksTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimeSelectionInputsTemplate.lit.js +1 -1
- package/dist/generated/templates/TimeSelectionInputsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TimeSelectionTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/TimeSelectionTemplate.lit.js +9 -0
- package/dist/generated/templates/TimeSelectionTemplate.lit.js.map +1 -0
- package/dist/generated/templates/ToggleButtonTemplate.lit.js +3 -4
- package/dist/generated/templates/ToggleButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js +3 -4
- package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenTemplate.lit.js +2 -2
- package/dist/generated/templates/TokenTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.js +10 -5
- package/dist/generated/templates/TokenizerPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TokenizerTemplate.lit.js +3 -6
- package/dist/generated/templates/TokenizerTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ToolbarPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/ToolbarPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ToolbarTemplate.lit.js +1 -2
- package/dist/generated/templates/ToolbarTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemBaseTemplate.lit.js +3 -3
- package/dist/generated/templates/TreeItemBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemCustomTemplate.lit.js +3 -3
- package/dist/generated/templates/TreeItemCustomTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeItemTemplate.lit.js +3 -3
- package/dist/generated/templates/TreeItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TreeTemplate.lit.js +1 -1
- package/dist/generated/templates/TreeTemplate.lit.js.map +1 -1
- package/dist/generated/templates/WheelSliderTemplate.lit.d.ts +4 -0
- package/dist/generated/templates/WheelSliderTemplate.lit.js +8 -0
- package/dist/generated/templates/WheelSliderTemplate.lit.js.map +1 -0
- package/dist/generated/templates/YearPickerTemplate.lit.js +1 -1
- package/dist/generated/templates/YearPickerTemplate.lit.js.map +1 -1
- package/dist/generated/themes/Avatar.css.js +1 -1
- package/dist/generated/themes/Avatar.css.js.map +1 -1
- package/dist/generated/themes/AvatarGroup.css.js +1 -1
- package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
- package/dist/generated/themes/Badge.css.js +9 -0
- package/dist/generated/themes/Badge.css.js.map +1 -0
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
- package/dist/generated/themes/BusyIndicator.css.js +1 -1
- package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/Calendar.css.js +1 -1
- package/dist/generated/themes/Calendar.css.js.map +1 -1
- package/dist/generated/themes/CalendarHeader.css.js +1 -1
- package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
- package/dist/generated/themes/CalendarLegend.css.js +1 -1
- package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
- package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
- package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
- package/dist/generated/themes/Card.css.js +1 -1
- package/dist/generated/themes/Card.css.js.map +1 -1
- package/dist/generated/themes/CardHeader.css.js +1 -1
- package/dist/generated/themes/CardHeader.css.js.map +1 -1
- package/dist/generated/themes/Carousel.css.js +1 -1
- package/dist/generated/themes/Carousel.css.js.map +1 -1
- package/dist/generated/themes/CheckBox.css.js +1 -1
- package/dist/generated/themes/CheckBox.css.js.map +1 -1
- package/dist/generated/themes/ColorPalette.css.js +1 -1
- package/dist/generated/themes/ColorPalette.css.js.map +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
- package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
- package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
- package/dist/generated/themes/{ColorPaletteDialog.css.js → ColorPaletteStaticArea.css.js} +2 -2
- package/dist/generated/themes/ColorPaletteStaticArea.css.js.map +1 -0
- package/dist/generated/themes/ColorPicker.css.js +1 -1
- package/dist/generated/themes/ColorPicker.css.js.map +1 -1
- package/dist/generated/themes/ComboBox.css.js +1 -1
- package/dist/generated/themes/ComboBox.css.js.map +1 -1
- package/dist/generated/themes/CustomListItem.css.js +1 -1
- package/dist/generated/themes/CustomListItem.css.js.map +1 -1
- package/dist/generated/themes/DatePicker.css.js +1 -1
- package/dist/generated/themes/DatePicker.css.js.map +1 -1
- package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
- package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/DayPicker.css.js +1 -1
- package/dist/generated/themes/DayPicker.css.js.map +1 -1
- package/dist/generated/themes/Dialog.css.js +1 -1
- package/dist/generated/themes/Dialog.css.js.map +1 -1
- package/dist/generated/themes/DropIndicator.css.js +1 -1
- package/dist/generated/themes/DropIndicator.css.js.map +1 -1
- package/dist/generated/themes/FileUploader.css.js +1 -1
- package/dist/generated/themes/FileUploader.css.js.map +1 -1
- package/dist/generated/themes/GroupHeaderListItem.css.js +9 -0
- package/dist/generated/themes/{ListItemGroupHeader.css.js.map → GroupHeaderListItem.css.js.map} +1 -1
- package/dist/generated/themes/GrowingButton.css.js +1 -1
- package/dist/generated/themes/GrowingButton.css.js.map +1 -1
- package/dist/generated/themes/Icon.css.js +1 -1
- package/dist/generated/themes/Icon.css.js.map +1 -1
- package/dist/generated/themes/Input.css.js +1 -1
- package/dist/generated/themes/Input.css.js.map +1 -1
- package/dist/generated/themes/InputIcon.css.js +1 -1
- package/dist/generated/themes/InputIcon.css.js.map +1 -1
- package/dist/generated/themes/InputSharedStyles.css.js +1 -1
- package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
- package/dist/generated/themes/Label.css.js +1 -1
- package/dist/generated/themes/Label.css.js.map +1 -1
- package/dist/generated/themes/Link.css.js +1 -1
- package/dist/generated/themes/Link.css.js.map +1 -1
- package/dist/generated/themes/List.css.js +1 -1
- package/dist/generated/themes/List.css.js.map +1 -1
- package/dist/generated/themes/ListItem.css.js +1 -1
- package/dist/generated/themes/ListItem.css.js.map +1 -1
- package/dist/generated/themes/ListItemBase.css.js +1 -1
- package/dist/generated/themes/ListItemBase.css.js.map +1 -1
- package/dist/generated/themes/Menu.css.js +1 -1
- package/dist/generated/themes/Menu.css.js.map +1 -1
- package/dist/generated/themes/MenuListItem.css.js +1 -1
- package/dist/generated/themes/MenuListItem.css.js.map +1 -1
- package/dist/generated/themes/MessageStrip.css.js +1 -1
- package/dist/generated/themes/MessageStrip.css.js.map +1 -1
- package/dist/generated/themes/MonthPicker.css.js +1 -1
- package/dist/generated/themes/MonthPicker.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBox.css.js +1 -1
- package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
- package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
- package/dist/generated/themes/MultiInput.css.js +1 -1
- package/dist/generated/themes/MultiInput.css.js.map +1 -1
- package/dist/generated/themes/NavigationMenu.css.js +1 -1
- package/dist/generated/themes/NavigationMenu.css.js.map +1 -1
- package/dist/generated/themes/Panel.css.js +1 -1
- package/dist/generated/themes/Panel.css.js.map +1 -1
- package/dist/generated/themes/Popover.css.js +1 -1
- package/dist/generated/themes/Popover.css.js.map +1 -1
- package/dist/generated/themes/Popup.css.js +1 -1
- package/dist/generated/themes/Popup.css.js.map +1 -1
- package/dist/generated/themes/{PopupBlockLayer.css.js → PopupStaticAreaStyles.css.js} +2 -2
- package/dist/generated/themes/PopupStaticAreaStyles.css.js.map +1 -0
- package/dist/generated/themes/PopupsCommon.css.js +1 -1
- package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
- package/dist/generated/themes/ProgressIndicator.css.js +1 -1
- package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
- package/dist/generated/themes/RadioButton.css.js +1 -1
- package/dist/generated/themes/RadioButton.css.js.map +1 -1
- package/dist/generated/themes/RangeSlider.css.js +1 -1
- package/dist/generated/themes/RangeSlider.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopover.css.js +1 -1
- package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
- package/dist/generated/themes/SegmentedButton.css.js +1 -1
- package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
- package/dist/generated/themes/Select.css.js +1 -1
- package/dist/generated/themes/Select.css.js.map +1 -1
- package/dist/generated/themes/SelectMenu.css.js +1 -1
- package/dist/generated/themes/SelectMenu.css.js.map +1 -1
- package/dist/generated/themes/SelectPopover.css.js +1 -1
- package/dist/generated/themes/SelectPopover.css.js.map +1 -1
- package/dist/generated/themes/SliderBase.css.js +1 -1
- package/dist/generated/themes/SliderBase.css.js.map +1 -1
- package/dist/generated/themes/SplitButton.css.js +1 -1
- package/dist/generated/themes/SplitButton.css.js.map +1 -1
- package/dist/generated/themes/StepInput.css.js +1 -1
- package/dist/generated/themes/StepInput.css.js.map +1 -1
- package/dist/generated/themes/Switch.css.js +1 -1
- package/dist/generated/themes/Switch.css.js.map +1 -1
- package/dist/generated/themes/TabContainer.css.js +1 -1
- package/dist/generated/themes/TabContainer.css.js.map +1 -1
- package/dist/generated/themes/TabInOverflow.css.js +1 -1
- package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
- package/dist/generated/themes/TabInStrip.css.js +1 -1
- package/dist/generated/themes/TabInStrip.css.js.map +1 -1
- package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
- package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
- package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
- package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
- package/dist/generated/themes/TabSeparatorInStrip.css.js +1 -1
- package/dist/generated/themes/TabSeparatorInStrip.css.js.map +1 -1
- package/dist/generated/themes/Table.css.js +9 -0
- package/dist/generated/themes/Table.css.js.map +1 -0
- package/dist/generated/themes/{ListItemGroup.css.js → TableCell.css.js} +2 -2
- package/dist/generated/themes/TableCell.css.js.map +1 -0
- package/dist/generated/themes/TableColumn.css.js +9 -0
- package/dist/generated/themes/TableColumn.css.js.map +1 -0
- package/dist/generated/themes/TableGroupRow.css.js +9 -0
- package/dist/generated/themes/TableGroupRow.css.js.map +1 -0
- package/dist/generated/themes/TableRow.css.js +9 -0
- package/dist/generated/themes/TableRow.css.js.map +1 -0
- package/dist/generated/themes/TextArea.css.js +1 -1
- package/dist/generated/themes/TextArea.css.js.map +1 -1
- package/dist/generated/themes/TimePicker.css.js +1 -1
- package/dist/generated/themes/TimePicker.css.js.map +1 -1
- package/dist/generated/themes/{Text.css.js → TimeSelection.css.js} +2 -2
- package/dist/generated/themes/{ListItemGroup.css.js.map → TimeSelection.css.js.map} +1 -1
- package/dist/generated/themes/Title.css.js +1 -1
- package/dist/generated/themes/Title.css.js.map +1 -1
- package/dist/generated/themes/Toast.css.js +1 -1
- package/dist/generated/themes/Toast.css.js.map +1 -1
- package/dist/generated/themes/ToggleButton.css.js +1 -1
- package/dist/generated/themes/ToggleButton.css.js.map +1 -1
- package/dist/generated/themes/Token.css.js +1 -1
- package/dist/generated/themes/Token.css.js.map +1 -1
- package/dist/generated/themes/Tokenizer.css.js +1 -1
- package/dist/generated/themes/Tokenizer.css.js.map +1 -1
- package/dist/generated/themes/TokenizerPopover.css.js +1 -1
- package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
- package/dist/generated/themes/Toolbar.css.js +1 -1
- package/dist/generated/themes/Toolbar.css.js.map +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js +1 -1
- package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
- package/dist/generated/themes/TreeItem.css.js +1 -1
- package/dist/generated/themes/TreeItem.css.js.map +1 -1
- package/dist/generated/themes/ValueStateMessage.css.js +1 -1
- package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
- package/dist/generated/themes/WheelSlider.css.js +9 -0
- package/dist/generated/themes/WheelSlider.css.js.map +1 -0
- package/dist/generated/themes/YearPicker.css.js +1 -1
- package/dist/generated/themes/YearPicker.css.js.map +1 -1
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.d.ts +3 -0
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +4 -0
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -0
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js.map +1 -1
- package/dist/popup-utils/OpenedPopupsRegistry.js +1 -1
- package/dist/popup-utils/OpenedPopupsRegistry.js.map +1 -1
- package/dist/popup-utils/PopoverRegistry.js +3 -3
- package/dist/popup-utils/PopoverRegistry.js.map +1 -1
- package/dist/styles/Input.css +0 -0
- package/dist/styles/Input.module.css +0 -0
- package/dist/types/{TagDesign.d.ts → BadgeDesign.d.ts} +3 -3
- package/dist/types/{TagDesign.js → BadgeDesign.js} +14 -14
- package/dist/types/BadgeDesign.js.map +1 -0
- package/dist/types/{BreadcrumbsSeparator.d.ts → BreadcrumbsSeparatorStyle.d.ts} +3 -3
- package/dist/types/BreadcrumbsSeparatorStyle.js +39 -0
- package/dist/types/BreadcrumbsSeparatorStyle.js.map +1 -0
- package/dist/types/BusyIndicatorSize.d.ts +3 -3
- package/dist/types/BusyIndicatorSize.js +3 -3
- package/dist/types/BusyIndicatorSize.js.map +1 -1
- package/dist/types/{CarouselPageIndicatorType.d.ts → CarouselPageIndicatorStyle.d.ts} +3 -3
- package/dist/types/{CarouselPageIndicatorType.js → CarouselPageIndicatorStyle.js} +8 -8
- package/dist/types/CarouselPageIndicatorStyle.js.map +1 -0
- package/dist/types/HasPopup.d.ts +32 -0
- package/dist/types/HasPopup.js +34 -0
- package/dist/types/HasPopup.js.map +1 -0
- package/dist/types/HighlightTypes.d.ts +3 -3
- package/dist/types/HighlightTypes.js +3 -3
- package/dist/types/HighlightTypes.js.map +1 -1
- package/dist/types/InputType.d.ts +1 -7
- package/dist/types/InputType.js +0 -6
- package/dist/types/InputType.js.map +1 -1
- package/dist/types/{ListSelectionMode.d.ts → ListMode.d.ts} +8 -8
- package/dist/types/{ListSelectionMode.js → ListMode.js} +13 -13
- package/dist/types/ListMode.js.map +1 -0
- package/dist/types/MessageStripDesign.d.ts +1 -11
- package/dist/types/MessageStripDesign.js +1 -11
- package/dist/types/MessageStripDesign.js.map +1 -1
- package/dist/types/PopoverHorizontalAlign.d.ts +4 -4
- package/dist/types/PopoverHorizontalAlign.js +4 -4
- package/dist/types/PopoverHorizontalAlign.js.map +1 -1
- package/dist/types/{PopoverPlacement.d.ts → PopoverPlacementType.d.ts} +7 -7
- package/dist/types/PopoverPlacementType.js +29 -0
- package/dist/types/PopoverPlacementType.js.map +1 -0
- package/dist/types/{SegmentedButtonSelectionMode.d.ts → SegmentedButtonMode.d.ts} +5 -5
- package/dist/types/SegmentedButtonMode.js +19 -0
- package/dist/types/SegmentedButtonMode.js.map +1 -0
- package/dist/types/TabContainerBackgroundDesign.d.ts +22 -0
- package/dist/types/TabContainerBackgroundDesign.js +24 -0
- package/dist/types/TabContainerBackgroundDesign.js.map +1 -0
- package/dist/types/TableColumnPopinDisplay.d.ts +17 -0
- package/dist/types/TableColumnPopinDisplay.js +19 -0
- package/dist/types/TableColumnPopinDisplay.js.map +1 -0
- package/dist/types/TableGrowingMode.d.ts +23 -0
- package/dist/types/TableGrowingMode.js +25 -0
- package/dist/types/TableGrowingMode.js.map +1 -0
- package/dist/types/TableMode.d.ts +22 -0
- package/dist/types/TableMode.js +24 -0
- package/dist/types/TableMode.js.map +1 -0
- package/dist/types/TableRowType.d.ts +17 -0
- package/dist/types/TableRowType.js +19 -0
- package/dist/types/TableRowType.js.map +1 -0
- package/dist/types/{OverflowMode.d.ts → TabsOverflowMode.d.ts} +2 -2
- package/dist/types/{OverflowMode.js → TabsOverflowMode.js} +7 -7
- package/dist/types/TabsOverflowMode.js.map +1 -0
- package/dist/vscode.html-custom-data.json +589 -587
- package/dist/web-types.json +1019 -1098
- package/package-scripts.cjs +1 -0
- package/package.json +9 -9
- package/src/AvatarGroup.hbs +1 -1
- package/src/{Tag.hbs → Badge.hbs} +5 -5
- package/src/Breadcrumbs.hbs +3 -5
- package/src/BreadcrumbsPopover.hbs +3 -3
- package/src/BusyIndicator.hbs +1 -1
- package/src/Button.hbs +4 -12
- package/src/Calendar.hbs +1 -0
- package/src/CardHeader.hbs +3 -3
- package/src/CheckBox.hbs +2 -0
- package/src/ColorPalette.hbs +3 -5
- package/src/ColorPaletteDialog.hbs +0 -2
- package/src/ColorPalettePopover.hbs +2 -3
- package/src/ColorPicker.hbs +3 -3
- package/src/ComboBox.hbs +4 -5
- package/src/ComboBoxPopover.hbs +12 -10
- package/src/DatePicker.hbs +45 -2
- package/src/DatePickerPopover.hbs +6 -8
- package/src/DateTimePickerPopover.hbs +1 -1
- package/src/FileUploader.hbs +17 -12
- package/src/FileUploaderPopover.hbs +3 -3
- package/src/Icon.hbs +2 -0
- package/src/Input.hbs +12 -12
- package/src/InputPopover.hbs +17 -37
- package/src/Link.hbs +1 -1
- package/src/List.hbs +8 -6
- package/src/ListItem.hbs +2 -1
- package/src/Menu.hbs +15 -15
- package/src/MonthPicker.hbs +1 -1
- package/src/MultiComboBox.hbs +6 -7
- package/src/MultiComboBoxPopover.hbs +12 -12
- package/src/MultiInput.hbs +16 -5
- package/src/NavigationMenu.hbs +14 -14
- package/src/Popup.hbs +3 -4
- package/src/PopupBlockLayer.hbs +4 -1
- package/src/ProgressIndicator.hbs +1 -0
- package/src/RadioButton.hbs +1 -0
- package/src/ResponsivePopover.hbs +6 -13
- package/src/SegmentedButtonItem.hbs +15 -5
- package/src/Select.hbs +3 -4
- package/src/SelectMenu.hbs +7 -7
- package/src/SelectPopover.hbs +11 -11
- package/src/SplitButton.hbs +18 -16
- package/src/StandardListItem.hbs +2 -2
- package/src/StepInput.hbs +4 -2
- package/src/Switch.hbs +1 -0
- package/src/TabContainer.hbs +8 -10
- package/src/TabContainerPopover.hbs +3 -4
- package/src/TabInOverflow.hbs +1 -1
- package/src/TabInStrip.hbs +4 -4
- package/src/TabSeparatorInOverflow.hbs +1 -1
- package/src/Table.hbs +122 -0
- package/src/TableCell.hbs +7 -0
- package/src/TableColumn.hbs +7 -0
- package/src/TableGroupRow.hbs +11 -0
- package/src/TableRow.hbs +85 -0
- package/src/TextArea.hbs +2 -2
- package/src/TextAreaPopover.hbs +2 -2
- package/src/TimePicker.hbs +2 -3
- package/src/TimePickerPopover.hbs +11 -10
- package/src/TimeSelection.hbs +64 -0
- package/src/TimeSelectionClocks.hbs +1 -1
- package/src/TimeSelectionInputs.hbs +1 -1
- package/src/Token.hbs +1 -3
- package/src/Tokenizer.hbs +7 -14
- package/src/TokenizerPopover.hbs +40 -27
- package/src/Toolbar.hbs +1 -3
- package/src/ToolbarPopover.hbs +4 -4
- package/src/Tree.hbs +2 -9
- package/src/WheelSlider.hbs +49 -0
- package/src/YearPicker.hbs +1 -1
- package/src/i18n/messagebundle.properties +29 -31
- package/src/i18n/messagebundle_ar.properties +7 -9
- package/src/i18n/messagebundle_bg.properties +7 -9
- package/src/i18n/messagebundle_ca.properties +7 -9
- package/src/i18n/messagebundle_cnr.properties +7 -9
- package/src/i18n/messagebundle_cs.properties +7 -9
- package/src/i18n/messagebundle_cy.properties +7 -9
- package/src/i18n/messagebundle_da.properties +7 -9
- package/src/i18n/messagebundle_de.properties +7 -9
- package/src/i18n/messagebundle_el.properties +7 -9
- package/src/i18n/messagebundle_en.properties +7 -9
- package/src/i18n/messagebundle_en_GB.properties +7 -9
- package/src/i18n/messagebundle_en_US_sappsd.properties +1 -1
- package/src/i18n/messagebundle_en_US_saprigi.properties +7 -9
- package/src/i18n/messagebundle_en_US_saptrc.properties +1 -1
- package/src/i18n/messagebundle_es.properties +7 -9
- package/src/i18n/messagebundle_es_MX.properties +7 -9
- package/src/i18n/messagebundle_et.properties +7 -9
- package/src/i18n/messagebundle_fi.properties +7 -9
- package/src/i18n/messagebundle_fr.properties +7 -9
- package/src/i18n/messagebundle_fr_CA.properties +7 -9
- package/src/i18n/messagebundle_hi.properties +7 -9
- package/src/i18n/messagebundle_hr.properties +7 -9
- package/src/i18n/messagebundle_hu.properties +7 -9
- package/src/i18n/messagebundle_id.properties +7 -9
- package/src/i18n/messagebundle_in.properties +1 -1
- package/src/i18n/messagebundle_it.properties +7 -9
- package/src/i18n/messagebundle_iw.properties +7 -9
- package/src/i18n/messagebundle_ja.properties +7 -9
- package/src/i18n/messagebundle_kk.properties +7 -9
- package/src/i18n/messagebundle_ko.properties +7 -9
- package/src/i18n/messagebundle_lt.properties +7 -9
- package/src/i18n/messagebundle_lv.properties +7 -9
- package/src/i18n/messagebundle_mk.properties +7 -9
- package/src/i18n/messagebundle_ms.properties +7 -9
- package/src/i18n/messagebundle_nl.properties +7 -9
- package/src/i18n/messagebundle_no.properties +7 -9
- package/src/i18n/messagebundle_pl.properties +7 -9
- package/src/i18n/messagebundle_pt.properties +7 -9
- package/src/i18n/messagebundle_pt_PT.properties +7 -9
- package/src/i18n/messagebundle_ro.properties +7 -9
- package/src/i18n/messagebundle_ru.properties +7 -9
- package/src/i18n/messagebundle_sh.properties +30 -32
- package/src/i18n/messagebundle_sk.properties +7 -9
- package/src/i18n/messagebundle_sl.properties +7 -9
- package/src/i18n/messagebundle_sr.properties +7 -9
- package/src/i18n/messagebundle_sv.properties +7 -9
- package/src/i18n/messagebundle_th.properties +7 -9
- package/src/i18n/messagebundle_tr.properties +7 -9
- package/src/i18n/messagebundle_uk.properties +7 -9
- package/src/i18n/messagebundle_vi.properties +7 -9
- package/src/i18n/messagebundle_zh_CN.properties +7 -9
- package/src/i18n/messagebundle_zh_TW.properties +7 -9
- package/src/styles/Input.module.css +0 -0
- package/src/themes/Avatar.css +9 -9
- package/src/themes/AvatarGroup.css +3 -18
- package/src/themes/Badge.css +593 -0
- package/src/themes/Breadcrumbs.css +5 -5
- package/src/themes/BusyIndicator.css +21 -18
- package/src/themes/Button.css +22 -31
- package/src/themes/CalendarLegendItem.css +1 -4
- package/src/themes/CardHeader.css +4 -6
- package/src/themes/Carousel.css +1 -2
- package/src/themes/CheckBox.css +26 -23
- package/src/themes/Dialog.css +7 -20
- package/src/themes/DropIndicator.css +0 -16
- package/src/themes/FileUploader.css +3 -3
- package/src/themes/{ListItemGroupHeader.css → GroupHeaderListItem.css} +0 -4
- package/src/themes/Icon.css +2 -3
- package/src/themes/Input.css +56 -56
- package/src/themes/InputIcon.css +13 -6
- package/src/themes/InputSharedStyles.css +19 -18
- package/src/themes/Label.css +4 -7
- package/src/themes/List.css +3 -3
- package/src/themes/ListItem.css +9 -9
- package/src/themes/Menu.css +1 -1
- package/src/themes/MessageStrip.css +2 -155
- package/src/themes/MultiComboBox.css +0 -4
- package/src/themes/NavigationMenu.css +2 -0
- package/src/themes/Popover.css +12 -20
- package/src/themes/Popup.css +2 -5
- package/src/themes/PopupStaticAreaStyles.css +16 -0
- package/src/themes/PopupsCommon.css +4 -6
- package/src/themes/ProgressIndicator.css +22 -24
- package/src/themes/RadioButton.css +25 -22
- package/src/themes/ResponsivePopover.css +3 -3
- package/src/themes/ResponsivePopoverCommon.css +17 -17
- package/src/themes/SegmentedButton.css +2 -2
- package/src/themes/SplitButton.css +7 -12
- package/src/themes/StepInput.css +20 -20
- package/src/themes/TabContainer.css +0 -1
- package/src/themes/TabInOverflow.css +0 -1
- package/src/themes/TabInStrip.css +4 -8
- package/src/themes/TabSeparatorInOverflow.css +2 -2
- package/src/themes/TabSeparatorInStrip.css +2 -2
- package/src/themes/Table.css +106 -0
- package/src/themes/TableCell.css +27 -0
- package/src/themes/TableColumn.css +25 -0
- package/src/themes/TableGroupRow.css +32 -0
- package/src/themes/TableRow.css +130 -0
- package/src/themes/TextArea.css +41 -41
- package/src/themes/TimePicker.css +1 -1
- package/src/themes/TimeSelection.css +27 -0
- package/src/themes/Title.css +3 -10
- package/src/themes/ToggleButton.css +7 -7
- package/src/themes/Token.css +15 -10
- package/src/themes/Tokenizer.css +10 -24
- package/src/themes/TokenizerPopover.css +2 -14
- package/src/themes/TreeItem.css +6 -7
- package/src/themes/WheelSlider.css +203 -0
- package/src/themes/base/Avatar-parameters.css +0 -2
- package/src/themes/base/Badge-parameters.css +160 -0
- package/src/themes/base/BusyIndicator-parameters.css +1 -0
- package/src/themes/base/MessageStrip-parameters.css +0 -25
- package/src/themes/base/ProgressIndicator-parameters.css +1 -3
- package/src/themes/base/RadioButton-parameters.css +1 -0
- package/src/themes/base/Table-parameters.css +10 -0
- package/src/themes/base/TableColumn-parameters.css +3 -0
- package/src/themes/base/TableGroupRow-parameters.css +4 -0
- package/src/themes/base/TableRow-parameters.css +4 -0
- package/src/themes/base/WheelSlider-parameters.css +15 -0
- package/src/themes/base/sizes-parameters.css +31 -20
- package/src/themes/sap_belize/BrowserScrollbar-parameters.css +4 -0
- package/src/themes/sap_belize/BusyIndicator-parameters.css +5 -0
- package/src/themes/sap_belize/Button-parameters.css +9 -0
- package/src/themes/sap_belize/Card-parameters.css +5 -0
- package/src/themes/sap_belize/Carousel-parameters.css +9 -0
- package/src/themes/sap_belize/DayPicker-parameters.css +25 -0
- package/src/themes/sap_belize/Dialog-parameters.css +5 -0
- package/src/themes/sap_belize/Input-parameters.css +22 -0
- package/src/themes/sap_belize/InputIcon-parameters.css +5 -0
- package/src/themes/sap_belize/Panel-parameters.css +14 -0
- package/src/themes/sap_belize/PopupsCommon-parameters.css +8 -0
- package/src/themes/sap_belize/ProgressIndicator-parameters.css +8 -0
- package/src/themes/sap_belize/SliderBase-parameters.css +23 -0
- package/src/themes/sap_belize/SplitButton-parameters.css +6 -0
- package/src/themes/sap_belize/Switch-parameters.css +8 -0
- package/src/themes/sap_belize/TabContainer-parameters.css +10 -0
- package/src/themes/sap_belize/Table-parameters.css +7 -0
- package/src/themes/sap_belize/TableRow-parameters.css +6 -0
- package/src/themes/sap_belize/TextArea-parameters.css +23 -0
- package/src/themes/sap_belize/TimePicker-parameters.css +5 -0
- package/src/themes/sap_belize/ToggleButton-parameters.css +5 -0
- package/src/themes/sap_belize/Token-parameters.css +8 -0
- package/src/themes/sap_belize/Tokenizer-parameters.css +5 -0
- package/src/themes/sap_belize/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_belize/parameters-bundle.css +60 -0
- package/src/themes/sap_belize/sizes-parameters.css +17 -0
- package/src/themes/sap_belize_hcb/Avatar-parameters.css +20 -0
- package/src/themes/sap_belize_hcb/Badge-parameters.css +43 -0
- package/src/themes/sap_belize_hcb/BrowserScrollbar-parameters.css +4 -0
- package/src/themes/sap_belize_hcb/Button-parameters.css +12 -0
- package/src/themes/sap_belize_hcb/CalendarHeader-parameters.css +11 -0
- package/src/themes/sap_belize_hcb/Card-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/Carousel-parameters.css +9 -0
- package/src/themes/sap_belize_hcb/CheckBox-parameters.css +12 -0
- package/src/themes/sap_belize_hcb/DatePicker-parameters.css +6 -0
- package/src/themes/sap_belize_hcb/DayPicker-parameters.css +23 -0
- package/src/themes/sap_belize_hcb/FileUploader-parameters.css +5 -0
- package/src/themes/sap_belize_hcb/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_belize_hcb/Input-parameters.css +37 -0
- package/src/themes/sap_belize_hcb/InputIcon-parameters.css +5 -0
- package/src/themes/sap_belize_hcb/Link-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/MessageStrip-parameters.css +9 -0
- package/src/themes/sap_belize_hcb/MonthPicker-parameters.css +10 -0
- package/src/themes/sap_belize_hcb/Panel-parameters.css +13 -0
- package/src/themes/sap_belize_hcb/PopupsCommon-parameters.css +5 -0
- package/src/themes/sap_belize_hcb/ProgressIndicator-parameters.css +11 -0
- package/src/themes/sap_belize_hcb/RadioButton-parameters.css +14 -0
- package/src/themes/sap_belize_hcb/Select-parameters.css +10 -0
- package/src/themes/sap_belize_hcb/SliderBase-parameters.css +17 -0
- package/src/themes/sap_belize_hcb/SplitButton-parameters.css +13 -0
- package/src/themes/sap_belize_hcb/Switch-parameters.css +16 -0
- package/src/themes/sap_belize_hcb/TabContainer-parameters.css +44 -0
- package/src/themes/sap_belize_hcb/Table-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/TableRow-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/TextArea-parameters.css +39 -0
- package/src/themes/sap_belize_hcb/ToggleButton-parameters.css +7 -0
- package/src/themes/sap_belize_hcb/Token-parameters.css +10 -0
- package/src/themes/sap_belize_hcb/ValueStateMessage-parameters.css +10 -0
- package/src/themes/sap_belize_hcb/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_belize_hcb/YearPicker-parameters.css +10 -0
- package/src/themes/sap_belize_hcb/parameters-bundle.css +58 -0
- package/src/themes/sap_belize_hcb/sizes-parameters.css +15 -0
- package/src/themes/sap_belize_hcw/Avatar-parameters.css +20 -0
- package/src/themes/sap_belize_hcw/Badge-parameters.css +43 -0
- package/src/themes/sap_belize_hcw/BrowserScrollbar-parameters.css +4 -0
- package/src/themes/sap_belize_hcw/Button-parameters.css +12 -0
- package/src/themes/sap_belize_hcw/CalendarHeader-parameters.css +11 -0
- package/src/themes/sap_belize_hcw/Card-parameters.css +7 -0
- package/src/themes/sap_belize_hcw/Carousel-parameters.css +9 -0
- package/src/themes/sap_belize_hcw/CheckBox-parameters.css +12 -0
- package/src/themes/sap_belize_hcw/DatePicker-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/DayPicker-parameters.css +24 -0
- package/src/themes/sap_belize_hcw/FileUploader-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/GrowingButton-parameters.css +8 -0
- package/src/themes/sap_belize_hcw/Input-parameters.css +37 -0
- package/src/themes/sap_belize_hcw/InputIcon-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/Link-parameters.css +7 -0
- package/src/themes/sap_belize_hcw/MessageStrip-parameters.css +9 -0
- package/src/themes/sap_belize_hcw/MonthPicker-parameters.css +10 -0
- package/src/themes/sap_belize_hcw/Panel-parameters.css +13 -0
- package/src/themes/sap_belize_hcw/PopupsCommon-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/ProgressIndicator-parameters.css +11 -0
- package/src/themes/sap_belize_hcw/RadioButton-parameters.css +14 -0
- package/src/themes/sap_belize_hcw/Select-parameters.css +10 -0
- package/src/themes/sap_belize_hcw/SliderBase-parameters.css +17 -0
- package/src/themes/sap_belize_hcw/SplitButton-parameters.css +13 -0
- package/src/themes/sap_belize_hcw/Switch-parameters.css +16 -0
- package/src/themes/sap_belize_hcw/TabContainer-parameters.css +44 -0
- package/src/themes/sap_belize_hcw/Table-parameters.css +7 -0
- package/src/themes/sap_belize_hcw/TableRow-parameters.css +7 -0
- package/src/themes/sap_belize_hcw/TextArea-parameters.css +39 -0
- package/src/themes/sap_belize_hcw/ToggleButton-parameters.css +6 -0
- package/src/themes/sap_belize_hcw/Token-parameters.css +10 -0
- package/src/themes/sap_belize_hcw/ValueStateMessage-parameters.css +10 -0
- package/src/themes/sap_belize_hcw/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_belize_hcw/YearPicker-parameters.css +10 -0
- package/src/themes/sap_belize_hcw/parameters-bundle.css +58 -0
- package/src/themes/sap_belize_hcw/sizes-parameters.css +15 -0
- package/src/themes/sap_fiori_3/WheelSlider-parameters.css +16 -0
- package/src/themes/sap_fiori_3/parameters-bundle.css +11 -9
- package/src/themes/sap_fiori_3_dark/Badge-parameters.css +5 -0
- package/src/themes/sap_fiori_3_dark/WheelSlider-parameters.css +15 -0
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +11 -9
- package/src/themes/sap_fiori_3_hcb/Badge-parameters.css +46 -0
- package/src/themes/sap_fiori_3_hcb/BusyIndicator-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/MessageStrip-parameters.css +0 -22
- package/src/themes/sap_fiori_3_hcb/Table-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/TableRow-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +9 -7
- package/src/themes/sap_fiori_3_hcw/Badge-parameters.css +46 -0
- package/src/themes/sap_fiori_3_hcw/BusyIndicator-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/MessageStrip-parameters.css +0 -22
- package/src/themes/sap_fiori_3_hcw/Table-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/TableRow-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +9 -6
- package/src/themes/sap_horizon/Badge-parameters.css +46 -0
- package/src/themes/sap_horizon/ProgressIndicatorLayout-parameters.css +2 -8
- package/src/themes/sap_horizon/Table-parameters.css +8 -0
- package/src/themes/sap_horizon/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon/WheelSlider-parameters.css +19 -0
- package/src/themes/sap_horizon/parameters-bundle.css +9 -7
- package/src/themes/sap_horizon/rtl-parameters.css +2 -0
- package/src/themes/sap_horizon/sizes-parameters.css +0 -3
- package/src/themes/sap_horizon_dark/Badge-parameters.css +46 -0
- package/src/themes/sap_horizon_dark/CheckBox-parameters.css +0 -1
- package/src/themes/sap_horizon_dark/MessageStrip-parameters.css +0 -5
- package/src/themes/sap_horizon_dark/Table-parameters.css +8 -0
- package/src/themes/sap_horizon_dark/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_dark/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_dark/WheelSlider-parameters.css +19 -0
- package/src/themes/sap_horizon_dark/parameters-bundle.css +10 -7
- package/src/themes/sap_horizon_dark/sizes-parameters.css +0 -3
- package/src/themes/sap_horizon_dark_exp/Badge-parameters.css +43 -0
- package/src/themes/sap_horizon_dark_exp/Table-parameters.css +7 -0
- package/src/themes/sap_horizon_dark_exp/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_dark_exp/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_dark_exp/WheelSlider-parameters.css +19 -0
- package/src/themes/sap_horizon_dark_exp/parameters-bundle.css +8 -2
- package/src/themes/sap_horizon_exp/Badge-parameters.css +43 -0
- package/src/themes/sap_horizon_exp/ProgressIndicatorLayout-parameters.css +2 -3
- package/src/themes/sap_horizon_exp/Table-parameters.css +7 -0
- package/src/themes/sap_horizon_exp/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_exp/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_exp/WheelSlider-parameters.css +19 -0
- package/src/themes/sap_horizon_exp/parameters-bundle.css +8 -2
- package/src/themes/sap_horizon_hcb/Badge-parameters.css +151 -0
- package/src/themes/sap_horizon_hcb/BusyIndicator-parameters.css +1 -0
- package/src/themes/sap_horizon_hcb/CheckBox-parameters.css +0 -1
- package/src/themes/sap_horizon_hcb/MessageStrip-parameters.css +0 -22
- package/src/themes/sap_horizon_hcb/Table-parameters.css +9 -0
- package/src/themes/sap_horizon_hcb/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_hcb/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcb/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +8 -6
- package/src/themes/sap_horizon_hcb_exp/Badge-parameters.css +43 -0
- package/src/themes/sap_horizon_hcb_exp/Table-parameters.css +8 -0
- package/src/themes/sap_horizon_hcb_exp/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_hcb_exp/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcb_exp/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_horizon_hcb_exp/parameters-bundle.css +7 -2
- package/src/themes/sap_horizon_hcw/Badge-parameters.css +154 -0
- package/src/themes/sap_horizon_hcw/BusyIndicator-parameters.css +1 -0
- package/src/themes/sap_horizon_hcw/CheckBox-parameters.css +0 -1
- package/src/themes/sap_horizon_hcw/MessageStrip-parameters.css +0 -22
- package/src/themes/sap_horizon_hcw/Table-parameters.css +9 -0
- package/src/themes/sap_horizon_hcw/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_hcw/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcw/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +8 -6
- package/src/themes/sap_horizon_hcw_exp/Badge-parameters.css +43 -0
- package/src/themes/sap_horizon_hcw_exp/Table-parameters.css +8 -0
- package/src/themes/sap_horizon_hcw_exp/TableGroupRow-parameters.css +7 -0
- package/src/themes/sap_horizon_hcw_exp/TableRow-parameters.css +5 -0
- package/src/themes/sap_horizon_hcw_exp/WheelSlider-parameters.css +17 -0
- package/src/themes/sap_horizon_hcw_exp/parameters-bundle.css +7 -2
- package/.env.testing +0 -4
- package/dist/Bar.d.ts +0 -73
- package/dist/Bar.js +0 -113
- package/dist/Bar.js.map +0 -1
- package/dist/CalendarDateRange.d.ts +0 -31
- package/dist/CalendarDateRange.js +0 -36
- package/dist/CalendarDateRange.js.map +0 -1
- package/dist/Form.d.ts +0 -197
- package/dist/Form.js +0 -355
- package/dist/Form.js.map +0 -1
- package/dist/FormGroup.d.ts +0 -63
- package/dist/FormGroup.js +0 -86
- package/dist/FormGroup.js.map +0 -1
- package/dist/FormItem.d.ts +0 -62
- package/dist/FormItem.js +0 -76
- package/dist/FormItem.js.map +0 -1
- package/dist/ListItemGroup.d.ts +0 -56
- package/dist/ListItemGroup.js +0 -83
- package/dist/ListItemGroup.js.map +0 -1
- package/dist/ListItemGroupHeader.js.map +0 -1
- package/dist/Tag.js.map +0 -1
- package/dist/Text.d.ts +0 -40
- package/dist/Text.js +0 -64
- package/dist/Text.js.map +0 -1
- package/dist/bundle.common.bootstrap.js +0 -3
- package/dist/bundle.esm.js +0 -286
- package/dist/bundle.scoped.esm.js +0 -8
- package/dist/css/themes/Bar.css +0 -1
- package/dist/css/themes/Form.css +0 -1
- package/dist/css/themes/FormItem.css +0 -1
- package/dist/css/themes/FormLabelSpan.css +0 -1
- package/dist/css/themes/FormLayout.css +0 -1
- package/dist/css/themes/ListItemGroup.css +0 -1
- package/dist/css/themes/ListItemGroupHeader.css +0 -1
- package/dist/css/themes/PopupBlockLayer.css +0 -1
- package/dist/css/themes/SegmentedButtonItem.css +0 -1
- package/dist/css/themes/Tag.css +0 -1
- package/dist/css/themes/Text.css +0 -1
- package/dist/generated/templates/BarTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/BarTemplate.lit.js +0 -5
- package/dist/generated/templates/BarTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DatePickerInputTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DatePickerInputTemplate.lit.js +0 -7
- package/dist/generated/templates/DatePickerInputTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DateRangePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DateRangePickerTemplate.lit.js +0 -9
- package/dist/generated/templates/DateRangePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/DateTimePickerTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/DateTimePickerTemplate.lit.js +0 -13
- package/dist/generated/templates/DateTimePickerTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FormItemTemplate.lit.js +0 -6
- package/dist/generated/templates/FormItemTemplate.lit.js.map +0 -1
- package/dist/generated/templates/FormTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/FormTemplate.lit.js +0 -12
- package/dist/generated/templates/FormTemplate.lit.js.map +0 -1
- package/dist/generated/templates/ListItemGroupTemplate.lit.js +0 -8
- package/dist/generated/templates/ListItemGroupTemplate.lit.js.map +0 -1
- package/dist/generated/templates/TagTemplate.lit.d.ts +0 -4
- package/dist/generated/templates/TagTemplate.lit.js +0 -11
- package/dist/generated/templates/TagTemplate.lit.js.map +0 -1
- package/dist/generated/themes/Bar.css.js +0 -9
- package/dist/generated/themes/Bar.css.js.map +0 -1
- package/dist/generated/themes/ColorPaletteDialog.css.js.map +0 -1
- package/dist/generated/themes/Form.css.js +0 -9
- package/dist/generated/themes/Form.css.js.map +0 -1
- package/dist/generated/themes/FormItem.css.js +0 -9
- package/dist/generated/themes/FormItem.css.js.map +0 -1
- package/dist/generated/themes/FormLabelSpan.css.js +0 -9
- package/dist/generated/themes/FormLabelSpan.css.js.map +0 -1
- package/dist/generated/themes/FormLayout.css.js +0 -9
- package/dist/generated/themes/FormLayout.css.js.map +0 -1
- package/dist/generated/themes/ListItemGroupHeader.css.js +0 -9
- package/dist/generated/themes/PopupBlockLayer.css.js.map +0 -1
- package/dist/generated/themes/SegmentedButtonItem.css.js +0 -9
- package/dist/generated/themes/SegmentedButtonItem.css.js.map +0 -1
- package/dist/generated/themes/Tag.css.js +0 -9
- package/dist/generated/themes/Tag.css.js.map +0 -1
- package/dist/generated/themes/Text.css.js.map +0 -1
- package/dist/styles/Icon.css +0 -33
- package/dist/styles/Icon.module.css +0 -33
- package/dist/types/BarDesign.d.ts +0 -27
- package/dist/types/BarDesign.js +0 -29
- package/dist/types/BarDesign.js.map +0 -1
- package/dist/types/BreadcrumbsSeparator.js +0 -39
- package/dist/types/BreadcrumbsSeparator.js.map +0 -1
- package/dist/types/CarouselPageIndicatorType.js.map +0 -1
- package/dist/types/FormItemSpacing.d.ts +0 -19
- package/dist/types/FormItemSpacing.js +0 -21
- package/dist/types/FormItemSpacing.js.map +0 -1
- package/dist/types/IconMode.d.ts +0 -28
- package/dist/types/IconMode.js +0 -30
- package/dist/types/IconMode.js.map +0 -1
- package/dist/types/LinkAccessibleRole.d.ts +0 -19
- package/dist/types/LinkAccessibleRole.js +0 -21
- package/dist/types/LinkAccessibleRole.js.map +0 -1
- package/dist/types/ListAccessibleRole.d.ts +0 -28
- package/dist/types/ListAccessibleRole.js +0 -30
- package/dist/types/ListAccessibleRole.js.map +0 -1
- package/dist/types/ListItemAccessibleRole.d.ts +0 -33
- package/dist/types/ListItemAccessibleRole.js +0 -35
- package/dist/types/ListItemAccessibleRole.js.map +0 -1
- package/dist/types/ListSelectionMode.js.map +0 -1
- package/dist/types/OverflowMode.js.map +0 -1
- package/dist/types/PopoverPlacement.js +0 -29
- package/dist/types/PopoverPlacement.js.map +0 -1
- package/dist/types/SegmentedButtonSelectionMode.js +0 -19
- package/dist/types/SegmentedButtonSelectionMode.js.map +0 -1
- package/dist/types/TagDesign.js.map +0 -1
- package/dist/types/TagSize.d.ts +0 -17
- package/dist/types/TagSize.js +0 -19
- package/dist/types/TagSize.js.map +0 -1
- package/src/Bar.hbs +0 -16
- package/src/DatePickerInput.hbs +0 -43
- package/src/DateRangePicker.hbs +0 -23
- package/src/DateTimePicker.hbs +0 -2
- package/src/Form.hbs +0 -35
- package/src/FormItem.hbs +0 -14
- package/src/ListItemGroup.hbs +0 -12
- package/src/styles/Icon.module.css +0 -1
- package/src/themes/Bar.css +0 -75
- package/src/themes/Form.css +0 -50
- package/src/themes/FormItem.css +0 -65
- package/src/themes/FormLabelSpan.css +0 -267
- package/src/themes/FormLayout.css +0 -159
- package/src/themes/ListItemGroup.css +0 -13
- package/src/themes/PopupBlockLayer.css +0 -8
- package/src/themes/SegmentedButtonItem.css +0 -150
- package/src/themes/Tag.css +0 -616
- package/src/themes/Text.css +0 -20
- package/src/themes/base/Bar-parameters.css +0 -8
- package/src/themes/base/Form-parameters.css +0 -20
- package/src/themes/base/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/base/Tag-parameters.css +0 -170
- package/src/themes/base/Text-parameters.css +0 -3
- package/src/themes/sap_fiori_3/MessageStrip-parameters.css +0 -7
- package/src/themes/sap_fiori_3/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_fiori_3/sizes-parameters.css +0 -6
- package/src/themes/sap_fiori_3_dark/MessageStrip-parameters.css +0 -9
- package/src/themes/sap_fiori_3_dark/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_fiori_3_dark/Tag-parameters.css +0 -5
- package/src/themes/sap_fiori_3_dark/sizes-parameters.css +0 -6
- package/src/themes/sap_fiori_3_hcb/Bar-parameters.css +0 -5
- package/src/themes/sap_fiori_3_hcb/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_fiori_3_hcb/Tag-parameters.css +0 -148
- package/src/themes/sap_fiori_3_hcw/Bar-parameters.css +0 -5
- package/src/themes/sap_fiori_3_hcw/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_fiori_3_hcw/Tag-parameters.css +0 -148
- package/src/themes/sap_horizon/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_horizon/Tag-parameters.css +0 -46
- package/src/themes/sap_horizon_dark/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_horizon_dark/Tag-parameters.css +0 -46
- package/src/themes/sap_horizon_dark_exp/Tag-parameters.css +0 -43
- package/src/themes/sap_horizon_exp/Tag-parameters.css +0 -43
- package/src/themes/sap_horizon_hcb/Bar-parameters.css +0 -5
- package/src/themes/sap_horizon_hcb/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_horizon_hcb/Tag-parameters.css +0 -151
- package/src/themes/sap_horizon_hcb_exp/Tag-parameters.css +0 -43
- package/src/themes/sap_horizon_hcw/Bar-parameters.css +0 -5
- package/src/themes/sap_horizon_hcw/SegmentedButtonItem-parameters.css +0 -1
- package/src/themes/sap_horizon_hcw/Tag-parameters.css +0 -154
- package/src/themes/sap_horizon_hcw_exp/Tag-parameters.css +0 -43
- /package/dist/css/themes/{ColorPaletteDialog.css → ColorPaletteStaticArea.css} +0 -0
- /package/dist/generated/themes/{Bar.css.d.ts → Badge.css.d.ts} +0 -0
- /package/dist/generated/themes/{ColorPaletteDialog.css.d.ts → ColorPaletteStaticArea.css.d.ts} +0 -0
- /package/dist/generated/themes/{Form.css.d.ts → GroupHeaderListItem.css.d.ts} +0 -0
- /package/dist/generated/themes/{FormItem.css.d.ts → PopupStaticAreaStyles.css.d.ts} +0 -0
- /package/dist/generated/themes/{FormLabelSpan.css.d.ts → Table.css.d.ts} +0 -0
- /package/dist/generated/themes/{FormLayout.css.d.ts → TableCell.css.d.ts} +0 -0
- /package/dist/generated/themes/{ListItemGroup.css.d.ts → TableColumn.css.d.ts} +0 -0
- /package/dist/generated/themes/{ListItemGroupHeader.css.d.ts → TableGroupRow.css.d.ts} +0 -0
- /package/dist/generated/themes/{PopupBlockLayer.css.d.ts → TableRow.css.d.ts} +0 -0
- /package/dist/generated/themes/{SegmentedButtonItem.css.d.ts → TimeSelection.css.d.ts} +0 -0
- /package/dist/generated/themes/{Tag.css.d.ts → WheelSlider.css.d.ts} +0 -0
- /package/dist/generated/themes/{Text.css.d.ts → sap_belize/parameters-bundle.css.d.ts} +0 -0
- /package/src/{ListItemGroupHeader.hbs → GroupHeaderListItem.hbs} +0 -0
- /package/src/themes/{ColorPaletteDialog.css → ColorPaletteStaticArea.css} +0 -0
- /package/src/themes/base/{ListItemGroupHeader-parameters.css → GroupHeaderListItem-parameters.css} +0 -0
- /package/src/themes/base/{PopupBlockLayer-parameters.css → PopupStaticAreaStyles-parameters.css} +0 -0
package/dist/Slider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../src/Slider.ts"],"names":[],"mappings":";;;;;;;AAAA,O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,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC1C,CAAC;IAED,IAAI,aAAa;QAChB,OAAO,IAAI,CAAC,QAAQ,IAAI,SAAS,CAAC;IACnC,CAAC;IAED,IAAI,mBAAmB;QACtB,OAAO,QAAM,CAAC,UAAU,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,QAAQ;QACpB,QAAM,CAAC,UAAU,GAAG,MAAM,aAAa,CAAC,oBAAoB,CAAC,CAAC;IAC/D,CAAC;IAED,IAAI,eAAe;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,eAAe,CAAC;QACnC,MAAM,GAAG,GAAG,EAAE,CAAC;QAEf,IAAI,IAAI,CAAC,gBAAgB,EAAE;YAC1B,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;SACrB;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,EAAE,EAAE;YAChC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;SAC7D;QAED,OAAO,GAAG,CAAC;IACZ,CAAC;CACD,CAAA;AA7PA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;qCACjC;AATV,MAAM;IAPX,aAAa,CAAC;QACd,GAAG,EAAE,YAAY;QACjB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,cAAc;QACxB,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,MAAM,CAsQX;AAED,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,eAAe,MAAM,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { isEscape } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport type { IFormInputElement } from \"@ui5/webcomponents-base/dist/features/InputElementsFormSupport.js\";\nimport SliderBase from \"./SliderBase.js\";\nimport Icon from \"./Icon.js\";\n\n// Template\nimport SliderTemplate from \"./generated/templates/SliderTemplate.lit.js\";\n\n// Texts\nimport {\n\tSLIDER_ARIA_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n * The Slider component represents a numerical range and a handle (grip).\n * The purpose of the component is to enable visual selection of a value in\n * a continuous numerical range by moving an adjustable handle.\n *\n * ### Structure\n * The most important properties of the Slider are:\n *\n * - min - The minimum value of the slider range.\n * - max - The maximum value of the slider range.\n * - value - The current value of the slider range.\n * - step - Determines the increments in which the slider will move.\n * - showTooltip - Determines if a tooltip should be displayed above the handle.\n * - showTickmarks - Displays a visual divider between the step values.\n * - labelInterval - Labels some or all of the tickmarks with their values.\n *\n * ### Usage\n * The most common use case is to select values on a continuous numerical scale (e.g. temperature, volume, etc. ).\n *\n * ### Responsive Behavior\n * The `ui5-slider` component adjusts to the size of its parent container by recalculating and\n * resizing the width of the control. You can move the slider handle in several different ways:\n *\n * - Drag and drop the handle to the desired value.\n * - Click/tap on the range bar to move the handle to that location.\n *\n * ### Keyboard Handling\n *\n * - `Left or Down Arrow` - Moves the handle one step to the left, effectively decreasing the component's value by `step` amount;\n * - `Right or Up Arrow` - Moves the handle one step to the right, effectively increasing the component's value by `step` amount;\n * - `Left or Down Arrow + Ctrl/Cmd` - Moves the handle to the left with step equal to 1/10th of the entire range, effectively decreasing the component's value by 1/10th of the range;\n * - `Right or Up Arrow + Ctrl/Cmd` - Moves the handle to the right with step equal to 1/10th of the entire range, effectively increasing the component's value by 1/10th of the range;\n * - `Plus` - Same as `Right or Up Arrow`;\n * - `Minus` - Same as `Left or Down Arrow`;\n * - `Home` - Moves the handle to the beginning of the range;\n * - `End` - Moves the handle to the end of the range;\n * - `Page Up` - Same as `Right or Up + Ctrl/Cmd`;\n * - `Page Down` - Same as `Left or Down + Ctrl/Cmd`;\n * - `Escape` - Resets the value property after interaction, to the position prior the component's focusing;\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Slider.js\";`\n * @constructor\n * @extends SliderBase\n * @since 1.0.0-rc.11\n * @public\n * @csspart progress-container - Used to style the progress container, the horizontal bar that visually represents the range between the minimum and maximum values, of the `ui5-slider`.\n * @csspart progress-bar - Used to style the progress bar, which shows the progress of the `ui5-slider`.\n * @csspart handle - Used to style the handle of the `ui5-slider`.\n */\n@customElement({\n\ttag: \"ui5-slider\",\n\tlanguageAware: true,\n\tformAssociated: true,\n\ttemplate: SliderTemplate,\n\tdependencies: [Icon],\n})\nclass Slider extends SliderBase implements IFormInputElement {\n\t/**\n\t * Current value of the slider\n\t * @default 0\n\t * @formEvents change input\n\t * @formProperty\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 0 })\n\tvalue!: number;\n\n\t_valueInitial?: number;\n\t_valueOnInteractionStart?: number;\n\t_progressPercentage = 0;\n\t_handlePositionFromStart = 0;\n\n\tget formFormattedValue() {\n\t\treturn this.value.toString();\n\t}\n\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._stateStorage.value = undefined;\n\t}\n\n\t/**\n\t *\n\t * Check if the previously saved state is outdated. That would mean\n\t * either it is the initial rendering or that a property has been changed\n\t * programmatically - because the previous state is always updated in\n\t * the interaction handlers.\n\t *\n\t * Normalize current properties, update the previously stored state.\n\t * Update the visual UI representation of the Slider.\n\t *\n\t */\n\tonBeforeRendering() {\n\t\tif (!this.isCurrentStateOutdated()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.notResized = true;\n\t\tthis.syncUIAndState();\n\t\tthis._updateHandleAndProgress(this.value);\n\t}\n\n\tsyncUIAndState() {\n\t\t// Validate step and update the stored state for the step property.\n\t\tif (this.isPropertyUpdated(\"step\")) {\n\t\t\tthis._validateStep(this.step);\n\t\t\tthis.storePropertyState(\"step\");\n\t\t}\n\n\t\t// Recalculate the tickmarks and labels and update the stored state.\n\t\tif (this.isPropertyUpdated(\"min\", \"max\", \"value\")) {\n\t\t\tthis.storePropertyState(\"min\", \"max\");\n\n\t\t\t// Here the value props are changed programmatically (not by user interaction)\n\t\t\t// and it won't be \"stepified\" (rounded to the nearest step). 'Clip' them within\n\t\t\t// min and max bounderies and update the previous state reference.\n\t\t\tthis.value = SliderBase.clipValue(this.value, this._effectiveMin, this._effectiveMax);\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t\tthis.storePropertyState(\"value\");\n\t\t}\n\n\t\t// Labels must be updated if any of the min/max/step/labelInterval props are changed\n\t\tif (this.labelInterval && this.showTickmarks) {\n\t\t\tthis._createLabels();\n\t\t}\n\n\t\t// Update the stored state for the labelInterval, if changed\n\t\tif (this.isPropertyUpdated(\"labelInterval\")) {\n\t\t\tthis.storePropertyState(\"labelInterval\");\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user starts interacting with the slider\n\t * @private\n\t */\n\t_onmousedown(e: TouchEvent | MouseEvent) {\n\t\t// If step is 0 no interaction is available because there is no constant\n\t\t// (equal for all user environments) quantitative representation of the value\n\t\tif (this.disabled || this.step === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newValue = this.handleDownBase(e);\n\t\tthis._valueOnInteractionStart = this.value;\n\n\t\t// Set initial value if one is not set previously on focus in.\n\t\t// It will be restored if ESC key is pressed.\n\t\tif (this._valueInitial === undefined) {\n\t\t\tthis._valueInitial = this.value;\n\t\t}\n\n\t\t// Do not yet update the Slider if press is over a handle. It will be updated if the user drags the mouse.\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tif (!this._isHandlePressed(ctor.getPageXValueFromEvent(e))) {\n\t\t\tthis._updateHandleAndProgress(newValue);\n\t\t\tthis.value = newValue;\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t}\n\t}\n\n\t_onfocusin() {\n\t\t// Set initial value if one is not set previously on focus in.\n\t\t// It will be restored if ESC key is pressed.\n\t\tif (this._valueInitial === undefined) {\n\t\t\tthis._valueInitial = this.value;\n\t\t}\n\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;\n\t\t}\n\t}\n\n\t_onfocusout() {\n\t\t// Prevent focusout when the focus is getting set within the slider internal\n\t\t// element (on the handle), before the Slider' customElement itself is finished focusing\n\t\tif (this._isFocusing()) {\n\t\t\tthis._preventFocusOut();\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset focus state and the stored Slider's initial\n\t\t// value that was saved when it was first focused in\n\t\tthis._valueInitial = undefined;\n\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user moves the slider\n\t * @private\n\t */\n\t_handleMove(e: TouchEvent | MouseEvent) {\n\t\te.preventDefault();\n\n\t\t// If step is 0 no interaction is available because there is no constant\n\t\t// (equal for all user environments) quantitative representation of the value\n\t\tif (this.disabled || this._effectiveStep === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst newValue = ctor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);\n\n\t\tthis._updateHandleAndProgress(newValue);\n\t\tthis.value = newValue;\n\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t}\n\n\t/** Called when the user finish interacting with the slider\n\t * @private\n\t */\n\t_handleUp() {\n\t\tif (this._valueOnInteractionStart !== this.value) {\n\t\t\tthis.fireEvent(\"change\");\n\t\t}\n\n\t\tthis.handleUpBase();\n\t\tthis._valueOnInteractionStart = undefined;\n\t}\n\n\t/** Determines if the press is over the handle\n\t * @private\n\t */\n\t_isHandlePressed(clientX: number) {\n\t\tconst sliderHandleDomRect = this._sliderHandle.getBoundingClientRect();\n\t\treturn clientX >= sliderHandleDomRect.left && clientX <= sliderHandleDomRect.right;\n\t}\n\n\t/** Updates the UI representation of the progress bar and handle position\n\t * @private\n\t */\n\t_updateHandleAndProgress(newValue: number) {\n\t\tconst max = this._effectiveMax;\n\t\tconst min = this._effectiveMin;\n\n\t\t// The progress (completed) percentage of the slider.\n\t\tthis._progressPercentage = (newValue - min) / (max - min);\n\t\t// How many pixels from the left end of the slider will be the placed the affected by the user action handle\n\t\tthis._handlePositionFromStart = this._progressPercentage * 100;\n\t}\n\n\t_handleActionKeyPress(e: KeyboardEvent) {\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\t\tconst currentValue = this.value;\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst newValue = isEscape(e) ? this._valueInitial : ctor.clipValue(this._handleActionKeyPressBase(e, \"value\") + currentValue, min, max);\n\n\t\tif (newValue !== currentValue) {\n\t\t\tthis._updateHandleAndProgress(newValue!);\n\t\t\tthis.value = newValue!;\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t}\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tprogress: {\n\t\t\t\t\"transform\": `scaleX(${this._progressPercentage})`,\n\t\t\t\t\"transform-origin\": `${this.directionStart} top`,\n\t\t\t},\n\t\t\thandle: {\n\t\t\t\t[this.directionStart]: `${this._handlePositionFromStart}%`,\n\t\t\t},\n\t\t\tlabel: {\n\t\t\t\t\"width\": `${this._labelWidth}%`,\n\t\t\t},\n\t\t\tlabelContainer: {\n\t\t\t\t\"width\": `100%`,\n\t\t\t\t[this.directionStart]: `-${this._labelWidth / 2}%`,\n\t\t\t},\n\t\t\ttooltip: {\n\t\t\t\t\"visibility\": `${this._tooltipVisibility}`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _sliderHandle() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-slider-handle\")!;\n\t}\n\n\tget tooltipValue() {\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);\n\t\treturn this.value.toFixed(stepPrecision);\n\t}\n\n\tget _ariaDisabled() {\n\t\treturn this.disabled || undefined;\n\t}\n\n\tget _ariaLabelledByText() {\n\t\treturn Slider.i18nBundle.getText(SLIDER_ARIA_DESCRIPTION);\n\t}\n\n\tstatic async onDefine() {\n\t\tSlider.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n\n\tget tickmarksObject() {\n\t\tconst count = this._tickmarksCount;\n\t\tconst arr = [];\n\n\t\tif (this._hiddenTickmarks) {\n\t\t\treturn [true, false];\n\t\t}\n\n\t\tfor (let i = 0; i <= count; i++) {\n\t\t\tarr.push(this._effectiveMin + (i * this.step) <= this.value);\n\t\t}\n\n\t\treturn arr;\n\t}\n}\n\nSlider.define();\n\nexport default Slider;\n"]}
|
|
1
|
+
{"version":3,"file":"Slider.js","sourceRoot":"","sources":["../src/Slider.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAChE,OAAO,UAAU,MAAM,iBAAiB,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,WAAW;AACX,OAAO,cAAc,MAAM,6CAA6C,CAAC;AAEzE,QAAQ;AACR,OAAO,EACN,uBAAuB,GACvB,MAAM,mCAAmC,CAAC;AAE3C;;;;;;;;;;;;;;;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EAAE,KAAK,CAAC,CAAC;SACrB;QAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,KAAK,EAAE,CAAC,EAAE,EAAE;YAChC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;SAC7D;QAED,OAAO,GAAG,CAAC;IACZ,CAAC;CACD,CAAA;AAzPA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,EAAE,CAAC;qCACjC;AATV,MAAM;IANX,aAAa,CAAC;QACd,GAAG,EAAE,YAAY;QACjB,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,cAAc;QACxB,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,MAAM,CAkQX;AAED,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,eAAe,MAAM,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { isEscape } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport SliderBase from \"./SliderBase.js\";\nimport Icon from \"./Icon.js\";\n\n// Template\nimport SliderTemplate from \"./generated/templates/SliderTemplate.lit.js\";\n\n// Texts\nimport {\n\tSLIDER_ARIA_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n/**\n * @class\n *\n * ### Overview\n * The Slider component represents a numerical range and a handle (grip).\n * The purpose of the component is to enable visual selection of a value in\n * a continuous numerical range by moving an adjustable handle.\n *\n * ### Structure\n * The most important properties of the Slider are:\n *\n * - min - The minimum value of the slider range.\n * - max - The maximum value of the slider range.\n * - value - The current value of the slider range.\n * - step - Determines the increments in which the slider will move.\n * - showTooltip - Determines if a tooltip should be displayed above the handle.\n * - showTickmarks - Displays a visual divider between the step values.\n * - labelInterval - Labels some or all of the tickmarks with their values.\n *\n * ### Usage\n * The most common use case is to select values on a continuous numerical scale (e.g. temperature, volume, etc. ).\n *\n * ### Responsive Behavior\n * The `ui5-slider` component adjusts to the size of its parent container by recalculating and\n * resizing the width of the control. You can move the slider handle in several different ways:\n *\n * - Drag and drop the handle to the desired value.\n * - Click/tap on the range bar to move the handle to that location.\n *\n * ### Keyboard Handling\n *\n * - `Left or Down Arrow` - Moves the handle one step to the left, effectively decreasing the component's value by `step` amount;\n * - `Right or Up Arrow` - Moves the handle one step to the right, effectively increasing the component's value by `step` amount;\n * - `Left or Down Arrow + Ctrl/Cmd` - Moves the handle to the left with step equal to 1/10th of the entire range, effectively decreasing the component's value by 1/10th of the range;\n * - `Right or Up Arrow + Ctrl/Cmd` - Moves the handle to the right with step equal to 1/10th of the entire range, effectively increasing the component's value by 1/10th of the range;\n * - `Plus` - Same as `Right or Up Arrow`;\n * - `Minus` - Same as `Left or Down Arrow`;\n * - `Home` - Moves the handle to the beginning of the range;\n * - `End` - Moves the handle to the end of the range;\n * - `Page Up` - Same as `Right or Up + Ctrl/Cmd`;\n * - `Page Down` - Same as `Left or Down + Ctrl/Cmd`;\n * - `Escape` - Resets the value property after interaction, to the position prior the component's focusing;\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Slider.js\";`\n * @constructor\n * @extends SliderBase\n * @since 1.0.0-rc.11\n * @public\n * @csspart progress-container - Used to style the progress container, the horizontal bar that visually represents the range between the minimum and maximum values, of the `ui5-slider`.\n * @csspart progress-bar - Used to style the progress bar, which shows the progress of the `ui5-slider`.\n * @csspart handle - Used to style the handle of the `ui5-slider`.\n */\n@customElement({\n\ttag: \"ui5-slider\",\n\tlanguageAware: true,\n\ttemplate: SliderTemplate,\n\tdependencies: [Icon],\n})\nclass Slider extends SliderBase {\n\t/**\n\t * Current value of the slider\n\t * @default 0\n\t * @formEvents change input\n\t * @formProperty\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 0 })\n\tvalue!: number;\n\n\t_valueInitial?: number;\n\t_valueOnInteractionStart?: number;\n\t_progressPercentage = 0;\n\t_handlePositionFromStart = 0;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._stateStorage.value = undefined;\n\t}\n\n\t/**\n\t *\n\t * Check if the previously saved state is outdated. That would mean\n\t * either it is the initial rendering or that a property has been changed\n\t * programmatically - because the previous state is always updated in\n\t * the interaction handlers.\n\t *\n\t * Normalize current properties, update the previously stored state.\n\t * Update the visual UI representation of the Slider.\n\t *\n\t */\n\tonBeforeRendering() {\n\t\tif (!this.isCurrentStateOutdated()) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.notResized = true;\n\t\tthis.syncUIAndState();\n\t\tthis._updateHandleAndProgress(this.value);\n\t}\n\n\tsyncUIAndState() {\n\t\t// Validate step and update the stored state for the step property.\n\t\tif (this.isPropertyUpdated(\"step\")) {\n\t\t\tthis._validateStep(this.step);\n\t\t\tthis.storePropertyState(\"step\");\n\t\t}\n\n\t\t// Recalculate the tickmarks and labels and update the stored state.\n\t\tif (this.isPropertyUpdated(\"min\", \"max\", \"value\")) {\n\t\t\tthis.storePropertyState(\"min\", \"max\");\n\n\t\t\t// Here the value props are changed programmatically (not by user interaction)\n\t\t\t// and it won't be \"stepified\" (rounded to the nearest step). 'Clip' them within\n\t\t\t// min and max bounderies and update the previous state reference.\n\t\t\tthis.value = SliderBase.clipValue(this.value, this._effectiveMin, this._effectiveMax);\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t\tthis.storePropertyState(\"value\");\n\t\t}\n\n\t\t// Labels must be updated if any of the min/max/step/labelInterval props are changed\n\t\tif (this.labelInterval && this.showTickmarks) {\n\t\t\tthis._createLabels();\n\t\t}\n\n\t\t// Update the stored state for the labelInterval, if changed\n\t\tif (this.isPropertyUpdated(\"labelInterval\")) {\n\t\t\tthis.storePropertyState(\"labelInterval\");\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user starts interacting with the slider\n\t * @private\n\t */\n\t_onmousedown(e: TouchEvent | MouseEvent) {\n\t\t// If step is 0 no interaction is available because there is no constant\n\t\t// (equal for all user environments) quantitative representation of the value\n\t\tif (this.disabled || this.step === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newValue = this.handleDownBase(e);\n\t\tthis._valueOnInteractionStart = this.value;\n\n\t\t// Set initial value if one is not set previously on focus in.\n\t\t// It will be restored if ESC key is pressed.\n\t\tif (this._valueInitial === undefined) {\n\t\t\tthis._valueInitial = this.value;\n\t\t}\n\n\t\t// Do not yet update the Slider if press is over a handle. It will be updated if the user drags the mouse.\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tif (!this._isHandlePressed(ctor.getPageXValueFromEvent(e))) {\n\t\t\tthis._updateHandleAndProgress(newValue);\n\t\t\tthis.value = newValue;\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t}\n\t}\n\n\t_onfocusin() {\n\t\t// Set initial value if one is not set previously on focus in.\n\t\t// It will be restored if ESC key is pressed.\n\t\tif (this._valueInitial === undefined) {\n\t\t\tthis._valueInitial = this.value;\n\t\t}\n\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;\n\t\t}\n\t}\n\n\t_onfocusout() {\n\t\t// Prevent focusout when the focus is getting set within the slider internal\n\t\t// element (on the handle), before the Slider' customElement itself is finished focusing\n\t\tif (this._isFocusing()) {\n\t\t\tthis._preventFocusOut();\n\t\t\treturn;\n\t\t}\n\n\t\t// Reset focus state and the stored Slider's initial\n\t\t// value that was saved when it was first focused in\n\t\tthis._valueInitial = undefined;\n\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user moves the slider\n\t * @private\n\t */\n\t_handleMove(e: TouchEvent | MouseEvent) {\n\t\te.preventDefault();\n\n\t\t// If step is 0 no interaction is available because there is no constant\n\t\t// (equal for all user environments) quantitative representation of the value\n\t\tif (this.disabled || this._effectiveStep === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst newValue = ctor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);\n\n\t\tthis._updateHandleAndProgress(newValue);\n\t\tthis.value = newValue;\n\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t}\n\n\t/** Called when the user finish interacting with the slider\n\t * @private\n\t */\n\t_handleUp() {\n\t\tif (this._valueOnInteractionStart !== this.value) {\n\t\t\tthis.fireEvent(\"change\");\n\t\t}\n\n\t\tthis.handleUpBase();\n\t\tthis._valueOnInteractionStart = undefined;\n\t}\n\n\t/** Determines if the press is over the handle\n\t * @private\n\t */\n\t_isHandlePressed(clientX: number) {\n\t\tconst sliderHandleDomRect = this._sliderHandle.getBoundingClientRect();\n\t\treturn clientX >= sliderHandleDomRect.left && clientX <= sliderHandleDomRect.right;\n\t}\n\n\t/** Updates the UI representation of the progress bar and handle position\n\t * @private\n\t */\n\t_updateHandleAndProgress(newValue: number) {\n\t\tconst max = this._effectiveMax;\n\t\tconst min = this._effectiveMin;\n\n\t\t// The progress (completed) percentage of the slider.\n\t\tthis._progressPercentage = (newValue - min) / (max - min);\n\t\t// How many pixels from the left end of the slider will be the placed the affected by the user action handle\n\t\tthis._handlePositionFromStart = this._progressPercentage * 100;\n\t}\n\n\t_handleActionKeyPress(e: KeyboardEvent) {\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\t\tconst currentValue = this.value;\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst newValue = isEscape(e) ? this._valueInitial : ctor.clipValue(this._handleActionKeyPressBase(e, \"value\") + currentValue, min, max);\n\n\t\tif (newValue !== currentValue) {\n\t\t\tthis._updateHandleAndProgress(newValue!);\n\t\t\tthis.value = newValue!;\n\t\t\tthis.updateStateStorageAndFireInputEvent(\"value\");\n\t\t}\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tprogress: {\n\t\t\t\t\"transform\": `scaleX(${this._progressPercentage})`,\n\t\t\t\t\"transform-origin\": `${this.directionStart} top`,\n\t\t\t},\n\t\t\thandle: {\n\t\t\t\t[this.directionStart]: `${this._handlePositionFromStart}%`,\n\t\t\t},\n\t\t\tlabel: {\n\t\t\t\t\"width\": `${this._labelWidth}%`,\n\t\t\t},\n\t\t\tlabelContainer: {\n\t\t\t\t\"width\": `100%`,\n\t\t\t\t[this.directionStart]: `-${this._labelWidth / 2}%`,\n\t\t\t},\n\t\t\ttooltip: {\n\t\t\t\t\"visibility\": `${this._tooltipVisibility}`,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _sliderHandle() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-slider-handle\")!;\n\t}\n\n\tget tooltipValue() {\n\t\tconst ctor = this.constructor as typeof Slider;\n\t\tconst stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);\n\t\treturn this.value.toFixed(stepPrecision);\n\t}\n\n\tget _ariaDisabled() {\n\t\treturn this.disabled || undefined;\n\t}\n\n\tget _ariaLabelledByText() {\n\t\treturn Slider.i18nBundle.getText(SLIDER_ARIA_DESCRIPTION);\n\t}\n\n\tstatic async onDefine() {\n\t\tSlider.i18nBundle = await getI18nBundle(\"@ui5/webcomponents\");\n\t}\n\n\tget tickmarksObject() {\n\t\tconst count = this._tickmarksCount;\n\t\tconst arr = [];\n\n\t\tif (this._hiddenTickmarks) {\n\t\t\treturn [true, false];\n\t\t}\n\n\t\tfor (let i = 0; i <= count; i++) {\n\t\t\tarr.push(this._effectiveMin + (i * this.step) <= this.value);\n\t\t}\n\n\t\treturn arr;\n\t}\n}\n\nSlider.define();\n\nexport default Slider;\n"]}
|
package/dist/SliderBase.d.ts
CHANGED
|
@@ -23,15 +23,6 @@ declare abstract class SliderBase extends UI5Element {
|
|
|
23
23
|
* @public
|
|
24
24
|
*/
|
|
25
25
|
max: number;
|
|
26
|
-
/**
|
|
27
|
-
* Determines the name by which the component will be identified upon submission in an HTML form.
|
|
28
|
-
*
|
|
29
|
-
* **Note:** This property is only applicable within the context of an HTML Form element.
|
|
30
|
-
* @default ""
|
|
31
|
-
* @public
|
|
32
|
-
* @since 2.0.0
|
|
33
|
-
*/
|
|
34
|
-
name: string;
|
|
35
26
|
/**
|
|
36
27
|
* Defines the size of the slider's selection intervals (e.g. min = 0, max = 10, step = 5 would result in possible selection of the values 0, 5, 10).
|
|
37
28
|
*
|
|
@@ -96,7 +87,6 @@ declare abstract class SliderBase extends UI5Element {
|
|
|
96
87
|
_oldMax?: number;
|
|
97
88
|
_labelWidth: number;
|
|
98
89
|
_labelValues?: Array<string>;
|
|
99
|
-
formElementAnchor(): Promise<HTMLElement | undefined>;
|
|
100
90
|
constructor();
|
|
101
91
|
_handleMove(e: TouchEvent | MouseEvent): void;
|
|
102
92
|
_handleUp(): void;
|
|
@@ -114,7 +104,7 @@ declare abstract class SliderBase extends UI5Element {
|
|
|
114
104
|
VISIBLE: string;
|
|
115
105
|
HIDDEN: string;
|
|
116
106
|
};
|
|
117
|
-
static get
|
|
107
|
+
static get render(): import("@ui5/webcomponents-base/dist/UI5Element.js").Renderer;
|
|
118
108
|
static get styles(): import("@ui5/webcomponents-base/dist/types.js").StyleData;
|
|
119
109
|
get classes(): {
|
|
120
110
|
root: {
|
package/dist/SliderBase.js
CHANGED
|
@@ -31,9 +31,6 @@ let SliderBase = SliderBase_1 =
|
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
33
|
class SliderBase extends UI5Element {
|
|
34
|
-
async formElementAnchor() {
|
|
35
|
-
return this.getFocusDomRefAsync();
|
|
36
|
-
}
|
|
37
34
|
constructor() {
|
|
38
35
|
super();
|
|
39
36
|
this.notResized = false;
|
|
@@ -89,7 +86,7 @@ class SliderBase extends UI5Element {
|
|
|
89
86
|
HIDDEN: "hidden",
|
|
90
87
|
};
|
|
91
88
|
}
|
|
92
|
-
static get
|
|
89
|
+
static get render() {
|
|
93
90
|
return litRender;
|
|
94
91
|
}
|
|
95
92
|
static get styles() {
|
|
@@ -522,9 +519,6 @@ __decorate([
|
|
|
522
519
|
__decorate([
|
|
523
520
|
property({ validator: Float, defaultValue: 100 })
|
|
524
521
|
], SliderBase.prototype, "max", void 0);
|
|
525
|
-
__decorate([
|
|
526
|
-
property()
|
|
527
|
-
], SliderBase.prototype, "name", void 0);
|
|
528
522
|
__decorate([
|
|
529
523
|
property({ validator: Float, defaultValue: 1 })
|
|
530
524
|
], SliderBase.prototype, "step", void 0);
|
package/dist/SliderBase.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderBase.js","sourceRoot":"","sources":["../src/SliderBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAGhF,OAAO,mDAAmD,CAAC;AAC3D,OAAO,EACN,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,GAC5I,MAAM,s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AUvB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;iDACJ;AAQxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;+CACN;AAQtB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CACT;AASnB;IADC,QAAQ,EAAE;kDACa;AAMxB;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;sDACT;AAG5B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACC;AAG7B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACD;AA/Fb,UAAU;IAhBxB,KAAK,CAAC,QAAQ,CAAC;IAEhB;;;OAGG;;IACF,KAAK,CAAC,OAAO,CAAC;IAEf;;;;;;;OAOG;GACY,UAAU,CAgrBxB;AAED,eAAe,UAAU,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { isPhone, supportsTouch } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { PassiveEventListenerObject } from \"@ui5/webcomponents-base/dist/types.js\";\nimport \"@ui5/webcomponents-icons/dist/direction-arrows.js\";\nimport {\n\tisEscape, isHome, isEnd, isUp, isDown, isRight, isLeft, isUpCtrl, isDownCtrl, isRightCtrl, isLeftCtrl, isPlus, isMinus, isPageUp, isPageDown,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\n// Styles\nimport sliderBaseStyles from \"./generated/themes/SliderBase.css.js\";\n\ntype StateStorage = {\n\t[key: string]: number | undefined,\n}\n\ntype DirectionStart = \"left\" | \"right\";\n\n/**\n * Fired when the value changes and the user has finished interacting with the slider.\n * @public\n */\n@event(\"change\")\n\n/**\n * Fired when the value changes due to user interaction that is not yet finished - during mouse/touch dragging.\n * @public\n */\n@event(\"input\")\n\n/**\n * @class\n *\n * ### Overview\n * @constructor\n * @extends UI5Element\n * @public\n */\nabstract class SliderBase extends UI5Element {\n\t/**\n\t * Defines the minimum value of the slider.\n\t * @default 0\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 0 })\n\tmin!: number;\n\n\t/**\n\t * Defines the maximum value of the slider.\n\t * @default 100\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 100 })\n\tmax!: number;\n\n\t/**\n\t * Determines the name by which the component will be identified upon submission in an HTML form.\n\t *\n\t * **Note:** This property is only applicable within the context of an HTML Form element.\n\t * @default \"\"\n\t * @public\n\t * @since 2.0.0\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines the size of the slider's selection intervals (e.g. min = 0, max = 10, step = 5 would result in possible selection of the values 0, 5, 10).\n\t *\n\t * **Note:** If set to 0 the slider handle movement is disabled. When negative number or value other than a number, the component fallbacks to its default value.\n\t * @default 1\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 1 })\n\tstep!: number;\n\n\t/**\n\t * Displays a label with a value on every N-th step.\n\t *\n\t * **Note:** The step and tickmarks properties must be enabled.\n\t * Example - if the step value is set to 2 and the label interval is also specified to 2 - then every second\n\t * tickmark will be labelled, which means every 4th value number.\n\t * @default 0\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 0 })\n\tlabelInterval!: number;\n\n\t/**\n\t * Enables tickmarks visualization for each step.\n\t *\n\t * **Note:** The step must be a positive number.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowTickmarks!: boolean;\n\n\t/**\n\t * Enables handle tooltip displaying the current value.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowTooltip!: boolean;\n\n\t/**\n\t * Defines whether the slider is in disabled state.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.4.0\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * @private\n\t */\n\t@property({ defaultValue: \"hidden\" })\n\t_tooltipVisibility!: string;\n\n\t@property({ type: Boolean })\n\t_labelsOverlapping!: boolean;\n\n\t@property({ type: Boolean })\n\t_hiddenTickmarks!: boolean;\n\n\t_resizeHandler: ResizeObserverCallback;\n\t_moveHandler: (e: TouchEvent | MouseEvent) => void;\n\t_upHandler: () => void;\n\t_stateStorage: StateStorage;\n\t_ontouchstart: PassiveEventListenerObject;\n\tnotResized = false;\n\t_isUserInteraction = false;\n\t_isInnerElementFocusing = false;\n\t_oldNumberOfLabels?: number;\n\t_oldMin?: number;\n\t_oldMax?: number;\n\t_labelWidth = 0;\n\t_labelValues?: Array<string>;\n\n\tasync formElementAnchor() {\n\t\treturn this.getFocusDomRefAsync();\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._resizeHandler = this._handleResize.bind(this);\n\t\tthis._moveHandler = this._handleMove.bind(this);\n\t\tthis._upHandler = this._handleUp.bind(this);\n\n\t\tthis._stateStorage = {\n\t\t\tstep: undefined,\n\t\t\tmin: undefined,\n\t\t\tmax: undefined,\n\t\t\tlabelInterval: undefined,\n\t\t};\n\n\t\tconst handleTouchStartEvent = (e: TouchEvent) => {\n\t\t\tthis._onmousedown(e);\n\t\t};\n\n\t\tthis._ontouchstart = {\n\t\t\thandleEvent: handleTouchStartEvent,\n\t\t\tpassive: true,\n\t\t};\n\t}\n\n\t_handleMove(e: TouchEvent | MouseEvent) {} // eslint-disable-line\n\n\t_handleUp() {}\n\n\t_onmousedown(e: TouchEvent | MouseEvent) {} // eslint-disable-line\n\n\t_handleActionKeyPress(e: Event) {} // eslint-disable-line\n\n\t// used in base template, but implemented in subclasses\n\tabstract styles: {\n\t\tlabel: object,\n\t\tlabelContainer: object,\n\t};\n\n\tabstract tickmarksObject: any;\n\tabstract _ariaLabelledByText: string;\n\n\tstatic get ACTION_KEYS() {\n\t\treturn [\n\t\t\tisLeft,\n\t\t\tisRight,\n\t\t\tisUp,\n\t\t\tisDown,\n\t\t\tisLeftCtrl,\n\t\t\tisRightCtrl,\n\t\t\tisUpCtrl,\n\t\t\tisDownCtrl,\n\t\t\tisPlus,\n\t\t\tisMinus,\n\t\t\tisHome,\n\t\t\tisEnd,\n\t\t\tisPageUp,\n\t\t\tisPageDown,\n\t\t\tisEscape,\n\t\t];\n\t}\n\n\tstatic get MIN_SPACE_BETWEEN_TICKMARKS() {\n\t\treturn 8;\n\t}\n\n\tstatic get TOOLTIP_VISIBILITY() {\n\t\treturn {\n\t\t\tVISIBLE: \"visible\",\n\t\t\tHIDDEN: \"hidden\",\n\t\t};\n\t}\n\n\tstatic get renderer() {\n\t\treturn litRender;\n\t}\n\n\tstatic get styles() {\n\t\treturn sliderBaseStyles;\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-slider-root-phone\": isPhone(),\n\t\t\t},\n\t\t\tlabelContainer: {\n\t\t\t\t\"ui5-slider-hidden-labels\": this._labelsOverlapping,\n\t\t\t},\n\t\t};\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._resizeHandler);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._resizeHandler);\n\t}\n\n\tonAfterRendering() {\n\t\t// Only call if the resize is triggered by a state changes other than\n\t\t// the ones that occured on the previous resize and those caused by user interaction.\n\t\tif (this.notResized) {\n\t\t\tthis._resizeHandler();\n\t\t}\n\t}\n\n\t/** Shows the tooltip(s) if the `showTooltip` property is set to true\n\t * @private\n\t */\n\t_onmouseover() {\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;\n\t\t}\n\t}\n\n\t/**\n\t * Hides the tooltip(s) if the `showTooltip` property is set to true\n\t * @private\n\t */\n\t_onmouseout() {\n\t\tif (this.showTooltip && !this.shadowRoot!.activeElement) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (this.disabled || this._effectiveStep === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (SliderBase._isActionKey(e)) {\n\t\t\te.preventDefault();\n\n\t\t\tthis._isUserInteraction = true;\n\t\t\tthis._handleActionKeyPress(e);\n\t\t}\n\t}\n\n\t_onkeyup() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._isUserInteraction = false;\n\t}\n\n\t/**\n\t * Flags if an inner element is currently being focused\n\t * @private\n\t */\n\t_preserveFocus(isFocusing: boolean) {\n\t\tthis._isInnerElementFocusing = isFocusing;\n\t}\n\n\t/**\n\t * Return if an inside element within the component is currently being focused\n\t * @private\n\t */\n\t_isFocusing() {\n\t\treturn this._isInnerElementFocusing;\n\t}\n\n\t/**\n\t * Prevent focus out when inner element within the component is currently being in process of focusing in.\n\t * @private\n\t */\n\t_preventFocusOut() {\n\t\tthis.focusInnerElement();\n\t}\n\n\t/**\n\t * Manages the focus between the component's inner elements\n\t * @protected\n\t */\n\tfocusInnerElement() {\n\t\tthis.focus();\n\t}\n\n\t/**\n\t * Handle the responsiveness of the Slider's UI elements when resizing\n\t * @private\n\t */\n\t_handleResize() {\n\t\tif (!this.showTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Mark resizing to avoid unneccessary calls to that function after rendering\n\t\tthis.notResized = false;\n\n\t\t// Convert the string represented calculation expression to a normal one\n\t\t// Check the distance in pixels exist between every tickmark\n\t\tconst spaceBetweenTickmarks = this._spaceBetweenTickmarks();\n\n\t\t// If the pixels between the tickmarks are less than 8 only the first and the last one should be visible\n\t\t// In such case the labels must correspond to the tickmarks, only the first and the last one should exist.\n\t\tif (spaceBetweenTickmarks < SliderBase.MIN_SPACE_BETWEEN_TICKMARKS) {\n\t\t\tthis._hiddenTickmarks = true;\n\t\t\tthis._labelsOverlapping = true;\n\t\t} else {\n\t\t\tthis._hiddenTickmarks = false;\n\t\t}\n\n\t\tif (this.labelInterval <= 0 || this._hiddenTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Check if there are any overlapping labels.\n\t\t// If so - only the first and the last one should be visible\n\t\tconst labelItems = this.shadowRoot!.querySelectorAll(\".ui5-slider-labels li\");\n\t\tthis._labelsOverlapping = [...labelItems].some(label => label.scrollWidth > label.clientWidth);\n\t}\n\n\t/**\n\t * Called when the user starts interacting with the slider.\n\t * After a down event on the slider root, listen for move events on window, so the slider value\n\t * is updated even if the user drags the pointer outside the slider root.\n\t * @protected\n\t */\n\thandleDownBase(e: TouchEvent | MouseEvent) {\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\t\tconst domRect = this.getBoundingClientRect();\n\t\tconst directionStart = this.directionStart;\n\t\tconst step = this._effectiveStep;\n\t\tconst newValue = SliderBase.getValueFromInteraction(e, step, min, max, domRect, directionStart);\n\n\t\t// Mark start of a user interaction\n\t\tthis._isUserInteraction = true;\n\n\t\twindow.addEventListener(\"mouseup\", this._upHandler);\n\t\twindow.addEventListener(\"touchend\", this._upHandler);\n\t\t// Only allow one type of move event to be listened to (the first one registered after the down event)\n\t\tif (supportsTouch() && e instanceof TouchEvent) {\n\t\t\twindow.addEventListener(\"touchmove\", this._moveHandler);\n\t\t} else {\n\t\t\twindow.addEventListener(\"mousemove\", this._moveHandler);\n\t\t}\n\n\t\tthis._handleFocusOnMouseDown(e);\n\t\treturn newValue;\n\t}\n\n\t/**\n\t * Forward the focus to an inner inner part within the component on press\n\t * @private\n\t */\n\t_handleFocusOnMouseDown(e: TouchEvent | MouseEvent) {\n\t\tconst focusedElement = this.shadowRoot!.activeElement;\n\n\t\tif (!focusedElement || focusedElement !== e.target) {\n\t\t\tthis._preserveFocus(true);\n\t\t\tthis.focusInnerElement();\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user finish interacting with the slider\n\t * Fires an `change` event indicating a final value change, after user interaction is finished.\n\t * @protected\n\t */\n\thandleUpBase() {\n\t\twindow.removeEventListener(\"mouseup\", this._upHandler);\n\t\twindow.removeEventListener(\"touchend\", this._upHandler);\n\t\t// Only one of the following was attached, but it's ok to remove both as there is no error\n\t\twindow.removeEventListener(\"mousemove\", this._moveHandler);\n\t\twindow.removeEventListener(\"touchmove\", this._moveHandler);\n\n\t\tthis._isUserInteraction = false;\n\t\tthis._preserveFocus(false);\n\t}\n\n\t/**\n\t * Updates state storage for the value-related property\n\t * Fires an `input` event indicating a value change via interaction that is not yet finished.\n\t * @protected\n\t */\n\tupdateStateStorageAndFireInputEvent(valueType: string) {\n\t\tthis.storePropertyState(valueType);\n\t\tif (this._isUserInteraction) {\n\t\t\tthis.fireEvent(\"input\");\n\t\t}\n\t}\n\n\t/**\n\t * Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one.\n\t * @private\n\t */\n\tstatic _isActionKey(e: KeyboardEvent) {\n\t\treturn this.ACTION_KEYS.some(actionKey => actionKey(e));\n\t}\n\n\t/**\n\t * Locks the given value between min and max boundaries based on slider properties\n\t * @protected\n\t */\n\tstatic clipValue(value: number, min: number, max: number): number {\n\t\tvalue = Math.min(Math.max(value, min), max);\n\t\treturn value;\n\t}\n\n\t/**\n\t * Sets the slider value from an event\n\t * @protected\n\t */\n\tstatic getValueFromInteraction(e: TouchEvent | MouseEvent, stepSize: number, min: number, max: number, boundingClientRect: DOMRect, directionStart: DirectionStart): number {\n\t\tconst pageX = this.getPageXValueFromEvent(e);\n\t\tconst value = this.computedValueFromPageX(pageX, min, max, boundingClientRect, directionStart);\n\t\tconst steppedValue = this.getSteppedValue(value, stepSize, min);\n\n\t\treturn this.clipValue(steppedValue, min, max);\n\t}\n\n\t/**\n\t * \"Stepify\" the raw value - calculate the new value depending on the specified step property\n\t * @protected\n\t */\n\tstatic getSteppedValue(value: number, stepSize: number, min: number): number {\n\t\tconst stepModuloValue = Math.abs((value - min) % stepSize);\n\n\t\tif (stepSize === 0 || stepModuloValue === 0) {\n\t\t\treturn value;\n\t\t}\n\n\t\t// Clip (snap) the new value to the nearest step\n\t\tvalue = (stepModuloValue * 2 >= stepSize) ? (value + stepSize) - stepModuloValue : value - stepModuloValue;\n\n\t\t// If the step value is not a round number get its precision\n\t\tconst stepPrecision = SliderBase._getDecimalPrecisionOfNumber(stepSize);\n\t\treturn Number(value.toFixed(stepPrecision));\n\t}\n\n\t/**\n\t * Gets pageX value from event on user interaction with the Slider\n\t * @protected\n\t */\n\tstatic getPageXValueFromEvent(e: TouchEvent | MouseEvent): number {\n\t\tif (supportsTouch() && e instanceof TouchEvent) {\n\t\t\tif (e.targetTouches && e.targetTouches.length > 0) {\n\t\t\t\treturn e.targetTouches[0].pageX;\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn (e as MouseEvent).pageX; // MouseEvent\n\t}\n\n\t/**\n\t * Computes the new value (in %) from the pageX position of the cursor.\n\t * Returns the value rounded to a precision of at most 2 digits after decimal point.\n\t * @protected\n\t */\n\tstatic computedValueFromPageX(pageX: number, min: number, max: number, boundingClientRect: DOMRect, directionStart: DirectionStart) {\n\t\t// Determine pageX position relative to the Slider DOM\n\t\tconst xRelativePosition = directionStart === \"left\" ? pageX - boundingClientRect[directionStart] : boundingClientRect[directionStart] - pageX;\n\t\t// Calculate the percentage complete (the \"progress\")\n\t\tconst percentageComplete = xRelativePosition / boundingClientRect.width;\n\t\t// Fit (map) the complete percentage between the min/max value range\n\t\treturn min + percentageComplete * (max - min);\n\t}\n\n\t/**\n\t * Calculates the precision (decimal places) of a number, returns 0 if integer\n\t * Handles scientific notation cases.\n\t * @private\n\t */\n\tstatic _getDecimalPrecisionOfNumber(value: number) {\n\t\tif (Number.isInteger(value)) {\n\t\t\treturn 0;\n\t\t}\n\t\tconst match = (String(value)).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n\t\tif (!match || match.length < 2) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? Number(match[2]) : 0));\n\t}\n\n\t/**\n\t * In order to always keep the visual UI representation and the internal\n\t * state in sync, the component has a 'state storage' that is updated when the\n\t * current state is changed due to a user action.\n\t *\n\t * Check if the previously saved state is outdated. That would mean\n\t * a property has been changed programmatically because the previous state\n\t * is always updated in the interaction handlers.\n\t *\n\t * Will return true if any of the properties is not equal to its previously\n\t * stored value.\n\t * @protected\n\t */\n\tisCurrentStateOutdated() {\n\t\treturn Object.entries(this._stateStorage).some(([propName, propValue]) => this[propName as keyof SliderBase] !== propValue);\n\t}\n\n\t/**\n\t * Returns the last stored value of a property\n\t * @protected\n\t */\n\tgetStoredPropertyState(prop: string) {\n\t\treturn this._stateStorage[prop as keyof StateStorage];\n\t}\n\n\t/**\n\t * Check if one or more properties have been updated compared to their last\n\t * saved values in the state storage.\n\t * @protected\n\t */\n\tisPropertyUpdated(...props: Array<string>) {\n\t\treturn props.some(prop => this.getStoredPropertyState(prop) !== this[prop as keyof SliderBase]);\n\t}\n\n\t/**\n\t * Updates the previously saved in the _stateStorage values of one or more properties.\n\t * @protected\n\t */\n\tstorePropertyState(...props: Array<string>) {\n\t\tprops.forEach(prop => {\n\t\t\tthis._stateStorage[prop as keyof StateStorage] = this[prop as keyof SliderBase] as number;\n\t\t});\n\t}\n\n\t/**\n\t * Returns the start side of a direction - left for LTR, right for RTL\n\t */\n\tget directionStart() {\n\t\treturn this.effectiveDir === \"rtl\" ? \"right\" : \"left\";\n\t}\n\n\t/**\n\t * Calculates the labels amount, width and text and creates them\n\t * @private\n\t */\n\t_createLabels() {\n\t\tif (!this.labelInterval || !this.showTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst labelInterval = this.labelInterval;\n\t\tconst step = this._effectiveStep;\n\t\tconst newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval);\n\n\t\t// If the required labels are already rendered\n\t\tif (newNumberOfLabels === this._oldNumberOfLabels && this._oldMin === this._effectiveMin && this._oldMax === this._effectiveMax) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._oldMin = this._effectiveMin;\n\t\tthis._oldMax = this._effectiveMax;\n\t\tthis._oldNumberOfLabels = newNumberOfLabels;\n\t\tthis._labelWidth = 100 / newNumberOfLabels;\n\t\tthis._labelValues = [];\n\n\t\t// If the step value is not a round number get its precision\n\t\tconst stepPrecision = SliderBase._getDecimalPrecisionOfNumber(step);\n\n\t\t// numberOfLabels below can be float so that the \"distance betweenlabels labels\"\n\t\t// calculation to be precize (exactly the same as the distance between the tickmarks).\n\t\t// That's ok as the loop stop condition is set to an integer, so it will practically\n\t\t// \"floor\" the number of labels anyway.\n\t\tfor (let i = 0; i <= newNumberOfLabels; i++) {\n\t\t\t// Format the label numbers with the same decimal precision as the value of the step property\n\t\t\tconst labelItemNumber = ((i * step * labelInterval) + this._effectiveMin).toFixed(stepPrecision);\n\t\t\tthis._labelValues.push(labelItemNumber);\n\t\t}\n\t}\n\n\t_handleActionKeyPressBase(e: KeyboardEvent, affectedPropName: string) {\n\t\tconst isUpAction = SliderBase._isIncreaseValueAction(e);\n\t\tconst isBigStep = SliderBase._isBigStepAction(e);\n\n\t\tconst currentValue = this[affectedPropName as keyof SliderBase] as number;\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\n\t\t// We need to take into consideration the effective direction of the slider - rtl or ltr.\n\t\t// While in ltr, the left arrow key decreases the value, in rtl it should actually increase it.\n\t\tlet step = this.effectiveDir === \"rtl\" ? -this._effectiveStep : this._effectiveStep;\n\n\t\t// If the action key corresponds to a long step and the slider has more than 10 normal steps,\n\t\t// make a jump of 1/10th of the Slider's length, otherwise just use the normal step property.\n\t\tstep = isBigStep && ((max - min) / step > 10) ? (max - min) / 10 : step;\n\n\t\tif (isEnd(e)) {\n\t\t\treturn max - currentValue;\n\t\t}\n\n\t\tif (isHome(e)) {\n\t\t\treturn (currentValue - min) * -1;\n\t\t}\n\n\t\treturn isUpAction ? step : step * -1;\n\t}\n\n\tstatic _isDecreaseValueAction(e: KeyboardEvent) {\n\t\treturn isDown(e) || isDownCtrl(e) || isLeft(e) || isLeftCtrl(e) || isMinus(e) || isPageDown(e);\n\t}\n\n\tstatic _isIncreaseValueAction(e: KeyboardEvent) {\n\t\treturn isUp(e) || isUpCtrl(e) || isRight(e) || isRightCtrl(e) || isPlus(e) || isPageUp(e);\n\t}\n\n\tstatic _isBigStepAction(e: KeyboardEvent) {\n\t\treturn isDownCtrl(e) || isUpCtrl(e) || isLeftCtrl(e) || isRightCtrl(e) || isPageUp(e) || isPageDown(e);\n\t}\n\n\tget _tickmarksCount() {\n\t\treturn (this._effectiveMax - this._effectiveMin) / this._effectiveStep;\n\t}\n\n\t/**\n\t * Calculates space between tickmarks\n\t * @private\n\t */\n\t_spaceBetweenTickmarks() {\n\t\treturn this.getBoundingClientRect().width / this._tickmarksCount;\n\t}\n\n\t/**\n\t * Notify in case of a invalid step value type\n\t * @private\n\t */\n\t_validateStep(step: number) {\n\t\tif (step === 0) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number\"); // eslint-disable-line\n\t\t}\n\n\t\tif (step < 0) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent\"); // eslint-disable-line\n\t\t}\n\n\t\tif (Number.isNaN(step)) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number. It has been set to its default value of 1\"); // eslint-disable-line\n\t\t}\n\t}\n\n\tget _labels() {\n\t\treturn this._labelValues || [];\n\t}\n\n\t/**\n\t * Normalizes a new `step` property value.\n\t * If tickmarks are enabled recreates them according to it.\n\t * @private\n\t */\n\tget _effectiveStep() {\n\t\tlet step = this.step;\n\n\t\tif (step < 0) {\n\t\t\tstep = Math.abs(step);\n\t\t}\n\n\t\tif (Number.isNaN(step)) {\n\t\t\tstep = 1;\n\t\t}\n\n\t\treturn step;\n\t}\n\n\tget _effectiveMin() {\n\t\treturn Math.min(this.min, this.max);\n\t}\n\n\tget _effectiveMax() {\n\t\treturn Math.max(this.min, this.max);\n\t}\n\n\tget _tabIndex() {\n\t\treturn this.disabled ? \"-1\" : \"0\";\n\t}\n\n\tget _ariaLabelledByHandleRefs() {\n\t\treturn [`${this._id}-accName`, `${this._id}-sliderDesc`].join(\" \").trim();\n\t}\n}\n\nexport default SliderBase;\n"]}
|
|
1
|
+
{"version":3,"file":"SliderBase.js","sourceRoot":"","sources":["../src/SliderBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAGhF,OAAO,mDAAmD,CAAC;AAC3D,OAAO,EACN,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,GAC5I,MAAM,sCAAsC,CAAC;AAE9C,SAAS;AACT,OAAO,gBAAgB,MAAM,sCAAsC,CAAC;AAQpE;;;GAGG;AAiBH,IAAe,UAAU;AARzB;;;;;;;GAO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a;AAMxB;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;sDACT;AAG5B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACC;AAG7B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACD;AApFb,UAAU;IAhBxB,KAAK,CAAC,QAAQ,CAAC;IAEhB;;;OAGG;;IACF,KAAK,CAAC,OAAO,CAAC;IAEf;;;;;;;OAOG;GACY,UAAU,CAiqBxB;AAED,eAAe,UAAU,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { isPhone, supportsTouch } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { PassiveEventListenerObject } from \"@ui5/webcomponents-base/dist/types.js\";\nimport \"@ui5/webcomponents-icons/dist/direction-arrows.js\";\nimport {\n\tisEscape, isHome, isEnd, isUp, isDown, isRight, isLeft, isUpCtrl, isDownCtrl, isRightCtrl, isLeftCtrl, isPlus, isMinus, isPageUp, isPageDown,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\n// Styles\nimport sliderBaseStyles from \"./generated/themes/SliderBase.css.js\";\n\ntype StateStorage = {\n\t[key: string]: number | undefined,\n}\n\ntype DirectionStart = \"left\" | \"right\";\n\n/**\n * Fired when the value changes and the user has finished interacting with the slider.\n * @public\n */\n@event(\"change\")\n\n/**\n * Fired when the value changes due to user interaction that is not yet finished - during mouse/touch dragging.\n * @public\n */\n@event(\"input\")\n\n/**\n * @class\n *\n * ### Overview\n * @constructor\n * @extends UI5Element\n * @public\n */\nabstract class SliderBase extends UI5Element {\n\t/**\n\t * Defines the minimum value of the slider.\n\t * @default 0\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 0 })\n\tmin!: number;\n\n\t/**\n\t * Defines the maximum value of the slider.\n\t * @default 100\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 100 })\n\tmax!: number;\n\n\t/**\n\t * Defines the size of the slider's selection intervals (e.g. min = 0, max = 10, step = 5 would result in possible selection of the values 0, 5, 10).\n\t *\n\t * **Note:** If set to 0 the slider handle movement is disabled. When negative number or value other than a number, the component fallbacks to its default value.\n\t * @default 1\n\t * @public\n\t */\n\t@property({ validator: Float, defaultValue: 1 })\n\tstep!: number;\n\n\t/**\n\t * Displays a label with a value on every N-th step.\n\t *\n\t * **Note:** The step and tickmarks properties must be enabled.\n\t * Example - if the step value is set to 2 and the label interval is also specified to 2 - then every second\n\t * tickmark will be labelled, which means every 4th value number.\n\t * @default 0\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 0 })\n\tlabelInterval!: number;\n\n\t/**\n\t * Enables tickmarks visualization for each step.\n\t *\n\t * **Note:** The step must be a positive number.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowTickmarks!: boolean;\n\n\t/**\n\t * Enables handle tooltip displaying the current value.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowTooltip!: boolean;\n\n\t/**\n\t * Defines whether the slider is in disabled state.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.4.0\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * @private\n\t */\n\t@property({ defaultValue: \"hidden\" })\n\t_tooltipVisibility!: string;\n\n\t@property({ type: Boolean })\n\t_labelsOverlapping!: boolean;\n\n\t@property({ type: Boolean })\n\t_hiddenTickmarks!: boolean;\n\n\t_resizeHandler: ResizeObserverCallback;\n\t_moveHandler: (e: TouchEvent | MouseEvent) => void;\n\t_upHandler: () => void;\n\t_stateStorage: StateStorage;\n\t_ontouchstart: PassiveEventListenerObject;\n\tnotResized = false;\n\t_isUserInteraction = false;\n\t_isInnerElementFocusing = false;\n\t_oldNumberOfLabels?: number;\n\t_oldMin?: number;\n\t_oldMax?: number;\n\t_labelWidth = 0;\n\t_labelValues?: Array<string>;\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._resizeHandler = this._handleResize.bind(this);\n\t\tthis._moveHandler = this._handleMove.bind(this);\n\t\tthis._upHandler = this._handleUp.bind(this);\n\n\t\tthis._stateStorage = {\n\t\t\tstep: undefined,\n\t\t\tmin: undefined,\n\t\t\tmax: undefined,\n\t\t\tlabelInterval: undefined,\n\t\t};\n\n\t\tconst handleTouchStartEvent = (e: TouchEvent) => {\n\t\t\tthis._onmousedown(e);\n\t\t};\n\n\t\tthis._ontouchstart = {\n\t\t\thandleEvent: handleTouchStartEvent,\n\t\t\tpassive: true,\n\t\t};\n\t}\n\n\t_handleMove(e: TouchEvent | MouseEvent) {} // eslint-disable-line\n\n\t_handleUp() {}\n\n\t_onmousedown(e: TouchEvent | MouseEvent) {} // eslint-disable-line\n\n\t_handleActionKeyPress(e: Event) {} // eslint-disable-line\n\n\t// used in base template, but implemented in subclasses\n\tabstract styles: {\n\t\tlabel: object,\n\t\tlabelContainer: object,\n\t};\n\n\tabstract tickmarksObject: any;\n\tabstract _ariaLabelledByText: string;\n\n\tstatic get ACTION_KEYS() {\n\t\treturn [\n\t\t\tisLeft,\n\t\t\tisRight,\n\t\t\tisUp,\n\t\t\tisDown,\n\t\t\tisLeftCtrl,\n\t\t\tisRightCtrl,\n\t\t\tisUpCtrl,\n\t\t\tisDownCtrl,\n\t\t\tisPlus,\n\t\t\tisMinus,\n\t\t\tisHome,\n\t\t\tisEnd,\n\t\t\tisPageUp,\n\t\t\tisPageDown,\n\t\t\tisEscape,\n\t\t];\n\t}\n\n\tstatic get MIN_SPACE_BETWEEN_TICKMARKS() {\n\t\treturn 8;\n\t}\n\n\tstatic get TOOLTIP_VISIBILITY() {\n\t\treturn {\n\t\t\tVISIBLE: \"visible\",\n\t\t\tHIDDEN: \"hidden\",\n\t\t};\n\t}\n\n\tstatic get render() {\n\t\treturn litRender;\n\t}\n\n\tstatic get styles() {\n\t\treturn sliderBaseStyles;\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-slider-root-phone\": isPhone(),\n\t\t\t},\n\t\t\tlabelContainer: {\n\t\t\t\t\"ui5-slider-hidden-labels\": this._labelsOverlapping,\n\t\t\t},\n\t\t};\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._resizeHandler);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._resizeHandler);\n\t}\n\n\tonAfterRendering() {\n\t\t// Only call if the resize is triggered by a state changes other than\n\t\t// the ones that occured on the previous resize and those caused by user interaction.\n\t\tif (this.notResized) {\n\t\t\tthis._resizeHandler();\n\t\t}\n\t}\n\n\t/** Shows the tooltip(s) if the `showTooltip` property is set to true\n\t * @private\n\t */\n\t_onmouseover() {\n\t\tif (this.showTooltip) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;\n\t\t}\n\t}\n\n\t/**\n\t * Hides the tooltip(s) if the `showTooltip` property is set to true\n\t * @private\n\t */\n\t_onmouseout() {\n\t\tif (this.showTooltip && !this.shadowRoot!.activeElement) {\n\t\t\tthis._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (this.disabled || this._effectiveStep === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (SliderBase._isActionKey(e)) {\n\t\t\te.preventDefault();\n\n\t\t\tthis._isUserInteraction = true;\n\t\t\tthis._handleActionKeyPress(e);\n\t\t}\n\t}\n\n\t_onkeyup() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._isUserInteraction = false;\n\t}\n\n\t/**\n\t * Flags if an inner element is currently being focused\n\t * @private\n\t */\n\t_preserveFocus(isFocusing: boolean) {\n\t\tthis._isInnerElementFocusing = isFocusing;\n\t}\n\n\t/**\n\t * Return if an inside element within the component is currently being focused\n\t * @private\n\t */\n\t_isFocusing() {\n\t\treturn this._isInnerElementFocusing;\n\t}\n\n\t/**\n\t * Prevent focus out when inner element within the component is currently being in process of focusing in.\n\t * @private\n\t */\n\t_preventFocusOut() {\n\t\tthis.focusInnerElement();\n\t}\n\n\t/**\n\t * Manages the focus between the component's inner elements\n\t * @protected\n\t */\n\tfocusInnerElement() {\n\t\tthis.focus();\n\t}\n\n\t/**\n\t * Handle the responsiveness of the Slider's UI elements when resizing\n\t * @private\n\t */\n\t_handleResize() {\n\t\tif (!this.showTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Mark resizing to avoid unneccessary calls to that function after rendering\n\t\tthis.notResized = false;\n\n\t\t// Convert the string represented calculation expression to a normal one\n\t\t// Check the distance in pixels exist between every tickmark\n\t\tconst spaceBetweenTickmarks = this._spaceBetweenTickmarks();\n\n\t\t// If the pixels between the tickmarks are less than 8 only the first and the last one should be visible\n\t\t// In such case the labels must correspond to the tickmarks, only the first and the last one should exist.\n\t\tif (spaceBetweenTickmarks < SliderBase.MIN_SPACE_BETWEEN_TICKMARKS) {\n\t\t\tthis._hiddenTickmarks = true;\n\t\t\tthis._labelsOverlapping = true;\n\t\t} else {\n\t\t\tthis._hiddenTickmarks = false;\n\t\t}\n\n\t\tif (this.labelInterval <= 0 || this._hiddenTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Check if there are any overlapping labels.\n\t\t// If so - only the first and the last one should be visible\n\t\tconst labelItems = this.shadowRoot!.querySelectorAll(\".ui5-slider-labels li\");\n\t\tthis._labelsOverlapping = [...labelItems].some(label => label.scrollWidth > label.clientWidth);\n\t}\n\n\t/**\n\t * Called when the user starts interacting with the slider.\n\t * After a down event on the slider root, listen for move events on window, so the slider value\n\t * is updated even if the user drags the pointer outside the slider root.\n\t * @protected\n\t */\n\thandleDownBase(e: TouchEvent | MouseEvent) {\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\t\tconst domRect = this.getBoundingClientRect();\n\t\tconst directionStart = this.directionStart;\n\t\tconst step = this._effectiveStep;\n\t\tconst newValue = SliderBase.getValueFromInteraction(e, step, min, max, domRect, directionStart);\n\n\t\t// Mark start of a user interaction\n\t\tthis._isUserInteraction = true;\n\n\t\twindow.addEventListener(\"mouseup\", this._upHandler);\n\t\twindow.addEventListener(\"touchend\", this._upHandler);\n\t\t// Only allow one type of move event to be listened to (the first one registered after the down event)\n\t\tif (supportsTouch() && e instanceof TouchEvent) {\n\t\t\twindow.addEventListener(\"touchmove\", this._moveHandler);\n\t\t} else {\n\t\t\twindow.addEventListener(\"mousemove\", this._moveHandler);\n\t\t}\n\n\t\tthis._handleFocusOnMouseDown(e);\n\t\treturn newValue;\n\t}\n\n\t/**\n\t * Forward the focus to an inner inner part within the component on press\n\t * @private\n\t */\n\t_handleFocusOnMouseDown(e: TouchEvent | MouseEvent) {\n\t\tconst focusedElement = this.shadowRoot!.activeElement;\n\n\t\tif (!focusedElement || focusedElement !== e.target) {\n\t\t\tthis._preserveFocus(true);\n\t\t\tthis.focusInnerElement();\n\t\t}\n\t}\n\n\t/**\n\t * Called when the user finish interacting with the slider\n\t * Fires an `change` event indicating a final value change, after user interaction is finished.\n\t * @protected\n\t */\n\thandleUpBase() {\n\t\twindow.removeEventListener(\"mouseup\", this._upHandler);\n\t\twindow.removeEventListener(\"touchend\", this._upHandler);\n\t\t// Only one of the following was attached, but it's ok to remove both as there is no error\n\t\twindow.removeEventListener(\"mousemove\", this._moveHandler);\n\t\twindow.removeEventListener(\"touchmove\", this._moveHandler);\n\n\t\tthis._isUserInteraction = false;\n\t\tthis._preserveFocus(false);\n\t}\n\n\t/**\n\t * Updates state storage for the value-related property\n\t * Fires an `input` event indicating a value change via interaction that is not yet finished.\n\t * @protected\n\t */\n\tupdateStateStorageAndFireInputEvent(valueType: string) {\n\t\tthis.storePropertyState(valueType);\n\t\tif (this._isUserInteraction) {\n\t\t\tthis.fireEvent(\"input\");\n\t\t}\n\t}\n\n\t/**\n\t * Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one.\n\t * @private\n\t */\n\tstatic _isActionKey(e: KeyboardEvent) {\n\t\treturn this.ACTION_KEYS.some(actionKey => actionKey(e));\n\t}\n\n\t/**\n\t * Locks the given value between min and max boundaries based on slider properties\n\t * @protected\n\t */\n\tstatic clipValue(value: number, min: number, max: number): number {\n\t\tvalue = Math.min(Math.max(value, min), max);\n\t\treturn value;\n\t}\n\n\t/**\n\t * Sets the slider value from an event\n\t * @protected\n\t */\n\tstatic getValueFromInteraction(e: TouchEvent | MouseEvent, stepSize: number, min: number, max: number, boundingClientRect: DOMRect, directionStart: DirectionStart): number {\n\t\tconst pageX = this.getPageXValueFromEvent(e);\n\t\tconst value = this.computedValueFromPageX(pageX, min, max, boundingClientRect, directionStart);\n\t\tconst steppedValue = this.getSteppedValue(value, stepSize, min);\n\n\t\treturn this.clipValue(steppedValue, min, max);\n\t}\n\n\t/**\n\t * \"Stepify\" the raw value - calculate the new value depending on the specified step property\n\t * @protected\n\t */\n\tstatic getSteppedValue(value: number, stepSize: number, min: number): number {\n\t\tconst stepModuloValue = Math.abs((value - min) % stepSize);\n\n\t\tif (stepSize === 0 || stepModuloValue === 0) {\n\t\t\treturn value;\n\t\t}\n\n\t\t// Clip (snap) the new value to the nearest step\n\t\tvalue = (stepModuloValue * 2 >= stepSize) ? (value + stepSize) - stepModuloValue : value - stepModuloValue;\n\n\t\t// If the step value is not a round number get its precision\n\t\tconst stepPrecision = SliderBase._getDecimalPrecisionOfNumber(stepSize);\n\t\treturn Number(value.toFixed(stepPrecision));\n\t}\n\n\t/**\n\t * Gets pageX value from event on user interaction with the Slider\n\t * @protected\n\t */\n\tstatic getPageXValueFromEvent(e: TouchEvent | MouseEvent): number {\n\t\tif (supportsTouch() && e instanceof TouchEvent) {\n\t\t\tif (e.targetTouches && e.targetTouches.length > 0) {\n\t\t\t\treturn e.targetTouches[0].pageX;\n\t\t\t}\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn (e as MouseEvent).pageX; // MouseEvent\n\t}\n\n\t/**\n\t * Computes the new value (in %) from the pageX position of the cursor.\n\t * Returns the value rounded to a precision of at most 2 digits after decimal point.\n\t * @protected\n\t */\n\tstatic computedValueFromPageX(pageX: number, min: number, max: number, boundingClientRect: DOMRect, directionStart: DirectionStart) {\n\t\t// Determine pageX position relative to the Slider DOM\n\t\tconst xRelativePosition = directionStart === \"left\" ? pageX - boundingClientRect[directionStart] : boundingClientRect[directionStart] - pageX;\n\t\t// Calculate the percentage complete (the \"progress\")\n\t\tconst percentageComplete = xRelativePosition / boundingClientRect.width;\n\t\t// Fit (map) the complete percentage between the min/max value range\n\t\treturn min + percentageComplete * (max - min);\n\t}\n\n\t/**\n\t * Calculates the precision (decimal places) of a number, returns 0 if integer\n\t * Handles scientific notation cases.\n\t * @private\n\t */\n\tstatic _getDecimalPrecisionOfNumber(value: number) {\n\t\tif (Number.isInteger(value)) {\n\t\t\treturn 0;\n\t\t}\n\t\tconst match = (String(value)).match(/(?:\\.(\\d+))?(?:[eE]([+-]?\\d+))?$/);\n\t\tif (!match || match.length < 2) {\n\t\t\treturn 0;\n\t\t}\n\t\treturn Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? Number(match[2]) : 0));\n\t}\n\n\t/**\n\t * In order to always keep the visual UI representation and the internal\n\t * state in sync, the component has a 'state storage' that is updated when the\n\t * current state is changed due to a user action.\n\t *\n\t * Check if the previously saved state is outdated. That would mean\n\t * a property has been changed programmatically because the previous state\n\t * is always updated in the interaction handlers.\n\t *\n\t * Will return true if any of the properties is not equal to its previously\n\t * stored value.\n\t * @protected\n\t */\n\tisCurrentStateOutdated() {\n\t\treturn Object.entries(this._stateStorage).some(([propName, propValue]) => this[propName as keyof SliderBase] !== propValue);\n\t}\n\n\t/**\n\t * Returns the last stored value of a property\n\t * @protected\n\t */\n\tgetStoredPropertyState(prop: string) {\n\t\treturn this._stateStorage[prop as keyof StateStorage];\n\t}\n\n\t/**\n\t * Check if one or more properties have been updated compared to their last\n\t * saved values in the state storage.\n\t * @protected\n\t */\n\tisPropertyUpdated(...props: Array<string>) {\n\t\treturn props.some(prop => this.getStoredPropertyState(prop) !== this[prop as keyof SliderBase]);\n\t}\n\n\t/**\n\t * Updates the previously saved in the _stateStorage values of one or more properties.\n\t * @protected\n\t */\n\tstorePropertyState(...props: Array<string>) {\n\t\tprops.forEach(prop => {\n\t\t\tthis._stateStorage[prop as keyof StateStorage] = this[prop as keyof SliderBase] as number;\n\t\t});\n\t}\n\n\t/**\n\t * Returns the start side of a direction - left for LTR, right for RTL\n\t */\n\tget directionStart() {\n\t\treturn this.effectiveDir === \"rtl\" ? \"right\" : \"left\";\n\t}\n\n\t/**\n\t * Calculates the labels amount, width and text and creates them\n\t * @private\n\t */\n\t_createLabels() {\n\t\tif (!this.labelInterval || !this.showTickmarks) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst labelInterval = this.labelInterval;\n\t\tconst step = this._effectiveStep;\n\t\tconst newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval);\n\n\t\t// If the required labels are already rendered\n\t\tif (newNumberOfLabels === this._oldNumberOfLabels && this._oldMin === this._effectiveMin && this._oldMax === this._effectiveMax) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._oldMin = this._effectiveMin;\n\t\tthis._oldMax = this._effectiveMax;\n\t\tthis._oldNumberOfLabels = newNumberOfLabels;\n\t\tthis._labelWidth = 100 / newNumberOfLabels;\n\t\tthis._labelValues = [];\n\n\t\t// If the step value is not a round number get its precision\n\t\tconst stepPrecision = SliderBase._getDecimalPrecisionOfNumber(step);\n\n\t\t// numberOfLabels below can be float so that the \"distance betweenlabels labels\"\n\t\t// calculation to be precize (exactly the same as the distance between the tickmarks).\n\t\t// That's ok as the loop stop condition is set to an integer, so it will practically\n\t\t// \"floor\" the number of labels anyway.\n\t\tfor (let i = 0; i <= newNumberOfLabels; i++) {\n\t\t\t// Format the label numbers with the same decimal precision as the value of the step property\n\t\t\tconst labelItemNumber = ((i * step * labelInterval) + this._effectiveMin).toFixed(stepPrecision);\n\t\t\tthis._labelValues.push(labelItemNumber);\n\t\t}\n\t}\n\n\t_handleActionKeyPressBase(e: KeyboardEvent, affectedPropName: string) {\n\t\tconst isUpAction = SliderBase._isIncreaseValueAction(e);\n\t\tconst isBigStep = SliderBase._isBigStepAction(e);\n\n\t\tconst currentValue = this[affectedPropName as keyof SliderBase] as number;\n\t\tconst min = this._effectiveMin;\n\t\tconst max = this._effectiveMax;\n\n\t\t// We need to take into consideration the effective direction of the slider - rtl or ltr.\n\t\t// While in ltr, the left arrow key decreases the value, in rtl it should actually increase it.\n\t\tlet step = this.effectiveDir === \"rtl\" ? -this._effectiveStep : this._effectiveStep;\n\n\t\t// If the action key corresponds to a long step and the slider has more than 10 normal steps,\n\t\t// make a jump of 1/10th of the Slider's length, otherwise just use the normal step property.\n\t\tstep = isBigStep && ((max - min) / step > 10) ? (max - min) / 10 : step;\n\n\t\tif (isEnd(e)) {\n\t\t\treturn max - currentValue;\n\t\t}\n\n\t\tif (isHome(e)) {\n\t\t\treturn (currentValue - min) * -1;\n\t\t}\n\n\t\treturn isUpAction ? step : step * -1;\n\t}\n\n\tstatic _isDecreaseValueAction(e: KeyboardEvent) {\n\t\treturn isDown(e) || isDownCtrl(e) || isLeft(e) || isLeftCtrl(e) || isMinus(e) || isPageDown(e);\n\t}\n\n\tstatic _isIncreaseValueAction(e: KeyboardEvent) {\n\t\treturn isUp(e) || isUpCtrl(e) || isRight(e) || isRightCtrl(e) || isPlus(e) || isPageUp(e);\n\t}\n\n\tstatic _isBigStepAction(e: KeyboardEvent) {\n\t\treturn isDownCtrl(e) || isUpCtrl(e) || isLeftCtrl(e) || isRightCtrl(e) || isPageUp(e) || isPageDown(e);\n\t}\n\n\tget _tickmarksCount() {\n\t\treturn (this._effectiveMax - this._effectiveMin) / this._effectiveStep;\n\t}\n\n\t/**\n\t * Calculates space between tickmarks\n\t * @private\n\t */\n\t_spaceBetweenTickmarks() {\n\t\treturn this.getBoundingClientRect().width / this._tickmarksCount;\n\t}\n\n\t/**\n\t * Notify in case of a invalid step value type\n\t * @private\n\t */\n\t_validateStep(step: number) {\n\t\tif (step === 0) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number\"); // eslint-disable-line\n\t\t}\n\n\t\tif (step < 0) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent\"); // eslint-disable-line\n\t\t}\n\n\t\tif (Number.isNaN(step)) {\n\t\t\tconsole.warn(\"The 'step' property must be a positive float number. It has been set to its default value of 1\"); // eslint-disable-line\n\t\t}\n\t}\n\n\tget _labels() {\n\t\treturn this._labelValues || [];\n\t}\n\n\t/**\n\t * Normalizes a new `step` property value.\n\t * If tickmarks are enabled recreates them according to it.\n\t * @private\n\t */\n\tget _effectiveStep() {\n\t\tlet step = this.step;\n\n\t\tif (step < 0) {\n\t\t\tstep = Math.abs(step);\n\t\t}\n\n\t\tif (Number.isNaN(step)) {\n\t\t\tstep = 1;\n\t\t}\n\n\t\treturn step;\n\t}\n\n\tget _effectiveMin() {\n\t\treturn Math.min(this.min, this.max);\n\t}\n\n\tget _effectiveMax() {\n\t\treturn Math.max(this.min, this.max);\n\t}\n\n\tget _tabIndex() {\n\t\treturn this.disabled ? \"-1\" : \"0\";\n\t}\n\n\tget _ariaLabelledByHandleRefs() {\n\t\treturn [`${this._id}-accName`, `${this._id}-sliderDesc`].join(\" \").trim();\n\t}\n}\n\nexport default SliderBase;\n"]}
|
package/dist/SplitButton.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import Button from "./Button.js";
|
|
|
18
18
|
* `ui5-split-button` consists two separate buttons:
|
|
19
19
|
*
|
|
20
20
|
* - for the first one (default action) you can define some `text` or an `icon`, or both.
|
|
21
|
+
* Also, it is possible to define different icon for active state of this button - `activeIcon`.
|
|
21
22
|
* - the second one (arrow action) contains only `slim-arrow-down` icon.
|
|
22
23
|
*
|
|
23
24
|
* You can choose a `design` from a set of predefined types (the same as for ui5-button) that offer
|
|
@@ -59,6 +60,12 @@ declare class SplitButton extends UI5Element {
|
|
|
59
60
|
* @public
|
|
60
61
|
*/
|
|
61
62
|
icon: string;
|
|
63
|
+
/**
|
|
64
|
+
* Defines the icon to be displayed in active state as graphical element within the component.
|
|
65
|
+
* @default ""
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
activeIcon: string;
|
|
62
69
|
/**
|
|
63
70
|
* Defines whether the arrow button should have the active state styles or not.
|
|
64
71
|
* @default false
|
|
@@ -86,6 +93,17 @@ declare class SplitButton extends UI5Element {
|
|
|
86
93
|
* @public
|
|
87
94
|
*/
|
|
88
95
|
accessibleName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Indicates if the elements is on focus
|
|
98
|
+
* @default false
|
|
99
|
+
* @private
|
|
100
|
+
*/
|
|
101
|
+
focused: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Accessibility-related properties for inner elements of the Split Button
|
|
104
|
+
* @private
|
|
105
|
+
*/
|
|
106
|
+
_splitButtonAccInfo: Record<string, boolean>;
|
|
89
107
|
/**
|
|
90
108
|
* Defines the tabIndex of the component.
|
|
91
109
|
* @default "0"
|
|
@@ -110,6 +128,12 @@ declare class SplitButton extends UI5Element {
|
|
|
110
128
|
* @private
|
|
111
129
|
*/
|
|
112
130
|
_textButtonActive: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Defines the icon of the text button
|
|
133
|
+
* @default ""
|
|
134
|
+
* @private
|
|
135
|
+
*/
|
|
136
|
+
_textButtonIcon: string;
|
|
113
137
|
/**
|
|
114
138
|
* Defines the state of the internal Button used for the Arrow button of the SplitButton.
|
|
115
139
|
* @default false
|
|
@@ -124,7 +148,7 @@ declare class SplitButton extends UI5Element {
|
|
|
124
148
|
*/
|
|
125
149
|
text: Array<Node>;
|
|
126
150
|
_textButtonPress: {
|
|
127
|
-
handleEvent: (
|
|
151
|
+
handleEvent: () => void;
|
|
128
152
|
passive: boolean;
|
|
129
153
|
};
|
|
130
154
|
_isDefaultActionPressed: boolean;
|
|
@@ -132,11 +156,16 @@ declare class SplitButton extends UI5Element {
|
|
|
132
156
|
static i18nBundle: I18nBundle;
|
|
133
157
|
static onDefine(): Promise<void>;
|
|
134
158
|
constructor();
|
|
159
|
+
/**
|
|
160
|
+
* Function that makes sure the focus is properly managed.
|
|
161
|
+
* @private
|
|
162
|
+
*/
|
|
163
|
+
_manageFocus(button?: Button | SplitButton): void;
|
|
135
164
|
onBeforeRendering(): void;
|
|
136
165
|
_handleMouseClick(e: MouseEvent): void;
|
|
137
166
|
_onFocusOut(e: FocusEvent): void;
|
|
138
167
|
_onFocusIn(e: FocusEvent): void;
|
|
139
|
-
|
|
168
|
+
_textButtonFocusIn(e?: FocusEvent): void;
|
|
140
169
|
_onKeyDown(e: KeyboardEvent): void;
|
|
141
170
|
_onKeyUp(e: KeyboardEvent): void;
|
|
142
171
|
_fireClick(e?: Event): void;
|
|
@@ -144,7 +173,7 @@ declare class SplitButton extends UI5Element {
|
|
|
144
173
|
_textButtonRelease(): void;
|
|
145
174
|
_arrowButtonPress(e: MouseEvent): void;
|
|
146
175
|
_arrowButtonRelease(e: MouseEvent): void;
|
|
147
|
-
_setTabIndexValue(
|
|
176
|
+
_setTabIndexValue(): void;
|
|
148
177
|
_onArrowButtonActiveStateChange(e: CustomEvent): void;
|
|
149
178
|
/**
|
|
150
179
|
* Checks if the pressed key is an arrow key.
|
|
@@ -183,6 +212,8 @@ declare class SplitButton extends UI5Element {
|
|
|
183
212
|
get textButton(): Button | null | undefined;
|
|
184
213
|
get arrowButton(): Button | null | undefined;
|
|
185
214
|
get accessibilityInfo(): {
|
|
215
|
+
ariaExpanded: boolean;
|
|
216
|
+
ariaHaspopup: boolean;
|
|
186
217
|
description: string;
|
|
187
218
|
keyboardHint: string;
|
|
188
219
|
};
|
package/dist/SplitButton.js
CHANGED
|
@@ -37,6 +37,7 @@ import SplitButtonCss from "./generated/themes/SplitButton.css.js";
|
|
|
37
37
|
* `ui5-split-button` consists two separate buttons:
|
|
38
38
|
*
|
|
39
39
|
* - for the first one (default action) you can define some `text` or an `icon`, or both.
|
|
40
|
+
* Also, it is possible to define different icon for active state of this button - `activeIcon`.
|
|
40
41
|
* - the second one (arrow action) contains only `slim-arrow-down` icon.
|
|
41
42
|
*
|
|
42
43
|
* You can choose a `design` from a set of predefined types (the same as for ui5-button) that offer
|
|
@@ -74,9 +75,9 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
74
75
|
super();
|
|
75
76
|
this._isDefaultActionPressed = false;
|
|
76
77
|
this._isKeyDownOperation = false;
|
|
77
|
-
const handleTouchStartEvent = (
|
|
78
|
-
e.stopPropagation();
|
|
78
|
+
const handleTouchStartEvent = () => {
|
|
79
79
|
this._textButtonActive = true;
|
|
80
|
+
this.focused = false;
|
|
80
81
|
this._tabIndex = "-1";
|
|
81
82
|
};
|
|
82
83
|
this._textButtonPress = {
|
|
@@ -84,12 +85,25 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
84
85
|
passive: true,
|
|
85
86
|
};
|
|
86
87
|
}
|
|
88
|
+
/**
|
|
89
|
+
* Function that makes sure the focus is properly managed.
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
_manageFocus(button) {
|
|
93
|
+
const buttons = [this.textButton, this.arrowButton, this];
|
|
94
|
+
buttons.forEach(btn => {
|
|
95
|
+
btn.focused = btn === button;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
87
98
|
onBeforeRendering() {
|
|
99
|
+
this._textButtonIcon = this.textButton && this.activeIcon !== "" && (this._textButtonActive) && !this._shiftOrEscapePressed ? this.activeIcon : this.icon;
|
|
88
100
|
if (this.disabled) {
|
|
89
101
|
this._tabIndex = "-1";
|
|
90
102
|
}
|
|
91
103
|
}
|
|
92
104
|
_handleMouseClick(e) {
|
|
105
|
+
const target = e.target;
|
|
106
|
+
this._manageFocus(target);
|
|
93
107
|
this._fireClick(e);
|
|
94
108
|
}
|
|
95
109
|
_onFocusOut(e) {
|
|
@@ -98,18 +112,19 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
98
112
|
}
|
|
99
113
|
this._shiftOrEscapePressed = false;
|
|
100
114
|
this._setTabIndexValue();
|
|
115
|
+
this._manageFocus();
|
|
101
116
|
}
|
|
102
117
|
_onFocusIn(e) {
|
|
103
118
|
if (this.disabled || getEventMark(e)) {
|
|
104
119
|
return;
|
|
105
120
|
}
|
|
106
121
|
this._shiftOrEscapePressed = false;
|
|
122
|
+
this._manageFocus(this);
|
|
107
123
|
}
|
|
108
|
-
|
|
109
|
-
e
|
|
110
|
-
this.
|
|
111
|
-
|
|
112
|
-
target.focus();
|
|
124
|
+
_textButtonFocusIn(e) {
|
|
125
|
+
e?.stopPropagation();
|
|
126
|
+
this._manageFocus(this.textButton);
|
|
127
|
+
this._setTabIndexValue();
|
|
113
128
|
}
|
|
114
129
|
_onKeyDown(e) {
|
|
115
130
|
this._isKeyDownOperation = true;
|
|
@@ -167,19 +182,21 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
167
182
|
}
|
|
168
183
|
_textButtonRelease() {
|
|
169
184
|
this._textButtonActive = false;
|
|
185
|
+
this._textButtonIcon = this.textButton && this.activeIcon !== "" && (this._textButtonActive) && !this._shiftOrEscapePressed ? this.activeIcon : this.icon;
|
|
170
186
|
this._tabIndex = "-1";
|
|
171
187
|
}
|
|
172
188
|
_arrowButtonPress(e) {
|
|
173
|
-
e.
|
|
189
|
+
e.preventDefault();
|
|
190
|
+
this.arrowButton.focus();
|
|
174
191
|
this._tabIndex = "-1";
|
|
175
192
|
}
|
|
176
193
|
_arrowButtonRelease(e) {
|
|
177
194
|
e.preventDefault();
|
|
178
195
|
this._tabIndex = "-1";
|
|
179
196
|
}
|
|
180
|
-
_setTabIndexValue(
|
|
197
|
+
_setTabIndexValue() {
|
|
181
198
|
this._tabIndex = this.disabled ? "-1" : "0";
|
|
182
|
-
if (this._tabIndex === "-1" &&
|
|
199
|
+
if (this._tabIndex === "-1" && (this.textButton?.focused || this.arrowButton?.focused)) {
|
|
183
200
|
this._tabIndex = "0";
|
|
184
201
|
}
|
|
185
202
|
}
|
|
@@ -232,20 +249,19 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
232
249
|
_handleDefaultAction(e) {
|
|
233
250
|
e.preventDefault();
|
|
234
251
|
const wasSpacePressed = isSpace(e);
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
this.
|
|
238
|
-
this._fireArrowClick();
|
|
252
|
+
if (this.focused || this.textButton?.focused) {
|
|
253
|
+
this._textButtonActive = true;
|
|
254
|
+
this._fireClick();
|
|
239
255
|
if (wasSpacePressed) {
|
|
240
256
|
this._spacePressed = true;
|
|
241
|
-
this._textButtonActive = false;
|
|
242
257
|
}
|
|
243
258
|
}
|
|
244
|
-
else {
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
259
|
+
else if (this.arrowButton && this.arrowButton.focused) {
|
|
260
|
+
this._activeArrowButton = true;
|
|
261
|
+
this._fireArrowClick();
|
|
247
262
|
if (wasSpacePressed) {
|
|
248
263
|
this._spacePressed = true;
|
|
264
|
+
this._textButtonActive = false;
|
|
249
265
|
}
|
|
250
266
|
}
|
|
251
267
|
}
|
|
@@ -271,6 +287,9 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
271
287
|
}
|
|
272
288
|
get accessibilityInfo() {
|
|
273
289
|
return {
|
|
290
|
+
// affects arrow button
|
|
291
|
+
ariaExpanded: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaExpanded,
|
|
292
|
+
ariaHaspopup: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaHaspopup,
|
|
274
293
|
// affects root element
|
|
275
294
|
description: SplitButton_1.i18nBundle.getText(SPLIT_BUTTON_DESCRIPTION),
|
|
276
295
|
keyboardHint: SplitButton_1.i18nBundle.getText(SPLIT_BUTTON_KEYBOARD_HINT),
|
|
@@ -283,6 +302,9 @@ let SplitButton = SplitButton_1 = class SplitButton extends UI5Element {
|
|
|
283
302
|
__decorate([
|
|
284
303
|
property()
|
|
285
304
|
], SplitButton.prototype, "icon", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
property()
|
|
307
|
+
], SplitButton.prototype, "activeIcon", void 0);
|
|
286
308
|
__decorate([
|
|
287
309
|
property({ type: Boolean })
|
|
288
310
|
], SplitButton.prototype, "activeArrowButton", void 0);
|
|
@@ -295,6 +317,12 @@ __decorate([
|
|
|
295
317
|
__decorate([
|
|
296
318
|
property({ defaultValue: undefined })
|
|
297
319
|
], SplitButton.prototype, "accessibleName", void 0);
|
|
320
|
+
__decorate([
|
|
321
|
+
property({ type: Boolean })
|
|
322
|
+
], SplitButton.prototype, "focused", void 0);
|
|
323
|
+
__decorate([
|
|
324
|
+
property({ type: Object })
|
|
325
|
+
], SplitButton.prototype, "_splitButtonAccInfo", void 0);
|
|
298
326
|
__decorate([
|
|
299
327
|
property({ defaultValue: "0", noAttribute: true })
|
|
300
328
|
], SplitButton.prototype, "_tabIndex", void 0);
|
|
@@ -307,6 +335,9 @@ __decorate([
|
|
|
307
335
|
__decorate([
|
|
308
336
|
property({ type: Boolean, noAttribute: true })
|
|
309
337
|
], SplitButton.prototype, "_textButtonActive", void 0);
|
|
338
|
+
__decorate([
|
|
339
|
+
property({ noAttribute: true })
|
|
340
|
+
], SplitButton.prototype, "_textButtonIcon", void 0);
|
|
310
341
|
__decorate([
|
|
311
342
|
property({ type: Boolean, noAttribute: true })
|
|
312
343
|
], SplitButton.prototype, "_activeArrowButton", void 0);
|