@appdirect/ad-design-tokens 0.0.18 → 0.0.20

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 (1364 tokens)
646
+ ## components (1389 tokens)
647
647
 
648
648
  actionIcon.root.base.cursor → {cursor.pointer}
649
649
  actionIcon.root.base.borderRadius → {radius.sm}
@@ -1002,7 +1002,7 @@ checkbox.box.disabled.bg → {color.state.disa
1002
1002
  checkbox.box.disabled.borderColor → {color.state.disabledBorder}
1003
1003
  checkbox.box.disabled.cursor → {cursor.notAllowed}
1004
1004
  checkbox.box.error.borderColor → {color.status.error}
1005
- checkbox.checkmark.fg → {constants.white}
1005
+ checkbox.checkmark.fg → {white}
1006
1006
  checkbox.checkmark.disabledFg → {color.state.disabledText}
1007
1007
  checkbox.root.gap → {input.wrapper.controlGap}
1008
1008
  checkbox.label.fontSize → {fontSizes.sm}
@@ -1162,11 +1162,19 @@ container.sizes.xl.maxWidth → 1320px
1162
1162
  dashboardWidget.root.paddingX → {spacing.lg}
1163
1163
  dashboardWidget.root.paddingTop → {spacing.sm}
1164
1164
  dashboardWidget.root.paddingBottom → {spacing.none}
1165
- dashboardWidget.sections.gap → {spacing.xs}
1165
+ dashboardWidget.root.interactive.cursor → {cursor.pointer}
1166
+ dashboardWidget.root.interactive.hoverShadow → {shadows.md}
1167
+ dashboardWidget.root.interactive.selectedBg → {color.brand.light}
1168
+ dashboardWidget.root.interactive.selectedBorder → {color.border.primary}
1169
+ dashboardWidget.sections.gap → {spacing.lg}
1166
1170
  dashboardWidget.header.titleGap → {spacing.xs}
1167
1171
  dashboardWidget.header.controlsGap → {spacing.sm}
1168
1172
  dashboardWidget.header.switchLabelGap → {spacing.xs}
1173
+ dashboardWidget.header.title.fontSize → {headings.sizes.h4.fontSize}
1174
+ dashboardWidget.header.title.fontWeight → {headings.fontWeight}
1169
1175
  dashboardWidget.content.scrollbarGutter → 4px
1176
+ dashboardWidget.content.paddingY → {spacing.none}
1177
+ dashboardWidget.content.align → center
1170
1178
  dashboardWidget.footer.bg → {color.bg.default}
1171
1179
  dashboardWidget.footer.paddingX → {spacing.lg}
1172
1180
  dashboardWidget.footer.paddingY → {spacing.sm}
@@ -1174,6 +1182,12 @@ dashboardWidget.footer.gap → {spacing.xs}
1174
1182
  dashboardWidget.footer.emptyHeight → 21px
1175
1183
  dashboardWidget.footer.link.fg → {color.text.link}
1176
1184
  dashboardWidget.footer.link.disabledFg → {color.state.disabledText}
1185
+ dashboardWidget.footer.link.cursor → {cursor.pointer}
1186
+ dashboardWidget.footer.link.disabledCursor → {cursor.notAllowed}
1187
+ dashboardWidget.footer.link.bg → {color.transparent}
1188
+ dashboardWidget.footer.link.padding → {spacing.none}
1189
+ dashboardWidget.footer.link.borderWidth → {borderWidth.none}
1190
+ dashboardWidget.footer.link.borderStyle → {borderStyle.none}
1177
1191
  divider.root.borderColor → {color.border.default}
1178
1192
  divider.root.borderStyle → {borderStyle.solid}
1179
1193
  divider.label.fontSize → {fontSizes.xs}
@@ -1693,7 +1707,7 @@ radio.radio.disabled.bg → {color.state.disa
1693
1707
  radio.radio.disabled.borderColor → {color.state.disabledBorder}
1694
1708
  radio.radio.disabled.cursor → {cursor.notAllowed}
1695
1709
  radio.radio.error.borderColor → {color.status.error}
1696
- radio.dot.fg → {constants.white}
1710
+ radio.dot.fg → {white}
1697
1711
  radio.dot.disabledFg → {color.state.disabledText}
1698
1712
  radio.root.gap → {input.wrapper.controlGap}
1699
1713
  radio.label.fontSize → {fontSizes.sm}
@@ -1743,6 +1757,17 @@ segmentedControl.sizes.lg.fontSize → {fontSizes.md}
1743
1757
  segmentedControl.sizes.xl.paddingX → 20px
1744
1758
  segmentedControl.sizes.xl.paddingY → 10px
1745
1759
  segmentedControl.sizes.xl.fontSize → {fontSizes.md}
1760
+ select.unstyled.bg → {color.transparent}
1761
+ select.unstyled.borderWidth → {borderWidth.none}
1762
+ select.unstyled.borderStyle → {borderStyle.none}
1763
+ select.unstyled.borderColor → {color.transparent}
1764
+ select.unstyled.paddingStart → {spacing.none}
1765
+ select.unstyled.paddingY → {spacing.none}
1766
+ select.unstyled.hover.borderColor → {color.transparent}
1767
+ select.unstyled.focus.borderColor → {color.transparent}
1768
+ select.unstyled.focus.outlineColor → {color.transparent}
1769
+ select.unstyled.focus.outlineWidth → {borderWidth.none}
1770
+ select.unstyled.focus.outlineStyle → {borderStyle.none}
1746
1771
  slat.root.sectionsGap → {spacing.xs}
1747
1772
  slat.row.padding → {spacing.sm}
1748
1773
  slat.row.gap → {spacing.sm}
@@ -1818,18 +1843,18 @@ switch.track.borderRadius → 1000px
1818
1843
  switch.track.unchecked.bg → {color.bg.control}
1819
1844
  switch.track.unchecked.labelFg → {color.text.dimmed}
1820
1845
  switch.track.checked.bg → {color.status.success}
1821
- switch.track.checked.labelFg → {constants.white}
1846
+ switch.track.checked.labelFg → {white}
1822
1847
  switch.track.focus.outlineColor → {action.primary.focusRing}
1823
1848
  switch.track.focus.outlineWidth → {borderWidth.medium}
1824
1849
  switch.track.focus.outlineStyle → {borderStyle.solid}
1825
1850
  switch.track.focus.outlineOffset → {spacing.xxs}
1826
1851
  switch.track.disabled.bg → {color.state.disabled}
1827
1852
  switch.track.disabled.cursor → {cursor.notAllowed}
1828
- switch.thumb.bg → {constants.white}
1853
+ switch.thumb.bg → {white}
1829
1854
  switch.thumb.disabledBg → {color.bg.defaultHover}
1830
1855
  switch.root.gap → {input.wrapper.controlGap}
1831
1856
  switch.label.fontSize → {fontSizes.sm}
1832
- switch.label.fontWeight → {fontWeights.medium}
1857
+ switch.label.fontWeight → {fontWeights.regular}
1833
1858
  switch.label.color → {color.text.default}
1834
1859
  switch.label.requiredGap → {input.label.requiredGap}
1835
1860
  switch.label.required.color → {input.label.required.color}
@@ -2011,4 +2036,4 @@ tooltip.arrow.size → 8px
2011
2036
  tooltip.arrow.bg → {color.bg.inverted}
2012
2037
 
2013
2038
  ---
2014
- Total: 1991 tokens across 7 layers
2039
+ Total: 2016 tokens across 7 layers
package/dist/index.js CHANGED
@@ -5340,12 +5340,30 @@ const tokens = {
5340
5340
  "paddingBottom": {
5341
5341
  "$type": "dimension",
5342
5342
  "$value": "0px"
5343
+ },
5344
+ "interactive": {
5345
+ "cursor": {
5346
+ "$type": "string",
5347
+ "$value": "pointer"
5348
+ },
5349
+ "hoverShadow": {
5350
+ "$type": "shadow",
5351
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 20px 25px -5px rgba(0, 0, 0, 0.05), 0px 10px 10px -5px rgba(0, 0, 0, 0.04)"
5352
+ },
5353
+ "selectedBg": {
5354
+ "$type": "color",
5355
+ "$value": "color-mix(in srgb, #326FDE 10%, transparent)"
5356
+ },
5357
+ "selectedBorder": {
5358
+ "$type": "color",
5359
+ "$value": "#326FDE"
5360
+ }
5343
5361
  }
5344
5362
  },
5345
5363
  "sections": {
5346
5364
  "gap": {
5347
5365
  "$type": "dimension",
5348
- "$value": "10px"
5366
+ "$value": "20px"
5349
5367
  }
5350
5368
  },
5351
5369
  "header": {
@@ -5360,6 +5378,16 @@ const tokens = {
5360
5378
  "switchLabelGap": {
5361
5379
  "$type": "dimension",
5362
5380
  "$value": "10px"
5381
+ },
5382
+ "title": {
5383
+ "fontSize": {
5384
+ "$type": "dimension",
5385
+ "$value": "18px"
5386
+ },
5387
+ "fontWeight": {
5388
+ "$type": "fontWeight",
5389
+ "$value": "700"
5390
+ }
5363
5391
  }
5364
5392
  },
5365
5393
  "panelNotification": {},
@@ -5367,6 +5395,14 @@ const tokens = {
5367
5395
  "scrollbarGutter": {
5368
5396
  "$type": "dimension",
5369
5397
  "$value": "4px"
5398
+ },
5399
+ "paddingY": {
5400
+ "$type": "dimension",
5401
+ "$value": "0px"
5402
+ },
5403
+ "align": {
5404
+ "$type": "string",
5405
+ "$value": "center"
5370
5406
  }
5371
5407
  },
5372
5408
  "footer": {
@@ -5398,6 +5434,30 @@ const tokens = {
5398
5434
  "disabledFg": {
5399
5435
  "$type": "color",
5400
5436
  "$value": "#adb5bd"
5437
+ },
5438
+ "cursor": {
5439
+ "$type": "string",
5440
+ "$value": "pointer"
5441
+ },
5442
+ "disabledCursor": {
5443
+ "$type": "string",
5444
+ "$value": "not-allowed"
5445
+ },
5446
+ "bg": {
5447
+ "$type": "color",
5448
+ "$value": "rgba(0,0,0,0)"
5449
+ },
5450
+ "padding": {
5451
+ "$type": "dimension",
5452
+ "$value": "0px"
5453
+ },
5454
+ "borderWidth": {
5455
+ "$type": "dimension",
5456
+ "$value": "0px"
5457
+ },
5458
+ "borderStyle": {
5459
+ "$type": "string",
5460
+ "$value": "none"
5401
5461
  }
5402
5462
  }
5403
5463
  }
@@ -8202,7 +8262,58 @@ const tokens = {
8202
8262
  }
8203
8263
  }
8204
8264
  },
8205
- "select": {},
8265
+ "select": {
8266
+ "unstyled": {
8267
+ "bg": {
8268
+ "$type": "color",
8269
+ "$value": "rgba(0,0,0,0)"
8270
+ },
8271
+ "borderWidth": {
8272
+ "$type": "dimension",
8273
+ "$value": "0px"
8274
+ },
8275
+ "borderStyle": {
8276
+ "$type": "string",
8277
+ "$value": "none"
8278
+ },
8279
+ "borderColor": {
8280
+ "$type": "color",
8281
+ "$value": "rgba(0,0,0,0)"
8282
+ },
8283
+ "paddingStart": {
8284
+ "$type": "dimension",
8285
+ "$value": "0px"
8286
+ },
8287
+ "paddingY": {
8288
+ "$type": "dimension",
8289
+ "$value": "0px"
8290
+ },
8291
+ "hover": {
8292
+ "borderColor": {
8293
+ "$type": "color",
8294
+ "$value": "rgba(0,0,0,0)"
8295
+ }
8296
+ },
8297
+ "focus": {
8298
+ "borderColor": {
8299
+ "$type": "color",
8300
+ "$value": "rgba(0,0,0,0)"
8301
+ },
8302
+ "outlineColor": {
8303
+ "$type": "color",
8304
+ "$value": "rgba(0,0,0,0)"
8305
+ },
8306
+ "outlineWidth": {
8307
+ "$type": "dimension",
8308
+ "$value": "0px"
8309
+ },
8310
+ "outlineStyle": {
8311
+ "$type": "string",
8312
+ "$value": "none"
8313
+ }
8314
+ }
8315
+ }
8316
+ },
8206
8317
  "slat": {
8207
8318
  "root": {
8208
8319
  "sectionsGap": {
@@ -8653,7 +8764,7 @@ const tokens = {
8653
8764
  },
8654
8765
  "fontWeight": {
8655
8766
  "$type": "fontWeight",
8656
- "$value": "600"
8767
+ "$value": "400"
8657
8768
  },
8658
8769
  "color": {
8659
8770
  "$type": "color",
@@ -12121,12 +12232,30 @@ const tokens = {
12121
12232
  "paddingBottom": {
12122
12233
  "$type": "dimension",
12123
12234
  "$value": "0px"
12235
+ },
12236
+ "interactive": {
12237
+ "cursor": {
12238
+ "$type": "string",
12239
+ "$value": "pointer"
12240
+ },
12241
+ "hoverShadow": {
12242
+ "$type": "shadow",
12243
+ "$value": "0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 20px 25px -5px rgba(0, 0, 0, 0.05), 0px 10px 10px -5px rgba(0, 0, 0, 0.04)"
12244
+ },
12245
+ "selectedBg": {
12246
+ "$type": "color",
12247
+ "$value": "color-mix(in srgb, #326FDE 15%, transparent)"
12248
+ },
12249
+ "selectedBorder": {
12250
+ "$type": "color",
12251
+ "$value": "#1971c2"
12252
+ }
12124
12253
  }
12125
12254
  },
12126
12255
  "sections": {
12127
12256
  "gap": {
12128
12257
  "$type": "dimension",
12129
- "$value": "10px"
12258
+ "$value": "20px"
12130
12259
  }
12131
12260
  },
12132
12261
  "header": {
@@ -12141,6 +12270,16 @@ const tokens = {
12141
12270
  "switchLabelGap": {
12142
12271
  "$type": "dimension",
12143
12272
  "$value": "10px"
12273
+ },
12274
+ "title": {
12275
+ "fontSize": {
12276
+ "$type": "dimension",
12277
+ "$value": "18px"
12278
+ },
12279
+ "fontWeight": {
12280
+ "$type": "fontWeight",
12281
+ "$value": "700"
12282
+ }
12144
12283
  }
12145
12284
  },
12146
12285
  "panelNotification": {},
@@ -12148,6 +12287,14 @@ const tokens = {
12148
12287
  "scrollbarGutter": {
12149
12288
  "$type": "dimension",
12150
12289
  "$value": "4px"
12290
+ },
12291
+ "paddingY": {
12292
+ "$type": "dimension",
12293
+ "$value": "0px"
12294
+ },
12295
+ "align": {
12296
+ "$type": "string",
12297
+ "$value": "center"
12151
12298
  }
12152
12299
  },
12153
12300
  "footer": {
@@ -12179,6 +12326,30 @@ const tokens = {
12179
12326
  "disabledFg": {
12180
12327
  "$type": "color",
12181
12328
  "$value": "#696969"
12329
+ },
12330
+ "cursor": {
12331
+ "$type": "string",
12332
+ "$value": "pointer"
12333
+ },
12334
+ "disabledCursor": {
12335
+ "$type": "string",
12336
+ "$value": "not-allowed"
12337
+ },
12338
+ "bg": {
12339
+ "$type": "color",
12340
+ "$value": "rgba(0,0,0,0)"
12341
+ },
12342
+ "padding": {
12343
+ "$type": "dimension",
12344
+ "$value": "0px"
12345
+ },
12346
+ "borderWidth": {
12347
+ "$type": "dimension",
12348
+ "$value": "0px"
12349
+ },
12350
+ "borderStyle": {
12351
+ "$type": "string",
12352
+ "$value": "none"
12182
12353
  }
12183
12354
  }
12184
12355
  }
@@ -14983,7 +15154,58 @@ const tokens = {
14983
15154
  }
14984
15155
  }
14985
15156
  },
14986
- "select": {},
15157
+ "select": {
15158
+ "unstyled": {
15159
+ "bg": {
15160
+ "$type": "color",
15161
+ "$value": "rgba(0,0,0,0)"
15162
+ },
15163
+ "borderWidth": {
15164
+ "$type": "dimension",
15165
+ "$value": "0px"
15166
+ },
15167
+ "borderStyle": {
15168
+ "$type": "string",
15169
+ "$value": "none"
15170
+ },
15171
+ "borderColor": {
15172
+ "$type": "color",
15173
+ "$value": "rgba(0,0,0,0)"
15174
+ },
15175
+ "paddingStart": {
15176
+ "$type": "dimension",
15177
+ "$value": "0px"
15178
+ },
15179
+ "paddingY": {
15180
+ "$type": "dimension",
15181
+ "$value": "0px"
15182
+ },
15183
+ "hover": {
15184
+ "borderColor": {
15185
+ "$type": "color",
15186
+ "$value": "rgba(0,0,0,0)"
15187
+ }
15188
+ },
15189
+ "focus": {
15190
+ "borderColor": {
15191
+ "$type": "color",
15192
+ "$value": "rgba(0,0,0,0)"
15193
+ },
15194
+ "outlineColor": {
15195
+ "$type": "color",
15196
+ "$value": "rgba(0,0,0,0)"
15197
+ },
15198
+ "outlineWidth": {
15199
+ "$type": "dimension",
15200
+ "$value": "0px"
15201
+ },
15202
+ "outlineStyle": {
15203
+ "$type": "string",
15204
+ "$value": "none"
15205
+ }
15206
+ }
15207
+ }
15208
+ },
14987
15209
  "slat": {
14988
15210
  "root": {
14989
15211
  "sectionsGap": {
@@ -15434,7 +15656,7 @@ const tokens = {
15434
15656
  },
15435
15657
  "fontWeight": {
15436
15658
  "$type": "fontWeight",
15437
- "$value": "600"
15659
+ "$value": "400"
15438
15660
  },
15439
15661
  "color": {
15440
15662
  "$type": "color",