@igne-agency/react-web-ui 0.4.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.
- package/dist/base.css +3 -0
- package/dist/components/accordion/accordion.css +21 -21
- package/dist/components/accordion/accordion.d.ts +17 -4
- package/dist/components/accordion/accordion.js +83 -36
- package/dist/components/accordion/accordion.module.js +6 -6
- package/dist/components/attachment-tile/attachment-preview.d.ts +56 -13
- package/dist/components/attachment-tile/attachment-preview.js +388 -119
- package/dist/components/attachment-tile/attachment-tile.css +31 -25
- package/dist/components/attachment-tile/attachment-tile.d.ts +32 -10
- package/dist/components/attachment-tile/attachment-tile.js +160 -43
- package/dist/components/attachment-tile/attachment-tile.module.js +8 -8
- package/dist/components/attachment-tile/index.d.ts +1 -1
- package/dist/components/avatar/avatar.css +9 -9
- package/dist/components/avatar/avatar.d.ts +50 -5
- package/dist/components/avatar/avatar.js +178 -64
- package/dist/components/avatar/avatar.module.js +3 -3
- package/dist/components/avatar-group/avatar-group-context.d.ts +2 -4
- package/dist/components/avatar-group/avatar-group-context.js +2 -2
- package/dist/components/avatar-group/avatar-group.css +26 -20
- package/dist/components/avatar-group/avatar-group.d.ts +85 -27
- package/dist/components/avatar-group/avatar-group.js +400 -246
- package/dist/components/avatar-group/avatar-group.module.js +8 -8
- package/dist/components/breadcrumbs/breadcrumbs.css +12 -12
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +69 -23
- package/dist/components/breadcrumbs/breadcrumbs.js +299 -248
- package/dist/components/breadcrumbs/breadcrumbs.module.js +8 -8
- package/dist/components/button/button.css +29 -31
- package/dist/components/button/button.d.ts +20 -16
- package/dist/components/button/button.js +140 -145
- package/dist/components/button/button.module.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/checkbox-field/checkbox-field.js +63 -49
- package/dist/components/checkbox-field/checkbox.css +105 -56
- package/dist/components/checkbox-field/checkbox.d.ts +3 -2
- package/dist/components/checkbox-field/checkbox.js +12 -9
- package/dist/components/checkbox-field/checkbox.module.js +4 -4
- package/dist/components/checkbox-group-field/checkbox-group-field.js +78 -72
- package/dist/components/checkbox-group-field/checkbox-group.css +14 -10
- package/dist/components/checkbox-group-field/checkbox-group.d.ts +2 -2
- package/dist/components/checkbox-group-field/checkbox-group.js +2 -2
- package/dist/components/checkbox-group-field/checkbox-group.module.js +2 -2
- package/dist/components/collapsible/collapsible.css +20 -20
- package/dist/components/collapsible/collapsible.d.ts +17 -4
- package/dist/components/collapsible/collapsible.js +83 -36
- package/dist/components/collapsible/collapsible.module.js +5 -5
- package/dist/components/combobox-field/combobox-field.js +206 -158
- package/dist/components/combobox-field/combobox.css +492 -277
- package/dist/components/combobox-field/combobox.d.ts +148 -39
- package/dist/components/combobox-field/combobox.js +506 -206
- package/dist/components/combobox-field/combobox.module.js +21 -21
- package/dist/components/combobox-field/value-state-view.css +5 -5
- package/dist/components/combobox-field/value-state-view.module.js +4 -4
- package/dist/components/composer/composer-attachments.d.ts +30 -11
- package/dist/components/composer/composer-attachments.js +45 -40
- package/dist/components/composer/composer-editor.css +40 -35
- package/dist/components/composer/composer-editor.d.ts +14 -4
- package/dist/components/composer/composer-editor.js +134 -44
- package/dist/components/composer/composer-editor.module.js +5 -5
- package/dist/components/composer/composer.css +22 -22
- package/dist/components/composer/composer.d.ts +13 -2
- package/dist/components/composer/composer.js +78 -63
- package/dist/components/composer/composer.module.js +5 -5
- package/dist/components/composer/index.d.ts +2 -2
- package/dist/components/composer/mention-text.css +5 -5
- package/dist/components/composer/mention-text.module.js +1 -1
- package/dist/components/confirm-dialog/confirm-dialog.css +29 -29
- package/dist/components/confirm-dialog/confirm-dialog.d.ts +57 -3
- package/dist/components/confirm-dialog/confirm-dialog.js +266 -108
- package/dist/components/confirm-dialog/confirm-dialog.module.js +5 -5
- package/dist/components/conversation/conversation.css +52 -52
- package/dist/components/conversation/conversation.d.ts +43 -18
- package/dist/components/conversation/conversation.js +120 -78
- package/dist/components/conversation/conversation.module.js +15 -15
- package/dist/components/date-field/date-field.d.ts +1 -1
- package/dist/components/date-field/date-field.js +202 -100
- package/dist/components/date-field/date-input.d.ts +73 -37
- package/dist/components/date-field/date-input.js +72 -45
- package/dist/components/date-field/index.d.ts +1 -1
- package/dist/components/date-range-field/date-range-field.d.ts +1 -1
- package/dist/components/date-range-field/date-range-field.js +219 -107
- package/dist/components/date-range-field/date-range-input.d.ts +84 -40
- package/dist/components/date-range-field/date-range-input.js +83 -48
- package/dist/components/dialog/dialog.css +32 -32
- package/dist/components/dialog/dialog.d.ts +8 -7
- package/dist/components/dialog/dialog.js +8 -26
- package/dist/components/dialog/dialog.module.js +6 -6
- package/dist/components/divider/divider.css +6 -6
- package/dist/components/divider/divider.d.ts +36 -2
- package/dist/components/divider/divider.js +195 -29
- package/dist/components/divider/divider.module.js +3 -3
- package/dist/components/drawer/drawer.css +55 -56
- package/dist/components/drawer/drawer.d.ts +8 -7
- package/dist/components/drawer/drawer.js +8 -26
- package/dist/components/drawer/drawer.module.js +6 -6
- package/dist/components/field/field.css +34 -24
- package/dist/components/field/field.d.ts +60 -37
- package/dist/components/field/field.js +242 -157
- package/dist/components/field/field.module.js +12 -10
- package/dist/components/field/input-parts.d.ts +11 -13
- package/dist/components/field/input-parts.js +23 -42
- package/dist/components/field-placeholder/field-placeholder.css +6 -6
- package/dist/components/field-placeholder/field-placeholder.module.js +4 -4
- package/dist/components/fieldset/field-group.d.ts +1 -1
- package/dist/components/fieldset/field-group.js +48 -42
- package/dist/components/fieldset/fieldset-root.d.ts +1 -1
- package/dist/components/fieldset/fieldset-root.js +19 -17
- package/dist/components/fieldset/fieldset.d.ts +2 -2
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/file-field/file-field.css +126 -60
- package/dist/components/file-field/file-field.js +201 -109
- package/dist/components/file-field/file-field.module.js +4 -4
- package/dist/components/file-field/file-input.d.ts +66 -40
- package/dist/components/file-field/file-input.js +188 -132
- package/dist/components/filter-bar/filter-bar.css +8 -8
- package/dist/components/filter-bar/filter-bar.d.ts +12 -3
- package/dist/components/filter-bar/filter-bar.js +23 -25
- package/dist/components/filter-bar/filter-bar.module.js +5 -5
- package/dist/components/form/form.d.ts +19 -7
- package/dist/components/form/form.js +80 -29
- package/dist/components/icon/icon.css +2 -2
- package/dist/components/icon/icon.module.js +1 -1
- package/dist/components/link/link.css +6 -5
- package/dist/components/link/link.module.js +1 -1
- package/dist/components/menu/menu.css +52 -47
- package/dist/components/menu/menu.d.ts +32 -25
- package/dist/components/menu/menu.js +75 -124
- package/dist/components/menu/menu.module.js +8 -8
- package/dist/components/nav/nav-context.d.ts +1 -1
- package/dist/components/nav/nav-item-view.d.ts +10 -13
- package/dist/components/nav/nav-item-view.js +42 -54
- package/dist/components/nav/nav.css +150 -119
- package/dist/components/nav/nav.d.ts +61 -17
- package/dist/components/nav/nav.js +271 -176
- package/dist/components/nav/nav.module.js +17 -15
- package/dist/components/number-field/number-field.css +153 -64
- package/dist/components/number-field/number-field.d.ts +2 -2
- package/dist/components/number-field/number-field.js +112 -91
- package/dist/components/number-field/number-field.module.js +6 -6
- package/dist/components/number-field/number-input.d.ts +43 -23
- package/dist/components/number-field/number-input.js +179 -125
- package/dist/components/otp-field/otp-field.css +153 -60
- package/dist/components/otp-field/otp-field.d.ts +2 -2
- package/dist/components/otp-field/otp-field.js +62 -46
- package/dist/components/otp-field/otp-field.module.js +4 -4
- package/dist/components/otp-field/otp-input.d.ts +8 -6
- package/dist/components/otp-field/otp-input.js +92 -92
- package/dist/components/pagination/pagination.d.ts +46 -15
- package/dist/components/pagination/pagination.js +217 -224
- package/dist/components/password-field/password-field.css +23 -23
- package/dist/components/password-field/password-field.js +107 -85
- package/dist/components/password-field/password-field.module.js +8 -8
- package/dist/components/password-field/password-strength.d.ts +107 -3
- package/dist/components/password-field/password-strength.js +569 -92
- package/dist/components/photo-field/photo-field.js +137 -112
- package/dist/components/photo-field/photo-input.css +67 -44
- package/dist/components/photo-field/photo-input.d.ts +59 -15
- package/dist/components/photo-field/photo-input.js +173 -86
- package/dist/components/photo-field/photo-input.module.js +10 -8
- package/dist/components/popover/popover.css +41 -41
- package/dist/components/popover/popover.d.ts +66 -25
- package/dist/components/popover/popover.js +332 -217
- package/dist/components/popover/popover.module.js +15 -19
- package/dist/components/radio-group-field/radio-group-field.js +80 -71
- package/dist/components/radio-group-field/radio-group.css +112 -60
- package/dist/components/radio-group-field/radio-group.d.ts +19 -3
- package/dist/components/radio-group-field/radio-group.js +66 -23
- package/dist/components/radio-group-field/radio-group.module.js +4 -4
- package/dist/components/segmented-control-field/segmented-control-field.d.ts +1 -1
- package/dist/components/segmented-control-field/segmented-control-field.js +111 -96
- package/dist/components/segmented-control-field/segmented-control.css +132 -79
- package/dist/components/segmented-control-field/segmented-control.d.ts +39 -15
- package/dist/components/segmented-control-field/segmented-control.js +124 -41
- package/dist/components/segmented-control-field/segmented-control.module.js +4 -4
- package/dist/components/select-field/select.css +214 -101
- package/dist/components/select-field/select.d.ts +43 -11
- package/dist/components/select-field/select.js +194 -109
- package/dist/components/select-field/select.module.js +14 -14
- package/dist/components/skeleton/skeleton.css +4 -4
- package/dist/components/skeleton/skeleton.module.js +3 -3
- package/dist/components/stale/stale.css +15 -15
- package/dist/components/stale/stale.d.ts +27 -3
- package/dist/components/stale/stale.js +147 -66
- package/dist/components/stale/stale.module.js +6 -6
- package/dist/components/status-message/status-message.css +22 -22
- package/dist/components/status-message/status-message.module.js +6 -6
- package/dist/components/switch-field/switch-field.js +77 -57
- package/dist/components/switch-field/switch.css +112 -63
- package/dist/components/switch-field/switch.d.ts +20 -3
- package/dist/components/switch-field/switch.js +70 -27
- package/dist/components/switch-field/switch.module.js +4 -4
- package/dist/components/tabs/tabs.css +32 -32
- package/dist/components/tabs/tabs.d.ts +21 -7
- package/dist/components/tabs/tabs.js +73 -14
- package/dist/components/tabs/tabs.module.js +7 -7
- package/dist/components/tag/tag.css +84 -84
- package/dist/components/tag/tag.module.js +3 -3
- package/dist/components/tag-group/tag-group.css +94 -94
- package/dist/components/tag-group/tag-group.module.js +4 -4
- package/dist/components/text-field/text-field.css +159 -82
- package/dist/components/text-field/text-field.d.ts +1 -1
- package/dist/components/text-field/text-field.js +139 -110
- package/dist/components/text-field/text-field.module.js +9 -9
- package/dist/components/text-field/text-input.d.ts +81 -45
- package/dist/components/text-field/text-input.js +366 -217
- package/dist/components/textarea-field/textarea-field.css +7 -2
- package/dist/components/textarea-field/textarea-field.js +72 -56
- package/dist/components/textarea-field/textarea-field.module.js +2 -2
- package/dist/components/time-field/time-field.js +153 -60
- package/dist/components/time-field/time-input.d.ts +21 -10
- package/dist/components/time-field/time-input.js +22 -11
- package/dist/components/toast/toast-provider.css +34 -31
- package/dist/components/toast/toast-provider.d.ts +63 -14
- package/dist/components/toast/toast-provider.js +174 -111
- package/dist/components/toast/toast-provider.module.js +7 -7
- package/dist/components/toggle-group-field/toggle-group-field.d.ts +1 -1
- package/dist/components/toggle-group-field/toggle-group-field.js +95 -89
- package/dist/components/toggle-group-field/toggle-group.css +117 -67
- package/dist/components/toggle-group-field/toggle-group.d.ts +2 -2
- package/dist/components/toggle-group-field/toggle-group.js +2 -2
- package/dist/components/toggle-group-field/toggle-group.module.js +2 -2
- package/dist/components/tooltip/tooltip.css +4 -4
- package/dist/components/tooltip/tooltip.module.js +1 -1
- package/dist/data-table/data-table-content.js +6 -5
- package/dist/data-table/data-table-parts.d.ts +41 -13
- package/dist/data-table/data-table-parts.js +213 -172
- package/dist/data-table/data-table-selection.d.ts +105 -3
- package/dist/data-table/data-table-selection.js +654 -145
- package/dist/data-table/data-table.css +125 -128
- package/dist/data-table/data-table.d.ts +21 -26
- package/dist/data-table/data-table.js +20 -23
- package/dist/data-table/data-table.module.js +32 -34
- package/dist/data-table/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/lib/calendar/calendar-navigation.d.ts +39 -5
- package/dist/lib/calendar/calendar-navigation.js +185 -118
- package/dist/lib/calendar/calendar-parts.d.ts +143 -0
- package/dist/lib/calendar/calendar-parts.js +540 -0
- package/dist/lib/calendar/calendar-prefab.d.ts +52 -0
- package/dist/lib/calendar/calendar-prefab.js +311 -0
- package/dist/lib/calendar/calendar-year.d.ts +3 -1
- package/dist/lib/calendar/calendar-year.js +139 -131
- package/dist/lib/calendar/temporal.css +325 -232
- package/dist/lib/calendar/temporal.d.ts +67 -82
- package/dist/lib/calendar/temporal.js +258 -569
- package/dist/lib/calendar/temporal.module.js +38 -38
- package/dist/lib/forms/use-connected-field.d.ts +1 -1
- package/dist/lib/forms/use-connected-field.js +1 -1
- package/dist/lib/render-as.d.ts +13 -0
- package/dist/lib/render-as.js +46 -0
- package/dist/terrazzo/index.d.ts +4 -3
- package/dist/terrazzo/index.js +17 -6
- package/dist/tokens.css +28 -4
- package/package.json +2 -2
- package/tokens/dark.tokens.json +6 -0
- package/tokens/sys.tokens.json +7 -0
- package/dist/components/button/close-button.d.ts +0 -16
- 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(
|
|
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] !==
|
|
121
|
-
t13 =
|
|
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
|
-
$[
|
|
128
|
-
$[
|
|
129
|
-
} else
|
|
130
|
-
let
|
|
131
|
-
if ($[
|
|
132
|
-
|
|
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
|
-
$[
|
|
143
|
-
$[
|
|
144
|
-
$[
|
|
145
|
-
} else
|
|
146
|
-
let
|
|
147
|
-
if ($[
|
|
148
|
-
|
|
149
|
-
className:
|
|
150
|
-
children: [
|
|
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
|
-
$[
|
|
153
|
-
$[
|
|
154
|
-
$[
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
const t17 =
|
|
158
|
-
const t18 =
|
|
159
|
-
const t19 =
|
|
160
|
-
const t20 =
|
|
161
|
-
const t21 =
|
|
162
|
-
const t22 =
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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
|
-
$[
|
|
170
|
-
$[
|
|
171
|
-
} else
|
|
172
|
-
const
|
|
173
|
-
const
|
|
174
|
-
const
|
|
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 ($[
|
|
183
|
-
t28 =
|
|
184
|
-
$[
|
|
185
|
-
$[
|
|
186
|
-
} else t28 = $[
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
$[
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
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] !==
|
|
222
|
+
if ($[37] !== t31 || $[38] !== t32) {
|
|
225
223
|
t33 = /* @__PURE__ */ jsx("div", {
|
|
226
|
-
style:
|
|
224
|
+
style: t31,
|
|
227
225
|
children: t32
|
|
228
226
|
});
|
|
229
|
-
$[37] =
|
|
227
|
+
$[37] = t31;
|
|
230
228
|
$[38] = t32;
|
|
231
229
|
$[39] = t33;
|
|
232
230
|
} else t33 = $[39];
|
|
233
231
|
let t34;
|
|
234
|
-
if ($[40] !==
|
|
235
|
-
t34 = /* @__PURE__ */ jsx(
|
|
236
|
-
|
|
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] =
|
|
241
|
-
$[41] =
|
|
242
|
-
$[42] =
|
|
243
|
-
|
|
244
|
-
} else t34 = $[43];
|
|
237
|
+
$[40] = t28;
|
|
238
|
+
$[41] = t33;
|
|
239
|
+
$[42] = t34;
|
|
240
|
+
} else t34 = $[42];
|
|
245
241
|
let t35;
|
|
246
|
-
if ($[
|
|
247
|
-
t35 = /* @__PURE__ */
|
|
248
|
-
|
|
249
|
-
|
|
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
|
-
$[
|
|
252
|
-
$[
|
|
253
|
-
$[
|
|
254
|
-
$[
|
|
255
|
-
|
|
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 ($[
|
|
259
|
-
t36 = /* @__PURE__ */
|
|
260
|
-
|
|
261
|
-
|
|
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
|
-
$[
|
|
267
|
-
$[
|
|
268
|
-
$[
|
|
269
|
-
$[
|
|
270
|
-
$[
|
|
271
|
-
|
|
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 ($[
|
|
275
|
-
t37 = /* @__PURE__ */ jsx(
|
|
276
|
-
|
|
277
|
-
className:
|
|
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
|
-
$[
|
|
281
|
-
$[
|
|
282
|
-
$[
|
|
283
|
-
$[
|
|
284
|
-
$[
|
|
285
|
-
|
|
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 ($[
|
|
288
|
-
t38 = /* @__PURE__ */
|
|
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: [
|
|
308
|
+
children: [t16, t38]
|
|
301
309
|
});
|
|
302
|
-
$[
|
|
303
|
-
$[
|
|
304
|
-
$[
|
|
305
|
-
$[
|
|
306
|
-
$[
|
|
307
|
-
$[
|
|
308
|
-
$[
|
|
309
|
-
$[
|
|
310
|
-
$[
|
|
311
|
-
$[
|
|
312
|
-
$[
|
|
313
|
-
$[
|
|
314
|
-
} else
|
|
315
|
-
return
|
|
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);
|