@gitlab/ui 38.5.1 → 38.6.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/CHANGELOG.md +7 -0
- package/dist/index.css.map +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/utilities.scss +126 -104
- package/src/scss/utility-mixins/sizing.scss +6 -0
- package/src/scss/utility-mixins/text.scss +12 -0
package/package.json
CHANGED
package/src/scss/utilities.scss
CHANGED
|
@@ -4611,6 +4611,18 @@
|
|
|
4611
4611
|
max-width: 100vw !important;
|
|
4612
4612
|
}
|
|
4613
4613
|
|
|
4614
|
+
.gl-md-max-w-26 {
|
|
4615
|
+
@include gl-media-breakpoint-up(md) {
|
|
4616
|
+
max-width: $gl-spacing-scale-26;
|
|
4617
|
+
}
|
|
4618
|
+
}
|
|
4619
|
+
|
|
4620
|
+
.gl-md-max-w-26\! {
|
|
4621
|
+
@include gl-media-breakpoint-up(md) {
|
|
4622
|
+
max-width: $gl-spacing-scale-26 !important;
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4614
4626
|
.gl-md-max-w-15p {
|
|
4615
4627
|
@include gl-media-breakpoint-up(md) {
|
|
4616
4628
|
max-width: 15%;
|
|
@@ -6931,169 +6943,179 @@
|
|
|
6931
6943
|
.gl-table-layout-fixed\! {
|
|
6932
6944
|
table-layout: fixed !important
|
|
6933
6945
|
}
|
|
6934
|
-
.gl-text-left{
|
|
6935
|
-
text-align: left
|
|
6946
|
+
.gl-text-left {
|
|
6947
|
+
text-align: left;
|
|
6948
|
+
}
|
|
6949
|
+
.gl-text-left\! {
|
|
6950
|
+
text-align: left !important;
|
|
6951
|
+
}
|
|
6952
|
+
.gl-text-center {
|
|
6953
|
+
text-align: center;
|
|
6936
6954
|
}
|
|
6937
|
-
.gl-text-
|
|
6938
|
-
text-align:
|
|
6955
|
+
.gl-text-center\! {
|
|
6956
|
+
text-align: center !important;
|
|
6939
6957
|
}
|
|
6940
|
-
.gl-text-
|
|
6941
|
-
text-align:
|
|
6958
|
+
.gl-text-right {
|
|
6959
|
+
text-align: right;
|
|
6942
6960
|
}
|
|
6943
|
-
.gl-text-
|
|
6944
|
-
text-align:
|
|
6961
|
+
.gl-text-right\! {
|
|
6962
|
+
text-align: right !important;
|
|
6945
6963
|
}
|
|
6946
|
-
.gl-text-
|
|
6947
|
-
text-align:
|
|
6964
|
+
.gl-reset-text-align {
|
|
6965
|
+
text-align: inherit;
|
|
6948
6966
|
}
|
|
6949
|
-
.gl-text-
|
|
6950
|
-
text-align:
|
|
6967
|
+
.gl-reset-text-align\! {
|
|
6968
|
+
text-align: inherit !important;
|
|
6951
6969
|
}
|
|
6952
|
-
.gl-
|
|
6953
|
-
text-
|
|
6970
|
+
.gl-text-decoration-none {
|
|
6971
|
+
text-decoration: none;
|
|
6954
6972
|
}
|
|
6955
|
-
.gl-
|
|
6956
|
-
text-
|
|
6973
|
+
.gl-active-text-decoration-none:active {
|
|
6974
|
+
text-decoration: none;
|
|
6957
6975
|
}
|
|
6958
|
-
.gl-text-decoration-none{
|
|
6959
|
-
text-decoration: none
|
|
6976
|
+
.gl-focus-text-decoration-none:focus {
|
|
6977
|
+
text-decoration: none;
|
|
6960
6978
|
}
|
|
6961
|
-
.gl-
|
|
6962
|
-
text-decoration: none
|
|
6979
|
+
.gl-hover-text-decoration-none:hover {
|
|
6980
|
+
text-decoration: none;
|
|
6963
6981
|
}
|
|
6964
|
-
.gl-
|
|
6965
|
-
text-decoration: none
|
|
6982
|
+
.gl-text-decoration-none\! {
|
|
6983
|
+
text-decoration: none !important;
|
|
6966
6984
|
}
|
|
6967
|
-
.gl-
|
|
6968
|
-
text-decoration: none
|
|
6985
|
+
.gl-active-text-decoration-none\!:active {
|
|
6986
|
+
text-decoration: none !important;
|
|
6969
6987
|
}
|
|
6970
|
-
.gl-text-decoration-none
|
|
6971
|
-
text-decoration: none !important
|
|
6988
|
+
.gl-focus-text-decoration-none\!:focus {
|
|
6989
|
+
text-decoration: none !important;
|
|
6972
6990
|
}
|
|
6973
|
-
.gl-
|
|
6974
|
-
text-decoration: none !important
|
|
6991
|
+
.gl-hover-text-decoration-none\!:hover {
|
|
6992
|
+
text-decoration: none !important;
|
|
6975
6993
|
}
|
|
6976
|
-
.gl-
|
|
6977
|
-
text-decoration:
|
|
6994
|
+
.gl-text-decoration-underline {
|
|
6995
|
+
text-decoration: underline;
|
|
6978
6996
|
}
|
|
6979
|
-
.gl-
|
|
6980
|
-
text-decoration:
|
|
6997
|
+
.gl-text-decoration-underline\! {
|
|
6998
|
+
text-decoration: underline !important;
|
|
6981
6999
|
}
|
|
6982
|
-
.gl-text-decoration-
|
|
6983
|
-
text-decoration:
|
|
7000
|
+
.gl-reset-text-decoration-color {
|
|
7001
|
+
text-decoration-color: inherit;
|
|
6984
7002
|
}
|
|
6985
|
-
.gl-text-decoration-
|
|
6986
|
-
text-decoration:
|
|
7003
|
+
.gl-reset-text-decoration-color\! {
|
|
7004
|
+
text-decoration-color: inherit !important;
|
|
6987
7005
|
}
|
|
6988
|
-
.gl-
|
|
6989
|
-
text-decoration-color:
|
|
7006
|
+
.gl-text-decoration-color-gray-500 {
|
|
7007
|
+
text-decoration-color: $gray-500;
|
|
6990
7008
|
}
|
|
6991
|
-
.gl-
|
|
6992
|
-
text-decoration-color:
|
|
7009
|
+
.gl-text-decoration-color-gray-500\! {
|
|
7010
|
+
text-decoration-color: $gray-500 !important;
|
|
6993
7011
|
}
|
|
6994
|
-
.gl-text-decoration-color-gray-
|
|
6995
|
-
text-decoration-color: $gray-
|
|
7012
|
+
.gl-text-decoration-color-gray-700 {
|
|
7013
|
+
text-decoration-color: $gray-700;
|
|
6996
7014
|
}
|
|
6997
|
-
.gl-text-decoration-color-gray-
|
|
6998
|
-
text-decoration-color: $gray-
|
|
7015
|
+
.gl-text-decoration-color-gray-700\! {
|
|
7016
|
+
text-decoration-color: $gray-700 !important;
|
|
6999
7017
|
}
|
|
7000
|
-
.gl-text-decoration-color-gray-
|
|
7001
|
-
text-decoration-color: $gray-
|
|
7018
|
+
.gl-text-decoration-color-gray-900 {
|
|
7019
|
+
text-decoration-color: $gray-900;
|
|
7002
7020
|
}
|
|
7003
|
-
.gl-text-decoration-color-gray-
|
|
7004
|
-
text-decoration-color: $gray-
|
|
7021
|
+
.gl-text-decoration-color-gray-900\! {
|
|
7022
|
+
text-decoration-color: $gray-900 !important;
|
|
7005
7023
|
}
|
|
7006
|
-
.gl-text-
|
|
7007
|
-
text-
|
|
7024
|
+
.gl-text-transform-none {
|
|
7025
|
+
text-transform: none;
|
|
7008
7026
|
}
|
|
7009
|
-
.gl-text-
|
|
7010
|
-
text-
|
|
7027
|
+
.gl-text-transform-none\! {
|
|
7028
|
+
text-transform: none !important;
|
|
7011
7029
|
}
|
|
7012
|
-
.gl-text-
|
|
7013
|
-
text-
|
|
7030
|
+
.gl-text-overflow-ellipsis {
|
|
7031
|
+
text-overflow: ellipsis;
|
|
7014
7032
|
}
|
|
7015
|
-
.gl-text-
|
|
7016
|
-
text-
|
|
7033
|
+
.gl-text-overflow-ellipsis\! {
|
|
7034
|
+
text-overflow: ellipsis !important;
|
|
7017
7035
|
}
|
|
7018
|
-
.gl-text-
|
|
7019
|
-
text-
|
|
7036
|
+
.gl-text-indent-0 {
|
|
7037
|
+
text-indent: 0;
|
|
7020
7038
|
}
|
|
7021
|
-
.gl-text-
|
|
7022
|
-
text-
|
|
7039
|
+
.gl-text-indent-0\! {
|
|
7040
|
+
text-indent: 0 !important;
|
|
7023
7041
|
}
|
|
7024
|
-
.gl-text-indent-
|
|
7025
|
-
text-indent:
|
|
7042
|
+
.gl-text-indent-hide {
|
|
7043
|
+
text-indent: -9999px;
|
|
7026
7044
|
}
|
|
7027
|
-
.gl-text-indent-
|
|
7028
|
-
text-indent:
|
|
7045
|
+
.gl-text-indent-hide\! {
|
|
7046
|
+
text-indent: -9999px !important;
|
|
7029
7047
|
}
|
|
7030
|
-
.gl-
|
|
7031
|
-
|
|
7048
|
+
.gl-white-space-normal {
|
|
7049
|
+
white-space: normal;
|
|
7032
7050
|
}
|
|
7033
|
-
.gl-
|
|
7034
|
-
|
|
7051
|
+
.gl-white-space-normal\! {
|
|
7052
|
+
white-space: normal !important;
|
|
7035
7053
|
}
|
|
7036
|
-
.gl-white-space-
|
|
7037
|
-
white-space:
|
|
7054
|
+
.gl-white-space-nowrap {
|
|
7055
|
+
white-space: nowrap;
|
|
7038
7056
|
}
|
|
7039
|
-
.gl-white-space-
|
|
7040
|
-
white-space:
|
|
7057
|
+
.gl-white-space-nowrap\! {
|
|
7058
|
+
white-space: nowrap !important;
|
|
7041
7059
|
}
|
|
7042
|
-
.gl-white-space-
|
|
7043
|
-
white-space:
|
|
7060
|
+
.gl-white-space-pre-wrap {
|
|
7061
|
+
white-space: pre-wrap;
|
|
7044
7062
|
}
|
|
7045
|
-
.gl-white-space-
|
|
7046
|
-
white-space:
|
|
7063
|
+
.gl-white-space-pre-wrap\! {
|
|
7064
|
+
white-space: pre-wrap !important;
|
|
7047
7065
|
}
|
|
7048
|
-
.gl-white-space-pre-
|
|
7049
|
-
white-space: pre-
|
|
7066
|
+
.gl-white-space-pre-line {
|
|
7067
|
+
white-space: pre-line;
|
|
7050
7068
|
}
|
|
7051
|
-
.gl-white-space-pre-
|
|
7052
|
-
white-space: pre-
|
|
7069
|
+
.gl-white-space-pre-line\! {
|
|
7070
|
+
white-space: pre-line !important;
|
|
7053
7071
|
}
|
|
7054
|
-
.gl-white-space-
|
|
7055
|
-
|
|
7072
|
+
.gl-md-white-space-nowrap {
|
|
7073
|
+
@include gl-media-breakpoint-up(md) {
|
|
7074
|
+
white-space: nowrap;
|
|
7075
|
+
}
|
|
7056
7076
|
}
|
|
7057
|
-
.gl-white-space-
|
|
7058
|
-
|
|
7077
|
+
.gl-md-white-space-nowrap\! {
|
|
7078
|
+
@include gl-media-breakpoint-up(md) {
|
|
7079
|
+
white-space: nowrap !important;
|
|
7080
|
+
}
|
|
7059
7081
|
}
|
|
7060
|
-
.gl-word-break-all{
|
|
7061
|
-
word-break: break-all
|
|
7082
|
+
.gl-word-break-all {
|
|
7083
|
+
word-break: break-all;
|
|
7062
7084
|
}
|
|
7063
|
-
.gl-word-break-all\!{
|
|
7064
|
-
word-break: break-all !important
|
|
7085
|
+
.gl-word-break-all\! {
|
|
7086
|
+
word-break: break-all !important;
|
|
7065
7087
|
}
|
|
7066
|
-
.gl-word-break-word{
|
|
7067
|
-
word-break: break-word
|
|
7088
|
+
.gl-word-break-word {
|
|
7089
|
+
word-break: break-word;
|
|
7068
7090
|
}
|
|
7069
|
-
.gl-word-break-word\!{
|
|
7070
|
-
word-break: break-word !important
|
|
7091
|
+
.gl-word-break-word\! {
|
|
7092
|
+
word-break: break-word !important;
|
|
7071
7093
|
}
|
|
7072
|
-
.gl-overflow-break-word{
|
|
7094
|
+
.gl-overflow-break-word {
|
|
7073
7095
|
overflow-wrap: break-word;
|
|
7074
7096
|
word-wrap: break-word;
|
|
7075
|
-
hyphens: auto
|
|
7097
|
+
hyphens: auto;
|
|
7076
7098
|
}
|
|
7077
|
-
.gl-overflow-break-word\!{
|
|
7099
|
+
.gl-overflow-break-word\! {
|
|
7078
7100
|
overflow-wrap: break-word !important;
|
|
7079
7101
|
word-wrap: break-word !important;
|
|
7080
|
-
hyphens: auto !important
|
|
7102
|
+
hyphens: auto !important;
|
|
7081
7103
|
}
|
|
7082
|
-
.gl-str-truncated{
|
|
7083
|
-
@include str-truncated
|
|
7104
|
+
.gl-str-truncated {
|
|
7105
|
+
@include str-truncated;
|
|
7084
7106
|
}
|
|
7085
|
-
.gl-str-truncated\!{
|
|
7086
|
-
@include str-truncated
|
|
7107
|
+
.gl-str-truncated\! {
|
|
7108
|
+
@include str-truncated;
|
|
7087
7109
|
}
|
|
7088
|
-
.gl-text-truncate{
|
|
7110
|
+
.gl-text-truncate {
|
|
7089
7111
|
overflow: hidden;
|
|
7090
7112
|
text-overflow: ellipsis;
|
|
7091
|
-
white-space: nowrap
|
|
7113
|
+
white-space: nowrap;
|
|
7092
7114
|
}
|
|
7093
|
-
.gl-text-truncate\!{
|
|
7115
|
+
.gl-text-truncate\! {
|
|
7094
7116
|
overflow: hidden !important;
|
|
7095
7117
|
text-overflow: ellipsis !important;
|
|
7096
|
-
white-space: nowrap !important
|
|
7118
|
+
white-space: nowrap !important;
|
|
7097
7119
|
}
|
|
7098
7120
|
.gl-translate-x-0 {
|
|
7099
7121
|
transform: translateX(0)
|
|
@@ -343,6 +343,12 @@
|
|
|
343
343
|
* - Utilities should strictly follow $gl-spacing-scale
|
|
344
344
|
*/
|
|
345
345
|
|
|
346
|
+
@mixin gl-md-max-w-26 {
|
|
347
|
+
@include gl-media-breakpoint-up(md) {
|
|
348
|
+
max-width: $gl-spacing-scale-26;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
346
352
|
@mixin gl-md-max-w-15p {
|
|
347
353
|
@include gl-media-breakpoint-up(md) {
|
|
348
354
|
max-width: 15%;
|
|
@@ -93,6 +93,18 @@
|
|
|
93
93
|
white-space: pre-line;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Responsive White-space utilities
|
|
98
|
+
*
|
|
99
|
+
* naming convention: gl-{breakpoint}-white-space-{value}
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
@mixin gl-md-white-space-nowrap {
|
|
103
|
+
@include gl-media-breakpoint-up(md) {
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
96
108
|
/**
|
|
97
109
|
* Word utilities.
|
|
98
110
|
*
|