@duyluonganduin/acl-web-components 0.0.61 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acl-web-components.cjs +1 -1
- package/dist/acl-web-components.d.ts +13 -0
- package/dist/acl-web-components.iife.js +45 -17
- package/dist/acl-web-components.js +1 -1
- package/dist/{anduin-table-D6X8sSGF.js → anduin-table-DGYFCUkj.js} +661 -630
- package/dist/{anduin-table-KkQzZaMG.cjs → anduin-table-DhBAEdvs.cjs} +211 -183
- package/dist/jsx.d.ts +2 -0
- package/dist/react.cjs +1 -1
- package/dist/react.d.ts +13 -0
- package/dist/react.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-table-KkQzZaMG.cjs"),o=':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-purple-50: oklch(.9676 .016 286.1);--color-purple-100: oklch(.9434 .0255 288.32);--color-purple-200: oklch(.8927 .0519 287.71);--color-purple-300: oklch(.81 .0925 287.61);--color-purple-400: oklch(.7048 .1478 287.77);--color-purple-500: oklch(.5961 .2043 286.53);--color-purple-600: oklch(.5316 .2303 286.64);--color-purple-700: oklch(.471 .2307 285.3);--color-purple-800: oklch(.4148 .2014 285.43);--color-purple-900: oklch(.3654 .17 286.37);--color-purple-950: oklch(.2734 .1288 284.42);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-12: 12px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';if(typeof document<"u"&&!document.getElementById("acl-tokens")){const i=document.createElement("style");i.id="acl-tokens",i.textContent=o,document.head.appendChild(i)}exports.AnduinAiSpinner=n.AnduinAiSpinner;exports.AnduinAvatar=n.AnduinAvatar;exports.AnduinBadge=n.AnduinBadge;exports.AnduinBadgeCount=n.AnduinBadgeCount;exports.AnduinButton=n.AnduinButton;exports.AnduinCalendar=n.AnduinCalendar;exports.AnduinCallout=n.AnduinCallout;exports.AnduinCheckbox=n.AnduinCheckbox;exports.AnduinDateInput=n.AnduinDateInput;exports.AnduinDatePicker=n.AnduinDatePicker;exports.AnduinDateRange=n.AnduinDateRange;exports.AnduinDateRangeDefault=n.AnduinDateRangeDefault;exports.AnduinDateRangeEnd=n.AnduinDateRangeEnd;exports.AnduinDateRangePanel=n.AnduinDateRangePanel;exports.AnduinDateRangeStart=n.AnduinDateRangeStart;exports.AnduinDivider=n.AnduinDivider;exports.AnduinDot=n.AnduinDot;exports.AnduinDrawer=n.AnduinDrawer;exports.AnduinDrawerClose=n.AnduinDrawerClose;exports.AnduinDropdown=n.AnduinDropdown;exports.AnduinField=n.AnduinField;exports.AnduinFieldDescription=n.AnduinFieldDescription;exports.AnduinFieldError=n.AnduinFieldError;exports.AnduinFieldGroup=n.AnduinFieldGroup;exports.AnduinFieldLabel=n.AnduinFieldLabel;exports.AnduinFileIcon=n.AnduinFileIcon;exports.AnduinIcon=n.AnduinIcon;exports.AnduinInlineEdit=n.AnduinInlineEdit;exports.AnduinInput=n.AnduinInput;exports.AnduinLoadingState=n.AnduinLoadingState;exports.AnduinMenu=n.AnduinMenu;exports.AnduinMenuItem=n.AnduinMenuItem;exports.AnduinModal=n.AnduinModal;exports.AnduinModalClose=n.AnduinModalClose;exports.AnduinNavigation=n.AnduinNavigation;exports.AnduinNavigationItem=n.AnduinNavigationItem;exports.AnduinPagination=n.AnduinPagination;exports.AnduinPaginationFirstPage=n.AnduinPaginationFirstPage;exports.AnduinPaginationLastPage=n.AnduinPaginationLastPage;exports.AnduinPopover=n.AnduinPopover;exports.AnduinPopoverClose=n.AnduinPopoverClose;exports.AnduinProgress=n.AnduinProgress;exports.AnduinRadio=n.AnduinRadio;exports.AnduinRadioGroup=n.AnduinRadioGroup;exports.AnduinResizableHandle=n.AnduinResizableHandle;exports.AnduinResizablePanel=n.AnduinResizablePanel;exports.AnduinResizablePanelGroup=n.AnduinResizablePanelGroup;exports.AnduinSidebar=n.AnduinSidebar;exports.AnduinSidebarAction=n.AnduinSidebarAction;exports.AnduinSidebarBadge=n.AnduinSidebarBadge;exports.AnduinSidebarContent=n.AnduinSidebarContent;exports.AnduinSidebarFooter=n.AnduinSidebarFooter;exports.AnduinSidebarGroup=n.AnduinSidebarGroup;exports.AnduinSidebarGroupLabel=n.AnduinSidebarGroupLabel;exports.AnduinSidebarHeader=n.AnduinSidebarHeader;exports.AnduinSidebarMenu=n.AnduinSidebarMenu;exports.AnduinSidebarMenuItem=n.AnduinSidebarMenuItem;exports.AnduinSidebarSeparator=n.AnduinSidebarSeparator;exports.AnduinSkeleton=n.AnduinSkeleton;exports.AnduinSparkleSpinner=n.AnduinSparkleSpinner;exports.AnduinSpinner=n.AnduinSpinner;exports.AnduinSuggestion=n.AnduinSuggestion;exports.AnduinSwitcher=n.AnduinSwitcher;exports.AnduinTabContent=n.AnduinTabContent;exports.AnduinTabTrigger=n.AnduinTabTrigger;exports.AnduinTable=n.AnduinTable;exports.AnduinTabs=n.AnduinTabs;exports.AnduinTabsList=n.AnduinTabsList;exports.AnduinTag=n.AnduinTag;exports.AnduinTagClose=n.AnduinTagClose;exports.AnduinTextarea=n.AnduinTextarea;exports.AnduinTimeline=n.AnduinTimeline;exports.AnduinTimelineDate=n.AnduinTimelineDate;exports.AnduinTimelineGroup=n.AnduinTimelineGroup;exports.AnduinTimelineItem=n.AnduinTimelineItem;exports.AnduinTimelineLabel=n.AnduinTimelineLabel;exports.AnduinTimelineTitle=n.AnduinTimelineTitle;exports.AnduinToast=n.AnduinToast;exports.AnduinToaster=n.AnduinToaster;exports.AnduinToggleGroup=n.AnduinToggleGroup;exports.AnduinToggleGroupItem=n.AnduinToggleGroupItem;exports.AnduinTooltip=n.AnduinTooltip;exports.AnduinTooltipContent=n.AnduinTooltipContent;exports.AnduinTooltipTrigger=n.AnduinTooltipTrigger;exports.AnduinWell=n.AnduinWell;exports.AnduinWellClose=n.AnduinWellClose;exports.BADGE_STYLES=n.BADGE_STYLES;exports.CALENDAR_CHANGE=n.CALENDAR_CHANGE;exports.CALENDAR_DAY_HOVER=n.CALENDAR_DAY_HOVER;exports.CHECKBOX_CHANGE=n.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=n.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=n.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=n.DATE_RANGE_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=n.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=n.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=n.DROPDOWN_CHANGE;exports.FIELD_LABEL_CLICK=n.FIELD_LABEL_CLICK;exports.FIELD_LABEL_CLICK_COORDINATED=n.FIELD_LABEL_CLICK_COORDINATED;exports.FILE_ICONS=n.FILE_ICONS;exports.INLINE_EDIT_CANCEL=n.INLINE_EDIT_CANCEL;exports.INLINE_EDIT_EDIT=n.INLINE_EDIT_EDIT;exports.INLINE_EDIT_SAVE=n.INLINE_EDIT_SAVE;exports.INPUT_CHANGE=n.INPUT_CHANGE;exports.INPUT_CLEAR=n.INPUT_CLEAR;exports.MENU_ITEM_CLICK=n.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=n.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=n.MODAL_CLOSE_EVENT;exports.NAVIGATION_CHANGE=n.NAVIGATION_CHANGE;exports.NAVIGATION_ITEM_CLICK=n.NAVIGATION_ITEM_CLICK;exports.PAGINATION_CHANGE=n.PAGINATION_CHANGE;exports.PAGINATION_JUMP=n.PAGINATION_JUMP;exports.POPOVER_CLOSE=n.POPOVER_CLOSE;exports.POPOVER_OPEN_CHANGE=n.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=n.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=n.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=n.RESIZE_EVENT;exports.SIDEBAR_SELECT=n.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=n.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=n.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=n.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=n.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=n.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=n.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=n.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=n.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=n.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=n.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=n.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=n.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=n.TABLE_SORT;exports.TAB_CHANGE=n.TAB_CHANGE;exports.TAB_TRIGGER_CLICK=n.TAB_TRIGGER_CLICK;exports.TAB_VALUE_CHANGED=n.TAB_VALUE_CHANGED;exports.TAG_CLOSE_CLICK=n.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=n.TEXTAREA_CHANGE;exports.TOGGLE_GROUP_CHANGE=n.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=n.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_CLICK=n.TOGGLE_GROUP_ITEM_CLICK;exports.TOGGLE_GROUP_ITEM_DESELECT=n.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=n.TOGGLE_GROUP_ITEM_SELECT;exports.TOOLTIP_CONTENT_POPUP_MOUNTED=n.TOOLTIP_CONTENT_POPUP_MOUNTED;exports.TOOLTIP_CONTENT_POPUP_UNMOUNTED=n.TOOLTIP_CONTENT_POPUP_UNMOUNTED;exports.TOOLTIP_HIDE=n.TOOLTIP_HIDE;exports.TOOLTIP_SHOW=n.TOOLTIP_SHOW;exports.TOOLTIP_TRIGGER_MOUNTED=n.TOOLTIP_TRIGGER_MOUNTED;exports.TOOLTIP_VISIBILITY_CHANGED=n.TOOLTIP_VISIBILITY_CHANGED;exports.WELL_CLOSE_CLICK=n.WELL_CLOSE_CLICK;exports.addMonths=n.addMonths;exports.formatISODate=n.formatISODate;exports.getBadgeVariantClass=n.getBadgeVariantClass;exports.parseISODate=n.parseISODate;exports.resolveFileIcon=n.resolveFileIcon;exports.startOfToday=n.startOfToday;exports.toast=n.toast;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./anduin-table-DhBAEdvs.cjs"),o=':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-purple-50: oklch(.9676 .016 286.1);--color-purple-100: oklch(.9434 .0255 288.32);--color-purple-200: oklch(.8927 .0519 287.71);--color-purple-300: oklch(.81 .0925 287.61);--color-purple-400: oklch(.7048 .1478 287.77);--color-purple-500: oklch(.5961 .2043 286.53);--color-purple-600: oklch(.5316 .2303 286.64);--color-purple-700: oklch(.471 .2307 285.3);--color-purple-800: oklch(.4148 .2014 285.43);--color-purple-900: oklch(.3654 .17 286.37);--color-purple-950: oklch(.2734 .1288 284.42);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-12: 12px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';if(typeof document<"u"&&!document.getElementById("acl-tokens")){const i=document.createElement("style");i.id="acl-tokens",i.textContent=o,document.head.appendChild(i)}exports.AnduinAiSpinner=n.AnduinAiSpinner;exports.AnduinAvatar=n.AnduinAvatar;exports.AnduinBadge=n.AnduinBadge;exports.AnduinBadgeCount=n.AnduinBadgeCount;exports.AnduinButton=n.AnduinButton;exports.AnduinCalendar=n.AnduinCalendar;exports.AnduinCallout=n.AnduinCallout;exports.AnduinCheckbox=n.AnduinCheckbox;exports.AnduinDateInput=n.AnduinDateInput;exports.AnduinDatePicker=n.AnduinDatePicker;exports.AnduinDateRange=n.AnduinDateRange;exports.AnduinDateRangeDefault=n.AnduinDateRangeDefault;exports.AnduinDateRangeEnd=n.AnduinDateRangeEnd;exports.AnduinDateRangePanel=n.AnduinDateRangePanel;exports.AnduinDateRangeStart=n.AnduinDateRangeStart;exports.AnduinDivider=n.AnduinDivider;exports.AnduinDot=n.AnduinDot;exports.AnduinDrawer=n.AnduinDrawer;exports.AnduinDrawerClose=n.AnduinDrawerClose;exports.AnduinDropdown=n.AnduinDropdown;exports.AnduinField=n.AnduinField;exports.AnduinFieldDescription=n.AnduinFieldDescription;exports.AnduinFieldError=n.AnduinFieldError;exports.AnduinFieldGroup=n.AnduinFieldGroup;exports.AnduinFieldLabel=n.AnduinFieldLabel;exports.AnduinFileIcon=n.AnduinFileIcon;exports.AnduinIcon=n.AnduinIcon;exports.AnduinInlineEdit=n.AnduinInlineEdit;exports.AnduinInput=n.AnduinInput;exports.AnduinLoadingState=n.AnduinLoadingState;exports.AnduinMenu=n.AnduinMenu;exports.AnduinMenuItem=n.AnduinMenuItem;exports.AnduinModal=n.AnduinModal;exports.AnduinModalClose=n.AnduinModalClose;exports.AnduinNavigation=n.AnduinNavigation;exports.AnduinNavigationItem=n.AnduinNavigationItem;exports.AnduinPagination=n.AnduinPagination;exports.AnduinPaginationFirstPage=n.AnduinPaginationFirstPage;exports.AnduinPaginationLastPage=n.AnduinPaginationLastPage;exports.AnduinPopover=n.AnduinPopover;exports.AnduinPopoverClose=n.AnduinPopoverClose;exports.AnduinProgress=n.AnduinProgress;exports.AnduinRadio=n.AnduinRadio;exports.AnduinRadioGroup=n.AnduinRadioGroup;exports.AnduinResizableHandle=n.AnduinResizableHandle;exports.AnduinResizablePanel=n.AnduinResizablePanel;exports.AnduinResizablePanelGroup=n.AnduinResizablePanelGroup;exports.AnduinSidebar=n.AnduinSidebar;exports.AnduinSidebarAction=n.AnduinSidebarAction;exports.AnduinSidebarBadge=n.AnduinSidebarBadge;exports.AnduinSidebarContent=n.AnduinSidebarContent;exports.AnduinSidebarFooter=n.AnduinSidebarFooter;exports.AnduinSidebarGroup=n.AnduinSidebarGroup;exports.AnduinSidebarGroupLabel=n.AnduinSidebarGroupLabel;exports.AnduinSidebarHeader=n.AnduinSidebarHeader;exports.AnduinSidebarMenu=n.AnduinSidebarMenu;exports.AnduinSidebarMenuItem=n.AnduinSidebarMenuItem;exports.AnduinSidebarSeparator=n.AnduinSidebarSeparator;exports.AnduinSkeleton=n.AnduinSkeleton;exports.AnduinSparkleSpinner=n.AnduinSparkleSpinner;exports.AnduinSpinner=n.AnduinSpinner;exports.AnduinSuggestion=n.AnduinSuggestion;exports.AnduinSwitcher=n.AnduinSwitcher;exports.AnduinTabContent=n.AnduinTabContent;exports.AnduinTabTrigger=n.AnduinTabTrigger;exports.AnduinTable=n.AnduinTable;exports.AnduinTabs=n.AnduinTabs;exports.AnduinTabsList=n.AnduinTabsList;exports.AnduinTag=n.AnduinTag;exports.AnduinTagClose=n.AnduinTagClose;exports.AnduinTextarea=n.AnduinTextarea;exports.AnduinTimeline=n.AnduinTimeline;exports.AnduinTimelineDate=n.AnduinTimelineDate;exports.AnduinTimelineGroup=n.AnduinTimelineGroup;exports.AnduinTimelineItem=n.AnduinTimelineItem;exports.AnduinTimelineLabel=n.AnduinTimelineLabel;exports.AnduinTimelineTitle=n.AnduinTimelineTitle;exports.AnduinToast=n.AnduinToast;exports.AnduinToaster=n.AnduinToaster;exports.AnduinToggleGroup=n.AnduinToggleGroup;exports.AnduinToggleGroupItem=n.AnduinToggleGroupItem;exports.AnduinTooltip=n.AnduinTooltip;exports.AnduinTooltipContent=n.AnduinTooltipContent;exports.AnduinTooltipTrigger=n.AnduinTooltipTrigger;exports.AnduinWell=n.AnduinWell;exports.AnduinWellClose=n.AnduinWellClose;exports.BADGE_STYLES=n.BADGE_STYLES;exports.CALENDAR_CHANGE=n.CALENDAR_CHANGE;exports.CALENDAR_DAY_HOVER=n.CALENDAR_DAY_HOVER;exports.CHECKBOX_CHANGE=n.CHECKBOX_CHANGE;exports.DATE_INPUT_CHANGE=n.DATE_INPUT_CHANGE;exports.DATE_PICKER_CHANGE=n.DATE_PICKER_CHANGE;exports.DATE_RANGE_CHANGE=n.DATE_RANGE_CHANGE;exports.DRAWER_AFTER_CLOSE_EVENT=n.DRAWER_AFTER_CLOSE_EVENT;exports.DRAWER_CLOSE_EVENT=n.DRAWER_CLOSE_EVENT;exports.DROPDOWN_CHANGE=n.DROPDOWN_CHANGE;exports.FIELD_LABEL_CLICK=n.FIELD_LABEL_CLICK;exports.FIELD_LABEL_CLICK_COORDINATED=n.FIELD_LABEL_CLICK_COORDINATED;exports.FILE_ICONS=n.FILE_ICONS;exports.INLINE_EDIT_CANCEL=n.INLINE_EDIT_CANCEL;exports.INLINE_EDIT_EDIT=n.INLINE_EDIT_EDIT;exports.INLINE_EDIT_SAVE=n.INLINE_EDIT_SAVE;exports.INPUT_CHANGE=n.INPUT_CHANGE;exports.INPUT_CLEAR=n.INPUT_CLEAR;exports.MENU_ITEM_CLICK=n.MENU_ITEM_CLICK;exports.MODAL_AFTER_CLOSE_EVENT=n.MODAL_AFTER_CLOSE_EVENT;exports.MODAL_CLOSE_EVENT=n.MODAL_CLOSE_EVENT;exports.NAVIGATION_CHANGE=n.NAVIGATION_CHANGE;exports.NAVIGATION_ITEM_CLICK=n.NAVIGATION_ITEM_CLICK;exports.PAGINATION_CHANGE=n.PAGINATION_CHANGE;exports.PAGINATION_JUMP=n.PAGINATION_JUMP;exports.POPOVER_CLOSE=n.POPOVER_CLOSE;exports.POPOVER_OPEN_CHANGE=n.POPOVER_OPEN_CHANGE;exports.RADIO_CHANGE=n.RADIO_CHANGE;exports.RADIO_GROUP_CHANGE=n.RADIO_GROUP_CHANGE;exports.RESIZE_EVENT=n.RESIZE_EVENT;exports.SIDEBAR_SELECT=n.SIDEBAR_SELECT;exports.SUGGESTION_CHANGE=n.SUGGESTION_CHANGE;exports.SUGGESTION_CLEAR=n.SUGGESTION_CLEAR;exports.SUGGESTION_SELECT=n.SUGGESTION_SELECT;exports.SWITCHER_CHANGE=n.SWITCHER_CHANGE;exports.TABLE_CELL_CONTEXT_MENU=n.TABLE_CELL_CONTEXT_MENU;exports.TABLE_COLUMN_CLICK=n.TABLE_COLUMN_CLICK;exports.TABLE_COLUMN_RESIZE=n.TABLE_COLUMN_RESIZE;exports.TABLE_GROUP_TOGGLE=n.TABLE_GROUP_TOGGLE;exports.TABLE_ROW_CLICK=n.TABLE_ROW_CLICK;exports.TABLE_ROW_COLLAPSE=n.TABLE_ROW_COLLAPSE;exports.TABLE_ROW_EXPAND=n.TABLE_ROW_EXPAND;exports.TABLE_SELECTION_CHANGE=n.TABLE_SELECTION_CHANGE;exports.TABLE_SORT=n.TABLE_SORT;exports.TAB_CHANGE=n.TAB_CHANGE;exports.TAB_TRIGGER_CLICK=n.TAB_TRIGGER_CLICK;exports.TAB_VALUE_CHANGED=n.TAB_VALUE_CHANGED;exports.TAG_CLOSE_CLICK=n.TAG_CLOSE_CLICK;exports.TEXTAREA_CHANGE=n.TEXTAREA_CHANGE;exports.TOGGLE_GROUP_CHANGE=n.TOGGLE_GROUP_CHANGE;exports.TOGGLE_GROUP_ITEM_CHANGE=n.TOGGLE_GROUP_ITEM_CHANGE;exports.TOGGLE_GROUP_ITEM_CLICK=n.TOGGLE_GROUP_ITEM_CLICK;exports.TOGGLE_GROUP_ITEM_DESELECT=n.TOGGLE_GROUP_ITEM_DESELECT;exports.TOGGLE_GROUP_ITEM_SELECT=n.TOGGLE_GROUP_ITEM_SELECT;exports.TOOLTIP_CONTENT_POPUP_MOUNTED=n.TOOLTIP_CONTENT_POPUP_MOUNTED;exports.TOOLTIP_CONTENT_POPUP_UNMOUNTED=n.TOOLTIP_CONTENT_POPUP_UNMOUNTED;exports.TOOLTIP_HIDE=n.TOOLTIP_HIDE;exports.TOOLTIP_SHOW=n.TOOLTIP_SHOW;exports.TOOLTIP_TRIGGER_MOUNTED=n.TOOLTIP_TRIGGER_MOUNTED;exports.TOOLTIP_VISIBILITY_CHANGED=n.TOOLTIP_VISIBILITY_CHANGED;exports.WELL_CLOSE_CLICK=n.WELL_CLOSE_CLICK;exports.addMonths=n.addMonths;exports.formatISODate=n.formatISODate;exports.getBadgeVariantClass=n.getBadgeVariantClass;exports.parseISODate=n.parseISODate;exports.resolveFileIcon=n.resolveFileIcon;exports.startOfToday=n.startOfToday;exports.toast=n.toast;
|
|
@@ -637,6 +637,12 @@ export declare class AnduinIcon extends LitElement {
|
|
|
637
637
|
* - **The view is built in.** The Scala API takes a `renderViewMode` callback.
|
|
638
638
|
* Here the value text plus switcher is the default and the default slot
|
|
639
639
|
* replaces the text, which covers the same ground without a render prop.
|
|
640
|
+
* The Scala callback also receives `renderDefaultSwitcher` and may simply
|
|
641
|
+
* not call it, leaving a view with no pencil that `switchToEditMode` still
|
|
642
|
+
* opens. `hide-switcher` is that case: it removes the switcher from the view
|
|
643
|
+
* and nothing else. It is not `disabled`, which also ignores clicks and
|
|
644
|
+
* `edit()` — a title renamed by clicking the name or from a "Rename" menu
|
|
645
|
+
* item needs both of those and no pencil beside it.
|
|
640
646
|
*
|
|
641
647
|
* - **Enter / Escape act on keydown, not keyup.** On keyup, the Enter that
|
|
642
648
|
* commits an IME composition arrives as a plain Enter and saved half-typed
|
|
@@ -663,6 +669,13 @@ export declare class AnduinInlineEdit extends LitElement {
|
|
|
663
669
|
disabled: boolean;
|
|
664
670
|
/** Clicking the view text also enters edit mode. */
|
|
665
671
|
clickToEdit: boolean;
|
|
672
|
+
/**
|
|
673
|
+
* Leaves the switcher out of the view (not rendered, not just hidden), for a
|
|
674
|
+
* value edited by clicking it (`click-to-edit`) or from elsewhere (`edit()`).
|
|
675
|
+
* Unlike `disabled` it changes nothing else: clicks, `edit()` and edit mode
|
|
676
|
+
* work as usual.
|
|
677
|
+
*/
|
|
678
|
+
hideSwitcher: boolean;
|
|
666
679
|
/** Tooltip and accessible name of the switcher. */
|
|
667
680
|
editLabel: string;
|
|
668
681
|
/** Property only. Runs on entering edit mode and on every keystroke. */
|
|
@@ -266,7 +266,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
266
266
|
.badge--bold-danger { background-color: var(--color-semantic-danger-4); color: var(--color-semantic-gray-0); }
|
|
267
267
|
.badge--bold-warning { background-color: var(--color-semantic-warning-3); color: var(--color-semantic-gray-8); }
|
|
268
268
|
.badge--hidden { display: none; }
|
|
269
|
-
`;function N5(r){return{gray:"badge--light-gray",primary:"badge--light-primary",success:"badge--light-success",warning:"badge--light-warning",danger:"badge--light-danger",boldGray:"badge--bold-gray",boldPrimary:"badge--bold-primary",boldSuccess:"badge--bold-success",boldWarning:"badge--bold-warning",boldDanger:"badge--bold-danger"}[r||"gray"]||"badge--light-gray"}const ue=class ue extends u{constructor(){super(...arguments),this.variant="gray"}render(){const e=N5(this.variant);return s`<div class="badge ${e}" part="badge"><slot></slot></div>`}};ue.styles=[F5];let M2=ue;q7([a()],M2.prototype,"variant"),customElements.get("anduin-badge")||customElements.define("anduin-badge",M2);var X7=Object.defineProperty,l3=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&X7(e,t,i),i};const ge=class ge extends u{constructor(){super(...arguments),this.variant="gray",this.count=0}formatCount(e){return e>99?"99+":e.toString()}render(){const e=N5(this.variant),t=this.count===0,o=this.count>0&&this.count<10,i=["badge",e,t?"badge--hidden":"",o?"badge--square":""].filter(Boolean).join(" ");return s`<div class="${i}" part="badge">${this.formatCount(this.count)}</div>`}};ge.styles=[F5];let Q1=ge;l3([a()],Q1.prototype,"variant"),l3([a({type:Number})],Q1.prototype,"count"),customElements.get("anduin-badge-count")||customElements.define("anduin-badge-count",Q1);var J7=Object.defineProperty,
|
|
269
|
+
`;function N5(r){return{gray:"badge--light-gray",primary:"badge--light-primary",success:"badge--light-success",warning:"badge--light-warning",danger:"badge--light-danger",boldGray:"badge--bold-gray",boldPrimary:"badge--bold-primary",boldSuccess:"badge--bold-success",boldWarning:"badge--bold-warning",boldDanger:"badge--bold-danger"}[r||"gray"]||"badge--light-gray"}const ue=class ue extends u{constructor(){super(...arguments),this.variant="gray"}render(){const e=N5(this.variant);return s`<div class="badge ${e}" part="badge"><slot></slot></div>`}};ue.styles=[F5];let M2=ue;q7([a()],M2.prototype,"variant"),customElements.get("anduin-badge")||customElements.define("anduin-badge",M2);var X7=Object.defineProperty,l3=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&X7(e,t,i),i};const ge=class ge extends u{constructor(){super(...arguments),this.variant="gray",this.count=0}formatCount(e){return e>99?"99+":e.toString()}render(){const e=N5(this.variant),t=this.count===0,o=this.count>0&&this.count<10,i=["badge",e,t?"badge--hidden":"",o?"badge--square":""].filter(Boolean).join(" ");return s`<div class="${i}" part="badge">${this.formatCount(this.count)}</div>`}};ge.styles=[F5];let Q1=ge;l3([a()],Q1.prototype,"variant"),l3([a({type:Number})],Q1.prototype,"count"),customElements.get("anduin-badge-count")||customElements.define("anduin-badge-count",Q1);var J7=Object.defineProperty,I=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&J7(e,t,i),i};function Q7(r){return r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const fe=class fe extends u{constructor(){super(...arguments),this.iconOnly=!1,this.appearance="filled",this.variant="",this.size="medium",this.disabled=!1,this.loading=!1,this.fullWidth=!1,this.pill=!1,this.selected=!1,this.href="",this.openNewTab=!1,this.download="",this.startIcon="",this.endIcon="",this.label=""}firstUpdated(){var t;const e=(t=this.shadowRoot)==null?void 0:t.querySelector("slot");e&&(this.iconOnly=e.assignedNodes({flatten:!0}).length===0)}onSlotChange(e){const t=e.target;this.iconOnly=t.assignedNodes({flatten:!0}).length===0}getVariant(){return this.variant?this.variant:this.appearance==="filled"?"gray0":this.appearance==="text"?"primary":"gray9"}getSizeKebab(){return Q7(this.size)}iconSize(){return this.size==="tiny"||this.size==="extraSmall"||this.size==="small"?"12":"16"}render(){const e=this.getVariant(),t=this.getSizeKebab(),o=["button",`button--${this.appearance}`,`button--${e}`,`button--${t}`,this.fullWidth?"button--full-width":"",this.pill?"button--pill":"",this.disabled?"button--disabled":"",this.loading?"button--loading":"",this.selected?"button--selected":"",this.iconOnly&&this.appearance!=="text"&&!this.fullWidth?"button--icon-only":""].filter(Boolean).join(" "),i=s`
|
|
270
270
|
<div class="button__content button__content--${t}">
|
|
271
271
|
${this.startIcon?s`<anduin-icon name="${this.startIcon}" size="${this.iconSize()}"></anduin-icon>`:p}
|
|
272
272
|
<slot @slotchange=${this.onSlotChange}></slot>
|
|
@@ -401,7 +401,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
401
401
|
.button--icon-only.button--small { width: 24px; min-width: 24px; padding-left: 0; padding-right: 0; }
|
|
402
402
|
.button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
|
|
403
403
|
.button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
|
|
404
|
-
`;let
|
|
404
|
+
`;let $=fe;I([b()],$.prototype,"iconOnly"),I([a({converter:r=>r||"filled"})],$.prototype,"appearance"),I([a()],$.prototype,"variant"),I([a()],$.prototype,"size"),I([a({type:Boolean})],$.prototype,"disabled"),I([a({type:Boolean})],$.prototype,"loading"),I([a({type:Boolean,attribute:"full-width",reflect:!0})],$.prototype,"fullWidth"),I([a({type:Boolean})],$.prototype,"pill"),I([a({type:Boolean})],$.prototype,"selected"),I([a()],$.prototype,"href"),I([a({type:Boolean,attribute:"open-new-tab"})],$.prototype,"openNewTab"),I([a()],$.prototype,"download"),I([a({attribute:"start-icon"})],$.prototype,"startIcon"),I([a({attribute:"end-icon"})],$.prototype,"endIcon"),I([a()],$.prototype,"label"),customElements.get("anduin-button")||customElements.define("anduin-button",$);var et=Object.defineProperty,tt=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&et(e,t,i),i};const ve=class ve extends u{constructor(){super(...arguments),this.variant="gray"}render(){return s`
|
|
405
405
|
<div class="callout callout--${this.variant}" part="callout">
|
|
406
406
|
<slot name="icon"></slot>
|
|
407
407
|
<div><slot></slot></div>
|
|
@@ -677,7 +677,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
677
677
|
line-height: 0;
|
|
678
678
|
}
|
|
679
679
|
.input__clear:hover { color: var(--color-gray-7); }
|
|
680
|
-
`;let
|
|
680
|
+
`;let O=k5;Y([a()],O.prototype,"value"),Y([a()],O.prototype,"size"),Y([a({type:Boolean})],O.prototype,"disabled"),Y([a({type:Boolean})],O.prototype,"readonly"),Y([a()],O.prototype,"placeholder"),Y([a()],O.prototype,"inputid"),Y([a()],O.prototype,"status"),Y([a({attribute:"start-icon"})],O.prototype,"startIcon"),Y([a({attribute:"end-icon"})],O.prototype,"endIcon"),Y([a({type:Boolean})],O.prototype,"clearable"),Y([R("input")],O.prototype,"inputEl"),customElements.get("anduin-input")||customElements.define("anduin-input",O);var ht=Object.defineProperty,C3=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&ht(e,t,i),i};const K5="anduin-tooltip:show",q2="anduin-tooltip:hide",W5="anduin-tooltip:trigger-mounted",Y5="anduin-tooltip:content-popup-mounted",q5="anduin-tooltip:content-popup-unmounted",X5="anduin-tooltip:visibility-changed",pt=["top-start","top-center","top-end","right-start","right-center","right-end","bottom-start","bottom-center","bottom-end","left-start","left-center","left-end"];function h3(r,e,t,o,i){switch(o){case"top-start":return{left:r.left,top:r.top-t-i};case"top-center":return{left:r.left+r.width/2-e/2,top:r.top-t-i};case"top-end":return{left:r.left+r.width-e,top:r.top-t-i};case"right-start":return{left:r.right+i,top:r.top};case"right-center":return{left:r.right+i,top:r.top+r.height/2-t/2};case"right-end":return{left:r.right+i,top:r.top+r.height-t};case"bottom-start":return{left:r.left,top:r.bottom+i};case"bottom-center":return{left:r.left+r.width/2-e/2,top:r.bottom+i};case"bottom-end":return{left:r.left+r.width-e,top:r.bottom+i};case"left-start":return{left:r.left-e-i,top:r.top};case"left-center":return{left:r.left-e-i,top:r.top+r.height/2-t/2};case"left-end":return{left:r.left-e-i,top:r.top+r.height-t};default:return{left:0,top:0}}}function p3(r,e){return e.right>=r.left&&e.left<=r.right&&e.top<=r.bottom&&e.bottom>=r.top}function u3(r,e){const t=Math.max(r.left,e.left),o=Math.max(r.top,e.top),i=Math.min(r.right,e.right),n=Math.min(r.bottom,e.bottom);return i<t||n<o?0:(i-t)*(n-o)}function ut(r,e,t,o=8){const i=window.innerWidth,n=window.innerHeight,l={left:0,top:0,right:i,bottom:n},d=e.width,C=e.height;if(!p3({left:r.left,top:r.top,right:r.right,bottom:r.bottom},l))return null;const h=h3(r,d,C,t,o),g=pt.map(y=>({p:y,off:h3(r,d,C,y,o)})).filter(({off:y})=>p3({left:y.left,top:y.top,right:y.left+d,bottom:y.top+C},l));if(g.length===0)return{placement:t,left:Math.round(Math.min(Math.max(h.left,0),i-d)),top:Math.round(Math.min(Math.max(h.top,0),n-C))};g.sort((y,x)=>{const L={left:y.off.left,top:y.off.top,right:y.off.left+d,bottom:y.off.top+C},m={left:x.off.left,top:x.off.top,right:x.off.left+d,bottom:x.off.top+C},Z=u3(L,l),k=u3(m,l);if(k!==Z)return k-Z;const B=Math.abs(y.off.left-h.left)+Math.abs(y.off.top-h.top),i1=Math.abs(x.off.left-h.left)+Math.abs(x.off.top-h.top);return B-i1});const{p:v,off:H}=g[0];return{placement:v,left:Math.round(Math.min(Math.max(H.left,0),i-d)),top:Math.round(Math.min(Math.max(H.top,0),n-C))}}function J5(r){return r.split("-")[0]||"top"}function gt(r,e,t){let o=!1,i=t.length-1;for(let n=0;n<t.length;n++){const l=t[n][0],d=t[n][1],C=t[i][0],h=t[i][1];d>e!=h>e&&r<(C-l)*(e-d)/(h-d)+l&&(o=!o),i=n}return o}const ke=class ke extends u{constructor(){super(...arguments),this.disabled=!1,this.placement="top-center",this.triggerElement=null,this.contentPopupElement=null,this.containingBlockLeft=0,this.containingBlockTop=0,this.rafId=0,this.prevTriggerTop=NaN,this.prevTriggerLeft=NaN,this.isVisible=!1}connectedCallback(){super.connectedCallback(),this.addEventListener(W5,e=>{e.stopPropagation(),this.triggerElement=e.detail,this.maybeStartPositionLoop()}),this.addEventListener(Y5,e=>{e.stopPropagation(),this.contentPopupElement=e.detail,this.computeContainingBlockOffset(this.contentPopupElement),this.maybeStartPositionLoop()}),this.addEventListener(q5,e=>{e.stopPropagation(),this.stopPositionLoop(),this.contentPopupElement=null}),this.addEventListener(K5,e=>{e.stopPropagation(),!this.disabled&&(this.isVisible=!0,this.broadcastVisibilityChanged(`show:${this.placement}`))}),this.addEventListener(q2,e=>{e.stopPropagation(),this.isVisible=!1,this.stopPositionLoop(),this.broadcastVisibilityChanged("hide")})}updated(e){e.has("disabled")&&this.disabled&&this.isVisible&&(this.isVisible=!1,this.stopPositionLoop(),this.broadcastVisibilityChanged("hide"))}disconnectedCallback(){super.disconnectedCallback(),this.stopPositionLoop(),this.triggerElement=null,this.contentPopupElement=null}maybeStartPositionLoop(){this.isVisible&&this.triggerElement&&this.contentPopupElement&&this.startPositionLoop()}startPositionLoop(){this.stopPositionLoop(),this.prevTriggerTop=NaN,this.prevTriggerLeft=NaN;const e=this.triggerElement,t=this.contentPopupElement,o=this.placement,i=()=>{const n=e.getBoundingClientRect();(n.top!==this.prevTriggerTop||n.left!==this.prevTriggerLeft)&&(this.prevTriggerTop=n.top,this.prevTriggerLeft=n.left,this.positionPopup(t,e,o)),this.rafId=requestAnimationFrame(i)};this.rafId=requestAnimationFrame(i)}stopPositionLoop(){this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=0),this.prevTriggerTop=NaN,this.prevTriggerLeft=NaN}computeContainingBlockOffset(e){const t=e,o=t.style.transform;t.style.transform="none";const i=e.getBoundingClientRect();this.containingBlockLeft=i.left,this.containingBlockTop=i.top,t.style.transform=o}positionPopup(e,t,o){const i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),l=ut(i,n,o,8);if(l){const d=e;d.style.transform=`translate(${l.left-this.containingBlockLeft}px, ${l.top-this.containingBlockTop}px)`;const C=J5(l.placement),h=J5(o);if(C!==h){const g=e.querySelector(".tooltip-arrow");g&&(g.classList.remove(`tooltip-arrow--${h}`),g.classList.add(`tooltip-arrow--${C}`))}}}broadcastVisibilityChanged(e){this.dispatchEvent(new CustomEvent(X5,{detail:e,bubbles:!1,composed:!1}))}render(){return s`<div class="tooltip-root" part="tooltip"><slot></slot></div>`}};ke.styles=f`
|
|
681
681
|
/* inline-flex, not inline-block: the wrapper is purely structural (it exists
|
|
682
682
|
to position the popup), so it must not add height of its own. As an
|
|
683
683
|
inline-block it establishes a line box, and an inline-level trigger sits
|
|
@@ -713,14 +713,14 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
713
713
|
.tooltip-arrow--bottom { top: -4px; left: 50%; transform: translateX(-50%); border-bottom-color: var(--tooltip-bg); border-top: none; }
|
|
714
714
|
.tooltip-arrow--left { right: -4px; top: 50%; transform: translateY(-50%); border-left-color: var(--tooltip-bg); border-right: none; }
|
|
715
715
|
.tooltip-arrow--right { left: -4px; top: 50%; transform: translateY(-50%); border-right-color: var(--tooltip-bg); border-left: none; }
|
|
716
|
-
`;let J2=Ee;customElements.get("anduin-tooltip")||customElements.define("anduin-tooltip",n2),customElements.get("anduin-tooltip-trigger")||customElements.define("anduin-tooltip-trigger",X2),customElements.get("anduin-tooltip-content")||customElements.define("anduin-tooltip-content",J2);var ft=Object.defineProperty,
|
|
716
|
+
`;let J2=Ee;customElements.get("anduin-tooltip")||customElements.define("anduin-tooltip",n2),customElements.get("anduin-tooltip-trigger")||customElements.define("anduin-tooltip-trigger",X2),customElements.get("anduin-tooltip-content")||customElements.define("anduin-tooltip-content",J2);var ft=Object.defineProperty,T=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&ft(e,t,i),i};const g3="anduin-inline-edit:save",f3="anduin-inline-edit:cancel",v3="anduin-inline-edit:edit",$e=class $e extends u{constructor(){super(...arguments),this.value="",this.placeholder="",this.size="medium",this.mode="view",this.disabled=!1,this.clickToEdit=!1,this.hideSwitcher=!1,this.editLabel="Edit",this._editing=!1,this._draft="",this._error="",this._hasSlotted=!1,this._openWidth=0}get editing(){return this._editing}async edit(){var e,t,o;this.disabled||(this._editing||(this._openWidth=((e=this._text)==null?void 0:e.getBoundingClientRect().width)??0,this._draft=this.value,this._error=this._runValidate(this.value),this._editing=!0,this.dispatchEvent(new CustomEvent(v3,{bubbles:!0,composed:!0}))),await this.updateComplete,(t=this._field)==null||t.focus(),(o=this._field)==null||o.select())}cancel(){this._editing&&(this._exit(),this.dispatchEvent(new CustomEvent(f3,{bubbles:!0,composed:!0})))}save(){if(!this._editing||this._error)return;const e=this._draft;if(e===this.value){this.cancel();return}this.value=e,this._exit(),this.dispatchEvent(new CustomEvent(g3,{detail:e,bubbles:!0,composed:!0}))}_exit(){this._editing=!1,this._draft=this.value,this._error=""}_runValidate(e){var t;return((t=this.validate)==null?void 0:t.call(this,e))||""}willUpdate(e){if(!this.hasUpdated){this.mode==="edit"&&!this.disabled&&(this._editing=!0,this._draft=this.value,this._error=this._runValidate(this.value));return}if(e.has("value")&&this._editing){const t=e.get("value");this._draft===t&&(this._draft=this.value,this._error=this._runValidate(this.value))}e.has("validate")&&this._editing&&(this._error=this._runValidate(this._draft)),e.has("disabled")&&this.disabled&&this._editing&&this._exit()}updated(){this.toggleAttribute("editing",this._editing)}_onInput(e){this._draft=e.target.value,this._error=this._runValidate(this._draft)}_onKeydown(e){e.isComposing||(e.key==="Enter"?(e.preventDefault(),e.stopPropagation(),this.save()):e.key==="Escape"&&(e.preventDefault(),e.stopPropagation(),this.cancel()))}_onTextClick(){this.clickToEdit&&!this.disabled&&this.edit()}_onSlotChange(e){const t=e.target;this._hasSlotted=t.assignedNodes({flatten:!0}).some(o=>{var i;return o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&!!((i=o.textContent)!=null&&i.trim())})}_renderView(){const e=!this.value,t=this.clickToEdit&&!this.disabled;return s`
|
|
717
717
|
<div class="view" part="view">
|
|
718
718
|
<span
|
|
719
719
|
class="text ${t?"text--clickable":""} ${e&&!this._hasSlotted?"text--placeholder":""}"
|
|
720
720
|
part="text"
|
|
721
721
|
@click=${this._onTextClick}
|
|
722
722
|
>${this._hasSlotted?p:e?this.placeholder:this.value}<slot @slotchange=${this._onSlotChange}></slot></span>
|
|
723
|
-
${this.disabled?p:s`
|
|
723
|
+
${this.disabled||this.hideSwitcher?p:s`
|
|
724
724
|
<anduin-tooltip class="switcher" part="switcher">
|
|
725
725
|
<anduin-tooltip-trigger>
|
|
726
726
|
<anduin-button
|
|
@@ -830,7 +830,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
830
830
|
.field--invalid, .field--invalid:focus { border-color: var(--color-danger-4); }
|
|
831
831
|
.field--small { min-height: 24px; padding-left: 6px; padding-right: 6px; }
|
|
832
832
|
.field--medium { min-height: 32px; padding-left: 12px; padding-right: 12px; }
|
|
833
|
-
`;let
|
|
833
|
+
`;let E=$e;T([a()],E.prototype,"value"),T([a()],E.prototype,"placeholder"),T([a()],E.prototype,"size"),T([a()],E.prototype,"mode"),T([a({type:Boolean,reflect:!0})],E.prototype,"disabled"),T([a({type:Boolean,attribute:"click-to-edit",reflect:!0})],E.prototype,"clickToEdit"),T([a({type:Boolean,attribute:"hide-switcher",reflect:!0})],E.prototype,"hideSwitcher"),T([a({attribute:"edit-label"})],E.prototype,"editLabel"),T([a({attribute:!1})],E.prototype,"validate"),T([b()],E.prototype,"_editing"),T([b()],E.prototype,"_draft"),T([b()],E.prototype,"_error"),T([b()],E.prototype,"_hasSlotted"),T([b()],E.prototype,"_openWidth"),T([R(".field")],E.prototype,"_field"),T([R(".text")],E.prototype,"_text"),customElements.get("anduin-inline-edit")||customElements.define("anduin-inline-edit",E);var vt=Object.defineProperty,H1=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&vt(e,t,i),i};const m3="anduin-textarea:change",R5=class R5 extends u{constructor(){super(...arguments),this.value="",this.disabled=!1,this.readonly=!1,this.placeholder="",this.inputid="",this.rows=3,this.status=""}connectedCallback(){super.connectedCallback();const e=this.closest("anduin-field");e&&e.addEventListener(s1,t=>{var i;const o=t;this.inputid&&this.inputid===o.detail&&((i=this.textareaEl)==null||i.focus())})}updated(){this.textareaEl&&this.textareaEl.value!==this.value&&(this.textareaEl.value=this.value)}_withTextarea(e){this.textareaEl?e(this.textareaEl):this.updateComplete.then(()=>{this.textareaEl&&e(this.textareaEl)})}focus(e){this.textareaEl?super.focus(e):this.updateComplete.then(()=>super.focus(e))}select(){this._withTextarea(e=>e.select())}setSelectionRange(e,t,o){this._withTextarea(i=>i.setSelectionRange(e,t,o))}onInput(){this.value=this.textareaEl.value,this.dispatchEvent(new CustomEvent(m3,{detail:this.value,bubbles:!0,composed:!0}))}render(){const e=this.status?`textarea--${this.status}`:"";return s`
|
|
834
834
|
<textarea
|
|
835
835
|
class="textarea
|
|
836
836
|
${this.disabled?"textarea--disabled":""}
|
|
@@ -1201,7 +1201,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
1201
1201
|
.well-close__button:active {
|
|
1202
1202
|
background-color: var(--color-gray-3);
|
|
1203
1203
|
}
|
|
1204
|
-
`;let t5=Fe;customElements.get("anduin-well")||customElements.define("anduin-well",S2),customElements.get("anduin-well-close")||customElements.define("anduin-well-close",t5);var xt=Object.defineProperty,D1=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&xt(e,t,i),i};const i5="anduin-popover:close",o5="anduin-popover:open-change",Ne=class Ne extends u{constructor(){super(...arguments),this.open=!1,this.placement="bottom-start",this.fullWidth=!1,this._visible=!1,this._closing=!1,this._closeTransitionEndHandler=null,this._onOutsideClick=e=>{e.composedPath().includes(this)||(this.open=!1)},this._onScrollOrResize=()=>{this.open&&this._updatePosition()},this._onPopoverClose=()=>{this.open=!1}}_onTriggerClick(){this.open=!this.open}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._onOutsideClick),window.addEventListener("scroll",this._onScrollOrResize,{passive:!0,capture:!0}),window.addEventListener("resize",this._onScrollOrResize),this.addEventListener(i5,this._onPopoverClose)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._onOutsideClick),window.removeEventListener("scroll",this._onScrollOrResize,{capture:!0}),window.removeEventListener("resize",this._onScrollOrResize),this.removeEventListener(i5,this._onPopoverClose)}updated(e){e.has("open")&&(this.dispatchEvent(new CustomEvent(o5,{detail:this.open,bubbles:!0,composed:!0})),this.open?(this._cancelCloseAnimation(),this._closing=!1,this._visible=!0,requestAnimationFrame(()=>this._updatePosition())):this._startCloseAnimation())}_cancelCloseAnimation(){this._closeTransitionEndHandler&&this._panelEl&&(this._panelEl.removeEventListener("transitionend",this._closeTransitionEndHandler),this._closeTransitionEndHandler=null),this._closing=!1}_startCloseAnimation(){if(!this._visible)return;this._closing=!0;const e=t=>{var o;t.propertyName==="opacity"&&((o=this._panelEl)==null||o.removeEventListener("transitionend",e),this._closeTransitionEndHandler=null,this._closing=!1,this._visible=!1)};this._closeTransitionEndHandler=e,requestAnimationFrame(()=>{var t;return(t=this._panelEl)==null?void 0:t.addEventListener("transitionend",e)})}_updatePosition(){const e=this._triggerEl,t=this._panelEl;if(!e||!t)return;const o=e.getBoundingClientRect(),i=t.style.transform;t.style.transform="none";const n=t.getBoundingClientRect();t.style.transform=i;const l=t.getBoundingClientRect(),d=4,C=window.innerWidth,h=window.innerHeight,g=8;let v=0,H=0,y="bottom";const x=!this.placement.startsWith("top"),L=h-o.bottom-d,m=o.top-d,Z=L>=l.height,k=m>=l.height,
|
|
1204
|
+
`;let t5=Fe;customElements.get("anduin-well")||customElements.define("anduin-well",S2),customElements.get("anduin-well-close")||customElements.define("anduin-well-close",t5);var xt=Object.defineProperty,D1=(r,e,t,o)=>{for(var i=void 0,n=r.length-1,l;n>=0;n--)(l=r[n])&&(i=l(e,t,i)||i);return i&&xt(e,t,i),i};const i5="anduin-popover:close",o5="anduin-popover:open-change",Ne=class Ne extends u{constructor(){super(...arguments),this.open=!1,this.placement="bottom-start",this.fullWidth=!1,this._visible=!1,this._closing=!1,this._closeTransitionEndHandler=null,this._onOutsideClick=e=>{e.composedPath().includes(this)||(this.open=!1)},this._onScrollOrResize=()=>{this.open&&this._updatePosition()},this._onPopoverClose=()=>{this.open=!1}}_onTriggerClick(){this.open=!this.open}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._onOutsideClick),window.addEventListener("scroll",this._onScrollOrResize,{passive:!0,capture:!0}),window.addEventListener("resize",this._onScrollOrResize),this.addEventListener(i5,this._onPopoverClose)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._onOutsideClick),window.removeEventListener("scroll",this._onScrollOrResize,{capture:!0}),window.removeEventListener("resize",this._onScrollOrResize),this.removeEventListener(i5,this._onPopoverClose)}updated(e){e.has("open")&&(this.dispatchEvent(new CustomEvent(o5,{detail:this.open,bubbles:!0,composed:!0})),this.open?(this._cancelCloseAnimation(),this._closing=!1,this._visible=!0,requestAnimationFrame(()=>this._updatePosition())):this._startCloseAnimation())}_cancelCloseAnimation(){this._closeTransitionEndHandler&&this._panelEl&&(this._panelEl.removeEventListener("transitionend",this._closeTransitionEndHandler),this._closeTransitionEndHandler=null),this._closing=!1}_startCloseAnimation(){if(!this._visible)return;this._closing=!0;const e=t=>{var o;t.propertyName==="opacity"&&((o=this._panelEl)==null||o.removeEventListener("transitionend",e),this._closeTransitionEndHandler=null,this._closing=!1,this._visible=!1)};this._closeTransitionEndHandler=e,requestAnimationFrame(()=>{var t;return(t=this._panelEl)==null?void 0:t.addEventListener("transitionend",e)})}_updatePosition(){const e=this._triggerEl,t=this._panelEl;if(!e||!t)return;const o=e.getBoundingClientRect(),i=t.style.transform;t.style.transform="none";const n=t.getBoundingClientRect();t.style.transform=i;const l=t.getBoundingClientRect(),d=4,C=window.innerWidth,h=window.innerHeight,g=8;let v=0,H=0,y="bottom";const x=!this.placement.startsWith("top"),L=h-o.bottom-d,m=o.top-d,Z=L>=l.height,k=m>=l.height,B=x?Z||L>=m:!k&&Z;y=B?"bottom":"top",H=B?o.bottom+d:o.top-l.height-d;const i1=this.placement.endsWith("end")?"end":this.placement.endsWith("start")?"start":"center";i1==="start"?v=o.left:i1==="end"?v=o.right-l.width:v=o.left+o.width/2-l.width/2,v=Math.max(g,Math.min(v,C-l.width-g)),H=Math.max(g,Math.min(H,h-l.height-g)),t.style.transform=`translate(${Math.round(v-n.left)}px, ${Math.round(H-n.top)}px)`,t.dataset.side=y}render(){return s`
|
|
1205
1205
|
<div class="popover__trigger" @click=${this._onTriggerClick} part="trigger">
|
|
1206
1206
|
<slot name="trigger"></slot>
|
|
1207
1207
|
</div>
|
|
@@ -2342,7 +2342,18 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
2342
2342
|
}
|
|
2343
2343
|
.trigger--small { height: 24px; padding: 0 6px 0 8px; font-size: 11px; font-weight: 500; }
|
|
2344
2344
|
|
|
2345
|
-
|
|
2345
|
+
/* Caret and × take the trigger's ink (0.0.62). Both used to be pinned to
|
|
2346
|
+
gray (caret gray-7, × gray-6), which matched only outlined/plain gray9:
|
|
2347
|
+
an outlined primary dropdown drew blue text and a blue border around a
|
|
2348
|
+
gray caret, and a filled primary one a gray caret on blue — so a filter
|
|
2349
|
+
switched to variant="primary" to show it is active looked half-styled.
|
|
2350
|
+
currentColor makes every variant's caret match its own label — the gray
|
|
2351
|
+
ones included. A first cut kept gray0/gray9 pinned to gray-7 so they
|
|
2352
|
+
would look exactly as before, but that preserved two bugs: filled gray9
|
|
2353
|
+
drew a gray-7 caret on its gray-7 fill (invisible), and filled gray0 a
|
|
2354
|
+
gray-7 caret beside gray-8 text. Outlined/plain gray9 are unchanged in
|
|
2355
|
+
practice, since their text is gray-7 already. */
|
|
2356
|
+
.trigger__chevron { display: flex; transition: opacity 100ms; color: currentColor; }
|
|
2346
2357
|
.trigger__clear {
|
|
2347
2358
|
position: absolute;
|
|
2348
2359
|
inset: 0;
|
|
@@ -2351,11 +2362,28 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
2351
2362
|
justify-content: center;
|
|
2352
2363
|
opacity: 0;
|
|
2353
2364
|
transition: opacity 100ms;
|
|
2354
|
-
color:
|
|
2365
|
+
color: currentColor;
|
|
2355
2366
|
border-radius: 3px;
|
|
2356
2367
|
}
|
|
2357
|
-
|
|
2358
|
-
|
|
2368
|
+
/* Hover/press plate on a coloured trigger: a tint of the ink itself, so it
|
|
2369
|
+
is a lighter blue under a white × on filled primary and a pale blue under
|
|
2370
|
+
a blue × on outlined primary. The gray variants' fixed gray-3 plate would
|
|
2371
|
+
put a white × on near-white on every filled variant. */
|
|
2372
|
+
.trigger__clear:hover { background-color: color-mix(in srgb, currentColor 16%, transparent); }
|
|
2373
|
+
.trigger__clear:active { background-color: color-mix(in srgb, currentColor 24%, transparent); }
|
|
2374
|
+
/* The × on the light-surface gray triggers keeps the subdued gray-6 at rest
|
|
2375
|
+
and gray-9 on a gray-3 plate when hovered, as before. Not filled gray9:
|
|
2376
|
+
its fill is gray-7, so a gray-6 × was as invisible there as the old
|
|
2377
|
+
caret; it takes currentColor (white) and the tint plate above. */
|
|
2378
|
+
.trigger--gray0 .trigger__clear,
|
|
2379
|
+
.trigger--outlined.trigger--gray9 .trigger__clear,
|
|
2380
|
+
.trigger--plain.trigger--gray9 .trigger__clear { color: var(--color-gray-6, #667085); }
|
|
2381
|
+
.trigger--gray0 .trigger__clear:hover,
|
|
2382
|
+
.trigger--outlined.trigger--gray9 .trigger__clear:hover,
|
|
2383
|
+
.trigger--plain.trigger--gray9 .trigger__clear:hover { color: var(--color-gray-9, #101828); background-color: var(--color-gray-3); }
|
|
2384
|
+
.trigger--gray0 .trigger__clear:active,
|
|
2385
|
+
.trigger--outlined.trigger--gray9 .trigger__clear:active,
|
|
2386
|
+
.trigger--plain.trigger--gray9 .trigger__clear:active { background-color: var(--color-gray-4); }
|
|
2359
2387
|
/* Scoped to --clearable so the chevron only fades when there is a × to
|
|
2360
2388
|
reveal: unscoped, it fades out to show a × that is not there and the caret
|
|
2361
2389
|
is simply gone while hovered. --clearable is set under exactly the
|
|
@@ -3603,7 +3631,7 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
3603
3631
|
<tbody>
|
|
3604
3632
|
${v.map(L=>s`
|
|
3605
3633
|
<tr>
|
|
3606
|
-
${L.map(m=>{if(m===null)return s`<td class="calendar__day-cell"></td>`;const Z=new Date(this._viewYear,this._viewMonth,m),k=V1(Z),
|
|
3634
|
+
${L.map(m=>{if(m===null)return s`<td class="calendar__day-cell"></td>`;const Z=new Date(this._viewYear,this._viewMonth,m),k=V1(Z),B=Z.getTime(),i1=this._isDisabled(Z),F2=!!o&&B===o.getTime(),m1=!!i&&B===i.getTime(),v7=!!o&&!!i&&B>o.getTime()&&B<i.getTime(),m7=!n&&!!t&&B===t.getTime(),C0=["calendar__day-cell",v7?"calendar__day-cell--in-range":"",F2&&i?"calendar__day-cell--range-start":"",m1&&o?"calendar__day-cell--range-end":""].filter(Boolean).join(" "),h0=["calendar__day-button",k===e?"calendar__day-button--today":"",m7?"calendar__day-button--selected":"",F2?"calendar__day-button--range-start":"",m1?"calendar__day-button--range-end":"",v7?"calendar__day-button--in-range":"",i1?"calendar__day-button--disabled":""].filter(Boolean).join(" ");return s`
|
|
3607
3635
|
<td
|
|
3608
3636
|
class="${C0}"
|
|
3609
3637
|
role="gridcell"
|
|
@@ -3862,12 +3890,12 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
3862
3890
|
@dblclick=${m=>this.onResizeReset(m,e,t)}
|
|
3863
3891
|
@click=${m=>m.stopPropagation()}
|
|
3864
3892
|
></span>
|
|
3865
|
-
`:p;if(v1(e)){const m=this.renderSelectableRows,Z=this.renderSelectedKeys,k=m.filter(m1=>Z.has(m1.key)).length,
|
|
3893
|
+
`:p;if(v1(e)){const m=this.renderSelectableRows,Z=this.renderSelectedKeys,k=m.filter(m1=>Z.has(m1.key)).length,B=m.length>0&&k===m.length,i1=k>0&&!B,F2=e.renderHeader?e.renderHeader({areAllRowsSelected:B,hasSelectedRow:k>0,onChange:m1=>this.toggleAllRows(m1)}):s`
|
|
3866
3894
|
<anduin-checkbox
|
|
3867
|
-
.checked=${
|
|
3895
|
+
.checked=${B}
|
|
3868
3896
|
.indeterminate=${i1}
|
|
3869
|
-
aria-label="${
|
|
3870
|
-
@anduin-checkbox:change=${m1=>{m1.stopPropagation(),this.toggleAllRows(!
|
|
3897
|
+
aria-label="${B?"Deselect all rows":"Select all rows"}"
|
|
3898
|
+
@anduin-checkbox:change=${m1=>{m1.stopPropagation(),this.toggleAllRows(!B)}}
|
|
3871
3899
|
></anduin-checkbox>
|
|
3872
3900
|
`;return s`
|
|
3873
3901
|
<th
|
|
@@ -4369,4 +4397,4 @@ var AclWebComponents=(function(c){"use strict";var f7,M1;const b7=':root{--color
|
|
|
4369
4397
|
background-color: oklch(from var(--color-gray-0) l c h / 0.6);
|
|
4370
4398
|
cursor: progress;
|
|
4371
4399
|
}
|
|
4372
|
-
`;let _=$4;if(V([a({attribute:!1})],_.prototype,"columns"),V([a({attribute:!1})],_.prototype,"data"),V([a({reflect:!0})],_.prototype,"layout"),V([a({attribute:"render-mode",reflect:!0})],_.prototype,"renderMode"),V([a({type:Number,attribute:"row-height"})],_.prototype,"rowHeight"),V([a()],_.prototype,"height"),V([a({attribute:"max-height"})],_.prototype,"maxHeight"),V([a({attribute:"min-height"})],_.prototype,"minHeight"),V([a({attribute:"resizable-columns",converter:r=>r!=="false"})],_.prototype,"resizableColumns"),V([a({type:Boolean,attribute:"hide-header",reflect:!0})],_.prototype,"hideHeader"),V([a({type:Boolean,reflect:!0})],_.prototype,"loading"),V([a({reflect:!0})],_.prototype,"selectable"),V([a({attribute:"index-column"})],_.prototype,"indexColumn"),V([a({attribute:"column-align"})],_.prototype,"columnAlign"),V([a({attribute:"column-vertical-align"})],_.prototype,"columnVerticalAlign"),V([a({attribute:"sort-field"})],_.prototype,"sortField"),V([a({attribute:"sort-direction"})],_.prototype,"sortDirection"),V([a({type:Boolean,attribute:"data-tree",reflect:!0})],_.prototype,"dataTree"),V([a({attribute:"tree-children-field"})],_.prototype,"treeChildrenField"),V([a({type:Number,attribute:"tree-child-indent"})],_.prototype,"treeChildIndent"),V([a({attribute:"group-by"})],_.prototype,"groupBy"),V([a({attribute:!1})],_.prototype,"selectedRows"),V([a({attribute:!1})],_.prototype,"isRowDisabled"),V([a({attribute:!1})],_.prototype,"onStartExpanded"),V([a({attribute:!1})],_.prototype,"rowClass"),V([a({attribute:!1})],_.prototype,"renderGroupHeader"),V([b()],_.prototype,"expandedKeys"),V([b()],_.prototype,"collapsedGroups"),V([b()],_.prototype,"virtualScrollTop"),V([b()],_.prototype,"viewportHeight"),V([b()],_.prototype,"scrolledX"),V([b()],_.prototype,"scrollableXEnd"),V([b()],_.prototype,"resizedWidths"),V([b()],_.prototype,"resizingKey"),customElements.get("anduin-table")||customElements.define("anduin-table",_),typeof document<"u"&&!document.getElementById("acl-tokens")){const r=document.createElement("style");r.id="acl-tokens",r.textContent=b7,document.head.appendChild(r)}return c.AnduinAiSpinner=S1,c.AnduinAvatar=Q,c.AnduinBadge=M2,c.AnduinBadgeCount=Q1,c.AnduinButton
|
|
4400
|
+
`;let _=$4;if(V([a({attribute:!1})],_.prototype,"columns"),V([a({attribute:!1})],_.prototype,"data"),V([a({reflect:!0})],_.prototype,"layout"),V([a({attribute:"render-mode",reflect:!0})],_.prototype,"renderMode"),V([a({type:Number,attribute:"row-height"})],_.prototype,"rowHeight"),V([a()],_.prototype,"height"),V([a({attribute:"max-height"})],_.prototype,"maxHeight"),V([a({attribute:"min-height"})],_.prototype,"minHeight"),V([a({attribute:"resizable-columns",converter:r=>r!=="false"})],_.prototype,"resizableColumns"),V([a({type:Boolean,attribute:"hide-header",reflect:!0})],_.prototype,"hideHeader"),V([a({type:Boolean,reflect:!0})],_.prototype,"loading"),V([a({reflect:!0})],_.prototype,"selectable"),V([a({attribute:"index-column"})],_.prototype,"indexColumn"),V([a({attribute:"column-align"})],_.prototype,"columnAlign"),V([a({attribute:"column-vertical-align"})],_.prototype,"columnVerticalAlign"),V([a({attribute:"sort-field"})],_.prototype,"sortField"),V([a({attribute:"sort-direction"})],_.prototype,"sortDirection"),V([a({type:Boolean,attribute:"data-tree",reflect:!0})],_.prototype,"dataTree"),V([a({attribute:"tree-children-field"})],_.prototype,"treeChildrenField"),V([a({type:Number,attribute:"tree-child-indent"})],_.prototype,"treeChildIndent"),V([a({attribute:"group-by"})],_.prototype,"groupBy"),V([a({attribute:!1})],_.prototype,"selectedRows"),V([a({attribute:!1})],_.prototype,"isRowDisabled"),V([a({attribute:!1})],_.prototype,"onStartExpanded"),V([a({attribute:!1})],_.prototype,"rowClass"),V([a({attribute:!1})],_.prototype,"renderGroupHeader"),V([b()],_.prototype,"expandedKeys"),V([b()],_.prototype,"collapsedGroups"),V([b()],_.prototype,"virtualScrollTop"),V([b()],_.prototype,"viewportHeight"),V([b()],_.prototype,"scrolledX"),V([b()],_.prototype,"scrollableXEnd"),V([b()],_.prototype,"resizedWidths"),V([b()],_.prototype,"resizingKey"),customElements.get("anduin-table")||customElements.define("anduin-table",_),typeof document<"u"&&!document.getElementById("acl-tokens")){const r=document.createElement("style");r.id="acl-tokens",r.textContent=b7,document.head.appendChild(r)}return c.AnduinAiSpinner=S1,c.AnduinAvatar=Q,c.AnduinBadge=M2,c.AnduinBadgeCount=Q1,c.AnduinButton=$,c.AnduinCalendar=N,c.AnduinCallout=w2,c.AnduinCheckbox=d1,c.AnduinDateInput=z,c.AnduinDatePicker=D,c.AnduinDateRange=t1,c.AnduinDateRangeDefault=w5,c.AnduinDateRangeEnd=o7,c.AnduinDateRangePanel=I2,c.AnduinDateRangeStart=i7,c.AnduinDivider=e2,c.AnduinDot=Z2,c.AnduinDrawer=K,c.AnduinDrawerClose=I3,c.AnduinDropdown=M,c.AnduinField=R2,c.AnduinFieldDescription=K2,c.AnduinFieldError=W2,c.AnduinFieldGroup=Y2,c.AnduinFieldLabel=o2,c.AnduinFileIcon=s2,c.AnduinIcon=J1,c.AnduinInlineEdit=E,c.AnduinInput=O,c.AnduinLoadingState=k2,c.AnduinMenu=_1,c.AnduinMenuItem=T1,c.AnduinModal=k3,c.AnduinModalClose=R3,c.AnduinNavigation=p1,c.AnduinNavigationItem=l1,c.AnduinPagination=u1,c.AnduinPaginationFirstPage=Y3,c.AnduinPaginationLastPage=q3,c.AnduinPopover=J,c.AnduinPopoverClose=n5,c.AnduinProgress=t2,c.AnduinRadio=r1,c.AnduinRadioGroup=I1,c.AnduinResizableHandle=U1,c.AnduinResizablePanel=G1,c.AnduinResizablePanelGroup=z2,c.AnduinSidebar=m5,c.AnduinSidebarAction=L5,c.AnduinSidebarBadge=V5,c.AnduinSidebarContent=b5,c.AnduinSidebarFooter=B2,c.AnduinSidebarGroup=y5,c.AnduinSidebarGroupLabel=H5,c.AnduinSidebarHeader=T2,c.AnduinSidebarMenu=_5,c.AnduinSidebarMenuItem=g1,c.AnduinSidebarSeparator=x5,c.AnduinSkeleton=o1,c.AnduinSparkleSpinner=X1,c.AnduinSpinner=q1,c.AnduinSuggestion=w,c.AnduinSwitcher=c2,c.AnduinTabContent=l2,c.AnduinTabTrigger=n1,c.AnduinTable=_,c.AnduinTabs=A1,c.AnduinTabsList=r2,c.AnduinTag=z1,c.AnduinTagClose=Q2,c.AnduinTextarea=W,c.AnduinTimeline=h5,c.AnduinTimelineDate=u5,c.AnduinTimelineGroup=f5,c.AnduinTimelineItem=p5,c.AnduinTimelineLabel=v5,c.AnduinTimelineTitle=g5,c.AnduinToast=C1,c.AnduinToaster=d2,c.AnduinToggleGroup=q,c.AnduinToggleGroupItem=X,c.AnduinTooltip=n2,c.AnduinTooltipContent=J2,c.AnduinTooltipTrigger=X2,c.AnduinWell=S2,c.AnduinWellClose=t5,c.BADGE_STYLES=F5,c.CALENDAR_CHANGE=p2,c.CALENDAR_DAY_HOVER=M5,c.CHECKBOX_CHANGE=d3,c.DATE_INPUT_CHANGE=Z5,c.DATE_PICKER_CHANGE=r7,c.DATE_RANGE_CHANGE=t7,c.DRAWER_AFTER_CLOSE_EVENT=s5,c.DRAWER_CLOSE_EVENT=C2,c.DROPDOWN_CHANGE=ae,c.FIELD_LABEL_CLICK=U5,c.FIELD_LABEL_CLICK_COORDINATED=s1,c.FILE_ICONS=S3,c.INLINE_EDIT_CANCEL=f3,c.INLINE_EDIT_EDIT=v3,c.INLINE_EDIT_SAVE=g3,c.INPUT_CHANGE=j5,c.INPUT_CLEAR=c3,c.MENU_ITEM_CLICK=r5,c.MODAL_AFTER_CLOSE_EVENT=l5,c.MODAL_CLOSE_EVENT=a2,c.NAVIGATION_CHANGE=N3,c.NAVIGATION_ITEM_CLICK=c5,c.PAGINATION_CHANGE=W3,c.PAGINATION_JUMP=C5,c.POPOVER_CLOSE=i5,c.POPOVER_OPEN_CHANGE=o5,c.RADIO_CHANGE=a5,c.RADIO_GROUP_CHANGE=E3,c.RESIZE_EVENT=G3,c.SIDEBAR_SELECT=X3,c.SUGGESTION_CHANGE=d5,c.SUGGESTION_CLEAR=F3,c.SUGGESTION_SELECT=O3,c.SWITCHER_CHANGE=T3,c.TABLE_CELL_CONTEXT_MENU=C7,c.TABLE_COLUMN_CLICK=s7,c.TABLE_COLUMN_RESIZE=de,c.TABLE_GROUP_TOGGLE=u7,c.TABLE_ROW_CLICK=d7,c.TABLE_ROW_COLLAPSE=p7,c.TABLE_ROW_EXPAND=h7,c.TABLE_SELECTION_CHANGE=c7,c.TABLE_SORT=a7,c.TAB_CHANGE=b3,c.TAB_TRIGGER_CLICK=Q5,c.TAB_VALUE_CHANGED=$2,c.TAG_CLOSE_CLICK=y3,c.TEXTAREA_CHANGE=m3,c.TOGGLE_GROUP_CHANGE=H3,c.TOGGLE_GROUP_ITEM_CHANGE=_3,c.TOGGLE_GROUP_ITEM_CLICK=e5,c.TOGGLE_GROUP_ITEM_DESELECT=V3,c.TOGGLE_GROUP_ITEM_SELECT=L3,c.TOOLTIP_CONTENT_POPUP_MOUNTED=Y5,c.TOOLTIP_CONTENT_POPUP_UNMOUNTED=q5,c.TOOLTIP_HIDE=q2,c.TOOLTIP_SHOW=K5,c.TOOLTIP_TRIGGER_MOUNTED=W5,c.TOOLTIP_VISIBILITY_CHANGED=X5,c.WELL_CLOSE_CLICK=x3,c.addMonths=f1,c.formatISODate=V1,c.getBadgeVariantClass=N5,c.parseISODate=P,c.resolveFileIcon=A3,c.startOfToday=K1,c.toast=Ot,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}),c})({});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as i, a as e, b as r, c, d as l, e as d, f as t, g as A, h as p, i as u, j as E, k as g, l as T, m as _, n as C, o as h, p as x, q as I, r as k, s as L, t as O, u as b, v as m, w as N, x as G, y as S, z as R, B as D, C as P, D as y, E as H, F as U, G as w, H as B, I as M, J as f, K as z, L as F, M as V, N as K, O as v, P as W, Q as X, R as Y, S as Z, T as j, U as q, V as J, W as Q, X as $, Y as aa, Z as na, _ as oa, $ as sa, a0 as ia, a1 as ea, a2 as ra, a3 as ca, a4 as la, a5 as da, a6 as ta, a7 as Aa, a8 as pa, a9 as ua, aa as Ea, ab as ga, ac as Ta, ad as _a, ae as Ca, af as ha, ag as xa, ah as Ia, ai as ka, aj as La, ak as Oa, al as ba, am as ma, an as Na, ao as Ga, ap as Sa, aq as Ra, ar as Da, as as Pa, at as ya, au as Ha, av as Ua, aw as wa, ax as Ba, ay as Ma, az as fa, aA as za, aB as Fa, aC as Va, aD as Ka, aE as va, aF as Wa, aG as Xa, aH as Ya, aI as Za, aJ as ja, aK as qa, aL as Ja, aM as Qa, aN as $a, aO as an, aP as nn, aQ as on, aR as sn, aS as en, aT as rn, aU as cn, aV as ln, aW as dn, aX as tn, aY as An, aZ as pn, a_ as un, a$ as En, b0 as gn, b1 as Tn, b2 as _n, b3 as Cn, b4 as hn, b5 as xn, b6 as In, b7 as kn, b8 as Ln, b9 as On, ba as bn, bb as mn, bc as Nn, bd as Gn, be as Sn, bf as Rn, bg as Dn, bh as Pn, bi as yn, bj as Hn, bk as Un, bl as wn, bm as Bn, bn as Mn, bo as fn, bp as zn, bq as Fn, br as Vn, bs as Kn, bt as vn, bu as Wn, bv as Xn, bw as Yn, bx as Zn, by as jn, bz as qn } from "./anduin-table-
|
|
1
|
+
import { A as i, a as e, b as r, c, d as l, e as d, f as t, g as A, h as p, i as u, j as E, k as g, l as T, m as _, n as C, o as h, p as x, q as I, r as k, s as L, t as O, u as b, v as m, w as N, x as G, y as S, z as R, B as D, C as P, D as y, E as H, F as U, G as w, H as B, I as M, J as f, K as z, L as F, M as V, N as K, O as v, P as W, Q as X, R as Y, S as Z, T as j, U as q, V as J, W as Q, X as $, Y as aa, Z as na, _ as oa, $ as sa, a0 as ia, a1 as ea, a2 as ra, a3 as ca, a4 as la, a5 as da, a6 as ta, a7 as Aa, a8 as pa, a9 as ua, aa as Ea, ab as ga, ac as Ta, ad as _a, ae as Ca, af as ha, ag as xa, ah as Ia, ai as ka, aj as La, ak as Oa, al as ba, am as ma, an as Na, ao as Ga, ap as Sa, aq as Ra, ar as Da, as as Pa, at as ya, au as Ha, av as Ua, aw as wa, ax as Ba, ay as Ma, az as fa, aA as za, aB as Fa, aC as Va, aD as Ka, aE as va, aF as Wa, aG as Xa, aH as Ya, aI as Za, aJ as ja, aK as qa, aL as Ja, aM as Qa, aN as $a, aO as an, aP as nn, aQ as on, aR as sn, aS as en, aT as rn, aU as cn, aV as ln, aW as dn, aX as tn, aY as An, aZ as pn, a_ as un, a$ as En, b0 as gn, b1 as Tn, b2 as _n, b3 as Cn, b4 as hn, b5 as xn, b6 as In, b7 as kn, b8 as Ln, b9 as On, ba as bn, bb as mn, bc as Nn, bd as Gn, be as Sn, bf as Rn, bg as Dn, bh as Pn, bi as yn, bj as Hn, bk as Un, bl as wn, bm as Bn, bn as Mn, bo as fn, bp as zn, bq as Fn, br as Vn, bs as Kn, bt as vn, bu as Wn, bv as Xn, bw as Yn, bx as Zn, by as jn, bz as qn } from "./anduin-table-DGYFCUkj.js";
|
|
2
2
|
const n = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-purple-50: oklch(.9676 .016 286.1);--color-purple-100: oklch(.9434 .0255 288.32);--color-purple-200: oklch(.8927 .0519 287.71);--color-purple-300: oklch(.81 .0925 287.61);--color-purple-400: oklch(.7048 .1478 287.77);--color-purple-500: oklch(.5961 .2043 286.53);--color-purple-600: oklch(.5316 .2303 286.64);--color-purple-700: oklch(.471 .2307 285.3);--color-purple-800: oklch(.4148 .2014 285.43);--color-purple-900: oklch(.3654 .17 286.37);--color-purple-950: oklch(.2734 .1288 284.42);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-12: 12px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
|
|
3
3
|
if (typeof document < "u" && !document.getElementById("acl-tokens")) {
|
|
4
4
|
const a = document.createElement("style");
|