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 CHANGED
@@ -2161,10 +2161,9 @@ var CookieBanner = ({
2161
2161
  "div",
2162
2162
  {
2163
2163
  className: "pts-cookieBanner",
2164
- role: "dialog",
2164
+ role: "region",
2165
2165
  "aria-labelledby": "cookie-banner-title",
2166
2166
  "aria-describedby": "cookie-banner-description",
2167
- "aria-modal": "true",
2168
2167
  id: "cookie-banner",
2169
2168
  tabIndex: -1,
2170
2169
  children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "content", children: [
@@ -2203,8 +2202,8 @@ var CookieBanner = ({
2203
2202
  )
2204
2203
  ] }),
2205
2204
  /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "pts-cookieBanner-Buttons", children: [
2206
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
2207
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
2205
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { type: "button", onClick: () => handleCookieChoice(true), children: "Ja, jag samtycker" }),
2206
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("button", { type: "button", onClick: () => handleCookieChoice(false), children: "Nej, jag samtycker inte" })
2208
2207
  ] })
2209
2208
  ] })
2210
2209
  }