@akanjs/cli 3.1.0-rc.7 → 3.1.0-rc.8
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/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3635a63bc83f65e4da1346c9e7ab1f80ae3486df535a61e9b25622ea7c155c2f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akanjs/cli",
|
|
3
|
-
"version": "3.1.0-rc.
|
|
3
|
+
"version": "3.1.0-rc.8",
|
|
4
4
|
"sourceType": "module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@earendil-works/pi-tui": "0.86.1",
|
|
40
40
|
"@inquirer/prompts": "^8.4.3",
|
|
41
41
|
"@tailwindcss/node": "^4.3.0",
|
|
42
|
-
"akanjs": "3.1.0-rc.
|
|
42
|
+
"akanjs": "3.1.0-rc.8",
|
|
43
43
|
"chalk": "^5.6.2",
|
|
44
44
|
"commander": "^14.0.3",
|
|
45
45
|
"dayjs": "^1.11.20",
|
|
@@ -20,7 +20,7 @@ interface StartProps {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export const Start = ({ taskId }: StartProps) => (
|
|
23
|
-
<button className={jellyButtonRecipe({ variant: "primary", size: "xs" })} onClick={() => st.do.startTask(taskId)}>
|
|
23
|
+
<button type="button" className={jellyButtonRecipe({ variant: "primary", size: "xs" })} onClick={() => st.do.startTask(taskId)}>
|
|
24
24
|
{usePage().l("task.taskStart")}
|
|
25
25
|
</button>
|
|
26
26
|
);
|
|
@@ -30,7 +30,7 @@ interface CompleteProps {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export const Complete = ({ taskId }: CompleteProps) => (
|
|
33
|
-
<button className={jellyButtonRecipe({ variant: "success", size: "xs" })} onClick={() => st.do.completeTask(taskId)}>
|
|
33
|
+
<button type="button" className={jellyButtonRecipe({ variant: "success", size: "xs" })} onClick={() => st.do.completeTask(taskId)}>
|
|
34
34
|
{usePage().l("task.taskComplete")}
|
|
35
35
|
</button>
|
|
36
36
|
);
|
|
@@ -41,7 +41,7 @@ interface RemoveProps {
|
|
|
41
41
|
|
|
42
42
|
export const Remove = ({ taskId }: RemoveProps) => (
|
|
43
43
|
<Model.Remove modelId={taskId} slice={fetch.slice.task}>
|
|
44
|
-
<button className={jellyButtonRecipe({ variant: "ghost", size: "xs" }, "text-destructive")}>
|
|
44
|
+
<button type="button" className={jellyButtonRecipe({ variant: "ghost", size: "xs" }, "text-destructive")}>
|
|
45
45
|
{usePage().l("task.taskRemove")}
|
|
46
46
|
</button>
|
|
47
47
|
</Model.Remove>
|
|
@@ -63,16 +63,16 @@ export const Toolbox = ({ taskId, status }: ToolboxProps) => {
|
|
|
63
63
|
<>
|
|
64
64
|
{status === "todo" && (
|
|
65
65
|
<li>
|
|
66
|
-
<button onClick={() => st.do.startTask(taskId)}>{l("task.taskStart")}</button>
|
|
66
|
+
<button type="button" onClick={() => st.do.startTask(taskId)}>{l("task.taskStart")}</button>
|
|
67
67
|
</li>
|
|
68
68
|
)}
|
|
69
69
|
{status === "inProgress" && (
|
|
70
70
|
<li>
|
|
71
|
-
<button onClick={() => st.do.completeTask(taskId)}>{l("task.taskComplete")}</button>
|
|
71
|
+
<button type="button" onClick={() => st.do.completeTask(taskId)}>{l("task.taskComplete")}</button>
|
|
72
72
|
</li>
|
|
73
73
|
)}
|
|
74
74
|
<li>
|
|
75
|
-
<button className="text-destructive" onClick={() => st.do.removeTask(taskId)}>
|
|
75
|
+
<button type="button" className="text-destructive" onClick={() => st.do.removeTask(taskId)}>
|
|
76
76
|
{l("task.taskRemove")}
|
|
77
77
|
</button>
|
|
78
78
|
</li>
|
|
@@ -93,7 +93,7 @@ export const Toolbox = ({ taskId, status }: ToolboxProps) => {
|
|
|
93
93
|
// New Task Button: Model.NewWrapper — triggers new Task creation form
|
|
94
94
|
// export const NewTask = () => (
|
|
95
95
|
// <Model.NewWrapper partial={{}}>
|
|
96
|
-
// <button className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>+ New Task</button>
|
|
96
|
+
// <button type="button" className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>+ New Task</button>
|
|
97
97
|
// </Model.NewWrapper>
|
|
98
98
|
// );
|
|
99
99
|
`,
|
|
@@ -31,7 +31,7 @@ export const Card = ({ className, init }: CardProps) => {
|
|
|
31
31
|
<div className="flex flex-col items-center gap-4 py-16 text-center">
|
|
32
32
|
<div className="text-foreground/40 text-lg">{l("task.taskNoTasks")}</div>
|
|
33
33
|
<Link href="/task/new">
|
|
34
|
-
<button className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>
|
|
34
|
+
<button type="button" className={jellyButtonRecipe({ variant: "primary", size: "sm" })}>
|
|
35
35
|
{l("task.taskCreateFirst")}
|
|
36
36
|
</button>
|
|
37
37
|
</Link>
|
|
@@ -30,7 +30,7 @@ export const QuantityControl = ({
|
|
|
30
30
|
}: QuantityControlProps) => {
|
|
31
31
|
return (
|
|
32
32
|
<div className={cn("inline-flex items-center gap-1", className)}>
|
|
33
|
-
<button
|
|
33
|
+
<button type="button"
|
|
34
34
|
className={jellyButtonRecipe({ variant: "default", size: "icon" }, "size-7")}
|
|
35
35
|
disabled={value <= min}
|
|
36
36
|
onClick={() => onChange(Math.max(min, value - 1))}
|
|
@@ -38,7 +38,7 @@ export const QuantityControl = ({
|
|
|
38
38
|
−
|
|
39
39
|
</button>
|
|
40
40
|
<span className="w-8 text-center font-medium tabular-nums">{value}</span>
|
|
41
|
-
<button
|
|
41
|
+
<button type="button"
|
|
42
42
|
className={jellyButtonRecipe({ variant: "default", size: "icon" }, "size-7")}
|
|
43
43
|
disabled={value >= max}
|
|
44
44
|
onClick={() => onChange(Math.min(max, value + 1))}
|
|
@@ -24,7 +24,7 @@ export default page()
|
|
|
24
24
|
<div className="flex animate-fadeIn items-center gap-4 px-4 pt-4">
|
|
25
25
|
<div className="font-bold text-lg md:text-4xl">{l("${dict.model}.modelName")}</div>
|
|
26
26
|
<Model.New
|
|
27
|
-
trigger={<button className={buttonRecipe({ size: "sm", variant: "ghost" })}>{l("base.new")}</button>}
|
|
27
|
+
trigger={<button type="button" className={buttonRecipe({ size: "sm", variant: "ghost" })}>{l("base.new")}</button>}
|
|
28
28
|
slice={fetch.slice.${dict.model}InPublic}
|
|
29
29
|
renderTitle="id"
|
|
30
30
|
>
|