ionbase-ui 0.24.0 → 0.26.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/AgentActivity.d.ts +41 -0
- package/dist/components/AgentActivity.d.ts.map +1 -0
- package/dist/components/AgentActivity.js +84 -0
- package/dist/components/AgentActivity.js.map +1 -0
- package/dist/components/Citation.d.ts +51 -0
- package/dist/components/Citation.d.ts.map +1 -0
- package/dist/components/Citation.js +41 -0
- package/dist/components/Citation.js.map +1 -0
- package/dist/components/ConfidenceIndicator.d.ts +37 -0
- package/dist/components/ConfidenceIndicator.d.ts.map +1 -0
- package/dist/components/ConfidenceIndicator.js +41 -0
- package/dist/components/ConfidenceIndicator.js.map +1 -0
- package/dist/components/StreamingText.d.ts +47 -0
- package/dist/components/StreamingText.d.ts.map +1 -0
- package/dist/components/StreamingText.js +44 -0
- package/dist/components/StreamingText.js.map +1 -0
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/figma-descriptions.json +29 -29
- package/dist/figma-map.json +20 -1
- package/dist/meta/AgentActivity.json +103 -0
- package/dist/meta/AgentActivityStep.json +117 -0
- package/dist/meta/Citation.json +101 -0
- package/dist/meta/CitationList.json +94 -0
- package/dist/meta/CitationListItem.json +88 -0
- package/dist/meta/ConfidenceIndicator.json +115 -0
- package/dist/meta/Input.json +2 -2
- package/dist/meta/PhoneInput.json +2 -2
- package/dist/meta/StreamingText.json +99 -0
- package/dist/meta/components.json +722 -5
- package/dist/meta/contrast.json +240 -0
- package/dist/meta/index.json +64 -1
- package/dist/meta/patterns/index.json +1 -1
- package/dist/styles/agent-activity.css +95 -0
- package/dist/styles/citation.css +93 -0
- package/dist/styles/confidence-indicator.css +97 -0
- package/dist/styles/index.css +4 -0
- package/dist/styles/streaming-text.css +56 -0
- package/llms.txt +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* StreamingText
|
|
3
|
+
*
|
|
4
|
+
* NOT DRAWN IN FIGMA. Type and rhythm come from the body tokens, so this is
|
|
5
|
+
* ordinary prose that happens to be arriving late.
|
|
6
|
+
*/
|
|
7
|
+
.ion-streaming-text {
|
|
8
|
+
color: var(--text-default);
|
|
9
|
+
font-family: var(--font-family-sans);
|
|
10
|
+
font-size: var(--type-body);
|
|
11
|
+
line-height: var(--type-body-line-height);
|
|
12
|
+
white-space: pre-wrap;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/*
|
|
16
|
+
* Reserve the height rather than growing into it. `lh` is the line box of THIS
|
|
17
|
+
* element, so the reserved space tracks the font size instead of a guessed
|
|
18
|
+
* pixel value — which is what makes it hold at any zoom level.
|
|
19
|
+
*/
|
|
20
|
+
.ion-streaming-text--reserved {
|
|
21
|
+
min-height: calc(var(--ion-streaming-min-lines, 3) * 1lh);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* The cursor is a box, not a text character: a literal "▌" is read aloud by
|
|
26
|
+
* some screen readers even inside an aria-hidden span, and it inherits font
|
|
27
|
+
* metrics that differ per family.
|
|
28
|
+
*/
|
|
29
|
+
.ion-streaming-text__cursor {
|
|
30
|
+
display: inline-block;
|
|
31
|
+
width: 0.5em;
|
|
32
|
+
height: 1em;
|
|
33
|
+
margin-inline-start: 0.1em;
|
|
34
|
+
vertical-align: text-bottom;
|
|
35
|
+
background-color: var(--text-tertiary);
|
|
36
|
+
animation: ion-streaming-blink 1s step-end infinite;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@keyframes ion-streaming-blink {
|
|
40
|
+
50% {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* Blinking is a WCAG 2.3.1 concern and a real problem for some vestibular and
|
|
47
|
+
* attention conditions. The global reduced-motion block in index.css collapses
|
|
48
|
+
* the duration, which would leave the cursor stuck mid-blink — so pin it
|
|
49
|
+
* visible here instead of merely stopping the animation.
|
|
50
|
+
*/
|
|
51
|
+
@media (prefers-reduced-motion: reduce) {
|
|
52
|
+
.ion-streaming-text__cursor {
|
|
53
|
+
animation: none;
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
package/llms.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> IonBase is a React design system for enterprise SaaS, built to be consumed by an agent rather than read by a developer. Every component ships a machine-readable contract carrying the judgement a type signature cannot: when to use it, what to use instead, the anti-patterns, and what it guarantees for accessibility versus what it requires of you.
|
|
4
4
|
|
|
5
|
-
Version 0.
|
|
5
|
+
Version 0.26.0. 44 components.
|
|
6
6
|
|
|
7
7
|
## Read these, in this order
|
|
8
8
|
|
|
@@ -13,7 +13,7 @@ Both are importable: `ionbase-ui/meta/index` and `ionbase-ui/meta/<Name>.json`.
|
|
|
13
13
|
|
|
14
14
|
## Components
|
|
15
15
|
|
|
16
|
-
`AgentStop`, `Alert`, `ApprovalGate`, `Avatar`, `AvatarGroup`, `Badge`, `Button`, `Checkbox`, `Divider`, `FullCard`, `Header`, `Icon`, `Input`, `Link`, `Logo`, `LogoMark`, `Menu`, `MenuItem`, `Modal`, `NavItem`, `PhoneInput`, `Popover`, `Radio`, `RadioGroup`, `ScrollProgress`, `Select`, `TabItem`, `Table`, `TableBody`, `TableCell`, `TableHead`, `TableRow`, `Tabs`, `Toast`, `ToastProvider`, `Toggle`, `Tooltip`
|
|
16
|
+
`AgentActivity`, `AgentActivityStep`, `AgentStop`, `Alert`, `ApprovalGate`, `Avatar`, `AvatarGroup`, `Badge`, `Button`, `Checkbox`, `Citation`, `CitationList`, `CitationListItem`, `ConfidenceIndicator`, `Divider`, `FullCard`, `Header`, `Icon`, `Input`, `Link`, `Logo`, `LogoMark`, `Menu`, `MenuItem`, `Modal`, `NavItem`, `PhoneInput`, `Popover`, `Radio`, `RadioGroup`, `ScrollProgress`, `Select`, `StreamingText`, `TabItem`, `Table`, `TableBody`, `TableCell`, `TableHead`, `TableRow`, `Tabs`, `Toast`, `ToastProvider`, `Toggle`, `Tooltip`
|
|
17
17
|
|
|
18
18
|
## Patterns
|
|
19
19
|
|