@stackone/malachite 0.70.0 → 1.0.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
@@ -618,11 +618,6 @@ declare interface DividerProps {
618
618
  grow?: boolean;
619
619
  }
620
620
 
621
- /**
622
- * A 1px horizontal divider component that uses the card border style from the theme.
623
- * The divider spans edge to edge of its container.
624
- * Supports configurable margin and padding using predefined spacing sizes.
625
- */
626
621
  export declare enum DividerVariant {
627
622
  Default = "default",
628
623
  Muted = "muted",
@@ -666,7 +661,7 @@ export declare interface DropdownProps {
666
661
  helperText?: default_2.ReactNode;
667
662
  placeholder?: string;
668
663
  search?: boolean;
669
- /** 'medium' (42px) for form inputs; 'small' (32px) for toolbar chips; 'xsmall' (28px) beside a title. */
664
+ /** 'large' (42px) for form inputs; 'medium' (32px) for toolbar chips; 'small' (28px) beside a title. */
670
665
  size?: DropdownSize;
671
666
  /** Names the trigger from the light DOM, where `htmlFor` cannot reach into the shadow root. */
672
667
  id?: string;
@@ -674,7 +669,11 @@ export declare interface DropdownProps {
674
669
  'aria-labelledby'?: string;
675
670
  }
676
671
 
677
- export declare type DropdownSize = 'xsmall' | 'small' | 'medium';
672
+ /**
673
+ * Matches Button and the Figma component library: 28 / 32 / 42px. These names moved up a
674
+ * tier in 0.71 — what was `xsmall`/`small`/`medium` is now `small`/`medium`/`large`.
675
+ */
676
+ export declare type DropdownSize = 'small' | 'medium' | 'large';
678
677
 
679
678
  declare interface EllipsisTextProps {
680
679
  children: default_2.ReactNode;
@@ -750,7 +749,7 @@ declare interface FlexProps {
750
749
  className?: string;
751
750
  }
752
751
 
753
- /** Which of the three theme typefaces to render in. Defaults to the sans body face. */
752
+ /** Which theme typeface to render in. Defaults to the sans body face. */
754
753
  declare type FontFamily = 'sans' | 'heading' | 'body' | 'mono';
755
754
 
756
755
  export declare type FontSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
@@ -966,9 +965,13 @@ export declare interface MalachiteTheme {
966
965
  large: string;
967
966
  };
968
967
  radius: {
968
+ /** Optional so adding a rung never breaks a consumer building a full theme literal. */
969
+ xs?: string;
969
970
  sm: string;
970
971
  md: string;
971
972
  lg: string;
973
+ /** Off-ladder: no rung exists between `lg` (8px) and `xl` (12px). */
974
+ '10'?: string;
972
975
  xl: string;
973
976
  xxl: string;
974
977
  xxxl: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as s, c as t, d as o, e as r, f as i, g as n, B as l, h as p, i as d, j as c, k as m, l as T, m as S, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as x, u as F, v as A, F as L, w as b, x as f, y as v, z as P, E as k, G as D, H as z, I as M, J as R, K as I, L as N, M as V, N as j, O as q, P 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 ra, a8 as ia, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Ta, ag as Sa, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as xa, ap as Fa, aq as Aa, ar as La, as as ba, at as fa, au as va, av as Pa, aw as ka, ax as Da, ay as za, az as Ma, aA as Ra, aB as Ia, aC as Na, aD as Va } from "./index-y7sxrSD4.js";
1
+ import { A as s, c as t, d as o, e as r, f as i, g as n, B as l, h as p, i as d, j as c, k as m, l as T, m as S, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as x, u as F, v as A, F as L, w as b, x as f, y as v, z as P, E as k, G as D, H as z, I as M, J as R, K as I, L as N, M as V, N as j, O as q, P 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 ra, a8 as ia, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Ta, ag as Sa, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as xa, ap as Fa, aq as Aa, ar as La, as as ba, at as fa, au as va, av as Pa, aw as ka, ax as Da, ay as za, az as Ma, aA as Ra, aB as Ia, aC as Na, aD as Va } from "./index-Dn8Gk12W.js";
2
2
  export {
3
3
  s as Accordion,
4
4
  t as ActionBar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackone/malachite",
3
- "version": "0.70.0",
3
+ "version": "1.0.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",