@primer/primitives 11.0.0-rc.a6a4b391 → 11.0.1-rc.84dc6db1

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 (74) hide show
  1. package/dist/css/functional/themes/dark-colorblind-high-contrast.css +38 -0
  2. package/dist/css/functional/themes/dark-colorblind.css +42 -4
  3. package/dist/css/functional/themes/dark-dimmed-high-contrast.css +38 -0
  4. package/dist/css/functional/themes/dark-dimmed.css +38 -0
  5. package/dist/css/functional/themes/dark-high-contrast.css +38 -0
  6. package/dist/css/functional/themes/dark-tritanopia-high-contrast.css +38 -0
  7. package/dist/css/functional/themes/dark-tritanopia.css +42 -4
  8. package/dist/css/functional/themes/dark.css +42 -4
  9. package/dist/css/functional/themes/light-colorblind-high-contrast.css +38 -0
  10. package/dist/css/functional/themes/light-colorblind.css +38 -0
  11. package/dist/css/functional/themes/light-high-contrast.css +38 -0
  12. package/dist/css/functional/themes/light-tritanopia-high-contrast.css +38 -0
  13. package/dist/css/functional/themes/light-tritanopia.css +38 -0
  14. package/dist/css/functional/themes/light.css +38 -0
  15. package/dist/docs/functional/themes/dark-colorblind-high-contrast.json +2701 -24
  16. package/dist/docs/functional/themes/dark-colorblind.json +2699 -24
  17. package/dist/docs/functional/themes/dark-dimmed-high-contrast.json +2701 -24
  18. package/dist/docs/functional/themes/dark-dimmed.json +2870 -193
  19. package/dist/docs/functional/themes/dark-high-contrast.json +2701 -24
  20. package/dist/docs/functional/themes/dark-tritanopia-high-contrast.json +2701 -24
  21. package/dist/docs/functional/themes/dark-tritanopia.json +2699 -24
  22. package/dist/docs/functional/themes/dark.json +2699 -24
  23. package/dist/docs/functional/themes/light-colorblind-high-contrast.json +2702 -25
  24. package/dist/docs/functional/themes/light-colorblind.json +2871 -194
  25. package/dist/docs/functional/themes/light-high-contrast.json +2702 -25
  26. package/dist/docs/functional/themes/light-tritanopia-high-contrast.json +2702 -25
  27. package/dist/docs/functional/themes/light-tritanopia.json +2871 -194
  28. package/dist/docs/functional/themes/light.json +2871 -194
  29. package/dist/figma/themes/dark-colorblind-high-contrast.json +304 -0
  30. package/dist/figma/themes/dark-colorblind.json +314 -11
  31. package/dist/figma/themes/dark-dimmed-high-contrast.json +304 -0
  32. package/dist/figma/themes/dark-dimmed.json +304 -0
  33. package/dist/figma/themes/dark-high-contrast.json +304 -0
  34. package/dist/figma/themes/dark-tritanopia-high-contrast.json +304 -0
  35. package/dist/figma/themes/dark-tritanopia.json +314 -11
  36. package/dist/figma/themes/dark.json +314 -11
  37. package/dist/figma/themes/light-colorblind-high-contrast.json +304 -0
  38. package/dist/figma/themes/light-colorblind.json +304 -0
  39. package/dist/figma/themes/light-high-contrast.json +304 -0
  40. package/dist/figma/themes/light-tritanopia-high-contrast.json +304 -0
  41. package/dist/figma/themes/light-tritanopia.json +304 -0
  42. package/dist/figma/themes/light.json +304 -0
  43. package/dist/internalCss/dark-colorblind-high-contrast.css +38 -0
  44. package/dist/internalCss/dark-colorblind.css +42 -4
  45. package/dist/internalCss/dark-dimmed-high-contrast.css +38 -0
  46. package/dist/internalCss/dark-dimmed.css +38 -0
  47. package/dist/internalCss/dark-high-contrast.css +38 -0
  48. package/dist/internalCss/dark-tritanopia-high-contrast.css +38 -0
  49. package/dist/internalCss/dark-tritanopia.css +42 -4
  50. package/dist/internalCss/dark.css +42 -4
  51. package/dist/internalCss/light-colorblind-high-contrast.css +38 -0
  52. package/dist/internalCss/light-colorblind.css +38 -0
  53. package/dist/internalCss/light-high-contrast.css +38 -0
  54. package/dist/internalCss/light-tritanopia-high-contrast.css +38 -0
  55. package/dist/internalCss/light-tritanopia.css +38 -0
  56. package/dist/internalCss/light.css +38 -0
  57. package/dist/styleLint/functional/themes/dark-colorblind-high-contrast.json +2701 -24
  58. package/dist/styleLint/functional/themes/dark-colorblind.json +2699 -24
  59. package/dist/styleLint/functional/themes/dark-dimmed-high-contrast.json +2701 -24
  60. package/dist/styleLint/functional/themes/dark-dimmed.json +2868 -191
  61. package/dist/styleLint/functional/themes/dark-high-contrast.json +2701 -24
  62. package/dist/styleLint/functional/themes/dark-tritanopia-high-contrast.json +2701 -24
  63. package/dist/styleLint/functional/themes/dark-tritanopia.json +2699 -24
  64. package/dist/styleLint/functional/themes/dark.json +2699 -24
  65. package/dist/styleLint/functional/themes/light-colorblind-high-contrast.json +2702 -25
  66. package/dist/styleLint/functional/themes/light-colorblind.json +2869 -192
  67. package/dist/styleLint/functional/themes/light-high-contrast.json +2702 -25
  68. package/dist/styleLint/functional/themes/light-tritanopia-high-contrast.json +2702 -25
  69. package/dist/styleLint/functional/themes/light-tritanopia.json +2869 -192
  70. package/dist/styleLint/functional/themes/light.json +2869 -192
  71. package/package.json +1 -1
  72. package/src/tokens/component/label.json5 +760 -0
  73. package/src/tokens/functional/color/control.json5 +1 -1
  74. package/src/tokens/functional/color/fgColor.json5 +0 -1
@@ -3650,6 +3650,22 @@
3650
3650
  "group": "component",
3651
3651
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3652
3652
  },
3653
+ {
3654
+ "name": "label/green/borderColor",
3655
+ "value": {
3656
+ "r": 0.2549019607843137,
3657
+ "g": 0.7058823529411765,
3658
+ "b": 0.27058823529411763,
3659
+ "a": 1
3660
+ },
3661
+ "type": "COLOR",
3662
+ "refId": "mode/label/green/borderColor",
3663
+ "reference": "mode/label/green/fgColor/rest",
3664
+ "collection": "mode",
3665
+ "mode": "dark tritanopia high contrast",
3666
+ "group": "component",
3667
+ "scopes": ["STROKE_COLOR"]
3668
+ },
3653
3669
  {
3654
3670
  "name": "label/orange/bgColor/rest",
3655
3671
  "value": {
@@ -3746,6 +3762,22 @@
3746
3762
  "group": "component",
3747
3763
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3748
3764
  },
3765
+ {
3766
+ "name": "label/orange/borderColor",
3767
+ "value": {
3768
+ "r": 0.9294117647058824,
3769
+ "g": 0.5137254901960784,
3770
+ "b": 0.14901960784313725,
3771
+ "a": 1
3772
+ },
3773
+ "type": "COLOR",
3774
+ "refId": "mode/label/orange/borderColor",
3775
+ "reference": "mode/label/orange/fgColor/rest",
3776
+ "collection": "mode",
3777
+ "mode": "dark tritanopia high contrast",
3778
+ "group": "component",
3779
+ "scopes": ["STROKE_COLOR"]
3780
+ },
3749
3781
  {
3750
3782
  "name": "label/purple/bgColor/rest",
3751
3783
  "value": {
@@ -3842,6 +3874,22 @@
3842
3874
  "group": "component",
3843
3875
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3844
3876
  },
3877
+ {
3878
+ "name": "label/purple/borderColor",
3879
+ "value": {
3880
+ "r": 0.7137254901960784,
3881
+ "g": 0.5294117647058824,
3882
+ "b": 0.9686274509803922,
3883
+ "a": 1
3884
+ },
3885
+ "type": "COLOR",
3886
+ "refId": "mode/label/purple/borderColor",
3887
+ "reference": "mode/label/purple/fgColor/rest",
3888
+ "collection": "mode",
3889
+ "mode": "dark tritanopia high contrast",
3890
+ "group": "component",
3891
+ "scopes": ["STROKE_COLOR"]
3892
+ },
3845
3893
  {
3846
3894
  "name": "label/red/bgColor/rest",
3847
3895
  "value": {
@@ -3938,6 +3986,22 @@
3938
3986
  "group": "component",
3939
3987
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
3940
3988
  },
3989
+ {
3990
+ "name": "label/red/borderColor",
3991
+ "value": {
3992
+ "r": 0.9490196078431372,
3993
+ "g": 0.49019607843137253,
3994
+ "b": 0.5137254901960784,
3995
+ "a": 1
3996
+ },
3997
+ "type": "COLOR",
3998
+ "refId": "mode/label/red/borderColor",
3999
+ "reference": "mode/label/red/fgColor/rest",
4000
+ "collection": "mode",
4001
+ "mode": "dark tritanopia high contrast",
4002
+ "group": "component",
4003
+ "scopes": ["STROKE_COLOR"]
4004
+ },
3941
4005
  {
3942
4006
  "name": "label/yellow/bgColor/rest",
3943
4007
  "value": {
@@ -4034,6 +4098,22 @@
4034
4098
  "group": "component",
4035
4099
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4036
4100
  },
4101
+ {
4102
+ "name": "label/yellow/borderColor",
4103
+ "value": {
4104
+ "r": 0.8274509803921568,
4105
+ "g": 0.5686274509803921,
4106
+ "b": 0.050980392156862744,
4107
+ "a": 1
4108
+ },
4109
+ "type": "COLOR",
4110
+ "refId": "mode/label/yellow/borderColor",
4111
+ "reference": "mode/label/yellow/fgColor/rest",
4112
+ "collection": "mode",
4113
+ "mode": "dark tritanopia high contrast",
4114
+ "group": "component",
4115
+ "scopes": ["STROKE_COLOR"]
4116
+ },
4037
4117
  {
4038
4118
  "name": "label/gray/bgColor/rest",
4039
4119
  "value": {
@@ -4130,6 +4210,22 @@
4130
4210
  "group": "component",
4131
4211
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4132
4212
  },
4213
+ {
4214
+ "name": "label/gray/borderColor",
4215
+ "value": {
4216
+ "r": 0.5725490196078431,
4217
+ "g": 0.6313725490196078,
4218
+ "b": 0.7098039215686275,
4219
+ "a": 1
4220
+ },
4221
+ "type": "COLOR",
4222
+ "refId": "mode/label/gray/borderColor",
4223
+ "reference": "mode/label/gray/fgColor/rest",
4224
+ "collection": "mode",
4225
+ "mode": "dark tritanopia high contrast",
4226
+ "group": "component",
4227
+ "scopes": ["STROKE_COLOR"]
4228
+ },
4133
4229
  {
4134
4230
  "name": "label/auburn/bgColor/rest",
4135
4231
  "value": {
@@ -4226,6 +4322,22 @@
4226
4322
  "group": "component",
4227
4323
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4228
4324
  },
4325
+ {
4326
+ "name": "label/auburn/borderColor",
4327
+ "value": {
4328
+ "r": 0.7490196078431373,
4329
+ "g": 0.5843137254901961,
4330
+ "b": 0.5725490196078431,
4331
+ "a": 1
4332
+ },
4333
+ "type": "COLOR",
4334
+ "refId": "mode/label/auburn/borderColor",
4335
+ "reference": "mode/label/auburn/fgColor/rest",
4336
+ "collection": "mode",
4337
+ "mode": "dark tritanopia high contrast",
4338
+ "group": "component",
4339
+ "scopes": ["STROKE_COLOR"]
4340
+ },
4229
4341
  {
4230
4342
  "name": "label/brown/bgColor/rest",
4231
4343
  "value": {
@@ -4322,6 +4434,22 @@
4322
4434
  "group": "component",
4323
4435
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4324
4436
  },
4437
+ {
4438
+ "name": "label/brown/borderColor",
4439
+ "value": {
4440
+ "r": 0.7137254901960784,
4441
+ "g": 0.6039215686274509,
4442
+ "b": 0.42745098039215684,
4443
+ "a": 1
4444
+ },
4445
+ "type": "COLOR",
4446
+ "refId": "mode/label/brown/borderColor",
4447
+ "reference": "mode/label/brown/fgColor/rest",
4448
+ "collection": "mode",
4449
+ "mode": "dark tritanopia high contrast",
4450
+ "group": "component",
4451
+ "scopes": ["STROKE_COLOR"]
4452
+ },
4325
4453
  {
4326
4454
  "name": "label/lemon/bgColor/rest",
4327
4455
  "value": {
@@ -4418,6 +4546,22 @@
4418
4546
  "group": "component",
4419
4547
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4420
4548
  },
4549
+ {
4550
+ "name": "label/lemon/borderColor",
4551
+ "value": {
4552
+ "r": 0.7294117647058823,
4553
+ "g": 0.6078431372549019,
4554
+ "b": 0.07058823529411765,
4555
+ "a": 1
4556
+ },
4557
+ "type": "COLOR",
4558
+ "refId": "mode/label/lemon/borderColor",
4559
+ "reference": "mode/label/lemon/fgColor/rest",
4560
+ "collection": "mode",
4561
+ "mode": "dark tritanopia high contrast",
4562
+ "group": "component",
4563
+ "scopes": ["STROKE_COLOR"]
4564
+ },
4421
4565
  {
4422
4566
  "name": "label/olive/bgColor/rest",
4423
4567
  "value": {
@@ -4514,6 +4658,22 @@
4514
4658
  "group": "component",
4515
4659
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4516
4660
  },
4661
+ {
4662
+ "name": "label/olive/borderColor",
4663
+ "value": {
4664
+ "r": 0.6352941176470588,
4665
+ "g": 0.6509803921568628,
4666
+ "b": 0.14901960784313725,
4667
+ "a": 1
4668
+ },
4669
+ "type": "COLOR",
4670
+ "refId": "mode/label/olive/borderColor",
4671
+ "reference": "mode/label/olive/fgColor/rest",
4672
+ "collection": "mode",
4673
+ "mode": "dark tritanopia high contrast",
4674
+ "group": "component",
4675
+ "scopes": ["STROKE_COLOR"]
4676
+ },
4517
4677
  {
4518
4678
  "name": "label/lime/bgColor/rest",
4519
4679
  "value": {
@@ -4610,6 +4770,22 @@
4610
4770
  "group": "component",
4611
4771
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4612
4772
  },
4773
+ {
4774
+ "name": "label/lime/borderColor",
4775
+ "value": {
4776
+ "r": 0.49019607843137253,
4777
+ "g": 0.6823529411764706,
4778
+ "b": 0.21568627450980393,
4779
+ "a": 1
4780
+ },
4781
+ "type": "COLOR",
4782
+ "refId": "mode/label/lime/borderColor",
4783
+ "reference": "mode/label/lime/fgColor/rest",
4784
+ "collection": "mode",
4785
+ "mode": "dark tritanopia high contrast",
4786
+ "group": "component",
4787
+ "scopes": ["STROKE_COLOR"]
4788
+ },
4613
4789
  {
4614
4790
  "name": "label/pine/bgColor/rest",
4615
4791
  "value": {
@@ -4706,6 +4882,22 @@
4706
4882
  "group": "component",
4707
4883
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4708
4884
  },
4885
+ {
4886
+ "name": "label/pine/borderColor",
4887
+ "value": {
4888
+ "r": 0.10588235294117647,
4889
+ "g": 0.7137254901960784,
4890
+ "b": 0.45098039215686275,
4891
+ "a": 1
4892
+ },
4893
+ "type": "COLOR",
4894
+ "refId": "mode/label/pine/borderColor",
4895
+ "reference": "mode/label/pine/fgColor/rest",
4896
+ "collection": "mode",
4897
+ "mode": "dark tritanopia high contrast",
4898
+ "group": "component",
4899
+ "scopes": ["STROKE_COLOR"]
4900
+ },
4709
4901
  {
4710
4902
  "name": "label/teal/bgColor/rest",
4711
4903
  "value": {
@@ -4802,6 +4994,22 @@
4802
4994
  "group": "component",
4803
4995
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4804
4996
  },
4997
+ {
4998
+ "name": "label/teal/borderColor",
4999
+ "value": {
5000
+ "r": 0.10980392156862745,
5001
+ "g": 0.6901960784313725,
5002
+ "b": 0.6705882352941176,
5003
+ "a": 1
5004
+ },
5005
+ "type": "COLOR",
5006
+ "refId": "mode/label/teal/borderColor",
5007
+ "reference": "mode/label/teal/fgColor/rest",
5008
+ "collection": "mode",
5009
+ "mode": "dark tritanopia high contrast",
5010
+ "group": "component",
5011
+ "scopes": ["STROKE_COLOR"]
5012
+ },
4805
5013
  {
4806
5014
  "name": "label/cyan/bgColor/rest",
4807
5015
  "value": {
@@ -4898,6 +5106,22 @@
4898
5106
  "group": "component",
4899
5107
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4900
5108
  },
5109
+ {
5110
+ "name": "label/cyan/borderColor",
5111
+ "value": {
5112
+ "r": 0.027450980392156862,
5113
+ "g": 0.6745098039215687,
5114
+ "b": 0.8941176470588236,
5115
+ "a": 1
5116
+ },
5117
+ "type": "COLOR",
5118
+ "refId": "mode/label/cyan/borderColor",
5119
+ "reference": "mode/label/cyan/fgColor/rest",
5120
+ "collection": "mode",
5121
+ "mode": "dark tritanopia high contrast",
5122
+ "group": "component",
5123
+ "scopes": ["STROKE_COLOR"]
5124
+ },
4901
5125
  {
4902
5126
  "name": "label/indigo/bgColor/rest",
4903
5127
  "value": {
@@ -4994,6 +5218,22 @@
4994
5218
  "group": "component",
4995
5219
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
4996
5220
  },
5221
+ {
5222
+ "name": "label/indigo/borderColor",
5223
+ "value": {
5224
+ "r": 0.596078431372549,
5225
+ "g": 0.6,
5226
+ "b": 0.9254901960784314,
5227
+ "a": 1
5228
+ },
5229
+ "type": "COLOR",
5230
+ "refId": "mode/label/indigo/borderColor",
5231
+ "reference": "mode/label/indigo/fgColor/rest",
5232
+ "collection": "mode",
5233
+ "mode": "dark tritanopia high contrast",
5234
+ "group": "component",
5235
+ "scopes": ["STROKE_COLOR"]
5236
+ },
4997
5237
  {
4998
5238
  "name": "label/blue/bgColor/rest",
4999
5239
  "value": {
@@ -5090,6 +5330,22 @@
5090
5330
  "group": "component",
5091
5331
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5092
5332
  },
5333
+ {
5334
+ "name": "label/blue/borderColor",
5335
+ "value": {
5336
+ "r": 0.30196078431372547,
5337
+ "g": 0.6274509803921569,
5338
+ "b": 1,
5339
+ "a": 1
5340
+ },
5341
+ "type": "COLOR",
5342
+ "refId": "mode/label/blue/borderColor",
5343
+ "reference": "mode/label/blue/fgColor/rest",
5344
+ "collection": "mode",
5345
+ "mode": "dark tritanopia high contrast",
5346
+ "group": "component",
5347
+ "scopes": ["STROKE_COLOR"]
5348
+ },
5093
5349
  {
5094
5350
  "name": "label/plum/bgColor/rest",
5095
5351
  "value": {
@@ -5186,6 +5442,22 @@
5186
5442
  "group": "component",
5187
5443
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5188
5444
  },
5445
+ {
5446
+ "name": "label/plum/borderColor",
5447
+ "value": {
5448
+ "r": 0.8156862745098039,
5449
+ "g": 0.49411764705882355,
5450
+ "b": 0.9686274509803922,
5451
+ "a": 1
5452
+ },
5453
+ "type": "COLOR",
5454
+ "refId": "mode/label/plum/borderColor",
5455
+ "reference": "mode/label/plum/fgColor/rest",
5456
+ "collection": "mode",
5457
+ "mode": "dark tritanopia high contrast",
5458
+ "group": "component",
5459
+ "scopes": ["STROKE_COLOR"]
5460
+ },
5189
5461
  {
5190
5462
  "name": "label/pink/bgColor/rest",
5191
5463
  "value": {
@@ -5282,6 +5554,22 @@
5282
5554
  "group": "component",
5283
5555
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5284
5556
  },
5557
+ {
5558
+ "name": "label/pink/borderColor",
5559
+ "value": {
5560
+ "r": 0.8980392156862745,
5561
+ "g": 0.4823529411764706,
5562
+ "b": 0.6980392156862745,
5563
+ "a": 1
5564
+ },
5565
+ "type": "COLOR",
5566
+ "refId": "mode/label/pink/borderColor",
5567
+ "reference": "mode/label/pink/fgColor/rest",
5568
+ "collection": "mode",
5569
+ "mode": "dark tritanopia high contrast",
5570
+ "group": "component",
5571
+ "scopes": ["STROKE_COLOR"]
5572
+ },
5285
5573
  {
5286
5574
  "name": "label/coral/bgColor/rest",
5287
5575
  "value": {
@@ -5378,6 +5666,22 @@
5378
5666
  "group": "component",
5379
5667
  "scopes": ["TEXT_FILL", "SHAPE_FILL"]
5380
5668
  },
5669
+ {
5670
+ "name": "label/coral/borderColor",
5671
+ "value": {
5672
+ "r": 0.9686274509803922,
5673
+ "g": 0.4745098039215686,
5674
+ "b": 0.29411764705882354,
5675
+ "a": 1
5676
+ },
5677
+ "type": "COLOR",
5678
+ "refId": "mode/label/coral/borderColor",
5679
+ "reference": "mode/label/coral/fgColor/rest",
5680
+ "collection": "mode",
5681
+ "mode": "dark tritanopia high contrast",
5682
+ "group": "component",
5683
+ "scopes": ["STROKE_COLOR"]
5684
+ },
5381
5685
  {
5382
5686
  "name": "menu/bgColor/active",
5383
5687
  "value": {