@gitlab/ui 122.1.1 → 122.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.
Files changed (42) hide show
  1. package/dist/index.css +2 -2
  2. package/dist/index.css.map +1 -1
  3. package/dist/tailwind.css +1 -1
  4. package/dist/tailwind.css.map +1 -1
  5. package/dist/tokens/build/js/tokens.dark.js +1 -48
  6. package/dist/tokens/build/js/tokens.js +1 -48
  7. package/dist/tokens/css/tokens.css +0 -47
  8. package/dist/tokens/css/tokens.dark.css +0 -47
  9. package/dist/tokens/docs/tokens-tailwind-docs.dark.json +0 -1294
  10. package/dist/tokens/docs/tokens-tailwind-docs.json +0 -1294
  11. package/dist/tokens/figma/constants.tokens.json +0 -226
  12. package/dist/tokens/figma/semantic.tokens.json +0 -157
  13. package/dist/tokens/js/tokens.dark.js +0 -47
  14. package/dist/tokens/js/tokens.js +0 -47
  15. package/dist/tokens/json/tokens.dark.json +4779 -6026
  16. package/dist/tokens/json/tokens.json +4798 -6045
  17. package/dist/tokens/scss/_tokens.dark.scss +0 -47
  18. package/dist/tokens/scss/_tokens.scss +0 -47
  19. package/dist/tokens/scss/_tokens_custom_properties.scss +0 -47
  20. package/dist/tokens/tailwind/tokens.cjs +0 -4
  21. package/package.json +2 -2
  22. package/src/components/base/new_dropdowns/dropdown.scss +1 -1
  23. package/src/components/base/popover/popover.scss +1 -1
  24. package/src/components/base/tooltip/tooltip.scss +2 -2
  25. package/src/scss/variables.scss +37 -0
  26. package/src/tokens/build/css/tokens.css +0 -47
  27. package/src/tokens/build/css/tokens.dark.css +0 -47
  28. package/src/tokens/build/docs/tokens-tailwind-docs.dark.json +0 -1294
  29. package/src/tokens/build/docs/tokens-tailwind-docs.json +0 -1294
  30. package/src/tokens/build/figma/constants.tokens.json +0 -226
  31. package/src/tokens/build/figma/semantic.tokens.json +0 -157
  32. package/src/tokens/build/js/tokens.dark.js +0 -47
  33. package/src/tokens/build/js/tokens.js +0 -47
  34. package/src/tokens/build/json/tokens.dark.json +4779 -6026
  35. package/src/tokens/build/json/tokens.json +4798 -6045
  36. package/src/tokens/build/scss/_tokens.dark.scss +0 -47
  37. package/src/tokens/build/scss/_tokens.scss +0 -47
  38. package/src/tokens/build/scss/_tokens_custom_properties.scss +0 -47
  39. package/src/tokens/build/tailwind/tokens.cjs +0 -53
  40. package/src/tokens/semantic/border.tokens.json +0 -157
  41. package/tailwind.defaults.js +71 -4
  42. package/src/tokens/constant/spacing_scale.tokens.json +0 -228
@@ -1702,231 +1702,5 @@
1702
1702
  "com.figma.scope": []
1703
1703
  }
1704
1704
  }
1705
- },
1706
- "spacing-scale": {
1707
- "0": {
1708
- "$value": "0",
1709
- "$type": "dimension",
1710
- "$extensions": {
1711
- "com.figma.scope": []
1712
- }
1713
- },
1714
- "1": {
1715
- "$value": "0.125rem",
1716
- "$type": "dimension",
1717
- "$extensions": {
1718
- "com.figma.scope": []
1719
- }
1720
- },
1721
- "2": {
1722
- "$value": "0.25rem",
1723
- "$type": "dimension",
1724
- "$extensions": {
1725
- "com.figma.scope": []
1726
- }
1727
- },
1728
- "3": {
1729
- "$value": "0.5rem",
1730
- "$type": "dimension",
1731
- "$extensions": {
1732
- "com.figma.scope": []
1733
- }
1734
- },
1735
- "4": {
1736
- "$value": "0.75rem",
1737
- "$type": "dimension",
1738
- "$extensions": {
1739
- "com.figma.scope": []
1740
- }
1741
- },
1742
- "5": {
1743
- "$value": "1rem",
1744
- "$type": "dimension",
1745
- "$extensions": {
1746
- "com.figma.scope": []
1747
- }
1748
- },
1749
- "6": {
1750
- "$value": "1.5rem",
1751
- "$type": "dimension",
1752
- "$extensions": {
1753
- "com.figma.scope": []
1754
- }
1755
- },
1756
- "7": {
1757
- "$value": "2rem",
1758
- "$type": "dimension",
1759
- "$extensions": {
1760
- "com.figma.scope": []
1761
- }
1762
- },
1763
- "8": {
1764
- "$value": "2.5rem",
1765
- "$type": "dimension",
1766
- "$extensions": {
1767
- "com.figma.scope": []
1768
- }
1769
- },
1770
- "9": {
1771
- "$value": "3rem",
1772
- "$type": "dimension",
1773
- "$extensions": {
1774
- "com.figma.scope": []
1775
- }
1776
- },
1777
- "10": {
1778
- "$value": "3.5rem",
1779
- "$type": "dimension",
1780
- "$extensions": {
1781
- "com.figma.scope": []
1782
- }
1783
- },
1784
- "11": {
1785
- "$value": "4rem",
1786
- "$type": "dimension",
1787
- "$extensions": {
1788
- "com.figma.scope": []
1789
- }
1790
- },
1791
- "12": {
1792
- "$value": "5rem",
1793
- "$type": "dimension",
1794
- "$extensions": {
1795
- "com.figma.scope": []
1796
- }
1797
- },
1798
- "13": {
1799
- "$value": "6rem",
1800
- "$type": "dimension",
1801
- "$extensions": {
1802
- "com.figma.scope": []
1803
- }
1804
- },
1805
- "15": {
1806
- "$value": "7.5rem",
1807
- "$type": "dimension",
1808
- "$extensions": {
1809
- "com.figma.scope": []
1810
- }
1811
- },
1812
- "18": {
1813
- "$value": "9rem",
1814
- "$type": "dimension",
1815
- "$extensions": {
1816
- "com.figma.scope": []
1817
- }
1818
- },
1819
- "20": {
1820
- "$value": "10rem",
1821
- "$type": "dimension",
1822
- "$extensions": {
1823
- "com.figma.scope": []
1824
- }
1825
- },
1826
- "26": {
1827
- "$value": "13rem",
1828
- "$type": "dimension",
1829
- "$extensions": {
1830
- "com.figma.scope": []
1831
- }
1832
- },
1833
- "28": {
1834
- "$value": "14rem",
1835
- "$type": "dimension",
1836
- "$extensions": {
1837
- "com.figma.scope": []
1838
- }
1839
- },
1840
- "30": {
1841
- "$value": "15rem",
1842
- "$type": "dimension",
1843
- "$extensions": {
1844
- "com.figma.scope": []
1845
- }
1846
- },
1847
- "31": {
1848
- "$value": "15.5rem",
1849
- "$type": "dimension",
1850
- "$extensions": {
1851
- "com.figma.scope": []
1852
- }
1853
- },
1854
- "33": {
1855
- "$value": "16.5rem",
1856
- "$type": "dimension",
1857
- "$extensions": {
1858
- "com.figma.scope": []
1859
- }
1860
- },
1861
- "34": {
1862
- "$value": "17rem",
1863
- "$type": "dimension",
1864
- "$extensions": {
1865
- "com.figma.scope": []
1866
- }
1867
- },
1868
- "37": {
1869
- "$value": "18.5rem",
1870
- "$type": "dimension",
1871
- "$extensions": {
1872
- "com.figma.scope": []
1873
- }
1874
- },
1875
- "48": {
1876
- "$value": "24rem",
1877
- "$type": "dimension",
1878
- "$extensions": {
1879
- "com.figma.scope": []
1880
- }
1881
- },
1882
- "62": {
1883
- "$value": "31rem",
1884
- "$type": "dimension",
1885
- "$extensions": {
1886
- "com.figma.scope": []
1887
- }
1888
- },
1889
- "75": {
1890
- "$value": "37.5rem",
1891
- "$type": "dimension",
1892
- "$extensions": {
1893
- "com.figma.scope": []
1894
- }
1895
- },
1896
- "80": {
1897
- "$value": "40rem",
1898
- "$type": "dimension",
1899
- "$extensions": {
1900
- "com.figma.scope": []
1901
- }
1902
- },
1903
- "88": {
1904
- "$value": "44rem",
1905
- "$type": "dimension",
1906
- "$extensions": {
1907
- "com.figma.scope": []
1908
- }
1909
- },
1910
- "px": {
1911
- "$value": "1px",
1912
- "$type": "dimension",
1913
- "$extensions": {
1914
- "com.figma.scope": []
1915
- }
1916
- },
1917
- "2-5": {
1918
- "$value": "0.375rem",
1919
- "$type": "dimension",
1920
- "$extensions": {
1921
- "com.figma.scope": []
1922
- }
1923
- },
1924
- "11-5": {
1925
- "$value": "4.5rem",
1926
- "$type": "dimension",
1927
- "$extensions": {
1928
- "com.figma.scope": []
1929
- }
1930
- }
1931
1705
  }
1932
1706
  }
@@ -1163,163 +1163,6 @@
1163
1163
  ]
1164
1164
  }
1165
1165
  }
1166
- },
1167
- "radius": {
1168
- "6": {
1169
- "$value": "{spacing-scale.6}",
1170
- "$type": "dimension",
1171
- "$description": "",
1172
- "$deprecated": true,
1173
- "$extensions": {
1174
- "com.figma.scope": [
1175
- "CORNER_RADIUS"
1176
- ]
1177
- }
1178
- },
1179
- "7": {
1180
- "$value": "{spacing-scale.7}",
1181
- "$type": "dimension",
1182
- "$description": "",
1183
- "$deprecated": true,
1184
- "$extensions": {
1185
- "com.figma.scope": [
1186
- "CORNER_RADIUS"
1187
- ]
1188
- }
1189
- },
1190
- "none": {
1191
- "$value": "{spacing-scale.0}",
1192
- "$type": "dimension",
1193
- "$description": "",
1194
- "$extensions": {
1195
- "com.figma.scope": [
1196
- "CORNER_RADIUS"
1197
- ]
1198
- }
1199
- },
1200
- "base": {
1201
- "$value": "{spacing-scale.2}",
1202
- "$type": "dimension",
1203
- "$description": "",
1204
- "$extensions": {
1205
- "com.figma.scope": [
1206
- "CORNER_RADIUS"
1207
- ]
1208
- }
1209
- },
1210
- "xs": {
1211
- "$value": "{spacing-scale.px}",
1212
- "$type": "dimension",
1213
- "$description": "",
1214
- "$extensions": {
1215
- "com.figma.scope": [
1216
- "CORNER_RADIUS"
1217
- ]
1218
- }
1219
- },
1220
- "sm": {
1221
- "$value": "{spacing-scale.1}",
1222
- "$type": "dimension",
1223
- "$description": "",
1224
- "$extensions": {
1225
- "com.figma.scope": [
1226
- "CORNER_RADIUS"
1227
- ]
1228
- }
1229
- },
1230
- "md": {
1231
- "$value": "{spacing-scale.2}",
1232
- "$type": "dimension",
1233
- "$description": "",
1234
- "$extensions": {
1235
- "com.figma.scope": [
1236
- "CORNER_RADIUS"
1237
- ]
1238
- }
1239
- },
1240
- "lg": {
1241
- "$value": "{spacing-scale.3}",
1242
- "$type": "dimension",
1243
- "$description": "",
1244
- "$extensions": {
1245
- "com.figma.scope": [
1246
- "CORNER_RADIUS"
1247
- ]
1248
- }
1249
- },
1250
- "xl": {
1251
- "$value": "{spacing-scale.4}",
1252
- "$type": "dimension",
1253
- "$description": "",
1254
- "$extensions": {
1255
- "com.figma.scope": [
1256
- "CORNER_RADIUS"
1257
- ]
1258
- }
1259
- },
1260
- "2xl": {
1261
- "$value": "{spacing-scale.5}",
1262
- "$type": "dimension",
1263
- "$description": "",
1264
- "$extensions": {
1265
- "com.figma.scope": [
1266
- "CORNER_RADIUS"
1267
- ]
1268
- }
1269
- },
1270
- "3xl": {
1271
- "$value": "{spacing-scale.6}",
1272
- "$type": "dimension",
1273
- "$description": "",
1274
- "$extensions": {
1275
- "com.figma.scope": [
1276
- "CORNER_RADIUS"
1277
- ]
1278
- }
1279
- },
1280
- "small": {
1281
- "$value": "{spacing-scale.1}",
1282
- "$type": "dimension",
1283
- "$description": "",
1284
- "$deprecated": true,
1285
- "$extensions": {
1286
- "com.figma.scope": [
1287
- "CORNER_RADIUS"
1288
- ]
1289
- }
1290
- },
1291
- "large": {
1292
- "$value": "{spacing-scale.3}",
1293
- "$type": "dimension",
1294
- "$description": "",
1295
- "$deprecated": true,
1296
- "$extensions": {
1297
- "com.figma.scope": [
1298
- "CORNER_RADIUS"
1299
- ]
1300
- }
1301
- },
1302
- "pill": {
1303
- "$value": "{spacing-scale.4}",
1304
- "$type": "dimension",
1305
- "$description": "",
1306
- "$deprecated": true,
1307
- "$extensions": {
1308
- "com.figma.scope": [
1309
- "CORNER_RADIUS"
1310
- ]
1311
- }
1312
- },
1313
- "full": {
1314
- "$value": "9999px",
1315
- "$type": "dimension",
1316
- "$description": "",
1317
- "$extensions": {
1318
- "com.figma.scope": [
1319
- "CORNER_RADIUS"
1320
- ]
1321
- }
1322
- }
1323
1166
  }
1324
1167
  },
1325
1168
  "control": {
@@ -238,38 +238,6 @@ export const GL_LINE_HEIGHT_36 = "2.25rem";
238
238
  export const GL_LINE_HEIGHT_42 = "2.625rem";
239
239
  export const GL_LINE_HEIGHT_44 = "2.75rem";
240
240
  export const GL_LINE_HEIGHT_52 = "3.25rem";
241
- export const GL_SPACING_SCALE_0 = "0";
242
- export const GL_SPACING_SCALE_1 = "0.125rem";
243
- export const GL_SPACING_SCALE_2 = "0.25rem";
244
- export const GL_SPACING_SCALE_3 = "0.5rem";
245
- export const GL_SPACING_SCALE_4 = "0.75rem";
246
- export const GL_SPACING_SCALE_5 = "1rem";
247
- export const GL_SPACING_SCALE_6 = "1.5rem";
248
- export const GL_SPACING_SCALE_7 = "2rem";
249
- export const GL_SPACING_SCALE_8 = "2.5rem";
250
- export const GL_SPACING_SCALE_9 = "3rem";
251
- export const GL_SPACING_SCALE_10 = "3.5rem";
252
- export const GL_SPACING_SCALE_11 = "4rem";
253
- export const GL_SPACING_SCALE_12 = "5rem";
254
- export const GL_SPACING_SCALE_13 = "6rem";
255
- export const GL_SPACING_SCALE_15 = "7.5rem";
256
- export const GL_SPACING_SCALE_18 = "9rem";
257
- export const GL_SPACING_SCALE_20 = "10rem";
258
- export const GL_SPACING_SCALE_26 = "13rem";
259
- export const GL_SPACING_SCALE_28 = "14rem";
260
- export const GL_SPACING_SCALE_30 = "15rem";
261
- export const GL_SPACING_SCALE_31 = "15.5rem";
262
- export const GL_SPACING_SCALE_33 = "16.5rem";
263
- export const GL_SPACING_SCALE_34 = "17rem";
264
- export const GL_SPACING_SCALE_37 = "18.5rem";
265
- export const GL_SPACING_SCALE_48 = "24rem";
266
- export const GL_SPACING_SCALE_62 = "31rem";
267
- export const GL_SPACING_SCALE_75 = "37.5rem";
268
- export const GL_SPACING_SCALE_80 = "40rem";
269
- export const GL_SPACING_SCALE_88 = "44rem";
270
- export const GL_SPACING_SCALE_PX = "1px";
271
- export const GL_SPACING_SCALE_2_5 = "0.375rem";
272
- export const GL_SPACING_SCALE_11_5 = "4.5rem";
273
241
  export const GL_ALERT_NEUTRAL_TITLE_COLOR = "#fff";
274
242
  export const GL_ALERT_NEUTRAL_BACKGROUND_COLOR = "#28272d";
275
243
  export const GL_ALERT_NEUTRAL_BORDER_TOP_COLOR = "#89888d";
@@ -1037,21 +1005,6 @@ export const GL_BORDER_COLOR_SUBTLE = "#3a383f";
1037
1005
  export const GL_BORDER_COLOR_STRONG = "#626168";
1038
1006
  export const GL_BORDER_COLOR_SECTION = "#18171d";
1039
1007
  export const GL_BORDER_COLOR_TRANSPARENT = "transparent";
1040
- export const GL_BORDER_RADIUS_6 = "1.5rem";
1041
- export const GL_BORDER_RADIUS_7 = "2rem";
1042
- export const GL_BORDER_RADIUS_NONE = "0";
1043
- export const GL_BORDER_RADIUS_BASE = "0.25rem";
1044
- export const GL_BORDER_RADIUS_XS = "1px";
1045
- export const GL_BORDER_RADIUS_SM = "0.125rem";
1046
- export const GL_BORDER_RADIUS_MD = "0.25rem";
1047
- export const GL_BORDER_RADIUS_LG = "0.5rem";
1048
- export const GL_BORDER_RADIUS_XL = "0.75rem";
1049
- export const GL_BORDER_RADIUS_2XL = "1rem";
1050
- export const GL_BORDER_RADIUS_3XL = "1.5rem";
1051
- export const GL_BORDER_RADIUS_SMALL = "0.125rem";
1052
- export const GL_BORDER_RADIUS_LARGE = "0.5rem";
1053
- export const GL_BORDER_RADIUS_PILL = "0.75rem";
1054
- export const GL_BORDER_RADIUS_FULL = "9999px";
1055
1008
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = "rgba(05, 05, 06, 0.4)";
1056
1009
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = "rgba(255, 255, 255, 0.04)";
1057
1010
  export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION =
@@ -238,38 +238,6 @@ export const GL_LINE_HEIGHT_36 = "2.25rem";
238
238
  export const GL_LINE_HEIGHT_42 = "2.625rem";
239
239
  export const GL_LINE_HEIGHT_44 = "2.75rem";
240
240
  export const GL_LINE_HEIGHT_52 = "3.25rem";
241
- export const GL_SPACING_SCALE_0 = "0";
242
- export const GL_SPACING_SCALE_1 = "0.125rem";
243
- export const GL_SPACING_SCALE_2 = "0.25rem";
244
- export const GL_SPACING_SCALE_3 = "0.5rem";
245
- export const GL_SPACING_SCALE_4 = "0.75rem";
246
- export const GL_SPACING_SCALE_5 = "1rem";
247
- export const GL_SPACING_SCALE_6 = "1.5rem";
248
- export const GL_SPACING_SCALE_7 = "2rem";
249
- export const GL_SPACING_SCALE_8 = "2.5rem";
250
- export const GL_SPACING_SCALE_9 = "3rem";
251
- export const GL_SPACING_SCALE_10 = "3.5rem";
252
- export const GL_SPACING_SCALE_11 = "4rem";
253
- export const GL_SPACING_SCALE_12 = "5rem";
254
- export const GL_SPACING_SCALE_13 = "6rem";
255
- export const GL_SPACING_SCALE_15 = "7.5rem";
256
- export const GL_SPACING_SCALE_18 = "9rem";
257
- export const GL_SPACING_SCALE_20 = "10rem";
258
- export const GL_SPACING_SCALE_26 = "13rem";
259
- export const GL_SPACING_SCALE_28 = "14rem";
260
- export const GL_SPACING_SCALE_30 = "15rem";
261
- export const GL_SPACING_SCALE_31 = "15.5rem";
262
- export const GL_SPACING_SCALE_33 = "16.5rem";
263
- export const GL_SPACING_SCALE_34 = "17rem";
264
- export const GL_SPACING_SCALE_37 = "18.5rem";
265
- export const GL_SPACING_SCALE_48 = "24rem";
266
- export const GL_SPACING_SCALE_62 = "31rem";
267
- export const GL_SPACING_SCALE_75 = "37.5rem";
268
- export const GL_SPACING_SCALE_80 = "40rem";
269
- export const GL_SPACING_SCALE_88 = "44rem";
270
- export const GL_SPACING_SCALE_PX = "1px";
271
- export const GL_SPACING_SCALE_2_5 = "0.375rem";
272
- export const GL_SPACING_SCALE_11_5 = "4.5rem";
273
241
  export const GL_ALERT_NEUTRAL_TITLE_COLOR = "#18171d";
274
242
  export const GL_ALERT_NEUTRAL_BACKGROUND_COLOR = "#ececef";
275
243
  export const GL_ALERT_NEUTRAL_BORDER_TOP_COLOR = "transparent";
@@ -1027,21 +995,6 @@ export const GL_BORDER_COLOR_SUBTLE = "#ececef";
1027
995
  export const GL_BORDER_COLOR_STRONG = "#bfbfc3";
1028
996
  export const GL_BORDER_COLOR_SECTION = "#dcdcde";
1029
997
  export const GL_BORDER_COLOR_TRANSPARENT = "transparent";
1030
- export const GL_BORDER_RADIUS_6 = "1.5rem";
1031
- export const GL_BORDER_RADIUS_7 = "2rem";
1032
- export const GL_BORDER_RADIUS_NONE = "0";
1033
- export const GL_BORDER_RADIUS_BASE = "0.25rem";
1034
- export const GL_BORDER_RADIUS_XS = "1px";
1035
- export const GL_BORDER_RADIUS_SM = "0.125rem";
1036
- export const GL_BORDER_RADIUS_MD = "0.25rem";
1037
- export const GL_BORDER_RADIUS_LG = "0.5rem";
1038
- export const GL_BORDER_RADIUS_XL = "0.75rem";
1039
- export const GL_BORDER_RADIUS_2XL = "1rem";
1040
- export const GL_BORDER_RADIUS_3XL = "1.5rem";
1041
- export const GL_BORDER_RADIUS_SMALL = "0.125rem";
1042
- export const GL_BORDER_RADIUS_LARGE = "0.5rem";
1043
- export const GL_BORDER_RADIUS_PILL = "0.75rem";
1044
- export const GL_BORDER_RADIUS_FULL = "9999px";
1045
998
  export const GL_CONTROL_BACKGROUND_COLOR_DEFAULT = "#fff";
1046
999
  export const GL_CONTROL_BACKGROUND_COLOR_DISABLED = "#fbfafd";
1047
1000
  export const GL_CONTROL_BACKGROUND_COLOR_CONCATENATION = "#fbfafd";