@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/index192.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
function t() {
|
|
4
|
-
|
|
1
|
+
import e from "./index187.js";
|
|
2
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = e(t), r = new Date(Date.UTC(n.getFullYear(), n.getMonth(), n.getDate(), n.getHours(), n.getMinutes(), n.getSeconds(), n.getMilliseconds()));
|
|
5
|
+
return r.setUTCFullYear(n.getFullYear()), +t - r;
|
|
5
6
|
}
|
|
6
|
-
export { t as
|
|
7
|
+
export { t as getTimezoneOffsetInMilliseconds };
|
package/dist/index193.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./
|
|
1
|
+
const e=require("./index186.cjs");function t(t,...n){let r=e.constructFrom.bind(null,t||n.find(e=>typeof e==`object`));return n.map(r)}exports.normalizeDates=t;
|
package/dist/index193.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { constructFrom as e } from "./
|
|
2
|
-
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/
|
|
3
|
-
function t(t, n) {
|
|
4
|
-
|
|
1
|
+
import { constructFrom as e } from "./index186.js";
|
|
2
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js
|
|
3
|
+
function t(t, ...n) {
|
|
4
|
+
let r = e.bind(null, t || n.find((e) => typeof e == "object"));
|
|
5
|
+
return n.map(r);
|
|
5
6
|
}
|
|
6
|
-
export { t as
|
|
7
|
+
export { t as normalizeDates };
|
package/dist/index194.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./
|
|
1
|
+
const e=require("./index187.cjs");function t(t,n){let r=e.default(t,n?.in);return r.setHours(0,0,0,0),r}exports.default=t,exports.startOfDay=t;
|
package/dist/index194.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return o.setDate(o.getDate() - c), o.setHours(0, 0, 0, 0), o;
|
|
1
|
+
import e from "./index187.js";
|
|
2
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
let r = e(t, n?.in);
|
|
5
|
+
return r.setHours(0, 0, 0, 0), r;
|
|
7
6
|
}
|
|
8
|
-
export {
|
|
7
|
+
export { t as default, t as startOfDay };
|
package/dist/index195.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const e=require("./index185.cjs"),t=require("./index192.cjs"),n=require("./index193.cjs"),r=require("./index194.cjs");function i(i,a,o){let[s,c]=n.normalizeDates(o?.in,i,a),l=r.default(s),u=r.default(c),d=+l-t.getTimezoneOffsetInMilliseconds(l),f=+u-t.getTimezoneOffsetInMilliseconds(u);return Math.round((d-f)/e.millisecondsInDay)}exports.default=i,exports.differenceInCalendarDays=i;
|
package/dist/index195.js
CHANGED
|
@@ -1,68 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
halfAMinute: "half a minute",
|
|
12
|
-
lessThanXMinutes: {
|
|
13
|
-
one: "less than a minute",
|
|
14
|
-
other: "less than {{count}} minutes"
|
|
15
|
-
},
|
|
16
|
-
xMinutes: {
|
|
17
|
-
one: "1 minute",
|
|
18
|
-
other: "{{count}} minutes"
|
|
19
|
-
},
|
|
20
|
-
aboutXHours: {
|
|
21
|
-
one: "about 1 hour",
|
|
22
|
-
other: "about {{count}} hours"
|
|
23
|
-
},
|
|
24
|
-
xHours: {
|
|
25
|
-
one: "1 hour",
|
|
26
|
-
other: "{{count}} hours"
|
|
27
|
-
},
|
|
28
|
-
xDays: {
|
|
29
|
-
one: "1 day",
|
|
30
|
-
other: "{{count}} days"
|
|
31
|
-
},
|
|
32
|
-
aboutXWeeks: {
|
|
33
|
-
one: "about 1 week",
|
|
34
|
-
other: "about {{count}} weeks"
|
|
35
|
-
},
|
|
36
|
-
xWeeks: {
|
|
37
|
-
one: "1 week",
|
|
38
|
-
other: "{{count}} weeks"
|
|
39
|
-
},
|
|
40
|
-
aboutXMonths: {
|
|
41
|
-
one: "about 1 month",
|
|
42
|
-
other: "about {{count}} months"
|
|
43
|
-
},
|
|
44
|
-
xMonths: {
|
|
45
|
-
one: "1 month",
|
|
46
|
-
other: "{{count}} months"
|
|
47
|
-
},
|
|
48
|
-
aboutXYears: {
|
|
49
|
-
one: "about 1 year",
|
|
50
|
-
other: "about {{count}} years"
|
|
51
|
-
},
|
|
52
|
-
xYears: {
|
|
53
|
-
one: "1 year",
|
|
54
|
-
other: "{{count}} years"
|
|
55
|
-
},
|
|
56
|
-
overXYears: {
|
|
57
|
-
one: "over 1 year",
|
|
58
|
-
other: "over {{count}} years"
|
|
59
|
-
},
|
|
60
|
-
almostXYears: {
|
|
61
|
-
one: "almost 1 year",
|
|
62
|
-
other: "almost {{count}} years"
|
|
63
|
-
}
|
|
64
|
-
}, t = (t, n, r) => {
|
|
65
|
-
let i, a = e[t];
|
|
66
|
-
return i = typeof a == "string" ? a : n === 1 ? a.one : a.other.replace("{{count}}", n.toString()), r?.addSuffix ? r.comparison && r.comparison > 0 ? "in " + i : i + " ago" : i;
|
|
67
|
-
};
|
|
68
|
-
export { t as formatDistance };
|
|
1
|
+
import { millisecondsInDay as e } from "./index185.js";
|
|
2
|
+
import { getTimezoneOffsetInMilliseconds as t } from "./index192.js";
|
|
3
|
+
import { normalizeDates as n } from "./index193.js";
|
|
4
|
+
import r from "./index194.js";
|
|
5
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js
|
|
6
|
+
function i(i, a, o) {
|
|
7
|
+
let [s, c] = n(o?.in, i, a), l = r(s), u = r(c), d = +l - t(l), f = +u - t(u);
|
|
8
|
+
return Math.round((d - f) / e);
|
|
9
|
+
}
|
|
10
|
+
export { i as default, i as differenceInCalendarDays };
|
package/dist/index196.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const e=require("./index186.cjs"),t=require("./index190.cjs"),n=require("./index191.cjs");function r(r,i){let a=n.default(r,i),o=e.constructFrom(i?.in||r,0);return o.setFullYear(a,0,4),o.setHours(0,0,0,0),t.default(o)}exports.default=r,exports.startOfISOWeekYear=r;
|
package/dist/index196.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export { t as formatRelative };
|
|
1
|
+
import { constructFrom as e } from "./index186.js";
|
|
2
|
+
import t from "./index190.js";
|
|
3
|
+
import n from "./index191.js";
|
|
4
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js
|
|
5
|
+
function r(r, i) {
|
|
6
|
+
let a = n(r, i), o = e(i?.in || r, 0);
|
|
7
|
+
return o.setFullYear(a, 0, 4), o.setHours(0, 0, 0, 0), t(o);
|
|
8
|
+
}
|
|
9
|
+
export { r as default, r as startOfISOWeekYear };
|
package/dist/index197.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function e(e){return e instanceof Date||typeof e==`object`&&Object.prototype.toString.call(e)===`[object Date]`}exports.default=e,exports.isDate=e;
|
package/dist/index197.js
CHANGED
|
@@ -1,201 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
case 1: return n + "st";
|
|
7
|
-
case 2: return n + "nd";
|
|
8
|
-
case 3: return n + "rd";
|
|
9
|
-
}
|
|
10
|
-
return n + "th";
|
|
11
|
-
},
|
|
12
|
-
era: e({
|
|
13
|
-
values: {
|
|
14
|
-
narrow: ["B", "A"],
|
|
15
|
-
abbreviated: ["BC", "AD"],
|
|
16
|
-
wide: ["Before Christ", "Anno Domini"]
|
|
17
|
-
},
|
|
18
|
-
defaultWidth: "wide"
|
|
19
|
-
}),
|
|
20
|
-
quarter: e({
|
|
21
|
-
values: {
|
|
22
|
-
narrow: [
|
|
23
|
-
"1",
|
|
24
|
-
"2",
|
|
25
|
-
"3",
|
|
26
|
-
"4"
|
|
27
|
-
],
|
|
28
|
-
abbreviated: [
|
|
29
|
-
"Q1",
|
|
30
|
-
"Q2",
|
|
31
|
-
"Q3",
|
|
32
|
-
"Q4"
|
|
33
|
-
],
|
|
34
|
-
wide: [
|
|
35
|
-
"1st quarter",
|
|
36
|
-
"2nd quarter",
|
|
37
|
-
"3rd quarter",
|
|
38
|
-
"4th quarter"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
defaultWidth: "wide",
|
|
42
|
-
argumentCallback: (e) => e - 1
|
|
43
|
-
}),
|
|
44
|
-
month: e({
|
|
45
|
-
values: {
|
|
46
|
-
narrow: [
|
|
47
|
-
"J",
|
|
48
|
-
"F",
|
|
49
|
-
"M",
|
|
50
|
-
"A",
|
|
51
|
-
"M",
|
|
52
|
-
"J",
|
|
53
|
-
"J",
|
|
54
|
-
"A",
|
|
55
|
-
"S",
|
|
56
|
-
"O",
|
|
57
|
-
"N",
|
|
58
|
-
"D"
|
|
59
|
-
],
|
|
60
|
-
abbreviated: [
|
|
61
|
-
"Jan",
|
|
62
|
-
"Feb",
|
|
63
|
-
"Mar",
|
|
64
|
-
"Apr",
|
|
65
|
-
"May",
|
|
66
|
-
"Jun",
|
|
67
|
-
"Jul",
|
|
68
|
-
"Aug",
|
|
69
|
-
"Sep",
|
|
70
|
-
"Oct",
|
|
71
|
-
"Nov",
|
|
72
|
-
"Dec"
|
|
73
|
-
],
|
|
74
|
-
wide: [
|
|
75
|
-
"January",
|
|
76
|
-
"February",
|
|
77
|
-
"March",
|
|
78
|
-
"April",
|
|
79
|
-
"May",
|
|
80
|
-
"June",
|
|
81
|
-
"July",
|
|
82
|
-
"August",
|
|
83
|
-
"September",
|
|
84
|
-
"October",
|
|
85
|
-
"November",
|
|
86
|
-
"December"
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
defaultWidth: "wide"
|
|
90
|
-
}),
|
|
91
|
-
day: e({
|
|
92
|
-
values: {
|
|
93
|
-
narrow: [
|
|
94
|
-
"S",
|
|
95
|
-
"M",
|
|
96
|
-
"T",
|
|
97
|
-
"W",
|
|
98
|
-
"T",
|
|
99
|
-
"F",
|
|
100
|
-
"S"
|
|
101
|
-
],
|
|
102
|
-
short: [
|
|
103
|
-
"Su",
|
|
104
|
-
"Mo",
|
|
105
|
-
"Tu",
|
|
106
|
-
"We",
|
|
107
|
-
"Th",
|
|
108
|
-
"Fr",
|
|
109
|
-
"Sa"
|
|
110
|
-
],
|
|
111
|
-
abbreviated: [
|
|
112
|
-
"Sun",
|
|
113
|
-
"Mon",
|
|
114
|
-
"Tue",
|
|
115
|
-
"Wed",
|
|
116
|
-
"Thu",
|
|
117
|
-
"Fri",
|
|
118
|
-
"Sat"
|
|
119
|
-
],
|
|
120
|
-
wide: [
|
|
121
|
-
"Sunday",
|
|
122
|
-
"Monday",
|
|
123
|
-
"Tuesday",
|
|
124
|
-
"Wednesday",
|
|
125
|
-
"Thursday",
|
|
126
|
-
"Friday",
|
|
127
|
-
"Saturday"
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
defaultWidth: "wide"
|
|
131
|
-
}),
|
|
132
|
-
dayPeriod: e({
|
|
133
|
-
values: {
|
|
134
|
-
narrow: {
|
|
135
|
-
am: "a",
|
|
136
|
-
pm: "p",
|
|
137
|
-
midnight: "mi",
|
|
138
|
-
noon: "n",
|
|
139
|
-
morning: "morning",
|
|
140
|
-
afternoon: "afternoon",
|
|
141
|
-
evening: "evening",
|
|
142
|
-
night: "night"
|
|
143
|
-
},
|
|
144
|
-
abbreviated: {
|
|
145
|
-
am: "AM",
|
|
146
|
-
pm: "PM",
|
|
147
|
-
midnight: "midnight",
|
|
148
|
-
noon: "noon",
|
|
149
|
-
morning: "morning",
|
|
150
|
-
afternoon: "afternoon",
|
|
151
|
-
evening: "evening",
|
|
152
|
-
night: "night"
|
|
153
|
-
},
|
|
154
|
-
wide: {
|
|
155
|
-
am: "a.m.",
|
|
156
|
-
pm: "p.m.",
|
|
157
|
-
midnight: "midnight",
|
|
158
|
-
noon: "noon",
|
|
159
|
-
morning: "morning",
|
|
160
|
-
afternoon: "afternoon",
|
|
161
|
-
evening: "evening",
|
|
162
|
-
night: "night"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
defaultWidth: "wide",
|
|
166
|
-
formattingValues: {
|
|
167
|
-
narrow: {
|
|
168
|
-
am: "a",
|
|
169
|
-
pm: "p",
|
|
170
|
-
midnight: "mi",
|
|
171
|
-
noon: "n",
|
|
172
|
-
morning: "in the morning",
|
|
173
|
-
afternoon: "in the afternoon",
|
|
174
|
-
evening: "in the evening",
|
|
175
|
-
night: "at night"
|
|
176
|
-
},
|
|
177
|
-
abbreviated: {
|
|
178
|
-
am: "AM",
|
|
179
|
-
pm: "PM",
|
|
180
|
-
midnight: "midnight",
|
|
181
|
-
noon: "noon",
|
|
182
|
-
morning: "in the morning",
|
|
183
|
-
afternoon: "in the afternoon",
|
|
184
|
-
evening: "in the evening",
|
|
185
|
-
night: "at night"
|
|
186
|
-
},
|
|
187
|
-
wide: {
|
|
188
|
-
am: "a.m.",
|
|
189
|
-
pm: "p.m.",
|
|
190
|
-
midnight: "midnight",
|
|
191
|
-
noon: "noon",
|
|
192
|
-
morning: "in the morning",
|
|
193
|
-
afternoon: "in the afternoon",
|
|
194
|
-
evening: "in the evening",
|
|
195
|
-
night: "at night"
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
defaultFormattingWidth: "wide"
|
|
199
|
-
})
|
|
200
|
-
};
|
|
201
|
-
export { t as localize };
|
|
1
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
4
|
+
}
|
|
5
|
+
export { e as default, e as isDate };
|
package/dist/index198.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index187.cjs")
|
|
1
|
+
const e=require("./index187.cjs"),t=require("./index197.cjs");function n(n){return!(!t.default(n)&&typeof n!=`number`||isNaN(+e.default(n)))}exports.default=n,exports.isValid=n;
|
package/dist/index198.js
CHANGED
|
@@ -1,123 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}),
|
|
9
|
-
era: e({
|
|
10
|
-
matchPatterns: {
|
|
11
|
-
narrow: /^(b|a)/i,
|
|
12
|
-
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
13
|
-
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
14
|
-
},
|
|
15
|
-
defaultMatchWidth: "wide",
|
|
16
|
-
parsePatterns: { any: [/^b/i, /^(a|c)/i] },
|
|
17
|
-
defaultParseWidth: "any"
|
|
18
|
-
}),
|
|
19
|
-
quarter: e({
|
|
20
|
-
matchPatterns: {
|
|
21
|
-
narrow: /^[1234]/i,
|
|
22
|
-
abbreviated: /^q[1234]/i,
|
|
23
|
-
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
24
|
-
},
|
|
25
|
-
defaultMatchWidth: "wide",
|
|
26
|
-
parsePatterns: { any: [
|
|
27
|
-
/1/i,
|
|
28
|
-
/2/i,
|
|
29
|
-
/3/i,
|
|
30
|
-
/4/i
|
|
31
|
-
] },
|
|
32
|
-
defaultParseWidth: "any",
|
|
33
|
-
valueCallback: (e) => e + 1
|
|
34
|
-
}),
|
|
35
|
-
month: e({
|
|
36
|
-
matchPatterns: {
|
|
37
|
-
narrow: /^[jfmasond]/i,
|
|
38
|
-
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
39
|
-
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
40
|
-
},
|
|
41
|
-
defaultMatchWidth: "wide",
|
|
42
|
-
parsePatterns: {
|
|
43
|
-
narrow: [
|
|
44
|
-
/^j/i,
|
|
45
|
-
/^f/i,
|
|
46
|
-
/^m/i,
|
|
47
|
-
/^a/i,
|
|
48
|
-
/^m/i,
|
|
49
|
-
/^j/i,
|
|
50
|
-
/^j/i,
|
|
51
|
-
/^a/i,
|
|
52
|
-
/^s/i,
|
|
53
|
-
/^o/i,
|
|
54
|
-
/^n/i,
|
|
55
|
-
/^d/i
|
|
56
|
-
],
|
|
57
|
-
any: [
|
|
58
|
-
/^ja/i,
|
|
59
|
-
/^f/i,
|
|
60
|
-
/^mar/i,
|
|
61
|
-
/^ap/i,
|
|
62
|
-
/^may/i,
|
|
63
|
-
/^jun/i,
|
|
64
|
-
/^jul/i,
|
|
65
|
-
/^au/i,
|
|
66
|
-
/^s/i,
|
|
67
|
-
/^o/i,
|
|
68
|
-
/^n/i,
|
|
69
|
-
/^d/i
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
defaultParseWidth: "any"
|
|
73
|
-
}),
|
|
74
|
-
day: e({
|
|
75
|
-
matchPatterns: {
|
|
76
|
-
narrow: /^[smtwf]/i,
|
|
77
|
-
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
78
|
-
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
79
|
-
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
80
|
-
},
|
|
81
|
-
defaultMatchWidth: "wide",
|
|
82
|
-
parsePatterns: {
|
|
83
|
-
narrow: [
|
|
84
|
-
/^s/i,
|
|
85
|
-
/^m/i,
|
|
86
|
-
/^t/i,
|
|
87
|
-
/^w/i,
|
|
88
|
-
/^t/i,
|
|
89
|
-
/^f/i,
|
|
90
|
-
/^s/i
|
|
91
|
-
],
|
|
92
|
-
any: [
|
|
93
|
-
/^su/i,
|
|
94
|
-
/^m/i,
|
|
95
|
-
/^tu/i,
|
|
96
|
-
/^w/i,
|
|
97
|
-
/^th/i,
|
|
98
|
-
/^f/i,
|
|
99
|
-
/^sa/i
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
defaultParseWidth: "any"
|
|
103
|
-
}),
|
|
104
|
-
dayPeriod: e({
|
|
105
|
-
matchPatterns: {
|
|
106
|
-
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
107
|
-
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
108
|
-
},
|
|
109
|
-
defaultMatchWidth: "any",
|
|
110
|
-
parsePatterns: { any: {
|
|
111
|
-
am: /^a/i,
|
|
112
|
-
pm: /^p/i,
|
|
113
|
-
midnight: /^mi/i,
|
|
114
|
-
noon: /^no/i,
|
|
115
|
-
morning: /morning/i,
|
|
116
|
-
afternoon: /afternoon/i,
|
|
117
|
-
evening: /evening/i,
|
|
118
|
-
night: /night/i
|
|
119
|
-
} },
|
|
120
|
-
defaultParseWidth: "any"
|
|
121
|
-
})
|
|
122
|
-
};
|
|
123
|
-
export { n as match };
|
|
1
|
+
import e from "./index187.js";
|
|
2
|
+
import t from "./index197.js";
|
|
3
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
return !(!t(n) && typeof n != "number" || isNaN(+e(n)));
|
|
6
|
+
}
|
|
7
|
+
export { n as default, n as isValid };
|
package/dist/index199.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./
|
|
1
|
+
const e=require("./index187.cjs");function t(t,n){let r=e.default(t,n?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}exports.default=t,exports.startOfYear=t;
|
package/dist/index199.js
CHANGED
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
short: "MM/dd/yyyy"
|
|
9
|
-
},
|
|
10
|
-
defaultWidth: "full"
|
|
11
|
-
}),
|
|
12
|
-
time: e({
|
|
13
|
-
formats: {
|
|
14
|
-
full: "h:mm:ss a zzzz",
|
|
15
|
-
long: "h:mm:ss a z",
|
|
16
|
-
medium: "h:mm:ss a",
|
|
17
|
-
short: "h:mm a"
|
|
18
|
-
},
|
|
19
|
-
defaultWidth: "full"
|
|
20
|
-
}),
|
|
21
|
-
dateTime: e({
|
|
22
|
-
formats: {
|
|
23
|
-
full: "{{date}} 'at' {{time}}",
|
|
24
|
-
long: "{{date}} 'at' {{time}}",
|
|
25
|
-
medium: "{{date}}, {{time}}",
|
|
26
|
-
short: "{{date}}, {{time}}"
|
|
27
|
-
},
|
|
28
|
-
defaultWidth: "full"
|
|
29
|
-
})
|
|
30
|
-
};
|
|
31
|
-
export { t as formatLong };
|
|
1
|
+
import e from "./index187.js";
|
|
2
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
let r = e(t, n?.in);
|
|
5
|
+
return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
|
|
6
|
+
}
|
|
7
|
+
export { t as default, t as startOfYear };
|
package/dist/index20.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=
|
|
1
|
+
var e={full:`100%`,auto:`auto`,fit:`fit-content`,max:`max-content`,min:`min-content`,screen:`100vw`,xxs:`6rem`,xs:`8rem`,sm:`12rem`,md:`16rem`,lg:`20rem`,xl:`24rem`,xxl:`32rem`,"1/2":`50%`,"1/3":`33.333333%`,"2/3":`66.666667%`,"1/4":`25%`,"2/4":`50%`,"3/4":`75%`};function t(t){if(t!=null)return typeof t==`number`?`${t}px`:typeof t==`string`&&t in e?e[t]:t}exports.ComponentWidthPresetMap=e,exports.resolveWidth=t;
|
package/dist/index20.js
CHANGED
|
@@ -1,11 +1,26 @@
|
|
|
1
|
-
// src/theme/
|
|
2
|
-
var e =
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
// src/theme/width.ts
|
|
2
|
+
var e = {
|
|
3
|
+
full: "100%",
|
|
4
|
+
auto: "auto",
|
|
5
|
+
fit: "fit-content",
|
|
6
|
+
max: "max-content",
|
|
7
|
+
min: "min-content",
|
|
8
|
+
screen: "100vw",
|
|
9
|
+
xxs: "6rem",
|
|
10
|
+
xs: "8rem",
|
|
11
|
+
sm: "12rem",
|
|
12
|
+
md: "16rem",
|
|
13
|
+
lg: "20rem",
|
|
14
|
+
xl: "24rem",
|
|
15
|
+
xxl: "32rem",
|
|
16
|
+
"1/2": "50%",
|
|
17
|
+
"1/3": "33.333333%",
|
|
18
|
+
"2/3": "66.666667%",
|
|
19
|
+
"1/4": "25%",
|
|
20
|
+
"2/4": "50%",
|
|
21
|
+
"3/4": "75%"
|
|
22
|
+
};
|
|
23
|
+
function t(t) {
|
|
24
|
+
if (t != null) return typeof t == "number" ? `${t}px` : typeof t == "string" && t in e ? e[t] : t;
|
|
25
|
+
}
|
|
26
|
+
export { e as ComponentWidthPresetMap, t as resolveWidth };
|
package/dist/index200.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var e={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},t=(t,n,r)=>{let i,a=e[t];return i=typeof a==`string`?a:n===1?a.one:a.other.replace(`{{count}}`,n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?`in `+i:i+` ago`:i};exports.formatDistance=t;
|