@duyluonganduin/acl-web-components 0.0.14 → 0.0.16
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/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +92 -0
- package/dist/acl-web-components.js +77 -69
- package/dist/{anduin-toast-CYPV6opl.js → anduin-drawer-Bpsl7Cgo.js} +2025 -1311
- package/dist/{anduin-toast-DlRl3yIP.cjs → anduin-drawer-Cn01TrhD.cjs} +599 -147
- package/dist/jsx.d.ts +63 -2
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +108 -3
- package/dist/react.js +104 -81
- package/package.json +1 -1
package/dist/jsx.d.ts
CHANGED
|
@@ -210,6 +210,8 @@ declare module 'react' {
|
|
|
210
210
|
open?: boolean | string
|
|
211
211
|
/** 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end' (default: 'bottom-start') */
|
|
212
212
|
placement?: string
|
|
213
|
+
/** Make trigger span the host's full width (default: false). Panel width is independent — customize via `--popover-min-width`, `--popover-max-width`, `--popover-max-height` */
|
|
214
|
+
'full-width'?: boolean | string
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
// ── anduin-menu ───────────────────────────────────────────────────────
|
|
@@ -313,8 +315,12 @@ declare module 'react' {
|
|
|
313
315
|
/** Cover the full viewport; hides overlay and removes border-radius */
|
|
314
316
|
fullscreen?: boolean | string
|
|
315
317
|
/** Fired when the modal should close (X, overlay click, or anduin-modal-close).
|
|
316
|
-
*
|
|
317
|
-
* @example ref.current.addEventListener(
|
|
318
|
+
* Respond by setting open=false — exit animation plays automatically.
|
|
319
|
+
* @example ref.current.addEventListener('anduin-close', () => setOpen(false))
|
|
320
|
+
*
|
|
321
|
+
* Fired after the exit animation completes: 'anduin-after-close'
|
|
322
|
+
* Use this to safely clear data / unmount when using conditional rendering.
|
|
323
|
+
* @example ref.current.addEventListener('anduin-after-close', () => setData(null)) */
|
|
318
324
|
}
|
|
319
325
|
|
|
320
326
|
// ── anduin-modal-close ────────────────────────────────────────────────
|
|
@@ -352,6 +358,61 @@ declare module 'react' {
|
|
|
352
358
|
position?: string
|
|
353
359
|
}
|
|
354
360
|
|
|
361
|
+
// ── anduin-dropdown ───────────────────────────────────────────────────
|
|
362
|
+
'anduin-dropdown': Base & {
|
|
363
|
+
/** Currently selected value */
|
|
364
|
+
value?: string
|
|
365
|
+
/** Placeholder shown when no value is selected */
|
|
366
|
+
placeholder?: string
|
|
367
|
+
/** Icon name shown in the trigger button */
|
|
368
|
+
icon?: string
|
|
369
|
+
/** Show search input in the panel (default: true) */
|
|
370
|
+
searchable?: boolean
|
|
371
|
+
/** Disables the dropdown */
|
|
372
|
+
disabled?: boolean
|
|
373
|
+
/** Panel placement relative to trigger (default: 'bottom-start') */
|
|
374
|
+
placement?: 'bottom-start' | 'bottom-end' | 'bottom'
|
|
375
|
+
/** Visual style — 'filled' | 'outlined' | 'plain' (default: 'filled') */
|
|
376
|
+
appearance?: 'filled' | 'outlined' | 'plain'
|
|
377
|
+
/** Size — 'small' (24px) | 'default' (32px) */
|
|
378
|
+
size?: 'small' | 'default'
|
|
379
|
+
/** Color variant — matches button variants (default: 'gray0') */
|
|
380
|
+
variant?: 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning'
|
|
381
|
+
/** Stretch trigger to full container width */
|
|
382
|
+
'full-width'?: boolean
|
|
383
|
+
/** Fired when selection changes — detail: string (selected value) */
|
|
384
|
+
onChange?: (e: CustomEvent<string>) => void
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
// ── anduin-switcher ───────────────────────────────────────────────────
|
|
388
|
+
'anduin-switcher': Base & {
|
|
389
|
+
/** Whether the switcher is on */
|
|
390
|
+
checked?: boolean
|
|
391
|
+
/** Disables interaction */
|
|
392
|
+
disabled?: boolean
|
|
393
|
+
/** Fired when toggled — detail: boolean */
|
|
394
|
+
onChange?: (e: CustomEvent<boolean>) => void
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// ── anduin-drawer ─────────────────────────────────────────────────────
|
|
398
|
+
'anduin-drawer': Base & {
|
|
399
|
+
/** Whether the drawer is open */
|
|
400
|
+
open?: boolean | string
|
|
401
|
+
/** Drawer title text */
|
|
402
|
+
heading?: string
|
|
403
|
+
/** Initial width preset: '320' | '360' | '400' | '640', or any px value (default: '320') */
|
|
404
|
+
'default-width'?: '320' | '360' | '400' | '640' | string
|
|
405
|
+
/** Hide the header (title + close button) */
|
|
406
|
+
'hide-header'?: boolean | string
|
|
407
|
+
/** Hide the footer slot container */
|
|
408
|
+
'hide-footer'?: boolean | string
|
|
409
|
+
/** When true, clicks outside the drawer pass through to underlying elements instead of dismissing (default: false) */
|
|
410
|
+
'allow-interact-outside'?: boolean | string
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
// ── anduin-drawer-close ───────────────────────────────────────────────
|
|
414
|
+
'anduin-drawer-close': Base
|
|
415
|
+
|
|
355
416
|
// ── anduin-file-icon ──────────────────────────────────────────────────
|
|
356
417
|
'anduin-file-icon': Base & {
|
|
357
418
|
/** 'archive' | 'audio' | 'blueprint' | 'box' | 'csv' | 'excel' | 'folder'
|
package/dist/react.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),t=require("@lit/react"),e=require("./anduin-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),t=require("@lit/react"),e=require("./anduin-drawer-Cn01TrhD.cjs"),a=t.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=t.createComponent({react:n,tagName:"anduin-icon",elementClass:e.AnduinIcon}),s=t.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),r=t.createComponent({react:n,tagName:"anduin-badge-count",elementClass:e.AnduinBadgeCount}),C=t.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),l=t.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),i=t.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),c=t.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),d=t.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),m=t.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),u=t.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),A=t.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),E=t.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),g=t.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),p=t.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),N=t.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),T=t.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),_=t.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),L=t.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),R=t.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),D=t.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),O=t.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover}),I=t.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),G=t.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),S=t.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),H=t.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),b=t.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),v=t.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),F=t.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),M=t.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),P=t.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),W=t.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),w=t.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),h=t.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),B=t.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),V=t.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),K=t.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),U=t.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),k=t.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),f=t.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),x=t.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),X=t.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),q=t.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),y=t.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),j=t.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),z=t.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}});exports.CHECKBOX_CHANGE=e.CHECKBOX_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=e.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=e.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=e.DROPDOWN_CHANGE;exports.INPUT_CHANGE=e.INPUT_CHANGE;exports.INPUT_CLEAR=e.INPUT_CLEAR;exports.MENU_ITEM_CLICK=e.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=e.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=e.MODAL_CLOSE_EVENT;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.SWITCHER_CHANGE=e.SWITCHER_CHANGE;exports.TAB_CHANGE=e.TAB_CHANGE;exports.TAG_CLOSE_CLICK=e.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=e.TEXTAREA_CHANGE;exports.WELL_CLOSE_CLICK=e.WELL_CLOSE_CLICK;exports.Avatar=k;exports.Badge=s;exports.BadgeCount=r;exports.Button=C;exports.Callout=l;exports.Checkbox=L;exports.Divider=i;exports.Dot=c;exports.Drawer=y;exports.DrawerClose=j;exports.Dropdown=q;exports.Field=A;exports.FieldDescription=g;exports.FieldError=p;exports.FieldGroup=N;exports.FieldLabel=E;exports.FileIcon=f;exports.Icon=o;exports.Input=R;exports.LoadingState=u;exports.Menu=G;exports.MenuItem=S;exports.Modal=H;exports.ModalClose=b;exports.Popover=O;exports.PopoverClose=I;exports.Progress=d;exports.Radio=T;exports.RadioGroup=_;exports.Skeleton=m;exports.Spinner=a;exports.Switcher=z;exports.TabContent=P;exports.TabTrigger=M;exports.Tabs=v;exports.TabsList=F;exports.Tag=W;exports.TagClose=w;exports.Textarea=D;exports.Toast=x;exports.Toaster=X;exports.Tooltip=h;exports.TooltipContent=V;exports.TooltipTrigger=B;exports.Well=K;exports.WellClose=U;
|
package/dist/react.d.ts
CHANGED
|
@@ -92,6 +92,69 @@ declare class AnduinDot extends LitElement {
|
|
|
92
92
|
render(): TemplateResult<1>;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
declare class AnduinDrawer extends LitElement {
|
|
96
|
+
static styles: CSSResult;
|
|
97
|
+
open: boolean;
|
|
98
|
+
heading: string;
|
|
99
|
+
hideHeader: boolean;
|
|
100
|
+
hideFooter: boolean;
|
|
101
|
+
defaultWidth: DrawerWidth | string;
|
|
102
|
+
/** When true, clicks outside the drawer pass through to underlying elements instead of dismissing */
|
|
103
|
+
allowInteractOutside: boolean;
|
|
104
|
+
private _leaving;
|
|
105
|
+
private _width;
|
|
106
|
+
private _resizing;
|
|
107
|
+
private _startX;
|
|
108
|
+
private _startWidth;
|
|
109
|
+
willUpdate(changed: Map<PropertyKey, unknown>): void;
|
|
110
|
+
updated(changed: Map<PropertyKey, unknown>): void;
|
|
111
|
+
private _dispatch;
|
|
112
|
+
private _onClose;
|
|
113
|
+
private _onBackdropClick;
|
|
114
|
+
private _onResizeStart;
|
|
115
|
+
private _onResizeMove;
|
|
116
|
+
private _onResizeEnd;
|
|
117
|
+
render(): TemplateResult<1>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare class AnduinDrawerClose extends HTMLElement {
|
|
121
|
+
connectedCallback(): void;
|
|
122
|
+
disconnectedCallback(): void;
|
|
123
|
+
private _onClick;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare class AnduinDropdown extends LitElement {
|
|
127
|
+
static styles: CSSResult;
|
|
128
|
+
value: string;
|
|
129
|
+
placeholder: string;
|
|
130
|
+
options: DropdownOption[];
|
|
131
|
+
icon: string;
|
|
132
|
+
searchable: boolean;
|
|
133
|
+
disabled: boolean;
|
|
134
|
+
placement: 'bottom-start' | 'bottom-end' | 'bottom';
|
|
135
|
+
appearance: DropdownAppearance;
|
|
136
|
+
variant: DropdownVariant;
|
|
137
|
+
size: 'small' | 'default';
|
|
138
|
+
fullWidth: boolean;
|
|
139
|
+
private _open;
|
|
140
|
+
private _query;
|
|
141
|
+
private _triggerEl;
|
|
142
|
+
private _panelEl;
|
|
143
|
+
private _searchEl;
|
|
144
|
+
connectedCallback(): void;
|
|
145
|
+
disconnectedCallback(): void;
|
|
146
|
+
updated(changed: Map<PropertyKey, unknown>): void;
|
|
147
|
+
private _onOutsideClick;
|
|
148
|
+
private _onScrollOrResize;
|
|
149
|
+
private _onTriggerClick;
|
|
150
|
+
private _onKeyDown;
|
|
151
|
+
private _onClear;
|
|
152
|
+
private _selectOption;
|
|
153
|
+
private _updatePosition;
|
|
154
|
+
private get _filteredOptions();
|
|
155
|
+
render(): TemplateResult<1>;
|
|
156
|
+
}
|
|
157
|
+
|
|
95
158
|
declare class AnduinField extends LitElement {
|
|
96
159
|
static styles: CSSResult;
|
|
97
160
|
orientation: string;
|
|
@@ -219,6 +282,7 @@ declare class AnduinPopover extends LitElement {
|
|
|
219
282
|
static styles: CSSResult;
|
|
220
283
|
open: boolean;
|
|
221
284
|
placement: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
|
|
285
|
+
fullWidth: boolean;
|
|
222
286
|
private _visible;
|
|
223
287
|
private _closing;
|
|
224
288
|
private _triggerEl;
|
|
@@ -294,6 +358,14 @@ declare class AnduinSpinner extends LitElement {
|
|
|
294
358
|
render(): TemplateResult<2>;
|
|
295
359
|
}
|
|
296
360
|
|
|
361
|
+
declare class AnduinSwitcher extends LitElement {
|
|
362
|
+
static styles: CSSResult;
|
|
363
|
+
checked: boolean;
|
|
364
|
+
disabled: boolean;
|
|
365
|
+
private onChange;
|
|
366
|
+
render(): TemplateResult<1>;
|
|
367
|
+
}
|
|
368
|
+
|
|
297
369
|
declare class AnduinTabContent extends LitElement {
|
|
298
370
|
static styles: CSSResult;
|
|
299
371
|
value: string;
|
|
@@ -485,6 +557,35 @@ export declare const Divider: ReactWebComponent<AnduinDivider, {}>;
|
|
|
485
557
|
|
|
486
558
|
export declare const Dot: ReactWebComponent<AnduinDot, {}>;
|
|
487
559
|
|
|
560
|
+
export declare const Drawer: ReactWebComponent<AnduinDrawer, {
|
|
561
|
+
onClose: string;
|
|
562
|
+
onAfterClose: string;
|
|
563
|
+
}>;
|
|
564
|
+
|
|
565
|
+
export declare const DRAWER_AFTER_CLOSE_EVENT = "anduin-after-close";
|
|
566
|
+
|
|
567
|
+
export declare const DRAWER_CLOSE_EVENT = "anduin-close";
|
|
568
|
+
|
|
569
|
+
export declare const DrawerClose: ReactWebComponent<AnduinDrawerClose, {}>;
|
|
570
|
+
|
|
571
|
+
declare type DrawerWidth = '320' | '360' | '400' | '640';
|
|
572
|
+
|
|
573
|
+
export declare const Dropdown: ReactWebComponent<AnduinDropdown, {
|
|
574
|
+
onChange: string;
|
|
575
|
+
}>;
|
|
576
|
+
|
|
577
|
+
export declare const DROPDOWN_CHANGE = "anduin-dropdown:change";
|
|
578
|
+
|
|
579
|
+
declare type DropdownAppearance = 'filled' | 'outlined' | 'plain';
|
|
580
|
+
|
|
581
|
+
declare interface DropdownOption {
|
|
582
|
+
value: string;
|
|
583
|
+
label: string;
|
|
584
|
+
icon?: string;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
declare type DropdownVariant = 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning';
|
|
588
|
+
|
|
488
589
|
export declare const Field: ReactWebComponent<AnduinField, {}>;
|
|
489
590
|
|
|
490
591
|
export declare const FieldDescription: ReactWebComponent<AnduinFieldDescription, {}>;
|
|
@@ -516,9 +617,7 @@ export declare const Menu: ReactWebComponent<AnduinMenu, {}>;
|
|
|
516
617
|
|
|
517
618
|
export declare const MENU_ITEM_CLICK = "anduin-menu-item:click";
|
|
518
619
|
|
|
519
|
-
export declare const MenuItem: ReactWebComponent<AnduinMenuItem, {
|
|
520
|
-
onClick: string;
|
|
521
|
-
}>;
|
|
620
|
+
export declare const MenuItem: ReactWebComponent<AnduinMenuItem, {}>;
|
|
522
621
|
|
|
523
622
|
export declare const Modal: ReactWebComponent<AnduinModal, {
|
|
524
623
|
onClose: string;
|
|
@@ -565,6 +664,12 @@ export declare const Skeleton: ReactWebComponent<AnduinSkeleton, {}>;
|
|
|
565
664
|
|
|
566
665
|
export declare const Spinner: ReactWebComponent<AnduinSpinner, {}>;
|
|
567
666
|
|
|
667
|
+
export declare const Switcher: ReactWebComponent<AnduinSwitcher, {
|
|
668
|
+
onChange: string;
|
|
669
|
+
}>;
|
|
670
|
+
|
|
671
|
+
export declare const SWITCHER_CHANGE = "anduin-switcher:change";
|
|
672
|
+
|
|
568
673
|
export declare const TAB_CHANGE = "anduin-tab:change";
|
|
569
674
|
|
|
570
675
|
export declare const TabContent: ReactWebComponent<AnduinTabContent, {}>;
|
package/dist/react.js
CHANGED
|
@@ -1,110 +1,133 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { createComponent as a } from "@lit/react";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import { E as n, q as t, a as s, b as o, c as l, d as i, f as d, g as r, z as c, D as u, s as m, k as C, o as g, l as A, m as N, n as p, a6 as T, B as E, a7 as _, C as v, V as b, e as D, a1 as L, a0 as R, r as I, ad as S, M as h, x as w, y as F, t as G, u as O, a3 as f, a4 as M, v as H, w as P, a9 as k, I as W, J as x, H as B, G as K, K as V, ac as U, L as X, P as j, R as q, Q as y, S as z, ak as J, T as Q, A as Y, p as Z, N as $, O as ee, Y as ae, j as ne, W as te, X as se, h as oe, i as le, a8 as ie, F as de } from "./anduin-drawer-Bpsl7Cgo.js";
|
|
4
|
+
import { a2 as la } from "./anduin-drawer-Bpsl7Cgo.js";
|
|
5
|
+
const me = a({ react: e, tagName: "anduin-spinner", elementClass: n }), Ce = a({ react: e, tagName: "anduin-icon", elementClass: t }), ge = a({ react: e, tagName: "anduin-badge", elementClass: s }), Ae = a({ react: e, tagName: "anduin-badge-count", elementClass: o }), Ne = a({ react: e, tagName: "anduin-button", elementClass: l }), pe = a({ react: e, tagName: "anduin-callout", elementClass: i }), Te = a({ react: e, tagName: "anduin-divider", elementClass: d }), Ee = a({ react: e, tagName: "anduin-dot", elementClass: r }), _e = a({ react: e, tagName: "anduin-progress", elementClass: c }), ve = a({ react: e, tagName: "anduin-skeleton", elementClass: u }), be = a({ react: e, tagName: "anduin-loading-state", elementClass: m }), De = a({ react: e, tagName: "anduin-field", elementClass: C }), Le = a({ react: e, tagName: "anduin-field-label", elementClass: g }), Re = a({ react: e, tagName: "anduin-field-description", elementClass: A }), Ie = a({ react: e, tagName: "anduin-field-error", elementClass: N }), Se = a({ react: e, tagName: "anduin-field-group", elementClass: p }), he = a({
|
|
5
6
|
react: e,
|
|
6
7
|
tagName: "anduin-radio",
|
|
7
8
|
elementClass: E,
|
|
8
9
|
events: { onChange: T }
|
|
9
|
-
}),
|
|
10
|
+
}), we = a({
|
|
10
11
|
react: e,
|
|
11
12
|
tagName: "anduin-radio-group",
|
|
12
|
-
elementClass:
|
|
13
|
-
events: { onChange:
|
|
14
|
-
}),
|
|
13
|
+
elementClass: v,
|
|
14
|
+
events: { onChange: _ }
|
|
15
|
+
}), Fe = a({
|
|
15
16
|
react: e,
|
|
16
17
|
tagName: "anduin-checkbox",
|
|
17
|
-
elementClass:
|
|
18
|
-
events: { onChange:
|
|
19
|
-
}),
|
|
18
|
+
elementClass: D,
|
|
19
|
+
events: { onChange: b }
|
|
20
|
+
}), Ge = a({
|
|
20
21
|
react: e,
|
|
21
22
|
tagName: "anduin-input",
|
|
22
|
-
elementClass:
|
|
23
|
-
events: { onChange:
|
|
24
|
-
}),
|
|
23
|
+
elementClass: I,
|
|
24
|
+
events: { onChange: R, onClear: L }
|
|
25
|
+
}), Oe = a({
|
|
25
26
|
react: e,
|
|
26
27
|
tagName: "anduin-textarea",
|
|
27
|
-
elementClass:
|
|
28
|
-
events: { onChange:
|
|
29
|
-
}),
|
|
28
|
+
elementClass: h,
|
|
29
|
+
events: { onChange: S }
|
|
30
|
+
}), fe = a({ react: e, tagName: "anduin-popover", elementClass: w }), Me = a({ react: e, tagName: "anduin-popover-close", elementClass: F }), He = a({ react: e, tagName: "anduin-menu", elementClass: G }), Pe = a({
|
|
30
31
|
react: e,
|
|
31
32
|
tagName: "anduin-menu-item",
|
|
32
|
-
elementClass:
|
|
33
|
-
|
|
34
|
-
}), De = a({
|
|
33
|
+
elementClass: O
|
|
34
|
+
}), ke = a({
|
|
35
35
|
react: e,
|
|
36
36
|
tagName: "anduin-modal",
|
|
37
|
-
elementClass:
|
|
38
|
-
events: { onClose:
|
|
39
|
-
}),
|
|
37
|
+
elementClass: H,
|
|
38
|
+
events: { onClose: M, onAfterClose: f }
|
|
39
|
+
}), We = a({ react: e, tagName: "anduin-modal-close", elementClass: P }), xe = a({
|
|
40
40
|
react: e,
|
|
41
41
|
tagName: "anduin-tabs",
|
|
42
42
|
elementClass: W,
|
|
43
|
-
events: { onChange:
|
|
44
|
-
}),
|
|
43
|
+
events: { onChange: k }
|
|
44
|
+
}), Be = a({ react: e, tagName: "anduin-tabs-list", elementClass: x }), Ke = a({ react: e, tagName: "anduin-tab-trigger", elementClass: B }), Ve = a({ react: e, tagName: "anduin-tab-content", elementClass: K }), Ue = a({ react: e, tagName: "anduin-tag", elementClass: V }), Xe = a({
|
|
45
45
|
react: e,
|
|
46
46
|
tagName: "anduin-tag-close",
|
|
47
|
-
elementClass:
|
|
48
|
-
events: { onClick:
|
|
49
|
-
}),
|
|
47
|
+
elementClass: X,
|
|
48
|
+
events: { onClick: U }
|
|
49
|
+
}), je = a({ react: e, tagName: "anduin-tooltip", elementClass: j }), qe = a({ react: e, tagName: "anduin-tooltip-trigger", elementClass: q }), ye = a({ react: e, tagName: "anduin-tooltip-content", elementClass: y }), ze = a({ react: e, tagName: "anduin-well", elementClass: z }), Je = a({
|
|
50
50
|
react: e,
|
|
51
51
|
tagName: "anduin-well-close",
|
|
52
|
-
elementClass:
|
|
53
|
-
events: { onClick:
|
|
54
|
-
}),
|
|
52
|
+
elementClass: Q,
|
|
53
|
+
events: { onClick: J }
|
|
54
|
+
}), Qe = a({ react: e, tagName: "anduin-avatar", elementClass: Y }), Ye = a({ react: e, tagName: "anduin-file-icon", elementClass: Z }), Ze = a({ react: e, tagName: "anduin-toast", elementClass: $ }), $e = a({ react: e, tagName: "anduin-toaster", elementClass: ee }), ea = a({
|
|
55
|
+
react: e,
|
|
56
|
+
tagName: "anduin-dropdown",
|
|
57
|
+
elementClass: ne,
|
|
58
|
+
events: { onChange: ae }
|
|
59
|
+
}), aa = a({
|
|
60
|
+
react: e,
|
|
61
|
+
tagName: "anduin-drawer",
|
|
62
|
+
elementClass: oe,
|
|
63
|
+
events: { onClose: se, onAfterClose: te }
|
|
64
|
+
}), na = a({ react: e, tagName: "anduin-drawer-close", elementClass: le }), ta = a({
|
|
65
|
+
react: e,
|
|
66
|
+
tagName: "anduin-switcher",
|
|
67
|
+
elementClass: de,
|
|
68
|
+
events: { onChange: ie }
|
|
69
|
+
});
|
|
55
70
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
Te as
|
|
67
|
-
Ee as
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
71
|
+
Qe as Avatar,
|
|
72
|
+
ge as Badge,
|
|
73
|
+
Ae as BadgeCount,
|
|
74
|
+
Ne as Button,
|
|
75
|
+
b as CHECKBOX_CHANGE,
|
|
76
|
+
pe as Callout,
|
|
77
|
+
Fe as Checkbox,
|
|
78
|
+
te as DRAWER_AFTER_CLOSE_EVENT,
|
|
79
|
+
se as DRAWER_CLOSE_EVENT,
|
|
80
|
+
ae as DROPDOWN_CHANGE,
|
|
81
|
+
Te as Divider,
|
|
82
|
+
Ee as Dot,
|
|
83
|
+
aa as Drawer,
|
|
84
|
+
na as DrawerClose,
|
|
85
|
+
ea as Dropdown,
|
|
86
|
+
De as Field,
|
|
87
|
+
Re as FieldDescription,
|
|
88
|
+
Ie as FieldError,
|
|
89
|
+
Se as FieldGroup,
|
|
90
|
+
Le as FieldLabel,
|
|
91
|
+
Ye as FileIcon,
|
|
92
|
+
R as INPUT_CHANGE,
|
|
93
|
+
L as INPUT_CLEAR,
|
|
94
|
+
Ce as Icon,
|
|
95
|
+
Ge as Input,
|
|
96
|
+
be as LoadingState,
|
|
97
|
+
la as MENU_ITEM_CLICK,
|
|
98
|
+
f as MODAL_AFTER_CLOSE_EVENT,
|
|
99
|
+
M as MODAL_CLOSE_EVENT,
|
|
100
|
+
He as Menu,
|
|
101
|
+
Pe as MenuItem,
|
|
102
|
+
ke as Modal,
|
|
103
|
+
We as ModalClose,
|
|
104
|
+
fe as Popover,
|
|
84
105
|
Me as PopoverClose,
|
|
85
|
-
|
|
106
|
+
_e as Progress,
|
|
86
107
|
T as RADIO_CHANGE,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
_ as RADIO_GROUP_CHANGE,
|
|
109
|
+
he as Radio,
|
|
110
|
+
we as RadioGroup,
|
|
111
|
+
ie as SWITCHER_CHANGE,
|
|
112
|
+
ve as Skeleton,
|
|
113
|
+
me as Spinner,
|
|
114
|
+
ta as Switcher,
|
|
115
|
+
k as TAB_CHANGE,
|
|
116
|
+
U as TAG_CLOSE_CLICK,
|
|
117
|
+
S as TEXTAREA_CHANGE,
|
|
118
|
+
Ve as TabContent,
|
|
119
|
+
Ke as TabTrigger,
|
|
120
|
+
xe as Tabs,
|
|
121
|
+
Be as TabsList,
|
|
122
|
+
Ue as Tag,
|
|
123
|
+
Xe as TagClose,
|
|
124
|
+
Oe as Textarea,
|
|
125
|
+
Ze as Toast,
|
|
126
|
+
$e as Toaster,
|
|
127
|
+
je as Tooltip,
|
|
128
|
+
ye as TooltipContent,
|
|
129
|
+
qe as TooltipTrigger,
|
|
130
|
+
J as WELL_CLOSE_CLICK,
|
|
131
|
+
ze as Well,
|
|
132
|
+
Je as WellClose
|
|
110
133
|
};
|