@availity/mui-datepicker 2.0.0 → 2.0.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/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.0.2](https://github.com/Availity/element/compare/@availity/mui-datepicker@2.0.1...@availity/mui-datepicker@2.0.2) (2025-12-09)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-textfield` updated to version `2.0.1`
10
+ * `mui-form-utils` updated to version `2.0.1`
11
+ ## [2.0.1](https://github.com/Availity/element/compare/@availity/mui-datepicker@2.0.0...@availity/mui-datepicker@2.0.1) (2025-12-03)
12
+
13
+ ### Dependency Updates
14
+
15
+ * `mui-icon` updated to version `2.0.0`
16
+ * `mui-textfield` updated to version `2.0.0`
17
+ * `mui-layout` updated to version `2.0.0`
18
+ * `mui-paper` updated to version `2.0.0`
19
+ * `theme-provider` updated to version `2.0.0`
20
+ * `mui-form-utils` updated to version `2.0.0`
5
21
  ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-datepicker@1.2.2...@availity/mui-datepicker@2.0.0) (2025-11-17)
6
22
 
7
23
  ### Dependency Updates
@@ -1,5 +1,4 @@
1
- import { Markdown, Source } from '@storybook/blocks';
2
- import { Meta } from '@storybook/addon-docs';
1
+ import { Markdown, Meta, Source } from '@storybook/addon-docs/blocks';
3
2
 
4
3
  import Docs from './DateRangePickerDocs.md?raw';
5
4
 
package/dist/index.js CHANGED
@@ -187,7 +187,7 @@ var AvMessage = class {
187
187
  domain() {
188
188
  const topOrigin = this.getOriginFromTop();
189
189
  if (topOrigin) {
190
- return window.location.origin;
190
+ return topOrigin;
191
191
  }
192
192
  if (window.location.origin) {
193
193
  const url = window.location.origin;
package/dist/index.mjs CHANGED
@@ -154,7 +154,7 @@ var AvMessage = class {
154
154
  domain() {
155
155
  const topOrigin = this.getOriginFromTop();
156
156
  if (topOrigin) {
157
- return window.location.origin;
157
+ return topOrigin;
158
158
  }
159
159
  if (window.location.origin) {
160
160
  const url = window.location.origin;
package/introduction.mdx CHANGED
@@ -1,5 +1,4 @@
1
- import { Markdown } from '@storybook/blocks';
2
- import { Meta } from '@storybook/addon-docs';
1
+ import { Markdown, Meta } from '@storybook/addon-docs/blocks';
3
2
  import ReadMe from './README.md?raw';
4
3
  import CHANGELOG from './CHANGELOG.md?raw';
5
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-datepicker",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "Availity MUI Datepicker Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,8 +40,8 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "dependencies": {
43
- "@availity/mui-icon": "2.0.0",
44
- "@availity/mui-textfield": "2.0.0",
43
+ "@availity/mui-icon": "2.0.1",
44
+ "@availity/mui-textfield": "2.0.2",
45
45
  "@mui/x-date-pickers": "^8.16.0",
46
46
  "dayjs": "^1.11.13"
47
47
  },
package/project.json CHANGED
@@ -4,12 +4,12 @@
4
4
  "sourceRoot": "packages/datepicker/src",
5
5
  "projectType": "library",
6
6
  "trackDeps": true,
7
- "tags": [],
8
7
  "build": {
9
8
  "options": {
10
9
  "cache": false
11
10
  }
12
11
  },
12
+ "tags": [],
13
13
  "targets": {
14
14
  "lint": {
15
15
  "executor": "@nx/eslint:lint",
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useState } from 'react';
3
- import type { Meta, StoryObj } from '@storybook/react';
3
+ import type { Meta, StoryObj } from '@storybook/react-vite';
4
4
  import Typography from '@mui/material/Typography';
5
5
  import { MonthCalendar } from '@mui/x-date-pickers/MonthCalendar';
6
6
  import { YearCalendar } from '@mui/x-date-pickers/YearCalendar';
@@ -94,7 +94,7 @@ export const _DateRangePicker: StoryObj<DateRangePicker> = {
94
94
  return (
95
95
  <Box sx={{ backgroundColor: 'background.paper', padding: '1.25rem' }}>
96
96
  <Grid container spacing={2}>
97
- <Grid xs={12} sm={6}>
97
+ <Grid size={{xs:12, sm:6}} >
98
98
  <Datepicker
99
99
  value={startDate}
100
100
  onChange={setStartDate}
@@ -106,7 +106,7 @@ export const _DateRangePicker: StoryObj<DateRangePicker> = {
106
106
  views={['day', 'month', 'year']}
107
107
  />
108
108
  </Grid>
109
- <Grid xs={12} sm={6}>
109
+ <Grid size={{xs:12, sm:6}} >
110
110
  <Datepicker
111
111
  value={endDate}
112
112
  onChange={setEndDate}