@eqtylab/equality 5.3.0 → 5.3.2

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
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
132
132
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
133
133
  */
134
134
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
135
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
135
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
136
136
  size?: "sm" | "md" | "lg" | null | undefined;
137
137
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
138
138
  prefix?: React$1.ReactNode;
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
151
151
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
152
152
  */
153
153
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
154
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
154
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
155
155
  size?: "sm" | "md" | "lg" | null | undefined;
156
156
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
157
157
  prefix?: React$1.ReactNode;
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
452
452
  }) => react_jsx_runtime.JSX.Element;
453
453
 
454
454
  declare const buttonVariants: (props?: ({
455
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
455
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
456
456
  size?: "sm" | "md" | "lg" | null | undefined;
457
457
  } & class_variance_authority_types.ClassProp) | undefined) => string;
458
458
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
package/dist/index.d.ts CHANGED
@@ -132,7 +132,7 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
132
132
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
133
133
  */
134
134
  declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
135
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
135
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
136
136
  size?: "sm" | "md" | "lg" | null | undefined;
137
137
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
138
138
  prefix?: React$1.ReactNode;
@@ -151,7 +151,7 @@ declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<Omit<Ale
151
151
  * [Alert Dialog documentation](https://equality.eqtylab.io/components/alert-dialog)
152
152
  */
153
153
  declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref">, "prefix"> & VariantProps<(props?: ({
154
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
154
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
155
155
  size?: "sm" | "md" | "lg" | null | undefined;
156
156
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
157
157
  prefix?: React$1.ReactNode;
@@ -452,7 +452,7 @@ declare const BgGradient: ({ theme, placement, }: {
452
452
  }) => react_jsx_runtime.JSX.Element;
453
453
 
454
454
  declare const buttonVariants: (props?: ({
455
- variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "navigation" | null | undefined;
455
+ variant?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
456
456
  size?: "sm" | "md" | "lg" | null | undefined;
457
457
  } & class_variance_authority_types.ClassProp) | undefined) => string;
458
458
  type ButtonBaseProps = Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'prefix'>;
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import { twMerge } from 'tailwind-merge';
10
10
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
11
11
  import styles4 from './alert.module.module.css.module.css';
12
12
  import * as LucideIcons from 'lucide-react';
13
- import { Check, ChevronRight, Search, Circle, TriangleAlert, ChevronLeft, ArrowUpRight, ChevronDown, ChevronsUpDown, X, SearchIcon, CalendarDays, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
13
+ import { Check, ChevronRight, Search, TriangleAlert, ChevronLeft, ArrowUpRight, ChevronDown, ChevronsUpDown, Circle, X, SearchIcon, CalendarDays, AlertOctagon, Home, ChevronsLeft, ChevronsRight, ArrowUp, ArrowDown, ArrowUpDown } from 'lucide-react';
14
14
  import styles3 from './icon.module.module.css.module.css';
15
15
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
16
16
  import styles5 from './avatar.module.module.css.module.css';
@@ -1883,7 +1883,6 @@ function assignRefs(node, ...refs) {
1883
1883
  }
1884
1884
  var CheckIcon2 = Check;
1885
1885
  var ChevronRightIcon2 = ChevronRight;
1886
- var CircleIcon = Circle;
1887
1886
  var SearchIcon2 = Search;
1888
1887
  var DropdownMenuSearchContext = React16.createContext(null);
1889
1888
  var useDropdownMenuSearch = () => React16.useContext(DropdownMenuSearchContext);
@@ -2202,7 +2201,7 @@ var DropdownMenuRadioItem = React16.forwardRef(({ className, children, textValue
2202
2201
  ...props,
2203
2202
  "data-persistent": persistent ? "" : void 0,
2204
2203
  children: [
2205
- /* @__PURE__ */ jsx("span", { className: styles22["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: styles22["radio-icon"] }) }) }),
2204
+ /* @__PURE__ */ jsx("span", { className: styles22["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon2, { className: styles22["radio-icon"] }) }) }),
2206
2205
  /* @__PURE__ */ jsx(ItemBreadcrumb, {}),
2207
2206
  children
2208
2207
  ]
@@ -4253,7 +4252,7 @@ var RadioDropdown = ({
4253
4252
  ] })
4254
4253
  ] });
4255
4254
  };
4256
- var CircleIcon2 = Circle;
4255
+ var CircleIcon = Circle;
4257
4256
  var RadioGroup2 = React16.forwardRef(({ className, ...props }, ref) => {
4258
4257
  return /* @__PURE__ */ jsx(
4259
4258
  RadioGroupPrimitive.Root,
@@ -4272,7 +4271,7 @@ var RadioGroupItem = React16.forwardRef(({ className, ...props }, ref) => {
4272
4271
  ref,
4273
4272
  className: cn(styles49["radio-group-item"], className),
4274
4273
  ...props,
4275
- children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: styles49["radio-group-item-indicator"], children: /* @__PURE__ */ jsx(CircleIcon2, { className: styles49["indicator-icon"] }) })
4274
+ children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: styles49["radio-group-item-indicator"], children: /* @__PURE__ */ jsx(CircleIcon, { className: styles49["indicator-icon"] }) })
4276
4275
  }
4277
4276
  );
4278
4277
  });