@akinon/ui-select 1.4.14 → 1.4.15
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/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +3 -0
- package/dist/cjs/types.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,GAAI,wBAAwB,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,GAAI,wBAAwB,WAAW,sBAsHzD,CAAC;AAEF,mBAAmB,SAAS,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -101,6 +101,9 @@ const Select = (_a) => {
|
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
[`${dropdownPrefixClsWithHash}`]: {
|
|
104
|
+
[`.${selectPrefixCls}-empty, .${getPrefixCls()}-empty-description`]: {
|
|
105
|
+
color: selectToken.selectItemColor
|
|
106
|
+
},
|
|
104
107
|
[`.${selectPrefixCls}-item`]: {
|
|
105
108
|
color: selectToken.selectItemColor,
|
|
106
109
|
'&-option:nth-child(odd):not(:hover):not(&-option-selected)': {
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -111,6 +111,17 @@ export interface SelectProps<
|
|
|
111
111
|
*/
|
|
112
112
|
popupMatchSelectWidth?: boolean | number;
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Controls the popup open state. Left uncontrolled the popup opens on focus,
|
|
116
|
+
* which is the default behaviour.
|
|
117
|
+
*
|
|
118
|
+
* Note for `mode: 'tags'`: pinning this to `false` also disables tag entry,
|
|
119
|
+
* because rc-select commits the Enter through the open list. Deriving it from
|
|
120
|
+
* the search value (`open={searchValue.length > 0}`) keeps entry working
|
|
121
|
+
* while hiding the panel that has nothing to list.
|
|
122
|
+
*/
|
|
123
|
+
open?: boolean;
|
|
124
|
+
|
|
114
125
|
/**
|
|
115
126
|
* Callback triggered when an option is selected.
|
|
116
127
|
*/
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,GAAI,wBAAwB,WAAW,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,MAAM,GAAI,wBAAwB,WAAW,sBAsHzD,CAAC;AAEF,mBAAmB,SAAS,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -98,6 +98,9 @@ export const Select = (_a) => {
|
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
[`${dropdownPrefixClsWithHash}`]: {
|
|
101
|
+
[`.${selectPrefixCls}-empty, .${getPrefixCls()}-empty-description`]: {
|
|
102
|
+
color: selectToken.selectItemColor
|
|
103
|
+
},
|
|
101
104
|
[`.${selectPrefixCls}-item`]: {
|
|
102
105
|
color: selectToken.selectItemColor,
|
|
103
106
|
'&-option:nth-child(odd):not(:hover):not(&-option-selected)': {
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -111,6 +111,17 @@ export interface SelectProps<
|
|
|
111
111
|
*/
|
|
112
112
|
popupMatchSelectWidth?: boolean | number;
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Controls the popup open state. Left uncontrolled the popup opens on focus,
|
|
116
|
+
* which is the default behaviour.
|
|
117
|
+
*
|
|
118
|
+
* Note for `mode: 'tags'`: pinning this to `false` also disables tag entry,
|
|
119
|
+
* because rc-select commits the Enter through the open list. Deriving it from
|
|
120
|
+
* the search value (`open={searchValue.length > 0}`) keeps entry working
|
|
121
|
+
* while hiding the panel that has nothing to list.
|
|
122
|
+
*/
|
|
123
|
+
open?: boolean;
|
|
124
|
+
|
|
114
125
|
/**
|
|
115
126
|
* Callback triggered when an option is selected.
|
|
116
127
|
*/
|