@pathscale/ui 0.0.26 → 0.0.28
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.js +200 -62
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -4010,6 +4010,187 @@ const Badge_Badge = (props)=>{
|
|
|
4010
4010
|
})();
|
|
4011
4011
|
};
|
|
4012
4012
|
const Badge = Badge_Badge;
|
|
4013
|
+
var PhoneMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div aria-label="Phone mockup"><div class=mockup-phone-camera></div><div class=mockup-phone-display><div>');
|
|
4014
|
+
const PhoneMockup = (props)=>{
|
|
4015
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4016
|
+
"children",
|
|
4017
|
+
"class",
|
|
4018
|
+
"className",
|
|
4019
|
+
"dataTheme",
|
|
4020
|
+
"color",
|
|
4021
|
+
"innerProps"
|
|
4022
|
+
]);
|
|
4023
|
+
const classes = ()=>bundle_mjs_twMerge("mockup-phone", local.class, local.className, dist_clsx({
|
|
4024
|
+
"border-primary": "primary" === local.color,
|
|
4025
|
+
"border-secondary": "secondary" === local.color,
|
|
4026
|
+
"border-info": "info" === local.color,
|
|
4027
|
+
"border-success": "success" === local.color,
|
|
4028
|
+
"border-warning": "warning" === local.color,
|
|
4029
|
+
"border-error": "error" === local.color
|
|
4030
|
+
}));
|
|
4031
|
+
const innerClasses = ()=>bundle_mjs_twMerge("artboard artboard-demo phone-1", local.innerProps?.class, local.innerProps?.className);
|
|
4032
|
+
return (()=>{
|
|
4033
|
+
var _el$ = PhoneMockup_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
|
|
4034
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4035
|
+
get ["data-theme"] () {
|
|
4036
|
+
return local.dataTheme;
|
|
4037
|
+
},
|
|
4038
|
+
get ["class"] () {
|
|
4039
|
+
return classes();
|
|
4040
|
+
}
|
|
4041
|
+
}), false, true);
|
|
4042
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$4, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(()=>local.innerProps, {
|
|
4043
|
+
get ["class"] () {
|
|
4044
|
+
return innerClasses();
|
|
4045
|
+
}
|
|
4046
|
+
}), false, true);
|
|
4047
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.children);
|
|
4048
|
+
return _el$;
|
|
4049
|
+
})();
|
|
4050
|
+
};
|
|
4051
|
+
const phonemockup_PhoneMockup = PhoneMockup;
|
|
4052
|
+
var WindowMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>"), WindowMockup_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div aria-label="Window mockup">');
|
|
4053
|
+
const WindowMockup = (props)=>{
|
|
4054
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4055
|
+
"children",
|
|
4056
|
+
"class",
|
|
4057
|
+
"className",
|
|
4058
|
+
"dataTheme",
|
|
4059
|
+
"border",
|
|
4060
|
+
"borderColor",
|
|
4061
|
+
"backgroundColor",
|
|
4062
|
+
"frameColor"
|
|
4063
|
+
]);
|
|
4064
|
+
const borderColorValue = ()=>local.borderColor || local.frameColor || "neutral";
|
|
4065
|
+
const classes = ()=>bundle_mjs_twMerge("mockup-window", local.class, local.className, local.border && `border border-${borderColorValue()}`, dist_clsx({
|
|
4066
|
+
"border-neutral": "neutral" === borderColorValue(),
|
|
4067
|
+
"border-primary": "primary" === borderColorValue(),
|
|
4068
|
+
"border-secondary": "secondary" === borderColorValue(),
|
|
4069
|
+
"border-accent": "accent" === borderColorValue(),
|
|
4070
|
+
"border-info": "info" === borderColorValue(),
|
|
4071
|
+
"border-success": "success" === borderColorValue(),
|
|
4072
|
+
"border-warning": "warning" === borderColorValue(),
|
|
4073
|
+
"border-error": "error" === borderColorValue(),
|
|
4074
|
+
"bg-neutral": "neutral" === local.frameColor,
|
|
4075
|
+
"bg-primary": "primary" === local.frameColor,
|
|
4076
|
+
"bg-secondary": "secondary" === local.frameColor,
|
|
4077
|
+
"bg-accent": "accent" === local.frameColor,
|
|
4078
|
+
"bg-info": "info" === local.frameColor,
|
|
4079
|
+
"bg-success": "success" === local.frameColor,
|
|
4080
|
+
"bg-warning": "warning" === local.frameColor,
|
|
4081
|
+
"bg-error": "error" === local.frameColor
|
|
4082
|
+
}));
|
|
4083
|
+
const innerClasses = ()=>bundle_mjs_twMerge("p-4", local.backgroundColor && `bg-${local.backgroundColor}`, local.border && `border-t border-${borderColorValue()}`, dist_clsx({
|
|
4084
|
+
"bg-neutral": "neutral" === local.backgroundColor,
|
|
4085
|
+
"bg-primary": "primary" === local.backgroundColor,
|
|
4086
|
+
"bg-secondary": "secondary" === local.backgroundColor,
|
|
4087
|
+
"bg-accent": "accent" === local.backgroundColor,
|
|
4088
|
+
"bg-info": "info" === local.backgroundColor,
|
|
4089
|
+
"bg-success": "success" === local.backgroundColor,
|
|
4090
|
+
"bg-warning": "warning" === local.backgroundColor,
|
|
4091
|
+
"bg-error": "error" === local.backgroundColor
|
|
4092
|
+
}));
|
|
4093
|
+
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
4094
|
+
const innerElement = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.createMemo)(()=>{
|
|
4095
|
+
const childrenArray = Array.isArray(resolvedChildren()) ? resolvedChildren() : [
|
|
4096
|
+
resolvedChildren()
|
|
4097
|
+
];
|
|
4098
|
+
const firstChild = childrenArray[0];
|
|
4099
|
+
if (1 === childrenArray.length && "object" == typeof firstChild && null != firstChild && "type" in firstChild) {
|
|
4100
|
+
const existingClass = firstChild.props?.class || firstChild.props?.className || "";
|
|
4101
|
+
const mergedClass = bundle_mjs_twMerge(innerClasses(), existingClass);
|
|
4102
|
+
return {
|
|
4103
|
+
...firstChild,
|
|
4104
|
+
props: {
|
|
4105
|
+
...firstChild.props,
|
|
4106
|
+
class: mergedClass
|
|
4107
|
+
}
|
|
4108
|
+
};
|
|
4109
|
+
}
|
|
4110
|
+
return (()=>{
|
|
4111
|
+
var _el$ = WindowMockup_tmpl$();
|
|
4112
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, resolvedChildren);
|
|
4113
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, innerClasses()));
|
|
4114
|
+
return _el$;
|
|
4115
|
+
})();
|
|
4116
|
+
});
|
|
4117
|
+
return (()=>{
|
|
4118
|
+
var _el$2 = WindowMockup_tmpl$2();
|
|
4119
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$2, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4120
|
+
get ["data-theme"] () {
|
|
4121
|
+
return local.dataTheme;
|
|
4122
|
+
},
|
|
4123
|
+
get ["class"] () {
|
|
4124
|
+
return classes();
|
|
4125
|
+
}
|
|
4126
|
+
}), false, true);
|
|
4127
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, innerElement);
|
|
4128
|
+
return _el$2;
|
|
4129
|
+
})();
|
|
4130
|
+
};
|
|
4131
|
+
const windowmockup_WindowMockup = WindowMockup;
|
|
4132
|
+
var Drawer_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><input type=checkbox readonly><div></div><div><label>");
|
|
4133
|
+
const Drawer_Drawer = (props)=>{
|
|
4134
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4135
|
+
"children",
|
|
4136
|
+
"side",
|
|
4137
|
+
"open",
|
|
4138
|
+
"end",
|
|
4139
|
+
"dataTheme",
|
|
4140
|
+
"class",
|
|
4141
|
+
"className",
|
|
4142
|
+
"toggleClassName",
|
|
4143
|
+
"contentClassName",
|
|
4144
|
+
"sideClassName",
|
|
4145
|
+
"overlayClassName",
|
|
4146
|
+
"onClickOverlay"
|
|
4147
|
+
]);
|
|
4148
|
+
const resolvedChildren = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
4149
|
+
const classes = ()=>bundle_mjs_twMerge("drawer", local.class, local.className, dist_clsx({
|
|
4150
|
+
"drawer-end": local.end
|
|
4151
|
+
}));
|
|
4152
|
+
const toggleClasses = ()=>bundle_mjs_twMerge("drawer-toggle", local.toggleClassName);
|
|
4153
|
+
const contentClasses = ()=>bundle_mjs_twMerge("drawer-content", local.contentClassName);
|
|
4154
|
+
const sideClasses = ()=>bundle_mjs_twMerge("drawer-side", local.sideClassName);
|
|
4155
|
+
const overlayClasses = ()=>bundle_mjs_twMerge("drawer-overlay", local.overlayClassName);
|
|
4156
|
+
return (()=>{
|
|
4157
|
+
var _el$ = Drawer_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.nextSibling, _el$5 = _el$4.firstChild;
|
|
4158
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
4159
|
+
get ["aria-expanded"] () {
|
|
4160
|
+
return local.open;
|
|
4161
|
+
}
|
|
4162
|
+
}, others, {
|
|
4163
|
+
get ["data-theme"] () {
|
|
4164
|
+
return local.dataTheme;
|
|
4165
|
+
},
|
|
4166
|
+
get ["class"] () {
|
|
4167
|
+
return classes();
|
|
4168
|
+
}
|
|
4169
|
+
}), false, true);
|
|
4170
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, resolvedChildren);
|
|
4171
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.addEventListener)(_el$5, "click", local.onClickOverlay, true);
|
|
4172
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.side, null);
|
|
4173
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_p$)=>{
|
|
4174
|
+
var _v$ = toggleClasses(), _v$2 = contentClasses(), _v$3 = sideClasses(), _v$4 = overlayClasses();
|
|
4175
|
+
_v$ !== _p$.e && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$2, _p$.e = _v$);
|
|
4176
|
+
_v$2 !== _p$.t && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$3, _p$.t = _v$2);
|
|
4177
|
+
_v$3 !== _p$.a && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$4, _p$.a = _v$3);
|
|
4178
|
+
_v$4 !== _p$.o && (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$5, _p$.o = _v$4);
|
|
4179
|
+
return _p$;
|
|
4180
|
+
}, {
|
|
4181
|
+
e: void 0,
|
|
4182
|
+
t: void 0,
|
|
4183
|
+
a: void 0,
|
|
4184
|
+
o: void 0
|
|
4185
|
+
});
|
|
4186
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)(()=>_el$2.checked = local.open);
|
|
4187
|
+
return _el$;
|
|
4188
|
+
})();
|
|
4189
|
+
};
|
|
4190
|
+
const Drawer = Drawer_Drawer;
|
|
4191
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.delegateEvents)([
|
|
4192
|
+
"click"
|
|
4193
|
+
]);
|
|
4013
4194
|
var Breadcrumbs_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div><ul>");
|
|
4014
4195
|
const Breadcrumbs_Breadcrumbs = (props)=>{
|
|
4015
4196
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
@@ -6355,45 +6536,6 @@ const navbar_Navbar = Object.assign(Navbar, {
|
|
|
6355
6536
|
});
|
|
6356
6537
|
const Pagination = join_Join;
|
|
6357
6538
|
const pagination_Pagination = Pagination;
|
|
6358
|
-
var PhoneMockup_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div aria-label="Phone mockup"><div class=mockup-phone-camera></div><div class=mockup-phone-display><div>');
|
|
6359
|
-
const PhoneMockup = (props)=>{
|
|
6360
|
-
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
6361
|
-
"children",
|
|
6362
|
-
"class",
|
|
6363
|
-
"className",
|
|
6364
|
-
"dataTheme",
|
|
6365
|
-
"color",
|
|
6366
|
-
"innerProps"
|
|
6367
|
-
]);
|
|
6368
|
-
const classes = ()=>bundle_mjs_twMerge("mockup-phone", local.class, local.className, dist_clsx({
|
|
6369
|
-
"border-primary": "primary" === local.color,
|
|
6370
|
-
"border-secondary": "secondary" === local.color,
|
|
6371
|
-
"border-info": "info" === local.color,
|
|
6372
|
-
"border-success": "success" === local.color,
|
|
6373
|
-
"border-warning": "warning" === local.color,
|
|
6374
|
-
"border-error": "error" === local.color
|
|
6375
|
-
}));
|
|
6376
|
-
const innerClasses = ()=>bundle_mjs_twMerge("artboard artboard-demo phone-1", local.innerProps?.class, local.innerProps?.className);
|
|
6377
|
-
return (()=>{
|
|
6378
|
-
var _el$ = PhoneMockup_tmpl$(), _el$2 = _el$.firstChild, _el$3 = _el$2.nextSibling, _el$4 = _el$3.firstChild;
|
|
6379
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
6380
|
-
get ["data-theme"] () {
|
|
6381
|
-
return local.dataTheme;
|
|
6382
|
-
},
|
|
6383
|
-
get ["class"] () {
|
|
6384
|
-
return classes();
|
|
6385
|
-
}
|
|
6386
|
-
}), false, true);
|
|
6387
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$4, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(()=>local.innerProps, {
|
|
6388
|
-
get ["class"] () {
|
|
6389
|
-
return innerClasses();
|
|
6390
|
-
}
|
|
6391
|
-
}), false, true);
|
|
6392
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$4, ()=>local.children);
|
|
6393
|
-
return _el$;
|
|
6394
|
-
})();
|
|
6395
|
-
};
|
|
6396
|
-
const phonemockup_PhoneMockup = PhoneMockup;
|
|
6397
6539
|
const Polymorphic = (props)=>{
|
|
6398
6540
|
const [localProps, otherProps] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
6399
6541
|
"as"
|
|
@@ -7522,7 +7664,9 @@ const TableHead_TableHead = (props)=>{
|
|
|
7522
7664
|
"data-theme"
|
|
7523
7665
|
]);
|
|
7524
7666
|
const Tag = local.as || "thead";
|
|
7525
|
-
const
|
|
7667
|
+
const resolved = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
7668
|
+
const childrenArray = resolved.toArray();
|
|
7669
|
+
const cells = local.noCell ? childrenArray : childrenArray.map((child, i)=>0 === i ? (()=>{
|
|
7526
7670
|
var _el$ = TableHead_tmpl$();
|
|
7527
7671
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, child);
|
|
7528
7672
|
return _el$;
|
|
@@ -7619,7 +7763,7 @@ const TableBody = (props)=>{
|
|
|
7619
7763
|
}));
|
|
7620
7764
|
};
|
|
7621
7765
|
const table_TableBody = TableBody;
|
|
7622
|
-
var TableRow_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<
|
|
7766
|
+
var TableRow_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<td>");
|
|
7623
7767
|
const TableRow_VoidElementList = [
|
|
7624
7768
|
"area",
|
|
7625
7769
|
"base",
|
|
@@ -7637,7 +7781,7 @@ const TableRow_VoidElementList = [
|
|
|
7637
7781
|
"track",
|
|
7638
7782
|
"wbr"
|
|
7639
7783
|
];
|
|
7640
|
-
const
|
|
7784
|
+
const TableRow = (props)=>{
|
|
7641
7785
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7642
7786
|
"children",
|
|
7643
7787
|
"noCell",
|
|
@@ -7647,15 +7791,13 @@ const TableRow_TableHead = (props)=>{
|
|
|
7647
7791
|
"style",
|
|
7648
7792
|
"data-theme"
|
|
7649
7793
|
]);
|
|
7650
|
-
const Tag = local.as || "
|
|
7651
|
-
const
|
|
7794
|
+
const Tag = local.as || "tr";
|
|
7795
|
+
const resolved = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
7796
|
+
const childrenArray = resolved.toArray();
|
|
7797
|
+
const cells = local.noCell ? childrenArray : childrenArray.map((child)=>(()=>{
|
|
7652
7798
|
var _el$ = TableRow_tmpl$();
|
|
7653
7799
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, child);
|
|
7654
7800
|
return _el$;
|
|
7655
|
-
})() : (()=>{
|
|
7656
|
-
var _el$2 = TableRow_tmpl$2();
|
|
7657
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, child);
|
|
7658
|
-
return _el$2;
|
|
7659
7801
|
})());
|
|
7660
7802
|
const classAttr = local.class ?? local.className;
|
|
7661
7803
|
if (TableRow_VoidElementList.includes(Tag)) return (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(__WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.Dynamic, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
@@ -7679,14 +7821,10 @@ const TableRow_TableHead = (props)=>{
|
|
|
7679
7821
|
get ["data-theme"] () {
|
|
7680
7822
|
return local["data-theme"];
|
|
7681
7823
|
},
|
|
7682
|
-
|
|
7683
|
-
var _el$3 = TableRow_tmpl$3();
|
|
7684
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$3, cells);
|
|
7685
|
-
return _el$3;
|
|
7686
|
-
}
|
|
7824
|
+
children: cells
|
|
7687
7825
|
}));
|
|
7688
7826
|
};
|
|
7689
|
-
const
|
|
7827
|
+
const table_TableRow = TableRow;
|
|
7690
7828
|
var TableFooter_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<th>"), TableFooter_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<td>"), TableFooter_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<tr>");
|
|
7691
7829
|
const TableFooter_VoidElementList = [
|
|
7692
7830
|
"area",
|
|
@@ -7705,7 +7843,7 @@ const TableFooter_VoidElementList = [
|
|
|
7705
7843
|
"track",
|
|
7706
7844
|
"wbr"
|
|
7707
7845
|
];
|
|
7708
|
-
const
|
|
7846
|
+
const TableFooter_TableFooter = (props)=>{
|
|
7709
7847
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
7710
7848
|
"children",
|
|
7711
7849
|
"noCell",
|
|
@@ -7716,14 +7854,14 @@ const TableFooter = (props)=>{
|
|
|
7716
7854
|
"data-theme"
|
|
7717
7855
|
]);
|
|
7718
7856
|
const Tag = local.as || "tfoot";
|
|
7719
|
-
const
|
|
7857
|
+
const resolved = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.children)(()=>local.children);
|
|
7858
|
+
const childrenArray = resolved.toArray();
|
|
7859
|
+
const cells = local.noCell ? childrenArray : childrenArray.map((child, i)=>0 === i ? (()=>{
|
|
7720
7860
|
var _el$ = TableFooter_tmpl$();
|
|
7721
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "key", i);
|
|
7722
7861
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, child);
|
|
7723
7862
|
return _el$;
|
|
7724
7863
|
})() : (()=>{
|
|
7725
7864
|
var _el$2 = TableFooter_tmpl$2();
|
|
7726
|
-
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$2, "key", i);
|
|
7727
7865
|
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$2, child);
|
|
7728
7866
|
return _el$2;
|
|
7729
7867
|
})());
|
|
@@ -7756,7 +7894,7 @@ const TableFooter = (props)=>{
|
|
|
7756
7894
|
}
|
|
7757
7895
|
}));
|
|
7758
7896
|
};
|
|
7759
|
-
const
|
|
7897
|
+
const TableFooter = TableFooter_TableFooter;
|
|
7760
7898
|
const Table_VoidElementList = [
|
|
7761
7899
|
"area",
|
|
7762
7900
|
"base",
|
|
@@ -7831,8 +7969,8 @@ const TableComponent = (props)=>{
|
|
|
7831
7969
|
const Table = Object.assign(TableComponent, {
|
|
7832
7970
|
Head: TableHead,
|
|
7833
7971
|
Body: table_TableBody,
|
|
7834
|
-
Row:
|
|
7835
|
-
Footer:
|
|
7972
|
+
Row: table_TableRow,
|
|
7973
|
+
Footer: TableFooter
|
|
7836
7974
|
});
|
|
7837
7975
|
const table_Table = Table;
|
|
7838
7976
|
const table = table_Table;
|
|
@@ -8327,4 +8465,4 @@ const Tooltip = (props)=>{
|
|
|
8327
8465
|
})();
|
|
8328
8466
|
};
|
|
8329
8467
|
const tooltip_Tooltip = Tooltip;
|
|
8330
|
-
export { accordion_Accordion as Accordion, alert_Alert as Alert, autocomplete as Autocomplete, avatar as Avatar, background_Background as Background, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, button_Button as Button, card_Card as Card, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, copy_button_CopyButton as CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, dropdown as Dropdown, field as Field, FileInput, flex_Flex as Flex, footer_Footer as Footer, grid_Grid as Grid, hero_Hero as Hero, indicator_Indicator as Indicator, input_Input as Input, join_Join as Join, kbd_Kbd as Kbd, link_Link as Link, loading_Loading as Loading, mask as Mask, menu_Menu as Menu, modal as Modal, navbar_Navbar as Navbar, pagination_Pagination as Pagination, phonemockup_PhoneMockup as PhoneMockup, polymorphic_Polymorphic as Polymorphic, polymorphic_PolymorphicButton as PolymorphicButton, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, Sidenav, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, status_Status as Status, steps as Steps, Summary, Swap, table as Table, tabs as Tabs, textarea_Textarea as Textarea, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, toggle_Toggle as Toggle, tooltip_Tooltip as Tooltip };
|
|
8468
|
+
export { accordion_Accordion as Accordion, alert_Alert as Alert, autocomplete as Autocomplete, avatar as Avatar, background_Background as Background, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, button_Button as Button, card_Card as Card, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, codemockup_CodeMockup as CodeMockup, CodeMockupLine, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, copy_button_CopyButton as CopyButton, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, Drawer, dropdown as Dropdown, field as Field, FileInput, flex_Flex as Flex, footer_Footer as Footer, grid_Grid as Grid, hero_Hero as Hero, indicator_Indicator as Indicator, input_Input as Input, join_Join as Join, kbd_Kbd as Kbd, link_Link as Link, loading_Loading as Loading, mask as Mask, menu_Menu as Menu, modal as Modal, navbar_Navbar as Navbar, pagination_Pagination as Pagination, phonemockup_PhoneMockup as PhoneMockup, polymorphic_Polymorphic as Polymorphic, polymorphic_PolymorphicButton as PolymorphicButton, Progress, props_table_PropsTable as PropsTable, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, showcase_ShowcaseBlock as ShowcaseBlock, ShowcaseSection, Sidenav, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, status_Status as Status, steps as Steps, Summary, Swap, table as Table, tabs as Tabs, textarea_Textarea as Textarea, Timeline, timeline_TimelineEnd as TimelineEnd, timeline_TimelineItem as TimelineItem, timeline_TimelineMiddle as TimelineMiddle, timeline_TimelineStart as TimelineStart, toast_Toast as Toast, toggle_Toggle as Toggle, tooltip_Tooltip as Tooltip, windowmockup_WindowMockup as WindowMockup };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pathscale/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"author": "pathscale",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@biomejs/biome": "1.9.4",
|
|
27
|
+
"@iconify/json": "^2.2.342",
|
|
27
28
|
"@rsbuild/core": "^1.3.20",
|
|
28
29
|
"@rsbuild/plugin-solid": "^1.0.5",
|
|
29
30
|
"@rslib/core": "^0.9.0",
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
"typescript": "^5.8.3"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
38
|
+
"@iconify/tailwind4": "^1.0.6",
|
|
37
39
|
"@solid-primitives/event-listener": "^2.3.0",
|
|
38
40
|
"@solid-primitives/intersection-observer": "^2.1.3",
|
|
39
41
|
"@solid-primitives/keyboard": "^1.2.5",
|