@ztwoint/z-ui 0.1.52 → 0.1.54
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/components/table/components/cell/avatar-cell.js +3 -2
- package/dist/components/table/table-provider.js +5 -4
- package/dist/components/table-card/table-card.js +12 -11
- package/dist/components/text-preset/text-preset.d.ts +6 -3
- package/dist/components/text-preset/text-preset.js +48 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +39 -37
- package/dist/types/components/text-preset/text-preset.d.ts +6 -3
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -32,7 +32,8 @@ import { Avatar as p } from "../../../avatar/avatar.js";
|
|
|
32
32
|
import "../../table.context.js";
|
|
33
33
|
import "../../../tooltip/tooltip.js";
|
|
34
34
|
import "../../../badge/badge.js";
|
|
35
|
-
|
|
35
|
+
import "../../../text-preset/text-preset.js";
|
|
36
|
+
const W = ({
|
|
36
37
|
avatar: m,
|
|
37
38
|
value: a,
|
|
38
39
|
rightIcon: e,
|
|
@@ -70,5 +71,5 @@ const V = ({
|
|
|
70
71
|
}
|
|
71
72
|
);
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
W as AvatarCell
|
|
74
75
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
1
|
+
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
+
import * as e from "react";
|
|
3
3
|
import { TableContext as a } from "./table.context.js";
|
|
4
4
|
import { TableBody as n } from "./table.js";
|
|
5
5
|
import { TableFilter as f } from "./components/table-filter/table-filter-provider.js";
|
|
@@ -38,6 +38,7 @@ import "@radix-ui/react-tabs";
|
|
|
38
38
|
import "../tooltip/tooltip.js";
|
|
39
39
|
import "../badge/badge.js";
|
|
40
40
|
import "../avatar/avatar.js";
|
|
41
|
+
import "../text-preset/text-preset.js";
|
|
41
42
|
import { TableHeaderWrapper as c } from "./components/table-header-wrapper.js";
|
|
42
43
|
import { TableHeaderContent as d } from "./components/table-header-content.js";
|
|
43
44
|
import { TableFooter as u } from "./components/table-footer.js";
|
|
@@ -50,13 +51,13 @@ const t = ({
|
|
|
50
51
|
filterComponents: x,
|
|
51
52
|
...r
|
|
52
53
|
}) => {
|
|
53
|
-
const m =
|
|
54
|
+
const m = e.useMemo(
|
|
54
55
|
() => ({
|
|
55
56
|
...r
|
|
56
57
|
}),
|
|
57
58
|
[r]
|
|
58
59
|
);
|
|
59
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ p(a.Provider, { value: m, children: i });
|
|
60
61
|
}, P = t, o = P;
|
|
61
62
|
o.Body = n;
|
|
62
63
|
o.Filter = f;
|
|
@@ -31,10 +31,11 @@ import "@radix-ui/react-tabs";
|
|
|
31
31
|
import "../tooltip/tooltip.js";
|
|
32
32
|
import "../badge/badge.js";
|
|
33
33
|
import "../avatar/avatar.js";
|
|
34
|
+
import "../text-preset/text-preset.js";
|
|
34
35
|
import "../table/table.context.js";
|
|
35
|
-
const
|
|
36
|
+
const nt = ({
|
|
36
37
|
dataSource: v,
|
|
37
|
-
schema:
|
|
38
|
+
schema: u,
|
|
38
39
|
loading: H,
|
|
39
40
|
emptyMessage: w,
|
|
40
41
|
className: T,
|
|
@@ -45,7 +46,7 @@ const dt = ({
|
|
|
45
46
|
search: m,
|
|
46
47
|
filter: e,
|
|
47
48
|
headerLeftContent: P,
|
|
48
|
-
headerActions:
|
|
49
|
+
headerActions: i,
|
|
49
50
|
body: r = {
|
|
50
51
|
cell: { hasBorder: !0 },
|
|
51
52
|
className: "",
|
|
@@ -58,8 +59,8 @@ const dt = ({
|
|
|
58
59
|
paginationQuickJumper: s
|
|
59
60
|
}) => {
|
|
60
61
|
var B;
|
|
61
|
-
const
|
|
62
|
-
return /* @__PURE__ */ o("div", { className: n("flex flex-col overflow-hidden", T), children: /* @__PURE__ */ c(t, { dataSource: v, schema:
|
|
62
|
+
const p = s && s.totalPage && s.totalPage >= 2, F = l && l.totalPage && l.totalPage >= 2 || !!a || p, g = m || e || P || i, R = typeof (e == null ? void 0 : e.showFilterButton) > "u" ? !0 : e == null ? void 0 : e.showFilterButton;
|
|
63
|
+
return /* @__PURE__ */ o("div", { className: n("flex flex-col overflow-hidden", T), children: /* @__PURE__ */ c(t, { dataSource: v, schema: u, loading: H, emptyMessage: w, children: [
|
|
63
64
|
C && g && /* @__PURE__ */ c(
|
|
64
65
|
t.Header,
|
|
65
66
|
{
|
|
@@ -87,7 +88,7 @@ const dt = ({
|
|
|
87
88
|
e && /* @__PURE__ */ c(
|
|
88
89
|
t.Filter,
|
|
89
90
|
{
|
|
90
|
-
schema:
|
|
91
|
+
schema: u,
|
|
91
92
|
filter: {
|
|
92
93
|
value: e.value || [],
|
|
93
94
|
onChange: e.onChange || (() => {
|
|
@@ -100,7 +101,7 @@ const dt = ({
|
|
|
100
101
|
}
|
|
101
102
|
)
|
|
102
103
|
] }),
|
|
103
|
-
|
|
104
|
+
i && /* @__PURE__ */ o(t.HeaderContent, { children: i })
|
|
104
105
|
]
|
|
105
106
|
}
|
|
106
107
|
),
|
|
@@ -113,7 +114,7 @@ const dt = ({
|
|
|
113
114
|
"flex-1 min-h-0",
|
|
114
115
|
h && "border-stroke-solid-light border-1",
|
|
115
116
|
d && !(C && g) && "rounded-t-xl",
|
|
116
|
-
d && !(x &&
|
|
117
|
+
d && !(x && F) && "rounded-b-xl",
|
|
117
118
|
h && "[&_td:first-child]:border-l-0 [&_td:last-child]:border-r-0",
|
|
118
119
|
h && "[&_th:first-child]:border-l-0 [&_th:last-child]:border-r-0",
|
|
119
120
|
r == null ? void 0 : r.className
|
|
@@ -121,7 +122,7 @@ const dt = ({
|
|
|
121
122
|
stickyHeader: r == null ? void 0 : r.stickyHeader
|
|
122
123
|
}
|
|
123
124
|
),
|
|
124
|
-
x &&
|
|
125
|
+
x && F && /* @__PURE__ */ c(
|
|
125
126
|
t.Footer,
|
|
126
127
|
{
|
|
127
128
|
className: n(
|
|
@@ -141,7 +142,7 @@ const dt = ({
|
|
|
141
142
|
}
|
|
142
143
|
) }) : s || l ? /* @__PURE__ */ o(t.FooterContent, { children: null }) : null,
|
|
143
144
|
(s || l) && /* @__PURE__ */ c(t.FooterContent, { children: [
|
|
144
|
-
|
|
145
|
+
p && /* @__PURE__ */ o(
|
|
145
146
|
t.PaginationQuickJumper,
|
|
146
147
|
{
|
|
147
148
|
currentPage: s.currentPage,
|
|
@@ -168,5 +169,5 @@ const dt = ({
|
|
|
168
169
|
] }) });
|
|
169
170
|
};
|
|
170
171
|
export {
|
|
171
|
-
|
|
172
|
+
nt as default
|
|
172
173
|
};
|
|
@@ -3,11 +3,14 @@ declare const textPresetVariants: (props?: ({
|
|
|
3
3
|
type?: "L" | "C" | "R" | null | undefined;
|
|
4
4
|
multiline?: boolean | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
6
|
-
|
|
6
|
+
interface Z2TextPresetProps extends VariantProps<typeof textPresetVariants> {
|
|
7
7
|
primaryFirst?: boolean;
|
|
8
8
|
primaryText: string;
|
|
9
9
|
supportText?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
declare function Z2TextPreset({ type, multiline, primaryFirst, primaryText, supportText, className, }: Z2TextPresetProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare namespace Z2TextPreset {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
export { Z2TextPreset, type Z2TextPresetProps };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { cva as c } from "class-variance-authority";
|
|
3
|
+
import { cn as x } from "../../lib/utils.js";
|
|
4
|
+
const d = c("flex flex-col", {
|
|
5
|
+
variants: {
|
|
6
|
+
type: {
|
|
7
|
+
L: "text-left",
|
|
8
|
+
C: "text-center",
|
|
9
|
+
R: "text-right"
|
|
10
|
+
},
|
|
11
|
+
multiline: {
|
|
12
|
+
true: "gap-3",
|
|
13
|
+
false: "gap-2.5 *:data-[slot=support-text]:truncate"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
defaultVariants: {
|
|
17
|
+
type: "L",
|
|
18
|
+
multiline: !1
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
function o({
|
|
22
|
+
type: l = "L",
|
|
23
|
+
multiline: n = !1,
|
|
24
|
+
primaryFirst: i = !0,
|
|
25
|
+
primaryText: a,
|
|
26
|
+
supportText: t,
|
|
27
|
+
className: m
|
|
28
|
+
}) {
|
|
29
|
+
const r = x(d({ type: l, multiline: n }), m);
|
|
30
|
+
return i ? /* @__PURE__ */ s("div", { className: r, children: [
|
|
31
|
+
/* @__PURE__ */ e("span", { "data-slot": "primary-text", className: "text-text-neutral-primary leading-none-medium-sm", children: a }),
|
|
32
|
+
t && /* @__PURE__ */ e("span", { "data-slot": "support-text", className: "text-text-neutral-secondary", children: t })
|
|
33
|
+
] }) : /* @__PURE__ */ s("div", { className: r, children: [
|
|
34
|
+
t && /* @__PURE__ */ e(
|
|
35
|
+
"p",
|
|
36
|
+
{
|
|
37
|
+
"data-slot": "support-text",
|
|
38
|
+
className: "text-text-neutral-secondary leading-none-regular-sm",
|
|
39
|
+
children: t
|
|
40
|
+
}
|
|
41
|
+
),
|
|
42
|
+
/* @__PURE__ */ e("p", { "data-slot": "primary-text", className: "text-text-neutral-primary", children: a })
|
|
43
|
+
] });
|
|
44
|
+
}
|
|
45
|
+
o.displayName = "Z2TextPreset";
|
|
46
|
+
export {
|
|
47
|
+
o as Z2TextPreset
|
|
48
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './components/tooltip/tooltip';
|
|
|
17
17
|
export * from './components/table-card';
|
|
18
18
|
export * from './components/badge/badge';
|
|
19
19
|
export * from './components/avatar/avatar';
|
|
20
|
+
export * from './components/text-preset/text-preset';
|
|
20
21
|
export * from './components/assets/icons/apartment-building';
|
|
21
22
|
export * from './components/assets/icons/chevron-down';
|
|
22
23
|
export * from './components/assets/icons/chevron-left';
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Alert as p, AlertDescription as n, AlertTitle as m } from "./components
|
|
|
3
3
|
import { AlertCirclesIcon as f } from "./components/alert/icons/circles-icon.js";
|
|
4
4
|
import { Button as i, buttonVariants as Z } from "./components/button/button.js";
|
|
5
5
|
import { Z2SideNavBarProvider as S } from "./components/collapsible-side-nav-bar/side-nav-bar-provider.js";
|
|
6
|
-
import { Z2SideNavBar as D, Z2SidebarVariants as
|
|
6
|
+
import { Z2SideNavBar as D, Z2SidebarVariants as T } from "./components/collapsible-side-nav-bar/side-nav-bar.js";
|
|
7
7
|
import { Z2SideNavBarHeader as g } from "./components/collapsible-side-nav-bar/side-nav-bar-header.js";
|
|
8
8
|
import { Z2SideNavBarContent as w } from "./components/collapsible-side-nav-bar/side-nav-bar-content.js";
|
|
9
9
|
import { Z2SideNavBarFooter as s } from "./components/collapsible-side-nav-bar/side-nav-bar-footer.js";
|
|
@@ -21,7 +21,7 @@ import { default as J } from "./components/assets/icons/sidebar-left-show-copy.j
|
|
|
21
21
|
import { SIDEBAR_WIDTH as Y, SIDEBAR_WIDTH_COLLAPSED as j } from "./components/collapsible-side-nav-bar/constants.js";
|
|
22
22
|
import { CountryFlags as z } from "./components/country-flags/country-flags.js";
|
|
23
23
|
import { Z2Dialog as X, Z2DialogClose as $, Z2DialogContent as oo, Z2DialogDescription as ro, Z2DialogFooter as eo, Z2DialogHeader as to, Z2DialogOverlay as ao, Z2DialogPortal as po, Z2DialogTitle as no, Z2DialogTrigger as mo } from "./components/dialog/dialog.js";
|
|
24
|
-
import { DropdownContext as fo, Z2Dropdown as xo, Z2DropdownContent as io, Z2DropdownInput as Zo, Z2DropdownItem as So, Z2DropdownSub as uo, Z2DropdownSubContent as Do, Z2DropdownSubItem as
|
|
24
|
+
import { DropdownContext as fo, Z2Dropdown as xo, Z2DropdownContent as io, Z2DropdownInput as Zo, Z2DropdownItem as So, Z2DropdownSub as uo, Z2DropdownSubContent as Do, Z2DropdownSubItem as To, Z2DropdownSubTrigger as bo } from "./components/dropdown/z2-dropdown.js";
|
|
25
25
|
import { Z2DropdownMenu as Co, Z2DropdownMenuCheckboxItem as wo, Z2DropdownMenuContent as co, Z2DropdownMenuGroup as so, Z2DropdownMenuItem as Io, Z2DropdownMenuLabel as vo, Z2DropdownMenuPortal as Bo, Z2DropdownMenuRadioGroup as Mo, Z2DropdownMenuRadioItem as Ao, Z2DropdownMenuSeparator as Po, Z2DropdownMenuShortcut as Lo, Z2DropdownMenuSub as No, Z2DropdownMenuSubContent as Eo, Z2DropdownMenuSubTrigger as Fo, Z2DropdownMenuTrigger as Ho } from "./components/dropdown-menu/z2-dropdown-menu.js";
|
|
26
26
|
import { FileUploadArea as yo } from "./components/file-upload-area/file-upload-area.js";
|
|
27
27
|
import { DEFAULT_ACCEPT as Go } from "./components/file-upload-area/file-upload-area.const.js";
|
|
@@ -34,7 +34,7 @@ import { Z2StepperItem as pr } from "./components/stepper-item/stepper-item.js";
|
|
|
34
34
|
import { Z2Tabs as mr, Z2TabsContent as lr, Z2TabsList as fr, Z2TabsTrigger as xr } from "./components/tab/tab.js";
|
|
35
35
|
import { Table as Zr, TableProvider as dr } from "./components/table/table-provider.js";
|
|
36
36
|
import { TableBody as ur } from "./components/table/table.js";
|
|
37
|
-
import { extractCellValue as
|
|
37
|
+
import { extractCellValue as Tr } from "./components/table/table.utils.js";
|
|
38
38
|
import { DEFAULT_EMPTY_MESSAGE as gr, TABLE_CSS_CLASSES as Cr } from "./components/table/table.const.js";
|
|
39
39
|
import { TableContext as cr, useTableContext as sr } from "./components/table/table.context.js";
|
|
40
40
|
import { TableCell as vr } from "./components/table/components/table-cell.js";
|
|
@@ -47,22 +47,23 @@ import { Z2Tooltip as _r } from "./components/tooltip/tooltip.js";
|
|
|
47
47
|
import { default as hr } from "./components/table-card/table-card.js";
|
|
48
48
|
import { Badge as Rr, badgeVariants as Ur } from "./components/badge/badge.js";
|
|
49
49
|
import { Avatar as Wr, AvatarWithLabel as kr } from "./components/avatar/avatar.js";
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
50
|
+
import { Z2TextPreset as Jr } from "./components/text-preset/text-preset.js";
|
|
51
|
+
import { InfoIcon as Yr } from "./components/assets/icons/info-icon.js";
|
|
52
|
+
import { MagnifierIcon as qr } from "./components/assets/icons/magnifier-icon.js";
|
|
53
|
+
import { TableHeader as Kr } from "./components/table/components/table-header/table-header.js";
|
|
54
|
+
import { TableRow as $r } from "./components/table/components/table-row.js";
|
|
55
|
+
import { TableEmptyState as re } from "./components/table/components/table-empty-state.js";
|
|
56
|
+
import { TableLoadingState as te } from "./components/table/components/table-loading-state.js";
|
|
57
|
+
import { Pagination as pe } from "./components/table/components/pagination/pagination.js";
|
|
58
|
+
import { TableHeaderWrapper as me } from "./components/table/components/table-header-wrapper.js";
|
|
59
|
+
import { TableHeaderContent as fe } from "./components/table/components/table-header-content.js";
|
|
60
|
+
import { TableFooter as ie } from "./components/table/components/table-footer.js";
|
|
61
|
+
import { TableFooterContent as de } from "./components/table/components/table-footer-content.js";
|
|
62
|
+
import { PaginationInfo as ue } from "./components/table/components/pagination/components/pagination-info.js";
|
|
63
|
+
import { PaginationQuickJumper as Te } from "./components/table/components/pagination/components/pagination-quick-jumper.js";
|
|
63
64
|
import "react";
|
|
64
|
-
import { Z2PopoverTrigger as
|
|
65
|
-
import { Z2PopoverContent as
|
|
65
|
+
import { Z2PopoverTrigger as ge } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
66
|
+
import { Z2PopoverContent as we } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
66
67
|
export {
|
|
67
68
|
p as Alert,
|
|
68
69
|
f as AlertCirclesIcon,
|
|
@@ -81,14 +82,14 @@ export {
|
|
|
81
82
|
V as DatabaseCopy,
|
|
82
83
|
fo as DropdownContext,
|
|
83
84
|
yo as FileUploadArea,
|
|
84
|
-
|
|
85
|
+
Yr as InfoIcon,
|
|
85
86
|
Uo as Input,
|
|
86
|
-
|
|
87
|
+
qr as MagnifierIcon,
|
|
87
88
|
Wo as NavHeader,
|
|
88
89
|
Oo as NavItem,
|
|
89
90
|
Mr as NumberCell,
|
|
90
|
-
|
|
91
|
-
|
|
91
|
+
ue as PaginationInfo,
|
|
92
|
+
Te as PaginationQuickJumper,
|
|
92
93
|
Y as SIDEBAR_WIDTH,
|
|
93
94
|
j as SIDEBAR_WIDTH_COLLAPSED,
|
|
94
95
|
J as SidebarLeftShowCopy,
|
|
@@ -99,16 +100,16 @@ export {
|
|
|
99
100
|
hr as TableCard,
|
|
100
101
|
vr as TableCell,
|
|
101
102
|
cr as TableContext,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
103
|
+
re as TableEmptyState,
|
|
104
|
+
ie as TableFooter,
|
|
105
|
+
de as TableFooterContent,
|
|
106
|
+
Kr as TableHeader,
|
|
107
|
+
fe as TableHeaderContent,
|
|
108
|
+
me as TableHeaderWrapper,
|
|
109
|
+
te as TableLoadingState,
|
|
110
|
+
pe as TablePagination,
|
|
110
111
|
dr as TableProvider,
|
|
111
|
-
|
|
112
|
+
$r as TableRow,
|
|
112
113
|
k as WindowLeftCopy,
|
|
113
114
|
X as Z2Dialog,
|
|
114
115
|
$ as Z2DialogClose,
|
|
@@ -141,11 +142,11 @@ export {
|
|
|
141
142
|
Ho as Z2DropdownMenuTrigger,
|
|
142
143
|
uo as Z2DropdownSub,
|
|
143
144
|
Do as Z2DropdownSubContent,
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
To as Z2DropdownSubItem,
|
|
146
|
+
bo as Z2DropdownSubTrigger,
|
|
146
147
|
F as Z2Popover,
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
we as Z2PopoverContent,
|
|
149
|
+
ge as Z2PopoverTrigger,
|
|
149
150
|
Qo as Z2Select,
|
|
150
151
|
Yo as Z2SelectContent,
|
|
151
152
|
jo as Z2SelectGroup,
|
|
@@ -164,18 +165,19 @@ export {
|
|
|
164
165
|
M as Z2SideNavBarItem,
|
|
165
166
|
S as Z2SideNavBarProvider,
|
|
166
167
|
P as Z2SideNavBarSeparator,
|
|
167
|
-
|
|
168
|
+
T as Z2SidebarVariants,
|
|
168
169
|
tr as Z2Stepper,
|
|
169
170
|
pr as Z2StepperItem,
|
|
170
171
|
mr as Z2Tabs,
|
|
171
172
|
lr as Z2TabsContent,
|
|
172
173
|
fr as Z2TabsList,
|
|
173
174
|
xr as Z2TabsTrigger,
|
|
175
|
+
Jr as Z2TextPreset,
|
|
174
176
|
_r as Z2Tooltip,
|
|
175
177
|
Ur as badgeVariants,
|
|
176
178
|
Z as buttonVariants,
|
|
177
179
|
Fr as cn,
|
|
178
|
-
|
|
180
|
+
Tr as extractCellValue,
|
|
179
181
|
sr as useTableContext,
|
|
180
182
|
Nr as useTheme,
|
|
181
183
|
N as useZ2SideNavBar
|
|
@@ -3,11 +3,14 @@ declare const textPresetVariants: (props?: ({
|
|
|
3
3
|
type?: "L" | "C" | "R" | null | undefined;
|
|
4
4
|
multiline?: boolean | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
-
|
|
6
|
+
interface Z2TextPresetProps extends VariantProps<typeof textPresetVariants> {
|
|
7
7
|
primaryFirst?: boolean;
|
|
8
8
|
primaryText: string;
|
|
9
9
|
supportText?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
declare function Z2TextPreset({ type, multiline, primaryFirst, primaryText, supportText, className, }: Z2TextPresetProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare namespace Z2TextPreset {
|
|
14
|
+
var displayName: string;
|
|
15
|
+
}
|
|
16
|
+
export { Z2TextPreset, type Z2TextPresetProps };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './components/tooltip/tooltip';
|
|
|
18
18
|
export * from './components/table-card';
|
|
19
19
|
export * from './components/badge/badge';
|
|
20
20
|
export * from './components/avatar/avatar';
|
|
21
|
+
export * from './components/text-preset/text-preset';
|
|
21
22
|
export * from './components/assets/icons/apartment-building';
|
|
22
23
|
export * from './components/assets/icons/chevron-down';
|
|
23
24
|
export * from './components/assets/icons/chevron-left';
|