@esri/calcite-components 1.0.0-beta.81 → 1.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/ru.json +4 -4
- package/dist/calcite/assets/date-picker/nls/th.json +1 -1
- package/dist/calcite/assets/icon/changeDetection16.json +1 -0
- package/dist/calcite/assets/icon/changeDetection24.json +1 -0
- package/dist/calcite/assets/icon/changeDetection32.json +1 -0
- package/dist/calcite/assets/icon/compactness16.json +1 -0
- package/dist/calcite/assets/icon/compactness24.json +1 -0
- package/dist/calcite/assets/icon/compactness32.json +1 -0
- package/dist/calcite/assets/icon/configure16.json +1 -0
- package/dist/calcite/assets/icon/configure24.json +1 -0
- package/dist/calcite/assets/icon/configure32.json +1 -0
- package/dist/calcite/assets/icon/debugScript16.json +1 -0
- package/dist/calcite/assets/icon/debugScript24.json +1 -0
- package/dist/calcite/assets/icon/debugScript32.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures16.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures24.json +1 -0
- package/dist/calcite/assets/icon/dissolveFeatures32.json +1 -0
- package/dist/calcite/assets/icon/distanceType16.json +1 -0
- package/dist/calcite/assets/icon/distanceType24.json +1 -0
- package/dist/calcite/assets/icon/distanceType32.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond16.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond24.json +1 -0
- package/dist/calcite/assets/icon/gridDiamond32.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon16.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon24.json +1 -0
- package/dist/calcite/assets/icon/gridHexagon32.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle16.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle24.json +1 -0
- package/dist/calcite/assets/icon/gridTriangle32.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/calcite/assets/icon/insets16.json +1 -0
- package/dist/calcite/assets/icon/insets24.json +1 -0
- package/dist/calcite/assets/icon/insets32.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll16.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll24.json +1 -0
- package/dist/calcite/assets/icon/listCheckAll32.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign16.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign24.json +1 -0
- package/dist/calcite/assets/icon/ltrElementsAlign32.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign16.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign24.json +1 -0
- package/dist/calcite/assets/icon/ltrParagraphAlign32.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance16.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance24.json +1 -0
- package/dist/calcite/assets/icon/maximumTerritoryDistance32.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters16.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters24.json +1 -0
- package/dist/calcite/assets/icon/minDistanceBetweenCenters32.json +1 -0
- package/dist/calcite/assets/icon/numberCircle416.json +1 -0
- package/dist/calcite/assets/icon/numberCircle424.json +1 -0
- package/dist/calcite/assets/icon/numberCircle432.json +1 -0
- package/dist/calcite/assets/icon/numberCircle516.json +1 -0
- package/dist/calcite/assets/icon/numberCircle524.json +1 -0
- package/dist/calcite/assets/icon/numberCircle532.json +1 -0
- package/dist/calcite/assets/icon/numberCircle616.json +1 -0
- package/dist/calcite/assets/icon/numberCircle624.json +1 -0
- package/dist/calcite/assets/icon/numberCircle632.json +1 -0
- package/dist/calcite/assets/icon/numberCircle716.json +1 -0
- package/dist/calcite/assets/icon/numberCircle724.json +1 -0
- package/dist/calcite/assets/icon/numberCircle732.json +1 -0
- package/dist/calcite/assets/icon/numberCircle816.json +1 -0
- package/dist/calcite/assets/icon/numberCircle824.json +1 -0
- package/dist/calcite/assets/icon/numberCircle832.json +1 -0
- package/dist/calcite/assets/icon/numberCircle916.json +1 -0
- package/dist/calcite/assets/icon/numberCircle924.json +1 -0
- package/dist/calcite/assets/icon/numberCircle932.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories16.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories24.json +1 -0
- package/dist/calcite/assets/icon/numberOfTerritories32.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures16.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures24.json +1 -0
- package/dist/calcite/assets/icon/overlapFeatures32.json +1 -0
- package/dist/calcite/assets/icon/profileVariables16.json +1 -0
- package/dist/calcite/assets/icon/profileVariables24.json +1 -0
- package/dist/calcite/assets/icon/profileVariables32.json +1 -0
- package/dist/calcite/assets/icon/rangefinder16.json +1 -0
- package/dist/calcite/assets/icon/rangefinder24.json +1 -0
- package/dist/calcite/assets/icon/rangefinder32.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis16.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis24.json +1 -0
- package/dist/calcite/assets/icon/rasterAnalysis32.json +1 -0
- package/dist/calcite/assets/icon/recurrence16.json +1 -0
- package/dist/calcite/assets/icon/recurrence24.json +1 -0
- package/dist/calcite/assets/icon/recurrence32.json +1 -0
- package/dist/calcite/assets/icon/rfid16.json +1 -0
- package/dist/calcite/assets/icon/rfid24.json +1 -0
- package/dist/calcite/assets/icon/rfid32.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign16.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign24.json +1 -0
- package/dist/calcite/assets/icon/rtlElementsAlign32.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign16.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign24.json +1 -0
- package/dist/calcite/assets/icon/rtlParagraphAlign32.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures16.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures24.json +1 -0
- package/dist/calcite/assets/icon/splitFeatures32.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance16.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance24.json +1 -0
- package/dist/calcite/assets/icon/territoryBufferDistance32.json +1 -0
- package/dist/calcite/assets/icon/testData16.json +1 -0
- package/dist/calcite/assets/icon/testData24.json +1 -0
- package/dist/calcite/assets/icon/testData32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00247a8d.system.js +7 -0
- package/dist/calcite/p-02bb8194.entry.js +6 -0
- package/dist/calcite/p-061aea88.entry.js +6 -0
- package/dist/calcite/p-07c6e102.system.js +6 -0
- package/dist/calcite/{p-14ca50d9.entry.js → p-0bfe5ca7.entry.js} +2 -2
- package/dist/calcite/{p-ffc13e2d.entry.js → p-114d44c3.entry.js} +2 -2
- package/dist/calcite/{p-f8d2efa3.js → p-1157ae2f.js} +1 -1
- package/dist/calcite/p-1363adcd.entry.js +6 -0
- package/dist/calcite/p-13d66ebf.entry.js +6 -0
- package/dist/calcite/p-14a22bfc.system.entry.js +6 -0
- package/dist/calcite/{p-e4a047e7.system.entry.js → p-14f0920e.system.entry.js} +2 -2
- package/dist/calcite/p-16888553.system.entry.js +6 -0
- package/dist/calcite/p-16dbdef2.system.entry.js +6 -0
- package/dist/calcite/p-1adea169.system.entry.js +6 -0
- package/dist/calcite/p-1db25c99.system.entry.js +6 -0
- package/dist/calcite/p-204443b0.system.entry.js +6 -0
- package/dist/calcite/p-20d610fc.entry.js +6 -0
- package/dist/calcite/p-21a1034c.entry.js +6 -0
- package/dist/calcite/p-236f1255.system.entry.js +6 -0
- package/dist/calcite/p-24d52a72.entry.js +6 -0
- package/dist/calcite/p-25349c89.system.entry.js +6 -0
- package/dist/calcite/{p-045f28b2.entry.js → p-26757de8.entry.js} +2 -2
- package/dist/calcite/p-278c8372.entry.js +6 -0
- package/dist/calcite/p-282106cb.system.js +6 -0
- package/dist/calcite/p-2b531882.entry.js +6 -0
- package/dist/calcite/{p-0ee86cc3.js → p-2bf5b9b6.js} +2 -2
- package/dist/calcite/p-2ce10f9a.system.js +6 -0
- package/dist/calcite/p-2e3ffd32.system.js +6 -0
- package/dist/calcite/p-30256458.entry.js +6 -0
- package/dist/calcite/{p-82c05795.js → p-34e0b58b.js} +2 -2
- package/dist/calcite/p-352b94a1.system.entry.js +6 -0
- package/dist/calcite/p-39bb68b3.system.js +6 -0
- package/dist/calcite/p-3aefc333.entry.js +6 -0
- package/dist/calcite/p-3d2eebab.system.entry.js +6 -0
- package/dist/calcite/{p-a2b46564.entry.js → p-3d8ab9d5.entry.js} +2 -2
- package/dist/calcite/p-4185af29.entry.js +6 -0
- package/dist/calcite/{p-4275a429.system.js → p-4196e498.system.js} +2 -2
- package/dist/calcite/p-41cbf505.system.entry.js +6 -0
- package/dist/calcite/p-438d87b0.entry.js +6 -0
- package/dist/calcite/p-448b3393.system.entry.js +6 -0
- package/dist/calcite/p-45588eee.system.entry.js +6 -0
- package/dist/calcite/{p-fb726bdd.system.js → p-4908e3a5.system.js} +1 -1
- package/dist/calcite/p-49488c34.entry.js +6 -0
- package/dist/calcite/p-4b414b81.entry.js +6 -0
- package/dist/calcite/{p-f839293b.system.js → p-4cfef590.system.js} +2 -2
- package/dist/calcite/{p-be0551f8.system.js → p-4d9c7cc9.system.js} +1 -1
- package/dist/calcite/p-4eb531c4.js +7 -0
- package/dist/calcite/p-4f1dbd36.system.entry.js +6 -0
- package/dist/calcite/p-4f9ce175.js +6 -0
- package/dist/calcite/{p-24db2b0a.system.js → p-51491e10.system.js} +1 -1
- package/dist/calcite/p-51ffb552.system.entry.js +6 -0
- package/dist/calcite/{p-61021069.system.js → p-549e267e.system.js} +1 -1
- package/dist/calcite/p-56f93049.js +6 -0
- package/dist/calcite/p-57b60838.entry.js +6 -0
- package/dist/calcite/p-594f52ca.system.entry.js +6 -0
- package/dist/calcite/{p-769054e6.entry.js → p-5bd80046.entry.js} +2 -2
- package/dist/calcite/{p-a9630b98.js → p-5d7f4169.js} +1 -1
- package/dist/calcite/p-6309de22.entry.js +6 -0
- package/dist/calcite/p-67a0e692.system.entry.js +6 -0
- package/dist/calcite/p-6a554714.entry.js +6 -0
- package/dist/calcite/{p-3412c57d.system.js → p-6a8f1936.system.js} +2 -2
- package/dist/calcite/p-6cff0a2a.entry.js +6 -0
- package/dist/calcite/p-6d1c91ee.entry.js +6 -0
- package/dist/calcite/p-6d96d61f.system.js +6 -0
- package/dist/calcite/p-6e366971.system.entry.js +6 -0
- package/dist/calcite/{p-89146101.entry.js → p-6eadd519.entry.js} +2 -2
- package/dist/calcite/p-70e1d287.system.entry.js +6 -0
- package/dist/calcite/{p-0f0713c7.entry.js → p-7168da40.entry.js} +2 -2
- package/dist/calcite/p-74153f82.js +6 -0
- package/dist/calcite/p-74b7ff1f.entry.js +6 -0
- package/dist/calcite/p-77bc0e49.entry.js +6 -0
- package/dist/calcite/p-7c7ad2d6.entry.js +6 -0
- package/dist/calcite/p-7cc3d924.system.entry.js +6 -0
- package/dist/calcite/{p-db2360e6.js → p-7ec42769.js} +1 -1
- package/dist/calcite/p-7ede3d65.system.entry.js +6 -0
- package/dist/calcite/{p-e3f1b697.system.entry.js → p-8018d689.system.entry.js} +2 -2
- package/dist/calcite/p-8133b2a5.entry.js +6 -0
- package/dist/calcite/{p-609f05ef.entry.js → p-8137bc05.entry.js} +2 -2
- package/dist/calcite/{p-c62291e6.system.entry.js → p-8202ad8a.system.entry.js} +2 -2
- package/dist/calcite/p-82dec536.system.entry.js +6 -0
- package/dist/calcite/{p-99bd5049.system.js → p-82e24e64.system.js} +1 -1
- package/dist/calcite/p-88d2d38a.entry.js +6 -0
- package/dist/calcite/p-890cc5a8.system.entry.js +6 -0
- package/dist/calcite/p-891e53dd.system.entry.js +6 -0
- package/dist/calcite/p-8ae680a2.system.entry.js +6 -0
- package/dist/calcite/{p-c76d5a12.entry.js → p-8c25b934.entry.js} +2 -2
- package/dist/calcite/p-8c9e453c.js +6 -0
- package/dist/calcite/p-90608473.entry.js +6 -0
- package/dist/calcite/{p-47913e44.system.entry.js → p-974b7008.system.entry.js} +2 -2
- package/dist/calcite/p-98a2aa34.entry.js +6 -0
- package/dist/calcite/p-98dfd14b.system.entry.js +6 -0
- package/dist/calcite/p-99551007.system.entry.js +6 -0
- package/dist/calcite/{p-1866c3d6.entry.js → p-9c4aa033.entry.js} +2 -2
- package/dist/calcite/p-9c5c3cb3.system.entry.js +6 -0
- package/dist/calcite/p-9c80707e.system.js +6 -0
- package/dist/calcite/p-9d158b37.system.js +6 -0
- package/dist/calcite/{p-3ceba891.js → p-9e8d6e02.js} +2 -2
- package/dist/calcite/p-9eaf38bc.js +6 -0
- package/dist/calcite/p-9f13e930.entry.js +6 -0
- package/dist/calcite/{p-4ff2f38c.entry.js → p-a0971f99.entry.js} +2 -2
- package/dist/calcite/p-a1208386.entry.js +6 -0
- package/dist/calcite/p-a1cc6421.entry.js +6 -0
- package/dist/calcite/{p-daf452fa.entry.js → p-a6e1e1e4.entry.js} +2 -2
- package/dist/calcite/{p-7e9cac29.system.entry.js → p-a89fc6a1.system.entry.js} +2 -2
- package/dist/calcite/{p-d7f31cff.system.js → p-a92ac42d.system.js} +1 -1
- package/dist/calcite/{p-5a3414c7.js → p-aa9ce421.js} +1 -1
- package/dist/calcite/{p-5dd1e943.system.js → p-aaba2ea0.system.js} +1 -1
- package/dist/calcite/p-b2f27af5.entry.js +6 -0
- package/dist/calcite/p-b31d3dad.system.entry.js +6 -0
- package/dist/calcite/p-b3a4497d.entry.js +6 -0
- package/dist/calcite/p-b48feb98.system.entry.js +6 -0
- package/dist/calcite/p-bb1711f3.js +6 -0
- package/dist/calcite/{p-5ed8397b.js → p-bbd8269c.js} +1 -1
- package/dist/calcite/{p-ceae054a.system.entry.js → p-bc5a7fee.system.entry.js} +2 -2
- package/dist/calcite/p-bce5ab4f.system.entry.js +6 -0
- package/dist/calcite/{p-99520e50.js → p-c2ed5f67.js} +1 -1
- package/dist/calcite/p-c78d1678.system.entry.js +6 -0
- package/dist/calcite/p-c9d73fce.system.entry.js +6 -0
- package/dist/calcite/{p-90660203.js → p-ca1b7a2e.js} +1 -1
- package/dist/calcite/{p-e837987d.system.js → p-cc041a12.system.js} +1 -1
- package/dist/calcite/p-ccf1e5d8.entry.js +6 -0
- package/dist/calcite/{p-1b7e43a7.js → p-ce28c259.js} +2 -2
- package/dist/calcite/{p-c477a6ac.system.entry.js → p-ce34288b.entry.js} +2 -2
- package/dist/calcite/{p-40a15f4a.system.entry.js → p-ce654c2c.system.entry.js} +2 -2
- package/dist/calcite/p-d05f35e8.system.js +6 -0
- package/dist/calcite/p-d48cc6d2.entry.js +6 -0
- package/dist/calcite/p-d4f596f2.entry.js +6 -0
- package/dist/calcite/{p-bef4c06f.system.js → p-d6d814a6.system.js} +1 -1
- package/dist/calcite/p-d96573eb.system.entry.js +6 -0
- package/dist/calcite/p-dca64e20.js +6 -0
- package/dist/calcite/{p-44f00a2a.system.entry.js → p-dd1e12e4.system.entry.js} +2 -2
- package/dist/calcite/{p-8729fefb.entry.js → p-dd5185d6.entry.js} +2 -2
- package/dist/calcite/p-dd5e585b.entry.js +6 -0
- package/dist/calcite/{p-dfd0c1ce.js → p-df26aab6.js} +1 -1
- package/dist/calcite/p-e2ccf473.entry.js +6 -0
- package/dist/calcite/p-e345449f.entry.js +6 -0
- package/dist/calcite/{p-ed535fb3.system.js → p-e45d0fed.system.js} +1 -1
- package/dist/calcite/p-e5381e40.system.entry.js +6 -0
- package/dist/calcite/p-e6578cf2.system.entry.js +6 -0
- package/dist/calcite/{p-7ebc956d.system.js → p-e69d3ca4.system.js} +1 -1
- package/dist/calcite/p-e78d93ed.entry.js +6 -0
- package/dist/calcite/p-e7b4e5b8.system.entry.js +6 -0
- package/dist/calcite/{p-e131dae7.system.entry.js → p-e956598c.system.entry.js} +2 -2
- package/dist/calcite/{p-72ab20ed.system.entry.js → p-e9c9fb33.system.entry.js} +2 -2
- package/dist/calcite/p-ebb71e37.system.entry.js +6 -0
- package/dist/calcite/p-ebeb09f0.system.entry.js +6 -0
- package/dist/calcite/{p-bddde234.system.entry.js → p-ec8d9088.system.entry.js} +2 -2
- package/dist/calcite/p-eccc820a.entry.js +6 -0
- package/dist/calcite/{p-a3478523.js → p-ecd12a92.js} +1 -1
- package/dist/calcite/p-eceb3f95.system.entry.js +6 -0
- package/dist/calcite/p-ee60b60f.system.entry.js +6 -0
- package/dist/calcite/{p-2363fc48.system.entry.js → p-f07627e7.system.entry.js} +2 -2
- package/dist/calcite/p-f14e0497.system.entry.js +6 -0
- package/dist/calcite/p-f2384caf.entry.js +6 -0
- package/dist/calcite/p-f537a6a5.entry.js +6 -0
- package/dist/calcite/p-f6760679.js +6 -0
- package/dist/calcite/{p-7c32da09.entry.js → p-f8695531.entry.js} +2 -2
- package/dist/calcite/{p-23c9c6f9.js → p-f8cb1eeb.js} +1 -1
- package/dist/calcite/{p-3113528a.js → p-fb0e5ae3.js} +1 -1
- package/dist/calcite/p-fb97a373.system.entry.js +6 -0
- package/dist/calcite/p-fbbfde67.system.js +6 -0
- package/dist/calcite/p-fc6a158c.system.entry.js +6 -0
- package/dist/calcite/p-fca56e68.system.entry.js +6 -0
- package/dist/calcite/{p-2f07bcb4.system.js → p-fdc7032c.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-e3bd3e9d.js → ExpandToggle-894fe6d0.js} +9 -7
- package/dist/cjs/{Heading-b864aca1.js → Heading-9546b15c.js} +3 -3
- package/dist/cjs/{array-00db7b4e.js → array-1c85be7d.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +41 -26
- package/dist/cjs/calcite-action-bar.cjs.entry.js +22 -16
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +32 -28
- package/dist/cjs/calcite-action-pad.cjs.entry.js +20 -15
- package/dist/cjs/calcite-action.cjs.entry.js +20 -15
- package/dist/cjs/calcite-alert.cjs.entry.js +61 -34
- package/dist/cjs/calcite-avatar.cjs.entry.js +12 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +40 -18
- package/dist/cjs/calcite-button.cjs.entry.js +18 -14
- package/dist/cjs/calcite-card.cjs.entry.js +23 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip.cjs.entry.js +19 -13
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1396 -1352
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +111 -51
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +115 -32
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +129 -54
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +17 -15
- package/dist/cjs/calcite-flow.cjs.entry.js +12 -11
- package/dist/cjs/calcite-graph_2.cjs.entry.js +57 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +9 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +10 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +56 -23
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +117 -67
- package/dist/cjs/calcite-input.cjs.entry.js +136 -80
- package/dist/cjs/calcite-label.cjs.entry.js +13 -8
- package/dist/cjs/calcite-link.cjs.entry.js +8 -7
- package/dist/cjs/calcite-list_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-loader.cjs.entry.js +12 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +46 -28
- package/dist/cjs/calcite-notice.cjs.entry.js +16 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +16 -16
- package/dist/cjs/calcite-pagination.cjs.entry.js +97 -12
- package/dist/cjs/calcite-panel.cjs.entry.js +54 -23
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +47 -38
- package/dist/cjs/calcite-popover_2.cjs.entry.js +155 -63
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -10
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +15 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +33 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -3
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -6
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +175 -121
- package/dist/cjs/calcite-switch.cjs.entry.js +12 -10
- package/dist/cjs/calcite-tab_4.cjs.entry.js +61 -37
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +12 -10
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +188 -141
- package/dist/cjs/calcite-tree_2.cjs.entry.js +35 -24
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +43 -35
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-8468d1b6.js → conditionalSlot-ecb74d9a.js} +7 -3
- package/dist/cjs/{debounce-a29e2f71.js → debounce-a74a2080.js} +1 -1
- package/dist/cjs/{dom-66c5cb56.js → dom-69c7e941.js} +19 -27
- package/dist/cjs/{forIn-d4941a7b.js → forIn-efe39801.js} +2 -2
- package/dist/cjs/{form-cfcc3b12.js → form-901b31de.js} +39 -3
- package/dist/cjs/{guid-364777e6.js → guid-263ed05b.js} +1 -1
- package/dist/cjs/{index-ab066772.js → index-8fbe74dd.js} +7 -19
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-3808ad50.js → interactive-b2df5d51.js} +7 -4
- package/dist/cjs/{interfaces-597482d7.js → interfaces-a8a9ed80.js} +1 -1
- package/dist/cjs/key-0fe936c7.js +14 -0
- package/dist/cjs/{label-e53e11ab.js → label-f1317d82.js} +26 -19
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-0becaa93.js +262 -0
- package/dist/cjs/{math-b81c3249.js → math-0877dd01.js} +1 -1
- package/dist/cjs/{observers-2dc895e1.js → observers-8169781c.js} +1 -1
- package/dist/cjs/{popper-5aeab272.js → popper-46476990.js} +2 -2
- package/dist/cjs/{resources-9baed1da.js → resources-192c00c3.js} +10 -22
- package/dist/cjs/{resources-7b0c6b5a.js → resources-6ac223e5.js} +44 -3
- package/dist/cjs/{resources-ff2cae6a.js → resources-80d6cd05.js} +1 -1
- package/dist/cjs/{resources-39df6d9b.js → resources-93a62cd3.js} +1 -1
- package/dist/cjs/{sortable.esm-6d0d59e8.js → sortable.esm-b7091c1d.js} +1 -1
- package/dist/cjs/{utils-9f674b6a.js → utils-b1d11545.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +27 -22
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +38 -18
- package/dist/collection/components/accordion-item/accordion-item.js +98 -27
- package/dist/collection/components/action/action.css +38 -14
- package/dist/collection/components/action/action.js +28 -24
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +29 -17
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +11 -11
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -3
- package/dist/collection/components/action-menu/action-menu.js +32 -28
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +30 -19
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +37 -38
- package/dist/collection/components/alert/alert.js +129 -57
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +4 -1
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +7 -7
- package/dist/collection/components/avatar/utils.js +6 -1
- package/dist/collection/components/block/block.css +6 -4
- package/dist/collection/components/block/block.js +84 -17
- package/dist/collection/components/block/resources.js +2 -1
- package/dist/collection/components/block-section/block-section.css +6 -5
- package/dist/collection/components/block-section/block-section.js +3 -3
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +116 -57
- package/dist/collection/components/button/button.js +11 -7
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +32 -11
- package/dist/collection/components/card/card.js +45 -11
- package/dist/collection/components/card/resources.js +3 -3
- package/dist/collection/components/checkbox/checkbox.css +15 -11
- package/dist/collection/components/checkbox/checkbox.js +5 -3
- package/dist/collection/components/chip/chip.css +27 -25
- package/dist/collection/components/chip/chip.js +28 -5
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +4 -3
- package/dist/collection/components/color-picker/color-picker.css +3 -12
- package/dist/collection/components/color-picker/color-picker.js +111 -41
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +27 -3
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +4 -4
- package/dist/collection/components/combobox/combobox.js +195 -57
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +6 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +4 -4
- package/dist/collection/components/combobox-item/combobox-item.js +32 -4
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +2 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
- package/dist/collection/components/date-picker/date-picker.js +36 -7
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +7 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +25 -18
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -4
- package/dist/collection/components/date-picker-month/date-picker-month.js +38 -10
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +32 -7
- package/dist/collection/components/date-picker-month-header/resources.js +6 -0
- package/dist/collection/components/dropdown/dropdown.css +2 -1
- package/dist/collection/components/dropdown/dropdown.js +186 -47
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +4 -1
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +9 -7
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +16 -9
- package/dist/collection/components/dropdown-item/dropdown-item.js +21 -21
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +2 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +3 -3
- package/dist/collection/components/filter/filter.js +9 -8
- package/dist/collection/components/filter/resources.js +2 -3
- package/dist/collection/components/flow/flow.css +1 -9
- package/dist/collection/components/flow/flow.js +9 -8
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +5 -3
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.css +1 -0
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +29 -1
- package/dist/collection/components/handle/handle.css +0 -2
- package/dist/collection/components/handle/handle.js +7 -5
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/compactness16.json +1 -0
- package/dist/collection/components/icon/assets/icon/compactness24.json +1 -0
- package/dist/collection/components/icon/assets/icon/compactness32.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure16.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure24.json +1 -0
- package/dist/collection/components/icon/assets/icon/configure32.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript16.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript24.json +1 -0
- package/dist/collection/components/icon/assets/icon/debugScript32.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/dissolveFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType16.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType24.json +1 -0
- package/dist/collection/components/icon/assets/icon/distanceType32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridDiamond32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridHexagon32.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/gridTriangle32.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets16.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets24.json +1 -0
- package/dist/collection/components/icon/assets/icon/insets32.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll16.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll24.json +1 -0
- package/dist/collection/components/icon/assets/icon/listCheckAll32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrElementsAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ltrParagraphAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance16.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance24.json +1 -0
- package/dist/collection/components/icon/assets/icon/maximumTerritoryDistance32.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters16.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters24.json +1 -0
- package/dist/collection/components/icon/assets/icon/minDistanceBetweenCenters32.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories16.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories24.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberOfTerritories32.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/overlapFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables16.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables24.json +1 -0
- package/dist/collection/components/icon/assets/icon/profileVariables32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rangefinder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rasterAnalysis32.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence16.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence24.json +1 -0
- package/dist/collection/components/icon/assets/icon/recurrence32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rfid16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rfid24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rfid32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlElementsAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign16.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign24.json +1 -0
- package/dist/collection/components/icon/assets/icon/rtlParagraphAlign32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures16.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures24.json +1 -0
- package/dist/collection/components/icon/assets/icon/splitFeatures32.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance16.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance24.json +1 -0
- package/dist/collection/components/icon/assets/icon/territoryBufferDistance32.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData16.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData24.json +1 -0
- package/dist/collection/components/icon/assets/icon/testData32.json +1 -0
- package/dist/collection/components/icon/icon.js +3 -3
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +5 -1
- package/dist/collection/components/inline-editable/inline-editable.css +1 -4
- package/dist/collection/components/inline-editable/inline-editable.js +18 -14
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +47 -56
- package/dist/collection/components/input/input.js +250 -111
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +4 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +52 -18
- package/dist/collection/components/input-message/input-message.css +11 -16
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +54 -16
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +28 -8
- package/dist/collection/components/label/label.js +21 -13
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +11 -18
- package/dist/collection/components/link/link.js +3 -2
- package/dist/collection/components/list/list.js +5 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +23 -15
- package/dist/collection/components/list-item/list-item.js +12 -12
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.css +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +23 -21
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +30 -60
- package/dist/collection/components/modal/modal.js +117 -71
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +22 -25
- package/dist/collection/components/notice/notice.js +25 -22
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +10 -10
- package/dist/collection/components/option-group/option-group.js +7 -7
- package/dist/collection/components/pagination/pagination.css +26 -20
- package/dist/collection/components/pagination/pagination.js +49 -22
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +15 -8
- package/dist/collection/components/panel/panel.js +123 -43
- package/dist/collection/components/panel/resources.js +2 -1
- package/dist/collection/components/pick-list/pick-list.js +40 -29
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -3
- package/dist/collection/components/pick-list/shared-list-render.js +4 -15
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +3 -4
- package/dist/collection/components/pick-list-item/pick-list-item.js +47 -37
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +74 -0
- package/dist/collection/components/popover/popover.css +7 -1
- package/dist/collection/components/popover/popover.js +128 -50
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +33 -45
- package/dist/collection/components/progress/progress.css +2 -1
- package/dist/collection/components/progress/progress.js +9 -9
- package/dist/collection/components/radio-button/radio-button.css +10 -6
- package/dist/collection/components/radio-button/radio-button.js +6 -3
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +2 -1
- package/dist/collection/components/radio-group/radio-group.js +12 -6
- package/dist/collection/components/radio-group-item/radio-group-item.css +14 -2
- package/dist/collection/components/radio-group-item/radio-group-item.js +6 -6
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +2 -12
- package/dist/collection/components/rating/rating.js +26 -8
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +4 -2
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +0 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +7 -3
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.css +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +13 -9
- package/dist/collection/components/shell-panel/shell-panel.js +6 -2
- package/dist/collection/components/slider/slider.css +47 -10
- package/dist/collection/components/slider/slider.js +19 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.css +1 -4
- package/dist/collection/components/split-button/split-button.js +6 -3
- package/dist/collection/components/stepper/interfaces.js +6 -0
- package/dist/collection/components/stepper/stepper.js +150 -72
- package/dist/collection/components/stepper-item/stepper-item.css +50 -17
- package/dist/collection/components/stepper-item/stepper-item.js +183 -89
- package/dist/collection/components/switch/switch.css +2 -3
- package/dist/collection/components/switch/switch.js +6 -4
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +27 -10
- package/dist/collection/components/tab-nav/tab-nav.css +21 -4
- package/dist/collection/components/tab-nav/tab-nav.js +28 -17
- package/dist/collection/components/tab-title/tab-title.css +78 -27
- package/dist/collection/components/tab-title/tab-title.js +41 -26
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +41 -1
- package/dist/collection/components/tabs/tabs.js +17 -12
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +5 -4
- package/dist/collection/components/tile/tile.js +2 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +9 -3
- package/dist/collection/components/tile-select/tile-select.js +3 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.css +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +8 -5
- package/dist/collection/components/time-picker/time-picker.js +61 -26
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +4 -4
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +3 -14
- package/dist/collection/components/tip-manager/tip-manager.js +23 -4
- package/dist/collection/components/tooltip/TooltipManager.js +161 -0
- package/dist/collection/components/tooltip/resources.js +1 -2
- package/dist/collection/components/tooltip/tooltip.css +7 -4
- package/dist/collection/components/tooltip/tooltip.js +58 -30
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +6 -160
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +18 -13
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +24 -19
- package/dist/collection/components/tree-item/tree-item.js +34 -28
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +45 -34
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +2 -3
- package/dist/collection/components/value-list-item/value-list-item.js +37 -28
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +5 -1
- package/dist/collection/utils/date.js +36 -1
- package/dist/collection/utils/dom.js +17 -25
- package/dist/collection/utils/filter.js +4 -4
- package/dist/collection/utils/form.js +35 -1
- package/dist/collection/utils/globalAttributes.js +6 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +7 -4
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +25 -18
- package/dist/collection/utils/locale.js +30 -36
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +71 -8
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +6 -0
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +5 -3
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +14 -20
- package/dist/components/action-menu.js +34 -36
- package/dist/components/action.js +16 -12
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +14 -10
- package/dist/components/calcite-accordion-item.js +28 -15
- package/dist/components/calcite-accordion.js +17 -12
- package/dist/components/calcite-action-bar.js +25 -25
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +24 -25
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +59 -32
- package/dist/components/calcite-avatar.js +8 -3
- package/dist/components/calcite-block-section.js +4 -4
- package/dist/components/calcite-block.js +49 -31
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +22 -12
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +96 -42
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +5 -2
- package/dist/components/calcite-combobox.js +103 -42
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +9 -7
- package/dist/components/calcite-dropdown-item.js +19 -19
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +10 -9
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +19 -15
- package/dist/components/calcite-input-date-picker.js +51 -17
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-time-picker.js +35 -14
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +43 -25
- package/dist/components/calcite-notice.js +10 -8
- package/dist/components/calcite-option-group.js +4 -4
- package/dist/components/calcite-option.js +5 -5
- package/dist/components/calcite-pagination.js +96 -11
- package/dist/components/calcite-panel.js +61 -34
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +21 -16
- package/dist/components/calcite-popover-manager.js +31 -38
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +8 -5
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +8 -5
- package/dist/components/calcite-rating.js +28 -10
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +4 -4
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +3 -2
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +22 -5
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +7 -4
- package/dist/components/calcite-stepper-item.js +79 -65
- package/dist/components/calcite-stepper.js +97 -55
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +2 -2
- package/dist/components/calcite-tile-select.js +4 -3
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -5
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +48 -2
- package/dist/components/calcite-tooltip.js +195 -24
- package/dist/components/calcite-tree-item.js +21 -15
- package/dist/components/calcite-tree.js +12 -7
- package/dist/components/calcite-value-list-item.js +16 -13
- package/dist/components/calcite-value-list.js +22 -17
- package/dist/components/checkbox.js +7 -5
- package/dist/components/chip.js +15 -8
- package/dist/components/color-picker-hex-input.js +11 -3
- package/dist/components/color-picker-swatch.js +1335 -1351
- package/dist/components/conditionalSlot.js +5 -1
- package/dist/components/date-picker-day.js +4 -4
- package/dist/components/date-picker-month-header.js +35 -9
- package/dist/components/date-picker-month.js +36 -8
- package/dist/components/date-picker.js +42 -7
- package/dist/components/date.js +37 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +18 -26
- package/dist/components/dropdown.js +104 -30
- package/dist/components/filter.js +11 -9
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +37 -3
- package/dist/components/graph.js +30 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +7 -5
- package/dist/components/icon.js +7 -3
- package/dist/components/index.d.ts +90 -5
- package/dist/components/index.js +91 -1
- package/dist/components/input.js +126 -67
- package/dist/components/interactive.js +7 -4
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +11 -0
- package/dist/components/label.js +86 -104
- package/dist/components/label2.js +112 -82
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +10 -8
- package/dist/components/locale.js +159 -37
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +22 -18
- package/dist/components/popover.js +145 -26
- package/dist/components/popper.js +2 -2
- package/dist/components/progress.js +4 -4
- package/dist/components/resources.js +11 -19
- package/dist/components/resources2.js +8 -6
- package/dist/components/resources3.js +25 -11
- package/dist/components/scrim.js +4 -2
- package/dist/components/shared-list-render.js +9 -21
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +8 -6
- package/dist/components/tab-nav.js +22 -11
- package/dist/components/tab-title.js +19 -16
- package/dist/components/tab.js +11 -6
- package/dist/components/tabs.js +12 -7
- package/dist/components/tile.js +3 -2
- package/dist/components/time-picker.js +52 -22
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +3830 -2719
- package/dist/esm/{ExpandToggle-847b61ba.js → ExpandToggle-baf2c551.js} +9 -7
- package/dist/esm/{Heading-f4ee0499.js → Heading-1183c4d7.js} +3 -3
- package/dist/esm/{array-328a8961.js → array-d7b2d2da.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +41 -26
- package/dist/esm/calcite-action-bar.entry.js +22 -16
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +32 -28
- package/dist/esm/calcite-action-pad.entry.js +20 -15
- package/dist/esm/calcite-action.entry.js +20 -15
- package/dist/esm/calcite-alert.entry.js +61 -34
- package/dist/esm/calcite-avatar.entry.js +12 -7
- package/dist/esm/calcite-block_2.entry.js +40 -18
- package/dist/esm/calcite-button.entry.js +18 -14
- package/dist/esm/calcite-card.entry.js +23 -14
- package/dist/esm/calcite-checkbox.entry.js +11 -10
- package/dist/esm/calcite-chip.entry.js +19 -13
- package/dist/esm/calcite-color-picker_3.entry.js +1396 -1352
- package/dist/esm/calcite-combobox_3.entry.js +111 -51
- package/dist/esm/calcite-date-picker_4.entry.js +115 -32
- package/dist/esm/calcite-dropdown_3.entry.js +129 -54
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +17 -15
- package/dist/esm/calcite-flow.entry.js +12 -11
- package/dist/esm/calcite-graph_2.entry.js +57 -12
- package/dist/esm/calcite-handle.entry.js +9 -6
- package/dist/esm/calcite-icon.entry.js +10 -6
- package/dist/esm/calcite-inline-editable.entry.js +23 -19
- package/dist/esm/calcite-input-date-picker.entry.js +56 -23
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-time-picker_2.entry.js +87 -37
- package/dist/esm/calcite-input.entry.js +127 -71
- package/dist/esm/calcite-label.entry.js +13 -8
- package/dist/esm/calcite-link.entry.js +8 -7
- package/dist/esm/calcite-list_3.entry.js +13 -13
- package/dist/esm/calcite-loader.entry.js +12 -10
- package/dist/esm/calcite-modal.entry.js +46 -28
- package/dist/esm/calcite-notice.entry.js +16 -14
- package/dist/esm/calcite-option_3.entry.js +16 -16
- package/dist/esm/calcite-pagination.entry.js +97 -12
- package/dist/esm/calcite-panel.entry.js +54 -23
- package/dist/esm/calcite-pick-list_3.entry.js +47 -38
- package/dist/esm/calcite-popover_2.entry.js +155 -63
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +13 -10
- package/dist/esm/calcite-radio-group_2.entry.js +15 -12
- package/dist/esm/calcite-rating.entry.js +33 -15
- package/dist/esm/calcite-scrim.entry.js +5 -3
- package/dist/esm/calcite-shell_3.entry.js +10 -9
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +9 -6
- package/dist/esm/calcite-stepper_2.entry.js +175 -121
- package/dist/esm/calcite-switch.entry.js +12 -10
- package/dist/esm/calcite-tab_4.entry.js +61 -37
- package/dist/esm/calcite-tile-select_2.entry.js +8 -7
- package/dist/esm/calcite-tile.entry.js +9 -8
- package/dist/esm/calcite-tip_3.entry.js +12 -10
- package/dist/esm/calcite-tooltip_2.entry.js +188 -141
- package/dist/esm/calcite-tree_2.entry.js +35 -24
- package/dist/esm/calcite-value-list_2.entry.js +43 -35
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-a8a2c2f8.js → conditionalSlot-91141c10.js} +7 -3
- package/dist/esm/{debounce-f689f579.js → debounce-8620d992.js} +1 -1
- package/dist/esm/{dom-0dcd3a1e.js → dom-0e5130f0.js} +19 -27
- package/dist/esm/{forIn-8f588c7b.js → forIn-908ce382.js} +2 -2
- package/dist/esm/{form-2b88b33a.js → form-44145a77.js} +38 -4
- package/dist/esm/{guid-174508ff.js → guid-035850cf.js} +1 -1
- package/dist/esm/{index-221092de.js → index-7daa7f57.js} +7 -19
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-b11a6c05.js → interactive-26697f71.js} +7 -4
- package/dist/esm/{interfaces-2bc002ac.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm/key-5106532f.js +11 -0
- package/dist/esm/{label-2dac3c62.js → label-e58bd849.js} +26 -19
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-bd54ff3b.js +254 -0
- package/dist/esm/{math-4cd9449e.js → math-28a370c3.js} +1 -1
- package/dist/esm/{observers-232c6ed6.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-66bcddc6.js → popper-1df5bd76.js} +2 -2
- package/dist/esm/{resources-886efb7e.js → resources-3498bd44.js} +44 -3
- package/dist/esm/{resources-8ade5fae.js → resources-b9270cdb.js} +1 -1
- package/dist/esm/{resources-762aa55a.js → resources-d196b6c1.js} +10 -22
- package/dist/esm/{resources-df870d40.js → resources-daaebdea.js} +1 -1
- package/dist/esm/{sortable.esm-0891f88f.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm/{utils-79203b5b.js → utils-cf3669f8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-847b61ba.js → ExpandToggle-baf2c551.js} +2 -2
- package/dist/esm-es5/Heading-1183c4d7.js +6 -0
- package/dist/esm-es5/{array-328a8961.js → array-d7b2d2da.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +3 -3
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +3 -3
- package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -3
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -3
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +3 -3
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm-es5/calcite-input.entry.js +3 -3
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +3 -3
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -3
- package/dist/esm-es5/calcite-popover_2.entry.js +3 -3
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +3 -3
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-a8a2c2f8.js → conditionalSlot-91141c10.js} +2 -2
- package/dist/esm-es5/{debounce-f689f579.js → debounce-8620d992.js} +1 -1
- package/dist/esm-es5/dom-0e5130f0.js +6 -0
- package/dist/esm-es5/{forIn-8f588c7b.js → forIn-908ce382.js} +2 -2
- package/dist/esm-es5/form-44145a77.js +6 -0
- package/dist/esm-es5/{guid-174508ff.js → guid-035850cf.js} +1 -1
- package/dist/esm-es5/index-7daa7f57.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-b11a6c05.js → interactive-26697f71.js} +1 -1
- package/dist/esm-es5/{interfaces-2bc002ac.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm-es5/key-5106532f.js +6 -0
- package/dist/esm-es5/label-e58bd849.js +6 -0
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-bd54ff3b.js +6 -0
- package/dist/esm-es5/{math-4cd9449e.js → math-28a370c3.js} +1 -1
- package/dist/esm-es5/{observers-232c6ed6.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm-es5/{popper-66bcddc6.js → popper-1df5bd76.js} +2 -2
- package/dist/esm-es5/{resources-886efb7e.js → resources-3498bd44.js} +2 -2
- package/dist/esm-es5/{resources-8ade5fae.js → resources-b9270cdb.js} +1 -1
- package/dist/esm-es5/resources-d196b6c1.js +6 -0
- package/dist/esm-es5/{resources-df870d40.js → resources-daaebdea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-0891f88f.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm-es5/{utils-79203b5b.js → utils-cf3669f8.js} +1 -1
- package/dist/extras/docs-json.d.ts +3 -0
- package/dist/extras/docs-json.json +1256 -558
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +11 -9
- package/dist/types/components/accordion-item/accordion-item.d.ts +26 -8
- package/dist/types/components/action/action.d.ts +16 -15
- package/dist/types/components/action-bar/action-bar.d.ts +14 -9
- package/dist/types/components/action-group/action-group.d.ts +7 -7
- package/dist/types/components/action-menu/action-menu.d.ts +11 -9
- package/dist/types/components/action-pad/action-pad.d.ts +15 -11
- package/dist/types/components/alert/alert.d.ts +45 -24
- package/dist/types/components/alert/resources.d.ts +3 -0
- package/dist/types/components/avatar/avatar.d.ts +5 -5
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +18 -4
- package/dist/types/components/block/resources.d.ts +1 -0
- package/dist/types/components/button/button.d.ts +6 -3
- package/dist/types/components/card/card.d.ts +13 -4
- package/dist/types/components/card/resources.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +4 -1
- package/dist/types/components/chip/chip.d.ts +5 -1
- package/dist/types/components/chip/resources.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +66 -23
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +6 -1
- package/dist/types/components/combobox/combobox.d.ts +36 -16
- package/dist/types/components/combobox/resources.d.ts +5 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +11 -1
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +6 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -1
- package/dist/types/components/date-picker-month/date-picker-month.d.ts +30 -2
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +9 -0
- package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +34 -12
- package/dist/types/components/dropdown/resources.d.ts +3 -0
- package/dist/types/components/dropdown-group/dropdown-group.d.ts +5 -3
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -0
- package/dist/types/components/filter/filter.d.ts +1 -1
- package/dist/types/components/filter/resources.d.ts +0 -1
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/graph/util.d.ts +14 -0
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/icon/utils.d.ts +4 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +10 -5
- package/dist/types/components/input/input.d.ts +112 -47
- package/dist/types/components/input/resources.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +26 -6
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +9 -2
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +7 -2
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +3 -2
- package/dist/types/components/list-item/list-item.d.ts +9 -9
- package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +11 -9
- package/dist/types/components/modal/modal.d.ts +44 -29
- package/dist/types/components/notice/notice.d.ts +20 -18
- package/dist/types/components/option/option.d.ts +5 -5
- package/dist/types/components/option-group/option-group.d.ts +3 -3
- package/dist/types/components/pagination/pagination.d.ts +22 -12
- package/dist/types/components/panel/panel.d.ts +41 -21
- package/dist/types/components/panel/resources.d.ts +1 -0
- package/dist/types/components/pick-list/pick-list.d.ts +19 -15
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +25 -19
- package/dist/types/components/popover/PopoverManager.d.ts +13 -0
- package/dist/types/components/popover/popover.d.ts +43 -22
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/popover-manager/popover-manager.d.ts +7 -2
- package/dist/types/components/progress/progress.d.ts +5 -5
- package/dist/types/components/radio-button/radio-button.d.ts +7 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
- package/dist/types/components/rating/rating.d.ts +8 -2
- package/dist/types/components/scrim/scrim.d.ts +3 -1
- package/dist/types/components/shell-panel/shell-panel.d.ts +3 -0
- package/dist/types/components/slider/slider.d.ts +19 -0
- package/dist/types/components/split-button/split-button.d.ts +5 -2
- package/dist/types/components/stepper/interfaces.d.ts +10 -0
- package/dist/types/components/stepper/stepper.d.ts +27 -12
- package/dist/types/components/stepper-item/stepper-item.d.ts +29 -12
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +6 -2
- package/dist/types/components/tab-nav/tab-nav.d.ts +15 -4
- package/dist/types/components/tab-title/tab-title.d.ts +21 -9
- package/dist/types/components/tabs/interfaces.d.ts +1 -1
- package/dist/types/components/tabs/tabs.d.ts +8 -3
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +45 -16
- package/dist/types/components/tip-manager/tip-manager.d.ts +6 -0
- package/dist/types/components/tooltip/TooltipManager.d.ts +28 -0
- package/dist/types/components/tooltip/resources.d.ts +0 -1
- package/dist/types/components/tooltip/tooltip.d.ts +15 -13
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +2 -29
- package/dist/types/components/tree/tree.d.ts +14 -7
- package/dist/types/components/tree-item/tree-item.d.ts +29 -15
- package/dist/types/components/value-list/value-list.d.ts +22 -18
- package/dist/types/components/value-list-item/value-list-item.d.ts +18 -15
- package/dist/types/components.d.ts +1116 -588
- package/dist/types/preact.d.ts +70 -60
- package/dist/types/utils/conditionalSlot.d.ts +4 -0
- package/dist/types/utils/date.d.ts +35 -0
- package/dist/types/utils/dom.d.ts +14 -6
- package/dist/types/utils/form.d.ts +35 -8
- package/dist/types/utils/globalAttributes.d.ts +5 -0
- package/dist/types/utils/interactive.d.ts +7 -4
- package/dist/types/utils/label.d.ts +7 -0
- package/dist/types/utils/locale.d.ts +2 -1
- package/dist/types/utils/number.d.ts +16 -0
- package/dist/types/utils/openCloseComponent.d.ts +26 -0
- package/dist/types/utils/popper.d.ts +3 -2
- package/hydrate/index.js +4062 -2777
- package/package.json +47 -46
- package/readme.md +12 -4
- package/dist/calcite/p-023a27d2.system.entry.js +0 -6
- package/dist/calcite/p-0a6b6898.system.entry.js +0 -6
- package/dist/calcite/p-0ba791df.entry.js +0 -6
- package/dist/calcite/p-0f8c3ea0.entry.js +0 -6
- package/dist/calcite/p-1084cd40.entry.js +0 -6
- package/dist/calcite/p-117836c2.system.entry.js +0 -6
- package/dist/calcite/p-14be4304.system.entry.js +0 -6
- package/dist/calcite/p-181bd093.entry.js +0 -6
- package/dist/calcite/p-19987cfa.system.entry.js +0 -6
- package/dist/calcite/p-1d0db848.system.entry.js +0 -6
- package/dist/calcite/p-1d3ba736.system.entry.js +0 -6
- package/dist/calcite/p-21461822.entry.js +0 -6
- package/dist/calcite/p-22e1813c.entry.js +0 -6
- package/dist/calcite/p-26fc61bb.system.js +0 -6
- package/dist/calcite/p-2789e3e2.system.js +0 -6
- package/dist/calcite/p-2a4bbfa2.system.entry.js +0 -6
- package/dist/calcite/p-2bcf0f54.js +0 -6
- package/dist/calcite/p-2c0fdd49.entry.js +0 -6
- package/dist/calcite/p-2f42b00e.system.entry.js +0 -6
- package/dist/calcite/p-300c0203.system.entry.js +0 -6
- package/dist/calcite/p-3119474f.entry.js +0 -6
- package/dist/calcite/p-329ade24.system.entry.js +0 -6
- package/dist/calcite/p-33391f44.entry.js +0 -6
- package/dist/calcite/p-34a92432.system.entry.js +0 -6
- package/dist/calcite/p-34cf7a42.entry.js +0 -6
- package/dist/calcite/p-3b38f3f5.system.entry.js +0 -6
- package/dist/calcite/p-3b6e600a.entry.js +0 -6
- package/dist/calcite/p-3c732519.entry.js +0 -6
- package/dist/calcite/p-3e5f8e93.system.entry.js +0 -6
- package/dist/calcite/p-3ebff946.system.entry.js +0 -6
- package/dist/calcite/p-40334853.system.js +0 -6
- package/dist/calcite/p-469490f8.js +0 -6
- package/dist/calcite/p-482956de.entry.js +0 -6
- package/dist/calcite/p-48aa73e5.entry.js +0 -6
- package/dist/calcite/p-4a543a6e.entry.js +0 -6
- package/dist/calcite/p-4b6a7167.entry.js +0 -6
- package/dist/calcite/p-4f04264f.system.entry.js +0 -6
- package/dist/calcite/p-4f443e21.system.entry.js +0 -6
- package/dist/calcite/p-50f49b13.system.entry.js +0 -6
- package/dist/calcite/p-52c9824d.system.entry.js +0 -6
- package/dist/calcite/p-55d64bae.system.entry.js +0 -6
- package/dist/calcite/p-5857c533.system.entry.js +0 -6
- package/dist/calcite/p-608aaf1d.js +0 -6
- package/dist/calcite/p-60f78917.system.entry.js +0 -6
- package/dist/calcite/p-6294787b.system.js +0 -6
- package/dist/calcite/p-62a93131.entry.js +0 -6
- package/dist/calcite/p-6750e68e.entry.js +0 -6
- package/dist/calcite/p-678e83fe.entry.js +0 -6
- package/dist/calcite/p-693cc0cd.system.entry.js +0 -6
- package/dist/calcite/p-69fdc534.entry.js +0 -6
- package/dist/calcite/p-6c9ab1d6.system.entry.js +0 -6
- package/dist/calcite/p-6ebbdae4.entry.js +0 -6
- package/dist/calcite/p-7225f4ed.js +0 -6
- package/dist/calcite/p-7463e93d.entry.js +0 -6
- package/dist/calcite/p-7549f33d.entry.js +0 -6
- package/dist/calcite/p-8117e07b.system.js +0 -6
- package/dist/calcite/p-88f476f3.system.entry.js +0 -6
- package/dist/calcite/p-8d372581.entry.js +0 -6
- package/dist/calcite/p-8d9d8984.system.entry.js +0 -6
- package/dist/calcite/p-941b8b06.js +0 -6
- package/dist/calcite/p-948a5bba.system.entry.js +0 -6
- package/dist/calcite/p-9b7b6b30.entry.js +0 -6
- package/dist/calcite/p-9d488536.entry.js +0 -6
- package/dist/calcite/p-9da64897.system.js +0 -6
- package/dist/calcite/p-a4b72090.system.entry.js +0 -6
- package/dist/calcite/p-aad21300.system.js +0 -6
- package/dist/calcite/p-ae4a167e.system.js +0 -6
- package/dist/calcite/p-af100a3b.entry.js +0 -6
- package/dist/calcite/p-b15cde3f.js +0 -6
- package/dist/calcite/p-b3d74df1.entry.js +0 -6
- package/dist/calcite/p-b50b0f92.system.entry.js +0 -6
- package/dist/calcite/p-b6dad672.system.entry.js +0 -6
- package/dist/calcite/p-bae3c0b1.entry.js +0 -6
- package/dist/calcite/p-bc873e26.system.js +0 -6
- package/dist/calcite/p-c0ab6c20.system.entry.js +0 -6
- package/dist/calcite/p-c22bd1df.system.entry.js +0 -6
- package/dist/calcite/p-c2770291.js +0 -6
- package/dist/calcite/p-c66cce4a.js +0 -6
- package/dist/calcite/p-c82c3a08.entry.js +0 -6
- package/dist/calcite/p-c91e5ce6.system.entry.js +0 -6
- package/dist/calcite/p-cb3633ce.system.entry.js +0 -6
- package/dist/calcite/p-cc881354.entry.js +0 -6
- package/dist/calcite/p-cec925c5.system.entry.js +0 -6
- package/dist/calcite/p-d0ae73bc.system.entry.js +0 -6
- package/dist/calcite/p-d2aad5f9.system.entry.js +0 -6
- package/dist/calcite/p-d441a36b.system.js +0 -6
- package/dist/calcite/p-d668cc57.entry.js +0 -6
- package/dist/calcite/p-d8c1d1bb.system.js +0 -6
- package/dist/calcite/p-d9669187.entry.js +0 -6
- package/dist/calcite/p-da5a9916.system.entry.js +0 -6
- package/dist/calcite/p-ddc498f5.entry.js +0 -6
- package/dist/calcite/p-de040bc0.entry.js +0 -6
- package/dist/calcite/p-e21b549b.js +0 -6
- package/dist/calcite/p-e6034e51.entry.js +0 -6
- package/dist/calcite/p-e64fc8d7.entry.js +0 -6
- package/dist/calcite/p-e6b83b93.entry.js +0 -6
- package/dist/calcite/p-e8698d9f.system.entry.js +0 -6
- package/dist/calcite/p-ea09f02f.system.entry.js +0 -6
- package/dist/calcite/p-eaf8f62d.entry.js +0 -6
- package/dist/calcite/p-ec6942a8.system.entry.js +0 -6
- package/dist/calcite/p-ef8bcab3.entry.js +0 -6
- package/dist/calcite/p-f3ba8a0a.entry.js +0 -6
- package/dist/calcite/p-f5a00782.entry.js +0 -6
- package/dist/calcite/p-f753e964.entry.js +0 -6
- package/dist/calcite/p-f89876d3.system.entry.js +0 -6
- package/dist/calcite/p-fc2aa57a.system.entry.js +0 -6
- package/dist/calcite/p-ffeda3eb.system.entry.js +0 -6
- package/dist/cjs/locale-2f9c939d.js +0 -137
- package/dist/cjs/number-99949cb0.js +0 -85
- package/dist/components/number.js +0 -77
- package/dist/components/resources4.js +0 -16
- package/dist/components/resources5.js +0 -33
- package/dist/components/tooltip-manager.js +0 -172
- package/dist/esm/locale-9c18bf7f.js +0 -132
- package/dist/esm/number-a39356c7.js +0 -77
- package/dist/esm-es5/Heading-f4ee0499.js +0 -6
- package/dist/esm-es5/dom-0dcd3a1e.js +0 -6
- package/dist/esm-es5/form-2b88b33a.js +0 -6
- package/dist/esm-es5/index-221092de.js +0 -6
- package/dist/esm-es5/label-2dac3c62.js +0 -6
- package/dist/esm-es5/locale-9c18bf7f.js +0 -6
- package/dist/esm-es5/number-a39356c7.js +0 -6
- package/dist/esm-es5/resources-762aa55a.js +0 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
|
-
import { f as focusElement, b as getSlotted,
|
|
7
|
+
import { f as focusElement, b as getSlotted, e as ensureId, i as isCalciteFocusable } from './dom.js';
|
|
8
8
|
import { c as createObserver } from './observers.js';
|
|
9
9
|
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './icon.js';
|
|
@@ -139,7 +139,7 @@ const TEXT = {
|
|
|
139
139
|
close: "Close"
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);overflow:hidden;z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:var(--calcite-animation-timing);transition-duration:var(--calcite-animation-timing);-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px}:host([width=s]) .modal{height:100%}:host([width=s]) .modal{max-height:100%}:host([width=s]) .modal{width:100%}:host([width=s]) .modal{max-width:100%}:host([width=s]) .modal{border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px}:host([width=m]) .modal{height:100%}:host([width=m]) .modal{max-height:100%}:host([width=m]) .modal{width:100%}:host([width=m]) .modal{max-width:100%}:host([width=m]) .modal{border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px}:host([width=l]) .modal{height:100%}:host([width=l]) .modal{max-height:100%}:host([width=l]) .modal{width:100%}:host([width=l]) .modal{max-width:100%}:host([width=l]) .modal{border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky}.footer{bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px}.back,.secondary{margin-bottom:0.25rem}}";
|
|
142
|
+
const modalCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow-y:hidden;color:var(--calcite-ui-text-2);opacity:0;visibility:hidden !important;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);z-index:101}:host([scale=s]){--calcite-modal-padding:0.75rem;--calcite-modal-padding-large:1rem;--calcite-modal-title-text:var(--calcite-font-size-1);--calcite-modal-content-text:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding:1rem;--calcite-modal-padding-large:1.25rem;--calcite-modal-title-text:var(--calcite-font-size-2);--calcite-modal-content-text:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding:1.25rem;--calcite-modal-padding-large:1.5rem;--calcite-modal-title-text:var(--calcite-font-size-3);--calcite-modal-content-text:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:rgba(0, 0, 0, 0.75);position:fixed;top:0px;right:0px;bottom:0px;left:0px;display:-ms-flexbox;display:flex;overflow-y:hidden}.modal{pointer-events:none;float:none;margin:1.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-ui-foreground-1);opacity:0;--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);z-index:102;-webkit-overflow-scrolling:touch;visibility:hidden;-webkit-transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear 300ms, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transform:translate3d(0, 20px, 0);transform:translate3d(0, 20px, 0)}:host([active]),:host([open]){opacity:1;visibility:visible !important;-webkit-transition-delay:0ms;transition-delay:0ms}:host([active]) .modal,:host([open]) .modal{pointer-events:auto;visibility:visible;opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-width var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-height var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), -webkit-transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);-webkit-transition-delay:0ms;transition-delay:0ms}.header{display:-ms-flexbox;display:flex;min-width:0px;max-width:100%;border-top-left-radius:0.25rem;border-top-right-radius:0.25rem;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;z-index:2}.close{-ms-flex-order:2;order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-start-end-radius:0.25rem;padding:var(--calcite-modal-padding);-ms-flex:0 0 auto;flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.close:hover,.close:focus,.close:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.title{-ms-flex-order:1;order:1;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-align:center;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1);font-size:var(--calcite-modal-title-text)}.content{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:100%;overflow:auto;background-color:var(--calcite-ui-foreground-1);padding:0px;max-height:calc(100vh - 12rem);z-index:1}.content--spaced{padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large)}.content--no-footer{border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-content-text)}:host([background-color=grey]) .content{background-color:var(--calcite-ui-background)}.footer{margin-top:auto;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;border-bottom-right-radius:0.25rem;border-bottom-left-radius:0.25rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1);-ms-flex:0 0 auto;flex:0 0 auto;padding:var(--calcite-modal-padding) var(--calcite-modal-padding-large);z-index:2}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;-webkit-margin-end:auto;margin-inline-end:auto}.secondary{margin-left:0.25rem;margin-right:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{width:auto}:host([width=s]) .modal{max-width:32rem}@media screen and (max-width: 35rem){:host([width=s]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=s]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=s][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=m]) .modal{max-width:48rem}@media screen and (max-width: 51rem){:host([width=m]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=m]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=m][docked]){-ms-flex-align:end;align-items:flex-end}}:host([width=l]) .modal{max-width:94rem}@media screen and (max-width: 97rem){:host([width=l]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;border-radius:0px}:host([width=l]) .content{-ms-flex:1 1 auto;flex:1 1 auto;max-height:unset}:host([width=l][docked]){-ms-flex-align:end;align-items:flex-end}}:host([fullscreen]){background-color:transparent}:host([fullscreen]) .modal{margin:0px;height:100%;max-height:100%;width:100%;max-width:100%;-webkit-transform:translate3D(0, 20px, 0) scale(0.95);transform:translate3D(0, 20px, 0) scale(0.95)}:host([fullscreen]) .content{max-height:100%;-ms-flex:1 1 auto;flex:1 1 auto}:host([active][fullscreen]) .modal,:host([open][fullscreen]) .modal{-webkit-transform:translate3D(0, 0, 0) scale(1);transform:translate3D(0, 0, 0) scale(1)}:host([active][fullscreen]) .header,:host([open][fullscreen]) .header{border-radius:0}:host([active][fullscreen]) .footer,:host([open][fullscreen]) .footer{border-radius:0}:host([docked]) .modal{height:auto}:host([docked]) .content{height:auto;-ms-flex:1 1 auto;flex:1 1 auto}@media screen and (max-width: 860px){:host([docked]) .modal{border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}:host([docked]) .close{border-start-end-radius:var(--calcite-border-radius)}}:host([color=red]) .modal{border-color:var(--calcite-ui-danger)}:host([color=blue]) .modal{border-color:var(--calcite-ui-info)}:host([color=red]) .modal,:host([color=blue]) .modal{border-width:0px;border-top-width:4px;border-style:solid}:host([color=red]) .header,:host([color=blue]) .header{border-radius:0.25rem;border-bottom-right-radius:0px;border-bottom-left-radius:0px}@media screen and (max-width: 860px){slot[name=header]::slotted(*),*::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer{position:-webkit-sticky;position:sticky;bottom:0px}}@media screen and (max-width: 480px){.footer{-ms-flex-direction:column;flex-direction:column}.back,.secondary{margin:0px;margin-bottom:0.25rem}}";
|
|
143
143
|
|
|
144
144
|
const isFocusableExtended = (el) => {
|
|
145
145
|
return isCalciteFocusable(el) || isFocusable(el);
|
|
@@ -159,25 +159,31 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
159
159
|
// Properties
|
|
160
160
|
//
|
|
161
161
|
//--------------------------------------------------------------------------
|
|
162
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* When true, the `calcite-modal` is active.
|
|
164
|
+
*
|
|
165
|
+
* @deprecated use open instead
|
|
166
|
+
*/
|
|
163
167
|
this.active = false;
|
|
164
|
-
/**
|
|
168
|
+
/** When true,`calcite-modal` opens */
|
|
169
|
+
this.open = false;
|
|
170
|
+
/** Passes a function to run before the `calcite-modal` closes. */
|
|
165
171
|
this.beforeClose = () => Promise.resolve();
|
|
166
|
-
/**
|
|
172
|
+
/** When true, disables the component's close button. */
|
|
167
173
|
this.disableCloseButton = false;
|
|
168
|
-
/**
|
|
174
|
+
/** When true, disables the closing of the component when clicked outside. */
|
|
169
175
|
this.disableOutsideClose = false;
|
|
170
|
-
/**
|
|
176
|
+
/** Accessible name for the component's close button. */
|
|
171
177
|
this.intlClose = TEXT.close;
|
|
172
|
-
/**
|
|
178
|
+
/** When true, disables the default close on escape behavior. */
|
|
173
179
|
this.disableEscape = false;
|
|
174
|
-
/**
|
|
180
|
+
/** Specifies the size of the component. */
|
|
175
181
|
this.scale = "m";
|
|
176
|
-
/**
|
|
182
|
+
/** Specifies the width of the component. Can use scale sizes or pass a number (displays in pixels). */
|
|
177
183
|
this.width = "m";
|
|
178
|
-
/**
|
|
184
|
+
/** Sets the background color of the component's content. */
|
|
179
185
|
this.backgroundColor = "white";
|
|
180
|
-
/**
|
|
186
|
+
/** When true, disables spacing to the content area slot. */
|
|
181
187
|
this.noPadding = false;
|
|
182
188
|
//--------------------------------------------------------------------------
|
|
183
189
|
//
|
|
@@ -194,7 +200,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
194
200
|
//--------------------------------------------------------------------------
|
|
195
201
|
this.transitionEnd = (event) => {
|
|
196
202
|
if (event.propertyName === this.activeTransitionProp) {
|
|
197
|
-
this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
|
|
203
|
+
this.open || this.active ? this.calciteModalOpen.emit() : this.calciteModalClose.emit();
|
|
198
204
|
}
|
|
199
205
|
};
|
|
200
206
|
this.openEnd = () => {
|
|
@@ -211,6 +217,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
211
217
|
this.close = () => {
|
|
212
218
|
return this.beforeClose(this.el).then(() => {
|
|
213
219
|
this.active = false;
|
|
220
|
+
this.open = false;
|
|
214
221
|
focusElement(this.previousActiveElement);
|
|
215
222
|
this.removeOverflowHiddenClass();
|
|
216
223
|
});
|
|
@@ -238,8 +245,8 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
238
245
|
//--------------------------------------------------------------------------
|
|
239
246
|
componentWillLoad() {
|
|
240
247
|
// when modal initially renders, if active was set we need to open as watcher doesn't fire
|
|
241
|
-
if (this.active) {
|
|
242
|
-
this.
|
|
248
|
+
if (this.open || this.active) {
|
|
249
|
+
this.openModal();
|
|
243
250
|
}
|
|
244
251
|
}
|
|
245
252
|
connectedCallback() {
|
|
@@ -295,7 +302,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
295
302
|
//
|
|
296
303
|
//--------------------------------------------------------------------------
|
|
297
304
|
handleEscape(e) {
|
|
298
|
-
if (this.active && !this.disableEscape && e.key === "Escape") {
|
|
305
|
+
if ((this.open || this.active) && !this.disableEscape && e.key === "Escape") {
|
|
299
306
|
this.close();
|
|
300
307
|
}
|
|
301
308
|
}
|
|
@@ -305,7 +312,9 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
305
312
|
//
|
|
306
313
|
//--------------------------------------------------------------------------
|
|
307
314
|
/**
|
|
308
|
-
* Focus first interactive element
|
|
315
|
+
* Focus the first interactive element.
|
|
316
|
+
*
|
|
317
|
+
* @param el
|
|
309
318
|
* @deprecated use `setFocus` instead.
|
|
310
319
|
*/
|
|
311
320
|
async focusElement(el) {
|
|
@@ -317,14 +326,21 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
317
326
|
/**
|
|
318
327
|
* Sets focus on the component.
|
|
319
328
|
*
|
|
320
|
-
* By default,
|
|
321
|
-
*
|
|
329
|
+
* By default, tries to focus on focusable content. If there is none, it will focus on the close button.
|
|
330
|
+
* To focus on the close button, use the `close-button` focus ID.
|
|
331
|
+
*
|
|
332
|
+
* @param focusId
|
|
322
333
|
*/
|
|
323
334
|
async setFocus(focusId) {
|
|
324
335
|
const closeButton = this.closeButtonEl;
|
|
325
336
|
return focusElement(focusId === "close-button" ? closeButton : getFocusableElements(this.el)[0] || closeButton);
|
|
326
337
|
}
|
|
327
|
-
/**
|
|
338
|
+
/**
|
|
339
|
+
* Sets the scroll top of the component's content.
|
|
340
|
+
*
|
|
341
|
+
* @param top
|
|
342
|
+
* @param left
|
|
343
|
+
*/
|
|
328
344
|
async scrollContent(top = 0, left = 0) {
|
|
329
345
|
if (this.modalContent) {
|
|
330
346
|
if (this.modalContent.scrollTo) {
|
|
@@ -339,7 +355,7 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
339
355
|
async toggleModal(value, oldValue) {
|
|
340
356
|
if (value !== oldValue) {
|
|
341
357
|
if (value) {
|
|
342
|
-
this.
|
|
358
|
+
this.openModal();
|
|
343
359
|
}
|
|
344
360
|
else if (!value) {
|
|
345
361
|
this.close();
|
|
@@ -347,10 +363,11 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
347
363
|
}
|
|
348
364
|
}
|
|
349
365
|
/** Open the modal */
|
|
350
|
-
|
|
366
|
+
openModal() {
|
|
351
367
|
this.previousActiveElement = document.activeElement;
|
|
352
368
|
this.el.addEventListener("calciteModalOpen", this.openEnd);
|
|
353
369
|
this.active = true;
|
|
370
|
+
this.open = true;
|
|
354
371
|
const titleEl = getSlotted(this.el, SLOTS.header);
|
|
355
372
|
const contentEl = getSlotted(this.el, SLOTS.content);
|
|
356
373
|
this.titleId = ensureId(titleEl);
|
|
@@ -362,17 +379,18 @@ const Modal = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
362
379
|
}
|
|
363
380
|
get el() { return this; }
|
|
364
381
|
static get watchers() { return {
|
|
365
|
-
"active": ["toggleModal"]
|
|
382
|
+
"active": ["toggleModal"],
|
|
383
|
+
"open": ["toggleModal"]
|
|
366
384
|
}; }
|
|
367
385
|
static get style() { return modalCss; }
|
|
368
386
|
}, [1, "calcite-modal", {
|
|
369
387
|
"active": [1540],
|
|
388
|
+
"open": [1540],
|
|
370
389
|
"beforeClose": [16],
|
|
371
390
|
"disableCloseButton": [4, "disable-close-button"],
|
|
372
391
|
"disableOutsideClose": [4, "disable-outside-close"],
|
|
373
392
|
"intlClose": [1, "intl-close"],
|
|
374
393
|
"docked": [516],
|
|
375
|
-
"firstFocus": [16],
|
|
376
394
|
"disableEscape": [4, "disable-escape"],
|
|
377
395
|
"scale": [513],
|
|
378
396
|
"width": [520],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { S as StatusIcons } from './interfaces.js';
|
|
@@ -26,7 +26,7 @@ const CSS = {
|
|
|
26
26
|
icon: "notice-icon"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const noticeCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-left:auto;margin-right:auto;display:none;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{pointer-events:none;margin-top:0px;margin-bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;width:100%;background-color:var(--calcite-ui-foreground-1);opacity:0
|
|
29
|
+
const noticeCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-top:0.125rem;margin-bottom:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-left:auto;margin-right:auto;display:none;max-width:100%;-ms-flex-align:center;align-items:center;width:var(--calcite-notice-width)}.container{pointer-events:none;margin-top:0px;margin-bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;width:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-height:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;-webkit-box-shadow:0 0 0 0 transparent;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:-ms-flexbox;display:flex}:host([active]) .container{pointer-events:auto;display:-ms-flexbox;display:flex;max-height:100%;-ms-flex-align:center;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;display:-ms-flexbox;display:flex;min-width:0px;-ms-flex-direction:column;flex-direction:column;overflow-wrap:break-word;-ms-flex:1 1 0px;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large)}.notice-icon{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto}.notice-close{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding:var(--calcite-notice-spacing-token-small) var(--calcite-notice-spacing-token-large);-ms-flex:0 0 auto;flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
|
30
30
|
|
|
31
31
|
const Notice = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
@@ -40,19 +40,21 @@ const Notice = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
40
40
|
// Properties
|
|
41
41
|
//
|
|
42
42
|
//---------------------------------------------------------------------------
|
|
43
|
-
/**
|
|
43
|
+
/** When true, the component is active. */
|
|
44
44
|
this.active = false;
|
|
45
|
-
/**
|
|
45
|
+
/** The color for the component's top border and icon. */
|
|
46
46
|
this.color = "blue";
|
|
47
|
-
/**
|
|
47
|
+
/** When true, a close button is added to the component. */
|
|
48
48
|
this.dismissible = false;
|
|
49
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Accessible name for the close button.
|
|
51
|
+
*
|
|
50
52
|
* @default "Close"
|
|
51
53
|
*/
|
|
52
54
|
this.intlClose = TEXT.close;
|
|
53
|
-
/**
|
|
55
|
+
/** Specifies the size of the component. */
|
|
54
56
|
this.scale = "m";
|
|
55
|
-
/**
|
|
57
|
+
/** Specifies the width of the component. */
|
|
56
58
|
this.width = "auto";
|
|
57
59
|
//--------------------------------------------------------------------------
|
|
58
60
|
//
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
|
|
@@ -12,19 +12,19 @@ const OptionGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
12
12
|
super();
|
|
13
13
|
this.__registerHost();
|
|
14
14
|
this.__attachShadow();
|
|
15
|
-
this.
|
|
15
|
+
this.calciteInternalOptionGroupChange = createEvent(this, "calciteInternalOptionGroupChange", 7);
|
|
16
16
|
//--------------------------------------------------------------------------
|
|
17
17
|
//
|
|
18
18
|
// Properties
|
|
19
19
|
//
|
|
20
20
|
//--------------------------------------------------------------------------
|
|
21
21
|
/**
|
|
22
|
-
* When true,
|
|
22
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
23
23
|
*/
|
|
24
24
|
this.disabled = false;
|
|
25
25
|
}
|
|
26
26
|
handlePropChange() {
|
|
27
|
-
this.
|
|
27
|
+
this.calciteInternalOptionGroupChange.emit();
|
|
28
28
|
}
|
|
29
29
|
//--------------------------------------------------------------------------
|
|
30
30
|
//
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -13,26 +13,26 @@ const Option = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
13
13
|
super();
|
|
14
14
|
this.__registerHost();
|
|
15
15
|
this.__attachShadow();
|
|
16
|
-
this.
|
|
16
|
+
this.calciteInternalOptionChange = createEvent(this, "calciteInternalOptionChange", 7);
|
|
17
17
|
//--------------------------------------------------------------------------
|
|
18
18
|
//
|
|
19
19
|
// Properties
|
|
20
20
|
//
|
|
21
21
|
//--------------------------------------------------------------------------
|
|
22
22
|
/**
|
|
23
|
-
* When true,
|
|
23
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
24
24
|
*/
|
|
25
25
|
this.disabled = false;
|
|
26
26
|
this.mutationObserver = createObserver("mutation", () => {
|
|
27
27
|
this.ensureTextContentDependentProps();
|
|
28
|
-
this.
|
|
28
|
+
this.calciteInternalOptionChange.emit();
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
handlePropChange(_newValue, _oldValue, propName) {
|
|
32
32
|
if (propName === "label" || propName === "value") {
|
|
33
33
|
this.ensureTextContentDependentProps();
|
|
34
34
|
}
|
|
35
|
-
this.
|
|
35
|
+
this.calciteInternalOptionChange.emit();
|
|
36
36
|
}
|
|
37
37
|
//--------------------------------------------------------------------------
|
|
38
38
|
//
|
|
@@ -1,11 +1,73 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
|
+
import { c as createObserver } from './observers.js';
|
|
8
|
+
import { l as localizeNumberString } from './locale.js';
|
|
7
9
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
8
10
|
|
|
11
|
+
const allowedGlobalAttributes = ["lang"];
|
|
12
|
+
const elementToComponentAndObserverOptionsMap = new Map();
|
|
13
|
+
let mutationObserver;
|
|
14
|
+
function updateGlobalAttributes(component, attributeFilter) {
|
|
15
|
+
const { el } = component;
|
|
16
|
+
const updatedAttributes = {};
|
|
17
|
+
attributeFilter
|
|
18
|
+
.filter((attr) => !!allowedGlobalAttributes.includes(attr) && !!el.hasAttribute(attr))
|
|
19
|
+
.forEach((attr) => {
|
|
20
|
+
const value = el.getAttribute(attr);
|
|
21
|
+
if (value !== null) {
|
|
22
|
+
updatedAttributes[attr] = value;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
component.globalAttributes = updatedAttributes;
|
|
26
|
+
}
|
|
27
|
+
function processMutations(mutations) {
|
|
28
|
+
mutations.forEach(({ target }) => {
|
|
29
|
+
const [component, options] = elementToComponentAndObserverOptionsMap.get(target);
|
|
30
|
+
updateGlobalAttributes(component, options.attributeFilter);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Helper to set up listening for changes to global attributes.
|
|
35
|
+
*
|
|
36
|
+
* render(): VNode {
|
|
37
|
+
* const lang = this.inheritedAttributes['lang'] ?? 'en';
|
|
38
|
+
* return <div>My lang is {lang}</div>;
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* @param component
|
|
42
|
+
* @param attributeFilter
|
|
43
|
+
*/
|
|
44
|
+
function watchGlobalAttributes(component, attributeFilter) {
|
|
45
|
+
const { el } = component;
|
|
46
|
+
const observerOptions = { attributeFilter };
|
|
47
|
+
elementToComponentAndObserverOptionsMap.set(el, [component, observerOptions]);
|
|
48
|
+
updateGlobalAttributes(component, attributeFilter);
|
|
49
|
+
if (!mutationObserver) {
|
|
50
|
+
mutationObserver = createObserver("mutation", processMutations);
|
|
51
|
+
}
|
|
52
|
+
mutationObserver.observe(el, observerOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Helper remove listening for changes to inherited attributes.
|
|
56
|
+
*
|
|
57
|
+
* @param component
|
|
58
|
+
*/
|
|
59
|
+
function unwatchGlobalAttributes(component) {
|
|
60
|
+
elementToComponentAndObserverOptionsMap.delete(component.el);
|
|
61
|
+
// we explicitly process queued mutations and disconnect and reconnect
|
|
62
|
+
// the observer until MutationObserver gets an `unobserve` method
|
|
63
|
+
// see https://github.com/whatwg/dom/issues/126
|
|
64
|
+
processMutations(mutationObserver.takeRecords());
|
|
65
|
+
mutationObserver.disconnect();
|
|
66
|
+
for (const [element, [, observerOptions]] of elementToComponentAndObserverOptionsMap.entries()) {
|
|
67
|
+
mutationObserver.observe(element, observerOptions);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
9
71
|
const CSS = {
|
|
10
72
|
page: "page",
|
|
11
73
|
selected: "is-selected",
|
|
@@ -21,7 +83,7 @@ const TEXT = {
|
|
|
21
83
|
previousLabel: "Previous"
|
|
22
84
|
};
|
|
23
85
|
|
|
24
|
-
const paginationCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-
|
|
86
|
+
const paginationCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-pagination-spacing:0.25rem 0.5rem}:host([scale=s]) .previous,:host([scale=s]) .next,:host([scale=s]) .page{height:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .previous,:host([scale=s]) .next{padding-left:0.25rem;padding-right:0.25rem}:host([scale=m]){--calcite-pagination-spacing:0.5rem 0.75rem}:host([scale=m]) .previous,:host([scale=m]) .next,:host([scale=m]) .page{height:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .previous,:host([scale=m]) .next{padding-left:0.5rem;padding-right:0.5rem}:host([scale=l]){--calcite-pagination-spacing:0.75rem 1rem}:host([scale=l]) .previous,:host([scale=l]) .next,:host([scale=l]) .page{height:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .previous,:host([scale=l]) .next{padding-left:1rem;padding-right:1rem}:host{display:-ms-flexbox;display:flex;-webkit-writing-mode:horizontal-tb;-ms-writing-mode:lr-tb;writing-mode:horizontal-tb}:host button{outline-color:transparent}:host button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.previous,.next,.page{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-style:none;--tw-border-opacity:0;background-color:transparent;font-family:inherit;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-ui-text-3);border-top:2px solid transparent;border-bottom:2px solid transparent}.previous:hover,.next:hover,.page:hover{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.page:hover{border-bottom-color:var(--calcite-ui-border-2)}.page.is-selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-bottom-color:var(--calcite-ui-brand)}.previous:hover,.next:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-brand)}.previous:active,.next:active{background-color:var(--calcite-ui-foreground-3)}.previous.is-disabled,.next.is-disabled{pointer-events:none;background-color:transparent}.previous.is-disabled>calcite-icon,.next.is-disabled>calcite-icon{opacity:var(--calcite-ui-opacity-disabled)}.next{-webkit-margin-end:0px;margin-inline-end:0px}.page,.ellipsis{padding:var(--calcite-pagination-spacing)}.ellipsis{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;color:var(--calcite-ui-text-3)}";
|
|
25
87
|
|
|
26
88
|
const maxPagesDisplayed = 5;
|
|
27
89
|
const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -36,22 +98,32 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
36
98
|
// Public Properties
|
|
37
99
|
//
|
|
38
100
|
//--------------------------------------------------------------------------
|
|
39
|
-
/** number of items per page */
|
|
101
|
+
/** Specifies the number of items per page. */
|
|
40
102
|
this.num = 20;
|
|
41
|
-
/**
|
|
103
|
+
/** Specifies the starting item number. */
|
|
42
104
|
this.start = 1;
|
|
43
|
-
/** total number of items */
|
|
105
|
+
/** Specifies the total number of items. */
|
|
44
106
|
this.total = 0;
|
|
45
|
-
/**
|
|
107
|
+
/**
|
|
108
|
+
* Accessible name for the component's next button.
|
|
109
|
+
*
|
|
46
110
|
* @default "Next"
|
|
47
111
|
*/
|
|
48
112
|
this.textLabelNext = TEXT.nextLabel;
|
|
49
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Accessible name for the component's previous button.
|
|
115
|
+
*
|
|
50
116
|
* @default "Previous"
|
|
51
117
|
*/
|
|
52
118
|
this.textLabelPrevious = TEXT.previousLabel;
|
|
53
|
-
/**
|
|
119
|
+
/** Specifies the size of the component. */
|
|
54
120
|
this.scale = "m";
|
|
121
|
+
//--------------------------------------------------------------------------
|
|
122
|
+
//
|
|
123
|
+
// State
|
|
124
|
+
//
|
|
125
|
+
//--------------------------------------------------------------------------
|
|
126
|
+
this.globalAttributes = {};
|
|
55
127
|
this.previousClicked = () => {
|
|
56
128
|
this.previousPage().then();
|
|
57
129
|
this.emitUpdate();
|
|
@@ -63,14 +135,25 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
63
135
|
}
|
|
64
136
|
// --------------------------------------------------------------------------
|
|
65
137
|
//
|
|
138
|
+
// Lifecycle
|
|
139
|
+
//
|
|
140
|
+
// --------------------------------------------------------------------------
|
|
141
|
+
connectedCallback() {
|
|
142
|
+
watchGlobalAttributes(this, ["lang"]);
|
|
143
|
+
}
|
|
144
|
+
disconnectedCallback() {
|
|
145
|
+
unwatchGlobalAttributes(this);
|
|
146
|
+
}
|
|
147
|
+
// --------------------------------------------------------------------------
|
|
148
|
+
//
|
|
66
149
|
// Public Methods
|
|
67
150
|
//
|
|
68
151
|
// --------------------------------------------------------------------------
|
|
69
|
-
/** Go to the next page of results */
|
|
152
|
+
/** Go to the next page of results. */
|
|
70
153
|
async nextPage() {
|
|
71
154
|
this.start = Math.min(this.getLastStart(), this.start + this.num);
|
|
72
155
|
}
|
|
73
|
-
/** Go to the previous page of results */
|
|
156
|
+
/** Go to the previous page of results. */
|
|
74
157
|
async previousPage() {
|
|
75
158
|
this.start = Math.max(1, this.start - this.num);
|
|
76
159
|
}
|
|
@@ -139,6 +222,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
139
222
|
return pages.map((page) => this.renderPage(page));
|
|
140
223
|
}
|
|
141
224
|
renderPage(start) {
|
|
225
|
+
const lang = this.globalAttributes["lang"] || document.documentElement.lang || "en";
|
|
142
226
|
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
143
227
|
return (h("button", { class: {
|
|
144
228
|
[CSS.page]: true,
|
|
@@ -146,7 +230,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
146
230
|
}, onClick: () => {
|
|
147
231
|
this.start = start;
|
|
148
232
|
this.emitUpdate();
|
|
149
|
-
} }, page));
|
|
233
|
+
} }, localizeNumberString(page.toString(), lang, true)));
|
|
150
234
|
}
|
|
151
235
|
renderLeftEllipsis() {
|
|
152
236
|
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
@@ -179,6 +263,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
179
263
|
"textLabelNext": [1, "text-label-next"],
|
|
180
264
|
"textLabelPrevious": [1, "text-label-previous"],
|
|
181
265
|
"scale": [513],
|
|
266
|
+
"globalAttributes": [32],
|
|
182
267
|
"nextPage": [64],
|
|
183
268
|
"previousPage": [64]
|
|
184
269
|
}]);
|