@recursica/mui-adapter 0.14.0 → 0.16.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +1 -1
  3. package/src/components/Accordion/USAGE.md +43 -0
  4. package/src/components/AssistiveElement/USAGE.md +36 -0
  5. package/src/components/Autocomplete/USAGE.md +42 -0
  6. package/src/components/Avatar/USAGE.md +38 -0
  7. package/src/components/Badge/USAGE.md +40 -0
  8. package/src/components/Box/USAGE.md +48 -0
  9. package/src/components/Breadcrumb/USAGE.md +42 -0
  10. package/src/components/Button/USAGE.md +58 -0
  11. package/src/components/Card/USAGE.md +69 -0
  12. package/src/components/Checkbox/USAGE.md +36 -0
  13. package/src/components/Chip/USAGE.md +36 -0
  14. package/src/components/Container/USAGE.md +48 -0
  15. package/src/components/DatePicker/USAGE.md +36 -0
  16. package/src/components/Dropdown/USAGE.md +41 -0
  17. package/src/components/FileInput/USAGE.md +36 -0
  18. package/src/components/FileUpload/USAGE.md +41 -0
  19. package/src/components/Flex/USAGE.md +41 -0
  20. package/src/components/FormControlLayout/USAGE.md +40 -0
  21. package/src/components/FormControlWrapper/USAGE.md +40 -0
  22. package/src/components/Group/USAGE.md +41 -0
  23. package/src/components/HoverCard/USAGE.md +45 -0
  24. package/src/components/Label/USAGE.md +36 -0
  25. package/src/components/Link/USAGE.md +40 -0
  26. package/src/components/Loader/USAGE.md +64 -0
  27. package/src/components/Menu/USAGE.md +54 -0
  28. package/src/components/Modal/USAGE.md +40 -0
  29. package/src/components/NumberInput/USAGE.md +36 -0
  30. package/src/components/Pagination/USAGE.md +42 -0
  31. package/src/components/Panel/USAGE.md +103 -0
  32. package/src/components/Radio/USAGE.md +36 -0
  33. package/src/components/ReadOnlyField/USAGE.md +36 -0
  34. package/src/components/SegmentedControl/USAGE.md +36 -0
  35. package/src/components/Slider/USAGE.md +36 -0
  36. package/src/components/Stack/USAGE.md +41 -0
  37. package/src/components/Stepper/USAGE.md +48 -0
  38. package/src/components/Switch/USAGE.md +36 -0
  39. package/src/components/Table/USAGE.md +51 -0
  40. package/src/components/Tabs/USAGE.md +52 -0
  41. package/src/components/Text/USAGE.md +40 -0
  42. package/src/components/TextArea/USAGE.md +38 -0
  43. package/src/components/TextField/USAGE.md +38 -0
  44. package/src/components/TimePicker/USAGE.md +36 -0
  45. package/src/components/Timeline/USAGE.md +41 -0
  46. package/src/components/Title/USAGE.md +36 -0
  47. package/src/components/Toast/USAGE.md +42 -0
  48. package/src/components/Tooltip/USAGE.md +40 -0
  49. package/src/components/TransferList/USAGE.md +46 -0
  50. package/src/components/Tree/USAGE.md +46 -0
  51. package/src/components/Typography/USAGE.md +40 -0
@@ -0,0 +1,36 @@
1
+ # Title - Usage Guide
2
+
3
+ This document describes how to integrate and use the `Title` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { Title } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { Title } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return <Title order={1}>This is a Heading 1</Title>;
23
+ }
24
+ ```
25
+
26
+ ---
27
+
28
+ ## 3. Design System Integration
29
+
30
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
31
+
32
+ > [!IMPORTANT]
33
+ >
34
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
35
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
36
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.
@@ -0,0 +1,42 @@
1
+ # Toast - Usage Guide
2
+
3
+ This document describes how to integrate and use the `Toast` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { Toast } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { Toast } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return (
23
+ <Toast
24
+ title="Success"
25
+ message="Your action completed successfully"
26
+ state="success"
27
+ />
28
+ );
29
+ }
30
+ ```
31
+
32
+ ---
33
+
34
+ ## 3. Design System Integration
35
+
36
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
37
+
38
+ > [!IMPORTANT]
39
+ >
40
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
41
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
42
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.
@@ -0,0 +1,40 @@
1
+ # Tooltip - Usage Guide
2
+
3
+ This document describes how to integrate and use the `Tooltip` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { Tooltip } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { Tooltip } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return (
23
+ <Tooltip label="This is a helpful tooltip">
24
+ <Button variant="primary">Hover Me</Button>
25
+ </Tooltip>
26
+ );
27
+ }
28
+ ```
29
+
30
+ ---
31
+
32
+ ## 3. Design System Integration
33
+
34
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
35
+
36
+ > [!IMPORTANT]
37
+ >
38
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
39
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
40
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.
@@ -0,0 +1,46 @@
1
+ # TransferList - Usage Guide
2
+
3
+ This document describes how to integrate and use the `TransferList` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { TransferList } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { TransferList } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return (
23
+ <TransferList
24
+ data={[
25
+ [
26
+ { value: "1", label: "Item 1" },
27
+ { value: "2", label: "Item 2" },
28
+ ],
29
+ [{ value: "3", label: "Item 3" }],
30
+ ]}
31
+ />
32
+ );
33
+ }
34
+ ```
35
+
36
+ ---
37
+
38
+ ## 3. Design System Integration
39
+
40
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
41
+
42
+ > [!IMPORTANT]
43
+ >
44
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
45
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
46
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.
@@ -0,0 +1,46 @@
1
+ # Tree - Usage Guide
2
+
3
+ This document describes how to integrate and use the `Tree` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { Tree } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { Tree } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return (
23
+ <Tree
24
+ data={[
25
+ {
26
+ value: "1",
27
+ label: "Root",
28
+ children: [{ value: "2", label: "Child" }],
29
+ },
30
+ ]}
31
+ />
32
+ );
33
+ }
34
+ ```
35
+
36
+ ---
37
+
38
+ ## 3. Design System Integration
39
+
40
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
41
+
42
+ > [!IMPORTANT]
43
+ >
44
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
45
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
46
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.
@@ -0,0 +1,40 @@
1
+ # Typography - Usage Guide
2
+
3
+ This document describes how to integrate and use the `Typography` component in your projects using `@recursica/mui-adapter`.
4
+
5
+ ---
6
+
7
+ ## 1. Import Reference
8
+
9
+ ```tsx
10
+ import { Typography } from "@recursica/mui-adapter";
11
+ ```
12
+
13
+ ---
14
+
15
+ ## 2. Basic Example
16
+
17
+ ```tsx
18
+ import React from "react";
19
+ import { Typography } from "@recursica/mui-adapter";
20
+
21
+ export default function Demo() {
22
+ return (
23
+ <Typography variant="body1">
24
+ Typography is used for presenting textual content cleanly.
25
+ </Typography>
26
+ );
27
+ }
28
+ ```
29
+
30
+ ---
31
+
32
+ ## 3. Design System Integration
33
+
34
+ All Recursica components in the `@recursica/mui-adapter` package adhere strictly to design system spacing, scaling, and behavior patterns.
35
+
36
+ > [!IMPORTANT]
37
+ >
38
+ > - **Anti-override protection**: Rogues style injections (like inline `style` or arbitrary `className`) are automatically blocked by our prop layer unless `overStyled={true}` is explicitly provided.
39
+ > - **No Direct Layers**: Do not pass a `layer` prop to this component. To place it on a specific visual layer, wrap it in a `<Layer layer={0|1|2|3}>` component natively.
40
+ > - **Variables and Theming**: Styling is entirely determined by local CSS variables defined in `recursica_variables_scoped.css` and mapped in the component's CSS module.