@dust-tt/sparkle 0.2.596 → 0.2.597-rc-1

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.
@@ -12,7 +12,7 @@ var DialogClose = DialogPrimitive.Close;
12
12
  var DialogPortal = DialogPrimitive.Portal;
13
13
  var DialogOverlay = React.forwardRef(function (_a, ref) {
14
14
  var className = _a.className, props = __rest(_a, ["className"]);
15
- return (React.createElement(DialogPrimitive.Overlay, __assign({ className: cn("s-fixed s-inset-0 s-z-50 data-[state=open]:s-animate-in data-[state=closed]:s-animate-out data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0", "s-bg-muted-foreground/75 dark:s-bg-muted-foreground-night/75", className) }, props, { ref: ref })));
15
+ return (React.createElement(DialogPrimitive.Overlay, __assign({ className: cn("s-fixed s-inset-0 s-z-50 data-[state=open]:s-animate-in data-[state=closed]:s-animate-out data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0", "s-bg-muted-foreground/75 dark:s-bg-muted-background-night/75", className) }, props, { ref: ref })));
16
16
  });
17
17
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
18
18
  var DIALOG_SIZES = ["md", "lg", "xl", "2xl", "full"];
@@ -12,7 +12,7 @@ var SheetClose = SheetPrimitive.Close;
12
12
  var SheetPortal = SheetPrimitive.Portal;
13
13
  var SheetOverlay = React.forwardRef(function (_a, ref) {
14
14
  var className = _a.className, props = __rest(_a, ["className"]);
15
- return (React.createElement(SheetPrimitive.Overlay, __assign({ className: cn("s-fixed s-inset-0 s-z-50", "s-bg-muted-foreground/75 dark:s-bg-muted-foreground-night/75", "data-[state=open]:s-animate-in data-[state=closed]:s-animate-out", "data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0", className) }, props, { ref: ref })));
15
+ return (React.createElement(SheetPrimitive.Overlay, __assign({ className: cn("s-fixed s-inset-0 s-z-50", "s-bg-muted-foreground/75 dark:s-bg-muted-background-night/75", "data-[state=open]:s-animate-in data-[state=closed]:s-animate-out", "data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0", className) }, props, { ref: ref })));
16
16
  });
17
17
  SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
18
18
  var SHEET_SIZES = ["md", "lg", "xl"];
package/dist/sparkle.css CHANGED
@@ -7189,6 +7189,10 @@ select {
7189
7189
  background-color: rgb(17 20 24 / var(--tw-bg-opacity));
7190
7190
  }
7191
7191
 
7192
+ :is(.s-dark .dark\:s-bg-muted-background-night\/75) {
7193
+ background-color: rgb(17 20 24 / 0.75);
7194
+ }
7195
+
7192
7196
  :is(.s-dark .dark\:s-bg-muted-foreground-night\/40) {
7193
7197
  background-color: rgb(150 156 165 / 0.4);
7194
7198
  }
@@ -7197,10 +7201,6 @@ select {
7197
7201
  background-color: rgb(150 156 165 / 0.7);
7198
7202
  }
7199
7203
 
7200
- :is(.s-dark .dark\:s-bg-muted-foreground-night\/75) {
7201
- background-color: rgb(150 156 165 / 0.75);
7202
- }
7203
-
7204
7204
  :is(.s-dark .dark\:s-bg-muted-night) {
7205
7205
  --tw-bg-opacity: 1;
7206
7206
  background-color: rgb(17 20 24 / var(--tw-bg-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dust-tt/sparkle",
3
- "version": "0.2.596",
3
+ "version": "0.2.597-rc-1",
4
4
  "scripts": {
5
5
  "build": "rm -rf dist && npm run tailwind && npm run build:esm && npm run build:cjs",
6
6
  "tailwind": "tailwindcss -i ./src/styles/tailwind.css -o dist/sparkle.css",
@@ -24,7 +24,7 @@ const DialogOverlay = React.forwardRef<
24
24
  <DialogPrimitive.Overlay
25
25
  className={cn(
26
26
  "s-fixed s-inset-0 s-z-50 data-[state=open]:s-animate-in data-[state=closed]:s-animate-out data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0",
27
- "s-bg-muted-foreground/75 dark:s-bg-muted-foreground-night/75",
27
+ "s-bg-muted-foreground/75 dark:s-bg-muted-background-night/75",
28
28
  className
29
29
  )}
30
30
  {...props}
@@ -22,7 +22,7 @@ const SheetOverlay = React.forwardRef<
22
22
  <SheetPrimitive.Overlay
23
23
  className={cn(
24
24
  "s-fixed s-inset-0 s-z-50",
25
- "s-bg-muted-foreground/75 dark:s-bg-muted-foreground-night/75",
25
+ "s-bg-muted-foreground/75 dark:s-bg-muted-background-night/75",
26
26
  "data-[state=open]:s-animate-in data-[state=closed]:s-animate-out",
27
27
  "data-[state=closed]:s-fade-out-0 data-[state=open]:s-fade-in-0",
28
28
  className