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,142 @@
|
|
|
1
|
+
import{a as b}from"./chunk.63PFEC3G.js";import{a}from"./chunk.KWVZRE3E.js";import{a as v}from"./chunk.KKVT4LHX.js";import{a as p,b as m,e as n,g as f}from"./chunk.NYYTSWQF.js";import{a as l}from"./chunk.ZS4GILCB.js";import{a as u}from"./chunk.U2DNK7H4.js";import{a as z}from"./chunk.PSDD6Q4W.js";import{a as h}from"./chunk.H2EOXVSZ.js";import{a as y}from"./chunk.E4QLFQIH.js";import{d}from"./chunk.2N5ZK4F4.js";import{b as o}from"./chunk.E6MOE4FE.js";var k=`:host {
|
|
2
|
+
--divider-width: 0.125rem;
|
|
3
|
+
--handle-size: 2.5rem;
|
|
4
|
+
|
|
5
|
+
display: inline-block;
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.comparer {
|
|
10
|
+
display: block;
|
|
11
|
+
inline-size: 100%;
|
|
12
|
+
max-inline-size: 100%;
|
|
13
|
+
block-size: 100%;
|
|
14
|
+
max-block-size: 100%;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.content {
|
|
19
|
+
block-size: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.before-content,
|
|
23
|
+
.after-content {
|
|
24
|
+
display: block;
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
block-size: 100%;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.before-content ::slotted(*),
|
|
30
|
+
.after-content ::slotted(*) {
|
|
31
|
+
display: block;
|
|
32
|
+
max-inline-size: 100% !important;
|
|
33
|
+
block-size: auto;
|
|
34
|
+
border-radius: var(--pc-border-radius-m);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.after-content {
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset-block-start: 0;
|
|
40
|
+
inset-inline-start: 0;
|
|
41
|
+
inline-size: 100%;
|
|
42
|
+
block-size: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.divider {
|
|
46
|
+
display: flex;
|
|
47
|
+
position: absolute;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
inset-block-start: 0;
|
|
51
|
+
inline-size: var(--divider-width);
|
|
52
|
+
block-size: 100%;
|
|
53
|
+
background-color: var(--pc-color-surface-default);
|
|
54
|
+
translate: calc(var(--divider-width) / -2);
|
|
55
|
+
cursor: ew-resize;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.handle {
|
|
59
|
+
display: flex;
|
|
60
|
+
position: absolute;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
inset-block-start: calc(50% - (var(--handle-size) / 2));
|
|
64
|
+
inline-size: var(--handle-size);
|
|
65
|
+
block-size: var(--handle-size);
|
|
66
|
+
background-color: var(--pc-color-surface-default);
|
|
67
|
+
border-radius: var(--pc-border-radius-circle);
|
|
68
|
+
font-size: calc(var(--handle-size) * 0.4);
|
|
69
|
+
color: var(--pc-color-neutral-on-quiet);
|
|
70
|
+
cursor: inherit;
|
|
71
|
+
z-index: 10;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.handle:focus-visible {
|
|
75
|
+
outline: var(--pc-focus-ring);
|
|
76
|
+
outline-offset: var(--pc-focus-ring);
|
|
77
|
+
animation: focus-ring-animation var(--pc-transition-medium)
|
|
78
|
+
cubic-bezier(0.33, 1, 0.68, 1);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes focus-ring-animation {
|
|
82
|
+
0% {
|
|
83
|
+
outline-width: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
50% {
|
|
87
|
+
outline-width: calc(var(--pc-focus-ring-width) * 2);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
100% {
|
|
91
|
+
outline-width: var(--pc-focus-ring-width);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
`;var t=class extends f{constructor(){super(...arguments);this.localize=new y(this);this.position=50}handleDrag(i){let{width:r}=this.base.getBoundingClientRect(),s=this.localize.dir()==="rtl";i.preventDefault(),z(this.base,{onMove:e=>{let c=parseFloat(l(e/r*100,0,100).toFixed(2));s?this.position=c:this.position=parseFloat((100-c).toFixed(2))},initialEvent:i})}handleKeyDown(i){let r=this.localize.dir()==="rtl";if(["ArrowLeft","ArrowRight","Home","End"].includes(i.key)){let s=i.shiftKey?10:1;i.preventDefault();let e=r?this.position:100-this.position;i.key==="ArrowLeft"&&(e-=s),i.key==="ArrowRight"&&(e+=s),i.key==="Home"&&(e=0),i.key==="End"&&(e=100),e=l(e,0,100),r?this.position=parseFloat(e.toFixed(2)):this.position=parseFloat((100-e).toFixed(2))}}handlePositionChange(){u(this,"pc-change")}render(){let i=this.localize.dir()==="rtl";return d`
|
|
95
|
+
<div
|
|
96
|
+
part="base"
|
|
97
|
+
class=${v({comparer:!0,"is-rtl":i})}
|
|
98
|
+
id="comparer"
|
|
99
|
+
@keydown=${this.handleKeyDown}
|
|
100
|
+
>
|
|
101
|
+
<div class="content">
|
|
102
|
+
<div part="before" class="before-content">
|
|
103
|
+
<slot name="before"></slot>
|
|
104
|
+
</div>
|
|
105
|
+
|
|
106
|
+
<div
|
|
107
|
+
part="after"
|
|
108
|
+
class="after-content"
|
|
109
|
+
style=${a({clipPath:i?`inset(0 ${100-this.position}% 0 0)`:`inset(0 0 0 ${100-this.position}%)`})}
|
|
110
|
+
>
|
|
111
|
+
<slot name="after"></slot>
|
|
112
|
+
</div>
|
|
113
|
+
</div>
|
|
114
|
+
|
|
115
|
+
<div
|
|
116
|
+
part="divider"
|
|
117
|
+
class="divider"
|
|
118
|
+
style=${a({left:i?`${this.position}%`:`${100-this.position}%`})}
|
|
119
|
+
@mousedown=${this.handleDrag}
|
|
120
|
+
@touchstart=${this.handleDrag}
|
|
121
|
+
>
|
|
122
|
+
<div
|
|
123
|
+
part="handle"
|
|
124
|
+
class="handle"
|
|
125
|
+
role="scrollbar"
|
|
126
|
+
aria-valuenow=${this.position}
|
|
127
|
+
aria-valuemin="0"
|
|
128
|
+
aria-valuemax="100"
|
|
129
|
+
aria-controls="comparer"
|
|
130
|
+
tabindex="0"
|
|
131
|
+
>
|
|
132
|
+
<slot name="handle">
|
|
133
|
+
<pc-icon
|
|
134
|
+
library="system"
|
|
135
|
+
icon-style="solid"
|
|
136
|
+
name="grip-vertical"
|
|
137
|
+
></pc-icon>
|
|
138
|
+
</slot>
|
|
139
|
+
</div>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
`}};t.css=k,t.scopedElement={"pc-icon":b},o([n(".comparer")],t.prototype,"base",2),o([n(".handle")],t.prototype,"handle",2),o([m({type:Number,reflect:!0})],t.prototype,"position",2),o([h("position",{waitUntilFirstUpdate:!0})],t.prototype,"handlePositionChange",1),t=o([p("pc-comparer")],t);export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as r}from"./chunk.ZY64ASSW.js";var o={$code:"de",$name:"Deutsch",$dir:"ltr",carousel:"Karussell",clearEntry:"Eingabe l\xF6schen",close:"Schlie\xDFen",copied:"Kopiert!",copy:"Kopieren",currentValue:"Aktueller Wert",error:"Fehler",goToSlide:(e,l)=>`Gehe zu Folie ${e} von ${l}`,hidePassword:"Passwort verbergen",hue:"Farbton",loading:"Wird geladen\u202F\u2026",nextSlide:"N\xE4chste Folie",numOptionsSelected:e=>e===0?"Keine Optionen ausgew\xE4hlt":e===1?"Eine Option ausgew\xE4hlt":`${e} Optionen ausgew\xE4hlt`,opacity:"Deckkraft",pickAColorFromTheScreen:"Farbe vom Bildschirm ausw\xE4hlen",previousSlide:"Vorherige Folie",progress:"Fortschritt",remove:"Entfernen",resize:"Gr\xF6\xDFe \xE4ndern",scrollableRegion:"Scrollbarer Bereich",scrollToEnd:"Zum Ende scrollen",scrollToStart:"Zum Anfang scrollen",showPassword:"Passwort anzeigen",slideNum:e=>`Folie ${e}`,toggleColorFormat:"Farbformat wechseln"};r(o);var t=o;export{t as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var e=[{offset:0,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)",easing:"ease-out"},{offset:.4,transform:`perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
2
|
+
rotate3d(0, 1, 0, -190deg)`,easing:"ease-out"},{offset:.5,transform:`perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)
|
|
3
|
+
rotate3d(0, 1, 0, -170deg)`,easing:"ease-in"},{offset:.8,transform:`perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)
|
|
4
|
+
rotate3d(0, 1, 0, 0deg)`,easing:"ease-in"},{offset:1,transform:"perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)",easing:"ease-in"}];export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"1"},{offset:1,transform:"translate3d(-100%, 0, 0) skewX(-30deg)",opacity:"0"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"scale3d(1, 1, 1)"},{offset:.1,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.2,transform:"scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)"},{offset:.3,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.4,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.5,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.6,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.7,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:.8,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)"},{offset:.9,transform:"scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)"},{offset:1,transform:"scale3d(1, 1, 1)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:.2,opacity:"1",transform:"translate3d(-20px, 0, 0) scaleX(0.9)"},{offset:1,opacity:"0",transform:"translate3d(2000px, 0, 0) scaleX(2)"}];export{t as a};
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import{a as L}from"./chunk.JE6IZBGI.js";import{a as O}from"./chunk.63PFEC3G.js";import{f as T}from"./chunk.5YXXLUP2.js";import{a as H}from"./chunk.YUNTZWZZ.js";import{a as z}from"./chunk.W5PM7F34.js";import{a as $}from"./chunk.BSQP4EKW.js";import{a as f}from"./chunk.KKVT4LHX.js";import{a as b,d as v}from"./chunk.RZZMGXAZ.js";import{a as w,b as l,c as d,e as u,g as C}from"./chunk.NYYTSWQF.js";import{a as x}from"./chunk.OOQOIJSK.js";import{a as r}from"./chunk.U2DNK7H4.js";import{a as m}from"./chunk.H2EOXVSZ.js";import{a as E}from"./chunk.D5CFOPIE.js";import{c as I}from"./chunk.R2GXUKDX.js";import{a as g,c as y}from"./chunk.N5AZOOIZ.js";import{a as D}from"./chunk.E4QLFQIH.js";import{d as h}from"./chunk.2N5ZK4F4.js";import{b as k}from"./chunk.IIHX5LOR.js";import{b as a}from"./chunk.E6MOE4FE.js";var A=`:host {
|
|
2
|
+
--tag-max-size: 10ch;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host pc-tag {
|
|
6
|
+
border-radius: calc(
|
|
7
|
+
var(--pc-border-radius-m) -
|
|
8
|
+
(
|
|
9
|
+
var(--pc-form-control-height) * 0.1 -
|
|
10
|
+
var(--pc-form-control-border-width)
|
|
11
|
+
)
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([pill]) pc-tag {
|
|
16
|
+
border-radius: var(--pc-border-radius-pill);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host pc-tag::part(content) {
|
|
20
|
+
display: initial;
|
|
21
|
+
max-inline-size: var(--tag-max-size);
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host .disabled [part~="combobox"] {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
outline: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host .enabled:is(.open, :focus-within) [part~="combobox"] {
|
|
34
|
+
outline: var(--pc-focus-ring);
|
|
35
|
+
outline-offset: var(--pc-focus-ring-offset);
|
|
36
|
+
animation: focus-ring-animation var(--pc-transition-medium)
|
|
37
|
+
cubic-bezier(0.33, 1, 0.68, 1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.select {
|
|
41
|
+
display: inline-flex;
|
|
42
|
+
position: relative;
|
|
43
|
+
flex: 1 1 auto;
|
|
44
|
+
inline-size: 100%;
|
|
45
|
+
vertical-align: middle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.select::part(popup) {
|
|
49
|
+
z-index: 900;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.select[data-current-placement^="top"]::part(popup) {
|
|
53
|
+
transform-origin: bottom;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.select[data-current-placement^="bottom"]::part(popup) {
|
|
57
|
+
transform-origin: top;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.combobox {
|
|
61
|
+
display: flex;
|
|
62
|
+
position: relative;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: flex-start;
|
|
65
|
+
flex: 1;
|
|
66
|
+
min-inline-size: 0;
|
|
67
|
+
inline-size: 100%;
|
|
68
|
+
min-block-size: var(--pc-form-control-height);
|
|
69
|
+
padding: 0 var(--pc-form-control-padding-inline);
|
|
70
|
+
background-color: var(--pc-form-control-background-color);
|
|
71
|
+
border: var(--pc-form-control-border-width)
|
|
72
|
+
var(--pc-form-control-border-style) var(--pc-form-control-border-color);
|
|
73
|
+
border-radius: var(--pc-form-control-border-radius);
|
|
74
|
+
color: var(--pc-form-control-value-color);
|
|
75
|
+
font-family: inherit;
|
|
76
|
+
font-weight: var(--pc-form-control-value-font-weight);
|
|
77
|
+
line-height: var(--pc-form-control-value-line-height);
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
vertical-align: middle;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
transition: all var(--pc-transition-fast) ease-in-out;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (hover: hover) {
|
|
85
|
+
:host(:not([disabled])) .enabled:not(.open, :focus-within) .combobox:hover {
|
|
86
|
+
border-color: color-mix(
|
|
87
|
+
in oklab,
|
|
88
|
+
var(--pc-form-control-border-color),
|
|
89
|
+
var(--pc-color-mix-hover)
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:host([multiple]) .select:not(.placeholder-visible) .combobox {
|
|
95
|
+
padding-inline-start: 0;
|
|
96
|
+
padding-block: calc(
|
|
97
|
+
var(--pc-form-control-height) * 0.1 -
|
|
98
|
+
var(--pc-form-control-border-width)
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([filled]) .combobox {
|
|
103
|
+
background-color: var(--pc-color-neutral-fill-quiet);
|
|
104
|
+
border-color: var(--pc-color-neutral-fill-quiet);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@media (hover: hover) {
|
|
108
|
+
:host([filled]:not([disabled]))
|
|
109
|
+
.enabled:not(.open, :focus-within)
|
|
110
|
+
.combobox:hover {
|
|
111
|
+
background-color: color-mix(
|
|
112
|
+
in oklab,
|
|
113
|
+
var(--pc-color-neutral-fill-quiet),
|
|
114
|
+
var(--pc-color-mix-hover)
|
|
115
|
+
);
|
|
116
|
+
border-color: color-mix(
|
|
117
|
+
in oklab,
|
|
118
|
+
var(--pc-color-neutral-fill-quiet),
|
|
119
|
+
var(--pc-color-mix-hover)
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host([pill]) .combobox {
|
|
125
|
+
border-radius: var(--pc-border-radius-pill);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.display-input {
|
|
129
|
+
position: relative;
|
|
130
|
+
margin: 0;
|
|
131
|
+
padding: 0;
|
|
132
|
+
inline-size: 100%;
|
|
133
|
+
background: transparent;
|
|
134
|
+
color: var(--pc-form-control-value-color);
|
|
135
|
+
border: none;
|
|
136
|
+
outline: none;
|
|
137
|
+
font: inherit;
|
|
138
|
+
line-height: var(--pc-form-control-value-line-height);
|
|
139
|
+
overflow: hidden;
|
|
140
|
+
cursor: inherit;
|
|
141
|
+
-webkit-appearance: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.display-input:focus {
|
|
145
|
+
outline: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.display-input::placeholder {
|
|
149
|
+
color: var(--pc-form-control-placeholder-color);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
:host([multiple]) .select:not(.placeholder-visible) .display-input {
|
|
153
|
+
position: absolute;
|
|
154
|
+
inset-block-start: 0;
|
|
155
|
+
inset-inline-start: 0;
|
|
156
|
+
inline-size: 100%;
|
|
157
|
+
block-size: 100%;
|
|
158
|
+
opacity: 0;
|
|
159
|
+
z-index: -1;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.value-input {
|
|
163
|
+
position: absolute;
|
|
164
|
+
inset-block-start: 0;
|
|
165
|
+
inset-inline-start: 0;
|
|
166
|
+
margin: 0;
|
|
167
|
+
padding: 0;
|
|
168
|
+
inline-size: 100%;
|
|
169
|
+
block-size: 100%;
|
|
170
|
+
opacity: 0;
|
|
171
|
+
z-index: -1;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.tags {
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
flex: 1;
|
|
178
|
+
flex-wrap: wrap;
|
|
179
|
+
margin-inline-start: calc(
|
|
180
|
+
var(--pc-form-control-height) * 0.1 -
|
|
181
|
+
var(--pc-form-control-border-width)
|
|
182
|
+
);
|
|
183
|
+
gap: 0.25em;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.tags::slotted(pc-tag) {
|
|
187
|
+
cursor: pointer !important;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.disabled .tags,
|
|
191
|
+
.disabled .tags::slotted(pc-tag) {
|
|
192
|
+
cursor: not-allowed !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.prefix,
|
|
196
|
+
.suffix {
|
|
197
|
+
display: inline-flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
flex: 0 0 auto;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.prefix::slotted(pc-icon),
|
|
203
|
+
.suffix::slotted(pc-icon) {
|
|
204
|
+
color: var(--pc-color-neutral-on-quiet);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.prefix::slotted(*) {
|
|
208
|
+
margin-inline-end: var(--pc-form-control-padding-inline);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.suffix::slotted(*) {
|
|
212
|
+
margin-inline-start: var(--pc-form-control-padding-inline);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:host([multiple]) .prefix::slotted(*) {
|
|
216
|
+
margin-inline: var(--pc-form-control-padding-inline);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[part~="clear-button"] {
|
|
220
|
+
display: inline-flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
justify-content: center;
|
|
223
|
+
margin-inline-start: var(--pc-form-control-padding-inline);
|
|
224
|
+
padding: 0;
|
|
225
|
+
border: none;
|
|
226
|
+
background: transparent;
|
|
227
|
+
color: var(--pc-color-neutral-on-quiet);
|
|
228
|
+
font-size: inherit;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
transition: color var(--pc-transition-fast) ease-in-out;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
[part~="clear-button"]:focus {
|
|
234
|
+
outline: none;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (hover: hover) {
|
|
238
|
+
[part~="clear-button"]:hover {
|
|
239
|
+
color: color-mix(
|
|
240
|
+
in oklab,
|
|
241
|
+
var(--pc-color-neutral-on-quiet),
|
|
242
|
+
var(--pc-color-mix-hover)
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
[part~="clear-button"]:active {
|
|
248
|
+
color: color-mix(
|
|
249
|
+
in oklab,
|
|
250
|
+
var(--pc-color-neutral-on-quiet),
|
|
251
|
+
var(--pc-color-mix-active)
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.expand-icon {
|
|
256
|
+
display: flex;
|
|
257
|
+
align-items: center;
|
|
258
|
+
flex: 0 0 auto;
|
|
259
|
+
color: var(--pc-color-neutral-on-quiet);
|
|
260
|
+
rotate: 0;
|
|
261
|
+
margin-inline-start: var(--pc-form-control-padding-inline);
|
|
262
|
+
transition: rotate var(--pc-transition-fast) ease-in-out;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.open .expand-icon {
|
|
266
|
+
rotate: -180deg;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.listbox {
|
|
270
|
+
display: block;
|
|
271
|
+
position: relative;
|
|
272
|
+
font: inherit;
|
|
273
|
+
background-color: var(--pc-color-surface-raised);
|
|
274
|
+
border: none;
|
|
275
|
+
border-radius: calc(var(--pc-border-radius-m) + 0.25rem);
|
|
276
|
+
padding: var(--pc-spacing-xs);
|
|
277
|
+
max-inline-size: var(--auto-size-available-width);
|
|
278
|
+
max-block-size: var(--auto-size-available-height);
|
|
279
|
+
overflow: auto;
|
|
280
|
+
box-shadow: var(--pc-shadow-l);
|
|
281
|
+
overscroll-behavior: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.listbox ::slotted(pc-divider) {
|
|
285
|
+
--spacing: 0.25em;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
slot:not([name])::slotted(small) {
|
|
289
|
+
display: block;
|
|
290
|
+
font-size: var(--pc-font-size-smaller);
|
|
291
|
+
font-weight: var(--pc-font-weight-semibold);
|
|
292
|
+
color: var(--pc-color-text-quiet);
|
|
293
|
+
padding-block: 0.5em;
|
|
294
|
+
padding-inline-start: 2em;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
@keyframes focus-ring-animation {
|
|
298
|
+
0% {
|
|
299
|
+
outline-width: 0;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
50% {
|
|
303
|
+
outline-width: calc(var(--pc-focus-ring-width) * 2);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
100% {
|
|
307
|
+
outline-width: var(--pc-focus-ring-width);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
`;g("select.show",{keyframes:[{offset:0,opacity:0,transform:"scaleY(0.35) scaleX(0.95) translateY(-10px) rotate(1deg)"},{offset:.25,opacity:1,transform:"scaleY(1.03) scaleX(1.005) translateY(2px) rotate(-0.5deg)"},{offset:.5,transform:"scaleY(0.995) scaleX(0.999) translateY(-0.5px) rotate(0.1deg)"},{offset:.75,transform:"scaleY(1.002) scaleX(1.0005) translateY(0.2px) rotate(-0.05deg)"},{offset:1,opacity:1,transform:"scaleY(1) scaleX(1) translateY(0) rotate(0deg)"}],options:{duration:1e3,easing:"cubic-bezier(0.2, 0.8, 0.2, 1)",fill:"forwards"}});g("select.hide",{keyframes:[{offset:0,opacity:1,transform:"scaleY(1) scaleX(1) translateY(0) rotate(0deg)"},{offset:.15,transform:"scaleY(1.005) scaleX(1.001) translateY(0.5px) rotate(-0.002deg)"},{offset:.4,transform:"scaleY(0.99) scaleX(0.998) translateY(-1px) rotate(0.008deg)"},{offset:.75,transform:"scaleY(0.6) scaleX(0.9) translateY(10px) rotate(0.007deg)"},{offset:1,opacity:0,transform:"scaleY(0.3) scaleX(0.8) translateY(25px) rotate(0.01deg)"}],options:{duration:400,easing:"cubic-bezier(0.6, 0.05, 0.8, 0.2)",fill:"forwards"}});var i=class extends C{constructor(){super(...arguments);this.formControlController=new k(this,{assumeInteractionOn:["pc-blur","pc-input"]});this.hasSlotController=new E(this,"label","hint");this.localize=new D(this);this.typeToSelectString="";this.hasFocus=!1;this.displayLabel="";this.selectedOptions=[];this.valueHasChanged=!1;this.name="";this._value="";this.defaultValue="";this.size="medium";this.placeholder="";this.multiple=!1;this.maxOptionsVisible=3;this.disabled=!1;this.clearable=!1;this.open=!1;this.filled=!1;this.pill=!1;this.label="";this.placement="bottom";this.hint="";this.form="";this.required=!1;this.getTag=t=>h`
|
|
311
|
+
<pc-tag
|
|
312
|
+
part="tag"
|
|
313
|
+
size=${this.size}
|
|
314
|
+
?pill=${this.pill}
|
|
315
|
+
removable
|
|
316
|
+
@pc-remove=${e=>this.handleTagRemove(e,t)}
|
|
317
|
+
exportparts="
|
|
318
|
+
base:tag-base,
|
|
319
|
+
content:tag-content,
|
|
320
|
+
remove-button:tag-remove-button,
|
|
321
|
+
remove-button-base:tag-remove-button-base
|
|
322
|
+
"
|
|
323
|
+
>
|
|
324
|
+
${t.getTextLabel()}
|
|
325
|
+
</pc-tag>
|
|
326
|
+
`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let e=t.target,o=e.closest('[part~="clear-button"]')!==null,s=e.closest("pc-button")!==null;if(!(o||s)){if(t.key==="Escape"&&this.open&&!this.closeWatcher&&(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})),t.key==="Enter"||t.key===" "&&this.typeToSelectString===""){if(t.preventDefault(),t.stopImmediatePropagation(),!this.open){this.show();return}this.currentOption&&!this.currentOption.disabled&&(this.valueHasChanged=!0,this.multiple?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{r(this,"pc-input"),r(this,"pc-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})));return}if(["ArrowUp","ArrowDown","Home","End"].includes(t.key)){let n=this.getAllOptions(),c=n.indexOf(this.currentOption),p=Math.max(0,c);if(t.preventDefault(),!this.open&&(this.show(),this.currentOption))return;t.key==="ArrowDown"?(p=c+1,p>n.length-1&&(p=0)):t.key==="ArrowUp"?(p=c-1,p<0&&(p=n.length-1)):t.key==="Home"?p=0:t.key==="End"&&(p=n.length-1),this.setCurrentOption(n[p])}if(t.key&&t.key.length===1||t.key==="Backspace"){let n=this.getAllOptions();if(t.metaKey||t.ctrlKey||t.altKey)return;if(!this.open){if(t.key==="Backspace")return;this.show()}t.stopPropagation(),t.preventDefault(),clearTimeout(this.typeToSelectTimeout),this.typeToSelectTimeout=window.setTimeout(()=>{this.typeToSelectString=""},1e3),t.key==="Backspace"?this.typeToSelectString=this.typeToSelectString.slice(0,-1):this.typeToSelectString+=t.key.toLowerCase();for(let c of n)if(c.getTextLabel().toLowerCase().startsWith(this.typeToSelectString)){this.setCurrentOption(c);break}}}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}get value(){return this._value}set value(t){this.multiple?t=Array.isArray(t)?t:t.split(" "):t=Array.isArray(t)?t.join(" "):t,this._value!==t&&(this.valueHasChanged=!0,this._value=t)}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.handleDefaultSlotChange()}),this.open=!1}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn),"CloseWatcher"in window&&(this.closeWatcher?.destroy(),this.closeWatcher=new CloseWatcher,this.closeWatcher.onclose=()=>{this.open&&(this.hide(),this.displayInput.focus({preventScroll:!0}))})}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn),this.closeWatcher?.destroy()}handleFocus(){this.hasFocus=!0,this.displayInput.setSelectionRange(0,0),r(this,"pc-focus")}handleBlur(){this.hasFocus=!1,r(this,"pc-blur")}handleLabelClick(){this.displayInput.focus()}handleComboboxMouseDown(t){let o=t.composedPath().some(s=>s instanceof Element&&s.tagName.toLowerCase()==="pc-button");this.disabled||o||(t.preventDefault(),this.displayInput.focus({preventScroll:!0}),this.open=!this.open)}handleComboboxKeyDown(t){t.key!=="Tab"&&(t.stopPropagation(),this.handleDocumentKeyDown(t))}handleClearClick(t){t.stopPropagation(),this.valueHasChanged=!0,this.value!==""&&(this.setSelectedOptions([]),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{r(this,"pc-clear"),r(this,"pc-input"),r(this,"pc-change")}))}handleClearMouseDown(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let o=t.target.closest("pc-option"),s=this.value;o&&!o.disabled&&(this.valueHasChanged=!0,this.multiple?this.toggleOptionSelection(o):this.setSelectedOptions(o),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})),this.value!==s&&this.updateComplete.then(()=>{r(this,"pc-input"),r(this,"pc-change")}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}handleDefaultSlotChange(){customElements.get("pc-option")||customElements.whenDefined("pc-option").then(()=>this.handleDefaultSlotChange());let t=this.getAllOptions(),e=this.valueHasChanged?this.value:this.defaultValue,o=Array.isArray(e)?e:[e],s=[];t.forEach(n=>s.push(n.value)),this.setSelectedOptions(t.filter(n=>o.includes(n.value)))}handleTagRemove(t,e){t.stopPropagation(),this.valueHasChanged=!0,this.disabled||(this.toggleOptionSelection(e,!1),this.updateComplete.then(()=>{r(this,"pc-input"),r(this,"pc-change")}))}getAllOptions(){return[...this.querySelectorAll("pc-option")]}getFirstOption(){return this.querySelector("pc-option")}setCurrentOption(t){this.getAllOptions().forEach(o=>{o.current=!1,o.tabIndex=-1}),t&&(this.currentOption=t,t.current=!0,t.tabIndex=0,t.focus())}setSelectedOptions(t){let e=this.getAllOptions(),o=Array.isArray(t)?t:[t];e.forEach(s=>s.selected=!1),o.length&&o.forEach(s=>s.selected=!0),this.selectionChanged()}toggleOptionSelection(t,e){e===!0||e===!1?t.selected=e:t.selected=!t.selected,this.selectionChanged()}selectionChanged(){let t=this.getAllOptions();this.selectedOptions=t.filter(o=>o.selected);let e=this.valueHasChanged;if(this.multiple)this.value=this.selectedOptions.map(o=>o.value),this.placeholder&&this.value.length===0?this.displayLabel="":this.displayLabel=this.localize.term("numOptionsSelected",this.selectedOptions.length);else{let o=this.selectedOptions[0];this.value=o?.value??"",this.displayLabel=o?.getTextLabel?.()??""}this.valueHasChanged=e,this.updateComplete.then(()=>{this.formControlController.updateValidity()})}get tags(){return this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let o=this.getTag(t,e);return h`
|
|
327
|
+
<div
|
|
328
|
+
@pc-remove=${s=>this.handleTagRemove(s,t)}
|
|
329
|
+
>
|
|
330
|
+
${typeof o=="string"?L(o):o}
|
|
331
|
+
</div>
|
|
332
|
+
`}else if(e===this.maxOptionsVisible)return h`
|
|
333
|
+
<pc-tag size=${this.size}>
|
|
334
|
+
+${this.selectedOptions.length-e}
|
|
335
|
+
</pc-tag>
|
|
336
|
+
`;return h``})}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleDisabledChange(){this.disabled&&(this.open=!1,this.handleOpenChange())}attributeChangedCallback(t,e,o){if(super.attributeChangedCallback(t,e,o),t==="value"){let s=this.valueHasChanged;this.value=this.defaultValue,this.valueHasChanged=s}}handleValueChange(){if(!this.valueHasChanged){let o=this.valueHasChanged;this.value=this.defaultValue,this.valueHasChanged=o}let t=this.getAllOptions(),e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(t.filter(o=>e.includes(o.value)))}async handleOpenChange(){if(this.open&&!this.disabled){this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption()),r(this,"pc-show"),this.addOpenListeners(),await v(this),this.listbox.hidden=!1,this.popup.active=!0,requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)});let{keyframes:t,options:e}=y(this,"select.show",{dir:this.localize.dir()});await b(this.popup.popup,t,e),this.currentOption&&I(this.currentOption,this.listbox,"vertical","auto"),r(this,"pc-after-show")}else{r(this,"pc-hide"),this.removeOpenListeners(),await v(this);let{keyframes:t,options:e}=y(this,"select.hide",{dir:this.localize.dir()});await b(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,r(this,"pc-after-hide")}}async show(){if(this.open||this.disabled){this.open=!1;return}return this.open=!0,x(this,"pc-after-show")}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.open=!1,x(this,"pc-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}render(){let t=this.hasSlotController.test("label"),e=this.hasSlotController.test("hint"),o=this.label?!0:!!t,s=this.hint?!0:!!e,n=this.clearable&&!this.disabled&&this.value.length>0,c=this.placeholder&&this.value&&this.value.length<=0;return h`
|
|
337
|
+
<div
|
|
338
|
+
part="form-control"
|
|
339
|
+
class=${f({"form-control":!0,"form-control-has-label":o})}
|
|
340
|
+
>
|
|
341
|
+
<label
|
|
342
|
+
part="label"
|
|
343
|
+
class="label"
|
|
344
|
+
id="label"
|
|
345
|
+
aria-hidden=${o?"false":"true"}
|
|
346
|
+
@click=${this.handleLabelClick}
|
|
347
|
+
>
|
|
348
|
+
<slot name="label">${this.label}</slot>
|
|
349
|
+
</label>
|
|
350
|
+
|
|
351
|
+
<div part="input" class="form-control-input">
|
|
352
|
+
<pc-popup
|
|
353
|
+
class=${f({select:!0,open:this.open,disabled:this.disabled,enabled:!this.disabled,multiple:this.multiple,"placeholder-visible":c})}
|
|
354
|
+
placement=${this.placement}
|
|
355
|
+
sync="width"
|
|
356
|
+
auto-size="vertical"
|
|
357
|
+
auto-size-padding="10"
|
|
358
|
+
shift
|
|
359
|
+
flip
|
|
360
|
+
>
|
|
361
|
+
<div
|
|
362
|
+
part="combobox"
|
|
363
|
+
class="combobox"
|
|
364
|
+
slot="anchor"
|
|
365
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
366
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
367
|
+
>
|
|
368
|
+
<slot
|
|
369
|
+
class="prefix"
|
|
370
|
+
part="prefix"
|
|
371
|
+
name="prefix"
|
|
372
|
+
></slot>
|
|
373
|
+
|
|
374
|
+
<input
|
|
375
|
+
part="display-input"
|
|
376
|
+
class="display-input"
|
|
377
|
+
type="text"
|
|
378
|
+
role="combobox"
|
|
379
|
+
placeholder=${this.placeholder}
|
|
380
|
+
.disabled=${this.disabled}
|
|
381
|
+
.value=${this.displayLabel}
|
|
382
|
+
autocomplete="off"
|
|
383
|
+
spellcheck="false"
|
|
384
|
+
autocapitalize="off"
|
|
385
|
+
aria-controls="listbox"
|
|
386
|
+
aria-expanded=${this.open?"true":"false"}
|
|
387
|
+
aria-haspopup="listbox"
|
|
388
|
+
aria-labelledby="label"
|
|
389
|
+
aria-disabled=${this.disabled?"true":"false"}
|
|
390
|
+
aria-describedby="hint"
|
|
391
|
+
tabindex="0"
|
|
392
|
+
readonly
|
|
393
|
+
@focus=${this.handleFocus}
|
|
394
|
+
@blur=${this.handleBlur}
|
|
395
|
+
/>
|
|
396
|
+
|
|
397
|
+
${this.multiple?h`
|
|
398
|
+
<div part="tags" class="tags">
|
|
399
|
+
${this.tags}
|
|
400
|
+
</div>
|
|
401
|
+
`:""}
|
|
402
|
+
|
|
403
|
+
<input
|
|
404
|
+
class="value-input"
|
|
405
|
+
type="text"
|
|
406
|
+
?disabled=${this.disabled}
|
|
407
|
+
?required=${this.required}
|
|
408
|
+
.value=${Array.isArray(this.value)?this.value.join(", "):this.value}
|
|
409
|
+
tabindex="-1"
|
|
410
|
+
aria-hidden="true"
|
|
411
|
+
@focus=${()=>this.focus()}
|
|
412
|
+
@invalid=${this.handleInvalid}
|
|
413
|
+
/>
|
|
414
|
+
|
|
415
|
+
${n?h`
|
|
416
|
+
<button
|
|
417
|
+
part="clear-button"
|
|
418
|
+
type="button"
|
|
419
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
420
|
+
@click=${this.handleClearClick}
|
|
421
|
+
@mousedown=${this.handleClearMouseDown}
|
|
422
|
+
tabindex="-1"
|
|
423
|
+
>
|
|
424
|
+
<slot name="clear-icon">
|
|
425
|
+
<pc-icon
|
|
426
|
+
library="system"
|
|
427
|
+
icon-style="regular"
|
|
428
|
+
name="circle-xmark"
|
|
429
|
+
></pc-icon>
|
|
430
|
+
</slot>
|
|
431
|
+
</button>
|
|
432
|
+
`:""}
|
|
433
|
+
|
|
434
|
+
<slot
|
|
435
|
+
class="suffix"
|
|
436
|
+
part="suffix"
|
|
437
|
+
name="suffix"
|
|
438
|
+
></slot>
|
|
439
|
+
|
|
440
|
+
<slot
|
|
441
|
+
class="expand-icon"
|
|
442
|
+
part="expand-icon"
|
|
443
|
+
name="expand-icon"
|
|
444
|
+
>
|
|
445
|
+
<pc-icon
|
|
446
|
+
library="system"
|
|
447
|
+
icon-style="solid"
|
|
448
|
+
name="chevron-down"
|
|
449
|
+
></pc-icon>
|
|
450
|
+
</slot>
|
|
451
|
+
</div>
|
|
452
|
+
|
|
453
|
+
<div
|
|
454
|
+
part="listbox"
|
|
455
|
+
class="listbox"
|
|
456
|
+
id="listbox"
|
|
457
|
+
role="listbox"
|
|
458
|
+
aria-expanded=${this.open?"true":"false"}
|
|
459
|
+
aria-multiselectable=${this.multiple?"true":"false"}
|
|
460
|
+
aria-labelledby="label"
|
|
461
|
+
tabindex="-1"
|
|
462
|
+
@mouseup=${this.handleOptionClick}
|
|
463
|
+
>
|
|
464
|
+
<slot
|
|
465
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
466
|
+
></slot>
|
|
467
|
+
</div>
|
|
468
|
+
</pc-popup>
|
|
469
|
+
|
|
470
|
+
<slot
|
|
471
|
+
part="hint"
|
|
472
|
+
class=${f({"has-hint":s})}
|
|
473
|
+
name="hint"
|
|
474
|
+
id="hint"
|
|
475
|
+
aria-hidden=${s?"false":"true"}
|
|
476
|
+
>
|
|
477
|
+
${this.hint}
|
|
478
|
+
</slot>
|
|
479
|
+
</div>
|
|
480
|
+
</div>
|
|
481
|
+
`}};i.css=[z,$,A],i.dependencies={"pc-icon":O,"pc-popup":T,"pc-tag":H},a([u(".select")],i.prototype,"popup",2),a([u(".combobox")],i.prototype,"combobox",2),a([u(".display-input")],i.prototype,"displayInput",2),a([u(".value-input")],i.prototype,"valueInput",2),a([u(".listbox")],i.prototype,"listbox",2),a([d()],i.prototype,"hasFocus",2),a([d()],i.prototype,"displayLabel",2),a([d()],i.prototype,"currentOption",2),a([d()],i.prototype,"selectedOptions",2),a([d()],i.prototype,"valueHasChanged",2),a([l()],i.prototype,"name",2),a([l({attribute:"value"})],i.prototype,"defaultValue",2),a([l({reflect:!0})],i.prototype,"size",2),a([l()],i.prototype,"placeholder",2),a([l({type:Boolean,reflect:!0})],i.prototype,"multiple",2),a([l({attribute:"max-options-visible",type:Number})],i.prototype,"maxOptionsVisible",2),a([l({type:Boolean,reflect:!0})],i.prototype,"disabled",2),a([l({type:Boolean})],i.prototype,"clearable",2),a([l({type:Boolean,reflect:!0})],i.prototype,"open",2),a([l({type:Boolean,reflect:!0})],i.prototype,"filled",2),a([l({type:Boolean,reflect:!0})],i.prototype,"pill",2),a([l()],i.prototype,"label",2),a([l({reflect:!0})],i.prototype,"placement",2),a([l()],i.prototype,"hint",2),a([l({reflect:!0})],i.prototype,"form",2),a([l({type:Boolean,reflect:!0})],i.prototype,"required",2),a([l()],i.prototype,"getTag",2),a([d()],i.prototype,"value",1),a([m("disabled",{waitUntilFirstUpdate:!0})],i.prototype,"handleDisabledChange",1),a([m(["defaultValue","value"],{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),a([m("open",{waitUntilFirstUpdate:!0})],i.prototype,"handleOpenChange",1),i=a([w("pc-select")],i);export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[{offset:0,transform:"translate3d(0, 0, 0)"},{offset:.111,transform:"translate3d(0, 0, 0)"},{offset:.222,transform:"skewX(-12.5deg) skewY(-12.5deg)"},{offset:.33299999999999996,transform:"skewX(6.25deg) skewY(6.25deg)"},{offset:.444,transform:"skewX(-3.125deg) skewY(-3.125deg)"},{offset:.555,transform:"skewX(1.5625deg) skewY(1.5625deg)"},{offset:.6659999999999999,transform:"skewX(-0.78125deg) skewY(-0.78125deg)"},{offset:.777,transform:"skewX(0.390625deg) skewY(0.390625deg)"},{offset:.888,transform:"skewX(-0.1953125deg) skewY(-0.1953125deg)"},{offset:1,transform:"translate3d(0, 0, 0)"}];export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,opacity:"0",transform:"translate3d(100%, 100%, 0)"},{offset:1,opacity:"1",transform:"translate3d(0, 0, 0)"}];export{t as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i(n,o,s){let{detail:a,cancelable:e,...c}=s||{},t=new CustomEvent(o,{bubbles:!0,cancelable:e!==void 0?e:!1,composed:!0,detail:a,...c});return n.dispatchEvent(t),t}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var t=[{offset:0,transform:"scale(1)",opacity:"1"},{offset:.2,transform:"translateY(0px) scale(0.7)",opacity:"0.7"},{offset:1,transform:"translateY(-700px) scale(0.7)",opacity:"0.7"}];export{t as a};
|