@pezeshk-book/modules 0.1.0 → 0.1.2
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/calendar/calendar.d.ts +2 -2
- package/dist/modules/calendar/calendar.js +2 -2
- package/dist/modules/calendar/calendar.js.map +1 -1
- package/dist/modules/calendar/calendar.props.d.ts +1 -0
- package/dist/modules/calendar/icons/arrow-left-icon.d.ts +2 -2
- package/dist/modules/calendar/icons/arrow-right-icon.d.ts +2 -2
- package/dist/modules/calendar/icons/calendar-icon.d.ts +2 -2
- package/dist/modules/calendar/sub-components/day/day.d.ts +2 -2
- package/dist/modules/calendar/sub-components/days/days.d.ts +2 -2
- package/dist/modules/calendar/sub-components/days/days.js +2 -3
- package/dist/modules/calendar/sub-components/days/days.js.map +1 -1
- package/dist/modules/calendar/sub-components/days/days.props.d.ts +1 -0
- package/dist/modules/calendar/sub-components/days-head/days-head.d.ts +2 -2
- package/dist/modules/countdown-timer/countdown.d.ts +2 -2
- package/dist/modules/pagination/icons/arrow-Right.d.ts +2 -2
- package/dist/modules/pagination/icons/arrow-left.d.ts +2 -2
- package/dist/modules/pagination/pagination.d.ts +2 -2
- package/dist/modules/slider/slider.d.ts +2 -2
- package/dist/stories/calendar/calendar.d.ts +2 -2
- package/dist/stories/calendar/calendar.stories.d.ts +3 -3
- package/dist/stories/count-down/count-down.d.ts +2 -2
- package/dist/stories/count-down/count-down.stories.d.ts +3 -3
- package/dist/stories/pagination/pagination.d.ts +2 -2
- package/dist/stories/pagination/pagination.stories.d.ts +3 -3
- package/dist/stories/slider/slider.d.ts +2 -2
- package/dist/stories/slider/slider.stories.d.ts +3 -3
- package/dist/stories/wrapper.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CalendarProps } from './calendar.props';
|
|
3
|
-
declare const Calender: (props: CalendarProps) =>
|
|
3
|
+
declare const Calender: (props: CalendarProps) => JSX.Element;
|
|
4
4
|
export default Calender;
|
|
@@ -8,7 +8,7 @@ import DateObject from 'react-date-object';
|
|
|
8
8
|
import persian from 'react-date-object/calendars/persian';
|
|
9
9
|
import persianFa from 'react-date-object/locales/persian_fa';
|
|
10
10
|
var Calender = function (props) {
|
|
11
|
-
var _a = props.dateFormat, dateFormat = _a === void 0 ? 'YYYY-MM-DD' : _a, _b = props.selectedDate, selectedDate = _b === void 0 ? new Date() : _b, _c = props.disablePreviousMonths, disablePreviousMonths = _c === void 0 ? false : _c, _d = props.disableSubsequentMonths, disableSubsequentMonths = _d === void 0 ? false : _d, _e = props.disablePreviousDays, disablePreviousDays = _e === void 0 ? false : _e, _f = props.disableSubsequentDays, disableSubsequentDays = _f === void 0 ? false : _f, selected = props.selected, onChange = props.onChange, _g = props.type, type = _g === void 0 ? 'jalali' : _g;
|
|
11
|
+
var _a = props.dateFormat, dateFormat = _a === void 0 ? 'YYYY-MM-DD' : _a, _b = props.selectedDate, selectedDate = _b === void 0 ? new Date() : _b, _c = props.disablePreviousMonths, disablePreviousMonths = _c === void 0 ? false : _c, _d = props.disableSubsequentMonths, disableSubsequentMonths = _d === void 0 ? false : _d, _e = props.disablePreviousDays, disablePreviousDays = _e === void 0 ? false : _e, _f = props.disableSubsequentDays, disableSubsequentDays = _f === void 0 ? false : _f, selected = props.selected, onChange = props.onChange, _g = props.type, type = _g === void 0 ? 'jalali' : _g, holidays = props.holidays;
|
|
12
12
|
var date = new DateObject({ date: selectedDate });
|
|
13
13
|
var _h = useState({
|
|
14
14
|
value: formatDate(selectedDate, dateFormat, type),
|
|
@@ -45,7 +45,7 @@ var Calender = function (props) {
|
|
|
45
45
|
onChange({ calendarDate: clickedDate, gregorianDate: gregorianDate, jalaliDate: jalaliDate });
|
|
46
46
|
};
|
|
47
47
|
return (React.createElement(Div, { dir: 'rtl', className: 'items-center flex flex-col justify-center bg-white rounded py-4 !w-full' },
|
|
48
|
-
React.createElement(Days, { days: datepicker.days, monthName: datepicker.monthName, year: datepicker.year, selectedDay: datepicker.value, disablePreviousMonths: disablePreviousMonths, disableSubsequentMonths: disableSubsequentMonths, disablePreviousDays: disablePreviousDays, disableSubsequentDays: disableSubsequentDays, daysEventListeners: daysEventListeners, selectDateHandlers: selectDateHandler, selected: new DateObject({ date: selected }).format(dateFormat), date: date, increaseMonth: function () { return changeMonths(1); }, decreaseMonth: function () { return changeMonths(-1); }, isDatePicker: true, dateFormat: dateFormat, type: type })));
|
|
48
|
+
React.createElement(Days, { days: datepicker.days, monthName: datepicker.monthName, year: datepicker.year, selectedDay: datepicker.value, disablePreviousMonths: disablePreviousMonths, disableSubsequentMonths: disableSubsequentMonths, disablePreviousDays: disablePreviousDays, disableSubsequentDays: disableSubsequentDays, daysEventListeners: daysEventListeners, selectDateHandlers: selectDateHandler, selected: new DateObject({ date: selected }).format(dateFormat), date: date, increaseMonth: function () { return changeMonths(1); }, decreaseMonth: function () { return changeMonths(-1); }, isDatePicker: true, dateFormat: dateFormat, type: type, holidays: holidays })));
|
|
49
49
|
};
|
|
50
50
|
export default Calender;
|
|
51
51
|
//# sourceMappingURL=calendar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.js","sourceRoot":"","sources":["../../../modules/calendar/calendar.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,aAAa,EAAS,MAAM,UAAU,CAAC;AAE/D,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,OAAO,MAAM,qCAAqC,CAAC;AAC1D,OAAO,SAAS,MAAM,sCAAsC,CAAC;AAY7D,IAAM,QAAQ,GAAG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B,EAAE,iBAAiB,EACrC,QAAQ,EAAE,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,EAC/D,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,cAAM,OAAA,YAAY,CAAC,CAAC,CAAC,EAAf,CAAe,EACpC,aAAa,EAAE,cAAM,OAAA,YAAY,CAAC,CAAC,CAAC,CAAC,EAAhB,CAAgB,EACrC,YAAY,EAAE,IAAI,EAClB,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,GAClB,CACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ArrowLeftIcon: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ArrowLeftIcon: () => JSX.Element;
|
|
3
3
|
export default ArrowLeftIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ArrowRightIcon: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ArrowRightIcon: () => JSX.Element;
|
|
3
3
|
export default ArrowRightIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CalendarIcon: () =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const CalendarIcon: () => JSX.Element;
|
|
3
3
|
export default CalendarIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DayProps } from './day.props';
|
|
3
|
-
export declare const Day: (props: DayProps) =>
|
|
3
|
+
export declare const Day: (props: DayProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DaysProps } from './days.props';
|
|
3
3
|
declare const Days: {
|
|
4
|
-
(props: DaysProps):
|
|
4
|
+
(props: DaysProps): JSX.Element | null;
|
|
5
5
|
defaultProps: {
|
|
6
6
|
monthName: string;
|
|
7
7
|
disableDays: never[];
|
|
@@ -15,9 +15,8 @@ var boolDataset = function (arg) {
|
|
|
15
15
|
}
|
|
16
16
|
return null;
|
|
17
17
|
};
|
|
18
|
-
var tempHolidays = ['2023-05-15', '2022-09-25', '2022-09-27', '2022-10-05', '2022-12-27', '2023-02-04', '2023-02-11', '2023-02-18', '2023-03-08', '2023-03-20'];
|
|
19
18
|
var Days = function (props) {
|
|
20
|
-
var days = props.days, selected = props.selected, selectDateHandlers = props.selectDateHandlers, monthName = props.monthName, disablePreviousMonths = props.disablePreviousMonths, disableSubsequentMonths = props.disableSubsequentMonths, disablePreviousDays = props.disablePreviousDays, disableSubsequentDays = props.disableSubsequentDays, increaseMonth = props.increaseMonth, decreaseMonth = props.decreaseMonth, selectedDay = props.selectedDay, year = props.year, date = props.date, dateFormat = props.dateFormat, type = props.type;
|
|
19
|
+
var days = props.days, selected = props.selected, selectDateHandlers = props.selectDateHandlers, monthName = props.monthName, disablePreviousMonths = props.disablePreviousMonths, disableSubsequentMonths = props.disableSubsequentMonths, disablePreviousDays = props.disablePreviousDays, disableSubsequentDays = props.disableSubsequentDays, increaseMonth = props.increaseMonth, decreaseMonth = props.decreaseMonth, selectedDay = props.selectedDay, year = props.year, date = props.date, dateFormat = props.dateFormat, type = props.type, holidays = props.holidays;
|
|
21
20
|
var handleDayClick = function (day) {
|
|
22
21
|
selectDateHandlers(day);
|
|
23
22
|
};
|
|
@@ -33,7 +32,7 @@ var Days = function (props) {
|
|
|
33
32
|
React.createElement(Divider, { color: 'control' }),
|
|
34
33
|
React.createElement(Div, { className: 'flex-col w-full gap-y-4' }, weeks.map(function (week, idx) {
|
|
35
34
|
return (React.createElement(Div, { dir: type === 'gregorian' ? 'ltr' : 'rtl', className: 'grid grid-flow-col grid-cols-7 w-full md:gap-x-7', "data-testid": "days", key: "rdp-weeks-".concat(idx) }, week.map(function (day, id) {
|
|
36
|
-
return (React.createElement(Day, __assign({ key: type === 'gregorian' ? day.gregorianDate : day.jalaliDate, passedDay: disablePreviousDays && (type === 'gregorian' ? day.gregorianDate : day.jalaliDate) < dates, comingDay: disableSubsequentDays && (type === 'gregorian' ? day.gregorianDate : day.jalaliDate) > dates, holidays:
|
|
35
|
+
return (React.createElement(Day, __assign({ key: type === 'gregorian' ? day.gregorianDate : day.jalaliDate, passedDay: disablePreviousDays && (type === 'gregorian' ? day.gregorianDate : day.jalaliDate) < dates, comingDay: disableSubsequentDays && (type === 'gregorian' ? day.gregorianDate : day.jalaliDate) > dates, holidays: holidays && holidays.indexOf(day.gregorianDate) !== -1, "data-testid": "day-".concat(idx * 7 + id + 1), "data-fadate": "".concat(type === 'gregorian' ? day.gregorianDate : day.jalaliDate), disabledDay: week.length === 7 && id === 6, selectedDay: selectedDay === (type === 'gregorian' ? day.gregorianDate : day.jalaliDate), selected: selected === day.jalaliDate || selected === day.gregorianDate, handleDay: function () { return handleDayClick(day); } }, boolDataset(day.disabled)), !day.disabled ? fa(day.day) : null));
|
|
37
36
|
})));
|
|
38
37
|
})))));
|
|
39
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"days.js","sourceRoot":"","sources":["../../../../../modules/calendar/sub-components/days/days.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,EAAE,EAAS,YAAY,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,OAAO,MAAM,qCAAqC,CAAC;AAC1D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE1D,IAAM,WAAW,GAAG,UAAC,GAAY;IAC/B,IAAI,GAAG,EAAE;QACP,OAAO;YACL,cAAc,EAAE,GAAG;SACpB,CAAC;KACH;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,IAAM,
|
|
1
|
+
{"version":3,"file":"days.js","sourceRoot":"","sources":["../../../../../modules/calendar/sub-components/days/days.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,EAAE,EAAS,YAAY,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAC3C,OAAO,OAAO,MAAM,qCAAqC,CAAC;AAC1D,OAAO,SAAS,MAAM,uCAAuC,CAAC;AAC9D,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAE1D,IAAM,WAAW,GAAG,UAAC,GAAY;IAC/B,IAAI,GAAG,EAAE;QACP,OAAO;YACL,cAAc,EAAE,GAAG;SACpB,CAAC;KACH;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,IAAM,IAAI,GAAG,UAAC,KAAgB;IAE1B,IAAA,IAAI,GAgBF,KAAK,KAhBH,EACJ,QAAQ,GAeN,KAAK,SAfC,EACR,kBAAkB,GAchB,KAAK,mBAdW,EAClB,SAAS,GAaP,KAAK,UAbE,EACT,qBAAqB,GAYnB,KAAK,sBAZc,EACrB,uBAAuB,GAWrB,KAAK,wBAXgB,EACvB,mBAAmB,GAUjB,KAAK,oBAVY,EACnB,qBAAqB,GASnB,KAAK,sBATc,EACrB,aAAa,GAQX,KAAK,cARM,EACb,aAAa,GAOX,KAAK,cAPM,EACb,WAAW,GAMT,KAAK,YANI,EACX,IAAI,GAKF,KAAK,KALH,EAC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AAI,EAAE,KAAK,CAAC,EAC1C,WAAW,EAAE,WAAW,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,EACxF,QAAQ,EAAE,QAAQ,KAAK,GAAG,CAAC,UAAU,IAAI,QAAQ,KAAK,GAAG,CAAC,aAAa,EACvE,SAAS,EAAE,cAAM,OAAA,cAAc,CAAC,GAAG,CAAC,EAAnB,CAAmB,IAChC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,GAC5B,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAC/B,CACP,CAAC;gBACJ,CAAC,CAAC,CACE,CACP,CAAC;YACJ,CAAC,CAAC,CACE,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,IAAI,CAAC,YAAY,GAAG;IAClB,SAAS,EAAE,EAAE;IACb,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DaysHeadProps } from './days-head.props';
|
|
3
|
-
declare const DaysHead: (props: DaysHeadProps) =>
|
|
3
|
+
declare const DaysHead: (props: DaysHeadProps) => JSX.Element;
|
|
4
4
|
export default DaysHead;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CountdownProps } from './countdown.props';
|
|
3
|
-
declare const CountDown: ({ sec, parentCallback, reset, variant, className, textProps, initialColor }: CountdownProps) =>
|
|
3
|
+
declare const CountDown: ({ sec, parentCallback, reset, variant, className, textProps, initialColor }: CountdownProps) => JSX.Element;
|
|
4
4
|
export default CountDown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PaginationProps } from './pagination.props';
|
|
3
|
-
export declare const Pagination: ({ isLoading, currentPage, lastPage, getCurrentPage, previousPage, nextPage, perPage, total, getLimit, hasLimit, showTotal, color, variant, rounded, type }: PaginationProps) =>
|
|
3
|
+
export declare const Pagination: ({ isLoading, currentPage, lastPage, getCurrentPage, previousPage, nextPage, perPage, total, getLimit, hasLimit, showTotal, color, variant, rounded, type }: PaginationProps) => JSX.Element;
|
|
4
4
|
export default Pagination;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { SliderProps } from './slider.props';
|
|
3
|
-
declare const Slider: ({ children, delay, spaceBetween, slides, infiniteLoop, pauseOnMouseOver, autoMove, indicatorActiveColor, indicator, navigation, prevNavigation, nextNavigation, direction, rows, navigationColor, tabletSlides, mobileSlides, }: SliderProps) =>
|
|
3
|
+
declare const Slider: ({ children, delay, spaceBetween, slides, infiniteLoop, pauseOnMouseOver, autoMove, indicatorActiveColor, indicator, navigation, prevNavigation, nextNavigation, direction, rows, navigationColor, tabletSlides, mobileSlides, }: SliderProps) => JSX.Element;
|
|
4
4
|
export default Slider;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CalendarProps } from '../../modules/calendar/calendar.props';
|
|
3
3
|
/**
|
|
4
4
|
* Primary UI component for user interaction
|
|
5
5
|
*/
|
|
6
|
-
export declare const Calendar: ({ ...props }: CalendarProps) =>
|
|
6
|
+
export declare const Calendar: ({ ...props }: CalendarProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
3
|
import { CalendarProps } from '../../modules/calendar/calendar.props';
|
|
4
|
-
declare const _default: ComponentMeta<({ ...props }: CalendarProps) =>
|
|
4
|
+
declare const _default: ComponentMeta<({ ...props }: CalendarProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Default: ComponentStory<({ ...props }: CalendarProps) =>
|
|
6
|
+
export declare const Default: ComponentStory<({ ...props }: CalendarProps) => JSX.Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CountdownProps } from '../../modules/countdown-timer/countdown.props';
|
|
3
3
|
/**
|
|
4
4
|
* Primary UI component for user interaction
|
|
5
5
|
*/
|
|
6
|
-
export declare const CountDown: ({ ...props }: CountdownProps) =>
|
|
6
|
+
export declare const CountDown: ({ ...props }: CountdownProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
3
|
import { CountdownProps } from '../../modules/countdown-timer/countdown.props';
|
|
4
|
-
declare const _default: ComponentMeta<({ ...props }: CountdownProps) =>
|
|
4
|
+
declare const _default: ComponentMeta<({ ...props }: CountdownProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Default: ComponentStory<({ ...props }: CountdownProps) =>
|
|
6
|
+
export declare const Default: ComponentStory<({ ...props }: CountdownProps) => JSX.Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PaginationProps } from '../../modules/pagination/pagination.props';
|
|
3
3
|
/**
|
|
4
4
|
* Primary UI component for user interaction
|
|
5
5
|
*/
|
|
6
|
-
export declare const Pagination: ({ ...props }: PaginationProps) =>
|
|
6
|
+
export declare const Pagination: ({ ...props }: PaginationProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
3
|
import { PaginationProps } from '../../modules/pagination/pagination.props';
|
|
4
|
-
declare const _default: ComponentMeta<({ ...props }: PaginationProps) =>
|
|
4
|
+
declare const _default: ComponentMeta<({ ...props }: PaginationProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Default: ComponentStory<({ ...props }: PaginationProps) =>
|
|
6
|
+
export declare const Default: ComponentStory<({ ...props }: PaginationProps) => JSX.Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { SliderProps } from '../../modules/slider/slider.props';
|
|
3
3
|
/**
|
|
4
4
|
* Primary UI component for user interaction
|
|
5
5
|
*/
|
|
6
|
-
export declare const Slider: ({ ...props }: SliderProps) =>
|
|
6
|
+
export declare const Slider: ({ ...props }: SliderProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ComponentMeta, ComponentStory } from '@storybook/react';
|
|
3
3
|
import { SliderProps } from '../../modules/slider/slider.props';
|
|
4
|
-
declare const _default: ComponentMeta<({ ...props }: SliderProps) =>
|
|
4
|
+
declare const _default: ComponentMeta<({ ...props }: SliderProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
6
|
-
export declare const Default: ComponentStory<({ ...props }: SliderProps) =>
|
|
6
|
+
export declare const Default: ComponentStory<({ ...props }: SliderProps) => JSX.Element>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const Wrapper: ({ title, children, className, titleColor }: {
|
|
3
3
|
title: string;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
className?: string | undefined;
|
|
6
6
|
titleColor?: string | undefined;
|
|
7
|
-
}) =>
|
|
7
|
+
}) => JSX.Element;
|