Skip to content

Commit 48de34a

Browse files
nicholasriceawentzel
authored andcommitted
feat: remove JSS manager dependency from React base components (#148)
* removes fast-jss-managed-react dependency from fast-components-react-base * fix tslint errors * removing JSS reference in comments * moving comment * enumerate lodash.es as a peer dependency * fix tslint error * reverting unintentional changes * updating package-locks * move interfaces to managed-classes-repo * plumb typings * fixing tslint error
1 parent 4fa60f4 commit 48de34a

File tree

31 files changed

+56532
-49899
lines changed

31 files changed

+56532
-49899
lines changed

packages/fast-animation/package-lock.json

Lines changed: 308 additions & 374 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fast-browser-extensions/package-lock.json

Lines changed: 7031 additions & 7466 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fast-colors/package-lock.json

Lines changed: 5084 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/fast-components-class-name-contracts/package-lock.json

Lines changed: 294 additions & 294 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
export * from "./button";
2+
export * from "./managed-classes";
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
/**
3+
* Class names under a given object keys
4+
*/
5+
export type ClassNames<T> = {
6+
[className in keyof T]: string;
7+
};
8+
9+
/**
10+
* The interface for class names passed as props
11+
*/
12+
export interface IManagedClasses<T> {
13+
managedClasses: ClassNames<T>;
14+
}

0 commit comments

Comments
 (0)