@pyck/react 0.0.8 → 0.0.11
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/components/avatar/index.js +1 -1
- package/dist/components/data-list/index.js +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/display-date-value/index.js +2 -2
- package/dist/components/display-value/index.js +1 -1
- package/dist/components/json-form-builder/index.js +4 -4
- package/dist/components/spotlight/index.js +1 -1
- package/dist/{display-date-value-Ca7v5jK7.js → display-date-value-lcpAPYWp.js} +1 -1
- package/dist/{display-value-DDIH9kvx.js → display-value-CxMa2Txf.js} +1 -1
- package/package.json +5 -4
|
@@ -111,7 +111,7 @@ const Avatar = forwardRef(function Avatar(props, ref) {
|
|
|
111
111
|
$[10] = t0;
|
|
112
112
|
$[11] = t1;
|
|
113
113
|
} else t1 = $[11];
|
|
114
|
-
const t2 = src
|
|
114
|
+
const t2 = src || void 0;
|
|
115
115
|
let t3;
|
|
116
116
|
if ($[12] !== loading || $[13] !== name || $[14] !== srcSet || $[15] !== t2) {
|
|
117
117
|
t3 = /* @__PURE__ */ jsx(Image, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../../chunk-BYypO7fO.js";
|
|
2
|
-
import { t as DisplayValue } from "../../display-value-
|
|
3
|
-
import { t as DisplayDateValue } from "../../display-date-value-
|
|
2
|
+
import { t as DisplayValue } from "../../display-value-CxMa2Txf.js";
|
|
3
|
+
import { t as DisplayDateValue } from "../../display-date-value-lcpAPYWp.js";
|
|
4
4
|
import "../display-date-value/index.js";
|
|
5
5
|
import "../display-value/index.js";
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
@@ -7,8 +7,8 @@ import { dialog } from "@pyck/styled-system/recipes";
|
|
|
7
7
|
import { CheckCircleIcon, FilePenLineIcon, Trash2Icon } from "lucide-react";
|
|
8
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useForm } from "react-hook-form";
|
|
10
|
-
import { Show } from "@pyck/react/show";
|
|
11
10
|
import { omit } from "@pyck/react/utils";
|
|
11
|
+
import { Show } from "@pyck/react/show";
|
|
12
12
|
import { Portal } from "@ark-ui/react/portal";
|
|
13
13
|
import { Button, CloseButton } from "@pyck/react/button";
|
|
14
14
|
import { FeaturedIcon } from "@pyck/react/icon";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../display-value-
|
|
2
|
-
import { t as DisplayDateValue } from "../../display-date-value-
|
|
1
|
+
import "../../display-value-CxMa2Txf.js";
|
|
2
|
+
import { t as DisplayDateValue } from "../../display-date-value-lcpAPYWp.js";
|
|
3
3
|
|
|
4
4
|
export { DisplayDateValue };
|
|
@@ -12,10 +12,10 @@ import { Portal } from "@ark-ui/react/portal";
|
|
|
12
12
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
13
13
|
import { Form } from "@pyck/react/form";
|
|
14
14
|
import { Fieldset } from "@pyck/react/fieldset";
|
|
15
|
-
import { useListCollection } from "@ark-ui/react";
|
|
16
15
|
import { InputField } from "@pyck/react/input";
|
|
17
16
|
import { NumberInputField } from "@pyck/react/number-input";
|
|
18
|
-
import { Combobox, useFilter, useListCollection
|
|
17
|
+
import { Combobox, useFilter, useListCollection } from "@pyck/react/combobox";
|
|
18
|
+
import { useListCollection as useListCollection$1 } from "@ark-ui/react";
|
|
19
19
|
import { SelectField } from "@pyck/react/select";
|
|
20
20
|
import { TagsInput } from "@pyck/react/tags-input";
|
|
21
21
|
|
|
@@ -39,7 +39,7 @@ const ComboboxFromItems = (t0) => {
|
|
|
39
39
|
$[2] = items;
|
|
40
40
|
$[3] = t2;
|
|
41
41
|
} else t2 = $[3];
|
|
42
|
-
const { collection, filter } = useListCollection
|
|
42
|
+
const { collection, filter } = useListCollection(t2);
|
|
43
43
|
const { control } = useFormContext();
|
|
44
44
|
let t3;
|
|
45
45
|
if ($[4] !== collection || $[5] !== filter || $[6] !== helperText || $[7] !== label || $[8] !== required) {
|
|
@@ -106,7 +106,7 @@ const SelectFieldFromItems = (t0) => {
|
|
|
106
106
|
$[0] = items;
|
|
107
107
|
$[1] = t1;
|
|
108
108
|
} else t1 = $[1];
|
|
109
|
-
const { collection } = useListCollection(t1);
|
|
109
|
+
const { collection } = useListCollection$1(t1);
|
|
110
110
|
if (items.length === 0) return null;
|
|
111
111
|
const t2 = placeholder ?? `Select ${label}`;
|
|
112
112
|
let t3;
|
|
@@ -4,8 +4,8 @@ import { useEffect, useMemo, useState } from "react";
|
|
|
4
4
|
import { Box, Center, Grid, HStack } from "@pyck/styled-system/jsx";
|
|
5
5
|
import { ArrowDownIcon, ArrowUpIcon, ChevronRightIcon, CommandIcon, CornerDownLeftIcon, SearchIcon, UserIcon } from "lucide-react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
-
import { Show } from "@pyck/react/show";
|
|
8
7
|
import { useDebounce, useHotkey } from "@pyck/react/utils";
|
|
8
|
+
import { Show } from "@pyck/react/show";
|
|
9
9
|
import { Span } from "@pyck/react/span";
|
|
10
10
|
import { Button } from "@pyck/react/button";
|
|
11
11
|
import { Icon } from "@pyck/react/icon";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DisplayValue } from "./display-value-
|
|
1
|
+
import { t as DisplayValue } from "./display-value-CxMa2Txf.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { formatDate, formatDateTime, getDateFormats, isString } from "@pyck/react/utils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c } from "react/compiler-runtime";
|
|
2
2
|
import { HStack, VisuallyHidden } from "@pyck/styled-system/jsx";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { Show } from "@pyck/react/show";
|
|
5
4
|
import { isString } from "@pyck/react/utils";
|
|
5
|
+
import { Show } from "@pyck/react/show";
|
|
6
6
|
import { Clipboard } from "@pyck/react/clipboard";
|
|
7
7
|
import { Span } from "@pyck/react/span";
|
|
8
8
|
import { Wrap } from "@pyck/react/wrap";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pyck/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://pyck.ai",
|
|
7
7
|
"repository": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"test:ci": "vitest run",
|
|
23
23
|
"typecheck": "tsc",
|
|
24
24
|
"prepack": "bunx clean-package",
|
|
25
|
-
"postpack": "bunx clean-package restore"
|
|
25
|
+
"postpack": "bunx clean-package restore",
|
|
26
|
+
"publish": "bun publish --access public"
|
|
26
27
|
},
|
|
27
28
|
"exports": {
|
|
28
29
|
"./types": {
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@babel/plugin-transform-react-jsx": "7.28.6",
|
|
56
57
|
"@hookform/resolvers": "5.2.2",
|
|
57
|
-
"@pyck/styled-system": "0.0.
|
|
58
|
+
"@pyck/styled-system": "0.0.11",
|
|
58
59
|
"@rollup/plugin-babel": "6.1.0",
|
|
59
60
|
"@storybook/react": "10.2.10",
|
|
60
61
|
"@testing-library/dom": "10.4.1",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"zod": "4.3.6"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
|
-
"@pyck/styled-system": ">=0.0.
|
|
82
|
+
"@pyck/styled-system": ">=0.0.11",
|
|
82
83
|
"react": ">=18.0.0",
|
|
83
84
|
"react-dom": ">=18.0.0",
|
|
84
85
|
"react-hook-form": ">=7.0.0",
|