@esri/calcite-components 1.0.0-beta.80 → 1.0.0-beta.83
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/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/fileEcd16.json +1 -0
- package/dist/calcite/assets/icon/fileEcd24.json +1 -0
- package/dist/calcite/assets/icon/fileEcd32.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/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/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/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 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -0
- package/dist/calcite/p-004e3dc9.js +6 -0
- package/dist/calcite/p-07587a94.system.entry.js +6 -0
- package/dist/calcite/{p-e66a8ca1.system.entry.js → p-0804ce36.system.entry.js} +3 -2
- package/dist/calcite/{p-9385e4b4.system.js → p-08b6213a.system.js} +2 -1
- package/dist/calcite/{p-9ac86d6a.entry.js → p-0cbdfc7e.entry.js} +2 -1
- package/dist/calcite/p-0d37d621.system.entry.js +6 -0
- package/dist/calcite/p-0e1c259f.system.entry.js +6 -0
- package/dist/calcite/p-0f41fb58.entry.js +6 -0
- package/dist/calcite/p-0fc84480.js +6 -0
- package/dist/calcite/p-132b60fd.system.entry.js +6 -0
- package/dist/calcite/p-1571ede3.system.entry.js +6 -0
- package/dist/calcite/{p-c2adeae4.entry.js → p-1755cd6f.entry.js} +2 -1
- package/dist/calcite/{p-6a541e77.system.js → p-191d0802.system.js} +2 -1
- package/dist/calcite/p-1a07da7e.system.js +6 -0
- package/dist/calcite/{p-b2493735.entry.js → p-1a5fc48b.entry.js} +2 -1
- package/dist/calcite/{p-4de6f4fd.system.js → p-1ba93966.system.js} +1 -0
- package/dist/calcite/{p-5958acc8.system.js → p-1bc2d58d.system.js} +1 -0
- package/dist/calcite/{p-5394666a.entry.js → p-1eb6cfb5.entry.js} +2 -1
- package/dist/calcite/p-1f94715e.entry.js +6 -0
- package/dist/calcite/p-2111668f.system.entry.js +6 -0
- package/dist/calcite/{p-5802a565.entry.js → p-23188966.entry.js} +2 -1
- package/dist/calcite/p-24edad61.entry.js +6 -0
- package/dist/calcite/p-25fd5141.entry.js +6 -0
- package/dist/calcite/p-2609d345.system.entry.js +6 -0
- package/dist/calcite/{p-052ba882.system.entry.js → p-26526a6d.system.entry.js} +2 -1
- package/dist/calcite/{p-8a7596e3.entry.js → p-2778cb53.entry.js} +2 -1
- package/dist/calcite/p-2785ecb9.system.js +6 -0
- package/dist/calcite/{p-6b5776af.js → p-292c567d.js} +1 -0
- package/dist/calcite/{p-7fc69a9d.js → p-2c974b60.js} +1 -0
- package/dist/calcite/{p-03c92ad2.entry.js → p-2e57803f.entry.js} +2 -1
- package/dist/calcite/{p-ac4aec20.system.js → p-2f82a677.system.js} +1 -0
- package/dist/calcite/p-2fcac2cf.system.entry.js +6 -0
- package/dist/calcite/p-2fd30fee.entry.js +6 -0
- package/dist/calcite/{p-1aded388.system.entry.js → p-358cba5a.system.entry.js} +2 -1
- package/dist/calcite/p-37c23e83.system.entry.js +6 -0
- package/dist/calcite/p-3962123d.system.entry.js +6 -0
- package/dist/calcite/{p-079a3322.js → p-3981a495.js} +1 -0
- package/dist/calcite/p-3a256056.entry.js +6 -0
- package/dist/calcite/{p-a11ee541.system.entry.js → p-3b54c4a0.system.entry.js} +2 -1
- package/dist/calcite/p-3d4548a9.js +6 -0
- package/dist/calcite/p-3f00dc7c.entry.js +6 -0
- package/dist/calcite/p-3f80afb9.system.entry.js +6 -0
- package/dist/calcite/p-41b0a2a1.system.js +6 -0
- package/dist/calcite/p-4214c119.system.entry.js +6 -0
- package/dist/calcite/p-45b6d321.entry.js +6 -0
- package/dist/calcite/p-4620ae05.entry.js +6 -0
- package/dist/calcite/p-462cefe9.system.entry.js +6 -0
- package/dist/calcite/{p-e095517f.system.js → p-46d30c39.system.js} +1 -0
- package/dist/calcite/p-476e276f.entry.js +6 -0
- package/dist/calcite/p-47bf0f7d.entry.js +6 -0
- package/dist/calcite/p-47dd3632.entry.js +6 -0
- package/dist/calcite/p-4a88016c.system.entry.js +6 -0
- package/dist/calcite/{p-bd38ff21.js → p-4effc6db.js} +1 -0
- package/dist/calcite/p-4f71c68d.js +6 -0
- package/dist/calcite/p-4f82d10a.system.entry.js +6 -0
- package/dist/calcite/{p-ef17447d.system.entry.js → p-506f5631.system.entry.js} +2 -1
- package/dist/calcite/p-515e5f7e.system.entry.js +6 -0
- package/dist/calcite/p-5207385b.system.entry.js +6 -0
- package/dist/calcite/p-53b147dc.system.entry.js +6 -0
- package/dist/calcite/{p-7ed4c551.system.js → p-57ccba45.system.js} +1 -0
- package/dist/calcite/{p-5bb4d012.entry.js → p-5904a047.entry.js} +2 -1
- package/dist/calcite/{p-97904e9a.entry.js → p-59122590.entry.js} +2 -1
- package/dist/calcite/p-59aae748.entry.js +6 -0
- package/dist/calcite/{p-b9a38a28.system.entry.js → p-5ae3ce21.system.entry.js} +2 -1
- package/dist/calcite/{p-05bf835f.js → p-5afb0fbb.js} +2 -1
- package/dist/calcite/p-5b60d64c.system.entry.js +6 -0
- package/dist/calcite/p-5df0640c.system.entry.js +6 -0
- package/dist/calcite/p-5e07a875.system.entry.js +6 -0
- package/dist/calcite/p-5eb016b6.system.entry.js +6 -0
- package/dist/calcite/p-61483431.system.entry.js +6 -0
- package/dist/calcite/p-623f6224.entry.js +6 -0
- package/dist/calcite/{p-3e9d96c6.system.entry.js → p-636e43ac.system.entry.js} +2 -1
- package/dist/calcite/p-63d2bcec.system.entry.js +6 -0
- package/dist/calcite/p-64384786.entry.js +6 -0
- package/dist/calcite/p-6531fb85.entry.js +6 -0
- package/dist/calcite/p-67af4998.entry.js +6 -0
- package/dist/calcite/p-67ef236d.entry.js +6 -0
- package/dist/calcite/{p-cb57638c.system.js → p-68e3013f.system.js} +2 -1
- package/dist/calcite/p-6a966c2f.entry.js +6 -0
- package/dist/calcite/{p-02d7cf64.system.entry.js → p-6bcb5a71.system.entry.js} +2 -1
- package/dist/calcite/p-6d41e372.system.entry.js +6 -0
- package/dist/calcite/p-717fac51.entry.js +6 -0
- package/dist/calcite/p-773b540e.system.entry.js +6 -0
- package/dist/calcite/{p-e020662f.system.js → p-77762ff3.system.js} +1 -0
- package/dist/calcite/p-78f2801c.entry.js +6 -0
- package/dist/calcite/p-799f79af.entry.js +6 -0
- package/dist/calcite/{p-2d09cc25.js → p-7a8cddad.js} +1 -0
- package/dist/calcite/p-7a95bbeb.entry.js +6 -0
- package/dist/calcite/p-7bbfe1a2.system.entry.js +6 -0
- package/dist/calcite/p-7d8fe7b3.system.entry.js +6 -0
- package/dist/calcite/p-7e576c74.system.entry.js +6 -0
- package/dist/calcite/p-800a9250.entry.js +6 -0
- package/dist/calcite/p-834f407d.system.entry.js +6 -0
- package/dist/calcite/p-85a769d3.system.entry.js +6 -0
- package/dist/calcite/p-878d7c09.system.js +6 -0
- package/dist/calcite/{p-4570cf6c.js → p-8dfe7af3.js} +2 -1
- package/dist/calcite/p-8e2129c6.system.entry.js +6 -0
- package/dist/calcite/p-900fd30e.js +6 -0
- package/dist/calcite/{p-eb3c084f.system.entry.js → p-912c9e61.system.entry.js} +2 -1
- package/dist/calcite/p-940ac25d.system.entry.js +6 -0
- package/dist/calcite/p-9634f60d.entry.js +6 -0
- package/dist/calcite/{p-a7770d75.entry.js → p-98dc9493.entry.js} +2 -1
- package/dist/calcite/{p-65dbbfb5.system.js → p-994d99ff.system.js} +3 -1
- package/dist/calcite/{p-7432e5ef.system.entry.js → p-9ba769e3.system.entry.js} +2 -1
- package/dist/calcite/{p-7bee4942.system.entry.js → p-9c85d763.system.entry.js} +2 -1
- package/dist/calcite/p-9d3f8b0c.system.entry.js +6 -0
- package/dist/calcite/p-9ea395ee.js +6 -0
- package/dist/calcite/p-a1118db1.entry.js +6 -0
- package/dist/calcite/p-a1176eac.system.entry.js +6 -0
- package/dist/calcite/p-a3e19cec.entry.js +6 -0
- package/dist/calcite/{p-8e0dd0af.system.entry.js → p-a5fd7a87.system.entry.js} +2 -1
- package/dist/calcite/p-a73419ab.js +6 -0
- package/dist/calcite/{p-3119ffce.system.js → p-a75ad7cb.system.js} +1 -0
- package/dist/calcite/p-a81ad35a.entry.js +6 -0
- package/dist/calcite/p-a945b681.system.js +6 -0
- package/dist/calcite/{p-7b8707b2.system.js → p-acafe8ca.system.js} +1 -0
- package/dist/calcite/p-adc2b773.entry.js +6 -0
- package/dist/calcite/{p-63624a01.js → p-ae6f5622.js} +1 -0
- package/dist/calcite/{p-1d6404b5.system.js → p-ba349f22.system.js} +1 -0
- package/dist/calcite/p-c1548c19.js +6 -0
- package/dist/calcite/p-c470cecf.entry.js +6 -0
- package/dist/calcite/p-c5eec108.entry.js +6 -0
- package/dist/calcite/{p-f344e163.entry.js → p-c84f0dec.entry.js} +2 -1
- package/dist/calcite/p-c86b91ca.entry.js +6 -0
- package/dist/calcite/{p-3c34f20d.system.js → p-c96917cb.system.js} +2 -1
- package/dist/calcite/p-caea0782.js +7 -0
- package/dist/calcite/p-cbe3c2c0.entry.js +6 -0
- package/dist/calcite/p-ccb27d44.system.entry.js +6 -0
- package/dist/calcite/{p-b06207bb.js → p-ccb5a784.js} +1 -0
- package/dist/calcite/p-d1d05643.entry.js +6 -0
- package/dist/calcite/p-d901c470.system.js +12 -0
- package/dist/calcite/p-db63dc35.system.entry.js +6 -0
- package/dist/calcite/p-dc10e8bb.system.entry.js +6 -0
- package/dist/calcite/p-ddb96773.system.js +6 -0
- package/dist/calcite/{p-cafd98e8.entry.js → p-df419c8b.entry.js} +2 -1
- package/dist/calcite/p-e0ff045a.js +6 -0
- package/dist/calcite/{p-1fc943d5.system.entry.js → p-e117fad1.system.entry.js} +2 -1
- package/dist/calcite/{p-c51699d3.system.js → p-e3076302.system.js} +2 -1
- package/dist/calcite/p-e321018b.js +12 -0
- package/dist/calcite/p-e6ef10e2.js +6 -0
- package/dist/calcite/p-e7336cab.entry.js +6 -0
- package/dist/calcite/{p-482885ae.system.entry.js → p-e9e34c7f.system.entry.js} +2 -1
- package/dist/calcite/p-ed0608ea.system.entry.js +6 -0
- package/dist/calcite/p-eda11878.entry.js +6 -0
- package/dist/calcite/{p-8ab345f2.js → p-edf3436f.js} +2 -1
- package/dist/calcite/p-ee47a382.system.entry.js +6 -0
- package/dist/calcite/p-ee8f8d7e.entry.js +6 -0
- package/dist/calcite/{p-cc6e7726.entry.js → p-ef4ca55d.entry.js} +2 -1
- package/dist/calcite/p-f1935a52.entry.js +6 -0
- package/dist/calcite/p-f313806e.entry.js +6 -0
- package/dist/calcite/p-f39d0565.system.entry.js +6 -0
- package/dist/calcite/{p-0a5d059d.js → p-f46cf640.js} +1 -0
- package/dist/calcite/{p-8a63221d.js → p-f54288ad.js} +1 -0
- package/dist/calcite/{p-a117af56.system.js → p-f7546789.system.js} +1 -0
- package/dist/calcite/p-f828bc9b.entry.js +6 -0
- package/dist/calcite/p-f850e63f.system.js +6 -0
- package/dist/calcite/{p-f68725d7.entry.js → p-f91e835d.entry.js} +2 -1
- package/dist/calcite/{p-f78023f1.system.js → p-f9687b03.system.js} +1 -0
- package/dist/calcite/p-f96d2623.system.entry.js +6 -0
- package/dist/calcite/{p-3b4662a5.entry.js → p-faaa959a.entry.js} +2 -1
- package/dist/calcite/p-fba2fa9f.system.js +6 -0
- package/dist/calcite/{p-78bc502f.entry.js → p-fd5a2277.entry.js} +2 -1
- package/dist/calcite/{p-18be4438.entry.js → p-fd70b6c1.entry.js} +2 -1
- package/dist/calcite/p-feb71776.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-f7682a15.js → ExpandToggle-988c63cd.js} +9 -6
- package/dist/cjs/{Heading-ec707493.js → Heading-19d7669b.js} +2 -1
- package/dist/cjs/{array-a5dedf5a.js → array-d5bca414.js} +1 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +24 -17
- package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -7
- package/dist/cjs/calcite-action-menu.cjs.entry.js +28 -23
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -10
- package/dist/cjs/calcite-action.cjs.entry.js +11 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +18 -14
- package/dist/cjs/calcite-avatar.cjs.entry.js +11 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +32 -15
- package/dist/cjs/calcite-button.cjs.entry.js +24 -20
- package/dist/cjs/calcite-card.cjs.entry.js +23 -13
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +16 -12
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +1417 -1389
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +105 -58
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +117 -44
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +89 -48
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -4
- package/dist/cjs/calcite-filter.cjs.entry.js +28 -21
- package/dist/cjs/calcite-flow.cjs.entry.js +13 -18
- package/dist/cjs/calcite-graph_2.cjs.entry.js +123 -48
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +10 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -18
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +82 -32
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +90 -42
- package/dist/cjs/calcite-input.cjs.entry.js +76 -47
- package/dist/cjs/calcite-label.cjs.entry.js +7 -5
- package/dist/cjs/calcite-link.cjs.entry.js +8 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +21 -14
- package/dist/cjs/calcite-loader.cjs.entry.js +11 -8
- package/dist/cjs/calcite-modal.cjs.entry.js +31 -21
- package/dist/cjs/calcite-notice.cjs.entry.js +17 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +91 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +44 -13
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +33 -23
- package/dist/cjs/calcite-popover_2.cjs.entry.js +162 -56
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +10 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +140 -117
- package/dist/cjs/calcite-switch.cjs.entry.js +13 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +122 -81
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +13 -10
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +188 -144
- package/dist/cjs/calcite-tree_2.cjs.entry.js +33 -21
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +40 -31
- package/dist/cjs/calcite.cjs.js +4 -3
- package/dist/cjs/{conditionalSlot-64f9bfd3.js → conditionalSlot-462ae1f4.js} +7 -2
- package/dist/cjs/{debounce-95979061.js → debounce-5127bc67.js} +1 -0
- package/dist/cjs/{dom-f3df220d.js → dom-b0904219.js} +28 -2
- package/dist/cjs/{forIn-a5d553af.js → forIn-265c8eb3.js} +2 -1
- package/dist/cjs/{form-0ef859c8.js → form-4c32a5c7.js} +36 -2
- package/dist/cjs/{guid-b270f0db.js → guid-8af0f93c.js} +1 -0
- package/dist/cjs/{index-1af0efd3.js → index-82ee13f7.js} +7 -7
- package/dist/cjs/index.cjs.js +1 -0
- package/dist/cjs/{interactive-87406231.js → interactive-15f9fd28.js} +7 -3
- package/dist/cjs/{interfaces-7216af30.js → interfaces-86334104.js} +1 -0
- package/dist/cjs/{label-980508de.js → label-131d9cce.js} +26 -18
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/{locale-02462821.js → locale-6c28abd8.js} +31 -28
- package/dist/cjs/{math-145c80e2.js → math-2f83830f.js} +1 -0
- package/dist/cjs/{number-e813e801.js → number-6f1151e7.js} +2 -1
- package/dist/cjs/{observers-79bfb8bc.js → observers-f672f664.js} +1 -0
- package/dist/cjs/{popper-64d89ef7.js → popper-5ca144d4.js} +29 -3
- package/dist/cjs/{resources-ac80e82c.js → resources-06f33bd4.js} +1 -0
- package/dist/cjs/{resources-7d5449fb.js → resources-08dc0a5e.js} +1 -0
- package/dist/cjs/{resources-e43fc9f3.js → resources-0de59f13.js} +9 -8
- package/dist/cjs/{resources-7811eb2c.js → resources-24a7ca1a.js} +44 -2
- package/dist/cjs/{sortable.esm-d7a4560b.js → sortable.esm-8e944897.js} +63 -54
- package/dist/cjs/{utils-6579522f.js → utils-f3a37c0a.js} +1 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +16 -10
- package/dist/collection/components/accordion/interfaces.js +1 -0
- package/dist/collection/components/accordion-item/accordion-item.css +0 -2
- package/dist/collection/components/accordion-item/accordion-item.js +16 -14
- package/dist/collection/components/action/action.css +1 -3
- package/dist/collection/components/action/action.js +6 -2
- package/dist/collection/components/action/resources.js +1 -0
- package/dist/collection/components/action-bar/action-bar.js +16 -4
- package/dist/collection/components/action-bar/resources.js +1 -0
- package/dist/collection/components/action-bar/utils.js +1 -0
- package/dist/collection/components/action-group/action-group.js +1 -0
- package/dist/collection/components/action-group/resources.js +1 -0
- package/dist/collection/components/action-menu/action-menu.css +0 -2
- package/dist/collection/components/action-menu/action-menu.js +21 -16
- package/dist/collection/components/action-menu/resources.js +1 -0
- package/dist/collection/components/action-pad/action-pad.js +15 -4
- package/dist/collection/components/action-pad/resources.js +1 -0
- package/dist/collection/components/alert/alert.css +11 -24
- package/dist/collection/components/alert/alert.js +20 -15
- package/dist/collection/components/alert/interfaces.js +1 -0
- package/dist/collection/components/alert/resources.js +1 -0
- package/dist/collection/components/avatar/avatar.css +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -0
- package/dist/collection/components/avatar/utils.js +6 -0
- package/dist/collection/components/block/block.css +0 -2
- package/dist/collection/components/block/block.js +37 -12
- package/dist/collection/components/block/resources.js +1 -0
- package/dist/collection/components/block-section/block-section.css +0 -2
- package/dist/collection/components/block-section/block-section.js +3 -2
- package/dist/collection/components/block-section/interfaces.js +1 -0
- package/dist/collection/components/block-section/resources.js +1 -0
- package/dist/collection/components/button/button.css +1 -3
- package/dist/collection/components/button/button.js +20 -15
- package/dist/collection/components/button/interfaces.js +1 -0
- package/dist/collection/components/button/resources.js +1 -0
- package/dist/collection/components/card/card.css +19 -5
- package/dist/collection/components/card/card.js +45 -10
- package/dist/collection/components/card/resources.js +3 -2
- package/dist/collection/components/checkbox/checkbox.css +13 -10
- package/dist/collection/components/checkbox/checkbox.js +5 -2
- package/dist/collection/components/chip/chip.css +23 -25
- package/dist/collection/components/chip/chip.js +7 -4
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/chip/resources.js +4 -2
- package/dist/collection/components/color-picker/color-picker.css +2 -12
- package/dist/collection/components/color-picker/color-picker.js +76 -36
- package/dist/collection/components/color-picker/interfaces.js +1 -0
- package/dist/collection/components/color-picker/resources.js +1 -0
- package/dist/collection/components/color-picker/utils.js +1 -0
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +48 -50
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -0
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -0
- package/dist/collection/components/color-picker-swatch/resources.js +1 -0
- package/dist/collection/components/combobox/combobox.css +0 -2
- package/dist/collection/components/combobox/combobox.js +95 -47
- package/dist/collection/components/combobox/interfaces.js +1 -0
- package/dist/collection/components/combobox/resources.js +5 -0
- package/dist/collection/components/combobox/utils.js +1 -0
- package/dist/collection/components/combobox-item/combobox-item.css +1 -3
- package/dist/collection/components/combobox-item/combobox-item.js +11 -2
- package/dist/collection/components/combobox-item/resources.js +1 -0
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -0
- package/dist/collection/components/combobox-item-group/resources.js +1 -0
- package/dist/collection/components/date-picker/assets/date-picker/nls/ru.json +4 -4
- package/dist/collection/components/date-picker/date-picker.js +36 -6
- package/dist/collection/components/date-picker/interfaces.js +1 -0
- package/dist/collection/components/date-picker/resources.js +1 -0
- package/dist/collection/components/date-picker/utils.js +7 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +7 -9
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +38 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +1 -7
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +35 -19
- package/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +76 -35
- package/dist/collection/components/dropdown/interfaces.js +1 -0
- package/dist/collection/components/dropdown/resources.js +1 -0
- package/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/collection/components/dropdown-group/dropdown-group.js +9 -6
- package/dist/collection/components/dropdown-group/interfaces.js +1 -0
- package/dist/collection/components/dropdown-group/resources.js +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +1 -2
- package/dist/collection/components/dropdown-item/dropdown-item.js +19 -19
- package/dist/collection/components/dropdown-item/resources.js +1 -0
- package/dist/collection/components/fab/fab.js +2 -0
- package/dist/collection/components/fab/resources.js +1 -0
- package/dist/collection/components/filter/filter.css +2 -2
- package/dist/collection/components/filter/filter.js +20 -15
- package/dist/collection/components/filter/resources.js +3 -2
- package/dist/collection/components/flow/flow.css +1 -9
- package/dist/collection/components/flow/flow.js +12 -17
- package/dist/collection/components/flow/interfaces.js +1 -0
- package/dist/collection/components/flow/resources.js +1 -0
- package/dist/collection/components/functional/ExpandToggle.js +5 -2
- package/dist/collection/components/functional/Heading.js +1 -0
- package/dist/collection/components/graph/graph.css +1 -0
- package/dist/collection/components/graph/graph.js +1 -0
- package/dist/collection/components/graph/interfaces.js +1 -0
- package/dist/collection/components/graph/util.js +29 -0
- package/dist/collection/components/handle/handle.css +0 -2
- package/dist/collection/components/handle/handle.js +5 -3
- package/dist/collection/components/handle/resources.js +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/fileEcd16.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd24.json +1 -0
- package/dist/collection/components/icon/assets/icon/fileEcd32.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/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/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/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 -2
- package/dist/collection/components/icon/resources.js +1 -0
- package/dist/collection/components/icon/utils.js +5 -0
- package/dist/collection/components/inline-editable/inline-editable.css +1 -4
- package/dist/collection/components/inline-editable/inline-editable.js +18 -13
- package/dist/collection/components/inline-editable/resources.js +1 -0
- package/dist/collection/components/input/input.css +14 -36
- package/dist/collection/components/input/input.js +106 -46
- package/dist/collection/components/input/interfaces.js +1 -0
- package/dist/collection/components/input/resources.js +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +107 -28
- package/dist/collection/components/input-message/input-message.css +11 -16
- package/dist/collection/components/input-message/input-message.js +1 -0
- package/dist/collection/components/input-message/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +83 -14
- package/dist/collection/components/interfaces.js +1 -0
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/label/label.js +2 -0
- package/dist/collection/components/label/resources.js +1 -0
- package/dist/collection/components/link/link.css +3 -14
- package/dist/collection/components/link/link.js +3 -1
- package/dist/collection/components/list/list.js +4 -3
- package/dist/collection/components/list/resources.js +1 -0
- package/dist/collection/components/list-item/list-item.css +20 -7
- package/dist/collection/components/list-item/list-item.js +12 -6
- package/dist/collection/components/list-item/resources.js +3 -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 -2
- package/dist/collection/components/list-item-group/resources.js +1 -0
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +18 -15
- package/dist/collection/components/modal/interfaces.js +1 -0
- package/dist/collection/components/modal/modal.css +7 -48
- package/dist/collection/components/modal/modal.js +79 -64
- package/dist/collection/components/modal/resources.js +1 -0
- package/dist/collection/components/notice/notice.css +5 -16
- package/dist/collection/components/notice/notice.js +27 -23
- package/dist/collection/components/notice/resources.js +1 -0
- package/dist/collection/components/option/option.js +5 -4
- package/dist/collection/components/option-group/option-group.js +4 -3
- package/dist/collection/components/pagination/pagination.css +2 -7
- package/dist/collection/components/pagination/pagination.js +32 -4
- package/dist/collection/components/pagination/resources.js +1 -0
- package/dist/collection/components/panel/panel.css +2 -1
- package/dist/collection/components/panel/panel.js +73 -12
- package/dist/collection/components/panel/resources.js +1 -0
- package/dist/collection/components/pick-list/pick-list.js +23 -11
- package/dist/collection/components/pick-list/resources.js +1 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +3 -2
- package/dist/collection/components/pick-list/shared-list-render.js +3 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -0
- package/dist/collection/components/pick-list-group/resources.js +1 -0
- package/dist/collection/components/pick-list-item/pick-list-item.css +1 -3
- package/dist/collection/components/pick-list-item/pick-list-item.js +25 -14
- package/dist/collection/components/pick-list-item/resources.js +1 -0
- package/dist/collection/components/popover/PopoverManager.js +75 -0
- package/dist/collection/components/popover/popover.css +5 -0
- package/dist/collection/components/popover/popover.js +121 -27
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +33 -44
- package/dist/collection/components/progress/progress.js +1 -0
- package/dist/collection/components/radio-button/radio-button.css +10 -6
- package/dist/collection/components/radio-button/radio-button.js +6 -2
- package/dist/collection/components/radio-button/resources.js +1 -0
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -0
- package/dist/collection/components/radio-group/interfaces.js +1 -0
- package/dist/collection/components/radio-group/radio-group.js +3 -2
- package/dist/collection/components/radio-group-item/radio-group-item.css +0 -2
- package/dist/collection/components/radio-group-item/radio-group-item.js +6 -5
- package/dist/collection/components/radio-group-item/resources.js +1 -0
- package/dist/collection/components/rating/rating.css +2 -12
- package/dist/collection/components/rating/rating.js +7 -2
- package/dist/collection/components/rating/resources.js +1 -0
- package/dist/collection/components/scrim/resources.js +1 -0
- package/dist/collection/components/scrim/scrim.js +4 -1
- package/dist/collection/components/select/resources.js +1 -0
- package/dist/collection/components/select/select.css +0 -2
- package/dist/collection/components/select/select.js +3 -2
- package/dist/collection/components/shell/resources.js +1 -0
- package/dist/collection/components/shell/shell.js +1 -0
- package/dist/collection/components/shell-center-row/resources.js +1 -0
- 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 -0
- package/dist/collection/components/shell-panel/resources.js +1 -0
- package/dist/collection/components/shell-panel/shell-panel.css +3 -6
- package/dist/collection/components/shell-panel/shell-panel.js +6 -1
- package/dist/collection/components/slider/slider.css +29 -2
- package/dist/collection/components/slider/slider.js +94 -41
- package/dist/collection/components/sortable-list/resources.js +1 -0
- package/dist/collection/components/sortable-list/sortable-list.js +1 -0
- package/dist/collection/components/split-button/resources.js +1 -0
- package/dist/collection/components/split-button/split-button.css +1 -4
- package/dist/collection/components/split-button/split-button.js +6 -2
- package/dist/{calcite/p-accdb0ce.js → collection/components/stepper/interfaces.js} +2 -1
- package/dist/collection/components/stepper/stepper.js +107 -67
- package/dist/collection/components/stepper-item/stepper-item.css +27 -2
- package/dist/collection/components/stepper-item/stepper-item.js +83 -82
- package/dist/collection/components/switch/switch.css +0 -2
- package/dist/collection/components/switch/switch.js +8 -4
- package/dist/collection/components/tab/interfaces.js +1 -0
- package/dist/collection/components/tab/tab.js +38 -22
- package/dist/collection/components/tab-nav/tab-nav.css +6 -0
- package/dist/collection/components/tab-nav/tab-nav.js +87 -37
- package/dist/collection/components/tab-title/tab-title.css +30 -15
- package/dist/collection/components/tab-title/tab-title.js +92 -44
- package/dist/collection/components/tabs/interfaces.js +1 -0
- package/dist/collection/components/tabs/resources.js +1 -0
- package/dist/collection/components/tabs/tabs.css +13 -1
- package/dist/collection/components/tabs/tabs.js +11 -9
- package/dist/collection/components/tile/resources.js +1 -0
- package/dist/collection/components/tile/tile.css +3 -4
- package/dist/collection/components/tile/tile.js +2 -0
- package/dist/collection/components/tile-select/interfaces.js +1 -0
- package/dist/collection/components/tile-select/resources.js +1 -0
- package/dist/collection/components/tile-select/tile-select.css +7 -2
- package/dist/collection/components/tile-select/tile-select.js +1 -0
- package/dist/collection/components/tile-select-group/interfaces.js +1 -0
- 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 -0
- package/dist/collection/components/time-picker/resources.js +1 -0
- package/dist/collection/components/time-picker/time-picker.js +61 -33
- package/dist/collection/components/tip/resources.js +1 -0
- package/dist/collection/components/tip/tip.css +0 -2
- package/dist/collection/components/tip/tip.js +1 -0
- package/dist/collection/components/tip-group/tip-group.js +1 -0
- package/dist/collection/components/tip-manager/resources.js +1 -0
- package/dist/collection/components/tip-manager/tip-manager.css +1 -13
- package/dist/collection/components/tip-manager/tip-manager.js +25 -5
- package/dist/collection/components/tooltip/TooltipManager.js +161 -0
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +7 -4
- package/dist/collection/components/tooltip/tooltip.js +58 -29
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +6 -163
- package/dist/collection/components/tree/interfaces.js +1 -0
- package/dist/collection/components/tree/tree.js +18 -12
- package/dist/collection/components/tree-item/interfaces.js +1 -0
- package/dist/collection/components/tree-item/resources.js +1 -0
- package/dist/collection/components/tree-item/tree-item.css +8 -14
- package/dist/collection/components/tree-item/tree-item.js +31 -24
- package/dist/collection/components/value-list/resources.js +1 -0
- package/dist/collection/components/value-list/value-list.js +41 -29
- package/dist/collection/components/value-list-item/resources.js +1 -0
- package/dist/collection/components/value-list-item/value-list-item.css +0 -2
- package/dist/collection/components/value-list-item/value-list-item.js +33 -23
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +13 -0
- package/dist/collection/demos/_assets/head.js +45 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/array.js +1 -0
- package/dist/collection/utils/conditionalSlot.js +5 -0
- package/dist/collection/utils/date.js +36 -0
- package/dist/collection/utils/dom.js +26 -1
- package/dist/collection/utils/filter.js +2 -1
- package/dist/collection/utils/form.js +32 -0
- package/dist/collection/utils/globalAttributes.js +6 -0
- package/dist/collection/utils/guid.js +1 -0
- package/dist/collection/utils/interactive.js +7 -3
- package/dist/collection/utils/key.js +1 -0
- package/dist/collection/utils/label.js +25 -17
- package/dist/collection/utils/locale.js +31 -27
- package/dist/collection/utils/math.js +1 -0
- package/dist/collection/utils/number.js +2 -1
- package/dist/collection/utils/observers.js +1 -0
- package/dist/collection/utils/popper.js +17 -2
- package/dist/collection/utils/resources.js +1 -0
- package/dist/collection/utils/time.js +1 -0
- package/dist/components/ExpandToggle.js +5 -2
- package/dist/components/Heading.js +1 -0
- package/dist/components/action-group.js +11 -16
- package/dist/components/action-menu.js +30 -31
- package/dist/components/action.js +7 -3
- package/dist/components/array.js +1 -0
- package/dist/components/button.js +19 -15
- package/dist/components/calcite-accordion-item.js +13 -11
- package/dist/components/calcite-accordion.js +12 -6
- package/dist/components/calcite-action-bar.js +20 -20
- package/dist/components/calcite-action-group.js +1 -0
- package/dist/components/calcite-action-menu.js +1 -0
- package/dist/components/calcite-action-pad.js +19 -20
- package/dist/components/calcite-action.js +1 -0
- package/dist/components/calcite-alert.js +16 -12
- package/dist/components/calcite-avatar.js +8 -2
- package/dist/components/calcite-block-section.js +4 -3
- package/dist/components/calcite-block.js +38 -27
- package/dist/components/calcite-button.js +1 -0
- package/dist/components/calcite-card.js +21 -10
- package/dist/components/calcite-checkbox.js +1 -0
- package/dist/components/calcite-chip.js +1 -0
- package/dist/components/calcite-color-picker-hex-input.js +1 -0
- package/dist/components/calcite-color-picker-swatch.js +1 -0
- package/dist/components/calcite-color-picker.js +77 -37
- package/dist/components/calcite-combobox-item-group.js +1 -0
- package/dist/components/calcite-combobox-item.js +4 -1
- package/dist/components/calcite-combobox.js +94 -48
- package/dist/components/calcite-date-picker-day.js +1 -0
- package/dist/components/calcite-date-picker-month-header.js +1 -0
- package/dist/components/calcite-date-picker-month.js +1 -0
- package/dist/components/calcite-date-picker.js +1 -0
- package/dist/components/calcite-dropdown-group.js +9 -6
- package/dist/components/calcite-dropdown-item.js +17 -17
- package/dist/components/calcite-dropdown.js +1 -0
- package/dist/components/calcite-fab.js +2 -0
- package/dist/components/calcite-filter.js +1 -0
- package/dist/components/calcite-flow.js +12 -17
- package/dist/components/calcite-graph.js +1 -0
- package/dist/components/calcite-handle.js +1 -0
- package/dist/components/calcite-icon.js +1 -0
- package/dist/components/calcite-inline-editable.js +18 -13
- package/dist/components/calcite-input-date-picker.js +76 -24
- package/dist/components/calcite-input-message.js +2 -1
- package/dist/components/calcite-input-time-picker.js +38 -11
- package/dist/components/calcite-input.js +1 -0
- package/dist/components/calcite-label.js +1 -0
- package/dist/components/calcite-link.js +1 -0
- package/dist/components/calcite-list-item-group.js +2 -1
- package/dist/components/calcite-list-item.js +12 -5
- package/dist/components/calcite-list.js +2 -1
- package/dist/components/calcite-loader.js +1 -0
- package/dist/components/calcite-modal.js +27 -18
- package/dist/components/calcite-notice.js +11 -8
- package/dist/components/calcite-option-group.js +3 -2
- package/dist/components/calcite-option.js +4 -3
- package/dist/components/calcite-pagination.js +90 -4
- package/dist/components/calcite-panel.js +50 -24
- package/dist/components/calcite-pick-list-group.js +2 -1
- package/dist/components/calcite-pick-list-item.js +1 -0
- package/dist/components/calcite-pick-list.js +13 -7
- package/dist/components/calcite-popover-manager.js +31 -37
- package/dist/components/calcite-popover.js +1 -0
- package/dist/components/calcite-progress.js +1 -0
- package/dist/components/calcite-radio-button-group.js +1 -0
- package/dist/components/calcite-radio-button.js +7 -3
- package/dist/components/calcite-radio-group-item.js +6 -5
- package/dist/components/calcite-radio-group.js +3 -2
- package/dist/components/calcite-rating.js +8 -3
- package/dist/components/calcite-scrim.js +1 -0
- package/dist/components/calcite-select.js +3 -2
- package/dist/components/calcite-shell-center-row.js +2 -1
- package/dist/components/calcite-shell-panel.js +3 -1
- package/dist/components/calcite-shell.js +1 -0
- package/dist/components/calcite-slider.js +86 -39
- package/dist/components/calcite-sortable-list.js +1 -0
- package/dist/components/calcite-split-button.js +7 -3
- package/dist/components/calcite-stepper-item.js +56 -64
- package/dist/components/calcite-stepper.js +83 -51
- package/dist/components/calcite-switch.js +1 -0
- package/dist/components/calcite-tab-nav.js +1 -0
- package/dist/components/calcite-tab-title.js +1 -0
- package/dist/components/calcite-tab.js +1 -0
- package/dist/components/calcite-tabs.js +1 -0
- package/dist/components/calcite-tile-select-group.js +2 -1
- package/dist/components/calcite-tile-select.js +2 -1
- package/dist/components/calcite-tile.js +1 -0
- package/dist/components/calcite-time-picker.js +1 -0
- package/dist/components/calcite-tip-group.js +1 -0
- package/dist/components/calcite-tip-manager.js +8 -5
- package/dist/components/calcite-tip.js +3 -2
- package/dist/components/calcite-tooltip-manager.js +48 -1
- package/dist/components/calcite-tooltip.js +195 -23
- package/dist/components/calcite-tree-item.js +19 -12
- package/dist/components/calcite-tree.js +12 -6
- package/dist/components/calcite-value-list-item.js +15 -11
- package/dist/components/calcite-value-list.js +20 -14
- package/dist/components/checkbox.js +6 -3
- package/dist/components/chip.js +11 -7
- package/dist/components/color-picker-hex-input.js +48 -50
- package/dist/components/color-picker-swatch.js +1337 -1345
- package/dist/components/conditionalSlot.js +5 -0
- package/dist/components/date-picker-day.js +4 -3
- package/dist/components/date-picker-month-header.js +36 -20
- package/dist/components/date-picker-month.js +36 -7
- package/dist/components/date-picker.js +42 -6
- package/dist/components/date.js +36 -0
- package/dist/components/debounce.js +1 -0
- package/dist/components/dom.js +27 -2
- package/dist/components/dropdown.js +65 -25
- package/dist/components/filter.js +22 -15
- package/dist/components/forIn.js +1 -0
- package/dist/components/form.js +34 -2
- package/dist/components/graph.js +30 -1
- package/dist/components/guid.js +1 -0
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +7 -2
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/input.js +71 -40
- package/dist/components/interactive.js +7 -3
- package/dist/components/interfaces.js +1 -0
- package/dist/components/interfaces2.js +1 -0
- package/dist/components/label.js +26 -18
- package/dist/components/label2.js +3 -1
- package/dist/components/link.js +4 -2
- package/dist/components/loader.js +9 -6
- package/dist/components/locale.js +31 -28
- package/dist/components/math.js +1 -0
- package/dist/components/number.js +2 -1
- package/dist/components/observers.js +1 -0
- package/dist/components/pick-list-item.js +16 -11
- package/dist/components/popover.js +152 -19
- package/dist/components/popper.js +27 -2
- package/dist/components/progress.js +1 -0
- package/dist/components/resources.js +11 -18
- package/dist/components/resources2.js +8 -5
- package/dist/components/resources3.js +25 -10
- package/dist/components/scrim.js +4 -1
- package/dist/components/shared-list-render.js +8 -7
- package/dist/components/sortable.esm.js +63 -54
- package/dist/components/switch.js +8 -4
- package/dist/components/tab-nav.js +53 -25
- package/dist/components/tab-title.js +45 -34
- package/dist/components/tab.js +21 -17
- package/dist/components/tabs.js +9 -7
- package/dist/components/tile.js +3 -1
- package/dist/components/time-picker.js +51 -27
- package/dist/components/utils.js +1 -0
- package/dist/components/utils2.js +1 -0
- package/dist/custom-elements/index.js +3712 -2723
- package/dist/esm/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +9 -6
- package/dist/esm/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
- package/dist/esm/{array-91a648e2.js → array-7a76d321.js} +1 -0
- package/dist/esm/calcite-accordion_2.entry.js +24 -17
- package/dist/esm/calcite-action-bar.entry.js +17 -11
- package/dist/esm/calcite-action-group.entry.js +8 -7
- package/dist/esm/calcite-action-menu.entry.js +28 -23
- package/dist/esm/calcite-action-pad.entry.js +15 -10
- package/dist/esm/calcite-action.entry.js +11 -6
- package/dist/esm/calcite-alert.entry.js +18 -14
- package/dist/esm/calcite-avatar.entry.js +11 -5
- package/dist/esm/calcite-block_2.entry.js +32 -15
- package/dist/esm/calcite-button.entry.js +24 -20
- package/dist/esm/calcite-card.entry.js +23 -13
- package/dist/esm/calcite-checkbox.entry.js +11 -9
- package/dist/esm/calcite-chip.entry.js +16 -12
- package/dist/esm/calcite-color-picker_3.entry.js +1417 -1389
- package/dist/esm/calcite-combobox_3.entry.js +105 -58
- package/dist/esm/calcite-date-picker_4.entry.js +117 -44
- package/dist/esm/calcite-dropdown_3.entry.js +89 -48
- package/dist/esm/calcite-fab.entry.js +6 -4
- package/dist/esm/calcite-filter.entry.js +28 -21
- package/dist/esm/calcite-flow.entry.js +13 -18
- package/dist/esm/calcite-graph_2.entry.js +123 -48
- package/dist/esm/calcite-handle.entry.js +7 -4
- package/dist/esm/calcite-icon.entry.js +10 -5
- package/dist/esm/calcite-inline-editable.entry.js +23 -18
- package/dist/esm/calcite-input-date-picker.entry.js +82 -32
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +90 -42
- package/dist/esm/calcite-input.entry.js +77 -48
- package/dist/esm/calcite-label.entry.js +7 -5
- package/dist/esm/calcite-link.entry.js +8 -6
- package/dist/esm/calcite-list_3.entry.js +21 -14
- package/dist/esm/calcite-loader.entry.js +11 -8
- package/dist/esm/calcite-modal.entry.js +31 -21
- package/dist/esm/calcite-notice.entry.js +17 -14
- package/dist/esm/calcite-option_3.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +91 -5
- package/dist/esm/calcite-panel.entry.js +44 -13
- package/dist/esm/calcite-pick-list_3.entry.js +33 -23
- package/dist/esm/calcite-popover_2.entry.js +162 -56
- package/dist/esm/calcite-progress.entry.js +2 -1
- package/dist/esm/calcite-radio-button-group.entry.js +3 -2
- package/dist/esm/calcite-radio-button.entry.js +13 -9
- package/dist/esm/calcite-radio-group_2.entry.js +12 -11
- package/dist/esm/calcite-rating.entry.js +14 -9
- package/dist/esm/calcite-scrim.entry.js +5 -2
- package/dist/esm/calcite-shell_3.entry.js +10 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -4
- package/dist/esm/calcite-split-button.entry.js +9 -5
- package/dist/esm/calcite-stepper_2.entry.js +140 -117
- package/dist/esm/calcite-switch.entry.js +13 -9
- package/dist/esm/calcite-tab_4.entry.js +122 -81
- package/dist/esm/calcite-tile-select_2.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +9 -7
- package/dist/esm/calcite-tip_3.entry.js +13 -10
- package/dist/esm/calcite-tooltip_2.entry.js +188 -144
- package/dist/esm/calcite-tree_2.entry.js +33 -21
- package/dist/esm/calcite-value-list_2.entry.js +40 -31
- package/dist/esm/calcite.js +4 -3
- package/dist/esm/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +7 -2
- package/dist/esm/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
- package/dist/esm/{dom-e7fa77b9.js → dom-4caa79e4.js} +28 -3
- package/dist/esm/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
- package/dist/esm/{form-5e4609eb.js → form-7c2e444b.js} +35 -3
- package/dist/esm/{guid-196bd5ea.js → guid-27925469.js} +1 -0
- package/dist/esm/{index-bd94948c.js → index-1e02e91b.js} +7 -7
- package/dist/esm/index.js +1 -0
- package/dist/esm/{interactive-48b5cc0f.js → interactive-32803ed8.js} +7 -3
- package/dist/esm/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
- package/dist/esm/{label-68f22660.js → label-ccf07634.js} +26 -18
- package/dist/esm/loader.js +4 -3
- package/dist/esm/{locale-fc850b7c.js → locale-705ed382.js} +31 -28
- package/dist/esm/{math-456207f5.js → math-351ff0de.js} +1 -0
- package/dist/esm/{number-8779395f.js → number-bb265f44.js} +2 -1
- package/dist/esm/{observers-46118290.js → observers-c18e9524.js} +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{popper-da45ec93.js → popper-44b3ba83.js} +28 -3
- package/dist/esm/{resources-73dac782.js → resources-0aacb21d.js} +44 -2
- package/dist/esm/{resources-b5c3d9a7.js → resources-529884cb.js} +9 -8
- package/dist/esm/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
- package/dist/esm/{resources-34334875.js → resources-a32d1180.js} +1 -0
- package/dist/esm/{sortable.esm-04824d33.js → sortable.esm-4e7d5c7b.js} +63 -54
- package/dist/esm/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
- package/dist/esm-es5/{ExpandToggle-af224c1e.js → ExpandToggle-ce794961.js} +2 -1
- package/dist/esm-es5/{Heading-d5f1710a.js → Heading-9ccb3452.js} +2 -1
- package/dist/esm-es5/{array-91a648e2.js → array-7a76d321.js} +1 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -1
- package/dist/esm-es5/calcite-action-group.entry.js +2 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +3 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -1
- package/dist/esm-es5/calcite-alert.entry.js +3 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -1
- package/dist/esm-es5/calcite-block_2.entry.js +2 -1
- package/dist/esm-es5/calcite-button.entry.js +2 -1
- package/dist/esm-es5/calcite-card.entry.js +2 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -2
- package/dist/esm-es5/calcite-chip.entry.js +3 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +3 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +3 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -1
- package/dist/esm-es5/calcite-filter.entry.js +2 -1
- package/dist/esm-es5/calcite-flow.entry.js +2 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -1
- package/dist/esm-es5/calcite-handle.entry.js +2 -1
- package/dist/esm-es5/calcite-icon.entry.js +2 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +3 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -1
- package/dist/esm-es5/calcite-input-message.entry.js +2 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +3 -2
- package/dist/esm-es5/calcite-input.entry.js +3 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -1
- package/dist/esm-es5/calcite-link.entry.js +3 -2
- package/dist/esm-es5/calcite-list_3.entry.js +3 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -1
- package/dist/esm-es5/calcite-modal.entry.js +3 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -1
- package/dist/esm-es5/calcite-pagination.entry.js +2 -1
- package/dist/esm-es5/calcite-panel.entry.js +3 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +3 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -1
- package/dist/esm-es5/calcite-progress.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -1
- package/dist/esm-es5/calcite-scrim.entry.js +2 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -1
- package/dist/esm-es5/calcite-split-button.entry.js +2 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +3 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -1
- package/dist/esm-es5/calcite-tile.entry.js +2 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +3 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -1
- package/dist/esm-es5/calcite.js +2 -1
- package/dist/esm-es5/{conditionalSlot-67f579ff.js → conditionalSlot-6be8f3bd.js} +2 -1
- package/dist/esm-es5/{debounce-79648d42.js → debounce-9626aac0.js} +1 -0
- package/dist/esm-es5/dom-4caa79e4.js +6 -0
- package/dist/esm-es5/{forIn-48d8fb84.js → forIn-091a9d50.js} +2 -1
- package/dist/esm-es5/form-7c2e444b.js +6 -0
- package/dist/esm-es5/{guid-196bd5ea.js → guid-27925469.js} +1 -0
- package/dist/esm-es5/{index-bd94948c.js → index-1e02e91b.js} +4 -2
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/{interactive-48b5cc0f.js → interactive-32803ed8.js} +1 -0
- package/dist/esm-es5/{interfaces-0e5b954c.js → interfaces-64ad1cde.js} +1 -0
- package/dist/esm-es5/label-ccf07634.js +6 -0
- package/dist/esm-es5/loader.js +2 -1
- package/dist/esm-es5/locale-705ed382.js +6 -0
- package/dist/esm-es5/{math-456207f5.js → math-351ff0de.js} +1 -0
- package/dist/esm-es5/number-bb265f44.js +6 -0
- package/dist/esm-es5/{observers-46118290.js → observers-c18e9524.js} +1 -0
- package/dist/esm-es5/{popper-da45ec93.js → popper-44b3ba83.js} +2 -1
- package/dist/esm-es5/{resources-73dac782.js → resources-0aacb21d.js} +3 -2
- package/dist/esm-es5/resources-529884cb.js +6 -0
- package/dist/esm-es5/{resources-027bd8f9.js → resources-a2cad43d.js} +1 -0
- package/dist/esm-es5/{resources-34334875.js → resources-a32d1180.js} +1 -0
- package/dist/esm-es5/sortable.esm-4e7d5c7b.js +12 -0
- package/dist/esm-es5/{utils-e84055a3.js → utils-2f763d44.js} +1 -0
- package/dist/extras/docs-json.d.ts +3 -0
- package/dist/extras/docs-json.json +577 -301
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +1 -0
- package/dist/types/components/accordion/accordion.d.ts +6 -4
- package/dist/types/components/accordion-item/accordion-item.d.ts +4 -4
- package/dist/types/components/action/action.d.ts +4 -1
- package/dist/types/components/action-bar/action-bar.d.ts +6 -1
- package/dist/types/components/action-menu/action-menu.d.ts +4 -2
- package/dist/types/components/action-pad/action-pad.d.ts +5 -1
- package/dist/types/components/alert/alert.d.ts +11 -6
- package/dist/types/components/avatar/utils.d.ts +5 -0
- package/dist/types/components/block/block.d.ts +12 -4
- package/dist/types/components/button/button.d.ts +7 -4
- 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 +3 -1
- package/dist/types/components/chip/chip.d.ts +3 -1
- package/dist/types/components/chip/resources.d.ts +3 -2
- package/dist/types/components/color-picker/color-picker.d.ts +58 -18
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +5 -1
- package/dist/types/components/combobox/combobox.d.ts +15 -4
- package/dist/types/components/combobox/resources.d.ts +4 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +2 -0
- package/dist/types/components/date-picker/date-picker.d.ts +32 -3
- package/dist/types/components/date-picker/utils.d.ts +5 -0
- 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 +10 -1
- package/dist/types/components/dropdown/dropdown.d.ts +18 -9
- 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 +3 -3
- package/dist/types/components/filter/resources.d.ts +1 -1
- package/dist/types/components/flow/flow.d.ts +1 -4
- 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 +32 -13
- package/dist/types/components/input/resources.d.ts +3 -0
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +35 -7
- package/dist/types/components/input-message/input-message.d.ts +7 -3
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +15 -2
- package/dist/types/components/interfaces.d.ts +1 -0
- package/dist/types/components/label/label.d.ts +1 -0
- package/dist/types/components/link/link.d.ts +2 -1
- package/dist/types/components/list/list.d.ts +2 -2
- package/dist/types/components/list-item/list-item.d.ts +3 -3
- package/dist/types/components/list-item/resources.d.ts +1 -0
- 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 +37 -28
- package/dist/types/components/notice/notice.d.ts +24 -19
- package/dist/types/components/option/option.d.ts +1 -1
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +13 -3
- package/dist/types/components/panel/panel.d.ts +18 -2
- package/dist/types/components/pick-list/pick-list.d.ts +7 -3
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +9 -3
- package/dist/types/components/popover/PopoverManager.d.ts +13 -0
- package/dist/types/components/popover/popover.d.ts +32 -7
- 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/radio-button/radio-button.d.ts +6 -0
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +2 -1
- package/dist/types/components/rating/rating.d.ts +6 -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 +24 -2
- 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 +20 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +7 -8
- package/dist/types/components/switch/switch.d.ts +3 -1
- package/dist/types/components/tab/tab.d.ts +11 -8
- package/dist/types/components/tab-nav/tab-nav.d.ts +34 -21
- package/dist/types/components/tab-title/tab-title.d.ts +37 -28
- package/dist/types/components/tabs/tabs.d.ts +7 -6
- package/dist/types/components/tile/tile.d.ts +1 -0
- package/dist/types/components/time-picker/time-picker.d.ts +45 -17
- package/dist/types/components/tip-manager/tip-manager.d.ts +7 -1
- 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 +28 -14
- package/dist/types/components/value-list/value-list.d.ts +20 -16
- package/dist/types/components/value-list-item/value-list-item.d.ts +15 -12
- package/dist/types/components.d.ts +606 -252
- package/dist/types/preact.d.ts +63 -59
- 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 +18 -2
- package/dist/types/utils/form.d.ts +34 -5
- 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/popper.d.ts +6 -4
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +3805 -2797
- package/package.json +49 -48
- package/readme.md +4 -5
- package/dist/calcite/p-07f1f162.system.entry.js +0 -5
- package/dist/calcite/p-1263bcc0.entry.js +0 -5
- package/dist/calcite/p-162604a0.entry.js +0 -5
- package/dist/calcite/p-193749c1.entry.js +0 -5
- package/dist/calcite/p-1aeca42a.system.entry.js +0 -5
- package/dist/calcite/p-23145377.entry.js +0 -5
- package/dist/calcite/p-28c333d0.entry.js +0 -5
- package/dist/calcite/p-2bcaed33.entry.js +0 -5
- package/dist/calcite/p-2dd22e8c.system.entry.js +0 -5
- package/dist/calcite/p-2fae8516.system.entry.js +0 -5
- package/dist/calcite/p-31c58f25.entry.js +0 -5
- package/dist/calcite/p-32d6b962.entry.js +0 -5
- package/dist/calcite/p-32efc4cd.system.entry.js +0 -5
- package/dist/calcite/p-34730e94.entry.js +0 -5
- package/dist/calcite/p-364db271.entry.js +0 -5
- package/dist/calcite/p-364f0abe.system.entry.js +0 -5
- package/dist/calcite/p-3915705c.entry.js +0 -5
- package/dist/calcite/p-3e149640.system.entry.js +0 -5
- package/dist/calcite/p-42227a04.entry.js +0 -5
- package/dist/calcite/p-426f011a.entry.js +0 -5
- package/dist/calcite/p-46071f17.entry.js +0 -5
- package/dist/calcite/p-47d38839.entry.js +0 -5
- package/dist/calcite/p-48637359.system.entry.js +0 -5
- package/dist/calcite/p-4905189e.system.entry.js +0 -5
- package/dist/calcite/p-496e907a.system.entry.js +0 -5
- package/dist/calcite/p-4aecbaef.entry.js +0 -5
- package/dist/calcite/p-4afb5a1b.system.entry.js +0 -5
- package/dist/calcite/p-4eae61c5.entry.js +0 -5
- package/dist/calcite/p-54c49493.entry.js +0 -5
- package/dist/calcite/p-55e1a3a0.system.entry.js +0 -5
- package/dist/calcite/p-569150ab.system.entry.js +0 -5
- package/dist/calcite/p-588bfa74.system.js +0 -5
- package/dist/calcite/p-5a8829cd.entry.js +0 -5
- package/dist/calcite/p-5c637131.entry.js +0 -5
- package/dist/calcite/p-5f6e35f3.entry.js +0 -5
- package/dist/calcite/p-614d8925.js +0 -5
- package/dist/calcite/p-6261469d.entry.js +0 -5
- package/dist/calcite/p-653bd7bf.entry.js +0 -5
- package/dist/calcite/p-69d2d9cf.system.entry.js +0 -5
- package/dist/calcite/p-6ab3e489.entry.js +0 -5
- package/dist/calcite/p-6b7b23d0.js +0 -5
- package/dist/calcite/p-6c4a7041.system.entry.js +0 -5
- package/dist/calcite/p-6e0103f5.system.entry.js +0 -5
- package/dist/calcite/p-6ed27595.system.entry.js +0 -5
- package/dist/calcite/p-6fba3e1b.system.entry.js +0 -5
- package/dist/calcite/p-7247b667.system.entry.js +0 -5
- package/dist/calcite/p-7260c869.system.entry.js +0 -5
- package/dist/calcite/p-765c9bef.entry.js +0 -5
- package/dist/calcite/p-7c88d545.js +0 -5
- package/dist/calcite/p-824da4be.entry.js +0 -5
- package/dist/calcite/p-867f7b7a.system.entry.js +0 -5
- package/dist/calcite/p-872e82a6.system.entry.js +0 -5
- package/dist/calcite/p-87888359.entry.js +0 -5
- package/dist/calcite/p-895d22f3.entry.js +0 -5
- package/dist/calcite/p-8b982f91.entry.js +0 -5
- package/dist/calcite/p-8f3a3e4e.js +0 -5
- package/dist/calcite/p-963e9aec.system.entry.js +0 -5
- package/dist/calcite/p-9940b82a.system.entry.js +0 -5
- package/dist/calcite/p-9ad8c7c5.system.entry.js +0 -5
- package/dist/calcite/p-9c913e3a.entry.js +0 -5
- package/dist/calcite/p-9e61d89d.entry.js +0 -5
- package/dist/calcite/p-a9b3ef39.js +0 -5
- package/dist/calcite/p-a9ea7f4f.entry.js +0 -5
- package/dist/calcite/p-aaa21a84.system.entry.js +0 -5
- package/dist/calcite/p-aad14a5d.system.entry.js +0 -5
- package/dist/calcite/p-ac9607f2.system.js +0 -11
- package/dist/calcite/p-afe59546.entry.js +0 -5
- package/dist/calcite/p-b0827b8c.system.entry.js +0 -5
- package/dist/calcite/p-b10af2b4.entry.js +0 -5
- package/dist/calcite/p-b2b6f712.js +0 -5
- package/dist/calcite/p-b3c5247b.system.entry.js +0 -5
- package/dist/calcite/p-b47dc903.system.entry.js +0 -5
- package/dist/calcite/p-b765d197.system.js +0 -5
- package/dist/calcite/p-bb401f25.system.js +0 -5
- package/dist/calcite/p-bccbf58a.entry.js +0 -5
- package/dist/calcite/p-bdcb43b1.system.entry.js +0 -5
- package/dist/calcite/p-bffb4da3.system.entry.js +0 -5
- package/dist/calcite/p-c228a1da.system.entry.js +0 -5
- package/dist/calcite/p-c2caeb2a.system.entry.js +0 -5
- package/dist/calcite/p-c4cb35ba.system.entry.js +0 -5
- package/dist/calcite/p-c5ec8d74.js +0 -11
- package/dist/calcite/p-c9fc13b9.system.entry.js +0 -5
- package/dist/calcite/p-cb847074.entry.js +0 -5
- package/dist/calcite/p-cbc6fee6.entry.js +0 -5
- package/dist/calcite/p-cd5f5c8f.js +0 -5
- package/dist/calcite/p-cd9226a1.system.entry.js +0 -5
- package/dist/calcite/p-daf5f04c.system.js +0 -5
- package/dist/calcite/p-dcf33bb2.js +0 -5
- package/dist/calcite/p-dd9f2e61.js +0 -5
- package/dist/calcite/p-e22ab8fa.entry.js +0 -5
- package/dist/calcite/p-e3280a36.system.entry.js +0 -5
- package/dist/calcite/p-e43605c5.entry.js +0 -5
- package/dist/calcite/p-e4d1651b.system.entry.js +0 -5
- package/dist/calcite/p-e55c5bb4.entry.js +0 -5
- package/dist/calcite/p-ea4119b1.system.entry.js +0 -5
- package/dist/calcite/p-ec9bab33.system.js +0 -5
- package/dist/calcite/p-ecc31b40.system.entry.js +0 -5
- package/dist/calcite/p-edf1e815.system.entry.js +0 -5
- package/dist/calcite/p-ee522afa.system.entry.js +0 -5
- package/dist/calcite/p-ef6b4184.js +0 -5
- package/dist/calcite/p-f09e27b0.system.js +0 -5
- package/dist/calcite/p-fa922721.system.js +0 -5
- package/dist/calcite/p-fe9380a0.system.js +0 -5
- package/dist/components/resources4.js +0 -15
- package/dist/components/resources5.js +0 -32
- package/dist/components/tooltip-manager.js +0 -175
- package/dist/esm-es5/dom-e7fa77b9.js +0 -5
- package/dist/esm-es5/form-5e4609eb.js +0 -5
- package/dist/esm-es5/label-68f22660.js +0 -5
- package/dist/esm-es5/locale-fc850b7c.js +0 -5
- package/dist/esm-es5/number-8779395f.js +0 -5
- package/dist/esm-es5/resources-b5c3d9a7.js +0 -5
- package/dist/esm-es5/sortable.esm-04824d33.js +0 -11
|
@@ -1,15 +1,16 @@
|
|
|
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.83
|
|
4
5
|
*/
|
|
5
6
|
import { proxyCustomElement, HTMLElement, createEvent, Build, h, Host } from '@stencil/core/internal/client';
|
|
6
7
|
import { g as guid } from './guid.js';
|
|
7
|
-
import { g as getElementProp, a as getElementDir } from './dom.js';
|
|
8
|
+
import { g as getElementProp, t as toAriaBoolean, a as getElementDir } from './dom.js';
|
|
8
9
|
import { c as createObserver } from './observers.js';
|
|
9
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
10
11
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
11
12
|
|
|
12
|
-
const tabTitleCss = "@-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{
|
|
13
|
+
const tabTitleCss = "@-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{display:block;-ms-flex:0 1 auto;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;-webkit-margin-start:0px;margin-inline-start:0px;-webkit-margin-end:1.25rem;margin-inline-end:1.25rem}:host([layout=center]){margin-top:0px;margin-bottom:0px;margin-left:1.25rem;margin-right:1.25rem;text-align:center;-ms-flex-preferred-size:12rem;flex-basis:12rem}:host([position=below]) a{border-bottom-width:0px;border-top-width:2px;border-top-color:transparent;border-top-style:solid}:host a{outline-color:transparent}:host(:focus) a{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([active]) a{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) span,:host([disabled]) a{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){-webkit-margin-end:1rem;margin-inline-end:1rem}:host([scale=s]) a,:host([scale=s]) span{padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) a,:host([scale=m]) span{padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){-webkit-margin-end:1.5rem;margin-inline-end:1.5rem}:host([scale=l]) a,:host([scale=l]) span{padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}a,span{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:100%;width:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-pack:center;justify-content:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom-width:2px;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);-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-bottom-color:transparent;border-bottom-style:solid}span{cursor:default}.calcite-tab-title--icon{position:relative;margin:0px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-item-align:center;align-self:center}.calcite-tab-title--icon svg{-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}.container--has-text{padding:0.25rem}.container--has-text .calcite-tab-title--icon.icon-start{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}.container--has-text .calcite-tab-title--icon.icon-end{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([bordered]){-webkit-margin-end:0;margin-inline-end:0}:host([bordered][active]){-webkit-box-shadow:inset 0px -2px var(--calcite-ui-foreground-1);box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][active][position=below]){-webkit-box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1);box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) a,:host([bordered]:focus) a,:host([bordered]:active) a{position:relative}:host([bordered]:hover) a{background-color:var(--calcite-button-transparent-hover);-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}:host([bordered]) a{border-bottom-style:unset}:host([bordered][position=below]) a{border-top-style:unset}:host([active][bordered]) a{border-left:1px solid var(--calcite-ui-border-1);border-right:1px solid var(--calcite-ui-border-1)}:host([bordered]) a,:host([bordered]) span{padding-left:0.75rem;padding-right:0.75rem}:host([bordered][scale=s]) a,:host([bordered][scale=s]) span{padding-left:0.5rem;padding-right:0.5rem}:host([bordered][scale=l]) a,:host([bordered][scale=l]) span{padding-left:1rem;padding-right:1rem}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) a{outline-color:highlight}:host([bordered]) a{border-bottom-style:solid}:host([bordered][position=below]) a{border-top-style:solid}:host([bordered][active]) a{border-bottom-style:none}:host([bordered][position=below][active]) a{border-top-style:none}}";
|
|
13
14
|
|
|
14
15
|
const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
15
16
|
constructor() {
|
|
@@ -17,9 +18,10 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
17
18
|
this.__registerHost();
|
|
18
19
|
this.__attachShadow();
|
|
19
20
|
this.calciteTabsActivate = createEvent(this, "calciteTabsActivate", 7);
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
21
|
+
this.calciteInternalTabsActivate = createEvent(this, "calciteInternalTabsActivate", 7);
|
|
22
|
+
this.calciteInternalTabsFocusNext = createEvent(this, "calciteInternalTabsFocusNext", 7);
|
|
23
|
+
this.calciteInternalTabsFocusPrevious = createEvent(this, "calciteInternalTabsFocusPrevious", 7);
|
|
24
|
+
this.calciteInternalTabTitleRegister = createEvent(this, "calciteInternalTabTitleRegister", 7);
|
|
23
25
|
//--------------------------------------------------------------------------
|
|
24
26
|
//
|
|
25
27
|
// Properties
|
|
@@ -29,25 +31,24 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
29
31
|
this.active = false;
|
|
30
32
|
/** Disable this tab title */
|
|
31
33
|
this.disabled = false;
|
|
32
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
33
37
|
this.bordered = false;
|
|
34
38
|
//--------------------------------------------------------------------------
|
|
35
39
|
//
|
|
36
40
|
// Private State/Props
|
|
37
41
|
//
|
|
38
42
|
//--------------------------------------------------------------------------
|
|
39
|
-
/** watches for changing text content
|
|
43
|
+
/** watches for changing text content */
|
|
40
44
|
this.mutationObserver = createObserver("mutation", () => this.updateHasText());
|
|
41
45
|
/** determine if there is slotted text for styling purposes */
|
|
42
46
|
this.hasText = false;
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
47
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
47
48
|
}
|
|
48
49
|
activeTabChanged() {
|
|
49
50
|
if (this.active) {
|
|
50
|
-
this.emitActiveTab();
|
|
51
|
+
this.emitActiveTab(false);
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
//--------------------------------------------------------------------------
|
|
@@ -73,7 +74,7 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
73
74
|
this.updateHasText();
|
|
74
75
|
}
|
|
75
76
|
if (this.tab && this.active) {
|
|
76
|
-
this.emitActiveTab();
|
|
77
|
+
this.emitActiveTab(false);
|
|
77
78
|
}
|
|
78
79
|
}
|
|
79
80
|
componentWillRender() {
|
|
@@ -94,13 +95,13 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
94
95
|
const showSideBorders = this.bordered && !this.disabled && this.layout !== "center";
|
|
95
96
|
const iconStartEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-start", flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
96
97
|
const iconEndEl = (h("calcite-icon", { class: "calcite-tab-title--icon icon-end", flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
97
|
-
return (h(Host, { "aria-controls": this.controls, "aria-expanded": this.active
|
|
98
|
+
return (h(Host, { "aria-controls": this.controls, "aria-expanded": toAriaBoolean(this.active), id: id, role: "tab" }, h("a", { class: {
|
|
98
99
|
container: true,
|
|
99
100
|
"container--has-text": this.hasText
|
|
100
101
|
}, style: showSideBorders && { width: `${this.parentTabNavEl.indicatorWidth}px` } }, this.iconStart ? iconStartEl : null, h("slot", null), this.iconEnd ? iconEndEl : null)));
|
|
101
102
|
}
|
|
102
103
|
async componentDidLoad() {
|
|
103
|
-
this.
|
|
104
|
+
this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier());
|
|
104
105
|
}
|
|
105
106
|
componentDidRender() {
|
|
106
107
|
updateHostInteraction(this, true);
|
|
@@ -110,17 +111,22 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
110
111
|
// Event Listeners
|
|
111
112
|
//
|
|
112
113
|
//--------------------------------------------------------------------------
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
114
|
+
internalTabChangeHandler(event) {
|
|
115
|
+
const targetTabsEl = event
|
|
116
|
+
.composedPath()
|
|
117
|
+
.find((el) => el.tagName === "CALCITE-TABS");
|
|
118
|
+
if (targetTabsEl !== this.parentTabsEl) {
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
if (this.tab) {
|
|
122
|
+
this.active = this.tab === event.detail.tab;
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
this.getTabIndex().then((index) => {
|
|
126
|
+
this.active = index === event.detail.tab;
|
|
127
|
+
});
|
|
123
128
|
}
|
|
129
|
+
event.stopPropagation();
|
|
124
130
|
}
|
|
125
131
|
onClick() {
|
|
126
132
|
this.emitActiveTab();
|
|
@@ -134,18 +140,18 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
134
140
|
break;
|
|
135
141
|
case "ArrowRight":
|
|
136
142
|
if (getElementDir(this.el) === "ltr") {
|
|
137
|
-
this.
|
|
143
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
138
144
|
}
|
|
139
145
|
else {
|
|
140
|
-
this.
|
|
146
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
141
147
|
}
|
|
142
148
|
break;
|
|
143
149
|
case "ArrowLeft":
|
|
144
150
|
if (getElementDir(this.el) === "ltr") {
|
|
145
|
-
this.
|
|
151
|
+
this.calciteInternalTabsFocusPrevious.emit();
|
|
146
152
|
}
|
|
147
153
|
else {
|
|
148
|
-
this.
|
|
154
|
+
this.calciteInternalTabsFocusNext.emit();
|
|
149
155
|
}
|
|
150
156
|
break;
|
|
151
157
|
}
|
|
@@ -168,6 +174,8 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
168
174
|
return this.tab ? this.tab : this.getTabIndex();
|
|
169
175
|
}
|
|
170
176
|
/**
|
|
177
|
+
* @param tabIds
|
|
178
|
+
* @param titleIds
|
|
171
179
|
* @internal
|
|
172
180
|
*/
|
|
173
181
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
|
@@ -180,11 +188,14 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
180
188
|
var _a;
|
|
181
189
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true, subtree: true });
|
|
182
190
|
}
|
|
183
|
-
emitActiveTab() {
|
|
184
|
-
if (
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
emitActiveTab(userTriggered = true) {
|
|
192
|
+
if (this.disabled) {
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
const payload = { tab: this.tab };
|
|
196
|
+
this.calciteInternalTabsActivate.emit(payload);
|
|
197
|
+
if (userTriggered) {
|
|
198
|
+
this.calciteTabsActivate.emit(payload);
|
|
188
199
|
}
|
|
189
200
|
}
|
|
190
201
|
get el() { return this; }
|
|
@@ -208,7 +219,7 @@ const TabTitle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
208
219
|
"getTabIndex": [64],
|
|
209
220
|
"getTabIdentifier": [64],
|
|
210
221
|
"updateAriaInfo": [64]
|
|
211
|
-
}, [[16, "
|
|
222
|
+
}, [[16, "calciteInternalTabChange", "internalTabChangeHandler"], [0, "click", "onClick"], [0, "keydown", "keyDownHandler"]]]);
|
|
212
223
|
function defineCustomElement() {
|
|
213
224
|
if (typeof customElements === "undefined") {
|
|
214
225
|
return;
|
package/dist/components/tab.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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.83
|
|
4
5
|
*/
|
|
5
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
7
|
import { g as guid } from './guid.js';
|
|
7
|
-
import { n as nodeListToArray } from './dom.js';
|
|
8
|
+
import { t as toAriaBoolean, n as nodeListToArray } from './dom.js';
|
|
8
9
|
|
|
9
10
|
const tabCss = "@-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([active]) section{display:block}:host{display:none;height:100%;width:100%}:host([active]){display:block;height:100%;width:100%;overflow:auto}section{display:none;height:100%;width:100%}:host([scale=s]){padding-top:0.25rem;padding-bottom:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){padding-top:0.75rem;padding-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}";
|
|
10
11
|
|
|
@@ -13,21 +14,15 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
13
14
|
super();
|
|
14
15
|
this.__registerHost();
|
|
15
16
|
this.__attachShadow();
|
|
16
|
-
this.
|
|
17
|
+
this.calciteInternalTabRegister = createEvent(this, "calciteInternalTabRegister", 7);
|
|
17
18
|
/**
|
|
18
19
|
* Show this tab
|
|
19
20
|
*/
|
|
20
21
|
this.active = false;
|
|
21
|
-
/** @internal Parent tabs component scale value */
|
|
22
|
-
this.scale = "m";
|
|
23
|
-
//--------------------------------------------------------------------------
|
|
24
|
-
//
|
|
25
|
-
// Private State/Props
|
|
26
|
-
//
|
|
27
|
-
//--------------------------------------------------------------------------
|
|
28
22
|
/**
|
|
29
23
|
* @internal
|
|
30
24
|
*/
|
|
25
|
+
this.scale = "m";
|
|
31
26
|
this.guid = `calcite-tab-title-${guid()}`;
|
|
32
27
|
}
|
|
33
28
|
//--------------------------------------------------------------------------
|
|
@@ -37,14 +32,17 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
32
|
//--------------------------------------------------------------------------
|
|
38
33
|
render() {
|
|
39
34
|
const id = this.el.id || this.guid;
|
|
40
|
-
return (h(Host, { "aria-expanded": this.active
|
|
35
|
+
return (h(Host, { "aria-expanded": toAriaBoolean(this.active), "aria-labelledby": this.labeledBy, id: id, role: "tabpanel" }, h("section", null, h("slot", null))));
|
|
36
|
+
}
|
|
37
|
+
connectedCallback() {
|
|
38
|
+
this.parentTabsEl = this.el.closest("calcite-tabs");
|
|
41
39
|
}
|
|
42
40
|
componentDidLoad() {
|
|
43
|
-
this.
|
|
41
|
+
this.calciteInternalTabRegister.emit();
|
|
44
42
|
}
|
|
45
43
|
componentWillRender() {
|
|
46
44
|
var _a;
|
|
47
|
-
this.scale = (_a = this.
|
|
45
|
+
this.scale = (_a = this.parentTabsEl) === null || _a === void 0 ? void 0 : _a.scale;
|
|
48
46
|
}
|
|
49
47
|
disconnectedCallback() {
|
|
50
48
|
var _a;
|
|
@@ -58,11 +56,14 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
58
56
|
// Event Listeners
|
|
59
57
|
//
|
|
60
58
|
//--------------------------------------------------------------------------
|
|
61
|
-
|
|
59
|
+
internalTabChangeHandler(event) {
|
|
60
|
+
const targetTabsEl = event
|
|
61
|
+
.composedPath()
|
|
62
|
+
.find((el) => el.tagName === "CALCITE-TABS");
|
|
62
63
|
// to allow `<calcite-tabs>` to be nested we need to make sure this
|
|
63
|
-
// `calciteTabChange` event was actually fired from a
|
|
64
|
-
//
|
|
65
|
-
if (
|
|
64
|
+
// `calciteTabChange` event was actually fired from a within the same
|
|
65
|
+
// `<calcite-tabs>` that is the a parent of this tab.
|
|
66
|
+
if (targetTabsEl !== this.parentTabsEl) {
|
|
66
67
|
return;
|
|
67
68
|
}
|
|
68
69
|
if (this.tab) {
|
|
@@ -73,6 +74,7 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
73
74
|
this.active = index === event.detail.tab;
|
|
74
75
|
});
|
|
75
76
|
}
|
|
77
|
+
event.stopPropagation();
|
|
76
78
|
}
|
|
77
79
|
//--------------------------------------------------------------------------
|
|
78
80
|
//
|
|
@@ -91,6 +93,8 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
91
93
|
//
|
|
92
94
|
//--------------------------------------------------------------------------
|
|
93
95
|
/**
|
|
96
|
+
* @param tabIds
|
|
97
|
+
* @param titleIds
|
|
94
98
|
* @internal
|
|
95
99
|
*/
|
|
96
100
|
async updateAriaInfo(tabIds = [], titleIds = []) {
|
|
@@ -105,7 +109,7 @@ const Tab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
105
109
|
"labeledBy": [32],
|
|
106
110
|
"getTabIndex": [64],
|
|
107
111
|
"updateAriaInfo": [64]
|
|
108
|
-
}, [[16, "
|
|
112
|
+
}, [[16, "calciteInternalTabChange", "internalTabChangeHandler"]]]);
|
|
109
113
|
function defineCustomElement() {
|
|
110
114
|
if (typeof customElements === "undefined") {
|
|
111
115
|
return;
|
package/dist/components/tabs.js
CHANGED
|
@@ -1,6 +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.83
|
|
4
5
|
*/
|
|
5
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
6
7
|
|
|
@@ -8,7 +9,7 @@ const SLOTS = {
|
|
|
8
9
|
tabNav: "tab-nav"
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
const tabsCss = "@-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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);
|
|
12
|
+
const tabsCss = "@-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{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([bordered]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=below])) ::slotted(calcite-tab-nav){margin-bottom:-1px}:host([bordered][position=below]) ::slotted(calcite-tab-nav){margin-top:-1px}:host([bordered][position=below]){-webkit-box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1);box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=below]){-ms-flex-direction:column-reverse;flex-direction:column-reverse}section{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;overflow:hidden;border-top-width:1px;border-top-color:var(--calcite-ui-border-1);border-top-style:solid}:host([position=below]) section{-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-top-width:0px;border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-1)}:host([position=below]:not([bordered])) section{border-bottom-style:solid}@media (forced-colors: active){:host([bordered]) section{border-top-width:0px;border-bottom-width:1px}:host([position=below][bordered]) section{border-top-width:1px;border-bottom-width:0px}}";
|
|
12
13
|
|
|
13
14
|
const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
14
15
|
constructor() {
|
|
@@ -47,14 +48,12 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
47
48
|
//
|
|
48
49
|
//--------------------------------------------------------------------------
|
|
49
50
|
/**
|
|
50
|
-
* @internal
|
|
51
51
|
*
|
|
52
52
|
* Stores an array of ids of `<calcite-tab-titles>`s to match up ARIA
|
|
53
53
|
* attributes.
|
|
54
54
|
*/
|
|
55
55
|
this.titles = [];
|
|
56
56
|
/**
|
|
57
|
-
* @internal
|
|
58
57
|
*
|
|
59
58
|
* Stores an array of ids of `<calcite-tab>`s to match up ARIA attributes.
|
|
60
59
|
*/
|
|
@@ -79,14 +78,16 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
79
78
|
//
|
|
80
79
|
//--------------------------------------------------------------------------
|
|
81
80
|
/**
|
|
81
|
+
* @param e
|
|
82
82
|
* @internal
|
|
83
83
|
*/
|
|
84
|
-
|
|
84
|
+
calciteInternalTabTitleRegister(e) {
|
|
85
85
|
this.titles = [...this.titles, e.target];
|
|
86
86
|
this.registryHandler();
|
|
87
87
|
e.stopPropagation();
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
+
* @param e
|
|
90
91
|
* @internal
|
|
91
92
|
*/
|
|
92
93
|
calciteTabTitleUnregister(e) {
|
|
@@ -95,14 +96,16 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
95
96
|
e.stopPropagation();
|
|
96
97
|
}
|
|
97
98
|
/**
|
|
99
|
+
* @param e
|
|
98
100
|
* @internal
|
|
99
101
|
*/
|
|
100
|
-
|
|
102
|
+
calciteInternalTabRegister(e) {
|
|
101
103
|
this.tabs = [...this.tabs, e.target];
|
|
102
104
|
this.registryHandler();
|
|
103
105
|
e.stopPropagation();
|
|
104
106
|
}
|
|
105
107
|
/**
|
|
108
|
+
* @param e
|
|
106
109
|
* @internal
|
|
107
110
|
*/
|
|
108
111
|
calciteTabUnregister(e) {
|
|
@@ -116,7 +119,6 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
116
119
|
//
|
|
117
120
|
//--------------------------------------------------------------------------
|
|
118
121
|
/**
|
|
119
|
-
* @internal
|
|
120
122
|
*
|
|
121
123
|
* Matches up elements from the internal `tabs` and `titles` to automatically
|
|
122
124
|
* update the ARIA attributes and link `<calcite-tab>` and
|
|
@@ -166,7 +168,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
166
168
|
"bordered": [1540],
|
|
167
169
|
"titles": [32],
|
|
168
170
|
"tabs": [32]
|
|
169
|
-
}, [[0, "
|
|
171
|
+
}, [[0, "calciteInternalTabTitleRegister", "calciteInternalTabTitleRegister"], [16, "calciteTabTitleUnregister", "calciteTabTitleUnregister"], [0, "calciteInternalTabRegister", "calciteInternalTabRegister"], [16, "calciteTabUnregister", "calciteTabUnregister"]]]);
|
|
170
172
|
function defineCustomElement() {
|
|
171
173
|
if (typeof customElements === "undefined") {
|
|
172
174
|
return;
|
package/dist/components/tile.js
CHANGED
|
@@ -1,6 +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.83
|
|
4
5
|
*/
|
|
5
6
|
import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';
|
|
6
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -14,7 +15,7 @@ const SLOTS = {
|
|
|
14
15
|
contentEnd: "content-end"
|
|
15
16
|
};
|
|
16
17
|
|
|
17
|
-
const tileCss = "@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}:host .content-container{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-
|
|
18
|
+
const tileCss = "@-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{-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .container{pointer-events:none;display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:0.5rem}:host .content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;gap:0.5rem;width:10%}:host .content-container{display:-ms-flexbox;display:flex;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:stretch;align-items:stretch;padding:0px;color:var(--calcite-ui-text-2);outline-color:transparent}:host .content-slot-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1)}:host .content-slot-container:first-child{padding-inline:0 0.75rem}:host .content-slot-container:last-child{padding-inline:0.75rem 0}:host .heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .large-visual{-ms-flex-align:center;align-items:center;text-align:center;min-height:12rem}:host .large-visual .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:end;align-self:flex-end}:host .large-visual .content-container{-ms-flex-item-align:center;align-self:center}:host .description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host(:not([embed])){padding:0.75rem;-webkit-box-shadow:0 0 0 1px var(--calcite-ui-border-2);box-shadow:0 0 0 1px var(--calcite-ui-border-2)}:host(:not([embed])[href]:hover){cursor:pointer;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-brand);box-shadow:0 0 0 2px var(--calcite-ui-brand)}:host(:not([embed])[href]:active){-webkit-box-shadow:0 0 0 3px var(--calcite-ui-brand);box-shadow:0 0 0 3px var(--calcite-ui-brand)}:host([icon][heading]:not([description]):not([embed])){padding:0px}:host([icon][heading]:not([description])) .icon{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host([icon][heading]:not([description])) .large-visual{text-align:center}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host(:hover) .heading,:host([active]) .heading{color:var(--calcite-ui-text-1)}:host(:hover) .description,:host([active]) .description{color:var(--calcite-ui-text-2)}";
|
|
18
19
|
|
|
19
20
|
const Tile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
20
21
|
constructor() {
|
|
@@ -36,6 +37,7 @@ const Tile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
36
37
|
this.embed = false;
|
|
37
38
|
/**
|
|
38
39
|
* The focused state of the tile.
|
|
40
|
+
*
|
|
39
41
|
* @internal
|
|
40
42
|
*/
|
|
41
43
|
this.focused = false;
|
|
@@ -1,6 +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.83
|
|
4
5
|
*/
|
|
5
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
6
7
|
import { i as isValidNumber, n as numberKeys, c as isActivationKey } from './number.js';
|
|
@@ -236,64 +237,89 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
236
237
|
super();
|
|
237
238
|
this.__registerHost();
|
|
238
239
|
this.__attachShadow();
|
|
239
|
-
this.
|
|
240
|
-
this.
|
|
241
|
-
this.
|
|
240
|
+
this.calciteInternalTimePickerBlur = createEvent(this, "calciteInternalTimePickerBlur", 7);
|
|
241
|
+
this.calciteInternalTimePickerChange = createEvent(this, "calciteInternalTimePickerChange", 7);
|
|
242
|
+
this.calciteInternalTimePickerFocus = createEvent(this, "calciteInternalTimePickerFocus", 7);
|
|
242
243
|
//--------------------------------------------------------------------------
|
|
243
244
|
//
|
|
244
245
|
// Properties
|
|
245
246
|
//
|
|
246
247
|
//--------------------------------------------------------------------------
|
|
247
|
-
/**
|
|
248
|
+
/**
|
|
249
|
+
* aria-label for the hour input
|
|
250
|
+
*
|
|
248
251
|
* @default "Hour"
|
|
249
252
|
*/
|
|
250
253
|
this.intlHour = TEXT.hour;
|
|
251
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* aria-label for the hour down button
|
|
256
|
+
*
|
|
252
257
|
* @default "Decrease hour"
|
|
253
258
|
*/
|
|
254
259
|
this.intlHourDown = TEXT.hourDown;
|
|
255
|
-
/**
|
|
260
|
+
/**
|
|
261
|
+
* aria-label for the hour up button
|
|
262
|
+
*
|
|
256
263
|
* @default "Increase hour"
|
|
257
264
|
*/
|
|
258
265
|
this.intlHourUp = TEXT.hourUp;
|
|
259
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* aria-label for the meridiem (am/pm) input
|
|
268
|
+
*
|
|
260
269
|
* @default "AM/PM"
|
|
261
270
|
*/
|
|
262
271
|
this.intlMeridiem = TEXT.meridiem;
|
|
263
|
-
/**
|
|
272
|
+
/**
|
|
273
|
+
* aria-label for the meridiem (am/pm) down button
|
|
274
|
+
*
|
|
264
275
|
* @default "Decrease AM/PM"
|
|
265
276
|
*/
|
|
266
277
|
this.intlMeridiemDown = TEXT.meridiemDown;
|
|
267
|
-
/**
|
|
278
|
+
/**
|
|
279
|
+
* aria-label for the meridiem (am/pm) up button
|
|
280
|
+
*
|
|
268
281
|
* @default "Increase AM/PM"
|
|
269
282
|
*/
|
|
270
283
|
this.intlMeridiemUp = TEXT.meridiemUp;
|
|
271
|
-
/**
|
|
284
|
+
/**
|
|
285
|
+
* aria-label for the minute input
|
|
286
|
+
*
|
|
272
287
|
* @default "Minute"
|
|
273
288
|
*/
|
|
274
289
|
this.intlMinute = TEXT.minute;
|
|
275
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* aria-label for the minute down button
|
|
292
|
+
*
|
|
276
293
|
* @default "Decrease minute"
|
|
277
294
|
*/
|
|
278
295
|
this.intlMinuteDown = TEXT.minuteDown;
|
|
279
|
-
/**
|
|
296
|
+
/**
|
|
297
|
+
* aria-label for the minute up button
|
|
298
|
+
*
|
|
280
299
|
* @default "Increase minute"
|
|
281
300
|
*/
|
|
282
301
|
this.intlMinuteUp = TEXT.minuteUp;
|
|
283
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* aria-label for the second input
|
|
304
|
+
*
|
|
284
305
|
* @default "Second"
|
|
285
306
|
*/
|
|
286
307
|
this.intlSecond = TEXT.second;
|
|
287
|
-
/**
|
|
308
|
+
/**
|
|
309
|
+
* aria-label for the second down button
|
|
310
|
+
*
|
|
288
311
|
* @default "Decrease second"
|
|
289
312
|
*/
|
|
290
313
|
this.intlSecondDown = TEXT.secondDown;
|
|
291
|
-
/**
|
|
314
|
+
/**
|
|
315
|
+
* aria-label for the second up button
|
|
316
|
+
*
|
|
292
317
|
* @default "Increase second"
|
|
293
318
|
*/
|
|
294
319
|
this.intlSecondUp = TEXT.secondUp;
|
|
295
320
|
/**
|
|
296
321
|
* BCP 47 language tag for desired language and country format
|
|
322
|
+
*
|
|
297
323
|
* @internal
|
|
298
324
|
*/
|
|
299
325
|
this.locale = document.documentElement.lang || navigator.language || "en";
|
|
@@ -591,7 +617,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
591
617
|
this.value = null;
|
|
592
618
|
}
|
|
593
619
|
if (emit) {
|
|
594
|
-
this.
|
|
620
|
+
this.calciteInternalTimePickerChange.emit();
|
|
595
621
|
}
|
|
596
622
|
};
|
|
597
623
|
this.setValuePart = (key, value, emit = true) => {
|
|
@@ -630,7 +656,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
630
656
|
? ((_a = localizeTimeStringToParts(this.value, this.locale)) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
|
|
631
657
|
: localizeTimePart(this.meridiem, "meridiem", this.locale);
|
|
632
658
|
if (emit) {
|
|
633
|
-
this.
|
|
659
|
+
this.calciteInternalTimePickerChange.emit();
|
|
634
660
|
}
|
|
635
661
|
};
|
|
636
662
|
}
|
|
@@ -641,21 +667,16 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
641
667
|
valueWatcher(newValue) {
|
|
642
668
|
this.setValue(newValue, false);
|
|
643
669
|
}
|
|
644
|
-
hourChanged(newHour) {
|
|
645
|
-
if (this.meridiem && isValidNumber(newHour)) {
|
|
646
|
-
this.setValuePart("meridiem", getMeridiem(newHour));
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
670
|
//--------------------------------------------------------------------------
|
|
650
671
|
//
|
|
651
672
|
// Event Listeners
|
|
652
673
|
//
|
|
653
674
|
//--------------------------------------------------------------------------
|
|
654
675
|
hostBlurHandler() {
|
|
655
|
-
this.
|
|
676
|
+
this.calciteInternalTimePickerBlur.emit();
|
|
656
677
|
}
|
|
657
678
|
hostFocusHandler() {
|
|
658
|
-
this.
|
|
679
|
+
this.calciteInternalTimePickerFocus.emit();
|
|
659
680
|
}
|
|
660
681
|
keyDownHandler(event) {
|
|
661
682
|
const key = event.key;
|
|
@@ -711,7 +732,11 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
711
732
|
// Public Methods
|
|
712
733
|
//
|
|
713
734
|
//--------------------------------------------------------------------------
|
|
714
|
-
/**
|
|
735
|
+
/**
|
|
736
|
+
* Sets focus on the component.
|
|
737
|
+
*
|
|
738
|
+
* @param target
|
|
739
|
+
*/
|
|
715
740
|
async setFocus(target) {
|
|
716
741
|
var _a;
|
|
717
742
|
(_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
@@ -811,8 +836,7 @@ const TimePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
811
836
|
get el() { return this; }
|
|
812
837
|
static get watchers() { return {
|
|
813
838
|
"locale": ["localeWatcher"],
|
|
814
|
-
"value": ["valueWatcher"]
|
|
815
|
-
"hour": ["hourChanged"]
|
|
839
|
+
"value": ["valueWatcher"]
|
|
816
840
|
}; }
|
|
817
841
|
static get style() { return timePickerCss; }
|
|
818
842
|
}, [1, "calcite-time-picker", {
|
package/dist/components/utils.js
CHANGED