@gitlab/ui 43.19.0 → 43.21.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.21.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -79,9 +79,9 @@
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
- "@gitlab/svgs": "3.3.0",
84
+ "@gitlab/svgs": "3.4.0",
85
85
  "@rollup/plugin-commonjs": "^11.1.0",
86
86
  "@rollup/plugin-node-resolve": "^7.1.3",
87
87
  "@rollup/plugin-replace": "^2.3.2",
@@ -104,7 +104,7 @@
104
104
  "bootstrap": "4.5.3",
105
105
  "cypress": "^10.8.0",
106
106
  "emoji-regex": "^10.0.0",
107
- "eslint": "8.23.1",
107
+ "eslint": "8.24.0",
108
108
  "eslint-import-resolver-jest": "3.0.2",
109
109
  "eslint-plugin-cypress": "2.12.1",
110
110
  "eslint-plugin-storybook": "0.6.4",
@@ -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
 
@@ -3508,6 +3508,14 @@
3508
3508
  flex-basis: 33% !important;
3509
3509
  }
3510
3510
 
3511
+ .gl-flex-basis-two-thirds {
3512
+ flex-basis: 66%;
3513
+ }
3514
+
3515
+ .gl-flex-basis-two-thirds\! {
3516
+ flex-basis: 66% !important;
3517
+ }
3518
+
3511
3519
  .gl-flex-basis-half {
3512
3520
  flex-basis: 50%;
3513
3521
  }
@@ -6498,6 +6506,16 @@
6498
6506
  margin-bottom: $gl-spacing-scale-5 !important;
6499
6507
  }
6500
6508
  }
6509
+ .gl-md-ml-auto {
6510
+ @include gl-media-breakpoint-up(md) {
6511
+ margin-left: auto;
6512
+ }
6513
+ }
6514
+ .gl-md-ml-auto\! {
6515
+ @include gl-media-breakpoint-up(md) {
6516
+ margin-left: auto !important;
6517
+ }
6518
+ }
6501
6519
  .gl-md-ml-2 {
6502
6520
  @include gl-media-breakpoint-up(md) {
6503
6521
  margin-left: $gl-spacing-scale-2;
@@ -246,6 +246,10 @@
246
246
  flex-basis: 33%;
247
247
  }
248
248
 
249
+ @mixin gl-flex-basis-two-thirds {
250
+ flex-basis: 66%;
251
+ }
252
+
249
253
  @mixin gl-flex-basis-half {
250
254
  flex-basis: 50%;
251
255
  }
@@ -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;