@llmnative/react 1.19.4 → 1.19.5
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +87 -49
- package/dist/index.mjs.map +1 -1
- package/dist/types/src/I18n.d.ts +6 -0
- package/llms-full.txt +7 -3
- package/package.json +1 -1
package/dist/types/src/I18n.d.ts
CHANGED
|
@@ -173,6 +173,12 @@ export interface I18nDict {
|
|
|
173
173
|
dragToResize: string;
|
|
174
174
|
dragHere: string;
|
|
175
175
|
};
|
|
176
|
+
sideNav: {
|
|
177
|
+
expandGroup: string;
|
|
178
|
+
collapseGroup: string;
|
|
179
|
+
expandSidebar: string;
|
|
180
|
+
collapseSidebar: string;
|
|
181
|
+
};
|
|
176
182
|
addressAutocomplete: {
|
|
177
183
|
placeholder: string;
|
|
178
184
|
noResults: string;
|
package/llms-full.txt
CHANGED
|
@@ -642,12 +642,15 @@ Accessibilità: il dialog ha `role="dialog"`, `aria-modal="true"` (non con `stac
|
|
|
642
642
|
|
|
643
643
|
### Tab
|
|
644
644
|
```tsx
|
|
645
|
+
import { Tab, TabItem } from '@llmnative/react'
|
|
646
|
+
|
|
645
647
|
<Tab defaultIndex={0} layout="top">
|
|
646
|
-
<
|
|
647
|
-
<
|
|
648
|
+
<TabItem label="Generale">{content1}</TabItem>
|
|
649
|
+
<TabItem label="SEO">{content2}</TabItem>
|
|
648
650
|
</Tab>
|
|
649
651
|
```
|
|
650
652
|
`layout`: `'default' | 'top' | 'left' | 'right' | 'bottom'`
|
|
653
|
+
Le schede sono `<TabItem>`, export separato: `Tab.Item` non esiste.
|
|
651
654
|
|
|
652
655
|
### Image
|
|
653
656
|
```tsx
|
|
@@ -760,7 +763,8 @@ utile quando un comando cambia famiglia sintattica (per esempio da `{{ ... }}` a
|
|
|
760
763
|
```tsx
|
|
761
764
|
<Icon name="user" size={20} /> // usa provider icone configurato
|
|
762
765
|
<ImageAvatar src="..." label="Mario" size={40} />
|
|
763
|
-
<Loader
|
|
766
|
+
<Loader show={isLoading}>{content}</Loader> // indicatore al posto dei figli finché show è true
|
|
767
|
+
<Loader show>{null}</Loader> // solo indicatore (es. pagina in caricamento)
|
|
764
768
|
<Code language="tsx">{snippet}</Code> // syntax highlight
|
|
765
769
|
<GridSystem.Row><GridSystem.Col xs={12} md={6}>...</GridSystem.Col></GridSystem.Row>
|
|
766
770
|
<LocaleSwitcher locales={[{ code: 'it', label: 'Italiano' }]} />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmnative/react",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.5",
|
|
4
4
|
"description": "LLM-native React framework for deterministic UI generation. Data-driven by default, schema-driven optional. Ultra-low token consumption — built for AI agents, not just humans.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|