@gitlab/ui 68.1.0 → 68.2.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": "68.1.0",
3
+ "version": "68.2.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -89,7 +89,7 @@
89
89
  &-text {
90
90
  margin-top: -$gl-spacing-scale-1;
91
91
  margin-bottom: -$gl-spacing-scale-1;
92
- @include gl-overflow-break-word;
92
+ @include gl-overflow-anywhere;
93
93
  }
94
94
 
95
95
  &-dismiss {
@@ -8378,12 +8378,20 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
8378
8378
  .gl-overflow-break-word {
8379
8379
  overflow-wrap: break-word;
8380
8380
  hyphens: auto;
8381
- -webkit-hyphens: auto;
8382
8381
  }
8383
8382
  .gl-overflow-break-word\! {
8384
8383
  overflow-wrap: break-word !important;
8385
8384
  hyphens: auto !important;
8386
- -webkit-hyphens: auto !important;
8385
+ }
8386
+ .gl-overflow-anywhere {
8387
+ hyphens: auto;
8388
+ overflow-wrap: anywhere;
8389
+ word-break: normal;
8390
+ }
8391
+ .gl-overflow-anywhere\! {
8392
+ hyphens: auto !important;
8393
+ overflow-wrap: anywhere !important;
8394
+ word-break: normal !important;
8387
8395
  }
8388
8396
  .gl-str-truncated {
8389
8397
  @include str-truncated;
@@ -130,7 +130,12 @@
130
130
  @mixin gl-overflow-break-word {
131
131
  overflow-wrap: break-word;
132
132
  hyphens: auto;
133
- -webkit-hyphens: auto; // stylelint-disable-line
133
+ }
134
+
135
+ @mixin gl-overflow-anywhere {
136
+ hyphens: auto;
137
+ overflow-wrap: anywhere;
138
+ word-break: normal;
134
139
  }
135
140
 
136
141
  // Deprecated, prefer `gl-text-truncate`