@steedos-widgets/amis-lib 6.10.9 → 6.10.11

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/index.esm.js CHANGED
@@ -568,7 +568,7 @@ function getSelectMap(selectOptions){
568
568
  const background = optionColor.charAt(0) === '#' ? optionColor : '#'+optionColor;
569
569
  const color = getContrastColor(background);
570
570
  const optionColorStyle = 'background:'+background+';color:'+color+';line-height:1.5rem;font-size:14px';
571
- map[optionValue] = `<span class="rounded-xl px-2 py-1" style='${optionColorStyle}'>${option.label}</span>`;
571
+ map[optionValue] = `<span class="rounded-xl px-2 py-1 whitespace-nowrap" style='${optionColorStyle}'>${option.label}</span>`;
572
572
  }else {
573
573
  map[optionValue] = option.label;
574
574
  }
@@ -4327,7 +4327,7 @@ async function getTableColumns(object, fields, options){
4327
4327
  if(bowserType === "Safari"){
4328
4328
  className += " whitespace-nowrap ";
4329
4329
  }else {
4330
- if(field.wrap != true){
4330
+ if(field.wrap === false){
4331
4331
  className += " whitespace-nowrap ";
4332
4332
  }else {
4333
4333
  className += " break-words ";