@stackone/malachite 0.59.1 → 0.60.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/COMPONENTS.md +1 -0
- package/dist/{CodeBlockHighlighter-CmjV96RB.js → CodeBlockHighlighter-33_blAFS.js} +2 -2
- package/dist/{CodeBlockHighlighter-CmjV96RB.js.map → CodeBlockHighlighter-33_blAFS.js.map} +1 -1
- package/dist/{index-DU-6w0rG.js → index-BnyekAmG.js} +1519 -1404
- package/dist/index-BnyekAmG.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +57 -56
- package/package.json +1 -1
- package/dist/index-DU-6w0rG.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -740,6 +740,32 @@ declare interface LinkProps_2 {
|
|
|
740
740
|
fontSize?: 'sm' | 'base';
|
|
741
741
|
}
|
|
742
742
|
|
|
743
|
+
export declare const LoadingBar: default_2.FC<LoadingBarProps>;
|
|
744
|
+
|
|
745
|
+
export declare interface LoadingBarProps {
|
|
746
|
+
/**
|
|
747
|
+
* Whether the bar is animating. When false the line is hidden but its height
|
|
748
|
+
* is preserved, so toggling it doesn't shift the layout underneath.
|
|
749
|
+
*/
|
|
750
|
+
active?: boolean;
|
|
751
|
+
/**
|
|
752
|
+
* Semantic colour role. Colours come from theme tokens by design — there is no
|
|
753
|
+
* free-form colour prop, so a consumer can't paint the bar off-palette. To
|
|
754
|
+
* restyle a variant, override its tokens via `applyTheme` / `applyCustomTheme`.
|
|
755
|
+
*/
|
|
756
|
+
variant?: LoadingBarVariant;
|
|
757
|
+
/** Line thickness. Fixed steps rather than a free px value, to keep bars consistent. */
|
|
758
|
+
size?: LoadingBarSize;
|
|
759
|
+
'aria-label'?: string;
|
|
760
|
+
'aria-labelledby'?: string;
|
|
761
|
+
className?: string;
|
|
762
|
+
style?: default_2.CSSProperties;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export declare type LoadingBarSize = 'small' | 'medium' | 'large';
|
|
766
|
+
|
|
767
|
+
export declare type LoadingBarVariant = 'default' | 'warning' | 'error';
|
|
768
|
+
|
|
743
769
|
/**
|
|
744
770
|
* MalachiteContext provides a Shadow DOM context with theme setup for Malachite components.
|
|
745
771
|
* Use this to wrap groups of Malachite components instead of each component managing its own Shadow DOM.
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as s, b as t, c as o, d as i, B as r, e as
|
|
1
|
+
import { A as s, b as t, c as o, d as i, B as r, e as n, f as l, C as p, g as T, h as d, i as m, j as c, k as S, l as h, m as u, D as g, n as C, o as y, p as F, F as w, q as x, r as f, s as k, t as v, u as B, v as L, w as P, x as b, I as A, K as D, L as z, y as R, M, z as I, N, O as V, P as j, E as q, G as E, H as G, J as H, Q as J, R as K, S as O, T as W, U as Q, V as U, W as X, X as Y, Y as Z, Z as $, $ as _, a0 as aa, a1 as ea, a2 as sa, a3 as ta, a4 as oa, a5 as ia, a6 as ra, a7 as na, a8 as la, a9 as pa, aa as Ta, ab as da, ac as ma, ad as ca, ae as Sa, af as ha, ag as ua, ah as ga, ai as Ca, aj as ya, ak as Fa, al as wa, am as xa, an as fa, ao as ka, ap as va, aq as Ba, ar as La, as as Pa, at as ba } from "./index-BnyekAmG.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Accordion,
|
|
4
4
|
t as ActionMenu,
|
|
5
5
|
o as Alert,
|
|
6
6
|
i as Avatar,
|
|
7
7
|
r as BaseFormComponent,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
n as Button,
|
|
9
|
+
l as ButtonList,
|
|
10
10
|
p as Card,
|
|
11
11
|
T as Checkbox,
|
|
12
12
|
d as ClampText,
|
|
@@ -24,62 +24,63 @@ export {
|
|
|
24
24
|
f as FlexDirection,
|
|
25
25
|
k as FlexGapSize,
|
|
26
26
|
v as FlexJustify,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
B as FooterLinks,
|
|
28
|
+
L as FooterNav,
|
|
29
|
+
P as Form,
|
|
30
|
+
b as FormItem,
|
|
31
31
|
A as Input,
|
|
32
32
|
D as KeyValueList,
|
|
33
33
|
z as Link,
|
|
34
|
-
R as
|
|
35
|
-
M as
|
|
36
|
-
I as
|
|
37
|
-
N as
|
|
38
|
-
V as
|
|
39
|
-
j as
|
|
40
|
-
q as
|
|
41
|
-
E as
|
|
42
|
-
G as
|
|
43
|
-
H as
|
|
44
|
-
J as
|
|
45
|
-
K as
|
|
46
|
-
O as
|
|
47
|
-
W as
|
|
48
|
-
Q as
|
|
49
|
-
U as
|
|
50
|
-
X as
|
|
51
|
-
Y as
|
|
52
|
-
Z as
|
|
53
|
-
$ as
|
|
54
|
-
_ as
|
|
55
|
-
aa as
|
|
56
|
-
ea as
|
|
57
|
-
sa as
|
|
58
|
-
ta as
|
|
59
|
-
oa as
|
|
60
|
-
ia as
|
|
61
|
-
ra as
|
|
34
|
+
R as LoadingBar,
|
|
35
|
+
M as MalachiteContext,
|
|
36
|
+
I as MultiSelect,
|
|
37
|
+
N as NumberTag,
|
|
38
|
+
V as OverflowRow,
|
|
39
|
+
j as Padded,
|
|
40
|
+
q as PaddingSize,
|
|
41
|
+
E as PillButton,
|
|
42
|
+
G as PreviewTree,
|
|
43
|
+
H as PreviewTreeRow,
|
|
44
|
+
J as Progress,
|
|
45
|
+
K as Radio,
|
|
46
|
+
O as Search,
|
|
47
|
+
W as ShadowEscape,
|
|
48
|
+
Q as SidePanel,
|
|
49
|
+
U as SidePanelNavFooter,
|
|
50
|
+
X as Skeleton,
|
|
51
|
+
Y as Spacer,
|
|
52
|
+
Z as SpacingSize,
|
|
53
|
+
$ as Spinner,
|
|
54
|
+
_ as SplitScreenLayout,
|
|
55
|
+
aa as StatBadge,
|
|
56
|
+
ea as Statistic,
|
|
57
|
+
sa as StatusBadge,
|
|
58
|
+
ta as Stepper,
|
|
59
|
+
oa as Surface,
|
|
60
|
+
ia as SurfaceRow,
|
|
61
|
+
ra as Swatch,
|
|
62
|
+
na as Table,
|
|
62
63
|
la as Tabs,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
64
|
+
pa as Tag,
|
|
65
|
+
Ta as TextArea,
|
|
66
|
+
da as ThemeScope,
|
|
67
|
+
ma as Toggle,
|
|
68
|
+
ca as Toolbar,
|
|
69
|
+
Sa as Tooltip,
|
|
70
|
+
ha as TruncatedTooltip,
|
|
71
|
+
ua as Typography,
|
|
72
|
+
ga as WizardLayout,
|
|
73
|
+
Ca as applyCustomTheme,
|
|
74
|
+
ya as applyDarkTheme,
|
|
75
|
+
Fa as applyLightTheme,
|
|
76
|
+
wa as applyTheme,
|
|
77
|
+
xa as applyThemeVars,
|
|
78
|
+
fa as darkTheme,
|
|
79
|
+
ka as defaultTheme,
|
|
80
|
+
va as getCurrentTheme,
|
|
81
|
+
Ba as getCurrentThemeMode,
|
|
82
|
+
La as initializeTheme,
|
|
83
|
+
Pa as resetTheme,
|
|
84
|
+
ba as toggleTheme
|
|
84
85
|
};
|
|
85
86
|
//# sourceMappingURL=index.js.map
|