@wello-dev/core 1.0.4 → 1.0.5
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-PPKKOBHB.js → chunk-5XXK7KQE.js} +2 -2
- package/dist/{chunk-YOL5PMHU.js → chunk-7S7RIVCI.js} +2 -2
- package/dist/{chunk-TJUOXXLK.js → chunk-BVGYS3NN.js} +2 -2
- package/dist/{chunk-6U4Y3AUT.js → chunk-COAMHU2N.js} +2 -2
- package/dist/{chunk-2XGMU4QA.js → chunk-DZ7HIMJ5.js} +20 -4
- package/dist/chunk-DZ7HIMJ5.js.map +1 -0
- package/dist/{chunk-O4MQLZEH.js → chunk-KNN75VAT.js} +2 -2
- package/dist/{chunk-K2Q5Q6WQ.js → chunk-N7T45HQC.js} +4 -4
- package/dist/chunk-N7T45HQC.js.map +1 -0
- package/dist/{chunk-F4OMXH3E.js → chunk-QSFXOVRL.js} +5 -5
- package/dist/{chunk-F4OMXH3E.js.map → chunk-QSFXOVRL.js.map} +1 -1
- package/dist/{chunk-QZFPW75D.js → chunk-SJBYDDDD.js} +19 -3
- package/dist/chunk-SJBYDDDD.js.map +1 -0
- package/dist/{chunk-KEYIOWAG.js → chunk-TIVOXLDX.js} +3 -3
- package/dist/{chunk-KEYIOWAG.js.map → chunk-TIVOXLDX.js.map} +1 -1
- package/dist/{chunk-GD5URO3H.js → chunk-ULMVA37U.js} +4 -4
- package/dist/chunk-X7WXW6AV.js +206 -0
- package/dist/chunk-X7WXW6AV.js.map +1 -0
- package/dist/components/ColorPicker/ColorInput.js +3 -3
- package/dist/components/Combobox/Combobox.js +3 -3
- package/dist/components/Combobox/Select.js +4 -4
- package/dist/components/Combobox/TagsInput.js +4 -4
- package/dist/components/Menu/Menu.js +3 -3
- package/dist/components/NumberFormatter/NumberFormatter.js +1 -1
- package/dist/components/PhoneInput/PhoneInput.js +5 -5
- package/dist/components/Popover/Popover.js +2 -2
- package/dist/components/TextInput/TextInput.js +2 -2
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/index.cjs +134 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +70 -70
- package/dist/shadcn/Floating.js +5 -5
- package/dist/styles.css +119 -15
- package/package.json +1 -1
- package/dist/chunk-2XGMU4QA.js.map +0 -1
- package/dist/chunk-K2Q5Q6WQ.js.map +0 -1
- package/dist/chunk-QZFPW75D.js.map +0 -1
- package/dist/chunk-YHPHWOAE.js +0 -192
- package/dist/chunk-YHPHWOAE.js.map +0 -1
- /package/dist/{chunk-PPKKOBHB.js.map → chunk-5XXK7KQE.js.map} +0 -0
- /package/dist/{chunk-YOL5PMHU.js.map → chunk-7S7RIVCI.js.map} +0 -0
- /package/dist/{chunk-TJUOXXLK.js.map → chunk-BVGYS3NN.js.map} +0 -0
- /package/dist/{chunk-6U4Y3AUT.js.map → chunk-COAMHU2N.js.map} +0 -0
- /package/dist/{chunk-O4MQLZEH.js.map → chunk-KNN75VAT.js.map} +0 -0
- /package/dist/{chunk-GD5URO3H.js.map → chunk-ULMVA37U.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -3134,6 +3134,11 @@ interface PopoverBaseProps {
|
|
|
3134
3134
|
hideDetached?: boolean;
|
|
3135
3135
|
/** Stay on the side it opened on, instead of flipping while scrolling. Default: true */
|
|
3136
3136
|
preventPositionChangeWhenVisible?: boolean;
|
|
3137
|
+
/**
|
|
3138
|
+
* Floating alignment dir (`start` / `end`). Default: app direction.
|
|
3139
|
+
* Pass `"ltr"` for controls that stay left-anchored in RTL (e.g. PhoneInput dial code).
|
|
3140
|
+
*/
|
|
3141
|
+
dir?: "ltr" | "rtl";
|
|
3137
3142
|
}
|
|
3138
3143
|
interface PopoverProps$1 extends PopoverBaseProps, StylesApiProps<PopoverStylesNames, PopoverProps$1> {
|
|
3139
3144
|
/** Controlled state */
|
package/dist/index.d.ts
CHANGED
|
@@ -3134,6 +3134,11 @@ interface PopoverBaseProps {
|
|
|
3134
3134
|
hideDetached?: boolean;
|
|
3135
3135
|
/** Stay on the side it opened on, instead of flipping while scrolling. Default: true */
|
|
3136
3136
|
preventPositionChangeWhenVisible?: boolean;
|
|
3137
|
+
/**
|
|
3138
|
+
* Floating alignment dir (`start` / `end`). Default: app direction.
|
|
3139
|
+
* Pass `"ltr"` for controls that stay left-anchored in RTL (e.g. PhoneInput dial code).
|
|
3140
|
+
*/
|
|
3141
|
+
dir?: "ltr" | "rtl";
|
|
3137
3142
|
}
|
|
3138
3143
|
interface PopoverProps$1 extends PopoverBaseProps, StylesApiProps<PopoverStylesNames, PopoverProps$1> {
|
|
3139
3144
|
/** Controlled state */
|
package/dist/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
VisuallyHidden
|
|
4
|
-
} from "./chunk-R3H3IYNM.js";
|
|
5
2
|
import {
|
|
6
3
|
Typography
|
|
7
4
|
} from "./chunk-SIZ7G2KD.js";
|
|
5
|
+
import {
|
|
6
|
+
VisuallyHidden
|
|
7
|
+
} from "./chunk-R3H3IYNM.js";
|
|
8
8
|
import {
|
|
9
9
|
InputNumber,
|
|
10
10
|
NumberInput,
|
|
11
11
|
PasswordInput,
|
|
12
12
|
TextInput,
|
|
13
13
|
Textarea
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7S7RIVCI.js";
|
|
15
15
|
import {
|
|
16
16
|
ThemeToggle,
|
|
17
17
|
ThemeToggleButton
|
|
18
18
|
} from "./chunk-EJ7ZXISQ.js";
|
|
19
|
-
import {
|
|
20
|
-
Timeline,
|
|
21
|
-
TimelineItem
|
|
22
|
-
} from "./chunk-5N3F6CKC.js";
|
|
23
19
|
import {
|
|
24
20
|
Title
|
|
25
21
|
} from "./chunk-62UUESHU.js";
|
|
26
22
|
import {
|
|
27
23
|
Toggle
|
|
28
24
|
} from "./chunk-2WIGWLPL.js";
|
|
25
|
+
import {
|
|
26
|
+
Timeline,
|
|
27
|
+
TimelineItem
|
|
28
|
+
} from "./chunk-5N3F6CKC.js";
|
|
29
29
|
import {
|
|
30
30
|
SimpleGrid
|
|
31
31
|
} from "./chunk-QIS6W7Q6.js";
|
|
@@ -33,17 +33,17 @@ import {
|
|
|
33
33
|
RangeSlider,
|
|
34
34
|
Slider
|
|
35
35
|
} from "./chunk-CVIHRO4Q.js";
|
|
36
|
-
import {
|
|
37
|
-
Spoiler
|
|
38
|
-
} from "./chunk-YTI5AZL4.js";
|
|
39
|
-
import {
|
|
40
|
-
Stack
|
|
41
|
-
} from "./chunk-E74HEMFS.js";
|
|
42
36
|
import {
|
|
43
37
|
Stepper,
|
|
44
38
|
StepperCompleted,
|
|
45
39
|
StepperStep
|
|
46
40
|
} from "./chunk-VNM5TVQZ.js";
|
|
41
|
+
import {
|
|
42
|
+
Stack
|
|
43
|
+
} from "./chunk-E74HEMFS.js";
|
|
44
|
+
import {
|
|
45
|
+
Spoiler
|
|
46
|
+
} from "./chunk-YTI5AZL4.js";
|
|
47
47
|
import {
|
|
48
48
|
TabCount,
|
|
49
49
|
Tabs,
|
|
@@ -59,8 +59,16 @@ import {
|
|
|
59
59
|
Paper
|
|
60
60
|
} from "./chunk-B3LVDQJU.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
ALL_PHONE_COUNTRIES,
|
|
63
|
+
PhoneInput,
|
|
64
|
+
fitPhoneNumber,
|
|
65
|
+
matchesPhoneStartingNumber,
|
|
66
|
+
normalizeStartingNumber,
|
|
67
|
+
resolvePhoneCountry
|
|
68
|
+
} from "./chunk-SJBYDDDD.js";
|
|
69
|
+
import {
|
|
70
|
+
Skeleton
|
|
71
|
+
} from "./chunk-TVOR2RGE.js";
|
|
64
72
|
import {
|
|
65
73
|
InputOTP,
|
|
66
74
|
InputOTPGroup,
|
|
@@ -72,16 +80,8 @@ import {
|
|
|
72
80
|
REGEXP_ONLY_DIGITS_AND_CHARS
|
|
73
81
|
} from "./chunk-E2765LHX.js";
|
|
74
82
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
fitPhoneNumber,
|
|
78
|
-
matchesPhoneStartingNumber,
|
|
79
|
-
normalizeStartingNumber,
|
|
80
|
-
resolvePhoneCountry
|
|
81
|
-
} from "./chunk-QZFPW75D.js";
|
|
82
|
-
import {
|
|
83
|
-
Skeleton
|
|
84
|
-
} from "./chunk-TVOR2RGE.js";
|
|
83
|
+
Progress
|
|
84
|
+
} from "./chunk-HESG7OWV.js";
|
|
85
85
|
import {
|
|
86
86
|
RingProgress,
|
|
87
87
|
SemiCircleProgress
|
|
@@ -90,20 +90,20 @@ import {
|
|
|
90
90
|
ScrollArea,
|
|
91
91
|
ScrollAreaAutosize
|
|
92
92
|
} from "./chunk-QHJMXGDE.js";
|
|
93
|
+
import {
|
|
94
|
+
List,
|
|
95
|
+
ListItem
|
|
96
|
+
} from "./chunk-GKBBDYNB.js";
|
|
93
97
|
import {
|
|
94
98
|
NavLink
|
|
95
99
|
} from "./chunk-KPWAEDRU.js";
|
|
96
100
|
import {
|
|
97
101
|
Notification
|
|
98
102
|
} from "./chunk-3Z5OAUG3.js";
|
|
99
|
-
import {
|
|
100
|
-
List,
|
|
101
|
-
ListItem
|
|
102
|
-
} from "./chunk-GKBBDYNB.js";
|
|
103
103
|
import {
|
|
104
104
|
NumberFormatter,
|
|
105
105
|
formatNumber
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-TIVOXLDX.js";
|
|
107
107
|
import {
|
|
108
108
|
DOTS,
|
|
109
109
|
Pagination,
|
|
@@ -117,15 +117,18 @@ import {
|
|
|
117
117
|
BackgroundImage,
|
|
118
118
|
Image
|
|
119
119
|
} from "./chunk-L5MO7VKZ.js";
|
|
120
|
+
import {
|
|
121
|
+
Flex
|
|
122
|
+
} from "./chunk-BZ222ZYD.js";
|
|
120
123
|
import {
|
|
121
124
|
Indicator
|
|
122
125
|
} from "./chunk-2GM6477D.js";
|
|
123
|
-
import {
|
|
124
|
-
CopyButton
|
|
125
|
-
} from "./chunk-FR7TZXY3.js";
|
|
126
126
|
import {
|
|
127
127
|
Dialog
|
|
128
128
|
} from "./chunk-63PSLIW5.js";
|
|
129
|
+
import {
|
|
130
|
+
CopyButton
|
|
131
|
+
} from "./chunk-FR7TZXY3.js";
|
|
129
132
|
import {
|
|
130
133
|
Dropzone,
|
|
131
134
|
formatFileSize
|
|
@@ -133,16 +136,13 @@ import {
|
|
|
133
136
|
import {
|
|
134
137
|
FileButton
|
|
135
138
|
} from "./chunk-ZVXCVBC4.js";
|
|
136
|
-
import {
|
|
137
|
-
Flex
|
|
138
|
-
} from "./chunk-BZ222ZYD.js";
|
|
139
139
|
import {
|
|
140
140
|
Grid,
|
|
141
141
|
GridCol
|
|
142
142
|
} from "./chunk-HSJ27BGL.js";
|
|
143
143
|
import {
|
|
144
144
|
ColorInput
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-X7WXW6AV.js";
|
|
146
146
|
import {
|
|
147
147
|
AlphaSlider,
|
|
148
148
|
ColorPicker,
|
|
@@ -159,13 +159,13 @@ import {
|
|
|
159
159
|
} from "./chunk-MWYGXAJQ.js";
|
|
160
160
|
import {
|
|
161
161
|
Select
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-DZ7HIMJ5.js";
|
|
163
163
|
import {
|
|
164
164
|
EmptyState
|
|
165
165
|
} from "./chunk-DHAMBKCR.js";
|
|
166
166
|
import {
|
|
167
167
|
TagsInput
|
|
168
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-KNN75VAT.js";
|
|
169
169
|
import {
|
|
170
170
|
Field,
|
|
171
171
|
FieldContent,
|
|
@@ -211,28 +211,25 @@ import {
|
|
|
211
211
|
ComboboxTarget,
|
|
212
212
|
useCombobox,
|
|
213
213
|
useComboboxContext
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-BVGYS3NN.js";
|
|
215
215
|
import {
|
|
216
216
|
Container
|
|
217
217
|
} from "./chunk-RJK6AQEW.js";
|
|
218
218
|
import {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
219
|
+
Breadcrumb,
|
|
220
|
+
BreadcrumbEllipsis,
|
|
221
|
+
BreadcrumbItem,
|
|
222
|
+
BreadcrumbLink,
|
|
223
|
+
BreadcrumbList,
|
|
224
|
+
BreadcrumbPage,
|
|
225
|
+
BreadcrumbSeparator,
|
|
226
|
+
Breadcrumbs
|
|
227
|
+
} from "./chunk-NOYSHU5U.js";
|
|
225
228
|
import {
|
|
226
229
|
AspectRatio,
|
|
227
230
|
Center,
|
|
228
231
|
Space
|
|
229
232
|
} from "./chunk-UAEHGDZX.js";
|
|
230
|
-
import {
|
|
231
|
-
Chip,
|
|
232
|
-
ChipGroup,
|
|
233
|
-
Rating,
|
|
234
|
-
SegmentedControl
|
|
235
|
-
} from "./chunk-7PTDAI65.js";
|
|
236
233
|
import {
|
|
237
234
|
Checkbox,
|
|
238
235
|
CheckboxGroup,
|
|
@@ -256,6 +253,15 @@ import {
|
|
|
256
253
|
splitInputProps,
|
|
257
254
|
useInputWrapperContext
|
|
258
255
|
} from "./chunk-JJXJXOZ7.js";
|
|
256
|
+
import {
|
|
257
|
+
Carousel
|
|
258
|
+
} from "./chunk-APTAGITO.js";
|
|
259
|
+
import {
|
|
260
|
+
Chip,
|
|
261
|
+
ChipGroup,
|
|
262
|
+
Rating,
|
|
263
|
+
SegmentedControl
|
|
264
|
+
} from "./chunk-7PTDAI65.js";
|
|
259
265
|
import {
|
|
260
266
|
Code,
|
|
261
267
|
Highlight,
|
|
@@ -277,25 +283,19 @@ import {
|
|
|
277
283
|
AvatarGroup,
|
|
278
284
|
getInitials
|
|
279
285
|
} from "./chunk-7JGIQGZP.js";
|
|
280
|
-
import {
|
|
281
|
-
Badge
|
|
282
|
-
} from "./chunk-XAHR3DK7.js";
|
|
283
286
|
import {
|
|
284
287
|
Blockquote
|
|
285
288
|
} from "./chunk-QFN4MBT2.js";
|
|
286
289
|
import {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
BreadcrumbItem,
|
|
290
|
-
BreadcrumbLink,
|
|
291
|
-
BreadcrumbList,
|
|
292
|
-
BreadcrumbPage,
|
|
293
|
-
BreadcrumbSeparator,
|
|
294
|
-
Breadcrumbs
|
|
295
|
-
} from "./chunk-NOYSHU5U.js";
|
|
290
|
+
Badge
|
|
291
|
+
} from "./chunk-XAHR3DK7.js";
|
|
296
292
|
import {
|
|
297
293
|
Burger
|
|
298
294
|
} from "./chunk-GGRLDV5L.js";
|
|
295
|
+
import {
|
|
296
|
+
Card,
|
|
297
|
+
CardSection
|
|
298
|
+
} from "./chunk-L2V4OD4Q.js";
|
|
299
299
|
import "./chunk-G7EIISMY.js";
|
|
300
300
|
import {
|
|
301
301
|
buildViewTransitionCss,
|
|
@@ -418,10 +418,10 @@ import {
|
|
|
418
418
|
TooltipContent,
|
|
419
419
|
TooltipProvider,
|
|
420
420
|
TooltipTrigger
|
|
421
|
-
} from "./chunk-
|
|
421
|
+
} from "./chunk-ULMVA37U.js";
|
|
422
422
|
import {
|
|
423
423
|
TooltipFloating
|
|
424
|
-
} from "./chunk-
|
|
424
|
+
} from "./chunk-COAMHU2N.js";
|
|
425
425
|
import {
|
|
426
426
|
Menu,
|
|
427
427
|
MenuDivider,
|
|
@@ -429,13 +429,13 @@ import {
|
|
|
429
429
|
MenuItem,
|
|
430
430
|
MenuLabel,
|
|
431
431
|
MenuTarget
|
|
432
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-5XXK7KQE.js";
|
|
433
433
|
import {
|
|
434
434
|
PopoverDropdown,
|
|
435
435
|
PopoverTarget,
|
|
436
436
|
usePopoverContext
|
|
437
|
-
} from "./chunk-
|
|
438
|
-
import "./chunk-
|
|
437
|
+
} from "./chunk-N7T45HQC.js";
|
|
438
|
+
import "./chunk-QSFXOVRL.js";
|
|
439
439
|
import "./chunk-AZ4WBNXD.js";
|
|
440
440
|
import {
|
|
441
441
|
OptionalPortal,
|
package/dist/shadcn/Floating.js
CHANGED
|
@@ -26,11 +26,11 @@ 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-ULMVA37U.js";
|
|
30
|
+
import "../chunk-COAMHU2N.js";
|
|
31
|
+
import "../chunk-5XXK7KQE.js";
|
|
32
|
+
import "../chunk-N7T45HQC.js";
|
|
33
|
+
import "../chunk-QSFXOVRL.js";
|
|
34
34
|
import "../chunk-AZ4WBNXD.js";
|
|
35
35
|
import "../chunk-FIAJMBSD.js";
|
|
36
36
|
import "../chunk-H4D7LXZL.js";
|
package/dist/styles.css
CHANGED
|
@@ -28,10 +28,25 @@
|
|
|
28
28
|
-moz-osx-font-smoothing: grayscale;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
/*
|
|
31
|
+
/*
|
|
32
|
+
* Negative tracking / uppercase / synthetic bold break Arabic joining.
|
|
33
|
+
* Scope to RTL so Latin marketing type can keep tight tracking.
|
|
34
|
+
*/
|
|
32
35
|
[dir="rtl"] [data-wello-portal],
|
|
33
|
-
[dir="rtl"] .wello-notifications-toaster
|
|
36
|
+
[dir="rtl"] .wello-notifications-toaster,
|
|
37
|
+
[dir="rtl"] .wello-Combobox-dropdown,
|
|
38
|
+
[dir="rtl"] .wello-Select-dropdown,
|
|
39
|
+
[dir="rtl"] .wello-Menu-dropdown,
|
|
40
|
+
[dir="rtl"] .wello-Popover-dropdown,
|
|
41
|
+
[dir="rtl"] .wello-Tooltip-tooltip {
|
|
42
|
+
letter-spacing: normal;
|
|
43
|
+
font-synthesis: none;
|
|
44
|
+
}
|
|
45
|
+
[dir="rtl"] .wello-Badge-root,
|
|
46
|
+
[dir="rtl"] .wello-Switch-trackLabel,
|
|
47
|
+
[dir="rtl"] .wello-Chip-label {
|
|
34
48
|
letter-spacing: normal;
|
|
49
|
+
text-transform: none;
|
|
35
50
|
}
|
|
36
51
|
}
|
|
37
52
|
|
|
@@ -3886,6 +3901,7 @@
|
|
|
3886
3901
|
font-family: var(--wello-font-family);
|
|
3887
3902
|
font-size: var(--badge-fz);
|
|
3888
3903
|
font-weight: 700;
|
|
3904
|
+
font-synthesis: none;
|
|
3889
3905
|
letter-spacing: 0.025em;
|
|
3890
3906
|
line-height: calc(var(--badge-height) - 2px);
|
|
3891
3907
|
text-transform: uppercase;
|
|
@@ -3893,6 +3909,10 @@
|
|
|
3893
3909
|
white-space: nowrap;
|
|
3894
3910
|
-webkit-tap-highlight-color: transparent;
|
|
3895
3911
|
}
|
|
3912
|
+
[dir="rtl"] .wello-Badge-root {
|
|
3913
|
+
letter-spacing: normal;
|
|
3914
|
+
text-transform: none;
|
|
3915
|
+
}
|
|
3896
3916
|
.wello-Badge-root:where([data-size="xs"]) {
|
|
3897
3917
|
--badge-height: 1rem;
|
|
3898
3918
|
--badge-padding-x: 0.375rem;
|
|
@@ -4439,7 +4459,10 @@
|
|
|
4439
4459
|
padding: 0.4375rem var(--wello-spacing-sm);
|
|
4440
4460
|
border-radius: calc(var(--popover-radius, var(--wello-radius-default)) - 0.125rem);
|
|
4441
4461
|
color: var(--menu-item-color, var(--wello-color-text));
|
|
4462
|
+
font-family: var(--wello-font-family);
|
|
4442
4463
|
font-size: var(--wello-font-size-sm);
|
|
4464
|
+
font-synthesis: none;
|
|
4465
|
+
letter-spacing: normal;
|
|
4443
4466
|
text-align: start;
|
|
4444
4467
|
user-select: none;
|
|
4445
4468
|
}
|
|
@@ -4945,7 +4968,9 @@
|
|
|
4945
4968
|
color: var(--wello-color-bright);
|
|
4946
4969
|
font-family: var(--wello-font-family);
|
|
4947
4970
|
font-size: var(--wello-font-size-sm);
|
|
4948
|
-
font-weight:
|
|
4971
|
+
font-weight: 500;
|
|
4972
|
+
font-synthesis: none;
|
|
4973
|
+
letter-spacing: normal;
|
|
4949
4974
|
line-height: 1.4;
|
|
4950
4975
|
user-select: none;
|
|
4951
4976
|
}
|
|
@@ -5525,11 +5550,16 @@
|
|
|
5525
5550
|
padding-inline: calc(var(--switch-thumb) + 0.25rem) 0.4rem;
|
|
5526
5551
|
color: var(--wello-color-dimmed);
|
|
5527
5552
|
font-size: calc(var(--switch-height) * 0.42);
|
|
5528
|
-
font-weight:
|
|
5553
|
+
font-weight: 500;
|
|
5554
|
+
font-synthesis: none;
|
|
5555
|
+
letter-spacing: normal;
|
|
5529
5556
|
text-align: center;
|
|
5530
5557
|
text-transform: uppercase;
|
|
5531
5558
|
user-select: none;
|
|
5532
5559
|
}
|
|
5560
|
+
[dir="rtl"] .wello-Switch-trackLabel {
|
|
5561
|
+
text-transform: none;
|
|
5562
|
+
}
|
|
5533
5563
|
.wello-Switch-input:checked + .wello-Switch-track {
|
|
5534
5564
|
border-color: var(--switch-color);
|
|
5535
5565
|
background: var(--switch-color);
|
|
@@ -5998,6 +6028,8 @@
|
|
|
5998
6028
|
font-family: inherit;
|
|
5999
6029
|
font-size: var(--wello-font-size-sm);
|
|
6000
6030
|
font-weight: 500;
|
|
6031
|
+
font-synthesis: none;
|
|
6032
|
+
letter-spacing: normal;
|
|
6001
6033
|
line-height: 1.35;
|
|
6002
6034
|
cursor: var(--wello-cursor-type);
|
|
6003
6035
|
user-select: none;
|
|
@@ -6029,7 +6061,7 @@
|
|
|
6029
6061
|
.wello-Combobox-option:where([data-checked]) {
|
|
6030
6062
|
background: color-mix(in oklab, var(--wello-primary-color) 14%, transparent);
|
|
6031
6063
|
color: var(--wello-color-text);
|
|
6032
|
-
font-weight:
|
|
6064
|
+
font-weight: 500;
|
|
6033
6065
|
box-shadow:
|
|
6034
6066
|
inset var(--_option-bar) 0 0 0 var(--wello-primary-color),
|
|
6035
6067
|
inset 0 0 0 1px color-mix(in oklab, var(--wello-primary-color) 22%, transparent);
|
|
@@ -6365,8 +6397,15 @@
|
|
|
6365
6397
|
min-width: 0;
|
|
6366
6398
|
}
|
|
6367
6399
|
.wello-Select-optionLabel {
|
|
6400
|
+
min-width: 0;
|
|
6368
6401
|
overflow: hidden;
|
|
6369
6402
|
text-overflow: ellipsis;
|
|
6403
|
+
letter-spacing: normal;
|
|
6404
|
+
font-synthesis: none;
|
|
6405
|
+
}
|
|
6406
|
+
.wello-Select-check,
|
|
6407
|
+
.wello-Select-box {
|
|
6408
|
+
flex-shrink: 0;
|
|
6370
6409
|
}
|
|
6371
6410
|
.wello-Select-optionDescription {
|
|
6372
6411
|
color: var(--wello-color-dimmed);
|
|
@@ -6477,6 +6516,8 @@
|
|
|
6477
6516
|
border-radius: 999px;
|
|
6478
6517
|
background: var(--wello-color-body);
|
|
6479
6518
|
font-family: var(--wello-font-family);
|
|
6519
|
+
/* International numbers are always LTR: [flag+code | national digits]. */
|
|
6520
|
+
direction: ltr;
|
|
6480
6521
|
transition:
|
|
6481
6522
|
border-color 300ms ease,
|
|
6482
6523
|
box-shadow 300ms ease;
|
|
@@ -6491,10 +6532,6 @@
|
|
|
6491
6532
|
0 0 0 2px color-mix(in oklab, var(--wello-primary-color) 50%, transparent),
|
|
6492
6533
|
0 10px 15px -3px color-mix(in oklab, var(--wello-primary-color) 20%, transparent);
|
|
6493
6534
|
}
|
|
6494
|
-
/* Dial code stays on the visual left (start of an international number) in RTL too. */
|
|
6495
|
-
[dir="rtl"] .wello-PhoneInput-field {
|
|
6496
|
-
flex-direction: row-reverse;
|
|
6497
|
-
}
|
|
6498
6535
|
.wello-PhoneInput-field[data-error] {
|
|
6499
6536
|
border-color: var(--wello-color-error);
|
|
6500
6537
|
}
|
|
@@ -6506,11 +6543,14 @@
|
|
|
6506
6543
|
opacity: 0.6;
|
|
6507
6544
|
}
|
|
6508
6545
|
|
|
6509
|
-
/* Dial code */
|
|
6546
|
+
/* Dial code — shrink-wrap; never steal the national-number column */
|
|
6510
6547
|
.wello-PhoneInput-code {
|
|
6511
|
-
|
|
6548
|
+
position: relative;
|
|
6549
|
+
z-index: 1;
|
|
6550
|
+
flex: 0 0 auto;
|
|
6512
6551
|
display: flex;
|
|
6513
6552
|
align-items: stretch;
|
|
6553
|
+
max-width: 45%;
|
|
6514
6554
|
border-inline-end: 1px solid var(--wello-color-border);
|
|
6515
6555
|
background: var(--wello-color-surface-muted);
|
|
6516
6556
|
transition: background-color 150ms ease;
|
|
@@ -6527,15 +6567,25 @@
|
|
|
6527
6567
|
}
|
|
6528
6568
|
.wello-PhoneInput-code .wello-Select-root {
|
|
6529
6569
|
display: flex;
|
|
6570
|
+
width: auto;
|
|
6571
|
+
max-width: 100%;
|
|
6572
|
+
}
|
|
6573
|
+
/*
|
|
6574
|
+
* Input defaults to width:100%. Inside the dial-code cell that resolves against the
|
|
6575
|
+
* phone field and stretches the Select over the national input (ghost digits / overlap).
|
|
6576
|
+
*/
|
|
6577
|
+
.wello-PhoneInput-code .wello-Input-wrapper,
|
|
6578
|
+
.wello-PhoneInput-code .wello-Select-trigger,
|
|
6579
|
+
.wello-PhoneInput-code .wello-Input-input {
|
|
6580
|
+
width: auto;
|
|
6581
|
+
min-width: 0;
|
|
6582
|
+
max-width: 100%;
|
|
6530
6583
|
}
|
|
6531
|
-
/* Force LTR chrome so flag + digits + chevron stay in phone order on Arabic pages. */
|
|
6532
6584
|
.wello-PhoneInput-code .wello-Input-wrapper,
|
|
6533
6585
|
.wello-PhoneInput-code .wello-Select-trigger {
|
|
6534
6586
|
direction: ltr;
|
|
6535
6587
|
}
|
|
6536
6588
|
.wello-PhoneInput-code .wello-Select-trigger.wello-Input-input {
|
|
6537
|
-
width: auto;
|
|
6538
|
-
min-width: 0;
|
|
6539
6589
|
height: var(--phone-height);
|
|
6540
6590
|
min-height: var(--phone-height);
|
|
6541
6591
|
padding-inline: 0.75rem 2rem;
|
|
@@ -6544,12 +6594,22 @@
|
|
|
6544
6594
|
background: transparent;
|
|
6545
6595
|
box-shadow: none;
|
|
6546
6596
|
font-family: var(--wello-font-family);
|
|
6597
|
+
font-variant-numeric: tabular-nums;
|
|
6598
|
+
letter-spacing: normal;
|
|
6599
|
+
font-synthesis: none;
|
|
6547
6600
|
}
|
|
6548
6601
|
.wello-PhoneInput-code .wello-Select-trigger.wello-Input-input:focus,
|
|
6549
6602
|
.wello-PhoneInput-code .wello-Select-trigger.wello-Input-input:focus-within {
|
|
6550
6603
|
border: 0;
|
|
6551
6604
|
box-shadow: none;
|
|
6552
6605
|
}
|
|
6606
|
+
.wello-PhoneInput-code .wello-Select-value,
|
|
6607
|
+
.wello-PhoneInput-code .wello-Input-placeholder {
|
|
6608
|
+
display: inline-flex;
|
|
6609
|
+
align-items: center;
|
|
6610
|
+
overflow: hidden;
|
|
6611
|
+
white-space: nowrap;
|
|
6612
|
+
}
|
|
6553
6613
|
.wello-PhoneInput-single {
|
|
6554
6614
|
display: inline-flex;
|
|
6555
6615
|
align-items: center;
|
|
@@ -6563,6 +6623,8 @@
|
|
|
6563
6623
|
gap: 0.375rem;
|
|
6564
6624
|
direction: ltr;
|
|
6565
6625
|
font-family: var(--wello-font-family);
|
|
6626
|
+
font-synthesis: none;
|
|
6627
|
+
letter-spacing: normal;
|
|
6566
6628
|
}
|
|
6567
6629
|
.wello-PhoneInput-flag {
|
|
6568
6630
|
flex: none;
|
|
@@ -6577,11 +6639,15 @@
|
|
|
6577
6639
|
font-size: var(--wello-font-size-sm);
|
|
6578
6640
|
font-variant-numeric: tabular-nums;
|
|
6579
6641
|
font-weight: 500;
|
|
6642
|
+
font-synthesis: none;
|
|
6643
|
+
letter-spacing: normal;
|
|
6580
6644
|
}
|
|
6581
6645
|
|
|
6582
6646
|
/* Number */
|
|
6583
6647
|
.wello-PhoneInput-input {
|
|
6584
|
-
|
|
6648
|
+
position: relative;
|
|
6649
|
+
z-index: 0;
|
|
6650
|
+
flex: 1 1 auto;
|
|
6585
6651
|
box-sizing: border-box;
|
|
6586
6652
|
width: 100%;
|
|
6587
6653
|
min-width: 0;
|
|
@@ -6592,6 +6658,8 @@
|
|
|
6592
6658
|
color: var(--wello-color-text);
|
|
6593
6659
|
font-family: var(--wello-font-family);
|
|
6594
6660
|
font-size: var(--wello-font-size-sm);
|
|
6661
|
+
font-synthesis: none;
|
|
6662
|
+
letter-spacing: normal;
|
|
6595
6663
|
outline: 0;
|
|
6596
6664
|
}
|
|
6597
6665
|
.wello-PhoneInput-input::placeholder {
|
|
@@ -6613,6 +6681,31 @@
|
|
|
6613
6681
|
.wello-PhoneInput-error[data-code] {
|
|
6614
6682
|
margin-inline-start: auto;
|
|
6615
6683
|
}
|
|
6684
|
+
|
|
6685
|
+
/*
|
|
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.
|
|
6688
|
+
*/
|
|
6689
|
+
.wello-PhoneInput-dropdown.wello-PhoneInput-dropdown {
|
|
6690
|
+
direction: ltr;
|
|
6691
|
+
min-width: 11rem;
|
|
6692
|
+
}
|
|
6693
|
+
.wello-PhoneInput-dropdown .wello-Combobox-option,
|
|
6694
|
+
.wello-PhoneInput-dropdown .wello-Select-option {
|
|
6695
|
+
direction: ltr;
|
|
6696
|
+
justify-content: flex-start;
|
|
6697
|
+
}
|
|
6698
|
+
.wello-PhoneInput-dropdown .wello-Select-optionLabel,
|
|
6699
|
+
.wello-PhoneInput-dropdown .wello-Select-optionBody {
|
|
6700
|
+
display: flex;
|
|
6701
|
+
flex: 1;
|
|
6702
|
+
min-width: 0;
|
|
6703
|
+
justify-content: flex-start;
|
|
6704
|
+
}
|
|
6705
|
+
.wello-PhoneInput-dropdown .wello-Select-check {
|
|
6706
|
+
flex: none;
|
|
6707
|
+
margin-inline-start: 0.5rem;
|
|
6708
|
+
}
|
|
6616
6709
|
}
|
|
6617
6710
|
|
|
6618
6711
|
/* ColorPicker.css */
|
|
@@ -8123,11 +8216,15 @@
|
|
|
8123
8216
|
color: var(--wello-color-text);
|
|
8124
8217
|
font-size: 0.9375rem;
|
|
8125
8218
|
font-weight: 600;
|
|
8219
|
+
font-synthesis: none;
|
|
8126
8220
|
letter-spacing: -0.01em;
|
|
8127
8221
|
line-height: 1.35;
|
|
8128
8222
|
text-overflow: ellipsis;
|
|
8129
8223
|
white-space: nowrap;
|
|
8130
8224
|
}
|
|
8225
|
+
[dir="rtl"] .wello-sd-title {
|
|
8226
|
+
letter-spacing: normal;
|
|
8227
|
+
}
|
|
8131
8228
|
.wello-sd-body {
|
|
8132
8229
|
position: relative;
|
|
8133
8230
|
z-index: 1;
|
|
@@ -8252,9 +8349,13 @@
|
|
|
8252
8349
|
.wello-sd-alert .wello-sd-part-title {
|
|
8253
8350
|
color: var(--wello-color-text);
|
|
8254
8351
|
font-size: 1.125rem;
|
|
8352
|
+
font-synthesis: none;
|
|
8255
8353
|
letter-spacing: -0.015em;
|
|
8256
8354
|
line-height: 1.375;
|
|
8257
8355
|
}
|
|
8356
|
+
[dir="rtl"] .wello-sd-alert .wello-sd-part-title {
|
|
8357
|
+
letter-spacing: normal;
|
|
8358
|
+
}
|
|
8258
8359
|
.wello-sd-alert .wello-sd-part-description {
|
|
8259
8360
|
max-width: 65ch;
|
|
8260
8361
|
margin-inline: auto;
|
|
@@ -8413,6 +8514,9 @@
|
|
|
8413
8514
|
font-size: var(--wello-font-size-xs);
|
|
8414
8515
|
letter-spacing: 0.08em;
|
|
8415
8516
|
}
|
|
8517
|
+
[dir="rtl"] .wello-sm-shortcut {
|
|
8518
|
+
letter-spacing: normal;
|
|
8519
|
+
}
|
|
8416
8520
|
[dir="rtl"] .wello-sm-sub-chevron {
|
|
8417
8521
|
transform: scaleX(-1);
|
|
8418
8522
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wello-dev/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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>",
|