@sikka/hawa 0.31.5-next → 0.31.6-next
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/{Radio-bhKmANMf.d.ts → Radio-3B8RZYJA.d.ts} +1 -1
- package/dist/{Radio-9MkZay6D.d.mts → Radio-L369ID7b.d.mts} +1 -1
- package/dist/blocks/auth/index.js +39 -5
- package/dist/blocks/auth/index.mjs +1 -1
- package/dist/blocks/feedback/index.js +39 -5
- package/dist/blocks/feedback/index.mjs +1 -1
- package/dist/blocks/index.d.mts +1 -1
- package/dist/blocks/index.d.ts +1 -1
- package/dist/blocks/index.js +39 -5
- package/dist/blocks/index.mjs +1 -1
- package/dist/blocks/misc/index.js +39 -5
- package/dist/blocks/misc/index.mjs +1 -1
- package/dist/{chunk-6HRJIMXY.mjs → chunk-NPD4FUIM.mjs} +39 -5
- package/dist/{chunk-34LNWMOZ.mjs → chunk-WAVKQ44V.mjs} +39 -5
- package/dist/elements/index.d.mts +2 -2
- package/dist/elements/index.d.ts +2 -2
- package/dist/elements/index.js +39 -5
- package/dist/elements/index.mjs +1 -1
- package/dist/index.css +6 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +39 -5
- package/dist/index.mjs +39 -5
- package/dist/phoneInput/index.js +39 -5
- package/dist/phoneInput/index.js.map +1 -1
- package/dist/phoneInput/index.mjs +39 -5
- package/dist/phoneInput/index.mjs.map +1 -1
- package/dist/select/index.d.mts +1 -1
- package/dist/select/index.d.ts +1 -1
- package/dist/select/index.js +39 -5
- package/dist/select/index.js.map +1 -1
- package/dist/select/index.mjs +39 -5
- package/dist/select/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -3119,22 +3119,56 @@ var Select = ({
|
|
3119
3119
|
props.controlClassNames
|
3120
3120
|
),
|
3121
3121
|
container: () => cn(
|
3122
|
-
"hawa-rounded",
|
3123
|
-
props.phoneCode && "hawa-
|
3122
|
+
"hawa-rounded ",
|
3123
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
3124
3124
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
3125
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
3125
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
3126
|
+
props.isMulti && "hawa-ps-0 "
|
3126
3127
|
),
|
3127
3128
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
3128
3129
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
3129
3130
|
singleValue: () => "hawa-text-foreground",
|
3130
3131
|
indicatorsContainer: () => cn(
|
3131
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
3132
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
3132
3133
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
3133
3134
|
)
|
3134
3135
|
},
|
3135
3136
|
unstyled: true,
|
3136
3137
|
autoFocus: true,
|
3137
|
-
components: props.hideIndicator ? {
|
3138
|
+
components: props.hideIndicator ? {
|
3139
|
+
Option,
|
3140
|
+
Menu,
|
3141
|
+
IndicatorsContainer: () => null
|
3142
|
+
} : {
|
3143
|
+
Option,
|
3144
|
+
Menu,
|
3145
|
+
// Control: (e) => (
|
3146
|
+
// <div
|
3147
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
3148
|
+
// {...e}
|
3149
|
+
// />
|
3150
|
+
// ),
|
3151
|
+
ValueContainer: (e) => /* @__PURE__ */ import_react8.default.createElement(
|
3152
|
+
"div",
|
3153
|
+
{
|
3154
|
+
className: cn(
|
3155
|
+
e.className,
|
3156
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
3157
|
+
),
|
3158
|
+
...e
|
3159
|
+
}
|
3160
|
+
),
|
3161
|
+
MultiValueContainer: (e) => /* @__PURE__ */ import_react8.default.createElement(
|
3162
|
+
"div",
|
3163
|
+
{
|
3164
|
+
className: cn(
|
3165
|
+
// e.className,
|
3166
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
3167
|
+
),
|
3168
|
+
...e
|
3169
|
+
}
|
3170
|
+
)
|
3171
|
+
},
|
3138
3172
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
3139
3173
|
options: props.options,
|
3140
3174
|
getOptionLabel: props.getOptionLabel,
|
@@ -1493,22 +1493,56 @@ var Select = ({
|
|
1493
1493
|
props.controlClassNames
|
1494
1494
|
),
|
1495
1495
|
container: () => cn(
|
1496
|
-
"hawa-rounded",
|
1497
|
-
props.phoneCode && "hawa-
|
1496
|
+
"hawa-rounded ",
|
1497
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
1498
1498
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
1499
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
1499
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
1500
|
+
props.isMulti && "hawa-ps-0 "
|
1500
1501
|
),
|
1501
1502
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
1502
1503
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
1503
1504
|
singleValue: () => "hawa-text-foreground",
|
1504
1505
|
indicatorsContainer: () => cn(
|
1505
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
1506
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
1506
1507
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
1507
1508
|
)
|
1508
1509
|
},
|
1509
1510
|
unstyled: true,
|
1510
1511
|
autoFocus: true,
|
1511
|
-
components: props.hideIndicator ? {
|
1512
|
+
components: props.hideIndicator ? {
|
1513
|
+
Option,
|
1514
|
+
Menu,
|
1515
|
+
IndicatorsContainer: () => null
|
1516
|
+
} : {
|
1517
|
+
Option,
|
1518
|
+
Menu,
|
1519
|
+
// Control: (e) => (
|
1520
|
+
// <div
|
1521
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
1522
|
+
// {...e}
|
1523
|
+
// />
|
1524
|
+
// ),
|
1525
|
+
ValueContainer: (e) => /* @__PURE__ */ import_react11.default.createElement(
|
1526
|
+
"div",
|
1527
|
+
{
|
1528
|
+
className: cn(
|
1529
|
+
e.className,
|
1530
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
1531
|
+
),
|
1532
|
+
...e
|
1533
|
+
}
|
1534
|
+
),
|
1535
|
+
MultiValueContainer: (e) => /* @__PURE__ */ import_react11.default.createElement(
|
1536
|
+
"div",
|
1537
|
+
{
|
1538
|
+
className: cn(
|
1539
|
+
// e.className,
|
1540
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
1541
|
+
),
|
1542
|
+
...e
|
1543
|
+
}
|
1544
|
+
)
|
1545
|
+
},
|
1512
1546
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
1513
1547
|
options: props.options,
|
1514
1548
|
getOptionLabel: props.getOptionLabel,
|
package/dist/blocks/index.d.mts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.mjs';
|
3
3
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-CKtkuNFH.mjs';
|
4
|
-
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
4
|
+
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-L369ID7b.mjs';
|
5
5
|
import { M as MenuItemType } from '../DropdownMenu-o_-MnT5h.mjs';
|
6
6
|
import '@radix-ui/react-dropdown-menu';
|
7
7
|
|
package/dist/blocks/index.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import React__default, { FC, InputHTMLAttributes } from 'react';
|
2
2
|
import { ThirdPartyAuthTextsTypes, LoginFormTextsTypes, RegisterFormTextsTypes, NewPasswordTextsTypes, ResetPasswordTextsTypes, BaseInputType, TextInputType, PricingCardProps, PlanFeature, PricingPlanTexts } from '../types/index.js';
|
3
3
|
import { D as DirectionType, a as RadioOptionType, O as OrientationType } from '../commonTypes-CKtkuNFH.js';
|
4
|
-
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-
|
4
|
+
import { S as SelectOptionProps, L as LabelProps, R as RadioOptionsTypes } from '../Radio-3B8RZYJA.js';
|
5
5
|
import { M as MenuItemType } from '../DropdownMenu-p-Ha-y2R.js';
|
6
6
|
import '@radix-ui/react-dropdown-menu';
|
7
7
|
|
package/dist/blocks/index.js
CHANGED
@@ -3140,22 +3140,56 @@ var Select = ({
|
|
3140
3140
|
props.controlClassNames
|
3141
3141
|
),
|
3142
3142
|
container: () => cn(
|
3143
|
-
"hawa-rounded",
|
3144
|
-
props.phoneCode && "hawa-
|
3143
|
+
"hawa-rounded ",
|
3144
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
3145
3145
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
3146
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
3146
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
3147
|
+
props.isMulti && "hawa-ps-0 "
|
3147
3148
|
),
|
3148
3149
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
3149
3150
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
3150
3151
|
singleValue: () => "hawa-text-foreground",
|
3151
3152
|
indicatorsContainer: () => cn(
|
3152
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
3153
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
3153
3154
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
3154
3155
|
)
|
3155
3156
|
},
|
3156
3157
|
unstyled: true,
|
3157
3158
|
autoFocus: true,
|
3158
|
-
components: props.hideIndicator ? {
|
3159
|
+
components: props.hideIndicator ? {
|
3160
|
+
Option,
|
3161
|
+
Menu,
|
3162
|
+
IndicatorsContainer: () => null
|
3163
|
+
} : {
|
3164
|
+
Option,
|
3165
|
+
Menu,
|
3166
|
+
// Control: (e) => (
|
3167
|
+
// <div
|
3168
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
3169
|
+
// {...e}
|
3170
|
+
// />
|
3171
|
+
// ),
|
3172
|
+
ValueContainer: (e) => /* @__PURE__ */ import_react8.default.createElement(
|
3173
|
+
"div",
|
3174
|
+
{
|
3175
|
+
className: cn(
|
3176
|
+
e.className,
|
3177
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
3178
|
+
),
|
3179
|
+
...e
|
3180
|
+
}
|
3181
|
+
),
|
3182
|
+
MultiValueContainer: (e) => /* @__PURE__ */ import_react8.default.createElement(
|
3183
|
+
"div",
|
3184
|
+
{
|
3185
|
+
className: cn(
|
3186
|
+
// e.className,
|
3187
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
3188
|
+
),
|
3189
|
+
...e
|
3190
|
+
}
|
3191
|
+
)
|
3192
|
+
},
|
3159
3193
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
3160
3194
|
options: props.options,
|
3161
3195
|
getOptionLabel: props.getOptionLabel,
|
package/dist/blocks/index.mjs
CHANGED
@@ -1377,22 +1377,56 @@ var Select = ({
|
|
1377
1377
|
props.controlClassNames
|
1378
1378
|
),
|
1379
1379
|
container: () => cn(
|
1380
|
-
"hawa-rounded",
|
1381
|
-
props.phoneCode && "hawa-
|
1380
|
+
"hawa-rounded ",
|
1381
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
1382
1382
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
1383
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
1383
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
1384
|
+
props.isMulti && "hawa-ps-0 "
|
1384
1385
|
),
|
1385
1386
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
1386
1387
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
1387
1388
|
singleValue: () => "hawa-text-foreground",
|
1388
1389
|
indicatorsContainer: () => cn(
|
1389
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
1390
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
1390
1391
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
1391
1392
|
)
|
1392
1393
|
},
|
1393
1394
|
unstyled: true,
|
1394
1395
|
autoFocus: true,
|
1395
|
-
components: props.hideIndicator ? {
|
1396
|
+
components: props.hideIndicator ? {
|
1397
|
+
Option,
|
1398
|
+
Menu,
|
1399
|
+
IndicatorsContainer: () => null
|
1400
|
+
} : {
|
1401
|
+
Option,
|
1402
|
+
Menu,
|
1403
|
+
// Control: (e) => (
|
1404
|
+
// <div
|
1405
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
1406
|
+
// {...e}
|
1407
|
+
// />
|
1408
|
+
// ),
|
1409
|
+
ValueContainer: (e) => /* @__PURE__ */ import_react28.default.createElement(
|
1410
|
+
"div",
|
1411
|
+
{
|
1412
|
+
className: cn(
|
1413
|
+
e.className,
|
1414
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
1415
|
+
),
|
1416
|
+
...e
|
1417
|
+
}
|
1418
|
+
),
|
1419
|
+
MultiValueContainer: (e) => /* @__PURE__ */ import_react28.default.createElement(
|
1420
|
+
"div",
|
1421
|
+
{
|
1422
|
+
className: cn(
|
1423
|
+
// e.className,
|
1424
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
1425
|
+
),
|
1426
|
+
...e
|
1427
|
+
}
|
1428
|
+
)
|
1429
|
+
},
|
1396
1430
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
1397
1431
|
options: props.options,
|
1398
1432
|
getOptionLabel: props.getOptionLabel,
|
@@ -429,22 +429,56 @@ var Select = ({
|
|
429
429
|
props.controlClassNames
|
430
430
|
),
|
431
431
|
container: () => cn(
|
432
|
-
"hawa-rounded",
|
433
|
-
props.phoneCode && "hawa-
|
432
|
+
"hawa-rounded ",
|
433
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
434
434
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
435
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
435
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
436
|
+
props.isMulti && "hawa-ps-0 "
|
436
437
|
),
|
437
438
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
438
439
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
439
440
|
singleValue: () => "hawa-text-foreground",
|
440
441
|
indicatorsContainer: () => cn(
|
441
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
442
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
442
443
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
443
444
|
)
|
444
445
|
},
|
445
446
|
unstyled: true,
|
446
447
|
autoFocus: true,
|
447
|
-
components: props.hideIndicator ? {
|
448
|
+
components: props.hideIndicator ? {
|
449
|
+
Option,
|
450
|
+
Menu,
|
451
|
+
IndicatorsContainer: () => null
|
452
|
+
} : {
|
453
|
+
Option,
|
454
|
+
Menu,
|
455
|
+
// Control: (e) => (
|
456
|
+
// <div
|
457
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
458
|
+
// {...e}
|
459
|
+
// />
|
460
|
+
// ),
|
461
|
+
ValueContainer: (e) => /* @__PURE__ */ React4.createElement(
|
462
|
+
"div",
|
463
|
+
{
|
464
|
+
className: cn(
|
465
|
+
e.className,
|
466
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
467
|
+
),
|
468
|
+
...e
|
469
|
+
}
|
470
|
+
),
|
471
|
+
MultiValueContainer: (e) => /* @__PURE__ */ React4.createElement(
|
472
|
+
"div",
|
473
|
+
{
|
474
|
+
className: cn(
|
475
|
+
// e.className,
|
476
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
477
|
+
),
|
478
|
+
...e
|
479
|
+
}
|
480
|
+
)
|
481
|
+
},
|
448
482
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
449
483
|
options: props.options,
|
450
484
|
getOptionLabel: props.getOptionLabel,
|
@@ -89,22 +89,56 @@ var Select = ({
|
|
89
89
|
props.controlClassNames
|
90
90
|
),
|
91
91
|
container: () => cn(
|
92
|
-
"hawa-rounded",
|
93
|
-
props.phoneCode && "hawa-
|
92
|
+
"hawa-rounded ",
|
93
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
94
94
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
95
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
95
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
96
|
+
props.isMulti && "hawa-ps-0 "
|
96
97
|
),
|
97
98
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
98
99
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
99
100
|
singleValue: () => "hawa-text-foreground",
|
100
101
|
indicatorsContainer: () => cn(
|
101
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
102
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
102
103
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
103
104
|
)
|
104
105
|
},
|
105
106
|
unstyled: true,
|
106
107
|
autoFocus: true,
|
107
|
-
components: props.hideIndicator ? {
|
108
|
+
components: props.hideIndicator ? {
|
109
|
+
Option,
|
110
|
+
Menu,
|
111
|
+
IndicatorsContainer: () => null
|
112
|
+
} : {
|
113
|
+
Option,
|
114
|
+
Menu,
|
115
|
+
// Control: (e) => (
|
116
|
+
// <div
|
117
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
118
|
+
// {...e}
|
119
|
+
// />
|
120
|
+
// ),
|
121
|
+
ValueContainer: (e) => /* @__PURE__ */ React.createElement(
|
122
|
+
"div",
|
123
|
+
{
|
124
|
+
className: cn(
|
125
|
+
e.className,
|
126
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
127
|
+
),
|
128
|
+
...e
|
129
|
+
}
|
130
|
+
),
|
131
|
+
MultiValueContainer: (e) => /* @__PURE__ */ React.createElement(
|
132
|
+
"div",
|
133
|
+
{
|
134
|
+
className: cn(
|
135
|
+
// e.className,
|
136
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
137
|
+
),
|
138
|
+
...e
|
139
|
+
}
|
140
|
+
)
|
141
|
+
},
|
108
142
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
109
143
|
options: props.options,
|
110
144
|
getOptionLabel: props.getOptionLabel,
|
@@ -13,8 +13,8 @@ import { DialogProps } from '@radix-ui/react-dialog';
|
|
13
13
|
import { VariantProps } from 'class-variance-authority';
|
14
14
|
import { RowData, ColumnDef } from '@tanstack/react-table';
|
15
15
|
export { ColumnDef } from '@tanstack/react-table';
|
16
|
-
import { L as LabelProps } from '../Radio-
|
17
|
-
export { b as Label, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-
|
16
|
+
import { L as LabelProps } from '../Radio-L369ID7b.mjs';
|
17
|
+
export { b as Label, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-L369ID7b.mjs';
|
18
18
|
import { Command as Command$1 } from 'cmdk';
|
19
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
20
20
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
package/dist/elements/index.d.ts
CHANGED
@@ -13,8 +13,8 @@ import { DialogProps } from '@radix-ui/react-dialog';
|
|
13
13
|
import { VariantProps } from 'class-variance-authority';
|
14
14
|
import { RowData, ColumnDef } from '@tanstack/react-table';
|
15
15
|
export { ColumnDef } from '@tanstack/react-table';
|
16
|
-
import { L as LabelProps } from '../Radio-
|
17
|
-
export { b as Label, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-
|
16
|
+
import { L as LabelProps } from '../Radio-3B8RZYJA.js';
|
17
|
+
export { b as Label, a as Radio, R as RadioOptionsTypes, c as Select, S as SelectOptionProps } from '../Radio-3B8RZYJA.js';
|
18
18
|
import { Command as Command$1 } from 'cmdk';
|
19
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
20
20
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
package/dist/elements/index.js
CHANGED
@@ -4497,22 +4497,56 @@ var Select = ({
|
|
4497
4497
|
props.controlClassNames
|
4498
4498
|
),
|
4499
4499
|
container: () => cn(
|
4500
|
-
"hawa-rounded",
|
4501
|
-
props.phoneCode && "hawa-
|
4500
|
+
"hawa-rounded ",
|
4501
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
4502
4502
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
4503
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
4503
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
4504
|
+
props.isMulti && "hawa-ps-0 "
|
4504
4505
|
),
|
4505
4506
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
4506
4507
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
4507
4508
|
singleValue: () => "hawa-text-foreground",
|
4508
4509
|
indicatorsContainer: () => cn(
|
4509
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
4510
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
4510
4511
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
4511
4512
|
)
|
4512
4513
|
},
|
4513
4514
|
unstyled: true,
|
4514
4515
|
autoFocus: true,
|
4515
|
-
components: props.hideIndicator ? {
|
4516
|
+
components: props.hideIndicator ? {
|
4517
|
+
Option,
|
4518
|
+
Menu,
|
4519
|
+
IndicatorsContainer: () => null
|
4520
|
+
} : {
|
4521
|
+
Option,
|
4522
|
+
Menu,
|
4523
|
+
// Control: (e) => (
|
4524
|
+
// <div
|
4525
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
4526
|
+
// {...e}
|
4527
|
+
// />
|
4528
|
+
// ),
|
4529
|
+
ValueContainer: (e) => /* @__PURE__ */ import_react29.default.createElement(
|
4530
|
+
"div",
|
4531
|
+
{
|
4532
|
+
className: cn(
|
4533
|
+
e.className,
|
4534
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
4535
|
+
),
|
4536
|
+
...e
|
4537
|
+
}
|
4538
|
+
),
|
4539
|
+
MultiValueContainer: (e) => /* @__PURE__ */ import_react29.default.createElement(
|
4540
|
+
"div",
|
4541
|
+
{
|
4542
|
+
className: cn(
|
4543
|
+
// e.className,
|
4544
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
4545
|
+
),
|
4546
|
+
...e
|
4547
|
+
}
|
4548
|
+
)
|
4549
|
+
},
|
4516
4550
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
4517
4551
|
options: props.options,
|
4518
4552
|
getOptionLabel: props.getOptionLabel,
|
package/dist/elements/index.mjs
CHANGED
package/dist/index.css
CHANGED
@@ -1021,6 +1021,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
1021
1021
|
.hawa-bottom-4 {
|
1022
1022
|
bottom: 1rem;
|
1023
1023
|
}
|
1024
|
+
.hawa-bottom-\[50\%\] {
|
1025
|
+
bottom: 50%;
|
1026
|
+
}
|
1024
1027
|
.hawa-bottom-\[62px\] {
|
1025
1028
|
bottom: 62px;
|
1026
1029
|
}
|
@@ -2682,6 +2685,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
2682
2685
|
.hawa-pr-2 {
|
2683
2686
|
padding-right: 0.5rem;
|
2684
2687
|
}
|
2688
|
+
.hawa-ps-0 {
|
2689
|
+
padding-inline-start: 0px;
|
2690
|
+
}
|
2685
2691
|
.hawa-ps-9 {
|
2686
2692
|
padding-inline-start: 2.25rem;
|
2687
2693
|
}
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED