@hulkapps/app-manager-vue 3.1.12 → 3.1.13
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/README.md +9 -20
- package/dist/app-manager-vue.esm.js +17 -10
- package/dist/app-manager-vue.min.js +1 -1
- package/dist/app-manager-vue.ssr.js +34 -27
- package/dist/hulkapps-app-manager.css +1 -1
- package/dist/hulkapps-app-manager.min.css +1 -1
- package/package.json +1 -1
- package/src/components/PolarisNew/PlanTable.vue +14 -5
package/package.json
CHANGED
|
@@ -98,15 +98,25 @@ export default {
|
|
|
98
98
|
const featureNames = document.querySelectorAll(
|
|
99
99
|
`.plan-feature-name${featureType}`
|
|
100
100
|
);
|
|
101
|
+
|
|
102
|
+
// Reset any previously-set inline heights/minHeights so measurements reflect natural content
|
|
103
|
+
featureNames.forEach((fn) => {
|
|
104
|
+
fn.style.height = "";
|
|
105
|
+
fn.style.minHeight = "";
|
|
106
|
+
});
|
|
101
107
|
slides.forEach((slide) => {
|
|
102
108
|
const features = slide.querySelectorAll(
|
|
103
109
|
`.plan-feature${featureType}`
|
|
104
110
|
);
|
|
111
|
+
// Reset feature cells in this slide before measuring
|
|
112
|
+
features.forEach((f) => {
|
|
113
|
+
f.style.height = "";
|
|
114
|
+
f.style.minHeight = "";
|
|
115
|
+
});
|
|
116
|
+
|
|
105
117
|
featureNames.forEach((featureName, index) => {
|
|
106
118
|
const feature = features[index];
|
|
107
119
|
if (featureName && feature) {
|
|
108
|
-
featureName.style.height = 'auto';
|
|
109
|
-
feature.style.height = 'auto';
|
|
110
120
|
|
|
111
121
|
let measured = featureName.getBoundingClientRect().height;
|
|
112
122
|
if (!measured || measured <= 0) {
|
|
@@ -115,9 +125,7 @@ export default {
|
|
|
115
125
|
|
|
116
126
|
const intHeight = Math.ceil(measured);
|
|
117
127
|
featureName.style.height = `${intHeight}px`;
|
|
118
|
-
featureName.style.minHeight = `${intHeight}px`;
|
|
119
128
|
feature.style.height = `${intHeight}px`;
|
|
120
|
-
feature.style.minHeight = `${intHeight}px`;
|
|
121
129
|
}
|
|
122
130
|
});
|
|
123
131
|
});
|
|
@@ -129,7 +137,8 @@ export default {
|
|
|
129
137
|
);
|
|
130
138
|
if (planNames) {
|
|
131
139
|
planNames.forEach((el) => {
|
|
132
|
-
el.style.minHeight =
|
|
140
|
+
el.style.minHeight = "";
|
|
141
|
+
el.style.height = "";
|
|
133
142
|
});
|
|
134
143
|
}
|
|
135
144
|
const plansAvailableName = document.querySelector(
|