让企业管理更智慧、更快捷
Skip to content
GitLab
探索
登录
注册
源代码提交(4)
ci: update ci
· 7bc1cb51
由
唐良成
创作于
3月 04, 2022
7bc1cb51
fix: 修复 lwc-layout-form-basic 组件 header 样式问题
· 4b73c843
由
唐良成
创作于
3月 08, 2022
4b73c843
Merge branch 'tlc-dev'
· 4849ea6f
由
唐良成
创作于
3月 08, 2022
4849ea6f
1.0.1
· f4ba70b3
由
唐良成
创作于
3月 08, 2022
f4ba70b3
展开全部
隐藏空白变更内容
行内
左右并排
.gitlab-ci.yml
浏览文件 @
f4ba70b3
...
...
@@ -7,7 +7,7 @@ before_script:
stages
:
-
package
-
deploy
#
- deploy
job:npm-publish
:
stage
:
package
...
...
@@ -34,17 +34,17 @@ job:npm-publish:
-
npm publish
-
echo "job:deploy end..."
job:web-deploy
:
stage
:
deploy
cache
:
key
:
node_modules_cache
tags
:
-
deploy
only
:
-
tags
script
:
-
echo "job:web-deploy start..."
-
npm run build-storybook
-
echo "Deploy to dev.enviroment(211.149.204.108)..."
-
scp -r -P 22000 storybook-static leadway@211.149.204.108:/home/dockers/web-ui-component-document/www
-
echo "job:web-deploy end..."
\ No newline at end of file
# job:web-deploy:
# stage: deploy
# cache:
# key: node_modules_cache
# tags:
# - deploy
# only:
# - tags
# script:
# - echo "job:web-deploy start..."
# - npm run build-storybook
# - echo "Deploy to dev.enviroment(211.149.204.108)..."
# - scp -r -P 22000 storybook-static leadway@211.149.204.108:/home/dockers/web-ui-component-document/www
# - echo "job:web-deploy end..."
\ No newline at end of file
.storybook/preview.js
浏览文件 @
f4ba70b3
import
Vue
from
"
vue
"
;
import
VueCompositionAPI
from
"
@vue/composition-api
"
;
import
Element
from
"
element-ui
"
;
import
"
../src/theme-chalk/src/index.scss
"
;
import
"
../src/theme-chalk/src/library/element-ui.scss
"
;
import
"
../src/theme-chalk/lib/index.css
"
;
import
"
../src/plugins/tailwindcss/index.css
"
;
import
VXETable
from
'
../src/plugins/vxe-table
'
;
...
...
.storybook/webpack.config.js
浏览文件 @
f4ba70b3
...
...
@@ -29,7 +29,7 @@ module.exports = ({ config, mode }) => {
},
},
],
include
:
path
.
resolve
(
__dirname
,
"
../src
/
"
),
include
:
path
.
resolve
(
__dirname
,
"
../src
"
),
},
{
test
:
/
\.
scss$/
,
...
...
package-lock.json
浏览文件 @
f4ba70b3
{
"name": "@package/lwc-ui-components",
"version": "1.0.
0
",
"version": "1.0.
1
",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@package/lwc-ui-components",
"version": "1.0.
0
",
"version": "1.0.
1
",
"license": "UNLICENSED",
"dependencies": {
"@mdx-js/vue-loader": "^1.6.22",
package.json
浏览文件 @
f4ba70b3
{
"name"
:
"@package/lwc-ui-components"
,
"version"
:
"1.0.
0
"
,
"version"
:
"1.0.
1
"
,
"private"
:
false
,
"description"
:
"立威云UI组件库"
,
"author"
:
""
,
...
...
src/stories/layout/form-basic/Index.vue
浏览文件 @
f4ba70b3
<
template
>
<el-card
shadow=
"never"
:class=
"shadow"
class=
"w-full h-full rounded-none lwc-layout-card"
>
<el-card
shadow=
"never"
:class=
"shadow"
body-style=
"padding: 0"
class=
"w-full h-full rounded-none lwc-layout-card"
>
<el-row
v-if=
"showHeader"
class=
"flex flex-row items-center"
:class=
"headerClass"
>
<slot
name=
"header-title"
></slot>
<el-col
:span=
"8"
class=
"truncate"
v-if=
"title !== '' && !customTitle"
>
...
...
@@ -11,7 +11,7 @@
</el-col>
</el-row>
<el-row
class=
"
bg-white
"
>
<el-row
:
class=
"
contentClass
"
>
<slot></slot>
</el-row>
</el-card>
...
...
@@ -42,7 +42,11 @@ export default {
},
headerClass
:
{
// header class
type
:
[
Object
,
Array
],
default
:
()
=>
{
return
[
'
bg-white
'
]
}
default
:
()
=>
{
return
[
'
bg-gray-100 py-2 px-4
'
]
}
},
contentClass
:
{
// content class
type
:
[
Object
,
Array
],
default
:
()
=>
{
return
[
'
bg-white p-4
'
]
}
}
}
}
...
...
src/theme-chalk/package-lock.json
0 → 100644
浏览文件 @
f4ba70b3
此差异已折叠。
点击以展开。
src/theme-chalk/yarn.lock
浏览文件 @
f4ba70b3
此差异已折叠。
点击以展开。
storybook-static/iframe.html
浏览文件 @
f4ba70b3
...
...
@@ -347,4 +347,4 @@
window
[
'
STORIES
'
]
=
[{
"
titlePrefix
"
:
""
,
"
directory
"
:
"
./src
"
,
"
files
"
:
"
**/*.stories.mdx
"
,
"
importPathMatcher
"
:
"
^
\\
.[
\\\\
/](?:src(?:
\\
/(?!
\\
.)(?:(?:(?!(?:^|
\\
/)
\\
.).)*?)
\\
/|
\\
/|$)(?!
\\
.)(?=.)[^/]*?
\\
.stories
\\
.mdx)$
"
},{
"
titlePrefix
"
:
""
,
"
directory
"
:
"
./src
"
,
"
files
"
:
"
**/*.stories.@(js|jsx|ts|tsx)
"
,
"
importPathMatcher
"
:
"
^
\\
.[
\\\\
/](?:src(?:
\\
/(?!
\\
.)(?:(?:(?!(?:^|
\\
/)
\\
.).)*?)
\\
/|
\\
/|$)(?!
\\
.)(?=.)[^/]*?
\\
.stories
\\
.(js|jsx|ts|tsx))$
"
}];
</script><script
src=
"runtime~main.c299cc8a.iframe.bundle.js"
></script><script
src=
"643.c3607eee.iframe.bundle.js"
></script><script
src=
"main.166279b8.iframe.bundle.js"
></script></body></html>
\ No newline at end of file
window
[
'
STORIES
'
]
=
[{
"
titlePrefix
"
:
""
,
"
directory
"
:
"
./src
"
,
"
files
"
:
"
**/*.stories.mdx
"
,
"
importPathMatcher
"
:
"
^
\\
.[
\\\\
/](?:src(?:
\\
/(?!
\\
.)(?:(?:(?!(?:^|
\\
/)
\\
.).)*?)
\\
/|
\\
/|$)(?!
\\
.)(?=.)[^/]*?
\\
.stories
\\
.mdx)$
"
},{
"
titlePrefix
"
:
""
,
"
directory
"
:
"
./src
"
,
"
files
"
:
"
**/*.stories.@(js|jsx|ts|tsx)
"
,
"
importPathMatcher
"
:
"
^
\\
.[
\\\\
/](?:src(?:
\\
/(?!
\\
.)(?:(?:(?!(?:^|
\\
/)
\\
.).)*?)
\\
/|
\\
/|$)(?!
\\
.)(?=.)[^/]*?
\\
.stories
\\
.(js|jsx|ts|tsx))$
"
}];
</script><script
src=
"runtime~main.0d59c2a8.iframe.bundle.js"
></script><script
src=
"97.63e22173.iframe.bundle.js"
></script><script
src=
"main.35313290.iframe.bundle.js"
></script></body></html>
\ No newline at end of file
storybook-static/index.html
浏览文件 @
f4ba70b3
...
...
@@ -56,4 +56,4 @@
window
[
'
DOCS_MODE
'
]
=
false
;
</script><script
src=
"runtime~main.1465c52e7ac2c2b63c77.manager.bundle.js"
></script><script
src=
"478.825fca2bcaceb852ae3b.manager.bundle.js"
></script><script
src=
"main.2f87b1d4894fa20f5c3d.manager.bundle.js"
></script></body></html>
\ No newline at end of file
window
[
'
DOCS_MODE
'
]
=
false
;
</script><script
src=
"runtime~main.1465c52e7ac2c2b63c77.manager.bundle.js"
></script><script
src=
"478.016cfff0fa8fe64f6734.manager.bundle.js"
></script><script
src=
"main.b1902d384aeb1343babd.manager.bundle.js"
></script></body></html>
\ No newline at end of file