@cscfi/csc-ui 4.0.0-rc.3 → 4.0.0-rc.5

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 (50) hide show
  1. package/dist/csc-ui.js +12632 -11979
  2. package/dist/custom-elements.json +204 -28
  3. package/dist/docs/c-button/usage.md +93 -14
  4. package/dist/docs/c-color-picker/usage.md +2 -1
  5. package/dist/docs/c-date-picker/usage.md +2 -1
  6. package/dist/docs/c-file-upload/usage.md +3 -3
  7. package/dist/docs/c-icon-button/usage.md +19 -8
  8. package/dist/docs/c-otp-input/usage.md +4 -1
  9. package/dist/docs/c-radio-group/usage.md +3 -1
  10. package/dist/docs/c-slider/usage.md +2 -2
  11. package/dist/docs/c-text-field/usage.md +53 -1
  12. package/dist/styles/css/tailwind-theme.css +6 -0
  13. package/dist/styles/css/tokens.css +107 -96
  14. package/dist/vscode.css-custom-data.json +2 -2
  15. package/dist/vscode.html-custom-data.json +88 -16
  16. package/dist/web-types.json +118 -34
  17. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +2 -1
  18. package/dist-types/components/c-button/CButton.vue.d.ts +23 -5
  19. package/dist-types/components/c-button/injectButtonStyles.d.ts +1 -0
  20. package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +8 -0
  21. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
  22. package/dist-types/components/c-color-picker/CColorPicker.vue.d.ts +2 -1
  23. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +2 -1
  24. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +18 -2
  25. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  26. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +2 -1
  27. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +7 -0
  28. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -0
  29. package/dist-types/components/c-select/CSelect.vue.d.ts +2 -1
  30. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +1 -1
  31. package/dist-types/components/c-slider/CSlider.vue.d.ts +2 -3
  32. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +1 -1
  33. package/dist-types/components/c-switch/CSwitch.vue.d.ts +8 -0
  34. package/dist-types/components/c-text-field/CTextField.vue.d.ts +3 -2
  35. package/dist-types/components/c-text-field/injectTextFieldStyles.d.ts +1 -0
  36. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +2 -1
  37. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +1 -1
  38. package/dist-types/index.d.ts +2 -2
  39. package/dist-types/registry.d.ts +7 -0
  40. package/dist-types/shared/appDefaults.d.ts +8 -1
  41. package/dist-types/shared/buttonVariant.d.ts +5 -0
  42. package/dist-types/shared/defineElement.d.ts +5 -1
  43. package/dist-types/shared/implicitSubmission.d.ts +31 -0
  44. package/dist-types/shared/useElementInternals.d.ts +7 -0
  45. package/dist-types/shared/useFormAssociation.d.ts +88 -0
  46. package/dist-types/shared/useHostStates.d.ts +5 -4
  47. package/dist-types/shared/useTypedField.d.ts +7 -0
  48. package/dist-types/shared/valueEvents.d.ts +6 -0
  49. package/dist-types/tag-name-map.d.ts +75 -28
  50. package/package.json +3 -2
@@ -189,7 +189,10 @@ export interface CAutocompleteElement extends Omit<HTMLElement, 'clearable' | 'd
189
189
  * a DOM property
190
190
  */
191
191
  multiple?: boolean;
192
- /** Input field name */
192
+ /**
193
+ * The name the picked value submits under in a native `<form>` — one entry
194
+ * per value with `multiple`
195
+ */
193
196
  name?: string;
194
197
  /** Placeholder for the in-panel search input */
195
198
  placeholder?: string;
@@ -251,8 +254,8 @@ export interface CBreadcrumbItemElement extends Omit<HTMLElement, 'href' | 'targ
251
254
  /** Browsing context the link opens in; the same tab when unset */
252
255
  target?: string;
253
256
  }
254
- /** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one primary (filled, the default `appearance`) button per view; secondary actions use `appearance="outlined"`, `"ghost"` or `"text"`. */
255
- export interface CButtonElement extends Omit<HTMLElement, 'active' | 'appearance' | 'asTab' | 'danger' | 'disabled' | 'fit' | 'ghost' | 'href' | 'inverted' | 'loading' | 'noRadius' | 'noRipple' | 'outlined' | 'size' | 'target' | 'text' | 'type' | 'value'> {
257
+ /** Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one filled button (the default `appearance`) per view for its main action; other actions use `appearance="outlined"`, `"ghost"` or `"text"`. */
258
+ export interface CButtonElement extends Omit<HTMLElement, 'active' | 'appearance' | 'asTab' | 'danger' | 'disabled' | 'fit' | 'ghost' | 'href' | 'inverted' | 'loading' | 'noRadius' | 'noRipple' | 'outlined' | 'size' | 'target' | 'text' | 'type' | 'value' | 'variant'> {
256
259
  /**
257
260
  * Pressed (toggle) state — renders the selected look and sets
258
261
  * `aria-pressed`. Leave unset for regular action buttons: only a
@@ -267,8 +270,9 @@ export interface CButtonElement extends Omit<HTMLElement, 'active' | 'appearance
267
270
  */
268
271
  appearance?: 'filled' | 'ghost' | 'outlined' | 'text';
269
272
  /**
270
- * Danger look for a destructive action: the filled button in the error
271
- * colour; no effect on the `outlined`, `ghost` or `text` appearance.
273
+ * Danger look for a destructive action: the error colour.
274
+ *
275
+ * @deprecated Use `variant="danger"`.
272
276
  */
273
277
  danger?: boolean;
274
278
  /**
@@ -335,6 +339,12 @@ export interface CButtonElement extends Omit<HTMLElement, 'active' | 'appearance
335
339
  * of the `c-tab-item` panel it shows.
336
340
  */
337
341
  value?: number | string;
342
+ /**
343
+ * The button's colour, in every appearance: `primary` unless set (or
344
+ * changed app-wide), `secondary`, `success`, `info`, `warning`, or `danger`
345
+ * for a destructive action.
346
+ */
347
+ variant?: 'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning';
338
348
  }
339
349
  /** Events dispatched by `<c-button-group>`. */
340
350
  export interface CButtonGroupElementEventMap {
@@ -353,7 +363,7 @@ export interface CButtonGroupElementEventMap {
353
363
  'update:value': CustomEvent<CButtonGroupValue>;
354
364
  }
355
365
  /** A button group is a segmented control: a compact group of choices rendered as plain `c-button` children, where activating a button takes effect immediately (switching a view, picking a billing period). Selection is exclusive by default; set `multiple` to let several buttons be active at once. Give the group a `label` when it acts as a form field so the choice it represents is named for every user. */
356
- export interface CButtonGroupElement extends Omit<HTMLElement, 'disabled' | 'label' | 'mandatory' | 'multiple' | 'required' | 'size' | 'value'> {
366
+ export interface CButtonGroupElement extends Omit<HTMLElement, 'disabled' | 'label' | 'mandatory' | 'multiple' | 'name' | 'required' | 'size' | 'value'> {
357
367
  /** Disable the whole group — every slotted c-button is disabled and the selection can no longer be changed. */
358
368
  disabled?: boolean;
359
369
  /** Label of the button group, shown above the buttons */
@@ -371,6 +381,11 @@ export interface CButtonGroupElement extends Omit<HTMLElement, 'disabled' | 'lab
371
381
  * form — bind `value` as a DOM property (`:value.prop` in Vue).
372
382
  */
373
383
  multiple?: boolean;
384
+ /**
385
+ * The name the active button's value submits under in a native `<form>` —
386
+ * one entry per active button with `multiple`, nothing while none is active
387
+ */
388
+ name?: string;
374
389
  /** Set as required — shows the required marker on the label */
375
390
  required?: boolean;
376
391
  /** Size of the buttons */
@@ -502,8 +517,8 @@ export interface CCheckboxElement extends Omit<HTMLElement, 'checked' | 'disable
502
517
  */
503
518
  label?: string;
504
519
  /**
505
- * `name` of the inner checkbox input. The component is not
506
- * form-associated, so it does not submit with a `<form>`.
520
+ * The name the checkbox submits under in a native `<form>` while it is
521
+ * checked: its `true-value`, or `on` when that is `true`
507
522
  */
508
523
  name?: string;
509
524
  /** Set as required — shows the required marker on the label */
@@ -592,7 +607,10 @@ export interface CColorPickerElement extends Omit<HTMLElement, 'alpha' | 'cleara
592
607
  label?: string;
593
608
  /** Label on top of the field */
594
609
  labelOnTop?: boolean;
595
- /** Input field name */
610
+ /**
611
+ * The name the colour submits under in a native `<form>`, in the
612
+ * picker's notation
613
+ */
596
614
  name?: string;
597
615
  /** Placeholder of the input; an example of the notation when empty */
598
616
  placeholder?: string;
@@ -822,7 +840,10 @@ export interface CDatePickerElement extends Omit<HTMLElement, 'clearable' | 'dis
822
840
  * bounds the calendar's navigation
823
841
  */
824
842
  min?: string;
825
- /** Input field name */
843
+ /**
844
+ * The name the date submits under in a native `<form>`, as its ISO text;
845
+ * a `range` as one ISO 8601 interval, `start/end`
846
+ */
826
847
  name?: string;
827
848
  /** Placeholder of the input; the `format` pattern when empty */
828
849
  placeholder?: string;
@@ -973,7 +994,7 @@ export interface CIconElement extends Omit<HTMLElement, 'color' | 'path' | 'size
973
994
  size?: number;
974
995
  }
975
996
  /** An icon-only button: a round native button that shows a single icon and takes its accessible name from an `aria-label` on the element. */
976
- export interface CIconButtonElement extends Omit<HTMLElement, 'appearance' | 'badge' | 'danger' | 'disabled' | 'ghost' | 'inverted' | 'loading' | 'outlined' | 'path' | 'size' | 'text'> {
997
+ export interface CIconButtonElement extends Omit<HTMLElement, 'appearance' | 'badge' | 'danger' | 'disabled' | 'ghost' | 'inverted' | 'loading' | 'outlined' | 'path' | 'size' | 'text' | 'variant'> {
977
998
  /**
978
999
  * The button's look: `filled` (unless set) for the main action; `outlined`
979
1000
  * (a primary outline, no fill), `ghost` (a light primary tint) or `text`
@@ -986,8 +1007,9 @@ export interface CIconButtonElement extends Omit<HTMLElement, 'appearance' | 'ba
986
1007
  */
987
1008
  badge?: null | number | string;
988
1009
  /**
989
- * Danger look for a destructive action: the filled button in the error
990
- * colour; no effect on the `outlined`, `ghost` or `text` appearance.
1010
+ * Danger look for a destructive action: the error colour.
1011
+ *
1012
+ * @deprecated Use `variant="danger"`.
991
1013
  */
992
1014
  danger?: boolean;
993
1015
  /** Disable the button: it leaves the Tab order and ignores the pointer. */
@@ -1028,6 +1050,12 @@ export interface CIconButtonElement extends Omit<HTMLElement, 'appearance' | 'ba
1028
1050
  * @deprecated Use `appearance="text"`.
1029
1051
  */
1030
1052
  text?: boolean;
1053
+ /**
1054
+ * The button's colour, in every appearance: `primary` unless set (or
1055
+ * changed app-wide), `secondary`, `success`, `info`, `warning`, or `danger`
1056
+ * for a destructive action.
1057
+ */
1058
+ variant?: 'danger' | 'info' | 'primary' | 'secondary' | 'success' | 'warning';
1031
1059
  }
1032
1060
  /** A text link to another page or resource: a native `<a>` in the link colour, with an optional underline. */
1033
1061
  export interface CLinkElement extends Omit<HTMLElement, 'href' | 'target' | 'underline'> {
@@ -1376,7 +1404,10 @@ export interface CNumberFieldElement extends Omit<HTMLElement, 'decimals' | 'dec
1376
1404
  max?: null | number;
1377
1405
  /** The smallest number in range; a smaller one is kept and reported as out of range. At `0` or above, the minus key is ignored */
1378
1406
  min?: null | number;
1379
- /** Name of the input */
1407
+ /**
1408
+ * The name the number submits under in a native `<form>`, written as a
1409
+ * plain JS number (`1234.5`)
1410
+ */
1380
1411
  name?: string;
1381
1412
  /** Placeholder of the input */
1382
1413
  placeholder?: string;
@@ -1441,7 +1472,7 @@ export interface COtpInputElementEventMap {
1441
1472
  'update:value': CustomEvent<string>;
1442
1473
  }
1443
1474
  /** A one-time-code field: a row of single-digit boxes, filled in order as the user types or pastes a code, under a group label and above a hint or error message. */
1444
- export interface COtpInputElement extends Omit<HTMLElement, 'autofocus' | 'errorMessage' | 'hideDetails' | 'hideMessage' | 'hint' | 'invalid' | 'label' | 'length' | 'required' | 'value'> {
1475
+ export interface COtpInputElement extends Omit<HTMLElement, 'autofocus' | 'errorMessage' | 'hideDetails' | 'hideMessage' | 'hint' | 'invalid' | 'label' | 'length' | 'name' | 'required' | 'value'> {
1445
1476
  /** Focus the first digit when the field mounts. */
1446
1477
  autofocus?: boolean;
1447
1478
  /** Error message shown in place of the hint while the input is invalid */
@@ -1468,6 +1499,8 @@ export interface COtpInputElement extends Omit<HTMLElement, 'autofocus' | 'error
1468
1499
  label?: string;
1469
1500
  /** Number of digits in the code, one box each */
1470
1501
  length?: number;
1502
+ /** The name the code submits under in a native `<form>`, as typed so far */
1503
+ name?: string;
1471
1504
  /** Set as required — shows the required marker on the label */
1472
1505
  required?: boolean;
1473
1506
  /**
@@ -1634,7 +1667,7 @@ export interface CRadioGroupElementEventMap {
1634
1667
  'update:value': CustomEvent<string>;
1635
1668
  }
1636
1669
  /** A radio group is a set of mutually exclusive choices where exactly one can be selected, authored as slotted `c-radio` children. Give the group a `label` so the choice it represents is named for every user, and a `hint` describing how to answer. */
1637
- export interface CRadioGroupElement extends Omit<HTMLElement, 'disabled' | 'errorMessage' | 'hideDetails' | 'hideMessage' | 'hint' | 'inline' | 'invalid' | 'label' | 'required' | 'value'> {
1670
+ export interface CRadioGroupElement extends Omit<HTMLElement, 'disabled' | 'errorMessage' | 'hideDetails' | 'hideMessage' | 'hint' | 'inline' | 'invalid' | 'label' | 'name' | 'required' | 'value'> {
1638
1671
  /** Disable the radio group */
1639
1672
  disabled?: boolean;
1640
1673
  /** Error message shown in place of the hint while the group is invalid */
@@ -1661,6 +1694,11 @@ export interface CRadioGroupElement extends Omit<HTMLElement, 'disabled' | 'erro
1661
1694
  invalid?: boolean;
1662
1695
  /** Label of the radio group */
1663
1696
  label?: string;
1697
+ /**
1698
+ * The name the picked radio's value submits under in a native `<form>`;
1699
+ * nothing submits while no radio is picked
1700
+ */
1701
+ name?: string;
1664
1702
  /** Set as required */
1665
1703
  required?: boolean;
1666
1704
  /**
@@ -1746,7 +1784,10 @@ export interface CSelectElement extends Omit<HTMLElement, 'clearable' | 'disable
1746
1784
  * Arrays have no attribute form — bind `value` as a DOM property
1747
1785
  */
1748
1786
  multiple?: boolean;
1749
- /** Input field name */
1787
+ /**
1788
+ * The name the picked value submits under in a native `<form>` — one entry
1789
+ * per value with `multiple`
1790
+ */
1750
1791
  name?: string;
1751
1792
  /** Display the option as selection (only with <c-option> elements) */
1752
1793
  optionAsSelection?: boolean;
@@ -1906,10 +1947,7 @@ export interface CSliderElement extends Omit<HTMLElement, 'disabled' | 'disableT
1906
1947
  max?: number;
1907
1948
  /** The smallest value. */
1908
1949
  min?: number;
1909
- /**
1910
- * `name` of the inner range input. The component is not
1911
- * form-associated, so it does not submit with a `<form>`.
1912
- */
1950
+ /** The name the value submits under in a native `<form>` */
1913
1951
  name?: string;
1914
1952
  /** Number of segments the tick marks divide the track into. */
1915
1953
  segments?: number;
@@ -2033,7 +2071,7 @@ export interface CSwitchElementEventMap {
2033
2071
  'update:value': CustomEvent<boolean | number | string>;
2034
2072
  }
2035
2073
  /** A toggle for a binary setting that takes effect immediately: a native switch control with a label. */
2036
- export interface CSwitchElement extends Omit<HTMLElement, 'checked' | 'disabled' | 'falseValue' | 'label' | 'loading' | 'required' | 'trueValue' | 'value'> {
2074
+ export interface CSwitchElement extends Omit<HTMLElement, 'checked' | 'disabled' | 'falseValue' | 'label' | 'loading' | 'name' | 'required' | 'trueValue' | 'value'> {
2037
2075
  /**
2038
2076
  * Whether the switch is on: the boolean view of `value`. Setting it sets
2039
2077
  * `value` to `trueValue` or `falseValue`; reading it reports whether
@@ -2055,6 +2093,11 @@ export interface CSwitchElement extends Omit<HTMLElement, 'checked' | 'disabled'
2055
2093
  * saved. The switch ignores toggles meanwhile and is announced as busy
2056
2094
  */
2057
2095
  loading?: boolean;
2096
+ /**
2097
+ * The name the switch submits under in a native `<form>` while it is on:
2098
+ * its `true-value`, or `on` when that is `true`
2099
+ */
2100
+ name?: string;
2058
2101
  /** Set as required — shows the required marker on the label */
2059
2102
  required?: boolean;
2060
2103
  /** The value when the switch is on */
@@ -2294,10 +2337,7 @@ export interface CTextFieldElement extends Omit<HTMLElement, 'autocapitalize' |
2294
2337
  max?: null | number;
2295
2338
  /** Smallest value of a `type="number"` field, as the native `min` attribute */
2296
2339
  min?: null | number;
2297
- /**
2298
- * `name` of the inner input. The component is not form-associated, so it
2299
- * does not submit with a `<form>`.
2300
- */
2340
+ /** The name the text submits under in a native `<form>` */
2301
2341
  name?: string;
2302
2342
  /**
2303
2343
  * Placeholder of the input. Beside a floating `label` it shows only while
@@ -2422,7 +2462,10 @@ export interface CTimePickerElement extends Omit<HTMLElement, 'clearable' | 'dis
2422
2462
  * the step
2423
2463
  */
2424
2464
  minuteStep?: number;
2425
- /** Input field name */
2465
+ /**
2466
+ * The name the time submits under in a native `<form>`, as its ISO text;
2467
+ * a `range` as one ISO 8601 interval, `start/end`
2468
+ */
2426
2469
  name?: string;
2427
2470
  /** Placeholder of the input; the `format` pattern when empty */
2428
2471
  placeholder?: string;
@@ -2647,7 +2690,7 @@ export interface CTreeSelectElement extends Omit<HTMLElement, 'allowBranch' | 'c
2647
2690
  * form — bind as a DOM property
2648
2691
  */
2649
2692
  levelLabels?: string[];
2650
- /** Input field name */
2693
+ /** The name the picked value submits under in a native `<form>` */
2651
2694
  name?: string;
2652
2695
  /** Placeholder for the search input inside the panel */
2653
2696
  placeholder?: string;
@@ -2691,10 +2734,12 @@ export interface CTreeSelectElement extends Omit<HTMLElement, 'allowBranch' | 'c
2691
2734
  export interface CAppDefaults {
2692
2735
  'c-autocomplete'?: Partial<Pick<CAutocompleteElement, 'hideDetails' | 'hideMessage' | 'itemsPerPage' | 'labelOnTop' | 'shadow' | 'size' | 'texts'>>;
2693
2736
  'c-breadcrumb'?: Partial<Pick<CBreadcrumbElement, 'texts'>>;
2737
+ 'c-button'?: Partial<Pick<CButtonElement, 'variant'>>;
2694
2738
  'c-color-picker'?: Partial<Pick<CColorPickerElement, 'alpha' | 'format' | 'hideDetails' | 'hideMessage' | 'labelOnTop' | 'shadow' | 'size' | 'texts'>>;
2695
2739
  'c-data-table'?: Partial<Pick<CDataTableElement, 'texts'>>;
2696
2740
  'c-date-picker'?: Partial<Pick<CDatePickerElement, 'firstDayOfWeek' | 'format' | 'hideDetails' | 'hideMessage' | 'labelOnTop' | 'shadow' | 'showToday' | 'showWeekNumbers' | 'size' | 'texts'>>;
2697
2741
  'c-file-upload'?: Partial<Pick<CFileUploadElement, 'compact' | 'hideDetails' | 'hideMessage' | 'size' | 'texts'>>;
2742
+ 'c-icon-button'?: Partial<Pick<CIconButtonElement, 'variant'>>;
2698
2743
  'c-navigation-button'?: Partial<Pick<CNavigationButtonElement, 'texts'>>;
2699
2744
  'c-number-field'?: Partial<Pick<CNumberFieldElement, 'decimalSeparator' | 'decimals' | 'fixedDecimals' | 'groupSeparator' | 'hideDetails' | 'hideMessage' | 'labelOnTop' | 'shadow' | 'size' | 'step' | 'texts'>>;
2700
2745
  'c-pagination'?: Partial<Pick<CPaginationElement, 'texts'>>;
@@ -2707,10 +2752,12 @@ export interface CAppDefaults {
2707
2752
  export declare const DEFAULTABLE_PROPS: {
2708
2753
  readonly 'c-autocomplete': readonly ["hideDetails", "hideMessage", "itemsPerPage", "labelOnTop", "shadow", "size", "texts"];
2709
2754
  readonly 'c-breadcrumb': readonly ["texts"];
2755
+ readonly 'c-button': readonly ["variant"];
2710
2756
  readonly 'c-color-picker': readonly ["alpha", "format", "hideDetails", "hideMessage", "labelOnTop", "shadow", "size", "texts"];
2711
2757
  readonly 'c-data-table': readonly ["texts"];
2712
2758
  readonly 'c-date-picker': readonly ["firstDayOfWeek", "format", "hideDetails", "hideMessage", "labelOnTop", "shadow", "showToday", "showWeekNumbers", "size", "texts"];
2713
2759
  readonly 'c-file-upload': readonly ["compact", "hideDetails", "hideMessage", "size", "texts"];
2760
+ readonly 'c-icon-button': readonly ["variant"];
2714
2761
  readonly 'c-navigation-button': readonly ["texts"];
2715
2762
  readonly 'c-number-field': readonly ["decimalSeparator", "decimals", "fixedDecimals", "groupSeparator", "hideDetails", "hideMessage", "labelOnTop", "shadow", "size", "step", "texts"];
2716
2763
  readonly 'c-pagination': readonly ["texts"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cscfi/csc-ui",
3
- "version": "4.0.0-rc.3",
3
+ "version": "4.0.0-rc.5",
4
4
  "description": "The CSC Design System's components as native custom elements: one set of c-* tags for plain HTML, Vue, React and Angular.",
5
5
  "type": "module",
6
6
  "main": "./dist/csc-ui.js",
@@ -74,12 +74,13 @@
74
74
  "chart:generate": "node scripts/generate-chart-data.mjs",
75
75
  "lint:chart": "node scripts/check-chart-parity.mjs",
76
76
  "lint:focus": "node scripts/check-focus-rings.mjs",
77
+ "lint:tint": "node scripts/check-tint-ink.mjs",
77
78
  "lint:engines": "node scripts/check-engine-skips.mjs",
78
79
  "test": "pnpm run style-dictionary:build && vitest run",
79
80
  "test:watch": "vitest",
80
81
  "test:browser": "vitest run --project browser",
81
82
  "test:node": "vitest run --project node",
82
83
  "test:update": "pnpm run style-dictionary:build && vitest run --project browser --update",
83
- "lint:guards": "pnpm run lint:tokens && pnpm run lint:a11y && pnpm run lint:ramp && pnpm run lint:chart && pnpm run lint:focus && pnpm run lint:engines"
84
+ "lint:guards": "pnpm run lint:tokens && pnpm run lint:a11y && pnpm run lint:ramp && pnpm run lint:chart && pnpm run lint:focus && pnpm run lint:tint && pnpm run lint:engines"
84
85
  }
85
86
  }