@gitlab/ui 76.1.0 → 77.0.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/components/experimental/duo/chat/duo_chat.js +1 -1
  3. package/dist/index.css.map +1 -1
  4. package/dist/tokens/css/tokens.css +1 -1
  5. package/dist/tokens/css/tokens.dark.css +1 -1
  6. package/dist/tokens/js/tokens.dark.js +1 -1
  7. package/dist/tokens/js/tokens.js +1 -1
  8. package/dist/tokens/scss/_tokens.dark.scss +1 -1
  9. package/dist/tokens/scss/_tokens.scss +1 -1
  10. package/dist/utility_classes.css +1 -1
  11. package/dist/utility_classes.css.map +1 -1
  12. package/package.json +1 -1
  13. package/src/components/base/alert/alert.scss +7 -7
  14. package/src/components/base/badge/badge.scss +1 -1
  15. package/src/components/base/banner/banner.scss +3 -3
  16. package/src/components/base/button/button.scss +2 -2
  17. package/src/components/base/card/card.scss +1 -1
  18. package/src/components/base/datepicker/datepicker.scss +5 -5
  19. package/src/components/base/drawer/drawer.scss +10 -10
  20. package/src/components/base/dropdown/dropdown_item.scss +1 -1
  21. package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +1 -1
  22. package/src/components/base/form/form_checkbox/form_checkbox.scss +3 -3
  23. package/src/components/base/label/label.scss +1 -1
  24. package/src/components/base/loading_icon/loading_icon.scss +1 -1
  25. package/src/components/base/modal/modal.scss +1 -1
  26. package/src/components/base/new_dropdowns/dropdown.scss +1 -1
  27. package/src/components/base/new_dropdowns/dropdown_item.scss +1 -1
  28. package/src/components/base/new_dropdowns/listbox/listbox.scss +3 -3
  29. package/src/components/base/path/path.scss +8 -8
  30. package/src/components/base/search_box_by_click/search_box_by_click.scss +7 -7
  31. package/src/components/base/search_box_by_type/search_box_by_type.scss +5 -5
  32. package/src/components/base/tabs/tabs/tabs.scss +5 -5
  33. package/src/components/base/toast/toast.scss +5 -5
  34. package/src/components/base/toggle/toggle.scss +4 -4
  35. package/src/components/charts/heatmap/heatmap.scss +1 -1
  36. package/src/components/charts/legend/legend.scss +3 -3
  37. package/src/components/charts/tooltip/tooltip.scss +1 -1
  38. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +3 -3
  39. package/src/components/experimental/duo/chat/duo_chat.vue +2 -2
  40. package/src/scss/tailwind.css +1 -0
  41. package/src/scss/utilities.scss +24 -430
  42. package/src/scss/utility-mixins/{appearance.scss → deprecated.scss} +9 -0
  43. package/src/scss/utility-mixins/index.scss +3 -2
  44. package/src/scss/utility-mixins/position.scss +0 -223
@@ -122,24 +122,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
122
122
  animation-iteration-count: 3 !important;
123
123
  }
124
124
  }
125
- .gl-number-as-text-input {
126
- &::-webkit-outer-spin-button,
127
- &::-webkit-inner-spin-button {
128
- -webkit-appearance: none;
129
- margin: 0;
130
- }
131
-
132
- -moz-appearance: textfield;
133
- }
134
- .gl-number-as-text-input\! {
135
- &::-webkit-outer-spin-button,
136
- &::-webkit-inner-spin-button {
137
- -webkit-appearance: none !important;
138
- margin: 0 !important;
139
- }
140
-
141
- -moz-appearance: textfield !important;
142
- }
143
125
  .gl-bg-transparent {
144
126
  background-color: transparent
145
127
  }
@@ -3010,6 +2992,30 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
3010
2992
  .gl-cursor-help\! {
3011
2993
  cursor: help !important
3012
2994
  }
2995
+ .gl-deprecated-top-66vh {
2996
+ top: 66vh;
2997
+ }
2998
+ .gl-deprecated-top-66vh\! {
2999
+ top: 66vh !important;
3000
+ }
3001
+ .gl-number-as-text-input {
3002
+ &::-webkit-outer-spin-button,
3003
+ &::-webkit-inner-spin-button {
3004
+ -webkit-appearance: none;
3005
+ margin: 0;
3006
+ }
3007
+
3008
+ -moz-appearance: textfield;
3009
+ }
3010
+ .gl-number-as-text-input\! {
3011
+ &::-webkit-outer-spin-button,
3012
+ &::-webkit-inner-spin-button {
3013
+ -webkit-appearance: none !important;
3014
+ margin: 0 !important;
3015
+ }
3016
+
3017
+ -moz-appearance: textfield !important;
3018
+ }
3013
3019
  .gl-display-none {
3014
3020
  display: none;
3015
3021
  }
@@ -4157,7 +4163,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
4157
4163
  .gl-object-fit-contain\! {
4158
4164
  object-fit: contain !important
4159
4165
  }
4160
-
4161
4166
  .gl-list-style-none {
4162
4167
  list-style-type: none
4163
4168
  }
@@ -4337,417 +4342,6 @@ $gl-animate-skeleton-loader-max-width: 64 * $grid-size;
4337
4342
  .gl-pointer-events-auto\! {
4338
4343
  pointer-events: auto !important
4339
4344
  }
4340
- .gl-relative {
4341
- position: relative;
4342
- }
4343
-
4344
- .gl-relative\! {
4345
- position: relative !important;
4346
- }
4347
-
4348
- .gl-absolute {
4349
- position: absolute;
4350
- }
4351
-
4352
- .gl-absolute\! {
4353
- position: absolute !important;
4354
- }
4355
-
4356
- .gl-static {
4357
- position: static;
4358
- }
4359
-
4360
- .gl-static\! {
4361
- position: static !important;
4362
- }
4363
-
4364
- .gl-fixed {
4365
- position: fixed;
4366
- }
4367
-
4368
- .gl-fixed\! {
4369
- position: fixed !important;
4370
- }
4371
-
4372
- .gl-sticky {
4373
- position: sticky;
4374
- }
4375
-
4376
- .gl-sticky\! {
4377
- position: sticky !important;
4378
- }
4379
-
4380
- .gl-lg-sticky {
4381
- @include gl-media-breakpoint-up(lg) {
4382
- position: sticky;
4383
- }
4384
- }
4385
-
4386
- .gl-lg-sticky\! {
4387
- @include gl-media-breakpoint-up(lg) {
4388
- position: sticky !important;
4389
- }
4390
- }
4391
-
4392
- .gl-top-auto {
4393
- top: auto;
4394
- }
4395
-
4396
- .gl-top-auto\! {
4397
- top: auto !important;
4398
- }
4399
-
4400
- .gl-top-0 {
4401
- top: 0;
4402
- }
4403
-
4404
- .gl-top-0\! {
4405
- top: 0 !important;
4406
- }
4407
-
4408
- .gl-top-1 {
4409
- top: $gl-spacing-scale-1;
4410
- }
4411
-
4412
- .gl-top-1\! {
4413
- top: $gl-spacing-scale-1 !important;
4414
- }
4415
-
4416
- .gl-top-2 {
4417
- top: $gl-spacing-scale-2;
4418
- }
4419
-
4420
- .gl-top-2\! {
4421
- top: $gl-spacing-scale-2 !important;
4422
- }
4423
-
4424
- .gl-top-3 {
4425
- top: $gl-spacing-scale-3;
4426
- }
4427
-
4428
- .gl-top-3\! {
4429
- top: $gl-spacing-scale-3 !important;
4430
- }
4431
-
4432
- .gl-top-4 {
4433
- top: $gl-spacing-scale-4;
4434
- }
4435
-
4436
- .gl-top-4\! {
4437
- top: $gl-spacing-scale-4 !important;
4438
- }
4439
-
4440
- .gl-top-5 {
4441
- top: $gl-spacing-scale-5;
4442
- }
4443
-
4444
- .gl-top-5\! {
4445
- top: $gl-spacing-scale-5 !important;
4446
- }
4447
-
4448
- .gl-top-6 {
4449
- top: $gl-spacing-scale-6;
4450
- }
4451
-
4452
- .gl-top-6\! {
4453
- top: $gl-spacing-scale-6 !important;
4454
- }
4455
-
4456
- .gl-top-7 {
4457
- top: $gl-spacing-scale-7;
4458
- }
4459
-
4460
- .gl-top-7\! {
4461
- top: $gl-spacing-scale-7 !important;
4462
- }
4463
-
4464
- .gl-top-8 {
4465
- top: $gl-spacing-scale-8;
4466
- }
4467
-
4468
- .gl-top-8\! {
4469
- top: $gl-spacing-scale-8 !important;
4470
- }
4471
-
4472
- .gl-top-half {
4473
- top: 50%;
4474
- }
4475
-
4476
- .gl-top-half\! {
4477
- top: 50% !important;
4478
- }
4479
-
4480
- .gl-top-66vh {
4481
- top: 66vh;
4482
- }
4483
-
4484
- .gl-top-66vh\! {
4485
- top: 66vh !important;
4486
- }
4487
-
4488
- .gl-top-full {
4489
- top: 100%;
4490
- }
4491
-
4492
- .gl-top-full\! {
4493
- top: 100% !important;
4494
- }
4495
-
4496
- .gl-right-auto {
4497
- right: auto;
4498
- }
4499
-
4500
- .gl-right-auto\! {
4501
- right: auto !important;
4502
- }
4503
-
4504
- .gl-right-0 {
4505
- right: 0;
4506
- }
4507
-
4508
- .gl-right-0\! {
4509
- right: 0 !important;
4510
- }
4511
-
4512
- .gl-right-1 {
4513
- right: $gl-spacing-scale-1;
4514
- }
4515
-
4516
- .gl-right-1\! {
4517
- right: $gl-spacing-scale-1 !important;
4518
- }
4519
-
4520
- .gl-right-2 {
4521
- right: $gl-spacing-scale-2;
4522
- }
4523
-
4524
- .gl-right-2\! {
4525
- right: $gl-spacing-scale-2 !important;
4526
- }
4527
-
4528
- .gl-right-3 {
4529
- right: $gl-spacing-scale-3;
4530
- }
4531
-
4532
- .gl-right-3\! {
4533
- right: $gl-spacing-scale-3 !important;
4534
- }
4535
-
4536
- .gl-right-4 {
4537
- right: $gl-spacing-scale-4;
4538
- }
4539
-
4540
- .gl-right-4\! {
4541
- right: $gl-spacing-scale-4 !important;
4542
- }
4543
-
4544
- .gl-right-5 {
4545
- right: $gl-spacing-scale-5;
4546
- }
4547
-
4548
- .gl-right-5\! {
4549
- right: $gl-spacing-scale-5 !important;
4550
- }
4551
-
4552
- .gl-right-6 {
4553
- right: $gl-spacing-scale-6;
4554
- }
4555
-
4556
- .gl-right-6\! {
4557
- right: $gl-spacing-scale-6 !important;
4558
- }
4559
-
4560
- .gl-right-7 {
4561
- right: $gl-spacing-scale-7;
4562
- }
4563
-
4564
- .gl-right-7\! {
4565
- right: $gl-spacing-scale-7 !important;
4566
- }
4567
-
4568
- .gl-bottom-0 {
4569
- bottom: 0;
4570
- }
4571
-
4572
- .gl-bottom-0\! {
4573
- bottom: 0 !important;
4574
- }
4575
-
4576
- .gl-bottom-1 {
4577
- bottom: $gl-spacing-scale-1;
4578
- }
4579
-
4580
- .gl-bottom-1\! {
4581
- bottom: $gl-spacing-scale-1 !important;
4582
- }
4583
-
4584
- .gl-bottom-2 {
4585
- bottom: $gl-spacing-scale-2;
4586
- }
4587
-
4588
- .gl-bottom-2\! {
4589
- bottom: $gl-spacing-scale-2 !important;
4590
- }
4591
-
4592
- .gl-bottom-3 {
4593
- bottom: $gl-spacing-scale-3;
4594
- }
4595
-
4596
- .gl-bottom-3\! {
4597
- bottom: $gl-spacing-scale-3 !important;
4598
- }
4599
-
4600
- .gl-bottom-4 {
4601
- bottom: $gl-spacing-scale-4;
4602
- }
4603
-
4604
- .gl-bottom-4\! {
4605
- bottom: $gl-spacing-scale-4 !important;
4606
- }
4607
-
4608
- .gl-bottom-5 {
4609
- bottom: $gl-spacing-scale-5;
4610
- }
4611
-
4612
- .gl-bottom-5\! {
4613
- bottom: $gl-spacing-scale-5 !important;
4614
- }
4615
-
4616
- .gl-bottom-6 {
4617
- bottom: $gl-spacing-scale-6;
4618
- }
4619
-
4620
- .gl-bottom-6\! {
4621
- bottom: $gl-spacing-scale-6 !important;
4622
- }
4623
-
4624
- .gl-bottom-7 {
4625
- bottom: $gl-spacing-scale-7;
4626
- }
4627
-
4628
- .gl-bottom-7\! {
4629
- bottom: $gl-spacing-scale-7 !important;
4630
- }
4631
-
4632
- .gl-left-auto {
4633
- left: auto;
4634
- }
4635
-
4636
- .gl-left-auto\! {
4637
- left: auto !important;
4638
- }
4639
-
4640
- .gl-left-0 {
4641
- left: 0;
4642
- }
4643
-
4644
- .gl-left-0\! {
4645
- left: 0 !important;
4646
- }
4647
-
4648
- .gl-left-1 {
4649
- left: $gl-spacing-scale-1;
4650
- }
4651
-
4652
- .gl-left-1\! {
4653
- left: $gl-spacing-scale-1 !important;
4654
- }
4655
-
4656
- .gl-left-2 {
4657
- left: $gl-spacing-scale-2;
4658
- }
4659
-
4660
- .gl-left-2\! {
4661
- left: $gl-spacing-scale-2 !important;
4662
- }
4663
-
4664
- .gl-left-3 {
4665
- left: $gl-spacing-scale-3;
4666
- }
4667
-
4668
- .gl-left-3\! {
4669
- left: $gl-spacing-scale-3 !important;
4670
- }
4671
-
4672
- .gl-left-4 {
4673
- left: $gl-spacing-scale-4;
4674
- }
4675
-
4676
- .gl-left-4\! {
4677
- left: $gl-spacing-scale-4 !important;
4678
- }
4679
-
4680
- .gl-left-5 {
4681
- left: $gl-spacing-scale-5;
4682
- }
4683
-
4684
- .gl-left-5\! {
4685
- left: $gl-spacing-scale-5 !important;
4686
- }
4687
-
4688
- .gl-left-6 {
4689
- left: $gl-spacing-scale-6;
4690
- }
4691
-
4692
- .gl-left-6\! {
4693
- left: $gl-spacing-scale-6 !important;
4694
- }
4695
-
4696
- .gl-left-7 {
4697
- left: $gl-spacing-scale-7;
4698
- }
4699
-
4700
- .gl-left-7\! {
4701
- left: $gl-spacing-scale-7 !important;
4702
- }
4703
-
4704
- .gl-left-n5 {
4705
- left: -$gl-spacing-scale-5;
4706
- }
4707
-
4708
- .gl-left-n5\! {
4709
- left: -$gl-spacing-scale-5 !important;
4710
- }
4711
-
4712
- .gl-left-n37 {
4713
- left: -$gl-spacing-scale-37;
4714
- }
4715
-
4716
- .gl-left-n37\! {
4717
- left: -$gl-spacing-scale-37 !important;
4718
- }
4719
-
4720
- .gl-left-50p {
4721
- left: 50%;
4722
- }
4723
-
4724
- .gl-left-50p\! {
4725
- left: 50% !important;
4726
- }
4727
-
4728
- .gl-top-n5 {
4729
- top: -$gl-spacing-scale-5;
4730
- }
4731
-
4732
- .gl-top-n5\! {
4733
- top: -$gl-spacing-scale-5 !important;
4734
- }
4735
-
4736
- .gl-float-left {
4737
- float: left;
4738
- }
4739
-
4740
- .gl-float-left\! {
4741
- float: left !important;
4742
- }
4743
-
4744
- .gl-float-right {
4745
- float: right;
4746
- }
4747
-
4748
- .gl-float-right\! {
4749
- float: right !important;
4750
- }
4751
4345
  .gl-w-auto {
4752
4346
  width: auto;
4753
4347
  }
@@ -1,3 +1,12 @@
1
+ /**
2
+ * This file contains deprecated utility mixins that we don't have an immediate migration path for.
3
+ * Please do not add any mixin in here unless you're actively working on migrating to Tailwind CSS.
4
+ */
5
+
6
+ @mixin gl-deprecated-top-66vh {
7
+ top: 66vh;
8
+ }
9
+
1
10
  /* stylelint-disable property-no-vendor-prefix */
2
11
  @mixin gl-number-as-text-input {
3
12
  &::-webkit-outer-spin-button,
@@ -17,7 +17,6 @@
17
17
 
18
18
  @import './accessibility';
19
19
  @import './animation';
20
- @import './appearance';
21
20
  @import './background';
22
21
  @import './border';
23
22
  @import './box-shadow';
@@ -33,7 +32,6 @@
33
32
  @import './outline';
34
33
  @import './overflow';
35
34
  @import './pointer-events';
36
- @import './position';
37
35
  @import './sizing';
38
36
  @import './spacing';
39
37
  @import './svg';
@@ -44,3 +42,6 @@
44
42
  @import './vertical-align';
45
43
  @import './visibility';
46
44
  @import './z-index';
45
+
46
+ // Deprecated mixins that don't have a migration path yet
47
+ @import './deprecated';
@@ -1,223 +0,0 @@
1
- /**
2
- * Position utilities.
3
- *
4
- * naming convention: gl-{property-value}
5
- */
6
- @mixin gl-relative {
7
- position: relative;
8
- }
9
-
10
- @mixin gl-absolute {
11
- position: absolute;
12
- }
13
-
14
- @mixin gl-static {
15
- position: static;
16
- }
17
-
18
- @mixin gl-fixed {
19
- position: fixed;
20
- }
21
-
22
- @mixin gl-sticky {
23
- position: sticky;
24
- }
25
-
26
- @mixin gl-lg-sticky {
27
- @include gl-media-breakpoint-up(lg) {
28
- @include gl-sticky;
29
- }
30
- }
31
-
32
- /**
33
- * Placement utilities.
34
- *
35
- * For absolute or fixed positioned elements
36
- *
37
- * naming convention: gl-{position}-{spacing-scale-index}
38
- */
39
-
40
- /**
41
- * Placement utilities
42
- *
43
- * naming convention: gl-{position}-{value}
44
- */
45
- @mixin gl-top-auto {
46
- top: auto;
47
- }
48
-
49
- @mixin gl-top-0 {
50
- top: 0;
51
- }
52
-
53
- @mixin gl-top-1 {
54
- top: $gl-spacing-scale-1;
55
- }
56
-
57
- @mixin gl-top-2 {
58
- top: $gl-spacing-scale-2;
59
- }
60
-
61
- @mixin gl-top-3 {
62
- top: $gl-spacing-scale-3;
63
- }
64
-
65
- @mixin gl-top-4 {
66
- top: $gl-spacing-scale-4;
67
- }
68
-
69
- @mixin gl-top-5 {
70
- top: $gl-spacing-scale-5;
71
- }
72
-
73
- @mixin gl-top-6 {
74
- top: $gl-spacing-scale-6;
75
- }
76
-
77
- @mixin gl-top-7 {
78
- top: $gl-spacing-scale-7;
79
- }
80
-
81
- @mixin gl-top-8 {
82
- top: $gl-spacing-scale-8;
83
- }
84
-
85
- @mixin gl-top-half {
86
- top: 50%;
87
- }
88
-
89
- @mixin gl-top-66vh {
90
- top: 66vh;
91
- }
92
-
93
- @mixin gl-top-full {
94
- top: 100%;
95
- }
96
-
97
- @mixin gl-right-auto {
98
- right: auto;
99
- }
100
-
101
- @mixin gl-right-0 {
102
- right: 0;
103
- }
104
-
105
- @mixin gl-right-1 {
106
- right: $gl-spacing-scale-1;
107
- }
108
-
109
- @mixin gl-right-2 {
110
- right: $gl-spacing-scale-2;
111
- }
112
-
113
- @mixin gl-right-3 {
114
- right: $gl-spacing-scale-3;
115
- }
116
-
117
- @mixin gl-right-4 {
118
- right: $gl-spacing-scale-4;
119
- }
120
-
121
- @mixin gl-right-5 {
122
- right: $gl-spacing-scale-5;
123
- }
124
-
125
- @mixin gl-right-6 {
126
- right: $gl-spacing-scale-6;
127
- }
128
-
129
- @mixin gl-right-7 {
130
- right: $gl-spacing-scale-7;
131
- }
132
-
133
- @mixin gl-bottom-0 {
134
- bottom: 0;
135
- }
136
-
137
- @mixin gl-bottom-1 {
138
- bottom: $gl-spacing-scale-1;
139
- }
140
-
141
- @mixin gl-bottom-2 {
142
- bottom: $gl-spacing-scale-2;
143
- }
144
-
145
- @mixin gl-bottom-3 {
146
- bottom: $gl-spacing-scale-3;
147
- }
148
-
149
- @mixin gl-bottom-4 {
150
- bottom: $gl-spacing-scale-4;
151
- }
152
-
153
- @mixin gl-bottom-5 {
154
- bottom: $gl-spacing-scale-5;
155
- }
156
-
157
- @mixin gl-bottom-6 {
158
- bottom: $gl-spacing-scale-6;
159
- }
160
-
161
- @mixin gl-bottom-7 {
162
- bottom: $gl-spacing-scale-7;
163
- }
164
-
165
- @mixin gl-left-auto {
166
- left: auto;
167
- }
168
-
169
- @mixin gl-left-0 {
170
- left: 0;
171
- }
172
-
173
- @mixin gl-left-1 {
174
- left: $gl-spacing-scale-1;
175
- }
176
-
177
- @mixin gl-left-2 {
178
- left: $gl-spacing-scale-2;
179
- }
180
-
181
- @mixin gl-left-3 {
182
- left: $gl-spacing-scale-3;
183
- }
184
-
185
- @mixin gl-left-4 {
186
- left: $gl-spacing-scale-4;
187
- }
188
-
189
- @mixin gl-left-5 {
190
- left: $gl-spacing-scale-5;
191
- }
192
-
193
- @mixin gl-left-6 {
194
- left: $gl-spacing-scale-6;
195
- }
196
-
197
- @mixin gl-left-7 {
198
- left: $gl-spacing-scale-7;
199
- }
200
-
201
- @mixin gl-left-n5 {
202
- left: -$gl-spacing-scale-5;
203
- }
204
-
205
- @mixin gl-left-n37 {
206
- left: -$gl-spacing-scale-37;
207
- }
208
-
209
- @mixin gl-left-50p {
210
- left: 50%;
211
- }
212
-
213
- @mixin gl-top-n5 {
214
- top: -$gl-spacing-scale-5;
215
- }
216
-
217
- @mixin gl-float-left {
218
- float: left;
219
- }
220
-
221
- @mixin gl-float-right {
222
- float: right;
223
- }