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.
Files changed (40) hide show
  1. package/components/MazAvatar.js +2 -2
  2. package/components/MazBadge.d.ts +1 -1
  3. package/components/MazBottomSheet.js +2 -2
  4. package/components/MazBtn.js +2 -2
  5. package/components/MazCard.js +2 -2
  6. package/components/MazCarousel.js +2 -2
  7. package/components/MazChart.js +1 -1
  8. package/components/MazCheckbox.js +1 -1
  9. package/components/MazDialog.js +2 -2
  10. package/components/MazDialogPromise.js +2 -2
  11. package/components/MazDrawer.js +2 -2
  12. package/components/MazDropzone.js +2 -2
  13. package/components/MazGallery.js +2 -2
  14. package/components/MazIcon.js +2 -2
  15. package/components/MazInput.d.ts +1 -1
  16. package/components/MazInput.js +2 -2
  17. package/components/MazInputNumber.js +2 -2
  18. package/components/MazInputPrice.js +2 -2
  19. package/components/MazInputTags.js +2 -2
  20. package/components/MazLazyImg.js +2 -2
  21. package/components/MazPhoneNumberInput/types.d.ts +3 -3
  22. package/components/MazPhoneNumberInput.js +2 -2
  23. package/components/MazPicker/types.d.ts +5 -5
  24. package/components/MazPicker/utils.d.ts +2 -2
  25. package/components/MazPicker.js +2 -2
  26. package/components/MazRadioButtons.js +1 -1
  27. package/components/MazSelect.d.ts +2 -2
  28. package/components/MazSelect.js +2 -2
  29. package/components/MazSlider.js +2 -2
  30. package/components/MazSwitch.js +1 -1
  31. package/components/MazTabsBar.js +2 -2
  32. package/components/MazTabsContentItem.js +2 -2
  33. package/components/MazTextarea.js +1 -1
  34. package/components/types.d.ts +6 -6
  35. package/css/aos.css +1 -1
  36. package/css/main.css +99 -104
  37. package/maz-ui.d.ts +15 -15
  38. package/modules/index.js +2 -2
  39. package/package.json +37 -38
  40. package/tailwindcss/variables/utilities.js +1 -1
@@ -1,11 +1,11 @@
1
- export declare type SimpleValue = string | undefined;
2
- export declare type RangeValue = {
1
+ export type SimpleValue = string | undefined;
2
+ export type RangeValue = {
3
3
  start: string;
4
4
  end: string;
5
5
  };
6
- export declare type PartialRangeValue = Partial<RangeValue>;
7
- export declare type PickerValue = SimpleValue | PartialRangeValue;
8
- export declare type PickerShortcut = {
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 declare type DateTimeFormatOptions = Pick<Intl.DateTimeFormatOptions, 'hour12' | 'dateStyle' | 'timeStyle' | 'timeZone'>;
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
- declare type CheckValueResponse = {
29
+ type CheckValueResponse = {
30
30
  newValue?: string;
31
31
  newCurrentDate?: string;
32
32
  };