@valbuild/ui 0.46.1 → 0.47.0
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/valbuild-ui.cjs.js +55 -8
- package/dist/valbuild-ui.esm.js +55 -8
- package/package.json +3 -3
- package/server/.tmp/assets/{index-yY5yCkWt.js → index-8U9B2Ocg.js} +26 -26
- package/server/.tmp/index.html +1 -1
- package/server/dist/valbuild-ui-main.cjs.js +55 -8
- package/server/dist/valbuild-ui-main.esm.js +55 -8
- package/server/dist/valbuild-ui-server.cjs.js +1 -1
- package/server/dist/valbuild-ui-server.esm.js +1 -1
package/dist/valbuild-ui.cjs.js
CHANGED
|
@@ -72885,7 +72885,7 @@ Showing stack trace of: 1. ${fatalErrors[0].message}`;
|
|
|
72885
72885
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
72886
72886
|
"div",
|
|
72887
72887
|
{
|
|
72888
|
-
className: "truncate max-w-[300px]",
|
|
72888
|
+
className: "truncate max-w-[300px] text-left",
|
|
72889
72889
|
dir: "rtl",
|
|
72890
72890
|
title: selectedPath,
|
|
72891
72891
|
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: selectedPath || "/" })
|
|
@@ -73013,7 +73013,15 @@ function AnyVal({
|
|
|
73013
73013
|
] });
|
|
73014
73014
|
}
|
|
73015
73015
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
73016
|
-
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73016
|
+
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73017
|
+
"div",
|
|
73018
|
+
{
|
|
73019
|
+
className: "truncate max-w-[300px] text-left",
|
|
73020
|
+
title: path,
|
|
73021
|
+
dir: "rtl",
|
|
73022
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: path })
|
|
73023
|
+
}
|
|
73024
|
+
),
|
|
73017
73025
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73018
73026
|
ValList,
|
|
73019
73027
|
{
|
|
@@ -73040,7 +73048,15 @@ function AnyVal({
|
|
|
73040
73048
|
] });
|
|
73041
73049
|
}
|
|
73042
73050
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
73043
|
-
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73051
|
+
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73052
|
+
"div",
|
|
73053
|
+
{
|
|
73054
|
+
className: "truncate max-w-[300px] text-left",
|
|
73055
|
+
title: path,
|
|
73056
|
+
dir: "rtl",
|
|
73057
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: path })
|
|
73058
|
+
}
|
|
73059
|
+
),
|
|
73044
73060
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73045
73061
|
ValRecord,
|
|
73046
73062
|
{
|
|
@@ -73071,7 +73087,15 @@ function AnyVal({
|
|
|
73071
73087
|
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
73072
73088
|
}
|
|
73073
73089
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "py-2 gap-y-4", children: [
|
|
73074
|
-
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73090
|
+
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73091
|
+
"div",
|
|
73092
|
+
{
|
|
73093
|
+
className: "truncate max-w-[300px] text-left",
|
|
73094
|
+
title: path,
|
|
73095
|
+
dir: "rtl",
|
|
73096
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: path })
|
|
73097
|
+
}
|
|
73098
|
+
),
|
|
73075
73099
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73076
73100
|
ValFormField,
|
|
73077
73101
|
{
|
|
@@ -73149,7 +73173,15 @@ function ValTaggedUnion({
|
|
|
73149
73173
|
"border-l-2 border-border pl-6": !top
|
|
73150
73174
|
}),
|
|
73151
73175
|
children: [
|
|
73152
|
-
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73176
|
+
field ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
73177
|
+
"div",
|
|
73178
|
+
{
|
|
73179
|
+
className: "truncate max-w-[300px] text-left",
|
|
73180
|
+
title: path,
|
|
73181
|
+
dir: "rtl",
|
|
73182
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: path })
|
|
73183
|
+
}
|
|
73184
|
+
),
|
|
73153
73185
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
73154
73186
|
Select,
|
|
73155
73187
|
{
|
|
@@ -73292,7 +73324,7 @@ function ValList({
|
|
|
73292
73324
|
setSelectedPath
|
|
73293
73325
|
}) {
|
|
73294
73326
|
const navigate = useNavigate();
|
|
73295
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
73327
|
+
return /* @__PURE__ */ jsxRuntime.jsx(FieldContainer, { className: "flex flex-col gap-4 p-2 pb-8", children: source.map((item, index2) => {
|
|
73296
73328
|
const subPath = createValPathOfItem(path, index2);
|
|
73297
73329
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
73298
73330
|
"button",
|
|
@@ -73543,7 +73575,15 @@ function ValOptional({
|
|
|
73543
73575
|
}
|
|
73544
73576
|
}
|
|
73545
73577
|
),
|
|
73546
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73578
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73579
|
+
"div",
|
|
73580
|
+
{
|
|
73581
|
+
className: "truncate max-w-[300px] text-left",
|
|
73582
|
+
title: path,
|
|
73583
|
+
dir: "rtl",
|
|
73584
|
+
children: field ? field : /* @__PURE__ */ jsxRuntime.jsx(Path, { children: path })
|
|
73585
|
+
}
|
|
73586
|
+
)
|
|
73547
73587
|
] }),
|
|
73548
73588
|
enable && /* @__PURE__ */ jsxRuntime.jsx(
|
|
73549
73589
|
ValDefaultOf,
|
|
@@ -73642,7 +73682,14 @@ function PathTree({
|
|
|
73642
73682
|
const selectedModuleId = selectedPath && Internal.splitModuleIdAndModulePath(selectedPath)[0];
|
|
73643
73683
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col w-full py-2 text-xs", children: Object.entries(tree).map(([dir, files]) => {
|
|
73644
73684
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-4 py-2", children: [
|
|
73645
|
-
dir && /* @__PURE__ */ jsxRuntime.jsx(
|
|
73685
|
+
dir && /* @__PURE__ */ jsxRuntime.jsx(
|
|
73686
|
+
"div",
|
|
73687
|
+
{
|
|
73688
|
+
className: "font-bold truncate max-w-[300px] text-left",
|
|
73689
|
+
title: dir,
|
|
73690
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Path, { children: dir })
|
|
73691
|
+
}
|
|
73692
|
+
),
|
|
73646
73693
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
73647
73694
|
"div",
|
|
73648
73695
|
{
|
package/dist/valbuild-ui.esm.js
CHANGED
|
@@ -72867,7 +72867,7 @@ Showing stack trace of: 1. ${fatalErrors[0].message}`;
|
|
|
72867
72867
|
/* @__PURE__ */ jsx(
|
|
72868
72868
|
"div",
|
|
72869
72869
|
{
|
|
72870
|
-
className: "truncate max-w-[300px]",
|
|
72870
|
+
className: "truncate max-w-[300px] text-left",
|
|
72871
72871
|
dir: "rtl",
|
|
72872
72872
|
title: selectedPath,
|
|
72873
72873
|
children: /* @__PURE__ */ jsx(Path, { children: selectedPath || "/" })
|
|
@@ -72995,7 +72995,15 @@ function AnyVal({
|
|
|
72995
72995
|
] });
|
|
72996
72996
|
}
|
|
72997
72997
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
72998
|
-
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
72998
|
+
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
72999
|
+
"div",
|
|
73000
|
+
{
|
|
73001
|
+
className: "truncate max-w-[300px] text-left",
|
|
73002
|
+
title: path,
|
|
73003
|
+
dir: "rtl",
|
|
73004
|
+
children: /* @__PURE__ */ jsx(Path, { children: path })
|
|
73005
|
+
}
|
|
73006
|
+
),
|
|
72999
73007
|
/* @__PURE__ */ jsx(
|
|
73000
73008
|
ValList,
|
|
73001
73009
|
{
|
|
@@ -73022,7 +73030,15 @@ function AnyVal({
|
|
|
73022
73030
|
] });
|
|
73023
73031
|
}
|
|
73024
73032
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
73025
|
-
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73033
|
+
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73034
|
+
"div",
|
|
73035
|
+
{
|
|
73036
|
+
className: "truncate max-w-[300px] text-left",
|
|
73037
|
+
title: path,
|
|
73038
|
+
dir: "rtl",
|
|
73039
|
+
children: /* @__PURE__ */ jsx(Path, { children: path })
|
|
73040
|
+
}
|
|
73041
|
+
),
|
|
73026
73042
|
/* @__PURE__ */ jsx(
|
|
73027
73043
|
ValRecord,
|
|
73028
73044
|
{
|
|
@@ -73053,7 +73069,15 @@ function AnyVal({
|
|
|
73053
73069
|
return /* @__PURE__ */ jsx(Fragment$1, {});
|
|
73054
73070
|
}
|
|
73055
73071
|
return /* @__PURE__ */ jsxs("div", { className: "py-2 gap-y-4", children: [
|
|
73056
|
-
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73072
|
+
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73073
|
+
"div",
|
|
73074
|
+
{
|
|
73075
|
+
className: "truncate max-w-[300px] text-left",
|
|
73076
|
+
title: path,
|
|
73077
|
+
dir: "rtl",
|
|
73078
|
+
children: /* @__PURE__ */ jsx(Path, { children: path })
|
|
73079
|
+
}
|
|
73080
|
+
),
|
|
73057
73081
|
/* @__PURE__ */ jsx(
|
|
73058
73082
|
ValFormField,
|
|
73059
73083
|
{
|
|
@@ -73131,7 +73155,15 @@ function ValTaggedUnion({
|
|
|
73131
73155
|
"border-l-2 border-border pl-6": !top
|
|
73132
73156
|
}),
|
|
73133
73157
|
children: [
|
|
73134
|
-
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73158
|
+
field ? /* @__PURE__ */ jsx("div", { className: "text-left", children: field }) : /* @__PURE__ */ jsx(
|
|
73159
|
+
"div",
|
|
73160
|
+
{
|
|
73161
|
+
className: "truncate max-w-[300px] text-left",
|
|
73162
|
+
title: path,
|
|
73163
|
+
dir: "rtl",
|
|
73164
|
+
children: /* @__PURE__ */ jsx(Path, { children: path })
|
|
73165
|
+
}
|
|
73166
|
+
),
|
|
73135
73167
|
/* @__PURE__ */ jsxs(
|
|
73136
73168
|
Select,
|
|
73137
73169
|
{
|
|
@@ -73274,7 +73306,7 @@ function ValList({
|
|
|
73274
73306
|
setSelectedPath
|
|
73275
73307
|
}) {
|
|
73276
73308
|
const navigate = useNavigate();
|
|
73277
|
-
return /* @__PURE__ */ jsx(
|
|
73309
|
+
return /* @__PURE__ */ jsx(FieldContainer, { className: "flex flex-col gap-4 p-2 pb-8", children: source.map((item, index2) => {
|
|
73278
73310
|
const subPath = createValPathOfItem(path, index2);
|
|
73279
73311
|
return /* @__PURE__ */ jsx(
|
|
73280
73312
|
"button",
|
|
@@ -73525,7 +73557,15 @@ function ValOptional({
|
|
|
73525
73557
|
}
|
|
73526
73558
|
}
|
|
73527
73559
|
),
|
|
73528
|
-
/* @__PURE__ */ jsx(
|
|
73560
|
+
/* @__PURE__ */ jsx(
|
|
73561
|
+
"div",
|
|
73562
|
+
{
|
|
73563
|
+
className: "truncate max-w-[300px] text-left",
|
|
73564
|
+
title: path,
|
|
73565
|
+
dir: "rtl",
|
|
73566
|
+
children: field ? field : /* @__PURE__ */ jsx(Path, { children: path })
|
|
73567
|
+
}
|
|
73568
|
+
)
|
|
73529
73569
|
] }),
|
|
73530
73570
|
enable && /* @__PURE__ */ jsx(
|
|
73531
73571
|
ValDefaultOf,
|
|
@@ -73624,7 +73664,14 @@ function PathTree({
|
|
|
73624
73664
|
const selectedModuleId = selectedPath && Internal.splitModuleIdAndModulePath(selectedPath)[0];
|
|
73625
73665
|
return /* @__PURE__ */ jsx("div", { className: "flex flex-col w-full py-2 text-xs", children: Object.entries(tree).map(([dir, files]) => {
|
|
73626
73666
|
return /* @__PURE__ */ jsxs("div", { className: "px-4 py-2", children: [
|
|
73627
|
-
dir && /* @__PURE__ */ jsx(
|
|
73667
|
+
dir && /* @__PURE__ */ jsx(
|
|
73668
|
+
"div",
|
|
73669
|
+
{
|
|
73670
|
+
className: "font-bold truncate max-w-[300px] text-left",
|
|
73671
|
+
title: dir,
|
|
73672
|
+
children: /* @__PURE__ */ jsx(Path, { children: dir })
|
|
73673
|
+
}
|
|
73674
|
+
),
|
|
73628
73675
|
/* @__PURE__ */ jsx(
|
|
73629
73676
|
"div",
|
|
73630
73677
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valbuild/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"typecheck": "tsc --noEmit",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
35
35
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
36
36
|
"@radix-ui/react-tooltip": "^1.0.7",
|
|
37
|
-
"@valbuild/core": "~0.
|
|
38
|
-
"@valbuild/shared": "~0.
|
|
37
|
+
"@valbuild/core": "~0.47.0",
|
|
38
|
+
"@valbuild/shared": "~0.47.0",
|
|
39
39
|
"class-variance-authority": "^0.7.0",
|
|
40
40
|
"classnames": "^2.3.2",
|
|
41
41
|
"clsx": "^2.0.0",
|