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.
- package/dist/cjs/dash-button.cjs.entry.js +28 -43
- package/dist/cjs/dash-button.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-991e75df.js → index-065225eb.js} +5 -1
- package/dist/{esm/index-8310c457.js.map → cjs/index-065225eb.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/web-compnont.cjs.js +2 -2
- package/dist/collection/components/my-component/dash-button.css +40 -0
- package/dist/collection/components/my-component/dash-button.js +45 -42
- package/dist/collection/components/my-component/dash-button.js.map +1 -1
- package/dist/components/dash-button.js +30 -43
- package/dist/components/dash-button.js.map +1 -1
- package/dist/esm/dash-button.entry.js +28 -43
- package/dist/esm/dash-button.entry.js.map +1 -1
- package/dist/esm/{index-8310c457.js → index-2b1034cf.js} +5 -1
- package/dist/esm/index-2b1034cf.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/web-compnont.js +3 -3
- package/dist/types/components/my-component/dash-button.d.ts +2 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/web-compnont/p-bdb5725e.js +3 -0
- package/dist/web-compnont/p-bdb5725e.js.map +1 -0
- package/dist/web-compnont/{p-392f1e3f.entry.js → p-e4d4f568.entry.js} +3 -3
- package/dist/web-compnont/p-e4d4f568.entry.js.map +1 -0
- package/dist/web-compnont/web-compnont.esm.js +1 -1
- package/dist/web-compnont/web-compnont.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-991e75df.js.map +0 -1
- package/dist/web-compnont/p-392f1e3f.entry.js.map +0 -1
- package/dist/web-compnont/p-4bd42d49.js +0 -3
- 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-
|
|
1745
|
+
//# sourceMappingURL=index-2b1034cf.js.map
|