@mparticle/aquarium 1.61.0 → 1.62.0-antd-v6-react-v19-upgrade.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 +77 -7
- package/dist/aquarium.js +14589 -14748
- package/dist/aquarium.umd.cjs +53 -57
- package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +1 -1
- package/dist/src/components/data-display/Card/Card.d.ts +2 -2
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +2 -2
- package/dist/src/components/data-display/Image/Image.d.ts +2 -2
- package/dist/src/components/data-display/Table/Table.d.ts +9 -2
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -1
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +21 -18
- package/dist/src/components/data-entry/Form/Form.d.ts +1 -1
- package/dist/src/components/data-entry/Select/Select.d.ts +2 -2
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +1 -1
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +2 -2
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +1 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +2 -2
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +0 -1
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +2 -2
- package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +13 -0
- package/dist/src/styles/style.d.ts +78 -78
- package/dist/style.css +1 -1
- package/dist/style.ts +78 -78
- package/package.json +14 -8
package/README.md
CHANGED
|
@@ -1,26 +1,96 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
3
|
<a href="https://mparticle.github.io/aquarium/" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></a>
|
|
4
|
+
|
|
4
5
|
|
|
5
6
|
# mParticle Aquarium
|
|
6
7
|
|
|
7
|
-
mParticle Component Library
|
|
8
|
+
mParticle Component Library built on top of [Ant Design](https://ant.design/).
|
|
8
9
|
|
|
9
10
|
_Components That Scale_
|
|
10
11
|
|
|
11
|
-
##
|
|
12
|
+
## Installation
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
<a href="https://github.com/mParticle/aquarium/blob/main/LLM_SETUP_PROMPT.md" target="_blank"><img src="https://img.shields.io/badge/📋_Setup_with_LLM-blue?style=flat" alt="Setup with LLM"></a>
|
|
15
|
+
|
|
16
|
+
### Requirements
|
|
17
|
+
|
|
18
|
+
| Dependency | Version | Notes |
|
|
19
|
+
| ---------- | ----------- | ------------------------ |
|
|
20
|
+
| React | `>=17.0.2` | React 17 or 18 |
|
|
21
|
+
| React DOM | `>=17.0.2` | Must match React version |
|
|
22
|
+
| Node.js | `>=24.12.0` | For development |
|
|
23
|
+
|
|
24
|
+
### Quick Start
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
yarn add @mparticle/aquarium antd@5 dayjs@1
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Or with npm:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npm install @mparticle/aquarium antd@5 dayjs@1
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Setup
|
|
37
|
+
|
|
38
|
+
Add the CSS reset to your app entry point (`_app.tsx`, `layout.tsx`, or `index.tsx`):
|
|
39
|
+
|
|
40
|
+
```typescript
|
|
41
|
+
import 'antd/dist/reset.css'
|
|
42
|
+
```
|
|
14
43
|
|
|
15
|
-
|
|
44
|
+
### Usage
|
|
16
45
|
|
|
17
|
-
|
|
46
|
+
```tsx
|
|
47
|
+
import { Button, Space, Typography } from '@mparticle/aquarium'
|
|
48
|
+
import { PaddingSm } from '@mparticle/aquarium/dist/style'
|
|
18
49
|
|
|
50
|
+
export const MyComponent = () => {
|
|
51
|
+
return (
|
|
52
|
+
<Space direction="vertical">
|
|
53
|
+
<Typography.Title level={3}>Hello Aquarium</Typography.Title>
|
|
54
|
+
<Typography.Text>Successfully installed!</Typography.Text>
|
|
55
|
+
<Space>
|
|
56
|
+
<Button type="primary" style={{ paddingLeft: PaddingSm }}>
|
|
57
|
+
Primary
|
|
58
|
+
</Button>
|
|
59
|
+
<Button>Default</Button>
|
|
60
|
+
</Space>
|
|
61
|
+
</Space>
|
|
62
|
+
)
|
|
63
|
+
}
|
|
19
64
|
```
|
|
20
|
-
|
|
21
|
-
|
|
65
|
+
|
|
66
|
+
## Development
|
|
67
|
+
|
|
68
|
+
Clone the repository and install dependencies:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
git clone git@github.com:mParticle/aquarium.git
|
|
72
|
+
cd aquarium
|
|
73
|
+
npm install
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Run Storybook for local development:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
npm run storybook
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Run unit tests:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
npm run test-storybook
|
|
22
86
|
```
|
|
23
87
|
|
|
88
|
+
## Contributing
|
|
89
|
+
|
|
90
|
+
See [CONTRIBUTING.md](https://github.com/mParticle/aquarium/blob/main/CONTRIBUTING.md).
|
|
91
|
+
|
|
92
|
+
Please make sure any new or updated components are present, tested and verified within [Storybook](https://storybook.js.org/).
|
|
93
|
+
|
|
24
94
|
## Support
|
|
25
95
|
|
|
26
96
|
<support@mparticle.com>
|