timvir 0.2.2 → 0.2.3

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.
@@ -41,11 +41,9 @@ const cx = function cx() {
41
41
  result.push(atomicClasses[keyHash]);
42
42
  }
43
43
  }
44
-
45
44
  result.push(...nonAtomicClasses);
46
45
  return result.join(' ');
47
46
  };
48
-
49
47
  var cx$1 = cx;
50
48
 
51
49
  const bytesToHex = (() => {
@@ -54,67 +52,53 @@ const bytesToHex = (() => {
54
52
  }).map((_, i) => i.toString(16).padStart(2, "0"));
55
53
  return uint8a => [...uint8a].map(o => s[o]).join("");
56
54
  })();
57
-
58
55
  const alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
59
56
  function encode(input) {
60
57
  if (input.length === 0) {
61
58
  return "";
62
- } // Uint8Array -> BigInt (Big Endian)
63
-
64
-
59
+ }
60
+ // Uint8Array -> BigInt (Big Endian)
65
61
  let x = BigInt("0x" + bytesToHex(input));
66
62
  const output = [];
67
-
68
63
  while (x > 0n) {
69
64
  const mod = x % 58n;
70
65
  x = x / 58n;
71
66
  output.push(alphabet[Number(mod)]);
72
67
  }
73
-
74
68
  for (let i = 0; input[i] === 0; i++) {
75
69
  output.push(alphabet[0]);
76
70
  }
77
-
78
71
  return output.reverse().join("");
79
72
  }
80
73
  function decode(output) {
81
74
  if (output.length === 0) {
82
75
  return new Uint8Array();
83
76
  }
84
-
85
77
  const bytes = [0];
86
78
  const letters = alphabet;
87
-
88
79
  for (const char of output) {
89
80
  const value = letters.indexOf(char);
90
-
91
81
  if (value === undefined) {
92
82
  throw new Error(`base58.decode received invalid input. Character '${char}' is not in the base58 alphabet.`);
93
83
  }
94
-
95
84
  for (let j = 0; j < bytes.length; j++) {
96
85
  bytes[j] *= 58;
97
86
  }
98
-
99
87
  bytes[0] += value;
100
88
  let carry = 0;
101
-
102
89
  for (let j = 0; j < bytes.length; j++) {
103
90
  bytes[j] += carry;
104
91
  carry = bytes[j] >> 8;
105
92
  bytes[j] &= 0xff;
106
93
  }
107
-
108
94
  while (carry > 0) {
109
95
  bytes.push(carry & 0xff);
110
96
  carry >>= 8;
111
97
  }
112
98
  }
113
-
114
99
  for (let i = 0; i < output.length && output[i] === "1"; i++) {
115
100
  bytes.push(0);
116
101
  }
117
-
118
102
  return new Uint8Array(bytes.reverse());
119
103
  }
120
104
 
@@ -126,9 +110,7 @@ const useContext = () => React.useContext(Context);
126
110
  /**
127
111
  * The underlying DOM element which is rendered by this component.
128
112
  */
129
-
130
113
  const Root = "div";
131
-
132
114
  function Arbitrary(props, ref) {
133
115
  const block = useBlock(props);
134
116
  const {
@@ -188,10 +170,10 @@ function Arbitrary(props, ref) {
188
170
  draft.seed = crypto.getRandomValues(new Uint32Array(1))[0];
189
171
  });
190
172
  }
191
- }, "Refresh")), /*#__PURE__*/React.createElement(Exhibit, { ...ExhibitProps
173
+ }, "Refresh")), /*#__PURE__*/React.createElement(Exhibit, {
174
+ ...ExhibitProps
192
175
  }, children)));
193
176
  }
194
-
195
177
  var Arbitrary$1 = /*#__PURE__*/React.forwardRef(Arbitrary);
196
178
  const classes = {
197
179
  root: "r1ev38xg",
@@ -4,3 +4,4 @@
4
4
  .s1k50njo{display:inline-block;color:var(--timvir-secondary-text-color);margin-right:6px;}
5
5
  .i1dajnne{border:none;outline:none;font:inherit;background:transparent;align-self:stretch;padding:0;height:34px;width:100%;color:inherit;}
6
6
  .b128wsn{border:none;outline:none;height:36px;background:var(--timvir-accent-color);font:inherit;border-radius:2px;cursor:pointer;transition:background 0.2s;}.b128wsn:hover{background:var(--c-p-3);}.b128wsn:active{background:var(--c-p-4);}
7
+
@@ -43,11 +43,9 @@ const cx = function cx() {
43
43
  result.push(atomicClasses[keyHash]);
44
44
  }
45
45
  }
46
-
47
46
  result.push(...nonAtomicClasses);
48
47
  return result.join(' ');
49
48
  };
50
-
51
49
  var cx$1 = cx;
52
50
 
53
51
  var theme = "tac6gx6";
@@ -55,16 +53,15 @@ var theme = "tac6gx6";
55
53
  /**
56
54
  * This is documentation for the Code component.
57
55
  */
56
+
58
57
  /**
59
58
  * The underlying DOM element which is rendered by this component.
60
59
  */
61
-
62
60
  const Root = "div";
63
61
  const nullTheme = {
64
62
  plain: {},
65
63
  styles: []
66
64
  };
67
-
68
65
  function Code(props, ref) {
69
66
  const block = useBlock(props);
70
67
  const {
@@ -75,11 +72,9 @@ function Code(props, ref) {
75
72
  caption,
76
73
  ...rest
77
74
  } = block.props;
78
-
79
75
  const isHighlightedLine = (() => {
80
76
  return line => highlightedLines === null || highlightedLines === void 0 ? void 0 : highlightedLines.includes(line);
81
77
  })();
82
-
83
78
  const [state, mutate] = useImmer({
84
79
  mouseOver: false,
85
80
  copiedToClipboard: false
@@ -88,7 +83,8 @@ function Code(props, ref) {
88
83
  ref: ref,
89
84
  className: cx$1(classes.root, fullWidth && Page.fullWidth),
90
85
  ...rest
91
- }, /*#__PURE__*/React.createElement(Highlight, { ...defaultProps,
86
+ }, /*#__PURE__*/React.createElement(Highlight, {
87
+ ...defaultProps,
92
88
  code: children.trim(),
93
89
  language: language !== null && language !== void 0 ? language : "markup",
94
90
  theme: nullTheme
@@ -158,7 +154,6 @@ function Code(props, ref) {
158
154
  className: classes.caption
159
155
  }, caption));
160
156
  }
161
-
162
157
  var Code$1 = /*#__PURE__*/React.forwardRef(Code);
163
158
  const classes = {
164
159
  root: "r9v2r0l",
@@ -1,3 +1,5 @@
1
+ .tac6gx6{color:#393a34;background-color:#f6f8fa;}.tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}.tac6gx6 :is(.namespace){opacity:0.7;}.tac6gx6 :is(.string,.attr-value){color:#e3116c;}.tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}.tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}.tac6gx6 :is(.tag,.selector,.keyword){color:#00009f;}.tac6gx6 :is(.function-variable){color:#6f42c1;}.tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#00a4db;}.tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#36acaa;}:root[data-timvir-theme="dark"] .tac6gx6{color:#adbac7;background-color:#2d333b;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.namespace){opacity:0.7;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.string,.attr-value){color:#96d0ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.tag,.selector,.keyword){color:#8ddb8c;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function-variable){color:#6f42c1;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#f47067;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#dcbdfb;}
2
+
1
3
  .d1513p2s{display:grid;grid-template-columns:1fr;padding-block:16px;}
2
4
  .b157mkz{--size:48px;z-index:1;position:absolute;top:0;right:0;overflow:hidden;width:var(--size);height:var(--size);display:flex;align-items:flex-start;justify-content:flex-end;outline:none;border:none;padding:6px;background:transparent;transition:all 0.2s;cursor:pointer;pointer-events:none;opacity:0;}.b157mkz:hover{color:white;}.b157mkz:hover svg:first-child{transform:translate(0,0);}.b157mkz:active svg:first-child{transform:translate(2px,-2px);}
3
5
  .b10oxtfo{pointer-events:all;opacity:1;}
@@ -11,4 +13,4 @@
11
13
  .h1xcko1i{background-color:#ffe10044;}:root[data-timvir-theme="dark"] .h1xcko1i{background-color:rgba(174,124,20,0.15);}
12
14
  .ll2b9hx{display:inline-block;width:var(--timvir-b-Code-bleed);color:var(--timvir-secondary-text-color);text-align:right;padding-inline:4px;}
13
15
  .c5vr6r2{font-size:0.75rem;color:var(--timvir-secondary-text-color);margin-top:2px;}
14
- .tac6gx6{color:#393a34;background-color:#f6f8fa;}.tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}.tac6gx6 :is(.namespace){opacity:0.7;}.tac6gx6 :is(.string,.attr-value){color:#e3116c;}.tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}.tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}.tac6gx6 :is(.tag,.selector,.keyword){color:#00009f;}.tac6gx6 :is(.function-variable){color:#6f42c1;}.tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#00a4db;}.tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#36acaa;}:root[data-timvir-theme="dark"] .tac6gx6{color:#adbac7;background-color:#2d333b;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.comment,.prolog,.doctype,.cdata){color:#999988;font-style:italic;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.namespace){opacity:0.7;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.string,.attr-value){color:#96d0ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.punctuation,.operator){color:#6cb6ff;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function,.delete,.tag){color:#d73a49;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.tag,.selector,.keyword){color:#8ddb8c;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.function-variable){color:#6f42c1;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.atrule,.keyword,.attr-name,.selector){color:#f47067;}:root[data-timvir-theme="dark"] .tac6gx6 :is(.entity,.url,.symbol,.number,.boolean,.variable,.constant,.property,.regex,.inserted){color:#dcbdfb;}
16
+
@@ -40,22 +40,17 @@ const cx = function cx() {
40
40
  result.push(atomicClasses[keyHash]);
41
41
  }
42
42
  }
43
-
44
43
  result.push(...nonAtomicClasses);
45
44
  return result.join(' ');
46
45
  };
47
-
48
46
  var cx$1 = cx;
49
47
 
50
48
  /**
51
49
  * The underlying DOM element which is rendered by this component.
52
50
  */
53
-
54
51
  const Root = "div";
55
-
56
52
  function ColorBar(props, ref) {
57
53
  var _selected$value;
58
-
59
54
  const block = useBlock(props);
60
55
  const {
61
56
  values,
@@ -84,7 +79,8 @@ function ColorBar(props, ref) {
84
79
  }
85
80
  })))), /*#__PURE__*/React.createElement("div", {
86
81
  className: classes.overlay
87
- }, /*#__PURE__*/React.createElement(Swatch, { ...(typeof selected === "string" ? {
82
+ }, /*#__PURE__*/React.createElement(Swatch, {
83
+ ...(typeof selected === "string" ? {
88
84
  value: selected
89
85
  } : {
90
86
  value: (_selected$value = selected === null || selected === void 0 ? void 0 : selected.value) !== null && _selected$value !== void 0 ? _selected$value : ""
@@ -94,7 +90,6 @@ function ColorBar(props, ref) {
94
90
  }
95
91
  })));
96
92
  }
97
-
98
93
  var ColorBar$1 = /*#__PURE__*/React.forwardRef(ColorBar);
99
94
  const tweaks = {
100
95
  selected: "s4sqb81"
@@ -3,3 +3,4 @@
3
3
  .b15hqsfj{display:grid;grid-auto-flow:row;grid-template-columns:repeat(auto-fit,minmax(0,1fr));transition:all 0.16s;}.b15hqsfj::before{position:absolute;top:0;right:0;bottom:0;left:0;display:block;z-index:2;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.15);content:"";pointer-events:none;user-select:none;transition:all 0.16s;}.b15hqsfj:hover::before{opacity:0;}
4
4
  .v1uw85xw{height:40px;flex-grow:1;display:grid;place-items:stretch;}.v1uw85xw > div{transition:all 0.16s;cursor:pointer;}.v1uw85xw:first-child > div{border-radius:2px 0 0 2px;}.v1uw85xw:last-child > div{border-radius:0 2px 2px 0;}.v1uw85xw:hover{z-index:3;}.v1uw85xw:hover > div{border-radius:2px;margin:-3px 1px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);}
5
5
  .o1823law{position:absolute;top:50%;right:0px;left:0px;transform:translateY(-50%);pointer-events:none;opacity:0;z-index:4;transition:opacity 0.16s;}.s4sqb81 .o1823law{pointer-events:all;opacity:1;}
6
+
@@ -38,19 +38,15 @@ const cx = function cx() {
38
38
  result.push(atomicClasses[keyHash]);
39
39
  }
40
40
  }
41
-
42
41
  result.push(...nonAtomicClasses);
43
42
  return result.join(' ');
44
43
  };
45
-
46
44
  var cx$1 = cx;
47
45
 
48
46
  /**
49
47
  * The underlying DOM element which is rendered by this component.
50
48
  */
51
-
52
49
  const Root = "div";
53
-
54
50
  function ColorBook(props, ref) {
55
51
  const {
56
52
  chapters,
@@ -88,7 +84,6 @@ function ColorBook(props, ref) {
88
84
  className: cx$1("d1uopbb", i === selectedChapter && "d1vwzhoa")
89
85
  }, name))));
90
86
  }
91
-
92
87
  var ColorBook$1 = /*#__PURE__*/React.forwardRef(ColorBook);
93
88
  const chapter = "c1xqhu04";
94
89
  const activeChapter = "a1y0tcvx";
@@ -4,3 +4,4 @@
4
4
  .d1vwzhoa{color:var(--timvir-text-color);}
5
5
  .c1xqhu04{position:relative;cursor:pointer;display:flex;flex-direction:column;height:200px;}.c1xqhu04::before{position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;border-radius:4px;box-shadow:0 0 0 0 rgba(19,124,189,0);content:"";transition:all 0.16s cubic-bezier(0.4,1,0.75,0.9);}.c1xqhu04:hover::before{box-shadow:0 0 0 2px #00000040;opacity:1;}
6
6
  .a1y0tcvx:hover::before,.a1y0tcvx::before{box-shadow:0 0 0 2px var(--c-p-5);opacity:1;}
7
+
@@ -39,19 +39,15 @@ const cx = function cx() {
39
39
  result.push(atomicClasses[keyHash]);
40
40
  }
41
41
  }
42
-
43
42
  result.push(...nonAtomicClasses);
44
43
  return result.join(' ');
45
44
  };
46
-
47
45
  var cx$1 = cx;
48
46
 
49
47
  /**
50
48
  * The underlying DOM element which is rendered by this component.
51
49
  */
52
-
53
50
  const Root = "div";
54
-
55
51
  function Cover(props, ref) {
56
52
  const {
57
53
  metadata,
@@ -67,7 +63,8 @@ function Cover(props, ref) {
67
63
  }, /*#__PURE__*/React.createElement("picture", null, sources.map((p, i) => /*#__PURE__*/React.createElement("source", {
68
64
  key: i,
69
65
  ...p
70
- })), /*#__PURE__*/React.createElement("img", { ...metadata,
66
+ })), /*#__PURE__*/React.createElement("img", {
67
+ ...metadata,
71
68
  ...img,
72
69
  style: {
73
70
  display: "block",
@@ -77,7 +74,6 @@ function Cover(props, ref) {
77
74
  }
78
75
  })));
79
76
  }
80
-
81
77
  var Cover$1 = /*#__PURE__*/React.forwardRef(Cover);
82
78
 
83
79
  export { Cover$1 as Cover };
@@ -0,0 +1 @@
1
+
@@ -40,19 +40,15 @@ const cx = function cx() {
40
40
  result.push(atomicClasses[keyHash]);
41
41
  }
42
42
  }
43
-
44
43
  result.push(...nonAtomicClasses);
45
44
  return result.join(' ');
46
45
  };
47
-
48
46
  var cx$1 = cx;
49
47
 
50
48
  /**
51
49
  * The underlying DOM element which is rendered by this component.
52
50
  */
53
-
54
51
  const Root = "figure";
55
-
56
52
  function Exhibit(props, ref) {
57
53
  const block = useBlock(props);
58
54
  const components = {
@@ -72,7 +68,8 @@ function Exhibit(props, ref) {
72
68
  return /*#__PURE__*/React.createElement(React.Fragment, null, title && /*#__PURE__*/React.createElement(components.h3, null, title), /*#__PURE__*/React.createElement(Root, {
73
69
  ref: ref,
74
70
  className: cx$1(className, classes.root),
75
- style: { ...style,
71
+ style: {
72
+ ...style,
76
73
  [cssVariables.bleed]: typeof bleed === "number" ? `${bleed}px` : bleed
77
74
  },
78
75
  ...rest
@@ -86,7 +83,6 @@ function Exhibit(props, ref) {
86
83
  className: classes.caption
87
84
  }, caption)));
88
85
  }
89
-
90
86
  var Exhibit$1 = /*#__PURE__*/React.forwardRef(Exhibit);
91
87
  const cssVariables = {
92
88
  bleed: "--timvir-b-Exhibit-bleed",
@@ -1,3 +1,4 @@
1
1
  .r1nql2f9{margin:0 0 1.5rem;--timvir-b-Exhibit-bleed:0px;--timvir-b-Exhibit-borderColor:#EFEFEF;--timvir-b-Exhibit-background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAAF0lEQVQI12P4BAI/QICBFCaYBPNJYQIAkUZftTbC4sIAAAAASUVORK5CYII=);}:root[data-timvir-theme="dark"] .r1nql2f9{--timvir-b-Exhibit-borderColor:#101010;--timvir-b-Exhibit-background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAAAAACoWZBhAAAAFklEQVQI12NQBQF2EGAghQkmwXxSmADZJQiZ2ZZ46gAAAABJRU5ErkJggg==);}
2
2
  .c4ji594{display:flow-root;background:var(--timvir-b-Exhibit-background);margin:0 calc(-1 * var(--timvir-b-Exhibit-bleed));padding:var(--timvir-b-Exhibit-bleed);}
3
3
  .cf43jjx{font-size:0.75rem;color:var(--timvir-secondary-text-color);margin-top:2px;}
4
+
@@ -40,22 +40,18 @@ const cx = function cx() {
40
40
  result.push(atomicClasses[keyHash]);
41
41
  }
42
42
  }
43
-
44
43
  result.push(...nonAtomicClasses);
45
44
  return result.join(' ');
46
45
  };
47
-
48
46
  var cx$1 = cx;
49
47
 
50
48
  /**
51
49
  * The underlying DOM element which is rendered by this component.
52
50
  */
53
-
54
51
  const Root = "div";
55
52
  const classes = {
56
53
  meta: "mby32tn"
57
54
  };
58
-
59
55
  function Font(props, ref) {
60
56
  const components = {
61
57
  h3: "h3",
@@ -78,7 +74,6 @@ function Font(props, ref) {
78
74
  const intervalId = setInterval(() => {
79
75
  if (fontSizeRef) {
80
76
  const innerText = `${name} – ${Math.round(parseInt(computedStyle.fontSize))}px`;
81
-
82
77
  if (fontSizeRef.innerText !== innerText) {
83
78
  fontSizeRef.innerText = innerText;
84
79
  }
@@ -105,14 +100,17 @@ function Font(props, ref) {
105
100
  if (infoRef && contentRef) {
106
101
  // const contentParent = contentRef.parentElement;
107
102
  const infoParent = infoRef.parentElement;
108
-
109
103
  if (infoParent.style.height === "0px") {
110
104
  infoParent.style.height = `${infoRef.getBoundingClientRect().height}px`;
111
- infoParent.style.opacity = "1"; // contentParent.style.height = "0px";
105
+ infoParent.style.opacity = "1";
106
+
107
+ // contentParent.style.height = "0px";
112
108
  // contentParent.style.opacity = "0";
113
109
  } else {
114
110
  infoParent.style.height = "0px";
115
- infoParent.style.opacity = "0"; // contentParent.style.height = window.getComputedStyle(contentRef).height;
111
+ infoParent.style.opacity = "0";
112
+
113
+ // contentParent.style.height = window.getComputedStyle(contentRef).height;
116
114
  // contentParent.style.opacity = "1";
117
115
  }
118
116
  }
@@ -144,7 +142,6 @@ function Font(props, ref) {
144
142
  style: font.style
145
143
  }, children || "The quick brown fox jumps over the lazy dog"))));
146
144
  }
147
-
148
145
  var Font$1 = /*#__PURE__*/React.forwardRef(Font);
149
146
 
150
147
  export { Font$1 as Font };
@@ -7,3 +7,4 @@
7
7
  .ddlplux{padding:0 0 16px;display:flex;flex-direction:column;}
8
8
  .dw285p4{overflow:hidden;transition:height 0.2s,opacity 0.2s 0.1s;}
9
9
  .dx3nfmc{outline:none;user-select:text;white-space:pre-wrap;overflow-wrap:break-word;}
10
+
@@ -38,19 +38,15 @@ const cx = function cx() {
38
38
  result.push(atomicClasses[keyHash]);
39
39
  }
40
40
  }
41
-
42
41
  result.push(...nonAtomicClasses);
43
42
  return result.join(' ');
44
43
  };
45
-
46
44
  var cx$1 = cx;
47
45
 
48
46
  /**
49
47
  * The underlying DOM element which is rendered by this component.
50
48
  */
51
-
52
49
  const Root = "div";
53
-
54
50
  function Grid(props, ref) {
55
51
  const {
56
52
  children,
@@ -63,7 +59,6 @@ function Grid(props, ref) {
63
59
  ...rest
64
60
  }, children);
65
61
  }
66
-
67
62
  var Grid$1 = /*#__PURE__*/React.forwardRef(Grid);
68
63
  const classes = {
69
64
  root: "r1c1ozpm"
@@ -1 +1,2 @@
1
1
  .r1c1ozpm{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;}
2
+
@@ -39,11 +39,9 @@ const cx = function cx() {
39
39
  result.push(atomicClasses[keyHash]);
40
40
  }
41
41
  }
42
-
43
42
  result.push(...nonAtomicClasses);
44
43
  return result.join(' ');
45
44
  };
46
-
47
45
  var cx$1 = cx;
48
46
 
49
47
  const Root$1 = "div";
@@ -51,7 +49,6 @@ const classes$1 = {
51
49
  backdrop: "b1a0xzv7",
52
50
  grid: "g10obtzp"
53
51
  };
54
-
55
52
  function Canvas(props) {
56
53
  const {
57
54
  width,
@@ -77,7 +74,6 @@ function Canvas(props) {
77
74
  }
78
75
  }, /*#__PURE__*/React.createElement(Component, null)));
79
76
  }
80
-
81
77
  function Grid({
82
78
  size,
83
79
  ...rest
@@ -85,7 +81,6 @@ function Grid({
85
81
  const halfSize = size / 2;
86
82
  const center = 60;
87
83
  const whiskerLength = Math.min(16, size / 2);
88
-
89
84
  const Corner = ({
90
85
  dx,
91
86
  dy
@@ -104,11 +99,8 @@ function Grid({
104
99
  strokeWidth: 1,
105
100
  stroke: "#EEEEEE"
106
101
  }));
107
-
108
102
  const add = (a, b) => a + b;
109
-
110
103
  const sub = (a, b) => a - b;
111
-
112
104
  return /*#__PURE__*/React.createElement("svg", {
113
105
  width: "120",
114
106
  height: "120",
@@ -142,7 +134,6 @@ const Root = "div";
142
134
  const classes = {
143
135
  name: "n1xsexuc"
144
136
  };
145
-
146
137
  function Icon(props, ref) {
147
138
  const {
148
139
  descriptor,
@@ -160,15 +151,12 @@ function Icon(props, ref) {
160
151
  }, width !== undefined && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Canvas, {
161
152
  width: width,
162
153
  height: width,
163
- size: 32
164
- /*descriptor.instances[0].size as number */
165
- ,
154
+ size: 32 /*descriptor.instances[0].size as number */,
166
155
  Component: descriptor.instances[0].Component
167
156
  }), /*#__PURE__*/React.createElement("div", {
168
157
  className: classes.name
169
158
  }, descriptor.name))));
170
159
  }
171
-
172
160
  var Icon$1 = /*#__PURE__*/React.forwardRef(Icon);
173
161
 
174
162
  export { Icon$1 as Icon };
@@ -1,5 +1,7 @@
1
- .n1xsexuc{margin-top:6px;white-space:nowrap;font-size:0.75rem;opacity:0;transition:all 0.16s;z-index:-1;color:var(--timvir-secondary-text-color);text-align:center;user-select:none;pointer-events:none;position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);}
2
- .r1k0w618{position:relative;z-index:1;}.r1k0w618 svg{display:block;}.r1k0w618:hover .n1xsexuc{opacity:1;bottom:-26px;color:var(--timvir-text-color);}.r1k0w618:active .n1xsexuc{bottom:-24px;}
3
1
  .b1a0xzv7{background:white;place-self:stretch;border-radius:2px;transition:all 0.2s;box-shadow:0 0 0 0 rgba(0,0,0,0.1);}
4
2
  .g10obtzp{opacity:0;transition:all 0.2s;pointer-events:none;}
5
3
  .r1bcczis{display:grid;place-items:center;cursor:pointer;}.r1bcczis > *{grid-column:1;grid-row:1;}.r1bcczis:hover .b1a0xzv7{box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 2px 4px rgba(16,22,26,0.1), 0 8px 24px rgba(16,22,26,0.2);}.r1bcczis:active .b1a0xzv7{margin:1px;box-shadow:inset 0 0 0 1px rgba(16,22,26,0.2),0 1px 1px rgba(16,22,26,0.2);}.r1bcczis:hover .g10obtzp{opacity:1;}
4
+
5
+ .n1xsexuc{margin-top:6px;white-space:nowrap;font-size:0.75rem;opacity:0;transition:all 0.16s;z-index:-1;color:var(--timvir-secondary-text-color);text-align:center;user-select:none;pointer-events:none;position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);}
6
+ .r1k0w618{position:relative;z-index:1;}.r1k0w618 svg{display:block;}.r1k0w618:hover .n1xsexuc{opacity:1;bottom:-26px;color:var(--timvir-text-color);}.r1k0w618:active .n1xsexuc{bottom:-24px;}
7
+
@@ -39,19 +39,15 @@ const cx = function cx() {
39
39
  result.push(atomicClasses[keyHash]);
40
40
  }
41
41
  }
42
-
43
42
  result.push(...nonAtomicClasses);
44
43
  return result.join(' ');
45
44
  };
46
-
47
45
  var cx$1 = cx;
48
46
 
49
47
  /**
50
48
  * The underlying DOM element which is rendered by this component.
51
49
  */
52
-
53
50
  const Root = "div";
54
-
55
51
  function Message(props, ref) {
56
52
  const {
57
53
  variant,
@@ -79,7 +75,6 @@ function Message(props, ref) {
79
75
  className: "dhvu07f"
80
76
  }, children));
81
77
  }
82
-
83
78
  var Message$1 = /*#__PURE__*/React.forwardRef(Message);
84
79
  const icon = "i1dz18jz";
85
80
  const variantStyles = {
@@ -4,3 +4,4 @@
4
4
  .i41wipx{background:#f0f2fc;color:black;}.i41wipx .i1dz18jz{color:#2a47d5;}
5
5
  .wi7iy6{background:#fcf9f0;color:black;}.wi7iy6 .i1dz18jz{color:#a68521;}
6
6
  .a1d5oxsn{background:#fcf0f0;color:black;}.a1d5oxsn .i1dz18jz{color:#da4444;}
7
+
@@ -39,19 +39,15 @@ const cx = function cx() {
39
39
  result.push(atomicClasses[keyHash]);
40
40
  }
41
41
  }
42
-
43
42
  result.push(...nonAtomicClasses);
44
43
  return result.join(' ');
45
44
  };
46
-
47
45
  var cx$1 = cx;
48
46
 
49
47
  /**
50
48
  * The underlying DOM element which is rendered by this component.
51
49
  */
52
-
53
50
  const Root = "div";
54
-
55
51
  function Swatch(props, ref) {
56
52
  const block = useBlock(props);
57
53
  const {
@@ -97,7 +93,6 @@ function Swatch(props, ref) {
97
93
  className: "dho7t08"
98
94
  }, ancestry)));
99
95
  }
100
-
101
96
  var Swatch$1 = /*#__PURE__*/React.forwardRef(Swatch);
102
97
 
103
98
  export { Swatch$1 as Swatch };
@@ -2,3 +2,4 @@
2
2
  .dhgsgky{display:flex;flex-direction:column;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;transition:all 0.16s;padding:0px 12px;cursor:pointer;}
3
3
  .dobecwk{display:flex;justify-content:space-between;align-items:center;line-height:1;}
4
4
  .dho7t08{padding-top:6px;opacity:0.5;font-size:0.8em;line-height:1;}
5
+