@juspay/svelte-ui-components 4.10.2 → 4.10.3

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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -245,10 +245,11 @@ CSS custom properties apply across the shadow DOM boundary.
245
245
 
246
246
  ### Event handlers: use `addEventListener`, not `element.onclick`
247
247
 
248
- Handlers are passed as **props**, and 91 of those props are named after event-handler
248
+ Handlers are passed as **props**, and 93 of those props are named after event-handler
249
249
  accessors that already exist on `HTMLElement` — `onclick`, `onchange`, `oninput`,
250
- `onkeydown` and 21 others. On a custom element the component's prop wins, so assigning
251
- the property does not register a DOM handler the way it would anywhere else:
250
+ `onkeydown`, `ontouchstart` and 22 others. On a custom element the component's prop
251
+ wins, so assigning the property does not register a DOM handler the way it would
252
+ anywhere else:
252
253
 
253
254
  ```js
254
255
  const checkbox = document.querySelector('sui-checkbox');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juspay/svelte-ui-components",
3
- "version": "4.10.2",
3
+ "version": "4.10.3",
4
4
  "description": "A themeable Svelte 5 UI component library with CSS custom property driven styling",
5
5
  "keywords": [
6
6
  "svelte",