@kdcloudjs/shoelace 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/chunks/chunk.OFVB4KAZ.js → cdn/chunks/chunk.23WX4IIK.js} +1 -1
- package/cdn/chunks/{chunk.TPCBDU3P.js → chunk.3ROPEJ6A.js} +1 -1
- package/cdn/chunks/{chunk.I2VIRKGU.js → chunk.3ZKAIQC3.js} +6 -6
- package/cdn/chunks/{chunk.74WFQGMH.js → chunk.4M63ZPLF.js} +2 -1
- package/cdn/chunks/{chunk.JGAD2NAP.js → chunk.4OO66AUH.js} +1 -1
- package/cdn/chunks/{chunk.QVGQMXSJ.js → chunk.4S76P34M.js} +1 -1
- package/cdn/chunks/{chunk.FCH7L4DJ.js → chunk.5IST66LN.js} +1 -1
- package/{dist/chunks/chunk.OZRMOJDP.js → cdn/chunks/chunk.5VRD66ML.js} +1 -1
- package/{dist/chunks/chunk.GASEXX4D.js → cdn/chunks/chunk.7GZEZ2Y5.js} +1 -1
- package/cdn/chunks/{chunk.L23JWZXF.js → chunk.BWF6NN7L.js} +4 -4
- package/cdn/chunks/{chunk.5EVZQYMV.js → chunk.BXTUASYQ.js} +1 -1
- package/cdn/chunks/{chunk.O7A3KDKU.js → chunk.D36AO6T3.js} +1 -1
- package/cdn/chunks/{chunk.LODLV2NS.js → chunk.DKPXHODS.js} +1 -1
- package/{dist/chunks/chunk.KQBYJ4UO.js → cdn/chunks/chunk.DRGDUTKF.js} +1 -1
- package/cdn/chunks/{chunk.KRJ56QFY.js → chunk.EJFHWZ3C.js} +1 -1
- package/cdn/chunks/{chunk.OIJXPVJT.js → chunk.ELRVTLCB.js} +1 -1
- package/{dist/chunks/chunk.KD3GIHSB.js → cdn/chunks/chunk.EN2D7JQA.js} +1 -1
- package/cdn/chunks/{chunk.PPMK7HQH.js → chunk.EXK5T256.js} +1 -1
- package/cdn/chunks/{chunk.RIKP3Z5U.js → chunk.FBR4Q63N.js} +1 -1
- package/cdn/chunks/{chunk.HL7H3M6B.js → chunk.FEW45SGJ.js} +1 -1
- package/cdn/chunks/{chunk.K2F3BCM7.js → chunk.GCDL523E.js} +4 -4
- package/cdn/chunks/{chunk.WTYJ6D3G.js → chunk.GETMDTK6.js} +1 -1
- package/cdn/chunks/{chunk.WKXHY77X.js → chunk.GO57DLFX.js} +2 -2
- package/cdn/chunks/{chunk.IIJPIX4C.js → chunk.HP5EQBJI.js} +10 -10
- package/cdn/chunks/{chunk.KA5JBMLK.js → chunk.IXXY6EMT.js} +2 -2
- package/cdn/chunks/{chunk.HZLF6TXJ.js → chunk.JFJGWT5X.js} +1 -1
- package/cdn/chunks/{chunk.V6SSDIDU.js → chunk.JVMLLWDE.js} +1 -1
- package/cdn/chunks/{chunk.C2YJADJR.js → chunk.JYAK756K.js} +1 -1
- package/{dist/chunks/chunk.JO4UZZVN.js → cdn/chunks/chunk.KBJCVKVV.js} +1 -1
- package/cdn/chunks/{chunk.RMEE3P3T.js → chunk.KEVRKCI3.js} +1 -1
- package/cdn/chunks/{chunk.JT56MIJ4.js → chunk.KWYJUC6D.js} +4 -4
- package/{dist/chunks/chunk.UVASQIHI.js → cdn/chunks/chunk.L636OJ7W.js} +1 -1
- package/cdn/chunks/{chunk.55VMUAMC.js → chunk.L7ESWREN.js} +1 -1
- package/cdn/chunks/{chunk.FOUHO4EI.js → chunk.LHJA5GEJ.js} +4 -4
- package/cdn/chunks/{chunk.K35KM3AY.js → chunk.LIHFS4YL.js} +5 -5
- package/cdn/chunks/{chunk.LAR5NV4G.js → chunk.LOTHJHHC.js} +1 -1
- package/cdn/chunks/{chunk.NJFCHXN5.js → chunk.M564KY5J.js} +1 -1
- package/cdn/chunks/{chunk.PJ4QDGB7.js → chunk.MCVJD4TI.js} +1 -1
- package/cdn/chunks/{chunk.ZGMXI5IW.js → chunk.MKWDM3XY.js} +1 -1
- package/{dist/chunks/chunk.ZWPCQY7U.js → cdn/chunks/chunk.MUIYRTUD.js} +1 -1
- package/{dist/chunks/chunk.B4HPN34J.js → cdn/chunks/chunk.N5UQGXF5.js} +1 -1
- package/cdn/chunks/{chunk.IVT5REKM.js → chunk.NLD3CJ2O.js} +1 -1
- package/cdn/chunks/{chunk.PJG46NM4.js → chunk.NNBPVQ3D.js} +1 -1
- package/cdn/chunks/{chunk.UDV3OXUL.js → chunk.NNEFB3JX.js} +1 -1
- package/cdn/chunks/{chunk.SRYTXUFA.js → chunk.NSDCQFXI.js} +1 -1
- package/cdn/chunks/{chunk.YCIA2527.js → chunk.OELR5RX6.js} +1 -1
- package/cdn/chunks/{chunk.WUYRDSRQ.js → chunk.P6BV3EX3.js} +1 -1
- package/cdn/chunks/{chunk.FKNGB7NW.js → chunk.P7GNMMSW.js} +1 -1
- package/cdn/chunks/{chunk.XPQFTFKI.js → chunk.PJYXONJJ.js} +1 -1
- package/{dist/chunks/chunk.WMLA5253.js → cdn/chunks/chunk.Q6XHH6QC.js} +1 -1
- package/{dist/chunks/chunk.7MRKDH2Y.js → cdn/chunks/chunk.QD43L3QY.js} +1 -1
- package/cdn/chunks/{chunk.VKDJTD6U.js → chunk.QT5V3QPK.js} +1 -1
- package/{dist/chunks/chunk.G2JAPLRH.js → cdn/chunks/chunk.R4NWL2KS.js} +1 -1
- package/cdn/chunks/{chunk.YDZ5OX4I.js → chunk.R6JWTZZK.js} +1 -1
- package/cdn/chunks/{chunk.SHVWPOHD.js → chunk.RCCQJPZS.js} +1 -1
- package/{dist/chunks/chunk.3GEIQ7YN.js → cdn/chunks/chunk.RTPVXMFH.js} +1 -1
- package/cdn/chunks/{chunk.WFOA4JCE.js → chunk.RVTVMACR.js} +1 -1
- package/cdn/chunks/{chunk.VYLWXLHM.js → chunk.SO4NNE4G.js} +1 -1
- package/cdn/chunks/{chunk.H2UW64J2.js → chunk.TAV4D7VV.js} +1 -1
- package/cdn/chunks/{chunk.ECAQDARE.js → chunk.TDVD67IW.js} +1 -1
- package/cdn/chunks/{chunk.VQ7Q6EDW.js → chunk.TE7YSKAA.js} +1 -1
- package/cdn/chunks/{chunk.ZA77RJ5F.js → chunk.TNKASOE5.js} +1 -1
- package/cdn/chunks/{chunk.6UM6FC4K.js → chunk.TSM6P6WK.js} +1 -1
- package/cdn/chunks/{chunk.GRUXSLFM.js → chunk.U3EP43KI.js} +1 -1
- package/{dist/chunks/chunk.RSZTIROJ.js → cdn/chunks/chunk.UFGMX3XH.js} +1 -1
- package/cdn/chunks/{chunk.PEHKG2LH.js → chunk.WRCIQWGB.js} +1 -1
- package/cdn/chunks/{chunk.7LIKXAS7.js → chunk.WUCNRQR2.js} +1 -1
- package/cdn/chunks/{chunk.EMNG5BUV.js → chunk.WWQQYRTC.js} +6 -6
- package/cdn/chunks/{chunk.CV4KXOED.js → chunk.XB6H2JAW.js} +4 -4
- package/cdn/chunks/{chunk.SPEZ4SVZ.js → chunk.XCQWFE6U.js} +1 -1
- package/cdn/chunks/{chunk.RAJGP56K.js → chunk.XEJLVA7W.js} +1 -1
- package/cdn/chunks/{chunk.I3CHFQIU.js → chunk.YFUVB5JK.js} +1 -1
- package/cdn/chunks/{chunk.A6JN67Y5.js → chunk.YSD4CRJR.js} +3 -3
- package/cdn/chunks/{chunk.ERKC472U.js → chunk.YWJXPHLW.js} +1 -1
- package/cdn/chunks/{chunk.4EZCWDFF.js → chunk.YX664DDU.js} +4 -4
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/button/button.component.js +4 -4
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/calendar/calendar.component.js +6 -6
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/carousel/carousel.component.js +4 -4
- package/cdn/components/carousel/carousel.js +5 -5
- package/cdn/components/checkbox/checkbox.component.js +2 -2
- package/cdn/components/checkbox/checkbox.js +3 -3
- package/cdn/components/color-picker/color-picker.component.js +10 -10
- package/cdn/components/color-picker/color-picker.js +11 -11
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/date-panel/date-panel.component.js +8 -8
- package/cdn/components/date-panel/date-panel.js +8 -8
- package/cdn/components/datepicker/datepicker.component.js +11 -11
- package/cdn/components/datepicker/datepicker.js +11 -11
- package/cdn/components/details/details.component.js +3 -3
- package/cdn/components/details/details.js +4 -4
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/input/input.component.js +4 -4
- package/cdn/components/input/input.js +5 -5
- package/cdn/components/menu-item/menu-item.component.js +5 -5
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
- package/cdn/components/nav-submenu/nav-submenu.js +5 -5
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/custom-select.js +7 -7
- package/cdn/components/pagination/pagination.component.js +7 -7
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popup/popup.component.js +3 -3
- package/cdn/components/popup/popup.js +4 -4
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +3 -3
- package/cdn/components/rating/rating.js +4 -4
- package/cdn/components/select/select.component.js +6 -6
- package/cdn/components/select/select.js +7 -7
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +4 -4
- package/cdn/components/tab-group/tab-group.js +5 -5
- package/cdn/components/table/head-table.js +15 -15
- package/cdn/components/table/table.component.js +18 -18
- package/cdn/components/table/table.js +19 -19
- package/cdn/components/tag/tag.component.js +4 -4
- package/cdn/components/tag/tag.js +5 -5
- package/cdn/components/time-panel/time-panel.component.js +5 -5
- package/cdn/components/time-panel/time-panel.js +5 -5
- package/cdn/components/timepicker/timepicker.component.js +11 -11
- package/cdn/components/timepicker/timepicker.js +11 -11
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tree/tree.component.js +8 -8
- package/cdn/components/tree/tree.js +9 -9
- package/cdn/components/tree-item/tree-item.component.js +6 -6
- package/cdn/components/tree-item/tree-item.js +7 -7
- package/cdn/custom-elements.json +3229 -3229
- package/cdn/react/alert/index.js +5 -5
- package/cdn/react/button/index.js +5 -5
- package/cdn/react/carousel/index.js +5 -5
- package/cdn/react/checkbox/index.js +3 -3
- package/cdn/react/color-picker/index.js +11 -11
- package/cdn/react/copy-button/index.js +6 -6
- package/cdn/react/date-panel/index.js +9 -9
- package/cdn/react/datepicker/index.js +12 -12
- package/cdn/react/details/index.js +4 -4
- package/cdn/react/dialog/index.js +5 -5
- package/cdn/react/drawer/index.js +5 -5
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/index.js +129 -129
- package/cdn/react/input/index.js +5 -5
- package/cdn/react/menu-item/index.js +6 -6
- package/cdn/react/nav-submenu/index.js +5 -5
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popup/index.js +4 -4
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +4 -4
- package/cdn/react/select/index.js +7 -7
- package/cdn/react/split-panel/index.js +3 -3
- package/cdn/react/tab/index.js +5 -5
- package/cdn/react/tab-group/index.js +5 -5
- package/cdn/react/table/index.js +19 -19
- package/cdn/react/tag/index.js +5 -5
- package/cdn/react/timepicker/index.js +12 -12
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tree/index.js +9 -9
- package/cdn/react/tree-item/index.js +7 -7
- package/cdn/shoelace.js +121 -121
- package/cdn/types/vue/index.d.ts +339 -339
- package/cdn/vscode.html-custom-data.json +330 -330
- package/cdn/web-types.json +895 -895
- package/dist/chunks/{chunk.4CT6MODQ.js → chunk.3O2ZAWRN.js} +1 -1
- package/dist/chunks/{chunk.L66OLHOJ.js → chunk.65SWTFEH.js} +5 -5
- package/dist/chunks/{chunk.63VCQTIT.js → chunk.6K3SBMWI.js} +1 -1
- package/dist/chunks/{chunk.32RC4SMF.js → chunk.7DRTYVWG.js} +1 -1
- package/{cdn/chunks/chunk.ICYZ3ZRB.js → dist/chunks/chunk.AA6JYI52.js} +1 -1
- package/dist/chunks/{chunk.566V5ODQ.js → chunk.B36WUI3P.js} +1 -1
- package/dist/chunks/{chunk.INPXNEHC.js → chunk.BEAXM65Y.js} +1 -1
- package/{cdn/chunks/chunk.B4DQB52P.js → dist/chunks/chunk.BGAOXRYS.js} +1 -1
- package/dist/chunks/{chunk.3VZ7XFPS.js → chunk.C3IQZ3QU.js} +1 -1
- package/{cdn/chunks/chunk.4DLZFMRP.js → dist/chunks/chunk.D2HTCBDV.js} +1 -1
- package/dist/chunks/{chunk.ZDLGREW3.js → chunk.DDQ2YNYS.js} +1 -1
- package/{cdn/chunks/chunk.3AZELGZB.js → dist/chunks/chunk.DFM5TOGZ.js} +1 -1
- package/{cdn/chunks/chunk.FR2NJBAW.js → dist/chunks/chunk.DNWIIWHB.js} +1 -1
- package/{cdn/chunks/chunk.ZN7RVCVV.js → dist/chunks/chunk.EE7OR5ZV.js} +1 -1
- package/dist/chunks/{chunk.TGDPJA5Z.js → chunk.EW3SB3JX.js} +1 -1
- package/dist/chunks/{chunk.TA3UWWM6.js → chunk.FGGHZJHD.js} +1 -1
- package/{cdn/chunks/chunk.6EIVSMAA.js → dist/chunks/chunk.FH6HU3TJ.js} +1 -1
- package/dist/chunks/{chunk.B3BZRK7H.js → chunk.FHZLYJ7H.js} +1 -1
- package/dist/chunks/{chunk.XXPEI6S4.js → chunk.FIVKTUOJ.js} +2 -1
- package/dist/chunks/{chunk.BSY4RDX2.js → chunk.HSDGB6VT.js} +1 -1
- package/dist/chunks/{chunk.6C4YL2CP.js → chunk.ISXBJOWZ.js} +6 -6
- package/dist/chunks/{chunk.5TQ5K66H.js → chunk.JGVFJLYW.js} +1 -1
- package/{cdn/chunks/chunk.D2BCJUHY.js → dist/chunks/chunk.JOXCBGLB.js} +1 -1
- package/dist/chunks/{chunk.CKWTFK3H.js → chunk.K7LDLQY6.js} +1 -1
- package/{cdn/chunks/chunk.AU2R525E.js → dist/chunks/chunk.KOJOKR3G.js} +1 -1
- package/dist/chunks/{chunk.K7RC3PY7.js → chunk.M7SY65QP.js} +1 -1
- package/{cdn/chunks/chunk.JM7BKSZG.js → dist/chunks/chunk.MQTZGVQC.js} +1 -1
- package/dist/chunks/{chunk.UL7KBIXX.js → chunk.MWEQR4PV.js} +1 -1
- package/{cdn/chunks/chunk.AGYFIM4Q.js → dist/chunks/chunk.MWZE6QFU.js} +1 -1
- package/dist/chunks/{chunk.6U7F7URL.js → chunk.OQMSL7DX.js} +1 -1
- package/{cdn/chunks/chunk.GJYIQ2J2.js → dist/chunks/chunk.ORWUGWZH.js} +1 -1
- package/dist/chunks/{chunk.I6Q32ZWP.js → chunk.PBPPZ2MK.js} +5 -5
- package/dist/chunks/{chunk.JTFYAKXQ.js → chunk.PJSMHPAF.js} +1 -1
- package/dist/chunks/{chunk.2TO4Y66B.js → chunk.PRGGJCNJ.js} +1 -1
- package/{cdn/chunks/chunk.B7G2OHZ4.js → dist/chunks/chunk.QUEVSO7U.js} +1 -1
- package/dist/chunks/{chunk.5TKWYUQS.js → chunk.RVED3QP3.js} +1 -1
- package/dist/chunks/{chunk.JQV37LH6.js → chunk.RZIN3JXU.js} +1 -1
- package/dist/chunks/{chunk.BDOFPKDT.js → chunk.T2JSCPSE.js} +1 -1
- package/dist/chunks/{chunk.A5R6GFQO.js → chunk.TB3SF74U.js} +3 -3
- package/dist/chunks/{chunk.3UQAMROW.js → chunk.TY7ZAVOX.js} +2 -2
- package/{cdn/chunks/chunk.OB65AD3O.js → dist/chunks/chunk.W6JUTZTP.js} +1 -1
- package/dist/components/alert/alert.component.js +2 -2
- package/dist/components/alert/alert.js +3 -3
- package/dist/components/button/button.component.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/calendar/calendar.component.js +4 -4
- package/dist/components/calendar/calendar.js +4 -4
- package/dist/components/carousel/carousel.component.js +2 -2
- package/dist/components/carousel/carousel.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/color-picker/color-picker.component.js +6 -6
- package/dist/components/color-picker/color-picker.js +7 -7
- package/dist/components/date-panel/date-panel.component.js +6 -6
- package/dist/components/date-panel/date-panel.js +6 -6
- package/dist/components/datepicker/datepicker.component.js +8 -8
- package/dist/components/datepicker/datepicker.js +8 -8
- package/dist/components/dialog/dialog.component.js +2 -2
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/drawer/drawer.component.js +2 -2
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/input/input.component.js +2 -2
- package/dist/components/input/input.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +2 -2
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/pagination/custom-select.js +3 -3
- package/dist/components/pagination/pagination.component.js +3 -3
- package/dist/components/pagination/pagination.js +3 -3
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/select/select.component.js +2 -2
- package/dist/components/select/select.js +3 -3
- package/dist/components/table/head-table.js +8 -8
- package/dist/components/table/table.component.js +11 -11
- package/dist/components/table/table.js +12 -12
- package/dist/components/time-panel/time-panel.component.js +3 -3
- package/dist/components/time-panel/time-panel.js +3 -3
- package/dist/components/timepicker/timepicker.component.js +8 -8
- package/dist/components/timepicker/timepicker.js +8 -8
- package/dist/components/tree/tree.component.js +6 -6
- package/dist/components/tree/tree.js +7 -7
- package/dist/components/tree-item/tree-item.component.js +4 -4
- package/dist/components/tree-item/tree-item.js +5 -5
- package/dist/custom-elements.json +3229 -3229
- package/dist/react/alert/index.js +3 -3
- package/dist/react/button/index.js +3 -3
- package/dist/react/carousel/index.js +3 -3
- package/dist/react/checkbox/index.js +3 -3
- package/dist/react/color-picker/index.js +7 -7
- package/dist/react/date-panel/index.js +7 -7
- package/dist/react/datepicker/index.js +9 -9
- package/dist/react/dialog/index.js +3 -3
- package/dist/react/drawer/index.js +3 -3
- package/dist/react/index.js +105 -105
- package/dist/react/input/index.js +3 -3
- package/dist/react/menu-item/index.js +3 -3
- package/dist/react/pagination/index.js +3 -3
- package/dist/react/range/index.js +3 -3
- package/dist/react/select/index.js +3 -3
- package/dist/react/table/index.js +12 -12
- package/dist/react/timepicker/index.js +9 -9
- package/dist/react/tree/index.js +7 -7
- package/dist/react/tree-item/index.js +5 -5
- package/dist/shoelace.js +99 -99
- package/dist/types/vue/index.d.ts +339 -339
- package/dist/vscode.html-custom-data.json +330 -330
- package/dist/web-types.json +895 -895
- package/package.json +2 -2
- package/cdn/chunks/{chunk.U4ET44SL.js → chunk.33HCVHKR.js} +3 -3
- package/cdn/chunks/{chunk.U3HJITZ6.js → chunk.4XZRAY4I.js} +3 -3
- package/cdn/chunks/{chunk.HHBZDFH4.js → chunk.5TSM4VI7.js} +3 -3
- package/cdn/chunks/{chunk.RK2BVAV5.js → chunk.62BUAYEN.js} +3 -3
- package/cdn/chunks/{chunk.I56KGWR2.js → chunk.ED24VHRA.js} +6 -6
- package/cdn/chunks/{chunk.D6F22637.js → chunk.FQCV7DYK.js} +3 -3
- package/cdn/chunks/{chunk.Q4LMKXFG.js → chunk.K56PLL3U.js} +3 -3
- package/cdn/chunks/{chunk.CBMCIPXG.js → chunk.NHTFPAPK.js} +3 -3
- package/cdn/chunks/{chunk.LC3BU3MO.js → chunk.OFZH2C6Q.js} +3 -3
- package/cdn/chunks/{chunk.RBSOA6OJ.js → chunk.OQC5PZVQ.js} +3 -3
- package/cdn/chunks/{chunk.YKDBXRCU.js → chunk.P6XVSHPE.js} +3 -3
- package/cdn/chunks/{chunk.2MTL3FGH.js → chunk.PQV3XRTK.js} +3 -3
- package/cdn/chunks/{chunk.MWWXGSIA.js → chunk.TH32XAJZ.js} +3 -3
- package/cdn/chunks/{chunk.3F6V74NZ.js → chunk.UKKAD4IJ.js} +3 -3
- package/cdn/chunks/{chunk.PKX6PMAZ.js → chunk.UW7KXJNU.js} +3 -3
- package/cdn/chunks/{chunk.KKFPVTXK.js → chunk.VJEWHPOO.js} +3 -3
- package/cdn/chunks/{chunk.PGAKPN6W.js → chunk.WACRJU63.js} +3 -3
- package/cdn/chunks/{chunk.QYQHEP6I.js → chunk.XSHHGP57.js} +3 -3
- package/dist/chunks/{chunk.6SWYT4LZ.js → chunk.7ZP7HD7M.js} +3 -3
- package/dist/chunks/{chunk.63HBHPPT.js → chunk.A7XGUTBO.js} +3 -3
- package/dist/chunks/{chunk.XEYCIKBS.js → chunk.BGV3JLGD.js} +3 -3
- package/dist/chunks/{chunk.VUQZGD6T.js → chunk.CIJACHTX.js} +3 -3
- package/dist/chunks/{chunk.AFRCZNXR.js → chunk.IPQGRX5Y.js} +3 -3
- package/dist/chunks/{chunk.STEKEZUP.js → chunk.LKQY7XWY.js} +3 -3
- package/dist/chunks/{chunk.AXO7GIM3.js → chunk.N6YBAJST.js} +3 -3
- package/dist/chunks/{chunk.DVJWPRKF.js → chunk.S632BJPH.js} +3 -3
- package/dist/chunks/{chunk.IBPTWAHN.js → chunk.SVREM4GW.js} +3 -3
- package/dist/chunks/{chunk.XRQEVVQK.js → chunk.UOQLVORX.js} +3 -3
package/cdn/types/vue/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { DefineComponent } from "vue";
|
|
2
2
|
|
|
3
|
-
import type { SlAlert } from "../../components/alert/alert.component.js";
|
|
4
3
|
import type { SlAnimatedImage } from "../../components/animated-image/animated-image.component.js";
|
|
5
|
-
import type { SlAnimation } from "../../components/animation/animation.component.js";
|
|
6
4
|
import type { SlAvatar } from "../../components/avatar/avatar.component.js";
|
|
7
|
-
import type {
|
|
5
|
+
import type { SlAnimation } from "../../components/animation/animation.component.js";
|
|
6
|
+
import type { SlAlert } from "../../components/alert/alert.component.js";
|
|
8
7
|
import type { SlBreadcrumb } from "../../components/breadcrumb/breadcrumb.component.js";
|
|
9
|
-
import type {
|
|
8
|
+
import type { SlBadge } from "../../components/badge/badge.component.js";
|
|
10
9
|
import type { SlBreadcrumbItem } from "../../components/breadcrumb-item/breadcrumb-item.component.js";
|
|
10
|
+
import type { SlButton } from "../../components/button/button.component.js";
|
|
11
|
+
import type { SlButtonGroup } from "../../components/button-group/button-group.component.js";
|
|
11
12
|
import type { SlCard } from "../../components/card/card.component.js";
|
|
12
13
|
import type { SlCarousel } from "../../components/carousel/carousel.component.js";
|
|
13
|
-
import type { SlButtonGroup } from "../../components/button-group/button-group.component.js";
|
|
14
14
|
import type { SlCarouselItem } from "../../components/carousel-item/carousel-item.component.js";
|
|
15
15
|
import type { SlCheckbox } from "../../components/checkbox/checkbox.component.js";
|
|
16
16
|
import type { SlColorPicker } from "../../components/color-picker/color-picker.component.js";
|
|
@@ -23,21 +23,21 @@ import type { SlDivider } from "../../components/divider/divider.component.js";
|
|
|
23
23
|
import type { SlDrawer } from "../../components/drawer/drawer.component.js";
|
|
24
24
|
import type { SlDropdown } from "../../components/dropdown/dropdown.component.js";
|
|
25
25
|
import type { SlFormatBytes } from "../../components/format-bytes/format-bytes.component.js";
|
|
26
|
-
import type { SlFormatNumber } from "../../components/format-number/format-number.component.js";
|
|
27
26
|
import type { SlFormatDate } from "../../components/format-date/format-date.component.js";
|
|
28
27
|
import type { SlIcon } from "../../components/icon/icon.component.js";
|
|
28
|
+
import type { SlFormatNumber } from "../../components/format-number/format-number.component.js";
|
|
29
29
|
import type { SlIconButton } from "../../components/icon-button/icon-button.component.js";
|
|
30
30
|
import type { SlImageComparer } from "../../components/image-comparer/image-comparer.component.js";
|
|
31
31
|
import type { SlInclude } from "../../components/include/include.component.js";
|
|
32
32
|
import type { SlInput } from "../../components/input/input.component.js";
|
|
33
33
|
import type { SlMenu } from "../../components/menu/menu.component.js";
|
|
34
34
|
import type { SlMenuItem } from "../../components/menu-item/menu-item.component.js";
|
|
35
|
-
import type { SlMutationObserver } from "../../components/mutation-observer/mutation-observer.component.js";
|
|
36
35
|
import type { SlMenuLabel } from "../../components/menu-label/menu-label.component.js";
|
|
36
|
+
import type { SlMutationObserver } from "../../components/mutation-observer/mutation-observer.component.js";
|
|
37
37
|
import type { SlNav } from "../../components/nav/nav.component.js";
|
|
38
38
|
import type { SlNavGroup } from "../../components/nav-group/nav-group.component.js";
|
|
39
|
-
import type { SlNavItem } from "../../components/nav-item/nav-item.component.js";
|
|
40
39
|
import type { SlNavSubmenu } from "../../components/nav-submenu/nav-submenu.component.js";
|
|
40
|
+
import type { SlNavItem } from "../../components/nav-item/nav-item.component.js";
|
|
41
41
|
import type { SlOption } from "../../components/option/option.component.js";
|
|
42
42
|
import type { SlPagination } from "../../components/pagination/pagination.component.js";
|
|
43
43
|
import type { SlPopup } from "../../components/popup/popup.component.js";
|
|
@@ -50,54 +50,25 @@ import type { SlRadioGroup } from "../../components/radio-group/radio-group.comp
|
|
|
50
50
|
import type { SlRange } from "../../components/range/range.component.js";
|
|
51
51
|
import type { SlRating } from "../../components/rating/rating.component.js";
|
|
52
52
|
import type { SlRelativeTime } from "../../components/relative-time/relative-time.component.js";
|
|
53
|
-
import type { SlScreen } from "../../components/screen/screen.component.js";
|
|
54
53
|
import type { SlResizeObserver } from "../../components/resize-observer/resize-observer.component.js";
|
|
54
|
+
import type { SlScreen } from "../../components/screen/screen.component.js";
|
|
55
55
|
import type { SlSelect } from "../../components/select/select.component.js";
|
|
56
56
|
import type { SlSkeleton } from "../../components/skeleton/skeleton.component.js";
|
|
57
57
|
import type { SlSpinner } from "../../components/spinner/spinner.component.js";
|
|
58
58
|
import type { SlSplitPanel } from "../../components/split-panel/split-panel.component.js";
|
|
59
|
-
import type { SlSwitch } from "../../components/switch/switch.component.js";
|
|
60
59
|
import type { SlTab } from "../../components/tab/tab.component.js";
|
|
61
|
-
import type {
|
|
60
|
+
import type { SlSwitch } from "../../components/switch/switch.component.js";
|
|
62
61
|
import type { SlTabGroup } from "../../components/tab-group/tab-group.component.js";
|
|
62
|
+
import type { SlTabPanel } from "../../components/tab-panel/tab-panel.component.js";
|
|
63
63
|
import type { SlTable, CustomEvent } from "../../components/table/table.component.js";
|
|
64
|
-
import type { SlTag } from "../../components/tag/tag.component.js";
|
|
65
64
|
import type { SlTextarea } from "../../components/textarea/textarea.component.js";
|
|
65
|
+
import type { SlTag } from "../../components/tag/tag.component.js";
|
|
66
66
|
import type { SlTimepicker } from "../../components/timepicker/timepicker.component.js";
|
|
67
67
|
import type { SlTooltip } from "../../components/tooltip/tooltip.component.js";
|
|
68
68
|
import type { SlTree } from "../../components/tree/tree.component.js";
|
|
69
69
|
import type { SlTreeItem } from "../../components/tree-item/tree-item.component.js";
|
|
70
70
|
import type { SlVisuallyHidden } from "../../components/visually-hidden/visually-hidden.component.js";
|
|
71
71
|
|
|
72
|
-
type SlAlertProps = {
|
|
73
|
-
/** Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can
|
|
74
|
-
use the `show()` and `hide()` methods and this attribute will reflect the alert's open state. */
|
|
75
|
-
open?: SlAlert["open"];
|
|
76
|
-
/** Enables a close button that allows the user to dismiss the alert. */
|
|
77
|
-
closable?: SlAlert["closable"];
|
|
78
|
-
/** The alert's theme variant. */
|
|
79
|
-
variant?: SlAlert["variant"];
|
|
80
|
-
/** The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with
|
|
81
|
-
the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning
|
|
82
|
-
the alert will not close on its own. */
|
|
83
|
-
duration?: SlAlert["duration"];
|
|
84
|
-
/** Enables a countdown that indicates the remaining time the alert will be displayed.
|
|
85
|
-
Typically used to indicate the remaining time before a whole app refresh. */
|
|
86
|
-
countdown?: SlAlert["countdown"];
|
|
87
|
-
/** */
|
|
88
|
-
base?: SlAlert["base"];
|
|
89
|
-
/** */
|
|
90
|
-
countdownElement?: SlAlert["countdownElement"];
|
|
91
|
-
/** Emitted when the alert opens. */
|
|
92
|
-
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
93
|
-
/** Emitted after the alert opens and all animations are complete. */
|
|
94
|
-
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
95
|
-
/** Emitted when the alert closes. */
|
|
96
|
-
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
97
|
-
/** Emitted after the alert closes and all animations are complete. */
|
|
98
|
-
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
72
|
type SlAnimatedImageProps = {
|
|
102
73
|
/** The path to the image to load. */
|
|
103
74
|
src?: SlAnimatedImage["src"];
|
|
@@ -117,6 +88,22 @@ type SlAnimatedImageProps = {
|
|
|
117
88
|
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
118
89
|
};
|
|
119
90
|
|
|
91
|
+
type SlAvatarProps = {
|
|
92
|
+
/** The image source to use for the avatar. */
|
|
93
|
+
image?: SlAvatar["image"];
|
|
94
|
+
/** A label to use to describe the avatar to assistive devices. */
|
|
95
|
+
label?: SlAvatar["label"];
|
|
96
|
+
/** Initials to use as a fallback when no image is available (1-2 characters max recommended). */
|
|
97
|
+
initials?: SlAvatar["initials"];
|
|
98
|
+
/** Indicates how the browser should load the image. */
|
|
99
|
+
loading?: SlAvatar["loading"];
|
|
100
|
+
/** The shape of the avatar. */
|
|
101
|
+
shape?: SlAvatar["shape"];
|
|
102
|
+
|
|
103
|
+
/** The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause. */
|
|
104
|
+
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
105
|
+
};
|
|
106
|
+
|
|
120
107
|
type SlAnimationProps = {
|
|
121
108
|
/** The name of the built-in animation to use. For custom animations, use the `keyframes` prop. */
|
|
122
109
|
name?: SlAnimation["name"];
|
|
@@ -159,20 +146,43 @@ value can be changed without causing the animation to restart. */
|
|
|
159
146
|
"onsl-start"?: (e: CustomEvent<never>) => void;
|
|
160
147
|
};
|
|
161
148
|
|
|
162
|
-
type
|
|
163
|
-
/**
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
149
|
+
type SlAlertProps = {
|
|
150
|
+
/** Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can
|
|
151
|
+
use the `show()` and `hide()` methods and this attribute will reflect the alert's open state. */
|
|
152
|
+
open?: SlAlert["open"];
|
|
153
|
+
/** Enables a close button that allows the user to dismiss the alert. */
|
|
154
|
+
closable?: SlAlert["closable"];
|
|
155
|
+
/** The alert's theme variant. */
|
|
156
|
+
variant?: SlAlert["variant"];
|
|
157
|
+
/** The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with
|
|
158
|
+
the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning
|
|
159
|
+
the alert will not close on its own. */
|
|
160
|
+
duration?: SlAlert["duration"];
|
|
161
|
+
/** Enables a countdown that indicates the remaining time the alert will be displayed.
|
|
162
|
+
Typically used to indicate the remaining time before a whole app refresh. */
|
|
163
|
+
countdown?: SlAlert["countdown"];
|
|
164
|
+
/** */
|
|
165
|
+
base?: SlAlert["base"];
|
|
166
|
+
/** */
|
|
167
|
+
countdownElement?: SlAlert["countdownElement"];
|
|
168
|
+
/** Emitted when the alert opens. */
|
|
169
|
+
"onsl-show"?: (e: CustomEvent<never>) => void;
|
|
170
|
+
/** Emitted after the alert opens and all animations are complete. */
|
|
171
|
+
"onsl-after-show"?: (e: CustomEvent<never>) => void;
|
|
172
|
+
/** Emitted when the alert closes. */
|
|
173
|
+
"onsl-hide"?: (e: CustomEvent<never>) => void;
|
|
174
|
+
/** Emitted after the alert closes and all animations are complete. */
|
|
175
|
+
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
176
|
+
};
|
|
173
177
|
|
|
174
|
-
|
|
175
|
-
|
|
178
|
+
type SlBreadcrumbProps = {
|
|
179
|
+
/** The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by
|
|
180
|
+
screen readers and other assistive devices to provide more context for users. */
|
|
181
|
+
label?: SlBreadcrumb["label"];
|
|
182
|
+
/** */
|
|
183
|
+
defaultSlot?: SlBreadcrumb["defaultSlot"];
|
|
184
|
+
/** */
|
|
185
|
+
separatorSlot?: SlBreadcrumb["separatorSlot"];
|
|
176
186
|
};
|
|
177
187
|
|
|
178
188
|
type SlBadgeProps = {
|
|
@@ -184,14 +194,16 @@ type SlBadgeProps = {
|
|
|
184
194
|
pulse?: SlBadge["pulse"];
|
|
185
195
|
};
|
|
186
196
|
|
|
187
|
-
type
|
|
188
|
-
/**
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
|
|
197
|
+
type SlBreadcrumbItemProps = {
|
|
198
|
+
/** Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered
|
|
199
|
+
internally. When unset, a button will be rendered instead. */
|
|
200
|
+
href?: SlBreadcrumbItem["href"];
|
|
201
|
+
/** Tells the browser where to open the link. Only used when `href` is set. */
|
|
202
|
+
target?: SlBreadcrumbItem["target"];
|
|
203
|
+
/** The `rel` attribute to use on the link. Only used when `href` is set. */
|
|
204
|
+
rel?: SlBreadcrumbItem["rel"];
|
|
193
205
|
/** */
|
|
194
|
-
|
|
206
|
+
defaultSlot?: SlBreadcrumbItem["defaultSlot"];
|
|
195
207
|
};
|
|
196
208
|
|
|
197
209
|
type SlButtonProps = {
|
|
@@ -263,16 +275,14 @@ value of this attribute must be an id of a form in the same document or shadow r
|
|
|
263
275
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
264
276
|
};
|
|
265
277
|
|
|
266
|
-
type
|
|
267
|
-
/**
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
/** Tells the browser where to open the link. Only used when `href` is set. */
|
|
271
|
-
target?: SlBreadcrumbItem["target"];
|
|
272
|
-
/** The `rel` attribute to use on the link. Only used when `href` is set. */
|
|
273
|
-
rel?: SlBreadcrumbItem["rel"];
|
|
278
|
+
type SlButtonGroupProps = {
|
|
279
|
+
/** A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive
|
|
280
|
+
devices when interacting with the control and is strongly recommended. */
|
|
281
|
+
label?: SlButtonGroup["label"];
|
|
274
282
|
/** */
|
|
275
|
-
defaultSlot?:
|
|
283
|
+
defaultSlot?: SlButtonGroup["defaultSlot"];
|
|
284
|
+
/** */
|
|
285
|
+
disableRole?: SlButtonGroup["disableRole"];
|
|
276
286
|
};
|
|
277
287
|
|
|
278
288
|
type SlCardProps = {};
|
|
@@ -311,16 +321,6 @@ greater than one. It can't be higher than `slides-per-page`. */
|
|
|
311
321
|
"onsl-slide-change"?: (e: CustomEvent<{ index: number; slide: SlCarouselItem }>) => void;
|
|
312
322
|
};
|
|
313
323
|
|
|
314
|
-
type SlButtonGroupProps = {
|
|
315
|
-
/** A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive
|
|
316
|
-
devices when interacting with the control and is strongly recommended. */
|
|
317
|
-
label?: SlButtonGroup["label"];
|
|
318
|
-
/** */
|
|
319
|
-
defaultSlot?: SlButtonGroup["defaultSlot"];
|
|
320
|
-
/** */
|
|
321
|
-
disableRole?: SlButtonGroup["disableRole"];
|
|
322
|
-
};
|
|
323
|
-
|
|
324
324
|
type SlCarouselItemProps = {};
|
|
325
325
|
|
|
326
326
|
type SlCheckboxProps = {
|
|
@@ -679,29 +679,6 @@ type SlFormatBytesProps = {
|
|
|
679
679
|
display?: SlFormatBytes["display"];
|
|
680
680
|
};
|
|
681
681
|
|
|
682
|
-
type SlFormatNumberProps = {
|
|
683
|
-
/** The number to format. */
|
|
684
|
-
value?: SlFormatNumber["value"];
|
|
685
|
-
/** The formatting style to use. */
|
|
686
|
-
type?: SlFormatNumber["type"];
|
|
687
|
-
/** Turns off grouping separators. */
|
|
688
|
-
"no-grouping"?: SlFormatNumber["noGrouping"];
|
|
689
|
-
/** The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting. */
|
|
690
|
-
currency?: SlFormatNumber["currency"];
|
|
691
|
-
/** How to display the currency. */
|
|
692
|
-
"currency-display"?: SlFormatNumber["currencyDisplay"];
|
|
693
|
-
/** The minimum number of integer digits to use. Possible values are 1-21. */
|
|
694
|
-
"minimum-integer-digits"?: SlFormatNumber["minimumIntegerDigits"];
|
|
695
|
-
/** The minimum number of fraction digits to use. Possible values are 0-20. */
|
|
696
|
-
"minimum-fraction-digits"?: SlFormatNumber["minimumFractionDigits"];
|
|
697
|
-
/** The maximum number of fraction digits to use. Possible values are 0-0. */
|
|
698
|
-
"maximum-fraction-digits"?: SlFormatNumber["maximumFractionDigits"];
|
|
699
|
-
/** The minimum number of significant digits to use. Possible values are 1-21. */
|
|
700
|
-
"minimum-significant-digits"?: SlFormatNumber["minimumSignificantDigits"];
|
|
701
|
-
/** The maximum number of significant digits to use,. Possible values are 1-21. */
|
|
702
|
-
"maximum-significant-digits"?: SlFormatNumber["maximumSignificantDigits"];
|
|
703
|
-
};
|
|
704
|
-
|
|
705
682
|
type SlFormatDateProps = {
|
|
706
683
|
/** The date/time to format. If not set, the current date and time will be used. When passing a string, it's strongly
|
|
707
684
|
recommended to use the ISO 8601 format to ensure timezones are handled correctly. To convert a date to this format
|
|
@@ -749,6 +726,29 @@ ignored by assistive devices. */
|
|
|
749
726
|
"onsl-error"?: (e: CustomEvent<never>) => void;
|
|
750
727
|
};
|
|
751
728
|
|
|
729
|
+
type SlFormatNumberProps = {
|
|
730
|
+
/** The number to format. */
|
|
731
|
+
value?: SlFormatNumber["value"];
|
|
732
|
+
/** The formatting style to use. */
|
|
733
|
+
type?: SlFormatNumber["type"];
|
|
734
|
+
/** Turns off grouping separators. */
|
|
735
|
+
"no-grouping"?: SlFormatNumber["noGrouping"];
|
|
736
|
+
/** The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code to use when formatting. */
|
|
737
|
+
currency?: SlFormatNumber["currency"];
|
|
738
|
+
/** How to display the currency. */
|
|
739
|
+
"currency-display"?: SlFormatNumber["currencyDisplay"];
|
|
740
|
+
/** The minimum number of integer digits to use. Possible values are 1-21. */
|
|
741
|
+
"minimum-integer-digits"?: SlFormatNumber["minimumIntegerDigits"];
|
|
742
|
+
/** The minimum number of fraction digits to use. Possible values are 0-20. */
|
|
743
|
+
"minimum-fraction-digits"?: SlFormatNumber["minimumFractionDigits"];
|
|
744
|
+
/** The maximum number of fraction digits to use. Possible values are 0-0. */
|
|
745
|
+
"maximum-fraction-digits"?: SlFormatNumber["maximumFractionDigits"];
|
|
746
|
+
/** The minimum number of significant digits to use. Possible values are 1-21. */
|
|
747
|
+
"minimum-significant-digits"?: SlFormatNumber["minimumSignificantDigits"];
|
|
748
|
+
/** The maximum number of significant digits to use,. Possible values are 1-21. */
|
|
749
|
+
"maximum-significant-digits"?: SlFormatNumber["maximumSignificantDigits"];
|
|
750
|
+
};
|
|
751
|
+
|
|
752
752
|
type SlIconButtonProps = {
|
|
753
753
|
/** The name of the icon to draw. Available names depend on the icon library being used. */
|
|
754
754
|
name?: SlIconButton["name"];
|
|
@@ -924,6 +924,8 @@ type SlMenuItemProps = {
|
|
|
924
924
|
menuItem?: SlMenuItem["menuItem"];
|
|
925
925
|
};
|
|
926
926
|
|
|
927
|
+
type SlMenuLabelProps = {};
|
|
928
|
+
|
|
927
929
|
type SlMutationObserverProps = {
|
|
928
930
|
/** Watches for changes to attributes. To watch only specific attributes, separate them by a space, e.g.
|
|
929
931
|
`attr="class id title"`. To watch all attributes, use `*`. */
|
|
@@ -943,8 +945,6 @@ type SlMutationObserverProps = {
|
|
|
943
945
|
"onsl-mutation"?: (e: CustomEvent<{ mutationList: MutationRecord[] }>) => void;
|
|
944
946
|
};
|
|
945
947
|
|
|
946
|
-
type SlMenuLabelProps = {};
|
|
947
|
-
|
|
948
948
|
type SlNavProps = {
|
|
949
949
|
/** The value of the selected nav item. */
|
|
950
950
|
value?: SlNav["value"];
|
|
@@ -965,28 +965,6 @@ type SlNavGroupProps = {
|
|
|
965
965
|
mode?: SlNavGroup["mode"];
|
|
966
966
|
};
|
|
967
967
|
|
|
968
|
-
type SlNavItemProps = {
|
|
969
|
-
/** The value to track selection. */
|
|
970
|
-
value?: SlNavItem["value"];
|
|
971
|
-
/** Draws the nav item in a disabled state. */
|
|
972
|
-
disabled?: SlNavItem["disabled"];
|
|
973
|
-
/** Draws the nav item in an active (selected) state. */
|
|
974
|
-
active?: SlNavItem["active"];
|
|
975
|
-
/** The URL to link to. If set, the nav item will render as an anchor tag. */
|
|
976
|
-
href?: SlNavItem["href"];
|
|
977
|
-
/** The target attribute for the anchor tag. */
|
|
978
|
-
target?: SlNavItem["target"];
|
|
979
|
-
/** The download attribute for the anchor tag. */
|
|
980
|
-
download?: SlNavItem["download"];
|
|
981
|
-
/** The rel attribute for the anchor tag. */
|
|
982
|
-
rel?: SlNavItem["rel"];
|
|
983
|
-
/** The mode of navigation. */
|
|
984
|
-
mode?: SlNavItem["mode"];
|
|
985
|
-
|
|
986
|
-
/** Emitted when a nav item is selected. */
|
|
987
|
-
"onsl-nav-select"?: (e: CustomEvent<{ item: SlNavItem }>) => void;
|
|
988
|
-
};
|
|
989
|
-
|
|
990
968
|
type SlNavSubmenuProps = {
|
|
991
969
|
/** Indicates whether or not the submenu is open. */
|
|
992
970
|
open?: SlNavSubmenu["open"];
|
|
@@ -1014,6 +992,28 @@ type SlNavSubmenuProps = {
|
|
|
1014
992
|
"onsl-after-hide"?: (e: CustomEvent<never>) => void;
|
|
1015
993
|
};
|
|
1016
994
|
|
|
995
|
+
type SlNavItemProps = {
|
|
996
|
+
/** The value to track selection. */
|
|
997
|
+
value?: SlNavItem["value"];
|
|
998
|
+
/** Draws the nav item in a disabled state. */
|
|
999
|
+
disabled?: SlNavItem["disabled"];
|
|
1000
|
+
/** Draws the nav item in an active (selected) state. */
|
|
1001
|
+
active?: SlNavItem["active"];
|
|
1002
|
+
/** The URL to link to. If set, the nav item will render as an anchor tag. */
|
|
1003
|
+
href?: SlNavItem["href"];
|
|
1004
|
+
/** The target attribute for the anchor tag. */
|
|
1005
|
+
target?: SlNavItem["target"];
|
|
1006
|
+
/** The download attribute for the anchor tag. */
|
|
1007
|
+
download?: SlNavItem["download"];
|
|
1008
|
+
/** The rel attribute for the anchor tag. */
|
|
1009
|
+
rel?: SlNavItem["rel"];
|
|
1010
|
+
/** The mode of navigation. */
|
|
1011
|
+
mode?: SlNavItem["mode"];
|
|
1012
|
+
|
|
1013
|
+
/** Emitted when a nav item is selected. */
|
|
1014
|
+
"onsl-nav-select"?: (e: CustomEvent<{ item: SlNavItem }>) => void;
|
|
1015
|
+
};
|
|
1016
|
+
|
|
1017
1017
|
type SlOptionProps = {
|
|
1018
1018
|
/** The option's value. When selected, the containing form control will receive this value. The value must be unique
|
|
1019
1019
|
from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing
|
|
@@ -1326,6 +1326,14 @@ a date to this format in JavaScript, use [`date.toISOString()`](https://develope
|
|
|
1326
1326
|
sync?: SlRelativeTime["sync"];
|
|
1327
1327
|
};
|
|
1328
1328
|
|
|
1329
|
+
type SlResizeObserverProps = {
|
|
1330
|
+
/** Disables the observer. */
|
|
1331
|
+
disabled?: SlResizeObserver["disabled"];
|
|
1332
|
+
|
|
1333
|
+
/** Emitted when the element is resized. */
|
|
1334
|
+
"onsl-resize"?: (e: CustomEvent<{ entries: ResizeObserverEntry[] }>) => void;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1329
1337
|
type SlScreenProps = {
|
|
1330
1338
|
/** The options for the GridStack instance. */
|
|
1331
1339
|
options?: SlScreen["options"];
|
|
@@ -1341,14 +1349,6 @@ type SlScreenProps = {
|
|
|
1341
1349
|
gridElement?: SlScreen["gridElement"];
|
|
1342
1350
|
};
|
|
1343
1351
|
|
|
1344
|
-
type SlResizeObserverProps = {
|
|
1345
|
-
/** Disables the observer. */
|
|
1346
|
-
disabled?: SlResizeObserver["disabled"];
|
|
1347
|
-
|
|
1348
|
-
/** Emitted when the element is resized. */
|
|
1349
|
-
"onsl-resize"?: (e: CustomEvent<{ entries: ResizeObserverEntry[] }>) => void;
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
1352
|
type SlSelectProps = {
|
|
1353
1353
|
/** The name of the select, submitted as a name/value pair with form data. */
|
|
1354
1354
|
name?: SlSelect["name"];
|
|
@@ -1472,6 +1472,21 @@ or a function which takes in a `SnapFunctionParams`, and returns a position to s
|
|
|
1472
1472
|
"onsl-reposition"?: (e: CustomEvent<never>) => void;
|
|
1473
1473
|
};
|
|
1474
1474
|
|
|
1475
|
+
type SlTabProps = {
|
|
1476
|
+
/** The name of the tab panel this tab is associated with. The panel must be located in the same tab group. */
|
|
1477
|
+
panel?: SlTab["panel"];
|
|
1478
|
+
/** Draws the tab in an active state. */
|
|
1479
|
+
active?: SlTab["active"];
|
|
1480
|
+
/** Makes the tab closable and shows a close button. */
|
|
1481
|
+
closable?: SlTab["closable"];
|
|
1482
|
+
/** Disables the tab and prevents selection. */
|
|
1483
|
+
disabled?: SlTab["disabled"];
|
|
1484
|
+
/** */
|
|
1485
|
+
tab?: SlTab["tab"];
|
|
1486
|
+
/** Emitted when the tab is closable and the close button is activated. */
|
|
1487
|
+
"onsl-close"?: (e: CustomEvent<never>) => void;
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1475
1490
|
type SlSwitchProps = {
|
|
1476
1491
|
/** */
|
|
1477
1492
|
title?: SlSwitch["title"];
|
|
@@ -1513,28 +1528,6 @@ the same document or shadow root for this to work. */
|
|
|
1513
1528
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1514
1529
|
};
|
|
1515
1530
|
|
|
1516
|
-
type SlTabProps = {
|
|
1517
|
-
/** The name of the tab panel this tab is associated with. The panel must be located in the same tab group. */
|
|
1518
|
-
panel?: SlTab["panel"];
|
|
1519
|
-
/** Draws the tab in an active state. */
|
|
1520
|
-
active?: SlTab["active"];
|
|
1521
|
-
/** Makes the tab closable and shows a close button. */
|
|
1522
|
-
closable?: SlTab["closable"];
|
|
1523
|
-
/** Disables the tab and prevents selection. */
|
|
1524
|
-
disabled?: SlTab["disabled"];
|
|
1525
|
-
/** */
|
|
1526
|
-
tab?: SlTab["tab"];
|
|
1527
|
-
/** Emitted when the tab is closable and the close button is activated. */
|
|
1528
|
-
"onsl-close"?: (e: CustomEvent<never>) => void;
|
|
1529
|
-
};
|
|
1530
|
-
|
|
1531
|
-
type SlTabPanelProps = {
|
|
1532
|
-
/** The tab panel's name. */
|
|
1533
|
-
name?: SlTabPanel["name"];
|
|
1534
|
-
/** When true, the tab panel will be shown. */
|
|
1535
|
-
active?: SlTabPanel["active"];
|
|
1536
|
-
};
|
|
1537
|
-
|
|
1538
1531
|
type SlTabGroupProps = {
|
|
1539
1532
|
/** The placement of the tabs. */
|
|
1540
1533
|
placement?: SlTabGroup["placement"];
|
|
@@ -1559,6 +1552,13 @@ manual, the tab will receive focus but will not show until the user presses spac
|
|
|
1559
1552
|
"onsl-tab-hide"?: (e: CustomEvent<{ name: String }>) => void;
|
|
1560
1553
|
};
|
|
1561
1554
|
|
|
1555
|
+
type SlTabPanelProps = {
|
|
1556
|
+
/** The tab panel's name. */
|
|
1557
|
+
name?: SlTabPanel["name"];
|
|
1558
|
+
/** When true, the tab panel will be shown. */
|
|
1559
|
+
active?: SlTabPanel["active"];
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
1562
|
type SlTableProps = {
|
|
1563
1563
|
/** */
|
|
1564
1564
|
rowKey?: SlTable["rowKey"];
|
|
@@ -1640,20 +1640,6 @@ type SlTableProps = {
|
|
|
1640
1640
|
onchange?: (e: CustomEvent<CustomEvent>) => void;
|
|
1641
1641
|
};
|
|
1642
1642
|
|
|
1643
|
-
type SlTagProps = {
|
|
1644
|
-
/** The tag's theme variant. */
|
|
1645
|
-
variant?: SlTag["variant"];
|
|
1646
|
-
/** The tag's size. */
|
|
1647
|
-
size?: SlTag["size"];
|
|
1648
|
-
/** Draws a pill-style tag with rounded edges. */
|
|
1649
|
-
pill?: SlTag["pill"];
|
|
1650
|
-
/** Makes the tag removable and shows a remove button. */
|
|
1651
|
-
removable?: SlTag["removable"];
|
|
1652
|
-
|
|
1653
|
-
/** Emitted when the remove button is activated. */
|
|
1654
|
-
"onsl-remove"?: (e: CustomEvent<never>) => void;
|
|
1655
|
-
};
|
|
1656
|
-
|
|
1657
1643
|
type SlTextareaProps = {
|
|
1658
1644
|
/** */
|
|
1659
1645
|
title?: SlTextarea["title"];
|
|
@@ -1727,6 +1713,20 @@ keyboard on supportive devices. */
|
|
|
1727
1713
|
"onsl-invalid"?: (e: CustomEvent<never>) => void;
|
|
1728
1714
|
};
|
|
1729
1715
|
|
|
1716
|
+
type SlTagProps = {
|
|
1717
|
+
/** The tag's theme variant. */
|
|
1718
|
+
variant?: SlTag["variant"];
|
|
1719
|
+
/** The tag's size. */
|
|
1720
|
+
size?: SlTag["size"];
|
|
1721
|
+
/** Draws a pill-style tag with rounded edges. */
|
|
1722
|
+
pill?: SlTag["pill"];
|
|
1723
|
+
/** Makes the tag removable and shows a remove button. */
|
|
1724
|
+
removable?: SlTag["removable"];
|
|
1725
|
+
|
|
1726
|
+
/** Emitted when the remove button is activated. */
|
|
1727
|
+
"onsl-remove"?: (e: CustomEvent<never>) => void;
|
|
1728
|
+
};
|
|
1729
|
+
|
|
1730
1730
|
type SlTimepickerProps = {
|
|
1731
1731
|
/** */
|
|
1732
1732
|
format?: SlTimepicker["format"];
|
|
@@ -1841,57 +1841,48 @@ type SlVisuallyHiddenProps = {};
|
|
|
1841
1841
|
|
|
1842
1842
|
export type CustomElements = {
|
|
1843
1843
|
/**
|
|
1844
|
-
*
|
|
1844
|
+
* A component for displaying animated GIFs and WEBPs that play and pause on interaction.
|
|
1845
1845
|
* ---
|
|
1846
1846
|
*
|
|
1847
1847
|
*
|
|
1848
1848
|
* ### **Events:**
|
|
1849
|
-
* - **sl-
|
|
1850
|
-
* - **sl-
|
|
1851
|
-
* - **sl-hide** - Emitted when the alert closes.
|
|
1852
|
-
* - **sl-after-hide** - Emitted after the alert closes and all animations are complete.
|
|
1853
|
-
*
|
|
1854
|
-
* ### **Methods:**
|
|
1855
|
-
* - **show()** - Shows the alert.
|
|
1856
|
-
* - **hide()** - Hides the alert
|
|
1857
|
-
* - **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
|
|
1858
|
-
* dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
|
|
1859
|
-
* calling this method again. The returned promise will resolve after the alert is hidden.
|
|
1849
|
+
* - **sl-load** - Emitted when the image loads successfully.
|
|
1850
|
+
* - **sl-error** - Emitted when the image fails to load.
|
|
1860
1851
|
*
|
|
1861
1852
|
* ### **Slots:**
|
|
1862
|
-
* -
|
|
1863
|
-
* - **icon** -
|
|
1853
|
+
* - **play-icon** - Optional play icon to use instead of the default. Works best with `<sl-icon>`.
|
|
1854
|
+
* - **pause-icon** - Optional pause icon to use instead of the default. Works best with `<sl-icon>`.
|
|
1855
|
+
*
|
|
1856
|
+
* ### **CSS Properties:**
|
|
1857
|
+
* - **--control-box-size** - The size of the icon box. _(default: undefined)_
|
|
1858
|
+
* - **--icon-size** - The size of the play/pause icons. _(default: undefined)_
|
|
1864
1859
|
*
|
|
1865
1860
|
* ### **CSS Parts:**
|
|
1866
|
-
* - **
|
|
1867
|
-
* - **icon** - The container that wraps the optional icon.
|
|
1868
|
-
* - **message** - The container that wraps the alert's main content.
|
|
1869
|
-
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
1870
|
-
* - **close-button__base** - The close button's exported `base` part.
|
|
1861
|
+
* - **control-box** - The container that surrounds the pause/play icons and provides their background.
|
|
1871
1862
|
*/
|
|
1872
|
-
"sl-
|
|
1863
|
+
"sl-animated-image": DefineComponent<SlAnimatedImageProps>;
|
|
1873
1864
|
|
|
1874
1865
|
/**
|
|
1875
|
-
*
|
|
1866
|
+
* Avatars are used to represent a person or object.
|
|
1876
1867
|
* ---
|
|
1877
1868
|
*
|
|
1878
1869
|
*
|
|
1879
1870
|
* ### **Events:**
|
|
1880
|
-
* - **sl-
|
|
1881
|
-
* - **sl-error** - Emitted when the image fails to load.
|
|
1871
|
+
* - **sl-error** - The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause.
|
|
1882
1872
|
*
|
|
1883
1873
|
* ### **Slots:**
|
|
1884
|
-
* - **
|
|
1885
|
-
* - **pause-icon** - Optional pause icon to use instead of the default. Works best with `<sl-icon>`.
|
|
1874
|
+
* - **icon** - The default icon to use when no image or initials are present. Works best with `<sl-icon>`.
|
|
1886
1875
|
*
|
|
1887
1876
|
* ### **CSS Properties:**
|
|
1888
|
-
* - **--
|
|
1889
|
-
* - **--icon-size** - The size of the play/pause icons. _(default: undefined)_
|
|
1877
|
+
* - **--size** - The size of the avatar. _(default: undefined)_
|
|
1890
1878
|
*
|
|
1891
1879
|
* ### **CSS Parts:**
|
|
1892
|
-
* - **
|
|
1880
|
+
* - **base** - The component's base wrapper.
|
|
1881
|
+
* - **icon** - The container that wraps the avatar's icon.
|
|
1882
|
+
* - **initials** - The container that wraps the avatar's initials.
|
|
1883
|
+
* - **image** - The avatar image. Only shown when the `image` attribute is set.
|
|
1893
1884
|
*/
|
|
1894
|
-
"sl-
|
|
1885
|
+
"sl-avatar": DefineComponent<SlAvatarProps>;
|
|
1895
1886
|
|
|
1896
1887
|
/**
|
|
1897
1888
|
* Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
|
|
@@ -1913,26 +1904,49 @@ export type CustomElements = {
|
|
|
1913
1904
|
"sl-animation": DefineComponent<SlAnimationProps>;
|
|
1914
1905
|
|
|
1915
1906
|
/**
|
|
1916
|
-
*
|
|
1907
|
+
* Alerts are used to display important messages inline or as toast notifications.
|
|
1917
1908
|
* ---
|
|
1918
1909
|
*
|
|
1919
1910
|
*
|
|
1920
1911
|
* ### **Events:**
|
|
1921
|
-
* - **sl-
|
|
1912
|
+
* - **sl-show** - Emitted when the alert opens.
|
|
1913
|
+
* - **sl-after-show** - Emitted after the alert opens and all animations are complete.
|
|
1914
|
+
* - **sl-hide** - Emitted when the alert closes.
|
|
1915
|
+
* - **sl-after-hide** - Emitted after the alert closes and all animations are complete.
|
|
1916
|
+
*
|
|
1917
|
+
* ### **Methods:**
|
|
1918
|
+
* - **show()** - Shows the alert.
|
|
1919
|
+
* - **hide()** - Hides the alert
|
|
1920
|
+
* - **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when
|
|
1921
|
+
* dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by
|
|
1922
|
+
* calling this method again. The returned promise will resolve after the alert is hidden.
|
|
1922
1923
|
*
|
|
1923
1924
|
* ### **Slots:**
|
|
1924
|
-
* -
|
|
1925
|
+
* - _default_ - The alert's main content.
|
|
1926
|
+
* - **icon** - An icon to show in the alert. Works best with `<sl-icon>`.
|
|
1927
|
+
*
|
|
1928
|
+
* ### **CSS Parts:**
|
|
1929
|
+
* - **base** - The component's base wrapper.
|
|
1930
|
+
* - **icon** - The container that wraps the optional icon.
|
|
1931
|
+
* - **message** - The container that wraps the alert's main content.
|
|
1932
|
+
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
1933
|
+
* - **close-button__base** - The close button's exported `base` part.
|
|
1934
|
+
*/
|
|
1935
|
+
"sl-alert": DefineComponent<SlAlertProps>;
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
1939
|
+
* ---
|
|
1940
|
+
*
|
|
1925
1941
|
*
|
|
1926
|
-
* ### **
|
|
1927
|
-
* -
|
|
1942
|
+
* ### **Slots:**
|
|
1943
|
+
* - _default_ - One or more breadcrumb items to display.
|
|
1944
|
+
* - **separator** - The separator to use between breadcrumb items. Works best with `<sl-icon>`.
|
|
1928
1945
|
*
|
|
1929
1946
|
* ### **CSS Parts:**
|
|
1930
1947
|
* - **base** - The component's base wrapper.
|
|
1931
|
-
* - **icon** - The container that wraps the avatar's icon.
|
|
1932
|
-
* - **initials** - The container that wraps the avatar's initials.
|
|
1933
|
-
* - **image** - The avatar image. Only shown when the `image` attribute is set.
|
|
1934
1948
|
*/
|
|
1935
|
-
"sl-
|
|
1949
|
+
"sl-breadcrumb": DefineComponent<SlBreadcrumbProps>;
|
|
1936
1950
|
|
|
1937
1951
|
/**
|
|
1938
1952
|
* Badges are used to draw attention and display statuses or counts.
|
|
@@ -1948,18 +1962,24 @@ export type CustomElements = {
|
|
|
1948
1962
|
"sl-badge": DefineComponent<SlBadgeProps>;
|
|
1949
1963
|
|
|
1950
1964
|
/**
|
|
1951
|
-
*
|
|
1965
|
+
* Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.
|
|
1952
1966
|
* ---
|
|
1953
1967
|
*
|
|
1954
1968
|
*
|
|
1955
1969
|
* ### **Slots:**
|
|
1956
|
-
* - _default_ -
|
|
1957
|
-
* - **
|
|
1970
|
+
* - _default_ - The breadcrumb item's label.
|
|
1971
|
+
* - **prefix** - An optional prefix, usually an icon or icon button.
|
|
1972
|
+
* - **suffix** - An optional suffix, usually an icon or icon button.
|
|
1973
|
+
* - **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead.
|
|
1958
1974
|
*
|
|
1959
1975
|
* ### **CSS Parts:**
|
|
1960
1976
|
* - **base** - The component's base wrapper.
|
|
1977
|
+
* - **label** - The breadcrumb item's label.
|
|
1978
|
+
* - **prefix** - The container that wraps the prefix.
|
|
1979
|
+
* - **suffix** - The container that wraps the suffix.
|
|
1980
|
+
* - **separator** - The container that wraps the separator.
|
|
1961
1981
|
*/
|
|
1962
|
-
"sl-breadcrumb": DefineComponent<
|
|
1982
|
+
"sl-breadcrumb-item": DefineComponent<SlBreadcrumbItemProps>;
|
|
1963
1983
|
|
|
1964
1984
|
/**
|
|
1965
1985
|
* Buttons represent actions that are available to the user.
|
|
@@ -1996,24 +2016,17 @@ export type CustomElements = {
|
|
|
1996
2016
|
"sl-button": DefineComponent<SlButtonProps>;
|
|
1997
2017
|
|
|
1998
2018
|
/**
|
|
1999
|
-
*
|
|
2019
|
+
* Button groups can be used to group related buttons into sections.
|
|
2000
2020
|
* ---
|
|
2001
2021
|
*
|
|
2002
2022
|
*
|
|
2003
2023
|
* ### **Slots:**
|
|
2004
|
-
* - _default_ -
|
|
2005
|
-
* - **prefix** - An optional prefix, usually an icon or icon button.
|
|
2006
|
-
* - **suffix** - An optional suffix, usually an icon or icon button.
|
|
2007
|
-
* - **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead.
|
|
2024
|
+
* - _default_ - One or more `<sl-button>` elements to display in the button group.
|
|
2008
2025
|
*
|
|
2009
2026
|
* ### **CSS Parts:**
|
|
2010
2027
|
* - **base** - The component's base wrapper.
|
|
2011
|
-
* - **label** - The breadcrumb item's label.
|
|
2012
|
-
* - **prefix** - The container that wraps the prefix.
|
|
2013
|
-
* - **suffix** - The container that wraps the suffix.
|
|
2014
|
-
* - **separator** - The container that wraps the separator.
|
|
2015
2028
|
*/
|
|
2016
|
-
"sl-
|
|
2029
|
+
"sl-button-group": DefineComponent<SlButtonGroupProps>;
|
|
2017
2030
|
|
|
2018
2031
|
/**
|
|
2019
2032
|
* Cards can be used to group related subjects in a container.
|
|
@@ -2077,19 +2090,6 @@ export type CustomElements = {
|
|
|
2077
2090
|
*/
|
|
2078
2091
|
"sl-carousel": DefineComponent<SlCarouselProps>;
|
|
2079
2092
|
|
|
2080
|
-
/**
|
|
2081
|
-
* Button groups can be used to group related buttons into sections.
|
|
2082
|
-
* ---
|
|
2083
|
-
*
|
|
2084
|
-
*
|
|
2085
|
-
* ### **Slots:**
|
|
2086
|
-
* - _default_ - One or more `<sl-button>` elements to display in the button group.
|
|
2087
|
-
*
|
|
2088
|
-
* ### **CSS Parts:**
|
|
2089
|
-
* - **base** - The component's base wrapper.
|
|
2090
|
-
*/
|
|
2091
|
-
"sl-button-group": DefineComponent<SlButtonGroupProps>;
|
|
2092
|
-
|
|
2093
2093
|
/**
|
|
2094
2094
|
* A carousel item represent a slide within a [carousel](/components/carousel).
|
|
2095
2095
|
* ---
|
|
@@ -2417,13 +2417,6 @@ export type CustomElements = {
|
|
|
2417
2417
|
*/
|
|
2418
2418
|
"sl-format-bytes": DefineComponent<SlFormatBytesProps>;
|
|
2419
2419
|
|
|
2420
|
-
/**
|
|
2421
|
-
* Formats a number using the specified locale and options.
|
|
2422
|
-
* ---
|
|
2423
|
-
*
|
|
2424
|
-
*/
|
|
2425
|
-
"sl-format-number": DefineComponent<SlFormatNumberProps>;
|
|
2426
|
-
|
|
2427
2420
|
/**
|
|
2428
2421
|
* Formats a date/time using the specified locale and options.
|
|
2429
2422
|
* ---
|
|
@@ -2446,6 +2439,13 @@ export type CustomElements = {
|
|
|
2446
2439
|
*/
|
|
2447
2440
|
"sl-icon": DefineComponent<SlIconProps>;
|
|
2448
2441
|
|
|
2442
|
+
/**
|
|
2443
|
+
* Formats a number using the specified locale and options.
|
|
2444
|
+
* ---
|
|
2445
|
+
*
|
|
2446
|
+
*/
|
|
2447
|
+
"sl-format-number": DefineComponent<SlFormatNumberProps>;
|
|
2448
|
+
|
|
2449
2449
|
/**
|
|
2450
2450
|
* Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.
|
|
2451
2451
|
* ---
|
|
@@ -2595,30 +2595,30 @@ export type CustomElements = {
|
|
|
2595
2595
|
"sl-menu-item": DefineComponent<SlMenuItemProps>;
|
|
2596
2596
|
|
|
2597
2597
|
/**
|
|
2598
|
-
*
|
|
2598
|
+
* Menu labels are used to describe a group of menu items.
|
|
2599
2599
|
* ---
|
|
2600
2600
|
*
|
|
2601
2601
|
*
|
|
2602
|
-
* ### **Events:**
|
|
2603
|
-
* - **sl-mutation** - Emitted when a mutation occurs.
|
|
2604
|
-
*
|
|
2605
2602
|
* ### **Slots:**
|
|
2606
|
-
* - _default_ - The
|
|
2603
|
+
* - _default_ - The menu label's content.
|
|
2604
|
+
*
|
|
2605
|
+
* ### **CSS Parts:**
|
|
2606
|
+
* - **base** - The component's base wrapper.
|
|
2607
2607
|
*/
|
|
2608
|
-
"sl-
|
|
2608
|
+
"sl-menu-label": DefineComponent<SlMenuLabelProps>;
|
|
2609
2609
|
|
|
2610
2610
|
/**
|
|
2611
|
-
*
|
|
2611
|
+
* The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).
|
|
2612
2612
|
* ---
|
|
2613
2613
|
*
|
|
2614
2614
|
*
|
|
2615
|
-
* ### **
|
|
2616
|
-
* -
|
|
2615
|
+
* ### **Events:**
|
|
2616
|
+
* - **sl-mutation** - Emitted when a mutation occurs.
|
|
2617
2617
|
*
|
|
2618
|
-
* ### **
|
|
2619
|
-
* -
|
|
2618
|
+
* ### **Slots:**
|
|
2619
|
+
* - _default_ - The content to watch for mutations.
|
|
2620
2620
|
*/
|
|
2621
|
-
"sl-
|
|
2621
|
+
"sl-mutation-observer": DefineComponent<SlMutationObserverProps>;
|
|
2622
2622
|
|
|
2623
2623
|
/**
|
|
2624
2624
|
* Navs are used to create navigation menus, including top bars and sidebars.
|
|
@@ -2653,27 +2653,6 @@ export type CustomElements = {
|
|
|
2653
2653
|
*/
|
|
2654
2654
|
"sl-nav-group": DefineComponent<SlNavGroupProps>;
|
|
2655
2655
|
|
|
2656
|
-
/**
|
|
2657
|
-
* Nav items are the individual links or buttons within a navigation menu.
|
|
2658
|
-
* ---
|
|
2659
|
-
*
|
|
2660
|
-
*
|
|
2661
|
-
* ### **Events:**
|
|
2662
|
-
* - **sl-nav-select** - Emitted when a nav item is selected.
|
|
2663
|
-
*
|
|
2664
|
-
* ### **Slots:**
|
|
2665
|
-
* - _default_ - The nav item's label.
|
|
2666
|
-
* - **prefix** - Used to prepend an icon or similar element to the nav item.
|
|
2667
|
-
* - **suffix** - Used to append an icon or similar element to the nav item.
|
|
2668
|
-
*
|
|
2669
|
-
* ### **CSS Parts:**
|
|
2670
|
-
* - **base** - The component's base wrapper.
|
|
2671
|
-
* - **prefix** - The prefix container.
|
|
2672
|
-
* - **label** - The nav item label.
|
|
2673
|
-
* - **suffix** - The suffix container.
|
|
2674
|
-
*/
|
|
2675
|
-
"sl-nav-item": DefineComponent<SlNavItemProps>;
|
|
2676
|
-
|
|
2677
2656
|
/**
|
|
2678
2657
|
* Nav submenus are used to group related nav items in a hierarchical structure.
|
|
2679
2658
|
* ---
|
|
@@ -2709,6 +2688,27 @@ export type CustomElements = {
|
|
|
2709
2688
|
*/
|
|
2710
2689
|
"sl-nav-submenu": DefineComponent<SlNavSubmenuProps>;
|
|
2711
2690
|
|
|
2691
|
+
/**
|
|
2692
|
+
* Nav items are the individual links or buttons within a navigation menu.
|
|
2693
|
+
* ---
|
|
2694
|
+
*
|
|
2695
|
+
*
|
|
2696
|
+
* ### **Events:**
|
|
2697
|
+
* - **sl-nav-select** - Emitted when a nav item is selected.
|
|
2698
|
+
*
|
|
2699
|
+
* ### **Slots:**
|
|
2700
|
+
* - _default_ - The nav item's label.
|
|
2701
|
+
* - **prefix** - Used to prepend an icon or similar element to the nav item.
|
|
2702
|
+
* - **suffix** - Used to append an icon or similar element to the nav item.
|
|
2703
|
+
*
|
|
2704
|
+
* ### **CSS Parts:**
|
|
2705
|
+
* - **base** - The component's base wrapper.
|
|
2706
|
+
* - **prefix** - The prefix container.
|
|
2707
|
+
* - **label** - The nav item label.
|
|
2708
|
+
* - **suffix** - The suffix container.
|
|
2709
|
+
*/
|
|
2710
|
+
"sl-nav-item": DefineComponent<SlNavItemProps>;
|
|
2711
|
+
|
|
2712
2712
|
/**
|
|
2713
2713
|
* Options define the selectable items within various form controls such as [select](/components/select).
|
|
2714
2714
|
* ---
|
|
@@ -2977,31 +2977,31 @@ export type CustomElements = {
|
|
|
2977
2977
|
"sl-relative-time": DefineComponent<SlRelativeTimeProps>;
|
|
2978
2978
|
|
|
2979
2979
|
/**
|
|
2980
|
-
*
|
|
2980
|
+
* The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
|
|
2981
2981
|
* ---
|
|
2982
2982
|
*
|
|
2983
2983
|
*
|
|
2984
|
-
* ### **
|
|
2985
|
-
* - **
|
|
2986
|
-
* - **getInstance(): __** - 获取 GridStack 实例的序列化数据
|
|
2984
|
+
* ### **Events:**
|
|
2985
|
+
* - **sl-resize** - Emitted when the element is resized.
|
|
2987
2986
|
*
|
|
2988
|
-
* ### **
|
|
2989
|
-
* -
|
|
2987
|
+
* ### **Slots:**
|
|
2988
|
+
* - _default_ - One or more elements to watch for resizing.
|
|
2990
2989
|
*/
|
|
2991
|
-
"sl-
|
|
2990
|
+
"sl-resize-observer": DefineComponent<SlResizeObserverProps>;
|
|
2992
2991
|
|
|
2993
2992
|
/**
|
|
2994
|
-
*
|
|
2993
|
+
* Screen is a grid layout component based on gridstack.js and Shoelace.
|
|
2995
2994
|
* ---
|
|
2996
2995
|
*
|
|
2997
2996
|
*
|
|
2998
|
-
* ### **
|
|
2999
|
-
* - **
|
|
2997
|
+
* ### **Methods:**
|
|
2998
|
+
* - **getGridData(): __** - 获取 GridStack 实例的序列化数据
|
|
2999
|
+
* - **getInstance(): __** - 获取 GridStack 实例的序列化数据
|
|
3000
3000
|
*
|
|
3001
|
-
* ### **
|
|
3002
|
-
* -
|
|
3001
|
+
* ### **CSS Parts:**
|
|
3002
|
+
* - **base** - The grid layout content.
|
|
3003
3003
|
*/
|
|
3004
|
-
"sl-
|
|
3004
|
+
"sl-screen": DefineComponent<SlScreenProps>;
|
|
3005
3005
|
|
|
3006
3006
|
/**
|
|
3007
3007
|
* Selects allow you to choose items from a menu of predefined options.
|
|
@@ -3119,6 +3119,24 @@ export type CustomElements = {
|
|
|
3119
3119
|
*/
|
|
3120
3120
|
"sl-split-panel": DefineComponent<SlSplitPanelProps>;
|
|
3121
3121
|
|
|
3122
|
+
/**
|
|
3123
|
+
* Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).
|
|
3124
|
+
* ---
|
|
3125
|
+
*
|
|
3126
|
+
*
|
|
3127
|
+
* ### **Events:**
|
|
3128
|
+
* - **sl-close** - Emitted when the tab is closable and the close button is activated.
|
|
3129
|
+
*
|
|
3130
|
+
* ### **Slots:**
|
|
3131
|
+
* - _default_ - The tab's label.
|
|
3132
|
+
*
|
|
3133
|
+
* ### **CSS Parts:**
|
|
3134
|
+
* - **base** - The component's base wrapper.
|
|
3135
|
+
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
3136
|
+
* - **close-button__base** - The close button's exported `base` part.
|
|
3137
|
+
*/
|
|
3138
|
+
"sl-tab": DefineComponent<SlTabProps>;
|
|
3139
|
+
|
|
3122
3140
|
/**
|
|
3123
3141
|
* Switches allow the user to toggle an option on or off.
|
|
3124
3142
|
* ---
|
|
@@ -3158,40 +3176,6 @@ export type CustomElements = {
|
|
|
3158
3176
|
*/
|
|
3159
3177
|
"sl-switch": DefineComponent<SlSwitchProps>;
|
|
3160
3178
|
|
|
3161
|
-
/**
|
|
3162
|
-
* Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).
|
|
3163
|
-
* ---
|
|
3164
|
-
*
|
|
3165
|
-
*
|
|
3166
|
-
* ### **Events:**
|
|
3167
|
-
* - **sl-close** - Emitted when the tab is closable and the close button is activated.
|
|
3168
|
-
*
|
|
3169
|
-
* ### **Slots:**
|
|
3170
|
-
* - _default_ - The tab's label.
|
|
3171
|
-
*
|
|
3172
|
-
* ### **CSS Parts:**
|
|
3173
|
-
* - **base** - The component's base wrapper.
|
|
3174
|
-
* - **close-button** - The close button, an `<sl-icon-button>`.
|
|
3175
|
-
* - **close-button__base** - The close button's exported `base` part.
|
|
3176
|
-
*/
|
|
3177
|
-
"sl-tab": DefineComponent<SlTabProps>;
|
|
3178
|
-
|
|
3179
|
-
/**
|
|
3180
|
-
* Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
|
|
3181
|
-
* ---
|
|
3182
|
-
*
|
|
3183
|
-
*
|
|
3184
|
-
* ### **Slots:**
|
|
3185
|
-
* - _default_ - The tab panel's content.
|
|
3186
|
-
*
|
|
3187
|
-
* ### **CSS Properties:**
|
|
3188
|
-
* - **--padding** - The tab panel's padding. _(default: undefined)_
|
|
3189
|
-
*
|
|
3190
|
-
* ### **CSS Parts:**
|
|
3191
|
-
* - **base** - The component's base wrapper.
|
|
3192
|
-
*/
|
|
3193
|
-
"sl-tab-panel": DefineComponent<SlTabPanelProps>;
|
|
3194
|
-
|
|
3195
3179
|
/**
|
|
3196
3180
|
* Tab groups organize content into a container that shows one section at a time.
|
|
3197
3181
|
* ---
|
|
@@ -3227,33 +3211,30 @@ export type CustomElements = {
|
|
|
3227
3211
|
"sl-tab-group": DefineComponent<SlTabGroupProps>;
|
|
3228
3212
|
|
|
3229
3213
|
/**
|
|
3230
|
-
*
|
|
3214
|
+
* Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
|
|
3231
3215
|
* ---
|
|
3232
3216
|
*
|
|
3233
3217
|
*
|
|
3234
|
-
* ### **
|
|
3235
|
-
* -
|
|
3218
|
+
* ### **Slots:**
|
|
3219
|
+
* - _default_ - The tab panel's content.
|
|
3220
|
+
*
|
|
3221
|
+
* ### **CSS Properties:**
|
|
3222
|
+
* - **--padding** - The tab panel's padding. _(default: undefined)_
|
|
3223
|
+
*
|
|
3224
|
+
* ### **CSS Parts:**
|
|
3225
|
+
* - **base** - The component's base wrapper.
|
|
3236
3226
|
*/
|
|
3237
|
-
"sl-
|
|
3227
|
+
"sl-tab-panel": DefineComponent<SlTabPanelProps>;
|
|
3238
3228
|
|
|
3239
3229
|
/**
|
|
3240
|
-
*
|
|
3230
|
+
*
|
|
3241
3231
|
* ---
|
|
3242
3232
|
*
|
|
3243
3233
|
*
|
|
3244
3234
|
* ### **Events:**
|
|
3245
|
-
* - **
|
|
3246
|
-
*
|
|
3247
|
-
* ### **Slots:**
|
|
3248
|
-
* - _default_ - The tag's content.
|
|
3249
|
-
*
|
|
3250
|
-
* ### **CSS Parts:**
|
|
3251
|
-
* - **base** - The component's base wrapper.
|
|
3252
|
-
* - **content** - The tag's content.
|
|
3253
|
-
* - **remove-button** - The tag's remove button, an `<sl-icon-button>`.
|
|
3254
|
-
* - **remove-button__base** - The remove button's exported `base` part.
|
|
3235
|
+
* - **change**
|
|
3255
3236
|
*/
|
|
3256
|
-
"sl-
|
|
3237
|
+
"sl-table": DefineComponent<SlTableProps>;
|
|
3257
3238
|
|
|
3258
3239
|
/**
|
|
3259
3240
|
* Textareas collect data from the user and allow multiple lines of text.
|
|
@@ -3293,6 +3274,25 @@ export type CustomElements = {
|
|
|
3293
3274
|
*/
|
|
3294
3275
|
"sl-textarea": DefineComponent<SlTextareaProps>;
|
|
3295
3276
|
|
|
3277
|
+
/**
|
|
3278
|
+
* Tags are used as labels to organize things or to indicate a selection.
|
|
3279
|
+
* ---
|
|
3280
|
+
*
|
|
3281
|
+
*
|
|
3282
|
+
* ### **Events:**
|
|
3283
|
+
* - **sl-remove** - Emitted when the remove button is activated.
|
|
3284
|
+
*
|
|
3285
|
+
* ### **Slots:**
|
|
3286
|
+
* - _default_ - The tag's content.
|
|
3287
|
+
*
|
|
3288
|
+
* ### **CSS Parts:**
|
|
3289
|
+
* - **base** - The component's base wrapper.
|
|
3290
|
+
* - **content** - The tag's content.
|
|
3291
|
+
* - **remove-button** - The tag's remove button, an `<sl-icon-button>`.
|
|
3292
|
+
* - **remove-button__base** - The remove button's exported `base` part.
|
|
3293
|
+
*/
|
|
3294
|
+
"sl-tag": DefineComponent<SlTagProps>;
|
|
3295
|
+
|
|
3296
3296
|
/**
|
|
3297
3297
|
* A time picker component that provides a time selection interface.
|
|
3298
3298
|
* ---
|