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
@@ -201,6 +201,10 @@ const parsePropertyValue = (propValue, propType) => {
201
201
  // but we'll cheat here and say that the string "false" is the boolean false
202
202
  return propValue === 'false' ? false : propValue === '' || !!propValue;
203
203
  }
204
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
205
+ // force it to be a number
206
+ return parseFloat(propValue);
207
+ }
204
208
  if (propType & 1 /* MEMBER_FLAGS.String */) {
205
209
  // could have been passed as a number or boolean
206
210
  // but we still want it as a string
@@ -1738,4 +1742,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1738
1742
 
1739
1743
  export { bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1740
1744
 
1741
- //# sourceMappingURL=index-8310c457.js.map
1745
+ //# sourceMappingURL=index-2b1034cf.js.map