@hybr1d-tech/charizard 0.7.159 → 0.7.161
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/hybr1d-ui.js +5254 -5132
- package/dist/hybr1d-ui.umd.cjs +19 -19
- package/dist/index.d.ts +48 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -305,9 +305,10 @@ declare interface CheckboxProps_2 {
|
|
|
305
305
|
indeterminate?: boolean;
|
|
306
306
|
disabled?: boolean;
|
|
307
307
|
onChange: (checked: boolean) => void;
|
|
308
|
+
className?: string;
|
|
308
309
|
}
|
|
309
310
|
|
|
310
|
-
export declare
|
|
311
|
+
export declare function CheckboxV2({ label, checked, indeterminate, disabled, onChange, className, }: CheckboxProps_2): JSX_2.Element;
|
|
311
312
|
|
|
312
313
|
export declare const clipboard: (text?: string, showToast?: boolean) => Promise<void>;
|
|
313
314
|
|
|
@@ -2310,6 +2311,52 @@ declare interface RadioGroupProps {
|
|
|
2310
2311
|
handleClickManually?: boolean;
|
|
2311
2312
|
}
|
|
2312
2313
|
|
|
2314
|
+
export declare function RadioGroupV2({ items, label, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, isLoading, handleClickManually, }: RadioGroupV2Props): JSX_2.Element;
|
|
2315
|
+
|
|
2316
|
+
declare interface RadioGroupV2Props {
|
|
2317
|
+
/**
|
|
2318
|
+
* heading for radio group
|
|
2319
|
+
*/
|
|
2320
|
+
label?: string;
|
|
2321
|
+
/**
|
|
2322
|
+
* items to show in radio group
|
|
2323
|
+
*/
|
|
2324
|
+
items: Array<{
|
|
2325
|
+
label: {
|
|
2326
|
+
heading: string | React_2.ReactNode;
|
|
2327
|
+
subHeading?: string;
|
|
2328
|
+
};
|
|
2329
|
+
value: string;
|
|
2330
|
+
tooltip?: {
|
|
2331
|
+
txt: string;
|
|
2332
|
+
trigger?: React_2.ReactNode;
|
|
2333
|
+
placement?: string;
|
|
2334
|
+
};
|
|
2335
|
+
}>;
|
|
2336
|
+
/**
|
|
2337
|
+
* default value to be selected on first render
|
|
2338
|
+
*/
|
|
2339
|
+
defaultValue?: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* callback to be called on change of radio group
|
|
2342
|
+
* @param value
|
|
2343
|
+
* value of selected radio
|
|
2344
|
+
* */
|
|
2345
|
+
onChange: (value: string) => void;
|
|
2346
|
+
/**
|
|
2347
|
+
* if radio group is required
|
|
2348
|
+
* */
|
|
2349
|
+
required?: boolean;
|
|
2350
|
+
/**
|
|
2351
|
+
* error msg to display
|
|
2352
|
+
*/
|
|
2353
|
+
errorMsg?: string;
|
|
2354
|
+
optionsContainerStyles?: React_2.CSSProperties;
|
|
2355
|
+
disabled?: boolean;
|
|
2356
|
+
isLoading?: boolean;
|
|
2357
|
+
handleClickManually?: boolean;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2313
2360
|
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps): JSX_2.Element;
|
|
2314
2361
|
|
|
2315
2362
|
export declare interface SearchProps {
|