@nextlyhq/plugin-form-builder 0.0.2-alpha.56 → 0.0.2-alpha.58

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.
@@ -736,15 +736,7 @@ function SubmissionsView({ collectionSlug }) {
736
736
  setPage(1);
737
737
  setOpenId(null);
738
738
  },
739
- children: /* @__PURE__ */ jsx2(TabsList, { className: "rounded-none", children: STATUS_TABS.map((tab) => /* @__PURE__ */ jsx2(
740
- TabsTrigger,
741
- {
742
- value: tab.value,
743
- className: "rounded-none",
744
- children: tab.label
745
- },
746
- tab.value
747
- )) })
739
+ children: /* @__PURE__ */ jsx2(TabsList, { children: STATUS_TABS.map((tab) => /* @__PURE__ */ jsx2(TabsTrigger, { value: tab.value, children: tab.label }, tab.value)) })
748
740
  }
749
741
  )
750
742
  ] }),
@@ -2178,7 +2170,7 @@ function FieldEditor({ field, allFields, onUpdate }) {
2178
2170
  TabsTrigger2,
2179
2171
  {
2180
2172
  value: "general",
2181
- className: "w-full rounded-none border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-background/50 transition-all",
2173
+ className: "w-full data-[state=active]:bg-background/50",
2182
2174
  children: "General"
2183
2175
  }
2184
2176
  ),
@@ -2186,7 +2178,7 @@ function FieldEditor({ field, allFields, onUpdate }) {
2186
2178
  TabsTrigger2,
2187
2179
  {
2188
2180
  value: "validation",
2189
- className: "w-full rounded-none border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-background/50 transition-all",
2181
+ className: "w-full data-[state=active]:bg-background/50",
2190
2182
  children: "Validation"
2191
2183
  }
2192
2184
  ),
@@ -2194,7 +2186,7 @@ function FieldEditor({ field, allFields, onUpdate }) {
2194
2186
  TabsTrigger2,
2195
2187
  {
2196
2188
  value: "conditional",
2197
- className: "w-full rounded-none border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-background/50 transition-all",
2189
+ className: "w-full data-[state=active]:bg-background/50",
2198
2190
  children: "Conditional"
2199
2191
  }
2200
2192
  )
@@ -3636,12 +3628,12 @@ function FormPreview({ fields, formData }) {
3636
3628
  {
3637
3629
  value: device,
3638
3630
  onValueChange: (value) => setDevice(value),
3639
- children: /* @__PURE__ */ jsxs8(TabsList3, { className: "rounded-none", children: [
3640
- /* @__PURE__ */ jsxs8(TabsTrigger3, { value: "desktop", className: "rounded-none gap-1.5", children: [
3631
+ children: /* @__PURE__ */ jsxs8(TabsList3, { children: [
3632
+ /* @__PURE__ */ jsxs8(TabsTrigger3, { value: "desktop", className: "gap-1.5", children: [
3641
3633
  /* @__PURE__ */ jsx9(Monitor, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
3642
3634
  "Desktop"
3643
3635
  ] }),
3644
- /* @__PURE__ */ jsxs8(TabsTrigger3, { value: "mobile", className: "rounded-none gap-1.5", children: [
3636
+ /* @__PURE__ */ jsxs8(TabsTrigger3, { value: "mobile", className: "gap-1.5", children: [
3645
3637
  /* @__PURE__ */ jsx9(Smartphone, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
3646
3638
  "Mobile"
3647
3639
  ] })
@@ -4309,20 +4301,17 @@ function FormBuilderViewInner({
4309
4301
  {
4310
4302
  value: activeTab,
4311
4303
  onValueChange: (v) => setActiveTab(v),
4312
- children: /* @__PURE__ */ jsx11(TabsList4, { className: "bg-transparent justify-start gap-0 -mb-px border-b-0 max-w-full overflow-x-auto", children: mainTabs.map((tab) => /* @__PURE__ */ jsxs10(
4304
+ children: /* @__PURE__ */ jsx11(TabsList4, { className: "bg-transparent justify-start gap-0 -mb-px max-w-full overflow-x-auto", children: mainTabs.map((tab) => /* @__PURE__ */ jsxs10(
4313
4305
  TabsTrigger4,
4314
4306
  {
4315
4307
  value: tab.value,
4316
- style: {
4317
- borderBottomColor: activeTab === tab.value ? "var(--nx-primary)" : "transparent"
4318
- },
4319
- className: "shrink-0 whitespace-nowrap border-b-2 relative -mb-0.5 data-[state=active]:text-primary data-[state=inactive]:text-muted-foreground hover:text-primary hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer",
4308
+ className: "shrink-0 whitespace-nowrap",
4320
4309
  children: [
4321
4310
  tab.label,
4322
4311
  tab.count !== null && /* @__PURE__ */ jsx11(
4323
4312
  "span",
4324
4313
  {
4325
- className: `inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold rounded-none ml-2 transition-colors ${activeTab === tab.value ? "bg-primary/5 text-primary" : "bg-primary/5 text-muted-foreground"}`,
4314
+ className: `inline-flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-semibold rounded-sm ml-2 transition-colors ${activeTab === tab.value ? "bg-primary/5 text-primary" : "bg-primary/5 text-muted-foreground"}`,
4326
4315
  children: tab.count
4327
4316
  }
4328
4317
  )