@instructure/ui-date-input 11.7.4-snapshot-14 → 11.7.4-snapshot-50
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 +2 -1
- package/LICENSE.md +1 -0
- package/es/DateInput/v1/index.js +3 -3
- package/es/exports/a.js +3 -2
- package/es/exports/b.js +3 -2
- package/lib/DateInput/v1/index.js +3 -3
- package/lib/exports/a.js +4 -4
- package/lib/exports/b.js +4 -4
- package/package.json +16 -16
- package/src/DateInput/v1/index.tsx +3 -2
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/DateInput/v1/index.d.ts +1 -0
- package/types/DateInput/v1/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-50](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-50) (2026-06-18)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
+
* **ui-date-input:** add missing Button dependency ([b9ff437](https://github.com/instructure/instructure-ui/commit/b9ff43752e8797a4f1ff6e61760626dee015e81c))
|
|
11
12
|
* **ui-date-input:** add scrollbar to dateinput v2 ([84f11c1](https://github.com/instructure/instructure-ui/commit/84f11c1c5638f9a91946b29125869115f66c5f0f))
|
|
12
13
|
* **ui-dialog,ui-date-input,ui-calendar:** add aria-live to calendar header, descriptive nav button labels with target month, aria-modal on focused dialogs ([ac11880](https://github.com/instructure/instructure-ui/commit/ac11880013be74f148558671177ed25c9286204f))
|
|
13
14
|
|
package/LICENSE.md
CHANGED
package/es/DateInput/v1/index.js
CHANGED
|
@@ -33,8 +33,8 @@ import { createChainedFunction } from '@instructure/ui-utils';
|
|
|
33
33
|
import { getInteraction, callRenderProp, safeCloneElement, passthroughProps } from '@instructure/ui-react-utils';
|
|
34
34
|
import { DateTime, Locale } from '@instructure/ui-i18n';
|
|
35
35
|
import { withStyle } from '@instructure/emotion';
|
|
36
|
-
import generateStyle from
|
|
37
|
-
import { allowedProps } from
|
|
36
|
+
import generateStyle from './styles.js';
|
|
37
|
+
import { allowedProps } from './props.js';
|
|
38
38
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
39
|
/**
|
|
40
40
|
---
|
|
@@ -42,7 +42,7 @@ category: components
|
|
|
42
42
|
---
|
|
43
43
|
**/
|
|
44
44
|
let DateInput = (_dec = withStyle(generateStyle, null), _dec(_class = class DateInput extends Component {
|
|
45
|
-
static displayName =
|
|
45
|
+
static displayName = 'DateInput';
|
|
46
46
|
static componentId = 'DateInput';
|
|
47
47
|
static Day = Calendar.Day;
|
|
48
48
|
static allowedProps = allowedProps;
|
package/es/exports/a.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { DateInput } from '../DateInput/v1/index.js';
|
|
26
|
+
export { DateInput2 } from '../DateInput2/v1/index.js';
|
package/es/exports/b.js
CHANGED
|
@@ -21,5 +21,6 @@
|
|
|
21
21
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { DateInput } from '../DateInput/v2/index.js';
|
|
26
|
+
export { DateInput2 } from '../DateInput2/v1/index.js';
|
|
@@ -19,8 +19,8 @@ var _passthroughProps = require("@instructure/ui-react-utils/lib/passthroughProp
|
|
|
19
19
|
var _DateTime = require("@instructure/ui-i18n/lib/DateTime.js");
|
|
20
20
|
var _Locale = require("@instructure/ui-i18n/lib/Locale.js");
|
|
21
21
|
var _emotion = require("@instructure/emotion");
|
|
22
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
23
|
-
var _props = require("./props");
|
|
22
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
23
|
+
var _props = require("./props.js");
|
|
24
24
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
25
25
|
var _dec, _class;
|
|
26
26
|
/*
|
|
@@ -52,7 +52,7 @@ category: components
|
|
|
52
52
|
---
|
|
53
53
|
**/
|
|
54
54
|
let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = class DateInput extends _react.Component {
|
|
55
|
-
static displayName =
|
|
55
|
+
static displayName = 'DateInput';
|
|
56
56
|
static componentId = 'DateInput';
|
|
57
57
|
static Day = _v11_.Calendar.Day;
|
|
58
58
|
static allowedProps = _props.allowedProps;
|
package/lib/exports/a.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "DateInput", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.DateInput;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DateInput2", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.DateInput2;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../DateInput/v1/index.js");
|
|
19
|
+
var _index2 = require("../DateInput2/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "DateInput", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.DateInput;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DateInput2", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.DateInput2;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../DateInput/v2/index.js");
|
|
19
|
+
var _index2 = require("../DateInput2/v1/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-input",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-50",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,27 +15,27 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/ui-
|
|
21
|
-
"@instructure/ui-
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-popover": "11.7.4-snapshot-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-text-input": "11.7.4-snapshot-
|
|
29
|
-
"@instructure/ui-
|
|
18
|
+
"@instructure/shared-types": "11.7.4-snapshot-50",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-50",
|
|
20
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-50",
|
|
21
|
+
"@instructure/ui-calendar": "11.7.4-snapshot-50",
|
|
22
|
+
"@instructure/ui-form-field": "11.7.4-snapshot-50",
|
|
23
|
+
"@instructure/ui-i18n": "11.7.4-snapshot-50",
|
|
24
|
+
"@instructure/ui-icons": "11.7.4-snapshot-50",
|
|
25
|
+
"@instructure/ui-popover": "11.7.4-snapshot-50",
|
|
26
|
+
"@instructure/ui-react-utils": "11.7.4-snapshot-50",
|
|
27
|
+
"@instructure/ui-selectable": "11.7.4-snapshot-50",
|
|
28
|
+
"@instructure/ui-text-input": "11.7.4-snapshot-50",
|
|
29
|
+
"@instructure/ui-position": "11.7.4-snapshot-50",
|
|
30
|
+
"@instructure/ui-utils": "11.7.4-snapshot-50"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
33
|
"@testing-library/jest-dom": "^6.6.3",
|
|
33
34
|
"@testing-library/react": "15.0.7",
|
|
34
35
|
"@testing-library/user-event": "^14.6.1",
|
|
35
36
|
"vitest": "^3.2.2",
|
|
36
|
-
"@instructure/ui-
|
|
37
|
-
"@instructure/ui-scripts": "11.7.4-snapshot-
|
|
38
|
-
"@instructure/ui-babel-preset": "11.7.4-snapshot-14"
|
|
37
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-50",
|
|
38
|
+
"@instructure/ui-scripts": "11.7.4-snapshot-50"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": ">=18 <=19"
|
|
@@ -50,9 +50,9 @@ import { DateTime, ApplyLocaleContext, Locale } from '@instructure/ui-i18n'
|
|
|
50
50
|
|
|
51
51
|
import { withStyle } from '@instructure/emotion'
|
|
52
52
|
|
|
53
|
-
import generateStyle from './styles'
|
|
53
|
+
import generateStyle from './styles.js'
|
|
54
54
|
|
|
55
|
-
import { allowedProps } from './props'
|
|
55
|
+
import { allowedProps } from './props.js'
|
|
56
56
|
import type { DateInputProps, DateInputState } from './props'
|
|
57
57
|
import type { FormMessage } from '@instructure/ui-form-field/v11_6'
|
|
58
58
|
|
|
@@ -63,6 +63,7 @@ category: components
|
|
|
63
63
|
**/
|
|
64
64
|
@withStyle(generateStyle, null)
|
|
65
65
|
class DateInput extends Component<DateInputProps, DateInputState> {
|
|
66
|
+
static displayName = 'DateInput'
|
|
66
67
|
static readonly componentId = 'DateInput'
|
|
67
68
|
static Day = Calendar.Day
|
|
68
69
|
declare context: React.ContextType<typeof ApplyLocaleContext>
|
package/src/exports/a.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { DateInput } from '../DateInput/v1'
|
|
26
|
-
export { DateInput2 } from '../DateInput2/v1'
|
|
25
|
+
export { DateInput } from '../DateInput/v1/index.js'
|
|
26
|
+
export { DateInput2 } from '../DateInput2/v1/index.js'
|
|
27
27
|
export type { DateInputProps } from '../DateInput/v1/props'
|
|
28
28
|
export type { DateInput2Props } from '../DateInput2/v1/props'
|
package/src/exports/b.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { DateInput } from '../DateInput/v2'
|
|
26
|
-
export { DateInput2 } from '../DateInput2/v1'
|
|
25
|
+
export { DateInput } from '../DateInput/v2/index.js'
|
|
26
|
+
export { DateInput2 } from '../DateInput2/v1/index.js'
|
|
27
27
|
export type { DateInputProps } from '../DateInput/v2/props'
|
|
28
28
|
export type { DateInput2Props } from '../DateInput2/v1/props'
|