@uzum-tech/ui 1.1.4 → 1.2.0
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/README.md +1 -1
- package/dist/index.js +281 -340
- package/dist/index.prod.js +2 -2
- package/es/_utils/uzum/warn.js +3 -3
- package/es/alert/src/Alert.js +1 -1
- package/es/alert/src/styles/index.cssr.js +1 -1
- package/es/date-picker/src/DatePicker.d.ts +1 -0
- package/es/date-picker/src/DatePicker.js +10 -8
- package/es/date-picker/src/config.d.ts +1 -1
- package/es/date-picker/src/config.js +1 -1
- package/es/date-picker/src/interface.d.ts +7 -5
- package/es/date-picker/src/panel/date.d.ts +10 -7
- package/es/date-picker/src/panel/date.js +38 -18
- package/es/date-picker/src/panel/daterange.d.ts +18 -7
- package/es/date-picker/src/panel/daterange.js +94 -43
- package/es/date-picker/src/panel/datetime.d.ts +3 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/es/date-picker/src/panel/panelHeader.d.ts +28 -7
- package/es/date-picker/src/panel/panelHeader.js +37 -13
- package/es/date-picker/src/panel/panelMonth.d.ts +16 -8
- package/es/date-picker/src/panel/panelMonth.js +8 -4
- package/es/date-picker/src/panel/panelMonthContent.d.ts +3 -1
- package/es/date-picker/src/panel/panelMonthContent.js +2 -5
- package/es/date-picker/src/panel/panelYear.d.ts +16 -8
- package/es/date-picker/src/panel/panelYear.js +8 -4
- package/es/date-picker/src/panel/panelYearContent.d.ts +3 -1
- package/es/date-picker/src/panel/panelYearContent.js +2 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +4 -3
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +1 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/es/date-picker/src/panel/use-panel-common.js +1 -0
- package/es/date-picker/src/styles/index.cssr.js +12 -10
- package/es/date-picker/src/utils.d.ts +1 -0
- package/es/grid/src/Grid.js +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/preset.d.ts +2 -2
- package/es/preset.js +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_utils/uzum/warn.js +3 -3
- package/lib/alert/src/Alert.js +1 -1
- package/lib/alert/src/styles/index.cssr.js +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +1 -0
- package/lib/date-picker/src/DatePicker.js +9 -7
- package/lib/date-picker/src/config.d.ts +1 -1
- package/lib/date-picker/src/config.js +1 -1
- package/lib/date-picker/src/interface.d.ts +7 -5
- package/lib/date-picker/src/panel/date.d.ts +10 -7
- package/lib/date-picker/src/panel/date.js +37 -17
- package/lib/date-picker/src/panel/daterange.d.ts +18 -7
- package/lib/date-picker/src/panel/daterange.js +93 -42
- package/lib/date-picker/src/panel/datetime.d.ts +3 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/lib/date-picker/src/panel/panelHeader.d.ts +28 -7
- package/lib/date-picker/src/panel/panelHeader.js +37 -13
- package/lib/date-picker/src/panel/panelMonth.d.ts +16 -8
- package/lib/date-picker/src/panel/panelMonth.js +8 -4
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +3 -1
- package/lib/date-picker/src/panel/panelMonthContent.js +2 -5
- package/lib/date-picker/src/panel/panelYear.d.ts +16 -8
- package/lib/date-picker/src/panel/panelYear.js +8 -4
- package/lib/date-picker/src/panel/panelYearContent.d.ts +3 -1
- package/lib/date-picker/src/panel/panelYearContent.js +2 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +4 -3
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +1 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.js +1 -0
- package/lib/date-picker/src/styles/index.cssr.js +12 -10
- package/lib/date-picker/src/utils.d.ts +1 -0
- package/lib/grid/src/Grid.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/preset.d.ts +2 -2
- package/lib/preset.js +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +5 -10
- package/web-types.json +9 -9
- package/es/date-picker/src/panel/monthrange.d.ts +0 -1303
- package/es/date-picker/src/panel/monthrange.js +0 -117
- package/lib/date-picker/src/panel/monthrange.d.ts +0 -1303
- package/lib/date-picker/src/panel/monthrange.js +0 -119
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uzum-tech/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"release:site": "pnpm run build:site && node build-doc/generate-deploy-sh.js && sudo bash build-doc/deploy-doc.sh"
|
|
39
39
|
},
|
|
40
40
|
"author": {
|
|
41
|
-
"name": "
|
|
42
|
-
"url": "https://uzum.
|
|
41
|
+
"name": "KapitalLab",
|
|
42
|
+
"url": "https://uzum-ui.kapitalbank.uz"
|
|
43
43
|
},
|
|
44
44
|
"contributors": [
|
|
45
45
|
{
|
|
@@ -185,10 +185,9 @@
|
|
|
185
185
|
"vueuc": "0.4.51"
|
|
186
186
|
},
|
|
187
187
|
"sideEffects": false,
|
|
188
|
-
"homepage": "https://
|
|
188
|
+
"homepage": "https://uzum-ui.kapitalbank.uz",
|
|
189
189
|
"repository": {
|
|
190
|
-
"type": "git"
|
|
191
|
-
"url": "https://gitlab.paymart.uz/uzum-tech-ui/uzum-tech-ui-repo/uzum-tech-ui"
|
|
190
|
+
"type": "git"
|
|
192
191
|
},
|
|
193
192
|
"keywords": [
|
|
194
193
|
"uzum-tech-ui",
|
|
@@ -207,9 +206,5 @@
|
|
|
207
206
|
"webpack"
|
|
208
207
|
]
|
|
209
208
|
}
|
|
210
|
-
},
|
|
211
|
-
"exports": {
|
|
212
|
-
".": "./lib/index.js",
|
|
213
|
-
"./auto-import-resolver": "./lib/_resolvers/auto-import/auto-import-resolver.js"
|
|
214
209
|
}
|
|
215
210
|
}
|
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.2.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -1227,7 +1227,7 @@
|
|
|
1227
1227
|
"name": "native-focus-behavior",
|
|
1228
1228
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/button",
|
|
1229
1229
|
"type": "boolean",
|
|
1230
|
-
"description": "Whether to follow button's native focus behavior. Since safari's button can't be focused by click,
|
|
1230
|
+
"description": "Whether to follow button's native focus behavior. Since safari's button can't be focused by click, uzum-ui uses some tricks to make it focusable on safari. If you don't need the behavior or need the button to be draggable, you can enable the prop.",
|
|
1231
1231
|
"default": "Browser is not Safari",
|
|
1232
1232
|
"description-sections": {
|
|
1233
1233
|
"since": "2.28.3"
|
|
@@ -2015,7 +2015,7 @@
|
|
|
2015
2015
|
"name": "allow-checking-not-loaded",
|
|
2016
2016
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/cascader",
|
|
2017
2017
|
"type": "boolean",
|
|
2018
|
-
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `value` may be incomplete. Also, you should aware about the consistency bewteen
|
|
2018
|
+
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `value` may be incomplete. Also, you should aware about the consistency bewteen uzumUi's checking logic and your backend's checking logic, especially when there are disabled nodes.",
|
|
2019
2019
|
"default": "false",
|
|
2020
2020
|
"description-sections": {
|
|
2021
2021
|
"since": "2.28.1"
|
|
@@ -2908,7 +2908,7 @@
|
|
|
2908
2908
|
"name": "preflight-style-disabled",
|
|
2909
2909
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/config-provider",
|
|
2910
2910
|
"type": "boolean",
|
|
2911
|
-
"description": "Whether to disabled preflight style of
|
|
2911
|
+
"description": "Whether to disabled preflight style of uzum-ui. If you disable it, you can take control of all global css. Also you can use `u-global-style` to apply global style (which is recommend since global style will be reactive).",
|
|
2912
2912
|
"default": "false",
|
|
2913
2913
|
"description-sections": {
|
|
2914
2914
|
"since": "2.29.0"
|
|
@@ -5796,7 +5796,7 @@
|
|
|
5796
5796
|
"name": "ignore-path-change",
|
|
5797
5797
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/form",
|
|
5798
5798
|
"type": "boolean",
|
|
5799
|
-
"description": "Usually, changing `path` will cause a re-render and
|
|
5799
|
+
"description": "Usually, changing `path` will cause a re-render and uzum-ui will clear the validation result. Setting `ignore-path-change` to `true` will disable that behavior.",
|
|
5800
5800
|
"default": "false"
|
|
5801
5801
|
},
|
|
5802
5802
|
{
|
|
@@ -7701,7 +7701,7 @@
|
|
|
7701
7701
|
"name": "native-scrollbar",
|
|
7702
7702
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/layout",
|
|
7703
7703
|
"type": "boolean",
|
|
7704
|
-
"description": "Whether to use native scrollbar on itself. If set to `false`, layout will use a
|
|
7704
|
+
"description": "Whether to use native scrollbar on itself. If set to `false`, layout will use a uzum-ui style scrollbar for content.",
|
|
7705
7705
|
"default": "true"
|
|
7706
7706
|
},
|
|
7707
7707
|
{
|
|
@@ -8493,7 +8493,7 @@
|
|
|
8493
8493
|
},
|
|
8494
8494
|
{
|
|
8495
8495
|
"name": "ULog",
|
|
8496
|
-
"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 `
|
|
8496
|
+
"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-a> and <u-a href=\"https://highlightjs.readthedocs.io/en/latest/index.html\" target=\"_blank\">highlight.js developer documentation</u-a>\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```",
|
|
8497
8497
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/log",
|
|
8498
8498
|
"source": {
|
|
8499
8499
|
"symbol": "ULog"
|
|
@@ -14613,7 +14613,7 @@
|
|
|
14613
14613
|
"name": "allow-checking-not-loaded",
|
|
14614
14614
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tree",
|
|
14615
14615
|
"type": "boolean",
|
|
14616
|
-
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `check-keys` may be incomplete. Also, you should aware about the consistency bewteen
|
|
14616
|
+
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `check-keys` may be incomplete. Also, you should aware about the consistency bewteen uzumUi's checking logic and your backend's checking logic, especially when there are disabled nodes.",
|
|
14617
14617
|
"default": "false",
|
|
14618
14618
|
"description-sections": {
|
|
14619
14619
|
"since": "2.28.1"
|
|
@@ -15070,7 +15070,7 @@
|
|
|
15070
15070
|
"name": "allow-checking-not-loaded",
|
|
15071
15071
|
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/tree-select",
|
|
15072
15072
|
"type": "boolean",
|
|
15073
|
-
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `value` may be incomplete. Also, you should aware about the consistency bewteen
|
|
15073
|
+
"description": "Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `value` may be incomplete. Also, you should aware about the consistency bewteen uzumUi's checking logic and your backend's checking logic, especially when there are disabled nodes.",
|
|
15074
15074
|
"default": "false",
|
|
15075
15075
|
"description-sections": {
|
|
15076
15076
|
"since": "2.28.1"
|