@alveole/theme 0.10.0 → 0.11.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProviderLoader.d.ts","sourceRoot":"","sources":["../src/ThemeProviderLoader.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,+CAM/B,CAAC"}
1
+ {"version":3,"file":"ThemeProviderLoader.d.ts","sourceRoot":"","sources":["../src/ThemeProviderLoader.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,+CAM/B,CAAC"}
@@ -84,193 +84,302 @@ export declare const CustomPalette: {
84
84
  };
85
85
  };
86
86
  };
87
+ /** @deprecated Utiliser light.background['action-high-primary'] ou les tokens du thème light selon le contexte */
87
88
  readonly primary: "#D9127C";
89
+ /** @deprecated Utiliser 'transparent' en valeur directe ou light.background selon le contexte */
88
90
  readonly transparent: "transparent";
91
+ /** @deprecated Utiliser light.background['action-high-error'] ou light.text['default-error'] */
89
92
  readonly danger: "#C62416";
93
+ /** @deprecated Utiliser light.background['flat-info'] ou light.text['default-info'] */
90
94
  readonly info: "#1070CA";
95
+ /** @deprecated Utiliser light.background['flat-success'] ou light.text['default-success'] */
91
96
  readonly success: "#1C7F54";
97
+ /** @deprecated Utiliser light.background['flat-warning'] ou light.text['default-warning'] */
92
98
  readonly warning: "#BA461C";
99
+ /** @deprecated Utiliser light.text['default-info'] */
93
100
  readonly link: "#076D8A";
101
+ /** @deprecated Utiliser light.text pour les couleurs de texte */
94
102
  readonly text: {
103
+ /** @deprecated Utiliser light.text['default-grey'] */
95
104
  readonly 'default-grey': "#373A3F";
105
+ /** @deprecated Utiliser light.text['title-grey'] */
96
106
  readonly 'title-grey': "#151617";
107
+ /** @deprecated Utiliser light.text['mention-grey'] */
97
108
  readonly mention: "#5F6571";
109
+ /** @deprecated Utiliser light.text['disabled-grey'] */
98
110
  readonly 'disabled-grey': "#8D97AC";
99
- /** @deprecated Utiliser action-high-primary */
111
+ /** @deprecated Utiliser light.text['action-high-primary'] */
100
112
  readonly 'action-high-blue-captive': "#012448";
113
+ /** @deprecated Utiliser light.text['action-high-primary'] */
101
114
  readonly 'action-high-primary': "#012448";
115
+ /** @deprecated Utiliser light.text['action-high-info'] */
102
116
  readonly 'action-high-info': "#0264C7";
103
- /** @deprecated Utiliser 'title-grey' */
117
+ /** @deprecated Utiliser light.text['title-grey'] */
104
118
  readonly 'title-blue-captive': "#012448";
119
+ /** @deprecated Utiliser light.text['label-grey'] */
105
120
  readonly 'label-grey': "#151617";
106
- /** @deprecated Utiliser 'inverted-primary' */
121
+ /** @deprecated Utiliser light.text['inverted-primary'] */
107
122
  readonly 'inverted-blue-captive': "#FFFFFF";
123
+ /** @deprecated Utiliser light.text['inverted-primary'] */
108
124
  readonly 'inverted-primary': "#FFFFFF";
125
+ /** @deprecated Utiliser light.text['default-success'] */
109
126
  readonly 'default-success': "#1B7440";
127
+ /** @deprecated Utiliser light.text['default-error'] */
110
128
  readonly 'default-error': "#C62416";
129
+ /** @deprecated Utiliser light.text['default-info'] */
111
130
  readonly 'default-info': "#31B5DA";
131
+ /** @deprecated Utiliser light.text['action-high-grey'] */
112
132
  readonly 'action-high-grey': "#151617";
133
+ /** @deprecated Utiliser light.text (ex: inverted-grey, inverted-primary pour inverse) */
113
134
  readonly inverse: {
135
+ /** @deprecated Utiliser light.text['inverted-grey'] */
114
136
  readonly base: "#FFFFFF";
137
+ /** @deprecated Utiliser light.text['inverted-grey'] */
115
138
  readonly title: "#FFFFFF";
139
+ /** @deprecated Utiliser light.text['disabled-grey'] */
116
140
  readonly muted: "#8D97AC";
141
+ /** @deprecated Pas d'équivalent direct dans light ; utiliser light.text selon le contexte */
117
142
  readonly accent: "#E4F40E";
118
143
  };
144
+ /** @deprecated Utiliser light.text avec les couleurs sémantiques (default-info, default-success, etc.) */
119
145
  readonly badge: {
146
+ /** @deprecated Utiliser light.text['default-info'] */
120
147
  readonly info: "#0E6398";
148
+ /** @deprecated Utiliser light.text['default-success'] */
121
149
  readonly success: "#166645";
150
+ /** @deprecated Utiliser light.text['label-grey'] */
122
151
  readonly default: "#323439";
152
+ /** @deprecated Utiliser light.text['default-warning'] */
123
153
  readonly warning: "#BA461C";
154
+ /** @deprecated Utiliser light.text['default-error'] */
124
155
  readonly error: "#C62416";
156
+ /** @deprecated Pas d'équivalent direct dans light */
125
157
  readonly new: "#7F4214";
126
158
  };
159
+ /** @deprecated Utiliser light.background (action-high-primary, etc.) pour les boutons */
127
160
  readonly button: {
161
+ /** @deprecated Utiliser light.background['action-high-primary'] et light.text['inverted-grey'] */
128
162
  readonly primary: {
129
163
  readonly default: "#FFFFFF";
130
164
  readonly hover: "#FFFFFF";
131
165
  readonly disabled: "#8D97AC";
132
166
  };
167
+ /** @deprecated Utiliser light.background et light.border pour les boutons secondaires */
133
168
  readonly secondary: {
134
169
  readonly default: "#151617";
135
170
  readonly hover: "#151617";
136
171
  readonly disabled: "#8D97AC";
137
172
  };
173
+ /** @deprecated Utiliser light.background pour les boutons tertiaires */
138
174
  readonly tertiary: {
139
175
  readonly default: "#373A3F";
140
176
  readonly hover: "#373A3F";
141
177
  readonly disabled: "#8D97AC";
142
178
  };
179
+ /** @deprecated Utiliser light.background['action-high-error'] pour les boutons danger */
143
180
  readonly danger: {
144
181
  readonly default: "#AF051A";
145
182
  readonly hover: "#FFFFFF";
146
183
  readonly disabled: "#8D97AC";
147
184
  };
148
185
  };
186
+ /** @deprecated Utiliser light.text['default-grey'] ou light.border selon le contexte */
149
187
  readonly tag: {
188
+ /** @deprecated Utiliser light.text['default-grey'] */
150
189
  readonly default: "#EBF2F4";
151
190
  };
191
+ /** @deprecated Utiliser light.text['default-info'] */
152
192
  readonly link: {
193
+ /** @deprecated Utiliser light.text['default-info'] */
153
194
  readonly default: "#076D8A";
195
+ /** @deprecated Utiliser light.text['default-info'] */
154
196
  readonly hover: "#076D8A";
155
197
  };
198
+ /** @deprecated Utiliser light.text pour les liens de navigation */
156
199
  readonly nav: {
157
200
  readonly link: {
201
+ /** @deprecated Utiliser light.text['mention-grey'] */
158
202
  readonly default: "#5F6571";
203
+ /** @deprecated Utiliser light.text['title-grey'] ou light.text['active-primary'] */
159
204
  readonly current: "#151617";
160
205
  };
161
206
  };
162
207
  };
208
+ /** @deprecated Utiliser light.border pour les couleurs de bordure */
163
209
  readonly border: {
210
+ /** @deprecated Utiliser light.border['default-grey'] */
164
211
  readonly base: "#8D97AC";
212
+ /** @deprecated Utiliser light.border['default-grey'] */
165
213
  readonly 'default-grey': "#DEE3EC";
214
+ /** @deprecated Utiliser light.border['action-high-primary'] */
166
215
  readonly action: "#012448";
216
+ /** @deprecated Utiliser light.border['disabled-grey'] */
167
217
  readonly 'disabled-grey': "#E6EAF1";
218
+ /** @deprecated Utiliser light.border['plain-grey'] */
168
219
  readonly 'plain-grey': "#373A3F";
220
+ /** @deprecated Utiliser light.border['plain-success'] */
169
221
  readonly 'plain-success': "#1B7440";
222
+ /** @deprecated Utiliser light.border['plain-error'] */
170
223
  readonly 'plain-error': "#C62416";
171
- /** @deprecated Utiliser 'default-primary' */
224
+ /** @deprecated Utiliser light.border['default-primary'] */
172
225
  readonly 'default-bleu-captive': "#0379EF";
226
+ /** @deprecated Utiliser light.border['default-primary'] */
173
227
  readonly 'default-primary': "#0379EF";
228
+ /** @deprecated Utiliser light.border['contrast-grey'] */
174
229
  readonly 'contrast-grey': "#DEE3EC";
230
+ /** @deprecated Utiliser light.border pour les bordures de boutons */
175
231
  readonly button: {
232
+ /** @deprecated Utiliser light.border['action-high-grey'] */
176
233
  readonly secondary: {
177
234
  readonly default: "#373A3F";
178
235
  readonly hover: "#373A3F";
179
236
  readonly disabled: "#DEE3EC";
180
237
  };
238
+ /** @deprecated Utiliser light.border['plain-error'] */
181
239
  readonly danger: {
182
240
  readonly default: "#8197AA";
183
241
  readonly hover: "#AF051A";
184
242
  readonly disabled: "#C5D6DC";
185
243
  };
186
244
  };
245
+ /** @deprecated Utiliser light.background (flat-info, flat-error, etc.) pour les alertes */
187
246
  readonly alert: {
247
+ /** @deprecated Utiliser light.background['flat-info'] */
188
248
  readonly info: "#1070CA";
249
+ /** @deprecated Utiliser light.background['flat-success'] */
189
250
  readonly success: "#1C7F54";
251
+ /** @deprecated Utiliser light.background['flat-warning'] */
190
252
  readonly warning: "#BA461C";
253
+ /** @deprecated Utiliser light.background['flat-error'] */
191
254
  readonly error: "#C62416";
255
+ /** @deprecated Utiliser light.text['default-info'] */
192
256
  readonly link: "#076D8A";
193
257
  };
258
+ /** @deprecated Utiliser light.text['default-info'] */
194
259
  readonly link: {
260
+ /** @deprecated Utiliser light.text['default-info'] */
195
261
  readonly default: "#076D8A";
196
262
  };
263
+ /** @deprecated Utiliser light.border['default-grey'] */
197
264
  readonly quote: {
198
265
  readonly default: "#DEE3EC";
199
266
  };
267
+ /** @deprecated Utiliser light.border['open-primary'] */
200
268
  readonly nav: {
201
269
  readonly link: {
270
+ /** @deprecated Utiliser light.border['open-primary'] */
202
271
  readonly active: "#D2E8FE";
203
272
  };
204
273
  };
205
274
  };
275
+ /** @deprecated Utiliser light.background pour les couleurs de fond */
206
276
  readonly background: {
277
+ /** @deprecated Utiliser light.background['default-grey'] */
207
278
  readonly default: "#FFFFFF";
279
+ /** @deprecated Utiliser light.background['default-grey-active'] */
208
280
  readonly 'default-active': "#EFF1F6";
281
+ /** @deprecated Utiliser light.background['alt-grey'] */
209
282
  readonly 'alt-grey': "#F4F6FA";
283
+ /** @deprecated Utiliser light.background['active-inverted'] */
210
284
  readonly inverse: "#012448";
285
+ /** @deprecated Utiliser light.background['action-high-primary'] */
211
286
  readonly action: "#012448";
287
+ /** @deprecated Utiliser light.background['disabled-grey'] */
212
288
  readonly 'disabled-grey': "#E6EAF1";
289
+ /** @deprecated Utiliser light.background['default-grey-hover'] */
213
290
  readonly 'default-hover': "#F4F6FA";
214
- /** @deprecated Utiliser 'open-primary' */
291
+ /** @deprecated Utiliser light.background['open-primary'] */
215
292
  readonly 'open-bleu-captive': "#D2E8FE";
293
+ /** @deprecated Utiliser light.background['open-primary'] */
216
294
  readonly 'open-primary': "#D2E8FE";
295
+ /** @deprecated Utiliser light.background['contrast-grey'] */
217
296
  readonly 'contrast-grey': "#E6EAF1";
218
- /** @deprecated Utiliser 'alt-primary' */
297
+ /** @deprecated Utiliser light.background['alt-primary'] */
219
298
  readonly 'alt-bleu-captive': "#F2F9FF";
299
+ /** @deprecated Utiliser light.background['alt-primary'] */
220
300
  readonly 'alt-primary': "#F2F9FF";
301
+ /** @deprecated Utiliser light.background['action-low-primary'] */
221
302
  readonly 'action-low-primary': "#D2E8FE";
303
+ /** @deprecated Utiliser light.background['contrast-success'] ou flat-success selon le contexte */
222
304
  readonly 'default-success': "#87FCB8";
305
+ /** @deprecated Utiliser light.background (flat-error, flat-info, etc.) pour les alertes */
223
306
  readonly alert: {
307
+ /** @deprecated Utiliser light.background['flat-info'] */
224
308
  readonly info: "#1070CA";
309
+ /** @deprecated Utiliser light.background['flat-success'] */
225
310
  readonly success: "#1C7F54";
311
+ /** @deprecated Utiliser light.background['flat-warning'] */
226
312
  readonly warning: "#BA461C";
313
+ /** @deprecated Utiliser light.background['flat-error'] */
227
314
  readonly error: "#C62416";
228
315
  };
316
+ /** @deprecated Utiliser light.background (action-high-primary, action-high-primary-hover, etc.) pour les boutons */
229
317
  readonly button: {
318
+ /** @deprecated Utiliser light.background['action-high-primary'] et light.background['action-high-primary-hover'] */
230
319
  readonly primary: {
231
320
  readonly default: "#D9127C";
232
321
  readonly hover: "#BC0A6F";
233
322
  readonly disabled: "#E6EBF3";
234
323
  };
324
+ /** @deprecated Utiliser light.background (transparent-hover) */
235
325
  readonly secondary: {
236
326
  readonly default: "transparent";
237
327
  readonly hover: "#F4F6FA";
238
328
  readonly disabled: "transparent";
239
329
  };
330
+ /** @deprecated Utiliser light.background (transparent-hover) */
240
331
  readonly tertiary: {
241
332
  readonly default: "transparent";
242
333
  readonly hover: "#F4F6FA";
243
334
  readonly disabled: "transparent";
244
335
  };
336
+ /** @deprecated Utiliser light.background['action-high-error'] et light.background['flat-error'] */
245
337
  readonly danger: {
246
338
  readonly default: "transparent";
247
339
  readonly hover: "#C62416";
248
340
  readonly disabled: "transparent";
249
341
  };
250
342
  };
343
+ /** @deprecated Utiliser light.background pour les tags */
251
344
  readonly tag: {
345
+ /** @deprecated Utiliser light.background['alt-grey'] ou light.background['default-grey'] */
252
346
  readonly default: "#1F242D";
253
347
  };
348
+ /** @deprecated Utiliser light.background (flat-info, flat-success, etc.) pour les badges */
254
349
  readonly badge: {
350
+ /** @deprecated Utiliser light.background['flat-info'] */
255
351
  readonly info: "#D6F3FD";
352
+ /** @deprecated Utiliser light.background['flat-success'] */
256
353
  readonly success: "#D7F4E1";
354
+ /** @deprecated Utiliser light.background['flat-warning'] */
257
355
  readonly warning: "#FFE9E1";
356
+ /** @deprecated Utiliser light.background['flat-error'] */
258
357
  readonly error: "#FFE5E9";
358
+ /** @deprecated Pas d'équivalent direct dans light */
259
359
  readonly new: "#FBF2C6";
360
+ /** @deprecated Utiliser light.background['contrast-grey'] */
260
361
  readonly default: "#EFF1F6";
261
362
  };
363
+ /** @deprecated Utiliser light.background['transparent-hover'] ou default-grey-hover */
262
364
  readonly nav: {
263
365
  readonly link: {
366
+ /** @deprecated Utiliser light.background['default-grey-hover'] */
264
367
  readonly hover: "#F4F6FA";
265
368
  };
266
369
  };
370
+ /** @deprecated Utiliser light.background et light.border pour le stepper */
267
371
  readonly stepper: {
372
+ /** @deprecated Utiliser light.border['plain-grey'] */
268
373
  readonly default: "#373A3F";
374
+ /** @deprecated Utiliser light.background['action-low-primary'] ou light.border['default-primary'] */
269
375
  readonly current: "#A8E4FA";
376
+ /** @deprecated Utiliser light.background['contrast-success'] */
270
377
  readonly success: "#E8368F";
271
378
  };
272
379
  };
380
+ /** @deprecated Utiliser light.system */
273
381
  readonly system: {
382
+ /** @deprecated Utiliser light.system.focus */
274
383
  readonly focus: "#0A76F6";
275
384
  };
276
385
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Palette.d.ts","sourceRoot":"","sources":["../../src/constants/Palette.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoGtB,+CAA+C;;;;QAI/C,wCAAwC;;;QAGxC,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAwE9C,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAiD7C,0CAA0C;;;;QAI1C,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEnC,CAAC;AAEX,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAE/F,MAAM,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAC"}
1
+ {"version":3,"file":"Palette.d.ts","sourceRoot":"","sources":["../../src/constants/Palette.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuFxB,kHAAkH;;IAElH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85,193 +85,302 @@ export const CustomPalette = {
85
85
  },
86
86
  },
87
87
  },
88
+ /** @deprecated Utiliser light.background['action-high-primary'] ou les tokens du thème light selon le contexte */
88
89
  primary: Colors['PinkVivid']['500'],
90
+ /** @deprecated Utiliser 'transparent' en valeur directe ou light.background selon le contexte */
89
91
  transparent: 'transparent',
92
+ /** @deprecated Utiliser light.background['action-high-error'] ou light.text['default-error'] */
90
93
  danger: Colors['RougeErreur']['425'],
94
+ /** @deprecated Utiliser light.background['flat-info'] ou light.text['default-info'] */
91
95
  info: Colors['Mariner']['600'],
96
+ /** @deprecated Utiliser light.background['flat-success'] ou light.text['default-success'] */
92
97
  success: Colors['MountainMeadow']['600'],
98
+ /** @deprecated Utiliser light.background['flat-warning'] ou light.text['default-warning'] */
93
99
  warning: Colors['Watusi']['700'],
100
+ /** @deprecated Utiliser light.text['default-info'] */
94
101
  link: Colors['BleuCiel']['425'],
102
+ /** @deprecated Utiliser light.text pour les couleurs de texte */
95
103
  text: {
104
+ /** @deprecated Utiliser light.text['default-grey'] */
96
105
  'default-grey': Colors['Neutre']['200'],
106
+ /** @deprecated Utiliser light.text['title-grey'] */
97
107
  'title-grey': Colors['Neutre']['50'],
108
+ /** @deprecated Utiliser light.text['mention-grey'] */
98
109
  mention: Colors['Neutre']['425'],
110
+ /** @deprecated Utiliser light.text['disabled-grey'] */
99
111
  'disabled-grey': Colors['Neutre']['625'],
100
- /** @deprecated Utiliser action-high-primary */
112
+ /** @deprecated Utiliser light.text['action-high-primary'] */
101
113
  'action-high-blue-captive': Colors['BleuCaptive']['100'],
114
+ /** @deprecated Utiliser light.text['action-high-primary'] */
102
115
  'action-high-primary': Colors['BleuCaptive']['100'],
116
+ /** @deprecated Utiliser light.text['action-high-info'] */
103
117
  'action-high-info': Colors['BleuCaptive']['425'],
104
- /** @deprecated Utiliser 'title-grey' */
118
+ /** @deprecated Utiliser light.text['title-grey'] */
105
119
  'title-blue-captive': Colors['BleuCaptive']['100'],
120
+ /** @deprecated Utiliser light.text['label-grey'] */
106
121
  'label-grey': Colors['Neutre']['50'],
107
- /** @deprecated Utiliser 'inverted-primary' */
122
+ /** @deprecated Utiliser light.text['inverted-primary'] */
108
123
  'inverted-blue-captive': Colors['Neutre']['1000'],
124
+ /** @deprecated Utiliser light.text['inverted-primary'] */
109
125
  'inverted-primary': Colors['Neutre']['1000'],
126
+ /** @deprecated Utiliser light.text['default-success'] */
110
127
  'default-success': Colors['VertSuccess']['425'],
128
+ /** @deprecated Utiliser light.text['default-error'] */
111
129
  'default-error': Colors['RougeErreur']['425'],
130
+ /** @deprecated Utiliser light.text['default-info'] */
112
131
  'default-info': Colors['BleuCiel']['main-686'],
132
+ /** @deprecated Utiliser light.text['action-high-grey'] */
113
133
  'action-high-grey': Colors['Neutre']['50'],
134
+ /** @deprecated Utiliser light.text (ex: inverted-grey, inverted-primary pour inverse) */
114
135
  inverse: {
136
+ /** @deprecated Utiliser light.text['inverted-grey'] */
115
137
  base: Colors['Neutre']['1000'],
138
+ /** @deprecated Utiliser light.text['inverted-grey'] */
116
139
  title: Colors['Neutre']['1000'],
140
+ /** @deprecated Utiliser light.text['disabled-grey'] */
117
141
  muted: Colors['Neutre']['625'],
142
+ /** @deprecated Pas d'équivalent direct dans light ; utiliser light.text selon le contexte */
118
143
  accent: Colors['GoldenFizz']['400'],
119
144
  },
145
+ /** @deprecated Utiliser light.text avec les couleurs sémantiques (default-info, default-success, etc.) */
120
146
  badge: {
147
+ /** @deprecated Utiliser light.text['default-info'] */
121
148
  info: Colors['LightBlueVivid']['700'],
149
+ /** @deprecated Utiliser light.text['default-success'] */
122
150
  success: Colors['MountainMeadow']['700'],
151
+ /** @deprecated Utiliser light.text['label-grey'] */
123
152
  default: Colors['Neutre']['175'],
153
+ /** @deprecated Utiliser light.text['default-warning'] */
124
154
  warning: Colors['Watusi']['700'],
155
+ /** @deprecated Utiliser light.text['default-error'] */
125
156
  error: Colors['RougeErreur']['425'],
157
+ /** @deprecated Pas d'équivalent direct dans light */
126
158
  new: Colors['Sunshade']['800'],
127
159
  },
160
+ /** @deprecated Utiliser light.background (action-high-primary, etc.) pour les boutons */
128
161
  button: {
162
+ /** @deprecated Utiliser light.background['action-high-primary'] et light.text['inverted-grey'] */
129
163
  primary: {
130
164
  default: Colors['Neutre']['1000'],
131
165
  hover: Colors['Neutre']['1000'],
132
166
  disabled: Colors['Neutre']['625'],
133
167
  },
168
+ /** @deprecated Utiliser light.background et light.border pour les boutons secondaires */
134
169
  secondary: {
135
170
  default: Colors['Neutre']['50'],
136
171
  hover: Colors['Neutre']['50'],
137
172
  disabled: Colors['Neutre']['625'],
138
173
  },
174
+ /** @deprecated Utiliser light.background pour les boutons tertiaires */
139
175
  tertiary: {
140
176
  default: Colors['Neutre']['200'],
141
177
  hover: Colors['Neutre']['200'],
142
178
  disabled: Colors['Neutre']['625'],
143
179
  },
180
+ /** @deprecated Utiliser light.background['action-high-error'] pour les boutons danger */
144
181
  danger: {
145
182
  default: Colors['Monza']['800'],
146
183
  hover: Colors['Neutre']['1000'],
147
184
  disabled: Colors['Neutre']['625'],
148
185
  },
149
186
  },
187
+ /** @deprecated Utiliser light.text['default-grey'] ou light.border selon le contexte */
150
188
  tag: {
189
+ /** @deprecated Utiliser light.text['default-grey'] */
151
190
  default: Colors['SlateGrey']['950'],
152
191
  },
192
+ /** @deprecated Utiliser light.text['default-info'] */
153
193
  link: {
194
+ /** @deprecated Utiliser light.text['default-info'] */
154
195
  default: Colors['BleuCiel']['425'],
196
+ /** @deprecated Utiliser light.text['default-info'] */
155
197
  hover: Colors['BleuCiel']['425'],
156
198
  },
199
+ /** @deprecated Utiliser light.text pour les liens de navigation */
157
200
  nav: {
158
201
  link: {
202
+ /** @deprecated Utiliser light.text['mention-grey'] */
159
203
  default: Colors['Neutre']['425'],
204
+ /** @deprecated Utiliser light.text['title-grey'] ou light.text['active-primary'] */
160
205
  current: Colors['Neutre']['50'],
161
206
  },
162
207
  },
163
208
  },
209
+ /** @deprecated Utiliser light.border pour les couleurs de bordure */
164
210
  border: {
211
+ /** @deprecated Utiliser light.border['default-grey'] */
165
212
  base: Colors['Neutre']['625'],
213
+ /** @deprecated Utiliser light.border['default-grey'] */
166
214
  'default-grey': Colors['Neutre']['900'],
215
+ /** @deprecated Utiliser light.border['action-high-primary'] */
167
216
  action: Colors['BleuCaptive']['100'],
217
+ /** @deprecated Utiliser light.border['disabled-grey'] */
168
218
  'disabled-grey': Colors['Neutre']['925'],
219
+ /** @deprecated Utiliser light.border['plain-grey'] */
169
220
  'plain-grey': Colors['Neutre']['200'],
221
+ /** @deprecated Utiliser light.border['plain-success'] */
170
222
  'plain-success': Colors['VertSuccess']['425'],
223
+ /** @deprecated Utiliser light.border['plain-error'] */
171
224
  'plain-error': Colors['RougeErreur']['425'],
172
- /** @deprecated Utiliser 'default-primary' */
225
+ /** @deprecated Utiliser light.border['default-primary'] */
173
226
  'default-bleu-captive': Colors['BleuCaptive']['main-525'],
227
+ /** @deprecated Utiliser light.border['default-primary'] */
174
228
  'default-primary': Colors['BleuCaptive']['main-525'],
229
+ /** @deprecated Utiliser light.border['contrast-grey'] */
175
230
  'contrast-grey': Colors['Neutre']['900'],
231
+ /** @deprecated Utiliser light.border pour les bordures de boutons */
176
232
  button: {
233
+ /** @deprecated Utiliser light.border['action-high-grey'] */
177
234
  secondary: {
178
235
  default: Colors['Neutre']['200'],
179
236
  hover: Colors['Neutre']['200'],
180
237
  disabled: Colors['Neutre']['900'],
181
238
  },
239
+ /** @deprecated Utiliser light.border['plain-error'] */
182
240
  danger: {
183
241
  default: Colors['SlateGrey']['600'],
184
242
  hover: Colors['Monza']['800'],
185
243
  disabled: Colors['SlateGrey']['300'],
186
244
  },
187
245
  },
246
+ /** @deprecated Utiliser light.background (flat-info, flat-error, etc.) pour les alertes */
188
247
  alert: {
248
+ /** @deprecated Utiliser light.background['flat-info'] */
189
249
  info: Colors['Mariner']['600'],
250
+ /** @deprecated Utiliser light.background['flat-success'] */
190
251
  success: Colors['MountainMeadow']['600'],
252
+ /** @deprecated Utiliser light.background['flat-warning'] */
191
253
  warning: Colors['Watusi']['700'],
254
+ /** @deprecated Utiliser light.background['flat-error'] */
192
255
  error: Colors['RougeErreur']['425'],
256
+ /** @deprecated Utiliser light.text['default-info'] */
193
257
  link: Colors['BleuCiel']['425'],
194
258
  },
259
+ /** @deprecated Utiliser light.text['default-info'] */
195
260
  link: {
261
+ /** @deprecated Utiliser light.text['default-info'] */
196
262
  default: Colors['BleuCiel']['425'],
197
263
  },
264
+ /** @deprecated Utiliser light.border['default-grey'] */
198
265
  quote: {
199
266
  default: Colors['Neutre']['900'],
200
267
  },
268
+ /** @deprecated Utiliser light.border['open-primary'] */
201
269
  nav: {
202
270
  link: {
271
+ /** @deprecated Utiliser light.border['open-primary'] */
203
272
  active: Colors['BleuCaptive']['925'],
204
273
  },
205
274
  },
206
275
  },
276
+ /** @deprecated Utiliser light.background pour les couleurs de fond */
207
277
  background: {
278
+ /** @deprecated Utiliser light.background['default-grey'] */
208
279
  default: Colors['Neutre']['1000'],
280
+ /** @deprecated Utiliser light.background['default-grey-active'] */
209
281
  'default-active': Colors['Neutre']['950'],
282
+ /** @deprecated Utiliser light.background['alt-grey'] */
210
283
  'alt-grey': Colors['Neutre']['975'],
284
+ /** @deprecated Utiliser light.background['active-inverted'] */
211
285
  inverse: Colors['BleuCaptive']['100'],
286
+ /** @deprecated Utiliser light.background['action-high-primary'] */
212
287
  action: Colors['BleuCaptive']['100'],
288
+ /** @deprecated Utiliser light.background['disabled-grey'] */
213
289
  'disabled-grey': Colors['Neutre']['925'],
290
+ /** @deprecated Utiliser light.background['default-grey-hover'] */
214
291
  'default-hover': Colors['Neutre']['975'],
215
- /** @deprecated Utiliser 'open-primary' */
292
+ /** @deprecated Utiliser light.background['open-primary'] */
216
293
  'open-bleu-captive': Colors['BleuCaptive']['925'],
294
+ /** @deprecated Utiliser light.background['open-primary'] */
217
295
  'open-primary': Colors['BleuCaptive']['925'],
296
+ /** @deprecated Utiliser light.background['contrast-grey'] */
218
297
  'contrast-grey': Colors['Neutre']['925'],
219
- /** @deprecated Utiliser 'alt-primary' */
298
+ /** @deprecated Utiliser light.background['alt-primary'] */
220
299
  'alt-bleu-captive': Colors['BleuCaptive']['975'],
300
+ /** @deprecated Utiliser light.background['alt-primary'] */
221
301
  'alt-primary': Colors['BleuCaptive']['975'],
302
+ /** @deprecated Utiliser light.background['action-low-primary'] */
222
303
  'action-low-primary': Colors['BleuCaptive']['925'],
304
+ /** @deprecated Utiliser light.background['contrast-success'] ou flat-success selon le contexte */
223
305
  'default-success': Colors['VertSuccess']['925'],
306
+ /** @deprecated Utiliser light.background (flat-error, flat-info, etc.) pour les alertes */
224
307
  alert: {
308
+ /** @deprecated Utiliser light.background['flat-info'] */
225
309
  info: Colors['Mariner']['600'],
310
+ /** @deprecated Utiliser light.background['flat-success'] */
226
311
  success: Colors['MountainMeadow']['600'],
312
+ /** @deprecated Utiliser light.background['flat-warning'] */
227
313
  warning: Colors['Watusi']['700'],
314
+ /** @deprecated Utiliser light.background['flat-error'] */
228
315
  error: Colors['RougeErreur']['425'],
229
316
  },
317
+ /** @deprecated Utiliser light.background (action-high-primary, action-high-primary-hover, etc.) pour les boutons */
230
318
  button: {
319
+ /** @deprecated Utiliser light.background['action-high-primary'] et light.background['action-high-primary-hover'] */
231
320
  primary: {
232
321
  default: Colors['PinkVivid']['500'],
233
322
  hover: Colors['PinkVivid']['600'],
234
323
  disabled: Colors['GrisPolaire']['100'],
235
324
  },
325
+ /** @deprecated Utiliser light.background (transparent-hover) */
236
326
  secondary: {
237
327
  default: 'transparent',
238
328
  hover: Colors['Neutre']['975'],
239
329
  disabled: 'transparent',
240
330
  },
331
+ /** @deprecated Utiliser light.background (transparent-hover) */
241
332
  tertiary: {
242
333
  default: 'transparent',
243
334
  hover: Colors['Neutre']['975'],
244
335
  disabled: 'transparent',
245
336
  },
337
+ /** @deprecated Utiliser light.background['action-high-error'] et light.background['flat-error'] */
246
338
  danger: {
247
339
  default: 'transparent',
248
340
  hover: Colors['RougeErreur']['425'],
249
341
  disabled: 'transparent',
250
342
  },
251
343
  },
344
+ /** @deprecated Utiliser light.background pour les tags */
252
345
  tag: {
346
+ /** @deprecated Utiliser light.background['alt-grey'] ou light.background['default-grey'] */
253
347
  default: Colors['SlateGrey']['100'],
254
348
  },
349
+ /** @deprecated Utiliser light.background (flat-info, flat-success, etc.) pour les badges */
255
350
  badge: {
351
+ /** @deprecated Utiliser light.background['flat-info'] */
256
352
  info: Colors['LightBlueVivid']['100'],
353
+ /** @deprecated Utiliser light.background['flat-success'] */
257
354
  success: Colors['MountainMeadow']['100'],
355
+ /** @deprecated Utiliser light.background['flat-warning'] */
258
356
  warning: Colors['Watusi']['100'],
357
+ /** @deprecated Utiliser light.background['flat-error'] */
259
358
  error: Colors['Monza']['100'],
359
+ /** @deprecated Pas d'équivalent direct dans light */
260
360
  new: Colors['Sunshade']['100'],
361
+ /** @deprecated Utiliser light.background['contrast-grey'] */
261
362
  default: Colors['Neutre']['950'],
262
363
  },
364
+ /** @deprecated Utiliser light.background['transparent-hover'] ou default-grey-hover */
263
365
  nav: {
264
366
  link: {
367
+ /** @deprecated Utiliser light.background['default-grey-hover'] */
265
368
  hover: Colors['Neutre']['975'],
266
369
  },
267
370
  },
371
+ /** @deprecated Utiliser light.background et light.border pour le stepper */
268
372
  stepper: {
373
+ /** @deprecated Utiliser light.border['plain-grey'] */
269
374
  default: Colors['Neutre']['200'],
375
+ /** @deprecated Utiliser light.background['action-low-primary'] ou light.border['default-primary'] */
270
376
  current: Colors['LightBlueVivid']['200'],
377
+ /** @deprecated Utiliser light.background['contrast-success'] */
271
378
  success: Colors['PinkVivid']['400'],
272
379
  },
273
380
  },
381
+ /** @deprecated Utiliser light.system */
274
382
  system: {
383
+ /** @deprecated Utiliser light.system.focus */
275
384
  focus: Colors['Focus']['525'],
276
385
  },
277
386
  };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export * from './constants';
2
+ export * from './helpers/deepMerge';
2
3
  export * from './helpers/isSpacingKey';
3
4
  export * from './helpers/makeStyles';
4
- export * from './helpers/deepMerge';
5
5
  export * from './ThemeProvider';
6
6
  export * from './type';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './constants';
2
+ export * from './helpers/deepMerge';
2
3
  export * from './helpers/isSpacingKey';
3
4
  export * from './helpers/makeStyles';
4
- export * from './helpers/deepMerge';
5
5
  export * from './ThemeProvider';
6
6
  export * from './type';
@@ -1 +1 @@
1
- {"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":["../../src/type/Theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC1H,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC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AAE,SAAS,KAAK,MAAM,CAAC;IAGnC,OAAO,EAAE,OAAO,OAAO,CAAC;IAGxB,IAAI,EAAE,UAAU,GAAG,OAAO,gBAAgB,CAAC;IAG3C,IAAI,EAAE,OAAO,KAAK,CAAC;IAGnB,KAAK,EAAE;QACL,sCAAsC;QACtC,UAAU,EAAE,OAAO,MAAM,CAAC;KAC3B,GAAG,OAAO,aAAa,GAAG;QACvB,KAAK,EAAE,OAAO,KAAK,CAAC;KACrB,CAAC;CACL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alveole/theme",
3
- "version": "0.10.0",
3
+ "version": "0.11.2",
4
4
  "description": "Shared theme tokens and utilities.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,7 +12,8 @@
12
12
  "sideEffects": false,
13
13
  "scripts": {
14
14
  "build": "tsc -p tsconfig.build.json && rm -rf assets && cp -R src/assets assets",
15
- "lint": "eslint ."
15
+ "lint": "eslint .",
16
+ "typecheck": "tsc -p tsconfig.build.json --noEmit"
16
17
  },
17
18
  "devDependencies": {
18
19
  "@alveole/eslint-config": "file:../eslint-config",