@ztwoint/z-ui 0.1.108 → 0.1.110
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/column-reorder/column-reorder.hook.js +9 -10
- package/dist/components/column-reorder/components/column-item/column-item.js +40 -81
- package/dist/components/radio/z2-radio.d.ts +3 -3
- package/dist/components/radio/z2-radio.js +46 -50
- package/dist/components/radio-card/radio-card.d.ts +10 -0
- package/dist/components/table/components/cell/avatar-cell.js +1 -1
- package/dist/components/table/table-provider.js +1 -1
- package/dist/components/table-card/table-card.js +1 -1
- package/dist/css/config/colors/semantic/text.css +3 -1
- package/dist/css/styles/tailwind.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/types/components/radio/z2-radio.d.ts +3 -3
- package/dist/types/components/radio-card/radio-card.d.ts +10 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,5 +27,6 @@ export * from './components/assets/icons';
|
|
|
27
27
|
export * from './components/segmented-control';
|
|
28
28
|
export * from './components/popover/popover';
|
|
29
29
|
export * from './components/dynamic-table';
|
|
30
|
+
export * from './components/radio-card/radio-card';
|
|
30
31
|
export * from './lib/theme.hook';
|
|
31
32
|
export * from './lib/utils';
|
package/dist/index.js
CHANGED
|
@@ -110,8 +110,8 @@ import { Z2Table as Za, Z2TableBase as ca, Z2TableBody as sa, Z2TableBodyRow as
|
|
|
110
110
|
import { Z2TableContainer as Aa, Z2TableProvider as ya, Z2TableRoot as ka, useZ2Table as Ha } from "./components/dynamic-table/z2-table-context.js";
|
|
111
111
|
import { Z2TablePagination as Na } from "./components/dynamic-table/z2-table-pagination.js";
|
|
112
112
|
import { Z2TableColumnHeader as Ga } from "./components/dynamic-table/z2-column-header.js";
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
113
|
+
import { cn as _a } from "./lib/utils.js";
|
|
114
|
+
import { useTheme as Ua } from "./lib/theme.hook.js";
|
|
115
115
|
import { Z2PopoverTrigger as Xa } from "./components/collapsible-side-nav-bar/popover/popover-trigger.js";
|
|
116
116
|
import { Z2PopoverContent as Ja } from "./components/collapsible-side-nav-bar/popover/popover-content.js";
|
|
117
117
|
export {
|
|
@@ -309,10 +309,10 @@ export {
|
|
|
309
309
|
cr as Z2Tooltip,
|
|
310
310
|
Sr as badgeVariants,
|
|
311
311
|
i as buttonVariants,
|
|
312
|
-
|
|
312
|
+
_a as cn,
|
|
313
313
|
Ce as extractCellValue,
|
|
314
314
|
Le as useTableContext,
|
|
315
|
-
|
|
315
|
+
Ua as useTheme,
|
|
316
316
|
h as useZ2SideNavBar,
|
|
317
317
|
Ha as useZ2Table
|
|
318
318
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
3
|
declare function Z2RadioGroup({ ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare
|
|
5
|
-
size?:
|
|
6
|
-
}
|
|
4
|
+
declare const Z2RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
5
|
+
size?: "sm" | "default" | "lg";
|
|
6
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
7
7
|
declare function Z2RadioGroupIndicator({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Indicator>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export { Z2RadioGroup, Z2RadioGroupItem, Z2RadioGroupIndicator };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare function Z2RadioCard({ primaryText, supportText, value, id, disabled, className, itemClassName, }: {
|
|
2
|
+
primaryText: string;
|
|
3
|
+
supportText: string;
|
|
4
|
+
value: string;
|
|
5
|
+
id?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
itemClassName?: string;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default Z2RadioCard;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,5 +28,6 @@ export * from './components/assets/icons';
|
|
|
28
28
|
export * from './components/segmented-control';
|
|
29
29
|
export * from './components/popover/popover';
|
|
30
30
|
export * from './components/dynamic-table';
|
|
31
|
+
export * from './components/radio-card/radio-card';
|
|
31
32
|
export * from './lib/theme.hook';
|
|
32
33
|
export * from './lib/utils';
|