@vizejs/vite-plugin-musea 0.0.1-alpha.120 → 0.0.1-alpha.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gallery/assets/{cssMode-DJrswAQe.js → cssMode-CJhQ5_ix.js} +1 -1
- package/dist/gallery/assets/{editor.api-D4DY7O8u.js → editor.api-ASE8WyAM.js} +1 -1
- package/dist/gallery/assets/{editor.main-yco_NKg8.js → editor.main-Cma4vQHs.js} +2 -2
- package/dist/gallery/assets/{freemarker2-fGDILtD9.js → freemarker2-DBfUbCzr.js} +1 -1
- package/dist/gallery/assets/{handlebars-B-nHriZ1.js → handlebars-D8J8fxvx.js} +1 -1
- package/dist/gallery/assets/{html-DEQfX7Js.js → html-CV__5YWO.js} +1 -1
- package/dist/gallery/assets/{htmlMode-uhEi5PvM.js → htmlMode-Bf6TSizS.js} +1 -1
- package/dist/gallery/assets/{index-DDVac8M2.js → index-0yy-2NJQ.js} +4 -4
- package/dist/gallery/assets/index-DLBj3lpz.css +1 -0
- package/dist/gallery/assets/{javascript-Ckntz9-M.js → javascript-Bgcd5n0p.js} +1 -1
- package/dist/gallery/assets/{jsonMode-CJxVgkT4.js → jsonMode-C3cW8QC6.js} +1 -1
- package/dist/gallery/assets/{liquid-RFSWEd_Y.js → liquid-B-CbADyN.js} +1 -1
- package/dist/gallery/assets/{mdx-D-ehWzfF.js → mdx-wbp4TmId.js} +1 -1
- package/dist/gallery/assets/{monaco.contribution-MjikDBtO.js → monaco.contribution-xYWKV-A3.js} +2 -2
- package/dist/gallery/assets/{python--CNwEUdb.js → python-DFBsc7m6.js} +1 -1
- package/dist/gallery/assets/{razor-DHqz5qi3.js → razor-KMe1wwP0.js} +1 -1
- package/dist/gallery/assets/{tsMode-dK4G_KWy.js → tsMode-Bh__KITB.js} +1 -1
- package/dist/gallery/assets/{typescript-DP1TQDUw.js → typescript-Dueie-TY.js} +1 -1
- package/dist/gallery/assets/{xml-9XPvNCaL.js → xml-JPuKTaLo.js} +1 -1
- package/dist/gallery/assets/{yaml-CNOAXiSl.js → yaml-ChmKv6PR.js} +1 -1
- package/dist/gallery/index.html +2 -2
- package/dist/index.js +30 -45
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/gallery/assets/index-j7lhd4uP.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e}from"./editor.api-
|
|
1
|
+
import{m as e}from"./editor.api-ASE8WyAM.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{blockComment:[`<!--`,`-->`]},brackets:[[`<`,`>`]],autoClosingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],surroundingPairs:[{open:`<`,close:`>`},{open:`'`,close:`'`},{open:`"`,close:`"`}],onEnterRules:[{beforeText:RegExp(`<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:s.languages.IndentAction.IndentOutdent}},{beforeText:RegExp(`<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,`i`),action:{indentAction:s.languages.IndentAction.Indent}}]},l={defaultToken:``,tokenPostfix:`.xml`,ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,``],{include:`@whitespace`},[/(<)(@qualifiedName)/,[{token:`delimiter`},{token:`tag`,next:`@tag`}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:`delimiter`},{token:`tag`},``,{token:`delimiter`}]],[/(<\?)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/(<\!)(@qualifiedName)/,[{token:`delimiter`},{token:`metatag`,next:`@tag`}]],[/<\!\[CDATA\[/,{token:`delimiter.cdata`,next:`@cdata`}],[/&\w+;/,`string.escape`]],cdata:[[/[^\]]+/,``],[/\]\]>/,{token:`delimiter.cdata`,next:`@pop`}],[/\]/,``]],tag:[[/[ \t\r\n]+/,``],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,[`attribute.name`,``,`attribute.value`]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,[`attribute.name`,``,`attribute.value`]],[/@qualifiedName/,`attribute.name`],[/\?>/,{token:`delimiter`,next:`@pop`}],[/(\/)(>)/,[{token:`tag`},{token:`delimiter`,next:`@pop`}]],[/>/,{token:`delimiter`,next:`@pop`}]],whitespace:[[/[ \t\r\n]+/,``],[/<!--/,{token:`comment`,next:`@comment`}]],comment:[[/[^<\-]+/,`comment.content`],[/-->/,{token:`comment`,next:`@pop`}],[/<!--/,`comment.content.invalid`],[/[<\-]/,`comment.content`]]}};export{c as conf,l as language};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e}from"./editor.api-
|
|
1
|
+
import{m as e}from"./editor.api-ASE8WyAM.js";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a=(e,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(let c of r(a))!i.call(e,c)&&c!==o&&t(e,c,{get:()=>a[c],enumerable:!(s=n(a,c))||s.enumerable});return e},o=(e,t,n)=>(a(e,t,`default`),n&&a(n,t,`default`)),s={};o(s,e);var c={comments:{lineComment:`#`},brackets:[[`{`,`}`],[`[`,`]`],[`(`,`)`]],autoClosingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],surroundingPairs:[{open:`{`,close:`}`},{open:`[`,close:`]`},{open:`(`,close:`)`},{open:`"`,close:`"`},{open:`'`,close:`'`}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:s.languages.IndentAction.Indent}}]},l={tokenPostfix:`.yaml`,brackets:[{token:`delimiter.bracket`,open:`{`,close:`}`},{token:`delimiter.square`,open:`[`,close:`]`}],keywords:[`true`,`True`,`TRUE`,`false`,`False`,`FALSE`,`null`,`Null`,`Null`,`~`],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:`@whitespace`},{include:`@comment`},[/%[^ ]+.*$/,`meta.directive`],[/---/,`operators.directivesEnd`],[/\.{3}/,`operators.documentEnd`],[/[-?:](?= )/,`operators`],{include:`@anchor`},{include:`@tagHandle`},{include:`@flowCollections`},{include:`@blockStyle`},[/@numberInteger(?![ \t]*\S+)/,`number`],[/@numberFloat(?![ \t]*\S+)/,`number.float`],[/@numberOctal(?![ \t]*\S+)/,`number.octal`],[/@numberHex(?![ \t]*\S+)/,`number.hex`],[/@numberInfinity(?![ \t]*\S+)/,`number.infinity`],[/@numberNaN(?![ \t]*\S+)/,`number.nan`],[/@numberDate(?![ \t]*\S+)/,`number.date`],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,[`type`,`white`,`operators`,`white`]],{include:`@flowScalars`},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],object:[{include:`@whitespace`},{include:`@comment`},[/\}/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],[/:(?= )/,`operators`],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,`type`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\},]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],array:[{include:`@whitespace`},{include:`@comment`},[/\]/,`@brackets`,`@pop`],[/,/,`delimiter.comma`],{include:`@flowCollections`},{include:`@flowScalars`},{include:`@tagHandle`},{include:`@anchor`},{include:`@flowNumber`},[/[^\],]+/,{cases:{"@keywords":`keyword`,"@default":`string`}}]],multiString:[[/^( +).+$/,`string`,`@multiStringContinued.$1`]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":`string`,"@default":{token:`@rematch`,next:`@popall`}}}]],whitespace:[[/[ \t\r\n]+/,`white`]],comment:[[/#.*$/,`comment`]],flowCollections:[[/\[/,`@brackets`,`@array`],[/\{/,`@brackets`,`@object`]],flowScalars:[[/"([^"\\]|\\.)*$/,`string.invalid`],[/'([^'\\]|\\.)*$/,`string.invalid`],[/'[^']*'/,`string`],[/"/,`string`,`@doubleQuotedString`]],doubleQuotedString:[[/[^\\"]+/,`string`],[/@escapes/,`string.escape`],[/\\./,`string.escape.invalid`],[/"/,`string`,`@pop`]],blockStyle:[[/[>|][0-9]*[+-]?$/,`operators`,`@multiString`]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,`number`],[/@numberFloat(?=[ \t]*[,\]\}])/,`number.float`],[/@numberOctal(?=[ \t]*[,\]\}])/,`number.octal`],[/@numberHex(?=[ \t]*[,\]\}])/,`number.hex`],[/@numberInfinity(?=[ \t]*[,\]\}])/,`number.infinity`],[/@numberNaN(?=[ \t]*[,\]\}])/,`number.nan`],[/@numberDate(?=[ \t]*[,\]\}])/,`number.date`]],tagHandle:[[/\![^ ]*/,`tag`]],anchor:[[/[&*][^ ]+/,`namespace`]]}};export{c as conf,l as language};
|
package/dist/gallery/index.html
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
8
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
9
9
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
10
|
-
<script type="module" crossorigin src="/__musea__/assets/index-
|
|
11
|
-
<link rel="stylesheet" crossorigin href="/__musea__/assets/index-
|
|
10
|
+
<script type="module" crossorigin src="/__musea__/assets/index-0yy-2NJQ.js"></script>
|
|
11
|
+
<link rel="stylesheet" crossorigin href="/__musea__/assets/index-DLBj3lpz.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="app"></div>
|
package/dist/index.js
CHANGED
|
@@ -1554,35 +1554,32 @@ function generateGalleryHtml(basePath, themeConfig) {
|
|
|
1554
1554
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
1555
1555
|
<title>Musea - Component Gallery</title>
|
|
1556
1556
|
<script>window.__MUSEA_BASE_PATH__='${basePath}';${themeScript}</script>
|
|
1557
|
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
1558
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
1559
|
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
1560
1557
|
<style>
|
|
1561
1558
|
:root {
|
|
1562
|
-
--musea-bg-primary: #
|
|
1563
|
-
--musea-bg-secondary: #
|
|
1564
|
-
--musea-bg-tertiary: #
|
|
1565
|
-
--musea-bg-elevated: #
|
|
1566
|
-
--musea-accent: #
|
|
1567
|
-
--musea-accent-hover: #
|
|
1568
|
-
--musea-accent-subtle: rgba(
|
|
1569
|
-
--musea-text: #
|
|
1570
|
-
--musea-text-secondary: #
|
|
1571
|
-
--musea-text-muted: #
|
|
1572
|
-
--musea-border: #
|
|
1573
|
-
--musea-border-subtle: #
|
|
1574
|
-
--musea-success: #
|
|
1575
|
-
--musea-shadow: 0 4px 24px rgba(0, 0, 0, 0.
|
|
1576
|
-
--musea-radius-sm:
|
|
1577
|
-
--musea-radius-md:
|
|
1578
|
-
--musea-radius-lg:
|
|
1559
|
+
--musea-bg-primary: #E6E2D6;
|
|
1560
|
+
--musea-bg-secondary: #ddd9cd;
|
|
1561
|
+
--musea-bg-tertiary: #d4d0c4;
|
|
1562
|
+
--musea-bg-elevated: #E6E2D6;
|
|
1563
|
+
--musea-accent: #121212;
|
|
1564
|
+
--musea-accent-hover: #2a2a2a;
|
|
1565
|
+
--musea-accent-subtle: rgba(18, 18, 18, 0.08);
|
|
1566
|
+
--musea-text: #121212;
|
|
1567
|
+
--musea-text-secondary: #3a3a3a;
|
|
1568
|
+
--musea-text-muted: #6b6b6b;
|
|
1569
|
+
--musea-border: #c8c4b8;
|
|
1570
|
+
--musea-border-subtle: #d4d0c4;
|
|
1571
|
+
--musea-success: #16a34a;
|
|
1572
|
+
--musea-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
1573
|
+
--musea-radius-sm: 4px;
|
|
1574
|
+
--musea-radius-md: 6px;
|
|
1575
|
+
--musea-radius-lg: 8px;
|
|
1579
1576
|
--musea-transition: 0.15s ease;
|
|
1580
1577
|
}
|
|
1581
1578
|
|
|
1582
1579
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
1583
1580
|
|
|
1584
1581
|
body {
|
|
1585
|
-
font-family: '
|
|
1582
|
+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
1586
1583
|
background: var(--musea-bg-primary);
|
|
1587
1584
|
color: var(--musea-text);
|
|
1588
1585
|
min-height: 100vh;
|
|
@@ -1629,7 +1626,7 @@ function generateGalleryHtml(basePath, themeConfig) {
|
|
|
1629
1626
|
.logo-icon svg {
|
|
1630
1627
|
width: 16px;
|
|
1631
1628
|
height: 16px;
|
|
1632
|
-
color:
|
|
1629
|
+
color: var(--musea-text);
|
|
1633
1630
|
}
|
|
1634
1631
|
|
|
1635
1632
|
.header-subtitle {
|
|
@@ -1905,7 +1902,7 @@ function generateGalleryHtml(basePath, themeConfig) {
|
|
|
1905
1902
|
}
|
|
1906
1903
|
|
|
1907
1904
|
.variant-preview-code {
|
|
1908
|
-
font-family: 'SF Mono', 'Fira Code', monospace;
|
|
1905
|
+
font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
|
|
1909
1906
|
font-size: 0.75rem;
|
|
1910
1907
|
color: var(--musea-text-muted);
|
|
1911
1908
|
background: var(--musea-bg-primary);
|
|
@@ -2050,31 +2047,19 @@ function generateGalleryHtml(basePath, themeConfig) {
|
|
|
2050
2047
|
<div class="header-left">
|
|
2051
2048
|
<a href="${basePath}" class="logo">
|
|
2052
2049
|
<svg class="logo-svg" width="32" height="32" viewBox="0 0 200 200" fill="none">
|
|
2053
|
-
<
|
|
2054
|
-
<
|
|
2055
|
-
<
|
|
2056
|
-
<
|
|
2057
|
-
<stop offset="100%" stop-color="#e07048"/>
|
|
2058
|
-
</linearGradient>
|
|
2059
|
-
<linearGradient id="metal-grad-dark" x1="0%" y1="0%" x2="100%" y2="30%">
|
|
2060
|
-
<stop offset="0%" stop-color="#d0d4dc"/>
|
|
2061
|
-
<stop offset="60%" stop-color="#6b7280"/>
|
|
2062
|
-
<stop offset="100%" stop-color="#c45530"/>
|
|
2063
|
-
</linearGradient>
|
|
2064
|
-
</defs>
|
|
2065
|
-
<g transform="translate(40, 40)">
|
|
2066
|
-
<g transform="skewX(-12)">
|
|
2067
|
-
<path d="M 100 0 L 60 120 L 105 30 L 100 0 Z" fill="url(#metal-grad-dark)" stroke="#4b5563" stroke-width="0.5"/>
|
|
2068
|
-
<path d="M 30 0 L 60 120 L 80 20 L 30 0 Z" fill="url(#metal-grad)" stroke-width="0.5" stroke-opacity="0.4"/>
|
|
2050
|
+
<g transform="translate(30, 25) scale(1.2)">
|
|
2051
|
+
<g transform="translate(15, 10) skewX(-15)">
|
|
2052
|
+
<path d="M 65 0 L 40 60 L 70 20 L 65 0 Z" fill="currentColor"/>
|
|
2053
|
+
<path d="M 20 0 L 40 60 L 53 13 L 20 0 Z" fill="currentColor"/>
|
|
2069
2054
|
</g>
|
|
2070
2055
|
</g>
|
|
2071
2056
|
<g transform="translate(110, 120)">
|
|
2072
|
-
<line x1="5" y1="10" x2="5" y2="50" stroke="
|
|
2073
|
-
<line x1="60" y1="10" x2="60" y2="50" stroke="
|
|
2074
|
-
<path d="M 0 10 L 32.5 0 L 65 10" fill="none" stroke="
|
|
2075
|
-
<rect x="15" y="18" width="14" height="12" rx="1" fill="none" stroke="
|
|
2076
|
-
<rect x="36" y="18" width="14" height="12" rx="1" fill="none" stroke="
|
|
2077
|
-
<rect x="23" y="35" width="18" height="12" rx="1" fill="none" stroke="
|
|
2057
|
+
<line x1="5" y1="10" x2="5" y2="50" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
|
|
2058
|
+
<line x1="60" y1="10" x2="60" y2="50" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
|
|
2059
|
+
<path d="M 0 10 L 32.5 0 L 65 10" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
2060
|
+
<rect x="15" y="18" width="14" height="12" rx="1" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.7"/>
|
|
2061
|
+
<rect x="36" y="18" width="14" height="12" rx="1" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.7"/>
|
|
2062
|
+
<rect x="23" y="35" width="18" height="12" rx="1" fill="none" stroke="currentColor" stroke-width="1.5" opacity="0.6"/>
|
|
2078
2063
|
</g>
|
|
2079
2064
|
</svg>
|
|
2080
2065
|
Musea
|