@neuronection/assistant-ui 0.8.0 → 0.9.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/CHANGELOG.md +19 -0
- package/README.md +45 -53
- package/dist/Logo-D8DEBUoL.d.ts +11 -0
- package/dist/about.d.ts +124 -0
- package/dist/about.js +3 -0
- package/dist/about.js.map +1 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/card.js +1 -1
- package/dist/chip-list.js +1 -1
- package/dist/chunk-3QGVWTBU.js +475 -0
- package/dist/chunk-3QGVWTBU.js.map +1 -0
- package/dist/chunk-7EG3AUTS.js +3 -0
- package/dist/chunk-7EG3AUTS.js.map +1 -0
- package/dist/chunk-A6RXCBJY.js +3 -0
- package/dist/chunk-A6RXCBJY.js.map +1 -0
- package/dist/chunk-CE7JZP67.js +3 -0
- package/dist/chunk-CE7JZP67.js.map +1 -0
- package/dist/{chunk-ERK53RFJ.js → chunk-CR42EAF4.js} +3 -3
- package/dist/chunk-CR42EAF4.js.map +1 -0
- package/dist/{chunk-SKTLC2XY.js → chunk-F4DP4PIM.js} +2 -2
- package/dist/{chunk-SKTLC2XY.js.map → chunk-F4DP4PIM.js.map} +1 -1
- package/dist/{chunk-TJLELOAW.js → chunk-GVOC3ARM.js} +3 -3
- package/dist/{chunk-TJLELOAW.js.map → chunk-GVOC3ARM.js.map} +1 -1
- package/dist/chunk-Q2JMEAKN.js +340 -0
- package/dist/chunk-Q2JMEAKN.js.map +1 -0
- package/dist/{chunk-BN3YHYYL.js → chunk-QUPGIPTT.js} +2 -2
- package/dist/{chunk-BN3YHYYL.js.map → chunk-QUPGIPTT.js.map} +1 -1
- package/dist/{chunk-HSWSYEFQ.js → chunk-RYE5YCFF.js} +2 -2
- package/dist/{chunk-HSWSYEFQ.js.map → chunk-RYE5YCFF.js.map} +1 -1
- package/dist/chunk-VPLCX2A5.js +3 -0
- package/dist/chunk-VPLCX2A5.js.map +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/dist/logo.d.ts +18 -0
- package/dist/logo.js +3 -0
- package/dist/logo.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/time-list.js +1 -1
- package/dist/time-picker.js +1 -1
- package/package.json +11 -1
- package/dist/chunk-ERK53RFJ.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @neuronection/assistant-ui
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`71f029b`](https://github.com/neuronection/assistant-ui/commit/71f029b3193460db28293b811186a2f46516bf10) Thanks [@constLiakos](https://github.com/constLiakos)! - Add about module: a uniform family "about page" kit. `AboutPanel` composes hero (logo, name, tagline, version badge), creator/license/links cards, tech chips, a toned note (e.g. medical disclaimer), the `FamilyBadge` showcase and a version/copyright footer — all content via props so apps keep their i18n and data. `FamilyBadge` presents the Neuronection brand lockup (mark + wordmark), an open-source/self-hosted family blurb, a prominent hub CTA, and one tile per app (logo, name, tagline, links to its presentation page, GitHub and website where applicable) with the current app highlighted. Building blocks (`AboutCard`, `AboutLinkList`, `AboutNote`, `AboutFooterLine`, `FamilyBadge`, `TechChips`) are also exported individually.
|
|
8
|
+
|
|
9
|
+
- [`71f029b`](https://github.com/neuronection/assistant-ui/commit/71f029b3193460db28293b811186a2f46516bf10) Thanks [@constLiakos](https://github.com/constLiakos)! - Add logo module with inline brand marks for the Assistant family: `NeuronectionMark`, `NeuronectionWordmark`, `CareerMark`, `StudyMark`, `HealthMark`. All are theme-aware (`theme="light" | "dark"`, mirroring the hub artwork pairs), decorative and non-focusable by default, labeled via an optional `title` prop, sized via `size`, and use per-instance gradient ids so several marks can share a page. The wordmark also accepts `mono` for a `currentColor` fill. Brand artwork keeps its fixed fills as a deliberate exception to the semantic-token rule.
|
|
10
|
+
|
|
11
|
+
## 0.8.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`0421e0e`](https://github.com/neuronection/assistant-ui/commit/0421e0e02ed994182ac3d2e79c23f786aff87b36) Thanks [@constLiakos](https://github.com/constLiakos)! - README: family showcase — neuronection.com, the three Assistant apps
|
|
16
|
+
(career / study / health-assistant.io) front and center; complete component
|
|
17
|
+
index incl. PanelModal, Textarea and the dark-mode / z-token theming notes.
|
|
18
|
+
Docs: correct CSS import order in theming.md, TW3 translate-collision +
|
|
19
|
+
z-index notes in adoption.md, positioning/z-index/audit-import rules in
|
|
20
|
+
adding-a-component.md, AGENTS.md gotchas updated.
|
|
21
|
+
|
|
3
22
|
## 0.8.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
# assistant-ui
|
|
2
2
|
|
|
3
|
-
Shared React component library for the **Assistant family**
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
Shared React component library for the **Assistant family** — three sibling
|
|
4
|
+
apps that AI-help people with career, study, and health. One package, three
|
|
5
|
+
apps: family look by default, app flavor via CSS-variable design tokens.
|
|
6
|
+
Works in React 18 & 19 and alongside Tailwind 3 or 4 — the library ships
|
|
7
|
+
**precompiled CSS**, so your app's Tailwind never compiles library classes.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
**[neuronection.com](https://neuronection.com)** — the family hub.
|
|
10
|
+
|
|
11
|
+
| App | What it is |
|
|
12
|
+
|---|---|
|
|
13
|
+
| [**career-assistant**](https://github.com/neuronection/career-assistant) | Job discovery, AI matching and university pathways for students |
|
|
14
|
+
| [**study-assistant**](https://github.com/neuronection/study-assistant) | Study workspace: notes, materials, chat with math & code rendering |
|
|
15
|
+
| [**health-assistant**](https://health-assistant.io) | Universal health data platform — self-hosted, privacy-first, [open source](https://github.com/health-assistant-io/health-assistant) |
|
|
16
|
+
|
|
17
|
+
The family shares its UI DNA here: **40+ modules, 260+ tests** (keyboard-nav
|
|
18
|
+
+ axe per component), built on Radix, token-themed so every app looks like a
|
|
19
|
+
sibling without sharing a stack. Patterns the apps actually use — provider &
|
|
20
|
+
model settings blocks, AI affordances (ask/fill/act), date & clock pickers,
|
|
21
|
+
async comboboxes, file attachment surfaces — live in the package, not
|
|
22
|
+
copy-pasted in three repos.
|
|
12
23
|
|
|
13
24
|
## Install
|
|
14
25
|
|
|
@@ -30,8 +41,8 @@ import { Button, ConfirmationModal, Input } from '@neuronection/assistant-ui'
|
|
|
30
41
|
## Theming
|
|
31
42
|
|
|
32
43
|
All visuals flow through `--as-*` CSS variables. The defaults are the family
|
|
33
|
-
look (extracted from study-assistant); each app overrides identity tokens in
|
|
34
|
-
small `theme.css`:
|
|
44
|
+
look (extracted from study-assistant); each app overrides identity tokens in
|
|
45
|
+
a small `theme.css`:
|
|
35
46
|
|
|
36
47
|
```css
|
|
37
48
|
:root {
|
|
@@ -40,28 +51,10 @@ small `theme.css`:
|
|
|
40
51
|
}
|
|
41
52
|
```
|
|
42
53
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## Peer requirements
|
|
48
|
-
|
|
49
|
-
| Package | Range |
|
|
50
|
-
|---|---|
|
|
51
|
-
| react / react-dom | `>=18 <20` |
|
|
52
|
-
| lucide-react | `>=0.460 <2` |
|
|
53
|
-
|
|
54
|
-
Tailwind is **not** required — but if your app uses Tailwind 3 or 4, both work
|
|
55
|
-
without configuration. Do **not** add this package to your Tailwind
|
|
56
|
-
`content`/`@source`.
|
|
57
|
-
|
|
58
|
-
## Documentation
|
|
59
|
-
|
|
60
|
-
- [Local development](./docs/local-development.md) — live-test library changes in the family apps without publishing
|
|
61
|
-
- [Adopting in an app](./docs/adoption.md) — the install/switchover recipe each family app follows
|
|
62
|
-
- [Theming](./docs/theming.md) — tokens, app themes, styling hooks
|
|
63
|
-
- [Publishing](./docs/publishing.md) — the Changesets release flow and CI setup
|
|
64
|
-
- [Adding a component](./docs/adding-a-component.md) — rules, checklist, required companions
|
|
54
|
+
Dark mode is the same story: remap the tokens under `.dark` (health-assistant
|
|
55
|
+
ships a class-based dark theme this way) — no component rewrites. Overlay
|
|
56
|
+
stacking is token-driven too (`--as-z-modal`, `--as-z-popover`) so library
|
|
57
|
+
dialogs clear your app chrome. Full guide: [docs/theming.md](./docs/theming.md).
|
|
65
58
|
|
|
66
59
|
## Components
|
|
67
60
|
|
|
@@ -74,26 +67,25 @@ files in the package's `dist/`. Visual reference:
|
|
|
74
67
|
| Module | Exports |
|
|
75
68
|
|---|---|
|
|
76
69
|
| `button` / `badge` / `card` | `Button`, `buttonVariants` · `Badge`, `badgeVariants` · `Card`, `CardHeader/Title/Description/Content/Footer` |
|
|
77
|
-
| `modal` / `
|
|
70
|
+
| `modal` / `panel-modal` | `Modal` + parts (compound Radix dialog) · `PanelModal` (header/body/footer shell, full-screen on mobile) |
|
|
71
|
+
| `confirmation-modal` / `form-modal` | `ConfirmationModal` · `FormModal` (form-in-modal shell: `headerActions`, reject button, busy states) |
|
|
78
72
|
| `popover` / `popover-button` | compound Radix `Popover` + parts · `PopoverButton` (self-contained trigger + panel, hover-open, lazy children, `closeSignal`) |
|
|
79
73
|
| `menu` / `context-menu` | `Menu`, `MenuTrigger/Content/Item/Separator/Label`, `ActionMenu` (items-driven) · `ContextMenu` (coordinate-anchored, `{x, y, items, onClose}`) |
|
|
80
|
-
| `combobox` | `Combobox`, `ComboboxMulti` — async mode (`onSearchChange` + `loading`), grouping, full keyboard nav |
|
|
74
|
+
| `combobox` | `Combobox`, `ComboboxMulti` — async mode (`onSearchChange` + `loading`), grouping, capability badges, full keyboard nav |
|
|
81
75
|
| `tooltip` | `Tooltip` + parts, `InfoTooltip` |
|
|
82
76
|
| `wizard` | `Wizard` (steps config + `renderStep`, per-step validation gates, modal/drawer variants), `Stepper` (dots/labels) |
|
|
83
|
-
| `input` / `search-input` / `expandable-search` | `Input` (label/hint/error wiring) · `SearchInput` · `ExpandableSearch` |
|
|
77
|
+
| `input` / `textarea` / `search-input` / `expandable-search` | `Input` (label/hint/error wiring) · `Textarea` · `SearchInput` · `ExpandableSearch` |
|
|
84
78
|
| `chip-input` / `chip-list` | `ChipInput` (Enter/comma commit, paste-splits, Backspace-removes) · `ChipList` (variant pills, clickable, removable) |
|
|
85
|
-
| `time-picker` / `time-list` | `TimePicker` (clock face, 24h value, 12h UI) · `TimeList` (time chips) |
|
|
86
|
-
| `date-picker` | `DatePicker` (popover calendar: days/months/years views, min/max, `allowClear`, arrow-key day grid) |
|
|
79
|
+
| `time-picker` / `time-list` | `TimePicker` (clock face, 24h value, 12h UI, editable fields) · `TimeList` (time chips with per-chip pickers) |
|
|
80
|
+
| `date-picker` | `DatePicker` (popover calendar: days/months/years views, min/max, `allowClear`, arrow-key day grid, `unstyled` variant) |
|
|
87
81
|
| `range-bar` / `scale-slider` | `RangeBar` (low–high band + value dot) · `ScaleSlider` (+ `scaleColorForValue`) |
|
|
88
|
-
| `table` | `Table` (headers/rows,
|
|
82
|
+
| `table` | `Table` (headers/rows, opt-in empty state) |
|
|
89
83
|
| `check-indicator` / `selection-bar` / `view-toggle` | `CheckIndicator` (tri-state) · `SelectionBar` (bulk-select bar) · `ViewToggle` (grid/list) |
|
|
90
84
|
| `error-banner` / `undo-notice` / `empty-state` / `spinner` | presentational feedback: alert banner with `action` slot · undo toast · `EmptyState` · `Spinner` |
|
|
91
|
-
| `info-button` / `field-label` | `InfoButton` (
|
|
85
|
+
| `info-button` / `field-label` / `copy-button` / `breadcrumbs` | `InfoButton` · `FieldLabel` · `CopyButton` (clipboard + copied state) · `Breadcrumbs` (SPA links via `linkComponent`) |
|
|
86
|
+
| `ai-button` / `ai-actions-dropdown` / `ai-magic-fill` | AI affordances: ask-with-suggestions (controlled open, icon-only mode) · action menu + custom prompt · describe-in-words fill modal — API calls stay app-side |
|
|
87
|
+
| `settings-shell` / `provider-form` / `connection-test-row` | `SettingsShell` (controlled two-pane nav) · `ProviderForm` (write-only API-key field) · `ConnectionTestRow` (idle/testing/ok/fail + latency) |
|
|
92
88
|
| `model-picker` / `task-assignment-picker` | `ModelPicker` (grouped provider→model combobox, capability chips) · `TaskAssignmentPicker` (task → model mapping rows) |
|
|
93
|
-
| `settings-shell` / `provider-form` / `connection-test-row` | `SettingsShell` (controlled two-pane nav) · `ProviderForm` (write-only key field) · `ConnectionTestRow` (idle/testing/ok/fail) |
|
|
94
|
-
| `copy-button` / `breadcrumbs` | `CopyButton` (clipboard + copied state) · `Breadcrumbs` (SPA links via `linkComponent`) |
|
|
95
|
-
| `ai-magic-fill` | `AiMagicFill` (describe-in-words → structured data prompt modal; app applies the data) |
|
|
96
|
-
| `ai-button` / `ai-actions-dropdown` | `AiButton` (suggestions + prompt + response slot) · `AiActionsDropdown` (action list + custom prompt) |
|
|
97
89
|
| `upload-dropzone` / `file-card` / `file-queue` | file attachment surface: dropzone (block/row) · card (status, include toggle) · queue (summary + reorder) |
|
|
98
90
|
| `marquee` | `useMarquee`, `MarqueeSurface`, `MarqueeBand` (rubber-band selection) |
|
|
99
91
|
| `portal` / `theme-scope` / `tokens` | `Portal` · `ThemeScope` · token name lists + types |
|
|
@@ -103,6 +95,15 @@ where it makes sense, refs forwarded everywhere, English label props with
|
|
|
103
95
|
defaults (translate at call sites), icons as props. No fetching, no stores,
|
|
104
96
|
no router — data in, events out.
|
|
105
97
|
|
|
98
|
+
## Documentation
|
|
99
|
+
|
|
100
|
+
- [Adopting in an app](./docs/adoption.md) — the install/switchover recipe each family app follows (incl. the TW3 cascade notes)
|
|
101
|
+
- [Theming](./docs/theming.md) — tokens, app themes, dark mode, styling hooks
|
|
102
|
+
- [Accessibility](./docs/accessibility.md) — the keyboard + ARIA contract per module (test-asserted)
|
|
103
|
+
- [Adding a component](./docs/adding-a-component.md) — rules, checklist, required companions
|
|
104
|
+
- [Local development](./docs/local-development.md) — live-test library changes in the family apps without publishing
|
|
105
|
+
- [Publishing](./docs/publishing.md) — the Changesets release flow and CI setup
|
|
106
|
+
|
|
106
107
|
## Development
|
|
107
108
|
|
|
108
109
|
```bash
|
|
@@ -110,16 +111,7 @@ pnpm install
|
|
|
110
111
|
pnpm dev # Ladle playground on :61000 (CSS watches alongside)
|
|
111
112
|
pnpm test --watch
|
|
112
113
|
pnpm verify # lint + typecheck + test + build
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Testing library changes inside a real app (no publishing needed) — full
|
|
116
|
-
guide in [docs/local-development.md](./docs/local-development.md):
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
pnpm watch # library: rebuild TS + CSS on change
|
|
120
|
-
node scripts/dev-link.mjs link <app-dir> # wire app (pnpm override / npm file:)
|
|
121
|
-
# ...run the app dev server; reload picks up library changes
|
|
122
|
-
node scripts/dev-link.mjs unlink <app-dir> # restore before committing in the app
|
|
114
|
+
pnpm test:visual # Playwright screenshots of every story vs committed baselines
|
|
123
115
|
```
|
|
124
116
|
|
|
125
117
|
Releases happen via [Changesets](./CONTRIBUTING.md) — CI publishes, never a
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type LogoTheme = 'light' | 'dark';
|
|
4
|
+
interface LogoProps extends Omit<React.ComponentProps<'svg'>, 'children'> {
|
|
5
|
+
size?: number | string;
|
|
6
|
+
theme?: LogoTheme;
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const useLogoId: () => string;
|
|
10
|
+
|
|
11
|
+
export { type LogoProps as L, type LogoTheme as a, useLogoId as u };
|
package/dist/about.d.ts
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
import { a as LogoTheme } from './Logo-D8DEBUoL.js';
|
|
5
|
+
|
|
6
|
+
interface AboutCardProps extends Omit<React.ComponentProps<'div'>, 'title'> {
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
title: React.ReactNode;
|
|
9
|
+
description?: React.ReactNode;
|
|
10
|
+
heading?: 'h2' | 'h3' | 'h4';
|
|
11
|
+
}
|
|
12
|
+
declare const AboutCard: React.ForwardRefExoticComponent<Omit<AboutCardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
|
|
14
|
+
interface AboutLinkItem {
|
|
15
|
+
href?: string;
|
|
16
|
+
label: React.ReactNode;
|
|
17
|
+
subtitle?: React.ReactNode;
|
|
18
|
+
icon?: React.ComponentType<{
|
|
19
|
+
className?: string;
|
|
20
|
+
}>;
|
|
21
|
+
external?: boolean;
|
|
22
|
+
group?: React.ReactNode;
|
|
23
|
+
copyValue?: string;
|
|
24
|
+
copyLabel?: string;
|
|
25
|
+
copiedLabel?: string;
|
|
26
|
+
}
|
|
27
|
+
interface AboutLinkListProps extends React.ComponentProps<'ul'> {
|
|
28
|
+
links: ReadonlyArray<AboutLinkItem>;
|
|
29
|
+
}
|
|
30
|
+
declare const AboutLinkList: React.ForwardRefExoticComponent<Omit<AboutLinkListProps, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
31
|
+
|
|
32
|
+
declare const noteStyles: (props?: ({
|
|
33
|
+
tone?: "info" | "warning" | null | undefined;
|
|
34
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
|
+
interface AboutNoteProps extends Omit<React.ComponentProps<'div'>, 'title'>, VariantProps<typeof noteStyles> {
|
|
36
|
+
title?: React.ReactNode;
|
|
37
|
+
}
|
|
38
|
+
declare const AboutNote: React.ForwardRefExoticComponent<Omit<AboutNoteProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
|
|
40
|
+
interface AboutFooterLineProps extends React.ComponentProps<'p'> {
|
|
41
|
+
version?: string;
|
|
42
|
+
copyright?: React.ReactNode;
|
|
43
|
+
}
|
|
44
|
+
declare const AboutFooterLine: React.ForwardRefExoticComponent<Omit<AboutFooterLineProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
45
|
+
|
|
46
|
+
type FamilyApp = 'health' | 'career' | 'study';
|
|
47
|
+
interface FamilyMember {
|
|
48
|
+
app: FamilyApp;
|
|
49
|
+
name: string;
|
|
50
|
+
tagline?: string;
|
|
51
|
+
href?: string;
|
|
52
|
+
github?: string;
|
|
53
|
+
website?: string;
|
|
54
|
+
}
|
|
55
|
+
interface FamilyCreator {
|
|
56
|
+
name: React.ReactNode;
|
|
57
|
+
role?: React.ReactNode;
|
|
58
|
+
href?: string;
|
|
59
|
+
}
|
|
60
|
+
interface FamilyBadgeProps extends Omit<React.ComponentProps<'div'>, 'title'> {
|
|
61
|
+
current: FamilyApp;
|
|
62
|
+
members?: ReadonlyArray<FamilyMember>;
|
|
63
|
+
creator?: FamilyCreator;
|
|
64
|
+
creatorLabel?: string;
|
|
65
|
+
hubUrl?: string;
|
|
66
|
+
label?: string;
|
|
67
|
+
blurb?: React.ReactNode;
|
|
68
|
+
ctaLabel?: string;
|
|
69
|
+
currentLabel?: string;
|
|
70
|
+
githubLabel?: string;
|
|
71
|
+
websiteLabel?: string;
|
|
72
|
+
theme?: LogoTheme;
|
|
73
|
+
}
|
|
74
|
+
declare const FamilyBadge: React.ForwardRefExoticComponent<Omit<FamilyBadgeProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
75
|
+
|
|
76
|
+
interface TechChipsProps extends React.ComponentProps<'div'> {
|
|
77
|
+
items: ReadonlyArray<string | null | undefined>;
|
|
78
|
+
}
|
|
79
|
+
declare const TechChips: React.ForwardRefExoticComponent<Omit<TechChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
80
|
+
|
|
81
|
+
interface AboutCreator {
|
|
82
|
+
name: React.ReactNode;
|
|
83
|
+
role?: React.ReactNode;
|
|
84
|
+
href?: string;
|
|
85
|
+
links?: ReadonlyArray<AboutLinkItem>;
|
|
86
|
+
}
|
|
87
|
+
interface AboutLicense {
|
|
88
|
+
name: string;
|
|
89
|
+
href?: string;
|
|
90
|
+
}
|
|
91
|
+
interface AboutNoteContent {
|
|
92
|
+
tone?: 'info' | 'warning';
|
|
93
|
+
title?: React.ReactNode;
|
|
94
|
+
children: React.ReactNode;
|
|
95
|
+
}
|
|
96
|
+
interface AboutPanelProps extends React.ComponentProps<'div'> {
|
|
97
|
+
appName: string;
|
|
98
|
+
familyCurrent?: FamilyApp;
|
|
99
|
+
logo?: React.ReactNode;
|
|
100
|
+
tagline?: React.ReactNode;
|
|
101
|
+
description?: React.ReactNode;
|
|
102
|
+
version?: string;
|
|
103
|
+
license?: AboutLicense;
|
|
104
|
+
licenseTitle?: string;
|
|
105
|
+
licenseLinkLabel?: string;
|
|
106
|
+
links?: ReadonlyArray<AboutLinkItem>;
|
|
107
|
+
linksTitle?: string;
|
|
108
|
+
creator?: AboutCreator;
|
|
109
|
+
creatorTitle?: string;
|
|
110
|
+
tech?: ReadonlyArray<string>;
|
|
111
|
+
techTitle?: string;
|
|
112
|
+
note?: AboutNoteContent;
|
|
113
|
+
familyMembers?: ReadonlyArray<FamilyMember>;
|
|
114
|
+
hubUrl?: string;
|
|
115
|
+
familyLabel?: string;
|
|
116
|
+
familyBlurb?: React.ReactNode;
|
|
117
|
+
familyCtaLabel?: string;
|
|
118
|
+
familyCurrentLabel?: string;
|
|
119
|
+
theme?: LogoTheme;
|
|
120
|
+
copyright?: React.ReactNode;
|
|
121
|
+
}
|
|
122
|
+
declare const AboutPanel: React.ForwardRefExoticComponent<Omit<AboutPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
123
|
+
|
|
124
|
+
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, TechChips, type TechChipsProps };
|
package/dist/about.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"about.js"}
|
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "
|
|
6
|
+
variant?: "default" | "warning" | "success" | "danger" | "secondary" | "outline" | "ai" | null | undefined;
|
|
7
7
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface BadgeProps extends React.ComponentProps<'span'>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
package/dist/badge.js
CHANGED
package/dist/card.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-
|
|
1
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './chunk-RYE5YCFF.js';
|
|
2
2
|
//# sourceMappingURL=card.js.map
|
|
3
3
|
//# sourceMappingURL=card.js.map
|
package/dist/chip-list.js
CHANGED