@equal-experts/kuat-react 0.13.1 → 0.14.0-beta.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/README.md +49 -49
- package/agent-docs/AGENTS.md +2 -2
- package/agent-docs/README.md +1 -1
- package/agent-docs/bundle-manifest.json +12 -20
- package/agent-docs/components/components.manifest.json +3 -0
- package/agent-docs/external/kuat-agent-rules/reference/accessibility/README.md +7 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/accessibility}/accessibility.md +12 -10
- package/agent-docs/external/kuat-agent-rules/reference/brand/README.md +9 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/brand}/brand.md +21 -11
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference/brand}/logo.md +5 -4
- package/agent-docs/external/kuat-agent-rules/reference/brand/voice-and-tone.md +166 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/README.md +12 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/formatting.md +120 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/numbers.md +87 -0
- package/agent-docs/external/kuat-agent-rules/reference/content/punctuation.md +94 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations → reference}/content/writing-style.md +7 -2
- package/agent-docs/external/kuat-agent-rules/reference/design-language/README.md +11 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/borders.md +3 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/colours.md +38 -10
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/design-language.md +11 -10
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/spacing.md +4 -3
- package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/README.md +29 -0
- package/agent-docs/external/kuat-agent-rules/reference/design-language/tokens/colors.tokens.json +84 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/foundations/design → reference/design-language}/typography.md +5 -4
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/README.md +10 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/README.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/blog-posts.md +1 -5
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/marketing-content.md +2 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/content/seo.md +2 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/emails.md +3 -9
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-marketing/patterns/README.md +7 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing/scenarios → reference/media-types/web-marketing/patterns}/marketing-pages.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/marketing → reference/media-types/web-marketing}/website.md +7 -22
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/README.md +16 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/accessibility.md +2 -12
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/component-decision-tree.md +3 -18
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/component-registry.md +3 -22
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/README.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/actions.md +1 -7
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/confirmations.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/empty-states.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/errors.md +0 -6
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/forms.md +1 -7
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/content/product-content.md +1 -11
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/design.md +6 -36
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product → reference/media-types/web-product}/emails.md +3 -9
- package/agent-docs/external/kuat-agent-rules/reference/media-types/web-product/patterns/README.md +10 -0
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/authentication.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/dashboards.md +2 -2
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/documentation.md +3 -3
- package/agent-docs/external/kuat-agent-rules/{kuat-docs/rules/types/web/product/scenarios → reference/media-types/web-product/patterns}/forms.md +3 -3
- package/agent-docs/kuat-docs/rules/README.md +37 -30
- package/agent-docs/kuat-docs/rules/design/layouts.md +1 -1
- package/agent-docs/kuat-docs/rules/scenarios/README.md +1 -1
- package/agent-docs/manifest.json +3 -3
- package/agent-docs/rules/LOADING-consumer.md +5 -5
- package/dist/components/ui/carousel/carousel.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/LOADING.md +0 -166
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/README.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/formatting.md +0 -93
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md +0 -69
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/punctuation.md +0 -75
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/content/voice-and-tone.md +0 -263
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/foundations/design/README.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/marketing/scenarios/README.md +0 -18
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/DEPRECATIONS.md +0 -28
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/README.md +0 -65
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-checklist.md +0 -57
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/review-context.md +0 -44
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/scenarios/README.md +0 -82
- package/agent-docs/external/kuat-agent-rules/kuat-docs/rules/types/web/product/technical.md +0 -488
|
@@ -188,7 +188,7 @@ Dashboards benefit from persistent navigation and maximum content width.
|
|
|
188
188
|
|
|
189
189
|
## Accessibility
|
|
190
190
|
|
|
191
|
-
**Base requirements:** See [foundations
|
|
191
|
+
**Base requirements:** See [accessibility foundations](../../../accessibility/accessibility.md) and [web accessibility](../accessibility.md)
|
|
192
192
|
|
|
193
193
|
**Scenario-specific:**
|
|
194
194
|
|
|
@@ -310,4 +310,4 @@ Use for complex filtering (10+ filter options):
|
|
|
310
310
|
## Related Documentation
|
|
311
311
|
|
|
312
312
|
- [Product Design](../design.md) - Sidebar Navigation layout
|
|
313
|
-
- [
|
|
313
|
+
- [Accessibility foundations](../../../accessibility/accessibility.md) - Color and contrast
|
|
@@ -190,7 +190,7 @@ Docs / Components / Button / Variants
|
|
|
190
190
|
|
|
191
191
|
## Accessibility
|
|
192
192
|
|
|
193
|
-
**Base requirements:** See [foundations
|
|
193
|
+
**Base requirements:** See [accessibility foundations](../../../accessibility/accessibility.md) and [web accessibility](../accessibility.md)
|
|
194
194
|
|
|
195
195
|
**Scenario-specific:**
|
|
196
196
|
|
|
@@ -329,5 +329,5 @@ Docs / Components / Button / Variants
|
|
|
329
329
|
## Related Documentation
|
|
330
330
|
|
|
331
331
|
- [Product Design](../design.md) - Sidebar and Split layouts
|
|
332
|
-
- [
|
|
333
|
-
- [
|
|
332
|
+
- [Accessibility foundations](../../../accessibility/accessibility.md) - Structure and headings
|
|
333
|
+
- [Typography](../../../design-language/typography.md) - Type scale and hierarchy
|
|
@@ -166,7 +166,7 @@ We'll send your receipt to this address.
|
|
|
166
166
|
|
|
167
167
|
## Accessibility
|
|
168
168
|
|
|
169
|
-
**Base requirements:** See [foundations
|
|
169
|
+
**Base requirements:** See [accessibility foundations](../../../accessibility/accessibility.md) and [web accessibility](../accessibility.md)
|
|
170
170
|
|
|
171
171
|
**Scenario-specific:**
|
|
172
172
|
|
|
@@ -235,7 +235,7 @@ Best for: Related fields (names, addresses)
|
|
|
235
235
|
|
|
236
236
|
### Button Placement
|
|
237
237
|
|
|
238
|
-
**Component guide:** `shadcn:button` —
|
|
238
|
+
**Component guide:** `shadcn:button` — the `components/button.md` guide for button behaviour lives in the consumer package `agent-docs/` or overlay (see [component-registry.md](../component-registry.md)).
|
|
239
239
|
|
|
240
240
|
**Single Form:**
|
|
241
241
|
|
|
@@ -358,4 +358,4 @@ Multiple card sections, each independently saveable:
|
|
|
358
358
|
|
|
359
359
|
- [Product Design](../design.md) - Layout options
|
|
360
360
|
- [Web Accessibility](../accessibility.md) - Form validation pattern
|
|
361
|
-
- [Authentication
|
|
361
|
+
- [Authentication Pattern](./authentication.md) - Login/registration forms
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Single entry point for **Equal Experts** canonical rules (vendored copy) and **Kuat**-specific implementation notes. Generic brand doctrine is **not** duplicated here—link targets live under [`external/kuat-agent-rules`](../../external/kuat-agent-rules).
|
|
4
4
|
|
|
5
|
-
> Policy: [Rules source of truth](../setup/rules-source-of-truth.md).
|
|
5
|
+
> Policy: [Rules source of truth](../setup/rules-source-of-truth.md). Upstream is now a passive reference library — start at [`reference/README.md`](../../external/kuat-agent-rules/reference/README.md).
|
|
6
6
|
|
|
7
|
-
**Path prefix (this repo):** `external/kuat-agent-rules/
|
|
7
|
+
**Path prefix (this repo):** `external/kuat-agent-rules/reference/`
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -12,61 +12,68 @@ Single entry point for **Equal Experts** canonical rules (vendored copy) and **K
|
|
|
12
12
|
|
|
13
13
|
Use these files in the synced tree. Paths below are relative to the repo root.
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Reference index & loading
|
|
16
16
|
|
|
17
17
|
| Resource | Path |
|
|
18
18
|
|----------|------|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
19
|
+
| Reference index | [`external/kuat-agent-rules/reference/README.md`](../../external/kuat-agent-rules/reference/README.md) |
|
|
20
|
+
| Migration map (old→new paths) | [`external/kuat-agent-rules/reference/MIGRATION-MAP.md`](../../external/kuat-agent-rules/reference/MIGRATION-MAP.md) |
|
|
21
21
|
|
|
22
|
-
### Foundations — design
|
|
22
|
+
### Foundations — design language
|
|
23
23
|
|
|
24
24
|
| Topic | Path |
|
|
25
25
|
|-------|------|
|
|
26
|
-
| Design language | [`.../
|
|
27
|
-
| Colours | [`.../
|
|
28
|
-
| Typography | [`.../
|
|
29
|
-
| Spacing | [`.../
|
|
30
|
-
| Borders | [`.../
|
|
26
|
+
| Design language | [`.../design-language/design-language.md`](../../external/kuat-agent-rules/reference/design-language/design-language.md) |
|
|
27
|
+
| Colours | [`.../design-language/colours.md`](../../external/kuat-agent-rules/reference/design-language/colours.md) |
|
|
28
|
+
| Typography | [`.../design-language/typography.md`](../../external/kuat-agent-rules/reference/design-language/typography.md) |
|
|
29
|
+
| Spacing | [`.../design-language/spacing.md`](../../external/kuat-agent-rules/reference/design-language/spacing.md) |
|
|
30
|
+
| Borders | [`.../design-language/borders.md`](../../external/kuat-agent-rules/reference/design-language/borders.md) |
|
|
31
31
|
|
|
32
|
-
### Foundations —
|
|
32
|
+
### Foundations — brand
|
|
33
33
|
|
|
34
34
|
| Topic | Path |
|
|
35
35
|
|-------|------|
|
|
36
|
-
|
|
|
36
|
+
| Brand | [`.../brand/brand.md`](../../external/kuat-agent-rules/reference/brand/brand.md) |
|
|
37
|
+
| Logo | [`.../brand/logo.md`](../../external/kuat-agent-rules/reference/brand/logo.md) |
|
|
38
|
+
| Voice and tone | [`.../brand/voice-and-tone.md`](../../external/kuat-agent-rules/reference/brand/voice-and-tone.md) |
|
|
37
39
|
|
|
38
40
|
### Foundations — content
|
|
39
41
|
|
|
40
42
|
| Topic | Path |
|
|
41
43
|
|-------|------|
|
|
42
|
-
| Content index | [`.../
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
| Numbers | [`.../foundations/content/numbers.md`](../../external/kuat-agent-rules/kuat-docs/rules/foundations/content/numbers.md) |
|
|
44
|
+
| Content index | [`.../content/README.md`](../../external/kuat-agent-rules/reference/content/README.md) |
|
|
45
|
+
| Writing style | [`.../content/writing-style.md`](../../external/kuat-agent-rules/reference/content/writing-style.md) |
|
|
46
|
+
| Formatting | [`.../content/formatting.md`](../../external/kuat-agent-rules/reference/content/formatting.md) |
|
|
47
|
+
| Punctuation | [`.../content/punctuation.md`](../../external/kuat-agent-rules/reference/content/punctuation.md) |
|
|
48
|
+
| Numbers | [`.../content/numbers.md`](../../external/kuat-agent-rules/reference/content/numbers.md) |
|
|
48
49
|
|
|
49
|
-
###
|
|
50
|
+
### Foundations — accessibility
|
|
50
51
|
|
|
51
52
|
| Topic | Path |
|
|
52
53
|
|-------|------|
|
|
53
|
-
|
|
|
54
|
-
| Product content | [`.../types/web/product/content/product-content.md`](../../external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/product-content.md) |
|
|
55
|
-
| Product content (directory) | [`.../types/web/product/content/`](../../external/kuat-agent-rules/kuat-docs/rules/types/web/product/content/) |
|
|
54
|
+
| Accessibility | [`.../accessibility/accessibility.md`](../../external/kuat-agent-rules/reference/accessibility/accessibility.md) |
|
|
56
55
|
|
|
57
|
-
###
|
|
56
|
+
### Media types — web product
|
|
58
57
|
|
|
59
58
|
| Topic | Path |
|
|
60
59
|
|-------|------|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
60
|
+
| Product design (layouts / navigation patterns) | [`.../media-types/web-product/design.md`](../../external/kuat-agent-rules/reference/media-types/web-product/design.md) |
|
|
61
|
+
| Product content | [`.../media-types/web-product/content/product-content.md`](../../external/kuat-agent-rules/reference/media-types/web-product/content/product-content.md) |
|
|
62
|
+
| Product content (directory) | [`.../media-types/web-product/content/`](../../external/kuat-agent-rules/reference/media-types/web-product/content/) |
|
|
63
|
+
|
|
64
|
+
### Media types — web marketing
|
|
65
|
+
|
|
66
|
+
| Topic | Path |
|
|
67
|
+
|-------|------|
|
|
68
|
+
| Marketing website | [`.../media-types/web-marketing/website.md`](../../external/kuat-agent-rules/reference/media-types/web-marketing/website.md) |
|
|
69
|
+
| Marketing content | [`.../media-types/web-marketing/content/marketing-content.md`](../../external/kuat-agent-rules/reference/media-types/web-marketing/content/marketing-content.md) |
|
|
70
|
+
| Marketing content (directory) | [`.../media-types/web-marketing/content/`](../../external/kuat-agent-rules/reference/media-types/web-marketing/content/) |
|
|
64
71
|
|
|
65
72
|
---
|
|
66
73
|
|
|
67
74
|
## Kuat implementation (this monorepo)
|
|
68
75
|
|
|
69
|
-
High-level EE design language is in [`design-language.md`](../../external/kuat-agent-rules/
|
|
76
|
+
High-level EE design language is in [`design-language.md`](../../external/kuat-agent-rules/reference/design-language/design-language.md). The sections below are **Kuat-only**: how tokens and packages map to code.
|
|
70
77
|
|
|
71
78
|
### What is Kuat?
|
|
72
79
|
|
|
@@ -142,7 +149,7 @@ Code samples are not in this file:
|
|
|
142
149
|
## For AI agents
|
|
143
150
|
|
|
144
151
|
1. **Default:** Load **this file** (`kuat-docs/rules/README.md`), then open the specific upstream file(s) from the tables (same paths under `external/kuat-agent-rules/...`).
|
|
145
|
-
2. **Design tokens / brand colour decisions:** [`
|
|
146
|
-
3. **Content voice / UX copy:** [`
|
|
152
|
+
2. **Design tokens / brand colour decisions:** [`design-language/colours.md`](../../external/kuat-agent-rules/reference/design-language/colours.md) (and spacing/typography/borders as needed).
|
|
153
|
+
3. **Content voice / UX copy:** [`brand/voice-and-tone.md`](../../external/kuat-agent-rules/reference/brand/voice-and-tone.md) plus product or marketing content docs above.
|
|
147
154
|
4. **Layout structure in code:** [design/layouts.md](./design/layouts.md).
|
|
148
155
|
5. **Components:** [components/patterns.md](./components/patterns.md) + relevant `examples/{framework}/`.
|
|
@@ -4,7 +4,7 @@ Reusable layout building blocks for the Kuat Design System. This document define
|
|
|
4
4
|
|
|
5
5
|
For scenario-specific guidance (dashboards, authentication, marketing pages), see [Scenarios](../scenarios/).
|
|
6
6
|
|
|
7
|
-
**Upstream (brand layout
|
|
7
|
+
**Upstream (brand layout patterns):** Product interfaces and dashboards follow [`media-types/web-product/design.md`](../../../external/kuat-agent-rules/reference/media-types/web-product/design.md). Marketing sites and campaigns follow [`media-types/web-marketing/website.md`](../../../external/kuat-agent-rules/reference/media-types/web-marketing/website.md). This file focuses on **Kuat layout primitives** used in code, not on replacing those reference guides.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -71,7 +71,7 @@ When building a specific page type:
|
|
|
71
71
|
1. Load the relevant scenario file
|
|
72
72
|
2. Follow the recommended base layout from `rules/design/layouts.md`
|
|
73
73
|
3. Reference accessibility requirements from `rules/accessibility/`
|
|
74
|
-
4. Use design tokens from the EE foundations linked in [`rules/README.md`](../README.md) (e.g. `
|
|
74
|
+
4. Use design tokens from the EE foundations linked in [`rules/README.md`](../README.md) (e.g. `design-language/colours.md`, `typography.md` under `external/kuat-agent-rules/reference`)
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
package/agent-docs/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"packageVersion": "0.
|
|
2
|
+
"packageVersion": "0.14.0-beta.1",
|
|
3
3
|
"rules": {
|
|
4
|
-
"snapshotRef": "
|
|
5
|
-
"snapshotDate": "2026-
|
|
4
|
+
"snapshotRef": "cb073bf5a888c2454227c168fd67e5c78b933669",
|
|
5
|
+
"snapshotDate": "2026-06-25T08:55:18.622Z",
|
|
6
6
|
"sourceRepo": "equalexperts/kuat-agent-docs",
|
|
7
7
|
"loadingPath": "agent-docs/rules/LOADING-consumer.md"
|
|
8
8
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**Package:** @equal-experts/kuat-core (and mirrored in kuat-react / kuat-vue agent-docs)
|
|
4
4
|
|
|
5
|
-
**Snapshot:**
|
|
5
|
+
**Snapshot:** cb073bf5a888
|
|
6
6
|
|
|
7
7
|
## Default load (web product / marketing UI)
|
|
8
8
|
|
|
9
|
-
1. `external/kuat-agent-rules/
|
|
10
|
-
2. `external/kuat-agent-rules/
|
|
11
|
-
3. `external/kuat-agent-rules/
|
|
9
|
+
1. `external/kuat-agent-rules/reference/` foundations — `brand/`, `design-language/`, `content/`, `accessibility/`
|
|
10
|
+
2. `external/kuat-agent-rules/reference/media-types/web-product/` — core files + patterns + content (examples excluded)
|
|
11
|
+
3. `external/kuat-agent-rules/reference/media-types/web-marketing/`
|
|
12
12
|
4. `kuat-docs/rules/design/layouts.md` — Kuat layout primitives
|
|
13
13
|
5. `kuat-docs/rules/scenarios/` — Kuat scenario overlays
|
|
14
14
|
6. Component guides on demand: `components/{slug}.md` via `components.manifest.json`
|
|
@@ -24,4 +24,4 @@ Set `KUAT_RULES_PATH` to a `kuat-agent-docs` git clone for slides, graphics, and
|
|
|
24
24
|
## Related
|
|
25
25
|
|
|
26
26
|
- [README.md](../README.md)
|
|
27
|
-
- Upstream [
|
|
27
|
+
- Upstream reference index [reference/README.md](../external/kuat-agent-rules/reference/README.md)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
4
|
-
type CarouselOptions =
|
|
4
|
+
type CarouselOptions = Parameters<typeof useEmblaCarousel>[0];
|
|
5
5
|
type CarouselPlugins = Parameters<typeof useEmblaCarousel>[1];
|
|
6
6
|
type CarouselOrientation = "horizontal" | "vertical";
|
|
7
7
|
export type CarouselItemBasis = 1 | 2 | 3;
|