@react-fabric/date 1.0.0-beta.60 → 1.0.0-beta.61
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.
|
@@ -86,7 +86,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
86
86
|
"data-page": page,
|
|
87
87
|
children: [startPage !== undefined && /*#__PURE__*/jsxRuntime.jsx(core.Button, {
|
|
88
88
|
icon: {
|
|
89
|
-
icon:
|
|
89
|
+
icon: "icon-[mdi--chevron-double-left]",
|
|
90
90
|
rtlFlip: true
|
|
91
91
|
},
|
|
92
92
|
size: "sm",
|
|
@@ -99,7 +99,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
99
99
|
}
|
|
100
100
|
}), /*#__PURE__*/jsxRuntime.jsx(core.Button, {
|
|
101
101
|
icon: {
|
|
102
|
-
icon:
|
|
102
|
+
icon: "icon-[mdi--chevron-left]",
|
|
103
103
|
rtlFlip: true
|
|
104
104
|
},
|
|
105
105
|
size: "sm",
|
|
@@ -119,7 +119,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
119
119
|
children: headLabel
|
|
120
120
|
}), /*#__PURE__*/jsxRuntime.jsx(core.Button, {
|
|
121
121
|
icon: {
|
|
122
|
-
icon:
|
|
122
|
+
icon: "icon-[mdi--chevron-right]",
|
|
123
123
|
rtlFlip: true
|
|
124
124
|
},
|
|
125
125
|
size: "sm",
|
|
@@ -132,7 +132,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
132
132
|
}
|
|
133
133
|
}), endPage !== undefined && /*#__PURE__*/jsxRuntime.jsx(core.Button, {
|
|
134
134
|
icon: {
|
|
135
|
-
icon:
|
|
135
|
+
icon: "icon-[mdi--chevron-double-right]",
|
|
136
136
|
rtlFlip: true
|
|
137
137
|
},
|
|
138
138
|
size: "sm",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
|
-
import { Button
|
|
4
|
+
import { Button } from '@react-fabric/core';
|
|
5
5
|
import classNames from 'classnames';
|
|
6
6
|
import { addDays, isBefore, isAfter } from 'date-fns';
|
|
7
7
|
import i18next from 'i18next';
|
|
@@ -86,7 +86,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
86
86
|
"data-page": page,
|
|
87
87
|
children: [startPage !== undefined && /*#__PURE__*/jsx(Button, {
|
|
88
88
|
icon: {
|
|
89
|
-
icon:
|
|
89
|
+
icon: "icon-[mdi--chevron-double-left]",
|
|
90
90
|
rtlFlip: true
|
|
91
91
|
},
|
|
92
92
|
size: "sm",
|
|
@@ -99,7 +99,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
99
99
|
}
|
|
100
100
|
}), /*#__PURE__*/jsx(Button, {
|
|
101
101
|
icon: {
|
|
102
|
-
icon:
|
|
102
|
+
icon: "icon-[mdi--chevron-left]",
|
|
103
103
|
rtlFlip: true
|
|
104
104
|
},
|
|
105
105
|
size: "sm",
|
|
@@ -119,7 +119,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
119
119
|
children: headLabel
|
|
120
120
|
}), /*#__PURE__*/jsx(Button, {
|
|
121
121
|
icon: {
|
|
122
|
-
icon:
|
|
122
|
+
icon: "icon-[mdi--chevron-right]",
|
|
123
123
|
rtlFlip: true
|
|
124
124
|
},
|
|
125
125
|
size: "sm",
|
|
@@ -132,7 +132,7 @@ var DateHeader = function DateHeader(props) {
|
|
|
132
132
|
}
|
|
133
133
|
}), endPage !== undefined && /*#__PURE__*/jsx(Button, {
|
|
134
134
|
icon: {
|
|
135
|
-
icon:
|
|
135
|
+
icon: "icon-[mdi--chevron-double-right]",
|
|
136
136
|
rtlFlip: true
|
|
137
137
|
},
|
|
138
138
|
size: "sm",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/date",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.61",
|
|
4
4
|
"description": "RUF: Date package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"watch": "npm-run-all -p watch:rollup watch:dts"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@react-fabric/core": "^1.0.0-beta.
|
|
39
|
-
"@react-fabric/utilities": "^1.0.0-beta.
|
|
38
|
+
"@react-fabric/core": "^1.0.0-beta.61",
|
|
39
|
+
"@react-fabric/utilities": "^1.0.0-beta.61",
|
|
40
40
|
"classnames": "~2.5.1",
|
|
41
41
|
"date-fns": "~4.1.0",
|
|
42
42
|
"resize-observer-polyfill": "~1.5.1"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"node": ">=18.12.0",
|
|
52
52
|
"npm": ">=8.19.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "a0b0c571bf9c189fa3355bbc3b896ecc4b9d6a04"
|
|
55
55
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { Button
|
|
24
|
+
import { Button } from "@react-fabric/core";
|
|
25
25
|
import classNames from "classnames";
|
|
26
26
|
import { addDays, isAfter, isBefore } from "date-fns";
|
|
27
27
|
import i18next from "i18next";
|
|
@@ -166,7 +166,7 @@ export const DateHeader = (props: Props) => {
|
|
|
166
166
|
<div className="flex flex-nowrap items-center area-head" data-page={page}>
|
|
167
167
|
{startPage !== undefined && (
|
|
168
168
|
<Button
|
|
169
|
-
icon={{ icon:
|
|
169
|
+
icon={{ icon: "icon-[mdi--chevron-double-left]", rtlFlip: true }}
|
|
170
170
|
size="sm"
|
|
171
171
|
variant="link"
|
|
172
172
|
aria-label="start"
|
|
@@ -176,7 +176,7 @@ export const DateHeader = (props: Props) => {
|
|
|
176
176
|
/>
|
|
177
177
|
)}
|
|
178
178
|
<Button
|
|
179
|
-
icon={{ icon:
|
|
179
|
+
icon={{ icon: "icon-[mdi--chevron-left]", rtlFlip: true }}
|
|
180
180
|
size="sm"
|
|
181
181
|
variant="link"
|
|
182
182
|
aria-label="prev"
|
|
@@ -195,7 +195,7 @@ export const DateHeader = (props: Props) => {
|
|
|
195
195
|
{headLabel}
|
|
196
196
|
</div>
|
|
197
197
|
<Button
|
|
198
|
-
icon={{ icon:
|
|
198
|
+
icon={{ icon: "icon-[mdi--chevron-right]", rtlFlip: true }}
|
|
199
199
|
size="sm"
|
|
200
200
|
variant="link"
|
|
201
201
|
aria-label="next"
|
|
@@ -205,7 +205,7 @@ export const DateHeader = (props: Props) => {
|
|
|
205
205
|
/>
|
|
206
206
|
{endPage !== undefined && (
|
|
207
207
|
<Button
|
|
208
|
-
icon={{ icon:
|
|
208
|
+
icon={{ icon: "icon-[mdi--chevron-double-right]", rtlFlip: true }}
|
|
209
209
|
size="sm"
|
|
210
210
|
variant="link"
|
|
211
211
|
aria-label="end"
|