@idealyst/components 1.2.79 → 1.2.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idealyst/components",
3
- "version": "1.2.79",
3
+ "version": "1.2.80",
4
4
  "description": "Shared component library for React and React Native",
5
5
  "documentation": "https://github.com/IdealystIO/idealyst-framework/tree/main/packages/components#readme",
6
6
  "readme": "README.md",
@@ -56,7 +56,7 @@
56
56
  "publish:npm": "npm publish"
57
57
  },
58
58
  "peerDependencies": {
59
- "@idealyst/theme": "^1.2.79",
59
+ "@idealyst/theme": "^1.2.80",
60
60
  "@mdi/js": ">=7.0.0",
61
61
  "@mdi/react": ">=1.0.0",
62
62
  "@react-native-vector-icons/common": ">=12.0.0",
@@ -107,8 +107,8 @@
107
107
  },
108
108
  "devDependencies": {
109
109
  "@idealyst/blur": "^1.2.40",
110
- "@idealyst/theme": "^1.2.79",
111
- "@idealyst/tooling": "^1.2.79",
110
+ "@idealyst/theme": "^1.2.80",
111
+ "@idealyst/tooling": "^1.2.80",
112
112
  "@mdi/react": "^1.6.1",
113
113
  "@types/react": "^19.1.0",
114
114
  "react": "^19.1.0",
@@ -111,7 +111,6 @@ const Menu = forwardRef<IdealystElement, MenuProps>(({
111
111
  <BoundedModalContent
112
112
  top={menuPosition.top}
113
113
  left={menuPosition.left}
114
- width={menuPosition.width}
115
114
  maxHeight={300}
116
115
  style={[
117
116
  (menuStyles.menu as any)({}),
@@ -148,6 +148,7 @@ export const menuStyles = defineStyle('Menu', (theme: Theme) => ({
148
148
  justifyContent: 'center' as const,
149
149
  flexShrink: 0,
150
150
  marginRight: 8,
151
+ color: theme.colors.text.primary,
151
152
  variants: {
152
153
  size: {
153
154
  width: theme.sizes.$menu.iconSize,
@@ -31,6 +31,7 @@ const MenuItem = forwardRef<IdealystElement, MenuItemProps>(({ item, onPress, si
31
31
  return (
32
32
  <MaterialDesignIcons
33
33
  name={item.icon as any}
34
+ color={iconStyle.color}
34
35
  style={iconStyle}
35
36
  />
36
37
  );
@@ -111,6 +111,7 @@ export const menuItemStyles = defineStyle('MenuItem', (theme: Theme) => ({
111
111
  justifyContent: 'center' as const,
112
112
  flexShrink: 0,
113
113
  marginRight: 12,
114
+ color: theme.colors.text.primary,
114
115
  variants: {
115
116
  size: {
116
117
  width: theme.sizes.$menu.iconSize,
@@ -240,7 +240,7 @@ export const PositionedPortal: React.FC<PositionedPortalProps> = ({
240
240
  position: 'fixed',
241
241
  top: position.top,
242
242
  left: position.left,
243
- width: position.width,
243
+ ...(position.width != null && { width: position.width }),
244
244
  zIndex,
245
245
  opacity: isPositioned ? 1 : 0,
246
246
  pointerEvents: isPositioned ? 'auto' : 'none',