@uzum-tech/ui 1.4.2 → 1.5.1
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/dist/index.js +65404 -64355
- package/dist/index.prod.js +3 -3
- package/es/_internal/index.d.ts +2 -0
- package/es/_internal/index.js +1 -0
- package/es/_internal/typography/index.d.ts +2 -0
- package/es/_internal/typography/index.js +1 -0
- package/es/_internal/typography/src/styles/text.cssr.d.ts +2 -0
- package/es/_internal/typography/src/styles/text.cssr.js +78 -0
- package/es/_internal/typography/src/text.d.ts +246 -0
- package/es/_internal/typography/src/text.js +79 -0
- package/es/_internal/typography/src/variants.d.ts +13 -0
- package/es/_internal/typography/src/variants.js +132 -0
- package/es/_internal/typography/styles/dark.d.ts +3 -0
- package/es/_internal/typography/styles/dark.js +8 -0
- package/es/_internal/typography/styles/index.d.ts +3 -0
- package/es/_internal/typography/styles/index.js +2 -0
- package/es/_internal/typography/styles/light.d.ts +24 -0
- package/es/_internal/typography/styles/light.js +28 -0
- package/es/_styles/common/_common.d.ts +2 -0
- package/es/_styles/common/_common.js +3 -1
- package/es/_styles/common/light.d.ts +2 -0
- package/es/action-card/index.d.ts +4 -0
- package/es/action-card/index.js +2 -0
- package/es/action-card/src/ActionCard.d.ts +313 -0
- package/es/action-card/src/ActionCard.js +101 -0
- package/es/action-card/src/styles/index.cssr.d.ts +2 -0
- package/es/action-card/src/styles/index.cssr.js +113 -0
- package/es/action-card/styles/dark.d.ts +3 -0
- package/es/action-card/styles/dark.js +11 -0
- package/es/action-card/styles/index.d.ts +3 -0
- package/es/action-card/styles/index.js +2 -0
- package/es/action-card/styles/light.d.ts +29 -0
- package/es/action-card/styles/light.js +33 -0
- package/es/avatar/src/Avatar.d.ts +13 -3
- package/es/avatar/src/Avatar.js +4 -3
- package/es/avatar/src/styles/index.cssr.js +3 -2
- package/es/avatar/styles/light.d.ts +1 -0
- package/es/avatar/styles/light.js +4 -3
- package/es/avatar-group/src/AvatarGroup.d.ts +10 -0
- package/es/avatar-group/styles/light.d.ts +1 -0
- package/es/badge/src/Badge.d.ts +10 -0
- package/es/badge/src/Badge.js +3 -2
- package/es/badge/src/styles/index.cssr.js +19 -1
- package/es/badge/styles/light.d.ts +1 -0
- package/es/badge/styles/light.js +4 -3
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +14 -0
- package/es/data-table/src/DataTable.js +3 -3
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.js +10 -1
- package/es/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
- package/es/data-table/src/TableParts/BodySkeleton.js +52 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/src/interface.d.ts +6 -0
- package/es/data-table/src/styles/index.cssr.js +1 -1
- package/es/data-table/styles/light.d.ts +2 -0
- package/es/data-table/styles/light.js +1 -1
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +1 -0
- package/es/modal/src/Modal.d.ts +9 -0
- package/es/modal/styles/light.d.ts +2 -0
- package/es/modal/styles/light.js +2 -1
- package/es/pagination/src/Pagination.d.ts +22 -0
- package/es/pagination/src/Pagination.js +4 -2
- package/es/pagination/src/styles/index.cssr.js +11 -0
- package/es/pagination/styles/light.d.ts +4 -0
- package/es/pagination/styles/light.js +7 -5
- package/es/spin/styles/light.js +3 -3
- package/es/steps/src/Step.d.ts +17 -0
- package/es/steps/src/Step.js +81 -25
- package/es/steps/src/Steps.d.ts +127 -1
- package/es/steps/src/Steps.js +4 -1
- package/es/steps/src/interface.d.ts +10 -2
- package/es/steps/src/interface.js +10 -1
- package/es/steps/src/styles/index.cssr.js +115 -3
- package/es/steps/styles/light.d.ts +14 -0
- package/es/steps/styles/light.js +16 -2
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/toggle-button/src/ToggleButton.d.ts +13 -0
- package/es/toggle-button/src/ToggleButton.js +5 -2
- package/es/toggle-button/src/styles/toggle-button.cssr.js +3 -0
- package/es/typography/src/a.d.ts +27 -0
- package/es/typography/src/a.js +4 -1
- package/es/typography/src/blockquote.d.ts +27 -0
- package/es/typography/src/blockquote.js +4 -1
- package/es/typography/src/create-header.d.ts +27 -0
- package/es/typography/src/create-header.js +4 -1
- package/es/typography/src/headers.d.ts +108 -0
- package/es/typography/src/hr.d.ts +18 -0
- package/es/typography/src/hr.js +4 -0
- package/es/typography/src/li.js +4 -1
- package/es/typography/src/ol.d.ts +27 -0
- package/es/typography/src/ol.js +4 -1
- package/es/typography/src/p.d.ts +27 -0
- package/es/typography/src/p.js +4 -1
- package/es/typography/src/text.d.ts +128 -524
- package/es/typography/src/text.js +68 -69
- package/es/typography/src/ul.d.ts +27 -0
- package/es/typography/src/ul.js +4 -1
- package/es/typography/styles/light.d.ts +3 -0
- package/es/typography/styles/light.js +3 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/index.js +4 -1
- package/lib/_internal/typography/index.d.ts +2 -0
- package/lib/_internal/typography/index.js +9 -0
- package/lib/_internal/typography/src/styles/text.cssr.d.ts +2 -0
- package/lib/_internal/typography/src/styles/text.cssr.js +83 -0
- package/lib/_internal/typography/src/text.d.ts +246 -0
- package/lib/_internal/typography/src/text.js +85 -0
- package/lib/_internal/typography/src/variants.d.ts +13 -0
- package/lib/_internal/typography/src/variants.js +137 -0
- package/lib/_internal/typography/styles/dark.d.ts +3 -0
- package/lib/_internal/typography/styles/dark.js +10 -0
- package/lib/_internal/typography/styles/index.d.ts +3 -0
- package/lib/_internal/typography/styles/index.js +10 -0
- package/lib/_internal/typography/styles/light.d.ts +24 -0
- package/lib/_internal/typography/styles/light.js +32 -0
- package/lib/_styles/common/_common.d.ts +2 -0
- package/lib/_styles/common/_common.js +3 -1
- package/lib/_styles/common/light.d.ts +2 -0
- package/lib/action-card/index.d.ts +4 -0
- package/lib/action-card/index.js +11 -0
- package/lib/action-card/src/ActionCard.d.ts +313 -0
- package/lib/action-card/src/ActionCard.js +107 -0
- package/lib/action-card/src/styles/index.cssr.d.ts +2 -0
- package/lib/action-card/src/styles/index.cssr.js +118 -0
- package/lib/action-card/styles/dark.d.ts +3 -0
- package/lib/action-card/styles/dark.js +13 -0
- package/lib/action-card/styles/index.d.ts +3 -0
- package/lib/action-card/styles/index.js +10 -0
- package/lib/action-card/styles/light.d.ts +29 -0
- package/lib/action-card/styles/light.js +37 -0
- package/lib/avatar/src/Avatar.d.ts +13 -3
- package/lib/avatar/src/Avatar.js +4 -3
- package/lib/avatar/src/styles/index.cssr.js +3 -2
- package/lib/avatar/styles/light.d.ts +1 -0
- package/lib/avatar/styles/light.js +4 -3
- package/lib/avatar-group/src/AvatarGroup.d.ts +10 -0
- package/lib/avatar-group/styles/light.d.ts +1 -0
- package/lib/badge/src/Badge.d.ts +10 -0
- package/lib/badge/src/Badge.js +3 -2
- package/lib/badge/src/styles/index.cssr.js +19 -1
- package/lib/badge/styles/light.d.ts +1 -0
- package/lib/badge/styles/light.js +4 -3
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +14 -0
- package/lib/data-table/src/DataTable.js +3 -3
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.js +10 -1
- package/lib/data-table/src/TableParts/BodySkeleton.d.ts +18 -0
- package/lib/data-table/src/TableParts/BodySkeleton.js +54 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/src/interface.d.ts +6 -0
- package/lib/data-table/src/styles/index.cssr.js +1 -1
- package/lib/data-table/styles/light.d.ts +2 -0
- package/lib/data-table/styles/light.js +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +1 -0
- package/lib/modal/src/Modal.d.ts +9 -0
- package/lib/modal/styles/light.d.ts +2 -0
- package/lib/modal/styles/light.js +2 -1
- package/lib/pagination/src/Pagination.d.ts +22 -0
- package/lib/pagination/src/Pagination.js +4 -2
- package/lib/pagination/src/styles/index.cssr.js +11 -0
- package/lib/pagination/styles/light.d.ts +4 -0
- package/lib/pagination/styles/light.js +7 -5
- package/lib/spin/styles/light.js +3 -3
- package/lib/steps/src/Step.d.ts +17 -0
- package/lib/steps/src/Step.js +81 -25
- package/lib/steps/src/Steps.d.ts +127 -1
- package/lib/steps/src/Steps.js +4 -1
- package/lib/steps/src/interface.d.ts +10 -2
- package/lib/steps/src/interface.js +11 -0
- package/lib/steps/src/styles/index.cssr.js +115 -3
- package/lib/steps/styles/light.d.ts +14 -0
- package/lib/steps/styles/light.js +16 -2
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/toggle-button/src/ToggleButton.d.ts +13 -0
- package/lib/toggle-button/src/ToggleButton.js +5 -2
- package/lib/toggle-button/src/styles/toggle-button.cssr.js +3 -0
- package/lib/typography/src/a.d.ts +27 -0
- package/lib/typography/src/a.js +3 -0
- package/lib/typography/src/blockquote.d.ts +27 -0
- package/lib/typography/src/blockquote.js +3 -0
- package/lib/typography/src/create-header.d.ts +27 -0
- package/lib/typography/src/create-header.js +3 -0
- package/lib/typography/src/headers.d.ts +108 -0
- package/lib/typography/src/hr.d.ts +18 -0
- package/lib/typography/src/hr.js +4 -0
- package/lib/typography/src/li.js +3 -0
- package/lib/typography/src/ol.d.ts +27 -0
- package/lib/typography/src/ol.js +3 -0
- package/lib/typography/src/p.d.ts +27 -0
- package/lib/typography/src/p.js +3 -0
- package/lib/typography/src/text.d.ts +128 -524
- package/lib/typography/src/text.js +66 -70
- package/lib/typography/src/ul.d.ts +27 -0
- package/lib/typography/src/ul.js +3 -0
- package/lib/typography/styles/light.d.ts +3 -0
- package/lib/typography/styles/light.js +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +126 -96
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.1",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -1699,6 +1699,60 @@
|
|
|
1699
1699
|
]
|
|
1700
1700
|
}
|
|
1701
1701
|
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "UActionCard",
|
|
1704
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1705
|
+
"source": {
|
|
1706
|
+
"symbol": "UActionCard"
|
|
1707
|
+
},
|
|
1708
|
+
"slots": [],
|
|
1709
|
+
"attributes": [],
|
|
1710
|
+
"props": [
|
|
1711
|
+
{
|
|
1712
|
+
"name": "title",
|
|
1713
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1714
|
+
"type": "string"
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"name": "description",
|
|
1718
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1719
|
+
"type": "string"
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"name": "icon",
|
|
1723
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1724
|
+
"type": "string | object"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"name": "disabled",
|
|
1728
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1729
|
+
"type": "boolean"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"name": "loading",
|
|
1733
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1734
|
+
"type": "boolean"
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "tag",
|
|
1738
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1739
|
+
"type": "string"
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
"name": "description-line-clamp",
|
|
1743
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card",
|
|
1744
|
+
"type": "number"
|
|
1745
|
+
}
|
|
1746
|
+
],
|
|
1747
|
+
"js": {
|
|
1748
|
+
"events": [
|
|
1749
|
+
{
|
|
1750
|
+
"name": "click",
|
|
1751
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/action-card"
|
|
1752
|
+
}
|
|
1753
|
+
]
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1702
1756
|
{
|
|
1703
1757
|
"name": "UCardList",
|
|
1704
1758
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/card-list",
|
|
@@ -3327,7 +3381,7 @@
|
|
|
3327
3381
|
"name": "summary",
|
|
3328
3382
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/data-table",
|
|
3329
3383
|
"type": "DataTableCreateSummary",
|
|
3330
|
-
"description": "Data of table summary row. For types, see <u-a href=\"#DataTableCreateSummary-Type\">DataTableCreateSummary Type</u-
|
|
3384
|
+
"description": "Data of table summary row. For types, see <u-text tag=\"a\" href=\"#DataTableCreateSummary-Type\">DataTableCreateSummary Type</u-text>.",
|
|
3331
3385
|
"default": "undefined"
|
|
3332
3386
|
},
|
|
3333
3387
|
{
|
|
@@ -4128,7 +4182,7 @@
|
|
|
4128
4182
|
},
|
|
4129
4183
|
{
|
|
4130
4184
|
"name": "UDialog",
|
|
4131
|
-
"description": "Before taking action, please confirm.\n\n<u-alert title=\"Prerequisite\" type=\"warning\" :bordered=\"false\">\n If you want to use dialog, you need to wrap the component where you call related methods inside <u-text code>u-dialog-provider</u-text> and use <u-text code>useDialog</u-text> to get the API.\n</u-alert>\n\nFor example:\n\n```html\n<!-- App.vue -->\n<u-dialog-provider>\n <content />\n</u-dialog-provider>\n```\n\n```js\nimport { defineComponent } from 'vue'\nimport { useDialog } from '@uzum-tech/ui'\n\n// content\nexport default defineComponent({\n setup
|
|
4185
|
+
"description": "Before taking action, please confirm.\n\n<u-alert title=\"Prerequisite\" type=\"warning\" :bordered=\"false\">\n If you want to use dialog, you need to wrap the component where you call related methods inside <u-text tag=\"code\">u-dialog-provider</u-text> and use <u-text tag=\"code\">useDialog</u-text> to get the API.\n</u-alert>\n\nFor example:\n\n```html\n<!-- App.vue -->\n<u-dialog-provider>\n <content />\n</u-dialog-provider>\n```\n\n```js\nimport { defineComponent } from 'vue'\nimport { useDialog } from '@uzum-tech/ui'\n\n// content\nexport default defineComponent({\n setup() {\n const dialog = useDialog()\n return {\n warning() {\n dialog.warning(options)\n }\n }\n }\n})\n```",
|
|
4132
4186
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/dialog",
|
|
4133
4187
|
"source": {
|
|
4134
4188
|
"symbol": "UDialog"
|
|
@@ -4366,7 +4420,7 @@
|
|
|
4366
4420
|
},
|
|
4367
4421
|
{
|
|
4368
4422
|
"name": "UDrawer",
|
|
4369
|
-
"description": "I think it is similar with modal, with a bit difference on placement.\n\n<u-alert title=\"Caveat\" type=\"warning\" :bordered=\"false\">\n If you need to use <u-text code>u-drawer-content</u-text>, you should keep <u-text code>u-drawer</u-text>'s <u-text code>native-scrollbar</u-text> prop as <u-text code>true</u-text>.\n</u-alert>",
|
|
4423
|
+
"description": "I think it is similar with modal, with a bit difference on placement.\n\n<u-alert title=\"Caveat\" type=\"warning\" :bordered=\"false\">\n If you need to use <u-text tag=\"code\">u-drawer-content</u-text>, you should keep <u-text tag=\"code\">u-drawer</u-text>'s <u-text tag=\"code\">native-scrollbar</u-text> prop as <u-text tag=\"code\">true</u-text>.\n</u-alert>",
|
|
4370
4424
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/drawer",
|
|
4371
4425
|
"source": {
|
|
4372
4426
|
"symbol": "UDrawer"
|
|
@@ -5697,7 +5751,7 @@
|
|
|
5697
5751
|
},
|
|
5698
5752
|
{
|
|
5699
5753
|
"name": "UForm",
|
|
5700
|
-
"description": "<!--single-column-->\n\nThe element to collect and validate data.\n\n<u-alert type=\"warning\" title=\"Caveat\" :bordered=\"false\">\n If you want to apply required rule for a form item with number typed value, you need to set <u-text code>`type: number`</u-text> in the rule object.\n</u-alert>",
|
|
5754
|
+
"description": "<!--single-column-->\n\nThe element to collect and validate data.\n\n<u-alert type=\"warning\" title=\"Caveat\" :bordered=\"false\">\n If you want to apply required rule for a form item with number typed value, you need to set <u-text tag=\"code\">`type: number`</u-text> in the rule object.\n</u-alert>",
|
|
5701
5755
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
5702
5756
|
"source": {
|
|
5703
5757
|
"symbol": "UForm"
|
|
@@ -6624,7 +6678,7 @@
|
|
|
6624
6678
|
},
|
|
6625
6679
|
{
|
|
6626
6680
|
"name": "UGrid",
|
|
6627
|
-
"description": "<!--single-column-->\n\nBased on CSS Grid. Responsive. Keep away from IE.\n\n<u-alert type=\"warning\" title=\"Caveats\" :bordered=\"false\">\nDue to technical limitation, <u-text code>u-grid-item</u-text> can't be encapsulated in another component.\n</u-alert>",
|
|
6681
|
+
"description": "<!--single-column-->\n\nBased on CSS Grid. Responsive. Keep away from IE.\n\n<u-alert type=\"warning\" title=\"Caveats\" :bordered=\"false\">\nDue to technical limitation, <u-text tag=\"code\">u-grid-item</u-text> can't be encapsulated in another component.\n</u-alert>",
|
|
6628
6682
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/grid",
|
|
6629
6683
|
"source": {
|
|
6630
6684
|
"symbol": "UGrid"
|
|
@@ -7914,7 +7968,7 @@
|
|
|
7914
7968
|
},
|
|
7915
7969
|
{
|
|
7916
7970
|
"name": "ULayout",
|
|
7917
|
-
"description": "<!--single-column-->\n\nLayout is for layout.\n\nThe component is a bit complicated to use. But like a manual gear car, it worths a shot.\n\nIf you are use version before v2.3.0, you may want to know about <u-a href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-
|
|
7971
|
+
"description": "<!--single-column-->\n\nLayout is for layout.\n\nThe component is a bit complicated to use. But like a manual gear car, it worths a shot.\n\nIf you are use version before v2.3.0, you may want to know about <u-text tag=\"a\" href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-text>.",
|
|
7918
7972
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/layout",
|
|
7919
7973
|
"source": {
|
|
7920
7974
|
"symbol": "ULayout"
|
|
@@ -8738,7 +8792,7 @@
|
|
|
8738
8792
|
},
|
|
8739
8793
|
{
|
|
8740
8794
|
"name": "ULog",
|
|
8741
|
-
"description": "<!--single-column-->\n\nIf you have some logs to show, use log.\n\n<u-alert title=\"Note\" type=\"warning\" style=\"margin-bottom: 16px;\" :bordered=\"false\">\n Due to package size, Uzum UI doesn't include highlight.js. If you want highlight logs, make sure you have set highlightjs before using it.\n</u-alert>\n\nIn highlight demo, we defined a language called `uzum-ui-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about highlight.js, see <u-a href=\"https://highlightjs.org/\" target=\"_blank\">highlight.js</u-
|
|
8795
|
+
"description": "<!--single-column-->\n\nIf you have some logs to show, use log.\n\n<u-alert title=\"Note\" type=\"warning\" style=\"margin-bottom: 16px;\" :bordered=\"false\">\n Due to package size, Uzum UI doesn't include highlight.js. If you want highlight logs, make sure you have set highlightjs before using it.\n</u-alert>\n\nIn highlight demo, we defined a language called `uzum-ui-log` which will highlight all the numbers of line. The following code shows how we defined it. If you want to know more about highlight.js, see <u-text tag=\"a\" href=\"https://highlightjs.org/\" target=\"_blank\">highlight.js</u-text> and <u-text tag=\"a\" href=\"https://highlightjs.readthedocs.io/en/latest/index.html\" target=\"_blank\">highlight.js developer documentation</u-text>\n\n```html\n<template>\n <u-config-provider :hljs=\"hljs\">\n <my-app />\n </u-config-provider>\n</template>\n\n<script>\n import { defineComponent } from 'vue'\n import hljs from 'highlight.js/lib/core'\n\n hljs.registerLanguage('uzum-ui-log', () => ({\n contains: [\n {\n className: 'number',\n begin: /\\d+/\n }\n ]\n }))\n\n export default defineComponent({\n setup() {\n return {\n hljs\n }\n }\n })\n</script>\n```",
|
|
8742
8796
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/log",
|
|
8743
8797
|
"source": {
|
|
8744
8798
|
"symbol": "ULog"
|
|
@@ -12668,7 +12722,7 @@
|
|
|
12668
12722
|
{
|
|
12669
12723
|
"name": "variant",
|
|
12670
12724
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/steps",
|
|
12671
|
-
"type": "'default' | 'history'",
|
|
12725
|
+
"type": "'default' | 'history' | 'outline' | 'dotted'",
|
|
12672
12726
|
"description": "Steps variant.",
|
|
12673
12727
|
"default": "'default'",
|
|
12674
12728
|
"description-sections": {
|
|
@@ -13042,7 +13096,7 @@
|
|
|
13042
13096
|
},
|
|
13043
13097
|
{
|
|
13044
13098
|
"name": "UTabs",
|
|
13045
|
-
"description": "Switch contents in same area.\n\n<u-alert type=\"warning\" title=\"Note\" :bordered=\"false\">\n <u-text code>u-tabs</u-text> will extract default tab value from default slot, so there would be a vue slot warning. If you don't want to see the warning, you should give component a <u-text code>default-value</u-text>.\n</u-alert>",
|
|
13099
|
+
"description": "Switch contents in same area.\n\n<u-alert type=\"warning\" title=\"Note\" :bordered=\"false\">\n <u-text tag=\"code\">u-tabs</u-text> will extract default tab value from default slot, so there would be a vue slot warning. If you don't want to see the warning, you should give component a <u-text tag=\"code\">default-value</u-text>.\n</u-alert>",
|
|
13046
13100
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tabs",
|
|
13047
13101
|
"source": {
|
|
13048
13102
|
"symbol": "UTabs"
|
|
@@ -15569,23 +15623,17 @@
|
|
|
15569
15623
|
{
|
|
15570
15624
|
"name": "type",
|
|
15571
15625
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15572
|
-
"type": "
|
|
15573
|
-
"description": "Text color style.",
|
|
15574
|
-
"default": "'default'"
|
|
15626
|
+
"type": "string"
|
|
15575
15627
|
},
|
|
15576
15628
|
{
|
|
15577
15629
|
"name": "prefix",
|
|
15578
15630
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15579
|
-
"type": "
|
|
15580
|
-
"description": "Show a bar in front of the heading.",
|
|
15581
|
-
"default": "undefined"
|
|
15631
|
+
"type": "string"
|
|
15582
15632
|
},
|
|
15583
15633
|
{
|
|
15584
15634
|
"name": "align-text",
|
|
15585
15635
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15586
|
-
"type": "boolean"
|
|
15587
|
-
"description": "Text alignment.",
|
|
15588
|
-
"default": "false"
|
|
15636
|
+
"type": "boolean"
|
|
15589
15637
|
}
|
|
15590
15638
|
],
|
|
15591
15639
|
"js": {
|
|
@@ -15604,23 +15652,17 @@
|
|
|
15604
15652
|
{
|
|
15605
15653
|
"name": "type",
|
|
15606
15654
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15607
|
-
"type": "
|
|
15608
|
-
"description": "Text color style.",
|
|
15609
|
-
"default": "'default'"
|
|
15655
|
+
"type": "string"
|
|
15610
15656
|
},
|
|
15611
15657
|
{
|
|
15612
15658
|
"name": "prefix",
|
|
15613
15659
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15614
|
-
"type": "
|
|
15615
|
-
"description": "Show a bar in front of the heading.",
|
|
15616
|
-
"default": "undefined"
|
|
15660
|
+
"type": "string"
|
|
15617
15661
|
},
|
|
15618
15662
|
{
|
|
15619
15663
|
"name": "align-text",
|
|
15620
15664
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15621
|
-
"type": "boolean"
|
|
15622
|
-
"description": "Text alignment.",
|
|
15623
|
-
"default": "false"
|
|
15665
|
+
"type": "boolean"
|
|
15624
15666
|
}
|
|
15625
15667
|
],
|
|
15626
15668
|
"js": {
|
|
@@ -15639,23 +15681,17 @@
|
|
|
15639
15681
|
{
|
|
15640
15682
|
"name": "type",
|
|
15641
15683
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15642
|
-
"type": "
|
|
15643
|
-
"description": "Text color style.",
|
|
15644
|
-
"default": "'default'"
|
|
15684
|
+
"type": "string"
|
|
15645
15685
|
},
|
|
15646
15686
|
{
|
|
15647
15687
|
"name": "prefix",
|
|
15648
15688
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15649
|
-
"type": "
|
|
15650
|
-
"description": "Show a bar in front of the heading.",
|
|
15651
|
-
"default": "undefined"
|
|
15689
|
+
"type": "string"
|
|
15652
15690
|
},
|
|
15653
15691
|
{
|
|
15654
15692
|
"name": "align-text",
|
|
15655
15693
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15656
|
-
"type": "boolean"
|
|
15657
|
-
"description": "Text alignment.",
|
|
15658
|
-
"default": "false"
|
|
15694
|
+
"type": "boolean"
|
|
15659
15695
|
}
|
|
15660
15696
|
],
|
|
15661
15697
|
"js": {
|
|
@@ -15674,23 +15710,17 @@
|
|
|
15674
15710
|
{
|
|
15675
15711
|
"name": "type",
|
|
15676
15712
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15677
|
-
"type": "
|
|
15678
|
-
"description": "Text color style.",
|
|
15679
|
-
"default": "'default'"
|
|
15713
|
+
"type": "string"
|
|
15680
15714
|
},
|
|
15681
15715
|
{
|
|
15682
15716
|
"name": "prefix",
|
|
15683
15717
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15684
|
-
"type": "
|
|
15685
|
-
"description": "Show a bar in front of the heading.",
|
|
15686
|
-
"default": "undefined"
|
|
15718
|
+
"type": "string"
|
|
15687
15719
|
},
|
|
15688
15720
|
{
|
|
15689
15721
|
"name": "align-text",
|
|
15690
15722
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15691
|
-
"type": "boolean"
|
|
15692
|
-
"description": "Text alignment.",
|
|
15693
|
-
"default": "false"
|
|
15723
|
+
"type": "boolean"
|
|
15694
15724
|
}
|
|
15695
15725
|
],
|
|
15696
15726
|
"js": {
|
|
@@ -15709,23 +15739,17 @@
|
|
|
15709
15739
|
{
|
|
15710
15740
|
"name": "type",
|
|
15711
15741
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15712
|
-
"type": "
|
|
15713
|
-
"description": "Text color style.",
|
|
15714
|
-
"default": "'default'"
|
|
15742
|
+
"type": "string"
|
|
15715
15743
|
},
|
|
15716
15744
|
{
|
|
15717
15745
|
"name": "prefix",
|
|
15718
15746
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15719
|
-
"type": "
|
|
15720
|
-
"description": "Show a bar in front of the heading.",
|
|
15721
|
-
"default": "undefined"
|
|
15747
|
+
"type": "string"
|
|
15722
15748
|
},
|
|
15723
15749
|
{
|
|
15724
15750
|
"name": "align-text",
|
|
15725
15751
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15726
|
-
"type": "boolean"
|
|
15727
|
-
"description": "Text alignment.",
|
|
15728
|
-
"default": "false"
|
|
15752
|
+
"type": "boolean"
|
|
15729
15753
|
}
|
|
15730
15754
|
],
|
|
15731
15755
|
"js": {
|
|
@@ -15744,23 +15768,17 @@
|
|
|
15744
15768
|
{
|
|
15745
15769
|
"name": "type",
|
|
15746
15770
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15747
|
-
"type": "
|
|
15748
|
-
"description": "Text color style.",
|
|
15749
|
-
"default": "'default'"
|
|
15771
|
+
"type": "string"
|
|
15750
15772
|
},
|
|
15751
15773
|
{
|
|
15752
15774
|
"name": "prefix",
|
|
15753
15775
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15754
|
-
"type": "
|
|
15755
|
-
"description": "Show a bar in front of the heading.",
|
|
15756
|
-
"default": "undefined"
|
|
15776
|
+
"type": "string"
|
|
15757
15777
|
},
|
|
15758
15778
|
{
|
|
15759
15779
|
"name": "align-text",
|
|
15760
15780
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15761
|
-
"type": "boolean"
|
|
15762
|
-
"description": "Text alignment.",
|
|
15763
|
-
"default": "false"
|
|
15781
|
+
"type": "boolean"
|
|
15764
15782
|
}
|
|
15765
15783
|
],
|
|
15766
15784
|
"js": {
|
|
@@ -15779,9 +15797,7 @@
|
|
|
15779
15797
|
{
|
|
15780
15798
|
"name": "align-text",
|
|
15781
15799
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15782
|
-
"type": "boolean"
|
|
15783
|
-
"description": "Text alignment.",
|
|
15784
|
-
"default": "false"
|
|
15800
|
+
"type": "boolean"
|
|
15785
15801
|
}
|
|
15786
15802
|
],
|
|
15787
15803
|
"js": {
|
|
@@ -15813,9 +15829,7 @@
|
|
|
15813
15829
|
{
|
|
15814
15830
|
"name": "align-text",
|
|
15815
15831
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15816
|
-
"type": "boolean"
|
|
15817
|
-
"description": "Text alignment.",
|
|
15818
|
-
"default": "false"
|
|
15832
|
+
"type": "boolean"
|
|
15819
15833
|
}
|
|
15820
15834
|
],
|
|
15821
15835
|
"js": {
|
|
@@ -15834,9 +15848,7 @@
|
|
|
15834
15848
|
{
|
|
15835
15849
|
"name": "align-text",
|
|
15836
15850
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15837
|
-
"type": "boolean"
|
|
15838
|
-
"description": "Text alignment.",
|
|
15839
|
-
"default": "false"
|
|
15851
|
+
"type": "boolean"
|
|
15840
15852
|
}
|
|
15841
15853
|
],
|
|
15842
15854
|
"js": {
|
|
@@ -15866,25 +15878,30 @@
|
|
|
15866
15878
|
"attributes": [],
|
|
15867
15879
|
"props": [
|
|
15868
15880
|
{
|
|
15869
|
-
"name": "
|
|
15881
|
+
"name": "variant",
|
|
15870
15882
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15871
|
-
"type": "
|
|
15872
|
-
"description": "
|
|
15873
|
-
"default": "
|
|
15883
|
+
"type": "'display-l' | 'display-s' | 'heading-l-semi-bold' | 'heading-l-bold' | 'heading-m-semi-bold' | 'heading-m-bold' | 'heading-s-semi-bold' | 'heading-s-bold' | 'title-l-medium' | 'title-l-semi-bold' | 'title-l-bold' | 'title-m-medium' | 'title-m-semi-bold' | 'title-m-bold' | 'title-s-medium' | 'title-s-semi-bold' | 'title-s-bold' | 'body-l-medium' | 'body-l-semi-bold' | 'body-l-bold' | 'body-m-medium' | 'body-m-semi-bold' | 'body-m-bold' | 'body-s-medium' | 'body-s-semi-bold' | 'body-s-bold'",
|
|
15884
|
+
"description": "Typography variant from design system.",
|
|
15885
|
+
"default": "undefined"
|
|
15874
15886
|
},
|
|
15875
15887
|
{
|
|
15876
|
-
"name": "
|
|
15888
|
+
"name": "tag",
|
|
15877
15889
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15878
|
-
"type": "
|
|
15879
|
-
"description": "
|
|
15880
|
-
"default": "
|
|
15890
|
+
"type": "string",
|
|
15891
|
+
"description": "Determined by the variant, can be manually overridden",
|
|
15892
|
+
"default": "span"
|
|
15881
15893
|
},
|
|
15882
15894
|
{
|
|
15883
|
-
"name": "
|
|
15895
|
+
"name": "text",
|
|
15884
15896
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15885
|
-
"type": "
|
|
15886
|
-
"description": "
|
|
15887
|
-
"default": "
|
|
15897
|
+
"type": "string",
|
|
15898
|
+
"description": "Can be used instead of default slot",
|
|
15899
|
+
"default": "undefined"
|
|
15900
|
+
},
|
|
15901
|
+
{
|
|
15902
|
+
"name": "type",
|
|
15903
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15904
|
+
"type": "string"
|
|
15888
15905
|
},
|
|
15889
15906
|
{
|
|
15890
15907
|
"name": "strong",
|
|
@@ -15908,23 +15925,31 @@
|
|
|
15908
15925
|
"default": "false"
|
|
15909
15926
|
},
|
|
15910
15927
|
{
|
|
15911
|
-
"name": "
|
|
15928
|
+
"name": "strikethrough",
|
|
15912
15929
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15913
|
-
"type": "
|
|
15914
|
-
"description": "
|
|
15915
|
-
"default": "
|
|
15930
|
+
"type": "boolean",
|
|
15931
|
+
"description": "Strikethrough.",
|
|
15932
|
+
"default": "false"
|
|
15916
15933
|
},
|
|
15917
15934
|
{
|
|
15918
|
-
"name": "
|
|
15935
|
+
"name": "code",
|
|
15919
15936
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15920
|
-
"type": "
|
|
15921
|
-
"description": "Tag to use. `code` or `delete` properties will override this.",
|
|
15922
|
-
"default": "undefined"
|
|
15937
|
+
"type": "boolean"
|
|
15923
15938
|
},
|
|
15924
15939
|
{
|
|
15925
15940
|
"name": "as",
|
|
15926
15941
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15927
15942
|
"type": "string"
|
|
15943
|
+
},
|
|
15944
|
+
{
|
|
15945
|
+
"name": "delete",
|
|
15946
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15947
|
+
"type": "boolean"
|
|
15948
|
+
},
|
|
15949
|
+
{
|
|
15950
|
+
"name": "depth",
|
|
15951
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/typography",
|
|
15952
|
+
"type": "string | number"
|
|
15928
15953
|
}
|
|
15929
15954
|
],
|
|
15930
15955
|
"js": {
|
|
@@ -15958,7 +15983,7 @@
|
|
|
15958
15983
|
"name": "accept",
|
|
15959
15984
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
15960
15985
|
"type": "string",
|
|
15961
|
-
"description": "The accept type of upload. See <u-a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\" target=\"_blank\">accept</u-
|
|
15986
|
+
"description": "The accept type of upload. See <u-text tag=\"a\" href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\" target=\"_blank\">accept</u-text>.",
|
|
15962
15987
|
"default": "undefined"
|
|
15963
15988
|
},
|
|
15964
15989
|
{
|
|
@@ -15972,7 +15997,7 @@
|
|
|
15972
15997
|
"name": "custom-request",
|
|
15973
15998
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
15974
15999
|
"type": "(options: UploadCustomRequestOptions) => void",
|
|
15975
|
-
"description": "Customize upload request. For types, see <u-a href=\"#UploadCustomRequestOptions-Type\">UploadCustomRequestOptions</u-
|
|
16000
|
+
"description": "Customize upload request. For types, see <u-text tag=\"a\" href=\"#UploadCustomRequestOptions-Type\">UploadCustomRequestOptions</u-text>",
|
|
15976
16001
|
"default": "undefined"
|
|
15977
16002
|
},
|
|
15978
16003
|
{
|
|
@@ -16345,7 +16370,7 @@
|
|
|
16345
16370
|
{
|
|
16346
16371
|
"name": "default",
|
|
16347
16372
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/upload",
|
|
16348
|
-
"description": "The placeholder of the upload dragger; For an example see <u-a href=\"#drag.vue\">Drag to Upload Demo</u-
|
|
16373
|
+
"description": "The placeholder of the upload dragger; For an example see <u-text tag=\"a\" href=\"#drag.vue\">Drag to Upload Demo</u-text>."
|
|
16349
16374
|
}
|
|
16350
16375
|
],
|
|
16351
16376
|
"attributes": [],
|
|
@@ -16792,6 +16817,11 @@
|
|
|
16792
16817
|
"name": "view-type",
|
|
16793
16818
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/toggle-button",
|
|
16794
16819
|
"type": "string"
|
|
16820
|
+
},
|
|
16821
|
+
{
|
|
16822
|
+
"name": "icon-position",
|
|
16823
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/toggle-button",
|
|
16824
|
+
"type": "string"
|
|
16795
16825
|
}
|
|
16796
16826
|
],
|
|
16797
16827
|
"js": {
|