Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentripplanner/building-blocks

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentripplanner/building-blocks - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

esm/index.js
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

26

lib/index.js

@@ -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

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