@alicloud/console-components-search 0.2.9 → 0.2.12
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 +8 -8
- package/demos/demo1.demo.tsx +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +15 -15
- package/doc-dist/10.js +1 -1
- package/doc-dist/9.js +1 -1
- package/doc-dist/deps/main.css +1 -1
- package/doc-dist/deps/main.js +8 -8
- package/doc-dist/deps/main.os.css +1 -1
- package/doc-dist/log-deps-build.log +3 -3
- package/es/ComplexSearch/index.js +8 -5
- package/es/message.js +32 -0
- package/es/search.js +3 -1
- package/es/searchTagList/PureTag.js +4 -4
- package/es/searchTagList/index.js +2 -1
- package/es/style.js +1 -1
- package/es/useCssVar.js +1 -1
- package/lib/ComplexSearch/index.js +10 -5
- package/lib/message.d.ts +2 -0
- package/lib/message.js +43 -0
- package/lib/search.js +4 -1
- package/lib/searchTagList/PureTag.js +5 -4
- package/lib/searchTagList/index.js +3 -1
- package/lib/style.js +1 -1
- package/lib/useCssVar.d.ts +1 -1
- package/lib/useCssVar.js +1 -1
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -7,6 +7,13 @@
|
|
|
7
7
|
tnpm i @alicloud/console-components-search --save-dev
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
+
|
|
11
|
+
## Demo
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
[$XView](https://xconsole.aliyun-inc.com/demo-playground?consoleOSId=console-fe-test-rc-search-doc&servePath=https%3A%2F%2Fopensource-microapp.oss-cn-hangzhou.aliyuncs.com%2Fapp%2Fbreezr-docs%2Fconsole-fe-test-rc-search-doc%2F-latest%2F&entryKey=demo1 )
|
|
15
|
+
|
|
16
|
+
|
|
10
17
|
## Usage
|
|
11
18
|
|
|
12
19
|
```js
|
|
@@ -132,13 +139,6 @@ let options2 = [
|
|
|
132
139
|
|
|
133
140
|
```
|
|
134
141
|
|
|
135
|
-
## Demo
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
[$XView](https://xconsole.aliyun-inc.com/demo-playground?consoleOSId=console-fe-test-rc-search-doc&servePath=https%3A%2F%2Fopensource-microapp.oss-cn-hangzhou.aliyuncs.com%2Fapp%2Fbreezr-docs%2Fconsole-fe-test-rc-search-doc%2F-latest%2F&entryKey=demo1 )
|
|
139
|
-
|
|
140
|
-
<br>
|
|
141
|
-
|
|
142
142
|
## API
|
|
143
143
|
|
|
144
144
|
### rc-search
|
|
@@ -154,6 +154,6 @@ let options2 = [
|
|
|
154
154
|
|
|
155
155
|
[$XView](http://localhost:3333/?entryKey=types%2FIRcSearchTagListProps&consoleOSId=console-fe-test-rc-search-doc)
|
|
156
156
|
|
|
157
|
-
|
|
157
|
+
### IRcSearchTagItemProps
|
|
158
158
|
|
|
159
159
|
[$XView](http://localhost:3333/?entryKey=types%2FIRcSearchTagItemProps&consoleOSId=console-fe-test-rc-search-doc)
|
package/demos/demo1.demo.tsx
CHANGED
|
@@ -131,7 +131,7 @@ let options2 = [
|
|
|
131
131
|
<SearchFilter
|
|
132
132
|
dataSource={[
|
|
133
133
|
{label: '实例名称', value: 'xxxxxx', dataIndex: 'name'},
|
|
134
|
-
{value: [], dataIndex: 'tag'}
|
|
134
|
+
{value: [{tagKey: 'test', tagValue: ''}], dataIndex: 'tag'}
|
|
135
135
|
]}
|
|
136
136
|
onChange={(deletedFilter, remainFilters)=> {
|
|
137
137
|
console.log(deletedFilter, remainFilters);
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
body .xconsole-rcsearch-multi-pop.xconsole-rcsearch-multi-pop>ul{padding:8px}body .xconsole-rcsearch-multi-pop .next-select-menu-item{padding-left:0!important}body .xconsole-rcsearch-multi-pop .next-select-menu-item .next-menu-icon-selected{display:none}body .xconsole-rcsearch-multi-pop .next-menu-group-label{padding-left:0}body .xconsole-rc-search-popup{margin-top:4px}.rc-search-taglist:not(.isWind).rc-search-taglist:not(.isWind) [class*=-icon-close]:before{content:var(--icon-content-
|
|
1
|
+
body .xconsole-rcsearch-multi-pop.xconsole-rcsearch-multi-pop>ul{padding:8px}body .xconsole-rcsearch-multi-pop .next-select-menu-item{padding-left:0!important}body .xconsole-rcsearch-multi-pop .next-select-menu-item .next-menu-icon-selected{display:none}body .xconsole-rcsearch-multi-pop .next-menu-group-label{padding-left:0}body .xconsole-rc-search-popup{margin-top:4px}body .rc-search.isWind{--console-rc-search-label-color:#f7f7f7;--console-rc-search-label-hover-color:#ebebeb}body .rc-search.isWidget{--console-rc-search-close-btn-top:2px;--console-rc-search-close-btn-left:-2px;--icon-content-delete-filling:"\E6A2"}.rc-search-taglist:not(.isWind).rc-search-taglist:not(.isWind) [class*=-icon-close]:before{content:var(--icon-content-close)!important}.console-tags-tag.console-tags-tag{font-weight:400;color:var(--color-text1-9,#333)!important}.console-tags-tag.console-tags-tag .console-tags-tag-label{font-weight:500;color:var(--color-text1-6,grey);margin-right:8px}.console-tags-tag.console-tags-tag[class*=tag-closable]>[class*=tag-close-btn]{margin-left:12px}.console-tags-tag.console-tags-tag.console-tags-tag.console-tags-tag:hover [class*=-icon-close]{color:#181818}.console-tags-tag:not(:last-child){margin-right:8px}.console-tags-tag_empty{color:var(--color-text1-6,grey)}.console-tags-tag-dot.console-tags-tag-dot [class*=-badge-dot]{right:4px;top:0}
|