+
diff --git a/extensions/plugi-ext-form/assets/dist.css b/extensions/plugi-ext-form/assets/dist.css
index 59a5795..3987544 100644
--- a/extensions/plugi-ext-form/assets/dist.css
+++ b/extensions/plugi-ext-form/assets/dist.css
@@ -185,6 +185,20 @@
}
}
@layer utilities {
+ .sr-only {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip-path: inset(50%);
+ white-space: nowrap;
+ border-width: 0;
+ }
+ .static {
+ position: static;
+ }
.mx-auto {
margin-inline: auto;
}
@@ -212,15 +226,15 @@
.mb-4 {
margin-bottom: calc(var(--spacing) * 4);
}
+ .mb-5 {
+ margin-bottom: calc(var(--spacing) * 5);
+ }
.mb-6 {
margin-bottom: calc(var(--spacing) * 6);
}
.ml-1 {
margin-left: var(--spacing);
}
- .ml-2 {
- margin-left: calc(var(--spacing) * 2);
- }
.flex {
display: flex;
}
@@ -239,9 +253,6 @@
.w-6 {
width: calc(var(--spacing) * 6);
}
- .w-12 {
- width: calc(var(--spacing) * 12);
- }
.w-16 {
width: calc(var(--spacing) * 16);
}
@@ -251,9 +262,18 @@
.w-full {
width: 100%;
}
+ .w-max {
+ width: max-content;
+ }
.max-w-2xl {
max-width: var(--container-2xl);
}
+ .min-w-40 {
+ min-width: calc(var(--spacing) * 40);
+ }
+ .min-w-full {
+ min-width: 100%;
+ }
.flex-1 {
flex: 1;
}
@@ -263,11 +283,20 @@
.cursor-pointer {
cursor: pointer;
}
+ .flex-col {
+ flex-direction: column;
+ }
+ .flex-col-reverse {
+ flex-direction: column-reverse;
+ }
+ .flex-wrap {
+ flex-wrap: wrap;
+ }
.items-center {
align-items: center;
}
- .justify-between {
- justify-content: space-between;
+ .items-start {
+ align-items: flex-start;
}
.justify-center {
justify-content: center;
@@ -275,6 +304,9 @@
.justify-end {
justify-content: flex-end;
}
+ .justify-start {
+ justify-content: flex-start;
+ }
.gap-1 {
gap: var(--spacing);
}
@@ -284,6 +316,9 @@
.gap-3 {
gap: calc(var(--spacing) * 3);
}
+ .gap-4 {
+ gap: calc(var(--spacing) * 4);
+ }
:where(.space-y-1 > :not(:last-child)) {
--tw-space-y-reverse: 0;
margin-block-start: calc(var(--spacing) * var(--tw-space-y-reverse));
@@ -304,6 +339,11 @@
margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
}
+ :where(.space-y-5 > :not(:last-child)) {
+ --tw-space-y-reverse: 0;
+ margin-block-start: calc(calc(var(--spacing) * 5) * var(--tw-space-y-reverse));
+ margin-block-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-y-reverse)));
+ }
.overflow-x-auto {
overflow-x: auto;
}
@@ -324,6 +364,10 @@
border-style: var(--tw-border-style);
border-width: 2px;
}
+ .border-b {
+ border-bottom-style: var(--tw-border-style);
+ border-bottom-width: 1px;
+ }
.border-l-2 {
border-left-style: var(--tw-border-style);
border-left-width: 2px;
@@ -341,18 +385,42 @@
.p-3 {
padding: calc(var(--spacing) * 3);
}
+ .px-0 {
+ padding-inline: 0px;
+ }
+ .px-3 {
+ padding-inline: calc(var(--spacing) * 3);
+ }
+ .px-4 {
+ padding-inline: calc(var(--spacing) * 4);
+ }
+ .py-2 {
+ padding-block: calc(var(--spacing) * 2);
+ }
.py-8 {
padding-block: calc(var(--spacing) * 8);
}
.py-16 {
padding-block: calc(var(--spacing) * 16);
}
- .pl-4 {
- padding-left: calc(var(--spacing) * 4);
+ .pt-2 {
+ padding-top: calc(var(--spacing) * 2);
+ }
+ .pb-4 {
+ padding-bottom: calc(var(--spacing) * 4);
+ }
+ .pl-3 {
+ padding-left: calc(var(--spacing) * 3);
+ }
+ .pl-8 {
+ padding-left: calc(var(--spacing) * 8);
}
.text-center {
text-align: center;
}
+ .text-right {
+ text-align: right;
+ }
.font-mono {
font-family: var(--font-mono);
}
@@ -403,14 +471,10 @@
.uppercase {
text-transform: uppercase;
}
- .shadow {
+ .shadow-sm {
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
- .shadow-lg {
- --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
- }
.transition-colors {
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -419,6 +483,29 @@
.active\:cursor-grabbing:active {
cursor: grabbing;
}
+ @media (width >= 40rem) {
+ .sm\:ml-2 {
+ margin-left: calc(var(--spacing) * 2);
+ }
+ .sm\:min-w-28 {
+ min-width: calc(var(--spacing) * 28);
+ }
+ .sm\:flex-row {
+ flex-direction: row;
+ }
+ .sm\:items-center {
+ align-items: center;
+ }
+ .sm\:justify-between {
+ justify-content: space-between;
+ }
+ .sm\:justify-end {
+ justify-content: flex-end;
+ }
+ .sm\:pl-4 {
+ padding-left: calc(var(--spacing) * 4);
+ }
+ }
}
@layer theme, base, components, utilities;
@layer theme;
diff --git a/extensions/plugi-ext-form/blocks/form-wrapper/view.php b/extensions/plugi-ext-form/blocks/form-wrapper/view.php
index 40071c7..ec8f2d2 100644
--- a/extensions/plugi-ext-form/blocks/form-wrapper/view.php
+++ b/extensions/plugi-ext-form/blocks/form-wrapper/view.php
@@ -7,8 +7,8 @@ if ($id > 0):
$fields = json_decode($form["fields"], true);
?>
-