cc-ui-library 3.0.1 → 3.0.2

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.
@@ -87,7 +87,7 @@ const Dropdown = /*#__PURE__*/forwardRef(({
87
87
  };
88
88
  const positionStyle = updateDropdownPosition();
89
89
  const dropdownWidth = positionStyle.width;
90
- const basePadding = 16;
90
+ const basePadding = 20;
91
91
  const iconPadding = showIcon ? 32 : 5;
92
92
  const effectiveContentWidth = customReccurenece ? (typeof dropdownWidth === 'number' ? dropdownWidth / 2 : 0) - basePadding - iconPadding : dropdownWidth - basePadding - iconPadding;
93
93
  const sortedOptions = useMemo(() => {
package/lib/index.cjs CHANGED
@@ -7117,7 +7117,7 @@ const Dropdown$1 = /*#__PURE__*/React.forwardRef(({
7117
7117
  };
7118
7118
  const positionStyle = updateDropdownPosition();
7119
7119
  const dropdownWidth = positionStyle.width;
7120
- const basePadding = 16;
7120
+ const basePadding = 20;
7121
7121
  const iconPadding = showIcon ? 32 : 5;
7122
7122
  const effectiveContentWidth = customReccurenece ? (typeof dropdownWidth === 'number' ? dropdownWidth / 2 : 0) - basePadding - iconPadding : dropdownWidth - basePadding - iconPadding;
7123
7123
  const sortedOptions = React.useMemo(() => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cc-ui-library",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "types": "lib/index.d.ts",