@shoplflow/base 0.24.7 → 0.24.9

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.d.cts CHANGED
@@ -760,7 +760,7 @@ interface DropdownButtonProps extends HTMLAttributes<HTMLButtonElement>, Disable
760
760
  * placeholder를 설정합니다.
761
761
  */
762
762
  placeholder?: string;
763
- value?: string;
763
+ value?: ReactNode;
764
764
  /**
765
765
  * width를 설정합니다.
766
766
  */
package/dist/index.d.ts CHANGED
@@ -760,7 +760,7 @@ interface DropdownButtonProps extends HTMLAttributes<HTMLButtonElement>, Disable
760
760
  * placeholder를 설정합니다.
761
761
  */
762
762
  placeholder?: string;
763
- value?: string;
763
+ value?: ReactNode;
764
764
  /**
765
765
  * width를 설정합니다.
766
766
  */
package/dist/index.js CHANGED
@@ -1856,16 +1856,7 @@ var DropdownButton = forwardRef(
1856
1856
  height: getDropdownHeightBySizeVar(sizeVar),
1857
1857
  children: /* @__PURE__ */ jsxs(StyledDropdownButton, __spreadProps(__spreadValues({ ref, onClick: handleOnClick, disabled }, rest), { sizeVar, children: [
1858
1858
  leftSource && leftSource,
1859
- value ? /* @__PURE__ */ jsx(
1860
- Text_default,
1861
- {
1862
- typography: getDropdownFontSizeBySizeVar(sizeVar),
1863
- color: "neutral700",
1864
- textOverflow: "ellipsis",
1865
- lineClamp: 1,
1866
- children: value
1867
- }
1868
- ) : /* @__PURE__ */ jsx(
1859
+ value || /* @__PURE__ */ jsx(
1869
1860
  Text_default,
1870
1861
  {
1871
1862
  typography: getDropdownFontSizeBySizeVar(sizeVar),
@@ -1957,9 +1948,12 @@ Dropdown.Button = DropdownButton;
1957
1948
  Dropdown.Content = DropdownContent;
1958
1949
  var Dropdown_default = Dropdown;
1959
1950
  var Container2 = styled5.div`
1960
- width: 32px;
1961
- height: 32px;
1962
- padding: 7px;
1951
+ display: flex;
1952
+ align-items: center;
1953
+ justify-content: center;
1954
+ width: 24px;
1955
+ height: 24px;
1956
+ padding: 4px;
1963
1957
  `;
1964
1958
  var IconButton2 = styled5.button`
1965
1959
  display: flex;