proto-sudoku-wc 0.1.136 → 0.1.138

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.
@@ -5,7 +5,7 @@ const BUILD = /* proto-sudoku-wc */ { allRenderFn: true, appendChildSlotFix: fal
5
5
  const Env = /* proto-sudoku-wc */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.40.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.41.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  var __create = Object.create;
11
11
  var __defProp = Object.defineProperty;
@@ -480,6 +480,9 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
480
480
  var promiseResolve = (v) => Promise.resolve(v);
481
481
  var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
482
482
  try {
483
+ if (!win.document.adoptedStyleSheets) {
484
+ return false;
485
+ }
483
486
  new CSSStyleSheet();
484
487
  return typeof new CSSStyleSheet().replaceSync === "function";
485
488
  } catch (e) {
@@ -2272,7 +2275,8 @@ var patchPseudoShadowDom = (hostElementPrototype) => {
2272
2275
  patchSlotRemoveChild(hostElementPrototype);
2273
2276
  };
2274
2277
  var patchCloneNode = (HostElementPrototype) => {
2275
- const orgCloneNode = HostElementPrototype.cloneNode;
2278
+ if (HostElementPrototype.__cloneNode) return;
2279
+ const orgCloneNode = HostElementPrototype.__cloneNode = HostElementPrototype.cloneNode;
2276
2280
  HostElementPrototype.cloneNode = function(deep) {
2277
2281
  const srcNode = this;
2278
2282
  const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;
@@ -2317,6 +2321,7 @@ var patchCloneNode = (HostElementPrototype) => {
2317
2321
  };
2318
2322
  };
2319
2323
  var patchSlotAppendChild = (HostElementPrototype) => {
2324
+ if (HostElementPrototype.__appendChild) return;
2320
2325
  HostElementPrototype.__appendChild = HostElementPrototype.appendChild;
2321
2326
  HostElementPrototype.appendChild = function(newChild) {
2322
2327
  const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
@@ -2334,6 +2339,7 @@ var patchSlotAppendChild = (HostElementPrototype) => {
2334
2339
  };
2335
2340
  };
2336
2341
  var patchSlotRemoveChild = (ElementPrototype) => {
2342
+ if (ElementPrototype.__removeChild) return;
2337
2343
  ElementPrototype.__removeChild = ElementPrototype.removeChild;
2338
2344
  ElementPrototype.removeChild = function(toRemove) {
2339
2345
  if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
@@ -2349,6 +2355,7 @@ var patchSlotRemoveChild = (ElementPrototype) => {
2349
2355
  };
2350
2356
  };
2351
2357
  var patchSlotPrepend = (HostElementPrototype) => {
2358
+ if (HostElementPrototype.__prepend) return;
2352
2359
  HostElementPrototype.__prepend = HostElementPrototype.prepend;
2353
2360
  HostElementPrototype.prepend = function(...newChildren) {
2354
2361
  newChildren.forEach((newChild) => {
@@ -2375,6 +2382,7 @@ var patchSlotPrepend = (HostElementPrototype) => {
2375
2382
  };
2376
2383
  };
2377
2384
  var patchSlotAppend = (HostElementPrototype) => {
2385
+ if (HostElementPrototype.__append) return;
2378
2386
  HostElementPrototype.__append = HostElementPrototype.append;
2379
2387
  HostElementPrototype.append = function(...newChildren) {
2380
2388
  newChildren.forEach((newChild) => {
@@ -2386,6 +2394,7 @@ var patchSlotAppend = (HostElementPrototype) => {
2386
2394
  };
2387
2395
  };
2388
2396
  var patchSlotInsertAdjacentHTML = (HostElementPrototype) => {
2397
+ if (HostElementPrototype.__insertAdjacentHTML) return;
2389
2398
  const originalInsertAdjacentHtml = HostElementPrototype.insertAdjacentHTML;
2390
2399
  HostElementPrototype.insertAdjacentHTML = function(position, text) {
2391
2400
  if (position !== "afterbegin" && position !== "beforeend") {
@@ -2411,6 +2420,7 @@ var patchSlotInsertAdjacentText = (HostElementPrototype) => {
2411
2420
  };
2412
2421
  };
2413
2422
  var patchInsertBefore = (HostElementPrototype) => {
2423
+ if (HostElementPrototype.__insertBefore) return;
2414
2424
  const eleProto = HostElementPrototype;
2415
2425
  if (eleProto.__insertBefore) return;
2416
2426
  eleProto.__insertBefore = HostElementPrototype.insertBefore;
@@ -2445,6 +2455,7 @@ var patchInsertBefore = (HostElementPrototype) => {
2445
2455
  };
2446
2456
  };
2447
2457
  var patchSlotInsertAdjacentElement = (HostElementPrototype) => {
2458
+ if (HostElementPrototype.__insertAdjacentElement) return;
2448
2459
  const originalInsertAdjacentElement = HostElementPrototype.insertAdjacentElement;
2449
2460
  HostElementPrototype.insertAdjacentElement = function(position, element) {
2450
2461
  if (position !== "afterbegin" && position !== "beforeend") {
@@ -4141,11 +4152,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
4141
4152
  patchSlotNode(elm);
4142
4153
  oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
4143
4154
  if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
4144
- if (BUILD.experimentalSlotFixes) {
4145
- relocateToHostRoot(oldParentVNode.$elm$);
4146
- } else {
4147
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
4148
- }
4155
+ relocateToHostRoot(oldParentVNode.$elm$);
4149
4156
  }
4150
4157
  if (BUILD.scoped || BUILD.hydrateServerSide && 128 /* shadowNeedsScopedCss */) {
4151
4158
  addRemoveSlotScopedClass(contentRef, elm, newParentVNode.$elm$, oldParentVNode == null ? void 0 : oldParentVNode.$elm$);
@@ -4177,7 +4184,7 @@ var relocateToHostRoot = (parentElm) => {
4177
4184
  var putBackInOriginalLocation = (parentElm, recursive) => {
4178
4185
  plt.$flags$ |= 1 /* isTmpDisconnected */;
4179
4186
  const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
4180
- if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
4187
+ if (parentElm["s-sr"]) {
4181
4188
  let node = parentElm;
4182
4189
  while (node = node.nextSibling) {
4183
4190
  if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
@@ -4365,7 +4372,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
4365
4372
  }
4366
4373
  if (BUILD.vdomAttribute || BUILD.reflect) {
4367
4374
  if (BUILD.slot && tag === "slot" && !useNativeShadowDom) {
4368
- if (BUILD.experimentalSlotFixes && oldVNode.$name$ !== newVNode2.$name$) {
4375
+ if (oldVNode.$name$ !== newVNode2.$name$) {
4369
4376
  newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
4370
4377
  relocateToHostRoot(newVNode2.$elm$.parentElement);
4371
4378
  }
@@ -4408,7 +4415,7 @@ var markSlotContentForRelocation = (elm) => {
4408
4415
  const slotName = childNode["s-sn"];
4409
4416
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
4410
4417
  node = hostContentNodes[j];
4411
- if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!BUILD.experimentalSlotFixes || !node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
4418
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
4412
4419
  if (isNodeLocatedInSlot(node, slotName)) {
4413
4420
  let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
4414
4421
  checkSlotFallbackVisibility = true;
@@ -4452,19 +4459,19 @@ var nullifyVNodeRefs = (vNode) => {
4452
4459
  vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
4453
4460
  }
4454
4461
  };
4455
- var insertBefore = (parent, newNode, reference) => {
4462
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
4456
4463
  if (BUILD.scoped && typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
4457
4464
  addRemoveSlotScopedClass(newNode["s-cr"], newNode, parent, newNode.parentElement);
4458
- } else if (BUILD.experimentalSlotFixes && typeof newNode["s-sn"] === "string") {
4459
- if (parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
4465
+ } else if (typeof newNode["s-sn"] === "string") {
4466
+ if (BUILD.experimentalSlotFixes && parent.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
4460
4467
  patchParentNode(newNode);
4461
4468
  }
4462
4469
  parent.insertBefore(newNode, reference);
4463
4470
  const { slotNode } = findSlotFromSlottedNode(newNode);
4464
- if (slotNode) dispatchSlotChangeEvent(slotNode);
4471
+ if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
4465
4472
  return newNode;
4466
4473
  }
4467
- if (BUILD.experimentalSlotFixes && parent.__insertBefore) {
4474
+ if (parent.__insertBefore) {
4468
4475
  return parent.__insertBefore(newNode, reference);
4469
4476
  } else {
4470
4477
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
@@ -4552,7 +4559,12 @@ render() {
4552
4559
  if (!nodeToRelocate["s-ol"] && win.document) {
4553
4560
  const orgLocationNode = BUILD.isDebug || BUILD.hydrateServerSide ? originalLocationDebugNode(nodeToRelocate) : win.document.createTextNode("");
4554
4561
  orgLocationNode["s-nr"] = nodeToRelocate;
4555
- insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
4562
+ insertBefore(
4563
+ nodeToRelocate.parentNode,
4564
+ nodeToRelocate["s-ol"] = orgLocationNode,
4565
+ nodeToRelocate,
4566
+ isInitialLoad
4567
+ );
4556
4568
  }
4557
4569
  }
4558
4570
  for (const relocateData of relocateNodes) {
@@ -4564,7 +4576,7 @@ render() {
4564
4576
  if (slotRefNode) {
4565
4577
  const parentNodeRef = slotRefNode.parentNode;
4566
4578
  let insertBeforeNode = slotRefNode.nextSibling;
4567
- if (!BUILD.hydrateServerSide && (!BUILD.experimentalSlotFixes || insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */)) {
4579
+ if (!BUILD.hydrateServerSide && insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
4568
4580
  let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
4569
4581
  while (orgLocationNode) {
4570
4582
  let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
@@ -4585,10 +4597,18 @@ render() {
4585
4597
  const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
4586
4598
  if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
4587
4599
  if (nodeToRelocate !== insertBeforeNode) {
4588
- if (!BUILD.experimentalSlotFixes && !nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
4589
- nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
4600
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
4601
+ if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
4602
+ const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
4603
+ textNode["s-hn"] = nodeToRelocate["s-hn"];
4604
+ textNode["s-sn"] = nodeToRelocate["s-sn"];
4605
+ textNode["s-sh"] = nodeToRelocate["s-sh"];
4606
+ textNode["s-sr"] = nodeToRelocate["s-sr"];
4607
+ textNode["s-ol"] = nodeToRelocate["s-ol"];
4608
+ textNode["s-ol"]["s-nr"] = textNode;
4609
+ insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
4610
+ nodeToRelocate.parentNode.removeChild(nodeToRelocate);
4590
4611
  }
4591
- insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
4592
4612
  if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
4593
4613
  nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
4594
4614
  }
@@ -4606,14 +4626,21 @@ render() {
4606
4626
  plt.$flags$ &= -2 /* isTmpDisconnected */;
4607
4627
  relocateNodes.length = 0;
4608
4628
  }
4609
- if (BUILD.experimentalScopedSlotChanges && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
4629
+ if (BUILD.slotRelocation && !useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
4610
4630
  const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
4611
4631
  for (const childNode of children) {
4612
- if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"] && childNode.nodeType === 1 /* ElementNode */) {
4632
+ if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
4613
4633
  if (isInitialLoad && childNode["s-ih"] == null) {
4614
4634
  childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
4615
4635
  }
4616
- childNode.hidden = true;
4636
+ if (childNode.nodeType === 1 /* ElementNode */) {
4637
+ childNode.hidden = true;
4638
+ } else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
4639
+ const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
4640
+ textCommentNode["s-sn"] = childNode["s-sn"];
4641
+ insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
4642
+ childNode.parentNode.removeChild(childNode);
4643
+ }
4617
4644
  }
4618
4645
  }
4619
4646
  }
@@ -4675,6 +4702,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
4675
4702
  let maybePromise;
4676
4703
  if (isInitialLoad) {
4677
4704
  if (BUILD.lazyLoad) {
4705
+ if (BUILD.slotRelocation && hostRef.$deferredConnectedCallback$) {
4706
+ hostRef.$deferredConnectedCallback$ = false;
4707
+ safeCall(instance, "connectedCallback", void 0, elm);
4708
+ }
4678
4709
  if (BUILD.hostListener) {
4679
4710
  hostRef.$flags$ |= 256 /* isListenReady */;
4680
4711
  if (hostRef.$queuedListeners$) {
@@ -5298,7 +5329,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
5298
5329
  hostRef.$flags$ |= 128 /* isWatchReady */;
5299
5330
  }
5300
5331
  endNewInstance();
5301
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
5332
+ const needsDeferredCallback = BUILD.slotRelocation && cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
5333
+ if (!needsDeferredCallback) {
5334
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
5335
+ } else {
5336
+ hostRef.$deferredConnectedCallback$ = true;
5337
+ }
5302
5338
  } else {
5303
5339
  Cstr = elm.constructor;
5304
5340
  const cmpTag = elm.localName;
@@ -5498,6 +5534,8 @@ var proxyCustomElement = (Cstr, compactMeta) => {
5498
5534
  patchTextContent(Cstr.prototype);
5499
5535
  }
5500
5536
  }
5537
+ } else if (BUILD.cloneNodeFix) {
5538
+ patchCloneNode(Cstr.prototype);
5501
5539
  }
5502
5540
  if (BUILD.hydrateClientSide && BUILD.shadowDom) {
5503
5541
  hydrateScopedToShadow();
@@ -5647,10 +5685,12 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
5647
5685
  }
5648
5686
  const tagName = BUILD.transformTagName && options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : transformTag(cmpMeta.$tagName$);
5649
5687
  const HostElement = class extends HTMLElement {
5688
+ ["s-p"];
5689
+ ["s-rc"];
5690
+ hasRegisteredEventListeners = false;
5650
5691
  // StencilLazyHost
5651
5692
  constructor(self) {
5652
5693
  super(self);
5653
- this.hasRegisteredEventListeners = false;
5654
5694
  self = this;
5655
5695
  registerHost(self, cmpMeta);
5656
5696
  if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
@@ -5727,6 +5767,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
5727
5767
  patchTextContent(HostElement.prototype);
5728
5768
  }
5729
5769
  }
5770
+ } else if (BUILD.cloneNodeFix) {
5771
+ patchCloneNode(HostElement.prototype);
5730
5772
  }
5731
5773
  if (BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */) {
5732
5774
  HostElement.formAssociated = true;
@@ -5872,6 +5914,44 @@ function setTagTransformer(transformer) {
5872
5914
  tagTransformer = transformer;
5873
5915
  }
5874
5916
 
5917
+ // src/runtime/vdom/jsx-dev-runtime.ts
5918
+ function jsxDEV(type, props, key, _isStaticChildren, _source, _self) {
5919
+ const { children, ...rest } = props;
5920
+ const vnodeData = key !== void 0 ? { ...rest, key } : rest;
5921
+ if (Array.isArray(children)) {
5922
+ return h(type, vnodeData, ...children);
5923
+ } else if (children !== void 0) {
5924
+ return h(type, vnodeData, children);
5925
+ }
5926
+ return h(type, vnodeData);
5927
+ }
5928
+
5929
+ // src/runtime/vdom/jsx-runtime.ts
5930
+ function jsx(type, props, key) {
5931
+ const propsObj = props || {};
5932
+ const { children, ...rest } = propsObj;
5933
+ let vnodeData = rest;
5934
+ if (key !== void 0) {
5935
+ vnodeData = { ...rest, key };
5936
+ }
5937
+ if (vnodeData && Object.keys(vnodeData).length === 0) {
5938
+ vnodeData = null;
5939
+ }
5940
+ if (children !== void 0) {
5941
+ if (Array.isArray(children)) {
5942
+ return h(type, vnodeData, ...children);
5943
+ }
5944
+ if (typeof children === "object" && children !== null && "$flags$" in children) {
5945
+ return h(type, vnodeData, children);
5946
+ }
5947
+ return h(type, vnodeData, children);
5948
+ }
5949
+ return h(type, vnodeData);
5950
+ }
5951
+ function jsxs(type, props, key) {
5952
+ return jsx(type, props, key);
5953
+ }
5954
+
5875
5955
  // src/runtime/vdom/vdom-annotations.ts
5876
5956
  var insertVdomAnnotations = (doc, staticComponents) => {
5877
5957
  if (doc != null) {
@@ -6052,6 +6132,9 @@ var StencilCore = /*#__PURE__*/Object.freeze({
6052
6132
  h: h,
6053
6133
  insertVdomAnnotations: insertVdomAnnotations,
6054
6134
  isMemberInElement: isMemberInElement,
6135
+ jsx: jsx,
6136
+ jsxDEV: jsxDEV,
6137
+ jsxs: jsxs,
6055
6138
  loadModule: loadModule,
6056
6139
  modeResolutionChain: modeResolutionChain,
6057
6140
  needsScopedSSR: needsScopedSSR,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Hwv_0jWI.js');
3
+ var index = require('./index-CwegWrJ9.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Hwv_0jWI.js');
3
+ var index = require('./index-CwegWrJ9.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.40.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.41.0 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Hwv_0jWI.js');
3
+ var index = require('./index-CwegWrJ9.js');
4
4
 
5
5
  const Alien = props => {
6
6
  const hex = props.hex || 'currentColor';
@@ -1818,309 +1818,7 @@ const ToolBar = _props => {
1818
1818
  return (index.h("div", { class: "flex flex-row" }, index.h(Button, { label: NEW_PUZZLE, callback: handleRefresh(actions) }), list.length === 81 && !solved ? (index.h(Button, { label: CHECK, callback: handleCheck(actions) })) : (''), index.h(TwLabel, null)));
1819
1819
  };
1820
1820
 
1821
- const shadowCss = () => `
1822
- @layer properties;
1823
- @layer theme, base, components, utilities;
1824
- @layer theme {
1825
- :root,
1826
- :host {
1827
- --font-sans:
1828
- ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
1829
- 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1830
- --color-gray-50: oklch(98.5% 0.002 247.839);
1831
- --color-white: #fff;
1832
- --spacing: 0.25rem;
1833
- --text-xs: 0.75rem;
1834
- --text-xs--line-height: calc(1 / 0.75);
1835
- --text-lg: 1.125rem;
1836
- --text-lg--line-height: calc(1.75 / 1.125);
1837
- --text-6xl: 3.75rem;
1838
- --text-6xl--line-height: 1;
1839
- --font-weight-thin: 100;
1840
- --font-weight-bold: 700;
1841
- --radius-md: 0.375rem;
1842
- --animate-spin: spin 1s linear infinite;
1843
- }
1844
- }
1845
- @layer utilities {
1846
- .absolute {
1847
- position: absolute;
1848
- }
1849
- .relative {
1850
- position: relative;
1851
- }
1852
- .top-0 {
1853
- top: calc(var(--spacing) * 0);
1854
- }
1855
- .right-0 {
1856
- right: calc(var(--spacing) * 0);
1857
- }
1858
- .m-6 {
1859
- margin: calc(var(--spacing) * 6);
1860
- }
1861
- .mt-2 {
1862
- margin-top: calc(var(--spacing) * 2);
1863
- }
1864
- .mt-5 {
1865
- margin-top: calc(var(--spacing) * 5);
1866
- }
1867
- .mt-11 {
1868
- margin-top: calc(var(--spacing) * 11);
1869
- }
1870
- .mr-0 {
1871
- margin-right: calc(var(--spacing) * 0);
1872
- }
1873
- .mr-1 {
1874
- margin-right: calc(var(--spacing) * 1);
1875
- }
1876
- .mr-2 {
1877
- margin-right: calc(var(--spacing) * 2);
1878
- }
1879
- .mb-11 {
1880
- margin-bottom: calc(var(--spacing) * 11);
1881
- }
1882
- .ml-0 {
1883
- margin-left: calc(var(--spacing) * 0);
1884
- }
1885
- .ml-auto {
1886
- margin-left: auto;
1887
- }
1888
- .flex {
1889
- display: flex;
1890
- }
1891
- .grid {
1892
- display: grid;
1893
- }
1894
- .h-8 {
1895
- height: calc(var(--spacing) * 8);
1896
- }
1897
- .h-24px {
1898
- height: 24px;
1899
- }
1900
- .h-76p5 {
1901
- height: 19.125rem;
1902
- }
1903
- .w-8 {
1904
- width: calc(var(--spacing) * 8);
1905
- }
1906
- .w-76p5 {
1907
- width: 19.125rem;
1908
- }
1909
- .max-w-min {
1910
- max-width: min-content;
1911
- }
1912
- .animate-spin {
1913
- animation: var(--animate-spin);
1914
- }
1915
- .flex-col {
1916
- flex-direction: column;
1917
- }
1918
- .flex-row {
1919
- flex-direction: row;
1920
- }
1921
- .flex-wrap {
1922
- flex-wrap: wrap;
1923
- }
1924
- .items-center {
1925
- align-items: center;
1926
- }
1927
- .justify-end {
1928
- justify-content: flex-end;
1929
- }
1930
- .rounded-md {
1931
- border-radius: var(--radius-md);
1932
- }
1933
- .border {
1934
- border-style: var(--tw-border-style);
1935
- border-width: 1px;
1936
- }
1937
- .border-solid {
1938
- --tw-border-style: solid;
1939
- border-style: solid;
1940
- }
1941
- .border-clrs-gray {
1942
- border-color: var(--clrs-gray, #aaaaaa);
1943
- }
1944
- .border-clrs-navy {
1945
- border-color: var(--clrs-navy, #001f3f);
1946
- }
1947
- .border-clrs-red {
1948
- border-color: var(--clrs-red, #ff4136);
1949
- }
1950
- .border-clrs-slate4 {
1951
- border-color: var(--clrs-slate4, #4e5964);
1952
- }
1953
- .bg-clrs-green-a50 {
1954
- background-color: var(--clrs-green-a50, #2ecc4050);
1955
- }
1956
- .bg-clrs-navy {
1957
- background-color: var(--clrs-navy, #001f3f);
1958
- }
1959
- .bg-clrs-red {
1960
- background-color: var(--clrs-red, #ff4136);
1961
- }
1962
- .bg-clrs-red-a50 {
1963
- background-color: var(--clrs-red-a50, #ff413650);
1964
- }
1965
- .bg-clrs-silver {
1966
- background-color: var(--clrs-silver, #dddddd);
1967
- }
1968
- .bg-clrs-slate4 {
1969
- background-color: var(--clrs-slate4, #4e5964);
1970
- }
1971
- .bg-clrs-yellow {
1972
- background-color: var(--clrs-yellow, #ffdc00);
1973
- }
1974
- .bg-gray-50 {
1975
- background-color: var(--color-gray-50);
1976
- }
1977
- .p-0\.5 {
1978
- padding: calc(var(--spacing) * 0.5);
1979
- }
1980
- .px-2 {
1981
- padding-inline: calc(var(--spacing) * 2);
1982
- }
1983
- .px-3 {
1984
- padding-inline: calc(var(--spacing) * 3);
1985
- }
1986
- .py-1 {
1987
- padding-block: calc(var(--spacing) * 1);
1988
- }
1989
- .py-2 {
1990
- padding-block: calc(var(--spacing) * 2);
1991
- }
1992
- .text-center {
1993
- text-align: center;
1994
- }
1995
- .align-top {
1996
- vertical-align: top;
1997
- }
1998
- .font-sans {
1999
- font-family: var(--font-sans);
2000
- }
2001
- .text-6xl {
2002
- font-size: var(--text-6xl);
2003
- line-height: var(--tw-leading, var(--text-6xl--line-height));
2004
- }
2005
- .text-lg {
2006
- font-size: var(--text-lg);
2007
- line-height: var(--tw-leading, var(--text-lg--line-height));
2008
- }
2009
- .text-xs {
2010
- font-size: var(--text-xs);
2011
- line-height: var(--tw-leading, var(--text-xs--line-height));
2012
- }
2013
- .leading-8 {
2014
- --tw-leading: calc(var(--spacing) * 8);
2015
- line-height: calc(var(--spacing) * 8);
2016
- }
2017
- .font-bold {
2018
- --tw-font-weight: var(--font-weight-bold);
2019
- font-weight: var(--font-weight-bold);
2020
- }
2021
- .font-thin {
2022
- --tw-font-weight: var(--font-weight-thin);
2023
- font-weight: var(--font-weight-thin);
2024
- }
2025
- .text-clrs-gray {
2026
- color: var(--clrs-gray, #aaaaaa);
2027
- }
2028
- .text-clrs-navy {
2029
- color: var(--clrs-navy, #001f3f);
2030
- }
2031
- .text-clrs-red {
2032
- color: var(--clrs-red, #ff4136);
2033
- }
2034
- .text-clrs-slate4 {
2035
- color: var(--clrs-slate4, #4e5964);
2036
- }
2037
- .text-white {
2038
- color: var(--color-white);
2039
- }
2040
- .uppercase {
2041
- text-transform: uppercase;
2042
- }
2043
- .italic {
2044
- font-style: italic;
2045
- }
2046
- .opacity-25 {
2047
- opacity: 25%;
2048
- }
2049
- .opacity-75 {
2050
- opacity: 75%;
2051
- }
2052
- .shadow {
2053
- --tw-shadow:
2054
- 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
2055
- 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
2056
- box-shadow:
2057
- var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
2058
- var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
2059
- }
2060
- .border-xbb-clrs-navy {
2061
- border-bottom: 1px solid var(--clrs-navy, #001f3f) !important;
2062
- }
2063
- .border-xbl-clrs-navy {
2064
- border-left: 1px solid var(--clrs-navy, #001f3f) !important;
2065
- }
2066
- .border-xbr-clrs-navy {
2067
- border-right: 1px solid var(--clrs-navy, #001f3f) !important;
2068
- }
2069
- .border-xbt-clrs-navy {
2070
- border-top: 1px solid var(--clrs-navy, #001f3f) !important;
2071
- }
2072
- .hover\:text-clrs-navy {
2073
- &:hover {
2074
- @media (hover: hover) {
2075
- color: var(--clrs-navy, #001f3f);
2076
- }
2077
- }
2078
- }
2079
- }
2080
- @layer components {
2081
- .ds1-main {
2082
- margin: calc(var(--spacing) * 6);
2083
- display: flex;
2084
- flex-direction: column;
2085
- font-family: var(--font-sans);
2086
- color: var(--clrs-navy, #001f3f);
2087
- -webkit-font-smoothing: antialiased;
2088
- -moz-osx-font-smoothing: grayscale;
2089
- }
2090
- }
2091
- @keyframes spin {
2092
- to {
2093
- transform: rotate(360deg);
2094
- }
2095
- }
2096
- @layer properties {
2097
- @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
2098
- ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
2099
- *,
2100
- ::before,
2101
- ::after,
2102
- ::backdrop {
2103
- --tw-border-style: solid;
2104
- --tw-leading: initial;
2105
- --tw-font-weight: initial;
2106
- --tw-shadow: 0 0 #0000;
2107
- --tw-shadow-color: initial;
2108
- --tw-shadow-alpha: 100%;
2109
- --tw-inset-shadow: 0 0 #0000;
2110
- --tw-inset-shadow-color: initial;
2111
- --tw-inset-shadow-alpha: 100%;
2112
- --tw-ring-color: initial;
2113
- --tw-ring-shadow: 0 0 #0000;
2114
- --tw-inset-ring-color: initial;
2115
- --tw-inset-ring-shadow: 0 0 #0000;
2116
- --tw-ring-inset: initial;
2117
- --tw-ring-offset-width: 0px;
2118
- --tw-ring-offset-color: #fff;
2119
- --tw-ring-offset-shadow: 0 0 #0000;
2120
- }
2121
- }
2122
- }
2123
- `;
1821
+ const shadowCss = () => ` @layer properties; @layer theme, base, components, utilities; @layer theme { :root, :host { --font-sans: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --color-gray-50: oklch(98.5% 0.002 247.839); --color-white: #fff; --spacing: 0.25rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-lg: 1.125rem; --text-lg--line-height: calc(1.75 / 1.125); --text-6xl: 3.75rem; --text-6xl--line-height: 1; --font-weight-thin: 100; --font-weight-bold: 700; --radius-md: 0.375rem; --animate-spin: spin 1s linear infinite; } } @layer utilities { .absolute { position: absolute; } .relative { position: relative; } .top-0 { top: calc(var(--spacing) * 0); } .right-0 { right: calc(var(--spacing) * 0); } .m-6 { margin: calc(var(--spacing) * 6); } .mt-2 { margin-top: calc(var(--spacing) * 2); } .mt-5 { margin-top: calc(var(--spacing) * 5); } .mt-11 { margin-top: calc(var(--spacing) * 11); } .mr-0 { margin-right: calc(var(--spacing) * 0); } .mr-1 { margin-right: calc(var(--spacing) * 1); } .mr-2 { margin-right: calc(var(--spacing) * 2); } .mb-11 { margin-bottom: calc(var(--spacing) * 11); } .ml-0 { margin-left: calc(var(--spacing) * 0); } .ml-auto { margin-left: auto; } .flex { display: flex; } .grid { display: grid; } .h-8 { height: calc(var(--spacing) * 8); } .h-24px { height: 24px; } .h-76p5 { height: 19.125rem; } .w-8 { width: calc(var(--spacing) * 8); } .w-76p5 { width: 19.125rem; } .max-w-min { max-width: min-content; } .animate-spin { animation: var(--animate-spin); } .flex-col { flex-direction: column; } .flex-row { flex-direction: row; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-end { justify-content: flex-end; } .rounded-md { border-radius: var(--radius-md); } .border { border-style: var(--tw-border-style); border-width: 1px; } .border-solid { --tw-border-style: solid; border-style: solid; } .border-clrs-gray { border-color: var(--clrs-gray, #aaaaaa); } .border-clrs-navy { border-color: var(--clrs-navy, #001f3f); } .border-clrs-red { border-color: var(--clrs-red, #ff4136); } .border-clrs-slate4 { border-color: var(--clrs-slate4, #4e5964); } .bg-clrs-green-a50 { background-color: var(--clrs-green-a50, #2ecc4050); } .bg-clrs-navy { background-color: var(--clrs-navy, #001f3f); } .bg-clrs-red { background-color: var(--clrs-red, #ff4136); } .bg-clrs-red-a50 { background-color: var(--clrs-red-a50, #ff413650); } .bg-clrs-silver { background-color: var(--clrs-silver, #dddddd); } .bg-clrs-slate4 { background-color: var(--clrs-slate4, #4e5964); } .bg-clrs-yellow { background-color: var(--clrs-yellow, #ffdc00); } .bg-gray-50 { background-color: var(--color-gray-50); } .p-0\\.5 { padding: calc(var(--spacing) * 0.5); } .px-2 { padding-inline: calc(var(--spacing) * 2); } .px-3 { padding-inline: calc(var(--spacing) * 3); } .py-1 { padding-block: calc(var(--spacing) * 1); } .py-2 { padding-block: calc(var(--spacing) * 2); } .text-center { text-align: center; } .align-top { vertical-align: top; } .font-sans { font-family: var(--font-sans); } .text-6xl { font-size: var(--text-6xl); line-height: var(--tw-leading, var(--text-6xl--line-height)); } .text-lg { font-size: var(--text-lg); line-height: var(--tw-leading, var(--text-lg--line-height)); } .text-xs { font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } .leading-8 { --tw-leading: calc(var(--spacing) * 8); line-height: calc(var(--spacing) * 8); } .font-bold { --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } .font-thin { --tw-font-weight: var(--font-weight-thin); font-weight: var(--font-weight-thin); } .text-clrs-gray { color: var(--clrs-gray, #aaaaaa); } .text-clrs-navy { color: var(--clrs-navy, #001f3f); } .text-clrs-red { color: var(--clrs-red, #ff4136); } .text-clrs-slate4 { color: var(--clrs-slate4, #4e5964); } .text-white { color: var(--color-white); } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .opacity-25 { opacity: 25%; } .opacity-75 { opacity: 75%; } .shadow { --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } .border-xbb-clrs-navy { border-bottom: 1px solid var(--clrs-navy, #001f3f) !important; } .border-xbl-clrs-navy { border-left: 1px solid var(--clrs-navy, #001f3f) !important; } .border-xbr-clrs-navy { border-right: 1px solid var(--clrs-navy, #001f3f) !important; } .border-xbt-clrs-navy { border-top: 1px solid var(--clrs-navy, #001f3f) !important; } .hover\\:text-clrs-navy { &:hover { @media (hover: hover) { color: var(--clrs-navy, #001f3f); } } } } @layer components { .ds1-main { margin: calc(var(--spacing) * 6); display: flex; flex-direction: column; font-family: var(--font-sans); color: var(--clrs-navy, #001f3f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } } @keyframes spin { to { transform: rotate(360deg); } } @layer properties { @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) { *, ::before, ::after, ::backdrop { --tw-border-style: solid; --tw-leading: initial; --tw-font-weight: initial; --tw-shadow: 0 0 #0000; --tw-shadow-color: initial; --tw-shadow-alpha: 100%; --tw-inset-shadow: 0 0 #0000; --tw-inset-shadow-color: initial; --tw-inset-shadow-alpha: 100%; --tw-ring-color: initial; --tw-ring-shadow: 0 0 #0000; --tw-inset-ring-color: initial; --tw-inset-ring-shadow: 0 0 #0000; --tw-ring-inset: initial; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 #0000; } } } `;
2124
1822
 
2125
1823
  const ProtoSudoku = class {
2126
1824
  constructor(hostRef) {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.40.0",
7
+ "version": "4.41.0",
8
8
  "typescriptVersion": "5.8.3"
9
9
  },
10
10
  "collections": [],