@esri/calcite-components 1.0.0-beta.83 → 1.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/date-picker/nls/th.json +1 -1
- package/dist/calcite/assets/icon/changeDetection16.json +1 -0
- package/dist/calcite/assets/icon/changeDetection24.json +1 -0
- package/dist/calcite/assets/icon/changeDetection32.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/calcite/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/calcite/assets/icon/numberCircle416.json +1 -0
- package/dist/calcite/assets/icon/numberCircle424.json +1 -0
- package/dist/calcite/assets/icon/numberCircle432.json +1 -0
- package/dist/calcite/assets/icon/numberCircle516.json +1 -0
- package/dist/calcite/assets/icon/numberCircle524.json +1 -0
- package/dist/calcite/assets/icon/numberCircle532.json +1 -0
- package/dist/calcite/assets/icon/numberCircle616.json +1 -0
- package/dist/calcite/assets/icon/numberCircle624.json +1 -0
- package/dist/calcite/assets/icon/numberCircle632.json +1 -0
- package/dist/calcite/assets/icon/numberCircle716.json +1 -0
- package/dist/calcite/assets/icon/numberCircle724.json +1 -0
- package/dist/calcite/assets/icon/numberCircle732.json +1 -0
- package/dist/calcite/assets/icon/numberCircle816.json +1 -0
- package/dist/calcite/assets/icon/numberCircle824.json +1 -0
- package/dist/calcite/assets/icon/numberCircle832.json +1 -0
- package/dist/calcite/assets/icon/numberCircle916.json +1 -0
- package/dist/calcite/assets/icon/numberCircle924.json +1 -0
- package/dist/calcite/assets/icon/numberCircle932.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/calcite/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-00247a8d.system.js +7 -0
- package/dist/calcite/p-02bb8194.entry.js +6 -0
- package/dist/calcite/p-061aea88.entry.js +6 -0
- package/dist/calcite/{p-1a07da7e.system.js → p-07c6e102.system.js} +2 -2
- package/dist/calcite/{p-98dc9493.entry.js → p-0bfe5ca7.entry.js} +2 -2
- package/dist/calcite/{p-0cbdfc7e.entry.js → p-114d44c3.entry.js} +2 -2
- package/dist/calcite/{p-ccb5a784.js → p-1157ae2f.js} +1 -1
- package/dist/calcite/p-1363adcd.entry.js +6 -0
- package/dist/calcite/p-13d66ebf.entry.js +6 -0
- package/dist/calcite/p-14a22bfc.system.entry.js +6 -0
- package/dist/calcite/{p-9c85d763.system.entry.js → p-14f0920e.system.entry.js} +2 -2
- package/dist/calcite/p-16888553.system.entry.js +6 -0
- package/dist/calcite/p-16dbdef2.system.entry.js +6 -0
- package/dist/calcite/{p-9d3f8b0c.system.entry.js → p-1adea169.system.entry.js} +2 -2
- package/dist/calcite/{p-07587a94.system.entry.js → p-1db25c99.system.entry.js} +2 -2
- package/dist/calcite/{p-85a769d3.system.entry.js → p-204443b0.system.entry.js} +2 -2
- package/dist/calcite/p-20d610fc.entry.js +6 -0
- package/dist/calcite/{p-799f79af.entry.js → p-21a1034c.entry.js} +2 -2
- package/dist/calcite/p-236f1255.system.entry.js +6 -0
- package/dist/calcite/{p-c5eec108.entry.js → p-24d52a72.entry.js} +2 -2
- package/dist/calcite/{p-6d41e372.system.entry.js → p-25349c89.system.entry.js} +2 -2
- package/dist/calcite/{p-df419c8b.entry.js → p-26757de8.entry.js} +2 -2
- package/dist/calcite/p-278c8372.entry.js +6 -0
- package/dist/calcite/p-282106cb.system.js +6 -0
- package/dist/calcite/p-2b531882.entry.js +6 -0
- package/dist/calcite/p-2bf5b9b6.js +6 -0
- package/dist/calcite/p-2ce10f9a.system.js +6 -0
- package/dist/calcite/p-2e3ffd32.system.js +6 -0
- package/dist/calcite/p-30256458.entry.js +6 -0
- package/dist/calcite/{p-8dfe7af3.js → p-34e0b58b.js} +2 -2
- package/dist/calcite/p-352b94a1.system.entry.js +6 -0
- package/dist/calcite/p-39bb68b3.system.js +6 -0
- package/dist/calcite/p-3aefc333.entry.js +6 -0
- package/dist/calcite/{p-7e576c74.system.entry.js → p-3d2eebab.system.entry.js} +2 -2
- package/dist/calcite/{p-2778cb53.entry.js → p-3d8ab9d5.entry.js} +2 -2
- package/dist/calcite/{p-6a966c2f.entry.js → p-4185af29.entry.js} +2 -2
- package/dist/calcite/{p-2785ecb9.system.js → p-4196e498.system.js} +2 -2
- package/dist/calcite/{p-4f82d10a.system.entry.js → p-41cbf505.system.entry.js} +2 -2
- package/dist/calcite/{p-9634f60d.entry.js → p-438d87b0.entry.js} +2 -2
- package/dist/calcite/p-448b3393.system.entry.js +6 -0
- package/dist/calcite/{p-7bbfe1a2.system.entry.js → p-45588eee.system.entry.js} +2 -2
- package/dist/calcite/{p-2f82a677.system.js → p-4908e3a5.system.js} +1 -1
- package/dist/calcite/p-49488c34.entry.js +6 -0
- package/dist/calcite/{p-c86b91ca.entry.js → p-4b414b81.entry.js} +2 -2
- package/dist/calcite/{p-e3076302.system.js → p-4cfef590.system.js} +3 -3
- package/dist/calcite/{p-acafe8ca.system.js → p-4d9c7cc9.system.js} +1 -1
- package/dist/calcite/p-4eb531c4.js +7 -0
- package/dist/calcite/p-4f1dbd36.system.entry.js +6 -0
- package/dist/calcite/p-4f9ce175.js +6 -0
- package/dist/calcite/{p-f7546789.system.js → p-51491e10.system.js} +1 -1
- package/dist/calcite/p-51ffb552.system.entry.js +6 -0
- package/dist/calcite/{p-77762ff3.system.js → p-549e267e.system.js} +1 -1
- package/dist/calcite/p-56f93049.js +6 -0
- package/dist/calcite/{p-f1935a52.entry.js → p-57b60838.entry.js} +2 -2
- package/dist/calcite/{p-5e07a875.system.entry.js → p-594f52ca.system.entry.js} +2 -2
- package/dist/calcite/{p-1a5fc48b.entry.js → p-5bd80046.entry.js} +2 -2
- package/dist/calcite/{p-ae6f5622.js → p-5d7f4169.js} +1 -1
- package/dist/calcite/p-6309de22.entry.js +6 -0
- package/dist/calcite/{p-7d8fe7b3.system.entry.js → p-67a0e692.system.entry.js} +2 -2
- package/dist/calcite/{p-45b6d321.entry.js → p-6a554714.entry.js} +2 -2
- package/dist/calcite/{p-191d0802.system.js → p-6a8f1936.system.js} +2 -2
- package/dist/calcite/p-6cff0a2a.entry.js +6 -0
- package/dist/calcite/{p-4620ae05.entry.js → p-6d1c91ee.entry.js} +2 -2
- package/dist/calcite/p-6d96d61f.system.js +6 -0
- package/dist/calcite/{p-773b540e.system.entry.js → p-6e366971.system.entry.js} +2 -2
- package/dist/calcite/{p-fd70b6c1.entry.js → p-6eadd519.entry.js} +2 -2
- package/dist/calcite/{p-940ac25d.system.entry.js → p-70e1d287.system.entry.js} +2 -2
- package/dist/calcite/{p-59122590.entry.js → p-7168da40.entry.js} +2 -2
- package/dist/calcite/p-74153f82.js +6 -0
- package/dist/calcite/{p-2fd30fee.entry.js → p-74b7ff1f.entry.js} +2 -2
- package/dist/calcite/p-77bc0e49.entry.js +6 -0
- package/dist/calcite/p-7c7ad2d6.entry.js +6 -0
- package/dist/calcite/p-7cc3d924.system.entry.js +6 -0
- package/dist/calcite/{p-292c567d.js → p-7ec42769.js} +1 -1
- package/dist/calcite/{p-4a88016c.system.entry.js → p-7ede3d65.system.entry.js} +2 -2
- package/dist/calcite/{p-912c9e61.system.entry.js → p-8018d689.system.entry.js} +2 -2
- package/dist/calcite/p-8133b2a5.entry.js +6 -0
- package/dist/calcite/{p-2e57803f.entry.js → p-8137bc05.entry.js} +2 -2
- package/dist/calcite/p-8202ad8a.system.entry.js +6 -0
- package/dist/calcite/{p-63d2bcec.system.entry.js → p-82dec536.system.entry.js} +2 -2
- package/dist/calcite/{p-1bc2d58d.system.js → p-82e24e64.system.js} +1 -1
- package/dist/calcite/p-88d2d38a.entry.js +6 -0
- package/dist/calcite/{p-ee47a382.system.entry.js → p-890cc5a8.system.entry.js} +2 -2
- package/dist/calcite/{p-ed0608ea.system.entry.js → p-891e53dd.system.entry.js} +2 -2
- package/dist/calcite/{p-834f407d.system.entry.js → p-8ae680a2.system.entry.js} +2 -2
- package/dist/calcite/{p-d1d05643.entry.js → p-8c25b934.entry.js} +2 -2
- package/dist/calcite/p-8c9e453c.js +6 -0
- package/dist/calcite/{p-eda11878.entry.js → p-90608473.entry.js} +2 -2
- package/dist/calcite/{p-9ba769e3.system.entry.js → p-974b7008.system.entry.js} +2 -2
- package/dist/calcite/p-98a2aa34.entry.js +6 -0
- package/dist/calcite/{p-0e1c259f.system.entry.js → p-98dfd14b.system.entry.js} +2 -2
- package/dist/calcite/p-99551007.system.entry.js +6 -0
- package/dist/calcite/{p-1eb6cfb5.entry.js → p-9c4aa033.entry.js} +2 -2
- package/dist/calcite/p-9c5c3cb3.system.entry.js +6 -0
- package/dist/calcite/p-9c80707e.system.js +6 -0
- package/dist/calcite/{p-fba2fa9f.system.js → p-9d158b37.system.js} +2 -2
- package/dist/calcite/{p-edf3436f.js → p-9e8d6e02.js} +2 -2
- package/dist/calcite/p-9eaf38bc.js +6 -0
- package/dist/calcite/p-9f13e930.entry.js +6 -0
- package/dist/calcite/{p-ef4ca55d.entry.js → p-a0971f99.entry.js} +2 -2
- package/dist/calcite/p-a1208386.entry.js +6 -0
- package/dist/calcite/{p-a1118db1.entry.js → p-a1cc6421.entry.js} +2 -2
- package/dist/calcite/{p-5904a047.entry.js → p-a6e1e1e4.entry.js} +2 -2
- package/dist/calcite/{p-6bcb5a71.system.entry.js → p-a89fc6a1.system.entry.js} +2 -2
- package/dist/calcite/{p-d901c470.system.js → p-a92ac42d.system.js} +1 -1
- package/dist/calcite/{p-2c974b60.js → p-aa9ce421.js} +1 -1
- package/dist/calcite/{p-46d30c39.system.js → p-aaba2ea0.system.js} +1 -1
- package/dist/calcite/{p-476e276f.entry.js → p-b2f27af5.entry.js} +2 -2
- package/dist/calcite/{p-132b60fd.system.entry.js → p-b31d3dad.system.entry.js} +2 -2
- package/dist/calcite/{p-c84f0dec.entry.js → p-b3a4497d.entry.js} +2 -2
- package/dist/calcite/{p-f39d0565.system.entry.js → p-b48feb98.system.entry.js} +2 -2
- package/dist/calcite/p-bb1711f3.js +6 -0
- package/dist/calcite/{p-7a8cddad.js → p-bbd8269c.js} +1 -1
- package/dist/calcite/{p-3b54c4a0.system.entry.js → p-bc5a7fee.system.entry.js} +2 -2
- package/dist/calcite/{p-3f80afb9.system.entry.js → p-bce5ab4f.system.entry.js} +3 -3
- package/dist/calcite/{p-3981a495.js → p-c2ed5f67.js} +1 -1
- package/dist/calcite/p-c78d1678.system.entry.js +6 -0
- package/dist/calcite/p-c9d73fce.system.entry.js +6 -0
- package/dist/calcite/{p-4effc6db.js → p-ca1b7a2e.js} +1 -1
- package/dist/calcite/{p-1ba93966.system.js → p-cc041a12.system.js} +1 -1
- package/dist/calcite/p-ccf1e5d8.entry.js +6 -0
- package/dist/calcite/{p-5afb0fbb.js → p-ce28c259.js} +2 -2
- package/dist/calcite/{p-e9e34c7f.system.entry.js → p-ce34288b.entry.js} +2 -2
- package/dist/calcite/{p-358cba5a.system.entry.js → p-ce654c2c.system.entry.js} +2 -2
- package/dist/calcite/p-d05f35e8.system.js +6 -0
- package/dist/calcite/p-d48cc6d2.entry.js +6 -0
- package/dist/calcite/p-d4f596f2.entry.js +6 -0
- package/dist/calcite/{p-f9687b03.system.js → p-d6d814a6.system.js} +1 -1
- package/dist/calcite/{p-feb71776.system.entry.js → p-d96573eb.system.entry.js} +2 -2
- package/dist/calcite/{p-900fd30e.js → p-dca64e20.js} +2 -2
- package/dist/calcite/{p-0804ce36.system.entry.js → p-dd1e12e4.system.entry.js} +3 -3
- package/dist/calcite/{p-1755cd6f.entry.js → p-dd5185d6.entry.js} +2 -2
- package/dist/calcite/p-dd5e585b.entry.js +6 -0
- package/dist/calcite/{p-f54288ad.js → p-df26aab6.js} +1 -1
- package/dist/calcite/{p-78f2801c.entry.js → p-e2ccf473.entry.js} +2 -2
- package/dist/calcite/p-e345449f.entry.js +6 -0
- package/dist/calcite/{p-ba349f22.system.js → p-e45d0fed.system.js} +1 -1
- package/dist/calcite/{p-2fcac2cf.system.entry.js → p-e5381e40.system.entry.js} +2 -2
- package/dist/calcite/{p-515e5f7e.system.entry.js → p-e6578cf2.system.entry.js} +2 -2
- package/dist/calcite/{p-a75ad7cb.system.js → p-e69d3ca4.system.js} +1 -1
- package/dist/calcite/{p-a3e19cec.entry.js → p-e78d93ed.entry.js} +2 -2
- package/dist/calcite/{p-3962123d.system.entry.js → p-e7b4e5b8.system.entry.js} +2 -2
- package/dist/calcite/{p-e117fad1.system.entry.js → p-e956598c.system.entry.js} +2 -2
- package/dist/calcite/{p-636e43ac.system.entry.js → p-e9c9fb33.system.entry.js} +2 -2
- package/dist/calcite/{p-462cefe9.system.entry.js → p-ebb71e37.system.entry.js} +2 -2
- package/dist/calcite/{p-8e2129c6.system.entry.js → p-ebeb09f0.system.entry.js} +2 -2
- package/dist/calcite/{p-26526a6d.system.entry.js → p-ec8d9088.system.entry.js} +2 -2
- package/dist/calcite/p-eccc820a.entry.js +6 -0
- package/dist/calcite/{p-a73419ab.js → p-ecd12a92.js} +1 -1
- package/dist/calcite/{p-1571ede3.system.entry.js → p-eceb3f95.system.entry.js} +2 -2
- package/dist/calcite/p-ee60b60f.system.entry.js +6 -0
- package/dist/calcite/{p-5ae3ce21.system.entry.js → p-f07627e7.system.entry.js} +3 -3
- package/dist/calcite/p-f14e0497.system.entry.js +6 -0
- package/dist/calcite/p-f2384caf.entry.js +6 -0
- package/dist/calcite/p-f537a6a5.entry.js +6 -0
- package/dist/calcite/{p-c1548c19.js → p-f6760679.js} +2 -2
- package/dist/calcite/{p-fd5a2277.entry.js → p-f8695531.entry.js} +2 -2
- package/dist/calcite/{p-e321018b.js → p-f8cb1eeb.js} +1 -1
- package/dist/calcite/{p-f46cf640.js → p-fb0e5ae3.js} +1 -1
- package/dist/calcite/{p-5b60d64c.system.entry.js → p-fb97a373.system.entry.js} +2 -2
- package/dist/calcite/p-fbbfde67.system.js +6 -0
- package/dist/calcite/{p-0d37d621.system.entry.js → p-fc6a158c.system.entry.js} +2 -2
- package/dist/calcite/p-fca56e68.system.entry.js +6 -0
- package/dist/calcite/{p-57ccba45.system.js → p-fdc7032c.system.js} +1 -1
- package/dist/cjs/{ExpandToggle-988c63cd.js → ExpandToggle-894fe6d0.js} +5 -5
- package/dist/cjs/{Heading-19d7669b.js → Heading-9546b15c.js} +3 -3
- package/dist/cjs/{array-d5bca414.js → array-1c85be7d.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +25 -16
- package/dist/cjs/calcite-action-bar.cjs.entry.js +15 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-menu.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-pad.cjs.entry.js +14 -13
- package/dist/cjs/calcite-action.cjs.entry.js +17 -16
- package/dist/cjs/calcite-alert.cjs.entry.js +49 -25
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -12
- package/dist/cjs/calcite-button.cjs.entry.js +10 -9
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +10 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +41 -32
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +92 -41
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +34 -15
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +62 -21
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +18 -11
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +41 -39
- package/dist/cjs/calcite-input.cjs.entry.js +76 -48
- package/dist/cjs/calcite-label.cjs.entry.js +12 -8
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +31 -22
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pagination.cjs.entry.js +13 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +21 -20
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +25 -25
- package/dist/cjs/calcite-popover_2.cjs.entry.js +23 -23
- package/dist/cjs/calcite-progress.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-rating.cjs.entry.js +26 -12
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +50 -17
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tree_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +24 -24
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-462ae1f4.js → conditionalSlot-ecb74d9a.js} +3 -3
- package/dist/cjs/{debounce-5127bc67.js → debounce-a74a2080.js} +1 -1
- package/dist/cjs/{dom-b0904219.js → dom-69c7e941.js} +3 -30
- package/dist/cjs/{forIn-265c8eb3.js → forIn-efe39801.js} +2 -2
- package/dist/cjs/{form-4c32a5c7.js → form-901b31de.js} +8 -5
- package/dist/cjs/{guid-8af0f93c.js → guid-263ed05b.js} +1 -1
- package/dist/cjs/{index-82ee13f7.js → index-8fbe74dd.js} +1 -12
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-15f9fd28.js → interactive-b2df5d51.js} +1 -1
- package/dist/cjs/{interfaces-86334104.js → interfaces-a8a9ed80.js} +1 -1
- package/dist/cjs/key-0fe936c7.js +14 -0
- package/dist/cjs/{label-131d9cce.js → label-f1317d82.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-0becaa93.js +262 -0
- package/dist/cjs/{math-2f83830f.js → math-0877dd01.js} +1 -1
- package/dist/cjs/{observers-f672f664.js → observers-8169781c.js} +1 -1
- package/dist/cjs/{popper-5ca144d4.js → popper-46476990.js} +2 -2
- package/dist/cjs/{resources-0de59f13.js → resources-192c00c3.js} +7 -19
- package/dist/cjs/{resources-24a7ca1a.js → resources-6ac223e5.js} +3 -3
- package/dist/cjs/{resources-06f33bd4.js → resources-80d6cd05.js} +1 -1
- package/dist/cjs/{resources-08dc0a5e.js → resources-93a62cd3.js} +1 -1
- package/dist/cjs/{sortable.esm-8e944897.js → sortable.esm-b7091c1d.js} +1 -1
- package/dist/cjs/{utils-f3a37c0a.js → utils-b1d11545.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.js +14 -14
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.css +38 -16
- package/dist/collection/components/accordion-item/accordion-item.js +84 -14
- package/dist/collection/components/action/action.css +37 -11
- package/dist/collection/components/action/action.js +24 -23
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +14 -13
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.css +1 -1
- package/dist/collection/components/action-group/action-group.js +11 -11
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.css +2 -1
- package/dist/collection/components/action-menu/action-menu.js +12 -12
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +16 -15
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +26 -14
- package/dist/collection/components/alert/alert.js +111 -43
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +4 -1
- package/dist/collection/components/avatar/avatar.js +7 -7
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +6 -2
- package/dist/collection/components/block/block.js +49 -6
- package/dist/collection/components/block/resources.js +2 -1
- package/dist/collection/components/block-section/block-section.css +6 -3
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/interfaces.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.css +115 -54
- package/dist/collection/components/button/button.js +3 -2
- package/dist/collection/components/button/interfaces.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.css +14 -7
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +3 -2
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.css +4 -0
- package/dist/collection/components/chip/chip.js +22 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.css +1 -0
- package/dist/collection/components/color-picker/color-picker.js +49 -23
- package/dist/collection/components/color-picker/interfaces.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +19 -2
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +4 -2
- package/dist/collection/components/combobox/combobox.js +178 -48
- package/dist/collection/components/combobox/interfaces.js +1 -1
- package/dist/collection/components/combobox/resources.js +3 -2
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.css +4 -2
- package/dist/collection/components/combobox-item/combobox-item.js +22 -2
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.css +2 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/th.json +1 -1
- package/dist/collection/components/date-picker/date-picker.js +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.css +18 -9
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -2
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +25 -7
- package/dist/collection/components/date-picker-month-header/resources.js +6 -0
- package/dist/collection/components/dropdown/dropdown.css +3 -1
- package/dist/collection/components/dropdown/dropdown.js +130 -23
- package/dist/collection/components/dropdown/interfaces.js +1 -1
- package/dist/collection/components/dropdown/resources.js +4 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/interfaces.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +15 -7
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -2
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.css +1 -1
- package/dist/collection/components/filter/filter.js +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +17 -10
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +3 -2
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/changeDetection16.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection24.json +1 -0
- package/dist/collection/components/icon/assets/icon/changeDetection32.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder16.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder24.json +1 -0
- package/dist/collection/components/icon/assets/icon/imageDisplayOrder32.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle416.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle424.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle432.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle516.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle524.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle532.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle616.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle624.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle632.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle716.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle724.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle732.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle816.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle824.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle832.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle916.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle924.json +1 -0
- package/dist/collection/components/icon/assets/icon/numberCircle932.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showMultipleLayersAtATime32.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime16.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime24.json +1 -0
- package/dist/collection/components/icon/assets/icon/showOneLayerAtATime32.json +1 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +33 -20
- package/dist/collection/components/input/input.js +151 -71
- package/dist/collection/components/input/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/interfaces.js +1 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +3 -2
- package/dist/collection/components/interfaces.js +1 -1
- package/dist/collection/components/label/label.css +26 -6
- package/dist/collection/components/label/label.js +20 -13
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.css +8 -4
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +5 -4
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.css +20 -9
- package/dist/collection/components/list-item/list-item.js +12 -12
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +3 -3
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +1 -1
- package/dist/collection/components/loader/loader.js +17 -17
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.css +28 -17
- package/dist/collection/components/modal/modal.js +62 -30
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.css +18 -10
- package/dist/collection/components/notice/notice.js +21 -21
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +6 -6
- package/dist/collection/components/option-group/option-group.js +4 -4
- package/dist/collection/components/pagination/pagination.css +24 -13
- package/dist/collection/components/pagination/pagination.js +20 -20
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +10 -7
- package/dist/collection/components/panel/panel.js +54 -34
- package/dist/collection/components/panel/resources.js +2 -1
- package/dist/collection/components/pick-list/pick-list.js +18 -18
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +3 -15
- package/dist/collection/components/pick-list-group/pick-list-group.css +2 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +3 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.css +2 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +23 -23
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -4
- package/dist/collection/components/popover/popover.css +2 -1
- package/dist/collection/components/popover/popover.js +34 -34
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.css +2 -1
- package/dist/collection/components/progress/progress.js +9 -9
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.css +2 -1
- package/dist/collection/components/radio-group/radio-group.js +10 -4
- package/dist/collection/components/radio-group-item/radio-group-item.css +14 -0
- package/dist/collection/components/radio-group-item/radio-group-item.js +2 -2
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +20 -6
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +7 -3
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.css +11 -4
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/slider.css +18 -8
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +48 -9
- package/dist/collection/components/stepper-item/stepper-item.css +23 -15
- package/dist/collection/components/stepper-item/stepper-item.js +107 -12
- package/dist/collection/components/switch/switch.css +2 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.css +15 -4
- package/dist/collection/components/tab-nav/tab-nav.js +6 -6
- package/dist/collection/components/tab-title/tab-title.css +49 -13
- package/dist/collection/components/tab-title/tab-title.js +3 -4
- package/dist/collection/components/tabs/interfaces.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.css +28 -0
- package/dist/collection/components/tabs/tabs.js +7 -6
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.css +4 -2
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/interfaces.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +2 -1
- package/dist/collection/components/tile-select/tile-select.js +3 -2
- package/dist/collection/components/tile-select-group/interfaces.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.css +8 -5
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.css +4 -2
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.css +2 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- package/dist/collection/components/tooltip/TooltipManager.js +2 -2
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +12 -12
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +8 -8
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +16 -5
- package/dist/collection/components/tree-item/tree-item.js +8 -8
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/value-list.js +17 -17
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +2 -1
- package/dist/collection/components/value-list-item/value-list-item.js +16 -16
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +2 -28
- package/dist/collection/utils/filter.js +3 -3
- package/dist/collection/utils/form.js +6 -3
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +8 -9
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +71 -8
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +6 -0
- package/dist/collection/utils/popper.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +5 -5
- package/dist/components/action.js +12 -11
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +5 -4
- package/dist/components/calcite-accordion-item.js +19 -7
- package/dist/components/calcite-accordion.js +8 -8
- package/dist/components/calcite-action-bar.js +6 -5
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +6 -5
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +45 -21
- package/dist/components/calcite-avatar.js +3 -3
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +14 -6
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +2 -2
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +34 -24
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -1
- package/dist/components/calcite-combobox.js +85 -32
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +3 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow.js +17 -10
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +2 -2
- package/dist/components/calcite-input-date-picker.js +4 -4
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-time-picker.js +4 -3
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +3 -3
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +28 -18
- package/dist/components/calcite-notice.js +8 -8
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +9 -9
- package/dist/components/calcite-panel.js +14 -12
- package/dist/components/calcite-pick-list-group.js +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +9 -9
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-radio-group-item.js +3 -3
- package/dist/components/calcite-radio-group.js +6 -3
- package/dist/components/calcite-rating.js +21 -7
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +4 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +31 -7
- package/dist/components/calcite-stepper.js +19 -8
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +9 -9
- package/dist/components/calcite-tree-item.js +5 -5
- package/dist/components/calcite-tree.js +4 -4
- package/dist/components/calcite-value-list-item.js +5 -5
- package/dist/components/calcite-value-list.js +10 -10
- package/dist/components/checkbox.js +2 -2
- package/dist/components/chip.js +6 -2
- package/dist/components/color-picker-hex-input.js +3 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +27 -8
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -29
- package/dist/components/dropdown.js +56 -15
- package/dist/components/filter.js +1 -1
- package/dist/components/forIn.js +1 -1
- package/dist/components/form.js +7 -4
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +3 -2
- package/dist/components/icon.js +1 -1
- package/dist/components/index.d.ts +90 -5
- package/dist/components/index.js +91 -1
- package/dist/components/input.js +60 -31
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +11 -0
- package/dist/components/label.js +87 -112
- package/dist/components/label2.js +112 -83
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +7 -7
- package/dist/components/locale.js +136 -8
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/pick-list-item.js +7 -7
- package/dist/components/popover.js +19 -19
- package/dist/components/popper.js +2 -2
- package/dist/components/progress.js +4 -4
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +3 -15
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +2 -2
- package/dist/components/tab-nav.js +5 -5
- package/dist/components/tab-title.js +3 -4
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +5 -4
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +3 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +683 -390
- package/dist/esm/{ExpandToggle-ce794961.js → ExpandToggle-baf2c551.js} +5 -5
- package/dist/esm/{Heading-9ccb3452.js → Heading-1183c4d7.js} +3 -3
- package/dist/esm/{array-7a76d321.js → array-d7b2d2da.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +25 -16
- package/dist/esm/calcite-action-bar.entry.js +15 -14
- package/dist/esm/calcite-action-group.entry.js +11 -11
- package/dist/esm/calcite-action-menu.entry.js +12 -12
- package/dist/esm/calcite-action-pad.entry.js +14 -13
- package/dist/esm/calcite-action.entry.js +17 -16
- package/dist/esm/calcite-alert.entry.js +49 -25
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +18 -12
- package/dist/esm/calcite-button.entry.js +10 -9
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +10 -7
- package/dist/esm/calcite-color-picker_3.entry.js +41 -32
- package/dist/esm/calcite-combobox_3.entry.js +92 -41
- package/dist/esm/calcite-date-picker_4.entry.js +34 -15
- package/dist/esm/calcite-dropdown_3.entry.js +62 -21
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +18 -11
- package/dist/esm/calcite-graph_2.entry.js +10 -10
- package/dist/esm/calcite-handle.entry.js +6 -5
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -9
- package/dist/esm/calcite-input.entry.js +65 -37
- package/dist/esm/calcite-label.entry.js +12 -8
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +11 -11
- package/dist/esm/calcite-loader.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +31 -22
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_3.entry.js +10 -10
- package/dist/esm/calcite-pagination.entry.js +13 -13
- package/dist/esm/calcite-panel.entry.js +21 -20
- package/dist/esm/calcite-pick-list_3.entry.js +25 -25
- package/dist/esm/calcite-popover_2.entry.js +23 -23
- package/dist/esm/calcite-progress.entry.js +5 -5
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +12 -9
- package/dist/esm/calcite-rating.entry.js +26 -12
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +50 -17
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +16 -16
- package/dist/esm/calcite-tile-select_2.entry.js +6 -5
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +11 -11
- package/dist/esm/calcite-tree_2.entry.js +13 -13
- package/dist/esm/calcite-value-list_2.entry.js +24 -24
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-6be8f3bd.js → conditionalSlot-91141c10.js} +3 -3
- package/dist/esm/{debounce-9626aac0.js → debounce-8620d992.js} +1 -1
- package/dist/esm/{dom-4caa79e4.js → dom-0e5130f0.js} +4 -30
- package/dist/esm/{forIn-091a9d50.js → forIn-908ce382.js} +2 -2
- package/dist/esm/{form-7c2e444b.js → form-44145a77.js} +8 -5
- package/dist/esm/{guid-27925469.js → guid-035850cf.js} +1 -1
- package/dist/esm/{index-1e02e91b.js → index-7daa7f57.js} +1 -12
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-32803ed8.js → interactive-26697f71.js} +1 -1
- package/dist/esm/{interfaces-64ad1cde.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm/key-5106532f.js +11 -0
- package/dist/esm/{label-ccf07634.js → label-e58bd849.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-bd54ff3b.js +254 -0
- package/dist/esm/{math-351ff0de.js → math-28a370c3.js} +1 -1
- package/dist/esm/{observers-c18e9524.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm/{popper-44b3ba83.js → popper-1df5bd76.js} +2 -2
- package/dist/esm/{resources-0aacb21d.js → resources-3498bd44.js} +3 -3
- package/dist/esm/{resources-a2cad43d.js → resources-b9270cdb.js} +1 -1
- package/dist/esm/{resources-529884cb.js → resources-d196b6c1.js} +7 -19
- package/dist/esm/{resources-a32d1180.js → resources-daaebdea.js} +1 -1
- package/dist/esm/{sortable.esm-4e7d5c7b.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm/{utils-2f763d44.js → utils-cf3669f8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-ce794961.js → ExpandToggle-baf2c551.js} +2 -2
- package/dist/esm-es5/Heading-1183c4d7.js +6 -0
- package/dist/esm-es5/{array-7a76d321.js → array-d7b2d2da.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +3 -3
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +3 -3
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +3 -3
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +3 -3
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-6be8f3bd.js → conditionalSlot-91141c10.js} +2 -2
- package/dist/esm-es5/{debounce-9626aac0.js → debounce-8620d992.js} +1 -1
- package/dist/esm-es5/dom-0e5130f0.js +6 -0
- package/dist/esm-es5/{forIn-091a9d50.js → forIn-908ce382.js} +2 -2
- package/dist/esm-es5/form-44145a77.js +6 -0
- package/dist/esm-es5/{guid-27925469.js → guid-035850cf.js} +1 -1
- package/dist/esm-es5/index-7daa7f57.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-32803ed8.js → interactive-26697f71.js} +1 -1
- package/dist/esm-es5/{interfaces-64ad1cde.js → interfaces-666dcdb6.js} +1 -1
- package/dist/esm-es5/key-5106532f.js +6 -0
- package/dist/esm-es5/{label-ccf07634.js → label-e58bd849.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/locale-bd54ff3b.js +6 -0
- package/dist/esm-es5/{math-351ff0de.js → math-28a370c3.js} +1 -1
- package/dist/esm-es5/{observers-c18e9524.js → observers-5cd6c82a.js} +1 -1
- package/dist/esm-es5/{popper-44b3ba83.js → popper-1df5bd76.js} +2 -2
- package/dist/esm-es5/{resources-0aacb21d.js → resources-3498bd44.js} +2 -2
- package/dist/esm-es5/{resources-a2cad43d.js → resources-b9270cdb.js} +1 -1
- package/dist/esm-es5/{resources-529884cb.js → resources-d196b6c1.js} +3 -3
- package/dist/esm-es5/{resources-a32d1180.js → resources-daaebdea.js} +1 -1
- package/dist/esm-es5/{sortable.esm-4e7d5c7b.js → sortable.esm-ef18907c.js} +1 -1
- package/dist/esm-es5/{utils-2f763d44.js → utils-cf3669f8.js} +1 -1
- package/dist/extras/docs-json.json +870 -358
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/accordion/accordion.d.ts +7 -7
- package/dist/types/components/accordion-item/accordion-item.d.ts +22 -4
- package/dist/types/components/action/action.d.ts +13 -15
- package/dist/types/components/action-bar/action-bar.d.ts +8 -8
- package/dist/types/components/action-group/action-group.d.ts +7 -7
- package/dist/types/components/action-menu/action-menu.d.ts +7 -7
- package/dist/types/components/action-pad/action-pad.d.ts +10 -10
- package/dist/types/components/alert/alert.d.ts +37 -21
- package/dist/types/components/alert/resources.d.ts +3 -0
- package/dist/types/components/avatar/avatar.d.ts +5 -5
- package/dist/types/components/block/block.d.ts +6 -0
- package/dist/types/components/block/resources.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/chip/chip.d.ts +2 -0
- package/dist/types/components/color-picker/color-picker.d.ts +8 -5
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +2 -0
- package/dist/types/components/combobox/combobox.d.ts +29 -15
- package/dist/types/components/combobox/resources.d.ts +1 -0
- package/dist/types/components/combobox-item/combobox-item.d.ts +9 -1
- package/dist/types/components/date-picker/utils.d.ts +1 -1
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
- package/dist/types/components/date-picker-month-header/resources.d.ts +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +21 -5
- package/dist/types/components/dropdown/resources.d.ts +3 -0
- package/dist/types/components/flow/flow.d.ts +4 -1
- package/dist/types/components/input/input.d.ts +86 -40
- package/dist/types/components/label/label.d.ts +6 -2
- package/dist/types/components/list/list.d.ts +3 -2
- package/dist/types/components/list-item/list-item.d.ts +9 -9
- package/dist/types/components/list-item-group/list-item-group.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +6 -6
- package/dist/types/components/modal/modal.d.ts +22 -16
- package/dist/types/components/notice/notice.d.ts +13 -16
- package/dist/types/components/option/option.d.ts +4 -4
- package/dist/types/components/option-group/option-group.d.ts +2 -2
- package/dist/types/components/pagination/pagination.d.ts +11 -11
- package/dist/types/components/panel/panel.d.ts +25 -21
- package/dist/types/components/panel/resources.d.ts +1 -0
- package/dist/types/components/pick-list/pick-list.d.ts +12 -12
- package/dist/types/components/pick-list-group/pick-list-group.d.ts +2 -2
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +16 -16
- package/dist/types/components/popover/popover.d.ts +19 -19
- package/dist/types/components/progress/progress.d.ts +5 -5
- package/dist/types/components/radio-button/radio-button.d.ts +1 -0
- package/dist/types/components/radio-group/radio-group.d.ts +3 -0
- package/dist/types/components/rating/rating.d.ts +2 -0
- package/dist/types/components/stepper/stepper.d.ts +7 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +22 -4
- package/dist/types/components/tabs/interfaces.d.ts +1 -1
- package/dist/types/components/tabs/tabs.d.ts +2 -1
- package/dist/types/components/tooltip/tooltip.d.ts +6 -6
- package/dist/types/components/tree/tree.d.ts +4 -4
- package/dist/types/components/tree-item/tree-item.d.ts +3 -3
- package/dist/types/components/value-list/value-list.d.ts +9 -9
- package/dist/types/components/value-list-item/value-list-item.d.ts +11 -11
- package/dist/types/components.d.ts +666 -472
- package/dist/types/preact.d.ts +14 -6
- package/dist/types/utils/dom.d.ts +0 -8
- package/dist/types/utils/form.d.ts +1 -3
- package/dist/types/utils/locale.d.ts +1 -0
- package/dist/types/utils/number.d.ts +16 -0
- package/dist/types/utils/openCloseComponent.d.ts +26 -0
- package/hydrate/index.js +904 -456
- package/package.json +32 -32
- package/readme.md +10 -2
- package/dist/calcite/p-004e3dc9.js +0 -6
- package/dist/calcite/p-08b6213a.system.js +0 -6
- package/dist/calcite/p-0f41fb58.entry.js +0 -6
- package/dist/calcite/p-0fc84480.js +0 -6
- package/dist/calcite/p-1f94715e.entry.js +0 -6
- package/dist/calcite/p-2111668f.system.entry.js +0 -6
- package/dist/calcite/p-23188966.entry.js +0 -6
- package/dist/calcite/p-24edad61.entry.js +0 -6
- package/dist/calcite/p-25fd5141.entry.js +0 -6
- package/dist/calcite/p-2609d345.system.entry.js +0 -6
- package/dist/calcite/p-37c23e83.system.entry.js +0 -6
- package/dist/calcite/p-3a256056.entry.js +0 -6
- package/dist/calcite/p-3d4548a9.js +0 -6
- package/dist/calcite/p-3f00dc7c.entry.js +0 -6
- package/dist/calcite/p-41b0a2a1.system.js +0 -6
- package/dist/calcite/p-4214c119.system.entry.js +0 -6
- package/dist/calcite/p-47bf0f7d.entry.js +0 -6
- package/dist/calcite/p-47dd3632.entry.js +0 -6
- package/dist/calcite/p-4f71c68d.js +0 -6
- package/dist/calcite/p-506f5631.system.entry.js +0 -6
- package/dist/calcite/p-5207385b.system.entry.js +0 -6
- package/dist/calcite/p-53b147dc.system.entry.js +0 -6
- package/dist/calcite/p-59aae748.entry.js +0 -6
- package/dist/calcite/p-5df0640c.system.entry.js +0 -6
- package/dist/calcite/p-5eb016b6.system.entry.js +0 -6
- package/dist/calcite/p-61483431.system.entry.js +0 -6
- package/dist/calcite/p-623f6224.entry.js +0 -6
- package/dist/calcite/p-64384786.entry.js +0 -6
- package/dist/calcite/p-6531fb85.entry.js +0 -6
- package/dist/calcite/p-67af4998.entry.js +0 -6
- package/dist/calcite/p-67ef236d.entry.js +0 -6
- package/dist/calcite/p-68e3013f.system.js +0 -6
- package/dist/calcite/p-717fac51.entry.js +0 -6
- package/dist/calcite/p-7a95bbeb.entry.js +0 -6
- package/dist/calcite/p-800a9250.entry.js +0 -6
- package/dist/calcite/p-878d7c09.system.js +0 -6
- package/dist/calcite/p-994d99ff.system.js +0 -7
- package/dist/calcite/p-9ea395ee.js +0 -6
- package/dist/calcite/p-a1176eac.system.entry.js +0 -6
- package/dist/calcite/p-a5fd7a87.system.entry.js +0 -6
- package/dist/calcite/p-a81ad35a.entry.js +0 -6
- package/dist/calcite/p-a945b681.system.js +0 -6
- package/dist/calcite/p-adc2b773.entry.js +0 -6
- package/dist/calcite/p-c470cecf.entry.js +0 -6
- package/dist/calcite/p-c96917cb.system.js +0 -6
- package/dist/calcite/p-caea0782.js +0 -7
- package/dist/calcite/p-cbe3c2c0.entry.js +0 -6
- package/dist/calcite/p-ccb27d44.system.entry.js +0 -6
- package/dist/calcite/p-db63dc35.system.entry.js +0 -6
- package/dist/calcite/p-dc10e8bb.system.entry.js +0 -6
- package/dist/calcite/p-ddb96773.system.js +0 -6
- package/dist/calcite/p-e0ff045a.js +0 -6
- package/dist/calcite/p-e6ef10e2.js +0 -6
- package/dist/calcite/p-e7336cab.entry.js +0 -6
- package/dist/calcite/p-ee8f8d7e.entry.js +0 -6
- package/dist/calcite/p-f313806e.entry.js +0 -6
- package/dist/calcite/p-f828bc9b.entry.js +0 -6
- package/dist/calcite/p-f850e63f.system.js +0 -6
- package/dist/calcite/p-f91e835d.entry.js +0 -6
- package/dist/calcite/p-f96d2623.system.entry.js +0 -6
- package/dist/calcite/p-faaa959a.entry.js +0 -6
- package/dist/cjs/locale-6c28abd8.js +0 -131
- package/dist/cjs/number-6f1151e7.js +0 -85
- package/dist/collection/demos/_assets/demo-spacer.js +0 -17
- package/dist/collection/demos/_assets/demo-template.js +0 -13
- package/dist/collection/demos/_assets/head.js +0 -45
- package/dist/collection/demos/_assets/locales.js +0 -223
- package/dist/components/number.js +0 -77
- package/dist/esm/locale-705ed382.js +0 -126
- package/dist/esm/number-bb265f44.js +0 -77
- package/dist/esm-es5/Heading-9ccb3452.js +0 -6
- package/dist/esm-es5/dom-4caa79e4.js +0 -6
- package/dist/esm-es5/form-7c2e444b.js +0 -6
- package/dist/esm-es5/index-1e02e91b.js +0 -7
- package/dist/esm-es5/locale-705ed382.js +0 -6
- package/dist/esm-es5/number-bb265f44.js +0 -6
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const guid = require('./guid-
|
|
12
|
-
const
|
|
13
|
-
const label = require('./label-
|
|
14
|
-
const form = require('./form-
|
|
15
|
-
const interactive = require('./interactive-
|
|
16
|
-
require('./
|
|
10
|
+
const index = require('./index-8fbe74dd.js');
|
|
11
|
+
const guid = require('./guid-263ed05b.js');
|
|
12
|
+
const locale = require('./locale-0becaa93.js');
|
|
13
|
+
const label = require('./label-f1317d82.js');
|
|
14
|
+
const form = require('./form-901b31de.js');
|
|
15
|
+
const interactive = require('./interactive-b2df5d51.js');
|
|
16
|
+
const key = require('./key-0fe936c7.js');
|
|
17
|
+
require('./dom-69c7e941.js');
|
|
17
18
|
|
|
18
19
|
const maxTenthForMinuteAndSecond = 5;
|
|
19
20
|
function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
|
|
@@ -83,7 +84,7 @@ function getLocalizedTimePart(part, parts) {
|
|
|
83
84
|
return ((_d = parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))) === null || _d === void 0 ? void 0 : _d.value) || null;
|
|
84
85
|
}
|
|
85
86
|
function getMeridiem(hour) {
|
|
86
|
-
if (!
|
|
87
|
+
if (!locale.isValidNumber(hour)) {
|
|
87
88
|
return null;
|
|
88
89
|
}
|
|
89
90
|
const hourAsNumber = parseInt(hour);
|
|
@@ -102,9 +103,9 @@ function isValidTime(value) {
|
|
|
102
103
|
const hourAsNumber = parseInt(splitValue[0]);
|
|
103
104
|
const minuteAsNumber = parseInt(splitValue[1]);
|
|
104
105
|
const secondAsNumber = parseInt(splitValue[2]);
|
|
105
|
-
const hourValid =
|
|
106
|
-
const minuteValid =
|
|
107
|
-
const secondValid =
|
|
106
|
+
const hourValid = locale.isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
107
|
+
const minuteValid = locale.isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
108
|
+
const secondValid = locale.isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
108
109
|
if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
|
|
109
110
|
return true;
|
|
110
111
|
}
|
|
@@ -113,7 +114,7 @@ function isValidTimePart(value, part) {
|
|
|
113
114
|
if (part === "meridiem") {
|
|
114
115
|
return value === "AM" || value === "PM";
|
|
115
116
|
}
|
|
116
|
-
if (!
|
|
117
|
+
if (!locale.isValidNumber(value)) {
|
|
117
118
|
return false;
|
|
118
119
|
}
|
|
119
120
|
const valueAsNumber = Number(value);
|
|
@@ -374,7 +375,8 @@ const InputTimePicker = class {
|
|
|
374
375
|
// --------------------------------------------------------------------------
|
|
375
376
|
/** Sets focus on the component. */
|
|
376
377
|
async setFocus() {
|
|
377
|
-
|
|
378
|
+
var _a;
|
|
379
|
+
(_a = this.calciteInputEl) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
378
380
|
}
|
|
379
381
|
/** Updates the position of the component. */
|
|
380
382
|
async reposition() {
|
|
@@ -583,7 +585,7 @@ const TimePicker = class {
|
|
|
583
585
|
};
|
|
584
586
|
this.decrementMinuteOrSecond = (key) => {
|
|
585
587
|
let newValue;
|
|
586
|
-
if (
|
|
588
|
+
if (locale.isValidNumber(this[key])) {
|
|
587
589
|
const valueAsNumber = parseInt(this[key]);
|
|
588
590
|
newValue = valueAsNumber === 0 ? 59 : valueAsNumber - 1;
|
|
589
591
|
}
|
|
@@ -607,11 +609,11 @@ const TimePicker = class {
|
|
|
607
609
|
}
|
|
608
610
|
};
|
|
609
611
|
this.hourKeyDownHandler = (event) => {
|
|
610
|
-
const key = event.key;
|
|
611
|
-
if (
|
|
612
|
-
const keyAsNumber = parseInt(key);
|
|
612
|
+
const key$1 = event.key;
|
|
613
|
+
if (key.numberKeys.includes(key$1)) {
|
|
614
|
+
const keyAsNumber = parseInt(key$1);
|
|
613
615
|
let newHour;
|
|
614
|
-
if (
|
|
616
|
+
if (locale.isValidNumber(this.hour)) {
|
|
615
617
|
switch (this.hourCycle) {
|
|
616
618
|
case "12":
|
|
617
619
|
newHour =
|
|
@@ -638,7 +640,7 @@ const TimePicker = class {
|
|
|
638
640
|
this.setValuePart("hour", newHour);
|
|
639
641
|
}
|
|
640
642
|
else {
|
|
641
|
-
switch (key) {
|
|
643
|
+
switch (key$1) {
|
|
642
644
|
case "Backspace":
|
|
643
645
|
case "Delete":
|
|
644
646
|
this.setValuePart("hour", null);
|
|
@@ -668,7 +670,7 @@ const TimePicker = class {
|
|
|
668
670
|
this.setValuePart("meridiem", newMeridiem);
|
|
669
671
|
};
|
|
670
672
|
this.incrementHour = () => {
|
|
671
|
-
const newHour =
|
|
673
|
+
const newHour = locale.isValidNumber(this.hour)
|
|
672
674
|
? this.hour === "23"
|
|
673
675
|
? 0
|
|
674
676
|
: parseInt(this.hour) + 1
|
|
@@ -676,7 +678,7 @@ const TimePicker = class {
|
|
|
676
678
|
this.setValuePart("hour", newHour);
|
|
677
679
|
};
|
|
678
680
|
this.incrementMinuteOrSecond = (key) => {
|
|
679
|
-
const newValue =
|
|
681
|
+
const newValue = locale.isValidNumber(this[key])
|
|
680
682
|
? this[key] === "59"
|
|
681
683
|
? 0
|
|
682
684
|
: parseInt(this[key]) + 1
|
|
@@ -731,11 +733,11 @@ const TimePicker = class {
|
|
|
731
733
|
}
|
|
732
734
|
};
|
|
733
735
|
this.minuteKeyDownHandler = (event) => {
|
|
734
|
-
const key = event.key;
|
|
735
|
-
if (
|
|
736
|
-
const keyAsNumber = parseInt(key);
|
|
736
|
+
const key$1 = event.key;
|
|
737
|
+
if (key.numberKeys.includes(key$1)) {
|
|
738
|
+
const keyAsNumber = parseInt(key$1);
|
|
737
739
|
let newMinute;
|
|
738
|
-
if (
|
|
740
|
+
if (locale.isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
739
741
|
const minuteAsNumber = parseInt(this.minute);
|
|
740
742
|
newMinute =
|
|
741
743
|
minuteAsNumber > maxTenthForMinuteAndSecond
|
|
@@ -748,7 +750,7 @@ const TimePicker = class {
|
|
|
748
750
|
this.setValuePart("minute", newMinute);
|
|
749
751
|
}
|
|
750
752
|
else {
|
|
751
|
-
switch (key) {
|
|
753
|
+
switch (key$1) {
|
|
752
754
|
case "Backspace":
|
|
753
755
|
case "Delete":
|
|
754
756
|
this.setValuePart("minute", null);
|
|
@@ -779,11 +781,11 @@ const TimePicker = class {
|
|
|
779
781
|
}
|
|
780
782
|
};
|
|
781
783
|
this.secondKeyDownHandler = (event) => {
|
|
782
|
-
const key = event.key;
|
|
783
|
-
if (
|
|
784
|
-
const keyAsNumber = parseInt(key);
|
|
784
|
+
const key$1 = event.key;
|
|
785
|
+
if (key.numberKeys.includes(key$1)) {
|
|
786
|
+
const keyAsNumber = parseInt(key$1);
|
|
785
787
|
let newSecond;
|
|
786
|
-
if (
|
|
788
|
+
if (locale.isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
787
789
|
const secondAsNumber = parseInt(this.second);
|
|
788
790
|
newSecond =
|
|
789
791
|
secondAsNumber > maxTenthForMinuteAndSecond
|
|
@@ -796,7 +798,7 @@ const TimePicker = class {
|
|
|
796
798
|
this.setValuePart("second", newSecond);
|
|
797
799
|
}
|
|
798
800
|
else {
|
|
799
|
-
switch (key) {
|
|
801
|
+
switch (key$1) {
|
|
800
802
|
case "Backspace":
|
|
801
803
|
case "Delete":
|
|
802
804
|
this.setValuePart("second", null);
|
|
@@ -867,7 +869,7 @@ const TimePicker = class {
|
|
|
867
869
|
var _a;
|
|
868
870
|
if (key === "meridiem") {
|
|
869
871
|
this.meridiem = value;
|
|
870
|
-
if (
|
|
872
|
+
if (locale.isValidNumber(this.hour)) {
|
|
871
873
|
const hourAsNumber = parseInt(this.hour);
|
|
872
874
|
switch (value) {
|
|
873
875
|
case "AM":
|
|
@@ -990,11 +992,11 @@ const TimePicker = class {
|
|
|
990
992
|
//
|
|
991
993
|
// --------------------------------------------------------------------------
|
|
992
994
|
buttonActivated(event) {
|
|
993
|
-
const key = event.key;
|
|
994
|
-
if (key === " ") {
|
|
995
|
+
const key$1 = event.key;
|
|
996
|
+
if (key$1 === " ") {
|
|
995
997
|
event.preventDefault();
|
|
996
998
|
}
|
|
997
|
-
return
|
|
999
|
+
return key.isActivationKey(key$1);
|
|
998
1000
|
}
|
|
999
1001
|
getMeridiemOrder(formatParts) {
|
|
1000
1002
|
const isRTLKind = this.locale === "ar" || this.locale === "he";
|
|
@@ -1021,10 +1023,10 @@ const TimePicker = class {
|
|
|
1021
1023
|
//
|
|
1022
1024
|
// --------------------------------------------------------------------------
|
|
1023
1025
|
render() {
|
|
1024
|
-
const hourIsNumber =
|
|
1026
|
+
const hourIsNumber = locale.isValidNumber(this.hour);
|
|
1025
1027
|
const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
|
|
1026
|
-
const minuteIsNumber =
|
|
1027
|
-
const secondIsNumber =
|
|
1028
|
+
const minuteIsNumber = locale.isValidNumber(this.minute);
|
|
1029
|
+
const secondIsNumber = locale.isValidNumber(this.second);
|
|
1028
1030
|
const showMeridiem = this.hourCycle === "12";
|
|
1029
1031
|
return (index.h("div", { class: {
|
|
1030
1032
|
[CSS.timePicker]: true,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const dom = require('./dom-
|
|
12
|
-
const label = require('./label-
|
|
13
|
-
const form = require('./form-
|
|
14
|
-
const locale = require('./locale-
|
|
15
|
-
const
|
|
16
|
-
const math = require('./math-
|
|
17
|
-
const observers = require('./observers-
|
|
18
|
-
const interactive = require('./interactive-
|
|
19
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-8fbe74dd.js');
|
|
11
|
+
const dom = require('./dom-69c7e941.js');
|
|
12
|
+
const label = require('./label-f1317d82.js');
|
|
13
|
+
const form = require('./form-901b31de.js');
|
|
14
|
+
const locale = require('./locale-0becaa93.js');
|
|
15
|
+
const key = require('./key-0fe936c7.js');
|
|
16
|
+
const math = require('./math-0877dd01.js');
|
|
17
|
+
const observers = require('./observers-8169781c.js');
|
|
18
|
+
const interactive = require('./interactive-b2df5d51.js');
|
|
19
|
+
require('./guid-263ed05b.js');
|
|
20
20
|
|
|
21
21
|
const CSS = {
|
|
22
22
|
loader: "loader",
|
|
@@ -49,7 +49,7 @@ const TEXT = {
|
|
|
49
49
|
clear: "Clear value"
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
const inputCss = "@-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}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{height:auto;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{height:auto;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{height:auto;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}: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]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-color:transparent}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;height:0px;width:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-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}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-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}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;inset-inline-end:0}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-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}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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}";
|
|
52
|
+
const inputCss = "@-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}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{height:1.5rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{height:auto;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{height:2rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{height:auto;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{height:2.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{height:auto;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}: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]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host textarea,:host input{-webkit-transition:var(--calcite-animation-timing), height 0, outline-offset 0s;transition:var(--calcite-animation-timing), height 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-height:100%;width:100%;max-width:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-color:transparent}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-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}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;height:0px;width:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-height:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-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}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{top:1px;left:1px;right:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0px}.number-button-wrapper{pointer-events:none;-ms-flex-order:6;order:6;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:1;order:1;max-height:100%;min-height:100%;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-top-width:0px}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);padding-top:0px;padding-bottom:0px;padding-left:0.5rem;padding-right:0.5rem;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;-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}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{position:absolute;bottom:0px;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:0px;padding-bottom:0px;padding-left:0.25rem;padding-right:0.25rem;inset-inline-end:0}.resize-icon-wrapper{bottom:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;height:0.75rem;width:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{bottom:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0px}:host(.border-top-color-one) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{background-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}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::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}";
|
|
53
53
|
|
|
54
54
|
const Input = class {
|
|
55
55
|
constructor(hostRef) {
|
|
@@ -63,33 +63,45 @@ const Input = class {
|
|
|
63
63
|
// Properties
|
|
64
64
|
//
|
|
65
65
|
//--------------------------------------------------------------------------
|
|
66
|
-
/**
|
|
66
|
+
/** Specifies the text alignment of the component's value. */
|
|
67
67
|
this.alignment = "start";
|
|
68
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* When true, the component is focused on page load.
|
|
70
|
+
*
|
|
71
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
72
|
+
*/
|
|
69
73
|
this.autofocus = false;
|
|
70
74
|
/**
|
|
71
|
-
*
|
|
72
|
-
* shows by default for search, time, date
|
|
73
|
-
* will not display for type="textarea"
|
|
75
|
+
* When true, a clear button is displayed when the component has a value. The clear button shows by default for "search", "time", and "date" types, and will not display for the "textarea" type.
|
|
74
76
|
*/
|
|
75
77
|
this.clearable = false;
|
|
76
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
80
|
+
*
|
|
81
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
82
|
+
*/
|
|
77
83
|
this.disabled = false;
|
|
78
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* When true, number values are displayed with the locale's group separator.
|
|
86
|
+
*/
|
|
79
87
|
this.groupSeparator = false;
|
|
80
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* When true, the component will not be visible.
|
|
90
|
+
*
|
|
91
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
92
|
+
*/
|
|
81
93
|
this.hidden = false;
|
|
82
94
|
/**
|
|
83
|
-
*
|
|
95
|
+
* Accessible name that will appear while loading.
|
|
84
96
|
*
|
|
85
97
|
* @default "Loading"
|
|
86
98
|
*/
|
|
87
99
|
this.intlLoading = dom.TEXT.loading;
|
|
88
|
-
/**
|
|
100
|
+
/** When true, the icon is flipped in RTL. */
|
|
89
101
|
this.iconFlipRtl = false;
|
|
90
|
-
/**
|
|
102
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
91
103
|
this.loading = false;
|
|
92
|
-
/** BCP 47 language tag for desired language and country format */
|
|
104
|
+
/** Specifies the BCP 47 language tag for the desired language and country format. */
|
|
93
105
|
this.locale = document.documentElement.lang || "en";
|
|
94
106
|
/**
|
|
95
107
|
* Toggles locale formatting for numbers.
|
|
@@ -97,27 +109,31 @@ const Input = class {
|
|
|
97
109
|
* @internal
|
|
98
110
|
*/
|
|
99
111
|
this.localeFormat = false;
|
|
100
|
-
/**
|
|
112
|
+
/** Specifies the placement of the buttons for type "number". */
|
|
101
113
|
this.numberButtonType = "vertical";
|
|
102
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* When true, the value cannot be modified.
|
|
116
|
+
*
|
|
117
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
118
|
+
*/
|
|
103
119
|
this.readOnly = false;
|
|
104
|
-
/**
|
|
120
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
105
121
|
this.required = false;
|
|
106
|
-
/**
|
|
122
|
+
/** Specifies the size of the component. */
|
|
107
123
|
this.scale = "m";
|
|
108
|
-
/**
|
|
124
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
109
125
|
this.status = "idle";
|
|
110
126
|
/**
|
|
111
127
|
* @internal
|
|
112
128
|
*/
|
|
113
129
|
this.editingEnabled = false;
|
|
114
130
|
/**
|
|
115
|
-
*
|
|
131
|
+
* Specifies the component type.
|
|
116
132
|
*
|
|
117
|
-
* Note that the following types add type-specific icons by default:
|
|
133
|
+
* Note that the following types add type-specific icons by default: "date", "email", "password", "search", "tel", "time".
|
|
118
134
|
*/
|
|
119
135
|
this.type = "text";
|
|
120
|
-
/**
|
|
136
|
+
/** The component's value. */
|
|
121
137
|
this.value = "";
|
|
122
138
|
/** keep track of the rendered child type */
|
|
123
139
|
this.childElType = "input";
|
|
@@ -197,13 +213,13 @@ const Input = class {
|
|
|
197
213
|
const value = nativeEvent.target.value;
|
|
198
214
|
const delocalizedValue = locale.delocalizeNumberString(value, this.locale);
|
|
199
215
|
if (nativeEvent.inputType === "insertFromPaste") {
|
|
200
|
-
if (!
|
|
216
|
+
if (!locale.isValidNumber(delocalizedValue)) {
|
|
201
217
|
nativeEvent.preventDefault();
|
|
202
218
|
}
|
|
203
219
|
this.setValue({
|
|
204
220
|
nativeEvent,
|
|
205
221
|
origin: "user",
|
|
206
|
-
value:
|
|
222
|
+
value: locale.parseNumberString(delocalizedValue)
|
|
207
223
|
});
|
|
208
224
|
this.childNumberEl.value = this.localizedValue;
|
|
209
225
|
}
|
|
@@ -230,7 +246,7 @@ const Input = class {
|
|
|
230
246
|
return;
|
|
231
247
|
}
|
|
232
248
|
const supportedKeys = [
|
|
233
|
-
...
|
|
249
|
+
...key.numberKeys,
|
|
234
250
|
"ArrowLeft",
|
|
235
251
|
"ArrowRight",
|
|
236
252
|
"Backspace",
|
|
@@ -296,13 +312,15 @@ const Input = class {
|
|
|
296
312
|
this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
|
|
297
313
|
}, valueNudgeDelayInMs);
|
|
298
314
|
};
|
|
299
|
-
this.
|
|
315
|
+
this.numberButtonPointerUpAndOutHandler = () => {
|
|
300
316
|
window.clearInterval(this.nudgeNumberValueIntervalId);
|
|
301
317
|
};
|
|
302
|
-
this.
|
|
318
|
+
this.numberButtonPointerDownHandler = (event) => {
|
|
303
319
|
event.preventDefault();
|
|
304
320
|
const direction = event.target.dataset.adjustment;
|
|
305
|
-
this.
|
|
321
|
+
if (!this.disabled) {
|
|
322
|
+
this.nudgeNumberValue(direction, event);
|
|
323
|
+
}
|
|
306
324
|
};
|
|
307
325
|
this.setChildElRef = (el) => {
|
|
308
326
|
this.childEl = el;
|
|
@@ -322,7 +340,7 @@ const Input = class {
|
|
|
322
340
|
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
323
341
|
this.previousEmittedValue =
|
|
324
342
|
this.type === "number"
|
|
325
|
-
?
|
|
343
|
+
? locale.isValidNumber(newPreviousEmittedValue)
|
|
326
344
|
? newPreviousEmittedValue
|
|
327
345
|
: ""
|
|
328
346
|
: newPreviousEmittedValue;
|
|
@@ -330,7 +348,7 @@ const Input = class {
|
|
|
330
348
|
this.setPreviousValue = (newPreviousValue) => {
|
|
331
349
|
this.previousValue =
|
|
332
350
|
this.type === "number"
|
|
333
|
-
?
|
|
351
|
+
? locale.isValidNumber(newPreviousValue)
|
|
334
352
|
? newPreviousValue
|
|
335
353
|
: ""
|
|
336
354
|
: newPreviousValue;
|
|
@@ -339,9 +357,9 @@ const Input = class {
|
|
|
339
357
|
const previousLocalizedValue = this.type === "number"
|
|
340
358
|
? locale.localizeNumberString(this.previousValue, this.locale, this.groupSeparator, this.numberingSystem)
|
|
341
359
|
: "";
|
|
342
|
-
const sanitizedValue = this.type === "number" ?
|
|
360
|
+
const sanitizedValue = this.type === "number" ? locale.sanitizeNumberString(value) : value;
|
|
343
361
|
const newValue = this.type === "number" && value && !sanitizedValue
|
|
344
|
-
?
|
|
362
|
+
? locale.isValidNumber(this.previousValue)
|
|
345
363
|
? this.previousValue
|
|
346
364
|
: ""
|
|
347
365
|
: sanitizedValue;
|
|
@@ -398,7 +416,7 @@ const Input = class {
|
|
|
398
416
|
value: newValue == null || newValue == ""
|
|
399
417
|
? ""
|
|
400
418
|
: this.type === "number"
|
|
401
|
-
?
|
|
419
|
+
? locale.isValidNumber(newValue)
|
|
402
420
|
? newValue
|
|
403
421
|
: this.previousValue || ""
|
|
404
422
|
: newValue
|
|
@@ -435,7 +453,7 @@ const Input = class {
|
|
|
435
453
|
this.warnAboutInvalidNumberValue(this.value);
|
|
436
454
|
this.setValue({
|
|
437
455
|
origin: "connected",
|
|
438
|
-
value:
|
|
456
|
+
value: locale.isValidNumber(this.value) ? this.value : ""
|
|
439
457
|
});
|
|
440
458
|
}
|
|
441
459
|
label.connectLabel(this);
|
|
@@ -457,7 +475,7 @@ const Input = class {
|
|
|
457
475
|
this.requestedIcon = dom.setRequestedIcon(INPUT_TYPE_ICONS, this.icon, this.type);
|
|
458
476
|
}
|
|
459
477
|
componentShouldUpdate(newValue, oldValue, property) {
|
|
460
|
-
if (this.type === "number" && property === "value" && newValue && !
|
|
478
|
+
if (this.type === "number" && property === "value" && newValue && !locale.isValidNumber(newValue)) {
|
|
461
479
|
this.setValue({
|
|
462
480
|
origin: "reset",
|
|
463
481
|
value: oldValue
|
|
@@ -484,6 +502,16 @@ const Input = class {
|
|
|
484
502
|
(_b = this.childEl) === null || _b === void 0 ? void 0 : _b.focus();
|
|
485
503
|
}
|
|
486
504
|
}
|
|
505
|
+
/** Selects all text of the component's `value`. */
|
|
506
|
+
async selectText() {
|
|
507
|
+
var _a, _b;
|
|
508
|
+
if (this.type === "number") {
|
|
509
|
+
(_a = this.childNumberEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
510
|
+
}
|
|
511
|
+
else {
|
|
512
|
+
(_b = this.childEl) === null || _b === void 0 ? void 0 : _b.select();
|
|
513
|
+
}
|
|
514
|
+
}
|
|
487
515
|
onLabelClick() {
|
|
488
516
|
this.setFocus();
|
|
489
517
|
}
|
|
@@ -542,7 +570,7 @@ const Input = class {
|
|
|
542
570
|
: slottedActionEl.removeAttribute("disabled");
|
|
543
571
|
}
|
|
544
572
|
warnAboutInvalidNumberValue(value) {
|
|
545
|
-
if (this.type === "number" && value && !
|
|
573
|
+
if (this.type === "number" && value && !locale.isValidNumber(value)) {
|
|
546
574
|
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
547
575
|
}
|
|
548
576
|
}
|
|
@@ -560,11 +588,11 @@ const Input = class {
|
|
|
560
588
|
const numberButtonsHorizontalUp = (index.h("button", { class: {
|
|
561
589
|
[CSS.numberButtonItem]: true,
|
|
562
590
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
563
|
-
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly,
|
|
591
|
+
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, index.h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
564
592
|
const numberButtonsHorizontalDown = (index.h("button", { class: {
|
|
565
593
|
[CSS.numberButtonItem]: true,
|
|
566
594
|
[CSS.buttonItemHorizontal]: isHorizontalNumberButton
|
|
567
|
-
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly,
|
|
595
|
+
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, index.h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
568
596
|
const numberButtonsVertical = (index.h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
569
597
|
const prefixText = index.h("div", { class: CSS.prefix }, this.prefixText);
|
|
570
598
|
const suffixText = index.h("div", { class: CSS.suffix }, this.suffixText);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-beta.
|
|
4
|
+
* v1.0.0-beta.84
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
9
|
|
|
10
|
-
const index = require('./index-
|
|
11
|
-
const label = require('./label-
|
|
12
|
-
require('./dom-
|
|
13
|
-
require('./guid-
|
|
10
|
+
const index = require('./index-8fbe74dd.js');
|
|
11
|
+
const label = require('./label-f1317d82.js');
|
|
12
|
+
require('./dom-69c7e941.js');
|
|
13
|
+
require('./guid-263ed05b.js');
|
|
14
14
|
|
|
15
15
|
const CSS = {
|
|
16
16
|
container: "container"
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
const labelCss = "@-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:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{
|
|
19
|
+
const labelCss = "@-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:inline}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host(:not([disable-spacing])[scale=s]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host(:not([disable-spacing])[scale=m]) .container{margin-bottom:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:not([disable-spacing])[scale=l]) .container{margin-bottom:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-left:0px;margin-right:0px;margin-top:0px;width:100%;line-height:1.375;color:var(--calcite-ui-text-1)}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}: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])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([disable-spacing]) .container{margin:0px;gap:0px}";
|
|
20
20
|
|
|
21
21
|
const Label = class {
|
|
22
22
|
constructor(hostRef) {
|
|
@@ -39,14 +39,18 @@ const Label = class {
|
|
|
39
39
|
this.scale = "m";
|
|
40
40
|
/** is the wrapped element positioned inline with the label slotted text */
|
|
41
41
|
this.layout = "default";
|
|
42
|
-
/** eliminates any space around the label */
|
|
43
|
-
this.disableSpacing = false;
|
|
44
42
|
/**
|
|
45
43
|
* is the label disabled
|
|
46
44
|
*
|
|
47
45
|
* @deprecated use the `disabled` property on the interactive components instead
|
|
48
46
|
*/
|
|
49
47
|
this.disabled = false;
|
|
48
|
+
/**
|
|
49
|
+
* eliminates any space around the label
|
|
50
|
+
*
|
|
51
|
+
* @deprecated set the --calcite-label-margin-bottom css variable to 0 instead
|
|
52
|
+
*/
|
|
53
|
+
this.disableSpacing = false;
|
|
50
54
|
//--------------------------------------------------------------------------
|
|
51
55
|
//
|
|
52
56
|
// Private Methods
|