optimized-react-component-library-xyz123 0.19.3 → 0.19.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.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2080,10 +2080,9 @@ var CookieBanner = ({
|
|
|
2080
2080
|
"div",
|
|
2081
2081
|
{
|
|
2082
2082
|
className: "pts-cookieBanner",
|
|
2083
|
-
role: "
|
|
2083
|
+
role: "region",
|
|
2084
2084
|
"aria-labelledby": "cookie-banner-title",
|
|
2085
2085
|
"aria-describedby": "cookie-banner-description",
|
|
2086
|
-
"aria-modal": "true",
|
|
2087
2086
|
id: "cookie-banner",
|
|
2088
2087
|
tabIndex: -1,
|
|
2089
2088
|
children: /* @__PURE__ */ jsxs15("div", { className: "content", children: [
|
|
@@ -2122,8 +2121,8 @@ var CookieBanner = ({
|
|
|
2122
2121
|
)
|
|
2123
2122
|
] }),
|
|
2124
2123
|
/* @__PURE__ */ jsxs15("div", { className: "pts-cookieBanner-Buttons", children: [
|
|
2125
|
-
/* @__PURE__ */ jsx17("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2126
|
-
/* @__PURE__ */ jsx17("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2124
|
+
/* @__PURE__ */ jsx17("button", { type: "button", onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
|
|
2125
|
+
/* @__PURE__ */ jsx17("button", { type: "button", onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
|
|
2127
2126
|
] })
|
|
2128
2127
|
] })
|
|
2129
2128
|
}
|