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

Release/0.1.1 #190

Merged
merged 9 commits into from
Apr 1, 2022
1 change: 1 addition & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
with:
node-version: 16.x
cache: 'npm'
- run: npm config set unsafe-perm true
- name: Install dependencies
run: npm ci
- name: Publish to Chromatic
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- run: npm -v
- run: npm config set unsafe-perm true
- run: npm ci

- run: sudo npx playwright install-deps
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm config set unsafe-perm true
- run: npm ci
- run: npm run lint
- run: sudo npx playwright install-deps
- run: npm run test
Expand Down
13 changes: 12 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@
"publish": {
"verifyAccess": false
}
}
},
"ignoreChanges": [
"**/tsconfig.json",
"**/*.story.ts",
"**/*.test.ts",
"**/*.md",
"lerna.json",
".storybook/**/*",
"storyhelpers/**/*",
"templates/**/*",
"docs/**/*"
]
}
1,012 changes: 507 additions & 505 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"rollup-plugin-postcss": "4.0.2",
"storybook-builder-vite": "0.1.21",
"tsc-files": "1.1.3",
"turbo": "1.1.10",
"turbo": "1.1.5",
"typescript": "4.5.2",
"vite": "2.8.6",
"vite-tsconfig-paths": "3.4.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-action-bar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-action-bar

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

**Note:** Version bump only for package @umbraco-ui/uui-action-bar
6 changes: 3 additions & 3 deletions packages/uui-action-bar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-action-bar",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down Expand Up @@ -30,8 +30,8 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0",
"@umbraco-ui/uui-button-group": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1",
"@umbraco-ui/uui-button-group": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-avatar-group/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-avatar-group

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Features
Expand Down
6 changes: 3 additions & 3 deletions packages/uui-avatar-group/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-avatar-group",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down Expand Up @@ -30,8 +30,8 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-avatar": "0.1.0",
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-avatar": "0.1.1",
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-avatar

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

**Note:** Version bump only for package @umbraco-ui/uui-avatar
4 changes: 2 additions & 2 deletions packages/uui-avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-avatar",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "An avatar web component for displaying user avatars.",
"keywords": [
Expand Down Expand Up @@ -30,7 +30,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-badge/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-badge

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

**Note:** Version bump only for package @umbraco-ui/uui-badge
4 changes: 2 additions & 2 deletions packages/uui-badge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-badge",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "A badge to notify that there is something that requires attention of the user.",
"keywords": [
Expand Down Expand Up @@ -30,7 +30,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-base

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Features
Expand Down
2 changes: 1 addition & 1 deletion packages/uui-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-base",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-boolean-input/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-boolean-input

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/uui-boolean-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-boolean-input",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down Expand Up @@ -30,7 +30,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/uui-box/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.2.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

### Bug Fixes

- Remove local definition of --uui-box-default-padding for uui-box ([#189](https://github.com/umbraco/Umbraco.UI/issues/189)) ([fd290a4](https://github.com/umbraco/Umbraco.UI/commit/fd290a47dbe3e3f79e33282a6ac4778c6374b430))

### BREAKING CHANGES

- This should now be configured globally

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

**Note:** Version bump only for package @umbraco-ui/uui-box
5 changes: 2 additions & 3 deletions packages/uui-box/lib/uui-box.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { UUITextStyles } from '@umbraco-ui/uui-css/lib';
/**
* A box for grouping elements
* @element uui-box
* @slot headline - headline area
* @slot header - headline area
* @slot headline - headline area, this area is placed within the headline tag which is located inside the header. Use this to ensure the right headline styling.
* @slot header - header area, use this for things that is not the headline but located in the header.
* @slot default - area for the content of the box
* @cssprop --uui-box-default-padding - overwrite the box padding
*
Expand All @@ -22,7 +22,6 @@ export class UUIBoxElement extends LitElement {
box-shadow: var(--uui-shadow-depth-1);
border-radius: var(--uui-border-radius);
background-color: var(--uui-interface-surface);
--uui-box-default-padding: var(--uui-size-space-5);
}

#header {
Expand Down
18 changes: 18 additions & 0 deletions packages/uui-box/lib/uui-box.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ describe('UUIBox', () => {
});
});

describe('css custom properties', () => {
let wrapper: HTMLDivElement;
let element: UUIBoxElement;
beforeEach(async () => {
wrapper = (await fixture(html`<div
style="--uui-box-default-padding:1337px;">
<uui-box headline="headline"> Main </uui-box>
</div>`)) as HTMLDivElement;
element = wrapper.querySelector('uui-box')!;
});
it('allows for --uui-box-default-padding to be defined outside the scope.', () => {
const elementStyles = window.getComputedStyle(element);
expect(
elementStyles.getPropertyValue('--uui-box-default-padding').trim()
).to.equal('1337px');
});
});

describe('template', () => {
it('renders a default slot', () => {
const slot = element.shadowRoot!.querySelector('slot')!;
Expand Down
6 changes: 3 additions & 3 deletions packages/uui-box/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-box",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"description": "A box web component for grouping elements",
"keywords": [
Expand Down Expand Up @@ -29,8 +29,8 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0",
"@umbraco-ui/uui-css": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1",
"@umbraco-ui/uui-css": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-breadcrumbs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-breadcrumbs

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/uui-breadcrumbs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-breadcrumbs",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down Expand Up @@ -32,7 +32,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-button-group/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-button-group

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/uui-button-group/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-button-group",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"description": "An element to group buttons.",
"keywords": [
Expand Down Expand Up @@ -31,7 +31,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-button-inline-create/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-button-inline-create

# [0.1.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/uui-button-inline-create/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@umbraco-ui/uui-button-inline-create",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"keywords": [
"Umbraco",
Expand Down Expand Up @@ -30,7 +30,7 @@
"custom-elements.json"
],
"dependencies": {
"@umbraco-ui/uui-base": "0.1.0"
"@umbraco-ui/uui-base": "0.1.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/uui-button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.2.1](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-04-01)

**Note:** Version bump only for package @umbraco-ui/uui-button

# [0.2.0](https://github.com/umbraco/Umbraco.UI/compare/@umbraco-ui/[email protected]...@umbraco-ui/[email protected]) (2022-03-31)

### Features
Expand Down
Loading