@pezeshk-book/modules 0.0.2 → 0.0.3
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/modules/calender/sub-components/days-head/days-head.js +3 -4
- package/dist/modules/calender/sub-components/days-head/days-head.js.map +1 -1
- package/package.json +1 -1
- package/dist/modules/calender/icons/index.d.ts +0 -4
- package/dist/modules/calender/icons/index.js +0 -5
- package/dist/modules/calender/icons/index.js.map +0 -1
|
@@ -2,7 +2,6 @@ import * as React from "react";
|
|
|
2
2
|
import moment from "jalali-moment";
|
|
3
3
|
import { fa } from "../../config";
|
|
4
4
|
import { Button, Div, Text } from '@pezeshk-book/ui-kit';
|
|
5
|
-
import { ArrowLeftIcon, ArrowRightIcon, CalendarIcon } from '../../icons';
|
|
6
5
|
var DaysHead = function (props) {
|
|
7
6
|
var decreaseMonth = props.decreaseMonth, increaseMonth = props.increaseMonth, monthName = props.monthName, endDate = props.endDate, startDate = props.startDate, year = props.year;
|
|
8
7
|
var backDisable = "".concat(moment(startDate).locale("fa").format("jMMMM"), " ").concat(fa(moment(startDate).format("jYYYY"))) === monthName;
|
|
@@ -16,13 +15,13 @@ var DaysHead = function (props) {
|
|
|
16
15
|
React.createElement(Div, { className: 'items-center mr-8' },
|
|
17
16
|
React.createElement(Button, { variant: "text", size: 'small', className: 'flex items-center', onClick: increaseMonth, shape: 'circle', disabled: forward },
|
|
18
17
|
React.createElement(Div, { className: 'h-3 w-[6px] relative' },
|
|
19
|
-
React.createElement(
|
|
18
|
+
React.createElement(Text, null, "\u0645\u0627\u0647 \u0628\u0639\u062F"))),
|
|
20
19
|
React.createElement(Text, { className: 'mx-1', color: "grey.900", type: 'bold', typography: "xxxl" }, monthName),
|
|
21
20
|
React.createElement(Button, { variant: "text", size: 'small', className: 'flex items-center', onClick: decreaseMonth, shape: 'circle', disabled: backDisable },
|
|
22
21
|
React.createElement(Div, { className: 'h-3 w-[6px] relative' },
|
|
23
|
-
React.createElement(
|
|
22
|
+
React.createElement(Text, null, "\u0645\u0627\u0647 \u0642\u0628\u0644")))),
|
|
24
23
|
React.createElement(Div, { className: 'relative w-[19px] h-[22px]' },
|
|
25
|
-
React.createElement(
|
|
24
|
+
React.createElement(Text, null, "\u062A\u0642\u0648\u06CC\u0645")))));
|
|
26
25
|
};
|
|
27
26
|
export default DaysHead;
|
|
28
27
|
//# sourceMappingURL=days-head.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"days-head.js","sourceRoot":"","sources":["../../../../../modules/calender/sub-components/days-head/days-head.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,EAAE,EAAC,MAAM,cAAc,CAAC;AAChC,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"days-head.js","sourceRoot":"","sources":["../../../../../modules/calender/sub-components/days-head/days-head.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,MAAM,MAAM,eAAe,CAAC;AACnC,OAAO,EAAC,EAAE,EAAC,MAAM,cAAc,CAAC;AAChC,OAAO,EAAC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAC,MAAM,sBAAsB,CAAA;AAEtD,IAAM,QAAQ,GAAG,UAAC,KAAoB;IAC7B,IAAA,aAAa,GAAwD,KAAK,cAA7D,EAAE,aAAa,GAAyC,KAAK,cAA9C,EAAE,SAAS,GAA8B,KAAK,UAAnC,EAAE,OAAO,GAAqB,KAAK,QAA1B,EAAE,SAAS,GAAU,KAAK,UAAf,EAAE,IAAI,GAAI,KAAK,KAAT,CAAU;IAElF,IAAM,WAAW,GAAG,UAAG,MAAM,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,OAAO,CA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AAI,gDAAe,CAChB,CACC,CACL;YACN,oBAAC,GAAG,IAAC,SAAS,EAAE,4BAA4B;gBAC1C,oBAAC,IAAI,yCAAa,CACd,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/calender/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAC5C,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAEzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,cAAc,EACf,CAAA"}
|