placer-toolkit 0.5.1 → 1.0.0-alpha.2
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/LICENSE.md +1 -1
- package/README.md +18 -22
- package/cdn/animations/attention_seekers/bounce.js +1 -0
- package/cdn/animations/attention_seekers/flash.js +1 -0
- package/cdn/animations/attention_seekers/headShake.js +1 -0
- package/cdn/animations/attention_seekers/heartBeat.js +1 -0
- package/cdn/animations/attention_seekers/jello.js +1 -0
- package/cdn/animations/attention_seekers/pulse.js +1 -0
- package/cdn/animations/attention_seekers/rubberBand.js +1 -0
- package/cdn/animations/attention_seekers/shake.js +1 -0
- package/cdn/animations/attention_seekers/shakeX.js +1 -0
- package/cdn/animations/attention_seekers/shakeY.js +1 -0
- package/cdn/animations/attention_seekers/swing.js +1 -0
- package/cdn/animations/attention_seekers/tada.js +1 -0
- package/cdn/animations/attention_seekers/wobble.js +1 -0
- package/cdn/animations/back_entrances/backInDown.js +1 -0
- package/cdn/animations/back_entrances/backInLeft.js +1 -0
- package/cdn/animations/back_entrances/backInRight.js +1 -0
- package/cdn/animations/back_entrances/backInUp.js +1 -0
- package/cdn/animations/back_exits/backOutDown.js +1 -0
- package/cdn/animations/back_exits/backOutLeft.js +1 -0
- package/cdn/animations/back_exits/backOutRight.js +1 -0
- package/cdn/animations/back_exits/backOutUp.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceIn.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInDown.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInLeft.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInRight.js +1 -0
- package/cdn/animations/bouncing_entrances/bounceInUp.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOut.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutDown.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutLeft.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutRight.js +1 -0
- package/cdn/animations/bouncing_exits/bounceOutUp.js +1 -0
- package/cdn/animations/easings/easings.js +1 -0
- package/cdn/animations/fading_entrances/fadeIn.js +1 -0
- package/cdn/animations/fading_entrances/fadeInBottomLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInBottomRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInDown.js +1 -0
- package/cdn/animations/fading_entrances/fadeInDownBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInLeftBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInRightBig.js +1 -0
- package/cdn/animations/fading_entrances/fadeInTopLeft.js +1 -0
- package/cdn/animations/fading_entrances/fadeInTopRight.js +1 -0
- package/cdn/animations/fading_entrances/fadeInUp.js +1 -0
- package/cdn/animations/fading_entrances/fadeInUpBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOut.js +1 -0
- package/cdn/animations/fading_exits/fadeOutBottomLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutBottomRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutDown.js +1 -0
- package/cdn/animations/fading_exits/fadeOutDownBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutLeftBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutRightBig.js +1 -0
- package/cdn/animations/fading_exits/fadeOutTopLeft.js +1 -0
- package/cdn/animations/fading_exits/fadeOutTopRight.js +1 -0
- package/cdn/animations/fading_exits/fadeOutUp.js +1 -0
- package/cdn/animations/fading_exits/fadeOutUpBig.js +1 -0
- package/cdn/animations/flippers/flip.js +1 -0
- package/cdn/animations/flippers/flipInX.js +1 -0
- package/cdn/animations/flippers/flipInY.js +1 -0
- package/cdn/animations/flippers/flipOutX.js +1 -0
- package/cdn/animations/flippers/flipOutY.js +1 -0
- package/cdn/animations/index.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedInLeft.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedInRight.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedOutLeft.js +1 -0
- package/cdn/animations/lightspeed/lightSpeedOutRight.js +1 -0
- package/cdn/animations/rotating_entrances/rotateIn.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInDownLeft.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInDownRight.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInUpLeft.js +1 -0
- package/cdn/animations/rotating_entrances/rotateInUpRight.js +1 -0
- package/cdn/animations/rotating_exits/rotateOut.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutDownLeft.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutDownRight.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutUpLeft.js +1 -0
- package/cdn/animations/rotating_exits/rotateOutUpRight.js +1 -0
- package/cdn/animations/sliding_entrances/slideInDown.js +1 -0
- package/cdn/animations/sliding_entrances/slideInLeft.js +1 -0
- package/cdn/animations/sliding_entrances/slideInRight.js +1 -0
- package/cdn/animations/sliding_entrances/slideInUp.js +1 -0
- package/cdn/animations/sliding_exits/slideOutDown.js +1 -0
- package/cdn/animations/sliding_exits/slideOutLeft.js +1 -0
- package/cdn/animations/sliding_exits/slideOutRight.js +1 -0
- package/cdn/animations/sliding_exits/slideOutUp.js +1 -0
- package/cdn/animations/specials/hinge.js +1 -0
- package/cdn/animations/specials/jackInTheBox.js +1 -0
- package/cdn/animations/specials/rollIn.js +1 -0
- package/cdn/animations/specials/rollOut.js +1 -0
- package/cdn/animations/zooming_entrances/zoomIn.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInDown.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInLeft.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInRight.js +1 -0
- package/cdn/animations/zooming_entrances/zoomInUp.js +1 -0
- package/cdn/animations/zooming_exits/zoomOut.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutDown.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutLeft.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutRight.js +1 -0
- package/cdn/animations/zooming_exits/zoomOutUp.js +1 -0
- package/cdn/chunks/chunk.22DZRUGL.js +1 -0
- package/cdn/chunks/chunk.2K4PNLGV.js +1 -0
- package/cdn/chunks/chunk.2KWTNKGQ.js +74 -0
- package/cdn/chunks/chunk.2N5ZK4F4.js +28 -0
- package/cdn/chunks/chunk.2SM5MTG6.js +1 -0
- package/cdn/chunks/chunk.2SQLMTYR.js +1 -0
- package/cdn/chunks/chunk.3EUMG6CL.js +112 -0
- package/cdn/chunks/chunk.3U3NAHEY.js +1 -0
- package/cdn/chunks/chunk.4CAEAIFN.js +1 -0
- package/cdn/chunks/chunk.4GFJDCKO.js +1 -0
- package/cdn/chunks/chunk.4NL2VE5O.js +1 -0
- package/cdn/chunks/chunk.4VMSMOA5.js +1 -0
- package/cdn/chunks/chunk.4W3OJG5Y.js +1 -0
- package/cdn/chunks/chunk.4X4XH4O2.js +1 -0
- package/cdn/chunks/chunk.4ZFWIEG2.js +1 -0
- package/cdn/chunks/chunk.5G3DFRPP.js +1 -0
- package/cdn/chunks/chunk.5HIUPHOM.js +1 -0
- package/cdn/chunks/chunk.5MJRUHKK.js +1 -0
- package/cdn/chunks/chunk.5OTOOMMJ.js +223 -0
- package/cdn/chunks/chunk.5PONJGRH.js +1 -0
- package/cdn/chunks/chunk.5WAFFOC5.js +1 -0
- package/cdn/chunks/chunk.5YXXLUP2.js +111 -0
- package/cdn/chunks/chunk.63PFEC3G.js +47 -0
- package/cdn/chunks/chunk.63YZ2OGJ.js +179 -0
- package/cdn/chunks/chunk.6C4VTMLQ.js +1 -0
- package/cdn/chunks/chunk.6RYC5FEW.js +1 -0
- package/cdn/chunks/chunk.6SP3MLBX.js +1 -0
- package/cdn/chunks/chunk.6T73D5OE.js +94 -0
- package/cdn/chunks/chunk.75KPG5ZW.js +73 -0
- package/cdn/chunks/chunk.75Y77XUI.js +288 -0
- package/cdn/chunks/chunk.7IRWTX4A.js +27 -0
- package/cdn/chunks/chunk.7QYDQTBC.js +1 -0
- package/cdn/chunks/chunk.7SJBQWSL.js +1 -0
- package/cdn/chunks/chunk.7UGLJJM6.js +1 -0
- package/cdn/chunks/chunk.7UYSBZLK.js +33 -0
- package/cdn/chunks/chunk.7XLP7ZNP.js +0 -0
- package/cdn/chunks/chunk.7YEJIK24.js +1 -0
- package/cdn/chunks/chunk.ADVDY32Z.js +1 -0
- package/cdn/chunks/chunk.AMJDSJZ5.js +130 -0
- package/cdn/chunks/chunk.B27E7VEZ.js +1 -0
- package/cdn/chunks/chunk.BGH5L7N6.js +1 -0
- package/cdn/chunks/chunk.BHNAOKFP.js +4 -0
- package/cdn/chunks/chunk.BSQP4EKW.js +17 -0
- package/cdn/chunks/chunk.C2RXDH23.js +12 -0
- package/cdn/chunks/chunk.CQPLNRNB.js +1 -0
- package/cdn/chunks/chunk.D5CFOPIE.js +1 -0
- package/cdn/chunks/chunk.DG6SQOFC.js +1 -0
- package/cdn/chunks/chunk.DNS43PE3.js +1 -0
- package/cdn/chunks/chunk.DQ2EFEM7.js +1 -0
- package/cdn/chunks/chunk.DRJDBJ6E.js +1 -0
- package/cdn/chunks/chunk.E4QLFQIH.js +1 -0
- package/cdn/chunks/chunk.E6MOE4FE.js +1 -0
- package/cdn/chunks/chunk.ECBLO7D3.js +1 -0
- package/cdn/chunks/chunk.EDLGCMPJ.js +1 -0
- package/cdn/chunks/chunk.ELYXTKTB.js +1 -0
- package/cdn/chunks/chunk.EMVTQD7Z.js +1 -0
- package/cdn/chunks/chunk.ESSED3D6.js +1 -0
- package/cdn/chunks/chunk.EZBCPDK5.js +1 -0
- package/cdn/chunks/chunk.EZBP4Q35.js +1 -0
- package/cdn/chunks/chunk.F7P64TTE.js +1 -0
- package/cdn/chunks/chunk.F7QM26VX.js +1 -0
- package/cdn/chunks/chunk.G3WMDHXU.js +1 -0
- package/cdn/chunks/chunk.G443HDU2.js +1 -0
- package/cdn/chunks/chunk.G4SAKBPC.js +1 -0
- package/cdn/chunks/chunk.GMD2IG67.js +1 -0
- package/cdn/chunks/chunk.GQIBOT7V.js +1 -0
- package/cdn/chunks/chunk.GRSW4YMQ.js +157 -0
- package/cdn/chunks/chunk.GUYJ76FZ.js +1 -0
- package/cdn/chunks/chunk.H2EOXVSZ.js +1 -0
- package/cdn/chunks/chunk.HAL7R4WT.js +0 -0
- package/cdn/chunks/chunk.HGR2N7GN.js +1 -0
- package/cdn/chunks/chunk.HNKZJPU5.js +1 -0
- package/cdn/chunks/chunk.HTBAOVSV.js +1 -0
- package/cdn/chunks/chunk.IFDHHGOU.js +1 -0
- package/cdn/chunks/chunk.IGMWK7NZ.js +1 -0
- package/cdn/chunks/chunk.IIHX5LOR.js +1 -0
- package/cdn/chunks/chunk.IJB4PCJH.js +1 -0
- package/cdn/chunks/chunk.IJMKJLO7.js +1 -0
- package/cdn/chunks/chunk.IJXVLI7F.js +1 -0
- package/cdn/chunks/chunk.ITURS4YZ.js +68 -0
- package/cdn/chunks/chunk.IUL3BHES.js +18 -0
- package/cdn/chunks/chunk.IX4OV3X6.js +63 -0
- package/cdn/chunks/chunk.J35PXB2V.js +204 -0
- package/cdn/chunks/chunk.JE6IZBGI.js +10 -0
- package/cdn/chunks/chunk.JTEIIDTY.js +106 -0
- package/cdn/chunks/chunk.KDTLVKSZ.js +127 -0
- package/cdn/chunks/chunk.KKVT4LHX.js +10 -0
- package/cdn/chunks/chunk.KPQGFV2T.js +1 -0
- package/cdn/chunks/chunk.KWVZRE3E.js +10 -0
- package/cdn/chunks/chunk.KYRT75BX.js +1 -0
- package/cdn/chunks/chunk.L2CNBOZJ.js +1 -0
- package/cdn/chunks/chunk.L4UUK6G4.js +1 -0
- package/cdn/chunks/chunk.LCCA4ADE.js +174 -0
- package/cdn/chunks/chunk.LDRHXIYA.js +1 -0
- package/cdn/chunks/chunk.LGGEB3IB.js +1 -0
- package/cdn/chunks/chunk.LHYUHRTC.js +1 -0
- package/cdn/chunks/chunk.LI6ACV6L.js +1 -0
- package/cdn/chunks/chunk.LIZVMFP3.js +1 -0
- package/cdn/chunks/chunk.LVUPLZGE.js +1 -0
- package/cdn/chunks/chunk.LWZCSGTE.js +1 -0
- package/cdn/chunks/chunk.M256MZ2P.js +1 -0
- package/cdn/chunks/chunk.M2NVAC3Z.js +1 -0
- package/cdn/chunks/chunk.MAQ3AU52.js +1 -0
- package/cdn/chunks/chunk.MM4THVKJ.js +1 -0
- package/cdn/chunks/chunk.MO7QMIH2.js +1 -0
- package/cdn/chunks/chunk.MV54FYCN.js +1 -0
- package/cdn/chunks/chunk.N5AZOOIZ.js +1 -0
- package/cdn/chunks/chunk.N72C3VU3.js +1 -0
- package/cdn/chunks/chunk.NE3XXRZM.js +1 -0
- package/cdn/chunks/chunk.NPYG3KBW.js +1 -0
- package/cdn/chunks/chunk.NTFNGAOW.js +117 -0
- package/cdn/chunks/chunk.NU2STAMX.js +1 -0
- package/cdn/chunks/chunk.NYIRGEA7.js +1 -0
- package/cdn/chunks/chunk.NYYTSWQF.js +38 -0
- package/cdn/chunks/chunk.O537LU5E.js +1 -0
- package/cdn/chunks/chunk.OD26IPSI.js +1 -0
- package/cdn/chunks/chunk.OI4TZZJC.js +305 -0
- package/cdn/chunks/chunk.OOQOIJSK.js +1 -0
- package/cdn/chunks/chunk.OQDGIWGZ.js +196 -0
- package/cdn/chunks/chunk.ORA34WZP.js +1 -0
- package/cdn/chunks/chunk.P4UE3S5U.js +1 -0
- package/cdn/chunks/chunk.P7GBRX2Q.js +1 -0
- package/cdn/chunks/chunk.P7X6ERDI.js +1 -0
- package/cdn/chunks/chunk.PBL2P7GX.js +1 -0
- package/cdn/chunks/chunk.PCTA7J6C.js +1 -0
- package/cdn/chunks/chunk.POW4JBEN.js +79 -0
- package/cdn/chunks/chunk.PP72VCB4.js +1 -0
- package/cdn/chunks/chunk.PSDD6Q4W.js +1 -0
- package/cdn/chunks/chunk.QCISI32Q.js +4 -0
- package/cdn/chunks/chunk.QE6C2GEL.js +1 -0
- package/cdn/chunks/chunk.QL5C2XOW.js +0 -0
- package/cdn/chunks/chunk.QPQZP354.js +208 -0
- package/cdn/chunks/chunk.QY5QOZRE.js +1 -0
- package/cdn/chunks/chunk.R2GXUKDX.js +1 -0
- package/cdn/chunks/chunk.R4FKXVN2.js +1 -0
- package/cdn/chunks/chunk.RFDMVIMA.js +1 -0
- package/cdn/chunks/chunk.RQ34LIU5.js +1 -0
- package/cdn/chunks/chunk.RWQ2HCYN.js +297 -0
- package/cdn/chunks/chunk.RYPVSVQS.js +326 -0
- package/cdn/chunks/chunk.RZZMGXAZ.js +1 -0
- package/cdn/chunks/chunk.SEIDC2AV.js +1 -0
- package/cdn/chunks/chunk.SMFJUIOR.js +10 -0
- package/cdn/chunks/chunk.SPURF5RT.js +4 -0
- package/cdn/chunks/chunk.STH7HATQ.js +142 -0
- package/cdn/chunks/chunk.SUPXW5XU.js +1 -0
- package/cdn/chunks/chunk.SXVGSAUS.js +4 -0
- package/cdn/chunks/chunk.TARXG5U3.js +1 -0
- package/cdn/chunks/chunk.TMAMLCL3.js +1 -0
- package/cdn/chunks/chunk.TMMJRXEV.js +1 -0
- package/cdn/chunks/chunk.TRVVBQVV.js +481 -0
- package/cdn/chunks/chunk.TSGCOVAS.js +1 -0
- package/cdn/chunks/chunk.TSZI2CPF.js +1 -0
- package/cdn/chunks/chunk.U2DNK7H4.js +1 -0
- package/cdn/chunks/chunk.U3MA3RIB.js +1 -0
- package/cdn/chunks/chunk.U3P5JBYR.js +250 -0
- package/cdn/chunks/chunk.U4YNKCI4.js +1 -0
- package/cdn/chunks/chunk.U7RBI2DC.js +1 -0
- package/cdn/chunks/chunk.UDGTTCHU.js +660 -0
- package/cdn/chunks/chunk.UJQFNBOE.js +1 -0
- package/cdn/chunks/chunk.UY4REGW5.js +1 -0
- package/cdn/chunks/chunk.V3AEPIKH.js +1 -0
- package/cdn/chunks/chunk.V4EXVX5U.js +1 -0
- package/cdn/chunks/chunk.V4LKFSOV.js +1 -0
- package/cdn/chunks/chunk.V7QO7LZ4.js +1 -0
- package/cdn/chunks/chunk.VVTMOSN2.js +170 -0
- package/cdn/chunks/chunk.W5PM7F34.js +34 -0
- package/cdn/chunks/chunk.WLREBMFL.js +1 -0
- package/cdn/chunks/chunk.X2UEAQ7T.js +1 -0
- package/cdn/chunks/chunk.XDLJVU4W.js +3 -0
- package/cdn/chunks/chunk.XESREUP5.js +10 -0
- package/cdn/chunks/chunk.XGNJKW3A.js +111 -0
- package/cdn/chunks/chunk.XNUSDBIN.js +1 -0
- package/cdn/chunks/chunk.XSSNRCMY.js +1 -0
- package/cdn/chunks/chunk.Y4QDLYQS.js +1 -0
- package/cdn/chunks/chunk.YDM7FW42.js +100 -0
- package/cdn/chunks/chunk.YEQLZR6M.js +1 -0
- package/cdn/chunks/chunk.YPCDSPNA.js +1 -0
- package/cdn/chunks/chunk.YUNTZWZZ.js +73 -0
- package/cdn/chunks/chunk.YVZPSF4R.js +1 -0
- package/cdn/chunks/chunk.YWY7M46V.js +1 -0
- package/cdn/chunks/chunk.Z6NCEETZ.js +1 -0
- package/cdn/chunks/chunk.ZDVLHLRA.js +1 -0
- package/cdn/chunks/chunk.ZE2WQTE4.js +1 -0
- package/cdn/chunks/chunk.ZJK5UEUE.js +1 -0
- package/cdn/chunks/chunk.ZRRFT6U7.js +1 -0
- package/cdn/chunks/chunk.ZS4GILCB.js +1 -0
- package/cdn/chunks/chunk.ZVANQQXU.js +1 -0
- package/cdn/chunks/chunk.ZY64ASSW.js +1 -0
- package/cdn/chunks/chunk.ZZIEMICG.js +11 -0
- package/cdn/components/animation/animation.js +1 -0
- package/cdn/components/animation/animations.js +1 -0
- package/cdn/components/avatar/avatar.js +1 -0
- package/cdn/components/badge/badge.js +1 -0
- package/cdn/components/button/button.js +1 -0
- package/cdn/components/button-group/button-group.js +1 -0
- package/cdn/components/callout/callout.js +1 -0
- package/cdn/components/card/card.js +1 -0
- package/cdn/components/checkbox/checkbox.js +1 -0
- package/cdn/components/color-picker/color-picker.js +1 -0
- package/cdn/components/comparer/comparer.js +1 -0
- package/cdn/components/copy-button/copy-button.js +1 -0
- package/cdn/components/details/details.js +1 -0
- package/cdn/components/dialog/dialog.js +1 -0
- package/cdn/components/divider/divider.js +1 -0
- package/cdn/components/drawer/drawer.js +1 -0
- package/cdn/components/dropdown/dropdown.js +1 -0
- package/cdn/components/dropdown-item/dropdown-item.js +1 -0
- package/cdn/components/format-bytes/format-bytes.js +1 -0
- package/cdn/components/format-date/format-date.js +1 -0
- package/cdn/components/format-number/format-number.js +1 -0
- package/cdn/components/icon/icon.js +1 -0
- package/cdn/components/icon/library.default.js +1 -0
- package/cdn/components/icon/library.js +1 -0
- package/cdn/components/icon/library.system.js +1 -0
- package/cdn/components/input/input.js +1 -0
- package/cdn/components/mutation-observer/mutation-observer.js +1 -0
- package/cdn/components/option/option.js +1 -0
- package/cdn/components/popup/popup.js +1 -0
- package/cdn/components/qr-code/qr-code.js +1 -0
- package/cdn/components/radio/radio.js +1 -0
- package/cdn/components/radio-group/radio-group.js +1 -0
- package/cdn/components/rating/rating.js +1 -0
- package/cdn/components/resize-observer/resize-observer.js +1 -0
- package/cdn/components/scroller/scroller.js +1 -0
- package/cdn/components/select/select.js +1 -0
- package/cdn/components/spinner/spinner.js +1 -0
- package/cdn/components/switch/switch.js +1 -0
- package/cdn/components/tab/tab.js +1 -0
- package/cdn/components/tab-group/tab-group.js +1 -0
- package/cdn/components/tab-panel/tab-panel.js +1 -0
- package/cdn/components/tag/tag.js +1 -0
- package/cdn/components/textarea/textarea.js +1 -0
- package/cdn/components/tooltip/tooltip.js +1 -0
- package/cdn/custom-elements.json +13055 -0
- package/cdn/events/events.js +1 -0
- package/cdn/events/pc-after-collapse.js +0 -0
- package/cdn/events/pc-after-expand.js +0 -0
- package/cdn/events/pc-after-hide.js +0 -0
- package/cdn/events/pc-after-show.js +0 -0
- package/cdn/events/pc-blur.js +0 -0
- package/cdn/events/pc-cancel.js +0 -0
- package/cdn/events/pc-change.js +0 -0
- package/cdn/events/pc-clear.js +0 -0
- package/cdn/events/pc-close.js +0 -0
- package/cdn/events/pc-collapse.js +0 -0
- package/cdn/events/pc-copy.js +0 -0
- package/cdn/events/pc-error.js +0 -0
- package/cdn/events/pc-expand.js +0 -0
- package/cdn/events/pc-finish.js +0 -0
- package/cdn/events/pc-focus.js +0 -0
- package/cdn/events/pc-hide.js +0 -0
- package/cdn/events/pc-hover.js +0 -0
- package/cdn/events/pc-initial-focus.js +0 -0
- package/cdn/events/pc-input.js +0 -0
- package/cdn/events/pc-invalid.js +0 -0
- package/cdn/events/pc-lazy-change.js +0 -0
- package/cdn/events/pc-lazy-load.js +0 -0
- package/cdn/events/pc-load.js +0 -0
- package/cdn/events/pc-mutation.js +0 -0
- package/cdn/events/pc-remove.js +0 -0
- package/cdn/events/pc-reposition.js +0 -0
- package/cdn/events/pc-resize.js +0 -0
- package/cdn/events/pc-select.js +0 -0
- package/cdn/events/pc-selection-change.js +0 -0
- package/cdn/events/pc-show.js +0 -0
- package/cdn/events/pc-slide-change.js +0 -0
- package/cdn/events/pc-start.js +0 -0
- package/cdn/events/pc-tab-hide.js +0 -0
- package/cdn/events/pc-tab-show.js +0 -0
- package/cdn/global-shims.js +1 -0
- package/cdn/internal/active-elements.js +1 -0
- package/cdn/internal/animate.js +1 -0
- package/cdn/internal/close-active-element.js +1 -0
- package/cdn/internal/debounce.js +1 -0
- package/cdn/internal/default-value.js +1 -0
- package/cdn/internal/drag.js +1 -0
- package/cdn/internal/emit.js +1 -0
- package/cdn/internal/event.js +1 -0
- package/cdn/internal/form.js +1 -0
- package/cdn/internal/math.js +1 -0
- package/cdn/internal/offset.js +1 -0
- package/cdn/internal/parse.js +1 -0
- package/cdn/internal/placer-element.js +1 -0
- package/cdn/internal/placer-form-control.js +0 -0
- package/cdn/internal/scroll.js +1 -0
- package/cdn/internal/scrollend-polyfill.js +1 -0
- package/cdn/internal/slot.js +1 -0
- package/cdn/internal/string.js +1 -0
- package/cdn/internal/tabbable.js +1 -0
- package/cdn/internal/watch.js +1 -0
- package/cdn/placer-autoloader.js +1 -0
- package/cdn/placer.js +1 -0
- package/cdn/styles/component-styles/form-control.css +33 -0
- package/cdn/styles/component-styles/host.css +13 -0
- package/cdn/styles/native.css +451 -0
- package/cdn/styles/palette/base.css +100 -0
- package/cdn/styles/palette/default.css +227 -0
- package/cdn/styles/palette/muted.css +227 -0
- package/cdn/styles/palette/vibrant.css +227 -0
- package/cdn/styles/placer.css +10 -0
- package/cdn/styles/themes/default.css +445 -0
- package/cdn/styles/themes/serene.css +454 -0
- package/cdn/styles/themes/utility.css +544 -0
- package/cdn/styles/utilities/align-items.css +21 -0
- package/cdn/styles/utilities/appearance.css +62 -0
- package/cdn/styles/utilities/border-radius.css +29 -0
- package/cdn/styles/utilities/fouce.css +11 -0
- package/cdn/styles/utilities/gap.css +66 -0
- package/cdn/styles/utilities/layout.css +162 -0
- package/cdn/styles/utilities/scroll-lock.css +21 -0
- package/cdn/styles/utilities/size.css +16 -0
- package/cdn/styles/utilities/text.css +156 -0
- package/cdn/styles/utilities/visually-hidden.css +16 -0
- package/cdn/styles/utilities.css +13 -0
- package/cdn/translations/ar.js +1 -0
- package/cdn/translations/bg.js +1 -0
- package/cdn/translations/bn.js +1 -0
- package/cdn/translations/bs.js +1 -0
- package/cdn/translations/ca.js +1 -0
- package/cdn/translations/cs.js +1 -0
- package/cdn/translations/cy.js +1 -0
- package/cdn/translations/da.js +1 -0
- package/cdn/translations/de-at.js +1 -0
- package/cdn/translations/de-ch.js +1 -0
- package/cdn/translations/de.js +1 -0
- package/cdn/translations/el.js +1 -0
- package/cdn/translations/en-gb.js +1 -0
- package/cdn/translations/en.js +1 -0
- package/cdn/translations/es-es.js +1 -0
- package/cdn/translations/es.js +1 -0
- package/cdn/translations/et.js +1 -0
- package/cdn/translations/eu.js +1 -0
- package/cdn/translations/fa.js +1 -0
- package/cdn/translations/fi.js +1 -0
- package/cdn/translations/fil.js +1 -0
- package/cdn/translations/fo.js +1 -0
- package/cdn/translations/fr-ca.js +1 -0
- package/cdn/translations/fr.js +1 -0
- package/cdn/translations/ga.js +1 -0
- package/cdn/translations/gu.js +1 -0
- package/cdn/translations/he.js +1 -0
- package/cdn/translations/hi.js +1 -0
- package/cdn/translations/hr.js +1 -0
- package/cdn/translations/hu.js +1 -0
- package/cdn/translations/id.js +1 -0
- package/cdn/translations/index.js +1 -0
- package/cdn/translations/is.js +1 -0
- package/cdn/translations/it.js +1 -0
- package/cdn/translations/ja.js +1 -0
- package/cdn/translations/ko.js +1 -0
- package/cdn/translations/lb.js +1 -0
- package/cdn/translations/lo.js +1 -0
- package/cdn/translations/lt.js +1 -0
- package/cdn/translations/lv.js +1 -0
- package/cdn/translations/mr.js +1 -0
- package/cdn/translations/ms.js +1 -0
- package/cdn/translations/mt.js +1 -0
- package/cdn/translations/nb.js +1 -0
- package/cdn/translations/nl-be.js +1 -0
- package/cdn/translations/nl.js +1 -0
- package/cdn/translations/nn.js +1 -0
- package/cdn/translations/pa-guru.js +1 -0
- package/cdn/translations/pa.js +1 -0
- package/cdn/translations/pl.js +1 -0
- package/cdn/translations/ps.js +1 -0
- package/cdn/translations/pt-br.js +1 -0
- package/cdn/translations/pt-pt.js +1 -0
- package/cdn/translations/pt.js +1 -0
- package/cdn/translations/ro.js +1 -0
- package/cdn/translations/ru.js +1 -0
- package/cdn/translations/sk.js +1 -0
- package/cdn/translations/sl.js +1 -0
- package/cdn/translations/sq.js +1 -0
- package/cdn/translations/sr.js +1 -0
- package/cdn/translations/sv.js +1 -0
- package/cdn/translations/sw.js +1 -0
- package/cdn/translations/te.js +1 -0
- package/cdn/translations/th.js +1 -0
- package/cdn/translations/tl.js +1 -0
- package/cdn/translations/tr.js +1 -0
- package/cdn/translations/uk.js +1 -0
- package/cdn/translations/ur.js +1 -0
- package/cdn/translations/vi.js +1 -0
- package/cdn/translations/zh-cn.js +1 -0
- package/cdn/translations/zh-hk.js +1 -0
- package/cdn/translations/zh-tw.js +1 -0
- package/cdn/utilities/animation-registry.js +1 -0
- package/cdn/utilities/animation.js +1 -0
- package/cdn/utilities/form.js +1 -0
- package/cdn/utilities/icon-library.js +1 -0
- package/cdn/utilities/kit-code.js +1 -0
- package/cdn/utilities/localize.js +1 -0
- package/dist/animations/attention_seekers/bounce.js +46 -44
- package/dist/animations/attention_seekers/flash.js +10 -8
- package/dist/animations/attention_seekers/headShake.js +11 -9
- package/dist/animations/attention_seekers/heartBeat.js +10 -8
- package/dist/animations/attention_seekers/jello.js +18 -16
- package/dist/animations/attention_seekers/pulse.js +8 -6
- package/dist/animations/attention_seekers/rubberBand.js +12 -10
- package/dist/animations/attention_seekers/shake.js +16 -14
- package/dist/animations/attention_seekers/shakeX.js +16 -14
- package/dist/animations/attention_seekers/shakeY.js +16 -14
- package/dist/animations/attention_seekers/swing.js +10 -8
- package/dist/animations/attention_seekers/tada.js +43 -41
- package/dist/animations/attention_seekers/wobble.js +27 -25
- package/dist/animations/back_entrances/backInDown.js +8 -6
- package/dist/animations/back_entrances/backInLeft.js +8 -6
- package/dist/animations/back_entrances/backInRight.js +8 -6
- package/dist/animations/back_entrances/backInUp.js +8 -6
- package/dist/animations/back_exits/backOutDown.js +8 -6
- package/dist/animations/back_exits/backOutLeft.js +8 -6
- package/dist/animations/back_exits/backOutRight.js +8 -6
- package/dist/animations/back_exits/backOutUp.js +8 -6
- package/dist/animations/bouncing_entrances/bounceIn.js +17 -15
- package/dist/animations/bouncing_entrances/bounceInDown.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInLeft.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInRight.js +23 -21
- package/dist/animations/bouncing_entrances/bounceInUp.js +23 -21
- package/dist/animations/bouncing_exits/bounceOut.js +9 -7
- package/dist/animations/bouncing_exits/bounceOutDown.js +21 -19
- package/dist/animations/bouncing_exits/bounceOutLeft.js +15 -13
- package/dist/animations/bouncing_exits/bounceOutRight.js +15 -13
- package/dist/animations/bouncing_exits/bounceOutUp.js +21 -19
- package/dist/animations/easings/easings.js +34 -32
- package/dist/animations/fading_entrances/fadeIn.js +7 -5
- package/dist/animations/fading_entrances/fadeInBottomLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInBottomRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInDown.js +7 -5
- package/dist/animations/fading_entrances/fadeInDownBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInLeftBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInRightBig.js +7 -5
- package/dist/animations/fading_entrances/fadeInTopLeft.js +7 -5
- package/dist/animations/fading_entrances/fadeInTopRight.js +7 -5
- package/dist/animations/fading_entrances/fadeInUp.js +7 -5
- package/dist/animations/fading_entrances/fadeInUpBig.js +7 -5
- package/dist/animations/fading_exits/fadeOut.js +7 -5
- package/dist/animations/fading_exits/fadeOutBottomLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutBottomRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutDown.js +7 -5
- package/dist/animations/fading_exits/fadeOutDownBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutLeftBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutRightBig.js +7 -5
- package/dist/animations/fading_exits/fadeOutTopLeft.js +7 -5
- package/dist/animations/fading_exits/fadeOutTopRight.js +7 -5
- package/dist/animations/fading_exits/fadeOutUp.js +7 -5
- package/dist/animations/fading_exits/fadeOutUpBig.js +7 -5
- package/dist/animations/flippers/flip.js +30 -28
- package/dist/animations/flippers/flipInX.js +23 -21
- package/dist/animations/flippers/flipInY.js +23 -21
- package/dist/animations/flippers/flipOutX.js +16 -14
- package/dist/animations/flippers/flipOutY.js +16 -14
- package/dist/animations/index.js +1208 -101
- package/dist/animations/lightspeed/lightSpeedInLeft.js +13 -11
- package/dist/animations/lightspeed/lightSpeedInRight.js +13 -11
- package/dist/animations/lightspeed/lightSpeedOutLeft.js +11 -9
- package/dist/animations/lightspeed/lightSpeedOutRight.js +11 -9
- package/dist/animations/rotating_entrances/rotateIn.js +7 -5
- package/dist/animations/rotating_entrances/rotateInDownLeft.js +7 -5
- package/dist/animations/rotating_entrances/rotateInDownRight.js +7 -5
- package/dist/animations/rotating_entrances/rotateInUpLeft.js +7 -5
- package/dist/animations/rotating_entrances/rotateInUpRight.js +7 -5
- package/dist/animations/rotating_exits/rotateOut.js +7 -5
- package/dist/animations/rotating_exits/rotateOutDownLeft.js +7 -5
- package/dist/animations/rotating_exits/rotateOutDownRight.js +7 -5
- package/dist/animations/rotating_exits/rotateOutUpLeft.js +7 -5
- package/dist/animations/rotating_exits/rotateOutUpRight.js +7 -5
- package/dist/animations/sliding_entrances/slideInDown.js +7 -5
- package/dist/animations/sliding_entrances/slideInLeft.js +7 -5
- package/dist/animations/sliding_entrances/slideInRight.js +7 -5
- package/dist/animations/sliding_entrances/slideInUp.js +7 -5
- package/dist/animations/sliding_exits/slideOutDown.js +7 -5
- package/dist/animations/sliding_exits/slideOutLeft.js +7 -5
- package/dist/animations/sliding_exits/slideOutRight.js +7 -5
- package/dist/animations/sliding_exits/slideOutUp.js +7 -5
- package/dist/animations/specials/hinge.js +29 -27
- package/dist/animations/specials/jackInTheBox.js +14 -12
- package/dist/animations/specials/rollIn.js +11 -9
- package/dist/animations/specials/rollOut.js +11 -9
- package/dist/animations/zooming_entrances/zoomIn.js +7 -5
- package/dist/animations/zooming_entrances/zoomInDown.js +17 -15
- package/dist/animations/zooming_entrances/zoomInLeft.js +17 -15
- package/dist/animations/zooming_entrances/zoomInRight.js +17 -15
- package/dist/animations/zooming_entrances/zoomInUp.js +17 -15
- package/dist/animations/zooming_exits/zoomOut.js +8 -6
- package/dist/animations/zooming_exits/zoomOutDown.js +17 -15
- package/dist/animations/zooming_exits/zoomOutLeft.js +15 -13
- package/dist/animations/zooming_exits/zoomOutRight.js +15 -13
- package/dist/animations/zooming_exits/zoomOutUp.js +17 -15
- package/dist/components/animation/animation.d.ts +65 -3
- package/dist/components/animation/animation.js +2185 -3
- package/dist/components/animation/animations.js +1225 -8
- package/dist/components/avatar/avatar.d.ts +43 -3
- package/dist/components/avatar/avatar.js +1323 -3
- package/dist/components/badge/badge.d.ts +23 -3
- package/dist/components/badge/badge.js +754 -3
- package/dist/components/button/button.d.ts +102 -3
- package/dist/components/button/button.js +1516 -3
- package/dist/components/button-group/button-group.d.ts +28 -3
- package/dist/components/button-group/button-group.js +898 -3
- package/dist/components/callout/callout.d.ts +24 -3
- package/dist/components/callout/callout.js +763 -3
- package/dist/components/card/card.d.ts +27 -3
- package/dist/components/card/card.js +866 -3
- package/dist/components/checkbox/checkbox.d.ts +93 -3
- package/dist/components/checkbox/checkbox.js +1920 -3
- package/dist/components/color-picker/color-picker.d.ts +206 -0
- package/dist/components/color-picker/color-picker.js +7014 -0
- package/dist/components/comparer/comparer.d.ts +44 -3
- package/dist/components/comparer/comparer.js +1631 -3
- package/dist/components/copy-button/copy-button.d.ts +74 -3
- package/dist/components/copy-button/copy-button.js +3936 -3
- package/dist/components/details/details.d.ts +64 -3
- package/dist/components/details/details.js +1735 -3
- package/dist/components/dialog/dialog.d.ts +71 -3
- package/dist/components/dialog/dialog.js +2062 -3
- package/dist/components/divider/divider.d.ts +19 -3
- package/dist/components/divider/divider.js +778 -3
- package/dist/components/drawer/drawer.d.ts +79 -3
- package/dist/components/drawer/drawer.js +2150 -3
- package/dist/components/dropdown/dropdown.d.ts +103 -3
- package/dist/components/dropdown/dropdown.js +3755 -3
- package/dist/components/dropdown-item/dropdown-item.d.ts +84 -0
- package/dist/components/dropdown-item/dropdown-item.js +1771 -0
- package/dist/components/format-bytes/format-bytes.d.ts +24 -0
- package/dist/components/format-bytes/format-bytes.js +960 -0
- package/dist/components/format-date/format-date.d.ts +40 -0
- package/dist/components/format-date/format-date.js +963 -0
- package/dist/components/format-number/format-number.d.ts +39 -0
- package/dist/components/format-number/format-number.js +1001 -0
- package/dist/components/icon/icon.d.ts +49 -3
- package/dist/components/icon/icon.js +1175 -3
- package/dist/components/icon/library.d.ts +3 -2
- package/dist/components/icon/library.default.js +63 -7
- package/dist/components/icon/library.js +230 -23
- package/dist/components/icon/library.system.js +134 -119
- package/dist/components/input/input.d.ts +165 -3
- package/dist/components/input/input.js +2303 -3
- package/dist/components/mutation-observer/mutation-observer.d.ts +37 -0
- package/dist/components/mutation-observer/mutation-observer.js +873 -0
- package/dist/components/option/option.d.ts +53 -3
- package/dist/components/option/option.js +1352 -3
- package/dist/components/popup/popup.d.ts +87 -3
- package/dist/components/popup/popup.js +2934 -3
- package/dist/components/qr-code/qr-code.d.ts +32 -3
- package/dist/components/qr-code/qr-code.js +1533 -3
- package/dist/components/radio/radio.d.ts +42 -3
- package/dist/components/radio/radio.js +925 -3
- package/dist/components/radio-group/radio-group.d.ts +79 -3
- package/dist/components/radio-group/radio-group.js +1519 -3
- package/dist/components/rating/rating.d.ts +67 -3
- package/dist/components/rating/rating.js +1757 -3
- package/dist/components/resize-observer/resize-observer.d.ts +26 -3
- package/dist/components/resize-observer/resize-observer.js +835 -3
- package/dist/components/scroller/scroller.d.ts +35 -0
- package/dist/components/scroller/scroller.js +1072 -0
- package/dist/components/select/select.d.ts +179 -3
- package/dist/components/select/select.js +5107 -3
- package/dist/components/spinner/spinner.d.ts +19 -3
- package/dist/components/spinner/spinner.js +917 -3
- package/dist/components/switch/switch.d.ts +85 -3
- package/dist/components/switch/switch.js +1479 -3
- package/dist/components/tab/tab.d.ts +47 -3
- package/dist/components/tab/tab.js +1788 -3
- package/dist/components/tab-group/tab-group.d.ts +91 -3
- package/dist/components/tab-group/tab-group.js +2385 -3
- package/dist/components/tab-panel/tab-panel.d.ts +24 -3
- package/dist/components/tab-panel/tab-panel.js +847 -3
- package/dist/components/tag/tag.d.ts +38 -3
- package/dist/components/tag/tag.js +1750 -3
- package/dist/components/textarea/textarea.d.ts +137 -0
- package/dist/components/textarea/textarea.js +1630 -0
- package/dist/components/tooltip/tooltip.d.ts +80 -3
- package/dist/components/tooltip/tooltip.js +3298 -3
- package/dist/custom-elements.json +13055 -0
- package/dist/events/events.d.ts +0 -1
- package/dist/events/events.js +0 -1
- package/dist/events/pc-after-collapse.js +0 -1
- package/dist/events/pc-after-expand.js +0 -1
- package/dist/events/pc-after-hide.js +0 -1
- package/dist/events/pc-after-show.js +0 -1
- package/dist/events/pc-blur.js +0 -1
- package/dist/events/pc-cancel.js +0 -1
- package/dist/events/pc-change.js +0 -1
- package/dist/events/pc-clear.js +0 -1
- package/dist/events/pc-close.js +0 -1
- package/dist/events/pc-collapse.js +0 -1
- package/dist/events/pc-copy.js +0 -1
- package/dist/events/pc-error.js +0 -1
- package/dist/events/pc-expand.js +0 -1
- package/dist/events/pc-finish.js +0 -1
- package/dist/events/pc-focus.js +0 -1
- package/dist/events/pc-hide.js +0 -1
- package/dist/events/pc-hover.js +0 -1
- package/dist/events/pc-initial-focus.js +0 -1
- package/dist/events/pc-input.js +0 -1
- package/dist/events/pc-invalid.js +0 -1
- package/dist/events/pc-lazy-change.js +0 -1
- package/dist/events/pc-lazy-load.js +0 -1
- package/dist/events/pc-load.js +0 -1
- package/dist/events/pc-mutation.js +0 -1
- package/dist/events/pc-remove.js +0 -1
- package/dist/events/pc-reposition.js +0 -1
- package/dist/events/pc-resize.js +0 -1
- package/dist/events/pc-select.d.ts +2 -2
- package/dist/events/pc-select.js +0 -1
- package/dist/events/pc-selection-change.d.ts +0 -0
- package/dist/events/pc-selection-change.js +0 -1
- package/dist/events/pc-show.js +0 -1
- package/dist/events/pc-slide-change.d.ts +0 -0
- package/dist/events/pc-slide-change.js +0 -1
- package/dist/events/pc-start.js +0 -1
- package/dist/events/pc-tab-hide.js +0 -1
- package/dist/events/pc-tab-show.js +0 -1
- package/dist/global-shims.js +84 -83
- package/dist/internal/active-elements.d.ts +16 -0
- package/dist/internal/active-elements.js +13 -12
- package/dist/internal/animate.d.ts +6 -6
- package/dist/internal/animate.js +45 -33
- package/dist/internal/close-active-element.d.ts +5 -0
- package/dist/internal/close-active-element.js +9 -7
- package/dist/internal/debounce.js +14 -12
- package/dist/internal/default-value.js +582 -22
- package/dist/internal/drag.d.ts +4 -0
- package/dist/internal/drag.js +25 -23
- package/dist/internal/emit.d.ts +1 -0
- package/dist/internal/emit.js +14 -12
- package/dist/internal/event.d.ts +1 -0
- package/dist/internal/event.js +13 -11
- package/dist/internal/form.d.ts +31 -13
- package/dist/internal/form.js +294 -262
- package/dist/internal/math.d.ts +3 -0
- package/dist/internal/math.js +29 -10
- package/dist/internal/offset.d.ts +1 -0
- package/dist/internal/offset.js +12 -8
- package/dist/internal/parse.d.ts +2 -0
- package/dist/internal/parse.js +7 -0
- package/dist/internal/placer-element.d.ts +30 -0
- package/dist/internal/placer-element.js +712 -0
- package/dist/internal/placer-form-control.d.ts +23 -0
- package/dist/internal/placer-form-control.js +0 -0
- package/dist/internal/scroll.d.ts +3 -0
- package/dist/internal/scroll.js +78 -56
- package/dist/internal/scrollend-polyfill.js +68 -60
- package/dist/internal/slot.d.ts +3 -0
- package/dist/internal/slot.js +74 -68
- package/dist/internal/string.d.ts +1 -0
- package/dist/internal/string.js +5 -3
- package/dist/internal/tabbable.d.ts +1 -0
- package/dist/internal/tabbable.js +128 -131
- package/dist/internal/watch.d.ts +12 -6
- package/dist/internal/watch.js +29 -29
- package/dist/placer-autoloader.js +45 -33
- package/dist/placer.d.ts +42 -38
- package/dist/placer.js +16097 -43
- package/dist/styles/component-styles/form-control.css +33 -0
- package/dist/styles/component-styles/host.css +13 -0
- package/dist/styles/native.css +451 -0
- package/dist/styles/palette/base.css +100 -0
- package/dist/styles/palette/default.css +227 -0
- package/dist/styles/palette/muted.css +227 -0
- package/dist/styles/palette/vibrant.css +227 -0
- package/dist/styles/placer.css +10 -0
- package/dist/styles/themes/default.css +445 -0
- package/dist/styles/themes/serene.css +454 -0
- package/dist/styles/themes/utility.css +544 -0
- package/dist/styles/utilities/align-items.css +21 -0
- package/dist/styles/utilities/appearance.css +62 -0
- package/dist/styles/utilities/border-radius.css +29 -0
- package/dist/styles/utilities/fouce.css +11 -0
- package/dist/styles/utilities/gap.css +66 -0
- package/dist/styles/utilities/layout.css +162 -0
- package/dist/styles/utilities/scroll-lock.css +21 -0
- package/dist/styles/utilities/size.css +16 -0
- package/dist/styles/utilities/text.css +156 -0
- package/dist/styles/utilities/visually-hidden.css +16 -0
- package/dist/styles/utilities.css +13 -0
- package/dist/translations/ar.d.ts +3 -0
- package/dist/translations/ar.js +655 -0
- package/dist/translations/bg.d.ts +3 -0
- package/dist/translations/bg.js +651 -0
- package/dist/translations/bn.d.ts +3 -0
- package/dist/translations/bn.js +651 -0
- package/dist/translations/bs.d.ts +3 -0
- package/dist/translations/bs.js +655 -0
- package/dist/translations/ca.d.ts +3 -0
- package/dist/translations/ca.js +651 -0
- package/dist/translations/cs.d.ts +3 -0
- package/dist/translations/cs.js +653 -0
- package/dist/translations/cy.d.ts +3 -0
- package/dist/translations/cy.js +651 -0
- package/dist/translations/da.d.ts +3 -0
- package/dist/translations/da.js +651 -0
- package/dist/translations/de-at.d.ts +3 -0
- package/dist/translations/de-at.js +661 -0
- package/dist/translations/de-ch.d.ts +3 -0
- package/dist/translations/de-ch.js +662 -0
- package/dist/translations/de.d.ts +3 -0
- package/dist/translations/de.js +651 -0
- package/dist/translations/el.d.ts +3 -0
- package/dist/translations/el.js +651 -0
- package/dist/translations/en-gb.d.ts +3 -0
- package/dist/translations/en-gb.js +664 -0
- package/dist/translations/en.d.ts +3 -0
- package/dist/translations/en.js +651 -0
- package/dist/translations/es-es.d.ts +3 -0
- package/dist/translations/es-es.js +664 -0
- package/dist/translations/es.d.ts +3 -0
- package/dist/translations/es.js +651 -0
- package/dist/translations/et.d.ts +3 -0
- package/dist/translations/et.js +651 -0
- package/dist/translations/eu.d.ts +3 -0
- package/dist/translations/eu.js +651 -0
- package/dist/translations/fa.d.ts +3 -0
- package/dist/translations/fa.js +651 -0
- package/dist/translations/fi.d.ts +3 -0
- package/dist/translations/fi.js +651 -0
- package/dist/translations/fil.d.ts +3 -0
- package/dist/translations/fil.js +651 -0
- package/dist/translations/fo.d.ts +3 -0
- package/dist/translations/fo.js +651 -0
- package/dist/translations/fr-ca.d.ts +3 -0
- package/dist/translations/fr-ca.js +662 -0
- package/dist/translations/fr.d.ts +3 -0
- package/dist/translations/fr.js +651 -0
- package/dist/translations/ga.d.ts +3 -0
- package/dist/translations/ga.js +651 -0
- package/dist/translations/gu.d.ts +3 -0
- package/dist/translations/gu.js +651 -0
- package/dist/translations/he.d.ts +3 -0
- package/dist/translations/he.js +651 -0
- package/dist/translations/hi.d.ts +3 -0
- package/dist/translations/hi.js +651 -0
- package/dist/translations/hr.d.ts +3 -0
- package/dist/translations/hr.js +655 -0
- package/dist/translations/hu.d.ts +3 -0
- package/dist/translations/hu.js +651 -0
- package/dist/translations/id.d.ts +3 -0
- package/dist/translations/id.js +651 -0
- package/dist/translations/index.d.ts +62 -0
- package/dist/translations/index.js +693 -0
- package/dist/translations/is.d.ts +3 -0
- package/dist/translations/is.js +651 -0
- package/dist/translations/it.d.ts +3 -0
- package/dist/translations/it.js +651 -0
- package/dist/translations/ja.d.ts +3 -0
- package/dist/translations/ja.js +649 -0
- package/dist/translations/ko.d.ts +3 -0
- package/dist/translations/ko.js +649 -0
- package/dist/translations/lb.d.ts +3 -0
- package/dist/translations/lb.js +651 -0
- package/dist/translations/lo.d.ts +3 -0
- package/dist/translations/lo.js +643 -0
- package/dist/translations/lt.d.ts +3 -0
- package/dist/translations/lt.js +651 -0
- package/dist/translations/lv.d.ts +3 -0
- package/dist/translations/lv.js +651 -0
- package/dist/translations/mr.d.ts +3 -0
- package/dist/translations/mr.js +651 -0
- package/dist/translations/ms.d.ts +3 -0
- package/dist/translations/ms.js +643 -0
- package/dist/translations/mt.d.ts +3 -0
- package/dist/translations/mt.js +651 -0
- package/dist/translations/nb.d.ts +3 -0
- package/dist/translations/nb.js +651 -0
- package/dist/translations/nl-be.d.ts +3 -0
- package/dist/translations/nl-be.js +664 -0
- package/dist/translations/nl.d.ts +3 -0
- package/dist/translations/nl.js +651 -0
- package/dist/translations/nn.d.ts +3 -0
- package/dist/translations/nn.js +677 -0
- package/dist/translations/pa-guru.d.ts +3 -0
- package/dist/translations/pa-guru.js +651 -0
- package/dist/translations/pa.d.ts +3 -0
- package/dist/translations/pa.js +651 -0
- package/dist/translations/pl.d.ts +3 -0
- package/dist/translations/pl.js +655 -0
- package/dist/translations/ps.d.ts +3 -0
- package/dist/translations/ps.js +651 -0
- package/dist/translations/pt-br.d.ts +3 -0
- package/dist/translations/pt-br.js +664 -0
- package/dist/translations/pt-pt.d.ts +3 -0
- package/dist/translations/pt-pt.js +685 -0
- package/dist/translations/pt.d.ts +3 -0
- package/dist/translations/pt.js +651 -0
- package/dist/translations/ro.d.ts +3 -0
- package/dist/translations/ro.js +651 -0
- package/dist/translations/ru.d.ts +3 -0
- package/dist/translations/ru.js +657 -0
- package/dist/translations/sk.d.ts +3 -0
- package/dist/translations/sk.js +653 -0
- package/dist/translations/sl.d.ts +3 -0
- package/dist/translations/sl.js +655 -0
- package/dist/translations/sq.d.ts +3 -0
- package/dist/translations/sq.js +651 -0
- package/dist/translations/sr.d.ts +3 -0
- package/dist/translations/sr.js +655 -0
- package/dist/translations/sv.d.ts +3 -0
- package/dist/translations/sv.js +651 -0
- package/dist/translations/sw.d.ts +3 -0
- package/dist/translations/sw.js +651 -0
- package/dist/translations/te.d.ts +3 -0
- package/dist/translations/te.js +651 -0
- package/dist/translations/th.d.ts +3 -0
- package/dist/translations/th.js +643 -0
- package/dist/translations/tl.d.ts +3 -0
- package/dist/translations/tl.js +651 -0
- package/dist/translations/tr.d.ts +3 -0
- package/dist/translations/tr.js +651 -0
- package/dist/translations/uk.d.ts +3 -0
- package/dist/translations/uk.js +655 -0
- package/dist/translations/ur.d.ts +3 -0
- package/dist/translations/ur.js +651 -0
- package/dist/translations/vi.d.ts +3 -0
- package/dist/translations/vi.js +651 -0
- package/dist/translations/zh-cn.d.ts +3 -0
- package/dist/translations/zh-cn.js +651 -0
- package/dist/translations/zh-hk.d.ts +3 -0
- package/dist/translations/zh-hk.js +649 -0
- package/dist/translations/zh-tw.d.ts +3 -0
- package/dist/translations/zh-tw.js +674 -0
- package/dist/utilities/animation-registry.js +33 -29
- package/dist/utilities/animation.js +1229 -1
- package/dist/utilities/form.js +61 -34
- package/dist/utilities/icon-library.js +229 -1
- package/dist/utilities/kit-code.d.ts +2 -0
- package/dist/utilities/kit-code.js +18 -0
- package/dist/utilities/localize.d.ts +35 -0
- package/dist/utilities/localize.js +739 -0
- package/package.json +86 -79
- package/dist/components/animation/animation.component.d.ts +0 -65
- package/dist/components/animation/animation.component.js +0 -247
- package/dist/components/animation/animation.styles.d.ts +0 -1
- package/dist/components/animation/animation.styles.js +0 -9
- package/dist/components/avatar/avatar.component.d.ts +0 -43
- package/dist/components/avatar/avatar.component.js +0 -137
- package/dist/components/avatar/avatar.styles.d.ts +0 -1
- package/dist/components/avatar/avatar.styles.js +0 -68
- package/dist/components/badge/badge.component.d.ts +0 -21
- package/dist/components/badge/badge.component.js +0 -64
- package/dist/components/badge/badge.styles.d.ts +0 -1
- package/dist/components/badge/badge.styles.js +0 -76
- package/dist/components/button/button.component.d.ts +0 -104
- package/dist/components/button/button.component.js +0 -346
- package/dist/components/button/button.styles.d.ts +0 -1
- package/dist/components/button/button.styles.js +0 -322
- package/dist/components/button-group/button-group.component.d.ts +0 -26
- package/dist/components/button-group/button-group.component.js +0 -93
- package/dist/components/button-group/button-group.styles.d.ts +0 -1
- package/dist/components/button-group/button-group.styles.js +0 -14
- package/dist/components/callout/callout.component.d.ts +0 -22
- package/dist/components/callout/callout.component.js +0 -63
- package/dist/components/callout/callout.styles.d.ts +0 -1
- package/dist/components/callout/callout.styles.js +0 -68
- package/dist/components/card/card.component.d.ts +0 -29
- package/dist/components/card/card.component.js +0 -59
- package/dist/components/card/card.styles.d.ts +0 -1
- package/dist/components/card/card.styles.js +0 -65
- package/dist/components/checkbox/checkbox.component.d.ts +0 -44
- package/dist/components/checkbox/checkbox.component.js +0 -287
- package/dist/components/checkbox/checkbox.styles.d.ts +0 -1
- package/dist/components/checkbox/checkbox.styles.js +0 -166
- package/dist/components/comparer/comparer.component.d.ts +0 -43
- package/dist/components/comparer/comparer.component.js +0 -181
- package/dist/components/comparer/comparer.styles.d.ts +0 -1
- package/dist/components/comparer/comparer.styles.js +0 -75
- package/dist/components/copy-button/copy-button.component.d.ts +0 -75
- package/dist/components/copy-button/copy-button.component.js +0 -289
- package/dist/components/copy-button/copy-button.styles.d.ts +0 -1
- package/dist/components/copy-button/copy-button.styles.js +0 -61
- package/dist/components/details/details.component.d.ts +0 -25
- package/dist/components/details/details.component.js +0 -243
- package/dist/components/details/details.styles.d.ts +0 -1
- package/dist/components/details/details.styles.js +0 -86
- package/dist/components/dialog/dialog.component.d.ts +0 -84
- package/dist/components/dialog/dialog.component.js +0 -362
- package/dist/components/dialog/dialog.styles.d.ts +0 -1
- package/dist/components/dialog/dialog.styles.js +0 -123
- package/dist/components/divider/divider.component.d.ts +0 -20
- package/dist/components/divider/divider.component.js +0 -51
- package/dist/components/divider/divider.styles.d.ts +0 -1
- package/dist/components/divider/divider.styles.js +0 -29
- package/dist/components/drawer/drawer.component.d.ts +0 -95
- package/dist/components/drawer/drawer.component.js +0 -509
- package/dist/components/drawer/drawer.styles.d.ts +0 -1
- package/dist/components/drawer/drawer.styles.js +0 -157
- package/dist/components/dropdown/dropdown.component.d.ts +0 -44
- package/dist/components/dropdown/dropdown.component.js +0 -385
- package/dist/components/dropdown/dropdown.styles.d.ts +0 -1
- package/dist/components/dropdown/dropdown.styles.js +0 -52
- package/dist/components/icon/icon.component.d.ts +0 -47
- package/dist/components/icon/icon.component.js +0 -225
- package/dist/components/icon/icon.styles.d.ts +0 -1
- package/dist/components/icon/icon.styles.js +0 -49
- package/dist/components/icon-button/icon-button.component.d.ts +0 -27
- package/dist/components/icon-button/icon-button.component.js +0 -151
- package/dist/components/icon-button/icon-button.d.ts +0 -8
- package/dist/components/icon-button/icon-button.js +0 -5
- package/dist/components/icon-button/icon-button.styles.d.ts +0 -1
- package/dist/components/icon-button/icon-button.styles.js +0 -53
- package/dist/components/input/input.component.d.ts +0 -78
- package/dist/components/input/input.component.js +0 -513
- package/dist/components/input/input.styles.d.ts +0 -1
- package/dist/components/input/input.styles.js +0 -308
- package/dist/components/menu/menu.component.d.ts +0 -20
- package/dist/components/menu/menu.component.js +0 -123
- package/dist/components/menu/menu.d.ts +0 -8
- package/dist/components/menu/menu.js +0 -5
- package/dist/components/menu/menu.styles.d.ts +0 -1
- package/dist/components/menu/menu.styles.js +0 -20
- package/dist/components/menu-item/menu-item.component.d.ts +0 -34
- package/dist/components/menu-item/menu-item.component.js +0 -211
- package/dist/components/menu-item/menu-item.d.ts +0 -8
- package/dist/components/menu-item/menu-item.js +0 -5
- package/dist/components/menu-item/menu-item.styles.d.ts +0 -1
- package/dist/components/menu-item/menu-item.styles.js +0 -157
- package/dist/components/menu-item/submenu-controller.d.ts +0 -34
- package/dist/components/menu-item/submenu-controller.js +0 -246
- package/dist/components/menu-label/menu-label.component.d.ts +0 -15
- package/dist/components/menu-label/menu-label.component.js +0 -25
- package/dist/components/menu-label/menu-label.d.ts +0 -8
- package/dist/components/menu-label/menu-label.js +0 -5
- package/dist/components/menu-label/menu-label.styles.d.ts +0 -1
- package/dist/components/menu-label/menu-label.styles.js +0 -22
- package/dist/components/option/option.component.d.ts +0 -42
- package/dist/components/option/option.component.js +0 -161
- package/dist/components/option/option.styles.d.ts +0 -1
- package/dist/components/option/option.styles.js +0 -108
- package/dist/components/popup/popup.component.d.ts +0 -44
- package/dist/components/popup/popup.component.js +0 -483
- package/dist/components/popup/popup.styles.d.ts +0 -1
- package/dist/components/popup/popup.styles.js +0 -64
- package/dist/components/qr-code/qr-code.component.d.ts +0 -16
- package/dist/components/qr-code/qr-code.component.js +0 -94
- package/dist/components/qr-code/qr-code.styles.d.ts +0 -1
- package/dist/components/qr-code/qr-code.styles.js +0 -9
- package/dist/components/radio/radio.component.d.ts +0 -19
- package/dist/components/radio/radio.component.js +0 -120
- package/dist/components/radio/radio.styles.d.ts +0 -1
- package/dist/components/radio/radio.styles.js +0 -132
- package/dist/components/radio-button/radio-button.component.d.ts +0 -22
- package/dist/components/radio-button/radio-button.component.js +0 -131
- package/dist/components/radio-button/radio-button.d.ts +0 -8
- package/dist/components/radio-button/radio-button.js +0 -5
- package/dist/components/radio-button/radio-button.styles.d.ts +0 -1
- package/dist/components/radio-button/radio-button.styles.js +0 -25
- package/dist/components/radio-group/radio-group.component.d.ts +0 -46
- package/dist/components/radio-group/radio-group.component.js +0 -379
- package/dist/components/radio-group/radio-group.styles.d.ts +0 -1
- package/dist/components/radio-group/radio-group.styles.js +0 -42
- package/dist/components/rating/rating.component.d.ts +0 -37
- package/dist/components/rating/rating.component.js +0 -308
- package/dist/components/rating/rating.styles.d.ts +0 -1
- package/dist/components/rating/rating.styles.js +0 -94
- package/dist/components/resize-observer/resize-observer.component.d.ts +0 -26
- package/dist/components/resize-observer/resize-observer.component.js +0 -89
- package/dist/components/resize-observer/resize-observer.styles.d.ts +0 -1
- package/dist/components/resize-observer/resize-observer.styles.js +0 -9
- package/dist/components/select/select.component.d.ts +0 -174
- package/dist/components/select/select.component.js +0 -960
- package/dist/components/select/select.styles.d.ts +0 -1
- package/dist/components/select/select.styles.js +0 -363
- package/dist/components/spinner/spinner.component.d.ts +0 -20
- package/dist/components/spinner/spinner.component.js +0 -47
- package/dist/components/spinner/spinner.styles.d.ts +0 -1
- package/dist/components/spinner/spinner.styles.js +0 -61
- package/dist/components/switch/switch.component.d.ts +0 -84
- package/dist/components/switch/switch.component.js +0 -281
- package/dist/components/switch/switch.styles.d.ts +0 -1
- package/dist/components/switch/switch.styles.js +0 -178
- package/dist/components/tab/tab.component.d.ts +0 -22
- package/dist/components/tab/tab.component.js +0 -112
- package/dist/components/tab/tab.styles.d.ts +0 -1
- package/dist/components/tab/tab.styles.js +0 -85
- package/dist/components/tab-group/tab-group.component.d.ts +0 -51
- package/dist/components/tab-group/tab-group.component.js +0 -513
- package/dist/components/tab-group/tab-group.styles.d.ts +0 -1
- package/dist/components/tab-group/tab-group.styles.js +0 -219
- package/dist/components/tab-panel/tab-panel.component.d.ts +0 -12
- package/dist/components/tab-panel/tab-panel.component.js +0 -56
- package/dist/components/tab-panel/tab-panel.styles.d.ts +0 -1
- package/dist/components/tab-panel/tab-panel.styles.js +0 -18
- package/dist/components/tag/tag.component.d.ts +0 -38
- package/dist/components/tag/tag.component.js +0 -109
- package/dist/components/tag/tag.styles.d.ts +0 -1
- package/dist/components/tag/tag.styles.js +0 -155
- package/dist/components/tooltip/tooltip.component.d.ts +0 -38
- package/dist/components/tooltip/tooltip.component.js +0 -267
- package/dist/components/tooltip/tooltip.styles.d.ts +0 -1
- package/dist/components/tooltip/tooltip.styles.js +0 -59
- package/dist/default.css +0 -1005
- package/dist/events/pc-request-close.d.ts +0 -8
- package/dist/events/pc-request-close.js +0 -1
- package/dist/internal/modal.d.ts +0 -19
- package/dist/internal/modal.js +0 -116
- package/dist/native-styles.css +0 -261
- package/dist/style-utilities/fouce.css +0 -13
- package/dist/style-utilities/style-utilities.css +0 -2
- package/dist/style-utilities/visually-hidden.css +0 -12
- package/dist/utilities/base-path.d.ts +0 -2
- package/dist/utilities/base-path.js +0 -8
- package/dist/utility.css +0 -41
- package/src/animations/attention_seekers/bounce.ts +0 -43
- package/src/animations/attention_seekers/flash.ts +0 -7
- package/src/animations/attention_seekers/headShake.ts +0 -8
- package/src/animations/attention_seekers/heartBeat.ts +0 -7
- package/src/animations/attention_seekers/jello.ts +0 -15
- package/src/animations/attention_seekers/pulse.ts +0 -5
- package/src/animations/attention_seekers/rubberBand.ts +0 -9
- package/src/animations/attention_seekers/shake.ts +0 -13
- package/src/animations/attention_seekers/shakeX.ts +0 -13
- package/src/animations/attention_seekers/shakeY.ts +0 -13
- package/src/animations/attention_seekers/swing.ts +0 -7
- package/src/animations/attention_seekers/tada.ts +0 -40
- package/src/animations/attention_seekers/wobble.ts +0 -24
- package/src/animations/back_entrances/backInDown.ts +0 -5
- package/src/animations/back_entrances/backInLeft.ts +0 -5
- package/src/animations/back_entrances/backInRight.ts +0 -5
- package/src/animations/back_entrances/backInUp.ts +0 -5
- package/src/animations/back_exits/backOutDown.ts +0 -5
- package/src/animations/back_exits/backOutLeft.ts +0 -5
- package/src/animations/back_exits/backOutRight.ts +0 -5
- package/src/animations/back_exits/backOutUp.ts +0 -5
- package/src/animations/bouncing_entrances/bounceIn.ts +0 -14
- package/src/animations/bouncing_entrances/bounceInDown.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInLeft.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInRight.ts +0 -20
- package/src/animations/bouncing_entrances/bounceInUp.ts +0 -20
- package/src/animations/bouncing_exits/bounceOut.ts +0 -6
- package/src/animations/bouncing_exits/bounceOutDown.ts +0 -18
- package/src/animations/bouncing_exits/bounceOutLeft.ts +0 -12
- package/src/animations/bouncing_exits/bounceOutRight.ts +0 -12
- package/src/animations/bouncing_exits/bounceOutUp.ts +0 -18
- package/src/animations/easings/easings.ts +0 -31
- package/src/animations/fading_entrances/fadeIn.ts +0 -4
- package/src/animations/fading_entrances/fadeInBottomLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInBottomRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInDown.ts +0 -4
- package/src/animations/fading_entrances/fadeInDownBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInLeftBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInRightBig.ts +0 -4
- package/src/animations/fading_entrances/fadeInTopLeft.ts +0 -4
- package/src/animations/fading_entrances/fadeInTopRight.ts +0 -4
- package/src/animations/fading_entrances/fadeInUp.ts +0 -4
- package/src/animations/fading_entrances/fadeInUpBig.ts +0 -4
- package/src/animations/fading_exits/fadeOut.ts +0 -4
- package/src/animations/fading_exits/fadeOutBottomLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutBottomRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutDown.ts +0 -4
- package/src/animations/fading_exits/fadeOutDownBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutLeftBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutRightBig.ts +0 -4
- package/src/animations/fading_exits/fadeOutTopLeft.ts +0 -4
- package/src/animations/fading_exits/fadeOutTopRight.ts +0 -4
- package/src/animations/fading_exits/fadeOutUp.ts +0 -4
- package/src/animations/fading_exits/fadeOutUpBig.ts +0 -4
- package/src/animations/flippers/flip.ts +0 -32
- package/src/animations/flippers/flipInX.ts +0 -20
- package/src/animations/flippers/flipInY.ts +0 -20
- package/src/animations/flippers/flipOutX.ts +0 -13
- package/src/animations/flippers/flipOutY.ts +0 -13
- package/src/animations/index.ts +0 -101
- package/src/animations/lightspeed/lightSpeedInLeft.ts +0 -10
- package/src/animations/lightspeed/lightSpeedInRight.ts +0 -10
- package/src/animations/lightspeed/lightSpeedOutLeft.ts +0 -8
- package/src/animations/lightspeed/lightSpeedOutRight.ts +0 -8
- package/src/animations/rotating_entrances/rotateIn.ts +0 -4
- package/src/animations/rotating_entrances/rotateInDownLeft.ts +0 -4
- package/src/animations/rotating_entrances/rotateInDownRight.ts +0 -4
- package/src/animations/rotating_entrances/rotateInUpLeft.ts +0 -4
- package/src/animations/rotating_entrances/rotateInUpRight.ts +0 -4
- package/src/animations/rotating_exits/rotateOut.ts +0 -4
- package/src/animations/rotating_exits/rotateOutDownLeft.ts +0 -4
- package/src/animations/rotating_exits/rotateOutDownRight.ts +0 -4
- package/src/animations/rotating_exits/rotateOutUpLeft.ts +0 -4
- package/src/animations/rotating_exits/rotateOutUpRight.ts +0 -4
- package/src/animations/sliding_entrances/slideInDown.ts +0 -4
- package/src/animations/sliding_entrances/slideInLeft.ts +0 -4
- package/src/animations/sliding_entrances/slideInRight.ts +0 -4
- package/src/animations/sliding_entrances/slideInUp.ts +0 -4
- package/src/animations/sliding_exits/slideOutDown.ts +0 -4
- package/src/animations/sliding_exits/slideOutLeft.ts +0 -4
- package/src/animations/sliding_exits/slideOutRight.ts +0 -4
- package/src/animations/sliding_exits/slideOutUp.ts +0 -4
- package/src/animations/specials/hinge.ts +0 -26
- package/src/animations/specials/jackInTheBox.ts +0 -11
- package/src/animations/specials/rollIn.ts +0 -8
- package/src/animations/specials/rollOut.ts +0 -8
- package/src/animations/zooming_entrances/zoomIn.ts +0 -4
- package/src/animations/zooming_entrances/zoomInDown.ts +0 -14
- package/src/animations/zooming_entrances/zoomInLeft.ts +0 -14
- package/src/animations/zooming_entrances/zoomInRight.ts +0 -14
- package/src/animations/zooming_entrances/zoomInUp.ts +0 -14
- package/src/animations/zooming_exits/zoomOut.ts +0 -5
- package/src/animations/zooming_exits/zoomOutDown.ts +0 -14
- package/src/animations/zooming_exits/zoomOutLeft.ts +0 -12
- package/src/animations/zooming_exits/zoomOutRight.ts +0 -12
- package/src/animations/zooming_exits/zoomOutUp.ts +0 -14
- package/src/components/animation/animation.component.ts +0 -224
- package/src/components/animation/animation.styles.ts +0 -7
- package/src/components/animation/animation.ts +0 -10
- package/src/components/animation/animations.ts +0 -13
- package/src/components/avatar/avatar.component.ts +0 -113
- package/src/components/avatar/avatar.styles.ts +0 -66
- package/src/components/avatar/avatar.ts +0 -10
- package/src/components/badge/badge.component.ts +0 -54
- package/src/components/badge/badge.styles.ts +0 -74
- package/src/components/badge/badge.ts +0 -10
- package/src/components/button/button.component.ts +0 -335
- package/src/components/button/button.styles.ts +0 -320
- package/src/components/button/button.ts +0 -10
- package/src/components/button-group/button-group.component.ts +0 -101
- package/src/components/button-group/button-group.styles.ts +0 -12
- package/src/components/button-group/button-group.ts +0 -10
- package/src/components/callout/callout.component.ts +0 -60
- package/src/components/callout/callout.styles.ts +0 -66
- package/src/components/callout/callout.ts +0 -10
- package/src/components/card/card.component.ts +0 -59
- package/src/components/card/card.styles.ts +0 -63
- package/src/components/card/card.ts +0 -10
- package/src/components/checkbox/checkbox.component.ts +0 -244
- package/src/components/checkbox/checkbox.styles.ts +0 -164
- package/src/components/checkbox/checkbox.ts +0 -10
- package/src/components/comparer/comparer.component.ts +0 -188
- package/src/components/comparer/comparer.styles.ts +0 -73
- package/src/components/comparer/comparer.ts +0 -10
- package/src/components/copy-button/copy-button.component.ts +0 -272
- package/src/components/copy-button/copy-button.styles.ts +0 -59
- package/src/components/copy-button/copy-button.ts +0 -10
- package/src/components/details/details.component.ts +0 -259
- package/src/components/details/details.styles.ts +0 -84
- package/src/components/details/details.ts +0 -10
- package/src/components/dialog/dialog.component.ts +0 -403
- package/src/components/dialog/dialog.styles.ts +0 -121
- package/src/components/dialog/dialog.ts +0 -10
- package/src/components/divider/divider.component.ts +0 -42
- package/src/components/divider/divider.styles.ts +0 -27
- package/src/components/divider/divider.ts +0 -10
- package/src/components/drawer/drawer.component.ts +0 -565
- package/src/components/drawer/drawer.styles.ts +0 -155
- package/src/components/drawer/drawer.ts +0 -10
- package/src/components/dropdown/dropdown.component.ts +0 -430
- package/src/components/dropdown/dropdown.styles.ts +0 -50
- package/src/components/dropdown/dropdown.ts +0 -10
- package/src/components/icon/icon.component.ts +0 -239
- package/src/components/icon/icon.styles.ts +0 -47
- package/src/components/icon/icon.ts +0 -10
- package/src/components/icon/library.default.ts +0 -10
- package/src/components/icon/library.system.ts +0 -136
- package/src/components/icon/library.ts +0 -54
- package/src/components/icon-button/icon-button.component.ts +0 -129
- package/src/components/icon-button/icon-button.styles.ts +0 -51
- package/src/components/icon-button/icon-button.ts +0 -10
- package/src/components/input/input.component.ts +0 -496
- package/src/components/input/input.styles.ts +0 -306
- package/src/components/input/input.ts +0 -10
- package/src/components/menu/menu.component.ts +0 -161
- package/src/components/menu/menu.styles.ts +0 -18
- package/src/components/menu/menu.ts +0 -10
- package/src/components/menu-item/menu-item.component.ts +0 -190
- package/src/components/menu-item/menu-item.styles.ts +0 -155
- package/src/components/menu-item/menu-item.ts +0 -10
- package/src/components/menu-item/submenu-controller.ts +0 -337
- package/src/components/menu-label/menu-label.component.ts +0 -22
- package/src/components/menu-label/menu-label.styles.ts +0 -20
- package/src/components/menu-label/menu-label.ts +0 -10
- package/src/components/option/option.component.ts +0 -141
- package/src/components/option/option.styles.ts +0 -106
- package/src/components/option/option.ts +0 -10
- package/src/components/popup/popup.component.ts +0 -540
- package/src/components/popup/popup.styles.ts +0 -63
- package/src/components/popup/popup.ts +0 -12
- package/src/components/qr-code/qr-code.component.ts +0 -70
- package/src/components/qr-code/qr-code.styles.ts +0 -7
- package/src/components/qr-code/qr-code.ts +0 -10
- package/src/components/radio/radio.component.ts +0 -100
- package/src/components/radio/radio.styles.ts +0 -130
- package/src/components/radio/radio.ts +0 -10
- package/src/components/radio-button/radio-button.component.ts +0 -116
- package/src/components/radio-button/radio-button.styles.ts +0 -23
- package/src/components/radio-button/radio-button.ts +0 -10
- package/src/components/radio-group/radio-group.component.ts +0 -404
- package/src/components/radio-group/radio-group.styles.ts +0 -40
- package/src/components/radio-group/radio-group.ts +0 -10
- package/src/components/rating/rating.component.ts +0 -319
- package/src/components/rating/rating.styles.ts +0 -92
- package/src/components/rating/rating.ts +0 -10
- package/src/components/resize-observer/resize-observer.component.ts +0 -91
- package/src/components/resize-observer/resize-observer.styles.ts +0 -7
- package/src/components/resize-observer/resize-observer.ts +0 -10
- package/src/components/select/select.component.ts +0 -1013
- package/src/components/select/select.styles.ts +0 -361
- package/src/components/select/select.ts +0 -10
- package/src/components/spinner/spinner.component.ts +0 -38
- package/src/components/spinner/spinner.styles.ts +0 -59
- package/src/components/spinner/spinner.ts +0 -10
- package/src/components/switch/switch.component.ts +0 -253
- package/src/components/switch/switch.styles.ts +0 -176
- package/src/components/switch/switch.ts +0 -10
- package/src/components/tab/tab.component.ts +0 -87
- package/src/components/tab/tab.styles.ts +0 -83
- package/src/components/tab/tab.ts +0 -10
- package/src/components/tab-group/tab-group.component.ts +0 -607
- package/src/components/tab-group/tab-group.styles.ts +0 -217
- package/src/components/tab-group/tab-group.ts +0 -10
- package/src/components/tab-panel/tab-panel.component.ts +0 -43
- package/src/components/tab-panel/tab-panel.styles.ts +0 -16
- package/src/components/tab-panel/tab-panel.ts +0 -10
- package/src/components/tag/tag.component.ts +0 -94
- package/src/components/tag/tag.styles.ts +0 -153
- package/src/components/tag/tag.ts +0 -10
- package/src/components/tooltip/tooltip.component.ts +0 -276
- package/src/components/tooltip/tooltip.styles.ts +0 -57
- package/src/components/tooltip/tooltip.ts +0 -10
- package/src/default.css +0 -1005
- package/src/events/events.ts +0 -35
- package/src/events/pc-after-collapse.ts +0 -7
- package/src/events/pc-after-expand.ts +0 -7
- package/src/events/pc-after-hide.ts +0 -7
- package/src/events/pc-after-show.ts +0 -7
- package/src/events/pc-blur.ts +0 -7
- package/src/events/pc-cancel.ts +0 -7
- package/src/events/pc-change.ts +0 -7
- package/src/events/pc-clear.ts +0 -7
- package/src/events/pc-close.ts +0 -7
- package/src/events/pc-collapse.ts +0 -7
- package/src/events/pc-copy.ts +0 -7
- package/src/events/pc-error.ts +0 -7
- package/src/events/pc-expand.ts +0 -7
- package/src/events/pc-finish.ts +0 -7
- package/src/events/pc-focus.ts +0 -7
- package/src/events/pc-hide.ts +0 -7
- package/src/events/pc-hover.ts +0 -10
- package/src/events/pc-initial-focus.ts +0 -7
- package/src/events/pc-input.ts +0 -7
- package/src/events/pc-invalid.ts +0 -7
- package/src/events/pc-lazy-change.ts +0 -7
- package/src/events/pc-lazy-load.ts +0 -7
- package/src/events/pc-load.ts +0 -7
- package/src/events/pc-mutation.ts +0 -7
- package/src/events/pc-remove.ts +0 -7
- package/src/events/pc-reposition.ts +0 -7
- package/src/events/pc-request-close.ts +0 -9
- package/src/events/pc-resize.ts +0 -7
- package/src/events/pc-select.ts +0 -9
- package/src/events/pc-selection-change.ts +0 -10
- package/src/events/pc-show.ts +0 -7
- package/src/events/pc-slide-change.ts +0 -13
- package/src/events/pc-start.ts +0 -7
- package/src/events/pc-tab-hide.ts +0 -7
- package/src/events/pc-tab-show.ts +0 -7
- package/src/global-shims.ts +0 -126
- package/src/global.d.ts +0 -31
- package/src/internal/active-elements.ts +0 -21
- package/src/internal/animate.ts +0 -62
- package/src/internal/close-active-element.ts +0 -7
- package/src/internal/debounce.ts +0 -25
- package/src/internal/default-value.ts +0 -40
- package/src/internal/drag.ts +0 -36
- package/src/internal/emit.ts +0 -19
- package/src/internal/event.ts +0 -12
- package/src/internal/form.ts +0 -389
- package/src/internal/math.ts +0 -14
- package/src/internal/modal.ts +0 -157
- package/src/internal/offset.ts +0 -12
- package/src/internal/scroll.ts +0 -95
- package/src/internal/scrollend-polyfill.ts +0 -99
- package/src/internal/slot.ts +0 -110
- package/src/internal/string.ts +0 -3
- package/src/internal/tabbable.ts +0 -207
- package/src/internal/watch.ts +0 -58
- package/src/native-styles.css +0 -261
- package/src/placer-autoloader.ts +0 -53
- package/src/placer.ts +0 -53
- package/src/style-utilities/fouce.css +0 -13
- package/src/style-utilities/style-utilities.css +0 -2
- package/src/style-utilities/visually-hidden.css +0 -12
- package/src/utilities/animation-registry.ts +0 -72
- package/src/utilities/animation.ts +0 -4
- package/src/utilities/base-path.ts +0 -39
- package/src/utilities/form.ts +0 -41
- package/src/utilities/icon-library.ts +0 -4
- package/src/utility.css +0 -41
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var M=globalThis,L=M.ShadowRoot&&(M.ShadyCSS===void 0||M.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Q=Symbol(),G=new WeakMap,N=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==Q)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(L&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=G.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&G.set(e,t))}return t}toString(){return this.cssText}},X=o=>new N(typeof o=="string"?o:o+"",void 0,Q);var Y=(o,t)=>{if(L)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),i=M.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},V=L?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return X(e)})(o):o;var{is:$t,defineProperty:_t,getOwnPropertyDescriptor:ft,getOwnPropertyNames:At,getOwnPropertySymbols:mt,getPrototypeOf:gt}=Object,A=globalThis,tt=A.trustedTypes,yt=tt?tt.emptyScript:"",vt=A.reactiveElementPolyfillSupport,w=(o,t)=>o,W={toAttribute(o,t){switch(t){case Boolean:o=o?yt:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},st=(o,t)=>!$t(o,t),et={attribute:!0,type:String,converter:W,reflect:!1,useDefault:!1,hasChanged:st};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),A.litPropertyMetadata??(A.litPropertyMetadata=new WeakMap);var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=et){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&_t(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){let{get:i,set:r}=ft(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:i,set(n){let p=i?.call(this);r?.call(this,n),this.requestUpdate(t,p,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??et}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;let t=gt(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){let e=this.properties,s=[...At(e),...mt(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(V(i))}else t!==void 0&&e.push(V(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Y(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:W).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let r=s.getPropertyOptions(i),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:W;this._$Em=i,this[i]=n.fromAttribute(e,r.type)??this._$Ej?.get(i)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let i=this.constructor,r=this[t];if(s??(s=i.getPropertyOptions(t)),!((s.hasChanged??st)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},n){s&&!(this._$Ej??(this._$Ej=new Map)).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??(this._$Eq=new Set)).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[i,r]of this._$Ep)this[i]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[i,r]of s){let{wrapped:n}=r,p=this[i];n!==!0||this._$AL.has(i)||p===void 0||this.C(i,void 0,r,p)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&(this._$Eq=this._$Eq.forEach((e=>this._$ET(e,this[e])))),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[w("elementProperties")]=new Map,$[w("finalized")]=new Map,vt?.({ReactiveElement:$}),(A.reactiveElementVersions??(A.reactiveElementVersions=[])).push("2.1.0");var P=globalThis,k=P.trustedTypes,it=k?k.createPolicy("lit-html",{createHTML:o=>o}):void 0,K="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,Z="?"+_,St=`<${Z}>`,y=document,U=()=>y.createComment(""),O=o=>o===null||typeof o!="object"&&typeof o!="function",F=Array.isArray,lt=o=>F(o)||typeof o?.[Symbol.iterator]=="function",q=`[
|
|
2
|
+
\f\r]`,x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ot=/-->/g,rt=/>/g,m=RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,ht=/"/g,ct=/^(?:script|style|textarea|title)$/i,J=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Ot=J(1),Ht=J(2),Rt=J(3),v=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),at=new WeakMap,g=y.createTreeWalker(y,129);function pt(o,t){if(!F(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return it!==void 0?it.createHTML(t):t}var dt=(o,t)=>{let e=o.length-1,s=[],i,r=t===2?"<svg>":t===3?"<math>":"",n=x;for(let p=0;p<e;p++){let h=o[p],l,d,a=-1,u=0;for(;u<h.length&&(n.lastIndex=u,d=n.exec(h),d!==null);)u=n.lastIndex,n===x?d[1]==="!--"?n=ot:d[1]!==void 0?n=rt:d[2]!==void 0?(ct.test(d[2])&&(i=RegExp("</"+d[2],"g")),n=m):d[3]!==void 0&&(n=m):n===m?d[0]===">"?(n=i??x,a=-1):d[1]===void 0?a=-2:(a=n.lastIndex-d[2].length,l=d[1],n=d[3]===void 0?m:d[3]==='"'?ht:nt):n===ht||n===nt?n=m:n===ot||n===rt?n=x:(n=m,i=void 0);let f=n===m&&o[p+1].startsWith("/>")?" ":"";r+=n===x?h+St:a>=0?(s.push(l),h.slice(0,a)+K+h.slice(a)+_+f):h+_+(a===-2?p:f)}return[pt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},H=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,n=0,p=t.length-1,h=this.parts,[l,d]=dt(t,e);if(this.el=o.createElement(l,s),g.currentNode=this.el.content,e===2||e===3){let a=this.el.content.firstChild;a.replaceWith(...a.childNodes)}for(;(i=g.nextNode())!==null&&h.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let a of i.getAttributeNames())if(a.endsWith(K)){let u=d[n++],f=i.getAttribute(a).split(_),T=/([.?@])?(.*)/.exec(u);h.push({type:1,index:r,name:T[2],strings:f,ctor:T[1]==="."?j:T[1]==="?"?B:T[1]==="@"?z:E}),i.removeAttribute(a)}else a.startsWith(_)&&(h.push({type:6,index:r}),i.removeAttribute(a));if(ct.test(i.tagName)){let a=i.textContent.split(_),u=a.length-1;if(u>0){i.textContent=k?k.emptyScript:"";for(let f=0;f<u;f++)i.append(a[f],U()),g.nextNode(),h.push({type:2,index:++r});i.append(a[u],U())}}}else if(i.nodeType===8)if(i.data===Z)h.push({type:2,index:r});else{let a=-1;for(;(a=i.data.indexOf(_,a+1))!==-1;)h.push({type:7,index:r}),a+=_.length-1}r++}}static createElement(t,e){let s=y.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===v)return t;let i=s!==void 0?e._$Co?.[s]:e._$Cl,r=O(t)?void 0:t._$litDirective$;return i?.constructor!==r&&(i?._$AO?.(!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??(e._$Co=[]))[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var D=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??y).importNode(e,!0);g.currentNode=i;let r=g.nextNode(),n=0,p=0,h=s[0];for(;h!==void 0;){if(n===h.index){let l;h.type===2?l=new b(r,r.nextSibling,this,t):h.type===1?l=new h.ctor(r,h.name,h.strings,this,t):h.type===6&&(l=new I(r,this,t)),this._$AV.push(l),h=s[++p]}n!==h?.index&&(r=g.nextNode(),n++)}return g.currentNode=y,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},b=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=c,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),O(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):lt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&O(this._$AH)?this._$AA.nextSibling.data=t:this.T(y.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=H.createElement(pt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{let r=new D(i,this),n=r.u(this.options);r.p(e),this.T(n),this._$AH=r}}_$AC(t){let e=at.get(t.strings);return e===void 0&&at.set(t.strings,e=new H(t)),e}k(t){F(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let r of t)i===e.length?e.push(s=new o(this.O(U()),this.O(U()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},E=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=c,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=c}_$AI(t,e=this,s,i){let r=this.strings,n=!1;if(r===void 0)t=S(this,t,e,0),n=!O(t)||t!==this._$AH&&t!==v,n&&(this._$AH=t);else{let p=t,h,l;for(t=r[0],h=0;h<r.length-1;h++)l=S(this,p[s+h],e,h),l===v&&(l=this._$AH[h]),n||(n=!O(l)||l!==this._$AH[h]),l===c?t=c:t!==c&&(t+=(l??"")+r[h+1]),this._$AH[h]=l}n&&!i&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},j=class extends E{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}},B=class extends E{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}},z=class extends E{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??c)===v)return;let s=this._$AH,i=t===c&&s!==c||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==c&&(s===c||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},I=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Tt={M:K,P:_,A:Z,C:1,L:dt,R:D,D:lt,V:S,I:b,H:E,N:B,U:z,B:j,F:I},Et=P.litHtmlPolyfillSupport;Et?.(H,b),(P.litHtmlVersions??(P.litHtmlVersions=[])).push("3.3.0");var ut=(o,t,e)=>{let s=e?.renderBefore??t,i=s._$litPart$;if(i===void 0){let r=e?.renderBefore??null;s._$litPart$=i=new b(t.insertBefore(U(),r),r,void 0,e??{})}return i._$AI(o),i};var R=globalThis,C=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;let t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ut(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return v}};C._$litElement$=!0,C.finalized=!0,R.litElementHydrateSupport?.({LitElement:C});var bt=R.litElementPolyfillSupport;bt?.({LitElement:C});(R.litElementVersions??(R.litElementVersions=[])).push("4.2.0");export{X as a,W as b,st as c,Ot as d,v as e,c as f,Tt as g,C as h};
|
|
4
|
+
/*! Bundled license information:
|
|
5
|
+
|
|
6
|
+
@lit/reactive-element/css-tag.js:
|
|
7
|
+
(**
|
|
8
|
+
* @license
|
|
9
|
+
* Copyright 2019 Google LLC
|
|
10
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
+
*)
|
|
12
|
+
|
|
13
|
+
@lit/reactive-element/reactive-element.js:
|
|
14
|
+
lit-html/lit-html.js:
|
|
15
|
+
lit-element/lit-element.js:
|
|
16
|
+
(**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2017 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*)
|
|
21
|
+
|
|
22
|
+
lit-html/is-server.js:
|
|
23
|
+
(**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2022 Google LLC
|
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
+
*)
|
|
28
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"1"},{offset:1,opacity:"0"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"translate3d(0, -100%, 0)",visibility:"visible"},{offset:1,transform:"translate3d(0, 0, 0)"}];export{t as a};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import{a as u}from"./chunk.63PFEC3G.js";import{a as c,b as r,c as o,e as d,g as h}from"./chunk.NYYTSWQF.js";import{a}from"./chunk.H2EOXVSZ.js";import{d as n}from"./chunk.2N5ZK4F4.js";import{b as s}from"./chunk.E6MOE4FE.js";var f=`:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
position: relative;
|
|
4
|
+
align-items: center;
|
|
5
|
+
padding-inline-start: 0.5em;
|
|
6
|
+
padding-inline-end: 1.75em;
|
|
7
|
+
padding-block: 0.5em;
|
|
8
|
+
color: var(--pc-color-text-normal);
|
|
9
|
+
border-radius: var(--pc-border-radius-m);
|
|
10
|
+
font: inherit;
|
|
11
|
+
line-height: var(--pc-line-height-dense);
|
|
12
|
+
user-select: none;
|
|
13
|
+
-webkit-user-select: none;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
transition: all var(--pc-transition-fast) ease-in-out;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host(:focus) {
|
|
19
|
+
outline: none;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@media (hover: hover) {
|
|
23
|
+
:host(:hover:not([disabled], :state(current)):is(:state(hover), :hover)) {
|
|
24
|
+
background-color: var(--pc-color-neutral-fill-normal);
|
|
25
|
+
color: var(--pc-color-neutral-on-normal);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host(:active:not([disabled], :state(current)):state(hover)),
|
|
30
|
+
:host(:active:not([disabled], :state(current))) {
|
|
31
|
+
background-color: color-mix(
|
|
32
|
+
in oklab,
|
|
33
|
+
var(--pc-color-neutral-fill-normal),
|
|
34
|
+
var(--pc-color-mix-active)
|
|
35
|
+
);
|
|
36
|
+
color: color-mix(
|
|
37
|
+
in oklab,
|
|
38
|
+
var(--pc-color-neutral-on-normal),
|
|
39
|
+
var(--pc-color-mix-active)
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host(:state(current)),
|
|
44
|
+
:host([disabled]:state(current)) {
|
|
45
|
+
background-color: var(--pc-color-neutral-fill-normal);
|
|
46
|
+
color: var(--pc-color-neutral-on-normal);
|
|
47
|
+
opacity: 1;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host([disabled]) {
|
|
51
|
+
outline: none;
|
|
52
|
+
opacity: 0.5;
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.label {
|
|
57
|
+
display: inline-block;
|
|
58
|
+
flex: 1 1 auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.check {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
flex: 0 0 auto;
|
|
66
|
+
visibility: hidden;
|
|
67
|
+
font-size: var(--pc-font-size-smaller);
|
|
68
|
+
padding-inline-end: 0.5em;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
:host(:state(selected)) .check {
|
|
72
|
+
visibility: visible;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.prefix,
|
|
76
|
+
.suffix {
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
flex: 0 0 auto;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.prefix::slotted(*) {
|
|
83
|
+
margin-inline-end: 0.5em;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.suffix::slotted(*) {
|
|
87
|
+
margin-inline-start: 0.5em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media (forced-colors: active) {
|
|
91
|
+
:host(:hover:not([aria-disabled="true"])) {
|
|
92
|
+
outline: 1px dashed SelectedItem;
|
|
93
|
+
outline-offset: -1px;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
`;var e=class extends h{constructor(){super(...arguments);this.isInitialized=!1;this.current=!1;this.selected=!1;this.value="";this.disabled=!1;this.handleHover=t=>{t.type==="mouseenter"?this.customStates.set("hover",!0):t.type==="mouseleave"&&this.customStates.set("hover",!1)}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","option"),this.setAttribute("aria-selected","false"),this.addEventListener("mouseenter",this.handleHover),this.addEventListener("mouseleave",this.handleHover)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("mouseenter",this.handleHover),this.removeEventListener("mouseleave",this.handleHover)}handleDefaultSlotChange(){this.isInitialized||(this.isInitialized=!0,queueMicrotask(()=>{customElements.whenDefined("pc-select").then(()=>{let t=this.closest("pc-select");t&&t.handleDefaultSlotChange()})}))}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",this.disabled?"true":"false"),t.has("selected")&&(this.setAttribute("aria-selected",this.selected?"true":"false"),this.customStates.set("selected",this.selected),this.handleDefaultSlotChange()),t.has("current")&&this.customStates.set("current",this.current)}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleValueChange(){typeof this.value!="string"&&(this.value=String(this.value)),this.value.includes(" ")&&(console.warn(`Option values must not contain a space. All spaces have been replaced with underscores. ${this}`),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){let t=this.childNodes,i="";return[...t].forEach(l=>{l.nodeType===Node.ELEMENT_NODE&&(l.hasAttribute("slot")||(i+=l.textContent)),l.nodeType===Node.TEXT_NODE&&(i+=l.textContent)}),i.trim()}render(){return n`
|
|
97
|
+
<pc-icon
|
|
98
|
+
class="check"
|
|
99
|
+
part="checked-icon"
|
|
100
|
+
library="system"
|
|
101
|
+
icon-style="solid"
|
|
102
|
+
name="check"
|
|
103
|
+
aria-hidden="true"
|
|
104
|
+
></pc-icon>
|
|
105
|
+
<slot class="prefix" part="prefix" name="prefix"></slot>
|
|
106
|
+
<slot
|
|
107
|
+
class="label"
|
|
108
|
+
part="label"
|
|
109
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
110
|
+
></slot>
|
|
111
|
+
<slot class="suffix" part="suffix" name="prefix"></slot>
|
|
112
|
+
`}};e.css=f,e.dependencies={"pc-icon":u},s([d(".label")],e.prototype,"defaultSlot",2),s([o()],e.prototype,"current",2),s([o()],e.prototype,"selected",2),s([r({reflect:!0})],e.prototype,"value",2),s([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),s([a("disabled")],e.prototype,"handleDisabledChange",1),s([a("selected")],e.prototype,"handleSelectedChange",1),s([a("value")],e.prototype,"handleValueChange",1),e=s([c("pc-option")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 90deg)",opacity:"0"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"0",transform:"translate3d(0, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk.QY5QOZRE.js";import{a as o}from"./chunk.ZY64ASSW.js";var a={...r,$code:"pt-BR",$name:"Portugu\xEAs do Brasil",copied:"Copiado!",pickAColorFromTheScreen:"Escolher uma cor da tela",scrollToEnd:"Rolar at\xE9 o final",scrollToStart:"Rolar at\xE9 o in\xEDcio"};o(a);var l=a;export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"1"},{offset:1,transform:"rotate3d(0, 0, 1, 200deg)",opacity:"0"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:.2,transform:"rotate3d(0, 0, 1, 15deg)"},{offset:.4,transform:"rotate3d(0, 0, 1, -10deg)"},{offset:.6,transform:"rotate3d(0, 0, 1, 5deg)"},{offset:.8,transform:"rotate3d(0, 0, 1, -5deg)"},{offset:1,transform:"rotate3d(0, 0, 1, 0deg)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:1,visibility:"hidden",transform:"translate3d(0, -100%, 0)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.5,transform:"scale3d(1.05, 1.05, 1.05)"},{offset:1,transform:"scale3d(1, 1, 1)"}];export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o,b as i,g as s}from"./chunk.NYYTSWQF.js";import{a as m}from"./chunk.E4QLFQIH.js";import{d as r}from"./chunk.2N5ZK4F4.js";import{b as t}from"./chunk.E6MOE4FE.js";var e=class extends s{constructor(){super(...arguments);this.localize=new m(this);this.date=new Date;this.hourFormat="auto"}static get styles(){return[]}render(){let n=new Date(this.date),d=this.hourFormat==="auto"?void 0:this.hourFormat==="12";if(isNaN(n.getMilliseconds()))return;let h=this.localize.date(n,{weekday:this.weekday,era:this.era,year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,timeZoneName:this.timeZoneName,timeZone:this.timeZone,hour12:d});return r`<time datetime=${n.toISOString()}>${h}</time>`}};t([i()],e.prototype,"date",2),t([i()],e.prototype,"weekday",2),t([i()],e.prototype,"era",2),t([i()],e.prototype,"year",2),t([i()],e.prototype,"month",2),t([i()],e.prototype,"day",2),t([i()],e.prototype,"hour",2),t([i()],e.prototype,"minute",2),t([i()],e.prototype,"second",2),t([i({attribute:"time-zone-name"})],e.prototype,"timeZoneName",2),t([i({attribute:"time-zone"})],e.prototype,"timeZone",2),t([i({attribute:"hour-format"})],e.prototype,"hourFormat",2),e=t([o("pc-format-date")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"translate3d(100%, 0, 0) skewX(-30deg)",opacity:"0"},{offset:.6,transform:"skewX(20deg)",opacity:"1"},{offset:.8,transform:"skewX(-5deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[{offset:.4,opacity:"1",transform:"scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",easing:"cubic-bezier(0.55, 0.055, 0.675, 0.19)"},{offset:1,opacity:"0",transform:"scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",easing:"cubic-bezier(0.175, 0.885, 0.32, 1)"}];export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[{offset:0,opacity:"0",transform:"translate3d(-3000px, 0, 0) scaleX(3)"},{offset:0,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.6,opacity:"1",transform:"translate3d(25px, 0, 0) scaleX(1)"},{offset:.6,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.75,transform:"translate3d(-10px, 0, 0) scaleX(0.98)"},{offset:.75,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:.9,transform:"translate3d(5px, 0, 0) scaleX(0.995)"},{offset:.9,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"},{offset:1,transform:"translate3d(0, 0, 0)"},{offset:1,easing:"cubic-bezier(0.215, 0.61, 0.355, 1)"}];export{e as a};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import{a as L}from"./chunk.RWQ2HCYN.js";import{a as z}from"./chunk.KKVT4LHX.js";import{a as l}from"./chunk.RZZMGXAZ.js";import{a as g,b as s,e as v,g as k}from"./chunk.NYYTSWQF.js";import{a as T}from"./chunk.RQ34LIU5.js";import{a as m}from"./chunk.OOQOIJSK.js";import{a as h}from"./chunk.U2DNK7H4.js";import{a as x}from"./chunk.H2EOXVSZ.js";import{a as w}from"./chunk.P7X6ERDI.js";import{a as E}from"./chunk.D5CFOPIE.js";import{a as f,b as u}from"./chunk.R2GXUKDX.js";import{a as r,c}from"./chunk.N5AZOOIZ.js";import{a as C}from"./chunk.E4QLFQIH.js";import{d as p}from"./chunk.2N5ZK4F4.js";import{b as o}from"./chunk.E6MOE4FE.js";var S=`:host {
|
|
2
|
+
--size: 25rem;
|
|
3
|
+
--header-spacing: var(--pc-spacing-xl);
|
|
4
|
+
--body-spacing: var(--pc-spacing-s) var(--pc-spacing-xl);
|
|
5
|
+
--footer-spacing: var(--pc-spacing-s) var(--pc-spacing-xl)
|
|
6
|
+
var(--pc-spacing-xl);
|
|
7
|
+
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([open]) {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.drawer {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
inset-block-start: 0;
|
|
19
|
+
inset-inline-start: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
inline-size: 100%;
|
|
23
|
+
max-inline-size: 100%;
|
|
24
|
+
block-size: 100%;
|
|
25
|
+
max-block-size: 100%;
|
|
26
|
+
background-color: var(--pc-color-surface-raised);
|
|
27
|
+
border: none;
|
|
28
|
+
box-shadow: var(--pc-shadow-xl);
|
|
29
|
+
overflow: auto;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.drawer::backdrop {
|
|
33
|
+
background-color: var(--pc-color-overlay-modal);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.drawer.show::backdrop {
|
|
37
|
+
animation: drawer-backdrop-open 0.3s cubic-bezier(0.23, 1, 0.32, 1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.drawer.hide::backdrop {
|
|
41
|
+
animation: drawer-backdrop-close 0.2s cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.drawer:focus {
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.top {
|
|
49
|
+
inset-block-start: 0;
|
|
50
|
+
inset-block-end: auto;
|
|
51
|
+
inset-inline-start: 0;
|
|
52
|
+
inset-inline-end: auto;
|
|
53
|
+
inline-size: 100%;
|
|
54
|
+
block-size: var(--size);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.end {
|
|
58
|
+
inset-block-start: 0;
|
|
59
|
+
inset-block-end: auto;
|
|
60
|
+
inset-inline-start: auto;
|
|
61
|
+
inset-inline-end: 0;
|
|
62
|
+
inline-size: var(--size);
|
|
63
|
+
block-size: 100%;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bottom {
|
|
67
|
+
inset-block-start: auto;
|
|
68
|
+
inset-block-end: 0;
|
|
69
|
+
inset-inline-start: 0;
|
|
70
|
+
inset-inline-end: auto;
|
|
71
|
+
inline-size: 100%;
|
|
72
|
+
block-size: var(--size);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.start {
|
|
76
|
+
inset-block-start: 0;
|
|
77
|
+
inset-block-end: auto;
|
|
78
|
+
inset-inline-start: 0;
|
|
79
|
+
inset-inline-end: auto;
|
|
80
|
+
inline-size: var(--size);
|
|
81
|
+
block-size: 100%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.header {
|
|
85
|
+
display: flex;
|
|
86
|
+
gap: var(--pc-spacing-l);
|
|
87
|
+
flex: 0 0 auto;
|
|
88
|
+
flex-wrap: nowrap;
|
|
89
|
+
padding: var(--header-spacing);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.title {
|
|
93
|
+
align-self: center;
|
|
94
|
+
flex: 1 1 auto;
|
|
95
|
+
margin: 0;
|
|
96
|
+
font-family: inherit;
|
|
97
|
+
font-size: var(--pc-font-size-l);
|
|
98
|
+
font-weight: var(--pc-font-weight-bold);
|
|
99
|
+
line-height: var(--pc-line-height-dense);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.header-actions {
|
|
103
|
+
display: flex;
|
|
104
|
+
align-self: flex-start;
|
|
105
|
+
justify-content: flex-end;
|
|
106
|
+
gap: var(--pc-spacing-xs);
|
|
107
|
+
flex-shrink: 0;
|
|
108
|
+
flex-wrap: wrap;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.header-actions pc-button,
|
|
112
|
+
.header-actions ::slotted(pc-button) {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.body {
|
|
119
|
+
display: block;
|
|
120
|
+
flex: 1 1 auto;
|
|
121
|
+
padding: var(--body-spacing);
|
|
122
|
+
overflow: auto;
|
|
123
|
+
-webkit-overflow-scrolling: touch;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.footer {
|
|
127
|
+
flex: 0 0 auto;
|
|
128
|
+
padding: var(--footer-spacing);
|
|
129
|
+
text-align: end;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.footer ::slotted(pc-button:not(:first-of-type)) {
|
|
133
|
+
margin-inline-start: var(--pc-spacing-xs);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.drawer:not(.has-footer) .footer {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.drawer:not(:has(> .header)) .body {
|
|
141
|
+
--body-spacing: var(--pc-spacing-xl) var(--pc-spacing-xl)
|
|
142
|
+
var(--pc-spacing-s) var(--pc-spacing-xl);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.drawer:not(.has-footer) .body {
|
|
146
|
+
--body-spacing: var(--pc-spacing-s) var(--pc-spacing-xl)
|
|
147
|
+
var(--pc-spacing-xl) var(--pc-spacing-xl);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.drawer:not(:has(> .header), .has-footer) .body {
|
|
151
|
+
--body-spacing: var(--pc-spacing-xl);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@keyframes drawer-backdrop-open {
|
|
155
|
+
0% {
|
|
156
|
+
opacity: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
100% {
|
|
160
|
+
opacity: 1;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
@keyframes drawer-backdrop-close {
|
|
165
|
+
0% {
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
100% {
|
|
170
|
+
opacity: 0;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@media (forced-colors: active) {
|
|
175
|
+
.drawer-panel {
|
|
176
|
+
border: 1px solid oklch(100% 0 0);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
`;document.addEventListener("click",y=>{let d=y.target.closest("[data-drawer]");if(d instanceof Element){let[e,a]=T(d.getAttribute("data-drawer")||"");if(e==="open"&&a?.length){let n=d.getRootNode().getElementById(a);n?.localName==="pc-drawer"?n.open=!0:console.warn(`A drawer with an id of \u201C${a}\u201D could not be found in this document.`)}}});document.addEventListener("pointerdown",()=>{});r("drawer.showTop",{keyframes:[{opacity:0,translate:"0 -100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideTop",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 -100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showBottom",{keyframes:[{opacity:0,translate:"0 100%"},{opacity:1,translate:"0 0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideBottom",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:300,easing:"cubic-bezier(0.23, 1, 0.32, 1)"}});r("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:200,easing:"cubic-bezier(0.755, 0.05, 0.855, 0.06)"}});r("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250,easing:"cubic-bezier(0.68, -0.55, 0.265, 1.55)"}});var t=class extends k{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new C(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1;this.noLightDismiss=!1;this.handleDocumentKeyDown=e=>{e.key==="Escape"&&this.open&&(e.preventDefault(),e.stopPropagation(),this.requestClose(this.drawer))}}firstUpdated(){this.open&&(this.addOpenListeners(),this.drawer.showModal(),f(this))}disconnectedCallback(){super.disconnectedCallback(),u(this),this.removeOpenListeners()}async requestClose(e){if(h(this,"pc-hide",{cancelable:!0,detail:{source:e}}).defaultPrevented){this.open=!0;let b=c(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.drawer,b.keyframes,b.options);return}this.removeOpenListeners(),this.drawer.classList.add("hide"),this.drawer.classList.remove("show");let i=c(this,`drawer.hide${w(this.placement)}`,{dir:this.localize.dir()});await l(this.drawer,i.keyframes,i.options),this.open=!1,this.drawer.close(),u(this);let n=this.originalTrigger;return typeof n?.focus=="function"&&setTimeout(()=>n.focus()),m(this,"pc-after-hide")}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDrawerCancel(e){e.preventDefault(),!this.drawer.classList.contains("hide")&&e.target===this.drawer&&this.requestClose(this.drawer)}handleDrawerClick(e){let i=e.target.closest('[data-drawer="close"]');i&&(e.stopPropagation(),this.requestClose(i))}async handleDrawerPointerDown(e){if(e.target===this.drawer)if(!this.noLightDismiss)this.requestClose(this.drawer);else{let a=c(this,"drawer.denyClose",{dir:this.localize.dir()});l(this.drawer,a.keyframes,a.options)}}handleOpenChange(){this.open&&!this.drawer.open?this.show():this.drawer.open&&(this.open=!0,this.requestClose(this.drawer))}async show(){if(h(this,"pc-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}this.addOpenListeners(),this.originalTrigger=document.activeElement,this.open=!0,this.drawer.showModal(),f(this),requestAnimationFrame(()=>{let i=this.querySelector("[autofocus]");i&&typeof i.focus=="function"?i.focus():this.drawer.focus()}),this.drawer.classList.add("show"),this.drawer.classList.remove("hide");let a=c(this,`drawer.show${w(this.placement)}`,{dir:this.localize.dir()});return l(this.drawer,a.keyframes,a.options),m(this,"pc-after-show")}render(){return p`
|
|
180
|
+
<dialog
|
|
181
|
+
part="drawer"
|
|
182
|
+
class=${z({drawer:!0,open:this.open,top:this.placement==="top",end:this.placement==="end",bottom:this.placement==="bottom",start:this.placement==="start","has-footer":this.hasSlotController.test("footer")})}
|
|
183
|
+
@click=${this.handleDrawerClick}
|
|
184
|
+
@pointerdown=${this.handleDrawerPointerDown}
|
|
185
|
+
@cancel=${this.handleDrawerCancel}
|
|
186
|
+
>
|
|
187
|
+
${this.noHeader?"":p`
|
|
188
|
+
<header part="header" class="header">
|
|
189
|
+
<h2 part="title" class="title" id="title">
|
|
190
|
+
<slot name="label">
|
|
191
|
+
${this.label.length>0?this.label:"\u200B"}
|
|
192
|
+
</slot>
|
|
193
|
+
</h2>
|
|
194
|
+
<div part="header-actions" class="header-actions">
|
|
195
|
+
<slot name="header-actions"></slot>
|
|
196
|
+
<pc-button
|
|
197
|
+
part="close-button"
|
|
198
|
+
class="drawer-close"
|
|
199
|
+
size="small"
|
|
200
|
+
variant="plain"
|
|
201
|
+
exportparts="base:close-button-base"
|
|
202
|
+
@click=${e=>this.requestClose(e.target)}
|
|
203
|
+
>
|
|
204
|
+
<pc-icon
|
|
205
|
+
library="system"
|
|
206
|
+
icon-style="solid"
|
|
207
|
+
name="xmark"
|
|
208
|
+
label=${this.localize.term("close")}
|
|
209
|
+
></pc-icon>
|
|
210
|
+
</pc-button>
|
|
211
|
+
</div>
|
|
212
|
+
</header>
|
|
213
|
+
`}
|
|
214
|
+
|
|
215
|
+
<div part="body" class="body" tabindex="-1">
|
|
216
|
+
<slot></slot>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
<footer part="footer" class="footer">
|
|
220
|
+
<slot name="footer"></slot>
|
|
221
|
+
</footer>
|
|
222
|
+
</dialog>
|
|
223
|
+
`}};t.css=S,t.dependencies={"pc-button":L},o([v(".drawer")],t.prototype,"drawer",2),o([s({type:Boolean,reflect:!0})],t.prototype,"open",2),o([s({reflect:!0})],t.prototype,"label",2),o([s({reflect:!0})],t.prototype,"placement",2),o([s({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),o([s({attribute:"no-light-dismiss",type:Boolean})],t.prototype,"noLightDismiss",2),o([x("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([g("pc-drawer")],t);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"rotate3d(0, 0, 1, -45deg)",opacity:"0"},{offset:1,transform:"translate3d(0, 0, 0)",opacity:"1"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l,b as i,g as u}from"./chunk.NYYTSWQF.js";import{a as c}from"./chunk.E4QLFQIH.js";import{b as e}from"./chunk.E6MOE4FE.js";var t=class extends u{constructor(){super(...arguments);this.localize=new c(this);this.value=0;this.unit="byte";this.display="short";this.useSI=!1}static get styles(){return[]}render(){if(isNaN(this.value))return"";let h=["","kilo","mega","giga","tera"],p=["","kilo","mega","giga","tera","peta"],s=this.unit==="bit"?h:p,r=Math.max(0,Math.min(Math.floor(Math.log10(this.value)/3),s.length-1)),a=parseFloat((this.value/Math.pow(1e3,r)).toPrecision(3));if(this.useSI){let o=["","k","M","G","T","P"][r],n=this.localize.number(a,{style:"decimal"}).replace(".",",");switch(this.display){case"narrow":return`${n}${o}${this.unit==="byte"?"B":"b"}`;case"short":return`${n}\u202F${o}${this.unit==="byte"?"B":"b"}`;case"long":let b=a===1?"":"s";return`${n}\xA0${s[r]}${this.unit}${b}`;default:return""}}let m=s[r]+this.unit;return this.localize.number(a,{style:"unit",unit:m,unitDisplay:this.display})}};e([i({type:Number})],t.prototype,"value",2),e([i()],t.prototype,"unit",2),e([i()],t.prototype,"display",2),e([i({attribute:"use-si",type:Boolean})],t.prototype,"useSI",2),t=e([l("pc-format-bytes")],t);export{t as a};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import{a as Rt}from"./chunk.KKVT4LHX.js";import{a as Pt,b as A,e as Et,g as kt}from"./chunk.NYYTSWQF.js";import{a as Bt}from"./chunk.U2DNK7H4.js";import{a as Dt}from"./chunk.E4QLFQIH.js";import{d as At}from"./chunk.2N5ZK4F4.js";import{b as x}from"./chunk.E6MOE4FE.js";var V=Math.min,C=Math.max,lt=Math.round,at=Math.floor,$=t=>({x:t,y:t}),ye={left:"right",right:"left",bottom:"top",top:"bottom"},we={start:"end",end:"start"};function ht(t,e,n){return C(t,V(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function mt(t){return t==="y"?"height":"width"}var be=new Set(["top","bottom"]);function W(t){return be.has(X(t))?"y":"x"}function pt(t){return St(W(t))}function Nt(t,e,n){n===void 0&&(n=!1);let o=Q(t),i=pt(t),r=mt(i),s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=st(s)),[s,st(s)]}function Ft(t){let e=st(t);return[dt(t),e,dt(e)]}function dt(t){return t.replace(/start|end/g,e=>we[e])}var $t=["left","right"],Mt=["right","left"],ve=["top","bottom"],xe=["bottom","top"];function Ae(t,e,n){switch(t){case"top":case"bottom":return n?e?Mt:$t:e?$t:Mt;case"left":case"right":return e?ve:xe;default:return[]}}function Ht(t,e,n,o){let i=Q(t),r=Ae(X(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(dt)))),r}function st(t){return t.replace(/left|right|bottom|top/g,e=>ye[e])}function Ee(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ot(t){return typeof t!="number"?Ee(t):{top:t,right:t,bottom:t,left:t}}function Z(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Vt(t,e,n){let{reference:o,floating:i}=t,r=W(e),s=pt(e),l=mt(s),c=X(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[l]/2-i[l]/2,d;switch(c){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}var Wt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Vt(a,o,c),h=o,d={},m=0;for(let g=0;g<l.length;g++){let{name:y,fn:p}=l[g],{x:w,y:v,data:R,reset:E}=await p({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=w??f,u=v??u,d={...d,[y]:{...d[y],...R}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(a=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:u}=Vt(a,h,c)),g=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function gt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=J(e,t),m=Ot(d),y=l[h?u==="floating"?"reference":"floating":u],p=Z(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(y)))==null||n?y:y.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:f,strategy:c})),w=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Z(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:v,strategy:c}):w);return{top:(p.top-E.top+m.top)/R.y,bottom:(E.bottom-p.bottom+m.bottom)/R.y,left:(p.left-E.left+m.left)/R.x,right:(E.right-p.right+m.right)/R.x}}var _t=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:f=0}=J(t,e)||{};if(a==null)return{};let u=Ot(f),h={x:n,y:o},d=pt(i),m=mt(d),g=await s.getDimensions(a),y=d==="y",p=y?"top":"left",w=y?"bottom":"right",v=y?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[d]-h[d]-r.floating[m],E=h[d]-r.reference[d],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),S=k?k[v]:0;(!S||!await(s.isElement==null?void 0:s.isElement(k)))&&(S=l.floating[v]||r.floating[m]);let _=R/2-E/2,F=S/2-g[m]/2-1,L=V(u[p],F),q=V(u[w],F),H=L,U=S-g[m]-q,O=S/2-g[m]/2+_,G=ht(H,O,U),j=!c.arrow&&Q(i)!=null&&O!==G&&r.reference[m]/2-(O<H?L:q)-g[m]/2<0,B=j?O<H?O-H:O-U:0;return{[d]:h[d]+B,data:{[d]:G,centerOffset:O-G-B,...j&&{alignmentOffset:B}},reset:j}}});var jt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...y}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(i),w=W(l),v=X(l)===l,R=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=h||(v||!g?[st(l)]:Ft(l)),k=m!=="none";!h&&k&&E.push(...Ht(l,g,m,R));let S=[l,...E],_=await gt(e,y),F=[],L=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&F.push(_[p]),u){let O=Nt(i,s,R);F.push(_[O[0]],_[O[1]])}if(L=[...L,{placement:i,overflows:F}],!F.every(O=>O<=0)){var q,H;let O=(((q=r.flip)==null?void 0:q.index)||0)+1,G=S[O];if(G&&(!(u==="alignment"?w!==W(G):!1)||L.every(D=>W(D.placement)===w?D.overflows[0]>0:!0)))return{data:{index:O,overflows:L},reset:{placement:G}};let j=(H=L.filter(B=>B.overflows[0]<=0).sort((B,D)=>B.overflows[1]-D.overflows[1])[0])==null?void 0:H.placement;if(!j)switch(d){case"bestFit":{var U;let B=(U=L.filter(D=>{if(k){let K=W(D.placement);return K===w||K==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(K=>K>0).reduce((K,ge)=>K+ge,0)]).sort((D,K)=>D[1]-K[1])[0])==null?void 0:U[0];B&&(j=B);break}case"initialPlacement":j=l;break}if(i!==j)return{reset:{placement:j}}}return{}}}};var Re=new Set(["left","top"]);async function Se(t,e){let{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=X(n),l=Q(n),c=W(n)==="y",a=Re.has(s)?-1:1,f=r&&c?-1:1,u=J(e,t),{mainAxis:h,crossAxis:d,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(d=l==="end"?m*-1:m),c?{x:d*f,y:h*a}:{x:h*a,y:d*f}}var Xt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:r,placement:s,middlewareData:l}=e,c=await Se(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:p,y:w}=y;return{x:p,y:w}}},...c}=J(t,e),a={x:n,y:o},f=await gt(e,c),u=W(X(i)),h=St(u),d=a[h],m=a[u];if(r){let y=h==="y"?"top":"left",p=h==="y"?"bottom":"right",w=d+f[y],v=d-f[p];d=ht(w,d,v)}if(s){let y=u==="y"?"top":"left",p=u==="y"?"bottom":"right",w=m+f[y],v=m-f[p];m=ht(w,m,v)}let g=l.fn({...e,[h]:d,[u]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[h]:r,[u]:s}}}}}};var It=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:r,platform:s,elements:l}=e,{apply:c=()=>{},...a}=J(t,e),f=await gt(e,a),u=X(i),h=Q(i),d=W(i)==="y",{width:m,height:g}=r.floating,y,p;u==="top"||u==="bottom"?(y=u,p=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(p=u,y=h==="end"?"top":"bottom");let w=g-f.top-f.bottom,v=m-f.left-f.right,R=V(g-f[y],w),E=V(m-f[p],v),k=!e.middlewareData.shift,S=R,_=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(S=w),k&&!h){let L=C(f.left,0),q=C(f.right,0),H=C(f.top,0),U=C(f.bottom,0);d?_=m-2*(L!==0||q!==0?L+q:C(f.left,f.right)):S=g-2*(H!==0||U!==0?H+U:C(f.top,f.bottom))}await c({...e,availableWidth:_,availableHeight:S});let F=await s.getDimensions(l.floating);return m!==F.width||g!==F.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window<"u"}function tt(t){return Ut(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function M(t){var e;return(e=(Ut(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ut(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function z(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function N(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function qt(t){return!yt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}var Oe=new Set(["inline","contents"]);function ot(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Oe.has(i)}var Ce=new Set(["table","td","th"]);function Kt(t){return Ce.has(tt(t))}var Te=[":popover-open",":modal"];function ct(t){return Te.some(e=>{try{return t.matches(e)}catch{return!1}})}var Le=["transform","translate","scale","rotate","perspective"],ze=["transform","translate","scale","rotate","perspective","filter"],Pe=["paint","layout","strict","content"];function it(t){let e=wt(),n=z(t)?P(t):t;return Le.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||ze.some(o=>(n.willChange||"").includes(o))||Pe.some(o=>(n.contain||"").includes(o))}function Gt(t){let e=Y(t);for(;N(e)&&!et(e);){if(it(e))return e;if(ct(e))return null;e=Y(e)}return null}function wt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var ke=new Set(["html","body","#document"]);function et(t){return ke.has(tt(t))}function P(t){return T(t).getComputedStyle(t)}function ft(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(tt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qt(t)&&t.host||M(t);return qt(e)?e.host:e}function Jt(t){let e=Y(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&ot(e)?e:Jt(e)}function I(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=Jt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=T(i);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ot(i)?i:[],l&&n?I(l):[])}return e.concat(i,I(i,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ee(t){let e=P(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,l=lt(n)!==r||lt(o)!==s;return l&&(n=r,o=s),{width:n,height:o,$:l}}function Tt(t){return z(t)?t:t.contextElement}function rt(t){let e=Tt(t);if(!N(e))return $(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:r}=ee(e),s=(r?lt(n.width):n.width)/o,l=(r?lt(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Be=$(0);function ne(t){let e=T(t);return!wt()||!e.visualViewport?Be:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function De(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==T(t)?!1:e}function nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),r=Tt(t),s=$(1);e&&(o?z(o)&&(s=rt(o)):s=rt(t));let l=De(r,n,o)?ne(r):$(0),c=(i.left+l.x)/s.x,a=(i.top+l.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){let h=T(r),d=o&&z(o)?T(o):o,m=h,g=bt(m);for(;g&&o&&d!==m;){let y=rt(g),p=g.getBoundingClientRect(),w=P(g),v=p.left+(g.clientLeft+parseFloat(w.paddingLeft))*y.x,R=p.top+(g.clientTop+parseFloat(w.paddingTop))*y.y;c*=y.x,a*=y.y,f*=y.x,u*=y.y,c+=v,a+=R,m=T(g),g=bt(m)}}return Z({width:f,height:u,x:c,y:a})}function vt(t,e){let n=ft(t).scrollLeft;return e?e.left+n:nt(M(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-vt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function $e(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,r=i==="fixed",s=M(o),l=e?ct(e.floating):!1;if(o===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=$(1),f=$(0),u=N(o);if((u||!u&&!r)&&((tt(o)!=="body"||ot(s))&&(c=ft(o)),N(o))){let d=nt(o);a=rt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}let h=s&&!u&&!r?oe(s,c):$(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-c.scrollTop*a.y+f.y+h.y}}function Me(t){return Array.from(t.getClientRects())}function Ne(t){let e=M(t),n=ft(t),o=t.ownerDocument.body,i=C(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=C(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+vt(t),l=-n.scrollTop;return P(o).direction==="rtl"&&(s+=C(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:l}}var Qt=25;function Fe(t,e){let n=T(t),o=M(t),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;let f=wt();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}let a=vt(o);if(a<=0){let f=o.ownerDocument,u=f.body,h=getComputedStyle(u),d=f.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(o.clientWidth-u.clientWidth-d);m<=Qt&&(r-=m)}else a<=Qt&&(r+=a);return{width:r,height:s,x:l,y:c}}var He=new Set(["absolute","fixed"]);function Ve(t,e){let n=nt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?rt(t):$(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,a=o*r.y;return{width:s,height:l,x:c,y:a}}function Zt(t,e,n){let o;if(e==="viewport")o=Fe(t,n);else if(e==="document")o=Ne(M(t));else if(z(e))o=Ve(e,n);else{let i=ne(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Z(o)}function ie(t,e){let n=Y(t);return n===e||!z(n)||et(n)?!1:P(n).position==="fixed"||ie(n,e)}function We(t,e){let n=e.get(t);if(n)return n;let o=I(t,[],!1).filter(l=>z(l)&&tt(l)!=="body"),i=null,r=P(t).position==="fixed",s=r?Y(t):t;for(;z(s)&&!et(s);){let l=P(s),c=it(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&He.has(i.position)||ot(s)&&!c&&ie(t,s))?o=o.filter(f=>f!==s):i=l,s=Y(s)}return e.set(t,o),o}function _e(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,s=[...n==="clippingAncestors"?ct(e)?[]:We(e,this._c):[].concat(n),o],l=s[0],c=s.reduce((a,f)=>{let u=Zt(e,f,i);return a.top=C(u.top,a.top),a.right=V(u.right,a.right),a.bottom=V(u.bottom,a.bottom),a.left=C(u.left,a.left),a},Zt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){let{width:e,height:n}=ee(t);return{width:e,height:n}}function Xe(t,e,n){let o=N(e),i=M(e),r=n==="fixed",s=nt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=$(0);function a(){c.x=vt(i)}if(o||!o&&!r)if((tt(e)!=="body"||ot(i))&&(l=ft(e)),o){let d=nt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();let f=i&&!o&&!r?oe(i,l):$(0),u=s.left+l.scrollLeft-c.x-f.x,h=s.top+l.scrollTop-c.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function Ct(t){return P(t).position==="static"}function te(t,e){if(!N(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return M(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ct(t))return n;if(!N(t)){let i=Y(t);for(;i&&!et(i);){if(z(i)&&!Ct(i))return i;i=Y(i)}return n}let o=te(t,e);for(;o&&Kt(o)&&Ct(o);)o=te(o,e);return o&&et(o)&&Ct(o)&&!it(o)?n:o||Gt(t)||n}var Ye=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,o=await n(t.floating);return{reference:Xe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ie(t){return P(t).direction==="rtl"}var ut={convertOffsetParentRelativeRectToViewportRelativeRect:$e,getDocumentElement:M,getClippingRect:_e,getOffsetParent:re,getElementRects:Ye,getClientRects:Me,getDimensions:je,getScale:rt,isElement:z,isRTL:Ie};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qe(t,e){let n=null,o,i=M(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();let a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(l||e(),!h||!d)return;let m=at(u),g=at(i.clientWidth-(f+h)),y=at(i.clientHeight-(u+d)),p=at(f),v={rootMargin:-m+"px "+-g+"px "+-y+"px "+-p+"px",threshold:C(0,V(1,c))||1},R=!0;function E(k){let S=k[0].intersectionRatio;if(S!==c){if(!R)return s();S?s(!1,S):o=setTimeout(()=>{s(!1,1e-7)},1e3)}S===1&&!se(a,t.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(E,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,a=Tt(t),f=i||r?[...a?I(a):[],...I(e)]:[];f.forEach(p=>{i&&p.addEventListener("scroll",n,{passive:!0}),r&&p.addEventListener("resize",n)});let u=a&&l?qe(a,n):null,h=-1,d=null;s&&(d=new ResizeObserver(p=>{let[w]=p;w&&w.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!c&&d.observe(a),d.observe(e));let m,g=c?nt(t):null;c&&y();function y(){let p=nt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(y)}return n(),()=>{var p;f.forEach(w=>{i&&w.removeEventListener("scroll",n),r&&w.removeEventListener("resize",n)}),u?.(),(p=d)==null||p.disconnect(),d=null,c&&cancelAnimationFrame(m)}}var ae=Xt;var ce=Yt,fe=jt,Lt=It;var ue=_t;var de=(t,e,n)=>{let o=new Map,i={platform:ut,...n},r={...i.platform,_c:o};return Wt(t,e,{...i,platform:r})};function he(t){return Ue(t)}function zt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ue(t){for(let e=t;e;e=zt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zt(t);e;e=zt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||it(n)||e.tagName==="BODY"))return e}return null}var me=`/*! Popup is a low\u2010level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML. */
|
|
2
|
+
|
|
3
|
+
:host {
|
|
4
|
+
--arrow-color: var(--pc-color-neutral-fill-normal);
|
|
5
|
+
--arrow-size: var(--pc-tooltip-arrow-size);
|
|
6
|
+
|
|
7
|
+
/* These properties are computed to account for the arrow\u2019s dimensions
|
|
8
|
+
after being rotated 45\xB0. The constant 0,7071 is derived from sin(45\xB0),
|
|
9
|
+
which is the diagonal size of the arrow\u2019s container after rotating. */
|
|
10
|
+
--arrow-size-diagonal: calc(var(--arrow-size) * 0.7071);
|
|
11
|
+
--arrow-padding-offset: calc(
|
|
12
|
+
var(--arrow-size-diagonal) - var(--arrow-size)
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
display: contents;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.popup {
|
|
19
|
+
position: absolute;
|
|
20
|
+
isolation: isolate;
|
|
21
|
+
max-inline-size: var(--auto-size-available-width, none);
|
|
22
|
+
max-block-size: var(--auto-size-available-height, none);
|
|
23
|
+
will-change: transform, top, left;
|
|
24
|
+
|
|
25
|
+
/* Reset user agent styles for the popover attribute. */
|
|
26
|
+
:where(&) {
|
|
27
|
+
inset: unset;
|
|
28
|
+
margin: unset;
|
|
29
|
+
padding: unset;
|
|
30
|
+
inline-size: unset;
|
|
31
|
+
block-size: unset;
|
|
32
|
+
/* inline-size and block-size do not affect the width and height
|
|
33
|
+
properties. This is redefined to be sure it is also unset. */
|
|
34
|
+
width: unset;
|
|
35
|
+
height: unset;
|
|
36
|
+
background: unset;
|
|
37
|
+
border: unset;
|
|
38
|
+
overflow: unset;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fixed {
|
|
43
|
+
position: fixed;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.popup:not(.active) {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.arrow {
|
|
51
|
+
position: absolute;
|
|
52
|
+
inline-size: calc(var(--arrow-size-diagonal) * 2);
|
|
53
|
+
block-size: calc(var(--arrow-size-diagonal) * 2);
|
|
54
|
+
background-color: var(--arrow-color);
|
|
55
|
+
rotate: 45deg;
|
|
56
|
+
z-index: 3;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([data-current-placement~="left"]) .arrow {
|
|
60
|
+
rotate: -45deg;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
:host([data-current-placement~="right"]) .arrow {
|
|
64
|
+
rotate: 135deg;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
:host([data-current-placement~="bottom"]) .arrow {
|
|
68
|
+
rotate: 225deg;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.hover-bridge:not(.hover-bridge-visible) {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.hover-bridge {
|
|
76
|
+
position: fixed;
|
|
77
|
+
inset: 0;
|
|
78
|
+
clip-path: polygon(
|
|
79
|
+
var(--hover-bridge-top-left-x, 0) var(--hover-bridge-top-left-y, 0),
|
|
80
|
+
var(--hover-bridge-top-right-x, 0) var(--hover-bridge-top-right-y, 0),
|
|
81
|
+
var(--hover-bridge-bottom-right-x, 0)
|
|
82
|
+
var(--hover-bridge-bottom-right-y, 0),
|
|
83
|
+
var(--hover-bridge-bottom-left-x, 0)
|
|
84
|
+
var(--hover-bridge-bottom-left-y, 0)
|
|
85
|
+
);
|
|
86
|
+
z-index: 899;
|
|
87
|
+
}
|
|
88
|
+
`;function pe(t){return t!==null&&typeof t=="object"&&"getBoundingClientRect"in t&&("contextElement"in t?t instanceof Element:!0)}var xt=globalThis?.HTMLElement?.prototype.hasOwnProperty("popover"),b=class extends kt{constructor(){super(...arguments);this.localize=new Dt(this);this.active=!1;this.placement="top";this.boundary="viewport";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0;this.hoverBridge=!1;this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorElement){let n=this.anchorElement.getBoundingClientRect(),o=this.popup.getBoundingClientRect(),i=this.placement.includes("top")||this.placement.includes("bottom"),r=0,s=0,l=0,c=0,a=0,f=0,u=0,h=0;i?n.top<o.top?(r=n.left,s=n.bottom,l=n.right,c=n.bottom,a=o.left,f=o.top,u=o.right,h=o.top):(r=o.left,s=o.bottom,l=o.right,c=o.bottom,a=n.left,f=n.top,u=n.right,h=n.top):n.left<o.left?(r=n.right,s=n.top,l=o.left,c=o.top,a=n.right,f=n.bottom,u=o.left,h=o.bottom):(r=o.right,s=o.top,l=n.left,c=n.top,a=o.right,f=o.bottom,u=n.left,h=n.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${r}px`),this.style.setProperty("--hover-bridge-top-left-y",`${s}px`),this.style.setProperty("--hover-bridge-top-right-x",`${l}px`),this.style.setProperty("--hover-bridge-top-right-y",`${c}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${a}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${f}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${u}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${h}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){super.disconnectedCallback(),this.stop()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorElement=n.getElementById(this.anchor)}else this.anchor instanceof Element||pe(this.anchor)?this.anchorElement=this.anchor:this.anchorElement=this.querySelector('[slot="anchor"]');this.anchorElement instanceof HTMLSlotElement&&(this.anchorElement=this.anchorElement.assignedElements({flatten:!0})[0]),this.anchorElement&&this.start()}start(){!this.anchorElement||!this.active||(this.popup.showPopover?.(),this.cleanup=le(this.anchorElement,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.popup.hidePopover?.(),this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorElement)return;let n=[ae({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Lt({apply:({rects:r})=>{let s=this.sync==="width"||this.sync==="both",l=this.sync==="height"||this.sync==="both";this.popup.style.inlineSize=s?`${r.reference.width}px`:"",this.popup.style.blockSize=l?`${r.reference.height}px`:""}})):(this.popup.style.inlineSize="",this.popup.style.blockSize="");let o;xt&&!pe(this.anchor)&&this.boundary==="scroll"&&(o=I(this.anchorElement).filter(r=>r instanceof Element)),this.flip&&n.push(fe({boundary:this.flipBoundary||o,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ce({boundary:this.shiftBoundary||o,padding:this.shiftPadding})),this.autoSize?n.push(Lt({boundary:this.autoSizeBoundary||o,padding:this.autoSizePadding,apply:({availableWidth:r,availableHeight:s})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${s}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${r}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowElement,padding:this.arrowPadding}));let i=xt?r=>ut.getOffsetParent(r,he):ut.getOffsetParent;de(this.anchorElement,this.popup,{placement:this.placement,middleware:n,strategy:xt?"absolute":"fixed",platform:{...ut,getOffsetParent:i}}).then(({x:r,y:s,middlewareData:l,placement:c})=>{let a=this.localize.dir()==="rtl",f={top:"bottom",right:"left",bottom:"top",left:"right"}[c.split("-")[0]];if(this.setAttribute("data-current-placement",c),Object.assign(this.popup.style,{left:`${r}px`,top:`${s}px`}),this.arrow){let u=l.arrow.x,h=l.arrow.y,d="",m="",g="",y="";if(this.arrowPlacement==="start"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=typeof h=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",m=a?p:"",y=a?"":p}else if(this.arrowPlacement==="end"){let p=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";m=a?"":p,y=a?p:"",g=typeof h=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(y=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":"",d=typeof h=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(y=typeof u=="number"?`${u}px`:"",d=typeof h=="number"?`${h}px`:"");Object.assign(this.arrowElement.style,{top:d,right:m,bottom:g,left:y,[f]:"calc(var(--arrow-size-diagonal) * -1)"})}}),requestAnimationFrame(()=>this.updateHoverBridge()),Bt(this,"pc-reposition")}render(){return At`
|
|
89
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
90
|
+
|
|
91
|
+
<span
|
|
92
|
+
part="hover-bridge"
|
|
93
|
+
class=${Rt({"hover-bridge":!0,"hover-bridge-visible":this.hoverBridge&&this.active})}
|
|
94
|
+
></span>
|
|
95
|
+
|
|
96
|
+
<div
|
|
97
|
+
part="popup"
|
|
98
|
+
popover="manual"
|
|
99
|
+
class=${Rt({popup:!0,active:this.active,fixed:!xt,"has-arrow":this.arrow})}
|
|
100
|
+
>
|
|
101
|
+
<slot></slot>
|
|
102
|
+
${this.arrow?At`
|
|
103
|
+
<div
|
|
104
|
+
part="arrow"
|
|
105
|
+
class="arrow"
|
|
106
|
+
role="presentation"
|
|
107
|
+
></div>
|
|
108
|
+
`:""}
|
|
109
|
+
</div>
|
|
110
|
+
`}};b.css=me,x([Et(".popup")],b.prototype,"popup",2),x([Et(".arrow")],b.prototype,"arrowElement",2),x([A()],b.prototype,"anchor",2),x([A({type:Boolean,reflect:!0})],b.prototype,"active",2),x([A({reflect:!0})],b.prototype,"placement",2),x([A()],b.prototype,"boundary",2),x([A({type:Number})],b.prototype,"distance",2),x([A({type:Number})],b.prototype,"skidding",2),x([A({type:Boolean})],b.prototype,"arrow",2),x([A({attribute:"arrow-placement"})],b.prototype,"arrowPlacement",2),x([A({attribute:"arrow-padding",type:Number})],b.prototype,"arrowPadding",2),x([A({type:Boolean})],b.prototype,"flip",2),x([A({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(o=>o.trim()).filter(o=>o!==""),toAttribute:n=>n.join(" ")}})],b.prototype,"flipFallbackPlacements",2),x([A({attribute:"flip-fallback-strategy"})],b.prototype,"flipFallbackStrategy",2),x([A({type:Object})],b.prototype,"flipBoundary",2),x([A({attribute:"flip-padding",type:Number})],b.prototype,"flipPadding",2),x([A({type:Boolean})],b.prototype,"shift",2),x([A({type:Object})],b.prototype,"shiftBoundary",2),x([A({attribute:"shift-padding",type:Number})],b.prototype,"shiftPadding",2),x([A({attribute:"auto-size"})],b.prototype,"autoSize",2),x([A()],b.prototype,"sync",2),x([A({type:Object})],b.prototype,"autoSizeBoundary",2),x([A({attribute:"auto-size-padding",type:Number})],b.prototype,"autoSizePadding",2),x([A({attribute:"hover-bridge",type:Boolean})],b.prototype,"hoverBridge",2),b=x([Pt("pc-popup")],b);export{le as a,ae as b,ce as c,fe as d,de as e,b as f};
|
|
111
|
+
//! Popup is a low‐level utility built specifically for positioning elements. Do not mistake it for a tooltip or similar because it does not facilitate an accessible experience! Almost every correct usage of it will involve building other components. It should rarely, if ever, occur directly in your HTML.
|