@wello-dev/core 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-FIAJMBSD.js → chunk-2TFJ4SMR.js} +3 -3
- package/dist/chunk-2TFJ4SMR.js.map +1 -0
- package/dist/{chunk-COAMHU2N.js → chunk-2WHZJI3S.js} +3 -3
- package/dist/{chunk-F2FJLMJF.js → chunk-652ZEQV7.js} +4 -4
- package/dist/{chunk-YQOS23WP.js → chunk-7EINGVGG.js} +2 -2
- package/dist/{chunk-5XXK7KQE.js → chunk-A76QHCP5.js} +2 -2
- package/dist/{chunk-BVGYS3NN.js → chunk-BZPG4NZ6.js} +2 -2
- package/dist/{chunk-X7WXW6AV.js → chunk-DRSBB5T4.js} +2 -2
- package/dist/{chunk-HGYIOR5F.js → chunk-ESMDK5GY.js} +2 -2
- package/dist/{chunk-ULMVA37U.js → chunk-FSR3OEUP.js} +4 -4
- package/dist/{chunk-52P4CIAK.js → chunk-HBBXBVK6.js} +2 -2
- package/dist/{chunk-63PSLIW5.js → chunk-K3B2RENY.js} +2 -2
- package/dist/{chunk-ZTOAB4HM.js → chunk-NGXT7GNE.js} +2 -2
- package/dist/{chunk-KNN75VAT.js → chunk-NH26XE7T.js} +2 -2
- package/dist/{chunk-7GLDYLJ6.js → chunk-O6A7IBIW.js} +2 -2
- package/dist/{chunk-QSFXOVRL.js → chunk-QCMTAQSP.js} +13 -6
- package/dist/chunk-QCMTAQSP.js.map +1 -0
- package/dist/{chunk-DZ7HIMJ5.js → chunk-RVFCTNPD.js} +2 -2
- package/dist/{chunk-SJBYDDDD.js → chunk-XBLREJCR.js} +16 -5
- package/dist/chunk-XBLREJCR.js.map +1 -0
- package/dist/{chunk-N7T45HQC.js → chunk-YRKCM3OL.js} +8 -4
- package/dist/{chunk-N7T45HQC.js.map → chunk-YRKCM3OL.js.map} +1 -1
- package/dist/components/ColorPicker/ColorInput.js +4 -4
- package/dist/components/Combobox/Combobox.js +4 -4
- package/dist/components/Combobox/Select.js +5 -5
- package/dist/components/Combobox/TagsInput.js +5 -5
- package/dist/components/Dialog/Dialog.js +2 -2
- package/dist/components/Dropzone/Dropzone.js +4 -4
- package/dist/components/Menu/Menu.js +4 -4
- package/dist/components/Modal/Drawer.js +3 -3
- package/dist/components/Modal/Modal.js +3 -3
- package/dist/components/Modal/ModalBase.js +2 -2
- package/dist/components/PhoneInput/PhoneInput.js +6 -6
- package/dist/components/Popover/Popover.js +3 -3
- package/dist/components/Portal/Portal.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +3 -3
- package/dist/index.cjs +32 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +115 -115
- package/dist/shadcn/Command.js +6 -6
- package/dist/shadcn/Dialog.js +5 -5
- package/dist/shadcn/Floating.js +6 -6
- package/dist/styles.css +7 -3
- package/package.json +1 -1
- package/dist/chunk-FIAJMBSD.js.map +0 -1
- package/dist/chunk-QSFXOVRL.js.map +0 -1
- package/dist/chunk-SJBYDDDD.js.map +0 -1
- /package/dist/{chunk-COAMHU2N.js.map → chunk-2WHZJI3S.js.map} +0 -0
- /package/dist/{chunk-F2FJLMJF.js.map → chunk-652ZEQV7.js.map} +0 -0
- /package/dist/{chunk-YQOS23WP.js.map → chunk-7EINGVGG.js.map} +0 -0
- /package/dist/{chunk-5XXK7KQE.js.map → chunk-A76QHCP5.js.map} +0 -0
- /package/dist/{chunk-BVGYS3NN.js.map → chunk-BZPG4NZ6.js.map} +0 -0
- /package/dist/{chunk-X7WXW6AV.js.map → chunk-DRSBB5T4.js.map} +0 -0
- /package/dist/{chunk-HGYIOR5F.js.map → chunk-ESMDK5GY.js.map} +0 -0
- /package/dist/{chunk-ULMVA37U.js.map → chunk-FSR3OEUP.js.map} +0 -0
- /package/dist/{chunk-52P4CIAK.js.map → chunk-HBBXBVK6.js.map} +0 -0
- /package/dist/{chunk-63PSLIW5.js.map → chunk-K3B2RENY.js.map} +0 -0
- /package/dist/{chunk-ZTOAB4HM.js.map → chunk-NGXT7GNE.js.map} +0 -0
- /package/dist/{chunk-KNN75VAT.js.map → chunk-NH26XE7T.js.map} +0 -0
- /package/dist/{chunk-7GLDYLJ6.js.map → chunk-O6A7IBIW.js.map} +0 -0
- /package/dist/{chunk-DZ7HIMJ5.js.map → chunk-RVFCTNPD.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -3044,7 +3044,7 @@ declare const LoadingOverlay: WelloComponent<{
|
|
|
3044
3044
|
}>;
|
|
3045
3045
|
|
|
3046
3046
|
type FloatingSide = "top" | "right" | "bottom" | "left";
|
|
3047
|
-
type FloatingPosition = FloatingSide | `${FloatingSide}-start` | `${FloatingSide}-end`;
|
|
3047
|
+
type FloatingPosition = FloatingSide | `${FloatingSide}-start` | `${FloatingSide}-end` | `${FloatingSide}-left` | `${FloatingSide}-right`;
|
|
3048
3048
|
interface UseFloatingOptions {
|
|
3049
3049
|
opened: boolean;
|
|
3050
3050
|
/** Default: 'bottom' */
|
|
@@ -3057,7 +3057,7 @@ interface UseFloatingOptions {
|
|
|
3057
3057
|
shift?: boolean;
|
|
3058
3058
|
/** Distance kept from the viewport edges, px. Default: 8 */
|
|
3059
3059
|
padding?: number;
|
|
3060
|
-
/** RTL swaps start / end on top and bottom */
|
|
3060
|
+
/** RTL swaps logical start / end on top and bottom (not physical left / right) */
|
|
3061
3061
|
dir?: "ltr" | "rtl";
|
|
3062
3062
|
/** Arrow size, for keeping it inside rounded corners */
|
|
3063
3063
|
arrowSize?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -3044,7 +3044,7 @@ declare const LoadingOverlay: WelloComponent<{
|
|
|
3044
3044
|
}>;
|
|
3045
3045
|
|
|
3046
3046
|
type FloatingSide = "top" | "right" | "bottom" | "left";
|
|
3047
|
-
type FloatingPosition = FloatingSide | `${FloatingSide}-start` | `${FloatingSide}-end`;
|
|
3047
|
+
type FloatingPosition = FloatingSide | `${FloatingSide}-start` | `${FloatingSide}-end` | `${FloatingSide}-left` | `${FloatingSide}-right`;
|
|
3048
3048
|
interface UseFloatingOptions {
|
|
3049
3049
|
opened: boolean;
|
|
3050
3050
|
/** Default: 'bottom' */
|
|
@@ -3057,7 +3057,7 @@ interface UseFloatingOptions {
|
|
|
3057
3057
|
shift?: boolean;
|
|
3058
3058
|
/** Distance kept from the viewport edges, px. Default: 8 */
|
|
3059
3059
|
padding?: number;
|
|
3060
|
-
/** RTL swaps start / end on top and bottom */
|
|
3060
|
+
/** RTL swaps logical start / end on top and bottom (not physical left / right) */
|
|
3061
3061
|
dir?: "ltr" | "rtl";
|
|
3062
3062
|
/** Arrow size, for keeping it inside rounded corners */
|
|
3063
3063
|
arrowSize?: number;
|
package/dist/index.js
CHANGED
|
@@ -1,49 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Typography
|
|
4
|
-
} from "./chunk-SIZ7G2KD.js";
|
|
5
2
|
import {
|
|
6
3
|
VisuallyHidden
|
|
7
4
|
} from "./chunk-R3H3IYNM.js";
|
|
8
5
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
PasswordInput,
|
|
12
|
-
TextInput,
|
|
13
|
-
Textarea
|
|
14
|
-
} from "./chunk-7S7RIVCI.js";
|
|
6
|
+
Typography
|
|
7
|
+
} from "./chunk-SIZ7G2KD.js";
|
|
15
8
|
import {
|
|
16
9
|
ThemeToggle,
|
|
17
10
|
ThemeToggleButton
|
|
18
11
|
} from "./chunk-EJ7ZXISQ.js";
|
|
12
|
+
import {
|
|
13
|
+
Timeline,
|
|
14
|
+
TimelineItem
|
|
15
|
+
} from "./chunk-5N3F6CKC.js";
|
|
19
16
|
import {
|
|
20
17
|
Title
|
|
21
18
|
} from "./chunk-62UUESHU.js";
|
|
22
19
|
import {
|
|
23
20
|
Toggle
|
|
24
21
|
} from "./chunk-2WIGWLPL.js";
|
|
25
|
-
import {
|
|
26
|
-
Timeline,
|
|
27
|
-
TimelineItem
|
|
28
|
-
} from "./chunk-5N3F6CKC.js";
|
|
29
|
-
import {
|
|
30
|
-
SimpleGrid
|
|
31
|
-
} from "./chunk-QIS6W7Q6.js";
|
|
32
22
|
import {
|
|
33
23
|
RangeSlider,
|
|
34
24
|
Slider
|
|
35
25
|
} from "./chunk-CVIHRO4Q.js";
|
|
36
26
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
27
|
+
Spoiler
|
|
28
|
+
} from "./chunk-YTI5AZL4.js";
|
|
29
|
+
import {
|
|
30
|
+
SimpleGrid
|
|
31
|
+
} from "./chunk-QIS6W7Q6.js";
|
|
41
32
|
import {
|
|
42
33
|
Stack
|
|
43
34
|
} from "./chunk-E74HEMFS.js";
|
|
44
|
-
import {
|
|
45
|
-
Spoiler
|
|
46
|
-
} from "./chunk-YTI5AZL4.js";
|
|
47
35
|
import {
|
|
48
36
|
TabCount,
|
|
49
37
|
Tabs,
|
|
@@ -56,54 +44,34 @@ import {
|
|
|
56
44
|
useTabsContext
|
|
57
45
|
} from "./chunk-GSLJSEUI.js";
|
|
58
46
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
PhoneInput,
|
|
64
|
-
fitPhoneNumber,
|
|
65
|
-
matchesPhoneStartingNumber,
|
|
66
|
-
normalizeStartingNumber,
|
|
67
|
-
resolvePhoneCountry
|
|
68
|
-
} from "./chunk-SJBYDDDD.js";
|
|
69
|
-
import {
|
|
70
|
-
Skeleton
|
|
71
|
-
} from "./chunk-TVOR2RGE.js";
|
|
72
|
-
import {
|
|
73
|
-
InputOTP,
|
|
74
|
-
InputOTPGroup,
|
|
75
|
-
InputOTPSeparator,
|
|
76
|
-
InputOTPSlot,
|
|
77
|
-
PinInput,
|
|
78
|
-
REGEXP_ONLY_CHARS,
|
|
79
|
-
REGEXP_ONLY_DIGITS,
|
|
80
|
-
REGEXP_ONLY_DIGITS_AND_CHARS
|
|
81
|
-
} from "./chunk-E2765LHX.js";
|
|
47
|
+
Stepper,
|
|
48
|
+
StepperCompleted,
|
|
49
|
+
StepperStep
|
|
50
|
+
} from "./chunk-VNM5TVQZ.js";
|
|
82
51
|
import {
|
|
83
|
-
|
|
84
|
-
|
|
52
|
+
InputNumber,
|
|
53
|
+
NumberInput,
|
|
54
|
+
PasswordInput,
|
|
55
|
+
TextInput,
|
|
56
|
+
Textarea
|
|
57
|
+
} from "./chunk-7S7RIVCI.js";
|
|
85
58
|
import {
|
|
86
59
|
RingProgress,
|
|
87
60
|
SemiCircleProgress
|
|
88
61
|
} from "./chunk-3NXEX2BT.js";
|
|
62
|
+
import {
|
|
63
|
+
Progress
|
|
64
|
+
} from "./chunk-HESG7OWV.js";
|
|
89
65
|
import {
|
|
90
66
|
ScrollArea,
|
|
91
67
|
ScrollAreaAutosize
|
|
92
68
|
} from "./chunk-QHJMXGDE.js";
|
|
93
|
-
import {
|
|
94
|
-
List,
|
|
95
|
-
ListItem
|
|
96
|
-
} from "./chunk-GKBBDYNB.js";
|
|
97
69
|
import {
|
|
98
70
|
NavLink
|
|
99
71
|
} from "./chunk-KPWAEDRU.js";
|
|
100
72
|
import {
|
|
101
73
|
Notification
|
|
102
74
|
} from "./chunk-3Z5OAUG3.js";
|
|
103
|
-
import {
|
|
104
|
-
NumberFormatter,
|
|
105
|
-
formatNumber
|
|
106
|
-
} from "./chunk-TIVOXLDX.js";
|
|
107
75
|
import {
|
|
108
76
|
DOTS,
|
|
109
77
|
Pagination,
|
|
@@ -111,61 +79,76 @@ import {
|
|
|
111
79
|
usePagination
|
|
112
80
|
} from "./chunk-JZJ5R7XW.js";
|
|
113
81
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
82
|
+
NumberFormatter,
|
|
83
|
+
formatNumber
|
|
84
|
+
} from "./chunk-TIVOXLDX.js";
|
|
85
|
+
import {
|
|
86
|
+
Paper
|
|
87
|
+
} from "./chunk-B3LVDQJU.js";
|
|
88
|
+
import {
|
|
89
|
+
ALL_PHONE_COUNTRIES,
|
|
90
|
+
PhoneInput,
|
|
91
|
+
fitPhoneNumber,
|
|
92
|
+
matchesPhoneStartingNumber,
|
|
93
|
+
normalizeStartingNumber,
|
|
94
|
+
resolvePhoneCountry
|
|
95
|
+
} from "./chunk-XBLREJCR.js";
|
|
96
|
+
import {
|
|
97
|
+
Skeleton
|
|
98
|
+
} from "./chunk-TVOR2RGE.js";
|
|
99
|
+
import {
|
|
100
|
+
InputOTP,
|
|
101
|
+
InputOTPGroup,
|
|
102
|
+
InputOTPSeparator,
|
|
103
|
+
InputOTPSlot,
|
|
104
|
+
PinInput,
|
|
105
|
+
REGEXP_ONLY_CHARS,
|
|
106
|
+
REGEXP_ONLY_DIGITS,
|
|
107
|
+
REGEXP_ONLY_DIGITS_AND_CHARS
|
|
108
|
+
} from "./chunk-E2765LHX.js";
|
|
116
109
|
import {
|
|
117
110
|
BackgroundImage,
|
|
118
111
|
Image
|
|
119
112
|
} from "./chunk-L5MO7VKZ.js";
|
|
120
113
|
import {
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
Grid,
|
|
115
|
+
GridCol
|
|
116
|
+
} from "./chunk-HSJ27BGL.js";
|
|
123
117
|
import {
|
|
124
118
|
Indicator
|
|
125
119
|
} from "./chunk-2GM6477D.js";
|
|
126
120
|
import {
|
|
127
|
-
|
|
128
|
-
|
|
121
|
+
List,
|
|
122
|
+
ListItem
|
|
123
|
+
} from "./chunk-GKBBDYNB.js";
|
|
129
124
|
import {
|
|
130
|
-
|
|
131
|
-
} from "./chunk-
|
|
125
|
+
Container
|
|
126
|
+
} from "./chunk-RJK6AQEW.js";
|
|
132
127
|
import {
|
|
133
128
|
Dropzone,
|
|
134
129
|
formatFileSize
|
|
135
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-NGXT7GNE.js";
|
|
136
131
|
import {
|
|
137
|
-
|
|
138
|
-
} from "./chunk-
|
|
139
|
-
import {
|
|
140
|
-
Grid,
|
|
141
|
-
GridCol
|
|
142
|
-
} from "./chunk-HSJ27BGL.js";
|
|
132
|
+
Dialog
|
|
133
|
+
} from "./chunk-K3B2RENY.js";
|
|
143
134
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
135
|
+
Flex
|
|
136
|
+
} from "./chunk-BZ222ZYD.js";
|
|
146
137
|
import {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
HueSlider,
|
|
150
|
-
colorLuminance,
|
|
151
|
-
convertHsvaTo,
|
|
152
|
-
hsvaToRgbaObject,
|
|
153
|
-
isColorValid,
|
|
154
|
-
parseColor
|
|
155
|
-
} from "./chunk-VIO22OUP.js";
|
|
138
|
+
FileButton
|
|
139
|
+
} from "./chunk-ZVXCVBC4.js";
|
|
156
140
|
import {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
} from "./chunk-MWYGXAJQ.js";
|
|
141
|
+
Group
|
|
142
|
+
} from "./chunk-2A6MTZBO.js";
|
|
160
143
|
import {
|
|
161
144
|
Select
|
|
162
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-RVFCTNPD.js";
|
|
163
146
|
import {
|
|
164
147
|
EmptyState
|
|
165
148
|
} from "./chunk-DHAMBKCR.js";
|
|
166
149
|
import {
|
|
167
150
|
TagsInput
|
|
168
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-NH26XE7T.js";
|
|
169
152
|
import {
|
|
170
153
|
Field,
|
|
171
154
|
FieldContent,
|
|
@@ -211,20 +194,30 @@ import {
|
|
|
211
194
|
ComboboxTarget,
|
|
212
195
|
useCombobox,
|
|
213
196
|
useComboboxContext
|
|
214
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-BZPG4NZ6.js";
|
|
215
198
|
import {
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
199
|
+
CopyButton
|
|
200
|
+
} from "./chunk-FR7TZXY3.js";
|
|
218
201
|
import {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
202
|
+
ColorInput
|
|
203
|
+
} from "./chunk-DRSBB5T4.js";
|
|
204
|
+
import {
|
|
205
|
+
AlphaSlider,
|
|
206
|
+
ColorPicker,
|
|
207
|
+
HueSlider,
|
|
208
|
+
colorLuminance,
|
|
209
|
+
convertHsvaTo,
|
|
210
|
+
hsvaToRgbaObject,
|
|
211
|
+
isColorValid,
|
|
212
|
+
parseColor
|
|
213
|
+
} from "./chunk-VIO22OUP.js";
|
|
214
|
+
import {
|
|
215
|
+
ColorSwatch,
|
|
216
|
+
ThemeIcon
|
|
217
|
+
} from "./chunk-MWYGXAJQ.js";
|
|
218
|
+
import {
|
|
219
|
+
Carousel
|
|
220
|
+
} from "./chunk-APTAGITO.js";
|
|
228
221
|
import {
|
|
229
222
|
AspectRatio,
|
|
230
223
|
Center,
|
|
@@ -254,8 +247,15 @@ import {
|
|
|
254
247
|
useInputWrapperContext
|
|
255
248
|
} from "./chunk-JJXJXOZ7.js";
|
|
256
249
|
import {
|
|
257
|
-
|
|
258
|
-
|
|
250
|
+
Breadcrumb,
|
|
251
|
+
BreadcrumbEllipsis,
|
|
252
|
+
BreadcrumbItem,
|
|
253
|
+
BreadcrumbLink,
|
|
254
|
+
BreadcrumbList,
|
|
255
|
+
BreadcrumbPage,
|
|
256
|
+
BreadcrumbSeparator,
|
|
257
|
+
Breadcrumbs
|
|
258
|
+
} from "./chunk-NOYSHU5U.js";
|
|
259
259
|
import {
|
|
260
260
|
Chip,
|
|
261
261
|
ChipGroup,
|
|
@@ -283,9 +283,6 @@ import {
|
|
|
283
283
|
AvatarGroup,
|
|
284
284
|
getInitials
|
|
285
285
|
} from "./chunk-7JGIQGZP.js";
|
|
286
|
-
import {
|
|
287
|
-
Blockquote
|
|
288
|
-
} from "./chunk-QFN4MBT2.js";
|
|
289
286
|
import {
|
|
290
287
|
Badge
|
|
291
288
|
} from "./chunk-XAHR3DK7.js";
|
|
@@ -296,6 +293,9 @@ import {
|
|
|
296
293
|
Card,
|
|
297
294
|
CardSection
|
|
298
295
|
} from "./chunk-L2V4OD4Q.js";
|
|
296
|
+
import {
|
|
297
|
+
Blockquote
|
|
298
|
+
} from "./chunk-QFN4MBT2.js";
|
|
299
299
|
import "./chunk-G7EIISMY.js";
|
|
300
300
|
import {
|
|
301
301
|
buildViewTransitionCss,
|
|
@@ -320,7 +320,7 @@ import {
|
|
|
320
320
|
CommandList,
|
|
321
321
|
CommandSeparator,
|
|
322
322
|
CommandShortcut
|
|
323
|
-
} from "./chunk-
|
|
323
|
+
} from "./chunk-HBBXBVK6.js";
|
|
324
324
|
import {
|
|
325
325
|
AlertDialog,
|
|
326
326
|
AlertDialogAction,
|
|
@@ -349,15 +349,15 @@ import {
|
|
|
349
349
|
SheetHeader,
|
|
350
350
|
SheetTitle,
|
|
351
351
|
SheetTrigger
|
|
352
|
-
} from "./chunk-
|
|
352
|
+
} from "./chunk-652ZEQV7.js";
|
|
353
353
|
import {
|
|
354
354
|
Drawer,
|
|
355
355
|
DrawerRoot
|
|
356
|
-
} from "./chunk-
|
|
356
|
+
} from "./chunk-O6A7IBIW.js";
|
|
357
357
|
import {
|
|
358
358
|
Modal,
|
|
359
359
|
ModalRoot
|
|
360
|
-
} from "./chunk-
|
|
360
|
+
} from "./chunk-7EINGVGG.js";
|
|
361
361
|
import {
|
|
362
362
|
ModalBaseBody,
|
|
363
363
|
ModalBaseCloseButton,
|
|
@@ -368,7 +368,7 @@ import {
|
|
|
368
368
|
ModalBaseTitle,
|
|
369
369
|
sizeValue,
|
|
370
370
|
useModalContext
|
|
371
|
-
} from "./chunk-
|
|
371
|
+
} from "./chunk-ESMDK5GY.js";
|
|
372
372
|
import {
|
|
373
373
|
LoadingOverlay,
|
|
374
374
|
Overlay
|
|
@@ -418,10 +418,10 @@ import {
|
|
|
418
418
|
TooltipContent,
|
|
419
419
|
TooltipProvider,
|
|
420
420
|
TooltipTrigger
|
|
421
|
-
} from "./chunk-
|
|
421
|
+
} from "./chunk-FSR3OEUP.js";
|
|
422
422
|
import {
|
|
423
423
|
TooltipFloating
|
|
424
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-2WHZJI3S.js";
|
|
425
425
|
import {
|
|
426
426
|
Menu,
|
|
427
427
|
MenuDivider,
|
|
@@ -429,18 +429,18 @@ import {
|
|
|
429
429
|
MenuItem,
|
|
430
430
|
MenuLabel,
|
|
431
431
|
MenuTarget
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-A76QHCP5.js";
|
|
433
433
|
import {
|
|
434
434
|
PopoverDropdown,
|
|
435
435
|
PopoverTarget,
|
|
436
436
|
usePopoverContext
|
|
437
|
-
} from "./chunk-
|
|
438
|
-
import "./chunk-
|
|
437
|
+
} from "./chunk-YRKCM3OL.js";
|
|
438
|
+
import "./chunk-QCMTAQSP.js";
|
|
439
439
|
import "./chunk-AZ4WBNXD.js";
|
|
440
440
|
import {
|
|
441
441
|
OptionalPortal,
|
|
442
442
|
Portal
|
|
443
|
-
} from "./chunk-
|
|
443
|
+
} from "./chunk-2TFJ4SMR.js";
|
|
444
444
|
import {
|
|
445
445
|
Transition,
|
|
446
446
|
transitionStyles,
|
package/dist/shadcn/Command.js
CHANGED
|
@@ -9,18 +9,18 @@ import {
|
|
|
9
9
|
CommandList,
|
|
10
10
|
CommandSeparator,
|
|
11
11
|
CommandShortcut
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-HBBXBVK6.js";
|
|
13
|
+
import "../chunk-652ZEQV7.js";
|
|
14
|
+
import "../chunk-O6A7IBIW.js";
|
|
15
|
+
import "../chunk-7EINGVGG.js";
|
|
16
|
+
import "../chunk-ESMDK5GY.js";
|
|
17
17
|
import "../chunk-NZQI4WL5.js";
|
|
18
18
|
import "../chunk-7KIXQ2XG.js";
|
|
19
19
|
import "../chunk-57ZKN6G3.js";
|
|
20
20
|
import "../chunk-YFBYWNYF.js";
|
|
21
21
|
import "../chunk-ZJZUNSCO.js";
|
|
22
22
|
import "../chunk-AZ4WBNXD.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-2TFJ4SMR.js";
|
|
24
24
|
import "../chunk-H4D7LXZL.js";
|
|
25
25
|
import "../chunk-CTBTEAD6.js";
|
|
26
26
|
import "../chunk-BMKZFNPD.js";
|
package/dist/shadcn/Dialog.js
CHANGED
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
SheetHeader,
|
|
28
28
|
SheetTitle,
|
|
29
29
|
SheetTrigger
|
|
30
|
-
} from "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-652ZEQV7.js";
|
|
31
|
+
import "../chunk-O6A7IBIW.js";
|
|
32
|
+
import "../chunk-7EINGVGG.js";
|
|
33
|
+
import "../chunk-ESMDK5GY.js";
|
|
34
34
|
import "../chunk-NZQI4WL5.js";
|
|
35
35
|
import "../chunk-7KIXQ2XG.js";
|
|
36
36
|
import "../chunk-57ZKN6G3.js";
|
|
37
37
|
import "../chunk-YFBYWNYF.js";
|
|
38
38
|
import "../chunk-ZJZUNSCO.js";
|
|
39
39
|
import "../chunk-AZ4WBNXD.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-2TFJ4SMR.js";
|
|
41
41
|
import "../chunk-H4D7LXZL.js";
|
|
42
42
|
import "../chunk-CTBTEAD6.js";
|
|
43
43
|
import "../chunk-BMKZFNPD.js";
|
package/dist/shadcn/Floating.js
CHANGED
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
TooltipContent,
|
|
27
27
|
TooltipProvider,
|
|
28
28
|
TooltipTrigger
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
29
|
+
} from "../chunk-FSR3OEUP.js";
|
|
30
|
+
import "../chunk-2WHZJI3S.js";
|
|
31
|
+
import "../chunk-A76QHCP5.js";
|
|
32
|
+
import "../chunk-YRKCM3OL.js";
|
|
33
|
+
import "../chunk-QCMTAQSP.js";
|
|
34
34
|
import "../chunk-AZ4WBNXD.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-2TFJ4SMR.js";
|
|
36
36
|
import "../chunk-H4D7LXZL.js";
|
|
37
37
|
import "../chunk-CTBTEAD6.js";
|
|
38
38
|
import "../chunk-BMKZFNPD.js";
|
package/dist/styles.css
CHANGED
|
@@ -6684,16 +6684,18 @@
|
|
|
6684
6684
|
|
|
6685
6685
|
/*
|
|
6686
6686
|
* Portaled country list — always LTR (flag + dial code). Without this, RTL pages
|
|
6687
|
-
* pack options to the end and the check overlaps the digits.
|
|
6687
|
+
* pack options to the end and the check overlaps the digits. Portal root may be
|
|
6688
|
+
* dir=rtl (synced from <html>), so override the RTL option-bar flip explicitly.
|
|
6688
6689
|
*/
|
|
6689
6690
|
.wello-PhoneInput-dropdown.wello-PhoneInput-dropdown {
|
|
6690
6691
|
direction: ltr;
|
|
6691
|
-
min-width:
|
|
6692
|
+
min-width: 12rem;
|
|
6692
6693
|
}
|
|
6693
6694
|
.wello-PhoneInput-dropdown .wello-Combobox-option,
|
|
6694
6695
|
.wello-PhoneInput-dropdown .wello-Select-option {
|
|
6695
6696
|
direction: ltr;
|
|
6696
6697
|
justify-content: flex-start;
|
|
6698
|
+
--_option-bar: 3px;
|
|
6697
6699
|
}
|
|
6698
6700
|
.wello-PhoneInput-dropdown .wello-Select-optionLabel,
|
|
6699
6701
|
.wello-PhoneInput-dropdown .wello-Select-optionBody {
|
|
@@ -6702,9 +6704,11 @@
|
|
|
6702
6704
|
min-width: 0;
|
|
6703
6705
|
justify-content: flex-start;
|
|
6704
6706
|
}
|
|
6705
|
-
.wello-PhoneInput-dropdown .wello-Select-check
|
|
6707
|
+
.wello-PhoneInput-dropdown .wello-Select-check,
|
|
6708
|
+
.wello-PhoneInput-dropdown .wello-Combobox-optionCheck {
|
|
6706
6709
|
flex: none;
|
|
6707
6710
|
margin-inline-start: 0.5rem;
|
|
6711
|
+
margin-inline-end: 0;
|
|
6708
6712
|
}
|
|
6709
6713
|
}
|
|
6710
6714
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wello-dev/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "React UI components: theme, Styles API, style props, dark mode and RTL",
|
|
5
5
|
"homepage": "https://wello-dev.vercel.app/",
|
|
6
6
|
"author": "Mohamed Wael <mohamedwael4553@gmail.com>",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Portal/Portal.tsx"],"sourcesContent":["import { useEffect, useRef, useState, type ReactNode } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport { useProps } from \"../../core/styles-api/styles-api\";\n\nexport interface PortalProps {\n /** Element or selector to render into. Default: a new `<div>` in `document.body` */\n target?: HTMLElement | string | null;\n /** Share one container `<div>` between every portal without a target. Default: true */\n reuseTargetNode?: boolean;\n /** Class / id on the created container */\n className?: string;\n id?: string;\n children?: ReactNode;\n}\n\nlet sharedNode: HTMLDivElement | null = null;\n\n/** Keep portal roots aligned with `<html dir>` so RTL PhoneInput / Select menus match. */\nfunction syncPortalDir(el: HTMLElement) {\n const dir = document.documentElement.getAttribute(\"dir\");\n if (dir) el.setAttribute(\"dir\", dir);\n else el.removeAttribute(\"dir\");\n}\n\n/**\n * Renders children elsewhere in the DOM (body by default), after the first client render.\n *\n * @example\n * <Portal><div className=\"toast\">…</div></Portal>\n */\nexport function Portal(_props: PortalProps) {\n const { target, reuseTargetNode, className, id, children } = useProps(\"Portal\", { reuseTargetNode: true }, _props);\n const [node, setNode] = useState<HTMLElement | null>(null);\n const created = useRef<HTMLDivElement | null>(null);\n\n useEffect(() => {\n if (target) {\n const el = typeof target === \"string\" ? document.querySelector<HTMLElement>(target) : target;\n if (el) syncPortalDir(el);\n setNode(el);\n return;\n }\n // Your own class or id needs its own element.\n if (reuseTargetNode && !className && !id) {\n if (!sharedNode || !sharedNode.isConnected) {\n sharedNode = document.createElement(\"div\");\n sharedNode.setAttribute(\"data-wello-portal\", \"shared\");\n document.body.appendChild(sharedNode);\n }\n syncPortalDir(sharedNode);\n setNode(sharedNode);\n return;\n }\n const div = document.createElement(\"div\");\n div.setAttribute(\"data-wello-portal\", \"\");\n if (className) div.className = className;\n if (id) div.id = id;\n syncPortalDir(div);\n document.body.appendChild(div);\n created.current = div;\n setNode(div);\n return () => {\n div.remove();\n created.current = null;\n };\n }, [target, reuseTargetNode, className, id]);\n\n // Dir can change while a dropdown is open (language switch).\n useEffect(() => {\n if (!node) return;\n syncPortalDir(node);\n const observer = new MutationObserver(() => syncPortalDir(node));\n observer.observe(document.documentElement, { attributes: true, attributeFilter: [\"dir\"] });\n return () => observer.disconnect();\n }, [node]);\n\n return node ? createPortal(children, node) : null;\n}\n\n/** `withinPortal` helper used by overlays: portal or inline. */\nexport function OptionalPortal({ withinPortal = true, children, ...props }: PortalProps & { withinPortal?: boolean }) {\n return withinPortal ? <Portal {...props}>{children}</Portal> : <>{children}</>;\n}\n"],"mappings":";;;;;;AAAA,SAAS,WAAW,QAAQ,gBAAgC;AAC5D,SAAS,oBAAoB;AAgFL,SAAyC,UAAzC;AAlExB,IAAI,aAAoC;AAGxC,SAAS,cAAc,IAAiB;AACtC,QAAM,MAAM,SAAS,gBAAgB,aAAa,KAAK;AACvD,MAAI,IAAK,IAAG,aAAa,OAAO,GAAG;AAAA,MAC9B,IAAG,gBAAgB,KAAK;AAC/B;AAQO,SAAS,OAAO,QAAqB;AAC1C,QAAM,EAAE,QAAQ,iBAAiB,WAAW,IAAI,SAAS,IAAI,SAAS,UAAU,EAAE,iBAAiB,KAA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AO,eAAe,oBAAC,UAAQ,GAAG,OAAQ,UAAS,IAAY,gCAAG,UAAS;AAC7E;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/overlay/use-floating.ts"],"sourcesContent":["import { useCallback, useEffect, useLayoutEffect, useRef, useState } from \"react\";\n\nexport type FloatingSide = \"top\" | \"right\" | \"bottom\" | \"left\";\nexport type FloatingPosition = FloatingSide | `${FloatingSide}-start` | `${FloatingSide}-end`;\n\nexport interface UseFloatingOptions {\n opened: boolean;\n /** Default: 'bottom' */\n position?: FloatingPosition;\n /** Gap between target and dropdown, px. Default: 8 */\n offset?: number;\n /** Move to the opposite side when there is no room. Default: true */\n flip?: boolean;\n /** Slide along the target to stay in the viewport. Default: true */\n shift?: boolean;\n /** Distance kept from the viewport edges, px. Default: 8 */\n padding?: number;\n /** RTL swaps start / end on top and bottom */\n dir?: \"ltr\" | \"rtl\";\n /** Arrow size, for keeping it inside rounded corners */\n arrowSize?: number;\n /** Space between the arrow and the dropdown corner. Default: 5 */\n arrowOffset?: number;\n /** Arrow at the side edge or centered on the target. Default: 'side' */\n arrowPosition?: \"side\" | \"center\";\n onPositionChange?: (position: FloatingPosition) => void;\n /** Stay on the side it opened on, instead of flipping while scrolling. Default: true */\n preventPositionChangeWhenVisible?: boolean;\n}\n\nexport interface FloatingState {\n x: number;\n y: number;\n /** Final position after flipping */\n placement: FloatingPosition;\n arrowX?: number;\n arrowY?: number;\n /** Target size, for `width=\"target\"` */\n referenceWidth: number;\n ready: boolean;\n /** The target is scrolled out of sight */\n referenceHidden: boolean;\n}\n\nconst OPPOSITE: Record<FloatingSide, FloatingSide> = { top: \"bottom\", bottom: \"top\", left: \"right\", right: \"left\" };\n\nfunction split(position: FloatingPosition): [FloatingSide, \"start\" | \"center\" | \"end\"] {\n const [side, align] = position.split(\"-\") as [FloatingSide, \"start\" | \"end\" | undefined];\n return [side, align ?? \"center\"];\n}\n\n/** Coordinates of a dropdown for a side / alignment, in viewport (fixed) coordinates. */\nfunction place(ref: DOMRect, width: number, height: number, side: FloatingSide, align: \"start\" | \"center\" | \"end\", offset: number) {\n let x = 0;\n let y = 0;\n if (side === \"top\" || side === \"bottom\") {\n y = side === \"bottom\" ? ref.bottom + offset : ref.top - offset - height;\n x = align === \"start\" ? ref.left : align === \"end\" ? ref.right - width : ref.left + ref.width / 2 - width / 2;\n } else {\n x = side === \"right\" ? ref.right + offset : ref.left - offset - width;\n y = align === \"start\" ? ref.top : align === \"end\" ? ref.bottom - height : ref.top + ref.height / 2 - height / 2;\n }\n return { x, y };\n}\n\n/**\n * Positions a floating element next to a reference element (position: fixed), with flip,\n * shift and an arrow. Updates on scroll, resize and size changes.\n */\nexport function useFloating(options: UseFloatingOptions) {\n const {\n opened,\n position = \"bottom\",\n offset = 8,\n flip = true,\n shift = true,\n padding = 8,\n dir = \"ltr\",\n arrowSize = 0,\n arrowOffset = 5,\n arrowPosition = \"side\",\n onPositionChange,\n preventPositionChangeWhenVisible = true,\n } = options;\n const reference = useRef<HTMLElement | null>(null);\n const floating = useRef<HTMLElement | null>(null);\n const [state, setState] = useState<FloatingState>({ x: 0, y: 0, placement: position, referenceWidth: 0, ready: false, referenceHidden: false });\n const lastPlacement = useRef(position);\n const lockedSide = useRef<FloatingSide | null>(null);\n const changed = useRef(onPositionChange);\n changed.current = onPositionChange;\n\n const update = useCallback(() => {\n const ref = reference.current;\n const el = floating.current;\n if (!ref || !el) return;\n const rect = ref.getBoundingClientRect();\n const width = el.offsetWidth;\n const height = el.offsetHeight;\n const vw = document.documentElement.clientWidth;\n const vh = document.documentElement.clientHeight;\n let [side, align] = split(position);\n if (dir === \"rtl\" && (side === \"top\" || side === \"bottom\") && align !== \"center\") {\n align = align === \"start\" ? \"end\" : \"start\";\n }\n\n const locked = preventPositionChangeWhenVisible ? lockedSide.current : null;\n if (locked) side = locked;\n let { x, y } = place(rect, width, height, side, align, offset);\n if (flip && !locked) {\n const overflows = (s: FloatingSide, px: number, py: number) =>\n s === \"bottom\" ? py + height > vh - padding : s === \"top\" ? py < padding : s === \"right\" ? px + width > vw - padding : px < padding;\n if (overflows(side, x, y)) {\n const other = OPPOSITE[side];\n const flipped = place(rect, width, height, other, align, offset);\n const room = (s: FloatingSide) =>\n s === \"bottom\" ? vh - rect.bottom : s === \"top\" ? rect.top : s === \"right\" ? vw - rect.right : rect.left;\n if (!overflows(other, flipped.x, flipped.y) || room(other) > room(side)) {\n side = other;\n ({ x, y } = flipped);\n }\n }\n }\n if (shift) {\n if (side === \"top\" || side === \"bottom\") x = Math.min(Math.max(x, padding), Math.max(padding, vw - width - padding));\n else y = Math.min(Math.max(y, padding), Math.max(padding, vh - height - padding));\n }\n\n // Nothing measured yet means it isn't really open, so it may still pick a side.\n if (width > 0) lockedSide.current = side;\n\n // Outside the viewport, or cut off by a scrolling parent.\n let referenceHidden = rect.bottom <= 0 || rect.top >= vh || rect.right <= 0 || rect.left >= vw;\n for (let parent = ref.parentElement; parent && !referenceHidden && parent !== document.body; parent = parent.parentElement) {\n const style = getComputedStyle(parent);\n if (style.overflowX === \"visible\" && style.overflowY === \"visible\") continue;\n const box = parent.getBoundingClientRect();\n referenceHidden = rect.bottom <= box.top || rect.top >= box.bottom || rect.right <= box.left || rect.left >= box.right;\n }\n\n // Arrow: points at the target, kept away from the rounded corners.\n let arrowX: number | undefined;\n let arrowY: number | undefined;\n if (arrowSize) {\n const min = arrowOffset + arrowSize;\n if (side === \"top\" || side === \"bottom\") {\n const target =\n arrowPosition === \"center\" || align === \"center\"\n ? rect.left + rect.width / 2 - x\n : align === \"start\"\n ? Math.min(rect.width / 2, min + arrowSize) + (rect.left - x)\n : rect.right - x - Math.min(rect.width / 2, min + arrowSize);\n arrowX = Math.min(Math.max(target, min), width - min);\n } else {\n const target =\n arrowPosition === \"center\" || align === \"center\"\n ? rect.top + rect.height / 2 - y\n : align === \"start\"\n ? Math.min(rect.height / 2, min + arrowSize) + (rect.top - y)\n : rect.bottom - y - Math.min(rect.height / 2, min + arrowSize);\n arrowY = Math.min(Math.max(target, min), height - min);\n }\n }\n\n const placement = (align === \"center\" ? side : `${side}-${align}`) as FloatingPosition;\n if (placement !== lastPlacement.current) {\n lastPlacement.current = placement;\n changed.current?.(placement);\n }\n setState((prev) =>\n prev.referenceHidden === referenceHidden && prev.x === x && prev.y === y && prev.placement === placement && prev.arrowX === arrowX && prev.arrowY === arrowY && prev.referenceWidth === rect.width && prev.ready\n ? prev\n : { x, y, placement, arrowX, arrowY, referenceWidth: rect.width, ready: true, referenceHidden },\n );\n }, [position, offset, flip, shift, padding, dir, arrowSize, arrowOffset, arrowPosition, preventPositionChangeWhenVisible]);\n\n useLayoutEffect(() => {\n lockedSide.current = null;\n if (opened) update();\n else setState((prev) => (prev.ready ? { ...prev, ready: false } : prev));\n }, [opened, update]);\n\n useEffect(() => {\n if (!opened) return;\n let frame = requestAnimationFrame(update);\n const onChange = () => {\n cancelAnimationFrame(frame);\n frame = requestAnimationFrame(update);\n };\n window.addEventListener(\"scroll\", onChange, true);\n window.addEventListener(\"resize\", onChange);\n const observer = typeof ResizeObserver !== \"undefined\" ? new ResizeObserver(onChange) : null;\n if (reference.current) observer?.observe(reference.current);\n if (floating.current) observer?.observe(floating.current);\n return () => {\n cancelAnimationFrame(frame);\n window.removeEventListener(\"scroll\", onChange, true);\n window.removeEventListener(\"resize\", onChange);\n observer?.disconnect();\n };\n }, [opened, update]);\n\n // React calls an old ref callback with null and the new one with the node on every render when the\n // callback changes, so only a different node counts. Measuring here on each render can feed itself.\n const setReference = useCallback(\n (node: HTMLElement | null) => {\n if (node === reference.current) return;\n reference.current = node;\n if (node && opened) update();\n },\n [opened, update],\n );\n const setFloating = useCallback(\n (node: HTMLElement | null) => {\n if (node === floating.current) return;\n floating.current = node;\n if (node) update();\n },\n [update],\n );\n return { ...state, update, reference, floating, setReference, setFloating };\n}\n"],"mappings":";;;AAAA,SAAS,aAAa,WAAW,iBAAiB,QAAQ,gBAAgB;AA4C1E,IAAM,WAA+C,E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