@mijn-ui/react-calendar 0.0.4 → 0.0.6

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 CHANGED
@@ -28,16 +28,16 @@ var Calendar = ({
28
28
  [UI.MonthCaption]: "flex justify-center py-2 relative items-center",
29
29
  [UI.CaptionLabel]: "text-sm font-medium",
30
30
  [UI.PreviousMonthButton]: cn(
31
- buttonStyles({ color: "neutral", variant: "outline" }),
31
+ buttonStyles({ color: "muted", variant: "outline" }),
32
32
  "absolute left-1 top-0 z-10 size-7 bg-transparent p-0 opacity-50 hover:opacity-100"
33
33
  ),
34
34
  [UI.NextMonthButton]: cn(
35
- buttonStyles({ color: "neutral", variant: "outline" }),
35
+ buttonStyles({ color: "muted", variant: "outline" }),
36
36
  "absolute right-1 top-0 z-10 size-7 bg-transparent p-0 opacity-50 hover:opacity-100"
37
37
  ),
38
38
  [UI.MonthGrid]: "w-full border-collapse space-y-1",
39
39
  [UI.Weekdays]: "flex",
40
- [UI.Weekday]: "text-neutral-text w-9 font-normal text-[0.8rem] h-9 flex items-center justify-center",
40
+ [UI.Weekday]: "text-muted-text w-9 font-normal text-[0.8rem] h-9 flex items-center justify-center",
41
41
  [UI.Week]: "flex w-full mt-0.5",
42
42
  [UI.Day]: cn(
43
43
  buttonStyles({ variant: "text", color: "accent" }),
@@ -48,8 +48,8 @@ var Calendar = ({
48
48
  [SelectionState.selected]: "bg-primary text-primary-text hover:bg-primary hover:text-primary-text focus:bg-primary focus:text-primary-text",
49
49
  [SelectionState.range_middle]: "aria-selected:bg-accent/75 aria-selected:text-accent-text",
50
50
  [DayFlag.today]: "bg-accent text-accent-text",
51
- [DayFlag.outside]: "day-outside text-neutral-text opacity-50 aria-selected:bg-accent/50 aria-selected:text-neutral-text aria-selected:opacity-30",
52
- [DayFlag.disabled]: "text-neutral-text opacity-50",
51
+ [DayFlag.outside]: "day-outside text-muted-text opacity-50 aria-selected:bg-accent/50 aria-selected:text-muted-text aria-selected:opacity-30",
52
+ [DayFlag.disabled]: "text-muted-text opacity-50",
53
53
  [DayFlag.hidden]: "invisible",
54
54
  ...classNames
55
55
  },
@@ -1 +1 @@
1
- {"inputs":{"src/calendar.tsx":{"bytes":3218,"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":"react-icons/lu","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":"react-icons/lu","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":3193},"src/index.ts":{"bytesInOutput":0}},"bytes":3236}}}
1
+ {"inputs":{"src/calendar.tsx":{"bytes":3206,"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":"react-icons/lu","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":"react-icons/lu","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":3181},"src/index.ts":{"bytesInOutput":0}},"bytes":3224}}}
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",
4
+ "version": "0.0.6",
5
5
  "homepage": "https://mijn-ui.vercel.app",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -12,7 +12,7 @@
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "git+https://github.com/mijn-ui/mijn-ui-react.git",
15
- "directory": "packages/components/src"
15
+ "directory": "packages/components/calendar"
16
16
  },
17
17
  "bugs": {
18
18
  "url": "https://github.com/mijn-ui/mijn-ui-react/issues"
@@ -31,12 +31,12 @@
31
31
  "react-dom": "19.0.0-rc-b01722d5-20241114",
32
32
  "react-day-picker": "^9.3.0",
33
33
  "react-icons": "^5.3.0",
34
- "@mijn-ui/react-utilities": "0.0.4",
35
- "@mijn-ui/react-button": "0.0.4"
34
+ "@mijn-ui/react-utilities": "0.0.5",
35
+ "@mijn-ui/react-button": "0.0.6"
36
36
  },
37
37
  "peerDependencies": {
38
- "react": "19.0.0-rc-b01722d5-20241114",
39
- "react-dom": "19.0.0-rc-b01722d5-20241114"
38
+ "react": "^19.0",
39
+ "react-dom": "^19.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"