maz-ui 3.1.0 → 3.2.0
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/components/MazAvatar.js +2 -2
- package/components/MazBadge.d.ts +1 -1
- package/components/MazBottomSheet.js +2 -2
- package/components/MazBtn.js +2 -2
- package/components/MazCard.js +2 -2
- package/components/MazCarousel.js +2 -2
- package/components/MazChart.js +1 -1
- package/components/MazCheckbox.js +1 -1
- package/components/MazDialog.js +2 -2
- package/components/MazDialogPromise.js +2 -2
- package/components/MazDrawer.js +2 -2
- package/components/MazDropzone.js +2 -2
- package/components/MazGallery.js +2 -2
- package/components/MazIcon.js +2 -2
- package/components/MazInput.d.ts +1 -1
- package/components/MazInput.js +2 -2
- package/components/MazInputNumber.js +2 -2
- package/components/MazInputPrice.js +2 -2
- package/components/MazInputTags.js +2 -2
- package/components/MazLazyImg.js +2 -2
- package/components/MazPhoneNumberInput/types.d.ts +3 -3
- package/components/MazPhoneNumberInput.js +2 -2
- package/components/MazPicker/types.d.ts +5 -5
- package/components/MazPicker/utils.d.ts +2 -2
- package/components/MazPicker.js +2 -2
- package/components/MazRadioButtons.js +1 -1
- package/components/MazSelect.d.ts +2 -2
- package/components/MazSelect.js +2 -2
- package/components/MazSlider.js +2 -2
- package/components/MazSwitch.js +1 -1
- package/components/MazTabsBar.js +2 -2
- package/components/MazTabsContentItem.js +2 -2
- package/components/MazTextarea.js +1 -1
- package/components/types.d.ts +6 -6
- package/css/aos.css +1 -1
- package/css/main.css +99 -104
- package/maz-ui.d.ts +15 -15
- package/modules/index.js +2 -2
- package/package.json +37 -38
- package/tailwindcss/variables/utilities.js +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type SimpleValue = string | undefined;
|
|
2
|
+
export type RangeValue = {
|
|
3
3
|
start: string;
|
|
4
4
|
end: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
6
|
+
export type PartialRangeValue = Partial<RangeValue>;
|
|
7
|
+
export type PickerValue = SimpleValue | PartialRangeValue;
|
|
8
|
+
export type PickerShortcut = {
|
|
9
9
|
identifier: string;
|
|
10
10
|
label: string;
|
|
11
11
|
value: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConfigType, OpUnitType } from 'dayjs';
|
|
2
2
|
import type { PartialRangeValue } from './types';
|
|
3
|
-
export
|
|
3
|
+
export type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
|
|
4
4
|
export declare function getFormattedDate({ value, locale, options, }: {
|
|
5
5
|
value?: string;
|
|
6
6
|
locale: string;
|
|
@@ -26,7 +26,7 @@ export declare function getRangeISODate(value: PartialRangeValue, format?: strin
|
|
|
26
26
|
start: string | undefined;
|
|
27
27
|
end: string | undefined;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
type CheckValueResponse = {
|
|
30
30
|
newValue?: string;
|
|
31
31
|
newCurrentDate?: string;
|
|
32
32
|
};
|