@lindle/linoardo 1.0.35 → 1.0.36

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.
Files changed (61) hide show
  1. package/dist/{ExpansionPanelItem-Dom3SgrW.d.ts → ExpansionPanelItem-BZHk28zn.d.ts} +1 -1
  2. package/dist/{ExpansionPanelItem-CZMtq3TL.d.cts → ExpansionPanelItem-Dln5DHGW.d.cts} +1 -1
  3. package/dist/badge.d.cts +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/block.d.cts +1 -1
  6. package/dist/block.d.ts +1 -1
  7. package/dist/button.d.cts +1 -1
  8. package/dist/button.d.ts +1 -1
  9. package/dist/card.cjs +27 -53
  10. package/dist/card.cjs.map +1 -1
  11. package/dist/card.d.cts +3 -1
  12. package/dist/card.d.ts +3 -1
  13. package/dist/card.js +1 -1
  14. package/dist/chip.d.cts +4 -4
  15. package/dist/chip.d.ts +4 -4
  16. package/dist/{chunk-GSYVZCP3.js → chunk-5NWM6RVD.js} +29 -55
  17. package/dist/chunk-5NWM6RVD.js.map +1 -0
  18. package/dist/{chunk-EYZVXAPY.js → chunk-YRY7DJK2.js} +22 -6
  19. package/dist/chunk-YRY7DJK2.js.map +1 -0
  20. package/dist/expansion-panel/item.d.cts +2 -2
  21. package/dist/expansion-panel/item.d.ts +2 -2
  22. package/dist/expansion-panel.d.cts +3 -3
  23. package/dist/expansion-panel.d.ts +3 -3
  24. package/dist/{global.types-E2uVLemv.d.cts → global.types-DJiKqSJa.d.cts} +2 -1
  25. package/dist/{global.types-E2uVLemv.d.ts → global.types-DJiKqSJa.d.ts} +2 -1
  26. package/dist/hero.d.cts +1 -1
  27. package/dist/hero.d.ts +1 -1
  28. package/dist/icon.d.cts +1 -1
  29. package/dist/icon.d.ts +1 -1
  30. package/dist/{index-BzLTSsBv.d.ts → index-BoPiZNIB.d.ts} +1 -1
  31. package/dist/{index-BlOhr2-m.d.cts → index-Ddkv_t7Y.d.cts} +1 -1
  32. package/dist/index.cjs +48 -58
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.cts +4 -4
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +2 -2
  37. package/dist/input.d.cts +2 -2
  38. package/dist/input.d.ts +2 -2
  39. package/dist/list/item.d.cts +2 -2
  40. package/dist/list/item.d.ts +2 -2
  41. package/dist/list.d.cts +3 -3
  42. package/dist/list.d.ts +3 -3
  43. package/dist/notification.d.cts +1 -1
  44. package/dist/notification.d.ts +1 -1
  45. package/dist/profileCard.cjs +20 -4
  46. package/dist/profileCard.cjs.map +1 -1
  47. package/dist/profileCard.d.cts +2 -1
  48. package/dist/profileCard.d.ts +2 -1
  49. package/dist/profileCard.js +1 -1
  50. package/dist/select.d.cts +2 -2
  51. package/dist/select.d.ts +2 -2
  52. package/dist/slider.d.cts +1 -1
  53. package/dist/slider.d.ts +1 -1
  54. package/dist/styles.css +0 -20
  55. package/dist/switch.d.cts +1 -1
  56. package/dist/switch.d.ts +1 -1
  57. package/dist/{types-BJC99riF.d.cts → types-B3b-GFjA.d.cts} +1 -1
  58. package/dist/{types-CTq2JZpg.d.ts → types-CBIsqeyE.d.ts} +1 -1
  59. package/package.json +1 -1
  60. package/dist/chunk-EYZVXAPY.js.map +0 -1
  61. package/dist/chunk-GSYVZCP3.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
- import { c as ExpansionPanelProps } from './ExpansionPanelItem-Dom3SgrW.js';
3
- export { E as ExpansionPanelDensity, a as ExpansionPanelItem, b as ExpansionPanelItemProps, d as ExpansionPanelRounded, e as ExpansionPanelValue, f as ExpansionPanelVariant } from './ExpansionPanelItem-Dom3SgrW.js';
4
- import './global.types-E2uVLemv.js';
2
+ import { c as ExpansionPanelProps } from './ExpansionPanelItem-BZHk28zn.js';
3
+ export { E as ExpansionPanelDensity, a as ExpansionPanelItem, b as ExpansionPanelItemProps, d as ExpansionPanelRounded, e as ExpansionPanelValue, f as ExpansionPanelVariant } from './ExpansionPanelItem-BZHk28zn.js';
4
+ import './global.types-DJiKqSJa.js';
5
5
 
6
6
  declare const ExpansionPanel: react.ForwardRefExoticComponent<ExpansionPanelProps & react.RefAttributes<HTMLDivElement>>;
7
7
 
@@ -3,5 +3,6 @@ type GlobalVariant = 'solid' | 'outline' | 'text' | 'ghost' | 'filled' | 'underl
3
3
  type GlobalSize = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
4
4
  type IconLibrary = 'mdi';
5
5
  type PropIcon = string | readonly [IconLibrary, string];
6
+ type GlobalElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
6
7
 
7
- export type { GlobalVariant as G, Palette as P, GlobalSize as a, PropIcon as b };
8
+ export type { GlobalVariant as G, Palette as P, GlobalSize as a, GlobalElevation as b, PropIcon as c };
@@ -3,5 +3,6 @@ type GlobalVariant = 'solid' | 'outline' | 'text' | 'ghost' | 'filled' | 'underl
3
3
  type GlobalSize = 'x-small' | 'small' | 'medium' | 'large' | 'x-large';
4
4
  type IconLibrary = 'mdi';
5
5
  type PropIcon = string | readonly [IconLibrary, string];
6
+ type GlobalElevation = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
6
7
 
7
- export type { GlobalVariant as G, Palette as P, GlobalSize as a, PropIcon as b };
8
+ export type { GlobalVariant as G, Palette as P, GlobalSize as a, GlobalElevation as b, PropIcon as c };
package/dist/hero.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GlobalVariant } from './global.types-E2uVLemv.cjs';
1
+ import { G as GlobalVariant } from './global.types-DJiKqSJa.cjs';
2
2
  import * as react from 'react';
3
3
 
4
4
  type HeroAction = {
package/dist/hero.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { G as GlobalVariant } from './global.types-E2uVLemv.js';
1
+ import { G as GlobalVariant } from './global.types-DJiKqSJa.js';
2
2
  import * as react from 'react';
3
3
 
4
4
  type HeroAction = {
package/dist/icon.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as GlobalSize, P as Palette } from './global.types-E2uVLemv.cjs';
1
+ import { a as GlobalSize, P as Palette } from './global.types-DJiKqSJa.cjs';
2
2
 
3
3
  type IconGroup = 'mdi';
4
4
  type IconSet = [IconGroup, string];
package/dist/icon.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as GlobalSize, P as Palette } from './global.types-E2uVLemv.js';
1
+ import { a as GlobalSize, P as Palette } from './global.types-DJiKqSJa.js';
2
2
 
3
3
  type IconGroup = 'mdi';
4
4
  type IconSet = [IconGroup, string];
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { G as GlobalVariant, P as Palette } from './global.types-E2uVLemv.js';
2
+ import { G as GlobalVariant, P as Palette } from './global.types-DJiKqSJa.js';
3
3
 
4
4
  type ListVariant = GlobalVariant;
5
5
  type ListDensity = 'default' | 'comfortable' | 'compact';
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { G as GlobalVariant, P as Palette } from './global.types-E2uVLemv.cjs';
2
+ import { G as GlobalVariant, P as Palette } from './global.types-DJiKqSJa.cjs';
3
3
 
4
4
  type ListVariant = GlobalVariant;
5
5
  type ListDensity = 'default' | 'comfortable' | 'compact';
package/dist/index.cjs CHANGED
@@ -1586,28 +1586,33 @@ var overflowClasses = {
1586
1586
  };
1587
1587
  var cardBase = "card-base relative w-full bg-white text-gray-900 transition-colors dark:bg-slate-900 dark:text-slate-100";
1588
1588
  var variantClasses = {
1589
- solid: "rounded-2xl border border-gray-200 bg-white shadow-lg shadow-gray-200/55 dark:border-slate-800 dark:bg-slate-900 dark:shadow-black/30",
1590
- outline: "rounded-2xl border-2 border-black bg-white shadow-none dark:border-black dark:bg-slate-900",
1591
- text: "rounded-2xl border border-transparent bg-transparent shadow-none dark:border-transparent dark:bg-transparent",
1592
- ghost: "rounded-2xl border border-transparent bg-gray-50 shadow-none dark:border-transparent dark:bg-slate-800",
1593
- filled: "rounded-2xl border border-gray-200 bg-gray-50 shadow-sm dark:border-slate-800 dark:bg-slate-800 dark:shadow-black/20",
1594
- underlined: "rounded-2xl border border-transparent border-b border-b-gray-200 shadow-none dark:border-transparent dark:border-b-slate-700 dark:bg-transparent",
1595
- rounded: "rounded-3xl border border-gray-200 bg-white shadow-md dark:border-slate-800 dark:bg-slate-900 dark:shadow-black/25",
1596
- sharp: "rounded-none border border-gray-200 bg-white shadow-md dark:border-slate-800 dark:bg-slate-900 dark:shadow-black/25"
1597
- };
1598
- var CardRoot = React4.forwardRef(function Card({
1599
- className,
1600
- children,
1601
- variant = "solid",
1602
- padding = "md",
1603
- overflow = "hidden",
1604
- interactive = false,
1605
- dividers = true,
1606
- ...rest
1607
- }, ref) {
1589
+ solid: "rounded-2xl border border-gray-200 bg-white dark:border-slate-800 dark:bg-slate-900",
1590
+ outline: "rounded-2xl border-2 border-black bg-white dark:border-black dark:bg-slate-900",
1591
+ ghost: "rounded-2xl border border-transparent bg-gray-50 dark:border-transparent dark:bg-slate-800",
1592
+ text: "rounded-2xl border border-transparent bg-transparent dark:border-transparent dark:bg-transparent",
1593
+ filled: "rounded-2xl border border-gray-200 bg-gray-50 dark:border-slate-800 dark:bg-slate-800",
1594
+ underlined: " border border-transparent border-b border-b-gray-200 dark:border-transparent dark:border-b-slate-700 dark:bg-transparent",
1595
+ rounded: "rounded-3xl border border-gray-200 bg-white dark:border-slate-800 dark:bg-slate-900",
1596
+ sharp: "rounded-none border border-gray-200 bg-white dark:border-slate-800 dark:bg-slate-900"
1597
+ };
1598
+ var elevationClasses = {
1599
+ 0: "shadow-none",
1600
+ 1: "shadow-sm",
1601
+ 2: "shadow",
1602
+ 3: "shadow-md",
1603
+ 4: "shadow-lg",
1604
+ 5: "shadow-xl",
1605
+ 6: "shadow-2xl",
1606
+ 7: "shadow-2xl",
1607
+ 8: "shadow-2xl",
1608
+ 9: "shadow-2xl",
1609
+ 10: "shadow-2xl"
1610
+ };
1611
+ var CardRoot = React4.forwardRef(function Card({ className, children, variant = "solid", padding = "md", overflow = "hidden", interactive = false, dividers = true, elevation = 0, ...rest }, ref) {
1608
1612
  const variantClass = variantClasses[variant] ?? variantClasses.solid;
1609
1613
  const paddingClass = paddingClasses[padding] ?? paddingClasses.md;
1610
1614
  const overflowClass = overflowClasses[overflow] ?? overflowClasses.hidden;
1615
+ const elevationClass = elevationClasses[elevation] ?? elevationClasses[0];
1611
1616
  const interactiveClass = interactive ? "transition-all duration-200 hover:-translate-y-0.5 hover:shadow-xl hover:z-10 focus-within:z-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-slate-900" : void 0;
1612
1617
  const tabIndexValue = interactive && rest.tabIndex === void 0 ? 0 : rest.tabIndex;
1613
1618
  const content = applyDividers(children, dividers);
@@ -1617,14 +1622,7 @@ var CardRoot = React4.forwardRef(function Card({
1617
1622
  ...rest,
1618
1623
  ref,
1619
1624
  tabIndex: tabIndexValue,
1620
- className: tailwindMerge.twMerge(
1621
- cardBase,
1622
- variantClass,
1623
- paddingClass,
1624
- overflowClass,
1625
- interactiveClass,
1626
- className
1627
- ),
1625
+ className: tailwindMerge.twMerge(cardBase, variantClass, paddingClass, overflowClass, elevationClass, interactiveClass, className),
1628
1626
  children: content
1629
1627
  }
1630
1628
  );
@@ -1652,33 +1650,9 @@ var CardFooter = ({ className, dividers = true, ...rest }) => /* @__PURE__ */ js
1652
1650
  )
1653
1651
  }
1654
1652
  );
1655
- var CardTitle = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx(
1656
- "h3",
1657
- {
1658
- ...rest,
1659
- className: tailwindMerge.twMerge(
1660
- "card-title text-lg font-semibold text-gray-900 dark:text-slate-50",
1661
- className
1662
- )
1663
- }
1664
- );
1665
- var CardSubtitle = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx(
1666
- "p",
1667
- {
1668
- ...rest,
1669
- className: tailwindMerge.twMerge(
1670
- "card-subtitle text-sm font-medium text-gray-600 dark:text-slate-300",
1671
- className
1672
- )
1673
- }
1674
- );
1675
- var CardText = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx(
1676
- "p",
1677
- {
1678
- ...rest,
1679
- className: tailwindMerge.twMerge("card-text text-sm text-gray-700 dark:text-slate-200", className)
1680
- }
1681
- );
1653
+ var CardTitle = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("h3", { ...rest, className: tailwindMerge.twMerge("card-title text-lg font-semibold text-gray-900 dark:text-slate-50", className) });
1654
+ var CardSubtitle = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("p", { ...rest, className: tailwindMerge.twMerge("card-subtitle text-sm font-medium text-gray-600 dark:text-slate-300", className) });
1655
+ var CardText = ({ className, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("p", { ...rest, className: tailwindMerge.twMerge("card-text text-sm text-gray-700 dark:text-slate-200", className) });
1682
1656
  var CardMedia = ({ className, rounded = false, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx(
1683
1657
  "img",
1684
1658
  {
@@ -2120,14 +2094,27 @@ var Hero = ({
2120
2094
  Hero.displayName = "Hero";
2121
2095
  var Hero_default = Hero;
2122
2096
  var variantMap = {
2123
- solid: "bg-white text-gray-900 border border-gray-200 shadow-lg shadow-gray-200/60",
2097
+ solid: "bg-white text-gray-900 border border-gray-200",
2124
2098
  outline: "bg-white text-gray-900 border border-gray-300",
2125
2099
  text: "bg-transparent text-gray-900",
2126
2100
  ghost: "bg-slate-50 text-gray-900 border border-slate-100",
2127
- filled: "bg-slate-900 text-white shadow-2xl shadow-slate-900/30",
2101
+ filled: "bg-slate-900 text-white",
2128
2102
  underlined: "bg-white text-gray-900 border-b-4 border-primary/70",
2129
- rounded: "bg-white text-gray-900 border border-gray-200 rounded-3xl shadow-md",
2130
- sharp: "bg-white text-gray-900 border border-gray-200 rounded-none shadow"
2103
+ rounded: "bg-white text-gray-900 border border-gray-200 rounded-3xl",
2104
+ sharp: "bg-white text-gray-900 border border-gray-200 rounded-none"
2105
+ };
2106
+ var elevationClasses2 = {
2107
+ 0: "shadow-none",
2108
+ 1: "shadow-sm",
2109
+ 2: "shadow",
2110
+ 3: "shadow-md",
2111
+ 4: "shadow-lg",
2112
+ 5: "shadow-xl",
2113
+ 6: "shadow-2xl",
2114
+ 7: "shadow-2xl",
2115
+ 8: "shadow-2xl",
2116
+ 9: "shadow-2xl",
2117
+ 10: "shadow-2xl"
2131
2118
  };
2132
2119
  var cardRadiusMap = {
2133
2120
  solid: "rounded-2xl",
@@ -2181,6 +2168,7 @@ var ProfileCard = ({
2181
2168
  badges,
2182
2169
  layout = "classic",
2183
2170
  variant = "solid",
2171
+ elevation = 0,
2184
2172
  className,
2185
2173
  ...rest
2186
2174
  }) => {
@@ -2190,6 +2178,7 @@ var ProfileCard = ({
2190
2178
  const dark = isDarkVariant(variant);
2191
2179
  const muted = dark ? "text-white/70" : "text-gray-600";
2192
2180
  const accent = dark ? "text-white" : "text-gray-900";
2181
+ const elevationClass = elevationClasses2[elevation] ?? elevationClasses2[0];
2193
2182
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2194
2183
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
2195
2184
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -2242,6 +2231,7 @@ var ProfileCard = ({
2242
2231
  "profile-card relative overflow-hidden p-6 transition duration-200 hover:-translate-y-0.5 hover:shadow-xl",
2243
2232
  baseVariant,
2244
2233
  cardRadius,
2234
+ elevationClass,
2245
2235
  className
2246
2236
  ),
2247
2237
  children: layoutMap[layout] ?? layoutMap.classic