@timeax/form-palette 0.0.21 → 0.0.22

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.mjs CHANGED
@@ -15742,6 +15742,7 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
15742
15742
  groupClassName,
15743
15743
  optionClassName,
15744
15744
  labelClassName,
15745
+ optionLabelClassName,
15745
15746
  descriptionClassName,
15746
15747
  className,
15747
15748
  // alias for groupClassName
@@ -16049,7 +16050,7 @@ var InnerShadcnCheckboxVariant = (props, ref) => {
16049
16050
  children: [
16050
16051
  checkboxNode,
16051
16052
  /* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-col", children: [
16052
- /* @__PURE__ */ jsx("span", { className: labelClassesBase, children: displayItem.label }),
16053
+ /* @__PURE__ */ jsx("span", { className: cn(labelClassesBase, optionLabelClassName), children: displayItem.label }),
16053
16054
  displayItem.description != null && /* @__PURE__ */ jsx(
16054
16055
  "span",
16055
16056
  {
@@ -21351,7 +21352,11 @@ function InputField(props) {
21351
21352
  )
21352
21353
  )
21353
21354
  ] });
21354
- const inlineRowClassName = cn("flex items-start gap-2", classes == null ? void 0 : classes.inlineRow);
21355
+ const inlineRowClassName = cn(
21356
+ "flex gap-2",
21357
+ hasLabelAboveSlots || hasLabelBelowSlots ? "items-start" : "items-center",
21358
+ classes == null ? void 0 : classes.inlineRow
21359
+ );
21355
21360
  const hasStackedLabelBlock = lp !== "hidden" && hasAnyLabelBlockContent;
21356
21361
  const stackedGroupClassName = cn(
21357
21362
  hasStackedLabelBlock && hasLabelRowContent && "mt-0.5",