# Changelog Shoelace follows [Semantic Versioning](https://semver.org/). Breaking changes in components with the Stable badge will not be accepted until the next major version. As such, all contributions must consider the project's roadmap and take this into consideration. Features that are deemed no longer necessary will be deprecated but not removed. Components with the Experimental badge should not be used in production. They are made available as release candidates for development and testing purposes. As such, changes to experimental components will not be subject to semantic versioning. _During the beta period, these restrictions may be relaxed in the event of a mission-critical bug._ 🐛 ## Next - Added Persian translation [#774](https://github.com/shoelace-style/shoelace/pull/774) - Added `color-scheme` to light and dark themes to improve rendering of browser-provided UI [#776](https://github.com/shoelace-style/shoelace/issues/776) - Fixed focus rings for ``, ``, and `` in Safari since they don't use `:focus-visible` [#767](https://github.com/shoelace-style/shoelace/issues/767) - Fixed a bug where calling `HTMLFormElement.reportValidity()` would skip Shoelace form controls [#772](https://github.com/shoelace-style/shoelace/issues/772) - Fixed a bug that prevented `` from closing when disabled [#775](https://github.com/shoelace-style/shoelace/issues/775) - Fixed a bug that allowed `` to emit a `click` event when disabled [#781](https://github.com/shoelace-style/shoelace/issues/781) - Improved the default icon for `` so it's more intuitive and removed `grip-vertical` from system icon library - Improved RTL styles for many components [#768](https://github.com/shoelace-style/shoelace/pull/768) - Improved base path logic to execute only when `getBasePath()` is first called to better support SSR [#778](https://github.com/shoelace-style/shoelace/issues/778) - Improved `DOMParser` instantiation in `` to better support SSR [#778](https://github.com/shoelace-style/shoelace/issues/778) - Revert menu item caching due to regression [#766](https://github.com/shoelace-style/shoelace/issues/766) ## 2.0.0-beta.74 - 🚨 BREAKING: reworked focus rings to use outlines instead of box shadows - Removed the `--sl-focus-ring-alpha` design token - Refactored `--sl-focus-ring` to be an `outline` property instead of a `box-shadow` property - Added `--sl-focus-ring-color`, `--sl-focus-ring-style`, and `--sl-focus-ring-offset` - 🚨 BREAKING: removed `variant` from `` - Added `sl-label-change` event to `` - Added `blur()`, `click()`, and `focus()` methods as well as `sl-blur` and `sl-focus` events to `` [#730](https://github.com/shoelace-style/shoelace/issues/730) - Added Tabler Icons example to icons page - Fixed a bug where updating a menu item's label wouldn't update the display label in `` [#729](https://github.com/shoelace-style/shoelace/issues/729) - Fixed a bug where the FormData event polyfill was causing issues with older browsers [#747](https://github.com/shoelace-style/shoelace/issues/747) - Fixed a bug that caused a console error when setting `value` to `null` or `undefined` in ``, ``, and `` [#751](https://github.com/shoelace-style/shoelace/pull/751) - Fixed a bug that caused `` and `` controls without a `value` to submit as `null` instead of `on` like native inputs [#744](https://github.com/shoelace-style/shoelace/issues/744) - Fixed a bug that caused `` and dependent components to add unexpected padding around the panel [#743](https://github.com/shoelace-style/shoelace/issues/743) - Fixed a bug that prevented `valueAsDate` and `valueAsNumber` from updating synchronously [#760](https://github.com/shoelace-style/shoelace/issues/760) - Fixed a bug that caused `` to load icons from the default library instead of the system library [#765](https://github.com/shoelace-style/shoelace/issues/765) - Fixed a bug in `` that prevented a canceled `keydown` event from submitting the containing form when pressing enter [#764](https://github.com/shoelace-style/shoelace/issues/764) - Improved behavior of clearable and password toggle buttons in `` and `` [#745](https://github.com/shoelace-style/shoelace/issues/745) - Improved performance of `` by caching menu items instead of traversing for them each time - Improved drag utility so initial click/touch events can be accepted [#758](https://github.com/shoelace-style/shoelace/issues/758) - Improved `` to use an HSB grid instead of HSL to be more consistent with existing color picker implementations [#762](https://github.com/shoelace-style/shoelace/issues/762) - Improved `` so the cursor is hidden and the preview is larger when dragging the grid - Refactored `` to be more performant by caching menu items on slot change - Reverted form submit logic [#718](https://github.com/shoelace-style/shoelace/issues/718) - Updated the `disabled` attribute so it reflects in `` [#741](https://github.com/shoelace-style/shoelace/discussions/741) - Updated the `name` and `icon` attribute so they reflect in `` [#742](https://github.com/shoelace-style/shoelace/pull/742) - Updated Lit to 2.2.5 - Updated Bootstrap Icons to 1.8.3 - Updated TypeScript to 4.7.2 - Updated esbuild to 0.14.40 - Updated all other dependencies to latest versions ## 2.0.0-beta.73 - Added `button` part to `` - Added custom validity examples and tests to ``, ``, and `` - Added `enterkeyhint` attribute to `` and `` - Fixed a bug that prevented `setCustomValidity()` from working with `` - Fixed a bug where the right border of a checked `` was the wrong color - Fixed a bug that prevented a number of properties, methods, etc. from being documented in `` and `` - Fixed a bug in `` that prevented valid images from showing after an invalid or missing image was provided [#717](https://github.com/shoelace-style/shoelace/issues/717) - Fixed a bug that resulted in a console error being thrown on keydown in `` [#719](https://github.com/shoelace-style/shoelace/issues/719) - Fixed a bug that prevented `` from being closed when opened initially [#720](https://github.com/shoelace-style/shoelace/issues/720) - Fixed a bug that caused the test runner to fail when using a locale other than en-US [#726](https://github.com/shoelace-style/shoelace/issues/726) - Improved form submit logic so most user-added event listeners will run after form data is attached and validation occurs [#718](https://github.com/shoelace-style/shoelace/issues/718) - Improved accessibility of `` so screen readers announce the content on hover/focus [#219](https://github.com/shoelace-style/shoelace/issues/219) - Improved accessibility of form controls by exposing clear buttons and password visibility buttons to screen readers while keeping them out of the tab order [#727](https://github.com/shoelace-style/shoelace/issues/727) - Updated `` and `` to cycle through tabs and menu items instead of stopping at the first/last when using the keyboard - Removed path aliasing (again) because it doesn't work with Web Test Runner's esbuild plugin ## 2.0.0-beta.72 - 🚨 BREAKING: refactored parts in ``, ``, ``, and `` to allow you to customize the label and help text position - Added `form-control-input` part - Renamed `label` to `form-control-label` - Renamed `help-text` to `form-control-help-text` - 🚨 BREAKING: removed status from the `sl-error` event payload in `` - Added the experimental `` component - Added `button-group` and `button-group__base` parts to `` - Added the `label` attribute and slot to `` to improve accessibility with screen readers - Fixed a bug that prevented form submission from working as expected in some cases - Fixed a bug that prevented `` from toggling `vertical` properly [#703](https://github.com/shoelace-style/shoelace/issues/703) - Fixed a bug that prevented `` from rendering a color initially [#704](https://github.com/shoelace-style/shoelace/issues/704) - Fixed a bug that caused focus trapping to fail when used inside a shadow root [#709](https://github.com/shoelace-style/shoelace/issues/709) - Improved accessibility throughout the docs - Improved accessibility of `` so the trigger's expanded state is announced correctly - Improved accessibility of `` but rendering a `