@sikka/hawa 0.31.4-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/combobox/index.d.mts +1 -0
- package/dist/combobox/index.d.ts +1 -0
- package/dist/combobox/index.js +5 -4
- package/dist/combobox/index.js.map +1 -1
- package/dist/combobox/index.mjs +5 -4
- package/dist/combobox/index.mjs.map +1 -1
- package/dist/elements/index.d.mts +3 -2
- package/dist/elements/index.d.ts +3 -2
- package/dist/elements/index.js +44 -9
- package/dist/elements/index.mjs +6 -5
- package/dist/index.css +6 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +44 -9
- package/dist/index.mjs +44 -9
- 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 +13 -13
@@ -1940,22 +1940,56 @@ var Select = ({
|
|
1940
1940
|
props.controlClassNames
|
1941
1941
|
),
|
1942
1942
|
container: () => cn(
|
1943
|
-
"hawa-rounded",
|
1944
|
-
props.phoneCode && "hawa-
|
1943
|
+
"hawa-rounded ",
|
1944
|
+
props.phoneCode && "hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
|
1945
1945
|
"hawa-block hawa-w-full hawa-rounded hawa-border hawa-transition-all hawa-bg-background hawa-p-0 hawa-px-1 hawa-text-sm",
|
1946
|
-
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer"
|
1946
|
+
props.disabled ? "hawa-cursor-not-allowed" : "hawa-cursor-pointer",
|
1947
|
+
props.isMulti && "hawa-ps-0 "
|
1947
1948
|
),
|
1948
1949
|
placeholder: () => "hawa-text-muted-foreground hawa-cursor-pointer hawa-px-1",
|
1949
1950
|
valueContainer: () => "hawa-text-foreground hawa-px-1 ",
|
1950
1951
|
singleValue: () => "hawa-text-foreground",
|
1951
1952
|
indicatorsContainer: () => cn(
|
1952
|
-
"hawa-cursor-pointer hawa-text-muted-foreground",
|
1953
|
+
"hawa-cursor-pointer hawa-text-muted-foreground hawa-absolute hawa-end-0 hawa-top-[50%] hawa-bottom-[50%] ",
|
1953
1954
|
props.hideIndicator ? "hawa-invisible" : "hawa-px-1"
|
1954
1955
|
)
|
1955
1956
|
},
|
1956
1957
|
unstyled: true,
|
1957
1958
|
autoFocus: true,
|
1958
|
-
components: props.hideIndicator ? {
|
1959
|
+
components: props.hideIndicator ? {
|
1960
|
+
Option,
|
1961
|
+
Menu,
|
1962
|
+
IndicatorsContainer: () => null
|
1963
|
+
} : {
|
1964
|
+
Option,
|
1965
|
+
Menu,
|
1966
|
+
// Control: (e) => (
|
1967
|
+
// <div
|
1968
|
+
// className={cn(e.className, "hawa-flex hawa-flex-row")}
|
1969
|
+
// {...e}
|
1970
|
+
// />
|
1971
|
+
// ),
|
1972
|
+
ValueContainer: (e) => /* @__PURE__ */ React4.createElement(
|
1973
|
+
"div",
|
1974
|
+
{
|
1975
|
+
className: cn(
|
1976
|
+
e.className,
|
1977
|
+
"hawa-gap-1 hawa-flex hawa-flex-row hawa-flex-wrap hawa-p-1"
|
1978
|
+
),
|
1979
|
+
...e
|
1980
|
+
}
|
1981
|
+
),
|
1982
|
+
MultiValueContainer: (e) => /* @__PURE__ */ React4.createElement(
|
1983
|
+
"div",
|
1984
|
+
{
|
1985
|
+
className: cn(
|
1986
|
+
// e.className,
|
1987
|
+
"hawa-rounded hawa-border hawa-p-1 hawa-px-2 hawa-flex hawa-flex-row"
|
1988
|
+
),
|
1989
|
+
...e
|
1990
|
+
}
|
1991
|
+
)
|
1992
|
+
},
|
1959
1993
|
onChange: (newValue, action) => props.onChange(newValue, action),
|
1960
1994
|
options: props.options,
|
1961
1995
|
getOptionLabel: props.getOptionLabel,
|