lkd-web-kit 0.3.7 → 0.3.8

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.
@@ -10,6 +10,7 @@ const MyMonthPickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.MonthPickerInput,
11
11
  {
12
12
  leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
13
+ leftSectionPointerEvents: "none",
13
14
  variant: props.readOnly ? "filled" : "default",
14
15
  ...props
15
16
  }
@@ -10,6 +10,7 @@ const MyDatePickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.DatePickerInput,
11
11
  {
12
12
  leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
13
+ leftSectionPointerEvents: "none",
13
14
  variant: props.readOnly ? "filled" : "default",
14
15
  ...props
15
16
  }
@@ -10,6 +10,7 @@ const MyDateTimePicker = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.DateTimePicker,
11
11
  {
12
12
  leftSection: /* @__PURE__ */ jsxRuntime.jsx(CalendarIcon, { size: props.size }),
13
+ leftSectionPointerEvents: "none",
13
14
  variant: props.readOnly ? "filled" : "default",
14
15
  ...props
15
16
  }
package/dist/index.d.ts CHANGED
@@ -119,7 +119,7 @@ export declare type FormDateTimePickerProps = WithFormProps & MyDateTimePickerPr
119
119
  export declare type FormFieldProps<T = unknown> = Parameters<ControllerProps['render']>[0] & {
120
120
  props: T;
121
121
  field: {
122
- label?: React.ReactNode;
122
+ label?: ReactNode;
123
123
  placeholder?: string;
124
124
  description?: React.ReactNode;
125
125
  error?: string;
@@ -508,9 +508,9 @@ export declare const withForm: <P extends unknown>(WrappedComponent: React.Compo
508
508
 
509
509
  export declare interface WithFormProps {
510
510
  name?: string;
511
- label?: React.ReactNode;
511
+ label?: ReactNode;
512
512
  placeholder?: string;
513
- description?: React.ReactNode;
513
+ description?: ReactNode;
514
514
  validate?: ZodTypeAny;
515
515
  disabled?: boolean;
516
516
  }
@@ -6,6 +6,7 @@ const MyMonthPickerInput = (props) => /* @__PURE__ */ jsx(
6
6
  MonthPickerInput,
7
7
  {
8
8
  leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
+ leftSectionPointerEvents: "none",
9
10
  variant: props.readOnly ? "filled" : "default",
10
11
  ...props
11
12
  }
package/dist/index.es6.js CHANGED
@@ -6,6 +6,7 @@ const MyDatePickerInput = (props) => /* @__PURE__ */ jsx(
6
6
  DatePickerInput,
7
7
  {
8
8
  leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
+ leftSectionPointerEvents: "none",
9
10
  variant: props.readOnly ? "filled" : "default",
10
11
  ...props
11
12
  }
package/dist/index.es7.js CHANGED
@@ -6,6 +6,7 @@ const MyDateTimePicker = (props) => /* @__PURE__ */ jsx(
6
6
  DateTimePicker,
7
7
  {
8
8
  leftSection: /* @__PURE__ */ jsx(CalendarIcon, { size: props.size }),
9
+ leftSectionPointerEvents: "none",
9
10
  variant: props.readOnly ? "filled" : "default",
10
11
  ...props
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",