@veevarts/design-system 1.6.0-dev.7 → 1.6.0-dev.8
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 +34 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3247 -2592
- package/dist/patterns/ItemCard/ItemCard.d.ts +3 -0
- package/dist/patterns/ItemCard/__test__/ItemCard.test.d.ts +4 -0
- package/dist/patterns/ItemCard/index.d.ts +2 -0
- package/dist/patterns/ItemCard/type.d.ts +14 -0
- package/dist/patterns/MembershipSelectCards/MembershipSelectCards.d.ts +3 -0
- package/dist/patterns/MembershipSelectCards/__test__/MembershipSelectCards.test.d.ts +4 -0
- package/dist/patterns/MembershipSelectCards/index.d.ts +2 -0
- package/dist/patterns/MembershipSelectCards/types.d.ts +23 -0
- package/dist/patterns/RichText/toolbar/components/LinkButton.d.ts +6 -0
- package/dist/patterns/RichText/toolbar/components/index.d.ts +2 -0
- package/dist/patterns/TicketSelection/TicketSelection.d.ts +3 -0
- package/dist/patterns/TicketSelection/__test__/TicketSelection.test.d.ts +4 -0
- package/dist/patterns/TicketSelection/index.d.ts +2 -0
- package/dist/patterns/TicketSelection/types.d.ts +48 -0
- package/dist/patterns/Toggle/Toggle.d.ts +3 -0
- package/dist/patterns/Toggle/__test__/Toggle.test.d.ts +4 -0
- package/dist/patterns/Toggle/index.d.ts +2 -0
- package/dist/patterns/Toggle/type.d.ts +7 -0
- package/dist/patterns/index.d.ts +8 -0
- package/dist/styles.css +98 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -103,6 +103,30 @@ Opens at `http://localhost:5173`
|
|
|
103
103
|
|
|
104
104
|
---
|
|
105
105
|
|
|
106
|
+
## 🧪 Test Locally In Another Project
|
|
107
|
+
|
|
108
|
+
Use this flow when you want to validate the package in a different local repository before publishing.
|
|
109
|
+
|
|
110
|
+
### 1. Build and pack this design system
|
|
111
|
+
|
|
112
|
+
```bash
|
|
113
|
+
npm run build
|
|
114
|
+
npm pack
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
This generates a local tarball file like:
|
|
118
|
+
`veevarts-design-system-1.0.0-alpha.23.tgz`
|
|
119
|
+
|
|
120
|
+
### 2. Install the tarball in another local project
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm install /absolute/path/to/Design-System/veevarts-design-system-1.0.0-alpha.23.tgz
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Tip: after new changes, run `npm run build && npm pack` again and reinstall the updated tarball in the consumer project.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
106
130
|
## 💻 Usage
|
|
107
131
|
|
|
108
132
|
### Install in your project
|
|
@@ -254,6 +278,15 @@ design-system/
|
|
|
254
278
|
|
|
255
279
|
## 🌐 Deployment
|
|
256
280
|
|
|
281
|
+
### Branch Deployment Flow
|
|
282
|
+
|
|
283
|
+
This project uses branch-based deployments for design system environments:
|
|
284
|
+
|
|
285
|
+
- Merge to `staging` to deploy to the **dev** environment
|
|
286
|
+
- http://ds.dev.veev.veevartapp.com/
|
|
287
|
+
- Merge to `prod` to deploy to the **prod** environment
|
|
288
|
+
- http://ds.veevartapp.com/
|
|
289
|
+
|
|
257
290
|
### Deploy Storybook to Vercel
|
|
258
291
|
|
|
259
292
|
```bash
|
|
@@ -314,4 +347,4 @@ We welcome contributions! Please follow these guidelines:
|
|
|
314
347
|
|
|
315
348
|
---
|
|
316
349
|
|
|
317
|
-
**Built with ❤️ by the Veevart team**
|
|
350
|
+
**Built with ❤️ by the Veevart team**
|