@maboussoleaidant/design-system 0.1.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.
- package/LICENSE +10 -0
- package/README.md +59 -0
- package/dist/mba-design-system.css +1538 -0
- package/dist/mba-design-system.min.css +1 -0
- package/dist/mba-tailwind.css +2083 -0
- package/dist/mba-tailwind.min.css +2 -0
- package/dist/mba-tokens-only.css +480 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Copyright (c) 2025 Ma Boussole Aidant. All rights reserved.
|
|
2
|
+
|
|
3
|
+
This software and associated documentation files (the "Software") are proprietary
|
|
4
|
+
and confidential. Unauthorized copying, modification, distribution, or use of
|
|
5
|
+
this Software, via any medium, is strictly prohibited.
|
|
6
|
+
|
|
7
|
+
The Software is provided for use exclusively within the Ma Boussole Aidant
|
|
8
|
+
ecosystem and by authorized partners only.
|
|
9
|
+
|
|
10
|
+
For licensing inquiries, contact: developpement@maboussoleaidants.fr
|
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# MBA Design System
|
|
2
|
+
|
|
3
|
+
Design System pour l'écosystème Ma Boussole Aidant.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @maboussoleaidant/design-system
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Applications Angular (avec Tailwind)
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
// angular.json
|
|
17
|
+
"styles": [
|
|
18
|
+
"node_modules/@maboussoleaidant/design-system/dist/mba-tailwind.css"
|
|
19
|
+
]
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### WordPress (via CDN)
|
|
23
|
+
|
|
24
|
+
```html
|
|
25
|
+
<link rel="stylesheet" href="https://unpkg.com/@maboussoleaidant/design-system@0.1.0/dist/mba-design-system.min.css">
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Tokens uniquement
|
|
29
|
+
|
|
30
|
+
```css
|
|
31
|
+
@import "@maboussoleaidant/design-system/tokens";
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Développement
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Installer les dépendances
|
|
38
|
+
npm install
|
|
39
|
+
|
|
40
|
+
# Build
|
|
41
|
+
npm run build
|
|
42
|
+
|
|
43
|
+
# Watch mode
|
|
44
|
+
npm run dev
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Structure
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
src/
|
|
51
|
+
├── tokens/ # Design tokens (CSS Custom Properties)
|
|
52
|
+
├── base/ # Reset et styles de base
|
|
53
|
+
├── components/ # Classes de composants (.mba-btn, .mba-card, etc.)
|
|
54
|
+
└── utilities/ # Classes utilitaires
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Documentation
|
|
58
|
+
|
|
59
|
+
La documentation interactive est disponible via Storybook.
|