Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Development into Master #143

Merged
merged 15 commits into from
Mar 17, 2020
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)


### Bug Fixes

* add className to react-wrapper ([#142](https://github.com/telekom/scale/issues/142)) ([2fbe618](https://github.com/telekom/scale/commit/2fbe618280c46b97c22090fa0404adebc76f1582))
* circleci config ([#137](https://github.com/telekom/scale/issues/137)) ([5cf9f08](https://github.com/telekom/scale/commit/5cf9f08766f70d83ccc0bc8e4e35658de4b40ba9))





## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package scale
Expand Down
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.4",
"version": "0.0.5",
"command": {
"version": {
"allowBranch": "master"
"allowBranch": "development"
}
}
}
8 changes: 8 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/components





## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/components
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scaleds/components",
"version": "0.0.4",
"version": "0.0.5",
"description": "Scale Components",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down
8 changes: 8 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/config





## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/config
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@scaleds/config",
"main": "dist/index.js",
"version": "0.0.4",
"version": "0.0.5",
"author": "@eeegor <egor.kirpichev@telekom.de>",
"license": "MIT",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions packages/docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/gatsbyjs/gatsby-starter-default/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/docs





## [0.0.4](https://github.com/gatsbyjs/gatsby-starter-default/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/docs
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@scaleds/docs",
"description": "Scale Components Documentation",
"version": "0.0.4",
"version": "0.0.5",
"author": "eeegor",
"dependencies": {
"gatsby": "^2.17.11",
Expand Down
8 changes: 8 additions & 0 deletions packages/generator-sketch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/generator-sketch





## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/generator-sketch
Expand Down
2 changes: 1 addition & 1 deletion packages/generator-sketch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scaleds/generator-sketch",
"version": "0.0.4",
"version": "0.0.5",
"description": "Convert the web-components to a sketch file",
"scripts": {
"test": "eslint src/",
Expand Down
8 changes: 8 additions & 0 deletions packages/html-to-sketch/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/html-to-sketch





## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/html-to-sketch
Expand Down
2 changes: 1 addition & 1 deletion packages/html-to-sketch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scaleds/html-to-sketch",
"version": "0.0.4",
"version": "0.0.5",
"description": "HTML to Sketch",
"keywords": [
"sketch",
Expand Down
12 changes: 7 additions & 5 deletions packages/react-wrapper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)
## [0.0.5](https://github.com/telekom/scale/compare/v0.0.3...v0.0.5) (2020-03-17)

**Note:** Version bump only for package @scaleds/react-wrapper

### Bug Fixes

* add className to react-wrapper ([#142](https://github.com/telekom/scale/issues/142)) ([2fbe618](https://github.com/telekom/scale/commit/2fbe618280c46b97c22090fa0404adebc76f1582))



## [0.0.3](https://github.com/telekom/scale/compare/v0.0.2...v0.0.3) (2020-03-17)

**Note:** Version bump only for package @scaleds/react-wrapper

## [0.0.4](https://github.com/telekom/scale/compare/v0.0.3...v0.0.4) (2020-03-17)

**Note:** Version bump only for package @scaleds/react-wrapper

## [0.0.3](https://github.com/telekom/scale/compare/v0.0.2...v0.0.3) (2020-03-17)

**Note:** Version bump only for package @scaleds/react-wrapper

## [0.0.2](https://github.com/telekom/telements/compare/v0.4.0...v0.0.2) (2020-03-16)

Expand Down
5 changes: 4 additions & 1 deletion packages/react-wrapper/build/index.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-wrapper/build/index.es.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion packages/react-wrapper/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-wrapper/build/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/react-wrapper/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@scaleds/react-wrapper",
"version": "0.0.4",
"version": "0.0.5",
"author": "@eeegor <egor.kirpichev@telekom.de>",
"license": "MIT",
"main": "build/index.js",
Expand Down
4 changes: 3 additions & 1 deletion packages/react-wrapper/src/components/Wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const WebComponentWrapper = (props: any) => {
const ref = useRef<any>(null)
var convertedProps = {}
Object.keys(forwardedProps).forEach(function (prop) {
if (!prop.startsWith('on')) {
if (prop === 'className') {
convertedProps['custom-class'] = forwardedProps[prop]
} else if (!prop.startsWith('on')) {
convertedProps[kebabCase(prop)] = forwardedProps[prop]
} else {
convertedProps[prop] = forwardedProps[prop]
Expand Down