lkd-web-kit 0.2.0 → 0.2.1
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/src/form/base/{FormTextArea.cjs → FormTextarea.cjs} +1 -1
- package/dist/src/form/base/FormTextarea.cjs.map +1 -0
- package/dist/src/form/base/{FormTextArea.mjs → FormTextarea.mjs} +1 -1
- package/dist/src/form/base/FormTextarea.mjs.map +1 -0
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/src/form/base/FormTextArea.cjs.map +0 -1
- package/dist/src/form/base/FormTextArea.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -138,10 +138,10 @@ export declare type FormSelectInfinityProps = SelectInfinityProps & WithFormProp
|
|
|
138
138
|
|
|
139
139
|
export declare type FormSelectProps = MySelectProps & WithFormProps;
|
|
140
140
|
|
|
141
|
-
export declare type FormTextarea = MyTextareaProps & WithFormProps;
|
|
142
|
-
|
|
143
141
|
export declare const FormTextarea: FC<TextareaProps & WithFormProps>;
|
|
144
142
|
|
|
143
|
+
export declare type FormTextareaProps = MyTextareaProps & WithFormProps;
|
|
144
|
+
|
|
145
145
|
export declare const FormTextInput: FC<WithFormProps & MyTextInputProps>;
|
|
146
146
|
|
|
147
147
|
export declare type FormTextInputProps = WithFormProps & MyTextInputProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),o=require("../../components/MyTextarea/index.cjs"),i=require("../../hocs/withForm.cjs"),a=i.withForm(({field:e,props:r})=>t.jsx(o.MyTextarea,{...e,...r}));exports.FormTextarea=a;
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=FormTextarea.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormTextarea.cjs","sources":["../../../../src/form/base/FormTextarea.tsx"],"sourcesContent":["import { TextareaProps } from '@mantine/core';\r\nimport { MyTextareaProps, MyTextarea } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormTextareaProps = MyTextareaProps & WithFormProps;\r\n\r\nexport const FormTextarea = withForm<TextareaProps>(({ field, props }) => (\r\n <MyTextarea\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormTextarea","withForm","field","props","jsx","MyTextarea"],"mappings":"6MAMaA,EAAeC,EAAAA,SAAwB,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAC5D,IAAAC,EAAA,IAACC,EAAA,WAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormTextarea.mjs","sources":["../../../../src/form/base/FormTextarea.tsx"],"sourcesContent":["import { TextareaProps } from '@mantine/core';\r\nimport { MyTextareaProps, MyTextarea } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormTextareaProps = MyTextareaProps & WithFormProps;\r\n\r\nexport const FormTextarea = withForm<TextareaProps>(({ field, props }) => (\r\n <MyTextarea\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormTextarea","withForm","field","props","jsx","MyTextarea"],"mappings":";;;AAMO,MAAMA,IAAeC,EAAwB,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAC5D,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
|
package/dist/src/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./components/EmptyState/index.cjs"),u=require("./components/InfinityLoader/index.cjs"),a=require("./components/NavItems.cjs"),s=require("./components/Icon.cjs"),c=require("./components/MyDatePickerInput/index.cjs"),m=require("./components/MyDateTimePicker/index.cjs"),d=require("./components/MyNotifications/index.cjs"),l=require("./components/MyNumberInput/index.cjs"),y=require("./components/MySelect/index.cjs"),p=require("./components/MyTextarea/index.cjs"),q=require("./components/MyTextInput/index.cjs"),F=require("./components/MyTimeInput/index.cjs"),I=require("./components/SelectInfinity/index.cjs"),x=require("./consts/http-status.cjs"),P=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),t=require("./contexts/PageDataContext/index.cjs"),T=require("./form/Form.cjs"),S=require("./form/FormButtonSubmit.cjs"),f=require("./form/utils/zodValidator.cjs"),h=require("./form/utils/nullable-but-required.cjs"),B=require("./form/utils/optional-but-required.cjs"),M=require("./form/base/FormCheckbox.cjs"),b=require("./form/base/FormDatePickerInput.cjs"),N=require("./form/base/FormDateTimePicker.cjs"),g=require("./form/base/FormNumberInput.cjs"),k=require("./form/base/FormRadioGroup.cjs"),D=require("./form/base/FormSelect.cjs"),v=require("./form/base/FormSelectInfinity.cjs"),R=require("./form/base/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./components/EmptyState/index.cjs"),u=require("./components/InfinityLoader/index.cjs"),a=require("./components/NavItems.cjs"),s=require("./components/Icon.cjs"),c=require("./components/MyDatePickerInput/index.cjs"),m=require("./components/MyDateTimePicker/index.cjs"),d=require("./components/MyNotifications/index.cjs"),l=require("./components/MyNumberInput/index.cjs"),y=require("./components/MySelect/index.cjs"),p=require("./components/MyTextarea/index.cjs"),q=require("./components/MyTextInput/index.cjs"),F=require("./components/MyTimeInput/index.cjs"),I=require("./components/SelectInfinity/index.cjs"),x=require("./consts/http-status.cjs"),P=require("./consts/revalidate.cjs"),e=require("./contexts/NavigationHistoryContext/index.cjs"),t=require("./contexts/PageDataContext/index.cjs"),T=require("./form/Form.cjs"),S=require("./form/FormButtonSubmit.cjs"),f=require("./form/utils/zodValidator.cjs"),h=require("./form/utils/nullable-but-required.cjs"),B=require("./form/utils/optional-but-required.cjs"),M=require("./form/base/FormCheckbox.cjs"),b=require("./form/base/FormDatePickerInput.cjs"),N=require("./form/base/FormDateTimePicker.cjs"),g=require("./form/base/FormNumberInput.cjs"),k=require("./form/base/FormRadioGroup.cjs"),D=require("./form/base/FormSelect.cjs"),v=require("./form/base/FormSelectInfinity.cjs"),R=require("./form/base/FormTextarea.cjs"),w=require("./form/base/FormTextInput.cjs"),r=require("./form/base/FormTimeInput.cjs"),H=require("./hocs/withForm.cjs"),$=require("./hocs/withModalManager.cjs"),E=require("./hooks/useBreakpoint.cjs"),O=require("./hooks/useFetchNextPageOnScroll.cjs"),C=require("./hooks/useOnScrollProgress.cjs"),A=require("./hooks/useUpdateSearchParams.cjs"),J=require("./mantine/breakpoints-with-px.cjs"),_=require("./mantine/to-tailwind-colors.cjs"),U=require("./mantine/my-default-theme.cjs"),K=require("./utils/formatBytes.cjs"),o=require("./utils/ky/addBodyJsonHook.cjs"),L=require("./utils/ky/parseJson.cjs"),i=require("./utils/array/groupBy.cjs"),z=require("./utils/array/shuffleArray.cjs"),G=require("./utils/newHref.cjs"),V=require("./utils/isInfinityEmpty.cjs");exports.EmptyState=n.EmptyState;exports.InfinityLoader=u.InfinityLoader;exports.NavItems=a.NavItems;exports.Icon=s.Icon;exports.MyDatePickerInput=c.MyDatePickerInput;exports.MyDateTimePicker=m.MyDateTimePicker;exports.MyNotifications=d.MyNotifications;exports.MyNumberInput=l.MyNumberInput;exports.MySelect=y.MySelect;exports.MyTextarea=p.MyTextarea;exports.MyTextInput=q.MyTextInput;exports.MyTimeInput=F.MyTimeInput;exports.SelectInfinity=I.SelectInfinity;exports.HttpStatus=x.HttpStatus;exports.Revalidate=P.Revalidate;exports.NavigationHistoryProvider=e.NavigationHistoryProvider;exports.QP_BACK_URL_NAME=e.QP_BACK_URL_NAME;exports.useNavigationHistory=e.useNavigationHistory;exports.PageDataProvider=t.PageDataProvider;exports.usePageData=t.usePageData;exports.Form=T.Form;exports.FormButtonSubmit=S.FormButtonSubmit;exports.zodValidator=f.zodValidator;exports.nullableButRequired=h.nullableButRequired;exports.optionalButRequired=B.optionalButRequired;exports.FormCheckbox=M.FormCheckbox;exports.FormDatePickerInput=b.FormDatePickerInput;exports.FormDateTimePicker=N.FormDateTimePicker;exports.FormNumberInput=g.FormNumberInput;exports.FormRadioGroup=k.FormRadioGroup;exports.FormSelect=D.FormSelect;exports.FormSelectInfinity=v.FormSelectInfinity;exports.FormTextarea=R.FormTextarea;exports.FormTextInput=w.FormTextInput;exports.FormTimeInput=r.FormTimeInput;exports.numberToTimeInput=r.numberToTimeInput;exports.timeInputToNumber=r.timeInputToNumber;exports.withForm=H.withForm;exports.withModalManager=$.withModalManager;exports.useBreakpoint=E.useBreakpoint;exports.useFetchNextPageOnScroll=O.useFetchNextPageOnScroll;exports.useOnScrollProgress=C.useOnScrollProgress;exports.useUpdateSearchParams=A.useUpdateSearchParams;exports.breakpointsWithPx=J.breakpointsWithPx;exports.toTailwindColors=_.toTailwindColors;exports.myDefaultTheme=U.myDefaultTheme;exports.formatBytes=K.formatBytes;exports.KyError=o.KyError;exports.addBodyJsonHook=o.addBodyJsonHook;exports.parseJSON=L.parseJSON;exports.groupBy=i.groupBy;exports.indexBy=i.indexBy;exports.shuffleArray=z.shuffleArray;exports.newHref=G.newHref;exports.isInfinityEmpty=V.isInfinityEmpty;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/src/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ import { FormNumberInput as or } from "./form/base/FormNumberInput.mjs";
|
|
|
27
27
|
import { FormRadioGroup as tr } from "./form/base/FormRadioGroup.mjs";
|
|
28
28
|
import { FormSelect as pr } from "./form/base/FormSelect.mjs";
|
|
29
29
|
import { FormSelectInfinity as xr } from "./form/base/FormSelectInfinity.mjs";
|
|
30
|
-
import { FormTextarea as ir } from "./form/base/
|
|
30
|
+
import { FormTextarea as ir } from "./form/base/FormTextarea.mjs";
|
|
31
31
|
import { FormTextInput as ur } from "./form/base/FormTextInput.mjs";
|
|
32
32
|
import { FormTimeInput as sr, numberToTimeInput as lr, timeInputToNumber as dr } from "./form/base/FormTimeInput.mjs";
|
|
33
33
|
import { withForm as cr } from "./hocs/withForm.mjs";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormTextArea.cjs","sources":["../../../../src/form/base/FormTextArea.tsx"],"sourcesContent":["import { TextareaProps } from '@mantine/core';\r\nimport { MyTextareaProps, MyTextarea } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormTextarea = MyTextareaProps & WithFormProps;\r\n\r\nexport const FormTextarea = withForm<TextareaProps>(({ field, props }) => (\r\n <MyTextarea\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormTextarea","withForm","field","props","jsx","MyTextarea"],"mappings":"6MAMaA,EAAeC,EAAAA,SAAwB,CAAC,CAAE,MAAAC,EAAO,MAAAC,CAC5D,IAAAC,EAAA,IAACC,EAAA,WAAA,CACE,GAAGH,EACH,GAAGC,CAAA,CACN,CACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormTextArea.mjs","sources":["../../../../src/form/base/FormTextArea.tsx"],"sourcesContent":["import { TextareaProps } from '@mantine/core';\r\nimport { MyTextareaProps, MyTextarea } from 'src/components';\r\nimport { WithFormProps, withForm } from 'src/hocs';\r\n\r\nexport type FormTextarea = MyTextareaProps & WithFormProps;\r\n\r\nexport const FormTextarea = withForm<TextareaProps>(({ field, props }) => (\r\n <MyTextarea\r\n {...field}\r\n {...props}\r\n />\r\n));\r\n"],"names":["FormTextarea","withForm","field","props","jsx","MyTextarea"],"mappings":";;;AAMO,MAAMA,IAAeC,EAAwB,CAAC,EAAE,OAAAC,GAAO,OAAAC,EAC5D,MAAA,gBAAAC;AAAA,EAACC;AAAA,EAAA;AAAA,IACE,GAAGH;AAAA,IACH,GAAGC;AAAA,EAAA;AACN,CACD;"}
|