oneslash-design-system 1.1.27 → 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 } 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 {
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.27",
4
+ "version": "1.1.29",
5
5
  "private": false,
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",