@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,181 +0,0 @@
|
|
|
1
|
-
import { boolean, select, text } from "@storybook/addon-knobs";
|
|
2
|
-
import { filterComponentAttributes, createComponentHTML as create, themesDarkDefault } from "../../../.storybook/utils";
|
|
3
|
-
import readme from "./readme.md";
|
|
4
|
-
import { html } from "../../../support/formatting";
|
|
5
|
-
import { iconNames, storyFilters } from "../../../.storybook/helpers";
|
|
6
|
-
import { ATTRIBUTES } from "../../../.storybook/resources";
|
|
7
|
-
const { alignment, scale } = ATTRIBUTES;
|
|
8
|
-
export default {
|
|
9
|
-
title: "Components/Buttons/Action",
|
|
10
|
-
parameters: {
|
|
11
|
-
notes: readme
|
|
12
|
-
},
|
|
13
|
-
...storyFilters()
|
|
14
|
-
};
|
|
15
|
-
const createAttributes = ({ exceptions } = { exceptions: [] }) => {
|
|
16
|
-
return filterComponentAttributes([
|
|
17
|
-
{
|
|
18
|
-
name: "active",
|
|
19
|
-
commit() {
|
|
20
|
-
this.value = boolean("active", false);
|
|
21
|
-
delete this.build;
|
|
22
|
-
return this;
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: "alignment",
|
|
27
|
-
commit() {
|
|
28
|
-
this.value = select("alignment", alignment.values, alignment.defaultValue);
|
|
29
|
-
delete this.build;
|
|
30
|
-
return this;
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
name: "appearance",
|
|
35
|
-
commit() {
|
|
36
|
-
this.value = select("appearance", ["solid", "clear"], "solid");
|
|
37
|
-
delete this.build;
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
name: "compact",
|
|
43
|
-
commit() {
|
|
44
|
-
this.value = boolean("compact", false);
|
|
45
|
-
delete this.build;
|
|
46
|
-
return this;
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
name: "disabled",
|
|
51
|
-
commit() {
|
|
52
|
-
this.value = boolean("disabled", false);
|
|
53
|
-
delete this.build;
|
|
54
|
-
return this;
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
name: "icon",
|
|
59
|
-
commit() {
|
|
60
|
-
this.value = select("icon", ["", ...iconNames], "banana");
|
|
61
|
-
delete this.build;
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: "indicator",
|
|
67
|
-
commit() {
|
|
68
|
-
this.value = boolean("indicator", false);
|
|
69
|
-
delete this.build;
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: "label",
|
|
75
|
-
commit() {
|
|
76
|
-
this.value = text("label", "Label");
|
|
77
|
-
delete this.build;
|
|
78
|
-
return this;
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: "loading",
|
|
83
|
-
commit() {
|
|
84
|
-
this.value = boolean("loading", false);
|
|
85
|
-
delete this.build;
|
|
86
|
-
return this;
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: "scale",
|
|
91
|
-
commit() {
|
|
92
|
-
this.value = select("scale", scale.values, scale.defaultValue);
|
|
93
|
-
delete this.build;
|
|
94
|
-
return this;
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
name: "text",
|
|
99
|
-
commit() {
|
|
100
|
-
this.value = text("text", "Text");
|
|
101
|
-
delete this.build;
|
|
102
|
-
return this;
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
name: "text-enabled",
|
|
107
|
-
commit() {
|
|
108
|
-
this.value = boolean("textEnabled", true);
|
|
109
|
-
delete this.build;
|
|
110
|
-
return this;
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: "style",
|
|
115
|
-
commit() {
|
|
116
|
-
this.value = boolean("textEnabled", true);
|
|
117
|
-
delete this.build;
|
|
118
|
-
return this;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
], exceptions);
|
|
122
|
-
};
|
|
123
|
-
export const simple = () => html `<div>
|
|
124
|
-
${create("calcite-action", createAttributes({ exceptions: ["icon", "text"] }).concat([
|
|
125
|
-
{
|
|
126
|
-
name: "icon",
|
|
127
|
-
value: "banana"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: "text",
|
|
131
|
-
value: ""
|
|
132
|
-
}
|
|
133
|
-
]))}
|
|
134
|
-
</div>`;
|
|
135
|
-
export const disabledAndCompactAndTextOnly_TestOnly = () => html `<div>
|
|
136
|
-
${create("calcite-action", createAttributes({ exceptions: ["compact", "disabled"] }).concat([
|
|
137
|
-
{ name: "compact", value: true },
|
|
138
|
-
{ name: "disabled", value: true }
|
|
139
|
-
]))}
|
|
140
|
-
</div>`;
|
|
141
|
-
export const activeAndAppearanceClear_TestOnly = () => html `<div>
|
|
142
|
-
${create("calcite-action", createAttributes({ exceptions: ["icon", "appearance", "active"] }).concat([
|
|
143
|
-
{ name: "active", value: true },
|
|
144
|
-
{ name: "icon", value: "banana" },
|
|
145
|
-
{ name: "appearance", value: "clear" }
|
|
146
|
-
]))}
|
|
147
|
-
</div>`;
|
|
148
|
-
export const alignmentEndAndSmallScaleAndIndicator_TestOnly = () => html `<div style="width: 300px">
|
|
149
|
-
${create("calcite-action", createAttributes({ exceptions: ["icon", "indicator", "alignment", "scale"] }).concat([
|
|
150
|
-
{ name: "icon", value: "banana" },
|
|
151
|
-
{ name: "alignment", value: "end" },
|
|
152
|
-
{ name: "indicator", value: true },
|
|
153
|
-
{ name: "scale", value: "s" }
|
|
154
|
-
]))}
|
|
155
|
-
</div>`;
|
|
156
|
-
export const alignmentStartAndLargeScaleAndTextOverflow_TestOnly = () => html `<div style="width: 150px">
|
|
157
|
-
${create("calcite-action", createAttributes({ exceptions: ["icon", "text", "alignment", "scale"] }).concat([
|
|
158
|
-
{ name: "icon", value: "banana" },
|
|
159
|
-
{ name: "text", value: "Blah blah blah blah blah blah blah blah blah blah" },
|
|
160
|
-
{ name: "alignment", value: "start" },
|
|
161
|
-
{ name: "scale", value: "l" }
|
|
162
|
-
]))}
|
|
163
|
-
</div>`;
|
|
164
|
-
export const arabicLocale_TestOnly = () => html `
|
|
165
|
-
<calcite-action
|
|
166
|
-
dir="rtl"
|
|
167
|
-
icon="banana"
|
|
168
|
-
lang="ar"
|
|
169
|
-
lang="ar-EG"
|
|
170
|
-
text="لكن لا بد أن أوضح لك أن كل"
|
|
171
|
-
text-enabled
|
|
172
|
-
></calcite-action>
|
|
173
|
-
`;
|
|
174
|
-
export const darkThemeRTL_TestOnly = () => html `<div>
|
|
175
|
-
${create("calcite-action", createAttributes({ exceptions: ["icon", "class", "dir"] }).concat([
|
|
176
|
-
{ name: "icon", value: "banana" },
|
|
177
|
-
{ name: "class", value: "calcite-theme-dark" },
|
|
178
|
-
{ name: "dir", value: "rtl" }
|
|
179
|
-
]))}
|
|
180
|
-
</div>`;
|
|
181
|
-
darkThemeRTL_TestOnly.parameters = { themes: themesDarkDefault };
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { boolean, select, text } from "@storybook/addon-knobs";
|
|
2
|
-
import { filterComponentAttributes, createComponentHTML as create, themesDarkDefault } from "../../../.storybook/utils";
|
|
3
|
-
import readme from "./readme.md";
|
|
4
|
-
import { ATTRIBUTES } from "../../../.storybook/resources";
|
|
5
|
-
import { html } from "../../../support/formatting";
|
|
6
|
-
import { TEXT } from "./resources";
|
|
7
|
-
import { storyFilters } from "../../../.storybook/helpers";
|
|
8
|
-
export default {
|
|
9
|
-
title: "Components/Action Bar",
|
|
10
|
-
parameters: {
|
|
11
|
-
notes: readme
|
|
12
|
-
},
|
|
13
|
-
...storyFilters()
|
|
14
|
-
};
|
|
15
|
-
const createAttributes = ({ exceptions } = { exceptions: [] }) => {
|
|
16
|
-
const { position } = ATTRIBUTES;
|
|
17
|
-
return filterComponentAttributes([
|
|
18
|
-
{
|
|
19
|
-
name: "expand-disabled",
|
|
20
|
-
commit() {
|
|
21
|
-
this.value = boolean("expandDisabled", false);
|
|
22
|
-
delete this.build;
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: "expanded",
|
|
28
|
-
commit() {
|
|
29
|
-
this.value = boolean("expanded", false);
|
|
30
|
-
delete this.build;
|
|
31
|
-
return this;
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: "intl-expand",
|
|
36
|
-
commit() {
|
|
37
|
-
this.value = text("intlExpand", TEXT.expand);
|
|
38
|
-
delete this.build;
|
|
39
|
-
return this;
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: "intl-collapse",
|
|
44
|
-
commit() {
|
|
45
|
-
this.value = text("intlCollapse", TEXT.collapse);
|
|
46
|
-
delete this.build;
|
|
47
|
-
return this;
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "position",
|
|
52
|
-
commit() {
|
|
53
|
-
this.value = select("position", position.values, position.defaultValue);
|
|
54
|
-
delete this.build;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
], exceptions);
|
|
59
|
-
};
|
|
60
|
-
export const simple = () => create("calcite-action-bar", createAttributes(), html `
|
|
61
|
-
<calcite-action-group>
|
|
62
|
-
<calcite-action text="Add" label="Add Item" icon="plus"></calcite-action>
|
|
63
|
-
<calcite-action text="Save" label="Save Item" icon="save"></calcite-action>
|
|
64
|
-
</calcite-action-group>
|
|
65
|
-
<calcite-action-group>
|
|
66
|
-
<calcite-action text="Layers" label="View Layers" icon="layers"></calcite-action>
|
|
67
|
-
</calcite-action-group>
|
|
68
|
-
`);
|
|
69
|
-
export const horizontal = () => html `
|
|
70
|
-
<div style="width: 500px;">
|
|
71
|
-
<calcite-action-bar layout="horizontal" style="width:100%">
|
|
72
|
-
<calcite-action-group layout="horizontal">
|
|
73
|
-
<calcite-action text="Add" icon="plus"> </calcite-action>
|
|
74
|
-
<calcite-action text="Save" icon="save"> </calcite-action>
|
|
75
|
-
<calcite-action text="Layers" icon="layers"> </calcite-action>
|
|
76
|
-
</calcite-action-group>
|
|
77
|
-
<calcite-action-group layout="horizontal">
|
|
78
|
-
<calcite-action text="Add" icon="plus"> </calcite-action>
|
|
79
|
-
<calcite-action text="Save" active icon="save"> </calcite-action>
|
|
80
|
-
<calcite-action text="Layers" icon="layers"> </calcite-action>
|
|
81
|
-
</calcite-action-group>
|
|
82
|
-
<calcite-action slot="bottom-actions" text="hello world" icon="layers"> </calcite-action>
|
|
83
|
-
</calcite-action-bar>
|
|
84
|
-
</div>
|
|
85
|
-
`;
|
|
86
|
-
export const horizontalSmall = () => html `
|
|
87
|
-
<div style="width: 250px;">
|
|
88
|
-
<calcite-action-bar layout="horizontal" style="width:100%">
|
|
89
|
-
<calcite-action-group layout="horizontal">
|
|
90
|
-
<calcite-action text="Add" icon="plus"> </calcite-action>
|
|
91
|
-
<calcite-action text="Save" icon="save"> </calcite-action>
|
|
92
|
-
<calcite-action text="Layers" icon="layers"> </calcite-action>
|
|
93
|
-
</calcite-action-group>
|
|
94
|
-
<calcite-action-group layout="horizontal">
|
|
95
|
-
<calcite-action text="Add" icon="plus"> </calcite-action>
|
|
96
|
-
<calcite-action text="Save" active icon="save"> </calcite-action>
|
|
97
|
-
<calcite-action text="Layers" icon="layers"> </calcite-action>
|
|
98
|
-
</calcite-action-group>
|
|
99
|
-
<calcite-action slot="bottom-actions" text="hello world" icon="layers"> </calcite-action>
|
|
100
|
-
</calcite-action-bar>
|
|
101
|
-
</div>
|
|
102
|
-
`;
|
|
103
|
-
export const withDefinedWidths = () => html `
|
|
104
|
-
<style>
|
|
105
|
-
calcite-action-bar {
|
|
106
|
-
--calcite-action-bar-expanded-max-width: 150px;
|
|
107
|
-
}
|
|
108
|
-
</style>
|
|
109
|
-
<calcite-action-bar expanded>
|
|
110
|
-
<calcite-action-group>
|
|
111
|
-
<calcite-action text="Add to my custom action bar application" icon="plus"></calcite-action>
|
|
112
|
-
<calcite-action text="Save to my custom action bar application" icon="save"></calcite-action>
|
|
113
|
-
</calcite-action-group>
|
|
114
|
-
<calcite-action-group>
|
|
115
|
-
<calcite-action text="Layers in my custom action bar application" icon="layers"></calcite-action>
|
|
116
|
-
</calcite-action-group>
|
|
117
|
-
</calcite-action-bar>
|
|
118
|
-
`;
|
|
119
|
-
export const darkThemeRTL_TestOnly = () => create("calcite-action-bar", createAttributes({ exceptions: ["dir", "class"] }).concat([
|
|
120
|
-
{
|
|
121
|
-
name: "dir",
|
|
122
|
-
value: "rtl"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
name: "class",
|
|
126
|
-
value: "calcite-theme-dark"
|
|
127
|
-
}
|
|
128
|
-
]), html `
|
|
129
|
-
<calcite-action-group>
|
|
130
|
-
<calcite-action text="Add" label="Add Item" icon="plus"></calcite-action>
|
|
131
|
-
<calcite-action text="Save" label="Save Item" icon="save"></calcite-action>
|
|
132
|
-
</calcite-action-group>
|
|
133
|
-
<calcite-action-group>
|
|
134
|
-
<calcite-action text="Layers" label="View Layers" icon="layers"></calcite-action>
|
|
135
|
-
</calcite-action-group>
|
|
136
|
-
`);
|
|
137
|
-
darkThemeRTL_TestOnly.parameters = { themes: themesDarkDefault };
|
|
138
|
-
export const withTooltip_NoTest = () => create("calcite-action-bar", createAttributes(), html `
|
|
139
|
-
<calcite-tooltip placement="bottom" slot="expand-tooltip">Expand</calcite-tooltip>
|
|
140
|
-
<calcite-action text="Add" icon="plus"></calcite-action>
|
|
141
|
-
`);
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { select, text } from "@storybook/addon-knobs";
|
|
2
|
-
import { iconNames, storyFilters } from "../../../.storybook/helpers";
|
|
3
|
-
import readme from "./readme.md";
|
|
4
|
-
import { html } from "../../../support/formatting";
|
|
5
|
-
export default {
|
|
6
|
-
title: "Components/Action Group",
|
|
7
|
-
parameters: {
|
|
8
|
-
notes: readme
|
|
9
|
-
},
|
|
10
|
-
...storyFilters()
|
|
11
|
-
};
|
|
12
|
-
export const gridCenteringOfActionsInAGroup = () => html `
|
|
13
|
-
<div style="width:400px">
|
|
14
|
-
<calcite-action-group layout="${select("layout", ["horizontal", "vertical", "grid"], "grid")}">
|
|
15
|
-
<calcite-action
|
|
16
|
-
alignment="${select("alignment", ["start", "center", "end"], "center")}"
|
|
17
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
18
|
-
appearance="${select("appearance", ["solid", "clear", "outline"], "solid")}"
|
|
19
|
-
icon="${select("icon", iconNames, "polygon")}"
|
|
20
|
-
${text("text", "polygon")}
|
|
21
|
-
>
|
|
22
|
-
</calcite-action>
|
|
23
|
-
<calcite-action
|
|
24
|
-
alignment="${select("alignment", ["start", "center", "end"], "center")}"
|
|
25
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
26
|
-
appearance="${select("appearance", ["solid", "clear", "outline"], "solid")}"
|
|
27
|
-
icon="${select("icon", iconNames, "rectangle")}"
|
|
28
|
-
${text("text", "rectangle")}
|
|
29
|
-
>
|
|
30
|
-
</calcite-action>
|
|
31
|
-
<calcite-action
|
|
32
|
-
alignment="${select("alignment", ["start", "center", "end"], "center")}"
|
|
33
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
34
|
-
appearance="${select("appearance", ["solid", "clear", "outline"], "solid")}"
|
|
35
|
-
icon="${select("icon", iconNames, "trash")}"
|
|
36
|
-
${text("text", "trash")}
|
|
37
|
-
>
|
|
38
|
-
</calcite-action>
|
|
39
|
-
</calcite-action-group>
|
|
40
|
-
</div>
|
|
41
|
-
`;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { html } from "../../../support/formatting";
|
|
2
|
-
import readme from "./readme.md";
|
|
3
|
-
import { storyFilters } from "../../../.storybook/helpers";
|
|
4
|
-
export default {
|
|
5
|
-
title: "Components/Action Menu",
|
|
6
|
-
parameters: {
|
|
7
|
-
notes: readme
|
|
8
|
-
},
|
|
9
|
-
...storyFilters()
|
|
10
|
-
};
|
|
11
|
-
export const simple = () => html `
|
|
12
|
-
<calcite-action-menu>
|
|
13
|
-
<calcite-action slot="trigger" text="Add" icon="banana"></calcite-action>
|
|
14
|
-
<calcite-action text="Plus" icon="plus" text-enabled></calcite-action>
|
|
15
|
-
<calcite-action text="Minus" icon="minus" text-enabled></calcite-action>
|
|
16
|
-
<calcite-action text="Table" icon="table" text-enabled></calcite-action>
|
|
17
|
-
</calcite-action-menu>
|
|
18
|
-
`;
|
|
19
|
-
export const open = () => html `
|
|
20
|
-
<calcite-action-menu open>
|
|
21
|
-
<calcite-action slot="trigger" text="Add" icon="banana"></calcite-action>
|
|
22
|
-
<calcite-action text="Plus" icon="plus" text-enabled></calcite-action>
|
|
23
|
-
<calcite-action text="Minus" icon="minus" text-enabled></calcite-action>
|
|
24
|
-
<calcite-action text="Table" icon="table" text-enabled></calcite-action>
|
|
25
|
-
</calcite-action-menu>
|
|
26
|
-
`;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { boolean, select, text } from "@storybook/addon-knobs";
|
|
2
|
-
import { filterComponentAttributes, createComponentHTML as create, themesDarkDefault } from "../../../.storybook/utils";
|
|
3
|
-
import readme from "./readme.md";
|
|
4
|
-
import { ATTRIBUTES } from "../../../.storybook/resources";
|
|
5
|
-
import { html } from "../../../support/formatting";
|
|
6
|
-
import { TEXT } from "./resources";
|
|
7
|
-
import { storyFilters } from "../../../.storybook/helpers";
|
|
8
|
-
export default {
|
|
9
|
-
title: "Components/Action Pad",
|
|
10
|
-
parameters: {
|
|
11
|
-
notes: readme
|
|
12
|
-
},
|
|
13
|
-
...storyFilters()
|
|
14
|
-
};
|
|
15
|
-
const createAttributes = ({ exceptions } = { exceptions: [] }) => {
|
|
16
|
-
const { position } = ATTRIBUTES;
|
|
17
|
-
return filterComponentAttributes([
|
|
18
|
-
{
|
|
19
|
-
name: "expand-disabled",
|
|
20
|
-
commit() {
|
|
21
|
-
this.value = boolean("expandDisabled", false);
|
|
22
|
-
delete this.build;
|
|
23
|
-
return this;
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
name: "expanded",
|
|
28
|
-
commit() {
|
|
29
|
-
this.value = boolean("expanded", false);
|
|
30
|
-
delete this.build;
|
|
31
|
-
return this;
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: "position",
|
|
36
|
-
commit() {
|
|
37
|
-
this.value = select("position", position.values, position.defaultValue);
|
|
38
|
-
delete this.build;
|
|
39
|
-
return this;
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: "intl-expand",
|
|
44
|
-
commit() {
|
|
45
|
-
this.value = text("intlExpand", TEXT.expand);
|
|
46
|
-
delete this.build;
|
|
47
|
-
return this;
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: "intl-collapse",
|
|
52
|
-
commit() {
|
|
53
|
-
this.value = text("intlCollapse", TEXT.collapse);
|
|
54
|
-
delete this.build;
|
|
55
|
-
return this;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
], exceptions);
|
|
59
|
-
};
|
|
60
|
-
export const simple = () => create("calcite-action-pad", createAttributes(), html `
|
|
61
|
-
<calcite-action-group>
|
|
62
|
-
<calcite-action text="Undo" label="Undo Action" icon="undo"></calcite-action>
|
|
63
|
-
<calcite-action text="Redo" label="Redo Action" icon="redo"></calcite-action>
|
|
64
|
-
</calcite-action-group>
|
|
65
|
-
<calcite-action-group>
|
|
66
|
-
<calcite-action text="Delete" label="Delete Item" icon="trash"></calcite-action>
|
|
67
|
-
</calcite-action-group>
|
|
68
|
-
`);
|
|
69
|
-
export const withDefinedWidths = () => html `
|
|
70
|
-
<style>
|
|
71
|
-
calcite-action-pad {
|
|
72
|
-
--calcite-action-pad-expanded-max-width: 150px;
|
|
73
|
-
}
|
|
74
|
-
</style>
|
|
75
|
-
<calcite-action-pad expanded>
|
|
76
|
-
<calcite-action-group>
|
|
77
|
-
<calcite-action text="Add to my custom action pad application" icon="plus"></calcite-action>
|
|
78
|
-
<calcite-action text="Save to my custom action pad application" icon="save"></calcite-action>
|
|
79
|
-
</calcite-action-group>
|
|
80
|
-
<calcite-action-group>
|
|
81
|
-
<calcite-action text="Layers in my custom action pad application" icon="layers"></calcite-action>
|
|
82
|
-
</calcite-action-group>
|
|
83
|
-
</calcite-action-pad>
|
|
84
|
-
`;
|
|
85
|
-
export const darkThemeRTL_TestOnly = () => create("calcite-action-pad", createAttributes({ exceptions: ["dir", "class"] }).concat([
|
|
86
|
-
{
|
|
87
|
-
name: "dir",
|
|
88
|
-
value: "rtl"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
name: "class",
|
|
92
|
-
value: "calcite-theme-dark"
|
|
93
|
-
}
|
|
94
|
-
]), html `
|
|
95
|
-
<calcite-action-group>
|
|
96
|
-
<calcite-action text="Add" label="Add Item" icon="plus"></calcite-action>
|
|
97
|
-
<calcite-action text="Save" label="Save Item" icon="save"></calcite-action>
|
|
98
|
-
</calcite-action-group>
|
|
99
|
-
<calcite-action-group>
|
|
100
|
-
<calcite-action text="Layers" label="View Layers" icon="layers"></calcite-action>
|
|
101
|
-
</calcite-action-group>
|
|
102
|
-
`);
|
|
103
|
-
darkThemeRTL_TestOnly.parameters = { themes: themesDarkDefault };
|
|
104
|
-
export const withTooltip_NoTest = () => create("calcite-action-pad", createAttributes(), html `
|
|
105
|
-
<calcite-tooltip placement="bottom" slot="expand-tooltip">Expand</calcite-tooltip>
|
|
106
|
-
<calcite-action text="Add" icon="plus"></calcite-action>
|
|
107
|
-
`);
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { select } from "@storybook/addon-knobs";
|
|
2
|
-
import { boolean, iconNames, storyFilters } from "../../../.storybook/helpers";
|
|
3
|
-
import { themesDarkDefault } from "../../../.storybook/utils";
|
|
4
|
-
import readme from "./readme.md";
|
|
5
|
-
import { html } from "../../../support/formatting";
|
|
6
|
-
export default {
|
|
7
|
-
title: "Components/Alert",
|
|
8
|
-
parameters: {
|
|
9
|
-
notes: readme
|
|
10
|
-
},
|
|
11
|
-
...storyFilters()
|
|
12
|
-
};
|
|
13
|
-
export const titleMessageLink = () => html `
|
|
14
|
-
<calcite-alert
|
|
15
|
-
${boolean("icon", true)}
|
|
16
|
-
${boolean("auto-dismiss", false)}
|
|
17
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
18
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
19
|
-
${boolean("open", true)}
|
|
20
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
21
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "blue")}">
|
|
22
|
-
<div slot="title">Here's a general bit of information</div></div>
|
|
23
|
-
<div slot="message">
|
|
24
|
-
Some kind of contextually relevant content
|
|
25
|
-
</div>
|
|
26
|
-
<calcite-link slot="link" title="my action">Take action</calcite-link>
|
|
27
|
-
</calcite-alert>
|
|
28
|
-
`;
|
|
29
|
-
titleMessageLink.storyName = "Title, message, link";
|
|
30
|
-
export const titleMessage = () => html `
|
|
31
|
-
<calcite-alert
|
|
32
|
-
${boolean("icon", true)}
|
|
33
|
-
${boolean("auto-dismiss", false)}
|
|
34
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
35
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
36
|
-
${boolean("open", true)}
|
|
37
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
38
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "red")}"
|
|
39
|
-
>
|
|
40
|
-
<div slot="title">Something failed</div>
|
|
41
|
-
<div slot="message">That thing you wanted to do didn't work as expected</div>
|
|
42
|
-
</calcite-alert>
|
|
43
|
-
`;
|
|
44
|
-
titleMessage.storyName = "Title, message";
|
|
45
|
-
export const messageLink = () => html `
|
|
46
|
-
<calcite-alert
|
|
47
|
-
${boolean("icon", true)}
|
|
48
|
-
${boolean("auto-dismiss", false)}
|
|
49
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
50
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
51
|
-
${boolean("open", true)}
|
|
52
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
53
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "green")}"
|
|
54
|
-
>
|
|
55
|
-
<div slot="message">Successfully duplicated <strong>2019 Sales Demographics by County</strong> layer</div>
|
|
56
|
-
<calcite-link slot="link" title="my action">View layer</calcite-link>
|
|
57
|
-
</calcite-alert>
|
|
58
|
-
`;
|
|
59
|
-
messageLink.storyName = "Message, link";
|
|
60
|
-
export const message = () => html `
|
|
61
|
-
<calcite-alert
|
|
62
|
-
${boolean("icon", true)}
|
|
63
|
-
${boolean("auto-dismiss", false)}
|
|
64
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
65
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
66
|
-
${boolean("active", true)}
|
|
67
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
68
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "yellow")}"
|
|
69
|
-
>
|
|
70
|
-
<div slot="message">Network connection interruption detected</div>
|
|
71
|
-
</calcite-alert>
|
|
72
|
-
`;
|
|
73
|
-
export const customIcon = () => html `
|
|
74
|
-
<calcite-alert
|
|
75
|
-
icon="${select("icon", iconNames, iconNames[0])}"
|
|
76
|
-
${boolean("auto-dismiss", false)}
|
|
77
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
78
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
79
|
-
${boolean("active", true)}
|
|
80
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
81
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "green")}"
|
|
82
|
-
>
|
|
83
|
-
<div slot="message">Successfully duplicated <strong>2019 Sales Demographics by County</strong> layer</div>
|
|
84
|
-
<calcite-link slot="link" title="my action">View layer</calcite-link>
|
|
85
|
-
</calcite-alert>
|
|
86
|
-
`;
|
|
87
|
-
export const queue_NoTest = () => html `
|
|
88
|
-
<div>
|
|
89
|
-
<h5>Open or add to queue</h5>
|
|
90
|
-
<calcite-button onclick='document.querySelector("#one").setAttribute("open", "")'>Open Alert 1</calcite-button>
|
|
91
|
-
<calcite-button onclick='document.querySelector("#two").setAttribute("open", "")'>Open Alert 2</calcite-button>
|
|
92
|
-
<calcite-button onclick='document.querySelector("[data-custom-id=my-id]").setAttribute("open", "")'
|
|
93
|
-
>Open Alert 3</calcite-button
|
|
94
|
-
>
|
|
95
|
-
<br />
|
|
96
|
-
<br />
|
|
97
|
-
<h5>Close or remove from queue</h5>
|
|
98
|
-
<calcite-button color="red" onclick='document.querySelector("#one").removeAttribute("open")'
|
|
99
|
-
>Close Alert 1</calcite-button
|
|
100
|
-
>
|
|
101
|
-
<calcite-button color="red" onclick='document.querySelector("#two").removeAttribute("open")'
|
|
102
|
-
>Close Alert 2</calcite-button
|
|
103
|
-
>
|
|
104
|
-
<calcite-button color="red" onclick='document.querySelector("[data-custom-id=my-id]").removeAttribute("open")'
|
|
105
|
-
>Close Alert 3</calcite-button
|
|
106
|
-
>
|
|
107
|
-
<calcite-alert id="one" icon color="${select("color", ["green", "red", "yellow", "blue"], "green")}">
|
|
108
|
-
<div slot="title">Your great thing happened</div>
|
|
109
|
-
<div slot="message">Successfully duplicated <strong>2019 Sales Demographics by County</strong> layer</div>
|
|
110
|
-
<calcite-link slot="link" title="my action">View layer</calcite-link>
|
|
111
|
-
</calcite-alert>
|
|
112
|
-
<calcite-alert id="two" icon color="${select("color-2", ["green", "red", "yellow", "blue"], "blue")}">
|
|
113
|
-
<div slot="title">Your great thing happened</div>
|
|
114
|
-
<div slot="message">Successfully duplicated <strong>2019 Sales Demographics by County</strong> layer</div>
|
|
115
|
-
<calcite-link slot="link" title="my action">View layer</calcite-link>
|
|
116
|
-
</calcite-alert>
|
|
117
|
-
<calcite-alert data-custom-id="my-id" icon color="${select("color-3", ["green", "red", "yellow", "blue"], "red")}">
|
|
118
|
-
<div slot="title">That didn't work out</div>
|
|
119
|
-
<div slot="message">That thing you wanted to do didn't work</div>
|
|
120
|
-
<calcite-link slot="link" title="my action">View layer</calcite-link>
|
|
121
|
-
</calcite-alert>
|
|
122
|
-
</div>
|
|
123
|
-
`;
|
|
124
|
-
export const darkThemeRTL_TestOnly = () => html `
|
|
125
|
-
<calcite-alert
|
|
126
|
-
class="calcite-theme-dark"
|
|
127
|
-
${boolean("icon", true)}
|
|
128
|
-
${boolean("auto-dismiss", false)}
|
|
129
|
-
auto-dismiss-duration="${select("auto-dismiss-duration", ["fast", "medium", "slow"], "medium")}"
|
|
130
|
-
placement="${select("placement", ["bottom-start", "bottom", "bottom-end", "top-start", "top", "top-end"], "bottom")}"
|
|
131
|
-
${boolean("open", true)}
|
|
132
|
-
scale="${select("scale", ["s", "m", "l"], "m")}"
|
|
133
|
-
color="${select("color", ["green", "red", "yellow", "blue"], "red")}"
|
|
134
|
-
>
|
|
135
|
-
<div slot="title">Something failed</div>
|
|
136
|
-
<div slot="message">That thing you wanted to do didn't work as expected</div>
|
|
137
|
-
<calcite-link slot="link" title="my action">My action</calcite-link>
|
|
138
|
-
</calcite-alert>
|
|
139
|
-
`;
|
|
140
|
-
darkThemeRTL_TestOnly.parameters = { themes: themesDarkDefault };
|