@protobase/ui 0.25.3 → 0.25.4

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.
Files changed (47) hide show
  1. package/dist/account/account-section.js +1 -1
  2. package/dist/account/password-dialog.js +1 -1
  3. package/dist/account/sign-in-policy-form.js +3 -3
  4. package/dist/account/two-factor-setup.js +1 -1
  5. package/dist/action-card/field-list.js +1 -1
  6. package/dist/app/displays/board-column.js +1 -1
  7. package/dist/app/displays/timeline-row.js +1 -1
  8. package/dist/app/error-banner.js +1 -1
  9. package/dist/app/export/export-dialog.js +3 -3
  10. package/dist/app/import/import-check-step.js +2 -2
  11. package/dist/app/pages/blocks/field.js +1 -1
  12. package/dist/app/pages/blocks/progress.js +1 -1
  13. package/dist/app/staff-banner.js +1 -1
  14. package/dist/app-shell/sidebar-group.js +1 -1
  15. package/dist/app-shell/sidebar-item.js +1 -1
  16. package/dist/app-shell/sidebar.js +1 -1
  17. package/dist/assistant-dock/assistant-dock.js +1 -1
  18. package/dist/auth/code-form.js +2 -2
  19. package/dist/auth/forgot-password-form.js +1 -1
  20. package/dist/auth/reset-password-form.js +1 -1
  21. package/dist/auth/setup-required-form.js +1 -1
  22. package/dist/auth/sign-in-form.js +3 -3
  23. package/dist/auth/sign-up-details-form.js +1 -1
  24. package/dist/auth/sign-up-email-form.js +1 -1
  25. package/dist/auth/staff-sign-in-form.js +2 -2
  26. package/dist/auth/two-factor-form.js +2 -2
  27. package/dist/data-grid/grid-header.js +1 -1
  28. package/dist/filter-panel/date-presets.js +1 -1
  29. package/dist/forms/public-form-page.js +1 -1
  30. package/dist/organizations/invitation-page.js +2 -2
  31. package/dist/organizations/members-page.js +1 -1
  32. package/dist/package.js +1 -1
  33. package/dist/primitives/button.js +1 -1
  34. package/dist/primitives/segmented.js +1 -1
  35. package/dist/record-view/field.js +2 -2
  36. package/dist/shell/assets/{app-CW3U56yM.js → app-yCMYvqMX.js} +10 -10
  37. package/dist/shell/assets/{index-BRkDA5KD.css → index-Bkc7w8I4.css} +1 -1
  38. package/dist/shell/assets/{index-B7cIjCuz.js → index-HkjqX_O-.js} +1 -1
  39. package/dist/shell/assets/{maplibre-CVG5L9FD.js → maplibre-DUTS_eJM.js} +1 -1
  40. package/dist/shell/assets/{preload-helper-BX9CcZkY.js → preload-helper-BZ3hrQDD.js} +1 -1
  41. package/dist/shell/assets/{record-map-Cw3_NcUl.js → record-map-DFy7sJEU.js} +1 -1
  42. package/dist/shell/assets/{records-map-D4f3ZeDL.js → records-map-MfQEuiFB.js} +1 -1
  43. package/dist/shell/assets/{shared-protobase-ui-CB_i50NP.js → shared-protobase-ui-Bfa59vx6.js} +1 -1
  44. package/dist/shell/index.html +5 -5
  45. package/dist/shell/protobase.shell.json +1 -1
  46. package/dist/shell/protobase.sw.js +2 -2
  47. package/package.json +4 -4
@@ -24,7 +24,7 @@ const AccountSection = ({ title, status, description, children }) => /* @__PURE_
24
24
  });
25
25
  const SectionError = ({ message }) => message ? /* @__PURE__ */ jsx("p", {
26
26
  role: "alert",
27
- className: "mb-3 text-xs font-medium text-danger-text",
27
+ className: "mb-3 text-body font-medium text-danger-text",
28
28
  children: message
29
29
  }) : null;
30
30
  //#endregion
@@ -50,7 +50,7 @@ const PasswordDialog = ({ title, description, confirmLabel, danger, needsPasswor
50
50
  })]
51
51
  }), error && /* @__PURE__ */ jsx("p", {
52
52
  role: "alert",
53
- className: "mt-2 text-xs font-medium text-danger-text",
53
+ className: "mt-2 text-body font-medium text-danger-text",
54
54
  children: error
55
55
  })]
56
56
  });
@@ -15,7 +15,7 @@ const RuleChoice = ({ row, value, onChange }) => /* @__PURE__ */ jsx("span", {
15
15
  role: "radio",
16
16
  "aria-checked": option.value === value,
17
17
  onClick: () => onChange(option.value),
18
- className: cn("rounded px-3 text-xs font-medium transition-colors", option.value === value ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"),
18
+ className: cn("rounded px-3 text-body font-medium transition-colors", option.value === value ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"),
19
19
  children: option.label
20
20
  }, option.value))
21
21
  });
@@ -85,12 +85,12 @@ const SignInPolicyForm = ({ state, onSave, busy, error, notice }) => {
85
85
  }),
86
86
  error && /* @__PURE__ */ jsx("p", {
87
87
  role: "alert",
88
- className: "rounded-md bg-danger-soft px-3 py-2 text-xs font-medium text-danger-text",
88
+ className: "rounded-md bg-danger-soft px-3 py-2 text-body font-medium text-danger-text",
89
89
  children: error
90
90
  }),
91
91
  notice && !changed && /* @__PURE__ */ jsx("p", {
92
92
  role: "status",
93
- className: "rounded-md bg-success-soft px-3 py-2 text-xs font-medium text-success-text",
93
+ className: "rounded-md bg-success-soft px-3 py-2 text-body font-medium text-success-text",
94
94
  children: notice
95
95
  }),
96
96
  /* @__PURE__ */ jsxs("div", {
@@ -59,7 +59,7 @@ const TwoFactorSetup = ({ offerEmailedCodes, needsPassword, onStartApp, onConfir
59
59
  });
60
60
  const errorLine = error && /* @__PURE__ */ jsx("p", {
61
61
  role: "alert",
62
- className: "text-xs font-medium text-danger-text",
62
+ className: "text-body font-medium text-danger-text",
63
63
  children: error
64
64
  });
65
65
  if (step.kind === "backup-codes") return /* @__PURE__ */ jsxs("div", {
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  //#region src/action-card/field-list.tsx
3
3
  /** Labelled values, one per row, inside a card. */
4
4
  const FieldList = ({ fields }) => /* @__PURE__ */ jsx("dl", {
5
- className: "grid grid-cols-[auto_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs",
5
+ className: "grid grid-cols-[auto_minmax(0,1fr)] gap-x-3 gap-y-1 text-body",
6
6
  children: fields.map((field, index) => /* @__PURE__ */ jsxs("div", {
7
7
  className: "contents",
8
8
  children: [/* @__PURE__ */ jsx("dt", {
@@ -61,7 +61,7 @@ const BoardColumnView = ({ model, view, display, column, fields, filter, orderBy
61
61
  /* @__PURE__ */ jsxs("header", {
62
62
  className: "flex items-center justify-between gap-2 px-1 pt-0.5",
63
63
  children: [/* @__PURE__ */ jsx("h2", {
64
- className: "min-w-0 truncate text-xs font-medium",
64
+ className: "min-w-0 truncate text-body font-medium",
65
65
  children: column.value === null ? /* @__PURE__ */ jsx("span", {
66
66
  className: "text-muted-foreground",
67
67
  children: column.label
@@ -14,7 +14,7 @@ const TimelineRow = ({ model, view, display, row, days, movable, dragged }) => {
14
14
  className: cn(timelineGrid, "relative border-b border-border last:border-b-0"),
15
15
  children: [/* @__PURE__ */ jsx("span", {
16
16
  "aria-hidden": true,
17
- className: "truncate px-2 pt-1 text-xs sm:py-1.5",
17
+ className: "truncate px-2 pt-1 text-body sm:py-1.5",
18
18
  children: eventTitle(model, view, display, row)
19
19
  }), /* @__PURE__ */ jsx("div", {
20
20
  className: "relative h-7",
@@ -18,7 +18,7 @@ const ErrorBanner = ({ error, title }) => /* @__PURE__ */ jsxs("div", {
18
18
  className: "font-medium",
19
19
  children: title
20
20
  }), describe(error).map((detail) => /* @__PURE__ */ jsxs("p", {
21
- className: "text-xs",
21
+ className: "text-body",
22
22
  children: [detail.message, detail.hint && /* @__PURE__ */ jsxs("span", {
23
23
  className: "text-muted-foreground",
24
24
  children: [" ", detail.hint]
@@ -41,7 +41,7 @@ const Setting = ({ label, help, children }) => /* @__PURE__ */ jsxs("div", {
41
41
  className: "flex flex-col items-start gap-1.5",
42
42
  children: [
43
43
  /* @__PURE__ */ jsx("span", {
44
- className: "text-[13px] font-medium",
44
+ className: "text-body font-medium",
45
45
  children: label
46
46
  }),
47
47
  children,
@@ -145,7 +145,7 @@ const ExportDialog = ({ plural, view, fields, initialColumns, count, selected, o
145
145
  children: text("export")
146
146
  })] }),
147
147
  children: /* @__PURE__ */ jsxs("div", {
148
- className: "flex flex-col gap-4 text-[13px]",
148
+ className: "flex flex-col gap-4 text-body",
149
149
  children: [
150
150
  /* @__PURE__ */ jsx(Setting, {
151
151
  label: text("format"),
@@ -208,7 +208,7 @@ const ExportProgressDialog = ({ plural, done, total, onCancel }) => {
208
208
  children: text("cancel")
209
209
  }),
210
210
  children: /* @__PURE__ */ jsxs("div", {
211
- className: "flex flex-col gap-2 text-[13px]",
211
+ className: "flex flex-col gap-2 text-body",
212
212
  children: [/* @__PURE__ */ jsx("div", {
213
213
  role: "progressbar",
214
214
  "aria-label": text("rowsExported"),
@@ -17,7 +17,7 @@ const downloadRows = (fileName, headers, rows) => saveFile(failedRowsCsv(headers
17
17
  /** The rows with what keeps each from being imported, at most `listedProblems` of them. */
18
18
  const ProblemList = ({ rows }) => /* @__PURE__ */ jsxs("ul", {
19
19
  "aria-label": text("rowsNotImported"),
20
- className: "flex flex-col gap-1 text-xs",
20
+ className: "flex flex-col gap-1 text-body",
21
21
  children: [rows.slice(0, listedProblems).map((row) => /* @__PURE__ */ jsxs("li", { children: [
22
22
  /* @__PURE__ */ jsx("span", {
23
23
  className: "font-medium",
@@ -58,7 +58,7 @@ const ImportCheckStep = ({ check, model, resources, views, columns, headers, fil
58
58
  className: "overflow-x-auto rounded-lg border",
59
59
  children: /* @__PURE__ */ jsxs("table", {
60
60
  "aria-label": text("firstRows"),
61
- className: "w-full text-left text-xs",
61
+ className: "w-full text-left text-body",
62
62
  children: [/* @__PURE__ */ jsx("thead", {
63
63
  className: "bg-muted text-muted-foreground",
64
64
  children: /* @__PURE__ */ jsxs("tr", { children: [/* @__PURE__ */ jsx("th", {
@@ -30,7 +30,7 @@ const FieldBlock = ({ node }) => {
30
30
  return /* @__PURE__ */ jsxs("div", {
31
31
  className: "min-w-0",
32
32
  children: [/* @__PURE__ */ jsx("div", {
33
- className: "text-xs text-muted-foreground",
33
+ className: "text-body text-muted-foreground",
34
34
  children: text
35
35
  }), /* @__PURE__ */ jsx("div", {
36
36
  className: "mt-0.5 truncate",
@@ -25,7 +25,7 @@ const ProgressBlock = ({ node }) => {
25
25
  return /* @__PURE__ */ jsxs("div", {
26
26
  className: "min-w-0",
27
27
  children: [/* @__PURE__ */ jsxs("div", {
28
- className: "flex items-baseline justify-between gap-2 text-xs",
28
+ className: "flex items-baseline justify-between gap-2 text-body",
29
29
  children: [/* @__PURE__ */ jsx("span", {
30
30
  className: "text-muted-foreground",
31
31
  children: label
@@ -44,7 +44,7 @@ const StaffBanner = ({ signIn, onStop }) => {
44
44
  }),
45
45
  error && /* @__PURE__ */ jsx("p", {
46
46
  role: "alert",
47
- className: "text-xs font-medium text-danger-text",
47
+ className: "text-body font-medium text-danger-text",
48
48
  children: error
49
49
  }),
50
50
  /* @__PURE__ */ jsx(Button, {
@@ -9,7 +9,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region src/app-shell/sidebar-group.tsx
10
10
  const row = {
11
11
  "text-large": "h-8 gap-2.5 px-2.5",
12
- "text-small": "h-7 gap-2 px-2 text-xs"
12
+ "text-small": "h-7 gap-2 px-2 text-body"
13
13
  };
14
14
  /** Lines the records up under the entry's icon. */
15
15
  const indent = {
@@ -6,7 +6,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/app-shell/sidebar-item.tsx
7
7
  const layout = {
8
8
  "text-large": "h-9 gap-3 px-3 text-sm",
9
- "text-small": "h-7 gap-2.5 px-2.5 text-xs",
9
+ "text-small": "h-7 gap-2.5 px-2.5 text-body",
10
10
  icon: "size-9 justify-center",
11
11
  "icon-label": "w-full flex-col gap-0.5 py-1.5 text-[10px]",
12
12
  "icon-tooltip": "size-9 justify-center",
@@ -34,7 +34,7 @@ const Sidebar = ({ mode, activeItem, user, workspace, appName, forceExpanded, pr
34
34
  children: groups.map((group, index) => /* @__PURE__ */ jsxs("div", {
35
35
  className: cn("flex flex-col gap-0.5", index > 0 && "mt-3"),
36
36
  children: [inline ? /* @__PURE__ */ jsx("div", {
37
- className: cn("px-3 pb-1 pt-1 text-[11px] font-medium uppercase tracking-wide text-faint-foreground", expanding && "h-4 whitespace-nowrap py-0 opacity-0 transition-opacity group-hover/side:opacity-100 group-focus-within/side:opacity-100", expanded && "opacity-100"),
37
+ className: cn("px-3 pb-1 pt-1 text-xs font-medium uppercase tracking-wide text-faint-foreground", expanding && "h-4 whitespace-nowrap py-0 opacity-0 transition-opacity group-hover/side:opacity-100 group-focus-within/side:opacity-100", expanded && "opacity-100"),
38
38
  children: group.label
39
39
  }) : index > 0 && /* @__PURE__ */ jsx("div", { className: "mx-auto mb-1 h-px w-6 bg-border" }), group.items.map((item) => item.recent && isTextMode(mode) ? /* @__PURE__ */ jsx(SidebarGroup, {
40
40
  item,
@@ -25,7 +25,7 @@ const AssistantDock = ({ state, offline, error, onSend, onAction, onClose, clien
25
25
  onClose,
26
26
  footer: /* @__PURE__ */ jsxs(Fragment$1, { children: [error && /* @__PURE__ */ jsx("p", {
27
27
  role: "alert",
28
- className: "text-xs text-danger-text",
28
+ className: "text-body text-danger-text",
29
29
  children: error
30
30
  }), /* @__PURE__ */ jsx(Composer, {
31
31
  inputRef: input,
@@ -22,7 +22,7 @@ const CodeForm = ({ title, description, explanation, submitLabel, onSubmit, onRe
22
22
  }),
23
23
  notice && /* @__PURE__ */ jsx("p", {
24
24
  role: "status",
25
- className: "mb-4 rounded-md bg-success-soft px-3 py-2 text-xs font-medium text-success-text",
25
+ className: "mb-4 rounded-md bg-success-soft px-3 py-2 text-body font-medium text-success-text",
26
26
  children: notice
27
27
  }),
28
28
  /* @__PURE__ */ jsxs("form", {
@@ -46,7 +46,7 @@ const CodeForm = ({ title, description, explanation, submitLabel, onSubmit, onRe
46
46
  }),
47
47
  error && /* @__PURE__ */ jsx("p", {
48
48
  role: "alert",
49
- className: "text-xs font-medium text-danger-text",
49
+ className: "text-body font-medium text-danger-text",
50
50
  children: error
51
51
  }),
52
52
  /* @__PURE__ */ jsx(Button, {
@@ -50,7 +50,7 @@ const ForgotPasswordForm = ({ onSubmit, back, busy, error, sentTo }) => {
50
50
  }),
51
51
  error && /* @__PURE__ */ jsx("p", {
52
52
  role: "alert",
53
- className: "text-xs font-medium text-danger-text",
53
+ className: "text-body font-medium text-danger-text",
54
54
  children: error
55
55
  }),
56
56
  /* @__PURE__ */ jsx(Button, {
@@ -71,7 +71,7 @@ const ResetPasswordForm = ({ onSubmit, invalidLink, onRequestNewLink, onBack, bu
71
71
  }),
72
72
  shown && /* @__PURE__ */ jsx("p", {
73
73
  role: "alert",
74
- className: "text-xs font-medium text-danger-text",
74
+ className: "text-body font-medium text-danger-text",
75
75
  children: shown
76
76
  }),
77
77
  /* @__PURE__ */ jsx(Button, {
@@ -19,7 +19,7 @@ const SetupRequiredForm = ({ step, twoFactor, onAddPasskey, busy, error, onSignO
19
19
  }),
20
20
  error && /* @__PURE__ */ jsx("p", {
21
21
  role: "alert",
22
- className: "text-xs font-medium text-danger-text",
22
+ className: "text-body font-medium text-danger-text",
23
23
  children: error
24
24
  }),
25
25
  /* @__PURE__ */ jsxs(Button, {
@@ -34,7 +34,7 @@ const SignInForm = ({ onSubmit, busy, error, workspace, notice, methods = ["pass
34
34
  children: [
35
35
  notice && /* @__PURE__ */ jsx("p", {
36
36
  role: "status",
37
- className: "mb-4 rounded-md bg-success-soft px-3 py-2 text-xs font-medium text-success-text",
37
+ className: "mb-4 rounded-md bg-success-soft px-3 py-2 text-body font-medium text-success-text",
38
38
  children: notice
39
39
  }),
40
40
  (offered.length > 0 || withPasskey) && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("div", {
@@ -63,7 +63,7 @@ const SignInForm = ({ onSubmit, busy, error, workspace, notice, methods = ["pass
63
63
  ]
64
64
  }), withPassword || withCode ? /* @__PURE__ */ jsx(Divider, {}) : error && /* @__PURE__ */ jsx("p", {
65
65
  role: "alert",
66
- className: "mt-4 text-xs font-medium text-danger-text",
66
+ className: "mt-4 text-body font-medium text-danger-text",
67
67
  children: error
68
68
  })] }),
69
69
  (withPassword || withCode) && /* @__PURE__ */ jsxs("form", {
@@ -104,7 +104,7 @@ const SignInForm = ({ onSubmit, busy, error, workspace, notice, methods = ["pass
104
104
  }),
105
105
  error && /* @__PURE__ */ jsx("p", {
106
106
  role: "alert",
107
- className: "text-xs font-medium text-danger-text",
107
+ className: "text-body font-medium text-danger-text",
108
108
  children: error
109
109
  }),
110
110
  withPassword && /* @__PURE__ */ jsx(Button, {
@@ -69,7 +69,7 @@ const SignUpDetailsForm = ({ email, onSubmit, onBack, methods, busy, error }) =>
69
69
  }),
70
70
  error && /* @__PURE__ */ jsx("p", {
71
71
  role: "alert",
72
- className: "text-xs font-medium text-danger-text",
72
+ className: "text-body font-medium text-danger-text",
73
73
  children: error
74
74
  }),
75
75
  /* @__PURE__ */ jsx(Button, {
@@ -39,7 +39,7 @@ const SignUpEmailForm = ({ onSubmit, onSignIn, onBrowse, busy, error, workspace
39
39
  }),
40
40
  error && /* @__PURE__ */ jsx("p", {
41
41
  role: "alert",
42
- className: "text-xs font-medium text-danger-text",
42
+ className: "text-body font-medium text-danger-text",
43
43
  children: error
44
44
  }),
45
45
  /* @__PURE__ */ jsxs(Button, {
@@ -16,7 +16,7 @@ const StaffSignInForm = ({ operator, email: givenEmail = "", reason: givenReason
16
16
  description: text("staffUnavailable"),
17
17
  children: [error && /* @__PURE__ */ jsx("p", {
18
18
  role: "alert",
19
- className: "mb-4 text-xs font-medium text-danger-text",
19
+ className: "mb-4 text-body font-medium text-danger-text",
20
20
  children: error
21
21
  }), /* @__PURE__ */ jsx(Button, {
22
22
  variant: "primary",
@@ -66,7 +66,7 @@ const StaffSignInForm = ({ operator, email: givenEmail = "", reason: givenReason
66
66
  }),
67
67
  error && /* @__PURE__ */ jsx("p", {
68
68
  role: "alert",
69
- className: "text-xs font-medium text-danger-text",
69
+ className: "text-body font-medium text-danger-text",
70
70
  children: error
71
71
  }),
72
72
  /* @__PURE__ */ jsx(Button, {
@@ -35,7 +35,7 @@ const TwoFactorForm = ({ methods, onVerify, onSendCode, onBack, busy, error, cod
35
35
  }),
36
36
  error && /* @__PURE__ */ jsx("p", {
37
37
  role: "alert",
38
- className: "text-xs font-medium text-danger-text",
38
+ className: "text-body font-medium text-danger-text",
39
39
  children: error
40
40
  }),
41
41
  /* @__PURE__ */ jsx(Button, {
@@ -92,7 +92,7 @@ const TwoFactorForm = ({ methods, onVerify, onSendCode, onBack, busy, error, cod
92
92
  }),
93
93
  error && /* @__PURE__ */ jsx("p", {
94
94
  role: "alert",
95
- className: "text-xs font-medium text-danger-text",
95
+ className: "text-body font-medium text-danger-text",
96
96
  children: error
97
97
  }),
98
98
  /* @__PURE__ */ jsx(Button, {
@@ -20,7 +20,7 @@ const HeaderLabel = ({ spec }) => /* @__PURE__ */ jsxs(Fragment, { children: [/*
20
20
  children: text("new")
21
21
  })] });
22
22
  const GridHeader = ({ cells, specs, gutter, selectedCount, selectable, trailing, minScale, pins = {}, lastPinned, scrolled, onTogglePin, onClearSelection }) => /* @__PURE__ */ jsxs("div", {
23
- className: "grid h-8 shrink-0 items-center border-b bg-surface text-xs font-medium text-muted-foreground",
23
+ className: "grid h-8 shrink-0 items-center border-b bg-surface text-body font-medium text-muted-foreground",
24
24
  style: { gridTemplateColumns: gridTemplate(specs, gutter, trailing, minScale) },
25
25
  role: "row",
26
26
  children: [
@@ -12,7 +12,7 @@ const DatePresets = ({ value, presets = defaultDatePresets, onChange }) => /* @_
12
12
  disabled: !label,
13
13
  title: label ? void 0 : text("unknownPreset", id),
14
14
  onClick: () => onChange(value === id ? void 0 : id),
15
- className: cn("h-7 rounded-md border px-2.5 text-xs font-medium transition-colors", !label && "border-dashed text-danger-text", value === id ? "border-primary-border bg-primary-soft text-primary-text" : "border-border-strong bg-background text-muted-foreground hover:bg-muted"),
15
+ className: cn("h-7 rounded-md border px-2.5 text-body font-medium transition-colors", !label && "border-dashed text-danger-text", value === id ? "border-primary-border bg-primary-soft text-primary-text" : "border-border-strong bg-background text-muted-foreground hover:bg-muted"),
16
16
  children: label ?? text("unsupported", id)
17
17
  }, id);
18
18
  })
@@ -70,7 +70,7 @@ const LoadedForm = ({ form }) => {
70
70
  size: "md",
71
71
  children: /* @__PURE__ */ jsx("p", {
72
72
  role: "status",
73
- className: "rounded-md bg-success-soft px-3 py-2 text-xs font-medium text-success-text",
73
+ className: "rounded-md bg-success-soft px-3 py-2 text-body font-medium text-success-text",
74
74
  children: form.thanks
75
75
  })
76
76
  });
@@ -41,7 +41,7 @@ const SignUp = ({ token, preview, joins, onDone }) => {
41
41
  }),
42
42
  error && /* @__PURE__ */ jsx("p", {
43
43
  role: "alert",
44
- className: "text-xs font-medium text-danger-text",
44
+ className: "text-body font-medium text-danger-text",
45
45
  children: error
46
46
  }),
47
47
  /* @__PURE__ */ jsx(Input, {
@@ -164,7 +164,7 @@ const InvitationPage = ({ token, onDone, signIn }) => {
164
164
  className: "flex flex-col gap-3",
165
165
  children: [error && /* @__PURE__ */ jsx("p", {
166
166
  role: "alert",
167
- className: "text-xs font-medium text-danger-text",
167
+ className: "text-body font-medium text-danger-text",
168
168
  children: error
169
169
  }), /* @__PURE__ */ jsx(Button, {
170
170
  variant: "primary",
@@ -41,7 +41,7 @@ const MemberRow = ({ member, current, onChanged }) => {
41
41
  await session.organizations.setRole(organizationId, member.id, event.target.value);
42
42
  onChanged();
43
43
  }),
44
- className: "h-7 rounded-md border border-border-strong bg-background px-2 text-xs",
44
+ className: "h-7 rounded-md border border-border-strong bg-background px-2 text-body",
45
45
  children: (roleLocked ? [member.role] : organizationRoles).map((role) => /* @__PURE__ */ jsx("option", {
46
46
  value: role,
47
47
  children: organizationRoleLabel(role)
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.25.3";
2
+ var version = "0.25.4";
3
3
  var protobase = { "pluginApi": 1 };
4
4
  //#endregion
5
5
  export { protobase, version };
@@ -9,7 +9,7 @@ const variants = {
9
9
  danger: "bg-background text-danger-text border border-border-strong hover:bg-danger-soft shadow-sm"
10
10
  };
11
11
  const sizes = {
12
- sm: "h-7 px-2.5 text-xs gap-1.5",
12
+ sm: "h-7 px-2.5 text-body gap-1.5",
13
13
  md: "h-8 px-3 text-body gap-2"
14
14
  };
15
15
  /** A button's classes, for a link that looks like one. */
@@ -4,7 +4,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
4
4
  const sizes = {
5
5
  sm: {
6
6
  group: "h-7",
7
- option: "px-2.5 text-xs"
7
+ option: "px-2.5 text-body"
8
8
  },
9
9
  md: {
10
10
  group: "h-8",
@@ -66,11 +66,11 @@ const Field = ({ name, label, required, help, example, error, conflict, wide, ch
66
66
  }),
67
67
  error && /* @__PURE__ */ jsx("p", {
68
68
  id: `${id}-error`,
69
- className: "mt-1.5 text-xs font-medium text-danger-text",
69
+ className: "mt-1.5 text-body font-medium text-danger-text",
70
70
  children: error
71
71
  }),
72
72
  conflict && /* @__PURE__ */ jsxs("div", {
73
- className: "mt-2 flex items-center justify-between gap-3 rounded-md border border-warning/30 bg-warning-soft px-3 py-2 text-xs text-warning-text",
73
+ className: "mt-2 flex items-center justify-between gap-3 rounded-md border border-warning/30 bg-warning-soft px-3 py-2 text-body text-warning-text",
74
74
  children: [/* @__PURE__ */ jsxs("span", { children: [
75
75
  /* @__PURE__ */ jsx("strong", { children: conflict.user.name }),
76
76
  " ",