@cruglobal/cornerstone-components 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +7 -0
- package/NOTICE +50 -0
- package/README.md +119 -0
- package/dist/bundled/chunks/chunk.23WKGLJ2.js +1927 -0
- package/dist/bundled/chunks/chunk.27C34IAM.js +13 -0
- package/dist/bundled/chunks/chunk.2DAXWPZV.js +18 -0
- package/dist/bundled/chunks/chunk.2HAZJKLI.js +34 -0
- package/dist/bundled/chunks/chunk.2JNTRGJV.js +13 -0
- package/dist/bundled/chunks/chunk.2OLAKXLK.js +12 -0
- package/dist/bundled/chunks/chunk.2QEUZLQ6.js +70 -0
- package/dist/bundled/chunks/chunk.2UBHNTHX.js +45 -0
- package/dist/bundled/chunks/chunk.2WCGILWX.js +127 -0
- package/dist/bundled/chunks/chunk.2ZATROB4.js +29 -0
- package/dist/bundled/chunks/chunk.2ZXLELS7.js +30 -0
- package/dist/bundled/chunks/chunk.36VL6LJI.js +12 -0
- package/dist/bundled/chunks/chunk.3MV76N7H.js +13 -0
- package/dist/bundled/chunks/chunk.3N6XINZY.js +27 -0
- package/dist/bundled/chunks/chunk.3NBLWWHJ.js +87 -0
- package/dist/bundled/chunks/chunk.3QOMHIHS.js +32 -0
- package/dist/bundled/chunks/chunk.3UWHQ3GK.js +307 -0
- package/dist/bundled/chunks/chunk.3XMG24UK.js +29 -0
- package/dist/bundled/chunks/chunk.3XMRDGUU.js +66 -0
- package/dist/bundled/chunks/chunk.42KBYSLU.js +29 -0
- package/dist/bundled/chunks/chunk.47HTX52O.js +287 -0
- package/dist/bundled/chunks/chunk.4BW2YULR.js +166 -0
- package/dist/bundled/chunks/chunk.4ETEFPP6.js +31 -0
- package/dist/bundled/chunks/chunk.4SEF2WUP.js +13 -0
- package/dist/bundled/chunks/chunk.4WA5SEFV.js +27 -0
- package/dist/bundled/chunks/chunk.5B7YAEGG.js +29 -0
- package/dist/bundled/chunks/chunk.5DSCTMEL.js +13 -0
- package/dist/bundled/chunks/chunk.5EN53P6J.js +383 -0
- package/dist/bundled/chunks/chunk.5FJHYE2X.js +253 -0
- package/dist/bundled/chunks/chunk.5HBYRBM6.js +268 -0
- package/dist/bundled/chunks/chunk.5MGJKMWB.js +13 -0
- package/dist/bundled/chunks/chunk.5NSOPHRL.js +36 -0
- package/dist/bundled/chunks/chunk.5O4MAY7T.js +1490 -0
- package/dist/bundled/chunks/chunk.5V6UJVQ3.js +27 -0
- package/dist/bundled/chunks/chunk.5YJBS6P5.js +30 -0
- package/dist/bundled/chunks/chunk.5ZCWBZDZ.js +73 -0
- package/dist/bundled/chunks/chunk.6BG3GNQA.js +550 -0
- package/dist/bundled/chunks/chunk.6CWMGV64.js +27 -0
- package/dist/bundled/chunks/chunk.6FSSNFWF.js +200 -0
- package/dist/bundled/chunks/chunk.6INMSSKP.js +75 -0
- package/dist/bundled/chunks/chunk.6NAJPFMO.js +211 -0
- package/dist/bundled/chunks/chunk.6VPT7HY4.js +211 -0
- package/dist/bundled/chunks/chunk.6Y52BV7N.js +285 -0
- package/dist/bundled/chunks/chunk.72R6V6OM.js +342 -0
- package/dist/bundled/chunks/chunk.74FR627V.js +27 -0
- package/dist/bundled/chunks/chunk.76C4P3HV.js +33 -0
- package/dist/bundled/chunks/chunk.76WNH435.js +468 -0
- package/dist/bundled/chunks/chunk.7AJGTGQI.js +20 -0
- package/dist/bundled/chunks/chunk.7CGB2RAD.js +318 -0
- package/dist/bundled/chunks/chunk.7D5RCNJC.js +19 -0
- package/dist/bundled/chunks/chunk.7G2ZH3OO.js +29 -0
- package/dist/bundled/chunks/chunk.7HQKZN4K.js +27 -0
- package/dist/bundled/chunks/chunk.7IWYAIV2.js +345 -0
- package/dist/bundled/chunks/chunk.7LVDRYR7.js +81 -0
- package/dist/bundled/chunks/chunk.7OKJNNNC.js +32 -0
- package/dist/bundled/chunks/chunk.7RTAQFEN.js +31 -0
- package/dist/bundled/chunks/chunk.7YUYD5DQ.js +105 -0
- package/dist/bundled/chunks/chunk.A2JHAWF4.js +12 -0
- package/dist/bundled/chunks/chunk.A5TKTICR.js +34 -0
- package/dist/bundled/chunks/chunk.AGI7JCZM.js +1 -0
- package/dist/bundled/chunks/chunk.AHJQ4242.js +245 -0
- package/dist/bundled/chunks/chunk.ALHQDF3Q.js +118 -0
- package/dist/bundled/chunks/chunk.AR4RUWGG.js +169 -0
- package/dist/bundled/chunks/chunk.ASMIK33G.js +15 -0
- package/dist/bundled/chunks/chunk.AVPP7AM7.js +27 -0
- package/dist/bundled/chunks/chunk.B3ZA5Q3S.js +27 -0
- package/dist/bundled/chunks/chunk.BDPKRA7V.js +27 -0
- package/dist/bundled/chunks/chunk.BGW4B7ME.js +32 -0
- package/dist/bundled/chunks/chunk.BMRDDP5U.js +135 -0
- package/dist/bundled/chunks/chunk.BMURGKJY.js +34 -0
- package/dist/bundled/chunks/chunk.BNGGMXK5.js +12 -0
- package/dist/bundled/chunks/chunk.C35X7UKU.js +113 -0
- package/dist/bundled/chunks/chunk.C4LWIP7I.js +241 -0
- package/dist/bundled/chunks/chunk.C7WUXH7W.js +223 -0
- package/dist/bundled/chunks/chunk.CAVIMOX7.js +13 -0
- package/dist/bundled/chunks/chunk.CBPTZHUR.js +31 -0
- package/dist/bundled/chunks/chunk.CEUQE3ZD.js +94 -0
- package/dist/bundled/chunks/chunk.CPODCRNC.js +34 -0
- package/dist/bundled/chunks/chunk.CVYRHSAD.js +13 -0
- package/dist/bundled/chunks/chunk.CYTM5IYV.js +48 -0
- package/dist/bundled/chunks/chunk.CYXYTISQ.js +937 -0
- package/dist/bundled/chunks/chunk.DEAOSDBT.js +27 -0
- package/dist/bundled/chunks/chunk.DHGELCIC.js +297 -0
- package/dist/bundled/chunks/chunk.DI56R5G6.js +508 -0
- package/dist/bundled/chunks/chunk.DJGKLHDS.js +12 -0
- package/dist/bundled/chunks/chunk.DKNMYQC4.js +153 -0
- package/dist/bundled/chunks/chunk.DLMAYLGX.js +27 -0
- package/dist/bundled/chunks/chunk.DM7SWWJJ.js +13 -0
- package/dist/bundled/chunks/chunk.DOGS4CZF.js +12 -0
- package/dist/bundled/chunks/chunk.DPZ5NAHI.js +307 -0
- package/dist/bundled/chunks/chunk.DUIEJOXX.js +13 -0
- package/dist/bundled/chunks/chunk.DVULTFYK.js +395 -0
- package/dist/bundled/chunks/chunk.DWWUU7WA.js +77 -0
- package/dist/bundled/chunks/chunk.E2U35YDM.js +44 -0
- package/dist/bundled/chunks/chunk.E2W6ZXUI.js +238 -0
- package/dist/bundled/chunks/chunk.E5AVYLVH.js +29 -0
- package/dist/bundled/chunks/chunk.EBKQU5NV.js +31 -0
- package/dist/bundled/chunks/chunk.ED5JD6B5.js +112 -0
- package/dist/bundled/chunks/chunk.EEH6NBPI.js +27 -0
- package/dist/bundled/chunks/chunk.EFKRQGJH.js +370 -0
- package/dist/bundled/chunks/chunk.EG5REAY7.js +354 -0
- package/dist/bundled/chunks/chunk.EJMJ6JDQ.js +27 -0
- package/dist/bundled/chunks/chunk.EJSU7GFZ.js +58 -0
- package/dist/bundled/chunks/chunk.EL4JV2UT.js +188 -0
- package/dist/bundled/chunks/chunk.F4Z4PXXT.js +13 -0
- package/dist/bundled/chunks/chunk.F53YJM7K.js +375 -0
- package/dist/bundled/chunks/chunk.F5DSG3UB.js +65 -0
- package/dist/bundled/chunks/chunk.F7VO4TX4.js +29 -0
- package/dist/bundled/chunks/chunk.FG7ALZ4R.js +94 -0
- package/dist/bundled/chunks/chunk.FGNU55DN.js +37 -0
- package/dist/bundled/chunks/chunk.FHKUB4MZ.js +17 -0
- package/dist/bundled/chunks/chunk.FUZN42WM.js +15 -0
- package/dist/bundled/chunks/chunk.FVPUKB2U.js +27 -0
- package/dist/bundled/chunks/chunk.G4E4GN4C.js +122 -0
- package/dist/bundled/chunks/chunk.GCLBBPXW.js +85 -0
- package/dist/bundled/chunks/chunk.GJJU3I5S.js +136 -0
- package/dist/bundled/chunks/chunk.GKR2DLVL.js +12 -0
- package/dist/bundled/chunks/chunk.GSIRCGUE.js +58 -0
- package/dist/bundled/chunks/chunk.GT5PEMIO.js +54 -0
- package/dist/bundled/chunks/chunk.GUH4J3HX.js +30 -0
- package/dist/bundled/chunks/chunk.GVHHAHHN.js +120 -0
- package/dist/bundled/chunks/chunk.GZ2B7PDS.js +29 -0
- package/dist/bundled/chunks/chunk.GZ74RBL2.js +27 -0
- package/dist/bundled/chunks/chunk.GZBLDFJY.js +12 -0
- package/dist/bundled/chunks/chunk.H6HOECHG.js +117 -0
- package/dist/bundled/chunks/chunk.HERJZXS2.js +42 -0
- package/dist/bundled/chunks/chunk.HGZPUTYB.js +66 -0
- package/dist/bundled/chunks/chunk.HKGYFZKM.js +12 -0
- package/dist/bundled/chunks/chunk.HMC6XL2M.js +47 -0
- package/dist/bundled/chunks/chunk.HNISCUJX.js +27 -0
- package/dist/bundled/chunks/chunk.HNK5SA2X.js +227 -0
- package/dist/bundled/chunks/chunk.HRQDVJCP.js +13 -0
- package/dist/bundled/chunks/chunk.HVRBYPAL.js +36 -0
- package/dist/bundled/chunks/chunk.I3PW7M6I.js +180 -0
- package/dist/bundled/chunks/chunk.I75R6AAB.js +98 -0
- package/dist/bundled/chunks/chunk.IDFE6ED7.js +27 -0
- package/dist/bundled/chunks/chunk.IEAQPCH5.js +32 -0
- package/dist/bundled/chunks/chunk.IQJMSIWD.js +56 -0
- package/dist/bundled/chunks/chunk.ITDZMCUA.js +24 -0
- package/dist/bundled/chunks/chunk.IUTLQHI3.js +76 -0
- package/dist/bundled/chunks/chunk.IWBI43US.js +30 -0
- package/dist/bundled/chunks/chunk.J54TPJJR.js +13 -0
- package/dist/bundled/chunks/chunk.JCMK3SVY.js +101 -0
- package/dist/bundled/chunks/chunk.JD7ZXVFZ.js +95 -0
- package/dist/bundled/chunks/chunk.JE6NWSEX.js +20 -0
- package/dist/bundled/chunks/chunk.JFZTNMKP.js +27 -0
- package/dist/bundled/chunks/chunk.JULSATIO.js +64 -0
- package/dist/bundled/chunks/chunk.JWFTJDOQ.js +46 -0
- package/dist/bundled/chunks/chunk.KAIO5XHI.js +236 -0
- package/dist/bundled/chunks/chunk.KAWWN6JF.js +114 -0
- package/dist/bundled/chunks/chunk.KCSF6NHY.js +12 -0
- package/dist/bundled/chunks/chunk.KIU3QIDA.js +29 -0
- package/dist/bundled/chunks/chunk.KMMJHN3W.js +15 -0
- package/dist/bundled/chunks/chunk.KN5NL54R.js +103 -0
- package/dist/bundled/chunks/chunk.KNIF5YYS.js +120 -0
- package/dist/bundled/chunks/chunk.KQ5YCOHN.js +15 -0
- package/dist/bundled/chunks/chunk.KSGC4EJG.js +252 -0
- package/dist/bundled/chunks/chunk.KTPC5MDL.js +32 -0
- package/dist/bundled/chunks/chunk.KVDJEYXZ.js +13 -0
- package/dist/bundled/chunks/chunk.KVQHYBZN.js +12 -0
- package/dist/bundled/chunks/chunk.KWPEWGIL.js +258 -0
- package/dist/bundled/chunks/chunk.KYEUBKCN.js +29 -0
- package/dist/bundled/chunks/chunk.KYFP5AW3.js +32 -0
- package/dist/bundled/chunks/chunk.KZLT7WO7.js +91 -0
- package/dist/bundled/chunks/chunk.L22FZUBW.js +129 -0
- package/dist/bundled/chunks/chunk.L7NZ73KH.js +155 -0
- package/dist/bundled/chunks/chunk.LAITVBL4.js +33 -0
- package/dist/bundled/chunks/chunk.LASHP2SY.js +30 -0
- package/dist/bundled/chunks/chunk.LILWNNB7.js +350 -0
- package/dist/bundled/chunks/chunk.LJBXODA4.js +47 -0
- package/dist/bundled/chunks/chunk.LMXMK4DT.js +447 -0
- package/dist/bundled/chunks/chunk.LPUHNZTF.js +88 -0
- package/dist/bundled/chunks/chunk.LRRLWOE6.js +166 -0
- package/dist/bundled/chunks/chunk.LVHU6H2Q.js +29 -0
- package/dist/bundled/chunks/chunk.MD5XGOGB.js +32 -0
- package/dist/bundled/chunks/chunk.MD7QGXV6.js +338 -0
- package/dist/bundled/chunks/chunk.MDTLTHHU.js +138 -0
- package/dist/bundled/chunks/chunk.MDV4MWU5.js +47 -0
- package/dist/bundled/chunks/chunk.MGBGUTRM.js +23 -0
- package/dist/bundled/chunks/chunk.MKOIOS7V.js +37 -0
- package/dist/bundled/chunks/chunk.MOKW7CPV.js +2191 -0
- package/dist/bundled/chunks/chunk.MQJIK3RG.js +24 -0
- package/dist/bundled/chunks/chunk.MQUMMXU7.js +112 -0
- package/dist/bundled/chunks/chunk.MU5MTXP6.js +30 -0
- package/dist/bundled/chunks/chunk.MXDDVMNT.js +85 -0
- package/dist/bundled/chunks/chunk.MZHGFMA5.js +342 -0
- package/dist/bundled/chunks/chunk.N2RWV4HH.js +260 -0
- package/dist/bundled/chunks/chunk.N3T5NHUN.js +170 -0
- package/dist/bundled/chunks/chunk.N46QJHPG.js +12 -0
- package/dist/bundled/chunks/chunk.N6624IF2.js +94 -0
- package/dist/bundled/chunks/chunk.NDXS5GCM.js +15 -0
- package/dist/bundled/chunks/chunk.NFP5T275.js +583 -0
- package/dist/bundled/chunks/chunk.NGAZFNTC.js +97 -0
- package/dist/bundled/chunks/chunk.NGRHC5GL.js +29 -0
- package/dist/bundled/chunks/chunk.NJQPV52Q.js +725 -0
- package/dist/bundled/chunks/chunk.NKGLYYO4.js +134 -0
- package/dist/bundled/chunks/chunk.NNJFSEIV.js +33 -0
- package/dist/bundled/chunks/chunk.NP5FUMQ2.js +180 -0
- package/dist/bundled/chunks/chunk.NWYNPB7G.js +27 -0
- package/dist/bundled/chunks/chunk.NXATREZW.js +92 -0
- package/dist/bundled/chunks/chunk.O2Q2PPT3.js +339 -0
- package/dist/bundled/chunks/chunk.O677NKTT.js +27 -0
- package/dist/bundled/chunks/chunk.O6L7CNGM.js +12 -0
- package/dist/bundled/chunks/chunk.OA3WP5I4.js +100 -0
- package/dist/bundled/chunks/chunk.OD5WDX3O.js +65 -0
- package/dist/bundled/chunks/chunk.OKL7JOEL.js +41 -0
- package/dist/bundled/chunks/chunk.OMGOX7LB.js +27 -0
- package/dist/bundled/chunks/chunk.OMVBTU6M.js +287 -0
- package/dist/bundled/chunks/chunk.OPY26TZJ.js +51 -0
- package/dist/bundled/chunks/chunk.OQK3II74.js +47 -0
- package/dist/bundled/chunks/chunk.OVDICTH3.js +71 -0
- package/dist/bundled/chunks/chunk.OW5D4XFX.js +27 -0
- package/dist/bundled/chunks/chunk.OX3NMSH4.js +429 -0
- package/dist/bundled/chunks/chunk.OXWOBIXT.js +92 -0
- package/dist/bundled/chunks/chunk.P32FPAIL.js +231 -0
- package/dist/bundled/chunks/chunk.P5GAO3JR.js +25 -0
- package/dist/bundled/chunks/chunk.P5KEF34T.js +27 -0
- package/dist/bundled/chunks/chunk.P7WSEWAS.js +13 -0
- package/dist/bundled/chunks/chunk.PBUDFS6D.js +664 -0
- package/dist/bundled/chunks/chunk.PBZ5J7GL.js +10 -0
- package/dist/bundled/chunks/chunk.PKTJKPXW.js +31 -0
- package/dist/bundled/chunks/chunk.PME77QE2.js +341 -0
- package/dist/bundled/chunks/chunk.PMFAZK3U.js +51 -0
- package/dist/bundled/chunks/chunk.PNR7LCSG.js +29 -0
- package/dist/bundled/chunks/chunk.PQCOB5NA.js +1342 -0
- package/dist/bundled/chunks/chunk.PULBYVC7.js +30 -0
- package/dist/bundled/chunks/chunk.PXVXZXIQ.js +85 -0
- package/dist/bundled/chunks/chunk.QFOWTC4I.js +108 -0
- package/dist/bundled/chunks/chunk.QS24RS53.js +13 -0
- package/dist/bundled/chunks/chunk.QSXSR2S5.js +18 -0
- package/dist/bundled/chunks/chunk.R24ZHMBJ.js +51 -0
- package/dist/bundled/chunks/chunk.R3HUWC2P.js +83 -0
- package/dist/bundled/chunks/chunk.R5SVRGFM.js +332 -0
- package/dist/bundled/chunks/chunk.R7U52QXK.js +980 -0
- package/dist/bundled/chunks/chunk.RCLNUWC4.js +29 -0
- package/dist/bundled/chunks/chunk.RESB5OMT.js +122 -0
- package/dist/bundled/chunks/chunk.RIFI5PWB.js +29 -0
- package/dist/bundled/chunks/chunk.RK2WQVRH.js +256 -0
- package/dist/bundled/chunks/chunk.RKGCFOCD.js +12 -0
- package/dist/bundled/chunks/chunk.RQ57OUHC.js +32 -0
- package/dist/bundled/chunks/chunk.RSGTXZ3J.js +13 -0
- package/dist/bundled/chunks/chunk.RSRMXC3L.js +384 -0
- package/dist/bundled/chunks/chunk.RVXR3VP3.js +30 -0
- package/dist/bundled/chunks/chunk.RZBC5IQH.js +389 -0
- package/dist/bundled/chunks/chunk.S3ERUAPJ.js +78 -0
- package/dist/bundled/chunks/chunk.SDYIGEVY.js +171 -0
- package/dist/bundled/chunks/chunk.SJWGECOY.js +12 -0
- package/dist/bundled/chunks/chunk.SS3RBTD7.js +854 -0
- package/dist/bundled/chunks/chunk.ST4TDXY6.js +12 -0
- package/dist/bundled/chunks/chunk.T5E3PTDI.js +173 -0
- package/dist/bundled/chunks/chunk.T7K3NQ6Z.js +362 -0
- package/dist/bundled/chunks/chunk.TLRTN7CQ.js +297 -0
- package/dist/bundled/chunks/chunk.TOKT2OBT.js +12 -0
- package/dist/bundled/chunks/chunk.TPLWITTC.js +58 -0
- package/dist/bundled/chunks/chunk.TSR624LM.js +15 -0
- package/dist/bundled/chunks/chunk.TTLMCATW.js +89 -0
- package/dist/bundled/chunks/chunk.TVA63IQG.js +32 -0
- package/dist/bundled/chunks/chunk.TVDKCH42.js +29 -0
- package/dist/bundled/chunks/chunk.U7X26AJ7.js +30 -0
- package/dist/bundled/chunks/chunk.UBUP4T3S.js +27 -0
- package/dist/bundled/chunks/chunk.UEAH232U.js +64 -0
- package/dist/bundled/chunks/chunk.UHATJN6C.js +44 -0
- package/dist/bundled/chunks/chunk.UKHZB7OT.js +25 -0
- package/dist/bundled/chunks/chunk.US4FU4HD.js +12 -0
- package/dist/bundled/chunks/chunk.USW4S5HZ.js +20 -0
- package/dist/bundled/chunks/chunk.USYOGYAD.js +147 -0
- package/dist/bundled/chunks/chunk.V3WAYU6A.js +128 -0
- package/dist/bundled/chunks/chunk.V7UH7V6L.js +300 -0
- package/dist/bundled/chunks/chunk.VAQ3XPZH.js +27 -0
- package/dist/bundled/chunks/chunk.VJLXQNDJ.js +26 -0
- package/dist/bundled/chunks/chunk.VNKDNSXW.js +98 -0
- package/dist/bundled/chunks/chunk.VPFERRRS.js +13 -0
- package/dist/bundled/chunks/chunk.VU3T6CVI.js +984 -0
- package/dist/bundled/chunks/chunk.VUONXSNQ.js +27 -0
- package/dist/bundled/chunks/chunk.VYJPSVWO.js +174 -0
- package/dist/bundled/chunks/chunk.W7FII46Q.js +1 -0
- package/dist/bundled/chunks/chunk.WDJ33J2N.js +34 -0
- package/dist/bundled/chunks/chunk.WN6F72N3.js +13 -0
- package/dist/bundled/chunks/chunk.WNJXTYPU.js +29 -0
- package/dist/bundled/chunks/chunk.WPRRGYV4.js +13 -0
- package/dist/bundled/chunks/chunk.WYOUIY55.js +1 -0
- package/dist/bundled/chunks/chunk.X5GXL2SW.js +27 -0
- package/dist/bundled/chunks/chunk.X6NXO5FA.js +27 -0
- package/dist/bundled/chunks/chunk.XAOMG6TP.js +337 -0
- package/dist/bundled/chunks/chunk.XDOYOYE6.js +12 -0
- package/dist/bundled/chunks/chunk.XJUQRXWZ.js +12 -0
- package/dist/bundled/chunks/chunk.XOXMMJPV.js +275 -0
- package/dist/bundled/chunks/chunk.XVNJJYS7.js +27 -0
- package/dist/bundled/chunks/chunk.XZSSTAPG.js +29 -0
- package/dist/bundled/chunks/chunk.YCZYUBSA.js +27 -0
- package/dist/bundled/chunks/chunk.YFDYOTVG.js +29 -0
- package/dist/bundled/chunks/chunk.YFRAY3EX.js +44 -0
- package/dist/bundled/chunks/chunk.YR4AIV36.js +61 -0
- package/dist/bundled/chunks/chunk.YWKXROPM.js +116 -0
- package/dist/bundled/chunks/chunk.YWQSMSCB.js +13 -0
- package/dist/bundled/chunks/chunk.YWXZTRIE.js +94 -0
- package/dist/bundled/chunks/chunk.Z5ABTJBS.js +24 -0
- package/dist/bundled/chunks/chunk.Z77QXX3S.js +27 -0
- package/dist/bundled/chunks/chunk.ZA72SX75.js +85 -0
- package/dist/bundled/chunks/chunk.ZDLYN4JZ.js +2228 -0
- package/dist/bundled/chunks/chunk.ZFBJZ77S.js +12 -0
- package/dist/bundled/chunks/chunk.ZFKWSVQ4.js +1 -0
- package/dist/bundled/chunks/chunk.ZHAJOHUP.js +124 -0
- package/dist/bundled/chunks/chunk.ZISWZYKB.js +343 -0
- package/dist/bundled/chunks/chunk.ZLZZNVNV.js +138 -0
- package/dist/bundled/chunks/chunk.ZMAQ2XNO.js +39 -0
- package/dist/bundled/chunks/chunk.ZQKBPA5C.js +232 -0
- package/dist/bundled/chunks/chunk.ZZZJOLTN.js +242 -0
- package/dist/bundled/components/accordion/accordion.d.ts +55 -0
- package/dist/bundled/components/accordion/accordion.js +40 -0
- package/dist/bundled/components/accordion/accordion.styles.d.ts +2 -0
- package/dist/bundled/components/accordion/accordion.styles.js +10 -0
- package/dist/bundled/components/accordion-item/accordion-item.d.ts +72 -0
- package/dist/bundled/components/accordion-item/accordion-item.js +34 -0
- package/dist/bundled/components/accordion-item/accordion-item.styles.d.ts +2 -0
- package/dist/bundled/components/accordion-item/accordion-item.styles.js +10 -0
- package/dist/bundled/components/animated-image/animated-image.d.ts +51 -0
- package/dist/bundled/components/animated-image/animated-image.js +29 -0
- package/dist/bundled/components/animated-image/animated-image.styles.d.ts +2 -0
- package/dist/bundled/components/animated-image/animated-image.styles.js +10 -0
- package/dist/bundled/components/animation/animation.d.ts +83 -0
- package/dist/bundled/components/animation/animation.js +17 -0
- package/dist/bundled/components/animation/animation.styles.d.ts +2 -0
- package/dist/bundled/components/animation/animation.styles.js +10 -0
- package/dist/bundled/components/animation/animations.d.ts +6 -0
- package/dist/bundled/components/animation/animations.js +12 -0
- package/dist/bundled/components/avatar/avatar.d.ts +45 -0
- package/dist/bundled/components/avatar/avatar.js +24 -0
- package/dist/bundled/components/avatar/avatar.styles.d.ts +2 -0
- package/dist/bundled/components/avatar/avatar.styles.js +10 -0
- package/dist/bundled/components/badge/badge.d.ts +36 -0
- package/dist/bundled/components/badge/badge.js +13 -0
- package/dist/bundled/components/badge/badge.styles.d.ts +2 -0
- package/dist/bundled/components/badge/badge.styles.js +10 -0
- package/dist/bundled/components/breadcrumb/breadcrumb.d.ts +36 -0
- package/dist/bundled/components/breadcrumb/breadcrumb.js +27 -0
- package/dist/bundled/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/dist/bundled/components/breadcrumb/breadcrumb.styles.js +10 -0
- package/dist/bundled/components/breadcrumb-item/breadcrumb-item.d.ts +42 -0
- package/dist/bundled/components/breadcrumb-item/breadcrumb-item.js +14 -0
- package/dist/bundled/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/dist/bundled/components/breadcrumb-item/breadcrumb-item.styles.js +10 -0
- package/dist/bundled/components/button/button.d.ts +125 -0
- package/dist/bundled/components/button/button.js +37 -0
- package/dist/bundled/components/button/button.styles.d.ts +2 -0
- package/dist/bundled/components/button/button.styles.js +10 -0
- package/dist/bundled/components/button-group/button-group.d.ts +36 -0
- package/dist/bundled/components/button-group/button-group.js +12 -0
- package/dist/bundled/components/button-group/button-group.styles.d.ts +2 -0
- package/dist/bundled/components/button-group/button-group.styles.js +10 -0
- package/dist/bundled/components/callout/callout.d.ts +29 -0
- package/dist/bundled/components/callout/callout.js +14 -0
- package/dist/bundled/components/callout/callout.styles.d.ts +2 -0
- package/dist/bundled/components/callout/callout.styles.js +10 -0
- package/dist/bundled/components/card/card.d.ts +67 -0
- package/dist/bundled/components/card/card.js +16 -0
- package/dist/bundled/components/card/card.styles.d.ts +2 -0
- package/dist/bundled/components/card/card.styles.js +10 -0
- package/dist/bundled/components/carousel/autoplay-controller.d.ts +20 -0
- package/dist/bundled/components/carousel/autoplay-controller.js +8 -0
- package/dist/bundled/components/carousel/carousel.d.ts +131 -0
- package/dist/bundled/components/carousel/carousel.js +35 -0
- package/dist/bundled/components/carousel/carousel.styles.d.ts +2 -0
- package/dist/bundled/components/carousel/carousel.styles.js +10 -0
- package/dist/bundled/components/carousel/scroll-controller.d.ts +25 -0
- package/dist/bundled/components/carousel/scroll-controller.js +110 -0
- package/dist/bundled/components/carousel-item/carousel-item.d.ts +22 -0
- package/dist/bundled/components/carousel-item/carousel-item.js +12 -0
- package/dist/bundled/components/carousel-item/carousel-item.styles.d.ts +2 -0
- package/dist/bundled/components/carousel-item/carousel-item.styles.js +10 -0
- package/dist/bundled/components/checkbox/checkbox.d.ts +97 -0
- package/dist/bundled/components/checkbox/checkbox.js +34 -0
- package/dist/bundled/components/checkbox/checkbox.styles.d.ts +2 -0
- package/dist/bundled/components/checkbox/checkbox.styles.js +10 -0
- package/dist/bundled/components/checkbox-group/checkbox-group.d.ts +70 -0
- package/dist/bundled/components/checkbox-group/checkbox-group.js +36 -0
- package/dist/bundled/components/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/bundled/components/checkbox-group/checkbox-group.styles.js +10 -0
- package/dist/bundled/components/color-picker/color-picker.d.ts +232 -0
- package/dist/bundled/components/color-picker/color-picker.js +59 -0
- package/dist/bundled/components/color-picker/color-picker.styles.d.ts +2 -0
- package/dist/bundled/components/color-picker/color-picker.styles.js +10 -0
- package/dist/bundled/components/comparison/comparison.d.ts +44 -0
- package/dist/bundled/components/comparison/comparison.js +31 -0
- package/dist/bundled/components/comparison/comparison.styles.d.ts +2 -0
- package/dist/bundled/components/comparison/comparison.styles.js +10 -0
- package/dist/bundled/components/copy-button/copy-button.d.ts +96 -0
- package/dist/bundled/components/copy-button/copy-button.js +45 -0
- package/dist/bundled/components/copy-button/copy-button.styles.d.ts +2 -0
- package/dist/bundled/components/copy-button/copy-button.styles.js +10 -0
- package/dist/bundled/components/details/details.d.ts +79 -0
- package/dist/bundled/components/details/details.js +37 -0
- package/dist/bundled/components/details/details.styles.d.ts +2 -0
- package/dist/bundled/components/details/details.styles.js +10 -0
- package/dist/bundled/components/dialog/dialog.d.ts +88 -0
- package/dist/bundled/components/dialog/dialog.js +49 -0
- package/dist/bundled/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/bundled/components/dialog/dialog.styles.js +10 -0
- package/dist/bundled/components/divider/divider.d.ts +24 -0
- package/dist/bundled/components/divider/divider.js +13 -0
- package/dist/bundled/components/divider/divider.styles.d.ts +2 -0
- package/dist/bundled/components/divider/divider.styles.js +10 -0
- package/dist/bundled/components/drawer/drawer.d.ts +96 -0
- package/dist/bundled/components/drawer/drawer.js +49 -0
- package/dist/bundled/components/drawer/drawer.styles.d.ts +2 -0
- package/dist/bundled/components/drawer/drawer.styles.js +10 -0
- package/dist/bundled/components/dropdown/dropdown.d.ts +111 -0
- package/dist/bundled/components/dropdown/dropdown.js +45 -0
- package/dist/bundled/components/dropdown/dropdown.styles.d.ts +2 -0
- package/dist/bundled/components/dropdown/dropdown.styles.js +10 -0
- package/dist/bundled/components/dropdown-item/dropdown-item.d.ts +94 -0
- package/dist/bundled/components/dropdown-item/dropdown-item.js +26 -0
- package/dist/bundled/components/dropdown-item/dropdown-item.styles.d.ts +2 -0
- package/dist/bundled/components/dropdown-item/dropdown-item.styles.js +10 -0
- package/dist/bundled/components/format-bytes/format-bytes.d.ts +24 -0
- package/dist/bundled/components/format-bytes/format-bytes.js +14 -0
- package/dist/bundled/components/format-date/format-date.d.ts +46 -0
- package/dist/bundled/components/format-date/format-date.js +14 -0
- package/dist/bundled/components/format-number/format-number.d.ts +38 -0
- package/dist/bundled/components/format-number/format-number.js +14 -0
- package/dist/bundled/components/icon/icon.d.ts +124 -0
- package/dist/bundled/components/icon/icon.js +22 -0
- package/dist/bundled/components/icon/icon.styles.d.ts +2 -0
- package/dist/bundled/components/icon/icon.styles.js +10 -0
- package/dist/bundled/components/icon/library.brands.d.ts +15 -0
- package/dist/bundled/components/icon/library.brands.js +10 -0
- package/dist/bundled/components/icon/library.d.ts +24 -0
- package/dist/bundled/components/icon/library.default.d.ts +26 -0
- package/dist/bundled/components/icon/library.default.js +15 -0
- package/dist/bundled/components/icon/library.js +24 -0
- package/dist/bundled/components/icon/library.system.d.ts +20 -0
- package/dist/bundled/components/icon/library.system.js +10 -0
- package/dist/bundled/components/include/include.d.ts +42 -0
- package/dist/bundled/components/include/include.js +16 -0
- package/dist/bundled/components/include/include.styles.d.ts +2 -0
- package/dist/bundled/components/include/include.styles.js +10 -0
- package/dist/bundled/components/include/request.d.ts +8 -0
- package/dist/bundled/components/include/request.js +8 -0
- package/dist/bundled/components/input/input.d.ts +172 -0
- package/dist/bundled/components/input/input.js +39 -0
- package/dist/bundled/components/input/input.styles.d.ts +2 -0
- package/dist/bundled/components/input/input.styles.js +10 -0
- package/dist/bundled/components/intersection-observer/intersection-observer.d.ts +51 -0
- package/dist/bundled/components/intersection-observer/intersection-observer.js +16 -0
- package/dist/bundled/components/intersection-observer/intersection-observer.styles.d.ts +2 -0
- package/dist/bundled/components/intersection-observer/intersection-observer.styles.js +10 -0
- package/dist/bundled/components/known-date/internal/field-order.d.ts +12 -0
- package/dist/bundled/components/known-date/internal/field-order.js +8 -0
- package/dist/bundled/components/known-date/internal/partial-date-validator.d.ts +11 -0
- package/dist/bundled/components/known-date/internal/partial-date-validator.js +8 -0
- package/dist/bundled/components/known-date/internal/parts.d.ts +26 -0
- package/dist/bundled/components/known-date/internal/parts.js +16 -0
- package/dist/bundled/components/known-date/known-date.d.ts +144 -0
- package/dist/bundled/components/known-date/known-date.js +31 -0
- package/dist/bundled/components/known-date/known-date.styles.d.ts +2 -0
- package/dist/bundled/components/known-date/known-date.styles.js +10 -0
- package/dist/bundled/components/markdown/markdown.d.ts +42 -0
- package/dist/bundled/components/markdown/markdown.js +12 -0
- package/dist/bundled/components/markdown/markdown.styles.d.ts +2 -0
- package/dist/bundled/components/markdown/markdown.styles.js +10 -0
- package/dist/bundled/components/mutation-observer/mutation-observer.d.ts +44 -0
- package/dist/bundled/components/mutation-observer/mutation-observer.js +14 -0
- package/dist/bundled/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/dist/bundled/components/mutation-observer/mutation-observer.styles.js +10 -0
- package/dist/bundled/components/number-input/number-input.d.ts +146 -0
- package/dist/bundled/components/number-input/number-input.js +38 -0
- package/dist/bundled/components/number-input/number-input.styles.d.ts +2 -0
- package/dist/bundled/components/number-input/number-input.styles.js +10 -0
- package/dist/bundled/components/option/option.d.ts +74 -0
- package/dist/bundled/components/option/option.js +27 -0
- package/dist/bundled/components/option/option.styles.d.ts +2 -0
- package/dist/bundled/components/option/option.styles.js +10 -0
- package/dist/bundled/components/otp-input/otp-input.d.ts +146 -0
- package/dist/bundled/components/otp-input/otp-input.js +26 -0
- package/dist/bundled/components/otp-input/otp-input.styles.d.ts +2 -0
- package/dist/bundled/components/otp-input/otp-input.styles.js +10 -0
- package/dist/bundled/components/page/page.d.ts +139 -0
- package/dist/bundled/components/page/page.js +56 -0
- package/dist/bundled/components/page/page.mobile.styles.d.ts +2 -0
- package/dist/bundled/components/page/page.mobile.styles.js +8 -0
- package/dist/bundled/components/page/page.styles.d.ts +2 -0
- package/dist/bundled/components/page/page.styles.js +10 -0
- package/dist/bundled/components/pagination/pagination.d.ts +116 -0
- package/dist/bundled/components/pagination/pagination.js +35 -0
- package/dist/bundled/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/bundled/components/pagination/pagination.styles.js +10 -0
- package/dist/bundled/components/popover/popover.d.ts +79 -0
- package/dist/bundled/components/popover/popover.js +29 -0
- package/dist/bundled/components/popover/popover.styles.d.ts +2 -0
- package/dist/bundled/components/popover/popover.styles.js +10 -0
- package/dist/bundled/components/popup/popup.d.ts +161 -0
- package/dist/bundled/components/popup/popup.js +18 -0
- package/dist/bundled/components/popup/popup.styles.d.ts +2 -0
- package/dist/bundled/components/popup/popup.styles.js +10 -0
- package/dist/bundled/components/progress-bar/progress-bar.d.ts +37 -0
- package/dist/bundled/components/progress-bar/progress-bar.js +17 -0
- package/dist/bundled/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/dist/bundled/components/progress-bar/progress-bar.styles.js +10 -0
- package/dist/bundled/components/progress-ring/progress-ring.d.ts +40 -0
- package/dist/bundled/components/progress-ring/progress-ring.js +17 -0
- package/dist/bundled/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/dist/bundled/components/progress-ring/progress-ring.styles.js +10 -0
- package/dist/bundled/components/qr-code/qr-code.d.ts +48 -0
- package/dist/bundled/components/qr-code/qr-code.js +14 -0
- package/dist/bundled/components/qr-code/qr-code.styles.d.ts +2 -0
- package/dist/bundled/components/qr-code/qr-code.styles.js +10 -0
- package/dist/bundled/components/radio/radio.d.ts +59 -0
- package/dist/bundled/components/radio/radio.js +28 -0
- package/dist/bundled/components/radio/radio.styles.d.ts +2 -0
- package/dist/bundled/components/radio/radio.styles.js +10 -0
- package/dist/bundled/components/radio-group/radio-group.d.ts +95 -0
- package/dist/bundled/components/radio-group/radio-group.js +35 -0
- package/dist/bundled/components/radio-group/radio-group.styles.d.ts +2 -0
- package/dist/bundled/components/radio-group/radio-group.styles.js +10 -0
- package/dist/bundled/components/random-content/random-content.d.ts +56 -0
- package/dist/bundled/components/random-content/random-content.js +17 -0
- package/dist/bundled/components/random-content/random-content.styles.d.ts +2 -0
- package/dist/bundled/components/random-content/random-content.styles.js +10 -0
- package/dist/bundled/components/rating/rating.d.ts +85 -0
- package/dist/bundled/components/rating/rating.js +37 -0
- package/dist/bundled/components/rating/rating.styles.d.ts +2 -0
- package/dist/bundled/components/rating/rating.styles.js +10 -0
- package/dist/bundled/components/relative-time/relative-time.d.ts +43 -0
- package/dist/bundled/components/relative-time/relative-time.js +14 -0
- package/dist/bundled/components/resize-observer/resize-observer.d.ts +31 -0
- package/dist/bundled/components/resize-observer/resize-observer.js +14 -0
- package/dist/bundled/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/dist/bundled/components/resize-observer/resize-observer.styles.js +10 -0
- package/dist/bundled/components/scroller/scroller.d.ts +41 -0
- package/dist/bundled/components/scroller/scroller.js +15 -0
- package/dist/bundled/components/scroller/scroller.styles.d.ts +2 -0
- package/dist/bundled/components/scroller/scroller.styles.js +10 -0
- package/dist/bundled/components/select/select.d.ts +197 -0
- package/dist/bundled/components/select/select.js +60 -0
- package/dist/bundled/components/select/select.styles.d.ts +2 -0
- package/dist/bundled/components/select/select.styles.js +10 -0
- package/dist/bundled/components/skeleton/skeleton.d.ts +24 -0
- package/dist/bundled/components/skeleton/skeleton.js +12 -0
- package/dist/bundled/components/skeleton/skeleton.styles.d.ts +2 -0
- package/dist/bundled/components/skeleton/skeleton.styles.js +10 -0
- package/dist/bundled/components/slider/slider.d.ts +199 -0
- package/dist/bundled/components/slider/slider.js +40 -0
- package/dist/bundled/components/slider/slider.styles.d.ts +2 -0
- package/dist/bundled/components/slider/slider.styles.js +10 -0
- package/dist/bundled/components/spinner/spinner.d.ts +25 -0
- package/dist/bundled/components/spinner/spinner.js +15 -0
- package/dist/bundled/components/spinner/spinner.styles.d.ts +2 -0
- package/dist/bundled/components/spinner/spinner.styles.js +10 -0
- package/dist/bundled/components/split-panel/split-panel.d.ts +80 -0
- package/dist/bundled/components/split-panel/split-panel.js +20 -0
- package/dist/bundled/components/split-panel/split-panel.styles.d.ts +2 -0
- package/dist/bundled/components/split-panel/split-panel.styles.js +10 -0
- package/dist/bundled/components/switch/switch.d.ts +89 -0
- package/dist/bundled/components/switch/switch.js +27 -0
- package/dist/bundled/components/switch/switch.styles.d.ts +2 -0
- package/dist/bundled/components/switch/switch.styles.js +10 -0
- package/dist/bundled/components/tab/tab.d.ts +42 -0
- package/dist/bundled/components/tab/tab.js +15 -0
- package/dist/bundled/components/tab/tab.styles.d.ts +2 -0
- package/dist/bundled/components/tab/tab.styles.js +10 -0
- package/dist/bundled/components/tab-group/tab-group.d.ts +84 -0
- package/dist/bundled/components/tab-group/tab-group.js +46 -0
- package/dist/bundled/components/tab-group/tab-group.styles.d.ts +2 -0
- package/dist/bundled/components/tab-group/tab-group.styles.js +10 -0
- package/dist/bundled/components/tab-panel/tab-panel.d.ts +30 -0
- package/dist/bundled/components/tab-panel/tab-panel.js +15 -0
- package/dist/bundled/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/dist/bundled/components/tab-panel/tab-panel.styles.js +10 -0
- package/dist/bundled/components/tag/tag.d.ts +40 -0
- package/dist/bundled/components/tag/tag.js +40 -0
- package/dist/bundled/components/tag/tag.styles.d.ts +2 -0
- package/dist/bundled/components/tag/tag.styles.js +10 -0
- package/dist/bundled/components/textarea/textarea.d.ts +149 -0
- package/dist/bundled/components/textarea/textarea.js +28 -0
- package/dist/bundled/components/textarea/textarea.styles.d.ts +2 -0
- package/dist/bundled/components/textarea/textarea.styles.js +10 -0
- package/dist/bundled/components/time-input/internal/time-segments.d.ts +111 -0
- package/dist/bundled/components/time-input/internal/time-segments.js +38 -0
- package/dist/bundled/components/time-input/time-input.d.ts +242 -0
- package/dist/bundled/components/time-input/time-input.js +38 -0
- package/dist/bundled/components/time-input/time-input.styles.d.ts +2 -0
- package/dist/bundled/components/time-input/time-input.styles.js +10 -0
- package/dist/bundled/components/toast/toast.d.ts +83 -0
- package/dist/bundled/components/toast/toast.js +43 -0
- package/dist/bundled/components/toast/toast.styles.d.ts +2 -0
- package/dist/bundled/components/toast/toast.styles.js +10 -0
- package/dist/bundled/components/toast-item/toast-item.d.ts +86 -0
- package/dist/bundled/components/toast-item/toast-item.js +40 -0
- package/dist/bundled/components/toast-item/toast-item.styles.d.ts +2 -0
- package/dist/bundled/components/toast-item/toast-item.styles.js +10 -0
- package/dist/bundled/components/tooltip/tooltip.d.ts +91 -0
- package/dist/bundled/components/tooltip/tooltip.js +29 -0
- package/dist/bundled/components/tooltip/tooltip.styles.d.ts +2 -0
- package/dist/bundled/components/tooltip/tooltip.styles.js +10 -0
- package/dist/bundled/components/tree/tree.d.ts +70 -0
- package/dist/bundled/components/tree/tree.js +53 -0
- package/dist/bundled/components/tree/tree.styles.d.ts +2 -0
- package/dist/bundled/components/tree/tree.styles.js +10 -0
- package/dist/bundled/components/tree-item/tree-item.d.ts +114 -0
- package/dist/bundled/components/tree-item/tree-item.js +51 -0
- package/dist/bundled/components/tree-item/tree-item.styles.d.ts +2 -0
- package/dist/bundled/components/tree-item/tree-item.styles.js +10 -0
- package/dist/bundled/components/zoomable-frame/zoomable-frame.d.ts +78 -0
- package/dist/bundled/components/zoomable-frame/zoomable-frame.js +29 -0
- package/dist/bundled/components/zoomable-frame/zoomable-frame.styles.d.ts +2 -0
- package/dist/bundled/components/zoomable-frame/zoomable-frame.styles.js +10 -0
- package/dist/bundled/cornerstone.all.js +11182 -0
- package/dist/bundled/cornerstone.d.ts +10 -0
- package/dist/bundled/cornerstone.js +67 -0
- package/dist/bundled/cornerstone.loader.d.ts +1 -0
- package/dist/bundled/cornerstone.loader.js +68 -0
- package/dist/bundled/cornerstone.ssr-loader.d.ts +2 -0
- package/dist/bundled/cornerstone.ssr-loader.js +73 -0
- package/dist/bundled/custom-elements-jsx.d.ts +17960 -0
- package/dist/bundled/custom-elements.json +52833 -0
- package/dist/bundled/events/accordion-after-collapse.d.ts +14 -0
- package/dist/bundled/events/accordion-after-collapse.js +8 -0
- package/dist/bundled/events/accordion-after-expand.d.ts +14 -0
- package/dist/bundled/events/accordion-after-expand.js +8 -0
- package/dist/bundled/events/accordion-collapse.d.ts +14 -0
- package/dist/bundled/events/accordion-collapse.js +8 -0
- package/dist/bundled/events/accordion-expand.d.ts +14 -0
- package/dist/bundled/events/accordion-expand.js +8 -0
- package/dist/bundled/events/accordion-item-collapsed.d.ts +9 -0
- package/dist/bundled/events/accordion-item-collapsed.js +8 -0
- package/dist/bundled/events/accordion-item-expanded.d.ts +9 -0
- package/dist/bundled/events/accordion-item-expanded.js +8 -0
- package/dist/bundled/events/accordion-item-trigger.d.ts +14 -0
- package/dist/bundled/events/accordion-item-trigger.js +8 -0
- package/dist/bundled/events/after-collapse.d.ts +8 -0
- package/dist/bundled/events/after-collapse.js +8 -0
- package/dist/bundled/events/after-expand.d.ts +8 -0
- package/dist/bundled/events/after-expand.js +8 -0
- package/dist/bundled/events/after-hide.d.ts +8 -0
- package/dist/bundled/events/after-hide.js +8 -0
- package/dist/bundled/events/after-page-change.d.ts +14 -0
- package/dist/bundled/events/after-page-change.js +8 -0
- package/dist/bundled/events/after-show.d.ts +8 -0
- package/dist/bundled/events/after-show.js +8 -0
- package/dist/bundled/events/cancel.d.ts +8 -0
- package/dist/bundled/events/cancel.js +8 -0
- package/dist/bundled/events/clear.d.ts +8 -0
- package/dist/bundled/events/clear.js +8 -0
- package/dist/bundled/events/collapse.d.ts +8 -0
- package/dist/bundled/events/collapse.js +8 -0
- package/dist/bundled/events/complete.d.ts +8 -0
- package/dist/bundled/events/complete.js +8 -0
- package/dist/bundled/events/copy.d.ts +14 -0
- package/dist/bundled/events/copy.js +8 -0
- package/dist/bundled/events/error.d.ts +8 -0
- package/dist/bundled/events/error.js +8 -0
- package/dist/bundled/events/events.d.ts +41 -0
- package/dist/bundled/events/events.js +2 -0
- package/dist/bundled/events/expand.d.ts +8 -0
- package/dist/bundled/events/expand.js +8 -0
- package/dist/bundled/events/finish.d.ts +8 -0
- package/dist/bundled/events/finish.js +8 -0
- package/dist/bundled/events/hide.d.ts +13 -0
- package/dist/bundled/events/hide.js +8 -0
- package/dist/bundled/events/hover.d.ts +14 -0
- package/dist/bundled/events/hover.js +8 -0
- package/dist/bundled/events/include-error.d.ts +13 -0
- package/dist/bundled/events/include-error.js +8 -0
- package/dist/bundled/events/intersect.d.ts +14 -0
- package/dist/bundled/events/intersect.js +8 -0
- package/dist/bundled/events/invalid.d.ts +8 -0
- package/dist/bundled/events/invalid.js +8 -0
- package/dist/bundled/events/lazy-change.d.ts +8 -0
- package/dist/bundled/events/lazy-change.js +8 -0
- package/dist/bundled/events/lazy-load.d.ts +8 -0
- package/dist/bundled/events/lazy-load.js +8 -0
- package/dist/bundled/events/load.d.ts +8 -0
- package/dist/bundled/events/load.js +8 -0
- package/dist/bundled/events/mutation.d.ts +13 -0
- package/dist/bundled/events/mutation.js +8 -0
- package/dist/bundled/events/page-change.d.ts +16 -0
- package/dist/bundled/events/page-change.js +8 -0
- package/dist/bundled/events/random-content-change.d.ts +14 -0
- package/dist/bundled/events/random-content-change.js +8 -0
- package/dist/bundled/events/remove.d.ts +8 -0
- package/dist/bundled/events/remove.js +8 -0
- package/dist/bundled/events/reposition.d.ts +8 -0
- package/dist/bundled/events/reposition.js +8 -0
- package/dist/bundled/events/resize.d.ts +13 -0
- package/dist/bundled/events/resize.js +8 -0
- package/dist/bundled/events/select.d.ts +13 -0
- package/dist/bundled/events/select.js +8 -0
- package/dist/bundled/events/selection-change.d.ts +14 -0
- package/dist/bundled/events/selection-change.js +8 -0
- package/dist/bundled/events/show.d.ts +8 -0
- package/dist/bundled/events/show.js +8 -0
- package/dist/bundled/events/slide-change.d.ts +15 -0
- package/dist/bundled/events/slide-change.js +8 -0
- package/dist/bundled/events/start.d.ts +8 -0
- package/dist/bundled/events/start.js +8 -0
- package/dist/bundled/events/tab-hide.d.ts +13 -0
- package/dist/bundled/events/tab-hide.js +8 -0
- package/dist/bundled/events/tab-show.d.ts +13 -0
- package/dist/bundled/events/tab-show.js +8 -0
- package/dist/bundled/internal/active-elements.d.ts +15 -0
- package/dist/bundled/internal/animate.d.ts +11 -0
- package/dist/bundled/internal/color-scheme-controller.d.ts +10 -0
- package/dist/bundled/internal/computed-style.d.ts +2 -0
- package/dist/bundled/internal/cornerstone-element.d.ts +55 -0
- package/dist/bundled/internal/cornerstone-form-associated-element.d.ts +115 -0
- package/dist/bundled/internal/custom-element.d.ts +18 -0
- package/dist/bundled/internal/debounce.d.ts +1 -0
- package/dist/bundled/internal/default-value.d.ts +2 -0
- package/dist/bundled/internal/dismissible-stack.d.ts +14 -0
- package/dist/bundled/internal/drag.d.ts +58 -0
- package/dist/bundled/internal/event.d.ts +2 -0
- package/dist/bundled/internal/get-text.d.ts +10 -0
- package/dist/bundled/internal/live-announcer.d.ts +21 -0
- package/dist/bundled/internal/math.d.ts +3 -0
- package/dist/bundled/internal/offset.d.ts +11 -0
- package/dist/bundled/internal/parse.d.ts +2 -0
- package/dist/bundled/internal/rendered-watcher.d.ts +20 -0
- package/dist/bundled/internal/scroll.d.ts +11 -0
- package/dist/bundled/internal/scrollend-polyfill.d.ts +1 -0
- package/dist/bundled/internal/segmented-field/segmented-field-controller.d.ts +198 -0
- package/dist/bundled/internal/slot.d.ts +24 -0
- package/dist/bundled/internal/submit-on-enter.d.ts +3 -0
- package/dist/bundled/internal/test/data-testid-helpers.d.ts +12 -0
- package/dist/bundled/internal/test/element-visible-overflow.d.ts +11 -0
- package/dist/bundled/internal/test/expect-event.d.ts +15 -0
- package/dist/bundled/internal/test/fixture.d.ts +28 -0
- package/dist/bundled/internal/test/form-control-base-tests.d.ts +22 -0
- package/dist/bundled/internal/test/pointer-utilities.d.ts +36 -0
- package/dist/bundled/internal/test/wait-for-scrolling.d.ts +9 -0
- package/dist/bundled/internal/validators/custom-error-validator.d.ts +6 -0
- package/dist/bundled/internal/validators/mirror-validator.d.ts +6 -0
- package/dist/bundled/internal/validators/required-validator.d.ts +19 -0
- package/dist/bundled/internal/validators/slider-validator.d.ts +6 -0
- package/dist/bundled/internal/watch.d.ts +26 -0
- package/dist/bundled/llms.txt +3095 -0
- package/dist/bundled/react/accordion/index.d.ts +32 -0
- package/dist/bundled/react/accordion/index.js +42 -0
- package/dist/bundled/react/accordion-item/index.d.ts +30 -0
- package/dist/bundled/react/accordion-item/index.js +36 -0
- package/dist/bundled/react/animated-image/index.d.ts +33 -0
- package/dist/bundled/react/animated-image/index.js +31 -0
- package/dist/bundled/react/animation/index.d.ts +30 -0
- package/dist/bundled/react/animation/index.js +19 -0
- package/dist/bundled/react/avatar/index.d.ts +28 -0
- package/dist/bundled/react/avatar/index.js +26 -0
- package/dist/bundled/react/badge/index.d.ts +21 -0
- package/dist/bundled/react/badge/index.js +15 -0
- package/dist/bundled/react/breadcrumb/index.d.ts +17 -0
- package/dist/bundled/react/breadcrumb/index.js +29 -0
- package/dist/bundled/react/breadcrumb-item/index.d.ts +21 -0
- package/dist/bundled/react/breadcrumb-item/index.js +16 -0
- package/dist/bundled/react/button/index.d.ts +38 -0
- package/dist/bundled/react/button/index.js +39 -0
- package/dist/bundled/react/button-group/index.d.ts +13 -0
- package/dist/bundled/react/button-group/index.js +14 -0
- package/dist/bundled/react/callout/index.d.ts +16 -0
- package/dist/bundled/react/callout/index.js +16 -0
- package/dist/bundled/react/card/index.d.ts +28 -0
- package/dist/bundled/react/card/index.js +18 -0
- package/dist/bundled/react/carousel/index.d.ts +40 -0
- package/dist/bundled/react/carousel/index.js +37 -0
- package/dist/bundled/react/carousel-item/index.d.ts +14 -0
- package/dist/bundled/react/carousel-item/index.js +14 -0
- package/dist/bundled/react/checkbox/index.d.ts +42 -0
- package/dist/bundled/react/checkbox/index.js +36 -0
- package/dist/bundled/react/checkbox-group/index.d.ts +24 -0
- package/dist/bundled/react/checkbox-group/index.js +38 -0
- package/dist/bundled/react/color-picker/index.d.ts +80 -0
- package/dist/bundled/react/color-picker/index.js +61 -0
- package/dist/bundled/react/comparison/index.d.ts +29 -0
- package/dist/bundled/react/comparison/index.js +33 -0
- package/dist/bundled/react/copy-button/index.d.ts +39 -0
- package/dist/bundled/react/copy-button/index.js +47 -0
- package/dist/bundled/react/details/index.d.ts +49 -0
- package/dist/bundled/react/details/index.js +39 -0
- package/dist/bundled/react/dialog/index.d.ts +55 -0
- package/dist/bundled/react/dialog/index.js +51 -0
- package/dist/bundled/react/divider/index.d.ts +14 -0
- package/dist/bundled/react/divider/index.js +15 -0
- package/dist/bundled/react/drawer/index.d.ts +61 -0
- package/dist/bundled/react/drawer/index.js +51 -0
- package/dist/bundled/react/dropdown/index.d.ts +44 -0
- package/dist/bundled/react/dropdown/index.js +47 -0
- package/dist/bundled/react/dropdown-item/index.d.ts +29 -0
- package/dist/bundled/react/dropdown-item/index.js +28 -0
- package/dist/bundled/react/format-bytes/index.d.ts +10 -0
- package/dist/bundled/react/format-bytes/index.js +16 -0
- package/dist/bundled/react/format-date/index.d.ts +10 -0
- package/dist/bundled/react/format-date/index.js +16 -0
- package/dist/bundled/react/format-number/index.d.ts +10 -0
- package/dist/bundled/react/format-number/index.js +16 -0
- package/dist/bundled/react/icon/index.d.ts +64 -0
- package/dist/bundled/react/icon/index.js +24 -0
- package/dist/bundled/react/include/index.d.ts +23 -0
- package/dist/bundled/react/include/index.js +18 -0
- package/dist/bundled/react/index.d.ts +70 -0
- package/dist/bundled/react/index.js +510 -0
- package/dist/bundled/react/input/index.d.ts +46 -0
- package/dist/bundled/react/input/index.js +41 -0
- package/dist/bundled/react/intersection-observer/index.d.ts +19 -0
- package/dist/bundled/react/intersection-observer/index.js +18 -0
- package/dist/bundled/react/known-date/index.d.ts +42 -0
- package/dist/bundled/react/known-date/index.js +33 -0
- package/dist/bundled/react/markdown/index.d.ts +12 -0
- package/dist/bundled/react/markdown/index.js +14 -0
- package/dist/bundled/react/mutation-observer/index.d.ts +19 -0
- package/dist/bundled/react/mutation-observer/index.js +16 -0
- package/dist/bundled/react/number-input/index.d.ts +45 -0
- package/dist/bundled/react/number-input/index.js +40 -0
- package/dist/bundled/react/option/index.d.ts +28 -0
- package/dist/bundled/react/option/index.js +29 -0
- package/dist/bundled/react/otp-input/index.d.ts +51 -0
- package/dist/bundled/react/otp-input/index.js +28 -0
- package/dist/bundled/react/page/index.d.ts +62 -0
- package/dist/bundled/react/page/index.js +58 -0
- package/dist/bundled/react/pagination/index.d.ts +43 -0
- package/dist/bundled/react/pagination/index.js +37 -0
- package/dist/bundled/react/popover/index.d.ts +46 -0
- package/dist/bundled/react/popover/index.js +31 -0
- package/dist/bundled/react/popup/index.d.ts +42 -0
- package/dist/bundled/react/popup/index.js +20 -0
- package/dist/bundled/react/progress-bar/index.d.ts +20 -0
- package/dist/bundled/react/progress-bar/index.js +19 -0
- package/dist/bundled/react/progress-ring/index.d.ts +24 -0
- package/dist/bundled/react/progress-ring/index.js +19 -0
- package/dist/bundled/react/qr-code/index.d.ts +12 -0
- package/dist/bundled/react/qr-code/index.js +16 -0
- package/dist/bundled/react/radio/index.d.ts +27 -0
- package/dist/bundled/react/radio/index.js +30 -0
- package/dist/bundled/react/radio-group/index.d.ts +31 -0
- package/dist/bundled/react/radio-group/index.js +37 -0
- package/dist/bundled/react/random-content/index.d.ts +24 -0
- package/dist/bundled/react/random-content/index.js +19 -0
- package/dist/bundled/react/rating/index.d.ts +32 -0
- package/dist/bundled/react/rating/index.js +39 -0
- package/dist/bundled/react/relative-time/index.d.ts +10 -0
- package/dist/bundled/react/relative-time/index.js +16 -0
- package/dist/bundled/react/resize-observer/index.d.ts +19 -0
- package/dist/bundled/react/resize-observer/index.js +16 -0
- package/dist/bundled/react/scroller/index.d.ts +19 -0
- package/dist/bundled/react/scroller/index.js +17 -0
- package/dist/bundled/react/select/index.d.ts +77 -0
- package/dist/bundled/react/select/index.js +62 -0
- package/dist/bundled/react/skeleton/index.d.ts +15 -0
- package/dist/bundled/react/skeleton/index.js +14 -0
- package/dist/bundled/react/slider/index.d.ts +57 -0
- package/dist/bundled/react/slider/index.js +42 -0
- package/dist/bundled/react/spinner/index.d.ts +17 -0
- package/dist/bundled/react/spinner/index.js +17 -0
- package/dist/bundled/react/split-panel/index.d.ts +32 -0
- package/dist/bundled/react/split-panel/index.js +22 -0
- package/dist/bundled/react/switch/index.d.ts +34 -0
- package/dist/bundled/react/switch/index.js +29 -0
- package/dist/bundled/react/tab/index.d.ts +13 -0
- package/dist/bundled/react/tab/index.js +17 -0
- package/dist/bundled/react/tab-group/index.d.ts +44 -0
- package/dist/bundled/react/tab-group/index.js +48 -0
- package/dist/bundled/react/tab-panel/index.d.ts +14 -0
- package/dist/bundled/react/tab-panel/index.js +17 -0
- package/dist/bundled/react/tag/index.d.ts +25 -0
- package/dist/bundled/react/tag/index.js +42 -0
- package/dist/bundled/react/textarea/index.d.ts +32 -0
- package/dist/bundled/react/textarea/index.js +30 -0
- package/dist/bundled/react/time-input/index.d.ts +86 -0
- package/dist/bundled/react/time-input/index.js +40 -0
- package/dist/bundled/react/toast/index.d.ts +20 -0
- package/dist/bundled/react/toast/index.js +45 -0
- package/dist/bundled/react/toast-item/index.d.ts +52 -0
- package/dist/bundled/react/toast-item/index.js +42 -0
- package/dist/bundled/react/tooltip/index.d.ts +39 -0
- package/dist/bundled/react/tooltip/index.js +31 -0
- package/dist/bundled/react/tree/index.d.ts +32 -0
- package/dist/bundled/react/tree/index.js +55 -0
- package/dist/bundled/react/tree-item/index.d.ts +70 -0
- package/dist/bundled/react/tree-item/index.js +51 -0
- package/dist/bundled/react/zoomable-frame/index.d.ts +22 -0
- package/dist/bundled/react/zoomable-frame/index.js +31 -0
- package/dist/bundled/skills/cornerstone/SKILL.md +417 -0
- package/dist/bundled/skills/cornerstone/references/choosing-components.md +201 -0
- package/dist/bundled/skills/cornerstone/references/components/accordion-item.md +97 -0
- package/dist/bundled/skills/cornerstone/references/components/accordion.md +385 -0
- package/dist/bundled/skills/cornerstone/references/components/animated-image.md +132 -0
- package/dist/bundled/skills/cornerstone/references/components/animation.md +271 -0
- package/dist/bundled/skills/cornerstone/references/components/avatar.md +167 -0
- package/dist/bundled/skills/cornerstone/references/components/badge.md +227 -0
- package/dist/bundled/skills/cornerstone/references/components/breadcrumb-item.md +64 -0
- package/dist/bundled/skills/cornerstone/references/components/breadcrumb.md +185 -0
- package/dist/bundled/skills/cornerstone/references/components/button-group.md +193 -0
- package/dist/bundled/skills/cornerstone/references/components/button.md +351 -0
- package/dist/bundled/skills/cornerstone/references/components/callout.md +189 -0
- package/dist/bundled/skills/cornerstone/references/components/card.md +288 -0
- package/dist/bundled/skills/cornerstone/references/components/carousel-item.md +42 -0
- package/dist/bundled/skills/cornerstone/references/components/carousel.md +712 -0
- package/dist/bundled/skills/cornerstone/references/components/checkbox-group.md +187 -0
- package/dist/bundled/skills/cornerstone/references/components/checkbox.md +206 -0
- package/dist/bundled/skills/cornerstone/references/components/color-picker.md +344 -0
- package/dist/bundled/skills/cornerstone/references/components/comparison.md +118 -0
- package/dist/bundled/skills/cornerstone/references/components/copy-button.md +269 -0
- package/dist/bundled/skills/cornerstone/references/components/details.md +240 -0
- package/dist/bundled/skills/cornerstone/references/components/dialog.md +307 -0
- package/dist/bundled/skills/cornerstone/references/components/divider.md +111 -0
- package/dist/bundled/skills/cornerstone/references/components/drawer.md +352 -0
- package/dist/bundled/skills/cornerstone/references/components/dropdown-item.md +92 -0
- package/dist/bundled/skills/cornerstone/references/components/dropdown.md +452 -0
- package/dist/bundled/skills/cornerstone/references/components/format-bytes.md +89 -0
- package/dist/bundled/skills/cornerstone/references/components/format-date.md +104 -0
- package/dist/bundled/skills/cornerstone/references/components/format-number.md +99 -0
- package/dist/bundled/skills/cornerstone/references/components/icon.md +1425 -0
- package/dist/bundled/skills/cornerstone/references/components/include.md +114 -0
- package/dist/bundled/skills/cornerstone/references/components/input.md +303 -0
- package/dist/bundled/skills/cornerstone/references/components/intersection-observer.md +344 -0
- package/dist/bundled/skills/cornerstone/references/components/known-date.md +279 -0
- package/dist/bundled/skills/cornerstone/references/components/markdown.md +263 -0
- package/dist/bundled/skills/cornerstone/references/components/mutation-observer.md +154 -0
- package/dist/bundled/skills/cornerstone/references/components/number-input.md +360 -0
- package/dist/bundled/skills/cornerstone/references/components/option.md +85 -0
- package/dist/bundled/skills/cornerstone/references/components/otp-input.md +441 -0
- package/dist/bundled/skills/cornerstone/references/components/page.md +359 -0
- package/dist/bundled/skills/cornerstone/references/components/pagination.md +466 -0
- package/dist/bundled/skills/cornerstone/references/components/popover.md +218 -0
- package/dist/bundled/skills/cornerstone/references/components/popup.md +1112 -0
- package/dist/bundled/skills/cornerstone/references/components/progress-bar.md +134 -0
- package/dist/bundled/skills/cornerstone/references/components/progress-ring.md +140 -0
- package/dist/bundled/skills/cornerstone/references/components/qr-code.md +200 -0
- package/dist/bundled/skills/cornerstone/references/components/radio-group.md +308 -0
- package/dist/bundled/skills/cornerstone/references/components/radio.md +98 -0
- package/dist/bundled/skills/cornerstone/references/components/random-content.md +367 -0
- package/dist/bundled/skills/cornerstone/references/components/rating.md +303 -0
- package/dist/bundled/skills/cornerstone/references/components/relative-time.md +92 -0
- package/dist/bundled/skills/cornerstone/references/components/resize-observer.md +91 -0
- package/dist/bundled/skills/cornerstone/references/components/scroller.md +293 -0
- package/dist/bundled/skills/cornerstone/references/components/select.md +542 -0
- package/dist/bundled/skills/cornerstone/references/components/skeleton.md +261 -0
- package/dist/bundled/skills/cornerstone/references/components/slider.md +544 -0
- package/dist/bundled/skills/cornerstone/references/components/spinner.md +83 -0
- package/dist/bundled/skills/cornerstone/references/components/split-panel.md +342 -0
- package/dist/bundled/skills/cornerstone/references/components/switch.md +160 -0
- package/dist/bundled/skills/cornerstone/references/components/tab-group.md +279 -0
- package/dist/bundled/skills/cornerstone/references/components/tab-panel.md +49 -0
- package/dist/bundled/skills/cornerstone/references/components/tab.md +49 -0
- package/dist/bundled/skills/cornerstone/references/components/tag.md +179 -0
- package/dist/bundled/skills/cornerstone/references/components/textarea.md +241 -0
- package/dist/bundled/skills/cornerstone/references/components/time-input.md +366 -0
- package/dist/bundled/skills/cornerstone/references/components/toast-item.md +305 -0
- package/dist/bundled/skills/cornerstone/references/components/toast.md +496 -0
- package/dist/bundled/skills/cornerstone/references/components/tooltip.md +243 -0
- package/dist/bundled/skills/cornerstone/references/components/tree-item.md +105 -0
- package/dist/bundled/skills/cornerstone/references/components/tree.md +410 -0
- package/dist/bundled/skills/cornerstone/references/components/zoomable-frame.md +149 -0
- package/dist/bundled/skills/cornerstone/references/customizing.md +180 -0
- package/dist/bundled/skills/cornerstone/references/form-controls.md +188 -0
- package/dist/bundled/skills/cornerstone/references/frameworks/rails.md +206 -0
- package/dist/bundled/skills/cornerstone/references/frameworks/react.md +252 -0
- package/dist/bundled/skills/cornerstone/references/frameworks/wordpress.md +186 -0
- package/dist/bundled/skills/cornerstone/references/installation.md +151 -0
- package/dist/bundled/skills/cornerstone/references/localization.md +133 -0
- package/dist/bundled/skills/cornerstone/references/support.md +10 -0
- package/dist/bundled/skills/cornerstone/references/themes.md +55 -0
- package/dist/bundled/skills/cornerstone/references/theming-overview.md +114 -0
- package/dist/bundled/skills/cornerstone/references/tokens/borders.md +113 -0
- package/dist/bundled/skills/cornerstone/references/tokens/color.md +298 -0
- package/dist/bundled/skills/cornerstone/references/tokens/component-groups.md +252 -0
- package/dist/bundled/skills/cornerstone/references/tokens/focus.md +43 -0
- package/dist/bundled/skills/cornerstone/references/tokens/shadows.md +152 -0
- package/dist/bundled/skills/cornerstone/references/tokens/space.md +110 -0
- package/dist/bundled/skills/cornerstone/references/tokens/transitions.md +81 -0
- package/dist/bundled/skills/cornerstone/references/tokens/typography.md +237 -0
- package/dist/bundled/skills/cornerstone/references/usage.md +222 -0
- package/dist/bundled/skills/cornerstone/references/utilities/color.md +44 -0
- package/dist/bundled/skills/cornerstone/references/utilities/fouce.md +32 -0
- package/dist/bundled/skills/cornerstone/references/utilities/layout.md +1142 -0
- package/dist/bundled/skills/cornerstone/references/utilities/native.md +730 -0
- package/dist/bundled/skills/cornerstone/references/utilities/prose.md +273 -0
- package/dist/bundled/skills/cornerstone/references/utilities/rounding.md +25 -0
- package/dist/bundled/skills/cornerstone/references/utilities/text.md +227 -0
- package/dist/bundled/skills/cornerstone/references/utilities/visually-hidden.md +147 -0
- package/dist/bundled/skills/cornerstone-design/SKILL.md +382 -0
- package/dist/bundled/skills/cornerstone-design/references/composition.md +526 -0
- package/dist/bundled/skills/cornerstone-design/references/getting-started.md +67 -0
- package/dist/bundled/skills/cornerstone-design/references/layouts-inpage.md +120 -0
- package/dist/bundled/skills/cornerstone-design/references/layouts-page.md +612 -0
- package/dist/bundled/skills/cornerstone-design/references/patterns.md +250 -0
- package/dist/bundled/skills/cornerstone-design/references/principles.md +577 -0
- package/dist/bundled/skills/cornerstone-design/references/theming.md +152 -0
- package/dist/bundled/ssr/all.d.ts +70 -0
- package/dist/bundled/ssr/all.js +439 -0
- package/dist/bundled/ssr/render-string.d.ts +5 -0
- package/dist/bundled/ssr/render-string.js +9992 -0
- package/dist/bundled/ssr/trim-outer-markers.d.ts +1 -0
- package/dist/bundled/ssr/trim-outer-markers.js +8 -0
- package/dist/bundled/styles/color/palettes/base.css +44 -0
- package/dist/bundled/styles/color/palettes/cru.css +342 -0
- package/dist/bundled/styles/color/palettes/default.css +146 -0
- package/dist/bundled/styles/color/variants/brand.css +162 -0
- package/dist/bundled/styles/color/variants/cru.css +2609 -0
- package/dist/bundled/styles/color/variants/danger.css +162 -0
- package/dist/bundled/styles/color/variants/highlight.css +162 -0
- package/dist/bundled/styles/color/variants/information.css +162 -0
- package/dist/bundled/styles/color/variants/neutral.css +162 -0
- package/dist/bundled/styles/color/variants/success.css +162 -0
- package/dist/bundled/styles/color/variants/warning.css +162 -0
- package/dist/bundled/styles/color/variants.css +13 -0
- package/dist/bundled/styles/component/form-control.styles.d.ts +2 -0
- package/dist/bundled/styles/component/form-control.styles.ts +43 -0
- package/dist/bundled/styles/component/host.styles.d.ts +2 -0
- package/dist/bundled/styles/component/host.styles.ts +18 -0
- package/dist/bundled/styles/component/segmented-field.styles.d.ts +19 -0
- package/dist/bundled/styles/component/segmented-field.styles.ts +92 -0
- package/dist/bundled/styles/component/size.styles.d.ts +2 -0
- package/dist/bundled/styles/component/size.styles.ts +23 -0
- package/dist/bundled/styles/component/variants.styles.d.ts +2 -0
- package/dist/bundled/styles/component/variants.styles.ts +95 -0
- package/dist/bundled/styles/component/visually-hidden.styles.d.ts +2 -0
- package/dist/bundled/styles/component/visually-hidden.styles.ts +19 -0
- package/dist/bundled/styles/cornerstone.css +20 -0
- package/dist/bundled/styles/layers.css +21 -0
- package/dist/bundled/styles/native.css +1463 -0
- package/dist/bundled/styles/themes/cru.css +406 -0
- package/dist/bundled/styles/themes/default.css +413 -0
- package/dist/bundled/styles/utilities/align-items.css +44 -0
- package/dist/bundled/styles/utilities/border-radius.css +20 -0
- package/dist/bundled/styles/utilities/flex-wrap.css +16 -0
- package/dist/bundled/styles/utilities/fouce.css +17 -0
- package/dist/bundled/styles/utilities/gap.css +56 -0
- package/dist/bundled/styles/utilities/justify-content.css +32 -0
- package/dist/bundled/styles/utilities/layout.css +159 -0
- package/dist/bundled/styles/utilities/placeholder.css +9 -0
- package/dist/bundled/styles/utilities/prose.css +161 -0
- package/dist/bundled/styles/utilities/scroll-lock.css +20 -0
- package/dist/bundled/styles/utilities/size.css +21 -0
- package/dist/bundled/styles/utilities/text.css +262 -0
- package/dist/bundled/styles/utilities/variants.css +87 -0
- package/dist/bundled/styles/utilities/visually-hidden.css +17 -0
- package/dist/bundled/styles/utilities.css +17 -0
- package/dist/bundled/translations/ar.d.ts +3 -0
- package/dist/bundled/translations/ar.js +266 -0
- package/dist/bundled/translations/cs.d.ts +3 -0
- package/dist/bundled/translations/cs.js +224 -0
- package/dist/bundled/translations/da.d.ts +3 -0
- package/dist/bundled/translations/da.js +182 -0
- package/dist/bundled/translations/de-ch.d.ts +3 -0
- package/dist/bundled/translations/de-ch.js +182 -0
- package/dist/bundled/translations/de.d.ts +3 -0
- package/dist/bundled/translations/de.js +11 -0
- package/dist/bundled/translations/en-gb.d.ts +3 -0
- package/dist/bundled/translations/en-gb.js +181 -0
- package/dist/bundled/translations/en.d.ts +3 -0
- package/dist/bundled/translations/en.js +9 -0
- package/dist/bundled/translations/es.d.ts +3 -0
- package/dist/bundled/translations/es.js +192 -0
- package/dist/bundled/translations/fa.d.ts +3 -0
- package/dist/bundled/translations/fa.js +179 -0
- package/dist/bundled/translations/fi.d.ts +3 -0
- package/dist/bundled/translations/fi.js +180 -0
- package/dist/bundled/translations/fr.d.ts +3 -0
- package/dist/bundled/translations/fr.js +182 -0
- package/dist/bundled/translations/he.d.ts +3 -0
- package/dist/bundled/translations/he.js +192 -0
- package/dist/bundled/translations/hi.d.ts +3 -0
- package/dist/bundled/translations/hi.js +182 -0
- package/dist/bundled/translations/hr.d.ts +3 -0
- package/dist/bundled/translations/hr.js +240 -0
- package/dist/bundled/translations/hu.d.ts +3 -0
- package/dist/bundled/translations/hu.js +182 -0
- package/dist/bundled/translations/id.d.ts +3 -0
- package/dist/bundled/translations/id.js +180 -0
- package/dist/bundled/translations/it.d.ts +3 -0
- package/dist/bundled/translations/it.js +180 -0
- package/dist/bundled/translations/ja.d.ts +3 -0
- package/dist/bundled/translations/ja.js +169 -0
- package/dist/bundled/translations/kk.d.ts +3 -0
- package/dist/bundled/translations/kk.js +183 -0
- package/dist/bundled/translations/nb.d.ts +3 -0
- package/dist/bundled/translations/nb.js +182 -0
- package/dist/bundled/translations/nl.d.ts +3 -0
- package/dist/bundled/translations/nl.js +182 -0
- package/dist/bundled/translations/nn.d.ts +3 -0
- package/dist/bundled/translations/nn.js +182 -0
- package/dist/bundled/translations/pl.d.ts +3 -0
- package/dist/bundled/translations/pl.js +236 -0
- package/dist/bundled/translations/pt.d.ts +3 -0
- package/dist/bundled/translations/pt.js +182 -0
- package/dist/bundled/translations/ru.d.ts +3 -0
- package/dist/bundled/translations/ru.js +242 -0
- package/dist/bundled/translations/sl.d.ts +3 -0
- package/dist/bundled/translations/sl.js +262 -0
- package/dist/bundled/translations/sv.d.ts +3 -0
- package/dist/bundled/translations/sv.js +182 -0
- package/dist/bundled/translations/tr.d.ts +3 -0
- package/dist/bundled/translations/tr.js +182 -0
- package/dist/bundled/translations/uk.d.ts +3 -0
- package/dist/bundled/translations/uk.js +246 -0
- package/dist/bundled/translations/zh-cn.d.ts +3 -0
- package/dist/bundled/translations/zh-cn.js +172 -0
- package/dist/bundled/translations/zh-tw.d.ts +3 -0
- package/dist/bundled/translations/zh-tw.js +172 -0
- package/dist/bundled/types/svelte/index.d.ts +5355 -0
- package/dist/bundled/types/vue/index.d.ts +5336 -0
- package/dist/bundled/utilities/animation.d.ts +1 -0
- package/dist/bundled/utilities/animation.js +11 -0
- package/dist/bundled/utilities/autoloader.d.ts +13 -0
- package/dist/bundled/utilities/autoloader.js +15 -0
- package/dist/bundled/utilities/base-path.d.ts +31 -0
- package/dist/bundled/utilities/base-path.js +14 -0
- package/dist/bundled/utilities/clone.d.ts +27 -0
- package/dist/bundled/utilities/clone.js +54 -0
- package/dist/bundled/utilities/defined.d.ts +36 -0
- package/dist/bundled/utilities/defined.js +8 -0
- package/dist/bundled/utilities/form.d.ts +5 -0
- package/dist/bundled/utilities/form.js +8 -0
- package/dist/bundled/utilities/localize.d.ts +146 -0
- package/dist/bundled/utilities/localize.js +13 -0
- package/dist/bundled/utilities/ssr-hydration.d.ts +1 -0
- package/dist/bundled/utilities/ssr-hydration.js +7 -0
- package/dist/bundled/vscode.html-custom-data.json +4330 -0
- package/dist/bundled/web-types.json +10163 -0
- package/dist/unbundled/chunks/chunk.22DUMFR7.js +27 -0
- package/dist/unbundled/chunks/chunk.25EWODJU.js +44 -0
- package/dist/unbundled/chunks/chunk.25M5Z6XD.js +13 -0
- package/dist/unbundled/chunks/chunk.27C34IAM.js +13 -0
- package/dist/unbundled/chunks/chunk.2DAXWPZV.js +18 -0
- package/dist/unbundled/chunks/chunk.2JNTRGJV.js +13 -0
- package/dist/unbundled/chunks/chunk.2OLAKXLK.js +12 -0
- package/dist/unbundled/chunks/chunk.34RCCHX4.js +71 -0
- package/dist/unbundled/chunks/chunk.36VL6LJI.js +12 -0
- package/dist/unbundled/chunks/chunk.37FJIXOD.js +446 -0
- package/dist/unbundled/chunks/chunk.3CUSENSO.js +335 -0
- package/dist/unbundled/chunks/chunk.3GISTVJD.js +361 -0
- package/dist/unbundled/chunks/chunk.3J7HUPGN.js +81 -0
- package/dist/unbundled/chunks/chunk.3MAZCRKI.js +575 -0
- package/dist/unbundled/chunks/chunk.3MV76N7H.js +13 -0
- package/dist/unbundled/chunks/chunk.3QOMHIHS.js +32 -0
- package/dist/unbundled/chunks/chunk.3SQYIFOF.js +21 -0
- package/dist/unbundled/chunks/chunk.3TDBUBJM.js +1481 -0
- package/dist/unbundled/chunks/chunk.3XMRDGUU.js +66 -0
- package/dist/unbundled/chunks/chunk.3YT7DWKQ.js +13 -0
- package/dist/unbundled/chunks/chunk.3ZTAQSEB.js +98 -0
- package/dist/unbundled/chunks/chunk.4BSDHHLS.js +29 -0
- package/dist/unbundled/chunks/chunk.4G4Y3HKX.js +292 -0
- package/dist/unbundled/chunks/chunk.4QG3R6ZL.js +86 -0
- package/dist/unbundled/chunks/chunk.4SEF2WUP.js +13 -0
- package/dist/unbundled/chunks/chunk.4SLRIZFX.js +13 -0
- package/dist/unbundled/chunks/chunk.4UDHOT6G.js +164 -0
- package/dist/unbundled/chunks/chunk.4ZQWNE4C.js +176 -0
- package/dist/unbundled/chunks/chunk.5C4TVTVL.js +99 -0
- package/dist/unbundled/chunks/chunk.5DSCTMEL.js +13 -0
- package/dist/unbundled/chunks/chunk.5FMHYBUW.js +27 -0
- package/dist/unbundled/chunks/chunk.5H6GLAW6.js +229 -0
- package/dist/unbundled/chunks/chunk.5KWPKFGB.js +25 -0
- package/dist/unbundled/chunks/chunk.5MGJKMWB.js +13 -0
- package/dist/unbundled/chunks/chunk.5SDKM5TW.js +239 -0
- package/dist/unbundled/chunks/chunk.6AYZSSTK.js +290 -0
- package/dist/unbundled/chunks/chunk.6C7X37R4.js +24 -0
- package/dist/unbundled/chunks/chunk.6FDUJU6G.js +24 -0
- package/dist/unbundled/chunks/chunk.6INMSSKP.js +75 -0
- package/dist/unbundled/chunks/chunk.6LWQB7MT.js +63 -0
- package/dist/unbundled/chunks/chunk.6OXQ3ZFA.js +25 -0
- package/dist/unbundled/chunks/chunk.6S4EYZTP.js +24 -0
- package/dist/unbundled/chunks/chunk.6ZDUZIFN.js +29 -0
- package/dist/unbundled/chunks/chunk.7355H7JE.js +68 -0
- package/dist/unbundled/chunks/chunk.7IIKHHNK.js +345 -0
- package/dist/unbundled/chunks/chunk.A2JHAWF4.js +12 -0
- package/dist/unbundled/chunks/chunk.A7ZNKNLV.js +95 -0
- package/dist/unbundled/chunks/chunk.AANKWLOE.js +22 -0
- package/dist/unbundled/chunks/chunk.AGI7JCZM.js +1 -0
- package/dist/unbundled/chunks/chunk.AH4ME2M3.js +21 -0
- package/dist/unbundled/chunks/chunk.BBN5VES5.js +56 -0
- package/dist/unbundled/chunks/chunk.BGW4B7ME.js +32 -0
- package/dist/unbundled/chunks/chunk.BI37H2BE.js +978 -0
- package/dist/unbundled/chunks/chunk.BNGGMXK5.js +12 -0
- package/dist/unbundled/chunks/chunk.BQZ2H5CZ.js +136 -0
- package/dist/unbundled/chunks/chunk.BU27S6AC.js +90 -0
- package/dist/unbundled/chunks/chunk.C277UN7H.js +21 -0
- package/dist/unbundled/chunks/chunk.C7XIOK7O.js +67 -0
- package/dist/unbundled/chunks/chunk.CAVIMOX7.js +13 -0
- package/dist/unbundled/chunks/chunk.CLZDCHBN.js +27 -0
- package/dist/unbundled/chunks/chunk.CU7GHXUV.js +13 -0
- package/dist/unbundled/chunks/chunk.CVYRHSAD.js +13 -0
- package/dist/unbundled/chunks/chunk.DA42KEYS.js +373 -0
- package/dist/unbundled/chunks/chunk.DEIRIXVK.js +24 -0
- package/dist/unbundled/chunks/chunk.DHSCPYVX.js +24 -0
- package/dist/unbundled/chunks/chunk.DJGKLHDS.js +12 -0
- package/dist/unbundled/chunks/chunk.DM7SWWJJ.js +13 -0
- package/dist/unbundled/chunks/chunk.DOGS4CZF.js +12 -0
- package/dist/unbundled/chunks/chunk.DUIEJOXX.js +13 -0
- package/dist/unbundled/chunks/chunk.E3WBPNHV.js +153 -0
- package/dist/unbundled/chunks/chunk.EBKPR7Z2.js +21 -0
- package/dist/unbundled/chunks/chunk.ED5RACWZ.js +83 -0
- package/dist/unbundled/chunks/chunk.EJSU7GFZ.js +58 -0
- package/dist/unbundled/chunks/chunk.EJWNWRU7.js +240 -0
- package/dist/unbundled/chunks/chunk.EOFT5R5F.js +25 -0
- package/dist/unbundled/chunks/chunk.EUHM2RHI.js +21 -0
- package/dist/unbundled/chunks/chunk.EXOHZSKZ.js +178 -0
- package/dist/unbundled/chunks/chunk.F4MW6YHP.js +373 -0
- package/dist/unbundled/chunks/chunk.F4Z4PXXT.js +13 -0
- package/dist/unbundled/chunks/chunk.F5EJ3W5M.js +348 -0
- package/dist/unbundled/chunks/chunk.F675DEOT.js +120 -0
- package/dist/unbundled/chunks/chunk.FGNU55DN.js +37 -0
- package/dist/unbundled/chunks/chunk.FIK4NQRV.js +27 -0
- package/dist/unbundled/chunks/chunk.FKZ34QWP.js +138 -0
- package/dist/unbundled/chunks/chunk.FLV6CVDS.js +105 -0
- package/dist/unbundled/chunks/chunk.FMKRKVP5.js +116 -0
- package/dist/unbundled/chunks/chunk.FO3RRT2Y.js +35 -0
- package/dist/unbundled/chunks/chunk.FXYBSV3E.js +21 -0
- package/dist/unbundled/chunks/chunk.FY7ISTH5.js +133 -0
- package/dist/unbundled/chunks/chunk.G2FXXPDW.js +83 -0
- package/dist/unbundled/chunks/chunk.G5KWAXZV.js +332 -0
- package/dist/unbundled/chunks/chunk.G7BL6JEZ.js +29 -0
- package/dist/unbundled/chunks/chunk.G7XCGWTN.js +691 -0
- package/dist/unbundled/chunks/chunk.GDBEAFG5.js +243 -0
- package/dist/unbundled/chunks/chunk.GFKYBJRQ.js +21 -0
- package/dist/unbundled/chunks/chunk.GKR2DLVL.js +12 -0
- package/dist/unbundled/chunks/chunk.GMOVFV2G.js +21 -0
- package/dist/unbundled/chunks/chunk.GSQYQSLZ.js +232 -0
- package/dist/unbundled/chunks/chunk.GSVRMFIX.js +13 -0
- package/dist/unbundled/chunks/chunk.GT5PEMIO.js +54 -0
- package/dist/unbundled/chunks/chunk.GUKUJM43.js +437 -0
- package/dist/unbundled/chunks/chunk.GWSWWEAF.js +495 -0
- package/dist/unbundled/chunks/chunk.GZBLDFJY.js +12 -0
- package/dist/unbundled/chunks/chunk.H2R7DTOP.js +165 -0
- package/dist/unbundled/chunks/chunk.HDFJNEDG.js +96 -0
- package/dist/unbundled/chunks/chunk.HJNLV27M.js +224 -0
- package/dist/unbundled/chunks/chunk.HKGYFZKM.js +12 -0
- package/dist/unbundled/chunks/chunk.HMC6XL2M.js +47 -0
- package/dist/unbundled/chunks/chunk.HMDFBHVJ.js +262 -0
- package/dist/unbundled/chunks/chunk.HOHWFNNX.js +279 -0
- package/dist/unbundled/chunks/chunk.HRQDVJCP.js +13 -0
- package/dist/unbundled/chunks/chunk.HTUO35GD.js +21 -0
- package/dist/unbundled/chunks/chunk.HVRBYPAL.js +36 -0
- package/dist/unbundled/chunks/chunk.HZVMFY2P.js +93 -0
- package/dist/unbundled/chunks/chunk.I334OCCE.js +186 -0
- package/dist/unbundled/chunks/chunk.I3LK24XZ.js +45 -0
- package/dist/unbundled/chunks/chunk.I4IG67TD.js +83 -0
- package/dist/unbundled/chunks/chunk.I6UIZJSV.js +21 -0
- package/dist/unbundled/chunks/chunk.IC472EOG.js +110 -0
- package/dist/unbundled/chunks/chunk.IJE7NV74.js +1184 -0
- package/dist/unbundled/chunks/chunk.IKN5FJIS.js +295 -0
- package/dist/unbundled/chunks/chunk.IQJMSIWD.js +56 -0
- package/dist/unbundled/chunks/chunk.IRA57BPR.js +340 -0
- package/dist/unbundled/chunks/chunk.IREAU2QM.js +198 -0
- package/dist/unbundled/chunks/chunk.ISQOT475.js +297 -0
- package/dist/unbundled/chunks/chunk.ISX2ZBYU.js +24 -0
- package/dist/unbundled/chunks/chunk.ITDZMCUA.js +24 -0
- package/dist/unbundled/chunks/chunk.J54TPJJR.js +13 -0
- package/dist/unbundled/chunks/chunk.J5QNQ4AF.js +21 -0
- package/dist/unbundled/chunks/chunk.J6XQ7PPB.js +258 -0
- package/dist/unbundled/chunks/chunk.J7RRZ6YM.js +25 -0
- package/dist/unbundled/chunks/chunk.JE6NWSEX.js +20 -0
- package/dist/unbundled/chunks/chunk.JF63ITKK.js +116 -0
- package/dist/unbundled/chunks/chunk.JHRATFLL.js +24 -0
- package/dist/unbundled/chunks/chunk.JIMOX4RB.js +167 -0
- package/dist/unbundled/chunks/chunk.JRCFMDCY.js +151 -0
- package/dist/unbundled/chunks/chunk.K23I66FB.js +21 -0
- package/dist/unbundled/chunks/chunk.K2QMZY3H.js +25 -0
- package/dist/unbundled/chunks/chunk.KCSF6NHY.js +12 -0
- package/dist/unbundled/chunks/chunk.KGSWL4MQ.js +283 -0
- package/dist/unbundled/chunks/chunk.KI7TYWBG.js +21 -0
- package/dist/unbundled/chunks/chunk.KIU3QIDA.js +29 -0
- package/dist/unbundled/chunks/chunk.KJCNRNHO.js +220 -0
- package/dist/unbundled/chunks/chunk.KNOS5UJ2.js +24 -0
- package/dist/unbundled/chunks/chunk.KUZ7XBDQ.js +24 -0
- package/dist/unbundled/chunks/chunk.KVDJEYXZ.js +13 -0
- package/dist/unbundled/chunks/chunk.KVQHYBZN.js +12 -0
- package/dist/unbundled/chunks/chunk.KVTHEVDH.js +21 -0
- package/dist/unbundled/chunks/chunk.L2O3ABN6.js +142 -0
- package/dist/unbundled/chunks/chunk.LABZF5G6.js +377 -0
- package/dist/unbundled/chunks/chunk.LCDEBSZX.js +21 -0
- package/dist/unbundled/chunks/chunk.LJBXODA4.js +47 -0
- package/dist/unbundled/chunks/chunk.LK3EIXZH.js +24 -0
- package/dist/unbundled/chunks/chunk.LQMRSTKM.js +91 -0
- package/dist/unbundled/chunks/chunk.LRJUXAUD.js +23 -0
- package/dist/unbundled/chunks/chunk.LSO3HBUC.js +29 -0
- package/dist/unbundled/chunks/chunk.LUYWMISJ.js +27 -0
- package/dist/unbundled/chunks/chunk.LWI7VPUV.js +371 -0
- package/dist/unbundled/chunks/chunk.LZFDGOHL.js +301 -0
- package/dist/unbundled/chunks/chunk.M2YES2WV.js +25 -0
- package/dist/unbundled/chunks/chunk.MCI4QRVJ.js +180 -0
- package/dist/unbundled/chunks/chunk.MD7QGXV6.js +338 -0
- package/dist/unbundled/chunks/chunk.MDV4MWU5.js +47 -0
- package/dist/unbundled/chunks/chunk.ME7FRFFF.js +21 -0
- package/dist/unbundled/chunks/chunk.MHH4NIPT.js +268 -0
- package/dist/unbundled/chunks/chunk.MNEKRTOH.js +333 -0
- package/dist/unbundled/chunks/chunk.MOWKCQDG.js +128 -0
- package/dist/unbundled/chunks/chunk.MQJIK3RG.js +24 -0
- package/dist/unbundled/chunks/chunk.MVDEFXPM.js +25 -0
- package/dist/unbundled/chunks/chunk.MW3Y6CV6.js +172 -0
- package/dist/unbundled/chunks/chunk.MY2OXJ7N.js +27 -0
- package/dist/unbundled/chunks/chunk.N27QMUBJ.js +26 -0
- package/dist/unbundled/chunks/chunk.N2UFB6C4.js +21 -0
- package/dist/unbundled/chunks/chunk.N2Z7ZHJY.js +110 -0
- package/dist/unbundled/chunks/chunk.N46QJHPG.js +12 -0
- package/dist/unbundled/chunks/chunk.N4FJJJBK.js +43 -0
- package/dist/unbundled/chunks/chunk.NB5YKRDR.js +332 -0
- package/dist/unbundled/chunks/chunk.NBBXVQSM.js +21 -0
- package/dist/unbundled/chunks/chunk.NC6HS22W.js +58 -0
- package/dist/unbundled/chunks/chunk.NNB4F2YV.js +244 -0
- package/dist/unbundled/chunks/chunk.NQ3QOIKT.js +64 -0
- package/dist/unbundled/chunks/chunk.NREJ4USG.js +316 -0
- package/dist/unbundled/chunks/chunk.NRHROB42.js +21 -0
- package/dist/unbundled/chunks/chunk.NT3N7XX2.js +209 -0
- package/dist/unbundled/chunks/chunk.NTTIXBJ2.js +21 -0
- package/dist/unbundled/chunks/chunk.NW4I6AZP.js +21 -0
- package/dist/unbundled/chunks/chunk.NZTKRONI.js +42 -0
- package/dist/unbundled/chunks/chunk.O6L7CNGM.js +12 -0
- package/dist/unbundled/chunks/chunk.OACS5EXV.js +233 -0
- package/dist/unbundled/chunks/chunk.ORY5OATJ.js +21 -0
- package/dist/unbundled/chunks/chunk.P6W527YR.js +75 -0
- package/dist/unbundled/chunks/chunk.P7WSEWAS.js +13 -0
- package/dist/unbundled/chunks/chunk.PBZ5J7GL.js +10 -0
- package/dist/unbundled/chunks/chunk.PEPMJ2X3.js +21 -0
- package/dist/unbundled/chunks/chunk.PIKNP2L2.js +21 -0
- package/dist/unbundled/chunks/chunk.PJT7ZLB2.js +389 -0
- package/dist/unbundled/chunks/chunk.PKWLIHR2.js +283 -0
- package/dist/unbundled/chunks/chunk.PLREW4IZ.js +25 -0
- package/dist/unbundled/chunks/chunk.PM7JDFTB.js +356 -0
- package/dist/unbundled/chunks/chunk.PSAE6QZG.js +25 -0
- package/dist/unbundled/chunks/chunk.PSWC5RFO.js +90 -0
- package/dist/unbundled/chunks/chunk.PXXW4O6Y.js +24 -0
- package/dist/unbundled/chunks/chunk.Q4XLKG2M.js +291 -0
- package/dist/unbundled/chunks/chunk.QGC4W2JQ.js +22 -0
- package/dist/unbundled/chunks/chunk.QQLR4VMG.js +114 -0
- package/dist/unbundled/chunks/chunk.QS24RS53.js +13 -0
- package/dist/unbundled/chunks/chunk.QS7DDJKU.js +28 -0
- package/dist/unbundled/chunks/chunk.QSXSR2S5.js +18 -0
- package/dist/unbundled/chunks/chunk.R24ZHMBJ.js +51 -0
- package/dist/unbundled/chunks/chunk.R25GPNKT.js +21 -0
- package/dist/unbundled/chunks/chunk.R3HUWC2P.js +83 -0
- package/dist/unbundled/chunks/chunk.R5QRSO74.js +62 -0
- package/dist/unbundled/chunks/chunk.R7X7FZAR.js +76 -0
- package/dist/unbundled/chunks/chunk.RBEGIVXE.js +74 -0
- package/dist/unbundled/chunks/chunk.RCP76SI2.js +419 -0
- package/dist/unbundled/chunks/chunk.RFJWZ5RE.js +21 -0
- package/dist/unbundled/chunks/chunk.RKGCFOCD.js +12 -0
- package/dist/unbundled/chunks/chunk.RMTJSG62.js +81 -0
- package/dist/unbundled/chunks/chunk.RSGTXZ3J.js +13 -0
- package/dist/unbundled/chunks/chunk.RTWENJ23.js +27 -0
- package/dist/unbundled/chunks/chunk.RVVYTPZP.js +40 -0
- package/dist/unbundled/chunks/chunk.S2C3K6JB.js +24 -0
- package/dist/unbundled/chunks/chunk.S3CJRJKU.js +655 -0
- package/dist/unbundled/chunks/chunk.S3S3U4YB.js +24 -0
- package/dist/unbundled/chunks/chunk.S3SQZW2R.js +85 -0
- package/dist/unbundled/chunks/chunk.SC2H2RWE.js +87 -0
- package/dist/unbundled/chunks/chunk.SJWGECOY.js +12 -0
- package/dist/unbundled/chunks/chunk.SM4W2X44.js +21 -0
- package/dist/unbundled/chunks/chunk.SOGOWBTP.js +164 -0
- package/dist/unbundled/chunks/chunk.SPCF5JL6.js +112 -0
- package/dist/unbundled/chunks/chunk.ST4TDXY6.js +12 -0
- package/dist/unbundled/chunks/chunk.ST5QNXFE.js +28 -0
- package/dist/unbundled/chunks/chunk.T24BSOWI.js +101 -0
- package/dist/unbundled/chunks/chunk.T3EF73P6.js +24 -0
- package/dist/unbundled/chunks/chunk.T7QKYQWX.js +13 -0
- package/dist/unbundled/chunks/chunk.T7ZPIISK.js +209 -0
- package/dist/unbundled/chunks/chunk.TB77N2Z5.js +29 -0
- package/dist/unbundled/chunks/chunk.TFFRZSRD.js +926 -0
- package/dist/unbundled/chunks/chunk.TOKT2OBT.js +12 -0
- package/dist/unbundled/chunks/chunk.U5BGXF6C.js +461 -0
- package/dist/unbundled/chunks/chunk.UFJXNWNN.js +63 -0
- package/dist/unbundled/chunks/chunk.UKHZB7OT.js +25 -0
- package/dist/unbundled/chunks/chunk.UMSOLKEX.js +28 -0
- package/dist/unbundled/chunks/chunk.UPN72ZCE.js +21 -0
- package/dist/unbundled/chunks/chunk.US4FU4HD.js +12 -0
- package/dist/unbundled/chunks/chunk.US7HRJHA.js +171 -0
- package/dist/unbundled/chunks/chunk.USW4S5HZ.js +20 -0
- package/dist/unbundled/chunks/chunk.UWTPPYT3.js +15 -0
- package/dist/unbundled/chunks/chunk.UXQAW5DA.js +24 -0
- package/dist/unbundled/chunks/chunk.V3WAYU6A.js +128 -0
- package/dist/unbundled/chunks/chunk.V4Z6GEIP.js +25 -0
- package/dist/unbundled/chunks/chunk.VKAK64GL.js +24 -0
- package/dist/unbundled/chunks/chunk.VKVKV7LH.js +107 -0
- package/dist/unbundled/chunks/chunk.VPFERRRS.js +13 -0
- package/dist/unbundled/chunks/chunk.VR3WL2WO.js +83 -0
- package/dist/unbundled/chunks/chunk.VRTM7AUU.js +21 -0
- package/dist/unbundled/chunks/chunk.VRTUNEMN.js +29 -0
- package/dist/unbundled/chunks/chunk.VTH4ZG22.js +24 -0
- package/dist/unbundled/chunks/chunk.VU5JSEVN.js +21 -0
- package/dist/unbundled/chunks/chunk.VXLBZXY3.js +852 -0
- package/dist/unbundled/chunks/chunk.WBLFD2RT.js +249 -0
- package/dist/unbundled/chunks/chunk.WGQG5UGU.js +16 -0
- package/dist/unbundled/chunks/chunk.WN6F72N3.js +13 -0
- package/dist/unbundled/chunks/chunk.WNXS5WGU.js +103 -0
- package/dist/unbundled/chunks/chunk.WOZBN344.js +24 -0
- package/dist/unbundled/chunks/chunk.WPRRGYV4.js +13 -0
- package/dist/unbundled/chunks/chunk.WQ7XNDQX.js +127 -0
- package/dist/unbundled/chunks/chunk.WSUMNVWX.js +250 -0
- package/dist/unbundled/chunks/chunk.WW2TWJHL.js +120 -0
- package/dist/unbundled/chunks/chunk.WXD3EGJ2.js +130 -0
- package/dist/unbundled/chunks/chunk.WXRJQGGE.js +125 -0
- package/dist/unbundled/chunks/chunk.WYOUIY55.js +1 -0
- package/dist/unbundled/chunks/chunk.XALC45V5.js +24 -0
- package/dist/unbundled/chunks/chunk.XDOYOYE6.js +12 -0
- package/dist/unbundled/chunks/chunk.XJUQRXWZ.js +12 -0
- package/dist/unbundled/chunks/chunk.XXGD4S2Z.js +168 -0
- package/dist/unbundled/chunks/chunk.Y7YQ7MTR.js +49 -0
- package/dist/unbundled/chunks/chunk.YBRM4CVR.js +225 -0
- package/dist/unbundled/chunks/chunk.YFRAY3EX.js +44 -0
- package/dist/unbundled/chunks/chunk.YR4AIV36.js +61 -0
- package/dist/unbundled/chunks/chunk.YVXLKJJD.js +93 -0
- package/dist/unbundled/chunks/chunk.YWKXROPM.js +116 -0
- package/dist/unbundled/chunks/chunk.YWQSMSCB.js +13 -0
- package/dist/unbundled/chunks/chunk.Z5ABTJBS.js +24 -0
- package/dist/unbundled/chunks/chunk.Z6G5TMH4.js +92 -0
- package/dist/unbundled/chunks/chunk.Z6UANCHF.js +89 -0
- package/dist/unbundled/chunks/chunk.ZEFVEPMP.js +31 -0
- package/dist/unbundled/chunks/chunk.ZEXHO2PB.js +26 -0
- package/dist/unbundled/chunks/chunk.ZFBJZ77S.js +12 -0
- package/dist/unbundled/chunks/chunk.ZFKWSVQ4.js +1 -0
- package/dist/unbundled/chunks/chunk.ZHGJ3KL7.js +92 -0
- package/dist/unbundled/chunks/chunk.ZQ7G474G.js +251 -0
- package/dist/unbundled/chunks/chunk.ZX2DXSN7.js +114 -0
- package/dist/unbundled/components/accordion/accordion.d.ts +55 -0
- package/dist/unbundled/components/accordion/accordion.js +33 -0
- package/dist/unbundled/components/accordion/accordion.styles.d.ts +2 -0
- package/dist/unbundled/components/accordion/accordion.styles.js +8 -0
- package/dist/unbundled/components/accordion-item/accordion-item.d.ts +72 -0
- package/dist/unbundled/components/accordion-item/accordion-item.js +27 -0
- package/dist/unbundled/components/accordion-item/accordion-item.styles.d.ts +2 -0
- package/dist/unbundled/components/accordion-item/accordion-item.styles.js +8 -0
- package/dist/unbundled/components/animated-image/animated-image.d.ts +51 -0
- package/dist/unbundled/components/animated-image/animated-image.js +22 -0
- package/dist/unbundled/components/animated-image/animated-image.styles.d.ts +2 -0
- package/dist/unbundled/components/animated-image/animated-image.styles.js +8 -0
- package/dist/unbundled/components/animation/animation.d.ts +83 -0
- package/dist/unbundled/components/animation/animation.js +15 -0
- package/dist/unbundled/components/animation/animation.styles.d.ts +2 -0
- package/dist/unbundled/components/animation/animation.styles.js +8 -0
- package/dist/unbundled/components/animation/animations.d.ts +6 -0
- package/dist/unbundled/components/animation/animations.js +12 -0
- package/dist/unbundled/components/avatar/avatar.d.ts +45 -0
- package/dist/unbundled/components/avatar/avatar.js +20 -0
- package/dist/unbundled/components/avatar/avatar.styles.d.ts +2 -0
- package/dist/unbundled/components/avatar/avatar.styles.js +8 -0
- package/dist/unbundled/components/badge/badge.d.ts +36 -0
- package/dist/unbundled/components/badge/badge.js +11 -0
- package/dist/unbundled/components/badge/badge.styles.d.ts +2 -0
- package/dist/unbundled/components/badge/badge.styles.js +8 -0
- package/dist/unbundled/components/breadcrumb/breadcrumb.d.ts +36 -0
- package/dist/unbundled/components/breadcrumb/breadcrumb.js +22 -0
- package/dist/unbundled/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/dist/unbundled/components/breadcrumb/breadcrumb.styles.js +8 -0
- package/dist/unbundled/components/breadcrumb-item/breadcrumb-item.d.ts +42 -0
- package/dist/unbundled/components/breadcrumb-item/breadcrumb-item.js +11 -0
- package/dist/unbundled/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/dist/unbundled/components/breadcrumb-item/breadcrumb-item.styles.js +8 -0
- package/dist/unbundled/components/button/button.d.ts +125 -0
- package/dist/unbundled/components/button/button.js +29 -0
- package/dist/unbundled/components/button/button.styles.d.ts +2 -0
- package/dist/unbundled/components/button/button.styles.js +8 -0
- package/dist/unbundled/components/button-group/button-group.d.ts +36 -0
- package/dist/unbundled/components/button-group/button-group.js +10 -0
- package/dist/unbundled/components/button-group/button-group.styles.d.ts +2 -0
- package/dist/unbundled/components/button-group/button-group.styles.js +8 -0
- package/dist/unbundled/components/callout/callout.d.ts +29 -0
- package/dist/unbundled/components/callout/callout.js +12 -0
- package/dist/unbundled/components/callout/callout.styles.d.ts +2 -0
- package/dist/unbundled/components/callout/callout.styles.js +8 -0
- package/dist/unbundled/components/card/card.d.ts +67 -0
- package/dist/unbundled/components/card/card.js +12 -0
- package/dist/unbundled/components/card/card.styles.d.ts +2 -0
- package/dist/unbundled/components/card/card.styles.js +8 -0
- package/dist/unbundled/components/carousel/autoplay-controller.d.ts +20 -0
- package/dist/unbundled/components/carousel/autoplay-controller.js +8 -0
- package/dist/unbundled/components/carousel/carousel.d.ts +131 -0
- package/dist/unbundled/components/carousel/carousel.js +27 -0
- package/dist/unbundled/components/carousel/carousel.styles.d.ts +2 -0
- package/dist/unbundled/components/carousel/carousel.styles.js +8 -0
- package/dist/unbundled/components/carousel/scroll-controller.d.ts +25 -0
- package/dist/unbundled/components/carousel/scroll-controller.js +110 -0
- package/dist/unbundled/components/carousel-item/carousel-item.d.ts +22 -0
- package/dist/unbundled/components/carousel-item/carousel-item.js +10 -0
- package/dist/unbundled/components/carousel-item/carousel-item.styles.d.ts +2 -0
- package/dist/unbundled/components/carousel-item/carousel-item.styles.js +8 -0
- package/dist/unbundled/components/checkbox/checkbox.d.ts +97 -0
- package/dist/unbundled/components/checkbox/checkbox.js +26 -0
- package/dist/unbundled/components/checkbox/checkbox.styles.d.ts +2 -0
- package/dist/unbundled/components/checkbox/checkbox.styles.js +8 -0
- package/dist/unbundled/components/checkbox-group/checkbox-group.d.ts +70 -0
- package/dist/unbundled/components/checkbox-group/checkbox-group.js +28 -0
- package/dist/unbundled/components/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/unbundled/components/checkbox-group/checkbox-group.styles.js +8 -0
- package/dist/unbundled/components/color-picker/color-picker.d.ts +232 -0
- package/dist/unbundled/components/color-picker/color-picker.js +49 -0
- package/dist/unbundled/components/color-picker/color-picker.styles.d.ts +2 -0
- package/dist/unbundled/components/color-picker/color-picker.styles.js +8 -0
- package/dist/unbundled/components/comparison/comparison.d.ts +44 -0
- package/dist/unbundled/components/comparison/comparison.js +24 -0
- package/dist/unbundled/components/comparison/comparison.styles.d.ts +2 -0
- package/dist/unbundled/components/comparison/comparison.styles.js +8 -0
- package/dist/unbundled/components/copy-button/copy-button.d.ts +96 -0
- package/dist/unbundled/components/copy-button/copy-button.js +38 -0
- package/dist/unbundled/components/copy-button/copy-button.styles.d.ts +2 -0
- package/dist/unbundled/components/copy-button/copy-button.styles.js +8 -0
- package/dist/unbundled/components/details/details.d.ts +79 -0
- package/dist/unbundled/components/details/details.js +30 -0
- package/dist/unbundled/components/details/details.styles.d.ts +2 -0
- package/dist/unbundled/components/details/details.styles.js +8 -0
- package/dist/unbundled/components/dialog/dialog.d.ts +88 -0
- package/dist/unbundled/components/dialog/dialog.js +41 -0
- package/dist/unbundled/components/dialog/dialog.styles.d.ts +2 -0
- package/dist/unbundled/components/dialog/dialog.styles.js +8 -0
- package/dist/unbundled/components/divider/divider.d.ts +24 -0
- package/dist/unbundled/components/divider/divider.js +11 -0
- package/dist/unbundled/components/divider/divider.styles.d.ts +2 -0
- package/dist/unbundled/components/divider/divider.styles.js +8 -0
- package/dist/unbundled/components/drawer/drawer.d.ts +96 -0
- package/dist/unbundled/components/drawer/drawer.js +41 -0
- package/dist/unbundled/components/drawer/drawer.styles.d.ts +2 -0
- package/dist/unbundled/components/drawer/drawer.styles.js +8 -0
- package/dist/unbundled/components/dropdown/dropdown.d.ts +111 -0
- package/dist/unbundled/components/dropdown/dropdown.js +38 -0
- package/dist/unbundled/components/dropdown/dropdown.styles.d.ts +2 -0
- package/dist/unbundled/components/dropdown/dropdown.styles.js +8 -0
- package/dist/unbundled/components/dropdown-item/dropdown-item.d.ts +94 -0
- package/dist/unbundled/components/dropdown-item/dropdown-item.js +22 -0
- package/dist/unbundled/components/dropdown-item/dropdown-item.styles.d.ts +2 -0
- package/dist/unbundled/components/dropdown-item/dropdown-item.styles.js +8 -0
- package/dist/unbundled/components/format-bytes/format-bytes.d.ts +24 -0
- package/dist/unbundled/components/format-bytes/format-bytes.js +11 -0
- package/dist/unbundled/components/format-date/format-date.d.ts +46 -0
- package/dist/unbundled/components/format-date/format-date.js +11 -0
- package/dist/unbundled/components/format-number/format-number.d.ts +38 -0
- package/dist/unbundled/components/format-number/format-number.js +11 -0
- package/dist/unbundled/components/icon/icon.d.ts +124 -0
- package/dist/unbundled/components/icon/icon.js +18 -0
- package/dist/unbundled/components/icon/icon.styles.d.ts +2 -0
- package/dist/unbundled/components/icon/icon.styles.js +8 -0
- package/dist/unbundled/components/icon/library.brands.d.ts +15 -0
- package/dist/unbundled/components/icon/library.brands.js +10 -0
- package/dist/unbundled/components/icon/library.d.ts +24 -0
- package/dist/unbundled/components/icon/library.default.d.ts +26 -0
- package/dist/unbundled/components/icon/library.default.js +15 -0
- package/dist/unbundled/components/icon/library.js +24 -0
- package/dist/unbundled/components/icon/library.system.d.ts +20 -0
- package/dist/unbundled/components/icon/library.system.js +10 -0
- package/dist/unbundled/components/include/include.d.ts +42 -0
- package/dist/unbundled/components/include/include.js +14 -0
- package/dist/unbundled/components/include/include.styles.d.ts +2 -0
- package/dist/unbundled/components/include/include.styles.js +8 -0
- package/dist/unbundled/components/include/request.d.ts +8 -0
- package/dist/unbundled/components/include/request.js +8 -0
- package/dist/unbundled/components/input/input.d.ts +172 -0
- package/dist/unbundled/components/input/input.js +30 -0
- package/dist/unbundled/components/input/input.styles.d.ts +2 -0
- package/dist/unbundled/components/input/input.styles.js +8 -0
- package/dist/unbundled/components/intersection-observer/intersection-observer.d.ts +51 -0
- package/dist/unbundled/components/intersection-observer/intersection-observer.js +14 -0
- package/dist/unbundled/components/intersection-observer/intersection-observer.styles.d.ts +2 -0
- package/dist/unbundled/components/intersection-observer/intersection-observer.styles.js +8 -0
- package/dist/unbundled/components/known-date/internal/field-order.d.ts +12 -0
- package/dist/unbundled/components/known-date/internal/field-order.js +8 -0
- package/dist/unbundled/components/known-date/internal/partial-date-validator.d.ts +11 -0
- package/dist/unbundled/components/known-date/internal/partial-date-validator.js +8 -0
- package/dist/unbundled/components/known-date/internal/parts.d.ts +26 -0
- package/dist/unbundled/components/known-date/internal/parts.js +16 -0
- package/dist/unbundled/components/known-date/known-date.d.ts +144 -0
- package/dist/unbundled/components/known-date/known-date.js +23 -0
- package/dist/unbundled/components/known-date/known-date.styles.d.ts +2 -0
- package/dist/unbundled/components/known-date/known-date.styles.js +8 -0
- package/dist/unbundled/components/markdown/markdown.d.ts +42 -0
- package/dist/unbundled/components/markdown/markdown.js +10 -0
- package/dist/unbundled/components/markdown/markdown.styles.d.ts +2 -0
- package/dist/unbundled/components/markdown/markdown.styles.js +8 -0
- package/dist/unbundled/components/mutation-observer/mutation-observer.d.ts +44 -0
- package/dist/unbundled/components/mutation-observer/mutation-observer.js +12 -0
- package/dist/unbundled/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/dist/unbundled/components/mutation-observer/mutation-observer.styles.js +8 -0
- package/dist/unbundled/components/number-input/number-input.d.ts +146 -0
- package/dist/unbundled/components/number-input/number-input.js +29 -0
- package/dist/unbundled/components/number-input/number-input.styles.d.ts +2 -0
- package/dist/unbundled/components/number-input/number-input.styles.js +8 -0
- package/dist/unbundled/components/option/option.d.ts +74 -0
- package/dist/unbundled/components/option/option.js +22 -0
- package/dist/unbundled/components/option/option.styles.d.ts +2 -0
- package/dist/unbundled/components/option/option.styles.js +8 -0
- package/dist/unbundled/components/otp-input/otp-input.d.ts +146 -0
- package/dist/unbundled/components/otp-input/otp-input.js +20 -0
- package/dist/unbundled/components/otp-input/otp-input.styles.d.ts +2 -0
- package/dist/unbundled/components/otp-input/otp-input.styles.js +8 -0
- package/dist/unbundled/components/page/page.d.ts +139 -0
- package/dist/unbundled/components/page/page.js +45 -0
- package/dist/unbundled/components/page/page.mobile.styles.d.ts +2 -0
- package/dist/unbundled/components/page/page.mobile.styles.js +8 -0
- package/dist/unbundled/components/page/page.styles.d.ts +2 -0
- package/dist/unbundled/components/page/page.styles.js +8 -0
- package/dist/unbundled/components/pagination/pagination.d.ts +116 -0
- package/dist/unbundled/components/pagination/pagination.js +27 -0
- package/dist/unbundled/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/unbundled/components/pagination/pagination.styles.js +8 -0
- package/dist/unbundled/components/popover/popover.d.ts +79 -0
- package/dist/unbundled/components/popover/popover.js +24 -0
- package/dist/unbundled/components/popover/popover.styles.d.ts +2 -0
- package/dist/unbundled/components/popover/popover.styles.js +8 -0
- package/dist/unbundled/components/popup/popup.d.ts +161 -0
- package/dist/unbundled/components/popup/popup.js +13 -0
- package/dist/unbundled/components/popup/popup.styles.d.ts +2 -0
- package/dist/unbundled/components/popup/popup.styles.js +8 -0
- package/dist/unbundled/components/progress-bar/progress-bar.d.ts +37 -0
- package/dist/unbundled/components/progress-bar/progress-bar.js +13 -0
- package/dist/unbundled/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/dist/unbundled/components/progress-bar/progress-bar.styles.js +8 -0
- package/dist/unbundled/components/progress-ring/progress-ring.d.ts +40 -0
- package/dist/unbundled/components/progress-ring/progress-ring.js +12 -0
- package/dist/unbundled/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/dist/unbundled/components/progress-ring/progress-ring.styles.js +8 -0
- package/dist/unbundled/components/qr-code/qr-code.d.ts +48 -0
- package/dist/unbundled/components/qr-code/qr-code.js +10 -0
- package/dist/unbundled/components/qr-code/qr-code.styles.d.ts +2 -0
- package/dist/unbundled/components/qr-code/qr-code.styles.js +8 -0
- package/dist/unbundled/components/radio/radio.d.ts +59 -0
- package/dist/unbundled/components/radio/radio.js +24 -0
- package/dist/unbundled/components/radio/radio.styles.d.ts +2 -0
- package/dist/unbundled/components/radio/radio.styles.js +8 -0
- package/dist/unbundled/components/radio-group/radio-group.d.ts +95 -0
- package/dist/unbundled/components/radio-group/radio-group.js +29 -0
- package/dist/unbundled/components/radio-group/radio-group.styles.d.ts +2 -0
- package/dist/unbundled/components/radio-group/radio-group.styles.js +8 -0
- package/dist/unbundled/components/random-content/random-content.d.ts +56 -0
- package/dist/unbundled/components/random-content/random-content.js +15 -0
- package/dist/unbundled/components/random-content/random-content.styles.d.ts +2 -0
- package/dist/unbundled/components/random-content/random-content.styles.js +8 -0
- package/dist/unbundled/components/rating/rating.d.ts +85 -0
- package/dist/unbundled/components/rating/rating.js +28 -0
- package/dist/unbundled/components/rating/rating.styles.d.ts +2 -0
- package/dist/unbundled/components/rating/rating.styles.js +8 -0
- package/dist/unbundled/components/relative-time/relative-time.d.ts +43 -0
- package/dist/unbundled/components/relative-time/relative-time.js +11 -0
- package/dist/unbundled/components/resize-observer/resize-observer.d.ts +31 -0
- package/dist/unbundled/components/resize-observer/resize-observer.js +12 -0
- package/dist/unbundled/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/dist/unbundled/components/resize-observer/resize-observer.styles.js +8 -0
- package/dist/unbundled/components/scroller/scroller.d.ts +41 -0
- package/dist/unbundled/components/scroller/scroller.js +12 -0
- package/dist/unbundled/components/scroller/scroller.styles.d.ts +2 -0
- package/dist/unbundled/components/scroller/scroller.styles.js +8 -0
- package/dist/unbundled/components/select/select.d.ts +197 -0
- package/dist/unbundled/components/select/select.js +51 -0
- package/dist/unbundled/components/select/select.styles.d.ts +2 -0
- package/dist/unbundled/components/select/select.styles.js +8 -0
- package/dist/unbundled/components/skeleton/skeleton.d.ts +24 -0
- package/dist/unbundled/components/skeleton/skeleton.js +10 -0
- package/dist/unbundled/components/skeleton/skeleton.styles.d.ts +2 -0
- package/dist/unbundled/components/skeleton/skeleton.styles.js +8 -0
- package/dist/unbundled/components/slider/slider.d.ts +199 -0
- package/dist/unbundled/components/slider/slider.js +34 -0
- package/dist/unbundled/components/slider/slider.styles.d.ts +2 -0
- package/dist/unbundled/components/slider/slider.styles.js +8 -0
- package/dist/unbundled/components/spinner/spinner.d.ts +25 -0
- package/dist/unbundled/components/spinner/spinner.js +12 -0
- package/dist/unbundled/components/spinner/spinner.styles.d.ts +2 -0
- package/dist/unbundled/components/spinner/spinner.styles.js +8 -0
- package/dist/unbundled/components/split-panel/split-panel.d.ts +80 -0
- package/dist/unbundled/components/split-panel/split-panel.js +16 -0
- package/dist/unbundled/components/split-panel/split-panel.styles.d.ts +2 -0
- package/dist/unbundled/components/split-panel/split-panel.styles.js +8 -0
- package/dist/unbundled/components/switch/switch.d.ts +89 -0
- package/dist/unbundled/components/switch/switch.js +19 -0
- package/dist/unbundled/components/switch/switch.styles.d.ts +2 -0
- package/dist/unbundled/components/switch/switch.styles.js +8 -0
- package/dist/unbundled/components/tab/tab.d.ts +42 -0
- package/dist/unbundled/components/tab/tab.js +11 -0
- package/dist/unbundled/components/tab/tab.styles.d.ts +2 -0
- package/dist/unbundled/components/tab/tab.styles.js +8 -0
- package/dist/unbundled/components/tab-group/tab-group.d.ts +84 -0
- package/dist/unbundled/components/tab-group/tab-group.js +38 -0
- package/dist/unbundled/components/tab-group/tab-group.styles.d.ts +2 -0
- package/dist/unbundled/components/tab-group/tab-group.styles.js +8 -0
- package/dist/unbundled/components/tab-panel/tab-panel.d.ts +30 -0
- package/dist/unbundled/components/tab-panel/tab-panel.js +11 -0
- package/dist/unbundled/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/dist/unbundled/components/tab-panel/tab-panel.styles.js +8 -0
- package/dist/unbundled/components/tag/tag.d.ts +40 -0
- package/dist/unbundled/components/tag/tag.js +32 -0
- package/dist/unbundled/components/tag/tag.styles.d.ts +2 -0
- package/dist/unbundled/components/tag/tag.styles.js +8 -0
- package/dist/unbundled/components/textarea/textarea.d.ts +149 -0
- package/dist/unbundled/components/textarea/textarea.js +20 -0
- package/dist/unbundled/components/textarea/textarea.styles.d.ts +2 -0
- package/dist/unbundled/components/textarea/textarea.styles.js +8 -0
- package/dist/unbundled/components/time-input/internal/time-segments.d.ts +111 -0
- package/dist/unbundled/components/time-input/internal/time-segments.js +38 -0
- package/dist/unbundled/components/time-input/time-input.d.ts +242 -0
- package/dist/unbundled/components/time-input/time-input.js +32 -0
- package/dist/unbundled/components/time-input/time-input.styles.d.ts +2 -0
- package/dist/unbundled/components/time-input/time-input.styles.js +8 -0
- package/dist/unbundled/components/toast/toast.d.ts +83 -0
- package/dist/unbundled/components/toast/toast.js +35 -0
- package/dist/unbundled/components/toast/toast.styles.d.ts +2 -0
- package/dist/unbundled/components/toast/toast.styles.js +8 -0
- package/dist/unbundled/components/toast-item/toast-item.d.ts +86 -0
- package/dist/unbundled/components/toast-item/toast-item.js +32 -0
- package/dist/unbundled/components/toast-item/toast-item.styles.d.ts +2 -0
- package/dist/unbundled/components/toast-item/toast-item.styles.js +8 -0
- package/dist/unbundled/components/tooltip/tooltip.d.ts +91 -0
- package/dist/unbundled/components/tooltip/tooltip.js +24 -0
- package/dist/unbundled/components/tooltip/tooltip.styles.d.ts +2 -0
- package/dist/unbundled/components/tooltip/tooltip.styles.js +8 -0
- package/dist/unbundled/components/tree/tree.d.ts +70 -0
- package/dist/unbundled/components/tree/tree.js +43 -0
- package/dist/unbundled/components/tree/tree.styles.d.ts +2 -0
- package/dist/unbundled/components/tree/tree.styles.js +8 -0
- package/dist/unbundled/components/tree-item/tree-item.d.ts +114 -0
- package/dist/unbundled/components/tree-item/tree-item.js +41 -0
- package/dist/unbundled/components/tree-item/tree-item.styles.d.ts +2 -0
- package/dist/unbundled/components/tree-item/tree-item.styles.js +8 -0
- package/dist/unbundled/components/zoomable-frame/zoomable-frame.d.ts +78 -0
- package/dist/unbundled/components/zoomable-frame/zoomable-frame.js +23 -0
- package/dist/unbundled/components/zoomable-frame/zoomable-frame.styles.d.ts +2 -0
- package/dist/unbundled/components/zoomable-frame/zoomable-frame.styles.js +8 -0
- package/dist/unbundled/cornerstone.d.ts +10 -0
- package/dist/unbundled/cornerstone.js +66 -0
- package/dist/unbundled/cornerstone.loader.d.ts +1 -0
- package/dist/unbundled/cornerstone.loader.js +67 -0
- package/dist/unbundled/cornerstone.ssr-loader.d.ts +2 -0
- package/dist/unbundled/cornerstone.ssr-loader.js +70 -0
- package/dist/unbundled/custom-elements-jsx.d.ts +17960 -0
- package/dist/unbundled/custom-elements.json +52833 -0
- package/dist/unbundled/events/accordion-after-collapse.d.ts +14 -0
- package/dist/unbundled/events/accordion-after-collapse.js +8 -0
- package/dist/unbundled/events/accordion-after-expand.d.ts +14 -0
- package/dist/unbundled/events/accordion-after-expand.js +8 -0
- package/dist/unbundled/events/accordion-collapse.d.ts +14 -0
- package/dist/unbundled/events/accordion-collapse.js +8 -0
- package/dist/unbundled/events/accordion-expand.d.ts +14 -0
- package/dist/unbundled/events/accordion-expand.js +8 -0
- package/dist/unbundled/events/accordion-item-collapsed.d.ts +9 -0
- package/dist/unbundled/events/accordion-item-collapsed.js +8 -0
- package/dist/unbundled/events/accordion-item-expanded.d.ts +9 -0
- package/dist/unbundled/events/accordion-item-expanded.js +8 -0
- package/dist/unbundled/events/accordion-item-trigger.d.ts +14 -0
- package/dist/unbundled/events/accordion-item-trigger.js +8 -0
- package/dist/unbundled/events/after-collapse.d.ts +8 -0
- package/dist/unbundled/events/after-collapse.js +8 -0
- package/dist/unbundled/events/after-expand.d.ts +8 -0
- package/dist/unbundled/events/after-expand.js +8 -0
- package/dist/unbundled/events/after-hide.d.ts +8 -0
- package/dist/unbundled/events/after-hide.js +8 -0
- package/dist/unbundled/events/after-page-change.d.ts +14 -0
- package/dist/unbundled/events/after-page-change.js +8 -0
- package/dist/unbundled/events/after-show.d.ts +8 -0
- package/dist/unbundled/events/after-show.js +8 -0
- package/dist/unbundled/events/cancel.d.ts +8 -0
- package/dist/unbundled/events/cancel.js +8 -0
- package/dist/unbundled/events/clear.d.ts +8 -0
- package/dist/unbundled/events/clear.js +8 -0
- package/dist/unbundled/events/collapse.d.ts +8 -0
- package/dist/unbundled/events/collapse.js +8 -0
- package/dist/unbundled/events/complete.d.ts +8 -0
- package/dist/unbundled/events/complete.js +8 -0
- package/dist/unbundled/events/copy.d.ts +14 -0
- package/dist/unbundled/events/copy.js +8 -0
- package/dist/unbundled/events/error.d.ts +8 -0
- package/dist/unbundled/events/error.js +8 -0
- package/dist/unbundled/events/events.d.ts +41 -0
- package/dist/unbundled/events/events.js +2 -0
- package/dist/unbundled/events/expand.d.ts +8 -0
- package/dist/unbundled/events/expand.js +8 -0
- package/dist/unbundled/events/finish.d.ts +8 -0
- package/dist/unbundled/events/finish.js +8 -0
- package/dist/unbundled/events/hide.d.ts +13 -0
- package/dist/unbundled/events/hide.js +8 -0
- package/dist/unbundled/events/hover.d.ts +14 -0
- package/dist/unbundled/events/hover.js +8 -0
- package/dist/unbundled/events/include-error.d.ts +13 -0
- package/dist/unbundled/events/include-error.js +8 -0
- package/dist/unbundled/events/intersect.d.ts +14 -0
- package/dist/unbundled/events/intersect.js +8 -0
- package/dist/unbundled/events/invalid.d.ts +8 -0
- package/dist/unbundled/events/invalid.js +8 -0
- package/dist/unbundled/events/lazy-change.d.ts +8 -0
- package/dist/unbundled/events/lazy-change.js +8 -0
- package/dist/unbundled/events/lazy-load.d.ts +8 -0
- package/dist/unbundled/events/lazy-load.js +8 -0
- package/dist/unbundled/events/load.d.ts +8 -0
- package/dist/unbundled/events/load.js +8 -0
- package/dist/unbundled/events/mutation.d.ts +13 -0
- package/dist/unbundled/events/mutation.js +8 -0
- package/dist/unbundled/events/page-change.d.ts +16 -0
- package/dist/unbundled/events/page-change.js +8 -0
- package/dist/unbundled/events/random-content-change.d.ts +14 -0
- package/dist/unbundled/events/random-content-change.js +8 -0
- package/dist/unbundled/events/remove.d.ts +8 -0
- package/dist/unbundled/events/remove.js +8 -0
- package/dist/unbundled/events/reposition.d.ts +8 -0
- package/dist/unbundled/events/reposition.js +8 -0
- package/dist/unbundled/events/resize.d.ts +13 -0
- package/dist/unbundled/events/resize.js +8 -0
- package/dist/unbundled/events/select.d.ts +13 -0
- package/dist/unbundled/events/select.js +8 -0
- package/dist/unbundled/events/selection-change.d.ts +14 -0
- package/dist/unbundled/events/selection-change.js +8 -0
- package/dist/unbundled/events/show.d.ts +8 -0
- package/dist/unbundled/events/show.js +8 -0
- package/dist/unbundled/events/slide-change.d.ts +15 -0
- package/dist/unbundled/events/slide-change.js +8 -0
- package/dist/unbundled/events/start.d.ts +8 -0
- package/dist/unbundled/events/start.js +8 -0
- package/dist/unbundled/events/tab-hide.d.ts +13 -0
- package/dist/unbundled/events/tab-hide.js +8 -0
- package/dist/unbundled/events/tab-show.d.ts +13 -0
- package/dist/unbundled/events/tab-show.js +8 -0
- package/dist/unbundled/internal/active-elements.d.ts +15 -0
- package/dist/unbundled/internal/animate.d.ts +11 -0
- package/dist/unbundled/internal/color-scheme-controller.d.ts +10 -0
- package/dist/unbundled/internal/computed-style.d.ts +2 -0
- package/dist/unbundled/internal/cornerstone-element.d.ts +55 -0
- package/dist/unbundled/internal/cornerstone-form-associated-element.d.ts +115 -0
- package/dist/unbundled/internal/custom-element.d.ts +18 -0
- package/dist/unbundled/internal/debounce.d.ts +1 -0
- package/dist/unbundled/internal/default-value.d.ts +2 -0
- package/dist/unbundled/internal/dismissible-stack.d.ts +14 -0
- package/dist/unbundled/internal/drag.d.ts +58 -0
- package/dist/unbundled/internal/event.d.ts +2 -0
- package/dist/unbundled/internal/get-text.d.ts +10 -0
- package/dist/unbundled/internal/live-announcer.d.ts +21 -0
- package/dist/unbundled/internal/math.d.ts +3 -0
- package/dist/unbundled/internal/offset.d.ts +11 -0
- package/dist/unbundled/internal/parse.d.ts +2 -0
- package/dist/unbundled/internal/rendered-watcher.d.ts +20 -0
- package/dist/unbundled/internal/scroll.d.ts +11 -0
- package/dist/unbundled/internal/scrollend-polyfill.d.ts +1 -0
- package/dist/unbundled/internal/segmented-field/segmented-field-controller.d.ts +198 -0
- package/dist/unbundled/internal/slot.d.ts +24 -0
- package/dist/unbundled/internal/submit-on-enter.d.ts +3 -0
- package/dist/unbundled/internal/test/data-testid-helpers.d.ts +12 -0
- package/dist/unbundled/internal/test/element-visible-overflow.d.ts +11 -0
- package/dist/unbundled/internal/test/expect-event.d.ts +15 -0
- package/dist/unbundled/internal/test/fixture.d.ts +28 -0
- package/dist/unbundled/internal/test/form-control-base-tests.d.ts +22 -0
- package/dist/unbundled/internal/test/pointer-utilities.d.ts +36 -0
- package/dist/unbundled/internal/test/wait-for-scrolling.d.ts +9 -0
- package/dist/unbundled/internal/validators/custom-error-validator.d.ts +6 -0
- package/dist/unbundled/internal/validators/mirror-validator.d.ts +6 -0
- package/dist/unbundled/internal/validators/required-validator.d.ts +19 -0
- package/dist/unbundled/internal/validators/slider-validator.d.ts +6 -0
- package/dist/unbundled/internal/watch.d.ts +26 -0
- package/dist/unbundled/llms.txt +3095 -0
- package/dist/unbundled/react/accordion/index.d.ts +32 -0
- package/dist/unbundled/react/accordion/index.js +34 -0
- package/dist/unbundled/react/accordion-item/index.d.ts +30 -0
- package/dist/unbundled/react/accordion-item/index.js +28 -0
- package/dist/unbundled/react/animated-image/index.d.ts +33 -0
- package/dist/unbundled/react/animated-image/index.js +23 -0
- package/dist/unbundled/react/animation/index.d.ts +30 -0
- package/dist/unbundled/react/animation/index.js +16 -0
- package/dist/unbundled/react/avatar/index.d.ts +28 -0
- package/dist/unbundled/react/avatar/index.js +21 -0
- package/dist/unbundled/react/badge/index.d.ts +21 -0
- package/dist/unbundled/react/badge/index.js +12 -0
- package/dist/unbundled/react/breadcrumb/index.d.ts +17 -0
- package/dist/unbundled/react/breadcrumb/index.js +23 -0
- package/dist/unbundled/react/breadcrumb-item/index.d.ts +21 -0
- package/dist/unbundled/react/breadcrumb-item/index.js +12 -0
- package/dist/unbundled/react/button/index.d.ts +38 -0
- package/dist/unbundled/react/button/index.js +30 -0
- package/dist/unbundled/react/button-group/index.d.ts +13 -0
- package/dist/unbundled/react/button-group/index.js +11 -0
- package/dist/unbundled/react/callout/index.d.ts +16 -0
- package/dist/unbundled/react/callout/index.js +13 -0
- package/dist/unbundled/react/card/index.d.ts +28 -0
- package/dist/unbundled/react/card/index.js +13 -0
- package/dist/unbundled/react/carousel/index.d.ts +40 -0
- package/dist/unbundled/react/carousel/index.js +28 -0
- package/dist/unbundled/react/carousel-item/index.d.ts +14 -0
- package/dist/unbundled/react/carousel-item/index.js +11 -0
- package/dist/unbundled/react/checkbox/index.d.ts +42 -0
- package/dist/unbundled/react/checkbox/index.js +27 -0
- package/dist/unbundled/react/checkbox-group/index.d.ts +24 -0
- package/dist/unbundled/react/checkbox-group/index.js +29 -0
- package/dist/unbundled/react/color-picker/index.d.ts +80 -0
- package/dist/unbundled/react/color-picker/index.js +50 -0
- package/dist/unbundled/react/comparison/index.d.ts +29 -0
- package/dist/unbundled/react/comparison/index.js +25 -0
- package/dist/unbundled/react/copy-button/index.d.ts +39 -0
- package/dist/unbundled/react/copy-button/index.js +39 -0
- package/dist/unbundled/react/details/index.d.ts +49 -0
- package/dist/unbundled/react/details/index.js +31 -0
- package/dist/unbundled/react/dialog/index.d.ts +55 -0
- package/dist/unbundled/react/dialog/index.js +42 -0
- package/dist/unbundled/react/divider/index.d.ts +14 -0
- package/dist/unbundled/react/divider/index.js +12 -0
- package/dist/unbundled/react/drawer/index.d.ts +61 -0
- package/dist/unbundled/react/drawer/index.js +42 -0
- package/dist/unbundled/react/dropdown/index.d.ts +44 -0
- package/dist/unbundled/react/dropdown/index.js +39 -0
- package/dist/unbundled/react/dropdown-item/index.d.ts +29 -0
- package/dist/unbundled/react/dropdown-item/index.js +23 -0
- package/dist/unbundled/react/format-bytes/index.d.ts +10 -0
- package/dist/unbundled/react/format-bytes/index.js +12 -0
- package/dist/unbundled/react/format-date/index.d.ts +10 -0
- package/dist/unbundled/react/format-date/index.js +12 -0
- package/dist/unbundled/react/format-number/index.d.ts +10 -0
- package/dist/unbundled/react/format-number/index.js +12 -0
- package/dist/unbundled/react/icon/index.d.ts +64 -0
- package/dist/unbundled/react/icon/index.js +19 -0
- package/dist/unbundled/react/include/index.d.ts +23 -0
- package/dist/unbundled/react/include/index.js +15 -0
- package/dist/unbundled/react/index.d.ts +70 -0
- package/dist/unbundled/react/index.js +497 -0
- package/dist/unbundled/react/input/index.d.ts +46 -0
- package/dist/unbundled/react/input/index.js +31 -0
- package/dist/unbundled/react/intersection-observer/index.d.ts +19 -0
- package/dist/unbundled/react/intersection-observer/index.js +15 -0
- package/dist/unbundled/react/known-date/index.d.ts +42 -0
- package/dist/unbundled/react/known-date/index.js +24 -0
- package/dist/unbundled/react/markdown/index.d.ts +12 -0
- package/dist/unbundled/react/markdown/index.js +11 -0
- package/dist/unbundled/react/mutation-observer/index.d.ts +19 -0
- package/dist/unbundled/react/mutation-observer/index.js +13 -0
- package/dist/unbundled/react/number-input/index.d.ts +45 -0
- package/dist/unbundled/react/number-input/index.js +30 -0
- package/dist/unbundled/react/option/index.d.ts +28 -0
- package/dist/unbundled/react/option/index.js +23 -0
- package/dist/unbundled/react/otp-input/index.d.ts +51 -0
- package/dist/unbundled/react/otp-input/index.js +21 -0
- package/dist/unbundled/react/page/index.d.ts +62 -0
- package/dist/unbundled/react/page/index.js +46 -0
- package/dist/unbundled/react/pagination/index.d.ts +43 -0
- package/dist/unbundled/react/pagination/index.js +28 -0
- package/dist/unbundled/react/popover/index.d.ts +46 -0
- package/dist/unbundled/react/popover/index.js +25 -0
- package/dist/unbundled/react/popup/index.d.ts +42 -0
- package/dist/unbundled/react/popup/index.js +14 -0
- package/dist/unbundled/react/progress-bar/index.d.ts +20 -0
- package/dist/unbundled/react/progress-bar/index.js +14 -0
- package/dist/unbundled/react/progress-ring/index.d.ts +24 -0
- package/dist/unbundled/react/progress-ring/index.js +13 -0
- package/dist/unbundled/react/qr-code/index.d.ts +12 -0
- package/dist/unbundled/react/qr-code/index.js +11 -0
- package/dist/unbundled/react/radio/index.d.ts +27 -0
- package/dist/unbundled/react/radio/index.js +25 -0
- package/dist/unbundled/react/radio-group/index.d.ts +31 -0
- package/dist/unbundled/react/radio-group/index.js +30 -0
- package/dist/unbundled/react/random-content/index.d.ts +24 -0
- package/dist/unbundled/react/random-content/index.js +16 -0
- package/dist/unbundled/react/rating/index.d.ts +32 -0
- package/dist/unbundled/react/rating/index.js +29 -0
- package/dist/unbundled/react/relative-time/index.d.ts +10 -0
- package/dist/unbundled/react/relative-time/index.js +12 -0
- package/dist/unbundled/react/resize-observer/index.d.ts +19 -0
- package/dist/unbundled/react/resize-observer/index.js +13 -0
- package/dist/unbundled/react/scroller/index.d.ts +19 -0
- package/dist/unbundled/react/scroller/index.js +13 -0
- package/dist/unbundled/react/select/index.d.ts +77 -0
- package/dist/unbundled/react/select/index.js +52 -0
- package/dist/unbundled/react/skeleton/index.d.ts +15 -0
- package/dist/unbundled/react/skeleton/index.js +11 -0
- package/dist/unbundled/react/slider/index.d.ts +57 -0
- package/dist/unbundled/react/slider/index.js +35 -0
- package/dist/unbundled/react/spinner/index.d.ts +17 -0
- package/dist/unbundled/react/spinner/index.js +13 -0
- package/dist/unbundled/react/split-panel/index.d.ts +32 -0
- package/dist/unbundled/react/split-panel/index.js +17 -0
- package/dist/unbundled/react/switch/index.d.ts +34 -0
- package/dist/unbundled/react/switch/index.js +20 -0
- package/dist/unbundled/react/tab/index.d.ts +13 -0
- package/dist/unbundled/react/tab/index.js +12 -0
- package/dist/unbundled/react/tab-group/index.d.ts +44 -0
- package/dist/unbundled/react/tab-group/index.js +39 -0
- package/dist/unbundled/react/tab-panel/index.d.ts +14 -0
- package/dist/unbundled/react/tab-panel/index.js +12 -0
- package/dist/unbundled/react/tag/index.d.ts +25 -0
- package/dist/unbundled/react/tag/index.js +33 -0
- package/dist/unbundled/react/textarea/index.d.ts +32 -0
- package/dist/unbundled/react/textarea/index.js +21 -0
- package/dist/unbundled/react/time-input/index.d.ts +86 -0
- package/dist/unbundled/react/time-input/index.js +33 -0
- package/dist/unbundled/react/toast/index.d.ts +20 -0
- package/dist/unbundled/react/toast/index.js +36 -0
- package/dist/unbundled/react/toast-item/index.d.ts +52 -0
- package/dist/unbundled/react/toast-item/index.js +33 -0
- package/dist/unbundled/react/tooltip/index.d.ts +39 -0
- package/dist/unbundled/react/tooltip/index.js +25 -0
- package/dist/unbundled/react/tree/index.d.ts +32 -0
- package/dist/unbundled/react/tree/index.js +44 -0
- package/dist/unbundled/react/tree-item/index.d.ts +70 -0
- package/dist/unbundled/react/tree-item/index.js +40 -0
- package/dist/unbundled/react/zoomable-frame/index.d.ts +22 -0
- package/dist/unbundled/react/zoomable-frame/index.js +24 -0
- package/dist/unbundled/skills/cornerstone/SKILL.md +417 -0
- package/dist/unbundled/skills/cornerstone/references/choosing-components.md +201 -0
- package/dist/unbundled/skills/cornerstone/references/components/accordion-item.md +97 -0
- package/dist/unbundled/skills/cornerstone/references/components/accordion.md +385 -0
- package/dist/unbundled/skills/cornerstone/references/components/animated-image.md +132 -0
- package/dist/unbundled/skills/cornerstone/references/components/animation.md +271 -0
- package/dist/unbundled/skills/cornerstone/references/components/avatar.md +167 -0
- package/dist/unbundled/skills/cornerstone/references/components/badge.md +227 -0
- package/dist/unbundled/skills/cornerstone/references/components/breadcrumb-item.md +64 -0
- package/dist/unbundled/skills/cornerstone/references/components/breadcrumb.md +185 -0
- package/dist/unbundled/skills/cornerstone/references/components/button-group.md +193 -0
- package/dist/unbundled/skills/cornerstone/references/components/button.md +351 -0
- package/dist/unbundled/skills/cornerstone/references/components/callout.md +189 -0
- package/dist/unbundled/skills/cornerstone/references/components/card.md +288 -0
- package/dist/unbundled/skills/cornerstone/references/components/carousel-item.md +42 -0
- package/dist/unbundled/skills/cornerstone/references/components/carousel.md +712 -0
- package/dist/unbundled/skills/cornerstone/references/components/checkbox-group.md +187 -0
- package/dist/unbundled/skills/cornerstone/references/components/checkbox.md +206 -0
- package/dist/unbundled/skills/cornerstone/references/components/color-picker.md +344 -0
- package/dist/unbundled/skills/cornerstone/references/components/comparison.md +118 -0
- package/dist/unbundled/skills/cornerstone/references/components/copy-button.md +269 -0
- package/dist/unbundled/skills/cornerstone/references/components/details.md +240 -0
- package/dist/unbundled/skills/cornerstone/references/components/dialog.md +307 -0
- package/dist/unbundled/skills/cornerstone/references/components/divider.md +111 -0
- package/dist/unbundled/skills/cornerstone/references/components/drawer.md +352 -0
- package/dist/unbundled/skills/cornerstone/references/components/dropdown-item.md +92 -0
- package/dist/unbundled/skills/cornerstone/references/components/dropdown.md +452 -0
- package/dist/unbundled/skills/cornerstone/references/components/format-bytes.md +89 -0
- package/dist/unbundled/skills/cornerstone/references/components/format-date.md +104 -0
- package/dist/unbundled/skills/cornerstone/references/components/format-number.md +99 -0
- package/dist/unbundled/skills/cornerstone/references/components/icon.md +1425 -0
- package/dist/unbundled/skills/cornerstone/references/components/include.md +114 -0
- package/dist/unbundled/skills/cornerstone/references/components/input.md +303 -0
- package/dist/unbundled/skills/cornerstone/references/components/intersection-observer.md +344 -0
- package/dist/unbundled/skills/cornerstone/references/components/known-date.md +279 -0
- package/dist/unbundled/skills/cornerstone/references/components/markdown.md +263 -0
- package/dist/unbundled/skills/cornerstone/references/components/mutation-observer.md +154 -0
- package/dist/unbundled/skills/cornerstone/references/components/number-input.md +360 -0
- package/dist/unbundled/skills/cornerstone/references/components/option.md +85 -0
- package/dist/unbundled/skills/cornerstone/references/components/otp-input.md +441 -0
- package/dist/unbundled/skills/cornerstone/references/components/page.md +359 -0
- package/dist/unbundled/skills/cornerstone/references/components/pagination.md +466 -0
- package/dist/unbundled/skills/cornerstone/references/components/popover.md +218 -0
- package/dist/unbundled/skills/cornerstone/references/components/popup.md +1112 -0
- package/dist/unbundled/skills/cornerstone/references/components/progress-bar.md +134 -0
- package/dist/unbundled/skills/cornerstone/references/components/progress-ring.md +140 -0
- package/dist/unbundled/skills/cornerstone/references/components/qr-code.md +200 -0
- package/dist/unbundled/skills/cornerstone/references/components/radio-group.md +308 -0
- package/dist/unbundled/skills/cornerstone/references/components/radio.md +98 -0
- package/dist/unbundled/skills/cornerstone/references/components/random-content.md +367 -0
- package/dist/unbundled/skills/cornerstone/references/components/rating.md +303 -0
- package/dist/unbundled/skills/cornerstone/references/components/relative-time.md +92 -0
- package/dist/unbundled/skills/cornerstone/references/components/resize-observer.md +91 -0
- package/dist/unbundled/skills/cornerstone/references/components/scroller.md +293 -0
- package/dist/unbundled/skills/cornerstone/references/components/select.md +542 -0
- package/dist/unbundled/skills/cornerstone/references/components/skeleton.md +261 -0
- package/dist/unbundled/skills/cornerstone/references/components/slider.md +544 -0
- package/dist/unbundled/skills/cornerstone/references/components/spinner.md +83 -0
- package/dist/unbundled/skills/cornerstone/references/components/split-panel.md +342 -0
- package/dist/unbundled/skills/cornerstone/references/components/switch.md +160 -0
- package/dist/unbundled/skills/cornerstone/references/components/tab-group.md +279 -0
- package/dist/unbundled/skills/cornerstone/references/components/tab-panel.md +49 -0
- package/dist/unbundled/skills/cornerstone/references/components/tab.md +49 -0
- package/dist/unbundled/skills/cornerstone/references/components/tag.md +179 -0
- package/dist/unbundled/skills/cornerstone/references/components/textarea.md +241 -0
- package/dist/unbundled/skills/cornerstone/references/components/time-input.md +366 -0
- package/dist/unbundled/skills/cornerstone/references/components/toast-item.md +305 -0
- package/dist/unbundled/skills/cornerstone/references/components/toast.md +496 -0
- package/dist/unbundled/skills/cornerstone/references/components/tooltip.md +243 -0
- package/dist/unbundled/skills/cornerstone/references/components/tree-item.md +105 -0
- package/dist/unbundled/skills/cornerstone/references/components/tree.md +410 -0
- package/dist/unbundled/skills/cornerstone/references/components/zoomable-frame.md +149 -0
- package/dist/unbundled/skills/cornerstone/references/customizing.md +180 -0
- package/dist/unbundled/skills/cornerstone/references/form-controls.md +188 -0
- package/dist/unbundled/skills/cornerstone/references/frameworks/rails.md +206 -0
- package/dist/unbundled/skills/cornerstone/references/frameworks/react.md +252 -0
- package/dist/unbundled/skills/cornerstone/references/frameworks/wordpress.md +186 -0
- package/dist/unbundled/skills/cornerstone/references/installation.md +151 -0
- package/dist/unbundled/skills/cornerstone/references/localization.md +133 -0
- package/dist/unbundled/skills/cornerstone/references/support.md +10 -0
- package/dist/unbundled/skills/cornerstone/references/themes.md +55 -0
- package/dist/unbundled/skills/cornerstone/references/theming-overview.md +114 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/borders.md +113 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/color.md +298 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/component-groups.md +252 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/focus.md +43 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/shadows.md +152 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/space.md +110 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/transitions.md +81 -0
- package/dist/unbundled/skills/cornerstone/references/tokens/typography.md +237 -0
- package/dist/unbundled/skills/cornerstone/references/usage.md +222 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/color.md +44 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/fouce.md +32 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/layout.md +1142 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/native.md +730 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/prose.md +273 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/rounding.md +25 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/text.md +227 -0
- package/dist/unbundled/skills/cornerstone/references/utilities/visually-hidden.md +147 -0
- package/dist/unbundled/skills/cornerstone-design/SKILL.md +382 -0
- package/dist/unbundled/skills/cornerstone-design/references/composition.md +526 -0
- package/dist/unbundled/skills/cornerstone-design/references/getting-started.md +67 -0
- package/dist/unbundled/skills/cornerstone-design/references/layouts-inpage.md +120 -0
- package/dist/unbundled/skills/cornerstone-design/references/layouts-page.md +612 -0
- package/dist/unbundled/skills/cornerstone-design/references/patterns.md +250 -0
- package/dist/unbundled/skills/cornerstone-design/references/principles.md +577 -0
- package/dist/unbundled/skills/cornerstone-design/references/theming.md +152 -0
- package/dist/unbundled/ssr/all.d.ts +70 -0
- package/dist/unbundled/ssr/all.js +427 -0
- package/dist/unbundled/ssr/render-string.d.ts +5 -0
- package/dist/unbundled/ssr/render-string.js +20 -0
- package/dist/unbundled/ssr/trim-outer-markers.d.ts +1 -0
- package/dist/unbundled/ssr/trim-outer-markers.js +8 -0
- package/dist/unbundled/styles/color/palettes/base.css +44 -0
- package/dist/unbundled/styles/color/palettes/cru.css +342 -0
- package/dist/unbundled/styles/color/palettes/default.css +146 -0
- package/dist/unbundled/styles/color/variants/brand.css +162 -0
- package/dist/unbundled/styles/color/variants/cru.css +2609 -0
- package/dist/unbundled/styles/color/variants/danger.css +162 -0
- package/dist/unbundled/styles/color/variants/highlight.css +162 -0
- package/dist/unbundled/styles/color/variants/information.css +162 -0
- package/dist/unbundled/styles/color/variants/neutral.css +162 -0
- package/dist/unbundled/styles/color/variants/success.css +162 -0
- package/dist/unbundled/styles/color/variants/warning.css +162 -0
- package/dist/unbundled/styles/color/variants.css +13 -0
- package/dist/unbundled/styles/component/form-control.styles.d.ts +2 -0
- package/dist/unbundled/styles/component/form-control.styles.ts +43 -0
- package/dist/unbundled/styles/component/host.styles.d.ts +2 -0
- package/dist/unbundled/styles/component/host.styles.ts +18 -0
- package/dist/unbundled/styles/component/segmented-field.styles.d.ts +19 -0
- package/dist/unbundled/styles/component/segmented-field.styles.ts +92 -0
- package/dist/unbundled/styles/component/size.styles.d.ts +2 -0
- package/dist/unbundled/styles/component/size.styles.ts +23 -0
- package/dist/unbundled/styles/component/variants.styles.d.ts +2 -0
- package/dist/unbundled/styles/component/variants.styles.ts +95 -0
- package/dist/unbundled/styles/component/visually-hidden.styles.d.ts +2 -0
- package/dist/unbundled/styles/component/visually-hidden.styles.ts +19 -0
- package/dist/unbundled/styles/cornerstone.css +20 -0
- package/dist/unbundled/styles/layers.css +21 -0
- package/dist/unbundled/styles/native.css +1463 -0
- package/dist/unbundled/styles/themes/cru.css +406 -0
- package/dist/unbundled/styles/themes/default.css +413 -0
- package/dist/unbundled/styles/utilities/align-items.css +44 -0
- package/dist/unbundled/styles/utilities/border-radius.css +20 -0
- package/dist/unbundled/styles/utilities/flex-wrap.css +16 -0
- package/dist/unbundled/styles/utilities/fouce.css +17 -0
- package/dist/unbundled/styles/utilities/gap.css +56 -0
- package/dist/unbundled/styles/utilities/justify-content.css +32 -0
- package/dist/unbundled/styles/utilities/layout.css +159 -0
- package/dist/unbundled/styles/utilities/placeholder.css +9 -0
- package/dist/unbundled/styles/utilities/prose.css +161 -0
- package/dist/unbundled/styles/utilities/scroll-lock.css +20 -0
- package/dist/unbundled/styles/utilities/size.css +21 -0
- package/dist/unbundled/styles/utilities/text.css +262 -0
- package/dist/unbundled/styles/utilities/variants.css +87 -0
- package/dist/unbundled/styles/utilities/visually-hidden.css +17 -0
- package/dist/unbundled/styles/utilities.css +17 -0
- package/dist/unbundled/translations/ar.d.ts +3 -0
- package/dist/unbundled/translations/ar.js +264 -0
- package/dist/unbundled/translations/cs.d.ts +3 -0
- package/dist/unbundled/translations/cs.js +222 -0
- package/dist/unbundled/translations/da.d.ts +3 -0
- package/dist/unbundled/translations/da.js +181 -0
- package/dist/unbundled/translations/de-ch.d.ts +3 -0
- package/dist/unbundled/translations/de-ch.js +181 -0
- package/dist/unbundled/translations/de.d.ts +3 -0
- package/dist/unbundled/translations/de.js +10 -0
- package/dist/unbundled/translations/en-gb.d.ts +3 -0
- package/dist/unbundled/translations/en-gb.js +180 -0
- package/dist/unbundled/translations/en.d.ts +3 -0
- package/dist/unbundled/translations/en.js +8 -0
- package/dist/unbundled/translations/es.d.ts +3 -0
- package/dist/unbundled/translations/es.js +191 -0
- package/dist/unbundled/translations/fa.d.ts +3 -0
- package/dist/unbundled/translations/fa.js +178 -0
- package/dist/unbundled/translations/fi.d.ts +3 -0
- package/dist/unbundled/translations/fi.js +178 -0
- package/dist/unbundled/translations/fr.d.ts +3 -0
- package/dist/unbundled/translations/fr.js +181 -0
- package/dist/unbundled/translations/he.d.ts +3 -0
- package/dist/unbundled/translations/he.js +191 -0
- package/dist/unbundled/translations/hi.d.ts +3 -0
- package/dist/unbundled/translations/hi.js +181 -0
- package/dist/unbundled/translations/hr.d.ts +3 -0
- package/dist/unbundled/translations/hr.js +238 -0
- package/dist/unbundled/translations/hu.d.ts +3 -0
- package/dist/unbundled/translations/hu.js +181 -0
- package/dist/unbundled/translations/id.d.ts +3 -0
- package/dist/unbundled/translations/id.js +178 -0
- package/dist/unbundled/translations/it.d.ts +3 -0
- package/dist/unbundled/translations/it.js +178 -0
- package/dist/unbundled/translations/ja.d.ts +3 -0
- package/dist/unbundled/translations/ja.js +168 -0
- package/dist/unbundled/translations/kk.d.ts +3 -0
- package/dist/unbundled/translations/kk.js +181 -0
- package/dist/unbundled/translations/nb.d.ts +3 -0
- package/dist/unbundled/translations/nb.js +181 -0
- package/dist/unbundled/translations/nl.d.ts +3 -0
- package/dist/unbundled/translations/nl.js +181 -0
- package/dist/unbundled/translations/nn.d.ts +3 -0
- package/dist/unbundled/translations/nn.js +181 -0
- package/dist/unbundled/translations/pl.d.ts +3 -0
- package/dist/unbundled/translations/pl.js +235 -0
- package/dist/unbundled/translations/pt.d.ts +3 -0
- package/dist/unbundled/translations/pt.js +181 -0
- package/dist/unbundled/translations/ru.d.ts +3 -0
- package/dist/unbundled/translations/ru.js +241 -0
- package/dist/unbundled/translations/sl.d.ts +3 -0
- package/dist/unbundled/translations/sl.js +260 -0
- package/dist/unbundled/translations/sv.d.ts +3 -0
- package/dist/unbundled/translations/sv.js +181 -0
- package/dist/unbundled/translations/tr.d.ts +3 -0
- package/dist/unbundled/translations/tr.js +181 -0
- package/dist/unbundled/translations/uk.d.ts +3 -0
- package/dist/unbundled/translations/uk.js +245 -0
- package/dist/unbundled/translations/zh-cn.d.ts +3 -0
- package/dist/unbundled/translations/zh-cn.js +171 -0
- package/dist/unbundled/translations/zh-tw.d.ts +3 -0
- package/dist/unbundled/translations/zh-tw.js +171 -0
- package/dist/unbundled/types/svelte/index.d.ts +5355 -0
- package/dist/unbundled/types/vue/index.d.ts +5336 -0
- package/dist/unbundled/utilities/animation.d.ts +1 -0
- package/dist/unbundled/utilities/animation.js +11 -0
- package/dist/unbundled/utilities/autoloader.d.ts +13 -0
- package/dist/unbundled/utilities/autoloader.js +15 -0
- package/dist/unbundled/utilities/base-path.d.ts +31 -0
- package/dist/unbundled/utilities/base-path.js +14 -0
- package/dist/unbundled/utilities/clone.d.ts +27 -0
- package/dist/unbundled/utilities/clone.js +54 -0
- package/dist/unbundled/utilities/defined.d.ts +36 -0
- package/dist/unbundled/utilities/defined.js +8 -0
- package/dist/unbundled/utilities/form.d.ts +5 -0
- package/dist/unbundled/utilities/form.js +8 -0
- package/dist/unbundled/utilities/localize.d.ts +146 -0
- package/dist/unbundled/utilities/localize.js +11 -0
- package/dist/unbundled/utilities/ssr-hydration.d.ts +1 -0
- package/dist/unbundled/utilities/ssr-hydration.js +4 -0
- package/dist/unbundled/vscode.html-custom-data.json +4330 -0
- package/dist/unbundled/web-types.json +10163 -0
- package/package.json +165 -0
|
@@ -0,0 +1,1490 @@
|
|
|
1
|
+
/*! Cornerstone Components 0.1.0 - MIT licensed. See LICENSE.md and NOTICE. */
|
|
2
|
+
import {
|
|
3
|
+
buildTimeSegmentLayout,
|
|
4
|
+
dayPeriodFromKey,
|
|
5
|
+
formatDayPeriod,
|
|
6
|
+
formatTimeSegmentText,
|
|
7
|
+
isTimeEmpty,
|
|
8
|
+
resolveHour12,
|
|
9
|
+
timeSegmentRules,
|
|
10
|
+
timeSegmentsToWire,
|
|
11
|
+
wireToTimeSegments,
|
|
12
|
+
withSecondsForStep
|
|
13
|
+
} from "./chunk.MD7QGXV6.js";
|
|
14
|
+
import {
|
|
15
|
+
time_input_styles_default
|
|
16
|
+
} from "./chunk.XAOMG6TP.js";
|
|
17
|
+
import {
|
|
18
|
+
CsShowEvent
|
|
19
|
+
} from "./chunk.BNGGMXK5.js";
|
|
20
|
+
import {
|
|
21
|
+
CsHideEvent
|
|
22
|
+
} from "./chunk.5MGJKMWB.js";
|
|
23
|
+
import {
|
|
24
|
+
CsAfterHideEvent
|
|
25
|
+
} from "./chunk.A2JHAWF4.js";
|
|
26
|
+
import {
|
|
27
|
+
CsAfterShowEvent
|
|
28
|
+
} from "./chunk.KCSF6NHY.js";
|
|
29
|
+
import {
|
|
30
|
+
CsClearEvent
|
|
31
|
+
} from "./chunk.HKGYFZKM.js";
|
|
32
|
+
import {
|
|
33
|
+
isTopDismissible,
|
|
34
|
+
registerDismissible,
|
|
35
|
+
unregisterDismissible
|
|
36
|
+
} from "./chunk.ITDZMCUA.js";
|
|
37
|
+
import {
|
|
38
|
+
RequiredValidator
|
|
39
|
+
} from "./chunk.LJBXODA4.js";
|
|
40
|
+
import {
|
|
41
|
+
form_control_styles_default
|
|
42
|
+
} from "./chunk.PMFAZK3U.js";
|
|
43
|
+
import {
|
|
44
|
+
HasSlotController
|
|
45
|
+
} from "./chunk.3XMRDGUU.js";
|
|
46
|
+
import {
|
|
47
|
+
MirrorValidator
|
|
48
|
+
} from "./chunk.MDV4MWU5.js";
|
|
49
|
+
import {
|
|
50
|
+
CornerstoneFormAssociatedElement
|
|
51
|
+
} from "./chunk.R5SVRGFM.js";
|
|
52
|
+
import {
|
|
53
|
+
size_styles_default
|
|
54
|
+
} from "./chunk.CBPTZHUR.js";
|
|
55
|
+
import {
|
|
56
|
+
o
|
|
57
|
+
} from "./chunk.7AJGTGQI.js";
|
|
58
|
+
import {
|
|
59
|
+
waitForEvent
|
|
60
|
+
} from "./chunk.QSXSR2S5.js";
|
|
61
|
+
import {
|
|
62
|
+
animateWithClass
|
|
63
|
+
} from "./chunk.IQJMSIWD.js";
|
|
64
|
+
import {
|
|
65
|
+
e as e2
|
|
66
|
+
} from "./chunk.JWFTJDOQ.js";
|
|
67
|
+
import {
|
|
68
|
+
watch
|
|
69
|
+
} from "./chunk.3QOMHIHS.js";
|
|
70
|
+
import {
|
|
71
|
+
customElement,
|
|
72
|
+
e,
|
|
73
|
+
n,
|
|
74
|
+
r
|
|
75
|
+
} from "./chunk.RSRMXC3L.js";
|
|
76
|
+
import {
|
|
77
|
+
LocalizeController
|
|
78
|
+
} from "./chunk.MGBGUTRM.js";
|
|
79
|
+
import {
|
|
80
|
+
i
|
|
81
|
+
} from "./chunk.MZHGFMA5.js";
|
|
82
|
+
import {
|
|
83
|
+
A,
|
|
84
|
+
b
|
|
85
|
+
} from "./chunk.XOXMMJPV.js";
|
|
86
|
+
import {
|
|
87
|
+
__decorateClass
|
|
88
|
+
} from "./chunk.UEAH232U.js";
|
|
89
|
+
|
|
90
|
+
// src/internal/segmented-field/segmented-field-controller.ts
|
|
91
|
+
var DEFAULT_SEPARATORS = ["/", ".", "-", ":", ",", " "];
|
|
92
|
+
var SegmentedFieldController = class {
|
|
93
|
+
constructor(host, config) {
|
|
94
|
+
/** Per-segment digit buffers keyed by `${group}:${field}`. */
|
|
95
|
+
this.buffers = /* @__PURE__ */ new Map();
|
|
96
|
+
/** Which segment currently owns the roving tabindex / was most recently focused. */
|
|
97
|
+
this.active = null;
|
|
98
|
+
//
|
|
99
|
+
// Internal handlers
|
|
100
|
+
//
|
|
101
|
+
this.handleFocus = (event) => {
|
|
102
|
+
const el = event.currentTarget;
|
|
103
|
+
const group = el.dataset.group;
|
|
104
|
+
const field = el.dataset.segment;
|
|
105
|
+
this.active = { group, field };
|
|
106
|
+
for (const segment of this.segmentElements()) {
|
|
107
|
+
segment.tabIndex = segment === el ? 0 : -1;
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
this.handleBlur = (event) => {
|
|
111
|
+
const el = event.currentTarget;
|
|
112
|
+
const group = el.dataset.group;
|
|
113
|
+
const field = el.dataset.segment;
|
|
114
|
+
if (this.getBuffer(group, field)) {
|
|
115
|
+
this.flushBuffer(group, field);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
this.handleKeyDown = (event) => {
|
|
119
|
+
const el = event.currentTarget ?? event.composedPath().find((t) => {
|
|
120
|
+
return t instanceof HTMLElement && t.dataset.group && t.dataset.segment;
|
|
121
|
+
}) ?? null;
|
|
122
|
+
if (!el) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
const group = el.dataset.group;
|
|
126
|
+
const field = el.dataset.segment;
|
|
127
|
+
if (!group || !field) {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
if (event.key === "ArrowUp" || event.key === "ArrowDown") {
|
|
131
|
+
event.preventDefault();
|
|
132
|
+
if (this.isReadonlyOrDisabled()) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (this.getBuffer(group, field)) {
|
|
136
|
+
this.flushBuffer(group, field);
|
|
137
|
+
}
|
|
138
|
+
const delta = event.key === "ArrowUp" ? 1 : -1;
|
|
139
|
+
const result = this.config.rules.step(group, field, delta);
|
|
140
|
+
if (result) {
|
|
141
|
+
this.config.onCommit?.(group, field, result.value);
|
|
142
|
+
}
|
|
143
|
+
return;
|
|
144
|
+
}
|
|
145
|
+
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
146
|
+
event.preventDefault();
|
|
147
|
+
if (this.getBuffer(group, field)) {
|
|
148
|
+
this.flushBuffer(group, field);
|
|
149
|
+
}
|
|
150
|
+
const visualLeft = event.key === "ArrowLeft";
|
|
151
|
+
const logicalPrev = this.config.isRtl() ? !visualLeft : visualLeft;
|
|
152
|
+
this.moveFocus(el, logicalPrev ? -1 : 1);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
if (event.key === "Home") {
|
|
156
|
+
event.preventDefault();
|
|
157
|
+
this.segmentElements()[0]?.focus({ preventScroll: true });
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
if (event.key === "End") {
|
|
161
|
+
event.preventDefault();
|
|
162
|
+
const segments = this.segmentElements();
|
|
163
|
+
segments[segments.length - 1]?.focus({ preventScroll: true });
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (event.key === "Tab") {
|
|
167
|
+
if (this.getBuffer(group, field)) {
|
|
168
|
+
this.flushBuffer(group, field);
|
|
169
|
+
}
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
if (event.key === "Backspace" || event.key === "Delete") {
|
|
173
|
+
event.preventDefault();
|
|
174
|
+
if (this.isReadonlyOrDisabled()) {
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
const buffer = this.getBuffer(group, field);
|
|
178
|
+
if (buffer) {
|
|
179
|
+
this.setBuffer(group, field, "");
|
|
180
|
+
this.config.onCommit?.(group, field, null);
|
|
181
|
+
} else {
|
|
182
|
+
const hadValue = this.config.rules.clear(group, field);
|
|
183
|
+
if (hadValue) {
|
|
184
|
+
this.config.onCommit?.(group, field, null);
|
|
185
|
+
} else if (event.key === "Backspace") {
|
|
186
|
+
this.moveFocus(el, -1);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (/^[0-9]$/.test(event.key)) {
|
|
192
|
+
event.preventDefault();
|
|
193
|
+
if (this.isReadonlyOrDisabled()) {
|
|
194
|
+
return;
|
|
195
|
+
}
|
|
196
|
+
const buffer = this.getBuffer(group, field);
|
|
197
|
+
const result = this.config.rules.typeDigit(group, field, buffer, event.key);
|
|
198
|
+
this.setBuffer(group, field, result.buffer);
|
|
199
|
+
this.config.onCommit?.(group, field, result.value);
|
|
200
|
+
if (result.advance) {
|
|
201
|
+
this.moveFocus(el, 1);
|
|
202
|
+
}
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const seps = this.config.separatorKeys ?? DEFAULT_SEPARATORS;
|
|
206
|
+
if (seps.includes(event.key)) {
|
|
207
|
+
event.preventDefault();
|
|
208
|
+
if (this.getBuffer(group, field)) {
|
|
209
|
+
this.flushBuffer(group, field);
|
|
210
|
+
}
|
|
211
|
+
this.moveFocus(el, 1);
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
this.host = host;
|
|
216
|
+
this.config = config;
|
|
217
|
+
host.addController(this);
|
|
218
|
+
}
|
|
219
|
+
//
|
|
220
|
+
// ReactiveController lifecycle
|
|
221
|
+
//
|
|
222
|
+
hostConnected() {
|
|
223
|
+
}
|
|
224
|
+
hostDisconnected() {
|
|
225
|
+
this.buffers.clear();
|
|
226
|
+
this.active = null;
|
|
227
|
+
}
|
|
228
|
+
//
|
|
229
|
+
// Public API
|
|
230
|
+
//
|
|
231
|
+
/** Get the buffer for a segment. Empty string when nothing is pending. */
|
|
232
|
+
getBuffer(group, field) {
|
|
233
|
+
return this.buffers.get(this.key(group, field)) ?? "";
|
|
234
|
+
}
|
|
235
|
+
/** Replace the buffer for a segment. Pass `''` to clear. */
|
|
236
|
+
setBuffer(group, field, buffer) {
|
|
237
|
+
const k = this.key(group, field);
|
|
238
|
+
if (buffer) {
|
|
239
|
+
this.buffers.set(k, buffer);
|
|
240
|
+
} else {
|
|
241
|
+
this.buffers.delete(k);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
/** Drop every pending buffer. Used by the host when the canonical value is replaced wholesale. */
|
|
245
|
+
clearBuffers() {
|
|
246
|
+
this.buffers.clear();
|
|
247
|
+
}
|
|
248
|
+
/** The active segment, or `null` if focus has never landed on one. */
|
|
249
|
+
getActiveSegment() {
|
|
250
|
+
return this.active;
|
|
251
|
+
}
|
|
252
|
+
/** Sets the active segment (does not move DOM focus). Used by hosts that programmatically restore focus. */
|
|
253
|
+
setActiveSegment(group, field) {
|
|
254
|
+
this.active = { group, field };
|
|
255
|
+
}
|
|
256
|
+
/** All segment elements in the host's shadow root, in DOM (logical) order. */
|
|
257
|
+
segmentElements() {
|
|
258
|
+
const root = this.host.shadowRoot;
|
|
259
|
+
if (!root) {
|
|
260
|
+
return [];
|
|
261
|
+
}
|
|
262
|
+
return Array.from(root.querySelectorAll("[data-segment][data-group]"));
|
|
263
|
+
}
|
|
264
|
+
/** The segment element for a given (group, field), or `null` if not in the DOM. */
|
|
265
|
+
segmentElementFor(group, field) {
|
|
266
|
+
const root = this.host.shadowRoot;
|
|
267
|
+
if (!root) {
|
|
268
|
+
return null;
|
|
269
|
+
}
|
|
270
|
+
return root.querySelector(`[data-group="${group}"][data-segment="${field}"]`);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Returns the segment that should receive initial focus: the first empty segment (no value AND no buffer) per
|
|
274
|
+
* `isEmpty`, otherwise the first segment in the layout. The host supplies the emptiness predicate since the
|
|
275
|
+
* controller doesn't know the field's stored value.
|
|
276
|
+
*/
|
|
277
|
+
findFocusableSegment(isEmpty) {
|
|
278
|
+
const segments = this.segmentElements();
|
|
279
|
+
if (segments.length === 0) {
|
|
280
|
+
return null;
|
|
281
|
+
}
|
|
282
|
+
const firstEmpty = segments.find((el) => {
|
|
283
|
+
const group = el.dataset.group;
|
|
284
|
+
const field = el.dataset.segment;
|
|
285
|
+
return isEmpty(group, field) && !this.getBuffer(group, field);
|
|
286
|
+
});
|
|
287
|
+
return firstEmpty ?? segments[0];
|
|
288
|
+
}
|
|
289
|
+
/** Restore focus to the most recently active segment (or the first segment if none has been active). */
|
|
290
|
+
focusActiveSegment(options) {
|
|
291
|
+
if (this.active) {
|
|
292
|
+
const el = this.segmentElementFor(this.active.group, this.active.field);
|
|
293
|
+
if (el) {
|
|
294
|
+
el.focus({ preventScroll: true, ...options });
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
this.segmentElements()[0]?.focus({ preventScroll: true, ...options });
|
|
299
|
+
}
|
|
300
|
+
/** Move focus to the neighbor segment in logical (DOM) order. */
|
|
301
|
+
moveFocus(from, direction, options) {
|
|
302
|
+
const segments = this.segmentElements();
|
|
303
|
+
const idx = segments.indexOf(from);
|
|
304
|
+
if (idx < 0) {
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
const next = segments[idx + direction];
|
|
308
|
+
if (next) {
|
|
309
|
+
next.focus({ preventScroll: true, ...options });
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Commit a pending buffer to its committed value via `rules.commitBuffer`. Notifies the host via `onCommit`. Does
|
|
314
|
+
* nothing if no buffer is pending.
|
|
315
|
+
*/
|
|
316
|
+
flushBuffer(group, field) {
|
|
317
|
+
const buffer = this.getBuffer(group, field);
|
|
318
|
+
if (!buffer) {
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
321
|
+
const value = this.config.rules.commitBuffer(group, field, buffer);
|
|
322
|
+
this.setBuffer(group, field, "");
|
|
323
|
+
this.config.onCommit?.(group, field, value);
|
|
324
|
+
return true;
|
|
325
|
+
}
|
|
326
|
+
/**
|
|
327
|
+
* Flush every pending buffer across all groups. Used when the host needs to read a final value (e.g., on form
|
|
328
|
+
* submission outside of a focus change).
|
|
329
|
+
*/
|
|
330
|
+
flushAllBuffers() {
|
|
331
|
+
for (const [k, buffer] of this.buffers) {
|
|
332
|
+
if (!buffer) {
|
|
333
|
+
continue;
|
|
334
|
+
}
|
|
335
|
+
const [group, field] = k.split(":");
|
|
336
|
+
const value = this.config.rules.commitBuffer(group, field, buffer);
|
|
337
|
+
this.config.onCommit?.(group, field, value);
|
|
338
|
+
}
|
|
339
|
+
this.buffers.clear();
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Returns the event handlers a segment element should bind. Hosts wire these via `@keydown=${handlers.keydown}` etc.
|
|
343
|
+
* The returned functions are stable references safe to pass to Lit's directive cache.
|
|
344
|
+
*
|
|
345
|
+
* Hosts that need host-level shortcuts (e.g. `Alt+ArrowDown` to open a popup) should call `handleKeyDown` themselves
|
|
346
|
+
* after handling their own keys. The controller's `keydown` handler is safe to invoke when the host has not consumed
|
|
347
|
+
* the event — it ignores keys it doesn't recognize.
|
|
348
|
+
*/
|
|
349
|
+
eventHandlers() {
|
|
350
|
+
return {
|
|
351
|
+
keydown: this.handleKeyDown,
|
|
352
|
+
focus: this.handleFocus,
|
|
353
|
+
blur: this.handleBlur
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
* Direct entry point for hosts that wrap the controller's keydown with their own pre-handler (e.g. for popup
|
|
358
|
+
* shortcuts). Returns `true` if the controller consumed the event (called `preventDefault`), `false` otherwise.
|
|
359
|
+
*/
|
|
360
|
+
handleKeyDownEvent(event) {
|
|
361
|
+
const defaultPreventedBefore = event.defaultPrevented;
|
|
362
|
+
this.handleKeyDown(event);
|
|
363
|
+
return event.defaultPrevented && !defaultPreventedBefore;
|
|
364
|
+
}
|
|
365
|
+
//
|
|
366
|
+
// Helpers
|
|
367
|
+
//
|
|
368
|
+
key(group, field) {
|
|
369
|
+
return `${group}:${field}`;
|
|
370
|
+
}
|
|
371
|
+
isReadonlyOrDisabled() {
|
|
372
|
+
return !!(this.config.isReadonly?.() || this.config.isDisabled?.());
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
// src/styles/component/segmented-field.styles.ts
|
|
377
|
+
var segmented_field_styles_default = i`
|
|
378
|
+
/* font: inherit lifts the UA default button font-size so children that size with em
|
|
379
|
+
(e.g. the expand icon) resolve against the host size-driven font-size instead of ~13px. */
|
|
380
|
+
[part~='clear-button'],
|
|
381
|
+
[part~='expand-button'] {
|
|
382
|
+
flex: 0 0 auto;
|
|
383
|
+
display: inline-flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
background: transparent;
|
|
387
|
+
border: none;
|
|
388
|
+
cursor: pointer;
|
|
389
|
+
color: var(--cs-color-text-quiet);
|
|
390
|
+
font: inherit;
|
|
391
|
+
padding: 0.25em;
|
|
392
|
+
/* Trailing padding overhangs the content edge rather than displacing the glyph. */
|
|
393
|
+
margin-inline-end: -0.25em;
|
|
394
|
+
border-radius: var(--cs-border-radius-s);
|
|
395
|
+
transition: color var(--cs-transition-fast);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/* Fixed widths (= glyph + 2×0.25em padding) keep each glyph centered on the trailing axis
|
|
399
|
+
regardless of the slotted icon's intrinsic width. */
|
|
400
|
+
[part~='expand-button'] {
|
|
401
|
+
inline-size: 1.75em;
|
|
402
|
+
/* Leading gap that lands the clear button on <cs-select>'s clear axis. Scales with the
|
|
403
|
+
form-control padding token (like select's own spacing) so it holds across themes; the
|
|
404
|
+
0.125em offset accounts for the fixed button widths. */
|
|
405
|
+
margin-inline-start: calc(var(--cs-form-control-padding-inline) - 0.125em);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
[part~='clear-button'] {
|
|
409
|
+
inline-size: 1.5em;
|
|
410
|
+
margin-inline-start: var(--cs-form-control-padding-inline);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
[part~='clear-button']:hover,
|
|
414
|
+
[part~='expand-button']:hover {
|
|
415
|
+
color: var(--cs-color-text-normal);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
[part~='expand-button']:focus-visible {
|
|
419
|
+
outline: var(--cs-focus-ring-style) var(--cs-focus-ring-width) var(--cs-color-focus);
|
|
420
|
+
outline-offset: 2px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* font-size scales the glyph with the host size attribute; the button width handles centering. */
|
|
424
|
+
[part~='expand-icon'] {
|
|
425
|
+
display: inline-flex;
|
|
426
|
+
align-items: center;
|
|
427
|
+
justify-content: center;
|
|
428
|
+
color: var(--cs-color-text-quiet);
|
|
429
|
+
font-size: 1.25em;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/* Start / end decoration slots. Spaced with the same --cs-form-control-padding-inline gap as
|
|
433
|
+
<cs-input>/<cs-select> so slotted icons line up with the rest of the form controls, rather
|
|
434
|
+
than the tighter 0.25em the pickers used before. */
|
|
435
|
+
[part~='start'],
|
|
436
|
+
[part~='end'] {
|
|
437
|
+
display: inline-flex;
|
|
438
|
+
align-items: center;
|
|
439
|
+
color: var(--cs-color-text-quiet);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
[part~='start']::slotted(*) {
|
|
443
|
+
margin-inline-end: var(--cs-form-control-padding-inline);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
[part~='end']::slotted(*) {
|
|
447
|
+
margin-inline-start: var(--cs-form-control-padding-inline);
|
|
448
|
+
}
|
|
449
|
+
`;
|
|
450
|
+
|
|
451
|
+
// src/components/time-input/time-input.ts
|
|
452
|
+
var COLUMN_PARTS = {
|
|
453
|
+
hour: "column-hour",
|
|
454
|
+
minute: "column-minute",
|
|
455
|
+
second: "column-second",
|
|
456
|
+
dayPeriod: "column-day-period"
|
|
457
|
+
};
|
|
458
|
+
var uniqueId = 0;
|
|
459
|
+
var generateId = () => `cs-time-input-${++uniqueId}`;
|
|
460
|
+
var SINGLE_GROUP = "single";
|
|
461
|
+
var CsTimeInput = class extends CornerstoneFormAssociatedElement {
|
|
462
|
+
constructor() {
|
|
463
|
+
super(...arguments);
|
|
464
|
+
/** Every segment edit dispatches `input`, so a single observed `input` event marks the field as interacted with. */
|
|
465
|
+
this.assumeInteractionOn = ["input"];
|
|
466
|
+
this.hasSlotController = new HasSlotController(this, "hint", "label", "footer");
|
|
467
|
+
this.localize = new LocalizeController(this);
|
|
468
|
+
this.popupId = generateId();
|
|
469
|
+
this.keyboardHelpId = `${this.popupId}-help`;
|
|
470
|
+
this.pendingValue = null;
|
|
471
|
+
/** When true, the next `show()` will move focus into the first popup column (set by Alt+ArrowDown). */
|
|
472
|
+
this.moveFocusToColumnOnShow = false;
|
|
473
|
+
/** Debounces duplicate `change` events when the value hasn't transitioned. */
|
|
474
|
+
this.lastEmittedValue = "";
|
|
475
|
+
this.segments = { hour: null, minute: null, second: null, dayPeriod: null };
|
|
476
|
+
/**
|
|
477
|
+
* Generic segmented-input plumbing. Owns per-segment digit buffers, roving tabindex, navigation keys
|
|
478
|
+
* (arrows / Home / End / Tab flush / Backspace / Delete), and separator advance. Time-specific rules
|
|
479
|
+
* (per-field digit semantics, wraparound stepping, layout derivation) are plugged in below.
|
|
480
|
+
*/
|
|
481
|
+
this.segmentsController = new SegmentedFieldController(this, {
|
|
482
|
+
getLayout: () => this.getLayout(),
|
|
483
|
+
isRtl: () => this.isRtl,
|
|
484
|
+
isReadonly: () => this.readonly,
|
|
485
|
+
isDisabled: () => this.disabled,
|
|
486
|
+
rules: timeSegmentRules({
|
|
487
|
+
getSegments: () => this.segments,
|
|
488
|
+
setSegments: (_group, next) => {
|
|
489
|
+
this.segments = next;
|
|
490
|
+
},
|
|
491
|
+
hour12: () => this.resolvedHour12
|
|
492
|
+
}),
|
|
493
|
+
onCommit: () => {
|
|
494
|
+
this.recomputeValue();
|
|
495
|
+
this.requestUpdate();
|
|
496
|
+
}
|
|
497
|
+
});
|
|
498
|
+
this.name = "";
|
|
499
|
+
this._value = "";
|
|
500
|
+
this.defaultValue = this.getAttribute("value") ?? "";
|
|
501
|
+
this.disabled = false;
|
|
502
|
+
this.required = false;
|
|
503
|
+
this.readonly = false;
|
|
504
|
+
this.size = "m";
|
|
505
|
+
this.appearance = "outlined";
|
|
506
|
+
this.pill = false;
|
|
507
|
+
this.label = "";
|
|
508
|
+
this.hint = "";
|
|
509
|
+
this.autocomplete = "";
|
|
510
|
+
this.withClear = false;
|
|
511
|
+
this.withNow = false;
|
|
512
|
+
this.ssrLabel = false;
|
|
513
|
+
this.ssrHint = false;
|
|
514
|
+
this.ssrFooter = false;
|
|
515
|
+
this.min = "";
|
|
516
|
+
this.max = "";
|
|
517
|
+
this.step = 60;
|
|
518
|
+
this.hourFormat = "auto";
|
|
519
|
+
this.open = false;
|
|
520
|
+
this.placement = "bottom-start";
|
|
521
|
+
this.distance = 0;
|
|
522
|
+
this.handleDocumentFocusIn = (event) => {
|
|
523
|
+
const path = event.composedPath();
|
|
524
|
+
if (!path.includes(this)) {
|
|
525
|
+
this.hide();
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
this.handleDocumentKeyDown = (event) => {
|
|
529
|
+
if (event.key === "Escape" && this.open && isTopDismissible(this)) {
|
|
530
|
+
event.stopPropagation();
|
|
531
|
+
event.preventDefault();
|
|
532
|
+
this.hide();
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
this.handleDocumentMouseDown = (event) => {
|
|
536
|
+
const path = event.composedPath();
|
|
537
|
+
if (!path.includes(this)) {
|
|
538
|
+
this.hide();
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
//
|
|
542
|
+
// Segment input handlers
|
|
543
|
+
//
|
|
544
|
+
// The popup opens on a pointer click into the field but NOT when focus arrives via Tab, since that would
|
|
545
|
+
// interfere with tab order. Opening is also explicit via the toggle button or Alt+ArrowDown.
|
|
546
|
+
this.handleSegmentFocus = (event) => {
|
|
547
|
+
this.segmentsController.eventHandlers().focus(event);
|
|
548
|
+
};
|
|
549
|
+
this.handleSegmentBlur = (event) => {
|
|
550
|
+
this.segmentsController.eventHandlers().blur(event);
|
|
551
|
+
};
|
|
552
|
+
this.handleInputWrapperPointerDown = (event) => {
|
|
553
|
+
if (this.disabled || this.readonly || this.open) {
|
|
554
|
+
return;
|
|
555
|
+
}
|
|
556
|
+
for (const node of event.composedPath()) {
|
|
557
|
+
if (node === this) {
|
|
558
|
+
break;
|
|
559
|
+
}
|
|
560
|
+
if (!(node instanceof Element)) {
|
|
561
|
+
continue;
|
|
562
|
+
}
|
|
563
|
+
const tag = node.tagName;
|
|
564
|
+
if (tag === "BUTTON" || tag === "A" || node.getAttribute("role") === "button") {
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
this.show();
|
|
569
|
+
};
|
|
570
|
+
this.handleSegmentKeyDown = (event) => {
|
|
571
|
+
const el = event.currentTarget;
|
|
572
|
+
const field = el.dataset.segment;
|
|
573
|
+
if (event.altKey && event.key === "ArrowDown") {
|
|
574
|
+
event.preventDefault();
|
|
575
|
+
this.moveFocusToColumnOnShow = true;
|
|
576
|
+
if (this.open) {
|
|
577
|
+
this.focusFirstColumn();
|
|
578
|
+
} else {
|
|
579
|
+
this.show();
|
|
580
|
+
}
|
|
581
|
+
return;
|
|
582
|
+
}
|
|
583
|
+
if (event.altKey && event.key === "ArrowUp") {
|
|
584
|
+
event.preventDefault();
|
|
585
|
+
this.hide();
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
if (event.key === "Enter") {
|
|
589
|
+
event.preventDefault();
|
|
590
|
+
if (this.segmentsController.getBuffer(SINGLE_GROUP, field)) {
|
|
591
|
+
this.segmentsController.flushBuffer(SINGLE_GROUP, field);
|
|
592
|
+
this.recomputeValue();
|
|
593
|
+
}
|
|
594
|
+
if (this.open) {
|
|
595
|
+
this.hide();
|
|
596
|
+
}
|
|
597
|
+
return;
|
|
598
|
+
}
|
|
599
|
+
if (field === "dayPeriod") {
|
|
600
|
+
const period = dayPeriodFromKey(event.key);
|
|
601
|
+
if (period != null) {
|
|
602
|
+
event.preventDefault();
|
|
603
|
+
if (this.readonly) {
|
|
604
|
+
return;
|
|
605
|
+
}
|
|
606
|
+
this.segments = { ...this.segments, dayPeriod: period };
|
|
607
|
+
this.recomputeValue();
|
|
608
|
+
this.requestUpdate();
|
|
609
|
+
this.segmentsController.moveFocus(el, 1);
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
this.segmentsController.eventHandlers().keydown(event);
|
|
614
|
+
};
|
|
615
|
+
//
|
|
616
|
+
// Other handlers
|
|
617
|
+
//
|
|
618
|
+
this.handleExpandButtonClick = () => {
|
|
619
|
+
if (this.open) {
|
|
620
|
+
this.hide();
|
|
621
|
+
} else {
|
|
622
|
+
this.moveFocusToColumnOnShow = true;
|
|
623
|
+
this.show();
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
this.handleClearClick = (event) => {
|
|
627
|
+
event.stopPropagation();
|
|
628
|
+
if (!this._value && isTimeEmpty(this.segments)) {
|
|
629
|
+
return;
|
|
630
|
+
}
|
|
631
|
+
this._value = "";
|
|
632
|
+
this.valueHasChanged = true;
|
|
633
|
+
this.segmentsController.clearBuffers();
|
|
634
|
+
this.syncSegmentsFromCanonical();
|
|
635
|
+
this.updateValidity();
|
|
636
|
+
this.dispatchEvent(new CsClearEvent());
|
|
637
|
+
this.dispatchEvent(new InputEvent("input", { bubbles: true, composed: true }));
|
|
638
|
+
this.dispatchEvent(new Event("change", { bubbles: true, composed: true }));
|
|
639
|
+
this.lastEmittedValue = "";
|
|
640
|
+
this.focus();
|
|
641
|
+
};
|
|
642
|
+
this.handleClearMouseDown = (event) => {
|
|
643
|
+
event.preventDefault();
|
|
644
|
+
event.stopPropagation();
|
|
645
|
+
};
|
|
646
|
+
this.handleNowClick = () => {
|
|
647
|
+
const now = /* @__PURE__ */ new Date();
|
|
648
|
+
this.value = now;
|
|
649
|
+
this.dispatchEvent(new InputEvent("input", { bubbles: true, composed: true }));
|
|
650
|
+
this.dispatchEvent(new Event("change", { bubbles: true, composed: true }));
|
|
651
|
+
this.lastEmittedValue = this._value;
|
|
652
|
+
this.hide();
|
|
653
|
+
};
|
|
654
|
+
this.handleColumnItemClick = (event) => {
|
|
655
|
+
const target = event.target.closest(".column-item");
|
|
656
|
+
if (!target || target.getAttribute("aria-disabled") === "true") {
|
|
657
|
+
return;
|
|
658
|
+
}
|
|
659
|
+
const field = target.dataset.field;
|
|
660
|
+
const value = Number(target.dataset.value);
|
|
661
|
+
if (Number.isNaN(value)) {
|
|
662
|
+
return;
|
|
663
|
+
}
|
|
664
|
+
this.segments = { ...this.segments, [field]: value };
|
|
665
|
+
this.recomputeValue();
|
|
666
|
+
this.requestUpdate();
|
|
667
|
+
};
|
|
668
|
+
this.handleColumnKeyDown = (event) => {
|
|
669
|
+
const column = event.currentTarget;
|
|
670
|
+
const field = column.dataset.field;
|
|
671
|
+
if (event.key === "Escape") {
|
|
672
|
+
event.preventDefault();
|
|
673
|
+
this.hide();
|
|
674
|
+
return;
|
|
675
|
+
}
|
|
676
|
+
if (event.key === "Enter") {
|
|
677
|
+
event.preventDefault();
|
|
678
|
+
this.hide();
|
|
679
|
+
return;
|
|
680
|
+
}
|
|
681
|
+
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
682
|
+
event.preventDefault();
|
|
683
|
+
const fields = this.columnFields;
|
|
684
|
+
if (fields.length < 2) {
|
|
685
|
+
return;
|
|
686
|
+
}
|
|
687
|
+
const delta = event.key === "ArrowLeft" ? -1 : 1;
|
|
688
|
+
const currentIdx = fields.indexOf(field);
|
|
689
|
+
const nextIdx = ((currentIdx + delta) % fields.length + fields.length) % fields.length;
|
|
690
|
+
const nextField = fields[nextIdx];
|
|
691
|
+
const nextColumn = this.shadowRoot?.querySelector(`.column[data-field="${nextField}"]`);
|
|
692
|
+
nextColumn?.focus({ preventScroll: true });
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
if (event.key === "ArrowUp" || event.key === "ArrowDown" || event.key === "PageUp" || event.key === "PageDown") {
|
|
696
|
+
event.preventDefault();
|
|
697
|
+
const delta = event.key === "ArrowUp" || event.key === "PageUp" ? -1 : 1;
|
|
698
|
+
const jump = event.key === "PageUp" || event.key === "PageDown" ? 5 : 1;
|
|
699
|
+
const items = this.columnItemsFor(field);
|
|
700
|
+
if (items.length === 0) {
|
|
701
|
+
return;
|
|
702
|
+
}
|
|
703
|
+
const currentValue = this.segments[field];
|
|
704
|
+
const idx = currentValue == null ? 0 : Math.max(
|
|
705
|
+
0,
|
|
706
|
+
items.findIndex((it) => it.value === currentValue)
|
|
707
|
+
);
|
|
708
|
+
const nextIdx = ((idx + delta * jump) % items.length + items.length) % items.length;
|
|
709
|
+
const nextItem = items[nextIdx];
|
|
710
|
+
this.segments = { ...this.segments, [field]: nextItem.value };
|
|
711
|
+
this.recomputeValue();
|
|
712
|
+
this.requestUpdate();
|
|
713
|
+
requestAnimationFrame(() => {
|
|
714
|
+
const itemEl = column.querySelector(`[data-value="${nextItem.value}"]`);
|
|
715
|
+
if (itemEl) {
|
|
716
|
+
this.keepItemInView(column, itemEl);
|
|
717
|
+
}
|
|
718
|
+
});
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
if (event.key === "Home") {
|
|
722
|
+
event.preventDefault();
|
|
723
|
+
const items = this.columnItemsFor(field);
|
|
724
|
+
if (items.length === 0) {
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
this.segments = { ...this.segments, [field]: items[0].value };
|
|
728
|
+
this.recomputeValue();
|
|
729
|
+
this.requestUpdate();
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
if (event.key === "End") {
|
|
733
|
+
event.preventDefault();
|
|
734
|
+
const items = this.columnItemsFor(field);
|
|
735
|
+
if (items.length === 0) {
|
|
736
|
+
return;
|
|
737
|
+
}
|
|
738
|
+
const lastItem = items[items.length - 1];
|
|
739
|
+
this.segments = { ...this.segments, [field]: lastItem.value };
|
|
740
|
+
this.recomputeValue();
|
|
741
|
+
this.requestUpdate();
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
}
|
|
746
|
+
static get validators() {
|
|
747
|
+
return [
|
|
748
|
+
...super.validators,
|
|
749
|
+
RequiredValidator({
|
|
750
|
+
validationElement: () => Object.assign(document.createElement("input"), { required: true })
|
|
751
|
+
}),
|
|
752
|
+
// Mirrors the hidden native `<input type="time">` so its min/max/step constraints (including
|
|
753
|
+
// reversed/overnight ranges) surface as rangeUnderflow/rangeOverflow/stepMismatch validity.
|
|
754
|
+
MirrorValidator()
|
|
755
|
+
];
|
|
756
|
+
}
|
|
757
|
+
/** Localized term lookup. Falls back to the English string if a locale hasn't translated the key yet. */
|
|
758
|
+
term(key, fallback) {
|
|
759
|
+
return this.localize.term(key) || fallback;
|
|
760
|
+
}
|
|
761
|
+
get validationTarget() {
|
|
762
|
+
return this.valueInput;
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* The time picker's value as a wire-format string matching HTML `<input type="time">`: `HH:mm`, `HH:mm:ss`, or
|
|
766
|
+
* `HH:mm:ss.sss` (always 24-hour). The setter also accepts a `Date` (extracts local h/m/s) or `null`.
|
|
767
|
+
*/
|
|
768
|
+
get value() {
|
|
769
|
+
if (this.valueHasChanged) {
|
|
770
|
+
return this._value;
|
|
771
|
+
}
|
|
772
|
+
return this._value || this.defaultValue || "";
|
|
773
|
+
}
|
|
774
|
+
set value(val) {
|
|
775
|
+
const normalized = this.normalizeIncomingValue(val);
|
|
776
|
+
if (normalized === this._value) {
|
|
777
|
+
return;
|
|
778
|
+
}
|
|
779
|
+
const oldValue = this._value;
|
|
780
|
+
this._value = normalized;
|
|
781
|
+
this.valueHasChanged = true;
|
|
782
|
+
if (this.hasUpdated) {
|
|
783
|
+
this.syncSegmentsFromCanonical();
|
|
784
|
+
} else {
|
|
785
|
+
this.pendingValue = this._value;
|
|
786
|
+
}
|
|
787
|
+
this.requestUpdate("value", oldValue);
|
|
788
|
+
}
|
|
789
|
+
//
|
|
790
|
+
// Lifecycle
|
|
791
|
+
//
|
|
792
|
+
disconnectedCallback() {
|
|
793
|
+
super.disconnectedCallback();
|
|
794
|
+
this.removeOpenListeners();
|
|
795
|
+
}
|
|
796
|
+
firstUpdated(changedProperties) {
|
|
797
|
+
super.firstUpdated(changedProperties);
|
|
798
|
+
if (this.pendingValue != null) {
|
|
799
|
+
this._value = this.pendingValue;
|
|
800
|
+
this.pendingValue = null;
|
|
801
|
+
} else if (!this._value && this.defaultValue) {
|
|
802
|
+
this._value = this.defaultValue;
|
|
803
|
+
}
|
|
804
|
+
this.syncSegmentsFromCanonical();
|
|
805
|
+
this.input = this.valueInput;
|
|
806
|
+
this.updateValidity();
|
|
807
|
+
this.lastEmittedValue = this._value;
|
|
808
|
+
}
|
|
809
|
+
updated(changed) {
|
|
810
|
+
super.updated(changed);
|
|
811
|
+
if (changed.has("value")) {
|
|
812
|
+
this.customStates.set("blank", !this.value);
|
|
813
|
+
}
|
|
814
|
+
if (changed.has("disabled")) {
|
|
815
|
+
this.customStates.set("disabled", this.disabled);
|
|
816
|
+
}
|
|
817
|
+
if (changed.has("open")) {
|
|
818
|
+
this.customStates.set("open", this.open);
|
|
819
|
+
}
|
|
820
|
+
if (changed.has("step") || changed.has("hourFormat")) {
|
|
821
|
+
this.syncSegmentsFromCanonical();
|
|
822
|
+
}
|
|
823
|
+
if (changed.has("min") || changed.has("max") || changed.has("step")) {
|
|
824
|
+
this.updateValidity();
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
handleDisabledChange() {
|
|
828
|
+
if (this.disabled && this.open) {
|
|
829
|
+
this.open = false;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
async handleOpenChange() {
|
|
833
|
+
if (this.open && !this.disabled) {
|
|
834
|
+
const showEvent = new CsShowEvent();
|
|
835
|
+
this.dispatchEvent(showEvent);
|
|
836
|
+
if (showEvent.defaultPrevented) {
|
|
837
|
+
this.open = false;
|
|
838
|
+
return;
|
|
839
|
+
}
|
|
840
|
+
this.addOpenListeners();
|
|
841
|
+
this.popup.active = true;
|
|
842
|
+
await this.updateComplete;
|
|
843
|
+
await animateWithClass(this.popup.popup, "show");
|
|
844
|
+
this.scrollColumnsToCurrent();
|
|
845
|
+
if (this.moveFocusToColumnOnShow) {
|
|
846
|
+
this.moveFocusToColumnOnShow = false;
|
|
847
|
+
this.focusFirstColumn();
|
|
848
|
+
}
|
|
849
|
+
this.dispatchEvent(new CsAfterShowEvent());
|
|
850
|
+
} else {
|
|
851
|
+
const hideEvent = new CsHideEvent();
|
|
852
|
+
this.dispatchEvent(hideEvent);
|
|
853
|
+
if (hideEvent.defaultPrevented) {
|
|
854
|
+
this.open = true;
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
this.removeOpenListeners();
|
|
858
|
+
await animateWithClass(this.popup.popup, "hide");
|
|
859
|
+
this.popup.active = false;
|
|
860
|
+
this.dispatchEvent(new CsAfterHideEvent());
|
|
861
|
+
const active = this.shadowRoot?.activeElement;
|
|
862
|
+
if (active && this.popup?.contains(active)) {
|
|
863
|
+
this.focusActiveSegment();
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
//
|
|
868
|
+
// Public API
|
|
869
|
+
//
|
|
870
|
+
/** Sets focus on the first empty (else first) segment. */
|
|
871
|
+
focus(options) {
|
|
872
|
+
const target = this.segmentsController.findFocusableSegment((_g, f) => this.segments[f] == null);
|
|
873
|
+
target?.focus(options);
|
|
874
|
+
}
|
|
875
|
+
/** Removes focus from the time picker. */
|
|
876
|
+
blur() {
|
|
877
|
+
const active = this.shadowRoot?.activeElement;
|
|
878
|
+
active?.blur();
|
|
879
|
+
}
|
|
880
|
+
/** Opens the popup. */
|
|
881
|
+
async show() {
|
|
882
|
+
if (this.open || this.disabled) {
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
885
|
+
this.open = true;
|
|
886
|
+
await waitForEvent(this, "cs-after-show");
|
|
887
|
+
}
|
|
888
|
+
/** Closes the popup. */
|
|
889
|
+
async hide() {
|
|
890
|
+
if (!this.open || this.disabled) {
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
this.open = false;
|
|
894
|
+
await waitForEvent(this, "cs-after-hide");
|
|
895
|
+
}
|
|
896
|
+
/** The time as a `Date` (today + wire value), or `null` when empty. */
|
|
897
|
+
get valueAsDate() {
|
|
898
|
+
const value = this.value;
|
|
899
|
+
if (!value) {
|
|
900
|
+
return null;
|
|
901
|
+
}
|
|
902
|
+
const segments = wireToTimeSegments(value, { hour12: false, withSeconds: this.resolvedWithSeconds });
|
|
903
|
+
if (segments.hour == null || segments.minute == null) {
|
|
904
|
+
return null;
|
|
905
|
+
}
|
|
906
|
+
const d = /* @__PURE__ */ new Date();
|
|
907
|
+
d.setHours(segments.hour, segments.minute, segments.second ?? 0, 0);
|
|
908
|
+
return d;
|
|
909
|
+
}
|
|
910
|
+
/** Milliseconds since midnight, or `NaN` when empty. */
|
|
911
|
+
get valueAsNumber() {
|
|
912
|
+
const d = this.valueAsDate;
|
|
913
|
+
if (!d) {
|
|
914
|
+
return Number.NaN;
|
|
915
|
+
}
|
|
916
|
+
return d.getHours() * 36e5 + d.getMinutes() * 6e4 + d.getSeconds() * 1e3;
|
|
917
|
+
}
|
|
918
|
+
//
|
|
919
|
+
// Form association
|
|
920
|
+
//
|
|
921
|
+
formResetCallback() {
|
|
922
|
+
this._value = this.defaultValue;
|
|
923
|
+
this.valueHasChanged = false;
|
|
924
|
+
this.segmentsController.clearBuffers();
|
|
925
|
+
this.syncSegmentsFromCanonical();
|
|
926
|
+
super.formResetCallback();
|
|
927
|
+
this.lastEmittedValue = this._value;
|
|
928
|
+
this.requestUpdate();
|
|
929
|
+
}
|
|
930
|
+
formStateRestoreCallback(state) {
|
|
931
|
+
if (typeof state === "string") {
|
|
932
|
+
this._value = state;
|
|
933
|
+
if (this.hasUpdated) {
|
|
934
|
+
this.syncSegmentsFromCanonical();
|
|
935
|
+
} else {
|
|
936
|
+
this.pendingValue = state;
|
|
937
|
+
}
|
|
938
|
+
this.requestUpdate();
|
|
939
|
+
}
|
|
940
|
+
this.updateValidity();
|
|
941
|
+
}
|
|
942
|
+
//
|
|
943
|
+
// Internal helpers
|
|
944
|
+
//
|
|
945
|
+
get resolvedLocale() {
|
|
946
|
+
return this.localize.lang() || "en";
|
|
947
|
+
}
|
|
948
|
+
get isRtl() {
|
|
949
|
+
return this.localize.dir() === "rtl";
|
|
950
|
+
}
|
|
951
|
+
/** Final hour12 decision: `auto` defers to the locale; explicit `'12'` / `'24'` overrides. */
|
|
952
|
+
get resolvedHour12() {
|
|
953
|
+
if (this.hourFormat === "12") {
|
|
954
|
+
return true;
|
|
955
|
+
}
|
|
956
|
+
if (this.hourFormat === "24") {
|
|
957
|
+
return false;
|
|
958
|
+
}
|
|
959
|
+
return resolveHour12(this.resolvedLocale);
|
|
960
|
+
}
|
|
961
|
+
/** Whether the seconds segment is shown given the current `step` value. */
|
|
962
|
+
get resolvedWithSeconds() {
|
|
963
|
+
return withSecondsForStep(this.step);
|
|
964
|
+
}
|
|
965
|
+
getLayout() {
|
|
966
|
+
return buildTimeSegmentLayout(this.resolvedLocale, {
|
|
967
|
+
hour12: this.resolvedHour12,
|
|
968
|
+
withSeconds: this.resolvedWithSeconds
|
|
969
|
+
});
|
|
970
|
+
}
|
|
971
|
+
normalizeIncomingValue(val) {
|
|
972
|
+
if (val == null) {
|
|
973
|
+
return "";
|
|
974
|
+
}
|
|
975
|
+
if (typeof val === "string") {
|
|
976
|
+
return val;
|
|
977
|
+
}
|
|
978
|
+
if (val instanceof Date) {
|
|
979
|
+
const hh = String(val.getHours()).padStart(2, "0");
|
|
980
|
+
const mm = String(val.getMinutes()).padStart(2, "0");
|
|
981
|
+
const ss = String(val.getSeconds()).padStart(2, "0");
|
|
982
|
+
return this.resolvedWithSeconds ? `${hh}:${mm}:${ss}` : `${hh}:${mm}`;
|
|
983
|
+
}
|
|
984
|
+
return "";
|
|
985
|
+
}
|
|
986
|
+
/** Recompute the segment state from the canonical `_value`. Discards any in-progress digit buffers. */
|
|
987
|
+
syncSegmentsFromCanonical() {
|
|
988
|
+
this.segmentsController.clearBuffers();
|
|
989
|
+
this.segments = wireToTimeSegments(this._value, {
|
|
990
|
+
hour12: this.resolvedHour12,
|
|
991
|
+
withSeconds: this.resolvedWithSeconds
|
|
992
|
+
});
|
|
993
|
+
this.updateHiddenInput();
|
|
994
|
+
}
|
|
995
|
+
updateHiddenInput() {
|
|
996
|
+
if (this.valueInput) {
|
|
997
|
+
this.valueInput.value = this._value;
|
|
998
|
+
}
|
|
999
|
+
this.setValue(this._value || null);
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* Recompute the canonical value from the current segments. Fires `input` always, and `change` when the value
|
|
1003
|
+
* transitions, matching `<input type="time">` semantics.
|
|
1004
|
+
*/
|
|
1005
|
+
recomputeValue() {
|
|
1006
|
+
const oldValue = this._value;
|
|
1007
|
+
const newValue = timeSegmentsToWire(this.segments, {
|
|
1008
|
+
hour12: this.resolvedHour12,
|
|
1009
|
+
withSeconds: this.resolvedWithSeconds
|
|
1010
|
+
});
|
|
1011
|
+
if (newValue !== oldValue) {
|
|
1012
|
+
this._value = newValue;
|
|
1013
|
+
this.valueHasChanged = true;
|
|
1014
|
+
this.updateHiddenInput();
|
|
1015
|
+
this.updateValidity();
|
|
1016
|
+
}
|
|
1017
|
+
this.dispatchEvent(new InputEvent("input", { bubbles: true, composed: true }));
|
|
1018
|
+
if (newValue !== this.lastEmittedValue) {
|
|
1019
|
+
this.lastEmittedValue = newValue;
|
|
1020
|
+
this.dispatchEvent(new Event("change", { bubbles: true, composed: true }));
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
//
|
|
1024
|
+
// Popup listeners
|
|
1025
|
+
//
|
|
1026
|
+
addOpenListeners() {
|
|
1027
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
1028
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
1029
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
1030
|
+
registerDismissible(this);
|
|
1031
|
+
}
|
|
1032
|
+
removeOpenListeners() {
|
|
1033
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
1034
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
1035
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
1036
|
+
unregisterDismissible(this);
|
|
1037
|
+
}
|
|
1038
|
+
//
|
|
1039
|
+
// Segment focus restore
|
|
1040
|
+
//
|
|
1041
|
+
focusActiveSegment() {
|
|
1042
|
+
const active = this.segmentsController.getActiveSegment();
|
|
1043
|
+
if (active) {
|
|
1044
|
+
const el = this.segmentsController.segmentElementFor(active.group, active.field);
|
|
1045
|
+
if (el) {
|
|
1046
|
+
el.focus({ preventScroll: true });
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
this.segmentsController.findFocusableSegment((_g, f) => this.segments[f] == null)?.focus({ preventScroll: true });
|
|
1051
|
+
}
|
|
1052
|
+
//
|
|
1053
|
+
// Popup columns
|
|
1054
|
+
//
|
|
1055
|
+
/** Field list for the visible columns, based on the resolved layout. */
|
|
1056
|
+
get columnFields() {
|
|
1057
|
+
return this.getLayout().order.filter((f) => f !== void 0);
|
|
1058
|
+
}
|
|
1059
|
+
columnItemsFor(field) {
|
|
1060
|
+
if (field === "dayPeriod") {
|
|
1061
|
+
return [
|
|
1062
|
+
{ label: this.term("am", formatDayPeriod(this.resolvedLocale, 0)), value: 0, disabled: false },
|
|
1063
|
+
{ label: this.term("pm", formatDayPeriod(this.resolvedLocale, 1)), value: 1, disabled: false }
|
|
1064
|
+
];
|
|
1065
|
+
}
|
|
1066
|
+
if (field === "hour") {
|
|
1067
|
+
const items2 = [];
|
|
1068
|
+
if (this.resolvedHour12) {
|
|
1069
|
+
for (let h = 1; h <= 12; h++) {
|
|
1070
|
+
items2.push({ label: String(h).padStart(2, "0"), value: h, disabled: false });
|
|
1071
|
+
}
|
|
1072
|
+
} else {
|
|
1073
|
+
for (let h = 0; h <= 23; h++) {
|
|
1074
|
+
items2.push({ label: String(h).padStart(2, "0"), value: h, disabled: false });
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
return items2;
|
|
1078
|
+
}
|
|
1079
|
+
const stepSec = typeof this.step === "number" && Number.isFinite(this.step) && this.step > 0 ? this.step : 1;
|
|
1080
|
+
const stride = field === "minute" ? stepSec < 60 ? 1 : Math.max(1, Math.floor(stepSec / 60)) : Math.max(1, Math.floor(stepSec));
|
|
1081
|
+
const items = [];
|
|
1082
|
+
for (let v = 0; v < 60; v += stride) {
|
|
1083
|
+
items.push({ label: String(v).padStart(2, "0"), value: v, disabled: false });
|
|
1084
|
+
}
|
|
1085
|
+
return items;
|
|
1086
|
+
}
|
|
1087
|
+
focusFirstColumn() {
|
|
1088
|
+
if (!this.shadowRoot) {
|
|
1089
|
+
return;
|
|
1090
|
+
}
|
|
1091
|
+
const first = this.shadowRoot.querySelector(".column");
|
|
1092
|
+
first?.focus({ preventScroll: true });
|
|
1093
|
+
}
|
|
1094
|
+
scrollColumnsToCurrent() {
|
|
1095
|
+
if (!this.shadowRoot) {
|
|
1096
|
+
return;
|
|
1097
|
+
}
|
|
1098
|
+
for (const column of this.shadowRoot.querySelectorAll(".column")) {
|
|
1099
|
+
const field = column.dataset.field;
|
|
1100
|
+
const value = this.segments[field];
|
|
1101
|
+
if (value == null) {
|
|
1102
|
+
continue;
|
|
1103
|
+
}
|
|
1104
|
+
const item = column.querySelector(`[data-value="${value}"]`);
|
|
1105
|
+
if (item) {
|
|
1106
|
+
this.keepItemInView(column, item);
|
|
1107
|
+
}
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
/**
|
|
1111
|
+
* Scroll `column` only as far as needed to keep `item` in view. Equivalent to `scrollIntoView({ block: 'nearest' })`
|
|
1112
|
+
* but scoped to the column so it can't scroll ancestors (the page, popup, etc.). Measured with
|
|
1113
|
+
* `getBoundingClientRect` because the items' `offsetParent` isn't the column.
|
|
1114
|
+
*/
|
|
1115
|
+
keepItemInView(column, item) {
|
|
1116
|
+
const columnRect = column.getBoundingClientRect();
|
|
1117
|
+
const itemRect = item.getBoundingClientRect();
|
|
1118
|
+
if (itemRect.top < columnRect.top) {
|
|
1119
|
+
column.scrollTop += itemRect.top - columnRect.top;
|
|
1120
|
+
} else if (itemRect.bottom > columnRect.bottom) {
|
|
1121
|
+
column.scrollTop += itemRect.bottom - columnRect.bottom;
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
//
|
|
1125
|
+
// Segment placeholders / a11y labels
|
|
1126
|
+
//
|
|
1127
|
+
/** Visual placeholder rendered in an empty segment. Matches the native `<input type="time">` UI. */
|
|
1128
|
+
placeholderFor(_field) {
|
|
1129
|
+
return "--";
|
|
1130
|
+
}
|
|
1131
|
+
/** Localized readable name of the field, used for the spinbutton's aria-label. */
|
|
1132
|
+
fieldLabelFor(field) {
|
|
1133
|
+
const fallback = field === "hour" ? "Hour" : field === "minute" ? "Minute" : field === "second" ? "Second" : "AM/PM";
|
|
1134
|
+
return this.term(field, fallback);
|
|
1135
|
+
}
|
|
1136
|
+
segmentAriaValueText(field) {
|
|
1137
|
+
const value = this.segments[field];
|
|
1138
|
+
const buffer = this.segmentsController.getBuffer(SINGLE_GROUP, field);
|
|
1139
|
+
if (buffer) {
|
|
1140
|
+
return buffer;
|
|
1141
|
+
}
|
|
1142
|
+
if (value == null) {
|
|
1143
|
+
return this.term("empty", "Empty");
|
|
1144
|
+
}
|
|
1145
|
+
if (field === "dayPeriod") {
|
|
1146
|
+
return value === 0 ? this.term("am", "AM") : this.term("pm", "PM");
|
|
1147
|
+
}
|
|
1148
|
+
return String(value);
|
|
1149
|
+
}
|
|
1150
|
+
//
|
|
1151
|
+
// Render
|
|
1152
|
+
//
|
|
1153
|
+
render() {
|
|
1154
|
+
const hasLabelSlot = this.hasSlotController.test("label", "ssrLabel");
|
|
1155
|
+
const hasHintSlot = this.hasSlotController.test("hint", "ssrHint");
|
|
1156
|
+
const hasFooterSlot = this.hasSlotController.test("footer", "ssrFooter");
|
|
1157
|
+
const hasLabel = !!this.label || !!hasLabelSlot;
|
|
1158
|
+
const hasHint = !!this.hint || !!hasHintSlot;
|
|
1159
|
+
const hasValue = !!this._value;
|
|
1160
|
+
const layout = this.getLayout();
|
|
1161
|
+
const groupAriaLabel = this.label || this.term("time", "Time");
|
|
1162
|
+
return b`
|
|
1163
|
+
<div
|
|
1164
|
+
part="form-control"
|
|
1165
|
+
class=${e2({
|
|
1166
|
+
"form-control": true,
|
|
1167
|
+
"form-control-has-label": hasLabel
|
|
1168
|
+
})}
|
|
1169
|
+
>
|
|
1170
|
+
<label
|
|
1171
|
+
id="label"
|
|
1172
|
+
part="form-control-label"
|
|
1173
|
+
class=${e2({ label: true, "has-label": hasLabel })}
|
|
1174
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
1175
|
+
@click=${() => this.focus()}
|
|
1176
|
+
>
|
|
1177
|
+
<slot name="label">${this.label}</slot>
|
|
1178
|
+
</label>
|
|
1179
|
+
|
|
1180
|
+
<div part="form-control-input" class="form-control-input">
|
|
1181
|
+
<cs-popup
|
|
1182
|
+
class=${e2({ "time-input-popup": true, open: this.open })}
|
|
1183
|
+
placement=${this.placement}
|
|
1184
|
+
distance=${this.distance}
|
|
1185
|
+
?active=${this.open}
|
|
1186
|
+
flip
|
|
1187
|
+
shift
|
|
1188
|
+
>
|
|
1189
|
+
<div
|
|
1190
|
+
part="time-input input-wrapper"
|
|
1191
|
+
class="input-wrapper"
|
|
1192
|
+
slot="anchor"
|
|
1193
|
+
@pointerdown=${this.handleInputWrapperPointerDown}
|
|
1194
|
+
>
|
|
1195
|
+
<slot name="start" part="start" class="start"></slot>
|
|
1196
|
+
|
|
1197
|
+
<div
|
|
1198
|
+
part="input"
|
|
1199
|
+
class="segments"
|
|
1200
|
+
role="group"
|
|
1201
|
+
aria-labelledby=${hasLabel ? "label" : A}
|
|
1202
|
+
aria-label=${hasLabel ? A : groupAriaLabel}
|
|
1203
|
+
>
|
|
1204
|
+
${this.renderSegmentGroup(layout)}
|
|
1205
|
+
</div>
|
|
1206
|
+
|
|
1207
|
+
<span id=${this.keyboardHelpId} class="visually-hidden">
|
|
1208
|
+
${this.term(
|
|
1209
|
+
"timeInputKeyboardHelp",
|
|
1210
|
+
"Use arrow keys to change values; press Alt+Down Arrow to open the time picker."
|
|
1211
|
+
)}
|
|
1212
|
+
</span>
|
|
1213
|
+
|
|
1214
|
+
<input
|
|
1215
|
+
class="value-input"
|
|
1216
|
+
type="time"
|
|
1217
|
+
tabindex="-1"
|
|
1218
|
+
aria-hidden="true"
|
|
1219
|
+
.value=${this._value}
|
|
1220
|
+
min=${o(this.min || void 0)}
|
|
1221
|
+
max=${o(this.max || void 0)}
|
|
1222
|
+
step=${o(this.step === "any" ? "any" : String(this.step))}
|
|
1223
|
+
?disabled=${this.disabled}
|
|
1224
|
+
?required=${this.required}
|
|
1225
|
+
autocomplete=${o(this.autocomplete || void 0)}
|
|
1226
|
+
/>
|
|
1227
|
+
|
|
1228
|
+
${this.withClear && hasValue ? b`<button
|
|
1229
|
+
part="clear-button"
|
|
1230
|
+
type="button"
|
|
1231
|
+
class="clear-button"
|
|
1232
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
1233
|
+
tabindex="-1"
|
|
1234
|
+
@mousedown=${this.handleClearMouseDown}
|
|
1235
|
+
@click=${this.handleClearClick}
|
|
1236
|
+
>
|
|
1237
|
+
<slot name="clear-icon">
|
|
1238
|
+
<cs-icon name="cancel" library="system"></cs-icon>
|
|
1239
|
+
</slot>
|
|
1240
|
+
</button>` : A}
|
|
1241
|
+
|
|
1242
|
+
<slot name="end" part="end" class="end"></slot>
|
|
1243
|
+
|
|
1244
|
+
<button
|
|
1245
|
+
part="expand-button"
|
|
1246
|
+
type="button"
|
|
1247
|
+
class="expand-button"
|
|
1248
|
+
aria-label=${this.open ? this.term("closeTimeInput", "Close time picker") : this.term("chooseTime", "Choose time")}
|
|
1249
|
+
aria-haspopup="dialog"
|
|
1250
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
1251
|
+
aria-controls=${this.popupId}
|
|
1252
|
+
?disabled=${this.disabled}
|
|
1253
|
+
@click=${this.handleExpandButtonClick}
|
|
1254
|
+
>
|
|
1255
|
+
<slot name="expand-icon" part="expand-icon" class="expand-icon">
|
|
1256
|
+
<cs-icon library="system" name="schedule"></cs-icon>
|
|
1257
|
+
</slot>
|
|
1258
|
+
</button>
|
|
1259
|
+
</div>
|
|
1260
|
+
|
|
1261
|
+
<div
|
|
1262
|
+
id=${this.popupId}
|
|
1263
|
+
part="popup"
|
|
1264
|
+
class="popup-body"
|
|
1265
|
+
role="dialog"
|
|
1266
|
+
aria-modal="true"
|
|
1267
|
+
aria-label=${this.term("chooseTime", "Choose time")}
|
|
1268
|
+
>
|
|
1269
|
+
<div part="columns" class="columns">${this.columnFields.map((f) => this.renderColumn(f))}</div>
|
|
1270
|
+
${hasFooterSlot ? b`<div class="popup-footer"><slot name="footer"></slot></div>` : this.withNow ? b`<div class="popup-footer">
|
|
1271
|
+
<button part="now-button" type="button" class="now-button" @click=${this.handleNowClick}>
|
|
1272
|
+
${this.term("now", "Now")}
|
|
1273
|
+
</button>
|
|
1274
|
+
</div>` : A}
|
|
1275
|
+
</div>
|
|
1276
|
+
</cs-popup>
|
|
1277
|
+
</div>
|
|
1278
|
+
|
|
1279
|
+
<slot
|
|
1280
|
+
id="hint"
|
|
1281
|
+
name="hint"
|
|
1282
|
+
part="hint"
|
|
1283
|
+
class=${e2({ "has-slotted": hasHint })}
|
|
1284
|
+
aria-hidden=${hasHint ? "false" : "true"}
|
|
1285
|
+
>
|
|
1286
|
+
${this.hint}
|
|
1287
|
+
</slot>
|
|
1288
|
+
</div>
|
|
1289
|
+
`;
|
|
1290
|
+
}
|
|
1291
|
+
renderSegmentGroup(layout) {
|
|
1292
|
+
const active = this.segmentsController.getActiveSegment();
|
|
1293
|
+
let tabAssigned = false;
|
|
1294
|
+
const nodes = [];
|
|
1295
|
+
for (const token of layout.tokens) {
|
|
1296
|
+
if (token.kind === "literal") {
|
|
1297
|
+
nodes.push(b`<span part="segment-literal" class="segment-literal" aria-hidden="true">${token.text}</span>`);
|
|
1298
|
+
} else {
|
|
1299
|
+
const field = token.field;
|
|
1300
|
+
const isFirstActive = !tabAssigned && (active == null || active.field === field);
|
|
1301
|
+
if (isFirstActive) {
|
|
1302
|
+
tabAssigned = true;
|
|
1303
|
+
}
|
|
1304
|
+
nodes.push(this.renderSegment(field, isFirstActive));
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
return nodes;
|
|
1308
|
+
}
|
|
1309
|
+
renderSegment(field, isTabStop) {
|
|
1310
|
+
const value = this.segments[field];
|
|
1311
|
+
const buffer = this.segmentsController.getBuffer(SINGLE_GROUP, field);
|
|
1312
|
+
const placeholder = this.placeholderFor(field);
|
|
1313
|
+
const display = formatTimeSegmentText(field, value, buffer, placeholder, this.resolvedLocale);
|
|
1314
|
+
const isEmptySegment = value == null && !buffer;
|
|
1315
|
+
const bounds = field === "hour" ? this.resolvedHour12 ? { min: 1, max: 12 } : { min: 0, max: 23 } : field === "minute" || field === "second" ? { min: 0, max: 59 } : { min: 0, max: 1 };
|
|
1316
|
+
const ariaValueText = this.segmentAriaValueText(field);
|
|
1317
|
+
return b`<span
|
|
1318
|
+
part="segment"
|
|
1319
|
+
class=${e2({ segment: true, empty: isEmptySegment, [`segment-${field}`]: true })}
|
|
1320
|
+
data-group=${SINGLE_GROUP}
|
|
1321
|
+
data-segment=${field}
|
|
1322
|
+
role="spinbutton"
|
|
1323
|
+
tabindex=${this.disabled ? -1 : isTabStop ? 0 : -1}
|
|
1324
|
+
aria-label=${this.fieldLabelFor(field)}
|
|
1325
|
+
aria-valuemin=${bounds.min}
|
|
1326
|
+
aria-valuemax=${bounds.max}
|
|
1327
|
+
aria-valuenow=${o(value == null ? void 0 : value)}
|
|
1328
|
+
aria-valuetext=${ariaValueText}
|
|
1329
|
+
aria-readonly=${this.readonly ? "true" : "false"}
|
|
1330
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
1331
|
+
aria-describedby=${this.keyboardHelpId}
|
|
1332
|
+
inputmode=${field === "dayPeriod" ? "text" : "numeric"}
|
|
1333
|
+
@keydown=${this.handleSegmentKeyDown}
|
|
1334
|
+
@focus=${this.handleSegmentFocus}
|
|
1335
|
+
@blur=${this.handleSegmentBlur}
|
|
1336
|
+
>${display}</span
|
|
1337
|
+
>`;
|
|
1338
|
+
}
|
|
1339
|
+
renderColumn(field) {
|
|
1340
|
+
const items = this.columnItemsFor(field);
|
|
1341
|
+
const currentValue = this.segments[field];
|
|
1342
|
+
const activedescendantId = currentValue != null ? `${this.popupId}-${field}-${currentValue}` : void 0;
|
|
1343
|
+
return b`<div
|
|
1344
|
+
part="column ${COLUMN_PARTS[field]}"
|
|
1345
|
+
class=${e2({ column: true, [`column-${field}`]: true })}
|
|
1346
|
+
data-field=${field}
|
|
1347
|
+
role="listbox"
|
|
1348
|
+
tabindex="0"
|
|
1349
|
+
aria-label=${this.fieldLabelFor(field)}
|
|
1350
|
+
aria-orientation="vertical"
|
|
1351
|
+
aria-activedescendant=${o(activedescendantId)}
|
|
1352
|
+
@click=${this.handleColumnItemClick}
|
|
1353
|
+
@keydown=${this.handleColumnKeyDown}
|
|
1354
|
+
>
|
|
1355
|
+
${items.map((item) => {
|
|
1356
|
+
const id = `${this.popupId}-${field}-${item.value}`;
|
|
1357
|
+
const selected = item.value === currentValue;
|
|
1358
|
+
return b`<button
|
|
1359
|
+
id=${id}
|
|
1360
|
+
part="column-item ${selected ? "column-item-selected" : ""}"
|
|
1361
|
+
class="column-item"
|
|
1362
|
+
data-field=${field}
|
|
1363
|
+
data-value=${item.value}
|
|
1364
|
+
type="button"
|
|
1365
|
+
role="option"
|
|
1366
|
+
aria-selected=${selected ? "true" : "false"}
|
|
1367
|
+
aria-disabled=${item.disabled ? "true" : "false"}
|
|
1368
|
+
tabindex="-1"
|
|
1369
|
+
>
|
|
1370
|
+
${item.label}
|
|
1371
|
+
</button>`;
|
|
1372
|
+
})}
|
|
1373
|
+
</div>`;
|
|
1374
|
+
}
|
|
1375
|
+
};
|
|
1376
|
+
CsTimeInput.css = [size_styles_default, form_control_styles_default, segmented_field_styles_default, time_input_styles_default];
|
|
1377
|
+
CsTimeInput.shadowRootOptions = {
|
|
1378
|
+
...CornerstoneFormAssociatedElement.shadowRootOptions,
|
|
1379
|
+
delegatesFocus: true
|
|
1380
|
+
};
|
|
1381
|
+
__decorateClass([
|
|
1382
|
+
e(".time-input-popup")
|
|
1383
|
+
], CsTimeInput.prototype, "popup", 2);
|
|
1384
|
+
__decorateClass([
|
|
1385
|
+
e(".value-input")
|
|
1386
|
+
], CsTimeInput.prototype, "valueInput", 2);
|
|
1387
|
+
__decorateClass([
|
|
1388
|
+
r()
|
|
1389
|
+
], CsTimeInput.prototype, "segments", 2);
|
|
1390
|
+
__decorateClass([
|
|
1391
|
+
n({ reflect: true })
|
|
1392
|
+
], CsTimeInput.prototype, "name", 2);
|
|
1393
|
+
__decorateClass([
|
|
1394
|
+
r()
|
|
1395
|
+
], CsTimeInput.prototype, "value", 1);
|
|
1396
|
+
__decorateClass([
|
|
1397
|
+
n({ attribute: "value", reflect: true })
|
|
1398
|
+
], CsTimeInput.prototype, "defaultValue", 2);
|
|
1399
|
+
__decorateClass([
|
|
1400
|
+
n({ type: Boolean })
|
|
1401
|
+
], CsTimeInput.prototype, "disabled", 2);
|
|
1402
|
+
__decorateClass([
|
|
1403
|
+
n({ type: Boolean, reflect: true })
|
|
1404
|
+
], CsTimeInput.prototype, "required", 2);
|
|
1405
|
+
__decorateClass([
|
|
1406
|
+
n({ type: Boolean, reflect: true })
|
|
1407
|
+
], CsTimeInput.prototype, "readonly", 2);
|
|
1408
|
+
__decorateClass([
|
|
1409
|
+
n({ reflect: true })
|
|
1410
|
+
], CsTimeInput.prototype, "size", 2);
|
|
1411
|
+
__decorateClass([
|
|
1412
|
+
n({ reflect: true })
|
|
1413
|
+
], CsTimeInput.prototype, "appearance", 2);
|
|
1414
|
+
__decorateClass([
|
|
1415
|
+
n({ type: Boolean, reflect: true })
|
|
1416
|
+
], CsTimeInput.prototype, "pill", 2);
|
|
1417
|
+
__decorateClass([
|
|
1418
|
+
n()
|
|
1419
|
+
], CsTimeInput.prototype, "label", 2);
|
|
1420
|
+
__decorateClass([
|
|
1421
|
+
n({ attribute: "hint" })
|
|
1422
|
+
], CsTimeInput.prototype, "hint", 2);
|
|
1423
|
+
__decorateClass([
|
|
1424
|
+
n()
|
|
1425
|
+
], CsTimeInput.prototype, "autocomplete", 2);
|
|
1426
|
+
__decorateClass([
|
|
1427
|
+
n({ attribute: "with-clear", type: Boolean })
|
|
1428
|
+
], CsTimeInput.prototype, "withClear", 2);
|
|
1429
|
+
__decorateClass([
|
|
1430
|
+
n({ attribute: "with-now", type: Boolean })
|
|
1431
|
+
], CsTimeInput.prototype, "withNow", 2);
|
|
1432
|
+
__decorateClass([
|
|
1433
|
+
n({ attribute: "ssr-label", type: Boolean })
|
|
1434
|
+
], CsTimeInput.prototype, "ssrLabel", 2);
|
|
1435
|
+
__decorateClass([
|
|
1436
|
+
n({ attribute: "ssr-hint", type: Boolean })
|
|
1437
|
+
], CsTimeInput.prototype, "ssrHint", 2);
|
|
1438
|
+
__decorateClass([
|
|
1439
|
+
n({ attribute: "ssr-footer", type: Boolean })
|
|
1440
|
+
], CsTimeInput.prototype, "ssrFooter", 2);
|
|
1441
|
+
__decorateClass([
|
|
1442
|
+
n({ reflect: true })
|
|
1443
|
+
], CsTimeInput.prototype, "min", 2);
|
|
1444
|
+
__decorateClass([
|
|
1445
|
+
n({ reflect: true })
|
|
1446
|
+
], CsTimeInput.prototype, "max", 2);
|
|
1447
|
+
__decorateClass([
|
|
1448
|
+
n({ converter: { fromAttribute: stepFromAttribute, toAttribute: stepToAttribute } })
|
|
1449
|
+
], CsTimeInput.prototype, "step", 2);
|
|
1450
|
+
__decorateClass([
|
|
1451
|
+
n({ attribute: "hour-format", reflect: true })
|
|
1452
|
+
], CsTimeInput.prototype, "hourFormat", 2);
|
|
1453
|
+
__decorateClass([
|
|
1454
|
+
n({ type: Boolean, reflect: true })
|
|
1455
|
+
], CsTimeInput.prototype, "open", 2);
|
|
1456
|
+
__decorateClass([
|
|
1457
|
+
n({ reflect: true })
|
|
1458
|
+
], CsTimeInput.prototype, "placement", 2);
|
|
1459
|
+
__decorateClass([
|
|
1460
|
+
n({ type: Number, reflect: true })
|
|
1461
|
+
], CsTimeInput.prototype, "distance", 2);
|
|
1462
|
+
__decorateClass([
|
|
1463
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
1464
|
+
], CsTimeInput.prototype, "handleDisabledChange", 1);
|
|
1465
|
+
__decorateClass([
|
|
1466
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
1467
|
+
], CsTimeInput.prototype, "handleOpenChange", 1);
|
|
1468
|
+
CsTimeInput = __decorateClass([
|
|
1469
|
+
customElement("cs-time-input")
|
|
1470
|
+
], CsTimeInput);
|
|
1471
|
+
function stepFromAttribute(value) {
|
|
1472
|
+
if (value == null) {
|
|
1473
|
+
return 60;
|
|
1474
|
+
}
|
|
1475
|
+
if (value === "any") {
|
|
1476
|
+
return "any";
|
|
1477
|
+
}
|
|
1478
|
+
const n2 = Number(value);
|
|
1479
|
+
return Number.isFinite(n2) && n2 > 0 ? n2 : 60;
|
|
1480
|
+
}
|
|
1481
|
+
function stepToAttribute(value) {
|
|
1482
|
+
if (value === "any") {
|
|
1483
|
+
return "any";
|
|
1484
|
+
}
|
|
1485
|
+
return String(value);
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
export {
|
|
1489
|
+
CsTimeInput
|
|
1490
|
+
};
|