@pathscale/ui 0.0.70 → 0.0.72

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6013,7 +6013,10 @@ const ChatBubble = (props)=>{
6013
6013
  "className",
6014
6014
  "style"
6015
6015
  ]);
6016
- const classes = ()=>twMerge("chat", `chat-${local.end ? "end" : "start"}`, local.class, local.className);
6016
+ const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("chat", dist_clsx({
6017
+ "chat-end": local.end,
6018
+ "chat-start": !local.end
6019
+ }), local.class, local.className));
6017
6020
  return (()=>{
6018
6021
  var _el$ = ChatBubble_tmpl$();
6019
6022
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
@@ -6377,16 +6380,14 @@ const Diff = (props)=>{
6377
6380
  "class",
6378
6381
  "children",
6379
6382
  "secondItem",
6380
- "data-theme"
6383
+ "className"
6381
6384
  ]);
6385
+ const classes = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>twMerge("diff aspect-[16/9]", local.class, local.className));
6382
6386
  return (()=>{
6383
6387
  var _el$ = Diff_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling;
6384
6388
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(rest, {
6385
6389
  get ["class"] () {
6386
- return twMerge("diff aspect-[16/9]", dist_clsx(local.class));
6387
- },
6388
- get ["data-theme"] () {
6389
- return local["data-theme"];
6390
+ return classes();
6390
6391
  }
6391
6392
  }), false, true);
6392
6393
  (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, ()=>local.children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathscale/ui",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "author": "pathscale",
5
5
  "repository": {
6
6
  "type": "git",