@andreagiugni/tailwind-dashboard-ui 0.5.3 → 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/dist/index.js CHANGED
@@ -4,7 +4,7 @@ export { LineChart } from './chunk-NWIOJGF7.js';
4
4
  export { Calendar, Modal } from './chunk-GIAGOO72.js';
5
5
  export { CountryMap } from './chunk-R66LONPQ.js';
6
6
  export { Editor } from './chunk-DXUWFHPF.js';
7
- export { ColorPicker } from './chunk-P7LI2FSR.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 py-3 text-sm",
29
- md: "px-5 py-2.5 text-sm"
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: "bg-white text-gray-700 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-400 dark:ring-gray-700 dark:hover:bg-white/[0.03] dark:hover:text-gray-300"
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: "text-gray-700 ring-1 ring-inset ring-gray-300 hover:bg-gray-50 dark:text-gray-400 dark:ring-gray-700 dark:hover:bg-white/[0.03] dark:hover:text-gray-300"
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-0";
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