@appdirect/ad-design-tokens 0.0.22 → 0.0.24

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/glossary.txt CHANGED
@@ -643,7 +643,7 @@ action.default.bgActive → {dark.4}
643
643
  action.default.fg → {color.text.default}
644
644
  action.default.border → {color.border.default}
645
645
 
646
- ## components (1389 tokens)
646
+ ## components (1405 tokens)
647
647
 
648
648
  actionIcon.root.base.cursor → {cursor.pointer}
649
649
  actionIcon.root.base.borderRadius → {radius.sm}
@@ -1265,6 +1265,16 @@ input.wrapper.controlGap → {spacing.sm}
1265
1265
  input.label.base.fontSize → {fontSizes.sm}
1266
1266
  input.label.base.fontWeight → {fontWeights.medium}
1267
1267
  input.label.base.color → {color.text.default}
1268
+ input.label.sizes.xs.fontSize → {fontSizes.xs}
1269
+ input.label.sizes.xs.helpIconSize → {iconSize.sm}
1270
+ input.label.sizes.sm.fontSize → {fontSizes.sm}
1271
+ input.label.sizes.sm.helpIconSize → {iconSize.md}
1272
+ input.label.sizes.md.fontSize → {fontSizes.md}
1273
+ input.label.sizes.md.helpIconSize → {iconSize.lg}
1274
+ input.label.sizes.lg.fontSize → {fontSizes.lg}
1275
+ input.label.sizes.lg.helpIconSize → {iconSize.xl}
1276
+ input.label.sizes.xl.fontSize → {fontSizes.xl}
1277
+ input.label.sizes.xl.helpIconSize → 22px
1268
1278
  input.label.requiredGap → {spacing.xxs}
1269
1279
  input.label.required.color → {color.status.error}
1270
1280
  input.label.optional.color → {color.text.dimmed}
@@ -1273,6 +1283,11 @@ input.label.optional.fontWeight → {fontWeights.regu
1273
1283
  input.description.color → {color.text.dimmed}
1274
1284
  input.description.fontSize → {fontSizes.xs}
1275
1285
  input.description.lineHeight → {lineHeights.md}
1286
+ input.description.sizes.xs.fontSize → 10px
1287
+ input.description.sizes.sm.fontSize → {fontSizes.xs}
1288
+ input.description.sizes.md.fontSize → {fontSizes.sm}
1289
+ input.description.sizes.lg.fontSize → {fontSizes.md}
1290
+ input.description.sizes.xl.fontSize → {fontSizes.lg}
1276
1291
  input.field.base.fontFamily → {fontFamily.body}
1277
1292
  input.field.base.bg → {color.bg.default}
1278
1293
  input.field.base.fg → {color.text.default}
@@ -1289,10 +1304,6 @@ input.field.default.fg → {color.text.defau
1289
1304
  input.field.default.borderColor → {color.border.default}
1290
1305
  input.field.hover.borderColor → {color.border.strong}
1291
1306
  input.field.focus.borderColor → {color.border.primary}
1292
- input.field.focus.outlineColor → {action.primary.focusRing}
1293
- input.field.focus.outlineWidth → {borderWidth.medium}
1294
- input.field.focus.outlineStyle → {borderStyle.solid}
1295
- input.field.focus.outlineOffset → {spacing.xxs}
1296
1307
  input.field.disabled.bg → {color.state.disabled}
1297
1308
  input.field.disabled.fg → {color.state.disabledText}
1298
1309
  input.field.disabled.borderColor → {color.state.disabledBorder}
@@ -1303,31 +1314,36 @@ input.field.sizes.xs.paddingX → {spacing.xs}
1303
1314
  input.field.sizes.xs.fontSize → {fontSizes.xs}
1304
1315
  input.field.sizes.sm.height → 36px
1305
1316
  input.field.sizes.sm.paddingX → {spacing.sm}
1306
- input.field.sizes.sm.fontSize → {fontSizes.xs}
1317
+ input.field.sizes.sm.fontSize → {fontSizes.sm}
1307
1318
  input.field.sizes.md.height → 42px
1308
1319
  input.field.sizes.md.paddingX → {spacing.md}
1309
- input.field.sizes.md.fontSize → {fontSizes.sm}
1320
+ input.field.sizes.md.fontSize → {fontSizes.md}
1310
1321
  input.field.sizes.lg.height → 50px
1311
1322
  input.field.sizes.lg.paddingX → {spacing.lg}
1312
- input.field.sizes.lg.fontSize → {fontSizes.md}
1323
+ input.field.sizes.lg.fontSize → {fontSizes.lg}
1313
1324
  input.field.sizes.xl.height → 60px
1314
1325
  input.field.sizes.xl.paddingX → {spacing.xl}
1315
- input.field.sizes.xl.fontSize → {fontSizes.md}
1326
+ input.field.sizes.xl.fontSize → {fontSizes.xl}
1316
1327
  input.section.color → {color.text.dimmed}
1317
1328
  input.section.paddingX → {spacing.xs}
1318
1329
  input.section.sizes.xs.fontSize → {fontSizes.xs}
1319
1330
  input.section.sizes.xs.width → {iconSize.sm}
1320
- input.section.sizes.sm.fontSize → {fontSizes.xs}
1331
+ input.section.sizes.sm.fontSize → {fontSizes.sm}
1321
1332
  input.section.sizes.sm.width → {iconSize.md}
1322
- input.section.sizes.md.fontSize → {fontSizes.sm}
1333
+ input.section.sizes.md.fontSize → {fontSizes.md}
1323
1334
  input.section.sizes.md.width → {iconSize.lg}
1324
- input.section.sizes.lg.fontSize → {fontSizes.md}
1335
+ input.section.sizes.lg.fontSize → {fontSizes.lg}
1325
1336
  input.section.sizes.lg.width → {iconSize.xl}
1326
- input.section.sizes.xl.fontSize → {fontSizes.md}
1337
+ input.section.sizes.xl.fontSize → {fontSizes.xl}
1327
1338
  input.section.sizes.xl.width → 22px
1328
1339
  input.error.color → {color.status.error}
1329
1340
  input.error.fontSize → {fontSizes.xs}
1330
1341
  input.error.lineHeight → {lineHeights.md}
1342
+ input.error.sizes.xs.fontSize → 10px
1343
+ input.error.sizes.sm.fontSize → {fontSizes.xs}
1344
+ input.error.sizes.md.fontSize → {fontSizes.sm}
1345
+ input.error.sizes.lg.fontSize → {fontSizes.md}
1346
+ input.error.sizes.xl.fontSize → {fontSizes.lg}
1331
1347
  kbd.root.fontFamily → {fontFamily.monospace}
1332
1348
  kbd.root.fontWeight → {fontWeights.bold}
1333
1349
  kbd.root.borderRadius → {radius.sm}
@@ -1924,7 +1940,7 @@ table.cellReveal.zIndex → {zIndex.popover}
1924
1940
  table.toolbar.borderColor → {table.row.borderBottomColor}
1925
1941
  table.toolbar.borderWidth → {table.row.borderBottomWidth}
1926
1942
  table.toolbar.actionIconSize → {sizing.sm}
1927
- table.toolbar.pageSizeWidth → 52px
1943
+ table.toolbar.pageSizeWidth → 64px
1928
1944
  table.toolbar.selectionBanner.bg → {action.primary.bg}
1929
1945
  table.toolbar.selectionBanner.fg → {color.brand.onPrimary}
1930
1946
  tabs.list.borderColor → {color.border.default}
@@ -2036,4 +2052,4 @@ tooltip.arrow.size → 8px
2036
2052
  tooltip.arrow.bg → {color.bg.inverted}
2037
2053
 
2038
2054
  ---
2039
- Total: 2016 tokens across 7 layers
2055
+ Total: 2032 tokens across 7 layers
package/dist/index.js CHANGED
@@ -5867,6 +5867,58 @@ const tokens = {
5867
5867
  "$value": "#000000"
5868
5868
  }
5869
5869
  },
5870
+ "sizes": {
5871
+ "xs": {
5872
+ "fontSize": {
5873
+ "$type": "dimension",
5874
+ "$value": "12px"
5875
+ },
5876
+ "helpIconSize": {
5877
+ "$type": "dimension",
5878
+ "$value": "14px"
5879
+ }
5880
+ },
5881
+ "sm": {
5882
+ "fontSize": {
5883
+ "$type": "dimension",
5884
+ "$value": "14px"
5885
+ },
5886
+ "helpIconSize": {
5887
+ "$type": "dimension",
5888
+ "$value": "16px"
5889
+ }
5890
+ },
5891
+ "md": {
5892
+ "fontSize": {
5893
+ "$type": "dimension",
5894
+ "$value": "16px"
5895
+ },
5896
+ "helpIconSize": {
5897
+ "$type": "dimension",
5898
+ "$value": "18px"
5899
+ }
5900
+ },
5901
+ "lg": {
5902
+ "fontSize": {
5903
+ "$type": "dimension",
5904
+ "$value": "18px"
5905
+ },
5906
+ "helpIconSize": {
5907
+ "$type": "dimension",
5908
+ "$value": "20px"
5909
+ }
5910
+ },
5911
+ "xl": {
5912
+ "fontSize": {
5913
+ "$type": "dimension",
5914
+ "$value": "20px"
5915
+ },
5916
+ "helpIconSize": {
5917
+ "$type": "dimension",
5918
+ "$value": "22px"
5919
+ }
5920
+ }
5921
+ },
5870
5922
  "requiredGap": {
5871
5923
  "$type": "dimension",
5872
5924
  "$value": "4px"
@@ -5904,6 +5956,38 @@ const tokens = {
5904
5956
  "lineHeight": {
5905
5957
  "$type": "number",
5906
5958
  "$value": "1.55"
5959
+ },
5960
+ "sizes": {
5961
+ "xs": {
5962
+ "fontSize": {
5963
+ "$type": "dimension",
5964
+ "$value": "10px"
5965
+ }
5966
+ },
5967
+ "sm": {
5968
+ "fontSize": {
5969
+ "$type": "dimension",
5970
+ "$value": "12px"
5971
+ }
5972
+ },
5973
+ "md": {
5974
+ "fontSize": {
5975
+ "$type": "dimension",
5976
+ "$value": "14px"
5977
+ }
5978
+ },
5979
+ "lg": {
5980
+ "fontSize": {
5981
+ "$type": "dimension",
5982
+ "$value": "16px"
5983
+ }
5984
+ },
5985
+ "xl": {
5986
+ "fontSize": {
5987
+ "$type": "dimension",
5988
+ "$value": "18px"
5989
+ }
5990
+ }
5907
5991
  }
5908
5992
  },
5909
5993
  "field": {
@@ -5977,22 +6061,6 @@ const tokens = {
5977
6061
  "borderColor": {
5978
6062
  "$type": "color",
5979
6063
  "$value": "#326FDE"
5980
- },
5981
- "outlineColor": {
5982
- "$type": "color",
5983
- "$value": "color-mix(in srgb, #326FDE 35%, transparent)"
5984
- },
5985
- "outlineWidth": {
5986
- "$type": "dimension",
5987
- "$value": "2px"
5988
- },
5989
- "outlineStyle": {
5990
- "$type": "string",
5991
- "$value": "solid"
5992
- },
5993
- "outlineOffset": {
5994
- "$type": "dimension",
5995
- "$value": "4px"
5996
6064
  }
5997
6065
  },
5998
6066
  "disabled": {
@@ -6045,7 +6113,7 @@ const tokens = {
6045
6113
  },
6046
6114
  "fontSize": {
6047
6115
  "$type": "dimension",
6048
- "$value": "12px"
6116
+ "$value": "14px"
6049
6117
  }
6050
6118
  },
6051
6119
  "md": {
@@ -6059,7 +6127,7 @@ const tokens = {
6059
6127
  },
6060
6128
  "fontSize": {
6061
6129
  "$type": "dimension",
6062
- "$value": "14px"
6130
+ "$value": "16px"
6063
6131
  }
6064
6132
  },
6065
6133
  "lg": {
@@ -6073,7 +6141,7 @@ const tokens = {
6073
6141
  },
6074
6142
  "fontSize": {
6075
6143
  "$type": "dimension",
6076
- "$value": "16px"
6144
+ "$value": "18px"
6077
6145
  }
6078
6146
  },
6079
6147
  "xl": {
@@ -6087,7 +6155,7 @@ const tokens = {
6087
6155
  },
6088
6156
  "fontSize": {
6089
6157
  "$type": "dimension",
6090
- "$value": "16px"
6158
+ "$value": "20px"
6091
6159
  }
6092
6160
  }
6093
6161
  }
@@ -6115,7 +6183,7 @@ const tokens = {
6115
6183
  "sm": {
6116
6184
  "fontSize": {
6117
6185
  "$type": "dimension",
6118
- "$value": "12px"
6186
+ "$value": "14px"
6119
6187
  },
6120
6188
  "width": {
6121
6189
  "$type": "dimension",
@@ -6125,7 +6193,7 @@ const tokens = {
6125
6193
  "md": {
6126
6194
  "fontSize": {
6127
6195
  "$type": "dimension",
6128
- "$value": "14px"
6196
+ "$value": "16px"
6129
6197
  },
6130
6198
  "width": {
6131
6199
  "$type": "dimension",
@@ -6135,7 +6203,7 @@ const tokens = {
6135
6203
  "lg": {
6136
6204
  "fontSize": {
6137
6205
  "$type": "dimension",
6138
- "$value": "16px"
6206
+ "$value": "18px"
6139
6207
  },
6140
6208
  "width": {
6141
6209
  "$type": "dimension",
@@ -6145,7 +6213,7 @@ const tokens = {
6145
6213
  "xl": {
6146
6214
  "fontSize": {
6147
6215
  "$type": "dimension",
6148
- "$value": "16px"
6216
+ "$value": "20px"
6149
6217
  },
6150
6218
  "width": {
6151
6219
  "$type": "dimension",
@@ -6166,6 +6234,38 @@ const tokens = {
6166
6234
  "lineHeight": {
6167
6235
  "$type": "number",
6168
6236
  "$value": "1.55"
6237
+ },
6238
+ "sizes": {
6239
+ "xs": {
6240
+ "fontSize": {
6241
+ "$type": "dimension",
6242
+ "$value": "10px"
6243
+ }
6244
+ },
6245
+ "sm": {
6246
+ "fontSize": {
6247
+ "$type": "dimension",
6248
+ "$value": "12px"
6249
+ }
6250
+ },
6251
+ "md": {
6252
+ "fontSize": {
6253
+ "$type": "dimension",
6254
+ "$value": "14px"
6255
+ }
6256
+ },
6257
+ "lg": {
6258
+ "fontSize": {
6259
+ "$type": "dimension",
6260
+ "$value": "16px"
6261
+ }
6262
+ },
6263
+ "xl": {
6264
+ "fontSize": {
6265
+ "$type": "dimension",
6266
+ "$value": "18px"
6267
+ }
6268
+ }
6169
6269
  }
6170
6270
  }
6171
6271
  },
@@ -9088,7 +9188,7 @@ const tokens = {
9088
9188
  },
9089
9189
  "pageSizeWidth": {
9090
9190
  "$type": "dimension",
9091
- "$value": "52px"
9191
+ "$value": "64px"
9092
9192
  },
9093
9193
  "selectionBanner": {
9094
9194
  "bg": {
@@ -12759,6 +12859,58 @@ const tokens = {
12759
12859
  "$value": "#C9C9C9"
12760
12860
  }
12761
12861
  },
12862
+ "sizes": {
12863
+ "xs": {
12864
+ "fontSize": {
12865
+ "$type": "dimension",
12866
+ "$value": "12px"
12867
+ },
12868
+ "helpIconSize": {
12869
+ "$type": "dimension",
12870
+ "$value": "14px"
12871
+ }
12872
+ },
12873
+ "sm": {
12874
+ "fontSize": {
12875
+ "$type": "dimension",
12876
+ "$value": "14px"
12877
+ },
12878
+ "helpIconSize": {
12879
+ "$type": "dimension",
12880
+ "$value": "16px"
12881
+ }
12882
+ },
12883
+ "md": {
12884
+ "fontSize": {
12885
+ "$type": "dimension",
12886
+ "$value": "16px"
12887
+ },
12888
+ "helpIconSize": {
12889
+ "$type": "dimension",
12890
+ "$value": "18px"
12891
+ }
12892
+ },
12893
+ "lg": {
12894
+ "fontSize": {
12895
+ "$type": "dimension",
12896
+ "$value": "18px"
12897
+ },
12898
+ "helpIconSize": {
12899
+ "$type": "dimension",
12900
+ "$value": "20px"
12901
+ }
12902
+ },
12903
+ "xl": {
12904
+ "fontSize": {
12905
+ "$type": "dimension",
12906
+ "$value": "20px"
12907
+ },
12908
+ "helpIconSize": {
12909
+ "$type": "dimension",
12910
+ "$value": "22px"
12911
+ }
12912
+ }
12913
+ },
12762
12914
  "requiredGap": {
12763
12915
  "$type": "dimension",
12764
12916
  "$value": "4px"
@@ -12796,6 +12948,38 @@ const tokens = {
12796
12948
  "lineHeight": {
12797
12949
  "$type": "number",
12798
12950
  "$value": "1.55"
12951
+ },
12952
+ "sizes": {
12953
+ "xs": {
12954
+ "fontSize": {
12955
+ "$type": "dimension",
12956
+ "$value": "10px"
12957
+ }
12958
+ },
12959
+ "sm": {
12960
+ "fontSize": {
12961
+ "$type": "dimension",
12962
+ "$value": "12px"
12963
+ }
12964
+ },
12965
+ "md": {
12966
+ "fontSize": {
12967
+ "$type": "dimension",
12968
+ "$value": "14px"
12969
+ }
12970
+ },
12971
+ "lg": {
12972
+ "fontSize": {
12973
+ "$type": "dimension",
12974
+ "$value": "16px"
12975
+ }
12976
+ },
12977
+ "xl": {
12978
+ "fontSize": {
12979
+ "$type": "dimension",
12980
+ "$value": "18px"
12981
+ }
12982
+ }
12799
12983
  }
12800
12984
  },
12801
12985
  "field": {
@@ -12869,22 +13053,6 @@ const tokens = {
12869
13053
  "borderColor": {
12870
13054
  "$type": "color",
12871
13055
  "$value": "#1971c2"
12872
- },
12873
- "outlineColor": {
12874
- "$type": "color",
12875
- "$value": "color-mix(in srgb, #326FDE 35%, transparent)"
12876
- },
12877
- "outlineWidth": {
12878
- "$type": "dimension",
12879
- "$value": "2px"
12880
- },
12881
- "outlineStyle": {
12882
- "$type": "string",
12883
- "$value": "solid"
12884
- },
12885
- "outlineOffset": {
12886
- "$type": "dimension",
12887
- "$value": "4px"
12888
13056
  }
12889
13057
  },
12890
13058
  "disabled": {
@@ -12937,7 +13105,7 @@ const tokens = {
12937
13105
  },
12938
13106
  "fontSize": {
12939
13107
  "$type": "dimension",
12940
- "$value": "12px"
13108
+ "$value": "14px"
12941
13109
  }
12942
13110
  },
12943
13111
  "md": {
@@ -12951,7 +13119,7 @@ const tokens = {
12951
13119
  },
12952
13120
  "fontSize": {
12953
13121
  "$type": "dimension",
12954
- "$value": "14px"
13122
+ "$value": "16px"
12955
13123
  }
12956
13124
  },
12957
13125
  "lg": {
@@ -12965,7 +13133,7 @@ const tokens = {
12965
13133
  },
12966
13134
  "fontSize": {
12967
13135
  "$type": "dimension",
12968
- "$value": "16px"
13136
+ "$value": "18px"
12969
13137
  }
12970
13138
  },
12971
13139
  "xl": {
@@ -12979,7 +13147,7 @@ const tokens = {
12979
13147
  },
12980
13148
  "fontSize": {
12981
13149
  "$type": "dimension",
12982
- "$value": "16px"
13150
+ "$value": "20px"
12983
13151
  }
12984
13152
  }
12985
13153
  }
@@ -13007,7 +13175,7 @@ const tokens = {
13007
13175
  "sm": {
13008
13176
  "fontSize": {
13009
13177
  "$type": "dimension",
13010
- "$value": "12px"
13178
+ "$value": "14px"
13011
13179
  },
13012
13180
  "width": {
13013
13181
  "$type": "dimension",
@@ -13017,7 +13185,7 @@ const tokens = {
13017
13185
  "md": {
13018
13186
  "fontSize": {
13019
13187
  "$type": "dimension",
13020
- "$value": "14px"
13188
+ "$value": "16px"
13021
13189
  },
13022
13190
  "width": {
13023
13191
  "$type": "dimension",
@@ -13027,7 +13195,7 @@ const tokens = {
13027
13195
  "lg": {
13028
13196
  "fontSize": {
13029
13197
  "$type": "dimension",
13030
- "$value": "16px"
13198
+ "$value": "18px"
13031
13199
  },
13032
13200
  "width": {
13033
13201
  "$type": "dimension",
@@ -13037,7 +13205,7 @@ const tokens = {
13037
13205
  "xl": {
13038
13206
  "fontSize": {
13039
13207
  "$type": "dimension",
13040
- "$value": "16px"
13208
+ "$value": "20px"
13041
13209
  },
13042
13210
  "width": {
13043
13211
  "$type": "dimension",
@@ -13058,6 +13226,38 @@ const tokens = {
13058
13226
  "lineHeight": {
13059
13227
  "$type": "number",
13060
13228
  "$value": "1.55"
13229
+ },
13230
+ "sizes": {
13231
+ "xs": {
13232
+ "fontSize": {
13233
+ "$type": "dimension",
13234
+ "$value": "10px"
13235
+ }
13236
+ },
13237
+ "sm": {
13238
+ "fontSize": {
13239
+ "$type": "dimension",
13240
+ "$value": "12px"
13241
+ }
13242
+ },
13243
+ "md": {
13244
+ "fontSize": {
13245
+ "$type": "dimension",
13246
+ "$value": "14px"
13247
+ }
13248
+ },
13249
+ "lg": {
13250
+ "fontSize": {
13251
+ "$type": "dimension",
13252
+ "$value": "16px"
13253
+ }
13254
+ },
13255
+ "xl": {
13256
+ "fontSize": {
13257
+ "$type": "dimension",
13258
+ "$value": "18px"
13259
+ }
13260
+ }
13061
13261
  }
13062
13262
  }
13063
13263
  },
@@ -15980,7 +16180,7 @@ const tokens = {
15980
16180
  },
15981
16181
  "pageSizeWidth": {
15982
16182
  "$type": "dimension",
15983
- "$value": "52px"
16183
+ "$value": "64px"
15984
16184
  },
15985
16185
  "selectionBanner": {
15986
16186
  "bg": {