react-magma-dom 7.1.0-next.2 → 7.1.0-next.21
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 +143 -0
- package/ai/setup-guide.md +44 -0
- package/ai/styling-guide.md +89 -0
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Combobox/Combobox.stories.d.ts +47 -1
- package/dist/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/components/EmptyState/styles.d.ts +5 -0
- package/dist/components/IndeterminateCheckbox/index.d.ts +1 -1
- package/dist/components/Modal/Modal.stories.d.ts +1 -0
- package/dist/components/Pagination/PageButton.d.ts +2 -0
- package/dist/components/Pagination/Pagination.d.ts +5 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +29 -0
- package/dist/components/Pagination/usePagination.d.ts +1 -0
- package/dist/components/Pagination/utils.d.ts +1 -0
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Select/ItemsList.d.ts +1 -1
- package/dist/components/Select/Select.stories.d.ts +43 -1
- package/dist/components/Select/utils.d.ts +3 -0
- package/dist/components/Stepper/Step.d.ts +3 -1
- package/dist/components/Table/Table.stories.d.ts +30 -0
- package/dist/components/Table/TableHeaderCell.d.ts +2 -1
- package/dist/components/Tabs/Tabs.stories.d.ts +47 -0
- package/dist/components/Tagline/Tagline.stories.d.ts +9 -0
- package/dist/components/Tagline/index.d.ts +21 -0
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/TreeView/TreeView.d.ts +3 -3
- package/dist/components/TreeView/TreeView.stories.d.ts +21 -0
- package/dist/esm/index.js +843 -403
- package/dist/esm/index.js.map +1 -1
- package/dist/i18n/interface.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/properties.json +46 -8
- package/dist/react-magma-dom.cjs.development.js +836 -392
- 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/dist/utils/index.d.ts +1 -0
- package/package.json +9 -5
package/dist/utils/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export declare function getStringifiedLabelText(node: React.ReactNode): string;
|
|
|
26
26
|
export declare function formatAnnouncement(template: string, labelText: string): string;
|
|
27
27
|
export declare function getTrapElements(container: any): Array<HTMLElement>;
|
|
28
28
|
export declare function toCamelCase(str: any): any;
|
|
29
|
+
export declare function normalizeAccessibleText(text: string): string;
|
|
29
30
|
declare type ResolvedProps = {
|
|
30
31
|
[key: string]: any;
|
|
31
32
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-magma-dom",
|
|
3
|
-
"version": "7.1.0-next.
|
|
3
|
+
"version": "7.1.0-next.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://react-magma.cengage.com",
|
|
@@ -18,17 +18,21 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"dist",
|
|
20
20
|
"!dist/reports",
|
|
21
|
-
"lib"
|
|
21
|
+
"lib",
|
|
22
|
+
"ai"
|
|
22
23
|
],
|
|
23
24
|
"scripts": {
|
|
24
25
|
"build": "tsdx build",
|
|
25
|
-
"postbuild": "npm run generate-properties",
|
|
26
|
+
"postbuild": "npm run generate-properties && npm run generate-ai",
|
|
26
27
|
"build-watch": "tsdx watch",
|
|
28
|
+
"check-ai": "node scripts/generate-skill.js --check",
|
|
27
29
|
"copy-changelog": "node scripts/copy-changelog.js",
|
|
30
|
+
"generate-ai": "node scripts/generate-skill.js",
|
|
28
31
|
"generate-properties": "node scripts/generateJSON.mjs",
|
|
29
32
|
"lint": "eslint ./src",
|
|
30
33
|
"lint:fix": "eslint ./src --fix",
|
|
31
34
|
"lint:check": "eslint ./src --max-warnings=0",
|
|
35
|
+
"prepack": "npm run generate-ai",
|
|
32
36
|
"prepublishOnly": "npm run copy-changelog",
|
|
33
37
|
"test": "jest",
|
|
34
38
|
"test-watch": "jest --watch",
|
|
@@ -53,13 +57,13 @@
|
|
|
53
57
|
"mkdirp": "3.0.1",
|
|
54
58
|
"react": "18.3.1",
|
|
55
59
|
"react-dom": "18.3.1",
|
|
56
|
-
"react-magma-icons": "^3.3.
|
|
60
|
+
"react-magma-icons": "^3.3.1"
|
|
57
61
|
},
|
|
58
62
|
"peerDependencies": {
|
|
59
63
|
"@emotion/react": "^11.14.0",
|
|
60
64
|
"@emotion/styled": "^11.14.0",
|
|
61
65
|
"react": "^18.3.1",
|
|
62
66
|
"react-dom": "^18.3.1",
|
|
63
|
-
"react-magma-icons": "^3.3.
|
|
67
|
+
"react-magma-icons": "^3.3.1"
|
|
64
68
|
}
|
|
65
69
|
}
|