@ethlete/components 1.0.0-next.112 → 1.0.0-next.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0-next.113
4
+
5
+ ### Patch Changes
6
+
7
+ - Keep the scrollable’s edge fade and arrow off during elastic overscroll on Safari.
8
+ - A drag-to-dismiss swipe that can scroll a container under the pointer (a tab bar) scrolls it and no longer closes the sheet.
9
+ - Overlay routers skip their slide and close animations when the browser has already animated a history navigation.
10
+ - `et-scrollable` no longer sets the host class `et-scrollable--has-partial-items`. Style on `et-scrollable--can-scroll` together with `et-scrollable--is-at-start` or `et-scrollable--is-at-end` instead. `@ethlete/cdk` keeps the class.
11
+ - Scrollable masks show on every edge that can still scroll, also when no item is cut off. `--et-scrollable-mask-start-size` and `--et-scrollable-mask-end-size` size one side; `0px` turns it off.
12
+ - Overlays opened during a user gesture focus an available initial text field immediately so iOS Safari can open the keyboard.
13
+ - Sheet overshoot stays filled during the opening bounce and rubber-band drag when the app adds a shadow to the pane.
14
+
3
15
  ## 1.0.0-next.112
4
16
 
5
17
  ### Minor Changes
@@ -27,8 +27,6 @@ export type ScrollableMockOptions = {
27
27
  canScroll?: boolean;
28
28
  /** The scroll position the directive reads: it decides the start and end classes. Left out, `start`. */
29
29
  position?: 'start' | 'middle' | 'end';
30
- /** Draws `et-scrollable--has-partial-items`. Left out, true while the content can scroll and masks render. */
31
- partialItems?: boolean;
32
30
  /** Left out, the masks render, as `renderMasks` defaults to. */
33
31
  renderMasks?: boolean;
34
32
  maskVariant?: 'gradient' | 'border';
@@ -145,7 +143,6 @@ export const scrollable = (options: ScrollableMockOptions) => {
145
143
  canScroll && 'et-scrollable--can-scroll',
146
144
  atStart && 'et-scrollable--is-at-start',
147
145
  atEnd && 'et-scrollable--is-at-end',
148
- (options.partialItems ?? (canScroll && renderMasks)) && 'et-scrollable--has-partial-items',
149
146
  options.darken && 'et-scrollable--darken-non-intersecting-items',
150
147
  options.stickyButtons && options.buttons === 'inside' && 'et-scrollable--sticky-buttons',
151
148
  options.class,