@amsterdam/design-system-tokens 0.1.7 → 0.1.8

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/dist/tokens.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 17 Nov 2023 13:11:47 GMT
3
+ * Generated on Mon, 27 Nov 2023 11:07:10 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -3336,28 +3336,466 @@ module.exports = {
3336
3336
  }
3337
3337
  }
3338
3338
  },
3339
- "footer": {
3340
- "top": {
3339
+ "dialog": {
3340
+ "background-color": {
3341
+ "value": "#ffffff",
3342
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3343
+ "isSource": true,
3344
+ "original": {
3345
+ "value": "{amsterdam.color.primary-white}"
3346
+ },
3347
+ "name": "amsterdamDialogBackgroundColor",
3348
+ "attributes": {
3349
+ "category": "amsterdam",
3350
+ "type": "dialog",
3351
+ "item": "background-color"
3352
+ },
3353
+ "path": [
3354
+ "amsterdam",
3355
+ "dialog",
3356
+ "background-color"
3357
+ ]
3358
+ },
3359
+ "border": {
3360
+ "value": "0",
3361
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3362
+ "isSource": true,
3363
+ "original": {
3364
+ "value": "0"
3365
+ },
3366
+ "name": "amsterdamDialogBorder",
3367
+ "attributes": {
3368
+ "category": "amsterdam",
3369
+ "type": "dialog",
3370
+ "item": "border"
3371
+ },
3372
+ "path": [
3373
+ "amsterdam",
3374
+ "dialog",
3375
+ "border"
3376
+ ]
3377
+ },
3378
+ "max-inline-size": {
3379
+ "value": "min(87.69vw, 45rem)",
3380
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3381
+ "isSource": true,
3382
+ "original": {
3383
+ "value": "min(87.69vw, 45rem)"
3384
+ },
3385
+ "name": "amsterdamDialogMaxInlineSize",
3386
+ "attributes": {
3387
+ "category": "amsterdam",
3388
+ "type": "dialog",
3389
+ "item": "max-inline-size"
3390
+ },
3391
+ "path": [
3392
+ "amsterdam",
3393
+ "dialog",
3394
+ "max-inline-size"
3395
+ ]
3396
+ },
3397
+ "title": {
3398
+ "color": {
3399
+ "value": "#000000",
3400
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3401
+ "isSource": true,
3402
+ "original": {
3403
+ "value": "{amsterdam.color.primary-black}"
3404
+ },
3405
+ "name": "amsterdamDialogTitleColor",
3406
+ "attributes": {
3407
+ "category": "amsterdam",
3408
+ "type": "dialog",
3409
+ "item": "title",
3410
+ "subitem": "color"
3411
+ },
3412
+ "path": [
3413
+ "amsterdam",
3414
+ "dialog",
3415
+ "title",
3416
+ "color"
3417
+ ]
3418
+ },
3419
+ "font-family": {
3420
+ "value": "'Amsterdam Sans', Arial, sans-serif",
3421
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3422
+ "isSource": true,
3423
+ "original": {
3424
+ "value": "{amsterdam.typography.font-family}"
3425
+ },
3426
+ "name": "amsterdamDialogTitleFontFamily",
3427
+ "attributes": {
3428
+ "category": "amsterdam",
3429
+ "type": "dialog",
3430
+ "item": "title",
3431
+ "subitem": "font-family"
3432
+ },
3433
+ "path": [
3434
+ "amsterdam",
3435
+ "dialog",
3436
+ "title",
3437
+ "font-family"
3438
+ ]
3439
+ },
3440
+ "font-weight": {
3441
+ "value": 800,
3442
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3443
+ "isSource": true,
3444
+ "original": {
3445
+ "value": "{amsterdam.typography.font-weight.bold}"
3446
+ },
3447
+ "name": "amsterdamDialogTitleFontWeight",
3448
+ "attributes": {
3449
+ "category": "amsterdam",
3450
+ "type": "dialog",
3451
+ "item": "title",
3452
+ "subitem": "font-weight"
3453
+ },
3454
+ "path": [
3455
+ "amsterdam",
3456
+ "dialog",
3457
+ "title",
3458
+ "font-weight"
3459
+ ]
3460
+ },
3461
+ "line-height": {
3462
+ "value": "1.5",
3463
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3464
+ "isSource": true,
3465
+ "original": {
3466
+ "value": "{amsterdam.typography.text-level.5.line-height}"
3467
+ },
3468
+ "name": "amsterdamDialogTitleLineHeight",
3469
+ "attributes": {
3470
+ "category": "amsterdam",
3471
+ "type": "dialog",
3472
+ "item": "title",
3473
+ "subitem": "line-height"
3474
+ },
3475
+ "path": [
3476
+ "amsterdam",
3477
+ "dialog",
3478
+ "title",
3479
+ "line-height"
3480
+ ]
3481
+ },
3482
+ "narrow": {
3483
+ "font-size": {
3484
+ "value": "clamp(1.375rem, calc(1.375rem + (0.25 * (100vw - 20rem)) / 33.3125), 1.625rem)",
3485
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3486
+ "isSource": true,
3487
+ "original": {
3488
+ "value": "{amsterdam.typography.text-level.5.narrow.font-size}"
3489
+ },
3490
+ "name": "amsterdamDialogTitleNarrowFontSize",
3491
+ "attributes": {
3492
+ "category": "amsterdam",
3493
+ "type": "dialog",
3494
+ "item": "title",
3495
+ "subitem": "narrow",
3496
+ "state": "font-size"
3497
+ },
3498
+ "path": [
3499
+ "amsterdam",
3500
+ "dialog",
3501
+ "title",
3502
+ "narrow",
3503
+ "font-size"
3504
+ ]
3505
+ }
3506
+ },
3507
+ "wide": {
3508
+ "font-size": {
3509
+ "value": "clamp(1.625rem, calc(1.625rem + (0.125 * (100vw - 53.375rem)) / 36.625), 1.75rem)",
3510
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3511
+ "isSource": true,
3512
+ "original": {
3513
+ "value": "{amsterdam.typography.text-level.5.wide.font-size}"
3514
+ },
3515
+ "name": "amsterdamDialogTitleWideFontSize",
3516
+ "attributes": {
3517
+ "category": "amsterdam",
3518
+ "type": "dialog",
3519
+ "item": "title",
3520
+ "subitem": "wide",
3521
+ "state": "font-size"
3522
+ },
3523
+ "path": [
3524
+ "amsterdam",
3525
+ "dialog",
3526
+ "title",
3527
+ "wide",
3528
+ "font-size"
3529
+ ]
3530
+ }
3531
+ }
3532
+ },
3533
+ "backdrop": {
3534
+ "background": {
3535
+ "value": "#0006",
3536
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3537
+ "isSource": true,
3538
+ "original": {
3539
+ "value": "#0006"
3540
+ },
3541
+ "name": "amsterdamDialogBackdropBackground",
3542
+ "attributes": {
3543
+ "category": "amsterdam",
3544
+ "type": "dialog",
3545
+ "item": "backdrop",
3546
+ "subitem": "background"
3547
+ },
3548
+ "path": [
3549
+ "amsterdam",
3550
+ "dialog",
3551
+ "backdrop",
3552
+ "background"
3553
+ ]
3554
+ }
3555
+ },
3556
+ "close": {
3341
3557
  "background-color": {
3342
- "value": "#004699",
3343
- "filePath": "./src/components/amsterdam/footer.tokens.json",
3558
+ "value": "transparent",
3559
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3344
3560
  "isSource": true,
3345
3561
  "original": {
3346
- "value": "{amsterdam.color.primary-blue}"
3562
+ "value": "transparent"
3347
3563
  },
3348
- "name": "amsterdamFooterTopBackgroundColor",
3564
+ "name": "amsterdamDialogCloseBackgroundColor",
3349
3565
  "attributes": {
3350
3566
  "category": "amsterdam",
3351
- "type": "footer",
3352
- "item": "top",
3567
+ "type": "dialog",
3568
+ "item": "close",
3353
3569
  "subitem": "background-color"
3354
3570
  },
3355
3571
  "path": [
3356
3572
  "amsterdam",
3357
- "footer",
3358
- "top",
3573
+ "dialog",
3574
+ "close",
3359
3575
  "background-color"
3360
3576
  ]
3577
+ },
3578
+ "fill": {
3579
+ "value": "#000000",
3580
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3581
+ "isSource": true,
3582
+ "original": {
3583
+ "value": "{amsterdam.color.primary-black}"
3584
+ },
3585
+ "name": "amsterdamDialogCloseFill",
3586
+ "attributes": {
3587
+ "category": "amsterdam",
3588
+ "type": "dialog",
3589
+ "item": "close",
3590
+ "subitem": "fill"
3591
+ },
3592
+ "path": [
3593
+ "amsterdam",
3594
+ "dialog",
3595
+ "close",
3596
+ "fill"
3597
+ ]
3598
+ },
3599
+ "hover": {
3600
+ "fill": {
3601
+ "value": "#004699",
3602
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3603
+ "isSource": true,
3604
+ "original": {
3605
+ "value": "{amsterdam.color.primary-blue}"
3606
+ },
3607
+ "name": "amsterdamDialogCloseHoverFill",
3608
+ "attributes": {
3609
+ "category": "amsterdam",
3610
+ "type": "dialog",
3611
+ "item": "close",
3612
+ "subitem": "hover",
3613
+ "state": "fill"
3614
+ },
3615
+ "path": [
3616
+ "amsterdam",
3617
+ "dialog",
3618
+ "close",
3619
+ "hover",
3620
+ "fill"
3621
+ ]
3622
+ }
3623
+ }
3624
+ },
3625
+ "form": {
3626
+ "gap": {
3627
+ "value": "1.5rem",
3628
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3629
+ "isSource": true,
3630
+ "original": {
3631
+ "value": "1.5rem"
3632
+ },
3633
+ "name": "amsterdamDialogFormGap",
3634
+ "attributes": {
3635
+ "category": "amsterdam",
3636
+ "type": "dialog",
3637
+ "item": "form",
3638
+ "subitem": "gap"
3639
+ },
3640
+ "path": [
3641
+ "amsterdam",
3642
+ "dialog",
3643
+ "form",
3644
+ "gap"
3645
+ ]
3646
+ },
3647
+ "padding-block": {
3648
+ "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)",
3649
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3650
+ "isSource": true,
3651
+ "original": {
3652
+ "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)"
3653
+ },
3654
+ "name": "amsterdamDialogFormPaddingBlock",
3655
+ "attributes": {
3656
+ "category": "amsterdam",
3657
+ "type": "dialog",
3658
+ "item": "form",
3659
+ "subitem": "padding-block"
3660
+ },
3661
+ "path": [
3662
+ "amsterdam",
3663
+ "dialog",
3664
+ "form",
3665
+ "padding-block"
3666
+ ]
3667
+ },
3668
+ "padding-inline": {
3669
+ "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)",
3670
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3671
+ "isSource": true,
3672
+ "original": {
3673
+ "value": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.5337rem) * 2.1448)), 2.5rem)"
3674
+ },
3675
+ "name": "amsterdamDialogFormPaddingInline",
3676
+ "attributes": {
3677
+ "category": "amsterdam",
3678
+ "type": "dialog",
3679
+ "item": "form",
3680
+ "subitem": "padding-inline"
3681
+ },
3682
+ "path": [
3683
+ "amsterdam",
3684
+ "dialog",
3685
+ "form",
3686
+ "padding-inline"
3687
+ ]
3688
+ },
3689
+ "max-block-size": {
3690
+ "value": "75vh",
3691
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3692
+ "isSource": true,
3693
+ "original": {
3694
+ "value": "75vh"
3695
+ },
3696
+ "name": "amsterdamDialogFormMaxBlockSize",
3697
+ "attributes": {
3698
+ "category": "amsterdam",
3699
+ "type": "dialog",
3700
+ "item": "form",
3701
+ "subitem": "max-block-size"
3702
+ },
3703
+ "path": [
3704
+ "amsterdam",
3705
+ "dialog",
3706
+ "form",
3707
+ "max-block-size"
3708
+ ]
3709
+ }
3710
+ },
3711
+ "article": {
3712
+ "padding-inline-end": {
3713
+ "value": "1.5rem",
3714
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3715
+ "isSource": true,
3716
+ "original": {
3717
+ "value": "1.5rem"
3718
+ },
3719
+ "name": "amsterdamDialogArticlePaddingInlineEnd",
3720
+ "attributes": {
3721
+ "category": "amsterdam",
3722
+ "type": "dialog",
3723
+ "item": "article",
3724
+ "subitem": "padding-inline-end"
3725
+ },
3726
+ "path": [
3727
+ "amsterdam",
3728
+ "dialog",
3729
+ "article",
3730
+ "padding-inline-end"
3731
+ ]
3732
+ }
3733
+ },
3734
+ "header": {
3735
+ "gap": {
3736
+ "value": "1rem",
3737
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3738
+ "isSource": true,
3739
+ "original": {
3740
+ "value": "1rem"
3741
+ },
3742
+ "name": "amsterdamDialogHeaderGap",
3743
+ "attributes": {
3744
+ "category": "amsterdam",
3745
+ "type": "dialog",
3746
+ "item": "header",
3747
+ "subitem": "gap"
3748
+ },
3749
+ "path": [
3750
+ "amsterdam",
3751
+ "dialog",
3752
+ "header",
3753
+ "gap"
3754
+ ]
3755
+ }
3756
+ },
3757
+ "footer": {
3758
+ "gap": {
3759
+ "value": "1rem",
3760
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3761
+ "isSource": true,
3762
+ "original": {
3763
+ "value": "1rem"
3764
+ },
3765
+ "name": "amsterdamDialogFooterGap",
3766
+ "attributes": {
3767
+ "category": "amsterdam",
3768
+ "type": "dialog",
3769
+ "item": "footer",
3770
+ "subitem": "gap"
3771
+ },
3772
+ "path": [
3773
+ "amsterdam",
3774
+ "dialog",
3775
+ "footer",
3776
+ "gap"
3777
+ ]
3778
+ },
3779
+ "padding-block": {
3780
+ "value": "1.5rem 0",
3781
+ "filePath": "./src/components/amsterdam/dialog.tokens.json",
3782
+ "isSource": true,
3783
+ "original": {
3784
+ "value": "1.5rem 0"
3785
+ },
3786
+ "name": "amsterdamDialogFooterPaddingBlock",
3787
+ "attributes": {
3788
+ "category": "amsterdam",
3789
+ "type": "dialog",
3790
+ "item": "footer",
3791
+ "subitem": "padding-block"
3792
+ },
3793
+ "path": [
3794
+ "amsterdam",
3795
+ "dialog",
3796
+ "footer",
3797
+ "padding-block"
3798
+ ]
3361
3799
  }
3362
3800
  }
3363
3801
  },
@@ -3507,12 +3945,12 @@ module.exports = {
3507
3945
  },
3508
3946
  "density-low": {
3509
3947
  "gap": {
3510
- "value": "clamp(1rem, 3.125vw + 0.375rem, 3.5rem)",
3948
+ "value": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
3511
3949
  "comment": "Grows from 16px at 320px wide to 56px at 1600px wide.",
3512
3950
  "filePath": "./src/components/amsterdam/grid.tokens.json",
3513
3951
  "isSource": true,
3514
3952
  "original": {
3515
- "value": "clamp(1rem, 3.125vw + 0.375rem, 3.5rem)",
3953
+ "value": "clamp(1rem, calc(3.125vw + 0.375rem), 3.5rem)",
3516
3954
  "comment": "Grows from 16px at 320px wide to 56px at 1600px wide."
3517
3955
  },
3518
3956
  "name": "amsterdamGridDensityLowGap",
@@ -3530,12 +3968,12 @@ module.exports = {
3530
3968
  ]
3531
3969
  },
3532
3970
  "padding-inline": {
3533
- "value": "clamp(1.5rem, 4.6875vw + 0.5625rem, 5.25rem)",
3971
+ "value": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)",
3534
3972
  "comment": "Equals 1.5 times the gap.",
3535
3973
  "filePath": "./src/components/amsterdam/grid.tokens.json",
3536
3974
  "isSource": true,
3537
3975
  "original": {
3538
- "value": "clamp(1.5rem, 4.6875vw + 0.5625rem, 5.25rem)",
3976
+ "value": "clamp(1.5rem, calc(4.6875vw + 0.5625rem), 5.25rem)",
3539
3977
  "comment": "Equals 1.5 times the gap."
3540
3978
  },
3541
3979
  "name": "amsterdamGridDensityLowPaddingInline",
@@ -3555,12 +3993,12 @@ module.exports = {
3555
3993
  },
3556
3994
  "density-high": {
3557
3995
  "gap": {
3558
- "value": "clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem)",
3996
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
3559
3997
  "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide.",
3560
3998
  "filePath": "./src/components/amsterdam/grid.tokens.json",
3561
3999
  "isSource": true,
3562
4000
  "original": {
3563
- "value": "clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem)",
4001
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
3564
4002
  "comment": "Grows from 16px at 1088px wide to 40px at 2624px wide."
3565
4003
  },
3566
4004
  "name": "amsterdamGridDensityHighGap",
@@ -3578,12 +4016,12 @@ module.exports = {
3578
4016
  ]
3579
4017
  },
3580
4018
  "padding-inline": {
3581
- "value": "clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem)",
4019
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
3582
4020
  "comment": "Equals the gap.",
3583
4021
  "filePath": "./src/components/amsterdam/grid.tokens.json",
3584
4022
  "isSource": true,
3585
4023
  "original": {
3586
- "value": "clamp(1rem, 1.5625vw - 0.0625rem, 2.5rem)",
4024
+ "value": "clamp(1rem, calc(1.5625vw - 0.0625rem), 2.5rem)",
3587
4025
  "comment": "Equals the gap."
3588
4026
  },
3589
4027
  "name": "amsterdamGridDensityHighPaddingInline",
@@ -5337,6 +5775,96 @@ module.exports = {
5337
5775
  }
5338
5776
  }
5339
5777
  },
5778
+ "logo": {
5779
+ "height": {
5780
+ "value": "2.5rem",
5781
+ "filePath": "./src/components/amsterdam/logo.tokens.json",
5782
+ "isSource": true,
5783
+ "original": {
5784
+ "value": "2.5rem"
5785
+ },
5786
+ "name": "amsterdamLogoHeight",
5787
+ "attributes": {
5788
+ "category": "amsterdam",
5789
+ "type": "logo",
5790
+ "item": "height"
5791
+ },
5792
+ "path": [
5793
+ "amsterdam",
5794
+ "logo",
5795
+ "height"
5796
+ ]
5797
+ },
5798
+ "emblem": {
5799
+ "color": {
5800
+ "value": "#EC0000",
5801
+ "filePath": "./src/components/amsterdam/logo.tokens.json",
5802
+ "isSource": true,
5803
+ "original": {
5804
+ "value": "{amsterdam.color.primary-red}"
5805
+ },
5806
+ "name": "amsterdamLogoEmblemColor",
5807
+ "attributes": {
5808
+ "category": "amsterdam",
5809
+ "type": "logo",
5810
+ "item": "emblem",
5811
+ "subitem": "color"
5812
+ },
5813
+ "path": [
5814
+ "amsterdam",
5815
+ "logo",
5816
+ "emblem",
5817
+ "color"
5818
+ ]
5819
+ }
5820
+ },
5821
+ "title": {
5822
+ "color": {
5823
+ "value": "#EC0000",
5824
+ "filePath": "./src/components/amsterdam/logo.tokens.json",
5825
+ "isSource": true,
5826
+ "original": {
5827
+ "value": "{amsterdam.color.primary-red}"
5828
+ },
5829
+ "name": "amsterdamLogoTitleColor",
5830
+ "attributes": {
5831
+ "category": "amsterdam",
5832
+ "type": "logo",
5833
+ "item": "title",
5834
+ "subitem": "color"
5835
+ },
5836
+ "path": [
5837
+ "amsterdam",
5838
+ "logo",
5839
+ "title",
5840
+ "color"
5841
+ ]
5842
+ }
5843
+ },
5844
+ "subsite": {
5845
+ "color": {
5846
+ "value": "#000000",
5847
+ "filePath": "./src/components/amsterdam/logo.tokens.json",
5848
+ "isSource": true,
5849
+ "original": {
5850
+ "value": "{amsterdam.color.primary-black}"
5851
+ },
5852
+ "name": "amsterdamLogoSubsiteColor",
5853
+ "attributes": {
5854
+ "category": "amsterdam",
5855
+ "type": "logo",
5856
+ "item": "subsite",
5857
+ "subitem": "color"
5858
+ },
5859
+ "path": [
5860
+ "amsterdam",
5861
+ "logo",
5862
+ "subsite",
5863
+ "color"
5864
+ ]
5865
+ }
5866
+ }
5867
+ },
5340
5868
  "ordered-list": {
5341
5869
  "color": {
5342
5870
  "value": "#000000",