@yoooloo42/joker 1.0.181 → 1.0.183

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.cjs.js CHANGED
@@ -23004,19 +23004,18 @@ function box(item) {
23004
23004
 
23005
23005
  // inputType: "text"
23006
23006
  function text(item) {
23007
- return {
23007
+ return item.style || {
23008
23008
  'white-space': 'pre-line',
23009
23009
  // 保留换行符
23010
23010
  'border-left': '#ababab solid 1px',
23011
23011
  'border-top': '#ababab solid 1px',
23012
- 'padding-left': '10px',
23013
- height: '40px'
23012
+ 'padding-left': '10px'
23014
23013
  };
23015
23014
  }
23016
23015
 
23017
23016
  // inputType: "text0"
23018
23017
  function text0(item) {
23019
- return {
23018
+ return item.style || {
23020
23019
  'white-space': 'pre-line',
23021
23020
  // 保留换行符
23022
23021
  color: 'blue'