@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.
Files changed (25) hide show
  1. package/README.md +77 -7
  2. package/dist/aquarium.js +14589 -14748
  3. package/dist/aquarium.umd.cjs +53 -57
  4. package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +1 -1
  5. package/dist/src/components/data-display/Card/Card.d.ts +2 -2
  6. package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +2 -2
  7. package/dist/src/components/data-display/Image/Image.d.ts +2 -2
  8. package/dist/src/components/data-display/Table/Table.d.ts +9 -2
  9. package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -1
  10. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -2
  11. package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +21 -18
  12. package/dist/src/components/data-entry/Form/Form.d.ts +1 -1
  13. package/dist/src/components/data-entry/Select/Select.d.ts +2 -2
  14. package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +1 -1
  15. package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +1 -1
  16. package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +2 -2
  17. package/dist/src/components/general/FloatButton/FloatButton.d.ts +1 -1
  18. package/dist/src/components/navigation/Menu/Menu.d.ts +2 -2
  19. package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +0 -1
  20. package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +2 -2
  21. package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +13 -0
  22. package/dist/src/styles/style.d.ts +78 -78
  23. package/dist/style.css +1 -1
  24. package/dist/style.ts +78 -78
  25. package/package.json +14 -8
package/README.md CHANGED
@@ -1,26 +1,96 @@
1
1
  ![higgs_aquarium](https://github.com/user-attachments/assets/7c883814-792b-4a72-9621-94c16be6753f)
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
+ &nbsp;&nbsp;
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
- ## Contributing
12
+ ## Installation
12
13
 
13
- See [CONTRIBUTING.md](https://github.com/mParticle/aquarium/blob/main/CONTRIBUTING.md).
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
- Please make sure any new or updated components are present, tested and verified within [Storybook](https://storybook.js.org/)
44
+ ### Usage
16
45
 
17
- Use the following commands to run Storybook and then run unit tests:
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
- $> npm run storybook
21
- $> npm run test-storybook
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>