@obosbbl/grunnmuren-react 2.0.0-canary.5 → 2.0.0-canary.6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -63,7 +63,7 @@ const defaultClasses$1 = cx([
63
63
  // Pulling this out into it's own component. Will probably export it in the future
64
64
  // so it can be used in other views, outside of an input of type checkbox, like in table rows.
65
65
  function CheckmarkBox() {
66
- return /*#__PURE__*/ jsx("div", {
66
+ return /*#__PURE__*/ jsx("span", {
67
67
  className: cx([
68
68
  'relative left-0 grid flex-none place-content-center rounded-sm border-2 border-black text-white',
69
69
  // to vertically align the radio we need to calculate the label's height, which is equal to it's font size multiplied by the line height.
@@ -105,7 +105,7 @@ function Checkbox(props, ref) {
105
105
  isInvalid: isInvalid,
106
106
  ref: ref,
107
107
  children: [
108
- /*#__PURE__*/ jsx("div", {
108
+ /*#__PURE__*/ jsx("span", {
109
109
  className: "absolute -left-2.5 top-0 z-10 h-11 w-11"
110
110
  }),
111
111
  /*#__PURE__*/ jsx(CheckmarkBox, {}),
@@ -298,7 +298,7 @@ function Radio(props, ref) {
298
298
  className: cx(className, defaultClasses),
299
299
  ref: ref,
300
300
  children: [
301
- /*#__PURE__*/ jsx("div", {
301
+ /*#__PURE__*/ jsx("span", {
302
302
  className: "absolute -left-2.5 top-0 z-10 h-11 w-11 "
303
303
  }),
304
304
  /*#__PURE__*/ jsxs("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "2.0.0-canary.5",
3
+ "version": "2.0.0-canary.6",
4
4
  "description": "Grunnmuren components in React",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"