@mezzanine-ui/react 0.12.0 → 0.12.1

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/Button/index.js CHANGED
@@ -1,8 +1,7 @@
1
1
  import Button from './Button.js';
2
- export { default } from './Button.js';
3
2
  import _IconButton from './IconButton.js';
4
3
  export { default as ButtonGroup } from './ButtonGroup.js';
5
4
 
6
5
  const IconButton = _IconButton;
7
6
 
8
- export { IconButton };
7
+ export { IconButton, Button as default };
@@ -1,3 +1,4 @@
1
+ import { calendarYearModuler } from '@mezzanine-ui/core/calendar';
1
2
  import { useMemo } from 'react';
2
3
  import { useCalendarContext } from './CalendarContext.js';
3
4
 
@@ -5,8 +6,8 @@ function useCalendarControlModifiers() {
5
6
  const { addYear, addMonth, } = useCalendarContext();
6
7
  return useMemo(() => ({
7
8
  year: [
8
- (date) => addYear(date, -12),
9
- (date) => addYear(date, 12),
9
+ (date) => addYear(date, -calendarYearModuler),
10
+ (date) => addYear(date, calendarYearModuler),
10
11
  ],
11
12
  month: [
12
13
  (date) => addYear(date, -1),
@@ -1,2 +1,5 @@
1
1
  import Typography from './Typography.js';
2
- export { default } from './Typography.js';
2
+
3
+
4
+
5
+ export { Typography as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mezzanine-ui/react",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "React components for mezzanine-ui",
5
5
  "author": "Mezzanine",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "react-dom": "^18.2.0"
32
32
  },
33
33
  "dependencies": {
34
- "@mezzanine-ui/core": "^0.12.0",
35
- "@mezzanine-ui/icons": "^0.12.0",
36
- "@mezzanine-ui/system": "^0.12.0",
34
+ "@mezzanine-ui/core": "^0.12.1",
35
+ "@mezzanine-ui/icons": "^0.12.1",
36
+ "@mezzanine-ui/system": "^0.12.1",
37
37
  "@popperjs/core": "^2.11.6",
38
38
  "@types/react-transition-group": "^4.4.5",
39
39
  "clsx": "^1.2.1",