@bitrise/bitkit-v2 0.3.481-beta.3083 → 0.3.481-beta.3087

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