zuii 1.5.5 → 1.5.7
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/dist/components/Errorpage/react/index.d.ts +12 -2
- package/dist/components/Errorpage/react/index.js +23 -17
- package/dist/components/Form/react/index.js +75 -66
- package/dist/components/Placeholder/style/index.css +1 -1
- package/dist/core/styles/tokens.ts +109 -109
- package/dist/packages/core/src/styles/tokens.js +12 -12
- package/dist/templates/Errorpages/Errorpages.tsx +18 -4
- package/dist/templates/Forms/Forms-elements.tsx +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
brands: {
|
|
3
3
|
primary: {
|
|
4
4
|
value: "#296782",
|
|
@@ -6,7 +6,7 @@ const r = {
|
|
|
6
6
|
dark: "#1D4A5D",
|
|
7
7
|
light: "#73B6D3"
|
|
8
8
|
},
|
|
9
|
-
filePath: "/
|
|
9
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
10
10
|
isSource: !0,
|
|
11
11
|
original: {
|
|
12
12
|
value: "#296782",
|
|
@@ -34,7 +34,7 @@ const r = {
|
|
|
34
34
|
mixPercent: {
|
|
35
35
|
border: 20
|
|
36
36
|
},
|
|
37
|
-
filePath: "/
|
|
37
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
38
38
|
isSource: !0,
|
|
39
39
|
original: {
|
|
40
40
|
value: "#49B4E8",
|
|
@@ -65,7 +65,7 @@ const r = {
|
|
|
65
65
|
mixPercent: {
|
|
66
66
|
border: 20
|
|
67
67
|
},
|
|
68
|
-
filePath: "/
|
|
68
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
69
69
|
isSource: !0,
|
|
70
70
|
original: {
|
|
71
71
|
value: "#49B4E8",
|
|
@@ -94,7 +94,7 @@ const r = {
|
|
|
94
94
|
light: 80,
|
|
95
95
|
border: 60
|
|
96
96
|
},
|
|
97
|
-
filePath: "/
|
|
97
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
98
98
|
isSource: !0,
|
|
99
99
|
original: {
|
|
100
100
|
value: "#f5524d",
|
|
@@ -121,7 +121,7 @@ const r = {
|
|
|
121
121
|
light: 50,
|
|
122
122
|
border: 60
|
|
123
123
|
},
|
|
124
|
-
filePath: "/
|
|
124
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
125
125
|
isSource: !0,
|
|
126
126
|
original: {
|
|
127
127
|
value: "#73D3B6",
|
|
@@ -150,7 +150,7 @@ const r = {
|
|
|
150
150
|
mixPercent: {
|
|
151
151
|
border: 60
|
|
152
152
|
},
|
|
153
|
-
filePath: "/
|
|
153
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
154
154
|
isSource: !0,
|
|
155
155
|
original: {
|
|
156
156
|
value: "#EA5F5F",
|
|
@@ -179,7 +179,7 @@ const r = {
|
|
|
179
179
|
light: 50,
|
|
180
180
|
border: 60
|
|
181
181
|
},
|
|
182
|
-
filePath: "/
|
|
182
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
183
183
|
isSource: !0,
|
|
184
184
|
original: {
|
|
185
185
|
value: "#F5D762",
|
|
@@ -206,7 +206,7 @@ const r = {
|
|
|
206
206
|
light: 50,
|
|
207
207
|
border: 60
|
|
208
208
|
},
|
|
209
|
-
filePath: "/
|
|
209
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
210
210
|
isSource: !0,
|
|
211
211
|
original: {
|
|
212
212
|
value: "#73B6D3",
|
|
@@ -233,7 +233,7 @@ const r = {
|
|
|
233
233
|
light: 80,
|
|
234
234
|
border: 60
|
|
235
235
|
},
|
|
236
|
-
filePath: "/
|
|
236
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
237
237
|
isSource: !0,
|
|
238
238
|
original: {
|
|
239
239
|
value: "#FFFFFF",
|
|
@@ -260,7 +260,7 @@ const r = {
|
|
|
260
260
|
light: 80,
|
|
261
261
|
border: 60
|
|
262
262
|
},
|
|
263
|
-
filePath: "/
|
|
263
|
+
filePath: "/Users/innovdata/Desktop/projet-web/zuii/tokens/brands.json",
|
|
264
264
|
isSource: !0,
|
|
265
265
|
original: {
|
|
266
266
|
value: "#000000",
|
|
@@ -283,5 +283,5 @@ const r = {
|
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
export {
|
|
286
|
-
|
|
286
|
+
e as tokens
|
|
287
287
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MemoryRouter } from 'react-router-dom';
|
|
1
2
|
import { Errorpage } from '../../index';
|
|
2
3
|
|
|
3
4
|
/**
|
|
@@ -8,10 +9,23 @@ export const Errorpages = () => {
|
|
|
8
9
|
<div className="Errorpages-demo">
|
|
9
10
|
<section className="mb-5">
|
|
10
11
|
<h3>Errorpages</h3>
|
|
11
|
-
<p className="text-muted mb-4">Le composant <code>Errorpage</code>
|
|
12
|
-
<h5 className='mt-4'>
|
|
13
|
-
<
|
|
14
|
-
|
|
12
|
+
<p className="text-muted mb-4">Le composant <code>Errorpage</code> affiche une page d'erreur avec code et textes personnalisables.</p>
|
|
13
|
+
<h5 className='mt-4'>Français (défaut)</h5>
|
|
14
|
+
<MemoryRouter>
|
|
15
|
+
<Errorpage code={404} />
|
|
16
|
+
</MemoryRouter>
|
|
17
|
+
<h5 className='mt-4'>Anglais</h5>
|
|
18
|
+
<MemoryRouter>
|
|
19
|
+
<Errorpage
|
|
20
|
+
code={404}
|
|
21
|
+
texts={{
|
|
22
|
+
errorLabel: "Error",
|
|
23
|
+
title: "Oops! Page not found",
|
|
24
|
+
message: "The page you are looking for seems to have vanished into the digital void.",
|
|
25
|
+
backButton: "Back to home",
|
|
26
|
+
}}
|
|
27
|
+
/>
|
|
28
|
+
</MemoryRouter>
|
|
15
29
|
</section>
|
|
16
30
|
</div>
|
|
17
31
|
);
|
|
@@ -32,6 +32,12 @@ export const FormsElements = () => {
|
|
|
32
32
|
<Form.Control id="search" type="search" placeholder="Enter search" name="search" icon="icon-search" />
|
|
33
33
|
<Form.Control id="email" type="email" placeholder="Enter email" name="email" icon="icon-at-sign" />
|
|
34
34
|
<Form.Control id="number" type="number" placeholder="Enter number" name="number" icon="icon-number" />
|
|
35
|
+
<Form.Control id="icon-right" type="text" placeholder="Icône à droite" name="icon-right" iconRight="icon-eye" />
|
|
36
|
+
<Form.Control id="icon-both" type="text" placeholder="Icônes des deux côtés" name="icon-both" icon="icon-user" iconRight="icon-eye" />
|
|
37
|
+
<Form.Control id="text-left" type="text" placeholder="Montant" name="text-left" textLeft="€" />
|
|
38
|
+
<Form.Control id="text-right" type="text" placeholder="Poids" name="text-right" textRight="kg" />
|
|
39
|
+
<Form.Control id="text-both" type="text" placeholder="Valeur" name="text-both" textLeft="$" textRight=".00" />
|
|
40
|
+
<Form.Control id="icon-text" type="text" placeholder="Nom d'utilisateur" name="icon-text" icon="icon-user" textRight="@domain.com" />
|
|
35
41
|
<Form.Number id="number-button" placeholder="Enter number" name="number-button" onChange={(val) => console.log(val)} step={1} min={0} max={10} required={true} className='fees-field__input' />
|
|
36
42
|
<fieldset disabled>
|
|
37
43
|
<Form.Number id="number-button" placeholder="Enter number" name="number-button" onChange={(val) => console.log(val)} step={1} min={0} max={10} required={true} className='fees-field__input' />
|