@sage/design-tokens 2.52.0 → 2.54.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 (38) hide show
  1. package/android/base.xml +1 -2
  2. package/android/origin.xml +121 -0
  3. package/css/base.css +1 -2
  4. package/css/origin.css +123 -0
  5. package/data/tokens.json +598 -11
  6. package/docs/tokens/base/border-radius/index.html +12 -21
  7. package/docs/tokens/base/border-width/index.html +12 -0
  8. package/docs/tokens/base/box-shadow/index.html +12 -0
  9. package/docs/tokens/base/colors/index.html +12 -0
  10. package/docs/tokens/base/font-families/index.html +12 -0
  11. package/docs/tokens/base/font-sizes/index.html +12 -0
  12. package/docs/tokens/base/font-weights/index.html +12 -0
  13. package/docs/tokens/base/index.html +12 -21
  14. package/docs/tokens/base/line-heights/index.html +12 -0
  15. package/docs/tokens/base/opacity/index.html +12 -0
  16. package/docs/tokens/base/sizing/index.html +12 -0
  17. package/docs/tokens/base/spacing/index.html +12 -0
  18. package/docs/tokens/base/typography/index.html +12 -0
  19. package/docs/tokens/index.html +2348 -21
  20. package/docs/tokens/origin/index.html +2621 -0
  21. package/docs/tokens/origin/origin/index.html +2626 -0
  22. package/index.d.ts +2 -0
  23. package/index.js +2 -0
  24. package/ios/base.h +1 -2
  25. package/ios/origin.h +125 -0
  26. package/js/base/common.d.ts +0 -1
  27. package/js/base/common.js +1 -2
  28. package/js/base/es6.d.ts +0 -1
  29. package/js/base/es6.js +0 -1
  30. package/js/origin/common.d.ts +112 -0
  31. package/js/origin/common.js +123 -0
  32. package/js/origin/es6.d.ts +115 -0
  33. package/js/origin/es6.js +118 -0
  34. package/package.json +1 -1
  35. package/sage-design-tokens-2.54.0.tgz +0 -0
  36. package/scss/base.scss +1 -2
  37. package/scss/origin.scss +120 -0
  38. package/sage-design-tokens-2.52.0.tgz +0 -0
package/data/tokens.json CHANGED
@@ -1594,35 +1594,38 @@
1594
1594
  "borderRadius": {
1595
1595
  "100": {
1596
1596
  "value": "8px",
1597
- "type": "borderRadius"
1597
+ "type": "borderRadius",
1598
+ "description": "Anchor nav (right corners), Card (tightly stacked), Message, Navigation top (menu bottom corners), Navigation left (menu selected state, TBC hover state), Pagination, Tab, Table, Toast"
1598
1599
  },
1599
1600
  "200": {
1600
1601
  "value": "16px",
1601
- "type": "borderRadius"
1602
- },
1603
- "300": {
1604
- "value": "24px",
1605
- "type": "borderRadius"
1602
+ "type": "borderRadius",
1603
+ "description": "Carousel: What's New, Dialog (not full screen), Action popover (menu), Button: Multi-action (menu), Button: Split (menu), Card (larger spaced), Tile, Tile select, Color picker, Tooltip"
1606
1604
  },
1607
1605
  "400": {
1608
1606
  "value": "32px",
1609
- "type": "borderRadius"
1607
+ "type": "borderRadius",
1608
+ "description": "Action popover (button), Button bars (outer corners only), Button: Major, Button: Minor, Button: Multi-action, Button: Split, Button: Toggle, File upload (integrated moving bar), Loader bar (moving bar), Progress bar (expanding bar)"
1610
1609
  },
1611
1610
  "circle": {
1612
1611
  "value": "50%",
1613
- "type": "borderRadius"
1612
+ "type": "borderRadius",
1613
+ "description": "Badge, Radio button."
1614
1614
  },
1615
1615
  "025": {
1616
1616
  "value": "2px",
1617
- "type": "borderRadius"
1617
+ "type": "borderRadius",
1618
+ "description": "Checkbox S"
1618
1619
  },
1619
1620
  "050": {
1620
1621
  "value": "4px",
1621
- "type": "borderRadius"
1622
+ "type": "borderRadius",
1623
+ "description": "Checkbox L, Date picker, Dropdown select (trigger), Dropdown select (menu), Link focus (tbc), Pill, Search, Text area, Text input"
1622
1624
  },
1623
1625
  "000": {
1624
1626
  "value": "0px",
1625
- "type": "borderRadius"
1627
+ "type": "borderRadius",
1628
+ "description": "Grouped button internal/adjacent corners, File upload (integrated bar extreme left and right corners)"
1626
1629
  }
1627
1630
  },
1628
1631
  "typography": {
@@ -3622,5 +3625,589 @@
3622
3625
  "type": "opacity"
3623
3626
  }
3624
3627
  }
3628
+ },
3629
+ "origin": {
3630
+ "meta": {
3631
+ "name": {
3632
+ "value": "Origin Token Set",
3633
+ "type": "other"
3634
+ },
3635
+ "public": {
3636
+ "value": "true",
3637
+ "type": "other"
3638
+ }
3639
+ },
3640
+ "origin": {
3641
+ "jade": {
3642
+ "100": {
3643
+ "value": "#8ff8b7ff",
3644
+ "type": "color",
3645
+ "description": "ORIGIN"
3646
+ },
3647
+ "200": {
3648
+ "value": "#44ed90ff",
3649
+ "type": "color",
3650
+ "description": "ORIGIN"
3651
+ },
3652
+ "300": {
3653
+ "value": "#00ca71ff",
3654
+ "type": "color",
3655
+ "description": "ORIGIN"
3656
+ },
3657
+ "400": {
3658
+ "value": "#00a65cff",
3659
+ "type": "color",
3660
+ "description": "ORIGIN - core"
3661
+ },
3662
+ "500": {
3663
+ "value": "#00884aff",
3664
+ "type": "color",
3665
+ "description": "ORIGIN"
3666
+ },
3667
+ "600": {
3668
+ "value": "#006d3bff",
3669
+ "type": "color",
3670
+ "description": "ORIGIN"
3671
+ },
3672
+ "700": {
3673
+ "value": "#00522cff",
3674
+ "type": "color",
3675
+ "description": "ORIGIN"
3676
+ },
3677
+ "800": {
3678
+ "value": "#00361eff",
3679
+ "type": "color",
3680
+ "description": "ORIGIN"
3681
+ },
3682
+ "900": {
3683
+ "value": "#001b0fff",
3684
+ "type": "color",
3685
+ "description": "ORIGIN"
3686
+ },
3687
+ "1000": {
3688
+ "value": "#000000ff",
3689
+ "type": "color",
3690
+ "description": "ORIGIN"
3691
+ },
3692
+ "000": {
3693
+ "value": "#ffffffff",
3694
+ "type": "color",
3695
+ "description": "ORIGIN"
3696
+ },
3697
+ "010": {
3698
+ "value": "#f2fef7ff",
3699
+ "type": "color",
3700
+ "description": "ORIGIN"
3701
+ },
3702
+ "050": {
3703
+ "value": "#c4fcd8ff",
3704
+ "type": "color",
3705
+ "description": "ORIGIN"
3706
+ }
3707
+ },
3708
+ "navy": {
3709
+ "100": {
3710
+ "value": "#89d7edff",
3711
+ "type": "color",
3712
+ "description": "ORIGIN"
3713
+ },
3714
+ "200": {
3715
+ "value": "#65bedfff",
3716
+ "type": "color",
3717
+ "description": "ORIGIN"
3718
+ },
3719
+ "300": {
3720
+ "value": "#41a5d1ff",
3721
+ "type": "color",
3722
+ "description": "ORIGIN"
3723
+ },
3724
+ "400": {
3725
+ "value": "#1d8cc3ff",
3726
+ "type": "color",
3727
+ "description": "ORIGIN"
3728
+ },
3729
+ "500": {
3730
+ "value": "#0e74a7ff",
3731
+ "type": "color",
3732
+ "description": "ORIGIN"
3733
+ },
3734
+ "600": {
3735
+ "value": "#095b84ff",
3736
+ "type": "color",
3737
+ "description": "ORIGIN"
3738
+ },
3739
+ "700": {
3740
+ "value": "#054262ff",
3741
+ "type": "color",
3742
+ "description": "ORIGIN"
3743
+ },
3744
+ "800": {
3745
+ "value": "#00293fff",
3746
+ "type": "color",
3747
+ "description": "ORIGIN - core"
3748
+ },
3749
+ "900": {
3750
+ "value": "#001520ff",
3751
+ "type": "color",
3752
+ "description": "ORIGIN"
3753
+ },
3754
+ "1000": {
3755
+ "value": "#000000ff",
3756
+ "type": "color",
3757
+ "description": "ORIGIN"
3758
+ },
3759
+ "000": {
3760
+ "value": "#ffffffff",
3761
+ "type": "color",
3762
+ "description": "ORIGIN"
3763
+ },
3764
+ "010": {
3765
+ "value": "#f4fcfeff",
3766
+ "type": "color",
3767
+ "description": "ORIGIN"
3768
+ },
3769
+ "050": {
3770
+ "value": "#caf1fcff",
3771
+ "type": "color",
3772
+ "description": "ORIGIN"
3773
+ }
3774
+ },
3775
+ "teal": {
3776
+ "100": {
3777
+ "value": "#89edeaff",
3778
+ "type": "color",
3779
+ "description": "ORIGIN"
3780
+ },
3781
+ "200": {
3782
+ "value": "#5bcfcdff",
3783
+ "type": "color",
3784
+ "description": "ORIGIN"
3785
+ },
3786
+ "300": {
3787
+ "value": "#2eb2b1ff",
3788
+ "type": "color",
3789
+ "description": "ORIGIN"
3790
+ },
3791
+ "400": {
3792
+ "value": "#009494ff",
3793
+ "type": "color",
3794
+ "description": "ORIGIN"
3795
+ },
3796
+ "500": {
3797
+ "value": "#007776ff",
3798
+ "type": "color",
3799
+ "description": "ORIGIN"
3800
+ },
3801
+ "600": {
3802
+ "value": "#006362ff",
3803
+ "type": "color",
3804
+ "description": "ORIGIN - core"
3805
+ },
3806
+ "700": {
3807
+ "value": "#004a4aff",
3808
+ "type": "color",
3809
+ "description": "ORIGIN"
3810
+ },
3811
+ "800": {
3812
+ "value": "#003231ff",
3813
+ "type": "color",
3814
+ "description": "ORIGIN"
3815
+ },
3816
+ "900": {
3817
+ "value": "#001919ff",
3818
+ "type": "color",
3819
+ "description": "ORIGIN"
3820
+ },
3821
+ "1000": {
3822
+ "value": "#000000ff",
3823
+ "type": "color",
3824
+ "description": "ORIGIN"
3825
+ },
3826
+ "000": {
3827
+ "value": "#ffffffff",
3828
+ "type": "color",
3829
+ "description": "ORIGIN"
3830
+ },
3831
+ "010": {
3832
+ "value": "#f4fefeff",
3833
+ "type": "color",
3834
+ "description": "ORIGIN"
3835
+ },
3836
+ "050": {
3837
+ "value": "#c3faf8ff",
3838
+ "type": "color",
3839
+ "description": "ORIGIN"
3840
+ }
3841
+ },
3842
+ "cherry": {
3843
+ "100": {
3844
+ "value": "#f7b3c2ff",
3845
+ "type": "color",
3846
+ "description": "ORIGIN"
3847
+ },
3848
+ "200": {
3849
+ "value": "#ed94aaff",
3850
+ "type": "color",
3851
+ "description": "ORIGIN"
3852
+ },
3853
+ "300": {
3854
+ "value": "#e27491ff",
3855
+ "type": "color",
3856
+ "description": "ORIGIN"
3857
+ },
3858
+ "400": {
3859
+ "value": "#d85579ff",
3860
+ "type": "color",
3861
+ "description": "ORIGIN"
3862
+ },
3863
+ "500": {
3864
+ "value": "#ba3c63ff",
3865
+ "type": "color",
3866
+ "description": "ORIGIN"
3867
+ },
3868
+ "600": {
3869
+ "value": "#95304fff",
3870
+ "type": "color",
3871
+ "description": "ORIGIN"
3872
+ },
3873
+ "700": {
3874
+ "value": "#70243bff",
3875
+ "type": "color",
3876
+ "description": "ORIGIN"
3877
+ },
3878
+ "800": {
3879
+ "value": "#4a1828ff",
3880
+ "type": "color",
3881
+ "description": "ORIGIN - core"
3882
+ },
3883
+ "900": {
3884
+ "value": "#250c14ff",
3885
+ "type": "color",
3886
+ "description": "ORIGIN"
3887
+ },
3888
+ "1000": {
3889
+ "value": "#000000ff",
3890
+ "type": "color",
3891
+ "description": "ORIGIN"
3892
+ },
3893
+ "000": {
3894
+ "value": "#ffffffff",
3895
+ "type": "color",
3896
+ "description": "ORIGIN"
3897
+ },
3898
+ "010": {
3899
+ "value": "#fef5f7ff",
3900
+ "type": "color",
3901
+ "description": "ORIGIN"
3902
+ },
3903
+ "050": {
3904
+ "value": "#fad4deff",
3905
+ "type": "color",
3906
+ "description": "ORIGIN"
3907
+ }
3908
+ },
3909
+ "terra": {
3910
+ "100": {
3911
+ "value": "#ffbca6ff",
3912
+ "type": "color",
3913
+ "description": "ORIGIN"
3914
+ },
3915
+ "200": {
3916
+ "value": "#f59a83ff",
3917
+ "type": "color",
3918
+ "description": "ORIGIN"
3919
+ },
3920
+ "300": {
3921
+ "value": "#ea7961ff",
3922
+ "type": "color",
3923
+ "description": "ORIGIN"
3924
+ },
3925
+ "400": {
3926
+ "value": "#e0583eff",
3927
+ "type": "color",
3928
+ "description": "ORIGIN"
3929
+ },
3930
+ "500": {
3931
+ "value": "#c94633ff",
3932
+ "type": "color",
3933
+ "description": "ORIGIN"
3934
+ },
3935
+ "600": {
3936
+ "value": "#a13829ff",
3937
+ "type": "color",
3938
+ "description": "ORIGIN - core"
3939
+ },
3940
+ "700": {
3941
+ "value": "#782a1eff",
3942
+ "type": "color",
3943
+ "description": "ORIGIN"
3944
+ },
3945
+ "800": {
3946
+ "value": "#501c14ff",
3947
+ "type": "color",
3948
+ "description": "ORIGIN"
3949
+ },
3950
+ "900": {
3951
+ "value": "#280e0aff",
3952
+ "type": "color",
3953
+ "description": "ORIGIN"
3954
+ },
3955
+ "1000": {
3956
+ "value": "#000000ff",
3957
+ "type": "color",
3958
+ "description": "ORIGIN"
3959
+ },
3960
+ "000": {
3961
+ "value": "#ffffffff",
3962
+ "type": "color",
3963
+ "description": "ORIGIN"
3964
+ },
3965
+ "010": {
3966
+ "value": "#fff7f5ff",
3967
+ "type": "color",
3968
+ "description": "ORIGIN"
3969
+ },
3970
+ "050": {
3971
+ "value": "#ffdcd1ff",
3972
+ "type": "color",
3973
+ "description": "ORIGIN"
3974
+ }
3975
+ },
3976
+ "amber": {
3977
+ "100": {
3978
+ "value": "#ffe290ff",
3979
+ "type": "color",
3980
+ "description": "ORIGIN"
3981
+ },
3982
+ "200": {
3983
+ "value": "#f5ce55ff",
3984
+ "type": "color",
3985
+ "description": "ORIGIN"
3986
+ },
3987
+ "300": {
3988
+ "value": "#efab2fff",
3989
+ "type": "color",
3990
+ "description": "ORIGIN"
3991
+ },
3992
+ "400": {
3993
+ "value": "#e98709ff",
3994
+ "type": "color",
3995
+ "description": "ORIGIN - core"
3996
+ },
3997
+ "500": {
3998
+ "value": "#c15708ff",
3999
+ "type": "color",
4000
+ "description": "ORIGIN"
4001
+ },
4002
+ "600": {
4003
+ "value": "#9b4609ff",
4004
+ "type": "color",
4005
+ "description": "ORIGIN"
4006
+ },
4007
+ "700": {
4008
+ "value": "#75330aff",
4009
+ "type": "color",
4010
+ "description": "ORIGIN"
4011
+ },
4012
+ "800": {
4013
+ "value": "#4f220bff",
4014
+ "type": "color",
4015
+ "description": "ORIGIN"
4016
+ },
4017
+ "900": {
4018
+ "value": "#281106ff",
4019
+ "type": "color",
4020
+ "description": "ORIGIN"
4021
+ },
4022
+ "1000": {
4023
+ "value": "#000000ff",
4024
+ "type": "color",
4025
+ "description": "ORIGIN"
4026
+ },
4027
+ "000": {
4028
+ "value": "#ffffffff",
4029
+ "type": "color",
4030
+ "description": "ORIGIN"
4031
+ },
4032
+ "010": {
4033
+ "value": "#fffcefff",
4034
+ "type": "color",
4035
+ "description": "ORIGIN"
4036
+ },
4037
+ "050": {
4038
+ "value": "#fff0c3ff",
4039
+ "type": "color",
4040
+ "description": "ORIGIN"
4041
+ }
4042
+ },
4043
+ "skin": {
4044
+ "400": {
4045
+ "value": "#ddb89eff",
4046
+ "type": "color",
4047
+ "description": "ORIGIN"
4048
+ },
4049
+ "500": {
4050
+ "value": "#e84d4fff",
4051
+ "type": "color",
4052
+ "description": "ORIGIN"
4053
+ },
4054
+ "600": {
4055
+ "value": "#b26e3dff",
4056
+ "type": "color",
4057
+ "description": "ORIGIN"
4058
+ },
4059
+ "700": {
4060
+ "value": "#3a2417ff",
4061
+ "type": "color",
4062
+ "description": "ORIGIN"
4063
+ }
4064
+ },
4065
+ "gray": {
4066
+ "100": {
4067
+ "value": "#e6e6e6ff",
4068
+ "type": "color",
4069
+ "description": "ORIGIN"
4070
+ },
4071
+ "200": {
4072
+ "value": "#ccccccff",
4073
+ "type": "color",
4074
+ "description": "ORIGIN"
4075
+ },
4076
+ "300": {
4077
+ "value": "#b3b3b3ff",
4078
+ "type": "color",
4079
+ "description": "ORIGIN"
4080
+ },
4081
+ "400": {
4082
+ "value": "#999999ff",
4083
+ "type": "color",
4084
+ "description": "ORIGIN"
4085
+ },
4086
+ "500": {
4087
+ "value": "#808080ff",
4088
+ "type": "color",
4089
+ "description": "ORIGIN"
4090
+ },
4091
+ "600": {
4092
+ "value": "#666666ff",
4093
+ "type": "color",
4094
+ "description": "ORIGIN"
4095
+ },
4096
+ "700": {
4097
+ "value": "#4d4d4dff",
4098
+ "type": "color",
4099
+ "description": "ORIGIN"
4100
+ },
4101
+ "800": {
4102
+ "value": "#333333ff",
4103
+ "type": "color",
4104
+ "description": "ORIGIN"
4105
+ },
4106
+ "900": {
4107
+ "value": "#191919ff",
4108
+ "type": "color",
4109
+ "description": "ORIGIN"
4110
+ },
4111
+ "1000": {
4112
+ "value": "#000000ff",
4113
+ "type": "color",
4114
+ "description": "ORIGIN - brand"
4115
+ },
4116
+ "000": {
4117
+ "value": "#ffffffff",
4118
+ "type": "color",
4119
+ "description": "ORIGIN - brand"
4120
+ },
4121
+ "010": {
4122
+ "value": "#fcfcfcff",
4123
+ "type": "color",
4124
+ "description": "ORIGIN"
4125
+ },
4126
+ "050": {
4127
+ "value": "#f2f2f2ff",
4128
+ "type": "color",
4129
+ "description": "ORIGIN"
4130
+ }
4131
+ },
4132
+ "malachite": {
4133
+ "100": {
4134
+ "value": "#8df79fff",
4135
+ "type": "color",
4136
+ "description": "ORIGIN"
4137
+ },
4138
+ "200": {
4139
+ "value": "#42eb64ff",
4140
+ "type": "color",
4141
+ "description": "ORIGIN"
4142
+ },
4143
+ "300": {
4144
+ "value": "#00d639ff",
4145
+ "type": "color",
4146
+ "description": "ORIGIN - brand"
4147
+ },
4148
+ "400": {
4149
+ "value": "#00af2dff",
4150
+ "type": "color",
4151
+ "description": "ORIGIN"
4152
+ },
4153
+ "500": {
4154
+ "value": "#008a21ff",
4155
+ "type": "color",
4156
+ "description": "ORIGIN"
4157
+ },
4158
+ "600": {
4159
+ "value": "#006716ff",
4160
+ "type": "color",
4161
+ "description": "ORIGIN"
4162
+ },
4163
+ "700": {
4164
+ "value": "#00460cff",
4165
+ "type": "color",
4166
+ "description": "ORIGIN"
4167
+ },
4168
+ "800": {
4169
+ "value": "#002f08ff",
4170
+ "type": "color",
4171
+ "description": "ORIGIN"
4172
+ },
4173
+ "900": {
4174
+ "value": "#001704ff",
4175
+ "type": "color",
4176
+ "description": "ORIGIN"
4177
+ },
4178
+ "1000": {
4179
+ "value": "#000000ff",
4180
+ "type": "color",
4181
+ "description": "ORIGIN"
4182
+ },
4183
+ "000": {
4184
+ "value": "#ffffffff",
4185
+ "type": "color",
4186
+ "description": "ORIGIN"
4187
+ },
4188
+ "010": {
4189
+ "value": "#effcf0ff",
4190
+ "type": "color",
4191
+ "description": "ORIGIN"
4192
+ },
4193
+ "050": {
4194
+ "value": "#c1fac7ff",
4195
+ "type": "color",
4196
+ "description": "ORIGIN"
4197
+ }
4198
+ },
4199
+ "fuschia": {
4200
+ "400": {
4201
+ "value": "#bf47c3ff",
4202
+ "type": "color",
4203
+ "description": "ORIGIN"
4204
+ },
4205
+ "500": {
4206
+ "value": "#b832bcff",
4207
+ "type": "color",
4208
+ "description": "ORIGIN"
4209
+ }
4210
+ }
4211
+ }
3625
4212
  }
3626
4213
  }
@@ -256,6 +256,18 @@
256
256
  </a>
257
257
  </li>
258
258
  </ul>
259
+ <p class="menu-label">
260
+ <a href="../../origin/index.html">
261
+ origin
262
+ </a>
263
+ </p>
264
+ <ul class="menu-list">
265
+ <li>
266
+ <a href="../../origin/origin/index.html">
267
+ origin
268
+ </a>
269
+ </li>
270
+ </ul>
259
271
  </section>
260
272
  </aside>
261
273
  <main class="content">
@@ -327,27 +339,6 @@
327
339
 
328
340
  </td>
329
341
  </tr>
330
- <tr>
331
- <td class="with-icons is-vcentered"
332
- id="base-borderRadius300"
333
- title="theme: base; category: borderRadius; variant: 300; ">
334
- borderRadius300
335
- <a href="#base-borderRadius300"
336
- title="permalink"
337
- class="permalink">
338
- 🔗
339
- </a>
340
- </td>
341
- <td class="is-vcentered">
342
- <pre>24px</pre>
343
- </td>
344
- <td class="is-vcentered">
345
- <div class="table__border-radius-preview"
346
- style="border-top-right-radius: 24px">
347
- </div>
348
-
349
- </td>
350
- </tr>
351
342
  <tr>
352
343
  <td class="with-icons is-vcentered"
353
344
  id="base-borderRadius400"