@xenosystem/blocks 0.10.0 → 0.10.1
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/auth/index.js +14 -11
- package/package.json +3 -3
package/dist/auth/index.js
CHANGED
|
@@ -698,18 +698,21 @@ var accountManifest = {
|
|
|
698
698
|
import { useSyncExternalStore } from "react";
|
|
699
699
|
import {
|
|
700
700
|
Badge,
|
|
701
|
+
Column,
|
|
701
702
|
EmptyState,
|
|
702
703
|
Row,
|
|
703
704
|
RowList,
|
|
704
705
|
ScrollArea,
|
|
705
706
|
Section,
|
|
706
707
|
StatTile,
|
|
708
|
+
Stack,
|
|
707
709
|
StatusBar,
|
|
710
|
+
Text,
|
|
708
711
|
TextButton,
|
|
709
712
|
Toolbar,
|
|
710
713
|
ToolbarGroup
|
|
711
714
|
} from "@xenosystem/components/chrome";
|
|
712
|
-
import {
|
|
715
|
+
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
713
716
|
var STATUS_LABEL = {
|
|
714
717
|
unknown: "Loading",
|
|
715
718
|
signedOut: "Signed out",
|
|
@@ -748,11 +751,11 @@ function AccountPanelView({
|
|
|
748
751
|
}
|
|
749
752
|
const { identity, plan, credits } = state;
|
|
750
753
|
const unit = credits?.unit ?? "credits";
|
|
751
|
-
return /* @__PURE__ */ jsxs(
|
|
754
|
+
return /* @__PURE__ */ jsxs(Column, { children: [
|
|
752
755
|
/* @__PURE__ */ jsx2(
|
|
753
756
|
Toolbar,
|
|
754
757
|
{
|
|
755
|
-
left: /* @__PURE__ */ jsxs(
|
|
758
|
+
left: /* @__PURE__ */ jsxs(ToolbarGroup, { children: [
|
|
756
759
|
/* @__PURE__ */ jsx2(Badge, { tone: STATUS_TONE[state.status], children: STATUS_LABEL[state.status] }),
|
|
757
760
|
plan ? /* @__PURE__ */ jsx2(Badge, { title: `Plan: ${plan.label}`, children: plan.label }) : null
|
|
758
761
|
] }),
|
|
@@ -760,12 +763,12 @@ function AccountPanelView({
|
|
|
760
763
|
}
|
|
761
764
|
),
|
|
762
765
|
/* @__PURE__ */ jsxs(ScrollArea, { children: [
|
|
763
|
-
/* @__PURE__ */ jsxs(
|
|
764
|
-
/* @__PURE__ */ jsx2(
|
|
765
|
-
identity?.email ? /* @__PURE__ */ jsx2(
|
|
766
|
-
state.message ? /* @__PURE__ */ jsx2(
|
|
766
|
+
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
767
|
+
/* @__PURE__ */ jsx2(Text, { role: "title", children: identity?.name ?? identity?.sub }),
|
|
768
|
+
identity?.email ? /* @__PURE__ */ jsx2(Text, { role: "meta", children: identity.email }) : null,
|
|
769
|
+
state.message ? /* @__PURE__ */ jsx2(Text, { role: "meta", children: state.message }) : null
|
|
767
770
|
] }),
|
|
768
|
-
credits ? /* @__PURE__ */ jsxs(
|
|
771
|
+
credits ? /* @__PURE__ */ jsxs(Stack, { direction: "row", pad: "inset", children: [
|
|
769
772
|
/* @__PURE__ */ jsx2(
|
|
770
773
|
StatTile,
|
|
771
774
|
{
|
|
@@ -825,16 +828,16 @@ function AccountPanelView({
|
|
|
825
828
|
noIcon: true,
|
|
826
829
|
label: entry.description,
|
|
827
830
|
meta: entry.source,
|
|
828
|
-
trailing: /* @__PURE__ */ jsx2(
|
|
831
|
+
trailing: /* @__PURE__ */ jsx2(Text, { role: "number", children: formatAmount(entry.amount) })
|
|
829
832
|
},
|
|
830
833
|
entry.id
|
|
831
834
|
)) }),
|
|
832
|
-
state.ledgerHasMore ? /* @__PURE__ */ jsx2(
|
|
835
|
+
state.ledgerHasMore ? /* @__PURE__ */ jsx2(Stack, { pad: "inset", children: /* @__PURE__ */ jsx2(Text, { role: "caption", children: "Older entries are not held by this panel." }) }) : null
|
|
833
836
|
]
|
|
834
837
|
}
|
|
835
838
|
) : null
|
|
836
839
|
] }),
|
|
837
|
-
/* @__PURE__ */ jsx2(
|
|
840
|
+
/* @__PURE__ */ jsx2(Stack, { pad: "inset", children: /* @__PURE__ */ jsx2(Text, { role: "caption", children: "Billing and sign-out ask you to confirm who you are." }) }),
|
|
838
841
|
/* @__PURE__ */ jsx2(
|
|
839
842
|
Toolbar,
|
|
840
843
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xenosystem/blocks",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "XENO Blocks — rung 3 of the front ladder: components composed into a contract-bearing unit (manifest: ports, intents, commands, agent surface), rendered by @xenosystem/workbench. ONE package, one subpath per family (/auth, /edit, /data, /time, /ops, /trust, /agent), one named export per block — XENO PACKAGE NAMING - STANDARD.md.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@duckdb/duckdb-wasm": ">=1.28.0",
|
|
62
62
|
"@xenosystem/block-sdk": "^0.3.0",
|
|
63
|
-
"@xenosystem/components": ">=0.9.
|
|
63
|
+
"@xenosystem/components": ">=0.9.3 <1",
|
|
64
64
|
"@xenosystem/data-core": "^0.1.0",
|
|
65
65
|
"@xenosystem/elements-react": ">=0.0.1",
|
|
66
66
|
"@xenosystem/time-core": "^0.1.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@types/react": "^19.0.0",
|
|
77
77
|
"@types/react-dom": "^19.0.0",
|
|
78
78
|
"@xenosystem/block-sdk": "^0.3.1",
|
|
79
|
-
"@xenosystem/components": "^0.9.
|
|
79
|
+
"@xenosystem/components": "^0.9.3",
|
|
80
80
|
"@xenosystem/data-core": "^0.1.0",
|
|
81
81
|
"@xenosystem/elements-react": "0.0.1",
|
|
82
82
|
"@xenosystem/time-core": "^0.1.0",
|