@bitrise/bitkit-v2 0.3.481-beta.3057 → 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 -41
  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 -327
  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 -649
  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 -92
  136. package/dist/theme/slot-recipes/Listbox.recipe.js.map +0 -1
@@ -1,649 +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
- 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