@mezzanine-ui/core
Advanced tools
Comparing version 0.9.2 to 0.10.0
@@ -1,10 +0,5 @@ | ||
import { Moment } from 'moment'; | ||
/** Types */ | ||
export declare type CalendarMode = 'year' | 'month' | 'week' | 'day'; | ||
/** | ||
* @NOTE 2021/04/13 | ||
* we want `DateType` is given from user, but it will cause compile error now, | ||
* so we set to Moment as default to fix this problem. (If you have any idea, let me know) | ||
*/ | ||
export declare type DateType = Moment; | ||
/** ISO 8601 text */ | ||
export declare type DateType = string; | ||
/** Classes */ | ||
@@ -11,0 +6,0 @@ export declare const calendarPrefix = "mzn-calendar"; |
@@ -1,3 +0,2 @@ | ||
export { CalendarMethods as CalendarMethodsMoment, } from './presets/moment'; | ||
export * from './presets/typings'; | ||
export * from './typings'; | ||
export * from './calendar'; |
@@ -1,2 +0,1 @@ | ||
export { CalendarMethods as CalendarMethodsMoment } from './presets/moment.js'; | ||
export { calendarBoardPrefix, calendarButtonPrefix, calendarCellPrefix, calendarClasses, calendarControlsPrefix, calendarMonths, calendarPrefix, calendarRowPrefix, calendarTwelveGridPrefix, calendarYearModuler, calendarYearsBase, getCalendarYearRange, getDefaultModeFormat, getYearRange } from './calendar.js'; |
{ | ||
"name": "@mezzanine-ui/core", | ||
"version": "0.9.2", | ||
"version": "0.10.0", | ||
"description": "Core for mezzanine-ui", | ||
@@ -25,2 +25,15 @@ "author": "Mezzanine", | ||
}, | ||
"peerDependencies": { | ||
"dayjs": "^1.10.7", | ||
"lodash": "^4.17.21", | ||
"moment": "^2.29.1" | ||
}, | ||
"peerDependenciesMeta": { | ||
"moment": { | ||
"optional": true | ||
}, | ||
"dayjs": { | ||
"optional": true | ||
} | ||
}, | ||
"dependencies": { | ||
@@ -27,0 +40,0 @@ "@mezzanine-ui/icons": "^0.9.2", |
@@ -9,3 +9,3 @@ import { DateType } from '../calendar'; | ||
/** Types */ | ||
export declare type RangePickerValue = undefined[] | [DateType, DateType]; | ||
export declare type RangePickerPickingValue = RangePickerValue | [DateType] | [undefined, DateType] | [DateType, undefined]; | ||
export declare type RangePickerValue<T = DateType> = undefined[] | [T, T]; | ||
export declare type RangePickerPickingValue<T = DateType> = RangePickerValue | [T] | [undefined, T] | [T, undefined]; |
@@ -15,3 +15,7 @@ import { Size } from '@mezzanine-ui/system/size'; | ||
readonly trigger: string; | ||
readonly triggerTagsInputWrapper: `${string}__tags-input-wrapper`; | ||
readonly triggerTagsInputWrapperEllipsis: `${string}__tags-input-wrapper--ellipsis`; | ||
readonly triggerTagsInput: `${string}__tags-input`; | ||
readonly triggerTags: `${string}__tags`; | ||
readonly triggerTagsEllipsis: `${string}__tags--ellipsis`; | ||
readonly triggerSuffixActionIcon: `${string}__suffix-action-icon`; | ||
@@ -27,3 +31,2 @@ readonly triggerSuffixActionIconActive: `${string}__suffix-action-icon--active`; | ||
readonly autoCompleteIcon: `${string}__icon`; | ||
readonly autoCompleteIconActive: `${string}__icon--active`; | ||
}; |
@@ -12,3 +12,7 @@ const selectPrefix = 'mzn-select'; | ||
trigger: selectTriggerPrefix, | ||
triggerTagsInputWrapper: `${selectTriggerPrefix}__tags-input-wrapper`, | ||
triggerTagsInputWrapperEllipsis: `${selectTriggerPrefix}__tags-input-wrapper--ellipsis`, | ||
triggerTagsInput: `${selectTriggerPrefix}__tags-input`, | ||
triggerTags: `${selectTriggerPrefix}__tags`, | ||
triggerTagsEllipsis: `${selectTriggerPrefix}__tags--ellipsis`, | ||
triggerSuffixActionIcon: `${selectTriggerPrefix}__suffix-action-icon`, | ||
@@ -24,5 +28,4 @@ triggerSuffixActionIconActive: `${selectTriggerPrefix}__suffix-action-icon--active`, | ||
autoCompleteIcon: `${autoCompletePrefix}__icon`, | ||
autoCompleteIconActive: `${autoCompletePrefix}__icon--active`, | ||
}; | ||
export { autoCompletePrefix, selectClasses, selectPopperPrefix, selectPrefix, selectTreePrefix, selectTriggerPrefix, treeSelectPrefix }; |
Sorry, the diff of this file is not supported yet
200458
387
2474
6