lkd-web-kit 0.3.18 → 0.3.20

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/components/EmptyState/index.cjs +43 -0
  2. package/dist/{index2.mjs → components/EmptyState/index.js} +1 -1
  3. package/dist/components/Icon.cjs +54 -0
  4. package/dist/components/InfinityLoader/index.cjs +46 -0
  5. package/dist/components/MyDatePickerInput/CalendarIcon.cjs +65 -0
  6. package/dist/components/MyDatePickerInput/index.cjs +19 -0
  7. package/dist/{index6.mjs → components/MyDatePickerInput/index.js} +1 -1
  8. package/dist/components/MyDateTimePicker/index.cjs +19 -0
  9. package/dist/{index7.mjs → components/MyDateTimePicker/index.js} +1 -1
  10. package/dist/components/MyMonthPickerInput/index.cjs +19 -0
  11. package/dist/{index16.mjs → components/MyMonthPickerInput/index.js} +1 -1
  12. package/dist/components/MyMultiSelect/index.cjs +16 -0
  13. package/dist/components/MyNotifications/index.cjs +17 -0
  14. package/dist/{index8.mjs → components/MyNotifications/index.js} +1 -1
  15. package/dist/components/MyNumberInput/index.cjs +16 -0
  16. package/dist/components/MySelect/index.cjs +16 -0
  17. package/dist/components/MyTextInput/index.cjs +16 -0
  18. package/dist/components/MyTextarea/index.cjs +16 -0
  19. package/dist/components/MyTimeInput/index.cjs +16 -0
  20. package/dist/components/NavItems.cjs +40 -0
  21. package/dist/components/SelectInfinity/index.cjs +118 -0
  22. package/dist/{index14.mjs → components/SelectInfinity/index.js} +2 -2
  23. package/dist/consts/http-status.cjs +70 -0
  24. package/dist/consts/revalidate.cjs +14 -0
  25. package/dist/contexts/NavigationHistoryContext/index.cjs +66 -0
  26. package/dist/contexts/PageDataContext/index.cjs +21 -0
  27. package/dist/form/Form.cjs +30 -0
  28. package/dist/form/FormButtonSubmit.cjs +24 -0
  29. package/dist/form/base/FormCheckbox.cjs +18 -0
  30. package/dist/{index26.mjs → form/base/FormCheckbox.js} +1 -1
  31. package/dist/form/base/FormDatePickerInput.cjs +17 -0
  32. package/dist/{index27.mjs → form/base/FormDatePickerInput.js} +2 -2
  33. package/dist/form/base/FormDateTimePicker.cjs +17 -0
  34. package/dist/{index28.mjs → form/base/FormDateTimePicker.js} +2 -2
  35. package/dist/form/base/FormMonthPickerInput.cjs +17 -0
  36. package/dist/{index37.mjs → form/base/FormMonthPickerInput.js} +2 -2
  37. package/dist/form/base/FormMultiSelect.cjs +17 -0
  38. package/dist/{index36.mjs → form/base/FormMultiSelect.js} +2 -2
  39. package/dist/form/base/FormNumberInput.cjs +17 -0
  40. package/dist/{index29.mjs → form/base/FormNumberInput.js} +2 -2
  41. package/dist/form/base/FormRadioGroup.cjs +17 -0
  42. package/dist/{index30.mjs → form/base/FormRadioGroup.js} +1 -1
  43. package/dist/form/base/FormSelect.cjs +17 -0
  44. package/dist/{index31.mjs → form/base/FormSelect.js} +2 -2
  45. package/dist/form/base/FormSelectInfinity.cjs +17 -0
  46. package/dist/{index32.mjs → form/base/FormSelectInfinity.js} +2 -2
  47. package/dist/form/base/FormTextInput.cjs +17 -0
  48. package/dist/{index34.mjs → form/base/FormTextInput.js} +2 -2
  49. package/dist/form/base/FormTextarea.cjs +17 -0
  50. package/dist/{index33.mjs → form/base/FormTextarea.js} +2 -2
  51. package/dist/form/base/FormTimeInput.cjs +29 -0
  52. package/dist/{index35.mjs → form/base/FormTimeInput.js} +2 -2
  53. package/dist/form/utils/nullable-but-required.cjs +16 -0
  54. package/dist/form/utils/optional-but-required.cjs +16 -0
  55. package/dist/form/utils/zodValidator.cjs +15 -0
  56. package/dist/hocs/withForm.cjs +51 -0
  57. package/dist/{index38.mjs → hocs/withForm.js} +1 -1
  58. package/dist/hocs/withModalManager.cjs +38 -0
  59. package/dist/hooks/useBreakpoint.cjs +15 -0
  60. package/dist/hooks/useFetchNextPageOnScroll.cjs +23 -0
  61. package/dist/{index41.mjs → hooks/useFetchNextPageOnScroll.js} +1 -1
  62. package/dist/hooks/useOnScrollProgress.cjs +39 -0
  63. package/dist/hooks/useUpdateSearchParams.cjs +24 -0
  64. package/dist/index.cjs +117 -0
  65. package/dist/index.js +52 -0
  66. package/dist/mantine/breakpoints-with-px.cjs +14 -0
  67. package/dist/mantine/my-default-theme.cjs +43 -0
  68. package/dist/{index46.mjs → mantine/my-default-theme.js} +1 -1
  69. package/dist/mantine/to-tailwind-colors.cjs +19 -0
  70. package/dist/utils/array/groupBy.cjs +45 -0
  71. package/dist/utils/array/shuffleArray.cjs +19 -0
  72. package/dist/utils/formatBytes.cjs +14 -0
  73. package/dist/utils/isInfinityEmpty.cjs +7 -0
  74. package/dist/utils/ky/addBodyJsonHook.cjs +12 -0
  75. package/dist/{index48.mjs → utils/ky/addBodyJsonHook.js} +1 -1
  76. package/dist/utils/ky/parseJson.cjs +11 -0
  77. package/dist/utils/newHref.cjs +23 -0
  78. package/dist/{index52.mjs → utils/newHref.js} +4 -5
  79. package/package.json +13 -3
  80. package/dist/index.mjs +0 -52
  81. /package/dist/{index5.mjs → components/Icon.js} +0 -0
  82. /package/dist/{index3.mjs → components/InfinityLoader/index.js} +0 -0
  83. /package/dist/{index54.mjs → components/MyDatePickerInput/CalendarIcon.js} +0 -0
  84. /package/dist/{index15.mjs → components/MyMultiSelect/index.js} +0 -0
  85. /package/dist/{index9.mjs → components/MyNumberInput/index.js} +0 -0
  86. /package/dist/{index10.mjs → components/MySelect/index.js} +0 -0
  87. /package/dist/{index12.mjs → components/MyTextInput/index.js} +0 -0
  88. /package/dist/{index11.mjs → components/MyTextarea/index.js} +0 -0
  89. /package/dist/{index13.mjs → components/MyTimeInput/index.js} +0 -0
  90. /package/dist/{index4.mjs → components/NavItems.js} +0 -0
  91. /package/dist/{index17.mjs → consts/http-status.js} +0 -0
  92. /package/dist/{index18.mjs → consts/revalidate.js} +0 -0
  93. /package/dist/{index19.mjs → contexts/NavigationHistoryContext/index.js} +0 -0
  94. /package/dist/{index20.mjs → contexts/PageDataContext/index.js} +0 -0
  95. /package/dist/{index21.mjs → form/Form.js} +0 -0
  96. /package/dist/{index22.mjs → form/FormButtonSubmit.js} +0 -0
  97. /package/dist/{index24.mjs → form/utils/nullable-but-required.js} +0 -0
  98. /package/dist/{index25.mjs → form/utils/optional-but-required.js} +0 -0
  99. /package/dist/{index23.mjs → form/utils/zodValidator.js} +0 -0
  100. /package/dist/{index39.mjs → hocs/withModalManager.js} +0 -0
  101. /package/dist/{index40.mjs → hooks/useBreakpoint.js} +0 -0
  102. /package/dist/{index42.mjs → hooks/useOnScrollProgress.js} +0 -0
  103. /package/dist/{index43.mjs → hooks/useUpdateSearchParams.js} +0 -0
  104. /package/dist/{index44.mjs → mantine/breakpoints-with-px.js} +0 -0
  105. /package/dist/{index45.mjs → mantine/to-tailwind-colors.js} +0 -0
  106. /package/dist/{index50.mjs → utils/array/groupBy.js} +0 -0
  107. /package/dist/{index51.mjs → utils/array/shuffleArray.js} +0 -0
  108. /package/dist/{index47.mjs → utils/formatBytes.js} +0 -0
  109. /package/dist/{index53.mjs → utils/isInfinityEmpty.js} +0 -0
  110. /package/dist/{index49.mjs → utils/ky/parseJson.js} +0 -0
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "lkd-web-kit",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
4
4
  "description": "A template for creating React component libraries with Vite.",
5
5
  "author": "LKD",
6
6
  "license": "MIT",
7
- "main": "./dist/index.mjs",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
8
10
  "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "require": "./dist/index.cjs",
15
+ "import": "./dist/index.js"
16
+ }
17
+ },
9
18
  "sideEffects": false,
10
19
  "files": [
11
20
  "dist"
@@ -23,6 +32,7 @@
23
32
  "@testing-library/react": "^16.3.0",
24
33
  "@testing-library/user-event": "^14.6.1",
25
34
  "@types/node": "^22.15.21",
35
+ "@types/qs": "^6.14.0",
26
36
  "@types/react": "^19.1.5",
27
37
  "@types/react-dom": "^19.1.5",
28
38
  "@typescript-eslint/eslint-plugin": "^8.32.1",
@@ -52,7 +62,7 @@
52
62
  "clsx": "^2.1.1",
53
63
  "ky": "^1.8.1",
54
64
  "next": "^15.3.3",
55
- "query-string": "^9.2.1",
65
+ "qs": "^6.14.0",
56
66
  "react": "^19.1.0",
57
67
  "react-dom": "^19.1.0",
58
68
  "react-hook-form": "^7.58.1",
package/dist/index.mjs DELETED
@@ -1,52 +0,0 @@
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 { 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';
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