anbaric 1.66.0 → 1.66.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.
|
@@ -59,7 +59,18 @@ foot of the page or the bottom of the nav. It's an attribution, not a feature:
|
|
|
59
59
|
small type, a muted tint, the ident (its Asriel Ink is near enough black) at
|
|
60
60
|
text height, and nothing that draws the eye away from the app's own UI.
|
|
61
61
|
|
|
62
|
-
With the design system
|
|
62
|
+
With the design system's left rail you get it for free: `AppNav` **without an
|
|
63
|
+
`account`** is the app variant, and puts the attribution at the foot of the rail.
|
|
64
|
+
Don't pass an account in an app — the account menu is the console's; an app has
|
|
65
|
+
no identity to show there and ends up displaying raw OAuth ids and empty menus.
|
|
66
|
+
|
|
67
|
+
```tsx
|
|
68
|
+
import { AppNav } from '@anbaric/design-system/components/AppNav'
|
|
69
|
+
|
|
70
|
+
<AppNav items={[{ label: 'Orders', value: 'orders', icon: 'receipt_long' }]} active={page} onChange={setPage} />
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Without the rail, it's one component at the foot of the page:
|
|
63
74
|
|
|
64
75
|
```tsx
|
|
65
76
|
import { BuiltWithAnbaric } from '@anbaric/design-system/components/BuiltWithAnbaric'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anbaric",
|
|
3
|
-
"version": "1.66.
|
|
3
|
+
"version": "1.66.1",
|
|
4
4
|
"description": "Everything needed to write an Anbaric app: state machines, jobs, document and secret stores, local in-memory implementations and the Anbaric Cloud clients",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"prepublishOnly": "npm run build"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"anbaric-impl-cloud": "^1.66.
|
|
28
|
-
"anbaric-data-store": "^1.66.
|
|
29
|
-
"anbaric-state-machine": "^1.66.
|
|
30
|
-
"anbaric-tsapi": "^1.66.
|
|
27
|
+
"anbaric-impl-cloud": "^1.66.1",
|
|
28
|
+
"anbaric-data-store": "^1.66.1",
|
|
29
|
+
"anbaric-state-machine": "^1.66.1",
|
|
30
|
+
"anbaric-tsapi": "^1.66.1"
|
|
31
31
|
}
|
|
32
32
|
}
|