@primitiv-ui/tokens 0.1.32 → 0.1.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primitiv-ui/tokens",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "The DTCG-conformant design-token layer for the Primitiv ecosystem, plus helpers that transform Figma variable exports into DTCG JSON.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/context.json CHANGED
@@ -707,15 +707,125 @@
707
707
  },
708
708
  "font-size": {
709
709
  "$type": "number",
710
- "$value": "{font-size.12}"
710
+ "$value": "{overline.sm.font-size}"
711
711
  },
712
712
  "line-height": {
713
713
  "$type": "number",
714
- "$value": "{line-height.16}"
714
+ "$value": "{overline.sm.line-height}"
715
715
  },
716
716
  "font-style": {
717
717
  "$type": "string",
718
718
  "$value": "{font-style.medium}"
719
+ },
720
+ "xs": {
721
+ "font-family": {
722
+ "$type": "string",
723
+ "$value": "{font-family.heading}"
724
+ },
725
+ "font-weight": {
726
+ "$type": "number",
727
+ "$value": "{font-weight.medium}"
728
+ },
729
+ "font-size": {
730
+ "$type": "number",
731
+ "$value": "{font-size.12}"
732
+ },
733
+ "line-height": {
734
+ "$type": "number",
735
+ "$value": "{line-height.16}"
736
+ },
737
+ "font-style": {
738
+ "$type": "string",
739
+ "$value": "{font-style.medium}"
740
+ }
741
+ },
742
+ "sm": {
743
+ "font-family": {
744
+ "$type": "string",
745
+ "$value": "{font-family.heading}"
746
+ },
747
+ "font-weight": {
748
+ "$type": "number",
749
+ "$value": "{font-weight.medium}"
750
+ },
751
+ "font-size": {
752
+ "$type": "number",
753
+ "$value": "{font-size.14}"
754
+ },
755
+ "line-height": {
756
+ "$type": "number",
757
+ "$value": "{line-height.20}"
758
+ },
759
+ "font-style": {
760
+ "$type": "string",
761
+ "$value": "{font-style.medium}"
762
+ }
763
+ },
764
+ "md": {
765
+ "font-family": {
766
+ "$type": "string",
767
+ "$value": "{font-family.heading}"
768
+ },
769
+ "font-weight": {
770
+ "$type": "number",
771
+ "$value": "{font-weight.medium}"
772
+ },
773
+ "font-size": {
774
+ "$type": "number",
775
+ "$value": "{font-size.16}"
776
+ },
777
+ "line-height": {
778
+ "$type": "number",
779
+ "$value": "{line-height.24}"
780
+ },
781
+ "font-style": {
782
+ "$type": "string",
783
+ "$value": "{font-style.medium}"
784
+ }
785
+ },
786
+ "lg": {
787
+ "font-family": {
788
+ "$type": "string",
789
+ "$value": "{font-family.heading}"
790
+ },
791
+ "font-weight": {
792
+ "$type": "number",
793
+ "$value": "{font-weight.medium}"
794
+ },
795
+ "font-size": {
796
+ "$type": "number",
797
+ "$value": "{font-size.20}"
798
+ },
799
+ "line-height": {
800
+ "$type": "number",
801
+ "$value": "{line-height.32}"
802
+ },
803
+ "font-style": {
804
+ "$type": "string",
805
+ "$value": "{font-style.medium}"
806
+ }
807
+ },
808
+ "xl": {
809
+ "font-family": {
810
+ "$type": "string",
811
+ "$value": "{font-family.heading}"
812
+ },
813
+ "font-weight": {
814
+ "$type": "number",
815
+ "$value": "{font-weight.medium}"
816
+ },
817
+ "font-size": {
818
+ "$type": "number",
819
+ "$value": "{font-size.22}"
820
+ },
821
+ "line-height": {
822
+ "$type": "number",
823
+ "$value": "{line-height.36}"
824
+ },
825
+ "font-style": {
826
+ "$type": "string",
827
+ "$value": "{font-style.medium}"
828
+ }
719
829
  }
720
830
  },
721
831
  "framed-control": {
@@ -4124,15 +4234,125 @@
4124
4234
  },
4125
4235
  "font-size": {
4126
4236
  "$type": "number",
4127
- "$value": "{font-size.12}"
4237
+ "$value": "{overline.sm.font-size}"
4128
4238
  },
4129
4239
  "line-height": {
4130
4240
  "$type": "number",
4131
- "$value": "{line-height.16}"
4241
+ "$value": "{overline.sm.line-height}"
4132
4242
  },
4133
4243
  "font-style": {
4134
4244
  "$type": "string",
4135
4245
  "$value": "{font-style.medium}"
4246
+ },
4247
+ "xs": {
4248
+ "font-family": {
4249
+ "$type": "string",
4250
+ "$value": "{font-family.heading}"
4251
+ },
4252
+ "font-weight": {
4253
+ "$type": "number",
4254
+ "$value": "{font-weight.medium}"
4255
+ },
4256
+ "font-size": {
4257
+ "$type": "number",
4258
+ "$value": "{font-size.12}"
4259
+ },
4260
+ "line-height": {
4261
+ "$type": "number",
4262
+ "$value": "{line-height.16}"
4263
+ },
4264
+ "font-style": {
4265
+ "$type": "string",
4266
+ "$value": "{font-style.medium}"
4267
+ }
4268
+ },
4269
+ "sm": {
4270
+ "font-family": {
4271
+ "$type": "string",
4272
+ "$value": "{font-family.heading}"
4273
+ },
4274
+ "font-weight": {
4275
+ "$type": "number",
4276
+ "$value": "{font-weight.medium}"
4277
+ },
4278
+ "font-size": {
4279
+ "$type": "number",
4280
+ "$value": "{font-size.14}"
4281
+ },
4282
+ "line-height": {
4283
+ "$type": "number",
4284
+ "$value": "{line-height.20}"
4285
+ },
4286
+ "font-style": {
4287
+ "$type": "string",
4288
+ "$value": "{font-style.medium}"
4289
+ }
4290
+ },
4291
+ "md": {
4292
+ "font-family": {
4293
+ "$type": "string",
4294
+ "$value": "{font-family.heading}"
4295
+ },
4296
+ "font-weight": {
4297
+ "$type": "number",
4298
+ "$value": "{font-weight.medium}"
4299
+ },
4300
+ "font-size": {
4301
+ "$type": "number",
4302
+ "$value": "{font-size.16}"
4303
+ },
4304
+ "line-height": {
4305
+ "$type": "number",
4306
+ "$value": "{line-height.24}"
4307
+ },
4308
+ "font-style": {
4309
+ "$type": "string",
4310
+ "$value": "{font-style.medium}"
4311
+ }
4312
+ },
4313
+ "lg": {
4314
+ "font-family": {
4315
+ "$type": "string",
4316
+ "$value": "{font-family.heading}"
4317
+ },
4318
+ "font-weight": {
4319
+ "$type": "number",
4320
+ "$value": "{font-weight.medium}"
4321
+ },
4322
+ "font-size": {
4323
+ "$type": "number",
4324
+ "$value": "{font-size.18}"
4325
+ },
4326
+ "line-height": {
4327
+ "$type": "number",
4328
+ "$value": "{line-height.28}"
4329
+ },
4330
+ "font-style": {
4331
+ "$type": "string",
4332
+ "$value": "{font-style.medium}"
4333
+ }
4334
+ },
4335
+ "xl": {
4336
+ "font-family": {
4337
+ "$type": "string",
4338
+ "$value": "{font-family.heading}"
4339
+ },
4340
+ "font-weight": {
4341
+ "$type": "number",
4342
+ "$value": "{font-weight.medium}"
4343
+ },
4344
+ "font-size": {
4345
+ "$type": "number",
4346
+ "$value": "{font-size.20}"
4347
+ },
4348
+ "line-height": {
4349
+ "$type": "number",
4350
+ "$value": "{line-height.32}"
4351
+ },
4352
+ "font-style": {
4353
+ "$type": "string",
4354
+ "$value": "{font-style.medium}"
4355
+ }
4136
4356
  }
4137
4357
  },
4138
4358
  "framed-control": {
@@ -7541,15 +7761,125 @@
7541
7761
  },
7542
7762
  "font-size": {
7543
7763
  "$type": "number",
7544
- "$value": "{font-size.12}"
7764
+ "$value": "{overline.sm.font-size}"
7545
7765
  },
7546
7766
  "line-height": {
7547
7767
  "$type": "number",
7548
- "$value": "{line-height.20}"
7768
+ "$value": "{overline.sm.line-height}"
7549
7769
  },
7550
7770
  "font-style": {
7551
7771
  "$type": "string",
7552
7772
  "$value": "{font-style.medium}"
7773
+ },
7774
+ "xs": {
7775
+ "font-family": {
7776
+ "$type": "string",
7777
+ "$value": "{font-family.heading}"
7778
+ },
7779
+ "font-weight": {
7780
+ "$type": "number",
7781
+ "$value": "{font-weight.medium}"
7782
+ },
7783
+ "font-size": {
7784
+ "$type": "number",
7785
+ "$value": "{font-size.12}"
7786
+ },
7787
+ "line-height": {
7788
+ "$type": "number",
7789
+ "$value": "{line-height.20}"
7790
+ },
7791
+ "font-style": {
7792
+ "$type": "string",
7793
+ "$value": "{font-style.medium}"
7794
+ }
7795
+ },
7796
+ "sm": {
7797
+ "font-family": {
7798
+ "$type": "string",
7799
+ "$value": "{font-family.heading}"
7800
+ },
7801
+ "font-weight": {
7802
+ "$type": "number",
7803
+ "$value": "{font-weight.medium}"
7804
+ },
7805
+ "font-size": {
7806
+ "$type": "number",
7807
+ "$value": "{font-size.14}"
7808
+ },
7809
+ "line-height": {
7810
+ "$type": "number",
7811
+ "$value": "{line-height.24}"
7812
+ },
7813
+ "font-style": {
7814
+ "$type": "string",
7815
+ "$value": "{font-style.medium}"
7816
+ }
7817
+ },
7818
+ "md": {
7819
+ "font-family": {
7820
+ "$type": "string",
7821
+ "$value": "{font-family.heading}"
7822
+ },
7823
+ "font-weight": {
7824
+ "$type": "number",
7825
+ "$value": "{font-weight.medium}"
7826
+ },
7827
+ "font-size": {
7828
+ "$type": "number",
7829
+ "$value": "{font-size.16}"
7830
+ },
7831
+ "line-height": {
7832
+ "$type": "number",
7833
+ "$value": "{line-height.28}"
7834
+ },
7835
+ "font-style": {
7836
+ "$type": "string",
7837
+ "$value": "{font-style.medium}"
7838
+ }
7839
+ },
7840
+ "lg": {
7841
+ "font-family": {
7842
+ "$type": "string",
7843
+ "$value": "{font-family.heading}"
7844
+ },
7845
+ "font-weight": {
7846
+ "$type": "number",
7847
+ "$value": "{font-weight.medium}"
7848
+ },
7849
+ "font-size": {
7850
+ "$type": "number",
7851
+ "$value": "{font-size.22}"
7852
+ },
7853
+ "line-height": {
7854
+ "$type": "number",
7855
+ "$value": "{line-height.36}"
7856
+ },
7857
+ "font-style": {
7858
+ "$type": "string",
7859
+ "$value": "{font-style.medium}"
7860
+ }
7861
+ },
7862
+ "xl": {
7863
+ "font-family": {
7864
+ "$type": "string",
7865
+ "$value": "{font-family.heading}"
7866
+ },
7867
+ "font-weight": {
7868
+ "$type": "number",
7869
+ "$value": "{font-weight.medium}"
7870
+ },
7871
+ "font-size": {
7872
+ "$type": "number",
7873
+ "$value": "{font-size.24}"
7874
+ },
7875
+ "line-height": {
7876
+ "$type": "number",
7877
+ "$value": "{line-height.40}"
7878
+ },
7879
+ "font-style": {
7880
+ "$type": "string",
7881
+ "$value": "{font-style.medium}"
7882
+ }
7553
7883
  }
7554
7884
  },
7555
7885
  "framed-control": {
@@ -10958,15 +11288,125 @@
10958
11288
  },
10959
11289
  "font-size": {
10960
11290
  "$type": "number",
10961
- "$value": "{font-size.10}"
11291
+ "$value": "{overline.sm.font-size}"
10962
11292
  },
10963
11293
  "line-height": {
10964
11294
  "$type": "number",
10965
- "$value": "{line-height.12}"
11295
+ "$value": "{overline.sm.line-height}"
10966
11296
  },
10967
11297
  "font-style": {
10968
11298
  "$type": "string",
10969
11299
  "$value": "{font-style.medium}"
11300
+ },
11301
+ "xs": {
11302
+ "font-family": {
11303
+ "$type": "string",
11304
+ "$value": "{font-family.heading}"
11305
+ },
11306
+ "font-weight": {
11307
+ "$type": "number",
11308
+ "$value": "{font-weight.medium}"
11309
+ },
11310
+ "font-size": {
11311
+ "$type": "number",
11312
+ "$value": "{font-size.10}"
11313
+ },
11314
+ "line-height": {
11315
+ "$type": "number",
11316
+ "$value": "{line-height.12}"
11317
+ },
11318
+ "font-style": {
11319
+ "$type": "string",
11320
+ "$value": "{font-style.medium}"
11321
+ }
11322
+ },
11323
+ "sm": {
11324
+ "font-family": {
11325
+ "$type": "string",
11326
+ "$value": "{font-family.heading}"
11327
+ },
11328
+ "font-weight": {
11329
+ "$type": "number",
11330
+ "$value": "{font-weight.medium}"
11331
+ },
11332
+ "font-size": {
11333
+ "$type": "number",
11334
+ "$value": "{font-size.11}"
11335
+ },
11336
+ "line-height": {
11337
+ "$type": "number",
11338
+ "$value": "{line-height.14}"
11339
+ },
11340
+ "font-style": {
11341
+ "$type": "string",
11342
+ "$value": "{font-style.medium}"
11343
+ }
11344
+ },
11345
+ "md": {
11346
+ "font-family": {
11347
+ "$type": "string",
11348
+ "$value": "{font-family.heading}"
11349
+ },
11350
+ "font-weight": {
11351
+ "$type": "number",
11352
+ "$value": "{font-weight.medium}"
11353
+ },
11354
+ "font-size": {
11355
+ "$type": "number",
11356
+ "$value": "{font-size.12}"
11357
+ },
11358
+ "line-height": {
11359
+ "$type": "number",
11360
+ "$value": "{line-height.16}"
11361
+ },
11362
+ "font-style": {
11363
+ "$type": "string",
11364
+ "$value": "{font-style.medium}"
11365
+ }
11366
+ },
11367
+ "lg": {
11368
+ "font-family": {
11369
+ "$type": "string",
11370
+ "$value": "{font-family.heading}"
11371
+ },
11372
+ "font-weight": {
11373
+ "$type": "number",
11374
+ "$value": "{font-weight.medium}"
11375
+ },
11376
+ "font-size": {
11377
+ "$type": "number",
11378
+ "$value": "{font-size.13}"
11379
+ },
11380
+ "line-height": {
11381
+ "$type": "number",
11382
+ "$value": "{line-height.16}"
11383
+ },
11384
+ "font-style": {
11385
+ "$type": "string",
11386
+ "$value": "{font-style.medium}"
11387
+ }
11388
+ },
11389
+ "xl": {
11390
+ "font-family": {
11391
+ "$type": "string",
11392
+ "$value": "{font-family.heading}"
11393
+ },
11394
+ "font-weight": {
11395
+ "$type": "number",
11396
+ "$value": "{font-weight.medium}"
11397
+ },
11398
+ "font-size": {
11399
+ "$type": "number",
11400
+ "$value": "{font-size.14}"
11401
+ },
11402
+ "line-height": {
11403
+ "$type": "number",
11404
+ "$value": "{line-height.20}"
11405
+ },
11406
+ "font-style": {
11407
+ "$type": "string",
11408
+ "$value": "{font-style.medium}"
11409
+ }
10970
11410
  }
10971
11411
  },
10972
11412
  "framed-control": {