@opentripplanner/building-blocks
Advanced tools
Comparing version 1.0.2 to 1.0.3
import blue from "./colors/blue"; | ||
import red from "./colors/red"; | ||
import grey from "./colors/grey"; | ||
export { blue, red, grey }; | ||
export default { | ||
blue: blue, | ||
red: red, | ||
grey: grey | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,5 +0,40 @@ | ||
import blue from "./colors/blue"; | ||
import red from "./colors/red"; | ||
import grey from "./colors/grey"; | ||
export { blue, red, grey }; | ||
declare const _default: { | ||
blue: { | ||
50: string; | ||
100: string; | ||
200: string; | ||
300: string; | ||
400: string; | ||
500: string; | ||
600: string; | ||
700: string; | ||
800: string; | ||
900: string; | ||
}; | ||
red: { | ||
50: string; | ||
100: string; | ||
200: string; | ||
300: string; | ||
400: string; | ||
500: string; | ||
600: string; | ||
700: string; | ||
800: string; | ||
900: string; | ||
}; | ||
grey: { | ||
50: string; | ||
100: string; | ||
200: string; | ||
300: string; | ||
400: string; | ||
500: string; | ||
600: string; | ||
700: string; | ||
800: string; | ||
900: string; | ||
}; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -8,20 +8,3 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "blue", { | ||
enumerable: true, | ||
get: function () { | ||
return _blue.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "red", { | ||
enumerable: true, | ||
get: function () { | ||
return _red.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "grey", { | ||
enumerable: true, | ||
get: function () { | ||
return _grey.default; | ||
} | ||
}); | ||
exports.default = void 0; | ||
@@ -33,2 +16,9 @@ var _blue = _interopRequireDefault(require("./colors/blue")); | ||
var _grey = _interopRequireDefault(require("./colors/grey")); | ||
var _default = { | ||
blue: _blue.default, | ||
red: _red.default, | ||
grey: _grey.default | ||
}; | ||
exports.default = _default; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
export interface Hue { | ||
@@ -3,0 +2,0 @@ [key: number]: string; |
import { ReactElement } from "react"; | ||
declare const _default: { | ||
title: string; | ||
}; | ||
export default _default; | ||
import { Meta } from "@storybook/react"; | ||
import ColorPalette from "./ColorPalette"; | ||
declare const meta: Meta<typeof ColorPalette>; | ||
export default meta; | ||
export declare const Grey: () => ReactElement; | ||
@@ -7,0 +7,0 @@ export declare const Blue: () => ReactElement; |
@@ -12,5 +12,7 @@ "use strict"; | ||
const red_1 = __importDefault(require("../colors/red")); | ||
exports.default = { | ||
title: "Building-Blocks/Colors" | ||
const meta = { | ||
title: "Building-Blocks/Colors", | ||
component: ColorPalette_1.default | ||
}; | ||
exports.default = meta; | ||
const Grey = () => { | ||
@@ -17,0 +19,0 @@ return react_1.default.createElement(ColorPalette_1.default, { color: grey_1.default }); |
{ | ||
"name": "@opentripplanner/building-blocks", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Styling and UI Component Library", | ||
@@ -5,0 +5,0 @@ "author": "@binh-dam-ibigroup", |
@@ -5,2 +5,2 @@ import blue from "./colors/blue"; | ||
export { blue, red, grey }; | ||
export default { blue, red, grey }; |
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
80185
436
0