Socket
Socket
Sign inDemoInstall

@uifabric/foundation

Package Overview
Dependencies
Maintainers
3
Versions
196
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uifabric/foundation - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

CHANGELOG.json

11

lib-amd/createComponent.d.ts

@@ -5,7 +5,8 @@ import * as React from 'react';

}
export declare type IStyleFunction<TTheme, TStylesProps extends IThemeProps<TTheme>, TStyles> = (props: TStylesProps) => TStyles;
export declare type IStyledProps<TProps, TTheme> = TProps & IThemeProps<TTheme>;
export declare type IStyleFunction<TStylesProps extends IThemeProps<TTheme>, TStyles, TTheme> = (props: TStylesProps) => TStyles;
export declare type IStateProps<TProps> = TProps & {
view: (props: TProps) => JSX.Element;
};
export declare type IStylesProp<TTheme, TProps extends IThemeProps<TTheme>, TStyles> = IStyleFunction<TTheme, TProps, TStyles> | TStyles;
export declare type IStylesProp<TProps extends IThemeProps<TTheme>, TStyles, TTheme> = IStyleFunction<TProps, TStyles, TTheme> | TStyles;
export declare type IViewProps<TProps, TStylesSet> = TProps & {

@@ -20,10 +21,10 @@ styles: TStylesSet;

state?: React.ComponentType<IStateProps<TUserProps>>;
styles: IStylesProp<TTheme, TUserProps & IThemeProps<TTheme>, TStyles>;
styles: IStylesProp<TUserProps & IThemeProps<TTheme>, TStyles, TTheme>;
view: React.ComponentType<IViewProps<TUserProps, TStyleSet>>;
}
export interface IStylingProviders<TTheme, TStyles, TStyleSet> {
export interface IStylingProviders<TStyles, TStyleSet, TTheme> {
getTheme: () => TTheme;
mergeStyleSets: (styles: TStyles) => TStyleSet;
}
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TTheme, TStyles, TStyleSet>): React.StatelessComponent<TProps>;
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TStyles, TStyleSet, TTheme>): React.StatelessComponent<TProps>;
export declare function augmentComponent<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>): void;

@@ -5,7 +5,8 @@ import * as React from 'react';

}
export declare type IStyleFunction<TTheme, TStylesProps extends IThemeProps<TTheme>, TStyles> = (props: TStylesProps) => TStyles;
export declare type IStyledProps<TProps, TTheme> = TProps & IThemeProps<TTheme>;
export declare type IStyleFunction<TStylesProps extends IThemeProps<TTheme>, TStyles, TTheme> = (props: TStylesProps) => TStyles;
export declare type IStateProps<TProps> = TProps & {
view: (props: TProps) => JSX.Element;
};
export declare type IStylesProp<TTheme, TProps extends IThemeProps<TTheme>, TStyles> = IStyleFunction<TTheme, TProps, TStyles> | TStyles;
export declare type IStylesProp<TProps extends IThemeProps<TTheme>, TStyles, TTheme> = IStyleFunction<TProps, TStyles, TTheme> | TStyles;
export declare type IViewProps<TProps, TStylesSet> = TProps & {

@@ -20,10 +21,10 @@ styles: TStylesSet;

state?: React.ComponentType<IStateProps<TUserProps>>;
styles: IStylesProp<TTheme, TUserProps & IThemeProps<TTheme>, TStyles>;
styles: IStylesProp<TUserProps & IThemeProps<TTheme>, TStyles, TTheme>;
view: React.ComponentType<IViewProps<TUserProps, TStyleSet>>;
}
export interface IStylingProviders<TTheme, TStyles, TStyleSet> {
export interface IStylingProviders<TStyles, TStyleSet, TTheme> {
getTheme: () => TTheme;
mergeStyleSets: (styles: TStyles) => TStyleSet;
}
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TTheme, TStyles, TStyleSet>): React.StatelessComponent<TProps>;
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TStyles, TStyleSet, TTheme>): React.StatelessComponent<TProps>;
export declare function augmentComponent<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>): void;

@@ -5,7 +5,8 @@ import * as React from 'react';

}
export declare type IStyleFunction<TTheme, TStylesProps extends IThemeProps<TTheme>, TStyles> = (props: TStylesProps) => TStyles;
export declare type IStyledProps<TProps, TTheme> = TProps & IThemeProps<TTheme>;
export declare type IStyleFunction<TStylesProps extends IThemeProps<TTheme>, TStyles, TTheme> = (props: TStylesProps) => TStyles;
export declare type IStateProps<TProps> = TProps & {
view: (props: TProps) => JSX.Element;
};
export declare type IStylesProp<TTheme, TProps extends IThemeProps<TTheme>, TStyles> = IStyleFunction<TTheme, TProps, TStyles> | TStyles;
export declare type IStylesProp<TProps extends IThemeProps<TTheme>, TStyles, TTheme> = IStyleFunction<TProps, TStyles, TTheme> | TStyles;
export declare type IViewProps<TProps, TStylesSet> = TProps & {

@@ -20,10 +21,10 @@ styles: TStylesSet;

state?: React.ComponentType<IStateProps<TUserProps>>;
styles: IStylesProp<TTheme, TUserProps & IThemeProps<TTheme>, TStyles>;
styles: IStylesProp<TUserProps & IThemeProps<TTheme>, TStyles, TTheme>;
view: React.ComponentType<IViewProps<TUserProps, TStyleSet>>;
}
export interface IStylingProviders<TTheme, TStyles, TStyleSet> {
export interface IStylingProviders<TStyles, TStyleSet, TTheme> {
getTheme: () => TTheme;
mergeStyleSets: (styles: TStyles) => TStyleSet;
}
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TTheme, TStyles, TStyleSet>): React.StatelessComponent<TProps>;
export declare function createComponentWithProviders<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>, providers: IStylingProviders<TStyles, TStyleSet, TTheme>): React.StatelessComponent<TProps>;
export declare function augmentComponent<TProps, TStyles, TStyleSet, TTheme>(options: IComponentOptions<TProps, TStyles, TStyleSet, TTheme>): void;

@@ -14,3 +14,3 @@ {

"packages/foundation/package.json": "1eafb9be571dc98fd7855f4c1d097f25133c402f",
"packages/foundation/src/createComponent.tsx": "435c397f933dfd4b3355abdbd56b69540e048bce",
"packages/foundation/src/createComponent.tsx": "1e0be30d3a1cd09fd81ac0842e88a8752d054eca",
"packages/foundation/src/index.ts": "ee6e311e0dfffc26dda52974ea5e34c58ea94e51",

@@ -17,0 +17,0 @@ "packages/foundation/tsconfig.json": "3758c6c261a8af0f1c243da01fcd0a0c221684ae",

{
"name": "@uifabric/foundation",
"version": "0.0.1",
"version": "0.0.2",
"description": "Foundation library for building Fabric components.",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc