@purpurds/theme 7.13.1 → 8.0.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.
Files changed (39) hide show
  1. package/.rush/temp/ci_build/@purpurds/theme/{10faf61143baee1a2e22f79fd791f0db853e0f61.untar.log → 0646f8ac54319d2ce21f09e9f3209badb3907451.untar.log} +2 -2
  2. package/.rush/temp/operation/ci_build/all.log +12 -6
  3. package/.rush/temp/operation/ci_build/log-chunks.jsonl +12 -6
  4. package/.rush/temp/operation/ci_build/state.json +1 -1
  5. package/.rush/temp/operation/test_unit/state.json +1 -1
  6. package/.rush/temp/shrinkwrap-deps.json +1 -1
  7. package/dist/LICENSE.txt +8 -8
  8. package/dist/ThemeProvider.d.ts +7 -5
  9. package/dist/ThemeProvider.d.ts.map +1 -1
  10. package/dist/telia-dark.d.ts +129 -0
  11. package/dist/telia-dark.d.ts.map +1 -0
  12. package/dist/telia-light.d.ts +129 -0
  13. package/dist/telia-light.d.ts.map +1 -0
  14. package/dist/telia-theme.d.ts +223 -20
  15. package/dist/telia-theme.d.ts.map +1 -1
  16. package/dist/theme-props.d.ts +32 -17
  17. package/dist/theme-props.d.ts.map +1 -1
  18. package/dist/theme.cjs.js +1 -1
  19. package/dist/theme.cjs.js.map +1 -1
  20. package/dist/theme.d.ts +4 -2
  21. package/dist/theme.d.ts.map +1 -1
  22. package/dist/theme.es.js +346 -133
  23. package/dist/theme.es.js.map +1 -1
  24. package/dist/types.d.ts +4 -0
  25. package/dist/types.d.ts.map +1 -1
  26. package/dist/useApplyTheme.d.ts +10 -0
  27. package/dist/useApplyTheme.d.ts.map +1 -0
  28. package/dist/useColorScheme.d.ts.map +1 -1
  29. package/package.json +4 -3
  30. package/src/ThemeProvider.tsx +18 -27
  31. package/src/telia-dark.ts +141 -0
  32. package/src/telia-light.ts +278 -0
  33. package/src/telia-theme.ts +6 -88
  34. package/src/theme-props.ts +32 -17
  35. package/src/theme.ts +4 -2
  36. package/src/types.ts +1 -0
  37. package/src/useApplyTheme.ts +34 -0
  38. package/types.d.ts +0 -365
  39. /package/src/{useColorScheme.tsx → useColorScheme.ts} +0 -0
package/types.d.ts DELETED
@@ -1,365 +0,0 @@
1
- type ThemeProps = {
2
- colorBrandDeepPurpleValue?: string;
3
- colorBrandDeepPurpleType?: string;
4
- colorBrandDeepPurpleDescription?: string;
5
- colorBrandCorePurpleValue?: string;
6
- colorBrandCorePurpleType?: string;
7
- colorBrandCorePurpleDescription?: string;
8
- colorBrandLightPurpleValue?: string;
9
- colorBrandLightPurpleType?: string;
10
- colorBrandLightPurpleDescription?: string;
11
- colorBrandDeepBeigeValue?: string;
12
- colorBrandDeepBeigeType?: string;
13
- colorBrandDeepBeigeDescription?: string;
14
- colorBrandBeigeValue?: string;
15
- colorBrandBeigeType?: string;
16
- colorBrandBeigeDescription?: string;
17
- colorBrandLightBeigeValue?: string;
18
- colorBrandLightBeigeType?: string;
19
- colorBrandLightBeigeDescription?: string;
20
- colorBrandOffBlackValue?: string;
21
- colorBrandOffBlackType?: string;
22
- colorBrandOffBlackDescription?: string;
23
- colorBrandWhiteValue?: string;
24
- colorBrandWhiteType?: string;
25
- colorBrandWhiteDescription?: string;
26
- colorTextDefaultValue?: string;
27
- colorTextDefaultType?: string;
28
- colorTextDefaultDescription?: string;
29
- colorTextMediumValue?: string;
30
- colorTextMediumType?: string;
31
- colorTextMediumDescription?: string;
32
- colorTextWeakValue?: string;
33
- colorTextWeakType?: string;
34
- colorTextWeakDescription?: string;
35
- colorTextDefaultNegativeValue?: string;
36
- colorTextDefaultNegativeType?: string;
37
- colorTextDefaultNegativeDescription?: string;
38
- colorTextMediumNegativeValue?: string;
39
- colorTextMediumNegativeType?: string;
40
- colorTextMediumNegativeDescription?: string;
41
- colorTextWeakNegativeValue?: string;
42
- colorTextWeakNegativeType?: string;
43
- colorTextWeakNegativeDescription?: string;
44
- colorTextInteractivePrimaryValue?: string;
45
- colorTextInteractivePrimaryType?: string;
46
- colorTextInteractivePrimaryDescription?: string;
47
- colorTextInteractivePrimaryHoverValue?: string;
48
- colorTextInteractivePrimaryHoverType?: string;
49
- colorTextInteractivePrimaryHoverDescription?: string;
50
- colorTextInteractivePrimaryActiveValue?: string;
51
- colorTextInteractivePrimaryActiveType?: string;
52
- colorTextInteractivePrimaryActiveDescription?: string;
53
- colorTextInteractiveOnPrimaryValue?: string;
54
- colorTextInteractiveOnPrimaryType?: string;
55
- colorTextInteractiveOnPrimaryDescription?: string;
56
- colorTextInteractiveOnPrimaryNegativeValue?: string;
57
- colorTextInteractiveOnPrimaryNegativeType?: string;
58
- colorTextInteractiveOnPrimaryNegativeDescription?: string;
59
- colorTextInteractivePrimaryNegativeValue?: string;
60
- colorTextInteractivePrimaryNegativeType?: string;
61
- colorTextInteractivePrimaryNegativeDescription?: string;
62
- colorTextInteractivePrimaryNegativeHoverValue?: string;
63
- colorTextInteractivePrimaryNegativeHoverType?: string;
64
- colorTextInteractivePrimaryNegativeHoverDescription?: string;
65
- colorTextInteractivePrimaryNegativeActiveValue?: string;
66
- colorTextInteractivePrimaryNegativeActiveType?: string;
67
- colorTextInteractivePrimaryNegativeActiveDescription?: string;
68
- colorTextInteractiveOnExpressiveValue?: string;
69
- colorTextInteractiveOnExpressiveType?: string;
70
- colorTextInteractiveOnExpressiveDescription?: string;
71
- colorTextInteractiveOnExpressiveNegativeValue?: string;
72
- colorTextInteractiveOnExpressiveNegativeType?: string;
73
- colorTextInteractiveOnExpressiveNegativeDescription?: string;
74
- colorTextInteractiveOnExpressiveNegativeHoverValue?: string;
75
- colorTextInteractiveOnExpressiveNegativeHoverType?: string;
76
- colorTextInteractiveOnExpressiveNegativeHoverDescription?: string;
77
- colorTextInteractiveOnExpressiveNegativeActiveValue?: string;
78
- colorTextInteractiveOnExpressiveNegativeActiveType?: string;
79
- colorTextInteractiveOnExpressiveNegativeActiveDescription?: string;
80
- colorTextInteractiveOnDestructiveValue?: string;
81
- colorTextInteractiveOnDestructiveType?: string;
82
- colorTextInteractiveOnDestructiveDescription?: string;
83
- colorTextInteractiveSelectedValue?: string;
84
- colorTextInteractiveSelectedType?: string;
85
- colorTextInteractiveSelectedDescription?: string;
86
- colorTextStatusDiscountValue?: string;
87
- colorTextStatusDiscountType?: string;
88
- colorTextStatusDiscountDescription?: string;
89
- colorTextStatusErrorStrongValue?: string;
90
- colorTextStatusErrorStrongType?: string;
91
- colorTextStatusErrorStrongDescription?: string;
92
- colorTextStatusErrorMediumValue?: string;
93
- colorTextStatusErrorMediumType?: string;
94
- colorTextStatusErrorMediumDescription?: string;
95
- colorTextStatusSuccessStrongValue?: string;
96
- colorTextStatusSuccessStrongType?: string;
97
- colorTextStatusSuccessStrongDescription?: string;
98
- colorTextStatusSuccessMediumValue?: string;
99
- colorTextStatusSuccessMediumType?: string;
100
- colorTextStatusSuccessMediumDescription?: string;
101
- colorTextStatusWarningStrongValue?: string;
102
- colorTextStatusWarningStrongType?: string;
103
- colorTextStatusWarningStrongDescription?: string;
104
- colorTextStatusWarningMediumValue?: string;
105
- colorTextStatusWarningMediumType?: string;
106
- colorTextStatusWarningMediumDescription?: string;
107
- colorTextStatusInfoStrongValue?: string;
108
- colorTextStatusInfoStrongType?: string;
109
- colorTextStatusInfoStrongDescription?: string;
110
- colorTextStatusInfoMediumValue?: string;
111
- colorTextStatusInfoMediumType?: string;
112
- colorTextStatusInfoMediumDescription?: string;
113
- colorTextStatusNeutralValue?: string;
114
- colorTextStatusNeutralType?: string;
115
- colorTextStatusNeutralDescription?: string;
116
- colorTextStatusSpecialValue?: string;
117
- colorTextStatusSpecialType?: string;
118
- colorTextStatusSpecialDescription?: string;
119
- colorTextStatusAttentionValue?: string;
120
- colorTextStatusAttentionType?: string;
121
- colorTextStatusAttentionDescription?: string;
122
- colorTextStatusBlackFridayValue?: string;
123
- colorTextStatusBlackFridayType?: string;
124
- colorTextStatusBlackFridayDescription?: string;
125
- colorTextToneOnTonePrimaryValue?: string;
126
- colorTextToneOnTonePrimaryType?: string;
127
- colorTextToneOnTonePrimaryDescription?: string;
128
- colorTextToneOnToneSecondaryValue?: string;
129
- colorTextToneOnToneSecondaryType?: string;
130
- colorTextToneOnToneSecondaryDescription?: string;
131
- colorTextToneOnToneTertiaryValue?: string;
132
- colorTextToneOnToneTertiaryType?: string;
133
- colorTextToneOnToneTertiaryDescription?: string;
134
- colorBackgroundPrimaryValue?: string;
135
- colorBackgroundPrimaryType?: string;
136
- colorBackgroundPrimaryDescription?: string;
137
- colorBackgroundPrimaryNegativeValue?: string;
138
- colorBackgroundPrimaryNegativeType?: string;
139
- colorBackgroundPrimaryNegativeDescription?: string;
140
- colorBackgroundSecondaryValue?: string;
141
- colorBackgroundSecondaryType?: string;
142
- colorBackgroundSecondaryDescription?: string;
143
- colorBackgroundSecondaryNegativeValue?: string;
144
- colorBackgroundSecondaryNegativeType?: string;
145
- colorBackgroundSecondaryNegativeDescription?: string;
146
- colorBackgroundOnImageValue?: string;
147
- colorBackgroundOnImageType?: string;
148
- colorBackgroundOnImageDescription?: string;
149
- colorBackgroundOnImageNegativeValue?: string;
150
- colorBackgroundOnImageNegativeType?: string;
151
- colorBackgroundOnImageNegativeDescription?: string;
152
- colorBackgroundInteractiveAutoFillValue?: string;
153
- colorBackgroundInteractiveAutoFillType?: string;
154
- colorBackgroundInteractiveAutoFillDescription?: string;
155
- colorBackgroundInteractivePrimaryValue?: string;
156
- colorBackgroundInteractivePrimaryType?: string;
157
- colorBackgroundInteractivePrimaryDescription?: string;
158
- colorBackgroundInteractivePrimaryHoverValue?: string;
159
- colorBackgroundInteractivePrimaryHoverType?: string;
160
- colorBackgroundInteractivePrimaryHoverDescription?: string;
161
- colorBackgroundInteractivePrimaryActiveValue?: string;
162
- colorBackgroundInteractivePrimaryActiveType?: string;
163
- colorBackgroundInteractivePrimaryActiveDescription?: string;
164
- colorBackgroundInteractivePrimaryNegativeValue?: string;
165
- colorBackgroundInteractivePrimaryNegativeType?: string;
166
- colorBackgroundInteractivePrimaryNegativeDescription?: string;
167
- colorBackgroundInteractivePrimaryNegativeHoverValue?: string;
168
- colorBackgroundInteractivePrimaryNegativeHoverType?: string;
169
- colorBackgroundInteractivePrimaryNegativeHoverDescription?: string;
170
- colorBackgroundInteractivePrimaryNegativeActiveValue?: string;
171
- colorBackgroundInteractivePrimaryNegativeActiveType?: string;
172
- colorBackgroundInteractivePrimaryNegativeActiveDescription?: string;
173
- colorBackgroundInteractiveExpressiveValue?: string;
174
- colorBackgroundInteractiveExpressiveType?: string;
175
- colorBackgroundInteractiveExpressiveDescription?: string;
176
- colorBackgroundInteractiveExpressiveHoverValue?: string;
177
- colorBackgroundInteractiveExpressiveHoverType?: string;
178
- colorBackgroundInteractiveExpressiveHoverDescription?: string;
179
- colorBackgroundInteractiveExpressiveActiveValue?: string;
180
- colorBackgroundInteractiveExpressiveActiveType?: string;
181
- colorBackgroundInteractiveExpressiveActiveDescription?: string;
182
- colorBackgroundInteractiveExpressiveNegativeValue?: string;
183
- colorBackgroundInteractiveExpressiveNegativeType?: string;
184
- colorBackgroundInteractiveExpressiveNegativeDescription?: string;
185
- colorBackgroundInteractiveExpressiveNegativeHoverValue?: string;
186
- colorBackgroundInteractiveExpressiveNegativeHoverType?: string;
187
- colorBackgroundInteractiveExpressiveNegativeHoverDescription?: string;
188
- colorBackgroundInteractiveExpressiveNegativeActiveValue?: string;
189
- colorBackgroundInteractiveExpressiveNegativeActiveType?: string;
190
- colorBackgroundInteractiveExpressiveNegativeActiveDescription?: string;
191
- colorBackgroundInteractiveDisabledValue?: string;
192
- colorBackgroundInteractiveDisabledType?: string;
193
- colorBackgroundInteractiveDisabledDescription?: string;
194
- colorBackgroundInteractiveDisabledNegativeValue?: string;
195
- colorBackgroundInteractiveDisabledNegativeType?: string;
196
- colorBackgroundInteractiveDisabledNegativeDescription?: string;
197
- colorBackgroundInteractiveTransparentValue?: string;
198
- colorBackgroundInteractiveTransparentType?: string;
199
- colorBackgroundInteractiveTransparentDescription?: string;
200
- colorBackgroundInteractiveTransparentHoverValue?: string;
201
- colorBackgroundInteractiveTransparentHoverType?: string;
202
- colorBackgroundInteractiveTransparentHoverDescription?: string;
203
- colorBackgroundInteractiveTransparentNegativeHoverValue?: string;
204
- colorBackgroundInteractiveTransparentNegativeHoverType?: string;
205
- colorBackgroundInteractiveTransparentNegativeHoverDescription?: string;
206
- colorBackgroundInteractiveTransparentActiveValue?: string;
207
- colorBackgroundInteractiveTransparentActiveType?: string;
208
- colorBackgroundInteractiveTransparentActiveDescription?: string;
209
- colorBackgroundInteractiveTransparentNegativeActiveValue?: string;
210
- colorBackgroundInteractiveTransparentNegativeActiveType?: string;
211
- colorBackgroundInteractiveTransparentNegativeActiveDescription?: string;
212
- colorBackgroundInteractiveInactiveValue?: string;
213
- colorBackgroundInteractiveInactiveType?: string;
214
- colorBackgroundInteractiveInactiveDescription?: string;
215
- colorBackgroundInteractiveInactiveNegativeValue?: string;
216
- colorBackgroundInteractiveInactiveNegativeType?: string;
217
- colorBackgroundInteractiveInactiveNegativeDescription?: string;
218
- colorBackgroundInteractiveReadOnlyValue?: string;
219
- colorBackgroundInteractiveReadOnlyType?: string;
220
- colorBackgroundInteractiveReadOnlyDescription?: string;
221
- colorBackgroundInteractiveDestructiveValue?: string;
222
- colorBackgroundInteractiveDestructiveType?: string;
223
- colorBackgroundInteractiveDestructiveDescription?: string;
224
- colorBackgroundInteractiveDestructiveHoverValue?: string;
225
- colorBackgroundInteractiveDestructiveHoverType?: string;
226
- colorBackgroundInteractiveDestructiveHoverDescription?: string;
227
- colorBackgroundInteractiveDestructiveActiveValue?: string;
228
- colorBackgroundInteractiveDestructiveActiveType?: string;
229
- colorBackgroundInteractiveDestructiveActiveDescription?: string;
230
- colorBackgroundStatusInfoValue?: string;
231
- colorBackgroundStatusInfoType?: string;
232
- colorBackgroundStatusInfoDescription?: string;
233
- colorBackgroundStatusInfoStrongValue?: string;
234
- colorBackgroundStatusInfoStrongType?: string;
235
- colorBackgroundStatusInfoStrongDescription?: string;
236
- colorBackgroundStatusSuccessValue?: string;
237
- colorBackgroundStatusSuccessType?: string;
238
- colorBackgroundStatusSuccessDescription?: string;
239
- colorBackgroundStatusSuccessStrongValue?: string;
240
- colorBackgroundStatusSuccessStrongType?: string;
241
- colorBackgroundStatusSuccessStrongDescription?: string;
242
- colorBackgroundStatusErrorValue?: string;
243
- colorBackgroundStatusErrorType?: string;
244
- colorBackgroundStatusErrorDescription?: string;
245
- colorBackgroundStatusErrorStrongValue?: string;
246
- colorBackgroundStatusErrorStrongType?: string;
247
- colorBackgroundStatusErrorStrongDescription?: string;
248
- colorBackgroundStatusWarningValue?: string;
249
- colorBackgroundStatusWarningType?: string;
250
- colorBackgroundStatusWarningDescription?: string;
251
- colorBackgroundStatusWarningStrongValue?: string;
252
- colorBackgroundStatusWarningStrongType?: string;
253
- colorBackgroundStatusWarningStrongDescription?: string;
254
- colorBackgroundStatusNeutralValue?: string;
255
- colorBackgroundStatusNeutralType?: string;
256
- colorBackgroundStatusNeutralDescription?: string;
257
- colorBackgroundStatusSpecialValue?: string;
258
- colorBackgroundStatusSpecialType?: string;
259
- colorBackgroundStatusSpecialDescription?: string;
260
- colorBackgroundStatusAttentionValue?: string;
261
- colorBackgroundStatusAttentionType?: string;
262
- colorBackgroundStatusAttentionDescription?: string;
263
- colorBackgroundStatusBlackFridayValue?: string;
264
- colorBackgroundStatusBlackFridayType?: string;
265
- colorBackgroundStatusBlackFridayDescription?: string;
266
- colorBackgroundToneOnTonePrimaryValue?: string;
267
- colorBackgroundToneOnTonePrimaryType?: string;
268
- colorBackgroundToneOnTonePrimaryDescription?: string;
269
- colorBackgroundToneOnToneSecondaryValue?: string;
270
- colorBackgroundToneOnToneSecondaryType?: string;
271
- colorBackgroundToneOnToneSecondaryDescription?: string;
272
- colorBackgroundToneOnToneTertiaryValue?: string;
273
- colorBackgroundToneOnToneTertiaryType?: string;
274
- colorBackgroundToneOnToneTertiaryDescription?: string;
275
- colorBackgroundToneOnToneQuaternaryValue?: string;
276
- colorBackgroundToneOnToneQuaternaryType?: string;
277
- colorBackgroundToneOnToneQuaternaryDescription?: string;
278
- colorBorderMediumValue?: string;
279
- colorBorderMediumType?: string;
280
- colorBorderMediumDescription?: string;
281
- colorBorderMediumNegativeValue?: string;
282
- colorBorderMediumNegativeType?: string;
283
- colorBorderMediumNegativeDescription?: string;
284
- colorBorderStrongValue?: string;
285
- colorBorderStrongType?: string;
286
- colorBorderStrongDescription?: string;
287
- colorBorderStrongNegativeValue?: string;
288
- colorBorderStrongNegativeType?: string;
289
- colorBorderStrongNegativeDescription?: string;
290
- colorBorderWeakValue?: string;
291
- colorBorderWeakType?: string;
292
- colorBorderWeakDescription?: string;
293
- colorBorderWeakNegativeValue?: string;
294
- colorBorderWeakNegativeType?: string;
295
- colorBorderWeakNegativeDescription?: string;
296
- colorBorderInteractiveFocusValue?: string;
297
- colorBorderInteractiveFocusType?: string;
298
- colorBorderInteractiveFocusDescription?: string;
299
- colorBorderInteractivePrimaryValue?: string;
300
- colorBorderInteractivePrimaryType?: string;
301
- colorBorderInteractivePrimaryDescription?: string;
302
- colorBorderInteractivePrimaryNegativeValue?: string;
303
- colorBorderInteractivePrimaryNegativeType?: string;
304
- colorBorderInteractivePrimaryNegativeDescription?: string;
305
- colorBorderInteractivePrimaryHoverValue?: string;
306
- colorBorderInteractivePrimaryHoverType?: string;
307
- colorBorderInteractivePrimaryHoverDescription?: string;
308
- colorBorderInteractivePrimaryActiveValue?: string;
309
- colorBorderInteractivePrimaryActiveType?: string;
310
- colorBorderInteractivePrimaryActiveDescription?: string;
311
- colorBorderInteractivePrimaryNegativeHoverValue?: string;
312
- colorBorderInteractivePrimaryNegativeHoverType?: string;
313
- colorBorderInteractivePrimaryNegativeHoverDescription?: string;
314
- colorBorderInteractivePrimaryNegativeActiveValue?: string;
315
- colorBorderInteractivePrimaryNegativeActiveType?: string;
316
- colorBorderInteractivePrimaryNegativeActiveDescription?: string;
317
- colorBorderInteractiveSelectedValue?: string;
318
- colorBorderInteractiveSelectedType?: string;
319
- colorBorderInteractiveSelectedDescription?: string;
320
- colorBorderInteractiveSubtleValue?: string;
321
- colorBorderInteractiveSubtleType?: string;
322
- colorBorderInteractiveSubtleDescription?: string;
323
- colorBorderInteractiveSubtleHoverValue?: string;
324
- colorBorderInteractiveSubtleHoverType?: string;
325
- colorBorderInteractiveSubtleHoverDescription?: string;
326
- colorBorderStatusErrorValue?: string;
327
- colorBorderStatusErrorType?: string;
328
- colorBorderStatusErrorDescription?: string;
329
- colorBorderStatusWarningValue?: string;
330
- colorBorderStatusWarningType?: string;
331
- colorBorderStatusWarningDescription?: string;
332
- colorBorderStatusInfoValue?: string;
333
- colorBorderStatusInfoType?: string;
334
- colorBorderStatusInfoDescription?: string;
335
- colorBorderStatusSuccessValue?: string;
336
- colorBorderStatusSuccessType?: string;
337
- colorBorderStatusSuccessDescription?: string;
338
- colorOverlayDefaultValue?: string;
339
- colorOverlayDefaultType?: string;
340
- colorOverlayDefaultDescription?: string;
341
- spacingGutterSmValue?: string;
342
- spacingGutterSmType?: string;
343
- spacingGutterSmDescription?: string;
344
- spacingGutterMdValue?: string;
345
- spacingGutterMdType?: string;
346
- spacingGutterMdDescription?: string;
347
- spacingGutterLgValue?: string;
348
- spacingGutterLgType?: string;
349
- spacingGutterLgDescription?: string;
350
- spacingGutterXlValue?: string;
351
- spacingGutterXlType?: string;
352
- spacingGutterXlDescription?: string;
353
- spacingPagePaddingSmValue?: string;
354
- spacingPagePaddingSmType?: string;
355
- spacingPagePaddingSmDescription?: string;
356
- spacingPagePaddingMdValue?: string;
357
- spacingPagePaddingMdType?: string;
358
- spacingPagePaddingMdDescription?: string;
359
- spacingPagePaddingLgValue?: string;
360
- spacingPagePaddingLgType?: string;
361
- spacingPagePaddingLgDescription?: string;
362
- spacingPagePaddingXlValue?: string;
363
- spacingPagePaddingXlType?: string;
364
- spacingPagePaddingXlDescription?: string;
365
- };
File without changes