@pathscale/ui 0.0.135 → 0.0.136
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 +17 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7229,6 +7229,18 @@ const toRgba = (rgb, alpha)=>{
|
|
|
7229
7229
|
return `rgba(${match[1]}, ${match[2]}, ${match[3]}, ${alpha})`;
|
|
7230
7230
|
};
|
|
7231
7231
|
const COLORS = [
|
|
7232
|
+
createColorItem("rgb(80,80,80)", 47.631, -27.5),
|
|
7233
|
+
createColorItem("rgb(80,60,50)", 27.5, -47.631),
|
|
7234
|
+
createColorItem("rgb(80,50,50)", 0, -55),
|
|
7235
|
+
createColorItem("rgb(80,50,70)", -27.5, -47.631),
|
|
7236
|
+
createColorItem("rgb(70,50,80)", -47.631, -27.5),
|
|
7237
|
+
createColorItem("rgb(55,50,80)", -55, 0),
|
|
7238
|
+
createColorItem("rgb(50,55,80)", -47.631, 27.5),
|
|
7239
|
+
createColorItem("rgb(50,65,80)", -27.5, 47.631),
|
|
7240
|
+
createColorItem("rgb(50,80,80)", 0, 55),
|
|
7241
|
+
createColorItem("rgb(50,80,65)", 27.5, 47.631),
|
|
7242
|
+
createColorItem("rgb(55,80,50)", 47.631, 27.5),
|
|
7243
|
+
createColorItem("rgb(70,80,50)", 55, 0),
|
|
7232
7244
|
createColorItem("rgb(245,245,61)", 34.641, -20),
|
|
7233
7245
|
createColorItem("rgb(245,153,61)", 20, -34.641),
|
|
7234
7246
|
createColorItem("rgb(245,61,61)", 0, -40),
|
|
@@ -7337,7 +7349,7 @@ const ColorWheelFlower = (props)=>{
|
|
|
7337
7349
|
setHoveredIndex(null);
|
|
7338
7350
|
if (void 0 !== pointerTimeout) clearTimeout(pointerTimeout);
|
|
7339
7351
|
};
|
|
7340
|
-
const containerClasses = ()=>twMerge("relative w-[
|
|
7352
|
+
const containerClasses = ()=>twMerge("relative w-[190px] h-[190px] flex items-center justify-center", clsx({
|
|
7341
7353
|
"opacity-50 cursor-not-allowed": context.disabled()
|
|
7342
7354
|
}), props.class, props.className);
|
|
7343
7355
|
const outerRingBackground = ()=>{
|
|
@@ -9397,7 +9409,7 @@ const DropdownDetails = Object.assign(Details, {
|
|
|
9397
9409
|
Toggle: DropdownToggle_Summary
|
|
9398
9410
|
});
|
|
9399
9411
|
var DropdownItem_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<li role=menuitem>"), DropdownItem_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<a>"), DropdownItem_tmpl$3 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<button>");
|
|
9400
|
-
const
|
|
9412
|
+
const DropdownItem = (props)=>{
|
|
9401
9413
|
const dropdownContext = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.useContext)(DropdownContext);
|
|
9402
9414
|
const defaultProps = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.mergeProps)({
|
|
9403
9415
|
closeOnClick: true
|
|
@@ -9439,7 +9451,7 @@ const DropdownItem_DropdownItem = (props)=>{
|
|
|
9439
9451
|
return _el$;
|
|
9440
9452
|
})();
|
|
9441
9453
|
};
|
|
9442
|
-
const
|
|
9454
|
+
const dropdown_DropdownItem = DropdownItem;
|
|
9443
9455
|
var DropdownMenu_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<ul>");
|
|
9444
9456
|
const DropdownMenu = (props)=>{
|
|
9445
9457
|
const [local, others] = (0, __WEBPACK_EXTERNAL_MODULE_solid_js_aeefcc6d__.splitProps)(props, [
|
|
@@ -9641,7 +9653,7 @@ const dropdown_Dropdown = Object.assign(Dropdown, {
|
|
|
9641
9653
|
Details: DropdownDetails,
|
|
9642
9654
|
Toggle: dropdown_DropdownToggle,
|
|
9643
9655
|
Menu: dropdown_DropdownMenu,
|
|
9644
|
-
Item:
|
|
9656
|
+
Item: dropdown_DropdownItem
|
|
9645
9657
|
});
|
|
9646
9658
|
const dropdown = dropdown_Dropdown;
|
|
9647
9659
|
var FileInput_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<input>");
|
|
@@ -16840,7 +16852,7 @@ function getDefaultHueShiftStore() {
|
|
|
16840
16852
|
if (!defaultStore) defaultStore = createHueShiftStore("theme");
|
|
16841
16853
|
return defaultStore;
|
|
16842
16854
|
}
|
|
16843
|
-
var ThemeColorPicker_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute right-0 mt-2 p-
|
|
16855
|
+
var ThemeColorPicker_tmpl$ = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)('<div class="absolute right-0 mt-2 p-6 bg-base-100 rounded-lg shadow-xl border border-base-300 z-50">'), ThemeColorPicker_tmpl$2 = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_solid_js_web_35d951b7__.template)("<div>");
|
|
16844
16856
|
function hueToColorValue(hue, sat) {
|
|
16845
16857
|
const h = hue ?? 0;
|
|
16846
16858
|
const s = null === hue ? 0 : sat;
|