@mijn-ui/react-calendar 0.0.6 → 0.0.7
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.js +9 -9
- package/dist/metafile-esm.json +1 -1
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -5,11 +5,11 @@ import { buttonStyles } from "@mijn-ui/react-button";
|
|
|
5
5
|
import { cn } from "@mijn-ui/react-utilities/shared";
|
|
6
6
|
import { DayFlag, DayPicker, SelectionState, UI } from "react-day-picker";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "
|
|
8
|
+
ChevronDownIcon,
|
|
9
|
+
ChevronLeftIcon,
|
|
10
|
+
ChevronRightIcon,
|
|
11
|
+
ChevronUpIcon
|
|
12
|
+
} from "@mijn-ui/shared-icons";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
var Calendar = ({
|
|
15
15
|
className,
|
|
@@ -63,13 +63,13 @@ var Calendar = ({
|
|
|
63
63
|
var Chevron = ({ orientation = "left" }) => {
|
|
64
64
|
switch (orientation) {
|
|
65
65
|
case "left":
|
|
66
|
-
return /* @__PURE__ */ jsx(
|
|
66
|
+
return /* @__PURE__ */ jsx(ChevronLeftIcon, { className: "size-4" });
|
|
67
67
|
case "right":
|
|
68
|
-
return /* @__PURE__ */ jsx(
|
|
68
|
+
return /* @__PURE__ */ jsx(ChevronRightIcon, { className: "size-4" });
|
|
69
69
|
case "up":
|
|
70
|
-
return /* @__PURE__ */ jsx(
|
|
70
|
+
return /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" });
|
|
71
71
|
case "down":
|
|
72
|
-
return /* @__PURE__ */ jsx(
|
|
72
|
+
return /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" });
|
|
73
73
|
default:
|
|
74
74
|
return null;
|
|
75
75
|
}
|
package/dist/metafile-esm.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/calendar.tsx":{"bytes":
|
|
1
|
+
{"inputs":{"src/calendar.tsx":{"bytes":3229,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-button","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"react-day-picker","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":27,"imports":[{"path":"src/calendar.tsx","kind":"import-statement","original":"./calendar"}],"format":"esm"}},"outputs":{"dist/index.js":{"imports":[{"path":"@mijn-ui/react-button","kind":"import-statement","external":true},{"path":"@mijn-ui/react-utilities/shared","kind":"import-statement","external":true},{"path":"react-day-picker","kind":"import-statement","external":true},{"path":"@mijn-ui/shared-icons","kind":"import-statement","external":true},{"path":"react/jsx-runtime","kind":"import-statement","external":true}],"exports":["Calendar"],"entryPoint":"src/index.ts","inputs":{"src/calendar.tsx":{"bytesInOutput":3204},"src/index.ts":{"bytesInOutput":0}},"bytes":3247}}}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mijn-ui/react-calendar",
|
|
3
3
|
"author": "Htet Aung Lin<htetaunglin.coder@gmail.com>",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"homepage": "https://mijn-ui.vercel.app",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -24,15 +24,16 @@
|
|
|
24
24
|
"@types/react": "^18.3.12",
|
|
25
25
|
"@types/react-dom": "^18.3.1",
|
|
26
26
|
"eslint-config-custom": "0.0.1",
|
|
27
|
-
"tsconfig": "0.0.0"
|
|
27
|
+
"tsconfig": "0.0.0",
|
|
28
|
+
"tsup-config": "0.0.0"
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"react": "19.0.0-rc-b01722d5-20241114",
|
|
31
32
|
"react-dom": "19.0.0-rc-b01722d5-20241114",
|
|
32
33
|
"react-day-picker": "^9.3.0",
|
|
33
|
-
"react-icons": "^5.3.0",
|
|
34
34
|
"@mijn-ui/react-utilities": "0.0.5",
|
|
35
|
-
"@mijn-ui/react-button": "0.0.
|
|
35
|
+
"@mijn-ui/react-button": "0.0.7",
|
|
36
|
+
"@mijn-ui/shared-icons": "0.0.1"
|
|
36
37
|
},
|
|
37
38
|
"peerDependencies": {
|
|
38
39
|
"react": "^19.0",
|