@bitrise/bitkit-v2 0.3.481-beta.3059 → 0.3.481-beta.3061

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 (136) hide show
  1. package/dist/components/BitkitCalendar/BitkitCalendar.d.ts +0 -12
  2. package/dist/components/BitkitCalendar/BitkitCalendar.js +1 -7
  3. package/dist/components/BitkitCalendar/BitkitCalendar.js.map +1 -1
  4. package/dist/components/BitkitCalendar/components/CalendarContent.d.ts +1 -5
  5. package/dist/components/BitkitCalendar/components/CalendarContent.js +43 -60
  6. package/dist/components/BitkitCalendar/components/CalendarContent.js.map +1 -1
  7. package/dist/components/BitkitCalendar/components/CalendarMonth.d.ts +2 -4
  8. package/dist/components/BitkitCalendar/components/CalendarMonth.js +5 -15
  9. package/dist/components/BitkitCalendar/components/CalendarMonth.js.map +1 -1
  10. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.d.ts +1 -2
  11. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.js +2 -3
  12. package/dist/components/BitkitCalendar/components/CalendarMonthSelect.js.map +1 -1
  13. package/dist/components/BitkitCalendar/components/CalendarNextTrigger.d.ts +1 -3
  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 +1 -3
  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 +0 -1
  20. package/dist/components/BitkitCalendar/components/CalendarSelect.js +3 -5
  21. package/dist/components/BitkitCalendar/components/CalendarSelect.js.map +1 -1
  22. package/dist/components/BitkitCalendar/components/CalendarTrigger.js +0 -1
  23. package/dist/components/BitkitCalendar/components/CalendarTrigger.js.map +1 -1
  24. package/dist/components/BitkitCalendar/components/CalendarYearSelect.d.ts +1 -2
  25. package/dist/components/BitkitCalendar/components/CalendarYearSelect.js +2 -3
  26. package/dist/components/BitkitCalendar/components/CalendarYearSelect.js.map +1 -1
  27. package/dist/components/BitkitDatePicker/BitkitDatePicker.d.ts +0 -2
  28. package/dist/components/BitkitDatePicker/BitkitDatePicker.js +1 -2
  29. package/dist/components/BitkitDatePicker/BitkitDatePicker.js.map +1 -1
  30. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.d.ts +3 -4
  31. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js +2 -3
  32. package/dist/components/BitkitLabelTooltip/BitkitLabelTooltip.js.map +1 -1
  33. package/dist/components/BitkitMarkdown/BitkitMarkdown.js +1 -1
  34. package/dist/components/BitkitNoteCard/BitkitNoteCard.js +1 -1
  35. package/dist/components/BitkitPageSidebar/BitkitPageSidebar.js +1 -1
  36. package/dist/components/BitkitUIHeader/BitkitUIHeader.d.ts +37 -0
  37. package/dist/components/BitkitUIHeader/BitkitUIHeader.js +112 -0
  38. package/dist/components/BitkitUIHeader/BitkitUIHeader.js.map +1 -0
  39. package/dist/components/BitkitUIHeader/BitriseLogo.d.ts +10 -0
  40. package/dist/components/BitkitUIHeader/BitriseLogo.js +86 -0
  41. package/dist/components/BitkitUIHeader/BitriseLogo.js.map +1 -0
  42. package/dist/components/BitkitUIHeader/UIHeaderAccount.d.ts +23 -0
  43. package/dist/components/BitkitUIHeader/UIHeaderAccount.js +40 -0
  44. package/dist/components/BitkitUIHeader/UIHeaderAccount.js.map +1 -0
  45. package/dist/components/BitkitUIHeader/UIHeaderButton.d.ts +32 -0
  46. package/dist/components/BitkitUIHeader/UIHeaderButton.js +41 -0
  47. package/dist/components/BitkitUIHeader/UIHeaderButton.js.map +1 -0
  48. package/dist/components/BitkitUIHeader/UIHeaderContext.d.ts +13 -0
  49. package/dist/components/BitkitUIHeader/UIHeaderContext.js +11 -0
  50. package/dist/components/BitkitUIHeader/UIHeaderContext.js.map +1 -0
  51. package/dist/components/BitkitUIHeader/UIHeaderControl.d.ts +65 -0
  52. package/dist/components/BitkitUIHeader/UIHeaderControl.js +71 -0
  53. package/dist/components/BitkitUIHeader/UIHeaderControl.js.map +1 -0
  54. package/dist/components/BitkitUIHeader/UIHeaderNavButton.d.ts +20 -0
  55. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js +46 -0
  56. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js.map +1 -0
  57. package/dist/components/BitkitUIHeader/UIHeaderSearch.d.ts +32 -0
  58. package/dist/components/BitkitUIHeader/UIHeaderSearch.js +116 -0
  59. package/dist/components/BitkitUIHeader/UIHeaderSearch.js.map +1 -0
  60. package/dist/components/BitkitUIHeader/uiHeaderPart.d.ts +9 -0
  61. package/dist/components/BitkitUIHeader/uiHeaderPart.js +13 -0
  62. package/dist/components/BitkitUIHeader/uiHeaderPart.js.map +1 -0
  63. package/dist/components/index.d.ts +1 -6
  64. package/dist/main.js +9 -8
  65. package/dist/theme/recipes/UIHeaderButton.recipe.js +103 -0
  66. package/dist/theme/recipes/UIHeaderButton.recipe.js.map +1 -0
  67. package/dist/theme/recipes/index.js +3 -1
  68. package/dist/theme/recipes/index.js.map +1 -1
  69. package/dist/theme/slot-recipes/DatePicker.recipe.d.ts +0 -15
  70. package/dist/theme/slot-recipes/DatePicker.recipe.js +22 -72
  71. package/dist/theme/slot-recipes/DatePicker.recipe.js.map +1 -1
  72. package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +0 -85
  73. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js +10 -35
  74. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js.map +1 -1
  75. package/dist/theme/slot-recipes/Menu.recipe.js +1 -6
  76. package/dist/theme/slot-recipes/Menu.recipe.js.map +1 -1
  77. package/dist/theme/slot-recipes/Tag.recipe.d.ts +1 -1
  78. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +4 -0
  79. package/dist/theme/slot-recipes/UIHeader.recipe.js +241 -0
  80. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +1 -0
  81. package/dist/theme/slot-recipes/index.d.ts +2 -158
  82. package/dist/theme/slot-recipes/index.js +2 -4
  83. package/dist/theme/slot-recipes/index.js.map +1 -1
  84. package/dist/theme/themeUtils.d.ts +6 -0
  85. package/dist/theme/themeUtils.js +7 -1
  86. package/dist/theme/themeUtils.js.map +1 -1
  87. package/dist/utilities/BitkitPortalContext.js +2 -3
  88. package/dist/utilities/BitkitPortalContext.js.map +1 -1
  89. package/docs/v1-to-v2-migration-guide.md +1 -48
  90. package/package.json +1 -1
  91. package/dist/components/BitkitFilter/BitkitFilter.context.d.ts +0 -65
  92. package/dist/components/BitkitFilter/BitkitFilter.context.js +0 -82
  93. package/dist/components/BitkitFilter/BitkitFilter.context.js.map +0 -1
  94. package/dist/components/BitkitFilter/BitkitFilter.d.ts +0 -55
  95. package/dist/components/BitkitFilter/BitkitFilter.js +0 -247
  96. package/dist/components/BitkitFilter/BitkitFilter.js.map +0 -1
  97. package/dist/components/BitkitFilter/BitkitFilter.utils.d.ts +0 -18
  98. package/dist/components/BitkitFilter/BitkitFilter.utils.js +0 -42
  99. package/dist/components/BitkitFilter/BitkitFilter.utils.js.map +0 -1
  100. package/dist/components/BitkitFilter/BitkitFilterAdd.d.ts +0 -18
  101. package/dist/components/BitkitFilter/BitkitFilterAdd.js +0 -200
  102. package/dist/components/BitkitFilter/BitkitFilterAdd.js.map +0 -1
  103. package/dist/components/BitkitFilter/BitkitFilterDateRange.d.ts +0 -26
  104. package/dist/components/BitkitFilter/BitkitFilterDateRange.js +0 -118
  105. package/dist/components/BitkitFilter/BitkitFilterDateRange.js.map +0 -1
  106. package/dist/components/BitkitFilter/BitkitFilterSearch.d.ts +0 -23
  107. package/dist/components/BitkitFilter/BitkitFilterSearch.js +0 -72
  108. package/dist/components/BitkitFilter/BitkitFilterSearch.js.map +0 -1
  109. package/dist/components/BitkitFilter/BitkitFilterSelect.d.ts +0 -61
  110. package/dist/components/BitkitFilter/BitkitFilterSelect.js +0 -149
  111. package/dist/components/BitkitFilter/BitkitFilterSelect.js.map +0 -1
  112. package/dist/components/BitkitFilter/BitkitFilterSwitch.d.ts +0 -28
  113. package/dist/components/BitkitFilter/BitkitFilterSwitch.js +0 -87
  114. package/dist/components/BitkitFilter/BitkitFilterSwitch.js.map +0 -1
  115. package/dist/components/BitkitFilter/components/FilterChip.d.ts +0 -23
  116. package/dist/components/BitkitFilter/components/FilterChip.js +0 -66
  117. package/dist/components/BitkitFilter/components/FilterChip.js.map +0 -1
  118. package/dist/components/BitkitFilter/components/FilterField.d.ts +0 -15
  119. package/dist/components/BitkitFilter/components/FilterField.js +0 -60
  120. package/dist/components/BitkitFilter/components/FilterField.js.map +0 -1
  121. package/dist/components/BitkitFilter/components/FilterPanel.d.ts +0 -42
  122. package/dist/components/BitkitFilter/components/FilterPanel.js +0 -126
  123. package/dist/components/BitkitFilter/components/FilterPanel.js.map +0 -1
  124. package/dist/components/BitkitFilter/components/FilterSearchInput.d.ts +0 -15
  125. package/dist/components/BitkitFilter/components/FilterSearchInput.js +0 -42
  126. package/dist/components/BitkitFilter/components/FilterSearchInput.js.map +0 -1
  127. package/dist/components/BitkitFilter/components/FilterSelectForm.d.ts +0 -45
  128. package/dist/components/BitkitFilter/components/FilterSelectForm.js +0 -328
  129. package/dist/components/BitkitFilter/components/FilterSelectForm.js.map +0 -1
  130. package/dist/theme/recipes/index.d.ts +0 -525
  131. package/dist/theme/slot-recipes/Filter.recipe.d.ts +0 -37
  132. package/dist/theme/slot-recipes/Filter.recipe.js +0 -654
  133. package/dist/theme/slot-recipes/Filter.recipe.js.map +0 -1
  134. package/dist/theme/slot-recipes/Listbox.recipe.d.ts +0 -22
  135. package/dist/theme/slot-recipes/Listbox.recipe.js +0 -96
  136. package/dist/theme/slot-recipes/Listbox.recipe.js.map +0 -1
@@ -1,654 +0,0 @@
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)",
292
- width: "max-content",
293
- "&:has([data-filter-pattern])": { width: rem(480) }
294
- },
295
- addMenu: {
296
- background: "background/primary",
297
- borderRadius: "8",
298
- boxShadow: "elevation/lg",
299
- display: "flex",
300
- flexDirection: "column",
301
- maxHeight: "var(--available-height)",
302
- outline: "none",
303
- overflowY: "auto",
304
- paddingBlock: "8",
305
- width: rem(240),
306
- zIndex: "popover"
307
- },
308
- addMenuItem: {
309
- alignItems: "center",
310
- color: "text/body",
311
- cursor: "pointer",
312
- display: "flex",
313
- gap: "4",
314
- minHeight: "40",
315
- paddingBlock: "8",
316
- paddingInline: "16",
317
- textStyle: "body/md/regular",
318
- userSelect: "none",
319
- _highlighted: {
320
- background: "background/hover",
321
- _active: { background: "background/active" }
322
- },
323
- _active: { background: "background/active" },
324
- _disabled: {
325
- color: "text/disabled",
326
- cursor: "not-allowed",
327
- _highlighted: { background: "transparent" },
328
- "&[data-not-applicable]": {
329
- color: "text/tertiary",
330
- _highlighted: { background: "background/hover" }
331
- }
332
- },
333
- "&:not([data-highlighted]) [data-add-chevron]": { visibility: "hidden" }
334
- },
335
- addMenuLabel: {
336
- color: "text/tertiary",
337
- paddingBlock: "8",
338
- paddingInline: "16",
339
- textStyle: "heading/h6"
340
- },
341
- addMenuIcon: {
342
- color: "icon/tertiary",
343
- flexShrink: 0,
344
- marginInlineStart: "auto"
345
- },
346
- addSheetBackdrop: {
347
- background: "utilities/overlay-light",
348
- inset: 0,
349
- position: "fixed",
350
- zIndex: "calc({zIndex.dialogOverlay} + var(--layer-index, 0))"
351
- },
352
- addSheetPositioner: {
353
- alignItems: "flex-end",
354
- display: "flex",
355
- inset: 0,
356
- justifyContent: "stretch",
357
- padding: "16",
358
- position: "fixed",
359
- zIndex: "calc({zIndex.dialog} + var(--layer-index, 0))"
360
- },
361
- addSheet: {
362
- background: "background/primary",
363
- borderRadius: "8",
364
- boxShadow: "elevation/lg",
365
- display: "flex",
366
- flex: "1",
367
- flexDirection: "column",
368
- maxHeight: "80dvh",
369
- outline: "none",
370
- overflowY: "auto",
371
- paddingBlock: "8"
372
- },
373
- addSheetItem: {
374
- ...chipButton,
375
- alignSelf: "auto",
376
- color: "text/body",
377
- gap: "12",
378
- minHeight: "48",
379
- paddingBlock: "8",
380
- paddingInline: "16",
381
- textAlign: "start",
382
- textStyle: "body/lg/regular",
383
- _disabled: {
384
- color: "text/disabled",
385
- cursor: "not-allowed",
386
- _hover: { background: "transparent" },
387
- "&[data-not-applicable]": {
388
- color: "text/tertiary",
389
- "& :is(span, svg)": { color: "text/tertiary" }
390
- }
391
- }
392
- },
393
- addSheetItemReason: {
394
- color: "text/tertiary",
395
- textStyle: "body/sm/regular"
396
- },
397
- calendarFooter: {
398
- alignItems: "center",
399
- display: "flex",
400
- gap: "8",
401
- marginBlockStart: "24"
402
- },
403
- popoverSearch: {
404
- flexShrink: 0,
405
- paddingBlockEnd: "8",
406
- paddingBlockStart: "8",
407
- paddingInline: "12"
408
- },
409
- popoverBody: {
410
- display: "flex",
411
- flexDirection: "column",
412
- minHeight: 0,
413
- "& > *, & [data-scope=listbox]:is([data-part=root], [data-part=content])": { minHeight: 0 },
414
- "& [data-scope=listbox][data-part=root]": {
415
- display: "flex",
416
- flexDirection: "column"
417
- }
418
- },
419
- popoverFooter: {
420
- alignItems: "center",
421
- display: "flex",
422
- gap: "8",
423
- paddingBlockEnd: "16",
424
- paddingBlockStart: "24",
425
- paddingInlineEnd: "24",
426
- paddingInlineStart: "16"
427
- },
428
- popoverFooterStart: { flex: "1" },
429
- checkboxList: {
430
- maxHeight: rem(200),
431
- overflowY: "auto",
432
- paddingBlockEnd: "16",
433
- paddingBlockStart: "8",
434
- paddingInline: "20"
435
- },
436
- listHelperText: {
437
- color: "text/secondary",
438
- textStyle: "body/sm/regular"
439
- },
440
- loading: {
441
- paddingBlock: "8",
442
- paddingInline: "16"
443
- },
444
- pattern: {
445
- display: "flex",
446
- flexDirection: "column",
447
- gap: "24",
448
- paddingBlockStart: "8",
449
- paddingInline: "16"
450
- },
451
- patternResults: {
452
- display: "flex",
453
- flexDirection: "column",
454
- gap: "8",
455
- maxHeight: rem(176),
456
- minHeight: 0,
457
- overflowY: "auto"
458
- },
459
- patternResultsLabel: {
460
- color: "text/primary",
461
- textStyle: "comp/input/label"
462
- },
463
- mobileBar: {
464
- alignItems: "center",
465
- borderBlockEndWidth: "1",
466
- borderColor: "border/minimal",
467
- display: "flex",
468
- gap: "12",
469
- justifyContent: "space-between",
470
- padding: "16"
471
- },
472
- mobileTrigger: {
473
- ...chipButton,
474
- alignSelf: "auto",
475
- background: "background/primary",
476
- borderColor: "border/strong",
477
- borderRadius: "4",
478
- borderWidth: "1",
479
- color: "text/primary",
480
- gap: "8",
481
- height: "32",
482
- paddingInline: "8",
483
- textStyle: "comp/button/sm",
484
- _icon: { color: "icon/primary" },
485
- _disabled: {
486
- borderColor: "border/disabled",
487
- color: "text/disabled",
488
- _icon: { color: "icon/disabled" }
489
- }
490
- },
491
- mobileSearch: {
492
- alignItems: "center",
493
- borderBlockEndWidth: "1",
494
- borderColor: "border/minimal",
495
- cursor: "text",
496
- color: "icon/tertiary",
497
- display: "flex",
498
- gap: "12",
499
- height: rem(56),
500
- paddingInline: "16",
501
- "&:has(input:focus-visible)": {
502
- ...wrapperFocusRing,
503
- outlineOffset: "calc(var(--focus-ring-width) * -1)"
504
- }
505
- },
506
- mobileSearchInput: {
507
- background: "transparent",
508
- color: "input/text/inputValue",
509
- flex: "1",
510
- minWidth: 0,
511
- outline: "none",
512
- textStyle: "body/lg/regular",
513
- _placeholder: { color: "input/text/placeholder" },
514
- "&::-webkit-search-cancel-button": { appearance: "none" }
515
- },
516
- mobileHeader: {
517
- alignItems: "center",
518
- borderBlockEndWidth: "1",
519
- borderColor: "border/minimal",
520
- display: "flex",
521
- flexShrink: 0,
522
- gap: "12",
523
- paddingBlock: "16",
524
- paddingInline: {
525
- base: "16",
526
- tablet: "24"
527
- }
528
- },
529
- mobileTitle: {
530
- color: "text/primary",
531
- flex: "1",
532
- textStyle: "heading/mobile/h2"
533
- },
534
- mobilePanelHeader: {
535
- alignItems: "center",
536
- borderBlockEndWidth: "1",
537
- borderColor: "border/minimal",
538
- display: "flex",
539
- flexShrink: 0,
540
- gap: "12",
541
- paddingBlock: "12",
542
- paddingInline: {
543
- base: "16",
544
- tablet: "24"
545
- }
546
- },
547
- mobilePanelOverline: {
548
- color: "text/tertiary",
549
- textStyle: "heading/h6"
550
- },
551
- mobilePanelTitle: {
552
- color: "text/primary",
553
- textStyle: "heading/mobile/h3"
554
- },
555
- mobileBody: {
556
- display: "flex",
557
- flexDirection: "column",
558
- gap: "16"
559
- },
560
- mobileFooter: {
561
- display: "flex",
562
- gap: "12",
563
- "& > *": { flex: "1" }
564
- },
565
- mobileListCheck: {
566
- color: "icon/interactive",
567
- display: "flex",
568
- flexShrink: 0,
569
- "&[data-state=unchecked]": { visibility: "hidden" }
570
- },
571
- mobileListCheckbox: { flexShrink: 0 },
572
- field: {
573
- display: "flex",
574
- flexDirection: "column",
575
- gap: "8"
576
- },
577
- fieldLabel: {
578
- color: "text/primary",
579
- textStyle: "comp/input/label"
580
- },
581
- fieldControl: {
582
- background: "background/primary",
583
- borderColor: "border/strong",
584
- borderRadius: "4",
585
- borderWidth: "1",
586
- display: "flex",
587
- height: "48",
588
- overflow: "hidden",
589
- "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" }
590
- },
591
- fieldTrigger: {
592
- ...chipButton,
593
- flex: "1",
594
- gap: "8",
595
- minWidth: 0,
596
- paddingInline: "16",
597
- textAlign: "start",
598
- textStyle: "body/lg/regular"
599
- },
600
- fieldIcon: {
601
- color: "icon/secondary",
602
- flexShrink: 0
603
- },
604
- fieldValue: {
605
- color: "text/body",
606
- flex: "1",
607
- minWidth: 0,
608
- truncate: true
609
- },
610
- fieldChevron: {
611
- color: "icon/primary",
612
- flexShrink: 0
613
- },
614
- fieldRemove: {
615
- ...chipButton,
616
- color: "icon/primary",
617
- flexShrink: 0,
618
- justifyContent: "center",
619
- width: "48"
620
- }
621
- },
622
- variants: {
623
- pageLayout: {
624
- capped: { root: {
625
- borderBlockEndWidth: "1",
626
- borderColor: "border/regular",
627
- paddingInline: {
628
- base: "16",
629
- tablet: "32"
630
- }
631
- } },
632
- full: { root: {
633
- borderBlockEndWidth: "1",
634
- borderColor: "border/regular",
635
- paddingInlineEnd: {
636
- base: "16",
637
- tablet: "32"
638
- },
639
- paddingInlineStart: {
640
- base: "16",
641
- tablet: "24"
642
- }
643
- } }
644
- },
645
- contentAlign: {
646
- center: {},
647
- start: { root: { justifyContent: "flex-start" } }
648
- }
649
- }
650
- });
651
- //#endregion
652
- export { filterSlotRecipe as default };
653
-
654
- //# sourceMappingURL=Filter.recipe.js.map