@npm_leadtech/legal-contracts-ui 0.124.6 → 0.124.7

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.
@@ -18,6 +18,7 @@ export interface PreformOptionProps {
18
18
  label: string;
19
19
  value: string;
20
20
  alternativeUrl: string | null;
21
+ dataQa?: string;
21
22
  icon: ReactNode;
22
23
  selected: boolean;
23
24
  onClick?: (str: string) => void;
@@ -25,6 +25,7 @@ export interface PreformOptionProps {
25
25
  label: string;
26
26
  value: string;
27
27
  alternativeUrl: string | null;
28
+ dataQa?: string;
28
29
  icon: ReactNode;
29
30
  selected: boolean;
30
31
  onClick?: (str: string) => void;
@@ -7,6 +7,7 @@ export declare interface PreformOptionProps {
7
7
  label: string;
8
8
  value: string;
9
9
  alternativeUrl: string | null;
10
+ dataQa?: string;
10
11
  icon: ReactNode;
11
12
  selected: boolean;
12
13
  onClick?: (str: string) => void;
@@ -1,8 +1,9 @@
1
1
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- const m = ({ value: o, label: l, selected: r, icon: n, onClick: t }) => /* @__PURE__ */ i(
3
+ const d = ({ value: o, label: l, selected: r, icon: n, onClick: t, dataQa: a }) => /* @__PURE__ */ i(
4
4
  "button",
5
5
  {
6
+ "data-qa": a,
6
7
  className: `group flex w-full cursor-pointer items-center gap-2 rounded border-2 p-2 hover:bg-neutral-50 sm:flex-col sm:p-4 ${r ? "border-primary-900" : "border-neutral-200"}`,
7
8
  onClick: () => {
8
9
  t?.(o);
@@ -20,5 +21,5 @@ const m = ({ value: o, label: l, selected: r, icon: n, onClick: t }) => /* @__PU
20
21
  }
21
22
  );
22
23
  export {
23
- m as PreformOption
24
+ d as PreformOption
24
25
  };
@@ -114,6 +114,7 @@ export interface PreformOptionProps {
114
114
  label: string;
115
115
  value: string;
116
116
  alternativeUrl: string | null;
117
+ dataQa?: string;
117
118
  icon: ReactNode;
118
119
  selected: boolean;
119
120
  onClick?: (str: string) => void;
@@ -949,6 +949,7 @@ export declare interface PreformOptionProps {
949
949
  label: string;
950
950
  value: string;
951
951
  alternativeUrl: string | null;
952
+ dataQa?: string;
952
953
  icon: ReactNode;
953
954
  selected: boolean;
954
955
  onClick?: (str: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-contracts-ui",
3
- "version": "0.124.6",
3
+ "version": "0.124.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",