@arkitektbedriftene/fe-lib 0.4.10 → 0.4.11

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/icons.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { G as l, M as n, a as r, b as i, F as c, c as h, d, e as v } from "./index.esm-b848a615.js";
2
+ import { G as l, M as n, a as r, b as i, F as c, c as h, d, e as v } from "./index.esm-3266b7f8.js";
3
3
  import "react";
4
4
  function s(a) {
5
5
  return l({ tag: "svg", attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M4 2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3 0a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1ZM4 5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM7.5 5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM4.5 8a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Zm2.5.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm3.5-.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-1Z" } }, { tag: "path", attr: { d: "M2 1a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V1Zm11 0H3v14h3v-2.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5V15h3V1Z" } }] })(a);
@@ -9,8 +9,8 @@ var g = {
9
9
  return l = Object.assign || function(t) {
10
10
  for (var e, a = 1, r = arguments.length; a < r; a++) {
11
11
  e = arguments[a];
12
- for (var c in e)
13
- Object.prototype.hasOwnProperty.call(e, c) && (t[c] = e[c]);
12
+ for (var n in e)
13
+ Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
14
14
  }
15
15
  return t;
16
16
  }, l.apply(this, arguments);
@@ -19,8 +19,8 @@ var g = {
19
19
  for (var r in t)
20
20
  Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (a[r] = t[r]);
21
21
  if (t != null && typeof Object.getOwnPropertySymbols == "function")
22
- for (var c = 0, r = Object.getOwnPropertySymbols(t); c < r.length; c++)
23
- e.indexOf(r[c]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[c]) && (a[r[c]] = t[r[c]]);
22
+ for (var n = 0, r = Object.getOwnPropertySymbols(t); n < r.length; n++)
23
+ e.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (a[r[n]] = t[r[n]]);
24
24
  return a;
25
25
  };
26
26
  function u(t) {
@@ -30,7 +30,7 @@ function u(t) {
30
30
  }, e.attr), u(e.child));
31
31
  });
32
32
  }
33
- function n(t) {
33
+ function c(t) {
34
34
  return function(e) {
35
35
  return i.createElement(z, l({
36
36
  attr: l({}, t.attr)
@@ -39,7 +39,7 @@ function n(t) {
39
39
  }
40
40
  function z(t) {
41
41
  var e = function(a) {
42
- var r = t.attr, c = t.size, o = t.title, d = f(t, ["attr", "size", "title"]), v = c || a.size || "1em", h;
42
+ var r = t.attr, n = t.size, o = t.title, d = f(t, ["attr", "size", "title"]), v = n || a.size || "1em", h;
43
43
  return a.className && (h = a.className), t.className && (h = (h ? h + " " : "") + t.className), i.createElement("svg", l({
44
44
  stroke: "currentColor",
45
45
  fill: "currentColor",
@@ -59,49 +59,57 @@ function z(t) {
59
59
  }) : e(g);
60
60
  }
61
61
  function m(t) {
62
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z" } }] })(t);
62
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zM9 4h6v2H9V4zm11 15H4v-2h16v2zm0-5H4V8h3v2h2V8h6v2h2V8h3v6z" } }] })(t);
63
63
  }
64
64
  function H(t) {
65
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" } }] })(t);
65
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z" } }] })(t);
66
66
  }
67
67
  function p(t) {
68
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M23 12l-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69L23 12zm-12.91 4.72l-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z" } }] })(t);
68
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M23 12l-2.44-2.79.34-3.69-3.61-.82-1.89-3.2L12 2.96 8.6 1.5 6.71 4.69 3.1 5.5l.34 3.7L1 12l2.44 2.79-.34 3.7 3.61.82L8.6 22.5l3.4-1.47 3.4 1.46 1.89-3.19 3.61-.82-.34-3.69L23 12zm-12.91 4.72l-3.8-3.81 1.48-1.48 2.32 2.33 5.85-5.87 1.48 1.48-7.33 7.35z" } }] })(t);
69
69
  }
70
70
  function w(t) {
71
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" } }, { tag: "path", attr: { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" } }] })(t);
72
- }
73
- function L(t) {
74
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" } }] })(t);
71
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" } }, { tag: "path", attr: { d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" } }] })(t);
75
72
  }
76
73
  function x(t) {
77
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z" } }] })(t);
74
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" } }] })(t);
75
+ }
76
+ function L(t) {
77
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z" } }] })(t);
78
78
  }
79
79
  function C(t) {
80
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4-3.2-3.2zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07A8 8 0 0015 4.59V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8z" } }] })(t);
80
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M19.3 16.9c.4-.7.7-1.5.7-2.4 0-2.5-2-4.5-4.5-4.5S11 12 11 14.5s2 4.5 4.5 4.5c.9 0 1.7-.3 2.4-.7l3.2 3.2 1.4-1.4-3.2-3.2zm-3.8.1c-1.4 0-2.5-1.1-2.5-2.5s1.1-2.5 2.5-2.5 2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5zM12 20v2C6.48 22 2 17.52 2 12S6.48 2 12 2c4.84 0 8.87 3.44 9.8 8h-2.07A8 8 0 0015 4.59V5c0 1.1-.9 2-2 2h-2v2c0 .55-.45 1-1 1H8v2h2v3H9l-4.79-4.79C4.08 10.79 4 11.38 4 12c0 4.41 3.59 8 8 8z" } }] })(t);
81
81
  }
82
82
  function V(t) {
83
- return n({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M7.32 10.56L8.38 9.5 7.32 8.44l1.06-1.06L10.5 9.5l-2.12 2.12-1.06-1.06zM4.5 9c.03 0 .05.01.08.01A8.002 8.002 0 0112 4c2.19 0 4.16.88 5.61 2.3.15-.6.45-1.29.81-1.96A9.965 9.965 0 0011.99 2c-4.88 0-8.94 3.51-9.81 8.14C2.74 9.44 3.59 9 4.5 9zM21 10.5c-.42 0-.82-.09-1.19-.22.12.55.19 1.13.19 1.72 0 4.42-3.58 8-8 8-3.36 0-6.23-2.07-7.42-5.01-.03 0-.05.01-.08.01-.52 0-1.04-.14-1.5-.4-.32-.18-.59-.42-.82-.7.89 4.61 4.93 8.1 9.8 8.1C17.52 22 22 17.52 22 12c0-.55-.06-1.09-.14-1.62a3.5 3.5 0 01-.86.12zM21 3s-2 2.9-2 4 .9 2 2 2 2-.9 2-2-2-4-2-4zm-5.38 4.38L13.5 9.5l2.12 2.12 1.06-1.06-1.06-1.06 1.06-1.06-1.06-1.06zM8.56 17c.69-1.19 1.97-2 3.44-2s2.75.81 3.44 2h1.68c-.8-2.05-2.79-3.5-5.12-3.5-.87 0-1.7.2-2.43.57L5.99 12c0-.52-.26-1.02-.74-1.29-.72-.41-1.63-.17-2.05.55-.41.72-.17 1.63.55 2.05.48.28 1.05.25 1.49 0l2.97 1.72c-.57.53-1.03 1.21-1.33 1.97h1.68z" } }] })(t);
83
+ return c({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M7.32 10.56L8.38 9.5 7.32 8.44l1.06-1.06L10.5 9.5l-2.12 2.12-1.06-1.06zM4.5 9c.03 0 .05.01.08.01A8.002 8.002 0 0112 4c2.19 0 4.16.88 5.61 2.3.15-.6.45-1.29.81-1.96A9.965 9.965 0 0011.99 2c-4.88 0-8.94 3.51-9.81 8.14C2.74 9.44 3.59 9 4.5 9zM21 10.5c-.42 0-.82-.09-1.19-.22.12.55.19 1.13.19 1.72 0 4.42-3.58 8-8 8-3.36 0-6.23-2.07-7.42-5.01-.03 0-.05.01-.08.01-.52 0-1.04-.14-1.5-.4-.32-.18-.59-.42-.82-.7.89 4.61 4.93 8.1 9.8 8.1C17.52 22 22 17.52 22 12c0-.55-.06-1.09-.14-1.62a3.5 3.5 0 01-.86.12zM21 3s-2 2.9-2 4 .9 2 2 2 2-.9 2-2-2-4-2-4zm-5.38 4.38L13.5 9.5l2.12 2.12 1.06-1.06-1.06-1.06 1.06-1.06-1.06-1.06zM8.56 17c.69-1.19 1.97-2 3.44-2s2.75.81 3.44 2h1.68c-.8-2.05-2.79-3.5-5.12-3.5-.87 0-1.7.2-2.43.57L5.99 12c0-.52-.26-1.02-.74-1.29-.72-.41-1.63-.17-2.05.55-.41.72-.17 1.63.55 2.05.48.28 1.05.25 1.49 0l2.97 1.72c-.57.53-1.03 1.21-1.33 1.97h1.68z" } }] })(t);
84
84
  }
85
85
  function y(t) {
86
- return n({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" } }] })(t);
86
+ return c({ tag: "svg", attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z" } }] })(t);
87
87
  }
88
88
  function b(t) {
89
- return n({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 64c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm192.81 248H304c8.84 0 16 7.16 16 16s-7.16 16-16 16h-47.19c-16.45 0-31.27-9.14-38.64-23.86-2.95-5.92-8.09-6.52-10.17-6.52s-7.22.59-10.02 6.19l-7.67 15.34a15.986 15.986 0 0 1-14.31 8.84c-.38 0-.75-.02-1.14-.05-6.45-.45-12-4.75-14.03-10.89L144 354.59l-10.61 31.88c-5.89 17.66-22.38 29.53-41 29.53H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h12.39c4.83 0 9.11-3.08 10.64-7.66l18.19-54.64c3.3-9.81 12.44-16.41 22.78-16.41s19.48 6.59 22.77 16.41l13.88 41.64c19.77-16.19 54.05-9.7 66 14.16 2.02 4.06 5.96 6.5 10.16 6.5zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z" } }] })(t);
89
+ return c({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z" } }] })(t);
90
+ }
91
+ function B(t) {
92
+ return c({ tag: "svg", attr: { viewBox: "0 0 384 512" }, child: [{ tag: "path", attr: { d: "M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 64c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16zm192.81 248H304c8.84 0 16 7.16 16 16s-7.16 16-16 16h-47.19c-16.45 0-31.27-9.14-38.64-23.86-2.95-5.92-8.09-6.52-10.17-6.52s-7.22.59-10.02 6.19l-7.67 15.34a15.986 15.986 0 0 1-14.31 8.84c-.38 0-.75-.02-1.14-.05-6.45-.45-12-4.75-14.03-10.89L144 354.59l-10.61 31.88c-5.89 17.66-22.38 29.53-41 29.53H80c-8.84 0-16-7.16-16-16s7.16-16 16-16h12.39c4.83 0 9.11-3.08 10.64-7.66l18.19-54.64c3.3-9.81 12.44-16.41 22.78-16.41s19.48 6.59 22.77 16.41l13.88 41.64c19.77-16.19 54.05-9.7 66 14.16 2.02 4.06 5.96 6.5 10.16 6.5zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z" } }] })(t);
90
93
  }
91
94
  function O(t) {
92
- return n({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M488 192H336v56c0 39.7-32.3 72-72 72s-72-32.3-72-72V126.4l-64.9 39C107.8 176.9 96 197.8 96 220.2v47.3l-80 46.2C.7 322.5-4.6 342.1 4.3 357.4l80 138.6c8.8 15.3 28.4 20.5 43.7 11.7L231.4 448H368c35.3 0 64-28.7 64-64h16c17.7 0 32-14.3 32-32v-64h8c13.3 0 24-10.7 24-24v-48c0-13.3-10.7-24-24-24zm147.7-37.4L555.7 16C546.9.7 527.3-4.5 512 4.3L408.6 64H306.4c-12 0-23.7 3.4-33.9 9.7L239 94.6c-9.4 5.8-15 16.1-15 27.1V248c0 22.1 17.9 40 40 40s40-17.9 40-40v-88h184c30.9 0 56 25.1 56 56v28.5l80-46.2c15.3-8.9 20.5-28.4 11.7-43.7z" } }] })(t);
95
+ return c({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M488 192H336v56c0 39.7-32.3 72-72 72s-72-32.3-72-72V126.4l-64.9 39C107.8 176.9 96 197.8 96 220.2v47.3l-80 46.2C.7 322.5-4.6 342.1 4.3 357.4l80 138.6c8.8 15.3 28.4 20.5 43.7 11.7L231.4 448H368c35.3 0 64-28.7 64-64h16c17.7 0 32-14.3 32-32v-64h8c13.3 0 24-10.7 24-24v-48c0-13.3-10.7-24-24-24zm147.7-37.4L555.7 16C546.9.7 527.3-4.5 512 4.3L408.6 64H306.4c-12 0-23.7 3.4-33.9 9.7L239 94.6c-9.4 5.8-15 16.1-15 27.1V248c0 22.1 17.9 40 40 40s40-17.9 40-40v-88h184c30.9 0 56 25.1 56 56v28.5l80-46.2c15.3-8.9 20.5-28.4 11.7-43.7z" } }] })(t);
96
+ }
97
+ function _(t) {
98
+ return c({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z" } }] })(t);
93
99
  }
94
100
  export {
95
101
  O as F,
96
- n as G,
102
+ c as G,
97
103
  V as M,
98
104
  C as a,
99
105
  m as b,
100
106
  p as c,
101
- x as d,
102
- b as e,
107
+ L as d,
108
+ B as e,
103
109
  H as f,
104
110
  y as g,
105
- L as h,
106
- w as i
111
+ x as h,
112
+ w as i,
113
+ _ as j,
114
+ b as k
107
115
  };
@@ -11,14 +11,14 @@ import { HeadingNode as ae, QuoteNode as le, $isHeadingNode as se, $createHeadin
11
11
  import { TableNode as ue, TableRowNode as he, TableCellNode as pe, $getTableCellNodeFromLexicalNode as ge, $deleteTableColumn__EXPERIMENTAL as fe, $deleteTableRow__EXPERIMENTAL as me, $insertTableColumn__EXPERIMENTAL as st, $insertTableRow__EXPERIMENTAL as ct } from "@lexical/table";
12
12
  import { jsx as n, jsxs as m, Fragment as Y } from "react/jsx-runtime";
13
13
  import { createContext as ke, useState as b, useRef as et, useCallback as v, useContext as be, useEffect as N, useMemo as Mt, useLayoutEffect as ve } from "react";
14
- import { c as O, s as Lt, D as Tt, T as Ce, a as M, B as P, b as Nt, d as _, u as rt, e as yt, f as Me, g as Le, o as xt, h as Te, i as Et, j as St, F as wt, O as Rt, k as Ne, l as ye, S as xe, m as $, n as I, p as dt, q as Ee, N as Se, r as ut, t as we, v as It, C as Re, w as Ie, x as _e } from "./TextInput-832f6509.js";
14
+ import { c as O, s as Lt, D as Tt, T as Ce, a as M, B as P, b as Nt, d as _, u as rt, e as yt, f as Me, g as Le, o as xt, h as Te, i as Et, j as St, F as wt, O as Rt, k as Ne, l as ye, S as xe, m as $, n as I, p as dt, q as Ee, N as Se, r as ut, t as we, v as It, C as Re, w as Ie, x as _e } from "./Checkbox-b2f5ecad.js";
15
15
  import "react-select";
16
16
  import { LexicalComposer as ze } from "@lexical/react/LexicalComposer.js";
17
17
  import { RichTextPlugin as $e } from "@lexical/react/LexicalRichTextPlugin.js";
18
18
  import Oe from "@lexical/react/LexicalErrorBoundary.js";
19
19
  import { useLexicalComposerContext as y } from "@lexical/react/LexicalComposerContext.js";
20
20
  import { $getNearestNodeOfType as De, $findMatchingParent as _t, mergeRegister as nt, isHTMLElement as ht } from "@lexical/utils";
21
- import { G as p, f as Be } from "./index.esm-b848a615.js";
21
+ import { G as p, f as Be } from "./index.esm-3266b7f8.js";
22
22
  import { ListPlugin as Ae } from "@lexical/react/LexicalListPlugin.js";
23
23
  import { HistoryPlugin as Pe } from "@lexical/react/LexicalHistoryPlugin.js";
24
24
  import { TablePlugin as Fe } from "@lexical/react/LexicalTablePlugin.js";
@@ -27,6 +27,7 @@ import "react-dom";
27
27
  import "@radix-ui/react-toolbar";
28
28
  import "@radix-ui/react-dialog";
29
29
  import "@radix-ui/react-dropdown-menu";
30
+ import "@radix-ui/react-checkbox";
30
31
  const We = ({
31
32
  text: t,
32
33
  maxChars: e,
@@ -75,7 +76,7 @@ const We = ({
75
76
  tag: r
76
77
  }
77
78
  ), e.blur();
78
- }, dn = (t, e, r) => {
79
+ }, un = (t, e, r) => {
79
80
  let o = 0;
80
81
  const i = Wt({
81
82
  nodes: e,
@@ -104,7 +105,7 @@ const We = ({
104
105
  return i.update(() => {
105
106
  l = Ut(i);
106
107
  }), { html: l, trimCount: o };
107
- }, un = [
108
+ }, hn = [
108
109
  ae,
109
110
  le,
110
111
  vt,
@@ -702,7 +703,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
702
703
  },
703
704
  children: /* @__PURE__ */ n(xe, {})
704
705
  }
705
- ), hn = ({
706
+ ), pn = ({
706
707
  isLoading: t,
707
708
  children: e,
708
709
  placeholderText: r,
@@ -773,7 +774,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
773
774
  ]
774
775
  }
775
776
  ) });
776
- }, pn = O({
777
+ }, gn = O({
777
778
  fontSize: "1rem",
778
779
  lineHeight: "1.5",
779
780
  "h1, h2, h3, h4, h5, h6": {
@@ -948,7 +949,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
948
949
  function Ir(t) {
949
950
  return p({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "circle", attr: { cx: "256", cy: "256", r: "48" } }, { tag: "circle", attr: { cx: "416", cy: "256", r: "48" } }, { tag: "circle", attr: { cx: "96", cy: "256", r: "48" } }] })(t);
950
951
  }
951
- const gn = () => {
952
+ const fn = () => {
952
953
  const [t] = y(), [e, r] = b(null), { hasFocus: o } = ot();
953
954
  N(() => {
954
955
  !o && e && r(null);
@@ -1034,7 +1035,7 @@ function At(t) {
1034
1035
  const e = t.anchor, r = t.focus, o = t.anchor.getNode(), i = t.focus.getNode();
1035
1036
  return o === i ? o : t.isBackward() ? lt(r) ? o : i : lt(e) ? o : i;
1036
1037
  }
1037
- const fn = (t) => (R.baseURL = t, R), U = class extends bt {
1038
+ const mn = (t) => (R.baseURL = t, R), U = class extends bt {
1038
1039
  static getType() {
1039
1040
  return "rutine_link";
1040
1041
  }
@@ -1146,7 +1147,7 @@ const zr = ({ onClose: t }) => {
1146
1147
  o === "url" && /* @__PURE__ */ n(zr, { onClose: l }),
1147
1148
  o === "rutine" && /* @__PURE__ */ n($r, { onClose: l, getDocs: r })
1148
1149
  ] });
1149
- }, mn = ({ getDocs: t }) => {
1150
+ }, kn = ({ getDocs: t }) => {
1150
1151
  const [e] = y(), [r, o] = b(!1), [i, l] = b(!1), a = v(() => {
1151
1152
  const s = L();
1152
1153
  if (T(s)) {
@@ -1179,7 +1180,7 @@ const zr = ({ onClose: t }) => {
1179
1180
  }
1180
1181
  )
1181
1182
  ] });
1182
- }, kn = () => {
1183
+ }, bn = () => {
1183
1184
  const [t] = y(), e = et(null), [r, o] = b(null), [i, l] = b(""), { hasFocus: a } = ot();
1184
1185
  N(() => {
1185
1186
  r ? t.update(() => {
@@ -1279,21 +1280,21 @@ export {
1279
1280
  Pt as $createRutineLinkNode,
1280
1281
  _r as $isRutineLinkNode,
1281
1282
  Lr as FloatingToolbar,
1282
- kn as LinkEditPlugin,
1283
- mn as LinkToolbarButton,
1284
- hn as RichTextEditor,
1283
+ bn as LinkEditPlugin,
1284
+ kn as LinkToolbarButton,
1285
+ pn as RichTextEditor,
1285
1286
  Tr as RichTextToolbar,
1286
1287
  R as RutineLinkNode,
1287
- fn as RutineLinkNodeInit,
1288
- gn as TableEditPlugin,
1288
+ mn as RutineLinkNodeInit,
1289
+ fn as TableEditPlugin,
1289
1290
  Ke as clearEditorState,
1290
- un as defaultNodes,
1291
+ hn as defaultNodes,
1291
1292
  je as isEditorState,
1292
1293
  zt as isJSON,
1293
1294
  $t as richTextContext,
1294
- pn as richTextCss,
1295
+ gn as richTextCss,
1295
1296
  Ye as setStateFromPlainText,
1296
- dn as stateToHTML,
1297
+ un as stateToHTML,
1297
1298
  Ze as useHasFocusWithin,
1298
1299
  ot as useRichTextContext
1299
1300
  };
@@ -0,0 +1,241 @@
1
+ import * as RCheckbox from "@radix-ui/react-checkbox";
2
+ import { type ComponentProps } from "react";
3
+ declare const Root: import("@stitches/react/types/styled-component").StyledComponent<import("react").ForwardRefExoticComponent<RCheckbox.CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>, {
4
+ size?: "sm" | "md" | "lg" | undefined;
5
+ }, {
6
+ lg: "(min-width: 1200px)";
7
+ print: "print";
8
+ }, import("@stitches/react/types/css-util").CSS<{
9
+ lg: "(min-width: 1200px)";
10
+ print: "print";
11
+ }, {
12
+ colors: {
13
+ gray50: string;
14
+ gray100: string;
15
+ gray200: string;
16
+ gray300: string;
17
+ gray400: string;
18
+ gray500: string;
19
+ gray600: string;
20
+ gray700: string;
21
+ gray800: string;
22
+ gray900: string;
23
+ blue50: string;
24
+ blue100: string;
25
+ blue200: string;
26
+ blue300: string;
27
+ blue400: string;
28
+ blue500: string;
29
+ blue600: string;
30
+ blue700: string;
31
+ blue800: string;
32
+ blue900: string;
33
+ yellow50: string;
34
+ yellow100: string;
35
+ yellow200: string;
36
+ yellow300: string;
37
+ yellow400: string;
38
+ yellow500: string;
39
+ yellow600: string;
40
+ yellow700: string;
41
+ yellow800: string;
42
+ yellow900: string;
43
+ orange500: string;
44
+ red50: string;
45
+ red100: string;
46
+ red200: string;
47
+ red300: string;
48
+ red400: string;
49
+ red500: string;
50
+ red600: string;
51
+ red700: string;
52
+ red800: string;
53
+ red900: string;
54
+ green50: string;
55
+ green100: string;
56
+ green200: string;
57
+ green300: string;
58
+ green400: string;
59
+ green500: string;
60
+ green600: string;
61
+ green700: string;
62
+ green800: string;
63
+ green900: string;
64
+ primaryTextOnLightBg: string;
65
+ primaryBg: string;
66
+ primaryBgHover: string;
67
+ primaryTextOnWhite: string;
68
+ bodyGray: string;
69
+ hoverDarker: string;
70
+ borderDarker: string;
71
+ selectedDarker: string;
72
+ selectedOnBodyGray: string;
73
+ darkGrayBg: string;
74
+ border: string;
75
+ text: string;
76
+ secondaryText: string;
77
+ focusRing: string;
78
+ };
79
+ fontSizes: {
80
+ xs: string;
81
+ sm: string;
82
+ md: string;
83
+ lg: string;
84
+ xl: string;
85
+ "2xl": string;
86
+ "3xl": string;
87
+ };
88
+ fontWeights: {
89
+ normal: string;
90
+ medium: string;
91
+ bold: string;
92
+ };
93
+ space: {
94
+ 1: string;
95
+ 2: string;
96
+ 3: string;
97
+ 4: string;
98
+ 6: string;
99
+ 8: string;
100
+ };
101
+ shadows: {
102
+ xs: string;
103
+ sm: string;
104
+ md: string;
105
+ lg: string;
106
+ overlayCard: string;
107
+ };
108
+ radii: {
109
+ xs: string;
110
+ sm: string;
111
+ md: string;
112
+ mdmd: string;
113
+ full: string;
114
+ };
115
+ zIndices: {
116
+ toast: number;
117
+ overlayCard: number;
118
+ };
119
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}>>;
120
+ export declare const Checkbox: ({ id, size, label, ...props }: {
121
+ label?: string | undefined;
122
+ } & Omit<RCheckbox.CheckboxProps & import("react").RefAttributes<HTMLButtonElement>, "css" | "size"> & import("@stitches/react/types/styled-component").TransformProps<{
123
+ size?: "sm" | "md" | "lg" | undefined;
124
+ }, {
125
+ lg: "(min-width: 1200px)";
126
+ print: "print";
127
+ }> & {
128
+ css?: import("@stitches/react/types/css-util").CSS<{
129
+ lg: "(min-width: 1200px)";
130
+ print: "print";
131
+ }, {
132
+ colors: {
133
+ gray50: string;
134
+ gray100: string;
135
+ gray200: string;
136
+ gray300: string;
137
+ gray400: string;
138
+ gray500: string;
139
+ gray600: string;
140
+ gray700: string;
141
+ gray800: string;
142
+ gray900: string;
143
+ blue50: string;
144
+ blue100: string;
145
+ blue200: string;
146
+ blue300: string;
147
+ blue400: string;
148
+ blue500: string;
149
+ blue600: string;
150
+ blue700: string;
151
+ blue800: string;
152
+ blue900: string;
153
+ yellow50: string;
154
+ yellow100: string;
155
+ yellow200: string;
156
+ yellow300: string;
157
+ yellow400: string;
158
+ yellow500: string;
159
+ yellow600: string;
160
+ yellow700: string;
161
+ yellow800: string;
162
+ yellow900: string;
163
+ orange500: string;
164
+ red50: string;
165
+ red100: string;
166
+ red200: string;
167
+ red300: string;
168
+ red400: string;
169
+ red500: string;
170
+ red600: string;
171
+ red700: string;
172
+ red800: string;
173
+ red900: string;
174
+ green50: string;
175
+ green100: string;
176
+ green200: string;
177
+ green300: string;
178
+ green400: string;
179
+ green500: string;
180
+ green600: string;
181
+ green700: string;
182
+ green800: string;
183
+ green900: string;
184
+ primaryTextOnLightBg: string;
185
+ primaryBg: string;
186
+ primaryBgHover: string;
187
+ primaryTextOnWhite: string;
188
+ bodyGray: string;
189
+ hoverDarker: string;
190
+ borderDarker: string;
191
+ selectedDarker: string;
192
+ selectedOnBodyGray: string;
193
+ darkGrayBg: string;
194
+ border: string;
195
+ text: string;
196
+ secondaryText: string;
197
+ focusRing: string;
198
+ };
199
+ fontSizes: {
200
+ xs: string;
201
+ sm: string;
202
+ md: string;
203
+ lg: string;
204
+ xl: string;
205
+ "2xl": string;
206
+ "3xl": string;
207
+ };
208
+ fontWeights: {
209
+ normal: string;
210
+ medium: string;
211
+ bold: string;
212
+ };
213
+ space: {
214
+ 1: string;
215
+ 2: string;
216
+ 3: string;
217
+ 4: string;
218
+ 6: string;
219
+ 8: string;
220
+ };
221
+ shadows: {
222
+ xs: string;
223
+ sm: string;
224
+ md: string;
225
+ lg: string;
226
+ overlayCard: string;
227
+ };
228
+ radii: {
229
+ xs: string;
230
+ sm: string;
231
+ md: string;
232
+ mdmd: string;
233
+ full: string;
234
+ };
235
+ zIndices: {
236
+ toast: number;
237
+ overlayCard: number;
238
+ };
239
+ }, import("@stitches/react/types/config").DefaultThemeMap, {}> | undefined;
240
+ }) => JSX.Element;
241
+ export {};
package/dist/ui/ui.d.ts CHANGED
@@ -16,3 +16,4 @@ export * from './components/Menu/DropdownMenu';
16
16
  export * from './components/Form/Combobox';
17
17
  export * from './components/Form/Select';
18
18
  export * from './components/Form/TextInput';
19
+ export * from './components/Form/Checkbox';
package/dist/ui.es.js CHANGED
@@ -1,14 +1,15 @@
1
- import { P as t, y as n, z as l, R as p } from "./TextInput-832f6509.js";
2
- import { H as B, I as M, B as y, m as h, J as w, K as O, C as P, q as k, v as A, L as N, D as $, U as j, a as z, n as G, p as H, M as R, N as q, r as E, O as J, S as K, t as L, k as Q, T as U, l as F, b as V, d as W, c as X, G as Y, E as Z, A as _, Q as oo, s as ao } from "./TextInput-832f6509.js";
1
+ import { P as t, y as n, z as l, R as p } from "./Checkbox-b2f5ecad.js";
2
+ import { H as M, I as h, B as y, m as k, J as w, K as O, V as P, C as A, q as N, v as $, L as j, D as z, U as G, a as H, n as R, p as q, M as E, N as J, r as K, O as L, S as Q, t as U, k as V, T as F, l as W, b as X, d as Y, c as Z, G as _, E as oo, A as ao, Q as eo, s as so } from "./Checkbox-b2f5ecad.js";
3
3
  import { jsxs as i, jsx as e } from "react/jsx-runtime";
4
4
  import { useState as m } from "react";
5
5
  import "react-dom";
6
6
  import "@radix-ui/react-toolbar";
7
- import "./index.esm-b848a615.js";
7
+ import "./index.esm-3266b7f8.js";
8
8
  import "@radix-ui/react-dialog";
9
9
  import "@radix-ui/react-dropdown-menu";
10
10
  import "react-select";
11
- const x = ({ children: o, content: a }) => {
11
+ import "@radix-ui/react-checkbox";
12
+ const I = ({ children: o, content: a }) => {
12
13
  const [s, r] = m(!1);
13
14
  return /* @__PURE__ */ i(
14
15
  t,
@@ -32,7 +33,7 @@ const x = ({ children: o, content: a }) => {
32
33
  ]
33
34
  }
34
35
  );
35
- }, I = ({ clearable: o, ...a }) => /* @__PURE__ */ e(
36
+ }, S = ({ clearable: o, ...a }) => /* @__PURE__ */ e(
36
37
  p,
37
38
  {
38
39
  ...a,
@@ -42,41 +43,42 @@ const x = ({ children: o, content: a }) => {
42
43
  }
43
44
  );
44
45
  export {
45
- B as Alert,
46
- M as Badge,
46
+ M as Alert,
47
+ h as Badge,
47
48
  y as Box,
48
- h as Button,
49
+ k as Button,
49
50
  w as ButtonInToolbar,
50
51
  O as Card,
51
- P as Combobox,
52
- k as Dialog,
53
- A as DialogActions,
54
- N as DialogHeader,
55
- $ as DropdownMenu,
56
- j as DropdownMenuCheckboxItem,
57
- z as DropdownMenuIconItem,
58
- G as DropdownMenuItem,
59
- H as DropdownMenuSeparator,
60
- R as MenuOverlayCard,
61
- q as NavBar,
62
- E as NavBarItem,
63
- J as OverlayCard,
52
+ P as Checkbox,
53
+ A as Combobox,
54
+ N as Dialog,
55
+ $ as DialogActions,
56
+ j as DialogHeader,
57
+ z as DropdownMenu,
58
+ G as DropdownMenuCheckboxItem,
59
+ H as DropdownMenuIconItem,
60
+ R as DropdownMenuItem,
61
+ q as DropdownMenuSeparator,
62
+ E as MenuOverlayCard,
63
+ J as NavBar,
64
+ K as NavBarItem,
65
+ L as OverlayCard,
64
66
  t as Popover,
65
67
  l as PopoverContent,
66
68
  n as PopoverTrigger,
67
- I as Select,
68
- K as Spinner,
69
- L as TextInput,
70
- Q as Toolbar,
71
- U as ToolbarButton,
72
- F as ToolbarSeparator,
73
- V as ToolbarToggleGroup,
74
- W as ToolbarToggleItem,
75
- x as Tooltip,
76
- X as css,
77
- Y as getCssText,
78
- Z as globalCss,
79
- _ as keyframes,
80
- oo as menuItemStyles,
81
- ao as styled
69
+ S as Select,
70
+ Q as Spinner,
71
+ U as TextInput,
72
+ V as Toolbar,
73
+ F as ToolbarButton,
74
+ W as ToolbarSeparator,
75
+ X as ToolbarToggleGroup,
76
+ Y as ToolbarToggleItem,
77
+ I as Tooltip,
78
+ Z as css,
79
+ _ as getCssText,
80
+ oo as globalCss,
81
+ ao as keyframes,
82
+ eo as menuItemStyles,
83
+ so as styled
82
84
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -80,6 +80,7 @@
80
80
  "@lexical/rich-text": "~0.12.0",
81
81
  "@lexical/selection": "~0.12.0",
82
82
  "@lexical/table": "~0.12.0",
83
+ "@radix-ui/react-checkbox": "^1.0.4",
83
84
  "@radix-ui/react-dialog": "^1.0.5",
84
85
  "@radix-ui/react-dropdown-menu": "^2.0.6",
85
86
  "@radix-ui/react-toolbar": "^1.0.4",