dgz-ui 1.1.11 → 1.1.13

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.
@@ -0,0 +1 @@
1
+ export {}
@@ -1,4 +1,4 @@
1
- import { A as t, c as s, b as v, a as A } from "../../../avatar-KFHGowVn.js";
1
+ import { A as t, c as s, b as v, a as A } from "../avatar-ifqfDRX1.js";
2
2
  export {
3
3
  t as Avatar,
4
4
  s as AvatarFallback,
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../avatar-CuLQPgwj.cjs");exports.Avatar=a.Avatar;exports.AvatarFallback=a.AvatarFallback;exports.AvatarImage=a.AvatarImage;exports.avatarVariants=a.avatarVariants;
@@ -1,8 +1,8 @@
1
- import { j as h, c as O, a as H } from "./utils-Cu4x_LlJ.js";
1
+ import { j as h, c as H, a as O } from "./utils-C7LT3Qfr.js";
2
2
  import * as S from "react";
3
3
  import j from "react";
4
4
  import "react-dom";
5
- import { c as B } from "./index-B4IrUVWh.js";
5
+ import { c as B } from "./index-CtwLhVBg.js";
6
6
  function U(e, t = []) {
7
7
  let r = [];
8
8
  function o(n, l) {
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1,5 @@
1
+ import { B as r, b as s } from "../badge-D4btU5BX.js";
2
+ export {
3
+ r as Badge,
4
+ s as badgeVariants
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-DXZNHpwe.cjs");exports.Badge=e.Badge;exports.badgeVariants=e.badgeVariants;
@@ -1,4 +1,4 @@
1
- import { a as n, j as a, c as i } from "./utils-Cu4x_LlJ.js";
1
+ import { c as n, j as a, a as i } from "./utils-C7LT3Qfr.js";
2
2
  import "react";
3
3
  const d = n(
4
4
  "inline-flex flex-nowrap whitespace-nowrap justify-center items-center border px-2.5 text-body-2xs-medium dark:border [&>svg]:size-3.5 gap-1",
@@ -0,0 +1 @@
1
+ export {}
@@ -0,0 +1,5 @@
1
+ import { B as o, b as n } from "../button-BX-6pA-e.js";
2
+ export {
3
+ o as Button,
4
+ n as buttonVariants
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-CpN_5c1A.cjs");exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;
@@ -1,7 +1,7 @@
1
- import { j as n, c as m, a as d } from "./utils-Cu4x_LlJ.js";
2
- import { S as c } from "./index-B4IrUVWh.js";
1
+ import { c as n, j as m, a as d } from "./utils-C7LT3Qfr.js";
2
+ import { S as c } from "./index-CtwLhVBg.js";
3
3
  import { forwardRef as v } from "react";
4
- const g = d(
4
+ const g = n(
5
5
  "inline-flex border border-border-alpha-strong items-center justify-center gap-2 whitespace-nowrap font-medium focus:ring-2 focus:ring-offset-2 focus:ring-offset-bg focus:ring-item-primary-focus transition-colors disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
6
6
  {
7
7
  variants: {
@@ -28,10 +28,10 @@ const g = d(
28
28
  ), u = v(
29
29
  ({ className: e, variant: t, size: i, asChild: r = !1, ...s }, o) => {
30
30
  const a = r ? c : "button";
31
- return /* @__PURE__ */ n.jsx(
31
+ return /* @__PURE__ */ m.jsx(
32
32
  a,
33
33
  {
34
- className: m(g({ variant: t, size: i, className: e })),
34
+ className: d(g({ variant: t, size: i, className: e })),
35
35
  ref: o,
36
36
  ...s
37
37
  }
@@ -1,5 +1,5 @@
1
1
  import * as i from "react";
2
- import { j as p } from "./utils-Cu4x_LlJ.js";
2
+ import { j as p } from "./utils-C7LT3Qfr.js";
3
3
  function d(n, t) {
4
4
  if (typeof n == "function")
5
5
  return n(t);
@@ -0,0 +1 @@
1
+ export {}
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
- import { B as r, b as s } from "./badge-DlSdChLJ.js";
2
- import { A as b, c as e, b as n, a as m } from "./avatar-KFHGowVn.js";
3
- import { B as A, b as B } from "./button-CfenIARW.js";
1
+ import { B as r, b as s } from "./badge-D4btU5BX.js";
2
+ import { A as b, c as e, b as n, a as m } from "./avatar-ifqfDRX1.js";
3
+ import { B as A, b as B } from "./button-BX-6pA-e.js";
4
4
  export {
5
5
  b as Avatar,
6
6
  e as AvatarFallback,
@@ -3049,7 +3049,7 @@ function Ar(...e) {
3049
3049
  return vr(Te(e));
3050
3050
  }
3051
3051
  export {
3052
- Er as a,
3053
- Ar as c,
3052
+ Ar as a,
3053
+ Er as c,
3054
3054
  Rr as j
3055
3055
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dgz-ui",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -31,8 +31,24 @@
31
31
  "import": "./dist/index.es.js",
32
32
  "require": "./dist/index.umd.js"
33
33
  },
34
+ "./button": {
35
+ "types": "./dist/types/components/ui/button/index.d.ts",
36
+ "import": "./dist/button/index.es.js",
37
+ "require": "./dist/button/index.umd.js"
38
+ },
39
+ "./badge": {
40
+ "types": "./dist/types/components/ui/badge/index.d.ts",
41
+ "import": "./dist/badge/index.es.js",
42
+ "require": "./dist/badge/index.umd.js"
43
+ },
44
+ "./avatar": {
45
+ "types": "./dist/types/components/ui/avatar/index.d.ts",
46
+ "import": "./dist/avatar/index.es.js",
47
+ "require": "./dist/avatar/index.umd.js"
48
+ },
34
49
  "./dist/dgz-ui.css": "./dist/dgz-ui.css"
35
50
  },
51
+ "sideEffects": false,
36
52
  "scripts": {
37
53
  "dev": "vite",
38
54
  "build": "vite build && tsc -b",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../avatar-CuLQPgwj.cjs");exports.Avatar=a.Avatar;exports.AvatarFallback=a.AvatarFallback;exports.AvatarImage=a.AvatarImage;exports.avatarVariants=a.avatarVariants;
@@ -1,5 +0,0 @@
1
- import { B as r, b as s } from "../../../badge-DlSdChLJ.js";
2
- export {
3
- r as Badge,
4
- s as badgeVariants
5
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../badge-DXZNHpwe.cjs");exports.Badge=e.Badge;exports.badgeVariants=e.badgeVariants;
@@ -1,5 +0,0 @@
1
- import { B as o, b as n } from "../../../button-CfenIARW.js";
2
- export {
3
- o as Button,
4
- n as buttonVariants
5
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../button-CpN_5c1A.cjs");exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;
@@ -1,3 +0,0 @@
1
- declare const App: () => import("react/jsx-runtime").JSX.Element;
2
- export default App;
3
- //# sourceMappingURL=App.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../src/App.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,GAAG,+CAER,CAAC;AAEF,eAAe,GAAG,CAAC"}
@@ -1,2 +0,0 @@
1
- import "./index.css";
2
- //# sourceMappingURL=main.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.tsx"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAC"}