@kilnonedre/foundation 0.0.4 → 0.0.5
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ interface ConfigDropdownCascaderSingleProp {
|
|
|
287
287
|
|
|
288
288
|
declare const DropdownCascaderMulti: ({ value, ...props }: ConfigDropdownCascaderMultiProp) => react_jsx_runtime.JSX.Element;
|
|
289
289
|
|
|
290
|
-
declare const
|
|
290
|
+
declare const DropdownCascaderSingle: (props: ConfigDropdownCascaderSingleProp) => react_jsx_runtime.JSX.Element;
|
|
291
291
|
|
|
292
292
|
interface ConfigProp$6<T extends FieldValues, TName extends FieldPath<T> = FieldPath<T>> {
|
|
293
293
|
id: string;
|
|
@@ -456,4 +456,4 @@ declare const zCoerceNumberOptional: (label: string, min?: number, max?: number)
|
|
|
456
456
|
declare const zDecimal: (label: string, min?: number, max?: number) => z.ZodString;
|
|
457
457
|
declare const zDecimalOptional: (label: string, min?: number, max?: number) => z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
458
458
|
|
|
459
|
-
export { Badge, Button, CheckboxSingleList, type CommonObject, type CommonOption, DataTable, Dialog, DisplayTable,
|
|
459
|
+
export { Badge, Button, CheckboxSingleList, type CommonObject, type CommonOption, DataTable, Dialog, DisplayTable, DropdownCascaderMulti, DropdownCascaderSingle, EnumApprovalStatus, EnumApprovalStatusLabel, EnumApprovalView, EnumApprovalViewLabel, EnumEntityStatus, EnumEntityStatusLabel, EnumFormMode, EnumFormModeLabel, EnumGenderType, EnumGenderTypeLabel, EnumMapProvider, EnumMapProviderLabel, EnumOrderStatus, EnumOrderStatusLabel, EnumPublishMethod, EnumPublishMethodLabel, EnumSemanticColor, EnumSemanticColorLabel, EnumStorageMethod, EnumStorageMethodLabel, EnumVariant, EnumVariantLabel, FieldController, FieldGroup, FieldPlain, FieldText, FormSelect, FormTimePicker, MediaUploader, Provider, type SemanticColorToken, TableFormDialog, TablePagination, Text, type UUID, boolToText, cn, emptyToUndefined, enumApprovalStatusOptions, enumApprovalViewOptions, enumEntityStatusOptions, enumFormModeOptions, enumGenderTypeOptions, enumMapProviderOptions, enumOrderStatusOptions, enumPublishMethodOptions, enumSemanticColorOptions, enumStorageMethodOptions, enumToOptions, enumValues, enumVariantOptions, formatDateTime, formatDecimal, genUuid, getSemanticColor, getSuccessMessage, isEmpty, isFormData, isValidEmail, isValidURL, renderBody, renderConfirmFooter, renderFooter, renderInput, renderPasswordInput, renderTextarea, zBool, zCoerceNumber, zCoerceNumberOptional, zDate, zDateOptional, zDecimal, zDecimalOptional, zEmail, zEnumNullable, zEnumNullableOptional, zEnumNullableRequired, zEnumOptional, zEnumRequired, zId, zIdCard, zIdCardOptional, zIds, zImageId, zImageIdRequired, zImageIds, zImageIdsOptional, zNumber, zNumberOptional, zPhone, zTextOptional, zTextRequired, zTexts };
|
package/dist/index.js
CHANGED
|
@@ -2444,7 +2444,7 @@ var DropdownCascaderMulti = ({
|
|
|
2444
2444
|
import * as React2 from "react";
|
|
2445
2445
|
import { ChevronDown as ChevronDown2 } from "lucide-react";
|
|
2446
2446
|
import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2447
|
-
var
|
|
2447
|
+
var DropdownCascaderSingle = (props) => {
|
|
2448
2448
|
const optionMap = React2.useMemo(
|
|
2449
2449
|
() => getOptionMap(props.options),
|
|
2450
2450
|
[props.options]
|
|
@@ -3358,8 +3358,8 @@ export {
|
|
|
3358
3358
|
DataTable,
|
|
3359
3359
|
Dialog2 as Dialog,
|
|
3360
3360
|
DisplayTable,
|
|
3361
|
-
DropdownCascader,
|
|
3362
3361
|
DropdownCascaderMulti,
|
|
3362
|
+
DropdownCascaderSingle,
|
|
3363
3363
|
EnumApprovalStatus,
|
|
3364
3364
|
EnumApprovalStatusLabel,
|
|
3365
3365
|
EnumApprovalView,
|