@gitlab/ui 129.0.0 → 129.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/base/accordion/accordion_item.js +1 -1
- package/dist/components/base/avatar/avatar.js +1 -1
- package/dist/components/base/avatar/utils.js +1 -1
- package/dist/components/base/avatars_inline/avatars_inline.js +1 -2
- package/dist/components/base/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/base/datepicker/datepicker.js +1 -1
- package/dist/components/base/daterange_picker/daterange_picker.js +1 -1
- package/dist/components/base/drawer/drawer.js +1 -1
- package/dist/components/base/dropdown/dropdown.js +1 -1
- package/dist/components/base/filtered_search/filtered_search.js +1 -2
- package/dist/components/base/filtered_search/filtered_search_token.js +1 -2
- package/dist/components/base/filtered_search/filtered_search_token_segment.js +1 -1
- package/dist/components/base/filtered_search/filtered_search_utils.js +1 -3
- package/dist/components/base/form/form_character_count/form_character_count.js +1 -1
- package/dist/components/base/form/form_checkbox/form_checkbox.js +1 -2
- package/dist/components/base/form/form_checkbox/form_checkbox_group.js +1 -4
- package/dist/components/base/form/form_combobox/form_combobox.js +1 -1
- package/dist/components/base/form/form_date/form_date.js +1 -1
- package/dist/components/base/form/form_fields/form_fields.js +1 -3
- package/dist/components/base/form/form_group/form_group.js +1 -3
- package/dist/components/base/form/form_input/form_input.js +1 -5
- package/dist/components/base/form/form_select/form_select.js +1 -1
- package/dist/components/base/form/form_textarea/form_textarea.js +1 -1
- package/dist/components/base/infinite_scroll/infinite_scroll.js +1 -1
- package/dist/components/base/link/link.js +1 -6
- package/dist/components/base/new_dropdowns/base_dropdown/base_dropdown.js +1 -2
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +1 -2
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.js +1 -1
- package/dist/components/base/new_dropdowns/disclosure/utils.js +1 -1
- package/dist/components/base/new_dropdowns/listbox/listbox.js +1 -2
- package/dist/components/base/new_dropdowns/listbox/listbox_group.js +1 -1
- package/dist/components/base/new_dropdowns/listbox/utils.js +1 -2
- package/dist/components/base/pagination/pagination.js +1 -3
- package/dist/components/base/path/path.js +1 -2
- package/dist/components/base/skeleton_loader/skeleton_loader.js +1 -1
- package/dist/components/base/sorting/sorting.js +1 -1
- package/dist/components/base/tabs/tab/tab.js +1 -1
- package/dist/components/base/tabs/tabs/scrollable_tabs.js +1 -1
- package/dist/components/base/toast/toast.js +1 -1
- package/dist/components/base/toggle/toggle.js +1 -1
- package/dist/components/base/token_selector/helpers.js +1 -1
- package/dist/components/base/token_selector/token_selector.js +1 -1
- package/dist/components/base/token_selector/token_selector_dropdown.js +1 -1
- package/dist/components/charts/area/area.js +1 -1
- package/dist/components/charts/bar/bar.js +1 -2
- package/dist/components/charts/chart/chart.js +1 -1
- package/dist/components/charts/column/column.js +1 -1
- package/dist/components/charts/discrete_scatter/discrete_scatter.js +1 -1
- package/dist/components/charts/gauge/gauge.js +1 -3
- package/dist/components/charts/heatmap/heatmap.js +1 -1
- package/dist/components/charts/line/line.js +1 -1
- package/dist/components/charts/sparkline/sparkline.js +1 -2
- package/dist/components/charts/stacked_column/stacked_column.js +1 -2
- package/dist/components/dashboards/dashboard_layout/grid_layout/grid_layout.js +1 -1
- package/dist/components/dashboards/dashboard_panel/dashboard_panel.js +1 -2
- package/dist/components/dashboards/mock_data.js +1 -1
- package/dist/components/experimental/experiment_badge/experiment_badge.js +1 -1
- package/dist/components/utilities/intersection_observer/intersection_observer.js +1 -1
- package/dist/components/utilities/sprintf/sprintf.js +1 -2
- package/dist/directives/hover_load/hover_load.js +1 -1
- package/dist/directives/resize_observer/resize_observer.js +1 -1
- package/dist/utils/charts/config.js +1 -2
- package/dist/utils/charts/story_config.js +1 -1
- package/dist/utils/i18n.js +1 -1
- package/dist/utils/set_utils.js +1 -1
- package/dist/utils/use_mock_intersection_observer.js +1 -1
- package/package.json +4 -4
- package/src/components/base/accordion/accordion_item.vue +1 -1
- package/src/components/base/avatar/avatar.vue +1 -1
- package/src/components/base/avatar/utils.js +1 -1
- package/src/components/base/avatars_inline/avatars_inline.vue +1 -2
- package/src/components/base/breadcrumb/breadcrumb.vue +1 -1
- package/src/components/base/datepicker/datepicker.vue +1 -1
- package/src/components/base/daterange_picker/daterange_picker.vue +1 -1
- package/src/components/base/drawer/drawer.vue +1 -1
- package/src/components/base/dropdown/dropdown.vue +1 -1
- package/src/components/base/filtered_search/filtered_search.vue +1 -2
- package/src/components/base/filtered_search/filtered_search_token.vue +1 -2
- package/src/components/base/filtered_search/filtered_search_token_segment.vue +1 -1
- package/src/components/base/filtered_search/filtered_search_utils.js +1 -3
- package/src/components/base/form/form_character_count/form_character_count.vue +1 -1
- package/src/components/base/form/form_checkbox/form_checkbox.vue +1 -2
- package/src/components/base/form/form_checkbox/form_checkbox_group.vue +1 -4
- package/src/components/base/form/form_combobox/form_combobox.vue +1 -1
- package/src/components/base/form/form_date/form_date.vue +1 -1
- package/src/components/base/form/form_fields/form_fields.vue +1 -3
- package/src/components/base/form/form_group/form_group.vue +1 -3
- package/src/components/base/form/form_input/form_input.vue +1 -5
- package/src/components/base/form/form_select/form_select.vue +1 -1
- package/src/components/base/form/form_textarea/form_textarea.vue +1 -1
- package/src/components/base/infinite_scroll/infinite_scroll.vue +1 -1
- package/src/components/base/link/link.vue +1 -6
- package/src/components/base/new_dropdowns/base_dropdown/base_dropdown.vue +1 -2
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown.vue +1 -2
- package/src/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.vue +1 -1
- package/src/components/base/new_dropdowns/disclosure/utils.js +1 -1
- package/src/components/base/new_dropdowns/listbox/listbox.vue +1 -2
- package/src/components/base/new_dropdowns/listbox/listbox_group.vue +1 -1
- package/src/components/base/new_dropdowns/listbox/utils.js +1 -2
- package/src/components/base/pagination/pagination.vue +1 -3
- package/src/components/base/path/path.vue +1 -2
- package/src/components/base/skeleton_loader/skeleton_loader.vue +1 -1
- package/src/components/base/sorting/sorting.vue +1 -1
- package/src/components/base/tabs/tab/tab.vue +1 -1
- package/src/components/base/tabs/tabs/scrollable_tabs.vue +1 -1
- package/src/components/base/toast/toast.js +1 -1
- package/src/components/base/toggle/toggle.vue +1 -1
- package/src/components/base/token_selector/helpers.js +1 -1
- package/src/components/base/token_selector/token_selector.vue +1 -1
- package/src/components/base/token_selector/token_selector_dropdown.vue +1 -1
- package/src/components/charts/area/area.vue +1 -1
- package/src/components/charts/bar/bar.vue +1 -2
- package/src/components/charts/chart/chart.vue +1 -1
- package/src/components/charts/column/column.vue +1 -1
- package/src/components/charts/discrete_scatter/discrete_scatter.vue +1 -1
- package/src/components/charts/gauge/gauge.vue +1 -3
- package/src/components/charts/heatmap/heatmap.vue +1 -1
- package/src/components/charts/line/line.vue +1 -1
- package/src/components/charts/sparkline/sparkline.vue +1 -2
- package/src/components/charts/stacked_column/stacked_column.vue +1 -2
- package/src/components/dashboards/dashboard_layout/grid_layout/grid_layout.vue +1 -1
- package/src/components/dashboards/dashboard_panel/dashboard_panel.vue +1 -2
- package/src/components/dashboards/mock_data.js +1 -1
- package/src/components/experimental/experiment_badge/experiment_badge.vue +1 -1
- package/src/components/utilities/intersection_observer/intersection_observer.vue +1 -1
- package/src/components/utilities/sprintf/sprintf.vue +1 -2
- package/src/directives/hover_load/hover_load.js +1 -1
- package/src/directives/resize_observer/resize_observer.js +1 -1
- package/src/utils/charts/config.js +1 -2
- package/src/utils/charts/story_config.js +1 -1
- package/src/utils/i18n.js +1 -1
- package/src/utils/set_utils.js +1 -1
- package/src/utils/use_mock_intersection_observer.js +1 -1
- package/tailwind.defaults.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import debounce from 'lodash
|
|
2
|
+
import { debounce } from 'lodash-es';
|
|
3
3
|
import { translate } from '../../../utils/i18n';
|
|
4
4
|
import GlAvatar from '../avatar/avatar.vue';
|
|
5
5
|
import GlDisclosureDropdown from '../new_dropdowns/disclosure/disclosure_dropdown.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
2
|
+
import { uniqueId } from 'lodash-es';
|
|
3
3
|
import { GlTooltipDirective } from '../../../directives/tooltip/tooltip';
|
|
4
4
|
import { getDayDifference, getDateInPast, getDateInFuture } from '../../../utils/datetime_utility';
|
|
5
5
|
import GlDatepicker from '../datepicker/datepicker.vue';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- eslint-disable vue/one-component-per-file -->
|
|
2
2
|
<script>
|
|
3
3
|
import Vue from 'vue';
|
|
4
|
-
import merge from 'lodash
|
|
4
|
+
import { merge } from 'lodash-es';
|
|
5
5
|
import { selectAll } from '../../../vendor/bootstrap-vue/src/utils/dom';
|
|
6
6
|
import { BDropdown } from '../../../vendor/bootstrap-vue/src/components/dropdown/dropdown';
|
|
7
7
|
import {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isEqual from 'lodash
|
|
3
|
-
import cloneDeep from 'lodash/cloneDeep';
|
|
2
|
+
import { isEqual, cloneDeep } from 'lodash-es';
|
|
4
3
|
import { PortalTarget } from 'portal-vue';
|
|
5
4
|
import { GlTooltipDirective } from '../../../directives/tooltip/tooltip';
|
|
6
5
|
import { logWarning } from '../../../utils/utils';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import cloneDeep from 'lodash
|
|
3
|
-
import isEqual from 'lodash/isEqual';
|
|
2
|
+
import { cloneDeep, isEqual } from 'lodash-es';
|
|
4
3
|
import GlToken from '../token/token.vue';
|
|
5
4
|
import { stopEvent } from '../../../utils/utils';
|
|
6
5
|
import GlFilteredSearchTokenSegment from './filtered_search_token_segment.vue';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import first from 'lodash
|
|
2
|
-
import last from 'lodash/last';
|
|
3
|
-
import isString from 'lodash/isString';
|
|
1
|
+
import { first, last, isString } from 'lodash-es';
|
|
4
2
|
import { modulo } from '../../../utils/number_utils';
|
|
5
3
|
|
|
6
4
|
export const TERM_TOKEN_TYPE = 'filtered-search-term';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
3
|
-
import isBoolean from 'lodash/isBoolean';
|
|
2
|
+
import { uniqueId, isBoolean } from 'lodash-es';
|
|
4
3
|
import { looseEqual } from '../../../../vendor/bootstrap-vue/src/utils/loose-equal';
|
|
5
4
|
import { looseIndexOf } from '../../../../vendor/bootstrap-vue/src/utils/loose-index-of';
|
|
6
5
|
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
3
|
-
import isBoolean from 'lodash/isBoolean';
|
|
4
|
-
import omit from 'lodash/omit';
|
|
5
|
-
import pick from 'lodash/pick';
|
|
2
|
+
import { uniqueId, isBoolean, omit, pick } from 'lodash-es';
|
|
6
3
|
import { looseEqual } from '../../../../vendor/bootstrap-vue/src/utils/loose-equal';
|
|
7
4
|
import { formOptionsMixin } from '../../../../vendor/bootstrap-vue/src/mixins/form-options';
|
|
8
5
|
import { SafeHtmlDirective as SafeHtml } from '../../../../directives/safe_html/safe_html';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isFunction from 'lodash
|
|
3
|
-
import mapValues from 'lodash/mapValues';
|
|
4
|
-
import uniqueId from 'lodash/uniqueId';
|
|
2
|
+
import { isFunction, mapValues, uniqueId } from 'lodash-es';
|
|
5
3
|
import GlFormGroup from '../form_group/form_group.vue';
|
|
6
4
|
import GlFormInput from '../form_input/form_input.vue';
|
|
7
5
|
import { setObjectProperty } from '../../../../utils/set_utils';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isString from 'lodash
|
|
3
|
-
import isPlainObject from 'lodash/isPlainObject';
|
|
4
|
-
import { uniqueId } from 'lodash';
|
|
2
|
+
import { isString, isPlainObject, uniqueId } from 'lodash-es';
|
|
5
3
|
import { BFormGroup } from '../../../../vendor/bootstrap-vue/src/components/form-group/form-group';
|
|
6
4
|
|
|
7
5
|
export default {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isObject from 'lodash
|
|
3
|
-
import uniqueId from 'lodash/uniqueId';
|
|
4
|
-
import isBoolean from 'lodash/isBoolean';
|
|
5
|
-
import toInteger from 'lodash/toInteger';
|
|
6
|
-
import toString from 'lodash/toString';
|
|
2
|
+
import { isObject, uniqueId, isBoolean, toInteger, toString } from 'lodash-es';
|
|
7
3
|
|
|
8
4
|
import { toFloat } from '../../../../utils/number_utils';
|
|
9
5
|
import { isVisible, stopEvent } from '../../../../utils/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
2
|
+
import { uniqueId } from 'lodash-es';
|
|
3
3
|
import { BFormTextarea } from '../../../../vendor/bootstrap-vue/src/components/form-textarea/form-textarea';
|
|
4
4
|
import GlFormCharacterCount from '../form_character_count/form_character_count.vue';
|
|
5
5
|
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isFunction from 'lodash
|
|
3
|
-
import isString from 'lodash/isString';
|
|
4
|
-
import isObject from 'lodash/isObject';
|
|
5
|
-
import toString from 'lodash/toString';
|
|
6
|
-
import isBoolean from 'lodash/isBoolean';
|
|
7
|
-
import concat from 'lodash/concat';
|
|
2
|
+
import { isFunction, isString, isObject, toString, isBoolean, concat } from 'lodash-es';
|
|
8
3
|
import { SafeLinkDirective, isExternalURL } from '../../../directives/safe_link/safe_link';
|
|
9
4
|
import { stopEvent } from '../../../utils/utils';
|
|
10
5
|
import { isEvent } from '../../../vendor/bootstrap-vue/src/utils/inspect';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
|
-
import isFunction from 'lodash
|
|
2
|
+
import { isFunction } from 'lodash-es';
|
|
3
3
|
import { DISCLOSURE_DROPDOWN_ITEM_NAME, DISCLOSURE_DROPDOWN_GROUP_NAME } from './constants';
|
|
4
4
|
|
|
5
5
|
const itemValidator = (item) => item?.text?.length > 0 && !Array.isArray(item?.items);
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import debounce from 'lodash
|
|
3
|
-
import isFunction from 'lodash/isFunction';
|
|
4
|
-
import range from 'lodash/range';
|
|
2
|
+
import { debounce, isFunction, range } from 'lodash-es';
|
|
5
3
|
import { GlBreakpointInstance, breakpoints } from '../../../utils/breakpoints';
|
|
6
4
|
import { alignOptions, resizeDebounceTime } from '../../../utils/constants';
|
|
7
5
|
import { sprintf, translate } from '../../../utils/i18n';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script>
|
|
2
2
|
import iconSpriteInfo from '@gitlab/svgs/dist/icons.json';
|
|
3
|
-
import uniqueId from 'lodash
|
|
4
|
-
import findLast from 'lodash/findLast';
|
|
3
|
+
import { uniqueId, findLast } from 'lodash-es';
|
|
5
4
|
import { GlResizeObserverDirective } from '../../../directives/resize_observer/resize_observer';
|
|
6
5
|
import GlIcon from '../icon/icon.vue';
|
|
7
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
2
|
+
import { uniqueId } from 'lodash-es';
|
|
3
3
|
import { GlTooltipDirective } from '../../../directives/tooltip/tooltip';
|
|
4
4
|
import GlButton from '../button/button.vue';
|
|
5
5
|
import GlButtonGroup from '../button_group/button_group.vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import isPlainObject from 'lodash
|
|
2
|
+
import { isPlainObject } from 'lodash-es';
|
|
3
3
|
import { BTab } from '../../../../vendor/bootstrap-vue/src/components/tabs/tab';
|
|
4
4
|
import GlBadge from '../../badge/badge.vue';
|
|
5
5
|
import { logWarning } from '../../../../utils/utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import debounce from 'lodash
|
|
2
|
+
import { debounce } from 'lodash-es';
|
|
3
3
|
import { GlResizeObserverDirective } from '../../../../directives/resize_observer/resize_observer';
|
|
4
4
|
import GlIcon from '../../icon/icon.vue';
|
|
5
5
|
import { translate } from '../../../../utils/i18n';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-default-export */
|
|
2
|
-
import isFunction from 'lodash
|
|
2
|
+
import { isFunction } from 'lodash-es';
|
|
3
3
|
// eslint-disable-next-line no-restricted-imports
|
|
4
4
|
import { ToastPlugin } from '../../../vendor/bootstrap-vue/src/components/toast/index';
|
|
5
5
|
import CloseButton from '../../shared_components/close_button/close_button.vue';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import merge from 'lodash
|
|
3
|
-
import truncate from 'lodash/truncate';
|
|
2
|
+
import { merge, truncate } from 'lodash-es';
|
|
4
3
|
import { grid, dataZoomAdjustments, mergeSeriesToOptions } from '../../../utils/charts/config';
|
|
5
4
|
import { CHART_DEFAULT_SERIES_STACK, HEIGHT_AUTO_CLASSES } from '../../../utils/charts/constants';
|
|
6
5
|
import { colorFromDefaultPalette } from '../../../utils/charts/theme';
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import merge from 'lodash
|
|
3
|
-
import uniq from 'lodash/uniq';
|
|
4
|
-
import sortBy from 'lodash/sortBy';
|
|
2
|
+
import { merge, uniq, sortBy } from 'lodash-es';
|
|
5
3
|
import { gaugeNeutralHues, gaugeSafeHues, gaugeWarningHue } from '../../../utils/charts/theme';
|
|
6
4
|
import Chart from '../chart/chart.vue';
|
|
7
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import merge from 'lodash
|
|
2
|
+
import { merge } from 'lodash-es';
|
|
3
3
|
import { GL_COLOR_NEUTRAL_0, GL_COLOR_NEUTRAL_100 } from '../../../tokens/build/js/tokens';
|
|
4
4
|
import { getTooltipTitle, getTooltipContent } from '../../../utils/charts/config';
|
|
5
5
|
import { HEIGHT_AUTO_CLASSES } from '../../../utils/charts/constants';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import merge from 'lodash
|
|
3
|
-
import isNil from 'lodash/isNil';
|
|
2
|
+
import { merge, isNil } from 'lodash-es';
|
|
4
3
|
import { graphic } from 'echarts';
|
|
5
4
|
import { GlResizeObserverDirective } from '../../../directives/resize_observer/resize_observer';
|
|
6
5
|
import {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import uniqueId from 'lodash
|
|
3
|
-
import isObject from 'lodash/isObject';
|
|
2
|
+
import { uniqueId, isObject } from 'lodash-es';
|
|
4
3
|
import GlDisclosureDropdown from '../../base/new_dropdowns/disclosure/disclosure_dropdown.vue';
|
|
5
4
|
import GlIcon from '../../base/icon/icon.vue';
|
|
6
5
|
import GlLoadingIcon from '../../base/loading_icon/loading_icon.vue';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import castArray from 'lodash
|
|
2
|
-
import merge from 'lodash/merge';
|
|
1
|
+
import { castArray, merge } from 'lodash-es';
|
|
3
2
|
import { BLUE_500 } from '../../tokens/build/js/tokens';
|
|
4
3
|
import { GlBreakpointInstance } from '../breakpoints';
|
|
5
4
|
import { areDatesEqual } from '../datetime_utility';
|
package/src/utils/i18n.js
CHANGED
package/src/utils/set_utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* global jest, beforeEach, afterEach */
|
|
2
2
|
/* eslint-disable class-methods-use-this, max-classes-per-file */
|
|
3
|
-
import isMatch from 'lodash
|
|
3
|
+
import { isMatch } from 'lodash-es';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* This class gives us a JSDom friendly DOM observer which we can manually trigger in tests
|
package/tailwind.defaults.js
CHANGED