@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260702060503 → 0.8.1-dev.20260704091052
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/index.js +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2112,7 +2112,7 @@ var LineTextInput = (props) => {
|
|
|
2112
2112
|
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react15.default.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("label", { className: "block", children: [
|
|
2113
2113
|
props?.attributes?.label && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
|
|
2114
2114
|
" ",
|
|
2115
|
-
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "bg-error-weak", children: "*" }),
|
|
2115
|
+
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
|
|
2116
2116
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2117
2117
|
"input",
|
|
2118
2118
|
{
|
|
@@ -6309,9 +6309,15 @@ ${cssRules.join(
|
|
|
6309
6309
|
}`;
|
|
6310
6310
|
}
|
|
6311
6311
|
}
|
|
6312
|
+
const updatedTabletStyles = convertKeysToCamelCase(
|
|
6313
|
+
tabletStylesObject
|
|
6314
|
+
);
|
|
6315
|
+
const updatedMobileStyles = convertKeysToCamelCase(
|
|
6316
|
+
mobileStylesObject
|
|
6317
|
+
);
|
|
6312
6318
|
if (hasGridProperties) {
|
|
6313
|
-
const tabletHasGrid = tabletStylesObject?.gridTemplateColumns !== void 0;
|
|
6314
|
-
const mobileHasGrid = mobileStylesObject?.gridTemplateColumns !== void 0;
|
|
6319
|
+
const tabletHasGrid = tabletStylesObject?.gridTemplateColumns !== void 0 || tabletStylesObject?.["grid-template-columns"] !== void 0;
|
|
6320
|
+
const mobileHasGrid = mobileStylesObject?.gridTemplateColumns !== void 0 || mobileStylesObject?.["grid-template-columns"] !== void 0;
|
|
6315
6321
|
if (!tabletHasGrid) {
|
|
6316
6322
|
css += `
|
|
6317
6323
|
@media (max-width: 768px) {
|
package/dist/index.mjs
CHANGED
|
@@ -508,7 +508,7 @@ var LineTextInput = (props) => {
|
|
|
508
508
|
return /* @__PURE__ */ jsx14(React13.Fragment, { children: /* @__PURE__ */ jsxs6("label", { className: "block", children: [
|
|
509
509
|
props?.attributes?.label && /* @__PURE__ */ jsx14("span", { className: "text-sm inline-block pb-1 font-medium ", children: props?.attributes?.label }),
|
|
510
510
|
" ",
|
|
511
|
-
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx14("span", { className: "bg-error-weak", children: "*" }),
|
|
511
|
+
props?.attributes?.label && props?.attributes?.required && /* @__PURE__ */ jsx14("span", { className: "bg-error-weak !bg-transparent", children: "*" }),
|
|
512
512
|
/* @__PURE__ */ jsx14(
|
|
513
513
|
"input",
|
|
514
514
|
{
|
|
@@ -4703,9 +4703,15 @@ ${cssRules.join(
|
|
|
4703
4703
|
}`;
|
|
4704
4704
|
}
|
|
4705
4705
|
}
|
|
4706
|
+
const updatedTabletStyles = convertKeysToCamelCase(
|
|
4707
|
+
tabletStylesObject
|
|
4708
|
+
);
|
|
4709
|
+
const updatedMobileStyles = convertKeysToCamelCase(
|
|
4710
|
+
mobileStylesObject
|
|
4711
|
+
);
|
|
4706
4712
|
if (hasGridProperties) {
|
|
4707
|
-
const tabletHasGrid = tabletStylesObject?.gridTemplateColumns !== void 0;
|
|
4708
|
-
const mobileHasGrid = mobileStylesObject?.gridTemplateColumns !== void 0;
|
|
4713
|
+
const tabletHasGrid = tabletStylesObject?.gridTemplateColumns !== void 0 || tabletStylesObject?.["grid-template-columns"] !== void 0;
|
|
4714
|
+
const mobileHasGrid = mobileStylesObject?.gridTemplateColumns !== void 0 || mobileStylesObject?.["grid-template-columns"] !== void 0;
|
|
4709
4715
|
if (!tabletHasGrid) {
|
|
4710
4716
|
css += `
|
|
4711
4717
|
@media (max-width: 768px) {
|
package/package.json
CHANGED