@hi-ui/check-cascader 4.3.1 → 5.0.0-canary.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/CHANGELOG.md +52 -0
- package/lib/cjs/styles/index.scss.js +1 -1
- package/lib/esm/styles/index.scss.js +1 -1
- package/package.json +28 -27
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,57 @@
|
|
1
1
|
# @hi-ui/check-cascader
|
2
2
|
|
3
|
+
## 5.0.0-canary.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- 225ebaa51: feat: 组件的 package.json 中的 exports 统一加上 types 配置 (5.0)
|
8
|
+
|
9
|
+
### Minor Changes
|
10
|
+
|
11
|
+
- 428716024: <br>
|
12
|
+
- feat(picker): 下拉选择类组件增加 xs 尺寸 (5.0)
|
13
|
+
- feat(input): 输入框组件增加 xs 尺寸 (5.0)
|
14
|
+
|
15
|
+
### Patch Changes
|
16
|
+
|
17
|
+
- Updated dependencies [428716024]
|
18
|
+
- Updated dependencies [225ebaa51]
|
19
|
+
- Updated dependencies [192de8767]
|
20
|
+
- Updated dependencies [428716024]
|
21
|
+
- @hi-ui/input@5.0.0-canary.0
|
22
|
+
- @hi-ui/picker@5.0.0-canary.0
|
23
|
+
- @hi-ui/tag-input@5.0.0-canary.0
|
24
|
+
- @hi-ui/core@5.0.0-canary.0
|
25
|
+
- @hi-ui/use-check@5.0.0-canary.0
|
26
|
+
- @hi-ui/use-data-source@5.0.0-canary.0
|
27
|
+
- @hi-ui/use-latest@5.0.0-canary.0
|
28
|
+
- @hi-ui/use-merge-refs@5.0.0-canary.0
|
29
|
+
- @hi-ui/use-outside-click@5.0.0-canary.0
|
30
|
+
- @hi-ui/use-search-mode@5.0.0-canary.0
|
31
|
+
- @hi-ui/use-toggle@5.0.0-canary.0
|
32
|
+
- @hi-ui/use-uncontrolled-state@5.0.0-canary.0
|
33
|
+
- @hi-ui/icons@5.0.0-canary.0
|
34
|
+
- @hi-ui/checkbox@5.0.0-canary.0
|
35
|
+
- @hi-ui/popper@5.0.0-canary.0
|
36
|
+
- @hi-ui/spinner@5.0.0-canary.0
|
37
|
+
- @hi-ui/array-utils@5.0.0-canary.0
|
38
|
+
- @hi-ui/classname@5.0.0-canary.0
|
39
|
+
- @hi-ui/env@5.0.0-canary.0
|
40
|
+
- @hi-ui/func-utils@5.0.0-canary.0
|
41
|
+
- @hi-ui/times@5.0.0-canary.0
|
42
|
+
- @hi-ui/tree-utils@5.0.0-canary.0
|
43
|
+
- @hi-ui/type-assertion@5.0.0-canary.0
|
44
|
+
|
45
|
+
## 4.3.2
|
46
|
+
|
47
|
+
### Patch Changes
|
48
|
+
|
49
|
+
- [#3096](https://github.com/XiaoMi/hiui/pull/3096) [`3aff5eee7`](https://github.com/XiaoMi/hiui/commit/3aff5eee7ab4e1734fa2800d5154e8ebe24bbe00) Thanks [@zyprepare](https://github.com/zyprepare)! - perf(tag-input): 优化 wrap 模式下设置 displayRender 卡顿问题 (#3094)
|
50
|
+
|
51
|
+
- Updated dependencies [[`3aff5eee7`](https://github.com/XiaoMi/hiui/commit/3aff5eee7ab4e1734fa2800d5154e8ebe24bbe00), [`bf2179191`](https://github.com/XiaoMi/hiui/commit/bf21791917f96c0b33b6a74539650bc56aba1d99)]:
|
52
|
+
- @hi-ui/tag-input@4.1.3
|
53
|
+
- @hi-ui/input@4.3.0
|
54
|
+
|
3
55
|
## 4.3.1
|
4
56
|
|
5
57
|
### Patch Changes
|
@@ -12,7 +12,7 @@
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
13
13
|
value: true
|
14
14
|
});
|
15
|
-
var css_248z = "@charset \"UTF-8\";.hi-
|
15
|
+
var css_248z = "@charset \"UTF-8\";.hi-v5-check-cascader__popper .hi-v5-picker__body {padding-left: 0;padding-right: 0;overflow-y: hidden;}.hi-v5-check-cascader__popper .hi-v5-picker__loading, .hi-v5-check-cascader__popper .hi-v5-picker__empty {padding: var(--hi-v5-spacing-5, 10px) var(--hi-v5-spacing-8, 16px);}.hi-v5-check-cascader-panel {white-space: nowrap;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v5-check-cascader-panel-search {-webkit-box-sizing: border-box;box-sizing: border-box;padding: 0 10px 10px;position: relative;}.hi-v5-check-cascader-panel-search .hi-v5-input__prefix {font-size: 16px;padding-left: 0;}.hi-v5-check-cascader-panel-search__empty {display: inline-block;margin-top: 20px;font-size: 14px;font-weight: 400;color: #999;line-height: 20px;}.hi-v5-check-cascader-menus {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-sizing: border-box;box-sizing: border-box;overflow-x: auto;}.hi-v5-check-cascader-menus--flatted .hi-v5-check-cascader-menu {-ms-flex-preferred-size: 100%;flex-basis: 100%;}.hi-v5-check-cascader-menu {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: none;outline: none;font-size: var(--hi-v5-text-size-md, 0.875rem);vertical-align: middle;list-style: none;width: auto;box-sizing: border-box;-ms-flex-negative: 0;flex-shrink: 0;display: inline-block;min-width: 140px;max-height: 256px;overflow: auto;padding: 0 var(--hi-v5-spacing-4, 8px);border-right: var(--hi-v5-border-size-normal, 1px solid) var(--hi-v5-color-gray-200, #e6eaf0);}.hi-v5-check-cascader-menu:last-of-type {border: none;}.hi-v5-check-cascader-menu--checkable .hi-v5-check-cascader-menu-checkbox + .title__text {padding-left: 8px;}.hi-v5-check-cascader-menu-item {width: 100%;position: relative;cursor: pointer;display: -webkit-box;display: -ms-flexbox;display: flex;}.hi-v5-check-cascader-menu-checkbox {position: relative;}.hi-v5-check-cascader-menu-checkbox::after {right: 0;top: -8px;bottom: -8px;left: -8px;content: \"\";position: absolute;display: block;}.hi-v5-check-cascader-menu-option {padding: var(--hi-v5-spacing-1, 2px) var(--hi-v5-spacing-3, 6px);-webkit-box-sizing: border-box;box-sizing: border-box;height: var(--hi-v5-height-8, 32px);width: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;position: relative;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-check-cascader-menu-option:hover {background-color: var(--hi-v5-color-gray-100, #ebeff5);}.hi-v5-check-cascader-menus--selectchange .hi-v5-check-cascader-menu-option:hover .hi-v5-checkbox__icon {border-color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option.hi-v5-check-cascader-menu-option--selected {background: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option.hi-v5-check-cascader-menu-option--selected .hi-v5-check-cascader-menu-switcher {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option--focused {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-check-cascader-menu-option--disabled {cursor: not-allowed;color: var(--hi-v5-color-gray-500, #737680);background: transparent;}.hi-v5-check-cascader-menu-option--disabled .hi-v5-check-cascader-menu-switcher {color: var(--hi-v5-color-gray-400, #c0c3cc);}.hi-v5-check-cascader-menu .title__text {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;}.hi-v5-check-cascader-menu .title__text--cols {display: block;width: 100%;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: none;outline: none;font-size: var(--hi-v5-text-size-md, 0.875rem);vertical-align: middle;list-style: none;}.hi-v5-check-cascader-menu .title__text--col {display: inline-block;}.hi-v5-check-cascader-menu .title__text--col::after {content: \" / \";}.hi-v5-check-cascader-menu .title__text--col:last-child::after {content: none;}.hi-v5-check-cascader-menu .title__text--matched {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-switcher {-ms-flex-negative: 0;flex-shrink: 0;font-size: 16px;color: var(--hi-v5-color-gray-500, #737680);}.hi-v5-check-cascader-menu-switcher--loading {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v4-tree--icon-loading {-webkit-animation-name: hi-rotate;animation-name: hi-rotate;-webkit-animation-duration: 2s;animation-duration: 2s;-webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;}@-webkit-keyframes hi-rotate {from {-webkit-transform: rotate(0);transform: rotate(0);}to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}@keyframes hi-rotate {from {-webkit-transform: rotate(0);transform: rotate(0);}to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}";
|
16
16
|
var __styleInject__ = require('@hi-ui/style-inject')["default"];
|
17
17
|
__styleInject__(css_248z);
|
18
18
|
exports["default"] = css_248z;
|
@@ -8,6 +8,6 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
import __styleInject__ from '@hi-ui/style-inject';
|
11
|
-
var css_248z = "@charset \"UTF-8\";.hi-
|
11
|
+
var css_248z = "@charset \"UTF-8\";.hi-v5-check-cascader__popper .hi-v5-picker__body {padding-left: 0;padding-right: 0;overflow-y: hidden;}.hi-v5-check-cascader__popper .hi-v5-picker__loading, .hi-v5-check-cascader__popper .hi-v5-picker__empty {padding: var(--hi-v5-spacing-5, 10px) var(--hi-v5-spacing-8, 16px);}.hi-v5-check-cascader-panel {white-space: nowrap;-webkit-box-sizing: border-box;box-sizing: border-box;}.hi-v5-check-cascader-panel-search {-webkit-box-sizing: border-box;box-sizing: border-box;padding: 0 10px 10px;position: relative;}.hi-v5-check-cascader-panel-search .hi-v5-input__prefix {font-size: 16px;padding-left: 0;}.hi-v5-check-cascader-panel-search__empty {display: inline-block;margin-top: 20px;font-size: 14px;font-weight: 400;color: #999;line-height: 20px;}.hi-v5-check-cascader-menus {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-sizing: border-box;box-sizing: border-box;overflow-x: auto;}.hi-v5-check-cascader-menus--flatted .hi-v5-check-cascader-menu {-ms-flex-preferred-size: 100%;flex-basis: 100%;}.hi-v5-check-cascader-menu {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: none;outline: none;font-size: var(--hi-v5-text-size-md, 0.875rem);vertical-align: middle;list-style: none;width: auto;box-sizing: border-box;-ms-flex-negative: 0;flex-shrink: 0;display: inline-block;min-width: 140px;max-height: 256px;overflow: auto;padding: 0 var(--hi-v5-spacing-4, 8px);border-right: var(--hi-v5-border-size-normal, 1px solid) var(--hi-v5-color-gray-200, #e6eaf0);}.hi-v5-check-cascader-menu:last-of-type {border: none;}.hi-v5-check-cascader-menu--checkable .hi-v5-check-cascader-menu-checkbox + .title__text {padding-left: 8px;}.hi-v5-check-cascader-menu-item {width: 100%;position: relative;cursor: pointer;display: -webkit-box;display: -ms-flexbox;display: flex;}.hi-v5-check-cascader-menu-checkbox {position: relative;}.hi-v5-check-cascader-menu-checkbox::after {right: 0;top: -8px;bottom: -8px;left: -8px;content: \"\";position: absolute;display: block;}.hi-v5-check-cascader-menu-option {padding: var(--hi-v5-spacing-1, 2px) var(--hi-v5-spacing-3, 6px);-webkit-box-sizing: border-box;box-sizing: border-box;height: var(--hi-v5-height-8, 32px);width: 100%;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;position: relative;-webkit-box-pack: justify;-ms-flex-pack: justify;justify-content: space-between;border-radius: var(--hi-v5-border-radius-lg, 6px);}.hi-v5-check-cascader-menu-option:hover {background-color: var(--hi-v5-color-gray-100, #ebeff5);}.hi-v5-check-cascader-menus--selectchange .hi-v5-check-cascader-menu-option:hover .hi-v5-checkbox__icon {border-color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option.hi-v5-check-cascader-menu-option--selected {background: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option.hi-v5-check-cascader-menu-option--selected .hi-v5-check-cascader-menu-switcher {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-option--focused {background-color: var(--hi-v5-color-primary-50, var(--hi-v5-color-brandblue-50, #edf2ff));}.hi-v5-check-cascader-menu-option--disabled {cursor: not-allowed;color: var(--hi-v5-color-gray-500, #737680);background: transparent;}.hi-v5-check-cascader-menu-option--disabled .hi-v5-check-cascader-menu-switcher {color: var(--hi-v5-color-gray-400, #c0c3cc);}.hi-v5-check-cascader-menu .title__text {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;}.hi-v5-check-cascader-menu .title__text--cols {display: block;width: 100%;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: none;outline: none;font-size: var(--hi-v5-text-size-md, 0.875rem);vertical-align: middle;list-style: none;}.hi-v5-check-cascader-menu .title__text--col {display: inline-block;}.hi-v5-check-cascader-menu .title__text--col::after {content: \" / \";}.hi-v5-check-cascader-menu .title__text--col:last-child::after {content: none;}.hi-v5-check-cascader-menu .title__text--matched {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v5-check-cascader-menu-switcher {-ms-flex-negative: 0;flex-shrink: 0;font-size: 16px;color: var(--hi-v5-color-gray-500, #737680);}.hi-v5-check-cascader-menu-switcher--loading {color: var(--hi-v5-color-primary-500, var(--hi-v5-color-brandblue-500, #2660ff));}.hi-v4-tree--icon-loading {-webkit-animation-name: hi-rotate;animation-name: hi-rotate;-webkit-animation-duration: 2s;animation-duration: 2s;-webkit-animation-iteration-count: infinite;animation-iteration-count: infinite;}@-webkit-keyframes hi-rotate {from {-webkit-transform: rotate(0);transform: rotate(0);}to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}@keyframes hi-rotate {from {-webkit-transform: rotate(0);transform: rotate(0);}to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}";
|
12
12
|
__styleInject__(css_248z);
|
13
13
|
export { css_248z as default };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/check-cascader",
|
3
|
-
"version": "
|
3
|
+
"version": "5.0.0-canary.0",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
@@ -20,7 +20,8 @@
|
|
20
20
|
"exports": {
|
21
21
|
".": {
|
22
22
|
"require": "./lib/cjs/index.js",
|
23
|
-
"default": "./lib/esm/index.js"
|
23
|
+
"default": "./lib/esm/index.js",
|
24
|
+
"types": "./lib/types/index.d.ts"
|
24
25
|
}
|
25
26
|
},
|
26
27
|
"publishConfig": {
|
@@ -44,37 +45,37 @@
|
|
44
45
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
45
46
|
},
|
46
47
|
"dependencies": {
|
47
|
-
"@hi-ui/array-utils": "^
|
48
|
-
"@hi-ui/checkbox": "^
|
49
|
-
"@hi-ui/classname": "^
|
50
|
-
"@hi-ui/env": "^
|
51
|
-
"@hi-ui/func-utils": "^
|
52
|
-
"@hi-ui/icons": "^
|
53
|
-
"@hi-ui/input": "^
|
54
|
-
"@hi-ui/picker": "^
|
55
|
-
"@hi-ui/popper": "^
|
56
|
-
"@hi-ui/spinner": "^
|
57
|
-
"@hi-ui/tag-input": "^
|
58
|
-
"@hi-ui/times": "^
|
59
|
-
"@hi-ui/tree-utils": "^
|
60
|
-
"@hi-ui/type-assertion": "^
|
61
|
-
"@hi-ui/use-check": "^
|
62
|
-
"@hi-ui/use-data-source": "^
|
63
|
-
"@hi-ui/use-latest": "^
|
64
|
-
"@hi-ui/use-merge-refs": "^
|
65
|
-
"@hi-ui/use-outside-click": "^
|
66
|
-
"@hi-ui/use-search-mode": "^
|
67
|
-
"@hi-ui/use-toggle": "^
|
68
|
-
"@hi-ui/use-uncontrolled-state": "^
|
48
|
+
"@hi-ui/array-utils": "^5.0.0-canary.0",
|
49
|
+
"@hi-ui/checkbox": "^5.0.0-canary.0",
|
50
|
+
"@hi-ui/classname": "^5.0.0-canary.0",
|
51
|
+
"@hi-ui/env": "^5.0.0-canary.0",
|
52
|
+
"@hi-ui/func-utils": "^5.0.0-canary.0",
|
53
|
+
"@hi-ui/icons": "^5.0.0-canary.0",
|
54
|
+
"@hi-ui/input": "^5.0.0-canary.0",
|
55
|
+
"@hi-ui/picker": "^5.0.0-canary.0",
|
56
|
+
"@hi-ui/popper": "^5.0.0-canary.0",
|
57
|
+
"@hi-ui/spinner": "^5.0.0-canary.0",
|
58
|
+
"@hi-ui/tag-input": "^5.0.0-canary.0",
|
59
|
+
"@hi-ui/times": "^5.0.0-canary.0",
|
60
|
+
"@hi-ui/tree-utils": "^5.0.0-canary.0",
|
61
|
+
"@hi-ui/type-assertion": "^5.0.0-canary.0",
|
62
|
+
"@hi-ui/use-check": "^5.0.0-canary.0",
|
63
|
+
"@hi-ui/use-data-source": "^5.0.0-canary.0",
|
64
|
+
"@hi-ui/use-latest": "^5.0.0-canary.0",
|
65
|
+
"@hi-ui/use-merge-refs": "^5.0.0-canary.0",
|
66
|
+
"@hi-ui/use-outside-click": "^5.0.0-canary.0",
|
67
|
+
"@hi-ui/use-search-mode": "^5.0.0-canary.0",
|
68
|
+
"@hi-ui/use-toggle": "^5.0.0-canary.0",
|
69
|
+
"@hi-ui/use-uncontrolled-state": "^5.0.0-canary.0"
|
69
70
|
},
|
70
71
|
"peerDependencies": {
|
71
|
-
"@hi-ui/core": ">=
|
72
|
+
"@hi-ui/core": ">=5.0.0-canary.0",
|
72
73
|
"react": ">=16.8.6",
|
73
74
|
"react-dom": ">=16.8.6"
|
74
75
|
},
|
75
76
|
"devDependencies": {
|
76
|
-
"@hi-ui/core": "^
|
77
|
-
"@hi-ui/core-css": "^
|
77
|
+
"@hi-ui/core": "^5.0.0-canary.0",
|
78
|
+
"@hi-ui/core-css": "^5.0.0-canary.0",
|
78
79
|
"react": "^17.0.1",
|
79
80
|
"react-dom": "^17.0.1"
|
80
81
|
}
|