inline-style-editor 1.5.5 → 1.5.6
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.
|
@@ -5747,7 +5747,7 @@ function InlineStyleEditor$1($$anchor, $$props) {
|
|
|
5747
5747
|
"stroke-width": {
|
|
5748
5748
|
type: "slider",
|
|
5749
5749
|
min: 0,
|
|
5750
|
-
max:
|
|
5750
|
+
max: 5,
|
|
5751
5751
|
step: 0.5,
|
|
5752
5752
|
suffix: "px"
|
|
5753
5753
|
},
|
|
@@ -5885,6 +5885,12 @@ function InlineStyleEditor$1($$anchor, $$props) {
|
|
|
5885
5885
|
|
|
5886
5886
|
ignoredProps.forEach((prop) => delete _allCurrentPropDefs[prop]);
|
|
5887
5887
|
|
|
5888
|
+
const elemTagName = get(currentElement)?.tagName?.toLowerCase();
|
|
5889
|
+
|
|
5890
|
+
if (get(curType) === typeText && (elemTagName === "text" || elemTagName === "tspan")) {
|
|
5891
|
+
delete _allCurrentPropDefs["color"];
|
|
5892
|
+
}
|
|
5893
|
+
|
|
5888
5894
|
Object.keys(_allCurrentPropDefs).forEach((key) => {
|
|
5889
5895
|
const propSelectType = _allCurrentPropDefs[key].type;
|
|
5890
5896
|
let retrieveType = "number";
|
|
@@ -5917,8 +5923,6 @@ function InlineStyleEditor$1($$anchor, $$props) {
|
|
|
5917
5923
|
}
|
|
5918
5924
|
});
|
|
5919
5925
|
|
|
5920
|
-
console.log(_allCurrentPropDefs);
|
|
5921
|
-
|
|
5922
5926
|
const _propsByType = Object.entries(_allCurrentPropDefs).reduce(
|
|
5923
5927
|
(byType, [propName, selectorDef]) => {
|
|
5924
5928
|
const selectorType = selectorDef.type;
|
|
@@ -6753,4 +6757,3 @@ class InlineStyleEditor {
|
|
|
6753
6757
|
}
|
|
6754
6758
|
|
|
6755
6759
|
export { InlineStyleEditor as default };
|
|
6756
|
-
//# sourceMappingURL=inline-style-editor.mjs.map
|