@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.
@@ -1940,22 +1940,56 @@ var Select = ({
1940
1940
  props.controlClassNames
1941
1941
  ),
1942
1942
  container: () => cn(
1943
- "hawa-rounded",
1944
- props.phoneCode && "hawa-w-fit hawa-min-w-[65px] hawa-text-right hawa-w-[100px] hawa-p-0 hawa-rounded-r-none hawa-h-[40px] ",
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 ? { Option, Menu, IndicatorsContainer: () => null } : { Option, Menu },
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,