@esri/calcite-components 1.0.0-beta.95 → 1.0.0-beta.97
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/messages.json +31 -0
- package/dist/calcite/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/calcite/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/calcite/assets/icon/dimensions16.json +1 -0
- package/dist/calcite/assets/icon/dimensions24.json +1 -0
- package/dist/calcite/assets/icon/dimensions32.json +1 -0
- package/dist/calcite/assets/icon/ellipse16.json +1 -0
- package/dist/calcite/assets/icon/ellipse24.json +1 -0
- package/dist/calcite/assets/icon/ellipse32.json +1 -0
- package/dist/calcite/assets/icon/triangle16.json +1 -0
- package/dist/calcite/assets/icon/triangle24.json +1 -0
- package/dist/calcite/assets/icon/triangle32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-02206586.js +6 -0
- package/dist/calcite/p-0327c8e3.entry.js +6 -0
- package/dist/calcite/p-10eda8ed.entry.js +6 -0
- package/dist/calcite/p-1240fa7b.entry.js +6 -0
- package/dist/{esm-es5/index.js → calcite/p-146b4fe4.js} +2 -1
- package/dist/calcite/p-15704f21.entry.js +6 -0
- package/dist/calcite/p-166b1433.entry.js +6 -0
- package/dist/calcite/p-19d918b1.entry.js +6 -0
- package/dist/calcite/p-19de6a2c.entry.js +6 -0
- package/dist/calcite/p-1d1e8bdb.entry.js +6 -0
- package/dist/calcite/p-20ac0aba.entry.js +6 -0
- package/dist/calcite/p-21b74649.entry.js +6 -0
- package/dist/calcite/p-21c7e603.entry.js +6 -0
- package/dist/calcite/p-23a63d0d.entry.js +6 -0
- package/dist/calcite/p-25482df1.js +6 -0
- package/dist/calcite/p-311896ed.entry.js +6 -0
- package/dist/calcite/p-344b3c6c.entry.js +6 -0
- package/dist/calcite/p-3bed9a6f.entry.js +6 -0
- package/dist/calcite/p-3e539778.entry.js +6 -0
- package/dist/calcite/p-417a1880.entry.js +6 -0
- package/dist/calcite/p-481ea3fa.entry.js +6 -0
- package/dist/calcite/p-4af0a397.entry.js +6 -0
- package/dist/calcite/p-4ca93e87.js +6 -0
- package/dist/calcite/p-4d5bdb2b.entry.js +6 -0
- package/dist/calcite/{p-58a40573.js → p-4d9ab6e1.js} +1 -1
- package/dist/calcite/{p-77636ceb.js → p-4ee3752e.js} +2 -2
- package/dist/calcite/{p-af88a01c.js → p-535e2f9b.js} +1 -1
- package/dist/calcite/p-55ea8247.entry.js +6 -0
- package/dist/calcite/p-5710214d.entry.js +6 -0
- package/dist/calcite/p-5a400333.entry.js +6 -0
- package/dist/calcite/{p-80a51eb7.js → p-5ae3b7c4.js} +1 -1
- package/dist/calcite/p-5c79b811.entry.js +6 -0
- package/dist/calcite/p-5cf8cdc7.entry.js +6 -0
- package/dist/calcite/{p-966679da.js → p-5d6608fd.js} +1 -1
- package/dist/calcite/{p-48bb042f.js → p-622f8ecb.js} +1 -1
- package/dist/calcite/p-6284cc30.entry.js +6 -0
- package/dist/calcite/p-64b5872b.js +6 -0
- package/dist/calcite/{p-3053c253.js → p-698bfe4a.js} +2 -2
- package/dist/calcite/p-6c8b5581.entry.js +6 -0
- package/dist/calcite/{p-f4e3dc87.js → p-717298f3.js} +1 -1
- package/dist/calcite/p-75bb0987.entry.js +6 -0
- package/dist/calcite/p-78308811.entry.js +6 -0
- package/dist/calcite/p-84272f4b.entry.js +6 -0
- package/dist/calcite/p-85cbceca.entry.js +6 -0
- package/dist/calcite/{p-00abe273.js → p-8713e986.js} +2 -2
- package/dist/calcite/p-88798f16.entry.js +6 -0
- package/dist/calcite/p-8dc9be64.js +6 -0
- package/dist/calcite/p-91755387.js +7 -0
- package/dist/calcite/p-91b670e6.js +6 -0
- package/dist/calcite/p-92e553ee.entry.js +6 -0
- package/dist/calcite/p-94363dcc.entry.js +6 -0
- package/dist/calcite/p-96bf42e5.js +6 -0
- package/dist/calcite/p-982627c1.entry.js +6 -0
- package/dist/calcite/p-98ac3a6d.entry.js +6 -0
- package/dist/calcite/p-9b7467a5.entry.js +6 -0
- package/dist/calcite/p-9b7d5490.entry.js +6 -0
- package/dist/calcite/{p-510d1337.js → p-9c8fc268.js} +2 -2
- package/dist/calcite/p-a225f799.entry.js +6 -0
- package/dist/calcite/p-a2ddecc3.entry.js +6 -0
- package/dist/calcite/p-a2f5420b.js +6 -0
- package/dist/calcite/p-a53ca6f0.entry.js +6 -0
- package/dist/calcite/p-a6fe00fa.entry.js +6 -0
- package/dist/calcite/{p-3aaffa03.js → p-acc49c92.js} +1 -1
- package/dist/calcite/{p-901dc3de.js → p-af9e6e54.js} +1 -1
- package/dist/calcite/{p-ef082834.js → p-b675ccdc.js} +1 -1
- package/dist/calcite/p-b7f0762e.entry.js +6 -0
- package/dist/calcite/{p-4b823890.js → p-bbb9a284.js} +2 -2
- package/dist/calcite/p-bd16de0f.entry.js +6 -0
- package/dist/calcite/{p-21116f05.js → p-bd95c6d9.js} +1 -1
- package/dist/calcite/{p-46fef127.js → p-bda78a0c.js} +1 -1
- package/dist/calcite/p-be359e77.entry.js +6 -0
- package/dist/calcite/p-c25eed82.entry.js +6 -0
- package/dist/calcite/p-c40610e0.entry.js +6 -0
- package/dist/calcite/p-c469f3ba.entry.js +6 -0
- package/dist/calcite/p-c8699730.entry.js +6 -0
- package/dist/calcite/p-ce98b12c.entry.js +6 -0
- package/dist/calcite/{p-e0cd1e84.js → p-cf2d3774.js} +2 -2
- package/dist/calcite/{p-bd64d06c.js → p-d5bfadd8.js} +1 -1
- package/dist/calcite/p-d83bbe04.entry.js +6 -0
- package/dist/calcite/{p-b5326072.js → p-dd293eb9.js} +1 -1
- package/dist/calcite/p-df9a2f95.entry.js +6 -0
- package/dist/calcite/p-e3400054.entry.js +6 -0
- package/dist/calcite/p-e393bcaa.entry.js +6 -0
- package/dist/calcite/p-e7379f2a.entry.js +6 -0
- package/dist/calcite/p-e905ec51.entry.js +6 -0
- package/dist/calcite/p-ef8c4700.entry.js +6 -0
- package/dist/calcite/p-f1815b6c.entry.js +6 -0
- package/dist/calcite/p-f72104d6.entry.js +6 -0
- package/dist/calcite/p-f74d7303.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-d10914db.js → ExpandToggle-e41acdfc.js} +5 -5
- package/dist/cjs/{Heading-1d94663a.js → Heading-1e87a15f.js} +2 -2
- package/dist/cjs/{app-globals-843f6f1d.js → app-globals-1cc5c95b.js} +2 -2
- package/dist/cjs/{array-7de7f400.js → array-e708c699.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu.cjs.entry.js +41 -42
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert.cjs.entry.js +25 -13
- package/dist/cjs/calcite-avatar.cjs.entry.js +7 -7
- package/dist/cjs/calcite-block_2.cjs.entry.js +33 -30
- package/dist/cjs/calcite-button.cjs.entry.js +30 -24
- package/dist/cjs/calcite-card.cjs.entry.js +15 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +19 -17
- package/dist/cjs/calcite-chip.cjs.entry.js +17 -17
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +62 -59
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +60 -47
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +63 -33
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +44 -31
- package/dist/cjs/calcite-fab.cjs.entry.js +8 -8
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +24 -18
- package/dist/cjs/calcite-flow.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +88 -61
- package/dist/cjs/calcite-handle.cjs.entry.js +6 -6
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -7
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +116 -61
- package/dist/cjs/calcite-input-message.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-number.cjs.entry.js +70 -45
- package/dist/cjs/calcite-input-text.cjs.entry.js +18 -18
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +155 -93
- package/dist/cjs/calcite-input.cjs.entry.js +89 -64
- package/dist/cjs/calcite-label.cjs.entry.js +16 -16
- package/dist/cjs/calcite-link.cjs.entry.js +9 -9
- package/dist/cjs/calcite-list_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-loader.cjs.entry.js +7 -7
- package/dist/cjs/calcite-modal.cjs.entry.js +17 -17
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_3.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pagination.cjs.entry.js +20 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +33 -32
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +27 -27
- package/dist/cjs/calcite-popover_2.cjs.entry.js +56 -41
- package/dist/cjs/calcite-progress.cjs.entry.js +10 -5
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +17 -17
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -4
- package/dist/cjs/calcite-shell_3.cjs.entry.js +23 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +6 -6
- package/dist/cjs/calcite-split-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +48 -20
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-tab_4.cjs.entry.js +22 -27
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip_3.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +38 -23
- package/dist/cjs/calcite-tree_2.cjs.entry.js +141 -90
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +25 -25
- package/dist/cjs/calcite.cjs.js +6 -6
- package/dist/cjs/{conditionalSlot-ffff1ba2.js → conditionalSlot-ef852d9d.js} +3 -3
- package/dist/cjs/{debounce-3f8af6d8.js → debounce-2c8b61fb.js} +1 -1
- package/dist/cjs/{dom-df1903f9.js → dom-2ec8c9ed.js} +41 -3
- package/dist/cjs/{filter-a0274ec6.js → filter-9411bbc1.js} +3 -4
- package/dist/cjs/{floating-ui-99430551.js → floating-ui-b48c8256.js} +175 -23
- package/dist/cjs/{form-53eb189e.js → form-1d831023.js} +3 -3
- package/dist/cjs/{guid-9ba07df0.js → guid-f4f03a7a.js} +1 -1
- package/dist/cjs/{index-bbc26bc6.js → index-a0010f96.js} +1117 -946
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-b210765f.js → interactive-32293bca.js} +1 -1
- package/dist/cjs/{interfaces-43537378.js → interfaces-971ccc32.js} +1 -1
- package/dist/cjs/{key-7c8bf01a.js → key-6a462411.js} +1 -1
- package/dist/cjs/{label-a586ee40.js → label-28060b83.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -6
- package/dist/cjs/locale-678ce361.js +414 -0
- package/dist/cjs/{math-8f7af178.js → math-f71ad83a.js} +1 -1
- package/dist/cjs/nonChromiumPlatformUtils-95812e02.js +506 -0
- package/dist/cjs/observers-5706326b.js +48 -0
- package/dist/cjs/{openCloseComponent-b884b722.js → openCloseComponent-178191c0.js} +1 -1
- package/dist/cjs/{resources-aa8679e5.js → resources-199140b3.js} +1 -1
- package/dist/cjs/{resources-ec998c3c.js → resources-4c8610b1.js} +12 -70
- package/dist/cjs/{resources-c61ea826.js → resources-8b3ba64a.js} +5 -5
- package/dist/cjs/{resources-c25710c9.js → resources-abee76d7.js} +1 -1
- package/dist/cjs/{resources-6f839761.js → resources-b5a5f8a7.js} +1 -1
- package/dist/cjs/{resources-dd0bf97d.js → resources-bd2202e9.js} +1 -1
- package/dist/cjs/{sortable.esm-6707f3f9.js → sortable.esm-673fe959.js} +1 -1
- package/dist/cjs/{utils-2cc96bc6.js → utils-1e0cd9e8.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +162 -153
- package/dist/collection/components/accordion/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/accordion-item.js +304 -308
- package/dist/collection/components/accordion-item/interfaces.js +0 -5
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.css +1 -1
- package/dist/collection/components/action/action.js +298 -295
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +241 -234
- 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 +138 -135
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +250 -241
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +198 -191
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.css +1 -1
- package/dist/collection/components/alert/alert.js +413 -376
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +107 -99
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.css +7 -0
- package/dist/collection/components/block/block.js +332 -339
- package/dist/collection/components/block/resources.js +3 -2
- package/dist/collection/components/block-section/block-section.js +150 -150
- package/dist/collection/components/block-section/interfaces.js +0 -5
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +458 -437
- package/dist/collection/components/button/interfaces.js +0 -5
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +181 -188
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.css +1 -1
- package/dist/collection/components/checkbox/checkbox.js +280 -270
- package/dist/collection/components/chip/chip.js +266 -261
- package/dist/collection/components/chip/interfaces.js +0 -5
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +821 -817
- package/dist/collection/components/color-picker/interfaces.js +0 -5
- 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 +195 -178
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +83 -77
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.css +1 -2
- package/dist/collection/components/combobox/combobox.js +595 -576
- package/dist/collection/components/combobox/interfaces.js +0 -5
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +247 -239
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +50 -47
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/assets/date-picker/nls/messages.json +31 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ar.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bg.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_bs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ca.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_cs.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_da.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_de.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_el.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_en.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_es.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_et.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_fr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_he.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_hu.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_id.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_it.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ja.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ko.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lt.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_lv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_nl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_no.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-BR.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_pt-PT.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ro.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_ru.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sl.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_sv.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_th.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_tr.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_uk.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_vi.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-CN.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-HK.json +5 -0
- package/dist/collection/components/date-picker/assets/date-picker/t9n/messages_zh-TW.json +5 -0
- package/dist/collection/components/date-picker/date-picker.js +489 -447
- package/dist/collection/components/date-picker/interfaces.js +0 -5
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +2 -22
- package/dist/collection/components/date-picker-day/date-picker-day.css +48 -24
- package/dist/collection/components/date-picker-day/date-picker-day.js +280 -285
- package/dist/collection/components/date-picker-month/date-picker-month.js +257 -250
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.css +3 -9
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +249 -234
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.css +0 -1
- package/dist/collection/components/dropdown/dropdown.js +460 -430
- package/dist/collection/components/dropdown/interfaces.js +0 -5
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +113 -107
- package/dist/collection/components/dropdown-group/interfaces.js +0 -5
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +292 -282
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +205 -197
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +200 -191
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +55 -46
- package/dist/collection/components/flow/interfaces.js +0 -5
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +419 -395
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +125 -125
- package/dist/collection/components/graph/interfaces.js +0 -5
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.css +1 -1
- package/dist/collection/components/handle/handle.js +94 -85
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/assets/icon/dimensions16.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions24.json +1 -0
- package/dist/collection/components/icon/assets/icon/dimensions32.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse16.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse24.json +1 -0
- package/dist/collection/components/icon/assets/icon/ellipse32.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle16.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle24.json +1 -0
- package/dist/collection/components/icon/assets/icon/triangle32.json +1 -0
- package/dist/collection/components/icon/icon.js +107 -98
- 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 +274 -266
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.css +5 -0
- package/dist/collection/components/input/input.js +882 -862
- package/dist/collection/components/input/interfaces.js +0 -5
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.css +1 -2
- package/dist/collection/components/input-date-picker/input-date-picker.js +900 -813
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.css +1 -1
- package/dist/collection/components/input-message/input-message.js +124 -118
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.css +1 -20
- package/dist/collection/components/input-number/input-number.js +818 -796
- package/dist/collection/components/input-number/interfaces.js +0 -5
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +1 -20
- package/dist/collection/components/input-text/input-text.js +602 -603
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +671 -583
- package/dist/collection/components/interfaces.js +0 -5
- package/dist/collection/components/label/label.css +1 -1
- package/dist/collection/components/label/label.js +189 -183
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +186 -180
- package/dist/collection/components/list/list.js +76 -70
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +109 -113
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +54 -51
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.css +3 -3
- package/dist/collection/components/loader/loader.js +169 -172
- package/dist/collection/components/modal/interfaces.js +0 -5
- package/dist/collection/components/modal/modal.js +478 -481
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +269 -267
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +118 -108
- package/dist/collection/components/option-group/option-group.js +81 -73
- package/dist/collection/components/pagination/pagination.js +266 -258
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.css +1 -1
- package/dist/collection/components/panel/panel.js +557 -563
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +255 -241
- 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 +2 -9
- package/dist/collection/components/pick-list-group/pick-list-group.js +54 -52
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +354 -352
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +5 -2
- package/dist/collection/components/popover/popover.css +0 -1
- package/dist/collection/components/popover/popover.js +586 -562
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +60 -52
- package/dist/collection/components/progress/progress.js +112 -104
- package/dist/collection/components/radio-button/radio-button.js +348 -337
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +171 -160
- package/dist/collection/components/radio-group/interfaces.js +0 -5
- package/dist/collection/components/radio-group/radio-group.js +256 -244
- package/dist/collection/components/radio-group-item/radio-group-item.js +179 -176
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +276 -277
- 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 +57 -54
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +228 -219
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +38 -43
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +80 -76
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +194 -180
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +643 -658
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +153 -142
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +366 -360
- package/dist/collection/components/stepper/interfaces.js +0 -5
- package/dist/collection/components/stepper/stepper.js +270 -236
- package/dist/collection/components/stepper-item/stepper-item.js +436 -400
- package/dist/collection/components/switch/switch.js +190 -182
- package/dist/collection/components/tab/interfaces.js +0 -5
- package/dist/collection/components/tab/tab.css +4 -2
- package/dist/collection/components/tab/tab.js +194 -181
- package/dist/collection/components/tab-nav/tab-nav.js +285 -275
- package/dist/collection/components/tab-title/tab-title.js +468 -456
- package/dist/collection/components/tabs/interfaces.js +0 -5
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +134 -132
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +174 -178
- package/dist/collection/components/tile-select/interfaces.js +0 -5
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.css +1 -0
- package/dist/collection/components/tile-select/tile-select.js +352 -338
- package/dist/collection/components/tile-select-group/interfaces.js +0 -5
- package/dist/collection/components/tile-select-group/tile-select-group.js +57 -51
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +575 -550
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +145 -146
- package/dist/collection/components/tip-group/tip-group.js +33 -27
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +226 -222
- package/dist/collection/components/tooltip/TooltipManager.js +6 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +0 -1
- package/dist/collection/components/tooltip/tooltip.js +252 -225
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +38 -32
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +278 -245
- package/dist/collection/components/tree/utils.js +21 -0
- package/dist/collection/components/tree-item/interfaces.js +0 -5
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.css +17 -3
- package/dist/collection/components/tree-item/tree-item.js +306 -273
- package/dist/collection/components/value-list/interfaces.js +0 -5
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +348 -334
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.css +1 -2
- package/dist/collection/components/value-list-item/value-list-item.js +286 -279
- package/dist/collection/demos/_assets/demo-dom-swapper.js +45 -0
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +24 -0
- package/dist/collection/demos/_assets/head.js +48 -0
- package/dist/collection/demos/_assets/locales.js +223 -0
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +1 -1
- package/dist/collection/utils/config.js +22 -0
- package/dist/collection/utils/date.js +3 -38
- package/dist/collection/utils/dom.js +37 -1
- package/dist/collection/utils/filter.js +2 -3
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +496 -0
- package/dist/collection/utils/floating-ui.js +123 -12
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.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 +199 -64
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +36 -31
- package/dist/collection/utils/observers.js +31 -7
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +110 -0
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +16 -14
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +4 -4
- package/dist/components/action-menu.js +35 -36
- package/dist/components/action.js +8 -8
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +23 -17
- package/dist/components/calcite-accordion-item.js +5 -5
- package/dist/components/calcite-accordion.js +4 -4
- package/dist/components/calcite-action-bar.js +6 -6
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +4 -4
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +19 -7
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +8 -6
- package/dist/components/calcite-block.js +17 -16
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +9 -8
- 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 +44 -39
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +8 -6
- package/dist/components/calcite-combobox.js +42 -31
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +3 -3
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +18 -12
- package/dist/components/calcite-flow.js +2 -2
- 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 +110 -53
- package/dist/components/calcite-input-message.js +5 -5
- package/dist/components/calcite-input-number.js +53 -28
- package/dist/components/calcite-input-text.js +10 -10
- package/dist/components/calcite-input-time-picker.js +83 -35
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -2
- package/dist/components/calcite-list-item.js +4 -4
- package/dist/components/calcite-list.js +3 -3
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +11 -11
- package/dist/components/calcite-notice.js +8 -8
- package/dist/components/calcite-option-group.js +3 -3
- package/dist/components/calcite-option.js +3 -3
- package/dist/components/calcite-pagination.js +15 -11
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +8 -8
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +5 -5
- package/dist/components/calcite-radio-button.js +7 -7
- package/dist/components/calcite-radio-group-item.js +6 -6
- package/dist/components/calcite-radio-group.js +5 -5
- package/dist/components/calcite-rating.js +8 -8
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +5 -5
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-shell-panel.js +13 -7
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +79 -53
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +8 -6
- package/dist/components/calcite-stepper-item.js +39 -12
- package/dist/components/calcite-stepper.js +5 -4
- 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 +4 -4
- package/dist/components/calcite-tile-select.js +8 -8
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +5 -5
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +21 -9
- package/dist/components/calcite-tree.js +118 -78
- package/dist/components/calcite-value-list-item.js +6 -6
- package/dist/components/calcite-value-list.js +9 -9
- package/dist/components/checkbox.js +11 -9
- package/dist/components/chip.js +11 -11
- package/dist/components/color-picker-hex-input.js +8 -10
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +17 -9
- package/dist/components/date-picker-month-header.js +25 -11
- package/dist/components/date-picker-month.js +4 -4
- package/dist/components/date-picker.js +20 -28
- package/dist/components/date.js +5 -39
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +38 -2
- package/dist/components/dropdown.js +35 -23
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +2 -3
- package/dist/components/floating-ui.js +181 -22
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +2 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +72 -47
- 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 +1 -1
- package/dist/components/label.js +11 -11
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +6 -6
- package/dist/components/loader.js +5 -5
- package/dist/components/locale.js +403 -0
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +498 -0
- package/dist/components/observers.js +31 -7
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +24 -23
- package/dist/components/pick-list-item.js +8 -8
- package/dist/components/popover.js +47 -33
- package/dist/components/progress.js +9 -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 +3 -3
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +6 -6
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +6 -6
- package/dist/components/tab.js +6 -6
- package/dist/components/tabs.js +5 -10
- package/dist/components/tile.js +6 -6
- package/dist/components/time-picker.js +56 -39
- package/dist/components/tooltip.js +33 -19
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/esm/{ExpandToggle-51cda39f.js → ExpandToggle-a4a9eace.js} +5 -5
- package/dist/esm/{Heading-3a6ae137.js → Heading-e0abf8a2.js} +2 -2
- package/dist/esm/{app-globals-8ea1c0e3.js → app-globals-59bc5b85.js} +2 -2
- package/dist/esm/{array-2db27e14.js → array-03a17827.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +14 -14
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu.entry.js +41 -42
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action.entry.js +13 -13
- package/dist/esm/calcite-alert.entry.js +25 -13
- package/dist/esm/calcite-avatar.entry.js +7 -7
- package/dist/esm/calcite-block_2.entry.js +33 -30
- package/dist/esm/calcite-button.entry.js +30 -24
- package/dist/esm/calcite-card.entry.js +15 -14
- package/dist/esm/calcite-checkbox.entry.js +19 -17
- package/dist/esm/calcite-chip.entry.js +17 -17
- package/dist/esm/calcite-color-picker_3.entry.js +62 -59
- package/dist/esm/calcite-combobox_3.entry.js +60 -47
- package/dist/esm/calcite-date-picker_4.entry.js +63 -33
- package/dist/esm/calcite-dropdown_3.entry.js +44 -31
- package/dist/esm/calcite-fab.entry.js +8 -8
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +24 -18
- package/dist/esm/calcite-flow.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +88 -61
- package/dist/esm/calcite-handle.entry.js +6 -6
- package/dist/esm/calcite-icon.entry.js +7 -7
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-date-picker.entry.js +116 -61
- package/dist/esm/calcite-input-message.entry.js +9 -9
- package/dist/esm/calcite-input-number.entry.js +61 -36
- package/dist/esm/calcite-input-text.entry.js +18 -18
- package/dist/esm/calcite-input-time-picker_2.entry.js +139 -77
- package/dist/esm/calcite-input.entry.js +80 -55
- package/dist/esm/calcite-label.entry.js +16 -16
- package/dist/esm/calcite-link.entry.js +9 -9
- package/dist/esm/calcite-list_3.entry.js +15 -15
- package/dist/esm/calcite-loader.entry.js +7 -7
- package/dist/esm/calcite-modal.entry.js +17 -17
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_3.entry.js +17 -17
- package/dist/esm/calcite-pagination.entry.js +20 -13
- package/dist/esm/calcite-panel.entry.js +33 -32
- package/dist/esm/calcite-pick-list_3.entry.js +27 -27
- package/dist/esm/calcite-popover_2.entry.js +56 -41
- package/dist/esm/calcite-progress.entry.js +10 -5
- package/dist/esm/calcite-radio-button-group.entry.js +7 -7
- package/dist/esm/calcite-radio-button.entry.js +14 -14
- package/dist/esm/calcite-radio-group_2.entry.js +17 -17
- package/dist/esm/calcite-rating.entry.js +16 -16
- package/dist/esm/calcite-scrim.entry.js +4 -4
- package/dist/esm/calcite-shell_3.entry.js +23 -17
- package/dist/esm/calcite-sortable-list.entry.js +6 -6
- package/dist/esm/calcite-split-button.entry.js +10 -8
- package/dist/esm/calcite-stepper_2.entry.js +48 -20
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-tab_4.entry.js +22 -27
- package/dist/esm/calcite-tile-select_2.entry.js +13 -13
- package/dist/esm/calcite-tile.entry.js +13 -13
- package/dist/esm/calcite-tip_3.entry.js +15 -15
- package/dist/esm/calcite-tooltip_2.entry.js +38 -23
- package/dist/esm/calcite-tree_2.entry.js +141 -90
- package/dist/esm/calcite-value-list_2.entry.js +25 -25
- package/dist/esm/calcite.js +6 -6
- package/dist/esm/{conditionalSlot-a8df5b3f.js → conditionalSlot-a3e8c63a.js} +3 -3
- package/dist/esm/{debounce-d31cc476.js → debounce-d85a6654.js} +1 -1
- package/dist/esm/{dom-24af003b.js → dom-8f0a9ff2.js} +40 -4
- package/dist/esm/{filter-72316b3f.js → filter-0e5a9913.js} +3 -4
- package/dist/esm/{floating-ui-10f8689c.js → floating-ui-5c49748f.js} +173 -22
- package/dist/esm/{form-390fdf0f.js → form-80dbd90e.js} +3 -3
- package/dist/esm/{guid-b68b1941.js → guid-9f15e57a.js} +1 -1
- package/dist/esm/{index-8384b5ec.js → index-1f9b54dc.js} +1117 -946
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-f2ec7825.js → interactive-5db230e8.js} +1 -1
- package/dist/esm/{interfaces-ba98f966.js → interfaces-87b65de3.js} +1 -1
- package/dist/esm/{key-ed874b7d.js → key-acc755b7.js} +1 -1
- package/dist/esm/{label-78f72c1a.js → label-333c4a4c.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-35f81208.js +403 -0
- package/dist/esm/{math-2893cee3.js → math-dd4df0b5.js} +1 -1
- package/dist/esm/nonChromiumPlatformUtils-45c9ed51.js +502 -0
- package/dist/esm/observers-9f44e9b3.js +46 -0
- package/dist/esm/{openCloseComponent-0a4c6226.js → openCloseComponent-ba7d452b.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{resources-32c242fa.js → resources-3e3255c7.js} +5 -5
- package/dist/esm/{resources-f8aa3ed1.js → resources-8812a15c.js} +5 -61
- package/dist/esm/{resources-351f6f14.js → resources-9a59d78c.js} +1 -1
- package/dist/esm/{resources-ea0a60b4.js → resources-9c476cb6.js} +1 -1
- package/dist/esm/{resources-3acd3089.js → resources-a75141ea.js} +1 -1
- package/dist/esm/{resources-0497ae87.js → resources-ca31b4fd.js} +1 -1
- package/dist/esm/{sortable.esm-3d78dbdc.js → sortable.esm-8be1d379.js} +1 -1
- package/dist/esm/{utils-a7e4e0e1.js → utils-85948aeb.js} +1 -1
- package/dist/extras/docs-json.json +1948 -783
- package/dist/index.js +1 -1
- 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 +2 -2
- package/dist/loader/package.json +1 -0
- package/dist/types/components/accordion/accordion.d.ts +2 -2
- package/dist/types/components/accordion-item/accordion-item.d.ts +7 -7
- package/dist/types/components/action/action.d.ts +8 -8
- package/dist/types/components/action/assets/action/t9n/index.d.ts +3 -0
- package/dist/types/components/action-bar/action-bar.d.ts +3 -3
- package/dist/types/components/action-bar/assets/action-bar/t9n/index.d.ts +4 -0
- package/dist/types/components/action-group/action-group.d.ts +2 -2
- package/dist/types/components/action-group/assets/action-group/t9n/index.d.ts +3 -0
- package/dist/types/components/action-menu/action-menu.d.ts +7 -7
- package/dist/types/components/action-pad/action-pad.d.ts +2 -2
- package/dist/types/components/action-pad/assets/action-pad/t9n/index.d.ts +4 -0
- package/dist/types/components/alert/alert.d.ts +12 -6
- package/dist/types/components/alert/assets/alert/t9n/index.d.ts +3 -0
- package/dist/types/components/block/assets/block/t9n/index.d.ts +6 -0
- package/dist/types/components/block/block.d.ts +22 -20
- package/dist/types/components/block/resources.d.ts +2 -1
- package/dist/types/components/block-section/assets/block-section/t9n/index.d.ts +4 -0
- package/dist/types/components/block-section/block-section.d.ts +12 -10
- package/dist/types/components/button/assets/button/t9n/index.d.ts +3 -0
- package/dist/types/components/button/button.d.ts +37 -21
- package/dist/types/components/card/assets/card/t9n/index.d.ts +5 -0
- package/dist/types/components/card/card.d.ts +11 -10
- package/dist/types/components/checkbox/checkbox.d.ts +16 -14
- package/dist/types/components/chip/assets/chip/t9n/index.d.ts +3 -0
- package/dist/types/components/chip/chip.d.ts +13 -13
- package/dist/types/components/color-picker/assets/color-picker/t9n/index.d.ts +21 -0
- package/dist/types/components/color-picker/color-picker.d.ts +39 -41
- package/dist/types/components/color-picker-hex-input/color-picker-hex-input.d.ts +9 -10
- package/dist/types/components/color-picker-swatch/color-picker-swatch.d.ts +2 -2
- package/dist/types/components/combobox/assets/combobox/t9n/index.d.ts +3 -0
- package/dist/types/components/combobox/combobox.d.ts +36 -31
- package/dist/types/components/combobox-item/combobox-item.d.ts +15 -13
- package/dist/types/components/combobox-item-group/combobox-item-group.d.ts +2 -2
- package/dist/types/components/date-picker/assets/date-picker/t9n/index.d.ts +5 -0
- package/dist/types/components/date-picker/date-picker.d.ts +9 -4
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +2 -3
- package/dist/types/components/date-picker-month-header/date-picker-month-header.d.ts +2 -0
- package/dist/types/components/dropdown/dropdown.d.ts +11 -6
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +3 -3
- package/dist/types/components/fab/fab.d.ts +1 -1
- package/dist/types/components/filter/assets/filter/t9n/index.d.ts +4 -0
- package/dist/types/components/flow/flow.d.ts +1 -1
- package/dist/types/components/flow-item/flow-item.d.ts +12 -8
- package/dist/types/components/handle/handle.d.ts +1 -1
- package/dist/types/components/inline-editable/assets/inline-editable/t9n/index.d.ts +5 -0
- package/dist/types/components/inline-editable/inline-editable.d.ts +1 -1
- package/dist/types/components/input/assets/input/t9n/index.d.ts +4 -0
- package/dist/types/components/input/input.d.ts +31 -32
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +61 -44
- package/dist/types/components/input-message/input-message.d.ts +6 -9
- package/dist/types/components/input-number/assets/input-number/t9n/index.d.ts +4 -0
- package/dist/types/components/input-number/input-number.d.ts +17 -19
- package/dist/types/components/input-text/assets/input-text/t9n/index.d.ts +4 -0
- package/dist/types/components/input-text/input-text.d.ts +10 -10
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +41 -30
- package/dist/types/components/label/label.d.ts +10 -10
- package/dist/types/components/link/link.d.ts +8 -8
- package/dist/types/components/list/list.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/loader/loader.d.ts +9 -4
- package/dist/types/components/modal/assets/modal/t9n/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +10 -10
- package/dist/types/components/notice/assets/notice/t9n/index.d.ts +3 -0
- package/dist/types/components/notice/notice.d.ts +7 -8
- package/dist/types/components/option/option.d.ts +2 -2
- package/dist/types/components/option-group/option-group.d.ts +1 -1
- package/dist/types/components/pagination/assets/pagination/t9n/index.d.ts +4 -0
- package/dist/types/components/pagination/pagination.d.ts +5 -8
- package/dist/types/components/panel/assets/panel/t9n/index.d.ts +6 -0
- package/dist/types/components/panel/panel.d.ts +21 -23
- package/dist/types/components/pick-list/assets/pick-list/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list/pick-list.d.ts +7 -7
- package/dist/types/components/pick-list-item/assets/pick-list-item/t9n/index.d.ts +3 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +8 -8
- package/dist/types/components/popover/assets/popover/t9n/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +24 -17
- package/dist/types/components/popover-manager/popover-manager.d.ts +1 -1
- package/dist/types/components/progress/progress.d.ts +7 -2
- package/dist/types/components/radio-button/radio-button.d.ts +6 -6
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +4 -4
- package/dist/types/components/radio-group/radio-group.d.ts +3 -3
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +8 -8
- package/dist/types/components/rating/assets/rating/t9n/index.d.ts +4 -0
- package/dist/types/components/rating/rating.d.ts +4 -4
- package/dist/types/components/scrim/assets/scrim/t9n/index.d.ts +3 -0
- package/dist/types/components/scrim/scrim.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +4 -4
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +2 -2
- package/dist/types/components/shell-panel/assets/shell-panel/t9n/index.d.ts +3 -0
- package/dist/types/components/shell-panel/shell-panel.d.ts +6 -6
- package/dist/types/components/slider/slider.d.ts +24 -25
- package/dist/types/components/sortable-list/sortable-list.d.ts +1 -1
- package/dist/types/components/split-button/split-button.d.ts +9 -7
- package/dist/types/components/stepper/stepper.d.ts +7 -2
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -11
- package/dist/types/components/switch/switch.d.ts +6 -6
- package/dist/types/components/tab/tab.d.ts +3 -3
- package/dist/types/components/tab-title/tab-title.d.ts +8 -8
- package/dist/types/components/tabs/tabs.d.ts +3 -4
- package/dist/types/components/tile/tile.d.ts +5 -5
- package/dist/types/components/tile-select/tile-select.d.ts +5 -5
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +2 -2
- package/dist/types/components/time-picker/assets/time-picker/t9n/index.d.ts +14 -0
- package/dist/types/components/time-picker/time-picker.d.ts +13 -8
- package/dist/types/components/tip/assets/tip/t9n/index.d.ts +3 -0
- package/dist/types/components/tip/tip.d.ts +3 -3
- package/dist/types/components/tip-manager/assets/tip-manager/t9n/index.d.ts +7 -0
- package/dist/types/components/tip-manager/tip-manager.d.ts +3 -3
- package/dist/types/components/tooltip/tooltip.d.ts +16 -7
- package/dist/types/components/tooltip-manager/tooltip-manager.d.ts +1 -1
- package/dist/types/components/tree/tree.d.ts +2 -2
- package/dist/types/components/tree/utils.d.ts +1 -0
- package/dist/types/components/tree-item/tree-item.d.ts +10 -4
- package/dist/types/components/value-list/assets/value-list/t9n/index.d.ts +7 -0
- package/dist/types/components/value-list/value-list.d.ts +16 -16
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -4
- package/dist/types/components.d.ts +1074 -1007
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/config.d.ts +7 -0
- package/dist/types/utils/date.d.ts +0 -20
- package/dist/types/utils/dom.d.ts +19 -0
- package/dist/types/utils/floating-ui/nonChromiumPlatformUtils.d.ts +16 -0
- package/dist/types/utils/floating-ui.d.ts +45 -2
- package/dist/types/utils/locale.d.ts +81 -11
- package/dist/types/utils/number.d.ts +3 -5
- package/dist/types/utils/observers.d.ts +5 -1
- package/dist/types/utils/t9n.d.ts +88 -0
- package/dist/types/utils/time.d.ts +29 -5
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +2523 -1974
- package/package.json +31 -28
- package/readme.md +2 -2
- package/dist/calcite/calcite.js +0 -131
- package/dist/calcite/p-01e0a7fb.system.entry.js +0 -6
- package/dist/calcite/p-026ebb31.system.entry.js +0 -6
- package/dist/calcite/p-0371e393.system.js +0 -6
- package/dist/calcite/p-049ccea8.system.entry.js +0 -6
- package/dist/calcite/p-06715c20.system.entry.js +0 -6
- package/dist/calcite/p-0b16f5a2.entry.js +0 -6
- package/dist/calcite/p-120e25b0.entry.js +0 -6
- package/dist/calcite/p-132242dd.system.js +0 -6
- package/dist/calcite/p-164c7993.system.entry.js +0 -6
- package/dist/calcite/p-180c45dd.js +0 -6
- package/dist/calcite/p-1927311f.system.js +0 -6
- package/dist/calcite/p-195b47d8.system.entry.js +0 -6
- package/dist/calcite/p-1a801c80.system.entry.js +0 -6
- package/dist/calcite/p-1c1808a9.system.js +0 -6
- package/dist/calcite/p-21e61d1f.system.entry.js +0 -6
- package/dist/calcite/p-2204aeed.entry.js +0 -6
- package/dist/calcite/p-2292f660.entry.js +0 -6
- package/dist/calcite/p-234334e8.system.js +0 -7
- package/dist/calcite/p-240b92fc.system.entry.js +0 -6
- package/dist/calcite/p-244e6a16.system.js +0 -6
- package/dist/calcite/p-24fc537c.entry.js +0 -6
- package/dist/calcite/p-25d9815f.entry.js +0 -6
- package/dist/calcite/p-2942f335.entry.js +0 -6
- package/dist/calcite/p-296b72ab.entry.js +0 -6
- package/dist/calcite/p-2a6d83f2.system.entry.js +0 -6
- package/dist/calcite/p-2bb5628e.system.entry.js +0 -6
- package/dist/calcite/p-2dc6b889.js +0 -6
- package/dist/calcite/p-33e2cc83.entry.js +0 -6
- package/dist/calcite/p-35df3a74.entry.js +0 -6
- package/dist/calcite/p-390ae661.entry.js +0 -6
- package/dist/calcite/p-3ba3650d.entry.js +0 -6
- package/dist/calcite/p-3c899e58.entry.js +0 -6
- package/dist/calcite/p-3d0903d1.entry.js +0 -6
- package/dist/calcite/p-3d277c10.entry.js +0 -6
- package/dist/calcite/p-3fe14113.entry.js +0 -6
- package/dist/calcite/p-421fa896.entry.js +0 -6
- package/dist/calcite/p-438e56fd.entry.js +0 -6
- package/dist/calcite/p-43f9bb67.system.js +0 -6
- package/dist/calcite/p-4450a62e.system.entry.js +0 -6
- package/dist/calcite/p-4591d14e.entry.js +0 -6
- package/dist/calcite/p-47537b0f.system.entry.js +0 -6
- package/dist/calcite/p-4776fee2.entry.js +0 -6
- package/dist/calcite/p-4a3dcaab.entry.js +0 -6
- package/dist/calcite/p-4b4c47b4.system.js +0 -6
- package/dist/calcite/p-4bd4b21b.system.js +0 -12
- package/dist/calcite/p-4d9e93ae.system.js +0 -6
- package/dist/calcite/p-50148e92.system.entry.js +0 -6
- package/dist/calcite/p-524ac193.system.js +0 -6
- package/dist/calcite/p-54dc5c4f.system.entry.js +0 -6
- package/dist/calcite/p-55051fef.js +0 -6
- package/dist/calcite/p-576b3dfd.entry.js +0 -6
- package/dist/calcite/p-57c051cd.system.entry.js +0 -6
- package/dist/calcite/p-580abaa0.system.entry.js +0 -6
- package/dist/calcite/p-59e4f11d.entry.js +0 -6
- package/dist/calcite/p-5b7d6465.system.js +0 -6
- package/dist/calcite/p-5ee0d6fc.entry.js +0 -6
- package/dist/calcite/p-5ff62aa9.system.entry.js +0 -6
- package/dist/calcite/p-61508652.system.js +0 -6
- package/dist/calcite/p-619ea68d.system.entry.js +0 -6
- package/dist/calcite/p-638c0f83.system.js +0 -6
- package/dist/calcite/p-63be4875.js +0 -7
- package/dist/calcite/p-661983f6.system.js +0 -6
- package/dist/calcite/p-66a8d6f6.entry.js +0 -6
- package/dist/calcite/p-67a854c0.entry.js +0 -6
- package/dist/calcite/p-680d6cf6.entry.js +0 -6
- package/dist/calcite/p-6941ffe8.entry.js +0 -6
- package/dist/calcite/p-6ad53382.system.entry.js +0 -6
- package/dist/calcite/p-6c421b57.entry.js +0 -6
- package/dist/calcite/p-6ca84ba8.entry.js +0 -6
- package/dist/calcite/p-6d884dae.entry.js +0 -6
- package/dist/calcite/p-6e8a4081.system.entry.js +0 -6
- package/dist/calcite/p-70c06ad4.system.entry.js +0 -6
- package/dist/calcite/p-71650d4e.system.entry.js +0 -6
- package/dist/calcite/p-74b0148d.system.js +0 -6
- package/dist/calcite/p-75cb1d5b.system.entry.js +0 -6
- package/dist/calcite/p-75f64c6d.entry.js +0 -6
- package/dist/calcite/p-7c550d9b.entry.js +0 -6
- package/dist/calcite/p-7ed2f59f.system.entry.js +0 -6
- package/dist/calcite/p-85c6e58a.system.entry.js +0 -6
- package/dist/calcite/p-89a7e6bc.entry.js +0 -6
- package/dist/calcite/p-8c66c36c.system.js +0 -6
- package/dist/calcite/p-8c95d7a0.entry.js +0 -6
- package/dist/calcite/p-8e41d2bb.system.js +0 -6
- package/dist/calcite/p-8ee1498f.entry.js +0 -6
- package/dist/calcite/p-92038736.system.entry.js +0 -6
- package/dist/calcite/p-9241c6a5.entry.js +0 -6
- package/dist/calcite/p-93970959.system.entry.js +0 -6
- package/dist/calcite/p-960c76e9.system.entry.js +0 -6
- package/dist/calcite/p-96236e5c.entry.js +0 -6
- package/dist/calcite/p-9a9fbf22.entry.js +0 -6
- package/dist/calcite/p-9ae4b555.entry.js +0 -6
- package/dist/calcite/p-9aebe377.entry.js +0 -6
- package/dist/calcite/p-9b43c40c.system.js +0 -6
- package/dist/calcite/p-9ca4f290.system.js +0 -6
- package/dist/calcite/p-9dccf007.js +0 -6
- package/dist/calcite/p-9ef7904e.js +0 -6
- package/dist/calcite/p-a304a6b7.system.entry.js +0 -6
- package/dist/calcite/p-a4cff117.system.js +0 -6
- package/dist/calcite/p-a726bcff.entry.js +0 -6
- package/dist/calcite/p-a9221536.system.js +0 -6
- package/dist/calcite/p-aa6d9dcc.system.entry.js +0 -6
- package/dist/calcite/p-ab4d0b8e.entry.js +0 -6
- package/dist/calcite/p-abdc8c60.system.entry.js +0 -6
- package/dist/calcite/p-abf5fb38.entry.js +0 -6
- package/dist/calcite/p-ad22f173.entry.js +0 -6
- package/dist/calcite/p-ad68bd9e.system.entry.js +0 -6
- package/dist/calcite/p-ad884bc4.system.js +0 -6
- package/dist/calcite/p-ae2518f0.system.js +0 -6
- package/dist/calcite/p-aef54c5f.system.entry.js +0 -6
- package/dist/calcite/p-b084a958.entry.js +0 -6
- package/dist/calcite/p-b10ce7f4.system.entry.js +0 -6
- package/dist/calcite/p-b1859703.system.entry.js +0 -6
- package/dist/calcite/p-b29859b5.system.entry.js +0 -6
- package/dist/calcite/p-b3004fac.entry.js +0 -6
- package/dist/calcite/p-b51eb86c.system.entry.js +0 -6
- package/dist/calcite/p-b5ef1019.entry.js +0 -6
- package/dist/calcite/p-b6f004c4.entry.js +0 -6
- package/dist/calcite/p-b7941592.js +0 -6
- package/dist/calcite/p-b795148e.entry.js +0 -6
- package/dist/calcite/p-b9fb0207.system.js +0 -6
- package/dist/calcite/p-bb36ddb1.system.entry.js +0 -6
- package/dist/calcite/p-bbc5fa4d.system.entry.js +0 -6
- package/dist/calcite/p-bf0d4fa9.system.entry.js +0 -6
- package/dist/calcite/p-c18b2f37.system.entry.js +0 -6
- package/dist/calcite/p-c20b0a94.system.entry.js +0 -6
- package/dist/calcite/p-c311d80b.entry.js +0 -6
- package/dist/calcite/p-c3380c86.system.entry.js +0 -6
- package/dist/calcite/p-c370487d.entry.js +0 -6
- package/dist/calcite/p-c3a76a69.js +0 -6
- package/dist/calcite/p-c75e4948.system.entry.js +0 -6
- package/dist/calcite/p-c9179809.entry.js +0 -6
- package/dist/calcite/p-ca72c4da.system.entry.js +0 -6
- package/dist/calcite/p-cd3d8542.system.js +0 -6
- package/dist/calcite/p-ce6b62ad.entry.js +0 -6
- package/dist/calcite/p-d1131b5d.system.entry.js +0 -6
- package/dist/calcite/p-d18b3ee8.entry.js +0 -6
- package/dist/calcite/p-d30e6a15.system.entry.js +0 -6
- package/dist/calcite/p-d6627d94.system.entry.js +0 -6
- package/dist/calcite/p-d686deea.system.entry.js +0 -6
- package/dist/calcite/p-dc294613.system.js +0 -6
- package/dist/calcite/p-dc346223.system.js +0 -6
- package/dist/calcite/p-dcb7c0a5.system.entry.js +0 -6
- package/dist/calcite/p-e0ecae58.system.entry.js +0 -6
- package/dist/calcite/p-e1799b74.system.js +0 -6
- package/dist/calcite/p-e1e4265f.system.js +0 -6
- package/dist/calcite/p-e30b9b3a.entry.js +0 -6
- package/dist/calcite/p-e836bdbf.system.entry.js +0 -6
- package/dist/calcite/p-e8c8a9c4.js +0 -6
- package/dist/calcite/p-eb000d01.system.entry.js +0 -6
- package/dist/calcite/p-ec32dce1.entry.js +0 -6
- package/dist/calcite/p-ed965a88.entry.js +0 -6
- package/dist/calcite/p-eddb3738.entry.js +0 -6
- package/dist/calcite/p-f22e79c7.entry.js +0 -6
- package/dist/calcite/p-f69aa7a0.system.entry.js +0 -6
- package/dist/calcite/p-f6a26297.system.entry.js +0 -6
- package/dist/calcite/p-fbb251a6.system.entry.js +0 -6
- package/dist/calcite/p-fc374bdb.system.entry.js +0 -6
- package/dist/calcite/p-fd76be2a.system.entry.js +0 -6
- package/dist/calcite/p-ff26531e.system.entry.js +0 -6
- package/dist/cjs/globalAttributes-2783566c.js +0 -335
- package/dist/cjs/observers-82a85a0c.js +0 -27
- package/dist/components/globalAttributes.js +0 -324
- package/dist/custom-elements/index.d.ts +0 -597
- package/dist/custom-elements/index.js +0 -28881
- package/dist/esm/globalAttributes-9a3874c6.js +0 -324
- package/dist/esm/observers-251355d3.js +0 -25
- package/dist/esm-es5/ExpandToggle-51cda39f.js +0 -6
- package/dist/esm-es5/Heading-3a6ae137.js +0 -6
- package/dist/esm-es5/app-globals-8ea1c0e3.js +0 -6
- package/dist/esm-es5/array-2db27e14.js +0 -6
- package/dist/esm-es5/calcite-accordion_2.entry.js +0 -6
- package/dist/esm-es5/calcite-action-bar.entry.js +0 -6
- package/dist/esm-es5/calcite-action-group.entry.js +0 -6
- package/dist/esm-es5/calcite-action-menu.entry.js +0 -6
- package/dist/esm-es5/calcite-action-pad.entry.js +0 -6
- package/dist/esm-es5/calcite-action.entry.js +0 -6
- package/dist/esm-es5/calcite-alert.entry.js +0 -6
- package/dist/esm-es5/calcite-avatar.entry.js +0 -6
- package/dist/esm-es5/calcite-block_2.entry.js +0 -6
- package/dist/esm-es5/calcite-button.entry.js +0 -6
- package/dist/esm-es5/calcite-card.entry.js +0 -6
- package/dist/esm-es5/calcite-checkbox.entry.js +0 -6
- package/dist/esm-es5/calcite-chip.entry.js +0 -6
- package/dist/esm-es5/calcite-color-picker_3.entry.js +0 -6
- package/dist/esm-es5/calcite-combobox_3.entry.js +0 -6
- package/dist/esm-es5/calcite-date-picker_4.entry.js +0 -6
- package/dist/esm-es5/calcite-dropdown_3.entry.js +0 -6
- package/dist/esm-es5/calcite-fab.entry.js +0 -6
- package/dist/esm-es5/calcite-filter.entry.js +0 -6
- package/dist/esm-es5/calcite-flow-item.entry.js +0 -6
- package/dist/esm-es5/calcite-flow.entry.js +0 -6
- package/dist/esm-es5/calcite-graph_2.entry.js +0 -6
- package/dist/esm-es5/calcite-handle.entry.js +0 -6
- package/dist/esm-es5/calcite-icon.entry.js +0 -6
- package/dist/esm-es5/calcite-inline-editable.entry.js +0 -6
- package/dist/esm-es5/calcite-input-date-picker.entry.js +0 -6
- package/dist/esm-es5/calcite-input-message.entry.js +0 -6
- package/dist/esm-es5/calcite-input-number.entry.js +0 -6
- package/dist/esm-es5/calcite-input-text.entry.js +0 -6
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +0 -6
- package/dist/esm-es5/calcite-input.entry.js +0 -6
- package/dist/esm-es5/calcite-label.entry.js +0 -6
- package/dist/esm-es5/calcite-link.entry.js +0 -6
- package/dist/esm-es5/calcite-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-loader.entry.js +0 -6
- package/dist/esm-es5/calcite-modal.entry.js +0 -6
- package/dist/esm-es5/calcite-notice.entry.js +0 -6
- package/dist/esm-es5/calcite-option_3.entry.js +0 -6
- package/dist/esm-es5/calcite-pagination.entry.js +0 -6
- package/dist/esm-es5/calcite-panel.entry.js +0 -6
- package/dist/esm-es5/calcite-pick-list_3.entry.js +0 -6
- package/dist/esm-es5/calcite-popover_2.entry.js +0 -6
- package/dist/esm-es5/calcite-progress.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button-group.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-button.entry.js +0 -6
- package/dist/esm-es5/calcite-radio-group_2.entry.js +0 -6
- package/dist/esm-es5/calcite-rating.entry.js +0 -6
- package/dist/esm-es5/calcite-scrim.entry.js +0 -6
- package/dist/esm-es5/calcite-shell_3.entry.js +0 -6
- package/dist/esm-es5/calcite-sortable-list.entry.js +0 -6
- package/dist/esm-es5/calcite-split-button.entry.js +0 -6
- package/dist/esm-es5/calcite-stepper_2.entry.js +0 -6
- package/dist/esm-es5/calcite-switch.entry.js +0 -6
- package/dist/esm-es5/calcite-tab_4.entry.js +0 -6
- package/dist/esm-es5/calcite-tile-select_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tile.entry.js +0 -6
- package/dist/esm-es5/calcite-tip_3.entry.js +0 -6
- package/dist/esm-es5/calcite-tooltip_2.entry.js +0 -6
- package/dist/esm-es5/calcite-tree_2.entry.js +0 -6
- package/dist/esm-es5/calcite-value-list_2.entry.js +0 -6
- package/dist/esm-es5/calcite.js +0 -6
- package/dist/esm-es5/conditionalSlot-a8df5b3f.js +0 -6
- package/dist/esm-es5/debounce-d31cc476.js +0 -6
- package/dist/esm-es5/dom-24af003b.js +0 -6
- package/dist/esm-es5/filter-72316b3f.js +0 -6
- package/dist/esm-es5/floating-ui-10f8689c.js +0 -6
- package/dist/esm-es5/form-390fdf0f.js +0 -6
- package/dist/esm-es5/globalAttributes-9a3874c6.js +0 -6
- package/dist/esm-es5/guid-b68b1941.js +0 -6
- package/dist/esm-es5/index-8384b5ec.js +0 -7
- package/dist/esm-es5/interactive-f2ec7825.js +0 -6
- package/dist/esm-es5/interfaces-ba98f966.js +0 -6
- package/dist/esm-es5/key-ed874b7d.js +0 -6
- package/dist/esm-es5/label-78f72c1a.js +0 -6
- package/dist/esm-es5/loader.js +0 -6
- package/dist/esm-es5/math-2893cee3.js +0 -6
- package/dist/esm-es5/observers-251355d3.js +0 -6
- package/dist/esm-es5/openCloseComponent-0a4c6226.js +0 -6
- package/dist/esm-es5/resources-0497ae87.js +0 -6
- package/dist/esm-es5/resources-32c242fa.js +0 -6
- package/dist/esm-es5/resources-351f6f14.js +0 -6
- package/dist/esm-es5/resources-3acd3089.js +0 -6
- package/dist/esm-es5/resources-ea0a60b4.js +0 -6
- package/dist/esm-es5/resources-f8aa3ed1.js +0 -6
- package/dist/esm-es5/sortable.esm-3d78dbdc.js +0 -12
- package/dist/esm-es5/utils-a7e4e0e1.js +0 -6
|
@@ -1,18 +1,17 @@
|
|
|
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.97
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { h, Host } from "@stencil/core";
|
|
7
7
|
import { guid } from "../../utils/guid";
|
|
8
|
-
import { intersects } from "../../utils/dom";
|
|
8
|
+
import { intersects, isPrimaryPointerButton } from "../../utils/dom";
|
|
9
9
|
import { clamp, decimalPlaces } from "../../utils/math";
|
|
10
10
|
import { connectLabel, disconnectLabel } from "../../utils/label";
|
|
11
11
|
import { afterConnectDefaultValueSet, connectForm, disconnectForm, HiddenFormInputSlot } from "../../utils/form";
|
|
12
12
|
import { updateHostInteraction } from "../../utils/interactive";
|
|
13
13
|
import { isActivationKey } from "../../utils/key";
|
|
14
|
-
import {
|
|
15
|
-
import { watchGlobalAttributes, unwatchGlobalAttributes } from "../../utils/globalAttributes";
|
|
14
|
+
import { connectLocalized, disconnectLocalized, numberStringFormatter } from "../../utils/locale";
|
|
16
15
|
import { CSS } from "./resources";
|
|
17
16
|
function isRange(value) {
|
|
18
17
|
return Array.isArray(value);
|
|
@@ -24,35 +23,35 @@ export class Slider {
|
|
|
24
23
|
// Properties
|
|
25
24
|
//
|
|
26
25
|
//--------------------------------------------------------------------------
|
|
27
|
-
/** When true
|
|
26
|
+
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
28
27
|
this.disabled = false;
|
|
29
28
|
/**
|
|
30
|
-
* When true
|
|
29
|
+
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
31
30
|
*/
|
|
32
31
|
this.groupSeparator = false;
|
|
33
|
-
/** When true
|
|
32
|
+
/** When `true`, indicates a histogram is present. */
|
|
34
33
|
this.hasHistogram = false;
|
|
35
|
-
/** When true
|
|
34
|
+
/** When `true`, displays label handles with their numeric value. */
|
|
36
35
|
this.labelHandles = false;
|
|
37
|
-
/** When true and
|
|
36
|
+
/** When `true` and `ticks` is specified, displays label tick marks with their numeric value. */
|
|
38
37
|
this.labelTicks = false;
|
|
39
38
|
/** The component's maximum selectable value. */
|
|
40
39
|
this.max = 100;
|
|
41
40
|
/** The component's minimum selectable value. */
|
|
42
41
|
this.min = 0;
|
|
43
42
|
/**
|
|
44
|
-
* When true
|
|
43
|
+
* When `true`, the slider will display values from high to low.
|
|
45
44
|
*
|
|
46
45
|
* Note that this value will be ignored if the slider has an associated histogram.
|
|
47
46
|
*/
|
|
48
47
|
this.mirrored = false;
|
|
49
|
-
/** When true
|
|
48
|
+
/** When `true`, sets a finer point for handles. */
|
|
50
49
|
this.precise = false;
|
|
51
50
|
/**
|
|
52
|
-
* When true
|
|
51
|
+
* When `true`, the component must have a value in order for the form to submit.
|
|
53
52
|
*/
|
|
54
53
|
this.required = false;
|
|
55
|
-
/** When true
|
|
54
|
+
/** When `true`, enables snap selection in coordination with `step` via a mouse. */
|
|
56
55
|
this.snap = false;
|
|
57
56
|
/** Specifies the interval to move with the up, or down keys. */
|
|
58
57
|
this.step = 1;
|
|
@@ -62,13 +61,13 @@ export class Slider {
|
|
|
62
61
|
* Specifies the size of the component.
|
|
63
62
|
*/
|
|
64
63
|
this.scale = "m";
|
|
65
|
-
this.guid = `calcite-slider-${guid()}`;
|
|
66
64
|
this.activeProp = "value";
|
|
65
|
+
this.guid = `calcite-slider-${guid()}`;
|
|
66
|
+
this.effectiveLocale = "";
|
|
67
67
|
this.minMaxValueRange = null;
|
|
68
68
|
this.minValueDragRange = null;
|
|
69
69
|
this.maxValueDragRange = null;
|
|
70
70
|
this.tickValues = [];
|
|
71
|
-
this.globalAttributes = {};
|
|
72
71
|
this.dragUpdate = (event) => {
|
|
73
72
|
event.preventDefault();
|
|
74
73
|
if (this.dragProp) {
|
|
@@ -80,8 +79,10 @@ export class Slider {
|
|
|
80
79
|
if (newMaxValue <= this.max &&
|
|
81
80
|
newMinValue >= this.min &&
|
|
82
81
|
newMaxValue - newMinValue === this.minMaxValueRange) {
|
|
83
|
-
this.
|
|
84
|
-
|
|
82
|
+
this.setValue({
|
|
83
|
+
minValue: this.clamp(newMinValue, "minValue"),
|
|
84
|
+
maxValue: this.clamp(newMaxValue, "maxValue")
|
|
85
|
+
});
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
88
|
else {
|
|
@@ -91,10 +92,16 @@ export class Slider {
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
else {
|
|
94
|
-
this.setValue(this.dragProp
|
|
95
|
+
this.setValue({ [this.dragProp]: this.clamp(value, this.dragProp) });
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
};
|
|
99
|
+
this.pointerUpDragEnd = (event) => {
|
|
100
|
+
if (!isPrimaryPointerButton(event)) {
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
this.dragEnd(event);
|
|
104
|
+
};
|
|
98
105
|
this.dragEnd = (event) => {
|
|
99
106
|
this.removeDragListeners();
|
|
100
107
|
this.focusActiveHandle(event.clientX);
|
|
@@ -117,16 +124,18 @@ export class Slider {
|
|
|
117
124
|
this.trackEl = node;
|
|
118
125
|
};
|
|
119
126
|
/**
|
|
120
|
-
* Returns a string representing the localized label value based
|
|
127
|
+
* Returns a string representing the localized label value based if the groupSeparator prop is parsed.
|
|
121
128
|
*
|
|
122
129
|
* @param value
|
|
123
130
|
*/
|
|
124
131
|
this.determineGroupSeparator = (value) => {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
:
|
|
132
|
+
if (typeof value === "number") {
|
|
133
|
+
numberStringFormatter.numberFormatOptions = {
|
|
134
|
+
locale: this.effectiveLocale,
|
|
135
|
+
numberingSystem: this.numberingSystem,
|
|
136
|
+
useGrouping: this.groupSeparator
|
|
137
|
+
};
|
|
138
|
+
return numberStringFormatter.localize(value.toString());
|
|
130
139
|
}
|
|
131
140
|
};
|
|
132
141
|
}
|
|
@@ -145,17 +154,17 @@ export class Slider {
|
|
|
145
154
|
//
|
|
146
155
|
//--------------------------------------------------------------------------
|
|
147
156
|
connectedCallback() {
|
|
157
|
+
connectLocalized(this);
|
|
148
158
|
this.setMinMaxFromValue();
|
|
149
159
|
this.setValueFromMinMax();
|
|
150
160
|
connectLabel(this);
|
|
151
161
|
connectForm(this);
|
|
152
|
-
watchGlobalAttributes(this, ["lang"]);
|
|
153
162
|
}
|
|
154
163
|
disconnectedCallback() {
|
|
155
164
|
disconnectLabel(this);
|
|
156
165
|
disconnectForm(this);
|
|
166
|
+
disconnectLocalized(this);
|
|
157
167
|
this.removeDragListeners();
|
|
158
|
-
unwatchGlobalAttributes(this);
|
|
159
168
|
}
|
|
160
169
|
componentWillLoad() {
|
|
161
170
|
this.tickValues = this.generateTickValues();
|
|
@@ -203,158 +212,100 @@ export class Slider {
|
|
|
203
212
|
thumb: true,
|
|
204
213
|
"thumb--value": true,
|
|
205
214
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
206
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
207
|
-
h("div", { class: "handle" })));
|
|
215
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" })));
|
|
208
216
|
const labeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
209
217
|
thumb: true,
|
|
210
218
|
"thumb--value": true,
|
|
211
219
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
212
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
213
|
-
h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue),
|
|
214
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue),
|
|
215
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue),
|
|
216
|
-
h("div", { class: "handle" })));
|
|
220
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" })));
|
|
217
221
|
const histogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
218
222
|
thumb: true,
|
|
219
223
|
"thumb--value": true,
|
|
220
224
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp
|
|
221
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
222
|
-
h("div", { class: "handle" }),
|
|
223
|
-
h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue),
|
|
224
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue),
|
|
225
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
225
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
226
226
|
const preciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
227
227
|
thumb: true,
|
|
228
228
|
"thumb--value": true,
|
|
229
229
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
230
230
|
"thumb--precise": true
|
|
231
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
232
|
-
h("div", { class: "handle" }),
|
|
233
|
-
h("div", { class: "handle-extension" })));
|
|
231
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
|
|
234
232
|
const histogramPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
235
233
|
thumb: true,
|
|
236
234
|
"thumb--value": true,
|
|
237
235
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
238
236
|
"thumb--precise": true
|
|
239
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
240
|
-
h("div", { class: "handle-extension" }),
|
|
241
|
-
h("div", { class: "handle" })));
|
|
237
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" })));
|
|
242
238
|
const labeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
243
239
|
thumb: true,
|
|
244
240
|
"thumb--value": true,
|
|
245
241
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
246
242
|
"thumb--precise": true
|
|
247
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
248
|
-
h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue),
|
|
249
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue),
|
|
250
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue),
|
|
251
|
-
h("div", { class: "handle" }),
|
|
252
|
-
h("div", { class: "handle-extension" })));
|
|
243
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue), h("div", { class: "handle" }), h("div", { class: "handle-extension" })));
|
|
253
244
|
const histogramLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": valueIsRange ? this.maxLabel : this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": value, class: {
|
|
254
245
|
thumb: true,
|
|
255
246
|
"thumb--value": true,
|
|
256
247
|
"thumb--active": this.lastDragProp !== "minMaxValue" && this.dragProp === maxProp,
|
|
257
248
|
"thumb--precise": true
|
|
258
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: () => this.
|
|
259
|
-
h("div", { class: "handle-extension" }),
|
|
260
|
-
h("div", { class: "handle" }),
|
|
261
|
-
h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue),
|
|
262
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue),
|
|
263
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
249
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = maxProp), onPointerDown: (event) => this.pointerDownDragStart(event, maxProp), ref: (el) => (this.maxHandle = el), role: "slider", style: { right: rightThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelValueClasses }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} static` }, displayedValue), h("span", { "aria-hidden": "true", class: `${handleLabelValueClasses} transformed` }, displayedValue)));
|
|
264
250
|
const minHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
265
251
|
thumb: true,
|
|
266
252
|
"thumb--minValue": true,
|
|
267
253
|
"thumb--active": this.dragProp === "minValue"
|
|
268
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.
|
|
269
|
-
h("div", { class: "handle" })));
|
|
254
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" })));
|
|
270
255
|
const minLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
271
256
|
thumb: true,
|
|
272
257
|
"thumb--minValue": true,
|
|
273
258
|
"thumb--active": this.dragProp === "minValue"
|
|
274
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.
|
|
275
|
-
h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue),
|
|
276
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue),
|
|
277
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue),
|
|
278
|
-
h("div", { class: "handle" })));
|
|
259
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue), h("div", { class: "handle" })));
|
|
279
260
|
const minHistogramLabeledHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
280
261
|
thumb: true,
|
|
281
262
|
"thumb--minValue": true,
|
|
282
263
|
"thumb--active": this.dragProp === "minValue"
|
|
283
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.
|
|
284
|
-
h("div", { class: "handle" }),
|
|
285
|
-
h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue),
|
|
286
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue),
|
|
287
|
-
h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
264
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
288
265
|
const minPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
289
266
|
thumb: true,
|
|
290
267
|
"thumb--minValue": true,
|
|
291
268
|
"thumb--active": this.dragProp === "minValue",
|
|
292
269
|
"thumb--precise": true
|
|
293
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.
|
|
294
|
-
h("div", { class: "handle-extension" }),
|
|
295
|
-
h("div", { class: "handle" })));
|
|
270
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" })));
|
|
296
271
|
const minLabeledPreciseHandle = (h("div", { "aria-disabled": this.disabled, "aria-label": this.minLabel, "aria-orientation": "horizontal", "aria-valuemax": this.max, "aria-valuemin": this.min, "aria-valuenow": this.minValue, class: {
|
|
297
272
|
thumb: true,
|
|
298
273
|
"thumb--minValue": true,
|
|
299
274
|
"thumb--active": this.dragProp === "minValue",
|
|
300
275
|
"thumb--precise": true
|
|
301
|
-
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: () => this.
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
h("
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
this.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
!this.precise && !this.labelHandles && valueIsRange && minHandle,
|
|
335
|
-
!this.hasHistogram &&
|
|
336
|
-
!this.precise &&
|
|
337
|
-
this.labelHandles &&
|
|
338
|
-
valueIsRange &&
|
|
339
|
-
minLabeledHandle,
|
|
340
|
-
this.precise && !this.labelHandles && valueIsRange && minPreciseHandle,
|
|
341
|
-
this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle,
|
|
342
|
-
this.hasHistogram &&
|
|
343
|
-
!this.precise &&
|
|
344
|
-
this.labelHandles &&
|
|
345
|
-
valueIsRange &&
|
|
346
|
-
minHistogramLabeledHandle,
|
|
347
|
-
!this.precise && !this.labelHandles && handle,
|
|
348
|
-
!this.hasHistogram && !this.precise && this.labelHandles && labeledHandle,
|
|
349
|
-
!this.hasHistogram && this.precise && !this.labelHandles && preciseHandle,
|
|
350
|
-
this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle,
|
|
351
|
-
!this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle,
|
|
352
|
-
this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle,
|
|
353
|
-
this.hasHistogram &&
|
|
354
|
-
this.precise &&
|
|
355
|
-
this.labelHandles &&
|
|
356
|
-
histogramLabeledPreciseHandle,
|
|
357
|
-
h(HiddenFormInputSlot, { component: this })))));
|
|
276
|
+
}, onBlur: () => (this.activeProp = null), onFocus: () => (this.activeProp = "minValue"), onPointerDown: (event) => this.pointerDownDragStart(event, "minValue"), ref: (el) => (this.minHandle = el), role: "slider", style: { left: leftThumbOffset }, tabIndex: 0 }, h("div", { class: "handle-extension" }), h("div", { class: "handle" }), h("span", { "aria-hidden": "true", class: handleLabelMinValueClasses }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} static` }, displayedMinValue), h("span", { "aria-hidden": "true", class: `${handleLabelMinValueClasses} transformed` }, displayedMinValue)));
|
|
277
|
+
return (h(Host, { id: id, onTouchStart: this.handleTouchStart }, h("div", { class: {
|
|
278
|
+
["container"]: true,
|
|
279
|
+
["container--range"]: valueIsRange,
|
|
280
|
+
[`scale--${this.scale}`]: true
|
|
281
|
+
} }, this.renderGraph(), h("div", { class: "track", ref: this.storeTrackRef }, h("div", { class: "track__range", onPointerDown: (event) => this.pointerDownDragStart(event, "minMaxValue"), style: {
|
|
282
|
+
left: `${mirror ? 100 - maxInterval : minInterval}%`,
|
|
283
|
+
right: `${mirror ? minInterval : 100 - maxInterval}%`
|
|
284
|
+
} }), h("div", { class: "ticks" }, this.tickValues.map((tick) => {
|
|
285
|
+
const tickOffset = `${this.getUnitInterval(tick) * 100}%`;
|
|
286
|
+
let activeTicks = tick >= min && tick <= value;
|
|
287
|
+
if (useMinValue) {
|
|
288
|
+
activeTicks = tick >= this.minValue && tick <= this.maxValue;
|
|
289
|
+
}
|
|
290
|
+
return (h("span", { class: {
|
|
291
|
+
tick: true,
|
|
292
|
+
"tick--active": activeTicks
|
|
293
|
+
}, style: {
|
|
294
|
+
left: mirror ? "" : tickOffset,
|
|
295
|
+
right: mirror ? tickOffset : ""
|
|
296
|
+
} }, this.renderTickLabel(tick)));
|
|
297
|
+
}))), h("div", { class: "thumb-container" }, !this.precise && !this.labelHandles && valueIsRange && minHandle, !this.hasHistogram &&
|
|
298
|
+
!this.precise &&
|
|
299
|
+
this.labelHandles &&
|
|
300
|
+
valueIsRange &&
|
|
301
|
+
minLabeledHandle, this.precise && !this.labelHandles && valueIsRange && minPreciseHandle, this.precise && this.labelHandles && valueIsRange && minLabeledPreciseHandle, this.hasHistogram &&
|
|
302
|
+
!this.precise &&
|
|
303
|
+
this.labelHandles &&
|
|
304
|
+
valueIsRange &&
|
|
305
|
+
minHistogramLabeledHandle, !this.precise && !this.labelHandles && handle, !this.hasHistogram && !this.precise && this.labelHandles && labeledHandle, !this.hasHistogram && this.precise && !this.labelHandles && preciseHandle, this.hasHistogram && this.precise && !this.labelHandles && histogramPreciseHandle, !this.hasHistogram && this.precise && this.labelHandles && labeledPreciseHandle, this.hasHistogram && !this.precise && this.labelHandles && histogramLabeledHandle, this.hasHistogram &&
|
|
306
|
+
this.precise &&
|
|
307
|
+
this.labelHandles &&
|
|
308
|
+
histogramLabeledPreciseHandle, h(HiddenFormInputSlot, { component: this })))));
|
|
358
309
|
}
|
|
359
310
|
renderGraph() {
|
|
360
311
|
return this.histogram ? (h("calcite-graph", { class: "graph", colorStops: this.histogramStops, data: this.histogram, highlightMax: isRange(this.value) ? this.maxValue : this.value, highlightMin: isRange(this.value) ? this.minValue : this.min, max: this.max, min: this.min })) : null;
|
|
@@ -463,11 +414,15 @@ export class Slider {
|
|
|
463
414
|
}
|
|
464
415
|
event.preventDefault();
|
|
465
416
|
const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));
|
|
466
|
-
this.setValue(
|
|
417
|
+
this.setValue({
|
|
418
|
+
[activeProp]: this.clamp(fixedDecimalAdjustment, activeProp)
|
|
419
|
+
});
|
|
467
420
|
}
|
|
468
421
|
pointerDownHandler(event) {
|
|
422
|
+
if (!isPrimaryPointerButton(event)) {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
469
425
|
const x = event.clientX || event.pageX;
|
|
470
|
-
this.focusActiveHandle(x);
|
|
471
426
|
const position = this.translate(x);
|
|
472
427
|
let prop = "value";
|
|
473
428
|
if (isRange(this.value)) {
|
|
@@ -484,8 +439,9 @@ export class Slider {
|
|
|
484
439
|
this.dragStart(prop);
|
|
485
440
|
const isThumbActive = this.el.shadowRoot.querySelector(".thumb:active");
|
|
486
441
|
if (!isThumbActive) {
|
|
487
|
-
this.setValue(prop
|
|
442
|
+
this.setValue({ [prop]: this.clamp(position, prop) });
|
|
488
443
|
}
|
|
444
|
+
this.focusActiveHandle(x);
|
|
489
445
|
}
|
|
490
446
|
handleTouchStart(event) {
|
|
491
447
|
// needed to prevent extra click at the end of a handle drag
|
|
@@ -540,12 +496,18 @@ export class Slider {
|
|
|
540
496
|
}
|
|
541
497
|
return ticks;
|
|
542
498
|
}
|
|
499
|
+
pointerDownDragStart(event, prop) {
|
|
500
|
+
if (!isPrimaryPointerButton(event)) {
|
|
501
|
+
return;
|
|
502
|
+
}
|
|
503
|
+
this.dragStart(prop);
|
|
504
|
+
}
|
|
543
505
|
dragStart(prop) {
|
|
544
506
|
this.dragProp = prop;
|
|
545
507
|
this.lastDragProp = this.dragProp;
|
|
546
508
|
this.activeProp = prop;
|
|
547
509
|
document.addEventListener("pointermove", this.dragUpdate);
|
|
548
|
-
document.addEventListener("pointerup", this.
|
|
510
|
+
document.addEventListener("pointerup", this.pointerUpDragEnd);
|
|
549
511
|
document.addEventListener("pointercancel", this.dragEnd);
|
|
550
512
|
}
|
|
551
513
|
focusActiveHandle(valueX) {
|
|
@@ -554,6 +516,7 @@ export class Slider {
|
|
|
554
516
|
this.minHandle.focus();
|
|
555
517
|
break;
|
|
556
518
|
case "maxValue":
|
|
519
|
+
case "value":
|
|
557
520
|
this.maxHandle.focus();
|
|
558
521
|
break;
|
|
559
522
|
case "minMaxValue":
|
|
@@ -572,22 +535,27 @@ export class Slider {
|
|
|
572
535
|
}
|
|
573
536
|
removeDragListeners() {
|
|
574
537
|
document.removeEventListener("pointermove", this.dragUpdate);
|
|
575
|
-
document.removeEventListener("pointerup", this.
|
|
538
|
+
document.removeEventListener("pointerup", this.pointerUpDragEnd);
|
|
576
539
|
document.removeEventListener("pointercancel", this.dragEnd);
|
|
577
540
|
}
|
|
578
541
|
/**
|
|
579
|
-
* Set
|
|
542
|
+
* Set prop value(s) if changed at the component level
|
|
580
543
|
*
|
|
581
|
-
* @param
|
|
582
|
-
* @param value
|
|
544
|
+
* @param {object} values - a set of key/value pairs delineating what properties in the component to update
|
|
583
545
|
*/
|
|
584
|
-
setValue(
|
|
585
|
-
|
|
586
|
-
|
|
546
|
+
setValue(values) {
|
|
547
|
+
let valueChanged;
|
|
548
|
+
Object.keys(values).forEach((propName) => {
|
|
549
|
+
const newValue = values[propName];
|
|
550
|
+
if (!valueChanged) {
|
|
551
|
+
const oldValue = this[propName];
|
|
552
|
+
valueChanged = oldValue !== newValue;
|
|
553
|
+
}
|
|
554
|
+
this[propName] = newValue;
|
|
555
|
+
});
|
|
587
556
|
if (!valueChanged) {
|
|
588
557
|
return;
|
|
589
558
|
}
|
|
590
|
-
this[valueProp] = value;
|
|
591
559
|
const dragging = this.dragProp;
|
|
592
560
|
if (!dragging) {
|
|
593
561
|
this.emitChange();
|
|
@@ -847,553 +815,570 @@ export class Slider {
|
|
|
847
815
|
}
|
|
848
816
|
static get is() { return "calcite-slider"; }
|
|
849
817
|
static get encapsulation() { return "shadow"; }
|
|
850
|
-
static get originalStyleUrls() {
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
"
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
"original": "boolean",
|
|
880
|
-
"resolved": "boolean",
|
|
881
|
-
"references": {}
|
|
882
|
-
},
|
|
883
|
-
"required": false,
|
|
884
|
-
"optional": false,
|
|
885
|
-
"docs": {
|
|
886
|
-
"tags": [],
|
|
887
|
-
"text": "When true, number values are displayed with a group separator corresponding to the language and country format."
|
|
818
|
+
static get originalStyleUrls() {
|
|
819
|
+
return {
|
|
820
|
+
"$": ["slider.scss"]
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
static get styleUrls() {
|
|
824
|
+
return {
|
|
825
|
+
"$": ["slider.css"]
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
static get properties() {
|
|
829
|
+
return {
|
|
830
|
+
"disabled": {
|
|
831
|
+
"type": "boolean",
|
|
832
|
+
"mutable": false,
|
|
833
|
+
"complexType": {
|
|
834
|
+
"original": "boolean",
|
|
835
|
+
"resolved": "boolean",
|
|
836
|
+
"references": {}
|
|
837
|
+
},
|
|
838
|
+
"required": false,
|
|
839
|
+
"optional": false,
|
|
840
|
+
"docs": {
|
|
841
|
+
"tags": [],
|
|
842
|
+
"text": "When `true`, interaction is prevented and the component is displayed with lower opacity."
|
|
843
|
+
},
|
|
844
|
+
"attribute": "disabled",
|
|
845
|
+
"reflect": true,
|
|
846
|
+
"defaultValue": "false"
|
|
888
847
|
},
|
|
889
|
-
"
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
"
|
|
898
|
-
"
|
|
899
|
-
"
|
|
848
|
+
"groupSeparator": {
|
|
849
|
+
"type": "boolean",
|
|
850
|
+
"mutable": false,
|
|
851
|
+
"complexType": {
|
|
852
|
+
"original": "boolean",
|
|
853
|
+
"resolved": "boolean",
|
|
854
|
+
"references": {}
|
|
855
|
+
},
|
|
856
|
+
"required": false,
|
|
857
|
+
"optional": false,
|
|
858
|
+
"docs": {
|
|
859
|
+
"tags": [],
|
|
860
|
+
"text": "When `true`, number values are displayed with a group separator corresponding to the language and country format."
|
|
861
|
+
},
|
|
862
|
+
"attribute": "group-separator",
|
|
863
|
+
"reflect": true,
|
|
864
|
+
"defaultValue": "false"
|
|
900
865
|
},
|
|
901
|
-
"
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
"
|
|
905
|
-
|
|
866
|
+
"hasHistogram": {
|
|
867
|
+
"type": "boolean",
|
|
868
|
+
"mutable": true,
|
|
869
|
+
"complexType": {
|
|
870
|
+
"original": "boolean",
|
|
871
|
+
"resolved": "boolean",
|
|
872
|
+
"references": {}
|
|
873
|
+
},
|
|
874
|
+
"required": false,
|
|
875
|
+
"optional": false,
|
|
876
|
+
"docs": {
|
|
877
|
+
"tags": [],
|
|
878
|
+
"text": "When `true`, indicates a histogram is present."
|
|
879
|
+
},
|
|
880
|
+
"attribute": "has-histogram",
|
|
881
|
+
"reflect": true,
|
|
882
|
+
"defaultValue": "false"
|
|
906
883
|
},
|
|
907
|
-
"
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
"DataSeries": {
|
|
919
|
-
"location": "import",
|
|
920
|
-
"path": "../graph/interfaces"
|
|
884
|
+
"histogram": {
|
|
885
|
+
"type": "unknown",
|
|
886
|
+
"mutable": false,
|
|
887
|
+
"complexType": {
|
|
888
|
+
"original": "DataSeries",
|
|
889
|
+
"resolved": "Point[]",
|
|
890
|
+
"references": {
|
|
891
|
+
"DataSeries": {
|
|
892
|
+
"location": "import",
|
|
893
|
+
"path": "../graph/interfaces"
|
|
894
|
+
}
|
|
921
895
|
}
|
|
896
|
+
},
|
|
897
|
+
"required": false,
|
|
898
|
+
"optional": true,
|
|
899
|
+
"docs": {
|
|
900
|
+
"tags": [{
|
|
901
|
+
"name": "see",
|
|
902
|
+
"text": "[DataSeries](https://github.com/Esri/calcite-components/blob/master/src/components/graph/interfaces.ts#L5)"
|
|
903
|
+
}],
|
|
904
|
+
"text": "A list of the histogram's x,y coordinates within the component's `min` and `max`. Displays above the component's track."
|
|
922
905
|
}
|
|
923
906
|
},
|
|
924
|
-
"
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
"
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
"type": "unknown",
|
|
936
|
-
"mutable": false,
|
|
937
|
-
"complexType": {
|
|
938
|
-
"original": "ColorStop[]",
|
|
939
|
-
"resolved": "ColorStop[]",
|
|
940
|
-
"references": {
|
|
941
|
-
"ColorStop": {
|
|
942
|
-
"location": "import",
|
|
943
|
-
"path": "../graph/interfaces"
|
|
907
|
+
"histogramStops": {
|
|
908
|
+
"type": "unknown",
|
|
909
|
+
"mutable": false,
|
|
910
|
+
"complexType": {
|
|
911
|
+
"original": "ColorStop[]",
|
|
912
|
+
"resolved": "ColorStop[]",
|
|
913
|
+
"references": {
|
|
914
|
+
"ColorStop": {
|
|
915
|
+
"location": "import",
|
|
916
|
+
"path": "../graph/interfaces"
|
|
917
|
+
}
|
|
944
918
|
}
|
|
919
|
+
},
|
|
920
|
+
"required": false,
|
|
921
|
+
"optional": false,
|
|
922
|
+
"docs": {
|
|
923
|
+
"tags": [],
|
|
924
|
+
"text": "A set of single color stops for a histogram, sorted by offset ascending."
|
|
945
925
|
}
|
|
946
926
|
},
|
|
947
|
-
"
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
"
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
"docs": {
|
|
965
|
-
"tags": [],
|
|
966
|
-
"text": "When true, displays label handles with their numeric value."
|
|
967
|
-
},
|
|
968
|
-
"attribute": "label-handles",
|
|
969
|
-
"reflect": true,
|
|
970
|
-
"defaultValue": "false"
|
|
971
|
-
},
|
|
972
|
-
"labelTicks": {
|
|
973
|
-
"type": "boolean",
|
|
974
|
-
"mutable": false,
|
|
975
|
-
"complexType": {
|
|
976
|
-
"original": "boolean",
|
|
977
|
-
"resolved": "boolean",
|
|
978
|
-
"references": {}
|
|
979
|
-
},
|
|
980
|
-
"required": false,
|
|
981
|
-
"optional": false,
|
|
982
|
-
"docs": {
|
|
983
|
-
"tags": [],
|
|
984
|
-
"text": "When true and \"ticks\" is specified, displays label tick marks with their numeric value."
|
|
985
|
-
},
|
|
986
|
-
"attribute": "label-ticks",
|
|
987
|
-
"reflect": true,
|
|
988
|
-
"defaultValue": "false"
|
|
989
|
-
},
|
|
990
|
-
"max": {
|
|
991
|
-
"type": "number",
|
|
992
|
-
"mutable": false,
|
|
993
|
-
"complexType": {
|
|
994
|
-
"original": "number",
|
|
995
|
-
"resolved": "number",
|
|
996
|
-
"references": {}
|
|
997
|
-
},
|
|
998
|
-
"required": false,
|
|
999
|
-
"optional": false,
|
|
1000
|
-
"docs": {
|
|
1001
|
-
"tags": [],
|
|
1002
|
-
"text": "The component's maximum selectable value."
|
|
1003
|
-
},
|
|
1004
|
-
"attribute": "max",
|
|
1005
|
-
"reflect": true,
|
|
1006
|
-
"defaultValue": "100"
|
|
1007
|
-
},
|
|
1008
|
-
"maxLabel": {
|
|
1009
|
-
"type": "string",
|
|
1010
|
-
"mutable": false,
|
|
1011
|
-
"complexType": {
|
|
1012
|
-
"original": "string",
|
|
1013
|
-
"resolved": "string",
|
|
1014
|
-
"references": {}
|
|
1015
|
-
},
|
|
1016
|
-
"required": false,
|
|
1017
|
-
"optional": true,
|
|
1018
|
-
"docs": {
|
|
1019
|
-
"tags": [],
|
|
1020
|
-
"text": "For multiple selections, the accessible name for the second handle, such as \"Temperature, upper bound\"."
|
|
1021
|
-
},
|
|
1022
|
-
"attribute": "max-label",
|
|
1023
|
-
"reflect": false
|
|
1024
|
-
},
|
|
1025
|
-
"maxValue": {
|
|
1026
|
-
"type": "number",
|
|
1027
|
-
"mutable": true,
|
|
1028
|
-
"complexType": {
|
|
1029
|
-
"original": "number",
|
|
1030
|
-
"resolved": "number",
|
|
1031
|
-
"references": {}
|
|
1032
|
-
},
|
|
1033
|
-
"required": false,
|
|
1034
|
-
"optional": true,
|
|
1035
|
-
"docs": {
|
|
1036
|
-
"tags": [],
|
|
1037
|
-
"text": "For multiple selections, the component's upper value."
|
|
1038
|
-
},
|
|
1039
|
-
"attribute": "max-value",
|
|
1040
|
-
"reflect": false
|
|
1041
|
-
},
|
|
1042
|
-
"min": {
|
|
1043
|
-
"type": "number",
|
|
1044
|
-
"mutable": false,
|
|
1045
|
-
"complexType": {
|
|
1046
|
-
"original": "number",
|
|
1047
|
-
"resolved": "number",
|
|
1048
|
-
"references": {}
|
|
1049
|
-
},
|
|
1050
|
-
"required": false,
|
|
1051
|
-
"optional": false,
|
|
1052
|
-
"docs": {
|
|
1053
|
-
"tags": [],
|
|
1054
|
-
"text": "The component's minimum selectable value."
|
|
1055
|
-
},
|
|
1056
|
-
"attribute": "min",
|
|
1057
|
-
"reflect": true,
|
|
1058
|
-
"defaultValue": "0"
|
|
1059
|
-
},
|
|
1060
|
-
"minLabel": {
|
|
1061
|
-
"type": "string",
|
|
1062
|
-
"mutable": false,
|
|
1063
|
-
"complexType": {
|
|
1064
|
-
"original": "string",
|
|
1065
|
-
"resolved": "string",
|
|
1066
|
-
"references": {}
|
|
1067
|
-
},
|
|
1068
|
-
"required": false,
|
|
1069
|
-
"optional": false,
|
|
1070
|
-
"docs": {
|
|
1071
|
-
"tags": [],
|
|
1072
|
-
"text": "Accessible name for first (or only) handle, such as \"Temperature, lower bound\"."
|
|
1073
|
-
},
|
|
1074
|
-
"attribute": "min-label",
|
|
1075
|
-
"reflect": false
|
|
1076
|
-
},
|
|
1077
|
-
"minValue": {
|
|
1078
|
-
"type": "number",
|
|
1079
|
-
"mutable": true,
|
|
1080
|
-
"complexType": {
|
|
1081
|
-
"original": "number",
|
|
1082
|
-
"resolved": "number",
|
|
1083
|
-
"references": {}
|
|
1084
|
-
},
|
|
1085
|
-
"required": false,
|
|
1086
|
-
"optional": true,
|
|
1087
|
-
"docs": {
|
|
1088
|
-
"tags": [],
|
|
1089
|
-
"text": "For multiple selections, the component's lower value."
|
|
1090
|
-
},
|
|
1091
|
-
"attribute": "min-value",
|
|
1092
|
-
"reflect": false
|
|
1093
|
-
},
|
|
1094
|
-
"mirrored": {
|
|
1095
|
-
"type": "boolean",
|
|
1096
|
-
"mutable": false,
|
|
1097
|
-
"complexType": {
|
|
1098
|
-
"original": "boolean",
|
|
1099
|
-
"resolved": "boolean",
|
|
1100
|
-
"references": {}
|
|
1101
|
-
},
|
|
1102
|
-
"required": false,
|
|
1103
|
-
"optional": false,
|
|
1104
|
-
"docs": {
|
|
1105
|
-
"tags": [],
|
|
1106
|
-
"text": "When true, the slider will display values from high to low.\n\nNote that this value will be ignored if the slider has an associated histogram."
|
|
1107
|
-
},
|
|
1108
|
-
"attribute": "mirrored",
|
|
1109
|
-
"reflect": true,
|
|
1110
|
-
"defaultValue": "false"
|
|
1111
|
-
},
|
|
1112
|
-
"name": {
|
|
1113
|
-
"type": "string",
|
|
1114
|
-
"mutable": false,
|
|
1115
|
-
"complexType": {
|
|
1116
|
-
"original": "string",
|
|
1117
|
-
"resolved": "string",
|
|
1118
|
-
"references": {}
|
|
927
|
+
"labelHandles": {
|
|
928
|
+
"type": "boolean",
|
|
929
|
+
"mutable": false,
|
|
930
|
+
"complexType": {
|
|
931
|
+
"original": "boolean",
|
|
932
|
+
"resolved": "boolean",
|
|
933
|
+
"references": {}
|
|
934
|
+
},
|
|
935
|
+
"required": false,
|
|
936
|
+
"optional": false,
|
|
937
|
+
"docs": {
|
|
938
|
+
"tags": [],
|
|
939
|
+
"text": "When `true`, displays label handles with their numeric value."
|
|
940
|
+
},
|
|
941
|
+
"attribute": "label-handles",
|
|
942
|
+
"reflect": true,
|
|
943
|
+
"defaultValue": "false"
|
|
1119
944
|
},
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
"
|
|
1124
|
-
|
|
945
|
+
"labelTicks": {
|
|
946
|
+
"type": "boolean",
|
|
947
|
+
"mutable": false,
|
|
948
|
+
"complexType": {
|
|
949
|
+
"original": "boolean",
|
|
950
|
+
"resolved": "boolean",
|
|
951
|
+
"references": {}
|
|
952
|
+
},
|
|
953
|
+
"required": false,
|
|
954
|
+
"optional": false,
|
|
955
|
+
"docs": {
|
|
956
|
+
"tags": [],
|
|
957
|
+
"text": "When `true` and `ticks` is specified, displays label tick marks with their numeric value."
|
|
958
|
+
},
|
|
959
|
+
"attribute": "label-ticks",
|
|
960
|
+
"reflect": true,
|
|
961
|
+
"defaultValue": "false"
|
|
1125
962
|
},
|
|
1126
|
-
"
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
"
|
|
1135
|
-
"
|
|
963
|
+
"max": {
|
|
964
|
+
"type": "number",
|
|
965
|
+
"mutable": false,
|
|
966
|
+
"complexType": {
|
|
967
|
+
"original": "number",
|
|
968
|
+
"resolved": "number",
|
|
969
|
+
"references": {}
|
|
970
|
+
},
|
|
971
|
+
"required": false,
|
|
972
|
+
"optional": false,
|
|
973
|
+
"docs": {
|
|
974
|
+
"tags": [],
|
|
975
|
+
"text": "The component's maximum selectable value."
|
|
976
|
+
},
|
|
977
|
+
"attribute": "max",
|
|
978
|
+
"reflect": true,
|
|
979
|
+
"defaultValue": "100"
|
|
1136
980
|
},
|
|
1137
|
-
"
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
"
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
}
|
|
1144
|
-
|
|
981
|
+
"maxLabel": {
|
|
982
|
+
"type": "string",
|
|
983
|
+
"mutable": false,
|
|
984
|
+
"complexType": {
|
|
985
|
+
"original": "string",
|
|
986
|
+
"resolved": "string",
|
|
987
|
+
"references": {}
|
|
988
|
+
},
|
|
989
|
+
"required": false,
|
|
990
|
+
"optional": true,
|
|
991
|
+
"docs": {
|
|
992
|
+
"tags": [],
|
|
993
|
+
"text": "For multiple selections, the accessible name for the second handle, such as `\"Temperature, upper bound\"`."
|
|
994
|
+
},
|
|
995
|
+
"attribute": "max-label",
|
|
996
|
+
"reflect": false
|
|
1145
997
|
},
|
|
1146
|
-
"
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
998
|
+
"maxValue": {
|
|
999
|
+
"type": "number",
|
|
1000
|
+
"mutable": true,
|
|
1001
|
+
"complexType": {
|
|
1002
|
+
"original": "number",
|
|
1003
|
+
"resolved": "number",
|
|
1004
|
+
"references": {}
|
|
1005
|
+
},
|
|
1006
|
+
"required": false,
|
|
1007
|
+
"optional": true,
|
|
1008
|
+
"docs": {
|
|
1009
|
+
"tags": [],
|
|
1010
|
+
"text": "For multiple selections, the component's upper value."
|
|
1011
|
+
},
|
|
1012
|
+
"attribute": "max-value",
|
|
1013
|
+
"reflect": false
|
|
1156
1014
|
},
|
|
1157
|
-
"
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
"
|
|
1161
|
-
|
|
1015
|
+
"min": {
|
|
1016
|
+
"type": "number",
|
|
1017
|
+
"mutable": false,
|
|
1018
|
+
"complexType": {
|
|
1019
|
+
"original": "number",
|
|
1020
|
+
"resolved": "number",
|
|
1021
|
+
"references": {}
|
|
1022
|
+
},
|
|
1023
|
+
"required": false,
|
|
1024
|
+
"optional": false,
|
|
1025
|
+
"docs": {
|
|
1026
|
+
"tags": [],
|
|
1027
|
+
"text": "The component's minimum selectable value."
|
|
1028
|
+
},
|
|
1029
|
+
"attribute": "min",
|
|
1030
|
+
"reflect": true,
|
|
1031
|
+
"defaultValue": "0"
|
|
1162
1032
|
},
|
|
1163
|
-
"
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1033
|
+
"minLabel": {
|
|
1034
|
+
"type": "string",
|
|
1035
|
+
"mutable": false,
|
|
1036
|
+
"complexType": {
|
|
1037
|
+
"original": "string",
|
|
1038
|
+
"resolved": "string",
|
|
1039
|
+
"references": {}
|
|
1040
|
+
},
|
|
1041
|
+
"required": false,
|
|
1042
|
+
"optional": false,
|
|
1043
|
+
"docs": {
|
|
1044
|
+
"tags": [],
|
|
1045
|
+
"text": "Accessible name for first (or only) handle, such as `\"Temperature, lower bound\"`."
|
|
1046
|
+
},
|
|
1047
|
+
"attribute": "min-label",
|
|
1048
|
+
"reflect": false
|
|
1173
1049
|
},
|
|
1174
|
-
"
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
"
|
|
1178
|
-
|
|
1050
|
+
"minValue": {
|
|
1051
|
+
"type": "number",
|
|
1052
|
+
"mutable": true,
|
|
1053
|
+
"complexType": {
|
|
1054
|
+
"original": "number",
|
|
1055
|
+
"resolved": "number",
|
|
1056
|
+
"references": {}
|
|
1057
|
+
},
|
|
1058
|
+
"required": false,
|
|
1059
|
+
"optional": true,
|
|
1060
|
+
"docs": {
|
|
1061
|
+
"tags": [],
|
|
1062
|
+
"text": "For multiple selections, the component's lower value."
|
|
1063
|
+
},
|
|
1064
|
+
"attribute": "min-value",
|
|
1065
|
+
"reflect": false
|
|
1179
1066
|
},
|
|
1180
|
-
"
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1067
|
+
"mirrored": {
|
|
1068
|
+
"type": "boolean",
|
|
1069
|
+
"mutable": false,
|
|
1070
|
+
"complexType": {
|
|
1071
|
+
"original": "boolean",
|
|
1072
|
+
"resolved": "boolean",
|
|
1073
|
+
"references": {}
|
|
1074
|
+
},
|
|
1075
|
+
"required": false,
|
|
1076
|
+
"optional": false,
|
|
1077
|
+
"docs": {
|
|
1078
|
+
"tags": [],
|
|
1079
|
+
"text": "When `true`, the slider will display values from high to low.\n\nNote that this value will be ignored if the slider has an associated histogram."
|
|
1080
|
+
},
|
|
1081
|
+
"attribute": "mirrored",
|
|
1082
|
+
"reflect": true,
|
|
1083
|
+
"defaultValue": "false"
|
|
1191
1084
|
},
|
|
1192
|
-
"
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
"
|
|
1196
|
-
|
|
1085
|
+
"name": {
|
|
1086
|
+
"type": "string",
|
|
1087
|
+
"mutable": false,
|
|
1088
|
+
"complexType": {
|
|
1089
|
+
"original": "string",
|
|
1090
|
+
"resolved": "string",
|
|
1091
|
+
"references": {}
|
|
1092
|
+
},
|
|
1093
|
+
"required": false,
|
|
1094
|
+
"optional": false,
|
|
1095
|
+
"docs": {
|
|
1096
|
+
"tags": [],
|
|
1097
|
+
"text": "Specifies the name of the component on form submission."
|
|
1098
|
+
},
|
|
1099
|
+
"attribute": "name",
|
|
1100
|
+
"reflect": true
|
|
1197
1101
|
},
|
|
1198
|
-
"
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1102
|
+
"numberingSystem": {
|
|
1103
|
+
"type": "string",
|
|
1104
|
+
"mutable": false,
|
|
1105
|
+
"complexType": {
|
|
1106
|
+
"original": "NumberingSystem",
|
|
1107
|
+
"resolved": "\"arab\" | \"arabext\" | \"bali\" | \"beng\" | \"deva\" | \"fullwide\" | \"gujr\" | \"guru\" | \"hanidec\" | \"khmr\" | \"knda\" | \"laoo\" | \"latn\" | \"limb\" | \"mlym\" | \"mong\" | \"mymr\" | \"orya\" | \"tamldec\" | \"telu\" | \"thai\" | \"tibt\"",
|
|
1108
|
+
"references": {
|
|
1109
|
+
"NumberingSystem": {
|
|
1110
|
+
"location": "import",
|
|
1111
|
+
"path": "../../utils/locale"
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
"required": false,
|
|
1116
|
+
"optional": true,
|
|
1117
|
+
"docs": {
|
|
1118
|
+
"tags": [],
|
|
1119
|
+
"text": "Specifies the Unicode numeral system used by the component for localization."
|
|
1120
|
+
},
|
|
1121
|
+
"attribute": "numbering-system",
|
|
1122
|
+
"reflect": false
|
|
1209
1123
|
},
|
|
1210
|
-
"
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
"
|
|
1214
|
-
|
|
1124
|
+
"pageStep": {
|
|
1125
|
+
"type": "number",
|
|
1126
|
+
"mutable": false,
|
|
1127
|
+
"complexType": {
|
|
1128
|
+
"original": "number",
|
|
1129
|
+
"resolved": "number",
|
|
1130
|
+
"references": {}
|
|
1131
|
+
},
|
|
1132
|
+
"required": false,
|
|
1133
|
+
"optional": true,
|
|
1134
|
+
"docs": {
|
|
1135
|
+
"tags": [],
|
|
1136
|
+
"text": "Specifies the interval to move with the page up, or page down keys."
|
|
1137
|
+
},
|
|
1138
|
+
"attribute": "page-step",
|
|
1139
|
+
"reflect": true
|
|
1215
1140
|
},
|
|
1216
|
-
"
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
"
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1141
|
+
"precise": {
|
|
1142
|
+
"type": "boolean",
|
|
1143
|
+
"mutable": false,
|
|
1144
|
+
"complexType": {
|
|
1145
|
+
"original": "boolean",
|
|
1146
|
+
"resolved": "boolean",
|
|
1147
|
+
"references": {}
|
|
1148
|
+
},
|
|
1149
|
+
"required": false,
|
|
1150
|
+
"optional": false,
|
|
1151
|
+
"docs": {
|
|
1152
|
+
"tags": [],
|
|
1153
|
+
"text": "When `true`, sets a finer point for handles."
|
|
1154
|
+
},
|
|
1155
|
+
"attribute": "precise",
|
|
1156
|
+
"reflect": true,
|
|
1157
|
+
"defaultValue": "false"
|
|
1227
1158
|
},
|
|
1228
|
-
"required":
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
"
|
|
1232
|
-
|
|
1159
|
+
"required": {
|
|
1160
|
+
"type": "boolean",
|
|
1161
|
+
"mutable": false,
|
|
1162
|
+
"complexType": {
|
|
1163
|
+
"original": "boolean",
|
|
1164
|
+
"resolved": "boolean",
|
|
1165
|
+
"references": {}
|
|
1166
|
+
},
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"optional": false,
|
|
1169
|
+
"docs": {
|
|
1170
|
+
"tags": [],
|
|
1171
|
+
"text": "When `true`, the component must have a value in order for the form to submit."
|
|
1172
|
+
},
|
|
1173
|
+
"attribute": "required",
|
|
1174
|
+
"reflect": true,
|
|
1175
|
+
"defaultValue": "false"
|
|
1233
1176
|
},
|
|
1234
|
-
"
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
1177
|
+
"snap": {
|
|
1178
|
+
"type": "boolean",
|
|
1179
|
+
"mutable": false,
|
|
1180
|
+
"complexType": {
|
|
1181
|
+
"original": "boolean",
|
|
1182
|
+
"resolved": "boolean",
|
|
1183
|
+
"references": {}
|
|
1184
|
+
},
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"optional": false,
|
|
1187
|
+
"docs": {
|
|
1188
|
+
"tags": [],
|
|
1189
|
+
"text": "When `true`, enables snap selection in coordination with `step` via a mouse."
|
|
1190
|
+
},
|
|
1191
|
+
"attribute": "snap",
|
|
1192
|
+
"reflect": true,
|
|
1193
|
+
"defaultValue": "false"
|
|
1245
1194
|
},
|
|
1246
|
-
"
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
"
|
|
1250
|
-
|
|
1195
|
+
"step": {
|
|
1196
|
+
"type": "number",
|
|
1197
|
+
"mutable": false,
|
|
1198
|
+
"complexType": {
|
|
1199
|
+
"original": "number",
|
|
1200
|
+
"resolved": "number",
|
|
1201
|
+
"references": {}
|
|
1202
|
+
},
|
|
1203
|
+
"required": false,
|
|
1204
|
+
"optional": true,
|
|
1205
|
+
"docs": {
|
|
1206
|
+
"tags": [],
|
|
1207
|
+
"text": "Specifies the interval to move with the up, or down keys."
|
|
1208
|
+
},
|
|
1209
|
+
"attribute": "step",
|
|
1210
|
+
"reflect": true,
|
|
1211
|
+
"defaultValue": "1"
|
|
1251
1212
|
},
|
|
1252
|
-
"
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
"
|
|
1261
|
-
"
|
|
1213
|
+
"ticks": {
|
|
1214
|
+
"type": "number",
|
|
1215
|
+
"mutable": false,
|
|
1216
|
+
"complexType": {
|
|
1217
|
+
"original": "number",
|
|
1218
|
+
"resolved": "number",
|
|
1219
|
+
"references": {}
|
|
1220
|
+
},
|
|
1221
|
+
"required": false,
|
|
1222
|
+
"optional": true,
|
|
1223
|
+
"docs": {
|
|
1224
|
+
"tags": [],
|
|
1225
|
+
"text": "Displays tick marks on the number line at a specified interval."
|
|
1226
|
+
},
|
|
1227
|
+
"attribute": "ticks",
|
|
1228
|
+
"reflect": true
|
|
1262
1229
|
},
|
|
1263
|
-
"
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
"
|
|
1267
|
-
|
|
1230
|
+
"value": {
|
|
1231
|
+
"type": "number",
|
|
1232
|
+
"mutable": true,
|
|
1233
|
+
"complexType": {
|
|
1234
|
+
"original": "null | number | number[]",
|
|
1235
|
+
"resolved": "number | number[]",
|
|
1236
|
+
"references": {}
|
|
1237
|
+
},
|
|
1238
|
+
"required": false,
|
|
1239
|
+
"optional": false,
|
|
1240
|
+
"docs": {
|
|
1241
|
+
"tags": [],
|
|
1242
|
+
"text": "The component's value."
|
|
1243
|
+
},
|
|
1244
|
+
"attribute": "value",
|
|
1245
|
+
"reflect": true,
|
|
1246
|
+
"defaultValue": "0"
|
|
1268
1247
|
},
|
|
1269
|
-
"
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
"Scale": {
|
|
1281
|
-
"location": "import",
|
|
1282
|
-
"path": "../interfaces"
|
|
1248
|
+
"scale": {
|
|
1249
|
+
"type": "string",
|
|
1250
|
+
"mutable": false,
|
|
1251
|
+
"complexType": {
|
|
1252
|
+
"original": "Scale",
|
|
1253
|
+
"resolved": "\"l\" | \"m\" | \"s\"",
|
|
1254
|
+
"references": {
|
|
1255
|
+
"Scale": {
|
|
1256
|
+
"location": "import",
|
|
1257
|
+
"path": "../interfaces"
|
|
1258
|
+
}
|
|
1283
1259
|
}
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
"defaultValue": "\"m\""
|
|
1295
|
-
}
|
|
1296
|
-
}; }
|
|
1297
|
-
static get states() { return {
|
|
1298
|
-
"activeProp": {},
|
|
1299
|
-
"minMaxValueRange": {},
|
|
1300
|
-
"minValueDragRange": {},
|
|
1301
|
-
"maxValueDragRange": {},
|
|
1302
|
-
"tickValues": {},
|
|
1303
|
-
"globalAttributes": {}
|
|
1304
|
-
}; }
|
|
1305
|
-
static get events() { return [{
|
|
1306
|
-
"method": "calciteSliderInput",
|
|
1307
|
-
"name": "calciteSliderInput",
|
|
1308
|
-
"bubbles": true,
|
|
1309
|
-
"cancelable": false,
|
|
1310
|
-
"composed": true,
|
|
1311
|
-
"docs": {
|
|
1312
|
-
"tags": [],
|
|
1313
|
-
"text": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
|
|
1314
|
-
},
|
|
1315
|
-
"complexType": {
|
|
1316
|
-
"original": "void",
|
|
1317
|
-
"resolved": "void",
|
|
1318
|
-
"references": {}
|
|
1319
|
-
}
|
|
1320
|
-
}, {
|
|
1321
|
-
"method": "calciteSliderChange",
|
|
1322
|
-
"name": "calciteSliderChange",
|
|
1323
|
-
"bubbles": true,
|
|
1324
|
-
"cancelable": false,
|
|
1325
|
-
"composed": true,
|
|
1326
|
-
"docs": {
|
|
1327
|
-
"tags": [],
|
|
1328
|
-
"text": "Fires when the thumb is released on the component.\n\n**Note:** If you need to constantly listen to the drag event,\nuse \"calciteSliderInput\" instead."
|
|
1329
|
-
},
|
|
1330
|
-
"complexType": {
|
|
1331
|
-
"original": "void",
|
|
1332
|
-
"resolved": "void",
|
|
1333
|
-
"references": {}
|
|
1334
|
-
}
|
|
1335
|
-
}, {
|
|
1336
|
-
"method": "calciteSliderUpdate",
|
|
1337
|
-
"name": "calciteSliderUpdate",
|
|
1338
|
-
"bubbles": true,
|
|
1339
|
-
"cancelable": false,
|
|
1340
|
-
"composed": true,
|
|
1341
|
-
"docs": {
|
|
1342
|
-
"tags": [{
|
|
1343
|
-
"name": "deprecated",
|
|
1344
|
-
"text": "use \"calciteSliderInput\" instead."
|
|
1345
|
-
}],
|
|
1346
|
-
"text": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
|
|
1347
|
-
},
|
|
1348
|
-
"complexType": {
|
|
1349
|
-
"original": "void",
|
|
1350
|
-
"resolved": "void",
|
|
1351
|
-
"references": {}
|
|
1260
|
+
},
|
|
1261
|
+
"required": false,
|
|
1262
|
+
"optional": false,
|
|
1263
|
+
"docs": {
|
|
1264
|
+
"tags": [],
|
|
1265
|
+
"text": "Specifies the size of the component."
|
|
1266
|
+
},
|
|
1267
|
+
"attribute": "scale",
|
|
1268
|
+
"reflect": true,
|
|
1269
|
+
"defaultValue": "\"m\""
|
|
1352
1270
|
}
|
|
1353
|
-
}
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
static get states() {
|
|
1274
|
+
return {
|
|
1275
|
+
"effectiveLocale": {},
|
|
1276
|
+
"minMaxValueRange": {},
|
|
1277
|
+
"minValueDragRange": {},
|
|
1278
|
+
"maxValueDragRange": {},
|
|
1279
|
+
"tickValues": {}
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
static get events() {
|
|
1283
|
+
return [{
|
|
1284
|
+
"method": "calciteSliderInput",
|
|
1285
|
+
"name": "calciteSliderInput",
|
|
1286
|
+
"bubbles": true,
|
|
1287
|
+
"cancelable": false,
|
|
1288
|
+
"composed": true,
|
|
1289
|
+
"docs": {
|
|
1290
|
+
"tags": [],
|
|
1291
|
+
"text": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
|
|
1363
1292
|
},
|
|
1364
|
-
"
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1293
|
+
"complexType": {
|
|
1294
|
+
"original": "void",
|
|
1295
|
+
"resolved": "void",
|
|
1296
|
+
"references": {}
|
|
1297
|
+
}
|
|
1298
|
+
}, {
|
|
1299
|
+
"method": "calciteSliderChange",
|
|
1300
|
+
"name": "calciteSliderChange",
|
|
1301
|
+
"bubbles": true,
|
|
1302
|
+
"cancelable": false,
|
|
1303
|
+
"composed": true,
|
|
1304
|
+
"docs": {
|
|
1305
|
+
"tags": [],
|
|
1306
|
+
"text": "Fires when the thumb is released on the component.\n\n**Note:** If you need to constantly listen to the drag event,\nuse `calciteSliderInput` instead."
|
|
1307
|
+
},
|
|
1308
|
+
"complexType": {
|
|
1309
|
+
"original": "void",
|
|
1310
|
+
"resolved": "void",
|
|
1311
|
+
"references": {}
|
|
1312
|
+
}
|
|
1313
|
+
}, {
|
|
1314
|
+
"method": "calciteSliderUpdate",
|
|
1315
|
+
"name": "calciteSliderUpdate",
|
|
1316
|
+
"bubbles": true,
|
|
1317
|
+
"cancelable": false,
|
|
1318
|
+
"composed": true,
|
|
1319
|
+
"docs": {
|
|
1320
|
+
"tags": [{
|
|
1321
|
+
"name": "deprecated",
|
|
1322
|
+
"text": "use `calciteSliderInput` instead."
|
|
1323
|
+
}],
|
|
1324
|
+
"text": "Fires on all updates to the component.\n\n**Note:** Will be fired frequently during drag. If you are performing any\nexpensive operations consider using a debounce or throttle to avoid\nlocking up the main thread."
|
|
1325
|
+
},
|
|
1326
|
+
"complexType": {
|
|
1327
|
+
"original": "void",
|
|
1328
|
+
"resolved": "void",
|
|
1329
|
+
"references": {}
|
|
1330
|
+
}
|
|
1331
|
+
}];
|
|
1332
|
+
}
|
|
1333
|
+
static get methods() {
|
|
1334
|
+
return {
|
|
1335
|
+
"setFocus": {
|
|
1336
|
+
"complexType": {
|
|
1337
|
+
"signature": "() => Promise<void>",
|
|
1338
|
+
"parameters": [],
|
|
1339
|
+
"references": {
|
|
1340
|
+
"Promise": {
|
|
1341
|
+
"location": "global"
|
|
1342
|
+
}
|
|
1343
|
+
},
|
|
1344
|
+
"return": "Promise<void>"
|
|
1345
|
+
},
|
|
1346
|
+
"docs": {
|
|
1347
|
+
"text": "Sets focus on the component.",
|
|
1348
|
+
"tags": []
|
|
1349
|
+
}
|
|
1369
1350
|
}
|
|
1370
|
-
}
|
|
1371
|
-
}
|
|
1351
|
+
};
|
|
1352
|
+
}
|
|
1372
1353
|
static get elementRef() { return "el"; }
|
|
1373
|
-
static get watchers() {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1354
|
+
static get watchers() {
|
|
1355
|
+
return [{
|
|
1356
|
+
"propName": "histogram",
|
|
1357
|
+
"methodName": "histogramWatcher"
|
|
1358
|
+
}, {
|
|
1359
|
+
"propName": "value",
|
|
1360
|
+
"methodName": "valueHandler"
|
|
1361
|
+
}, {
|
|
1362
|
+
"propName": "minValue",
|
|
1363
|
+
"methodName": "minMaxValueHandler"
|
|
1364
|
+
}, {
|
|
1365
|
+
"propName": "maxValue",
|
|
1366
|
+
"methodName": "minMaxValueHandler"
|
|
1367
|
+
}];
|
|
1368
|
+
}
|
|
1369
|
+
static get listeners() {
|
|
1370
|
+
return [{
|
|
1371
|
+
"name": "keydown",
|
|
1372
|
+
"method": "keyDownHandler",
|
|
1373
|
+
"target": undefined,
|
|
1374
|
+
"capture": false,
|
|
1375
|
+
"passive": false
|
|
1376
|
+
}, {
|
|
1377
|
+
"name": "pointerdown",
|
|
1378
|
+
"method": "pointerDownHandler",
|
|
1379
|
+
"target": undefined,
|
|
1380
|
+
"capture": false,
|
|
1381
|
+
"passive": true
|
|
1382
|
+
}];
|
|
1383
|
+
}
|
|
1399
1384
|
}
|