@gitlab/ui 43.19.0 → 43.20.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "43.19.0",
3
+ "version": "43.20.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -79,7 +79,7 @@
79
79
  "@arkweid/lefthook": "0.7.7",
80
80
  "@babel/core": "^7.19.1",
81
81
  "@babel/preset-env": "^7.19.1",
82
- "@gitlab/eslint-plugin": "17.0.0",
82
+ "@gitlab/eslint-plugin": "18.0.0",
83
83
  "@gitlab/stylelint-config": "4.1.0",
84
84
  "@gitlab/svgs": "3.3.0",
85
85
  "@rollup/plugin-commonjs": "^11.1.0",
@@ -397,7 +397,7 @@ describe('datepicker component', () => {
397
397
  ${'2021-09-27'} | ${new Date(2021, 8, 27)}
398
398
  ${'2021/09/27'} | ${new Date(2021, 8, 27)}
399
399
  ${'foobarbaz'} | ${currentDate}
400
- `('it parses $dateString correctly', ({ dateString, parsedDate }) => {
400
+ `('parses $dateString correctly', ({ dateString, parsedDate }) => {
401
401
  mountWithOptions();
402
402
 
403
403
  const config = pikadayConfig();
@@ -237,7 +237,7 @@ describe('Modal component', () => {
237
237
  });
238
238
  });
239
239
 
240
- it('it binds visible property to the BModal visible property', async () => {
240
+ it('binds visible property to the BModal visible property', async () => {
241
241
  createComponent({ stubModal: false });
242
242
 
243
243
  expect(wrapper.props().visible).toBe(false);
@@ -102,7 +102,7 @@ describe('GlListbox', () => {
102
102
  selected: [mockOptions[1].value, mockOptions[2].value],
103
103
  items: mockOptions,
104
104
  });
105
- }).toThrowError('To allow multi-selection, please, set "multiple" property to "true"');
105
+ }).toThrow('To allow multi-selection, please, set "multiple" property to "true"');
106
106
  expect(wrapper).toHaveLoggedVueErrors();
107
107
  });
108
108
 
@@ -6498,6 +6498,16 @@
6498
6498
  margin-bottom: $gl-spacing-scale-5 !important;
6499
6499
  }
6500
6500
  }
6501
+ .gl-md-ml-auto {
6502
+ @include gl-media-breakpoint-up(md) {
6503
+ margin-left: auto;
6504
+ }
6505
+ }
6506
+ .gl-md-ml-auto\! {
6507
+ @include gl-media-breakpoint-up(md) {
6508
+ margin-left: auto !important;
6509
+ }
6510
+ }
6501
6511
  .gl-md-ml-2 {
6502
6512
  @include gl-media-breakpoint-up(md) {
6503
6513
  margin-left: $gl-spacing-scale-2;
@@ -937,6 +937,12 @@
937
937
  }
938
938
  }
939
939
 
940
+ @mixin gl-md-ml-auto {
941
+ @include gl-media-breakpoint-up(md) {
942
+ @include gl-ml-auto;
943
+ }
944
+ }
945
+
940
946
  @mixin gl-md-ml-2 {
941
947
  @include gl-media-breakpoint-up(md) {
942
948
  @include gl-ml-2;