@sustaina/shared-ui 1.40.4 → 1.41.0

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/dist/index.d.mts CHANGED
@@ -1171,7 +1171,7 @@ type TextareaProps = React$1.ComponentProps<"textarea"> & {
1171
1171
  declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
1172
1172
 
1173
1173
  declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
1174
- declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
1174
+ declare function Tooltip$1({ children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
1175
1175
  declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1176
1176
  declare function TooltipContent$1({ className, arrowClassName, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
1177
1177
  arrowClassName?: string;
@@ -1473,6 +1473,7 @@ interface ActionButtonProps {
1473
1473
  label: string;
1474
1474
  onPress?: (id?: any) => void;
1475
1475
  requiredPermission?: PermissionString | string;
1476
+ disabled?: boolean;
1476
1477
  }
1477
1478
  type ActionMenuProps = {
1478
1479
  id: any;
package/dist/index.d.ts CHANGED
@@ -1171,7 +1171,7 @@ type TextareaProps = React$1.ComponentProps<"textarea"> & {
1171
1171
  declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
1172
1172
 
1173
1173
  declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
1174
- declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
1174
+ declare function Tooltip$1({ children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
1175
1175
  declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
1176
1176
  declare function TooltipContent$1({ className, arrowClassName, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
1177
1177
  arrowClassName?: string;
@@ -1473,6 +1473,7 @@ interface ActionButtonProps {
1473
1473
  label: string;
1474
1474
  onPress?: (id?: any) => void;
1475
1475
  requiredPermission?: PermissionString | string;
1476
+ disabled?: boolean;
1476
1477
  }
1477
1478
  type ActionMenuProps = {
1478
1479
  id: any;