@arkitektbedriftene/fe-lib 0.4.9 → 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,21 +11,23 @@ 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-c4d1672c.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";
25
25
  import { TabIndentationPlugin as He } from "@lexical/react/LexicalTabIndentationPlugin.js";
26
26
  import "react-dom";
27
27
  import "@radix-ui/react-toolbar";
28
+ import "@radix-ui/react-dialog";
28
29
  import "@radix-ui/react-dropdown-menu";
30
+ import "@radix-ui/react-checkbox";
29
31
  const We = ({
30
32
  text: t,
31
33
  maxChars: e,
@@ -74,7 +76,7 @@ const We = ({
74
76
  tag: r
75
77
  }
76
78
  ), e.blur();
77
- }, cn = (t, e, r) => {
79
+ }, un = (t, e, r) => {
78
80
  let o = 0;
79
81
  const i = Wt({
80
82
  nodes: e,
@@ -103,7 +105,7 @@ const We = ({
103
105
  return i.update(() => {
104
106
  l = Ut(i);
105
107
  }), { html: l, trimCount: o };
106
- }, dn = [
108
+ }, hn = [
107
109
  ae,
108
110
  le,
109
111
  vt,
@@ -701,7 +703,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
701
703
  },
702
704
  children: /* @__PURE__ */ n(xe, {})
703
705
  }
704
- ), un = ({
706
+ ), pn = ({
705
707
  isLoading: t,
706
708
  children: e,
707
709
  placeholderText: r,
@@ -772,7 +774,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
772
774
  ]
773
775
  }
774
776
  ) });
775
- }, hn = O({
777
+ }, gn = O({
776
778
  fontSize: "1rem",
777
779
  lineHeight: "1.5",
778
780
  "h1, h2, h3, h4, h5, h6": {
@@ -947,7 +949,7 @@ const Er = () => /* @__PURE__ */ m(Y, { children: [
947
949
  function Ir(t) {
948
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);
949
951
  }
950
- const pn = () => {
952
+ const fn = () => {
951
953
  const [t] = y(), [e, r] = b(null), { hasFocus: o } = ot();
952
954
  N(() => {
953
955
  !o && e && r(null);
@@ -1033,7 +1035,7 @@ function At(t) {
1033
1035
  const e = t.anchor, r = t.focus, o = t.anchor.getNode(), i = t.focus.getNode();
1034
1036
  return o === i ? o : t.isBackward() ? lt(r) ? o : i : lt(e) ? o : i;
1035
1037
  }
1036
- const gn = (t) => (R.baseURL = t, R), U = class extends bt {
1038
+ const mn = (t) => (R.baseURL = t, R), U = class extends bt {
1037
1039
  static getType() {
1038
1040
  return "rutine_link";
1039
1041
  }
@@ -1145,7 +1147,7 @@ const zr = ({ onClose: t }) => {
1145
1147
  o === "url" && /* @__PURE__ */ n(zr, { onClose: l }),
1146
1148
  o === "rutine" && /* @__PURE__ */ n($r, { onClose: l, getDocs: r })
1147
1149
  ] });
1148
- }, fn = ({ getDocs: t }) => {
1150
+ }, kn = ({ getDocs: t }) => {
1149
1151
  const [e] = y(), [r, o] = b(!1), [i, l] = b(!1), a = v(() => {
1150
1152
  const s = L();
1151
1153
  if (T(s)) {
@@ -1178,7 +1180,7 @@ const zr = ({ onClose: t }) => {
1178
1180
  }
1179
1181
  )
1180
1182
  ] });
1181
- }, mn = () => {
1183
+ }, bn = () => {
1182
1184
  const [t] = y(), e = et(null), [r, o] = b(null), [i, l] = b(""), { hasFocus: a } = ot();
1183
1185
  N(() => {
1184
1186
  r ? t.update(() => {
@@ -1278,21 +1280,21 @@ export {
1278
1280
  Pt as $createRutineLinkNode,
1279
1281
  _r as $isRutineLinkNode,
1280
1282
  Lr as FloatingToolbar,
1281
- mn as LinkEditPlugin,
1282
- fn as LinkToolbarButton,
1283
- un as RichTextEditor,
1283
+ bn as LinkEditPlugin,
1284
+ kn as LinkToolbarButton,
1285
+ pn as RichTextEditor,
1284
1286
  Tr as RichTextToolbar,
1285
1287
  R as RutineLinkNode,
1286
- gn as RutineLinkNodeInit,
1287
- pn as TableEditPlugin,
1288
+ mn as RutineLinkNodeInit,
1289
+ fn as TableEditPlugin,
1288
1290
  Ke as clearEditorState,
1289
- dn as defaultNodes,
1291
+ hn as defaultNodes,
1290
1292
  je as isEditorState,
1291
1293
  zt as isJSON,
1292
1294
  $t as richTextContext,
1293
- hn as richTextCss,
1295
+ gn as richTextCss,
1294
1296
  Ye as setStateFromPlainText,
1295
- cn as stateToHTML,
1297
+ un as stateToHTML,
1296
1298
  Ze as useHasFocusWithin,
1297
1299
  ot as useRichTextContext
1298
1300
  };
@@ -1,9 +1,10 @@
1
- import { type ReactNode } from "react";
2
- export declare const Dialog: ({ children, open, onOpenChange, ...props }: {
1
+ import type { ReactNode } from "react";
2
+ export declare const Dialog: ({ children, open, onOpenChange, trigger, }: {
3
3
  children: ReactNode;
4
4
  open: boolean;
5
5
  onOpenChange: (bool: boolean) => void;
6
- }) => import("react").ReactPortal | null;
6
+ trigger?: ReactNode;
7
+ }) => JSX.Element;
7
8
  export declare const DialogHeader: import("@stitches/react/types/styled-component").StyledComponent<"h2", {}, {
8
9
  lg: "(min-width: 1200px)";
9
10
  print: "print";
@@ -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,13 +1,15 @@
1
- import { P as t, y as n, z as l, R as p } from "./TextInput-c4d1672c.js";
2
- import { H as D, I as B, B as M, m as y, J as h, K as w, C as O, q as P, v as k, L as A, D as N, U as $, a as j, n as z, p as G, M as H, N as R, r as q, O as E, S as J, t as K, k as L, T as Q, l as U, b as F, d as V, c as W, G as X, E as Y, A as Z, Q as _, s as oo } from "./TextInput-c4d1672c.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
+ import "@radix-ui/react-dialog";
8
9
  import "@radix-ui/react-dropdown-menu";
9
10
  import "react-select";
10
- const v = ({ children: o, content: a }) => {
11
+ import "@radix-ui/react-checkbox";
12
+ const I = ({ children: o, content: a }) => {
11
13
  const [s, r] = m(!1);
12
14
  return /* @__PURE__ */ i(
13
15
  t,
@@ -31,7 +33,7 @@ const v = ({ children: o, content: a }) => {
31
33
  ]
32
34
  }
33
35
  );
34
- }, x = ({ clearable: o, ...a }) => /* @__PURE__ */ e(
36
+ }, S = ({ clearable: o, ...a }) => /* @__PURE__ */ e(
35
37
  p,
36
38
  {
37
39
  ...a,
@@ -41,41 +43,42 @@ const v = ({ children: o, content: a }) => {
41
43
  }
42
44
  );
43
45
  export {
44
- D as Alert,
45
- B as Badge,
46
- M as Box,
47
- y as Button,
48
- h as ButtonInToolbar,
49
- w as Card,
50
- O as Combobox,
51
- P as Dialog,
52
- k as DialogActions,
53
- A as DialogHeader,
54
- N as DropdownMenu,
55
- $ as DropdownMenuCheckboxItem,
56
- j as DropdownMenuIconItem,
57
- z as DropdownMenuItem,
58
- G as DropdownMenuSeparator,
59
- H as MenuOverlayCard,
60
- R as NavBar,
61
- q as NavBarItem,
62
- E as OverlayCard,
46
+ M as Alert,
47
+ h as Badge,
48
+ y as Box,
49
+ k as Button,
50
+ w as ButtonInToolbar,
51
+ O as Card,
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,
63
66
  t as Popover,
64
67
  l as PopoverContent,
65
68
  n as PopoverTrigger,
66
- x as Select,
67
- J as Spinner,
68
- K as TextInput,
69
- L as Toolbar,
70
- Q as ToolbarButton,
71
- U as ToolbarSeparator,
72
- F as ToolbarToggleGroup,
73
- V as ToolbarToggleItem,
74
- v as Tooltip,
75
- W as css,
76
- X as getCssText,
77
- Y as globalCss,
78
- Z as keyframes,
79
- _ as menuItemStyles,
80
- oo 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
81
84
  };