@esri/calcite-components 1.0.0-next.598 → 1.0.0-next.599
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-e1fa8d26.js → p-005f18b9.js} +2 -2
- package/dist/calcite/{p-e86518a3.js → p-06833f7a.js} +1 -1
- package/dist/calcite/{p-7fa0faec.js → p-0e0e4cba.js} +1 -1
- package/dist/calcite/{p-999f8f79.entry.js → p-13c2c05b.entry.js} +2 -2
- package/dist/calcite/{p-5e355fbb.entry.js → p-17b42586.entry.js} +2 -2
- package/dist/calcite/{p-91ec0aa8.entry.js → p-191be147.entry.js} +2 -2
- package/dist/calcite/{p-36c1c94c.js → p-1a3a60e3.js} +1 -1
- package/dist/calcite/{p-4cb9c524.entry.js → p-1d0f773c.entry.js} +2 -2
- package/dist/calcite/{p-b5d68e9b.entry.js → p-1d8ae7a0.entry.js} +2 -2
- package/dist/calcite/{p-93cd79e0.js → p-1d91de63.js} +1 -1
- package/dist/calcite/{p-0f5f53c2.js → p-1ea21d0c.js} +1 -1
- package/dist/calcite/{p-b5abec95.entry.js → p-233023ca.entry.js} +2 -2
- package/dist/calcite/{p-7951d360.js → p-25701696.js} +2 -2
- package/dist/calcite/{p-cd3d6d8a.entry.js → p-284265e6.entry.js} +2 -2
- package/dist/calcite/{p-f707cf6d.entry.js → p-2856812b.entry.js} +2 -2
- package/dist/calcite/{p-e43df264.entry.js → p-2882dc12.entry.js} +2 -2
- package/dist/calcite/{p-cbbaffb1.entry.js → p-29078eb8.entry.js} +2 -2
- package/dist/calcite/{p-392906a6.entry.js → p-2f412d05.entry.js} +2 -2
- package/dist/calcite/p-32ceedc9.js +6 -0
- package/dist/calcite/{p-bc460116.entry.js → p-36f2af39.entry.js} +2 -2
- package/dist/calcite/{p-543a5925.js → p-3d01121e.js} +1 -1
- package/dist/calcite/{p-53c34094.entry.js → p-3f12b5de.entry.js} +2 -2
- package/dist/calcite/{p-44aecb14.js → p-453078ec.js} +1 -1
- package/dist/calcite/{p-1db0a85d.js → p-454dc870.js} +2 -2
- package/dist/calcite/{p-062ce043.entry.js → p-4b862ca0.entry.js} +2 -2
- package/dist/calcite/{p-3b9a8c5f.entry.js → p-4c078d40.entry.js} +2 -2
- package/dist/calcite/{p-ae75f7f9.js → p-513442c5.js} +1 -1
- package/dist/calcite/{p-4e5fcfd7.entry.js → p-59e80436.entry.js} +2 -2
- package/dist/calcite/{p-e3158aba.entry.js → p-5e6bfb56.entry.js} +2 -2
- package/dist/calcite/{p-fd177f5d.entry.js → p-6e713b6e.entry.js} +2 -2
- package/dist/calcite/{p-9fd20f7e.entry.js → p-6e8c458d.entry.js} +2 -2
- package/dist/calcite/{p-03bdf648.entry.js → p-70857f14.entry.js} +2 -2
- package/dist/calcite/{p-43b4a53e.js → p-73128db6.js} +1 -1
- package/dist/calcite/{p-bd6478ee.js → p-7bc07fd5.js} +2 -2
- package/dist/calcite/p-7d0eb006.entry.js +6 -0
- package/dist/calcite/{p-7c084561.entry.js → p-7ec93ddb.entry.js} +2 -2
- package/dist/calcite/{p-eb8e9bec.entry.js → p-8932b151.entry.js} +2 -2
- package/dist/calcite/{p-fd07c84a.entry.js → p-8de8d255.entry.js} +2 -2
- package/dist/calcite/{p-02d86d44.js → p-8f204210.js} +2 -2
- package/dist/calcite/{p-404e08b8.entry.js → p-950c2a35.entry.js} +2 -2
- package/dist/calcite/{p-bce0e288.js → p-97dea8bc.js} +1 -1
- package/dist/calcite/{p-49529d9e.entry.js → p-9a12da19.entry.js} +2 -2
- package/dist/calcite/{p-4987b4ee.js → p-9c31e0d7.js} +1 -1
- package/dist/calcite/{p-41aa50b7.entry.js → p-9cc52c48.entry.js} +2 -2
- package/dist/calcite/{p-dd73aa68.entry.js → p-9ed5067b.entry.js} +2 -2
- package/dist/calcite/{p-010dd109.entry.js → p-9f34b8f6.entry.js} +2 -2
- package/dist/calcite/{p-6d221ee4.entry.js → p-a0199d1e.entry.js} +2 -2
- package/dist/calcite/{p-2ab04b0f.entry.js → p-a124f1d6.entry.js} +2 -2
- package/dist/calcite/{p-f1cc17e7.entry.js → p-a424b107.entry.js} +2 -2
- package/dist/calcite/{p-66011932.entry.js → p-a509a40c.entry.js} +2 -2
- package/dist/calcite/{p-dd4f0eb4.entry.js → p-a9a679bd.entry.js} +2 -2
- package/dist/calcite/{p-b10d453d.js → p-ac30a477.js} +1 -1
- package/dist/calcite/p-b25685c5.js +6 -0
- package/dist/calcite/{p-1352273d.entry.js → p-b49aaeaf.entry.js} +2 -2
- package/dist/calcite/{p-5d29962c.js → p-b6361f79.js} +1 -1
- package/dist/calcite/{p-7cb27f2a.entry.js → p-b75011a8.entry.js} +2 -2
- package/dist/calcite/{p-10c92db7.entry.js → p-bb2eb795.entry.js} +2 -2
- package/dist/calcite/{p-18ebc779.entry.js → p-c497f821.entry.js} +2 -2
- package/dist/calcite/{p-58ea74ab.entry.js → p-c6a92e9e.entry.js} +2 -2
- package/dist/calcite/{p-9c54742f.entry.js → p-cad9a78a.entry.js} +2 -2
- package/dist/calcite/{p-77a66a54.js → p-caffc253.js} +2 -2
- package/dist/calcite/{p-02c03af1.js → p-d16fb192.js} +1 -1
- package/dist/calcite/{p-37bc6ac2.entry.js → p-d2c5f524.entry.js} +2 -2
- package/dist/calcite/{p-665605d0.entry.js → p-d6b3c812.entry.js} +2 -2
- package/dist/calcite/{p-2f52a669.entry.js → p-d7d50796.entry.js} +2 -2
- package/dist/calcite/{p-2f357624.entry.js → p-d927a254.entry.js} +2 -2
- package/dist/calcite/{p-83ece20a.entry.js → p-d99531a9.entry.js} +2 -2
- package/dist/calcite/{p-41c52f7c.js → p-dbd273a7.js} +2 -2
- package/dist/calcite/{p-857f0433.entry.js → p-dffaa95f.entry.js} +2 -2
- package/dist/calcite/{p-cd2d103c.entry.js → p-e2ce697c.entry.js} +2 -2
- package/dist/calcite/{p-f21ff110.entry.js → p-e2f1a027.entry.js} +2 -2
- package/dist/calcite/{p-176c7c94.entry.js → p-e36d406e.entry.js} +2 -2
- package/dist/calcite/{p-ecfdca0f.entry.js → p-e44e6774.entry.js} +2 -2
- package/dist/calcite/{p-12b30d17.entry.js → p-e5223ee8.entry.js} +2 -2
- package/dist/calcite/p-ea074205.js +6 -0
- package/dist/calcite/{p-4eeb34ad.entry.js → p-ee64ea59.entry.js} +2 -2
- package/dist/calcite/{p-d274cd75.entry.js → p-ef23a2c9.entry.js} +2 -2
- package/dist/calcite/{p-0deab0a4.entry.js → p-efe49309.entry.js} +2 -2
- package/dist/calcite/{p-0edd33c6.js → p-f02e42cd.js} +2 -2
- package/dist/calcite/{p-f4970d48.js → p-f037ae1d.js} +1 -1
- package/dist/calcite/{p-aa9d985d.js → p-f3b38995.js} +2 -2
- package/dist/calcite/{p-a7862fd2.entry.js → p-f5396d1a.entry.js} +2 -2
- package/dist/calcite/{p-b62081a4.entry.js → p-f5a4f3cc.entry.js} +2 -2
- package/dist/calcite/{p-92976168.entry.js → p-f88659fb.entry.js} +2 -2
- package/dist/calcite/{p-5139ac26.entry.js → p-fbe73244.entry.js} +2 -2
- package/dist/calcite/{p-219e2e73.entry.js → p-fd9260fe.entry.js} +2 -2
- package/dist/calcite/{p-820a08a7.entry.js → p-fec55310.entry.js} +2 -2
- package/dist/calcite/{p-36a2b846.js → p-ff3788c2.js} +1 -1
- package/dist/cjs/{ExpandToggle-ab03bc61.js → ExpandToggle-ada2cb3c.js} +5 -5
- package/dist/cjs/{Heading-2b3d0f1c.js → Heading-588ecb82.js} +2 -2
- package/dist/cjs/{app-globals-3d7459b7.js → app-globals-f0dc19ca.js} +2 -2
- package/dist/cjs/{array-0903a4d0.js → array-a08ef783.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 +10 -10
- 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 +11 -11
- 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 +8 -8
- 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 +9 -9
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -8
- 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 +10 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-popover_2.cjs.entry.js +11 -11
- 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 +8 -8
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +22 -17
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite.cjs.js +4 -4
- package/dist/cjs/{conditionalSlot-4b981e1a.js → conditionalSlot-ccf96751.js} +3 -3
- package/dist/cjs/{debounce-6ac6d224.js → debounce-25452d97.js} +1 -1
- package/dist/cjs/{dom-2aaee0df.js → dom-968c6614.js} +3 -3
- package/dist/cjs/{filter-10c27a83.js → filter-71503a88.js} +2 -2
- package/dist/cjs/{floating-ui-bf70093a.js → floating-ui-c6acf50b.js} +2 -2
- package/dist/cjs/{form-47d1e430.js → form-8c14ceb5.js} +3 -3
- package/dist/cjs/{guid-1b12a751.js → guid-6597a2ba.js} +1 -1
- package/dist/cjs/{index-457a5a54.js → index-2aa35059.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-e35bd87f.js → interactive-fea18111.js} +1 -1
- package/dist/cjs/{interfaces-58d0b0fb.js → interfaces-3a459bb8.js} +1 -1
- package/dist/cjs/{key-5b6abad3.js → key-c7030cf7.js} +1 -1
- package/dist/cjs/{label-bcb3c8cc.js → label-b49c5b45.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{locale-c66b8c43.js → locale-ce092cb3.js} +4 -4
- package/dist/cjs/{math-9a4a9057.js → math-168dbee6.js} +1 -1
- package/dist/cjs/{observers-6c3955d2.js → observers-ae70ea35.js} +1 -1
- package/dist/cjs/{openCloseComponent-d5404853.js → openCloseComponent-a498f505.js} +1 -1
- package/dist/cjs/{resources-7103f0d8.js → resources-0e742993.js} +1 -1
- package/dist/cjs/{resources-d8da865a.js → resources-28f26b02.js} +1 -1
- package/dist/cjs/{resources-29b287c0.js → resources-40ac0525.js} +1 -1
- package/dist/cjs/{resources-c689e9d0.js → resources-b4b4932c.js} +3 -3
- package/dist/cjs/{resources-83acf426.js → resources-ec61f956.js} +1 -1
- package/dist/cjs/{resources-a636e50a.js → resources-f97dfa28.js} +5 -5
- package/dist/cjs/{sortable.esm-4c7fab47.js → sortable.esm-4bd00bdb.js} +1 -1
- package/dist/cjs/{utils-147a89d2.js → utils-5161d4d6.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 +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- 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 +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- 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 +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- 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 +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- 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 +1 -1
- package/dist/collection/components/popover/resources.js +1 -1
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.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 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- 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 +9 -7
- 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 +7 -4
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- 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 +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +7 -4
- package/dist/components/calcite-tree.js +9 -7
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +1 -1
- 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 +1 -1
- package/dist/components/date-picker-day.js +1 -1
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/form.js +1 -1
- 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 +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- 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-c4680d33.js → ExpandToggle-9cc61349.js} +5 -5
- package/dist/esm/{Heading-101a701e.js → Heading-70381e15.js} +2 -2
- package/dist/esm/{app-globals-ce2cbf03.js → app-globals-11b3aae5.js} +2 -2
- package/dist/esm/{array-2549899e.js → array-023ac022.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 +10 -10
- 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 +11 -11
- 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 +8 -8
- 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 +9 -9
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -8
- 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 +10 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -12
- package/dist/esm/calcite-popover_2.entry.js +11 -11
- 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 +8 -8
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- package/dist/esm/calcite-tree_2.entry.js +22 -17
- package/dist/esm/calcite-value-list_2.entry.js +12 -12
- package/dist/esm/calcite.js +4 -4
- package/dist/esm/{conditionalSlot-97eefd44.js → conditionalSlot-12e6668f.js} +3 -3
- package/dist/esm/{debounce-eb8de851.js → debounce-e2ddce5d.js} +1 -1
- package/dist/esm/{dom-648b4a2f.js → dom-5fbae8c3.js} +3 -3
- package/dist/esm/{filter-7d351602.js → filter-add68d68.js} +2 -2
- package/dist/esm/{floating-ui-65b7d762.js → floating-ui-826c3e7d.js} +2 -2
- package/dist/esm/{form-6ee82a1e.js → form-b288cf71.js} +3 -3
- package/dist/esm/{guid-3260dd45.js → guid-d2a04ff5.js} +1 -1
- package/dist/esm/{index-cf16b53b.js → index-58724626.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-53846bd5.js → interactive-ea3b8a49.js} +1 -1
- package/dist/esm/{interfaces-5bcff418.js → interfaces-fbfaef24.js} +1 -1
- package/dist/esm/{key-a3bce814.js → key-c62dbce4.js} +1 -1
- package/dist/esm/{label-a2d9ea4b.js → label-50ac91c2.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{locale-66ebbf7a.js → locale-75e88bb3.js} +4 -4
- package/dist/esm/{math-a5ac6592.js → math-3437525f.js} +1 -1
- package/dist/esm/{observers-85e8fe58.js → observers-81228aaa.js} +1 -1
- package/dist/esm/{openCloseComponent-926c5b7a.js → openCloseComponent-b1959bd4.js} +1 -1
- package/dist/esm/{resources-386257f3.js → resources-26ad6cba.js} +1 -1
- package/dist/esm/{resources-6177d83d.js → resources-56ebd25b.js} +1 -1
- package/dist/esm/{resources-ab13d20f.js → resources-7663310e.js} +5 -5
- package/dist/esm/{resources-418fb8c6.js → resources-86d3add0.js} +3 -3
- package/dist/esm/{resources-19dbedf3.js → resources-95b7889f.js} +1 -1
- package/dist/esm/{resources-8468e332.js → resources-bdcfb9c6.js} +1 -1
- package/dist/esm/{sortable.esm-aca7e683.js → sortable.esm-1f8f5b6c.js} +1 -1
- package/dist/esm/{utils-78b2f096.js → utils-51bf9488.js} +1 -1
- package/dist/extras/docs-json.json +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 +1 -1
- package/hydrate/index.js +15 -10
- package/package.json +6 -6
- package/dist/calcite/p-2fecb26e.js +0 -6
- package/dist/calcite/p-3941a63c.js +0 -6
- package/dist/calcite/p-d393cf2a.entry.js +0 -6
- package/dist/calcite/p-e6757fa4.js +0 -6
- package/dist/collection/components/accordion/accordion.stories.js +0 -197
- package/dist/collection/components/action/action.stories.js +0 -181
- package/dist/collection/components/action-bar/action-bar.stories.js +0 -141
- package/dist/collection/components/action-group/action-group.stories.js +0 -41
- package/dist/collection/components/action-menu/action-menu.stories.js +0 -26
- package/dist/collection/components/action-pad/action-pad.stories.js +0 -107
- package/dist/collection/components/alert/alert.stories.js +0 -140
- package/dist/collection/components/avatar/avatar.stories.js +0 -44
- package/dist/collection/components/block/block.stories.js +0 -158
- package/dist/collection/components/button/button.stories.js +0 -129
- package/dist/collection/components/card/card.stories.js +0 -225
- package/dist/collection/components/checkbox/checkbox.stories.js +0 -43
- package/dist/collection/components/chip/chip.stories.js +0 -85
- package/dist/collection/components/color-picker/color-picker.stories.js +0 -80
- package/dist/collection/components/combobox/combobox.stories.js +0 -387
- package/dist/collection/components/dropdown/dropdown.stories.js +0 -408
- package/dist/collection/components/fab/fab.stories.js +0 -96
- package/dist/collection/components/flow/flow.stories.js +0 -151
- package/dist/collection/components/flow-item/flow-item.stories.js +0 -181
- package/dist/collection/components/graph/graph.stories.js +0 -77
- package/dist/collection/components/icon/icon.stories.js +0 -26
- package/dist/collection/components/inline-editable/inline-editable.stories.js +0 -70
- package/dist/collection/components/input/input.stories.js +0 -146
- package/dist/collection/components/input-date-picker/input-date-picker.stories.js +0 -79
- package/dist/collection/components/input-number/input-number.stories.js +0 -124
- package/dist/collection/components/input-text/input-text.stories.js +0 -99
- package/dist/collection/components/input-time-picker/input-time-picker.stories.js +0 -77
- package/dist/collection/components/label/label.stories.js +0 -178
- package/dist/collection/components/link/link.stories.js +0 -89
- package/dist/collection/components/list/list.stories.js +0 -187
- package/dist/collection/components/loader/loader.stories.js +0 -42
- package/dist/collection/components/modal/modal.stories.js +0 -66
- package/dist/collection/components/notice/notice.stories.js +0 -90
- package/dist/collection/components/pagination/pagination.stories.js +0 -37
- package/dist/collection/components/panel/panel.stories.js +0 -181
- package/dist/collection/components/pick-list/pick-list.stories.js +0 -142
- package/dist/collection/components/popover/popover.stories.js +0 -95
- package/dist/collection/components/progress/progress.stories.js +0 -28
- package/dist/collection/components/radio-button/radio-button.stories.js +0 -43
- package/dist/collection/components/radio-button-group/radio-button-group.stories.js +0 -67
- package/dist/collection/components/radio-group/radio-group.stories.js +0 -79
- package/dist/collection/components/rating/rating.stories.js +0 -42
- package/dist/collection/components/scrim/scrim.stories.js +0 -70
- package/dist/collection/components/select/select.stories.js +0 -109
- package/dist/collection/components/shell/shell.stories.js +0 -482
- package/dist/collection/components/slider/slider.stories.js +0 -227
- package/dist/collection/components/split-button/split-button.stories.js +0 -112
- package/dist/collection/components/stepper/stepper.stories.js +0 -163
- package/dist/collection/components/switch/switch.stories.js +0 -32
- package/dist/collection/components/tabs/tabs.stories.js +0 -223
- package/dist/collection/components/tile/tile.stories.js +0 -81
- package/dist/collection/components/tile-select/tile-select.stories.js +0 -137
- package/dist/collection/components/tile-select-group/tile-select-group.stories.js +0 -89
- package/dist/collection/components/tip/tip.stories.js +0 -60
- package/dist/collection/components/tip-manager/tip-manager.stories.js +0 -115
- package/dist/collection/components/tooltip/tooltip.stories.js +0 -60
- package/dist/collection/components/tree/tree.stories.js +0 -76
- package/dist/collection/components/value-list/value-list.stories.js +0 -125
|
@@ -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.599
|
|
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.599
|
|
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.599
|
|
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-5fbae8c3.js';
|
|
7
|
+
import { g as getRoundRobinIndex } from './array-023ac022.js';
|
|
8
|
+
import { d as debounce } from './debounce-e2ddce5d.js';
|
|
9
|
+
import { h, H as Host } from './index-58724626.js';
|
|
10
10
|
|
|
11
11
|
const CSS$2 = {
|
|
12
12
|
heading: "heading",
|
|
@@ -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.599
|
|
5
5
|
*/
|
|
6
|
-
import { a as getAssetPath } from './index-
|
|
7
|
-
import { g as getSupportedLocale } from './locale-
|
|
6
|
+
import { a as getAssetPath } from './index-58724626.js';
|
|
7
|
+
import { g as getSupportedLocale } from './locale-75e88bb3.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Check if date is within a min and max
|
|
@@ -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.599
|
|
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.599
|
|
5
5
|
*/
|
|
6
6
|
function rgbToHex(color) {
|
|
7
7
|
const { r, g, b } = color;
|
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.599
|
|
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.599
|
|
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.599
|
|
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.599
|
|
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';
|
package/hydrate/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.599
|
|
5
5
|
*/
|
|
6
6
|
'use strict';
|
|
7
7
|
|
|
@@ -35528,7 +35528,8 @@ class Tree {
|
|
|
35528
35528
|
//
|
|
35529
35529
|
//--------------------------------------------------------------------------
|
|
35530
35530
|
componentWillRender() {
|
|
35531
|
-
|
|
35531
|
+
var _a;
|
|
35532
|
+
const parent = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
|
|
35532
35533
|
this.lines = parent ? parent.lines : this.lines;
|
|
35533
35534
|
this.scale = parent ? parent.scale : this.scale;
|
|
35534
35535
|
this.selectionMode = parent ? parent.selectionMode : this.selectionMode;
|
|
@@ -35645,7 +35646,7 @@ class Tree {
|
|
|
35645
35646
|
event.stopPropagation();
|
|
35646
35647
|
}
|
|
35647
35648
|
keyDownHandler(event) {
|
|
35648
|
-
var _a;
|
|
35649
|
+
var _a, _b;
|
|
35649
35650
|
const root = this.el.closest("calcite-tree:not([child])");
|
|
35650
35651
|
const target = event.target;
|
|
35651
35652
|
if (!(root === this.el && target.tagName === "CALCITE-TREE-ITEM" && this.el.contains(target))) {
|
|
@@ -35674,7 +35675,7 @@ class Tree {
|
|
|
35674
35675
|
return;
|
|
35675
35676
|
}
|
|
35676
35677
|
// When focus is on a child node that is also either an end node or a closed node, moves focus to its parent node.
|
|
35677
|
-
const parentItem = target.parentElement.closest("calcite-tree-item");
|
|
35678
|
+
const parentItem = (_a = target.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
|
35678
35679
|
if (parentItem && (!target.hasChildren || target.expanded === false)) {
|
|
35679
35680
|
parentItem.focus();
|
|
35680
35681
|
event.preventDefault();
|
|
@@ -35687,7 +35688,7 @@ class Tree {
|
|
|
35687
35688
|
if (target.hasChildren) {
|
|
35688
35689
|
if (target.expanded && getRootNode(this.el).activeElement === target) {
|
|
35689
35690
|
// When focus is on an open node, moves focus to the first child node.
|
|
35690
|
-
(
|
|
35691
|
+
(_b = getEnabledSiblingItem(target.querySelector("calcite-tree-item"), "down")) === null || _b === void 0 ? void 0 : _b.focus();
|
|
35691
35692
|
event.preventDefault();
|
|
35692
35693
|
}
|
|
35693
35694
|
else {
|
|
@@ -35700,15 +35701,16 @@ class Tree {
|
|
|
35700
35701
|
}
|
|
35701
35702
|
}
|
|
35702
35703
|
updateAncestorTree(event) {
|
|
35704
|
+
var _a, _b;
|
|
35703
35705
|
const item = event.target;
|
|
35704
35706
|
if (item.disabled) {
|
|
35705
35707
|
return;
|
|
35706
35708
|
}
|
|
35707
35709
|
const ancestors = [];
|
|
35708
|
-
let parent = item.parentElement.closest("calcite-tree-item");
|
|
35710
|
+
let parent = (_a = item.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
|
35709
35711
|
while (parent) {
|
|
35710
35712
|
ancestors.push(parent);
|
|
35711
|
-
parent = parent.parentElement.closest("calcite-tree-item");
|
|
35713
|
+
parent = (_b = parent.parentElement) === null || _b === void 0 ? void 0 : _b.closest("calcite-tree-item");
|
|
35712
35714
|
}
|
|
35713
35715
|
const childItems = Array.from(item.querySelectorAll("calcite-tree-item:not([disabled])"));
|
|
35714
35716
|
const childItemsWithNoChildren = childItems.filter((child) => !child.hasChildren);
|
|
@@ -35851,12 +35853,13 @@ class TreeItem {
|
|
|
35851
35853
|
items.forEach((item) => (item.parentExpanded = expanded));
|
|
35852
35854
|
};
|
|
35853
35855
|
this.updateAncestorTree = () => {
|
|
35856
|
+
var _a;
|
|
35854
35857
|
if (this.selected && this.selectionMode === TreeSelectionMode.Ancestors) {
|
|
35855
35858
|
const ancestors = [];
|
|
35856
35859
|
let parent = this.parentTreeItem;
|
|
35857
35860
|
while (parent) {
|
|
35858
35861
|
ancestors.push(parent);
|
|
35859
|
-
parent = parent.parentElement.closest("calcite-tree-item");
|
|
35862
|
+
parent = (_a = parent.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
|
35860
35863
|
}
|
|
35861
35864
|
ancestors.forEach((item) => (item.indeterminate = true));
|
|
35862
35865
|
return;
|
|
@@ -35877,7 +35880,8 @@ class TreeItem {
|
|
|
35877
35880
|
//
|
|
35878
35881
|
//--------------------------------------------------------------------------
|
|
35879
35882
|
connectedCallback() {
|
|
35880
|
-
|
|
35883
|
+
var _a;
|
|
35884
|
+
this.parentTreeItem = (_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree-item");
|
|
35881
35885
|
if (this.parentTreeItem) {
|
|
35882
35886
|
const { expanded } = this.parentTreeItem;
|
|
35883
35887
|
this.updateParentIsExpanded(this.parentTreeItem, expanded);
|
|
@@ -35888,6 +35892,7 @@ class TreeItem {
|
|
|
35888
35892
|
disconnectConditionalSlotComponent(this);
|
|
35889
35893
|
}
|
|
35890
35894
|
componentWillRender() {
|
|
35895
|
+
var _a;
|
|
35891
35896
|
this.hasChildren = !!this.el.querySelector("calcite-tree");
|
|
35892
35897
|
this.depth = 0;
|
|
35893
35898
|
let parentTree = this.el.closest("calcite-tree");
|
|
@@ -35899,7 +35904,7 @@ class TreeItem {
|
|
|
35899
35904
|
this.lines = parentTree.lines;
|
|
35900
35905
|
let nextParentTree;
|
|
35901
35906
|
while (parentTree) {
|
|
35902
|
-
nextParentTree = parentTree.parentElement.closest("calcite-tree");
|
|
35907
|
+
nextParentTree = (_a = parentTree.parentElement) === null || _a === void 0 ? void 0 : _a.closest("calcite-tree");
|
|
35903
35908
|
if (nextParentTree === parentTree) {
|
|
35904
35909
|
break;
|
|
35905
35910
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.599",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"@types/sortablejs": "1.15.0",
|
|
105
105
|
"@types/standard-version": "7.0.1",
|
|
106
106
|
"@types/yargs": "17.0.13",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
108
|
-
"@typescript-eslint/parser": "5.
|
|
107
|
+
"@typescript-eslint/eslint-plugin": "5.40.1",
|
|
108
|
+
"@typescript-eslint/parser": "5.40.1",
|
|
109
109
|
"@whitespace/storybook-addon-html": "5.0.0",
|
|
110
110
|
"autoprefixer": "10.4.12",
|
|
111
111
|
"axe-core": "4.4.3",
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
"dedent": "0.7.0",
|
|
120
120
|
"eslint": "8.25.0",
|
|
121
121
|
"eslint-config-prettier": "8.5.0",
|
|
122
|
-
"eslint-plugin-jest": "27.1.
|
|
123
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
122
|
+
"eslint-plugin-jest": "27.1.2",
|
|
123
|
+
"eslint-plugin-jsdoc": "39.3.13",
|
|
124
124
|
"eslint-plugin-prettier": "4.2.1",
|
|
125
125
|
"eslint-plugin-react": "7.31.8",
|
|
126
126
|
"eslint-plugin-unicorn": "44.0.2",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"rimraf": "3.0.2",
|
|
139
139
|
"screener-storybook": "0.23.0",
|
|
140
140
|
"semver": "7.3.8",
|
|
141
|
-
"shell-quote": "1.7.
|
|
141
|
+
"shell-quote": "1.7.4",
|
|
142
142
|
"standard-version": "9.5.0",
|
|
143
143
|
"stencil-eslint-core": "0.3.1",
|
|
144
144
|
"storybook": "6.5.12",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.598
|
|
5
|
-
*/
|
|
6
|
-
import{h as t}from"./p-44aecb14.js";function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const a=`h${e.level}`;return delete e.level,t(a,{...e},r)};export{r as H,e as c}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.598
|
|
5
|
-
*/
|
|
6
|
-
import{f as t}from"./p-44aecb14.js";import{c as o}from"./p-bce0e288.js";const c=new Set;let n;const s={childList:!0};function e(t){n||(n=o("mutation",i)),n.observe(t.el,s)}function f(t){c.delete(t.el),i(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function i(o){o.forEach((({target:o})=>{t(o)}))}export{e as c,f as d}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.598
|
|
5
|
-
*/
|
|
6
|
-
import{r as t,c as e,h as i,H as n,g as a}from"./p-44aecb14.js";import{f as o,n as c,k as s,g as r,a as l,t as d,l as h}from"./p-aa9d985d.js";import{C as m}from"./p-543a5925.js";import{c as u,d as p}from"./p-3941a63c.js";import{u as f}from"./p-36a2b846.js";import"./p-02c03af1.js";import"./p-bce0e288.js";var b;function v(t,e){const i="down"===e?"nextElementSibling":"previousElementSibling";let n=t,a=null;for(;null==(o=n)?void 0:o.matches("calcite-tree-item");){if(!n.disabled){a=n;break}n=n[i]}var o;return a}!function(t){t.Single="single",t.Multi="multi",t.None="none",t.Children="children",t.MultiChildren="multi-children",t.Ancestors="ancestors"}(b||(b={}));const k=class{constructor(i){t(this,i),this.calciteTreeSelect=e(this,"calciteTreeSelect",6),this.lines=!1,this.inputEnabled=!1,this.scale="m",this.selectionMode=b.Single}componentWillRender(){const t=this.el.parentElement.closest("calcite-tree");this.lines=t?t.lines:this.lines,this.scale=t?t.scale:this.scale,this.selectionMode=t?t.selectionMode:this.selectionMode,this.child=!!t}render(){return i(n,{"aria-multiselectable":this.child?void 0:(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren).toString(),role:this.child?void 0:"tree",tabIndex:this.getRootTabIndex()},i("slot",null))}onFocus(){if(!this.child){const t=this.el.querySelector("calcite-tree-item[selected]:not([disabled])")||this.el.querySelector("calcite-tree-item:not([disabled])");o(t)}}onFocusIn(t){(t.relatedTarget===this.el||!this.el.contains(t.relatedTarget))&&this.el.removeAttribute("tabindex")}onFocusOut(t){!this.el.contains(t.relatedTarget)&&(this.el.tabIndex=this.getRootTabIndex())}onClick(t){const e=t.target,i=c(e.querySelectorAll("calcite-tree-item"));if(this.child)return;if(this.child||(t.preventDefault(),t.stopPropagation()),this.selectionMode===b.Ancestors&&!this.child)return void this.updateAncestorTree(t);const n=this.selectionMode===b.None,a=!n&&t.detail.modifyCurrentSelection&&(this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren),o=this.selectionMode===b.MultiChildren||this.selectionMode===b.Children,s=!a&&((this.selectionMode===b.Single||this.selectionMode===b.Multi)&&i.length<=0||this.selectionMode===b.Children||this.selectionMode===b.MultiChildren),r=this.selectionMode===b.Children||this.selectionMode===b.MultiChildren;if(!this.child){const l=[];null!==this.selectionMode&&(!e.hasChildren||e.hasChildren&&(this.selectionMode===b.Children||this.selectionMode===b.MultiChildren))&&l.push(e),o&&i.forEach((t=>{l.push(t)})),s&&c(this.el.querySelectorAll("calcite-tree-item[selected]")).forEach((t=>{l.includes(t)||(t.selected=!1)})),r&&!t.detail.forceToggle&&(e.expanded=!0),a&&window.getSelection().removeAllRanges(),a&&e.selected||o&&t.detail.forceToggle?l.forEach((t=>{t.disabled||(t.selected=!1)})):n||l.forEach((t=>{t.disabled||(t.selected=!0)}))}const l=n?[e]:c(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected));this.calciteTreeSelect.emit({selected:l}),t.stopPropagation()}keyDownHandler(t){var e;const i=this.el.closest("calcite-tree:not([child])"),n=t.target;if(i===this.el&&"CALCITE-TREE-ITEM"===n.tagName&&this.el.contains(n))if("ArrowDown"!==t.key){if("ArrowUp"===t.key){const e=v(n.previousElementSibling,"up");e&&(e.focus(),t.preventDefault())}if("ArrowLeft"===t.key&&!n.disabled){if(n.hasChildren&&n.expanded)return n.expanded=!1,void t.preventDefault();const e=n.parentElement.closest("calcite-tree-item");return!e||n.hasChildren&&!1!==n.expanded?void 0:(e.focus(),void t.preventDefault())}"ArrowRight"!==t.key||n.disabled||n.hasChildren&&(n.expanded&&s(this.el).activeElement===n?(null===(e=v(n.querySelector("calcite-tree-item"),"down"))||void 0===e||e.focus(),t.preventDefault()):(n.expanded=!0,t.preventDefault()))}else{const e=v(n.nextElementSibling,"down");e&&(e.focus(),t.preventDefault())}}updateAncestorTree(t){const e=t.target;if(e.disabled)return;const i=[];let n=e.parentElement.closest("calcite-tree-item");for(;n;)i.push(n),n=n.parentElement.closest("calcite-tree-item");const a=Array.from(e.querySelectorAll("calcite-tree-item:not([disabled])")),o=a.filter((t=>!t.hasChildren)),s=a.filter((t=>t.hasChildren)),r=e.hasChildren?!(e.selected||e.indeterminate):!e.selected;function l(t,e){const i=t.filter((t=>t.selected)),n=t.filter((t=>!t.selected));e.selected=i.length===t.length,e.indeterminate=i.length>0&&n.length>0}o.forEach((t=>{t.selected=r,t.indeterminate=!1})),s.forEach((t=>{l(Array.from(t.querySelectorAll(":scope > calcite-tree > calcite-tree-item")),t)})),e.hasChildren?l(a,e):(e.selected=r,e.indeterminate=!1),i.forEach((t=>{const e=c(t.querySelectorAll("calcite-tree-item")),i=e.filter((t=>t.selected));if(0===i.length)return t.selected=!1,void(t.indeterminate=!1);const n=i.length<e.length;t.indeterminate=n,t.selected=!n})),this.calciteTreeSelect.emit({selected:c(this.el.querySelectorAll("calcite-tree-item")).filter((t=>t.selected))})}getRootTabIndex(){return this.child?-1:0}get el(){return a(this)}};k.style="@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:block}:host(:focus){outline:2px solid transparent;outline-offset:2px}";const g=class{constructor(i){t(this,i),this.calciteInternalTreeItemSelect=e(this,"calciteInternalTreeItemSelect",6),this.disabled=!1,this.selected=!1,this.expanded=!1,this.parentExpanded=!1,this.depth=-1,this.hasChildren=null,this.iconClickHandler=t=>{t.stopPropagation(),this.expanded=!this.expanded},this.childrenClickHandler=t=>t.stopPropagation(),this.updateParentIsExpanded=(t,e)=>{r(t,"children",{all:!0,selector:"calcite-tree-item"}).forEach((t=>t.parentExpanded=e))},this.updateAncestorTree=()=>{if(this.selected&&this.selectionMode===b.Ancestors){const t=[];let e=this.parentTreeItem;for(;e;)t.push(e),e=e.parentElement.closest("calcite-tree-item");t.forEach((t=>t.indeterminate=!0))}}}expandedHandler(t){this.updateParentIsExpanded(this.el,t)}getselectionMode(){this.isSelectionMultiLike=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren}connectedCallback(){if(this.parentTreeItem=this.el.parentElement.closest("calcite-tree-item"),this.parentTreeItem){const{expanded:t}=this.parentTreeItem;this.updateParentIsExpanded(this.parentTreeItem,t)}u(this)}disconnectedCallback(){p(this)}componentWillRender(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let t,e=this.el.closest("calcite-tree");if(e)for(this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;e&&(t=e.parentElement.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}componentDidLoad(){this.updateAncestorTree()}componentDidRender(){f(this,(()=>this.parentExpanded||1===this.depth))}render(){const t="rtl"===l(this.el),e=this.selectionMode===b.Single||this.selectionMode===b.Children,a=this.selectionMode===b.Multi||this.selectionMode===b.MultiChildren,o=this.selectionMode===b.None&&!this.hasChildren,c=this.hasChildren?i("calcite-icon",{class:{chevron:!0,[m.rtl]:t},"data-test-id":"icon",icon:"chevron-right",onClick:this.iconClickHandler,scale:"s"}):null,s=i("slot",{key:"default-slot"}),r=this.selectionMode===b.Ancestors?i("label",{class:"checkbox-label",key:"checkbox-label"},i("calcite-checkbox",{checked:this.selected,class:"checkbox","data-test-id":"checkbox",indeterminate:this.hasChildren&&this.indeterminate,scale:this.scale,tabIndex:-1}),s):null,h=e?"bullet-point":a?"check":o?"blank":null,u=h?i("calcite-icon",{class:{"bullet-point":"bullet-point"===h,checkmark:"check"===h,[m.rtl]:t},icon:h,scale:"s"}):null,p=!(this.parentExpanded||1===this.depth);return i(n,{"aria-expanded":this.hasChildren?d(this.expanded):void 0,"aria-hidden":d(p),"aria-selected":this.selected?"true":a?"false":void 0,"calcite-hydrated-hidden":p,role:"treeitem"},i("div",{class:{"node-container":!0,[m.rtl]:t},"data-selection-mode":this.selectionMode,ref:t=>this.defaultSlotWrapper=t},c,u,r||s),i("div",{class:{"children-container":!0,[m.rtl]:t},"data-test-id":"calcite-tree-children",onClick:this.childrenClickHandler,ref:t=>this.childrenSlotWrapper=t,role:this.hasChildren?"group":void 0},i("slot",{name:"children"})))}onClick(t){const[e]=h(this.el,"a");e&&"a"!==t.composedPath()[0].tagName.toLowerCase()&&window.open(e.href,""===e.target?"_self":e.target),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode===b.Ancestors||this.isSelectionMultiLike,forceToggle:!1})}keyDownHandler(t){let e;switch(t.key){case" ":this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Enter":const i=c(this.el.children).find((t=>t.matches("a")));i?(i.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,forceToggle:!1}),t.preventDefault();break;case"Home":e=this.el.closest("calcite-tree:not([child])");const n=e.querySelector("calcite-tree-item");null==n||n.focus();break;case"End":e=this.el.closest("calcite-tree:not([child])");let a=e.children[e.children.length-1],o=c(a.children).find((t=>t.matches("calcite-tree")));for(;o;)a=o.children[e.children.length-1],o=c(a.children).find((t=>t.matches("calcite-tree")));null==a||a.focus()}}get el(){return a(this)}static get watchers(){return{expanded:["expandedHandler"],selectionMode:["getselectionMode"]}}};g.style='@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block;max-inline-size:100%;cursor:pointer;color:var(--calcite-ui-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .node-container{--calcite-tree-padding-y:0.25rem}:host([scale=s]) .node-container .checkbox,:host([scale=s]) .node-container .chevron,:host([scale=s]) .node-container .checkmark,:host([scale=s]) .node-container .bullet-point{margin-inline:0.25rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .node-container{--calcite-tree-padding-y:0.5rem}:host([scale=m]) .node-container .checkbox,:host([scale=m]) .node-container .chevron,:host([scale=m]) .node-container .checkmark,:host([scale=m]) .node-container .bullet-point{margin-inline:0.5rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .node-container{--calcite-tree-padding-y:0.75rem}:host([scale=l]) .node-container .checkbox,:host([scale=l]) .node-container .chevron,:host([scale=l]) .node-container .checkmark,:host([scale=l]) .node-container .bullet-point{margin-inline:0.75rem}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:1;inline-size:1px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:96%;content:"";background-color:var(--calcite-ui-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none !important}::slotted(*):hover{text-decoration:none !important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline-color:transparent}:host(:focus:not([disabled])){outline:2px solid transparent;outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.checkbox{line-height:0}.checkbox-label{pointer-events:none;display:flex;align-items:center}.checkbox:focus{outline:2px solid transparent;outline-offset:2px}.children-container{position:relative;block-size:0px;overflow:hidden;margin-inline-start:1.25rem;transform:scaleY(0);opacity:0;transition:var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), opacity var(--calcite-animation-timing) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out;transform-origin:top}:host([expanded])>.children-container{transform:scaleY(1);opacity:1;block-size:auto}.node-container{position:relative;display:flex;align-items:center;padding-block:var(--calcite-tree-padding-y);padding-inline:0}.node-container .checkmark,.node-container .bullet-point{opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;color:var(--calcite-ui-border-1)}.node-container:hover .checkmark,.node-container:hover .bullet-point,:host([selected]) .node-container:hover .checkmark,:host([selected]) .node-container:hover .bullet-point,:host(:focus:not([disabled])) .node-container .checkmark,:host(:focus:not([disabled])) .node-container .bullet-point{opacity:1}:host([selected])>.node-container,:host([selected])>.node-container:hover{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected])>.node-container .bullet-point,:host([selected])>.node-container .checkmark,:host([selected])>.node-container:hover .bullet-point,:host([selected])>.node-container:hover .checkmark{opacity:1;color:var(--calcite-ui-brand)}:host([selection-mode=none]:not([has-children])):host([scale=s])>.node-container{padding-inline-start:0.5rem}:host([selection-mode=none]:not([has-children])):host([scale=m])>.node-container{padding-inline-start:1rem}:host([selection-mode=none]:not([has-children])):host([scale=l])>.node-container{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=s])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.25rem}:host(:not([has-children])):host([scale=m])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.5rem}:host(:not([has-children])):host([scale=l])>.node-container[data-selection-mode=ancestors] .checkbox{padding-inline-start:1.75rem}:host([has-children])>.node-container[data-selection-mode=ancestors] .checkbox{margin-inline-start:0}:host([has-children])>.node-container .bullet-point,:host([has-children])>.node-container .checkmark{display:none}:host([has-children][expanded]:not([selected]):not([selection-mode=none]))>.node-container ::slotted(*){font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([has-children][selected])>.node-container[data-selection-mode=children],:host([has-children][selected])>.node-container[data-selection-mode=multi-children]{color:var(--calcite-ui-brand)}.chevron{position:relative;align-self:center;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;flex:0 0 auto;transform:rotate(0deg)}.calcite--rtl .chevron{transform:rotate(180deg)}:host([expanded])>.node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark,:host([selected]) .bullet-point{color:var(--calcite-ui-brand)}';export{k as calcite_tree,g as calcite_tree_item}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.598
|
|
5
|
-
*/
|
|
6
|
-
import{f as t,h as o}from"./p-44aecb14.js";import{a as e}from"./p-aa9d985d.js";import{S as a}from"./p-7fa0faec.js";import{S as n}from"./p-b10d453d.js";const i=150,c=t=>t.reduce(((t,o)=>t+o),0)/t.length,l=t=>{const o=null==t?void 0:t.length;return{actionWidth:o?c(t.map((t=>t.clientWidth||0))):0,actionHeight:o?c(t.map((t=>t.clientHeight||0))):0}},r=({layout:t,actionCount:o,actionWidth:e,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(o-(({width:t,actionWidth:o,layout:e,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===e?t:a)-2*i)/("horizontal"===e?o:n)))({width:a,actionWidth:e,layout:t,height:i,actionHeight:n,groupCount:c}),0),s=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===a.trigger)),d=({actionGroups:o,expanded:e,overflowCount:a})=>{let i=a;o.reverse().forEach((o=>{let a=0;const c=s(o).reverse();c.forEach((t=>{t.slot===n.menuActions&&(t.removeAttribute("slot"),t.textEnabled=e)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",n.menuActions),a++,a>1&&i--),i<1))),t(o)}))};function p({parent:t,expanded:o}){s(t).filter((t=>t.slot!==n.menuActions)).forEach((t=>t.textEnabled=o)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=o))}const h=({expanded:t,intlExpand:a,intlCollapse:n,toggle:i,el:c,position:l,tooltip:r,ref:s,scale:d})=>{const p="rtl"===e(c),h=t?n:a,u=["chevrons-left","chevrons-right"];p&&u.reverse();const f="end"===function(t,o){var e;return t||(null===(e=o.closest("calcite-shell-panel"))||void 0===e?void 0:e.position)||"start"}(l,c);return o("calcite-action",{icon:t?f?u[1]:u[0]:f?u[0]:u[1],onClick:i,ref:o=>(({tooltip:t,referenceElement:o,expanded:e,ref:a})=>(t&&(t.referenceElement=!e&&o?o:null),a&&a(o),o))({tooltip:r,referenceElement:o,expanded:t,ref:s}),scale:d,text:h,textEnabled:t})};export{h as E,d as a,r as b,l as g,i as o,s as q,p as t}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { filterComponentAttributes, createComponentHTML as create, themesDarkDefault } from "../../../.storybook/utils";
|
|
2
|
-
import { placeholderImage } from "../../../.storybook/placeholderImage";
|
|
3
|
-
import { ATTRIBUTES } from "../../../.storybook/resources";
|
|
4
|
-
import { iconNames, storyFilters } from "../../../.storybook/helpers";
|
|
5
|
-
import { select, text } from "@storybook/addon-knobs";
|
|
6
|
-
import accordionReadme from "./readme.md";
|
|
7
|
-
import accordionItemReadme from "../accordion-item/readme.md";
|
|
8
|
-
import { html } from "../../../support/formatting";
|
|
9
|
-
const createAccordionAttributes = ({ exceptions } = { exceptions: [] }) => {
|
|
10
|
-
const group = "accordion";
|
|
11
|
-
const { scale } = ATTRIBUTES;
|
|
12
|
-
return filterComponentAttributes([
|
|
13
|
-
{
|
|
14
|
-
name: "scale",
|
|
15
|
-
commit() {
|
|
16
|
-
this.value = select("scale", scale.values, scale.defaultValue, group);
|
|
17
|
-
delete this.build;
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
name: "appearance",
|
|
23
|
-
commit() {
|
|
24
|
-
this.value = select("appearance", ["default", "minimal", "transparent"], "default", group);
|
|
25
|
-
delete this.build;
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: "icon-position",
|
|
31
|
-
commit() {
|
|
32
|
-
this.value = select("icon-position", ["start", "end"], "end", group);
|
|
33
|
-
delete this.build;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: "icon-type",
|
|
39
|
-
commit() {
|
|
40
|
-
this.value = select("icon-type", ["chevron", "caret", "plus-minus"], "chevron", group);
|
|
41
|
-
delete this.build;
|
|
42
|
-
return this;
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: "selection-mode",
|
|
47
|
-
commit() {
|
|
48
|
-
this.value = select("selection-mode", ["multi", "single", "single-persist"], "multi", group);
|
|
49
|
-
delete this.build;
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
], exceptions);
|
|
54
|
-
};
|
|
55
|
-
const createAccordionItemAttributes = ({ icon, group, iconStart, iconEnd }) => {
|
|
56
|
-
const groupTitle = group ? group : "";
|
|
57
|
-
const defaultAttributes = [
|
|
58
|
-
{
|
|
59
|
-
name: "heading",
|
|
60
|
-
value: text("heading", "Heading", groupTitle)
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: "description",
|
|
64
|
-
value: text("description", "Description", groupTitle)
|
|
65
|
-
}
|
|
66
|
-
];
|
|
67
|
-
const iconAttribute = [
|
|
68
|
-
{
|
|
69
|
-
name: "icon",
|
|
70
|
-
value: select("icon", iconNames, iconNames[0], groupTitle)
|
|
71
|
-
}
|
|
72
|
-
];
|
|
73
|
-
const iconStartAttribute = [
|
|
74
|
-
{
|
|
75
|
-
name: "icon-start",
|
|
76
|
-
value: select("icon-start", iconNames, iconNames[0], groupTitle)
|
|
77
|
-
}
|
|
78
|
-
];
|
|
79
|
-
const iconEndAttribute = [
|
|
80
|
-
{
|
|
81
|
-
name: "icon-end",
|
|
82
|
-
value: select("icon-end", iconNames, iconNames[0], groupTitle)
|
|
83
|
-
}
|
|
84
|
-
];
|
|
85
|
-
if (iconEnd && iconStart) {
|
|
86
|
-
return iconStartAttribute.concat(defaultAttributes, iconEndAttribute);
|
|
87
|
-
}
|
|
88
|
-
else if (iconStart || iconEnd) {
|
|
89
|
-
return iconStart ? iconStartAttribute.concat(defaultAttributes) : iconEndAttribute.concat(defaultAttributes);
|
|
90
|
-
}
|
|
91
|
-
else if (icon) {
|
|
92
|
-
return iconAttribute.concat(defaultAttributes);
|
|
93
|
-
}
|
|
94
|
-
return defaultAttributes;
|
|
95
|
-
};
|
|
96
|
-
const accordionItemContent = `Custom content here<br/><img src="${placeholderImage({
|
|
97
|
-
width: 200,
|
|
98
|
-
height: 133
|
|
99
|
-
})}"><br/>More custom content here`;
|
|
100
|
-
export default {
|
|
101
|
-
title: "Components/Accordion",
|
|
102
|
-
parameters: {
|
|
103
|
-
notes: {
|
|
104
|
-
accordion: accordionReadme,
|
|
105
|
-
accordionItem: accordionItemReadme
|
|
106
|
-
},
|
|
107
|
-
backgrounds: {
|
|
108
|
-
values: [{ name: "transparent", value: "#0000ffff" }]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
...storyFilters()
|
|
112
|
-
};
|
|
113
|
-
export const simple = () => create("calcite-accordion", createAccordionAttributes(), html `
|
|
114
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-1" }), accordionItemContent)}
|
|
115
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-2" }), accordionItemContent)}
|
|
116
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-3" }), accordionItemContent)}
|
|
117
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-4" }).concat({
|
|
118
|
-
name: "expanded",
|
|
119
|
-
value: true
|
|
120
|
-
}), accordionItemContent)}
|
|
121
|
-
`);
|
|
122
|
-
export const icon_NoTest = () => create("calcite-accordion", createAccordionAttributes(), html `
|
|
123
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-1" }), accordionItemContent)}
|
|
124
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-2" }), accordionItemContent)}
|
|
125
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-3" }), accordionItemContent)}
|
|
126
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-4" }).concat({
|
|
127
|
-
name: "expanded",
|
|
128
|
-
value: true
|
|
129
|
-
}), accordionItemContent)}
|
|
130
|
-
`);
|
|
131
|
-
export const withActions = () => html `
|
|
132
|
-
<calcite-accordion scale="s">
|
|
133
|
-
<calcite-accordion-item scale="m" heading="Accordion Item">
|
|
134
|
-
<calcite-action scale="s" icon="brush-tip" label="Paint" slot="actions-start"></calcite-action
|
|
135
|
-
>${accordionItemContent}
|
|
136
|
-
<calcite-action scale="s" icon="banana" label="Banana" slot="actions-end"></calcite-action>
|
|
137
|
-
<calcite-action scale="s" icon="sound" label="Volume" slot="actions-end"></calcite-action>
|
|
138
|
-
</calcite-accordion-item>
|
|
139
|
-
<calcite-accordion-item scale="m" heading="Accordion Item">
|
|
140
|
-
<calcite-action scale="s" icon="brush-tip" label="Paint" slot="actions-start"></calcite-action
|
|
141
|
-
>${accordionItemContent}
|
|
142
|
-
<calcite-action scale="s" icon="banana" label="Banana" slot="actions-end"></calcite-action>
|
|
143
|
-
<calcite-action scale="s" icon="sound" label="Volume" slot="actions-end"></calcite-action>
|
|
144
|
-
</calcite-accordion-item>
|
|
145
|
-
<calcite-accordion-item scale="m" heading="Accordion Item">
|
|
146
|
-
<calcite-action scale="s" icon="brush-tip" label="Paint" slot="actions-start"></calcite-action
|
|
147
|
-
>${accordionItemContent}
|
|
148
|
-
<calcite-action scale="s" icon="banana" label="Banana" slot="actions-end"></calcite-action>
|
|
149
|
-
<calcite-action scale="s" icon="sound" label="Volume" slot="actions-end"></calcite-action>
|
|
150
|
-
</calcite-accordion-item>
|
|
151
|
-
</calcite-accordion>
|
|
152
|
-
`;
|
|
153
|
-
export const darkThemeRTL_TestOnly = () => create("calcite-accordion", createAccordionAttributes({ exceptions: ["class", "dir"] }).concat({
|
|
154
|
-
name: "class",
|
|
155
|
-
value: "calcite-theme-dark"
|
|
156
|
-
}, {
|
|
157
|
-
name: "dir",
|
|
158
|
-
value: "rtl"
|
|
159
|
-
}), html `
|
|
160
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-1" }), accordionItemContent)}
|
|
161
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-2" }), accordionItemContent)}
|
|
162
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-3" }), accordionItemContent)}
|
|
163
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ icon: true, group: "accordion-item-4" }).concat({
|
|
164
|
-
name: "expanded",
|
|
165
|
-
value: true
|
|
166
|
-
}), accordionItemContent)}
|
|
167
|
-
`);
|
|
168
|
-
darkThemeRTL_TestOnly.parameters = { themes: themesDarkDefault };
|
|
169
|
-
export const transparentAppearance_TestOnly = () => create("calcite-accordion", createAccordionAttributes({ exceptions: ["appearance"] }).concat({
|
|
170
|
-
name: "appearance",
|
|
171
|
-
value: "transparent"
|
|
172
|
-
}), html `
|
|
173
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-1" }), accordionItemContent)}
|
|
174
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-2" }), accordionItemContent)}
|
|
175
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-3" }), accordionItemContent)}
|
|
176
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-4" }).concat({
|
|
177
|
-
name: "expanded",
|
|
178
|
-
value: true
|
|
179
|
-
}), accordionItemContent)}
|
|
180
|
-
`);
|
|
181
|
-
export const withIconStartAndEnd_TestOnly = () => create("calcite-accordion", createAccordionAttributes({ exceptions: ["appearance"] }).concat({
|
|
182
|
-
name: "appearance",
|
|
183
|
-
value: "transparent"
|
|
184
|
-
}), html `
|
|
185
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-1", iconStart: "banana", icon: true }), accordionItemContent)}
|
|
186
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-2", iconEnd: "cars" }), accordionItemContent)}
|
|
187
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({ group: "accordion-item-3", iconEnd: "plane", iconStart: "plane", icon: true }), accordionItemContent)}
|
|
188
|
-
${create("calcite-accordion-item", createAccordionItemAttributes({
|
|
189
|
-
group: "accordion-item-4",
|
|
190
|
-
iconStart: "biking",
|
|
191
|
-
iconEnd: "biking",
|
|
192
|
-
icon: true
|
|
193
|
-
}).concat({
|
|
194
|
-
name: "expanded",
|
|
195
|
-
value: true
|
|
196
|
-
}), accordionItemContent)}
|
|
197
|
-
`);
|