@eqtylab/equality 5.4.2 → 5.4.4

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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
135
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
154
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
455
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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'>;
@@ -1688,13 +1688,13 @@ declare const NavListExpandableContent: React$1.ForwardRefExoticComponent<React$
1688
1688
  interface NavPanelProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'title'> {
1689
1689
  /** Names the panel's landmark */
1690
1690
  'aria-label': string;
1691
- /** Above the rows, such as a `NavSwitcher` or a heading */
1691
+ /** Above the rows, pinned as they scroll, such as a `NavSwitcher` or a heading */
1692
1692
  header?: React$1.ReactNode;
1693
1693
  }
1694
1694
  /**
1695
1695
  * **Props**
1696
1696
  * - `"aria-label": string` — Names the panel's landmark
1697
- * - `header?: React.ReactNode` — Above the rows, such as a `NavSwitcher` or a heading
1697
+ * - `header?: React.ReactNode` — Above the rows, pinned as they scroll, such as a `NavSwitcher` or a heading
1698
1698
  *
1699
1699
  * Also accepts the standard `HTMLElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
1700
1700
  *
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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
135
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
154
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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?: "link" | "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "navigation" | null | undefined;
455
+ variant?: "primary" | "danger" | "success" | "warning" | "secondary" | "tertiary" | "link" | "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'>;
@@ -1688,13 +1688,13 @@ declare const NavListExpandableContent: React$1.ForwardRefExoticComponent<React$
1688
1688
  interface NavPanelProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'title'> {
1689
1689
  /** Names the panel's landmark */
1690
1690
  'aria-label': string;
1691
- /** Above the rows, such as a `NavSwitcher` or a heading */
1691
+ /** Above the rows, pinned as they scroll, such as a `NavSwitcher` or a heading */
1692
1692
  header?: React$1.ReactNode;
1693
1693
  }
1694
1694
  /**
1695
1695
  * **Props**
1696
1696
  * - `"aria-label": string` — Names the panel's landmark
1697
- * - `header?: React.ReactNode` — Above the rows, such as a `NavSwitcher` or a heading
1697
+ * - `header?: React.ReactNode` — Above the rows, pinned as they scroll, such as a `NavSwitcher` or a heading
1698
1698
  *
1699
1699
  * Also accepts the standard `HTMLElement` attributes, such as `className`, `id`, `aria-*` and event handlers.
1700
1700
  *