@stackone/malachite 1.4.0 → 2.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
@@ -445,10 +445,11 @@ declare interface CodeBlockProps {
445
445
  /** Wrap long lines instead of scrolling horizontally */
446
446
  wrapLines?: boolean;
447
447
  /**
448
- * Highlight the code with this language's grammar. Deliberately yaml-only for now;
449
- * widen the union as grammars are registered in CodeBlockHighlighter.
448
+ * Highlight the code with this language's grammar. `cedar` is a grammar this library
449
+ * ships itself (`prismCedar.ts`), since Prism and refractor carry none; widen the union
450
+ * as further grammars are registered in CodeBlockHighlighter.
450
451
  */
451
- language?: 'yaml';
452
+ language?: 'yaml' | 'cedar';
452
453
  }
453
454
 
454
455
  export declare interface CodeTextProps {
@@ -973,10 +974,21 @@ export declare interface MalachiteTheme {
973
974
  xsmall: string;
974
975
  small: string;
975
976
  medium: string;
977
+ /** Off-ladder: the control ladder's large tier is 15px, between `medium` and `large`. */
978
+ '15'?: string;
976
979
  large: string;
977
980
  xlarge: string;
978
981
  xxlarge: string;
979
982
  };
983
+ /**
984
+ * Heights of the shared control ladder. Optional so adding the family never breaks a
985
+ * consumer building a full theme literal — same reason `radius.xs` is optional.
986
+ */
987
+ controlHeights?: {
988
+ small: string;
989
+ medium: string;
990
+ large: string;
991
+ };
980
992
  iconSizes: {
981
993
  xsmall: string;
982
994
  small: string;
@@ -1429,7 +1441,7 @@ export declare type MultiSelectProps = (MultiSelectBaseProps & {
1429
1441
  name?: string;
1430
1442
  });
1431
1443
 
1432
- export declare type MultiSelectSize = 'small' | 'medium';
1444
+ export declare type MultiSelectSize = 'small' | 'medium' | 'large';
1433
1445
 
1434
1446
  export declare const NumberTag: default_2.FC<NumberTagProps>;
1435
1447
 
@@ -1520,6 +1532,7 @@ export declare interface PartialMalachiteTheme {
1520
1532
  fontSizes?: Partial<MalachiteTheme['fontSizes']>;
1521
1533
  iconSizes?: Partial<MalachiteTheme['iconSizes']>;
1522
1534
  radius?: Partial<MalachiteTheme['radius']>;
1535
+ controlHeights?: Partial<MalachiteTheme['controlHeights']>;
1523
1536
  shadows?: Partial<MalachiteTheme['shadows']>;
1524
1537
  colors?: {
1525
1538
  shadowColor?: string;
@@ -1704,7 +1717,7 @@ export declare interface SearchProps {
1704
1717
  style?: default_2.CSSProperties;
1705
1718
  }
1706
1719
 
1707
- export declare type SearchSize = 'small' | 'medium';
1720
+ export declare type SearchSize = 'small' | 'medium' | 'large';
1708
1721
 
1709
1722
  export declare type SearchVariant = 'default' | 'muted';
1710
1723
 
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 S, l as T, m, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as F, u as x, v as A, F as b, w as L, x as P, y as f, z as v, E as k, G as D, H as z, I as R, J as M, K as I, L as N, M as V, N as E, O as G, P as H, Q as j, R as q, 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 Sa, af as Ta, ag as ma, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as Fa, ap as xa, aq as Aa, ar as ba, as as La, at as Pa, au as fa, av as va, aw as ka, ax as Da, ay as za, az as Ra, aA as Ma, aB as Ia, aC as Na, aD as Va, aE as Ea, aF as Ga, aG as Ha, aH as ja } from "./index-Da06C2mG.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 S, l as T, m, n as u, o as g, p as h, q as C, r as y, s as B, D as w, t as F, u as x, v as A, F as b, w as L, x as P, y as f, z as v, E as k, G as D, H as z, I as R, J as M, K as I, L as N, M as V, N as E, O as G, P as H, Q as j, R as q, 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 Sa, af as Ta, ag as ma, ah as ua, ai as ga, aj as ha, ak as Ca, al as ya, am as Ba, an as wa, ao as Fa, ap as xa, aq as Aa, ar as ba, as as La, at as Pa, au as fa, av as va, aw as ka, ax as Da, ay as za, az as Ra, aA as Ma, aB as Ia, aC as Na, aD as Va, aE as Ea, aF as Ga, aG as Ha, aH as ja } from "./index-CVtwFKA_.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": "1.4.0",
3
+ "version": "2.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",