@algenium/blocks 1.16.0 → 1.16.1
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/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10309,13 +10309,14 @@ function Input({ className, type, ...props }) {
|
|
|
10309
10309
|
}
|
|
10310
10310
|
);
|
|
10311
10311
|
}
|
|
10312
|
+
var phoneInputGroupClass = "flex h-9 w-full gap-0 overflow-hidden rounded-md border border-input bg-transparent shadow-xs transition-[color,box-shadow] [--PhoneInputCountrySelect-marginRight:0] focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50 dark:bg-input/30 [&_.PhoneInputCountry]:mr-0";
|
|
10312
10313
|
var PhoneInput = React7__namespace.forwardRef(
|
|
10313
10314
|
({ className, onChange, value, defaultCountry = "MX", ...props }, ref) => {
|
|
10314
10315
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
10315
10316
|
RPNInput__namespace.default,
|
|
10316
10317
|
{
|
|
10317
10318
|
ref,
|
|
10318
|
-
className: cn(
|
|
10319
|
+
className: cn(phoneInputGroupClass, className),
|
|
10319
10320
|
flagComponent: FlagComponent,
|
|
10320
10321
|
countrySelectComponent: CountrySelect,
|
|
10321
10322
|
inputComponent: InputComponent,
|
|
@@ -10332,7 +10333,10 @@ PhoneInput.displayName = "PhoneInput";
|
|
|
10332
10333
|
var InputComponent = React7__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10333
10334
|
Input,
|
|
10334
10335
|
{
|
|
10335
|
-
className: cn(
|
|
10336
|
+
className: cn(
|
|
10337
|
+
"h-9 min-h-0 rounded-none border-0 bg-transparent shadow-none focus-visible:border-transparent focus-visible:ring-0 dark:bg-transparent",
|
|
10338
|
+
className
|
|
10339
|
+
),
|
|
10336
10340
|
...props,
|
|
10337
10341
|
ref
|
|
10338
10342
|
}
|
|
@@ -10361,8 +10365,8 @@ var CountrySelect = ({
|
|
|
10361
10365
|
Button,
|
|
10362
10366
|
{
|
|
10363
10367
|
type: "button",
|
|
10364
|
-
variant: "
|
|
10365
|
-
className: "
|
|
10368
|
+
variant: "ghost",
|
|
10369
|
+
className: "h-9 shrink-0 gap-1 rounded-none border-0 border-r border-input px-2.5 shadow-none hover:bg-muted/50 focus:z-10",
|
|
10366
10370
|
disabled,
|
|
10367
10371
|
children: [
|
|
10368
10372
|
/* @__PURE__ */ jsxRuntime.jsx(
|