@bitrise/bitkit-v2 0.3.481-beta.3085 → 0.3.481-beta.3089

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 +342 -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 +656 -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,656 @@
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: "max(var(--reference-width, 0px), 20rem)",
292
+ width: "max-content",
293
+ "&:has([data-filter-pattern])": { width: rem(480) },
294
+ "& [data-scope=listbox][data-part=content]": { paddingBlockEnd: 0 }
295
+ },
296
+ addMenu: {
297
+ background: "background/primary",
298
+ borderRadius: "8",
299
+ boxShadow: "elevation/lg",
300
+ display: "flex",
301
+ flexDirection: "column",
302
+ maxHeight: "var(--available-height)",
303
+ outline: "none",
304
+ overflowY: "auto",
305
+ paddingBlock: "8",
306
+ width: rem(240),
307
+ zIndex: "popover"
308
+ },
309
+ addMenuItem: {
310
+ alignItems: "center",
311
+ color: "text/body",
312
+ cursor: "pointer",
313
+ display: "flex",
314
+ gap: "4",
315
+ minHeight: "40",
316
+ paddingBlock: "8",
317
+ paddingInline: "16",
318
+ textStyle: "body/md/regular",
319
+ userSelect: "none",
320
+ _highlighted: {
321
+ background: "background/hover",
322
+ _active: { background: "background/active" }
323
+ },
324
+ _active: { background: "background/active" },
325
+ _disabled: {
326
+ color: "text/disabled",
327
+ cursor: "not-allowed",
328
+ _highlighted: { background: "transparent" },
329
+ "&[data-not-applicable]": {
330
+ color: "text/tertiary",
331
+ _highlighted: { background: "background/hover" }
332
+ }
333
+ },
334
+ "&:not([data-highlighted]) [data-add-chevron]": { visibility: "hidden" }
335
+ },
336
+ addMenuLabel: {
337
+ color: "text/tertiary",
338
+ paddingBlock: "8",
339
+ paddingInline: "16",
340
+ textStyle: "heading/h6"
341
+ },
342
+ addMenuIcon: {
343
+ color: "icon/tertiary",
344
+ flexShrink: 0,
345
+ marginInlineStart: "auto"
346
+ },
347
+ addSheetBackdrop: {
348
+ background: "utilities/overlay-light",
349
+ inset: 0,
350
+ position: "fixed",
351
+ zIndex: "calc({zIndex.dialogOverlay} + var(--layer-index, 0))"
352
+ },
353
+ addSheetPositioner: {
354
+ alignItems: "flex-end",
355
+ display: "flex",
356
+ inset: 0,
357
+ justifyContent: "stretch",
358
+ padding: "16",
359
+ position: "fixed",
360
+ zIndex: "calc({zIndex.dialog} + var(--layer-index, 0))"
361
+ },
362
+ addSheet: {
363
+ background: "background/primary",
364
+ borderRadius: "8",
365
+ boxShadow: "elevation/lg",
366
+ display: "flex",
367
+ flex: "1",
368
+ flexDirection: "column",
369
+ maxHeight: "80dvh",
370
+ outline: "none",
371
+ overflowY: "auto",
372
+ paddingBlock: "8"
373
+ },
374
+ addSheetItem: {
375
+ ...chipButton,
376
+ alignSelf: "auto",
377
+ color: "text/body",
378
+ gap: "12",
379
+ minHeight: "48",
380
+ paddingBlock: "8",
381
+ paddingInline: "16",
382
+ textAlign: "start",
383
+ textStyle: "body/lg/regular",
384
+ _disabled: {
385
+ color: "text/disabled",
386
+ cursor: "not-allowed",
387
+ _hover: { background: "transparent" },
388
+ "&[data-not-applicable]": {
389
+ color: "text/tertiary",
390
+ "& :is(span, svg)": { color: "text/tertiary" }
391
+ }
392
+ }
393
+ },
394
+ addSheetItemReason: {
395
+ color: "text/tertiary",
396
+ textStyle: "body/sm/regular"
397
+ },
398
+ calendarFooter: {
399
+ alignItems: "center",
400
+ display: "flex",
401
+ gap: "8",
402
+ marginBlockStart: "24"
403
+ },
404
+ popoverSearch: {
405
+ flexShrink: 0,
406
+ paddingBlockEnd: "8",
407
+ paddingBlockStart: "8",
408
+ paddingInline: "12"
409
+ },
410
+ popoverBody: {
411
+ display: "flex",
412
+ flexDirection: "column",
413
+ minHeight: 0,
414
+ "& > *, & [data-scope=listbox]:is([data-part=root], [data-part=content])": { minHeight: 0 },
415
+ "& [data-scope=listbox][data-part=root]": {
416
+ display: "flex",
417
+ flexDirection: "column"
418
+ }
419
+ },
420
+ popoverFooter: {
421
+ alignItems: "center",
422
+ display: "flex",
423
+ gap: "8",
424
+ paddingBlockEnd: "16",
425
+ paddingBlockStart: "24",
426
+ paddingInline: "16"
427
+ },
428
+ popoverFooterStart: { flex: "1" },
429
+ checkboxList: {
430
+ maxHeight: rem(200),
431
+ overflowY: "auto",
432
+ paddingBlockStart: "8",
433
+ paddingInline: "20",
434
+ "& [data-option-icon]": { color: "icon/secondary" },
435
+ "& [data-scope=checkbox][data-part=root]:hover [data-option-icon]": { color: "icon/primary" },
436
+ "& [data-scope=checkbox][data-part=root][data-state=checked] [data-option-icon]": { color: "icon/interactive" }
437
+ },
438
+ listHelperText: {
439
+ color: "text/secondary",
440
+ textStyle: "body/sm/regular"
441
+ },
442
+ loading: {
443
+ paddingBlock: "8",
444
+ paddingInline: "16"
445
+ },
446
+ pattern: {
447
+ display: "flex",
448
+ flexDirection: "column",
449
+ gap: "24",
450
+ paddingBlockStart: "8",
451
+ paddingInline: "16"
452
+ },
453
+ patternResults: {
454
+ display: "flex",
455
+ flexDirection: "column",
456
+ gap: "8",
457
+ maxHeight: rem(176),
458
+ minHeight: 0,
459
+ overflowY: "auto"
460
+ },
461
+ patternResultsLabel: {
462
+ color: "text/primary",
463
+ textStyle: "comp/input/label"
464
+ },
465
+ mobileBar: {
466
+ alignItems: "center",
467
+ borderBlockEndWidth: "1",
468
+ borderColor: "border/minimal",
469
+ display: "flex",
470
+ gap: "12",
471
+ justifyContent: "space-between",
472
+ padding: "16"
473
+ },
474
+ mobileTrigger: {
475
+ ...chipButton,
476
+ alignSelf: "auto",
477
+ background: "background/primary",
478
+ borderColor: "border/strong",
479
+ borderRadius: "4",
480
+ borderWidth: "1",
481
+ color: "text/primary",
482
+ gap: "8",
483
+ height: "32",
484
+ paddingInline: "8",
485
+ textStyle: "comp/button/sm",
486
+ _icon: { color: "icon/primary" },
487
+ _disabled: {
488
+ borderColor: "border/disabled",
489
+ color: "text/disabled",
490
+ _icon: { color: "icon/disabled" }
491
+ }
492
+ },
493
+ mobileSearch: {
494
+ alignItems: "center",
495
+ borderBlockEndWidth: "1",
496
+ borderColor: "border/minimal",
497
+ cursor: "text",
498
+ color: "icon/tertiary",
499
+ display: "flex",
500
+ gap: "12",
501
+ height: rem(56),
502
+ paddingInline: "16",
503
+ "&:has(input:focus-visible)": {
504
+ ...wrapperFocusRing,
505
+ outlineOffset: "calc(var(--focus-ring-width) * -1)"
506
+ }
507
+ },
508
+ mobileSearchInput: {
509
+ background: "transparent",
510
+ color: "input/text/inputValue",
511
+ flex: "1",
512
+ minWidth: 0,
513
+ outline: "none",
514
+ textStyle: "body/lg/regular",
515
+ _placeholder: { color: "input/text/placeholder" },
516
+ "&::-webkit-search-cancel-button": { appearance: "none" }
517
+ },
518
+ mobileHeader: {
519
+ alignItems: "center",
520
+ borderBlockEndWidth: "1",
521
+ borderColor: "border/minimal",
522
+ display: "flex",
523
+ flexShrink: 0,
524
+ gap: "12",
525
+ paddingBlock: "16",
526
+ paddingInline: {
527
+ base: "16",
528
+ tablet: "24"
529
+ }
530
+ },
531
+ mobileTitle: {
532
+ color: "text/primary",
533
+ flex: "1",
534
+ textStyle: "heading/mobile/h2"
535
+ },
536
+ mobilePanelHeader: {
537
+ alignItems: "center",
538
+ borderBlockEndWidth: "1",
539
+ borderColor: "border/minimal",
540
+ display: "flex",
541
+ flexShrink: 0,
542
+ gap: "12",
543
+ paddingBlock: "12",
544
+ paddingInline: {
545
+ base: "16",
546
+ tablet: "24"
547
+ }
548
+ },
549
+ mobilePanelOverline: {
550
+ color: "text/tertiary",
551
+ textStyle: "heading/h6"
552
+ },
553
+ mobilePanelTitle: {
554
+ color: "text/primary",
555
+ textStyle: "heading/mobile/h3"
556
+ },
557
+ mobileBody: {
558
+ display: "flex",
559
+ flexDirection: "column",
560
+ gap: "16"
561
+ },
562
+ mobileFooter: {
563
+ display: "flex",
564
+ gap: "12",
565
+ "& > *": { flex: "1" }
566
+ },
567
+ mobileListCheck: {
568
+ color: "icon/interactive",
569
+ display: "flex",
570
+ flexShrink: 0,
571
+ "&[data-state=unchecked]": { visibility: "hidden" }
572
+ },
573
+ mobileListCheckbox: { flexShrink: 0 },
574
+ field: {
575
+ display: "flex",
576
+ flexDirection: "column",
577
+ gap: "8"
578
+ },
579
+ fieldLabel: {
580
+ color: "text/primary",
581
+ textStyle: "comp/input/label"
582
+ },
583
+ fieldControl: {
584
+ background: "background/primary",
585
+ borderColor: "border/strong",
586
+ borderRadius: "4",
587
+ borderWidth: "1",
588
+ display: "flex",
589
+ height: "48",
590
+ overflow: "hidden",
591
+ "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" }
592
+ },
593
+ fieldTrigger: {
594
+ ...chipButton,
595
+ flex: "1",
596
+ gap: "8",
597
+ minWidth: 0,
598
+ paddingInline: "16",
599
+ textAlign: "start",
600
+ textStyle: "body/lg/regular"
601
+ },
602
+ fieldIcon: {
603
+ color: "icon/secondary",
604
+ flexShrink: 0
605
+ },
606
+ fieldValue: {
607
+ color: "text/body",
608
+ flex: "1",
609
+ minWidth: 0,
610
+ truncate: true
611
+ },
612
+ fieldChevron: {
613
+ color: "icon/primary",
614
+ flexShrink: 0
615
+ },
616
+ fieldRemove: {
617
+ ...chipButton,
618
+ color: "icon/primary",
619
+ flexShrink: 0,
620
+ justifyContent: "center",
621
+ width: "48"
622
+ }
623
+ },
624
+ variants: {
625
+ pageLayout: {
626
+ capped: { root: {
627
+ borderBlockEndWidth: "1",
628
+ borderColor: "border/regular",
629
+ paddingInline: {
630
+ base: "16",
631
+ tablet: "32"
632
+ }
633
+ } },
634
+ full: { root: {
635
+ borderBlockEndWidth: "1",
636
+ borderColor: "border/regular",
637
+ paddingInlineEnd: {
638
+ base: "16",
639
+ tablet: "32"
640
+ },
641
+ paddingInlineStart: {
642
+ base: "16",
643
+ tablet: "24"
644
+ }
645
+ } }
646
+ },
647
+ contentAlign: {
648
+ center: {},
649
+ start: { root: { justifyContent: "flex-start" } }
650
+ }
651
+ }
652
+ });
653
+ //#endregion
654
+ export { filterSlotRecipe as default };
655
+
656
+ //# sourceMappingURL=Filter.recipe.js.map