@varlet/ui 3.5.4 → 3.6.0-alpha.1728668115499

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.
Files changed (44) hide show
  1. package/es/action-sheet/style/index.mjs +1 -1
  2. package/es/alert/Alert.mjs +136 -0
  3. package/es/alert/AlertSfc.css +0 -0
  4. package/es/alert/alert.css +1 -0
  5. package/es/alert/index.mjs +9 -0
  6. package/es/alert/props.mjs +23 -0
  7. package/es/alert/style/index.mjs +5 -0
  8. package/es/code/Code.mjs +67 -0
  9. package/es/code/CodeSfc.css +0 -0
  10. package/es/code/code.css +1 -0
  11. package/es/code/index.mjs +12 -0
  12. package/es/code/props.mjs +16 -0
  13. package/es/code/style/index.mjs +3 -0
  14. package/es/highlighter-provider/HighlighterProvider.mjs +26 -0
  15. package/es/highlighter-provider/index.mjs +11 -0
  16. package/es/highlighter-provider/props.mjs +11 -0
  17. package/es/highlighter-provider/provide.mjs +17 -0
  18. package/es/highlighter-provider/style/index.mjs +0 -0
  19. package/es/index.bundle.mjs +19 -1
  20. package/es/index.mjs +16 -1
  21. package/es/snackbar/style/index.mjs +1 -1
  22. package/es/style.css +1 -1
  23. package/es/style.mjs +3 -0
  24. package/es/themes/dark/alert.mjs +33 -0
  25. package/es/themes/dark/code.mjs +7 -0
  26. package/es/themes/dark/index.mjs +4 -2
  27. package/es/themes/md3-dark/alert.mjs +33 -0
  28. package/es/themes/md3-dark/code.mjs +7 -0
  29. package/es/themes/md3-dark/index.mjs +4 -2
  30. package/es/themes/md3-light/alert.mjs +33 -0
  31. package/es/themes/md3-light/code.mjs +7 -0
  32. package/es/themes/md3-light/index.mjs +4 -2
  33. package/es/varlet.esm.js +6019 -5671
  34. package/highlight/web-types.en-US.json +188 -1
  35. package/highlight/web-types.zh-CN.json +188 -1
  36. package/lib/style.css +1 -1
  37. package/lib/varlet.cjs.js +1913 -1533
  38. package/package.json +13 -12
  39. package/types/alert.d.ts +35 -0
  40. package/types/code.d.ts +19 -0
  41. package/types/highlighterProvider.d.ts +26 -0
  42. package/types/index.d.ts +6 -0
  43. package/types/styleVars.d.ts +30 -0
  44. package/umd/varlet.js +8 -8
@@ -3,5 +3,5 @@ import '../../icon/icon.css'
3
3
  import '../../ripple/ripple.css'
4
4
  import '../../popup/popup.css'
5
5
  import '../actionSheet.css'
6
- import '../ActionSheetSfc.css'
7
6
  import '../ActionItemSfc.css'
7
+ import '../ActionSheetSfc.css'
@@ -0,0 +1,136 @@
1
+ import VarIcon from "../icon/index.mjs";
2
+ import { defineComponent, computed } from "vue";
3
+ import { props } from "./props.mjs";
4
+ import { createNamespace, formatElevation } from "../utils/components.mjs";
5
+ import { call } from "@varlet/shared";
6
+ const { name, n, classes } = createNamespace("alert");
7
+ const iconTypeMap = {
8
+ success: "checkbox-marked-circle",
9
+ warning: "warning",
10
+ info: "information",
11
+ danger: "error"
12
+ };
13
+ import { renderSlot as _renderSlot, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, createVNode as _createVNode, normalizeStyle as _normalizeStyle } from "vue";
14
+ function __render__(_ctx, _cache) {
15
+ const _component_var_icon = _resolveComponent("var-icon");
16
+ return _openBlock(), _createElementBlock(
17
+ "div",
18
+ {
19
+ class: _normalizeClass(_ctx.classes(_ctx.n(), _ctx.n("$--box"), _ctx.n(`--${_ctx.variant}`), _ctx.n(`--${_ctx.type}`), _ctx.formatElevation(_ctx.elevation, 2))),
20
+ style: _normalizeStyle({
21
+ "background-color": _ctx.color
22
+ }),
23
+ role: "alert"
24
+ },
25
+ [
26
+ _ctx.isInternalType || _ctx.$slots["icon"] ? (_openBlock(), _createElementBlock(
27
+ "div",
28
+ {
29
+ key: 0,
30
+ class: _normalizeClass(_ctx.n("icon"))
31
+ },
32
+ [
33
+ _renderSlot(_ctx.$slots, "icon", {}, () => [
34
+ _ctx.isInternalType ? (_openBlock(), _createBlock(_component_var_icon, {
35
+ key: 0,
36
+ name: _ctx.iconTypeMap[_ctx.type]
37
+ }, null, 8, ["name"])) : _createCommentVNode("v-if", true)
38
+ ])
39
+ ],
40
+ 2
41
+ /* CLASS */
42
+ )) : _createCommentVNode("v-if", true),
43
+ _renderSlot(_ctx.$slots, "content", {}, () => [
44
+ _createElementVNode(
45
+ "div",
46
+ {
47
+ class: _normalizeClass(_ctx.n("content"))
48
+ },
49
+ [
50
+ _ctx.title || _ctx.$slots["title"] ? (_openBlock(), _createElementBlock(
51
+ "div",
52
+ {
53
+ key: 0,
54
+ class: _normalizeClass(_ctx.n("title"))
55
+ },
56
+ [
57
+ _renderSlot(_ctx.$slots, "title", {}, () => [
58
+ _createTextVNode(
59
+ _toDisplayString(_ctx.title),
60
+ 1
61
+ /* TEXT */
62
+ )
63
+ ])
64
+ ],
65
+ 2
66
+ /* CLASS */
67
+ )) : _createCommentVNode("v-if", true),
68
+ _ctx.message || _ctx.$slots["default"] ? (_openBlock(), _createElementBlock(
69
+ "div",
70
+ {
71
+ key: 1,
72
+ class: _normalizeClass(_ctx.n("message"))
73
+ },
74
+ [
75
+ _renderSlot(_ctx.$slots, "default", {}, () => [
76
+ _createTextVNode(
77
+ _toDisplayString(_ctx.message),
78
+ 1
79
+ /* TEXT */
80
+ )
81
+ ])
82
+ ],
83
+ 2
84
+ /* CLASS */
85
+ )) : _createCommentVNode("v-if", true)
86
+ ],
87
+ 2
88
+ /* CLASS */
89
+ )
90
+ ]),
91
+ _ctx.closeable ? (_openBlock(), _createElementBlock(
92
+ "div",
93
+ {
94
+ key: 1,
95
+ class: _normalizeClass(_ctx.n("close-icon")),
96
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClose && _ctx.handleClose(...args))
97
+ },
98
+ [
99
+ _renderSlot(_ctx.$slots, "close-icon", {}, () => [
100
+ _createVNode(_component_var_icon, { name: "close-circle" })
101
+ ])
102
+ ],
103
+ 2
104
+ /* CLASS */
105
+ )) : _createCommentVNode("v-if", true)
106
+ ],
107
+ 6
108
+ /* CLASS, STYLE */
109
+ );
110
+ }
111
+ const __sfc__ = defineComponent({
112
+ name,
113
+ components: {
114
+ VarIcon
115
+ },
116
+ props,
117
+ setup(props2) {
118
+ const isInternalType = computed(() => ["info", "success", "danger", "warning"].includes(props2.type));
119
+ function handleClose(e) {
120
+ call(props2.onClose, e);
121
+ }
122
+ return {
123
+ n,
124
+ classes,
125
+ iconTypeMap,
126
+ isInternalType,
127
+ formatElevation,
128
+ handleClose
129
+ };
130
+ }
131
+ });
132
+ __sfc__.render = __render__;
133
+ var stdin_default = __sfc__;
134
+ export {
135
+ stdin_default as default
136
+ };
File without changes
@@ -0,0 +1 @@
1
+ :root { --alert-padding: 16px; --alert-border-radius: 4px; --alert-icon-size: 22px; --alert-icon-margin: 0 12px 0 0; --alert-close-icon-size: 22px; --alert-close-icon-margin: 2px 0 0 12px; --alert-standard-info-text-color: var(--color-on-info); --alert-standard-danger-text-color: var(--color-on-danger); --alert-standard-success-text-color: var(--color-on-success); --alert-standard-warning-text-color: var(--color-on-warning); --alert-danger-background: var(--color-danger); --alert-success-background: var(--color-success); --alert-warning-background: var(--color-warning); --alert-info-background: var(--color-info); --alert-tonal-danger-background: hsla(var(--hsl-danger), 0.12); --alert-tonal-success-background: hsla(var(--hsl-success), 0.12); --alert-tonal-warning-background: hsla(var(--hsl-warning), 0.12); --alert-tonal-info-background: hsla(var(--hsl-info), 0.12); --alert-tonal-danger-text-color: var(--color-danger); --alert-tonal-success-text-color: var(--color-success); --alert-tonal-warning-text-color: var(--color-warning); --alert-tonal-info-text-color: var(--color-info); --alert-message-font-size: 14px; --alert-title-font-size: 16px; --alert-title-font-weight: 500; --alert-message-margin-top: 4px; --alert-message-line-height: 1.5; --alert-title-line-height: 1.5;}.var-alert { display: flex; padding: var(--alert-padding); border-radius: var(--alert-border-radius);}.var-alert__icon { margin: var(--alert-icon-margin);}.var-alert__icon .var-icon { font-size: var(--alert-icon-size);}.var-alert__content { flex: 1;}.var-alert__title { font-size: var(--alert-title-font-size); font-weight: var(--alert-title-font-weight); line-height: var(--alert-title-line-height); word-break: normal; word-wrap: break-word;}.var-alert__title + .var-alert__message { margin-top: var(--alert-message-margin-top);}.var-alert__message { font-size: var(--alert-message-font-size); line-height: var(--alert-message-line-height);}.var-alert__close-icon { cursor: pointer; margin: var(--alert-close-icon-margin);}.var-alert__close-icon .var-icon[alert-cover] { font-size: var(--alert-close-icon-size);}.var-alert--outlined { border: thin solid currentColor; background-color: transparent;}.var-alert--outlined.var-alert--info { border-color: var(--alert-info-background); color: var(--alert-info-background);}.var-alert--outlined.var-alert--success { border-color: var(--alert-success-background); color: var(--alert-success-background);}.var-alert--outlined.var-alert--warning { border-color: var(--alert-warning-background); color: var(--alert-warning-background);}.var-alert--outlined.var-alert--danger { border-color: var(--alert-danger-background); color: var(--alert-danger-background);}.var-alert--tonal.var-alert--info { background-color: var(--alert-tonal-info-background); color: var(--alert-tonal-info-text-color);}.var-alert--tonal.var-alert--success { background-color: var(--alert-tonal-success-background); color: var(--alert-tonal-success-text-color);}.var-alert--tonal.var-alert--warning { background-color: var(--alert-tonal-warning-background); color: var(--alert-tonal-warning-text-color);}.var-alert--tonal.var-alert--danger { background-color: var(--alert-tonal-danger-background); color: var(--alert-tonal-danger-text-color);}.var-alert--standard.var-alert--info { background-color: var(--alert-info-background); color: var(--alert-standard-info-text-color);}.var-alert--standard.var-alert--success { background-color: var(--alert-success-background); color: var(--alert-standard-success-text-color);}.var-alert--standard.var-alert--warning { background-color: var(--alert-warning-background); color: var(--alert-standard-warning-text-color);}.var-alert--standard.var-alert--danger { background-color: var(--alert-danger-background); color: var(--alert-standard-danger-text-color);}
@@ -0,0 +1,9 @@
1
+ import Alert from "./Alert.mjs";
2
+ import { withInstall } from "../utils/components.mjs";
3
+ withInstall(Alert);
4
+ const _AlertComponent = Alert;
5
+ var stdin_default = Alert;
6
+ export {
7
+ _AlertComponent,
8
+ stdin_default as default
9
+ };
@@ -0,0 +1,23 @@
1
+ import { defineListenerProp } from "../utils/components.mjs";
2
+ const props = {
3
+ type: {
4
+ type: String,
5
+ default: "info"
6
+ },
7
+ variant: {
8
+ type: String,
9
+ default: "standard"
10
+ },
11
+ color: String,
12
+ title: String,
13
+ message: String,
14
+ closeable: Boolean,
15
+ elevation: {
16
+ type: [Boolean, String, Number],
17
+ default: false
18
+ },
19
+ onClose: defineListenerProp()
20
+ };
21
+ export {
22
+ props
23
+ };
@@ -0,0 +1,5 @@
1
+ import '../../styles/common.css'
2
+ import '../../styles/elevation.css'
3
+ import '../../icon/icon.css'
4
+ import '../alert.css'
5
+ import '../AlertSfc.css'
@@ -0,0 +1,67 @@
1
+ var __async = (__this, __arguments, generator) => {
2
+ return new Promise((resolve, reject) => {
3
+ var fulfilled = (value) => {
4
+ try {
5
+ step(generator.next(value));
6
+ } catch (e) {
7
+ reject(e);
8
+ }
9
+ };
10
+ var rejected = (value) => {
11
+ try {
12
+ step(generator.throw(value));
13
+ } catch (e) {
14
+ reject(e);
15
+ }
16
+ };
17
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
18
+ step((generator = generator.apply(__this, __arguments)).next());
19
+ });
20
+ };
21
+ import { computed, defineComponent, ref, watch } from "vue";
22
+ import { createNamespace } from "../utils/components.mjs";
23
+ import { props } from "./props.mjs";
24
+ import { injectHighlighterProvider } from "../highlighter-provider/provide.mjs";
25
+ const { name, n, classes } = createNamespace("code");
26
+ import { normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
27
+ const _hoisted_1 = ["innerHTML"];
28
+ function __render__(_ctx, _cache) {
29
+ return _openBlock(), _createElementBlock("div", {
30
+ class: _normalizeClass(_ctx.classes(_ctx.n(), [_ctx.wordWrap, _ctx.n("--word-wrap")])),
31
+ innerHTML: _ctx.highlightedCode
32
+ }, null, 10, _hoisted_1);
33
+ }
34
+ const __sfc__ = defineComponent({
35
+ name,
36
+ props,
37
+ setup(props2) {
38
+ const { highlighter, theme } = injectHighlighterProvider();
39
+ const highlightedCode = ref("");
40
+ const normalizedTheme = computed(() => {
41
+ var _a;
42
+ return (_a = props2.theme) != null ? _a : theme == null ? void 0 : theme.value;
43
+ });
44
+ if (highlighter) {
45
+ watch(
46
+ () => [highlighter.value, props2.code, props2.language, normalizedTheme.value, props2.trim],
47
+ (_0) => __async(this, [_0], function* ([highlighter2, code, lang, theme2, trim]) {
48
+ if (!highlighter2) {
49
+ return;
50
+ }
51
+ highlightedCode.value = yield highlighter2.codeToHtml(trim ? code.trim() : code, { lang, theme: theme2 });
52
+ }),
53
+ { immediate: true }
54
+ );
55
+ }
56
+ return {
57
+ n,
58
+ classes,
59
+ highlightedCode
60
+ };
61
+ }
62
+ });
63
+ __sfc__.render = __render__;
64
+ var stdin_default = __sfc__;
65
+ export {
66
+ stdin_default as default
67
+ };
File without changes
@@ -0,0 +1 @@
1
+ :root { --code-font-size: 14px; --code-line-height: 1.7;}.var-code { width: 100%; line-height: var(--code-line-height); font-size: var(--code-font-size);}.var-code pre { width: 100%; margin: 0; overflow: auto; background-color: transparent !important;}.var-code--word-wrap pre { white-space: pre-wrap; word-break: break-all;}
@@ -0,0 +1,12 @@
1
+ import Code from "./Code.mjs";
2
+ import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
3
+ import { props as codeProps } from "./props.mjs";
4
+ withInstall(Code);
5
+ withPropsDefaultsSetter(Code, codeProps);
6
+ const _CodeComponent = Code;
7
+ var stdin_default = Code;
8
+ export {
9
+ _CodeComponent,
10
+ codeProps,
11
+ stdin_default as default
12
+ };
@@ -0,0 +1,16 @@
1
+ const props = {
2
+ code: {
3
+ type: String,
4
+ default: ""
5
+ },
6
+ language: String,
7
+ theme: String,
8
+ wordWrap: Boolean,
9
+ trim: {
10
+ type: Boolean,
11
+ default: true
12
+ }
13
+ };
14
+ export {
15
+ props
16
+ };
@@ -0,0 +1,3 @@
1
+ import '../../styles/common.css'
2
+ import '../code.css'
3
+ import '../CodeSfc.css'
@@ -0,0 +1,26 @@
1
+ import { computed, defineComponent, h } from "vue";
2
+ import { props } from "./props.mjs";
3
+ import { createNamespace } from "../utils/components.mjs";
4
+ import { call } from "@varlet/shared";
5
+ import { provideHighlighterProvider } from "./provide.mjs";
6
+ const { name, n } = createNamespace("highlighter-provider");
7
+ const __sfc__ = defineComponent({
8
+ name,
9
+ props,
10
+ setup(props2, { slots }) {
11
+ const highlighter = computed(() => props2.highlighter);
12
+ const theme = computed(() => props2.theme);
13
+ provideHighlighterProvider({ highlighter, theme });
14
+ return () => h(
15
+ props2.tag,
16
+ {
17
+ class: n()
18
+ },
19
+ call(slots.default)
20
+ );
21
+ }
22
+ });
23
+ var stdin_default = __sfc__;
24
+ export {
25
+ stdin_default as default
26
+ };
@@ -0,0 +1,11 @@
1
+ import HighlighterProvider from "./HighlighterProvider.mjs";
2
+ import { withInstall, withPropsDefaultsSetter } from "../utils/components.mjs";
3
+ import { props as highlighterProviderProps } from "./props.mjs";
4
+ withInstall(HighlighterProvider);
5
+ withPropsDefaultsSetter(HighlighterProvider, highlighterProviderProps);
6
+ const _HighlighterProviderComponent = HighlighterProvider;
7
+ var stdin_default = HighlighterProvider;
8
+ export {
9
+ _HighlighterProviderComponent,
10
+ stdin_default as default
11
+ };
@@ -0,0 +1,11 @@
1
+ const props = {
2
+ highlighter: Object,
3
+ theme: String,
4
+ tag: {
5
+ type: String,
6
+ default: "div"
7
+ }
8
+ };
9
+ export {
10
+ props
11
+ };
@@ -0,0 +1,17 @@
1
+ import { keyInProvides } from "@varlet/use";
2
+ import { inject, provide } from "vue";
3
+ const HIGHLIGHTER_PROVIDER_KEY = Symbol("HIGHLIGHTER_PROVIDER_KEY");
4
+ function provideHighlighterProvider(highlighterProvider) {
5
+ provide(HIGHLIGHTER_PROVIDER_KEY, highlighterProvider);
6
+ }
7
+ function injectHighlighterProvider() {
8
+ if (!keyInProvides(HIGHLIGHTER_PROVIDER_KEY)) {
9
+ return { highlighter: null, theme: null };
10
+ }
11
+ return inject(HIGHLIGHTER_PROVIDER_KEY);
12
+ }
13
+ export {
14
+ HIGHLIGHTER_PROVIDER_KEY,
15
+ injectHighlighterProvider,
16
+ provideHighlighterProvider
17
+ };
File without changes
@@ -1,4 +1,5 @@
1
1
  import ActionSheet from './action-sheet/index.mjs'
2
+ import Alert from './alert/index.mjs'
2
3
  import AppBar from './app-bar/index.mjs'
3
4
  import AutoComplete from './auto-complete/index.mjs'
4
5
  import Avatar from './avatar/index.mjs'
@@ -16,6 +17,7 @@ import Cell from './cell/index.mjs'
16
17
  import Checkbox from './checkbox/index.mjs'
17
18
  import CheckboxGroup from './checkbox-group/index.mjs'
18
19
  import Chip from './chip/index.mjs'
20
+ import Code from './code/index.mjs'
19
21
  import Col from './col/index.mjs'
20
22
  import Collapse from './collapse/index.mjs'
21
23
  import CollapseItem from './collapse-item/index.mjs'
@@ -33,6 +35,7 @@ import FieldDecorator from './field-decorator/index.mjs'
33
35
  import FloatingPanel from './floating-panel/index.mjs'
34
36
  import Form from './form/index.mjs'
35
37
  import FormDetails from './form-details/index.mjs'
38
+ import HighlighterProvider from './highlighter-provider/index.mjs'
36
39
  import Hover from './hover/index.mjs'
37
40
  import HoverOverlay from './hover-overlay/index.mjs'
38
41
  import Icon from './icon/index.mjs'
@@ -89,6 +92,7 @@ import Uploader from './uploader/index.mjs'
89
92
  import Watermark from './watermark/index.mjs'
90
93
 
91
94
  export * from './action-sheet/index.mjs'
95
+ export * from './alert/index.mjs'
92
96
  export * from './app-bar/index.mjs'
93
97
  export * from './auto-complete/index.mjs'
94
98
  export * from './avatar/index.mjs'
@@ -106,6 +110,7 @@ export * from './cell/index.mjs'
106
110
  export * from './checkbox/index.mjs'
107
111
  export * from './checkbox-group/index.mjs'
108
112
  export * from './chip/index.mjs'
113
+ export * from './code/index.mjs'
109
114
  export * from './col/index.mjs'
110
115
  export * from './collapse/index.mjs'
111
116
  export * from './collapse-item/index.mjs'
@@ -123,6 +128,7 @@ export * from './field-decorator/index.mjs'
123
128
  export * from './floating-panel/index.mjs'
124
129
  export * from './form/index.mjs'
125
130
  export * from './form-details/index.mjs'
131
+ export * from './highlighter-provider/index.mjs'
126
132
  export * from './hover/index.mjs'
127
133
  export * from './hover-overlay/index.mjs'
128
134
  export * from './icon/index.mjs'
@@ -179,6 +185,7 @@ export * from './uploader/index.mjs'
179
185
  export * from './watermark/index.mjs'
180
186
 
181
187
  import './action-sheet/style/index.mjs'
188
+ import './alert/style/index.mjs'
182
189
  import './app-bar/style/index.mjs'
183
190
  import './auto-complete/style/index.mjs'
184
191
  import './avatar/style/index.mjs'
@@ -196,6 +203,7 @@ import './cell/style/index.mjs'
196
203
  import './checkbox/style/index.mjs'
197
204
  import './checkbox-group/style/index.mjs'
198
205
  import './chip/style/index.mjs'
206
+ import './code/style/index.mjs'
199
207
  import './col/style/index.mjs'
200
208
  import './collapse/style/index.mjs'
201
209
  import './collapse-item/style/index.mjs'
@@ -213,6 +221,7 @@ import './field-decorator/style/index.mjs'
213
221
  import './floating-panel/style/index.mjs'
214
222
  import './form/style/index.mjs'
215
223
  import './form-details/style/index.mjs'
224
+ import './highlighter-provider/style/index.mjs'
216
225
  import './hover/style/index.mjs'
217
226
  import './hover-overlay/style/index.mjs'
218
227
  import './icon/style/index.mjs'
@@ -268,10 +277,11 @@ import './tooltip/style/index.mjs'
268
277
  import './uploader/style/index.mjs'
269
278
  import './watermark/style/index.mjs'
270
279
 
271
- const version = '3.5.4'
280
+ const version = '3.6.0-alpha.1728668115499'
272
281
 
273
282
  function install(app) {
274
283
  ActionSheet.install && app.use(ActionSheet)
284
+ Alert.install && app.use(Alert)
275
285
  AppBar.install && app.use(AppBar)
276
286
  AutoComplete.install && app.use(AutoComplete)
277
287
  Avatar.install && app.use(Avatar)
@@ -289,6 +299,7 @@ function install(app) {
289
299
  Checkbox.install && app.use(Checkbox)
290
300
  CheckboxGroup.install && app.use(CheckboxGroup)
291
301
  Chip.install && app.use(Chip)
302
+ Code.install && app.use(Code)
292
303
  Col.install && app.use(Col)
293
304
  Collapse.install && app.use(Collapse)
294
305
  CollapseItem.install && app.use(CollapseItem)
@@ -306,6 +317,7 @@ function install(app) {
306
317
  FloatingPanel.install && app.use(FloatingPanel)
307
318
  Form.install && app.use(Form)
308
319
  FormDetails.install && app.use(FormDetails)
320
+ HighlighterProvider.install && app.use(HighlighterProvider)
309
321
  Hover.install && app.use(Hover)
310
322
  HoverOverlay.install && app.use(HoverOverlay)
311
323
  Icon.install && app.use(Icon)
@@ -366,6 +378,7 @@ export {
366
378
  version,
367
379
  install,
368
380
  ActionSheet,
381
+ Alert,
369
382
  AppBar,
370
383
  AutoComplete,
371
384
  Avatar,
@@ -383,6 +396,7 @@ export {
383
396
  Checkbox,
384
397
  CheckboxGroup,
385
398
  Chip,
399
+ Code,
386
400
  Col,
387
401
  Collapse,
388
402
  CollapseItem,
@@ -400,6 +414,7 @@ export {
400
414
  FloatingPanel,
401
415
  Form,
402
416
  FormDetails,
417
+ HighlighterProvider,
403
418
  Hover,
404
419
  HoverOverlay,
405
420
  Icon,
@@ -460,6 +475,7 @@ export default {
460
475
  version,
461
476
  install,
462
477
  ActionSheet,
478
+ Alert,
463
479
  AppBar,
464
480
  AutoComplete,
465
481
  Avatar,
@@ -477,6 +493,7 @@ export default {
477
493
  Checkbox,
478
494
  CheckboxGroup,
479
495
  Chip,
496
+ Code,
480
497
  Col,
481
498
  Collapse,
482
499
  CollapseItem,
@@ -494,6 +511,7 @@ export default {
494
511
  FloatingPanel,
495
512
  Form,
496
513
  FormDetails,
514
+ HighlighterProvider,
497
515
  Hover,
498
516
  HoverOverlay,
499
517
  Icon,
package/es/index.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import ActionSheet from './action-sheet/index.mjs'
2
+ import Alert from './alert/index.mjs'
2
3
  import AppBar from './app-bar/index.mjs'
3
4
  import AutoComplete from './auto-complete/index.mjs'
4
5
  import Avatar from './avatar/index.mjs'
@@ -16,6 +17,7 @@ import Cell from './cell/index.mjs'
16
17
  import Checkbox from './checkbox/index.mjs'
17
18
  import CheckboxGroup from './checkbox-group/index.mjs'
18
19
  import Chip from './chip/index.mjs'
20
+ import Code from './code/index.mjs'
19
21
  import Col from './col/index.mjs'
20
22
  import Collapse from './collapse/index.mjs'
21
23
  import CollapseItem from './collapse-item/index.mjs'
@@ -33,6 +35,7 @@ import FieldDecorator from './field-decorator/index.mjs'
33
35
  import FloatingPanel from './floating-panel/index.mjs'
34
36
  import Form from './form/index.mjs'
35
37
  import FormDetails from './form-details/index.mjs'
38
+ import HighlighterProvider from './highlighter-provider/index.mjs'
36
39
  import Hover from './hover/index.mjs'
37
40
  import HoverOverlay from './hover-overlay/index.mjs'
38
41
  import Icon from './icon/index.mjs'
@@ -89,6 +92,7 @@ import Uploader from './uploader/index.mjs'
89
92
  import Watermark from './watermark/index.mjs'
90
93
 
91
94
  export * from './action-sheet/index.mjs'
95
+ export * from './alert/index.mjs'
92
96
  export * from './app-bar/index.mjs'
93
97
  export * from './auto-complete/index.mjs'
94
98
  export * from './avatar/index.mjs'
@@ -106,6 +110,7 @@ export * from './cell/index.mjs'
106
110
  export * from './checkbox/index.mjs'
107
111
  export * from './checkbox-group/index.mjs'
108
112
  export * from './chip/index.mjs'
113
+ export * from './code/index.mjs'
109
114
  export * from './col/index.mjs'
110
115
  export * from './collapse/index.mjs'
111
116
  export * from './collapse-item/index.mjs'
@@ -123,6 +128,7 @@ export * from './field-decorator/index.mjs'
123
128
  export * from './floating-panel/index.mjs'
124
129
  export * from './form/index.mjs'
125
130
  export * from './form-details/index.mjs'
131
+ export * from './highlighter-provider/index.mjs'
126
132
  export * from './hover/index.mjs'
127
133
  export * from './hover-overlay/index.mjs'
128
134
  export * from './icon/index.mjs'
@@ -178,10 +184,11 @@ export * from './tooltip/index.mjs'
178
184
  export * from './uploader/index.mjs'
179
185
  export * from './watermark/index.mjs'
180
186
 
181
- const version = '3.5.4'
187
+ const version = '3.6.0-alpha.1728668115499'
182
188
 
183
189
  function install(app) {
184
190
  ActionSheet.install && app.use(ActionSheet)
191
+ Alert.install && app.use(Alert)
185
192
  AppBar.install && app.use(AppBar)
186
193
  AutoComplete.install && app.use(AutoComplete)
187
194
  Avatar.install && app.use(Avatar)
@@ -199,6 +206,7 @@ function install(app) {
199
206
  Checkbox.install && app.use(Checkbox)
200
207
  CheckboxGroup.install && app.use(CheckboxGroup)
201
208
  Chip.install && app.use(Chip)
209
+ Code.install && app.use(Code)
202
210
  Col.install && app.use(Col)
203
211
  Collapse.install && app.use(Collapse)
204
212
  CollapseItem.install && app.use(CollapseItem)
@@ -216,6 +224,7 @@ function install(app) {
216
224
  FloatingPanel.install && app.use(FloatingPanel)
217
225
  Form.install && app.use(Form)
218
226
  FormDetails.install && app.use(FormDetails)
227
+ HighlighterProvider.install && app.use(HighlighterProvider)
219
228
  Hover.install && app.use(Hover)
220
229
  HoverOverlay.install && app.use(HoverOverlay)
221
230
  Icon.install && app.use(Icon)
@@ -276,6 +285,7 @@ export {
276
285
  version,
277
286
  install,
278
287
  ActionSheet,
288
+ Alert,
279
289
  AppBar,
280
290
  AutoComplete,
281
291
  Avatar,
@@ -293,6 +303,7 @@ export {
293
303
  Checkbox,
294
304
  CheckboxGroup,
295
305
  Chip,
306
+ Code,
296
307
  Col,
297
308
  Collapse,
298
309
  CollapseItem,
@@ -310,6 +321,7 @@ export {
310
321
  FloatingPanel,
311
322
  Form,
312
323
  FormDetails,
324
+ HighlighterProvider,
313
325
  Hover,
314
326
  HoverOverlay,
315
327
  Icon,
@@ -370,6 +382,7 @@ export default {
370
382
  version,
371
383
  install,
372
384
  ActionSheet,
385
+ Alert,
373
386
  AppBar,
374
387
  AutoComplete,
375
388
  Avatar,
@@ -387,6 +400,7 @@ export default {
387
400
  Checkbox,
388
401
  CheckboxGroup,
389
402
  Chip,
403
+ Code,
390
404
  Col,
391
405
  Collapse,
392
406
  CollapseItem,
@@ -404,6 +418,7 @@ export default {
404
418
  FloatingPanel,
405
419
  Form,
406
420
  FormDetails,
421
+ HighlighterProvider,
407
422
  Hover,
408
423
  HoverOverlay,
409
424
  Icon,
@@ -1,7 +1,7 @@
1
1
  import '../../styles/common.css'
2
+ import '../SnackbarSfc.css'
2
3
  import '../../styles/elevation.css'
3
4
  import '../../loading/loading.css'
4
5
  import '../../icon/icon.css'
5
6
  import '../snackbar.css'
6
7
  import '../coreSfc.css'
7
- import '../SnackbarSfc.css'