@instructure/ui-date-time-input 11.7.3 → 11.7.4-pr-snapshot-1781695314229
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 +8 -0
- package/LICENSE.md +1 -0
- package/{lib/DateTimeInput/v2/props.js → babel.config.cjs} +12 -7
- package/es/DateTimeInput/v1/index.js +2 -2
- package/es/DateTimeInput/v2/index.js +2 -2
- package/es/exports/a.js +2 -1
- package/es/exports/b.js +2 -1
- package/package.json +16 -21
- package/src/DateTimeInput/v1/index.tsx +2 -1
- package/src/DateTimeInput/v2/index.tsx +2 -1
- package/src/exports/a.ts +1 -1
- package/src/exports/b.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/DateTimeInput/v1/index.d.ts +1 -0
- package/types/DateTimeInput/v1/index.d.ts.map +1 -1
- package/types/DateTimeInput/v2/index.d.ts +1 -0
- package/types/DateTimeInput/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +1 -1
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +1 -1
- package/types/exports/b.d.ts.map +1 -1
- package/lib/DateTimeInput/v1/index.js +0 -551
- package/lib/DateTimeInput/v1/props.js +0 -31
- package/lib/DateTimeInput/v2/index.js +0 -349
- package/lib/exports/a.js +0 -12
- package/lib/exports/b.js +0 -12
- package/lib/package.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-date-time-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
|
|
7
15
|
|
|
8
16
|
|
package/LICENSE.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.allowedProps = void 0;
|
|
7
1
|
/*
|
|
8
2
|
* The MIT License (MIT)
|
|
9
3
|
*
|
|
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
|
|
|
28
22
|
* SOFTWARE.
|
|
29
23
|
*/
|
|
30
24
|
|
|
31
|
-
|
|
25
|
+
module.exports = {
|
|
26
|
+
presets: [
|
|
27
|
+
[
|
|
28
|
+
require('@instructure/ui-babel-preset'),
|
|
29
|
+
{
|
|
30
|
+
esModules: Boolean(process.env.ES_MODULES),
|
|
31
|
+
removeConsole: process.env.NODE_ENV === 'production',
|
|
32
|
+
transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -31,7 +31,7 @@ import { Calendar } from '@instructure/ui-calendar/v11_6';
|
|
|
31
31
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
32
32
|
import { IconButton } from '@instructure/ui-buttons/v11_6';
|
|
33
33
|
import { IconArrowOpenEndSolid, IconArrowOpenStartSolid } from '@instructure/ui-icons';
|
|
34
|
-
import { allowedProps } from
|
|
34
|
+
import { allowedProps } from './props.js';
|
|
35
35
|
import { error } from '@instructure/console';
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -41,8 +41,8 @@ category: components
|
|
|
41
41
|
**/
|
|
42
42
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
43
43
|
class DateTimeInput extends Component {
|
|
44
|
-
static displayName = "DateTimeInput";
|
|
45
44
|
// extra verbose localized date and time
|
|
45
|
+
static displayName = 'DateTimeInput';
|
|
46
46
|
static DEFAULT_MESSAGE_FORMAT = 'LLLL';
|
|
47
47
|
static allowedProps = allowedProps;
|
|
48
48
|
static defaultProps = {
|
|
@@ -27,7 +27,7 @@ import { Locale, DateTime, ApplyLocaleContext } from '@instructure/ui-i18n';
|
|
|
27
27
|
import { FormFieldGroup } from '@instructure/ui-form-field/latest';
|
|
28
28
|
import { DateInput } from '@instructure/ui-date-input/latest';
|
|
29
29
|
import { TimeSelect } from '@instructure/ui-time-select/latest';
|
|
30
|
-
import { allowedProps } from
|
|
30
|
+
import { allowedProps } from './props.js';
|
|
31
31
|
import { error } from '@instructure/console';
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -37,8 +37,8 @@ category: components
|
|
|
37
37
|
**/
|
|
38
38
|
import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
39
39
|
class DateTimeInput extends Component {
|
|
40
|
-
static displayName = "DateTimeInput";
|
|
41
40
|
// extra verbose localized date and time
|
|
41
|
+
static displayName = 'DateTimeInput';
|
|
42
42
|
static DEFAULT_MESSAGE_FORMAT = 'LLLL';
|
|
43
43
|
static allowedProps = allowedProps;
|
|
44
44
|
static defaultProps = {
|
package/es/exports/a.js
CHANGED
package/es/exports/b.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-date-time-input",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.4-pr-snapshot-1781695314229",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "A UI component that allows to select date and time.",
|
|
5
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
7
|
"module": "./es/index.js",
|
|
7
|
-
"main": "./lib/index.js",
|
|
8
8
|
"types": "./types/index.d.ts",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -15,25 +15,25 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/
|
|
21
|
-
"@instructure/ui-buttons": "11.7.
|
|
22
|
-
"@instructure/ui-
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-i18n": "11.7.
|
|
26
|
-
"@instructure/ui-icons": "11.7.
|
|
27
|
-
"@instructure/ui-react-utils": "11.7.
|
|
28
|
-
"@instructure/ui-time-select": "11.7.
|
|
29
|
-
"@instructure/ui-utils": "11.7.
|
|
18
|
+
"@instructure/console": "11.7.4-pr-snapshot-1781695314229",
|
|
19
|
+
"@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
|
|
21
|
+
"@instructure/ui-buttons": "11.7.4-pr-snapshot-1781695314229",
|
|
22
|
+
"@instructure/ui-calendar": "11.7.4-pr-snapshot-1781695314229",
|
|
23
|
+
"@instructure/ui-form-field": "11.7.4-pr-snapshot-1781695314229",
|
|
24
|
+
"@instructure/ui-date-input": "11.7.4-pr-snapshot-1781695314229",
|
|
25
|
+
"@instructure/ui-i18n": "11.7.4-pr-snapshot-1781695314229",
|
|
26
|
+
"@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
|
|
27
|
+
"@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
|
|
28
|
+
"@instructure/ui-time-select": "11.7.4-pr-snapshot-1781695314229",
|
|
29
|
+
"@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@testing-library/jest-dom": "^6.6.3",
|
|
33
33
|
"@testing-library/react": "15.0.7",
|
|
34
34
|
"@testing-library/user-event": "^14.6.1",
|
|
35
35
|
"vitest": "^3.2.2",
|
|
36
|
-
"@instructure/ui-babel-preset": "11.7.
|
|
36
|
+
"@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19"
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
},
|
|
44
44
|
"sideEffects": false,
|
|
45
45
|
"exports": {
|
|
46
|
-
"./lib/*": "./lib/*",
|
|
47
46
|
"./es/*": "./es/*",
|
|
48
47
|
"./types/*": "./types/*",
|
|
49
48
|
"./package.json": "./package.json",
|
|
@@ -52,28 +51,24 @@
|
|
|
52
51
|
"src": "./src/exports/a.ts",
|
|
53
52
|
"types": "./types/exports/a.d.ts",
|
|
54
53
|
"import": "./es/exports/a.js",
|
|
55
|
-
"require": "./lib/exports/a.js",
|
|
56
54
|
"default": "./es/exports/a.js"
|
|
57
55
|
},
|
|
58
56
|
"./v11_6": {
|
|
59
57
|
"src": "./src/exports/a.ts",
|
|
60
58
|
"types": "./types/exports/a.d.ts",
|
|
61
59
|
"import": "./es/exports/a.js",
|
|
62
|
-
"require": "./lib/exports/a.js",
|
|
63
60
|
"default": "./es/exports/a.js"
|
|
64
61
|
},
|
|
65
62
|
"./v11_7": {
|
|
66
63
|
"src": "./src/exports/b.ts",
|
|
67
64
|
"types": "./types/exports/b.d.ts",
|
|
68
65
|
"import": "./es/exports/b.js",
|
|
69
|
-
"require": "./lib/exports/b.js",
|
|
70
66
|
"default": "./es/exports/b.js"
|
|
71
67
|
},
|
|
72
68
|
"./latest": {
|
|
73
69
|
"src": "./src/exports/b.ts",
|
|
74
70
|
"types": "./types/exports/b.d.ts",
|
|
75
71
|
"import": "./es/exports/b.js",
|
|
76
|
-
"require": "./lib/exports/b.js",
|
|
77
72
|
"default": "./es/exports/b.js"
|
|
78
73
|
}
|
|
79
74
|
},
|
|
@@ -81,7 +76,7 @@
|
|
|
81
76
|
"lint": "ui-scripts lint",
|
|
82
77
|
"lint:fix": "ui-scripts lint --fix",
|
|
83
78
|
"clean": "ui-scripts clean",
|
|
84
|
-
"build": "ui-scripts build
|
|
79
|
+
"build": "ui-scripts build",
|
|
85
80
|
"build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
|
|
86
81
|
"build:types": "tsc -p tsconfig.build.json",
|
|
87
82
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
IconArrowOpenStartSolid
|
|
39
39
|
} from '@instructure/ui-icons'
|
|
40
40
|
import type { DateTimeInputProps, DateTimeInputState } from './props'
|
|
41
|
-
import { allowedProps } from './props'
|
|
41
|
+
import { allowedProps } from './props.js'
|
|
42
42
|
import { error } from '@instructure/console'
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -48,6 +48,7 @@ category: components
|
|
|
48
48
|
**/
|
|
49
49
|
class DateTimeInput extends Component<DateTimeInputProps, DateTimeInputState> {
|
|
50
50
|
// extra verbose localized date and time
|
|
51
|
+
static displayName = 'DateTimeInput'
|
|
51
52
|
private static readonly DEFAULT_MESSAGE_FORMAT = 'LLLL'
|
|
52
53
|
static allowedProps = allowedProps
|
|
53
54
|
static defaultProps = {
|
|
@@ -31,7 +31,7 @@ import type { FormMessage } from '@instructure/ui-form-field/latest'
|
|
|
31
31
|
import { DateInput } from '@instructure/ui-date-input/latest'
|
|
32
32
|
import { TimeSelect } from '@instructure/ui-time-select/latest'
|
|
33
33
|
import type { DateTimeInputProps, DateTimeInputState } from './props'
|
|
34
|
-
import { allowedProps } from './props'
|
|
34
|
+
import { allowedProps } from './props.js'
|
|
35
35
|
import { error } from '@instructure/console'
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -41,6 +41,7 @@ category: components
|
|
|
41
41
|
**/
|
|
42
42
|
class DateTimeInput extends Component<DateTimeInputProps, DateTimeInputState> {
|
|
43
43
|
// extra verbose localized date and time
|
|
44
|
+
static displayName = 'DateTimeInput'
|
|
44
45
|
private static readonly DEFAULT_MESSAGE_FORMAT = 'LLLL'
|
|
45
46
|
static allowedProps = allowedProps
|
|
46
47
|
static defaultProps = {
|
package/src/exports/a.ts
CHANGED
package/src/exports/b.ts
CHANGED