@gitlab/ui 43.2.2 → 43.3.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.2.2",
3
+ "version": "43.3.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -65,7 +65,7 @@
65
65
  "vue-runtime-helpers": "^1.1.2"
66
66
  },
67
67
  "peerDependencies": {
68
- "@gitlab/svgs": "^1.116.0 || ^2.0.0",
68
+ "@gitlab/svgs": "^1.116.0 || ^2.0.0 || ^3.0.0",
69
69
  "bootstrap": "4.5.3",
70
70
  "emoji-regex": ">=10.0.0",
71
71
  "pikaday": "^1.8.0",
@@ -83,7 +83,7 @@
83
83
  "@babel/preset-env": "^7.18.10",
84
84
  "@gitlab/eslint-plugin": "15.0.0",
85
85
  "@gitlab/stylelint-config": "4.1.0",
86
- "@gitlab/svgs": "2.33.0",
86
+ "@gitlab/svgs": "3.0.0",
87
87
  "@rollup/plugin-commonjs": "^11.1.0",
88
88
  "@rollup/plugin-node-resolve": "^7.1.3",
89
89
  "@rollup/plugin-replace": "^2.3.2",
@@ -106,10 +106,10 @@
106
106
  "bootstrap": "4.5.3",
107
107
  "cypress": "^6.6.0",
108
108
  "emoji-regex": "^10.0.0",
109
- "eslint": "8.20.0",
109
+ "eslint": "8.21.0",
110
110
  "eslint-import-resolver-jest": "3.0.2",
111
111
  "eslint-plugin-cypress": "2.12.1",
112
- "eslint-plugin-storybook": "0.6.1",
112
+ "eslint-plugin-storybook": "0.6.3",
113
113
  "file-loader": "^4.2.0",
114
114
  "glob": "^7.2.0",
115
115
  "identity-obj-proxy": "^3.0.0",
@@ -31,7 +31,7 @@ export const Default = (_args, { argTypes }) => ({
31
31
  <gl-nav-item-dropdown text="Dropdown">
32
32
  <template #button-content>
33
33
  <gl-icon name="question" />
34
- <gl-icon name="angle-down" />
34
+ <gl-icon name="chevron-down" />
35
35
  </template>
36
36
  <gl-dropdown-item>One</gl-dropdown-item>
37
37
  <gl-dropdown-item>Two</gl-dropdown-item>
@@ -57,5 +57,8 @@
57
57
  $slope: ($max - $min) / ($max-width - $min-width);
58
58
  $intersection: (-$min-width * $slope) + $min;
59
59
 
60
- @return clamp(#{$min}, #{$intersection} + #{$slope * 100vw}, #{$max});
60
+ // Use calc() inside of clamp() function to work around SassC
61
+ // compilation failure.
62
+ // See https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2972
63
+ @return clamp(#{$min}, calc(#{$intersection} + #{$slope * 100vw}), #{$max});
61
64
  }
@@ -10,7 +10,7 @@
10
10
  }
11
11
  @include expect {
12
12
  // prettier-ignore
13
- font-size: clamp(2rem, #{-0.66667rem} + #{5.55556vw}, 3.5rem);
13
+ font-size: clamp(2rem, calc(#{-0.66667rem} + #{5.55556vw}), 3.5rem);
14
14
  }
15
15
  }
16
16
  }
@@ -24,7 +24,7 @@
24
24
  }
25
25
  @include expect {
26
26
  // prettier-ignore
27
- line-height: clamp(2rem, #{-0.66667rem} + #{5.55556vw}, 3.5rem);
27
+ line-height: clamp(2rem, calc(#{-0.66667rem} + #{5.55556vw}), 3.5rem);
28
28
  }
29
29
  }
30
30
  }