OnsenUI/OnsenUI
 Watch   
 Star   
 Fork   
2022-12-27 16:27:59
OnsenUI

2.12.8

  • dependencies: Regenerate package-lock.json.
2022-12-27 15:06:42
OnsenUI

Bug Fixes

  • css: fix rgba with 3 parameters (#3037).
2022-10-17 20:00:25
OnsenUI

2.12.6

2.12.6

Bug Fixes

  • onsenui.min.css: Fix relative import urls (#3032).
2022-10-13 16:27:04
OnsenUI

2.12.5

2.12.5

New Features

  • ons-list-item: Add keep-tap-background-color property (#2626).
2022-10-13 12:51:28
OnsenUI

2.12.4

2.12.4

Bug Fixes

  • ons.platform.isIPhoneX: Support iPhone 13, 13 Pro, 13 Pro Max, 14, 14 Pro, 14 Pro Max, 14 Plus. (#3030)
2022-09-28 16:38:57
OnsenUI

2.12.3

New Features

  • ons-popover: Add target attribute and property. Fixed (#3003).

Bug Fixes

  • ons-navigator: reject proper message (404) when push none existing page. Fixed (#2964).
  • css: Use valid CSS in calc function. PR (#2691)
2022-07-25 17:07:13
OnsenUI

2.12.2

2.12.2

New Features

  • ons-navigator: Add swipeToPop and onsBackButton keys to postpop event for detecting what triggered the pop.
2022-07-01 10:14:48
OnsenUI

2.12.1

Bug Fixes

  • ons-alert-dialog: User's onDeviceBackButton setting is no longer ignored when connecting element.
  • ons-splitter-side: Fix options.animation being ignored.
  • ons-list-item: Wait until content is ready before expanding list item when expanded is set.

New Features

  • ons-speed-dial: Added open attribute and property.
  • ons-speed-dial: Added ripple property.
  • ons-list-item: Added expandable property.
  • ons-list-item: Added tappable property.
  • ons-list-item: Added lockOnDrag property.
  • ons-list-item: Added animation property.
  • ons-list-item: Added tapBackgroundColor property.
  • ons-ripple: Added center property.
  • ons-icon: Added fixedWidth property.
  • ons-icon: Added spin property.
  • ons-carousel: Added fullscreen property.
  • ons-carousel: Added autoRefresh property.
  • ons-fab: Added ripple property.
  • ons-input: Added float property.
  • ons-popover: Added coverTarget property.
  • ons-pull-hook: Added fixedContent property.
  • ons-speed-dial-item: Added ripple property.
  • ons-tabbar: Added tabBorder property.
  • ons-tabbar: Added animationOptions property.
  • ons-toolbar: Added static property.
  • ons-input: type property is now settable.
  • ons-navigator: Added swipe event.
  • ons-navigator: Added animationOptions property.
  • ons-splitter-side: Added animationOptions property.
  • ons-splitter-side: Added swipe event.
2022-04-11 04:05:15
OnsenUI

2.12.0

BREAKING CHANGES

  • ons-list-item: expanded class has been renamed to list-item--expanded.
  • ons-tab: Setting onClick no longers prevents default behaviour. event.preventDefault should be called in the onClick callback.
  • ons-back-button: Setting onClick no longers prevents default behaviour. event.preventDefault should be called in the onClick callback.
  • ons-speed-dial: Setting onClick no longers prevents default behaviour. event.preventDefault should be called in the onClick callback.
  • core: The ES modules are now distributed in ES6 instead of transpiled ES5. If you need to support ES5, you should transpile the contents of the esm directory.
  • core: Bundlers will now use the ES modules version of Onsen UI by default instead of the UMD version.
  • The TypeScript declaration file has been moved to esm/onsenui.d.ts.
  • ons-template: ons-template has been removed. Use template instead.

Bug Fixes

  • ons-splitter-side: Stop creating new swipe reveals when connected if one already exists.
  • core: DOMContentReady and deviceready event listeners are removed after being invoked once. (#2886).
  • ons-button: Allow form submission on submit key keypress. (#2857).
  • ons-list-item: Clicks are ignored while the expandable list item is expanding/contracting.
  • ons-button, ons-alert-dialog-button, ons-toolbar-button, ons-action-sheet-button: Ensure ons-ripple is imported when button is imported.
  • ons-dialog, ons-alert-dialog, ons-modal, ons-popover, ons-action-sheet: dialog-cancel event is renamed to dialogcancel.
  • ons-action-sheet: Hide title element when title is null or undefined.
  • ons-splitter-side: Fix error being thrown when animation-options attribute is set.
  • ons-popover: Use regular function instead of arrow function to stop default animation breaking.
  • ons-select: Remove ons-select element when remove is called with no arguments.

New Features

  • ons-tabbar: swipe event is now emitted when the tabbar swipes.
  • ons-carousel: swipe event is now emitted when the carousel swipes.
  • ons-pull-hook: pull event is now emitted when the pull hook is pulled.
  • ons-tab: Calling event.preventDefault for click events can be used to prevent switching tab.
  • ons-back-button: Calling event.preventDefault for click events can be used to prevent navigator going back a page.
  • ons-speed-dial: Calling event.preventDefault for click events can be used to prevent speed dial opening/closing.
  • ons-splitter-side: Added swipeable property.
  • ons-list-item: Added expandable attribute and property. (#2896).
  • ons-list-item: Added expand event that fires when an expandable list item is clicked and expands or contracts.
  • ons-button: Added ripple property to mirror existing ripple attribute.
  • ons-dialog, ons-alert-dialog, ons-modal, ons-popover, ons-action-sheet: Added visible attribute.
  • ons-dialog, ons-alert-dialog, ons-modal, ons-popover, ons-action-sheet: Can now be shown or hidden by setting the visible property/attribute.
  • ons-dialog, ons-alert-dialog, ons-popover, ons-action-sheet: Added maskColor property.
  • ons-alert-dialog, ons-toast, ons-modal, ons-dialog, ons-action-sheet, ons-popover: Added animationOptions property.
  • ons-action-sheet: Added title property to mirror existing title attribute.
  • ons-carousel: Added animationOptions property.
  • ons-carousel: Added active-index attribute and activeIndex property.
  • ons-segment: active-index can now be set at any time, not just during initialization. Also added corresponding activeIndex property.
  • ons-tabbar: Added hideTabs property.
  • ons-tabbar: Added activeIndex property. The active tab can now be changed by setting either the active-index attribute or the activeIndex property.

Misc

  • Support for bower has been dropped. (#2924).
  • The ES modules are now distributed as unbundled ES6 instead of bundled ES5. (#2731).
  • module key has been added to package.json. Bundlers will now use the ES modules version of Onsen UI by default instead of the UMD version.
  • The TypeScript declaration file has been moved to esm/onsenui.d.ts.
  • The CSS components source has been moved to css/css-components-src.
  • The paths to all components have been standardized. For ESM imports use import onsenui/esm/elements/<component-name>.js for all components.
2021-01-12 13:43:56
OnsenUI

2.11.2

Bug Fixes

  • ons.platform: isIOS now returns true for iPadOS. (#2804).
  • ons.platform: Only prompt input cursor for supported input types. (#2803).
  • core: Fix animations not working for platform-specific animations.
  • ons-fab: Fix fab not being positioned relative to tab page. (#2810).
  • core: Fix setImmediate not defined for ESM bug.
  • ons.platform: isIPhoneX now works for iPhone 11 and 12 variants. (#2811).

New Features

  • core: Add blur and focus methods for input elements. (#2809).