next-recomponents 1.6.84 → 1.6.85

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.css CHANGED
@@ -1,4 +1,4 @@
1
- /* ../../node_modules/react-calendar/dist/Calendar.css */
1
+ /* src/calendar/calendar.css */
2
2
  .react-calendar {
3
3
  width: 350px;
4
4
  max-width: 100%;
package/dist/index.js CHANGED
@@ -44218,7 +44218,6 @@ function useExcel() {
44218
44218
 
44219
44219
  // src/calendar/index.tsx
44220
44220
  var import_react31 = require("react");
44221
- var import_Calendar = require("react-calendar/dist/Calendar.css");
44222
44221
  var import_react_calendar = __toESM(require("react-calendar"));
44223
44222
 
44224
44223
  // src/calendar/calendar.icon.tsx
package/dist/index.mjs CHANGED
@@ -44208,7 +44208,6 @@ function useExcel() {
44208
44208
 
44209
44209
  // src/calendar/index.tsx
44210
44210
  import { useEffect as useEffect9, useRef as useRef7, useState as useState10 } from "react";
44211
- import "react-calendar/dist/Calendar.css";
44212
44211
  import Calendar from "react-calendar";
44213
44212
 
44214
44213
  // src/calendar/calendar.icon.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.6.84",
3
+ "version": "1.6.85",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1,155 @@
1
+ .react-calendar {
2
+ width: 350px;
3
+ max-width: 100%;
4
+ background: white;
5
+ border: 1px solid #a0a096;
6
+ font-family: "Arial", "Helvetica", sans-serif;
7
+ line-height: 1.125em;
8
+ }
9
+
10
+ .react-calendar--doubleView {
11
+ width: 700px;
12
+ }
13
+
14
+ .react-calendar--doubleView .react-calendar__viewContainer {
15
+ display: flex;
16
+ margin: -0.5em;
17
+ }
18
+
19
+ .react-calendar--doubleView .react-calendar__viewContainer > * {
20
+ width: 50%;
21
+ margin: 0.5em;
22
+ }
23
+
24
+ .react-calendar,
25
+ .react-calendar *,
26
+ .react-calendar *:before,
27
+ .react-calendar *:after {
28
+ -moz-box-sizing: border-box;
29
+ -webkit-box-sizing: border-box;
30
+ box-sizing: border-box;
31
+ }
32
+
33
+ .react-calendar button {
34
+ margin: 0;
35
+ border: 0;
36
+ outline: none;
37
+ }
38
+
39
+ .react-calendar button:enabled:hover {
40
+ cursor: pointer;
41
+ }
42
+
43
+ .react-calendar__navigation {
44
+ display: flex;
45
+ height: 44px;
46
+ margin-bottom: 1em;
47
+ }
48
+
49
+ .react-calendar__navigation button {
50
+ min-width: 44px;
51
+ background: none;
52
+ }
53
+
54
+ .react-calendar__navigation button:disabled {
55
+ background-color: #f0f0f0;
56
+ }
57
+
58
+ .react-calendar__navigation button:enabled:hover,
59
+ .react-calendar__navigation button:enabled:focus {
60
+ background-color: #e6e6e6;
61
+ }
62
+
63
+ .react-calendar__month-view__weekdays {
64
+ text-align: center;
65
+ text-transform: uppercase;
66
+ font: inherit;
67
+ font-size: 0.75em;
68
+ font-weight: bold;
69
+ }
70
+
71
+ .react-calendar__month-view__weekdays__weekday {
72
+ padding: 0.5em;
73
+ }
74
+
75
+ .react-calendar__month-view__weekNumbers .react-calendar__tile {
76
+ display: flex;
77
+ align-items: center;
78
+ justify-content: center;
79
+ font: inherit;
80
+ font-size: 0.75em;
81
+ font-weight: bold;
82
+ }
83
+
84
+ .react-calendar__month-view__days__day--weekend {
85
+ color: #d10000;
86
+ }
87
+
88
+ .react-calendar__month-view__days__day--neighboringMonth,
89
+ .react-calendar__decade-view__years__year--neighboringDecade,
90
+ .react-calendar__century-view__decades__decade--neighboringCentury {
91
+ color: #757575;
92
+ }
93
+
94
+ .react-calendar__year-view .react-calendar__tile,
95
+ .react-calendar__decade-view .react-calendar__tile,
96
+ .react-calendar__century-view .react-calendar__tile {
97
+ padding: 2em 0.5em;
98
+ }
99
+
100
+ .react-calendar__tile {
101
+ max-width: 100%;
102
+ padding: 10px 6.6667px;
103
+ background: none;
104
+ text-align: center;
105
+ font: inherit;
106
+ font-size: 0.833em;
107
+ }
108
+
109
+ .react-calendar__tile:disabled {
110
+ background-color: #f0f0f0;
111
+ color: #ababab;
112
+ }
113
+
114
+ .react-calendar__month-view__days__day--neighboringMonth:disabled,
115
+ .react-calendar__decade-view__years__year--neighboringDecade:disabled,
116
+ .react-calendar__century-view__decades__decade--neighboringCentury:disabled {
117
+ color: #cdcdcd;
118
+ }
119
+
120
+ .react-calendar__tile:enabled:hover,
121
+ .react-calendar__tile:enabled:focus {
122
+ background-color: #e6e6e6;
123
+ }
124
+
125
+ .react-calendar__tile--now {
126
+ background: #ffff76;
127
+ }
128
+
129
+ .react-calendar__tile--now:enabled:hover,
130
+ .react-calendar__tile--now:enabled:focus {
131
+ background: #ffffa9;
132
+ }
133
+
134
+ .react-calendar__tile--hasActive {
135
+ background: #76baff;
136
+ }
137
+
138
+ .react-calendar__tile--hasActive:enabled:hover,
139
+ .react-calendar__tile--hasActive:enabled:focus {
140
+ background: #a9d4ff;
141
+ }
142
+
143
+ .react-calendar__tile--active {
144
+ background: #006edc;
145
+ color: white;
146
+ }
147
+
148
+ .react-calendar__tile--active:enabled:hover,
149
+ .react-calendar__tile--active:enabled:focus {
150
+ background: #1087ff;
151
+ }
152
+
153
+ .react-calendar--selectRange .react-calendar__tile--hover {
154
+ background-color: #e6e6e6;
155
+ }
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { useEffect, useRef, useState } from "react";
3
- import "react-calendar/dist/Calendar.css";
3
+ import "./calendar.css";
4
4
  import Calendar from "react-calendar";
5
5
  import CalendarIcon from "./calendar.icon";
6
6