Skip to content

Commit

Permalink
Rename @uifabric/date-time to @fluentui/react-date-time (microsoft#15659
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ecraig12345 authored and Seth Donohue committed Nov 2, 2020
1 parent f802718 commit 72839b7
Show file tree
Hide file tree
Showing 157 changed files with 218 additions and 194 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Controls/web.tsx @Vitalius1 @natalieethell

#### Packages
packages/react-charting/ @Raghurk
packages/date-time @lorejoh12 @evlevy @pompomon
packages/react-date-time @lorejoh12 @evlevy @pompomon
packages/date-time-utilities @lorejoh12 @evlevy @pompomon
packages/eslint-plugin/ @ecraig12345
packages/react-docsite-components/ @ecraig12345
Expand Down
12 changes: 6 additions & 6 deletions apps/pr-deploy-site/just.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ let instructions = copyInstructions.copyFilesToDestinationDirectory(
const dependencies = [
'@fluentui/docs',
'@fluentui/perf-test',
'@fluentui/public-docsite-resources',
'@fluentui/public-docsite',
'@fluentui/react',
'@fluentui/react-avatar',
'@fluentui/react-button',
'@fluentui/react-charting',
'@fluentui/react-checkbox',
'@fluentui/react-date-time',
'@fluentui/react-experiments',
'@fluentui/react-image',
'@fluentui/react-link',
'@fluentui/react-slider',
'@fluentui/react-tabs',
'@fluentui/react-text',
'@fluentui/react-toggle',
'@fluentui/react-charting',
'@uifabric/date-time',
'@fluentui/react-experiments',
'@fluentui/public-docsite',
'@fluentui/public-docsite-resources',
'@fluentui/react',
'perf-test',
'theming-designer',
];
Expand Down
12 changes: 6 additions & 6 deletions apps/pr-deploy-site/pr-deploy-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ const siteInfo = [
icon: 'CheckboxComposite',
title: 'Checkbox',
},
{
package: '@fluentui/react-date-time',
link: './react-date-time/storybook/index.html',
icon: 'PrimaryCalendar',
title: 'Date/Time',
},
{
package: '@fluentui/react-image',
link: './react-image/storybook/index.html',
Expand Down Expand Up @@ -91,12 +97,6 @@ const siteInfo = [
icon: 'BarChart4',
title: 'Charting',
},
{
package: '@uifabric/date-time',
link: './date-time/storybook/index.html',
icon: 'PrimaryCalendar',
title: 'Date/Time',
},
{
package: 'theming-designer',
link: './theming-designer/index.html',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CalendarPageProps } from '@fluentui/react-examples/lib/date-time/Calendar/Calendar.doc';
import { CalendarPageProps } from '@fluentui/react-examples/lib/react-date-time/Calendar/Calendar.doc';
import { DemoPage } from '../DemoPage';

export const CalendarPage = (props: { isHeaderVisible: boolean }) => (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';

import { DemoPage } from '../DemoPage';
import { DatePickerPageProps } from '@fluentui/react-examples/lib/date-time/DatePicker/DatePicker.doc';
import { DatePickerPageProps } from '@fluentui/react-examples/lib/react-date-time/DatePicker/DatePicker.doc';

export const DatePickerPage = (props: { isHeaderVisible: boolean }) => (
<DemoPage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TFabricPlatformPageProps } from '../../../interfaces/Platforms';
import { CalendarPageProps as ExternalProps } from '@fluentui/react-examples/lib/date-time/Calendar/Calendar.doc';
import { CalendarPageProps as ExternalProps } from '@fluentui/react-examples/lib/react-date-time/Calendar/Calendar.doc';

const related = require('!raw-loader!@fluentui/public-docsite/src/pages/Controls/CalendarPage/docs/CalendarRelated.md') as string;
const componentUrl =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TFabricPlatformPageProps } from '../../../interfaces/Platforms';
import { DatePickerPageProps as ExternalProps } from '@fluentui/react-examples/lib/date-time/DatePicker/DatePicker.doc';
import { DatePickerPageProps as ExternalProps } from '@fluentui/react-examples/lib/react-date-time/DatePicker/DatePicker.doc';

const related = require('!raw-loader!@fluentui/public-docsite/src/pages/Controls/DatePickerPage/docs/DatePickerRelated.md') as string;
const componentUrl =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const related = require('!raw-loader!@fluentui/public-docsite/src/pages/Controls
export const PickersPageProps: TFabricPlatformPageProps = {
web: {
...(ExternalProps as any),
componentUrl: 'https://github.com/microsoft/fluentui/tree/master/packages/react/src/components/pickers',
componentUrl: 'https://github.com/microsoft/fluentui/tree/master/packages/react-internal/src/components/pickers',
related,
},
};
19 changes: 9 additions & 10 deletions apps/vr-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,34 @@
"dependencies": {
"@babel/core": "^7.10.4",
"@fluentui/eslint-plugin": "^1.0.0-beta",
"@fluentui/example-data": "^8.0.0-beta",
"@fluentui/font-icons-mdl2": "^8.0.0-beta",
"@fluentui/react": "^8.0.0-beta",
"@fluentui/react-button": "^1.0.0-beta",
"@fluentui/react-cards": "^1.0.0-beta",
"@fluentui/react-experiments": "^8.0.0-beta",
"@fluentui/react-hooks": "^8.0.0-beta",
"@fluentui/react-icons-mdl2": "^1.0.0-beta",
"@fluentui/scripts": "^1.0.0",
"@fluentui/set-version": "^8.0.0-beta",
"@fluentui/storybook": "^1.0.0",
"@storybook/addon-options": "^5.3.8",
"@storybook/addons": "^5.3.8",
"@storybook/channels": "^5.3.8",
"@storybook/react": "^5.3.8",
"@types/react": "16.8.25",
"@types/react-dom": "16.8.4",
"@types/react": "16.8.25",
"@types/webpack-env": "1.15.1",
"@fluentui/scripts": "^1.0.0",
"@uifabric/date-time": "^8.0.0-beta",
"@fluentui/example-data": "^8.0.0-beta",
"@fluentui/react-experiments": "^8.0.0-beta",
"@fluentui/react-cards": "^1.0.0-beta",
"@fluentui/react-hooks": "^8.0.0-beta",
"@fluentui/set-version": "^8.0.0-beta",
"awesome-typescript-loader": "^3.2.3",
"babel-loader": "^8.0.6",
"css-loader": "^3.5.3",
"csstype": "^2.6.7",
"file-loader": "^0.11.1",
"postcss-loader": "^3.0.0",
"raw-loader": "^0.5.1",
"react": "16.8.6",
"react-app-polyfill": "~1.0.1",
"react-dom": "16.8.6",
"react-app-polyfill": "~1.0.1",
"react": "16.8.6",
"screener-runner": "^0.10.43",
"screener-storybook": "^0.18.6",
"style-loader": "^1.2.1",
Expand Down
3 changes: 1 addition & 2 deletions apps/vr-tests/src/stories/Calendar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import * as React from 'react';
import Screener from 'screener-storybook/src/screener';
import { storiesOf } from '@storybook/react';
import { FabricDecoratorFixedWidth } from '../utilities/index';
import { Fabric } from '@fluentui/react';
import { Calendar } from '@uifabric/date-time/lib/Calendar';
import { Fabric, Calendar } from '@fluentui/react';

const date = new Date(2010, 1, 12);
storiesOf('Calendar', module)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/date-time to @fluentui/react-date-time",
"packageName": "@fluentui/react",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-22T22:55:09.402Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/date-time to @fluentui/react-date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-22T22:54:45.606Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/date-time to @fluentui/react-date-time",
"packageName": "@fluentui/react-monaco-editor",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-22T22:54:52.372Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "prerelease",
"comment": "Remove direct references to re-exported packages",
"packageName": "@fluentui/react-next",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-22T22:55:05.010Z"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Rename office-ui-fabric-react package and update references",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-09-30T20:43:01.992Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Fix imports to reference physical files.",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "xgao@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-02T00:52:25.751Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Don't publish demo app; remove unused example-app-base dev dependency",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-07T18:47:22.021Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Implementing ref conformance tests and updating CalendarDayGrid's FocusZone ref to an elementRef.",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "czearing@outlook.com",
"dependentChangeType": "patch",
"date": "2020-10-16T01:35:21.616Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "none",
"comment": "Remove legacy demo app webpack config",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "none",
"date": "2020-10-16T19:41:00.519Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/styling to @fluentui/style-utilities",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-16T22:41:05.758Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "none",
"comment": "Rename build-related packages",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "none",
"date": "2020-10-20T16:56:56.916Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/set-version to @fluentui/set-version",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "ololubek@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-20T17:53:38.799Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "none",
"comment": "Update references to doc site-related packages",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "none",
"date": "2020-10-20T18:11:47.264Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "none",
"comment": "Update package version for @fluentui/react version 8 beta release.",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "xgao@microsoft.com",
"dependentChangeType": "none",
"date": "2020-10-20T19:05:44.978Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Rename @uifabric/react-hooks to @fluentui/react-hooks & @uifabric/utilities to @fluentui/utilities",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "ololubek@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-21T01:12:42.240Z"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "prerelease",
"comment": "Prepare for exporting from @fluentui/react: Reuse shared types and defaults; add missing exports; improve interface names",
"packageName": "@uifabric/date-time",
"packageName": "@fluentui/react-date-time",
"email": "elcraig@microsoft.com",
"dependentChangeType": "patch",
"date": "2020-10-22T09:00:33.780Z"
Expand Down
2 changes: 1 addition & 1 deletion packages/api-docs/config/api-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ const apiDocs = require('../lib/index');
module.exports = {
apiJsonPaths: [
// NOTE: when adding new package to this list, also add package dep in package.json.
path.resolve(__dirname, '../../date-time/dist/date-time.api.json'),
path.resolve(__dirname, '../../date-time-utilities/dist/date-time-utilities.api.json'),
path.resolve(__dirname, '../../merge-styles/dist/merge-styles.api.json'),
path.resolve(__dirname, '../../react/dist/react.api.json'),
path.resolve(__dirname, '../../react-button/dist/react-button.api.json'),
path.resolve(__dirname, '../../react-cards/dist/react-cards.api.json'),
path.resolve(__dirname, '../../react-checkbox/dist/react-checkbox.api.json'),
path.resolve(__dirname, '../../react-date-time/dist/react-date-time.api.json'),
path.resolve(__dirname, '../../react-focus/dist/react-focus.api.json'),
path.resolve(__dirname, '../../react-internal/dist/react-internal.api.json'),
path.resolve(__dirname, '../../react-link/dist/react-link.api.json'),
Expand Down
12 changes: 6 additions & 6 deletions packages/api-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,26 @@
"devDependencies": {
"@fluentui/eslint-plugin": "^1.0.0-beta",
"@types/fs-extra": "^8.0.1",
"@types/node": "^10.3.2",
"@fluentui/scripts": "^1.0.0"
"@fluentui/scripts": "^1.0.0",
"@types/node": "^10.3.2"
},
"dependencies": {
"@fluentui/date-time-utilities": "^8.0.0-beta",
"@fluentui/merge-styles": "^8.0.0-beta",
"@fluentui/react": "^8.0.0-beta",
"@fluentui/react-button": "^1.0.0-beta",
"@fluentui/react-cards": "^1.0.0-beta",
"@fluentui/react-checkbox": "^1.0.0-beta",
"@fluentui/react-date-time": "^8.0.0-beta",
"@fluentui/react-focus": "^8.0.0-beta",
"@fluentui/react-internal": "^8.0.0-beta",
"@fluentui/react-link": "^1.0.0-beta",
"@fluentui/react-slider": "^1.0.0-beta",
"@fluentui/react-tabs": "^1.0.0-beta",
"@fluentui/react-theme-provider": "^1.0.0-beta",
"@fluentui/react-toggle": "^1.0.0-beta",
"@fluentui/theme": "^2.0.0-beta",
"@uifabric/date-time": "^8.0.0-beta",
"@fluentui/merge-styles": "^8.0.0-beta",
"@fluentui/react-cards": "^1.0.0-beta",
"@fluentui/style-utilities": "^8.0.0-beta",
"@fluentui/theme": "^2.0.0-beta",
"@fluentui/utilities": "^8.0.0-beta",
"@microsoft/api-extractor-model": "7.7.1",
"@microsoft/tsdoc": "0.12.14",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# @uifabric/date-time
# @fluentui/react-date-time

**Date and time-related components for [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**
([formerly Office UI Fabric React](https://developer.microsoft.com/en-us/office/blogs/ui-fabric-is-evolving-into-fluent-ui/))

To import the components:

```js
import { Calendar, DatePicker } from '@uifabric/date-time';
import { Calendar, DatePicker } from '@fluentui/react-date-time';
```
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## API Report File for "@uifabric/date-time"
## API Report File for "@fluentui/react-date-time"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
Expand Down
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 72839b7

Please sign in to comment.