@duyluonganduin/acl-web-components 0.0.45 → 0.0.48

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
@@ -618,6 +618,87 @@ declare module 'react' {
618
618
 
619
619
  // ── anduin-timeline-label ─────────────────────────────────────────────
620
620
  'anduin-timeline-label': Base
621
+
622
+ // ── anduin-calendar ───────────────────────────────────────────────────
623
+ 'anduin-calendar': Base & {
624
+ /** Selected day, ISO `YYYY-MM-DD`. Also the month the calendar opens on. */
625
+ value?: string
626
+ /** Earliest selectable day, ISO `YYYY-MM-DD` */
627
+ 'min-date'?: string
628
+ /** Latest selectable day, ISO `YYYY-MM-DD` */
629
+ 'max-date'?: string
630
+ /** First day of a painted range, ISO `YYYY-MM-DD` */
631
+ 'range-start'?: string
632
+ /** Last day of a painted range, ISO `YYYY-MM-DD` */
633
+ 'range-end'?: string
634
+ }
635
+
636
+ // ── anduin-date-range ─────────────────────────────────────────────────
637
+ 'anduin-date-range': Base & {
638
+ /** First day of the selected range, ISO `YYYY-MM-DD` */
639
+ 'start-date'?: string
640
+ /** Last day of the selected range, ISO `YYYY-MM-DD` */
641
+ 'end-date'?: string
642
+ /** Earliest selectable day, ISO `YYYY-MM-DD` */
643
+ 'min-date'?: string
644
+ /** Latest selectable day, ISO `YYYY-MM-DD` */
645
+ 'max-date'?: string
646
+ }
647
+
648
+ // ── anduin-date-range-default ─────────────────────────────────────────
649
+ 'anduin-date-range-default': Base
650
+
651
+ // ── anduin-date-range-start ───────────────────────────────────────────
652
+ 'anduin-date-range-start': Base
653
+
654
+ // ── anduin-date-range-end ─────────────────────────────────────────────
655
+ 'anduin-date-range-end': Base
656
+
657
+ // ── anduin-date-input ─────────────────────────────────────────────────
658
+ 'anduin-date-input': Base & {
659
+ /** Pattern to type into, e.g. `MM/dd/yyyy` | `yyyy-MM-dd` | `dd.MM.yyyy` */
660
+ format?: string
661
+ /** Current value, formatted to match `format` */
662
+ value?: string
663
+ /** 'small' | 'default' | 'large' (default: 'default') */
664
+ size?: string
665
+ disabled?: boolean
666
+ readonly?: boolean
667
+ /** 'valid' | 'invalid' | 'warning' | 'loading' */
668
+ status?: string
669
+ /** Icon name rendered inside the input, before the text */
670
+ 'start-icon'?: string
671
+ /** Earliest allowed date, ISO `YYYY-MM-DD` */
672
+ 'min-date'?: string
673
+ /** Latest allowed date, ISO `YYYY-MM-DD` */
674
+ 'max-date'?: string
675
+ /** Matches `anduin-field-label`'s `for` */
676
+ inputid?: string
677
+ }
678
+
679
+ // ── anduin-date-picker ────────────────────────────────────────────────
680
+ 'anduin-date-picker': Base & {
681
+ /** Pattern for the input, e.g. `MM/dd/yyyy`. `value` must match it. */
682
+ format?: string
683
+ /** Current value, formatted to match `format` */
684
+ value?: string
685
+ /** 'small' | 'default' | 'large' (default: 'default') */
686
+ size?: string
687
+ disabled?: boolean
688
+ readonly?: boolean
689
+ /** 'valid' | 'invalid' | 'warning' | 'loading' */
690
+ status?: string
691
+ /** Icon name rendered inside the input, before the text */
692
+ 'start-icon'?: string
693
+ /** Earliest selectable date, ISO `YYYY-MM-DD` */
694
+ 'min-date'?: string
695
+ /** Latest selectable date, ISO `YYYY-MM-DD` */
696
+ 'max-date'?: string
697
+ /** Calendar position: 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top' */
698
+ placement?: string
699
+ /** Matches `anduin-field-label`'s `for` */
700
+ inputid?: string
701
+ }
621
702
  }
622
703
  }
623
704
  }
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-sidebar-bObs5k3h.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-icon",elementClass:e.AnduinIcon}),r=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),s=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}),m=a.createComponent({react:n,tagName:"anduin-divider",elementClass:e.AnduinDivider}),c=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),d=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),u=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),g=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),E=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),A=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),p=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),T=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),_=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),G=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}}),b=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),L=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover}),O=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),R=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),P=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),D=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),H=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}),U=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),F=a.createComponent({react:n,tagName:"anduin-tab-content",elementClass:e.AnduinTabContent}),h=a.createComponent({react:n,tagName:"anduin-tag",elementClass:e.AnduinTag}),B=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}}),V=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}}),w=a.createComponent({react:n,tagName:"anduin-tooltip",elementClass:e.AnduinTooltip}),k=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),z=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),f=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),K=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),x=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),X=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),q=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),Z=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),y=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),j=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),J=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),Q=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),Y=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),$=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ee=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),ne=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),ae=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),te=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),oe=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),ie=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),re=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),se=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),le=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),Ce=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),me=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),ce=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),de=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),ge=a.createComponent({react:n,tagName:"anduin-sidebar-menu-item",elementClass:e.AnduinSidebarMenuItem,events:{onSelect:e.SIDEBAR_SELECT}}),Ee=a.createComponent({react:n,tagName:"anduin-sidebar-action",elementClass:e.AnduinSidebarAction}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),pe=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),Te=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),_e=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),Ge=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Se=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),be=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel});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.PAGINATION_CHANGE=e.PAGINATION_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.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=r;exports.BadgeCount=s;exports.Button=l;exports.Callout=C;exports.Checkbox=S;exports.Divider=m;exports.Dot=c;exports.Drawer=j;exports.DrawerClose=J;exports.Dropdown=y;exports.Field=E;exports.FieldDescription=N;exports.FieldError=p;exports.FieldGroup=T;exports.FieldLabel=A;exports.FileIcon=X;exports.Icon=i;exports.Input=b;exports.LoadingState=g;exports.Menu=R;exports.MenuItem=P;exports.Modal=D;exports.ModalClose=H;exports.Navigation=$;exports.NavigationItem=ee;exports.Pagination=oe;exports.PaginationFirstPage=ie;exports.PaginationLastPage=re;exports.Popover=I;exports.PopoverClose=O;exports.Progress=d;exports.Radio=_;exports.RadioGroup=G;exports.ResizableHandle=te;exports.ResizablePanel=ae;exports.ResizablePanelGroup=ne;exports.Sidebar=se;exports.SidebarAction=Ee;exports.SidebarBadge=Ae;exports.SidebarContent=le;exports.SidebarFooter=me;exports.SidebarGroup=ce;exports.SidebarGroupLabel=de;exports.SidebarHeader=Ce;exports.SidebarMenu=ue;exports.SidebarMenuItem=ge;exports.SidebarSeparator=Ne;exports.Skeleton=u;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=Y;exports.Switcher=Q;exports.TabContent=F;exports.TabTrigger=U;exports.Tabs=v;exports.TabsList=M;exports.Tag=h;exports.TagClose=B;exports.Textarea=L;exports.Timeline=pe;exports.TimelineDate=_e;exports.TimelineGroup=Se;exports.TimelineItem=Te;exports.TimelineLabel=be;exports.TimelineTitle=Ge;exports.Toast=q;exports.Toaster=Z;exports.ToggleGroup=W;exports.ToggleGroupItem=V;exports.Tooltip=w;exports.TooltipContent=z;exports.TooltipTrigger=k;exports.Well=f;exports.WellClose=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),a=require("@lit/react"),e=require("./anduin-date-picker-BHLmPYcA.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-icon",elementClass:e.AnduinIcon}),r=a.createComponent({react:n,tagName:"anduin-badge",elementClass:e.AnduinBadge}),s=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}),c=a.createComponent({react:n,tagName:"anduin-dot",elementClass:e.AnduinDot}),m=a.createComponent({react:n,tagName:"anduin-progress",elementClass:e.AnduinProgress}),u=a.createComponent({react:n,tagName:"anduin-skeleton",elementClass:e.AnduinSkeleton}),E=a.createComponent({react:n,tagName:"anduin-loading-state",elementClass:e.AnduinLoadingState}),g=a.createComponent({react:n,tagName:"anduin-field",elementClass:e.AnduinField}),A=a.createComponent({react:n,tagName:"anduin-field-label",elementClass:e.AnduinFieldLabel}),N=a.createComponent({react:n,tagName:"anduin-field-description",elementClass:e.AnduinFieldDescription}),p=a.createComponent({react:n,tagName:"anduin-field-error",elementClass:e.AnduinFieldError}),T=a.createComponent({react:n,tagName:"anduin-field-group",elementClass:e.AnduinFieldGroup}),_=a.createComponent({react:n,tagName:"anduin-radio",elementClass:e.AnduinRadio,events:{onChange:e.RADIO_CHANGE}}),G=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}}),R=a.createComponent({react:n,tagName:"anduin-input",elementClass:e.AnduinInput,events:{onChange:e.INPUT_CHANGE,onClear:e.INPUT_CLEAR}}),b=a.createComponent({react:n,tagName:"anduin-textarea",elementClass:e.AnduinTextarea,events:{onChange:e.TEXTAREA_CHANGE}}),I=a.createComponent({react:n,tagName:"anduin-popover",elementClass:e.AnduinPopover,events:{onOpenChange:e.POPOVER_OPEN_CHANGE}}),O=a.createComponent({react:n,tagName:"anduin-popover-close",elementClass:e.AnduinPopoverClose}),L=a.createComponent({react:n,tagName:"anduin-menu",elementClass:e.AnduinMenu}),D=a.createComponent({react:n,tagName:"anduin-menu-item",elementClass:e.AnduinMenuItem}),P=a.createComponent({react:n,tagName:"anduin-modal",elementClass:e.AnduinModal,events:{onClose:e.MODAL_CLOSE_EVENT,onAfterClose:e.MODAL_AFTER_CLOSE_EVENT}}),H=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}),U=a.createComponent({react:n,tagName:"anduin-tab-trigger",elementClass:e.AnduinTabTrigger}),F=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}}),B=a.createComponent({react:n,tagName:"anduin-toggle-group",elementClass:e.AnduinToggleGroup,events:{onChange:e.TOGGLE_GROUP_CHANGE}}),W=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}),w=a.createComponent({react:n,tagName:"anduin-tooltip-trigger",elementClass:e.AnduinTooltipTrigger}),f=a.createComponent({react:n,tagName:"anduin-tooltip-content",elementClass:e.AnduinTooltipContent}),K=a.createComponent({react:n,tagName:"anduin-well",elementClass:e.AnduinWell}),z=a.createComponent({react:n,tagName:"anduin-well-close",elementClass:e.AnduinWellClose,events:{onClick:e.WELL_CLOSE_CLICK}}),x=a.createComponent({react:n,tagName:"anduin-avatar",elementClass:e.AnduinAvatar}),X=a.createComponent({react:n,tagName:"anduin-file-icon",elementClass:e.AnduinFileIcon}),q=a.createComponent({react:n,tagName:"anduin-toast",elementClass:e.AnduinToast}),Z=a.createComponent({react:n,tagName:"anduin-toaster",elementClass:e.AnduinToaster}),y=a.createComponent({react:n,tagName:"anduin-dropdown",elementClass:e.AnduinDropdown,events:{onChange:e.DROPDOWN_CHANGE}}),j=a.createComponent({react:n,tagName:"anduin-drawer",elementClass:e.AnduinDrawer,events:{onClose:e.DRAWER_CLOSE_EVENT,onAfterClose:e.DRAWER_AFTER_CLOSE_EVENT}}),J=a.createComponent({react:n,tagName:"anduin-drawer-close",elementClass:e.AnduinDrawerClose}),Q=a.createComponent({react:n,tagName:"anduin-switcher",elementClass:e.AnduinSwitcher,events:{onChange:e.SWITCHER_CHANGE}}),Y=a.createComponent({react:n,tagName:"anduin-suggestion",elementClass:e.AnduinSuggestion,events:{onChange:e.SUGGESTION_CHANGE,onSelect:e.SUGGESTION_SELECT,onClear:e.SUGGESTION_CLEAR}}),$=a.createComponent({react:n,tagName:"anduin-navigation",elementClass:e.AnduinNavigation,events:{onChange:e.NAVIGATION_CHANGE}}),ee=a.createComponent({react:n,tagName:"anduin-navigation-item",elementClass:e.AnduinNavigationItem}),ne=a.createComponent({react:n,tagName:"anduin-resizable-panel-group",elementClass:e.AnduinResizablePanelGroup}),ae=a.createComponent({react:n,tagName:"anduin-resizable-panel",elementClass:e.AnduinResizablePanel}),te=a.createComponent({react:n,tagName:"anduin-resizable-handle",elementClass:e.AnduinResizableHandle,events:{onResize:e.RESIZE_EVENT}}),oe=a.createComponent({react:n,tagName:"anduin-pagination",elementClass:e.AnduinPagination,events:{onValueChange:e.PAGINATION_CHANGE}}),ie=a.createComponent({react:n,tagName:"anduin-pagination-first-page",elementClass:e.AnduinPaginationFirstPage}),re=a.createComponent({react:n,tagName:"anduin-pagination-last-page",elementClass:e.AnduinPaginationLastPage}),se=a.createComponent({react:n,tagName:"anduin-sidebar",elementClass:e.AnduinSidebar}),le=a.createComponent({react:n,tagName:"anduin-sidebar-content",elementClass:e.AnduinSidebarContent}),Ce=a.createComponent({react:n,tagName:"anduin-sidebar-header",elementClass:e.AnduinSidebarHeader}),de=a.createComponent({react:n,tagName:"anduin-sidebar-footer",elementClass:e.AnduinSidebarFooter}),ce=a.createComponent({react:n,tagName:"anduin-sidebar-group",elementClass:e.AnduinSidebarGroup}),me=a.createComponent({react:n,tagName:"anduin-sidebar-group-label",elementClass:e.AnduinSidebarGroupLabel}),ue=a.createComponent({react:n,tagName:"anduin-sidebar-menu",elementClass:e.AnduinSidebarMenu}),Ee=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}),Ae=a.createComponent({react:n,tagName:"anduin-sidebar-badge",elementClass:e.AnduinSidebarBadge}),Ne=a.createComponent({react:n,tagName:"anduin-sidebar-separator",elementClass:e.AnduinSidebarSeparator}),pe=a.createComponent({react:n,tagName:"anduin-timeline",elementClass:e.AnduinTimeline}),Te=a.createComponent({react:n,tagName:"anduin-timeline-item",elementClass:e.AnduinTimelineItem}),_e=a.createComponent({react:n,tagName:"anduin-timeline-date",elementClass:e.AnduinTimelineDate}),Ge=a.createComponent({react:n,tagName:"anduin-timeline-title",elementClass:e.AnduinTimelineTitle}),Se=a.createComponent({react:n,tagName:"anduin-timeline-group",elementClass:e.AnduinTimelineGroup}),Re=a.createComponent({react:n,tagName:"anduin-timeline-label",elementClass:e.AnduinTimelineLabel}),be=a.createComponent({react:n,tagName:"anduin-calendar",elementClass:e.AnduinCalendar,events:{onValueChange:e.CALENDAR_CHANGE}}),Ie=a.createComponent({react:n,tagName:"anduin-date-range",elementClass:e.AnduinDateRange,events:{onChange:e.DATE_RANGE_CHANGE}}),Oe=a.createComponent({react:n,tagName:"anduin-date-range-default",elementClass:e.AnduinDateRangeDefault}),Le=a.createComponent({react:n,tagName:"anduin-date-range-start",elementClass:e.AnduinDateRangeStart}),De=a.createComponent({react:n,tagName:"anduin-date-range-end",elementClass:e.AnduinDateRangeEnd}),Pe=a.createComponent({react:n,tagName:"anduin-date-input",elementClass:e.AnduinDateInput,events:{onValueChange:e.DATE_INPUT_CHANGE}}),He=a.createComponent({react:n,tagName:"anduin-date-picker",elementClass:e.AnduinDatePicker,events:{onValueChange:e.DATE_PICKER_CHANGE}});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.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=r;exports.BadgeCount=s;exports.Button=l;exports.Calendar=be;exports.Callout=C;exports.Checkbox=S;exports.DateInput=Pe;exports.DatePicker=He;exports.DateRange=Ie;exports.DateRangeDefault=Oe;exports.DateRangeEnd=De;exports.DateRangeStart=Le;exports.Divider=d;exports.Dot=c;exports.Drawer=j;exports.DrawerClose=J;exports.Dropdown=y;exports.Field=g;exports.FieldDescription=N;exports.FieldError=p;exports.FieldGroup=T;exports.FieldLabel=A;exports.FileIcon=X;exports.Icon=i;exports.Input=R;exports.LoadingState=E;exports.Menu=L;exports.MenuItem=D;exports.Modal=P;exports.ModalClose=H;exports.Navigation=$;exports.NavigationItem=ee;exports.Pagination=oe;exports.PaginationFirstPage=ie;exports.PaginationLastPage=re;exports.Popover=I;exports.PopoverClose=O;exports.Progress=m;exports.Radio=_;exports.RadioGroup=G;exports.ResizableHandle=te;exports.ResizablePanel=ae;exports.ResizablePanelGroup=ne;exports.Sidebar=se;exports.SidebarAction=ge;exports.SidebarBadge=Ae;exports.SidebarContent=le;exports.SidebarFooter=de;exports.SidebarGroup=ce;exports.SidebarGroupLabel=me;exports.SidebarHeader=Ce;exports.SidebarMenu=ue;exports.SidebarMenuItem=Ee;exports.SidebarSeparator=Ne;exports.Skeleton=u;exports.SparkleSpinner=o;exports.Spinner=t;exports.Suggestion=Y;exports.Switcher=Q;exports.TabContent=F;exports.TabTrigger=U;exports.Tabs=v;exports.TabsList=M;exports.Tag=h;exports.TagClose=V;exports.Textarea=b;exports.Timeline=pe;exports.TimelineDate=_e;exports.TimelineGroup=Se;exports.TimelineItem=Te;exports.TimelineLabel=Re;exports.TimelineTitle=Ge;exports.Toast=q;exports.Toaster=Z;exports.ToggleGroup=B;exports.ToggleGroupItem=W;exports.Tooltip=k;exports.TooltipContent=f;exports.TooltipTrigger=w;exports.Well=K;exports.WellClose=z;
package/dist/react.d.ts CHANGED
@@ -57,6 +57,76 @@ declare class AnduinButton extends LitElement {
57
57
  render(): TemplateResult<1>;
58
58
  }
59
59
 
60
+ /**
61
+ * A single-month calendar grid with month/year pickers and full keyboard
62
+ * navigation.
63
+ *
64
+ * Used on its own for day selection, and composed by `anduin-date-range` — the
65
+ * range picker drives `range-start` / `range-end` to paint the range across two
66
+ * calendars.
67
+ *
68
+ * All date attributes take an ISO date string (`YYYY-MM-DD`). `value` doubles as
69
+ * the selected day and the month the calendar opens on.
70
+ *
71
+ * @example
72
+ * <anduin-calendar value="2026-07-15" min-date="2026-01-01"></anduin-calendar>
73
+ */
74
+ declare class AnduinCalendar extends LitElement {
75
+ static styles: CSSResult;
76
+ /** Selected day, ISO `YYYY-MM-DD`. Also the month the calendar opens on. */
77
+ value: string;
78
+ /** Earliest selectable day, ISO `YYYY-MM-DD`. */
79
+ minDate: string;
80
+ /** Latest selectable day, ISO `YYYY-MM-DD`. */
81
+ maxDate: string;
82
+ /** First day of a painted range, ISO `YYYY-MM-DD`. Set by `anduin-date-range`. */
83
+ rangeStart: string;
84
+ /** Last day of a painted range, ISO `YYYY-MM-DD`. Set by `anduin-date-range`. */
85
+ rangeEnd: string;
86
+ /**
87
+ * Suppress the single-day selected marker so only the range markers express
88
+ * selection. Set by `anduin-date-range` on its panels, where `value` is just
89
+ * the month anchor and highlighting it would read as a stray selected day.
90
+ */
91
+ rangeMode: boolean;
92
+ /** Displayed month, 0-based. Tracks `value` until the user navigates. */
93
+ private _viewMonth;
94
+ private _viewYear;
95
+ /** Roving-tabindex target for keyboard navigation, ISO `YYYY-MM-DD`. */
96
+ private _focus;
97
+ private _openSelect;
98
+ /** Set once `value` has seeded the view, so later edits don't yank the month
99
+ * back while the user is browsing. */
100
+ private _viewSeeded;
101
+ /** Set when a keyboard action moved focus, so we refocus after re-render. */
102
+ private _pendingFocus;
103
+ connectedCallback(): void;
104
+ disconnectedCallback(): void;
105
+ willUpdate(changed: Map<PropertyKey, unknown>): void;
106
+ updated(): void;
107
+ private _onOutsideClick;
108
+ private get _min();
109
+ private get _max();
110
+ private _isDisabled;
111
+ /** Clamp into [min, max] so keyboard navigation can't escape the range. */
112
+ private _clamp;
113
+ private _shiftMonth;
114
+ /** Move the roving focus, pulling the displayed month along with it. */
115
+ private _moveFocus;
116
+ private _onGridKeyDown;
117
+ private _pick;
118
+ private _emitHover;
119
+ /** The day that owns `tabindex="0"` when nothing has been focused yet. */
120
+ private _defaultFocusDate;
121
+ /** Years offered in the year picker — bounded by min/max when set, otherwise
122
+ * a ±10-year window around the displayed year. */
123
+ private get _yearOptions();
124
+ private _selectMonth;
125
+ private _selectYear;
126
+ private _renderSelect;
127
+ render(): TemplateResult<1>;
128
+ }
129
+
60
130
  declare class AnduinCallout extends LitElement {
61
131
  static styles: CSSResult;
62
132
  variant: string;
@@ -76,6 +146,238 @@ declare class AnduinCheckbox extends LitElement {
76
146
  render(): TemplateResult<1>;
77
147
  }
78
148
 
149
+ /**
150
+ * A formatted date input. Displays a pattern such as `MM/dd/yyyy` and lets users
151
+ * type digits into each segment; clicking a segment highlights it, and focus
152
+ * auto-advances once a segment is filled.
153
+ *
154
+ * Typing is committed per segment: when no valid completion remains (typing `5`
155
+ * into a month, since `50`–`59` all exceed `12`) the digit is zero-padded and
156
+ * focus moves on. Arrow keys step a segment's value, wrapping at its bounds.
157
+ *
158
+ * `anduin-date-input:change` fires once every segment is filled; `event.detail`
159
+ * is the formatted string.
160
+ *
161
+ * @example
162
+ * <anduin-date-input format="MM/dd/yyyy" value="03/15/2026"></anduin-date-input>
163
+ */
164
+ declare class AnduinDateInput extends LitElement {
165
+ static shadowRootOptions: ShadowRootInit;
166
+ static styles: CSSResult;
167
+ /** Pattern to display and type into, e.g. `MM/dd/yyyy`, `yyyy-MM-dd`, `dd.MM.yyyy`. */
168
+ format: string;
169
+ /** Current value, formatted to match `format`. Empty until every segment is filled. */
170
+ value: string;
171
+ size: DateInputSize;
172
+ disabled: boolean;
173
+ readonly: boolean;
174
+ /** `valid` | `invalid` | `warning` | `loading`. */
175
+ status: string;
176
+ startIcon: string;
177
+ /** Earliest allowed date, ISO `YYYY-MM-DD`. Completed dates below it are clamped up. */
178
+ minDate: string;
179
+ /** Latest allowed date, ISO `YYYY-MM-DD`. Completed dates above it are clamped down. */
180
+ maxDate: string;
181
+ /** Matches `anduin-field-label`'s `for` so clicking the label focuses this input. */
182
+ inputid: string;
183
+ /** Committed digits per segment, index-aligned with `_segments`. */
184
+ private _digits;
185
+ /** Index of the segment being typed into. */
186
+ private _active;
187
+ /** Digits typed into the active segment but not yet committed. */
188
+ private _buffer;
189
+ private _inputEl;
190
+ /** Selection we want after the next render, so re-renders don't drop the highlight. */
191
+ private _pendingSelection;
192
+ private _tokens;
193
+ private _segments;
194
+ connectedCallback(): void;
195
+ disconnectedCallback(): void;
196
+ private _onFieldLabelClick;
197
+ willUpdate(changed: Map<PropertyKey, unknown>): void;
198
+ updated(): void;
199
+ /** Parse an incoming formatted string by reading each segment's slice. */
200
+ private _adoptValue;
201
+ /** The rendered string: committed digits, the in-progress buffer, or placeholders. */
202
+ private _display;
203
+ /** The formatted value, or `''` while any segment is still empty. */
204
+ private _composeValue;
205
+ private _setDigits;
206
+ private _indexOfType;
207
+ /**
208
+ * Clamp a completed date into [minDate, maxDate]. Only applies when the format
209
+ * carries a full date — a partial format like `MM/dd` has no year to compare.
210
+ */
211
+ private _clampToBounds;
212
+ private _focusSegment;
213
+ /** Which segment contains (or is nearest to) a caret offset. */
214
+ private _segmentAt;
215
+ /**
216
+ * Snap the caret to whole-segment selection. Handled synchronously: by `mouseup`
217
+ * the browser has already placed the caret, and deferring (rAF/timeout) would
218
+ * leave a bare caret visible for a frame — or never run at all in a background
219
+ * tab, where rAF is throttled.
220
+ */
221
+ private _onSelectionIntent;
222
+ /** Write digits into a segment, clamped to its valid range and zero-padded. */
223
+ private _writeSegment;
224
+ /** Commit any half-typed digits so they aren't stranded on blur or navigation. */
225
+ private _flushBuffer;
226
+ private _commitBuffer;
227
+ private _typeDigit;
228
+ private _step;
229
+ private _clearSegment;
230
+ private _onKeyDown;
231
+ render(): TemplateResult<1>;
232
+ }
233
+
234
+ /**
235
+ * A formatted date input paired with a calendar popover.
236
+ *
237
+ * Clicking the input opens the calendar; typing a date into the input moves the
238
+ * calendar to match; picking a day closes the popover and fills the input.
239
+ * `disabled` and `readonly` both prevent the popover from opening.
240
+ *
241
+ * Slot content into `actions` to add buttons below the calendar — the consumer
242
+ * owns that container's layout entirely.
243
+ *
244
+ * @example
245
+ * <anduin-date-picker format="MM/dd/yyyy" value="03/15/2026"></anduin-date-picker>
246
+ */
247
+ declare class AnduinDatePicker extends LitElement {
248
+ static styles: CSSResult;
249
+ /** Pattern for the input, e.g. `MM/dd/yyyy`. `value` must match it. */
250
+ format: string;
251
+ /** Current value, formatted to match `format`. */
252
+ value: string;
253
+ size: DateInputSize;
254
+ disabled: boolean;
255
+ readonly: boolean;
256
+ /** `valid` | `invalid` | `warning` | `loading`. */
257
+ status: string;
258
+ startIcon: string;
259
+ /** Earliest selectable date, ISO `YYYY-MM-DD`. */
260
+ minDate: string;
261
+ /** Latest selectable date, ISO `YYYY-MM-DD`. */
262
+ maxDate: string;
263
+ /** Where the calendar opens relative to the input. */
264
+ placement: DatePickerPlacement;
265
+ /** Matches `anduin-field-label`'s `for` so clicking the label focuses the input. */
266
+ inputid: string;
267
+ /** Mirrors the popover's own state — the popover owns opening and closing. */
268
+ private _open;
269
+ private _inputEl;
270
+ private _popoverEl;
271
+ connectedCallback(): void;
272
+ disconnectedCallback(): void;
273
+ private _onPopoverOpenChange;
274
+ private _closePopover;
275
+ /** The current value as a `Date`, or `null` while it is incomplete. */
276
+ private get _date();
277
+ /** ISO form of the value, for driving the calendar. */
278
+ private get _isoValue();
279
+ private _emit;
280
+ /** Typing a complete date in the input moves the calendar to match. */
281
+ private _onInputChange;
282
+ /** Picking a day fills the input and dismisses the popover. */
283
+ private _onCalendarChange;
284
+ private _onKeyDown;
285
+ /**
286
+ * Swallow the trigger click when the field is locked, so it never reaches the
287
+ * popover's own toggle handler.
288
+ */
289
+ private _onTriggerClick;
290
+ render(): TemplateResult<1>;
291
+ }
292
+
293
+ /**
294
+ * Two side-by-side calendars for picking a date range.
295
+ *
296
+ * Selection is a two-click flow: the first click sets the start and clears any
297
+ * previous end, the second sets the end (swapping if it falls before the start).
298
+ * A third click begins a new selection. `anduin-date-range:change` fires only
299
+ * once a range is complete, and `start-date` / `end-date` reflect the last
300
+ * complete range.
301
+ *
302
+ * Use `anduin-date-range-default` for the standard side-by-side layout, or place
303
+ * `anduin-date-range-start` and `anduin-date-range-end` yourself for full
304
+ * control over what sits between them.
305
+ *
306
+ * @example
307
+ * <anduin-date-range start-date="2026-07-10" end-date="2026-07-20">
308
+ * <anduin-date-range-default></anduin-date-range-default>
309
+ * </anduin-date-range>
310
+ */
311
+ declare class AnduinDateRange extends LitElement {
312
+ static styles: CSSResult;
313
+ /** First day of the selected range, ISO `YYYY-MM-DD`. */
314
+ startDate: string;
315
+ /** Last day of the selected range, ISO `YYYY-MM-DD`. */
316
+ endDate: string;
317
+ /** Earliest selectable day, ISO `YYYY-MM-DD`. Forwarded to both calendars. */
318
+ minDate: string;
319
+ /** Latest selectable day, ISO `YYYY-MM-DD`. Forwarded to both calendars. */
320
+ maxDate: string;
321
+ /** First click of an in-progress selection, ISO `YYYY-MM-DD`. */
322
+ private _anchor;
323
+ /** Hovered day while a selection is in progress, for the range preview. */
324
+ private _hover;
325
+ private _panels;
326
+ /** Last `value` we pushed per panel. Mirrors Lit's "only write on change" so a
327
+ * calendar the user has navigated isn't yanked back to our derived month. */
328
+ private _pushedValue;
329
+ connectedCallback(): void;
330
+ disconnectedCallback(): void;
331
+ updated(): void;
332
+ /** Called by each panel once it has rendered its calendar. */
333
+ registerPanel(role: DateRangePanelRole, panel: AnduinDateRangePanel): void;
334
+ unregisterPanel(panel: AnduinDateRangePanel): void;
335
+ /** Push the derived range state down onto each registered panel's calendar. */
336
+ private _sync;
337
+ /** Which month each panel opens on: the start date on the left, the month
338
+ * after it on the right. Falls back to today when there's no range yet. */
339
+ private _panelValue;
340
+ /** The range the calendars should paint — the live preview while selecting,
341
+ * otherwise the committed range. */
342
+ private _displayedRange;
343
+ private _sorted;
344
+ private _onCalendarChange;
345
+ private _onCalendarHover;
346
+ render(): TemplateResult<1>;
347
+ }
348
+
349
+ /** The standard side-by-side layout: start calendar, 16px gap, end calendar. */
350
+ declare class AnduinDateRangeDefault extends LitElement {
351
+ static styles: CSSResult;
352
+ render(): TemplateResult<1>;
353
+ }
354
+
355
+ /** The right-hand calendar of a date range. */
356
+ declare class AnduinDateRangeEnd extends AnduinDateRangePanel {
357
+ protected readonly panelRole: "end";
358
+ }
359
+
360
+ /**
361
+ * Base class for the two calendar panels. Renders one `anduin-calendar` and
362
+ * registers with the enclosing `anduin-date-range`, which then drives it.
363
+ */
364
+ declare abstract class AnduinDateRangePanel extends LitElement {
365
+ static styles: CSSResult;
366
+ protected abstract readonly panelRole: DateRangePanelRole;
367
+ private _host;
368
+ /** The calendar this panel owns. Read by `anduin-date-range`. */
369
+ get calendar(): AnduinCalendar | null;
370
+ firstUpdated(): void;
371
+ disconnectedCallback(): void;
372
+ private _findRangeHost;
373
+ render(): TemplateResult<1>;
374
+ }
375
+
376
+ /** The left-hand calendar of a date range. */
377
+ declare class AnduinDateRangeStart extends AnduinDateRangePanel {
378
+ protected readonly panelRole: "start";
379
+ }
380
+
79
381
  declare class AnduinDivider extends LitElement {
80
382
  static styles: CSSResult;
81
383
  direction: string;
@@ -988,6 +1290,13 @@ declare type ButtonSize = 'tiny' | 'extraSmall' | 'small' | 'medium' | 'large' |
988
1290
 
989
1291
  declare type ButtonVariant = 'gray0' | 'gray9' | 'primary' | 'danger' | 'success' | 'warning' | 'purple';
990
1292
 
1293
+ export declare const Calendar: ReactWebComponent<AnduinCalendar, {
1294
+ onValueChange: string;
1295
+ }>;
1296
+
1297
+ /** Fired when a day is picked. `event.detail` is the ISO date string (`YYYY-MM-DD`). */
1298
+ export declare const CALENDAR_CHANGE = "anduin-calendar:change";
1299
+
991
1300
  export declare const Callout: ReactWebComponent<AnduinCallout, {}>;
992
1301
 
993
1302
  export declare const Checkbox: ReactWebComponent<AnduinCheckbox, {
@@ -996,6 +1305,42 @@ onChange: string;
996
1305
 
997
1306
  export declare const CHECKBOX_CHANGE = "anduin-checkbox:change";
998
1307
 
1308
+ /** Fired when every segment is filled. `event.detail` is the formatted date string. */
1309
+ export declare const DATE_INPUT_CHANGE = "anduin-date-input:change";
1310
+
1311
+ /** Fired when a date is completed by typing or picked from the calendar. `event.detail` is the formatted string. */
1312
+ export declare const DATE_PICKER_CHANGE = "anduin-date-picker:change";
1313
+
1314
+ /**
1315
+ * Fired when the user completes a range selection (both ends picked).
1316
+ * `event.detail` is `{ startDate, endDate }`, both ISO `YYYY-MM-DD`.
1317
+ */
1318
+ export declare const DATE_RANGE_CHANGE = "anduin-date-range:change";
1319
+
1320
+ export declare const DateInput: ReactWebComponent<AnduinDateInput, {
1321
+ onValueChange: string;
1322
+ }>;
1323
+
1324
+ declare type DateInputSize = 'small' | 'default' | 'large';
1325
+
1326
+ export declare const DatePicker: ReactWebComponent<AnduinDatePicker, {
1327
+ onValueChange: string;
1328
+ }>;
1329
+
1330
+ declare type DatePickerPlacement = 'bottom-start' | 'bottom-end' | 'bottom' | 'top-start' | 'top-end' | 'top';
1331
+
1332
+ export declare const DateRange: ReactWebComponent<AnduinDateRange, {
1333
+ onChange: string;
1334
+ }>;
1335
+
1336
+ export declare const DateRangeDefault: ReactWebComponent<AnduinDateRangeDefault, {}>;
1337
+
1338
+ export declare const DateRangeEnd: ReactWebComponent<AnduinDateRangeEnd, {}>;
1339
+
1340
+ declare type DateRangePanelRole = 'start' | 'end';
1341
+
1342
+ export declare const DateRangeStart: ReactWebComponent<AnduinDateRangeStart, {}>;
1343
+
999
1344
  export declare const Divider: ReactWebComponent<AnduinDivider, {}>;
1000
1345
 
1001
1346
  export declare const Dot: ReactWebComponent<AnduinDot, {}>;
@@ -1108,7 +1453,12 @@ export declare const PaginationFirstPage: ReactWebComponent<AnduinPaginationFirs
1108
1453
 
1109
1454
  export declare const PaginationLastPage: ReactWebComponent<AnduinPaginationLastPage, {}>;
1110
1455
 
1111
- export declare const Popover: ReactWebComponent<AnduinPopover, {}>;
1456
+ export declare const Popover: ReactWebComponent<AnduinPopover, {
1457
+ onOpenChange: string;
1458
+ }>;
1459
+
1460
+ /** Fired whenever `open` changes, including self-initiated toggles and outside clicks. `event.detail` is the new state. */
1461
+ export declare const POPOVER_OPEN_CHANGE = "anduin-popover:open-change";
1112
1462
 
1113
1463
  export declare const PopoverClose: ReactWebComponent<AnduinPopoverClose, {}>;
1114
1464