@ironsource/shared-ui 2.2.0-test.9 → 2.2.0-test.91
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/AddFilterButton.vue_vue_type_style_index_0_scoped_e87c83df_lang.css +1 -0
- package/Alert.vue_vue_type_style_index_0_scoped_1036ab1d_lang.css +1 -0
- package/AppTrigger.vue_vue_type_style_index_0_scoped_735d152c_lang.css +1 -0
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_7bfd1b2b_lang.css +1 -0
- package/Banner.vue_vue_type_style_index_0_scoped_c76863fc_lang.css +1 -0
- package/Button.vue_vue_type_style_index_0_scoped_35545b8c_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_37783fab_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_6f05dc63_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_2d8c9e98_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_c054d65d_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_a4d7b67a_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_lang.css +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_1fcb0465_lang.css +1 -0
- package/Checkbox.vue_vue_type_style_index_0_scoped_d6d0f9ef_lang.css +1 -0
- package/Chip.vue_vue_type_style_index_0_scoped_5c5674fc_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_1e1143ac_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -1
- package/DatePickerMonthV4.vue_vue_type_style_index_0_scoped_11288104_lang.css +1 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_bb0041c1_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_6249380e_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_eb1733fa_lang.css +1 -0
- package/Dialog.vue_vue_type_style_index_0_scoped_5d321934_lang.css +1 -0
- package/DollarInput.vue_vue_type_style_index_0_scoped_edfcc8c5_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_c5e0eb4a_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b2d0a4d2_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_4cdaada8_lang.css +1 -0
- package/EmptyState.vue_vue_type_style_index_0_scoped_93b6937e_lang.css +1 -0
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_9e29e2d2_lang.css +1 -0
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_34409b6b_lang.css +1 -0
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_6b91ae9a_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_98458a8f_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_8922333d_lang.css +1 -0
- package/Heading.vue_vue_type_style_index_0_scoped_19878c4b_lang.css +1 -1
- package/IconButton.vue_vue_type_style_index_0_scoped_6dffd3f6_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_0a5bbce1_lang.css +1 -0
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_5467ea5e_lang.css +1 -0
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f40d8742_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_573a8670_lang.css +1 -0
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_d13cebf1_lang.css +1 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_7006d3c6_lang.css +1 -0
- package/Input.vue_vue_type_style_index_0_scoped_6e29de03_lang.css +1 -0
- package/Label.vue_vue_type_style_index_0_scoped_d9395f53_lang.css +1 -0
- package/Loader.vue_vue_type_style_index_0_scoped_94c3c850_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_0_scoped_545aa70b_lang.css +1 -0
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_9924c6c1_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_7c2477ad_lang.css +1 -0
- package/Option.vue_vue_type_style_index_0_scoped_83464ba3_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_7e70c643_lang.css +1 -0
- package/PasswordInput.vue_vue_type_style_index_0_scoped_8c1082ea_lang.css +1 -0
- package/PercentageInput.vue_vue_type_style_index_0_scoped_8afc27af_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_7f510cb8_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_1_lang.css +1 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_ea1a3e8c_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/README.md +2 -2
- package/RadioButton.vue_vue_type_style_index_0_scoped_2b66ac25_lang.css +1 -0
- package/ScrollButton.vue_vue_type_style_index_0_scoped_c302f4a4_lang.css +1 -0
- package/Search.vue_vue_type_style_index_0_scoped_6ada15c9_lang.css +1 -0
- package/SearchInput.vue_vue_type_style_index_0_scoped_d3f49471_lang.css +1 -0
- package/Skeleton.vue_vue_type_style_index_0_scoped_a45dcbb9_lang.css +1 -0
- package/SkeletonV4.vue_vue_type_style_index_0_scoped_93ae1260_lang.css +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_26cd9aa3_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_f19e742c_lang.css +1 -0
- package/Switch.vue_vue_type_style_index_0_scoped_2c00c273_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_3ae8705f_lang.css +1 -0
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_cc63bc78_lang.css +1 -0
- package/Tabs.vue_vue_type_style_index_0_scoped_3ad630ee_lang.css +1 -0
- package/Tag.vue_vue_type_style_index_0_scoped_b0662035_lang.css +1 -0
- package/Text.vue_vue_type_style_index_0_scoped_94bd409b_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_295167e0_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_adae060d_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_fbf7dbeb_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_b9b75a5a_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_1_lang.css +1 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +2 -1
- package/components/ThemeWrapper/ThemeStrore.js +16 -11
- package/components/ThemeWrapper/ThemeWrapper.vue.js +3 -3
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +8 -11
- package/components/ThemeWrapper/index.d.ts +2 -1
- package/components/ThemeWrapper/index.js +4 -2
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +1 -1
- package/components/appTrigger/AppTrigger.vue.js +2 -2
- package/components/appTrigger/AppTrigger.vue2.js +1 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +2 -2
- package/components/autocompleteDropdown/AutocompleteInput.vue2.js +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -3
- package/components/autocompleteDropdown/GroupOption.vue2.js +1 -1
- package/components/banner/Banner.vue.js +3 -3
- package/components/banner/Banner.vue2.js +9 -9
- package/components/button/v3/ButtonBase.vue.d.ts +1 -1
- package/components/button/v3/ButtonBase.vue.js +3 -3
- package/components/button/v3/ButtonBase.vue2.js +1 -1
- package/components/button/v3/ScrollButton.vue.js +3 -3
- package/components/button/v3/ScrollButton.vue2.js +1 -1
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +17 -15
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +131 -127
- package/components/chart/composables/useChartHeight.d.ts +1 -1
- package/components/chart/composables/useChartHeight.js +16 -15
- package/components/chart/composables/useChartThemeColors.d.ts +6 -0
- package/components/chart/composables/useChartThemeColors.js +21 -0
- package/components/chart/consts.d.ts +0 -3
- package/components/chart/consts.js +35 -38
- package/components/chart/index.d.ts +20 -1
- package/components/chart/plugins/HoverVerticalLine.js +5 -3
- package/components/chart/types.d.ts +1 -0
- package/components/checkbox/v3/Checkbox.vue.js +2 -2
- package/components/checkbox/v3/Checkbox.vue2.js +2 -2
- package/components/chip/v3/Chip.vue.js +3 -3
- package/components/chip/v3/Chip.vue2.js +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +2 -2
- package/components/datePicker/v3/DatePicker.vue2.js +1 -1
- package/components/datePicker/v4/DatePickerV4.vue.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +1 -1
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +1 -1
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +1 -1
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dialog/v3/Dialog.vue.js +4 -4
- package/components/dialog/v3/Dialog.vue2.js +11 -11
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +2 -2
- package/components/dropdown/v3/Label.vue.js +5 -5
- package/components/dropdown/v3/Label.vue2.js +1 -1
- package/components/dropdown/v3/Option.vue.js +4 -4
- package/components/dropdown/v3/Option.vue2.js +1 -1
- package/components/dropdown/v3/SearchInput.vue.js +4 -4
- package/components/dropdown/v3/SearchInput.vue2.js +1 -1
- package/components/dropdown/v3/index.d.ts +12 -12
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +152 -146
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +13 -12
- package/components/emptyState/v3/EmptyState.vue.js +2 -2
- package/components/emptyState/v3/EmptyState.vue2.js +1 -1
- package/components/emptyState/v3/EmptyStateIcon.vue.js +9 -9
- package/components/emptyState/v4/icons/IconError.vue.js +9 -9
- package/components/emptyState/v4/icons/IconFiles.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoAccess.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoData.vue.js +9 -9
- package/components/emptyState/v4/icons/IconNoResults.vue.js +8 -8
- package/components/emptyState/v4/icons/IconSettings.vue.js +8 -8
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/AddFilterButton.vue2.js +1 -1
- package/components/filtersPanel/v3/FilterSearchInput.vue.js +2 -2
- package/components/filtersPanel/v3/FilterSearchInput.vue2.js +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +4 -4
- package/components/floatingToolbar/FloatingToolbar.vue2.js +1 -1
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +5 -5
- package/components/icon/v3/icons/CubeBackground.vue.js +5 -5
- package/components/icon/v3/icons/Duplicate.vue.js +10 -10
- package/components/icon/v3/icons/FiltersSearch.vue.js +7 -7
- package/components/icon/v3/icons/Marketing.vue.js +2 -2
- package/components/icon/v3/icons/TableEdit.vue.js +9 -9
- package/components/includeExclude/IncludeExclude.vue.js +5 -5
- package/components/includeExclude/IncludeExclude.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +5 -5
- package/components/includeExclude/IncludeExcludeOption.vue2.js +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +1 -1
- package/components/input/v3/DollarInput.vue.js +4 -4
- package/components/input/v3/DollarInput.vue2.js +1 -1
- package/components/input/v3/Input.vue.js +4 -4
- package/components/input/v3/Input.vue2.js +1 -1
- package/components/input/v3/PasswordInput.vue.js +2 -2
- package/components/input/v3/PasswordInput.vue2.js +1 -1
- package/components/input/v3/PercentageInput.vue.js +3 -3
- package/components/input/v3/PercentageInput.vue2.js +1 -1
- package/components/loader/v4/Loader.vue.js +3 -3
- package/components/loader/v4/Loader.vue2.js +1 -1
- package/components/menu/Menu.vue.js +3 -3
- package/components/menu/Menu.vue2.js +33 -30
- package/components/menuItem/MenuItem.vue.js +3 -3
- package/components/menuItem/MenuItem.vue2.js +1 -1
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +51 -50
- package/components/popover/v3/Popover.vue.js +2 -2
- package/components/popover/v3/Popover.vue2.js +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -0
- package/components/popover/v4/PopoverV4.vue.js +2 -2
- package/components/popover/v4/PopoverV4.vue2.js +20 -17
- package/components/popover/v4/index.d.ts +41 -1
- package/components/radioButton/v3/RadioButton.vue.js +2 -2
- package/components/radioButton/v3/RadioButton.vue2.js +1 -1
- package/components/search/v3/Search.vue.js +5 -5
- package/components/search/v3/Search.vue2.js +1 -1
- package/components/skeleton/v3/Skeleton.vue.js +5 -5
- package/components/skeleton/v3/Skeleton.vue2.js +1 -1
- package/components/snackbar/v3/Snackbar.vue.js +4 -4
- package/components/snackbar/v3/Snackbar.vue2.js +1 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +3 -3
- package/components/snackbar/v4/SnackbarV4.vue2.js +1 -1
- package/components/switch/v3/Switch.vue.js +2 -2
- package/components/switch/v3/Switch.vue2.js +1 -1
- package/components/table/v3/Table.vue.js +5 -5
- package/components/table/v3/Table.vue2.js +2 -2
- package/components/table/v3/TableHeaderSorter.vue.js +2 -2
- package/components/table/v3/TableHeaderSorter.vue2.js +1 -1
- package/components/table-cells/v3/Editable.vue.js +5 -5
- package/components/table-cells/v3/Editable.vue2.js +1 -1
- package/components/tabs/v3/Tabs.vue.js +4 -4
- package/components/tabs/v3/Tabs.vue2.js +15 -15
- package/components/tag/Tag.vue.d.ts +26 -0
- package/components/tag/Tag.vue.js +3 -3
- package/components/tag/Tag.vue2.js +227 -155
- package/components/tag/index.d.ts +42 -0
- package/components/textArea/v3/TextArea.vue.js +3 -3
- package/components/textArea/v3/TextArea.vue2.js +1 -1
- package/components/toggle/v3/Toggle.vue.js +3 -3
- package/components/toggle/v3/Toggle.vue2.js +14 -14
- package/components/tooltip/v3/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +11 -11
- package/components/tooltip/v3/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -1
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
- package/components/tooltip/v4/index.d.ts +39 -20
- package/design-foundation.stories/colors/ColorsData.d.ts +114 -0
- package/design-foundation.stories/colors/ColorsStoryWrapper.vue.d.ts +28 -1
- package/index.d.ts +195 -76
- package/index.js +1 -1
- package/package.json +1 -1
- package/style/v3/theme-bridge.css +1 -0
- package/style/v3/theme-bridge.css.map +1 -0
- package/style/v3/theme-bridge.scss +93 -0
- package/style/v4/border-radius.scss +2 -2
- package/style/v4/colors.scss +105 -0
- package/style/v4/elevations.scss +11 -0
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/style/v4/grid.scss +1 -1
- package/style/v4/scrollbar.scss +21 -0
- package/style/v4/spacings.scss +1 -1
- package/style/v4/styleguideV4.scss +1 -0
- package/styleguide.scss +18 -18
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_fd98af08_lang.css +0 -1
- package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +0 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +0 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_2b63231b_lang.css +0 -1
- package/Banner.vue_vue_type_style_index_0_scoped_a293c6d0_lang.css +0 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_9021cac4_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +0 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +0 -1
- package/Chip.vue_vue_type_style_index_0_scoped_f89d9361_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +0 -1
- package/DatePickerV4.vue_vue_type_style_index_0_scoped_39e6c10c_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +0 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_9ef40daf_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
- package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +0 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +0 -1
- package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +0 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +0 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_04d485be_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_8aae9eb9_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +0 -1
- package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_947cb1fc_lang.css +0 -1
- package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +0 -1
- package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +0 -1
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +0 -1
- package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +0 -1
- package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +0 -1
- package/Loader.vue_vue_type_style_index_0_scoped_50d9be64_lang.css +0 -1
- package/Menu.vue_vue_type_style_index_0_scoped_eb057818_lang.css +0 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +0 -1
- package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +0 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_243f3e16_lang.css +0 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_08a15760_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +0 -1
- package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +0 -1
- package/Search.vue_vue_type_style_index_0_scoped_63beaf6b_lang.css +0 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +0 -1
- package/Skeleton.vue_vue_type_style_index_0_scoped_5ed40068_lang.css +0 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +0 -1
- package/Switch.vue_vue_type_style_index_0_scoped_9c008fc4_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +0 -1
- package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +0 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +0 -1
- package/Tag.vue_vue_type_style_index_0_scoped_043adaf5_lang.css +0 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_eb62e4c0_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +0 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../Toggle.
|
|
1
|
+
import "../../../Toggle.vue_vue_type_style_index_0_scoped_fbf7dbeb_lang.css"; import { defineComponent as h, useCssVars as v, openBlock as l, createElementBlock as m, createElementVNode as a, unref as t, normalizeClass as i, createCommentVNode as s, createVNode as V, withCtx as o, createTextVNode as c, toDisplayString as n, createBlock as f } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import u from "../../typography/Text.vue.js";
|
|
4
4
|
import { COLORS as b } from "../../../consts/colors.js";
|
|
5
|
-
import { ToggleTestIdModifiers as
|
|
5
|
+
import { ToggleTestIdModifiers as d } from "../../../testids/index.js";
|
|
6
6
|
const $ = ["data-testid"], k = ["data-testid"], E = { class: "toggle-head" }, I = ["disabled", "checked", "data-testid"], z = /* @__PURE__ */ h({
|
|
7
7
|
__name: "Toggle",
|
|
8
8
|
props: {
|
|
@@ -20,22 +20,22 @@ const $ = ["data-testid"], k = ["data-testid"], E = { class: "toggle-head" }, I
|
|
|
20
20
|
setup(e, { emit: x }) {
|
|
21
21
|
const r = e;
|
|
22
22
|
v((g) => ({
|
|
23
|
-
"
|
|
23
|
+
"5d7586c5": e.color
|
|
24
24
|
}));
|
|
25
25
|
const T = () => {
|
|
26
26
|
r.isDisabled || x("update:modelValue", !r.modelValue);
|
|
27
27
|
};
|
|
28
28
|
return (g, y) => (l(), m("div", null, [
|
|
29
|
-
|
|
29
|
+
a("div", {
|
|
30
30
|
class: "toggle-wrap",
|
|
31
|
-
"data-testid": `${e.testId}-${t(
|
|
31
|
+
"data-testid": `${e.testId}-${t(d).WRAPPER}`
|
|
32
32
|
}, [
|
|
33
|
-
|
|
33
|
+
a("div", {
|
|
34
34
|
class: i(["toggle-body", { "toggle-active": e.modelValue, "toggle-disabled": e.isDisabled }]),
|
|
35
|
-
"data-testid": `${e.testId}-${t(
|
|
35
|
+
"data-testid": `${e.testId}-${t(d).BODY}`,
|
|
36
36
|
onClick: T
|
|
37
37
|
}, [
|
|
38
|
-
|
|
38
|
+
a("div", E, [
|
|
39
39
|
e.isLoading ? (l(), m("span", {
|
|
40
40
|
key: 0,
|
|
41
41
|
class: i(["loader", {
|
|
@@ -44,18 +44,18 @@ const $ = ["data-testid"], k = ["data-testid"], E = { class: "toggle-head" }, I
|
|
|
44
44
|
}, null, 2)) : s("", !0)
|
|
45
45
|
])
|
|
46
46
|
], 10, k),
|
|
47
|
-
|
|
47
|
+
a("input", {
|
|
48
48
|
type: "checkbox",
|
|
49
49
|
disabled: e.isDisabled,
|
|
50
50
|
checked: e.modelValue,
|
|
51
|
-
"data-testid": `${e.testId}-${t(
|
|
51
|
+
"data-testid": `${e.testId}-${t(d).FIELD}`,
|
|
52
52
|
class: "checkbox"
|
|
53
53
|
}, null, 8, I),
|
|
54
54
|
V(t(u), {
|
|
55
55
|
size: "sm",
|
|
56
56
|
"is-truncated": "",
|
|
57
57
|
class: i(["item-text", { "text-disabled": e.isDisabled }]),
|
|
58
|
-
"test-id": `${e.testId}-${t(
|
|
58
|
+
"test-id": `${e.testId}-${t(d).TEXT}`
|
|
59
59
|
}, {
|
|
60
60
|
default: o(() => [
|
|
61
61
|
c(n(e.modelValue ? e.activeText : e.inactiveText), 1)
|
|
@@ -63,12 +63,12 @@ const $ = ["data-testid"], k = ["data-testid"], E = { class: "toggle-head" }, I
|
|
|
63
63
|
_: 1
|
|
64
64
|
}, 8, ["class", "test-id"])
|
|
65
65
|
], 8, $),
|
|
66
|
-
|
|
66
|
+
a("div", null, [
|
|
67
67
|
e.helperText ? (l(), f(t(u), {
|
|
68
68
|
key: 0,
|
|
69
69
|
size: "caption",
|
|
70
70
|
class: "helper-text",
|
|
71
|
-
"test-id": `${e.testId}-${t(
|
|
71
|
+
"test-id": `${e.testId}-${t(d).HELPER_TEXT}`
|
|
72
72
|
}, {
|
|
73
73
|
default: o(() => [
|
|
74
74
|
c(n(e.helperText), 1)
|
|
@@ -79,7 +79,7 @@ const $ = ["data-testid"], k = ["data-testid"], E = { class: "toggle-head" }, I
|
|
|
79
79
|
key: 1,
|
|
80
80
|
size: "caption",
|
|
81
81
|
class: i(["error-text", { "error-and-help": !!e.helperText }]),
|
|
82
|
-
"test-id": `${e.testId}-${t(
|
|
82
|
+
"test-id": `${e.testId}-${t(d).ERROR_TEXT}`
|
|
83
83
|
}, {
|
|
84
84
|
default: o(() => [
|
|
85
85
|
c(n(e.errorText), 1)
|
|
@@ -40,9 +40,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
disabled: boolean;
|
|
41
41
|
testId: string;
|
|
42
42
|
}>>>, {
|
|
43
|
+
theme: string;
|
|
43
44
|
header: string;
|
|
44
45
|
text: string;
|
|
45
|
-
theme: string;
|
|
46
46
|
testId: string;
|
|
47
47
|
delay: number;
|
|
48
48
|
triggers: TooltipTriggers[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./Tooltip.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../Tooltip.
|
|
3
|
+
// import "../../../Tooltip.vue_vue_type_style_index_0_scoped_b9b75a5a_lang.css"; //*');
|
|
4
4
|
// import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b9b75a5a"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../Tooltip.
|
|
1
|
+
import "../../../Tooltip.vue_vue_type_style_index_0_scoped_b9b75a5a_lang.css"; import "../../../Tooltip.vue_vue_type_style_index_1_lang.css"; import { defineComponent as y, ref as r, useSlots as w, watch as m, openBlock as n, createBlock as s, unref as a, mergeProps as g, withCtx as u, createElementVNode as h, renderSlot as p, createTextVNode as S, toDisplayString as k, nextTick as $ } from "vue";
|
|
2
2
|
import I from "./TextWithTitleContent.vue.js";
|
|
3
3
|
import "../../typography/Heading.vue.js";
|
|
4
4
|
import W from "../../typography/Text.vue.js";
|
|
5
5
|
import { Tooltip as b } from "floating-vue";
|
|
6
6
|
import { TooltipTestIdModifiers as v } from "../../../testids/index.js";
|
|
7
|
-
const
|
|
7
|
+
const N = /* @__PURE__ */ y({
|
|
8
8
|
__name: "Tooltip",
|
|
9
9
|
props: {
|
|
10
10
|
text: { default: null },
|
|
@@ -18,25 +18,25 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
|
|
|
18
18
|
testId: { default: "" }
|
|
19
19
|
},
|
|
20
20
|
setup(e) {
|
|
21
|
-
const o = e, i =
|
|
21
|
+
const o = e, i = r(!1), l = r(null), d = r(null), x = w(), c = () => i.value ? o.text : null, f = async () => {
|
|
22
22
|
if (i.value = !0, await $(), !o.forceShowWithTruncate) {
|
|
23
23
|
const t = d.value?.children && d.value.children[0];
|
|
24
24
|
(t && window.getComputedStyle(t, null).getPropertyValue("text-overflow")) === "ellipsis" && (i.value = t.offsetWidth < t.scrollWidth);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
return
|
|
27
|
+
return m(
|
|
28
28
|
() => o.text,
|
|
29
29
|
async () => {
|
|
30
30
|
await f(), l.value = c();
|
|
31
31
|
},
|
|
32
32
|
{ immediate: !0 }
|
|
33
|
-
),
|
|
33
|
+
), m(
|
|
34
34
|
() => x.default,
|
|
35
35
|
async () => {
|
|
36
36
|
await f(), l.value = c();
|
|
37
37
|
},
|
|
38
38
|
{ immediate: !0 }
|
|
39
|
-
), (t, T) => (
|
|
39
|
+
), (t, T) => (n(), s(a(b), g(t.$props, {
|
|
40
40
|
theme: e.theme,
|
|
41
41
|
"no-auto-focus": "",
|
|
42
42
|
triggers: e.triggers,
|
|
@@ -48,13 +48,13 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
|
|
|
48
48
|
"auto-hide": ""
|
|
49
49
|
}), {
|
|
50
50
|
popper: u(() => [
|
|
51
|
-
|
|
51
|
+
h("div", null, [
|
|
52
52
|
p(t.$slots, "tooltip", { text: l.value }, () => [
|
|
53
|
-
e.header ? (
|
|
53
|
+
e.header ? (n(), s(I, {
|
|
54
54
|
key: 1,
|
|
55
55
|
text: e.text,
|
|
56
56
|
header: e.header
|
|
57
|
-
}, null, 8, ["text", "header"])) : (
|
|
57
|
+
}, null, 8, ["text", "header"])) : (n(), s(a(W), {
|
|
58
58
|
key: 0,
|
|
59
59
|
size: "sm",
|
|
60
60
|
"is-truncated": !1,
|
|
@@ -70,7 +70,7 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
|
|
|
70
70
|
])
|
|
71
71
|
]),
|
|
72
72
|
default: u(() => [
|
|
73
|
-
|
|
73
|
+
h("div", {
|
|
74
74
|
ref_key: "container",
|
|
75
75
|
ref: d,
|
|
76
76
|
class: "container"
|
|
@@ -83,5 +83,5 @@ const B = { class: "light-theme-v4" }, O = /* @__PURE__ */ y({
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
export {
|
|
86
|
-
|
|
86
|
+
N as default
|
|
87
87
|
};
|
|
@@ -3,9 +3,9 @@ declare const TooltipTypes: () => ({
|
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
|
+
theme: string;
|
|
6
7
|
header: string;
|
|
7
8
|
text: string;
|
|
8
|
-
theme: string;
|
|
9
9
|
testId: string;
|
|
10
10
|
delay: number;
|
|
11
11
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -13,6 +13,10 @@ declare const TooltipTypes: () => ({
|
|
|
13
13
|
placement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
theme: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
header: {
|
|
17
21
|
type: import("vue").PropType<string>;
|
|
18
22
|
default: any;
|
|
@@ -21,10 +25,6 @@ declare const TooltipTypes: () => ({
|
|
|
21
25
|
type: import("vue").PropType<string>;
|
|
22
26
|
default: any;
|
|
23
27
|
};
|
|
24
|
-
theme: {
|
|
25
|
-
type: import("vue").PropType<string>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
28
|
testId: {
|
|
29
29
|
type: import("vue").PropType<string>;
|
|
30
30
|
default: string;
|
|
@@ -49,7 +49,7 @@ declare const TooltipTypes: () => ({
|
|
|
49
49
|
type: import("vue").PropType<boolean>;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
|
52
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "header" | "text" | "testId" | "delay" | "triggers" | "forceShowWithTruncate" | "placement" | "disabled">;
|
|
53
53
|
$attrs: {
|
|
54
54
|
[x: string]: unknown;
|
|
55
55
|
};
|
|
@@ -64,6 +64,10 @@ declare const TooltipTypes: () => ({
|
|
|
64
64
|
$emit: (event: string, ...args: any[]) => void;
|
|
65
65
|
$el: any;
|
|
66
66
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
theme: {
|
|
68
|
+
type: import("vue").PropType<string>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
67
71
|
header: {
|
|
68
72
|
type: import("vue").PropType<string>;
|
|
69
73
|
default: any;
|
|
@@ -72,10 +76,6 @@ declare const TooltipTypes: () => ({
|
|
|
72
76
|
type: import("vue").PropType<string>;
|
|
73
77
|
default: any;
|
|
74
78
|
};
|
|
75
|
-
theme: {
|
|
76
|
-
type: import("vue").PropType<string>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
79
|
testId: {
|
|
80
80
|
type: import("vue").PropType<string>;
|
|
81
81
|
default: string;
|
|
@@ -101,9 +101,9 @@ declare const TooltipTypes: () => ({
|
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
103
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
104
|
+
theme: string;
|
|
104
105
|
header: string;
|
|
105
106
|
text: string;
|
|
106
|
-
theme: string;
|
|
107
107
|
testId: string;
|
|
108
108
|
delay: number;
|
|
109
109
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -131,6 +131,10 @@ declare const TooltipTypes: () => ({
|
|
|
131
131
|
$nextTick: typeof import("vue").nextTick;
|
|
132
132
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
|
133
133
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
theme: {
|
|
135
|
+
type: import("vue").PropType<string>;
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
134
138
|
header: {
|
|
135
139
|
type: import("vue").PropType<string>;
|
|
136
140
|
default: any;
|
|
@@ -139,10 +143,6 @@ declare const TooltipTypes: () => ({
|
|
|
139
143
|
type: import("vue").PropType<string>;
|
|
140
144
|
default: any;
|
|
141
145
|
};
|
|
142
|
-
theme: {
|
|
143
|
-
type: import("vue").PropType<string>;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
146
146
|
testId: {
|
|
147
147
|
type: import("vue").PropType<string>;
|
|
148
148
|
default: string;
|
|
@@ -172,6 +172,10 @@ declare const TooltipTypes: () => ({
|
|
|
172
172
|
__isTeleport?: never;
|
|
173
173
|
__isSuspense?: never;
|
|
174
174
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
+
theme: {
|
|
176
|
+
type: import("vue").PropType<string>;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
175
179
|
header: {
|
|
176
180
|
type: import("vue").PropType<string>;
|
|
177
181
|
default: any;
|
|
@@ -180,10 +184,6 @@ declare const TooltipTypes: () => ({
|
|
|
180
184
|
type: import("vue").PropType<string>;
|
|
181
185
|
default: any;
|
|
182
186
|
};
|
|
183
|
-
theme: {
|
|
184
|
-
type: import("vue").PropType<string>;
|
|
185
|
-
default: string;
|
|
186
|
-
};
|
|
187
187
|
testId: {
|
|
188
188
|
type: import("vue").PropType<string>;
|
|
189
189
|
default: string;
|
|
@@ -209,9 +209,9 @@ declare const TooltipTypes: () => ({
|
|
|
209
209
|
default: boolean;
|
|
210
210
|
};
|
|
211
211
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
212
|
+
theme: string;
|
|
212
213
|
header: string;
|
|
213
214
|
text: string;
|
|
214
|
-
theme: string;
|
|
215
215
|
testId: string;
|
|
216
216
|
delay: number;
|
|
217
217
|
triggers: import("../common/Tooltip.types").TooltipTriggers[];
|
|
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
shown?: boolean;
|
|
15
15
|
autoHide?: boolean;
|
|
16
16
|
dontWrapDisabled?: boolean;
|
|
17
|
+
maxWidth?: string;
|
|
17
18
|
}>, {
|
|
18
19
|
text: any;
|
|
19
20
|
header: any;
|
|
@@ -29,6 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
30
|
shown: any;
|
|
30
31
|
autoHide: boolean;
|
|
31
32
|
dontWrapDisabled: boolean;
|
|
33
|
+
maxWidth: string;
|
|
32
34
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
35
|
show: () => void;
|
|
34
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -46,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
48
|
shown?: boolean;
|
|
47
49
|
autoHide?: boolean;
|
|
48
50
|
dontWrapDisabled?: boolean;
|
|
51
|
+
maxWidth?: string;
|
|
49
52
|
}>, {
|
|
50
53
|
text: any;
|
|
51
54
|
header: any;
|
|
@@ -61,12 +64,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
64
|
shown: any;
|
|
62
65
|
autoHide: boolean;
|
|
63
66
|
dontWrapDisabled: boolean;
|
|
67
|
+
maxWidth: string;
|
|
64
68
|
}>>> & {
|
|
65
69
|
onShow?: () => any;
|
|
66
70
|
}, {
|
|
71
|
+
theme: string;
|
|
67
72
|
header: string;
|
|
68
73
|
text: string;
|
|
69
|
-
theme: string;
|
|
70
74
|
testId: string;
|
|
71
75
|
delay: number;
|
|
72
76
|
triggers: TooltipTriggers[];
|
|
@@ -78,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
78
82
|
shown: boolean;
|
|
79
83
|
autoHide: boolean;
|
|
80
84
|
dontWrapDisabled: boolean;
|
|
85
|
+
maxWidth: string;
|
|
81
86
|
}>, {
|
|
82
87
|
default?(_: {}): any;
|
|
83
88
|
tooltip?(_: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./TooltipV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TooltipV4.
|
|
3
|
+
// import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css"; //*');
|
|
4
4
|
// import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f88fbece"]]);
|
|
6
6
|
export {
|
|
7
7
|
l as default
|
|
8
8
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "../../../TooltipV4.
|
|
2
|
-
import
|
|
3
|
-
import { Tooltip as
|
|
4
|
-
import { TooltipTestIdModifiers as
|
|
5
|
-
import
|
|
6
|
-
import { tooltipCommon as
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const
|
|
1
|
+
import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_f88fbece_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as T, computed as C, onMounted as N, watch as B, onUnmounted as E, renderSlot as i, openBlock as c, createBlock as u, unref as n, mergeProps as g, withCtx as f, createTextVNode as b, toDisplayString as $, createElementVNode as I } from "vue";
|
|
2
|
+
import V from "./TextWithTitleContent.vue.js";
|
|
3
|
+
import { Tooltip as W } from "floating-vue";
|
|
4
|
+
import { TooltipTestIdModifiers as p } from "../../../testids/index.js";
|
|
5
|
+
import k from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { tooltipCommon as S } from "../common/Tooltip.common.js";
|
|
7
|
+
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
|
+
const z = {
|
|
9
9
|
ref: "container",
|
|
10
10
|
class: "container"
|
|
11
|
-
},
|
|
11
|
+
}, F = /* @__PURE__ */ T({
|
|
12
12
|
__name: "TooltipV4",
|
|
13
13
|
props: {
|
|
14
14
|
text: { default: null },
|
|
@@ -24,45 +24,85 @@ const B = {
|
|
|
24
24
|
container: { default: "body" },
|
|
25
25
|
shown: { type: Boolean, default: null },
|
|
26
26
|
autoHide: { type: Boolean, default: !0 },
|
|
27
|
-
dontWrapDisabled: { type: Boolean, default: !1 }
|
|
27
|
+
dontWrapDisabled: { type: Boolean, default: !1 },
|
|
28
|
+
maxWidth: { default: "21.875rem" }
|
|
28
29
|
},
|
|
29
30
|
emits: ["show"],
|
|
30
|
-
setup(
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
setup(t, { emit: v }) {
|
|
32
|
+
const a = t, { textForDisplay: m } = S(a), h = A(a.testId, p), d = (e) => `--tooltip-max-width-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, r = (e) => `max-width-class-${e.replace(/[^a-zA-Z0-9]/g, "-")}`, x = (e) => {
|
|
33
|
+
const o = r(e), l = d(e);
|
|
34
|
+
return `
|
|
35
|
+
.v-popper--theme-light-theme-v4.v4-tooltip.${o} .v-popper__wrapper {
|
|
36
|
+
max-width: var(${l}, 21.875rem)
|
|
37
|
+
}
|
|
38
|
+
`;
|
|
39
|
+
}, w = C(
|
|
40
|
+
() => [
|
|
41
|
+
a.theme,
|
|
42
|
+
a.placement,
|
|
43
|
+
"v4-tooltip",
|
|
44
|
+
a.maxWidth ? r(a.maxWidth) : ""
|
|
45
|
+
// This is the class name that will be used as a selector for the tooltip
|
|
46
|
+
].filter(Boolean)
|
|
47
|
+
), y = (e) => {
|
|
48
|
+
const o = d(e), l = r(e);
|
|
49
|
+
if (document.documentElement.style.setProperty(o, e), !document.getElementById(l)) {
|
|
50
|
+
const s = document.createElement("style");
|
|
51
|
+
s.id = l, s.textContent = x(e), document.head.appendChild(s);
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
return N(() => {
|
|
55
|
+
a.maxWidth && y(a.maxWidth);
|
|
56
|
+
}), B(
|
|
57
|
+
() => a.maxWidth,
|
|
58
|
+
(e, o) => {
|
|
59
|
+
if (o) {
|
|
60
|
+
const l = d(o);
|
|
61
|
+
document.documentElement.style.removeProperty(l);
|
|
62
|
+
}
|
|
63
|
+
e && y(e);
|
|
64
|
+
}
|
|
65
|
+
), E(() => {
|
|
66
|
+
if (a.maxWidth) {
|
|
67
|
+
const e = d(a.maxWidth);
|
|
68
|
+
document.documentElement.style.removeProperty(e);
|
|
69
|
+
const o = r(a.maxWidth), l = document.getElementById(o), s = document.getElementsByClassName(o);
|
|
70
|
+
l && s.length === 0 && l.remove();
|
|
71
|
+
}
|
|
72
|
+
}), (e, o) => (t.disabled || !t.text) && t.dontWrapDisabled ? i(e.$slots, "default", { key: 0 }, void 0, !0) : (c(), u(n(W), g({ key: 1 }, { ...e.$props, ...n(h)[n(p).TRIGGER] }, {
|
|
73
|
+
theme: t.theme,
|
|
34
74
|
"no-auto-focus": "",
|
|
35
|
-
triggers:
|
|
36
|
-
delay: { show:
|
|
37
|
-
placement:
|
|
38
|
-
disabled:
|
|
39
|
-
"popper-class":
|
|
75
|
+
triggers: t.triggers,
|
|
76
|
+
delay: { show: t.delay, hide: 0 },
|
|
77
|
+
placement: t.placement,
|
|
78
|
+
disabled: t.disabled || t.text && !n(m),
|
|
79
|
+
"popper-class": n(w),
|
|
40
80
|
class: ["v4-tooltip"],
|
|
41
|
-
distance:
|
|
42
|
-
"auto-hide":
|
|
43
|
-
shown:
|
|
44
|
-
onApplyShow:
|
|
81
|
+
distance: t.distance,
|
|
82
|
+
"auto-hide": t.autoHide,
|
|
83
|
+
shown: t.shown,
|
|
84
|
+
onApplyShow: o[0] || (o[0] = (l) => v("show"))
|
|
45
85
|
}), {
|
|
46
|
-
popper:
|
|
47
|
-
|
|
48
|
-
|
|
86
|
+
popper: f(() => [
|
|
87
|
+
i(e.$slots, "tooltip", { text: n(m) }, () => [
|
|
88
|
+
t.header ? (c(), u(V, {
|
|
49
89
|
key: 1,
|
|
50
|
-
text:
|
|
51
|
-
header:
|
|
52
|
-
}, null, 8, ["text", "header"])) : (
|
|
90
|
+
text: t.text,
|
|
91
|
+
header: t.header
|
|
92
|
+
}, null, 8, ["text", "header"])) : (c(), u(n(k), g({
|
|
53
93
|
key: 0,
|
|
54
94
|
variant: "body2"
|
|
55
|
-
},
|
|
56
|
-
default:
|
|
57
|
-
|
|
95
|
+
}, n(h)[n(p).TEXT]), {
|
|
96
|
+
default: f(() => [
|
|
97
|
+
b($(n(m)), 1)
|
|
58
98
|
]),
|
|
59
99
|
_: 1
|
|
60
100
|
}, 16))
|
|
61
101
|
], !0)
|
|
62
102
|
]),
|
|
63
|
-
default:
|
|
64
|
-
|
|
65
|
-
|
|
103
|
+
default: f(() => [
|
|
104
|
+
I("div", z, [
|
|
105
|
+
i(e.$slots, "default", {}, void 0, !0)
|
|
66
106
|
], 512)
|
|
67
107
|
]),
|
|
68
108
|
_: 3
|
|
@@ -70,5 +110,5 @@ const B = {
|
|
|
70
110
|
}
|
|
71
111
|
});
|
|
72
112
|
export {
|
|
73
|
-
|
|
113
|
+
F as default
|
|
74
114
|
};
|