shineout 3.9.14-beta.2 → 3.9.14-beta.3

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.9.14-beta.2'
525
+ version: '3.9.14-beta.3'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12332,7 +12332,7 @@ var handleStyle = function handleStyle(style) {
12332
12332
  };
12333
12333
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12334
12334
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12335
- /* harmony default export */ var version = ('3.9.14-beta.2');
12335
+ /* harmony default export */ var version = ('3.9.14-beta.3');
12336
12336
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12337
12337
 
12338
12338
 
@@ -12963,6 +12963,7 @@ var badgeTokens = {
12963
12963
  badgeBadgeFontColor: 'Neutral-text-1',
12964
12964
  badgeBadgeBackgroundColor: 'Danger-6',
12965
12965
  badgeBadgeBorderRadius: 'Radius-full',
12966
+ badgeBadgeShadowColor: 'Neutral-fill-1',
12966
12967
  badgeCountPaddingX: 'Spacing-4',
12967
12968
  badgeCountHeight: 'Size-10',
12968
12969
  badgeSmallCountHeight: 'Size-8',
@@ -13017,7 +13018,7 @@ var breadcrumbTokens = {
13017
13018
  // This file was generated automatically by a script. Please do not modify it directly.
13018
13019
 
13019
13020
  var buttonTokens = {
13020
- buttonSplitlineFullBackgroundColor: '#ffffff',
13021
+ buttonSplitlineFullBackgroundColor: 'Neutral-fill-1',
13021
13022
  buttonSplitlineOutlineBackgroundColor: 'Neutral-border-2',
13022
13023
  buttonPrimaryFontColor: 'Neutral-text-1',
13023
13024
  buttonPrimaryBackgroundColor: 'Brand-6',
@@ -15956,7 +15957,7 @@ var badgeStyle = {
15956
15957
  insetInlineEnd: 0,
15957
15958
  transform: 'translate(50%, -50%)',
15958
15959
  transformOrigin: '100% 0',
15959
- boxShadow: "0 0 0 1px #fff"
15960
+ boxShadow: "0 0 0 1px ".concat(src.badgeBadgeShadowColor)
15960
15961
  }
15961
15962
  },
15962
15963
  standalone: {
@@ -18614,11 +18615,11 @@ var datePickerStyle = objectSpread2_default()(objectSpread2_default()(objectSpre
18614
18615
  },
18615
18616
  clear: {
18616
18617
  display: 'none',
18617
- color: src.datePickerClearColor,
18618
- '&: hover': {
18619
- color: src.datePickerHoverClearColor
18620
- },
18621
- cursor: 'pointer'
18618
+ color: src.inputClearColor,
18619
+ cursor: 'pointer',
18620
+ '&:hover': {
18621
+ color: src.inputHoverClearColor
18622
+ }
18622
18623
  },
18623
18624
  pickerWrapper: {
18624
18625
  position: 'absolute',
@@ -24363,7 +24364,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
24363
24364
  verticalAlign: 'middle',
24364
24365
  width: src.inputFontSize,
24365
24366
  lineHeight: 0,
24366
- color: src.inputIconColor,
24367
+ color: src.selectIconColor,
24367
24368
  transition: 'transform 0.3s'
24368
24369
  },
24369
24370
  arrowIconOpen: {
@@ -45707,11 +45708,22 @@ var useListSelectMultiple = function useListSelectMultiple(props) {
45707
45708
  for (var j = 0; j < raws.length; j++) {
45708
45709
  var _item2 = raws[j];
45709
45710
  if (props.prediction(values[_i], _item2)) {
45711
+ if (props.keepCache) context.valueDataCache.set(values[_i], _item2);
45710
45712
  result.push(_item2);
45711
45713
  raws.splice(j, 1);
45712
45714
  continue outer;
45713
45715
  }
45714
45716
  }
45717
+ // 当前 data 找不到,从 valueDataCache 中回退匹配
45718
+ if (props.keepCache && context.valueDataCache) {
45719
+ var cacheValues = Array.from(context.valueDataCache.values());
45720
+ for (var k = 0; k < cacheValues.length; k++) {
45721
+ if (props.prediction(values[_i], cacheValues[k])) {
45722
+ result.push(cacheValues[k]);
45723
+ continue outer;
45724
+ }
45725
+ }
45726
+ }
45715
45727
  result.push({
45716
45728
  IS_NOT_MATCHED_VALUE: true,
45717
45729
  value: values[_i]
@@ -75713,7 +75725,7 @@ var upload_interface = __webpack_require__(8821);
75713
75725
 
75714
75726
 
75715
75727
  /* harmony default export */ var src_0 = ({
75716
- version: '3.9.14-beta.2'
75728
+ version: '3.9.14-beta.3'
75717
75729
  });
75718
75730
  }();
75719
75731
  /******/ return __webpack_exports__;