@duyluonganduin/acl-web-components 0.0.26 → 0.0.28
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/README.md +2 -0
- package/dist/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +107 -0
- package/dist/acl-web-components.iife.js +309 -119
- package/dist/acl-web-components.js +86 -75
- package/dist/anduin-navigation-BgreqvTv.cjs +2610 -0
- package/dist/{anduin-suggestion-D3Sl4vcX.js → anduin-navigation-DjjsY3gb.js} +1654 -1201
- package/dist/jsx.d.ts +50 -0
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +119 -0
- package/dist/react.js +132 -104
- package/package.json +1 -1
- package/dist/anduin-suggestion-ChXDlWeZ.cjs +0 -2420
package/dist/jsx.d.ts
CHANGED
|
@@ -286,6 +286,31 @@ declare module 'react' {
|
|
|
286
286
|
// ── anduin-tag-close ──────────────────────────────────────────────────
|
|
287
287
|
'anduin-tag-close': Base
|
|
288
288
|
|
|
289
|
+
// ── anduin-toggle-group ───────────────────────────────────────────────
|
|
290
|
+
'anduin-toggle-group': Base & {
|
|
291
|
+
/** 'single' | 'multiple' (default: 'single') */
|
|
292
|
+
mode?: 'single' | 'multiple'
|
|
293
|
+
/** Initially selected value(s); space-separated in multiple mode */
|
|
294
|
+
'default-value'?: string
|
|
295
|
+
/** Controlled selected value(s); space-separated in multiple mode */
|
|
296
|
+
value?: string
|
|
297
|
+
/** 'small' | 'medium' | 'large' | 'free' (default: 'medium') */
|
|
298
|
+
size?: 'small' | 'medium' | 'large' | 'free'
|
|
299
|
+
/** 'gray' | 'primary' (default: 'gray') */
|
|
300
|
+
variant?: 'gray' | 'primary'
|
|
301
|
+
/** Detach items into individually rounded pills with 8px gaps that wrap */
|
|
302
|
+
gap?: boolean | string
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// ── anduin-toggle-group-item ──────────────────────────────────────────
|
|
306
|
+
'anduin-toggle-group-item': Base & {
|
|
307
|
+
/** Unique value identifying this item within the group */
|
|
308
|
+
value?: string
|
|
309
|
+
/** anduin-icon name shown before the label */
|
|
310
|
+
'start-icon'?: string
|
|
311
|
+
disabled?: boolean | string
|
|
312
|
+
}
|
|
313
|
+
|
|
289
314
|
// ── anduin-tooltip ────────────────────────────────────────────────────
|
|
290
315
|
'anduin-tooltip': Base & {
|
|
291
316
|
disabled?: boolean | string
|
|
@@ -451,6 +476,31 @@ declare module 'react' {
|
|
|
451
476
|
onSelect?: (e: CustomEvent<{ value: string; label?: string; icon?: string }>) => void
|
|
452
477
|
}
|
|
453
478
|
|
|
479
|
+
// ── anduin-navigation ─────────────────────────────────────────────────
|
|
480
|
+
'anduin-navigation': Base & {
|
|
481
|
+
/** Initially active item value (uncontrolled usage) */
|
|
482
|
+
'default-value'?: string
|
|
483
|
+
/** Controlled active item value */
|
|
484
|
+
value?: string
|
|
485
|
+
/** 'light' | 'dark' (default: 'light') */
|
|
486
|
+
theme?: 'light' | 'dark'
|
|
487
|
+
/** 'left' | 'center' | 'right' (default: 'left') */
|
|
488
|
+
alignment?: 'left' | 'center' | 'right'
|
|
489
|
+
/** Fired when the active item changes — detail: string (selected value) */
|
|
490
|
+
onChange?: (e: CustomEvent<string>) => void
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
// ── anduin-navigation-item ────────────────────────────────────────────
|
|
494
|
+
'anduin-navigation-item': Base & {
|
|
495
|
+
/** Unique value identifying this item within the bar */
|
|
496
|
+
value?: string
|
|
497
|
+
/** anduin-icon name shown before the label */
|
|
498
|
+
'start-icon'?: string
|
|
499
|
+
/** Renders an <a> instead of a <button> when provided */
|
|
500
|
+
href?: string
|
|
501
|
+
disabled?: boolean | string
|
|
502
|
+
}
|
|
503
|
+
|
|
454
504
|
// ── anduin-file-icon ──────────────────────────────────────────────────
|
|
455
505
|
'anduin-file-icon': Base & {
|
|
456
506
|
/** '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-navigation-BgreqvTv.cjs"),a=t.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=t.createComponent({react:n,tagName:"anduin-sparkle-spinner",elementClass:e.AnduinSparkleSpinner}),C=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}),i=t.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),l=t.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),c=t.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),m=t.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),d=t.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),E=t.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),u=t.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),g=t.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),A=t.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=t.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),T=t.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),_=t.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),p=t.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),G=t.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),O=t.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),L=t.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),S=t.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),I=t.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover}),R=t.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),D=t.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),v=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}}),P=t.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),M=t.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),U=t.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),b=t.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),F=t.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),W=t.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),h=t.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),w=t.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),B=t.createComponent({react:n,tagName:"anduin-toggle-group-item",elementClass:e.AnduinToggleGroupItem,events:{onChange:e.TOGGLE_GROUP_ITEM_CHANGE,onSelect:e.TOGGLE_GROUP_ITEM_SELECT,onDeselect:e.TOGGLE_GROUP_ITEM_DESELECT}}),V=t.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),k=t.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),K=t.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),f=t.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),x=t.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),X=t.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),q=t.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),y=t.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),j=t.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),z=t.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),J=t.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),Q=t.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),Y=t.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),Z=t.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),$=t.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ee=t.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem});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.NAVIGATION_CHANGE=e.NAVIGATION_CHANGE;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.SUGGESTION_CHANGE=e.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=e.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=e.SUGGESTION_SELECT;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.TOGGLE_GROUP_CHANGE=e.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=e.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_DESELECT=e.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=e.TOGGLE_GROUP_ITEM_SELECT;exports.WELL_CLOSE_CLICK=e.WELL_CLOSE_CLICK;exports.Avatar=X;exports.Badge=s;exports.BadgeCount=r;exports.Button=i;exports.Callout=l;exports.Checkbox=O;exports.Divider=c;exports.Dot=m;exports.Drawer=J;exports.DrawerClose=Q;exports.Dropdown=z;exports.Field=g;exports.FieldDescription=N;exports.FieldError=T;exports.FieldGroup=_;exports.FieldLabel=A;exports.FileIcon=q;exports.Icon=C;exports.Input=L;exports.LoadingState=u;exports.Menu=D;exports.MenuItem=v;exports.Modal=H;exports.ModalClose=P;exports.Navigation=$;exports.NavigationItem=ee;exports.Popover=I;exports.PopoverClose=R;exports.Progress=d;exports.Radio=p;exports.RadioGroup=G;exports.Skeleton=E;exports.SparkleSpinner=o;exports.Spinner=a;exports.Suggestion=Z;exports.Switcher=Y;exports.TabContent=F;exports.TabTrigger=b;exports.Tabs=M;exports.TabsList=U;exports.Tag=W;exports.TagClose=h;exports.Textarea=S;exports.Toast=y;exports.Toaster=j;exports.ToggleGroup=w;exports.ToggleGroupItem=B;exports.Tooltip=V;exports.TooltipContent=K;exports.TooltipTrigger=k;exports.Well=f;exports.WellClose=x;
|
package/dist/react.d.ts
CHANGED
|
@@ -278,6 +278,51 @@ declare class AnduinModalClose extends HTMLElement {
|
|
|
278
278
|
private _onClick;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Horizontal navigation bar — a row of items where exactly one is active.
|
|
283
|
+
* Recommended for navigating between top-level pages of an application.
|
|
284
|
+
*
|
|
285
|
+
* Theming: `theme="light"` (default) or `theme="dark"`. For a custom light
|
|
286
|
+
* theme, set any of these CSS custom properties on the element:
|
|
287
|
+
* --nav-color, --nav-hover-color, --nav-hover-bg,
|
|
288
|
+
* --nav-active-color, --nav-active-bg, --nav-surface
|
|
289
|
+
*/
|
|
290
|
+
declare class AnduinNavigation extends LitElement {
|
|
291
|
+
static styles: CSSResult;
|
|
292
|
+
/** Initially active item value (uncontrolled usage). */
|
|
293
|
+
defaultValue: string;
|
|
294
|
+
/** Controlled active item value. Leave unset for uncontrolled usage. */
|
|
295
|
+
value: string | null;
|
|
296
|
+
theme: NavigationTheme;
|
|
297
|
+
alignment: NavigationAlignment;
|
|
298
|
+
private internalValue;
|
|
299
|
+
private get isControlled();
|
|
300
|
+
private get selection();
|
|
301
|
+
connectedCallback(): void;
|
|
302
|
+
disconnectedCallback(): void;
|
|
303
|
+
updated(): void;
|
|
304
|
+
private get items();
|
|
305
|
+
private syncItems;
|
|
306
|
+
private onItemClick;
|
|
307
|
+
render(): TemplateResult<1>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare class AnduinNavigationItem extends LitElement {
|
|
311
|
+
static styles: CSSResult;
|
|
312
|
+
/** Unique value identifying this item within the bar. */
|
|
313
|
+
value: string;
|
|
314
|
+
/** anduin-icon name shown before the label. */
|
|
315
|
+
startIcon: string;
|
|
316
|
+
/** Renders an <a> instead of a <button> when provided. */
|
|
317
|
+
href: string;
|
|
318
|
+
disabled: boolean;
|
|
319
|
+
selected: boolean;
|
|
320
|
+
theme: NavigationTheme;
|
|
321
|
+
private onClick;
|
|
322
|
+
updated(changed: Map<string, unknown>): void;
|
|
323
|
+
render(): TemplateResult<1>;
|
|
324
|
+
}
|
|
325
|
+
|
|
281
326
|
declare class AnduinPopover extends LitElement {
|
|
282
327
|
static styles: CSSResult;
|
|
283
328
|
open: boolean;
|
|
@@ -514,6 +559,44 @@ declare class AnduinToaster extends LitElement {
|
|
|
514
559
|
render(): TemplateResult<1>;
|
|
515
560
|
}
|
|
516
561
|
|
|
562
|
+
declare class AnduinToggleGroup extends LitElement {
|
|
563
|
+
static styles: CSSResult;
|
|
564
|
+
mode: ToggleGroupMode;
|
|
565
|
+
defaultValue: string;
|
|
566
|
+
/** Controlled selected value (space-separated in multiple mode). Leave unset for uncontrolled usage. */
|
|
567
|
+
value: string | null;
|
|
568
|
+
size: ToggleGroupSize;
|
|
569
|
+
variant: ToggleGroupVariant;
|
|
570
|
+
/** Detach the items into individually rounded pills with 8px gaps, wrapping onto multiple lines. */
|
|
571
|
+
gap: boolean;
|
|
572
|
+
private internalValue;
|
|
573
|
+
private get isControlled();
|
|
574
|
+
private get selection();
|
|
575
|
+
connectedCallback(): void;
|
|
576
|
+
disconnectedCallback(): void;
|
|
577
|
+
updated(): void;
|
|
578
|
+
private get items();
|
|
579
|
+
private syncItems;
|
|
580
|
+
private onItemClick;
|
|
581
|
+
render(): TemplateResult<1>;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
declare class AnduinToggleGroupItem extends LitElement {
|
|
585
|
+
static styles: CSSResult;
|
|
586
|
+
value: string;
|
|
587
|
+
startIcon: string;
|
|
588
|
+
disabled: boolean;
|
|
589
|
+
selected: boolean;
|
|
590
|
+
groupSize: ToggleGroupSize;
|
|
591
|
+
groupVariant: ToggleGroupVariant;
|
|
592
|
+
groupMode: ToggleGroupMode;
|
|
593
|
+
/** Called by the parent group when the user's action changes this item's selection. */
|
|
594
|
+
emitSelectionChange(selected: boolean): void;
|
|
595
|
+
updated(changed: Map<string, unknown>): void;
|
|
596
|
+
private onClick;
|
|
597
|
+
render(): TemplateResult<1>;
|
|
598
|
+
}
|
|
599
|
+
|
|
517
600
|
declare class AnduinTooltip extends LitElement {
|
|
518
601
|
static styles: CSSResult;
|
|
519
602
|
disabled: boolean;
|
|
@@ -689,6 +772,18 @@ export declare const MODAL_CLOSE_EVENT = "anduin-close";
|
|
|
689
772
|
|
|
690
773
|
export declare const ModalClose: ReactWebComponent<AnduinModalClose, {}>;
|
|
691
774
|
|
|
775
|
+
export declare const Navigation: ReactWebComponent<AnduinNavigation, {
|
|
776
|
+
onChange: string;
|
|
777
|
+
}>;
|
|
778
|
+
|
|
779
|
+
export declare const NAVIGATION_CHANGE = "anduin-navigation:change";
|
|
780
|
+
|
|
781
|
+
declare type NavigationAlignment = 'left' | 'center' | 'right';
|
|
782
|
+
|
|
783
|
+
export declare const NavigationItem: ReactWebComponent<AnduinNavigationItem, {}>;
|
|
784
|
+
|
|
785
|
+
declare type NavigationTheme = 'light' | 'dark';
|
|
786
|
+
|
|
692
787
|
export declare const Popover: ReactWebComponent<AnduinPopover, {}>;
|
|
693
788
|
|
|
694
789
|
export declare const PopoverClose: ReactWebComponent<AnduinPopoverClose, {}>;
|
|
@@ -781,6 +876,30 @@ declare type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-l
|
|
|
781
876
|
|
|
782
877
|
declare type ToastVariant = "gray" | "primary" | "success" | "warning" | "danger";
|
|
783
878
|
|
|
879
|
+
export declare const TOGGLE_GROUP_CHANGE = "anduin-toggle-group:change";
|
|
880
|
+
|
|
881
|
+
export declare const TOGGLE_GROUP_ITEM_CHANGE = "anduin-toggle-group-item:change";
|
|
882
|
+
|
|
883
|
+
export declare const TOGGLE_GROUP_ITEM_DESELECT = "anduin-toggle-group-item:deselect";
|
|
884
|
+
|
|
885
|
+
export declare const TOGGLE_GROUP_ITEM_SELECT = "anduin-toggle-group-item:select";
|
|
886
|
+
|
|
887
|
+
export declare const ToggleGroup: ReactWebComponent<AnduinToggleGroup, {
|
|
888
|
+
onChange: string;
|
|
889
|
+
}>;
|
|
890
|
+
|
|
891
|
+
export declare const ToggleGroupItem: ReactWebComponent<AnduinToggleGroupItem, {
|
|
892
|
+
onChange: string;
|
|
893
|
+
onSelect: string;
|
|
894
|
+
onDeselect: string;
|
|
895
|
+
}>;
|
|
896
|
+
|
|
897
|
+
declare type ToggleGroupMode = 'single' | 'multiple';
|
|
898
|
+
|
|
899
|
+
declare type ToggleGroupSize = 'small' | 'medium' | 'large' | 'free';
|
|
900
|
+
|
|
901
|
+
declare type ToggleGroupVariant = 'gray' | 'primary';
|
|
902
|
+
|
|
784
903
|
export declare const Tooltip: ReactWebComponent<AnduinTooltip, {}>;
|
|
785
904
|
|
|
786
905
|
export declare const TooltipContent: ReactWebComponent<AnduinTooltipContent, {}>;
|
package/dist/react.js
CHANGED
|
@@ -1,143 +1,171 @@
|
|
|
1
1
|
import e from "react";
|
|
2
2
|
import { createComponent as a } from "@lit/react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { H as n, G as t, q as s, a as o, b as l, c as i, d as r, f as d, g as u, C as c, F as m, s as C, k as g, o as A, l as N, m as T, n as E, ae as p, D as G, af as _, E as v, $ as S, e as I, a7 as L, a6 as O, r as R, ao as b, Q as D, z as h, B as M, t as w, u as F, a9 as H, aa as P, v as f, w as k, ak as U, M as W, N as x, L as B, K as V, O as K, an as X, P as j, ap as q, T as y, as as z, at as J, aq as Q, U as Y, V as Z, X as $, W as ee, Y as ae, aA as ne, Z as te, A as se, p as oe, R as le, S as ie, a2 as re, j as de, a0 as ue, a1 as ce, h as me, i as Ce, aj as ge, J as Ae, ah as Ne, ai as Te, ag as Ee, I as pe, ab as Ge, x as _e, y as ve } from "./anduin-navigation-DjjsY3gb.js";
|
|
4
|
+
import { a8 as Oa } from "./anduin-navigation-DjjsY3gb.js";
|
|
5
|
+
const Oe = a({ react: e, tagName: "anduin-spinner", elementClass: n }), Re = a({ react: e, tagName: "anduin-sparkle-spinner", elementClass: t }), be = a({ react: e, tagName: "anduin-icon", elementClass: s }), De = a({ react: e, tagName: "anduin-badge", elementClass: o }), he = a({ react: e, tagName: "anduin-badge-count", elementClass: l }), Me = a({ react: e, tagName: "anduin-button", elementClass: i }), we = a({ react: e, tagName: "anduin-callout", elementClass: r }), Fe = a({ react: e, tagName: "anduin-divider", elementClass: d }), He = a({ react: e, tagName: "anduin-dot", elementClass: u }), Pe = a({ react: e, tagName: "anduin-progress", elementClass: c }), fe = a({ react: e, tagName: "anduin-skeleton", elementClass: m }), ke = a({ react: e, tagName: "anduin-loading-state", elementClass: C }), Ue = a({ react: e, tagName: "anduin-field", elementClass: g }), We = a({ react: e, tagName: "anduin-field-label", elementClass: A }), xe = a({ react: e, tagName: "anduin-field-description", elementClass: N }), Be = a({ react: e, tagName: "anduin-field-error", elementClass: T }), Ve = a({ react: e, tagName: "anduin-field-group", elementClass: E }), Ke = a({
|
|
6
6
|
react: e,
|
|
7
7
|
tagName: "anduin-radio",
|
|
8
|
-
elementClass:
|
|
9
|
-
events: { onChange:
|
|
10
|
-
}),
|
|
8
|
+
elementClass: G,
|
|
9
|
+
events: { onChange: p }
|
|
10
|
+
}), Xe = a({
|
|
11
11
|
react: e,
|
|
12
12
|
tagName: "anduin-radio-group",
|
|
13
13
|
elementClass: v,
|
|
14
14
|
events: { onChange: _ }
|
|
15
|
-
}),
|
|
15
|
+
}), je = a({
|
|
16
16
|
react: e,
|
|
17
17
|
tagName: "anduin-checkbox",
|
|
18
|
-
elementClass:
|
|
19
|
-
events: { onChange:
|
|
20
|
-
}),
|
|
18
|
+
elementClass: I,
|
|
19
|
+
events: { onChange: S }
|
|
20
|
+
}), qe = a({
|
|
21
21
|
react: e,
|
|
22
22
|
tagName: "anduin-input",
|
|
23
|
-
elementClass:
|
|
24
|
-
events: { onChange:
|
|
25
|
-
}),
|
|
23
|
+
elementClass: R,
|
|
24
|
+
events: { onChange: O, onClear: L }
|
|
25
|
+
}), ye = a({
|
|
26
26
|
react: e,
|
|
27
27
|
tagName: "anduin-textarea",
|
|
28
|
-
elementClass:
|
|
29
|
-
events: { onChange:
|
|
30
|
-
}),
|
|
28
|
+
elementClass: D,
|
|
29
|
+
events: { onChange: b }
|
|
30
|
+
}), ze = a({ react: e, tagName: "anduin-popover", elementClass: h }), Je = a({ react: e, tagName: "anduin-popover-close", elementClass: M }), Qe = a({ react: e, tagName: "anduin-menu", elementClass: w }), Ye = a({
|
|
31
31
|
react: e,
|
|
32
32
|
tagName: "anduin-menu-item",
|
|
33
|
-
elementClass:
|
|
34
|
-
}),
|
|
33
|
+
elementClass: F
|
|
34
|
+
}), Ze = a({
|
|
35
35
|
react: e,
|
|
36
36
|
tagName: "anduin-modal",
|
|
37
|
-
elementClass:
|
|
38
|
-
events: { onClose:
|
|
39
|
-
}),
|
|
37
|
+
elementClass: f,
|
|
38
|
+
events: { onClose: P, onAfterClose: H }
|
|
39
|
+
}), $e = a({ react: e, tagName: "anduin-modal-close", elementClass: k }), ea = a({
|
|
40
40
|
react: e,
|
|
41
41
|
tagName: "anduin-tabs",
|
|
42
|
-
elementClass:
|
|
43
|
-
events: { onChange:
|
|
44
|
-
}),
|
|
42
|
+
elementClass: W,
|
|
43
|
+
events: { onChange: U }
|
|
44
|
+
}), aa = a({ react: e, tagName: "anduin-tabs-list", elementClass: x }), na = a({ react: e, tagName: "anduin-tab-trigger", elementClass: B }), ta = a({ react: e, tagName: "anduin-tab-content", elementClass: V }), sa = a({ react: e, tagName: "anduin-tag", elementClass: K }), oa = a({
|
|
45
45
|
react: e,
|
|
46
46
|
tagName: "anduin-tag-close",
|
|
47
47
|
elementClass: j,
|
|
48
48
|
events: { onClick: X }
|
|
49
|
-
}),
|
|
49
|
+
}), la = a({
|
|
50
50
|
react: e,
|
|
51
|
-
tagName: "anduin-
|
|
51
|
+
tagName: "anduin-toggle-group",
|
|
52
|
+
elementClass: y,
|
|
53
|
+
events: { onChange: q }
|
|
54
|
+
}), ia = a({
|
|
55
|
+
react: e,
|
|
56
|
+
tagName: "anduin-toggle-group-item",
|
|
52
57
|
elementClass: Y,
|
|
53
|
-
events: {
|
|
54
|
-
}),
|
|
58
|
+
events: { onChange: Q, onSelect: J, onDeselect: z }
|
|
59
|
+
}), ra = a({ react: e, tagName: "anduin-tooltip", elementClass: Z }), da = a({ react: e, tagName: "anduin-tooltip-trigger", elementClass: $ }), ua = a({ react: e, tagName: "anduin-tooltip-content", elementClass: ee }), ca = a({ react: e, tagName: "anduin-well", elementClass: ae }), ma = a({
|
|
55
60
|
react: e,
|
|
56
|
-
tagName: "anduin-
|
|
61
|
+
tagName: "anduin-well-close",
|
|
57
62
|
elementClass: te,
|
|
58
|
-
events: {
|
|
59
|
-
}),
|
|
63
|
+
events: { onClick: ne }
|
|
64
|
+
}), Ca = a({ react: e, tagName: "anduin-avatar", elementClass: se }), ga = a({ react: e, tagName: "anduin-file-icon", elementClass: oe }), Aa = a({ react: e, tagName: "anduin-toast", elementClass: le }), Na = a({ react: e, tagName: "anduin-toaster", elementClass: ie }), Ta = a({
|
|
65
|
+
react: e,
|
|
66
|
+
tagName: "anduin-dropdown",
|
|
67
|
+
elementClass: de,
|
|
68
|
+
events: { onChange: re }
|
|
69
|
+
}), Ea = a({
|
|
60
70
|
react: e,
|
|
61
71
|
tagName: "anduin-drawer",
|
|
62
|
-
elementClass:
|
|
63
|
-
events: { onClose:
|
|
64
|
-
}),
|
|
72
|
+
elementClass: me,
|
|
73
|
+
events: { onClose: ce, onAfterClose: ue }
|
|
74
|
+
}), pa = a({ react: e, tagName: "anduin-drawer-close", elementClass: Ce }), Ga = a({
|
|
65
75
|
react: e,
|
|
66
76
|
tagName: "anduin-switcher",
|
|
67
|
-
elementClass:
|
|
68
|
-
events: { onChange:
|
|
69
|
-
}),
|
|
77
|
+
elementClass: Ae,
|
|
78
|
+
events: { onChange: ge }
|
|
79
|
+
}), _a = a({
|
|
70
80
|
react: e,
|
|
71
81
|
tagName: "anduin-suggestion",
|
|
72
|
-
elementClass:
|
|
73
|
-
events: { onChange:
|
|
82
|
+
elementClass: pe,
|
|
83
|
+
events: { onChange: Ee, onSelect: Te, onClear: Ne }
|
|
84
|
+
}), va = a({
|
|
85
|
+
react: e,
|
|
86
|
+
tagName: "anduin-navigation",
|
|
87
|
+
elementClass: _e,
|
|
88
|
+
events: { onChange: Ge }
|
|
89
|
+
}), Sa = a({
|
|
90
|
+
react: e,
|
|
91
|
+
tagName: "anduin-navigation-item",
|
|
92
|
+
elementClass: ve
|
|
74
93
|
});
|
|
75
94
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
95
|
+
Ca as Avatar,
|
|
96
|
+
De as Badge,
|
|
97
|
+
he as BadgeCount,
|
|
98
|
+
Me as Button,
|
|
99
|
+
S as CHECKBOX_CHANGE,
|
|
100
|
+
we as Callout,
|
|
101
|
+
je as Checkbox,
|
|
102
|
+
ue as DRAWER_AFTER_CLOSE_EVENT,
|
|
103
|
+
ce as DRAWER_CLOSE_EVENT,
|
|
104
|
+
re as DROPDOWN_CHANGE,
|
|
105
|
+
Fe as Divider,
|
|
106
|
+
He as Dot,
|
|
107
|
+
Ea as Drawer,
|
|
108
|
+
pa as DrawerClose,
|
|
109
|
+
Ta as Dropdown,
|
|
110
|
+
Ue as Field,
|
|
111
|
+
xe as FieldDescription,
|
|
112
|
+
Be as FieldError,
|
|
113
|
+
Ve as FieldGroup,
|
|
114
|
+
We as FieldLabel,
|
|
115
|
+
ga as FileIcon,
|
|
116
|
+
O as INPUT_CHANGE,
|
|
117
|
+
L as INPUT_CLEAR,
|
|
118
|
+
be as Icon,
|
|
119
|
+
qe as Input,
|
|
120
|
+
ke as LoadingState,
|
|
121
|
+
Oa as MENU_ITEM_CLICK,
|
|
122
|
+
H as MODAL_AFTER_CLOSE_EVENT,
|
|
123
|
+
P as MODAL_CLOSE_EVENT,
|
|
124
|
+
Qe as Menu,
|
|
125
|
+
Ye as MenuItem,
|
|
126
|
+
Ze as Modal,
|
|
127
|
+
$e as ModalClose,
|
|
128
|
+
Ge as NAVIGATION_CHANGE,
|
|
129
|
+
va as Navigation,
|
|
130
|
+
Sa as NavigationItem,
|
|
131
|
+
ze as Popover,
|
|
132
|
+
Je as PopoverClose,
|
|
133
|
+
Pe as Progress,
|
|
134
|
+
p as RADIO_CHANGE,
|
|
113
135
|
_ as RADIO_GROUP_CHANGE,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
136
|
+
Ke as Radio,
|
|
137
|
+
Xe as RadioGroup,
|
|
138
|
+
Ee as SUGGESTION_CHANGE,
|
|
139
|
+
Ne as SUGGESTION_CLEAR,
|
|
140
|
+
Te as SUGGESTION_SELECT,
|
|
141
|
+
ge as SWITCHER_CHANGE,
|
|
142
|
+
fe as Skeleton,
|
|
143
|
+
Re as SparkleSpinner,
|
|
144
|
+
Oe as Spinner,
|
|
145
|
+
_a as Suggestion,
|
|
146
|
+
Ga as Switcher,
|
|
147
|
+
U as TAB_CHANGE,
|
|
126
148
|
X as TAG_CLOSE_CLICK,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
149
|
+
b as TEXTAREA_CHANGE,
|
|
150
|
+
q as TOGGLE_GROUP_CHANGE,
|
|
151
|
+
Q as TOGGLE_GROUP_ITEM_CHANGE,
|
|
152
|
+
z as TOGGLE_GROUP_ITEM_DESELECT,
|
|
153
|
+
J as TOGGLE_GROUP_ITEM_SELECT,
|
|
154
|
+
ta as TabContent,
|
|
155
|
+
na as TabTrigger,
|
|
156
|
+
ea as Tabs,
|
|
157
|
+
aa as TabsList,
|
|
158
|
+
sa as Tag,
|
|
159
|
+
oa as TagClose,
|
|
160
|
+
ye as Textarea,
|
|
161
|
+
Aa as Toast,
|
|
162
|
+
Na as Toaster,
|
|
163
|
+
la as ToggleGroup,
|
|
164
|
+
ia as ToggleGroupItem,
|
|
165
|
+
ra as Tooltip,
|
|
166
|
+
ua as TooltipContent,
|
|
167
|
+
da as TooltipTrigger,
|
|
168
|
+
ne as WELL_CLOSE_CLICK,
|
|
169
|
+
ca as Well,
|
|
170
|
+
ma as WellClose
|
|
143
171
|
};
|