@youcan/celeste 0.18.0 → 0.19.0
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/ai/README.md +1 -1
- package/ai/component-registry.json +206 -3
- package/ai/icons.json +2 -2
- package/ai/tokens.json +2 -2
- package/dist/celeste.css +573 -274
- package/dist/cjs/chunks/alpha-slider.cjs +1 -1
- package/dist/cjs/chunks/color-area.cjs +1 -1
- package/dist/cjs/chunks/color-picker.cjs +20 -25
- package/dist/cjs/chunks/color-swatch.cjs +4 -3
- package/dist/cjs/chunks/components.cjs +6 -4
- package/dist/cjs/chunks/gradient-picker.cjs +635 -0
- package/dist/cjs/chunks/textarea.cjs +1 -1
- package/dist/{es/chunks/use-color-model.js → cjs/chunks/tinycolor.cjs} +6 -23
- package/dist/cjs/gradient-picker.cjs +2 -0
- package/dist/cjs/gradient.cjs +71 -0
- package/dist/cjs/index.cjs +9 -4
- package/dist/cjs/use-color-model.cjs +27 -3
- package/dist/components/color-picker/gradient-picker.d.ts +51 -0
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/es/chunks/alpha-slider.js +1 -1
- package/dist/es/chunks/color-area.js +1 -1
- package/dist/es/chunks/color-picker.js +12 -17
- package/dist/es/chunks/color-swatch.js +2 -1
- package/dist/es/chunks/components.js +6 -4
- package/dist/es/chunks/gradient-picker.js +629 -0
- package/dist/es/chunks/textarea.js +1 -1
- package/dist/{cjs/chunks/use-color-model.cjs → es/chunks/tinycolor.js} +1 -40
- package/dist/es/gradient-picker.js +2 -0
- package/dist/es/gradient.js +69 -0
- package/dist/es/index.js +7 -5
- package/dist/es/use-color-model.js +25 -1
- package/dist/utils/gradient.d.ts +13 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +3 -3
- package/src/components/color-picker/color-picker.vue +8 -9
- package/src/components/color-picker/composable/use-color-model.ts +5 -0
- package/src/components/color-picker/gradient-picker.vue +944 -0
- package/src/components/color-picker/index.ts +3 -0
- package/src/components/color-picker/stories/gradient-picker.stories.ts +37 -0
- package/src/components/textarea/textarea.vue +1 -1
- package/src/utils/gradient.ts +90 -0
- package/src/utils/index.ts +1 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/utils/gradient.ts
|
|
3
|
+
var DIRECTIONS = {
|
|
4
|
+
"to top": 0,
|
|
5
|
+
"to top right": 45,
|
|
6
|
+
"to right top": 45,
|
|
7
|
+
"to right": 90,
|
|
8
|
+
"to bottom right": 135,
|
|
9
|
+
"to right bottom": 135,
|
|
10
|
+
"to bottom": 180,
|
|
11
|
+
"to bottom left": 225,
|
|
12
|
+
"to left bottom": 225,
|
|
13
|
+
"to left": 270,
|
|
14
|
+
"to top left": 315,
|
|
15
|
+
"to left top": 315
|
|
16
|
+
};
|
|
17
|
+
var UNITS = {
|
|
18
|
+
deg: 1,
|
|
19
|
+
grad: .9,
|
|
20
|
+
rad: 180 / Math.PI,
|
|
21
|
+
turn: 360
|
|
22
|
+
};
|
|
23
|
+
function splitTopLevel(value) {
|
|
24
|
+
const parts = [];
|
|
25
|
+
let depth = 0;
|
|
26
|
+
let current = "";
|
|
27
|
+
for (const char of value) {
|
|
28
|
+
depth += char === "(" ? 1 : char === ")" ? -1 : 0;
|
|
29
|
+
if (char === "," && depth === 0) {
|
|
30
|
+
parts.push(current.trim());
|
|
31
|
+
current = "";
|
|
32
|
+
continue;
|
|
33
|
+
}
|
|
34
|
+
current += char;
|
|
35
|
+
}
|
|
36
|
+
return [...parts, current.trim()].filter(Boolean);
|
|
37
|
+
}
|
|
38
|
+
function parseGradient(value) {
|
|
39
|
+
const match = /^\s*(linear|radial)-gradient\(([\s\S]*)\)\s*$/i.exec(value ?? "");
|
|
40
|
+
if (!match) return null;
|
|
41
|
+
const parts = splitTopLevel(match[2]);
|
|
42
|
+
const head = parts[0]?.toLowerCase() ?? "";
|
|
43
|
+
let angle = 180;
|
|
44
|
+
const unit = /^(-?(?:\d+(?:\.\d+)?|\.\d+))(deg|grad|rad|turn)$/.exec(head);
|
|
45
|
+
const shape = /circle|ellipse|closest|farthest|^at /.test(head) ? parts[0] : void 0;
|
|
46
|
+
if (unit || shape || head.startsWith("to ")) {
|
|
47
|
+
parts.shift();
|
|
48
|
+
angle = unit ? Math.round((Number(unit[1]) * UNITS[unit[2]] % 360 + 360) % 360) : DIRECTIONS[head] ?? angle;
|
|
49
|
+
}
|
|
50
|
+
const stops = parts.map((part, index) => {
|
|
51
|
+
const position = /\s(-?\d+(?:\.\d+)?)%$/.exec(part)?.[1];
|
|
52
|
+
return {
|
|
53
|
+
color: (position === void 0 ? part : part.slice(0, part.lastIndexOf(" "))).trim(),
|
|
54
|
+
position: position === void 0 ? Math.round(index / Math.max(parts.length - 1, 1) * 100) : Number(position)
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
const type = match[1].toLowerCase();
|
|
58
|
+
return stops.length > 1 ? {
|
|
59
|
+
type,
|
|
60
|
+
angle,
|
|
61
|
+
...type === "radial" && shape && { shape },
|
|
62
|
+
stops
|
|
63
|
+
} : null;
|
|
64
|
+
}
|
|
65
|
+
function stringifyGradient({ type, angle, shape, stops }) {
|
|
66
|
+
const list = [...stops].sort((a, b) => a.position - b.position).map((stop) => `${stop.color} ${stop.position}%`).join(", ");
|
|
67
|
+
return type === "linear" ? `linear-gradient(${angle}deg, ${list})` : `radial-gradient(${shape ? `${shape}, ` : ""}${list})`;
|
|
68
|
+
}
|
|
69
|
+
//#endregion
|
|
70
|
+
exports.parseGradient = parseGradient;
|
|
71
|
+
exports.stringifyGradient = stringifyGradient;
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ const require_compact_button = require("./chunks/compact-button.cjs");
|
|
|
61
61
|
const require_fancy_button = require("./chunks/fancy-button.cjs");
|
|
62
62
|
const require_link_button = require("./chunks/link-button.cjs");
|
|
63
63
|
const require_social_button = require("./chunks/social-button.cjs");
|
|
64
|
-
const
|
|
64
|
+
const require_gradient_picker = require("./chunks/gradient-picker.cjs");
|
|
65
65
|
const require_use_delegated_props = require("./use-delegated-props.cjs");
|
|
66
66
|
const require_use_direction = require("./use-direction.cjs");
|
|
67
67
|
const require_bar_chart = require("./chunks/bar-chart.cjs");
|
|
@@ -82,10 +82,15 @@ const require_popover = require("./chunks/popover.cjs");
|
|
|
82
82
|
const require_select_group = require("./chunks/select-group.cjs");
|
|
83
83
|
const require_select_icon = require("./chunks/select-icon.cjs");
|
|
84
84
|
const require_select = require("./chunks/select.cjs");
|
|
85
|
+
const require_color_picker = require("./chunks/color-picker.cjs");
|
|
85
86
|
const require_text_input_affix = require("./chunks/text-input-affix.cjs");
|
|
86
87
|
const require_text_input_button = require("./chunks/text-input-button.cjs");
|
|
87
88
|
const require_text_input = require("./chunks/text-input.cjs");
|
|
88
89
|
const require_color_swatch = require("./chunks/color-swatch.cjs");
|
|
90
|
+
const require_gradient = require("./gradient.cjs");
|
|
91
|
+
const require_tooltip_provider = require("./chunks/tooltip-provider.cjs");
|
|
92
|
+
const require_tooltip_root = require("./chunks/tooltip-root.cjs");
|
|
93
|
+
const require_tooltip = require("./chunks/tooltip.cjs");
|
|
89
94
|
const require_hue_slider = require("./chunks/hue-slider.cjs");
|
|
90
95
|
const require_combobox_group = require("./chunks/combobox-group.cjs");
|
|
91
96
|
const require_combobox_input = require("./chunks/combobox-input.cjs");
|
|
@@ -120,9 +125,6 @@ const require_digit_input = require("./chunks/digit-input.cjs");
|
|
|
120
125
|
const require_dropdown_menu = require("./chunks/dropdown-menu.cjs");
|
|
121
126
|
const require_file_upload_area = require("./chunks/file-upload-area.cjs");
|
|
122
127
|
const require_hint_text = require("./chunks/hint-text.cjs");
|
|
123
|
-
const require_tooltip_provider = require("./chunks/tooltip-provider.cjs");
|
|
124
|
-
const require_tooltip_root = require("./chunks/tooltip-root.cjs");
|
|
125
|
-
const require_tooltip = require("./chunks/tooltip.cjs");
|
|
126
128
|
const require_label = require("./chunks/label2.cjs");
|
|
127
129
|
const require_mochi = require("./chunks/mochi.cjs");
|
|
128
130
|
const require_pagination = require("./chunks/pagination.cjs");
|
|
@@ -313,6 +315,7 @@ exports.DropdownMenuSubTrigger = require_dropdown_menu_sub_trigger.dropdown_menu
|
|
|
313
315
|
exports.DropdownMenuTrigger = require_dropdown_menu_trigger.dropdown_menu_trigger_default;
|
|
314
316
|
exports.FancyButton = require_fancy_button.fancy_button_default;
|
|
315
317
|
exports.FileUploadArea = require_file_upload_area.file_upload_area_default;
|
|
318
|
+
exports.GradientPicker = require_gradient_picker.gradient_picker_default;
|
|
316
319
|
exports.HEX_VALIDATION_PATTERN = require_color.HEX_VALIDATION_PATTERN;
|
|
317
320
|
exports.HintText = require_hint_text.hint_text_default;
|
|
318
321
|
exports.HueSlider = require_hue_slider.hue_slider_default;
|
|
@@ -432,8 +435,10 @@ exports.getFractionDigit = require_color.getFractionDigit;
|
|
|
432
435
|
exports.getPageXYFromEvent = require_color.getPageXYFromEvent;
|
|
433
436
|
exports.getScrollXY = require_color.getScrollXY;
|
|
434
437
|
exports.niceTicks = require_chart.niceTicks;
|
|
438
|
+
exports.parseGradient = require_gradient.parseGradient;
|
|
435
439
|
exports.provideSidebarContext = require_use_sidebar.provideSidebarContext;
|
|
436
440
|
exports.resolveArrowDirection = require_color.resolveArrowDirection;
|
|
441
|
+
exports.stringifyGradient = require_gradient.stringifyGradient;
|
|
437
442
|
exports.toast = toast;
|
|
438
443
|
exports.truncColorValue = require_color.truncColorValue;
|
|
439
444
|
exports.uid = require_crypto.uid;
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const require_tinycolor = require("./chunks/tinycolor.cjs");
|
|
3
|
+
let vue = require("vue");
|
|
4
|
+
//#region src/components/color-picker/composable/use-color-model.ts
|
|
5
|
+
var ColorPickerEmits = ["update:modelValue"];
|
|
6
|
+
function defineColorModel(props, emit) {
|
|
7
|
+
let originalFormat;
|
|
8
|
+
return (0, vue.computed)({
|
|
9
|
+
get: () => {
|
|
10
|
+
const colorInput = props.modelValue;
|
|
11
|
+
const value = require_tinycolor.tinycolor(colorInput);
|
|
12
|
+
originalFormat = value.getFormat();
|
|
13
|
+
return value;
|
|
14
|
+
},
|
|
15
|
+
set: (newValue) => {
|
|
16
|
+
const newTinyColor = require_tinycolor.tinycolor(newValue);
|
|
17
|
+
if (require_tinycolor.tinycolor.equals(newTinyColor, props.modelValue)) return;
|
|
18
|
+
emit("update:modelValue", transformToOriginalInputFormat(newTinyColor, originalFormat));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function transformToOriginalInputFormat(color, originalFormat) {
|
|
23
|
+
if (originalFormat === "hex" && color.getAlpha() < 1) return color.toString("hex8");
|
|
24
|
+
return color.toString(originalFormat);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.ColorPickerEmits = ColorPickerEmits;
|
|
28
|
+
exports.defineColorModel = defineColorModel;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface GradientPickerProps {
|
|
2
|
+
modelValue?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
emptyHint?: string;
|
|
5
|
+
noneLabel?: string;
|
|
6
|
+
linearLabel?: string;
|
|
7
|
+
radialLabel?: string;
|
|
8
|
+
angleLabel?: string;
|
|
9
|
+
colorStopLabel?: string;
|
|
10
|
+
addStopLabel?: string;
|
|
11
|
+
removeStopLabel?: string;
|
|
12
|
+
positionLabel?: string;
|
|
13
|
+
opacityLabel?: string;
|
|
14
|
+
hueLabel?: string;
|
|
15
|
+
areaLabel?: string;
|
|
16
|
+
eyedropperLabel?: string;
|
|
17
|
+
usedLabel?: string;
|
|
18
|
+
removeLabel?: string;
|
|
19
|
+
presets?: string[];
|
|
20
|
+
swatches?: string[];
|
|
21
|
+
}
|
|
22
|
+
export interface GradientPickerEmits {
|
|
23
|
+
'update:modelValue': [value: string];
|
|
24
|
+
}
|
|
25
|
+
declare const __VLS_export: import('vue').DefineComponent<GradientPickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (value: string) => any;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<GradientPickerProps> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
placeholder: string;
|
|
31
|
+
modelValue: string;
|
|
32
|
+
swatches: string[];
|
|
33
|
+
emptyHint: string;
|
|
34
|
+
noneLabel: string;
|
|
35
|
+
linearLabel: string;
|
|
36
|
+
radialLabel: string;
|
|
37
|
+
angleLabel: string;
|
|
38
|
+
colorStopLabel: string;
|
|
39
|
+
addStopLabel: string;
|
|
40
|
+
removeStopLabel: string;
|
|
41
|
+
positionLabel: string;
|
|
42
|
+
opacityLabel: string;
|
|
43
|
+
hueLabel: string;
|
|
44
|
+
areaLabel: string;
|
|
45
|
+
eyedropperLabel: string;
|
|
46
|
+
usedLabel: string;
|
|
47
|
+
removeLabel: string;
|
|
48
|
+
presets: string[];
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
@@ -6,5 +6,7 @@ export * from './color-picker';
|
|
|
6
6
|
export { default as ColorPicker } from './color-picker';
|
|
7
7
|
export * from './color-swatch';
|
|
8
8
|
export { default as ColorSwatch } from './color-swatch';
|
|
9
|
+
export * from './gradient-picker';
|
|
10
|
+
export { default as GradientPicker } from './gradient-picker';
|
|
9
11
|
export * from './hue-slider';
|
|
10
12
|
export { default as HueSlider } from './hue-slider';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useUserPageSelection } from "../use-user-select.js";
|
|
2
2
|
import { getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from "../color.js";
|
|
3
|
-
import {
|
|
3
|
+
import { defineColorModel } from "../use-color-model.js";
|
|
4
4
|
import { computed, createElementBlock, createElementVNode, defineComponent, normalizeStyle, onUnmounted, openBlock, useTemplateRef } from "vue";
|
|
5
5
|
//#region src/components/color-picker/alpha-slider.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var _hoisted_1 = { class: "celeste-color-slider" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { useUserPageSelection } from "../use-user-select.js";
|
|
3
3
|
import { clamp, getAbsolutePosition, getPageXYFromEvent, resolveArrowDirection } from "../color.js";
|
|
4
|
-
import {
|
|
4
|
+
import { ColorPickerEmits, defineColorModel } from "../use-color-model.js";
|
|
5
5
|
import { computed, createElementBlock, createElementVNode, defineComponent, normalizeStyle, onUnmounted, openBlock, ref, useCssVars, useTemplateRef, watch } from "vue";
|
|
6
6
|
//#region src/components/color-picker/color-area.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var color_area_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
@@ -9,21 +9,17 @@ import "./select-label.js";
|
|
|
9
9
|
import "./select-separator.js";
|
|
10
10
|
import { t as select_value_default } from "./select-value.js";
|
|
11
11
|
import { t as button_default } from "./button.js";
|
|
12
|
-
import "./
|
|
13
|
-
import "./fancy-button.js";
|
|
14
|
-
import "./link-button.js";
|
|
15
|
-
import "./social-button.js";
|
|
12
|
+
import "./gradient-picker.js";
|
|
16
13
|
import { useDelegatedProps } from "../use-delegated-props.js";
|
|
17
14
|
import { COLOR_NUMBER_VALIDATION_PATTERN, HEX_VALIDATION_PATTERN, bumpColorValue, clamp, getColorConstraints, resolveArrowDirection, truncColorValue } from "../color.js";
|
|
18
|
-
import {
|
|
15
|
+
import { t as tinycolor } from "./tinycolor.js";
|
|
16
|
+
import { defineColorModel } from "../use-color-model.js";
|
|
19
17
|
import { t as alpha_slider_default } from "./alpha-slider.js";
|
|
20
18
|
import { t as color_area_default } from "./color-area.js";
|
|
21
19
|
import { t as popover_default } from "./popover.js";
|
|
22
20
|
import "./select-group.js";
|
|
23
21
|
import "./select-icon.js";
|
|
24
22
|
import { t as select_default } from "./select.js";
|
|
25
|
-
import "./text-input-affix.js";
|
|
26
|
-
import "./text-input-button.js";
|
|
27
23
|
import { t as text_input_default } from "./text-input.js";
|
|
28
24
|
import { t as color_swatch_default } from "./color-swatch.js";
|
|
29
25
|
import { t as hue_slider_default } from "./hue-slider.js";
|
|
@@ -60,7 +56,7 @@ var color_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
60
56
|
},
|
|
61
57
|
emits: ["update:modelValue"],
|
|
62
58
|
setup(__props, { emit: __emit }) {
|
|
63
|
-
useCssVars((_ctx) => ({ "
|
|
59
|
+
useCssVars((_ctx) => ({ "v6500f742": _ctx.modelValue }));
|
|
64
60
|
const props = __props;
|
|
65
61
|
const emit = __emit;
|
|
66
62
|
const delegatedProps = useDelegatedProps(props, "class");
|
|
@@ -121,17 +117,16 @@ var color_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
121
117
|
} else if (key === "a") currentValue = tinyColorRef.value.getAlpha() * 100;
|
|
122
118
|
return currentValue;
|
|
123
119
|
}
|
|
124
|
-
function
|
|
120
|
+
function nextInputValue(event) {
|
|
125
121
|
const input = event.target;
|
|
126
|
-
const
|
|
127
|
-
|
|
128
|
-
|
|
122
|
+
const { length } = input.value;
|
|
123
|
+
return input.value.slice(0, input.selectionStart ?? length) + (event.data ?? "") + input.value.slice(input.selectionEnd ?? length);
|
|
124
|
+
}
|
|
125
|
+
function validateInput(event) {
|
|
126
|
+
if (!COLOR_NUMBER_VALIDATION_PATTERN.test(nextInputValue(event).replace(/[%°]/g, "").trim())) event.preventDefault();
|
|
129
127
|
}
|
|
130
128
|
function validateHexInput(event) {
|
|
131
|
-
|
|
132
|
-
const inputEvent = event;
|
|
133
|
-
const newValue = input.value + (inputEvent.data ?? "");
|
|
134
|
-
if (!HEX_VALIDATION_PATTERN.test(newValue)) event.preventDefault();
|
|
129
|
+
if (!HEX_VALIDATION_PATTERN.test(nextInputValue(event))) event.preventDefault();
|
|
135
130
|
}
|
|
136
131
|
function inputChangeHex(event) {
|
|
137
132
|
const colorInput = event.target?.value;
|
|
@@ -475,6 +470,6 @@ var color_picker_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
475
470
|
});
|
|
476
471
|
};
|
|
477
472
|
}
|
|
478
|
-
}), [["__scopeId", "data-v-
|
|
473
|
+
}), [["__scopeId", "data-v-d9442cfd"]]);
|
|
479
474
|
//#endregion
|
|
480
475
|
export { color_picker_default as t };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { DEFAULT_SWATCH } from "../color.js";
|
|
3
|
-
import {
|
|
3
|
+
import { t as tinycolor } from "./tinycolor.js";
|
|
4
|
+
import { defineColorModel } from "../use-color-model.js";
|
|
4
5
|
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, normalizeStyle, openBlock, renderList, toDisplayString, useCssVars, withKeys } from "vue";
|
|
5
6
|
//#region src/components/color-picker/color-swatch.vue?vue&type=script&setup=true&lang.ts
|
|
6
7
|
var _hoisted_1 = { class: "celeste-color-swatch" };
|
|
@@ -59,7 +59,7 @@ import { t as compact_button_default } from "./compact-button.js";
|
|
|
59
59
|
import { t as fancy_button_default } from "./fancy-button.js";
|
|
60
60
|
import { t as link_button_default } from "./link-button.js";
|
|
61
61
|
import { t as social_button_default } from "./social-button.js";
|
|
62
|
-
import { t as
|
|
62
|
+
import { t as gradient_picker_default } from "./gradient-picker.js";
|
|
63
63
|
import { t as bar_chart_default } from "./bar-chart.js";
|
|
64
64
|
import { t as chart_legend_default } from "./chart-legend.js";
|
|
65
65
|
import { t as chart_plot_default } from "./chart-plot.js";
|
|
@@ -74,10 +74,14 @@ import { t as popover_default } from "./popover.js";
|
|
|
74
74
|
import { t as select_group_default } from "./select-group.js";
|
|
75
75
|
import { t as select_icon_default } from "./select-icon.js";
|
|
76
76
|
import { t as select_default } from "./select.js";
|
|
77
|
+
import { t as color_picker_default } from "./color-picker.js";
|
|
77
78
|
import { t as text_input_affix_default } from "./text-input-affix.js";
|
|
78
79
|
import { t as text_input_button_default } from "./text-input-button.js";
|
|
79
80
|
import { t as text_input_default } from "./text-input.js";
|
|
80
81
|
import { t as color_swatch_default } from "./color-swatch.js";
|
|
82
|
+
import { t as tooltip_provider_default } from "./tooltip-provider.js";
|
|
83
|
+
import { t as tooltip_root_default } from "./tooltip-root.js";
|
|
84
|
+
import { t as tooltip_default } from "./tooltip.js";
|
|
81
85
|
import { t as hue_slider_default } from "./hue-slider.js";
|
|
82
86
|
import { t as combobox_group_default } from "./combobox-group.js";
|
|
83
87
|
import { t as combobox_input_default } from "./combobox-input.js";
|
|
@@ -112,9 +116,6 @@ import { t as digit_input_default } from "./digit-input.js";
|
|
|
112
116
|
import { t as dropdown_menu_default } from "./dropdown-menu.js";
|
|
113
117
|
import { t as file_upload_area_default } from "./file-upload-area.js";
|
|
114
118
|
import { t as hint_text_default } from "./hint-text.js";
|
|
115
|
-
import { t as tooltip_provider_default } from "./tooltip-provider.js";
|
|
116
|
-
import { t as tooltip_root_default } from "./tooltip-root.js";
|
|
117
|
-
import { t as tooltip_default } from "./tooltip.js";
|
|
118
119
|
import { t as label_default } from "./label2.js";
|
|
119
120
|
import { t as mochi_default } from "./mochi.js";
|
|
120
121
|
import { t as pagination_default } from "./pagination.js";
|
|
@@ -255,6 +256,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
255
256
|
DropdownMenuTrigger: () => dropdown_menu_trigger_default,
|
|
256
257
|
FancyButton: () => fancy_button_default,
|
|
257
258
|
FileUploadArea: () => file_upload_area_default,
|
|
259
|
+
GradientPicker: () => gradient_picker_default,
|
|
258
260
|
HintText: () => hint_text_default,
|
|
259
261
|
HueSlider: () => hue_slider_default,
|
|
260
262
|
Label: () => label_default,
|