@andreagiugni/tailwind-dashboard-ui 0.5.2 → 0.5.4
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/README.md +5 -5
- package/dist/{Editor-uOYxR3HX.d.cts → Editor-CHBOfOWf.d.cts} +1 -1
- package/dist/{Editor-uOYxR3HX.d.ts → Editor-CHBOfOWf.d.ts} +1 -1
- package/dist/{chunk-4OETC46A.js → chunk-DXUWFHPF.js} +31 -3
- package/dist/chunk-DXUWFHPF.js.map +1 -0
- package/dist/chunk-LXA5UOBC.js +291 -0
- package/dist/chunk-LXA5UOBC.js.map +1 -0
- package/dist/{chunk-W7SNEBD7.cjs → chunk-S4ADL5B7.cjs} +33 -3
- package/dist/chunk-S4ADL5B7.cjs.map +1 -0
- package/dist/chunk-T55WXZNL.cjs +293 -0
- package/dist/chunk-T55WXZNL.cjs.map +1 -0
- package/dist/components/ColorPicker/ColorPicker.cjs +2 -2
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/Editor/Editor.cjs +2 -2
- package/dist/components/Editor/Editor.d.cts +1 -1
- package/dist/components/Editor/Editor.d.ts +1 -1
- package/dist/components/Editor/Editor.js +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +11 -1
- package/dist/chunk-4OETC46A.js.map +0 -1
- package/dist/chunk-MYN5LDMO.cjs +0 -184
- package/dist/chunk-MYN5LDMO.cjs.map +0 -1
- package/dist/chunk-P7LI2FSR.js +0 -182
- package/dist/chunk-P7LI2FSR.js.map +0 -1
- package/dist/chunk-W7SNEBD7.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import { C as ColorOverrideProps } from './Editor-
|
|
3
|
-
export { E as Editor, a as EditorProps, b as EditorToolItem, s as styleOverride } from './Editor-
|
|
2
|
+
import { C as ColorOverrideProps } from './Editor-CHBOfOWf.cjs';
|
|
3
|
+
export { E as Editor, a as EditorProps, b as EditorToolItem, s as styleOverride } from './Editor-CHBOfOWf.cjs';
|
|
4
4
|
import React, { FormEvent } from 'react';
|
|
5
5
|
import flatpickr from 'flatpickr';
|
|
6
6
|
export { BarChart, BarChartProps } from './components/Charts/BarChart.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import { C as ColorOverrideProps } from './Editor-
|
|
3
|
-
export { E as Editor, a as EditorProps, b as EditorToolItem, s as styleOverride } from './Editor-
|
|
2
|
+
import { C as ColorOverrideProps } from './Editor-CHBOfOWf.js';
|
|
3
|
+
export { E as Editor, a as EditorProps, b as EditorToolItem, s as styleOverride } from './Editor-CHBOfOWf.js';
|
|
4
4
|
import React, { FormEvent } from 'react';
|
|
5
5
|
import flatpickr from 'flatpickr';
|
|
6
6
|
export { BarChart, BarChartProps } from './components/Charts/BarChart.js';
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ export { BarChart } from './chunk-YAKIMPXZ.js';
|
|
|
3
3
|
export { LineChart } from './chunk-NWIOJGF7.js';
|
|
4
4
|
export { Calendar, Modal } from './chunk-GIAGOO72.js';
|
|
5
5
|
export { CountryMap } from './chunk-R66LONPQ.js';
|
|
6
|
-
export { Editor } from './chunk-
|
|
7
|
-
export { ColorPicker } from './chunk-
|
|
6
|
+
export { Editor } from './chunk-DXUWFHPF.js';
|
|
7
|
+
export { ColorPicker } from './chunk-LXA5UOBC.js';
|
|
8
8
|
import { cn } from './chunk-ZLIYUUA4.js';
|
|
9
9
|
export { cn } from './chunk-ZLIYUUA4.js';
|
|
10
10
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -25,12 +25,12 @@ function styleOverride({
|
|
|
25
25
|
return style;
|
|
26
26
|
}
|
|
27
27
|
var sizeClasses = {
|
|
28
|
-
sm: "px-4
|
|
29
|
-
md: "
|
|
28
|
+
sm: "h-10 px-4 text-sm",
|
|
29
|
+
md: "h-11 px-5 text-sm"
|
|
30
30
|
};
|
|
31
31
|
var variantClasses = {
|
|
32
|
-
primary: "bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600 disabled:bg-brand-300",
|
|
33
|
-
outline: "
|
|
32
|
+
primary: "border border-transparent bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600 disabled:bg-brand-300",
|
|
33
|
+
outline: "border border-gray-300 bg-white text-black shadow-theme-xs hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-800 dark:!text-white dark:hover:bg-white/[0.03]"
|
|
34
34
|
};
|
|
35
35
|
var Button = ({
|
|
36
36
|
children,
|
|
@@ -445,7 +445,7 @@ var variantBase = "flex w-full items-center gap-2 rounded-lg px-3 py-2 text-left
|
|
|
445
445
|
var variantClasses3 = {
|
|
446
446
|
default: "text-gray-700 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-300 dark:hover:bg-white/5 dark:hover:text-white",
|
|
447
447
|
primary: "bg-brand-500 text-white shadow-theme-xs hover:bg-brand-600",
|
|
448
|
-
outline: "
|
|
448
|
+
outline: "border border-gray-300 bg-white text-black shadow-theme-xs hover:bg-gray-50 dark:border-gray-700 dark:bg-gray-800 dark:!text-white dark:hover:bg-white/[0.03]"
|
|
449
449
|
};
|
|
450
450
|
var DropdownItem = ({
|
|
451
451
|
tag = "button",
|
|
@@ -2458,7 +2458,7 @@ var Switch = ({
|
|
|
2458
2458
|
onChange(newCheckedState);
|
|
2459
2459
|
}
|
|
2460
2460
|
};
|
|
2461
|
-
const offTrack = "bg-gray-200 ring-1 ring-inset ring-gray-300 dark:bg-white/10 dark:ring-
|
|
2461
|
+
const offTrack = "bg-gray-200 ring-1 ring-inset ring-gray-300 dark:bg-white/10 dark:ring-gray-700";
|
|
2462
2462
|
const switchColors = color === "blue" ? {
|
|
2463
2463
|
background: isChecked ? "bg-brand-500 " : offTrack,
|
|
2464
2464
|
// Blue version
|