@orangelogic/design-system 4.59.0 → 4.61.0
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/library/chunks/{asset-link-format.zO0t0oA3.js → asset-link-format.BUZqXO4D.js} +2 -2
- package/library/chunks/{bicolor-picker.DZY5PP24.js → bicolor-picker.DUEEcruV.js} +1 -1
- package/library/chunks/{block-width.Dbc3rT3Y.js → block-width.QzHkjabg.js} +21 -21
- package/library/chunks/{border-input-group.BymzNWba.js → border-input-group.XgNVfmul.js} +2 -2
- package/library/chunks/{color-picker.Ch5-Ylm8.js → color-picker.BkXV3vIK.js} +4 -4
- package/library/chunks/{color-swatch-group.Bcw5aIqG.js → color-swatch-group.G_07BvHg.js} +7 -7
- package/library/chunks/{config-manager.BfkCA0F3.js → config-manager.Brd2mbsf.js} +18 -18
- package/library/chunks/{configs-controller.uTcM4iX4.js → configs-controller.BPhkqQBv.js} +4 -4
- package/library/chunks/{confirm-popover.DUrgLQjC.js → confirm-popover.nSZeBx2K.js} +2 -2
- package/library/chunks/{corner-position-input-group.mrOiz-0k.js → corner-position-input-group.abmx6hmy.js} +2 -2
- package/library/chunks/{dialog.BcCTa8Bd.js → dialog.D0oTJWFf.js} +484 -468
- package/library/chunks/{document-viewer.Ch5h5Wte.js → document-viewer.B2RwLRXO.js} +5 -5
- package/library/chunks/{drawer.CLSdjLR9.js → drawer.BsKzYqKe.js} +37 -26
- package/library/chunks/{dropdown.DDQXJMth.js → dropdown.Cc32yInQ.js} +2 -2
- package/library/chunks/{dynamic-select.Dwcz7UjN.js → dynamic-select.ItukXjZg.js} +1 -1
- package/library/chunks/{file-on-demand.BmRBmyyq.js → file-on-demand.C9kzOZ1N.js} +5 -5
- package/library/chunks/{folder-select.Buoz3ioX.js → folder-select.BBJWsH8o.js} +2 -2
- package/library/chunks/{input.kTjqEyC8.js → input.DZRed6yo.js} +1 -0
- package/library/chunks/{menu-item.CtFgeM0H.js → menu-item.SGtyl6pY.js} +24 -5
- package/library/chunks/{menu.BEVPnl3Y.js → menu.69SdPYy6.js} +2 -2
- package/library/chunks/{padding-input-group.B-hbA7P2.js → padding-input-group.D2Qx15Yj.js} +1 -1
- package/library/chunks/{pagination.DULLxssA.js → pagination.Bz2Q9ov3.js} +2 -2
- package/library/chunks/{select.S9rnkI_b.js → select.BMGK3xy9.js} +50 -38
- package/library/chunks/{shadow-input-group.B_W5gJ4u.js → shadow-input-group.jGS4SWwT.js} +2 -2
- package/library/chunks/{size-input-group.DUyTc5na.js → size-input-group.Db5PQVLF.js} +2 -2
- package/library/chunks/{src.D0Zj6Eo1.js → src.BG3K1VCp.js} +14 -14
- package/library/chunks/step.B_mpg1je.js +96 -0
- package/library/chunks/{stepper-wizard.DgrCTDtq.js → stepper-wizard.D5CSyMa0.js} +8 -5
- package/library/chunks/{stepper.BhpFjenM.js → stepper.DDMxj1Ts.js} +1 -1
- package/library/chunks/{tab-group.kyiPblS9.js → tab-group.97YGxRGu.js} +3 -3
- package/library/chunks/{video.B0vHXehv.js → video.DWmHPbXO.js} +116 -93
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +15 -15
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +10 -10
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/types.js +31 -31
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +24 -4
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +9 -0
- package/library/packages/atoms/src/components/input/input.d.ts +4 -1
- package/library/packages/atoms/src/components/menu/menu.d.ts +1 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +4 -1
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +9 -0
- package/library/packages/atoms/src/components/select/select.d.ts +12 -1
- package/library/packages/atoms/src/components/step/step.d.ts +5 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +4 -0
- package/library/packages/types/src/dialog.d.ts +9 -0
- package/library/react-web-component.d.ts +14 -2
- package/package.json +1 -1
- package/library/chunks/step.DoO31jfk.js +0 -93
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BUZqXO4D.js";
|
|
2
2
|
export { e as default };
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.2Esbser8.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.BG3K1VCp.js";
|
|
12
12
|
import { t as h } from "../chunks/button.BjijpxeK.js";
|
|
13
13
|
import { t as g } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
14
14
|
import { t as _ } from "../chunks/tooltip.Cc02vm6M.js";
|
|
@@ -25,28 +25,28 @@ import { t as D } from "../chunks/breadcrumb-item.nHAFmgtO.js";
|
|
|
25
25
|
import { t as O } from "../chunks/button-group.CPfXrqyq.js";
|
|
26
26
|
import { t as k } from "../chunks/card.3c-X4hqR.js";
|
|
27
27
|
import { t as A } from "../chunks/checkbox.BdSpQlwf.js";
|
|
28
|
-
import { t as j } from "../chunks/dropdown.
|
|
29
|
-
import { t as M } from "../chunks/input.
|
|
30
|
-
import { t as N } from "../chunks/menu.
|
|
31
|
-
import { t as P } from "../chunks/menu-item.
|
|
28
|
+
import { t as j } from "../chunks/dropdown.Cc32yInQ.js";
|
|
29
|
+
import { t as M } from "../chunks/input.DZRed6yo.js";
|
|
30
|
+
import { t as N } from "../chunks/menu.69SdPYy6.js";
|
|
31
|
+
import { t as P } from "../chunks/menu-item.SGtyl6pY.js";
|
|
32
32
|
import { t as F } from "../chunks/textarea.CHSZI8vt.js";
|
|
33
33
|
import { t as I } from "../chunks/option.DWE0tark.js";
|
|
34
34
|
import { t as L } from "../chunks/space.Dd8jezXK.js";
|
|
35
|
-
import { t as R } from "../chunks/select.
|
|
35
|
+
import { t as R } from "../chunks/select.BMGK3xy9.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.Cv-UuYM5.js";
|
|
37
|
-
import { t as B } from "../chunks/tab-group.
|
|
37
|
+
import { t as B } from "../chunks/tab-group.97YGxRGu.js";
|
|
38
38
|
import { t as V } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
39
39
|
import { t as H } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
40
|
-
import { t as U } from "../chunks/color-picker.
|
|
40
|
+
import { t as U } from "../chunks/color-picker.BkXV3vIK.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.CqqKJEh3.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.B7e6WBzh.js";
|
|
43
43
|
import { t as K } from "../chunks/details.DSgp6VAD.js";
|
|
44
|
-
import { t as q } from "../chunks/dialog.
|
|
44
|
+
import { t as q } from "../chunks/dialog.D0oTJWFf.js";
|
|
45
45
|
import { t as J } from "../chunks/divider.CqSNZCU8.js";
|
|
46
46
|
import { t as Y } from "../chunks/diff.Bmdpmpvo.js";
|
|
47
|
-
import { t as X } from "../chunks/drawer.
|
|
47
|
+
import { t as X } from "../chunks/drawer.BsKzYqKe.js";
|
|
48
48
|
import { t as Z } from "../chunks/progress-bar.CynVLLnY.js";
|
|
49
|
-
import { t as Q } from "../chunks/document-viewer.
|
|
49
|
+
import { t as Q } from "../chunks/document-viewer.B2RwLRXO.js";
|
|
50
50
|
import { t as $ } from "../chunks/image.-lgb634-.js";
|
|
51
51
|
import { t as ee } from "../chunks/skeleton.BtwugOTG.js";
|
|
52
52
|
import { t as te } from "../chunks/dot-pagination.C1C6NG8d.js";
|
|
@@ -69,7 +69,7 @@ import { t as _e } from "../chunks/markdown.BzDRvv-f.js";
|
|
|
69
69
|
import { t as ve } from "../chunks/menu-label.B-FOyfAX.js";
|
|
70
70
|
import { t as ye } from "../chunks/menu-section.BzzA6L5E.js";
|
|
71
71
|
import { t as be } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
72
|
-
import { t as xe } from "../chunks/pagination.
|
|
72
|
+
import { t as xe } from "../chunks/pagination.Bz2Q9ov3.js";
|
|
73
73
|
import { t as Se } from "../chunks/progress-ring.Bfdj3-uB.js";
|
|
74
74
|
import { t as Ce } from "../chunks/qr-code.SwjFPrvB.js";
|
|
75
75
|
import { t as we } from "../chunks/radio.DhPbmKbQ.js";
|
|
@@ -80,10 +80,10 @@ import { t as Oe } from "../chunks/range.ObEMbygm.js";
|
|
|
80
80
|
import { t as ke } from "../chunks/rating.CNeNn996.js";
|
|
81
81
|
import { t as Ae } from "../chunks/relative-time.BfE3UOhF.js";
|
|
82
82
|
import { t as je } from "../chunks/split-panel.Cag0lAvv.js";
|
|
83
|
-
import { t as Me } from "../chunks/step.
|
|
84
|
-
import { t as Ne } from "../chunks/stepper.
|
|
83
|
+
import { t as Me } from "../chunks/step.B_mpg1je.js";
|
|
84
|
+
import { t as Ne } from "../chunks/stepper.DDMxj1Ts.js";
|
|
85
85
|
import { t as Pe } from "../chunks/switch.BM9msK5T.js";
|
|
86
86
|
import { t as Fe } from "../chunks/timecode.DjI1OTXD.js";
|
|
87
87
|
import { a as Ie, i as Le } from "../chunks/tree.XYIP-Ujw.js";
|
|
88
|
-
import { n as Re } from "../chunks/video.
|
|
88
|
+
import { n as Re } from "../chunks/video.DWmHPbXO.js";
|
|
89
89
|
export { c as CxAlert, l as CxAmChart, u as CxAnimatedImage, d as CxAnimation, b as CxArrayLineClamp, S as CxAudio, C as CxAvatar, w as CxBadge, T as CxBox, E as CxBreadcrumb, D as CxBreadcrumbItem, h as CxButton, O as CxButtonGroup, k as CxCard, A as CxCheckbox, U as CxColorPicker, W as CxCopyButton, G as CxDateCalendar, K as CxDetails, q as CxDialog, Y as CxDiff, J as CxDivider, Q as CxDocumentViewer, te as CxDotPagination, ne as CxDotStatus, X as CxDrawer, j as CxDropdown, re as CxEChart, ie as CxElementClamp, ae as CxFormatBytes, oe as CxFormatDate, se as CxFormatNumber, ce as CxFormatTime, le as CxGrid, ue as CxGridItem, de as CxHeader, fe as CxHubConnection, o as CxIcon, a as CxIconButton, pe as CxIframe, $ as CxImage, me as CxImageComparer, he as CxInclude, M as CxInput, ge as CxInputGroup, v as CxLineClamp, _e as CxMarkdown, N as CxMenu, P as CxMenuItem, ve as CxMenuLabel, ye as CxMenuSection, be as CxMutationObserver, I as CxOption, xe as CxPagination, e as CxPopup, Z as CxProgressBar, Se as CxProgressRing, Ce as CxQrCode, we as CxRadio, Te as CxRadioButton, Ee as CxRadioCard, De as CxRadioGroup, Oe as CxRange, ke as CxRating, Ae as CxRelativeTime, g as CxResizeObserver, R as CxSelect, ee as CxSkeleton, L as CxSpace, s as CxSpinner, je as CxSplitPanel, Me as CxStep, Ne as CxStepper, Pe as CxSwitch, z as CxTab, B as CxTabGroup, V as CxTabPanel, y as CxTag, F as CxTextarea, Fe as CxTimecode, _ as CxTooltip, Le as CxTree, Ie as CxTreeItem, x as CxTypography, Re as CxVideo, H as CxVisuallyHidden, t as componentStyles, m as fontAwesomeIconNames, i as getAnimation, f as getAnimationNames, p as getEasingNames, n as setAnimation, r as setDefaultAnimation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.DUEEcruV.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/border-input-group.XgNVfmul.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-picker.
|
|
1
|
+
import { t as e } from "../chunks/color-picker.BkXV3vIK.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.G_07BvHg.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/confirm-popover.
|
|
1
|
+
import { t as e } from "../chunks/confirm-popover.nSZeBx2K.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/corner-position-input-group.
|
|
1
|
+
import { t as e } from "../chunks/corner-position-input-group.abmx6hmy.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dialog.
|
|
1
|
+
import { t as e } from "../chunks/dialog.D0oTJWFf.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/document-viewer.
|
|
1
|
+
import { t as e } from "../chunks/document-viewer.B2RwLRXO.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/drawer.
|
|
1
|
+
import { t as e } from "../chunks/drawer.BsKzYqKe.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dropdown.
|
|
1
|
+
import { t as e } from "../chunks/dropdown.Cc32yInQ.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/dynamic-select.
|
|
1
|
+
import { t as e } from "../chunks/dynamic-select.ItukXjZg.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.C9kzOZ1N.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/folder-select.
|
|
1
|
+
import { t as e } from "../chunks/folder-select.BBJWsH8o.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/input.
|
|
1
|
+
import { t as e } from "../chunks/input.DZRed6yo.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/menu-item.
|
|
1
|
+
import { t as e } from "../chunks/menu-item.SGtyl6pY.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/menu.
|
|
1
|
+
import { t as e } from "../chunks/menu.69SdPYy6.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
2
|
-
import { t } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.DUEEcruV.js";
|
|
2
|
+
import { t } from "../chunks/border-input-group.XgNVfmul.js";
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.DZG975M_.js";
|
|
4
|
-
import { t as r } from "../chunks/confirm-popover.
|
|
5
|
-
import { t as i } from "../chunks/corner-position-input-group.
|
|
4
|
+
import { t as r } from "../chunks/confirm-popover.nSZeBx2K.js";
|
|
5
|
+
import { t as i } from "../chunks/corner-position-input-group.abmx6hmy.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.CNmQt-sa.js";
|
|
7
|
-
import { t as o } from "../chunks/dynamic-select.
|
|
8
|
-
import { t as s } from "../chunks/folder-select.
|
|
7
|
+
import { t as o } from "../chunks/dynamic-select.ItukXjZg.js";
|
|
8
|
+
import { t as s } from "../chunks/folder-select.BBJWsH8o.js";
|
|
9
9
|
import { t as c } from "../chunks/masonry.BxNeClR6.js";
|
|
10
|
-
import { t as l } from "../chunks/padding-input-group.
|
|
10
|
+
import { t as l } from "../chunks/padding-input-group.D2Qx15Yj.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.X2hhfGx7.js";
|
|
12
|
-
import { t as d } from "../chunks/shadow-input-group.
|
|
12
|
+
import { t as d } from "../chunks/shadow-input-group.jGS4SWwT.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.DOaEypfQ.js";
|
|
14
14
|
import { t as p } from "../chunks/sidebar.CiZOJ49X.js";
|
|
15
|
-
import { t as m } from "../chunks/size-input-group.
|
|
16
|
-
import { t as h } from "../chunks/stepper-wizard.
|
|
15
|
+
import { t as m } from "../chunks/size-input-group.Db5PQVLF.js";
|
|
16
|
+
import { t as h } from "../chunks/stepper-wizard.D5CSyMa0.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.eo-n8r2R.js";
|
|
18
18
|
export { e as CxBicolorPicker, t as CxBorderInputGroup, n as CxColorSwatch, r as CxConfirmPopover, i as CxCornerPositionInputGroup, a as CxCropper, o as CxDynamicSelect, s as CxFolderSelect, c as CxMasonry, l as CxPaddingInputGroup, u as CxPositionPicker, d as CxShadowInputGroup, f as CxShareOptionList, p as CxSidebar, m as CxSizeInputGroup, h as CxStepperWizard, g as CxTypeface };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "../chunks/asset-link-format.
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/asset-link-format.BUZqXO4D.js";
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.G_07BvHg.js";
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.C9kzOZ1N.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/padding-input-group.
|
|
1
|
+
import { t as e } from "../chunks/padding-input-group.D2Qx15Yj.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/pagination.
|
|
1
|
+
import { t as e } from "../chunks/pagination.Bz2Q9ov3.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/select.
|
|
1
|
+
import { t as e } from "../chunks/select.BMGK3xy9.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/shadow-input-group.
|
|
1
|
+
import { t as e } from "../chunks/shadow-input-group.jGS4SWwT.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/size-input-group.
|
|
1
|
+
import { t as e } from "../chunks/size-input-group.Db5PQVLF.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/step.
|
|
1
|
+
import { t as e } from "../chunks/step.B_mpg1je.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/stepper-wizard.
|
|
1
|
+
import { t as e } from "../chunks/stepper-wizard.D5CSyMa0.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/stepper.
|
|
1
|
+
import { t as e } from "../chunks/stepper.DDMxj1Ts.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/tab-group.
|
|
1
|
+
import { t as e } from "../chunks/tab-group.97YGxRGu.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as le } from "../chunks/alert.2Esbser8.js";
|
|
|
24
24
|
import { t as ue } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as de } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as L } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as fe, r as pe, t as me } from "../chunks/src.
|
|
27
|
+
import { n as fe, r as pe, t as me } from "../chunks/src.BG3K1VCp.js";
|
|
28
28
|
import { t as he } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { a as ge, c as _e, d as ve, i as ye, l as be, n as xe, o as Se, r as Ce, s as we, t as Te, u as Ee } from "../chunks/browser.gIznFIix.js";
|
|
30
30
|
import { t as De } from "../chunks/debounce.Ci-xdsHE.js";
|
|
@@ -38,7 +38,7 @@ import { t as Mt } from "../chunks/tooltip.Cc02vm6M.js";
|
|
|
38
38
|
import { t as Nt } from "../chunks/line-clamp.SD3U021K.js";
|
|
39
39
|
import { t as Pt } from "../chunks/tag.Cq8m5pRP.js";
|
|
40
40
|
import { t as Ft } from "../chunks/array-line-clamp.9myPWg1y.js";
|
|
41
|
-
import { C as It, S as Lt, _ as Rt, b as zt, g as Bt, h as Vt, o as Ht, r as Ut, s as Wt, t as Gt, v as Kt, w as qt, x as Jt, y as Yt } from "../chunks/block-width.
|
|
41
|
+
import { C as It, S as Lt, _ as Rt, b as zt, g as Bt, h as Vt, o as Ht, r as Ut, s as Wt, t as Gt, v as Kt, w as qt, x as Jt, y as Yt } from "../chunks/block-width.QzHkjabg.js";
|
|
42
42
|
import { n as Xt, t as Zt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as Qt, i as $t, n as en, o as tn, r as nn, s as rn, t as an } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as on, c as sn, i as cn, n as ln, o as un, r as dn, t as fn, u as pn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -61,12 +61,12 @@ import { t as tr } from "../chunks/drag.s0AcVpKh.js";
|
|
|
61
61
|
import { n as nr, t as rr } from "../chunks/math.od1DVmRk.js";
|
|
62
62
|
import { t as ir } from "../chunks/repeat.CKv9FPlC.js";
|
|
63
63
|
import { n as ar, t as or } from "../chunks/active-elements.Tk45XSNQ.js";
|
|
64
|
-
import { t as sr } from "../chunks/dropdown.
|
|
64
|
+
import { t as sr } from "../chunks/dropdown.Cc32yInQ.js";
|
|
65
65
|
import { t as cr } from "../chunks/focus-when-visible.DKscgyKo.js";
|
|
66
66
|
import { n as lr, t as ur } from "../chunks/tabbable.BSwpOHdm.js";
|
|
67
|
-
import { n as dr, t as fr } from "../chunks/input.
|
|
68
|
-
import { t as pr } from "../chunks/menu.
|
|
69
|
-
import { n as mr, r as hr, t as gr } from "../chunks/menu-item.
|
|
67
|
+
import { n as dr, t as fr } from "../chunks/input.DZRed6yo.js";
|
|
68
|
+
import { t as pr } from "../chunks/menu.69SdPYy6.js";
|
|
69
|
+
import { n as mr, r as hr, t as gr } from "../chunks/menu-item.SGtyl6pY.js";
|
|
70
70
|
import { n as _r, t as vr } from "../chunks/ref.CU1NC5AM.js";
|
|
71
71
|
import { t as yr } from "../chunks/textarea.CHSZI8vt.js";
|
|
72
72
|
import { t as br } from "../chunks/option.DWE0tark.js";
|
|
@@ -74,28 +74,28 @@ import { t as xr } from "../chunks/space.Dd8jezXK.js";
|
|
|
74
74
|
import { i as Sr, n as Cr, r as wr, t as Tr } from "../chunks/scroll.CEH_a4pm.js";
|
|
75
75
|
import { t as Er } from "../chunks/user-agent.D2bRhUeS.js";
|
|
76
76
|
import { t as Dr } from "../chunks/unsafe-html.Cb838aX7.js";
|
|
77
|
-
import { t as Or } from "../chunks/select.
|
|
77
|
+
import { t as Or } from "../chunks/select.BMGK3xy9.js";
|
|
78
78
|
import { t as kr } from "../chunks/tab.Cv-UuYM5.js";
|
|
79
|
-
import { a as Ar, i as jr, n as Mr, r as Nr, t as Pr } from "../chunks/tab-group.
|
|
79
|
+
import { a as Ar, i as jr, n as Mr, r as Nr, t as Pr } from "../chunks/tab-group.97YGxRGu.js";
|
|
80
80
|
import { t as Fr } from "../chunks/parse.CDrJ-NY7.js";
|
|
81
81
|
import { t as Ir } from "../chunks/guard.Cf17k6Vx.js";
|
|
82
82
|
import { t as Lr } from "../chunks/map.ByDuLduF.js";
|
|
83
83
|
import { t as Rr } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
84
84
|
import { t as zr } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
85
|
-
import { t as Br } from "../chunks/color-picker.
|
|
85
|
+
import { t as Br } from "../chunks/color-picker.BkXV3vIK.js";
|
|
86
86
|
import { t as Vr } from "../chunks/copy-button.CqqKJEh3.js";
|
|
87
87
|
import { S as Hr, _ as Ur, a as Wr, b as Gr, c as Kr, d as qr, f as Jr, g as Yr, h as Xr, i as Zr, l as Qr, m as $r, n as ei, o as ti, p as ni, r as ri, s as ii, t as ai, u as oi, v as si, x as ci, y as li } from "../chunks/date.BL4L64Hx.js";
|
|
88
88
|
import { $ as ui, A as di, B as fi, C as pi, D as mi, E as hi, F as gi, G as _i, H as vi, I as yi, J as bi, K as xi, L as Si, M as Ci, N as wi, O as Ti, P as Ei, Q as Di, R as Oi, S as ki, T as Ai, U as ji, V as Mi, W as Ni, X as Pi, Y as Fi, Z as Ii, _ as Li, a as Ri, at as zi, b as Bi, c as Vi, ct as Hi, d as Ui, dt as Wi, et as Gi, f as Ki, ft as qi, g as Ji, h as Yi, ht as Xi, i as Zi, it as Qi, j as $i, k as ea, l as ta, lt as na, m as ra, mt as ia, n as aa, nt as oa, o as sa, ot as ca, p as la, pt as ua, q as da, r as fa, rt as pa, s as ma, st as ha, t as ga, tt as _a, u as va, ut as ya, v as ba, w as xa, x as Sa, y as Ca, z as wa } from "../chunks/src.Dia365C9.js";
|
|
89
89
|
import { t as Ta } from "../chunks/date-calendar.B7e6WBzh.js";
|
|
90
90
|
import { t as Ea } from "../chunks/details.DSgp6VAD.js";
|
|
91
|
-
import { t as Da } from "../chunks/dialog.
|
|
91
|
+
import { t as Da } from "../chunks/dialog.D0oTJWFf.js";
|
|
92
92
|
import { n as Oa } from "../chunks/modal.eB-mqL-y.js";
|
|
93
93
|
import { t as ka } from "../chunks/divider.CqSNZCU8.js";
|
|
94
94
|
import { t as Aa } from "../chunks/diff.Bmdpmpvo.js";
|
|
95
95
|
import { t as ja } from "../chunks/capitalize.BT_EavGy.js";
|
|
96
|
-
import { t as Ma } from "../chunks/drawer.
|
|
96
|
+
import { t as Ma } from "../chunks/drawer.BsKzYqKe.js";
|
|
97
97
|
import { t as Na } from "../chunks/progress-bar.CynVLLnY.js";
|
|
98
|
-
import { t as Pa } from "../chunks/document-viewer.
|
|
98
|
+
import { t as Pa } from "../chunks/document-viewer.B2RwLRXO.js";
|
|
99
99
|
import { a as Fa, c as Ia, d as La, f as Ra, i as za, l as Ba, m as Va, n as Ha, o as Ua, p as Wa, r as Ga, s as Ka, t as qa, u as Ja } from "../chunks/url.BCc06dE7.js";
|
|
100
100
|
import { a as Ya, c as Xa, d as Za, f as Qa, h as $a, i as eo, l as to, m as no, n as ro, o as io, p as ao, r as oo, s as so, t as co, u as lo } from "../chunks/color.CIOzHtLK.js";
|
|
101
101
|
import { t as uo } from "../chunks/converters.CFh-tT4P.js";
|
|
@@ -126,7 +126,7 @@ import { a as is, i as as, n as ss, o as cs, r as ls, t as us } from "../chunks/
|
|
|
126
126
|
import { t as ds } from "../chunks/menu-label.B-FOyfAX.js";
|
|
127
127
|
import { t as fs } from "../chunks/menu-section.BzzA6L5E.js";
|
|
128
128
|
import { t as ps } from "../chunks/mutation-observer.CD5prBIP.js";
|
|
129
|
-
import { t as ms } from "../chunks/pagination.
|
|
129
|
+
import { t as ms } from "../chunks/pagination.Bz2Q9ov3.js";
|
|
130
130
|
import { t as hs } from "../chunks/progress-ring.Bfdj3-uB.js";
|
|
131
131
|
import { t as gs } from "../chunks/qr-code.SwjFPrvB.js";
|
|
132
132
|
import { t as _s } from "../chunks/radio.DhPbmKbQ.js";
|
|
@@ -137,40 +137,40 @@ import { t as xs } from "../chunks/range.ObEMbygm.js";
|
|
|
137
137
|
import { t as Ss } from "../chunks/rating.CNeNn996.js";
|
|
138
138
|
import { t as Cs } from "../chunks/relative-time.BfE3UOhF.js";
|
|
139
139
|
import { t as ws } from "../chunks/split-panel.Cag0lAvv.js";
|
|
140
|
-
import { t as Ts } from "../chunks/step.
|
|
141
|
-
import { t as Es } from "../chunks/stepper.
|
|
140
|
+
import { t as Ts } from "../chunks/step.B_mpg1je.js";
|
|
141
|
+
import { t as Es } from "../chunks/stepper.DDMxj1Ts.js";
|
|
142
142
|
import { t as Ds } from "../chunks/switch.BM9msK5T.js";
|
|
143
143
|
import { t as Os } from "../chunks/timecode.DjI1OTXD.js";
|
|
144
144
|
import { a as ks, i as As, o as js } from "../chunks/tree.XYIP-Ujw.js";
|
|
145
145
|
import { t as Ms } from "../chunks/v4.JyXW8GUB.js";
|
|
146
|
-
import { n as Ns, t as Ps } from "../chunks/video.
|
|
147
|
-
import { t as Fs } from "../chunks/bicolor-picker.
|
|
148
|
-
import { t as Is } from "../chunks/border-input-group.
|
|
146
|
+
import { n as Ns, t as Ps } from "../chunks/video.DWmHPbXO.js";
|
|
147
|
+
import { t as Fs } from "../chunks/bicolor-picker.DUEEcruV.js";
|
|
148
|
+
import { t as Is } from "../chunks/border-input-group.XgNVfmul.js";
|
|
149
149
|
import { t as Ls } from "../chunks/color-swatch.DZG975M_.js";
|
|
150
|
-
import { t as Rs } from "../chunks/confirm-popover.
|
|
151
|
-
import { t as zs } from "../chunks/corner-position-input-group.
|
|
150
|
+
import { t as Rs } from "../chunks/confirm-popover.nSZeBx2K.js";
|
|
151
|
+
import { t as zs } from "../chunks/corner-position-input-group.abmx6hmy.js";
|
|
152
152
|
import { t as Bs } from "../chunks/cropper.CNmQt-sa.js";
|
|
153
153
|
import { t as Vs } from "../chunks/toNumber.BBjIwSoo.js";
|
|
154
154
|
import { t as Hs } from "../chunks/debounce.DrhImrNP.js";
|
|
155
|
-
import { t as Us } from "../chunks/dynamic-select.
|
|
155
|
+
import { t as Us } from "../chunks/dynamic-select.ItukXjZg.js";
|
|
156
156
|
import { a as Ws, p as Gs, t as Ks } from "../chunks/string-array.Dstcqyjm.js";
|
|
157
|
-
import { t as qs } from "../chunks/folder-select.
|
|
157
|
+
import { t as qs } from "../chunks/folder-select.BBJWsH8o.js";
|
|
158
158
|
import { t as Js } from "../chunks/choose.C2vpqhLc.js";
|
|
159
159
|
import { t as Ys } from "../chunks/masonry.BxNeClR6.js";
|
|
160
|
-
import { t as Xs } from "../chunks/padding-input-group.
|
|
160
|
+
import { t as Xs } from "../chunks/padding-input-group.D2Qx15Yj.js";
|
|
161
161
|
import { t as Zs } from "../chunks/position-picker.X2hhfGx7.js";
|
|
162
|
-
import { t as Qs } from "../chunks/shadow-input-group.
|
|
162
|
+
import { t as Qs } from "../chunks/shadow-input-group.jGS4SWwT.js";
|
|
163
163
|
import { t as $s } from "../chunks/share-option-list.DOaEypfQ.js";
|
|
164
164
|
import { t as ec } from "../chunks/sidebar.CiZOJ49X.js";
|
|
165
|
-
import { t as tc } from "../chunks/size-input-group.
|
|
166
|
-
import { t as nc } from "../chunks/stepper-wizard.
|
|
165
|
+
import { t as tc } from "../chunks/size-input-group.Db5PQVLF.js";
|
|
166
|
+
import { t as nc } from "../chunks/stepper-wizard.D5CSyMa0.js";
|
|
167
167
|
import { t as rc } from "../chunks/typeface.eo-n8r2R.js";
|
|
168
|
-
import { T as ic, _ as ac, a as oc, b as sc, c as cc, d as lc, l as uc, m as dc, n as fc, o as pc, r as mc, s as hc, t as gc, v as _c } from "../chunks/asset-link-format.
|
|
169
|
-
import { c as vc, h as yc, l as bc, m as xc, p as Sc, t as Cc, u as wc } from "../chunks/color-swatch-group.
|
|
168
|
+
import { T as ic, _ as ac, a as oc, b as sc, c as cc, d as lc, l as uc, m as dc, n as fc, o as pc, r as mc, s as hc, t as gc, v as _c } from "../chunks/asset-link-format.BUZqXO4D.js";
|
|
169
|
+
import { c as vc, h as yc, l as bc, m as xc, p as Sc, t as Cc, u as wc } from "../chunks/color-swatch-group.G_07BvHg.js";
|
|
170
170
|
import { n as eee } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as tee } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as tee } from "../chunks/file-on-demand.C9kzOZ1N.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { A as Tc, B as nee, C as ree, D as Ec, E as iee, F as aee, G as oee, H as see, I as Dc, J as cee, K as lee, L as uee, M as dee, N as Oc, R as kc, S as Ac, U as jc, V as Mc, W as Nc, a as Pc, b as Fc, c as Ic, d as Lc, dt as Rc, f as zc, ft as Bc, g as fee, h as pee, i as Vc, it as mee, j as hee, k as gee, lt as Hc, m as _ee, mt as vee, nt as Uc, o as Wc, p as Gc, pt as Kc, q as yee, r as bee, rt as xee, s as qc, t as Jc, tt as See, u as Yc, ut as Xc, y as Zc, z as Qc } from "../chunks/configs-controller.
|
|
173
|
+
import { A as Tc, B as nee, C as ree, D as Ec, E as iee, F as aee, G as oee, H as see, I as Dc, J as cee, K as lee, L as uee, M as dee, N as Oc, R as kc, S as Ac, U as jc, V as Mc, W as Nc, a as Pc, b as Fc, c as Ic, d as Lc, dt as Rc, f as zc, ft as Bc, g as fee, h as pee, i as Vc, it as mee, j as hee, k as gee, lt as Hc, m as _ee, mt as vee, nt as Uc, o as Wc, p as Gc, pt as Kc, q as yee, r as bee, rt as xee, s as qc, t as Jc, tt as See, u as Yc, ut as Xc, y as Zc, z as Qc } from "../chunks/configs-controller.BPhkqQBv.js";
|
|
174
174
|
import { i as Cee } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as wee, c as Tee, d as $c, f as el, i as tl, l as nl, n as Eee, o as Dee, r as Oee, s as rl, t as il, u as al } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as ol } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -95207,7 +95207,7 @@ var A5 = class extends d {
|
|
|
95207
95207
|
return this.mappedSupportedLanguages.length > 1;
|
|
95208
95208
|
}
|
|
95209
95209
|
ensureConfigUi() {
|
|
95210
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95210
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.Brd2mbsf.js"), import("../chunks/configs-controller.BPhkqQBv.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95211
95211
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95212
95212
|
});
|
|
95213
95213
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/video.
|
|
1
|
+
import { n as e, t } from "../chunks/video.DWmHPbXO.js";
|
|
2
2
|
export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
|
package/library/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
|
-
import { DialogDividerPosition } from '../../../../types/src/dialog';
|
|
2
|
+
import { DialogDividerPosition, DialogPlacement } from '../../../../types/src/dialog';
|
|
3
3
|
import { default as Modal } from '../../../../utils/src/custom-element/modal';
|
|
4
4
|
import { CSSResultGroup, PropertyValues } from 'lit';
|
|
5
5
|
import { ScrollbarsAutoHideBehavior } from 'overlayscrollbars';
|
|
@@ -59,7 +59,11 @@ import { default as CxPopup } from '../popup/popup';
|
|
|
59
59
|
* `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.
|
|
60
60
|
* @property noHeader - Disables the header. This will also remove the default close button, so please ensure you provide an easy,
|
|
61
61
|
* accessible way for users to dismiss the dialog.
|
|
62
|
-
* @property boundary - The element
|
|
62
|
+
* @property boundary - The element inside which the dialog is placed.
|
|
63
|
+
* @property placement - Where the dialog sits inside its boundary: `center` (the default), `top`, `left`, `right`,
|
|
64
|
+
* `top-left` or `top-right`. `left` and `right` are physical sides and do not flip in right-to-left layouts. Use a top
|
|
65
|
+
* placement for a dialog whose content expands or collapses, so it grows downward and keeps its header and visible
|
|
66
|
+
* fields in place.
|
|
63
67
|
* @property disableOverlayClick - Prevents the dialog from closing when clicking the overlay.
|
|
64
68
|
* @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus
|
|
65
69
|
* trapping and allow third-party modals spawned from an active Shoelace modal, call `modal.activateExternal()` when
|
|
@@ -97,12 +101,19 @@ export default class CxDialog extends CortexElement {
|
|
|
97
101
|
*/
|
|
98
102
|
noHeader: boolean;
|
|
99
103
|
/**
|
|
100
|
-
* The element
|
|
101
|
-
* If not provided, the dialog
|
|
104
|
+
* The element inside which the dialog is placed (see `placement`).
|
|
105
|
+
* If not provided, the dialog is placed inside the document body.
|
|
102
106
|
*/
|
|
103
107
|
boundary: HTMLElement;
|
|
104
108
|
/** The position of the divider. */
|
|
105
109
|
dividerPosition: DialogDividerPosition;
|
|
110
|
+
/**
|
|
111
|
+
* Where the dialog sits inside its boundary. `center` centers it; `top` places it at the top center; `left` and
|
|
112
|
+
* `right` keep it vertically centered against that side; `top-left` and `top-right` place it in a top corner.
|
|
113
|
+
* `left` and `right` are physical sides and do not flip in right-to-left layouts. With a top placement, a dialog
|
|
114
|
+
* whose content expands or collapses grows downward and keeps its header and visible fields in place.
|
|
115
|
+
*/
|
|
116
|
+
placement: DialogPlacement;
|
|
106
117
|
/**
|
|
107
118
|
* Enables the overlay scrollbar plugin, which provides a custom scrollbar that does not take up any content space.
|
|
108
119
|
* This is useful for dialogs that contain scrollable content.
|
|
@@ -135,6 +146,8 @@ export default class CxDialog extends CortexElement {
|
|
|
135
146
|
/** Keeps an open dialog hidden until its popup has applied its first position. */
|
|
136
147
|
private positionReady;
|
|
137
148
|
private pendingInitialFocus;
|
|
149
|
+
/** Cancels a pending initial focus that is waiting for its target to become visible. */
|
|
150
|
+
private cancelDeferredInitialFocus;
|
|
138
151
|
boundarySize: {
|
|
139
152
|
height: number;
|
|
140
153
|
width: number;
|
|
@@ -160,6 +173,13 @@ export default class CxDialog extends CortexElement {
|
|
|
160
173
|
private initializeOverlayScrollbar;
|
|
161
174
|
private destroyOverlayScrollbar;
|
|
162
175
|
private setInitialFocus;
|
|
176
|
+
/**
|
|
177
|
+
* Focuses the initial target, or waits until it can take focus. A host page can still hold the dialog or one of
|
|
178
|
+
* its ancestors at `visibility: hidden` after the open animation ends (e.g. a server re-render that reveals nodes
|
|
179
|
+
* once positioned), and the browser ignores `focus()` on a hidden element.
|
|
180
|
+
*/
|
|
181
|
+
private focusInitialTarget;
|
|
182
|
+
private clearDeferredInitialFocus;
|
|
163
183
|
handleOpenChange(): Promise<void>;
|
|
164
184
|
/** Shows the dialog. */
|
|
165
185
|
show(): Promise<void>;
|
|
@@ -71,6 +71,8 @@ export default class CxDrawer extends CortexElement {
|
|
|
71
71
|
private originalTrigger;
|
|
72
72
|
modal: Modal;
|
|
73
73
|
private closeWatcher;
|
|
74
|
+
/** Cancels a pending initial focus that is waiting for its target to become visible. */
|
|
75
|
+
private cancelDeferredInitialFocus;
|
|
74
76
|
drawer: HTMLElement;
|
|
75
77
|
panel: HTMLElement;
|
|
76
78
|
overlay: HTMLElement;
|
|
@@ -130,6 +132,13 @@ export default class CxDrawer extends CortexElement {
|
|
|
130
132
|
hide(): Promise<void>;
|
|
131
133
|
private handleOverlayClick;
|
|
132
134
|
private handleCloseButtonClick;
|
|
135
|
+
/**
|
|
136
|
+
* Focuses the initial target, or waits until it can take focus. A host page can still hold the drawer or one of
|
|
137
|
+
* its ancestors at `visibility: hidden` when the drawer opens (e.g. a server re-render that reveals nodes once
|
|
138
|
+
* positioned), and the browser ignores `focus()` on a hidden element.
|
|
139
|
+
*/
|
|
140
|
+
private focusInitialTarget;
|
|
141
|
+
private clearDeferredInitialFocus;
|
|
133
142
|
render(): import('lit-html').TemplateResult<1>;
|
|
134
143
|
}
|
|
135
144
|
declare global {
|
|
@@ -174,7 +174,10 @@ export default class CxInput extends CortexElement implements CortexFormControl
|
|
|
174
174
|
* [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.
|
|
175
175
|
*/
|
|
176
176
|
autocomplete: HTMLInputElement['autocomplete'];
|
|
177
|
-
/**
|
|
177
|
+
/**
|
|
178
|
+
* Indicates that the input should receive focus on page load. Reflected so containers such as `cx-dialog` and
|
|
179
|
+
* `cx-drawer`, which look up `[autofocus]`, also find it when it is set as a property instead of an attribute.
|
|
180
|
+
*/
|
|
178
181
|
autoFocus: boolean;
|
|
179
182
|
/** Used to customize the label or icon of the Enter key on virtual keyboards. */
|
|
180
183
|
enterKeyHint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
@@ -22,6 +22,7 @@ export interface MenuSelectEventDetail {
|
|
|
22
22
|
* @cssproperty [--cx-panel-border-width=1px] - Border width of the menu and width of its dividers.
|
|
23
23
|
* @cssproperty [--cx-panel-background-color=var(--cx-color-neutral-0)] - Background color of the menu.
|
|
24
24
|
* @cssproperty [--cx-panel-border-color=var(--cx-color-neutral-200)] - Border color of the menu and color of its dividers.
|
|
25
|
+
* @cssproperty [--cx-menu-divider-spacing=var(--cx-spacing-x-small)] - Space above and below every divider in the menu, including the lines drawn between menu sections and under the Back item. It inherits, so setting it on the page or on a component reaches the menus inside other components too. Set `0` so a row's hover background reaches the divider.
|
|
25
26
|
*/
|
|
26
27
|
export default class CxMenu extends CortexElement {
|
|
27
28
|
static styles: CSSResultGroup;
|
|
@@ -52,7 +52,10 @@ export default class CxMenuItem extends CortexElement {
|
|
|
52
52
|
type: MenuItemType;
|
|
53
53
|
/** Overrides the ARIA role derived from `type`. */
|
|
54
54
|
itemRole?: MenuItemRole;
|
|
55
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* The trigger type for the submenu. With `both`, hovering opens the submenu and a mouse click only opens
|
|
57
|
+
* it, while a tap (touch or pen) toggles it. With `click`, every click toggles it.
|
|
58
|
+
*/
|
|
56
59
|
submenuTrigger: 'hover' | 'click' | 'both';
|
|
57
60
|
/** Draws the item in a checked state. */
|
|
58
61
|
checked: boolean;
|
|
@@ -4,6 +4,7 @@ import { default as CxPopup } from '../popup/popup';
|
|
|
4
4
|
import { default as CxMenuItem } from './menu-item';
|
|
5
5
|
/** A reactive controller to manage the registration of event listeners for submenus. */
|
|
6
6
|
export declare class SubmenuController implements ReactiveController {
|
|
7
|
+
#private;
|
|
7
8
|
private readonly host;
|
|
8
9
|
private readonly popupRef;
|
|
9
10
|
private parent;
|
|
@@ -49,6 +50,14 @@ export declare class SubmenuController implements ReactiveController {
|
|
|
49
50
|
*/
|
|
50
51
|
private focusFirstMenuItemAfterLazyLoad;
|
|
51
52
|
private handleKeyDown;
|
|
53
|
+
private handlePointerDown;
|
|
54
|
+
private handlePointerCancel;
|
|
55
|
+
/**
|
|
56
|
+
* A press released outside the host never produces a click on it (the click goes to the common ancestor),
|
|
57
|
+
* so forget its pointer type. Otherwise a later click with no pointerdown of its own (assistive technology,
|
|
58
|
+
* `el.click()`) would read it as a mouse click and leave the submenu open.
|
|
59
|
+
*/
|
|
60
|
+
private handleDocumentPointerUp;
|
|
52
61
|
private handleClick;
|
|
53
62
|
private handleSubmenuIconClick;
|
|
54
63
|
private handleDocumentMouseDown;
|
|
@@ -12,6 +12,11 @@ import { default as CxTag } from '../tag/tag';
|
|
|
12
12
|
* @slot - The listbox options. Can be any HTML element, nested or not, as long as they have role="option".
|
|
13
13
|
* However, default logic supports only `<cx-option>` elements. Make sure to override the default logic. See region Overridable.
|
|
14
14
|
* You can use `<cx-divider>` to group items visually.
|
|
15
|
+
* @slot footer - Options pinned at the bottom of the listbox, below a separator line. They stay visible while the other
|
|
16
|
+
* options scroll above them and come last in keyboard order. They are selected, filtered and emitted like any
|
|
17
|
+
* other option. Set `slot="footer"` on each `<cx-option>` itself, not on a wrapper. Do not add a `<cx-divider>`:
|
|
18
|
+
* the line is drawn for you, and a `separator` role is not allowed inside a listbox. Buttons and other controls
|
|
19
|
+
* are not supported either, because the footer is part of the listbox.
|
|
15
20
|
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
16
21
|
* @slot prefix - Used to prepend a presentational icon or similar element to the combobox.
|
|
17
22
|
* @slot suffix - Used to append a presentational icon or similar element to the combobox.
|
|
@@ -40,6 +45,8 @@ import { default as CxTag } from '../tag/tag';
|
|
|
40
45
|
* @csspart suffix - The container that wraps the suffix slot.
|
|
41
46
|
* @csspart display-input - The element that displays the selected option's label, an `<input>` element.
|
|
42
47
|
* @csspart listbox - The listbox container where options are slotted.
|
|
48
|
+
* @csspart listbox-footer - The container that wraps the `footer` slot, pinned at the bottom of the listbox. Its `::before`
|
|
49
|
+
* draws the separator line.
|
|
43
50
|
* @csspart tags - The container that houses option tags when `multiselect` is used.
|
|
44
51
|
* @csspart tag - The individual tags that represent each multiselect option.
|
|
45
52
|
* @csspart tag__base - The tag's base part.
|
|
@@ -118,6 +125,10 @@ export default class CxSelect extends CortexElement implements CortexFormControl
|
|
|
118
125
|
displayInput: HTMLInputElement;
|
|
119
126
|
valueInput: HTMLInputElement | null;
|
|
120
127
|
listbox: HTMLSlotElement;
|
|
128
|
+
/**
|
|
129
|
+
* Wraps the default slot. It only scrolls when the `footer` slot is used; otherwise the listbox scrolls.
|
|
130
|
+
*/
|
|
131
|
+
private optionsContainer;
|
|
121
132
|
private hasFocus;
|
|
122
133
|
displayLabel: string;
|
|
123
134
|
currentOption: HTMLElement | undefined;
|
|
@@ -404,7 +415,7 @@ export default class CxSelect extends CortexElement implements CortexFormControl
|
|
|
404
415
|
handleDefaultSlotChange(): void;
|
|
405
416
|
private handleTagRemove;
|
|
406
417
|
/**
|
|
407
|
-
* Gets an array of all <cx-option> elements
|
|
418
|
+
* Gets an array of all <cx-option> elements, in keyboard order (footer options last)
|
|
408
419
|
*/
|
|
409
420
|
private getAllOptions;
|
|
410
421
|
/**
|