Skip to content

Commit

Permalink
chore: merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencarvalho committed Sep 25, 2024
2 parents 1e40af8 + e14d082 commit f5c79fb
Show file tree
Hide file tree
Showing 208 changed files with 1,880 additions and 730 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ executors:
parameters:
current_golden_images_hash:
type: string
default: 1bee3571a815481151a0d4fad5a225cb0e8d36a1
default: 05cb901762d5af33e21e113ed598cecea3488def
wireit_cache_name:
type: string
default: wireit
Expand Down
13 changes: 11 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"root": true,
"plugins": ["notice", "@spectrum-web-components", "import"],
"plugins": [
"notice",
"@spectrum-web-components",
"import",
"require-extensions"
],
"env": {
"browser": true,
"node": true,
Expand Down Expand Up @@ -64,7 +69,11 @@
}
]
},
"extends": ["plugin:prettier/recommended", "plugin:lit-a11y/recommended"],
"extends": [
"plugin:prettier/recommended",
"plugin:lit-a11y/recommended",
"plugin:require-extensions/recommended"
],
"overrides": [
{
"files": ["tasks/*", "scripts/*"],
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

### Bug Fixes

- **action-menu:** dispatch scroll event ([#4715](https://github.com/adobe/spectrum-web-components/issues/4715)) ([c76f3f5](https://github.com/adobe/spectrum-web-components/commit/c76f3f54f5a08df82ea4247252f2e0114836a778))
- add null check in updated method of sp-number-field ([#4709](https://github.com/adobe/spectrum-web-components/issues/4709)) ([7b1eeab](https://github.com/adobe/spectrum-web-components/commit/7b1eeab613fffe833ea0f57a23d2cc11bef71ea7))
- **combobox:** update selected item state in menu ([#4730](https://github.com/adobe/spectrum-web-components/issues/4730)) ([c4cfd2a](https://github.com/adobe/spectrum-web-components/commit/c4cfd2a5a2b1d48727488023d1361e3a5b7c32db))
- **menu:** allow menu-item to support arbitrary element as the submenu root ([#4720](https://github.com/adobe/spectrum-web-components/issues/4720)) ([4c6a0dc](https://github.com/adobe/spectrum-web-components/commit/4c6a0dcf7c67560c664c1f7c0f93d0ef3f0005ab))
- **picker:** added a custom class to make `:focus-visible` styles consistent across all browsers ([#4724](https://github.com/adobe/spectrum-web-components/issues/4724)) ([d667d08](https://github.com/adobe/spectrum-web-components/commit/d667d0853b8122008ce8fe50c6c479a42dc96a9f))
- **toast:** added ability to wrap toast content with long words ([#4738](https://github.com/adobe/spectrum-web-components/issues/4738)) ([302d6fe](https://github.com/adobe/spectrum-web-components/commit/302d6fe927baff3a08dd567718eba8ee34473ac4))

### Features

- locale picker in the storybook's decorator ([#4687](https://github.com/adobe/spectrum-web-components/issues/4687)) ([9e0cd08](https://github.com/adobe/spectrum-web-components/commit/9e0cd08d68cad858bbdc53e8b01b7eeabfde59fb))
- **reactive-controller:** new pending state controller ([#4605](https://github.com/adobe/spectrum-web-components/issues/4605)) ([68baf94](https://github.com/adobe/spectrum-web-components/commit/68baf94f257b9c7525253819a2ed3c8fa1b6c408))

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.47.2",
"version": "0.48.0",
"granularPathspec": false,
"npmClient": "yarn",
"command": {
Expand Down
4 changes: 4 additions & 0 deletions linters/eslint/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.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

**Note:** Version bump only for package @spectrum-web-components/eslint-plugin

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/eslint-plugin
Expand Down
2 changes: 1 addition & 1 deletion linters/eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/eslint-plugin",
"version": "0.47.2",
"version": "0.48.0",
"private": true,
"main": "index.js"
}
4 changes: 4 additions & 0 deletions linters/stylelint-header/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.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

**Note:** Version bump only for package stylelint-header

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package stylelint-header
Expand Down
2 changes: 1 addition & 1 deletion linters/stylelint-header/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-header",
"version": "0.47.2",
"version": "0.48.0",
"private": true,
"license": "Apache-2.0",
"author": "Adobe",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"eslint-plugin-lit-a11y": "^2.2.2",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-require-extensions": "^0.1.3",
"eslint-plugin-storybook": "^0.8.0",
"express": "^4.16.4",
"fast-glob": "^3.2.12",
Expand Down
4 changes: 4 additions & 0 deletions packages/accordion/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.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

**Note:** Version bump only for package @spectrum-web-components/accordion

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/accordion
Expand Down
12 changes: 6 additions & 6 deletions packages/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/accordion",
"version": "0.47.2",
"version": "0.48.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -66,11 +66,11 @@
"lit-html"
],
"dependencies": {
"@spectrum-web-components/base": "^0.47.2",
"@spectrum-web-components/icon": "^0.47.2",
"@spectrum-web-components/icons-ui": "^0.47.2",
"@spectrum-web-components/reactive-controllers": "^0.47.2",
"@spectrum-web-components/shared": "^0.47.2"
"@spectrum-web-components/base": "^0.48.0",
"@spectrum-web-components/icon": "^0.48.0",
"@spectrum-web-components/icons-ui": "^0.48.0",
"@spectrum-web-components/reactive-controllers": "^0.48.0",
"@spectrum-web-components/shared": "^0.48.0"
},
"devDependencies": {
"@spectrum-css/accordion": "^5.1.2"
Expand Down
4 changes: 4 additions & 0 deletions packages/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.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

**Note:** Version bump only for package @spectrum-web-components/action-bar

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/action-bar
Expand Down
12 changes: 6 additions & 6 deletions packages/action-bar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/action-bar",
"version": "0.47.2",
"version": "0.48.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -57,11 +57,11 @@
"lit-html"
],
"dependencies": {
"@spectrum-web-components/action-group": "^0.47.2",
"@spectrum-web-components/base": "^0.47.2",
"@spectrum-web-components/button": "^0.47.2",
"@spectrum-web-components/field-label": "^0.47.2",
"@spectrum-web-components/popover": "^0.47.2"
"@spectrum-web-components/action-group": "^0.48.0",
"@spectrum-web-components/base": "^0.48.0",
"@spectrum-web-components/button": "^0.48.0",
"@spectrum-web-components/field-label": "^0.48.0",
"@spectrum-web-components/popover": "^0.48.0"
},
"devDependencies": {
"@spectrum-css/actionbar": "^8.1.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/action-button/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

### Bug Fixes

- **picker:** added a custom class to make `:focus-visible` styles consistent across all browsers ([#4724](https://github.com/adobe/spectrum-web-components/issues/4724)) ([d667d08](https://github.com/adobe/spectrum-web-components/commit/d667d0853b8122008ce8fe50c6c479a42dc96a9f))

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/action-button
Expand Down
12 changes: 6 additions & 6 deletions packages/action-button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/action-button",
"version": "0.47.2",
"version": "0.48.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -57,11 +57,11 @@
"lit-html"
],
"dependencies": {
"@spectrum-web-components/base": "^0.47.2",
"@spectrum-web-components/button": "^0.47.2",
"@spectrum-web-components/icon": "^0.47.2",
"@spectrum-web-components/icons-ui": "^0.47.2",
"@spectrum-web-components/shared": "^0.47.2"
"@spectrum-web-components/base": "^0.48.0",
"@spectrum-web-components/button": "^0.48.0",
"@spectrum-web-components/icon": "^0.48.0",
"@spectrum-web-components/icons-ui": "^0.48.0",
"@spectrum-web-components/shared": "^0.48.0"
},
"devDependencies": {
"@spectrum-css/actionbutton": "^6.1.1"
Expand Down
32 changes: 32 additions & 0 deletions packages/action-button/src/action-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,38 @@ governing permissions and limitations under the License.
pointer-events: none !important;
}

/* remove-focus-ring-safari-hack is a custom css class that we are using to
unset the focus ring styles in safari. This is a temporary fix because safari
sets the :focus-visible pseudo class on the parent element when the dialog is closed.
*/
:host(.remove-focus-ring-safari-hack:focus-visible) {
background-color: var(
--highcontrast-actionbutton-background-color-default,
var(
--mod-actionbutton-background-color-default,
var(--spectrum-actionbutton-background-color-default)
)
);
border-color: var(
--highcontrast-actionbutton-border-color-default,
var(
--mod-actionbutton-border-color-default,
var(--spectrum-actionbutton-border-color-default)
)
);
color: var(
--highcontrast-actionbutton-content-color-default,
var(
--mod-actionbutton-content-color-default,
var(--spectrum-actionbutton-content-color-default)
)
);
}

:host(.remove-focus-ring-safari-hack:focus-visible):after {
box-shadow: none;
}

:host([size='xs']) {
/* Work around non-square icon only Action Buttons in Spectrum CSS */
min-width: var(--spectrum-actionbutton-height, 0);
Expand Down
4 changes: 4 additions & 0 deletions packages/action-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.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

**Note:** Version bump only for package @spectrum-web-components/action-group

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/action-group
Expand Down
10 changes: 5 additions & 5 deletions packages/action-group/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/action-group",
"version": "0.47.2",
"version": "0.48.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -58,10 +58,10 @@
],
"dependencies": {
"@lit-labs/observers": "^2.0.0",
"@spectrum-web-components/action-button": "^0.47.2",
"@spectrum-web-components/base": "^0.47.2",
"@spectrum-web-components/icons-workflow": "^0.47.2",
"@spectrum-web-components/reactive-controllers": "^0.47.2"
"@spectrum-web-components/action-button": "^0.48.0",
"@spectrum-web-components/base": "^0.48.0",
"@spectrum-web-components/icons-workflow": "^0.48.0",
"@spectrum-web-components/reactive-controllers": "^0.48.0"
},
"devDependencies": {
"@spectrum-css/actiongroup": "^5.1.0"
Expand Down
7 changes: 7 additions & 0 deletions packages/action-menu/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.48.0](https://github.com/adobe/spectrum-web-components/compare/v0.47.2...v0.48.0) (2024-09-17)

### Bug Fixes

- **action-menu:** dispatch scroll event ([#4715](https://github.com/adobe/spectrum-web-components/issues/4715)) ([c76f3f5](https://github.com/adobe/spectrum-web-components/commit/c76f3f54f5a08df82ea4247252f2e0114836a778))
- **picker:** added a custom class to make `:focus-visible` styles consistent across all browsers ([#4724](https://github.com/adobe/spectrum-web-components/issues/4724)) ([d667d08](https://github.com/adobe/spectrum-web-components/commit/d667d0853b8122008ce8fe50c6c479a42dc96a9f))

## [0.47.2](https://github.com/adobe/spectrum-web-components/compare/v0.47.1...v0.47.2) (2024-09-03)

**Note:** Version bump only for package @spectrum-web-components/action-menu
Expand Down
14 changes: 7 additions & 7 deletions packages/action-menu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrum-web-components/action-menu",
"version": "0.47.2",
"version": "0.48.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -61,12 +61,12 @@
"lit-html"
],
"dependencies": {
"@spectrum-web-components/action-button": "^0.47.2",
"@spectrum-web-components/base": "^0.47.2",
"@spectrum-web-components/icon": "^0.47.2",
"@spectrum-web-components/icons-workflow": "^0.47.2",
"@spectrum-web-components/picker": "^0.47.2",
"@spectrum-web-components/shared": "^0.47.2"
"@spectrum-web-components/action-button": "^0.48.0",
"@spectrum-web-components/base": "^0.48.0",
"@spectrum-web-components/icon": "^0.48.0",
"@spectrum-web-components/icons-workflow": "^0.48.0",
"@spectrum-web-components/picker": "^0.48.0",
"@spectrum-web-components/shared": "^0.48.0"
},
"devDependencies": {
"@spectrum-css/actionmenu": "^6.1.1"
Expand Down
Loading

0 comments on commit f5c79fb

Please sign in to comment.