@duyluonganduin/acl-web-components 0.0.11 → 0.0.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.
package/dist/react.js ADDED
@@ -0,0 +1,109 @@
1
+ import e from "react";
2
+ import { createComponent as a } from "@lit/react";
3
+ import { B 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, z as u, p as m, h as C, l as g, i as A, j as N, k as p, Z as T, x as v, _ as b, y as E, R as I, e as L, W as _, V as F, o as G, a3 as M, I as R, u as f, v as h, q as k, X as D, r as P, ae as B, s as O, t as S, $ as x, E as H, F as W, D as K, C as U, G as w, a2 as X, H as V, L as j, N as q, M as y, O as z, aa as J, P as Z, A as $, m as Q, J as Y, K as ee } from "./anduin-toast-ovQqFluZ.js";
4
+ const se = a({ react: e, tagName: "anduin-spinner", elementClass: n }), oe = a({ react: e, tagName: "anduin-icon", elementClass: t }), le = a({ react: e, tagName: "anduin-badge", elementClass: s }), ie = a({ react: e, tagName: "anduin-badge-count", elementClass: o }), de = a({ react: e, tagName: "anduin-button", elementClass: l }), ce = a({ react: e, tagName: "anduin-callout", elementClass: i }), re = a({ react: e, tagName: "anduin-divider", elementClass: d }), ue = a({ react: e, tagName: "anduin-dot", elementClass: c }), me = a({ react: e, tagName: "anduin-progress", elementClass: r }), Ce = a({ react: e, tagName: "anduin-skeleton", elementClass: u }), ge = a({ react: e, tagName: "anduin-loading-state", elementClass: m }), Ae = a({ react: e, tagName: "anduin-field", elementClass: C }), Ne = a({ react: e, tagName: "anduin-field-label", elementClass: g }), pe = a({ react: e, tagName: "anduin-field-description", elementClass: A }), Te = a({ react: e, tagName: "anduin-field-error", elementClass: N }), ve = a({ react: e, tagName: "anduin-field-group", elementClass: p }), be = a({
5
+ react: e,
6
+ tagName: "anduin-radio",
7
+ elementClass: v,
8
+ events: { onChange: T }
9
+ }), Ee = a({
10
+ react: e,
11
+ tagName: "anduin-radio-group",
12
+ elementClass: E,
13
+ events: { onChange: b }
14
+ }), Ie = a({
15
+ react: e,
16
+ tagName: "anduin-checkbox",
17
+ elementClass: L,
18
+ events: { onChange: I }
19
+ }), Le = a({
20
+ react: e,
21
+ tagName: "anduin-input",
22
+ elementClass: G,
23
+ events: { onChange: F, onClear: _ }
24
+ }), _e = a({
25
+ react: e,
26
+ tagName: "anduin-textarea",
27
+ elementClass: R,
28
+ events: { onChange: M }
29
+ }), Fe = a({ react: e, tagName: "anduin-popover", elementClass: f }), Ge = a({ react: e, tagName: "anduin-popover-close", elementClass: h }), Me = a({ react: e, tagName: "anduin-menu", elementClass: k }), Re = a({
30
+ react: e,
31
+ tagName: "anduin-menu-item",
32
+ elementClass: P,
33
+ events: { onClick: D }
34
+ }), fe = a({
35
+ react: e,
36
+ tagName: "anduin-modal",
37
+ elementClass: O,
38
+ events: { onClose: B }
39
+ }), he = a({ react: e, tagName: "anduin-modal-close", elementClass: S }), ke = a({
40
+ react: e,
41
+ tagName: "anduin-tabs",
42
+ elementClass: H,
43
+ events: { onChange: x }
44
+ }), De = a({ react: e, tagName: "anduin-tabs-list", elementClass: W }), Pe = a({ react: e, tagName: "anduin-tab-trigger", elementClass: K }), Be = a({ react: e, tagName: "anduin-tab-content", elementClass: U }), Oe = a({ react: e, tagName: "anduin-tag", elementClass: w }), Se = a({
45
+ react: e,
46
+ tagName: "anduin-tag-close",
47
+ elementClass: V,
48
+ events: { onClick: X }
49
+ }), xe = a({ react: e, tagName: "anduin-tooltip", elementClass: j }), He = a({ react: e, tagName: "anduin-tooltip-trigger", elementClass: q }), We = a({ react: e, tagName: "anduin-tooltip-content", elementClass: y }), Ke = a({ react: e, tagName: "anduin-well", elementClass: z }), Ue = a({
50
+ react: e,
51
+ tagName: "anduin-well-close",
52
+ elementClass: Z,
53
+ events: { onClick: J }
54
+ }), we = a({ react: e, tagName: "anduin-avatar", elementClass: $ }), Xe = a({ react: e, tagName: "anduin-file-icon", elementClass: Q }), Ve = a({ react: e, tagName: "anduin-toast", elementClass: Y }), je = a({ react: e, tagName: "anduin-toaster", elementClass: ee });
55
+ export {
56
+ we as Avatar,
57
+ le as Badge,
58
+ ie as BadgeCount,
59
+ de as Button,
60
+ I as CHECKBOX_CHANGE,
61
+ ce as Callout,
62
+ Ie as Checkbox,
63
+ re as Divider,
64
+ ue as Dot,
65
+ Ae as Field,
66
+ pe as FieldDescription,
67
+ Te as FieldError,
68
+ ve as FieldGroup,
69
+ Ne as FieldLabel,
70
+ Xe as FileIcon,
71
+ F as INPUT_CHANGE,
72
+ _ as INPUT_CLEAR,
73
+ oe as Icon,
74
+ Le as Input,
75
+ ge as LoadingState,
76
+ D as MENU_ITEM_CLICK,
77
+ B as MODAL_CLOSE_EVENT,
78
+ Me as Menu,
79
+ Re as MenuItem,
80
+ fe as Modal,
81
+ he as ModalClose,
82
+ Fe as Popover,
83
+ Ge as PopoverClose,
84
+ me as Progress,
85
+ T as RADIO_CHANGE,
86
+ b as RADIO_GROUP_CHANGE,
87
+ be as Radio,
88
+ Ee as RadioGroup,
89
+ Ce as Skeleton,
90
+ se as Spinner,
91
+ x as TAB_CHANGE,
92
+ X as TAG_CLOSE_CLICK,
93
+ M as TEXTAREA_CHANGE,
94
+ Be as TabContent,
95
+ Pe as TabTrigger,
96
+ ke as Tabs,
97
+ De as TabsList,
98
+ Oe as Tag,
99
+ Se as TagClose,
100
+ _e as Textarea,
101
+ Ve as Toast,
102
+ je as Toaster,
103
+ xe as Tooltip,
104
+ We as TooltipContent,
105
+ He as TooltipTrigger,
106
+ J as WELL_CLOSE_CLICK,
107
+ Ke as Well,
108
+ Ue as WellClose
109
+ };
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.13",
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
  }