@duyluonganduin/acl-web-components 0.0.11 → 0.0.12

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/react.js ADDED
@@ -0,0 +1,95 @@
1
+ import e from "react";
2
+ import { createComponent as a } from "@lit/react";
3
+ import { y as n, n as t, a as s, b as o, c as l, d as i, f as d, g as c, w as r, x as u, p as m, h as C, l as g, i as A, j as N, k as T, P as p, e as b, U as v, T as E, o as L, $ as I, G as _, u as F, v as M, q as f, V as k, r as B, aa as P, s as S, t as h, X as x, C as D, D as G, B as H, z as K, E as O, _ as W, F as U, J as w, L as R, K as X, M as V, a6 as j, N as q, A as y, m as z, H as J, I as $ } from "./anduin-toast-vCKeF87l.js";
4
+ const ee = a({ react: e, tagName: "anduin-spinner", elementClass: n }), ae = a({ react: e, tagName: "anduin-icon", elementClass: t }), ne = a({ react: e, tagName: "anduin-badge", elementClass: s }), te = a({ react: e, tagName: "anduin-badge-count", elementClass: o }), se = a({ react: e, tagName: "anduin-button", elementClass: l }), oe = a({ react: e, tagName: "anduin-callout", elementClass: i }), le = a({ react: e, tagName: "anduin-divider", elementClass: d }), ie = a({ react: e, tagName: "anduin-dot", elementClass: c }), de = a({ react: e, tagName: "anduin-progress", elementClass: r }), ce = a({ react: e, tagName: "anduin-skeleton", elementClass: u }), re = a({ react: e, tagName: "anduin-loading-state", elementClass: m }), ue = a({ react: e, tagName: "anduin-field", elementClass: C }), me = a({ react: e, tagName: "anduin-field-label", elementClass: g }), Ce = a({ react: e, tagName: "anduin-field-description", elementClass: A }), ge = a({ react: e, tagName: "anduin-field-error", elementClass: N }), Ae = a({ react: e, tagName: "anduin-field-group", elementClass: T }), Ne = a({
5
+ react: e,
6
+ tagName: "anduin-checkbox",
7
+ elementClass: b,
8
+ events: { onChange: p }
9
+ }), Te = a({
10
+ react: e,
11
+ tagName: "anduin-input",
12
+ elementClass: L,
13
+ events: { onChange: E, onClear: v }
14
+ }), pe = a({
15
+ react: e,
16
+ tagName: "anduin-textarea",
17
+ elementClass: _,
18
+ events: { onChange: I }
19
+ }), be = a({ react: e, tagName: "anduin-popover", elementClass: F }), ve = a({ react: e, tagName: "anduin-popover-close", elementClass: M }), Ee = a({ react: e, tagName: "anduin-menu", elementClass: f }), Le = a({
20
+ react: e,
21
+ tagName: "anduin-menu-item",
22
+ elementClass: B,
23
+ events: { onClick: k }
24
+ }), Ie = a({
25
+ react: e,
26
+ tagName: "anduin-modal",
27
+ elementClass: S,
28
+ events: { onClose: P }
29
+ }), _e = a({ react: e, tagName: "anduin-modal-close", elementClass: h }), Fe = a({
30
+ react: e,
31
+ tagName: "anduin-tabs",
32
+ elementClass: D,
33
+ events: { onChange: x }
34
+ }), Me = a({ react: e, tagName: "anduin-tabs-list", elementClass: G }), fe = a({ react: e, tagName: "anduin-tab-trigger", elementClass: H }), ke = a({ react: e, tagName: "anduin-tab-content", elementClass: K }), Be = a({ react: e, tagName: "anduin-tag", elementClass: O }), Pe = a({
35
+ react: e,
36
+ tagName: "anduin-tag-close",
37
+ elementClass: U,
38
+ events: { onClick: W }
39
+ }), Se = a({ react: e, tagName: "anduin-tooltip", elementClass: w }), he = a({ react: e, tagName: "anduin-tooltip-trigger", elementClass: R }), xe = a({ react: e, tagName: "anduin-tooltip-content", elementClass: X }), De = a({ react: e, tagName: "anduin-well", elementClass: V }), Ge = a({
40
+ react: e,
41
+ tagName: "anduin-well-close",
42
+ elementClass: q,
43
+ events: { onClick: j }
44
+ }), He = a({ react: e, tagName: "anduin-avatar", elementClass: y }), Ke = a({ react: e, tagName: "anduin-file-icon", elementClass: z }), Oe = a({ react: e, tagName: "anduin-toast", elementClass: J }), We = a({ react: e, tagName: "anduin-toaster", elementClass: $ });
45
+ export {
46
+ He as Avatar,
47
+ ne as Badge,
48
+ te as BadgeCount,
49
+ se as Button,
50
+ p as CHECKBOX_CHANGE,
51
+ oe as Callout,
52
+ Ne as Checkbox,
53
+ le as Divider,
54
+ ie as Dot,
55
+ ue as Field,
56
+ Ce as FieldDescription,
57
+ ge as FieldError,
58
+ Ae as FieldGroup,
59
+ me as FieldLabel,
60
+ Ke as FileIcon,
61
+ E as INPUT_CHANGE,
62
+ v as INPUT_CLEAR,
63
+ ae as Icon,
64
+ Te as Input,
65
+ re as LoadingState,
66
+ k as MENU_ITEM_CLICK,
67
+ P as MODAL_CLOSE_EVENT,
68
+ Ee as Menu,
69
+ Le as MenuItem,
70
+ Ie as Modal,
71
+ _e as ModalClose,
72
+ be as Popover,
73
+ ve as PopoverClose,
74
+ de as Progress,
75
+ ce as Skeleton,
76
+ ee as Spinner,
77
+ x as TAB_CHANGE,
78
+ W as TAG_CLOSE_CLICK,
79
+ I as TEXTAREA_CHANGE,
80
+ ke as TabContent,
81
+ fe as TabTrigger,
82
+ Fe as Tabs,
83
+ Me as TabsList,
84
+ Be as Tag,
85
+ Pe as TagClose,
86
+ pe as Textarea,
87
+ Oe as Toast,
88
+ We as Toaster,
89
+ Se as Tooltip,
90
+ xe as TooltipContent,
91
+ he as TooltipTrigger,
92
+ j as WELL_CLOSE_CLICK,
93
+ De as Well,
94
+ Ge as WellClose
95
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duyluonganduin/acl-web-components",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "main": "./dist/acl-web-components.cjs",
6
6
  "module": "./dist/acl-web-components.js",
@@ -23,9 +23,22 @@
23
23
  "default": "./dist/tailwind-theme.css"
24
24
  },
25
25
  "./react": {
26
+ "import": "./dist/react.js",
27
+ "require": "./dist/react.cjs",
26
28
  "types": "./dist/react.d.ts"
29
+ },
30
+ "./jsx": {
31
+ "types": "./dist/jsx.d.ts"
27
32
  }
28
33
  },
34
+ "peerDependencies": {
35
+ "react": ">=18",
36
+ "react-dom": ">=18"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "react": { "optional": true },
40
+ "react-dom": { "optional": true }
41
+ },
29
42
  "files": [
30
43
  "dist"
31
44
  ],
@@ -33,8 +46,8 @@
33
46
  "access": "public"
34
47
  },
35
48
  "scripts": {
36
- "prepare": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/react.d.ts dist/react.d.ts",
37
- "build": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/react.d.ts dist/react.d.ts",
49
+ "prepare": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
50
+ "build": "tsc -p tsconfig.build.json && vite build && cp src/styles/tokens.css dist/tokens.css && cp src/styles/tailwind-theme.css dist/tailwind-theme.css && cp src/jsx.d.ts dist/jsx.d.ts",
38
51
  "storybook": "storybook dev -p 6006",
39
52
  "build-storybook": "storybook build"
40
53
  },
@@ -42,10 +55,14 @@
42
55
  "@storybook/addon-essentials": "^8.6.17",
43
56
  "@storybook/blocks": "^8.5.0",
44
57
  "@storybook/web-components-vite": "^8.5.0",
58
+ "@types/react": "^19.2.14",
45
59
  "lit": "^3.3.2",
46
60
  "storybook": "^8.5.0",
47
61
  "typescript": "^5.7.0",
48
62
  "vite": "^6.1.0",
49
63
  "vite-plugin-dts": "^4.4.0"
64
+ },
65
+ "dependencies": {
66
+ "@lit/react": "^1.0.8"
50
67
  }
51
68
  }