react-magma-dom 7.1.0-next.11 → 7.1.0-next.13
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/ai/SKILL.md +3 -2
- package/dist/components/Tagline/Tagline.stories.d.ts +9 -0
- package/dist/components/Tagline/index.d.ts +21 -0
- package/dist/esm/index.js +91 -57
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/properties.json +28 -0
- package/dist/react-magma-dom.cjs.development.js +89 -54
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
package/ai/SKILL.md
CHANGED
|
@@ -3,9 +3,9 @@ name: react-magma
|
|
|
3
3
|
description: Use when writing or editing React UI in a project that depends on react-magma-dom (Cengage's accessible component library) — finding the right component, its props, theming, inverse surfaces, icons and accessibility.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# React Magma (react-magma-dom 7.1.0-next.
|
|
6
|
+
# React Magma (react-magma-dom 7.1.0-next.13)
|
|
7
7
|
|
|
8
|
-
Accessible React component library. This guide is generated for react-magma-dom 7.1.0-next.
|
|
8
|
+
Accessible React component library. This guide is generated for react-magma-dom 7.1.0-next.13, which requires React ^18.3.1.
|
|
9
9
|
|
|
10
10
|
## How to use this guide
|
|
11
11
|
|
|
@@ -121,6 +121,7 @@ Format: **Folder** — purpose (search words). Not for: need → better componen
|
|
|
121
121
|
- **Datagrid** — Table rendered from columns/rows props, selection and pagination (data grid, data table, selectable rows)
|
|
122
122
|
- **Badge** — Small label or count (badge, counter, status label, pill). Also: BadgeColor, BadgeVariant, BadgeWeight
|
|
123
123
|
- **Tag** — Category chip, clickable or removable (tag, chip, filter chip, token). Also: TagColor, TagSize
|
|
124
|
+
- **Tagline** — Short, emphasized text that introduces or labels content (tagline, eyebrow, overline, section label)
|
|
124
125
|
|
|
125
126
|
### Utilities
|
|
126
127
|
- **VisuallyHidden** — Content for screen readers only (sr-only, screen reader text, visually hidden)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface TaglineProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
3
|
+
/**
|
|
4
|
+
* @children required
|
|
5
|
+
*/
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
css?: any;
|
|
11
|
+
/**
|
|
12
|
+
* Uses the inverse text color for dark backgrounds
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
isInverse?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
testId?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const Tagline: React.ForwardRefExoticComponent<TaglineProps & React.RefAttributes<HTMLParagraphElement>>;
|