@bitrise/bitkit-v2 0.3.481-beta.3065 → 0.3.481-beta.3069

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 +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 +113 -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/semantic-tokens/index.d.ts +5 -0
  70. package/dist/theme/semantic-tokens/semanticColors.d.ts +5 -0
  71. package/dist/theme/semantic-tokens/semanticColors.js +1 -0
  72. package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
  73. package/dist/theme/slot-recipes/DatePicker.recipe.d.ts +0 -15
  74. package/dist/theme/slot-recipes/DatePicker.recipe.js +22 -72
  75. package/dist/theme/slot-recipes/DatePicker.recipe.js.map +1 -1
  76. package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +0 -85
  77. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js +10 -35
  78. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js.map +1 -1
  79. package/dist/theme/slot-recipes/Menu.recipe.js +1 -6
  80. package/dist/theme/slot-recipes/Menu.recipe.js.map +1 -1
  81. package/dist/theme/slot-recipes/Tag.recipe.d.ts +1 -1
  82. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +4 -0
  83. package/dist/theme/slot-recipes/UIHeader.recipe.js +243 -0
  84. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +1 -0
  85. package/dist/theme/slot-recipes/UISideNav.recipe.d.ts +1 -2
  86. package/dist/theme/slot-recipes/UISideNav.recipe.js +2 -3
  87. package/dist/theme/slot-recipes/UISideNav.recipe.js.map +1 -1
  88. package/dist/theme/slot-recipes/index.d.ts +3 -160
  89. package/dist/theme/slot-recipes/index.js +2 -4
  90. package/dist/theme/slot-recipes/index.js.map +1 -1
  91. package/dist/theme/themeUtils.d.ts +6 -0
  92. package/dist/theme/themeUtils.js +7 -1
  93. package/dist/theme/themeUtils.js.map +1 -1
  94. package/dist/utilities/BitkitPortalContext.js +2 -3
  95. package/dist/utilities/BitkitPortalContext.js.map +1 -1
  96. package/docs/v1-to-v2-migration-guide.md +1 -48
  97. package/package.json +1 -1
  98. package/dist/components/BitkitFilter/BitkitFilter.context.d.ts +0 -65
  99. package/dist/components/BitkitFilter/BitkitFilter.context.js +0 -82
  100. package/dist/components/BitkitFilter/BitkitFilter.context.js.map +0 -1
  101. package/dist/components/BitkitFilter/BitkitFilter.d.ts +0 -55
  102. package/dist/components/BitkitFilter/BitkitFilter.js +0 -247
  103. package/dist/components/BitkitFilter/BitkitFilter.js.map +0 -1
  104. package/dist/components/BitkitFilter/BitkitFilter.utils.d.ts +0 -18
  105. package/dist/components/BitkitFilter/BitkitFilter.utils.js +0 -42
  106. package/dist/components/BitkitFilter/BitkitFilter.utils.js.map +0 -1
  107. package/dist/components/BitkitFilter/BitkitFilterAdd.d.ts +0 -18
  108. package/dist/components/BitkitFilter/BitkitFilterAdd.js +0 -200
  109. package/dist/components/BitkitFilter/BitkitFilterAdd.js.map +0 -1
  110. package/dist/components/BitkitFilter/BitkitFilterDateRange.d.ts +0 -26
  111. package/dist/components/BitkitFilter/BitkitFilterDateRange.js +0 -118
  112. package/dist/components/BitkitFilter/BitkitFilterDateRange.js.map +0 -1
  113. package/dist/components/BitkitFilter/BitkitFilterSearch.d.ts +0 -23
  114. package/dist/components/BitkitFilter/BitkitFilterSearch.js +0 -72
  115. package/dist/components/BitkitFilter/BitkitFilterSearch.js.map +0 -1
  116. package/dist/components/BitkitFilter/BitkitFilterSelect.d.ts +0 -61
  117. package/dist/components/BitkitFilter/BitkitFilterSelect.js +0 -149
  118. package/dist/components/BitkitFilter/BitkitFilterSelect.js.map +0 -1
  119. package/dist/components/BitkitFilter/BitkitFilterSwitch.d.ts +0 -28
  120. package/dist/components/BitkitFilter/BitkitFilterSwitch.js +0 -87
  121. package/dist/components/BitkitFilter/BitkitFilterSwitch.js.map +0 -1
  122. package/dist/components/BitkitFilter/components/FilterChip.d.ts +0 -23
  123. package/dist/components/BitkitFilter/components/FilterChip.js +0 -66
  124. package/dist/components/BitkitFilter/components/FilterChip.js.map +0 -1
  125. package/dist/components/BitkitFilter/components/FilterField.d.ts +0 -15
  126. package/dist/components/BitkitFilter/components/FilterField.js +0 -60
  127. package/dist/components/BitkitFilter/components/FilterField.js.map +0 -1
  128. package/dist/components/BitkitFilter/components/FilterPanel.d.ts +0 -42
  129. package/dist/components/BitkitFilter/components/FilterPanel.js +0 -126
  130. package/dist/components/BitkitFilter/components/FilterPanel.js.map +0 -1
  131. package/dist/components/BitkitFilter/components/FilterSearchInput.d.ts +0 -15
  132. package/dist/components/BitkitFilter/components/FilterSearchInput.js +0 -42
  133. package/dist/components/BitkitFilter/components/FilterSearchInput.js.map +0 -1
  134. package/dist/components/BitkitFilter/components/FilterSelectForm.d.ts +0 -45
  135. package/dist/components/BitkitFilter/components/FilterSelectForm.js +0 -329
  136. package/dist/components/BitkitFilter/components/FilterSelectForm.js.map +0 -1
  137. package/dist/theme/recipes/index.d.ts +0 -525
  138. package/dist/theme/slot-recipes/Filter.recipe.d.ts +0 -37
  139. package/dist/theme/slot-recipes/Filter.recipe.js +0 -655
  140. package/dist/theme/slot-recipes/Filter.recipe.js.map +0 -1
  141. package/dist/theme/slot-recipes/Listbox.recipe.d.ts +0 -22
  142. package/dist/theme/slot-recipes/Listbox.recipe.js +0 -96
  143. package/dist/theme/slot-recipes/Listbox.recipe.js.map +0 -1
@@ -1,655 +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
- "&:has([data-filter-search])": { minWidth: "max(var(--reference-width), 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
- },
437
- listHelperText: {
438
- color: "text/secondary",
439
- textStyle: "body/sm/regular"
440
- },
441
- loading: {
442
- paddingBlock: "8",
443
- paddingInline: "16"
444
- },
445
- pattern: {
446
- display: "flex",
447
- flexDirection: "column",
448
- gap: "24",
449
- paddingBlockStart: "8",
450
- paddingInline: "16"
451
- },
452
- patternResults: {
453
- display: "flex",
454
- flexDirection: "column",
455
- gap: "8",
456
- maxHeight: rem(176),
457
- minHeight: 0,
458
- overflowY: "auto"
459
- },
460
- patternResultsLabel: {
461
- color: "text/primary",
462
- textStyle: "comp/input/label"
463
- },
464
- mobileBar: {
465
- alignItems: "center",
466
- borderBlockEndWidth: "1",
467
- borderColor: "border/minimal",
468
- display: "flex",
469
- gap: "12",
470
- justifyContent: "space-between",
471
- padding: "16"
472
- },
473
- mobileTrigger: {
474
- ...chipButton,
475
- alignSelf: "auto",
476
- background: "background/primary",
477
- borderColor: "border/strong",
478
- borderRadius: "4",
479
- borderWidth: "1",
480
- color: "text/primary",
481
- gap: "8",
482
- height: "32",
483
- paddingInline: "8",
484
- textStyle: "comp/button/sm",
485
- _icon: { color: "icon/primary" },
486
- _disabled: {
487
- borderColor: "border/disabled",
488
- color: "text/disabled",
489
- _icon: { color: "icon/disabled" }
490
- }
491
- },
492
- mobileSearch: {
493
- alignItems: "center",
494
- borderBlockEndWidth: "1",
495
- borderColor: "border/minimal",
496
- cursor: "text",
497
- color: "icon/tertiary",
498
- display: "flex",
499
- gap: "12",
500
- height: rem(56),
501
- paddingInline: "16",
502
- "&:has(input:focus-visible)": {
503
- ...wrapperFocusRing,
504
- outlineOffset: "calc(var(--focus-ring-width) * -1)"
505
- }
506
- },
507
- mobileSearchInput: {
508
- background: "transparent",
509
- color: "input/text/inputValue",
510
- flex: "1",
511
- minWidth: 0,
512
- outline: "none",
513
- textStyle: "body/lg/regular",
514
- _placeholder: { color: "input/text/placeholder" },
515
- "&::-webkit-search-cancel-button": { appearance: "none" }
516
- },
517
- mobileHeader: {
518
- alignItems: "center",
519
- borderBlockEndWidth: "1",
520
- borderColor: "border/minimal",
521
- display: "flex",
522
- flexShrink: 0,
523
- gap: "12",
524
- paddingBlock: "16",
525
- paddingInline: {
526
- base: "16",
527
- tablet: "24"
528
- }
529
- },
530
- mobileTitle: {
531
- color: "text/primary",
532
- flex: "1",
533
- textStyle: "heading/mobile/h2"
534
- },
535
- mobilePanelHeader: {
536
- alignItems: "center",
537
- borderBlockEndWidth: "1",
538
- borderColor: "border/minimal",
539
- display: "flex",
540
- flexShrink: 0,
541
- gap: "12",
542
- paddingBlock: "12",
543
- paddingInline: {
544
- base: "16",
545
- tablet: "24"
546
- }
547
- },
548
- mobilePanelOverline: {
549
- color: "text/tertiary",
550
- textStyle: "heading/h6"
551
- },
552
- mobilePanelTitle: {
553
- color: "text/primary",
554
- textStyle: "heading/mobile/h3"
555
- },
556
- mobileBody: {
557
- display: "flex",
558
- flexDirection: "column",
559
- gap: "16"
560
- },
561
- mobileFooter: {
562
- display: "flex",
563
- gap: "12",
564
- "& > *": { flex: "1" }
565
- },
566
- mobileListCheck: {
567
- color: "icon/interactive",
568
- display: "flex",
569
- flexShrink: 0,
570
- "&[data-state=unchecked]": { visibility: "hidden" }
571
- },
572
- mobileListCheckbox: { flexShrink: 0 },
573
- field: {
574
- display: "flex",
575
- flexDirection: "column",
576
- gap: "8"
577
- },
578
- fieldLabel: {
579
- color: "text/primary",
580
- textStyle: "comp/input/label"
581
- },
582
- fieldControl: {
583
- background: "background/primary",
584
- borderColor: "border/strong",
585
- borderRadius: "4",
586
- borderWidth: "1",
587
- display: "flex",
588
- height: "48",
589
- overflow: "hidden",
590
- "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" }
591
- },
592
- fieldTrigger: {
593
- ...chipButton,
594
- flex: "1",
595
- gap: "8",
596
- minWidth: 0,
597
- paddingInline: "16",
598
- textAlign: "start",
599
- textStyle: "body/lg/regular"
600
- },
601
- fieldIcon: {
602
- color: "icon/secondary",
603
- flexShrink: 0
604
- },
605
- fieldValue: {
606
- color: "text/body",
607
- flex: "1",
608
- minWidth: 0,
609
- truncate: true
610
- },
611
- fieldChevron: {
612
- color: "icon/primary",
613
- flexShrink: 0
614
- },
615
- fieldRemove: {
616
- ...chipButton,
617
- color: "icon/primary",
618
- flexShrink: 0,
619
- justifyContent: "center",
620
- width: "48"
621
- }
622
- },
623
- variants: {
624
- pageLayout: {
625
- capped: { root: {
626
- borderBlockEndWidth: "1",
627
- borderColor: "border/regular",
628
- paddingInline: {
629
- base: "16",
630
- tablet: "32"
631
- }
632
- } },
633
- full: { root: {
634
- borderBlockEndWidth: "1",
635
- borderColor: "border/regular",
636
- paddingInlineEnd: {
637
- base: "16",
638
- tablet: "32"
639
- },
640
- paddingInlineStart: {
641
- base: "16",
642
- tablet: "24"
643
- }
644
- } }
645
- },
646
- contentAlign: {
647
- center: {},
648
- start: { root: { justifyContent: "flex-start" } }
649
- }
650
- }
651
- });
652
- //#endregion
653
- export { filterSlotRecipe as default };
654
-
655
- //# sourceMappingURL=Filter.recipe.js.map