fix(build): fix build error and update versions (#1254)

* fix(pager): [pager] change pager content to unicode (#1251)

* fix(build): fix build error and update versions

* fix(build): update theme version

---------

Co-authored-by: gimmyhehe <975402925@qq.com>
This commit is contained in:
ajaxzheng 2024-01-04 14:59:25 +08:00 committed by GitHub
parent 48a0df2980
commit e9f0ef5529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 38 additions and 25 deletions

View File

@ -3,7 +3,6 @@
*/ */
import fs from 'fs-extra' import fs from 'fs-extra'
import { EOL as endOfLine } from 'node:os' import { EOL as endOfLine } from 'node:os'
import minimist from 'minimist'
import { import {
getopentinyVersion, getopentinyVersion,
pathFromWorkspaceRoot, pathFromWorkspaceRoot,
@ -62,7 +61,7 @@ const buildFullRuntime = () => {
}) })
components.forEach((item) => { components.forEach((item) => {
if (item.inEntry !== false && !item.path.includes('river')) { if (item.inEntry !== false && !item.path.includes('river') && !item.path.includes('chart-beta')) {
const component = capitalizeKebabCase(item.name) const component = capitalizeKebabCase(item.name)
componentsTemplate.push(` ${component}`) componentsTemplate.push(` ${component}`)

View File

@ -394,13 +394,13 @@
"mobile" "mobile"
] ]
}, },
"CascaderSelectMobileFirst": { "CascaderSelectMobile": {
"path": "vue/src/cascader-select/src/mobile-first.vue", "path": "vue/src/cascader-select/src/mobile.vue",
"type": "template", "type": "template",
"exclude": false "exclude": false
}, },
"CascaderSelectMobile": { "CascaderSelectMobileFirst": {
"path": "vue/src/cascader-select/src/mobile.vue", "path": "vue/src/cascader-select/src/mobile-first.vue",
"type": "template", "type": "template",
"exclude": false "exclude": false
}, },
@ -430,6 +430,11 @@
"type": "component", "type": "component",
"exclude": false "exclude": false
}, },
"ChartBeta": {
"path": "vue/src/chart-beta/index.ts",
"type": "component",
"exclude": false
},
"ChartBoxplot": { "ChartBoxplot": {
"path": "vue/src/chart/chart-boxplot/index.ts", "path": "vue/src/chart/chart-boxplot/index.ts",
"type": "component", "type": "component",
@ -530,11 +535,6 @@
"type": "component", "type": "component",
"exclude": false "exclude": false
}, },
"ChartsBeta": {
"path": "vue/src/chart-beta/index.ts",
"type": "component",
"exclude": false
},
"Checkbox": { "Checkbox": {
"path": "vue/src/checkbox/index.ts", "path": "vue/src/checkbox/index.ts",
"type": "component", "type": "component",

View File

@ -1,7 +1,7 @@
{ {
"name": "@opentiny/vue-renderless", "name": "@opentiny/vue-renderless",
"private": true, "private": true,
"version": "3.12.0", "version": "3.13.0",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"homepage": "https://opentiny.design/tiny-vue", "homepage": "https://opentiny.design/tiny-vue",
"keywords": [ "keywords": [

View File

@ -1,6 +1,6 @@
{ {
"name": "@opentiny/vue-theme-mobile", "name": "@opentiny/vue-theme-mobile",
"version": "3.12.0", "version": "3.13.0",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"homepage": "https://opentiny.design/tiny-vue", "homepage": "https://opentiny.design/tiny-vue",
"main": "index.css", "main": "index.css",

View File

@ -18,6 +18,7 @@
@import './button/index.less'; @import './button/index.less';
@import './checkbox/index.less'; @import './checkbox/index.less';
@import './checkbox-group/index.less'; @import './checkbox-group/index.less';
@import './container/index.less';
@import './dialog-box/index.less'; @import './dialog-box/index.less';
@import './dropdown-item/index.less'; @import './dropdown-item/index.less';
@import './dropdown-menu/index.less'; @import './dropdown-menu/index.less';
@ -30,8 +31,10 @@
@import './index-bar/index.less'; @import './index-bar/index.less';
@import './index-bar-anchor/index.less'; @import './index-bar-anchor/index.less';
@import './input/index.less'; @import './input/index.less';
@import './label/index.less';
@import './list/index.less'; @import './list/index.less';
@import './loading/index.less'; @import './loading/index.less';
@import './mask/index.less';
@import './mini-picker/index.less'; @import './mini-picker/index.less';
@import './modal/index.less'; @import './modal/index.less';
@import './multi-select/index.less'; @import './multi-select/index.less';
@ -52,6 +55,7 @@
@import './tabbar-item/index.less'; @import './tabbar-item/index.less';
@import './table/index.less'; @import './table/index.less';
@import './tabs/index.less'; @import './tabs/index.less';
@import './tag/index.less';
@import './tall-storage/index.less'; @import './tall-storage/index.less';
@import './time-line/index.less'; @import './time-line/index.less';
@import './toast/index.less'; @import './toast/index.less';

View File

@ -1,6 +1,6 @@
{ {
"name": "@opentiny/vue-theme-saas", "name": "@opentiny/vue-theme-saas",
"version": "3.12.0", "version": "3.13.0",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"homepage": "https://opentiny.design/tiny-vue", "homepage": "https://opentiny.design/tiny-vue",
"main": "index.css", "main": "index.css",

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="m13.28,5.14c-.46.46-.71,1.07-.71,1.72s.25,1.26.71,1.72c.46.46,1.07.71,1.72.71s1.26-.25,1.72-.71c.46-.46.71-1.07.71-1.72s-.25-1.26-.71-1.72c-.92-.92-2.52-.92-3.43,0Zm2.38,1.06c.17.17.27.41.27.66s-.1.48-.27.66c-.35.35-.96.35-1.31,0-.18-.18-.27-.41-.27-.66s.1-.48.27-.66c.18-.18.41-.27.66-.27s.48.1.66.27Zm-.95,7.31l-1.22,1.24c-.33.33-.76.5-1.2.5s-.86-.16-1.18-.48l-4.37-4.29c-.07-.07-.19-.07-.27,0l-3.71,3.69v2.41c0,1.37,1.25,2.49,2.78,2.49h6.24c.41,0,.75.34.75.75s-.34.75-.75.75h-6.24c-2.36,0-4.28-1.79-4.28-3.99v-2.73h0V5.24c0-2.2,1.92-3.99,4.28-3.99h12.37c2.36,0,4.28,1.79,4.28,3.99v5.75c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-5.75c0-1.37-1.25-2.49-2.78-2.49H5.53c-1.53,0-2.78,1.12-2.78,2.49v6.81l2.66-2.64c.65-.65,1.72-.65,2.38,0l4.37,4.29c.08.07.19.07.27,0l1.23-1.24c.29-.29.77-.3,1.06,0,.29.29.3.77,0,1.06Zm8.04,4.44c0,.41-.34.75-.75.75h-2.49v2.49c0,.41-.34.75-.75.75s-.75-.34-.75-.75v-2.49h-2.49c-.41,0-.75-.34-.75-.75s.34-.75.75-.75h2.49v-2.49c0-.41.34-.75.75-.75s.75.34.75.75v2.49h2.49c.41,0,.75.34.75.75Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1,6 +1,6 @@
{ {
"name": "@opentiny/vue-theme", "name": "@opentiny/vue-theme",
"version": "3.12.0", "version": "3.13.1",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", "description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
"main": "index.css", "main": "index.css",
"homepage": "https://opentiny.design/tiny-vue", "homepage": "https://opentiny.design/tiny-vue",

View File

@ -101,7 +101,7 @@
} }
&::before { &::before {
content: '···'; content: '\00b7\00b7\00b7';
display: var(--ti-pager-dot-before-display); display: var(--ti-pager-dot-before-display);
letter-spacing: 1px; letter-spacing: 1px;
} }

View File

@ -408,6 +408,7 @@ import IconSortTriangleDescending from './src/sort-triangle-descending'
import IconFinish from './src/finish' import IconFinish from './src/finish'
import IconWarn from './src/warn' import IconWarn from './src/warn'
import IconAddPicture from './src/add-picture'
export { export {
IconSubScript, IconSubScript,
@ -1199,7 +1200,9 @@ export {
IconFinish, IconFinish,
IconFinish as iconFinish, IconFinish as iconFinish,
IconWarn, IconWarn,
IconWarn as iconWarn IconWarn as iconWarn,
IconAddPicture,
IconAddPicture as iconAddPicture
} }
export default { export default {
@ -1207,6 +1210,7 @@ export default {
IconSortTriangle, IconSortTriangle,
IconSortTriangleAscending, IconSortTriangleAscending,
IconSortTriangleDescending, IconSortTriangleDescending,
IconPromptExclamation,
IconPrompt, IconPrompt,
IconExpand, IconExpand,
IconPutAway, IconPutAway,
@ -1593,5 +1597,6 @@ export default {
IconZoomIn, IconZoomIn,
IconZoomOut, IconZoomOut,
IconFinish, IconFinish,
IconWarn IconWarn,
IconAddPicture
} }

View File

@ -63,6 +63,7 @@
"@opentiny/vue-cell": "workspace:~", "@opentiny/vue-cell": "workspace:~",
"@opentiny/vue-chart": "workspace:~", "@opentiny/vue-chart": "workspace:~",
"@opentiny/vue-chart-bar": "workspace:~", "@opentiny/vue-chart-bar": "workspace:~",
"@opentiny/vue-chart-beta": "workspace:~",
"@opentiny/vue-chart-boxplot": "workspace:~", "@opentiny/vue-chart-boxplot": "workspace:~",
"@opentiny/vue-chart-candle": "workspace:~", "@opentiny/vue-chart-candle": "workspace:~",
"@opentiny/vue-chart-core": "workspace:~", "@opentiny/vue-chart-core": "workspace:~",
@ -83,7 +84,6 @@
"@opentiny/vue-chart-tree": "workspace:~", "@opentiny/vue-chart-tree": "workspace:~",
"@opentiny/vue-chart-waterfall": "workspace:~", "@opentiny/vue-chart-waterfall": "workspace:~",
"@opentiny/vue-chart-wordcloud": "workspace:~", "@opentiny/vue-chart-wordcloud": "workspace:~",
"@opentiny/vue-chart-beta": "workspace:~",
"@opentiny/vue-checkbox": "workspace:~", "@opentiny/vue-checkbox": "workspace:~",
"@opentiny/vue-checkbox-button": "workspace:~", "@opentiny/vue-checkbox-button": "workspace:~",
"@opentiny/vue-checkbox-group": "workspace:~", "@opentiny/vue-checkbox-group": "workspace:~",

View File

@ -25,11 +25,12 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { props, setup, defineComponent } from '@opentiny/vue-common' import { props, setup, defineComponent, $prefix } from '@opentiny/vue-common'
import { renderless, api } from '@opentiny/vue-renderless/mask/vue' import { renderless, api } from '@opentiny/vue-renderless/mask/vue'
import '@opentiny/vue-theme-mobile/mask/index.less' import '@opentiny/vue-theme-mobile/mask/index.less'
export default defineComponent({ export default defineComponent({
name: $prefix + 'Mask',
props: { props: {
...props, ...props,
visible: { visible: {