fix(@omiu/select): rebuild & publish
This commit is contained in:
parent
fc8fd8be05
commit
477947dffd
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@omiu/select",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"description": "Mobile pop-up options list",
|
||||
"docsExtend": {
|
||||
"cnName": "下拉菜单",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* @omiu/select v0.0.5 http://omijs.org
|
||||
* @omiu/select v0.0.6 http://omijs.org
|
||||
* Front End Cross-Frameworks Framework.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omi
|
||||
|
@ -1016,7 +1016,7 @@ var removeResizeListener = function (element, fn) {
|
|||
};
|
||||
|
||||
/**
|
||||
* @omiu/popover v0.0.10 http://omijs.org
|
||||
* @omiu/popover v0.0.11 http://omijs.org
|
||||
* Front End Cross-Frameworks Framework.
|
||||
* By dntzhang https://github.com/dntzhang
|
||||
* Github: https://github.com/Tencent/omi
|
||||
|
@ -3284,8 +3284,10 @@ var css = index;Object.freeze({
|
|||
Popover.prototype.installed = function () {
|
||||
var _this = this;
|
||||
window.addEventListener('click', function () {
|
||||
_this.isShow = false;
|
||||
_this.update();
|
||||
if (_this.isShow) {
|
||||
_this.isShow = false;
|
||||
_this.update();
|
||||
}
|
||||
});
|
||||
};
|
||||
Popover.prototype.updatePosition = function () {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
import { tag, WeElement, extractClass, h } from 'omi'
|
||||
import * as css from './index.scss'
|
||||
import { removeResizeListener, addResizeListener } from './resize-event.ts'
|
||||
import { removeResizeListener, addResizeListener } from './resize-event'
|
||||
|
||||
import '@omiu/popover'
|
||||
//debug
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
body,html{padding:0;margin:0}.text{font-size:60px;font-family:cursive}svg{width:100%;height:100%}.use-text{fill:none;stroke:#fff;stroke-dashoffset:35%;stroke-dasharray:0 87.5%;stroke-width:2px}.use-text:nth-child(1){stroke:#777e7a;animation:animation1 8s infinite ease-in-out forwards}.use-text:nth-child(2){stroke:#777e7a;animation:animation2 8s infinite ease-in-out forwards}.use-text:nth-child(3){stroke:#777e7a;animation:animation3 8s infinite ease-in-out forwards}.use-text:nth-child(4){stroke:#777e7a;animation:animation4 8s infinite ease-in-out forwards}.use-text:nth-child(5){stroke:#777e7a;animation:animation5 8s infinite ease-in-out forwards}.use-omi{fill:none;stroke:#fff;stroke-dashoffset:35%;stroke-dasharray:0 87.5%;stroke-width:2px}.use-omi:nth-child(1){stroke:#07c160;animation:animation1 8s infinite ease-in-out forwards}.use-omi:nth-child(2){stroke:#07c160;animation:animation2 8s infinite ease-in-out forwards}.use-omi:nth-child(3){stroke:#07c160;animation:animation3 8s infinite ease-in-out forwards}.use-omi:nth-child(4){stroke:#07c160;animation:animation4 8s infinite ease-in-out forwards}.use-omi:nth-child(5){stroke:#07c160;animation:animation5 8s infinite ease-in-out forwards}@keyframes animation1{50%{stroke-dasharray:7% 28%;stroke-dashoffset:7%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:7%}}@keyframes animation2{50%{stroke-dasharray:7% 28%;stroke-dashoffset:14%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:14%}}@keyframes animation3{50%{stroke-dasharray:7% 28%;stroke-dashoffset:21%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:21%}}@keyframes animation4{50%{stroke-dasharray:7% 28%;stroke-dashoffset:28%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:28%}}@keyframes animation5{50%{stroke-dasharray:7% 28%;stroke-dashoffset:35%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:35%}}
|
|
@ -0,0 +1 @@
|
|||
body,html{padding:0;margin:0}.text{font-size:60px;font-family:cursive}svg{width:100%;height:100%}.use-text{fill:none;stroke:white;stroke-dashoffset:35%;stroke-dasharray:0 87.5%;stroke-width:2px}.use-text:nth-child(1){stroke:#777e7a;animation:animation1 8s infinite ease-in-out forwards}.use-text:nth-child(2){stroke:#777e7a;animation:animation2 8s infinite ease-in-out forwards}.use-text:nth-child(3){stroke:#777e7a;animation:animation3 8s infinite ease-in-out forwards}.use-text:nth-child(4){stroke:#777e7a;animation:animation4 8s infinite ease-in-out forwards}.use-text:nth-child(5){stroke:#777e7a;animation:animation5 8s infinite ease-in-out forwards}.use-omi{fill:none;stroke:white;stroke-dashoffset:35%;stroke-dasharray:0 87.5%;stroke-width:2px}.use-omi:nth-child(1){stroke:#07c160;animation:animation1 8s infinite ease-in-out forwards}.use-omi:nth-child(2){stroke:#07c160;animation:animation2 8s infinite ease-in-out forwards}.use-omi:nth-child(3){stroke:#07c160;animation:animation3 8s infinite ease-in-out forwards}.use-omi:nth-child(4){stroke:#07c160;animation:animation4 8s infinite ease-in-out forwards}.use-omi:nth-child(5){stroke:#07c160;animation:animation5 8s infinite ease-in-out forwards}@keyframes animation1{50%{stroke-dasharray:7% 28%;stroke-dashoffset:7%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:7%}}@keyframes animation2{50%{stroke-dasharray:7% 28%;stroke-dashoffset:14%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:14%}}@keyframes animation3{50%{stroke-dasharray:7% 28%;stroke-dashoffset:21%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:21%}}@keyframes animation4{50%{stroke-dasharray:7% 28%;stroke-dashoffset:28%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:28%}}@keyframes animation5{50%{stroke-dasharray:7% 28%;stroke-dashoffset:35%}70%{stroke-dasharray:7% 28%;stroke-dashoffset:35%}}
|
File diff suppressed because one or more lines are too long
|
@ -7,9 +7,9 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>OMI ADMIN</title>
|
||||
|
||||
<script type="module" crossorigin src="./assets/index.cd809bc9.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index.e7ad21b0.js"></script>
|
||||
<link rel="modulepreload" href="./assets/vendor.8ae32d35.js">
|
||||
<link rel="stylesheet" href="./assets/index.36baf30a.css">
|
||||
<link rel="stylesheet" href="./assets/index.e4c38a11.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"@omiu/loading": "0.0.2",
|
||||
"@omiu/pagination": "^0.0.2",
|
||||
"@omiu/radio": "^0.0.6",
|
||||
"@omiu/select": "^0.0.4",
|
||||
"@omiu/select": "^0.0.6",
|
||||
"@omiu/switch": "^0.0.2",
|
||||
"@omiu/table": "^0.0.6",
|
||||
"@omiu/tabs": "^0.0.15",
|
||||
|
|
|
@ -24,6 +24,8 @@ export default class extends WeElement<Props> {
|
|||
|
||||
items = [{ label: '广东省-深圳市', value: 1 }, { label: '江西省-抚州市', value: 2 }, { label: '河北省-石家庄', value: 3 }]
|
||||
|
||||
fruits = [{ label: '苹果🍎', value: 1 }, { label: '草莓🍓', value: 2 }, { label: '葡萄🍇', value: 3 }, { label: '香蕉🍌', value: 4 }, { label: '梨子🍐', value: 5 }, { label: '橘子🍊', value: 6 },]
|
||||
|
||||
render() {
|
||||
const formItemClass = tw`leading-8 mb-6`
|
||||
const lableClass = tw`w-16 float-left align-middle`
|
||||
|
@ -76,6 +78,18 @@ export default class extends WeElement<Props> {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class={formItemClass}>
|
||||
<label class={lableClass} >喜爱水果</label>
|
||||
<div class={tw`leading-8 ml-10`}>
|
||||
<o-select css={`
|
||||
.o-select .o-input__inner {
|
||||
width: 257px;
|
||||
`} size="small" multiple placeholder="选择多个水果"
|
||||
items={this.fruits}
|
||||
></o-select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class={formItemClass}>
|
||||
<label class={lableClass} >大学时光</label>
|
||||
<div class={tw`leading-8 ml-10`}>
|
||||
|
|
Loading…
Reference in New Issue