@esri/calcite-components 1.0.0-beta.83 → 1.0.0-beta.86
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.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-7d8fe7b3.system.entry.js → p-03005912.system.entry.js} +2 -2
- package/dist/calcite/{p-2c974b60.js → p-038a1a34.js} +1 -1
- package/dist/calcite/{p-07587a94.system.entry.js → p-05acf942.system.entry.js} +2 -2
- package/dist/calcite/{p-46d30c39.system.js → p-078aa8cf.system.js} +1 -1
- package/dist/calcite/p-098bf101.entry.js +6 -0
- package/dist/calcite/p-0ac22887.js +6 -0
- package/dist/calcite/p-0d0ab1c5.system.entry.js +6 -0
- package/dist/calcite/{p-f7546789.system.js → p-12bca4f1.system.js} +1 -1
- package/dist/calcite/{p-3962123d.system.entry.js → p-15a9e209.system.entry.js} +2 -2
- package/dist/calcite/{p-1bc2d58d.system.js → p-17bb1d46.system.js} +1 -1
- package/dist/calcite/p-17c8a622.system.entry.js +6 -0
- package/dist/calcite/p-1b79a3a3.entry.js +6 -0
- package/dist/calcite/p-1b939beb.system.entry.js +6 -0
- package/dist/calcite/p-1e7d3d02.system.entry.js +6 -0
- package/dist/calcite/{p-0d37d621.system.entry.js → p-1e9d27fe.system.entry.js} +3 -3
- package/dist/calcite/{p-2fcac2cf.system.entry.js → p-1ef82cc5.system.entry.js} +2 -2
- package/dist/calcite/p-1f0bf183.system.entry.js +6 -0
- package/dist/calcite/{p-fd70b6c1.entry.js → p-1f289404.entry.js} +2 -2
- package/dist/calcite/p-22217b06.entry.js +6 -0
- package/dist/calcite/p-247f1abc.entry.js +6 -0
- package/dist/calcite/p-27f31e04.js +6 -0
- package/dist/calcite/p-283ed748.entry.js +6 -0
- package/dist/calcite/p-29122323.system.entry.js +6 -0
- package/dist/calcite/{p-2f82a677.system.js → p-29c3c079.system.js} +1 -1
- package/dist/calcite/p-29c6691b.js +6 -0
- package/dist/calcite/{p-7a8cddad.js → p-2c78140e.js} +1 -1
- package/dist/calcite/{p-57ccba45.system.js → p-2ce0209d.system.js} +1 -1
- package/dist/calcite/p-2d556f94.system.entry.js +6 -0
- package/dist/calcite/p-2d7b7215.system.entry.js +6 -0
- package/dist/calcite/p-2efde396.js +6 -0
- package/dist/calcite/p-2f717afb.js +6 -0
- package/dist/calcite/{p-6bcb5a71.system.entry.js → p-2f906310.system.entry.js} +2 -2
- package/dist/calcite/{p-e321018b.js → p-336d62ab.js} +1 -1
- package/dist/calcite/p-33e02930.entry.js +6 -0
- package/dist/calcite/{p-834f407d.system.entry.js → p-36183756.system.entry.js} +2 -2
- package/dist/calcite/p-36ee6a02.entry.js +6 -0
- package/dist/calcite/p-37f621e1.entry.js +6 -0
- package/dist/calcite/p-386d256d.entry.js +6 -0
- package/dist/calcite/p-39201c6f.entry.js +6 -0
- package/dist/calcite/p-40825758.entry.js +6 -0
- package/dist/calcite/p-40ddce6a.system.entry.js +6 -0
- package/dist/calcite/{p-358cba5a.system.entry.js → p-4178c522.system.entry.js} +2 -2
- package/dist/calcite/p-451e4a81.entry.js +6 -0
- package/dist/calcite/p-498af5d7.system.entry.js +6 -0
- package/dist/calcite/{p-78f2801c.entry.js → p-4a1a8fac.entry.js} +2 -2
- package/dist/calcite/{p-5afb0fbb.js → p-4c3e960e.js} +2 -2
- package/dist/calcite/p-4c62aae1.system.js +6 -0
- package/dist/calcite/p-4f206065.system.js +6 -0
- package/dist/calcite/{p-1eb6cfb5.entry.js → p-52474c34.entry.js} +2 -2
- package/dist/calcite/{p-85a769d3.system.entry.js → p-55b9c3d8.system.entry.js} +2 -2
- package/dist/calcite/p-58ba388d.entry.js +6 -0
- package/dist/calcite/{p-9d3f8b0c.system.entry.js → p-62f31a5a.system.entry.js} +2 -2
- package/dist/calcite/{p-98dc9493.entry.js → p-645da33b.entry.js} +2 -2
- package/dist/calcite/{p-ba349f22.system.js → p-64abac3a.system.js} +1 -1
- package/dist/calcite/p-660b54aa.system.js +6 -0
- package/dist/calcite/{p-2785ecb9.system.js → p-661fe743.system.js} +2 -2
- package/dist/calcite/{p-2e57803f.entry.js → p-667c6be1.entry.js} +2 -2
- package/dist/calcite/{p-e117fad1.system.entry.js → p-670df541.system.entry.js} +2 -2
- package/dist/calcite/{p-f9687b03.system.js → p-694231fe.system.js} +1 -1
- package/dist/calcite/{p-462cefe9.system.entry.js → p-6abdcefa.system.entry.js} +2 -2
- package/dist/calcite/{p-9c85d763.system.entry.js → p-6c4c7404.system.entry.js} +2 -2
- package/dist/calcite/{p-fd5a2277.entry.js → p-6e59222f.entry.js} +2 -2
- package/dist/calcite/p-6f3fad62.system.entry.js +6 -0
- package/dist/calcite/{p-7bbfe1a2.system.entry.js → p-705dcfd0.system.entry.js} +2 -2
- package/dist/calcite/{p-c86b91ca.entry.js → p-7124aeac.entry.js} +2 -2
- package/dist/calcite/{p-59122590.entry.js → p-718bec4c.entry.js} +2 -2
- package/dist/calcite/p-71df706c.system.entry.js +6 -0
- package/dist/calcite/p-7285074f.entry.js +6 -0
- package/dist/calcite/{p-4620ae05.entry.js → p-72ac5927.entry.js} +2 -2
- package/dist/calcite/{p-ef4ca55d.entry.js → p-72d06cc6.entry.js} +2 -2
- package/dist/calcite/{p-292c567d.js → p-741a874b.js} +1 -1
- package/dist/calcite/{p-5ae3ce21.system.entry.js → p-7624aeb6.system.entry.js} +2 -2
- package/dist/calcite/{p-77762ff3.system.js → p-786ca76b.system.js} +1 -1
- package/dist/calcite/p-78f82837.system.entry.js +6 -0
- package/dist/calcite/{p-f46cf640.js → p-7bdab3f4.js} +1 -1
- package/dist/calcite/{p-900fd30e.js → p-7f519a6f.js} +2 -2
- package/dist/calcite/{p-d1d05643.entry.js → p-81460471.entry.js} +2 -2
- package/dist/calcite/p-822445af.entry.js +6 -0
- package/dist/calcite/p-82655fe7.entry.js +6 -0
- package/dist/calcite/{p-e9e34c7f.system.entry.js → p-82c99865.entry.js} +2 -2
- package/dist/calcite/{p-8e2129c6.system.entry.js → p-8381e935.system.entry.js} +2 -2
- package/dist/calcite/{p-1755cd6f.entry.js → p-85fab359.entry.js} +2 -2
- package/dist/calcite/{p-773b540e.system.entry.js → p-869ceaf2.system.entry.js} +2 -2
- package/dist/calcite/p-8701d6ec.js +6 -0
- package/dist/calcite/p-881346ec.system.entry.js +6 -0
- package/dist/calcite/{p-d901c470.system.js → p-8a1593db.system.js} +1 -1
- package/dist/calcite/{p-3f80afb9.system.entry.js → p-8b8580be.system.entry.js} +3 -3
- package/dist/calcite/{p-994d99ff.system.js → p-8d7bcbbe.system.js} +1 -1
- package/dist/calcite/{p-4a88016c.system.entry.js → p-8d90241c.system.entry.js} +2 -2
- package/dist/calcite/{p-f54288ad.js → p-8e5b28c2.js} +1 -1
- package/dist/calcite/{p-5e07a875.system.entry.js → p-8e8279db.system.entry.js} +2 -2
- package/dist/calcite/p-8e962e28.system.js +6 -0
- package/dist/calcite/{p-ae6f5622.js → p-8f789b45.js} +1 -1
- package/dist/calcite/{p-a1118db1.entry.js → p-8f8f1f3c.entry.js} +2 -2
- package/dist/calcite/{p-1ba93966.system.js → p-9191aae7.system.js} +1 -1
- package/dist/calcite/p-92c0a612.entry.js +6 -0
- package/dist/calcite/{p-8dfe7af3.js → p-93fb8320.js} +2 -2
- package/dist/calcite/{p-fba2fa9f.system.js → p-94e059ed.system.js} +2 -2
- package/dist/calcite/p-97f24602.entry.js +6 -0
- package/dist/calcite/{p-0804ce36.system.entry.js → p-97fef747.system.entry.js} +2 -2
- package/dist/calcite/p-99306484.entry.js +6 -0
- package/dist/calcite/{p-26526a6d.system.entry.js → p-9c3e33db.system.entry.js} +2 -2
- package/dist/calcite/{p-191d0802.system.js → p-9d82f6ba.system.js} +2 -2
- package/dist/calcite/p-9e7c867f.entry.js +6 -0
- package/dist/calcite/p-a1dec328.system.entry.js +6 -0
- package/dist/calcite/{p-1a5fc48b.entry.js → p-a2b65dca.entry.js} +2 -2
- package/dist/calcite/{p-df419c8b.entry.js → p-a5318c00.entry.js} +2 -2
- package/dist/calcite/p-a574d688.entry.js +6 -0
- package/dist/calcite/p-a6da6fa9.entry.js +6 -0
- package/dist/calcite/{p-0e1c259f.system.entry.js → p-a6ec6d30.system.entry.js} +2 -2
- package/dist/calcite/{p-5b60d64c.system.entry.js → p-a792b4d4.system.entry.js} +2 -2
- package/dist/calcite/p-a8d26072.entry.js +6 -0
- package/dist/calcite/p-a8e86b7c.system.js +6 -0
- package/dist/calcite/p-a930b4c7.system.entry.js +6 -0
- package/dist/calcite/p-aa40e505.entry.js +6 -0
- package/dist/calcite/p-ad42a290.system.entry.js +6 -0
- package/dist/calcite/{p-edf3436f.js → p-ae579245.js} +2 -2
- package/dist/calcite/p-afa96d7b.entry.js +6 -0
- package/dist/calcite/p-b3b7d99f.entry.js +6 -0
- package/dist/calcite/{p-4f82d10a.system.entry.js → p-b3c08277.system.entry.js} +2 -2
- package/dist/calcite/{p-3981a495.js → p-b4afbab0.js} +1 -1
- package/dist/calcite/{p-a75ad7cb.system.js → p-ba04d4a6.system.js} +1 -1
- package/dist/calcite/{p-2778cb53.entry.js → p-bae5371e.entry.js} +2 -2
- package/dist/calcite/p-bbad2c78.entry.js +6 -0
- package/dist/calcite/p-bbbf6fcb.system.entry.js +6 -0
- package/dist/calcite/p-bbc195d0.system.entry.js +6 -0
- package/dist/calcite/p-bc9c9c9b.js +6 -0
- package/dist/calcite/{p-e3076302.system.js → p-bdbeb0b8.system.js} +3 -3
- package/dist/calcite/{p-5904a047.entry.js → p-be0b7ae8.entry.js} +2 -2
- package/dist/calcite/{p-636e43ac.system.entry.js → p-bed13ccd.system.entry.js} +2 -2
- package/dist/calcite/p-c075111b.system.entry.js +6 -0
- package/dist/calcite/{p-ed0608ea.system.entry.js → p-c09197e1.system.entry.js} +2 -2
- package/dist/calcite/{p-6d41e372.system.entry.js → p-c3200434.system.entry.js} +2 -2
- package/dist/calcite/{p-c1548c19.js → p-c7e8f753.js} +2 -2
- package/dist/calcite/{p-eda11878.entry.js → p-cda3843c.entry.js} +2 -2
- package/dist/calcite/p-cfbd1180.entry.js +6 -0
- package/dist/calcite/p-d1fef3a5.entry.js +6 -0
- package/dist/calcite/{p-2fd30fee.entry.js → p-d313af3b.entry.js} +2 -2
- package/dist/calcite/{p-63d2bcec.system.entry.js → p-d69560ee.system.entry.js} +2 -2
- package/dist/calcite/{p-acafe8ca.system.js → p-d713b734.system.js} +1 -1
- package/dist/calcite/p-d7614205.entry.js +6 -0
- package/dist/calcite/{p-3b54c4a0.system.entry.js → p-d8cca171.system.entry.js} +2 -2
- package/dist/calcite/{p-9634f60d.entry.js → p-d8d3ee29.entry.js} +2 -2
- package/dist/calcite/p-d91ab8b3.system.entry.js +6 -0
- package/dist/calcite/p-da045e5a.system.js +6 -0
- package/dist/calcite/p-da603fb6.system.js +6 -0
- package/dist/calcite/{p-132b60fd.system.entry.js → p-dc5681bd.system.entry.js} +2 -2
- package/dist/calcite/{p-9ba769e3.system.entry.js → p-dda6305e.system.entry.js} +2 -2
- package/dist/calcite/{p-476e276f.entry.js → p-dfd66185.entry.js} +2 -2
- package/dist/calcite/{p-caea0782.js → p-e2a9bc3c.js} +1 -1
- package/dist/calcite/p-e4a9f3a3.entry.js +6 -0
- package/dist/calcite/p-e5100a68.system.entry.js +6 -0
- package/dist/calcite/p-e55af056.entry.js +6 -0
- package/dist/calcite/{p-4effc6db.js → p-e6ad54a7.js} +1 -1
- package/dist/calcite/{p-f1935a52.entry.js → p-ec0ff216.entry.js} +2 -2
- package/dist/calcite/{p-0cbdfc7e.entry.js → p-ee4221f2.entry.js} +2 -2
- package/dist/calcite/p-ef596bf4.system.js +6 -0
- package/dist/calcite/p-f00b1294.entry.js +6 -0
- package/dist/calcite/{p-feb71776.system.entry.js → p-f1b829e3.system.entry.js} +2 -2
- package/dist/calcite/p-f29e929e.system.entry.js +6 -0
- package/dist/calcite/{p-a73419ab.js → p-f54622d6.js} +1 -1
- package/dist/calcite/{p-ccb5a784.js → p-f70b3399.js} +1 -1
- package/dist/calcite/p-f8798ee9.system.js +6 -0
- package/dist/calcite/{p-45b6d321.entry.js → p-fcbb3104.entry.js} +2 -2
- package/dist/calcite/p-fe758da5.system.entry.js +6 -0
- package/dist/calcite/{p-515e5f7e.system.entry.js → p-ffc4d4f5.system.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-988c63cd.js → ExpandToggle-62479ccb.js} +5 -5
- package/dist/cjs/{Heading-19d7669b.js → Heading-f792c5a6.js} +3 -3
- package/dist/cjs/{array-d5bca414.js → array-b72d7dd3.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +25 -16
- package/dist/cjs/calcite-action-bar.cjs.entry.js +16 -15
- 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 +15 -14
- 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 +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +18 -9
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +41 -32
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +96 -45
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +34 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +63 -22
- 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 +37 -21
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +531 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +59 -46
- 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 +21 -15
- 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 +36 -25
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -25
- package/dist/cjs/calcite-popover_2.cjs.entry.js +29 -25
- 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 +15 -15
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +99 -34
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-462ae1f4.js → conditionalSlot-d1eb82ce.js} +3 -3
- package/dist/cjs/{debounce-5127bc67.js → debounce-d2139fc6.js} +1 -1
- package/dist/cjs/{dom-b0904219.js → dom-99c1b44d.js} +3 -30
- package/dist/cjs/{forIn-265c8eb3.js → forIn-9ac96598.js} +2 -2
- package/dist/cjs/{form-4c32a5c7.js → form-4d1ef8c2.js} +8 -5
- package/dist/cjs/{guid-8af0f93c.js → guid-609f1c0d.js} +1 -1
- package/dist/cjs/{index-82ee13f7.js → index-68ddfe8e.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-15f9fd28.js → interactive-d1ef280c.js} +1 -1
- package/dist/cjs/{interfaces-86334104.js → interfaces-a3bdc804.js} +1 -1
- package/dist/cjs/key-017aa5b0.js +14 -0
- package/dist/cjs/{label-131d9cce.js → label-e24023c6.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-2d8feb15.js +262 -0
- package/dist/cjs/{math-2f83830f.js → math-7fe3e64d.js} +1 -1
- package/dist/cjs/{observers-f672f664.js → observers-aa7367df.js} +1 -1
- package/dist/cjs/{popper-5ca144d4.js → popper-f29f9a3b.js} +2 -2
- package/dist/cjs/{resources-0de59f13.js → resources-0c0019fb.js} +13 -19
- package/dist/cjs/{resources-24a7ca1a.js → resources-9aaa6e0a.js} +3 -3
- package/dist/cjs/{resources-06f33bd4.js → resources-a7f0af25.js} +1 -1
- package/dist/cjs/{resources-08dc0a5e.js → resources-b4ed54b9.js} +1 -1
- package/dist/cjs/{sortable.esm-8e944897.js → sortable.esm-6dc17794.js} +1 -1
- package/dist/cjs/{utils-f3a37c0a.js → utils-53d98078.js} +1 -1
- package/dist/collection/collection-manifest.json +7 -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 +55 -18
- 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.css +1 -0
- 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.css +1 -0
- 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 +15 -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 +8 -2
- package/dist/collection/components/chip/chip.js +52 -4
- 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 +10 -2
- package/dist/collection/components/combobox/combobox.js +179 -49
- 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 +8 -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 +6 -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 +10 -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 +16 -11
- 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 +46 -11
- package/dist/collection/components/input-date-picker/resources.js +9 -0
- 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/input-number.css +509 -0
- package/dist/collection/components/input-number/input-number.js +1251 -0
- package/dist/collection/components/input-number/interfaces.js +6 -0
- package/dist/collection/components/input-number/resources.js +27 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +45 -10
- 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 +49 -22
- 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 +114 -40
- 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 +5 -1
- package/dist/collection/components/pick-list/shared-list-render.js +4 -15
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +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 +62 -37
- 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.css +3 -0
- 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 +22 -9
- package/dist/collection/components/tree-item/tree-item.js +8 -8
- package/dist/collection/components/value-list/interfaces.js +6 -0
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +49 -0
- package/dist/collection/components/value-list/value-list.js +116 -26
- 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 +18 -18
- 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 +4 -3
- package/dist/components/calcite-accordion-item.js +19 -7
- package/dist/components/calcite-accordion.js +8 -8
- package/dist/components/calcite-action-bar.js +7 -6
- 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 +7 -6
- 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 +2 -2
- package/dist/components/calcite-combobox-item.js +3 -2
- 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 +4 -3
- 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 +1 -1
- package/dist/components/calcite-input-date-picker.js +31 -14
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.d.ts +11 -0
- package/dist/components/calcite-input-number.js +592 -0
- package/dist/components/calcite-input-time-picker.js +22 -9
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- 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 +16 -9
- 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 +31 -17
- 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 +1 -1
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +5 -2
- package/dist/components/calcite-rating.js +20 -6
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- 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 +3 -3
- 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 +8 -8
- package/dist/components/calcite-tree-item.js +7 -7
- package/dist/components/calcite-tree.js +5 -5
- package/dist/components/calcite-value-list-item.js +7 -7
- package/dist/components/calcite-value-list.js +89 -20
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +15 -4
- 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 +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -29
- package/dist/components/dropdown.js +55 -14
- 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.js +1 -1
- package/dist/components/input.js +59 -30
- 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 +2 -2
- package/dist/components/label2.js +10 -6
- 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 +25 -20
- package/dist/components/popper.js +1 -1
- 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 +9 -16
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +6 -6
- 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.d.ts +6 -0
- package/dist/custom-elements/index.js +1628 -698
- package/dist/esm/{ExpandToggle-ce794961.js → ExpandToggle-7076d600.js} +5 -5
- package/dist/esm/{Heading-9ccb3452.js → Heading-5ccb3b17.js} +3 -3
- package/dist/esm/{array-7a76d321.js → array-48f23287.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +25 -16
- package/dist/esm/calcite-action-bar.entry.js +16 -15
- 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 +15 -14
- 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 +7 -7
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +18 -9
- package/dist/esm/calcite-color-picker_3.entry.js +41 -32
- package/dist/esm/calcite-combobox_3.entry.js +96 -45
- package/dist/esm/calcite-date-picker_4.entry.js +34 -15
- package/dist/esm/calcite-dropdown_3.entry.js +63 -22
- 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 +39 -23
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +527 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +29 -16
- 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 +21 -15
- 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 +36 -25
- package/dist/esm/calcite-pick-list_3.entry.js +25 -25
- package/dist/esm/calcite-popover_2.entry.js +29 -25
- 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 +15 -15
- package/dist/esm/calcite-value-list_2.entry.js +99 -34
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-6be8f3bd.js → conditionalSlot-13c69fa9.js} +3 -3
- package/dist/esm/{debounce-9626aac0.js → debounce-bef6fc2c.js} +1 -1
- package/dist/esm/{dom-4caa79e4.js → dom-6c1f7204.js} +4 -30
- package/dist/esm/{forIn-091a9d50.js → forIn-566610cc.js} +2 -2
- package/dist/esm/{form-7c2e444b.js → form-115e3241.js} +8 -5
- package/dist/esm/{guid-27925469.js → guid-9ee41ac6.js} +1 -1
- package/dist/esm/{index-1e02e91b.js → index-dfcf10d7.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-32803ed8.js → interactive-2a03c362.js} +1 -1
- package/dist/esm/{interfaces-64ad1cde.js → interfaces-02cee59d.js} +1 -1
- package/dist/esm/key-1219c482.js +11 -0
- package/dist/esm/{label-ccf07634.js → label-b30a7cde.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-98144f51.js +254 -0
- package/dist/esm/{math-351ff0de.js → math-7409ae0d.js} +1 -1
- package/dist/esm/{observers-c18e9524.js → observers-fa0db945.js} +1 -1
- package/dist/esm/{popper-44b3ba83.js → popper-f38ba1ab.js} +2 -2
- package/dist/esm/{resources-0aacb21d.js → resources-3157143b.js} +3 -3
- package/dist/esm/{resources-a32d1180.js → resources-3b67e62a.js} +1 -1
- package/dist/esm/{resources-a2cad43d.js → resources-7198828a.js} +1 -1
- package/dist/esm/{resources-529884cb.js → resources-ccd18bbb.js} +13 -20
- package/dist/esm/{sortable.esm-4e7d5c7b.js → sortable.esm-e7918a0d.js} +1 -1
- package/dist/esm/{utils-2f763d44.js → utils-06a51b70.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ce794961.js → ExpandToggle-7076d600.js} +2 -2
- package/dist/esm-es5/Heading-5ccb3b17.js +6 -0
- package/dist/esm-es5/{array-7a76d321.js → array-48f23287.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-number.entry.js +6 -0
- 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 +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +3 -3
- package/dist/esm-es5/calcite-pick-list_3.entry.js +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 +3 -3
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-6be8f3bd.js → conditionalSlot-13c69fa9.js} +2 -2
- package/dist/esm-es5/{debounce-9626aac0.js → debounce-bef6fc2c.js} +1 -1
- package/dist/esm-es5/dom-6c1f7204.js +6 -0
- package/dist/esm-es5/{forIn-091a9d50.js → forIn-566610cc.js} +2 -2
- package/dist/esm-es5/form-115e3241.js +6 -0
- package/dist/esm-es5/{guid-27925469.js → guid-9ee41ac6.js} +1 -1
- package/dist/esm-es5/{index-1e02e91b.js → index-dfcf10d7.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-32803ed8.js → interactive-2a03c362.js} +1 -1
- package/dist/esm-es5/{interfaces-64ad1cde.js → interfaces-02cee59d.js} +1 -1
- package/dist/esm-es5/key-1219c482.js +6 -0
- package/dist/esm-es5/{label-ccf07634.js → label-b30a7cde.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-98144f51.js +6 -0
- package/dist/esm-es5/{math-351ff0de.js → math-7409ae0d.js} +1 -1
- package/dist/esm-es5/{observers-c18e9524.js → observers-fa0db945.js} +1 -1
- package/dist/esm-es5/{popper-44b3ba83.js → popper-f38ba1ab.js} +2 -2
- package/dist/esm-es5/{resources-0aacb21d.js → resources-3157143b.js} +2 -2
- package/dist/esm-es5/{resources-a32d1180.js → resources-3b67e62a.js} +1 -1
- package/dist/esm-es5/{resources-a2cad43d.js → resources-7198828a.js} +1 -1
- package/dist/esm-es5/resources-ccd18bbb.js +6 -0
- package/dist/esm-es5/{sortable.esm-4e7d5c7b.js → sortable.esm-e7918a0d.js} +1 -1
- package/dist/esm-es5/{utils-2f763d44.js → utils-06a51b70.js} +1 -1
- package/dist/extras/docs-json.json +1814 -407
- 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 +9 -1
- 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/input-date-picker/input-date-picker.d.ts +7 -1
- package/dist/types/components/input-date-picker/resources.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +216 -0
- package/dist/types/components/input-number/interfaces.d.ts +1 -0
- package/dist/types/components/input-number/resources.d.ts +22 -0
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +7 -1
- 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 +18 -12
- 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 +33 -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/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list/shared-list-render.d.ts +2 -0
- 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 +23 -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/interfaces.d.ts +1 -0
- package/dist/types/components/value-list/utils.d.ts +8 -0
- package/dist/types/components/value-list/value-list.d.ts +39 -9
- package/dist/types/components/value-list-item/value-list-item.d.ts +11 -11
- package/dist/types/components.d.ts +1063 -470
- package/dist/types/preact.d.ts +21 -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 +1741 -737
- package/package.json +27 -27
- 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-1571ede3.system.entry.js +0 -6
- package/dist/calcite/p-1a07da7e.system.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-6a966c2f.entry.js +0 -6
- package/dist/calcite/p-717fac51.entry.js +0 -6
- package/dist/calcite/p-799f79af.entry.js +0 -6
- package/dist/calcite/p-7a95bbeb.entry.js +0 -6
- package/dist/calcite/p-7e576c74.system.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-912c9e61.system.entry.js +0 -6
- package/dist/calcite/p-940ac25d.system.entry.js +0 -6
- package/dist/calcite/p-9ea395ee.js +0 -6
- package/dist/calcite/p-a1176eac.system.entry.js +0 -6
- package/dist/calcite/p-a3e19cec.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-c5eec108.entry.js +0 -6
- package/dist/calcite/p-c84f0dec.entry.js +0 -6
- package/dist/calcite/p-c96917cb.system.js +0 -6
- 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-ee47a382.system.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-f39d0565.system.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/locale-705ed382.js +0 -6
- package/dist/esm-es5/number-bb265f44.js +0 -6
- package/dist/esm-es5/resources-529884cb.js +0 -6
|
@@ -1,19 +1,19 @@
|
|
|
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.86
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
7
|
-
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-
|
|
8
|
-
import { i as isArray, f as forIn } from './forIn-
|
|
9
|
-
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-
|
|
10
|
-
import { g as guid } from './guid-
|
|
11
|
-
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-
|
|
12
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-
|
|
13
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-
|
|
14
|
-
import { c as createObserver } from './observers-
|
|
15
|
-
import { u as updateHostInteraction } from './interactive-
|
|
16
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-dfcf10d7.js';
|
|
7
|
+
import { a as isSymbol, S as Symbol, d as debounce } from './debounce-bef6fc2c.js';
|
|
8
|
+
import { i as isArray, f as forIn } from './forIn-566610cc.js';
|
|
9
|
+
import { f as filterComputedPlacements, u as updatePopper, c as createPopper, d as defaultMenuPlacement, p as popperMenuComputedPlacements, C as CSS$2 } from './popper-f38ba1ab.js';
|
|
10
|
+
import { g as guid } from './guid-9ee41ac6.js';
|
|
11
|
+
import { n as nodeListToArray, t as toAriaBoolean, d as getElementProp, g as getSlotted } from './dom-6c1f7204.js';
|
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-b30a7cde.js';
|
|
13
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-115e3241.js';
|
|
14
|
+
import { c as createObserver } from './observers-fa0db945.js';
|
|
15
|
+
import { u as updateHostInteraction } from './interactive-2a03c362.js';
|
|
16
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-13c69fa9.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -128,8 +128,8 @@ const filter = (data, value) => {
|
|
|
128
128
|
The data argument should be an array of objects`);
|
|
129
129
|
}
|
|
130
130
|
const find = (input, RE) => {
|
|
131
|
-
var _a;
|
|
132
|
-
if ((_a = input) === null || _a === void 0 ? void 0 : _a.constant) {
|
|
131
|
+
var _a, _b;
|
|
132
|
+
if (((_a = input) === null || _a === void 0 ? void 0 : _a.constant) || ((_b = input) === null || _b === void 0 ? void 0 : _b.filterDisabled)) {
|
|
133
133
|
return true;
|
|
134
134
|
}
|
|
135
135
|
let found = false;
|
|
@@ -183,7 +183,7 @@ function getDepth(element) {
|
|
|
183
183
|
return result.snapshotLength;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
const comboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}: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([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .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}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
186
|
+
const comboboxCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:block}: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([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:-ms-flexbox;display:flex;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);padding:calc(var(--calcite-combobox-item-spacing-unit-s) / 4) var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding:0 var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.grid-input{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{-ms-flex-positive:1;flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-width:120px;margin-bottom:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-bottom:0px;margin-top:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.input-wrap--single{-ms-flex:1 1 0%;flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:-ms-flexbox;display:flex;max-width:100%;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);height:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--spaced{padding-top:0px;padding-bottom:0px;padding-left:var(--calcite-combobox-item-spacing-unit-l);padding-right:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:-ms-flexbox;display:flex;width:1rem;cursor:pointer;-ms-flex-align:center;align-items:center}.icon-end{-ms-flex:none;flex:none}.popper-container{width:100%;display:block;position:absolute;z-index:900;-webkit-transform:scale(0);transform:scale(0);visibility:hidden;pointer-events:none}.popper-container .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}.popper-container[data-popper-placement^=bottom] .calcite-popper-anim{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.popper-container[data-popper-placement^=top] .calcite-popper-anim{-webkit-transform:translateY(5px);transform:translateY(5px)}.popper-container[data-popper-placement^=left] .calcite-popper-anim{-webkit-transform:translateX(5px);transform:translateX(5px)}.popper-container[data-popper-placement^=right] .calcite-popper-anim{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.popper-container[data-popper-placement] .calcite-popper-anim--active{opacity:1;visibility:visible;-webkit-transform:translate(0);transform:translate(0)}.popper-container--active{pointer-events:initial;visibility:visible}@media (forced-colors: active){.wrapper,.popper-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-height:100vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);width:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{height:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-width:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
187
187
|
|
|
188
188
|
const isGroup = (el) => el.tagName === ComboboxItemGroup$1;
|
|
189
189
|
const itemUidPrefix = "combobox-item-";
|
|
@@ -198,15 +198,23 @@ const Combobox = class {
|
|
|
198
198
|
this.calciteComboboxChange = createEvent(this, "calciteComboboxChange", 7);
|
|
199
199
|
this.calciteComboboxFilterChange = createEvent(this, "calciteComboboxFilterChange", 7);
|
|
200
200
|
this.calciteComboboxChipDismiss = createEvent(this, "calciteComboboxChipDismiss", 7);
|
|
201
|
-
this.
|
|
201
|
+
this.calciteComboboxBeforeClose = createEvent(this, "calciteComboboxBeforeClose", 7);
|
|
202
202
|
this.calciteComboboxClose = createEvent(this, "calciteComboboxClose", 7);
|
|
203
|
+
this.calciteComboboxBeforeOpen = createEvent(this, "calciteComboboxBeforeOpen", 7);
|
|
204
|
+
this.calciteComboboxOpen = createEvent(this, "calciteComboboxOpen", 7);
|
|
203
205
|
//--------------------------------------------------------------------------
|
|
204
206
|
//
|
|
205
207
|
// Public Properties
|
|
206
208
|
//
|
|
207
209
|
//--------------------------------------------------------------------------
|
|
208
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* When true, opens the combobox
|
|
212
|
+
*
|
|
213
|
+
* @deprecated use open instead
|
|
214
|
+
*/
|
|
209
215
|
this.active = false;
|
|
216
|
+
/**When true, opens the combobox */
|
|
217
|
+
this.open = false;
|
|
210
218
|
/** Disable combobox input */
|
|
211
219
|
this.disabled = false;
|
|
212
220
|
/** Specify the maximum number of combobox items (including nested children) to display before showing the scroller */
|
|
@@ -280,8 +288,9 @@ const Combobox = class {
|
|
|
280
288
|
this.addCustomChip(this.text, true);
|
|
281
289
|
event.preventDefault();
|
|
282
290
|
}
|
|
283
|
-
else if (this.active) {
|
|
291
|
+
else if (this.open || this.active) {
|
|
284
292
|
this.active = false;
|
|
293
|
+
this.open = false;
|
|
285
294
|
event.preventDefault();
|
|
286
295
|
}
|
|
287
296
|
break;
|
|
@@ -298,9 +307,10 @@ const Combobox = class {
|
|
|
298
307
|
}
|
|
299
308
|
break;
|
|
300
309
|
case "ArrowDown":
|
|
301
|
-
if (!this.active) {
|
|
310
|
+
if (!(this.open || this.active)) {
|
|
302
311
|
event.preventDefault();
|
|
303
312
|
this.active = true;
|
|
313
|
+
this.open = true;
|
|
304
314
|
}
|
|
305
315
|
this.shiftActiveItemIndex(1);
|
|
306
316
|
if (!this.comboboxInViewport()) {
|
|
@@ -311,11 +321,12 @@ const Combobox = class {
|
|
|
311
321
|
if (!this.textInput.value) {
|
|
312
322
|
event.preventDefault();
|
|
313
323
|
this.active = true;
|
|
324
|
+
this.open = true;
|
|
314
325
|
this.shiftActiveItemIndex(1);
|
|
315
326
|
}
|
|
316
327
|
break;
|
|
317
328
|
case "Home":
|
|
318
|
-
if (this.active) {
|
|
329
|
+
if (this.open || this.active) {
|
|
319
330
|
event.preventDefault();
|
|
320
331
|
}
|
|
321
332
|
this.updateActiveItemIndex(0);
|
|
@@ -325,7 +336,7 @@ const Combobox = class {
|
|
|
325
336
|
}
|
|
326
337
|
break;
|
|
327
338
|
case "End":
|
|
328
|
-
if (this.active) {
|
|
339
|
+
if (this.open || this.active) {
|
|
329
340
|
event.preventDefault();
|
|
330
341
|
}
|
|
331
342
|
this.updateActiveItemIndex(this.visibleItems.length - 1);
|
|
@@ -336,6 +347,7 @@ const Combobox = class {
|
|
|
336
347
|
break;
|
|
337
348
|
case "Escape":
|
|
338
349
|
this.active = false;
|
|
350
|
+
this.open = false;
|
|
339
351
|
break;
|
|
340
352
|
case "Enter":
|
|
341
353
|
if (this.activeItemIndex > -1) {
|
|
@@ -364,29 +376,42 @@ const Combobox = class {
|
|
|
364
376
|
};
|
|
365
377
|
this.toggleCloseEnd = () => {
|
|
366
378
|
this.active = false;
|
|
379
|
+
this.open = false;
|
|
367
380
|
this.el.removeEventListener("calciteComboboxClose", this.toggleCloseEnd);
|
|
368
381
|
};
|
|
369
382
|
this.toggleOpenEnd = () => {
|
|
370
383
|
this.active = true;
|
|
384
|
+
this.open = false;
|
|
371
385
|
this.el.removeEventListener("calciteComboboxOpen", this.toggleOpenEnd);
|
|
372
386
|
};
|
|
373
387
|
this.transitionEnd = (event) => {
|
|
374
388
|
if (event.propertyName === this.activeTransitionProp) {
|
|
375
|
-
this.active ? this.
|
|
389
|
+
this.open || this.active ? this.onOpen() : this.onClose();
|
|
390
|
+
}
|
|
391
|
+
};
|
|
392
|
+
/* *
|
|
393
|
+
- `transitionrun` fires when the transition is created at the start of any delay and is not cancellable once started.
|
|
394
|
+
- if there is no transition delay, both `transitionrun` and `transitionstart` are fired at the same time.
|
|
395
|
+
*/
|
|
396
|
+
this.transitionRunHandler = (event) => {
|
|
397
|
+
if (event.propertyName === this.activeTransitionProp) {
|
|
398
|
+
this.open || this.active ? this.onBeforeOpen() : this.onBeforeClose();
|
|
376
399
|
}
|
|
377
400
|
};
|
|
378
|
-
this.setMaxScrollerHeight = () => {
|
|
379
|
-
const { active, listContainerEl } = this;
|
|
380
|
-
|
|
401
|
+
this.setMaxScrollerHeight = async () => {
|
|
402
|
+
const { active, listContainerEl, open } = this;
|
|
403
|
+
const isOpen = !(active || open);
|
|
404
|
+
if (!listContainerEl || isOpen) {
|
|
381
405
|
return;
|
|
382
406
|
}
|
|
383
|
-
this.reposition();
|
|
407
|
+
await this.reposition();
|
|
384
408
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
385
409
|
listContainerEl.style.maxHeight = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
386
|
-
this.reposition();
|
|
410
|
+
await this.reposition();
|
|
387
411
|
};
|
|
388
412
|
this.calciteChipDismissHandler = (event, comboboxItem) => {
|
|
389
413
|
this.active = false;
|
|
414
|
+
this.open = false;
|
|
390
415
|
const selection = this.items.find((item) => item === comboboxItem);
|
|
391
416
|
if (selection) {
|
|
392
417
|
this.toggleSelection(selection, false);
|
|
@@ -398,12 +423,14 @@ const Combobox = class {
|
|
|
398
423
|
return;
|
|
399
424
|
}
|
|
400
425
|
this.active = !this.active;
|
|
426
|
+
this.open = !this.open;
|
|
401
427
|
this.updateActiveItemIndex(0);
|
|
402
428
|
this.setFocus();
|
|
403
429
|
};
|
|
404
430
|
this.setInactiveIfNotContained = (event) => {
|
|
405
431
|
const composedPath = event.composedPath();
|
|
406
|
-
|
|
432
|
+
const isOpen = !(this.open || this.active);
|
|
433
|
+
if (isOpen || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
|
|
407
434
|
return;
|
|
408
435
|
}
|
|
409
436
|
if (this.allowCustomValues && this.text.trim().length) {
|
|
@@ -418,6 +445,7 @@ const Combobox = class {
|
|
|
418
445
|
this.updateActiveItemIndex(-1);
|
|
419
446
|
}
|
|
420
447
|
this.active = false;
|
|
448
|
+
this.open = false;
|
|
421
449
|
};
|
|
422
450
|
this.setMenuEl = (el) => {
|
|
423
451
|
this.menuEl = el;
|
|
@@ -425,6 +453,7 @@ const Combobox = class {
|
|
|
425
453
|
this.setListContainerEl = (el) => {
|
|
426
454
|
this.resizeObserver.observe(el);
|
|
427
455
|
this.listContainerEl = el;
|
|
456
|
+
this.listContainerEl.addEventListener("transitionrun", this.transitionRunHandler);
|
|
428
457
|
};
|
|
429
458
|
this.setReferenceEl = (el) => {
|
|
430
459
|
this.referenceEl = el;
|
|
@@ -508,13 +537,15 @@ const Combobox = class {
|
|
|
508
537
|
activeHandler() {
|
|
509
538
|
if (this.disabled) {
|
|
510
539
|
this.active = false;
|
|
540
|
+
this.open = false;
|
|
511
541
|
return;
|
|
512
542
|
}
|
|
513
|
-
this.
|
|
543
|
+
this.setMaxScrollerHeight();
|
|
514
544
|
}
|
|
515
545
|
handleDisabledChange(value) {
|
|
516
546
|
if (!value) {
|
|
517
547
|
this.active = false;
|
|
548
|
+
this.open = false;
|
|
518
549
|
}
|
|
519
550
|
}
|
|
520
551
|
maxItemsHandler() {
|
|
@@ -616,6 +647,9 @@ const Combobox = class {
|
|
|
616
647
|
this.destroyPopper();
|
|
617
648
|
disconnectLabel(this);
|
|
618
649
|
disconnectForm(this);
|
|
650
|
+
if (this.listContainerEl) {
|
|
651
|
+
this.listContainerEl.removeEventListener("transitionrun", this.transitionRunHandler);
|
|
652
|
+
}
|
|
619
653
|
}
|
|
620
654
|
selectedItemsHandler() {
|
|
621
655
|
this.internalValueChangeFlag = true;
|
|
@@ -633,6 +667,18 @@ const Combobox = class {
|
|
|
633
667
|
bounding.right <= (window.innerWidth || document.documentElement.clientWidth) &&
|
|
634
668
|
bounding.bottom <= (window.innerHeight || document.documentElement.clientHeight));
|
|
635
669
|
}
|
|
670
|
+
onBeforeOpen() {
|
|
671
|
+
this.calciteComboboxBeforeOpen.emit();
|
|
672
|
+
}
|
|
673
|
+
onOpen() {
|
|
674
|
+
this.calciteComboboxOpen.emit();
|
|
675
|
+
}
|
|
676
|
+
onBeforeClose() {
|
|
677
|
+
this.calciteComboboxBeforeClose.emit();
|
|
678
|
+
}
|
|
679
|
+
onClose() {
|
|
680
|
+
this.calciteComboboxClose.emit();
|
|
681
|
+
}
|
|
636
682
|
getModifiers() {
|
|
637
683
|
const flipModifier = {
|
|
638
684
|
name: "flip",
|
|
@@ -643,7 +689,7 @@ const Combobox = class {
|
|
|
643
689
|
};
|
|
644
690
|
const eventListenerModifier = {
|
|
645
691
|
name: "eventListeners",
|
|
646
|
-
enabled: this.active
|
|
692
|
+
enabled: this.open || this.active
|
|
647
693
|
};
|
|
648
694
|
return [flipModifier, eventListenerModifier];
|
|
649
695
|
}
|
|
@@ -721,6 +767,7 @@ const Combobox = class {
|
|
|
721
767
|
this.textInput.value = item.textLabel;
|
|
722
768
|
}
|
|
723
769
|
this.active = false;
|
|
770
|
+
this.open = false;
|
|
724
771
|
this.updateActiveItemIndex(-1);
|
|
725
772
|
this.resetText();
|
|
726
773
|
this.filterItems("");
|
|
@@ -769,6 +816,7 @@ const Combobox = class {
|
|
|
769
816
|
getData() {
|
|
770
817
|
return this.items.map((item) => ({
|
|
771
818
|
constant: item.constant,
|
|
819
|
+
filterDisabled: item.filterDisabled,
|
|
772
820
|
value: item.value,
|
|
773
821
|
label: item.textLabel
|
|
774
822
|
}));
|
|
@@ -868,7 +916,7 @@ const Combobox = class {
|
|
|
868
916
|
this.visibleItems.forEach((el, i) => {
|
|
869
917
|
if (i === index) {
|
|
870
918
|
el.active = true;
|
|
871
|
-
activeDescendant = el.guid
|
|
919
|
+
activeDescendant = `${itemUidPrefix}${el.guid}`;
|
|
872
920
|
}
|
|
873
921
|
else {
|
|
874
922
|
el.active = false;
|
|
@@ -902,10 +950,10 @@ const Combobox = class {
|
|
|
902
950
|
});
|
|
903
951
|
}
|
|
904
952
|
renderInput() {
|
|
905
|
-
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems } = this;
|
|
953
|
+
const { guid, active, disabled, placeholder, selectionMode, needsIcon, selectedItems, open } = this;
|
|
906
954
|
const single = selectionMode === "single";
|
|
907
955
|
const selectedItem = selectedItems[0];
|
|
908
|
-
const showLabel = !active && single && !!selectedItem;
|
|
956
|
+
const showLabel = !(open || active) && single && !!selectedItem;
|
|
909
957
|
return (h("span", { class: {
|
|
910
958
|
"input-wrap": true,
|
|
911
959
|
"input-wrap--single": single
|
|
@@ -924,36 +972,39 @@ const Combobox = class {
|
|
|
924
972
|
return this.visibleItems.map((item) => (h("li", { "aria-selected": toAriaBoolean(item.selected), id: item.guid ? `${itemUidPrefix}${item.guid}` : null, role: "option", tabindex: "-1" }, item.textLabel)));
|
|
925
973
|
}
|
|
926
974
|
renderPopperContainer() {
|
|
927
|
-
const { active, setMenuEl, setListContainerEl } = this;
|
|
975
|
+
const { active, setMenuEl, setListContainerEl, open } = this;
|
|
928
976
|
const classes = {
|
|
929
977
|
"list-container": true,
|
|
930
978
|
[CSS$2.animation]: true,
|
|
931
|
-
[CSS$2.animationActive]: active
|
|
979
|
+
[CSS$2.animationActive]: open || active
|
|
932
980
|
};
|
|
933
|
-
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !active } }, h("slot", null)))));
|
|
981
|
+
return (h("div", { "aria-hidden": "true", class: { "popper-container": true, "popper-container--active": open || active }, ref: setMenuEl }, h("div", { class: classes, onTransitionEnd: this.transitionEnd, ref: setListContainerEl }, h("ul", { class: { list: true, "list--hide": !(open || active) } }, h("slot", null)))));
|
|
934
982
|
}
|
|
935
983
|
renderIconStart() {
|
|
936
|
-
|
|
984
|
+
var _a;
|
|
985
|
+
const { selectionMode, needsIcon, selectedItems, placeholderIcon } = this;
|
|
937
986
|
const selectedItem = selectedItems[0];
|
|
938
987
|
return (selectionMode === "single" &&
|
|
939
|
-
needsIcon &&
|
|
988
|
+
needsIcon &&
|
|
989
|
+
((selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) || placeholderIcon) && (h("span", { class: "icon-start" }, h("calcite-icon", { class: "selected-icon", icon: (_a = selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.icon) !== null && _a !== void 0 ? _a : placeholderIcon, scale: "s" }))));
|
|
940
990
|
}
|
|
941
991
|
renderIconEnd() {
|
|
942
|
-
const { active } = this;
|
|
943
|
-
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
992
|
+
const { active, open } = this;
|
|
993
|
+
return (h("span", { class: "icon-end" }, h("calcite-icon", { icon: active || open ? "chevron-up" : "chevron-down", scale: "s" })));
|
|
944
994
|
}
|
|
945
995
|
render() {
|
|
946
|
-
const { active, guid, label } = this;
|
|
996
|
+
const { active, guid, label, open } = this;
|
|
947
997
|
const single = this.selectionMode === "single";
|
|
948
|
-
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
998
|
+
return (h(Host, { onKeyDown: this.keydownHandler }, h("div", { "aria-autocomplete": "list", "aria-expanded": toAriaBoolean(open || active), "aria-haspopup": "listbox", "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-owns": `${listboxUidPrefix}${guid}`, class: {
|
|
949
999
|
wrapper: true,
|
|
950
1000
|
"wrapper--single": single || !this.selectedItems.length,
|
|
951
|
-
"wrapper--active": active
|
|
1001
|
+
"wrapper--active": open || active
|
|
952
1002
|
}, onClick: this.clickHandler, ref: this.setReferenceEl, role: "combobox" }, h("div", { class: "grid-input" }, this.renderIconStart(), !single && this.renderChips(), h("label", { class: "screen-readers-only", htmlFor: `${inputUidPrefix}${guid}`, id: `${labelUidPrefix}${guid}` }, label), this.renderInput()), this.renderIconEnd()), h("ul", { "aria-labelledby": `${labelUidPrefix}${guid}`, "aria-multiselectable": "true", class: "screen-readers-only", id: `${listboxUidPrefix}${guid}`, role: "listbox", tabIndex: -1 }, this.renderListBoxOptions()), this.renderPopperContainer(), h(HiddenFormInputSlot, { component: this })));
|
|
953
1003
|
}
|
|
954
1004
|
get el() { return getElement(this); }
|
|
955
1005
|
static get watchers() { return {
|
|
956
1006
|
"active": ["activeHandler"],
|
|
1007
|
+
"open": ["activeHandler"],
|
|
957
1008
|
"disabled": ["handleDisabledChange"],
|
|
958
1009
|
"maxItems": ["maxItemsHandler"],
|
|
959
1010
|
"value": ["valueHandler"],
|
|
@@ -977,7 +1028,7 @@ const CSS$1 = {
|
|
|
977
1028
|
textContainer: "text-container"
|
|
978
1029
|
};
|
|
979
1030
|
|
|
980
|
-
const comboboxItemCss = "@charset \"UTF-8\";@-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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}: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,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px
|
|
1031
|
+
const comboboxItemCss = "@charset \"UTF-8\";@-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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}: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,ul{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:100%;cursor:pointer;-ms-flex-align:center;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;-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);outline-color:transparent;padding:var(--calcite-combobox-item-spacing-unit-s) var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding:0 var(--calcite-combobox-item-spacing-unit-l)}.icon{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-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);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-top:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end;min-width:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
|
981
1032
|
|
|
982
1033
|
const ComboboxItem = class {
|
|
983
1034
|
constructor(hostRef) {
|
|
@@ -1098,7 +1149,7 @@ const CSS = {
|
|
|
1098
1149
|
title: "title"
|
|
1099
1150
|
};
|
|
1100
1151
|
|
|
1101
|
-
const comboboxItemGroupCss = "@-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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px
|
|
1152
|
+
const comboboxItemGroupCss = "@-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}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent-1:0.5rem;--calcite-combobox-item-spacing-indent-2:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent-1:0.75rem;--calcite-combobox-item-spacing-indent-2:1.5rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent-1:1rem;--calcite-combobox-item-spacing-indent-2:2rem}:host,.list{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;width:100%;min-width:0px;max-width:100%;color:var(--calcite-ui-text-3)}.label--indent-1{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-1);padding-inline-start:var(--calcite-combobox-item-spacing-indent-1)}.label--indent-2{-webkit-padding-start:var(--calcite-combobox-item-spacing-indent-2);padding-inline-start:var(--calcite-combobox-item-spacing-indent-2)}.title{border:0 solid;display:block;-ms-flex:1 1 0%;flex:1 1 0%;border-bottom-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2);word-wrap:break-word;word-break:break-word;border-bottom-color:var(--calcite-ui-border-3);padding:var(--calcite-combobox-item-spacing-unit-l) 0;margin-left:var(--calcite-combobox-item-spacing-unit-s);margin-right:var(--calcite-combobox-item-spacing-unit-s)}";
|
|
1102
1153
|
|
|
1103
1154
|
const ComboboxItemGroup = class {
|
|
1104
1155
|
constructor(hostRef) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.86
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
7
|
-
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange,
|
|
8
|
-
import { a as getElementDir, C as CSS_UTILITY } from './dom-
|
|
9
|
-
import { u as updateHostInteraction } from './interactive-
|
|
10
|
-
import { H as Heading } from './Heading-
|
|
11
|
-
import './locale-
|
|
12
|
-
import './
|
|
13
|
-
import './guid-
|
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-dfcf10d7.js';
|
|
7
|
+
import { T as TEXT, c as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange, g as getLocaleData, H as HEADING_LEVEL, s as sameDate, i as inRange, e as getOrder, n as nextMonth, f as prevMonth, l as localizeNumber, h as parseNumber } from './resources-3157143b.js';
|
|
8
|
+
import { a as getElementDir, C as CSS_UTILITY } from './dom-6c1f7204.js';
|
|
9
|
+
import { u as updateHostInteraction } from './interactive-2a03c362.js';
|
|
10
|
+
import { H as Heading } from './Heading-5ccb3b17.js';
|
|
11
|
+
import './locale-98144f51.js';
|
|
12
|
+
import './key-1219c482.js';
|
|
13
|
+
import './guid-9ee41ac6.js';
|
|
14
14
|
|
|
15
15
|
const datePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{position:relative;display:inline-block;width:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-width:216px}:host([scale=m]){max-width:286px}:host([scale=l]){max-width:398px}";
|
|
16
16
|
|
|
@@ -798,6 +798,8 @@ const DatePickerMonth = class {
|
|
|
798
798
|
};
|
|
799
799
|
DatePickerMonth.style = datePickerMonthCss;
|
|
800
800
|
|
|
801
|
+
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
802
|
+
|
|
801
803
|
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}";
|
|
802
804
|
|
|
803
805
|
const DatePickerMonthHeader = class {
|
|
@@ -815,7 +817,7 @@ const DatePickerMonthHeader = class {
|
|
|
815
817
|
* @param e
|
|
816
818
|
*/
|
|
817
819
|
this.onYearKey = (e) => {
|
|
818
|
-
const localizedYear = e.target.value;
|
|
820
|
+
const localizedYear = this.parseCalendarYear(e.target.value);
|
|
819
821
|
switch (e.key) {
|
|
820
822
|
case "ArrowDown":
|
|
821
823
|
e.preventDefault();
|
|
@@ -828,10 +830,15 @@ const DatePickerMonthHeader = class {
|
|
|
828
830
|
}
|
|
829
831
|
};
|
|
830
832
|
this.onYearChange = (event) => {
|
|
831
|
-
this.setYear({
|
|
833
|
+
this.setYear({
|
|
834
|
+
localizedYear: this.parseCalendarYear(event.target.value)
|
|
835
|
+
});
|
|
832
836
|
};
|
|
833
837
|
this.onYearInput = (event) => {
|
|
834
|
-
this.setYear({
|
|
838
|
+
this.setYear({
|
|
839
|
+
localizedYear: this.parseCalendarYear(event.target.value),
|
|
840
|
+
commit: false
|
|
841
|
+
});
|
|
835
842
|
};
|
|
836
843
|
this.prevMonthClick = (e) => {
|
|
837
844
|
this.handleArrowClick(e, this.prevMonthDate);
|
|
@@ -879,7 +886,7 @@ const DatePickerMonthHeader = class {
|
|
|
879
886
|
const activeMonth = this.activeDate.getMonth();
|
|
880
887
|
const { months, unitOrder } = this.localeData;
|
|
881
888
|
const localizedMonth = (months.wide || months.narrow || months.abbreviated)[activeMonth];
|
|
882
|
-
const localizedYear =
|
|
889
|
+
const localizedYear = this.formatCalendarYear(this.activeDate.getFullYear().toString());
|
|
883
890
|
const iconScale = this.scale === "l" ? "m" : "s";
|
|
884
891
|
const order = getOrder(unitOrder);
|
|
885
892
|
const reverse = order.indexOf("y") < order.indexOf("m");
|
|
@@ -896,6 +903,18 @@ const DatePickerMonthHeader = class {
|
|
|
896
903
|
this.nextMonthDate = dateFromRange(nextMonth(this.activeDate), this.min, this.max);
|
|
897
904
|
this.prevMonthDate = dateFromRange(prevMonth(this.activeDate), this.min, this.max);
|
|
898
905
|
}
|
|
906
|
+
formatCalendarYear(year) {
|
|
907
|
+
const { localeData } = this;
|
|
908
|
+
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
909
|
+
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
910
|
+
return localizeNumber(parseNumber(year, localeData) + yearOffset, localeData);
|
|
911
|
+
}
|
|
912
|
+
parseCalendarYear(year) {
|
|
913
|
+
const { localeData } = this;
|
|
914
|
+
const buddhistCalendar = localeData["default-calendar"] === "buddhist";
|
|
915
|
+
const yearOffset = buddhistCalendar ? BUDDHIST_CALENDAR_YEAR_OFFSET : 0;
|
|
916
|
+
return localizeNumber(parseNumber(year, localeData) - yearOffset, localeData);
|
|
917
|
+
}
|
|
899
918
|
getInRangeDate({ localizedYear, offset = 0 }) {
|
|
900
919
|
const { min, max, activeDate, localeData } = this;
|
|
901
920
|
const parsedYear = parseNumber(localizedYear, localeData);
|
|
@@ -919,14 +938,14 @@ const DatePickerMonthHeader = class {
|
|
|
919
938
|
* @param root0.offset
|
|
920
939
|
*/
|
|
921
940
|
setYear({ localizedYear, commit = true, offset = 0 }) {
|
|
922
|
-
const { yearInput, activeDate
|
|
941
|
+
const { yearInput, activeDate } = this;
|
|
923
942
|
const inRangeDate = this.getInRangeDate({ localizedYear, offset });
|
|
924
943
|
// if you've supplied a year and it's in range, update active date
|
|
925
944
|
if (inRangeDate) {
|
|
926
945
|
this.calciteDatePickerSelect.emit(inRangeDate);
|
|
927
946
|
}
|
|
928
947
|
if (commit) {
|
|
929
|
-
yearInput.value =
|
|
948
|
+
yearInput.value = this.formatCalendarYear((inRangeDate || activeDate).getFullYear().toString());
|
|
930
949
|
}
|
|
931
950
|
}
|
|
932
951
|
get el() { return getElement(this); }
|