@appdirect/ad-design-tokens 0.0.1 → 0.0.2
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/css/mantine.css +2 -22
- package/dist/css/tokens.css +74 -12
- package/dist/figma/components.dark.json +159 -6
- package/dist/figma/components.light.json +159 -6
- package/dist/glossary.txt +39 -8
- package/dist/index.js +318 -12
- package/dist/index.json +318 -12
- package/dist/resolved/components-dark.json +159 -6
- package/dist/resolved/components-light.json +159 -6
- package/package.json +1 -1
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"sizes": {
|
|
66
66
|
"xs": {
|
|
67
67
|
"root": {
|
|
68
|
-
"
|
|
68
|
+
"size": {
|
|
69
69
|
"$type": "dimension",
|
|
70
70
|
"$value": "18px"
|
|
71
71
|
}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"sm": {
|
|
81
81
|
"root": {
|
|
82
|
-
"
|
|
82
|
+
"size": {
|
|
83
83
|
"$type": "dimension",
|
|
84
84
|
"$value": "22px"
|
|
85
85
|
}
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
},
|
|
94
94
|
"md": {
|
|
95
95
|
"root": {
|
|
96
|
-
"
|
|
96
|
+
"size": {
|
|
97
97
|
"$type": "dimension",
|
|
98
98
|
"$value": "28px"
|
|
99
99
|
}
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
},
|
|
108
108
|
"lg": {
|
|
109
109
|
"root": {
|
|
110
|
-
"
|
|
110
|
+
"size": {
|
|
111
111
|
"$type": "dimension",
|
|
112
112
|
"$value": "34px"
|
|
113
113
|
}
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"xl": {
|
|
123
123
|
"root": {
|
|
124
|
-
"
|
|
124
|
+
"size": {
|
|
125
125
|
"$type": "dimension",
|
|
126
126
|
"$value": "44px"
|
|
127
127
|
}
|
|
@@ -1896,6 +1896,81 @@
|
|
|
1896
1896
|
}
|
|
1897
1897
|
}
|
|
1898
1898
|
},
|
|
1899
|
+
"dashboardWidget": {
|
|
1900
|
+
"root": {
|
|
1901
|
+
"paddingX": {
|
|
1902
|
+
"$type": "dimension",
|
|
1903
|
+
"$value": "{spacing.lg}"
|
|
1904
|
+
},
|
|
1905
|
+
"paddingTop": {
|
|
1906
|
+
"$type": "dimension",
|
|
1907
|
+
"$value": "{spacing.sm}"
|
|
1908
|
+
},
|
|
1909
|
+
"paddingBottom": {
|
|
1910
|
+
"$type": "dimension",
|
|
1911
|
+
"$value": "{spacing.none}"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
"sections": {
|
|
1915
|
+
"gap": {
|
|
1916
|
+
"$type": "dimension",
|
|
1917
|
+
"$value": "{spacing.xs}"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
"header": {
|
|
1921
|
+
"titleGap": {
|
|
1922
|
+
"$type": "dimension",
|
|
1923
|
+
"$value": "{spacing.xs}"
|
|
1924
|
+
},
|
|
1925
|
+
"controlsGap": {
|
|
1926
|
+
"$type": "dimension",
|
|
1927
|
+
"$value": "{spacing.sm}"
|
|
1928
|
+
},
|
|
1929
|
+
"switchLabelGap": {
|
|
1930
|
+
"$type": "dimension",
|
|
1931
|
+
"$value": "{spacing.xs}"
|
|
1932
|
+
}
|
|
1933
|
+
},
|
|
1934
|
+
"panelNotification": {},
|
|
1935
|
+
"content": {
|
|
1936
|
+
"scrollbarGutter": {
|
|
1937
|
+
"$type": "dimension",
|
|
1938
|
+
"$value": "4px"
|
|
1939
|
+
}
|
|
1940
|
+
},
|
|
1941
|
+
"footer": {
|
|
1942
|
+
"bg": {
|
|
1943
|
+
"$type": "color",
|
|
1944
|
+
"$value": "{color.bg.default}"
|
|
1945
|
+
},
|
|
1946
|
+
"paddingX": {
|
|
1947
|
+
"$type": "dimension",
|
|
1948
|
+
"$value": "{spacing.lg}"
|
|
1949
|
+
},
|
|
1950
|
+
"paddingY": {
|
|
1951
|
+
"$type": "dimension",
|
|
1952
|
+
"$value": "{spacing.sm}"
|
|
1953
|
+
},
|
|
1954
|
+
"gap": {
|
|
1955
|
+
"$type": "dimension",
|
|
1956
|
+
"$value": "{spacing.xs}"
|
|
1957
|
+
},
|
|
1958
|
+
"emptyHeight": {
|
|
1959
|
+
"$type": "dimension",
|
|
1960
|
+
"$value": "21px"
|
|
1961
|
+
},
|
|
1962
|
+
"link": {
|
|
1963
|
+
"fg": {
|
|
1964
|
+
"$type": "color",
|
|
1965
|
+
"$value": "{color.text.link}"
|
|
1966
|
+
},
|
|
1967
|
+
"disabledFg": {
|
|
1968
|
+
"$type": "color",
|
|
1969
|
+
"$value": "{color.state.disabledText}"
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
},
|
|
1899
1974
|
"divider": {
|
|
1900
1975
|
"root": {
|
|
1901
1976
|
"borderColor": {
|
|
@@ -2080,6 +2155,10 @@
|
|
|
2080
2155
|
"padding": {
|
|
2081
2156
|
"$type": "dimension",
|
|
2082
2157
|
"$value": "{spacing.md}"
|
|
2158
|
+
},
|
|
2159
|
+
"gap": {
|
|
2160
|
+
"$type": "dimension",
|
|
2161
|
+
"$value": "{spacing.xs}"
|
|
2083
2162
|
}
|
|
2084
2163
|
},
|
|
2085
2164
|
"accept": {
|
|
@@ -2110,6 +2189,32 @@
|
|
|
2110
2189
|
"$value": "{color.status.onErrorLight}"
|
|
2111
2190
|
}
|
|
2112
2191
|
}
|
|
2192
|
+
},
|
|
2193
|
+
"icon": {
|
|
2194
|
+
"size": {
|
|
2195
|
+
"$type": "dimension",
|
|
2196
|
+
"$value": "52px"
|
|
2197
|
+
},
|
|
2198
|
+
"fg": {
|
|
2199
|
+
"$type": "color",
|
|
2200
|
+
"$value": "{color.text.dimmed}"
|
|
2201
|
+
},
|
|
2202
|
+
"gap": {
|
|
2203
|
+
"$type": "dimension",
|
|
2204
|
+
"$value": "{spacing.none}"
|
|
2205
|
+
}
|
|
2206
|
+
},
|
|
2207
|
+
"title": {
|
|
2208
|
+
"fg": {
|
|
2209
|
+
"$type": "color",
|
|
2210
|
+
"$value": "{color.text.default}"
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
"description": {
|
|
2214
|
+
"fg": {
|
|
2215
|
+
"$type": "color",
|
|
2216
|
+
"$value": "{color.text.dimmed}"
|
|
2217
|
+
}
|
|
2113
2218
|
}
|
|
2114
2219
|
},
|
|
2115
2220
|
"fileInput": {},
|
|
@@ -2947,6 +3052,10 @@
|
|
|
2947
3052
|
"$type": "dimension",
|
|
2948
3053
|
"$value": "{spacing.sm}"
|
|
2949
3054
|
},
|
|
3055
|
+
"gap": {
|
|
3056
|
+
"$type": "dimension",
|
|
3057
|
+
"$value": "{spacing.sm}"
|
|
3058
|
+
},
|
|
2950
3059
|
"paddingY": {
|
|
2951
3060
|
"$type": "dimension",
|
|
2952
3061
|
"$value": "8px"
|
|
@@ -2971,6 +3080,12 @@
|
|
|
2971
3080
|
}
|
|
2972
3081
|
},
|
|
2973
3082
|
"icon": {},
|
|
3083
|
+
"content": {
|
|
3084
|
+
"paddingX": {
|
|
3085
|
+
"$type": "dimension",
|
|
3086
|
+
"$value": "{spacing.none}"
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
2974
3089
|
"label": {
|
|
2975
3090
|
"fontSize": {
|
|
2976
3091
|
"$type": "dimension",
|
|
@@ -3534,6 +3649,10 @@
|
|
|
3534
3649
|
"$type": "dimension",
|
|
3535
3650
|
"$value": "{radius.sm}"
|
|
3536
3651
|
},
|
|
3652
|
+
"gap": {
|
|
3653
|
+
"$type": "dimension",
|
|
3654
|
+
"$value": "{spacing.none}"
|
|
3655
|
+
},
|
|
3537
3656
|
"padding": {
|
|
3538
3657
|
"$type": "dimension",
|
|
3539
3658
|
"$value": "{spacing.xxs}"
|
|
@@ -3660,12 +3779,28 @@
|
|
|
3660
3779
|
"disabledBg": {
|
|
3661
3780
|
"$type": "color",
|
|
3662
3781
|
"$value": "{color.state.disabledText}"
|
|
3782
|
+
},
|
|
3783
|
+
"borderRadius": {
|
|
3784
|
+
"$type": "dimension",
|
|
3785
|
+
"$value": "1000px"
|
|
3786
|
+
},
|
|
3787
|
+
"gap": {
|
|
3788
|
+
"$type": "dimension",
|
|
3789
|
+
"$value": "{spacing.none}"
|
|
3663
3790
|
}
|
|
3664
3791
|
},
|
|
3665
3792
|
"thumb": {
|
|
3666
3793
|
"borderWidth": {
|
|
3667
3794
|
"$type": "dimension",
|
|
3668
3795
|
"$value": "4px"
|
|
3796
|
+
},
|
|
3797
|
+
"borderRadius": {
|
|
3798
|
+
"$type": "dimension",
|
|
3799
|
+
"$value": "1000px"
|
|
3800
|
+
},
|
|
3801
|
+
"targetSize": {
|
|
3802
|
+
"$type": "dimension",
|
|
3803
|
+
"$value": "16px"
|
|
3669
3804
|
}
|
|
3670
3805
|
},
|
|
3671
3806
|
"mark": {
|
|
@@ -4054,7 +4189,7 @@
|
|
|
4054
4189
|
},
|
|
4055
4190
|
"paddingY": {
|
|
4056
4191
|
"$type": "dimension",
|
|
4057
|
-
"$value": "{spacing.
|
|
4192
|
+
"$value": "{spacing.sm}"
|
|
4058
4193
|
},
|
|
4059
4194
|
"gap": {
|
|
4060
4195
|
"$type": "dimension",
|
|
@@ -4169,11 +4304,29 @@
|
|
|
4169
4304
|
"$type": "dimension",
|
|
4170
4305
|
"$value": "{spacing.xs}"
|
|
4171
4306
|
},
|
|
4307
|
+
"gap": {
|
|
4308
|
+
"$type": "dimension",
|
|
4309
|
+
"$value": "{spacing.xs}"
|
|
4310
|
+
},
|
|
4172
4311
|
"cursor": {
|
|
4173
4312
|
"$type": "string",
|
|
4174
4313
|
"$value": "{cursor.pointer}"
|
|
4175
4314
|
}
|
|
4176
4315
|
},
|
|
4316
|
+
"orientation": {
|
|
4317
|
+
"horizontal": {
|
|
4318
|
+
"borderRadiusTop": {
|
|
4319
|
+
"$type": "dimension",
|
|
4320
|
+
"$value": "{radius.sm}"
|
|
4321
|
+
}
|
|
4322
|
+
},
|
|
4323
|
+
"vertical": {
|
|
4324
|
+
"borderRadius": {
|
|
4325
|
+
"$type": "dimension",
|
|
4326
|
+
"$value": "0px"
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
},
|
|
4177
4330
|
"variants": {
|
|
4178
4331
|
"default": {
|
|
4179
4332
|
"default": {
|
package/dist/glossary.txt
CHANGED
|
@@ -636,7 +636,7 @@ action.default.bgActive → {dark.4}
|
|
|
636
636
|
action.default.fg → {color.text.default}
|
|
637
637
|
action.default.border → {color.border.default}
|
|
638
638
|
|
|
639
|
-
## components (
|
|
639
|
+
## components (1159 tokens)
|
|
640
640
|
|
|
641
641
|
actionIcon.root.base.cursor → {cursor.pointer}
|
|
642
642
|
actionIcon.root.base.borderRadius → {radius.sm}
|
|
@@ -679,15 +679,15 @@ actionIcon.root.variants.link.focus.outlineOffset → {spacing.xxs}
|
|
|
679
679
|
actionIcon.root.variants.link.disabled.bg → {transparent}
|
|
680
680
|
actionIcon.root.variants.link.disabled.fg → {color.state.disabledText}
|
|
681
681
|
actionIcon.root.variants.link.disabled.cursor → {cursor.notAllowed}
|
|
682
|
-
actionIcon.sizes.xs.root.
|
|
682
|
+
actionIcon.sizes.xs.root.size → 18px
|
|
683
683
|
actionIcon.sizes.xs.icon.size → 12px
|
|
684
|
-
actionIcon.sizes.sm.root.
|
|
684
|
+
actionIcon.sizes.sm.root.size → 22px
|
|
685
685
|
actionIcon.sizes.sm.icon.size → 14px
|
|
686
|
-
actionIcon.sizes.md.root.
|
|
686
|
+
actionIcon.sizes.md.root.size → 28px
|
|
687
687
|
actionIcon.sizes.md.icon.size → 18px
|
|
688
|
-
actionIcon.sizes.lg.root.
|
|
688
|
+
actionIcon.sizes.lg.root.size → 34px
|
|
689
689
|
actionIcon.sizes.lg.icon.size → 20px
|
|
690
|
-
actionIcon.sizes.xl.root.
|
|
690
|
+
actionIcon.sizes.xl.root.size → 44px
|
|
691
691
|
actionIcon.sizes.xl.icon.size → 24px
|
|
692
692
|
alert.root.base.paddingX → {spacing.md}
|
|
693
693
|
alert.root.base.paddingY → {spacing.md}
|
|
@@ -1152,6 +1152,21 @@ container.sizes.sm.maxWidth → 720px
|
|
|
1152
1152
|
container.sizes.md.maxWidth → 960px
|
|
1153
1153
|
container.sizes.lg.maxWidth → 1140px
|
|
1154
1154
|
container.sizes.xl.maxWidth → 1320px
|
|
1155
|
+
dashboardWidget.root.paddingX → {spacing.lg}
|
|
1156
|
+
dashboardWidget.root.paddingTop → {spacing.sm}
|
|
1157
|
+
dashboardWidget.root.paddingBottom → {spacing.none}
|
|
1158
|
+
dashboardWidget.sections.gap → {spacing.xs}
|
|
1159
|
+
dashboardWidget.header.titleGap → {spacing.xs}
|
|
1160
|
+
dashboardWidget.header.controlsGap → {spacing.sm}
|
|
1161
|
+
dashboardWidget.header.switchLabelGap → {spacing.xs}
|
|
1162
|
+
dashboardWidget.content.scrollbarGutter → 4px
|
|
1163
|
+
dashboardWidget.footer.bg → {color.bg.default}
|
|
1164
|
+
dashboardWidget.footer.paddingX → {spacing.lg}
|
|
1165
|
+
dashboardWidget.footer.paddingY → {spacing.sm}
|
|
1166
|
+
dashboardWidget.footer.gap → {spacing.xs}
|
|
1167
|
+
dashboardWidget.footer.emptyHeight → 21px
|
|
1168
|
+
dashboardWidget.footer.link.fg → {color.text.link}
|
|
1169
|
+
dashboardWidget.footer.link.disabledFg → {color.state.disabledText}
|
|
1155
1170
|
divider.root.borderColor → {color.border.default}
|
|
1156
1171
|
divider.root.borderStyle → {borderStyle.solid}
|
|
1157
1172
|
divider.label.fontSize → {fontSizes.xs}
|
|
@@ -1187,6 +1202,7 @@ dropZone.root.base.borderWidth → {borderWidth.thin}
|
|
|
1187
1202
|
dropZone.root.base.borderStyle → {borderStyle.dashed}
|
|
1188
1203
|
dropZone.root.base.borderRadius → {radius.sm}
|
|
1189
1204
|
dropZone.root.base.padding → {spacing.md}
|
|
1205
|
+
dropZone.root.base.gap → {spacing.xs}
|
|
1190
1206
|
dropZone.root.hover.bg → {color.bg.defaultHover}
|
|
1191
1207
|
dropZone.root.accept.bg → {color.brand.light}
|
|
1192
1208
|
dropZone.root.accept.borderColor → {color.brand.light}
|
|
@@ -1198,6 +1214,11 @@ dropZone.root.disabled.bg → {color.state.disabl
|
|
|
1198
1214
|
dropZone.root.disabled.fg → {color.state.disabledText}
|
|
1199
1215
|
dropZone.root.disabled.borderColor → {color.state.disabledBorder}
|
|
1200
1216
|
dropZone.root.disabled.cursor → {cursor.notAllowed}
|
|
1217
|
+
dropZone.icon.size → 52px
|
|
1218
|
+
dropZone.icon.fg → {color.text.dimmed}
|
|
1219
|
+
dropZone.icon.gap → {spacing.none}
|
|
1220
|
+
dropZone.title.fg → {color.text.default}
|
|
1221
|
+
dropZone.description.fg → {color.text.dimmed}
|
|
1201
1222
|
indicator.indicator.fg → {constants.white}
|
|
1202
1223
|
indicator.indicator.borderRadius → 1000px
|
|
1203
1224
|
indicator.indicator.fontSize → {fontSizes.xs}
|
|
@@ -1383,6 +1404,7 @@ multiselect.pill.sizes.xl.height → 32px
|
|
|
1383
1404
|
multiselect.pill.sizes.xl.fontSize → 18px
|
|
1384
1405
|
multiselect.pill.sizes.xl.gap → 12px
|
|
1385
1406
|
navLink.root.paddingX → {spacing.sm}
|
|
1407
|
+
navLink.root.gap → {spacing.sm}
|
|
1386
1408
|
navLink.root.paddingY → 8px
|
|
1387
1409
|
navLink.root.borderRadius → {radius.sm}
|
|
1388
1410
|
navLink.root.default.bg → {transparent}
|
|
@@ -1397,6 +1419,7 @@ navLink.root.focus.outlineColor → {action.primary.foc
|
|
|
1397
1419
|
navLink.root.focus.outlineWidth → {borderWidth.medium}
|
|
1398
1420
|
navLink.root.focus.outlineStyle → {borderStyle.solid}
|
|
1399
1421
|
navLink.root.focus.outlineOffset → {spacing.xxs}
|
|
1422
|
+
navLink.content.paddingX → {spacing.none}
|
|
1400
1423
|
navLink.label.fontSize → {fontSizes.sm}
|
|
1401
1424
|
navLink.label.fontWeight → {fontWeights.regular}
|
|
1402
1425
|
navLink.label.lineHeight → {lineHeights.sm}
|
|
@@ -1523,6 +1546,7 @@ radio.sizes.xl.size → 36px
|
|
|
1523
1546
|
radio.sizes.xl.dotSize → 16px
|
|
1524
1547
|
segmentedControl.root.bg → {color.bg.tinted}
|
|
1525
1548
|
segmentedControl.root.borderRadius → {radius.sm}
|
|
1549
|
+
segmentedControl.root.gap → {spacing.none}
|
|
1526
1550
|
segmentedControl.root.padding → {spacing.xxs}
|
|
1527
1551
|
segmentedControl.indicator.bg → {color.bg.default}
|
|
1528
1552
|
segmentedControl.indicator.shadow → {shadows.xs}
|
|
@@ -1556,7 +1580,11 @@ slider.root.color → {color.brand.primar
|
|
|
1556
1580
|
slider.root.trackBg → {color.border.subtle}
|
|
1557
1581
|
slider.root.trackDisabledBg → {color.state.disabled}
|
|
1558
1582
|
slider.bar.disabledBg → {color.state.disabledText}
|
|
1583
|
+
slider.bar.borderRadius → 1000px
|
|
1584
|
+
slider.bar.gap → {spacing.none}
|
|
1559
1585
|
slider.thumb.borderWidth → 4px
|
|
1586
|
+
slider.thumb.borderRadius → 1000px
|
|
1587
|
+
slider.thumb.targetSize → 16px
|
|
1560
1588
|
slider.thumb.focus.outlineColor → {action.primary.focusRing}
|
|
1561
1589
|
slider.thumb.focus.outlineWidth → {borderWidth.medium}
|
|
1562
1590
|
slider.thumb.focus.outlineStyle → {borderStyle.solid}
|
|
@@ -1645,7 +1673,7 @@ table.header.borderBottomColor → {color.border.defau
|
|
|
1645
1673
|
table.header.borderBottomWidth → {borderWidth.thin}
|
|
1646
1674
|
table.header.borderBottomStyle → {borderStyle.solid}
|
|
1647
1675
|
table.cell.paddingX → {spacing.md}
|
|
1648
|
-
table.cell.paddingY → {spacing.
|
|
1676
|
+
table.cell.paddingY → {spacing.sm}
|
|
1649
1677
|
table.cell.gap → {spacing.xs}
|
|
1650
1678
|
table.row.borderBottomColor → {color.border.default}
|
|
1651
1679
|
table.row.borderBottomWidth → {borderWidth.thin}
|
|
@@ -1671,11 +1699,14 @@ tabs.tab.base.fontWeight → {fontWeights.regula
|
|
|
1671
1699
|
tabs.tab.base.lineHeight → {lineHeights.sm}
|
|
1672
1700
|
tabs.tab.base.paddingX → {spacing.sm}
|
|
1673
1701
|
tabs.tab.base.paddingY → {spacing.xs}
|
|
1702
|
+
tabs.tab.base.gap → {spacing.xs}
|
|
1674
1703
|
tabs.tab.base.cursor → {cursor.pointer}
|
|
1675
1704
|
tabs.tab.focus.outlineColor → {action.primary.focusRing}
|
|
1676
1705
|
tabs.tab.focus.outlineWidth → {borderWidth.medium}
|
|
1677
1706
|
tabs.tab.focus.outlineStyle → {borderStyle.solid}
|
|
1678
1707
|
tabs.tab.focus.outlineOffset → {spacing.xxs}
|
|
1708
|
+
tabs.tab.orientation.horizontal.borderRadiusTop → {radius.sm}
|
|
1709
|
+
tabs.tab.orientation.vertical.borderRadius → 0px
|
|
1679
1710
|
tabs.tab.variants.default.default.fg → {color.text.default}
|
|
1680
1711
|
tabs.tab.variants.default.default.bg → {transparent}
|
|
1681
1712
|
tabs.tab.variants.default.hover.fg → {color.text.default}
|
|
@@ -1768,4 +1799,4 @@ tooltip.arrow.size → 8px
|
|
|
1768
1799
|
tooltip.arrow.bg → {color.bg.inverted}
|
|
1769
1800
|
|
|
1770
1801
|
---
|
|
1771
|
-
Total:
|
|
1802
|
+
Total: 1779 tokens across 7 layers
|