dash-button-web 0.0.6 → 0.0.7

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 (30) hide show
  1. package/dist/cjs/dash-button.cjs.entry.js +28 -43
  2. package/dist/cjs/dash-button.cjs.entry.js.map +1 -1
  3. package/dist/cjs/{index-991e75df.js → index-065225eb.js} +5 -1
  4. package/dist/{esm/index-8310c457.js.map → cjs/index-065225eb.js.map} +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/web-compnont.cjs.js +2 -2
  7. package/dist/collection/components/my-component/dash-button.css +40 -0
  8. package/dist/collection/components/my-component/dash-button.js +45 -42
  9. package/dist/collection/components/my-component/dash-button.js.map +1 -1
  10. package/dist/components/dash-button.js +30 -43
  11. package/dist/components/dash-button.js.map +1 -1
  12. package/dist/esm/dash-button.entry.js +28 -43
  13. package/dist/esm/dash-button.entry.js.map +1 -1
  14. package/dist/esm/{index-8310c457.js → index-2b1034cf.js} +5 -1
  15. package/dist/esm/index-2b1034cf.js.map +1 -0
  16. package/dist/esm/loader.js +3 -3
  17. package/dist/esm/web-compnont.js +3 -3
  18. package/dist/types/components/my-component/dash-button.d.ts +2 -0
  19. package/dist/types/components.d.ts +2 -0
  20. package/dist/web-compnont/p-bdb5725e.js +3 -0
  21. package/dist/web-compnont/p-bdb5725e.js.map +1 -0
  22. package/dist/web-compnont/{p-392f1e3f.entry.js → p-e4d4f568.entry.js} +3 -3
  23. package/dist/web-compnont/p-e4d4f568.entry.js.map +1 -0
  24. package/dist/web-compnont/web-compnont.esm.js +1 -1
  25. package/dist/web-compnont/web-compnont.esm.js.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/cjs/index-991e75df.js.map +0 -1
  28. package/dist/web-compnont/p-392f1e3f.entry.js.map +0 -1
  29. package/dist/web-compnont/p-4bd42d49.js +0 -3
  30. package/dist/web-compnont/p-4bd42d49.js.map +0 -1
@@ -223,6 +223,10 @@ const parsePropertyValue = (propValue, propType) => {
223
223
  // but we'll cheat here and say that the string "false" is the boolean false
224
224
  return propValue === 'false' ? false : propValue === '' || !!propValue;
225
225
  }
226
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
227
+ // force it to be a number
228
+ return parseFloat(propValue);
229
+ }
226
230
  if (propType & 1 /* MEMBER_FLAGS.String */) {
227
231
  // could have been passed as a number or boolean
228
232
  // but we still want it as a string
@@ -1765,4 +1769,4 @@ exports.promiseResolve = promiseResolve;
1765
1769
  exports.registerInstance = registerInstance;
1766
1770
  exports.setNonce = setNonce;
1767
1771
 
1768
- //# sourceMappingURL=index-991e75df.js.map
1772
+ //# sourceMappingURL=index-065225eb.js.map