@pathscale/ui 1.1.10 → 1.1.12
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.
|
@@ -2,7 +2,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__ from "solid-js/web
|
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__ from "solid-js";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE_tailwind_merge_e05e3e95__ from "tailwind-merge";
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
5
|
-
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<button type=button class="flex w-full items-center justify-between gap-2 px-4 py-3 text-sm font-medium cursor-pointer select-none transition-colors duration-150 text-base-content/50 hover:text-base-content/80 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"><span class="flex items-center gap-2"></span><svg fill=none viewBox="0 0 24 24"stroke=currentColor stroke-width=1.5><path stroke-linecap=round stroke-linejoin=round d="M19 9l-7 7-7-7">'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div><div
|
|
5
|
+
var _tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<button type=button class="flex w-full items-center justify-between gap-2 px-4 py-3 text-sm font-medium cursor-pointer select-none transition-colors duration-150 text-base-content/50 hover:text-base-content/80 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"><span class="flex items-center gap-2"></span><svg fill=none viewBox="0 0 24 24"stroke=currentColor stroke-width=1.5><path stroke-linecap=round stroke-linejoin=round d="M19 9l-7 7-7-7">'), _tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><div><div>");
|
|
6
6
|
const BLUR_MAP = {
|
|
7
7
|
none: "",
|
|
8
8
|
sm: "backdrop-blur-sm",
|
|
@@ -126,15 +126,17 @@ const GlassPanel = (props)=>{
|
|
|
126
126
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$5, "id", contentId);
|
|
127
127
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$6, ()=>local.children);
|
|
128
128
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
129
|
-
var _v$3 = `grid transition-[grid-template-rows,opacity] duration-200 ease-in-out overflow-hidden ${local.collapsible && !isOpen() ? "" : contentClasses()}`, _v$4 = !local.collapsible || isOpen() ? "1fr" : "0fr", _v$5 = !local.collapsible || isOpen() ? "1" : "0";
|
|
129
|
+
var _v$3 = `grid transition-[grid-template-rows,opacity] duration-200 ease-in-out ${local.collapsible ? "overflow-hidden" : ""} ${local.collapsible && !isOpen() ? "" : contentClasses()}`, _v$4 = !local.collapsible || isOpen() ? "1fr" : "0fr", _v$5 = !local.collapsible || isOpen() ? "1" : "0", _v$6 = local.collapsible ? "overflow-hidden" : "";
|
|
130
130
|
_v$3 !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$5, _p$.e = _v$3);
|
|
131
131
|
_v$4 !== _p$.t && (null != (_p$.t = _v$4) ? _el$5.style.setProperty("grid-template-rows", _v$4) : _el$5.style.removeProperty("grid-template-rows"));
|
|
132
132
|
_v$5 !== _p$.a && (null != (_p$.a = _v$5) ? _el$5.style.setProperty("opacity", _v$5) : _el$5.style.removeProperty("opacity"));
|
|
133
|
+
_v$6 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$6, _p$.o = _v$6);
|
|
133
134
|
return _p$;
|
|
134
135
|
}, {
|
|
135
136
|
e: void 0,
|
|
136
137
|
t: void 0,
|
|
137
|
-
a: void 0
|
|
138
|
+
a: void 0,
|
|
139
|
+
o: void 0
|
|
138
140
|
});
|
|
139
141
|
return _el$;
|
|
140
142
|
})();
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
|
|
17
17
|
.table-root--primary {
|
|
18
18
|
background-color: var(--color-base-200);
|
|
19
|
-
|
|
19
|
+
padding-inline: 0.25rem;
|
|
20
|
+
padding-bottom: 0.25rem;
|
|
21
|
+
border-radius: calc(var(--radius-box, 1rem) * 1.25);
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
/* --------------------------------------------------------------------------
|
|
@@ -92,13 +94,13 @@
|
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
.table-root--secondary .table__column:first-child {
|
|
95
|
-
border-top-left-radius:
|
|
96
|
-
border-bottom-left-radius:
|
|
97
|
+
border-top-left-radius: 1rem;
|
|
98
|
+
border-bottom-left-radius: 1rem;
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
.table-root--secondary .table__column:last-child {
|
|
100
|
-
border-top-right-radius:
|
|
101
|
-
border-bottom-right-radius:
|
|
102
|
+
border-top-right-radius: 1rem;
|
|
103
|
+
border-bottom-right-radius: 1rem;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
.table-root--secondary .table__body tr:first-child td:first-child,
|
|
@@ -194,20 +196,20 @@
|
|
|
194
196
|
/* --------------------------------------------------------------------------
|
|
195
197
|
Table Body (<tbody>)
|
|
196
198
|
-------------------------------------------------------------------------- */
|
|
197
|
-
.
|
|
198
|
-
border-top-left-radius:
|
|
199
|
+
.table__body tr:first-child td:first-child {
|
|
200
|
+
border-top-left-radius: 1rem;
|
|
199
201
|
}
|
|
200
202
|
|
|
201
|
-
.
|
|
202
|
-
border-top-right-radius:
|
|
203
|
+
.table__body tr:first-child td:last-child {
|
|
204
|
+
border-top-right-radius: 1rem;
|
|
203
205
|
}
|
|
204
206
|
|
|
205
|
-
.
|
|
206
|
-
border-bottom-left-radius:
|
|
207
|
+
.table__body tr:last-child td:first-child {
|
|
208
|
+
border-bottom-left-radius: 1rem;
|
|
207
209
|
}
|
|
208
210
|
|
|
209
|
-
.
|
|
210
|
-
border-bottom-right-radius:
|
|
211
|
+
.table__body tr:last-child td:last-child {
|
|
212
|
+
border-bottom-right-radius: 1rem;
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
/* --------------------------------------------------------------------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"author": "pathscale",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -79,6 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@iconify/tailwind4": "^1.2.1",
|
|
82
|
+
"@pathscale/ui": "^1.1.11",
|
|
82
83
|
"rsbuild-plugin-iconify": "^1.0.3"
|
|
83
84
|
},
|
|
84
85
|
"peerDependencies": {
|