@bitrise/bitkit-v2 0.3.177 → 0.3.179

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 (28) hide show
  1. package/dist/components/BitkitAlert/BitkitAlert.d.ts +4 -10
  2. package/dist/components/BitkitAlert/BitkitAlert.js +25 -48
  3. package/dist/components/BitkitMarkdown/BitkitMarkdown.d.ts +11 -0
  4. package/dist/components/BitkitMarkdown/BitkitMarkdown.js +104 -0
  5. package/dist/components/BitkitMarkdown/BitkitMarkdown.sample.d.ts +2 -0
  6. package/dist/components/BitkitMarkdownCard/BitkitMarkdownCard.d.ts +22 -0
  7. package/dist/components/BitkitMarkdownCard/BitkitMarkdownCard.js +62 -0
  8. package/dist/components/BitkitToast/BitkitToast.d.ts +14 -0
  9. package/dist/components/BitkitToast/BitkitToast.js +21 -0
  10. package/dist/components/BitkitToast/BitkitToaster.d.ts +2 -0
  11. package/dist/components/BitkitToast/BitkitToaster.js +56 -0
  12. package/dist/components/common/notificationMaps.d.ts +10 -0
  13. package/dist/components/common/notificationMaps.js +24 -0
  14. package/dist/components/index.d.ts +3 -0
  15. package/dist/main.js +27 -24
  16. package/dist/providers/BitkitProvider.js +13 -8
  17. package/dist/theme/common/AlertAndToast.common.d.ts +6 -0
  18. package/dist/theme/common/AlertAndToast.common.js +50 -0
  19. package/dist/theme/slot-recipes/Alert.recipe.js +13 -55
  20. package/dist/theme/slot-recipes/Markdown.recipe.d.ts +20 -0
  21. package/dist/theme/slot-recipes/Markdown.recipe.js +24 -0
  22. package/dist/theme/slot-recipes/MarkdownCard.recipe.d.ts +45 -0
  23. package/dist/theme/slot-recipes/MarkdownCard.recipe.js +86 -0
  24. package/dist/theme/slot-recipes/Toast.recipe.js +71 -0
  25. package/dist/theme/slot-recipes/index.js +36 -30
  26. package/package.json +3 -2
  27. package/dist/theme/slot-recipes/Alert.recipe.d.ts +0 -65
  28. package/dist/theme/slot-recipes/index.d.ts +0 -1255
@@ -1,1255 +0,0 @@
1
- declare const slotRecipes: {
2
- accordion: import('@chakra-ui/react').SlotRecipeDefinition<"icon" | "suffix" | "root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator" | "itemBody" | "secdText", import('@chakra-ui/react').SlotRecipeVariantRecord<"icon" | "suffix" | "root" | "item" | "itemTrigger" | "itemContent" | "itemIndicator" | "itemBody" | "secdText">>;
3
- actionBar: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "separator" | "positioner" | "selectionTrigger" | "closeTrigger", {
4
- size: {
5
- md: {
6
- content: {
7
- padding: "12";
8
- paddingInlineStart: "16";
9
- gap: "12";
10
- };
11
- };
12
- sm: {
13
- content: {
14
- padding: "8";
15
- paddingInlineStart: "12";
16
- gap: "8";
17
- };
18
- };
19
- xs: {
20
- content: {
21
- padding: "8";
22
- paddingInlineStart: "12";
23
- gap: "8";
24
- };
25
- };
26
- };
27
- }>;
28
- alert: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
29
- variant: {
30
- ai: {
31
- root: {
32
- border: "1px solid transparent";
33
- background: "{colors.status.ai.bg} padding-box, {colors.status.ai.border} border-box";
34
- color: "status/ai/text";
35
- };
36
- indicator: {
37
- color: "status/ai/icon";
38
- };
39
- };
40
- critical: {
41
- root: {
42
- backgroundColor: "status/critical/bg";
43
- borderColor: "status/critical/border";
44
- color: "status/critical/text";
45
- };
46
- indicator: {
47
- color: "status/critical/icon";
48
- };
49
- };
50
- info: {
51
- root: {
52
- backgroundColor: "status/info/bg";
53
- borderColor: "status/info/border";
54
- color: "status/info/text";
55
- };
56
- indicator: {
57
- color: "status/info/icon";
58
- };
59
- };
60
- progress: {
61
- root: {
62
- backgroundColor: "status/progress/bg";
63
- borderColor: "status/progress/border";
64
- color: "status/progress/text";
65
- };
66
- indicator: {
67
- color: "status/progress/icon";
68
- };
69
- };
70
- success: {
71
- root: {
72
- backgroundColor: "status/success/bg";
73
- borderColor: "status/success/border";
74
- color: "status/success/text";
75
- };
76
- indicator: {
77
- color: "status/success/icon";
78
- };
79
- };
80
- warning: {
81
- root: {
82
- backgroundColor: "status/warning/bg";
83
- borderColor: "status/warning/border";
84
- color: "status/warning/text";
85
- };
86
- indicator: {
87
- color: "status/warning/icon";
88
- };
89
- };
90
- };
91
- }>;
92
- avatar: import('@chakra-ui/react').SlotRecipeDefinition<"image" | "badge" | "icon" | "root" | "fallback" | "badgeContainer", {
93
- size: {
94
- '24': {
95
- root: {
96
- width: number;
97
- height: number;
98
- borderRadius: number;
99
- };
100
- image: {
101
- borderRadius: number;
102
- };
103
- fallback: {
104
- textStyle: "comp/avatar/24";
105
- borderRadius: number;
106
- };
107
- icon: {
108
- width: number;
109
- height: number;
110
- };
111
- badgeContainer: {
112
- display: "none";
113
- };
114
- };
115
- '32': {
116
- root: {
117
- width: number;
118
- height: number;
119
- borderRadius: number;
120
- };
121
- image: {
122
- borderRadius: number;
123
- };
124
- fallback: {
125
- textStyle: "comp/avatar/32";
126
- borderRadius: number;
127
- };
128
- icon: {
129
- width: number;
130
- height: number;
131
- };
132
- badgeContainer: {
133
- width: number;
134
- height: number;
135
- bottom: number;
136
- right: number;
137
- borderRadius: number;
138
- };
139
- };
140
- '40': {
141
- root: {
142
- width: number;
143
- height: number;
144
- borderRadius: number;
145
- };
146
- image: {
147
- borderRadius: number;
148
- };
149
- fallback: {
150
- textStyle: "comp/avatar/40";
151
- borderRadius: number;
152
- };
153
- icon: {
154
- width: number;
155
- height: number;
156
- };
157
- badgeContainer: {
158
- width: number;
159
- height: number;
160
- bottom: number;
161
- right: number;
162
- borderRadius: number;
163
- };
164
- };
165
- '48': {
166
- root: {
167
- width: number;
168
- height: number;
169
- borderRadius: "10";
170
- };
171
- image: {
172
- borderRadius: "10";
173
- };
174
- fallback: {
175
- textStyle: "comp/avatar/48";
176
- borderRadius: "10";
177
- };
178
- icon: {
179
- width: number;
180
- height: number;
181
- };
182
- badgeContainer: {
183
- width: number;
184
- height: number;
185
- bottom: number;
186
- right: number;
187
- borderRadius: "50%";
188
- };
189
- };
190
- '64': {
191
- root: {
192
- width: number;
193
- height: number;
194
- borderRadius: number;
195
- };
196
- image: {
197
- borderRadius: number;
198
- };
199
- fallback: {
200
- textStyle: "comp/avatar/64";
201
- borderRadius: number;
202
- };
203
- icon: {
204
- width: number;
205
- height: number;
206
- };
207
- badgeContainer: {
208
- width: number;
209
- height: number;
210
- bottom: number;
211
- right: number;
212
- borderRadius: "50%";
213
- };
214
- };
215
- '128': {
216
- root: {
217
- width: number;
218
- height: number;
219
- borderRadius: number;
220
- };
221
- image: {
222
- borderRadius: number;
223
- };
224
- fallback: {
225
- textStyle: "comp/avatar/128";
226
- borderRadius: number;
227
- };
228
- icon: {
229
- width: number;
230
- height: number;
231
- };
232
- badgeContainer: {
233
- display: "none";
234
- };
235
- };
236
- };
237
- variant: {
238
- circle: {
239
- root: {
240
- borderRadius: "50%";
241
- };
242
- image: {
243
- borderRadius: "50%";
244
- };
245
- fallback: {
246
- borderRadius: "50%";
247
- };
248
- };
249
- rounded: {};
250
- };
251
- }>;
252
- breadcrumb: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "separator" | "ellipsis" | "list" | "root" | "item" | "currentLink", import('@chakra-ui/react').SlotRecipeVariantRecord<"link" | "separator" | "ellipsis" | "list" | "root" | "item" | "currentLink">>;
253
- card: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "root" | "description", {
254
- elevation: {
255
- true: {
256
- root: {
257
- borderColor: "border/minimal";
258
- boxShadow: "elevation/sm";
259
- };
260
- };
261
- false: {
262
- root: {
263
- borderColor: "border/regular";
264
- };
265
- };
266
- };
267
- paddingSize: {
268
- sm: {
269
- body: {
270
- padding: "16";
271
- };
272
- };
273
- md: {
274
- body: {
275
- paddingInline: "24";
276
- paddingBlock: "16";
277
- };
278
- };
279
- lg: {
280
- body: {
281
- padding: "24";
282
- };
283
- };
284
- };
285
- }>;
286
- checkbox: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "group" | "control", {
287
- size: {
288
- md: {
289
- control: {
290
- width: "20";
291
- height: "20";
292
- '& > svg': {
293
- width: "20";
294
- height: "20";
295
- };
296
- };
297
- label: {
298
- textStyle: "body/md/regular";
299
- };
300
- };
301
- lg: {
302
- control: {
303
- width: "24";
304
- height: "24";
305
- '& > svg': {
306
- width: "24";
307
- height: "24";
308
- };
309
- };
310
- label: {
311
- textStyle: "body/lg/regular";
312
- };
313
- };
314
- };
315
- }>;
316
- codeSnippet: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "copyButton" | "showMoreContainer" | "showMoreGradient" | "showMoreButton", {
317
- variant: {
318
- inline: {
319
- root: {
320
- alignItems: "center";
321
- borderRadius: "2";
322
- color: "text/body";
323
- display: "inline-flex";
324
- paddingBlock: "2";
325
- paddingInline: "6";
326
- whiteSpace: "nowrap";
327
- };
328
- };
329
- single: {
330
- root: {
331
- alignItems: "center";
332
- borderRadius: "4";
333
- display: "flex";
334
- height: "40";
335
- isolation: "isolate";
336
- overflow: "hidden";
337
- whiteSpace: "nowrap";
338
- };
339
- content: {
340
- alignItems: "center";
341
- display: "flex";
342
- height: "40";
343
- overflow: "hidden";
344
- paddingInlineStart: "16";
345
- position: "relative";
346
- _after: {
347
- background: "linear-gradient(to left, var(--colors-background-secondary), transparent)";
348
- content: "\"\"";
349
- height: "40";
350
- pointerEvents: "none";
351
- position: "absolute";
352
- right: "0";
353
- top: "0";
354
- width: "8";
355
- };
356
- };
357
- copyButton: {
358
- flexShrink: "0";
359
- padding: "12";
360
- };
361
- };
362
- multi: {
363
- root: {
364
- borderRadius: "4";
365
- display: "flex";
366
- flexDirection: "column";
367
- padding: "16";
368
- position: "relative";
369
- };
370
- content: {
371
- color: "text/body";
372
- overflowY: "auto";
373
- transition: "max-height 0.3s ease";
374
- whiteSpace: "pre-wrap";
375
- };
376
- copyButton: {
377
- borderRadius: "4";
378
- overflow: "hidden";
379
- padding: "8";
380
- position: "absolute";
381
- right: number;
382
- top: number;
383
- };
384
- showMoreContainer: {
385
- alignItems: "center";
386
- display: "flex";
387
- justifyContent: "flex-end";
388
- };
389
- showMoreGradient: {
390
- background: "linear-gradient(to top, var(--colors-background-secondary) 33%, transparent)";
391
- borderBottomRadius: "4";
392
- bottom: number;
393
- height: "40";
394
- left: number;
395
- pointerEvents: "none";
396
- position: "absolute";
397
- right: number;
398
- };
399
- showMoreButton: {
400
- alignItems: "center";
401
- background: "background/secondary";
402
- borderRadius: "4";
403
- color: "text/secondary";
404
- cursor: "pointer";
405
- display: "flex";
406
- gap: "4";
407
- justifyContent: "center";
408
- minWidth: "64";
409
- paddingBlock: "8";
410
- paddingInline: "12";
411
- position: "relative";
412
- textStyle: "comp/button/md";
413
- _hover: {
414
- background: "background/hover";
415
- color: "text/primary";
416
- _active: {
417
- background: "background/active";
418
- color: "text/primary";
419
- overflow: "hidden";
420
- };
421
- };
422
- _active: {
423
- background: "background/active";
424
- color: "text/primary";
425
- overflow: "hidden";
426
- };
427
- _focusVisible: {
428
- outlineOffset: "-3px";
429
- };
430
- };
431
- };
432
- };
433
- size: {
434
- md: {
435
- root: {
436
- textStyle: "code/md";
437
- };
438
- content: {
439
- textStyle: "code/md";
440
- };
441
- };
442
- lg: {
443
- root: {
444
- textStyle: "code/lg";
445
- };
446
- content: {
447
- textStyle: "code/lg";
448
- };
449
- };
450
- };
451
- interactive: {
452
- true: {};
453
- false: {};
454
- };
455
- hasShowMore: {
456
- true: {};
457
- false: {};
458
- };
459
- isExpanded: {
460
- true: {};
461
- false: {};
462
- };
463
- }>;
464
- collapsible: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "trigger" | "indicator", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "root" | "trigger" | "indicator">>;
465
- combobox: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "list" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "clearTrigger" | "control" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "empty" | "emptyHelperText", {
466
- size: {
467
- md: {
468
- input: import('@chakra-ui/react').SystemStyleObject;
469
- };
470
- lg: {
471
- input: import('@chakra-ui/react').SystemStyleObject;
472
- };
473
- };
474
- }>;
475
- datePicker: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "table" | "view" | "root" | "trigger" | "positioner" | "clearTrigger" | "control" | "monthSelect" | "nextTrigger" | "presetTrigger" | "prevTrigger" | "rangeText" | "tableBody" | "tableCell" | "tableCellTrigger" | "tableHead" | "tableHeader" | "tableRow" | "viewControl" | "viewTrigger" | "yearSelect" | "valueText" | "months", {
476
- layout: {
477
- '1-month': {
478
- content: {
479
- width: "17.5rem";
480
- };
481
- };
482
- '2-month': {
483
- content: {
484
- width: "38.5rem";
485
- };
486
- };
487
- };
488
- showOutsideDays: {
489
- false: {
490
- tableCellTrigger: {
491
- '&[data-outside-range]': {
492
- visibility: "hidden";
493
- };
494
- };
495
- };
496
- true: {
497
- tableCellTrigger: {
498
- '&[data-outside-range]': {
499
- visibility: "visible";
500
- };
501
- };
502
- };
503
- };
504
- device: {
505
- mobile: {
506
- content: {
507
- boxShadow: "none";
508
- paddingBlock: "16";
509
- paddingInline: "16";
510
- };
511
- };
512
- };
513
- }>;
514
- datePickerSelect: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "list" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "clearTrigger" | "control" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup", {
515
- size: {
516
- md: {
517
- trigger: {
518
- paddingBlock: "6";
519
- textStyle?: "body/md/regular" | undefined;
520
- };
521
- indicator: {
522
- _icon: {
523
- width: "16";
524
- height: "16";
525
- };
526
- };
527
- searchInput?: {
528
- paddingBlock: "12";
529
- textStyle: "body/md/regular";
530
- '--input-height': string;
531
- } | undefined;
532
- createItem?: {
533
- color: "text/primary";
534
- paddingBlock: "16";
535
- textStyle: "body/md/regular";
536
- } | undefined;
537
- };
538
- };
539
- }>;
540
- dialog: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "label" | "title" | "trigger" | "positioner" | "closeTrigger" | "description" | "backdrop" | "scrollBody" | "scrollButton" | "scrollGradient", {
541
- scrollBehavior: {
542
- inside: {
543
- body: {
544
- overflowY: "auto";
545
- _last: {
546
- paddingBlockEnd: number;
547
- };
548
- };
549
- content: {
550
- maxHeight: "calc(100dvh - 96px)";
551
- overflow: "hidden";
552
- };
553
- };
554
- outside: {};
555
- };
556
- size: {
557
- lg: {
558
- content: {
559
- width: string;
560
- };
561
- };
562
- md: {
563
- content: {
564
- width: string;
565
- };
566
- };
567
- sm: {
568
- content: {
569
- width: string;
570
- };
571
- };
572
- };
573
- }>;
574
- emptyState: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "title" | "root" | "description" | "indicator", {
575
- colorScheme: {
576
- white: {
577
- root: {
578
- backgroundColor: "background/primary";
579
- };
580
- };
581
- grey: {
582
- root: {
583
- backgroundColor: "background/secondary";
584
- };
585
- };
586
- };
587
- }>;
588
- expandableCard: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "footer" | "header" | "title" | "icon" | "suffix" | "collapsible" | "root" | "secdText" | "description", {
589
- size: {
590
- md: {
591
- header: {
592
- textStyle: "body/md/regular";
593
- paddingX: "16";
594
- paddingY: "12";
595
- };
596
- secdText: {
597
- textStyle: "body/sm/regular";
598
- };
599
- };
600
- lg: {
601
- header: {
602
- textStyle: "body/lg/regular";
603
- padding: "16";
604
- };
605
- secdText: {
606
- textStyle: "body/md/regular";
607
- };
608
- };
609
- };
610
- }>;
611
- field: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "select" | "textarea" | "root" | "helperText" | "errorText" | "requiredIndicator", import('@chakra-ui/react').SlotRecipeVariantRecord<"input" | "label" | "select" | "textarea" | "root" | "helperText" | "errorText" | "requiredIndicator">>;
612
- groupHeading: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "separator" | "icon" | "root" | "titleBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"label" | "separator" | "icon" | "root" | "titleBlock">>;
613
- fieldset: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "legend" | "root" | "helperText" | "errorText", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "legend" | "root" | "helperText" | "errorText">>;
614
- fileUpload: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "item" | "itemContent" | "trigger" | "clearTrigger" | "itemGroup" | "dropzone" | "itemDeleteTrigger" | "itemName" | "itemPreview" | "itemPreviewImage" | "itemSizeText" | "dropzoneContent" | "fileText", {
615
- variant: {
616
- image: {
617
- root: {
618
- height: string;
619
- };
620
- };
621
- };
622
- }>;
623
- imageCropper: import('@chakra-ui/react').SlotRecipeDefinition<"grid" | "image" | "root" | "viewport" | "selection" | "handle", import('@chakra-ui/react').SlotRecipeVariantRecord<"grid" | "image" | "root" | "viewport" | "selection" | "handle">>;
624
- inlineLoading: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root", {
625
- size: {
626
- sm: {
627
- label: {
628
- textStyle: "body/sm/regular";
629
- };
630
- };
631
- md: {
632
- label: {
633
- textStyle: "body/md/regular";
634
- };
635
- };
636
- lg: {
637
- label: {
638
- textStyle: "body/lg/regular";
639
- };
640
- };
641
- };
642
- status: {
643
- error: {
644
- root: {
645
- color: "text/body";
646
- };
647
- };
648
- loading: {
649
- root: {
650
- color: "text/secondary";
651
- };
652
- };
653
- success: {
654
- root: {
655
- color: "text/body";
656
- };
657
- };
658
- };
659
- }>;
660
- list: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "item" | "indicator", {
661
- size: {
662
- lg: {
663
- item: {
664
- textStyle: "body/lg/regular";
665
- };
666
- indicator: {
667
- height: "24";
668
- width: "24";
669
- };
670
- };
671
- md: {
672
- item: {
673
- textStyle: "body/md/regular";
674
- };
675
- indicator: {
676
- height: "20";
677
- width: "20";
678
- };
679
- };
680
- };
681
- }>;
682
- menu: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "separator" | "item" | "itemIndicator" | "trigger" | "arrow" | "arrowTip" | "positioner" | "indicator" | "itemText" | "itemGroup" | "itemGroupLabel" | "contextTrigger" | "triggerItem" | "itemCommand" | "itemHelper", {
683
- size: {
684
- lg: {
685
- item: {
686
- paddingY: "12";
687
- textStyle: "body/lg/regular";
688
- };
689
- };
690
- md: {
691
- item: {
692
- _icon: {
693
- marginTop: "2";
694
- };
695
- paddingY: "8";
696
- textStyle: "body/md/regular";
697
- };
698
- };
699
- };
700
- }>;
701
- nativeSelect: import('@chakra-ui/react').SlotRecipeDefinition<"field" | "root" | "indicator" | "statusIcon", {
702
- size: {
703
- md: {
704
- field: {
705
- paddingInline: string;
706
- paddingBlock: string;
707
- textStyle: "body/md/regular";
708
- };
709
- };
710
- lg: {
711
- field: {
712
- paddingInline: string;
713
- paddingBlock: string;
714
- textStyle: "body/lg/regular";
715
- };
716
- };
717
- };
718
- }>;
719
- numberInput: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "root" | "control" | "valueText" | "incrementTrigger" | "decrementTrigger" | "scrubber", {
720
- size: {
721
- md: {
722
- input: import('@chakra-ui/react').SystemStyleObject | undefined;
723
- control: {
724
- '--stepper-width': string;
725
- };
726
- };
727
- lg: {
728
- input: import('@chakra-ui/react').SystemStyleObject | undefined;
729
- control: {
730
- '--stepper-width': string;
731
- };
732
- };
733
- };
734
- }>;
735
- paginationLoadMore: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "counter", {
736
- size: {
737
- md: {
738
- root: {
739
- gap: "24";
740
- minHeight: string;
741
- };
742
- counter: {
743
- textStyle: "body/md/regular";
744
- '&:has(+ *)': {
745
- paddingInlineEnd: "24";
746
- };
747
- };
748
- };
749
- sm: {
750
- root: {
751
- gap: "16";
752
- minHeight: "48";
753
- };
754
- counter: {
755
- textStyle: "body/md/regular";
756
- '&:has(+ *)': {
757
- paddingInlineEnd: "16";
758
- };
759
- };
760
- };
761
- xs: {
762
- root: {
763
- gap: "12";
764
- minHeight: "32";
765
- };
766
- counter: {
767
- textStyle: "body/sm/regular";
768
- '&:has(+ *)': {
769
- paddingInlineEnd: "12";
770
- };
771
- };
772
- };
773
- };
774
- }>;
775
- radioGroup: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "item" | "itemIndicator" | "indicator" | "itemText" | "itemControl" | "itemAddon", {
776
- orientation: {
777
- horizontal: {
778
- root: {
779
- flexDirection: "row";
780
- gap: "24";
781
- };
782
- };
783
- vertical: {
784
- root: {
785
- alignItems: "flex-start";
786
- flexDirection: "column";
787
- gap: "12";
788
- };
789
- };
790
- };
791
- size: {
792
- md: {
793
- itemControl: {
794
- width: "20";
795
- height: "20";
796
- };
797
- itemText: {
798
- textStyle: "body/md/regular";
799
- };
800
- };
801
- lg: {
802
- itemControl: {
803
- width: "24";
804
- height: "24";
805
- };
806
- itemText: {
807
- textStyle: "body/lg/regular";
808
- };
809
- };
810
- };
811
- }>;
812
- ribbon: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "root" | "textBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "root" | "textBlock">>;
813
- sectionHeading: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "icon" | "root" | "helperText" | "titleBlock" | "contentBlock" | "helperBlock", import('@chakra-ui/react').SlotRecipeVariantRecord<"label" | "icon" | "root" | "helperText" | "titleBlock" | "contentBlock" | "helperBlock">>;
814
- segmentGroup: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "item" | "indicator" | "itemText" | "itemControl", {
815
- fullWidth: {
816
- true: {
817
- root: {
818
- display: "flex";
819
- width: "100%";
820
- };
821
- item: {
822
- flex: "1";
823
- };
824
- };
825
- };
826
- size: {
827
- lg: {
828
- item: {
829
- paddingBlock: "12";
830
- textStyle: "body/lg/regular";
831
- };
832
- };
833
- md: {
834
- item: {
835
- paddingBlock: "8";
836
- };
837
- };
838
- sm: {
839
- item: {
840
- paddingBlock: "6";
841
- };
842
- };
843
- };
844
- }>;
845
- select: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "label" | "list" | "root" | "item" | "itemIndicator" | "trigger" | "positioner" | "indicator" | "clearTrigger" | "control" | "valueText" | "itemText" | "itemGroup" | "itemGroupLabel" | "indicatorGroup" | "searchInputGroup" | "searchInput" | "createItemContainer" | "createItem", {
846
- size: {
847
- lg: Record<string, import('@chakra-ui/react').SystemStyleObject>;
848
- md: {
849
- searchInput: {
850
- paddingBlock: "12";
851
- textStyle: "body/md/regular";
852
- '--input-height': string;
853
- };
854
- createItem: {
855
- color: "text/primary";
856
- paddingBlock: "16";
857
- textStyle: "body/md/regular";
858
- };
859
- trigger: {
860
- textStyle: "body/md/regular";
861
- paddingBlock: string;
862
- };
863
- };
864
- };
865
- }>;
866
- splitButton: import('@chakra-ui/react').SlotRecipeDefinition<"root" | "trigger" | "action", {
867
- variant: {
868
- primary: {
869
- trigger: {
870
- borderWidth: "0";
871
- borderInlineStartWidth: string;
872
- borderInlineStartColor: "border/on-contrast";
873
- _hover: {
874
- borderInlineStartColor: "border/on-contrast";
875
- _active: {
876
- borderInlineStartColor: "border/on-contrast";
877
- };
878
- };
879
- _active: {
880
- borderInlineStartColor: "border/on-contrast";
881
- };
882
- _disabled: {
883
- borderInlineStartColor: "border/on-contrast";
884
- };
885
- _open: {
886
- backgroundColor: "button/primary/bg-active";
887
- };
888
- };
889
- };
890
- secondary: {
891
- trigger: {
892
- _open: {
893
- backgroundColor: "button/secondary/bg-active";
894
- borderColor: "button/secondary/border-active";
895
- color: "button/secondary/fg-active";
896
- };
897
- };
898
- };
899
- };
900
- }>;
901
- switch: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "indicator" | "control" | "thumb", {
902
- size: {
903
- sm: {
904
- root: {
905
- '--switch-width': string;
906
- '--switch-height': string;
907
- '--switch-indicator-font-size': string;
908
- };
909
- control: {
910
- borderRadius: "8";
911
- };
912
- label: {
913
- textStyle: "body/sm/regular";
914
- };
915
- };
916
- md: {
917
- root: {
918
- '--switch-width': string;
919
- '--switch-height': string;
920
- '--switch-indicator-font-size': string;
921
- };
922
- control: {
923
- borderRadius: "12";
924
- };
925
- label: {
926
- textStyle: "body/lg/regular";
927
- };
928
- };
929
- };
930
- }>;
931
- table: import('@chakra-ui/react').SlotRecipeDefinition<"body" | "caption" | "footer" | "header" | "cell" | "row" | "root" | "columnHeader", {
932
- variant: {
933
- default: {
934
- root: {
935
- borderColor: "border/minimal";
936
- borderRadius: "4";
937
- borderStyle: "solid";
938
- borderWidth: "1px";
939
- overflow: "hidden";
940
- };
941
- header: {
942
- '& :where(th)': {
943
- backgroundColor: "background/tertiary";
944
- };
945
- };
946
- columnHeader: {
947
- borderBottomColor: "border/minimal";
948
- paddingBlock: "12";
949
- paddingInline: "16";
950
- };
951
- cell: {
952
- borderBottomColor: "border/minimal";
953
- paddingInline: "16";
954
- };
955
- footer: {
956
- borderTopColor: "border/minimal";
957
- };
958
- };
959
- borderless: {
960
- columnHeader: {
961
- borderBottomColor: "border/regular";
962
- padding: "12";
963
- };
964
- cell: {
965
- borderBottomColor: "border/regular";
966
- paddingInline: "12";
967
- };
968
- footer: {
969
- borderTopColor: "border/regular";
970
- };
971
- };
972
- };
973
- layout: {
974
- table: {
975
- root: {
976
- borderCollapse: "separate";
977
- borderSpacing: "0";
978
- };
979
- caption: {
980
- marginBlockEnd: "24";
981
- };
982
- columnHeader: {
983
- borderBottomStyle: "solid";
984
- borderBottomWidth: "1px";
985
- color: "text/primary";
986
- fontWeight: "bold";
987
- textAlign: "start";
988
- textStyle: "heading/h5";
989
- verticalAlign: "middle";
990
- };
991
- cell: {
992
- borderBottomStyle: "solid";
993
- borderBottomWidth: "1px";
994
- paddingBlock: "20";
995
- verticalAlign: "middle";
996
- };
997
- body: {
998
- '& :where(tr)': {
999
- _hover: {
1000
- backgroundColor: "background/hover";
1001
- };
1002
- };
1003
- '& :where(tr:last-child) td': {
1004
- borderBottomWidth: "0";
1005
- };
1006
- };
1007
- };
1008
- stacked: {
1009
- root: {
1010
- display: "block";
1011
- };
1012
- caption: {
1013
- display: "block";
1014
- padding: "16";
1015
- backgroundColor: "background/tertiary";
1016
- borderBottomColor: "border/minimal";
1017
- borderBottomStyle: "solid";
1018
- borderBottomWidth: "1px";
1019
- };
1020
- header: {
1021
- borderWidth: "0";
1022
- clip: "rect(0, 0, 0, 0)";
1023
- height: "1";
1024
- margin: "-1px";
1025
- overflow: "hidden";
1026
- padding: number;
1027
- position: "absolute";
1028
- whiteSpace: "nowrap";
1029
- width: "1";
1030
- };
1031
- body: {
1032
- display: "block";
1033
- };
1034
- row: {
1035
- borderBottomColor: "border/minimal";
1036
- borderBottomStyle: "solid";
1037
- borderBottomWidth: "1px";
1038
- display: "block";
1039
- paddingBlock: "12";
1040
- '&:last-child': {
1041
- borderBottomWidth: "0";
1042
- };
1043
- };
1044
- cell: {
1045
- alignItems: "center";
1046
- display: "flex";
1047
- minHeight: "48";
1048
- paddingInline: "16";
1049
- _before: {
1050
- alignSelf: "center";
1051
- color: "text/primary";
1052
- content: "attr(data-label)";
1053
- flexShrink: number;
1054
- fontWeight: "semibold";
1055
- paddingInlineEnd: "16";
1056
- width: "96";
1057
- };
1058
- };
1059
- footer: {
1060
- display: "block";
1061
- };
1062
- };
1063
- };
1064
- }>;
1065
- tabs: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "list" | "root" | "trigger" | "indicator" | "contentGroup", {
1066
- variant: {
1067
- line: {
1068
- list: {
1069
- borderBlockEnd: "1px solid";
1070
- borderColor: "border/regular";
1071
- };
1072
- trigger: {
1073
- bottom: "-1px";
1074
- display: "flex";
1075
- alignItems: "center";
1076
- gap: "8";
1077
- color: "text/secondary";
1078
- paddingBlockStart: "12";
1079
- paddingBlockEnd: string;
1080
- borderBlockEnd: "2px solid transparent";
1081
- _selected: {
1082
- color: "text/primary";
1083
- };
1084
- _hover: {
1085
- borderColor: "border/hover";
1086
- color: "text/primary";
1087
- };
1088
- _disabled: {
1089
- color: "text/disabled";
1090
- };
1091
- };
1092
- };
1093
- contained: {
1094
- trigger: {
1095
- paddingBlockStart: string;
1096
- paddingBlockEnd: "12";
1097
- backgroundColor: "background/tertiary";
1098
- color: "text/secondary";
1099
- borderBlockStart: "2px solid transparent";
1100
- _hover: {
1101
- backgroundColor: "background/active";
1102
- };
1103
- _disabled: {
1104
- backgroundColor: "sys/neutral/moderate";
1105
- color: "text/on-disabled";
1106
- };
1107
- _selected: {
1108
- backgroundColor: "background/primary";
1109
- color: "text/selected";
1110
- _hover: {
1111
- backgroundColor: "background/primary";
1112
- };
1113
- };
1114
- };
1115
- };
1116
- };
1117
- }>;
1118
- tag: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "startElement" | "endElement", {
1119
- disabled: {
1120
- true: {
1121
- root: {
1122
- backgroundColor: "background/disabled";
1123
- borderColor: "border/disabled";
1124
- color: "text/on-disabled";
1125
- };
1126
- };
1127
- false: {};
1128
- };
1129
- size: {
1130
- sm: {
1131
- root: {
1132
- height: "24";
1133
- paddingInline: "4";
1134
- '&:has(button)': {
1135
- paddingInlineEnd: "1";
1136
- };
1137
- };
1138
- label: {
1139
- paddingInline: "4";
1140
- textStyle: "comp/tag/sm";
1141
- };
1142
- endElement: {
1143
- width: "20";
1144
- height: "20";
1145
- };
1146
- };
1147
- md: {
1148
- root: {
1149
- height: "32";
1150
- paddingInline: "6";
1151
- '&:has(button)': {
1152
- paddingInlineEnd: string;
1153
- };
1154
- };
1155
- startElement: {
1156
- marginInlineEnd: "-2px";
1157
- };
1158
- label: {
1159
- paddingInline: "6";
1160
- textStyle: "comp/tag/md";
1161
- };
1162
- };
1163
- };
1164
- }>;
1165
- tagsInput: import('@chakra-ui/react').SlotRecipeDefinition<"input" | "label" | "root" | "item" | "clearTrigger" | "control" | "itemText" | "itemDeleteTrigger" | "itemPreview" | "itemInput" | "tagsBlock" | "suffixBlock", {
1166
- size: {
1167
- md: {
1168
- control: {
1169
- paddingInline: "8";
1170
- };
1171
- tagsBlock: {
1172
- paddingBlock: "8";
1173
- };
1174
- suffixBlock: {
1175
- height: "40";
1176
- };
1177
- input: {
1178
- height: "24";
1179
- textStyle: "body/md/regular";
1180
- };
1181
- };
1182
- lg: {
1183
- control: {
1184
- paddingInlineStart: "12";
1185
- paddingInlineEnd: "8";
1186
- };
1187
- tagsBlock: {
1188
- paddingBlock: "12";
1189
- };
1190
- suffixBlock: {
1191
- height: "48";
1192
- };
1193
- input: {
1194
- textStyle: "body/lg/regular";
1195
- };
1196
- };
1197
- };
1198
- }>;
1199
- tooltip: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", {
1200
- variant: {
1201
- dark: {
1202
- content: {
1203
- '--tooltip-bg': "colors.background.contrast";
1204
- color: "text/on-contrast";
1205
- };
1206
- };
1207
- light: {
1208
- content: {
1209
- '--tooltip-bg': "colors.background.tertiary";
1210
- color: "text/primary";
1211
- };
1212
- };
1213
- };
1214
- paddingSize: {
1215
- sm: {
1216
- content: {
1217
- paddingInline: "8";
1218
- paddingBlock: "4";
1219
- borderRadius: "4";
1220
- };
1221
- };
1222
- md: {
1223
- content: {
1224
- paddingInline: "12";
1225
- paddingBlock: "8";
1226
- borderRadius: "8";
1227
- };
1228
- };
1229
- lg: {
1230
- content: {
1231
- padding: "16";
1232
- borderRadius: "8";
1233
- };
1234
- };
1235
- };
1236
- textStyle: {
1237
- 'sm/regular': {
1238
- content: {
1239
- textStyle: "body/sm/regular";
1240
- };
1241
- };
1242
- 'sm/semibold': {
1243
- content: {
1244
- textStyle: "body/sm/semibold";
1245
- };
1246
- };
1247
- 'md/regular': {
1248
- content: {
1249
- textStyle: "body/md/regular";
1250
- };
1251
- };
1252
- };
1253
- }>;
1254
- };
1255
- export default slotRecipes;