@stackone/malachite 2.19.0 → 2.19.2
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-B8ORO1RQ.js → CodeBlockHighlighter-BEU9qOam.js} +2 -2
- package/dist/{CodeBlockHighlighter-B8ORO1RQ.js.map → CodeBlockHighlighter-BEU9qOam.js.map} +1 -1
- package/dist/{index-UCSkCSNL.js → index-BkW49pNT.js} +1700 -1670
- package/dist/index-BkW49pNT.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +45 -44
- package/package.json +1 -1
- package/dist/index-UCSkCSNL.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2869,9 +2869,25 @@ export declare type StatisticValueSize = 'small' | 'medium' | 'large';
|
|
|
2869
2869
|
|
|
2870
2870
|
export declare const StatusBadge: default_2.FC<StatusBadgeProps>;
|
|
2871
2871
|
|
|
2872
|
+
/**
|
|
2873
|
+
* How much of the badge the glyph fills.
|
|
2874
|
+
*
|
|
2875
|
+
* `default` is half the diameter, which is the right proportion at the sizes a badge is
|
|
2876
|
+
* usually drawn. `bold` is for the small end: at the 14px a table row gives it, half a
|
|
2877
|
+
* badge is a mark under 3px tall, and the tone is doing all the work.
|
|
2878
|
+
*
|
|
2879
|
+
* `bold` takes the glyph's box to the full diameter rather than merely most of it, so the
|
|
2880
|
+
* box and the badge share an edge. Anything short of that leaves a fractional margin at odd
|
|
2881
|
+
* sizes (13px inside 14px), which the browser rounds onto one side and draws off centre.
|
|
2882
|
+
* Nothing collides with the edge: the furthest point of any glyph is the tick's, at 86% of
|
|
2883
|
+
* the radius.
|
|
2884
|
+
*/
|
|
2885
|
+
export declare type StatusBadgeGlyph = 'default' | 'bold';
|
|
2886
|
+
|
|
2872
2887
|
export declare interface StatusBadgeProps {
|
|
2873
2888
|
type?: StatusBadgeType;
|
|
2874
2889
|
size?: number;
|
|
2890
|
+
glyph?: StatusBadgeGlyph;
|
|
2875
2891
|
className?: string;
|
|
2876
2892
|
'aria-label'?: string;
|
|
2877
2893
|
}
|
|
@@ -3411,6 +3427,13 @@ export declare const Typography: {
|
|
|
3411
3427
|
Text: FC<TextProps>;
|
|
3412
3428
|
};
|
|
3413
3429
|
|
|
3430
|
+
/**
|
|
3431
|
+
* Whether a SidePanel or Modal is open anywhere, for host chrome that has to move out of the way.
|
|
3432
|
+
* Overlays portal, so the only other signal is this module's markers, which a host cannot read
|
|
3433
|
+
* without coupling to an internal. Dropdowns and tooltips do not count: they trap no focus.
|
|
3434
|
+
*/
|
|
3435
|
+
export declare const useHasOpenOverlay: () => boolean;
|
|
3436
|
+
|
|
3414
3437
|
export declare type WidthSize = 'large' | 'medium' | 'small' | 'xsmall';
|
|
3415
3438
|
|
|
3416
3439
|
export declare const WizardLayout: default_2.FC<WizardLayoutProps>;
|
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
|
|
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 y, t as B, u as w, v as f, D as v, w as x, x as A, y as L, F as P, z as b, E as k, G as D, H as M, I as R, J as z, K as I, L as H, M as N, N as O, O as G, P as V, Q as E, R as J, S as K, T as j, U as q, V as Q, W, 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 ya, an as Ba, ao as wa, ap as fa, aq as va, ar as xa, as as Aa, at as La, au as Pa, av as ba, aw as ka, ax as Da, ay as Ma, az as Ra, aA as za, aB as Ia, aC as Ha, aD as Na, aE as Oa, aF as Ga, aG as Va, aH as Ea, aI as Ja, aJ as Ka, aK as ja, aL as qa, aM as Qa, aN as Wa, aO as Ua, aP as Xa, aQ as Ya } from "./index-BkW49pNT.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Accordion,
|
|
4
4
|
o as ActionBar,
|
|
@@ -13,39 +13,39 @@ export {
|
|
|
13
13
|
m as Card,
|
|
14
14
|
S as CardStrip,
|
|
15
15
|
T as ChangeReview,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
u as Chat,
|
|
17
|
+
g as Checkbox,
|
|
18
18
|
h as ClampText,
|
|
19
19
|
C as CodeBlock,
|
|
20
20
|
F as CollapsibleSection,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
y as Confetti,
|
|
22
|
+
B as ConfirmationDialog,
|
|
23
|
+
w as ConnectionHeader,
|
|
24
24
|
f as CustomIcons,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
v as DefinitionRow,
|
|
26
|
+
x as Divider,
|
|
27
|
+
A as DividerVariant,
|
|
28
|
+
L as Dropdown,
|
|
29
|
+
P as FieldBlock,
|
|
30
|
+
b as FieldGroup,
|
|
31
31
|
k as Flex,
|
|
32
32
|
D as FlexAlign,
|
|
33
33
|
M as FlexDirection,
|
|
34
34
|
R as FlexGapSize,
|
|
35
35
|
z as FlexJustify,
|
|
36
36
|
I as FooterLinks,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
H as FooterNav,
|
|
38
|
+
N as Form,
|
|
39
|
+
O as FormItem,
|
|
40
|
+
G as FormSectionHeading,
|
|
41
|
+
V as InlineConfirm,
|
|
42
|
+
E as Input,
|
|
43
|
+
J as KeyValueList,
|
|
44
|
+
K as Link,
|
|
45
45
|
j as LoadingBar,
|
|
46
46
|
q as MalachiteContext,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Q as Modal,
|
|
48
|
+
W as MultiSelect,
|
|
49
49
|
U as NumberTag,
|
|
50
50
|
X as OverflowRow,
|
|
51
51
|
Y as Padded,
|
|
@@ -67,40 +67,41 @@ export {
|
|
|
67
67
|
ma as SidePanelNavFooter,
|
|
68
68
|
Sa as Skeleton,
|
|
69
69
|
Ta as Spacer,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
ua as SpacingSize,
|
|
71
|
+
ga as Spinner,
|
|
72
72
|
ha as SplitScreenLayout,
|
|
73
73
|
Ca as StatBadge,
|
|
74
74
|
Fa as Statistic,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
ya as StatusBadge,
|
|
76
|
+
Ba as StepTabs,
|
|
77
|
+
wa as Stepper,
|
|
78
78
|
fa as Surface,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
va as SurfaceRow,
|
|
80
|
+
xa as Swatch,
|
|
81
|
+
Aa as Table,
|
|
82
|
+
La as Tabs,
|
|
83
|
+
Pa as Tag,
|
|
84
|
+
ba as TextArea,
|
|
85
85
|
ka as ThemeScope,
|
|
86
86
|
Da as Toggle,
|
|
87
87
|
Ma as Toolbar,
|
|
88
88
|
Ra as Tooltip,
|
|
89
89
|
za as TruncatedTooltip,
|
|
90
90
|
Ia as Typography,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
Ha as WizardLayout,
|
|
92
|
+
Na as applyCustomTheme,
|
|
93
|
+
Oa as applyDarkTheme,
|
|
94
|
+
Ga as applyLightTheme,
|
|
95
|
+
Va as applyTheme,
|
|
96
|
+
Ea as applyThemeVars,
|
|
97
|
+
Ja as buildActionBarMenuItems,
|
|
98
|
+
Ka as darkTheme,
|
|
99
99
|
ja as defaultTheme,
|
|
100
100
|
qa as getCurrentTheme,
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
Qa as getCurrentThemeMode,
|
|
102
|
+
Wa as initializeTheme,
|
|
103
103
|
Ua as resetTheme,
|
|
104
|
-
Xa as toggleTheme
|
|
104
|
+
Xa as toggleTheme,
|
|
105
|
+
Ya as useHasOpenOverlay
|
|
105
106
|
};
|
|
106
107
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED