@stackone/malachite 2.11.0 → 2.12.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/{CodeBlockHighlighter-B04HshyY.js → CodeBlockHighlighter-BFeTuiAT.js} +2 -2
- package/dist/{CodeBlockHighlighter-B04HshyY.js.map → CodeBlockHighlighter-BFeTuiAT.js.map} +1 -1
- package/dist/{index-CUPTnbPi.js → index-DFYatjfE.js} +1488 -1432
- package/dist/index-DFYatjfE.js.map +1 -0
- package/dist/index.d.ts +49 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-CUPTnbPi.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1441,6 +1441,12 @@ export declare interface MalachiteTheme {
|
|
|
1441
1441
|
border: string;
|
|
1442
1442
|
shadow: string;
|
|
1443
1443
|
};
|
|
1444
|
+
info: {
|
|
1445
|
+
background: string;
|
|
1446
|
+
foreground: string;
|
|
1447
|
+
border: string;
|
|
1448
|
+
shadow: string;
|
|
1449
|
+
};
|
|
1444
1450
|
};
|
|
1445
1451
|
numberTag: {
|
|
1446
1452
|
background: string;
|
|
@@ -1508,6 +1514,7 @@ export declare interface MalachiteTheme {
|
|
|
1508
1514
|
warning: string;
|
|
1509
1515
|
warningMuted: string;
|
|
1510
1516
|
error: string;
|
|
1517
|
+
info: string;
|
|
1511
1518
|
linkForeground: string;
|
|
1512
1519
|
linkForegroundHover: string;
|
|
1513
1520
|
rightSideText: {
|
|
@@ -1870,17 +1877,53 @@ declare interface PreviewTreeRowProps {
|
|
|
1870
1877
|
|
|
1871
1878
|
export declare const Progress: default_2.FC<ProgressProps>;
|
|
1872
1879
|
|
|
1873
|
-
|
|
1874
|
-
value: number;
|
|
1875
|
-
color?: string;
|
|
1876
|
-
trackColor?: string;
|
|
1880
|
+
declare interface ProgressCommonProps {
|
|
1877
1881
|
height?: number;
|
|
1878
1882
|
'aria-label'?: string;
|
|
1879
1883
|
'aria-labelledby'?: string;
|
|
1884
|
+
/** Spoken instead of the range, which reads as 100% once segments fill the track. */
|
|
1885
|
+
'aria-valuetext'?: string;
|
|
1880
1886
|
className?: string;
|
|
1881
1887
|
style?: default_2.CSSProperties;
|
|
1882
1888
|
}
|
|
1883
1889
|
|
|
1890
|
+
/** One fill or a list of segments, never both — `color`/`trackColor` mean nothing to segments. */
|
|
1891
|
+
export declare type ProgressProps = ProgressValueProps | ProgressSegmentsProps;
|
|
1892
|
+
|
|
1893
|
+
export declare interface ProgressSegment {
|
|
1894
|
+
/** Portion of `max` this segment covers, in the same units. */
|
|
1895
|
+
value: number;
|
|
1896
|
+
variant?: ProgressSegmentVariant;
|
|
1897
|
+
fill?: ProgressSegmentFill;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
/** `hatched` reads as claimed-but-unpaid-for — usage past an allowance, not more of it. */
|
|
1901
|
+
export declare type ProgressSegmentFill = 'solid' | 'hatched';
|
|
1902
|
+
|
|
1903
|
+
declare interface ProgressSegmentsProps extends ProgressCommonProps {
|
|
1904
|
+
segments: ProgressSegment[];
|
|
1905
|
+
/** Scale the segments measure against. Defaults to their sum, and a larger sum wins. */
|
|
1906
|
+
max?: number;
|
|
1907
|
+
value?: never;
|
|
1908
|
+
color?: never;
|
|
1909
|
+
trackColor?: never;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Semantic colour role for a segment. Colours come from theme tokens by design — unlike
|
|
1914
|
+
* `color`/`trackColor`, which predate that rule, there is no free-form colour here. To
|
|
1915
|
+
* restyle a role, override its token via `applyTheme` / `applyCustomTheme`.
|
|
1916
|
+
*/
|
|
1917
|
+
export declare type ProgressSegmentVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
1918
|
+
|
|
1919
|
+
declare interface ProgressValueProps extends ProgressCommonProps {
|
|
1920
|
+
value: number;
|
|
1921
|
+
color?: string;
|
|
1922
|
+
trackColor?: string;
|
|
1923
|
+
segments?: never;
|
|
1924
|
+
max?: never;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1884
1927
|
export declare const Radio: default_2.FC<RadioProps>;
|
|
1885
1928
|
|
|
1886
1929
|
export declare interface RadioProps {
|
|
@@ -2631,7 +2674,7 @@ export declare interface TagProps {
|
|
|
2631
2674
|
className?: string;
|
|
2632
2675
|
}
|
|
2633
2676
|
|
|
2634
|
-
export declare type TagType = 'primary' | 'secondary' | 'default' | 'error' | 'warning' | 'success' | 'emphasis';
|
|
2677
|
+
export declare type TagType = 'primary' | 'secondary' | 'default' | 'error' | 'warning' | 'success' | 'emphasis' | 'info';
|
|
2635
2678
|
|
|
2636
2679
|
declare interface TerminalTextProps {
|
|
2637
2680
|
bold?: boolean;
|
|
@@ -2686,7 +2729,7 @@ declare interface TextAreaProps {
|
|
|
2686
2729
|
|
|
2687
2730
|
declare type TextAreaSize = 'small' | 'medium' | 'large';
|
|
2688
2731
|
|
|
2689
|
-
export declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'placeholder' | 'emphasis' | 'muted' | 'destructive' | 'success' | 'highlight' | 'warning' | 'error' | 'link' | 'inherit';
|
|
2732
|
+
export declare type TextColor = 'primary' | 'secondary' | 'dimmed' | 'placeholder' | 'emphasis' | 'muted' | 'destructive' | 'success' | 'highlight' | 'warning' | 'error' | 'info' | 'link' | 'inherit';
|
|
2690
2733
|
|
|
2691
2734
|
export declare interface TextProps {
|
|
2692
2735
|
color?: TextColor;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, c as o, d as t, e as i, f as r, g as n, B as l, h as p, i as d, j as c, k as m, l as S, m as T, n as u, o as g, p as h, q as C, r as F, s as B, t as y, D as w, u as f, v as x, w as A, F as L, x as b, y as P, z as k, E as v, G as D, H as M, I as z, J as I, K as R, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as j, T as q, 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 oa, a6 as ta, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Sa, ag as Ta, ah as ua, ai as ga, aj as ha, ak as Ca, al as Fa, am as Ba, an as ya, ao as wa, ap as fa, aq as xa, ar as Aa, as as La, at as ba, au as Pa, av as ka, aw as va, ax as Da, ay as Ma, az as za, aA as Ia, aB as Ra, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as ja, aK as qa, aL as Oa, aM as Wa, aN as Qa } from "./index-
|
|
1
|
+
import { A as s, c as o, d as t, e as i, f as r, g as n, B as l, h as p, i as d, j as c, k as m, l as S, m as T, n as u, o as g, p as h, q as C, r as F, s as B, t as y, D as w, u as f, v as x, w as A, F as L, x as b, y as P, z as k, E as v, G as D, H as M, I as z, J as I, K as R, L as N, M as G, N as H, O as V, P as E, Q as J, R as K, S as j, T as q, 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 oa, a6 as ta, a7 as ia, a8 as ra, a9 as na, aa as la, ab as pa, ac as da, ad as ca, ae as ma, af as Sa, ag as Ta, ah as ua, ai as ga, aj as ha, ak as Ca, al as Fa, am as Ba, an as ya, ao as wa, ap as fa, aq as xa, ar as Aa, as as La, at as ba, au as Pa, av as ka, aw as va, ax as Da, ay as Ma, az as za, aA as Ia, aB as Ra, aC as Na, aD as Ga, aE as Ha, aF as Va, aG as Ea, aH as Ja, aI as Ka, aJ as ja, aK as qa, aL as Oa, aM as Wa, aN as Qa } from "./index-DFYatjfE.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Accordion,
|
|
4
4
|
o as ActionBar,
|
package/package.json
CHANGED