lkd-web-kit 0.3.15 → 0.3.16

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.
Files changed (110) hide show
  1. package/dist/{index.cjs.js → index.cjs} +52 -52
  2. package/dist/index.mjs +52 -0
  3. package/dist/{index.cjs14.js → index14.cjs} +2 -2
  4. package/dist/{index.es14.js → index14.mjs} +2 -2
  5. package/dist/{index.cjs16.js → index16.cjs} +1 -1
  6. package/dist/{index.es16.js → index16.mjs} +1 -1
  7. package/dist/{index.cjs2.js → index2.cjs} +1 -1
  8. package/dist/{index.es2.js → index2.mjs} +1 -1
  9. package/dist/{index.cjs26.js → index26.cjs} +1 -1
  10. package/dist/{index.es26.js → index26.mjs} +1 -1
  11. package/dist/{index.cjs27.js → index27.cjs} +2 -2
  12. package/dist/{index.es27.js → index27.mjs} +2 -2
  13. package/dist/{index.cjs28.js → index28.cjs} +2 -2
  14. package/dist/{index.es28.js → index28.mjs} +2 -2
  15. package/dist/{index.cjs29.js → index29.cjs} +2 -2
  16. package/dist/{index.es29.js → index29.mjs} +2 -2
  17. package/dist/{index.cjs30.js → index30.cjs} +1 -1
  18. package/dist/{index.es30.js → index30.mjs} +1 -1
  19. package/dist/{index.cjs31.js → index31.cjs} +2 -2
  20. package/dist/{index.es31.js → index31.mjs} +2 -2
  21. package/dist/{index.cjs32.js → index32.cjs} +2 -2
  22. package/dist/{index.es32.js → index32.mjs} +2 -2
  23. package/dist/{index.cjs33.js → index33.cjs} +2 -2
  24. package/dist/{index.es33.js → index33.mjs} +2 -2
  25. package/dist/{index.cjs34.js → index34.cjs} +2 -2
  26. package/dist/{index.es34.js → index34.mjs} +2 -2
  27. package/dist/{index.cjs35.js → index35.cjs} +2 -2
  28. package/dist/{index.es35.js → index35.mjs} +2 -2
  29. package/dist/{index.cjs36.js → index36.cjs} +2 -2
  30. package/dist/{index.es36.js → index36.mjs} +2 -2
  31. package/dist/{index.cjs37.js → index37.cjs} +2 -2
  32. package/dist/{index.es37.js → index37.mjs} +2 -2
  33. package/dist/{index.cjs38.js → index38.cjs} +1 -1
  34. package/dist/{index.es38.js → index38.mjs} +1 -1
  35. package/dist/{index.cjs41.js → index41.cjs} +1 -1
  36. package/dist/{index.es41.js → index41.mjs} +1 -1
  37. package/dist/{index.cjs46.js → index46.cjs} +1 -1
  38. package/dist/{index.es46.js → index46.mjs} +1 -1
  39. package/dist/{index.cjs48.js → index48.cjs} +1 -1
  40. package/dist/{index.es48.js → index48.mjs} +1 -1
  41. package/dist/{index.cjs6.js → index6.cjs} +1 -1
  42. package/dist/{index.es6.js → index6.mjs} +1 -1
  43. package/dist/{index.cjs7.js → index7.cjs} +1 -1
  44. package/dist/{index.es7.js → index7.mjs} +1 -1
  45. package/dist/{index.cjs8.js → index8.cjs} +1 -1
  46. package/dist/{index.es8.js → index8.mjs} +1 -1
  47. package/package.json +5 -5
  48. package/dist/index.es.js +0 -52
  49. /package/dist/{index.cjs10.js → index10.cjs} +0 -0
  50. /package/dist/{index.es10.js → index10.mjs} +0 -0
  51. /package/dist/{index.cjs11.js → index11.cjs} +0 -0
  52. /package/dist/{index.es11.js → index11.mjs} +0 -0
  53. /package/dist/{index.cjs12.js → index12.cjs} +0 -0
  54. /package/dist/{index.es12.js → index12.mjs} +0 -0
  55. /package/dist/{index.cjs13.js → index13.cjs} +0 -0
  56. /package/dist/{index.es13.js → index13.mjs} +0 -0
  57. /package/dist/{index.cjs15.js → index15.cjs} +0 -0
  58. /package/dist/{index.es15.js → index15.mjs} +0 -0
  59. /package/dist/{index.cjs17.js → index17.cjs} +0 -0
  60. /package/dist/{index.es17.js → index17.mjs} +0 -0
  61. /package/dist/{index.cjs18.js → index18.cjs} +0 -0
  62. /package/dist/{index.es18.js → index18.mjs} +0 -0
  63. /package/dist/{index.cjs19.js → index19.cjs} +0 -0
  64. /package/dist/{index.es19.js → index19.mjs} +0 -0
  65. /package/dist/{index.cjs20.js → index20.cjs} +0 -0
  66. /package/dist/{index.es20.js → index20.mjs} +0 -0
  67. /package/dist/{index.cjs21.js → index21.cjs} +0 -0
  68. /package/dist/{index.es21.js → index21.mjs} +0 -0
  69. /package/dist/{index.cjs22.js → index22.cjs} +0 -0
  70. /package/dist/{index.es22.js → index22.mjs} +0 -0
  71. /package/dist/{index.cjs23.js → index23.cjs} +0 -0
  72. /package/dist/{index.es23.js → index23.mjs} +0 -0
  73. /package/dist/{index.cjs24.js → index24.cjs} +0 -0
  74. /package/dist/{index.es24.js → index24.mjs} +0 -0
  75. /package/dist/{index.cjs25.js → index25.cjs} +0 -0
  76. /package/dist/{index.es25.js → index25.mjs} +0 -0
  77. /package/dist/{index.cjs3.js → index3.cjs} +0 -0
  78. /package/dist/{index.es3.js → index3.mjs} +0 -0
  79. /package/dist/{index.cjs39.js → index39.cjs} +0 -0
  80. /package/dist/{index.es39.js → index39.mjs} +0 -0
  81. /package/dist/{index.cjs4.js → index4.cjs} +0 -0
  82. /package/dist/{index.es4.js → index4.mjs} +0 -0
  83. /package/dist/{index.cjs40.js → index40.cjs} +0 -0
  84. /package/dist/{index.es40.js → index40.mjs} +0 -0
  85. /package/dist/{index.cjs42.js → index42.cjs} +0 -0
  86. /package/dist/{index.es42.js → index42.mjs} +0 -0
  87. /package/dist/{index.cjs43.js → index43.cjs} +0 -0
  88. /package/dist/{index.es43.js → index43.mjs} +0 -0
  89. /package/dist/{index.cjs44.js → index44.cjs} +0 -0
  90. /package/dist/{index.es44.js → index44.mjs} +0 -0
  91. /package/dist/{index.cjs45.js → index45.cjs} +0 -0
  92. /package/dist/{index.es45.js → index45.mjs} +0 -0
  93. /package/dist/{index.cjs47.js → index47.cjs} +0 -0
  94. /package/dist/{index.es47.js → index47.mjs} +0 -0
  95. /package/dist/{index.cjs49.js → index49.cjs} +0 -0
  96. /package/dist/{index.es49.js → index49.mjs} +0 -0
  97. /package/dist/{index.cjs5.js → index5.cjs} +0 -0
  98. /package/dist/{index.es5.js → index5.mjs} +0 -0
  99. /package/dist/{index.cjs50.js → index50.cjs} +0 -0
  100. /package/dist/{index.es50.js → index50.mjs} +0 -0
  101. /package/dist/{index.cjs51.js → index51.cjs} +0 -0
  102. /package/dist/{index.es51.js → index51.mjs} +0 -0
  103. /package/dist/{index.cjs52.js → index52.cjs} +0 -0
  104. /package/dist/{index.es52.js → index52.mjs} +0 -0
  105. /package/dist/{index.cjs53.js → index53.cjs} +0 -0
  106. /package/dist/{index.es53.js → index53.mjs} +0 -0
  107. /package/dist/{index.cjs54.js → index54.cjs} +0 -0
  108. /package/dist/{index.es54.js → index54.mjs} +0 -0
  109. /package/dist/{index.cjs9.js → index9.cjs} +0 -0
  110. /package/dist/{index.es9.js → index9.mjs} +0 -0
@@ -2,58 +2,58 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const index = require('./index.cjs2.js');
6
- const index$1 = require('./index.cjs3.js');
7
- const NavItems = require('./index.cjs4.js');
8
- const Icon = require('./index.cjs5.js');
9
- const index$2 = require('./index.cjs6.js');
10
- const index$3 = require('./index.cjs7.js');
11
- const index$4 = require('./index.cjs8.js');
12
- const index$5 = require('./index.cjs9.js');
13
- const index$6 = require('./index.cjs10.js');
14
- const index$7 = require('./index.cjs11.js');
15
- const index$8 = require('./index.cjs12.js');
16
- const index$9 = require('./index.cjs13.js');
17
- const index$a = require('./index.cjs14.js');
18
- const index$b = require('./index.cjs15.js');
19
- const index$c = require('./index.cjs16.js');
20
- const httpStatus = require('./index.cjs17.js');
21
- const revalidate = require('./index.cjs18.js');
22
- const index$d = require('./index.cjs19.js');
23
- const index$e = require('./index.cjs20.js');
24
- const Form = require('./index.cjs21.js');
25
- const FormButtonSubmit = require('./index.cjs22.js');
26
- const zodValidator = require('./index.cjs23.js');
27
- const nullableButRequired = require('./index.cjs24.js');
28
- const optionalButRequired = require('./index.cjs25.js');
29
- const FormCheckbox = require('./index.cjs26.js');
30
- const FormDatePickerInput = require('./index.cjs27.js');
31
- const FormDateTimePicker = require('./index.cjs28.js');
32
- const FormNumberInput = require('./index.cjs29.js');
33
- const FormRadioGroup = require('./index.cjs30.js');
34
- const FormSelect = require('./index.cjs31.js');
35
- const FormSelectInfinity = require('./index.cjs32.js');
36
- const FormTextarea = require('./index.cjs33.js');
37
- const FormTextInput = require('./index.cjs34.js');
38
- const FormTimeInput = require('./index.cjs35.js');
39
- const FormMultiSelect = require('./index.cjs36.js');
40
- const FormMonthPickerInput = require('./index.cjs37.js');
41
- const withForm = require('./index.cjs38.js');
42
- const withModalManager = require('./index.cjs39.js');
43
- const useBreakpoint = require('./index.cjs40.js');
44
- const useFetchNextPageOnScroll = require('./index.cjs41.js');
45
- const useOnScrollProgress = require('./index.cjs42.js');
46
- const useUpdateSearchParams = require('./index.cjs43.js');
47
- const breakpointsWithPx = require('./index.cjs44.js');
48
- const toTailwindColors = require('./index.cjs45.js');
49
- const myDefaultTheme = require('./index.cjs46.js');
50
- const formatBytes = require('./index.cjs47.js');
51
- const addBodyJsonHook = require('./index.cjs48.js');
52
- const parseJson = require('./index.cjs49.js');
53
- const groupBy = require('./index.cjs50.js');
54
- const shuffleArray = require('./index.cjs51.js');
55
- const newHref = require('./index.cjs52.js');
56
- const isInfinityEmpty = require('./index.cjs53.js');
5
+ const index = require('./index2.cjs');
6
+ const index$1 = require('./index3.cjs');
7
+ const NavItems = require('./index4.cjs');
8
+ const Icon = require('./index5.cjs');
9
+ const index$2 = require('./index6.cjs');
10
+ const index$3 = require('./index7.cjs');
11
+ const index$4 = require('./index8.cjs');
12
+ const index$5 = require('./index9.cjs');
13
+ const index$6 = require('./index10.cjs');
14
+ const index$7 = require('./index11.cjs');
15
+ const index$8 = require('./index12.cjs');
16
+ const index$9 = require('./index13.cjs');
17
+ const index$a = require('./index14.cjs');
18
+ const index$b = require('./index15.cjs');
19
+ const index$c = require('./index16.cjs');
20
+ const httpStatus = require('./index17.cjs');
21
+ const revalidate = require('./index18.cjs');
22
+ const index$d = require('./index19.cjs');
23
+ const index$e = require('./index20.cjs');
24
+ const Form = require('./index21.cjs');
25
+ const FormButtonSubmit = require('./index22.cjs');
26
+ const zodValidator = require('./index23.cjs');
27
+ const nullableButRequired = require('./index24.cjs');
28
+ const optionalButRequired = require('./index25.cjs');
29
+ const FormCheckbox = require('./index26.cjs');
30
+ const FormDatePickerInput = require('./index27.cjs');
31
+ const FormDateTimePicker = require('./index28.cjs');
32
+ const FormNumberInput = require('./index29.cjs');
33
+ const FormRadioGroup = require('./index30.cjs');
34
+ const FormSelect = require('./index31.cjs');
35
+ const FormSelectInfinity = require('./index32.cjs');
36
+ const FormTextarea = require('./index33.cjs');
37
+ const FormTextInput = require('./index34.cjs');
38
+ const FormTimeInput = require('./index35.cjs');
39
+ const FormMultiSelect = require('./index36.cjs');
40
+ const FormMonthPickerInput = require('./index37.cjs');
41
+ const withForm = require('./index38.cjs');
42
+ const withModalManager = require('./index39.cjs');
43
+ const useBreakpoint = require('./index40.cjs');
44
+ const useFetchNextPageOnScroll = require('./index41.cjs');
45
+ const useOnScrollProgress = require('./index42.cjs');
46
+ const useUpdateSearchParams = require('./index43.cjs');
47
+ const breakpointsWithPx = require('./index44.cjs');
48
+ const toTailwindColors = require('./index45.cjs');
49
+ const myDefaultTheme = require('./index46.cjs');
50
+ const formatBytes = require('./index47.cjs');
51
+ const addBodyJsonHook = require('./index48.cjs');
52
+ const parseJson = require('./index49.cjs');
53
+ const groupBy = require('./index50.cjs');
54
+ const shuffleArray = require('./index51.cjs');
55
+ const newHref = require('./index52.cjs');
56
+ const isInfinityEmpty = require('./index53.cjs');
57
57
 
58
58
 
59
59
 
package/dist/index.mjs ADDED
@@ -0,0 +1,52 @@
1
+ export { EmptyState } from './index2.mjs';
2
+ export { InfinityLoader } from './index3.mjs';
3
+ export { NavItems } from './index4.mjs';
4
+ export { Icon } from './index5.mjs';
5
+ export { MyDatePickerInput } from './index6.mjs';
6
+ export { MyDateTimePicker } from './index7.mjs';
7
+ export { MyNotifications } from './index8.mjs';
8
+ export { MyNumberInput } from './index9.mjs';
9
+ export { MySelect } from './index10.mjs';
10
+ export { MyTextarea } from './index11.mjs';
11
+ export { MyTextInput } from './index12.mjs';
12
+ export { MyTimeInput } from './index13.mjs';
13
+ export { SelectInfinity } from './index14.mjs';
14
+ export { MyMultiSelect } from './index15.mjs';
15
+ export { MyMonthPickerInput } from './index16.mjs';
16
+ export { HttpStatus } from './index17.mjs';
17
+ export { Revalidate } from './index18.mjs';
18
+ export { NavigationHistoryProvider, QP_BACK_URL_NAME, useNavigationHistory } from './index19.mjs';
19
+ export { PageDataProvider, usePageData } from './index20.mjs';
20
+ export { Form } from './index21.mjs';
21
+ export { FormButtonSubmit } from './index22.mjs';
22
+ export { zodValidator } from './index23.mjs';
23
+ export { nullableButRequired } from './index24.mjs';
24
+ export { optionalButRequired } from './index25.mjs';
25
+ export { FormCheckbox } from './index26.mjs';
26
+ export { FormDatePickerInput } from './index27.mjs';
27
+ export { FormDateTimePicker } from './index28.mjs';
28
+ export { FormNumberInput } from './index29.mjs';
29
+ export { FormRadioGroup } from './index30.mjs';
30
+ export { FormSelect } from './index31.mjs';
31
+ export { FormSelectInfinity } from './index32.mjs';
32
+ export { FormTextarea } from './index33.mjs';
33
+ export { FormTextInput } from './index34.mjs';
34
+ export { FormTimeInput, numberToTimeInput, timeInputToNumber } from './index35.mjs';
35
+ export { FormMultiSelect } from './index36.mjs';
36
+ export { FormMonthPickerInput } from './index37.mjs';
37
+ export { withForm } from './index38.mjs';
38
+ export { withModalManager } from './index39.mjs';
39
+ export { useBreakpoint } from './index40.mjs';
40
+ export { useFetchNextPageOnScroll } from './index41.mjs';
41
+ export { useOnScrollProgress } from './index42.mjs';
42
+ export { useUpdateSearchParams } from './index43.mjs';
43
+ export { breakpointsWithPx } from './index44.mjs';
44
+ export { toTailwindColors } from './index45.mjs';
45
+ export { myDefaultTheme } from './index46.mjs';
46
+ export { formatBytes } from './index47.mjs';
47
+ export { KyError, addBodyJsonHook } from './index48.mjs';
48
+ export { parseJSON } from './index49.mjs';
49
+ export { groupBy, indexBy } from './index50.mjs';
50
+ export { shuffleArray } from './index51.mjs';
51
+ export { newHref } from './index52.mjs';
52
+ export { isInfinityEmpty } from './index53.mjs';
@@ -6,8 +6,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6
6
  const jsxRuntime = require('react/jsx-runtime');
7
7
  const core = require('@mantine/core');
8
8
  const react = require('react');
9
- const useFetchNextPageOnScroll = require('./index.cjs41.js');
10
- const index = require('./index.cjs3.js');
9
+ const useFetchNextPageOnScroll = require('./index41.cjs');
10
+ const index = require('./index3.cjs');
11
11
 
12
12
  function SelectInfinity({
13
13
  value,
@@ -2,8 +2,8 @@
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useCombobox, Combobox, InputBase, Input, ScrollArea } from '@mantine/core';
4
4
  import { useRef } from 'react';
5
- import { useFetchNextPageOnScroll } from './index.es41.js';
6
- import { InfinityLoader } from './index.es3.js';
5
+ import { useFetchNextPageOnScroll } from './index41.mjs';
6
+ import { InfinityLoader } from './index3.mjs';
7
7
 
8
8
  function SelectInfinity({
9
9
  value,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const dates = require('@mantine/dates');
7
- const CalendarIcon = require('./index.cjs54.js');
7
+ const CalendarIcon = require('./index54.cjs');
8
8
 
9
9
  const MyMonthPickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.MonthPickerInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { MonthPickerInput } from '@mantine/dates';
3
- import CalendarIcon from './index.es54.js';
3
+ import CalendarIcon from './index54.mjs';
4
4
 
5
5
  const MyMonthPickerInput = (props) => /* @__PURE__ */ jsx(
6
6
  MonthPickerInput,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const clsx = require('clsx');
7
- const Icon = require('./index.cjs5.js');
7
+ const Icon = require('./index5.cjs');
8
8
 
9
9
  const pxBySize = {
10
10
  sm: 48,
@@ -1,6 +1,6 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
- import { Icon } from './index.es5.js';
3
+ import { Icon } from './index5.mjs';
4
4
 
5
5
  const pxBySize = {
6
6
  sm: 48,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const core = require('@mantine/core');
7
- const withForm = require('./index.cjs38.js');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormCheckbox = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  core.Checkbox,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Checkbox } from '@mantine/core';
3
- import { withForm } from './index.es38.js';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormCheckbox = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  Checkbox,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs6.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index6.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormDatePickerInput = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyDatePickerInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyDatePickerInput } from './index.es6.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyDatePickerInput } from './index6.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormDatePickerInput = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyDatePickerInput,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs7.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index7.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormDateTimePicker = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyDateTimePicker,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyDateTimePicker } from './index.es7.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyDateTimePicker } from './index7.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormDateTimePicker = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyDateTimePicker,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs9.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index9.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormNumberInput = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyNumberInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyNumberInput } from './index.es9.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyNumberInput } from './index9.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormNumberInput = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyNumberInput,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const core = require('@mantine/core');
7
- const withForm = require('./index.cjs38.js');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormRadioGroup = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  core.Radio.Group,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Radio } from '@mantine/core';
3
- import { withForm } from './index.es38.js';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormRadioGroup = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  Radio.Group,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs10.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index10.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormSelect = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MySelect,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MySelect } from './index.es10.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MySelect } from './index10.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormSelect = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MySelect,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs14.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index14.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormSelectInfinity = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.SelectInfinity,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { SelectInfinity } from './index.es14.js';
3
- import { withForm } from './index.es38.js';
2
+ import { SelectInfinity } from './index14.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormSelectInfinity = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  SelectInfinity,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs11.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index11.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormTextarea = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyTextarea,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyTextarea } from './index.es11.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyTextarea } from './index11.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormTextarea = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyTextarea,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs12.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index12.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormTextInput = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyTextInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyTextInput } from './index.es12.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyTextInput } from './index12.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormTextInput = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyTextInput,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs13.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index13.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormTimeInput = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyTimeInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyTimeInput } from './index.es13.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyTimeInput } from './index13.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormTimeInput = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyTimeInput,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs15.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index15.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormMultiSelect = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyMultiSelect,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyMultiSelect } from './index.es15.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyMultiSelect } from './index15.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormMultiSelect = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyMultiSelect,
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
- const index = require('./index.cjs16.js');
7
- const withForm = require('./index.cjs38.js');
6
+ const index = require('./index16.cjs');
7
+ const withForm = require('./index38.cjs');
8
8
 
9
9
  const FormMonthPickerInput = withForm.withForm(({ field, props }) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  index.MyMonthPickerInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { MyMonthPickerInput } from './index.es16.js';
3
- import { withForm } from './index.es38.js';
2
+ import { MyMonthPickerInput } from './index16.mjs';
3
+ import { withForm } from './index38.mjs';
4
4
 
5
5
  const FormMonthPickerInput = withForm(({ field, props }) => /* @__PURE__ */ jsx(
6
6
  MyMonthPickerInput,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
5
 
6
6
  const jsxRuntime = require('react/jsx-runtime');
7
7
  const reactHookForm = require('react-hook-form');
8
- const zodValidator = require('./index.cjs23.js');
8
+ const zodValidator = require('./index23.cjs');
9
9
 
10
10
  const withForm = (WrappedComponent, getControllerProps) => {
11
11
  const FormField = (props) => {
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { Controller } from 'react-hook-form';
4
- import { zodValidator } from './index.es23.js';
4
+ import { zodValidator } from './index23.mjs';
5
5
 
6
6
  const withForm = (WrappedComponent, getControllerProps) => {
7
7
  const FormField = (props) => {
@@ -3,7 +3,7 @@
3
3
 
4
4
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
5
 
6
- const useOnScrollProgress = require('./index.cjs42.js');
6
+ const useOnScrollProgress = require('./index42.cjs');
7
7
 
8
8
  const useFetchNextPageOnScroll = ({
9
9
  infinity,
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import { useOnScrollProgress } from './index.es42.js';
2
+ import { useOnScrollProgress } from './index42.mjs';
3
3
 
4
4
  const useFetchNextPageOnScroll = ({
5
5
  infinity,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const core = require('@mantine/core');
6
- const breakpointsWithPx = require('./index.cjs44.js');
6
+ const breakpointsWithPx = require('./index44.cjs');
7
7
 
8
8
  const myDefaultTheme = {
9
9
  breakpoints: breakpointsWithPx.breakpointsWithPx,
@@ -1,5 +1,5 @@
1
1
  import { Tooltip, Menu, Select, AppShell, Notification } from '@mantine/core';
2
- import { breakpointsWithPx } from './index.es44.js';
2
+ import { breakpointsWithPx } from './index44.mjs';
3
3
 
4
4
  const myDefaultTheme = {
5
5
  breakpoints: breakpointsWithPx,
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const ky = require('ky');
6
- const parseJson = require('./index.cjs49.js');
6
+ const parseJson = require('./index49.cjs');
7
7
 
8
8
  class KyError extends ky.HTTPError {
9
9
  constructor(response, request, options, bodyJson) {
@@ -1,5 +1,5 @@
1
1
  import { HTTPError } from 'ky';
2
- import { parseJSON } from './index.es49.js';
2
+ import { parseJSON } from './index49.mjs';
3
3
 
4
4
  class KyError extends HTTPError {
5
5
  constructor(response, request, options, bodyJson) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const dates = require('@mantine/dates');
7
- const CalendarIcon = require('./index.cjs54.js');
7
+ const CalendarIcon = require('./index54.cjs');
8
8
 
9
9
  const MyDatePickerInput = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.DatePickerInput,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DatePickerInput } from '@mantine/dates';
3
- import CalendarIcon from './index.es54.js';
3
+ import CalendarIcon from './index54.mjs';
4
4
 
5
5
  const MyDatePickerInput = (props) => /* @__PURE__ */ jsx(
6
6
  DatePickerInput,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const dates = require('@mantine/dates');
7
- const CalendarIcon = require('./index.cjs54.js');
7
+ const CalendarIcon = require('./index54.cjs');
8
8
 
9
9
  const MyDateTimePicker = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  dates.DateTimePicker,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { DateTimePicker } from '@mantine/dates';
3
- import CalendarIcon from './index.es54.js';
3
+ import CalendarIcon from './index54.mjs';
4
4
 
5
5
  const MyDateTimePicker = (props) => /* @__PURE__ */ jsx(
6
6
  DateTimePicker,
@@ -4,7 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
5
  const jsxRuntime = require('react/jsx-runtime');
6
6
  const notifications = require('@mantine/notifications');
7
- ;/* empty css */
7
+ ;/* empty css */
8
8
 
9
9
  const MyNotifications = (props) => /* @__PURE__ */ jsxRuntime.jsx(
10
10
  notifications.Notifications,
@@ -1,6 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { Notifications } from '@mantine/notifications';
3
- /* empty css */
3
+ /* empty css */
4
4
 
5
5
  const MyNotifications = (props) => /* @__PURE__ */ jsx(
6
6
  Notifications,
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.3.15",
3
+ "version": "0.3.16",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
- "main": "./dist/index.cjs.js",
9
- "module": "./dist/index.es.js",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.mjs",
10
10
  "types": "./dist/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
- "import": "./dist/index.es.js",
15
- "require": "./dist/index.cjs.js"
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
16
  }
17
17
  },
18
18
  "sideEffects": false,
package/dist/index.es.js DELETED
@@ -1,52 +0,0 @@
1
- export { EmptyState } from './index.es2.js';
2
- export { InfinityLoader } from './index.es3.js';
3
- export { NavItems } from './index.es4.js';
4
- export { Icon } from './index.es5.js';
5
- export { MyDatePickerInput } from './index.es6.js';
6
- export { MyDateTimePicker } from './index.es7.js';
7
- export { MyNotifications } from './index.es8.js';
8
- export { MyNumberInput } from './index.es9.js';
9
- export { MySelect } from './index.es10.js';
10
- export { MyTextarea } from './index.es11.js';
11
- export { MyTextInput } from './index.es12.js';
12
- export { MyTimeInput } from './index.es13.js';
13
- export { SelectInfinity } from './index.es14.js';
14
- export { MyMultiSelect } from './index.es15.js';
15
- export { MyMonthPickerInput } from './index.es16.js';
16
- export { HttpStatus } from './index.es17.js';
17
- export { Revalidate } from './index.es18.js';
18
- export { NavigationHistoryProvider, QP_BACK_URL_NAME, useNavigationHistory } from './index.es19.js';
19
- export { PageDataProvider, usePageData } from './index.es20.js';
20
- export { Form } from './index.es21.js';
21
- export { FormButtonSubmit } from './index.es22.js';
22
- export { zodValidator } from './index.es23.js';
23
- export { nullableButRequired } from './index.es24.js';
24
- export { optionalButRequired } from './index.es25.js';
25
- export { FormCheckbox } from './index.es26.js';
26
- export { FormDatePickerInput } from './index.es27.js';
27
- export { FormDateTimePicker } from './index.es28.js';
28
- export { FormNumberInput } from './index.es29.js';
29
- export { FormRadioGroup } from './index.es30.js';
30
- export { FormSelect } from './index.es31.js';
31
- export { FormSelectInfinity } from './index.es32.js';
32
- export { FormTextarea } from './index.es33.js';
33
- export { FormTextInput } from './index.es34.js';
34
- export { FormTimeInput, numberToTimeInput, timeInputToNumber } from './index.es35.js';
35
- export { FormMultiSelect } from './index.es36.js';
36
- export { FormMonthPickerInput } from './index.es37.js';
37
- export { withForm } from './index.es38.js';
38
- export { withModalManager } from './index.es39.js';
39
- export { useBreakpoint } from './index.es40.js';
40
- export { useFetchNextPageOnScroll } from './index.es41.js';
41
- export { useOnScrollProgress } from './index.es42.js';
42
- export { useUpdateSearchParams } from './index.es43.js';
43
- export { breakpointsWithPx } from './index.es44.js';
44
- export { toTailwindColors } from './index.es45.js';
45
- export { myDefaultTheme } from './index.es46.js';
46
- export { formatBytes } from './index.es47.js';
47
- export { KyError, addBodyJsonHook } from './index.es48.js';
48
- export { parseJSON } from './index.es49.js';
49
- export { groupBy, indexBy } from './index.es50.js';
50
- export { shuffleArray } from './index.es51.js';
51
- export { newHref } from './index.es52.js';
52
- export { isInfinityEmpty } from './index.es53.js';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes