Skip to content

Commit b48dc18

Browse files
author
Luke Bowerman
authored
Module should output ES6 (#324)
* Switch to es6 output * Update CHANGELOG for 0.7.10 release
1 parent 2646847 commit b48dc18

File tree

9 files changed

+40
-41
lines changed

9 files changed

+40
-41
lines changed

CHANGELOG.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [UNRELEASED]
8+
## [0.7.10]
99

1010
### Added
1111

@@ -14,28 +14,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414

1515
### Changes
1616

17-
-update documentation on Confirm to not expect the use of backspace for better user experience
18-
19-
- Default `theme.reset` is inactive by default now. If your use depends on the previous behavior you can reproduce it via the instructions in this gist: https://gist.github.com/lukelooker/29576e0db918914137638cf9d2649bea
17+
- `Button` sizes updated to match design specifications
18+
- `Confirm` secondary button color now defaults to `neutral`
19+
- `Confirm` documentation example simplified
20+
- `esm` & `cjs` builds now produce `es6` (previously produced `es5`)
21+
- Default `theme.reset` is inactive by default now.
22+
- If your use depends on the previous behavior you can reproduce it via the instructions in this gist: https://gist.github.com/lukelooker/29576e0db918914137638cf9d2649bea
2023

2124
### Fixed
2225

23-
- custom slider knobs now have proper stacking order so as not to appear over modals
24-
- fixed documentation crosslinking between Dialog and Confirm
25-
- Custom down arrow icon on `Select`
26+
- `Select` drop-down indicator arrow reintroduced
27+
- `Slider` custom knobs now have proper stacking order so as not to appear over `Dialog`, `Popover` and `Drawer`
28+
- Documentation
29+
- Links between `Dialog` and `Confirm`
2630

2731
## [0.7.8] - 2018-12-16
2832

2933
### Changed
3034

31-
- update button color to be neutral for useConfirm and Confirm components.
32-
- Button size map was updated with correct sizes
33-
- Test for Button got updates to reflect the correct sizes
3435
- `ModalManager` (and it's derived `DialogManager` & `DrawerManager`) now support a `onClose` callback that will be called when the modal is closed.
3536

3637
### Bug Fixes
3738

38-
- Button size map was updated with new sizes and Test got updates to reflect the new sizes
3939
- Correct issue `ModalManager` `surfaceStyles` had `minWidth` and `maxWidth` properties that were difficult to override on an instance.
4040
- Correct usage of `textTransform` in documentation and updated related test suite
4141

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
],
55
"npmClient": "yarn",
66
"useWorkspaces": true,
7-
"version": "0.7.8"
7+
"version": "0.7.10-alpha.0"
88
}

packages/components/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@looker/components",
33
"license": "MIT",
4-
"version": "0.7.8",
4+
"version": "0.7.10-alpha.0",
55
"main": "dist/cjs/index.js",
66
"types": "dist/types/index.d.ts",
77
"module": "dist/esm/index.js",
@@ -18,15 +18,15 @@
1818
},
1919
"scripts": {
2020
"build:all": "yarn clean && yarn run build:esm && yarn run build:cjs",
21-
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es5 --outDir dist/esm",
22-
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es5 --outDir dist/cjs",
21+
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es6 --outDir dist/esm",
22+
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es6 --outDir dist/cjs",
2323
"clean": "rm -Rf ./dist",
24-
"develop": "yarn clean && ttsc --project tsconfig.build.json --watch --module commonjs --target es5 --outDir dist/cjs",
25-
"develop-playground": "ttsc --project tsconfig.build.json --watch --module es2015 --target es5 --outDir dist/esm"
24+
"develop": "yarn clean && ttsc --project tsconfig.build.json --watch --module commonjs --target es6 --outDir dist/cjs",
25+
"develop-playground": "ttsc --project tsconfig.build.json --watch --module es2015 --target es6 --outDir dist/esm"
2626
},
2727
"dependencies": {
28-
"@looker/design-tokens": "^0.7.8",
29-
"@looker/icons": "^0.7.7",
28+
"@looker/design-tokens": "^0.7.10-alpha.0",
29+
"@looker/icons": "^0.7.10-alpha.0",
3030
"@types/react-transition-group": "^4.2.3",
3131
"@types/styled-system": "^5.1.4",
3232
"d3-color": "^1.4.0",
@@ -43,7 +43,7 @@
4343
"uuid": "^3.3.3"
4444
},
4545
"devDependencies": {
46-
"@looker/components-test-utils": "^0.7.8",
46+
"@looker/components-test-utils": "^0.7.10-alpha.0",
4747
"@types/d3-color": "^1.2.2",
4848
"@types/d3-hsv": "^0.1.3",
4949
"@types/lodash": "^4.14.149",

packages/design-tokens/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@looker/design-tokens",
33
"license": "MIT",
4-
"version": "0.7.8",
4+
"version": "0.7.10-alpha.0",
55
"main": "dist/cjs/index.js",
66
"types": "dist/types/index.d.ts",
77
"module": "dist/esm/index.js",
@@ -18,8 +18,8 @@
1818
},
1919
"scripts": {
2020
"build:all": "yarn clean && yarn run build:esm && yarn run build:cjs",
21-
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es5 --outDir dist/esm",
22-
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es5 --outDir dist/cjs",
21+
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es6 --outDir dist/esm",
22+
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es6 --outDir dist/cjs",
2323
"clean": "rm -Rf ./dist",
2424
"declaration": "ttsc --project tsconfig.json",
2525
"develop": "yarn build:es --watch --verbose & yarn declaration --watch"

packages/icons/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@looker/icons",
33
"license": "MIT",
4-
"version": "0.7.7",
4+
"version": "0.7.10-alpha.0",
55
"main": "dist/cjs/index.js",
66
"types": "dist/types/index.d.ts",
77
"module": "dist/esm/index.js",
@@ -18,8 +18,8 @@
1818
},
1919
"scripts": {
2020
"build:all": "yarn clean && yarn build:icons && yarn run build:esm && yarn run build:cjs",
21-
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es5 --outDir dist/esm",
22-
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es5 --outDir dist/cjs",
21+
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es6 --outDir dist/esm",
22+
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es6 --outDir dist/cjs",
2323
"build:icons": "node bin/build.js",
2424
"clean": "rm -Rf ./dist",
2525
"declaration": "ttsc --project tsconfig.json",

packages/playground/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "playground",
3-
"version": "0.7.8",
3+
"version": "0.7.10-alpha.0",
44
"main": "index.js",
55
"license": "MIT",
66
"author": "Looker",
@@ -14,8 +14,8 @@
1414
"develop": "webpack-dev-server --port 3000 --disable-host-check"
1515
},
1616
"dependencies": {
17-
"@looker/components": "^0.7.8",
18-
"@looker/design-tokens": "^0.7.8",
17+
"@looker/components": "^0.7.10-alpha.0",
18+
"@looker/design-tokens": "^0.7.10-alpha.0",
1919
"react": "^16.12.0",
2020
"react-dom": "^16.12.0",
2121
"styled-components": "^4.4.1"

packages/server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "server",
3+
"private": true,
34
"license": "MIT",
4-
"version": "0.7.4",
5+
"version": "0.7.10-alpha.0",
56
"main": "index.ts",
67
"repository": {
78
"type": "git",
@@ -31,6 +32,5 @@
3132
"nodemon": "^2.0.1",
3233
"pino-colada": "^1.5.0",
3334
"ts-node": "^8.5.4"
34-
},
35-
"peerDependencies": {}
35+
}
3636
}

packages/test-utils/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@looker/components-test-utils",
33
"license": "MIT",
4-
"version": "0.7.8",
4+
"version": "0.7.10-alpha.0",
55
"main": "dist/cjs/index.js",
66
"types": "dist/types/index.d.ts",
77
"module": "dist/esm/index.js",
@@ -18,14 +18,14 @@
1818
},
1919
"scripts": {
2020
"build:all": "yarn clean && yarn run build:esm && yarn run build:cjs",
21-
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es5 --outDir dist/esm",
22-
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es5 --outDir dist/cjs",
21+
"build:esm": "ttsc --project tsconfig.build.json --module es2015 --target es6 --outDir dist/esm",
22+
"build:cjs": "ttsc --project tsconfig.build.json --module commonjs --target es6 --outDir dist/cjs",
2323
"clean": "rm -Rf ./dist",
2424
"declaration": "ttsc --project tsconfig.json",
2525
"develop": "yarn build:es --watch --verbose & yarn declaration --watch"
2626
},
2727
"dependencies": {
28-
"@looker/design-tokens": "^0.7.8",
28+
"@looker/design-tokens": "^0.7.10-alpha.0",
2929
"@testing-library/react": "^9.4.0",
3030
"enzyme": "^3.11.0",
3131
"jest-styled-components": "^6.3.4",

packages/www/package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "www",
33
"private": true,
4-
"version": "0.7.8",
4+
"version": "0.7.10-alpha.0",
55
"dependencies": {
66
"@mdx-js/mdx": "^1.5.2",
77
"@mdx-js/react": "^1.5.2",
@@ -30,9 +30,9 @@
3030
"react-live": "^2.2.2"
3131
},
3232
"devDependencies": {
33-
"@looker/components": "^0.7.8",
34-
"@looker/design-tokens": "^0.7.8",
35-
"@looker/icons": "^0.7.7",
33+
"@looker/components": "^0.7.10-alpha.0",
34+
"@looker/design-tokens": "^0.7.10-alpha.0",
35+
"@looker/icons": "^0.7.10-alpha.0",
3636
"@types/react": "^16.9.17",
3737
"@types/react-copy-to-clipboard": "^4.3.0",
3838
"@types/react-dom": "^16.9.4",
@@ -42,7 +42,6 @@
4242
"eslint-loader": "^3.0.3",
4343
"gh-pages": "^2.1.1",
4444
"react-transition-group": "4.3.0",
45-
"scroll-behavior": "^0.9.10",
4645
"styled-components": "^4.4.1",
4746
"typescript": "^3.7.3"
4847
},

0 commit comments

Comments
 (0)