@mijn-ui/react-calendar 0.0.9 → 0.0.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
- import { UnstyledProps } from '@mijn-ui/react-utilities/shared';
3
+ import { UnstyledProps } from '@mijn-ui/react-core';
4
4
  import { DayPicker } from 'react-day-picker';
5
5
 
6
6
  type CalendarProps = React.ComponentProps<typeof DayPicker> & UnstyledProps;
package/dist/index.js CHANGED
@@ -1,9 +1,7 @@
1
1
  "use client"
2
2
 
3
3
  // src/calendar.tsx
4
- import {
5
- createTVUnstyledSlots
6
- } from "@mijn-ui/react-utilities/shared";
4
+ import { createTVUnstyledSlots } from "@mijn-ui/react-core";
7
5
  import { DayFlag, DayPicker, SelectionState, UI } from "react-day-picker";
8
6
  import {
9
7
  ChevronDownIcon,
@@ -1 +1 @@
1
- {"inputs":{"src/calendar.tsx":{"bytes":2150,"imports":[{"path":"react","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":"@mijn-ui/react-theme","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-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":"@mijn-ui/react-theme","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":2142},"src/index.ts":{"bytesInOutput":0}},"bytes":2185}}}
1
+ {"inputs":{"src/calendar.tsx":{"bytes":2133,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@mijn-ui/react-core","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":"@mijn-ui/react-theme","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-core","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":"@mijn-ui/react-theme","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":2128},"src/index.ts":{"bytesInOutput":0}},"bytes":2171}}}
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.9",
4
+ "version": "0.0.11",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -20,24 +20,26 @@
20
20
  "exports": "./dist/index.js",
21
21
  "types": "./dist/index.d.ts",
22
22
  "devDependencies": {
23
+ "react": "19.0.0",
24
+ "react-dom": "19.0.0",
23
25
  "@next/eslint-plugin-next": "^15.0.3",
24
- "@types/react": "^18.3.12",
25
- "@types/react-dom": "^18.3.1",
26
+ "@types/react": "^19.0.0",
27
+ "@types/react-dom": "^19.0.0",
28
+ "@mijn-ui/react-core": "0.0.3",
26
29
  "eslint-config-custom": "0.0.1",
27
30
  "tsconfig": "0.0.0",
28
31
  "tsup-config": "0.0.0"
29
32
  },
30
33
  "dependencies": {
31
- "react": "19.0.0-rc-b01722d5-20241114",
32
- "react-dom": "19.0.0-rc-b01722d5-20241114",
33
34
  "react-day-picker": "^9.3.0",
34
- "@mijn-ui/react-utilities": "0.0.7",
35
- "@mijn-ui/react-theme": "0.0.6",
36
- "@mijn-ui/shared-icons": "0.0.2"
35
+ "@mijn-ui/shared-icons": "0.0.3",
36
+ "@mijn-ui/react-utilities": "0.0.8"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "^19.0",
40
- "react-dom": "^19.0"
40
+ "react-dom": "^19.0",
41
+ "@mijn-ui/react-theme": "^0.0.6",
42
+ "@mijn-ui/react-core": "^0.0.3"
41
43
  },
42
44
  "publishConfig": {
43
45
  "access": "public"
@@ -48,7 +50,7 @@
48
50
  "nextjs"
49
51
  ],
50
52
  "scripts": {
51
- "clean": "rimraf dist",
53
+ "clean": "rimraf dist .turbo",
52
54
  "build": "tsup",
53
55
  "lint": "eslint .",
54
56
  "lint:fix": "eslint . --fix",