@adea-ai/ui 0.100.0 → 0.101.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/components/composites/about-dialog/about-dialog.d.ts.map +1 -1
- package/dist/components/composites/about-dialog/about-dialog.js +2 -1
- package/dist/components/composites/about-dialog/about-dialog.js.map +1 -1
- package/dist/components/composites/account-menu/account-menu.d.ts +7 -0
- package/dist/components/composites/account-menu/account-menu.d.ts.map +1 -1
- package/dist/components/composites/account-menu/account-menu.js +116 -89
- package/dist/components/composites/account-menu/account-menu.js.map +1 -1
- package/dist/components/composites/help-center/help-center.d.ts.map +1 -1
- package/dist/components/composites/help-center/help-center.js +26 -21
- package/dist/components/composites/help-center/help-center.js.map +1 -1
- package/dist/components/composites/settings/settings.d.ts.map +1 -1
- package/dist/components/composites/settings/settings.js +43 -36
- package/dist/components/composites/settings/settings.js.map +1 -1
- package/dist/components/composites/stat/stat.d.ts.map +1 -1
- package/dist/components/composites/stat/stat.js +46 -35
- package/dist/components/composites/stat/stat.js.map +1 -1
- package/dist/components/composites/update-dialog/update-dialog.d.ts.map +1 -1
- package/dist/components/composites/update-dialog/update-dialog.js +73 -58
- package/dist/components/composites/update-dialog/update-dialog.js.map +1 -1
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +19 -13
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/theme/appearance-panel.d.ts.map +1 -1
- package/dist/components/theme/appearance-panel.js +37 -18
- package/dist/components/theme/appearance-panel.js.map +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/alert-dialog/alert-dialog.js +5 -1
- package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/ui/card/card.d.ts.map +1 -1
- package/dist/components/ui/card/card.js +5 -1
- package/dist/components/ui/card/card.js.map +1 -1
- package/dist/components/ui/chart/chart-options.d.ts +3 -2
- package/dist/components/ui/chart/chart-options.d.ts.map +1 -1
- package/dist/components/ui/chart/chart-options.js +30 -9
- package/dist/components/ui/chart/chart-options.js.map +1 -1
- package/dist/components/ui/chart/chart.d.ts +4 -9
- package/dist/components/ui/chart/chart.d.ts.map +1 -1
- package/dist/components/ui/chart/chart.js +65 -10
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/components/ui/dialog/dialog.js +5 -1
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/drawer/drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer/drawer.js +5 -1
- package/dist/components/ui/drawer/drawer.js.map +1 -1
- package/dist/components/ui/field/field.d.ts.map +1 -1
- package/dist/components/ui/field/field.js +2 -1
- package/dist/components/ui/field/field.js.map +1 -1
- package/dist/components/ui/item/item.d.ts +1 -1
- package/dist/components/ui/sheet/sheet.d.ts.map +1 -1
- package/dist/components/ui/sheet/sheet.js +5 -1
- package/dist/components/ui/sheet/sheet.js.map +1 -1
- package/dist/components/ui/typography/index.d.ts +3 -0
- package/dist/components/ui/typography/index.d.ts.map +1 -0
- package/dist/components/ui/typography/index.js +2 -0
- package/dist/components/ui/typography/typography.d.ts +84 -0
- package/dist/components/ui/typography/typography.d.ts.map +1 -0
- package/dist/components/ui/typography/typography.js +179 -0
- package/dist/components/ui/typography/typography.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/r/account-menu.json +1 -0
- package/dist/r/alert-dialog.json +1 -0
- package/dist/r/card.json +1 -0
- package/dist/r/dialog.json +1 -0
- package/dist/r/drawer.json +1 -0
- package/dist/r/field.json +1 -0
- package/dist/r/help-center.json +1 -0
- package/dist/r/page.json +1 -0
- package/dist/r/registry.json +37 -0
- package/dist/r/settings.json +1 -0
- package/dist/r/sheet.json +1 -0
- package/dist/r/src/components/composites/about-dialog/about-dialog.tsx +3 -2
- package/dist/r/src/components/composites/account-menu/account-menu.tsx +105 -66
- package/dist/r/src/components/composites/help-center/help-center.tsx +2 -1
- package/dist/r/src/components/composites/settings/settings.tsx +4 -1
- package/dist/r/src/components/composites/stat/stat.tsx +7 -2
- package/dist/r/src/components/composites/update-dialog/update-dialog.tsx +36 -24
- package/dist/r/src/components/layout/page/page.tsx +3 -2
- package/dist/r/src/components/theme/appearance-panel.tsx +13 -4
- package/dist/r/src/components/ui/alert-dialog/alert-dialog.tsx +2 -1
- package/dist/r/src/components/ui/card/card.tsx +2 -1
- package/dist/r/src/components/ui/chart/chart-options.ts +35 -7
- package/dist/r/src/components/ui/chart/chart.tsx +65 -12
- package/dist/r/src/components/ui/dialog/dialog.tsx +2 -1
- package/dist/r/src/components/ui/drawer/drawer.tsx +2 -1
- package/dist/r/src/components/ui/field/field.tsx +2 -3
- package/dist/r/src/components/ui/sheet/sheet.tsx +5 -1
- package/dist/r/src/components/ui/typography/index.ts +9 -0
- package/dist/r/src/components/ui/typography/typography.tsx +205 -0
- package/dist/r/stat.json +1 -0
- package/dist/r/theming.json +1 -0
- package/dist/r/typography.json +24 -0
- package/dist/r/update-dialog.json +1 -0
- package/package.json +1 -1
- package/registry.json +37 -0
- package/src/components/composites/about-dialog/about-dialog.tsx +3 -2
- package/src/components/composites/account-menu/account-menu.tsx +105 -66
- package/src/components/composites/help-center/help-center.tsx +2 -1
- package/src/components/composites/settings/settings.tsx +4 -1
- package/src/components/composites/stat/stat.tsx +7 -2
- package/src/components/composites/update-dialog/update-dialog.tsx +36 -24
- package/src/components/layout/page/page.tsx +3 -2
- package/src/components/theme/appearance-panel.tsx +13 -4
- package/src/components/ui/alert-dialog/alert-dialog.tsx +2 -1
- package/src/components/ui/card/card.tsx +2 -1
- package/src/components/ui/chart/chart-options.ts +35 -7
- package/src/components/ui/chart/chart.tsx +65 -12
- package/src/components/ui/dialog/dialog.tsx +2 -1
- package/src/components/ui/drawer/drawer.tsx +2 -1
- package/src/components/ui/field/field.tsx +2 -3
- package/src/components/ui/sheet/sheet.tsx +5 -1
- package/src/components/ui/typography/index.ts +9 -0
- package/src/components/ui/typography/typography.tsx +205 -0
- package/src/index.ts +1 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
+
import { Heading } from "../../ui/typography/typography.js";
|
|
2
3
|
import { FormFieldContext, createFormFieldContext } from "../../../lib/form-field.js";
|
|
3
4
|
import { className, createComponent, effect, insert, mergeProps, setAttribute, spread, template } from "solid-js/web";
|
|
4
5
|
import { Show, createUniqueId, splitProps } from "solid-js";
|
|
5
6
|
//#region src/components/composites/settings/settings.tsx
|
|
6
7
|
var _tmpl$ = /*#__PURE__*/ template(`<p class="max-w-prose text-sm text-muted-foreground text-pretty">`);
|
|
7
8
|
var _tmpl$2 = /*#__PURE__*/ template(`<div class="flex shrink-0 items-center gap-2">`);
|
|
8
|
-
var _tmpl$3 = /*#__PURE__*/ template(`<section data-slot=settings-section><div class="flex items-start justify-between gap-4"><div class="flex min-w-0 flex-col gap-0.5"
|
|
9
|
+
var _tmpl$3 = /*#__PURE__*/ template(`<section data-slot=settings-section><div class="flex items-start justify-between gap-4"><div class="flex min-w-0 flex-col gap-0.5"></div></div><div data-slot=settings-section-body>`);
|
|
9
10
|
var _tmpl$4 = /*#__PURE__*/ template(`<div data-slot=settings-row><div class="flex min-w-0 flex-col gap-0.5"><div data-slot=settings-row-label class="text-sm font-medium"></div></div><div data-slot=settings-row-control>`);
|
|
10
11
|
var _tmpl$5 = /*#__PURE__*/ template(`<div data-slot=settings-field><div class="flex flex-col gap-0.5"><label class="text-sm font-medium"></label></div><div>`);
|
|
11
12
|
var _tmpl$6 = /*#__PURE__*/ template(`<div data-slot=settings-page>`);
|
|
@@ -32,19 +33,25 @@ function SettingsSection(props) {
|
|
|
32
33
|
"children"
|
|
33
34
|
]);
|
|
34
35
|
return (() => {
|
|
35
|
-
var _el$ = _tmpl$3(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$
|
|
36
|
+
var _el$ = _tmpl$3(), _el$2 = _el$.firstChild, _el$3 = _el$2.firstChild, _el$6 = _el$2.nextSibling;
|
|
36
37
|
spread(_el$, mergeProps({ get ["class"]() {
|
|
37
38
|
return cn("flex flex-col gap-4 px-5 py-5", local.class);
|
|
38
39
|
} }, rest), false, true);
|
|
39
|
-
insert(_el$
|
|
40
|
+
insert(_el$3, createComponent(Heading, {
|
|
41
|
+
as: "h2",
|
|
42
|
+
size: "card",
|
|
43
|
+
get children() {
|
|
44
|
+
return local.title;
|
|
45
|
+
}
|
|
46
|
+
}), null);
|
|
40
47
|
insert(_el$3, createComponent(Show, {
|
|
41
48
|
get when() {
|
|
42
49
|
return local.description;
|
|
43
50
|
},
|
|
44
51
|
get children() {
|
|
45
|
-
var _el$
|
|
46
|
-
insert(_el$
|
|
47
|
-
return _el$
|
|
52
|
+
var _el$4 = _tmpl$();
|
|
53
|
+
insert(_el$4, () => local.description);
|
|
54
|
+
return _el$4;
|
|
48
55
|
}
|
|
49
56
|
}), null);
|
|
50
57
|
insert(_el$2, createComponent(Show, {
|
|
@@ -52,13 +59,13 @@ function SettingsSection(props) {
|
|
|
52
59
|
return local.action;
|
|
53
60
|
},
|
|
54
61
|
get children() {
|
|
55
|
-
var _el$
|
|
56
|
-
insert(_el$
|
|
57
|
-
return _el$
|
|
62
|
+
var _el$5 = _tmpl$2();
|
|
63
|
+
insert(_el$5, () => local.action);
|
|
64
|
+
return _el$5;
|
|
58
65
|
}
|
|
59
66
|
}), null);
|
|
60
|
-
insert(_el$
|
|
61
|
-
effect(() => className(_el$
|
|
67
|
+
insert(_el$6, () => local.children);
|
|
68
|
+
effect(() => className(_el$6, cn(local.bodyLayout === "content" ? "flex flex-col gap-4" : "divide-y divide-border rounded-xl border border-border")));
|
|
62
69
|
return _el$;
|
|
63
70
|
})();
|
|
64
71
|
}
|
|
@@ -93,26 +100,26 @@ function SettingsRow(props) {
|
|
|
93
100
|
return createComponent(FormFieldContext.Provider, {
|
|
94
101
|
value: field,
|
|
95
102
|
get children() {
|
|
96
|
-
var _el$
|
|
97
|
-
spread(_el$
|
|
103
|
+
var _el$7 = _tmpl$4(), _el$8 = _el$7.firstChild, _el$9 = _el$8.firstChild, _el$1 = _el$8.nextSibling;
|
|
104
|
+
spread(_el$7, mergeProps({ get ["class"]() {
|
|
98
105
|
return cn("flex gap-4 p-4", local.orientation === "vertical" ? "flex-col" : "flex-col sm:flex-row sm:items-center sm:justify-between", local.class);
|
|
99
106
|
} }, rest), false, true);
|
|
100
|
-
setAttribute(_el$
|
|
101
|
-
insert(_el$
|
|
102
|
-
insert(_el$
|
|
107
|
+
setAttribute(_el$9, "id", labelId);
|
|
108
|
+
insert(_el$9, () => local.label);
|
|
109
|
+
insert(_el$8, createComponent(Show, {
|
|
103
110
|
get when() {
|
|
104
111
|
return local.description;
|
|
105
112
|
},
|
|
106
113
|
get children() {
|
|
107
|
-
var _el$
|
|
108
|
-
setAttribute(_el$
|
|
109
|
-
insert(_el$
|
|
110
|
-
return _el$
|
|
114
|
+
var _el$0 = _tmpl$();
|
|
115
|
+
setAttribute(_el$0, "id", descriptionId);
|
|
116
|
+
insert(_el$0, () => local.description);
|
|
117
|
+
return _el$0;
|
|
111
118
|
}
|
|
112
119
|
}), null);
|
|
113
|
-
insert(_el$
|
|
114
|
-
effect(() => className(_el$
|
|
115
|
-
return _el$
|
|
120
|
+
insert(_el$1, () => local.children);
|
|
121
|
+
effect(() => className(_el$1, cn("shrink-0", local.orientation === "vertical" && "w-full")));
|
|
122
|
+
return _el$7;
|
|
116
123
|
}
|
|
117
124
|
});
|
|
118
125
|
}
|
|
@@ -126,35 +133,35 @@ function SettingsField(props) {
|
|
|
126
133
|
"children"
|
|
127
134
|
]);
|
|
128
135
|
return (() => {
|
|
129
|
-
var _el$
|
|
130
|
-
spread(_el$
|
|
136
|
+
var _el$10 = _tmpl$5(), _el$11 = _el$10.firstChild, _el$12 = _el$11.firstChild, _el$14 = _el$11.nextSibling;
|
|
137
|
+
spread(_el$10, mergeProps({ get ["class"]() {
|
|
131
138
|
return cn("flex flex-col gap-2 p-4", local.class);
|
|
132
139
|
} }, rest), false, true);
|
|
133
|
-
insert(_el$
|
|
134
|
-
insert(_el$
|
|
140
|
+
insert(_el$12, () => local.label);
|
|
141
|
+
insert(_el$11, createComponent(Show, {
|
|
135
142
|
get when() {
|
|
136
143
|
return local.description;
|
|
137
144
|
},
|
|
138
145
|
get children() {
|
|
139
|
-
var _el$
|
|
140
|
-
insert(_el$
|
|
141
|
-
return _el$
|
|
146
|
+
var _el$13 = _tmpl$();
|
|
147
|
+
insert(_el$13, () => local.description);
|
|
148
|
+
return _el$13;
|
|
142
149
|
}
|
|
143
150
|
}), null);
|
|
144
|
-
insert(_el$
|
|
145
|
-
effect(() => setAttribute(_el$
|
|
146
|
-
return _el$
|
|
151
|
+
insert(_el$14, () => local.children);
|
|
152
|
+
effect(() => setAttribute(_el$12, "for", local.htmlFor));
|
|
153
|
+
return _el$10;
|
|
147
154
|
})();
|
|
148
155
|
}
|
|
149
156
|
/** A settings page's scrolling body, with the header sticky at the top. */
|
|
150
157
|
function SettingsPage(props) {
|
|
151
158
|
const [local, rest] = splitProps(props, ["class"]);
|
|
152
159
|
return (() => {
|
|
153
|
-
var _el$
|
|
154
|
-
spread(_el$
|
|
160
|
+
var _el$15 = _tmpl$6();
|
|
161
|
+
spread(_el$15, mergeProps({ get ["class"]() {
|
|
155
162
|
return cn("flex min-h-0 flex-1 flex-col overflow-y-auto", local.class);
|
|
156
163
|
} }, rest), false, false);
|
|
157
|
-
return _el$
|
|
164
|
+
return _el$15;
|
|
158
165
|
})();
|
|
159
166
|
}
|
|
160
167
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","names":["ComponentProps","JSX","createUniqueId","Show","splitProps","createFormFieldContext","FormFieldContext","cn","SettingsSection","props","title","description","action","Element","bodyLayout","local","rest","_el$","_tmpl$3","_el$2","firstChild","_el$3","_el$
|
|
1
|
+
{"version":3,"file":"settings.js","names":["ComponentProps","JSX","createUniqueId","Show","splitProps","createFormFieldContext","FormFieldContext","cn","Heading","SettingsSection","props","title","description","action","Element","bodyLayout","local","rest","_el$","_tmpl$3","_el$2","firstChild","_el$3","_el$6","nextSibling","_$spread","_$mergeProps","class","_$insert","_$createComponent","as","size","children","when","_el$4","_tmpl$","_el$5","_tmpl$2","_$effect","_$className","SettingsRow","label","orientation","bare","rowId","labelId","descriptionId","field","defaultControlId","hint","error","undefined","group","Provider","value","_el$7","_tmpl$4","_el$8","_el$9","_el$1","_$setAttribute","_el$0","SettingsField","htmlFor","_el$10","_tmpl$5","_el$11","_el$12","_el$14","_el$13","SettingsPage","_el$15","_tmpl$6","_$mergeProps","_$createComponent","_$className","_$setAttribute"],"sources":["../../../../src/components/composites/settings/settings.tsx"],"sourcesContent":["import type { ComponentProps, JSX } from 'solid-js'\nimport { createUniqueId, Show, splitProps } from 'solid-js'\nimport { createFormFieldContext, FormFieldContext } from '#lib/form-field'\nimport { cn } from '#lib/utils'\nimport { Heading } from '../../ui/typography'\n\n/**\n * SettingsSection and SettingsRow.\n *\n * A settings page is the most repetitive surface in any application, and the\n * one where drift is most visible: label sizes, control widths and description\n * placement all wander unless something fixes them.\n *\n * The row is a two-column layout at a fixed label width, so controls line up\n * down the page regardless of how long the labels are. `SettingsRow` also\n * exposes its label and description through the shared form-field context to\n * the first control inside it. `SettingsField` is the visual stacked layout;\n * use `FormField` when the control needs label, help, or validation wiring.\n */\nexport function SettingsSection(\n props: ComponentProps<'section'> & {\n title: string\n description?: string\n /** A control for the section as a whole, e.g. a master toggle. */\n action?: JSX.Element\n /** Use a spaced content stack for fields, alerts, and cards instead of divided rows. */\n bodyLayout?: 'rows' | 'content'\n }\n) {\n const [local, rest] = splitProps(props, [\n 'class',\n 'title',\n 'description',\n 'action',\n 'bodyLayout',\n 'children',\n ])\n\n return (\n <section\n data-slot=\"settings-section\"\n class={cn('flex flex-col gap-4 px-5 py-5', local.class)}\n {...rest}\n >\n <div class=\"flex items-start justify-between gap-4\">\n <div class=\"flex min-w-0 flex-col gap-0.5\">\n <Heading as=\"h2\" size=\"card\">\n {local.title}\n </Heading>\n <Show when={local.description}>\n <p class=\"max-w-prose text-sm text-muted-foreground text-pretty\">{local.description}</p>\n </Show>\n </div>\n <Show when={local.action}>\n <div class=\"flex shrink-0 items-center gap-2\">{local.action}</div>\n </Show>\n </div>\n <div\n data-slot=\"settings-section-body\"\n class={cn(\n local.bodyLayout === 'content'\n ? 'flex flex-col gap-4'\n : 'divide-y divide-border rounded-xl border border-border'\n )}\n >\n {local.children}\n </div>\n </section>\n )\n}\n\n/**\n * One setting: a label and description on the leading side, a control on the\n * trailing side.\n *\n * The label and description are linked to a shared control through field\n * context. An explicit `aria-label` or `aria-labelledby` on the control keeps\n * precedence; otherwise the visible row label names it.\n */\nexport function SettingsRow(\n props: ComponentProps<'div'> & {\n label: string\n description?: string\n /** Render a vertical stack when the control needs the full width. */\n orientation?: 'horizontal' | 'vertical'\n /** Hide the divider this row would otherwise contribute. */\n bare?: boolean\n }\n) {\n const [local, rest] = splitProps(props, [\n 'class',\n 'label',\n 'description',\n 'orientation',\n 'bare',\n 'children',\n ])\n const rowId = createUniqueId()\n const labelId = `${rowId}-label`\n const descriptionId = `${rowId}-description`\n const field = createFormFieldContext({\n defaultControlId: rowId,\n labelId,\n descriptionId,\n hint: () => local.description,\n error: () => undefined,\n group: () => false,\n })\n\n return (\n <FormFieldContext.Provider value={field}>\n <div\n data-slot=\"settings-row\"\n class={cn(\n 'flex gap-4 p-4',\n local.orientation === 'vertical'\n ? 'flex-col'\n : 'flex-col sm:flex-row sm:items-center sm:justify-between',\n local.class\n )}\n {...rest}\n >\n <div class=\"flex min-w-0 flex-col gap-0.5\">\n <div id={labelId} data-slot=\"settings-row-label\" class=\"text-sm font-medium\">\n {local.label}\n </div>\n <Show when={local.description}>\n <p id={descriptionId} class=\"max-w-prose text-sm text-muted-foreground text-pretty\">\n {local.description}\n </p>\n </Show>\n </div>\n <div\n data-slot=\"settings-row-control\"\n class={cn('shrink-0', local.orientation === 'vertical' && 'w-full')}\n >\n {local.children}\n </div>\n </div>\n </FormFieldContext.Provider>\n )\n}\n\n/** A stacked label-and-control pair, for a control too wide for a row. */\nexport function SettingsField(\n props: ComponentProps<'div'> & { label: string; description?: string; htmlFor?: string }\n) {\n const [local, rest] = splitProps(props, ['class', 'label', 'description', 'htmlFor', 'children'])\n\n return (\n <div data-slot=\"settings-field\" class={cn('flex flex-col gap-2 p-4', local.class)} {...rest}>\n <div class=\"flex flex-col gap-0.5\">\n <label for={local.htmlFor} class=\"text-sm font-medium\">\n {local.label}\n </label>\n <Show when={local.description}>\n <p class=\"max-w-prose text-sm text-muted-foreground text-pretty\">{local.description}</p>\n </Show>\n </div>\n <div>{local.children}</div>\n </div>\n )\n}\n\n/** A settings page's scrolling body, with the header sticky at the top. */\nexport function SettingsPage(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"settings-page\"\n class={cn('flex min-h-0 flex-1 flex-col overflow-y-auto', local.class)}\n {...rest}\n />\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,SAAgBS,gBACdC,OAQA;CACA,MAAM,CAACM,OAAOC,QAAQb,WAAWM,OAAO;EACtC;EACA;EACA;EACA;EACA;EACA;CAAU,CACX;CAED,cAAA;EAAA,IAAAQ,OAAAC,QAAA,GAAAC,QAAAF,KAAAG,YAAAC,QAAAF,MAAAC,YAAAE,QAAAH,MAAAI;EAAAC,OAAAP,MAAAQ,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWnB,GAAG,iCAAiCS,MAAMW,KAAK;EAAC,EAAA,GACnDV,IAAI,GAAA,OAAA,IAAA;EAAAW,OAAAN,OAAAO,gBAIHrB,SAAO;GAACsB,IAAE;GAAMC,MAAI;GAAA,IAAAC,WAAA;IAAA,OAClBhB,MAAML;GAAK;EAAA,CAAA,GAAA,IAAA;EAAAi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PNnD,MAAM+C,OAAO,CAAA;EAAA,OAAAC;CAAA,EAAA,CAAA;AAUjC;;AAGA,SAAgBM,aAAa5D,OAA8B;CACzD,MAAM,CAACM,OAAOC,QAAQb,WAAWM,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAA6D,SAAAC,QAAA;EAAA/C,OAAA8C,QAAA7C,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWnB,GAAG,gDAAgDS,MAAMW,KAAK;EAAC,EAAA,GAClEV,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAsD;CAAA,EAAA,CAAA;AAGd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stat.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/stat/stat.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"stat.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/stat/stat.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAMnD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC9C,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,GAAG,CAAC,OAAO,CAAA;IAClB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8EAA8E;IAC9E,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;IACrC,wEAAwE;IACxE,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,eAmDpC;AAED,0EAA0E;AAC1E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eASrD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,eASvD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,eASvD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,eASxD;AAED,oEAAoE;AACpE,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,eAa1E"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { cn } from "../../../lib/utils.js";
|
|
2
|
+
import { Heading, Text } from "../../ui/typography/typography.js";
|
|
2
3
|
import { Dynamic, createComponent, insert, mergeProps, spread, template } from "solid-js/web";
|
|
3
4
|
import { ArrowDownRight, ArrowUpRight } from "lucide-solid";
|
|
4
5
|
import { Show, splitProps } from "solid-js";
|
|
5
6
|
//#region src/components/composites/stat/stat.tsx
|
|
6
|
-
var _tmpl$ = /*#__PURE__*/ template(`<
|
|
7
|
-
var _tmpl$2 = /*#__PURE__*/ template(`<div class="text-foreground
|
|
8
|
-
var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=stat
|
|
9
|
-
var _tmpl$4 = /*#__PURE__*/ template(`<
|
|
10
|
-
var _tmpl$5 = /*#__PURE__*/ template(`<
|
|
11
|
-
var _tmpl$6 = /*#__PURE__*/ template(`<
|
|
12
|
-
var _tmpl$7 = /*#__PURE__*/ template(`<
|
|
13
|
-
var _tmpl$8 = /*#__PURE__*/ template(`<div data-slot=property-row><span class="text-muted-foreground shrink-0"></span><span class="min-w-0 truncate text-end select-text">`);
|
|
7
|
+
var _tmpl$ = /*#__PURE__*/ template(`<div class="text-foreground flex items-center gap-1 text-xs"><span class=tabular-nums>`);
|
|
8
|
+
var _tmpl$2 = /*#__PURE__*/ template(`<div data-slot=stat><div class="text-muted-foreground truncate text-xs font-medium"></div><div class="flex items-baseline gap-1">`);
|
|
9
|
+
var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=stat-group>`);
|
|
10
|
+
var _tmpl$4 = /*#__PURE__*/ template(`<dl data-slot=property-list>`);
|
|
11
|
+
var _tmpl$5 = /*#__PURE__*/ template(`<dt data-slot=property-term>`);
|
|
12
|
+
var _tmpl$6 = /*#__PURE__*/ template(`<dd data-slot=property-value>`);
|
|
13
|
+
var _tmpl$7 = /*#__PURE__*/ template(`<div data-slot=property-row><span class="text-muted-foreground shrink-0"></span><span class="min-w-0 truncate text-end select-text">`);
|
|
14
14
|
function Stat(props) {
|
|
15
15
|
const [local, rest] = splitProps(props, [
|
|
16
16
|
"class",
|
|
@@ -23,20 +23,31 @@ function Stat(props) {
|
|
|
23
23
|
"children"
|
|
24
24
|
]);
|
|
25
25
|
return (() => {
|
|
26
|
-
var _el$ = _tmpl$
|
|
26
|
+
var _el$ = _tmpl$2(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
|
|
27
27
|
spread(_el$, mergeProps({ get ["class"]() {
|
|
28
28
|
return cn("flex min-w-0 flex-col gap-1 rounded-lg border border-border bg-card p-3", { "border-t-2 border-t-primary": local.accent }, local.class);
|
|
29
29
|
} }, rest), false, true);
|
|
30
30
|
insert(_el$2, () => local.label);
|
|
31
|
-
insert(_el$
|
|
31
|
+
insert(_el$3, createComponent(Heading, {
|
|
32
|
+
as: "span",
|
|
33
|
+
size: "page",
|
|
34
|
+
numeric: true,
|
|
35
|
+
get children() {
|
|
36
|
+
return local.value;
|
|
37
|
+
}
|
|
38
|
+
}), null);
|
|
32
39
|
insert(_el$3, createComponent(Show, {
|
|
33
40
|
get when() {
|
|
34
41
|
return local.unit;
|
|
35
42
|
},
|
|
36
43
|
get children() {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
return createComponent(Text, {
|
|
45
|
+
variant: "caption",
|
|
46
|
+
tone: "muted",
|
|
47
|
+
get children() {
|
|
48
|
+
return local.unit;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
40
51
|
}
|
|
41
52
|
}), null);
|
|
42
53
|
insert(_el$, createComponent(Show, {
|
|
@@ -44,8 +55,8 @@ function Stat(props) {
|
|
|
44
55
|
return local.delta;
|
|
45
56
|
},
|
|
46
57
|
get children() {
|
|
47
|
-
var _el$
|
|
48
|
-
insert(_el$
|
|
58
|
+
var _el$4 = _tmpl$(), _el$5 = _el$4.firstChild;
|
|
59
|
+
insert(_el$4, createComponent(Show, {
|
|
49
60
|
get when() {
|
|
50
61
|
return local.deltaTone === "up" || local.deltaTone === "down";
|
|
51
62
|
},
|
|
@@ -63,9 +74,9 @@ function Stat(props) {
|
|
|
63
74
|
}
|
|
64
75
|
});
|
|
65
76
|
}
|
|
66
|
-
}), _el$
|
|
67
|
-
insert(_el$
|
|
68
|
-
return _el$
|
|
77
|
+
}), _el$5);
|
|
78
|
+
insert(_el$5, () => local.delta);
|
|
79
|
+
return _el$4;
|
|
69
80
|
}
|
|
70
81
|
}), null);
|
|
71
82
|
insert(_el$, () => local.children, null);
|
|
@@ -76,11 +87,11 @@ function Stat(props) {
|
|
|
76
87
|
function StatGroup(props) {
|
|
77
88
|
const [local, rest] = splitProps(props, ["class"]);
|
|
78
89
|
return (() => {
|
|
79
|
-
var _el$
|
|
80
|
-
spread(_el$
|
|
90
|
+
var _el$6 = _tmpl$3();
|
|
91
|
+
spread(_el$6, mergeProps({ get ["class"]() {
|
|
81
92
|
return cn("grid gap-3 sm:grid-cols-2 lg:grid-cols-4", local.class);
|
|
82
93
|
} }, rest), false, false);
|
|
83
|
-
return _el$
|
|
94
|
+
return _el$6;
|
|
84
95
|
})();
|
|
85
96
|
}
|
|
86
97
|
/**
|
|
@@ -98,31 +109,31 @@ function StatGroup(props) {
|
|
|
98
109
|
function PropertyList(props) {
|
|
99
110
|
const [local, rest] = splitProps(props, ["class"]);
|
|
100
111
|
return (() => {
|
|
101
|
-
var _el$
|
|
102
|
-
spread(_el$
|
|
112
|
+
var _el$7 = _tmpl$4();
|
|
113
|
+
spread(_el$7, mergeProps({ get ["class"]() {
|
|
103
114
|
return cn("grid grid-cols-[auto_1fr] items-baseline gap-x-4 gap-y-2 text-sm", local.class);
|
|
104
115
|
} }, rest), false, false);
|
|
105
|
-
return _el$
|
|
116
|
+
return _el$7;
|
|
106
117
|
})();
|
|
107
118
|
}
|
|
108
119
|
function PropertyTerm(props) {
|
|
109
120
|
const [local, rest] = splitProps(props, ["class"]);
|
|
110
121
|
return (() => {
|
|
111
|
-
var _el$
|
|
112
|
-
spread(_el$
|
|
122
|
+
var _el$8 = _tmpl$5();
|
|
123
|
+
spread(_el$8, mergeProps({ get ["class"]() {
|
|
113
124
|
return cn("text-muted-foreground whitespace-nowrap", local.class);
|
|
114
125
|
} }, rest), false, false);
|
|
115
|
-
return _el$
|
|
126
|
+
return _el$8;
|
|
116
127
|
})();
|
|
117
128
|
}
|
|
118
129
|
function PropertyValue(props) {
|
|
119
130
|
const [local, rest] = splitProps(props, ["class"]);
|
|
120
131
|
return (() => {
|
|
121
|
-
var _el$
|
|
122
|
-
spread(_el$
|
|
132
|
+
var _el$9 = _tmpl$6();
|
|
133
|
+
spread(_el$9, mergeProps({ get ["class"]() {
|
|
123
134
|
return cn("min-w-0 break-words select-text", local.class);
|
|
124
135
|
} }, rest), false, false);
|
|
125
|
-
return _el$
|
|
136
|
+
return _el$9;
|
|
126
137
|
})();
|
|
127
138
|
}
|
|
128
139
|
/** A single term/value pair, for a list built one row at a time. */
|
|
@@ -133,13 +144,13 @@ function PropertyRow(props) {
|
|
|
133
144
|
"children"
|
|
134
145
|
]);
|
|
135
146
|
return (() => {
|
|
136
|
-
var _el$
|
|
137
|
-
spread(_el$
|
|
147
|
+
var _el$0 = _tmpl$7(), _el$1 = _el$0.firstChild, _el$10 = _el$1.nextSibling;
|
|
148
|
+
spread(_el$0, mergeProps({ get ["class"]() {
|
|
138
149
|
return cn("flex items-baseline justify-between gap-4 text-sm", local.class);
|
|
139
150
|
} }, rest), false, true);
|
|
140
|
-
insert(_el$
|
|
141
|
-
insert(_el$
|
|
142
|
-
return _el$
|
|
151
|
+
insert(_el$1, () => local.term);
|
|
152
|
+
insert(_el$10, () => local.children);
|
|
153
|
+
return _el$0;
|
|
143
154
|
})();
|
|
144
155
|
}
|
|
145
156
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stat.js","names":["ArrowDownRight","ArrowUpRight","ComponentProps","JSX","Show","splitProps","Dynamic","cn","StatProps","label","value","Element","unit","delta","deltaTone","accent","Stat","props","local","rest","_el$","_tmpl$
|
|
1
|
+
{"version":3,"file":"stat.js","names":["ArrowDownRight","ArrowUpRight","ComponentProps","JSX","Show","splitProps","Dynamic","cn","Heading","Text","StatProps","label","value","Element","unit","delta","deltaTone","accent","Stat","props","local","rest","_el$","_tmpl$2","_el$2","firstChild","_el$3","nextSibling","_$spread","_$mergeProps","class","_$insert","_$createComponent","as","size","numeric","children","when","variant","tone","_el$4","_tmpl$","_el$5","component","StatGroup","_el$6","_tmpl$3","PropertyList","_el$7","_tmpl$4","PropertyTerm","_el$8","_tmpl$5","PropertyValue","_el$9","_tmpl$6","PropertyRow","term","_el$0","_tmpl$7","_el$1","_el$10","_$mergeProps","_$createComponent"],"sources":["../../../../src/components/composites/stat/stat.tsx"],"sourcesContent":["import { ArrowDownRight, ArrowUpRight } from 'lucide-solid'\nimport type { ComponentProps, JSX } from 'solid-js'\nimport { Show, splitProps } from 'solid-js'\nimport { Dynamic } from 'solid-js/web'\nimport { cn } from '#lib/utils'\nimport { Heading, Text } from '../../ui/typography'\n\n/**\n * Stat.\n *\n * A single measured number with its label and, optionally, its change. The\n * whole component is a decision about honesty: a value shown without its\n * comparison is not information, so `delta` carries the direction, the amount\n * and — through `deltaTone` — whether the direction is *good*. A rising number\n * is not always a rising outcome, and only the caller knows which way is which.\n *\n * `tabular-nums` on the value is what lets two stats in a row be compared\n * without the digits shifting under the reader.\n */\nexport type StatProps = ComponentProps<'div'> & {\n label: string\n value: JSX.Element\n /** A unit or qualifier after the value, e.g. \"ms\", \"of 10\". */\n unit?: string\n /** The change, e.g. \"+12% from last week\". */\n delta?: string\n /** Whether the change is an improvement. Decides the arrow and the colour. */\n deltaTone?: 'up' | 'down' | 'neutral'\n /** Draws the leading accent rule used for a row of headline numbers. */\n accent?: boolean\n}\n\nexport function Stat(props: StatProps) {\n const [local, rest] = splitProps(props, [\n 'class',\n 'label',\n 'value',\n 'unit',\n 'delta',\n 'deltaTone',\n 'accent',\n 'children',\n ])\n\n return (\n <div\n data-slot=\"stat\"\n class={cn(\n 'flex min-w-0 flex-col gap-1 rounded-lg border border-border bg-card p-3',\n { 'border-t-2 border-t-primary': local.accent },\n local.class\n )}\n {...rest}\n >\n <div class=\"text-muted-foreground truncate text-xs font-medium\">{local.label}</div>\n <div class=\"flex items-baseline gap-1\">\n <Heading as=\"span\" size=\"page\" numeric>\n {local.value}\n </Heading>\n <Show when={local.unit}>\n <Text variant=\"caption\" tone=\"muted\">\n {local.unit}\n </Text>\n </Show>\n </div>\n <Show when={local.delta}>\n <div class=\"text-foreground flex items-center gap-1 text-xs\">\n <Show when={local.deltaTone === 'up' || local.deltaTone === 'down'}>\n <Dynamic\n component={local.deltaTone === 'down' ? ArrowDownRight : ArrowUpRight}\n aria-hidden=\"true\"\n class={cn('size-3', {\n 'text-success': local.deltaTone === 'up',\n 'text-destructive': local.deltaTone === 'down',\n })}\n />\n </Show>\n <span class=\"tabular-nums\">{local.delta}</span>\n </div>\n </Show>\n {local.children}\n </div>\n )\n}\n\n/** A row of stats that shares one gap and wraps as the window narrows. */\nexport function StatGroup(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"stat-group\"\n class={cn('grid gap-3 sm:grid-cols-2 lg:grid-cols-4', local.class)}\n {...rest}\n />\n )\n}\n\n/**\n * PropertyList.\n *\n * A definition list for read-only metadata: the details of a file, a session, a\n * build. This is a `<dl>`, not a table and not a grid of divs, because the\n * relationship being expressed is term-and-definition and the platform has an\n * element for exactly that.\n *\n * Values are selectable by default. Metadata is the thing users copy most and\n * get the least often: a commit hash behind a drag-to-select gesture is a small\n * daily failure.\n */\nexport function PropertyList(props: ComponentProps<'dl'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <dl\n data-slot=\"property-list\"\n class={cn('grid grid-cols-[auto_1fr] items-baseline gap-x-4 gap-y-2 text-sm', local.class)}\n {...rest}\n />\n )\n}\n\nexport function PropertyTerm(props: ComponentProps<'dt'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <dt\n data-slot=\"property-term\"\n class={cn('text-muted-foreground whitespace-nowrap', local.class)}\n {...rest}\n />\n )\n}\n\nexport function PropertyValue(props: ComponentProps<'dd'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <dd\n data-slot=\"property-value\"\n class={cn('min-w-0 break-words select-text', local.class)}\n {...rest}\n />\n )\n}\n\n/** A single term/value pair, for a list built one row at a time. */\nexport function PropertyRow(props: ComponentProps<'div'> & { term: string }) {\n const [local, rest] = splitProps(props, ['class', 'term', 'children'])\n\n return (\n <div\n data-slot=\"property-row\"\n class={cn('flex items-baseline justify-between gap-4 text-sm', local.class)}\n {...rest}\n >\n <span class=\"text-muted-foreground shrink-0\">{local.term}</span>\n <span class=\"min-w-0 truncate text-end select-text\">{local.children}</span>\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;;;AAgCA,SAAgBkB,KAAKC,OAAkB;CACrC,MAAM,CAACC,OAAOC,QAAQhB,WAAWc,OAAO;EACtC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CAAU,CACX;CAED,cAAA;EAAA,IAAAG,OAAAC,QAAA,GAAAC,QAAAF,KAAAG,YAAAC,QAAAF,MAAAG;EAAAC,OAAAN,MAAAO,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWtB,GACL,2EACA,EAAE,+BAA+Ba,MAAMH,OAAO,GAC9CG,MAAMU,KACR;EAAC,EAAA,GACG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AgBE,YAAYrC,OAAiD;CAC3E,MAAM,CAACC,OAAOC,QAAQhB,WAAWc,OAAO;EAAC;EAAS;EAAQ;CAAU,CAAC;CAErE,cAAA;EAAA,IAAAuC,QAAAC,QAAA,GAAAC,QAAAF,MAAAjC,YAAAoC,SAAAD,MAAAjC;EAAAC,OAAA8B,OAAA7B,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWtB,GAAG,qDAAqDa,MAAMU,KAAK;EAAC,EAAA,GACvET,IAAI,GAAA,OAAA,IAAA;EAAAU,OAAA6B,aAEsCxC,MAAMqC,IAAI;EAAA1B,OAAA8B,cACHzC,MAAMgB,QAAQ;EAAA,OAAAsB;CAAA,EAAA,CAAA;AAGzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/update-dialog/update-dialog.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"update-dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/composites/update-dialog/update-dialog.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AA8BxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AAEH,iEAAiE;AACjE,MAAM,MAAM,WAAW,GACnB,MAAM,GACN,UAAU,GACV,SAAS,GACT,WAAW,GACX,aAAa,GACb,YAAY,GACZ,WAAW,GACX,YAAY,GACZ,WAAW,GACX,aAAa,GACb,QAAQ,CAAA;AAEZ,mFAAmF;AACnF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,KAAK,EAAE,WAAW,CAAA;IAClB,uCAAuC;IACvC,cAAc,EAAE,MAAM,CAAA;IACtB,uDAAuD;IACvD,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,0DAA0D;IAC1D,SAAS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