@esri/calcite-components 1.0.0-next.631 → 1.0.0-next.633
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/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-9e985ad3.js → p-004dc91c.js} +1 -1
- package/dist/calcite/{p-256dd63d.js → p-035fa26b.js} +1 -1
- package/dist/calcite/{p-c7d55f76.js → p-05c3789b.js} +1 -1
- package/dist/calcite/{p-09d0b7df.entry.js → p-09749684.entry.js} +2 -2
- package/dist/calcite/{p-fb7f07bc.entry.js → p-0d96f830.entry.js} +2 -2
- package/dist/calcite/p-0f31433c.entry.js +6 -0
- package/dist/calcite/{p-74f724b5.entry.js → p-12f64f8b.entry.js} +2 -2
- package/dist/calcite/{p-829c6736.entry.js → p-14a7da73.entry.js} +2 -2
- package/dist/calcite/{p-b600b3f2.entry.js → p-1806b759.entry.js} +2 -2
- package/dist/calcite/{p-c566271a.js → p-18b9b69e.js} +1 -1
- package/dist/calcite/{p-3d2bd3a6.entry.js → p-18f9b87b.entry.js} +2 -2
- package/dist/calcite/{p-a1a76d84.entry.js → p-1cebb96f.entry.js} +2 -2
- package/dist/calcite/{p-2122e0d1.js → p-22c8223d.js} +1 -1
- package/dist/calcite/{p-b2e36784.js → p-24681cc9.js} +1 -1
- package/dist/calcite/{p-d61be3b7.entry.js → p-266871ba.entry.js} +2 -2
- package/dist/calcite/{p-cb7557e3.entry.js → p-26b693c2.entry.js} +2 -2
- package/dist/calcite/{p-63c436be.entry.js → p-29cf00c4.entry.js} +2 -2
- package/dist/calcite/{p-640cf4fa.entry.js → p-2a52b1af.entry.js} +2 -2
- package/dist/calcite/{p-f5f0f20c.entry.js → p-2c730d84.entry.js} +2 -2
- package/dist/calcite/{p-471d7ed4.js → p-2c9d7402.js} +2 -2
- package/dist/calcite/{p-423f219f.entry.js → p-2ebffb8e.entry.js} +2 -2
- package/dist/calcite/{p-d1e085b3.entry.js → p-308ed699.entry.js} +2 -2
- package/dist/calcite/{p-e9ed1444.js → p-31090aba.js} +1 -1
- package/dist/calcite/{p-852c2b37.js → p-319d0fb7.js} +2 -2
- package/dist/calcite/{p-b02b3316.js → p-32abefe9.js} +1 -1
- package/dist/calcite/{p-e5b8fd94.entry.js → p-3bb21f63.entry.js} +2 -2
- package/dist/calcite/p-3cc531b1.entry.js +6 -0
- package/dist/calcite/{p-ac49a5fc.entry.js → p-3d69f172.entry.js} +2 -2
- package/dist/calcite/p-3e9f366c.entry.js +6 -0
- package/dist/calcite/{p-030f8c3f.js → p-3ed7f5b5.js} +2 -2
- package/dist/calcite/p-42f22b60.js +6 -0
- package/dist/calcite/{p-66124d87.entry.js → p-431e0692.entry.js} +2 -2
- package/dist/calcite/{p-ec473061.js → p-4794e7df.js} +1 -1
- package/dist/calcite/{p-ddb93587.js → p-498de00a.js} +2 -2
- package/dist/calcite/{p-ba4b8115.entry.js → p-49a5573d.entry.js} +2 -2
- package/dist/calcite/p-4ada52dc.entry.js +6 -0
- package/dist/calcite/{p-08a381ac.js → p-4f72fc01.js} +1 -1
- package/dist/calcite/p-513fef9a.js +6 -0
- package/dist/calcite/{p-941609dd.js → p-5215672d.js} +2 -2
- package/dist/calcite/p-58de9d51.entry.js +6 -0
- package/dist/calcite/{p-25a557a3.entry.js → p-5c05198d.entry.js} +2 -2
- package/dist/calcite/p-5f59c538.entry.js +6 -0
- package/dist/calcite/{p-f2b115a1.entry.js → p-69d9a248.entry.js} +2 -2
- package/dist/calcite/{p-cc4a1d2e.entry.js → p-6bc879e0.entry.js} +2 -2
- package/dist/calcite/{p-ee6ce295.entry.js → p-6f30e051.entry.js} +2 -2
- package/dist/calcite/{p-93bd2d29.entry.js → p-73f93e1c.entry.js} +2 -2
- package/dist/calcite/{p-b00b7eb4.entry.js → p-77658bab.entry.js} +2 -2
- package/dist/calcite/{p-a6ad1cf2.entry.js → p-7def899e.entry.js} +2 -2
- package/dist/calcite/{p-3b385f23.entry.js → p-8021f786.entry.js} +2 -2
- package/dist/calcite/{p-680c3505.entry.js → p-810fcf41.entry.js} +2 -2
- package/dist/calcite/p-83617657.entry.js +16 -0
- package/dist/calcite/{p-6765a427.entry.js → p-953012fa.entry.js} +2 -2
- package/dist/calcite/{p-0aef0b8f.js → p-a2ab3648.js} +2 -2
- package/dist/calcite/{p-401439ec.entry.js → p-a359b901.entry.js} +2 -2
- package/dist/calcite/{p-d3910b2c.entry.js → p-a6f1ebf6.entry.js} +2 -2
- package/dist/calcite/{p-c079c310.js → p-ab3812ba.js} +1 -1
- package/dist/calcite/{p-afc65e56.entry.js → p-ac3ace5c.entry.js} +2 -2
- package/dist/calcite/{p-d248def9.entry.js → p-ac5e38a2.entry.js} +2 -2
- package/dist/calcite/{p-529b296e.js → p-b672fd97.js} +2 -2
- package/dist/calcite/{p-2f873464.entry.js → p-b7fbe5a9.entry.js} +2 -2
- package/dist/calcite/{p-4db062a5.entry.js → p-bb73d51b.entry.js} +2 -2
- package/dist/calcite/{p-30cff6ab.entry.js → p-bbd46504.entry.js} +2 -2
- package/dist/calcite/p-c24271dc.entry.js +6 -0
- package/dist/calcite/{p-7677636b.js → p-c3d50492.js} +1 -1
- package/dist/calcite/{p-34b91fe7.js → p-c8640992.js} +1 -1
- package/dist/calcite/{p-1df431db.entry.js → p-cb016c52.entry.js} +2 -2
- package/dist/calcite/{p-f80307a8.entry.js → p-cc2c16c4.entry.js} +2 -2
- package/dist/calcite/{p-ec7b54ca.js → p-cfaa9ea8.js} +2 -2
- package/dist/calcite/p-d010539f.entry.js +6 -0
- package/dist/calcite/p-d0681fe7.js +6 -0
- package/dist/calcite/{p-1ed5c382.js → p-d17b8ee9.js} +2 -2
- package/dist/calcite/{p-2a5bd5de.js → p-d25a6228.js} +1 -1
- package/dist/calcite/{p-6c655030.entry.js → p-d26767ec.entry.js} +2 -2
- package/dist/calcite/{p-e2380d5f.entry.js → p-d2f83c6a.entry.js} +2 -2
- package/dist/calcite/p-d4246ab6.js +6 -0
- package/dist/calcite/{p-9ac63c64.entry.js → p-d52deb05.entry.js} +2 -2
- package/dist/calcite/{p-9eb0a60c.entry.js → p-d5a92819.entry.js} +2 -2
- package/dist/calcite/{p-0207a04b.entry.js → p-d728f7e7.entry.js} +2 -2
- package/dist/calcite/{p-69333e74.entry.js → p-d935cc1b.entry.js} +2 -2
- package/dist/calcite/{p-22a21d2f.entry.js → p-da667566.entry.js} +2 -2
- package/dist/calcite/{p-eccd1832.entry.js → p-db293e50.entry.js} +2 -2
- package/dist/calcite/{p-12c4354b.entry.js → p-dcad31e0.entry.js} +2 -2
- package/dist/calcite/{p-f0a5c1cf.entry.js → p-ddb1b9bb.entry.js} +2 -2
- package/dist/calcite/{p-b3f707d1.js → p-deb7df1e.js} +1 -1
- package/dist/calcite/p-e2db7cb6.entry.js +6 -0
- package/dist/calcite/{p-676113f7.entry.js → p-e64e5cdc.entry.js} +2 -2
- package/dist/calcite/{p-a5925283.entry.js → p-e8d83a55.entry.js} +2 -2
- package/dist/calcite/p-f61babd1.js +6 -0
- package/dist/calcite/{p-67c2d744.entry.js → p-fb3e8b9b.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-eec7a74a.js → ExpandToggle-3cab12e1.js} +5 -5
- package/dist/cjs/{Heading-96c57bf1.js → Heading-79adac08.js} +3 -3
- package/dist/cjs/{app-globals-36bb7e5f.js → app-globals-0e5a6ce5.js} +2 -2
- package/dist/cjs/{array-144c5568.js → array-6a2dea2c.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +1281 -134
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +33 -13
- package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -13
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +54 -56
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +30 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-7f4a8e10.js → conditionalSlot-1322fc35.js} +13 -3
- package/dist/cjs/{debounce-3d8e527c.js → debounce-0f9e9abc.js} +1 -1
- package/dist/cjs/{dom-1c0b6833.js → dom-13de8dae.js} +3 -4
- package/dist/cjs/{filter-a043da6d.js → filter-b64d328c.js} +2 -2
- package/dist/cjs/{floating-ui-78db6436.js → floating-ui-81762090.js} +4 -4
- package/dist/cjs/{form-5cda2366.js → form-5d8e6d3d.js} +3 -3
- package/dist/cjs/{guid-0bb5fc1b.js → guid-4c424c40.js} +1 -1
- package/dist/cjs/{index-5bdde370.js → index-a6176241.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-19caf709.js → interactive-4c92331d.js} +1 -1
- package/dist/cjs/{interfaces-e83765f7.js → interfaces-31dee91d.js} +1 -1
- package/dist/cjs/{key-42ab632f.js → key-98575516.js} +1 -1
- package/dist/cjs/{label-2cc97ee2.js → label-40d2674d.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-e755b3f7.js → locale-59a564a4.js} +37 -49
- package/dist/cjs/{math-976c29c4.js → math-434fe599.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-0e526ecf.js → nonChromiumPlatformUtils-4af36414.js} +6 -6
- package/dist/cjs/{observers-bcbecbbd.js → observers-5bc9fe46.js} +1 -1
- package/dist/cjs/{openCloseComponent-edbc7b2a.js → openCloseComponent-67cd4a5b.js} +1 -1
- package/dist/cjs/{resources-17fc0687.js → resources-69bd2041.js} +1 -1
- package/dist/cjs/{resources-511507b8.js → resources-73628073.js} +1 -1
- package/dist/cjs/{resources-749ca3c0.js → resources-a28e66cd.js} +1 -1
- package/dist/cjs/{resources-5fdad010.js → resources-a665ff66.js} +1 -3
- package/dist/cjs/{resources-1a9c1993.js → resources-aace079b.js} +3 -5
- package/dist/cjs/{resources-b4931f11.js → resources-e3e0e1e3.js} +39 -15
- package/dist/cjs/{sortable.esm-037a4c16.js → sortable.esm-c1959d54.js} +1 -1
- package/dist/cjs/{utils-ecc37d9b.js → utils-62376f8f.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- 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.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- 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 +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/block/resources.js +1 -2
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- 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 +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/resources.js +1 -2
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- 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 +2 -2
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -3
- package/dist/collection/components/list-item-group/resources.js +1 -2
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +15 -28
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -3
- package/dist/collection/components/panel/resources.js +1 -2
- package/dist/collection/components/pick-list/pick-list.js +100 -2
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +31 -7
- package/dist/collection/components/pick-list/shared-list-render.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -2
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +3 -3
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -3
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -2
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- 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 +98 -2
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +11 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +29 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +53 -0
- 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 +3 -3
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +33 -46
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +2 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- 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 -3
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1275 -128
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +25 -2
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +28 -3
- package/dist/components/calcite-tip.js +2 -4
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +23 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +11 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +2 -3
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- 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 +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +35 -47
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +2 -3
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -3
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +2 -3
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +34 -10
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-8d1a3315.js → ExpandToggle-c1666d9f.js} +5 -5
- package/dist/esm/{Heading-fdaf2441.js → Heading-6f3b27d7.js} +3 -3
- package/dist/esm/{app-globals-62f1ea5d.js → app-globals-dc53e887.js} +2 -2
- package/dist/esm/{array-a3f4690d.js → array-ec97ab21.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +11 -12
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +15 -15
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +10 -11
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +1281 -134
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +33 -13
- package/dist/esm/calcite-popover_2.entry.js +12 -13
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +54 -56
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +30 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-7a623ab3.js → conditionalSlot-65d395e3.js} +13 -3
- package/dist/esm/{debounce-65d04f40.js → debounce-150a7fe8.js} +1 -1
- package/dist/esm/{dom-6ced0696.js → dom-cc5c3984.js} +4 -4
- package/dist/esm/{filter-a94d668f.js → filter-1ebb2c6b.js} +2 -2
- package/dist/esm/{floating-ui-88f3cab2.js → floating-ui-93789309.js} +4 -4
- package/dist/esm/{form-796899b4.js → form-255c911d.js} +3 -3
- package/dist/esm/{guid-4e7e998d.js → guid-f9660e6f.js} +1 -1
- package/dist/esm/{index-ee2154b8.js → index-d2393e84.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-c01b3adc.js → interactive-26a4cd50.js} +1 -1
- package/dist/esm/{interfaces-6e1adc71.js → interfaces-36e4a241.js} +1 -1
- package/dist/esm/{key-29710632.js → key-a4eb4c7a.js} +1 -1
- package/dist/esm/{label-d97fd95f.js → label-958c6dcb.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-9344d29f.js → locale-356e61ad.js} +37 -49
- package/dist/esm/{math-43507cd0.js → math-edfa7bd5.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-733b22ab.js → nonChromiumPlatformUtils-0826d52b.js} +6 -6
- package/dist/esm/{observers-3e969148.js → observers-8a9fc943.js} +1 -1
- package/dist/esm/{openCloseComponent-2c95053e.js → openCloseComponent-759e2351.js} +1 -1
- package/dist/esm/{resources-2c83579b.js → resources-03d3cf60.js} +2 -3
- package/dist/esm/{resources-07ad5aa9.js → resources-0fd6d659.js} +1 -1
- package/dist/esm/{resources-78c5b4d1.js → resources-64a95f35.js} +1 -1
- package/dist/esm/{resources-a8c464a5.js → resources-b9c5aaf9.js} +1 -1
- package/dist/esm/{resources-f36e2798.js → resources-c578caf8.js} +38 -15
- package/dist/esm/{resources-bc4bdc72.js → resources-d313bb62.js} +4 -5
- package/dist/esm/{sortable.esm-a5c12724.js → sortable.esm-6298e963.js} +1 -1
- package/dist/esm/{utils-e8657244.js → utils-18a922e5.js} +1 -1
- package/dist/extras/docs-json.json +131 -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 +1 -1
- package/dist/types/components/block/resources.d.ts +0 -1
- package/dist/types/components/date-picker/resources.d.ts +0 -1
- package/dist/types/components/functional/Heading.d.ts +1 -1
- package/dist/types/components/list-item-group/resources.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +4 -4
- package/dist/types/components/panel/resources.d.ts +0 -1
- package/dist/types/components/pick-list/pick-list.d.ts +24 -0
- package/dist/types/components/pick-list/shared-list-logic.d.ts +4 -1
- package/dist/types/components/pick-list/shared-list-render.d.ts +4 -1
- package/dist/types/components/pick-list-group/resources.d.ts +0 -1
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/tip/resources.d.ts +0 -2
- package/dist/types/components/tip-manager/resources.d.ts +0 -1
- package/dist/types/components/value-list/value-list.d.ts +23 -0
- package/dist/types/components.d.ts +65 -1
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/utils/conditionalSlot.d.ts +16 -0
- package/dist/types/utils/dom.d.ts +34 -0
- package/dist/types/utils/focusTrapComponent.d.ts +33 -0
- package/dist/types/utils/locale.d.ts +1 -2
- package/dist/types/utils/number.d.ts +13 -8
- package/hydrate/index.js +1453 -248
- package/package.json +2 -2
- package/dist/calcite/p-079e3c1e.js +0 -6
- package/dist/calcite/p-1993b247.js +0 -6
- package/dist/calcite/p-1a291a99.entry.js +0 -6
- package/dist/calcite/p-23f31b98.entry.js +0 -6
- package/dist/calcite/p-3a4f8c9a.entry.js +0 -6
- package/dist/calcite/p-5d9f0c37.entry.js +0 -6
- package/dist/calcite/p-8557fe8d.entry.js +0 -6
- package/dist/calcite/p-86c3dd63.entry.js +0 -6
- package/dist/calcite/p-8afa3d3c.js +0 -6
- package/dist/calcite/p-8d81edd4.entry.js +0 -6
- package/dist/calcite/p-9460a0c0.js +0 -6
- package/dist/calcite/p-9c6f7a63.entry.js +0 -6
- package/dist/calcite/p-a5fed565.entry.js +0 -6
- package/dist/calcite/p-b3571ee3.js +0 -6
- package/dist/calcite/p-e1084c73.entry.js +0 -6
- package/dist/components/resources3.js +0 -33
package/dist/esm/{nonChromiumPlatformUtils-733b22ab.js → nonChromiumPlatformUtils-0826d52b.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
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-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import { e as rectToClientRect } from './floating-ui-
|
|
7
|
-
import './dom-
|
|
8
|
-
import './resources-
|
|
9
|
-
import './guid-
|
|
10
|
-
import './debounce-
|
|
6
|
+
import { e as rectToClientRect } from './floating-ui-93789309.js';
|
|
7
|
+
import './dom-cc5c3984.js';
|
|
8
|
+
import './resources-64a95f35.js';
|
|
9
|
+
import './guid-f9660e6f.js';
|
|
10
|
+
import './debounce-150a7fe8.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* This module provides utils to fix positioning across shadow DOM in non-Chromium browsers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
7
|
* This utility ensures observers are created only for browser contexts.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
const componentToTransitionListeners = new WeakMap();
|
|
7
7
|
function transitionStart(event) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
const CSS = {
|
|
7
7
|
backButton: "back-button",
|
|
@@ -41,6 +41,5 @@ const TEXT = {
|
|
|
41
41
|
open: "Open",
|
|
42
42
|
options: "Options"
|
|
43
43
|
};
|
|
44
|
-
const HEADING_LEVEL = 3;
|
|
45
44
|
|
|
46
|
-
export { CSS as C,
|
|
45
|
+
export { CSS as C, ICONS as I, SLOTS as S, TEXT as T };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
const autoTheme = "calcite-theme-auto";
|
|
7
7
|
const darkTheme = "calcite-theme-dark";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
const SLOTS = {
|
|
7
7
|
menuActions: "menu-actions",
|
|
@@ -1,12 +1,12 @@
|
|
|
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-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-
|
|
7
|
-
import { g as getRoundRobinIndex } from './array-
|
|
8
|
-
import { d as debounce } from './debounce-
|
|
9
|
-
import { h, H as Host } from './index-
|
|
6
|
+
import { f as focusElement, g as getSlotted, t as toAriaBoolean } from './dom-cc5c3984.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-ec97ab21.js';
|
|
8
|
+
import { d as debounce } from './debounce-150a7fe8.js';
|
|
9
|
+
import { h, H as Host } from './index-d2393e84.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -16,7 +16,6 @@ const CSS$2 = {
|
|
|
16
16
|
const SLOTS$2 = {
|
|
17
17
|
parentItem: "parent-item"
|
|
18
18
|
};
|
|
19
|
-
const HEADING_LEVEL = 3;
|
|
20
19
|
|
|
21
20
|
function mutationObserverCallback() {
|
|
22
21
|
this.setUpItems();
|
|
@@ -33,6 +32,7 @@ function initialize() {
|
|
|
33
32
|
this.setUpItems();
|
|
34
33
|
this.setUpFilter();
|
|
35
34
|
this.emitCalciteListChange = debounce(internalCalciteListChangeEvent.bind(this), 0);
|
|
35
|
+
this.emitCalciteListFilter = debounce(internalCalciteListFilterEvent.bind(this), 0);
|
|
36
36
|
}
|
|
37
37
|
function initializeObserver() {
|
|
38
38
|
var _a;
|
|
@@ -148,6 +148,9 @@ function getItemIndex(list, item) {
|
|
|
148
148
|
function filterOutDisabled(items) {
|
|
149
149
|
return items.filter((item) => !item.disabled);
|
|
150
150
|
}
|
|
151
|
+
function internalCalciteListFilterEvent() {
|
|
152
|
+
this.calciteListFilter.emit();
|
|
153
|
+
}
|
|
151
154
|
function internalCalciteListChangeEvent() {
|
|
152
155
|
this.calciteListChange.emit(this.selectedValues);
|
|
153
156
|
}
|
|
@@ -261,26 +264,27 @@ function selectSiblings(item, deselect = false) {
|
|
|
261
264
|
});
|
|
262
265
|
}
|
|
263
266
|
let groups;
|
|
264
|
-
function handleFilter(
|
|
265
|
-
|
|
266
|
-
const
|
|
267
|
+
function handleFilter(emit = false) {
|
|
268
|
+
var _a;
|
|
269
|
+
const { filteredData, filterText } = this;
|
|
270
|
+
const values = filteredData.map((item) => item.value);
|
|
267
271
|
let hasSelectedMatch = false;
|
|
268
272
|
if (!groups) {
|
|
269
273
|
groups = new Set();
|
|
270
274
|
}
|
|
271
|
-
const matchedItems = this.items.filter((item) => {
|
|
275
|
+
const matchedItems = ((_a = this.items) === null || _a === void 0 ? void 0 : _a.filter((item) => {
|
|
272
276
|
const parent = item.parentElement;
|
|
273
277
|
const grouped = parent.matches("calcite-pick-list-group");
|
|
274
278
|
if (grouped) {
|
|
275
279
|
groups.add(parent);
|
|
276
280
|
}
|
|
277
|
-
const matches = values.includes(item.value);
|
|
281
|
+
const matches = filterText ? values.includes(item.value) : true;
|
|
278
282
|
item.hidden = !matches;
|
|
279
283
|
if (!hasSelectedMatch) {
|
|
280
284
|
hasSelectedMatch = matches && item.selected;
|
|
281
285
|
}
|
|
282
286
|
return matches;
|
|
283
|
-
});
|
|
287
|
+
})) || [];
|
|
284
288
|
groups.forEach((group) => {
|
|
285
289
|
const hasAtLeastOneMatch = matchedItems.some((item) => group.contains(item));
|
|
286
290
|
group.hidden = !hasAtLeastOneMatch;
|
|
@@ -299,6 +303,25 @@ function handleFilter(event) {
|
|
|
299
303
|
if (matchedItems.length > 0 && !hasSelectedMatch && !this.multiple) {
|
|
300
304
|
toggleSingleSelectItemTabbing(matchedItems[0], true);
|
|
301
305
|
}
|
|
306
|
+
this.setFilteredItems(matchedItems);
|
|
307
|
+
if (emit) {
|
|
308
|
+
this.emitCalciteListFilter();
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
function handleInitialFilter() {
|
|
312
|
+
var _a;
|
|
313
|
+
const filteredItems = (_a = this.filterEl) === null || _a === void 0 ? void 0 : _a.filteredItems;
|
|
314
|
+
if (filteredItems) {
|
|
315
|
+
this.filteredData = filteredItems;
|
|
316
|
+
}
|
|
317
|
+
this.handleFilter();
|
|
318
|
+
}
|
|
319
|
+
function handleFilterEvent(event) {
|
|
320
|
+
event.stopPropagation();
|
|
321
|
+
const { filteredItems, value } = event.currentTarget;
|
|
322
|
+
this.filterText = value;
|
|
323
|
+
this.filteredData = filteredItems;
|
|
324
|
+
this.handleFilter(true);
|
|
302
325
|
}
|
|
303
326
|
function getItemData() {
|
|
304
327
|
return this.items.map((item) => ({
|
|
@@ -322,13 +345,13 @@ const SLOTS$1 = {
|
|
|
322
345
|
menuActions: "menu-actions"
|
|
323
346
|
};
|
|
324
347
|
|
|
325
|
-
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter,
|
|
348
|
+
const List = ({ props: { disabled, loading, filterEnabled, dataForFilter, handleFilterEvent, filterPlaceholder, filterText, setFilterEl, dragEnabled, storeAssistiveEl }, ...rest }) => {
|
|
326
349
|
const defaultSlot = h("slot", null);
|
|
327
350
|
return (h(Host, { "aria-busy": toAriaBoolean(loading), role: "menu", ...rest },
|
|
328
351
|
h("section", null,
|
|
329
352
|
dragEnabled ? (h("span", { "aria-live": "assertive", class: "assistive-text", ref: storeAssistiveEl })) : null,
|
|
330
353
|
h("header", { class: { [CSS$1.sticky]: true } },
|
|
331
|
-
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange:
|
|
354
|
+
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilterEvent, placeholder: filterPlaceholder, ref: setFilterEl, value: filterText })) : null,
|
|
332
355
|
h("slot", { name: SLOTS$1.menuActions })),
|
|
333
356
|
loading ? h("calcite-scrim", { loading: loading }) : null,
|
|
334
357
|
defaultSlot)));
|
|
@@ -361,4 +384,4 @@ const TEXT = {
|
|
|
361
384
|
remove: "Remove"
|
|
362
385
|
};
|
|
363
386
|
|
|
364
|
-
export { CSS as C,
|
|
387
|
+
export { CSS as C, ICON_TYPES as I, List as L, SLOTS as S, TEXT as T, deselectSiblingItems as a, handleFilterEvent as b, getItemData as c, deselectRemovedItems as d, moveItemIndex as e, initializeObserver as f, getItemIndex as g, handleFilter as h, initialize as i, handleInitialFilter as j, keyDownHandler as k, cleanUpObserver as l, mutationObserverCallback as m, calciteListFocusOutHandler as n, calciteListItemChangeHandler as o, calciteInternalListItemValueChangeHandler as p, setUpItems as q, removeItem as r, selectSiblings as s, setFocus as t, SLOTS$2 as u, CSS$2 as v, ICONS as w };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-d2393e84.js';
|
|
7
|
+
import { n as numberStringFormatter, g as getSupportedLocale } from './locale-356e61ad.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Check if date is within a min and max
|
|
@@ -261,11 +261,10 @@ function getValueAsDateRange(value) {
|
|
|
261
261
|
return value.map((v, index) => dateFromISO(v, index === 1));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
const HEADING_LEVEL = 2;
|
|
265
264
|
const TEXT = {
|
|
266
265
|
nextMonth: "Next month",
|
|
267
266
|
prevMonth: "Previous month",
|
|
268
267
|
year: "Year"
|
|
269
268
|
};
|
|
270
269
|
|
|
271
|
-
export {
|
|
270
|
+
export { TEXT as T, dateFromLocalizedString as a, dateToISO as b, dateFromISO as c, datePartsFromLocalizedString as d, getLocaleData as e, dateFromRange as f, getValueAsDateRange as g, getDaysDiff as h, inRange as i, sameDate as j, getOrder as k, nextMonth as n, prevMonth as p, setEndOfDay as s };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2022-11-
|
|
2
|
+
"timestamp": "2022-11-16T19:42:44",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "2.18.1",
|
|
@@ -16448,6 +16448,62 @@
|
|
|
16448
16448
|
"optional": false,
|
|
16449
16449
|
"required": false
|
|
16450
16450
|
},
|
|
16451
|
+
{
|
|
16452
|
+
"name": "filterText",
|
|
16453
|
+
"type": "string",
|
|
16454
|
+
"mutable": true,
|
|
16455
|
+
"attr": "filter-text",
|
|
16456
|
+
"reflectToAttr": true,
|
|
16457
|
+
"docs": "Text for the filter input field.",
|
|
16458
|
+
"docsTags": [],
|
|
16459
|
+
"values": [
|
|
16460
|
+
{
|
|
16461
|
+
"type": "string"
|
|
16462
|
+
}
|
|
16463
|
+
],
|
|
16464
|
+
"optional": false,
|
|
16465
|
+
"required": false
|
|
16466
|
+
},
|
|
16467
|
+
{
|
|
16468
|
+
"name": "filteredData",
|
|
16469
|
+
"type": "{ label: string; description: string; metadata: Record<string, unknown>; value: string; }[]",
|
|
16470
|
+
"mutable": true,
|
|
16471
|
+
"reflectToAttr": false,
|
|
16472
|
+
"docs": "**read-only** The currently filtered items",
|
|
16473
|
+
"docsTags": [
|
|
16474
|
+
{
|
|
16475
|
+
"name": "readonly"
|
|
16476
|
+
}
|
|
16477
|
+
],
|
|
16478
|
+
"default": "[]",
|
|
16479
|
+
"values": [
|
|
16480
|
+
{
|
|
16481
|
+
"type": "{ label: string; description: string; metadata: Record<string, unknown>; value: string; }[]"
|
|
16482
|
+
}
|
|
16483
|
+
],
|
|
16484
|
+
"optional": false,
|
|
16485
|
+
"required": false
|
|
16486
|
+
},
|
|
16487
|
+
{
|
|
16488
|
+
"name": "filteredItems",
|
|
16489
|
+
"type": "HTMLCalcitePickListItemElement[]",
|
|
16490
|
+
"mutable": true,
|
|
16491
|
+
"reflectToAttr": false,
|
|
16492
|
+
"docs": "**read-only** The currently filtered items",
|
|
16493
|
+
"docsTags": [
|
|
16494
|
+
{
|
|
16495
|
+
"name": "readonly"
|
|
16496
|
+
}
|
|
16497
|
+
],
|
|
16498
|
+
"default": "[]",
|
|
16499
|
+
"values": [
|
|
16500
|
+
{
|
|
16501
|
+
"type": "HTMLCalcitePickListItemElement[]"
|
|
16502
|
+
}
|
|
16503
|
+
],
|
|
16504
|
+
"optional": false,
|
|
16505
|
+
"required": false
|
|
16506
|
+
},
|
|
16451
16507
|
{
|
|
16452
16508
|
"name": "headingLevel",
|
|
16453
16509
|
"type": "1 | 2 | 3 | 4 | 5 | 6",
|
|
@@ -16575,6 +16631,15 @@
|
|
|
16575
16631
|
"composed": true,
|
|
16576
16632
|
"docs": "Emits when any of the `calcite-pick-list-item` selections have changed.",
|
|
16577
16633
|
"docsTags": []
|
|
16634
|
+
},
|
|
16635
|
+
{
|
|
16636
|
+
"event": "calciteListFilter",
|
|
16637
|
+
"detail": "void",
|
|
16638
|
+
"bubbles": true,
|
|
16639
|
+
"cancelable": false,
|
|
16640
|
+
"composed": true,
|
|
16641
|
+
"docs": "Emits when a filter has changed.",
|
|
16642
|
+
"docsTags": []
|
|
16578
16643
|
}
|
|
16579
16644
|
],
|
|
16580
16645
|
"listeners": [
|
|
@@ -24130,6 +24195,62 @@
|
|
|
24130
24195
|
"optional": false,
|
|
24131
24196
|
"required": false
|
|
24132
24197
|
},
|
|
24198
|
+
{
|
|
24199
|
+
"name": "filterText",
|
|
24200
|
+
"type": "string",
|
|
24201
|
+
"mutable": true,
|
|
24202
|
+
"attr": "filter-text",
|
|
24203
|
+
"reflectToAttr": true,
|
|
24204
|
+
"docs": "Text for the filter input field.",
|
|
24205
|
+
"docsTags": [],
|
|
24206
|
+
"values": [
|
|
24207
|
+
{
|
|
24208
|
+
"type": "string"
|
|
24209
|
+
}
|
|
24210
|
+
],
|
|
24211
|
+
"optional": false,
|
|
24212
|
+
"required": false
|
|
24213
|
+
},
|
|
24214
|
+
{
|
|
24215
|
+
"name": "filteredData",
|
|
24216
|
+
"type": "{ label: string; description: string; metadata: Record<string, unknown>; value: string; }[]",
|
|
24217
|
+
"mutable": true,
|
|
24218
|
+
"reflectToAttr": false,
|
|
24219
|
+
"docs": "**read-only** The currently filtered items",
|
|
24220
|
+
"docsTags": [
|
|
24221
|
+
{
|
|
24222
|
+
"name": "readonly"
|
|
24223
|
+
}
|
|
24224
|
+
],
|
|
24225
|
+
"default": "[]",
|
|
24226
|
+
"values": [
|
|
24227
|
+
{
|
|
24228
|
+
"type": "{ label: string; description: string; metadata: Record<string, unknown>; value: string; }[]"
|
|
24229
|
+
}
|
|
24230
|
+
],
|
|
24231
|
+
"optional": false,
|
|
24232
|
+
"required": false
|
|
24233
|
+
},
|
|
24234
|
+
{
|
|
24235
|
+
"name": "filteredItems",
|
|
24236
|
+
"type": "HTMLCalciteValueListItemElement[]",
|
|
24237
|
+
"mutable": true,
|
|
24238
|
+
"reflectToAttr": false,
|
|
24239
|
+
"docs": "**read-only** The currently filtered items",
|
|
24240
|
+
"docsTags": [
|
|
24241
|
+
{
|
|
24242
|
+
"name": "readonly"
|
|
24243
|
+
}
|
|
24244
|
+
],
|
|
24245
|
+
"default": "[]",
|
|
24246
|
+
"values": [
|
|
24247
|
+
{
|
|
24248
|
+
"type": "HTMLCalciteValueListItemElement[]"
|
|
24249
|
+
}
|
|
24250
|
+
],
|
|
24251
|
+
"optional": false,
|
|
24252
|
+
"required": false
|
|
24253
|
+
},
|
|
24133
24254
|
{
|
|
24134
24255
|
"name": "group",
|
|
24135
24256
|
"type": "string",
|
|
@@ -24301,6 +24422,15 @@
|
|
|
24301
24422
|
"docs": "Emits when any of the list item selections have changed.",
|
|
24302
24423
|
"docsTags": []
|
|
24303
24424
|
},
|
|
24425
|
+
{
|
|
24426
|
+
"event": "calciteListFilter",
|
|
24427
|
+
"detail": "void",
|
|
24428
|
+
"bubbles": true,
|
|
24429
|
+
"cancelable": false,
|
|
24430
|
+
"composed": true,
|
|
24431
|
+
"docs": "Emits when a filter has changed.",
|
|
24432
|
+
"docsTags": []
|
|
24433
|
+
},
|
|
24304
24434
|
{
|
|
24305
24435
|
"event": "calciteListOrderChange",
|
|
24306
24436
|
"detail": "any[]",
|
package/dist/loader/cdn.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
package/dist/loader/index.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
module.exports = require('../cjs/loader.cjs.js');
|
|
7
7
|
module.exports.applyPolyfills = function() { return Promise.resolve() };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
export * from '../esm/polyfills/index.js';
|
|
7
7
|
export * from '../esm/loader.js';
|
package/dist/loader/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
7
7
|
export * from '../esm/polyfills/index.js';
|
|
@@ -2,7 +2,7 @@ import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { JSXBase } from "../../stencil-public-runtime";
|
|
3
3
|
export declare type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
4
4
|
interface HeadingProps extends JSXBase.HTMLAttributes {
|
|
5
|
-
level
|
|
5
|
+
level?: HeadingLevel;
|
|
6
6
|
}
|
|
7
7
|
export declare function constrainHeadingLevel(level: number): HeadingLevel;
|
|
8
8
|
export declare const Heading: FunctionalComponent<HeadingProps>;
|
|
@@ -3,6 +3,7 @@ import { Scale } from "../interfaces";
|
|
|
3
3
|
import { ModalBackgroundColor } from "./interfaces";
|
|
4
4
|
import { ConditionalSlotComponent } from "../../utils/conditionalSlot";
|
|
5
5
|
import { OpenCloseComponent } from "../../utils/openCloseComponent";
|
|
6
|
+
import { FocusTrapComponent, FocusTrap } from "../../utils/focusTrapComponent";
|
|
6
7
|
/**
|
|
7
8
|
* @slot header - A slot for adding header text.
|
|
8
9
|
* @slot content - A slot for adding the component's content.
|
|
@@ -10,7 +11,7 @@ import { OpenCloseComponent } from "../../utils/openCloseComponent";
|
|
|
10
11
|
* @slot secondary - A slot for adding a secondary button.
|
|
11
12
|
* @slot back - A slot for adding a back button.
|
|
12
13
|
*/
|
|
13
|
-
export declare class Modal implements ConditionalSlotComponent, OpenCloseComponent {
|
|
14
|
+
export declare class Modal implements ConditionalSlotComponent, OpenCloseComponent, FocusTrapComponent {
|
|
14
15
|
el: HTMLCalciteModalElement;
|
|
15
16
|
/**
|
|
16
17
|
* When `true`, the component is active.
|
|
@@ -69,10 +70,11 @@ export declare class Modal implements ConditionalSlotComponent, OpenCloseCompone
|
|
|
69
70
|
isOpen: boolean;
|
|
70
71
|
modalContent: HTMLDivElement;
|
|
71
72
|
private mutationObserver;
|
|
72
|
-
previousActiveElement: HTMLElement;
|
|
73
73
|
titleId: string;
|
|
74
74
|
openTransitionProp: string;
|
|
75
75
|
transitionEl: HTMLDivElement;
|
|
76
|
+
focusTrap: FocusTrap;
|
|
77
|
+
focusTrapEl: HTMLDivElement;
|
|
76
78
|
handleEscape(event: KeyboardEvent): void;
|
|
77
79
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
78
80
|
calciteModalBeforeClose: EventEmitter<void>;
|
|
@@ -118,8 +120,6 @@ export declare class Modal implements ConditionalSlotComponent, OpenCloseCompone
|
|
|
118
120
|
handleOutsideClose: () => void;
|
|
119
121
|
/** Close the modal, first running the `beforeClose` method */
|
|
120
122
|
close: () => Promise<void>;
|
|
121
|
-
focusFirstElement: () => void;
|
|
122
|
-
focusLastElement: () => void;
|
|
123
123
|
private removeOverflowHiddenClass;
|
|
124
124
|
private updateFooterVisibility;
|
|
125
125
|
}
|
|
@@ -12,6 +12,18 @@ export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement
|
|
|
12
12
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
13
13
|
*/
|
|
14
14
|
disabled: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* **read-only** The currently filtered items
|
|
17
|
+
*
|
|
18
|
+
* @readonly
|
|
19
|
+
*/
|
|
20
|
+
filteredItems: HTMLCalcitePickListItemElement[];
|
|
21
|
+
/**
|
|
22
|
+
* **read-only** The currently filtered items
|
|
23
|
+
*
|
|
24
|
+
* @readonly
|
|
25
|
+
*/
|
|
26
|
+
filteredData: ItemData;
|
|
15
27
|
/**
|
|
16
28
|
* When `true`, an input appears at the top of the list that can be used by end users to filter items in the list.
|
|
17
29
|
*/
|
|
@@ -20,6 +32,10 @@ export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement
|
|
|
20
32
|
* Placeholder text for the filter input field.
|
|
21
33
|
*/
|
|
22
34
|
filterPlaceholder: string;
|
|
35
|
+
/**
|
|
36
|
+
* Text for the filter input field.
|
|
37
|
+
*/
|
|
38
|
+
filterText: string;
|
|
23
39
|
/**
|
|
24
40
|
* Specifies the number at which section headings should start.
|
|
25
41
|
*/
|
|
@@ -46,14 +62,20 @@ export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement
|
|
|
46
62
|
mutationObserver: import("../../utils/observers").ExtendedMutationObserver;
|
|
47
63
|
el: HTMLCalcitePickListElement;
|
|
48
64
|
emitCalciteListChange: () => void;
|
|
65
|
+
emitCalciteListFilter: () => void;
|
|
49
66
|
filterEl: HTMLCalciteFilterElement;
|
|
50
67
|
connectedCallback(): void;
|
|
51
68
|
disconnectedCallback(): void;
|
|
69
|
+
componentDidLoad(): void;
|
|
52
70
|
componentDidRender(): void;
|
|
53
71
|
/**
|
|
54
72
|
* Emits when any of the `calcite-pick-list-item` selections have changed.
|
|
55
73
|
*/
|
|
56
74
|
calciteListChange: EventEmitter<Map<string, HTMLCalcitePickListItemElement>>;
|
|
75
|
+
/**
|
|
76
|
+
* Emits when a filter has changed.
|
|
77
|
+
*/
|
|
78
|
+
calciteListFilter: EventEmitter<void>;
|
|
57
79
|
calciteListItemRemoveHandler(event: CustomEvent<void>): void;
|
|
58
80
|
calciteListItemChangeHandler(event: CustomEvent): void;
|
|
59
81
|
calciteInternalListItemPropsChangeHandler(event: CustomEvent): void;
|
|
@@ -62,10 +84,12 @@ export declare class PickList<ItemElement extends HTMLCalcitePickListItemElement
|
|
|
62
84
|
setUpItems(): void;
|
|
63
85
|
setUpFilter(): void;
|
|
64
86
|
setFilterEl: (el: HTMLCalciteFilterElement) => void;
|
|
87
|
+
setFilteredItems: (filteredItems: any[]) => void;
|
|
65
88
|
deselectRemovedItems: any;
|
|
66
89
|
deselectSiblingItems: any;
|
|
67
90
|
selectSiblings: any;
|
|
68
91
|
handleFilter: any;
|
|
92
|
+
handleFilterEvent: any;
|
|
69
93
|
getItemData: any;
|
|
70
94
|
keyDownHandler: any;
|
|
71
95
|
/** Returns the component's selected `calcite-pick-list-item`s. */
|
|
@@ -14,6 +14,7 @@ export declare function calciteListFocusOutHandler<T extends Lists>(this: List<T
|
|
|
14
14
|
export declare function keyDownHandler<T extends Lists>(this: List<T>, event: KeyboardEvent): void;
|
|
15
15
|
export declare function moveItemIndex<T extends Lists>(list: List<T>, item: ListItemElement<T>, direction: "up" | "down"): number;
|
|
16
16
|
export declare function getItemIndex<T extends Lists>(list: List<T>, item: ListItemElement<T>): number;
|
|
17
|
+
export declare function internalCalciteListFilterEvent<T extends Lists>(this: List<T>): void;
|
|
17
18
|
export declare function internalCalciteListChangeEvent<T extends Lists>(this: List<T>): void;
|
|
18
19
|
export declare function removeItem<T extends Lists, U extends ListItemElement<T>>(this: List<T>, event: CustomEvent): void;
|
|
19
20
|
export declare function setFocus<T extends Lists>(this: List<T>, focusId: ListFocusId): Promise<void>;
|
|
@@ -22,7 +23,9 @@ export declare function setUpFilter<T extends Lists>(this: List<T>): void;
|
|
|
22
23
|
export declare function deselectRemovedItems<T extends Lists>(this: List<T>): void;
|
|
23
24
|
export declare function deselectSiblingItems<T extends Lists>(this: List<T>, item: ListItemElement<T>): void;
|
|
24
25
|
export declare function selectSiblings<T extends Lists>(this: List<T>, item: ListItemElement<T>, deselect?: boolean): void;
|
|
25
|
-
export declare function handleFilter<T extends Lists>(this: List<T>,
|
|
26
|
+
export declare function handleFilter<T extends Lists>(this: List<T>, emit?: boolean): void;
|
|
27
|
+
export declare function handleInitialFilter<T extends Lists>(this: List<T>): void;
|
|
28
|
+
export declare function handleFilterEvent<T extends Lists>(this: List<T>, event: CustomEvent): void;
|
|
26
29
|
export declare type ItemData = {
|
|
27
30
|
label: string;
|
|
28
31
|
description: string;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
2
|
import { JSXBase } from "../../stencil-public-runtime";
|
|
3
|
-
import { handleFilter } from "./shared-list-logic";
|
|
3
|
+
import { handleFilter, handleFilterEvent } from "./shared-list-logic";
|
|
4
4
|
import DOMAttributes = JSXBase.DOMAttributes;
|
|
5
5
|
interface ListProps extends DOMAttributes<any> {
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
loading: boolean;
|
|
8
8
|
filterEnabled: boolean;
|
|
9
|
+
filterText: string;
|
|
9
10
|
dataForFilter: any;
|
|
10
11
|
handleFilter: typeof handleFilter;
|
|
12
|
+
handleFilterEvent: typeof handleFilterEvent;
|
|
11
13
|
filterPlaceholder: string;
|
|
12
14
|
el: HTMLCalcitePickListElement | HTMLCalciteValueListElement;
|
|
13
15
|
setFilterEl: (el: HTMLCalciteFilterElement) => void;
|
|
16
|
+
setFilteredItems: (filteredItems: HTMLCalcitePickListItemElement | HTMLCalciteValueListItemElement[]) => void;
|
|
14
17
|
dragEnabled?: boolean;
|
|
15
18
|
storeAssistiveEl?: (el: HTMLSpanElement) => void;
|
|
16
19
|
}
|