@atom-learning/components 3.11.3 → 3.11.5

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 (41) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/dist/components/checkbox-group/CheckboxGroup.js.map +1 -1
  3. package/dist/components/chip/ChipGroup.d.ts +4 -2
  4. package/dist/components/chip/ChipGroup.js +1 -1
  5. package/dist/components/chip/ChipGroup.js.map +1 -1
  6. package/dist/components/chip-toggle-group/ChipToggleGroupRoot.d.ts +10 -12
  7. package/dist/components/index.d.ts +0 -1
  8. package/dist/components/notification-badge/NotificationBadge.d.ts +1 -668
  9. package/dist/components/notification-badge/NotificationBadge.js.map +1 -1
  10. package/dist/components/pagination/PaginationPopover.js +1 -1
  11. package/dist/components/pagination/PaginationPopover.js.map +1 -1
  12. package/dist/components/radio-card/RadioCardGroup.d.ts +2 -2
  13. package/dist/components/radio-card/RadioCardGroup.js +1 -1
  14. package/dist/components/radio-card/RadioCardGroup.js.map +1 -1
  15. package/dist/components/section-message/SectionMessage.d.ts +5 -8
  16. package/dist/components/section-message/SectionMessage.js +1 -1
  17. package/dist/components/section-message/SectionMessage.js.map +1 -1
  18. package/dist/components/section-message/SectionMessageLayout.d.ts +2 -2
  19. package/dist/components/section-message/SectionMessageLayout.js +1 -1
  20. package/dist/components/section-message/SectionMessageLayout.js.map +1 -1
  21. package/dist/components/tile/TileGroup.d.ts +329 -337
  22. package/dist/components/tile/TileGroup.js +1 -1
  23. package/dist/components/tile/TileGroup.js.map +1 -1
  24. package/dist/components/tile-interactive/TileInteractive.js +1 -1
  25. package/dist/components/tile-interactive/TileInteractive.js.map +1 -1
  26. package/dist/components/tile-toggle-group/TileToggleGroupRoot.d.ts +12 -18
  27. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js +1 -1
  28. package/dist/components/tile-toggle-group/TileToggleGroupRoot.js.map +1 -1
  29. package/dist/components/toggle-group/ToggleGroupRoot.d.ts +2 -3
  30. package/dist/components/toggle-group/ToggleGroupRoot.js +1 -1
  31. package/dist/components/toggle-group/ToggleGroupRoot.js.map +1 -1
  32. package/dist/components/toggle-group/index.d.ts +341 -3
  33. package/dist/docgen.json +1 -1
  34. package/dist/index.cjs.js +1 -1
  35. package/dist/index.cjs.js.map +1 -1
  36. package/dist/index.js +1 -1
  37. package/package.json +3 -3
  38. package/dist/components/stack/Stack.d.ts +0 -348
  39. package/dist/components/stack/Stack.js +0 -2
  40. package/dist/components/stack/Stack.js.map +0 -1
  41. package/dist/components/stack/index.d.ts +0 -1
@@ -1,672 +1,5 @@
1
1
  import React from 'react';
2
- declare const StyledBadge: import("@stitches/react/types/styled-component").StyledComponent<import("@stitches/react/types/styled-component").StyledComponent<"div", {
3
- direction?: "inherit" | "initial" | "revert" | "unset" | "row" | "column" | "column-reverse" | "row-reverse" | "revert-layer" | undefined;
4
- wrap?: "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | "revert-layer" | undefined;
5
- justify?: "center" | "left" | "right" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "space-around" | "space-between" | "space-evenly" | "end" | "flex-end" | "flex-start" | "start" | "normal" | "revert-layer" | "unsafe" | "safe" | undefined;
6
- align?: "center" | "stretch" | "inherit" | "initial" | "revert" | "unset" | "end" | "flex-end" | "flex-start" | "start" | "baseline" | "normal" | "self-end" | "self-start" | "revert-layer" | "unsafe" | "safe" | "first baseline" | "last baseline" | undefined;
7
- gap?: number | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "24" | undefined;
8
- }, {
9
- sm: string;
10
- md: string;
11
- lg: string;
12
- xl: string;
13
- reducedMotion: string;
14
- allowMotion: string;
15
- hover: string;
16
- }, import("@stitches/react/types/css-util").CSS<{
17
- sm: string;
18
- md: string;
19
- lg: string;
20
- xl: string;
21
- reducedMotion: string;
22
- allowMotion: string;
23
- hover: string;
24
- }, {
25
- colors: {
26
- textBold: any;
27
- textRegular: any;
28
- textSubtle: any;
29
- textMinimal: any;
30
- background: any;
31
- backgroundAccent: any;
32
- grey100: any;
33
- grey200: any;
34
- grey300: any;
35
- grey400: any;
36
- grey500: any;
37
- grey600: any;
38
- grey700: any;
39
- grey800: any;
40
- grey900: any;
41
- grey1000: any;
42
- grey1100: any;
43
- grey1200: any;
44
- blue100: any;
45
- blue200: any;
46
- blue300: any;
47
- blue400: any;
48
- blue500: any;
49
- blue600: any;
50
- blue700: any;
51
- blue800: any;
52
- blue900: any;
53
- blue1000: any;
54
- blue1100: any;
55
- blue1200: any;
56
- purple100: any;
57
- purple200: any;
58
- purple300: any;
59
- purple400: any;
60
- purple500: any;
61
- purple600: any;
62
- purple700: any;
63
- purple800: any;
64
- purple900: any;
65
- purple1000: any;
66
- purple1100: any;
67
- purple1200: any;
68
- cyan100: any;
69
- cyan200: any;
70
- cyan300: any;
71
- cyan400: any;
72
- cyan500: any;
73
- cyan600: any;
74
- cyan700: any;
75
- cyan800: any;
76
- cyan900: any;
77
- cyan1000: any;
78
- cyan1100: any;
79
- cyan1200: any;
80
- green100: any;
81
- green200: any;
82
- green300: any;
83
- green400: any;
84
- green500: any;
85
- green600: any;
86
- green700: any;
87
- green800: any;
88
- green900: any;
89
- green1000: any;
90
- green1100: any;
91
- green1200: any;
92
- magenta100: any;
93
- magenta200: any;
94
- magenta300: any;
95
- magenta400: any;
96
- magenta500: any;
97
- magenta600: any;
98
- magenta700: any;
99
- magenta800: any;
100
- magenta900: any;
101
- magenta1000: any;
102
- magenta1100: any;
103
- magenta1200: any;
104
- red100: any;
105
- red200: any;
106
- red300: any;
107
- red400: any;
108
- red500: any;
109
- red600: any;
110
- red700: any;
111
- red800: any;
112
- red900: any;
113
- red1000: any;
114
- red1100: any;
115
- red1200: any;
116
- teal100: any;
117
- teal200: any;
118
- teal300: any;
119
- teal400: any;
120
- teal500: any;
121
- teal600: any;
122
- teal700: any;
123
- teal800: any;
124
- teal900: any;
125
- teal1000: any;
126
- teal1100: any;
127
- teal1200: any;
128
- orange100: any;
129
- orange200: any;
130
- orange300: any;
131
- orange400: any;
132
- orange500: any;
133
- orange600: any;
134
- orange700: any;
135
- orange800: any;
136
- orange900: any;
137
- orange1000: any;
138
- orange1100: any;
139
- orange1200: any;
140
- yellow100: any;
141
- yellow200: any;
142
- yellow300: any;
143
- yellow400: any;
144
- yellow500: any;
145
- yellow600: any;
146
- yellow700: any;
147
- yellow800: any;
148
- yellow900: any;
149
- yellow1000: any;
150
- yellow1100: any;
151
- yellow1200: any;
152
- lime100: any;
153
- lime200: any;
154
- lime300: any;
155
- lime400: any;
156
- lime500: any;
157
- lime600: any;
158
- lime700: any;
159
- lime800: any;
160
- lime900: any;
161
- lime1000: any;
162
- lime1100: any;
163
- lime1200: any;
164
- tonal50: any;
165
- tonal100: any;
166
- tonal200: any;
167
- tonal300: any;
168
- tonal400: any;
169
- tonal500: any;
170
- tonal600: any;
171
- alpha100: any;
172
- alpha150: any;
173
- alpha200: any;
174
- alpha250: any;
175
- alpha600: any;
176
- brandRed: any;
177
- brandRedAccent: any;
178
- brandGreen: any;
179
- brandGreenAccent: any;
180
- brandPurple: any;
181
- brandPurpleAccent: any;
182
- brandYellow: any;
183
- brandYellowAccent: any;
184
- infoLight: any;
185
- info: any;
186
- infoMid: any;
187
- infoDark: any;
188
- successLight: any;
189
- success: any;
190
- successMid: any;
191
- successDark: any;
192
- dangerLight: any;
193
- danger: any;
194
- dangerMid: any;
195
- dangerDark: any;
196
- warningLight: any;
197
- warning: any;
198
- warningMid: any;
199
- warningDark: any;
200
- warningText: any;
201
- subjectEnglish: any;
202
- subjectMaths: any;
203
- subjectScience: any;
204
- subjectVerbalReasoning: any;
205
- subjectNonVerbalReasoning: any;
206
- subjectCreativeWriting: any;
207
- subjectExamSkills: any;
208
- glBlueLight: any;
209
- glBluePrimary: any;
210
- glBlueDark: any;
211
- primary100: any;
212
- primary200: any;
213
- primary300: any;
214
- primary400: any;
215
- primary500: any;
216
- primary600: any;
217
- primary700: any;
218
- primary800: any;
219
- primary900: any;
220
- primary1000: any;
221
- primary1100: any;
222
- primary1200: any;
223
- };
224
- space: {
225
- "0": any;
226
- "1": any;
227
- "2": any;
228
- "3": any;
229
- "4": any;
230
- "5": any;
231
- "6": any;
232
- "7": any;
233
- "8": any;
234
- "9": any;
235
- "24": any;
236
- };
237
- fontSizes: {
238
- xs: any;
239
- sm: any;
240
- md: any;
241
- lg: any;
242
- xl: any;
243
- "2xl": any;
244
- "3xl": any;
245
- "4xl": any;
246
- };
247
- fonts: {
248
- sans: any;
249
- mono: any;
250
- display: any;
251
- body: any;
252
- };
253
- sizes: {
254
- "0": any;
255
- "1": any;
256
- "2": any;
257
- "3": any;
258
- "4": any;
259
- "5": any;
260
- "6": any;
261
- "7": any;
262
- "8": any;
263
- };
264
- radii: {
265
- "0": any;
266
- "1": any;
267
- "2": any;
268
- "3": any;
269
- round: any;
270
- };
271
- shadows: {
272
- "0": any;
273
- "1": any;
274
- "2": any;
275
- "3": any;
276
- };
277
- ratios: {
278
- "16-9": any;
279
- "3-2": any;
280
- "4-3": any;
281
- "1-1": any;
282
- "3-4": any;
283
- };
284
- }, import("@stitches/react/types/config").DefaultThemeMap, {
285
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
286
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
287
- };
288
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
289
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
290
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
291
- };
292
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
293
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
294
- };
295
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
296
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
297
- };
298
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
299
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
300
- };
301
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
302
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
303
- };
304
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
305
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
306
- };
307
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
308
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
309
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
310
- };
311
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
312
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
313
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
314
- };
315
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
316
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
317
- };
318
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
319
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
320
- };
321
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
322
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
323
- };
324
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
325
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
326
- };
327
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
328
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
329
- };
330
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
331
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
332
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
333
- };
334
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
335
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
336
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
337
- };
338
- }>>, {}, {
339
- sm: string;
340
- md: string;
341
- lg: string;
342
- xl: string;
343
- reducedMotion: string;
344
- allowMotion: string;
345
- hover: string;
346
- }, import("@stitches/react/types/css-util").CSS<{
347
- sm: string;
348
- md: string;
349
- lg: string;
350
- xl: string;
351
- reducedMotion: string;
352
- allowMotion: string;
353
- hover: string;
354
- }, {
355
- colors: {
356
- textBold: any;
357
- textRegular: any;
358
- textSubtle: any;
359
- textMinimal: any;
360
- background: any;
361
- backgroundAccent: any;
362
- grey100: any;
363
- grey200: any;
364
- grey300: any;
365
- grey400: any;
366
- grey500: any;
367
- grey600: any;
368
- grey700: any;
369
- grey800: any;
370
- grey900: any;
371
- grey1000: any;
372
- grey1100: any;
373
- grey1200: any;
374
- blue100: any;
375
- blue200: any;
376
- blue300: any;
377
- blue400: any;
378
- blue500: any;
379
- blue600: any;
380
- blue700: any;
381
- blue800: any;
382
- blue900: any;
383
- blue1000: any;
384
- blue1100: any;
385
- blue1200: any;
386
- purple100: any;
387
- purple200: any;
388
- purple300: any;
389
- purple400: any;
390
- purple500: any;
391
- purple600: any;
392
- purple700: any;
393
- purple800: any;
394
- purple900: any;
395
- purple1000: any;
396
- purple1100: any;
397
- purple1200: any;
398
- cyan100: any;
399
- cyan200: any;
400
- cyan300: any;
401
- cyan400: any;
402
- cyan500: any;
403
- cyan600: any;
404
- cyan700: any;
405
- cyan800: any;
406
- cyan900: any;
407
- cyan1000: any;
408
- cyan1100: any;
409
- cyan1200: any;
410
- green100: any;
411
- green200: any;
412
- green300: any;
413
- green400: any;
414
- green500: any;
415
- green600: any;
416
- green700: any;
417
- green800: any;
418
- green900: any;
419
- green1000: any;
420
- green1100: any;
421
- green1200: any;
422
- magenta100: any;
423
- magenta200: any;
424
- magenta300: any;
425
- magenta400: any;
426
- magenta500: any;
427
- magenta600: any;
428
- magenta700: any;
429
- magenta800: any;
430
- magenta900: any;
431
- magenta1000: any;
432
- magenta1100: any;
433
- magenta1200: any;
434
- red100: any;
435
- red200: any;
436
- red300: any;
437
- red400: any;
438
- red500: any;
439
- red600: any;
440
- red700: any;
441
- red800: any;
442
- red900: any;
443
- red1000: any;
444
- red1100: any;
445
- red1200: any;
446
- teal100: any;
447
- teal200: any;
448
- teal300: any;
449
- teal400: any;
450
- teal500: any;
451
- teal600: any;
452
- teal700: any;
453
- teal800: any;
454
- teal900: any;
455
- teal1000: any;
456
- teal1100: any;
457
- teal1200: any;
458
- orange100: any;
459
- orange200: any;
460
- orange300: any;
461
- orange400: any;
462
- orange500: any;
463
- orange600: any;
464
- orange700: any;
465
- orange800: any;
466
- orange900: any;
467
- orange1000: any;
468
- orange1100: any;
469
- orange1200: any;
470
- yellow100: any;
471
- yellow200: any;
472
- yellow300: any;
473
- yellow400: any;
474
- yellow500: any;
475
- yellow600: any;
476
- yellow700: any;
477
- yellow800: any;
478
- yellow900: any;
479
- yellow1000: any;
480
- yellow1100: any;
481
- yellow1200: any;
482
- lime100: any;
483
- lime200: any;
484
- lime300: any;
485
- lime400: any;
486
- lime500: any;
487
- lime600: any;
488
- lime700: any;
489
- lime800: any;
490
- lime900: any;
491
- lime1000: any;
492
- lime1100: any;
493
- lime1200: any;
494
- tonal50: any;
495
- tonal100: any;
496
- tonal200: any;
497
- tonal300: any;
498
- tonal400: any;
499
- tonal500: any;
500
- tonal600: any;
501
- alpha100: any;
502
- alpha150: any;
503
- alpha200: any;
504
- alpha250: any;
505
- alpha600: any;
506
- brandRed: any;
507
- brandRedAccent: any;
508
- brandGreen: any;
509
- brandGreenAccent: any;
510
- brandPurple: any;
511
- brandPurpleAccent: any;
512
- brandYellow: any;
513
- brandYellowAccent: any;
514
- infoLight: any;
515
- info: any;
516
- infoMid: any;
517
- infoDark: any;
518
- successLight: any;
519
- success: any;
520
- successMid: any;
521
- successDark: any;
522
- dangerLight: any;
523
- danger: any;
524
- dangerMid: any;
525
- dangerDark: any;
526
- warningLight: any;
527
- warning: any;
528
- warningMid: any;
529
- warningDark: any;
530
- warningText: any;
531
- subjectEnglish: any;
532
- subjectMaths: any;
533
- subjectScience: any;
534
- subjectVerbalReasoning: any;
535
- subjectNonVerbalReasoning: any;
536
- subjectCreativeWriting: any;
537
- subjectExamSkills: any;
538
- glBlueLight: any;
539
- glBluePrimary: any;
540
- glBlueDark: any;
541
- primary100: any;
542
- primary200: any;
543
- primary300: any;
544
- primary400: any;
545
- primary500: any;
546
- primary600: any;
547
- primary700: any;
548
- primary800: any;
549
- primary900: any;
550
- primary1000: any;
551
- primary1100: any;
552
- primary1200: any;
553
- };
554
- space: {
555
- "0": any;
556
- "1": any;
557
- "2": any;
558
- "3": any;
559
- "4": any;
560
- "5": any;
561
- "6": any;
562
- "7": any;
563
- "8": any;
564
- "9": any;
565
- "24": any;
566
- };
567
- fontSizes: {
568
- xs: any;
569
- sm: any;
570
- md: any;
571
- lg: any;
572
- xl: any;
573
- "2xl": any;
574
- "3xl": any;
575
- "4xl": any;
576
- };
577
- fonts: {
578
- sans: any;
579
- mono: any;
580
- display: any;
581
- body: any;
582
- };
583
- sizes: {
584
- "0": any;
585
- "1": any;
586
- "2": any;
587
- "3": any;
588
- "4": any;
589
- "5": any;
590
- "6": any;
591
- "7": any;
592
- "8": any;
593
- };
594
- radii: {
595
- "0": any;
596
- "1": any;
597
- "2": any;
598
- "3": any;
599
- round: any;
600
- };
601
- shadows: {
602
- "0": any;
603
- "1": any;
604
- "2": any;
605
- "3": any;
606
- };
607
- ratios: {
608
- "16-9": any;
609
- "3-2": any;
610
- "4-3": any;
611
- "1-1": any;
612
- "3-4": any;
613
- };
614
- }, import("@stitches/react/types/config").DefaultThemeMap, {
615
- bg: (value: import("@stitches/react/types/css-util").WithPropertyValue<"background">) => {
616
- background: import("@stitches/react/types/css-util").WithPropertyValue<"background">;
617
- };
618
- size: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">) => {
619
- height: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
620
- width: string | number | import("@stitches/react/types/css-util").WithScaleValue<"size">;
621
- };
622
- p: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
623
- padding: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
624
- };
625
- pt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
626
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
627
- };
628
- pr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
629
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
630
- };
631
- pb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
632
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
633
- };
634
- pl: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
635
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
636
- };
637
- px: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
638
- paddingLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
639
- paddingRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
640
- };
641
- py: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
642
- paddingTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
643
- paddingBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
644
- };
645
- m: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
646
- margin: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
647
- };
648
- mt: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
649
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
650
- };
651
- mr: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
652
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
653
- };
654
- mb: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
655
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
656
- };
657
- ml: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
658
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
659
- };
660
- mx: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
661
- marginLeft: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
662
- marginRight: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
663
- };
664
- my: (value: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">) => {
665
- marginTop: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
666
- marginBottom: string | number | import("@stitches/react/types/css-util").WithScaleValue<"space">;
667
- };
668
- }>>;
669
- declare type NotificationBadgeProps = React.ComponentProps<typeof StyledBadge> & {
2
+ declare type NotificationBadgeProps = {
670
3
  value: number | string;
671
4
  };
672
5
  export declare const NotificationBadge: React.FC<NotificationBadgeProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationBadge.js","sources":["../../../src/components/notification-badge/NotificationBadge.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Box } from '../box'\nimport { Flex } from '../flex'\n\nconst StyledWrapper = styled(Box, {\n position: 'relative'\n})\n\nconst StyledBadge = styled(Flex, {\n fontFamily: '$body',\n fontSize: '$sm',\n flexDirection: 'column',\n justifyContent: 'center',\n position: 'absolute',\n top: '0',\n right: '0',\n transform: 'translate(calc($sizes$2 / 2), -50%)',\n borderRadius: '$round',\n p: '$2',\n height: '$2',\n minWidth: '$2',\n textAlign: 'center',\n color: '#fff',\n bg: '$primary800'\n})\n\ntype NotificationBadgeProps = React.ComponentProps<typeof StyledBadge> & {\n value: number | string\n}\n\nexport const NotificationBadge: React.FC<NotificationBadgeProps> = ({\n value,\n children\n}) => (\n <StyledWrapper>\n {!!value && <StyledBadge role=\"status\">{value}</StyledBadge>}\n {children}\n </StyledWrapper>\n)\n"],"names":["StyledWrapper","styled","Box","StyledBadge","Flex","NotificationBadge","value","children","React"],"mappings":"2IAOA,MAAMA,EAAgBC,EAAOC,EAAK,CAChC,SAAU,UACZ,CAAC,EAEKC,EAAcF,EAAOG,EAAM,CAC/B,WAAY,QACZ,SAAU,MACV,cAAe,SACf,eAAgB,SAChB,SAAU,WACV,IAAK,IACL,MAAO,IACP,UAAW,sCACX,aAAc,SACd,EAAG,KACH,OAAQ,KACR,SAAU,KACV,UAAW,SACX,MAAO,OACP,GAAI,aACN,CAAC,EAMYC,EAAsD,CAAC,CAClE,MAAAC,EACA,SAAAC,CACF,IACEC,EAAA,cAACR,EAAA,KACE,CAAC,CAACM,GAASE,EAAA,cAACL,EAAA,CAAY,KAAK,QAAUG,EAAAA,CAAM,EAC7CC,CACH"}
1
+ {"version":3,"file":"NotificationBadge.js","sources":["../../../src/components/notification-badge/NotificationBadge.tsx"],"sourcesContent":["import React from 'react'\n\nimport { styled } from '~/stitches'\n\nimport { Box } from '../box'\nimport { Flex } from '../flex'\n\nconst StyledWrapper = styled(Box, {\n position: 'relative'\n})\n\nconst StyledBadge = styled(Flex, {\n fontFamily: '$body',\n fontSize: '$sm',\n flexDirection: 'column',\n justifyContent: 'center',\n position: 'absolute',\n top: '0',\n right: '0',\n transform: 'translate(calc($sizes$2 / 2), -50%)',\n borderRadius: '$round',\n p: '$2',\n height: '$2',\n minWidth: '$2',\n textAlign: 'center',\n color: '#fff',\n bg: '$primary800'\n})\n\ntype NotificationBadgeProps = {\n value: number | string\n}\n\nexport const NotificationBadge: React.FC<NotificationBadgeProps> = ({\n value,\n children\n}) => (\n <StyledWrapper>\n {!!value && <StyledBadge role=\"status\">{value}</StyledBadge>}\n {children}\n </StyledWrapper>\n)\n"],"names":["StyledWrapper","styled","Box","StyledBadge","Flex","NotificationBadge","value","children","React"],"mappings":"2IAOA,MAAMA,EAAgBC,EAAOC,EAAK,CAChC,SAAU,UACZ,CAAC,EAEKC,EAAcF,EAAOG,EAAM,CAC/B,WAAY,QACZ,SAAU,MACV,cAAe,SACf,eAAgB,SAChB,SAAU,WACV,IAAK,IACL,MAAO,IACP,UAAW,sCACX,aAAc,SACd,EAAG,KACH,OAAQ,KACR,SAAU,KACV,UAAW,SACX,MAAO,OACP,GAAI,aACN,CAAC,EAMYC,EAAsD,CAAC,CAClE,MAAAC,EACA,SAAAC,CACF,IACEC,EAAA,cAACR,EAAA,KACE,CAAC,CAACM,GAASE,EAAA,cAACL,EAAA,CAAY,KAAK,QAAUG,EAAAA,CAAM,EAC7CC,CACH"}