@pathscale/ui 0.0.15 → 0.0.16
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 +236 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4339,6 +4339,109 @@ Card.Body = CardBody;
|
|
|
4339
4339
|
Card.Title = CardTitle;
|
|
4340
4340
|
Card.Image = CardImage;
|
|
4341
4341
|
const card_Card = Card;
|
|
4342
|
+
var ChatBubbleHeader_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
4343
|
+
const ChatBubbleHeader_ChatBubbleHeader = (props)=>(()=>{
|
|
4344
|
+
var _el$ = ChatBubbleHeader_tmpl$();
|
|
4345
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
|
|
4346
|
+
get ["class"] () {
|
|
4347
|
+
return bundle_mjs_twMerge("chat-header", props.class);
|
|
4348
|
+
}
|
|
4349
|
+
}), false, false);
|
|
4350
|
+
return _el$;
|
|
4351
|
+
})();
|
|
4352
|
+
const ChatBubbleHeader = ChatBubbleHeader_ChatBubbleHeader;
|
|
4353
|
+
var ChatBubbleTime_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<time>");
|
|
4354
|
+
const ChatBubbleTime = (props)=>(()=>{
|
|
4355
|
+
var _el$ = ChatBubbleTime_tmpl$();
|
|
4356
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
|
|
4357
|
+
get ["class"] () {
|
|
4358
|
+
return bundle_mjs_twMerge("text-xs opacity-50", props.class);
|
|
4359
|
+
}
|
|
4360
|
+
}), false, false);
|
|
4361
|
+
return _el$;
|
|
4362
|
+
})();
|
|
4363
|
+
const chatbubble_ChatBubbleTime = ChatBubbleTime;
|
|
4364
|
+
const ChatBubbleAvatar = (props)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.createComponent)(avatar, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
|
|
4365
|
+
get size () {
|
|
4366
|
+
return props.size ?? "xs";
|
|
4367
|
+
},
|
|
4368
|
+
get shape () {
|
|
4369
|
+
return props.shape ?? "circle";
|
|
4370
|
+
},
|
|
4371
|
+
get ["class"] () {
|
|
4372
|
+
return bundle_mjs_twMerge("chat-image", props.class);
|
|
4373
|
+
}
|
|
4374
|
+
}));
|
|
4375
|
+
const chatbubble_ChatBubbleAvatar = ChatBubbleAvatar;
|
|
4376
|
+
var ChatBubbleMessage_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
4377
|
+
const ChatBubbleMessage_ChatBubbleMessage = (props)=>{
|
|
4378
|
+
const bubbleClass = clsx_clsx({
|
|
4379
|
+
"chat-bubble": true,
|
|
4380
|
+
"chat-bubble-neutral": "neutral" === props.color,
|
|
4381
|
+
"chat-bubble-primary": "primary" === props.color,
|
|
4382
|
+
"chat-bubble-secondary": "secondary" === props.color,
|
|
4383
|
+
"chat-bubble-accent": "accent" === props.color,
|
|
4384
|
+
"chat-bubble-info": "info" === props.color,
|
|
4385
|
+
"chat-bubble-success": "success" === props.color,
|
|
4386
|
+
"chat-bubble-warning": "warning" === props.color,
|
|
4387
|
+
"chat-bubble-error": "error" === props.color
|
|
4388
|
+
});
|
|
4389
|
+
return (()=>{
|
|
4390
|
+
var _el$ = ChatBubbleMessage_tmpl$();
|
|
4391
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
|
|
4392
|
+
get ["class"] () {
|
|
4393
|
+
return bundle_mjs_twMerge(bubbleClass, props.class);
|
|
4394
|
+
}
|
|
4395
|
+
}), false, false);
|
|
4396
|
+
return _el$;
|
|
4397
|
+
})();
|
|
4398
|
+
};
|
|
4399
|
+
const ChatBubbleMessage = ChatBubbleMessage_ChatBubbleMessage;
|
|
4400
|
+
var ChatBubbleFooter_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
4401
|
+
const ChatBubbleFooter = (props)=>(()=>{
|
|
4402
|
+
var _el$ = ChatBubbleFooter_tmpl$();
|
|
4403
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(props, {
|
|
4404
|
+
get ["class"] () {
|
|
4405
|
+
return bundle_mjs_twMerge("chat-footer opacity-50", props.class);
|
|
4406
|
+
}
|
|
4407
|
+
}), false, false);
|
|
4408
|
+
return _el$;
|
|
4409
|
+
})();
|
|
4410
|
+
const chatbubble_ChatBubbleFooter = ChatBubbleFooter;
|
|
4411
|
+
var ChatBubble_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
4412
|
+
const ChatBubble = (props)=>{
|
|
4413
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4414
|
+
"end",
|
|
4415
|
+
"dataTheme",
|
|
4416
|
+
"class",
|
|
4417
|
+
"className",
|
|
4418
|
+
"style"
|
|
4419
|
+
]);
|
|
4420
|
+
const classes = ()=>bundle_mjs_twMerge("chat", `chat-${local.end ? "end" : "start"}`, local.class, local.className);
|
|
4421
|
+
return (()=>{
|
|
4422
|
+
var _el$ = ChatBubble_tmpl$();
|
|
4423
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4424
|
+
get ["data-theme"] () {
|
|
4425
|
+
return local.dataTheme;
|
|
4426
|
+
},
|
|
4427
|
+
get ["class"] () {
|
|
4428
|
+
return classes();
|
|
4429
|
+
},
|
|
4430
|
+
get style () {
|
|
4431
|
+
return local.style;
|
|
4432
|
+
}
|
|
4433
|
+
}), false, true);
|
|
4434
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>others.children);
|
|
4435
|
+
return _el$;
|
|
4436
|
+
})();
|
|
4437
|
+
};
|
|
4438
|
+
const chatbubble_ChatBubble = Object.assign(ChatBubble, {
|
|
4439
|
+
Header: ChatBubbleHeader,
|
|
4440
|
+
Time: chatbubble_ChatBubbleTime,
|
|
4441
|
+
Avatar: chatbubble_ChatBubbleAvatar,
|
|
4442
|
+
Message: ChatBubbleMessage,
|
|
4443
|
+
Footer: chatbubble_ChatBubbleFooter
|
|
4444
|
+
});
|
|
4342
4445
|
var Checkbox_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>");
|
|
4343
4446
|
const Checkbox = (props)=>{
|
|
4344
4447
|
let inputRef;
|
|
@@ -4664,6 +4767,96 @@ const Divider_Divider = (props)=>{
|
|
|
4664
4767
|
};
|
|
4665
4768
|
const Divider = Divider_Divider;
|
|
4666
4769
|
const divider = Divider;
|
|
4770
|
+
var DockItem_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<button>");
|
|
4771
|
+
const DockItem_DockItem = (props)=>{
|
|
4772
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4773
|
+
"children",
|
|
4774
|
+
"class",
|
|
4775
|
+
"className",
|
|
4776
|
+
"color",
|
|
4777
|
+
"dataTheme",
|
|
4778
|
+
"active",
|
|
4779
|
+
"disabled"
|
|
4780
|
+
]);
|
|
4781
|
+
const classes = bundle_mjs_twMerge(local.class, local.className, dist_clsx({
|
|
4782
|
+
"text-neutral": "neutral" === local.color,
|
|
4783
|
+
"text-primary": "primary" === local.color,
|
|
4784
|
+
"text-secondary": "secondary" === local.color,
|
|
4785
|
+
"text-accent": "accent" === local.color,
|
|
4786
|
+
"text-info": "info" === local.color,
|
|
4787
|
+
"text-success": "success" === local.color,
|
|
4788
|
+
"text-warning": "warning" === local.color,
|
|
4789
|
+
"text-error": "error" === local.color,
|
|
4790
|
+
active: local.active,
|
|
4791
|
+
disabled: local.disabled
|
|
4792
|
+
}));
|
|
4793
|
+
return (()=>{
|
|
4794
|
+
var _el$ = DockItem_tmpl$();
|
|
4795
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4796
|
+
class: classes,
|
|
4797
|
+
get ["data-theme"] () {
|
|
4798
|
+
return local.dataTheme;
|
|
4799
|
+
},
|
|
4800
|
+
get disabled () {
|
|
4801
|
+
return local.disabled;
|
|
4802
|
+
}
|
|
4803
|
+
}), false, true);
|
|
4804
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children);
|
|
4805
|
+
return _el$;
|
|
4806
|
+
})();
|
|
4807
|
+
};
|
|
4808
|
+
const DockItem = DockItem_DockItem;
|
|
4809
|
+
var DockLabel_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<span>");
|
|
4810
|
+
const DockLabel = (props)=>{
|
|
4811
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4812
|
+
"children",
|
|
4813
|
+
"class",
|
|
4814
|
+
"className"
|
|
4815
|
+
]);
|
|
4816
|
+
const classes = bundle_mjs_twMerge("dock-label", local.class, local.className);
|
|
4817
|
+
return (()=>{
|
|
4818
|
+
var _el$ = DockLabel_tmpl$();
|
|
4819
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4820
|
+
class: classes
|
|
4821
|
+
}), false, true);
|
|
4822
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children);
|
|
4823
|
+
return _el$;
|
|
4824
|
+
})();
|
|
4825
|
+
};
|
|
4826
|
+
const dock_DockLabel = DockLabel;
|
|
4827
|
+
var Dock_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
4828
|
+
const Dock_Dock = (props)=>{
|
|
4829
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
4830
|
+
"size",
|
|
4831
|
+
"dataTheme",
|
|
4832
|
+
"class",
|
|
4833
|
+
"className",
|
|
4834
|
+
"children"
|
|
4835
|
+
]);
|
|
4836
|
+
const classes = bundle_mjs_twMerge("dock", dist_clsx({
|
|
4837
|
+
"dock-lg": "lg" === local.size,
|
|
4838
|
+
"dock-md": "md" === local.size,
|
|
4839
|
+
"dock-sm": "sm" === local.size,
|
|
4840
|
+
"dock-xs": "xs" === local.size
|
|
4841
|
+
}), local.class, local.className);
|
|
4842
|
+
return (()=>{
|
|
4843
|
+
var _el$ = Dock_tmpl$();
|
|
4844
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)(others, {
|
|
4845
|
+
role: "navigation",
|
|
4846
|
+
get ["data-theme"] () {
|
|
4847
|
+
return local.dataTheme;
|
|
4848
|
+
},
|
|
4849
|
+
class: classes
|
|
4850
|
+
}), false, true);
|
|
4851
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children);
|
|
4852
|
+
return _el$;
|
|
4853
|
+
})();
|
|
4854
|
+
};
|
|
4855
|
+
const Dock = Object.assign(Dock_Dock, {
|
|
4856
|
+
Item: DockItem,
|
|
4857
|
+
Label: dock_DockLabel
|
|
4858
|
+
});
|
|
4859
|
+
const dock = Dock;
|
|
4667
4860
|
var DropdownToggle_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<label tabindex=0>");
|
|
4668
4861
|
const DropdownToggle = (props)=>{
|
|
4669
4862
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
@@ -5778,6 +5971,48 @@ const Radio = (props)=>{
|
|
|
5778
5971
|
})();
|
|
5779
5972
|
};
|
|
5780
5973
|
const radio_Radio = Radio;
|
|
5974
|
+
var RadialProgress_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div role=progressbar aria-valuemin=0 aria-valuemax=100>");
|
|
5975
|
+
const RadialProgress = (props)=>{
|
|
5976
|
+
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
5977
|
+
"value",
|
|
5978
|
+
"size",
|
|
5979
|
+
"thickness",
|
|
5980
|
+
"color",
|
|
5981
|
+
"dataTheme",
|
|
5982
|
+
"class",
|
|
5983
|
+
"className",
|
|
5984
|
+
"children"
|
|
5985
|
+
]);
|
|
5986
|
+
const displayedValue = Math.min(100, Math.max(0, local.value));
|
|
5987
|
+
const classes = bundle_mjs_twMerge("radial-progress", dist_clsx({
|
|
5988
|
+
"text-primary": "primary" === local.color,
|
|
5989
|
+
"text-secondary": "secondary" === local.color,
|
|
5990
|
+
"text-accent": "accent" === local.color,
|
|
5991
|
+
"text-info": "info" === local.color,
|
|
5992
|
+
"text-success": "success" === local.color,
|
|
5993
|
+
"text-warning": "warning" === local.color,
|
|
5994
|
+
"text-error": "error" === local.color
|
|
5995
|
+
}), local.class, local.className);
|
|
5996
|
+
const progressStyle = {
|
|
5997
|
+
"--value": displayedValue,
|
|
5998
|
+
"--size": local.size ?? "4rem",
|
|
5999
|
+
"--thickness": local.thickness ?? "4px"
|
|
6000
|
+
};
|
|
6001
|
+
return (()=>{
|
|
6002
|
+
var _el$ = RadialProgress_tmpl$();
|
|
6003
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.setAttribute)(_el$, "aria-valuenow", displayedValue);
|
|
6004
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.className)(_el$, classes);
|
|
6005
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.spread)(_el$, (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.mergeProps)({
|
|
6006
|
+
get ["data-theme"] () {
|
|
6007
|
+
return local.dataTheme;
|
|
6008
|
+
}
|
|
6009
|
+
}, others), false, true);
|
|
6010
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.insert)(_el$, ()=>local.children ?? `${displayedValue}%`);
|
|
6011
|
+
(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.effect)((_$p)=>(0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.style)(_el$, progressStyle, _$p));
|
|
6012
|
+
return _el$;
|
|
6013
|
+
})();
|
|
6014
|
+
};
|
|
6015
|
+
const radialprogress_RadialProgress = RadialProgress;
|
|
5781
6016
|
var Range_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>"), Range_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="relative mt-2 h-4 w-full max-w-xs"><div class="absolute inset-0 flex items-center justify-between px-2">'), Range_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<span class="absolute text-xs">|');
|
|
5782
6017
|
const Range = (props)=>{
|
|
5783
6018
|
const [local, rest] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
@@ -7167,4 +7402,4 @@ const Tooltip = (props)=>{
|
|
|
7167
7402
|
})();
|
|
7168
7403
|
};
|
|
7169
7404
|
const tooltip_Tooltip = Tooltip;
|
|
7170
|
-
export { accordion_Accordion as Accordion, alert_Alert as Alert, autocomplete as Autocomplete, avatar as Avatar, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, button_Button as Button, card_Card as Card, checkbox_Checkbox as Checkbox, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dropdown as Dropdown, field as Field, FileInput, 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, polymorphic_Polymorphic as Polymorphic, polymorphic_PolymorphicButton as PolymorphicButton, Progress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, 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 };
|
|
7405
|
+
export { accordion_Accordion as Accordion, alert_Alert as Alert, autocomplete as Autocomplete, avatar as Avatar, Badge, Breadcrumbs, breadcrumbs_BreadcrumbsItem as BreadcrumbsItem, button_Button as Button, card_Card as Card, chatbubble_ChatBubble as ChatBubble, checkbox_Checkbox as Checkbox, collapse_Collapse as Collapse, CollapseContent, CollapseDetails, CollapseTitle, countdown_Countdown as Countdown, diff_Diff as Diff, divider as Divider, dock as Dock, dropdown as Dropdown, field as Field, FileInput, 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, polymorphic_Polymorphic as Polymorphic, polymorphic_PolymorphicButton as PolymorphicButton, Progress, radialprogress_RadialProgress as RadialProgress, radio_Radio as Radio, range_Range as Range, Rating, select_Select as Select, skeleton_Skeleton as Skeleton, Stack, stats_Stats as Stats, 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 };
|