@esri/calcite-components 1.0.0-beta.83 → 1.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/th.json +1 -1
- package/dist/calcite/assets/icon/changeDetection16.json +1 -0
- package/dist/calcite/assets/icon/changeDetection24.json +1 -0
- package/dist/calcite/assets/icon/changeDetection32.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/calcite/assets/icon/numberCircle416.json +1 -0
- package/dist/calcite/assets/icon/numberCircle424.json +1 -0
- package/dist/calcite/assets/icon/numberCircle432.json +1 -0
- package/dist/calcite/assets/icon/numberCircle516.json +1 -0
- package/dist/calcite/assets/icon/numberCircle524.json +1 -0
- package/dist/calcite/assets/icon/numberCircle532.json +1 -0
- package/dist/calcite/assets/icon/numberCircle616.json +1 -0
- package/dist/calcite/assets/icon/numberCircle624.json +1 -0
- package/dist/calcite/assets/icon/numberCircle632.json +1 -0
- package/dist/calcite/assets/icon/numberCircle716.json +1 -0
- package/dist/calcite/assets/icon/numberCircle724.json +1 -0
- package/dist/calcite/assets/icon/numberCircle732.json +1 -0
- package/dist/calcite/assets/icon/numberCircle816.json +1 -0
- package/dist/calcite/assets/icon/numberCircle824.json +1 -0
- package/dist/calcite/assets/icon/numberCircle832.json +1 -0
- package/dist/calcite/assets/icon/numberCircle916.json +1 -0
- package/dist/calcite/assets/icon/numberCircle924.json +1 -0
- package/dist/calcite/assets/icon/numberCircle932.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00247a8d.system.js +7 -0
- package/dist/calcite/p-02bb8194.entry.js +6 -0
- package/dist/calcite/p-061aea88.entry.js +6 -0
- package/dist/calcite/{p-1a07da7e.system.js → p-07c6e102.system.js} +2 -2
- package/dist/calcite/{p-98dc9493.entry.js → p-0bfe5ca7.entry.js} +2 -2
- package/dist/calcite/{p-0cbdfc7e.entry.js → p-114d44c3.entry.js} +2 -2
- package/dist/calcite/{p-ccb5a784.js → p-1157ae2f.js} +1 -1
- package/dist/calcite/p-1363adcd.entry.js +6 -0
- package/dist/calcite/p-13d66ebf.entry.js +6 -0
- package/dist/calcite/p-14a22bfc.system.entry.js +6 -0
- package/dist/calcite/{p-9c85d763.system.entry.js → p-14f0920e.system.entry.js} +2 -2
- package/dist/calcite/p-16888553.system.entry.js +6 -0
- package/dist/calcite/p-16dbdef2.system.entry.js +6 -0
- package/dist/calcite/{p-9d3f8b0c.system.entry.js → p-1adea169.system.entry.js} +2 -2
- package/dist/calcite/{p-07587a94.system.entry.js → p-1db25c99.system.entry.js} +2 -2
- package/dist/calcite/{p-85a769d3.system.entry.js → p-204443b0.system.entry.js} +2 -2
- package/dist/calcite/p-20d610fc.entry.js +6 -0
- package/dist/calcite/{p-799f79af.entry.js → p-21a1034c.entry.js} +2 -2
- package/dist/calcite/p-236f1255.system.entry.js +6 -0
- package/dist/calcite/{p-c5eec108.entry.js → p-24d52a72.entry.js} +2 -2
- package/dist/calcite/{p-6d41e372.system.entry.js → p-25349c89.system.entry.js} +2 -2
- package/dist/calcite/{p-df419c8b.entry.js → p-26757de8.entry.js} +2 -2
- package/dist/calcite/p-278c8372.entry.js +6 -0
- package/dist/calcite/p-282106cb.system.js +6 -0
- package/dist/calcite/p-2b531882.entry.js +6 -0
- package/dist/calcite/p-2bf5b9b6.js +6 -0
- package/dist/calcite/p-2ce10f9a.system.js +6 -0
- package/dist/calcite/p-2e3ffd32.system.js +6 -0
- package/dist/calcite/p-30256458.entry.js +6 -0
- package/dist/calcite/{p-8dfe7af3.js → p-34e0b58b.js} +2 -2
- package/dist/calcite/p-352b94a1.system.entry.js +6 -0
- package/dist/calcite/p-39bb68b3.system.js +6 -0
- package/dist/calcite/p-3aefc333.entry.js +6 -0
- package/dist/calcite/{p-7e576c74.system.entry.js → p-3d2eebab.system.entry.js} +2 -2
- package/dist/calcite/{p-2778cb53.entry.js → p-3d8ab9d5.entry.js} +2 -2
- package/dist/calcite/{p-6a966c2f.entry.js → p-4185af29.entry.js} +2 -2
- package/dist/calcite/{p-2785ecb9.system.js → p-4196e498.system.js} +2 -2
- package/dist/calcite/{p-4f82d10a.system.entry.js → p-41cbf505.system.entry.js} +2 -2
- package/dist/calcite/{p-9634f60d.entry.js → p-438d87b0.entry.js} +2 -2
- package/dist/calcite/p-448b3393.system.entry.js +6 -0
- package/dist/calcite/{p-7bbfe1a2.system.entry.js → p-45588eee.system.entry.js} +2 -2
- package/dist/calcite/{p-2f82a677.system.js → p-4908e3a5.system.js} +1 -1
- package/dist/calcite/p-49488c34.entry.js +6 -0
- package/dist/calcite/{p-c86b91ca.entry.js → p-4b414b81.entry.js} +2 -2
- package/dist/calcite/{p-e3076302.system.js → p-4cfef590.system.js} +3 -3
- package/dist/calcite/{p-acafe8ca.system.js → p-4d9c7cc9.system.js} +1 -1
- package/dist/calcite/p-4eb531c4.js +7 -0
- package/dist/calcite/p-4f1dbd36.system.entry.js +6 -0
- package/dist/calcite/p-4f9ce175.js +6 -0
- package/dist/calcite/{p-f7546789.system.js → p-51491e10.system.js} +1 -1
- package/dist/calcite/p-51ffb552.system.entry.js +6 -0
- package/dist/calcite/{p-77762ff3.system.js → p-549e267e.system.js} +1 -1
- package/dist/calcite/p-56f93049.js +6 -0
- package/dist/calcite/{p-f1935a52.entry.js → p-57b60838.entry.js} +2 -2
- package/dist/calcite/{p-5e07a875.system.entry.js → p-594f52ca.system.entry.js} +2 -2
- package/dist/calcite/{p-1a5fc48b.entry.js → p-5bd80046.entry.js} +2 -2
- package/dist/calcite/{p-ae6f5622.js → p-5d7f4169.js} +1 -1
- package/dist/calcite/p-6309de22.entry.js +6 -0
- package/dist/calcite/{p-7d8fe7b3.system.entry.js → p-67a0e692.system.entry.js} +2 -2
- package/dist/calcite/{p-45b6d321.entry.js → p-6a554714.entry.js} +2 -2
- package/dist/calcite/{p-191d0802.system.js → p-6a8f1936.system.js} +2 -2
- package/dist/calcite/p-6cff0a2a.entry.js +6 -0
- package/dist/calcite/{p-4620ae05.entry.js → p-6d1c91ee.entry.js} +2 -2
- package/dist/calcite/p-6d96d61f.system.js +6 -0
- package/dist/calcite/{p-773b540e.system.entry.js → p-6e366971.system.entry.js} +2 -2
- package/dist/calcite/{p-fd70b6c1.entry.js → p-6eadd519.entry.js} +2 -2
- package/dist/calcite/{p-940ac25d.system.entry.js → p-70e1d287.system.entry.js} +2 -2
- package/dist/calcite/{p-59122590.entry.js → p-7168da40.entry.js} +2 -2
- package/dist/calcite/p-74153f82.js +6 -0
- package/dist/calcite/{p-2fd30fee.entry.js → p-74b7ff1f.entry.js} +2 -2
- package/dist/calcite/p-77bc0e49.entry.js +6 -0
- package/dist/calcite/p-7c7ad2d6.entry.js +6 -0
- package/dist/calcite/p-7cc3d924.system.entry.js +6 -0
- package/dist/calcite/{p-292c567d.js → p-7ec42769.js} +1 -1
- package/dist/calcite/{p-4a88016c.system.entry.js → p-7ede3d65.system.entry.js} +2 -2
- package/dist/calcite/{p-912c9e61.system.entry.js → p-8018d689.system.entry.js} +2 -2
- package/dist/calcite/p-8133b2a5.entry.js +6 -0
- package/dist/calcite/{p-2e57803f.entry.js → p-8137bc05.entry.js} +2 -2
- package/dist/calcite/p-8202ad8a.system.entry.js +6 -0
- package/dist/calcite/{p-63d2bcec.system.entry.js → p-82dec536.system.entry.js} +2 -2
- package/dist/calcite/{p-1bc2d58d.system.js → p-82e24e64.system.js} +1 -1
- package/dist/calcite/p-88d2d38a.entry.js +6 -0
- package/dist/calcite/{p-ee47a382.system.entry.js → p-890cc5a8.system.entry.js} +2 -2
- package/dist/calcite/{p-ed0608ea.system.entry.js → p-891e53dd.system.entry.js} +2 -2
- package/dist/calcite/{p-834f407d.system.entry.js → p-8ae680a2.system.entry.js} +2 -2
- package/dist/calcite/{p-d1d05643.entry.js → p-8c25b934.entry.js} +2 -2
- package/dist/calcite/p-8c9e453c.js +6 -0
- package/dist/calcite/{p-eda11878.entry.js → p-90608473.entry.js} +2 -2
- package/dist/calcite/{p-9ba769e3.system.entry.js → p-974b7008.system.entry.js} +2 -2
- package/dist/calcite/p-98a2aa34.entry.js +6 -0
- package/dist/calcite/{p-0e1c259f.system.entry.js → p-98dfd14b.system.entry.js} +2 -2
- package/dist/calcite/p-99551007.system.entry.js +6 -0
- package/dist/calcite/{p-1eb6cfb5.entry.js → p-9c4aa033.entry.js} +2 -2
- package/dist/calcite/p-9c5c3cb3.system.entry.js +6 -0
- package/dist/calcite/p-9c80707e.system.js +6 -0
- package/dist/calcite/{p-fba2fa9f.system.js → p-9d158b37.system.js} +2 -2
- package/dist/calcite/{p-edf3436f.js → p-9e8d6e02.js} +2 -2
- package/dist/calcite/p-9eaf38bc.js +6 -0
- package/dist/calcite/p-9f13e930.entry.js +6 -0
- package/dist/calcite/{p-ef4ca55d.entry.js → p-a0971f99.entry.js} +2 -2
- package/dist/calcite/p-a1208386.entry.js +6 -0
- package/dist/calcite/{p-a1118db1.entry.js → p-a1cc6421.entry.js} +2 -2
- package/dist/calcite/{p-5904a047.entry.js → p-a6e1e1e4.entry.js} +2 -2
- package/dist/calcite/{p-6bcb5a71.system.entry.js → p-a89fc6a1.system.entry.js} +2 -2
- package/dist/calcite/{p-d901c470.system.js → p-a92ac42d.system.js} +1 -1
- package/dist/calcite/{p-2c974b60.js → p-aa9ce421.js} +1 -1
- package/dist/calcite/{p-46d30c39.system.js → p-aaba2ea0.system.js} +1 -1
- package/dist/calcite/{p-476e276f.entry.js → p-b2f27af5.entry.js} +2 -2
- package/dist/calcite/{p-132b60fd.system.entry.js → p-b31d3dad.system.entry.js} +2 -2
- package/dist/calcite/{p-c84f0dec.entry.js → p-b3a4497d.entry.js} +2 -2
- package/dist/calcite/{p-f39d0565.system.entry.js → p-b48feb98.system.entry.js} +2 -2
- package/dist/calcite/p-bb1711f3.js +6 -0
- package/dist/calcite/{p-7a8cddad.js → p-bbd8269c.js} +1 -1
- package/dist/calcite/{p-3b54c4a0.system.entry.js → p-bc5a7fee.system.entry.js} +2 -2
- package/dist/calcite/{p-3f80afb9.system.entry.js → p-bce5ab4f.system.entry.js} +3 -3
- package/dist/calcite/{p-3981a495.js → p-c2ed5f67.js} +1 -1
- package/dist/calcite/p-c78d1678.system.entry.js +6 -0
- package/dist/calcite/p-c9d73fce.system.entry.js +6 -0
- package/dist/calcite/{p-4effc6db.js → p-ca1b7a2e.js} +1 -1
- package/dist/calcite/{p-1ba93966.system.js → p-cc041a12.system.js} +1 -1
- package/dist/calcite/p-ccf1e5d8.entry.js +6 -0
- package/dist/calcite/{p-5afb0fbb.js → p-ce28c259.js} +2 -2
- package/dist/calcite/{p-e9e34c7f.system.entry.js → p-ce34288b.entry.js} +2 -2
- package/dist/calcite/{p-358cba5a.system.entry.js → p-ce654c2c.system.entry.js} +2 -2
- package/dist/calcite/p-d05f35e8.system.js +6 -0
- package/dist/calcite/p-d48cc6d2.entry.js +6 -0
- package/dist/calcite/p-d4f596f2.entry.js +6 -0
- package/dist/calcite/{p-f9687b03.system.js → p-d6d814a6.system.js} +1 -1
- package/dist/calcite/{p-feb71776.system.entry.js → p-d96573eb.system.entry.js} +2 -2
- package/dist/calcite/{p-900fd30e.js → p-dca64e20.js} +2 -2
- package/dist/calcite/{p-0804ce36.system.entry.js → p-dd1e12e4.system.entry.js} +3 -3
- package/dist/calcite/{p-1755cd6f.entry.js → p-dd5185d6.entry.js} +2 -2
- package/dist/calcite/p-dd5e585b.entry.js +6 -0
- package/dist/calcite/{p-f54288ad.js → p-df26aab6.js} +1 -1
- package/dist/calcite/{p-78f2801c.entry.js → p-e2ccf473.entry.js} +2 -2
- package/dist/calcite/p-e345449f.entry.js +6 -0
- package/dist/calcite/{p-ba349f22.system.js → p-e45d0fed.system.js} +1 -1
- package/dist/calcite/{p-2fcac2cf.system.entry.js → p-e5381e40.system.entry.js} +2 -2
- package/dist/calcite/{p-515e5f7e.system.entry.js → p-e6578cf2.system.entry.js} +2 -2
- package/dist/calcite/{p-a75ad7cb.system.js → p-e69d3ca4.system.js} +1 -1
- package/dist/calcite/{p-a3e19cec.entry.js → p-e78d93ed.entry.js} +2 -2
- package/dist/calcite/{p-3962123d.system.entry.js → p-e7b4e5b8.system.entry.js} +2 -2
- package/dist/calcite/{p-e117fad1.system.entry.js → p-e956598c.system.entry.js} +2 -2
- package/dist/calcite/{p-636e43ac.system.entry.js → p-e9c9fb33.system.entry.js} +2 -2
- package/dist/calcite/{p-462cefe9.system.entry.js → p-ebb71e37.system.entry.js} +2 -2
- package/dist/calcite/{p-8e2129c6.system.entry.js → p-ebeb09f0.system.entry.js} +2 -2
- package/dist/calcite/{p-26526a6d.system.entry.js → p-ec8d9088.system.entry.js} +2 -2
- package/dist/calcite/p-eccc820a.entry.js +6 -0
- package/dist/calcite/{p-a73419ab.js → p-ecd12a92.js} +1 -1
- package/dist/calcite/{p-1571ede3.system.entry.js → p-eceb3f95.system.entry.js} +2 -2
- package/dist/calcite/p-ee60b60f.system.entry.js +6 -0
- package/dist/calcite/{p-5ae3ce21.system.entry.js → p-f07627e7.system.entry.js} +3 -3
- package/dist/calcite/p-f14e0497.system.entry.js +6 -0
- package/dist/calcite/p-f2384caf.entry.js +6 -0
- package/dist/calcite/p-f537a6a5.entry.js +6 -0
- package/dist/calcite/{p-c1548c19.js → p-f6760679.js} +2 -2
- package/dist/calcite/{p-fd5a2277.entry.js → p-f8695531.entry.js} +2 -2
- package/dist/calcite/{p-e321018b.js → p-f8cb1eeb.js} +1 -1
- package/dist/calcite/{p-f46cf640.js → p-fb0e5ae3.js} +1 -1
- package/dist/calcite/{p-5b60d64c.system.entry.js → p-fb97a373.system.entry.js} +2 -2
- package/dist/calcite/p-fbbfde67.system.js +6 -0
- package/dist/calcite/{p-0d37d621.system.entry.js → p-fc6a158c.system.entry.js} +2 -2
- package/dist/calcite/p-fca56e68.system.entry.js +6 -0
- package/dist/calcite/{p-57ccba45.system.js → p-fdc7032c.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-988c63cd.js → ExpandToggle-894fe6d0.js} +5 -5
- package/dist/cjs/{Heading-19d7669b.js → Heading-9546b15c.js} +3 -3
- package/dist/cjs/{array-d5bca414.js → array-1c85be7d.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +25 -16
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action.cjs.entry.js +17 -16
- package/dist/cjs/calcite-alert.cjs.entry.js +49 -25
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -12
- package/dist/cjs/calcite-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +10 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +41 -32
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +92 -41
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +34 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +62 -21
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +18 -11
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +41 -39
- package/dist/cjs/calcite-input.cjs.entry.js +76 -48
- package/dist/cjs/calcite-label.cjs.entry.js +12 -8
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +31 -22
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +21 -20
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -25
- package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +26 -12
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +50 -17
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +24 -24
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-462ae1f4.js → conditionalSlot-ecb74d9a.js} +3 -3
- package/dist/cjs/{debounce-5127bc67.js → debounce-a74a2080.js} +1 -1
- package/dist/cjs/{dom-b0904219.js → dom-69c7e941.js} +3 -30
- package/dist/cjs/{forIn-265c8eb3.js → forIn-efe39801.js} +2 -2
- package/dist/cjs/{form-4c32a5c7.js → form-901b31de.js} +8 -5
- package/dist/cjs/{guid-8af0f93c.js → guid-263ed05b.js} +1 -1
- package/dist/cjs/{index-82ee13f7.js → index-8fbe74dd.js} +1 -12
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-15f9fd28.js → interactive-b2df5d51.js} +1 -1
- package/dist/cjs/{interfaces-86334104.js → interfaces-a8a9ed80.js} +1 -1
- package/dist/cjs/key-0fe936c7.js +14 -0
- package/dist/cjs/{label-131d9cce.js → label-f1317d82.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-0becaa93.js +262 -0
- package/dist/cjs/{math-2f83830f.js → math-0877dd01.js} +1 -1
- package/dist/cjs/{observers-f672f664.js → observers-8169781c.js} +1 -1
- package/dist/cjs/{popper-5ca144d4.js → popper-46476990.js} +2 -2
- package/dist/cjs/{resources-0de59f13.js → resources-192c00c3.js} +7 -19
- package/dist/cjs/{resources-24a7ca1a.js → resources-6ac223e5.js} +3 -3
- package/dist/cjs/{resources-06f33bd4.js → resources-80d6cd05.js} +1 -1
- package/dist/cjs/{resources-08dc0a5e.js → resources-93a62cd3.js} +1 -1
- package/dist/cjs/{sortable.esm-8e944897.js → sortable.esm-b7091c1d.js} +1 -1
- package/dist/cjs/{utils-f3a37c0a.js → utils-b1d11545.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +14 -14
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +38 -16
- package/dist/collection/components/accordion-item/accordion-item.js +84 -14
- package/dist/collection/components/action/action.css +37 -11
- package/dist/collection/components/action/action.js +24 -23
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +14 -13
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +11 -11
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -1
- package/dist/collection/components/action-menu/action-menu.js +12 -12
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +16 -15
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +26 -14
- package/dist/collection/components/alert/alert.js +111 -43
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +4 -1
- package/dist/collection/components/avatar/avatar.js +7 -7
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -2
- package/dist/collection/components/block/block.js +49 -6
- package/dist/collection/components/block/resources.js +2 -1
- package/dist/collection/components/block-section/block-section.css +6 -3
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +115 -54
- package/dist/collection/components/button/button.js +3 -2
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +14 -7
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +3 -2
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +4 -0
- package/dist/collection/components/chip/chip.js +22 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +1 -0
- package/dist/collection/components/color-picker/color-picker.js +49 -23
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +19 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +4 -2
- package/dist/collection/components/combobox/combobox.js +178 -48
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +3 -2
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +4 -2
- package/dist/collection/components/combobox-item/combobox-item.js +22 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +2 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +18 -9
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +25 -7
- package/dist/collection/components/date-picker-month-header/resources.js +6 -0
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +130 -23
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +4 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +15 -7
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -2
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +17 -10
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +33 -20
- package/dist/collection/components/input/input.js +151 -71
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -2
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +26 -6
- package/dist/collection/components/label/label.js +20 -13
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +8 -4
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +5 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +20 -9
- package/dist/collection/components/list-item/list-item.js +12 -12
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +17 -17
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +28 -17
- package/dist/collection/components/modal/modal.js +62 -30
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +18 -10
- package/dist/collection/components/notice/notice.js +21 -21
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +6 -6
- package/dist/collection/components/option-group/option-group.js +4 -4
- package/dist/collection/components/pagination/pagination.css +24 -13
- package/dist/collection/components/pagination/pagination.js +20 -20
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +10 -7
- package/dist/collection/components/panel/panel.js +54 -34
- package/dist/collection/components/panel/resources.js +2 -1
- package/dist/collection/components/pick-list/pick-list.js +18 -18
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -15
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +2 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +23 -23
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -4
- package/dist/collection/components/popover/popover.css +2 -1
- package/dist/collection/components/popover/popover.js +34 -34
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +2 -1
- package/dist/collection/components/progress/progress.js +9 -9
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +2 -1
- package/dist/collection/components/radio-group/radio-group.js +10 -4
- package/dist/collection/components/radio-group-item/radio-group-item.css +14 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +2 -2
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +20 -6
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +7 -3
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +11 -4
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.css +18 -8
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +48 -9
- package/dist/collection/components/stepper-item/stepper-item.css +23 -15
- package/dist/collection/components/stepper-item/stepper-item.js +107 -12
- package/dist/collection/components/switch/switch.css +2 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +15 -4
- package/dist/collection/components/tab-nav/tab-nav.js +6 -6
- package/dist/collection/components/tab-title/tab-title.css +49 -13
- package/dist/collection/components/tab-title/tab-title.js +3 -4
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +28 -0
- package/dist/collection/components/tabs/tabs.js +7 -6
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +4 -2
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +2 -1
- package/dist/collection/components/tile-select/tile-select.js +3 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +8 -5
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +4 -2
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +12 -12
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +8 -8
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +16 -5
- package/dist/collection/components/tree-item/tree-item.js +8 -8
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +17 -17
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +2 -1
- package/dist/collection/components/value-list-item/value-list-item.js +16 -16
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +2 -28
- package/dist/collection/utils/filter.js +3 -3
- package/dist/collection/utils/form.js +6 -3
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +8 -9
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +71 -8
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +6 -0
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +5 -5
- package/dist/components/action.js +12 -11
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -4
- package/dist/components/calcite-accordion-item.js +19 -7
- package/dist/components/calcite-accordion.js +8 -8
- package/dist/components/calcite-action-bar.js +6 -5
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +6 -5
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +45 -21
- package/dist/components/calcite-avatar.js +3 -3
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +14 -6
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +34 -24
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -1
- package/dist/components/calcite-combobox.js +85 -32
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +3 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +17 -10
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +4 -3
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +28 -18
- package/dist/components/calcite-notice.js +8 -8
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +9 -9
- package/dist/components/calcite-panel.js +14 -12
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +9 -9
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +6 -3
- package/dist/components/calcite-rating.js +21 -7
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +31 -7
- package/dist/components/calcite-stepper.js +19 -8
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +9 -9
- package/dist/components/calcite-tree-item.js +5 -5
- package/dist/components/calcite-tree.js +4 -4
- package/dist/components/calcite-value-list-item.js +5 -5
- package/dist/components/calcite-value-list.js +10 -10
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +6 -2
- package/dist/components/color-picker-hex-input.js +3 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +27 -8
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -29
- package/dist/components/dropdown.js +56 -15
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +7 -4
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -2
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +90 -5
- package/dist/components/index.js +91 -1
- package/dist/components/input.js +60 -31
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +11 -0
- package/dist/components/label.js +87 -112
- package/dist/components/label2.js +112 -83
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +7 -7
- package/dist/components/locale.js +136 -8
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +7 -7
- package/dist/components/popover.js +19 -19
- package/dist/components/popper.js +2 -2
- package/dist/components/progress.js +4 -4
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -15
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/tab-nav.js +5 -5
- package/dist/components/tab-title.js +3 -4
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +5 -4
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +3 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +683 -390
- package/dist/esm/{ExpandToggle-ce794961.js → ExpandToggle-baf2c551.js} +5 -5
- package/dist/esm/{Heading-9ccb3452.js → Heading-1183c4d7.js} +3 -3
- package/dist/esm/{array-7a76d321.js → array-d7b2d2da.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +25 -16
- package/dist/esm/calcite-action-bar.entry.js +15 -14
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +12 -12
- package/dist/esm/calcite-action-pad.entry.js +14 -13
- package/dist/esm/calcite-action.entry.js +17 -16
- package/dist/esm/calcite-alert.entry.js +49 -25
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +18 -12
- package/dist/esm/calcite-button.entry.js +10 -9
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +10 -7
- package/dist/esm/calcite-color-picker_3.entry.js +41 -32
- package/dist/esm/calcite-combobox_3.entry.js +92 -41
- package/dist/esm/calcite-date-picker_4.entry.js +34 -15
- package/dist/esm/calcite-dropdown_3.entry.js +62 -21
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +18 -11
- package/dist/esm/calcite-graph_2.entry.js +10 -10
- package/dist/esm/calcite-handle.entry.js +6 -5
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -9
- package/dist/esm/calcite-input.entry.js +65 -37
- package/dist/esm/calcite-label.entry.js +12 -8
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +11 -11
- package/dist/esm/calcite-loader.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +31 -22
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-panel.entry.js +21 -20
- package/dist/esm/calcite-pick-list_3.entry.js +25 -25
- package/dist/esm/calcite-popover_2.entry.js +23 -23
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +12 -9
- package/dist/esm/calcite-rating.entry.js +26 -12
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +50 -17
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js +13 -13
- package/dist/esm/calcite-value-list_2.entry.js +24 -24
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-6be8f3bd.js → conditionalSlot-91141c10.js} +3 -3
- package/dist/esm/{debounce-9626aac0.js → debounce-8620d992.js} +1 -1
- package/dist/esm/{dom-4caa79e4.js → dom-0e5130f0.js} +4 -30
- package/dist/esm/{forIn-091a9d50.js → forIn-908ce382.js} +2 -2
- package/dist/esm/{form-7c2e444b.js → form-44145a77.js} +8 -5
- package/dist/esm/{guid-27925469.js → guid-035850cf.js} +1 -1
- package/dist/esm/{index-1e02e91b.js → index-7daa7f57.js} +1 -12
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-32803ed8.js → interactive-26697f71.js} +1 -1
- package/dist/esm/{interfaces-64ad1cde.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm/key-5106532f.js +11 -0
- package/dist/esm/{label-ccf07634.js → label-e58bd849.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-bd54ff3b.js +254 -0
- package/dist/esm/{math-351ff0de.js → math-28a370c3.js} +1 -1
- package/dist/esm/{observers-c18e9524.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm/{popper-44b3ba83.js → popper-1df5bd76.js} +2 -2
- package/dist/esm/{resources-0aacb21d.js → resources-3498bd44.js} +3 -3
- package/dist/esm/{resources-a2cad43d.js → resources-b9270cdb.js} +1 -1
- package/dist/esm/{resources-529884cb.js → resources-d196b6c1.js} +7 -19
- package/dist/esm/{resources-a32d1180.js → resources-daaebdea.js} +1 -1
- package/dist/esm/{sortable.esm-4e7d5c7b.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm/{utils-2f763d44.js → utils-cf3669f8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ce794961.js → ExpandToggle-baf2c551.js} +2 -2
- package/dist/esm-es5/Heading-1183c4d7.js +6 -0
- package/dist/esm-es5/{array-7a76d321.js → array-d7b2d2da.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-6be8f3bd.js → conditionalSlot-91141c10.js} +2 -2
- package/dist/esm-es5/{debounce-9626aac0.js → debounce-8620d992.js} +1 -1
- package/dist/esm-es5/dom-0e5130f0.js +6 -0
- package/dist/esm-es5/{forIn-091a9d50.js → forIn-908ce382.js} +2 -2
- package/dist/esm-es5/form-44145a77.js +6 -0
- package/dist/esm-es5/{guid-27925469.js → guid-035850cf.js} +1 -1
- package/dist/esm-es5/index-7daa7f57.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-32803ed8.js → interactive-26697f71.js} +1 -1
- package/dist/esm-es5/{interfaces-64ad1cde.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm-es5/key-5106532f.js +6 -0
- package/dist/esm-es5/{label-ccf07634.js → label-e58bd849.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-bd54ff3b.js +6 -0
- package/dist/esm-es5/{math-351ff0de.js → math-28a370c3.js} +1 -1
- package/dist/esm-es5/{observers-c18e9524.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm-es5/{popper-44b3ba83.js → popper-1df5bd76.js} +2 -2
- package/dist/esm-es5/{resources-0aacb21d.js → resources-3498bd44.js} +2 -2
- package/dist/esm-es5/{resources-a2cad43d.js → resources-b9270cdb.js} +1 -1
- package/dist/esm-es5/{resources-529884cb.js → resources-d196b6c1.js} +3 -3
- package/dist/esm-es5/{resources-a32d1180.js → resources-daaebdea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-4e7d5c7b.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm-es5/{utils-2f763d44.js → utils-cf3669f8.js} +1 -1
- package/dist/extras/docs-json.json +870 -358
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +7 -7
- package/dist/types/components/accordion-item/accordion-item.d.ts +22 -4
- package/dist/types/components/action/action.d.ts +13 -15
- package/dist/types/components/action-bar/action-bar.d.ts +8 -8
- package/dist/types/components/action-group/action-group.d.ts +7 -7
- package/dist/types/components/action-menu/action-menu.d.ts +7 -7
- package/dist/types/components/action-pad/action-pad.d.ts +10 -10
- package/dist/types/components/alert/alert.d.ts +37 -21
- package/dist/types/components/alert/resources.d.ts +3 -0
- package/dist/types/components/avatar/avatar.d.ts +5 -5
- package/dist/types/components/block/block.d.ts +6 -0
- package/dist/types/components/block/resources.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/color-picker/color-picker.d.ts +8 -5
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +29 -15
- package/dist/types/components/combobox/resources.d.ts +1 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +9 -1
- package/dist/types/components/date-picker/utils.d.ts +1 -1
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
- package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +21 -5
- package/dist/types/components/dropdown/resources.d.ts +3 -0
- package/dist/types/components/flow/flow.d.ts +4 -1
- package/dist/types/components/input/input.d.ts +86 -40
- package/dist/types/components/label/label.d.ts +6 -2
- package/dist/types/components/list/list.d.ts +3 -2
- package/dist/types/components/list-item/list-item.d.ts +9 -9
- package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +6 -6
- package/dist/types/components/modal/modal.d.ts +22 -16
- package/dist/types/components/notice/notice.d.ts +13 -16
- package/dist/types/components/option/option.d.ts +4 -4
- package/dist/types/components/option-group/option-group.d.ts +2 -2
- package/dist/types/components/pagination/pagination.d.ts +11 -11
- package/dist/types/components/panel/panel.d.ts +25 -21
- package/dist/types/components/panel/resources.d.ts +1 -0
- package/dist/types/components/pick-list/pick-list.d.ts +12 -12
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +16 -16
- package/dist/types/components/popover/popover.d.ts +19 -19
- package/dist/types/components/progress/progress.d.ts +5 -5
- package/dist/types/components/radio-button/radio-button.d.ts +1 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/rating/rating.d.ts +2 -0
- package/dist/types/components/stepper/stepper.d.ts +7 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +22 -4
- package/dist/types/components/tabs/interfaces.d.ts +1 -1
- package/dist/types/components/tabs/tabs.d.ts +2 -1
- package/dist/types/components/tooltip/tooltip.d.ts +6 -6
- package/dist/types/components/tree/tree.d.ts +4 -4
- package/dist/types/components/tree-item/tree-item.d.ts +3 -3
- package/dist/types/components/value-list/value-list.d.ts +9 -9
- package/dist/types/components/value-list-item/value-list-item.d.ts +11 -11
- package/dist/types/components.d.ts +666 -472
- package/dist/types/preact.d.ts +14 -6
- package/dist/types/utils/dom.d.ts +0 -8
- package/dist/types/utils/form.d.ts +1 -3
- package/dist/types/utils/locale.d.ts +1 -0
- package/dist/types/utils/number.d.ts +16 -0
- package/dist/types/utils/openCloseComponent.d.ts +26 -0
- package/hydrate/index.js +904 -456
- package/package.json +32 -32
- package/readme.md +10 -2
- package/dist/calcite/p-004e3dc9.js +0 -6
- package/dist/calcite/p-08b6213a.system.js +0 -6
- package/dist/calcite/p-0f41fb58.entry.js +0 -6
- package/dist/calcite/p-0fc84480.js +0 -6
- package/dist/calcite/p-1f94715e.entry.js +0 -6
- package/dist/calcite/p-2111668f.system.entry.js +0 -6
- package/dist/calcite/p-23188966.entry.js +0 -6
- package/dist/calcite/p-24edad61.entry.js +0 -6
- package/dist/calcite/p-25fd5141.entry.js +0 -6
- package/dist/calcite/p-2609d345.system.entry.js +0 -6
- package/dist/calcite/p-37c23e83.system.entry.js +0 -6
- package/dist/calcite/p-3a256056.entry.js +0 -6
- package/dist/calcite/p-3d4548a9.js +0 -6
- package/dist/calcite/p-3f00dc7c.entry.js +0 -6
- package/dist/calcite/p-41b0a2a1.system.js +0 -6
- package/dist/calcite/p-4214c119.system.entry.js +0 -6
- package/dist/calcite/p-47bf0f7d.entry.js +0 -6
- package/dist/calcite/p-47dd3632.entry.js +0 -6
- package/dist/calcite/p-4f71c68d.js +0 -6
- package/dist/calcite/p-506f5631.system.entry.js +0 -6
- package/dist/calcite/p-5207385b.system.entry.js +0 -6
- package/dist/calcite/p-53b147dc.system.entry.js +0 -6
- package/dist/calcite/p-59aae748.entry.js +0 -6
- package/dist/calcite/p-5df0640c.system.entry.js +0 -6
- package/dist/calcite/p-5eb016b6.system.entry.js +0 -6
- package/dist/calcite/p-61483431.system.entry.js +0 -6
- package/dist/calcite/p-623f6224.entry.js +0 -6
- package/dist/calcite/p-64384786.entry.js +0 -6
- package/dist/calcite/p-6531fb85.entry.js +0 -6
- package/dist/calcite/p-67af4998.entry.js +0 -6
- package/dist/calcite/p-67ef236d.entry.js +0 -6
- package/dist/calcite/p-68e3013f.system.js +0 -6
- package/dist/calcite/p-717fac51.entry.js +0 -6
- package/dist/calcite/p-7a95bbeb.entry.js +0 -6
- package/dist/calcite/p-800a9250.entry.js +0 -6
- package/dist/calcite/p-878d7c09.system.js +0 -6
- package/dist/calcite/p-994d99ff.system.js +0 -7
- package/dist/calcite/p-9ea395ee.js +0 -6
- package/dist/calcite/p-a1176eac.system.entry.js +0 -6
- package/dist/calcite/p-a5fd7a87.system.entry.js +0 -6
- package/dist/calcite/p-a81ad35a.entry.js +0 -6
- package/dist/calcite/p-a945b681.system.js +0 -6
- package/dist/calcite/p-adc2b773.entry.js +0 -6
- package/dist/calcite/p-c470cecf.entry.js +0 -6
- package/dist/calcite/p-c96917cb.system.js +0 -6
- package/dist/calcite/p-caea0782.js +0 -7
- package/dist/calcite/p-cbe3c2c0.entry.js +0 -6
- package/dist/calcite/p-ccb27d44.system.entry.js +0 -6
- package/dist/calcite/p-db63dc35.system.entry.js +0 -6
- package/dist/calcite/p-dc10e8bb.system.entry.js +0 -6
- package/dist/calcite/p-ddb96773.system.js +0 -6
- package/dist/calcite/p-e0ff045a.js +0 -6
- package/dist/calcite/p-e6ef10e2.js +0 -6
- package/dist/calcite/p-e7336cab.entry.js +0 -6
- package/dist/calcite/p-ee8f8d7e.entry.js +0 -6
- package/dist/calcite/p-f313806e.entry.js +0 -6
- package/dist/calcite/p-f828bc9b.entry.js +0 -6
- package/dist/calcite/p-f850e63f.system.js +0 -6
- package/dist/calcite/p-f91e835d.entry.js +0 -6
- package/dist/calcite/p-f96d2623.system.entry.js +0 -6
- package/dist/calcite/p-faaa959a.entry.js +0 -6
- package/dist/cjs/locale-6c28abd8.js +0 -131
- package/dist/cjs/number-6f1151e7.js +0 -85
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -13
- package/dist/collection/demos/_assets/head.js +0 -45
- package/dist/collection/demos/_assets/locales.js +0 -223
- package/dist/components/number.js +0 -77
- package/dist/esm/locale-705ed382.js +0 -126
- package/dist/esm/number-bb265f44.js +0 -77
- package/dist/esm-es5/Heading-9ccb3452.js +0 -6
- package/dist/esm-es5/dom-4caa79e4.js +0 -6
- package/dist/esm-es5/form-7c2e444b.js +0 -6
- package/dist/esm-es5/index-1e02e91b.js +0 -7
- package/dist/esm-es5/locale-705ed382.js +0 -6
- package/dist/esm-es5/number-bb265f44.js +0 -6
package/dist/components/chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -26,7 +26,7 @@ const ICONS = {
|
|
|
26
26
|
close: "x"
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{height:2rem;width:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;height:100%;max-width:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-height:100%;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-top:0px;margin-bottom:0px;display:-ms-inline-flexbox;display:inline-flex;-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);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}";
|
|
29
|
+
const chipCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){height:1.5rem;font-size:var(--calcite-font-size--2);--calcite-chip-spacing-unit-l:0.5rem;--calcite-chip-spacing-unit-s:0.25rem}:host([scale=s]) .image-container{height:1.25rem;width:1.25rem}:host([scale=m]){height:2rem;font-size:var(--calcite-font-size--1);--calcite-chip-spacing-unit-l:0.75rem;--calcite-chip-spacing-unit-s:6px}:host([scale=m]) .image-container{height:1.5rem;width:1.5rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host([scale=l]){height:2.75rem;font-size:var(--calcite-font-size-0);--calcite-chip-spacing-unit-l:1rem;--calcite-chip-spacing-unit-s:0.5rem}:host([scale=l]) .image-container{height:2rem;width:2rem;-webkit-padding-start:0.25rem;padding-inline-start:0.25rem}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;cursor:default;-ms-flex-align:center;align-items:center;border-radius:9999px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container{display:-ms-inline-flexbox;display:inline-flex;height:100%;max-width:100%;-ms-flex-align:center;align-items:center}.title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host span{padding:0 var(--calcite-chip-spacing-unit-l)}:host([dismissible]) span{padding-inline:var(--calcite-chip-spacing-unit-l) var(--calcite-chip-spacing-unit-s)}:host([icon]:not([dismissible])) span{padding:0 var(--calcite-chip-spacing-unit-l)}:host button{margin:0px;display:-ms-inline-flexbox;display:inline-flex;max-height:100%;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:stretch;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-appearance:none;border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0;padding:0 var(--calcite-chip-spacing-unit-s);color:inherit;--calcite-chip-transparent-hover:var(--calcite-button-transparent-hover);--calcite-chip-transparent-press:var(--calcite-button-transparent-press)}:host button:hover{background-color:var(--calcite-chip-transparent-hover)}:host button:focus{background-color:var(--calcite-chip-transparent-hover);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host button:active{background-color:var(--calcite-chip-transparent-press)}.image-container{display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:50%}:host slot[name=image]::slotted(*){display:-ms-flexbox;display:flex;height:100%;width:100%;overflow:hidden;border-radius:50%}.chip-icon{position:relative;margin-top:0px;margin-bottom:0px;display:-ms-inline-flexbox;display:inline-flex;-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);-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:var(--calcite-chip-spacing-unit-l);margin-inline-start:var(--calcite-chip-spacing-unit-l);border-start-start-radius:0;border-start-end-radius:50px;border-end-end-radius:50px;border-end-start-radius:0}:host([color=blue][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-info);color:var(--calcite-ui-text-inverse)}:host([color=red][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-danger);color:var(--calcite-ui-text-inverse)}:host([color=yellow][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-warning);color:#151515}:host([color=green][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-success);color:#151515}:host([color=grey][appearance=solid]){border-color:transparent;background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host([color=grey][appearance=solid]) button,:host([color=grey][appearance=solid]) .close-icon{color:var(--calcite-ui-text-3)}:host([color=grey][appearance=solid]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([color=blue][appearance=clear]){border-color:var(--calcite-ui-info)}:host([color=blue][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-info))}:host([color=red][appearance=clear]){border-color:var(--calcite-ui-danger)}:host([color=red][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-danger))}:host([color=yellow][appearance=clear]){border-color:var(--calcite-ui-warning)}:host([color=yellow][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-warning))}:host([color=green][appearance=clear]){border-color:var(--calcite-ui-success)}:host([color=green][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-success))}:host([color=grey][appearance=clear]){border-color:var(--calcite-ui-border-1)}:host([color=grey][appearance=clear]) .chip-icon{color:var(--calcite-ui-icon-color, var(--calcite-ui-text-3))}:host([closed]){display:none}";
|
|
30
30
|
|
|
31
31
|
const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
32
32
|
constructor() {
|
|
@@ -55,6 +55,8 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
55
55
|
this.iconFlipRtl = false;
|
|
56
56
|
/** specify the scale of the chip, defaults to m */
|
|
57
57
|
this.scale = "m";
|
|
58
|
+
/** When true, hides the chip */
|
|
59
|
+
this.closed = false;
|
|
58
60
|
// --------------------------------------------------------------------------
|
|
59
61
|
//
|
|
60
62
|
// Private Methods
|
|
@@ -63,6 +65,7 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
63
65
|
this.closeClickHandler = (event) => {
|
|
64
66
|
event.preventDefault();
|
|
65
67
|
this.calciteChipDismiss.emit(this.el);
|
|
68
|
+
this.closed = true;
|
|
66
69
|
};
|
|
67
70
|
this.guid = guid();
|
|
68
71
|
}
|
|
@@ -113,6 +116,7 @@ const Chip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
113
116
|
"iconFlipRtl": [516, "icon-flip-rtl"],
|
|
114
117
|
"scale": [513],
|
|
115
118
|
"value": [8],
|
|
119
|
+
"closed": [1540],
|
|
116
120
|
"setFocus": [64]
|
|
117
121
|
}]);
|
|
118
122
|
function defineCustomElement() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils.js';
|
|
@@ -243,7 +243,7 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
243
243
|
render() {
|
|
244
244
|
const { intlHex, value } = this;
|
|
245
245
|
const hexInputValue = this.formatForInternalInput(value);
|
|
246
|
-
return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
246
|
+
return (h("div", { class: CSS.container }, h("calcite-input", { class: CSS.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
247
247
|
}
|
|
248
248
|
//--------------------------------------------------------------------------
|
|
249
249
|
//
|
|
@@ -306,6 +306,7 @@ const ColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
306
306
|
"intlNoColor": [1, "intl-no-color"],
|
|
307
307
|
"scale": [513],
|
|
308
308
|
"value": [1537],
|
|
309
|
+
"numberingSystem": [1, "numbering-system"],
|
|
309
310
|
"internalColor": [32],
|
|
310
311
|
"setFocus": [64]
|
|
311
312
|
}, [[2, "keydown", "onInputKeyDown"]]]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
7
|
+
import { c as getThemeName } from './dom.js';
|
|
8
8
|
|
|
9
9
|
function createCommonjsModule(fn, basedir, module) {
|
|
10
10
|
return module = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from '@stencil/core/internal/client';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
|
-
import {
|
|
7
|
+
import { c as getOrder, b as dateFromRange, n as nextMonth, e as prevMonth, l as localizeNumber, f as parseNumber } from './date.js';
|
|
8
8
|
import { H as Heading } from './Heading.js';
|
|
9
9
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
10
10
|
|
|
11
|
+
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
12
|
+
|
|
11
13
|
const datePickerMonthHeaderCss = "@-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}.header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem}:host([scale=s]) .text{margin-top:0.5rem;margin-bottom:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{height:2.25rem}:host([scale=m]) .text{margin-top:0.75rem;margin-bottom:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{height:3rem}:host([scale=l]) .text{margin-top:1rem;margin-bottom:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{height:3.5rem}.chevron{margin-left:-0.25rem;margin-right:-0.25rem;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-style:none;background-color:var(--calcite-ui-foreground-1);padding-left:0.25rem;padding-right:0.25rem;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;width:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.chevron:hover,.chevron:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.chevron:active{background-color:var(--calcite-ui-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-top:auto;margin-bottom:auto;width:100%;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-align:center;line-height:1}.text-nreverse{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.month,.year,.suffix{margin-left:0.25rem;margin-right:0.25rem;margin-top:auto;margin-bottom:auto;display:inline-block;background-color:var(--calcite-ui-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-1);font-size:inherit}.year{position:relative;width:3rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;z-index:2}.year:hover{-webkit-transition-duration:100ms;transition-duration:100ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:outline-color;transition-property:outline-color;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.year--suffix{width:4rem;text-align:left}.year-wrap{position:relative}.suffix{position:absolute;top:0px;left:0px;width:4rem;white-space:nowrap;text-align:left}.suffix__invisible{visibility:hidden}";
|
|
12
14
|
|
|
13
15
|
const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -27,7 +29,7 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
27
29
|
* @param e
|
|
28
30
|
*/
|
|
29
31
|
this.onYearKey = (e) => {
|
|
30
|
-
const localizedYear = e.target.value;
|
|
32
|
+
const localizedYear = this.parseCalendarYear(e.target.value);
|
|
31
33
|
switch (e.key) {
|
|
32
34
|
case "ArrowDown":
|
|
33
35
|
e.preventDefault();
|
|
@@ -40,10 +42,15 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
40
42
|
}
|
|
41
43
|
};
|
|
42
44
|
this.onYearChange = (event) => {
|
|
43
|
-
this.setYear({
|
|
45
|
+
this.setYear({
|
|
46
|
+
localizedYear: this.parseCalendarYear(event.target.value)
|
|
47
|
+
});
|
|
44
48
|
};
|
|
45
49
|
this.onYearInput = (event) => {
|
|
46
|
-
this.setYear({
|
|
50
|
+
this.setYear({
|
|
51
|
+
localizedYear: this.parseCalendarYear(event.target.value),
|
|
52
|
+
commit: false
|
|
53
|
+
});
|
|
47
54
|
};
|
|
48
55
|
this.prevMonthClick = (e) => {
|
|
49
56
|
this.handleArrowClick(e, this.prevMonthDate);
|
|
@@ -91,7 +98,7 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
91
98
|
const activeMonth = this.activeDate.getMonth();
|
|
92
99
|
const { months, unitOrder } = this.localeData;
|
|
93
100
|
const localizedMonth = (months.wide || months.narrow || months.abbreviated)[activeMonth];
|
|
94
|
-
const localizedYear =
|
|
101
|
+
const localizedYear = this.formatCalendarYear(this.activeDate.getFullYear().toString());
|
|
95
102
|
const iconScale = this.scale === "l" ? "m" : "s";
|
|
96
103
|
const order = getOrder(unitOrder);
|
|
97
104
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
@@ -108,6 +115,18 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
108
115
|
this.nextMonthDate = dateFromRange(nextMonth(this.activeDate), this.min, this.max);
|
|
109
116
|
this.prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);
|
|
110
117
|
}
|
|
118
|
+
formatCalendarYear(year) {
|
|
119
|
+
const { localeData } = this;
|
|
120
|
+
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
121
|
+
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
122
|
+
return localizeNumber(parseNumber(year, localeData) + yearOffset, localeData);
|
|
123
|
+
}
|
|
124
|
+
parseCalendarYear(year) {
|
|
125
|
+
const { localeData } = this;
|
|
126
|
+
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
127
|
+
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
128
|
+
return localizeNumber(parseNumber(year, localeData) - yearOffset, localeData);
|
|
129
|
+
}
|
|
111
130
|
getInRangeDate({ localizedYear, offset = 0 }) {
|
|
112
131
|
const { min, max, activeDate, localeData } = this;
|
|
113
132
|
const parsedYear = parseNumber(localizedYear, localeData);
|
|
@@ -131,14 +150,14 @@ const DatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(class extends HTM
|
|
|
131
150
|
* @param root0.offset
|
|
132
151
|
*/
|
|
133
152
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
134
|
-
const { yearInput, activeDate
|
|
153
|
+
const { yearInput, activeDate } = this;
|
|
135
154
|
const inRangeDate = this.getInRangeDate({ localizedYear, offset });
|
|
136
155
|
// if you've supplied a year and it's in range, update active date
|
|
137
156
|
if (inRangeDate) {
|
|
138
157
|
this.calciteDatePickerSelect.emit(inRangeDate);
|
|
139
158
|
}
|
|
140
159
|
if (commit) {
|
|
141
|
-
yearInput.value =
|
|
160
|
+
yearInput.value = this.formatCalendarYear((inRangeDate || activeDate).getFullYear().toString());
|
|
142
161
|
}
|
|
143
162
|
}
|
|
144
163
|
get el() { return this; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { s as sameDate, b as dateFromRange, i as inRange } from './date.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client';
|
|
7
7
|
import { a as locales } from './locale.js';
|
package/dist/components/date.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* Check if date is within a min and max
|
|
@@ -192,4 +192,4 @@ function getDaysDiff(date1, date2) {
|
|
|
192
192
|
return (ts1 - ts2) / (1000 * 3600 * 24);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export { dateFromISO as a, dateFromRange as b, getOrder as c, dateToISO as d,
|
|
195
|
+
export { dateFromISO as a, dateFromRange as b, getOrder as c, dateToISO as d, prevMonth as e, parseNumber as f, getDaysDiff as g, inRange as i, localizeNumber as l, nextMonth as n, parseDateString as p, sameDate as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
package/dist/components/dom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
|
|
@@ -56,32 +56,6 @@ function getRootNode(el) {
|
|
|
56
56
|
function getHost(root) {
|
|
57
57
|
return root.host || null;
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
61
|
-
*
|
|
62
|
-
* @param element
|
|
63
|
-
* @param selector
|
|
64
|
-
* @returns {Element[]} The elements.
|
|
65
|
-
*/
|
|
66
|
-
function queryElementsRoots(element, selector) {
|
|
67
|
-
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
68
|
-
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
69
|
-
function queryFromAll(el, allResults) {
|
|
70
|
-
if (!el) {
|
|
71
|
-
return allResults;
|
|
72
|
-
}
|
|
73
|
-
if (el.assignedSlot) {
|
|
74
|
-
el = el.assignedSlot;
|
|
75
|
-
}
|
|
76
|
-
const rootNode = getRootNode(el);
|
|
77
|
-
const results = Array.from(rootNode.querySelectorAll(selector));
|
|
78
|
-
const uniqueResults = results.filter((result) => !allResults.includes(result));
|
|
79
|
-
allResults = [...allResults, ...uniqueResults];
|
|
80
|
-
const host = getHost(rootNode);
|
|
81
|
-
return host ? queryFromAll(host, allResults) : allResults;
|
|
82
|
-
}
|
|
83
|
-
return queryFromAll(element, []);
|
|
84
|
-
}
|
|
85
59
|
/**
|
|
86
60
|
* This helper queries an element's rootNode and any ancestor rootNodes.
|
|
87
61
|
*
|
|
@@ -205,7 +179,7 @@ function intersects(rect1, rect2) {
|
|
|
205
179
|
* @returns {string} The string conversion of a boolean value ("true" | "false").
|
|
206
180
|
*/
|
|
207
181
|
function toAriaBoolean(value) {
|
|
208
|
-
return (
|
|
182
|
+
return Boolean(value).toString();
|
|
209
183
|
}
|
|
210
184
|
|
|
211
|
-
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b,
|
|
185
|
+
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getSlotted as b, getThemeName as c, intersects as d, ensureId as e, focusElement as f, getElementProp as g, filterDirectChildren as h, isCalciteFocusable as i, closestElementCrossShadowBoundary as j, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s, toAriaBoolean as t };
|
|
@@ -1,11 +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.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
7
7
|
import { t as toAriaBoolean, f as focusElement } from './dom.js';
|
|
8
|
-
import {
|
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, C as CSS, u as updatePopper, c as createPopper, p as popperMenuComputedPlacements } from './popper.js';
|
|
9
9
|
import { c as createObserver } from './observers.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ const SLOTS = {
|
|
|
13
13
|
dropdownTrigger: "dropdown-trigger"
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
const dropdownCss = "@-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-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}: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 .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
16
|
+
const dropdownCss = "@-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-inline-flexbox;display:inline-flex;-ms-flex:0 1 auto;flex:0 1 auto}: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 .calcite-dropdown-wrapper{display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.calcite-dropdown-wrapper .calcite-popper-anim{position:relative;z-index:1;-webkit-transition:var(--calcite-popper-transition);transition:var(--calcite-popper-transition);visibility:hidden;-webkit-transition-property:visibility, opacity, -webkit-transform;transition-property:visibility, opacity, -webkit-transform;transition-property:transform, visibility, opacity;transition-property:transform, visibility, opacity, -webkit-transform;opacity:0;-webkit-box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);border-radius:0.25rem}.calcite-dropdown-wrapper[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.calcite-dropdown-wrapper[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.calcite-dropdown-wrapper[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.calcite-dropdown-wrapper[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.calcite-dropdown-wrapper[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}:host([active]) .calcite-dropdown-wrapper,:host([open]) .calcite-dropdown-wrapper{pointer-events:initial;visibility:visible}:host .calcite-dropdown-content{width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);max-height:90vh;width:var(--calcite-dropdown-width)}.calcite-dropdown-trigger-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}";
|
|
17
17
|
|
|
18
18
|
const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
19
19
|
constructor() {
|
|
@@ -21,15 +21,23 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
21
21
|
this.__registerHost();
|
|
22
22
|
this.__attachShadow();
|
|
23
23
|
this.calciteDropdownSelect = createEvent(this, "calciteDropdownSelect", 7);
|
|
24
|
+
this.calciteDropdownBeforeOpen = createEvent(this, "calciteDropdownBeforeOpen", 7);
|
|
24
25
|
this.calciteDropdownOpen = createEvent(this, "calciteDropdownOpen", 7);
|
|
26
|
+
this.calciteDropdownBeforeClose = createEvent(this, "calciteDropdownBeforeClose", 7);
|
|
25
27
|
this.calciteDropdownClose = createEvent(this, "calciteDropdownClose", 7);
|
|
26
28
|
//--------------------------------------------------------------------------
|
|
27
29
|
//
|
|
28
30
|
// Public Properties
|
|
29
31
|
//
|
|
30
32
|
//--------------------------------------------------------------------------
|
|
31
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Opens or closes the dropdown
|
|
35
|
+
*
|
|
36
|
+
* @deprecated use open instead.
|
|
37
|
+
*/
|
|
32
38
|
this.active = false;
|
|
39
|
+
/** When true, opens the dropdown */
|
|
40
|
+
this.open = false;
|
|
33
41
|
/**
|
|
34
42
|
allow the dropdown to remain open after a selection is made
|
|
35
43
|
if the selection-mode of the selected item's containing group is "none", the dropdown will always close
|
|
@@ -116,8 +124,9 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
116
124
|
scrollerEl.style.minWidth = `${referenceElWidth}px`;
|
|
117
125
|
};
|
|
118
126
|
this.setMaxScrollerHeight = () => {
|
|
119
|
-
const { active, scrollerEl } = this;
|
|
120
|
-
|
|
127
|
+
const { active, scrollerEl, open } = this;
|
|
128
|
+
const isOpen = !(active || open);
|
|
129
|
+
if (!scrollerEl || isOpen) {
|
|
121
130
|
return;
|
|
122
131
|
}
|
|
123
132
|
this.reposition();
|
|
@@ -128,10 +137,18 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
128
137
|
this.setScrollerEl = (scrollerEl) => {
|
|
129
138
|
this.resizeObserver.observe(scrollerEl);
|
|
130
139
|
this.scrollerEl = scrollerEl;
|
|
140
|
+
this.scrollerEl.addEventListener("transitionrun", this.transitionRunHandler);
|
|
131
141
|
};
|
|
132
142
|
this.transitionEnd = (event) => {
|
|
133
143
|
if (event.propertyName === this.activeTransitionProp) {
|
|
134
|
-
this.active ? this.
|
|
144
|
+
this.open || this.active ? this.emitOpenCloseEvent("open") : this.emitOpenCloseEvent("close");
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
this.transitionRunHandler = (event) => {
|
|
148
|
+
if (event.propertyName === this.activeTransitionProp) {
|
|
149
|
+
this.active || this.open
|
|
150
|
+
? this.emitOpenCloseEvent("beforeOpen")
|
|
151
|
+
: this.emitOpenCloseEvent("beforeClose");
|
|
135
152
|
}
|
|
136
153
|
};
|
|
137
154
|
this.setReferenceEl = (el) => {
|
|
@@ -147,7 +164,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
147
164
|
return;
|
|
148
165
|
}
|
|
149
166
|
const key = e.key;
|
|
150
|
-
if (this.active && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
167
|
+
if ((this.open || this.active) && (key === "Escape" || (e.shiftKey && key === "Tab"))) {
|
|
151
168
|
this.closeCalciteDropdown();
|
|
152
169
|
return;
|
|
153
170
|
}
|
|
@@ -170,7 +187,8 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
170
187
|
};
|
|
171
188
|
this.openCalciteDropdown = () => {
|
|
172
189
|
this.active = !this.active;
|
|
173
|
-
|
|
190
|
+
this.open = !this.open;
|
|
191
|
+
if (this.active || this.open) {
|
|
174
192
|
this.el.addEventListener("calciteDropdownOpen", this.toggleOpenEnd);
|
|
175
193
|
}
|
|
176
194
|
};
|
|
@@ -181,10 +199,12 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
181
199
|
return;
|
|
182
200
|
}
|
|
183
201
|
this.active = false;
|
|
202
|
+
this.open = false;
|
|
184
203
|
}
|
|
185
204
|
handleDisabledChange(value) {
|
|
186
205
|
if (!value) {
|
|
187
206
|
this.active = false;
|
|
207
|
+
this.open = false;
|
|
188
208
|
}
|
|
189
209
|
}
|
|
190
210
|
flipPlacementsHandler() {
|
|
@@ -218,14 +238,17 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
218
238
|
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
219
239
|
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
220
240
|
this.destroyPopper();
|
|
241
|
+
if (this.scrollerEl) {
|
|
242
|
+
this.scrollerEl.removeEventListener("transitionrun", this.transitionRunHandler);
|
|
243
|
+
}
|
|
221
244
|
}
|
|
222
245
|
render() {
|
|
223
|
-
const { active } = this;
|
|
224
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!active), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
246
|
+
const { active, open } = this;
|
|
247
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-expanded": toAriaBoolean(active || open), "aria-haspopup": "true", name: SLOTS.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!(active || open)), class: "calcite-dropdown-wrapper", ref: this.setMenuEl }, h("div", { class: {
|
|
225
248
|
["calcite-dropdown-content"]: true,
|
|
226
249
|
[CSS.animation]: true,
|
|
227
|
-
[CSS.animationActive]: active
|
|
228
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !
|
|
250
|
+
[CSS.animationActive]: active || open
|
|
251
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setScrollerEl }, h("div", { hidden: !(open || active) }, h("slot", { onSlotchange: this.updateGroups }))))));
|
|
229
252
|
}
|
|
230
253
|
//--------------------------------------------------------------------------
|
|
231
254
|
//
|
|
@@ -246,7 +269,8 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
246
269
|
: this.createPopper();
|
|
247
270
|
}
|
|
248
271
|
closeCalciteDropdownOnClick(e) {
|
|
249
|
-
|
|
272
|
+
const isOpen = !(this.open || this.active);
|
|
273
|
+
if (isOpen || e.composedPath().includes(this.el)) {
|
|
250
274
|
return;
|
|
251
275
|
}
|
|
252
276
|
this.closeCalciteDropdown(false);
|
|
@@ -260,6 +284,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
260
284
|
return;
|
|
261
285
|
}
|
|
262
286
|
this.active = false;
|
|
287
|
+
this.open = false;
|
|
263
288
|
}
|
|
264
289
|
mouseEnterHandler() {
|
|
265
290
|
if (this.type === "hover") {
|
|
@@ -318,6 +343,19 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
318
343
|
}
|
|
319
344
|
event.stopPropagation();
|
|
320
345
|
}
|
|
346
|
+
emitOpenCloseEvent(componentVisibilityState) {
|
|
347
|
+
const payload = {
|
|
348
|
+
el: this.el
|
|
349
|
+
};
|
|
350
|
+
const emitComponentState = {
|
|
351
|
+
beforeOpen: () => this.calciteDropdownBeforeOpen.emit(payload),
|
|
352
|
+
open: () => this.calciteDropdownOpen.emit(payload),
|
|
353
|
+
beforeClose: () => this.calciteDropdownBeforeClose.emit(payload),
|
|
354
|
+
close: () => this.calciteDropdownClose.emit(payload)
|
|
355
|
+
};
|
|
356
|
+
(emitComponentState[componentVisibilityState] ||
|
|
357
|
+
emitComponentState["The component state is unknown."])();
|
|
358
|
+
}
|
|
321
359
|
getModifiers() {
|
|
322
360
|
const flipModifier = {
|
|
323
361
|
name: "flip",
|
|
@@ -328,7 +366,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
328
366
|
};
|
|
329
367
|
const eventListenerModifier = {
|
|
330
368
|
name: "eventListeners",
|
|
331
|
-
enabled: this.active
|
|
369
|
+
enabled: this.open || this.active
|
|
332
370
|
};
|
|
333
371
|
return [flipModifier, eventListenerModifier];
|
|
334
372
|
}
|
|
@@ -379,6 +417,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
379
417
|
}
|
|
380
418
|
closeCalciteDropdown(focusTrigger = true) {
|
|
381
419
|
this.active = false;
|
|
420
|
+
this.open = false;
|
|
382
421
|
if (focusTrigger) {
|
|
383
422
|
focusElement(this.triggers[0]);
|
|
384
423
|
}
|
|
@@ -416,6 +455,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
416
455
|
get el() { return this; }
|
|
417
456
|
static get watchers() { return {
|
|
418
457
|
"active": ["activeHandler"],
|
|
458
|
+
"open": ["activeHandler"],
|
|
419
459
|
"disabled": ["handleDisabledChange"],
|
|
420
460
|
"flipPlacements": ["flipPlacementsHandler"],
|
|
421
461
|
"maxItems": ["maxItemsHandler"],
|
|
@@ -424,6 +464,7 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
424
464
|
static get style() { return dropdownCss; }
|
|
425
465
|
}, [1, "calcite-dropdown", {
|
|
426
466
|
"active": [1540],
|
|
467
|
+
"open": [1540],
|
|
427
468
|
"disableCloseOnSelect": [516, "disable-close-on-select"],
|
|
428
469
|
"disabled": [516],
|
|
429
470
|
"flipPlacements": [16],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
package/dist/components/forIn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
|
|
7
7
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { j as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { h } from '@stencil/core/internal/client';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -37,8 +37,11 @@ function hasRegisteredFormComponentParent(form, formComponentEl) {
|
|
|
37
37
|
* @param component
|
|
38
38
|
*/
|
|
39
39
|
function submitForm(component) {
|
|
40
|
-
|
|
41
|
-
(
|
|
40
|
+
const { formEl } = component;
|
|
41
|
+
if (!formEl) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
"requestSubmit" in formEl ? formEl.requestSubmit() : formEl.submit();
|
|
42
45
|
}
|
|
43
46
|
/**
|
|
44
47
|
* Helper to reset a form.
|
package/dist/components/graph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { g as guid } from './guid.js';
|
package/dist/components/guid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
|
@@ -67,7 +67,8 @@ const Handle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
67
67
|
// --------------------------------------------------------------------------
|
|
68
68
|
/** Sets focus on the component. */
|
|
69
69
|
async setFocus() {
|
|
70
|
-
|
|
70
|
+
var _a;
|
|
71
|
+
(_a = this.handleButton) === null || _a === void 0 ? void 0 : _a.focus();
|
|
71
72
|
}
|
|
72
73
|
// --------------------------------------------------------------------------
|
|
73
74
|
//
|