@ztwoint/z-ui 0.1.109 → 0.1.111
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/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 +12 -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 +314 -313
- package/dist/types/components/radio/z2-radio.d.ts +3 -3
- package/dist/types/components/radio-card/radio-card.d.ts +12 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare function Z2RadioCard({ primaryText, supportText, value, id, disabled, className, itemClassName, endIcon, }: {
|
|
3
|
+
primaryText: string;
|
|
4
|
+
supportText: string;
|
|
5
|
+
value: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
itemClassName?: string;
|
|
10
|
+
endIcon?: React.ReactNode;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
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';
|