myshell-react-lib 0.1.33 → 0.1.34

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.cts CHANGED
@@ -510,7 +510,7 @@ interface ImageProps {
510
510
  declare function Image({ className, imgClassName, placeholder, width, height, src, rounded, fallback, object, isBackgroud, preview, fetchPriority, loading, ...otherProps }: ImageProps): react_jsx_runtime.JSX.Element;
511
511
 
512
512
  type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
513
- rounded?: 'default' | 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | null | undefined;
513
+ rounded?: 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | 'full' | null | undefined;
514
514
  size?: 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
515
515
  isFull?: boolean;
516
516
  border?: 'none' | 'default' | null | undefined;
@@ -519,7 +519,7 @@ type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'> &
519
519
  background?: 'none' | 'default' | null | undefined;
520
520
  };
521
521
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
522
- rounded?: "default" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
522
+ rounded?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full" | null | undefined;
523
523
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
524
524
  isFull?: boolean;
525
525
  border?: "none" | "default" | null | undefined;
@@ -776,13 +776,13 @@ type INavigationBar = {
776
776
  declare function NavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, children, energy, dailyEnergy, onSearchChange, }: INavigationBar): react_jsx_runtime.JSX.Element;
777
777
 
778
778
  type INumberInputProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
779
- rounded?: 'default' | 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | null | undefined;
779
+ rounded?: 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | 'full' | null | undefined;
780
780
  size?: 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
781
781
  isFull?: boolean;
782
782
  controls?: boolean;
783
783
  };
784
784
  declare const NumberInput: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & {
785
- rounded?: "default" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
785
+ rounded?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full" | null | undefined;
786
786
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
787
787
  isFull?: boolean;
788
788
  controls?: boolean;
package/dist/index.d.ts CHANGED
@@ -510,7 +510,7 @@ interface ImageProps {
510
510
  declare function Image({ className, imgClassName, placeholder, width, height, src, rounded, fallback, object, isBackgroud, preview, fetchPriority, loading, ...otherProps }: ImageProps): react_jsx_runtime.JSX.Element;
511
511
 
512
512
  type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
513
- rounded?: 'default' | 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | null | undefined;
513
+ rounded?: 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | 'full' | null | undefined;
514
514
  size?: 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
515
515
  isFull?: boolean;
516
516
  border?: 'none' | 'default' | null | undefined;
@@ -519,7 +519,7 @@ type InputProps = Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'> &
519
519
  background?: 'none' | 'default' | null | undefined;
520
520
  };
521
521
  declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> & {
522
- rounded?: "default" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
522
+ rounded?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full" | null | undefined;
523
523
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
524
524
  isFull?: boolean;
525
525
  border?: "none" | "default" | null | undefined;
@@ -776,13 +776,13 @@ type INavigationBar = {
776
776
  declare function NavigationBar({ showSearchBar, searchValue, searchPlaceholder, title, children, energy, dailyEnergy, onSearchChange, }: INavigationBar): react_jsx_runtime.JSX.Element;
777
777
 
778
778
  type INumberInputProps = Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
779
- rounded?: 'default' | 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | null | undefined;
779
+ rounded?: 'none' | 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | 'full' | null | undefined;
780
780
  size?: 'xs' | 'sm' | 'md' | 'lg' | null | undefined;
781
781
  isFull?: boolean;
782
782
  controls?: boolean;
783
783
  };
784
784
  declare const NumberInput: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "size"> & {
785
- rounded?: "default" | "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full" | null | undefined;
785
+ rounded?: "none" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "full" | null | undefined;
786
786
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
787
787
  isFull?: boolean;
788
788
  controls?: boolean;
package/dist/index.js CHANGED
@@ -5554,6 +5554,7 @@ var Tooltip = React8.forwardRef(function(_param, ref) {
5554
5554
  }
5555
5555
  return /* @__PURE__ */ jsx11(Fragment3, {
5556
5556
  children: isDesktop ? /* @__PURE__ */ jsx11(TooltipProvider, {
5557
+ delayDuration: 100,
5557
5558
  children: /* @__PURE__ */ jsxs5(TooltipPrimitive.Root, {
5558
5559
  open: disabled || !description && !title ? false : open,
5559
5560
  defaultOpen: defaultOpen,
@@ -5693,7 +5694,7 @@ var COMPOUND_VARIANTS = [
5693
5694
  {
5694
5695
  variant: "plain",
5695
5696
  color: "default",
5696
- className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover focus:shadow-rings-brand active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt"
5697
+ className: "text-cc-Button-Plain-fg-default hover:bg-cc-Button-Plain-bg-hover active:bg-cc-Button-Plain-bg-active disabled:text-cc-Button-Plain-fg-alt"
5697
5698
  },
5698
5699
  {
5699
5700
  variant: "plain",
@@ -6019,7 +6020,7 @@ var badgeVariants = cva7("rounded-full flex items-center justify-center text-Col
6019
6020
  public: "w-2.5 h-2.5 bg-Colors-Utit border-[2px] bg-Colors-Utility-Lake-Blue-50 border-Colors-Utility-Lake-Blue-10",
6020
6021
  private: "w-2.5 h-2.5 bg-Colors-Utility-Khaki-50 border-Colors-Utility-Khaki-10 border-[2px]",
6021
6022
  hidden: "w-2.5 h-2.5 bg-Colors-Utility-Gray-40 border-Colors-Utility-Gray-10 border-[2px]",
6022
- new: "w-8.5 h-4 pb-0.5 flex juctify-center items-center bg-Colors-Foreground-Critical-Default px-1.5"
6023
+ new: "w-9 h-4.5 flex juctify-center items-center bg-Colors-Foreground-Critical-Default px-1.5"
6023
6024
  }
6024
6025
  },
6025
6026
  defaultVariants: {
@@ -6034,7 +6035,7 @@ function Badge(props) {
6034
6035
  status: status
6035
6036
  }), className),
6036
6037
  children: status === "new" ? /* @__PURE__ */ jsx17("span", {
6037
- className: "text-2xs font-medium text-Colors-Text-Static-White leading-[1.3]",
6038
+ className: "text-2xs font-medium text-Colors-Text-Static-White leading-[12px]",
6038
6039
  children: "New"
6039
6040
  }) : /* @__PURE__ */ jsx17("span", {
6040
6041
  className: "font-medium text-2xs leading-[1.3]",
@@ -6986,7 +6987,7 @@ import { cva as cva11 } from "class-variance-authority";
6986
6987
  import * as React20 from "react";
6987
6988
  import { jsx as jsx29 } from "react/jsx-runtime";
6988
6989
  var Input = React20.forwardRef(function(_param, ref) {
6989
- var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "lg" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, props = _object_without_properties(_param, [
6990
+ var className = _param.className, type = _param.type, _param_autoComplete = _param.autoComplete, autoComplete = _param_autoComplete === void 0 ? "off" : _param_autoComplete, _param_isFull = _param.isFull, isFull = _param_isFull === void 0 ? true : _param_isFull, _param_rounded = _param.rounded, rounded = _param_rounded === void 0 ? "sm" : _param_rounded, _param_size = _param.size, size = _param_size === void 0 ? "sm" : _param_size, _param_border = _param.border, border = _param_border === void 0 ? "default" : _param_border, _param_outline = _param.outline, outline = _param_outline === void 0 ? "default" : _param_outline, _param_background = _param.background, background = _param_background === void 0 ? "default" : _param_background, _param_shadow = _param.shadow, shadow = _param_shadow === void 0 ? "default" : _param_shadow, props = _object_without_properties(_param, [
6990
6991
  "className",
6991
6992
  "type",
6992
6993
  "autoComplete",
@@ -7003,13 +7004,16 @@ var Input = React20.forwardRef(function(_param, ref) {
7003
7004
  variants: {
7004
7005
  rounded: {
7005
7006
  none: "rounded-none",
7006
- sm: "rounded-xxs",
7007
- default: "rounded",
7008
- md: "rounded-sm",
7009
- lg: "rounded-md",
7007
+ xxs: "rounded-xxs",
7008
+ xs: "rounded-xs",
7009
+ sm: "rounded-sm",
7010
+ md: "rounded-md",
7011
+ lg: "rounded-lg",
7010
7012
  xl: "rounded-xl",
7011
7013
  "2xl": "rounded-2xl",
7012
7014
  "3xl": "rounded-3xl",
7015
+ "4xl": "rounded-4xl",
7016
+ "5xl": "rounded-5xl",
7013
7017
  full: "rounded-full"
7014
7018
  },
7015
7019
  size: {
@@ -8071,7 +8075,7 @@ var Modal = function(_param) {
8071
8075
  icon: XMarkIcon,
8072
8076
  size: "md",
8073
8077
  variant: "plain",
8074
- color: "default",
8078
+ color: "gray",
8075
8079
  className: iconClassName
8076
8080
  }),
8077
8081
  /* @__PURE__ */ jsx34("span", {
@@ -11128,7 +11132,7 @@ var SelectContent = React32.forwardRef(function(_param, ref) {
11128
11132
  return /* @__PURE__ */ jsx46(SelectPrimitive.Portal, {
11129
11133
  children: /* @__PURE__ */ jsx46(SelectPrimitive.Content, _object_spread_props(_object_spread({
11130
11134
  ref: ref,
11131
- className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-cc-Shadows-Modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
11135
+ className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-sm border border-Colors-Border-Opaque bg-Colors-Background-Normal-Primary-Default text-Colors-Text-Default shadow-modal-default data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
11132
11136
  position: position
11133
11137
  }, props), {
11134
11138
  children: /* @__PURE__ */ jsx46(SelectPrimitive.Viewport, {
@@ -11907,7 +11911,7 @@ var Textarea = React37.forwardRef(function(_param, ref) {
11907
11911
  className: "relative",
11908
11912
  children: [
11909
11913
  /* @__PURE__ */ jsx53("textarea", _object_spread({
11910
- className: cn("w-full min-h-[123px] p-3 pb-10 rounded-md border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
11914
+ className: cn("w-full min-h-[123px] p-3 pb-10 rounded-sm border border-Colors-Border-Default bg-Colors-Background-Normal-Primary-Active ", "text-sm text-Colors-Text-Default placeholder:text-Colors-Text-Subtlest", "hover:border-Colors-Border-Hover bg-cc-Input-bg-default hover:bg-cc-Input-bg-hover disabled:bg-cc-Input-bg-disabled aria-[invalid=true]:border-Colors-Border-Critical aria-[invalid=true]:hover:bg-Colors-Background-Critical-Subtle", "aria-[invalid=true]:focus-visible:ring-error file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-Colors-Text-Subtler", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cc-Focus-Rings-Brand-default focus-visible:ring-offset-1 disabled:cursor-not-allowed disabled:opacity-30", maxLength && ((value1 === null || value1 === void 0 ? void 0 : (_value_toString = value1.toString()) === null || _value_toString === void 0 ? void 0 : _value_toString.length) || 0) > maxLength || error ? "border-Colors-Border-Critical hover:bg-Colors-Background-Critical-Subtle focus-visible:ring-error" : "", className),
11911
11915
  ref: ref,
11912
11916
  maxLength: maxLength,
11913
11917
  value: value1