@optilogic/core 1.3.6 → 1.4.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.cjs CHANGED
@@ -2128,7 +2128,8 @@ function Modal({
2128
2128
  footer,
2129
2129
  size = "md",
2130
2130
  zIndex = 50,
2131
- className
2131
+ className,
2132
+ contentClassName
2132
2133
  }) {
2133
2134
  React20__namespace.useEffect(() => {
2134
2135
  if (!isOpen) return;
@@ -2154,7 +2155,10 @@ function Modal({
2154
2155
  const sizeClasses = {
2155
2156
  sm: "max-w-md",
2156
2157
  md: "max-w-lg",
2157
- lg: "max-w-2xl"
2158
+ lg: "max-w-2xl",
2159
+ xl: "max-w-4xl",
2160
+ "2xl": "max-w-6xl",
2161
+ full: "max-w-[95vw]"
2158
2162
  };
2159
2163
  return /* @__PURE__ */ jsxRuntime.jsxs(
2160
2164
  "div",
@@ -2172,7 +2176,8 @@ function Modal({
2172
2176
  "bg-card border border-border rounded-lg shadow-lg",
2173
2177
  "flex flex-col",
2174
2178
  "max-h-[90vh]",
2175
- sizeClasses[size]
2179
+ sizeClasses[size],
2180
+ contentClassName
2176
2181
  ),
2177
2182
  onClick: (e) => e.stopPropagation(),
2178
2183
  children: [
@@ -6814,7 +6819,7 @@ function applyTheme(theme, targetElement) {
6814
6819
  );
6815
6820
  element.style.setProperty(
6816
6821
  "--hover",
6817
- `${hslTheme.hover ?? deriveHoverChannels(theme, hslTheme)} / 0.12`
6822
+ `${hslTheme.hover ?? deriveHoverChannels(theme, hslTheme)} / 0.18`
6818
6823
  );
6819
6824
  element.style.setProperty("--chart-1", hslTheme.chart1);
6820
6825
  element.style.setProperty("--chart-2", hslTheme.chart2);