@scalar/components 0.4.4 → 0.4.6
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/LICENSE +1 -1
- package/dist/index.cjs +23 -24
- package/dist/index.js +258 -605
- package/dist/main.css +1 -0
- package/dist/prism-autoloader-Dlh8Vzlw.js +370 -0
- package/dist/prism-autoloader-hGN9n4IP.cjs +1 -0
- package/package.json +5 -5
package/dist/main.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loader-wrapper:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-wrapper[data-v-42a08e16]{position:relative;height:var(--8d3a1414);width:var(--8d3a1414);display:flex;align-items:center;justify-content:center;--default-loader-size: 50%}.svg-loader:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-loader[data-v-42a08e16]{width:var(--loader-size, var(--default-loader-size));height:var(--loader-size, var(--default-loader-size));top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-path[data-v-42a08e16]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-x-mark[data-v-42a08e16]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-check-mark[data-v-42a08e16]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .icon-is-invalid .svg-x-mark[data-v-42a08e16]{stroke-dashoffset:0;transition-delay:.3s}.icon-is-valid .svg-check-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .icon-is-valid .svg-check-mark[data-v-42a08e16]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .circular-loader[data-v-42a08e16]{animation:rotate-42a08e16 .7s linear infinite,fade-in-42a08e16 .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-path[data-v-42a08e16]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-path-off[data-v-42a08e16]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-42a08e16{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-42a08e16{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-codeblock-code[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-code[class*=language-],.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{color:var(--theme-color-3, var(--default-theme-color-2));background:none;font-family:var(--theme-font-code, var(--default-theme-font-code));font-size:var(--theme-small, var(--default-theme-small));text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{margin:0;padding:.5rem;overflow:auto}:not(pre)>code[class*=language-]:where(.scalar-component),:where(.scalar-component) :not(pre)>code[class*=language-],.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{background:var(--theme-background-2, var(--default-theme-background-2))}.line-numbers.scalar-codeblock-pre[class*=language-]{position:relative;padding-left:2em;counter-reset:linenumber}.line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3em;width:3em;letter-spacing:-1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}:not(pre)>code[class*=language-]:where(.scalar-component),:where(.scalar-component) :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment:where(.scalar-component),:where(.scalar-component) .token.comment,.token.block-comment:where(.scalar-component),:where(.scalar-component) .token.block-comment,.token.prolog:where(.scalar-component),:where(.scalar-component) .token.prolog,.token.doctype:where(.scalar-component),:where(.scalar-component) .token.doctype,.token.cdata:where(.scalar-component),:where(.scalar-component) .token.cdata{color:var(--theme-color-2, var(--default-theme-color-2))}.token.punctuation:where(.scalar-component),:where(.scalar-component) .token.punctuation{color:var(--theme-color-3, var(--default-theme-color-3))}.token.tag:where(.scalar-component),:where(.scalar-component) .token.tag,.token.attr-name:where(.scalar-component),:where(.scalar-component) .token.attr-name,.token.namespace:where(.scalar-component),:where(.scalar-component) .token.namespace,.token.deleted:where(.scalar-component),:where(.scalar-component) .token.deleted{color:var(--theme-color-red, var(--default-theme-color-red))}.token.function-name:where(.scalar-component),:where(.scalar-component) .token.function-name{color:var(--theme-color-green, var(--default-theme-color-green))}.token.boolean:where(.scalar-component),:where(.scalar-component) .token.boolean,.token.number:where(.scalar-component),:where(.scalar-component) .token.number,.token.function:where(.scalar-component),:where(.scalar-component) .token.function{color:var(--theme-color-orange, var(--default-theme-color-orange))}.token.property:where(.scalar-component),:where(.scalar-component) .token.property,.token.class-name:where(.scalar-component),:where(.scalar-component) .token.class-name,.token.constant:where(.scalar-component),:where(.scalar-component) .token.constant,.token.symbol:where(.scalar-component),:where(.scalar-component) .token.symbol{color:var(--theme-color-1, var(--default-theme-color-1))}.token.selector:where(.scalar-component),:where(.scalar-component) .token.selector,.token.important:where(.scalar-component),:where(.scalar-component) .token.important,.token.atrule:where(.scalar-component),:where(.scalar-component) .token.atrule,.token.keyword:where(.scalar-component),:where(.scalar-component) .token.keyword,.token.builtin:where(.scalar-component),:where(.scalar-component) .token.builtin{color:var(--theme-color-purple, var(--default-theme-color-purple))}.token.string:where(.scalar-component),:where(.scalar-component) .token.string,.token.char:where(.scalar-component),:where(.scalar-component) .token.char,.token.attr-value:where(.scalar-component),:where(.scalar-component) .token.attr-value,.token.regex:where(.scalar-component),:where(.scalar-component) .token.regex,.token.variable:where(.scalar-component),:where(.scalar-component) .token.variable{color:var(--theme-color-blue, var(--default-theme-color-blue))}.light-mode .dark-mode .language-shell .token.variable:where(.scalar-component),:where(.scalar-component) .light-mode .dark-mode .language-shell .token.variable{color:var(--theme-color-1, var(--default-theme-color-1))}.light-mode .dark-mode .language-shell .token.string:where(.scalar-component),:where(.scalar-component) .light-mode .dark-mode .language-shell .token.string{color:var(--theme-color-blue, var(--default-theme-color-blue))}.language-shell .token.string:where(.scalar-component),:where(.scalar-component) .language-shell .token.string{color:var(--theme-color-1, var(--default-theme-color-1))}.token.operator:where(.scalar-component),:where(.scalar-component) .token.operator,.token.entity:where(.scalar-component),:where(.scalar-component) .token.entity,.token.url:where(.scalar-component),:where(.scalar-component) .token.url{color:var(--theme-color-3, var(--default-theme-color-3))}.token.important:where(.scalar-component),:where(.scalar-component) .token.important,.token.bold:where(.scalar-component),:where(.scalar-component) .token.bold{font-weight:700}.token.italic:where(.scalar-component),:where(.scalar-component) .token.italic{font-style:italic}.token.entity:where(.scalar-component),:where(.scalar-component) .token.entity{cursor:help}.token.inserted:where(.scalar-component),:where(.scalar-component) .token.inserted{color:var(--theme-color-green, var(--default-theme-color-green))}.credentials:where(.scalar-component),:where(.scalar-component) .credentials{font-size:0;color:transparent}.credentials:after:where(.scalar-component),:where(.scalar-component) .credentials:after{content:"·····";font-size:var(--theme-small, var(--default-theme-small));color:var(--theme-color-3, var(--default-theme-color-3))}.scalar-modal-layout:where(.scalar-component[data-v-ff85ced0]),:where(.scalar-component) .scalar-modal-layout[data-v-ff85ced0]{animation:modal-fade-ff85ced0 .2s forwards}.scalar-modal:where(.scalar-component[data-v-ff85ced0]),:where(.scalar-component) .scalar-modal[data-v-ff85ced0]{transform:scale(.98);animation:modal-pop-ff85ced0 .15s .15s forwards}@keyframes modal-fade-ff85ced0{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-ff85ced0{0%{opacity:0}to{opacity:1;transform:scale(1)}}.scalar-input-wrapper-focus .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-1, var(--default-theme-color-1))}.scalar-input-wrapper-error .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-error .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-error-color, var(--default-theme-color-red))}.scalar-input::-moz-selection:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]::-moz-selection{color:var(--theme-color-1, var(--default-theme-color-1));background:#ffa55859}.scalar-input::selection:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]::selection{color:var(--theme-color-1, var(--default-theme-color-1));background:#ffa55859}.scalar-input:has(+.scalar-input-label):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:has(+.scalar-input-label){opacity:0}.scalar-input:not(:-moz-placeholder-shown):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input:not(:placeholder-shown):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input[data-v-4717ec50]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input:-webkit-autofill:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill,.scalar-input:-webkit-autofill:hover:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:hover,.scalar-input:-webkit-autofill:focus:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:focus,.scalar-input:-webkit-autofill:active:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:active,.scalar-input:focus-within:-webkit-autofill:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill,.scalar-input:focus-within:-webkit-autofill:hover:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:hover,.scalar-input:focus-within:-webkit-autofill:focus:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:focus,.scalar-input:focus-within:-webkit-autofill:active:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--theme-background-1, var(--default-theme-background-1)) inset!important;-webkit-text-fill-color:var(--theme-color-1, var(--default-theme-color-1));color:var(--theme-color-1, var(--default-theme-color-1));border-radius:var(--theme-radius, var(--default-theme-radius))}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-4717ec50]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input-label[data-v-4717ec50],.scalar-input:not(:placeholder-shown)+.scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-4717ec50]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-3, var(--default-theme-color-3))!important}:where(.scalar-component),:where(.scalar-component) *{box-sizing:border-box;border-width:unset;border-style:unset;border-color:currentColor;font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:unset;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset}:where(.scalar-component),:where(.scalar-component) *,:before:where(.scalar-component),:where(.scalar-component) :before,:after:where(.scalar-component),:where(.scalar-component) :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop:where(.scalar-component),:where(.scalar-component) ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sr-only:where(.scalar-component),:where(.scalar-component) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none:where(.scalar-component),:where(.scalar-component) .pointer-events-none{pointer-events:none}.visible:where(.scalar-component),:where(.scalar-component) .visible{visibility:visible}.fixed:where(.scalar-component),:where(.scalar-component) .fixed{position:fixed}.absolute:where(.scalar-component),:where(.scalar-component) .absolute{position:absolute}.relative:where(.scalar-component),:where(.scalar-component) .relative{position:relative}.left-0:where(.scalar-component),:where(.scalar-component) .left-0{left:0}.top-0:where(.scalar-component),:where(.scalar-component) .top-0{top:0}.z-10:where(.scalar-component),:where(.scalar-component) .z-10{z-index:10}.z-\[1001\]:where(.scalar-component),:where(.scalar-component) .z-\[1001\]{z-index:1001}.m-0:where(.scalar-component),:where(.scalar-component) .m-0{margin:0}.mx-2:where(.scalar-component),:where(.scalar-component) .mx-2{margin-left:8px;margin-right:8px}.mx-auto:where(.scalar-component),:where(.scalar-component) .mx-auto{margin-left:auto;margin-right:auto}.my-3:where(.scalar-component),:where(.scalar-component) .my-3{margin-top:12px;margin-bottom:12px}.mb-0:where(.scalar-component),:where(.scalar-component) .mb-0{margin-bottom:0}.ml-2:where(.scalar-component),:where(.scalar-component) .ml-2{margin-left:8px}.mr-2:where(.scalar-component),:where(.scalar-component) .mr-2{margin-right:8px}.mt-1:where(.scalar-component),:where(.scalar-component) .mt-1{margin-top:4px}.mt-1\.5:where(.scalar-component),:where(.scalar-component) .mt-1\.5{margin-top:6px}.mt-20:where(.scalar-component),:where(.scalar-component) .mt-20{margin-top:80px}.block:where(.scalar-component),:where(.scalar-component) .block{display:block}.flex:where(.scalar-component),:where(.scalar-component) .flex{display:flex}.grid:where(.scalar-component),:where(.scalar-component) .grid{display:grid}.hidden:where(.scalar-component),:where(.scalar-component) .hidden{display:none}.aspect-square:where(.scalar-component),:where(.scalar-component) .aspect-square{aspect-ratio:1 / 1}.h-10:where(.scalar-component),:where(.scalar-component) .h-10{height:40px}.h-3:where(.scalar-component),:where(.scalar-component) .h-3{height:12px}.h-3\.5:where(.scalar-component),:where(.scalar-component) .h-3\.5{height:14px}.h-4:where(.scalar-component),:where(.scalar-component) .h-4{height:16px}.h-5:where(.scalar-component),:where(.scalar-component) .h-5{height:20px}.h-6:where(.scalar-component),:where(.scalar-component) .h-6{height:24px}.h-\[100dvh\]:where(.scalar-component),:where(.scalar-component) .h-\[100dvh\]{height:100dvh}.h-full:where(.scalar-component),:where(.scalar-component) .h-full{height:100%}.max-h-\[440px\]:where(.scalar-component),:where(.scalar-component) .max-h-\[440px\]{max-height:440px}.max-h-\[calc\(100dvh-240px\)\]:where(.scalar-component),:where(.scalar-component) .max-h-\[calc\(100dvh-240px\)\]{max-height:calc(100dvh - 240px)}.min-h-\[77px\]:where(.scalar-component),:where(.scalar-component) .min-h-\[77px\]{min-height:77px}.w-10:where(.scalar-component),:where(.scalar-component) .w-10{width:40px}.w-3:where(.scalar-component),:where(.scalar-component) .w-3{width:12px}.w-3\.5:where(.scalar-component),:where(.scalar-component) .w-3\.5{width:14px}.w-4:where(.scalar-component),:where(.scalar-component) .w-4{width:16px}.w-5:where(.scalar-component),:where(.scalar-component) .w-5{width:20px}.w-6:where(.scalar-component),:where(.scalar-component) .w-6{width:24px}.w-\[100dvw\]:where(.scalar-component),:where(.scalar-component) .w-\[100dvw\]{width:100dvw}.w-full:where(.scalar-component),:where(.scalar-component) .w-full{width:100%}.max-w-screen-lg:where(.scalar-component),:where(.scalar-component) .max-w-screen-lg{max-width:800px}.max-w-screen-md:where(.scalar-component),:where(.scalar-component) .max-w-screen-md{max-width:640px}.max-w-screen-sm:where(.scalar-component),:where(.scalar-component) .max-w-screen-sm{max-width:540px}.max-w-screen-xs:where(.scalar-component),:where(.scalar-component) .max-w-screen-xs{max-width:480px}.origin-top-left:where(.scalar-component),:where(.scalar-component) .origin-top-left{transform-origin:top left}.transform:where(.scalar-component),:where(.scalar-component) .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed:where(.scalar-component),:where(.scalar-component) .cursor-not-allowed{cursor:not-allowed}.cursor-pointer:where(.scalar-component),:where(.scalar-component) .cursor-pointer{cursor:pointer}.resize-none:where(.scalar-component),:where(.scalar-component) .resize-none{resize:none}.appearance-none:where(.scalar-component),:where(.scalar-component) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-start:where(.scalar-component),:where(.scalar-component) .items-start{align-items:flex-start}.items-center:where(.scalar-component),:where(.scalar-component) .items-center{align-items:center}.justify-center:where(.scalar-component),:where(.scalar-component) .justify-center{justify-content:center}.gap-1:where(.scalar-component),:where(.scalar-component) .gap-1{gap:4px}.gap-4:where(.scalar-component),:where(.scalar-component) .gap-4{gap:16px}.overflow-hidden:where(.scalar-component),:where(.scalar-component) .overflow-hidden{overflow:hidden}.overflow-y-auto:where(.scalar-component),:where(.scalar-component) .overflow-y-auto{overflow-y:auto}.rounded:where(.scalar-component),:where(.scalar-component) .rounded{border-radius:var(--theme-radius, var(--default-theme-radius))}.rounded-lg:where(.scalar-component),:where(.scalar-component) .rounded-lg{border-radius:var(--theme-radius-lg, var(--default-theme-radius-lg))}.border:where(.scalar-component),:where(.scalar-component) .border{border-width:1px}.border-0:where(.scalar-component),:where(.scalar-component) .border-0{border-width:0px}.border-solid:where(.scalar-component),:where(.scalar-component) .border-solid{border-style:solid}.border-border:where(.scalar-component),:where(.scalar-component) .border-border{border-color:var(--theme-border-color, var(--default-theme-border-color))}.border-error:where(.scalar-component),:where(.scalar-component) .border-error{border-color:var(--theme-error-color, var(--default-theme-color-red))}.border-fore-3:where(.scalar-component),:where(.scalar-component) .border-fore-3{border-color:var(--theme-color-3, var(--default-theme-color-3))}.bg-back-1:where(.scalar-component),:where(.scalar-component) .bg-back-1{background-color:var(--theme-background-1, var(--default-theme-background-1))}.bg-back-2:where(.scalar-component),:where(.scalar-component) .bg-back-2{background-color:var(--theme-background-2, var(--default-theme-background-2))}.bg-back-btn-1:where(.scalar-component),:where(.scalar-component) .bg-back-btn-1{background-color:var(--theme-button-1, var(--default-theme-button-1))}.bg-backdrop:where(.scalar-component),:where(.scalar-component) .bg-backdrop{background-color:#00000070}.bg-error:where(.scalar-component),:where(.scalar-component) .bg-error{background-color:var(--theme-error-color, var(--default-theme-color-red))}.bg-transparent:where(.scalar-component),:where(.scalar-component) .bg-transparent{background-color:transparent}.p-0:where(.scalar-component),:where(.scalar-component) .p-0{padding:0}.p-0\.5:where(.scalar-component),:where(.scalar-component) .p-0\.5{padding:2px}.p-1:where(.scalar-component),:where(.scalar-component) .p-1{padding:4px}.p-3:where(.scalar-component),:where(.scalar-component) .p-3{padding:12px}.p-5:where(.scalar-component),:where(.scalar-component) .p-5{padding:20px}.px-1:where(.scalar-component),:where(.scalar-component) .px-1{padding-left:4px;padding-right:4px}.px-4:where(.scalar-component),:where(.scalar-component) .px-4{padding-left:16px;padding-right:16px}.px-6:where(.scalar-component),:where(.scalar-component) .px-6{padding-left:24px;padding-right:24px}.px-9:where(.scalar-component),:where(.scalar-component) .px-9{padding-left:36px;padding-right:36px}.py-1:where(.scalar-component),:where(.scalar-component) .py-1{padding-top:4px;padding-bottom:4px}.py-3:where(.scalar-component),:where(.scalar-component) .py-3{padding-top:12px;padding-bottom:12px}.pb-0:where(.scalar-component),:where(.scalar-component) .pb-0{padding-bottom:0}.pb-4:where(.scalar-component),:where(.scalar-component) .pb-4{padding-bottom:16px}.pl-9:where(.scalar-component),:where(.scalar-component) .pl-9{padding-left:36px}.pr-3:where(.scalar-component),:where(.scalar-component) .pr-3{padding-right:12px}.pt-3:where(.scalar-component),:where(.scalar-component) .pt-3{padding-top:12px}.pt-6:where(.scalar-component),:where(.scalar-component) .pt-6{padding-top:24px}.text-left:where(.scalar-component),:where(.scalar-component) .text-left{text-align:left}.text-sm:where(.scalar-component),:where(.scalar-component) .text-sm{font-size:var(--theme-small, var(--default-theme-small, var(--theme-font-size-3, var(--default-theme-font-size-3))))}.text-xs:where(.scalar-component),:where(.scalar-component) .text-xs{font-size:var(--theme-mini, var(--default-theme-mini, var(--theme-font-size-4, var(--default-theme-font-size-4))))}.font-medium:where(.scalar-component),:where(.scalar-component) .font-medium{font-weight:var(--theme-font-medium, var(--default-theme-font-medium))}.font-normal:where(.scalar-component),:where(.scalar-component) .font-normal{font-weight:400}.italic:where(.scalar-component),:where(.scalar-component) .italic{font-style:italic}.text-error:where(.scalar-component),:where(.scalar-component) .text-error{color:var(--theme-error-color, var(--default-theme-color-red))}.text-fore-1:where(.scalar-component),:where(.scalar-component) .text-fore-1{color:var(--theme-color-1, var(--default-theme-color-1))}.text-fore-3:where(.scalar-component),:where(.scalar-component) .text-fore-3{color:var(--theme-color-3, var(--default-theme-color-3))}.text-fore-btn-1:where(.scalar-component),:where(.scalar-component) .text-fore-btn-1{color:var(--theme-button-1-color, var(--default-theme-button-1-color))}.text-ghost:where(.scalar-component),:where(.scalar-component) .text-ghost{color:var(--theme-color-ghost, var(--default-theme-color-ghost))}.text-white:where(.scalar-component),:where(.scalar-component) .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0:where(.scalar-component),:where(.scalar-component) .opacity-0{opacity:0}.shadow-none:where(.scalar-component),:where(.scalar-component) .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm:where(.scalar-component),:where(.scalar-component) .shadow-sm{--tw-shadow: rgba(0, 0, 0, .09) 0px 1px 4px;--tw-shadow-colored: 0px 1px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none:where(.scalar-component),:where(.scalar-component) .outline-none{outline:2px solid transparent;outline-offset:2px}.outline:where(.scalar-component),:where(.scalar-component) .outline{outline-style:solid}.blur:where(.scalar-component),:where(.scalar-component) .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter:where(.scalar-component),:where(.scalar-component) .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition:where(.scalar-component),:where(.scalar-component) .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity:where(.scalar-component),:where(.scalar-component) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform:where(.scalar-component),:where(.scalar-component) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out:where(.scalar-component),:where(.scalar-component) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.row:where(.scalar-component),:where(.scalar-component) .row{display:flex;flex-direction:row}.col:where(.scalar-component),:where(.scalar-component) .col{display:flex;flex-direction:column}.before\:mr-1:before:where(.scalar-component),:where(.scalar-component) .before\:mr-1:before{content:var(--tw-content);margin-right:4px}.before\:mr-1\.5:before:where(.scalar-component),:where(.scalar-component) .before\:mr-1\.5:before{content:var(--tw-content);margin-right:6px}.before\:block:before:where(.scalar-component),:where(.scalar-component) .before\:block:before{content:var(--tw-content);display:block}.before\:h-4:before:where(.scalar-component),:where(.scalar-component) .before\:h-4:before{content:var(--tw-content);height:16px}.before\:w-4:before:where(.scalar-component),:where(.scalar-component) .before\:w-4:before{content:var(--tw-content);width:16px}.before\:bg-error:before:where(.scalar-component),:where(.scalar-component) .before\:bg-error:before{content:var(--tw-content);background-color:var(--theme-error-color, var(--default-theme-color-red))}.before\:text-center:before:where(.scalar-component),:where(.scalar-component) .before\:text-center:before{content:var(--tw-content);text-align:center}.before\:text-xxs:before:where(.scalar-component),:where(.scalar-component) .before\:text-xxs:before{content:var(--tw-content);font-size:var(--theme-micro, var(--default-theme-micro, var(--theme-font-size-5, var(--default-theme-font-size-5))))}.before\:font-black:before:where(.scalar-component),:where(.scalar-component) .before\:font-black:before{content:var(--tw-content);font-weight:900}.before\:leading-4:before:where(.scalar-component),:where(.scalar-component) .before\:leading-4:before{content:var(--tw-content);line-height:16px}.before\:text-white:before:where(.scalar-component),:where(.scalar-component) .before\:text-white:before{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.before\:content-\[\'\!\'\]:before:where(.scalar-component),:where(.scalar-component) .before\:content-\[\'\!\'\]:before{--tw-content: "!";content:var(--tw-content)}.empty\:hidden:empty:where(.scalar-component),:where(.scalar-component) .empty\:hidden:empty{display:none}.hover\:text-fore-1:hover:where(.scalar-component),:where(.scalar-component) .hover\:text-fore-1:hover{color:var(--theme-color-1, var(--default-theme-color-1))}.active\:bg-back-btn-1:active:where(.scalar-component),:where(.scalar-component) .active\:bg-back-btn-1:active{background-color:var(--theme-button-1, var(--default-theme-button-1))}.active\:text-fore-2:active:where(.scalar-component),:where(.scalar-component) .active\:text-fore-2:active{color:var(--theme-color-2, var(--default-theme-color-2))}.active\:shadow-none:active:where(.scalar-component),:where(.scalar-component) .active\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.active\:brightness-90:active:where(.scalar-component),:where(.scalar-component) .active\:brightness-90:active{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.has-actv-btn\:border:has(button:active):where(.scalar-component),:where(.scalar-component) .has-actv-btn\:border:has(button:active){border-width:1px}.has-actv-btn\:border-border:has(button:active):where(.scalar-component),:where(.scalar-component) .has-actv-btn\:border-border:has(button:active){border-color:var(--theme-border-color, var(--default-theme-border-color))}.\!empty\:flex:not(:empty):where(.scalar-component),:where(.scalar-component) .\!empty\:flex:not(:empty){display:flex}.\!empty\:w-7:not(:empty):where(.scalar-component),:where(.scalar-component) .\!empty\:w-7:not(:empty){width:28px}.\!empty\:items-center:not(:empty):where(.scalar-component),:where(.scalar-component) .\!empty\:items-center:not(:empty){align-items:center}.\!empty\:pr-3:not(:empty):where(.scalar-component),:where(.scalar-component) .\!empty\:pr-3:not(:empty){padding-right:12px}.hocus\:bg-back-2:hover:where(.scalar-component),:where(.scalar-component) .hocus\:bg-back-2:hover{background-color:var(--theme-background-2, var(--default-theme-background-2))}.hocus\:bg-hover-btn-1:hover:where(.scalar-component),:where(.scalar-component) .hocus\:bg-hover-btn-1:hover{background-color:var(--theme-button-1-hover, var(--default-theme-button-1-hover))}.hocus\:text-fore-2:hover:where(.scalar-component),:where(.scalar-component) .hocus\:text-fore-2:hover{color:var(--theme-color-2, var(--default-theme-color-2))}.hocus\:brightness-90:hover:where(.scalar-component),:where(.scalar-component) .hocus\:brightness-90:hover{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hocus\:bg-back-2:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\:bg-back-2:focus-visible{background-color:var(--theme-background-2, var(--default-theme-background-2))}.hocus\:bg-hover-btn-1:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\:bg-hover-btn-1:focus-visible{background-color:var(--theme-button-1-hover, var(--default-theme-button-1-hover))}.hocus\:text-fore-2:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\:text-fore-2:focus-visible{color:var(--theme-color-2, var(--default-theme-color-2))}.hocus\:brightness-90:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\:brightness-90:focus-visible{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 768px){.md\:row:where(.scalar-component),:where(.scalar-component) .md\:row{display:flex;flex-direction:row}}
|
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
if (typeof Prism > "u" || typeof document > "u")
|
|
3
|
+
return;
|
|
4
|
+
var j = (
|
|
5
|
+
/*dependencies_placeholder[*/
|
|
6
|
+
{
|
|
7
|
+
javascript: "clike",
|
|
8
|
+
actionscript: "javascript",
|
|
9
|
+
apex: [
|
|
10
|
+
"clike",
|
|
11
|
+
"sql"
|
|
12
|
+
],
|
|
13
|
+
arduino: "cpp",
|
|
14
|
+
aspnet: [
|
|
15
|
+
"markup",
|
|
16
|
+
"csharp"
|
|
17
|
+
],
|
|
18
|
+
birb: "clike",
|
|
19
|
+
bison: "c",
|
|
20
|
+
c: "clike",
|
|
21
|
+
csharp: "clike",
|
|
22
|
+
cpp: "c",
|
|
23
|
+
cfscript: "clike",
|
|
24
|
+
chaiscript: [
|
|
25
|
+
"clike",
|
|
26
|
+
"cpp"
|
|
27
|
+
],
|
|
28
|
+
cilkc: "c",
|
|
29
|
+
cilkcpp: "cpp",
|
|
30
|
+
coffeescript: "javascript",
|
|
31
|
+
crystal: "ruby",
|
|
32
|
+
"css-extras": "css",
|
|
33
|
+
d: "clike",
|
|
34
|
+
dart: "clike",
|
|
35
|
+
django: "markup-templating",
|
|
36
|
+
ejs: [
|
|
37
|
+
"javascript",
|
|
38
|
+
"markup-templating"
|
|
39
|
+
],
|
|
40
|
+
etlua: [
|
|
41
|
+
"lua",
|
|
42
|
+
"markup-templating"
|
|
43
|
+
],
|
|
44
|
+
erb: [
|
|
45
|
+
"ruby",
|
|
46
|
+
"markup-templating"
|
|
47
|
+
],
|
|
48
|
+
fsharp: "clike",
|
|
49
|
+
"firestore-security-rules": "clike",
|
|
50
|
+
flow: "javascript",
|
|
51
|
+
ftl: "markup-templating",
|
|
52
|
+
gml: "clike",
|
|
53
|
+
glsl: "c",
|
|
54
|
+
go: "clike",
|
|
55
|
+
gradle: "clike",
|
|
56
|
+
groovy: "clike",
|
|
57
|
+
haml: "ruby",
|
|
58
|
+
handlebars: "markup-templating",
|
|
59
|
+
haxe: "clike",
|
|
60
|
+
hlsl: "c",
|
|
61
|
+
idris: "haskell",
|
|
62
|
+
java: "clike",
|
|
63
|
+
javadoc: [
|
|
64
|
+
"markup",
|
|
65
|
+
"java",
|
|
66
|
+
"javadoclike"
|
|
67
|
+
],
|
|
68
|
+
jolie: "clike",
|
|
69
|
+
jsdoc: [
|
|
70
|
+
"javascript",
|
|
71
|
+
"javadoclike",
|
|
72
|
+
"typescript"
|
|
73
|
+
],
|
|
74
|
+
"js-extras": "javascript",
|
|
75
|
+
json5: "json",
|
|
76
|
+
jsonp: "json",
|
|
77
|
+
"js-templates": "javascript",
|
|
78
|
+
kotlin: "clike",
|
|
79
|
+
latte: [
|
|
80
|
+
"clike",
|
|
81
|
+
"markup-templating",
|
|
82
|
+
"php"
|
|
83
|
+
],
|
|
84
|
+
less: "css",
|
|
85
|
+
lilypond: "scheme",
|
|
86
|
+
liquid: "markup-templating",
|
|
87
|
+
markdown: "markup",
|
|
88
|
+
"markup-templating": "markup",
|
|
89
|
+
mongodb: "javascript",
|
|
90
|
+
n4js: "javascript",
|
|
91
|
+
objectivec: "c",
|
|
92
|
+
opencl: "c",
|
|
93
|
+
parser: "markup",
|
|
94
|
+
php: "markup-templating",
|
|
95
|
+
phpdoc: [
|
|
96
|
+
"php",
|
|
97
|
+
"javadoclike"
|
|
98
|
+
],
|
|
99
|
+
"php-extras": "php",
|
|
100
|
+
plsql: "sql",
|
|
101
|
+
processing: "clike",
|
|
102
|
+
protobuf: "clike",
|
|
103
|
+
pug: [
|
|
104
|
+
"markup",
|
|
105
|
+
"javascript"
|
|
106
|
+
],
|
|
107
|
+
purebasic: "clike",
|
|
108
|
+
purescript: "haskell",
|
|
109
|
+
qsharp: "clike",
|
|
110
|
+
qml: "javascript",
|
|
111
|
+
qore: "clike",
|
|
112
|
+
racket: "scheme",
|
|
113
|
+
cshtml: [
|
|
114
|
+
"markup",
|
|
115
|
+
"csharp"
|
|
116
|
+
],
|
|
117
|
+
jsx: [
|
|
118
|
+
"markup",
|
|
119
|
+
"javascript"
|
|
120
|
+
],
|
|
121
|
+
tsx: [
|
|
122
|
+
"jsx",
|
|
123
|
+
"typescript"
|
|
124
|
+
],
|
|
125
|
+
reason: "clike",
|
|
126
|
+
ruby: "clike",
|
|
127
|
+
sass: "css",
|
|
128
|
+
scss: "css",
|
|
129
|
+
scala: "java",
|
|
130
|
+
"shell-session": "bash",
|
|
131
|
+
smarty: "markup-templating",
|
|
132
|
+
solidity: "clike",
|
|
133
|
+
soy: "markup-templating",
|
|
134
|
+
sparql: "turtle",
|
|
135
|
+
sqf: "clike",
|
|
136
|
+
squirrel: "clike",
|
|
137
|
+
stata: [
|
|
138
|
+
"mata",
|
|
139
|
+
"java",
|
|
140
|
+
"python"
|
|
141
|
+
],
|
|
142
|
+
"t4-cs": [
|
|
143
|
+
"t4-templating",
|
|
144
|
+
"csharp"
|
|
145
|
+
],
|
|
146
|
+
"t4-vb": [
|
|
147
|
+
"t4-templating",
|
|
148
|
+
"vbnet"
|
|
149
|
+
],
|
|
150
|
+
tap: "yaml",
|
|
151
|
+
tt2: [
|
|
152
|
+
"clike",
|
|
153
|
+
"markup-templating"
|
|
154
|
+
],
|
|
155
|
+
textile: "markup",
|
|
156
|
+
twig: "markup-templating",
|
|
157
|
+
typescript: "javascript",
|
|
158
|
+
v: "clike",
|
|
159
|
+
vala: "clike",
|
|
160
|
+
vbnet: "basic",
|
|
161
|
+
velocity: "markup",
|
|
162
|
+
wiki: "markup",
|
|
163
|
+
xeora: "markup",
|
|
164
|
+
"xml-doc": "markup",
|
|
165
|
+
xquery: "markup"
|
|
166
|
+
}
|
|
167
|
+
), d = (
|
|
168
|
+
/*aliases_placeholder[*/
|
|
169
|
+
{
|
|
170
|
+
html: "markup",
|
|
171
|
+
xml: "markup",
|
|
172
|
+
svg: "markup",
|
|
173
|
+
mathml: "markup",
|
|
174
|
+
ssml: "markup",
|
|
175
|
+
atom: "markup",
|
|
176
|
+
rss: "markup",
|
|
177
|
+
js: "javascript",
|
|
178
|
+
g4: "antlr4",
|
|
179
|
+
ino: "arduino",
|
|
180
|
+
"arm-asm": "armasm",
|
|
181
|
+
art: "arturo",
|
|
182
|
+
adoc: "asciidoc",
|
|
183
|
+
avs: "avisynth",
|
|
184
|
+
avdl: "avro-idl",
|
|
185
|
+
gawk: "awk",
|
|
186
|
+
sh: "bash",
|
|
187
|
+
shell: "bash",
|
|
188
|
+
shortcode: "bbcode",
|
|
189
|
+
rbnf: "bnf",
|
|
190
|
+
oscript: "bsl",
|
|
191
|
+
cs: "csharp",
|
|
192
|
+
dotnet: "csharp",
|
|
193
|
+
cfc: "cfscript",
|
|
194
|
+
"cilk-c": "cilkc",
|
|
195
|
+
"cilk-cpp": "cilkcpp",
|
|
196
|
+
cilk: "cilkcpp",
|
|
197
|
+
coffee: "coffeescript",
|
|
198
|
+
conc: "concurnas",
|
|
199
|
+
jinja2: "django",
|
|
200
|
+
"dns-zone": "dns-zone-file",
|
|
201
|
+
dockerfile: "docker",
|
|
202
|
+
gv: "dot",
|
|
203
|
+
eta: "ejs",
|
|
204
|
+
xlsx: "excel-formula",
|
|
205
|
+
xls: "excel-formula",
|
|
206
|
+
gamemakerlanguage: "gml",
|
|
207
|
+
po: "gettext",
|
|
208
|
+
gni: "gn",
|
|
209
|
+
ld: "linker-script",
|
|
210
|
+
"go-mod": "go-module",
|
|
211
|
+
hbs: "handlebars",
|
|
212
|
+
mustache: "handlebars",
|
|
213
|
+
hs: "haskell",
|
|
214
|
+
idr: "idris",
|
|
215
|
+
gitignore: "ignore",
|
|
216
|
+
hgignore: "ignore",
|
|
217
|
+
npmignore: "ignore",
|
|
218
|
+
webmanifest: "json",
|
|
219
|
+
kt: "kotlin",
|
|
220
|
+
kts: "kotlin",
|
|
221
|
+
kum: "kumir",
|
|
222
|
+
tex: "latex",
|
|
223
|
+
context: "latex",
|
|
224
|
+
ly: "lilypond",
|
|
225
|
+
emacs: "lisp",
|
|
226
|
+
elisp: "lisp",
|
|
227
|
+
"emacs-lisp": "lisp",
|
|
228
|
+
md: "markdown",
|
|
229
|
+
moon: "moonscript",
|
|
230
|
+
n4jsd: "n4js",
|
|
231
|
+
nani: "naniscript",
|
|
232
|
+
objc: "objectivec",
|
|
233
|
+
qasm: "openqasm",
|
|
234
|
+
objectpascal: "pascal",
|
|
235
|
+
px: "pcaxis",
|
|
236
|
+
pcode: "peoplecode",
|
|
237
|
+
plantuml: "plant-uml",
|
|
238
|
+
pq: "powerquery",
|
|
239
|
+
mscript: "powerquery",
|
|
240
|
+
pbfasm: "purebasic",
|
|
241
|
+
purs: "purescript",
|
|
242
|
+
py: "python",
|
|
243
|
+
qs: "qsharp",
|
|
244
|
+
rkt: "racket",
|
|
245
|
+
razor: "cshtml",
|
|
246
|
+
rpy: "renpy",
|
|
247
|
+
res: "rescript",
|
|
248
|
+
robot: "robotframework",
|
|
249
|
+
rb: "ruby",
|
|
250
|
+
"sh-session": "shell-session",
|
|
251
|
+
shellsession: "shell-session",
|
|
252
|
+
smlnj: "sml",
|
|
253
|
+
sol: "solidity",
|
|
254
|
+
sln: "solution-file",
|
|
255
|
+
rq: "sparql",
|
|
256
|
+
sclang: "supercollider",
|
|
257
|
+
t4: "t4-cs",
|
|
258
|
+
trickle: "tremor",
|
|
259
|
+
troy: "tremor",
|
|
260
|
+
trig: "turtle",
|
|
261
|
+
ts: "typescript",
|
|
262
|
+
tsconfig: "typoscript",
|
|
263
|
+
uscript: "unrealscript",
|
|
264
|
+
uc: "unrealscript",
|
|
265
|
+
url: "uri",
|
|
266
|
+
vb: "visual-basic",
|
|
267
|
+
vba: "visual-basic",
|
|
268
|
+
webidl: "web-idl",
|
|
269
|
+
mathematica: "wolfram",
|
|
270
|
+
nb: "wolfram",
|
|
271
|
+
wl: "wolfram",
|
|
272
|
+
xeoracube: "xeora",
|
|
273
|
+
yml: "yaml"
|
|
274
|
+
}
|
|
275
|
+
), l = {}, y = "none", p = "components/", u = Prism.util.currentScript();
|
|
276
|
+
if (u) {
|
|
277
|
+
var k = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, f = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, g = u.getAttribute("data-autoloader-path");
|
|
278
|
+
if (g != null)
|
|
279
|
+
p = g.trim().replace(/\/?$/, "/");
|
|
280
|
+
else {
|
|
281
|
+
var n = u.src;
|
|
282
|
+
k.test(n) ? p = n.replace(k, "components/") : f.test(n) && (p = n.replace(f, "$1components/"));
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
var h = Prism.plugins.autoloader = {
|
|
286
|
+
languages_path: p,
|
|
287
|
+
use_minified: !0,
|
|
288
|
+
loadLanguages: m
|
|
289
|
+
};
|
|
290
|
+
function x(e, a, i) {
|
|
291
|
+
var r = document.createElement("script");
|
|
292
|
+
r.src = e, r.async = !0, r.onload = function() {
|
|
293
|
+
document.body.removeChild(r), a && a();
|
|
294
|
+
}, r.onerror = function() {
|
|
295
|
+
document.body.removeChild(r), i && i();
|
|
296
|
+
}, document.body.appendChild(r);
|
|
297
|
+
}
|
|
298
|
+
function q(e) {
|
|
299
|
+
var a = (e.getAttribute("data-dependencies") || "").trim();
|
|
300
|
+
if (!a) {
|
|
301
|
+
var i = e.parentElement;
|
|
302
|
+
i && i.tagName.toLowerCase() === "pre" && (a = (i.getAttribute("data-dependencies") || "").trim());
|
|
303
|
+
}
|
|
304
|
+
return a ? a.split(/\s*,\s*/g) : [];
|
|
305
|
+
}
|
|
306
|
+
function v(e) {
|
|
307
|
+
if (e.indexOf("!") >= 0)
|
|
308
|
+
return !1;
|
|
309
|
+
if (e = d[e] || e, e in Prism.languages)
|
|
310
|
+
return !0;
|
|
311
|
+
var a = l[e];
|
|
312
|
+
return a && !a.error && a.loading === !1;
|
|
313
|
+
}
|
|
314
|
+
function w(e) {
|
|
315
|
+
return h.languages_path + "prism-" + e + (h.use_minified ? ".min" : "") + ".js";
|
|
316
|
+
}
|
|
317
|
+
function m(e, a, i) {
|
|
318
|
+
typeof e == "string" && (e = [e]);
|
|
319
|
+
var r = e.length, c = 0, s = !1;
|
|
320
|
+
if (r === 0) {
|
|
321
|
+
a && setTimeout(a, 0);
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
function t() {
|
|
325
|
+
s || (c++, c === r && a && a(e));
|
|
326
|
+
}
|
|
327
|
+
e.forEach(function(b) {
|
|
328
|
+
_(b, t, function() {
|
|
329
|
+
s || (s = !0, i && i(b));
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
function _(e, a, i) {
|
|
334
|
+
var r = e.indexOf("!") >= 0;
|
|
335
|
+
e = e.replace("!", ""), e = d[e] || e;
|
|
336
|
+
function c() {
|
|
337
|
+
var t = l[e];
|
|
338
|
+
t || (t = l[e] = {
|
|
339
|
+
callbacks: []
|
|
340
|
+
}), t.callbacks.push({
|
|
341
|
+
success: a,
|
|
342
|
+
error: i
|
|
343
|
+
}), !r && v(e) ? o(e, "success") : !r && t.error ? o(e, "error") : (r || !t.loading) && (t.loading = !0, t.error = !1, x(w(e), function() {
|
|
344
|
+
t.loading = !1, o(e, "success");
|
|
345
|
+
}, function() {
|
|
346
|
+
t.loading = !1, t.error = !0, o(e, "error");
|
|
347
|
+
}));
|
|
348
|
+
}
|
|
349
|
+
var s = j[e];
|
|
350
|
+
s && s.length ? m(s, c, i) : c();
|
|
351
|
+
}
|
|
352
|
+
function o(e, a) {
|
|
353
|
+
if (l[e]) {
|
|
354
|
+
for (var i = l[e].callbacks, r = 0, c = i.length; r < c; r++) {
|
|
355
|
+
var s = i[r][a];
|
|
356
|
+
s && setTimeout(s, 0);
|
|
357
|
+
}
|
|
358
|
+
i.length = 0;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
Prism.hooks.add("complete", function(e) {
|
|
362
|
+
var a = e.element, i = e.language;
|
|
363
|
+
if (!(!a || !i || i === y)) {
|
|
364
|
+
var r = q(a);
|
|
365
|
+
/^diff-./i.test(i) ? (r.push("diff"), r.push(i.substr(5))) : r.push(i), r.every(v) || m(r, function() {
|
|
366
|
+
Prism.highlightElement(a);
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(function(){if(typeof Prism>"u"||typeof document>"u")return;var j={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",cfscript:"clike",chaiscript:["clike","cpp"],cilkc:"c",cilkcpp:"cpp",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],etlua:["lua","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike","firestore-security-rules":"clike",flow:"javascript",ftl:"markup-templating",gml:"clike",glsl:"c",go:"clike",gradle:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",idris:"haskell",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike","typescript"],"js-extras":"javascript",json5:"json",jsonp:"json","js-templates":"javascript",kotlin:"clike",latte:["clike","markup-templating","php"],less:"css",lilypond:"scheme",liquid:"markup-templating",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",objectivec:"c",opencl:"c",parser:"markup",php:"markup-templating",phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],purebasic:"clike",purescript:"haskell",qsharp:"clike",qml:"javascript",qore:"clike",racket:"scheme",cshtml:["markup","csharp"],jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",solidity:"clike",soy:"markup-templating",sparql:"turtle",sqf:"clike",squirrel:"clike",stata:["mata","java","python"],"t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup-templating",typescript:"javascript",v:"clike",vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup","xml-doc":"markup",xquery:"markup"},d={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",g4:"antlr4",ino:"arduino","arm-asm":"armasm",art:"arturo",adoc:"asciidoc",avs:"avisynth",avdl:"avro-idl",gawk:"awk",sh:"bash",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",cfc:"cfscript","cilk-c":"cilkc","cilk-cpp":"cilkcpp",cilk:"cilkcpp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gv:"dot",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",po:"gettext",gni:"gn",ld:"linker-script","go-mod":"go-module",hbs:"handlebars",mustache:"handlebars",hs:"haskell",idr:"idris",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",kum:"kumir",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",qasm:"openqasm",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",plantuml:"plant-uml",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",qs:"qsharp",rkt:"racket",razor:"cshtml",rpy:"renpy",res:"rescript",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",sclang:"supercollider",t4:"t4-cs",trickle:"tremor",troy:"tremor",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",url:"uri",vb:"visual-basic",vba:"visual-basic",webidl:"web-idl",mathematica:"wolfram",nb:"wolfram",wl:"wolfram",xeoracube:"xeora",yml:"yaml"},l={},y="none",p="components/",u=Prism.util.currentScript();if(u){var k=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,f=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,g=u.getAttribute("data-autoloader-path");if(g!=null)p=g.trim().replace(/\/?$/,"/");else{var n=u.src;k.test(n)?p=n.replace(k,"components/"):f.test(n)&&(p=n.replace(f,"$1components/"))}}var h=Prism.plugins.autoloader={languages_path:p,use_minified:!0,loadLanguages:m};function x(e,a,i){var r=document.createElement("script");r.src=e,r.async=!0,r.onload=function(){document.body.removeChild(r),a&&a()},r.onerror=function(){document.body.removeChild(r),i&&i()},document.body.appendChild(r)}function q(e){var a=(e.getAttribute("data-dependencies")||"").trim();if(!a){var i=e.parentElement;i&&i.tagName.toLowerCase()==="pre"&&(a=(i.getAttribute("data-dependencies")||"").trim())}return a?a.split(/\s*,\s*/g):[]}function v(e){if(e.indexOf("!")>=0)return!1;if(e=d[e]||e,e in Prism.languages)return!0;var a=l[e];return a&&!a.error&&a.loading===!1}function w(e){return h.languages_path+"prism-"+e+(h.use_minified?".min":"")+".js"}function m(e,a,i){typeof e=="string"&&(e=[e]);var r=e.length,c=0,s=!1;if(r===0){a&&setTimeout(a,0);return}function t(){s||(c++,c===r&&a&&a(e))}e.forEach(function(b){_(b,t,function(){s||(s=!0,i&&i(b))})})}function _(e,a,i){var r=e.indexOf("!")>=0;e=e.replace("!",""),e=d[e]||e;function c(){var t=l[e];t||(t=l[e]={callbacks:[]}),t.callbacks.push({success:a,error:i}),!r&&v(e)?o(e,"success"):!r&&t.error?o(e,"error"):(r||!t.loading)&&(t.loading=!0,t.error=!1,x(w(e),function(){t.loading=!1,o(e,"success")},function(){t.loading=!1,t.error=!0,o(e,"error")}))}var s=j[e];s&&s.length?m(s,c,i):c()}function o(e,a){if(l[e]){for(var i=l[e].callbacks,r=0,c=i.length;r<c;r++){var s=i[r][a];s&&setTimeout(s,0)}i.length=0}}Prism.hooks.add("complete",function(e){var a=e.element,i=e.language;if(!(!a||!i||i===y)){var r=q(a);/^diff-./i.test(i)?(r.push("diff"),r.push(i.substr(5))):r.push(i),r.every(v)||m(r,function(){Prism.highlightElement(a)})}})})();
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "Scalar (https://github.com/scalar)",
|
|
6
6
|
"homepage": "https://github.com/scalar/scalar",
|
|
7
7
|
"bugs": "https://github.com/scalar/scalar/issues/new/choose",
|
|
8
|
-
"version": "0.4.
|
|
8
|
+
"version": "0.4.6",
|
|
9
9
|
"engines": {
|
|
10
10
|
"node": ">=18"
|
|
11
11
|
},
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"ts-node": "^10.9.1",
|
|
62
62
|
"typescript": "^5.4.2",
|
|
63
63
|
"vite": "^5.1.1",
|
|
64
|
-
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
65
64
|
"vite-plugin-dts": "^3.6.3",
|
|
65
|
+
"vite-plugin-lib-inject-css": "^2.0.0",
|
|
66
66
|
"vitest": "^1.2.2",
|
|
67
67
|
"vue": "^3.3.0",
|
|
68
68
|
"vue-tsc": "^1.8.19",
|
|
69
|
-
"@scalar/themes": "0.6.
|
|
69
|
+
"@scalar/themes": "0.6.5"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"vue": "^3.3.0"
|
|
@@ -75,12 +75,12 @@
|
|
|
75
75
|
"build": "run-p types:check \"build-only {@}\" --",
|
|
76
76
|
"build-only": "vite build",
|
|
77
77
|
"build:storybook": "storybook build",
|
|
78
|
-
"dev": "storybook dev -p
|
|
78
|
+
"dev": "storybook dev -p 5100",
|
|
79
79
|
"format": "pnpm prettier --write .",
|
|
80
80
|
"format:check": "pnpm prettier --check .",
|
|
81
81
|
"lint:check": "eslint .",
|
|
82
82
|
"lint:fix": "eslint . --fix",
|
|
83
|
-
"storybook": "storybook dev -p
|
|
83
|
+
"storybook": "storybook dev -p 5100",
|
|
84
84
|
"test": "vitest",
|
|
85
85
|
"typegen:icons": "node --no-warnings --loader ts-node/esm ./src/scripts/typegen.ts",
|
|
86
86
|
"types:check": "vue-tsc --noEmit --composite false"
|