sliftutils 0.57.0 → 0.58.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sliftutils",
3
- "version": "0.57.0",
3
+ "version": "0.58.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -176,15 +176,16 @@ function renderTrimmed(config: {
176
176
  };
177
177
  }
178
178
 
179
-
180
179
  return {
181
180
  outerAttributes: {
182
181
  class: css.opacity(0.5, "hover").button,
183
182
  onClick: () => {
184
183
  showFullscreenModal(
185
- <div className={css.whiteSpace("pre-wrap")}>
186
- {content}
187
- </div>
184
+ {
185
+ contents: <div className={css.whiteSpace("pre-wrap")}>
186
+ {content}
187
+ </div>
188
+ },
188
189
  );
189
190
  }
190
191
  },