zartui 3.1.70 → 3.1.72

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/index.d.ts CHANGED
@@ -84,4 +84,4 @@ declare namespace _default {
84
84
  }
85
85
  export default _default;
86
86
  export function install(app: any): void;
87
- export const version: "3.1.70";
87
+ export const version: "3.1.72";
package/es/index.mjs CHANGED
@@ -77,7 +77,7 @@ import { Timeline } from "./timeline/index.mjs";
77
77
  import { Toast } from "./toast/index.mjs";
78
78
  import { Uploader } from "./uploader/index.mjs";
79
79
  import { Video } from "./video/index.mjs";
80
- const version = "3.1.70";
80
+ const version = "3.1.72";
81
81
  function install(app) {
82
82
  const components = [
83
83
  ActionSheet,
@@ -87,6 +87,7 @@ export declare const pickerProps: {
87
87
  type: BooleanConstructor;
88
88
  default: true;
89
89
  };
90
+ teleport: PropType<string | import("vue").RendererElement | null | undefined>;
90
91
  showType: {
91
92
  type: PropType<PickerShowType>;
92
93
  default: PickerShowType;
@@ -151,6 +152,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
151
152
  type: BooleanConstructor;
152
153
  default: true;
153
154
  };
155
+ teleport: PropType<string | import("vue").RendererElement | null | undefined>;
154
156
  showType: {
155
157
  type: PropType<PickerShowType>;
156
158
  default: PickerShowType;
@@ -213,6 +215,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
213
215
  type: BooleanConstructor;
214
216
  default: true;
215
217
  };
218
+ teleport: PropType<string | import("vue").RendererElement | null | undefined>;
216
219
  showType: {
217
220
  type: PropType<PickerShowType>;
218
221
  default: PickerShowType;
@@ -28,6 +28,7 @@ const pickerProps = extend({}, pickerSharedProps, {
28
28
  columnsFieldNames: Object,
29
29
  showPicker: Boolean,
30
30
  popup: truthProp,
31
+ teleport: [String, Object],
31
32
  showType: makeStringProp("default"),
32
33
  columnCounts: makeNumberProp(3)
33
34
  });
@@ -270,7 +271,8 @@ var stdin_default = defineComponent({
270
271
  "show": showPicker.value,
271
272
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
272
273
  "round": true,
273
- "position": "bottom"
274
+ "position": "bottom",
275
+ "teleport": props.teleport
274
276
  }, {
275
277
  default: renderTiledPicker
276
278
  });
@@ -282,7 +284,8 @@ var stdin_default = defineComponent({
282
284
  "show": showPicker.value,
283
285
  "onUpdate:show": [($event) => showPicker.value = $event, updateShow],
284
286
  "round": true,
285
- "position": "bottom"
287
+ "position": "bottom",
288
+ "teleport": props.teleport
286
289
  }, {
287
290
  default: renderPicker
288
291
  });
@@ -53,6 +53,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
53
53
  type: BooleanConstructor;
54
54
  default: true;
55
55
  };
56
+ teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
56
57
  showType: {
57
58
  type: import("vue").PropType<import("./types").PickerShowType>;
58
59
  default: import("./types").PickerShowType;
@@ -115,6 +116,7 @@ export declare const Picker: import("../utils").WithInstall<import("vue").Define
115
116
  type: BooleanConstructor;
116
117
  default: true;
117
118
  };
119
+ teleport: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
118
120
  showType: {
119
121
  type: import("vue").PropType<import("./types").PickerShowType>;
120
122
  default: import("./types").PickerShowType;
package/es/tabs/index.css CHANGED
@@ -1 +1 @@
1
- :root{--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-active-opacity: .2;--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-line-bottom: 16px;--zt-tabs-card-height: 32px;--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px;--zt-tabs-nav-background: var(--zt-background);--zt-tab-text-color: var(--zt-gray-a6);--zt-tabs-overlay-left-background: linear-gradient(90deg, #ffffff 0%, rgba(245, 250, 255, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%)}.zt-tab{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-md);color:var(--zt-tab-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-size:var(--zt-font-size-lg);font-weight:var(--zt-font-bold)}.zt-tab--active:active{opacity:var(--zt-tab-active-opacity)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-font-size-md)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color)}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab--capsule{color:var(--zt-black)}.zt-tab--capsule.zt-tab--active{color:var(--zt-white);font-size:var(--zt-font-size-md);background-image:linear-gradient(-80deg,#85C0FF 0%,#3388FF 100%);border-radius:14px}.zt-tab--capsule--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__title{flex:1;display:flex;align-items:center;justify-content:center}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tab__text-wrapper,.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden;position:relative}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__overlay-left,.zt-tabs__overlay-right{position:absolute;top:0;width:var(--zt-tabs-line-height);height:var(--zt-tabs-line-height);pointer-events:none}.zt-tabs__overlay-left{left:0;background:var(--zt-tabs-overlay-left-background)}.zt-tabs__overlay-right{right:0;background:var(--zt-tabs-overlay-right-background)}.zt-tabs__nav{position:relative;display:flex;justify-content:flex-start;background-color:var(--zt-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:var(--zt-tabs-line-bottom)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tab,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tab{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav::-webkit-scrollbar,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav::-webkit-scrollbar{display:none}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__nav--capsule{flex:1;box-sizing:border-box;justify-content:space-around;align-items:center;height:var(--zt-tabs-card-height);background:#ffffff;border-radius:18px;padding:4px}.zt-tabs__nav--capsule .zt-tab{flex:1;color:var(--zt-black)}.zt-tabs__nav--capsule .zt-tab.zt-tab--active{height:24px;color:var(--zt-white);font-size:var(--zt-font-size-md);background-image:linear-gradient(-80deg,#85C0FF 0%,#3388FF 100%);border-radius:14px}.zt-tabs__nav--capsule .zt-tab--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tabs__nav--capsule.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:var(--zt-tabs-line-bottom);left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap,.zt-tabs--capsule>.zt-tabs__wrap{height:var(--zt-tabs-card-height);display:flex;justify-content:center}.zt-theme-dark{--zt-tabs-overlay-left-background: linear-gradient(90deg, #0f1923 0%, rgba(15, 25, 35, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(15, 25, 35, 0) 3%, #0f1923 100%)}
1
+ :root{--zt-tab-active-text-color: var(--zt-text-color);--zt-tab-disabled-text-color: var(--zt-text-color-3);--zt-tab-active-opacity: .2;--zt-tabs-default-color: var(--zt-primary-color);--zt-tabs-line-height: 44px;--zt-tabs-line-bottom: 16px;--zt-tabs-card-height: 32px;--zt-tabs-capsule-height: 36px;--zt-tabs-bottom-bar-width: 12px;--zt-tabs-bottom-bar-height: 4px;--zt-tabs-bottom-bar-color: var(--zt-primary-color);--zt-tabs-bottom-bar-radius: 2px;--zt-tabs-nav-background: var(--zt-background);--zt-tab-text-color: var(--zt-gray-a6);--zt-tabs-overlay-left-background: linear-gradient(90deg, #ffffff 0%, rgba(245, 250, 255, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%)}.zt-tab{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--zt-padding-md);color:var(--zt-tab-text-color);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);cursor:pointer}.zt-tab--active{color:var(--zt-tab-active-text-color);font-size:var(--zt-font-size-lg);font-weight:var(--zt-font-bold)}.zt-tab--active:active{opacity:var(--zt-tab-active-opacity)}.zt-tab--disabled{color:var(--zt-tab-disabled-text-color);cursor:not-allowed;font-size:var(--zt-font-size-md)}.zt-tab--grow{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tab--shrink{flex:none;padding:0 var(--zt-padding-xs)}.zt-tab--card{color:var(--zt-tabs-default-color)}.zt-tab--card.zt-tab--active{color:var(--zt-white);background-color:var(--zt-tabs-default-color)}.zt-tab--card--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab--capsule{color:var(--zt-black)}.zt-tab--capsule.zt-tab--active{color:var(--zt-white);font-size:var(--zt-font-size-md);background-image:linear-gradient(-80deg,#85C0FF 0%,#3388FF 100%);border-radius:14px}.zt-tab--capsule--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tab__title{flex:1;display:flex;align-items:center;justify-content:center}.zt-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.zt-tab__text-wrapper,.zt-tabs{position:relative}.zt-tabs__wrap{overflow:hidden;position:relative}.zt-tabs__wrap--page-top{position:fixed}.zt-tabs__wrap--content-bottom{top:auto;bottom:0}.zt-tabs__overlay-left,.zt-tabs__overlay-right{position:absolute;top:0;width:var(--zt-tabs-line-height);height:var(--zt-tabs-line-height);pointer-events:none}.zt-tabs__overlay-left{left:0;background:var(--zt-tabs-overlay-left-background)}.zt-tabs__overlay-right{right:0;background:var(--zt-tabs-overlay-right-background)}.zt-tabs__nav{position:relative;display:flex;justify-content:flex-start;background-color:var(--zt-tabs-nav-background);-webkit-user-select:none;-moz-user-select:none;user-select:none}.zt-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--complete::-webkit-scrollbar{display:none}.zt-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:var(--zt-tabs-line-bottom)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tab,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tab{flex:1 0 auto;padding:0 var(--zt-padding-sm)}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.zt-tabs__nav--line.zt-tabs__nav--shrink .zt-tabs__nav::-webkit-scrollbar,.zt-tabs__nav--line.zt-tabs__nav--complete .zt-tabs__nav::-webkit-scrollbar{display:none}.zt-tabs__nav--card.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__nav--capsule{flex:1;box-sizing:border-box;justify-content:space-around;align-items:center;height:var(--zt-tabs-capsule-height);background:#ffffff;border-radius:18px;padding:4px}.zt-tabs__nav--capsule .zt-tab{flex:1;color:var(--zt-black);height:28px}.zt-tabs__nav--capsule .zt-tab.zt-tab--active{color:var(--zt-white);font-size:var(--zt-font-size-md);background-image:linear-gradient(-80deg,#85C0FF 0%,#3388FF 100%);border-radius:14px}.zt-tabs__nav--capsule .zt-tab--disabled{color:var(--zt-tab-disabled-text-color)}.zt-tabs__nav--capsule.zt-tabs__nav--shrink{display:inline-flex}.zt-tabs__line{position:absolute;bottom:var(--zt-tabs-line-bottom);left:0;z-index:1;width:var(--zt-tabs-bottom-bar-width);height:var(--zt-tabs-bottom-bar-height);background:var(--zt-tabs-bottom-bar-color);border-radius:var(--zt-tabs-bottom-bar-radius)}.zt-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.zt-tabs__content--animated{overflow:hidden}.zt-tabs--line .zt-tabs__wrap{height:var(--zt-tabs-line-height)}.zt-tabs--card>.zt-tabs__wrap{height:var(--zt-tabs-card-height);display:flex;justify-content:center}.zt-tabs--capsule>.zt-tabs__wrap{height:var(--zt-tabs-capsule-height);display:flex;justify-content:center}.zt-theme-dark{--zt-tabs-overlay-left-background: linear-gradient(90deg, #0f1923 0%, rgba(15, 25, 35, 0) 100%);--zt-tabs-overlay-right-background: linear-gradient(90deg, rgba(15, 25, 35, 0) 3%, #0f1923 100%)}