@igne-agency/react-web-ui 0.5.0 → 0.6.0

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 (254) hide show
  1. package/dist/components/accordion/accordion.css +21 -21
  2. package/dist/components/accordion/accordion.d.ts +17 -4
  3. package/dist/components/accordion/accordion.js +83 -36
  4. package/dist/components/accordion/accordion.module.js +6 -6
  5. package/dist/components/attachment-tile/attachment-preview.d.ts +56 -13
  6. package/dist/components/attachment-tile/attachment-preview.js +388 -119
  7. package/dist/components/attachment-tile/attachment-tile.css +31 -25
  8. package/dist/components/attachment-tile/attachment-tile.d.ts +32 -10
  9. package/dist/components/attachment-tile/attachment-tile.js +160 -43
  10. package/dist/components/attachment-tile/attachment-tile.module.js +8 -8
  11. package/dist/components/attachment-tile/index.d.ts +1 -1
  12. package/dist/components/avatar/avatar.css +9 -9
  13. package/dist/components/avatar/avatar.d.ts +50 -5
  14. package/dist/components/avatar/avatar.js +178 -64
  15. package/dist/components/avatar/avatar.module.js +3 -3
  16. package/dist/components/avatar-group/avatar-group-context.d.ts +2 -4
  17. package/dist/components/avatar-group/avatar-group-context.js +2 -2
  18. package/dist/components/avatar-group/avatar-group.css +26 -20
  19. package/dist/components/avatar-group/avatar-group.d.ts +85 -27
  20. package/dist/components/avatar-group/avatar-group.js +400 -246
  21. package/dist/components/avatar-group/avatar-group.module.js +8 -8
  22. package/dist/components/breadcrumbs/breadcrumbs.css +12 -12
  23. package/dist/components/breadcrumbs/breadcrumbs.d.ts +69 -23
  24. package/dist/components/breadcrumbs/breadcrumbs.js +299 -248
  25. package/dist/components/breadcrumbs/breadcrumbs.module.js +8 -8
  26. package/dist/components/button/button.css +29 -31
  27. package/dist/components/button/button.d.ts +20 -16
  28. package/dist/components/button/button.js +140 -145
  29. package/dist/components/button/button.module.js +1 -1
  30. package/dist/components/button/index.js +1 -1
  31. package/dist/components/checkbox-field/checkbox-field.js +63 -49
  32. package/dist/components/checkbox-field/checkbox.css +105 -56
  33. package/dist/components/checkbox-field/checkbox.d.ts +3 -2
  34. package/dist/components/checkbox-field/checkbox.js +12 -9
  35. package/dist/components/checkbox-field/checkbox.module.js +4 -4
  36. package/dist/components/checkbox-group-field/checkbox-group-field.js +78 -72
  37. package/dist/components/checkbox-group-field/checkbox-group.css +14 -10
  38. package/dist/components/checkbox-group-field/checkbox-group.d.ts +2 -2
  39. package/dist/components/checkbox-group-field/checkbox-group.js +2 -2
  40. package/dist/components/checkbox-group-field/checkbox-group.module.js +2 -2
  41. package/dist/components/collapsible/collapsible.css +20 -20
  42. package/dist/components/collapsible/collapsible.d.ts +17 -4
  43. package/dist/components/collapsible/collapsible.js +83 -36
  44. package/dist/components/collapsible/collapsible.module.js +5 -5
  45. package/dist/components/combobox-field/combobox-field.js +206 -158
  46. package/dist/components/combobox-field/combobox.css +492 -277
  47. package/dist/components/combobox-field/combobox.d.ts +148 -39
  48. package/dist/components/combobox-field/combobox.js +506 -206
  49. package/dist/components/combobox-field/combobox.module.js +21 -21
  50. package/dist/components/combobox-field/value-state-view.css +5 -5
  51. package/dist/components/combobox-field/value-state-view.module.js +4 -4
  52. package/dist/components/composer/composer-attachments.d.ts +30 -11
  53. package/dist/components/composer/composer-attachments.js +45 -40
  54. package/dist/components/composer/composer-editor.css +40 -35
  55. package/dist/components/composer/composer-editor.d.ts +14 -4
  56. package/dist/components/composer/composer-editor.js +134 -44
  57. package/dist/components/composer/composer-editor.module.js +5 -5
  58. package/dist/components/composer/composer.css +22 -22
  59. package/dist/components/composer/composer.d.ts +13 -2
  60. package/dist/components/composer/composer.js +78 -63
  61. package/dist/components/composer/composer.module.js +5 -5
  62. package/dist/components/composer/index.d.ts +2 -2
  63. package/dist/components/composer/mention-text.css +5 -5
  64. package/dist/components/composer/mention-text.module.js +1 -1
  65. package/dist/components/confirm-dialog/confirm-dialog.css +29 -29
  66. package/dist/components/confirm-dialog/confirm-dialog.d.ts +57 -3
  67. package/dist/components/confirm-dialog/confirm-dialog.js +266 -108
  68. package/dist/components/confirm-dialog/confirm-dialog.module.js +5 -5
  69. package/dist/components/conversation/conversation.css +52 -52
  70. package/dist/components/conversation/conversation.d.ts +43 -18
  71. package/dist/components/conversation/conversation.js +120 -78
  72. package/dist/components/conversation/conversation.module.js +15 -15
  73. package/dist/components/date-field/date-field.d.ts +1 -1
  74. package/dist/components/date-field/date-field.js +202 -100
  75. package/dist/components/date-field/date-input.d.ts +73 -37
  76. package/dist/components/date-field/date-input.js +72 -45
  77. package/dist/components/date-field/index.d.ts +1 -1
  78. package/dist/components/date-range-field/date-range-field.d.ts +1 -1
  79. package/dist/components/date-range-field/date-range-field.js +219 -107
  80. package/dist/components/date-range-field/date-range-input.d.ts +84 -40
  81. package/dist/components/date-range-field/date-range-input.js +83 -48
  82. package/dist/components/dialog/dialog.css +32 -32
  83. package/dist/components/dialog/dialog.d.ts +8 -7
  84. package/dist/components/dialog/dialog.js +8 -26
  85. package/dist/components/dialog/dialog.module.js +6 -6
  86. package/dist/components/divider/divider.css +6 -6
  87. package/dist/components/divider/divider.d.ts +36 -2
  88. package/dist/components/divider/divider.js +195 -29
  89. package/dist/components/divider/divider.module.js +3 -3
  90. package/dist/components/drawer/drawer.css +55 -56
  91. package/dist/components/drawer/drawer.d.ts +8 -7
  92. package/dist/components/drawer/drawer.js +8 -26
  93. package/dist/components/drawer/drawer.module.js +6 -6
  94. package/dist/components/field/field.css +34 -24
  95. package/dist/components/field/field.d.ts +60 -37
  96. package/dist/components/field/field.js +242 -157
  97. package/dist/components/field/field.module.js +12 -10
  98. package/dist/components/field/input-parts.d.ts +11 -13
  99. package/dist/components/field/input-parts.js +23 -42
  100. package/dist/components/field-placeholder/field-placeholder.css +6 -6
  101. package/dist/components/field-placeholder/field-placeholder.module.js +4 -4
  102. package/dist/components/fieldset/field-group.d.ts +1 -1
  103. package/dist/components/fieldset/field-group.js +48 -42
  104. package/dist/components/fieldset/fieldset-root.d.ts +1 -1
  105. package/dist/components/fieldset/fieldset-root.js +19 -17
  106. package/dist/components/fieldset/fieldset.d.ts +2 -2
  107. package/dist/components/fieldset/fieldset.js +2 -2
  108. package/dist/components/file-field/file-field.css +126 -60
  109. package/dist/components/file-field/file-field.js +201 -109
  110. package/dist/components/file-field/file-field.module.js +4 -4
  111. package/dist/components/file-field/file-input.d.ts +66 -40
  112. package/dist/components/file-field/file-input.js +188 -132
  113. package/dist/components/filter-bar/filter-bar.css +8 -8
  114. package/dist/components/filter-bar/filter-bar.d.ts +12 -3
  115. package/dist/components/filter-bar/filter-bar.js +23 -25
  116. package/dist/components/filter-bar/filter-bar.module.js +5 -5
  117. package/dist/components/form/form.d.ts +19 -7
  118. package/dist/components/form/form.js +80 -29
  119. package/dist/components/icon/icon.css +2 -2
  120. package/dist/components/icon/icon.module.js +1 -1
  121. package/dist/components/link/link.css +6 -5
  122. package/dist/components/link/link.module.js +1 -1
  123. package/dist/components/menu/menu.css +52 -47
  124. package/dist/components/menu/menu.d.ts +32 -25
  125. package/dist/components/menu/menu.js +75 -124
  126. package/dist/components/menu/menu.module.js +8 -8
  127. package/dist/components/nav/nav-context.d.ts +1 -1
  128. package/dist/components/nav/nav-item-view.d.ts +10 -13
  129. package/dist/components/nav/nav-item-view.js +42 -54
  130. package/dist/components/nav/nav.css +150 -119
  131. package/dist/components/nav/nav.d.ts +61 -17
  132. package/dist/components/nav/nav.js +271 -176
  133. package/dist/components/nav/nav.module.js +17 -15
  134. package/dist/components/number-field/number-field.css +153 -64
  135. package/dist/components/number-field/number-field.d.ts +2 -2
  136. package/dist/components/number-field/number-field.js +112 -91
  137. package/dist/components/number-field/number-field.module.js +6 -6
  138. package/dist/components/number-field/number-input.d.ts +43 -23
  139. package/dist/components/number-field/number-input.js +179 -125
  140. package/dist/components/otp-field/otp-field.css +153 -60
  141. package/dist/components/otp-field/otp-field.d.ts +2 -2
  142. package/dist/components/otp-field/otp-field.js +62 -46
  143. package/dist/components/otp-field/otp-field.module.js +4 -4
  144. package/dist/components/otp-field/otp-input.d.ts +8 -6
  145. package/dist/components/otp-field/otp-input.js +92 -92
  146. package/dist/components/pagination/pagination.d.ts +46 -15
  147. package/dist/components/pagination/pagination.js +217 -224
  148. package/dist/components/password-field/password-field.css +23 -23
  149. package/dist/components/password-field/password-field.js +107 -85
  150. package/dist/components/password-field/password-field.module.js +8 -8
  151. package/dist/components/password-field/password-strength.d.ts +107 -3
  152. package/dist/components/password-field/password-strength.js +569 -92
  153. package/dist/components/photo-field/photo-field.js +137 -112
  154. package/dist/components/photo-field/photo-input.css +67 -44
  155. package/dist/components/photo-field/photo-input.d.ts +59 -15
  156. package/dist/components/photo-field/photo-input.js +173 -86
  157. package/dist/components/photo-field/photo-input.module.js +10 -8
  158. package/dist/components/popover/popover.css +41 -41
  159. package/dist/components/popover/popover.d.ts +66 -25
  160. package/dist/components/popover/popover.js +332 -217
  161. package/dist/components/popover/popover.module.js +15 -19
  162. package/dist/components/radio-group-field/radio-group-field.js +80 -71
  163. package/dist/components/radio-group-field/radio-group.css +112 -60
  164. package/dist/components/radio-group-field/radio-group.d.ts +19 -3
  165. package/dist/components/radio-group-field/radio-group.js +66 -23
  166. package/dist/components/radio-group-field/radio-group.module.js +4 -4
  167. package/dist/components/segmented-control-field/segmented-control-field.d.ts +1 -1
  168. package/dist/components/segmented-control-field/segmented-control-field.js +111 -96
  169. package/dist/components/segmented-control-field/segmented-control.css +132 -79
  170. package/dist/components/segmented-control-field/segmented-control.d.ts +39 -15
  171. package/dist/components/segmented-control-field/segmented-control.js +124 -41
  172. package/dist/components/segmented-control-field/segmented-control.module.js +4 -4
  173. package/dist/components/select-field/select.css +214 -101
  174. package/dist/components/select-field/select.d.ts +43 -11
  175. package/dist/components/select-field/select.js +194 -109
  176. package/dist/components/select-field/select.module.js +14 -14
  177. package/dist/components/skeleton/skeleton.css +4 -4
  178. package/dist/components/skeleton/skeleton.module.js +3 -3
  179. package/dist/components/stale/stale.css +15 -15
  180. package/dist/components/stale/stale.d.ts +27 -3
  181. package/dist/components/stale/stale.js +147 -66
  182. package/dist/components/stale/stale.module.js +6 -6
  183. package/dist/components/status-message/status-message.css +22 -22
  184. package/dist/components/status-message/status-message.module.js +6 -6
  185. package/dist/components/switch-field/switch-field.js +77 -57
  186. package/dist/components/switch-field/switch.css +112 -63
  187. package/dist/components/switch-field/switch.d.ts +20 -3
  188. package/dist/components/switch-field/switch.js +70 -27
  189. package/dist/components/switch-field/switch.module.js +4 -4
  190. package/dist/components/tabs/tabs.css +32 -32
  191. package/dist/components/tabs/tabs.d.ts +21 -7
  192. package/dist/components/tabs/tabs.js +73 -14
  193. package/dist/components/tabs/tabs.module.js +7 -7
  194. package/dist/components/tag/tag.css +84 -84
  195. package/dist/components/tag/tag.module.js +3 -3
  196. package/dist/components/tag-group/tag-group.css +94 -94
  197. package/dist/components/tag-group/tag-group.module.js +4 -4
  198. package/dist/components/text-field/text-field.css +159 -82
  199. package/dist/components/text-field/text-field.d.ts +1 -1
  200. package/dist/components/text-field/text-field.js +139 -110
  201. package/dist/components/text-field/text-field.module.js +9 -9
  202. package/dist/components/text-field/text-input.d.ts +81 -45
  203. package/dist/components/text-field/text-input.js +366 -217
  204. package/dist/components/textarea-field/textarea-field.css +7 -2
  205. package/dist/components/textarea-field/textarea-field.js +72 -56
  206. package/dist/components/textarea-field/textarea-field.module.js +2 -2
  207. package/dist/components/time-field/time-field.js +153 -60
  208. package/dist/components/time-field/time-input.d.ts +21 -10
  209. package/dist/components/time-field/time-input.js +22 -11
  210. package/dist/components/toast/toast-provider.css +34 -31
  211. package/dist/components/toast/toast-provider.d.ts +63 -14
  212. package/dist/components/toast/toast-provider.js +174 -111
  213. package/dist/components/toast/toast-provider.module.js +7 -7
  214. package/dist/components/toggle-group-field/toggle-group-field.d.ts +1 -1
  215. package/dist/components/toggle-group-field/toggle-group-field.js +95 -89
  216. package/dist/components/toggle-group-field/toggle-group.css +117 -67
  217. package/dist/components/toggle-group-field/toggle-group.d.ts +2 -2
  218. package/dist/components/toggle-group-field/toggle-group.js +2 -2
  219. package/dist/components/toggle-group-field/toggle-group.module.js +2 -2
  220. package/dist/components/tooltip/tooltip.css +4 -4
  221. package/dist/components/tooltip/tooltip.module.js +1 -1
  222. package/dist/data-table/data-table-content.js +6 -5
  223. package/dist/data-table/data-table-parts.d.ts +41 -13
  224. package/dist/data-table/data-table-parts.js +213 -172
  225. package/dist/data-table/data-table-selection.d.ts +105 -3
  226. package/dist/data-table/data-table-selection.js +654 -145
  227. package/dist/data-table/data-table.css +125 -128
  228. package/dist/data-table/data-table.d.ts +21 -26
  229. package/dist/data-table/data-table.js +20 -23
  230. package/dist/data-table/data-table.module.js +32 -34
  231. package/dist/data-table/index.d.ts +2 -2
  232. package/dist/index.js +3 -3
  233. package/dist/lib/calendar/calendar-navigation.d.ts +39 -5
  234. package/dist/lib/calendar/calendar-navigation.js +185 -118
  235. package/dist/lib/calendar/calendar-parts.d.ts +143 -0
  236. package/dist/lib/calendar/calendar-parts.js +540 -0
  237. package/dist/lib/calendar/calendar-prefab.d.ts +52 -0
  238. package/dist/lib/calendar/calendar-prefab.js +311 -0
  239. package/dist/lib/calendar/calendar-year.d.ts +3 -1
  240. package/dist/lib/calendar/calendar-year.js +139 -131
  241. package/dist/lib/calendar/temporal.css +325 -232
  242. package/dist/lib/calendar/temporal.d.ts +67 -82
  243. package/dist/lib/calendar/temporal.js +258 -569
  244. package/dist/lib/calendar/temporal.module.js +38 -38
  245. package/dist/lib/forms/use-connected-field.d.ts +1 -1
  246. package/dist/lib/forms/use-connected-field.js +1 -1
  247. package/dist/lib/render-as.d.ts +13 -0
  248. package/dist/lib/render-as.js +46 -0
  249. package/dist/tokens.css +6 -3
  250. package/package.json +1 -1
  251. package/tokens/dark.tokens.json +6 -0
  252. package/tokens/sys.tokens.json +7 -0
  253. package/dist/components/button/close-button.d.ts +0 -16
  254. package/dist/components/button/close-button.js +0 -30
@@ -3,6 +3,7 @@ import { usePopupEdgePadding } from "../popup-edge-padding.js";
3
3
  import { eraYears } from "./calendar-state.js";
4
4
  import temporal_module_default from "./temporal.module.js";
5
5
  import { c } from "react/compiler-runtime";
6
+ import { clsx } from "clsx";
6
7
  import { jsx, jsxs } from "react/jsx-runtime";
7
8
  import { useEffectEvent, useLayoutEffect, useRef, useState } from "react";
8
9
  import { Combobox } from "@base-ui/react/combobox";
@@ -34,8 +35,8 @@ var useYearRows = (count, list) => {
34
35
  * <CalendarYear state={state} container={containerRef} label="Year" noMatchLabel="No matching year." checkIcon={<CheckIcon />} />
35
36
  */
36
37
  var CalendarYear = (t0) => {
37
- const $ = c(72);
38
- const { state, container, label, noMatchLabel, checkIcon, expandIcon } = t0;
38
+ const $ = c(75);
39
+ const { state, container, label, noMatchLabel, checkIcon, expandIcon, className } = t0;
39
40
  const locale = useLocale();
40
41
  const { ref, collisionPadding } = usePopupEdgePadding();
41
42
  const inputRef = useRef(null);
@@ -117,19 +118,25 @@ var CalendarYear = (t0) => {
117
118
  $[17] = t12;
118
119
  } else t12 = $[17];
119
120
  let t13;
120
- if ($[18] !== label) {
121
- t13 = /* @__PURE__ */ jsx(Combobox.Input, {
121
+ if ($[18] !== className) {
122
+ t13 = clsx(temporal_module_default.navControl, className);
123
+ $[18] = className;
124
+ $[19] = t13;
125
+ } else t13 = $[19];
126
+ let t14;
127
+ if ($[20] !== label) {
128
+ t14 = /* @__PURE__ */ jsx(Combobox.Input, {
122
129
  ref: inputRef,
123
130
  "aria-label": label,
124
131
  className: temporal_module_default.navInput,
125
132
  onFocus: _temp2
126
133
  });
127
- $[18] = label;
128
- $[19] = t13;
129
- } else t13 = $[19];
130
- let t14;
131
- if ($[20] !== expandIcon || $[21] !== open) {
132
- t14 = expandIcon !== void 0 && /* @__PURE__ */ jsx(Combobox.Icon, {
134
+ $[20] = label;
135
+ $[21] = t14;
136
+ } else t14 = $[21];
137
+ let t15;
138
+ if ($[22] !== expandIcon || $[23] !== open) {
139
+ t15 = expandIcon !== void 0 && /* @__PURE__ */ jsx(Combobox.Icon, {
133
140
  className: temporal_module_default.navChevron,
134
141
  onMouseDown: (event_0) => {
135
142
  event_0.preventDefault();
@@ -139,59 +146,60 @@ var CalendarYear = (t0) => {
139
146
  },
140
147
  children: expandIcon
141
148
  });
142
- $[20] = expandIcon;
143
- $[21] = open;
144
- $[22] = t14;
145
- } else t14 = $[22];
146
- let t15;
147
- if ($[23] !== t13 || $[24] !== t14) {
148
- t15 = /* @__PURE__ */ jsxs(Combobox.InputGroup, {
149
- className: temporal_module_default.navControl,
150
- children: [t13, t14]
149
+ $[22] = expandIcon;
150
+ $[23] = open;
151
+ $[24] = t15;
152
+ } else t15 = $[24];
153
+ let t16;
154
+ if ($[25] !== t13 || $[26] !== t14 || $[27] !== t15) {
155
+ t16 = /* @__PURE__ */ jsxs(Combobox.InputGroup, {
156
+ className: t13,
157
+ children: [t14, t15]
151
158
  });
152
- $[23] = t13;
153
- $[24] = t14;
154
- $[25] = t15;
155
- } else t15 = $[25];
156
- const t16 = Combobox;
157
- const t17 = temporal_module_default;
158
- const t18 = Combobox;
159
- const t19 = temporal_module_default;
160
- const t20 = 4;
161
- const t21 = Combobox;
162
- const t22 = temporal_module_default;
163
- let t23;
164
- if ($[26] !== noMatchLabel) {
165
- t23 = /* @__PURE__ */ jsx(Combobox.Empty, {
159
+ $[25] = t13;
160
+ $[26] = t14;
161
+ $[27] = t15;
162
+ $[28] = t16;
163
+ } else t16 = $[28];
164
+ const t17 = Combobox;
165
+ const t18 = temporal_module_default;
166
+ const t19 = Combobox;
167
+ const t20 = temporal_module_default;
168
+ const t21 = 4;
169
+ const t22 = Combobox;
170
+ const t23 = temporal_module_default;
171
+ let t24;
172
+ if ($[29] !== noMatchLabel) {
173
+ t24 = /* @__PURE__ */ jsx(Combobox.Empty, {
166
174
  className: temporal_module_default.yearEmpty,
167
175
  children: noMatchLabel
168
176
  });
169
- $[26] = noMatchLabel;
170
- $[27] = t23;
171
- } else t23 = $[27];
172
- const t24 = Combobox;
173
- const t25 = temporal_module_default;
174
- const t26 = `${totalSize}px`;
175
- let t27;
176
- if ($[28] !== t26) {
177
- t27 = { blockSize: t26 };
178
- $[28] = t26;
179
- $[29] = t27;
180
- } else t27 = $[29];
177
+ $[29] = noMatchLabel;
178
+ $[30] = t24;
179
+ } else t24 = $[30];
180
+ const t25 = Combobox;
181
+ const t26 = temporal_module_default;
182
+ const t27 = `${totalSize}px`;
181
183
  let t28;
182
- if ($[30] !== rows) {
183
- t28 = rows.at(0)?.start ?? 0;
184
- $[30] = rows;
185
- $[31] = t28;
186
- } else t28 = $[31];
187
- const t29 = `translateY(${t28}px)`;
188
- let t30;
189
- if ($[32] !== t29) {
190
- t30 = { transform: t29 };
191
- $[32] = t29;
192
- $[33] = t30;
193
- } else t30 = $[33];
194
- const t31 = rows.map((row) => {
184
+ if ($[31] !== t27) {
185
+ t28 = { blockSize: t27 };
186
+ $[31] = t27;
187
+ $[32] = t28;
188
+ } else t28 = $[32];
189
+ let t29;
190
+ if ($[33] !== rows) {
191
+ t29 = rows.at(0)?.start ?? 0;
192
+ $[33] = rows;
193
+ $[34] = t29;
194
+ } else t29 = $[34];
195
+ const t30 = `translateY(${t29}px)`;
196
+ let t31;
197
+ if ($[35] !== t30) {
198
+ t31 = { transform: t30 };
199
+ $[35] = t30;
200
+ $[36] = t31;
201
+ } else t31 = $[36];
202
+ const t32 = rows.map((row) => {
195
203
  const year_2 = matches[row.index];
196
204
  if (year_2 === void 0) return null;
197
205
  return /* @__PURE__ */ jsxs(Combobox.Item, {
@@ -210,82 +218,82 @@ var CalendarYear = (t0) => {
210
218
  })]
211
219
  }, row.key);
212
220
  });
213
- let t32;
214
- if ($[34] !== t30 || $[35] !== t31) {
215
- t32 = /* @__PURE__ */ jsx("div", {
216
- style: t30,
217
- children: t31
218
- });
219
- $[34] = t30;
220
- $[35] = t31;
221
- $[36] = t32;
222
- } else t32 = $[36];
223
221
  let t33;
224
- if ($[37] !== t27 || $[38] !== t32) {
222
+ if ($[37] !== t31 || $[38] !== t32) {
225
223
  t33 = /* @__PURE__ */ jsx("div", {
226
- style: t27,
224
+ style: t31,
227
225
  children: t32
228
226
  });
229
- $[37] = t27;
227
+ $[37] = t31;
230
228
  $[38] = t32;
231
229
  $[39] = t33;
232
230
  } else t33 = $[39];
233
231
  let t34;
234
- if ($[40] !== t24.List || $[41] !== t25.yearList || $[42] !== t33) {
235
- t34 = /* @__PURE__ */ jsx(t24.List, {
236
- ref: setList,
237
- className: t25.yearList,
232
+ if ($[40] !== t28 || $[41] !== t33) {
233
+ t34 = /* @__PURE__ */ jsx("div", {
234
+ style: t28,
238
235
  children: t33
239
236
  });
240
- $[40] = t24.List;
241
- $[41] = t25.yearList;
242
- $[42] = t33;
243
- $[43] = t34;
244
- } else t34 = $[43];
237
+ $[40] = t28;
238
+ $[41] = t33;
239
+ $[42] = t34;
240
+ } else t34 = $[42];
245
241
  let t35;
246
- if ($[44] !== t21.Popup || $[45] !== t22.yearPopup || $[46] !== t23 || $[47] !== t34) {
247
- t35 = /* @__PURE__ */ jsxs(t21.Popup, {
248
- className: t22.yearPopup,
249
- children: [t23, t34]
242
+ if ($[43] !== t25.List || $[44] !== t26.yearList || $[45] !== t34) {
243
+ t35 = /* @__PURE__ */ jsx(t25.List, {
244
+ ref: setList,
245
+ className: t26.yearList,
246
+ children: t34
250
247
  });
251
- $[44] = t21.Popup;
252
- $[45] = t22.yearPopup;
253
- $[46] = t23;
254
- $[47] = t34;
255
- $[48] = t35;
256
- } else t35 = $[48];
248
+ $[43] = t25.List;
249
+ $[44] = t26.yearList;
250
+ $[45] = t34;
251
+ $[46] = t35;
252
+ } else t35 = $[46];
257
253
  let t36;
258
- if ($[49] !== collisionPadding || $[50] !== ref || $[51] !== t18.Positioner || $[52] !== t19.navPositioner || $[53] !== t35) {
259
- t36 = /* @__PURE__ */ jsx(t18.Positioner, {
260
- ref,
261
- className: t19.navPositioner,
262
- sideOffset: t20,
263
- collisionPadding,
264
- children: t35
254
+ if ($[47] !== t22.Popup || $[48] !== t23.yearPopup || $[49] !== t24 || $[50] !== t35) {
255
+ t36 = /* @__PURE__ */ jsxs(t22.Popup, {
256
+ className: t23.yearPopup,
257
+ children: [t24, t35]
265
258
  });
266
- $[49] = collisionPadding;
267
- $[50] = ref;
268
- $[51] = t18.Positioner;
269
- $[52] = t19.navPositioner;
270
- $[53] = t35;
271
- $[54] = t36;
272
- } else t36 = $[54];
259
+ $[47] = t22.Popup;
260
+ $[48] = t23.yearPopup;
261
+ $[49] = t24;
262
+ $[50] = t35;
263
+ $[51] = t36;
264
+ } else t36 = $[51];
273
265
  let t37;
274
- if ($[55] !== container || $[56] !== t16.Portal || $[57] !== t17.navPortal || $[58] !== t36) {
275
- t37 = /* @__PURE__ */ jsx(t16.Portal, {
276
- container,
277
- className: t17.navPortal,
266
+ if ($[52] !== collisionPadding || $[53] !== ref || $[54] !== t19.Positioner || $[55] !== t20.navPositioner || $[56] !== t36) {
267
+ t37 = /* @__PURE__ */ jsx(t19.Positioner, {
268
+ ref,
269
+ className: t20.navPositioner,
270
+ sideOffset: t21,
271
+ collisionPadding,
278
272
  children: t36
279
273
  });
280
- $[55] = container;
281
- $[56] = t16.Portal;
282
- $[57] = t17.navPortal;
283
- $[58] = t36;
284
- $[59] = t37;
285
- } else t37 = $[59];
274
+ $[52] = collisionPadding;
275
+ $[53] = ref;
276
+ $[54] = t19.Positioner;
277
+ $[55] = t20.navPositioner;
278
+ $[56] = t36;
279
+ $[57] = t37;
280
+ } else t37 = $[57];
286
281
  let t38;
287
- if ($[60] !== focused.year || $[61] !== matches || $[62] !== open || $[63] !== t10 || $[64] !== t11 || $[65] !== t12 || $[66] !== t15 || $[67] !== t37 || $[68] !== t5.Root || $[69] !== t9 || $[70] !== yearLabel) {
288
- t38 = /* @__PURE__ */ jsxs(t5.Root, {
282
+ if ($[58] !== container || $[59] !== t17.Portal || $[60] !== t18.navPortal || $[61] !== t37) {
283
+ t38 = /* @__PURE__ */ jsx(t17.Portal, {
284
+ container,
285
+ className: t18.navPortal,
286
+ children: t37
287
+ });
288
+ $[58] = container;
289
+ $[59] = t17.Portal;
290
+ $[60] = t18.navPortal;
291
+ $[61] = t37;
292
+ $[62] = t38;
293
+ } else t38 = $[62];
294
+ let t39;
295
+ if ($[63] !== focused.year || $[64] !== matches || $[65] !== open || $[66] !== t10 || $[67] !== t11 || $[68] !== t12 || $[69] !== t16 || $[70] !== t38 || $[71] !== t5.Root || $[72] !== t9 || $[73] !== yearLabel) {
296
+ t39 = /* @__PURE__ */ jsxs(t5.Root, {
289
297
  virtualized: t6,
290
298
  items: matches,
291
299
  filter: t7,
@@ -297,22 +305,22 @@ var CalendarYear = (t0) => {
297
305
  onOpenChange: setOpen,
298
306
  onInputValueChange: t11,
299
307
  onOpenChangeComplete: t12,
300
- children: [t15, t37]
308
+ children: [t16, t38]
301
309
  });
302
- $[60] = focused.year;
303
- $[61] = matches;
304
- $[62] = open;
305
- $[63] = t10;
306
- $[64] = t11;
307
- $[65] = t12;
308
- $[66] = t15;
309
- $[67] = t37;
310
- $[68] = t5.Root;
311
- $[69] = t9;
312
- $[70] = yearLabel;
313
- $[71] = t38;
314
- } else t38 = $[71];
315
- return t38;
310
+ $[63] = focused.year;
311
+ $[64] = matches;
312
+ $[65] = open;
313
+ $[66] = t10;
314
+ $[67] = t11;
315
+ $[68] = t12;
316
+ $[69] = t16;
317
+ $[70] = t38;
318
+ $[71] = t5.Root;
319
+ $[72] = t9;
320
+ $[73] = yearLabel;
321
+ $[74] = t39;
322
+ } else t39 = $[74];
323
+ return t39;
316
324
  };
317
325
  function _temp(year_1) {
318
326
  return String(year_1);