@stackone/malachite 0.65.1 → 0.66.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.
package/dist/index.d.ts CHANGED
@@ -164,6 +164,11 @@ declare interface BaseFormComponentProps {
164
164
  formControl?: Control<FieldValues, unknown>;
165
165
  loadingComponent: default_2.ReactNode;
166
166
  children?: default_2.ReactNode;
167
+ /** Accessibility wiring, from `useFormFieldIds` — see `FormFieldIds`. */
168
+ controlId?: string;
169
+ labelId?: string;
170
+ descriptionId?: string;
171
+ hintId?: string;
167
172
  }
168
173
 
169
174
  declare interface BaseSkeletonProps {
@@ -504,7 +509,7 @@ export declare enum DividerVariant {
504
509
  Emphasis = "emphasis"
505
510
  }
506
511
 
507
- export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled, error, label, hint, tooltip, name, required, loading, menuLoading, formControl, description, helperText, placeholder, search, size, }: DropdownProps) => JSX_2.Element;
512
+ export declare const Dropdown: ({ items, onItemSelected, defaultValue, disabled, error, label, hint, tooltip, name, required, loading, menuLoading, formControl, description, helperText, placeholder, search, size, id, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: DropdownProps) => JSX_2.Element;
508
513
 
509
514
  export declare interface DropdownItem {
510
515
  id: string;
@@ -543,6 +548,10 @@ export declare interface DropdownProps {
543
548
  search?: boolean;
544
549
  /** 'medium' (42px) for form inputs; 'small' (32px) for toolbar chips. */
545
550
  size?: DropdownSize;
551
+ /** Names the trigger from the light DOM, where `htmlFor` cannot reach into the shadow root. */
552
+ id?: string;
553
+ 'aria-label'?: string;
554
+ 'aria-labelledby'?: string;
546
555
  }
547
556
 
548
557
  export declare type DropdownSize = 'small' | 'medium';
@@ -702,6 +711,9 @@ declare interface InputProps {
702
711
  onBlur?: () => void;
703
712
  helperText?: string;
704
713
  showPasswordToggle?: boolean;
714
+ id?: string;
715
+ 'aria-label'?: string;
716
+ 'aria-labelledby'?: string;
705
717
  }
706
718
 
707
719
  declare type InputSize = 'small' | 'medium' | 'large';
@@ -1150,6 +1162,10 @@ declare interface MultiSelectBaseProps {
1150
1162
  inlineSearch?: boolean;
1151
1163
  className?: string;
1152
1164
  style?: default_2.CSSProperties;
1165
+ /** Names the trigger from the light DOM, where `htmlFor` cannot reach into the shadow root. */
1166
+ id?: string;
1167
+ 'aria-label'?: string;
1168
+ 'aria-labelledby'?: string;
1153
1169
  }
1154
1170
 
1155
1171
  export declare interface MultiSelectOption {
@@ -1619,6 +1635,7 @@ export declare interface StepperProps {
1619
1635
  onChange?: (index: number) => void;
1620
1636
  className?: string;
1621
1637
  'aria-label'?: string;
1638
+ 'aria-labelledby'?: string;
1622
1639
  }
1623
1640
 
1624
1641
  export declare const Surface: SurfaceComponent;
@@ -1907,6 +1924,9 @@ declare interface TextAreaProps {
1907
1924
  * content like URLs. Defaults to true.
1908
1925
  */
1909
1926
  wrap?: boolean;
1927
+ id?: string;
1928
+ 'aria-label'?: string;
1929
+ 'aria-labelledby'?: string;
1910
1930
  }
1911
1931
 
1912
1932
  declare type TextAreaSize = 'small' | 'medium' | 'large';
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, c as t, d as o, e as i, B as r, f as n, g as l, h as p, i as T, j as d, k as m, l as S, m as c, n as h, o as u, D as g, p as C, q as w, r as y, F, s as x, t as f, u as v, v as k, w as B, x as L, y as P, z as b, I as A, K as D, L as z, E as R, M, G as I, N, O as V, P as j, H as q, J as E, Q as G, R as H, S as J, T as K, U as O, V as W, W as Q, X as U, Y as X, Z as Y, $ as Z, a0 as $, a1 as _, a2 as aa, a3 as ea, a4 as sa, a5 as ta, a6 as oa, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as Ta, ad as da, ae as ma, af as Sa, ag as ca, ah as ha, ai as ua, aj as ga, ak as Ca, al as wa, am as ya, an as Fa, ao as xa, ap as fa, aq as va, ar as ka, as as Ba, at as La, au as Pa, av as ba, aw as Aa } from "./index-C7oEKZwO.js";
1
+ import { A as s, c as t, d as o, e as i, B as r, f as n, g as l, h as p, i as T, j as d, k as m, l as S, m as c, n as h, o as u, D as g, p as C, q as w, r as y, F, s as x, t as f, u as v, v as k, w as B, x as L, y as P, z as b, I as A, K as D, L as z, E as R, M, G as I, N, O as V, P as j, H as q, J as E, Q as G, R as H, S as J, T as K, U as O, V as W, W as Q, X as U, Y as X, Z as Y, $ as Z, a0 as $, a1 as _, a2 as aa, a3 as ea, a4 as sa, a5 as ta, a6 as oa, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as Ta, ad as da, ae as ma, af as Sa, ag as ca, ah as ha, ai as ua, aj as ga, ak as Ca, al as wa, am as ya, an as Fa, ao as xa, ap as fa, aq as va, ar as ka, as as Ba, at as La, au as Pa, av as ba, aw as Aa } from "./index-D4HkgA7h.js";
2
2
  export {
3
3
  s as Accordion,
4
4
  t as ActionMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/malachite",
3
- "version": "0.65.1",
3
+ "version": "0.66.0",
4
4
  "description": "StackOne's themeable React component library — Shadow DOM isolated, scoped Tailwind, theme-token driven.",
5
5
  "license": "MIT",
6
6
  "author": "StackOne",