From 468e76733ac6301558c025aee86ed617fd435f13 Mon Sep 17 00:00:00 2001 From: <> Date: Tue, 9 Jan 2024 11:59:36 +0000 Subject: [PATCH] Deployed 964f7c8 with MkDocs version: 1.5.3 --- .nojekyll | 0 404.html | 473 ++ CHANGELOG/index.html | 505 ++ LICENSE | 661 ++ about/index.html | 826 ++ assets/images/favicon.png | Bin 0 -> 1870 bytes assets/javascripts/bundle.aecac24b.min.js | 29 + assets/javascripts/bundle.aecac24b.min.js.map | 7 + assets/javascripts/lunr/min/lunr.ar.min.js | 1 + assets/javascripts/lunr/min/lunr.da.min.js | 18 + assets/javascripts/lunr/min/lunr.de.min.js | 18 + assets/javascripts/lunr/min/lunr.du.min.js | 18 + assets/javascripts/lunr/min/lunr.el.min.js | 1 + assets/javascripts/lunr/min/lunr.es.min.js | 18 + assets/javascripts/lunr/min/lunr.fi.min.js | 18 + assets/javascripts/lunr/min/lunr.fr.min.js | 18 + assets/javascripts/lunr/min/lunr.he.min.js | 1 + assets/javascripts/lunr/min/lunr.hi.min.js | 1 + assets/javascripts/lunr/min/lunr.hu.min.js | 18 + assets/javascripts/lunr/min/lunr.hy.min.js | 1 + assets/javascripts/lunr/min/lunr.it.min.js | 18 + assets/javascripts/lunr/min/lunr.ja.min.js | 1 + assets/javascripts/lunr/min/lunr.jp.min.js | 1 + assets/javascripts/lunr/min/lunr.kn.min.js | 1 + assets/javascripts/lunr/min/lunr.ko.min.js | 1 + assets/javascripts/lunr/min/lunr.multi.min.js | 1 + assets/javascripts/lunr/min/lunr.nl.min.js | 18 + assets/javascripts/lunr/min/lunr.no.min.js | 18 + assets/javascripts/lunr/min/lunr.pt.min.js | 18 + assets/javascripts/lunr/min/lunr.ro.min.js | 18 + assets/javascripts/lunr/min/lunr.ru.min.js | 18 + assets/javascripts/lunr/min/lunr.sa.min.js | 1 + .../lunr/min/lunr.stemmer.support.min.js | 1 + assets/javascripts/lunr/min/lunr.sv.min.js | 18 + assets/javascripts/lunr/min/lunr.ta.min.js | 1 + assets/javascripts/lunr/min/lunr.te.min.js | 1 + assets/javascripts/lunr/min/lunr.th.min.js | 1 + assets/javascripts/lunr/min/lunr.tr.min.js | 18 + assets/javascripts/lunr/min/lunr.vi.min.js | 1 + assets/javascripts/lunr/min/lunr.zh.min.js | 1 + assets/javascripts/lunr/tinyseg.js | 206 + assets/javascripts/lunr/wordcut.js | 6708 +++++++++++++++++ .../workers/search.f886a092.min.js | 42 + .../workers/search.f886a092.min.js.map | 7 + assets/stylesheets/main.35e1ed30.min.css | 1 + assets/stylesheets/main.35e1ed30.min.css.map | 1 + assets/stylesheets/palette.356b1318.min.css | 1 + .../stylesheets/palette.356b1318.min.css.map | 1 + components/hot-button/index.html | 592 ++ css/extra.css | 5 + images/favicon.png | Bin 0 -> 1225 bytes images/hot_logo.png | Bin 0 -> 3789 bytes index.html | 694 ++ search/search_index.json | 1 + sitemap.xml | 28 + sitemap.xml.gz | Bin 0 -> 251 bytes stories/assets/Button.stories-cIaO0HOI.js | 435 ++ stories/assets/Color-6VNJS4EI-3GwCHIpa.js | 1 + .../assets/DocsRenderer-NNNQARDV-6HJJ3vg0.js | 401 + .../assets/WithTooltip-V3YHNWJZ-vKfOllKm.js | 1 + stories/assets/chunk-FJPRWHXQ-znk5Jufl.js | 8 + stories/assets/entry-preview-CAjq6_R0.js | 1 + stories/assets/entry-preview-docs-9IeqEGCG.js | 2 + stories/assets/formatter-SWP5E3XI-IJ53By3l.js | 156 + stories/assets/iframe-dvAbLE1t.js | 7 + stories/assets/index-HZNADR7h.js | 3 + stories/assets/index-P7URiQBb.js | 1 + stories/assets/index-PPLHz8o0.js | 6 + stories/assets/index-ogXoivrg.js | 1 + stories/assets/lit-element-qTWDNZ1g.js | 19 + stories/assets/preview-9bpQVOkQ.js | 1 + stories/assets/preview-OnO0tzRj.js | 17 + stories/assets/preview-VI2eoWmp.js | 1 + stories/assets/preview-X4V3ORWO.js | 1 + stories/assets/preview-YO_4tSSO.css | 1 + stories/assets/preview-bEa2SesL.js | 7 + stories/assets/preview-gK3TgrKV.js | 7 + stories/assets/preview-u8M_OEO2.js | 396 + stories/assets/preview-wm7zCcxo.js | 20 + .../syntaxhighlighter-V7JZZA35-1Ztqsc9D.js | 1 + stories/assets/tiny-invariant-VyoA2Os1.js | 1 + stories/favicon.svg | 7 + stories/iframe.html | 458 ++ stories/index.html | 123 + stories/index.json | 1 + stories/project.json | 1 + .../essentials-actions-2/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js | 12 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-controls-1/manager-bundle.js | 63 + .../manager-bundle.js.LEGAL.txt | 18 + .../essentials-measure-6/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-outline-7/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-toolbars-5/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-viewport-4/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 stories/sb-addons/links-0/manager-bundle.js | 3 + .../links-0/manager-bundle.js.LEGAL.txt | 0 stories/sb-common-assets/fonts.css | 31 + .../nunito-sans-bold-italic.woff2 | Bin 0 -> 49460 bytes .../sb-common-assets/nunito-sans-bold.woff2 | Bin 0 -> 47144 bytes .../sb-common-assets/nunito-sans-italic.woff2 | Bin 0 -> 49620 bytes .../nunito-sans-regular.woff2 | Bin 0 -> 47072 bytes .../WithTooltip-V3YHNWJZ-LVYLGZW2.js | 1 + stories/sb-manager/chunk-2IXBUOFS.js | 7 + stories/sb-manager/chunk-DPK7JLP2.js | 406 + stories/sb-manager/chunk-INSKDKQB.js | 348 + stories/sb-manager/chunk-NGTUFCUO.js | 9 + stories/sb-manager/chunk-ZEU7PDD3.js | 1 + .../sb-manager/formatter-SWP5E3XI-7BGIK6BL.js | 156 + stories/sb-manager/globals-module-info.js | 1 + stories/sb-manager/globals.js | 1 + stories/sb-manager/index.js | 1 + stories/sb-manager/runtime.js | 1 + .../syntaxhighlighter-V7JZZA35-DXZCI2WR.js | 1 + stories/sb-preview/globals.js | 1 + stories/sb-preview/runtime.js | 112 + stories/stories.json | 1 + visual/index.html | 523 ++ 123 files changed, 14872 insertions(+) create mode 100644 .nojekyll create mode 100644 404.html create mode 100644 CHANGELOG/index.html create mode 100644 LICENSE create mode 100644 about/index.html create mode 100644 assets/images/favicon.png create mode 100644 assets/javascripts/bundle.aecac24b.min.js create mode 100644 assets/javascripts/bundle.aecac24b.min.js.map create mode 100644 assets/javascripts/lunr/min/lunr.ar.min.js create mode 100644 assets/javascripts/lunr/min/lunr.da.min.js create mode 100644 assets/javascripts/lunr/min/lunr.de.min.js create mode 100644 assets/javascripts/lunr/min/lunr.du.min.js create mode 100644 assets/javascripts/lunr/min/lunr.el.min.js create mode 100644 assets/javascripts/lunr/min/lunr.es.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.fr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.he.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hu.min.js create mode 100644 assets/javascripts/lunr/min/lunr.hy.min.js create mode 100644 assets/javascripts/lunr/min/lunr.it.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ja.min.js create mode 100644 assets/javascripts/lunr/min/lunr.jp.min.js create mode 100644 assets/javascripts/lunr/min/lunr.kn.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ko.min.js create mode 100644 assets/javascripts/lunr/min/lunr.multi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.nl.min.js create mode 100644 assets/javascripts/lunr/min/lunr.no.min.js create mode 100644 assets/javascripts/lunr/min/lunr.pt.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ro.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ru.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sa.min.js create mode 100644 assets/javascripts/lunr/min/lunr.stemmer.support.min.js create mode 100644 assets/javascripts/lunr/min/lunr.sv.min.js create mode 100644 assets/javascripts/lunr/min/lunr.ta.min.js create mode 100644 assets/javascripts/lunr/min/lunr.te.min.js create mode 100644 assets/javascripts/lunr/min/lunr.th.min.js create mode 100644 assets/javascripts/lunr/min/lunr.tr.min.js create mode 100644 assets/javascripts/lunr/min/lunr.vi.min.js create mode 100644 assets/javascripts/lunr/min/lunr.zh.min.js create mode 100644 assets/javascripts/lunr/tinyseg.js create mode 100644 assets/javascripts/lunr/wordcut.js create mode 100644 assets/javascripts/workers/search.f886a092.min.js create mode 100644 assets/javascripts/workers/search.f886a092.min.js.map create mode 100644 assets/stylesheets/main.35e1ed30.min.css create mode 100644 assets/stylesheets/main.35e1ed30.min.css.map create mode 100644 assets/stylesheets/palette.356b1318.min.css create mode 100644 assets/stylesheets/palette.356b1318.min.css.map create mode 100644 components/hot-button/index.html create mode 100644 css/extra.css create mode 100644 images/favicon.png create mode 100644 images/hot_logo.png create mode 100644 index.html create mode 100644 search/search_index.json create mode 100644 sitemap.xml create mode 100644 sitemap.xml.gz create mode 100644 stories/assets/Button.stories-cIaO0HOI.js create mode 100644 stories/assets/Color-6VNJS4EI-3GwCHIpa.js create mode 100644 stories/assets/DocsRenderer-NNNQARDV-6HJJ3vg0.js create mode 100644 stories/assets/WithTooltip-V3YHNWJZ-vKfOllKm.js create mode 100644 stories/assets/chunk-FJPRWHXQ-znk5Jufl.js create mode 100644 stories/assets/entry-preview-CAjq6_R0.js create mode 100644 stories/assets/entry-preview-docs-9IeqEGCG.js create mode 100644 stories/assets/formatter-SWP5E3XI-IJ53By3l.js create mode 100644 stories/assets/iframe-dvAbLE1t.js create mode 100644 stories/assets/index-HZNADR7h.js create mode 100644 stories/assets/index-P7URiQBb.js create mode 100644 stories/assets/index-PPLHz8o0.js create mode 100644 stories/assets/index-ogXoivrg.js create mode 100644 stories/assets/lit-element-qTWDNZ1g.js create mode 100644 stories/assets/preview-9bpQVOkQ.js create mode 100644 stories/assets/preview-OnO0tzRj.js create mode 100644 stories/assets/preview-VI2eoWmp.js create mode 100644 stories/assets/preview-X4V3ORWO.js create mode 100644 stories/assets/preview-YO_4tSSO.css create mode 100644 stories/assets/preview-bEa2SesL.js create mode 100644 stories/assets/preview-gK3TgrKV.js create mode 100644 stories/assets/preview-u8M_OEO2.js create mode 100644 stories/assets/preview-wm7zCcxo.js create mode 100644 stories/assets/syntaxhighlighter-V7JZZA35-1Ztqsc9D.js create mode 100644 stories/assets/tiny-invariant-VyoA2Os1.js create mode 100644 stories/favicon.svg create mode 100644 stories/iframe.html create mode 100644 stories/index.html create mode 100644 stories/index.json create mode 100644 stories/project.json create mode 100644 stories/sb-addons/essentials-actions-2/manager-bundle.js create mode 100644 stories/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-backgrounds-3/manager-bundle.js create mode 100644 stories/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-controls-1/manager-bundle.js create mode 100644 stories/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-measure-6/manager-bundle.js create mode 100644 stories/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-outline-7/manager-bundle.js create mode 100644 stories/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-toolbars-5/manager-bundle.js create mode 100644 stories/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/essentials-viewport-4/manager-bundle.js create mode 100644 stories/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-addons/links-0/manager-bundle.js create mode 100644 stories/sb-addons/links-0/manager-bundle.js.LEGAL.txt create mode 100644 stories/sb-common-assets/fonts.css create mode 100644 stories/sb-common-assets/nunito-sans-bold-italic.woff2 create mode 100644 stories/sb-common-assets/nunito-sans-bold.woff2 create mode 100644 stories/sb-common-assets/nunito-sans-italic.woff2 create mode 100644 stories/sb-common-assets/nunito-sans-regular.woff2 create mode 100644 stories/sb-manager/WithTooltip-V3YHNWJZ-LVYLGZW2.js create mode 100644 stories/sb-manager/chunk-2IXBUOFS.js create mode 100644 stories/sb-manager/chunk-DPK7JLP2.js create mode 100644 stories/sb-manager/chunk-INSKDKQB.js create mode 100644 stories/sb-manager/chunk-NGTUFCUO.js create mode 100644 stories/sb-manager/chunk-ZEU7PDD3.js create mode 100644 stories/sb-manager/formatter-SWP5E3XI-7BGIK6BL.js create mode 100644 stories/sb-manager/globals-module-info.js create mode 100644 stories/sb-manager/globals.js create mode 100644 stories/sb-manager/index.js create mode 100644 stories/sb-manager/runtime.js create mode 100644 stories/sb-manager/syntaxhighlighter-V7JZZA35-DXZCI2WR.js create mode 100644 stories/sb-preview/globals.js create mode 100644 stories/sb-preview/runtime.js create mode 100644 stories/stories.json create mode 100644 visual/index.html diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/404.html b/404.html new file mode 100644 index 0000000..bedee07 --- /dev/null +++ b/404.html @@ -0,0 +1,473 @@ + + + +
+ + + + + + + + + + + + + + + + +HOT maintains many web based tools that require a UI.
+Typically these interfaces were developed using React, due to existing +experience and to avoid fragmentation.
+Going forward HOT requires a more flexible approach that can be used in +multiple different frameworks (including directly in HTML & also HTMX).
+The solution to this is Web Components, which are framework agnostic.
+Web Components are built upon four existing technologies:
+<template>
and <slot>
elementsDOM Diffing
and other performance
+ enhancements.Most of the limitations are addressed by using a framework like Lit.
+A vanilla Web Component:
+class MyElement extends HTMLElement {
+ constructor() {
+ super();
+ const shadow = this.attachShadow({ mode: "open" });
+ const div = document.createElement("div");
+ div.textContent = "Hello, World!";
+ shadow.appendChild(div);
+ }
+}
+
+customElements.define("my-element", MyElement);
+
The component can be used directly in HTML:
+<div>
+ <!-- other html -->
+ <my-element></my-element>
+</div>
+
With React:
+// components/button.tsx
+
+import { cva } from "class-variance-authority";
+
+const buttonStyles = cva("font-semibold rounded border", {
+ variants: {
+ intent: {
+ primary: "bg-blue-500 text-white border-transparent hover:bg-blue-600",
+ secondary: "bg-white text-gray-800 border-gray-400 hover:bg-gray-100"
+ },
+ size: {
+ small: "text-sm py-1 px-2",
+ medium: "text-base py-2 px-4",
+ },
+ },
+ defaultVariants: {
+ intent: "primary",
+ size: "medium",
+ },
+});
+
+// regular button props
+type ButtonProps = {
+ label: string;
+ onClick?: (onClickProps: any) => void;
+ icon?: IconType; // defined elsewhere, pretend this is JSX
+}
+
+// merging button props and CVA variant props with TS utility types
+type buttonVariantsProps = VariantProps<typeof buttonStyles>;
+interface Props
+ extends ButtonProps,
+ // making intent variant required
+ Omit<buttonVariantsProps, "intent">,
+ Required<Pick<buttonVariantsProps, "intent">> {}
+
+// actual button componenent
+const Button = ({label, onClick, icon, intent, size}: Props) => {
+ return (
+ <button
+ className={buttonStyles({intent, size})}
+ onClick={onClick}
+ >
+ {icon && <Icon/>}
+ {label}
+ </button>
+ )
+}
+
{"use strict";/*!
+ * escape-html
+ * Copyright(c) 2012-2013 TJ Holowaychuk
+ * Copyright(c) 2015 Andreas Lubbe
+ * Copyright(c) 2015 Tiancheng "Timothy" Gu
+ * MIT Licensed
+ */var Ha=/["'&<>]/;Un.exports=$a;function $a(e){var t=""+e,r=Ha.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i