@targoninc/jess-components 0.0.36 → 0.0.37

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/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -774,8 +774,9 @@ function getDisabledClass(config) {
774
774
  }
775
775
  function button(config) {
776
776
  config.classes ??= [];
777
- return create("button").applyGenericConfig(config).onclick(config.onclick).classes(getDisabledClass(config)).attributes("tabindex", config.tabindex ?? "0").children(when(config.icon, () => create("div").classes("jess", "flex", "align-children").children(icon(config.icon)).build()), when(config.text, () => text({
778
- text: config.text
777
+ return create("button").applyGenericConfig(config).onclick(config.onclick).classes(getDisabledClass(config)).attributes("tabindex", config.tabindex ?? "0").children(when(config.icon, () => create("div").classes("jess", "flex", "align-children").styles("pointer-events", "none").children(icon(config.icon)).build()), when(config.text, () => text({
778
+ text: config.text,
779
+ styles: ["pointer-events", "none"]
779
780
  }))).build();
780
781
  }
781
782
  function input(config) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@targoninc/jess-components",
3
3
  "type": "module",
4
- "version": "0.0.36",
4
+ "version": "0.0.37",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [