@almach/ui 0.1.9 → 0.1.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../src/components/toaster.tsx"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,4CAwBtB"}
1
+ {"version":3,"file":"toaster.d.ts","sourceRoot":"","sources":["../../src/components/toaster.tsx"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,4CA8BtB"}
@@ -2,7 +2,12 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Toaster as SonnerToaster } from "sonner";
4
4
  export function Toaster() {
5
- return (_jsx(SonnerToaster, { position: "bottom-right", toastOptions: {
5
+ return (_jsx(SonnerToaster, { position: "bottom-right", theme: "system", toastOptions: {
6
+ style: {
7
+ background: "hsl(var(--background))",
8
+ border: "1px solid hsl(var(--border))",
9
+ color: "hsl(var(--foreground))",
10
+ },
6
11
  classNames: {
7
12
  toast: "!bg-background !border !border-border !text-foreground !rounded-2xl !shadow-lg font-sans",
8
13
  title: "!text-sm !font-semibold",
@@ -1 +1 @@
1
- {"version":3,"file":"toaster.js","sourceRoot":"","sources":["../../src/components/toaster.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAC;AAElD,MAAM,UAAU,OAAO;IACtB,OAAO,CACN,KAAC,aAAa,IACb,QAAQ,EAAC,cAAc,EACvB,YAAY,EAAE;YACb,UAAU,EAAE;gBACX,KAAK,EACJ,0FAA0F;gBAC3F,KAAK,EAAE,yBAAyB;gBAChC,WAAW,EAAE,iCAAiC;gBAC9C,YAAY,EACX,4DAA4D;gBAC7D,YAAY,EACX,wDAAwD;gBACzD,WAAW,EACV,6EAA6E;gBAC9E,KAAK,EAAE,+CAA+C;gBACtD,OAAO,EAAE,uCAAuC;gBAChD,OAAO,EAAE,uCAAuC;gBAChD,IAAI,EAAE,gBAAgB;aACtB;SACD,GACA,CACF,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"toaster.js","sourceRoot":"","sources":["../../src/components/toaster.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAC;AAElD,MAAM,UAAU,OAAO;IACtB,OAAO,CACN,KAAC,aAAa,IACb,QAAQ,EAAC,cAAc,EACvB,KAAK,EAAC,QAAQ,EACd,YAAY,EAAE;YACb,KAAK,EAAE;gBACN,UAAU,EAAE,wBAAwB;gBACpC,MAAM,EAAE,8BAA8B;gBACtC,KAAK,EAAE,wBAAwB;aAC/B;YACD,UAAU,EAAE;gBACX,KAAK,EACJ,0FAA0F;gBAC3F,KAAK,EAAE,yBAAyB;gBAChC,WAAW,EAAE,iCAAiC;gBAC9C,YAAY,EACX,4DAA4D;gBAC7D,YAAY,EACX,wDAAwD;gBACzD,WAAW,EACV,6EAA6E;gBAC9E,KAAK,EAAE,+CAA+C;gBACtD,OAAO,EAAE,uCAAuC;gBAChD,OAAO,EAAE,uCAAuC;gBAChD,IAAI,EAAE,gBAAgB;aACtB;SACD,GACA,CACF,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almach/ui",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Modern, accessible UI components built on Radix UI and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",