@vlrc-fe/components 2.7.0 → 2.8.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/CHANGELOG.md +25 -0
- package/dist/ConfirmModal.d.ts +2 -3
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown/types.d.ts +1 -1
- package/dist/Dropdown/types.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/Form/FormSelect/types.d.ts +1 -1
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.d.ts +3 -31
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/type.d.ts +1 -0
- package/dist/MultiSelect/type.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/type.d.ts +1 -1
- package/dist/Select/type.d.ts.map +1 -1
- package/dist/Typography/Code.d.ts.map +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/types.d.ts +37 -1
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/utils.d.ts +3 -2
- package/dist/Typography/utils.d.ts.map +1 -1
- package/dist/assets/stylex.css +36 -24
- package/dist/index.cjs +1 -1
- package/dist/index.js +108 -108
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +18 -55
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +89 -89
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +29 -29
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +128 -124
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +16 -16
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +2 -2
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +114 -117
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +95 -92
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +41 -41
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +36 -164
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +1 -1
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +1 -1
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +128 -120
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +151 -151
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +96 -91
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +18 -18
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +2 -2
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +15 -15
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +147 -103
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +10 -10
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +31 -31
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +3 -3
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +2 -2
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +53 -49
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +35 -38
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +114 -107
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +8 -8
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +53 -53
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +130 -102
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +134 -130
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +7 -7
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +95 -95
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +113 -99
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +8 -8
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +16 -16
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +20 -20
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +154 -80
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +2 -2
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +24 -24
- package/dist/index142.cjs +1 -1
- package/dist/index142.js +2 -2
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +15 -15
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +3 -3
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +2 -2
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +88 -88
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +64 -64
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +116 -63
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +9 -9
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +41 -41
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +73 -73
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +34 -34
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +8 -8
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +30 -30
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +21 -21
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +60 -91
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +59 -59
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +2 -2
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +50 -50
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +11 -11
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +33 -33
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +11 -11
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +2 -2
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +7 -7
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +74 -65
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +122 -15
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +9 -9
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +7 -7
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +12 -12
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +15 -15
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +13 -13
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +2 -2
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +140 -115
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +4 -4
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +47 -47
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +15 -268
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +36 -25
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +4 -4
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +5 -8
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +5 -15
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +5 -20
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +5 -16
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +8 -5
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +11 -281
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +7 -4
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +12 -6
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +6 -5
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +6 -5
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +6 -7
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +10 -68
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +9 -10
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +5 -201
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +7 -123
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +7 -31
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +26 -11
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +66 -17
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +8 -68
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +13 -13
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +6 -6
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +15 -278
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +171 -126
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +21 -19
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +16 -8
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +123 -13
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +19 -7
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +29 -26
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +8 -6
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +9 -9
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +13 -8
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +9 -4
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +9 -6
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +4 -6
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +42 -9
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +386 -8
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +37 -14
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +22 -10
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +367 -59
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +57 -9
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +39 -4
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +116 -35
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +85 -387
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +87 -35
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +116 -18
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +97 -55
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +154 -37
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +76 -121
- package/dist/index229.cjs +9 -1
- package/dist/index229.js +588 -77
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +212 -29
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +64 -68
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +42 -115
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +65 -98
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +48 -149
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +98 -68
- package/dist/index235.cjs +1 -9
- package/dist/index235.js +214 -580
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +29 -66
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +23 -40
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +55 -59
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +419 -46
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +200 -312
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +30 -97
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +205 -196
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +228 -124
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +161 -86
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +89 -143
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +140 -76
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +92 -84
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +84 -26
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +26 -35
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +39 -86
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +84 -231
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +234 -44
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +39 -26
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +30 -14
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +14 -13
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +13 -3
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +4 -87
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +83 -174
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +66 -142
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +217 -62
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +135 -47
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +47 -260
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +273 -8
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +7 -4
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +4 -503
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +472 -177
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +205 -23
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +21 -1008
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1014 -21
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +22 -207
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +181 -130
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +132 -99
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +123 -19
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +17 -79
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +75 -90
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +91 -9
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +12 -91
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +62 -5
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +92 -31
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +29 -208
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +123 -99
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +17 -17
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +28 -28
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +30 -30
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +11 -11
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +22 -28
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +20 -20
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +7 -7
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +28 -28
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +28 -61
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +60 -15
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/calendar.d.ts +1 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/command.d.ts +1 -1
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +1 -1
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/pagination.d.ts +3 -1
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +1 -1
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/useBreakpoint.d.ts +0 -4
- package/dist/ui/useBreakpoint.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index242.cjs +0 -1
- package/dist/index242.js +0 -25
- package/dist/index243.cjs +0 -1
- package/dist/index243.js +0 -26
- package/dist/index244.cjs +0 -1
- package/dist/index244.js +0 -63
- package/dist/index245.cjs +0 -1
- package/dist/index245.js +0 -422
- package/dist/index246.cjs +0 -1
- package/dist/index246.js +0 -25
- package/dist/index247.cjs +0 -1
- package/dist/index247.js +0 -209
package/dist/index133.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { createContextScope as e } from "./
|
|
3
|
-
import { useComposedRefs as t } from "./
|
|
4
|
-
import { composeEventHandlers as n } from "./
|
|
5
|
-
import { Primitive as r, dispatchDiscreteCustomEvent as i } from "./
|
|
6
|
-
import { useCallbackRef as a } from "./
|
|
7
|
-
import { useLayoutEffect as o } from "./
|
|
8
|
-
import { useControllableState as s } from "./
|
|
9
|
-
import { Presence as c } from "./
|
|
10
|
-
import { useId as l } from "./
|
|
2
|
+
import { createContextScope as e } from "./index30.js";
|
|
3
|
+
import { useComposedRefs as t } from "./index31.js";
|
|
4
|
+
import { composeEventHandlers as n } from "./index32.js";
|
|
5
|
+
import { Primitive as r, dispatchDiscreteCustomEvent as i } from "./index35.js";
|
|
6
|
+
import { useCallbackRef as a } from "./index38.js";
|
|
7
|
+
import { useLayoutEffect as o } from "./index39.js";
|
|
8
|
+
import { useControllableState as s } from "./index57.js";
|
|
9
|
+
import { Presence as c } from "./index58.js";
|
|
10
|
+
import { useId as l } from "./index59.js";
|
|
11
11
|
import { createCollection as u } from "./index64.js";
|
|
12
12
|
import { DismissableLayer as d } from "./index65.js";
|
|
13
13
|
import { usePrevious as f } from "./index131.js";
|
|
14
14
|
import { Root as p } from "./index132.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
16
|
+
import * as _ from "react";
|
|
17
17
|
import * as v from "react-dom";
|
|
18
18
|
import { useDirection as y } from "@radix-ui/react-direction";
|
|
19
19
|
// ../../node_modules/.pnpm/@radix-ui+react-navigation-menu@1.2.22_@types+react-dom@19.3.0_@types+react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.mjs
|
|
20
20
|
var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
21
21
|
value: t,
|
|
22
22
|
configurable: !0
|
|
23
|
-
}), S = "NavigationMenu", [C, w, T] = u(S), [E, D, O] = u(S), [k, ee] = e(S, [T, O]), [A, j] = k(S), [te, ne] = k(S), re = /* @__PURE__ */
|
|
24
|
-
let { __scopeNavigationMenu: i, value: a, onValueChange: o, defaultValue: c, delayDuration: l = 200, skipDelayDuration: u = 300, orientation: d = "horizontal", dir: f, ...p } = e, [
|
|
23
|
+
}), S = "NavigationMenu", [C, w, T] = u(S), [E, D, O] = u(S), [k, ee] = e(S, [T, O]), [A, j] = k(S), [te, ne] = k(S), re = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, n) {
|
|
24
|
+
let { __scopeNavigationMenu: i, value: a, onValueChange: o, defaultValue: c, delayDuration: l = 200, skipDelayDuration: u = 300, orientation: d = "horizontal", dir: f, ...p } = e, [m, g] = _.useState(null), v = t(n, g), b = y(f), C = _.useRef(0), w = _.useRef(0), T = _.useRef(0), [E, D] = _.useState(!0), [O, k] = s({
|
|
25
25
|
prop: a,
|
|
26
26
|
onChange: /* @__PURE__ */ x((e) => {
|
|
27
27
|
let t = e !== "", n = u > 0;
|
|
@@ -29,11 +29,11 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
29
29
|
}, "onChange"),
|
|
30
30
|
defaultProp: c ?? "",
|
|
31
31
|
caller: S
|
|
32
|
-
}), ee =
|
|
32
|
+
}), ee = _.useCallback(() => {
|
|
33
33
|
window.clearTimeout(w.current), w.current = window.setTimeout(() => k(""), 150);
|
|
34
|
-
}, [k]), A =
|
|
34
|
+
}, [k]), A = _.useCallback((e) => {
|
|
35
35
|
window.clearTimeout(w.current), k(e);
|
|
36
|
-
}, [k]), j =
|
|
36
|
+
}, [k]), j = _.useCallback((e) => {
|
|
37
37
|
O === e ? window.clearTimeout(w.current) : C.current = window.setTimeout(() => {
|
|
38
38
|
window.clearTimeout(w.current), k(e);
|
|
39
39
|
}, l);
|
|
@@ -42,15 +42,15 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
42
42
|
k,
|
|
43
43
|
l
|
|
44
44
|
]);
|
|
45
|
-
return
|
|
45
|
+
return _.useEffect(() => () => {
|
|
46
46
|
window.clearTimeout(C.current), window.clearTimeout(w.current), window.clearTimeout(T.current);
|
|
47
|
-
}, []), /* @__PURE__ */
|
|
47
|
+
}, []), /* @__PURE__ */ h(ie, {
|
|
48
48
|
scope: i,
|
|
49
49
|
isRootMenu: !0,
|
|
50
50
|
value: O,
|
|
51
51
|
dir: b,
|
|
52
52
|
orientation: d,
|
|
53
|
-
rootNavigationMenu:
|
|
53
|
+
rootNavigationMenu: m,
|
|
54
54
|
onTriggerEnter: (e) => {
|
|
55
55
|
window.clearTimeout(C.current), E ? j(e) : A(e);
|
|
56
56
|
},
|
|
@@ -63,7 +63,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
63
63
|
k((t) => t === e ? "" : e);
|
|
64
64
|
},
|
|
65
65
|
onItemDismiss: () => k(""),
|
|
66
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ h(r.nav, {
|
|
67
67
|
"aria-label": "Main",
|
|
68
68
|
"data-orientation": d,
|
|
69
69
|
dir: b,
|
|
@@ -72,8 +72,8 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}, "NavigationMenu")), ie = /* @__PURE__ */ x((e) => {
|
|
75
|
-
let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: o, children: s, value: c, onItemSelect: u, onItemDismiss: d, onTriggerEnter: p, onTriggerLeave:
|
|
76
|
-
return /* @__PURE__ */
|
|
75
|
+
let { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: i, orientation: o, children: s, value: c, onItemSelect: u, onItemDismiss: d, onTriggerEnter: p, onTriggerLeave: m, onContentEnter: g, onContentLeave: v } = e, [y, b] = _.useState(null), [x, S] = _.useState(/* @__PURE__ */ new Map()), [w, T] = _.useState(null);
|
|
76
|
+
return /* @__PURE__ */ h(A, {
|
|
77
77
|
scope: t,
|
|
78
78
|
isRootMenu: n,
|
|
79
79
|
rootNavigationMenu: r,
|
|
@@ -87,80 +87,80 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
87
87
|
indicatorTrack: w,
|
|
88
88
|
onIndicatorTrackChange: T,
|
|
89
89
|
onTriggerEnter: a(p),
|
|
90
|
-
onTriggerLeave: a(
|
|
91
|
-
onContentEnter: a(
|
|
90
|
+
onTriggerLeave: a(m),
|
|
91
|
+
onContentEnter: a(g),
|
|
92
92
|
onContentLeave: a(v),
|
|
93
93
|
onItemSelect: a(u),
|
|
94
94
|
onItemDismiss: a(d),
|
|
95
|
-
onViewportContentChange:
|
|
95
|
+
onViewportContentChange: _.useCallback((e, t) => {
|
|
96
96
|
S((n) => (n.set(e, t), new Map(n)));
|
|
97
97
|
}, []),
|
|
98
|
-
onViewportContentRemove:
|
|
98
|
+
onViewportContentRemove: _.useCallback((e) => {
|
|
99
99
|
S((t) => t.has(e) ? (t.delete(e), new Map(t)) : t);
|
|
100
100
|
}, []),
|
|
101
|
-
children: /* @__PURE__ */
|
|
101
|
+
children: /* @__PURE__ */ h(C.Provider, {
|
|
102
102
|
scope: t,
|
|
103
|
-
children: /* @__PURE__ */
|
|
103
|
+
children: /* @__PURE__ */ h(te, {
|
|
104
104
|
scope: t,
|
|
105
105
|
items: x,
|
|
106
106
|
children: s
|
|
107
107
|
})
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
|
-
}, "NavigationMenuProvider"), ae = "NavigationMenuList", oe = /* @__PURE__ */
|
|
111
|
-
let { __scopeNavigationMenu: n, ...i } = e, a = j(ae, n), o = /* @__PURE__ */
|
|
110
|
+
}, "NavigationMenuProvider"), ae = "NavigationMenuList", oe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
111
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = j(ae, n), o = /* @__PURE__ */ h(r.ul, {
|
|
112
112
|
"data-orientation": a.orientation,
|
|
113
113
|
...i,
|
|
114
114
|
ref: t
|
|
115
115
|
});
|
|
116
|
-
return /* @__PURE__ */
|
|
116
|
+
return /* @__PURE__ */ h(r.div, {
|
|
117
117
|
style: { position: "relative" },
|
|
118
118
|
ref: a.onIndicatorTrackChange,
|
|
119
|
-
children: /* @__PURE__ */
|
|
119
|
+
children: /* @__PURE__ */ h(C.Slot, {
|
|
120
120
|
scope: n,
|
|
121
|
-
children: a.isRootMenu ? /* @__PURE__ */
|
|
121
|
+
children: a.isRootMenu ? /* @__PURE__ */ h(W, {
|
|
122
122
|
asChild: !0,
|
|
123
123
|
children: o
|
|
124
124
|
}) : o
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
|
-
}, "NavigationMenuList")), [se, ce] = k("NavigationMenuItem"), le = /* @__PURE__ */
|
|
128
|
-
let { __scopeNavigationMenu: n, value: i, ...a } = e, o = l(), s = i || o || "LEGACY_REACT_AUTO_VALUE", c =
|
|
127
|
+
}, "NavigationMenuList")), [se, ce] = k("NavigationMenuItem"), le = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
128
|
+
let { __scopeNavigationMenu: n, value: i, ...a } = e, o = l(), s = i || o || "LEGACY_REACT_AUTO_VALUE", c = _.useRef(null), u = _.useRef(null), d = _.useRef(null), f = _.useRef(() => {}), p = _.useRef(!1), m = _.useCallback((e = "start") => {
|
|
129
129
|
if (c.current) {
|
|
130
130
|
f.current();
|
|
131
131
|
let t = q(c.current);
|
|
132
132
|
t.length && J(e === "start" ? t : t.reverse());
|
|
133
133
|
}
|
|
134
|
-
}, []),
|
|
134
|
+
}, []), g = _.useCallback(() => {
|
|
135
135
|
if (c.current) {
|
|
136
136
|
let e = q(c.current);
|
|
137
137
|
e.length && (f.current = ge(e));
|
|
138
138
|
}
|
|
139
139
|
}, []);
|
|
140
|
-
return /* @__PURE__ */
|
|
140
|
+
return /* @__PURE__ */ h(se, {
|
|
141
141
|
scope: n,
|
|
142
142
|
value: s,
|
|
143
143
|
triggerRef: u,
|
|
144
144
|
contentRef: c,
|
|
145
145
|
focusProxyRef: d,
|
|
146
146
|
wasEscapeCloseRef: p,
|
|
147
|
-
onEntryKeyDown:
|
|
148
|
-
onFocusProxyEnter:
|
|
149
|
-
onRootContentClose:
|
|
150
|
-
onContentFocusOutside:
|
|
151
|
-
children: /* @__PURE__ */
|
|
147
|
+
onEntryKeyDown: m,
|
|
148
|
+
onFocusProxyEnter: m,
|
|
149
|
+
onRootContentClose: g,
|
|
150
|
+
onContentFocusOutside: g,
|
|
151
|
+
children: /* @__PURE__ */ h(r.li, {
|
|
152
152
|
...a,
|
|
153
153
|
ref: t
|
|
154
154
|
})
|
|
155
155
|
});
|
|
156
|
-
}, "NavigationMenuItem")), M = "NavigationMenuTrigger", N = /* @__PURE__ */
|
|
157
|
-
let { __scopeNavigationMenu: a, disabled: o, ...s } = e, c = j(M, e.__scopeNavigationMenu), l = ce(M, e.__scopeNavigationMenu), u =
|
|
158
|
-
return /* @__PURE__ */
|
|
156
|
+
}, "NavigationMenuItem")), M = "NavigationMenuTrigger", N = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, i) {
|
|
157
|
+
let { __scopeNavigationMenu: a, disabled: o, ...s } = e, c = j(M, e.__scopeNavigationMenu), l = ce(M, e.__scopeNavigationMenu), u = _.useRef(null), d = t(u, l.triggerRef, i), f = Z(c.baseId, l.value), v = Q(c.baseId, l.value), y = _.useRef(!1), b = _.useRef(!1), x = l.value === c.value;
|
|
158
|
+
return /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(C.ItemSlot, {
|
|
159
159
|
scope: a,
|
|
160
160
|
value: l.value,
|
|
161
|
-
children: /* @__PURE__ */
|
|
161
|
+
children: /* @__PURE__ */ h(K, {
|
|
162
162
|
asChild: !0,
|
|
163
|
-
children: /* @__PURE__ */
|
|
163
|
+
children: /* @__PURE__ */ h(r.button, {
|
|
164
164
|
id: f,
|
|
165
165
|
disabled: o,
|
|
166
166
|
"data-disabled": o ? "" : void 0,
|
|
@@ -190,7 +190,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
190
190
|
})
|
|
191
191
|
})
|
|
192
192
|
})
|
|
193
|
-
}), x && /* @__PURE__ */
|
|
193
|
+
}), x && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(p, {
|
|
194
194
|
"aria-hidden": !0,
|
|
195
195
|
tabIndex: 0,
|
|
196
196
|
ref: l.focusProxyRef,
|
|
@@ -198,12 +198,12 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
198
198
|
let t = l.contentRef.current, n = e.relatedTarget, r = n === u.current, i = t?.contains(n);
|
|
199
199
|
(r || !i) && l.onFocusProxyEnter(r ? "start" : "end");
|
|
200
200
|
}
|
|
201
|
-
}), c.viewport && /* @__PURE__ */
|
|
202
|
-
}, "NavigationMenuTrigger")), P = "navigationMenu.linkSelect", F = /* @__PURE__ */
|
|
201
|
+
}), c.viewport && /* @__PURE__ */ h("span", { "aria-owns": v })] })] });
|
|
202
|
+
}, "NavigationMenuTrigger")), P = "navigationMenu.linkSelect", F = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
203
203
|
let { __scopeNavigationMenu: a, active: o, onSelect: s, ...c } = e;
|
|
204
|
-
return /* @__PURE__ */
|
|
204
|
+
return /* @__PURE__ */ h(K, {
|
|
205
205
|
asChild: !0,
|
|
206
|
-
children: /* @__PURE__ */
|
|
206
|
+
children: /* @__PURE__ */ h(r.a, {
|
|
207
207
|
"data-active": o ? "" : void 0,
|
|
208
208
|
"aria-current": o ? "page" : void 0,
|
|
209
209
|
...c,
|
|
@@ -223,18 +223,18 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
223
223
|
}, { checkForDefaultPrevented: !1 })
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
|
-
}, "NavigationMenuLink")), I = "NavigationMenuIndicator", L = /* @__PURE__ */
|
|
226
|
+
}, "NavigationMenuLink")), I = "NavigationMenuIndicator", L = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
227
227
|
let { forceMount: n, ...r } = e, i = j(I, e.__scopeNavigationMenu), a = !!i.value;
|
|
228
|
-
return i.indicatorTrack ? v.createPortal(/* @__PURE__ */
|
|
228
|
+
return i.indicatorTrack ? v.createPortal(/* @__PURE__ */ h(c, {
|
|
229
229
|
present: n || a,
|
|
230
|
-
children: /* @__PURE__ */
|
|
230
|
+
children: /* @__PURE__ */ h(ue, {
|
|
231
231
|
...r,
|
|
232
232
|
ref: t
|
|
233
233
|
})
|
|
234
234
|
}), i.indicatorTrack) : null;
|
|
235
|
-
}, "NavigationMenuIndicator")), ue = /* @__PURE__ */
|
|
236
|
-
let { __scopeNavigationMenu: n, ...i } = e, a = j(I, n), o = w(n), [s, c] =
|
|
237
|
-
|
|
235
|
+
}, "NavigationMenuIndicator")), ue = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
236
|
+
let { __scopeNavigationMenu: n, ...i } = e, a = j(I, n), o = w(n), [s, c] = _.useState(null), [l, u] = _.useState(null), d = a.orientation === "horizontal", f = !!a.value;
|
|
237
|
+
_.useEffect(() => {
|
|
238
238
|
let e = o().find((e) => e.value === a.value)?.ref.current;
|
|
239
239
|
e && c(e);
|
|
240
240
|
}, [o, a.value]);
|
|
@@ -244,7 +244,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
244
244
|
offset: d ? s.offsetLeft : s.offsetTop
|
|
245
245
|
});
|
|
246
246
|
}, "handlePositionChange");
|
|
247
|
-
return Y(s, p), Y(a.indicatorTrack, p), l ? /* @__PURE__ */
|
|
247
|
+
return Y(s, p), Y(a.indicatorTrack, p), l ? /* @__PURE__ */ h(r.div, {
|
|
248
248
|
"aria-hidden": !0,
|
|
249
249
|
"data-state": f ? "visible" : "hidden",
|
|
250
250
|
"data-orientation": a.orientation,
|
|
@@ -266,7 +266,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
266
266
|
...i.style
|
|
267
267
|
}
|
|
268
268
|
}) : null;
|
|
269
|
-
}, "NavigationMenuIndicatorImpl")), R = "NavigationMenuContent", z = /* @__PURE__ */
|
|
269
|
+
}, "NavigationMenuIndicatorImpl")), R = "NavigationMenuContent", z = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, r) {
|
|
270
270
|
let { forceMount: i, ...a } = e, o = j(R, e.__scopeNavigationMenu), s = ce(R, e.__scopeNavigationMenu), l = t(s.contentRef, r), u = s.value === o.value, d = {
|
|
271
271
|
value: s.value,
|
|
272
272
|
triggerRef: s.triggerRef,
|
|
@@ -276,13 +276,13 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
276
276
|
onRootContentClose: s.onRootContentClose,
|
|
277
277
|
...a
|
|
278
278
|
};
|
|
279
|
-
return o.viewport ? /* @__PURE__ */
|
|
279
|
+
return o.viewport ? /* @__PURE__ */ h(de, {
|
|
280
280
|
forceMount: i,
|
|
281
281
|
...d,
|
|
282
282
|
ref: l
|
|
283
|
-
}) : /* @__PURE__ */
|
|
283
|
+
}) : /* @__PURE__ */ h(c, {
|
|
284
284
|
present: i || u,
|
|
285
|
-
children: /* @__PURE__ */
|
|
285
|
+
children: /* @__PURE__ */ h(V, {
|
|
286
286
|
"data-state": X(u),
|
|
287
287
|
...d,
|
|
288
288
|
ref: l,
|
|
@@ -294,7 +294,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
294
294
|
}
|
|
295
295
|
})
|
|
296
296
|
});
|
|
297
|
-
}, "NavigationMenuContent")), de = /* @__PURE__ */
|
|
297
|
+
}, "NavigationMenuContent")), de = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
298
298
|
let { onViewportContentChange: n, onViewportContentRemove: r } = j(R, e.__scopeNavigationMenu);
|
|
299
299
|
return o(() => {
|
|
300
300
|
n(e.value, {
|
|
@@ -306,10 +306,10 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
306
306
|
t,
|
|
307
307
|
n
|
|
308
308
|
]), o(() => () => r(e.value), [e.value, r]), null;
|
|
309
|
-
}, "ViewportContentMounter")), B = "navigationMenu.rootContentDismiss", V = /* @__PURE__ */
|
|
310
|
-
let { __scopeNavigationMenu: i, value: a, triggerRef: o, focusProxyRef: s, wasEscapeCloseRef: c, onRootContentClose: l, onContentFocusOutside: u, ...f } = e, p = j(R, i),
|
|
311
|
-
|
|
312
|
-
let e =
|
|
309
|
+
}, "ViewportContentMounter")), B = "navigationMenu.rootContentDismiss", V = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, r) {
|
|
310
|
+
let { __scopeNavigationMenu: i, value: a, triggerRef: o, focusProxyRef: s, wasEscapeCloseRef: c, onRootContentClose: l, onContentFocusOutside: u, ...f } = e, p = j(R, i), m = _.useRef(null), g = t(m, r), v = Z(p.baseId, a), y = Q(p.baseId, a), b = w(i), S = _.useRef(null), { onItemDismiss: C } = p;
|
|
311
|
+
_.useEffect(() => {
|
|
312
|
+
let e = m.current;
|
|
313
313
|
if (p.isRootMenu && e) {
|
|
314
314
|
let t = /* @__PURE__ */ x(() => {
|
|
315
315
|
C(), l(), e.contains(document.activeElement) && o.current?.focus();
|
|
@@ -323,7 +323,7 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
323
323
|
C,
|
|
324
324
|
l
|
|
325
325
|
]);
|
|
326
|
-
let T =
|
|
326
|
+
let T = _.useMemo(() => {
|
|
327
327
|
let e = b().map((e) => e.value);
|
|
328
328
|
p.dir === "rtl" && e.reverse();
|
|
329
329
|
let t = e.indexOf(p.value), n = e.indexOf(p.previousValue), r = a === p.value, i = n === e.indexOf(a);
|
|
@@ -343,22 +343,22 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
343
343
|
b,
|
|
344
344
|
a
|
|
345
345
|
]);
|
|
346
|
-
return /* @__PURE__ */
|
|
346
|
+
return /* @__PURE__ */ h(W, {
|
|
347
347
|
asChild: !0,
|
|
348
|
-
children: /* @__PURE__ */
|
|
348
|
+
children: /* @__PURE__ */ h(d, {
|
|
349
349
|
id: y,
|
|
350
350
|
"aria-labelledby": v,
|
|
351
351
|
"data-motion": T,
|
|
352
352
|
"data-orientation": p.orientation,
|
|
353
353
|
...f,
|
|
354
|
-
ref:
|
|
354
|
+
ref: g,
|
|
355
355
|
disableOutsidePointerEvents: !1,
|
|
356
356
|
onDismiss: () => {
|
|
357
357
|
let e = new Event(B, {
|
|
358
358
|
bubbles: !0,
|
|
359
359
|
cancelable: !0
|
|
360
360
|
});
|
|
361
|
-
|
|
361
|
+
m.current?.dispatchEvent(e);
|
|
362
362
|
},
|
|
363
363
|
onFocusOutside: n(e.onFocusOutside, (e) => {
|
|
364
364
|
u();
|
|
@@ -381,23 +381,23 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
381
381
|
})
|
|
382
382
|
})
|
|
383
383
|
});
|
|
384
|
-
}, "NavigationMenuContentImpl")), H = "NavigationMenuViewport", U = /* @__PURE__ */
|
|
384
|
+
}, "NavigationMenuContentImpl")), H = "NavigationMenuViewport", U = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
385
385
|
let { forceMount: n, ...r } = e, i = !!j(H, e.__scopeNavigationMenu).value;
|
|
386
|
-
return /* @__PURE__ */
|
|
386
|
+
return /* @__PURE__ */ h(c, {
|
|
387
387
|
present: n || i,
|
|
388
|
-
children: /* @__PURE__ */
|
|
388
|
+
children: /* @__PURE__ */ h(fe, {
|
|
389
389
|
...r,
|
|
390
390
|
ref: t
|
|
391
391
|
})
|
|
392
392
|
});
|
|
393
|
-
}, "NavigationMenuViewport")), fe = /* @__PURE__ */
|
|
394
|
-
let { __scopeNavigationMenu: a, children: o, ...s } = e, l = j(H, a), u = t(i, l.onViewportChange), d = ne(R, e.__scopeNavigationMenu), [f, p] =
|
|
395
|
-
return Y(
|
|
396
|
-
|
|
397
|
-
width:
|
|
398
|
-
height:
|
|
393
|
+
}, "NavigationMenuViewport")), fe = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, i) {
|
|
394
|
+
let { __scopeNavigationMenu: a, children: o, ...s } = e, l = j(H, a), u = t(i, l.onViewportChange), d = ne(R, e.__scopeNavigationMenu), [f, p] = _.useState(null), [m, g] = _.useState(null), v = f ? f?.width + "px" : void 0, y = f ? f?.height + "px" : void 0, b = !!l.value, S = b ? l.value : l.previousValue;
|
|
395
|
+
return Y(m, /* @__PURE__ */ x(() => {
|
|
396
|
+
m && p({
|
|
397
|
+
width: m.offsetWidth,
|
|
398
|
+
height: m.offsetHeight
|
|
399
399
|
});
|
|
400
|
-
}, "handleSizeChange")), /* @__PURE__ */
|
|
400
|
+
}, "handleSizeChange")), /* @__PURE__ */ h(r.div, {
|
|
401
401
|
"data-state": X(b),
|
|
402
402
|
"data-orientation": l.orientation,
|
|
403
403
|
...s,
|
|
@@ -412,32 +412,32 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
412
412
|
onPointerLeave: n(e.onPointerLeave, $(l.onContentLeave)),
|
|
413
413
|
children: Array.from(d.items).map(([e, { ref: t, forceMount: n, ...r }]) => {
|
|
414
414
|
let i = S === e;
|
|
415
|
-
return /* @__PURE__ */
|
|
415
|
+
return /* @__PURE__ */ h(c, {
|
|
416
416
|
present: n || i,
|
|
417
|
-
children: /* @__PURE__ */
|
|
417
|
+
children: /* @__PURE__ */ h(pe, {
|
|
418
418
|
...r,
|
|
419
419
|
contentRef: t,
|
|
420
420
|
isActive: i,
|
|
421
|
-
onActiveContentChange:
|
|
421
|
+
onActiveContentChange: g
|
|
422
422
|
})
|
|
423
423
|
}, e);
|
|
424
424
|
})
|
|
425
425
|
});
|
|
426
426
|
}, "NavigationMenuViewportImpl")), pe = /* @__PURE__ */ x(({ contentRef: e, isActive: n, onActiveContentChange: r, ...i }) => {
|
|
427
|
-
let a =
|
|
427
|
+
let a = _.useCallback((e) => {
|
|
428
428
|
n && e && r(e);
|
|
429
429
|
}, [n, r]), o = t(e, a);
|
|
430
|
-
return /* @__PURE__ */
|
|
430
|
+
return /* @__PURE__ */ h(V, {
|
|
431
431
|
...i,
|
|
432
432
|
ref: o
|
|
433
433
|
});
|
|
434
|
-
}, "NavigationMenuViewportItem"), me = "FocusGroup", W = /* @__PURE__ */
|
|
434
|
+
}, "NavigationMenuViewportItem"), me = "FocusGroup", W = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
435
435
|
let { __scopeNavigationMenu: n, ...i } = e, a = j(me, n);
|
|
436
|
-
return /* @__PURE__ */
|
|
436
|
+
return /* @__PURE__ */ h(E.Provider, {
|
|
437
437
|
scope: n,
|
|
438
|
-
children: /* @__PURE__ */
|
|
438
|
+
children: /* @__PURE__ */ h(E.Slot, {
|
|
439
439
|
scope: n,
|
|
440
|
-
children: /* @__PURE__ */
|
|
440
|
+
children: /* @__PURE__ */ h(r.div, {
|
|
441
441
|
dir: a.dir,
|
|
442
442
|
...i,
|
|
443
443
|
ref: t
|
|
@@ -449,11 +449,11 @@ var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
|
449
449
|
"ArrowLeft",
|
|
450
450
|
"ArrowUp",
|
|
451
451
|
"ArrowDown"
|
|
452
|
-
], he = "FocusGroupItem", K = /* @__PURE__ */
|
|
452
|
+
], he = "FocusGroupItem", K = /* @__PURE__ */ _.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
453
453
|
let { __scopeNavigationMenu: i, ...a } = e, o = D(i), s = j(he, i);
|
|
454
|
-
return /* @__PURE__ */
|
|
454
|
+
return /* @__PURE__ */ h(E.ItemSlot, {
|
|
455
455
|
scope: i,
|
|
456
|
-
children: /* @__PURE__ */
|
|
456
|
+
children: /* @__PURE__ */ h(r.button, {
|
|
457
457
|
...a,
|
|
458
458
|
ref: t,
|
|
459
459
|
onKeyDown: n(e.onKeyDown, (e) => {
|
package/dist/index134.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index46.cjs"),n=require("./index133.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("lucide-react"),a=require("react/jsx-runtime"),o=require("react");o=e.__toESM(o,1);let s=require("react/compiler-runtime");var c={root:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,ks0D6T:`x1t8xbu`,kUk6DE:`x98rzlu`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,$$css:!0},list:{k1xSpc:`x78zum5`,kUk6DE:`x98rzlu`,kH6xsr:`x3ct3a4`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`xvh977a`,$$css:!0},item:{kVAEAm:`x1n2onr6`,$$css:!0},trigger:{k1xSpc:`x3nfvp2`,kZKoxP:`xk8t5le`,kzqmXN:`xezivpi`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xsda711`,kWkggS:`x1mlyrtw`,kg3NbH:`xnxx81d`,k8WAf4:`x18g2hj5`,kGuDYH:`xkpwil5`,k63SB2:`xk50ysn`,kI3sdo:`x1a2a7pz`,kMwMTN:`x84br7x`,kkrTdU:`x1ypdohk`,k1ekBW:`xs2xxs2`,kIyJzY:`x1g2r6go`,kGzVvX:`x9p52ec`,kDPRdz:`x10ubyu6`,kL3a3j:`xo7ysg2`,kabz5l:`xq7ews2`,k7HAVu:`xaqnwrm`,kWCcOm:`xijokvz`,$$css:!0},content:{k87sOh:`x13vifvy`,kbCHJM:`xu96u03`,kzqmXN:`x14atkfc`,kmVPX3:`x7gbtqy`,kpe85a:`x19pir32`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`xa4jey1`,kMwMTN:`x5e7vtp`,kGVxlE:`x168hgf8`,$$css:!0},viewport:{kVAEAm:`x1n2onr6`,keoZOQ:`x5j7nwy`,kVQacm:`xb3r6kr`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kWkggS:`xa4jey1`,kMwMTN:`x5e7vtp`,kGVxlE:`x168hgf8`,$$css:!0},link:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,kaIpWk:`x1q0v2j7`,kmVPX3:`x7gbtqy`,kGuDYH:`xkpwil5`,kI3sdo:`x1a2a7pz`,kMwMTN:`x84br7x`,k1ekBW:`xs2xxs2`,kIyJzY:`x1g2r6go`,kGzVvX:`x9p52ec`,kDPRdz:`x10ubyu6`,kL3a3j:`xo7ysg2`,kabz5l:`xq7ews2`,$$css:!0},indicator:{kVAEAm:`x1n2onr6`,k87sOh:`xdsb8wn`,kY2c9j:`x1vjfegm`,k1xSpc:`x78zum5`,kZKoxP:`x4j2xbe`,kGNEyG:`xuk3077`,kjj79g:`xl56j7k`,kVQacm:`xb3r6kr`,$$css:!0}};function l({className:e,children:i,viewport:o=!0,sx:s,...l}){let u=r.props(c.root,s);return(0,a.jsxs)(n.Root,{"data-slot":`navigation-menu`,"data-viewport":o,...u,className:t.cn(u.className,e),...l,children:[i,o&&(0,a.jsx)(h,{})]})}function u(e){let i=(0,s.c)(16),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m;if(i[4]!==o||i[5]!==u){let e=r.props(c.list,u);d=n.List,f=`navigation-menu-list`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m}else d=i[6],f=i[7],p=i[8],m=i[9];let h;return i[10]!==d||i[11]!==l||i[12]!==f||i[13]!==p||i[14]!==m?(h=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l}),i[10]=d,i[11]=l,i[12]=f,i[13]=p,i[14]=m,i[15]=h):h=i[15],h}function d(e){let i=(0,s.c)(16),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m;if(i[4]!==o||i[5]!==u){let e=r.props(c.item,u);d=n.Item,f=`navigation-menu-item`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m}else d=i[6],f=i[7],p=i[8],m=i[9];let h;return i[10]!==d||i[11]!==l||i[12]!==f||i[13]!==p||i[14]!==m?(h=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l}),i[10]=d,i[11]=l,i[12]=f,i[13]=p,i[14]=m,i[15]=h):h=i[15],h}var f=()=>``;function p(e){let o=(0,s.c)(19),l,u,d,f;o[0]===e?(l=o[1],u=o[2],d=o[3],f=o[4]):({className:u,children:l,sx:f,...d}=e,o[0]=e,o[1]=l,o[2]=u,o[3]=d,o[4]=f);let p,m,h,g;if(o[5]!==u||o[6]!==f){let e=r.props(c.trigger,f);p=n.Trigger,m=`navigation-menu-trigger`,h=e,g=t.cn(e.className,u),o[5]=u,o[6]=f,o[7]=p,o[8]=m,o[9]=h,o[10]=g}else p=o[7],m=o[8],h=o[9],g=o[10];let _;o[11]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,a.jsx)(i.ChevronDownIcon,{className:`x1n2onr6 xnfr1j x4aigyd x1jw3ynk xvle69y x11xpdln x1d8287x`,"aria-hidden":`true`}),o[11]=_):_=o[11];let v;return o[12]!==p||o[13]!==l||o[14]!==d||o[15]!==m||o[16]!==h||o[17]!==g?(v=(0,a.jsxs)(p,{"data-slot":m,...h,className:g,...d,children:[l,` `,_]}),o[12]=p,o[13]=l,o[14]=d,o[15]=m,o[16]=h,o[17]=g,o[18]=v):v=o[18],v}function m(e){let i=(0,s.c)(16),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m;if(i[4]!==o||i[5]!==u){let e=r.props(c.content,u);d=n.Content,f=`navigation-menu-content`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m}else d=i[6],f=i[7],p=i[8],m=i[9];let h;return i[10]!==d||i[11]!==l||i[12]!==f||i[13]!==p||i[14]!==m?(h=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l}),i[10]=d,i[11]=l,i[12]=f,i[13]=p,i[14]=m,i[15]=h):h=i[15],h}function h(e){let i=(0,s.c)(20),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m,h;if(i[4]!==o||i[5]!==u){let e=r.props(c.viewport,u);h=`x10l6tqk xdsb8wn xu96u03 xa9119d x78zum5 xl56j7k`,d=n.Viewport,f=`navigation-menu-viewport`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m,i[10]=h}else d=i[6],f=i[7],p=i[8],m=i[9],h=i[10];let g;i[11]!==d||i[12]!==l||i[13]!==f||i[14]!==p||i[15]!==m?(g=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l}),i[11]=d,i[12]=l,i[13]=f,i[14]=p,i[15]=m,i[16]=g):g=i[16];let _;return i[17]!==h||i[18]!==g?(_=(0,a.jsx)(`div`,{className:h,children:g}),i[17]=h,i[18]=g,i[19]=_):_=i[19],_}function g(e){let i=(0,s.c)(16),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m;if(i[4]!==o||i[5]!==u){let e=r.props(c.link,u);d=n.Link,f=`navigation-menu-link`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m}else d=i[6],f=i[7],p=i[8],m=i[9];let h;return i[10]!==d||i[11]!==l||i[12]!==f||i[13]!==p||i[14]!==m?(h=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l}),i[10]=d,i[11]=l,i[12]=f,i[13]=p,i[14]=m,i[15]=h):h=i[15],h}function _(e){let i=(0,s.c)(17),o,l,u;i[0]===e?(o=i[1],l=i[2],u=i[3]):({className:o,sx:u,...l}=e,i[0]=e,i[1]=o,i[2]=l,i[3]=u);let d,f,p,m;if(i[4]!==o||i[5]!==u){let e=r.props(c.indicator,u);d=n.Indicator,f=`navigation-menu-indicator`,p=e,m=t.cn(e.className,o),i[4]=o,i[5]=u,i[6]=d,i[7]=f,i[8]=p,i[9]=m}else d=i[6],f=i[7],p=i[8],m=i[9];let h;i[10]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,a.jsx)(`div`,{className:`x1n2onr6 xgnilib x1jjc1wv x164u9eo x1158fpu x4a0q6d xwefxjc x168hgf8`}),i[10]=h):h=i[10];let g;return i[11]!==d||i[12]!==l||i[13]!==f||i[14]!==p||i[15]!==m?(g=(0,a.jsx)(d,{"data-slot":f,...p,className:m,...l,children:h}),i[11]=d,i[12]=l,i[13]=f,i[14]=p,i[15]=m,i[16]=g):g=i[16],g}exports.NavigationMenu=l,exports.NavigationMenuContent=m,exports.NavigationMenuIndicator=_,exports.NavigationMenuItem=d,exports.NavigationMenuLink=g,exports.NavigationMenuList=u,exports.NavigationMenuTrigger=p,exports.NavigationMenuViewport=h,exports.navigationMenuTriggerStyle=f;
|
package/dist/index134.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { cn as e } from "./
|
|
1
|
+
import { cn as e } from "./index46.js";
|
|
2
2
|
import { Content as t, Indicator as n, Item as r, Link as i, List as a, Root as o, Trigger as s, Viewport as c } from "./index133.js";
|
|
3
|
-
import "react";
|
|
4
3
|
import * as l from "@stylexjs/stylex";
|
|
5
4
|
import { ChevronDownIcon as u } from "lucide-react";
|
|
6
5
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
|
+
import "react";
|
|
7
7
|
import { c as p } from "react/compiler-runtime";
|
|
8
8
|
// src/ui/navigation-menu.tsx
|
|
9
9
|
var m = {
|
package/dist/index135.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs")
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index14.cjs");let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("lucide-react"),i=require("react/jsx-runtime"),a=require("react"),o=e.__toESM(a,1);a=e.__toESM(a);let s=require("react/compiler-runtime");var c={nav:{k1xSpc:`x78zum5`,kjj79g:`xl56j7k`,kzqmXN:`xh8yej3`,$$css:!0},content:{k1xSpc:`x78zum5`,kXwgrk:`x1q0g3np`,kGNEyG:`x6s0dn4`,kB88ic:`xe8uvvx`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,kOIVth:`xvh977a`,$$css:!0},item:{kB88ic:`xe8uvvx`,kogj98:`x1ghz6dp`,kmVPX3:`x1717udv`,$$css:!0},link:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`x9r1u3d`,kybGjl:`x1hl2dhg`,kkrTdU:`x1ypdohk`,kfSwDN:`x87ps6o`,k63SB2:`xk50ysn`,kMwMTN:`x84br7x`,kWkggS:`xjbqb8w`,k1ekBW:`xgzoi8n`,kIyJzY:`xx6bhzk`,kI3sdo:`x1a2a7pz`,kB7OPa:`x9f619`,kGzVvX:`x9p52ec`,kDPRdz:`x10ubyu6`,k3Woio:`xybh4k3`,kiEn40:`x7s97pk`,$$css:!0},linkActive:{kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kGVxlE:`x1dsmnui`,kGzVvX:`x1t2d6ln`,$$css:!0},linkXxs:{kZKoxP:`xam5rvr`,k7Eaqz:`x1vi9356`,kGuDYH:`x12lo8hy`,kg3NbH:`x18a9hih`,kOIVth:`xvh977a`,$$css:!0},linkXs:{kZKoxP:`xb8l8e1`,k7Eaqz:`x1xkahga`,kGuDYH:`xboafo0`,kg3NbH:`x97vtpp`,kOIVth:`xvh977a`,$$css:!0},linkSm:{kZKoxP:`xettwda`,k7Eaqz:`x19hwnzc`,kGuDYH:`x1dcheo9`,kg3NbH:`xvpgqt4`,kOIVth:`xpj7pl4`,$$css:!0},linkMd:{kZKoxP:`xk8t5le`,k7Eaqz:`x1arx1u8`,kGuDYH:`xkpwil5`,kg3NbH:`x1ryrjj2`,kOIVth:`xpj7pl4`,$$css:!0},linkLg:{kZKoxP:`xwaiz5r`,k7Eaqz:`xj9j1fp`,kGuDYH:`x6u19be`,kg3NbH:`x13s4r1c`,kOIVth:`x13z6uf9`,$$css:!0},linkXl:{kZKoxP:`xjxxseq`,k7Eaqz:`x1anfg9a`,kGuDYH:`x1jchvi3`,kg3NbH:`xnxx81d`,kOIVth:`x13z6uf9`,$$css:!0},linkXxl:{kZKoxP:`x1j7fsof`,k7Eaqz:`x16sgl7b`,kGuDYH:`x1c3i2sq`,kg3NbH:`x1qhpy6z`,kOIVth:`xb6y1gh`,$$css:!0},iconXxs:{kzqmXN:`x1jw3ynk`,kZKoxP:`xvle69y`,$$css:!0},iconXs:{kzqmXN:`x10rziqa`,kZKoxP:`x75iezw`,$$css:!0},iconSm:{kzqmXN:`x1xvt488`,kZKoxP:`xf08kfj`,$$css:!0},iconMd:{kzqmXN:`xcdlrvm`,kZKoxP:`x1l36t39`,$$css:!0},iconLg:{kzqmXN:`xsk17dz`,kZKoxP:`xaylbqo`,$$css:!0},iconXl:{kzqmXN:`xwqq7k2`,kZKoxP:`xmll18r`,$$css:!0},iconXxl:{kzqmXN:`x1h5jark`,kZKoxP:`x11q3zg3`,$$css:!0},ellipsis:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kMwMTN:`xw3nh4a`,$$css:!0}},l={xxs:c.linkXxs,xs:c.linkXs,sm:c.linkSm,md:c.linkMd,lg:c.linkLg,xl:c.linkXl,xxl:c.linkXxl},u={xxs:c.iconXxs,xs:c.iconXs,sm:c.iconSm,md:c.iconMd,lg:c.iconLg,xl:c.iconXl,xxl:c.iconXxl},d=o.createContext({size:`md`});function f({size:e=`md`,className:t,sx:r,...a}){let o=n.props(c.nav,r);return(0,i.jsx)(d.Provider,{value:{size:e},children:(0,i.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,"data-size":e,...o,className:t?`${o.className||``} ${t}`.trim():o.className,...a})})}function p(e){let t=(0,s.c)(13),r,a,o;t[0]===e?(r=t[1],a=t[2],o=t[3]):({className:r,sx:o,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=o);let l;t[4]===o?l=t[5]:(l=n.props(c.content,o),t[4]=o,t[5]=l);let u=l,d;t[6]!==r||t[7]!==u.className?(d=r?`${u.className||``} ${r}`.trim():u.className,t[6]=r,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==a||t[10]!==u||t[11]!==d?(f=(0,i.jsx)(`ul`,{"data-slot":`pagination-content`,...u,className:d,...a}),t[9]=a,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function m(e){let t=(0,s.c)(13),r,a,o;t[0]===e?(r=t[1],a=t[2],o=t[3]):({className:r,sx:o,...a}=e,t[0]=e,t[1]=r,t[2]=a,t[3]=o);let l;t[4]===o?l=t[5]:(l=n.props(c.item,o),t[4]=o,t[5]=l);let u=l,d;t[6]!==r||t[7]!==u.className?(d=r?`${u.className||``} ${r}`.trim():u.className,t[6]=r,t[7]=u.className,t[8]=d):d=t[8];let f;return t[9]!==a||t[10]!==u||t[11]!==d?(f=(0,i.jsx)(`li`,{"data-slot":`pagination-item`,...u,className:d,...a}),t[9]=a,t[10]=u,t[11]=d,t[12]=f):f=t[12],f}function h(e){let r=(0,s.c)(20),a,u,f,p,m;r[0]===e?(a=r[1],u=r[2],f=r[3],p=r[4],m=r[5]):({className:a,isActive:u,size:f,sx:m,...p}=e,r[0]=e,r[1]=a,r[2]=u,r[3]=f,r[4]=p,r[5]=m);let h=o.useContext(d),g=f??h.size??`md`,_=l[g]??c.linkMd,v;r[6]!==u||r[7]!==_||r[8]!==m?(v=n.props(c.link,_,u&&c.linkActive,m),r[6]=u,r[7]=_,r[8]=m,r[9]=v):v=r[9];let y=v,b=u?`page`:void 0,x;r[10]!==a||r[11]!==y.className?(x=a?`${y.className||``} ${a}`.trim():y.className,r[10]=a,r[11]=y.className,r[12]=x):x=r[12];let S;return r[13]!==u||r[14]!==p||r[15]!==g||r[16]!==y||r[17]!==b||r[18]!==x?(S=(0,i.jsx)(t.Text,{as:`a`,"aria-current":b,"data-slot":`pagination-link`,"data-active":u,"data-size":g,type:`inherit`,...y,className:x,...p}),r[13]=u,r[14]=p,r[15]=g,r[16]=y,r[17]=b,r[18]=x,r[19]=S):S=r[19],S}function g(e){let a=(0,s.c)(20),l,f,p,m,g;a[0]===e?(l=a[1],f=a[2],p=a[3],m=a[4],g=a[5]):({className:f,children:l,size:p,sx:g,...m}=e,a[0]=e,a[1]=l,a[2]=f,a[3]=p,a[4]=m,a[5]=g);let _=o.useContext(d),v=p??_.size??`md`,y=u[v]??c.iconMd,b;a[6]===y?b=a[7]:(b=n.props(y),a[6]=y,a[7]=b);let x;a[8]===b?x=a[9]:(x=(0,i.jsx)(r.ChevronLeftIcon,{...b}),a[8]=b,a[9]=x);let S=l??`Previous`,C;a[10]!==v||a[11]!==S?(C=(0,i.jsx)(t.Text,{as:`span`,size:v,type:`inherit`,children:S}),a[10]=v,a[11]=S,a[12]=C):C=a[12];let w;return a[13]!==f||a[14]!==m||a[15]!==v||a[16]!==g||a[17]!==x||a[18]!==C?(w=(0,i.jsxs)(h,{"aria-label":`Go to previous page`,size:v,className:f,sx:g,...m,children:[x,C]}),a[13]=f,a[14]=m,a[15]=v,a[16]=g,a[17]=x,a[18]=C,a[19]=w):w=a[19],w}function _(e){let a=(0,s.c)(20),l,f,p,m,g;a[0]===e?(l=a[1],f=a[2],p=a[3],m=a[4],g=a[5]):({className:f,children:l,size:p,sx:g,...m}=e,a[0]=e,a[1]=l,a[2]=f,a[3]=p,a[4]=m,a[5]=g);let _=o.useContext(d),v=p??_.size??`md`,y=u[v]??c.iconMd,b=l??`Next`,x;a[6]!==v||a[7]!==b?(x=(0,i.jsx)(t.Text,{as:`span`,size:v,type:`inherit`,children:b}),a[6]=v,a[7]=b,a[8]=x):x=a[8];let S;a[9]===y?S=a[10]:(S=n.props(y),a[9]=y,a[10]=S);let C;a[11]===S?C=a[12]:(C=(0,i.jsx)(r.ChevronRightIcon,{...S}),a[11]=S,a[12]=C);let w;return a[13]!==f||a[14]!==m||a[15]!==v||a[16]!==g||a[17]!==x||a[18]!==C?(w=(0,i.jsxs)(h,{"aria-label":`Go to next page`,size:v,className:f,sx:g,...m,children:[x,C]}),a[13]=f,a[14]=m,a[15]=v,a[16]=g,a[17]=x,a[18]=C,a[19]=w):w=a[19],w}function v(e){let a=(0,s.c)(21),f,p,m,h;a[0]===e?(f=a[1],p=a[2],m=a[3],h=a[4]):({className:f,size:p,sx:h,...m}=e,a[0]=e,a[1]=f,a[2]=p,a[3]=m,a[4]=h);let g=o.useContext(d),_=p??g.size??`md`,v=u[_]??c.iconMd,y=l[_]??c.linkMd,b;a[5]!==y||a[6]!==h?(b=n.props(c.ellipsis,y,h),a[5]=y,a[6]=h,a[7]=b):b=a[7];let x=b,S;a[8]!==f||a[9]!==x.className?(S=f?`${x.className||``} ${f}`.trim():x.className,a[8]=f,a[9]=x.className,a[10]=S):S=a[10];let C;a[11]===v?C=a[12]:(C=n.props(v),a[11]=v,a[12]=C);let w;a[13]===C?w=a[14]:(w=(0,i.jsx)(r.MoreHorizontalIcon,{...C}),a[13]=C,a[14]=w);let T;a[15]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,i.jsx)(t.Text,{as:`span`,className:`sr-only`,children:`More pages`}),a[15]=T):T=a[15];let E;return a[16]!==m||a[17]!==x||a[18]!==S||a[19]!==w?(E=(0,i.jsxs)(`span`,{"aria-hidden":`true`,"data-slot":`pagination-ellipsis`,...x,className:S,...m,children:[w,T]}),a[16]=m,a[17]=x,a[18]=S,a[19]=w,a[20]=E):E=a[20],E}exports.Pagination=f,exports.PaginationContent=p,exports.PaginationEllipsis=v,exports.PaginationItem=m,exports.PaginationLink=h,exports.PaginationNext=_,exports.PaginationPrevious=g;
|