@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/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 { useTheme as _a } from "./lib/theme.hook.js";
114
- import { cn as Ua } from "./lib/utils.js";
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
- Ua as cn,
312
+ _a as cn,
313
313
  Ce as extractCellValue,
314
314
  Le as useTableContext,
315
- _a as useTheme,
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 function Z2RadioGroupItem({ className, children, size, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {
5
- size?: 'sm' | 'default' | 'lg';
6
- }): import("react/jsx-runtime").JSX.Element;
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;
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztwoint/z-ui",
3
- "version": "0.1.108",
3
+ "version": "0.1.110",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",