shoelace/CHANGELOG.md

204 wiersze
9.7 KiB
Markdown
Czysty Zwykły widok Historia

2020-07-15 21:30:37 +00:00
# Changelog
2020-09-18 13:42:56 +00:00
## 2.0.0-beta.19
- Added `input`, `label`, `prefix`, `clear-button`, `suffix`, `help-text` exported parts to `sl-select` to make the input customizable
2020-09-18 13:42:56 +00:00
- Added toast notifications through the `toast()` method on `sl-alert`
2020-09-11 14:55:24 +00:00
- Fixed a bug where mouse events would bubble up when `sl-button` was disabled, causing tooltips to erroneously appear
- Fixed a bug where pressing space would open and immediately close `sl-dropdown` panels in Firefox
2020-09-14 13:23:20 +00:00
- Fixed a bug where `sl-tooltip` would throw an error on init
2020-09-18 14:01:08 +00:00
- Fixed a bug in custom keyframes animation example
2020-09-09 20:19:48 +00:00
- Refactored clear logic in `sl-input`
2020-09-04 21:38:23 +00:00
## 2.0.0-beta.18
2020-08-31 20:45:43 +00:00
- Added `name` and `invalid` prop to `sl-color-picker`
- Added support for form submission and validation to `sl-color-picker`
2020-09-04 21:37:50 +00:00
- Added touch support to demo resizers in the docs
2020-09-04 21:59:40 +00:00
- Added `sl-responsive-embed` component
2020-09-02 21:45:59 +00:00
- Fixed a bug where swapping an animated element wouldn't restart the animation in `sl-animation`
2020-09-03 14:25:14 +00:00
- Fixed a bug where the cursor was incorrect when `sl-select` was disabled
- Fixed a bug where `slBlur` and `slFocus` were emitted twice in `sl-select`
2020-09-03 16:53:04 +00:00
- Fixed a bug where clicking on `sl-menu` wouldn't focus it
2020-09-04 14:15:35 +00:00
- Fixed a bug in the popover utility where `onAfterShow` would fire too soon
2020-09-04 20:18:00 +00:00
- Fixed a bug where `bottom` and `right` placements didn't render properly in `sl-tab-group`
2020-09-03 21:44:52 +00:00
- Improved keyboard logic in `sl-dropdown`, `sl-menu`, and `sl-select`
2020-09-02 21:45:59 +00:00
- Updated `sl-animation` to stable
2020-08-31 20:45:43 +00:00
- Updated to Stencil 2.0 (you may need to purge `node_modules` and run `npm install` after pulling)
2020-09-02 20:59:05 +00:00
- Updated entry points in `package.json` to reflect new filenames generated by Stencil 2
2020-08-31 20:45:43 +00:00
2020-08-27 13:16:49 +00:00
## 2.0.0-beta.17
2020-08-28 20:14:39 +00:00
- Added `minlength` and `spellcheck` attributes to `sl-textarea`
2020-08-27 13:16:49 +00:00
- Fixed a bug where clicking a tag in `sl-select` wouldn't toggle the menu
- Fixed a bug where options where `sl-select` options weren't always visible or scrollable
2020-08-27 16:23:24 +00:00
- Fixed a bug where setting `null` on `sl-input`, `sl-textarea`, or `sl-select` would throw an error
2020-08-27 20:51:31 +00:00
- Fixed a bug where `role` was on the wrong element and aria attribute weren't explicit in `sl-checkbox`, `sl-switch`, and `sl-radio`
2020-08-27 21:14:47 +00:00
- Fixed a bug where dynamically adding/removing a slot wouldn't work as expected in `sl-card`, `sl-dialog`, and `sl-drawer`
2020-08-28 11:19:54 +00:00
- Fixed a bug where the value wasn't updated and events weren't emitted when using `setRangeText` in `sl-input` and `sl-textarea`
2020-08-27 20:45:10 +00:00
- Optimized `hasSlot` utility by using a simpler selector
2020-08-31 12:49:19 +00:00
- Updated `bootstrap-icons` to 1.0.0 with many icons redrawn and improved
- Updated contribution guidelines
2020-08-27 13:16:49 +00:00
2020-08-28 21:29:07 +00:00
**Form validation has been reworked and is much more powerful now!**
2020-08-28 20:14:39 +00:00
- The `invalid` prop now reflects the control's validity as determined by the browser's constraint validation API
2020-08-28 21:34:58 +00:00
- Added `required` to `sl-checkbox`, `sl-select`, and `sl-switch`
- Added `reportValidity()` and `setCustomValidity()` methods to all form controls
2020-08-28 21:39:56 +00:00
- Added validation checking for custom and native form controls to `sl-form`
2020-08-29 14:39:53 +00:00
- Added `novalidate` prop to `sl-form` to disable validation
- Removed the `valid` prop from all form controls
2020-08-28 20:14:39 +00:00
- Removed valid and invalid design tokens and related styles (you can use your own custom styles to achieve this)
2020-08-24 16:11:55 +00:00
## 2.0.0-beta.16
2020-08-25 21:07:28 +00:00
- Add `hoist` prop to `sl-color-picker`, `sl-dropdown`, and `sl-select` to work around panel clipping
- Add `sl-format-bytes` utility component
- Add `clearable` and `required` props to `sl-select`
- Add `slClear` event to `sl-input`
2020-08-26 13:09:04 +00:00
- Added keyboard support to the preview resizer in the docs
2020-08-26 11:09:01 +00:00
- Fixed a bug where the `aria-selected` state was incorrect in `sl-menu-item`
- Fixed a bug where custom properties applied to `sl-tooltip` didn't affect show/hide transitions
2020-08-26 12:30:50 +00:00
- Fixed a bug where `--sl-input-color-*` custom properties had no affect on `sl-input` and `sl-textarea`
2020-08-25 22:01:23 +00:00
- Refactored `sl-dropdown` and `sl-tooltip` to use positioner elements so panels/tooltips can be customized easier
2020-08-24 16:11:55 +00:00
2020-08-20 12:25:52 +00:00
## 2.0.0-beta.15
2020-08-24 13:36:04 +00:00
- Added `image-comparer` component
2020-08-20 13:13:06 +00:00
- Added `--width`, `--height`, and `--thumb-size` custom props to `sl-switch`
- Fixed an `aria-labelledby` attribute typo in a number of components
2020-08-20 12:25:52 +00:00
- Fixed a bug where the `change` event wasn't updating the value in `sl-input`
2020-08-20 12:27:00 +00:00
- Fixed a bug where `sl-color-picker` had the wrong border color in the dark theme
- Fixed a bug where `sl-menu-item` had the wrong color in dark mode when disabled
2020-08-20 12:58:21 +00:00
- Fixed a bug where WebKit's autocomplete styles made inputs looks broken
2020-08-21 20:58:02 +00:00
- Fixed a bug where aria labels were wrong in `sl-select`
- Fixed a bug where clicking the label wouldn't focus the control in `sl-select`
2020-08-20 12:25:52 +00:00
## 2.0.0-beta.14
2020-08-18 21:31:43 +00:00
- Added dark theme
- Added `--sl-panel-background-color` and `--sl-panel-border-color` tokens
- Added `--tabs-border-color` custom property to `sl-tab-group`
- Added `--track-color` custom property to `sl-range`
- Added `tag` part to `sl-select`
- Updated `package.json` so custom elements imports can be consumed from the root
2020-08-13 11:44:46 +00:00
- Fixed a bug where scrolling dialogs didn't resize properly in Safari
- Fixed a bug where `slShow` and `slHide` would be emitted twice in some components
2020-08-18 21:31:43 +00:00
- Fixed a bug where `custom-elements/index.d.ts` was broken due to an unclosed comment (fixed in Stencil 1.17.3)
- Fixed bug where inputs were not using border radius tokens
- Fixed a bug where the text color was being erroneously set in `sl-progress-ring`
- Fixed a bug where `sl-progress-bar` used the wrong part name internally for `indicator`
- Removed background color from `sl-menu`
- Updated to Stencil 1.17.3
2020-08-07 20:18:15 +00:00
## 2.0.0-beta.13
2020-08-08 20:10:01 +00:00
- Added `slActivate` and `slDeactivate` events to `sl-menu-item`
2020-08-12 11:36:25 +00:00
- Added experimental `sl-animation` component
2020-08-12 11:42:01 +00:00
- Added shields to documentation
2020-08-07 20:18:15 +00:00
- Fixed a bug where link buttons would have `type="button"`
2020-08-07 20:43:40 +00:00
- Fixed a bug where button groups with tooltips experienced an odd spacing issue in Safari
2020-08-08 20:11:41 +00:00
- Fixed a bug where scrolling in dropdowns/selects didn't work properly on Windows (special thanks to [Trendy](http://github.com/trendy) for helping troubleshoot!)
2020-08-12 11:42:01 +00:00
- Fixed a bug where selecting a menu item in a dropdown would cause Safari to scroll
2020-08-12 12:21:39 +00:00
- Fixed a bug where type to select wouldn't accept symbols
2020-08-08 20:10:01 +00:00
- Moved scrolling logic from `sl-menu` to `sl-dropdown`
2020-08-07 20:18:15 +00:00
2020-08-06 16:13:11 +00:00
## 2.0.0-beta.12
- Added support for `href`, `target`, and `download` to buttons
2020-08-06 16:13:11 +00:00
- Fixed a bug where buttons would have horizontal spacing in Safari
2020-08-06 17:59:31 +00:00
- Fixed a bug that caused an import resolution error when using Shoelace in a Stencil app
2020-08-06 16:13:11 +00:00
2020-08-06 13:09:56 +00:00
## 2.0.0-beta.11
2020-07-29 11:17:20 +00:00
2020-08-06 13:07:24 +00:00
- Added button group component
2020-08-06 13:09:56 +00:00
- Fixed icon button alignment
- Fixed a bug where focus visible observer wasn't removed from `sl-details`
- Replaced the deprecated `componentDidUnload` lifecycle method with `disconnectedCallback` to prevent issues with frameworks
## 2.0.0-beta.10
2020-08-03 21:05:47 +00:00
- Added community page to the docs
2020-07-29 11:17:20 +00:00
- Fixed a bug where many components would erroneously receive an `id` when using the custom elements bundle
- Fixed a bug where tab groups weren't scrollable with the mouse
2020-07-29 11:17:20 +00:00
2020-07-23 22:01:13 +00:00
## 2.0.0-beta.9
2020-07-24 21:00:38 +00:00
- Added the icon button component
2020-07-28 12:46:18 +00:00
- Added the skeleton component
2020-07-24 14:42:55 +00:00
- Added the `typeToSelect` method to menu so type-to-select behavior can be controlled externally
2020-07-27 11:50:50 +00:00
- Added the `pulse` prop to badge
2020-07-24 13:34:14 +00:00
- Fixed a bug where hovering over select showed the wrong cursor
- Fixed a bug where tabbing into a select control would highlight the label
- Fixed a bug where tabbing out of a select control wouldn't close it
- Fixed a bug where closing dropdowns wouldn't give focus back to the trigger
2020-07-24 14:42:55 +00:00
- Fixed a bug where type-to-select wasn't working after the first letter
2020-07-24 19:29:00 +00:00
- Fixed a bug where clicking on menu items and dividers would steal focus from the menu
2020-07-27 11:50:50 +00:00
- Fix a bug where the color picker wouldn't parse uppercase values
2020-07-24 12:38:39 +00:00
- Removed `noFooter` prop from dialog and drawer (slot detection is automatic, so the prop is not required)
2020-07-24 21:00:38 +00:00
- Removed `close-icon` slot from alert
- Replaced make-shift icon buttons with `sl-icon-button` in alert, dialog, drawer, and tag
2020-07-28 12:46:18 +00:00
- Updated Stencil to 1.17.1
- Switched to jsDelivr for better CDN performance
2020-07-23 22:01:13 +00:00
2020-07-21 19:33:58 +00:00
## 2.0.0-beta.8
2020-07-22 21:27:50 +00:00
- Added the card component
2020-07-21 19:33:58 +00:00
- Added `--focus-ring` custom property to tab
2020-07-22 21:27:50 +00:00
- Fixed a bug where range tooltips didn't appear on iOS
2020-07-21 19:33:58 +00:00
- Fixed constructor bindings so they don't break the custom elements bundle
- Fixed tag color contrast to be AA compliant
2020-07-22 21:27:50 +00:00
- Fixed a bug that made it difficult to vertically align rating
2020-07-23 21:30:13 +00:00
- Fixed a bug where dropdowns would always close on mousedown when inside a shadow root
2020-07-22 21:27:50 +00:00
- Made tag text colors AA compliant
- Promoted badge to stable
2020-07-21 19:33:58 +00:00
- Refactored `:host` variables and moved non-display props to base elements
2020-07-22 21:27:50 +00:00
- Refactored event handler bindings to occur in `connectedCallback` instead of the constructor
- Refactored scroll locking logic to use `Set` instead of an array
2020-07-23 21:30:13 +00:00
- Updated the custom elements bundle documentation and added bundler examples
2020-07-22 21:27:50 +00:00
- Upgraded Stencil to 1.17.0-0 (next) to fix custom elements bundle
2020-07-21 19:33:58 +00:00
2020-07-20 11:00:38 +00:00
## 2.0.0-beta.7
- Added links to version 1 resources to the docs
2020-07-20 20:31:30 +00:00
- Added rating component
- Fixed a bug where some build files were missing
- Fixed clearable tags demo
- Fixed touch icon size in docs
2020-07-20 11:00:38 +00:00
2020-07-19 15:34:37 +00:00
## 2.0.0-beta.6
- Enabled the `dist-custom-elements-bundle` output target
- Fixed a bug where nested form controls were ignored in `<sl-form>`
## 2.0.0-beta.5
2020-07-18 11:03:07 +00:00
- Fixed bug where `npm install` would fail due to postinstall script
- Removed unused dependency
2020-07-17 20:20:19 +00:00
## 2.0.0-beta.4
2020-07-17 21:07:33 +00:00
- Added `pill` variation to badges
- Fixed a bug where all badges had `pointer-events: none`
2020-07-17 20:20:19 +00:00
- Fixed `@since` props to show 2.0 instead of 1.0
- Fixed giant cursors in inputs in Safari
- Fixed color picker input width in Safari
- Fixed initial transitions for drawer, dialog, and popover consumers
2020-07-17 21:07:33 +00:00
- Fixed a bug where dialog, dropdown, and drawer would sometimes not transition in on the first open
- Fixed various documentation typos
2020-07-17 20:20:19 +00:00
2020-07-15 21:30:37 +00:00
## 2.0.0-beta.3
- Fix version in docs
- Remove custom elements bundle
## 2.0.0-beta.2
- Fix quick start and installation URLs
- Switch Docsify theme
- Update line heights tokens
## 2.0.0-beta.1
- Initial release