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

@amboss/design-system

Package Overview
Dependencies
Maintainers
2
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amboss/design-system - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

5

build/src/components/Icon/Icon.d.ts
import React from "react";
import { IconsVariations } from "../../types";
import icons from "../../../build-tokens/assets/icons.json";

@@ -9,4 +10,6 @@ export declare type IconName = keyof typeof icons;

hoverable?: boolean | React.MutableRefObject<any>;
/** Icon color can inherit parent style or can be primary, secondary and tertiary. */
variant?: IconsVariations;
size?: "s" | "m" | "l";
};
export declare const Icon: ({ name, hoverable, size, }: IconProps) => React.ReactElement;
export declare const Icon: ({ name, hoverable, size, variant, }: IconProps) => React.ReactElement;

6

build/src/components/Link/Link.d.ts

@@ -17,3 +17,3 @@ import React from "react";

size?: "xs" | "s" | "m";
weight?: "normal" | "bold";
weight?: "normal" | "bold" | "inherit";
variant?: BaseVariations;

@@ -28,3 +28,3 @@ "data-e2e-test-id"?: string;

size?: "s" | "xs" | "m";
weight?: "normal" | "bold";
weight?: "normal" | "bold" | "inherit";
variant?: BaseVariations;

@@ -42,3 +42,3 @@ "data-e2e-test-id"?: string;

size?: "s" | "xs" | "m";
weight?: "normal" | "bold";
weight?: "normal" | "bold" | "inherit";
variant?: BaseVariations;

@@ -45,0 +45,0 @@ "data-e2e-test-id"?: string;

@@ -6,3 +6,3 @@ import React from "react";

size?: "xs" | "s" | "m";
weight?: "normal" | "bold";
weight?: "normal" | "bold" | "inherit";
as?: "p" | "span";

@@ -9,0 +9,0 @@ variant?: TextVariations;

@@ -8,3 +8,4 @@ export declare type TextAlignment = "left" | "right" | "center";

export declare type Order = "first" | "last" | "unset";
export declare type BaseVariations = "primary" | "secondary" | "tertiary" | "error";
export declare type BaseVariations = "primary" | "secondary" | "tertiary";
export declare type TextVariations = BaseVariations | "error";
export declare type IconsVariations = BaseVariations | "inherit";

@@ -1,23 +0,29 @@

# v0.5.0 (Tue Apr 13 2021)
# v0.5.1 (Fri Apr 16 2021)
### Release Notes
#### SRCH-726 <StyledText /> component ([#144](https://github.com/amboss-mededu/amboss-design-system/pull/144))
#### COR-1156 Add icon colors ([#161](https://github.com/amboss-mededu/amboss-design-system/pull/161))
- add the `<StyledText />` component to Storybook
- add `fontStyles` token file
### PR-Server Link
- [Design system](https://COR-1156-icon-colors.design.de.qa.medicuja.de)
#### add wip badge for select ([#153](https://github.com/amboss-mededu/amboss-design-system/pull/153))
#### Add welcome page ([#159](https://github.com/amboss-mededu/amboss-design-system/pull/159))
### PR-Server Link
- [Design system](https://COR-1177-welcome-page.design.de.qa.medicuja.de)
---
#### 🚀 Enhancement
#### 🐛 Bug Fix
- SRCH-726 <StyledText /> component [#144](https://github.com/amboss-mededu/amboss-design-system/pull/144) ([@webforte](https://github.com/webforte))
- COR-1156 Add icon colors [#161](https://github.com/amboss-mededu/amboss-design-system/pull/161) ([@OlfaKaroui](https://github.com/OlfaKaroui))
#### 🏠 Internal
- new cli command: link-ds [#158](https://github.com/amboss-mededu/amboss-design-system/pull/158) ([@clbagrat](https://github.com/clbagrat))
- improve slack message with changelog [#149](https://github.com/amboss-mededu/amboss-design-system/pull/149) ([@clbagrat](https://github.com/clbagrat))
#### 📝 Documentation
- add wip badge for select [#153](https://github.com/amboss-mededu/amboss-design-system/pull/153) ([@clbagrat](https://github.com/clbagrat))
- Add welcome page [#159](https://github.com/amboss-mededu/amboss-design-system/pull/159) ([@OlfaKaroui](https://github.com/OlfaKaroui))

@@ -27,2 +33,2 @@ #### Authors: 2

- Gobedashvili Bagrat ([@clbagrat](https://github.com/clbagrat))
- Konstantin ([@webforte](https://github.com/webforte))
- Olfa Karoui ([@OlfaKaroui](https://github.com/OlfaKaroui))
{
"name": "@amboss/design-system",
"version": "0.5.0",
"version": "0.5.1",
"description": "the design system for AMBOSS products",

@@ -36,4 +36,6 @@ "author": "Bagrat Gobedashvili",

},
"engines": {
"npm": ">7.0.0"
},
"scripts": {
"shipit": "auto shipit",
"prebuild": "rm -rf build && npm run tokens & npm run type-styles",

@@ -63,3 +65,4 @@ "build": "webpack && npm run postbuild",

"lint:prettier": "prettier --write \"{src,.storybook}/**/*.ts*\" \"webpack*.js\"",
"component": "DS_ROOT=/src/components node scripts/createComponent/createComponent.js"
"component": "DS_ROOT=/src/components node scripts/createComponent/createComponent.js",
"link-ds": "./scripts/link-ds.sh"
},

@@ -90,6 +93,6 @@ "repository": {

"@geometricpanda/storybook-addon-badges": "0.0.2",
"@storybook/addon-a11y": "^6.1.11",
"@storybook/addon-essentials": "^6.1.10",
"@storybook/addon-links": "^6.1.10",
"@storybook/react": "^6.1.10",
"@storybook/addon-a11y": "^6.2.8",
"@storybook/addon-essentials": "^6.2.8",
"@storybook/addon-links": "^6.2.8",
"@storybook/react": "^6.2.8",
"@testing-library/jest-dom": "^5.11.5",

@@ -130,2 +133,3 @@ "@testing-library/react": "^11.1.0",

"sass-loader": "^8.0.2",
"slackify-markdown": "^4.1.0",
"storybook-addon-multi-theme": "^0.0.6",

@@ -132,0 +136,0 @@ "style-dictionary": "^2.10.2",

# amboss-design-system
[![Latest version](https://img.shields.io/npm/v/@amboss/design-system?color=green&label=design-system)](https://www.npmjs.com/package/@amboss/design-system) ![Dependencies](https://img.shields.io/librariesio/release/npm/@amboss/design-system) ![React Version](https://img.shields.io/npm/dependency-version/@amboss/design-system/react?color=red)
## Quick start
**Development**
Make sure you use npm >= 7.0.0 before running `npm install`
`npm install`
To start the project run `npm run start`
`npm run start`
To generate a new component run `npm run component myComponentName`
`npm run component myComponentName`
**Building the package**
To build the package run `npm run build`
**Building storybook**
To build storybook run `npm run build-storybook`
**Publishing**

@@ -20,10 +29,2 @@

**Building package**
`npm run build`
**Building storybook**
`npm run build-storybook`
## Overview

@@ -30,0 +31,0 @@

Sorry, the diff of this file is too big to display

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