UNPKG

@ly-js/ui

Version:

`@ly-js/ui` 是基于`vue3`常用库,会在`@ly-js/element`、`@ly-js/vant`中引入

303 lines 8.43 kB
{ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json", "framework": "vue", "name": "@ly-js/ui", "version": "0.0.24", "contributions": { "html": { "tags": [ { "name": "ly-icon", "source": { "symbol": "LyIcon" }, "description": "svg 图标", "doc-url": "", "attributes": [ { "name": "type", "required": true, "description": "svg > use.xlinkHref 属性, 会自动追加 '#' 前缀", "doc-url": "", "default": "''", "options": [], "value": { "type": "string", "kind": "expression" } } ], "events": [], "slots": [] }, { "name": "ly-loading", "source": { "symbol": "LyLoading" }, "description": "loading component", "doc-url": "", "attributes": [ { "name": "type", "description": "loading icon type,可选值:'circular' | 'spinner'", "doc-url": "", "default": "circular", "options": [], "value": { "type": "string", "kind": "expression" } }, { "name": "color", "description": "主颜色", "doc-url": "", "default": "#c9c9c9", "options": [], "value": { "type": "string", "kind": "expression" } }, { "name": "size", "description": "loading icon size", "doc-url": "", "default": "32px", "options": [], "value": { "type": "string|number", "kind": "expression" } }, { "name": "text-size", "description": "loading text size", "doc-url": "", "default": "16px", "options": [], "value": { "type": "string|number", "kind": "expression" } }, { "name": "text-color", "description": "loading text color, default color prop", "doc-url": "", "options": [], "value": { "type": "string", "kind": "expression" } }, { "name": "only-text", "description": "only show text, hidden loading icon", "doc-url": "", "default": "false", "options": [], "value": { "type": "boolean", "kind": "expression" } } ], "events": [], "slots": [] }, { "name": "ly-fixed-container", "source": { "symbol": "LyFixedContainer" }, "description": "fixed container auto ", "doc-url": "", "attributes": [ { "name": "append-to-body", "description": "wrap el is append to body", "doc-url": "", "default": "false", "options": [], "value": { "type": "boolean", "kind": "expression" } }, { "name": "wrap-class", "description": "wrap class names", "doc-url": "", "options": [], "value": { "type": "string", "kind": "expression" } }, { "name": "z-index", "description": "wrap style for z-index", "doc-url": "", "options": [], "value": { "type": "number", "kind": "expression" } }, { "name": "top", "description": "wrap style for top", "doc-url": "", "options": [], "value": { "type": "number|string", "kind": "expression" } }, { "name": "right", "description": "wrap style for right", "doc-url": "", "options": [], "value": { "type": "number|string", "kind": "expression" } }, { "name": "bottom", "description": "wrap style for bottom", "doc-url": "", "options": [], "value": { "type": "number|string", "kind": "expression" } }, { "name": "left", "description": "wrap style for left", "doc-url": "", "options": [], "value": { "type": "number|string", "kind": "expression" } }, { "name": "direction", "description": "wrap direction: 'top' | 'right' | 'bottom' | 'left' , default is 'bottom'", "doc-url": "", "default": "bottom", "options": [], "value": { "type": "string", "kind": "expression" } }, { "name": "width", "description": "wrap style width", "doc-url": "", "options": [], "value": { "type": "string|number", "kind": "expression" } }, { "name": "height", "description": "wrap style height", "doc-url": "", "options": [], "value": { "type": "string|number", "kind": "expression" } }, { "name": "placeholder", "description": "wrap height/width placeholder", "doc-url": "", "default": "true", "options": [], "value": { "type": "boolean", "kind": "expression" } } ], "events": [], "slots": [ { "name": "default", "description": "slots content" } ] } ], "attributes": [ { "name": "v-click-outside", "description": "点击当前元素外的任意位置时候触发", "doc-url": "", "default": "", "required": false, "value": { "type": "(el: HtmlElement) => any", "kind": "expression" }, "source": { "module": "", "symbol": "Click-outside" }, "vue-argument": { "description": "", "doc-url": "" } }, { "name": "v-ripple", "description": "给非inline-block样式元素添加波纹点击效果", "doc-url": "", "default": "", "required": false, "value": { "type": "boolean|undefined", "kind": "expression" }, "source": { "module": "", "symbol": "Ripple" }, "vue-argument": { "description": "", "doc-url": "" } }, { "name": "v-resize", "description": "监听元素大小变动", "doc-url": "", "default": "", "required": false, "value": { "type": "function", "kind": "expression" }, "source": { "module": "", "symbol": "Resize" }, "vue-argument": { "description": "", "doc-url": "" } } ], "types-syntax": "typescript" } } }