@orangelogic/design-system 4.68.0 → 4.70.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/{abnfDiagram-N423BO3Z.H1zwr_k6.js → abnfDiagram-N423BO3Z.DF8zrlpl.js} +3 -3
- package/library/chunks/{alert.2Esbser8.js → alert.R0uU2KH7.js} +2 -2
- package/library/chunks/{architectureDiagram-T3A2C74G.AxjW1Pvo.js → architectureDiagram-T3A2C74G.ChMyS2RN.js} +5 -5
- package/library/chunks/{array-line-clamp.C0Vo0Zzg.js → array-line-clamp.sdjI6U9A.js} +2 -2
- package/library/chunks/{asset-link-format.COPyGdND.js → asset-link-format.D6L-qc3X.js} +8 -8
- package/library/chunks/{asset-link-format.Ce_3Qz6_.js → asset-link-format.dq41gJTI.js} +389 -384
- package/library/chunks/{audio.B0VfXBIx.js → audio.Bh_OVMPq.js} +2 -2
- package/library/chunks/{bicolor-picker.DS9Uut25.js → bicolor-picker.BiEM_IkN.js} +1 -1
- package/library/chunks/{block-width.y7Lu3iJ5.js → block-width.DVoxwnhY.js} +44 -44
- package/library/chunks/{blockDiagram-VBNYF7ZC.BA5YJ5tg.js → blockDiagram-VBNYF7ZC.Dd9MRQVF.js} +6 -6
- package/library/chunks/{border-input-group.B6fqiG6F.js → border-input-group.zw5e2uZT.js} +3 -3
- package/library/chunks/{breadcrumb.DkINVxcJ.js → breadcrumb.BUMgMApw.js} +1 -1
- package/library/chunks/{button.DKkHqsUz.js → button.Dja-uoTw.js} +3 -3
- package/library/chunks/{c4Diagram-5PPSVZJV.B1weqOqz.js → c4Diagram-5PPSVZJV.BYo1Zq25.js} +3 -3
- package/library/chunks/{channel.Bqlqmufs.js → channel.DQU07rrH.js} +1 -1
- package/library/chunks/{checkbox.BdSpQlwf.js → checkbox.BzR50Is_.js} +2 -2
- package/library/chunks/{chunk-2GRJ4B5K.BOBf1_FX.js → chunk-2GRJ4B5K.DSIuCed9.js} +1 -1
- package/library/chunks/{chunk-4I5QYGJK.DfO_P7bO.js → chunk-4I5QYGJK.C74S0dID.js} +1 -1
- package/library/chunks/{chunk-5RXB4S5H.oisV3Q1b.js → chunk-5RXB4S5H.BSZ9vwQ_.js} +6 -6
- package/library/chunks/{chunk-6Q2QTUOP.ByglL7sM.js → chunk-6Q2QTUOP.C98k0Ypz.js} +2 -2
- package/library/chunks/{chunk-7Z6QIM7H.BXSFN_6B.js → chunk-7Z6QIM7H.CbyAI1qL.js} +6 -6
- package/library/chunks/{chunk-GF5L2VYU.BBRVN_Sz.js → chunk-GF5L2VYU.BwnEI-9p.js} +6 -6
- package/library/chunks/{chunk-I66GZJ75.lUTR0Zxp.js → chunk-I66GZJ75.hYJHAb8_.js} +1 -1
- package/library/chunks/{chunk-JQJVKLGR.dOAJ_eec.js → chunk-JQJVKLGR.Ca9c6WQC.js} +8 -8
- package/library/chunks/{chunk-KBJHAD2P.Bfz5cQAa.js → chunk-KBJHAD2P.Dpm7St5I.js} +1 -1
- package/library/chunks/{chunk-NSK5VX7P.BkWzMz1o.js → chunk-NSK5VX7P.JTL9VQLt.js} +1 -1
- package/library/chunks/{chunk-QR6OTTB3.DyBl4spZ.js → chunk-QR6OTTB3.1iZWec7S.js} +6 -6
- package/library/chunks/{chunk-UBXNYLIW.BjkOeuJd.js → chunk-UBXNYLIW.DiZRcRzh.js} +2 -2
- package/library/chunks/{chunk-W5SLKNZC.DzlXmWcA.js → chunk-W5SLKNZC.BpdNkiim.js} +1 -1
- package/library/chunks/{chunk-WRU74C26.BDl8PZFV.js → chunk-WRU74C26.BREX4nlj.js} +3 -3
- package/library/chunks/{classDiagram-JCYQIIEL.P36yteOv.js → classDiagram-JCYQIIEL.CHysnuuw.js} +12 -12
- package/library/chunks/{classDiagram-v2-OCEON4UE.C05djrx3.js → classDiagram-v2-OCEON4UE.CMVfaUrJ.js} +12 -12
- package/library/chunks/{color-picker.DZUudAAS.js → color-picker.dyBoEYVk.js} +11 -11
- package/library/chunks/{color-swatch-group.CuMJc6m8.js → color-swatch-group.D7ezyFa4.js} +24 -24
- package/library/chunks/{color-swatch.DXAr2gBg.js → color-swatch.y7Bpth0U.js} +3 -3
- package/library/chunks/{config-manager.CHIF7ZBl.js → config-manager.DxNqEyoQ.js} +32 -32
- package/library/chunks/{configs-controller.TQDPq63n.js → configs-controller.Dw2p65Lp.js} +9 -9
- package/library/chunks/{confirm-popover.sZVNhFPh.js → confirm-popover.CBU6yy6Y.js} +4 -4
- package/library/chunks/{copy-button.CqqKJEh3.js → copy-button.FXPqVprU.js} +2 -2
- package/library/chunks/{corner-position-input-group.nTlFes0_.js → corner-position-input-group.itPK9LEh.js} +4 -4
- package/library/chunks/{cropper.BF32WRyP.js → cropper.D8Uu43xy.js} +1 -1
- package/library/chunks/{cynefinDiagram-MW4NZA55.CN3dX-zy.js → cynefinDiagram-MW4NZA55.CNmGi2wN.js} +3 -3
- package/library/chunks/{dagre-VZM6K2ZE.DpSsP2YW.js → dagre-VZM6K2ZE.pAZyqROg.js} +8 -8
- package/library/chunks/date-calendar.CVCAmoi6.js +188 -0
- package/library/chunks/date.kywrEgxd.js +363 -0
- package/library/chunks/{details.DSgp6VAD.js → details.DmHi0fqd.js} +1 -1
- package/library/chunks/{diagram-7IWD3JNH.C3K0gCHG.js → diagram-7IWD3JNH.BDOF6I2J.js} +4 -4
- package/library/chunks/{diagram-B4RE2ZJO.BULgC23C.js → diagram-B4RE2ZJO.DT1Xf2Kc.js} +2 -2
- package/library/chunks/{diagram-LBJQPF4R.BmYYTkym.js → diagram-LBJQPF4R.i67nojTE.js} +3 -3
- package/library/chunks/{diagram-Q27KOJAE.Bj5ayV3p.js → diagram-Q27KOJAE.C9Y5E3pX.js} +5 -5
- package/library/chunks/{diagram-UB23O5K3.Bu_lTx_A.js → diagram-UB23O5K3.Dxnn2pgu.js} +3 -3
- package/library/chunks/{dialog.D0oTJWFf.js → dialog.DpY6WRVN.js} +3 -3
- package/library/chunks/{diff.Bmdpmpvo.js → diff.BLPeoeMo.js} +1 -1
- package/library/chunks/{document-viewer.L77oYyOp.js → document-viewer.b3Nej7rG.js} +14 -14
- package/library/chunks/{dom.BLHsooDR.js → dom.8wD7rIGz.js} +1 -1
- package/library/chunks/{dot-pagination.C1C6NG8d.js → dot-pagination.ByrS9Fz0.js} +2 -2
- package/library/chunks/{drawer.BsKzYqKe.js → drawer.B9v7mKrO.js} +2 -2
- package/library/chunks/{dropdown.CKhoP9Cr.js → dropdown.BPVXbna1.js} +16 -7
- package/library/chunks/{dynamic-select.Cb3L0dIB.js → dynamic-select.D2zWyFJw.js} +5 -5
- package/library/chunks/{e-chart.DKFAToIc.js → e-chart.Dbh7iFWT.js} +2 -2
- package/library/chunks/{ebnfDiagram-BXEA7PRR.Cg96HHIs.js → ebnfDiagram-BXEA7PRR.C15CrBEH.js} +3 -3
- package/library/chunks/{element-clamp.CGq-62gg.js → element-clamp.CM3ydK4k.js} +2 -2
- package/library/chunks/{erDiagram-JOGREHBK.CrJ962th.js → erDiagram-JOGREHBK.BAFJcDwv.js} +11 -11
- package/library/chunks/{file-on-demand.BjUW2Ydt.js → file-on-demand.BqWBYhdM.js} +17 -17
- package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
- package/library/chunks/{folder-select.DJ5EEod3.js → folder-select.oEUjUT-R.js} +9 -9
- package/library/chunks/{form.D_eBa3AQ.js → form.ChOu6BIn.js} +1 -1
- package/library/chunks/{format-time.QkJcKYrT.js → format-time.QdzoTicK.js} +1 -1
- package/library/chunks/{ganttDiagram-PKOTCBZU.D216_p5R.js → ganttDiagram-PKOTCBZU.BWKE9zb3.js} +2 -2
- package/library/chunks/{gitGraphDiagram-DS77QQ5N.BGTaYiUE.js → gitGraphDiagram-DS77QQ5N.Dh9BZvJA.js} +2 -2
- package/library/chunks/{header.CowQINf-.js → header.l6qj73ci.js} +2 -2
- package/library/chunks/{i18n.Bjg2ubA4.js → i18n.BYpiX0kX.js} +40 -1
- package/library/chunks/{icon-button.qJd_az6T.js → icon-button.4VGhMghV.js} +2 -2
- package/library/chunks/{iframe.sl2wnUcC.js → iframe.CQ4J2A_9.js} +1 -1
- package/library/chunks/{image-comparer.BCD6kzLm.js → image-comparer.DMCUgZXb.js} +1 -1
- package/library/chunks/{image.-lgb634-.js → image.DQCunWsS.js} +2 -2
- package/library/chunks/{infoDiagram-6WML65LV.BHVojFJh.js → infoDiagram-6WML65LV.BlZ2eFcf.js} +2 -2
- package/library/chunks/{input.DZRed6yo.js → input.DWh_E1GV.js} +19 -6
- package/library/chunks/{ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js → ishikawaDiagram-WSZJBQD7.QMHGwtgV.js} +3 -3
- package/library/chunks/{journeyDiagram-NVQOT4AX.BXUxAk98.js → journeyDiagram-NVQOT4AX.C-ovuC8R.js} +2 -2
- package/library/chunks/{kanban-definition-27J2QSJJ.Bg8-oEtc.js → kanban-definition-27J2QSJJ.CwAo6fJw.js} +8 -8
- package/library/chunks/{line-clamp.Dl3_JdHX.js → line-clamp.DgWfU-Yi.js} +47 -28
- package/library/chunks/{markdown.BzDRvv-f.js → markdown.7JZ0SpEP.js} +4 -4
- package/library/chunks/{masonry.BxNeClR6.js → masonry.CMGXrgQ8.js} +3 -3
- package/library/chunks/{menu-item.au-gTg1F.js → menu-item.CJFkQ-YV.js} +3 -3
- package/library/chunks/{menu.BxBtGPsg.js → menu.BYeW0I0d.js} +2 -2
- package/library/chunks/{mermaid.core.m1JI7kDY.js → mermaid.core.CGY0RVtv.js} +49 -49
- package/library/chunks/{mindmap-definition-FAOFIHXS.DwjOzYq5.js → mindmap-definition-FAOFIHXS.CQvqcBzU.js} +10 -10
- package/library/chunks/{option.DWE0tark.js → option.Dk32KiRr.js} +1 -1
- package/library/chunks/{padding-input-group.D2Qx15Yj.js → padding-input-group.BlSd4VCs.js} +1 -1
- package/library/chunks/{pagination.ByLuPMyE.js → pagination.C0Zu1uP7.js} +7 -7
- package/library/chunks/{pegDiagram-VL7TDLO6.BaVddVr3.js → pegDiagram-VL7TDLO6.CCjKBwxn.js} +3 -3
- package/library/chunks/{pieDiagram-7S7Q4E2Y.lZiCqBKs.js → pieDiagram-7S7Q4E2Y.BIlwtlJL.js} +3 -3
- package/library/chunks/{popup.w4ZU3jI-.js → popup.DaV-mbsU.js} +2 -2
- package/library/chunks/{position-picker.X2hhfGx7.js → position-picker.mxReT7rl.js} +3 -3
- package/library/chunks/{progress-bar.CynVLLnY.js → progress-bar.OOVw3Ho1.js} +1 -1
- package/library/chunks/{progress-ring.Bfdj3-uB.js → progress-ring.DDNC-hmO.js} +1 -1
- package/library/chunks/purify.es.jxOE2kAK.js +867 -0
- package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js} +1 -1
- package/library/chunks/{radio-card.VEsyM8ue.js → radio-card.CbaIYFEi.js} +2 -2
- package/library/chunks/{radio-group.CHlxPcrs.js → radio-group.DfR13lVB.js} +1 -1
- package/library/chunks/{radio.DhPbmKbQ.js → radio.BmN7pFIX.js} +1 -1
- package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js} +3 -3
- package/library/chunks/{range.ObEMbygm.js → range.1d77B-YM.js} +3 -3
- package/library/chunks/{rating.CNeNn996.js → rating.u1DIMFu_.js} +1 -1
- package/library/chunks/{relative-time.BfE3UOhF.js → relative-time.Ca958bVn.js} +1 -1
- package/library/chunks/{requirementDiagram-LRYGKXZP.BhxZAEJL.js → requirementDiagram-LRYGKXZP.MlkqKyhd.js} +10 -10
- package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js} +1 -1
- package/library/chunks/{select.BV0Necz7.js → select.Blx7Am5x.js} +112 -108
- package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js} +4 -4
- package/library/chunks/{shadow-input-group.Xxuzm8Qe.js → shadow-input-group.E6JTidSM.js} +2 -2
- package/library/chunks/{share-option-list.DOaEypfQ.js → share-option-list.CVazDKnW.js} +3 -3
- package/library/chunks/{sidebar.CiZOJ49X.js → sidebar.2H_HDEhd.js} +2 -2
- package/library/chunks/{size-input-group.wXuG0-RB.js → size-input-group.CxTubAwO.js} +5 -5
- package/library/chunks/{spinner.Bv06U7NJ.js → spinner.AokDNIMB.js} +1 -1
- package/library/chunks/{split-panel.Cag0lAvv.js → split-panel.B0tLqJqx.js} +1 -1
- package/library/chunks/{src.Dia365C9.js → src.BQtwu7L_.js} +26 -26
- package/library/chunks/src.D6mhR5h1.js +103 -0
- package/library/chunks/{stateDiagram-OKZ733FA.DkiIgxjd.js → stateDiagram-OKZ733FA.JCaGHMmH.js} +12 -12
- package/library/chunks/{stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js → stateDiagram-v2-UEYNNEHI.CKrKpvxj.js} +12 -12
- package/library/chunks/{step.D93ReCO1.js → step.qMEvWQSa.js} +3 -3
- package/library/chunks/{stepper-wizard.CPZ2mSze.js → stepper-wizard.DbU4i26F.js} +2 -2
- package/library/chunks/{stepper.D0JB_GVh.js → stepper.BxTR5LWg.js} +1 -1
- package/library/chunks/{string.9yahdkB8.js → string.TY0RTPc8.js} +1 -1
- package/library/chunks/{swimlanes-SLNWSIFB.DKU7qXJ7.js → swimlanes-SLNWSIFB.BnCITr-P.js} +8 -8
- package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js → swimlanesDiagram-ULZ7WXOC.DMYLowNi.js} +12 -12
- package/library/chunks/{switch.BM9msK5T.js → switch.BuleQplE.js} +1 -1
- package/library/chunks/{tab-group.dnnT9Mk6.js → tab-group.CBg0wLFC.js} +8 -8
- package/library/chunks/{tab.CYYAua8Y.js → tab.Dmb7JL1e.js} +3 -3
- package/library/chunks/{tag.DQLauctm.js → tag.BGu9ORJf.js} +3 -3
- package/library/chunks/{textarea.CHSZI8vt.js → textarea.BQV58bk8.js} +1 -1
- package/library/chunks/{timecode.DjI1OTXD.js → timecode.B6JsxLxl.js} +1 -1
- package/library/chunks/{timeline-definition-Z64GVDOM.agRZ87Zs.js → timeline-definition-Z64GVDOM.DpGlraiA.js} +3 -3
- package/library/chunks/{tooltip.Cc02vm6M.js → tooltip.CboSydrY.js} +17 -21
- package/library/chunks/{tree.BI7r-WnZ.js → tree.CJcVgjAA.js} +4 -4
- package/library/chunks/{typeface.DTLrIP0B.js → typeface.rz2bQ3m1.js} +3 -3
- package/library/chunks/{vennDiagram-T6HMQDX7.Cd9lVObe.js → vennDiagram-T6HMQDX7.DYlGT1g9.js} +3 -3
- package/library/chunks/{video.DWmHPbXO.js → video.vPLA5d28.js} +6 -6
- package/library/chunks/{wardleyDiagram-T6FBY63Y.yCklp5Oa.js → wardleyDiagram-T6FBY63Y.DFkqP4xG.js} +3 -3
- package/library/chunks/{xychartDiagram-ELKLHX3M.CLuRN0XK.js → xychartDiagram-ELKLHX3M.CmCPBha7.js} +5 -5
- package/library/components/alert.js +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +58 -58
- package/library/components/audio.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/cropper.js +1 -1
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.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/e-chart.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +1 -1
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +18 -18
- package/library/components/option.js +1 -1
- 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/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.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/switch.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +21745 -18966
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +2 -2
- package/library/packages/atoms/src/components/date-calendar/date-calendar.d.ts +62 -9
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +6 -0
- package/library/packages/atoms/src/components/input/input.d.ts +20 -1
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +3 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +3 -0
- package/library/packages/atoms/src/components/select/select.d.ts +0 -4
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +4 -1
- package/library/packages/events/src/cx-search-facet-date-change.d.ts +11 -0
- package/library/packages/events/src/cx-search-facet-focus-title.d.ts +10 -0
- package/library/packages/events/src/cx-search-facet-reset.d.ts +12 -0
- package/library/packages/events/src/cx-search-facet-select-all.d.ts +13 -0
- package/library/packages/events/src/cx-search-facet-show-more.d.ts +12 -0
- package/library/packages/events/src/cx-search-facet-toggle.d.ts +11 -0
- package/library/packages/events/src/cx-search-facets-apply.d.ts +17 -0
- package/library/packages/events/src/cx-search-facets-change-filters.d.ts +6 -0
- package/library/packages/events/src/cx-search-facets-clear-all.d.ts +10 -0
- package/library/packages/events/src/cx-search-facets-custom.d.ts +10 -0
- package/library/packages/events/src/cx-search-facets-facet-expand.d.ts +9 -0
- package/library/packages/events/src/cx-search-facets-node-expand.d.ts +11 -0
- package/library/packages/events/src/cx-search-facets-refresh.d.ts +6 -0
- package/library/packages/events/src/cx-search-facets-show-more.d.ts +8 -0
- package/library/packages/events/src/cx-search-facets-summary-expand.d.ts +9 -0
- package/library/packages/events/src/cx-search-facets-summary-remove.d.ts +12 -0
- package/library/packages/events/src/events.d.ts +16 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +1 -0
- package/library/packages/molecules/src/input-date-picker/input-date-picker.d.ts +116 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +7 -2
- package/library/packages/organisms/src/index.d.ts +1 -0
- package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.d.ts +95 -0
- package/library/packages/organisms/src/search-facets/components/search-facet/search-facet.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/advanced-date-reading.d.ts +90 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.d.ts +85 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-advanced-date/search-facet-advanced-date.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.d.ts +47 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-color/search-facet-color.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-date/date-range-validation.d.ts +67 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.d.ts +120 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-date/search-facet-date.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.d.ts +44 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-similar/search-facet-similar.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.d.ts +104 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-tree/search-facet-tree.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/components/search-facet-tree/visible-nodes.d.ts +36 -0
- package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.d.ts +67 -0
- package/library/packages/organisms/src/search-facets/components/search-facets-summary/search-facets-summary.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/search-facets.d.ts +198 -0
- package/library/packages/organisms/src/search-facets/search-facets.fixtures.d.ts +141 -0
- package/library/packages/organisms/src/search-facets/search-facets.styles.d.ts +2 -0
- package/library/packages/organisms/src/search-facets/state/date-drafts.d.ts +11 -0
- package/library/packages/organisms/src/search-facets/state/long-panel.d.ts +7 -0
- package/library/packages/organisms/src/search-facets/state/preview-summary.d.ts +17 -0
- package/library/packages/organisms/src/search-facets/state/preview-waiting-changes.d.ts +12 -0
- package/library/packages/organisms/src/search-facets/state/response-correlation.d.ts +9 -0
- package/library/packages/organisms/src/search-facets/state/waiting-changes.d.ts +179 -0
- package/library/packages/organisms/src/search-facets/types.d.ts +347 -0
- package/library/packages/types/src/asset-link-format.d.ts +6 -0
- package/library/packages/types/src/search-facets.d.ts +104 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +39 -0
- package/library/packages/utils/src/date/calendar-grid.d.ts +5 -6
- package/library/packages/utils/src/date/date.d.ts +7 -1
- package/library/react-web-component.d.ts +87 -5
- package/library/utils.js +13 -13
- package/package.json +1 -1
- package/library/chunks/date-calendar.B7e6WBzh.js +0 -78
- package/library/chunks/date.BL4L64Hx.js +0 -358
- package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
- package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
- package/library/chunks/src.2wQZtR6J.js +0 -103
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../chunks/video.
|
|
1
|
+
import { n as e, t } from "../chunks/video.vPLA5d28.js";
|
|
2
2
|
export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
|
package/library/package.json
CHANGED
|
@@ -39,8 +39,8 @@ import { default as CxIcon } from '../icon/icon';
|
|
|
39
39
|
* @cssproperty [--cx-toggle-size-large=22px] - Size of the control of a large checkbox.
|
|
40
40
|
* @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the checkbox control.
|
|
41
41
|
* @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked control on hover.
|
|
42
|
-
* @cssproperty [--cx-
|
|
43
|
-
* @cssproperty [--cx-
|
|
42
|
+
* @cssproperty [--cx-checkbox-border-color=var(--cx-color-neutral-500)] - Border color of the unchecked control. The default keeps a 3:1 contrast against the control background in both themes.
|
|
43
|
+
* @cssproperty [--cx-checkbox-border-color-hover=var(--cx-color-primary)] - Border color of the unchecked control on hover.
|
|
44
44
|
* @cssproperty [--cx-input-invalid-border-color=var(--cx-color-danger)] - Border color of the control when the checkbox is invalid.
|
|
45
45
|
* @cssproperty [--cx-input-invalid-color=var(--cx-color-danger-700)] - Color of the label when the checkbox is invalid.
|
|
46
46
|
* @cssproperty [--cx-input-invalid-shadow=0 0 0 var(--cx-focus-ring-width) var(--cx-color-danger-300)] - Focus ring of the control when the checkbox is invalid and focused.
|
|
@@ -3,6 +3,12 @@ import { CSSResultGroup, PropertyValues } from 'lit';
|
|
|
3
3
|
import { default as CxIconButton } from '../icon-button/icon-button';
|
|
4
4
|
/**
|
|
5
5
|
* @summary A standalone calendar grid for picking a single date.
|
|
6
|
+
* @description Shows every day of the month, in as many weeks as it needs, starting on `first-day-of-week`. The month
|
|
7
|
+
* title, the weekday names and each day's name follow the page language. The grid is a WAI-ARIA grid with a single Tab
|
|
8
|
+
* stop: the arrow keys move a day or a week, PageUp/PageDown a month, Shift+PageUp/PageDown a year, Home/End the first
|
|
9
|
+
* or last day of the month, and Enter or Space picks the focused day. Moving past the shown month changes the month and
|
|
10
|
+
* keeps focus on the new day; the month title is a polite live region. With `trap-focus` (a calendar shown in a dialog)
|
|
11
|
+
* Tab and Shift+Tab cycle between the previous-month button, the next-month button and the grid.
|
|
6
12
|
*
|
|
7
13
|
* @event {{ value: string }} cx-date-select - Emitted when the user selects a date. Value is always YYYY-MM-DD.
|
|
8
14
|
*
|
|
@@ -13,10 +19,12 @@ import { default as CxIconButton } from '../icon-button/icon-button';
|
|
|
13
19
|
*
|
|
14
20
|
* @cssproperty [--cell-size=30px] - Width and height of each date cell.
|
|
15
21
|
* @cssproperty [--cell-border-radius=0] - Border radius of date cells. Set to 50% for circular cells.
|
|
16
|
-
* @cssproperty [--cell-selected-background=var(--cx-color-neutral-
|
|
22
|
+
* @cssproperty [--cell-selected-background=var(--cx-color-neutral-600)] - Background of the selected date cell. The default keeps the selected digit at 4.5:1 or better in both themes, also while hovered. Hover dims the cell to 0.9 opacity; a custom value should be checked in that state too.
|
|
17
23
|
* @cssproperty [--cell-selected-color=var(--cx-color-neutral-0)] - Text color of the selected date cell.
|
|
18
24
|
* @cssproperty [--cell-today-background=var(--cx-color-primary-200)] - Background highlight for today's date.
|
|
19
|
-
* @cssproperty [--cell-
|
|
25
|
+
* @cssproperty [--cell-outside-color=color-mix(in srgb, var(--cx-color-neutral-900) 80%, var(--cx-color-neutral-100))] - Text color of a selectable date outside the shown month. The default keeps a 4.5:1 contrast against the outside cell background, and against the today highlight while `--cell-today-background` is at its default, in both themes. It is built from tokens, so it holds whatever `color-scheme` the host sets. An out-of-range date takes a dimmer inactive color instead (3:1 or better on every cell it can sit on); a selected date keeps the selection marker either way.
|
|
26
|
+
* @cssproperty [--cell-hover-background=var(--cx-color-primary-50)] - Background of a pickable (enabled, unselected) date cell on hover.
|
|
27
|
+
* @cssproperty [--calendar-border-color=color-mix(in srgb, var(--cx-color-neutral-900) 55%, var(--cx-color-neutral-0))] - Color of the lines around and between the date cells. The default keeps a 3:1 contrast against the plain, outside and hovered cells in both themes.
|
|
20
28
|
* @cssproperty [--header-background=var(--cx-color-neutral-100)] - Background of the month/year header.
|
|
21
29
|
*/
|
|
22
30
|
export default class CxDateCalendar extends CortexElement {
|
|
@@ -24,16 +32,16 @@ export default class CxDateCalendar extends CortexElement {
|
|
|
24
32
|
static dependencies: {
|
|
25
33
|
'cx-icon-button': typeof CxIconButton;
|
|
26
34
|
};
|
|
35
|
+
private readonly localize;
|
|
27
36
|
/** Today's CalendarDate — computed once at construction, used to highlight today's cell. */
|
|
28
37
|
private readonly today;
|
|
29
38
|
/** Derived grid cells — recomputed in willUpdate before every render. */
|
|
30
39
|
private cells;
|
|
31
|
-
/**
|
|
32
|
-
private
|
|
33
|
-
|
|
34
|
-
private
|
|
35
|
-
|
|
36
|
-
private viewMonth;
|
|
40
|
+
/** Set by a key that moved the active day, so `updated()` moves focus to it once rendered. */
|
|
41
|
+
private shouldFocusActiveDay;
|
|
42
|
+
private readonly prevButton?;
|
|
43
|
+
private readonly nextButton?;
|
|
44
|
+
private readonly gridElement?;
|
|
37
45
|
/**
|
|
38
46
|
* The selected date. Accepts YYYY-MM-DD or ISO UTC datetime (2026-06-05T00:00:00.000Z).
|
|
39
47
|
* ISO datetimes are converted to the browser's local date.
|
|
@@ -43,14 +51,59 @@ export default class CxDateCalendar extends CortexElement {
|
|
|
43
51
|
min: string;
|
|
44
52
|
/** Maximum selectable date in YYYY-MM-DD format. */
|
|
45
53
|
max: string;
|
|
54
|
+
/** First day of the week, 0 = Sunday … 6 = Saturday. Anything else reads as Sunday. */
|
|
55
|
+
firstDayOfWeek: number;
|
|
56
|
+
/** Keeps Tab and Shift+Tab inside the calendar, for a calendar shown in a dialog. */
|
|
57
|
+
trapFocus: boolean;
|
|
58
|
+
/** Normalized selected date (YYYY-MM-DD). Empty string means no selection. */
|
|
59
|
+
private selectedDate;
|
|
60
|
+
/** Year of the currently displayed month. */
|
|
61
|
+
private viewYear;
|
|
62
|
+
/** 1-based month of the currently displayed month. */
|
|
63
|
+
private viewMonth;
|
|
64
|
+
/** The day that holds the grid's single Tab stop and keyboard focus. */
|
|
65
|
+
private activeDate;
|
|
46
66
|
willUpdate(changedProperties: PropertyValues): void;
|
|
47
|
-
|
|
67
|
+
/** Whether the shown month has a day that can be picked; without one the grid has no Tab stop. */
|
|
68
|
+
private get hasEnabledCell();
|
|
69
|
+
/**
|
|
70
|
+
* Keeps the grid's single Tab stop on an enabled day shown in the grid: the active day itself, else the enabled day
|
|
71
|
+
* nearest to it. With every day disabled (a month outside `min`…`max`) the 1st is kept as the active day, but the grid
|
|
72
|
+
* then has no Tab stop and the focus trap skips it.
|
|
73
|
+
*/
|
|
74
|
+
private nearestEnabledCellDate;
|
|
75
|
+
updated(changedProperties: PropertyValues): void;
|
|
76
|
+
/**
|
|
77
|
+
* Shows the month of `date` (else of the selected day, else today) and moves keyboard focus to that day. Call it once
|
|
78
|
+
* the calendar can take focus, for example after the popup holding it has opened.
|
|
79
|
+
*/
|
|
80
|
+
focusActiveDay(date?: string): Promise<void>;
|
|
81
|
+
private get activeCellButton();
|
|
82
|
+
/** Makes `date` the active day and shows its month. */
|
|
83
|
+
private setActiveDate;
|
|
48
84
|
private handlePrevMonth;
|
|
49
85
|
private handleNextMonth;
|
|
86
|
+
/** Changes the shown month; the active day follows so the grid keeps its Tab stop. Focus stays on the button. */
|
|
87
|
+
private showMonth;
|
|
50
88
|
private handleGridClick;
|
|
89
|
+
/** Picks an enabled day shown in the grid. */
|
|
90
|
+
private selectDate;
|
|
91
|
+
private handleGridKeyDown;
|
|
92
|
+
/** The day inside `min`…`max` nearest to `date`. ISO days compare as strings. */
|
|
93
|
+
private clampToRange;
|
|
94
|
+
/** The day a navigation key moves to, or undefined for any other key. */
|
|
95
|
+
private dateForKey;
|
|
96
|
+
/** With `trap-focus`, Tab and Shift+Tab cycle previous month → next month → grid. */
|
|
97
|
+
private handleKeyDown;
|
|
98
|
+
/** Weekdays in display order, as short and long names in the user's language. */
|
|
99
|
+
private get weekdays();
|
|
100
|
+
private get weekStart();
|
|
101
|
+
private get monthTitle();
|
|
102
|
+
private dayLabel;
|
|
51
103
|
private renderHeader;
|
|
52
104
|
private renderWeekdays;
|
|
53
105
|
private renderCell;
|
|
106
|
+
private renderWeeks;
|
|
54
107
|
render(): import('lit-html').TemplateResult<1>;
|
|
55
108
|
}
|
|
56
109
|
declare global {
|
|
@@ -88,6 +88,12 @@ export default class CxDropdown extends CortexElement {
|
|
|
88
88
|
* actually renders.
|
|
89
89
|
*/
|
|
90
90
|
private get hoistBoundary();
|
|
91
|
+
/** The flip boundary for the panel. When not set, the document body is used if hoisted. */
|
|
92
|
+
flipBoundary?: Element | Element[];
|
|
93
|
+
/** The shift boundary for the panel. When not set, the document body is used if hoisted. */
|
|
94
|
+
shiftBoundary?: Element | Element[];
|
|
95
|
+
/** The auto-size boundary for the panel. When not set, the document body is used if hoisted. */
|
|
96
|
+
autoSizeBoundary?: Element | Element[];
|
|
91
97
|
/**
|
|
92
98
|
* Syncs the popup width or height to that of the trigger element.
|
|
93
99
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CortexFormControl, default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
2
|
import { ButtonVariant } from '../../../../types/src/button';
|
|
3
|
-
import { CSSResultGroup } from 'lit';
|
|
3
|
+
import { CSSResultGroup, PropertyValues } from 'lit';
|
|
4
4
|
import { default as CxIcon } from '../icon/icon';
|
|
5
5
|
/**
|
|
6
6
|
* @summary Inputs collect data from the user.
|
|
@@ -92,6 +92,7 @@ export default class CxInput extends CortexElement implements CortexFormControl
|
|
|
92
92
|
autoGrowMirror: HTMLSpanElement;
|
|
93
93
|
inputContainer: HTMLElement;
|
|
94
94
|
labelElement: HTMLElement;
|
|
95
|
+
private readonly helpTextElement?;
|
|
95
96
|
private hasFocus;
|
|
96
97
|
private maskInstance;
|
|
97
98
|
private containerClicked;
|
|
@@ -148,6 +149,17 @@ export default class CxInput extends CortexElement implements CortexFormControl
|
|
|
148
149
|
form: string | HTMLElement | undefined;
|
|
149
150
|
/** Makes the input a required field. */
|
|
150
151
|
required: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Marks the value as invalid for assistive technology (`aria-invalid="true"` on the native input), for a message the
|
|
154
|
+
* host shows about it. It does not change the input's form validity.
|
|
155
|
+
*/
|
|
156
|
+
invalid: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Elements outside this input that also describe it, for example a validation message its host shows. They are read
|
|
159
|
+
* after the help text, through `ariaDescribedByElements`, so they may live in any shadow root that contains this
|
|
160
|
+
* input. JS only.
|
|
161
|
+
*/
|
|
162
|
+
describedByElements: readonly Element[];
|
|
151
163
|
/** A regular expression pattern to validate input against. */
|
|
152
164
|
pattern: string;
|
|
153
165
|
/** The minimum length of input that will be considered valid. */
|
|
@@ -248,7 +260,14 @@ export default class CxInput extends CortexElement implements CortexFormControl
|
|
|
248
260
|
constructor();
|
|
249
261
|
connectedUpdatedCallback(): void;
|
|
250
262
|
disconnectedCallback(): void;
|
|
263
|
+
updated(changedProperties: PropertyValues<this>): void;
|
|
251
264
|
initMaskInstance(): Promise<void>;
|
|
265
|
+
/**
|
|
266
|
+
* Points the native input at its help text and the host's elements. Element references reach across shadow roots,
|
|
267
|
+
* where the `aria-describedby` id cannot. With none, the template's `aria-describedby="help-text"` stands, and is put
|
|
268
|
+
* back when the host's elements go, since setting `ariaDescribedByElements` replaces that attribute.
|
|
269
|
+
*/
|
|
270
|
+
private syncDescribedBy;
|
|
252
271
|
private handleBlur;
|
|
253
272
|
private handleChange;
|
|
254
273
|
private handleClearClick;
|
|
@@ -46,6 +46,8 @@ export default class CxLineClamp extends CortexElement {
|
|
|
46
46
|
*/
|
|
47
47
|
clampedTooltip: string;
|
|
48
48
|
disabledTooltip: boolean;
|
|
49
|
+
/** Opens the available tooltip when a containing control owns keyboard focus. Does not enable unclamped tooltips. */
|
|
50
|
+
tooltipOpen: boolean;
|
|
49
51
|
disabledHoverBridge: boolean;
|
|
50
52
|
/** The flip boundary for the tooltip. */
|
|
51
53
|
flipBoundary: Element | Element[];
|
|
@@ -80,6 +82,7 @@ export default class CxLineClamp extends CortexElement {
|
|
|
80
82
|
connectedUpdatedCallback(): void;
|
|
81
83
|
disconnectedCallback(): void;
|
|
82
84
|
updateTooltipContent(): Promise<void>;
|
|
85
|
+
syncTooltipOpen(): Promise<void>;
|
|
83
86
|
/**
|
|
84
87
|
* Safari has a bug where -webkit-line-clamp with mixed content (text + elements)
|
|
85
88
|
* can lose text nodes when tooltip hides. This forces a reflow to fix it.
|
|
@@ -27,6 +27,9 @@ import { default as CxIcon } from '../icon/icon';
|
|
|
27
27
|
* @cssproperty [--cx-toggle-size-large=22px] - Size of the control of a large radio.
|
|
28
28
|
* @cssproperty [--cx-input-background-color=var(--cx-color-neutral-0)] - Background color of the radio control.
|
|
29
29
|
* @cssproperty [--cx-input-background-color-hover=var(--cx-input-background-color)] - Background color of the unchecked control on hover.
|
|
30
|
+
* @cssproperty [--cx-radio-border-color=var(--cx-color-neutral-500)] - Border color of the unchecked control. The default keeps a 3:1 contrast against the control background in both themes.
|
|
31
|
+
* @cssproperty [--cx-radio-border-color-hover=var(--cx-color-primary)] - Border color of the unchecked control on hover.
|
|
32
|
+
* @cssproperty [--cx-input-label-color=var(--cx-color-neutral-700)] - Text color of the radio and its label.
|
|
30
33
|
* @cssproperty [--cx-input-border-color=var(--cx-color-neutral-300)] - Border color of the radio control. Dark theme: `var(--cx-color-neutral-400)`.
|
|
31
34
|
* @cssproperty [--cx-input-border-color-hover=var(--cx-color-primary-300)] - Border color of the unchecked control on hover. Dark theme: `var(--cx-color-primary-700)`.
|
|
32
35
|
* @cssproperty [--cx-input-label-color=var(--cx-color-neutral-600)] - Text color of the radio and its label. Dark theme: `var(--cx-color-neutral-700)`.
|
|
@@ -444,10 +444,6 @@ export default class CxSelect extends CortexElement implements CortexFormControl
|
|
|
444
444
|
* Toggles an option's selected state
|
|
445
445
|
*/
|
|
446
446
|
private toggleOptionSelection;
|
|
447
|
-
/**
|
|
448
|
-
* This method must be called whenever the selection changes. It will update the selected options cache, the current
|
|
449
|
-
* value, and the display value
|
|
450
|
-
*/
|
|
451
447
|
private selectionChanged;
|
|
452
448
|
protected get tags(): (TemplateResult<1> | typeof nothing)[];
|
|
453
449
|
private handleInvalid;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as CortexElement } from '../../../../base/src/cortex-element.ts';
|
|
2
|
-
import { CSSResultGroup } from 'lit';
|
|
2
|
+
import { CSSResultGroup, PropertyValues } from 'lit';
|
|
3
3
|
import { default as CxPopup, VirtualElement } from '../popup/popup';
|
|
4
4
|
/**
|
|
5
5
|
* @summary Tooltips display additional information based on a specific action.
|
|
@@ -46,6 +46,8 @@ export default class CxTooltip extends CortexElement {
|
|
|
46
46
|
private hoverTimeout;
|
|
47
47
|
private readonly localize;
|
|
48
48
|
private closeWatcher;
|
|
49
|
+
/** Only the latest transition may finish changing visibility. */
|
|
50
|
+
private openTransitionId;
|
|
49
51
|
defaultSlot: HTMLSlotElement;
|
|
50
52
|
body: HTMLElement;
|
|
51
53
|
popup: CxPopup;
|
|
@@ -104,6 +106,7 @@ export default class CxTooltip extends CortexElement {
|
|
|
104
106
|
private handleMouseOver;
|
|
105
107
|
private handleMouseOut;
|
|
106
108
|
private hasTrigger;
|
|
109
|
+
willUpdate(changedProperties: PropertyValues<this>): void;
|
|
107
110
|
handleOpenChange(): Promise<void>;
|
|
108
111
|
handleOptionsChange(): Promise<void>;
|
|
109
112
|
handleDisabledChange(): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SearchFacetDateChangeDetail } from '../../types/src/search-facets';
|
|
2
|
+
/**
|
|
3
|
+
* A date body reports its range, or that its fields hold something that is not a day, to `cx-search-facets`, which
|
|
4
|
+
* queues it until Apply and stops the event there. Hosts listen for `cx-search-facets-apply` instead.
|
|
5
|
+
*/
|
|
6
|
+
export type CxSearchFacetDateChangeEvent = CustomEvent<SearchFacetDateChangeDetail>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-search-facet-date-change': CxSearchFacetDateChangeEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal, non-bubbling request from a facet body to its `cx-search-facet` shell: focus the facet title because the
|
|
3
|
+
* body could not keep focus, for example when More left and no revealed value could take focus.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetFocusTitleEvent = CustomEvent<Record<string, never>>;
|
|
6
|
+
declare global {
|
|
7
|
+
interface GlobalEventHandlersEventMap {
|
|
8
|
+
'cx-search-facet-focus-title': CxSearchFacetFocusTitleEvent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A facet header's reset (or its undo) reports the facet to `cx-search-facets`, which queues or un-queues the reset
|
|
3
|
+
* until Apply and stops the event there. Hosts listen for `cx-search-facets-apply`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetResetEvent = CustomEvent<{
|
|
6
|
+
facetId: string;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-search-facet-reset': CxSearchFacetResetEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A facet header's select-all checkbox reports the state the user asked for to `cx-search-facets`, which queues it
|
|
3
|
+
* until Apply and stops the event there. Hosts listen for `cx-search-facets-apply`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetSelectAllEvent = CustomEvent<{
|
|
6
|
+
checked: boolean;
|
|
7
|
+
facetId: string;
|
|
8
|
+
}>;
|
|
9
|
+
declare global {
|
|
10
|
+
interface GlobalEventHandlersEventMap {
|
|
11
|
+
'cx-search-facet-select-all': CxSearchFacetSelectAllEvent;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A facet body asks `cx-search-facets` for more values. The panel stops it and re-emits `cx-search-facets-show-more`
|
|
3
|
+
* unless an Apply is in flight. Hosts listen for `cx-search-facets-show-more` instead.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetShowMoreEvent = CustomEvent<{
|
|
6
|
+
facetId: string;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-search-facet-show-more': CxSearchFacetShowMoreEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SearchFacetToggleDetail } from '../../types/src/search-facets';
|
|
2
|
+
/**
|
|
3
|
+
* A facet body reports one tick to `cx-search-facets`, which queues it until Apply and stops the event there.
|
|
4
|
+
* Hosts listen for `cx-search-facets-apply` instead.
|
|
5
|
+
*/
|
|
6
|
+
export type CxSearchFacetToggleEvent = CustomEvent<SearchFacetToggleDetail>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-search-facet-toggle': CxSearchFacetToggleEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FacetChange } from '../../types/src/search-facets';
|
|
2
|
+
export type CxSearchFacetsApplyEvent = CustomEvent<{
|
|
3
|
+
/**
|
|
4
|
+
* Net pending changes in the order the user first made them. Empty only when the panel's `always-show-apply` lets
|
|
5
|
+
* the user apply without one, to have the host search again.
|
|
6
|
+
*/
|
|
7
|
+
changes: FacetChange[];
|
|
8
|
+
/** Unique per Apply attempt; the host echoes it back as `data.responseTo`. */
|
|
9
|
+
requestId: string;
|
|
10
|
+
/** Search the changes were made against. */
|
|
11
|
+
searchKey?: string;
|
|
12
|
+
}>;
|
|
13
|
+
declare global {
|
|
14
|
+
interface GlobalEventHandlersEventMap {
|
|
15
|
+
'cx-search-facets-apply': CxSearchFacetsApplyEvent;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clear All (or its undo) in the "Applied filters" block, reported to `cx-search-facets`, which queues or un-queues a
|
|
3
|
+
* `clearAll` until Apply and stops the event there. Hosts listen for `cx-search-facets-apply`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetsClearAllEvent = CustomEvent<Record<string, never>>;
|
|
6
|
+
declare global {
|
|
7
|
+
interface GlobalEventHandlersEventMap {
|
|
8
|
+
'cx-search-facets-clear-all': CxSearchFacetsClearAllEvent;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type CxSearchFacetsNodeExpandEvent = CustomEvent<{
|
|
2
|
+
expanded: boolean;
|
|
3
|
+
facetId: string;
|
|
4
|
+
foldKey?: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}>;
|
|
7
|
+
declare global {
|
|
8
|
+
interface GlobalEventHandlersEventMap {
|
|
9
|
+
'cx-search-facets-node-expand': CxSearchFacetsNodeExpandEvent;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The user opened or closed the "Applied filters" block. Reaches the host; nothing waits for Apply. */
|
|
2
|
+
export type CxSearchFacetsSummaryExpandEvent = CustomEvent<{
|
|
3
|
+
expanded: boolean;
|
|
4
|
+
}>;
|
|
5
|
+
declare global {
|
|
6
|
+
interface GlobalEventHandlersEventMap {
|
|
7
|
+
'cx-search-facets-summary-expand': CxSearchFacetsSummaryExpandEvent;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A chip's remove (or undo) button in the "Applied filters" block reports its criterion to `cx-search-facets`, which
|
|
3
|
+
* queues or un-queues the removal until Apply and stops the event there. Hosts listen for `cx-search-facets-apply`.
|
|
4
|
+
*/
|
|
5
|
+
export type CxSearchFacetsSummaryRemoveEvent = CustomEvent<{
|
|
6
|
+
criterionId: string;
|
|
7
|
+
}>;
|
|
8
|
+
declare global {
|
|
9
|
+
interface GlobalEventHandlersEventMap {
|
|
10
|
+
'cx-search-facets-summary-remove': CxSearchFacetsSummaryRemoveEvent;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -193,6 +193,22 @@ export * from './cx-save-settings';
|
|
|
193
193
|
export * from './cx-sb-button-click';
|
|
194
194
|
export * from './cx-sb-dam-view-config-change';
|
|
195
195
|
export * from './cx-search';
|
|
196
|
+
export * from './cx-search-facet-date-change';
|
|
197
|
+
export * from './cx-search-facet-focus-title';
|
|
198
|
+
export * from './cx-search-facet-reset';
|
|
199
|
+
export * from './cx-search-facet-select-all';
|
|
200
|
+
export * from './cx-search-facet-show-more';
|
|
201
|
+
export * from './cx-search-facet-toggle';
|
|
202
|
+
export * from './cx-search-facets-apply';
|
|
203
|
+
export * from './cx-search-facets-change-filters';
|
|
204
|
+
export * from './cx-search-facets-clear-all';
|
|
205
|
+
export * from './cx-search-facets-custom';
|
|
206
|
+
export * from './cx-search-facets-facet-expand';
|
|
207
|
+
export * from './cx-search-facets-node-expand';
|
|
208
|
+
export * from './cx-search-facets-refresh';
|
|
209
|
+
export * from './cx-search-facets-show-more';
|
|
210
|
+
export * from './cx-search-facets-summary-expand';
|
|
211
|
+
export * from './cx-search-facets-summary-remove';
|
|
196
212
|
export * from './cx-select';
|
|
197
213
|
export * from './cx-selected-change';
|
|
198
214
|
export * from './cx-selection-change';
|