@duyluonganduin/acl-web-components 0.0.68 → 0.0.70

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/jsx.d.ts CHANGED
@@ -104,8 +104,11 @@ declare module 'react' {
104
104
 
105
105
  // ── anduin-dot ────────────────────────────────────────────────────────
106
106
  'anduin-dot': Base & {
107
- /** 'gray' | 'primary' | 'success' | 'danger' | 'warning' (default: 'gray') */
107
+ /** 'gray' | 'primary' | 'success' | 'danger' | 'warning' | 'purple', or a tag custom color
108
+ * ('customBlue', …) (default: 'gray') */
108
109
  variant?: string
110
+ /** Colors the dot from an ID, as an avatar is: the same ID always gets the same color. Wins over variant */
111
+ uid?: string
109
112
  }
110
113
 
111
114
  // ── anduin-progress ───────────────────────────────────────────────────
@@ -311,14 +314,41 @@ declare module 'react' {
311
314
  'anduin-tag': Base & {
312
315
  /** See TagVariant in anduin-tag.ts for all accepted values (default: 'gray') */
313
316
  variant?: string
317
+ /** 'filled' | 'outlined' (default: 'filled'). Outlined: transparent, drawn by a border */
318
+ appearance?: 'filled' | 'outlined'
314
319
  /** anduin-icon name shown before the label */
315
320
  icon?: string
321
+ /** Colors `icon` (never adds one): a dot color ('purple', 'customBlue', …) or an ID marked 'uid:<id>' */
322
+ 'icon-color'?: string
316
323
  disabled?: boolean | string
317
324
  }
318
325
 
319
326
  // ── anduin-tag-close ──────────────────────────────────────────────────
320
327
  'anduin-tag-close': Base
321
328
 
329
+ // ── anduin-tags-input ─────────────────────────────────────────────────
330
+ 'anduin-tags-input': Base & {
331
+ /** Controlled list as a JSON array attribute; prefer the `value` property / TagsInput wrapper */
332
+ value?: string
333
+ /** Uncontrolled starting list as a JSON array attribute */
334
+ 'default-value'?: string
335
+ /** Every character is a delimiter, e.g. "," or ",;" (default: none; Enter always commits) */
336
+ delimiters?: string
337
+ /** Commit pending text when focus leaves the control */
338
+ 'add-on-blur'?: boolean
339
+ /** Tab with pending text commits instead of moving focus */
340
+ 'add-on-tab'?: boolean
341
+ /** JSON map from tag text to { variant?, tooltip?, label?, disabled? } */
342
+ 'tag-meta'?: string
343
+ disabled?: boolean
344
+ readonly?: boolean
345
+ }
346
+ 'anduin-tags-input-list': Base
347
+ 'anduin-tags-input-input': Base & {
348
+ placeholder?: string
349
+ }
350
+ 'anduin-tags-input-clear': Base
351
+
322
352
  // ── anduin-toggle-group ───────────────────────────────────────────────
323
353
  'anduin-toggle-group': Base & {
324
354
  /** 'single' | 'multiple' (default: 'single') */
package/dist/react.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@lit/react"),e=require("./anduin-table-D9R2qRAW.cjs"),t=a.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=a.createComponent({react:n,tagName:"anduin-sparkle-spinner",elementClass:e.AnduinSparkleSpinner}),i=a.createComponent({react:n,tagName:"anduin-ai-spinner",elementClass:e.AnduinAiSpinner}),r=a.createComponent({react:n,tagName:"anduin-icon",elementClass:e.AnduinIcon}),C=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),l=a.createComponent({react:n,tagName:"anduin-badge-count",elementClass:e.AnduinBadgeCount}),s=a.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),d=a.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),c=a.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),E=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),m=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),A=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),u=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),N=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),g=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),T=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),_=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),p=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),G=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),L=a.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),S=a.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),O=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),R=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-inline-edit",elementClass:e.AnduinInlineEdit,events:{onSave:e.INLINE_EDIT_SAVE,onCancel:e.INLINE_EDIT_CANCEL,onEdit:e.INLINE_EDIT_EDIT}}),b=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover,events:{onOpenChange:e.POPOVER_OPEN_CHANGE}}),D=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),P=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),H=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),v=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),B=a.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),M=a.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),U=a.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),F=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),W=a.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),h=a.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),V=a.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),w=a.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),k=a.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}}),K=a.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),f=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),z=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),X=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),x=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),Z=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),q=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),y=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),j=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),J=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),Q=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),Y=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),$=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),ee=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),ne=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ae=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),te=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),oe=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),ie=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),re=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),Ce=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),le=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),se=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),de=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),ce=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),Ee=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),me=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-menu-item",elementClass:e.AnduinSidebarMenuItem,events:{onSelect:e.SIDEBAR_SELECT}}),ge=a.createComponent({react:n,tagName:"anduin-sidebar-action",elementClass:e.AnduinSidebarAction}),Te=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),_e=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),pe=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),Ge=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),Le=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),Se=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Oe=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),Re=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel}),Ie=a.createComponent({react:n,tagName:"anduin-calendar",elementClass:e.AnduinCalendar,events:{onValueChange:e.CALENDAR_CHANGE}}),be=a.createComponent({react:n,tagName:"anduin-date-range",elementClass:e.AnduinDateRange,events:{onChange:e.DATE_RANGE_CHANGE}}),De=a.createComponent({react:n,tagName:"anduin-date-range-default",elementClass:e.AnduinDateRangeDefault}),Pe=a.createComponent({react:n,tagName:"anduin-date-range-start",elementClass:e.AnduinDateRangeStart}),He=a.createComponent({react:n,tagName:"anduin-date-range-end",elementClass:e.AnduinDateRangeEnd}),ve=a.createComponent({react:n,tagName:"anduin-date-input",elementClass:e.AnduinDateInput,events:{onValueChange:e.DATE_INPUT_CHANGE}}),Be=a.createComponent({react:n,tagName:"anduin-date-picker",elementClass:e.AnduinDatePicker,events:{onValueChange:e.DATE_PICKER_CHANGE}}),Me=a.createComponent({react:n,tagName:"anduin-table",elementClass:e.AnduinTable,events:{onSort:e.TABLE_SORT,onColumnClick:e.TABLE_COLUMN_CLICK,onRowClick:e.TABLE_ROW_CLICK,onSelectionChange:e.TABLE_SELECTION_CHANGE,onCellContextMenu:e.TABLE_CELL_CONTEXT_MENU,onRowExpand:e.TABLE_ROW_EXPAND,onRowCollapse:e.TABLE_ROW_COLLAPSE,onGroupToggle:e.TABLE_GROUP_TOGGLE,onColumnResize:e.TABLE_COLUMN_RESIZE}});exports.CALENDAR_CHANGE=e.CALENDAR_CHANGE;exports.CHECKBOX_CHANGE=e.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=e.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=e.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=e.DATE_RANGE_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.PAGINATION_CHANGE=e.PAGINATION_CHANGE;exports.POPOVER_OPEN_CHANGE=e.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=e.RESIZE_EVENT;exports.SIDEBAR_SELECT=e.SIDEBAR_SELECT;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.TABLE_CELL_CONTEXT_MENU=e.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=e.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=e.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=e.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=e.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=e.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=e.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=e.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=e.TABLE_SORT;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.AiSpinner=i;exports.Avatar=Z;exports.Badge=C;exports.BadgeCount=l;exports.Button=s;exports.Calendar=Ie;exports.Callout=d;exports.Checkbox=S;exports.DateInput=ve;exports.DatePicker=Be;exports.DateRange=be;exports.DateRangeDefault=De;exports.DateRangeEnd=He;exports.DateRangeStart=Pe;exports.Divider=c;exports.Dot=E;exports.Drawer=Q;exports.DrawerClose=Y;exports.Dropdown=J;exports.Field=N;exports.FieldDescription=T;exports.FieldError=_;exports.FieldGroup=p;exports.FieldLabel=g;exports.FileIcon=q;exports.Icon=r;exports.InlineEdit=I;exports.Input=O;exports.LoadingState=u;exports.Menu=P;exports.MenuItem=H;exports.Modal=v;exports.ModalClose=B;exports.Navigation=ne;exports.NavigationItem=ae;exports.Pagination=re;exports.PaginationFirstPage=Ce;exports.PaginationLastPage=le;exports.Popover=b;exports.PopoverClose=D;exports.Progress=m;exports.Radio=G;exports.RadioGroup=L;exports.ResizableHandle=ie;exports.ResizablePanel=oe;exports.ResizablePanelGroup=te;exports.Sidebar=se;exports.SidebarAction=ge;exports.SidebarBadge=Te;exports.SidebarContent=de;exports.SidebarFooter=Ee;exports.SidebarGroup=me;exports.SidebarGroupLabel=Ae;exports.SidebarHeader=ce;exports.SidebarMenu=ue;exports.SidebarMenuItem=Ne;exports.SidebarSeparator=_e;exports.Skeleton=A;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=ee;exports.Switcher=$;exports.TabContent=W;exports.TabTrigger=F;exports.Table=Me;exports.Tabs=M;exports.TabsList=U;exports.Tag=h;exports.TagClose=V;exports.Textarea=R;exports.Timeline=pe;exports.TimelineDate=Le;exports.TimelineGroup=Oe;exports.TimelineItem=Ge;exports.TimelineLabel=Re;exports.TimelineTitle=Se;exports.Toast=y;exports.Toaster=j;exports.ToggleGroup=w;exports.ToggleGroupItem=k;exports.Tooltip=K;exports.TooltipContent=z;exports.TooltipTrigger=f;exports.Well=X;exports.WellClose=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@lit/react"),e=require("./anduin-table-C07o6qAm.cjs"),t=a.createComponent({react:n,tagName:"anduin-spinner",elementClass:e.AnduinSpinner}),o=a.createComponent({react:n,tagName:"anduin-sparkle-spinner",elementClass:e.AnduinSparkleSpinner}),i=a.createComponent({react:n,tagName:"anduin-ai-spinner",elementClass:e.AnduinAiSpinner}),s=a.createComponent({react:n,tagName:"anduin-icon",elementClass:e.AnduinIcon}),r=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),C=a.createComponent({react:n,tagName:"anduin-badge-count",elementClass:e.AnduinBadgeCount}),l=a.createComponent({react:n,tagName:"anduin-button",elementClass:e.AnduinButton}),c=a.createComponent({react:n,tagName:"anduin-callout",elementClass:e.AnduinCallout}),d=a.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),m=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),E=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),u=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),A=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),T=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),g=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),_=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),p=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),G=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),L=a.createComponent({react:n,tagName:"anduin-radio-group",elementClass:e.AnduinRadioGroup,events:{onChange:e.RADIO_GROUP_CHANGE}}),S=a.createComponent({react:n,tagName:"anduin-checkbox",elementClass:e.AnduinCheckbox,events:{onChange:e.CHECKBOX_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),R=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),O=a.createComponent({react:n,tagName:"anduin-inline-edit",elementClass:e.AnduinInlineEdit,events:{onSave:e.INLINE_EDIT_SAVE,onCancel:e.INLINE_EDIT_CANCEL,onEdit:e.INLINE_EDIT_EDIT}}),b=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover,events:{onOpenChange:e.POPOVER_OPEN_CHANGE}}),P=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),D=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),H=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),U=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),B=a.createComponent({react:n,tagName:"anduin-modal-close",elementClass:e.AnduinModalClose}),v=a.createComponent({react:n,tagName:"anduin-tabs",elementClass:e.AnduinTabs,events:{onChange:e.TAB_CHANGE}}),M=a.createComponent({react:n,tagName:"anduin-tabs-list",elementClass:e.AnduinTabsList}),h=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),F=a.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),V=a.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),W=a.createComponent({react:n,tagName:"anduin-tag-close",elementClass:e.AnduinTagClose,events:{onClick:e.TAG_CLOSE_CLICK}}),w=a.createComponent({react:n,tagName:"anduin-tags-input",elementClass:e.AnduinTagsInput,events:{onValueChange:e.TAGS_INPUT_VALUE_CHANGE,onBlur:e.TAGS_INPUT_BLUR,onSubmit:e.TAGS_INPUT_SUBMIT}}),k=a.createComponent({react:n,tagName:"anduin-tags-input-list",elementClass:e.AnduinTagsInputList}),K=a.createComponent({react:n,tagName:"anduin-tags-input-input",elementClass:e.AnduinTagsInputInput}),f=a.createComponent({react:n,tagName:"anduin-tags-input-clear",elementClass:e.AnduinTagsInputClear}),z=a.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),X=a.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}}),x=a.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),Z=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),q=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),y=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),j=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),J=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),Q=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),Y=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),$=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),ee=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),ne=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),ae=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),te=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),oe=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),ie=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),se=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),re=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),Ce=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),le=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),ce=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),de=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),me=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),Ee=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),Te=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),ge=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),_e=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),pe=a.createComponent({react:n,tagName:"anduin-sidebar-menu-item",elementClass:e.AnduinSidebarMenuItem,events:{onSelect:e.SIDEBAR_SELECT}}),Ge=a.createComponent({react:n,tagName:"anduin-sidebar-action",elementClass:e.AnduinSidebarAction}),Le=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),Se=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),Ie=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),Re=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),Oe=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),be=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Pe=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),De=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel}),He=a.createComponent({react:n,tagName:"anduin-calendar",elementClass:e.AnduinCalendar,events:{onValueChange:e.CALENDAR_CHANGE}}),Ue=a.createComponent({react:n,tagName:"anduin-date-range",elementClass:e.AnduinDateRange,events:{onChange:e.DATE_RANGE_CHANGE}}),Be=a.createComponent({react:n,tagName:"anduin-date-range-default",elementClass:e.AnduinDateRangeDefault}),ve=a.createComponent({react:n,tagName:"anduin-date-range-start",elementClass:e.AnduinDateRangeStart}),Me=a.createComponent({react:n,tagName:"anduin-date-range-end",elementClass:e.AnduinDateRangeEnd}),he=a.createComponent({react:n,tagName:"anduin-date-input",elementClass:e.AnduinDateInput,events:{onValueChange:e.DATE_INPUT_CHANGE}}),Fe=a.createComponent({react:n,tagName:"anduin-date-picker",elementClass:e.AnduinDatePicker,events:{onValueChange:e.DATE_PICKER_CHANGE}}),Ve=a.createComponent({react:n,tagName:"anduin-table",elementClass:e.AnduinTable,events:{onSort:e.TABLE_SORT,onColumnClick:e.TABLE_COLUMN_CLICK,onRowClick:e.TABLE_ROW_CLICK,onSelectionChange:e.TABLE_SELECTION_CHANGE,onCellContextMenu:e.TABLE_CELL_CONTEXT_MENU,onRowExpand:e.TABLE_ROW_EXPAND,onRowCollapse:e.TABLE_ROW_COLLAPSE,onGroupToggle:e.TABLE_GROUP_TOGGLE,onColumnResize:e.TABLE_COLUMN_RESIZE}});exports.CALENDAR_CHANGE=e.CALENDAR_CHANGE;exports.CHECKBOX_CHANGE=e.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=e.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=e.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=e.DATE_RANGE_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.PAGINATION_CHANGE=e.PAGINATION_CHANGE;exports.POPOVER_OPEN_CHANGE=e.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=e.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=e.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=e.RESIZE_EVENT;exports.SIDEBAR_SELECT=e.SIDEBAR_SELECT;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.TABLE_CELL_CONTEXT_MENU=e.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=e.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=e.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=e.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=e.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=e.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=e.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=e.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=e.TABLE_SORT;exports.TAB_CHANGE=e.TAB_CHANGE;exports.TAGS_INPUT_BLUR=e.TAGS_INPUT_BLUR;exports.TAGS_INPUT_SUBMIT=e.TAGS_INPUT_SUBMIT;exports.TAGS_INPUT_VALUE_CHANGE=e.TAGS_INPUT_VALUE_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.AiSpinner=i;exports.Avatar=J;exports.Badge=r;exports.BadgeCount=C;exports.Button=l;exports.Calendar=He;exports.Callout=c;exports.Checkbox=S;exports.DateInput=he;exports.DatePicker=Fe;exports.DateRange=Ue;exports.DateRangeDefault=Be;exports.DateRangeEnd=Me;exports.DateRangeStart=ve;exports.Divider=d;exports.Dot=m;exports.Drawer=ne;exports.DrawerClose=ae;exports.Dropdown=ee;exports.Field=T;exports.FieldDescription=N;exports.FieldError=_;exports.FieldGroup=p;exports.FieldLabel=g;exports.FileIcon=Q;exports.Icon=s;exports.InlineEdit=O;exports.Input=I;exports.LoadingState=A;exports.Menu=D;exports.MenuItem=H;exports.Modal=U;exports.ModalClose=B;exports.Navigation=ie;exports.NavigationItem=se;exports.Pagination=ce;exports.PaginationFirstPage=de;exports.PaginationLastPage=me;exports.Popover=b;exports.PopoverClose=P;exports.Progress=E;exports.Radio=G;exports.RadioGroup=L;exports.ResizableHandle=le;exports.ResizablePanel=Ce;exports.ResizablePanelGroup=re;exports.Sidebar=Ee;exports.SidebarAction=Ge;exports.SidebarBadge=Le;exports.SidebarContent=ue;exports.SidebarFooter=Te;exports.SidebarGroup=ge;exports.SidebarGroupLabel=Ne;exports.SidebarHeader=Ae;exports.SidebarMenu=_e;exports.SidebarMenuItem=pe;exports.SidebarSeparator=Se;exports.Skeleton=u;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=oe;exports.Switcher=te;exports.TabContent=F;exports.TabTrigger=h;exports.Table=Ve;exports.Tabs=v;exports.TabsList=M;exports.Tag=V;exports.TagClose=W;exports.TagsInput=w;exports.TagsInputClear=f;exports.TagsInputInput=K;exports.TagsInputList=k;exports.Textarea=R;exports.Timeline=Ie;exports.TimelineDate=Oe;exports.TimelineGroup=Pe;exports.TimelineItem=Re;exports.TimelineLabel=De;exports.TimelineTitle=be;exports.Toast=Y;exports.Toaster=$;exports.ToggleGroup=z;exports.ToggleGroupItem=X;exports.Tooltip=x;exports.TooltipContent=q;exports.TooltipTrigger=Z;exports.Well=y;exports.WellClose=j;
package/dist/react.d.ts CHANGED
@@ -447,7 +447,10 @@ declare class AnduinDivider extends LitElement {
447
447
 
448
448
  declare class AnduinDot extends LitElement {
449
449
  static styles: CSSResult;
450
- variant: string;
450
+ /** Semantic (purple is the AI color), or one of the tag's custom colors */
451
+ variant: DotVariant;
452
+ /** Colors the dot from an ID, as an avatar is: the same ID always gets the same color. Wins over variant */
453
+ uid: string;
451
454
  render(): TemplateResult<1>;
452
455
  }
453
456
 
@@ -1679,7 +1682,11 @@ declare class AnduinTabTrigger extends LitElement {
1679
1682
  declare class AnduinTag extends LitElement {
1680
1683
  static styles: CSSResult;
1681
1684
  variant: TagVariant;
1685
+ appearance: TagAppearance;
1686
+ /** anduin-icon name shown before the label. `iconColor` never adds one */
1682
1687
  icon: string;
1688
+ /** Colors the icon in place of the variant's color: a palette name, or an ID marked with `uid:` */
1689
+ iconColor: TagIconColor | '';
1683
1690
  disabled: boolean;
1684
1691
  render(): TemplateResult<1>;
1685
1692
  }
@@ -1690,6 +1697,133 @@ declare class AnduinTagClose extends LitElement {
1690
1697
  render(): TemplateResult<1>;
1691
1698
  }
1692
1699
 
1700
+ declare class AnduinTagsInput extends LitElement {
1701
+ static styles: CSSResult;
1702
+ /**
1703
+ * Controlled list. While set (not null/undefined) the component never
1704
+ * changes the list itself: it dispatches the proposed list in
1705
+ * `anduin-tags-input:value-change` and draws whatever `value` says.
1706
+ * As an attribute, a JSON array: `value='["a@x.com"]'`.
1707
+ */
1708
+ value: string[] | null | undefined;
1709
+ /**
1710
+ * Uncontrolled list: the starting tags, and then the live list — every
1711
+ * change the user makes is written back here before value-change fires.
1712
+ * As an attribute, a JSON array. Re-setting an equal array is a no-op.
1713
+ */
1714
+ defaultValue: string[];
1715
+ /** Every character in this string ends a tag when typed, e.g. `","` or `",;"`. */
1716
+ delimiters: string;
1717
+ /** Commit the pending text when focus leaves the whole control. */
1718
+ addOnBlur: boolean;
1719
+ /** Tab with pending text commits it instead of moving focus. */
1720
+ addOnTab: boolean;
1721
+ /** Map from tag text to its chip's variant, tooltip, label and lock. JSON as an attribute. */
1722
+ tagMeta: TagsInputTagMetaMap;
1723
+ /** Whole control immutable and dimmed; the tags stay visible. */
1724
+ disabled: boolean;
1725
+ /** Display only: no ×, no clear, no text box, nothing to tab to. Full contrast. */
1726
+ readonly: boolean;
1727
+ private _focused;
1728
+ /** Index of the chip picked out by Backspace / ← / →, or -1 when the caret is in the text box. */
1729
+ private _highlight;
1730
+ private _parts;
1731
+ get isControlled(): boolean;
1732
+ /** The list as drawn: `value` when controlled, `defaultValue` otherwise. */
1733
+ get tags(): string[];
1734
+ get highlightedIndex(): number;
1735
+ metaFor(tag: string): TagsInputTagMeta;
1736
+ isLocked(tag: string): boolean;
1737
+ get _editable(): boolean;
1738
+ /** Clear all shows only when it would remove something. */
1739
+ get clearVisible(): boolean;
1740
+ private get _inputPart();
1741
+ private get _hasClearPart();
1742
+ /* Excluded from this release type: _register */
1743
+ /* Excluded from this release type: _unregister */
1744
+ connectedCallback(): void;
1745
+ disconnectedCallback(): void;
1746
+ willUpdate(): void;
1747
+ updated(): void;
1748
+ /** Focuses the text box. Does nothing without an input part, or while disabled/readonly. */
1749
+ focus(options?: FocusOptions): void;
1750
+ /**
1751
+ * Every change goes through here. Uncontrolled: written to `defaultValue`
1752
+ * first, so a listener reading the element sees the new list. Controlled:
1753
+ * only proposed — the consumer decides.
1754
+ */
1755
+ private _propose;
1756
+ private _commit;
1757
+ /* Excluded from this release type: _removeAt */
1758
+ /* Excluded from this release type: _clearAll */
1759
+ /* Excluded from this release type: _setHighlight */
1760
+ /* Excluded from this release type: _focusInput */
1761
+ /* Excluded from this release type: _onInputKeydown */
1762
+ /* Excluded from this release type: _onInputInput */
1763
+ /* Excluded from this release type: _onInputPaste */
1764
+ private _onFocusIn;
1765
+ /**
1766
+ * Blur means focus left the whole control. Moving between its own parts
1767
+ * (the text box, a chip's ×, the clear button) is not a blur: there,
1768
+ * `relatedTarget` is retargeted to one of this element's children.
1769
+ */
1770
+ private _onFocusOut;
1771
+ /**
1772
+ * A press anywhere in the field but the text box keeps (or puts) focus in
1773
+ * the text box. Without this, pressing a chip's × in Chromium focuses its
1774
+ * button, the button is removed with the chip, and focus falls to <body>
1775
+ * with no blur — the user was mid-list and is now nowhere. It also makes
1776
+ * the field's padding and the gaps between chips a click target.
1777
+ */
1778
+ private _onMouseDown;
1779
+ render(): TemplateResult<1>;
1780
+ }
1781
+
1782
+ declare class AnduinTagsInputClear extends LitElement {
1783
+ static styles: CSSResult;
1784
+ /* Excluded from this release type: _root */
1785
+ connectedCallback(): void;
1786
+ disconnectedCallback(): void;
1787
+ willUpdate(): void;
1788
+ private _onClick;
1789
+ render(): TemplateResult<1>;
1790
+ }
1791
+
1792
+ declare class AnduinTagsInputInput extends LitElement {
1793
+ /** Focus lands on the inner `<input>`, as with anduin-input. */
1794
+ static shadowRootOptions: ShadowRootInit;
1795
+ static styles: CSSResult;
1796
+ placeholder: string;
1797
+ /* Excluded from this release type: _root */
1798
+ connectedCallback(): void;
1799
+ disconnectedCallback(): void;
1800
+ get inputEl(): HTMLInputElement | null;
1801
+ /** The pending (uncommitted) text. */
1802
+ get text(): string;
1803
+ set text(v: string);
1804
+ get hasInputFocus(): boolean;
1805
+ focus(options?: FocusOptions): void;
1806
+ willUpdate(): void;
1807
+ render(): TemplateResult<1>;
1808
+ }
1809
+
1810
+ declare class AnduinTagsInputList extends LitElement {
1811
+ static styles: CSSResult;
1812
+ /* Excluded from this release type: _root */
1813
+ connectedCallback(): void;
1814
+ disconnectedCallback(): void;
1815
+ firstUpdated(): void;
1816
+ /**
1817
+ * A chip's × (anduin-tag-close) fires TAG_CLOSE_CLICK. It is stopped here:
1818
+ * the chips are this component's internals, and a page listening for
1819
+ * anduin-tag-close:click elsewhere should not hear them.
1820
+ */
1821
+ private _onRemove;
1822
+ private _indexFromPath;
1823
+ private _onChipClick;
1824
+ render(): TemplateResult<1> | typeof nothing;
1825
+ }
1826
+
1693
1827
  declare class AnduinTextarea extends LitElement {
1694
1828
  /**
1695
1829
  * Focus belongs to the inner `<textarea>`, not the host — the same reasoning
@@ -1978,6 +2112,8 @@ export declare const Divider: ReactWebComponent<AnduinDivider, {}>;
1978
2112
 
1979
2113
  export declare const Dot: ReactWebComponent<AnduinDot, {}>;
1980
2114
 
2115
+ declare type DotVariant = 'gray' | 'success' | 'primary' | 'danger' | 'warning' | 'purple' | 'customAqua' | 'customBlue' | 'customBlueGreen' | 'customGreen' | 'customHotPink' | 'customIndigo' | 'customMagenta' | 'customOrange' | 'customPink' | 'customPurple' | 'customRed' | 'customYellow' | 'customYellowGreen' | 'customYellowOrange';
2116
+
1981
2117
  export declare const Drawer: ReactWebComponent<AnduinDrawer, {
1982
2118
  onClose: string;
1983
2119
  onAfterClose: string;
@@ -2467,11 +2603,78 @@ export declare const Tag: ReactWebComponent<AnduinTag, {}>;
2467
2603
 
2468
2604
  export declare const TAG_CLOSE_CLICK = "anduin-tag-close:click";
2469
2605
 
2606
+ /** filled (default), or outlined: transparent, drawn by a border in the variant's color */
2607
+ declare type TagAppearance = 'filled' | 'outlined';
2608
+
2470
2609
  export declare const TagClose: ReactWebComponent<AnduinTagClose, {
2471
2610
  onClick: string;
2472
2611
  }>;
2473
2612
 
2474
- declare type TagVariant = 'gray' | 'primary' | 'success' | 'warning' | 'danger' | 'boldGray' | 'boldPrimary' | 'boldSuccess' | 'boldWarning' | 'boldDanger' | 'customAqua' | 'customBlue' | 'customBlueGreen' | 'customGreen' | 'customHotPink' | 'customIndigo' | 'customMagenta' | 'customOrange' | 'customPink' | 'customPurple' | 'customRed' | 'customYellow' | 'customYellowGreen' | 'customYellowOrange';
2613
+ /** Every dot color (semantic, purple, custom), or an ID marked with `uid:`, e.g. `uid:group-123` */
2614
+ declare type TagIconColor = DotVariant | `uid:${string}`;
2615
+
2616
+ export declare const TAGS_INPUT_BLUR = "anduin-tags-input:blur";
2617
+
2618
+ export declare const TAGS_INPUT_SUBMIT = "anduin-tags-input:submit";
2619
+
2620
+ /**
2621
+ * anduin-tags-input — a field that collects short free-text values as
2622
+ * removable chips (email recipients, keywords). Mirrors `anduin-tags-input`
2623
+ * in anduin.design (the Scala/Laminar library) under the same element names,
2624
+ * so the two libraries agree. This release is the core subset: no
2625
+ * suggestions panel and no inline editing.
2626
+ *
2627
+ * Shape: the root owns the list and every key; the parts only draw.
2628
+ *
2629
+ * <anduin-tags-input> bordered field, list, keyboard, events
2630
+ * <anduin-tags-input-list> one anduin-tag per value, each with ×
2631
+ * <anduin-tags-input-input> the text box new tags are typed into
2632
+ * <anduin-tags-input-clear> "clear all", pinned top-right
2633
+ * </anduin-tags-input>
2634
+ *
2635
+ * Why the root owns the keys rather than the input part: Backspace, ← and →
2636
+ * act on chips, Enter may fire submit, and blur is "focus left the whole
2637
+ * control", so every interesting key needs the list and the text at once.
2638
+ * The input part forwards its native events to the root and holds no state.
2639
+ *
2640
+ * Layout: the root's field is one flex-wrap row container. The list host is
2641
+ * `display: contents`, so each chip is a flex item of the field itself and
2642
+ * the text box flows on the same line as the last chip, wrapping with them —
2643
+ * the way a chip input reads. Every row is 24px (a 20px anduin-tag centred in
2644
+ * a 24px slot, the text box 24px), with 3px top and bottom padding, so one row
2645
+ * is exactly anduin-input's 32px and each further row adds 24px.
2646
+ */
2647
+ export declare const TAGS_INPUT_VALUE_CHANGE = "anduin-tags-input:value-change";
2648
+
2649
+ export declare const TagsInput: ReactWebComponent<AnduinTagsInput, {
2650
+ onValueChange: EventName<CustomEvent<string[]>>;
2651
+ onBlur: EventName<CustomEvent<string>>;
2652
+ onSubmit: EventName<CustomEvent<string[]>>;
2653
+ }>;
2654
+
2655
+ export declare const TagsInputClear: ReactWebComponent<AnduinTagsInputClear, {}>;
2656
+
2657
+ export declare const TagsInputInput: ReactWebComponent<AnduinTagsInputInput, {}>;
2658
+
2659
+ export declare const TagsInputList: ReactWebComponent<AnduinTagsInputList, {}>;
2660
+
2661
+ declare type TagsInputPart = AnduinTagsInputList | AnduinTagsInputInput | AnduinTagsInputClear;
2662
+
2663
+ /** Per-tag presentation, keyed by the tag's text in `tagMeta`. */
2664
+ export declare interface TagsInputTagMeta {
2665
+ /** anduin-tag variant for this chip (default `gray`). */
2666
+ variant?: TagVariant;
2667
+ /** Shown in an anduin-tooltip while the chip is hovered. */
2668
+ tooltip?: string;
2669
+ /** Drawn instead of the tag text. The value in the list stays the tag text. */
2670
+ label?: string;
2671
+ /** Locked: dimmed, no ×, Backspace/Delete refuse it, clear all leaves it. */
2672
+ disabled?: boolean;
2673
+ }
2674
+
2675
+ export declare type TagsInputTagMetaMap = Record<string, TagsInputTagMeta>;
2676
+
2677
+ declare type TagVariant = 'gray' | 'primary' | 'success' | 'warning' | 'danger' | 'purple' | 'boldGray' | 'boldPrimary' | 'boldSuccess' | 'boldWarning' | 'boldDanger' | 'boldPurple' | 'customAqua' | 'customBlue' | 'customBlueGreen' | 'customGreen' | 'customHotPink' | 'customIndigo' | 'customMagenta' | 'customOrange' | 'customPink' | 'customPurple' | 'customRed' | 'customYellow' | 'customYellowGreen' | 'customYellowOrange';
2475
2678
 
2476
2679
  export declare const Textarea: ReactWebComponent<AnduinTextarea, {
2477
2680
  onChange: string;