@bitrise/bitkit-v2 0.3.481-beta.3101 → 0.3.481-beta.3105

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 (145) 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/BitkitTextInput/BitkitTextInput.js +13 -16
  37. package/dist/components/BitkitTextInput/BitkitTextInput.js.map +1 -1
  38. package/dist/components/BitkitUIHeader/BitkitUIHeader.d.ts +41 -0
  39. package/dist/components/BitkitUIHeader/BitkitUIHeader.js +114 -0
  40. package/dist/components/BitkitUIHeader/BitkitUIHeader.js.map +1 -0
  41. package/dist/components/BitkitUIHeader/BitriseLogo.d.ts +10 -0
  42. package/dist/components/BitkitUIHeader/BitriseLogo.js +86 -0
  43. package/dist/components/BitkitUIHeader/BitriseLogo.js.map +1 -0
  44. package/dist/components/BitkitUIHeader/UIHeaderAccount.d.ts +26 -0
  45. package/dist/components/BitkitUIHeader/UIHeaderAccount.js +40 -0
  46. package/dist/components/BitkitUIHeader/UIHeaderAccount.js.map +1 -0
  47. package/dist/components/BitkitUIHeader/UIHeaderButton.d.ts +34 -0
  48. package/dist/components/BitkitUIHeader/UIHeaderButton.js +45 -0
  49. package/dist/components/BitkitUIHeader/UIHeaderButton.js.map +1 -0
  50. package/dist/components/BitkitUIHeader/UIHeaderContext.d.ts +13 -0
  51. package/dist/components/BitkitUIHeader/UIHeaderContext.js +11 -0
  52. package/dist/components/BitkitUIHeader/UIHeaderContext.js.map +1 -0
  53. package/dist/components/BitkitUIHeader/UIHeaderControl.d.ts +65 -0
  54. package/dist/components/BitkitUIHeader/UIHeaderControl.js +72 -0
  55. package/dist/components/BitkitUIHeader/UIHeaderControl.js.map +1 -0
  56. package/dist/components/BitkitUIHeader/UIHeaderNavButton.d.ts +20 -0
  57. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js +46 -0
  58. package/dist/components/BitkitUIHeader/UIHeaderNavButton.js.map +1 -0
  59. package/dist/components/BitkitUIHeader/UIHeaderSearch.d.ts +32 -0
  60. package/dist/components/BitkitUIHeader/UIHeaderSearch.js +121 -0
  61. package/dist/components/BitkitUIHeader/UIHeaderSearch.js.map +1 -0
  62. package/dist/components/BitkitUIHeader/uiHeaderPart.d.ts +14 -0
  63. package/dist/components/BitkitUIHeader/uiHeaderPart.js +18 -0
  64. package/dist/components/BitkitUIHeader/uiHeaderPart.js.map +1 -0
  65. package/dist/components/index.d.ts +1 -6
  66. package/dist/main.js +9 -8
  67. package/dist/theme/recipes/UIHeaderButton.recipe.js +103 -0
  68. package/dist/theme/recipes/UIHeaderButton.recipe.js.map +1 -0
  69. package/dist/theme/recipes/index.js +3 -1
  70. package/dist/theme/recipes/index.js.map +1 -1
  71. package/dist/theme/semantic-tokens/index.d.ts +5 -0
  72. package/dist/theme/semantic-tokens/semanticColors.d.ts +5 -0
  73. package/dist/theme/semantic-tokens/semanticColors.js +1 -0
  74. package/dist/theme/semantic-tokens/semanticColors.js.map +1 -1
  75. package/dist/theme/slot-recipes/DatePicker.recipe.d.ts +0 -15
  76. package/dist/theme/slot-recipes/DatePicker.recipe.js +22 -72
  77. package/dist/theme/slot-recipes/DatePicker.recipe.js.map +1 -1
  78. package/dist/theme/slot-recipes/DatePickerSelect.recipe.d.ts +0 -85
  79. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js +10 -35
  80. package/dist/theme/slot-recipes/DatePickerSelect.recipe.js.map +1 -1
  81. package/dist/theme/slot-recipes/Menu.recipe.js +1 -6
  82. package/dist/theme/slot-recipes/Menu.recipe.js.map +1 -1
  83. package/dist/theme/slot-recipes/Tag.recipe.d.ts +1 -1
  84. package/dist/theme/slot-recipes/UIHeader.recipe.d.ts +14 -0
  85. package/dist/theme/slot-recipes/UIHeader.recipe.js +253 -0
  86. package/dist/theme/slot-recipes/UIHeader.recipe.js.map +1 -0
  87. package/dist/theme/slot-recipes/UISideNav.recipe.d.ts +1 -2
  88. package/dist/theme/slot-recipes/UISideNav.recipe.js +2 -3
  89. package/dist/theme/slot-recipes/UISideNav.recipe.js.map +1 -1
  90. package/dist/theme/slot-recipes/index.d.ts +3 -158
  91. package/dist/theme/slot-recipes/index.js +2 -4
  92. package/dist/theme/slot-recipes/index.js.map +1 -1
  93. package/dist/theme/themeUtils.d.ts +6 -0
  94. package/dist/theme/themeUtils.js +7 -1
  95. package/dist/theme/themeUtils.js.map +1 -1
  96. package/dist/utilities/BitkitPortalContext.js +2 -3
  97. package/dist/utilities/BitkitPortalContext.js.map +1 -1
  98. package/docs/v1-to-v2-migration-guide.md +1 -48
  99. package/package.json +1 -1
  100. package/dist/components/BitkitFilter/BitkitFilter.context.d.ts +0 -65
  101. package/dist/components/BitkitFilter/BitkitFilter.context.js +0 -82
  102. package/dist/components/BitkitFilter/BitkitFilter.context.js.map +0 -1
  103. package/dist/components/BitkitFilter/BitkitFilter.d.ts +0 -54
  104. package/dist/components/BitkitFilter/BitkitFilter.js +0 -243
  105. package/dist/components/BitkitFilter/BitkitFilter.js.map +0 -1
  106. package/dist/components/BitkitFilter/BitkitFilter.utils.d.ts +0 -18
  107. package/dist/components/BitkitFilter/BitkitFilter.utils.js +0 -42
  108. package/dist/components/BitkitFilter/BitkitFilter.utils.js.map +0 -1
  109. package/dist/components/BitkitFilter/BitkitFilterAdd.d.ts +0 -18
  110. package/dist/components/BitkitFilter/BitkitFilterAdd.js +0 -200
  111. package/dist/components/BitkitFilter/BitkitFilterAdd.js.map +0 -1
  112. package/dist/components/BitkitFilter/BitkitFilterDateRange.d.ts +0 -26
  113. package/dist/components/BitkitFilter/BitkitFilterDateRange.js +0 -118
  114. package/dist/components/BitkitFilter/BitkitFilterDateRange.js.map +0 -1
  115. package/dist/components/BitkitFilter/BitkitFilterSearch.d.ts +0 -23
  116. package/dist/components/BitkitFilter/BitkitFilterSearch.js +0 -72
  117. package/dist/components/BitkitFilter/BitkitFilterSearch.js.map +0 -1
  118. package/dist/components/BitkitFilter/BitkitFilterSelect.d.ts +0 -61
  119. package/dist/components/BitkitFilter/BitkitFilterSelect.js +0 -149
  120. package/dist/components/BitkitFilter/BitkitFilterSelect.js.map +0 -1
  121. package/dist/components/BitkitFilter/BitkitFilterSwitch.d.ts +0 -28
  122. package/dist/components/BitkitFilter/BitkitFilterSwitch.js +0 -87
  123. package/dist/components/BitkitFilter/BitkitFilterSwitch.js.map +0 -1
  124. package/dist/components/BitkitFilter/components/FilterChip.d.ts +0 -23
  125. package/dist/components/BitkitFilter/components/FilterChip.js +0 -66
  126. package/dist/components/BitkitFilter/components/FilterChip.js.map +0 -1
  127. package/dist/components/BitkitFilter/components/FilterField.d.ts +0 -15
  128. package/dist/components/BitkitFilter/components/FilterField.js +0 -60
  129. package/dist/components/BitkitFilter/components/FilterField.js.map +0 -1
  130. package/dist/components/BitkitFilter/components/FilterPanel.d.ts +0 -42
  131. package/dist/components/BitkitFilter/components/FilterPanel.js +0 -126
  132. package/dist/components/BitkitFilter/components/FilterPanel.js.map +0 -1
  133. package/dist/components/BitkitFilter/components/FilterSearchInput.d.ts +0 -15
  134. package/dist/components/BitkitFilter/components/FilterSearchInput.js +0 -41
  135. package/dist/components/BitkitFilter/components/FilterSearchInput.js.map +0 -1
  136. package/dist/components/BitkitFilter/components/FilterSelectForm.d.ts +0 -45
  137. package/dist/components/BitkitFilter/components/FilterSelectForm.js +0 -342
  138. package/dist/components/BitkitFilter/components/FilterSelectForm.js.map +0 -1
  139. package/dist/theme/recipes/index.d.ts +0 -525
  140. package/dist/theme/slot-recipes/Filter.recipe.d.ts +0 -35
  141. package/dist/theme/slot-recipes/Filter.recipe.js +0 -652
  142. package/dist/theme/slot-recipes/Filter.recipe.js.map +0 -1
  143. package/dist/theme/slot-recipes/Listbox.recipe.d.ts +0 -22
  144. package/dist/theme/slot-recipes/Listbox.recipe.js +0 -108
  145. package/dist/theme/slot-recipes/Listbox.recipe.js.map +0 -1
@@ -1,652 +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
- },
113
- content: {
114
- alignItems: "flex-start",
115
- display: "flex",
116
- flex: "1",
117
- gap: "16",
118
- minWidth: 0
119
- },
120
- filters: {
121
- alignItems: "flex-start",
122
- display: "flex",
123
- flex: "1",
124
- gap: "12",
125
- minWidth: 0
126
- },
127
- icon: {
128
- color: "icon/tertiary",
129
- display: "flex",
130
- flexShrink: 0,
131
- padding: "4"
132
- },
133
- items: {
134
- alignItems: "center",
135
- display: "flex",
136
- flex: "1",
137
- flexWrap: "wrap",
138
- gap: "12",
139
- minWidth: 0
140
- },
141
- searchBlock: {
142
- alignSelf: "stretch",
143
- borderColor: "border/minimal",
144
- borderInlineStartWidth: "1",
145
- display: "flex",
146
- flexShrink: 0,
147
- paddingInlineStart: "16"
148
- },
149
- search: {
150
- alignItems: "center",
151
- background: "background/primary",
152
- borderRadius: "4",
153
- cursor: "text",
154
- color: "icon/tertiary",
155
- display: "flex",
156
- gap: "8",
157
- height: "32",
158
- paddingInline: "8",
159
- width: rem(148),
160
- _hover: { background: "background/secondary" },
161
- "&:has(input:focus-visible)": wrapperFocusRing
162
- },
163
- searchInput: {
164
- background: "transparent",
165
- color: "input/text/inputValue",
166
- flex: "1",
167
- minWidth: 0,
168
- outline: "none",
169
- textStyle: "body/md/regular",
170
- _placeholder: { color: "input/text/placeholder" },
171
- "&::-webkit-search-cancel-button": { appearance: "none" }
172
- },
173
- switch: {
174
- background: "background/secondary",
175
- borderRadius: "4",
176
- display: "inline-flex",
177
- flexShrink: 0,
178
- position: "relative"
179
- },
180
- switchItem: {
181
- alignItems: "center",
182
- borderRadius: "4",
183
- color: "text/secondary",
184
- cursor: "pointer",
185
- display: "flex",
186
- gap: "4",
187
- height: "32",
188
- paddingInline: "8",
189
- position: "relative",
190
- textStyle: "body/md/regular",
191
- whiteSpace: "nowrap",
192
- "& svg:not([data-own-color])": { color: "icon/tertiary" },
193
- _after: {
194
- background: "border/regular",
195
- content: "\"\"",
196
- height: "16",
197
- insetInlineEnd: 0,
198
- position: "absolute",
199
- top: "8",
200
- width: "1"
201
- },
202
- "&:last-of-type, &[data-state=checked], &:hover, &:has(+ [data-state=checked]), &:has(+ :hover)": { _after: { display: "none" } },
203
- "&:has(input:focus-visible)": wrapperFocusRing,
204
- _hover: {
205
- background: "background/hover",
206
- color: "text/primary",
207
- "& svg:not([data-own-color])": { color: "icon/secondary" },
208
- _active: { background: "background/active" }
209
- },
210
- _active: {
211
- background: "background/active",
212
- color: "text/primary"
213
- },
214
- _checked: {
215
- background: "background/primary",
216
- boxShadow: "inset 0 0 0 1px var(--colors-border\\/strong)",
217
- color: "text/primary",
218
- "& svg:not([data-own-color])": { color: "icon/secondary" },
219
- _hover: { background: "background/primary" }
220
- },
221
- _disabled: switchItemDisabled,
222
- _readOnly: switchItemDisabled
223
- },
224
- switchItemText: { paddingInline: "4" },
225
- chip: {
226
- alignItems: "center",
227
- background: "background/primary",
228
- borderColor: "border/strong",
229
- borderRadius: "4",
230
- borderWidth: "1",
231
- display: "inline-flex",
232
- height: "32",
233
- maxWidth: rem(320),
234
- minWidth: 0,
235
- overflow: "hidden",
236
- textStyle: "body/md/regular",
237
- "&:has(button:is(:disabled, [aria-disabled=true]))": { borderColor: "border/disabled" },
238
- "&:has([aria-expanded=true])": {
239
- boxShadow: "0 0 0 0.125rem var(--focus-ring-color)",
240
- "& button, & button:hover": { background: "background/primary" }
241
- },
242
- "& [data-scope=date-picker]:is([data-part=root], [data-part=control])": {
243
- alignSelf: "stretch",
244
- flex: "1",
245
- minWidth: 0
246
- }
247
- },
248
- chipTrigger: {
249
- ...chipButton,
250
- flex: "1",
251
- gap: "4",
252
- minWidth: 0,
253
- paddingInlineEnd: "8",
254
- paddingInlineStart: "12",
255
- whiteSpace: "nowrap",
256
- "&:has([data-chip-icon])": { paddingInlineStart: "8" },
257
- "&:is(:hover, :active) [data-chip-icon]": { color: "icon/secondary" }
258
- },
259
- chipLabel: {
260
- color: "text/secondary",
261
- flexShrink: 0
262
- },
263
- chipValue: {
264
- color: "text/body",
265
- minWidth: 0,
266
- truncate: true
267
- },
268
- chipIcon: {
269
- color: "icon/tertiary",
270
- flexShrink: 0,
271
- marginInlineEnd: "4"
272
- },
273
- chipChevron: {
274
- color: "icon/primary",
275
- flexShrink: 0,
276
- marginInlineStart: "8"
277
- },
278
- chipRemove: {
279
- ...chipButton,
280
- color: "icon/primary",
281
- flexShrink: 0,
282
- paddingInlineEnd: "8",
283
- paddingInlineStart: "4"
284
- },
285
- popoverContent: {
286
- maxHeight: "min(60vh, var(--available-height, 60vh))",
287
- maxWidth: rem(800),
288
- minWidth: "max(var(--reference-width, 0px), 20rem)",
289
- width: "max-content",
290
- "&:has([data-filter-pattern])": { width: rem(480) },
291
- "& [data-scope=listbox][data-part=content]": { paddingBlockEnd: 0 }
292
- },
293
- addMenu: {
294
- background: "background/primary",
295
- borderRadius: "8",
296
- boxShadow: "elevation/lg",
297
- display: "flex",
298
- flexDirection: "column",
299
- maxHeight: "var(--available-height)",
300
- outline: "none",
301
- overflowY: "auto",
302
- paddingBlock: "8",
303
- width: rem(240),
304
- zIndex: "popover"
305
- },
306
- addMenuItem: {
307
- alignItems: "center",
308
- color: "text/body",
309
- cursor: "pointer",
310
- display: "flex",
311
- gap: "4",
312
- minHeight: "40",
313
- paddingBlock: "8",
314
- paddingInline: "16",
315
- textStyle: "body/md/regular",
316
- userSelect: "none",
317
- _highlighted: {
318
- background: "background/hover",
319
- _active: { background: "background/active" }
320
- },
321
- _active: { background: "background/active" },
322
- _disabled: {
323
- color: "text/disabled",
324
- cursor: "not-allowed",
325
- _highlighted: { background: "transparent" },
326
- "&[data-not-applicable]": {
327
- color: "text/tertiary",
328
- _highlighted: { background: "background/hover" }
329
- }
330
- },
331
- "&:not([data-highlighted]) [data-add-chevron]": { visibility: "hidden" }
332
- },
333
- addMenuLabel: {
334
- color: "text/tertiary",
335
- paddingBlock: "8",
336
- paddingInline: "16",
337
- textStyle: "heading/h6"
338
- },
339
- addMenuIcon: {
340
- color: "icon/tertiary",
341
- flexShrink: 0,
342
- marginInlineStart: "auto"
343
- },
344
- addSheetBackdrop: {
345
- background: "utilities/overlay-light",
346
- inset: 0,
347
- position: "fixed",
348
- zIndex: "calc({zIndex.dialogOverlay} + var(--layer-index, 0))"
349
- },
350
- addSheetPositioner: {
351
- alignItems: "flex-end",
352
- display: "flex",
353
- inset: 0,
354
- justifyContent: "stretch",
355
- padding: "16",
356
- position: "fixed",
357
- zIndex: "calc({zIndex.dialog} + var(--layer-index, 0))"
358
- },
359
- addSheet: {
360
- background: "background/primary",
361
- borderRadius: "8",
362
- boxShadow: "elevation/lg",
363
- display: "flex",
364
- flex: "1",
365
- flexDirection: "column",
366
- maxHeight: "80dvh",
367
- outline: "none",
368
- overflowY: "auto",
369
- paddingBlock: "8"
370
- },
371
- addSheetItem: {
372
- ...chipButton,
373
- alignSelf: "auto",
374
- color: "text/body",
375
- gap: "12",
376
- minHeight: "48",
377
- paddingBlock: "8",
378
- paddingInline: "16",
379
- textAlign: "start",
380
- textStyle: "body/lg/regular",
381
- _disabled: {
382
- color: "text/disabled",
383
- cursor: "not-allowed",
384
- _hover: { background: "transparent" },
385
- "&[data-not-applicable]": {
386
- color: "text/tertiary",
387
- "& :is(span, svg)": { color: "text/tertiary" }
388
- }
389
- }
390
- },
391
- addSheetItemReason: {
392
- color: "text/tertiary",
393
- textStyle: "body/sm/regular"
394
- },
395
- calendarFooter: {
396
- alignItems: "center",
397
- display: "flex",
398
- gap: "8",
399
- marginBlockStart: "24"
400
- },
401
- popoverSearch: {
402
- flexShrink: 0,
403
- paddingBlockEnd: "8",
404
- paddingBlockStart: "8",
405
- paddingInline: "12"
406
- },
407
- popoverBody: {
408
- display: "flex",
409
- flexDirection: "column",
410
- minHeight: 0,
411
- "& > *, & [data-scope=listbox]:is([data-part=root], [data-part=content])": { minHeight: 0 },
412
- "& [data-scope=listbox][data-part=root]": {
413
- display: "flex",
414
- flexDirection: "column"
415
- }
416
- },
417
- popoverFooter: {
418
- alignItems: "center",
419
- display: "flex",
420
- gap: "8",
421
- paddingBlockEnd: "16",
422
- paddingBlockStart: "24",
423
- paddingInline: "16"
424
- },
425
- popoverFooterStart: { flex: "1" },
426
- checkboxList: {
427
- maxHeight: rem(200),
428
- overflowY: "auto",
429
- paddingBlockEnd: "1",
430
- paddingBlockStart: "8",
431
- paddingInline: "20",
432
- "& [data-option-icon]": { color: "icon/secondary" },
433
- "& [data-scope=checkbox][data-part=root]:hover [data-option-icon]": { color: "icon/primary" },
434
- "& [data-scope=checkbox][data-part=root][data-state=checked] [data-option-icon]": { color: "icon/interactive" }
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
- paddingBlock: "12",
628
- paddingInline: {
629
- base: "16",
630
- tablet: "32"
631
- }
632
- } },
633
- full: { root: {
634
- borderBlockEndWidth: "1",
635
- borderColor: "border/regular",
636
- paddingBlock: "12",
637
- paddingInline: {
638
- base: "16",
639
- tablet: "32"
640
- }
641
- } }
642
- },
643
- contentAlign: {
644
- center: {},
645
- start: { root: { justifyContent: "flex-start" } }
646
- }
647
- }
648
- });
649
- //#endregion
650
- export { filterSlotRecipe as default };
651
-
652
- //# sourceMappingURL=Filter.recipe.js.map