Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-theme-provider] Import terra-theme-properties package #1979

Merged
merged 6 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
9 changes: 8 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion packages/terra-theme-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8",
"terra-mixins": "^1.0.0"
"terra-mixins": "^1.0.0",
"terra-theme-properties": "file:../../terra-theme-properties-0.1.0.tgz"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be updated to use the released version of terra-theme-properties once it is available.

},
"scripts": {
"compile": "babel --root-mode upward src --out-dir lib --copy-files",
Expand Down
2 changes: 2 additions & 0 deletions packages/terra-theme-provider/src/ThemeProvider.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React, { useEffect } from 'react';
import PropTypes from 'prop-types';

import 'terra-theme-properties';

const propTypes = {
/**
* The component(s) that will be wrapped by `<ThemeProvider />`
Expand Down
Binary file added terra-theme-properties-0.1.0.tgz
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be removed once using the released version of terra-theme-properties.

Binary file not shown.
Loading