@varlet/ui 2.20.5 → 3.0.0-alpha.1704352780759

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 (161) hide show
  1. package/es/back-top/BackTop.mjs +0 -1
  2. package/es/back-top/backTop.css +1 -1
  3. package/es/badge/badge.css +1 -1
  4. package/es/bottom-navigation/BottomNavigation.mjs +1 -1
  5. package/es/bottom-navigation/bottomNavigation.css +1 -1
  6. package/es/button/button.css +1 -1
  7. package/es/card/Card.mjs +2 -1
  8. package/es/card/card.css +1 -1
  9. package/es/cell/cell.css +1 -1
  10. package/es/chip/Chip.mjs +1 -1
  11. package/es/chip/chip.css +1 -1
  12. package/es/chip/props.mjs +0 -2
  13. package/es/date-picker/DatePicker.mjs +1 -1
  14. package/es/date-picker/date-picker.css +1 -1
  15. package/es/date-picker/props.mjs +0 -2
  16. package/es/date-picker/src/panel-header.mjs +8 -6
  17. package/es/fab/Fab.mjs +1 -2
  18. package/es/fab/fab.css +1 -1
  19. package/es/field-decorator/FieldDecorator.mjs +9 -8
  20. package/es/hover-overlay/hoverOverlay.css +1 -1
  21. package/es/icon/icon.css +1 -1
  22. package/es/image-preview/ImagePreview.mjs +2 -10
  23. package/es/image-preview/props.mjs +0 -2
  24. package/es/index-bar/IndexBar.mjs +1 -1
  25. package/es/index-bar/props.mjs +0 -2
  26. package/es/index.bundle.mjs +1 -1
  27. package/es/index.mjs +1 -1
  28. package/es/input/Input.mjs +3 -0
  29. package/es/loading-bar/index.mjs +0 -5
  30. package/es/progress/Progress.mjs +1 -1
  31. package/es/progress/progress.css +1 -1
  32. package/es/progress/props.mjs +0 -1
  33. package/es/select/Select.mjs +3 -0
  34. package/es/snackbar/core.mjs +4 -3
  35. package/es/step/step.css +1 -1
  36. package/es/style.css +1 -1
  37. package/es/switch/Switch.mjs +1 -1
  38. package/es/themes/dark/badge.mjs +2 -1
  39. package/es/themes/dark/bottomNavigationItem.mjs +2 -1
  40. package/es/themes/dark/datePicker.mjs +1 -1
  41. package/es/themes/dark/timePicker.mjs +2 -1
  42. package/es/themes/index.mjs +3 -1
  43. package/es/themes/md3-dark/actionSheet.mjs +9 -0
  44. package/es/themes/md3-dark/appBar.mjs +7 -0
  45. package/es/themes/md3-dark/avatar.mjs +7 -0
  46. package/es/themes/md3-dark/backTop.mjs +6 -0
  47. package/es/themes/md3-dark/badge.mjs +12 -0
  48. package/es/themes/md3-dark/bottomNavigation.mjs +7 -0
  49. package/es/themes/md3-dark/bottomNavigationItem.mjs +8 -0
  50. package/es/themes/md3-dark/breadcrumb.mjs +6 -0
  51. package/es/themes/md3-dark/button.mjs +13 -0
  52. package/es/themes/md3-dark/card.mjs +28 -0
  53. package/es/themes/md3-dark/cell.mjs +7 -0
  54. package/es/themes/md3-dark/checkbox.mjs +7 -0
  55. package/es/themes/md3-dark/chip.mjs +18 -0
  56. package/es/themes/md3-dark/collapse.mjs +8 -0
  57. package/es/themes/md3-dark/countdown.mjs +6 -0
  58. package/es/themes/md3-dark/counter.mjs +7 -0
  59. package/es/themes/md3-dark/datePicker.mjs +19 -0
  60. package/es/themes/md3-dark/dialog.mjs +15 -0
  61. package/es/themes/md3-dark/divider.mjs +7 -0
  62. package/es/themes/md3-dark/fab.mjs +8 -0
  63. package/es/themes/md3-dark/fieldDecorator.mjs +7 -0
  64. package/es/themes/md3-dark/floatingPanel.mjs +10 -0
  65. package/es/themes/md3-dark/hoverOverlay.mjs +6 -0
  66. package/es/themes/md3-dark/index.d.ts +5 -0
  67. package/es/themes/md3-dark/index.mjs +79 -0
  68. package/es/themes/md3-dark/link.mjs +6 -0
  69. package/es/themes/md3-dark/menu.mjs +7 -0
  70. package/es/themes/md3-dark/menuOption.mjs +6 -0
  71. package/es/themes/md3-dark/menuSelect.mjs +7 -0
  72. package/es/themes/md3-dark/option.mjs +6 -0
  73. package/es/themes/md3-dark/pagination.mjs +11 -0
  74. package/es/themes/md3-dark/paper.mjs +6 -0
  75. package/es/themes/md3-dark/picker.mjs +11 -0
  76. package/es/themes/md3-dark/popup.mjs +6 -0
  77. package/es/themes/md3-dark/progress.mjs +6 -0
  78. package/es/themes/md3-dark/pullRefresh.mjs +6 -0
  79. package/es/themes/md3-dark/radio.mjs +7 -0
  80. package/es/themes/md3-dark/result.mjs +16 -0
  81. package/es/themes/md3-dark/select.mjs +7 -0
  82. package/es/themes/md3-dark/slider.mjs +11 -0
  83. package/es/themes/md3-dark/snackbar.mjs +7 -0
  84. package/es/themes/md3-dark/steps.mjs +9 -0
  85. package/es/themes/md3-dark/switch.mjs +6 -0
  86. package/es/themes/md3-dark/tab.mjs +6 -0
  87. package/es/themes/md3-dark/table.mjs +12 -0
  88. package/es/themes/md3-dark/tabs.mjs +6 -0
  89. package/es/themes/md3-dark/timePicker.mjs +17 -0
  90. package/es/themes/md3-dark/tooltip.mjs +13 -0
  91. package/es/themes/md3-dark/uploader.mjs +11 -0
  92. package/es/themes/md3-dark/watermark.mjs +6 -0
  93. package/es/themes/md3-light/actionSheet.mjs +9 -0
  94. package/es/themes/md3-light/avatar.mjs +7 -0
  95. package/es/themes/md3-light/backTop.mjs +6 -0
  96. package/es/themes/md3-light/badge.mjs +10 -0
  97. package/es/themes/md3-light/bottomNavigation.mjs +8 -0
  98. package/es/themes/md3-light/bottomNavigationItem.mjs +7 -0
  99. package/es/themes/md3-light/breadcrumb.mjs +6 -0
  100. package/es/themes/md3-light/button.mjs +8 -0
  101. package/es/themes/md3-light/card.mjs +27 -0
  102. package/es/themes/md3-light/cell.mjs +7 -0
  103. package/es/themes/md3-light/checkbox.mjs +7 -0
  104. package/es/themes/md3-light/chip.mjs +18 -0
  105. package/es/themes/md3-light/collapse.mjs +8 -0
  106. package/es/themes/md3-light/countdown.mjs +6 -0
  107. package/es/themes/md3-light/datePicker.mjs +19 -0
  108. package/es/themes/md3-light/dialog.mjs +15 -0
  109. package/es/themes/md3-light/divider.mjs +6 -0
  110. package/es/themes/md3-light/fab.mjs +8 -0
  111. package/es/themes/md3-light/fieldDecorator.mjs +7 -0
  112. package/es/themes/md3-light/floatingPanel.mjs +10 -0
  113. package/es/themes/md3-light/hoverOverlay.mjs +6 -0
  114. package/es/themes/md3-light/index.d.ts +5 -0
  115. package/es/themes/md3-light/index.mjs +71 -0
  116. package/es/themes/md3-light/link.mjs +6 -0
  117. package/es/themes/md3-light/menu.mjs +7 -0
  118. package/es/themes/md3-light/menuOption.mjs +6 -0
  119. package/es/themes/md3-light/menuSelect.mjs +7 -0
  120. package/es/themes/md3-light/option.mjs +6 -0
  121. package/es/themes/md3-light/pagination.mjs +6 -0
  122. package/es/themes/md3-light/paper.mjs +6 -0
  123. package/es/themes/md3-light/picker.mjs +8 -0
  124. package/es/themes/md3-light/popup.mjs +6 -0
  125. package/es/themes/md3-light/pullRefresh.mjs +6 -0
  126. package/es/themes/md3-light/radio.mjs +7 -0
  127. package/es/themes/md3-light/result.mjs +12 -0
  128. package/es/themes/md3-light/select.mjs +7 -0
  129. package/es/themes/md3-light/slider.mjs +10 -0
  130. package/es/themes/md3-light/snackbar.mjs +7 -0
  131. package/es/themes/md3-light/tab.mjs +6 -0
  132. package/es/themes/md3-light/table.mjs +7 -0
  133. package/es/themes/md3-light/tabs.mjs +6 -0
  134. package/es/themes/md3-light/timePicker.mjs +15 -0
  135. package/es/themes/md3-light/tooltip.mjs +7 -0
  136. package/es/themes/md3-light/uploader.mjs +11 -0
  137. package/es/time-picker/TimePicker.mjs +1 -1
  138. package/es/time-picker/clock.mjs +4 -4
  139. package/es/time-picker/props.mjs +0 -2
  140. package/es/time-picker/timePicker.css +1 -1
  141. package/es/tooltip/tooltip.css +1 -1
  142. package/es/uploader/uploader.css +1 -1
  143. package/es/varlet.esm.js +6884 -6415
  144. package/highlight/web-types.en-US.json +14 -6
  145. package/highlight/web-types.zh-CN.json +14 -6
  146. package/lib/style.css +1 -1
  147. package/lib/varlet.cjs.js +1873 -1297
  148. package/package.json +9 -9
  149. package/types/chip.d.ts +0 -2
  150. package/types/datePicker.d.ts +0 -2
  151. package/types/imagePreview.d.ts +0 -6
  152. package/types/indexBar.d.ts +0 -3
  153. package/types/input.d.ts +1 -0
  154. package/types/loadingBar.d.ts +0 -3
  155. package/types/progress.d.ts +0 -3
  156. package/types/select.d.ts +1 -0
  157. package/types/styleVars.d.ts +88 -16
  158. package/types/themes.d.ts +2 -0
  159. package/types/timePicker.d.ts +0 -2
  160. package/types/uploader.d.ts +1 -0
  161. package/umd/varlet.js +5 -5
@@ -24,8 +24,6 @@ const props = __spreadValues(__spreadValues({
24
24
  type: Array,
25
25
  default: () => []
26
26
  },
27
- /** @deprecated Use initialIndex to instead. */
28
- current: String,
29
27
  initialIndex: {
30
28
  type: [String, Number],
31
29
  default: 0
@@ -87,7 +87,7 @@ const __sfc__ = defineComponent({
87
87
  const anchorNameList = ref([]);
88
88
  const active = ref();
89
89
  const sticky = computed(() => props2.sticky);
90
- const cssMode = computed(() => props2.stickyCssMode || props2.cssMode);
90
+ const cssMode = computed(() => props2.stickyCssMode);
91
91
  const stickyOffsetTop = computed(() => toPxNum(props2.stickyOffsetTop));
92
92
  const zIndex = computed(() => props2.zIndex);
93
93
  const { length, indexAnchors, bindIndexAnchors } = useIndexAnchors();
@@ -8,8 +8,6 @@ const props = {
8
8
  type: [String, Number],
9
9
  default: 0
10
10
  },
11
- /** @deprecated Use stickyCssMode to instead. */
12
- cssMode: Boolean,
13
11
  stickyCssMode: Boolean,
14
12
  hideList: Boolean,
15
13
  zIndex: {
@@ -259,7 +259,7 @@ import './tooltip/style/index.mjs'
259
259
  import './uploader/style/index.mjs'
260
260
  import './watermark/style/index.mjs'
261
261
 
262
- const version = '2.20.5'
262
+ const version = '3.0.0-alpha.1704352780759'
263
263
 
264
264
  function install(app) {
265
265
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -172,7 +172,7 @@ export * from './tooltip/index.mjs'
172
172
  export * from './uploader/index.mjs'
173
173
  export * from './watermark/index.mjs'
174
174
 
175
- const version = '2.20.5'
175
+ const version = '3.0.0-alpha.1704352780759'
176
176
 
177
177
  function install(app) {
178
178
  ActionSheet.install && app.use(ActionSheet)
@@ -46,6 +46,9 @@ function __render__(_ctx, _cache) {
46
46
  onClear: _ctx.handleClear
47
47
  })),
48
48
  _createSlots({
49
+ "clear-icon": _withCtx(() => [
50
+ _renderSlot(_ctx.$slots, "clear-icon")
51
+ ]),
49
52
  "append-icon": _withCtx(() => [
50
53
  _renderSlot(_ctx.$slots, "append-icon")
51
54
  ]),
@@ -14,9 +14,6 @@ const internalProps = {
14
14
  error: false
15
15
  };
16
16
  const props = reactive(internalProps);
17
- const mergeConfig = (options) => {
18
- Object.assign(props, options);
19
- };
20
17
  const setDefaultOptions = (options) => {
21
18
  Object.assign(props, options);
22
19
  setOptions = options;
@@ -88,8 +85,6 @@ const LoadingBar = {
88
85
  start,
89
86
  finish,
90
87
  error,
91
- /** @deprecated Use setDefaultOptions to instead. */
92
- mergeConfig,
93
88
  setDefaultOptions,
94
89
  resetDefaultOptions
95
90
  };
@@ -71,7 +71,7 @@ function __render__(_ctx, _cache) {
71
71
  "div",
72
72
  {
73
73
  key: 1,
74
- class: _normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n(`linear--${_ctx.type}`), [_ctx.ripple, _ctx.n("linear-ripple")])),
74
+ class: _normalizeClass(_ctx.classes(_ctx.n("linear-certain"), _ctx.n(`linear--${_ctx.type}`))),
75
75
  style: _normalizeStyle({ background: _ctx.progressColor, width: _ctx.linearProps.width })
76
76
  },
77
77
  null,
@@ -1 +1 @@
1
- :root { --progress-font-size: var(--font-size-sm); --progress-ripple-color: #fff; --progress-track-color: #d8d8d8; --progress-label-color: #555; --progress-background: var(--color-primary); --progress-default-color: #f5f5f5; --progress-primary-color: var(--color-primary); --progress-danger-color: var(--color-danger); --progress-success-color: var(--color-success); --progress-warning-color: var(--color-warning); --progress-info-color: var(--color-info); --progress-linear-border-radius: 0px;}.var-progress { position: relative; font-size: var(--progress-font-size);}.var-progress__linear { display: flex; align-items: center;}.var-progress__linear-block { flex: 1; position: relative; overflow: hidden; height: 4px; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-certain { width: 100%; height: 100%; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-ripple::after { position: absolute; width: 0; background-color: var(--progress-ripple-color); height: 100%; opacity: 0; animation: ripple 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite; content: '';}.var-progress__linear-background { background-color: var(--progress-track-color);}.var-progress__linear-certain { position: absolute; background-color: var(--progress-background); top: 0; left: 0; transition: all 0.2s, background-color 0.8s;}.var-progress__linear-label { margin-left: 8px; flex: 0; color: var(--progress-label-color);}.var-progress__linear-indeterminate div { bottom: 0; height: inherit; left: 0; position: absolute; right: auto; top: 0; width: auto; will-change: left, right; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-indeterminate div:first-child { animation: progress-linear-long 2.2s infinite;}.var-progress__linear-indeterminate div:last-child { animation: progress-linear-short 2.2s infinite;}.var-progress__linear--success { background-color: var(--progress-success-color);}.var-progress__linear--default { background-color: var(--progress-default-color);}.var-progress__linear--primary { background-color: var(--progress-primary-color);}.var-progress__linear--warning { background-color: var(--progress-warning-color);}.var-progress__linear--danger { background-color: var(--progress-danger-color);}.var-progress__linear--info { background-color: var(--progress-info-color);}@keyframes progress-linear-long { 0% { left: -90%; right: 100%; } 60% { left: -90%; right: 100%; } 100% { left: 100%; right: -35%; }}@keyframes progress-linear-short { 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; }}@keyframes ripple { 0% { width: 0; opacity: 0.1; } 20% { width: 0; opacity: 0.5; } 80% { width: 100%; opacity: 0; }}.var-progress__circle { position: relative; width: 40px; height: 40px;}.var-progress__circle-background { stroke: var(--progress-track-color); z-index: 1;}.var-progress__circle-certain { transition: all 0.2s; stroke: var(--progress-background); position: absolute;}.var-progress__circle-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--progress-label-color);}.var-progress__circle--success { stroke: var(--progress-success-color);}.var-progress__circle--default { stroke: var(--progress-default-color);}.var-progress__circle--primary { stroke: var(--progress-primary-color);}.var-progress__circle--warning { stroke: var(--progress-warning-color);}.var-progress__circle--danger { stroke: var(--progress-danger-color);}.var-progress__circle--info { stroke: var(--progress-info-color);}.var-progress__circle-indeterminate svg { animation: progress-circle-rotate 1.4s linear infinite; transform-origin: center center; transition: all 0.2s ease-in-out; width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0;}.var-progress__circle-overlay { animation: progress-circle-dash 1.4s ease-in-out infinite, progress-circle-rotate 1.4s linear infinite; stroke-dasharray: 25, 200; stroke-dashoffset: 0; stroke-linecap: round; transform-origin: center center; transform: rotate(-90deg); z-index: 2;}@keyframes progress-circle-dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100, 200; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100, 200; stroke-dashoffset: -124px; }}@keyframes progress-circle-rotate { 100% { transform: rotate(270deg); }}
1
+ :root { --progress-font-size: var(--font-size-sm); --progress-track-color: #d8d8d8; --progress-label-color: #555; --progress-background: var(--color-primary); --progress-default-color: #f5f5f5; --progress-primary-color: var(--color-primary); --progress-danger-color: var(--color-danger); --progress-success-color: var(--color-success); --progress-warning-color: var(--color-warning); --progress-info-color: var(--color-info); --progress-linear-border-radius: 0px;}.var-progress { position: relative; font-size: var(--progress-font-size);}.var-progress__linear { display: flex; align-items: center;}.var-progress__linear-block { flex: 1; position: relative; overflow: hidden; height: 4px; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-certain { width: 100%; height: 100%; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-background { background-color: var(--progress-track-color);}.var-progress__linear-certain { position: absolute; background-color: var(--progress-background); top: 0; left: 0; transition: all 0.2s, background-color 0.8s;}.var-progress__linear-label { margin-left: 8px; flex: 0; color: var(--progress-label-color);}.var-progress__linear-indeterminate div { bottom: 0; height: inherit; left: 0; position: absolute; right: auto; top: 0; width: auto; will-change: left, right; border-radius: var(--progress-linear-border-radius);}.var-progress__linear-indeterminate div:first-child { animation: progress-linear-long 2.2s infinite;}.var-progress__linear-indeterminate div:last-child { animation: progress-linear-short 2.2s infinite;}.var-progress__linear--success { background-color: var(--progress-success-color);}.var-progress__linear--default { background-color: var(--progress-default-color);}.var-progress__linear--primary { background-color: var(--progress-primary-color);}.var-progress__linear--warning { background-color: var(--progress-warning-color);}.var-progress__linear--danger { background-color: var(--progress-danger-color);}.var-progress__linear--info { background-color: var(--progress-info-color);}@keyframes progress-linear-long { 0% { left: -90%; right: 100%; } 60% { left: -90%; right: 100%; } 100% { left: 100%; right: -35%; }}@keyframes progress-linear-short { 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; }}.var-progress__circle { position: relative; width: 40px; height: 40px;}.var-progress__circle-background { stroke: var(--progress-track-color); z-index: 1;}.var-progress__circle-certain { transition: all 0.2s; stroke: var(--progress-background); position: absolute;}.var-progress__circle-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--progress-label-color);}.var-progress__circle--success { stroke: var(--progress-success-color);}.var-progress__circle--default { stroke: var(--progress-default-color);}.var-progress__circle--primary { stroke: var(--progress-primary-color);}.var-progress__circle--warning { stroke: var(--progress-warning-color);}.var-progress__circle--danger { stroke: var(--progress-danger-color);}.var-progress__circle--info { stroke: var(--progress-info-color);}.var-progress__circle-indeterminate svg { animation: progress-circle-rotate 1.4s linear infinite; transform-origin: center center; transition: all 0.2s ease-in-out; width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0;}.var-progress__circle-overlay { animation: progress-circle-dash 1.4s ease-in-out infinite, progress-circle-rotate 1.4s linear infinite; stroke-dasharray: 25, 200; stroke-dashoffset: 0; stroke-linecap: round; transform-origin: center center; transform: rotate(-90deg); z-index: 2;}@keyframes progress-circle-dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100, 200; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 100, 200; stroke-dashoffset: -124px; }}@keyframes progress-circle-rotate { 100% { transform: rotate(270deg); }}
@@ -9,7 +9,6 @@ const props = {
9
9
  },
10
10
  color: [String, Object],
11
11
  trackColor: String,
12
- ripple: Boolean,
13
12
  value: {
14
13
  type: [Number, String],
15
14
  default: 0
@@ -80,6 +80,9 @@ function __render__(_ctx, _cache) {
80
80
  onClear: _ctx.handleClear
81
81
  })),
82
82
  _createSlots({
83
+ "clear-icon": _withCtx(() => [
84
+ _renderSlot(_ctx.$slots, "clear-icon")
85
+ ]),
83
86
  "append-icon": _withCtx(() => [
84
87
  _renderSlot(_ctx.$slots, "append-icon")
85
88
  ]),
@@ -16,7 +16,7 @@ const ICON_TYPE_DICT = {
16
16
  error: "error",
17
17
  loading: ""
18
18
  };
19
- import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeStyle as _normalizeStyle, vShow as _vShow, withDirectives as _withDirectives, createElementBlock as _createElementBlock } from "vue";
19
+ import { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, normalizeStyle as _normalizeStyle, vShow as _vShow, withDirectives as _withDirectives } from "vue";
20
20
  function __render__(_ctx, _cache) {
21
21
  const _component_var_icon = _resolveComponent("var-icon");
22
22
  const _component_var_loading = _resolveComponent("var-loading");
@@ -81,9 +81,10 @@ function __render__(_ctx, _cache) {
81
81
  2
82
82
  /* CLASS */
83
83
  ),
84
- _createElementVNode(
84
+ _ctx.$slots.action ? (_openBlock(), _createElementBlock(
85
85
  "div",
86
86
  {
87
+ key: 0,
87
88
  class: _normalizeClass(_ctx.n("action"))
88
89
  },
89
90
  [
@@ -91,7 +92,7 @@ function __render__(_ctx, _cache) {
91
92
  ],
92
93
  2
93
94
  /* CLASS */
94
- )
95
+ )) : _createCommentVNode("v-if", true)
95
96
  ],
96
97
  6
97
98
  /* CLASS, STYLE */
package/es/step/step.css CHANGED
@@ -1 +1 @@
1
- :root { --step-tag-size: 20px; --step-tag-background: #9e9e9e; --step-tag-font-size: var(--font-size-md); --step-tag-color: #fff; --step-tag-active-color: var(--color-primary); --step-tag-margin: 4px 0; --step-tag-icon-size: var(--font-size-lg); --step-content-font-size: var(--font-size-md); --step-content-color: rgba(0, 0, 0, 0.38); --step-content-active-color: #000; --step-line-background: #000; --step-line-gap: 8px; --step-min-size: calc(20px + 8px); --step-line-size: calc(100% - calc(20px + 8px)); --step-vertical-tag-margin: 0 4px; --step-vertical-min-height: 50px;}.tag { width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step { position: relative; flex: 1; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.var-step:last-child .var-step__horizontal-line { width: 0;}.var-step:last-child .var-step__vertical-line { height: 0;}.var-step__horizontal { display: flex; flex-direction: column; align-items: center;}.var-step__horizontal-tag { margin: var(--step-tag-margin); width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__horizontal-tag--active { background: var(--step-tag-active-color);}.var-step__horizontal-content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__horizontal-content--active { color: var(--step-content-active-color);}.var-step__horizontal-line { position: absolute; top: calc(var(--step-min-size) / 2); left: calc(50% + var(--step-min-size) / 2); width: var(--step-line-size); height: 1px; transform: scaleY(0.5); background: var(--step-line-background);}.var-step__vertical { display: flex; height: 100%; min-height: var(--step-vertical-min-height);}.var-step__vertical-tag { flex-shrink: 0; margin: var(--step-vertical-tag-margin); width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__vertical-tag--active { background: var(--step-tag-active-color);}.var-step__vertical-content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__vertical-content--active { color: var(--step-content-active-color);}.var-step__vertical-line { position: absolute; height: var(--step-line-size); left: calc(var(--step-min-size) / 2); top: calc(var(--step-min-size) - var(--step-line-gap) / 2); width: 1px; transform: scaleX(0.5); background: var(--step-line-background);}.var-step__icon[var-step-cover] { font-size: var(--step-tag-icon-size);}
1
+ :root { --step-tag-size: 20px; --step-tag-background: #9e9e9e; --step-tag-font-size: var(--font-size-md); --step-tag-color: #fff; --step-tag-active-color: var(--color-primary); --step-tag-margin: 4px 0; --step-tag-icon-size: var(--font-size-lg); --step-content-font-size: var(--font-size-md); --step-content-color: rgba(0, 0, 0, 0.38); --step-content-active-color: #000; --step-line-background: #000; --step-line-gap: 8px; --step-vertical-tag-margin: 0 4px; --step-vertical-min-height: 50px;}.tag { width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step { position: relative; flex: 1; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.var-step:last-child .var-step__horizontal-line { width: 0;}.var-step:last-child .var-step__vertical-line { height: 0;}.var-step__horizontal { display: flex; flex-direction: column; align-items: center;}.var-step__horizontal-tag { margin: var(--step-tag-margin); width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__horizontal-tag--active { background: var(--step-tag-active-color);}.var-step__horizontal-content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__horizontal-content--active { color: var(--step-content-active-color);}.var-step__horizontal-line { position: absolute; top: calc(calc(var(--step-tag-size) + var(--step-line-gap)) / 2); left: calc(50% + calc(var(--step-tag-size) + var(--step-line-gap)) / 2); width: calc(100% - calc(var(--step-tag-size) + var(--step-line-gap))); height: 1px; transform: scaleY(0.5); background: var(--step-line-background);}.var-step__vertical { display: flex; height: 100%; min-height: var(--step-vertical-min-height);}.var-step__vertical-tag { flex-shrink: 0; margin: var(--step-vertical-tag-margin); width: var(--step-tag-size); height: var(--step-tag-size); background: var(--step-tag-background); display: flex; font-size: var(--step-tag-font-size); align-items: center; justify-content: center; border-radius: 50%; color: var(--step-tag-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__vertical-tag--active { background: var(--step-tag-active-color);}.var-step__vertical-content { font-size: var(--step-content-font-size); color: var(--step-content-color); cursor: pointer; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); transition: 0.3s var(--cubic-bezier);}.var-step__vertical-content--active { color: var(--step-content-active-color);}.var-step__vertical-line { position: absolute; height: calc(100% - calc(var(--step-tag-size) + var(--step-line-gap))); left: calc(calc(var(--step-tag-size) + var(--step-line-gap)) / 2); top: calc(calc(var(--step-tag-size) + var(--step-line-gap)) - var(--step-line-gap) / 2); width: 1px; transform: scaleX(0.5); background: var(--step-line-background);}.var-step__icon[var-step-cover] { font-size: var(--step-tag-icon-size);}