>
This is hardly a benefit in my eyes. If you're using a widget, you include it. If you don't, you don't. Most developers that actually optimize their builds don't have problems with this. For the others, it doesn't matter anyway because they're just including their entirety of jQuery UI (which they really need to stop doing).
There is no problem to cut functionality to basic slider (maybe, leaving +range). it may be cutted to any set of options. But the question, if users need this. All options are off by default, so user may set what kind of slider will be created. So here, we have a opposite opinions. Maybe, let's ask users of slider? If it's a architecure of jquery-ui, what I'm not really in, let's split it. Make another, full-featured slider. But it is still created on top of basic jquery-ui slider..
I choose jquery-ui for it's monolithic structure. It's only my preference. So, it's open-source anyway (no personal "interest"), so, i dont know if i have much time to invest in this open-source, maybe to the end of this month (suppose, enough to build a nice-tested slider). Let's join our visions of slider. What you would like to see in a slider? What issues about existing one to correct?
> Or, more size if only using one, which is more likely.
At the other side, the average is for monolith. If there is a need in some feature, it will requre 2 sliders in a frontend, so the size will grow more = [slider1] + [slider2], in case of basic slider1, it will be [slider1], so the income of using one is only [slider2] - [slider1]. I will compare the minified version of original slider and modified one. Im not sure if the size in kilobytes matters now, in modern browsers and hardware, how it influence the functionality and speed..
> I'm sure smarter CSS would fix this. In any case, it's definitely not something we would start with.
Sure, but it's more static. For example, having this rectangular slider:
one may set it to look like (using +round option):
(without +inner option):
(without +strict option):
so, in CSS, you have to find out the curvature of handle border (border-radius), using options is much simplier and doesnt interfere with setting those CSS manually, they are off by default.