labsense-ui-kit 1.2.28 → 1.2.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.
@@ -9,13 +9,13 @@ export interface SVGProps {
9
9
  size: number;
10
10
  color: string;
11
11
  weight: string;
12
- cursor?: string;
13
12
  }
14
13
  export declare type IconNames = 'Add_1' | 'Add_2' | 'AddProfile' | 'AddUser' | 'AI_Web' | 'App' | 'Ascending' | 'Back' | 'Bin' | 'BrainNetworking' | 'Building' | 'Bulb' | 'Business' | 'Calendar' | 'Car' | 'CCTV_1' | 'CCTV_2' | 'Circle' | 'CircularEdit' | 'CircularFilledWarning' | 'CircularPause' | 'CircularPlay' | 'CircularWarning' | 'City' | 'Client' | 'Close' | 'CloseCircle' | 'CloseEye' | 'CloudCross' | 'Copy' | 'Copyright' | 'CPU' | 'Cube3D' | 'Cyber' | 'Decrease' | 'Descending' | 'DiagonalArrow' | 'Directory' | 'Disk' | 'DNS_1' | 'DNS_2' | 'DNS_3' | 'DocumentBadge' | 'DoubleQuotes' | 'DownArrow' | 'Download_2' | 'Download' | 'Email' | 'ExitFullScreen' | 'FaceRecognition' | 'FastDelivery' | 'OpenEye' | 'FilesBox' | 'FilledCircle' | 'FilledCircleTick' | 'FilledPin' | 'Filter_1' | 'Filter_2' | 'Forward_10_Sec' | 'Forward' | 'FPS' | 'Free' | 'FullScreen' | 'Grid_2x2_Hollow' | 'Grid_2x2' | 'Grid_3x3' | 'Grid_4x4' | 'Grid_5x5' | 'Hamburger' | 'Handshake' | 'Hazard' | 'Help' | 'History' | 'Home' | 'Hospital' | 'Hexagon' | 'Information' | 'InformationFilled' | 'Instagram' | 'Install' | 'IP' | 'Key_2' | 'Key' | 'KeyDown' | 'KnobController' | 'LedBulb' | 'LeftArrow' | 'Letter' | 'Linkedin' | 'Licenses' | 'Live' | 'Lock' | 'Logout' | 'Manufacturing' | 'Maps' | 'Media' | 'Monitor' | 'MonitorEye' | 'More' | 'MultiMonitor' | 'MediumVolume' | 'Mute' | 'MuteVolume' | 'Menu' | 'NetworkStorage' | 'NFS_Directory' | 'NoCam' | 'Node' | 'NoStorage' | 'Notifications' | 'OpenBin' | 'OpenBook' | 'OpenEye' | 'PasswordLock' | 'Pause' | 'PeopleAnalytics' | 'Phone' | 'Pin_2' | 'Pin' | 'Play_1' | 'Play_2' | 'Playback' | 'Power' | 'PremiumBadge' | 'ProcessingBulb' | 'Profile_1' | 'Profile_2' | 'Profile_3' | 'Recording_1' | 'Recording_2' | 'Rectangle' | 'Restaurant' | 'Retail' | 'Retry' | 'Return' | 'Rewind_10_Sec' | 'Rhombus' | 'RightArrow' | 'Rocket' | 'ROI' | 'RunAway' | 'SandTimer' | 'Scalable' | 'School' | 'Search' | 'SecureSystem' | 'Security' | 'Send' | 'Settings' | 'ShelfMonitoring' | 'Shield' | 'SlantLine' | 'Sort' | 'SquareEdit' | 'SquareTick' | 'Star' | 'StorageDisks' | 'Tag' | 'Team' | 'Team_2' | 'ThreeDots' | 'ThumbsUp' | 'Tick' | 'Timer' | 'Tool' | 'Tools' | 'TriangularFilledWarning' | 'UnPinned' | 'UpArrow' | 'VehicleNumber' | 'Video' | 'FullVolume' | 'Globe' | 'GlobeIcon' | 'Government' | 'Wallet' | 'Web' | 'WiFiCam' | 'WiFiLaptop' | 'Workflow' | 'X' | 'Youtube' | 'Zapper';
15
14
  export interface IconProps {
16
15
  icon: IconNames;
17
16
  size?: number;
18
17
  color?: string;
18
+ cursor?: string;
19
19
  weight?: string;
20
20
  onClick?: (e: React.MouseEvent<HTMLDivElement | HTMLButtonElement | SVGElement>) => void;
21
21
  }
package/dist/index.js CHANGED
@@ -5105,6 +5105,7 @@ var IconSVGs = {
5105
5105
  var Icon = function Icon(_ref2) {
5106
5106
  var icon = _ref2.icon,
5107
5107
  color = _ref2.color,
5108
+ cursor = _ref2.cursor,
5108
5109
  _ref2$weight = _ref2.weight,
5109
5110
  weight = _ref2$weight === void 0 ? '2px' : _ref2$weight,
5110
5111
  _ref2$size = _ref2.size,
@@ -5118,7 +5119,8 @@ var Icon = function Icon(_ref2) {
5118
5119
  }
5119
5120
  return React__default.createElement(IconWrapper, {
5120
5121
  onClick: onClick,
5121
- "$clickable": !!onClick
5122
+ "$clickable": !!onClick,
5123
+ "$cursor": cursor
5122
5124
  }, React__default.createElement(IconSVG, {
5123
5125
  size: size,
5124
5126
  color: color || themeColors.text.medium,