oneslash-design-system 1.1.26 → 1.1.29

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.
@@ -106,9 +106,9 @@ export default function Button({
106
106
  onClick={onClickButton}
107
107
  >
108
108
  {/* Group IconLeft and label in a flex container for left alignment */}
109
- <div className="flex items-center space-x-2">
109
+ <div className="flex items-center">
110
110
  {IconLeft && <IconLeft className={sizeIcon} />}
111
- <div className="whitespace-nowrap overflow-hidden truncate">{label}</div>
111
+ <div className="whitespace-nowrap overflow-hidden truncate px-2">{label}</div>
112
112
  </div>
113
113
  {IconRight && (
114
114
  <div onClick={onClickActionIcon} className="cursor-pointer">
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import React, { useState, useEffect, useCallback, SVGProps } from 'react';
2
+ import React, { useState, useEffect, useCallback, SVGProps, JSX } from 'react';
3
3
  import NextLink from 'next/link';
4
4
  import UserImage from './userImage';
5
5
 
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import React, { useState, useEffect } from 'react';
2
+ import React, { useState, useEffect, JSX } from 'react';
3
3
  import * as HeroIcons from '@heroicons/react/24/outline';
4
4
 
5
5
  interface TagProps {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { JSX } from 'react';
2
2
  interface MenuItemProps {
3
3
  href?: string;
4
4
  iconName?: string;
@@ -9,5 +9,5 @@ interface MenuItemProps {
9
9
  onClick?: any;
10
10
  className?: string;
11
11
  }
12
- export default function MenuItem({ href, iconName, userHandle, userImgUrl, label, isSelected, onClick, className, }: MenuItemProps): React.JSX.Element;
12
+ export default function MenuItem({ href, iconName, userHandle, userImgUrl, label, isSelected, onClick, className, }: MenuItemProps): JSX.Element;
13
13
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oneslash-design-system",
3
3
  "description": "A design system for the Oneslash projects",
4
- "version": "1.1.26",
4
+ "version": "1.1.29",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",