@primer/primitives 10.4.0-rc.d3e62472 → 10.4.0-rc.ea0a5a9d

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 (32) hide show
  1. package/dist/docs/functional/themes/dark-colorblind.json +21 -21
  2. package/dist/docs/functional/themes/dark-dimmed.json +21 -21
  3. package/dist/docs/functional/themes/dark-high-contrast.json +21 -21
  4. package/dist/docs/functional/themes/dark-tritanopia.json +21 -21
  5. package/dist/docs/functional/themes/dark.json +21 -21
  6. package/dist/docs/functional/themes/light-colorblind.json +21 -21
  7. package/dist/docs/functional/themes/light-high-contrast.json +21 -21
  8. package/dist/docs/functional/themes/light-tritanopia.json +21 -21
  9. package/dist/docs/functional/themes/light.json +21 -21
  10. package/dist/figma/figma.json +2 -2
  11. package/dist/figma/themes/dark-colorblind.json +1201 -1201
  12. package/dist/figma/themes/dark-dimmed.json +1195 -1195
  13. package/dist/figma/themes/dark-high-contrast.json +1206 -1206
  14. package/dist/figma/themes/dark-tritanopia.json +1202 -1202
  15. package/dist/figma/themes/dark.json +3839 -3839
  16. package/dist/figma/themes/light-colorblind.json +1264 -1264
  17. package/dist/figma/themes/light-high-contrast.json +1244 -1244
  18. package/dist/figma/themes/light-tritanopia.json +1265 -1265
  19. package/dist/figma/themes/light.json +1265 -1265
  20. package/dist/styleLint/functional/themes/dark-colorblind.json +21 -21
  21. package/dist/styleLint/functional/themes/dark-dimmed.json +21 -21
  22. package/dist/styleLint/functional/themes/dark-high-contrast.json +21 -21
  23. package/dist/styleLint/functional/themes/dark-tritanopia.json +21 -21
  24. package/dist/styleLint/functional/themes/dark.json +21 -21
  25. package/dist/styleLint/functional/themes/light-colorblind.json +21 -21
  26. package/dist/styleLint/functional/themes/light-high-contrast.json +21 -21
  27. package/dist/styleLint/functional/themes/light-tritanopia.json +21 -21
  28. package/dist/styleLint/functional/themes/light.json +21 -21
  29. package/package.json +1 -1
  30. package/src/tokens/component/avatar.json5 +33 -0
  31. package/src/tokens/component/button.json5 +187 -0
  32. package/src/tokens/functional/shadow/shadow.json5 +0 -232
@@ -125,13 +125,13 @@
125
125
  "spread": "2px"
126
126
  }
127
127
  ],
128
- "filePath": "src/tokens/functional/shadow/shadow.json5",
128
+ "filePath": "src/tokens/component/avatar.json5",
129
129
  "isSource": true,
130
130
  "$type": "shadow"
131
131
  }
132
132
  }
133
133
  },
134
- "filePath": "src/tokens/functional/shadow/shadow.json5",
134
+ "filePath": "src/tokens/component/avatar.json5",
135
135
  "isSource": true,
136
136
  "original": {
137
137
  "$value": [
@@ -162,7 +162,7 @@
162
162
  "spread": "2px"
163
163
  }
164
164
  ],
165
- "filePath": "src/tokens/functional/shadow/shadow.json5",
165
+ "filePath": "src/tokens/component/avatar.json5",
166
166
  "isSource": true,
167
167
  "$type": "shadow"
168
168
  }
@@ -4595,7 +4595,7 @@
4595
4595
  "inset": true
4596
4596
  }
4597
4597
  ],
4598
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4598
+ "filePath": "src/tokens/component/button.json5",
4599
4599
  "isSource": true,
4600
4600
  "$type": "shadow"
4601
4601
  },
@@ -4611,13 +4611,13 @@
4611
4611
  "inset": false
4612
4612
  }
4613
4613
  ],
4614
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4614
+ "filePath": "src/tokens/component/button.json5",
4615
4615
  "isSource": true,
4616
4616
  "$type": "shadow"
4617
4617
  }
4618
4618
  }
4619
4619
  },
4620
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4620
+ "filePath": "src/tokens/component/button.json5",
4621
4621
  "isSource": true,
4622
4622
  "original": {
4623
4623
  "$value": [
@@ -4650,7 +4650,7 @@
4650
4650
  "inset": true
4651
4651
  }
4652
4652
  ],
4653
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4653
+ "filePath": "src/tokens/component/button.json5",
4654
4654
  "isSource": true,
4655
4655
  "$type": "shadow"
4656
4656
  },
@@ -4666,7 +4666,7 @@
4666
4666
  "inset": false
4667
4667
  }
4668
4668
  ],
4669
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4669
+ "filePath": "src/tokens/component/button.json5",
4670
4670
  "isSource": true,
4671
4671
  "$type": "shadow"
4672
4672
  }
@@ -5047,13 +5047,13 @@
5047
5047
  "inset": false
5048
5048
  }
5049
5049
  ],
5050
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5050
+ "filePath": "src/tokens/component/button.json5",
5051
5051
  "isSource": true,
5052
5052
  "$type": "shadow"
5053
5053
  }
5054
5054
  }
5055
5055
  },
5056
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5056
+ "filePath": "src/tokens/component/button.json5",
5057
5057
  "isSource": true,
5058
5058
  "original": {
5059
5059
  "$value": [
@@ -5086,7 +5086,7 @@
5086
5086
  "inset": false
5087
5087
  }
5088
5088
  ],
5089
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5089
+ "filePath": "src/tokens/component/button.json5",
5090
5090
  "isSource": true,
5091
5091
  "$type": "shadow"
5092
5092
  }
@@ -6483,13 +6483,13 @@
6483
6483
  "inset": false
6484
6484
  }
6485
6485
  ],
6486
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6486
+ "filePath": "src/tokens/component/button.json5",
6487
6487
  "isSource": true,
6488
6488
  "$type": "shadow"
6489
6489
  }
6490
6490
  }
6491
6491
  },
6492
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6492
+ "filePath": "src/tokens/component/button.json5",
6493
6493
  "isSource": true,
6494
6494
  "original": {
6495
6495
  "$value": [
@@ -6522,7 +6522,7 @@
6522
6522
  "inset": false
6523
6523
  }
6524
6524
  ],
6525
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6525
+ "filePath": "src/tokens/component/button.json5",
6526
6526
  "isSource": true,
6527
6527
  "$type": "shadow"
6528
6528
  }
@@ -7501,7 +7501,7 @@
7501
7501
  "inset": true
7502
7502
  }
7503
7503
  ],
7504
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7504
+ "filePath": "src/tokens/component/button.json5",
7505
7505
  "isSource": true,
7506
7506
  "$type": "shadow"
7507
7507
  },
@@ -7517,7 +7517,7 @@
7517
7517
  "inset": true
7518
7518
  }
7519
7519
  ],
7520
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7520
+ "filePath": "src/tokens/component/button.json5",
7521
7521
  "isSource": true,
7522
7522
  "$type": "shadow"
7523
7523
  },
@@ -7533,13 +7533,13 @@
7533
7533
  "inset": false
7534
7534
  }
7535
7535
  ],
7536
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7536
+ "filePath": "src/tokens/component/button.json5",
7537
7537
  "isSource": true,
7538
7538
  "$type": "shadow"
7539
7539
  }
7540
7540
  }
7541
7541
  },
7542
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7542
+ "filePath": "src/tokens/component/button.json5",
7543
7543
  "isSource": true,
7544
7544
  "original": {
7545
7545
  "$value": [
@@ -7572,7 +7572,7 @@
7572
7572
  "inset": true
7573
7573
  }
7574
7574
  ],
7575
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7575
+ "filePath": "src/tokens/component/button.json5",
7576
7576
  "isSource": true,
7577
7577
  "$type": "shadow"
7578
7578
  },
@@ -7588,7 +7588,7 @@
7588
7588
  "inset": true
7589
7589
  }
7590
7590
  ],
7591
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7591
+ "filePath": "src/tokens/component/button.json5",
7592
7592
  "isSource": true,
7593
7593
  "$type": "shadow"
7594
7594
  },
@@ -7604,7 +7604,7 @@
7604
7604
  "inset": false
7605
7605
  }
7606
7606
  ],
7607
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7607
+ "filePath": "src/tokens/component/button.json5",
7608
7608
  "isSource": true,
7609
7609
  "$type": "shadow"
7610
7610
  }
@@ -123,13 +123,13 @@
123
123
  "spread": "2px"
124
124
  }
125
125
  ],
126
- "filePath": "src/tokens/functional/shadow/shadow.json5",
126
+ "filePath": "src/tokens/component/avatar.json5",
127
127
  "isSource": true,
128
128
  "$type": "shadow"
129
129
  }
130
130
  }
131
131
  },
132
- "filePath": "src/tokens/functional/shadow/shadow.json5",
132
+ "filePath": "src/tokens/component/avatar.json5",
133
133
  "isSource": true,
134
134
  "original": {
135
135
  "$value": [
@@ -160,7 +160,7 @@
160
160
  "spread": "2px"
161
161
  }
162
162
  ],
163
- "filePath": "src/tokens/functional/shadow/shadow.json5",
163
+ "filePath": "src/tokens/component/avatar.json5",
164
164
  "isSource": true,
165
165
  "$type": "shadow"
166
166
  }
@@ -4599,7 +4599,7 @@
4599
4599
  "inset": true
4600
4600
  }
4601
4601
  ],
4602
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4602
+ "filePath": "src/tokens/component/button.json5",
4603
4603
  "isSource": true,
4604
4604
  "$type": "shadow"
4605
4605
  },
@@ -4615,13 +4615,13 @@
4615
4615
  "inset": false
4616
4616
  }
4617
4617
  ],
4618
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4618
+ "filePath": "src/tokens/component/button.json5",
4619
4619
  "isSource": true,
4620
4620
  "$type": "shadow"
4621
4621
  }
4622
4622
  }
4623
4623
  },
4624
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4624
+ "filePath": "src/tokens/component/button.json5",
4625
4625
  "isSource": true,
4626
4626
  "original": {
4627
4627
  "$value": [
@@ -4654,7 +4654,7 @@
4654
4654
  "inset": true
4655
4655
  }
4656
4656
  ],
4657
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4657
+ "filePath": "src/tokens/component/button.json5",
4658
4658
  "isSource": true,
4659
4659
  "$type": "shadow"
4660
4660
  },
@@ -4670,7 +4670,7 @@
4670
4670
  "inset": false
4671
4671
  }
4672
4672
  ],
4673
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4673
+ "filePath": "src/tokens/component/button.json5",
4674
4674
  "isSource": true,
4675
4675
  "$type": "shadow"
4676
4676
  }
@@ -5051,13 +5051,13 @@
5051
5051
  "inset": false
5052
5052
  }
5053
5053
  ],
5054
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5054
+ "filePath": "src/tokens/component/button.json5",
5055
5055
  "isSource": true,
5056
5056
  "$type": "shadow"
5057
5057
  }
5058
5058
  }
5059
5059
  },
5060
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5060
+ "filePath": "src/tokens/component/button.json5",
5061
5061
  "isSource": true,
5062
5062
  "original": {
5063
5063
  "$value": [
@@ -5090,7 +5090,7 @@
5090
5090
  "inset": false
5091
5091
  }
5092
5092
  ],
5093
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5093
+ "filePath": "src/tokens/component/button.json5",
5094
5094
  "isSource": true,
5095
5095
  "$type": "shadow"
5096
5096
  }
@@ -6487,13 +6487,13 @@
6487
6487
  "inset": false
6488
6488
  }
6489
6489
  ],
6490
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6490
+ "filePath": "src/tokens/component/button.json5",
6491
6491
  "isSource": true,
6492
6492
  "$type": "shadow"
6493
6493
  }
6494
6494
  }
6495
6495
  },
6496
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6496
+ "filePath": "src/tokens/component/button.json5",
6497
6497
  "isSource": true,
6498
6498
  "original": {
6499
6499
  "$value": [
@@ -6526,7 +6526,7 @@
6526
6526
  "inset": false
6527
6527
  }
6528
6528
  ],
6529
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6529
+ "filePath": "src/tokens/component/button.json5",
6530
6530
  "isSource": true,
6531
6531
  "$type": "shadow"
6532
6532
  }
@@ -7501,7 +7501,7 @@
7501
7501
  "inset": true
7502
7502
  }
7503
7503
  ],
7504
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7504
+ "filePath": "src/tokens/component/button.json5",
7505
7505
  "isSource": true,
7506
7506
  "$type": "shadow"
7507
7507
  },
@@ -7517,7 +7517,7 @@
7517
7517
  "inset": true
7518
7518
  }
7519
7519
  ],
7520
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7520
+ "filePath": "src/tokens/component/button.json5",
7521
7521
  "isSource": true,
7522
7522
  "$type": "shadow"
7523
7523
  },
@@ -7533,13 +7533,13 @@
7533
7533
  "inset": false
7534
7534
  }
7535
7535
  ],
7536
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7536
+ "filePath": "src/tokens/component/button.json5",
7537
7537
  "isSource": true,
7538
7538
  "$type": "shadow"
7539
7539
  }
7540
7540
  }
7541
7541
  },
7542
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7542
+ "filePath": "src/tokens/component/button.json5",
7543
7543
  "isSource": true,
7544
7544
  "original": {
7545
7545
  "$value": [
@@ -7572,7 +7572,7 @@
7572
7572
  "inset": true
7573
7573
  }
7574
7574
  ],
7575
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7575
+ "filePath": "src/tokens/component/button.json5",
7576
7576
  "isSource": true,
7577
7577
  "$type": "shadow"
7578
7578
  },
@@ -7588,7 +7588,7 @@
7588
7588
  "inset": true
7589
7589
  }
7590
7590
  ],
7591
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7591
+ "filePath": "src/tokens/component/button.json5",
7592
7592
  "isSource": true,
7593
7593
  "$type": "shadow"
7594
7594
  },
@@ -7604,7 +7604,7 @@
7604
7604
  "inset": false
7605
7605
  }
7606
7606
  ],
7607
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7607
+ "filePath": "src/tokens/component/button.json5",
7608
7608
  "isSource": true,
7609
7609
  "$type": "shadow"
7610
7610
  }
@@ -123,13 +123,13 @@
123
123
  "spread": "2px"
124
124
  }
125
125
  ],
126
- "filePath": "src/tokens/functional/shadow/shadow.json5",
126
+ "filePath": "src/tokens/component/avatar.json5",
127
127
  "isSource": true,
128
128
  "$type": "shadow"
129
129
  }
130
130
  }
131
131
  },
132
- "filePath": "src/tokens/functional/shadow/shadow.json5",
132
+ "filePath": "src/tokens/component/avatar.json5",
133
133
  "isSource": true,
134
134
  "original": {
135
135
  "$value": [
@@ -160,7 +160,7 @@
160
160
  "spread": "2px"
161
161
  }
162
162
  ],
163
- "filePath": "src/tokens/functional/shadow/shadow.json5",
163
+ "filePath": "src/tokens/component/avatar.json5",
164
164
  "isSource": true,
165
165
  "$type": "shadow"
166
166
  }
@@ -4595,7 +4595,7 @@
4595
4595
  "inset": true
4596
4596
  }
4597
4597
  ],
4598
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4598
+ "filePath": "src/tokens/component/button.json5",
4599
4599
  "isSource": true,
4600
4600
  "$type": "shadow"
4601
4601
  },
@@ -4611,13 +4611,13 @@
4611
4611
  "inset": false
4612
4612
  }
4613
4613
  ],
4614
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4614
+ "filePath": "src/tokens/component/button.json5",
4615
4615
  "isSource": true,
4616
4616
  "$type": "shadow"
4617
4617
  }
4618
4618
  }
4619
4619
  },
4620
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4620
+ "filePath": "src/tokens/component/button.json5",
4621
4621
  "isSource": true,
4622
4622
  "original": {
4623
4623
  "$value": [
@@ -4650,7 +4650,7 @@
4650
4650
  "inset": true
4651
4651
  }
4652
4652
  ],
4653
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4653
+ "filePath": "src/tokens/component/button.json5",
4654
4654
  "isSource": true,
4655
4655
  "$type": "shadow"
4656
4656
  },
@@ -4666,7 +4666,7 @@
4666
4666
  "inset": false
4667
4667
  }
4668
4668
  ],
4669
- "filePath": "src/tokens/functional/shadow/shadow.json5",
4669
+ "filePath": "src/tokens/component/button.json5",
4670
4670
  "isSource": true,
4671
4671
  "$type": "shadow"
4672
4672
  }
@@ -5047,13 +5047,13 @@
5047
5047
  "inset": false
5048
5048
  }
5049
5049
  ],
5050
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5050
+ "filePath": "src/tokens/component/button.json5",
5051
5051
  "isSource": true,
5052
5052
  "$type": "shadow"
5053
5053
  }
5054
5054
  }
5055
5055
  },
5056
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5056
+ "filePath": "src/tokens/component/button.json5",
5057
5057
  "isSource": true,
5058
5058
  "original": {
5059
5059
  "$value": [
@@ -5086,7 +5086,7 @@
5086
5086
  "inset": false
5087
5087
  }
5088
5088
  ],
5089
- "filePath": "src/tokens/functional/shadow/shadow.json5",
5089
+ "filePath": "src/tokens/component/button.json5",
5090
5090
  "isSource": true,
5091
5091
  "$type": "shadow"
5092
5092
  }
@@ -6483,13 +6483,13 @@
6483
6483
  "inset": false
6484
6484
  }
6485
6485
  ],
6486
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6486
+ "filePath": "src/tokens/component/button.json5",
6487
6487
  "isSource": true,
6488
6488
  "$type": "shadow"
6489
6489
  }
6490
6490
  }
6491
6491
  },
6492
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6492
+ "filePath": "src/tokens/component/button.json5",
6493
6493
  "isSource": true,
6494
6494
  "original": {
6495
6495
  "$value": [
@@ -6522,7 +6522,7 @@
6522
6522
  "inset": false
6523
6523
  }
6524
6524
  ],
6525
- "filePath": "src/tokens/functional/shadow/shadow.json5",
6525
+ "filePath": "src/tokens/component/button.json5",
6526
6526
  "isSource": true,
6527
6527
  "$type": "shadow"
6528
6528
  }
@@ -7497,7 +7497,7 @@
7497
7497
  "inset": true
7498
7498
  }
7499
7499
  ],
7500
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7500
+ "filePath": "src/tokens/component/button.json5",
7501
7501
  "isSource": true,
7502
7502
  "$type": "shadow"
7503
7503
  },
@@ -7513,7 +7513,7 @@
7513
7513
  "inset": true
7514
7514
  }
7515
7515
  ],
7516
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7516
+ "filePath": "src/tokens/component/button.json5",
7517
7517
  "isSource": true,
7518
7518
  "$type": "shadow"
7519
7519
  },
@@ -7529,13 +7529,13 @@
7529
7529
  "inset": false
7530
7530
  }
7531
7531
  ],
7532
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7532
+ "filePath": "src/tokens/component/button.json5",
7533
7533
  "isSource": true,
7534
7534
  "$type": "shadow"
7535
7535
  }
7536
7536
  }
7537
7537
  },
7538
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7538
+ "filePath": "src/tokens/component/button.json5",
7539
7539
  "isSource": true,
7540
7540
  "original": {
7541
7541
  "$value": [
@@ -7568,7 +7568,7 @@
7568
7568
  "inset": true
7569
7569
  }
7570
7570
  ],
7571
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7571
+ "filePath": "src/tokens/component/button.json5",
7572
7572
  "isSource": true,
7573
7573
  "$type": "shadow"
7574
7574
  },
@@ -7584,7 +7584,7 @@
7584
7584
  "inset": true
7585
7585
  }
7586
7586
  ],
7587
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7587
+ "filePath": "src/tokens/component/button.json5",
7588
7588
  "isSource": true,
7589
7589
  "$type": "shadow"
7590
7590
  },
@@ -7600,7 +7600,7 @@
7600
7600
  "inset": false
7601
7601
  }
7602
7602
  ],
7603
- "filePath": "src/tokens/functional/shadow/shadow.json5",
7603
+ "filePath": "src/tokens/component/button.json5",
7604
7604
  "isSource": true,
7605
7605
  "$type": "shadow"
7606
7606
  }
@@ -78,9 +78,9 @@
78
78
  "dark tritanopia"
79
79
  ],
80
80
  "groups": [
81
- "component shadow",
82
- "component (internal)",
83
81
  "shadow",
82
+ "component (internal)",
83
+ "component shadow",
84
84
  "component",
85
85
  "semantic",
86
86
  "syntax"