Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(typescript): provide .d.ts files at the root #12600

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/react/src/components/Button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
*/

export { default as ButtonSkeleton } from './Button.Skeleton';
export default from './Button';
import Button from './Button';
export default Button;
3 changes: 2 additions & 1 deletion packages/react/src/components/ButtonSet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
* LICENSE file in the root directory of this source tree.
*/

export default from './ButtonSet';
import ButtonSet from './ButtonSet';
export default ButtonSet;
4 changes: 2 additions & 2 deletions packages/react/src/components/ComboBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

export default from './ComboBox';
import ComboBox from './ComboBox';
export default ComboBox;
3 changes: 2 additions & 1 deletion packages/react/src/components/DatePicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
* LICENSE file in the root directory of this source tree.
*/
export { default as DatePickerSkeleton } from './DatePicker.Skeleton';
export default from './DatePicker';
import DatePicker from './DatePicker';
export default DatePicker;
5 changes: 2 additions & 3 deletions packages/react/src/components/FluidComboBox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

export default from './FluidComboBox';
export FluidComboBox from './FluidComboBox';
import FluidComboBox from './FluidComboBox';
export default FluidComboBox;
export { default as FluidComboBoxSkeleton } from './FluidComboBox.Skeleton';
5 changes: 2 additions & 3 deletions packages/react/src/components/FluidDatePicker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

export default from './FluidDatePicker';
export FluidDatePicker from './FluidDatePicker';

import FluidDatePicker from './FluidDatePicker';
export default FluidDatePicker;
export { default as FluidDatePickerSkeleton } from './FluidDatePicker.Skeleton';
File renamed without changes.