@reapit/elements 5.0.0-beta.67 → 5.0.0-beta.68
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/js/{anchor-positioning-CmSZkNof.cjs → anchor-positioning-B-1bVP2v.cjs} +7 -7
- package/dist/js/{anchor-positioning-B3GGsbFM.js → anchor-positioning-mAfJClCi.js} +39 -36
- package/dist/js/{app-switcher-DNyr8R9j.js → app-switcher-B3Gme35H.js} +3 -3
- package/dist/js/{app-switcher-Da0jpH_0.cjs → app-switcher-alq1ioRt.cjs} +1 -1
- package/dist/js/{at-a-glance-N68VKcxo.cjs → at-a-glance-Bowg_R7J.cjs} +1 -1
- package/dist/js/{at-a-glance-B0WukTyX.js → at-a-glance-Bvs_m_s8.js} +1 -1
- package/dist/js/{autocomplete-Cbhl4kCC.cjs → autocomplete-BXNYfkuS.cjs} +1 -1
- package/dist/js/{autocomplete-Cjqj5b4A.js → autocomplete-BY50e2OI.js} +2 -2
- package/dist/js/{autocomplete-control-B1yvpZcw.cjs → autocomplete-control-7AtK271I.cjs} +1 -1
- package/dist/js/{autocomplete-control-tyu0N1_5.js → autocomplete-control-D3qPiyZB.js} +1 -1
- package/dist/js/{badge-C9eQWVc1.cjs → badge-BvLnt-2S.cjs} +1 -1
- package/dist/js/{badge-BH7WvutW.js → badge-C_Za5PMD.js} +1 -1
- package/dist/js/{bottom-bar-CiDA0QAt.js → bottom-bar-DIdKkbsi.js} +1 -1
- package/dist/js/{bottom-bar-y_VAqgE3.cjs → bottom-bar-DeODIkXt.cjs} +1 -1
- package/dist/js/{combobox-BMcjE-Hz.js → combobox-1az8akBD.js} +43 -45
- package/dist/js/combobox-DEZrdZM-.cjs +1 -0
- package/dist/js/{compact-select-CGGyCX2N.cjs → compact-select-BAqO95r3.cjs} +1 -1
- package/dist/js/{compact-select-B-fRAGbk.js → compact-select-Cj_eJ_Gk.js} +3 -3
- package/dist/js/core/app-switcher.cjs +1 -1
- package/dist/js/core/app-switcher.js +1 -1
- package/dist/js/core/at-a-glance.cjs +1 -1
- package/dist/js/core/at-a-glance.js +1 -1
- package/dist/js/core/autocomplete-control.cjs +1 -1
- package/dist/js/core/autocomplete-control.js +1 -1
- package/dist/js/core/autocomplete.cjs +1 -1
- package/dist/js/core/autocomplete.js +1 -1
- package/dist/js/core/badge.cjs +1 -1
- package/dist/js/core/badge.js +1 -1
- package/dist/js/core/bottom-bar.cjs +1 -1
- package/dist/js/core/bottom-bar.js +1 -1
- package/dist/js/core/combobox.cjs +1 -1
- package/dist/js/core/combobox.js +30 -31
- package/dist/js/core/compact-select.cjs +1 -1
- package/dist/js/core/compact-select.js +1 -1
- package/dist/js/core/dialog.cjs +1 -1
- package/dist/js/core/dialog.js +3 -3
- package/dist/js/core/drawer.cjs +1 -1
- package/dist/js/core/drawer.js +12 -12
- package/dist/js/core/features.cjs +1 -1
- package/dist/js/core/features.js +1 -1
- package/dist/js/core/menu.cjs +1 -1
- package/dist/js/core/menu.js +1 -1
- package/dist/js/core/office-switcher.cjs +1 -1
- package/dist/js/core/office-switcher.js +128 -34
- package/dist/js/core/section-message.cjs +1 -1
- package/dist/js/core/section-message.js +1 -1
- package/dist/js/core/select-control.cjs +1 -1
- package/dist/js/core/select-control.js +1 -1
- package/dist/js/core/select.cjs +1 -1
- package/dist/js/core/select.js +1 -1
- package/dist/js/core/side-bar.cjs +1 -1
- package/dist/js/core/side-bar.js +1 -1
- package/dist/js/core/split-button.cjs +1 -1
- package/dist/js/core/split-button.js +1 -1
- package/dist/js/core/table.cjs +1 -1
- package/dist/js/core/table.js +1 -1
- package/dist/js/core/tooltip.cjs +1 -1
- package/dist/js/core/tooltip.js +1 -1
- package/dist/js/core/top-bar.cjs +1 -1
- package/dist/js/core/top-bar.js +1 -1
- package/dist/js/dialog-X9q5RTrQ.js +121 -0
- package/dist/js/dialog-j6m9UOwL.cjs +1 -0
- package/dist/js/drawer-DeMe2YSy.cjs +1 -0
- package/dist/js/drawer-n8sZIGeL.js +202 -0
- package/dist/js/{features-xa9s_F2X.cjs → features-DDWY0bS-.cjs} +1 -1
- package/dist/js/{features-DPy7FK5b.js → features-xSaxyxVa.js} +1 -1
- package/dist/js/index.cjs +1 -1
- package/dist/js/index.js +473 -472
- package/dist/js/lab/select-custom.cjs +1 -1
- package/dist/js/lab/select-custom.js +2 -2
- package/dist/js/{line-clamp-CcqDlxOD.js → line-clamp-B8Z8vzU2.js} +1 -1
- package/dist/js/{line-clamp-BHxcW-g_.cjs → line-clamp-xEX76LvR.cjs} +1 -1
- package/dist/js/{listbox-DaqNCLTr.js → listbox-LxpZYH0B.js} +7 -7
- package/dist/js/listbox-uSbN6RQG.cjs +1 -0
- package/dist/js/{menu-BB1lyDsI.cjs → menu-C5zczNsx.cjs} +1 -1
- package/dist/js/{menu-DUQjcwNM.js → menu-CP0Bep1V.js} +1 -1
- package/dist/js/popover-Xyg0sgru.cjs +1 -0
- package/dist/js/{popover-BWnbK_dO.js → popover-dzUc2bK7.js} +21 -19
- package/dist/js/{section-message-79DbPIVf.cjs → section-message-Bn33yi2F.cjs} +1 -1
- package/dist/js/{section-message-DhkYCDQk.js → section-message-CEzwuyor.js} +1 -1
- package/dist/js/{select-C9m1ujim.js → select-BUeFgouh.js} +2 -2
- package/dist/js/{select-C8XEaJmE.cjs → select-BlpaGf5-.cjs} +1 -1
- package/dist/js/{select-control-CNKEx3wt.js → select-control-BlU3KNOJ.js} +3 -3
- package/dist/js/{select-control-C5inPWYx.cjs → select-control-DlaKfZ3x.cjs} +1 -1
- package/dist/js/{side-bar-q0Dapddc.cjs → side-bar-BkE4eONG.cjs} +1 -1
- package/dist/js/{side-bar-CsPEFLGc.js → side-bar-D6aRZHCV.js} +1 -1
- package/dist/js/{split-button-GzVuhKx-.cjs → split-button-Bnyv8DHF.cjs} +1 -1
- package/dist/js/{split-button-DHHUZ-41.js → split-button-CrofNP3Q.js} +1 -1
- package/dist/js/style.css +1 -1
- package/dist/js/{table-BVLzp-xe.js → table-2CxL0Pev.js} +1 -1
- package/dist/js/{table-skEBWgL8.cjs → table-WHyA-HQG.cjs} +1 -1
- package/dist/js/{tooltip-9vKZqx5w.cjs → tooltip-BU8hYqZ9.cjs} +1 -1
- package/dist/js/{tooltip-C2y49rDB.js → tooltip-Bj7DqYdo.js} +1 -1
- package/dist/js/{top-bar-BnR_HVWD.js → top-bar-BvxpBZri.js} +2 -2
- package/dist/js/{top-bar-CXJfqax_.cjs → top-bar-CjUR7fhL.cjs} +1 -1
- package/dist/js/utils/anchor-positioning.cjs +1 -1
- package/dist/js/utils/anchor-positioning.js +1 -1
- package/dist/js/utils/dialog.cjs +1 -0
- package/dist/js/utils/dialog.js +9 -0
- package/dist/js/utils/line-clamp.cjs +1 -1
- package/dist/js/utils/line-clamp.js +1 -1
- package/dist/js/utils/listbox.cjs +1 -1
- package/dist/js/utils/listbox.js +1 -1
- package/dist/js/utils/popover.cjs +1 -1
- package/dist/js/utils/popover.js +2 -2
- package/dist/types/core/combobox/popup-dialog/event-handlers.d.ts +0 -15
- package/dist/types/core/combobox/popup-dialog/event-handlers.d.ts.map +1 -1
- package/dist/types/core/combobox/popup-dialog/popup-dialog.d.ts.map +1 -1
- package/dist/types/core/dialog/dialog.d.ts +13 -18
- package/dist/types/core/dialog/dialog.d.ts.map +1 -1
- package/dist/types/core/dialog/dialog.stories.d.ts +25 -0
- package/dist/types/core/dialog/dialog.stories.d.ts.map +1 -1
- package/dist/types/core/dialog/styles.d.ts +1 -6
- package/dist/types/core/dialog/styles.d.ts.map +1 -1
- package/dist/types/core/drawer/drawer.d.ts +13 -18
- package/dist/types/core/drawer/drawer.d.ts.map +1 -1
- package/dist/types/core/drawer/drawer.stories.d.ts +25 -0
- package/dist/types/core/drawer/drawer.stories.d.ts.map +1 -1
- package/dist/types/core/drawer/styles.d.ts +1 -1
- package/dist/types/core/drawer/styles.d.ts.map +1 -1
- package/dist/types/core/office-switcher/__tests__/office-switcher-select-optgroup.test.d.ts +2 -0
- package/dist/types/core/office-switcher/__tests__/office-switcher-select-optgroup.test.d.ts.map +1 -0
- package/dist/types/core/office-switcher/__tests__/office-switcher-select-option.test.d.ts +2 -0
- package/dist/types/core/office-switcher/__tests__/office-switcher-select-option.test.d.ts.map +1 -0
- package/dist/types/core/office-switcher/index.d.ts +4 -0
- package/dist/types/core/office-switcher/index.d.ts.map +1 -1
- package/dist/types/core/office-switcher/office-group/__tests__/office-group-summary.test.d.ts +2 -0
- package/dist/types/core/office-switcher/office-group/__tests__/office-group-summary.test.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/__tests__/office-group.test.d.ts +2 -0
- package/dist/types/core/office-switcher/office-group/__tests__/office-group.test.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/index.d.ts +4 -0
- package/dist/types/core/office-switcher/office-group/index.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/office-group-summary.d.ts +22 -0
- package/dist/types/core/office-switcher/office-group/office-group-summary.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/office-group.d.ts +20 -0
- package/dist/types/core/office-switcher/office-group/office-group.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/office-group.stories.d.ts +20 -0
- package/dist/types/core/office-switcher/office-group/office-group.stories.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-group/styles.d.ts +5 -0
- package/dist/types/core/office-switcher/office-group/styles.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-item/__tests__/office-item.test.d.ts +2 -0
- package/dist/types/core/office-switcher/office-item/__tests__/office-item.test.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-item/index.d.ts +3 -0
- package/dist/types/core/office-switcher/office-item/index.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-item/office-item.d.ts +18 -0
- package/dist/types/core/office-switcher/office-item/office-item.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-item/office-item.stories.d.ts +42 -0
- package/dist/types/core/office-switcher/office-item/office-item.stories.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-item/styles.d.ts +6 -0
- package/dist/types/core/office-switcher/office-item/styles.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-popup.figma.d.ts +2 -0
- package/dist/types/core/office-switcher/office-switcher-popup.figma.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-select-optgroup.d.ts +24 -0
- package/dist/types/core/office-switcher/office-switcher-select-optgroup.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-select-optgroup.figma.d.ts +2 -0
- package/dist/types/core/office-switcher/office-switcher-select-optgroup.figma.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-select-option.d.ts +15 -0
- package/dist/types/core/office-switcher/office-switcher-select-option.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-select-option.figma.d.ts +2 -0
- package/dist/types/core/office-switcher/office-switcher-select-option.figma.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher-select.figma.d.ts +2 -0
- package/dist/types/core/office-switcher/office-switcher-select.figma.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher.d.ts +23 -3
- package/dist/types/core/office-switcher/office-switcher.d.ts.map +1 -1
- package/dist/types/core/office-switcher/office-switcher.figma.d.ts +2 -0
- package/dist/types/core/office-switcher/office-switcher.figma.d.ts.map +1 -0
- package/dist/types/core/office-switcher/office-switcher.stories.d.ts +4 -0
- package/dist/types/core/office-switcher/office-switcher.stories.d.ts.map +1 -1
- package/dist/types/utils/anchor-positioning/anchor-positioning.d.ts +1 -1
- package/dist/types/utils/anchor-positioning/anchor-positioning.d.ts.map +1 -1
- package/dist/types/utils/anchor-positioning/anchor-positioning.stories.d.ts.map +1 -1
- package/dist/types/utils/anchor-positioning/build-anchor-positioning-css.d.ts +5 -1
- package/dist/types/utils/anchor-positioning/build-anchor-positioning-css.d.ts.map +1 -1
- package/dist/types/utils/dialog/__tests__/close-on-backdrop-click.test.d.ts +2 -0
- package/dist/types/utils/dialog/__tests__/close-on-backdrop-click.test.d.ts.map +1 -0
- package/dist/types/utils/dialog/close-on-backdrop-click.d.ts +24 -0
- package/dist/types/utils/dialog/close-on-backdrop-click.d.ts.map +1 -0
- package/dist/types/utils/dialog/index.d.ts +2 -0
- package/dist/types/utils/dialog/index.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/listbox/dom-helpers/selectors.d.ts +8 -2
- package/dist/types/utils/listbox/dom-helpers/selectors.d.ts.map +1 -1
- package/dist/types/utils/popover/popover.d.ts +6 -2
- package/dist/types/utils/popover/popover.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/js/combobox-ykwrJ8qP.cjs +0 -1
- package/dist/js/dialog-CjN2Nll1.js +0 -116
- package/dist/js/dialog-oPE93fe0.cjs +0 -1
- package/dist/js/drawer-DcgSXF1g.cjs +0 -1
- package/dist/js/drawer-GNG7AmHl.js +0 -197
- package/dist/js/listbox-BGrp52Hs.cjs +0 -1
- package/dist/js/popover-CA0t-z5e.cjs +0 -1
|
@@ -4,7 +4,7 @@ import { forwardRef as x, useCallback as H, useId as u } from "react";
|
|
|
4
4
|
import { C as M } from "./checkbox-input-ClWQ-7ht.js";
|
|
5
5
|
import { s as i } from "./index-AHmiDD3r.js";
|
|
6
6
|
import { SortDescendIcon as _ } from "./icons/sort-descend.js";
|
|
7
|
-
import { k as m } from "./menu-
|
|
7
|
+
import { k as m } from "./menu-CP0Bep1V.js";
|
|
8
8
|
import { MoreIcon as k } from "./icons/more.js";
|
|
9
9
|
const me = 1, Te = 2, v = "el-table-body";
|
|
10
10
|
function p({ as: e = "tbody", children: a, className: l, ...t }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),s=require("./index-8ctufnBx.cjs"),d=require("react"),K=require("./checkbox-input-CAnd-TkE.cjs"),i=require("./index-BAGJrh44.cjs"),Q=require("./icons/sort-descend.cjs"),B=require("./menu-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("./index-8ctufnBx.cjs"),d=require("react"),K=require("./checkbox-input-CAnd-TkE.cjs"),i=require("./index-BAGJrh44.cjs"),Q=require("./icons/sort-descend.cjs"),B=require("./menu-C5zczNsx.cjs"),U=require("./icons/more.cjs"),ee=1,le=2,I="el-table-body";function T({as:e="tbody",children:l,className:a,...o}){return t.jsx(e,{...o,className:s.cx_default(I,a),children:l})}T.displayName="Table.Body";const j="el-table-body-cell";function y({as:e="td",children:l,className:a,hasNoPadding:o,justifySelf:r,...b}){const c=e==="th"?{scope:"row"}:void 0;return t.jsx(e,{...b,...c,className:s.cx_default(j,a),"data-has-no-padding":o,"data-justify-self":r,children:l})}y.displayName="Table.BodyCell";const w="el-table-body-row";function m({as:e="tr",children:l,className:a,...o}){return t.jsx(e,{...o,className:s.cx_default(w,a),children:l})}m.displayName="Table.BodyRow";const g="el-table-cell-checkbox",C=d.forwardRef(({className:e,...l},a)=>t.jsx(K.CheckboxInput,{...l,className:s.cx_default(g,e),ref:a,type:"checkbox"}));C.displayName="Table.Checkbox";const P=i.styled_default("div")({name:"ElTableCellDoubleLineLayout",class:"el-table-cell-double-line-layout",propsAsIs:!1}),H=i.styled_default("div")({name:"ElTableCellDoubleLineLayoutPrimaryData",class:"el-table-cell-double-line-layout-primary-data",propsAsIs:!1}),M=i.styled_default("span")({name:"ElTableCellDoubleLineLayoutSupplementaryData",class:"el-table-cell-double-line-layout-supplementary-data",propsAsIs:!1}),S=i.styled_default("div")({name:"ElTableCellDoubleLineLayoutMediaItem",class:"el-table-cell-double-line-layout-media-item",propsAsIs:!1});function p({children:e,mediaItem:l,supplementaryData:a,...o}){return t.jsxs(P,{...o,children:[l&&t.jsx(S,{children:l}),t.jsx(H,{children:e}),a&&t.jsx(M,{children:a})]})}p.displayName="Table.DoubleLineLayout";const k="el-table-head";function f({as:e="thead",children:l,className:a,...o}){return t.jsx(e,{...o,className:s.cx_default(k,a),children:l})}f.displayName="Table.Head";const v="el-table-header-cell";function x({as:e="th",children:l,className:a,hasNoPadding:o,justifySelf:r,...b}){const c=!l&&e==="th"?"td":e,R=c==="th"?{scope:"col"}:void 0;return t.jsx(c,{...b,...R,className:s.cx_default(v,a),"data-has-no-padding":o,"data-justify-self":r,children:l})}x.displayName="Table.HeaderCell";const q="el-table-header-row";function E({as:e="tr",children:l,className:a,...o}){return t.jsx(e,{...o,className:s.cx_default(q,a),children:l})}E.displayName="Table.HeaderRow";const O="el-table-row-more-actions-button";function W({"aria-disabled":e,className:l,disabled:a,onClick:o,...r}){const b=d.useCallback(c=>{if(c.currentTarget.getAttribute("aria-disabled")==="true"){c.preventDefault(),c.stopPropagation();return}o?.(c)},[o]);return t.jsx("button",{...r,"aria-disabled":a||e,className:s.cx_default(O,l),disabled:a,onClick:b,type:"button",children:t.jsx(U.MoreIcon,{})})}function D({children:e,id:l,...a}){const o=l??d.useId(),r=d.useId();return t.jsxs(t.Fragment,{children:[t.jsx(W,{...a,...B.Menu.getTriggerProps({id:o,popoverTarget:r,popoverTargetAction:"toggle"})}),t.jsx(B.Menu,{"aria-labelledby":o,id:r,placement:"bottom-end",children:e})]})}D.displayName="Table.MoreActions";const _="el-table-row-primary-action";function h({className:e,...l}){return t.jsx("a",{...l,className:s.cx_default(_,e)})}h.displayName="Table.PrimaryAction";const X=i.styled_default("div")({name:"ElTableCellPrimaryData",class:"el-table-cell-primary-data",propsAsIs:!1}),Z=i.styled_default("div")({name:"ElTableCellPrimaryDataContentContainer",class:"el-table-cell-primary-data-content-container",propsAsIs:!1}),u=i.styled_default("span")({name:"ElTableCellPrimaryDataIconContainer",class:"el-table-cell-primary-data-icon-container",propsAsIs:!1});function L({children:e,iconLeft:l,iconRight:a,...o}){return t.jsxs(X,{...o,children:[l&&t.jsx(u,{"data-placement":"left",role:"presentation",children:l}),t.jsx(Z,{children:e}),a&&t.jsx(u,{"data-placement":"right",role:"presentation",children:a})]})}L.displayName="Table.PrimaryData";const V="el-table-cell-sort-button",Y="el-table-cell-sort-button-icon";function A({children:e,className:l,name:a,value:o,...r}){return t.jsxs("button",{...r,className:s.cx_default(V,l),name:a,value:o,children:[e,t.jsx(Q.SortDescendIcon,{"aria-hidden":!0,className:Y})]})}A.displayName="Table.SortButton";function F(e){switch(e){case"ascending":case"descending":return e;default:return"none"}}function ae(e){switch(F(e)){case"ascending":return"descending";case"descending":return"ascending";case"none":return"descending"}}const te="el-table";function $({className:e,...l}){return t.jsx("button",{...l,className:s.cx_default(_,e)})}$.displayName="Table.PrimaryActionButton";const z=i.styled_default("div")({name:"ElTableToolbar",class:"el-table-toolbar",propsAsIs:!1}),G=i.styled_default("div")({name:"ElTableToolbarLeftContent",class:"el-table-toolbar-left-content",propsAsIs:!1}),J=i.styled_default("div")({name:"ElTableToolbarRightContent",class:"el-table-toolbar-right-content",propsAsIs:!1});function N({leftContent:e,rightContent:l,...a}){return t.jsxs(z,{...a,children:[e&&t.jsx(G,{children:e}),l&&t.jsx(J,{children:l})]})}N.displayName="Table.Toolbar";function n({as:e="table",children:l,className:a,columns:o,justifyItems:r="start",style:b,...c}){return t.jsx(e,{...c,className:s.cx_default(te,a),"data-justify-items":r,style:{...b,gridTemplateColumns:o},children:l})}n.Body=T;n.BodyCell=y;n.BodyRow=m;n.PrimaryAction=h;n.PrimaryActionButton=$;n.MoreActions=D;n.DoubleLineLayout=p;n.PrimaryData=L;n.Head=f;n.HeaderCell=x;n.HeaderRow=E;n.SortButton=A;n.Checkbox=C;n.Toolbar=N;exports.ElTableCellDoubleLineLayout=P;exports.ElTableCellDoubleLineLayoutMediaItem=S;exports.ElTableCellDoubleLineLayoutPrimaryData=H;exports.ElTableCellDoubleLineLayoutSupplementaryData=M;exports.ElTableCellPrimaryData=X;exports.ElTableCellPrimaryDataContentContainer=Z;exports.ElTableCellPrimaryDataIconContainer=u;exports.ElTableToolbar=z;exports.ElTableToolbarLeftContent=G;exports.ElTableToolbarRightContent=J;exports.TABLE_ROW_INTERACTIVE_ELEMENT_Z_INDEX=le;exports.TABLE_ROW_PRIMARY_ACTION_Z_INDEX=ee;exports.Table=n;exports.TableBody=T;exports.TableBodyCell=y;exports.TableBodyRow=m;exports.TableCellCheckbox=C;exports.TableCellDoubleLineLayout=p;exports.TableCellPrimaryData=L;exports.TableCellSortButton=A;exports.TableHead=f;exports.TableHeaderCell=x;exports.TableHeaderRow=E;exports.TableRowMoreActions=D;exports.TableRowMoreActionsButton=W;exports.TableRowPrimaryAction=h;exports.TableToolbar=N;exports.elTableBody=I;exports.elTableBodyCell=j;exports.elTableBodyRow=w;exports.elTableCellCheckbox=g;exports.elTableCellSortButton=V;exports.elTableCellSortButtonIcon=Y;exports.elTableHead=k;exports.elTableHeaderCell=v;exports.elTableHeaderRow=q;exports.elTableRowMoreActionsButton=O;exports.elTableRowPrimaryAction=_;exports.getNextSortDirection=ae;exports.parseSortDirection=F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const v=require("react/jsx-runtime"),E=require("./popover-
|
|
1
|
+
"use strict";const v=require("react/jsx-runtime"),E=require("./popover-Xyg0sgru.cjs"),m=require("react");function c({id:e,tooltipId:t,tooltipPurpose:n}){return n==="describe"?{"aria-describedby":t,id:e}:{"aria-labelledby":t,id:e}}function u(e){if(!e)return!0;const t=document.getElementById(e);return t?t.scrollWidth>t.clientWidth:!0}const a="el-tooltip";function p({tooltipId:e,triggerId:t,truncationTargetId:n}){m.useEffect(function(){const i=document.getElementById(e),o=document.getElementById(t),r=new AbortController,l=r.signal;return i instanceof HTMLElement&&o instanceof HTMLElement&&(o.addEventListener("focus",()=>h(o,i,n),{signal:l}),o.addEventListener("blur",()=>T(i),{signal:l}),o.addEventListener("mouseenter",()=>b(i,n),{signal:l}),o.addEventListener("mouseleave",()=>g(o,i),{signal:l})),()=>{r.abort()}},[t,e])}function h(e,t,n){e.matches(":focus-visible")&&d(t,n)}function T(e){e.hidePopover()}function b(e,t){d(e,t)}function g(e,t){e.matches(":focus-visible")||t.hidePopover()}function d(e,t){u(t)&&e.showPopover()}function f({children:e,id:t,maxWidth:n="--size-100",placement:s="top",triggerId:i,truncationTargetId:o,...r}){return p({tooltipId:t,triggerId:i,truncationTargetId:o}),v.jsx(E.Popover,{...r,anchorId:i,className:a,"data-truncation-target-id":o,elevation:"none",gap:"var(--spacing-1)",id:t,maxWidth:`var(${n})`,placement:s,positionTryFallbacks:"flip-block, flip-inline",popover:"hint",role:"tooltip",children:e})}f.getTriggerProps=c;exports.Tooltip=f;exports.elTooltip=a;exports.getTooltipTriggerProps=c;exports.isTooltipNeeded=u;exports.useTooltipController=p;
|
|
@@ -4,10 +4,10 @@ import * as C from "react";
|
|
|
4
4
|
import { useId as p } from "react";
|
|
5
5
|
import { A as R } from "./avatar-DIvtb4yk.js";
|
|
6
6
|
import { c as E } from "./index-BsMVp4qF.js";
|
|
7
|
-
import { k as h } from "./menu-
|
|
7
|
+
import { k as h } from "./menu-CP0Bep1V.js";
|
|
8
8
|
import { ChevronDownIcon as F } from "./icons/chevron-down.js";
|
|
9
9
|
import { SearchIcon as W } from "./icons/search.js";
|
|
10
|
-
import { T as Z } from "./tooltip-
|
|
10
|
+
import { T as Z } from "./tooltip-Bj7DqYdo.js";
|
|
11
11
|
const j = "el-top-bar-avatar-base";
|
|
12
12
|
function v({
|
|
13
13
|
as: e,
|