@bitrise/bitkit-v2 0.3.477-beta.3030 → 0.3.478-beta.3034

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 (135) hide show
  1. package/dist/components/BitkitCalendar/BitkitCalendar.d.ts +12 -0
  2. package/dist/components/BitkitCalendar/BitkitCalendar.js +7 -1
  3. package/dist/components/BitkitCalendar/BitkitCalendar.js.map +1 -1
  4. package/dist/components/BitkitCalendar/components/CalendarContent.d.ts +5 -1
  5. package/dist/components/BitkitCalendar/components/CalendarContent.js +60 -43
  6. package/dist/components/BitkitCalendar/components/CalendarContent.js.map +1 -1
  7. package/dist/components/BitkitCalendar/components/CalendarMonth.d.ts +4 -2
  8. package/dist/components/BitkitCalendar/components/CalendarMonth.js +15 -5
  9. package/dist/components/BitkitCalendar/components/CalendarMonth.js.map +1 -1
  10. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.d.ts +2 -1
  11. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.js +3 -2
  12. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.js.map +1 -1
  13. package/dist/components/BitkitCalendar/components/CalendarNextTrigger.d.ts +3 -1
  14. package/dist/components/BitkitCalendar/components/CalendarNextTrigger.js +3 -3
  15. package/dist/components/BitkitCalendar/components/CalendarNextTrigger.js.map +1 -1
  16. package/dist/components/BitkitCalendar/components/CalendarPrevTrigger.d.ts +3 -1
  17. package/dist/components/BitkitCalendar/components/CalendarPrevTrigger.js +3 -3
  18. package/dist/components/BitkitCalendar/components/CalendarPrevTrigger.js.map +1 -1
  19. package/dist/components/BitkitCalendar/components/CalendarSelect.d.ts +1 -0
  20. package/dist/components/BitkitCalendar/components/CalendarSelect.js +5 -3
  21. package/dist/components/BitkitCalendar/components/CalendarSelect.js.map +1 -1
  22. package/dist/components/BitkitCalendar/components/CalendarYearSelect.d.ts +2 -1
  23. package/dist/components/BitkitCalendar/components/CalendarYearSelect.js +3 -2
  24. package/dist/components/BitkitCalendar/components/CalendarYearSelect.js.map +1 -1
  25. package/dist/components/BitkitDatePicker/BitkitDatePicker.d.ts +2 -0
  26. package/dist/components/BitkitDatePicker/BitkitDatePicker.js +2 -1
  27. package/dist/components/BitkitDatePicker/BitkitDatePicker.js.map +1 -1
  28. package/dist/components/BitkitFilter/BitkitFilter.context.d.ts +65 -0
  29. package/dist/components/BitkitFilter/BitkitFilter.context.js +82 -0
  30. package/dist/components/BitkitFilter/BitkitFilter.context.js.map +1 -0
  31. package/dist/components/BitkitFilter/BitkitFilter.d.ts +55 -0
  32. package/dist/components/BitkitFilter/BitkitFilter.js +247 -0
  33. package/dist/components/BitkitFilter/BitkitFilter.js.map +1 -0
  34. package/dist/components/BitkitFilter/BitkitFilter.utils.d.ts +18 -0
  35. package/dist/components/BitkitFilter/BitkitFilter.utils.js +42 -0
  36. package/dist/components/BitkitFilter/BitkitFilter.utils.js.map +1 -0
  37. package/dist/components/BitkitFilter/BitkitFilterAdd.d.ts +18 -0
  38. package/dist/components/BitkitFilter/BitkitFilterAdd.js +200 -0
  39. package/dist/components/BitkitFilter/BitkitFilterAdd.js.map +1 -0
  40. package/dist/components/BitkitFilter/BitkitFilterDateRange.d.ts +26 -0
  41. package/dist/components/BitkitFilter/BitkitFilterDateRange.js +118 -0
  42. package/dist/components/BitkitFilter/BitkitFilterDateRange.js.map +1 -0
  43. package/dist/components/BitkitFilter/BitkitFilterSearch.d.ts +23 -0
  44. package/dist/components/BitkitFilter/BitkitFilterSearch.js +72 -0
  45. package/dist/components/BitkitFilter/BitkitFilterSearch.js.map +1 -0
  46. package/dist/components/BitkitFilter/BitkitFilterSelect.d.ts +61 -0
  47. package/dist/components/BitkitFilter/BitkitFilterSelect.js +149 -0
  48. package/dist/components/BitkitFilter/BitkitFilterSelect.js.map +1 -0
  49. package/dist/components/BitkitFilter/BitkitFilterSwitch.d.ts +28 -0
  50. package/dist/components/BitkitFilter/BitkitFilterSwitch.js +87 -0
  51. package/dist/components/BitkitFilter/BitkitFilterSwitch.js.map +1 -0
  52. package/dist/components/BitkitFilter/components/FilterChip.d.ts +23 -0
  53. package/dist/components/BitkitFilter/components/FilterChip.js +66 -0
  54. package/dist/components/BitkitFilter/components/FilterChip.js.map +1 -0
  55. package/dist/components/BitkitFilter/components/FilterField.d.ts +15 -0
  56. package/dist/components/BitkitFilter/components/FilterField.js +60 -0
  57. package/dist/components/BitkitFilter/components/FilterField.js.map +1 -0
  58. package/dist/components/BitkitFilter/components/FilterPanel.d.ts +42 -0
  59. package/dist/components/BitkitFilter/components/FilterPanel.js +126 -0
  60. package/dist/components/BitkitFilter/components/FilterPanel.js.map +1 -0
  61. package/dist/components/BitkitFilter/components/FilterSearchInput.d.ts +15 -0
  62. package/dist/components/BitkitFilter/components/FilterSearchInput.js +41 -0
  63. package/dist/components/BitkitFilter/components/FilterSearchInput.js.map +1 -0
  64. package/dist/components/BitkitFilter/components/FilterSelectForm.d.ts +45 -0
  65. package/dist/components/BitkitFilter/components/FilterSelectForm.js +324 -0
  66. package/dist/components/BitkitFilter/components/FilterSelectForm.js.map +1 -0
  67. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.d.ts +4 -3
  68. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js +3 -2
  69. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js.map +1 -1
  70. package/dist/components/BitkitMarkdown/BitkitMarkdown.js +1 -1
  71. package/dist/components/BitkitNoteCard/BitkitNoteCard.js +1 -1
  72. package/dist/components/BitkitSteps/BitkitSteps.d.ts +2 -0
  73. package/dist/components/BitkitSteps/BitkitSteps.js +9 -4
  74. package/dist/components/BitkitSteps/BitkitSteps.js.map +1 -1
  75. package/dist/components/index.d.ts +6 -1
  76. package/dist/main.js +8 -9
  77. package/dist/theme/recipes/index.d.ts +525 -0
  78. package/dist/theme/recipes/index.js +1 -3
  79. package/dist/theme/recipes/index.js.map +1 -1
  80. package/dist/theme/slot-recipes/DatePicker.recipe.d.ts +15 -0
  81. package/dist/theme/slot-recipes/DatePicker.recipe.js +72 -22
  82. package/dist/theme/slot-recipes/DatePicker.recipe.js.map +1 -1
  83. package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +85 -0
  84. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js +35 -10
  85. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js.map +1 -1
  86. package/dist/theme/slot-recipes/Filter.recipe.d.ts +37 -0
  87. package/dist/theme/slot-recipes/Filter.recipe.js +649 -0
  88. package/dist/theme/slot-recipes/Filter.recipe.js.map +1 -0
  89. package/dist/theme/slot-recipes/Listbox.recipe.d.ts +22 -0
  90. package/dist/theme/slot-recipes/Listbox.recipe.js +92 -0
  91. package/dist/theme/slot-recipes/Listbox.recipe.js.map +1 -0
  92. package/dist/theme/slot-recipes/Menu.recipe.js +6 -1
  93. package/dist/theme/slot-recipes/Menu.recipe.js.map +1 -1
  94. package/dist/theme/slot-recipes/Steps.recipe.js +1 -1
  95. package/dist/theme/slot-recipes/Steps.recipe.js.map +1 -1
  96. package/dist/theme/slot-recipes/Tag.recipe.d.ts +1 -1
  97. package/dist/theme/slot-recipes/index.d.ts +158 -2
  98. package/dist/theme/slot-recipes/index.js +4 -2
  99. package/dist/theme/slot-recipes/index.js.map +1 -1
  100. package/dist/theme/themeUtils.d.ts +0 -6
  101. package/dist/theme/themeUtils.js +1 -7
  102. package/dist/theme/themeUtils.js.map +1 -1
  103. package/dist/utilities/BitkitPortalContext.js +3 -2
  104. package/dist/utilities/BitkitPortalContext.js.map +1 -1
  105. package/docs/v1-to-v2-migration-guide.md +48 -1
  106. package/package.json +1 -1
  107. package/dist/components/BitkitUIHeader/BitkitUIHeader.d.ts +0 -37
  108. package/dist/components/BitkitUIHeader/BitkitUIHeader.js +0 -99
  109. package/dist/components/BitkitUIHeader/BitkitUIHeader.js.map +0 -1
  110. package/dist/components/BitkitUIHeader/BitriseLogo.d.ts +0 -10
  111. package/dist/components/BitkitUIHeader/BitriseLogo.js +0 -86
  112. package/dist/components/BitkitUIHeader/BitriseLogo.js.map +0 -1
  113. package/dist/components/BitkitUIHeader/UIHeaderAccount.d.ts +0 -22
  114. package/dist/components/BitkitUIHeader/UIHeaderAccount.js +0 -38
  115. package/dist/components/BitkitUIHeader/UIHeaderAccount.js.map +0 -1
  116. package/dist/components/BitkitUIHeader/UIHeaderButton.d.ts +0 -33
  117. package/dist/components/BitkitUIHeader/UIHeaderButton.js +0 -41
  118. package/dist/components/BitkitUIHeader/UIHeaderButton.js.map +0 -1
  119. package/dist/components/BitkitUIHeader/UIHeaderContext.d.ts +0 -13
  120. package/dist/components/BitkitUIHeader/UIHeaderContext.js +0 -11
  121. package/dist/components/BitkitUIHeader/UIHeaderContext.js.map +0 -1
  122. package/dist/components/BitkitUIHeader/UIHeaderControl.d.ts +0 -67
  123. package/dist/components/BitkitUIHeader/UIHeaderControl.js +0 -65
  124. package/dist/components/BitkitUIHeader/UIHeaderControl.js.map +0 -1
  125. package/dist/components/BitkitUIHeader/UIHeaderNavButton.d.ts +0 -20
  126. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js +0 -46
  127. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js.map +0 -1
  128. package/dist/components/BitkitUIHeader/UIHeaderSearch.d.ts +0 -32
  129. package/dist/components/BitkitUIHeader/UIHeaderSearch.js +0 -107
  130. package/dist/components/BitkitUIHeader/UIHeaderSearch.js.map +0 -1
  131. package/dist/theme/recipes/UIHeaderButton.recipe.js +0 -103
  132. package/dist/theme/recipes/UIHeaderButton.recipe.js.map +0 -1
  133. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +0 -3
  134. package/dist/theme/slot-recipes/UIHeader.recipe.js +0 -229
  135. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +0 -1
@@ -0,0 +1,649 @@
1
+ import { rem } from "../themeUtils.js";
2
+ import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
3
+ //#region lib/theme/slot-recipes/Filter.recipe.ts
4
+ var chipButton = {
5
+ alignItems: "center",
6
+ alignSelf: "stretch",
7
+ display: "flex",
8
+ _hover: {
9
+ background: "background/hover",
10
+ _active: { background: "background/active" }
11
+ },
12
+ _active: { background: "background/active" },
13
+ _disabled: {
14
+ cursor: "not-allowed",
15
+ "& :is(span, svg)": { color: "text/disabled" },
16
+ _hover: { background: "transparent" }
17
+ }
18
+ };
19
+ var wrapperFocusRing = {
20
+ outlineColor: "var(--focus-ring-color)",
21
+ outlineOffset: "var(--focus-ring-offset)",
22
+ outlineStyle: "var(--focus-ring-style)",
23
+ outlineWidth: "var(--focus-ring-width)"
24
+ };
25
+ var switchItemDisabled = {
26
+ color: "text/disabled",
27
+ cursor: "not-allowed",
28
+ "& svg": { color: "icon/disabled" },
29
+ _hover: {
30
+ background: "transparent",
31
+ color: "text/disabled",
32
+ _active: { background: "transparent" }
33
+ },
34
+ _active: { background: "transparent" },
35
+ _checked: {
36
+ _hover: {
37
+ background: "background/primary",
38
+ _active: { background: "background/primary" }
39
+ },
40
+ _active: { background: "background/primary" }
41
+ }
42
+ };
43
+ var filterSlotRecipe = defineSlotRecipe({
44
+ className: "filter",
45
+ slots: [
46
+ "root",
47
+ "content",
48
+ "filters",
49
+ "icon",
50
+ "items",
51
+ "searchBlock",
52
+ "search",
53
+ "searchInput",
54
+ "switch",
55
+ "switchItem",
56
+ "switchItemText",
57
+ "chip",
58
+ "chipTrigger",
59
+ "chipLabel",
60
+ "chipValue",
61
+ "chipIcon",
62
+ "chipChevron",
63
+ "chipRemove",
64
+ "popoverContent",
65
+ "addMenu",
66
+ "addMenuItem",
67
+ "addMenuLabel",
68
+ "addMenuIcon",
69
+ "addSheetBackdrop",
70
+ "addSheetPositioner",
71
+ "addSheet",
72
+ "addSheetItem",
73
+ "addSheetItemReason",
74
+ "calendarFooter",
75
+ "popoverSearch",
76
+ "popoverBody",
77
+ "popoverFooter",
78
+ "popoverFooterStart",
79
+ "checkboxList",
80
+ "listHelperText",
81
+ "loading",
82
+ "pattern",
83
+ "patternResults",
84
+ "patternResultsLabel",
85
+ "mobileBar",
86
+ "mobileTrigger",
87
+ "mobileSearch",
88
+ "mobileSearchInput",
89
+ "mobileHeader",
90
+ "mobileTitle",
91
+ "mobilePanelHeader",
92
+ "mobilePanelOverline",
93
+ "mobilePanelTitle",
94
+ "mobileBody",
95
+ "mobileFooter",
96
+ "mobileListCheck",
97
+ "mobileListCheckbox",
98
+ "field",
99
+ "fieldLabel",
100
+ "fieldControl",
101
+ "fieldTrigger",
102
+ "fieldIcon",
103
+ "fieldValue",
104
+ "fieldChevron",
105
+ "fieldRemove"
106
+ ],
107
+ base: {
108
+ root: {
109
+ background: "background/primary",
110
+ display: "flex",
111
+ justifyContent: "center",
112
+ paddingBlock: "12",
113
+ paddingInline: "16"
114
+ },
115
+ content: {
116
+ alignItems: "flex-start",
117
+ display: "flex",
118
+ flex: "1",
119
+ gap: "16",
120
+ minWidth: 0
121
+ },
122
+ filters: {
123
+ alignItems: "flex-start",
124
+ display: "flex",
125
+ flex: "1",
126
+ gap: "12",
127
+ minWidth: 0,
128
+ paddingBlock: "4"
129
+ },
130
+ icon: {
131
+ color: "icon/tertiary",
132
+ display: "flex",
133
+ flexShrink: 0,
134
+ padding: "4"
135
+ },
136
+ items: {
137
+ alignItems: "center",
138
+ display: "flex",
139
+ flex: "1",
140
+ flexWrap: "wrap",
141
+ gap: "12",
142
+ minWidth: 0
143
+ },
144
+ searchBlock: {
145
+ alignSelf: "stretch",
146
+ borderColor: "border/minimal",
147
+ borderInlineStartWidth: "1",
148
+ display: "flex",
149
+ flexShrink: 0,
150
+ paddingInlineStart: "16"
151
+ },
152
+ search: {
153
+ alignItems: "center",
154
+ background: "background/primary",
155
+ borderRadius: "4",
156
+ color: "icon/tertiary",
157
+ display: "flex",
158
+ gap: "8",
159
+ height: "40",
160
+ paddingInline: "8",
161
+ width: rem(148),
162
+ _hover: { background: "background/secondary" },
163
+ "&:has(input:focus-visible)": wrapperFocusRing
164
+ },
165
+ searchInput: {
166
+ background: "transparent",
167
+ color: "input/text/inputValue",
168
+ flex: "1",
169
+ minWidth: 0,
170
+ outline: "none",
171
+ textStyle: "body/md/regular",
172
+ _placeholder: { color: "input/text/placeholder" },
173
+ "&::-webkit-search-cancel-button": { appearance: "none" }
174
+ },
175
+ switch: {
176
+ background: "background/secondary",
177
+ borderRadius: "4",
178
+ display: "inline-flex",
179
+ flexShrink: 0,
180
+ position: "relative"
181
+ },
182
+ switchItem: {
183
+ alignItems: "center",
184
+ borderRadius: "4",
185
+ color: "text/secondary",
186
+ cursor: "pointer",
187
+ display: "flex",
188
+ gap: "4",
189
+ height: "32",
190
+ paddingInline: "8",
191
+ position: "relative",
192
+ textStyle: "body/md/regular",
193
+ whiteSpace: "nowrap",
194
+ "& svg:not([data-own-color])": { color: "icon/tertiary" },
195
+ _after: {
196
+ background: "border/regular",
197
+ content: "\"\"",
198
+ height: "16",
199
+ insetInlineEnd: 0,
200
+ position: "absolute",
201
+ top: "8",
202
+ width: "1"
203
+ },
204
+ "&:last-of-type, &[data-state=checked], &:hover, &:has(+ [data-state=checked]), &:has(+ :hover)": { _after: { display: "none" } },
205
+ "&:has(input:focus-visible)": wrapperFocusRing,
206
+ _hover: {
207
+ background: "background/hover",
208
+ color: "text/primary",
209
+ "& svg:not([data-own-color])": { color: "icon/secondary" },
210
+ _active: { background: "background/active" }
211
+ },
212
+ _active: {
213
+ background: "background/active",
214
+ color: "text/primary"
215
+ },
216
+ _checked: {
217
+ background: "background/primary",
218
+ boxShadow: "inset 0 0 0 1px var(--colors-border\\/strong)",
219
+ color: "text/primary",
220
+ "& svg:not([data-own-color])": { color: "icon/secondary" },
221
+ _hover: { background: "background/primary" }
222
+ },
223
+ _disabled: switchItemDisabled,
224
+ _readOnly: switchItemDisabled
225
+ },
226
+ switchItemText: { paddingInline: "4" },
227
+ chip: {
228
+ alignItems: "center",
229
+ background: "background/primary",
230
+ borderColor: "border/strong",
231
+ borderRadius: "4",
232
+ borderWidth: "1",
233
+ display: "inline-flex",
234
+ height: "32",
235
+ maxWidth: rem(320),
236
+ minWidth: 0,
237
+ overflow: "hidden",
238
+ textStyle: "body/md/regular",
239
+ "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" },
240
+ "&:has([aria-expanded=true])": {
241
+ boxShadow: "0 0 0 0.125rem var(--focus-ring-color)",
242
+ "& button, & button:hover": { background: "background/primary" }
243
+ },
244
+ "& [data-scope=date-picker]:is([data-part=root], [data-part=control])": {
245
+ alignSelf: "stretch",
246
+ flex: "1",
247
+ minWidth: 0
248
+ }
249
+ },
250
+ chipTrigger: {
251
+ ...chipButton,
252
+ flex: "1",
253
+ gap: "4",
254
+ minWidth: 0,
255
+ paddingInlineEnd: "8",
256
+ paddingInlineStart: "12",
257
+ whiteSpace: "nowrap",
258
+ "&:has([data-chip-icon])": { paddingInlineStart: "8" },
259
+ "&:is(:hover, :active) [data-chip-icon]": { color: "icon/secondary" }
260
+ },
261
+ chipLabel: {
262
+ color: "text/secondary",
263
+ flexShrink: 0
264
+ },
265
+ chipValue: {
266
+ color: "text/body",
267
+ minWidth: 0,
268
+ truncate: true
269
+ },
270
+ chipIcon: {
271
+ color: "icon/tertiary",
272
+ flexShrink: 0,
273
+ marginInlineEnd: "4"
274
+ },
275
+ chipChevron: {
276
+ color: "icon/primary",
277
+ flexShrink: 0,
278
+ marginInlineStart: "8"
279
+ },
280
+ chipRemove: {
281
+ ...chipButton,
282
+ color: "icon/primary",
283
+ flexShrink: 0,
284
+ paddingInlineEnd: "8",
285
+ paddingInlineStart: "4"
286
+ },
287
+ popoverContent: {
288
+ maxHeight: "min(60vh, var(--available-height, 60vh))",
289
+ width: rem(480)
290
+ },
291
+ addMenu: {
292
+ background: "background/primary",
293
+ borderRadius: "8",
294
+ boxShadow: "elevation/lg",
295
+ display: "flex",
296
+ flexDirection: "column",
297
+ maxHeight: "var(--available-height)",
298
+ outline: "none",
299
+ overflowY: "auto",
300
+ paddingBlock: "8",
301
+ width: rem(240),
302
+ zIndex: "popover"
303
+ },
304
+ addMenuItem: {
305
+ alignItems: "center",
306
+ color: "text/body",
307
+ cursor: "pointer",
308
+ display: "flex",
309
+ gap: "4",
310
+ minHeight: "40",
311
+ paddingBlock: "8",
312
+ paddingInline: "16",
313
+ textStyle: "body/md/regular",
314
+ userSelect: "none",
315
+ _highlighted: {
316
+ background: "background/hover",
317
+ _active: { background: "background/active" }
318
+ },
319
+ _active: { background: "background/active" },
320
+ _disabled: {
321
+ color: "text/disabled",
322
+ cursor: "not-allowed",
323
+ _highlighted: { background: "transparent" },
324
+ "&[data-not-applicable]": {
325
+ color: "text/tertiary",
326
+ _highlighted: { background: "background/hover" }
327
+ }
328
+ },
329
+ "&:not([data-highlighted]) [data-add-chevron]": { visibility: "hidden" }
330
+ },
331
+ addMenuLabel: {
332
+ color: "text/tertiary",
333
+ paddingBlock: "8",
334
+ paddingInline: "16",
335
+ textStyle: "heading/h6"
336
+ },
337
+ addMenuIcon: {
338
+ color: "icon/tertiary",
339
+ flexShrink: 0,
340
+ marginInlineStart: "auto"
341
+ },
342
+ addSheetBackdrop: {
343
+ background: "utilities/overlay-light",
344
+ inset: 0,
345
+ position: "fixed",
346
+ zIndex: "calc({zIndex.dialogOverlay} + var(--layer-index, 0))"
347
+ },
348
+ addSheetPositioner: {
349
+ alignItems: "flex-end",
350
+ display: "flex",
351
+ inset: 0,
352
+ justifyContent: "stretch",
353
+ padding: "16",
354
+ position: "fixed",
355
+ zIndex: "calc({zIndex.dialog} + var(--layer-index, 0))"
356
+ },
357
+ addSheet: {
358
+ background: "background/primary",
359
+ borderRadius: "8",
360
+ boxShadow: "elevation/lg",
361
+ display: "flex",
362
+ flex: "1",
363
+ flexDirection: "column",
364
+ maxHeight: "80dvh",
365
+ outline: "none",
366
+ overflowY: "auto",
367
+ paddingBlock: "8"
368
+ },
369
+ addSheetItem: {
370
+ ...chipButton,
371
+ alignSelf: "auto",
372
+ color: "text/body",
373
+ gap: "12",
374
+ minHeight: "48",
375
+ paddingBlock: "8",
376
+ paddingInline: "16",
377
+ textAlign: "start",
378
+ textStyle: "body/lg/regular",
379
+ _disabled: {
380
+ color: "text/disabled",
381
+ cursor: "not-allowed",
382
+ _hover: { background: "transparent" },
383
+ "&[data-not-applicable]": {
384
+ color: "text/tertiary",
385
+ "& :is(span, svg)": { color: "text/tertiary" }
386
+ }
387
+ }
388
+ },
389
+ addSheetItemReason: {
390
+ color: "text/tertiary",
391
+ textStyle: "body/sm/regular"
392
+ },
393
+ calendarFooter: {
394
+ alignItems: "center",
395
+ display: "flex",
396
+ gap: "8",
397
+ marginBlockStart: "24"
398
+ },
399
+ popoverSearch: {
400
+ flexShrink: 0,
401
+ paddingBlockEnd: "8",
402
+ paddingBlockStart: "8",
403
+ paddingInline: "12"
404
+ },
405
+ popoverBody: {
406
+ display: "flex",
407
+ flexDirection: "column",
408
+ minHeight: 0,
409
+ "& > *, & [data-scope=listbox]:is([data-part=root], [data-part=content])": { minHeight: 0 },
410
+ "& [data-scope=listbox][data-part=root]": {
411
+ display: "flex",
412
+ flexDirection: "column"
413
+ }
414
+ },
415
+ popoverFooter: {
416
+ alignItems: "center",
417
+ display: "flex",
418
+ gap: "8",
419
+ paddingBlockEnd: "16",
420
+ paddingBlockStart: "24",
421
+ paddingInlineEnd: "24",
422
+ paddingInlineStart: "16"
423
+ },
424
+ popoverFooterStart: { flex: "1" },
425
+ checkboxList: {
426
+ maxHeight: rem(200),
427
+ overflowY: "auto",
428
+ paddingBlockEnd: "16",
429
+ paddingBlockStart: "8",
430
+ paddingInline: "20"
431
+ },
432
+ listHelperText: {
433
+ color: "text/secondary",
434
+ textStyle: "body/sm/regular"
435
+ },
436
+ loading: {
437
+ paddingBlock: "8",
438
+ paddingInline: "16"
439
+ },
440
+ pattern: {
441
+ display: "flex",
442
+ flexDirection: "column",
443
+ gap: "24",
444
+ paddingBlockStart: "8",
445
+ paddingInline: "16"
446
+ },
447
+ patternResults: {
448
+ display: "flex",
449
+ flexDirection: "column",
450
+ gap: "8",
451
+ maxHeight: rem(176),
452
+ minHeight: 0,
453
+ overflowY: "auto"
454
+ },
455
+ patternResultsLabel: {
456
+ color: "text/primary",
457
+ textStyle: "comp/input/label"
458
+ },
459
+ mobileBar: {
460
+ alignItems: "center",
461
+ borderBlockEndWidth: "1",
462
+ borderColor: "border/minimal",
463
+ display: "flex",
464
+ gap: "12",
465
+ justifyContent: "space-between",
466
+ padding: "16"
467
+ },
468
+ mobileTrigger: {
469
+ ...chipButton,
470
+ alignSelf: "auto",
471
+ background: "background/primary",
472
+ borderColor: "border/strong",
473
+ borderRadius: "4",
474
+ borderWidth: "1",
475
+ color: "text/primary",
476
+ gap: "8",
477
+ height: "32",
478
+ paddingInline: "8",
479
+ textStyle: "comp/button/sm",
480
+ _icon: { color: "icon/primary" },
481
+ _disabled: {
482
+ borderColor: "border/disabled",
483
+ color: "text/disabled",
484
+ _icon: { color: "icon/disabled" }
485
+ }
486
+ },
487
+ mobileSearch: {
488
+ alignItems: "center",
489
+ borderBlockEndWidth: "1",
490
+ borderColor: "border/minimal",
491
+ color: "icon/tertiary",
492
+ display: "flex",
493
+ gap: "12",
494
+ height: rem(56),
495
+ paddingInline: "16",
496
+ "&:has(input:focus-visible)": {
497
+ ...wrapperFocusRing,
498
+ outlineOffset: "calc(var(--focus-ring-width) * -1)"
499
+ }
500
+ },
501
+ mobileSearchInput: {
502
+ background: "transparent",
503
+ color: "input/text/inputValue",
504
+ flex: "1",
505
+ minWidth: 0,
506
+ outline: "none",
507
+ textStyle: "body/lg/regular",
508
+ _placeholder: { color: "input/text/placeholder" },
509
+ "&::-webkit-search-cancel-button": { appearance: "none" }
510
+ },
511
+ mobileHeader: {
512
+ alignItems: "center",
513
+ borderBlockEndWidth: "1",
514
+ borderColor: "border/minimal",
515
+ display: "flex",
516
+ flexShrink: 0,
517
+ gap: "12",
518
+ paddingBlock: "16",
519
+ paddingInline: {
520
+ base: "16",
521
+ tablet: "24"
522
+ }
523
+ },
524
+ mobileTitle: {
525
+ color: "text/primary",
526
+ flex: "1",
527
+ textStyle: "heading/mobile/h2"
528
+ },
529
+ mobilePanelHeader: {
530
+ alignItems: "center",
531
+ borderBlockEndWidth: "1",
532
+ borderColor: "border/minimal",
533
+ display: "flex",
534
+ flexShrink: 0,
535
+ gap: "12",
536
+ paddingBlock: "12",
537
+ paddingInline: {
538
+ base: "16",
539
+ tablet: "24"
540
+ }
541
+ },
542
+ mobilePanelOverline: {
543
+ color: "text/tertiary",
544
+ textStyle: "heading/h6"
545
+ },
546
+ mobilePanelTitle: {
547
+ color: "text/primary",
548
+ textStyle: "heading/mobile/h3"
549
+ },
550
+ mobileBody: {
551
+ display: "flex",
552
+ flexDirection: "column",
553
+ gap: "16"
554
+ },
555
+ mobileFooter: {
556
+ display: "flex",
557
+ gap: "12",
558
+ "& > *": { flex: "1" }
559
+ },
560
+ mobileListCheck: {
561
+ color: "icon/interactive",
562
+ display: "flex",
563
+ flexShrink: 0,
564
+ "&[data-state=unchecked]": { visibility: "hidden" }
565
+ },
566
+ mobileListCheckbox: { flexShrink: 0 },
567
+ field: {
568
+ display: "flex",
569
+ flexDirection: "column",
570
+ gap: "8"
571
+ },
572
+ fieldLabel: {
573
+ color: "text/primary",
574
+ textStyle: "comp/input/label"
575
+ },
576
+ fieldControl: {
577
+ background: "background/primary",
578
+ borderColor: "border/strong",
579
+ borderRadius: "4",
580
+ borderWidth: "1",
581
+ display: "flex",
582
+ height: "48",
583
+ overflow: "hidden",
584
+ "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" }
585
+ },
586
+ fieldTrigger: {
587
+ ...chipButton,
588
+ flex: "1",
589
+ gap: "8",
590
+ minWidth: 0,
591
+ paddingInline: "16",
592
+ textAlign: "start",
593
+ textStyle: "body/lg/regular"
594
+ },
595
+ fieldIcon: {
596
+ color: "icon/secondary",
597
+ flexShrink: 0
598
+ },
599
+ fieldValue: {
600
+ color: "text/body",
601
+ flex: "1",
602
+ minWidth: 0,
603
+ truncate: true
604
+ },
605
+ fieldChevron: {
606
+ color: "icon/primary",
607
+ flexShrink: 0
608
+ },
609
+ fieldRemove: {
610
+ ...chipButton,
611
+ color: "icon/primary",
612
+ flexShrink: 0,
613
+ justifyContent: "center",
614
+ width: "48"
615
+ }
616
+ },
617
+ variants: {
618
+ pageLayout: {
619
+ capped: { root: {
620
+ borderBlockEndWidth: "1",
621
+ borderColor: "border/regular",
622
+ paddingInline: {
623
+ base: "16",
624
+ tablet: "32"
625
+ }
626
+ } },
627
+ full: { root: {
628
+ borderBlockEndWidth: "1",
629
+ borderColor: "border/regular",
630
+ paddingInlineEnd: {
631
+ base: "16",
632
+ tablet: "32"
633
+ },
634
+ paddingInlineStart: {
635
+ base: "16",
636
+ tablet: "24"
637
+ }
638
+ } }
639
+ },
640
+ contentAlign: {
641
+ center: {},
642
+ start: { root: { justifyContent: "flex-start" } }
643
+ }
644
+ }
645
+ });
646
+ //#endregion
647
+ export { filterSlotRecipe as default };
648
+
649
+ //# sourceMappingURL=Filter.recipe.js.map