@orchidui/dashboard 1.88.0 → 1.89.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/dist/index.js +10 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -15,25 +15,34 @@ import { OverviewMonthlyBarChart as Wl } from "./Dashboard/Charts/OverviewMonthl
|
|
|
15
15
|
const It = { key: 1 }, Vt = {
|
|
16
16
|
__name: "OcColorPicker",
|
|
17
17
|
props: {
|
|
18
|
+
/** Current color value (v-model). Hex string — 6-digit `#RRGGBB` or 8-digit `#RRGGBBAA` when opacity is enabled. For gradient variant, a CSS gradient string. */
|
|
18
19
|
modelValue: {
|
|
19
20
|
type: String,
|
|
20
21
|
default: ""
|
|
21
22
|
},
|
|
23
|
+
/** Color mode. `'solid'` outputs a flat hex color; `'gradient'` outputs a CSS gradient string. */
|
|
22
24
|
variant: {
|
|
23
25
|
type: String,
|
|
24
26
|
default: "solid"
|
|
25
27
|
},
|
|
28
|
+
/** Hide the opacity/alpha slider. When true, output is always a 6-digit hex (`#RRGGBB`). */
|
|
26
29
|
hideOpacity: Boolean,
|
|
30
|
+
/** Hide the hex text input and show only the color swatch icon as the trigger. */
|
|
27
31
|
hideInputColor: Boolean,
|
|
32
|
+
/** Preset color swatches shown in the picker popup. Array of hex color strings. */
|
|
28
33
|
presetColors: {
|
|
29
34
|
type: Array
|
|
30
35
|
},
|
|
36
|
+
/** Dropdown placement passed to the Popper positioning engine. */
|
|
31
37
|
placement: {
|
|
32
38
|
type: String,
|
|
33
39
|
default: "auto"
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
|
-
emits:
|
|
42
|
+
emits: {
|
|
43
|
+
/** New color value selected. Payload: hex or gradient string. */
|
|
44
|
+
"update:model-value": []
|
|
45
|
+
},
|
|
37
46
|
setup(n, { emit: V }) {
|
|
38
47
|
const r = n, y = V, d = v(!1), f = v(r.modelValue), C = (O) => {
|
|
39
48
|
O && (f.value = O, y("update:model-value", O));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orchidui/dashboard",
|
|
3
3
|
"description": "Orchid Dashboard UI , Dashboard Ui Library Vue 3 tailwind css",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.89.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "vite build"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"rollup": "npm:@rollup/wasm-node"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@orchidui/core": "1.
|
|
36
|
+
"@orchidui/core": "1.89.0",
|
|
37
37
|
"dayjs": "^1.11.10",
|
|
38
38
|
"echarts": "^5.4.3",
|
|
39
39
|
"lottie-web": "^5.12.2",
|