@varlet/ui 3.5.4 → 3.6.0-alpha.1728498016952
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/es/action-sheet/style/index.mjs +1 -1
- package/es/code/Code.mjs +67 -0
- package/es/code/CodeSfc.css +0 -0
- package/es/code/code.css +1 -0
- package/es/code/index.mjs +12 -0
- package/es/code/props.mjs +16 -0
- package/es/code/style/index.mjs +3 -0
- package/es/highlighter-provider/HighlighterProvider.mjs +26 -0
- package/es/highlighter-provider/index.mjs +11 -0
- package/es/highlighter-provider/props.mjs +11 -0
- package/es/highlighter-provider/provide.mjs +17 -0
- package/es/highlighter-provider/style/index.mjs +0 -0
- package/es/index.bundle.mjs +13 -1
- package/es/index.mjs +11 -1
- package/es/snackbar/style/index.mjs +1 -1
- package/es/style.css +1 -1
- package/es/style.mjs +2 -0
- package/es/themes/dark/code.mjs +7 -0
- package/es/themes/dark/index.mjs +3 -2
- package/es/themes/md3-dark/code.mjs +7 -0
- package/es/themes/md3-dark/index.mjs +3 -2
- package/es/themes/md3-light/code.mjs +7 -0
- package/es/themes/md3-light/index.mjs +3 -2
- package/es/varlet.esm.js +4547 -4436
- package/highlight/web-types.en-US.json +74 -1
- package/highlight/web-types.zh-CN.json +74 -1
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +1711 -1574
- package/package.json +13 -12
- package/types/code.d.ts +18 -0
- package/types/highlighterProvider.d.ts +26 -0
- package/types/index.d.ts +4 -0
- package/types/styleVars.d.ts +2 -0
- package/umd/varlet.js +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.6.0-alpha.1728498016952",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -1880,6 +1880,40 @@
|
|
|
1880
1880
|
}
|
|
1881
1881
|
]
|
|
1882
1882
|
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "var-code",
|
|
1885
|
+
"attributes": [
|
|
1886
|
+
{
|
|
1887
|
+
"name": "code",
|
|
1888
|
+
"description": "Code Snippet",
|
|
1889
|
+
"default": "-",
|
|
1890
|
+
"value": {
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"kind": "expression"
|
|
1893
|
+
}
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
"name": "language",
|
|
1897
|
+
"description": "Code Language",
|
|
1898
|
+
"default": "-",
|
|
1899
|
+
"value": {
|
|
1900
|
+
"type": "string",
|
|
1901
|
+
"kind": "expression"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"name": "theme",
|
|
1906
|
+
"description": "Code Theme",
|
|
1907
|
+
"default": "-",
|
|
1908
|
+
"value": {
|
|
1909
|
+
"type": "string",
|
|
1910
|
+
"kind": "expression"
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
],
|
|
1914
|
+
"events": [],
|
|
1915
|
+
"slots": []
|
|
1916
|
+
},
|
|
1883
1917
|
{
|
|
1884
1918
|
"name": "var-col",
|
|
1885
1919
|
"attributes": [
|
|
@@ -3449,6 +3483,45 @@
|
|
|
3449
3483
|
}
|
|
3450
3484
|
]
|
|
3451
3485
|
},
|
|
3486
|
+
{
|
|
3487
|
+
"name": "var-highlighter-provider",
|
|
3488
|
+
"attributes": [
|
|
3489
|
+
{
|
|
3490
|
+
"name": "highlighter",
|
|
3491
|
+
"description": "Shader",
|
|
3492
|
+
"default": "-",
|
|
3493
|
+
"value": {
|
|
3494
|
+
"type": "`Highlighter`",
|
|
3495
|
+
"kind": "expression"
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"name": "theme",
|
|
3500
|
+
"description": "Theme",
|
|
3501
|
+
"default": "-",
|
|
3502
|
+
"value": {
|
|
3503
|
+
"type": "string",
|
|
3504
|
+
"kind": "expression"
|
|
3505
|
+
}
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"name": "tag",
|
|
3509
|
+
"description": "Tag name",
|
|
3510
|
+
"default": "div",
|
|
3511
|
+
"value": {
|
|
3512
|
+
"type": "string",
|
|
3513
|
+
"kind": "expression"
|
|
3514
|
+
}
|
|
3515
|
+
}
|
|
3516
|
+
],
|
|
3517
|
+
"events": [],
|
|
3518
|
+
"slots": [
|
|
3519
|
+
{
|
|
3520
|
+
"name": "default",
|
|
3521
|
+
"description": "Component content"
|
|
3522
|
+
}
|
|
3523
|
+
]
|
|
3524
|
+
},
|
|
3452
3525
|
{
|
|
3453
3526
|
"name": "var-hover",
|
|
3454
3527
|
"attributes": [],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.6.0-alpha.1728498016952",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -2030,6 +2030,40 @@
|
|
|
2030
2030
|
}
|
|
2031
2031
|
]
|
|
2032
2032
|
},
|
|
2033
|
+
{
|
|
2034
|
+
"name": "var-code",
|
|
2035
|
+
"attributes": [
|
|
2036
|
+
{
|
|
2037
|
+
"name": "code",
|
|
2038
|
+
"description": "代码片段",
|
|
2039
|
+
"default": "-",
|
|
2040
|
+
"value": {
|
|
2041
|
+
"type": "string",
|
|
2042
|
+
"kind": "expression"
|
|
2043
|
+
}
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"name": "language",
|
|
2047
|
+
"description": "语言",
|
|
2048
|
+
"default": "-",
|
|
2049
|
+
"value": {
|
|
2050
|
+
"type": "string",
|
|
2051
|
+
"kind": "expression"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"name": "theme",
|
|
2056
|
+
"description": "主题",
|
|
2057
|
+
"default": "-",
|
|
2058
|
+
"value": {
|
|
2059
|
+
"type": "string",
|
|
2060
|
+
"kind": "expression"
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
],
|
|
2064
|
+
"events": [],
|
|
2065
|
+
"slots": []
|
|
2066
|
+
},
|
|
2033
2067
|
{
|
|
2034
2068
|
"name": "var-col",
|
|
2035
2069
|
"attributes": [
|
|
@@ -3599,6 +3633,45 @@
|
|
|
3599
3633
|
}
|
|
3600
3634
|
]
|
|
3601
3635
|
},
|
|
3636
|
+
{
|
|
3637
|
+
"name": "var-highlighter-provider",
|
|
3638
|
+
"attributes": [
|
|
3639
|
+
{
|
|
3640
|
+
"name": "highlighter",
|
|
3641
|
+
"description": "着色器",
|
|
3642
|
+
"default": "-",
|
|
3643
|
+
"value": {
|
|
3644
|
+
"type": "`Highlighter`",
|
|
3645
|
+
"kind": "expression"
|
|
3646
|
+
}
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
"name": "theme",
|
|
3650
|
+
"description": "主题",
|
|
3651
|
+
"default": "-",
|
|
3652
|
+
"value": {
|
|
3653
|
+
"type": "string",
|
|
3654
|
+
"kind": "expression"
|
|
3655
|
+
}
|
|
3656
|
+
},
|
|
3657
|
+
{
|
|
3658
|
+
"name": "tag",
|
|
3659
|
+
"description": "自定义标签名",
|
|
3660
|
+
"default": "div",
|
|
3661
|
+
"value": {
|
|
3662
|
+
"type": "string",
|
|
3663
|
+
"kind": "expression"
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
],
|
|
3667
|
+
"events": [],
|
|
3668
|
+
"slots": [
|
|
3669
|
+
{
|
|
3670
|
+
"name": "default",
|
|
3671
|
+
"description": "组件内容"
|
|
3672
|
+
}
|
|
3673
|
+
]
|
|
3674
|
+
},
|
|
3602
3675
|
{
|
|
3603
3676
|
"name": "var-hover",
|
|
3604
3677
|
"attributes": [],
|