@dinofront/design_system 1.15.2 → 1.15.3
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.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1775,11 +1775,11 @@ var Rn = {
|
|
|
1775
1775
|
children: [/* @__PURE__ */ G("div", {
|
|
1776
1776
|
className: "flex-1 min-w-0",
|
|
1777
1777
|
children: [i && /* @__PURE__ */ W("h2", {
|
|
1778
|
-
id:
|
|
1778
|
+
"data-test-id": h ? `${h}-drawer-title` : void 0,
|
|
1779
1779
|
className: "text-h-xs font-semibold text-fg-default",
|
|
1780
1780
|
children: i
|
|
1781
1781
|
}), a && /* @__PURE__ */ W("p", {
|
|
1782
|
-
id:
|
|
1782
|
+
"data-test-id": h ? `${h}-drawer-subtitle` : void 0,
|
|
1783
1783
|
className: "mt-1 text-p-std text-fg-secondary",
|
|
1784
1784
|
children: a
|
|
1785
1785
|
})]
|
|
@@ -1789,6 +1789,7 @@ var Rn = {
|
|
|
1789
1789
|
type: "button",
|
|
1790
1790
|
onClick: t,
|
|
1791
1791
|
"aria-label": "Close",
|
|
1792
|
+
"data-test-id": h ? `${h}-drawer-close-button` : void 0,
|
|
1792
1793
|
className: "p-2 rounded-md text-fg-secondary hover:text-fg-default hover:bg-bg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300",
|
|
1793
1794
|
children: /* @__PURE__ */ W(V, { className: "h-5 w-5" })
|
|
1794
1795
|
})]
|
|
@@ -2371,11 +2372,11 @@ var or = a(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
|
|
|
2371
2372
|
children: [/* @__PURE__ */ G("div", {
|
|
2372
2373
|
className: "flex-1 min-w-0",
|
|
2373
2374
|
children: [n && /* @__PURE__ */ W("h2", {
|
|
2374
|
-
id:
|
|
2375
|
+
"data-test-id": d ? `${d}-modal-title` : void 0,
|
|
2375
2376
|
className: "text-h-xs font-semibold text-fg-default",
|
|
2376
2377
|
children: n
|
|
2377
2378
|
}), r && /* @__PURE__ */ W("p", {
|
|
2378
|
-
id:
|
|
2379
|
+
"data-test-id": d ? `${d}-modal-subtitle` : void 0,
|
|
2379
2380
|
className: "mt-1 text-p-std text-fg-secondary",
|
|
2380
2381
|
children: r
|
|
2381
2382
|
})]
|
|
@@ -2383,6 +2384,7 @@ var or = a(function({ label: e, value: t, active: n = !1, size: r = "md", disabl
|
|
|
2383
2384
|
type: "button",
|
|
2384
2385
|
onClick: t,
|
|
2385
2386
|
"aria-label": "Close",
|
|
2387
|
+
"data-test-id": d ? `${d}-modal-close-button` : void 0,
|
|
2386
2388
|
className: "-mr-2 -mt-2 p-2 rounded-md text-fg-secondary hover:text-fg-default hover:bg-bg-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300",
|
|
2387
2389
|
children: /* @__PURE__ */ W(V, { className: "h-5 w-5" })
|
|
2388
2390
|
})]
|