@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/index14.js
CHANGED
|
@@ -1,131 +1,205 @@
|
|
|
1
1
|
import { Icons as e } from "./index4.js";
|
|
2
|
-
import { resolveCustomTypographyStyle as t } from "./
|
|
3
|
-
import { renderWithTooltip as
|
|
4
|
-
import { typographyWeightStyles as
|
|
5
|
-
import * as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
// src/Typography/
|
|
9
|
-
var
|
|
2
|
+
import { resolveCustomTypographyStyle as t } from "./index7.js";
|
|
3
|
+
import { renderWithTooltip as ee, resolveTooltipContent as n } from "./index10.js";
|
|
4
|
+
import { typographyWeightStyles as r } from "./index11.js";
|
|
5
|
+
import * as te from "@stylexjs/stylex";
|
|
6
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
7
|
+
import * as o from "react";
|
|
8
|
+
// src/Typography/Text.tsx
|
|
9
|
+
var s = {
|
|
10
10
|
base: {
|
|
11
|
-
kMwMTN: "
|
|
12
|
-
|
|
13
|
-
k1xSpc: "x3nfvp2",
|
|
14
|
-
kGNEyG: "x6s0dn4",
|
|
15
|
-
kOIVth: "xvh977a",
|
|
16
|
-
k63SB2: "xk50ysn",
|
|
17
|
-
kI3sdo: "x1a2a7pz",
|
|
18
|
-
k1ekBW: "xz1df8t",
|
|
19
|
-
kIyJzY: "xx6bhzk",
|
|
20
|
-
k3Woio: "xybh4k3",
|
|
21
|
-
kiEn40: "x7s97pk",
|
|
11
|
+
kMwMTN: "x84br7x",
|
|
12
|
+
kLWn49: "x1evy7pa",
|
|
22
13
|
$$css: !0
|
|
23
14
|
},
|
|
24
15
|
sizeXxs: {
|
|
25
16
|
kGuDYH: "x6phcfz",
|
|
17
|
+
kLWn49: "x1xfvgam",
|
|
26
18
|
$$css: !0
|
|
27
19
|
},
|
|
28
20
|
sizeXs: {
|
|
29
21
|
kGuDYH: "x2ohwh0",
|
|
22
|
+
kLWn49: "x37zpob",
|
|
30
23
|
$$css: !0
|
|
31
24
|
},
|
|
32
25
|
sizeSm: {
|
|
33
26
|
kGuDYH: "xboafo0",
|
|
27
|
+
kLWn49: "xfrs9s4",
|
|
34
28
|
$$css: !0
|
|
35
29
|
},
|
|
36
30
|
sizeMd: {
|
|
37
31
|
kGuDYH: "xkpwil5",
|
|
32
|
+
kLWn49: "x1evy7pa",
|
|
38
33
|
$$css: !0
|
|
39
34
|
},
|
|
40
35
|
sizeLg: {
|
|
41
36
|
kGuDYH: "x1jchvi3",
|
|
37
|
+
kLWn49: "x1evy7pa",
|
|
42
38
|
$$css: !0
|
|
43
39
|
},
|
|
44
40
|
sizeXl: {
|
|
45
41
|
kGuDYH: "x1603h9y",
|
|
42
|
+
kLWn49: "xfrs9s4",
|
|
46
43
|
$$css: !0
|
|
47
44
|
},
|
|
48
45
|
sizeXxl: {
|
|
49
46
|
kGuDYH: "xngnso2",
|
|
47
|
+
kLWn49: "x37zpob",
|
|
50
48
|
$$css: !0
|
|
51
49
|
},
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
typeDefault: {
|
|
51
|
+
kMwMTN: "x84br7x",
|
|
54
52
|
$$css: !0
|
|
55
53
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
k67Jb4: "xt0b8zv",
|
|
54
|
+
typeSecondary: {
|
|
55
|
+
kMwMTN: "xw3nh4a",
|
|
59
56
|
$$css: !0
|
|
60
57
|
},
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
typeMuted: {
|
|
59
|
+
kMwMTN: "xw3nh4a",
|
|
63
60
|
$$css: !0
|
|
64
61
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
typeSuccess: {
|
|
63
|
+
kMwMTN: "x1vh2qog",
|
|
64
|
+
$$css: !0
|
|
65
|
+
},
|
|
66
|
+
typeWarning: {
|
|
67
|
+
kMwMTN: "x8hp1xd",
|
|
68
|
+
$$css: !0
|
|
69
|
+
},
|
|
70
|
+
typeDanger: {
|
|
71
|
+
kMwMTN: "xuuroe4",
|
|
72
|
+
$$css: !0
|
|
73
|
+
},
|
|
74
|
+
typeInfo: {
|
|
75
|
+
kMwMTN: "x19te5d5",
|
|
76
|
+
$$css: !0
|
|
77
|
+
},
|
|
78
|
+
typeInherit: {
|
|
79
|
+
kMwMTN: "x1heor9g",
|
|
80
|
+
$$css: !0
|
|
81
|
+
},
|
|
82
|
+
strong: {
|
|
83
|
+
k63SB2: "x1xlr1w8",
|
|
84
|
+
$$css: !0
|
|
85
|
+
},
|
|
86
|
+
italic: {
|
|
87
|
+
kKX8nH: "x1k4tb9n",
|
|
88
|
+
$$css: !0
|
|
89
|
+
},
|
|
90
|
+
underline: {
|
|
91
|
+
kybGjl: "x1bvjpef",
|
|
92
|
+
$$css: !0
|
|
93
|
+
},
|
|
94
|
+
delete: {
|
|
95
|
+
kybGjl: "xmqliwb",
|
|
96
|
+
$$css: !0
|
|
97
|
+
},
|
|
98
|
+
keyboard: {
|
|
99
|
+
kMv6JI: "x17yh6e0",
|
|
100
|
+
kGuDYH: "x1dcheo9",
|
|
101
|
+
kaIpWk: "x1q0v2j7",
|
|
102
|
+
kMzoRj: "xmkeg23",
|
|
103
|
+
ksu8eU: "x1y0btm7",
|
|
104
|
+
kVAM5u: "xb30jbz",
|
|
105
|
+
kWkggS: "x1qry0bl",
|
|
106
|
+
kg3NbH: "x18a9hih",
|
|
107
|
+
k8WAf4: "x1dus959",
|
|
108
|
+
kGVxlE: "xe4bbob",
|
|
70
109
|
$$css: !0
|
|
71
110
|
},
|
|
72
111
|
ellipsisSingle: {
|
|
112
|
+
k1xSpc: "x1rg5ohu",
|
|
113
|
+
ks0D6T: "x193iq5w",
|
|
114
|
+
k7Eaqz: "xeuugli",
|
|
73
115
|
kVQacm: "xb3r6kr",
|
|
74
116
|
kg5iWk: "xlyipyv",
|
|
75
117
|
khDVqt: "xuxw1ft",
|
|
76
|
-
k1xSpc: "x1rg5ohu",
|
|
77
118
|
kXLuUW: "x3ajldb",
|
|
78
|
-
ks0D6T: "x193iq5w",
|
|
79
|
-
k7Eaqz: "xeuugli",
|
|
80
119
|
$$css: !0
|
|
81
120
|
}
|
|
82
|
-
},
|
|
83
|
-
xxs:
|
|
84
|
-
xs:
|
|
85
|
-
sm:
|
|
86
|
-
md:
|
|
87
|
-
lg:
|
|
88
|
-
xl:
|
|
89
|
-
xxl:
|
|
90
|
-
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
121
|
+
}, c = {
|
|
122
|
+
xxs: s.sizeXxs,
|
|
123
|
+
xs: s.sizeXs,
|
|
124
|
+
sm: s.sizeSm,
|
|
125
|
+
md: s.sizeMd,
|
|
126
|
+
lg: s.sizeLg,
|
|
127
|
+
xl: s.sizeXl,
|
|
128
|
+
xxl: s.sizeXxl
|
|
129
|
+
}, ne = {
|
|
130
|
+
default: s.typeDefault,
|
|
131
|
+
secondary: s.typeSecondary,
|
|
132
|
+
muted: s.typeMuted,
|
|
133
|
+
success: s.typeSuccess,
|
|
134
|
+
warning: s.typeWarning,
|
|
135
|
+
danger: s.typeDanger,
|
|
136
|
+
info: s.typeInfo,
|
|
137
|
+
inherit: s.typeInherit
|
|
138
|
+
}, l = o.forwardRef(function({ type: l = "default", size: u = "md", weight: d = "regular", required: f, strong: p, italic: m, underline: h, delete: g, keyboard: _, customSize: re, lines: v, rows: y, lineHeight: b, ellipsis: x, tooltip: S, textDecoration: C, textDecorationLine: w, textDecorationStyle: T, textDecorationColor: E, textDecorationThickness: D, textUnderlineOffset: O, color: k, margin: A, m: j, marginTop: M, mt: N, marginBottom: P, mb: F, marginLeft: I, ml: L, marginRight: R, mr: ie, marginInline: z, mx: B, marginBlock: V, my: H, letterSpacing: U, copyable: W, as: G, className: K, children: q, sx: J, ...Y }, ae) {
|
|
139
|
+
let [X, Z] = o.useState(!1), Q = "span";
|
|
140
|
+
_ ? Q = "kbd" : p ? Q = "strong" : m ? Q = "em" : g && (Q = "del");
|
|
141
|
+
let oe = G || Q, se = v ?? y ?? (typeof x == "object" ? x?.rows : void 0), ce = (x === !0 || typeof x == "object" && !!x && !x.rows) && !se, le = c[u] ?? s.sizeMd, ue = t({
|
|
142
|
+
customSize: re,
|
|
143
|
+
color: k,
|
|
144
|
+
lines: v,
|
|
145
|
+
rows: y,
|
|
146
|
+
lineHeight: b,
|
|
147
|
+
ellipsis: x,
|
|
148
|
+
textDecoration: C,
|
|
149
|
+
textDecorationLine: w,
|
|
150
|
+
textDecorationStyle: T,
|
|
151
|
+
textDecorationColor: E,
|
|
152
|
+
textDecorationThickness: D,
|
|
153
|
+
textUnderlineOffset: O,
|
|
154
|
+
margin: A,
|
|
155
|
+
m: j,
|
|
156
|
+
marginTop: M,
|
|
157
|
+
mt: N,
|
|
158
|
+
marginBottom: P,
|
|
159
|
+
mb: F,
|
|
160
|
+
marginLeft: I,
|
|
161
|
+
ml: L,
|
|
162
|
+
marginRight: R,
|
|
163
|
+
mr: ie,
|
|
164
|
+
marginInline: z,
|
|
165
|
+
mx: B,
|
|
166
|
+
marginBlock: V,
|
|
167
|
+
my: H,
|
|
168
|
+
letterSpacing: U
|
|
169
|
+
}), de = async () => {
|
|
170
|
+
if (typeof q == "string") try {
|
|
171
|
+
await navigator.clipboard.writeText(q), Z(!0), setTimeout(() => Z(!1), 2e3);
|
|
172
|
+
} catch {}
|
|
173
|
+
}, $ = te.props(s.base, le, ne[l], d && r[d], p && s.strong, m && s.italic, h && !C && !w && s.underline, g && !C && !w && s.delete, _ && s.keyboard, ce && s.ellipsisSingle, J), fe = n(S, x, q), pe = /* @__PURE__ */ a(oe, {
|
|
174
|
+
ref: ae,
|
|
175
|
+
"data-slot": "typography-text",
|
|
176
|
+
"data-type": l,
|
|
177
|
+
"data-size": u,
|
|
178
|
+
"data-weight": d,
|
|
179
|
+
...$,
|
|
117
180
|
style: {
|
|
118
|
-
|
|
119
|
-
...
|
|
181
|
+
...$.style,
|
|
182
|
+
...ue
|
|
120
183
|
},
|
|
121
|
-
className:
|
|
122
|
-
...
|
|
123
|
-
children: [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
184
|
+
className: K ? `${$.className || ""} ${K}`.trim() : $.className,
|
|
185
|
+
...Y,
|
|
186
|
+
children: [
|
|
187
|
+
q,
|
|
188
|
+
f && /* @__PURE__ */ i("span", {
|
|
189
|
+
"aria-hidden": "true",
|
|
190
|
+
className: "xuuroe4 x4aigyd x1rg5ohu xo5v014 x1s688f x87ps6o",
|
|
191
|
+
children: "*"
|
|
192
|
+
}),
|
|
193
|
+
W && /* @__PURE__ */ i("button", {
|
|
194
|
+
type: "button",
|
|
195
|
+
onClick: de,
|
|
196
|
+
className: "xjyslct xc342km xjbqb8w xw3nh4a x1ypdohk xo8u9x4 x4aigyd x1q0v2j7 x3nfvp2 x6s0dn4 xl56j7k xxymvpz x1a2a7pz x1gbuem2 xx6bhzk x8aud5w x9p52ec",
|
|
197
|
+
"aria-label": X ? "Copied" : "Copy text",
|
|
198
|
+
children: i(X ? e.Check : e.Copy, { className: "x1xvt488 xf08kfj" })
|
|
199
|
+
})
|
|
200
|
+
]
|
|
127
201
|
});
|
|
128
|
-
return
|
|
202
|
+
return ee(pe, fe);
|
|
129
203
|
});
|
|
130
|
-
|
|
131
|
-
export {
|
|
204
|
+
l.displayName = "Typography.Text";
|
|
205
|
+
export { l as Text };
|
package/dist/index140.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require("./index2.cjs"),t=require("./
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index46.cjs"),n=require("./index139.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={panelGroup:{k1xSpc:`x78zum5`,kZKoxP:`x5yr21d`,kzqmXN:`xh8yej3`,$$css:!0},handle:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kzqmXN:`x1i1rx1s`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kWkggS:`xwefxjc`,kI3sdo:`x1a2a7pz`,$$css:!0}};function l(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.panelGroup,u);d=n.PanelGroup,f=`resizable-panel-group`,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 u(e){let t=(0,s.c)(4),r;t[0]===e?r=t[1]:({...r}=e,t[0]=e,t[1]=r);let i;return t[2]===r?i=t[3]:(i=(0,a.jsx)(n.Panel,{"data-slot":`resizable-panel`,...r}),t[2]=r,t[3]=i),i}function d(e){let o=(0,s.c)(20),l,u,d,f;o[0]===e?(l=o[1],u=o[2],d=o[3],f=o[4]):({withHandle:f,className:l,sx:d,...u}=e,o[0]=e,o[1]=l,o[2]=u,o[3]=d,o[4]=f);let p,m,h,g;if(o[5]!==l||o[6]!==d){let e=r.props(c.handle,d);p=n.PanelResizeHandle,m=`resizable-handle`,h=e,g=t.cn(e.className,l),o[5]=l,o[6]=d,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]===f?_=o[12]:(_=f&&(0,a.jsx)(`div`,{className:`x1n327nk x78zum5 x1l36t39 x1jw3ynk x6s0dn4 xl56j7k x1q0v2j7 xmkeg23 x1y0btm7 xb30jbz x1mlyrtw`,children:(0,a.jsx)(i.GripVerticalIcon,{className:`x1e7hgle x1qa65zt`})}),o[11]=f,o[12]=_);let v;return o[13]!==p||o[14]!==u||o[15]!==m||o[16]!==h||o[17]!==g||o[18]!==_?(v=(0,a.jsx)(p,{"data-slot":m,...h,className:g,...u,children:_}),o[13]=p,o[14]=u,o[15]=m,o[16]=h,o[17]=g,o[18]=_,o[19]=v):v=o[19],v}exports.ResizableHandle=d,exports.ResizablePanel=u,exports.ResizablePanelGroup=l;
|
package/dist/index140.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn as e } from "./
|
|
2
|
+
import { cn as e } from "./index46.js";
|
|
3
3
|
import { Panel as t, PanelGroup as n, PanelResizeHandle as r } from "./index139.js";
|
|
4
|
-
import "react";
|
|
5
4
|
import * as i from "@stylexjs/stylex";
|
|
6
5
|
import { GripVerticalIcon as a } from "lucide-react";
|
|
7
6
|
import { jsx as o } from "react/jsx-runtime";
|
|
7
|
+
import "react";
|
|
8
8
|
import { c as s } from "react/compiler-runtime";
|
|
9
9
|
// src/ui/resizable.tsx
|
|
10
10
|
var c = {
|
package/dist/index141.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index23.cjs"),n=require("./index106.cjs"),r=require("./index118.cjs");let 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=o.createContext({isDesktop:!0});function l(){return o.useContext(c)}function u({children:e,open:a,defaultOpen:s,onOpenChange:l,breakpoint:u=`md`,forceMode:d}){let f=r.useBreakpoint(),p=d===`desktop`||d!==`mobile`&&!!f[u],m=o.useMemo(()=>({isDesktop:p}),[p]);return p?(0,i.jsx)(c.Provider,{value:m,children:(0,i.jsx)(t.Dialog,{open:a,defaultOpen:s,onOpenChange:l,children:e})}):(0,i.jsx)(c.Provider,{value:m,children:(0,i.jsx)(n.Drawer,{open:a,defaultOpen:s,onOpenChange:l,children:e})})}function d(e){let r=(0,s.c)(12),a,o,c;r[0]===e?(a=r[1],o=r[2],c=r[3]):({children:o,asChild:a,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c);let{isDesktop:u}=l();if(u){let e;return r[4]!==a||r[5]!==o||r[6]!==c?(e=(0,i.jsx)(t.DialogTrigger,{asChild:a,...c,children:o}),r[4]=a,r[5]=o,r[6]=c,r[7]=e):e=r[7],e}let d;return r[8]!==a||r[9]!==o||r[10]!==c?(d=(0,i.jsx)(n.DrawerTrigger,{asChild:a,...c,children:o}),r[8]=a,r[9]=o,r[10]=c,r[11]=d):d=r[11],d}function f(e){let r=(0,s.c)(12),a,o,c;r[0]===e?(a=r[1],o=r[2],c=r[3]):({children:o,asChild:a,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c);let{isDesktop:u}=l();if(u){let e;return r[4]!==a||r[5]!==o||r[6]!==c?(e=(0,i.jsx)(t.DialogClose,{asChild:a,...c,children:o}),r[4]=a,r[5]=o,r[6]=c,r[7]=e):e=r[7],e}let d;return r[8]!==a||r[9]!==o||r[10]!==c?(d=(0,i.jsx)(n.DrawerClose,{asChild:a,...c,children:o}),r[8]=a,r[9]=o,r[10]=c,r[11]=d):d=r[11],d}function p(e){let r=(0,s.c)(15),a,o,c,u;r[0]===e?(a=r[1],o=r[2],c=r[3],u=r[4]):({children:a,sx:u,className:o,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c,r[4]=u);let{isDesktop:d}=l();if(d){let e;return r[5]!==a||r[6]!==o||r[7]!==c||r[8]!==u?(e=(0,i.jsx)(t.DialogContent,{sx:u,className:o,...c,children:a}),r[5]=a,r[6]=o,r[7]=c,r[8]=u,r[9]=e):e=r[9],e}let f;return r[10]!==a||r[11]!==o||r[12]!==c||r[13]!==u?(f=(0,i.jsx)(n.DrawerContent,{sx:u,className:o,...c,children:a}),r[10]=a,r[11]=o,r[12]=c,r[13]=u,r[14]=f):f=r[14],f}function m(e){let r=(0,s.c)(15),a,o,c,u;r[0]===e?(a=r[1],o=r[2],c=r[3],u=r[4]):({children:a,sx:u,className:o,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c,r[4]=u);let{isDesktop:d}=l();if(d){let e;return r[5]!==a||r[6]!==o||r[7]!==c||r[8]!==u?(e=(0,i.jsx)(t.DialogHeader,{sx:u,className:o,...c,children:a}),r[5]=a,r[6]=o,r[7]=c,r[8]=u,r[9]=e):e=r[9],e}let f;return r[10]!==a||r[11]!==o||r[12]!==c||r[13]!==u?(f=(0,i.jsx)(n.DrawerHeader,{sx:u,className:o,...c,children:a}),r[10]=a,r[11]=o,r[12]=c,r[13]=u,r[14]=f):f=r[14],f}function h(e){let r=(0,s.c)(15),a,o,c,u;r[0]===e?(a=r[1],o=r[2],c=r[3],u=r[4]):({children:a,sx:u,className:o,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c,r[4]=u);let{isDesktop:d}=l();if(d){let e;return r[5]!==a||r[6]!==o||r[7]!==c||r[8]!==u?(e=(0,i.jsx)(t.DialogFooter,{sx:u,className:o,...c,children:a}),r[5]=a,r[6]=o,r[7]=c,r[8]=u,r[9]=e):e=r[9],e}let f;return r[10]!==a||r[11]!==o||r[12]!==c||r[13]!==u?(f=(0,i.jsx)(n.DrawerFooter,{sx:u,className:o,...c,children:a}),r[10]=a,r[11]=o,r[12]=c,r[13]=u,r[14]=f):f=r[14],f}function g(e){let r=(0,s.c)(15),a,o,c,u;r[0]===e?(a=r[1],o=r[2],c=r[3],u=r[4]):({children:a,sx:u,className:o,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c,r[4]=u);let{isDesktop:d}=l();if(d){let e;return r[5]!==a||r[6]!==o||r[7]!==c||r[8]!==u?(e=(0,i.jsx)(t.DialogTitle,{sx:u,className:o,...c,children:a}),r[5]=a,r[6]=o,r[7]=c,r[8]=u,r[9]=e):e=r[9],e}let f;return r[10]!==a||r[11]!==o||r[12]!==c||r[13]!==u?(f=(0,i.jsx)(n.DrawerTitle,{sx:u,className:o,...c,children:a}),r[10]=a,r[11]=o,r[12]=c,r[13]=u,r[14]=f):f=r[14],f}function _(e){let r=(0,s.c)(15),a,o,c,u;r[0]===e?(a=r[1],o=r[2],c=r[3],u=r[4]):({children:a,sx:u,className:o,...c}=e,r[0]=e,r[1]=a,r[2]=o,r[3]=c,r[4]=u);let{isDesktop:d}=l();if(d){let e;return r[5]!==a||r[6]!==o||r[7]!==c||r[8]!==u?(e=(0,i.jsx)(t.DialogDescription,{sx:u,className:o,...c,children:a}),r[5]=a,r[6]=o,r[7]=c,r[8]=u,r[9]=e):e=r[9],e}let f;return r[10]!==a||r[11]!==o||r[12]!==c||r[13]!==u?(f=(0,i.jsx)(n.DrawerDescription,{sx:u,className:o,...c,children:a}),r[10]=a,r[11]=o,r[12]=c,r[13]=u,r[14]=f):f=r[14],f}exports.ResponsiveDialog=u,exports.ResponsiveDialogClose=f,exports.ResponsiveDialogContent=p,exports.ResponsiveDialogDescription=_,exports.ResponsiveDialogFooter=h,exports.ResponsiveDialogHeader=m,exports.ResponsiveDialogTitle=g,exports.ResponsiveDialogTrigger=d,exports.useResponsiveDialogContext=l;
|
package/dist/index141.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Dialog as e, DialogClose as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, DialogTrigger as s } from "./
|
|
1
|
+
import { Dialog as e, DialogClose as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, DialogTrigger as s } from "./index23.js";
|
|
2
2
|
import { Drawer as c, DrawerClose as l, DrawerContent as u, DrawerDescription as d, DrawerFooter as f, DrawerHeader as p, DrawerTitle as m, DrawerTrigger as h } from "./index106.js";
|
|
3
3
|
import { useBreakpoint as g } from "./index118.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
5
|
+
import * as v from "react";
|
|
6
6
|
import { c as y } from "react/compiler-runtime";
|
|
7
7
|
// src/ui/responsive-dialog.tsx
|
|
8
|
-
var b =
|
|
8
|
+
var b = v.createContext({ isDesktop: !0 });
|
|
9
9
|
function x() {
|
|
10
|
-
return
|
|
10
|
+
return v.useContext(b);
|
|
11
11
|
}
|
|
12
12
|
function S({ children: t, open: n, defaultOpen: r, onOpenChange: i, breakpoint: a = "md", forceMode: o }) {
|
|
13
|
-
let s = g(), l = o === "desktop" || o !== "mobile" && !!s[a], u =
|
|
14
|
-
return l ? /* @__PURE__ */
|
|
13
|
+
let s = g(), l = o === "desktop" || o !== "mobile" && !!s[a], u = v.useMemo(() => ({ isDesktop: l }), [l]);
|
|
14
|
+
return l ? /* @__PURE__ */ _(b.Provider, {
|
|
15
15
|
value: u,
|
|
16
|
-
children: /* @__PURE__ */
|
|
16
|
+
children: /* @__PURE__ */ _(e, {
|
|
17
17
|
open: n,
|
|
18
18
|
defaultOpen: r,
|
|
19
19
|
onOpenChange: i,
|
|
20
20
|
children: t
|
|
21
21
|
})
|
|
22
|
-
}) : /* @__PURE__ */
|
|
22
|
+
}) : /* @__PURE__ */ _(b.Provider, {
|
|
23
23
|
value: u,
|
|
24
|
-
children: /* @__PURE__ */
|
|
24
|
+
children: /* @__PURE__ */ _(c, {
|
|
25
25
|
open: n,
|
|
26
26
|
defaultOpen: r,
|
|
27
27
|
onOpenChange: i,
|
|
@@ -35,14 +35,14 @@ function C(e) {
|
|
|
35
35
|
let { isDesktop: a } = x();
|
|
36
36
|
if (a) {
|
|
37
37
|
let e;
|
|
38
|
-
return t[4] !== n || t[5] !== r || t[6] !== i ? (e = /* @__PURE__ */
|
|
38
|
+
return t[4] !== n || t[5] !== r || t[6] !== i ? (e = /* @__PURE__ */ _(s, {
|
|
39
39
|
asChild: n,
|
|
40
40
|
...i,
|
|
41
41
|
children: r
|
|
42
42
|
}), t[4] = n, t[5] = r, t[6] = i, t[7] = e) : e = t[7], e;
|
|
43
43
|
}
|
|
44
44
|
let o;
|
|
45
|
-
return t[8] !== n || t[9] !== r || t[10] !== i ? (o = /* @__PURE__ */
|
|
45
|
+
return t[8] !== n || t[9] !== r || t[10] !== i ? (o = /* @__PURE__ */ _(h, {
|
|
46
46
|
asChild: n,
|
|
47
47
|
...i,
|
|
48
48
|
children: r
|
|
@@ -54,14 +54,14 @@ function w(e) {
|
|
|
54
54
|
let { isDesktop: o } = x();
|
|
55
55
|
if (o) {
|
|
56
56
|
let e;
|
|
57
|
-
return n[4] !== r || n[5] !== i || n[6] !== a ? (e = /* @__PURE__ */
|
|
57
|
+
return n[4] !== r || n[5] !== i || n[6] !== a ? (e = /* @__PURE__ */ _(t, {
|
|
58
58
|
asChild: r,
|
|
59
59
|
...a,
|
|
60
60
|
children: i
|
|
61
61
|
}), n[4] = r, n[5] = i, n[6] = a, n[7] = e) : e = n[7], e;
|
|
62
62
|
}
|
|
63
63
|
let s;
|
|
64
|
-
return n[8] !== r || n[9] !== i || n[10] !== a ? (s = /* @__PURE__ */
|
|
64
|
+
return n[8] !== r || n[9] !== i || n[10] !== a ? (s = /* @__PURE__ */ _(l, {
|
|
65
65
|
asChild: r,
|
|
66
66
|
...a,
|
|
67
67
|
children: i
|
|
@@ -73,7 +73,7 @@ function T(e) {
|
|
|
73
73
|
let { isDesktop: s } = x();
|
|
74
74
|
if (s) {
|
|
75
75
|
let e;
|
|
76
|
-
return t[5] !== r || t[6] !== i || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */
|
|
76
|
+
return t[5] !== r || t[6] !== i || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */ _(n, {
|
|
77
77
|
sx: o,
|
|
78
78
|
className: i,
|
|
79
79
|
...a,
|
|
@@ -81,7 +81,7 @@ function T(e) {
|
|
|
81
81
|
}), t[5] = r, t[6] = i, t[7] = a, t[8] = o, t[9] = e) : e = t[9], e;
|
|
82
82
|
}
|
|
83
83
|
let c;
|
|
84
|
-
return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */
|
|
84
|
+
return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */ _(u, {
|
|
85
85
|
sx: o,
|
|
86
86
|
className: i,
|
|
87
87
|
...a,
|
|
@@ -94,7 +94,7 @@ function E(e) {
|
|
|
94
94
|
let { isDesktop: s } = x();
|
|
95
95
|
if (s) {
|
|
96
96
|
let e;
|
|
97
|
-
return t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (e = /* @__PURE__ */
|
|
97
|
+
return t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (e = /* @__PURE__ */ _(a, {
|
|
98
98
|
sx: o,
|
|
99
99
|
className: r,
|
|
100
100
|
...i,
|
|
@@ -102,7 +102,7 @@ function E(e) {
|
|
|
102
102
|
}), t[5] = n, t[6] = r, t[7] = i, t[8] = o, t[9] = e) : e = t[9], e;
|
|
103
103
|
}
|
|
104
104
|
let c;
|
|
105
|
-
return t[10] !== n || t[11] !== r || t[12] !== i || t[13] !== o ? (c = /* @__PURE__ */
|
|
105
|
+
return t[10] !== n || t[11] !== r || t[12] !== i || t[13] !== o ? (c = /* @__PURE__ */ _(p, {
|
|
106
106
|
sx: o,
|
|
107
107
|
className: r,
|
|
108
108
|
...i,
|
|
@@ -115,7 +115,7 @@ function D(e) {
|
|
|
115
115
|
let { isDesktop: s } = x();
|
|
116
116
|
if (s) {
|
|
117
117
|
let e;
|
|
118
|
-
return t[5] !== n || t[6] !== r || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */
|
|
118
|
+
return t[5] !== n || t[6] !== r || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */ _(i, {
|
|
119
119
|
sx: o,
|
|
120
120
|
className: r,
|
|
121
121
|
...a,
|
|
@@ -123,7 +123,7 @@ function D(e) {
|
|
|
123
123
|
}), t[5] = n, t[6] = r, t[7] = a, t[8] = o, t[9] = e) : e = t[9], e;
|
|
124
124
|
}
|
|
125
125
|
let c;
|
|
126
|
-
return t[10] !== n || t[11] !== r || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */
|
|
126
|
+
return t[10] !== n || t[11] !== r || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */ _(f, {
|
|
127
127
|
sx: o,
|
|
128
128
|
className: r,
|
|
129
129
|
...a,
|
|
@@ -136,7 +136,7 @@ function O(e) {
|
|
|
136
136
|
let { isDesktop: s } = x();
|
|
137
137
|
if (s) {
|
|
138
138
|
let e;
|
|
139
|
-
return t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== a ? (e = /* @__PURE__ */
|
|
139
|
+
return t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== a ? (e = /* @__PURE__ */ _(o, {
|
|
140
140
|
sx: a,
|
|
141
141
|
className: r,
|
|
142
142
|
...i,
|
|
@@ -144,7 +144,7 @@ function O(e) {
|
|
|
144
144
|
}), t[5] = n, t[6] = r, t[7] = i, t[8] = a, t[9] = e) : e = t[9], e;
|
|
145
145
|
}
|
|
146
146
|
let c;
|
|
147
|
-
return t[10] !== n || t[11] !== r || t[12] !== i || t[13] !== a ? (c = /* @__PURE__ */
|
|
147
|
+
return t[10] !== n || t[11] !== r || t[12] !== i || t[13] !== a ? (c = /* @__PURE__ */ _(m, {
|
|
148
148
|
sx: a,
|
|
149
149
|
className: r,
|
|
150
150
|
...i,
|
|
@@ -157,7 +157,7 @@ function k(e) {
|
|
|
157
157
|
let { isDesktop: s } = x();
|
|
158
158
|
if (s) {
|
|
159
159
|
let e;
|
|
160
|
-
return t[5] !== n || t[6] !== i || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */
|
|
160
|
+
return t[5] !== n || t[6] !== i || t[7] !== a || t[8] !== o ? (e = /* @__PURE__ */ _(r, {
|
|
161
161
|
sx: o,
|
|
162
162
|
className: i,
|
|
163
163
|
...a,
|
|
@@ -165,7 +165,7 @@ function k(e) {
|
|
|
165
165
|
}), t[5] = n, t[6] = i, t[7] = a, t[8] = o, t[9] = e) : e = t[9], e;
|
|
166
166
|
}
|
|
167
167
|
let c;
|
|
168
|
-
return t[10] !== n || t[11] !== i || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */
|
|
168
|
+
return t[10] !== n || t[11] !== i || t[12] !== a || t[13] !== o ? (c = /* @__PURE__ */ _(d, {
|
|
169
169
|
sx: o,
|
|
170
170
|
className: i,
|
|
171
171
|
...a,
|
package/dist/index142.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";const e=require("./index2.cjs"),t=require("./
|
|
1
|
+
"use client";const e=require("./index2.cjs"),t=require("./index46.cjs");let n=require("@stylexjs/stylex");n=e.__toESM(n,1);let r=require("react/jsx-runtime"),i=require("react");i=e.__toESM(i,1);let a=require("react/compiler-runtime"),o=require("@radix-ui/react-scroll-area");o=e.__toESM(o,1);var s={root:{kVAEAm:`x1n2onr6`,$$css:!0},scrollbar:{k1xSpc:`x78zum5`,kFalU9:`x5ve5x3`,kmVPX3:`xyf9f8g`,kfSwDN:`x87ps6o`,k1ekBW:`xts7igz`,kIyJzY:`xx6bhzk`,$$css:!0},scrollbarVertical:{kZKoxP:`x5yr21d`,kzqmXN:`x1e7hgle`,kZ1KPB:`xe0pwq`,k4WBpm:`x19ypqd9`,kaZRDh:`x1g4hjc`,$$css:!0},scrollbarHorizontal:{kZKoxP:`x1qa65zt`,kXwgrk:`xdt5ytf`,kEafiO:`x178xt8z`,kPef9Z:`x13fuv20`,kLZC3w:`x1v8p93f`,$$css:!0}};function c(e){let i=(0,a.c)(22),c,u,d,f;i[0]===e?(c=i[1],u=i[2],d=i[3],f=i[4]):({className:u,children:c,sx:f,...d}=e,i[0]=e,i[1]=c,i[2]=u,i[3]=d,i[4]=f);let p,m,h,g;if(i[5]!==u||i[6]!==f){let e=n.props(s.root,f);p=o.Root,m=`scroll-area`,h=e,g=t.cn(e.className,u),i[5]=u,i[6]=f,i[7]=p,i[8]=m,i[9]=h,i[10]=g}else p=i[7],m=i[8],h=i[9],g=i[10];let _;i[11]===c?_=i[12]:(_=(0,r.jsx)(o.Viewport,{"data-slot":`scroll-area-viewport`,className:`xh8yej3 x5yr21d x1pjcqnp x1a2a7pz`,children:c}),i[11]=c,i[12]=_);let v,y;i[13]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,r.jsx)(l,{}),y=(0,r.jsx)(o.Corner,{}),i[13]=v,i[14]=y):(v=i[13],y=i[14]);let b;return i[15]!==p||i[16]!==d||i[17]!==m||i[18]!==h||i[19]!==g||i[20]!==_?(b=(0,r.jsxs)(p,{"data-slot":m,...h,className:g,...d,children:[_,v,y]}),i[15]=p,i[16]=d,i[17]=m,i[18]=h,i[19]=g,i[20]=_,i[21]=b):b=i[21],b}function l({className:e,orientation:i=`vertical`,sx:a,...c}){let l=n.props(s.scrollbar,i===`vertical`?s.scrollbarVertical:s.scrollbarHorizontal,a);return(0,r.jsx)(o.ScrollAreaScrollbar,{"data-slot":`scroll-area-scrollbar`,orientation:i,...l,className:t.cn(l.className,e),...c,children:(0,r.jsx)(o.ScrollAreaThumb,{"data-slot":`scroll-area-thumb`,className:`x1n2onr6 x98rzlu x7xypw4 xwefxjc`})})}exports.ScrollArea=c,exports.ScrollBar=l;
|
package/dist/index142.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { cn as e } from "./
|
|
3
|
-
import "react";
|
|
2
|
+
import { cn as e } from "./index46.js";
|
|
4
3
|
import * as t from "@stylexjs/stylex";
|
|
5
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
6
|
import { c as i } from "react/compiler-runtime";
|
|
7
7
|
import * as a from "@radix-ui/react-scroll-area";
|
|
8
8
|
// src/ui/scroll-area.tsx
|
package/dist/index143.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./
|
|
1
|
+
const e=require("./index2.cjs"),t=require("./index14.cjs"),n=require("./index26.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react"),o=e.__toESM(a,1);a=e.__toESM(a);var s={root:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kmVPX3:`x78pyy4`,kaIpWk:`x1mr5ieh`,kWkggS:`x1qry0bl`,kMwMTN:`xw3nh4a`,kfSwDN:`x87ps6o`,kB7OPa:`x9f619`,kOIVth:`x1enigpx`,$$css:!0},block:{k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,$$css:!0},disabled:{kSiTet:`xbyyjgo`,kkrTdU:`x1h6gzvc`,kfzvcC:`x47corl`,$$css:!0},item:{kVAEAm:`x1n2onr6`,k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kOIVth:`x1m5ztt4`,kaIpWk:`xsda711`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,kMwMTN:`xw3nh4a`,k63SB2:`xk50ysn`,kkrTdU:`x1ypdohk`,k1ekBW:`x1hhurwi`,kIyJzY:`xx6bhzk`,kAMwcw:`xwwtwea`,kI3sdo:`x1a2a7pz`,kDPRdz:`x8aud5w`,kEtg5x:`xw5q27k`,$$css:!0},itemBlock:{kUk6DE:`x98rzlu`,$$css:!0},itemActive:{kWkggS:`x1mlyrtw`,kMwMTN:`x84br7x`,k63SB2:`x1s688f`,kGVxlE:`x19sfsg6`,$$css:!0},itemDisabled:{kkrTdU:`x1h6gzvc`,kSiTet:`xbyyjgo`,kDPRdz:`x5ufdz3`,$$css:!0},sizeSm:{kZKoxP:`xb8l8e1`,kg3NbH:`x97vtpp`,kGuDYH:`xboafo0`,kLWn49:`xl2ypbo`,$$css:!0},sizeMd:{kZKoxP:`xk8t5le`,kg3NbH:`x1ryrjj2`,kGuDYH:`xkpwil5`,kLWn49:`x8r4c90`,$$css:!0},sizeLg:{kZKoxP:`x12hms15`,kg3NbH:`xnxx81d`,kGuDYH:`x1jchvi3`,kLWn49:`x17mssa0`,$$css:!0}};function c(e){return typeof e==`string`||typeof e==`number`?{label:String(e),value:e}:e}var l=o.forwardRef(({options:e,value:a,defaultValue:l,onValueChange:u,size:d=`md`,block:f=!1,disabled:p=!1,sx:m,className:h,"aria-label":g=`Segmented options`,..._},v)=>{let y=o.useMemo(()=>e.map(c),[e]),b=l??y[0]?.value??``,[x,S]=o.useState(b),C=a!==void 0,w=C?a:x,T=e=>{p||(C||S(e),u?.(e))},E=e=>{if(p)return;let t=y.filter(e=>!e.disabled),n=t.findIndex(e=>e.value===w);if(e.key===`ArrowRight`||e.key===`ArrowDown`){e.preventDefault();let r=t[(n+1)%t.length];r&&T(r.value)}else if(e.key===`ArrowLeft`||e.key===`ArrowUp`){e.preventDefault();let r=t[(n-1+t.length)%t.length];r&&T(r.value)}},D=d===`sm`?s.sizeSm:d===`lg`?s.sizeLg:s.sizeMd;return(0,i.jsx)(n.Flex,{ref:v,inline:!f,align:`center`,role:`radiogroup`,"aria-label":g,tabIndex:p?-1:0,onKeyDown:E,"data-slot":`segmented`,sx:[s.root,f&&s.block,p&&s.disabled,m],className:h,..._,children:y.map(e=>{let n=w===e.value,a=p||!!e.disabled,o=r.props(s.item,D,f&&s.itemBlock,n&&s.itemActive,a&&s.itemDisabled);return(0,i.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":n,disabled:a,"data-slot":`segmented-item`,"data-value":String(e.value),"data-state":n?`active`:`inactive`,onClick:()=>T(e.value),...o,children:[e.icon&&(0,i.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s`,children:e.icon}),(0,i.jsx)(t.Text,{as:`span`,size:d===`sm`?`xs`:d===`lg`?`md`:`sm`,weight:n?`semibold`:`medium`,children:e.label})]},String(e.value))})})});l.displayName=`Segmented`,exports.Segmented=l;
|
package/dist/index143.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Text as e } from "./
|
|
2
|
-
import { Flex as t } from "./
|
|
3
|
-
import * as n from "
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import { Text as e } from "./index14.js";
|
|
2
|
+
import { Flex as t } from "./index26.js";
|
|
3
|
+
import * as n from "@stylexjs/stylex";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
import * as a from "react";
|
|
6
6
|
// src/ui/segmented.tsx
|
|
7
7
|
var o = {
|
|
8
8
|
root: {
|
|
@@ -93,8 +93,8 @@ function s(e) {
|
|
|
93
93
|
value: e
|
|
94
94
|
} : e;
|
|
95
95
|
}
|
|
96
|
-
var c =
|
|
97
|
-
let b =
|
|
96
|
+
var c = a.forwardRef(({ options: c, value: l, defaultValue: u, onValueChange: d, size: f = "md", block: p = !1, disabled: m = !1, sx: h, className: g, "aria-label": _ = "Segmented options", ...v }, y) => {
|
|
97
|
+
let b = a.useMemo(() => c.map(s), [c]), x = u ?? b[0]?.value ?? "", [S, C] = a.useState(x), w = l !== void 0, T = w ? l : S, E = (e) => {
|
|
98
98
|
m || (w || C(e), d?.(e));
|
|
99
99
|
}, D = (e) => {
|
|
100
100
|
if (m) return;
|
|
@@ -109,7 +109,7 @@ var c = n.forwardRef(({ options: c, value: l, defaultValue: u, onValueChange: d,
|
|
|
109
109
|
r && E(r.value);
|
|
110
110
|
}
|
|
111
111
|
}, O = f === "sm" ? o.sizeSm : f === "lg" ? o.sizeLg : o.sizeMd;
|
|
112
|
-
return /* @__PURE__ */
|
|
112
|
+
return /* @__PURE__ */ r(t, {
|
|
113
113
|
ref: y,
|
|
114
114
|
inline: !p,
|
|
115
115
|
align: "center",
|
|
@@ -127,24 +127,24 @@ var c = n.forwardRef(({ options: c, value: l, defaultValue: u, onValueChange: d,
|
|
|
127
127
|
className: g,
|
|
128
128
|
...v,
|
|
129
129
|
children: b.map((t) => {
|
|
130
|
-
let
|
|
131
|
-
return /* @__PURE__ */
|
|
130
|
+
let a = T === t.value, s = m || !!t.disabled, c = n.props(o.item, O, p && o.itemBlock, a && o.itemActive, s && o.itemDisabled);
|
|
131
|
+
return /* @__PURE__ */ i("button", {
|
|
132
132
|
type: "button",
|
|
133
133
|
role: "radio",
|
|
134
|
-
"aria-checked":
|
|
134
|
+
"aria-checked": a,
|
|
135
135
|
disabled: s,
|
|
136
136
|
"data-slot": "segmented-item",
|
|
137
137
|
"data-value": String(t.value),
|
|
138
|
-
"data-state":
|
|
138
|
+
"data-state": a ? "active" : "inactive",
|
|
139
139
|
onClick: () => E(t.value),
|
|
140
140
|
...c,
|
|
141
|
-
children: [t.icon && /* @__PURE__ */
|
|
141
|
+
children: [t.icon && /* @__PURE__ */ r("span", {
|
|
142
142
|
className: "x3nfvp2 x6s0dn4 xl56j7k x2lah0s",
|
|
143
143
|
children: t.icon
|
|
144
|
-
}), /* @__PURE__ */
|
|
144
|
+
}), /* @__PURE__ */ r(e, {
|
|
145
145
|
as: "span",
|
|
146
146
|
size: f === "sm" ? "xs" : f === "lg" ? "md" : "sm",
|
|
147
|
-
weight:
|
|
147
|
+
weight: a ? "semibold" : "medium",
|
|
148
148
|
children: t.label
|
|
149
149
|
})]
|
|
150
150
|
}, String(t.value));
|