@fluentui/react-timepicker-compat 0.0.0-nightly-20240105-0405.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/CHANGELOG.md +32 -0
- package/LICENSE +15 -0
- package/README.md +38 -0
- package/package.json +68 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Change Log - @fluentui/react-timepicker-compat
|
|
2
|
+
|
|
3
|
+
This log was last generated on Fri, 05 Jan 2024 04:20:52 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
<!-- Start content -->
|
|
6
|
+
|
|
7
|
+
## [0.0.0-nightly-20240105-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-timepicker-compat_v0.0.0-nightly-20240105-0405.1)
|
|
8
|
+
|
|
9
|
+
Fri, 05 Jan 2024 04:20:52 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-timepicker-compat_v0.0.1..@fluentui/react-timepicker-compat_v0.0.0-nightly-20240105-0405.1)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
16
|
+
- Bump @fluentui/react-combobox to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
17
|
+
- Bump @fluentui/react-field to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
18
|
+
- Bump @fluentui/react-jsx-runtime to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
20
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
22
|
+
- Bump @fluentui/react-conformance to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
23
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightly-20240105-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/3fab68ac1c5b9eea0858d23cedbbc4d0b9d127f0) by beachball)
|
|
24
|
+
|
|
25
|
+
## [0.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-timepicker-compat_v0.0.1)
|
|
26
|
+
|
|
27
|
+
Thu, 04 Jan 2024 09:48:06 GMT
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- undefined ([PR #30199](https://github.com/microsoft/fluentui/pull/30199) by yuanboxue@microsoft.com)
|
|
32
|
+
- feat: release compat package ([PR #30201](https://github.com/microsoft/fluentui/pull/30201) by yuanboxue@microsoft.com)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
@fluentui/react-timepicker-compat
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
MIT License
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
14
|
+
|
|
15
|
+
Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license
|
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @fluentui/react-timepicker-compat
|
|
2
|
+
|
|
3
|
+
**React Timepicker components for [Fluent UI React](https://react.fluentui.dev/)**
|
|
4
|
+
|
|
5
|
+
These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
|
|
6
|
+
|
|
7
|
+
TimePicker offers a control that’s optimized for selecting a time from a drop-down list or using free-form input to enter a custom time.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
To import Timepicker:
|
|
12
|
+
|
|
13
|
+
```js
|
|
14
|
+
import { TimePicker } from '@fluentui/react-timepicker-compat';
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Examples
|
|
18
|
+
|
|
19
|
+
```jsx
|
|
20
|
+
<TimePicker />
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
# Compat component
|
|
24
|
+
|
|
25
|
+
## What makes a compat component?
|
|
26
|
+
|
|
27
|
+
A compat component is a component taken from v8 and partially updated with the v9 toolset while keeping its original functionality and most of the original API surface. The most noticeable change being the removal of all v8 dependencies and using only v9 dependencies. While this is a good first step, this is not the final v9 component. We are working on a fully fleshed v9 replacement that will follow all v9 patterns and conventions.
|
|
28
|
+
|
|
29
|
+
## How publishing the package will be handled
|
|
30
|
+
|
|
31
|
+
Compat components are not added in the `@fluentui/react-components` package suite. Instead, these components should be imported from their respective package as shown above. In contrast with components that live in `@fluentui/react-components`, compat components are to be released as `0.x.x` and there won't be an unstable release (`beta/alpha`) before this release. This is due to the way we will handle versioning for changes, allowing for breaking changes when necessary.
|
|
32
|
+
|
|
33
|
+
### Versioning for changes
|
|
34
|
+
|
|
35
|
+
We will take a similar approach as v0 where we will follow this pattern:
|
|
36
|
+
|
|
37
|
+
- `breaking change (major)`: Since this is a compat component, we will allow breaking changes if absolutely necessary. To accommodate for this, we will denote those changes as a minor version in semver, i.e. `0.(change will be reflected here).x`.
|
|
38
|
+
- `minor and patch`: These changes will be reflected in the patch version in semver as `0.x.(change will be reflected here)`.
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fluentui/react-timepicker-compat",
|
|
3
|
+
"version": "0.0.0-nightly-20240105-0405.1",
|
|
4
|
+
"description": "Fluent UI TimePicker Compat Component",
|
|
5
|
+
"main": "lib-commonjs/index.js",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"typings": "./dist/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"files": [
|
|
10
|
+
"*.md",
|
|
11
|
+
"dist/*.d.ts",
|
|
12
|
+
"lib",
|
|
13
|
+
"lib-commonjs"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/microsoft/fluentui"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "just-scripts build",
|
|
22
|
+
"bundle-size": "monosize measure",
|
|
23
|
+
"clean": "just-scripts clean",
|
|
24
|
+
"e2e": "cypress run --component",
|
|
25
|
+
"e2e:local": "cypress open --component",
|
|
26
|
+
"generate-api": "just-scripts generate-api",
|
|
27
|
+
"lint": "just-scripts lint",
|
|
28
|
+
"start": "yarn storybook",
|
|
29
|
+
"storybook": "start-storybook",
|
|
30
|
+
"test": "jest --passWithNoTests",
|
|
31
|
+
"test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"",
|
|
32
|
+
"type-check": "tsc -b tsconfig.json"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@fluentui/eslint-plugin": "*",
|
|
36
|
+
"@fluentui/react-conformance": "0.0.0-nightly-20240105-0405.1",
|
|
37
|
+
"@fluentui/react-conformance-griffel": "0.0.0-nightly-20240105-0405.1",
|
|
38
|
+
"@fluentui/scripts-api-extractor": "*",
|
|
39
|
+
"@fluentui/scripts-tasks": "*"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@fluentui/keyboard-keys": "0.0.0-nightly-20240105-0405.1",
|
|
43
|
+
"@fluentui/react-combobox": "0.0.0-nightly-20240105-0405.1",
|
|
44
|
+
"@fluentui/react-field": "0.0.0-nightly-20240105-0405.1",
|
|
45
|
+
"@fluentui/react-jsx-runtime": "0.0.0-nightly-20240105-0405.1",
|
|
46
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly-20240105-0405.1",
|
|
47
|
+
"@fluentui/react-theme": "0.0.0-nightly-20240105-0405.1",
|
|
48
|
+
"@fluentui/react-utilities": "0.0.0-nightly-20240105-0405.1",
|
|
49
|
+
"@griffel/react": "^1.5.14",
|
|
50
|
+
"@swc/helpers": "^0.5.1"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@types/react": ">=16.8.0 <19.0.0",
|
|
54
|
+
"@types/react-dom": ">=16.8.0 <19.0.0",
|
|
55
|
+
"react": ">=16.8.0 <19.0.0",
|
|
56
|
+
"react-dom": ">=16.8.0 <19.0.0"
|
|
57
|
+
},
|
|
58
|
+
"exports": {
|
|
59
|
+
".": {
|
|
60
|
+
"types": "./dist/index.d.ts",
|
|
61
|
+
"node": "./lib-commonjs/index.js",
|
|
62
|
+
"import": "./lib/index.js",
|
|
63
|
+
"require": "./lib-commonjs/index.js"
|
|
64
|
+
},
|
|
65
|
+
"./package.json": "./package.json"
|
|
66
|
+
},
|
|
67
|
+
"beachball": {}
|
|
68
|
+
}
|