@bitrise/bitkit-v2 0.3.481-beta.3077 → 0.3.481-beta.3081

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 +26 -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 +34 -0
  46. package/dist/components/BitkitUIHeader/UIHeaderButton.js +43 -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 +72 -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 -341
  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
@@ -0,0 +1,243 @@
1
+ import { colorVar, rem } from "../themeUtils.js";
2
+ import { defineSlotRecipe } from "@chakra-ui/react/styled-system";
3
+ //#region lib/theme/slot-recipes/UIHeader.recipe.ts
4
+ var uiHeaderHeightPx = 48;
5
+ var uiHeaderHeight = rem(48);
6
+ var SEARCH_FIELD_WIDTH = rem(240);
7
+ var SEARCH_FIELD_TINT = colorVar("color/white/20");
8
+ var controlBase = {
9
+ background: "sys/ui/header/control/bg",
10
+ _hover: {
11
+ background: "sys/ui/header/control/bg-hover",
12
+ _active: { background: "sys/ui/header/control/bg-active" }
13
+ },
14
+ _active: { background: "sys/ui/header/control/bg-active" },
15
+ _selected: {
16
+ background: "sys/ui/header/control/bg-selected",
17
+ _hover: {
18
+ background: "sys/ui/header/control/bg-selected-hover",
19
+ _active: { background: "sys/ui/header/control/bg-selected" }
20
+ },
21
+ _active: { background: "sys/ui/header/control/bg-selected" }
22
+ },
23
+ alignItems: "center",
24
+ borderRadius: 0,
25
+ color: "icon/on-color",
26
+ cursor: "pointer",
27
+ display: "flex",
28
+ flexShrink: 0,
29
+ height: uiHeaderHeight,
30
+ justifyContent: "center",
31
+ position: "relative",
32
+ textDecoration: "none",
33
+ _focusVisible: { outlineOffset: "calc(var(--focus-ring-width) * -1)" }
34
+ };
35
+ var uiHeaderSlotRecipe = defineSlotRecipe({
36
+ className: "ui-header",
37
+ slots: [
38
+ "accountAvatar",
39
+ "accountIcon",
40
+ "actions",
41
+ "badge",
42
+ "banner",
43
+ "bar",
44
+ "control",
45
+ "indicator",
46
+ "leading",
47
+ "logoBlock",
48
+ "logoLink",
49
+ "navButton",
50
+ "navButtonBadge",
51
+ "navButtonIcon",
52
+ "root",
53
+ "search",
54
+ "searchButton",
55
+ "searchClear",
56
+ "searchField",
57
+ "searchIcon",
58
+ "searchInput",
59
+ "spacer"
60
+ ],
61
+ base: {
62
+ root: {
63
+ background: "sys/ui/header/bg",
64
+ color: "text/on-color",
65
+ display: "flex",
66
+ flexDirection: "column",
67
+ width: "full"
68
+ },
69
+ bar: {
70
+ alignItems: "center",
71
+ display: "flex",
72
+ flexShrink: 0,
73
+ height: uiHeaderHeight,
74
+ position: "relative",
75
+ tablet: { paddingInlineStart: "20" }
76
+ },
77
+ leading: {
78
+ display: "flex",
79
+ flexShrink: 0,
80
+ tablet: { display: "none" }
81
+ },
82
+ spacer: {
83
+ flexShrink: 1,
84
+ width: "48",
85
+ tablet: { display: "none" }
86
+ },
87
+ logoBlock: {
88
+ alignItems: "center",
89
+ display: "flex",
90
+ flex: 1,
91
+ justifyContent: "center",
92
+ minWidth: 0,
93
+ tablet: { flex: "none" }
94
+ },
95
+ logoLink: {
96
+ borderRadius: "4",
97
+ color: "text/on-color",
98
+ display: "flex",
99
+ marginBlockEnd: rem(3)
100
+ },
101
+ actions: {
102
+ alignItems: "center",
103
+ display: "flex",
104
+ flexShrink: 0,
105
+ marginInlineStart: "auto",
106
+ tablet: { paddingInlineEnd: "32" }
107
+ },
108
+ banner: { width: "full" },
109
+ control: {
110
+ ...controlBase,
111
+ width: "48"
112
+ },
113
+ accountAvatar: {
114
+ borderRadius: "full",
115
+ display: "none",
116
+ overflow: "hidden",
117
+ tablet: { display: "inline-flex" }
118
+ },
119
+ accountIcon: {
120
+ display: "block",
121
+ tablet: { display: "none" }
122
+ },
123
+ navButton: {
124
+ ...controlBase,
125
+ paddingBlock: "8",
126
+ paddingInlineEnd: "8",
127
+ paddingInlineStart: "12"
128
+ },
129
+ navButtonBadge: {
130
+ alignItems: "flex-start",
131
+ background: "sys/ui/header/bg",
132
+ borderStartStartRadius: "2",
133
+ color: "icon/on-color",
134
+ display: "flex",
135
+ height: "12",
136
+ insetBlockEnd: "8",
137
+ insetInlineEnd: "8",
138
+ overflow: "hidden",
139
+ pointerEvents: "none",
140
+ position: "absolute",
141
+ width: "16"
142
+ },
143
+ navButtonIcon: {
144
+ flexShrink: 0,
145
+ marginBlockStart: rem(-1),
146
+ marginInlineStart: "1"
147
+ },
148
+ badge: {
149
+ background: "sys/ui/header/badge/red",
150
+ borderRadius: "full",
151
+ height: "8",
152
+ insetBlockStart: "12",
153
+ insetInlineStart: rem(28),
154
+ pointerEvents: "none",
155
+ position: "absolute",
156
+ width: "8",
157
+ "&[data-pulse]": { _after: {
158
+ animation: "ping",
159
+ background: "sys/ui/header/badge/red",
160
+ borderRadius: "full",
161
+ content: "\"\"",
162
+ inset: 0,
163
+ opacity: .5,
164
+ position: "absolute",
165
+ _motionReduce: { animation: "none" }
166
+ } }
167
+ },
168
+ indicator: {
169
+ background: "sys/ui/header/control/indicator",
170
+ height: "4",
171
+ insetBlockEnd: 0,
172
+ insetInline: 0,
173
+ pointerEvents: "none",
174
+ position: "absolute"
175
+ },
176
+ search: {
177
+ display: "flex",
178
+ flexShrink: 0,
179
+ position: "relative"
180
+ },
181
+ searchField: {
182
+ alignItems: "center",
183
+ backgroundColor: "sys/ui/header/bg",
184
+ backgroundImage: `linear-gradient(0deg, ${SEARCH_FIELD_TINT} 0%, ${SEARCH_FIELD_TINT} 100%)`,
185
+ borderColor: "border/strong",
186
+ borderRadius: "4",
187
+ borderStyle: "solid",
188
+ borderWidth: "1",
189
+ display: "none",
190
+ gap: "8",
191
+ height: "40",
192
+ insetBlockStart: "4",
193
+ insetInlineEnd: 0,
194
+ opacity: 0,
195
+ paddingInlineEnd: "12",
196
+ paddingInlineStart: "8",
197
+ position: "absolute",
198
+ transitionDuration: "fast",
199
+ transitionProperty: "opacity, visibility",
200
+ transitionTimingFunction: "ease-out",
201
+ visibility: "hidden",
202
+ width: SEARCH_FIELD_WIDTH,
203
+ "&:has(input:focus-visible)": { boxShadow: "0 0 0 var(--focus-ring-width) var(--focus-ring-color) inset" },
204
+ _open: {
205
+ opacity: 1,
206
+ visibility: "visible"
207
+ },
208
+ _motionReduce: { transitionProperty: "none" },
209
+ tablet: { display: "flex" }
210
+ },
211
+ searchButton: { tablet: { _open: { visibility: "hidden" } } },
212
+ searchClear: {
213
+ color: "icon/on-color",
214
+ flexShrink: 0
215
+ },
216
+ searchIcon: {
217
+ color: "icon/on-color",
218
+ flexShrink: 0
219
+ },
220
+ searchInput: {
221
+ background: "transparent",
222
+ borderWidth: 0,
223
+ color: "text/on-color",
224
+ flex: 1,
225
+ minWidth: 0,
226
+ padding: 0,
227
+ textStyle: "body/lg/regular",
228
+ "&::-webkit-search-cancel-button": { display: "none" },
229
+ _focusVisible: {
230
+ outline: "none",
231
+ outlineWidth: 0
232
+ },
233
+ _placeholder: {
234
+ color: "text/on-color",
235
+ opacity: .6
236
+ }
237
+ }
238
+ }
239
+ });
240
+ //#endregion
241
+ export { uiHeaderSlotRecipe as default, uiHeaderHeight, uiHeaderHeightPx };
242
+
243
+ //# sourceMappingURL=UIHeader.recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UIHeader.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/UIHeader.recipe.ts"],"sourcesContent":["import { defineSlotRecipe, type SystemStyleObject } from '@chakra-ui/react/styled-system';\n\nimport { colorVar, rem } from '../themeUtils';\n\nexport const uiHeaderHeightPx = 48;\nexport const uiHeaderHeight = rem(uiHeaderHeightPx);\n\nconst SEARCH_FIELD_WIDTH = rem(240);\n\nconst SEARCH_FIELD_TINT = colorVar('color/white/20');\n\nconst controlStates: SystemStyleObject = {\n background: 'sys/ui/header/control/bg',\n _hover: {\n background: 'sys/ui/header/control/bg-hover',\n _active: {\n background: 'sys/ui/header/control/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/header/control/bg-active',\n },\n _selected: {\n background: 'sys/ui/header/control/bg-selected',\n _hover: {\n background: 'sys/ui/header/control/bg-selected-hover',\n _active: {\n background: 'sys/ui/header/control/bg-selected',\n },\n },\n _active: {\n background: 'sys/ui/header/control/bg-selected',\n },\n },\n};\n\nconst controlBase: SystemStyleObject = {\n ...controlStates,\n alignItems: 'center',\n borderRadius: 0,\n color: 'icon/on-color',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n height: uiHeaderHeight,\n justifyContent: 'center',\n position: 'relative',\n textDecoration: 'none',\n _focusVisible: {\n outlineOffset: 'calc(var(--focus-ring-width) * -1)',\n },\n};\n\nconst uiHeaderSlotRecipe = defineSlotRecipe({\n className: 'ui-header',\n slots: [\n 'accountAvatar',\n 'accountIcon',\n 'actions',\n 'badge',\n 'banner',\n 'bar',\n 'control',\n 'indicator',\n 'leading',\n 'logoBlock',\n 'logoLink',\n 'navButton',\n 'navButtonBadge',\n 'navButtonIcon',\n 'root',\n 'search',\n 'searchButton',\n 'searchClear',\n 'searchField',\n 'searchIcon',\n 'searchInput',\n 'spacer',\n ],\n base: {\n root: {\n background: 'sys/ui/header/bg',\n color: 'text/on-color',\n display: 'flex',\n flexDirection: 'column',\n width: 'full',\n },\n bar: {\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n height: uiHeaderHeight,\n position: 'relative',\n tablet: {\n paddingInlineStart: '20',\n },\n },\n leading: {\n display: 'flex',\n flexShrink: 0,\n tablet: {\n display: 'none',\n },\n },\n spacer: {\n flexShrink: 1,\n width: '48',\n tablet: {\n display: 'none',\n },\n },\n logoBlock: {\n alignItems: 'center',\n display: 'flex',\n flex: 1,\n justifyContent: 'center',\n minWidth: 0,\n tablet: {\n flex: 'none',\n },\n },\n logoLink: {\n borderRadius: '4',\n color: 'text/on-color',\n display: 'flex',\n marginBlockEnd: rem(3),\n },\n actions: {\n alignItems: 'center',\n display: 'flex',\n flexShrink: 0,\n marginInlineStart: 'auto',\n tablet: {\n paddingInlineEnd: '32',\n },\n },\n banner: {\n width: 'full',\n },\n control: {\n ...controlBase,\n width: '48',\n },\n accountAvatar: {\n borderRadius: 'full',\n display: 'none',\n overflow: 'hidden',\n tablet: {\n display: 'inline-flex',\n },\n },\n accountIcon: {\n display: 'block',\n tablet: {\n display: 'none',\n },\n },\n navButton: {\n ...controlBase,\n paddingBlock: '8',\n paddingInlineEnd: '8',\n paddingInlineStart: '12',\n },\n navButtonBadge: {\n alignItems: 'flex-start',\n background: 'sys/ui/header/bg',\n borderStartStartRadius: '2',\n color: 'icon/on-color',\n display: 'flex',\n height: '12',\n insetBlockEnd: '8',\n insetInlineEnd: '8',\n overflow: 'hidden',\n pointerEvents: 'none',\n position: 'absolute',\n width: '16',\n },\n navButtonIcon: {\n flexShrink: 0,\n marginBlockStart: rem(-1),\n marginInlineStart: '1',\n },\n badge: {\n background: 'sys/ui/header/badge/red',\n borderRadius: 'full',\n height: '8',\n insetBlockStart: '12',\n insetInlineStart: rem(28),\n pointerEvents: 'none',\n position: 'absolute',\n width: '8',\n '&[data-pulse]': {\n _after: {\n animation: 'ping',\n background: 'sys/ui/header/badge/red',\n borderRadius: 'full',\n content: '\"\"',\n inset: 0,\n opacity: 0.5,\n position: 'absolute',\n _motionReduce: {\n animation: 'none',\n },\n },\n },\n },\n indicator: {\n background: 'sys/ui/header/control/indicator',\n height: '4',\n insetBlockEnd: 0,\n insetInline: 0,\n pointerEvents: 'none',\n position: 'absolute',\n },\n search: {\n display: 'flex',\n flexShrink: 0,\n position: 'relative',\n },\n searchField: {\n alignItems: 'center',\n backgroundColor: 'sys/ui/header/bg',\n backgroundImage: `linear-gradient(0deg, ${SEARCH_FIELD_TINT} 0%, ${SEARCH_FIELD_TINT} 100%)`,\n borderColor: 'border/strong',\n borderRadius: '4',\n borderStyle: 'solid',\n borderWidth: '1',\n display: 'none',\n gap: '8',\n height: '40',\n insetBlockStart: '4',\n insetInlineEnd: 0,\n opacity: 0,\n paddingInlineEnd: '12',\n paddingInlineStart: '8',\n position: 'absolute',\n transitionDuration: 'fast',\n // `visibility` is what takes the closed field out of hit-testing, the tab order and the\n // accessibility tree in one go. Transitioning it keeps the field visible for the whole fade\n // and flips it at the end, which `opacity` alone could not do.\n transitionProperty: 'opacity, visibility',\n transitionTimingFunction: 'ease-out',\n visibility: 'hidden',\n width: SEARCH_FIELD_WIDTH,\n '&:has(input:focus-visible)': {\n boxShadow: '0 0 0 var(--focus-ring-width) var(--focus-ring-color) inset',\n },\n _open: {\n opacity: 1,\n visibility: 'visible',\n },\n _motionReduce: {\n transitionProperty: 'none',\n },\n tablet: {\n display: 'flex',\n },\n },\n searchButton: {\n tablet: {\n _open: {\n visibility: 'hidden',\n },\n },\n },\n searchClear: {\n color: 'icon/on-color',\n flexShrink: 0,\n },\n searchIcon: {\n color: 'icon/on-color',\n flexShrink: 0,\n },\n searchInput: {\n background: 'transparent',\n borderWidth: 0,\n color: 'text/on-color',\n flex: 1,\n minWidth: 0,\n padding: 0,\n textStyle: 'body/lg/regular',\n '&::-webkit-search-cancel-button': { display: 'none' },\n _focusVisible: {\n outline: 'none',\n outlineWidth: 0,\n },\n _placeholder: {\n color: 'text/on-color',\n opacity: 0.6,\n },\n },\n },\n});\n\nexport default uiHeaderSlotRecipe;\n"],"mappings":"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"}
@@ -91,10 +91,9 @@ declare const uiSideNavSlotRecipe: import('@chakra-ui/react').SlotRecipeDefiniti
91
91
  insetBlockStart: number;
92
92
  insetInline: number;
93
93
  position: "absolute";
94
- background: "border/inverse";
94
+ background: "sys/ui/sidenav/separator";
95
95
  content: "\"\"";
96
96
  height: "1";
97
- opacity: 0.2;
98
97
  };
99
98
  };
100
99
  };
@@ -12,10 +12,9 @@ var DRAWER_WIDTH = rem(320);
12
12
  var WORKSPACE_MENU_WIDTH = rem(360);
13
13
  var railRow = { minWidth: RAIL_WIDTH_EXPANDED };
14
14
  var hairline = {
15
- background: "border/inverse",
15
+ background: "sys/ui/sidenav/separator",
16
16
  content: "\"\"",
17
- height: "1",
18
- opacity: .2
17
+ height: "1"
19
18
  };
20
19
  var uiSideNavSlotRecipe = defineSlotRecipe({
21
20
  className: "ui-side-nav",
@@ -1 +1 @@
1
- {"version":3,"file":"UISideNav.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/UISideNav.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst RAIL_WIDTH_COLLAPSED = rem(72);\n\n/**\n * The footprint the rail keeps in the page. The expanded rail overlays the content rather than\n * pushing it, so this is the gutter a layout reserves beside the navigation.\n */\nexport const uiSideNavRailWidth = RAIL_WIDTH_COLLAPSED;\n\nconst RAIL_WIDTH_EXPANDED = rem(256);\nconst DRAWER_WIDTH = rem(320);\nconst WORKSPACE_MENU_WIDTH = rem(360);\n\nconst railRow = { minWidth: RAIL_WIDTH_EXPANDED };\n\nconst hairline = {\n background: 'border/inverse',\n content: '\"\"',\n height: '1',\n opacity: 0.2,\n} as const;\n\nconst uiSideNavSlotRecipe = defineSlotRecipe({\n className: 'ui-side-nav',\n slots: [\n 'backdrop',\n 'body',\n 'closeButton',\n 'content',\n 'footer',\n 'footerHeading',\n 'footerSeparator',\n 'item',\n 'itemIcon',\n 'itemIndicator',\n 'itemLabel',\n 'link',\n 'linkIcon',\n 'linkIconBlock',\n 'linkLabel',\n 'linkSecondaryText',\n 'linkStatusDot',\n 'linkTextBlock',\n 'positioner',\n 'root',\n 'workspace',\n 'workspaceChevron',\n 'workspaceControl',\n 'workspaceLabel',\n 'workspaceMenu',\n 'workspaceRoot',\n 'workspaceTextBlock',\n 'workspaceValue',\n ],\n base: {\n root: {\n background: 'sys/ui/sidenav/bg',\n display: 'flex',\n flexDirection: 'column',\n height: 'full',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n },\n workspace: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n // Preflight zeroes every border width but not the radius a native button can still draw.\n borderRadius: 0,\n color: 'text/on-color',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n gap: '16',\n height: rem(72),\n minHeight: rem(72),\n position: 'relative',\n textAlign: 'start',\n width: 'full',\n _after: {\n ...hairline,\n insetBlockEnd: 0,\n insetInline: 0,\n position: 'absolute',\n },\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n workspaceRoot: {\n flexShrink: 0,\n width: 'full',\n },\n workspaceTextBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n minWidth: 0,\n },\n workspaceLabel: {\n opacity: 0.6,\n textStyle: 'heading/h6',\n textTransform: 'uppercase',\n },\n workspaceValue: {\n opacity: 0.8,\n textStyle: 'body/lg/regular',\n truncate: true,\n },\n workspaceChevron: {\n color: 'text/on-color',\n flexShrink: 0,\n transition: 'rotate 150ms ease-out',\n _open: {\n rotate: '180deg',\n },\n _motionReduce: {\n transition: 'none',\n },\n },\n body: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n minHeight: 0,\n },\n item: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n color: 'sys/ui/sidenav/item/fg',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n overflow: 'hidden',\n paddingInlineEnd: '8',\n paddingInlineStart: '24',\n position: 'relative',\n textDecoration: 'none',\n width: 'full',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n color: 'sys/ui/sidenav/item/fg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n color: 'sys/ui/sidenav/item/fg-active',\n },\n _selected: {\n background: 'sys/ui/sidenav/item/bg-selected',\n color: 'sys/ui/sidenav/item/fg-active',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _focusVisible: {\n outlineOffset: 'calc(var(--focus-ring-width) * -1)',\n },\n },\n itemIcon: {\n flexShrink: 0,\n },\n itemLabel: {\n flex: 1,\n minWidth: 0,\n textStyle: 'body/lg/semibold',\n truncate: true,\n },\n itemIndicator: {\n background: 'sys/ui/sidenav/item/indicator',\n insetBlock: 0,\n insetInlineStart: 0,\n position: 'absolute',\n width: '4',\n },\n footer: {\n display: 'flex',\n flexDirection: 'column',\n flexShrink: 0,\n marginBlockStart: 'auto',\n },\n footerSeparator: {\n flexShrink: 0,\n paddingBlock: '8',\n paddingInline: '12',\n _before: {\n ...hairline,\n display: 'block',\n width: 'full',\n },\n },\n footerHeading: {\n color: 'text/on-color',\n opacity: 0.6,\n paddingBlockEnd: '12',\n paddingInline: '24',\n textStyle: 'heading/h6',\n textTransform: 'uppercase',\n },\n link: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n borderWidth: 0,\n color: 'sys/ui/sidenav/item/fg',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n overflow: 'hidden',\n paddingBlock: '12',\n paddingInline: '24',\n textAlign: 'start',\n textDecoration: 'none',\n width: 'full',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n color: 'sys/ui/sidenav/item/fg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n color: 'sys/ui/sidenav/item/fg-active',\n },\n _focusVisible: {\n outlineOffset: 'calc(var(--focus-ring-width) * -1)',\n },\n '&[data-with-secondary]': {\n paddingBlock: '8',\n },\n },\n linkTextBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n justifyContent: 'center',\n minWidth: 0,\n '[data-with-secondary] &': {\n marginBlock: '2',\n },\n },\n linkLabel: {\n flex: 1,\n minWidth: 0,\n textStyle: 'body/lg/regular',\n truncate: true,\n '[data-with-secondary] &': {\n flex: 'none',\n textStyle: 'body/md/semibold',\n },\n },\n linkSecondaryText: {\n textStyle: 'body/sm/regular',\n truncate: true,\n },\n linkIcon: {\n flexShrink: 0,\n },\n linkIconBlock: {\n display: 'flex',\n flexShrink: 0,\n position: 'relative',\n },\n linkStatusDot: {\n borderRadius: 'full',\n height: '8',\n insetBlockEnd: '-2',\n insetInlineEnd: '-4',\n position: 'absolute',\n width: '8',\n '&[data-status=\"neutral\"]': {\n background: 'sys/ui/sidenav/badge/neutral',\n },\n '&[data-status=\"success\"]': {\n background: 'sys/ui/sidenav/badge/green',\n },\n '&[data-status=\"critical\"]': {\n background: 'sys/ui/sidenav/badge/red',\n },\n },\n backdrop: {\n background: 'utilities/overlay',\n inset: 0,\n position: 'fixed',\n zIndex: 'calc({zIndex.dialogOverlay} + var(--layer-index, 0))',\n _open: {\n animationDuration: 'slow',\n animationName: 'fade-in',\n },\n _closed: {\n animationDuration: 'moderate',\n animationName: 'fade-out',\n },\n },\n positioner: {\n alignItems: 'stretch',\n display: 'flex',\n inset: 0,\n // The drawer comes in from the leading edge, unlike every other drawer in the library.\n justifyContent: 'flex-start',\n overscrollBehaviorY: 'none',\n position: 'fixed',\n zIndex: 'calc({zIndex.dialog} + var(--layer-index, 0))',\n },\n content: {\n background: 'sys/ui/sidenav/bg',\n boxShadow: 'elevation/lg',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100dvh',\n outline: 'none',\n // The close button hangs off the trailing edge, so the panel must not clip it.\n overflow: 'visible',\n position: 'relative',\n width: DRAWER_WIDTH,\n // 320 for the panel plus the 55 the close button column occupies, which is the 375 the\n // design frame is drawn at. Narrower phones give the panel up, not the button.\n maxWidth: 'calc(100vw - 55px)',\n _open: {\n animationDuration: 'slowest',\n animationName: {\n base: 'slide-from-left-full, fade-in',\n _rtl: 'slide-from-right-full, fade-in',\n },\n animationTimingFunction: 'ease-in-smooth',\n },\n _closed: {\n animationDuration: 'slower',\n animationName: {\n base: 'slide-to-left-full, fade-out',\n _rtl: 'slide-to-right-full, fade-out',\n },\n animationTimingFunction: 'ease-in-smooth',\n },\n },\n closeButton: {\n alignItems: 'center',\n display: 'flex',\n height: rem(72),\n insetBlockStart: 0,\n insetInlineStart: '100%',\n paddingInlineStart: '8',\n position: 'absolute',\n },\n },\n\n variants: {\n layout: {\n rail: {\n root: {\n paddingBlockEnd: '12',\n // Opening is slower to reach than closing, so a pointer crossing the rail on its way\n // somewhere else does not drag it open.\n transition: 'width 100ms ease-out',\n transitionDelay: '50ms',\n width: RAIL_WIDTH_COLLAPSED,\n _motionReduce: {\n transition: 'none',\n },\n '&[data-expanded]': {\n transitionDelay: '100ms',\n width: RAIL_WIDTH_EXPANDED,\n },\n },\n workspace: { ...railRow, paddingInline: '16' },\n workspaceControl: railRow,\n workspaceMenu: { width: WORKSPACE_MENU_WIDTH },\n body: { overflowX: 'hidden', overflowY: 'auto', scrollbar: 'hidden' },\n item: { ...railRow, gap: '24', paddingBlock: '16' },\n link: { ...railRow, gap: '24' },\n footerSeparator: {\n '[data-expanded] &': {\n paddingInline: '16',\n },\n },\n footerHeading: railRow,\n },\n drawer: {\n root: {\n overflowX: 'hidden',\n overflowY: 'auto',\n width: 'full',\n },\n workspaceRoot: {\n background: 'sys/ui/sidenav/bg',\n insetBlockStart: 0,\n position: 'sticky',\n zIndex: 1,\n },\n workspace: {\n paddingBlock: '16',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n },\n item: { gap: '12', paddingBlock: '16' },\n link: { gap: '12' },\n footer: {\n paddingBlockEnd: '16',\n paddingBlockStart: '12',\n position: 'relative',\n },\n footerHeading: {\n paddingBlockStart: '12',\n '&[data-section]': {\n marginBlockStart: '12',\n paddingBlockStart: '24',\n position: 'relative',\n _before: {\n ...hairline,\n insetBlockStart: 0,\n insetInline: 0,\n position: 'absolute',\n },\n },\n },\n footerSeparator: {\n insetBlockStart: 0,\n insetInline: 0,\n paddingBlock: 0,\n paddingInline: 0,\n position: 'absolute',\n },\n workspaceMenu: {\n // The panel is the whole screen, so the menu takes the height it can get rather than\n // the desktop cap, which would leave a short list floating in a tall drawer.\n maxHeight: 'var(--available-height)',\n '--select-menu-list-max-height': 'none',\n },\n body: { flex: '1 0 auto', paddingBlock: '8' },\n },\n },\n },\n\n defaultVariants: {\n layout: 'rail',\n },\n});\n\nexport default uiSideNavSlotRecipe;\n"],"mappings":";;;AAIA,IAAM,uBAAuB,IAAI,EAAE;;;;;AAMnC,IAAa,qBAAqB;AAElC,IAAM,sBAAsB,IAAI,GAAG;AACnC,IAAM,eAAe,IAAI,GAAG;AAC5B,IAAM,uBAAuB,IAAI,GAAG;AAEpC,IAAM,UAAU,EAAE,UAAU,oBAAoB;AAEhD,IAAM,WAAW;CACf,YAAY;CACZ,SAAS;CACT,QAAQ;CACR,SAAS;AACX;AAEA,IAAM,sBAAsB,iBAAiB;CAC3C,WAAW;CACX,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;GACf,QAAQ;GACR,UAAU;GACV,YAAY;EACd;EACA,WAAW;GACT,YAAY;GACZ,YAAY;GAEZ,cAAc;GACd,OAAO;GACP,QAAQ;GACR,S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AK,KAAK;GAClB,QAAQ;IACN,iBAAiB;IACjB,mBAAmB;IACnB,UAAU;GACZ;GACA,eAAe;IACb,mBAAmB;IACnB,mBAAmB;KACjB,kBAAkB;KAClB,mBAAmB;KACnB,UAAU;KACV,SAAS;MACP,GAAG;MACH,iBAAiB;MACjB,aAAa;MACb,UAAU;KACZ;IACF;GACF;GACA,iBAAiB;IACf,iBAAiB;IACjB,aAAa;IACb,cAAc;IACd,eAAe;IACf,UAAU;GACZ;GACA,eAAe;IAGb,WAAW;IACX,iCAAiC;GACnC;GACA,MAAM;IAAE,MAAM;IAAY,cAAc;GAAI;EAC9C;CACF,EACF;CAEA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
1
+ {"version":3,"file":"UISideNav.recipe.js","names":[],"sources":["../../../lib/theme/slot-recipes/UISideNav.recipe.ts"],"sourcesContent":["import { defineSlotRecipe } from '@chakra-ui/react/styled-system';\n\nimport { rem } from '../themeUtils';\n\nconst RAIL_WIDTH_COLLAPSED = rem(72);\n\n/**\n * The footprint the rail keeps in the page. The expanded rail overlays the content rather than\n * pushing it, so this is the gutter a layout reserves beside the navigation.\n */\nexport const uiSideNavRailWidth = RAIL_WIDTH_COLLAPSED;\n\nconst RAIL_WIDTH_EXPANDED = rem(256);\nconst DRAWER_WIDTH = rem(320);\nconst WORKSPACE_MENU_WIDTH = rem(360);\n\nconst railRow = { minWidth: RAIL_WIDTH_EXPANDED };\n\nconst hairline = {\n background: 'sys/ui/sidenav/separator',\n content: '\"\"',\n height: '1',\n} as const;\n\nconst uiSideNavSlotRecipe = defineSlotRecipe({\n className: 'ui-side-nav',\n slots: [\n 'backdrop',\n 'body',\n 'closeButton',\n 'content',\n 'footer',\n 'footerHeading',\n 'footerSeparator',\n 'item',\n 'itemIcon',\n 'itemIndicator',\n 'itemLabel',\n 'link',\n 'linkIcon',\n 'linkIconBlock',\n 'linkLabel',\n 'linkSecondaryText',\n 'linkStatusDot',\n 'linkTextBlock',\n 'positioner',\n 'root',\n 'workspace',\n 'workspaceChevron',\n 'workspaceControl',\n 'workspaceLabel',\n 'workspaceMenu',\n 'workspaceRoot',\n 'workspaceTextBlock',\n 'workspaceValue',\n ],\n base: {\n root: {\n background: 'sys/ui/sidenav/bg',\n display: 'flex',\n flexDirection: 'column',\n height: 'full',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n },\n workspace: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n // Preflight zeroes every border width but not the radius a native button can still draw.\n borderRadius: 0,\n color: 'text/on-color',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n gap: '16',\n height: rem(72),\n minHeight: rem(72),\n position: 'relative',\n textAlign: 'start',\n width: 'full',\n _after: {\n ...hairline,\n insetBlockEnd: 0,\n insetInline: 0,\n position: 'absolute',\n },\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n workspaceRoot: {\n flexShrink: 0,\n width: 'full',\n },\n workspaceTextBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n minWidth: 0,\n },\n workspaceLabel: {\n opacity: 0.6,\n textStyle: 'heading/h6',\n textTransform: 'uppercase',\n },\n workspaceValue: {\n opacity: 0.8,\n textStyle: 'body/lg/regular',\n truncate: true,\n },\n workspaceChevron: {\n color: 'text/on-color',\n flexShrink: 0,\n transition: 'rotate 150ms ease-out',\n _open: {\n rotate: '180deg',\n },\n _motionReduce: {\n transition: 'none',\n },\n },\n body: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n minHeight: 0,\n },\n item: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n color: 'sys/ui/sidenav/item/fg',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n overflow: 'hidden',\n paddingInlineEnd: '8',\n paddingInlineStart: '24',\n position: 'relative',\n textDecoration: 'none',\n width: 'full',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n color: 'sys/ui/sidenav/item/fg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n color: 'sys/ui/sidenav/item/fg-active',\n },\n _selected: {\n background: 'sys/ui/sidenav/item/bg-selected',\n color: 'sys/ui/sidenav/item/fg-active',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _focusVisible: {\n outlineOffset: 'calc(var(--focus-ring-width) * -1)',\n },\n },\n itemIcon: {\n flexShrink: 0,\n },\n itemLabel: {\n flex: 1,\n minWidth: 0,\n textStyle: 'body/lg/semibold',\n truncate: true,\n },\n itemIndicator: {\n background: 'sys/ui/sidenav/item/indicator',\n insetBlock: 0,\n insetInlineStart: 0,\n position: 'absolute',\n width: '4',\n },\n footer: {\n display: 'flex',\n flexDirection: 'column',\n flexShrink: 0,\n marginBlockStart: 'auto',\n },\n footerSeparator: {\n flexShrink: 0,\n paddingBlock: '8',\n paddingInline: '12',\n _before: {\n ...hairline,\n display: 'block',\n width: 'full',\n },\n },\n footerHeading: {\n color: 'text/on-color',\n opacity: 0.6,\n paddingBlockEnd: '12',\n paddingInline: '24',\n textStyle: 'heading/h6',\n textTransform: 'uppercase',\n },\n link: {\n alignItems: 'center',\n background: 'sys/ui/sidenav/item/bg',\n borderWidth: 0,\n color: 'sys/ui/sidenav/item/fg',\n cursor: 'pointer',\n display: 'flex',\n flexShrink: 0,\n overflow: 'hidden',\n paddingBlock: '12',\n paddingInline: '24',\n textAlign: 'start',\n textDecoration: 'none',\n width: 'full',\n _hover: {\n background: 'sys/ui/sidenav/item/bg-hover',\n color: 'sys/ui/sidenav/item/fg-hover',\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n },\n },\n _active: {\n background: 'sys/ui/sidenav/item/bg-active',\n color: 'sys/ui/sidenav/item/fg-active',\n },\n _focusVisible: {\n outlineOffset: 'calc(var(--focus-ring-width) * -1)',\n },\n '&[data-with-secondary]': {\n paddingBlock: '8',\n },\n },\n linkTextBlock: {\n display: 'flex',\n flex: 1,\n flexDirection: 'column',\n justifyContent: 'center',\n minWidth: 0,\n '[data-with-secondary] &': {\n marginBlock: '2',\n },\n },\n linkLabel: {\n flex: 1,\n minWidth: 0,\n textStyle: 'body/lg/regular',\n truncate: true,\n '[data-with-secondary] &': {\n flex: 'none',\n textStyle: 'body/md/semibold',\n },\n },\n linkSecondaryText: {\n textStyle: 'body/sm/regular',\n truncate: true,\n },\n linkIcon: {\n flexShrink: 0,\n },\n linkIconBlock: {\n display: 'flex',\n flexShrink: 0,\n position: 'relative',\n },\n linkStatusDot: {\n borderRadius: 'full',\n height: '8',\n insetBlockEnd: '-2',\n insetInlineEnd: '-4',\n position: 'absolute',\n width: '8',\n '&[data-status=\"neutral\"]': {\n background: 'sys/ui/sidenav/badge/neutral',\n },\n '&[data-status=\"success\"]': {\n background: 'sys/ui/sidenav/badge/green',\n },\n '&[data-status=\"critical\"]': {\n background: 'sys/ui/sidenav/badge/red',\n },\n },\n backdrop: {\n background: 'utilities/overlay',\n inset: 0,\n position: 'fixed',\n zIndex: 'calc({zIndex.dialogOverlay} + var(--layer-index, 0))',\n _open: {\n animationDuration: 'slow',\n animationName: 'fade-in',\n },\n _closed: {\n animationDuration: 'moderate',\n animationName: 'fade-out',\n },\n },\n positioner: {\n alignItems: 'stretch',\n display: 'flex',\n inset: 0,\n // The drawer comes in from the leading edge, unlike every other drawer in the library.\n justifyContent: 'flex-start',\n overscrollBehaviorY: 'none',\n position: 'fixed',\n zIndex: 'calc({zIndex.dialog} + var(--layer-index, 0))',\n },\n content: {\n background: 'sys/ui/sidenav/bg',\n boxShadow: 'elevation/lg',\n display: 'flex',\n flexDirection: 'column',\n maxHeight: '100dvh',\n outline: 'none',\n // The close button hangs off the trailing edge, so the panel must not clip it.\n overflow: 'visible',\n position: 'relative',\n width: DRAWER_WIDTH,\n // 320 for the panel plus the 55 the close button column occupies, which is the 375 the\n // design frame is drawn at. Narrower phones give the panel up, not the button.\n maxWidth: 'calc(100vw - 55px)',\n _open: {\n animationDuration: 'slowest',\n animationName: {\n base: 'slide-from-left-full, fade-in',\n _rtl: 'slide-from-right-full, fade-in',\n },\n animationTimingFunction: 'ease-in-smooth',\n },\n _closed: {\n animationDuration: 'slower',\n animationName: {\n base: 'slide-to-left-full, fade-out',\n _rtl: 'slide-to-right-full, fade-out',\n },\n animationTimingFunction: 'ease-in-smooth',\n },\n },\n closeButton: {\n alignItems: 'center',\n display: 'flex',\n height: rem(72),\n insetBlockStart: 0,\n insetInlineStart: '100%',\n paddingInlineStart: '8',\n position: 'absolute',\n },\n },\n\n variants: {\n layout: {\n rail: {\n root: {\n paddingBlockEnd: '12',\n // Opening is slower to reach than closing, so a pointer crossing the rail on its way\n // somewhere else does not drag it open.\n transition: 'width 100ms ease-out',\n transitionDelay: '50ms',\n width: RAIL_WIDTH_COLLAPSED,\n _motionReduce: {\n transition: 'none',\n },\n '&[data-expanded]': {\n transitionDelay: '100ms',\n width: RAIL_WIDTH_EXPANDED,\n },\n },\n workspace: { ...railRow, paddingInline: '16' },\n workspaceControl: railRow,\n workspaceMenu: { width: WORKSPACE_MENU_WIDTH },\n body: { overflowX: 'hidden', overflowY: 'auto', scrollbar: 'hidden' },\n item: { ...railRow, gap: '24', paddingBlock: '16' },\n link: { ...railRow, gap: '24' },\n footerSeparator: {\n '[data-expanded] &': {\n paddingInline: '16',\n },\n },\n footerHeading: railRow,\n },\n drawer: {\n root: {\n overflowX: 'hidden',\n overflowY: 'auto',\n width: 'full',\n },\n workspaceRoot: {\n background: 'sys/ui/sidenav/bg',\n insetBlockStart: 0,\n position: 'sticky',\n zIndex: 1,\n },\n workspace: {\n paddingBlock: '16',\n paddingInlineEnd: '24',\n paddingInlineStart: '16',\n },\n item: { gap: '12', paddingBlock: '16' },\n link: { gap: '12' },\n footer: {\n paddingBlockEnd: '16',\n paddingBlockStart: '12',\n position: 'relative',\n },\n footerHeading: {\n paddingBlockStart: '12',\n '&[data-section]': {\n marginBlockStart: '12',\n paddingBlockStart: '24',\n position: 'relative',\n _before: {\n ...hairline,\n insetBlockStart: 0,\n insetInline: 0,\n position: 'absolute',\n },\n },\n },\n footerSeparator: {\n insetBlockStart: 0,\n insetInline: 0,\n paddingBlock: 0,\n paddingInline: 0,\n position: 'absolute',\n },\n workspaceMenu: {\n // The panel is the whole screen, so the menu takes the height it can get rather than\n // the desktop cap, which would leave a short list floating in a tall drawer.\n maxHeight: 'var(--available-height)',\n '--select-menu-list-max-height': 'none',\n },\n body: { flex: '1 0 auto', paddingBlock: '8' },\n },\n },\n },\n\n defaultVariants: {\n layout: 'rail',\n },\n});\n\nexport default uiSideNavSlotRecipe;\n"],"mappings":";;;AAIA,IAAM,uBAAuB,IAAI,EAAE;;;;;AAMnC,IAAa,qBAAqB;AAElC,IAAM,sBAAsB,IAAI,GAAG;AACnC,IAAM,eAAe,IAAI,GAAG;AAC5B,IAAM,uBAAuB,IAAI,GAAG;AAEpC,IAAM,UAAU,EAAE,UAAU,oBAAoB;AAEhD,IAAM,WAAW;CACf,YAAY;CACZ,SAAS;CACT,QAAQ;AACV;AAEA,IAAM,sBAAsB,iBAAiB;CAC3C,WAAW;CACX,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF;CACA,MAAM;EACJ,MAAM;GACJ,YAAY;GACZ,SAAS;GACT,eAAe;GACf,QAAQ;GACR,UAAU;GACV,YAAY;EACd;EACA,WAAW;GACT,YAAY;GACZ,YAAY;GAEZ,cAAc;GACd,OAAO;GACP,QAAQ;GACR,SAAS;GACT,YAAY;GACZ,KAAK;GACL,QAAQ,IAAI,EAAE;GACd,WAAW,IAAI,E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ACA,eAAe;IACb,mBAAmB;IACnB,mBAAmB;KACjB,kBAAkB;KAClB,mBAAmB;KACnB,UAAU;KACV,SAAS;MACP,GAAG;MACH,iBAAiB;MACjB,aAAa;MACb,UAAU;KACZ;IACF;GACF;GACA,iBAAiB;IACf,iBAAiB;IACjB,aAAa;IACb,cAAc;IACd,eAAe;IACf,UAAU;GACZ;GACA,eAAe;IAGb,WAAW;IACX,iCAAiC;GACnC;GACA,MAAM;IAAE,MAAM;IAAY,cAAc;GAAI;EAC9C;CACF,EACF;CAEA,iBAAiB,EACf,QAAQ,OACV;AACF,CAAC"}
@@ -609,25 +609,10 @@ declare const slotRecipes: {
609
609
  device: {
610
610
  mobile: {
611
611
  content: {
612
- minWidth: number;
613
612
  boxShadow: "none";
614
613
  paddingBlock: "16";
615
614
  paddingInline: "16";
616
615
  };
617
- view: {
618
- gap: "16";
619
- };
620
- tableHeader: {
621
- height: "40";
622
- maxWidth: "none";
623
- minWidth: number;
624
- textStyle: "body/lg/regular";
625
- width: "auto";
626
- };
627
- tableCellTrigger: {
628
- height: "40";
629
- textStyle: "body/lg/regular";
630
- };
631
616
  };
632
617
  };
633
618
  }>;
@@ -718,91 +703,6 @@ declare const slotRecipes: {
718
703
  height: "16";
719
704
  } | undefined;
720
705
  };
721
- lg: {
722
- trigger: {
723
- height: "40";
724
- paddingBlock: "8";
725
- paddingInlineEnd: `${number}rem`;
726
- paddingInlineStart: "8";
727
- textStyle: "body/lg/regular";
728
- '&:has([data-slot="avatar"])'?: {
729
- paddingBlock: `${number}rem`;
730
- paddingInlineStart: `${number}rem`;
731
- } | undefined;
732
- };
733
- indicatorGroup: {
734
- paddingInlineEnd: "4";
735
- };
736
- indicator: {
737
- _icon: {
738
- width: "16";
739
- height: "16";
740
- };
741
- };
742
- checkbox?: {
743
- width: "24";
744
- height: "24";
745
- } | undefined;
746
- item?: {
747
- '&:has([data-slot="avatar"])': {
748
- paddingInlineStart: "12";
749
- paddingInlineEnd: "24";
750
- paddingBlock: "8";
751
- gap: "8";
752
- };
753
- '&:has([data-slot="checkbox"])': {
754
- minHeight: "48";
755
- paddingInlineEnd: "24";
756
- paddingBlock: "12";
757
- gap: "12";
758
- };
759
- paddingInline: "16";
760
- paddingBlock: "12";
761
- textStyle: "body/lg/regular";
762
- _selected: {
763
- textStyle: "body/lg/semibold";
764
- };
765
- } | undefined;
766
- content?: {
767
- '--select-menu-list-max-height': `${number}rem`;
768
- } | undefined;
769
- itemLabel?: {
770
- textStyle: "body/lg/regular";
771
- lineHeight: "normal";
772
- } | undefined;
773
- itemLoadingLabel?: {
774
- textStyle: "body/lg/regular";
775
- } | undefined;
776
- emptyState?: {
777
- paddingBlock: "12";
778
- } | undefined;
779
- errorState?: {
780
- paddingBlock: "8";
781
- } | undefined;
782
- errorLabel?: {
783
- textStyle: "body/lg/regular";
784
- } | undefined;
785
- action?: {
786
- minHeight: "48";
787
- paddingBlock: "12";
788
- textStyle: "body/lg/regular";
789
- lineHeight: "normal";
790
- } | undefined;
791
- searchInputGroup?: {
792
- height: `${number}rem`;
793
- paddingBlock: "16";
794
- } | undefined;
795
- searchInput?: {
796
- textStyle: "body/lg/regular";
797
- } | undefined;
798
- searchClear?: {
799
- padding: "8";
800
- } | undefined;
801
- itemIndicator?: {
802
- width: "24";
803
- height: "24";
804
- } | undefined;
805
- };
806
706
  };
807
707
  }>;
808
708
  dialog: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "label" | "title" | "trigger" | "positioner" | "closeTrigger" | "description" | "scrollBody" | "scrollArea" | "scrollGradient" | "scrollButton" | "stepHeader" | "backdrop" | "stepDescription" | "stepTitle" | "stepTitleGroup", {
@@ -1184,42 +1084,6 @@ declare const slotRecipes: {
1184
1084
  };
1185
1085
  };
1186
1086
  }>;
1187
- filter: import('@chakra-ui/react').SlotRecipeDefinition<"search" | "content" | "pattern" | "switch" | "icon" | "field" | "root" | "loading" | "items" | "searchInput" | "addSheetBackdrop" | "addSheetPositioner" | "addSheet" | "addMenu" | "addMenuLabel" | "addSheetItem" | "addMenuItem" | "addMenuIcon" | "addSheetItemReason" | "chip" | "chipLabel" | "chipTrigger" | "chipRemove" | "chipIcon" | "chipValue" | "chipChevron" | "fieldLabel" | "fieldControl" | "fieldTrigger" | "fieldRemove" | "fieldIcon" | "fieldValue" | "fieldChevron" | "mobilePanelHeader" | "popoverFooter" | "mobileFooter" | "popoverFooterStart" | "mobilePanelOverline" | "mobilePanelTitle" | "popoverContent" | "calendarFooter" | "mobileSearch" | "mobileSearchInput" | "popoverBody" | "checkboxList" | "popoverSearch" | "listHelperText" | "mobileListCheckbox" | "mobileListCheck" | "patternResults" | "patternResultsLabel" | "switchItem" | "switchItemText" | "filters" | "searchBlock" | "mobileBar" | "mobileTrigger" | "mobileHeader" | "mobileTitle" | "mobileBody", {
1188
- pageLayout: {
1189
- capped: {
1190
- root: {
1191
- borderBlockEndWidth: "1";
1192
- borderColor: "border/regular";
1193
- paddingInline: {
1194
- base: "16";
1195
- tablet: "32";
1196
- };
1197
- };
1198
- };
1199
- full: {
1200
- root: {
1201
- borderBlockEndWidth: "1";
1202
- borderColor: "border/regular";
1203
- paddingInlineEnd: {
1204
- base: "16";
1205
- tablet: "32";
1206
- };
1207
- paddingInlineStart: {
1208
- base: "16";
1209
- tablet: "24";
1210
- };
1211
- };
1212
- };
1213
- };
1214
- contentAlign: {
1215
- center: {};
1216
- start: {
1217
- root: {
1218
- justifyContent: "flex-start";
1219
- };
1220
- };
1221
- };
1222
- }>;
1223
1087
  imageCropper: import('@chakra-ui/react').SlotRecipeDefinition<"grid" | "image" | "root" | "handle" | "viewport" | "selection", import('@chakra-ui/react').SlotRecipeVariantRecord<"grid" | "image" | "root" | "handle" | "viewport" | "selection">>;
1224
1088
  inlineLoading: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root", {
1225
1089
  size: {
@@ -1280,27 +1144,6 @@ declare const slotRecipes: {
1280
1144
  };
1281
1145
  };
1282
1146
  }>;
1283
- listbox: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "input" | "label" | "root" | "item" | "itemIndicator" | "itemGroup" | "itemGroupLabel" | "itemText" | "valueText" | "empty", {
1284
- size: {
1285
- md: {};
1286
- lg: {
1287
- content: {
1288
- maxHeight: "none";
1289
- paddingBlock: "8";
1290
- };
1291
- item: {
1292
- minHeight: "48";
1293
- textStyle: "body/lg/regular";
1294
- _selected: {
1295
- textStyle: "body/lg/regular";
1296
- };
1297
- };
1298
- empty: {
1299
- textStyle: "body/lg/regular";
1300
- };
1301
- };
1302
- };
1303
- }>;
1304
1147
  markdown: import('@chakra-ui/react').SlotRecipeDefinition<"blockquote" | "root", {
1305
1148
  size: {
1306
1149
  sm: {
@@ -3267,7 +3110,7 @@ declare const slotRecipes: {
3267
3110
  md: {};
3268
3111
  };
3269
3112
  }>;
3270
- tag: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "endElement" | "startElement", {
3113
+ tag: import('@chakra-ui/react').SlotRecipeDefinition<"label" | "root" | "closeTrigger" | "startElement" | "endElement", {
3271
3114
  colorVariant: {
3272
3115
  neutral: {
3273
3116
  root: {
@@ -3761,6 +3604,7 @@ declare const slotRecipes: {
3761
3604
  };
3762
3605
  };
3763
3606
  }>;
3607
+ uiHeader: import('@chakra-ui/react').SlotRecipeDefinition<"search" | "badge" | "banner" | "bar" | "root" | "indicator" | "spacer" | "control" | "searchInput" | "searchClear" | "actions" | "navButton" | "accountAvatar" | "accountIcon" | "navButtonBadge" | "navButtonIcon" | "searchButton" | "searchField" | "searchIcon" | "leading" | "logoBlock" | "logoLink", import('@chakra-ui/react').SlotRecipeVariantRecord<"search" | "badge" | "banner" | "bar" | "root" | "indicator" | "spacer" | "control" | "searchInput" | "searchClear" | "actions" | "navButton" | "accountAvatar" | "accountIcon" | "navButtonBadge" | "navButtonIcon" | "searchButton" | "searchField" | "searchIcon" | "leading" | "logoBlock" | "logoLink">>;
3764
3608
  uiSideNav: import('@chakra-ui/react').SlotRecipeDefinition<"link" | "content" | "body" | "footer" | "closeButton" | "root" | "item" | "itemIndicator" | "positioner" | "itemLabel" | "itemIcon" | "backdrop" | "footerSeparator" | "footerHeading" | "linkIconBlock" | "linkTextBlock" | "linkIcon" | "linkStatusDot" | "linkLabel" | "linkSecondaryText" | "workspaceRoot" | "workspaceControl" | "workspace" | "workspaceTextBlock" | "workspaceChevron" | "workspaceMenu" | "workspaceLabel" | "workspaceValue", {
3765
3609
  layout: {
3766
3610
  rail: {
@@ -3849,10 +3693,9 @@ declare const slotRecipes: {
3849
3693
  insetBlockStart: number;
3850
3694
  insetInline: number;
3851
3695
  position: "absolute";
3852
- background: "border/inverse";
3696
+ background: "sys/ui/sidenav/separator";
3853
3697
  content: "\"\"";
3854
3698
  height: "1";
3855
- opacity: 0.2;
3856
3699
  };
3857
3700
  };
3858
3701
  };
@@ -1,5 +1,6 @@
1
1
  import avatarSlotRecipe from "./Avatar.recipe.js";
2
2
  import numberInputSlotRecipe from "./NumberInput.recipe.js";
3
+ import uiHeaderSlotRecipe from "./UIHeader.recipe.js";
3
4
  import uiSideNavSlotRecipe from "./UISideNav.recipe.js";
4
5
  import accordionSlotRecipe from "./Accordion.recipe.js";
5
6
  import actionBarSlotRecipe from "./ActionBar.recipe.js";
@@ -22,13 +23,11 @@ import expandableCardSlotRecipe from "./ExpandableCard.recipe.js";
22
23
  import fieldSlotRecipe from "./Field.recipe.js";
23
24
  import fieldsetSlotRecipe from "./Fieldset.recipe.js";
24
25
  import fileUploadSlotRecipe from "./FileUpload.recipe.js";
25
- import filterSlotRecipe from "./Filter.recipe.js";
26
26
  import groupHeadingRecipe from "./GroupHeading.recipe.js";
27
27
  import imageCropperSlotRecipe from "./ImageCropper.recipe.js";
28
28
  import inlineLoadingRecipe from "./InlineLoading.recipe.js";
29
29
  import labeledDataSlotRecipe from "./LabeledData.recipe.js";
30
30
  import listSlotRecipe from "./List.recipe.js";
31
- import listboxSlotRecipe from "./Listbox.recipe.js";
32
31
  import markdownSlotRecipe from "./Markdown.recipe.js";
33
32
  import markdownCardSlotRecipe from "./MarkdownCard.recipe.js";
34
33
  import menuSlotRecipe from "./Menu.recipe.js";
@@ -89,11 +88,9 @@ var slotRecipes = {
89
88
  groupHeading: groupHeadingRecipe,
90
89
  fieldset: fieldsetSlotRecipe,
91
90
  fileUpload: fileUploadSlotRecipe,
92
- filter: filterSlotRecipe,
93
91
  imageCropper: imageCropperSlotRecipe,
94
92
  inlineLoading: inlineLoadingRecipe,
95
93
  list: listSlotRecipe,
96
- listbox: listboxSlotRecipe,
97
94
  markdown: markdownSlotRecipe,
98
95
  markdownCard: markdownCardSlotRecipe,
99
96
  menu: menuSlotRecipe,
@@ -133,6 +130,7 @@ var slotRecipes = {
133
130
  tooltip: tooltipSlotRecipe,
134
131
  tour: tourSlotRecipe,
135
132
  treeView: treeViewSlotRecipe,
133
+ uiHeader: uiHeaderSlotRecipe,
136
134
  uiSideNav: uiSideNavSlotRecipe
137
135
  };
138
136
  //#endregion