@esri/calcite-components 1.0.0-beta.75 → 1.0.0-beta.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-date-picker/nls/pt-BR.json +31 -0
- package/dist/calcite/assets/calcite-date-picker/nls/pt-PT.json +3 -3
- package/dist/calcite/assets/calcite-icon/clipboard16.json +1 -0
- package/dist/calcite/assets/calcite-icon/clipboard24.json +1 -0
- package/dist/calcite/assets/calcite-icon/clipboard32.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders16.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders24.json +1 -0
- package/dist/calcite/assets/calcite-icon/folders32.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative16.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative24.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiative32.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/initiativeTemplate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables16.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables24.json +1 -0
- package/dist/calcite/assets/calcite-icon/multipleVariables32.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck16.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck24.json +1 -0
- package/dist/calcite/assets/calcite-icon/paletteCheck32.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/pentagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece16.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece24.json +1 -0
- package/dist/calcite/assets/calcite-icon/puzzlePiece32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ribbonRosette32.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
- package/dist/calcite/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey16.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey24.json +1 -0
- package/dist/calcite/assets/calcite-icon/survey32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/{p-86b63ebb.system.entry.js → p-010b6b91.system.entry.js} +1 -1
- package/dist/calcite/p-015d6a24.entry.js +5 -0
- package/dist/calcite/p-0459ae3e.system.entry.js +5 -0
- package/dist/calcite/{p-0164361f.system.entry.js → p-07603601.system.entry.js} +1 -1
- package/dist/calcite/{p-e426746f.system.entry.js → p-0926320c.system.entry.js} +1 -1
- package/dist/calcite/{p-1668089f.entry.js → p-09bd0204.entry.js} +1 -1
- package/dist/calcite/{p-9e2c9752.entry.js → p-0c20a4e3.entry.js} +1 -1
- package/dist/calcite/{p-8604c625.system.entry.js → p-0d61e540.system.entry.js} +1 -1
- package/dist/calcite/{p-a99c8ebf.system.js → p-10e3f599.system.js} +1 -1
- package/dist/calcite/p-1199ec78.entry.js +5 -0
- package/dist/calcite/p-13f9119c.js +5 -0
- package/dist/calcite/{p-e5420c67.entry.js → p-150e45ec.entry.js} +1 -1
- package/dist/calcite/{p-5d7da300.system.entry.js → p-15eebdf8.system.entry.js} +1 -1
- package/dist/calcite/{p-49782820.entry.js → p-16a27151.entry.js} +1 -1
- package/dist/calcite/p-18259377.entry.js +5 -0
- package/dist/calcite/{p-baca86e3.entry.js → p-1a907c90.entry.js} +1 -1
- package/dist/calcite/p-1ce851da.js +5 -0
- package/dist/calcite/{p-fee9511c.system.entry.js → p-21e8e1e9.system.entry.js} +1 -1
- package/dist/calcite/{p-5d12a140.entry.js → p-2328c2ec.entry.js} +1 -1
- package/dist/calcite/{p-f1dc4798.entry.js → p-24765b5e.entry.js} +1 -1
- package/dist/calcite/{p-5b8404de.entry.js → p-2718a51a.entry.js} +1 -1
- package/dist/calcite/{p-8e1945e3.entry.js → p-2be7746c.entry.js} +1 -1
- package/dist/calcite/p-2d88c0ba.entry.js +5 -0
- package/dist/calcite/{p-7bdeb3ba.system.entry.js → p-353015b6.system.entry.js} +1 -1
- package/dist/calcite/{p-869eb8f9.entry.js → p-385f6cb9.entry.js} +1 -1
- package/dist/calcite/{p-b1a43a5f.system.entry.js → p-3e59c8ef.system.entry.js} +1 -1
- package/dist/calcite/{p-617c3f30.system.entry.js → p-3f6a6851.system.entry.js} +1 -1
- package/dist/calcite/{p-0a85cd8c.system.entry.js → p-3f792e3d.system.entry.js} +1 -1
- package/dist/calcite/{p-6fb9fef5.entry.js → p-408408d6.entry.js} +1 -1
- package/dist/calcite/{p-63f8783a.entry.js → p-42ac867a.entry.js} +1 -1
- package/dist/calcite/{p-2218fef5.entry.js → p-4340f6ed.entry.js} +1 -1
- package/dist/calcite/{p-44aa1db4.system.js → p-48fae9a9.system.js} +1 -1
- package/dist/calcite/{p-04bf684c.entry.js → p-4b7ff039.entry.js} +1 -1
- package/dist/calcite/{p-66ca7309.entry.js → p-4edc43c1.entry.js} +1 -1
- package/dist/calcite/p-4fc8341b.system.entry.js +5 -0
- package/dist/calcite/{p-40c3d7a6.system.entry.js → p-510ef2b7.system.entry.js} +1 -1
- package/dist/calcite/{p-7743a8d0.system.entry.js → p-5248d5fb.system.entry.js} +1 -1
- package/dist/calcite/p-54c3ea44.system.entry.js +5 -0
- package/dist/calcite/p-55c884ba.entry.js +5 -0
- package/dist/calcite/p-5660811e.entry.js +5 -0
- package/dist/calcite/p-5833a3af.entry.js +5 -0
- package/dist/calcite/p-59c6c9a0.entry.js +5 -0
- package/dist/calcite/{p-3cdf0ad5.system.entry.js → p-5cd2ff4e.system.entry.js} +1 -1
- package/dist/calcite/p-5f129d47.entry.js +5 -0
- package/dist/calcite/{p-d14265f3.entry.js → p-635594b8.entry.js} +1 -1
- package/dist/calcite/{p-58eb8460.entry.js → p-65ba6a8f.entry.js} +1 -1
- package/dist/calcite/{p-786b8250.entry.js → p-672ec03a.entry.js} +1 -1
- package/dist/calcite/{p-8709d314.system.entry.js → p-67cd9e12.system.entry.js} +1 -1
- package/dist/calcite/{p-0cb38659.system.entry.js → p-6a5a4922.system.entry.js} +1 -1
- package/dist/calcite/{p-fdd3ea5e.entry.js → p-6a797e80.entry.js} +1 -1
- package/dist/calcite/p-6b529df3.system.entry.js +5 -0
- package/dist/calcite/{p-6afd69dc.system.entry.js → p-6c4eb127.system.entry.js} +1 -1
- package/dist/calcite/{p-7d4316a1.system.entry.js → p-6d5c2fce.system.entry.js} +1 -1
- package/dist/calcite/{p-bde80af8.entry.js → p-6ee036b3.entry.js} +1 -1
- package/dist/calcite/{p-2e324a56.system.entry.js → p-71b6bc4c.system.entry.js} +1 -1
- package/dist/calcite/{p-e83a5fe4.system.entry.js → p-7266c359.system.entry.js} +1 -1
- package/dist/calcite/p-72951ce3.system.entry.js +5 -0
- package/dist/calcite/{p-141c978b.system.entry.js → p-75cda5de.system.entry.js} +1 -1
- package/dist/calcite/p-75df0e8f.entry.js +5 -0
- package/dist/calcite/p-79ba0ff5.js +5 -0
- package/dist/calcite/{p-04bf9bca.system.entry.js → p-7b2f2117.system.entry.js} +1 -1
- package/dist/calcite/{p-cfcb2161.entry.js → p-7b341154.entry.js} +1 -1
- package/dist/calcite/p-7e9189e8.system.entry.js +5 -0
- package/dist/calcite/{p-12142a2c.system.entry.js → p-80e56ba6.system.entry.js} +1 -1
- package/dist/calcite/{p-06dbe76a.system.entry.js → p-8124f6cc.system.entry.js} +1 -1
- package/dist/calcite/{p-754809de.entry.js → p-81dc55fa.entry.js} +1 -1
- package/dist/calcite/p-82e0b30e.entry.js +5 -0
- package/dist/calcite/{p-c5463268.system.entry.js → p-8446d974.system.entry.js} +1 -1
- package/dist/calcite/{p-c1c37da9.entry.js → p-852a718f.entry.js} +1 -1
- package/dist/calcite/p-8647d09e.entry.js +5 -0
- package/dist/calcite/{p-b86f0930.system.entry.js → p-888ce316.system.entry.js} +1 -1
- package/dist/calcite/{p-01b7adb5.js → p-8bfa00bc.js} +1 -1
- package/dist/calcite/{p-e1491358.system.entry.js → p-8d1564c5.system.entry.js} +1 -1
- package/dist/calcite/{p-2297db38.entry.js → p-8d437ca2.entry.js} +1 -1
- package/dist/calcite/{p-af669f43.entry.js → p-8f6aac19.entry.js} +1 -1
- package/dist/calcite/{p-bc85a791.entry.js → p-903c016f.entry.js} +1 -1
- package/dist/calcite/{p-70dd483b.system.js → p-9217d4ef.system.js} +1 -1
- package/dist/calcite/p-92901db9.entry.js +5 -0
- package/dist/calcite/{p-34e5baa7.system.js → p-94cfc34a.system.js} +1 -1
- package/dist/calcite/p-95810140.system.js +5 -0
- package/dist/calcite/p-95a3bcff.system.entry.js +5 -0
- package/dist/calcite/p-95b7c39a.system.entry.js +5 -0
- package/dist/calcite/p-983287ce.system.js +5 -0
- package/dist/calcite/{p-5a77fd17.entry.js → p-9ef989e2.entry.js} +1 -1
- package/dist/calcite/p-9f1c59ec.entry.js +5 -0
- package/dist/calcite/p-a37ecb59.entry.js +5 -0
- package/dist/calcite/{p-8f2c68f4.system.entry.js → p-a468d651.system.entry.js} +1 -1
- package/dist/calcite/{p-be231b84.entry.js → p-a77a8427.entry.js} +1 -1
- package/dist/calcite/{p-e4862fff.entry.js → p-a7dfed2f.entry.js} +1 -1
- package/dist/calcite/{p-92d9b81d.system.entry.js → p-a809abbd.system.entry.js} +1 -1
- package/dist/calcite/p-a859ccd4.system.js +5 -0
- package/dist/calcite/p-abf93e8f.system.js +5 -0
- package/dist/calcite/{p-82491929.entry.js → p-ac8c0493.entry.js} +1 -1
- package/dist/calcite/{p-2e351904.system.entry.js → p-ad2fd769.system.entry.js} +1 -1
- package/dist/calcite/{p-1804c868.system.entry.js → p-af5e11c9.system.entry.js} +1 -1
- package/dist/calcite/p-af75a72b.js +5 -0
- package/dist/calcite/p-b0ab09d3.system.entry.js +5 -0
- package/dist/calcite/p-b4a80f18.system.entry.js +5 -0
- package/dist/calcite/{p-9ca6c750.system.entry.js → p-b519a98e.system.entry.js} +1 -1
- package/dist/calcite/{p-b002b038.entry.js → p-b5781bda.entry.js} +1 -1
- package/dist/calcite/p-b8a670cc.entry.js +5 -0
- package/dist/calcite/{p-e5526c34.entry.js → p-ba6b0f09.entry.js} +1 -1
- package/dist/calcite/{p-da470de7.entry.js → p-bd289892.entry.js} +1 -1
- package/dist/calcite/p-c36161b9.system.entry.js +5 -0
- package/dist/calcite/{p-900e18a5.system.entry.js → p-c525d974.system.entry.js} +1 -1
- package/dist/calcite/{p-513bc44f.system.entry.js → p-c5e8d437.system.entry.js} +1 -1
- package/dist/calcite/{p-af84fa29.system.entry.js → p-cb02295b.system.entry.js} +1 -1
- package/dist/calcite/{p-10b1b39a.system.entry.js → p-d2931c8e.system.entry.js} +1 -1
- package/dist/calcite/{p-9d7102c0.entry.js → p-d2ebedc0.entry.js} +1 -1
- package/dist/calcite/{p-f4d9c369.system.entry.js → p-d3316626.system.entry.js} +1 -1
- package/dist/calcite/p-da987587.system.entry.js +5 -0
- package/dist/calcite/p-dadb1104.system.entry.js +5 -0
- package/dist/calcite/p-dae2daf0.entry.js +5 -0
- package/dist/calcite/{p-f5739197.entry.js → p-dc24f809.entry.js} +1 -1
- package/dist/calcite/p-de10a37b.entry.js +5 -0
- package/dist/calcite/{p-fe3fff79.entry.js → p-e54a3620.entry.js} +1 -1
- package/dist/calcite/p-e93a418e.system.entry.js +5 -0
- package/dist/calcite/{p-54edaa0d.entry.js → p-ea2b09ba.entry.js} +1 -1
- package/dist/calcite/{p-f7572da7.entry.js → p-ebd8eef3.entry.js} +1 -1
- package/dist/calcite/p-ec2d6c5f.system.entry.js +5 -0
- package/dist/calcite/{p-f26cad61.system.entry.js → p-ef779e80.system.entry.js} +1 -1
- package/dist/calcite/{p-243985d8.system.entry.js → p-f2508455.system.entry.js} +1 -1
- package/dist/calcite/{p-146d8510.entry.js → p-f45eae85.entry.js} +1 -1
- package/dist/calcite/{p-2e29554c.js → p-fb3f5251.js} +1 -1
- package/dist/calcite/{p-14e47d1b.js → p-fbf74b6d.js} +1 -1
- package/dist/calcite/{p-f763b1e7.system.entry.js → p-fc04e52b.system.entry.js} +1 -1
- package/dist/calcite/p-fc2f135e.system.entry.js +5 -0
- package/dist/calcite/{p-54bb21f5.system.entry.js → p-fe28891b.system.entry.js} +1 -1
- package/dist/calcite/{p-f24ddc56.system.entry.js → p-feacdfdf.system.entry.js} +1 -1
- package/dist/cjs/{CalciteExpandToggle-d24fed0e.js → CalciteExpandToggle-f1e05027.js} +1 -1
- package/dist/cjs/{CalciteHeading-112c19f9.js → CalciteHeading-d797719f.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -4
- package/dist/cjs/calcite-action-bar.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +3 -6
- package/dist/cjs/calcite-action-pad.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +6 -8
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-card.cjs.entry.js +2 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +5 -5
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-fab.cjs.entry.js +1 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow.cjs.entry.js +1 -1
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -6
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +39 -14
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-message.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input.cjs.entry.js +13 -18
- package/dist/cjs/calcite-label.cjs.entry.js +5 -2
- package/dist/cjs/calcite-link.cjs.entry.js +1 -1
- package/dist/cjs/calcite-list_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -9
- package/dist/cjs/calcite-option_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +1 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +21 -5
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +4 -4
- package/dist/cjs/calcite-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +14 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -6
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +3 -3
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +9 -6
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +1 -1
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tab_4.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_2.cjs.entry.js +17 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-92505fba.js → conditionalSlot-20745612.js} +1 -1
- package/dist/cjs/{form-237cf392.js → form-55a71663.js} +1 -1
- package/dist/cjs/{index-6b5d2de5.js → index-8b0d388b.js} +0 -5
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{resources-11763017.js → resources-6af71952.js} +4 -1
- package/dist/cjs/{resources-95073e41.js → resources-f6847c67.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -0
- package/dist/collection/components/alert/interfaces.js +7 -0
- package/dist/collection/components/block-section/interfaces.js +1 -0
- package/dist/collection/components/button/interfaces.js +1 -0
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +5 -5
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +5 -1
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +2 -16
- package/dist/collection/components/calcite-action/calcite-action.css +3 -1
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +1 -4
- package/dist/collection/components/calcite-alert/calcite-alert.css +1 -0
- package/dist/collection/components/calcite-alert/calcite-alert.js +8 -7
- package/dist/collection/components/calcite-block/calcite-block.css +1 -0
- package/dist/collection/components/calcite-chip/calcite-chip.css +1 -0
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +1 -0
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +1 -1
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-BR.json +31 -0
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/pt-PT.json +3 -3
- package/dist/collection/components/calcite-date-picker/utils.js +3 -0
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +1 -0
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +1 -0
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +1 -0
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +2 -2
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/clipboard32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/folders32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiative32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/initiativeTemplate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/multipleVariables32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/paletteCheck32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/pentagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/puzzlePiece32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ribbonRosette32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/speechBubbleExclamation32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/survey32.json +1 -0
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +39 -14
- package/dist/collection/components/calcite-input/calcite-input.js +12 -17
- package/dist/collection/components/calcite-label/calcite-label.js +8 -2
- package/dist/collection/components/calcite-modal/calcite-modal.js +1 -1
- package/dist/collection/components/calcite-notice/calcite-notice.css +1 -0
- package/dist/collection/components/calcite-notice/calcite-notice.js +4 -6
- package/dist/collection/components/calcite-panel/calcite-panel.css +1 -0
- package/dist/collection/components/calcite-panel/calcite-panel.js +41 -5
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +0 -4
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.js +13 -0
- package/dist/collection/components/calcite-rating/calcite-rating.css +1 -0
- package/dist/collection/components/calcite-shell/calcite-shell.js +9 -7
- package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
- package/dist/collection/components/calcite-slider/calcite-slider.js +7 -3
- package/dist/collection/components/calcite-switch/calcite-switch.css +5 -0
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +1 -0
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +1 -1
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +4 -4
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +5 -0
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +16 -7
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +1 -0
- package/dist/collection/components/chip/interfaces.js +1 -0
- package/dist/collection/components/color-picker/interfaces.js +1 -0
- package/dist/collection/components/color-picker/utils.js +107 -0
- package/dist/collection/components/combobox/interfaces.js +1 -0
- package/dist/collection/components/date-picker/interfaces.js +1 -0
- package/dist/collection/components/date-picker/utils.js +53 -0
- package/dist/collection/components/dropdown/interfaces.js +1 -0
- package/dist/collection/components/dropdown-group/interfaces.js +1 -0
- package/dist/collection/components/functional/Heading.js +9 -0
- package/dist/collection/components/graph/interfaces.js +1 -0
- package/dist/collection/components/input/interfaces.js +1 -0
- package/dist/collection/components/modal/interfaces.js +1 -0
- package/dist/collection/components/pagination/pagination.js +201 -0
- package/dist/collection/components/pagination/resources.js +14 -0
- package/dist/collection/components/pick-list/pick-list.js +192 -0
- package/dist/collection/components/pick-list/resources.js +15 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +269 -0
- package/dist/collection/components/pick-list/shared-list-render.js +25 -0
- package/dist/collection/components/radio-group/interfaces.js +1 -0
- package/dist/collection/components/tab/interfaces.js +1 -0
- package/dist/collection/components/tabs/interfaces.js +1 -0
- package/dist/collection/components/tile-select/interfaces.js +1 -0
- package/dist/collection/components/tile-select-group/interfaces.js +1 -0
- package/dist/collection/components/tree/interfaces.js +8 -0
- package/dist/collection/components/tree-item/interfaces.js +1 -0
- package/dist/collection/components/value-list/resources.js +11 -0
- package/dist/collection/components/value-list/value-list.js +266 -0
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +5 -2
- package/dist/components/calcite-action-menu2.js +1 -4
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +6 -8
- package/dist/components/calcite-block.js +1 -1
- package/dist/components/calcite-chip2.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day2.js +1 -1
- package/dist/components/calcite-date-picker-month-header2.js +1 -1
- package/dist/components/calcite-date-picker2.js +3 -0
- package/dist/components/calcite-dropdown2.js +3 -3
- package/dist/components/calcite-inline-editable.js +39 -14
- package/dist/components/calcite-input2.js +12 -17
- package/dist/components/calcite-label2.js +4 -1
- package/dist/components/calcite-modal.js +1 -1
- package/dist/components/calcite-notice.js +5 -7
- package/dist/components/calcite-panel.js +20 -3
- package/dist/components/calcite-radio-button-group.js +13 -0
- package/dist/components/calcite-radio-button.js +0 -4
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-shell.js +7 -4
- package/dist/components/calcite-slider.js +8 -4
- package/dist/components/calcite-switch2.js +1 -1
- package/dist/components/calcite-tab-nav2.js +1 -1
- package/dist/components/calcite-time-picker2.js +1 -1
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +15 -8
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/custom-elements/index.js +148 -90
- package/dist/esm/{CalciteExpandToggle-cff030be.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
- package/dist/esm/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -4
- package/dist/esm/calcite-action-bar.entry.js +3 -3
- package/dist/esm/calcite-action-group.entry.js +2 -2
- package/dist/esm/calcite-action-menu.entry.js +3 -6
- package/dist/esm/calcite-action-pad.entry.js +3 -3
- package/dist/esm/calcite-action.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +7 -9
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block_2.entry.js +4 -4
- package/dist/esm/calcite-button.entry.js +1 -1
- package/dist/esm/calcite-card.entry.js +2 -2
- package/dist/esm/calcite-checkbox.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +3 -3
- package/dist/esm/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm/calcite-combobox_3.entry.js +4 -4
- package/dist/esm/calcite-date-picker_4.entry.js +5 -5
- package/dist/esm/calcite-dropdown_3.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter.entry.js +1 -1
- package/dist/esm/calcite-flow.entry.js +1 -1
- package/dist/esm/calcite-graph_2.entry.js +10 -6
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +40 -15
- package/dist/esm/calcite-input-date-picker.entry.js +3 -3
- package/dist/esm/calcite-input-message.entry.js +1 -1
- package/dist/esm/calcite-input-time-picker_2.entry.js +3 -3
- package/dist/esm/calcite-input.entry.js +14 -19
- package/dist/esm/calcite-label.entry.js +5 -2
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-list_3.entry.js +3 -3
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +3 -3
- package/dist/esm/calcite-notice.entry.js +7 -9
- package/dist/esm/calcite-option_3.entry.js +2 -2
- package/dist/esm/calcite-pagination.entry.js +1 -1
- package/dist/esm/calcite-panel.entry.js +21 -5
- package/dist/esm/calcite-pick-list_3.entry.js +4 -4
- package/dist/esm/calcite-popover_2.entry.js +2 -2
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +14 -1
- package/dist/esm/calcite-radio-button.entry.js +2 -6
- package/dist/esm/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm/calcite-rating.entry.js +3 -3
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +9 -6
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +1 -1
- package/dist/esm/calcite-stepper_2.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-tab_4.entry.js +2 -2
- package/dist/esm/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-tip_3.entry.js +3 -3
- package/dist/esm/calcite-tooltip_2.entry.js +3 -3
- package/dist/esm/calcite-tree_2.entry.js +17 -10
- package/dist/esm/calcite-value-list_2.entry.js +4 -4
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-9e7d8609.js → conditionalSlot-0e575a09.js} +1 -1
- package/dist/esm/{form-f90706b4.js → form-42bda668.js} +1 -1
- package/dist/esm/{index-9de00868.js → index-c4b90cce.js} +0 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{resources-95c5e8a6.js → resources-3c05dd64.js} +1 -1
- package/dist/esm/{resources-c768953c.js → resources-704f6b2d.js} +4 -1
- package/dist/esm-es5/{CalciteExpandToggle-cff030be.js → CalciteExpandToggle-3ebdb3a6.js} +1 -1
- package/dist/esm-es5/{CalciteHeading-1d6cd311.js → CalciteHeading-fa0da825.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-alert.entry.js +1 -1
- package/dist/esm-es5/calcite-avatar.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-chip.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-flow.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-handle.entry.js +1 -1
- package/dist/esm-es5/calcite-icon.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-message.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +1 -1
- package/dist/esm-es5/calcite-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +1 -1
- package/dist/esm-es5/calcite-notice.entry.js +1 -1
- package/dist/esm-es5/calcite-option_3.entry.js +1 -1
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-tip_3.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/{conditionalSlot-9e7d8609.js → conditionalSlot-0e575a09.js} +1 -1
- package/dist/esm-es5/{form-f90706b4.js → form-42bda668.js} +1 -1
- package/dist/esm-es5/{index-9de00868.js → index-c4b90cce.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{resources-95c5e8a6.js → resources-3c05dd64.js} +1 -1
- package/dist/esm-es5/resources-704f6b2d.js +5 -0
- package/dist/extras/docs-json.json +22 -5
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +0 -3
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +3 -1
- package/dist/types/components/calcite-input/calcite-input.d.ts +1 -4
- package/dist/types/components/calcite-label/calcite-label.d.ts +4 -1
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +0 -3
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +12 -0
- package/dist/types/components/calcite-radio-button-group/calcite-radio-button-group.d.ts +2 -0
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +1 -0
- package/dist/types/components/calcite-tooltip/calcite-tooltip.d.ts +2 -2
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +2 -0
- package/dist/types/components.d.ts +10 -4
- package/hydrate/index.js +164 -94
- package/package.json +22 -18
- package/readme.md +2 -6
- package/dist/calcite/p-06fbc0f2.system.entry.js +0 -5
- package/dist/calcite/p-08be120f.entry.js +0 -5
- package/dist/calcite/p-0b552c00.system.entry.js +0 -5
- package/dist/calcite/p-14ca5cdf.system.entry.js +0 -5
- package/dist/calcite/p-20e3fc50.entry.js +0 -5
- package/dist/calcite/p-288bc438.system.js +0 -5
- package/dist/calcite/p-32d61433.system.entry.js +0 -5
- package/dist/calcite/p-39d4d1b1.system.entry.js +0 -5
- package/dist/calcite/p-500300b5.entry.js +0 -5
- package/dist/calcite/p-5f5bfaa5.entry.js +0 -5
- package/dist/calcite/p-647d22ef.js +0 -5
- package/dist/calcite/p-64a5e88c.entry.js +0 -5
- package/dist/calcite/p-6969dabb.entry.js +0 -5
- package/dist/calcite/p-7165e37e.entry.js +0 -5
- package/dist/calcite/p-78725919.entry.js +0 -5
- package/dist/calcite/p-7a6c932d.system.entry.js +0 -5
- package/dist/calcite/p-8340b572.js +0 -5
- package/dist/calcite/p-8ba8a357.system.js +0 -5
- package/dist/calcite/p-8e4aa7f7.entry.js +0 -5
- package/dist/calcite/p-9716c57c.entry.js +0 -5
- package/dist/calcite/p-97375cc0.entry.js +0 -5
- package/dist/calcite/p-99422223.system.entry.js +0 -5
- package/dist/calcite/p-99d32fc3.system.js +0 -5
- package/dist/calcite/p-9f49c4fe.system.entry.js +0 -5
- package/dist/calcite/p-a50e52f1.entry.js +0 -5
- package/dist/calcite/p-ab14b0a2.system.js +0 -5
- package/dist/calcite/p-abe7730b.entry.js +0 -5
- package/dist/calcite/p-b9a47a94.system.entry.js +0 -5
- package/dist/calcite/p-b9adf89d.system.entry.js +0 -5
- package/dist/calcite/p-bd576ae0.system.entry.js +0 -5
- package/dist/calcite/p-c5b3d90c.entry.js +0 -5
- package/dist/calcite/p-c6cb0aa2.entry.js +0 -5
- package/dist/calcite/p-cd9d106b.system.entry.js +0 -5
- package/dist/calcite/p-dba7c714.system.entry.js +0 -5
- package/dist/calcite/p-e5c2a6eb.entry.js +0 -5
- package/dist/calcite/p-e63f0806.entry.js +0 -5
- package/dist/calcite/p-e8e0f3b7.js +0 -5
- package/dist/calcite/p-ea510477.js +0 -5
- package/dist/calcite/p-ee14736a.entry.js +0 -5
- package/dist/calcite/p-f12c35de.system.entry.js +0 -5
- package/dist/calcite/p-fbd68dbf.system.entry.js +0 -5
- package/dist/calcite/p-ff04cfb1.system.entry.js +0 -5
- package/dist/esm-es5/resources-c768953c.js +0 -5
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
height: 0.125rem;
|
|
124
124
|
background-color: var(--calcite-ui-brand);
|
|
125
125
|
transition-property: all;
|
|
126
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
126
127
|
transition-duration: 150ms;
|
|
127
128
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
128
129
|
}
|
|
@@ -524,7 +524,7 @@ export class CalciteTimePicker {
|
|
|
524
524
|
[CSS.showMeridiem]: showMeridiem,
|
|
525
525
|
[CSS.showSecond]: this.showSecond,
|
|
526
526
|
[CSS[`scale-${this.scale}`]]: true
|
|
527
|
-
} },
|
|
527
|
+
}, dir: "ltr" },
|
|
528
528
|
h("div", { class: CSS.column, role: "group" },
|
|
529
529
|
h("span", { "aria-label": this.intlHourUp, class: {
|
|
530
530
|
[CSS.button]: true,
|
|
@@ -13,12 +13,12 @@ import { queryElementRoots } from "../../utils/dom";
|
|
|
13
13
|
export class CalciteTooltip {
|
|
14
14
|
constructor() {
|
|
15
15
|
/**
|
|
16
|
-
* Offset the position of the
|
|
16
|
+
* Offset the position of the tooltip away from the reference element.
|
|
17
17
|
* @default 6
|
|
18
18
|
*/
|
|
19
19
|
this.offsetDistance = defaultOffsetDistance;
|
|
20
20
|
/**
|
|
21
|
-
* Offset the position of the
|
|
21
|
+
* Offset the position of the tooltip along the reference element.
|
|
22
22
|
*/
|
|
23
23
|
this.offsetSkidding = 0;
|
|
24
24
|
/**
|
|
@@ -227,7 +227,7 @@ export class CalciteTooltip {
|
|
|
227
227
|
"name": "default",
|
|
228
228
|
"text": "6"
|
|
229
229
|
}],
|
|
230
|
-
"text": "Offset the position of the
|
|
230
|
+
"text": "Offset the position of the tooltip away from the reference element."
|
|
231
231
|
},
|
|
232
232
|
"attribute": "offset-distance",
|
|
233
233
|
"reflect": true,
|
|
@@ -245,7 +245,7 @@ export class CalciteTooltip {
|
|
|
245
245
|
"optional": false,
|
|
246
246
|
"docs": {
|
|
247
247
|
"tags": [],
|
|
248
|
-
"text": "Offset the position of the
|
|
248
|
+
"text": "Offset the position of the tooltip along the reference element."
|
|
249
249
|
},
|
|
250
250
|
"attribute": "offset-skidding",
|
|
251
251
|
"reflect": true,
|
|
@@ -133,6 +133,11 @@
|
|
|
133
133
|
position: absolute;
|
|
134
134
|
top: 0px;
|
|
135
135
|
width: 1px;
|
|
136
|
+
transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
|
|
137
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
138
|
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
|
|
139
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
140
|
+
transition-duration: 150ms;
|
|
136
141
|
transition-property: all;
|
|
137
142
|
transition-duration: var(--calcite-animation-timing);
|
|
138
143
|
transition-timing-function: ease-in-out;
|
|
@@ -34,7 +34,7 @@ export class CalciteTreeItem {
|
|
|
34
34
|
this.expanded = !this.expanded;
|
|
35
35
|
if (this.selectionMode !== TreeSelectionMode.Ancestors) {
|
|
36
36
|
this.calciteTreeItemSelect.emit({
|
|
37
|
-
modifyCurrentSelection:
|
|
37
|
+
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
38
38
|
forceToggle: true
|
|
39
39
|
});
|
|
40
40
|
}
|
|
@@ -68,6 +68,11 @@ export class CalciteTreeItem {
|
|
|
68
68
|
expandedHandler(newValue) {
|
|
69
69
|
this.updateParentIsExpanded(this.el, newValue);
|
|
70
70
|
}
|
|
71
|
+
getselectionMode() {
|
|
72
|
+
this.isSelectionMultiLike =
|
|
73
|
+
this.selectionMode === TreeSelectionMode.Multi ||
|
|
74
|
+
this.selectionMode === TreeSelectionMode.MultiChildren;
|
|
75
|
+
}
|
|
71
76
|
//--------------------------------------------------------------------------
|
|
72
77
|
//
|
|
73
78
|
// Lifecycle
|
|
@@ -119,9 +124,10 @@ export class CalciteTreeItem {
|
|
|
119
124
|
[CSS.chevron]: true,
|
|
120
125
|
[CSS_UTILITY.rtl]: rtl
|
|
121
126
|
}, "data-test-id": "icon", icon: ICONS.chevronRight, onClick: this.iconClickHandler, scale: "s" })) : null;
|
|
122
|
-
const
|
|
127
|
+
const defaultSlotNode = h("slot", { key: "default-slot" });
|
|
128
|
+
const checkbox = this.selectionMode === TreeSelectionMode.Ancestors ? (h("label", { class: CSS.checkboxLabel, key: "checkbox-label" },
|
|
123
129
|
h("calcite-checkbox", { checked: this.selected, class: CSS.checkbox, "data-test-id": "checkbox", indeterminate: this.hasChildren && this.indeterminate, scale: this.scale, tabIndex: -1 }),
|
|
124
|
-
|
|
130
|
+
defaultSlotNode)) : null;
|
|
125
131
|
const selectedIcon = showBulletPoint
|
|
126
132
|
? ICONS.bulletPoint
|
|
127
133
|
: showCheckmark
|
|
@@ -140,7 +146,7 @@ export class CalciteTreeItem {
|
|
|
140
146
|
}, "data-selection-mode": this.selectionMode, ref: (el) => (this.defaultSlotWrapper = el) },
|
|
141
147
|
chevron,
|
|
142
148
|
bulletOrCheckIcon,
|
|
143
|
-
checkbox ? checkbox :
|
|
149
|
+
checkbox ? checkbox : defaultSlotNode),
|
|
144
150
|
h("div", { class: {
|
|
145
151
|
[CSS.childrenContainer]: true,
|
|
146
152
|
[CSS_UTILITY.rtl]: rtl
|
|
@@ -161,7 +167,7 @@ export class CalciteTreeItem {
|
|
|
161
167
|
window.open(link.href, target);
|
|
162
168
|
}
|
|
163
169
|
this.calciteTreeItemSelect.emit({
|
|
164
|
-
modifyCurrentSelection:
|
|
170
|
+
modifyCurrentSelection: this.selectionMode === TreeSelectionMode.Ancestors || this.isSelectionMultiLike,
|
|
165
171
|
forceToggle: false
|
|
166
172
|
});
|
|
167
173
|
}
|
|
@@ -170,7 +176,7 @@ export class CalciteTreeItem {
|
|
|
170
176
|
switch (e.key) {
|
|
171
177
|
case " ":
|
|
172
178
|
this.calciteTreeItemSelect.emit({
|
|
173
|
-
modifyCurrentSelection:
|
|
179
|
+
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
174
180
|
forceToggle: false
|
|
175
181
|
});
|
|
176
182
|
e.preventDefault();
|
|
@@ -185,7 +191,7 @@ export class CalciteTreeItem {
|
|
|
185
191
|
}
|
|
186
192
|
else {
|
|
187
193
|
this.calciteTreeItemSelect.emit({
|
|
188
|
-
modifyCurrentSelection:
|
|
194
|
+
modifyCurrentSelection: this.isSelectionMultiLike,
|
|
189
195
|
forceToggle: false
|
|
190
196
|
});
|
|
191
197
|
}
|
|
@@ -504,6 +510,9 @@ export class CalciteTreeItem {
|
|
|
504
510
|
static get watchers() { return [{
|
|
505
511
|
"propName": "expanded",
|
|
506
512
|
"methodName": "expandedHandler"
|
|
513
|
+
}, {
|
|
514
|
+
"propName": "selectionMode",
|
|
515
|
+
"methodName": "getselectionMode"
|
|
507
516
|
}]; }
|
|
508
517
|
static get listeners() { return [{
|
|
509
518
|
"name": "click",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export function rgbToHex(color) {
|
|
2
|
+
const { r, g, b } = color;
|
|
3
|
+
return `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b
|
|
4
|
+
.toString(16)
|
|
5
|
+
.padStart(2, "0")}`.toLowerCase();
|
|
6
|
+
}
|
|
7
|
+
export const hexChar = /^[0-9A-F]$/i;
|
|
8
|
+
const shortHandHex = /^#[0-9A-F]{3}$/i;
|
|
9
|
+
const longhandHex = /^#[0-9A-F]{6}$/i;
|
|
10
|
+
export function isValidHex(hex) {
|
|
11
|
+
return isShorthandHex(hex) || isLonghandHex(hex);
|
|
12
|
+
}
|
|
13
|
+
export function isShorthandHex(hex) {
|
|
14
|
+
return hex && hex.length === 4 && shortHandHex.test(hex);
|
|
15
|
+
}
|
|
16
|
+
export function isLonghandHex(hex) {
|
|
17
|
+
return hex && hex.length === 7 && longhandHex.test(hex);
|
|
18
|
+
}
|
|
19
|
+
export function normalizeHex(hex) {
|
|
20
|
+
hex = hex.toLowerCase();
|
|
21
|
+
if (!hex.startsWith("#")) {
|
|
22
|
+
hex = `#${hex}`;
|
|
23
|
+
}
|
|
24
|
+
if (isShorthandHex(hex)) {
|
|
25
|
+
return rgbToHex(hexToRGB(hex));
|
|
26
|
+
}
|
|
27
|
+
return hex;
|
|
28
|
+
}
|
|
29
|
+
export function hexToRGB(hex) {
|
|
30
|
+
if (!isValidHex(hex)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
hex = hex.replace("#", "");
|
|
34
|
+
if (hex.length === 3) {
|
|
35
|
+
const [first, second, third] = hex.split("");
|
|
36
|
+
const r = parseInt(`${first}${first}`, 16);
|
|
37
|
+
const g = parseInt(`${second}${second}`, 16);
|
|
38
|
+
const b = parseInt(`${third}${third}`, 16);
|
|
39
|
+
return { r, g, b };
|
|
40
|
+
}
|
|
41
|
+
const r = parseInt(hex.slice(0, 2), 16);
|
|
42
|
+
const g = parseInt(hex.slice(2, 4), 16);
|
|
43
|
+
const b = parseInt(hex.slice(4, 6), 16);
|
|
44
|
+
return { r, g, b };
|
|
45
|
+
}
|
|
46
|
+
// these utils allow users to pass enum values as strings without having to access the enum
|
|
47
|
+
// based on the approach suggested by https://github.com/microsoft/TypeScript/issues/17690#issuecomment-321365759,
|
|
48
|
+
const enumify = (x) => x;
|
|
49
|
+
export const CSSColorMode = enumify({
|
|
50
|
+
HEX: "hex",
|
|
51
|
+
HEXA: "hexa",
|
|
52
|
+
RGB_CSS: "rgb-css",
|
|
53
|
+
RGBA_CSS: "rgba-css",
|
|
54
|
+
HSL_CSS: "hsl-css",
|
|
55
|
+
HSLA_CSS: "hsla-css"
|
|
56
|
+
});
|
|
57
|
+
export const ObjectColorMode = enumify({
|
|
58
|
+
RGB: "rgb",
|
|
59
|
+
RGBA: "rgba",
|
|
60
|
+
HSL: "hsl",
|
|
61
|
+
HSLA: "hsla",
|
|
62
|
+
HSV: "hsv",
|
|
63
|
+
HSVA: "hsva"
|
|
64
|
+
});
|
|
65
|
+
export function parseMode(colorValue) {
|
|
66
|
+
if (typeof colorValue === "string") {
|
|
67
|
+
if (colorValue.startsWith("#")) {
|
|
68
|
+
const { length } = colorValue;
|
|
69
|
+
if (length === 4 || length === 7) {
|
|
70
|
+
return CSSColorMode.HEX;
|
|
71
|
+
}
|
|
72
|
+
if (length === 5 || length === 9) {
|
|
73
|
+
return CSSColorMode.HEXA;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (colorValue.startsWith("rgba(")) {
|
|
77
|
+
return CSSColorMode.RGBA_CSS;
|
|
78
|
+
}
|
|
79
|
+
if (colorValue.startsWith("rgb(")) {
|
|
80
|
+
return CSSColorMode.RGB_CSS;
|
|
81
|
+
}
|
|
82
|
+
if (colorValue.startsWith("hsl(")) {
|
|
83
|
+
return CSSColorMode.HSL_CSS;
|
|
84
|
+
}
|
|
85
|
+
if (colorValue.startsWith("hsla(")) {
|
|
86
|
+
return CSSColorMode.HSLA_CSS;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (typeof colorValue === "object") {
|
|
90
|
+
if (hasChannels(colorValue, "r", "g", "b")) {
|
|
91
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.RGBA : ObjectColorMode.RGB;
|
|
92
|
+
}
|
|
93
|
+
if (hasChannels(colorValue, "h", "s", "l")) {
|
|
94
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.HSLA : ObjectColorMode.HSL;
|
|
95
|
+
}
|
|
96
|
+
if (hasChannels(colorValue, "h", "s", "v")) {
|
|
97
|
+
return hasChannels(colorValue, "a") ? ObjectColorMode.HSVA : ObjectColorMode.HSV;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return null;
|
|
101
|
+
}
|
|
102
|
+
function hasChannels(colorObject, ...channels) {
|
|
103
|
+
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
|
104
|
+
}
|
|
105
|
+
export function colorEqual(value1, value2) {
|
|
106
|
+
return (value1 === null || value1 === void 0 ? void 0 : value1.rgbNumber()) === (value2 === null || value2 === void 0 ? void 0 : value2.rgbNumber());
|
|
107
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { getAssetPath } from "@stencil/core";
|
|
2
|
+
import { locales } from "../../utils/locale";
|
|
3
|
+
/**
|
|
4
|
+
* Get supported locale code from raw user input
|
|
5
|
+
* Exported for testing purposes.
|
|
6
|
+
* @private
|
|
7
|
+
*/
|
|
8
|
+
function getSupportedLocale(lang = "") {
|
|
9
|
+
if (locales.indexOf(lang) > -1) {
|
|
10
|
+
return lang;
|
|
11
|
+
}
|
|
12
|
+
lang = lang.toLowerCase();
|
|
13
|
+
if (lang.includes("-")) {
|
|
14
|
+
lang = lang.replace(/(\w+)-(\w+)/, (_match, language, region) => `${language}-${region.toUpperCase()}`);
|
|
15
|
+
if (!locales.includes(lang)) {
|
|
16
|
+
lang = lang.split("-")[0];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return locales.includes(lang) ? lang : "en";
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* CLDR cache.
|
|
23
|
+
* Exported for testing purposes.
|
|
24
|
+
* @private
|
|
25
|
+
*/
|
|
26
|
+
export const translationCache = {};
|
|
27
|
+
/**
|
|
28
|
+
* CLDR request cache.
|
|
29
|
+
* Exported for testing purposes.
|
|
30
|
+
* @private
|
|
31
|
+
*/
|
|
32
|
+
export const requestCache = {};
|
|
33
|
+
/**
|
|
34
|
+
* Fetch calendar data for a given locale from list of supported languages
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export async function getLocaleData(lang) {
|
|
38
|
+
const locale = getSupportedLocale(lang);
|
|
39
|
+
if (translationCache[locale]) {
|
|
40
|
+
return translationCache[locale];
|
|
41
|
+
}
|
|
42
|
+
if (!requestCache[locale]) {
|
|
43
|
+
requestCache[locale] = fetch(getAssetPath(`./assets/date-picker/nls/${locale}.json`))
|
|
44
|
+
.then((resp) => resp.json())
|
|
45
|
+
.catch(() => {
|
|
46
|
+
console.error(`Translations for "${locale}" not found or invalid, falling back to english`);
|
|
47
|
+
return getLocaleData("en");
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
const data = await requestCache[locale];
|
|
51
|
+
translationCache[locale] = data;
|
|
52
|
+
return data;
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
export function constrainHeadingLevel(level) {
|
|
3
|
+
return Math.min(Math.max(Math.ceil(level), 1), 6);
|
|
4
|
+
}
|
|
5
|
+
export const Heading = (props, children) => {
|
|
6
|
+
const HeadingTag = `h${props.level}`;
|
|
7
|
+
delete props.level;
|
|
8
|
+
return h(HeadingTag, Object.assign({}, props), children);
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Element, Event, h, Prop, Method, Fragment } from "@stencil/core";
|
|
8
|
+
import { CSS, TEXT } from "./resources";
|
|
9
|
+
const maxPagesDisplayed = 5;
|
|
10
|
+
let Pagination = class Pagination {
|
|
11
|
+
constructor() {
|
|
12
|
+
//--------------------------------------------------------------------------
|
|
13
|
+
//
|
|
14
|
+
// Public Properties
|
|
15
|
+
//
|
|
16
|
+
//--------------------------------------------------------------------------
|
|
17
|
+
/** number of items per page */
|
|
18
|
+
this.num = 20;
|
|
19
|
+
/** index of item that should begin the page */
|
|
20
|
+
this.start = 1;
|
|
21
|
+
/** total number of items */
|
|
22
|
+
this.total = 0;
|
|
23
|
+
/** Used as an accessible label (aria-label) for the next button
|
|
24
|
+
* @default "Next"
|
|
25
|
+
*/
|
|
26
|
+
this.textLabelNext = TEXT.nextLabel;
|
|
27
|
+
/** Used as an accessible label (aria-label) of the previous button
|
|
28
|
+
* @default "Previous"
|
|
29
|
+
*/
|
|
30
|
+
this.textLabelPrevious = TEXT.previousLabel;
|
|
31
|
+
/** The scale of the pagination */
|
|
32
|
+
this.scale = "m";
|
|
33
|
+
this.previousClicked = () => {
|
|
34
|
+
this.previousPage().then();
|
|
35
|
+
this.emitUpdate();
|
|
36
|
+
};
|
|
37
|
+
this.nextClicked = () => {
|
|
38
|
+
this.nextPage();
|
|
39
|
+
this.emitUpdate();
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
// --------------------------------------------------------------------------
|
|
43
|
+
//
|
|
44
|
+
// Public Methods
|
|
45
|
+
//
|
|
46
|
+
// --------------------------------------------------------------------------
|
|
47
|
+
/** Go to the next page of results */
|
|
48
|
+
async nextPage() {
|
|
49
|
+
this.start = Math.min(this.getLastStart(), this.start + this.num);
|
|
50
|
+
}
|
|
51
|
+
/** Go to the previous page of results */
|
|
52
|
+
async previousPage() {
|
|
53
|
+
this.start = Math.max(1, this.start - this.num);
|
|
54
|
+
}
|
|
55
|
+
// --------------------------------------------------------------------------
|
|
56
|
+
//
|
|
57
|
+
// Private Methods
|
|
58
|
+
//
|
|
59
|
+
// --------------------------------------------------------------------------
|
|
60
|
+
getLastStart() {
|
|
61
|
+
const { total, num } = this;
|
|
62
|
+
const lastStart = total % num === 0 ? total - num : Math.floor(total / num) * num;
|
|
63
|
+
return lastStart + 1;
|
|
64
|
+
}
|
|
65
|
+
showLeftEllipsis() {
|
|
66
|
+
return Math.floor(this.start / this.num) > 3;
|
|
67
|
+
}
|
|
68
|
+
showRightEllipsis() {
|
|
69
|
+
return (this.total - this.start) / this.num > 3;
|
|
70
|
+
}
|
|
71
|
+
emitUpdate() {
|
|
72
|
+
const changePayload = {
|
|
73
|
+
start: this.start,
|
|
74
|
+
total: this.total,
|
|
75
|
+
num: this.num
|
|
76
|
+
};
|
|
77
|
+
this.calcitePaginationChange.emit(changePayload);
|
|
78
|
+
this.calcitePaginationUpdate.emit(changePayload);
|
|
79
|
+
}
|
|
80
|
+
//--------------------------------------------------------------------------
|
|
81
|
+
//
|
|
82
|
+
// Render Methods
|
|
83
|
+
//
|
|
84
|
+
//--------------------------------------------------------------------------
|
|
85
|
+
renderPages() {
|
|
86
|
+
const lastStart = this.getLastStart();
|
|
87
|
+
let end;
|
|
88
|
+
let nextStart;
|
|
89
|
+
// if we don't need ellipses render the whole set
|
|
90
|
+
if (this.total / this.num <= maxPagesDisplayed) {
|
|
91
|
+
nextStart = 1 + this.num;
|
|
92
|
+
end = lastStart - this.num;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
// if we're within max pages of page 1
|
|
96
|
+
if (this.start / this.num < maxPagesDisplayed - 1) {
|
|
97
|
+
nextStart = 1 + this.num;
|
|
98
|
+
end = 1 + 4 * this.num;
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
// if we're within max pages of last page
|
|
102
|
+
if (this.start + 3 * this.num >= this.total) {
|
|
103
|
+
nextStart = lastStart - 4 * this.num;
|
|
104
|
+
end = lastStart - this.num;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
nextStart = this.start - this.num;
|
|
108
|
+
end = this.start + this.num;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
const pages = [];
|
|
113
|
+
while (nextStart <= end) {
|
|
114
|
+
pages.push(nextStart);
|
|
115
|
+
nextStart = nextStart + this.num;
|
|
116
|
+
}
|
|
117
|
+
return pages.map((page) => this.renderPage(page));
|
|
118
|
+
}
|
|
119
|
+
renderPage(start) {
|
|
120
|
+
const page = Math.floor(start / this.num) + (this.num === 1 ? 0 : 1);
|
|
121
|
+
return (h("button", { class: {
|
|
122
|
+
[CSS.page]: true,
|
|
123
|
+
[CSS.selected]: start === this.start
|
|
124
|
+
}, onClick: () => {
|
|
125
|
+
this.start = start;
|
|
126
|
+
this.emitUpdate();
|
|
127
|
+
} }, page));
|
|
128
|
+
}
|
|
129
|
+
renderLeftEllipsis() {
|
|
130
|
+
if (this.total / this.num > maxPagesDisplayed && this.showLeftEllipsis()) {
|
|
131
|
+
return h("span", { class: `${CSS.ellipsis} ${CSS.ellipsisStart}` }, "\u2026");
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
renderRightEllipsis() {
|
|
135
|
+
if (this.total / this.num > maxPagesDisplayed && this.showRightEllipsis()) {
|
|
136
|
+
return h("span", { class: `${CSS.ellipsis} ${CSS.ellipsisEnd}` }, "\u2026");
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
render() {
|
|
140
|
+
const { total, num, start } = this;
|
|
141
|
+
const prevDisabled = num === 1 ? start <= num : start < num;
|
|
142
|
+
const nextDisabled = num === 1 ? start + num > total : start + num > total;
|
|
143
|
+
return (h(Fragment, null,
|
|
144
|
+
h("button", { "aria-label": this.textLabelPrevious, class: {
|
|
145
|
+
[CSS.previous]: true,
|
|
146
|
+
[CSS.disabled]: prevDisabled
|
|
147
|
+
}, disabled: prevDisabled, onClick: this.previousClicked },
|
|
148
|
+
h("calcite-icon", { flipRtl: true, icon: "chevronLeft", scale: "s" })),
|
|
149
|
+
total > num ? this.renderPage(1) : null,
|
|
150
|
+
this.renderLeftEllipsis(),
|
|
151
|
+
this.renderPages(),
|
|
152
|
+
this.renderRightEllipsis(),
|
|
153
|
+
this.renderPage(this.getLastStart()),
|
|
154
|
+
h("button", { "aria-label": this.textLabelNext, class: {
|
|
155
|
+
[CSS.next]: true,
|
|
156
|
+
[CSS.disabled]: nextDisabled
|
|
157
|
+
}, disabled: nextDisabled, onClick: this.nextClicked },
|
|
158
|
+
h("calcite-icon", { flipRtl: true, icon: "chevronRight", scale: "s" }))));
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
__decorate([
|
|
162
|
+
Prop()
|
|
163
|
+
], Pagination.prototype, "num", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
Prop({ mutable: true })
|
|
166
|
+
], Pagination.prototype, "start", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
Prop()
|
|
169
|
+
], Pagination.prototype, "total", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
Prop()
|
|
172
|
+
], Pagination.prototype, "textLabelNext", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
Prop()
|
|
175
|
+
], Pagination.prototype, "textLabelPrevious", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
Prop({ reflect: true })
|
|
178
|
+
], Pagination.prototype, "scale", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
Element()
|
|
181
|
+
], Pagination.prototype, "el", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
Event()
|
|
184
|
+
], Pagination.prototype, "calcitePaginationUpdate", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
Event()
|
|
187
|
+
], Pagination.prototype, "calcitePaginationChange", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
Method()
|
|
190
|
+
], Pagination.prototype, "nextPage", null);
|
|
191
|
+
__decorate([
|
|
192
|
+
Method()
|
|
193
|
+
], Pagination.prototype, "previousPage", null);
|
|
194
|
+
Pagination = __decorate([
|
|
195
|
+
Component({
|
|
196
|
+
tag: "calcite-pagination",
|
|
197
|
+
styleUrl: "pagination.scss",
|
|
198
|
+
shadow: true
|
|
199
|
+
})
|
|
200
|
+
], Pagination);
|
|
201
|
+
export { Pagination };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const CSS = {
|
|
2
|
+
page: "page",
|
|
3
|
+
selected: "is-selected",
|
|
4
|
+
previous: "previous",
|
|
5
|
+
next: "next",
|
|
6
|
+
disabled: "is-disabled",
|
|
7
|
+
ellipsis: "ellipsis",
|
|
8
|
+
ellipsisStart: "ellipsis--start",
|
|
9
|
+
ellipsisEnd: "ellipsis--end"
|
|
10
|
+
};
|
|
11
|
+
export const TEXT = {
|
|
12
|
+
nextLabel: "Next",
|
|
13
|
+
previousLabel: "Previous"
|
|
14
|
+
};
|