@esri/calcite-components 1.0.0-next.542 → 1.0.0-next.545
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/calcite.js +1 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/p-059b6315.js +6 -0
- package/dist/calcite/{p-fc725a19.js → p-06712b22.js} +2 -2
- package/dist/calcite/{p-8fee8f7a.system.entry.js → p-07f1ec4c.system.entry.js} +2 -2
- package/dist/calcite/{p-1cbd2a71.system.entry.js → p-08017521.system.entry.js} +2 -2
- package/dist/calcite/p-0933dd38.entry.js +6 -0
- package/dist/calcite/{p-af39014c.system.entry.js → p-09513558.system.entry.js} +2 -2
- package/dist/calcite/{p-5e012476.entry.js → p-0b7eff00.entry.js} +2 -2
- package/dist/calcite/{p-bc8eaea9.js → p-0dd3325b.js} +2 -2
- package/dist/calcite/p-0eed4434.entry.js +6 -0
- package/dist/calcite/{p-5c8b2cc3.system.entry.js → p-0fed34a3.system.entry.js} +2 -2
- package/dist/calcite/{p-4e7a1082.system.entry.js → p-10933bb8.system.entry.js} +2 -2
- package/dist/calcite/{p-2521ee60.js → p-10b5a7d3.js} +1 -1
- package/dist/calcite/{p-fbe1de96.system.js → p-125968db.system.js} +3 -3
- package/dist/calcite/{p-d8ec2511.system.js → p-14120933.system.js} +1 -1
- package/dist/calcite/{p-5ee51f4f.entry.js → p-165d407f.entry.js} +2 -2
- package/dist/calcite/{p-f110de0d.system.entry.js → p-171f79cd.system.entry.js} +2 -2
- package/dist/calcite/{p-de004d4e.entry.js → p-19acf1aa.entry.js} +2 -2
- package/dist/calcite/{p-2d347abb.entry.js → p-1ab61780.entry.js} +2 -2
- package/dist/calcite/{p-a2a18f76.system.js → p-1c3d9a00.system.js} +2 -2
- package/dist/calcite/{p-f28fdcb3.system.js → p-1d115ed6.system.js} +1 -1
- package/dist/calcite/{p-5ad7caf5.system.js → p-216924b5.system.js} +1 -1
- package/dist/calcite/{p-189bce24.system.js → p-26cef117.system.js} +2 -2
- package/dist/calcite/{p-b23c14af.system.js → p-28c957d6.system.js} +1 -1
- package/dist/calcite/{p-e27d6c80.system.entry.js → p-2a0cfe91.system.entry.js} +2 -2
- package/dist/calcite/p-2a2ed05c.system.js +6 -0
- package/dist/calcite/{p-c9107d4a.entry.js → p-2abc77ed.entry.js} +2 -2
- package/dist/calcite/{p-40c82da2.js → p-30a83253.js} +1 -1
- package/dist/calcite/{p-a294d8df.entry.js → p-33efb339.entry.js} +2 -2
- package/dist/calcite/{p-8d689884.entry.js → p-34e0d018.entry.js} +2 -2
- package/dist/calcite/{p-3b0c47bc.entry.js → p-366dc49f.entry.js} +2 -2
- package/dist/calcite/{p-ec3ceed7.entry.js → p-36bb89b0.entry.js} +2 -2
- package/dist/calcite/{p-9cb1f832.entry.js → p-382ef597.entry.js} +2 -2
- package/dist/calcite/{p-c5a58674.system.entry.js → p-39572acc.system.entry.js} +2 -2
- package/dist/calcite/{p-24a2748b.system.entry.js → p-3960c1a2.system.entry.js} +2 -2
- package/dist/calcite/p-3ca99921.entry.js +6 -0
- package/dist/calcite/{p-dafcd561.entry.js → p-3d0f9058.entry.js} +2 -2
- package/dist/calcite/{p-b72163c6.system.js → p-40f4db01.system.js} +2 -2
- package/dist/calcite/{p-4fa7f63f.system.entry.js → p-40fd0812.system.entry.js} +2 -2
- package/dist/calcite/{p-40c90605.system.entry.js → p-421b1041.system.entry.js} +2 -2
- package/dist/calcite/{p-cb82ce61.system.entry.js → p-426a08ee.system.entry.js} +2 -2
- package/dist/calcite/{p-ac93cf01.js → p-44aa00e2.js} +2 -2
- package/dist/calcite/{p-9266ec9b.system.entry.js → p-45381bd8.system.entry.js} +2 -2
- package/dist/calcite/{p-8398a46c.system.entry.js → p-46eb815c.system.entry.js} +2 -2
- package/dist/calcite/{p-3588ffbe.system.js → p-4754fd7f.system.js} +2 -2
- package/dist/calcite/{p-9f8cb5d7.entry.js → p-48ec1e5b.entry.js} +2 -2
- package/dist/calcite/{p-c02ea785.system.entry.js → p-49c3daaa.system.entry.js} +2 -2
- package/dist/calcite/{p-d3c8c6dc.system.entry.js → p-49dc69ef.system.entry.js} +2 -2
- package/dist/calcite/{p-a97db22f.system.entry.js → p-4a508f15.system.entry.js} +2 -2
- package/dist/calcite/{p-730feaac.entry.js → p-4b6e7d5f.entry.js} +2 -2
- package/dist/calcite/{p-5a344e51.system.entry.js → p-4c03898a.system.entry.js} +2 -2
- package/dist/calcite/{p-c897d290.entry.js → p-4c06220c.entry.js} +2 -2
- package/dist/calcite/{p-feff7d3d.system.entry.js → p-4c423666.system.entry.js} +2 -2
- package/dist/calcite/{p-401bedfa.js → p-4f706cb7.js} +2 -2
- package/dist/calcite/{p-31fe85bd.entry.js → p-50aa2d9a.entry.js} +2 -2
- package/dist/calcite/{p-859c4bf2.js → p-51528f35.js} +2 -2
- package/dist/calcite/{p-02fa48b4.system.entry.js → p-51c4745a.system.entry.js} +2 -2
- package/dist/calcite/{p-736d91b4.system.entry.js → p-5502ed77.system.entry.js} +2 -2
- package/dist/calcite/{p-94f64d43.js → p-55b60020.js} +1 -1
- package/dist/calcite/{p-ef6cd7f0.system.js → p-57921e33.system.js} +1 -1
- package/dist/calcite/{p-758210a6.system.js → p-5cc19e1c.system.js} +2 -2
- package/dist/calcite/{p-215da5cf.js → p-5d4755cf.js} +1 -1
- package/dist/calcite/{p-199c0634.entry.js → p-61a7329d.entry.js} +2 -2
- package/dist/calcite/{p-c8202b3b.system.entry.js → p-6585703d.system.entry.js} +2 -2
- package/dist/calcite/{p-56921684.entry.js → p-66604bf0.entry.js} +2 -2
- package/dist/calcite/{p-860148e4.entry.js → p-686faef5.entry.js} +2 -2
- package/dist/calcite/{p-1abed29e.entry.js → p-68b68cb1.entry.js} +2 -2
- package/dist/calcite/{p-8ba16744.js → p-6a8dca5c.js} +2 -2
- package/dist/calcite/{p-7c6f09b0.js → p-6d99324d.js} +1 -1
- package/dist/calcite/{p-65812c3e.system.entry.js → p-77cd5ae7.system.entry.js} +2 -2
- package/dist/calcite/{p-4f0552b6.system.js → p-77db2b28.system.js} +1 -1
- package/dist/calcite/{p-c9043cd0.entry.js → p-7835d9c6.entry.js} +2 -2
- package/dist/calcite/{p-12aa3439.system.entry.js → p-7839585a.system.entry.js} +3 -3
- package/dist/calcite/{p-9b04ae0e.system.js → p-783fcd16.system.js} +2 -2
- package/dist/calcite/{p-79a3cacb.system.entry.js → p-79fb832a.system.entry.js} +2 -2
- package/dist/calcite/{p-458a86d1.js → p-7d1f33a7.js} +1 -1
- package/dist/calcite/{p-45063908.entry.js → p-8109972f.entry.js} +2 -2
- package/dist/calcite/{p-5077ef95.entry.js → p-811c0946.entry.js} +2 -2
- package/dist/calcite/{p-aa02195d.entry.js → p-82fd4d63.entry.js} +2 -2
- package/dist/calcite/{p-583eeef8.system.entry.js → p-831bee4b.system.entry.js} +2 -2
- package/dist/calcite/{p-6050b07b.entry.js → p-836f2267.entry.js} +2 -2
- package/dist/calcite/{p-c32857bf.js → p-865547b6.js} +1 -1
- package/dist/calcite/{p-a0e22b40.system.entry.js → p-8678ac36.system.entry.js} +2 -2
- package/dist/calcite/{p-c97a46c9.js → p-867ea31c.js} +1 -1
- package/dist/calcite/{p-4c700a95.system.js → p-86a3be16.system.js} +1 -1
- package/dist/calcite/{p-c016f99b.system.entry.js → p-891bd723.system.entry.js} +2 -2
- package/dist/calcite/{p-091fe715.entry.js → p-8b0ed7a6.entry.js} +2 -2
- package/dist/calcite/{p-8649e3d5.entry.js → p-8bb47f2c.entry.js} +2 -2
- package/dist/calcite/{p-f4e50797.entry.js → p-8d4b4dca.entry.js} +2 -2
- package/dist/calcite/p-8e89c5ca.entry.js +6 -0
- package/dist/calcite/{p-a5e6bf31.system.entry.js → p-8fdb3372.system.entry.js} +2 -2
- package/dist/calcite/{p-35685e7d.entry.js → p-9078536b.entry.js} +2 -2
- package/dist/calcite/{p-be051242.js → p-91a63409.js} +1 -1
- package/dist/calcite/{p-522bb3a2.system.js → p-91cf193c.system.js} +1 -1
- package/dist/calcite/{p-66f5f144.entry.js → p-92871457.entry.js} +2 -2
- package/dist/calcite/p-92e60516.js +6 -0
- package/dist/calcite/{p-a3a14046.entry.js → p-96887b19.entry.js} +2 -2
- package/dist/calcite/{p-c093ffb7.system.entry.js → p-97399359.system.entry.js} +2 -2
- package/dist/calcite/{p-904d181a.system.entry.js → p-9bad1791.system.entry.js} +2 -2
- package/dist/calcite/{p-45ba3887.entry.js → p-9c2366ae.entry.js} +2 -2
- package/dist/calcite/{p-fd2de516.entry.js → p-9e5fa3ce.entry.js} +2 -2
- package/dist/calcite/{p-5347695b.entry.js → p-a11cc161.entry.js} +2 -2
- package/dist/calcite/p-a18a4874.system.js +6 -0
- package/dist/calcite/{p-943370c3.system.entry.js → p-a2f31213.system.entry.js} +2 -2
- package/dist/calcite/{p-6569dac7.system.js → p-a5617c0b.system.js} +1 -1
- package/dist/calcite/{p-bab230dd.system.entry.js → p-a597179f.system.entry.js} +2 -2
- package/dist/calcite/{p-cb42018a.system.entry.js → p-a60da399.system.entry.js} +2 -2
- package/dist/calcite/{p-fef333e6.system.entry.js → p-a7cd6e07.system.entry.js} +2 -2
- package/dist/calcite/{p-8568e804.entry.js → p-a84c51e4.entry.js} +2 -2
- package/dist/calcite/{p-36f1e854.entry.js → p-a8eded9b.entry.js} +2 -2
- package/dist/calcite/{p-83186e54.system.entry.js → p-aa2304a9.system.entry.js} +2 -2
- package/dist/calcite/{p-66745ea6.js → p-abddf259.js} +2 -2
- package/dist/calcite/{p-20cdb742.entry.js → p-adf03aa5.entry.js} +2 -2
- package/dist/calcite/{p-701ef8ed.entry.js → p-af77d6d8.entry.js} +2 -2
- package/dist/calcite/{p-d821b90c.js → p-af8e7771.js} +1 -1
- package/dist/calcite/{p-eb16be11.system.entry.js → p-b080d795.system.entry.js} +2 -2
- package/dist/calcite/{p-f54d9f01.entry.js → p-b1ef2c4c.entry.js} +2 -2
- package/dist/calcite/{p-e9132aee.system.js → p-b2dcf840.system.js} +1 -1
- package/dist/calcite/{p-150cb93c.system.entry.js → p-b9204866.system.entry.js} +2 -2
- package/dist/calcite/{p-61bdaa7c.system.entry.js → p-bb1ffcd5.system.entry.js} +2 -2
- package/dist/calcite/{p-7db0f912.system.entry.js → p-bd91b3e2.system.entry.js} +2 -2
- package/dist/calcite/{p-06ce076c.system.entry.js → p-bfa9422b.system.entry.js} +2 -2
- package/dist/calcite/{p-29bdb405.system.entry.js → p-c1f5e0e3.system.entry.js} +3 -3
- package/dist/calcite/{p-eb97e9a1.entry.js → p-c3be24b2.entry.js} +2 -2
- package/dist/calcite/{p-2aeb0cac.entry.js → p-c45913f4.entry.js} +2 -2
- package/dist/calcite/{p-f8258c51.system.js → p-c87b0281.system.js} +2 -2
- package/dist/calcite/{p-7844752c.js → p-c9b4869d.js} +1 -1
- package/dist/calcite/{p-a2dd0fec.system.entry.js → p-c9bcd72e.system.entry.js} +2 -2
- package/dist/calcite/p-cd5d0f01.system.entry.js +6 -0
- package/dist/calcite/{p-b3d0ad42.system.entry.js → p-cea09e89.system.entry.js} +2 -2
- package/dist/calcite/{p-775d79a5.js → p-cf15be2d.js} +1 -1
- package/dist/calcite/{p-ee24136f.system.entry.js → p-cf35f23d.system.entry.js} +3 -3
- package/dist/calcite/{p-f2f57aef.entry.js → p-cff58306.entry.js} +2 -2
- package/dist/calcite/{p-c8d1c71b.system.entry.js → p-d0e461cc.system.entry.js} +2 -2
- package/dist/calcite/{p-7e7e1755.entry.js → p-d1474b1a.entry.js} +2 -2
- package/dist/calcite/{p-604f9928.system.entry.js → p-d1a98bc1.system.entry.js} +2 -2
- package/dist/calcite/{p-809cf38f.entry.js → p-d26be0a8.entry.js} +2 -2
- package/dist/calcite/{p-2a8f5795.system.js → p-d5d6b4f2.system.js} +2 -2
- package/dist/calcite/{p-0ec1c7e5.entry.js → p-d687626a.entry.js} +2 -2
- package/dist/calcite/{p-856abd76.system.entry.js → p-d74b6640.system.entry.js} +2 -2
- package/dist/calcite/{p-33c316e8.system.entry.js → p-d787ef6f.system.entry.js} +2 -2
- package/dist/calcite/{p-5853bffc.entry.js → p-db787990.entry.js} +2 -2
- package/dist/calcite/{p-510a0d8b.entry.js → p-dbe31568.entry.js} +2 -2
- package/dist/calcite/{p-50262cab.system.js → p-ddc68710.system.js} +1 -1
- package/dist/calcite/{p-0031e235.entry.js → p-ddea9f57.entry.js} +2 -2
- package/dist/calcite/{p-406cd4ce.system.entry.js → p-dec72229.system.entry.js} +2 -2
- package/dist/calcite/{p-a3d896a0.entry.js → p-e0f4fa7a.entry.js} +2 -2
- package/dist/calcite/{p-15f4d3b3.system.js → p-e29707d8.system.js} +1 -1
- package/dist/calcite/{p-c6dd6658.system.js → p-e2ff7289.system.js} +2 -2
- package/dist/calcite/{p-9153a2f4.entry.js → p-ebb01425.entry.js} +2 -2
- package/dist/calcite/{p-4484bef3.system.entry.js → p-ef00f12b.system.entry.js} +3 -3
- package/dist/calcite/{p-c3591d7d.system.entry.js → p-f0828b38.system.entry.js} +2 -2
- package/dist/calcite/{p-a8c8ec3f.system.entry.js → p-f15c2e86.system.entry.js} +2 -2
- package/dist/calcite/{p-3b255a95.system.js → p-f381813f.system.js} +1 -1
- package/dist/calcite/p-f5882583.entry.js +6 -0
- package/dist/calcite/{p-5b97ac7d.js → p-f73ac0d1.js} +1 -1
- package/dist/calcite/{p-817c2aa2.entry.js → p-f864e8da.entry.js} +2 -2
- package/dist/calcite/{p-0e449ec8.system.entry.js → p-f89e2c44.system.entry.js} +2 -2
- package/dist/calcite/{p-25b802a6.system.entry.js → p-f9ea2e8c.system.entry.js} +2 -2
- package/dist/calcite/{p-efc43338.js → p-fac07d53.js} +2 -2
- package/dist/calcite/{p-57af6607.entry.js → p-fadc93cf.entry.js} +2 -2
- package/dist/calcite/{p-bab0fbb4.system.js → p-fc15b223.system.js} +1 -1
- package/dist/calcite/{p-aca964df.js → p-fca44ef4.js} +2 -2
- package/dist/calcite/{p-7ba87ba4.entry.js → p-fcc86332.entry.js} +2 -2
- package/dist/calcite/{p-3f28cc07.system.entry.js → p-fd17bea9.system.entry.js} +3 -3
- package/dist/calcite/{p-3c409895.entry.js → p-fe79b4f5.entry.js} +2 -2
- package/dist/calcite/{p-97c1ff00.system.entry.js → p-ff369cc9.system.entry.js} +2 -2
- package/dist/calcite/p-ff782b2c.system.entry.js +6 -0
- package/dist/calcite/{p-90d10753.entry.js → p-ffa9e0fb.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-71fc68a4.js → ExpandToggle-bb606091.js} +5 -5
- package/dist/cjs/{Heading-e30d85e7.js → Heading-0f2e7118.js} +2 -2
- package/dist/cjs/{array-6016b045.js → array-e09585d4.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-action-bar.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-pad.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +5 -5
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card.cjs.entry.js +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +6 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +12 -12
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +10 -8
- package/dist/cjs/calcite-fab.cjs.entry.js +5 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +10 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +4 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-message.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input-text.cjs.entry.js +330 -0
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input.cjs.entry.js +11 -11
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +5 -5
- package/dist/cjs/calcite-list_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +7 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -7
- 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 +8 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +7 -7
- 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 +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite.cjs.js +3 -3
- package/dist/cjs/{conditionalSlot-a9a627b2.js → conditionalSlot-72d7279a.js} +3 -3
- package/dist/cjs/{debounce-91904607.js → debounce-d03b3c0d.js} +1 -1
- package/dist/cjs/{dom-76a52cb1.js → dom-7d31f23c.js} +2 -2
- package/dist/cjs/{filter-e37e78c3.js → filter-5d0a59f0.js} +2 -2
- package/dist/cjs/{floating-ui-5f4d771f.js → floating-ui-2421d0a3.js} +2 -2
- package/dist/cjs/{form-c451786c.js → form-f81a1159.js} +3 -3
- package/dist/cjs/{guid-876fbf35.js → guid-c4d68bba.js} +1 -1
- package/dist/cjs/{index-a5471115.js → index-a14d74bf.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-23d34512.js → interactive-7dd3d0fb.js} +1 -1
- package/dist/cjs/{interfaces-b52b4404.js → interfaces-a7cfada4.js} +1 -1
- package/dist/cjs/{key-4b110645.js → key-4c570734.js} +1 -1
- package/dist/cjs/{label-188525cf.js → label-db6eed6b.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-a5a3af1a.js → locale-d072cf3c.js} +2 -2
- package/dist/cjs/{math-df5354f8.js → math-fbf643c3.js} +1 -1
- package/dist/cjs/{observers-9272f97d.js → observers-36d8653e.js} +1 -1
- package/dist/cjs/{resources-43229262.js → resources-02e2cc33.js} +3 -3
- package/dist/cjs/{resources-556fdab9.js → resources-0db49bd5.js} +1 -1
- package/dist/cjs/{resources-65cb9a27.js → resources-71fa072e.js} +5 -5
- package/dist/cjs/{resources-1fed56da.js → resources-bb07fd5f.js} +1 -1
- package/dist/cjs/{sortable.esm-47b0c200.js → sortable.esm-9e46a946.js} +1 -1
- package/dist/cjs/{utils-5010f3a0.js → utils-83aa80f3.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.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 +5 -5
- 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/interfaces.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/interfaces.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/interfaces.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/interfaces.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 +3 -3
- package/dist/collection/components/combobox/interfaces.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/interfaces.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 +14 -7
- package/dist/collection/components/dropdown/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/flow/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/interfaces.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/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.css +400 -0
- package/dist/collection/components/input-text/input-text.js +899 -0
- package/dist/collection/components/input-text/resources.js +24 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/interfaces.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/interfaces.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/interfaces.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/slider.js +2 -10
- 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/interfaces.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/interfaces.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/interfaces.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/interfaces.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/interfaces.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 +1 -1
- package/dist/collection/components/tree-item/interfaces.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/interfaces.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +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/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/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 +4 -4
- 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 +2 -2
- 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.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.d.ts +11 -0
- package/dist/components/calcite-input-text.js +382 -0
- 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 +3 -5
- 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 +1 -1
- package/dist/components/calcite-tree.js +1 -1
- 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 +5 -3
- 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/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/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +594 -278
- package/dist/esm/{ExpandToggle-b7a16305.js → ExpandToggle-261700fa.js} +5 -5
- package/dist/esm/{Heading-2b37e7cd.js → Heading-efa4556c.js} +2 -2
- package/dist/esm/{array-59fdfb05.js → array-a5a01182.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +10 -10
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu.entry.js +10 -10
- package/dist/esm/calcite-action-pad.entry.js +9 -9
- package/dist/esm/calcite-action.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +5 -5
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block_2.entry.js +8 -8
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card.entry.js +6 -6
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker_3.entry.js +8 -8
- package/dist/esm/calcite-combobox_3.entry.js +12 -12
- package/dist/esm/calcite-date-picker_4.entry.js +9 -9
- package/dist/esm/calcite-dropdown_3.entry.js +10 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +10 -12
- package/dist/esm/calcite-handle.entry.js +4 -4
- package/dist/esm/calcite-icon.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-date-picker.entry.js +11 -11
- package/dist/esm/calcite-input-message.entry.js +4 -4
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +326 -0
- package/dist/esm/calcite-input-time-picker_2.entry.js +9 -9
- package/dist/esm/calcite-input.entry.js +11 -11
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list_3.entry.js +8 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +7 -7
- package/dist/esm/calcite-option_3.entry.js +8 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +9 -9
- package/dist/esm/calcite-pick-list_3.entry.js +11 -11
- package/dist/esm/calcite-popover_2.entry.js +7 -7
- 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 +8 -8
- package/dist/esm/calcite-radio-group_2.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +7 -7
- 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 +5 -5
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-tab_4.entry.js +6 -6
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-tip_3.entry.js +7 -7
- package/dist/esm/calcite-tooltip_2.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/calcite-value-list_2.entry.js +11 -11
- package/dist/esm/calcite.js +3 -3
- package/dist/esm/{conditionalSlot-6cf4e756.js → conditionalSlot-669e0410.js} +3 -3
- package/dist/esm/{debounce-f02dba14.js → debounce-6de0511c.js} +1 -1
- package/dist/esm/{dom-94d33250.js → dom-23885dd1.js} +2 -2
- package/dist/esm/{filter-d4bef334.js → filter-c67483d8.js} +2 -2
- package/dist/esm/{floating-ui-76095bb7.js → floating-ui-9c812ea6.js} +2 -2
- package/dist/esm/{form-e2ab07d5.js → form-bd3527b0.js} +3 -3
- package/dist/esm/{guid-e3325695.js → guid-da1507c2.js} +1 -1
- package/dist/esm/{index-311779b6.js → index-66416f62.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-fef24a72.js → interactive-44cac9af.js} +1 -1
- package/dist/esm/{interfaces-746a108e.js → interfaces-e5d85d5e.js} +1 -1
- package/dist/esm/{key-735f8831.js → key-e6236d7a.js} +1 -1
- package/dist/esm/{label-ff91bcdd.js → label-237c930c.js} +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-1eb91ee3.js → locale-8ff71bfb.js} +2 -2
- package/dist/esm/{math-4e4eb7ae.js → math-5ac97cd0.js} +1 -1
- package/dist/esm/{observers-60f6b2a1.js → observers-8d9b9c5f.js} +1 -1
- package/dist/esm/{resources-b6cb66e7.js → resources-1e411380.js} +3 -3
- package/dist/esm/{resources-abf9ed03.js → resources-1f2c04d2.js} +1 -1
- package/dist/esm/{resources-e5427ff3.js → resources-b1fb5bcc.js} +5 -5
- package/dist/esm/{resources-9971247b.js → resources-c818df7b.js} +1 -1
- package/dist/esm/{sortable.esm-fafc20f8.js → sortable.esm-ed006e45.js} +1 -1
- package/dist/esm/{utils-1cdfe04d.js → utils-9bcb0906.js} +1 -1
- package/dist/esm-es5/ExpandToggle-261700fa.js +6 -0
- package/dist/esm-es5/{Heading-2b37e7cd.js → Heading-efa4556c.js} +2 -2
- package/dist/esm-es5/{array-59fdfb05.js → array-a5a01182.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +3 -3
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.entry.js +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.entry.js +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +6 -0
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +2 -2
- package/dist/esm-es5/calcite-label.entry.js +2 -2
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-6cf4e756.js → conditionalSlot-669e0410.js} +2 -2
- package/dist/esm-es5/{debounce-f02dba14.js → debounce-6de0511c.js} +1 -1
- package/dist/esm-es5/{dom-94d33250.js → dom-23885dd1.js} +2 -2
- package/dist/esm-es5/{filter-d4bef334.js → filter-c67483d8.js} +2 -2
- package/dist/esm-es5/{floating-ui-76095bb7.js → floating-ui-9c812ea6.js} +2 -2
- package/dist/esm-es5/{form-e2ab07d5.js → form-bd3527b0.js} +2 -2
- package/dist/esm-es5/{guid-e3325695.js → guid-da1507c2.js} +1 -1
- package/dist/esm-es5/{index-311779b6.js → index-66416f62.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-fef24a72.js → interactive-44cac9af.js} +1 -1
- package/dist/esm-es5/{interfaces-746a108e.js → interfaces-e5d85d5e.js} +1 -1
- package/dist/esm-es5/{key-735f8831.js → key-e6236d7a.js} +1 -1
- package/dist/esm-es5/{label-ff91bcdd.js → label-237c930c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-1eb91ee3.js → locale-8ff71bfb.js} +2 -2
- package/dist/esm-es5/{math-4e4eb7ae.js → math-5ac97cd0.js} +1 -1
- package/dist/esm-es5/{observers-60f6b2a1.js → observers-8d9b9c5f.js} +1 -1
- package/dist/esm-es5/{resources-b6cb66e7.js → resources-1e411380.js} +2 -2
- package/dist/esm-es5/{resources-abf9ed03.js → resources-1f2c04d2.js} +1 -1
- package/dist/esm-es5/{resources-e5427ff3.js → resources-b1fb5bcc.js} +2 -2
- package/dist/esm-es5/{resources-9971247b.js → resources-c818df7b.js} +1 -1
- package/dist/esm-es5/{sortable.esm-fafc20f8.js → sortable.esm-ed006e45.js} +1 -1
- package/dist/esm-es5/{utils-1cdfe04d.js → utils-9bcb0906.js} +1 -1
- package/dist/extras/docs-json.json +638 -119
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -3
- package/dist/types/components/dropdown/interfaces.d.ts +6 -0
- package/dist/types/components/input-text/input-text.d.ts +170 -0
- package/dist/types/components/input-text/resources.d.ts +19 -0
- package/dist/types/components/slider/slider.d.ts +0 -1
- package/dist/types/components.d.ts +234 -2
- package/dist/types/preact.d.ts +7 -0
- package/hydrate/index.js +627 -277
- package/package.json +4 -4
- package/dist/calcite/p-11f7fff8.js +0 -6
- package/dist/calcite/p-201101eb.js +0 -6
- package/dist/calcite/p-3e75ced5.entry.js +0 -6
- package/dist/calcite/p-4367d80d.system.js +0 -6
- package/dist/calcite/p-504a723f.system.js +0 -6
- package/dist/calcite/p-6c5d58a0.entry.js +0 -6
- package/dist/calcite/p-7c136488.entry.js +0 -6
- package/dist/calcite/p-d53b1902.entry.js +0 -6
- package/dist/calcite/p-e0785593.system.entry.js +0 -6
- package/dist/esm-es5/ExpandToggle-b7a16305.js +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.545
|
|
5
5
|
*/
|
|
6
6
|
import { HTMLElement as HTMLElement$1, createEvent, h, Build, forceUpdate, Host, Fragment, getAssetPath, proxyCustomElement } from '@stencil/core/internal/client';
|
|
7
7
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
@@ -162,7 +162,7 @@ const CSS_UTILITY = {
|
|
|
162
162
|
lightTheme,
|
|
163
163
|
rtl: "calcite--rtl"
|
|
164
164
|
};
|
|
165
|
-
const TEXT$
|
|
165
|
+
const TEXT$u = {
|
|
166
166
|
loading: "Loading"
|
|
167
167
|
};
|
|
168
168
|
|
|
@@ -398,11 +398,11 @@ function processMutations$1(mutations) {
|
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
const SLOTS$
|
|
401
|
+
const SLOTS$s = {
|
|
402
402
|
actionsStart: "actions-start",
|
|
403
403
|
actionsEnd: "actions-end"
|
|
404
404
|
};
|
|
405
|
-
const CSS$
|
|
405
|
+
const CSS$S = {
|
|
406
406
|
icon: "icon",
|
|
407
407
|
header: "header",
|
|
408
408
|
headerContent: "header-content",
|
|
@@ -484,25 +484,25 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
484
484
|
// --------------------------------------------------------------------------
|
|
485
485
|
renderActionsStart() {
|
|
486
486
|
const { el } = this;
|
|
487
|
-
return getSlotted(el, SLOTS$
|
|
487
|
+
return getSlotted(el, SLOTS$s.actionsStart) ? (h("div", { class: CSS$S.actionsStart }, h("slot", { name: SLOTS$s.actionsStart }))) : null;
|
|
488
488
|
}
|
|
489
489
|
renderActionsEnd() {
|
|
490
490
|
const { el } = this;
|
|
491
|
-
return getSlotted(el, SLOTS$
|
|
491
|
+
return getSlotted(el, SLOTS$s.actionsEnd) ? (h("div", { class: CSS$S.actionsEnd }, h("slot", { name: SLOTS$s.actionsEnd }))) : null;
|
|
492
492
|
}
|
|
493
493
|
render() {
|
|
494
494
|
const dir = getElementDir(this.el);
|
|
495
|
-
const iconEl = h("calcite-icon", { class: CSS$
|
|
495
|
+
const iconEl = h("calcite-icon", { class: CSS$S.icon, icon: this.icon, scale: "s" });
|
|
496
496
|
return (h(Host, null, h("div", { class: {
|
|
497
497
|
[`icon-position--${this.iconPosition}`]: true,
|
|
498
498
|
[`icon-type--${this.iconType}`]: true
|
|
499
|
-
} }, h("div", { class: { [CSS$
|
|
499
|
+
} }, h("div", { class: { [CSS$S.header]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.renderActionsStart(), h("div", { "aria-expanded": toAriaBoolean(this.active || this.expanded), class: CSS$S.headerContent, onClick: this.itemHeaderClickHandler, role: "button", tabindex: "0" }, this.icon ? iconEl : null, h("div", { class: CSS$S.headerText }, h("span", { class: CSS$S.heading }, this.heading || this.itemTitle), this.itemSubtitle || this.description ? (h("span", { class: CSS$S.description }, this.description || this.itemSubtitle)) : null), h("calcite-icon", { class: CSS$S.expandIcon, icon: this.iconType === "chevron"
|
|
500
500
|
? "chevronDown"
|
|
501
501
|
: this.iconType === "caret"
|
|
502
502
|
? "caretDown"
|
|
503
503
|
: this.expanded || this.active
|
|
504
504
|
? "minus"
|
|
505
|
-
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$
|
|
505
|
+
: "plus", scale: "s" })), this.renderActionsEnd()), h("div", { class: CSS$S.content }, h("slot", null)))));
|
|
506
506
|
}
|
|
507
507
|
//--------------------------------------------------------------------------
|
|
508
508
|
//
|
|
@@ -575,7 +575,7 @@ const AccordionItem = class extends HTMLElement$1 {
|
|
|
575
575
|
static get style() { return accordionItemCss; }
|
|
576
576
|
};
|
|
577
577
|
|
|
578
|
-
const CSS$
|
|
578
|
+
const CSS$R = {
|
|
579
579
|
button: "button",
|
|
580
580
|
buttonTextVisible: "button--text-visible",
|
|
581
581
|
buttonCompact: "button--compact",
|
|
@@ -585,7 +585,7 @@ const CSS$Q = {
|
|
|
585
585
|
textContainer: "text-container",
|
|
586
586
|
textContainerVisible: "text-container--visible"
|
|
587
587
|
};
|
|
588
|
-
const TEXT$
|
|
588
|
+
const TEXT$t = {
|
|
589
589
|
loading: "Loading"
|
|
590
590
|
};
|
|
591
591
|
|
|
@@ -665,7 +665,7 @@ const Action = class extends HTMLElement$1 {
|
|
|
665
665
|
*
|
|
666
666
|
* @default "Loading"
|
|
667
667
|
*/
|
|
668
|
-
this.intlLoading = TEXT$
|
|
668
|
+
this.intlLoading = TEXT$t.loading;
|
|
669
669
|
/**
|
|
670
670
|
* When true, a busy indicator is displayed.
|
|
671
671
|
*/
|
|
@@ -724,8 +724,8 @@ const Action = class extends HTMLElement$1 {
|
|
|
724
724
|
renderTextContainer() {
|
|
725
725
|
const { text, textEnabled } = this;
|
|
726
726
|
const textContainerClasses = {
|
|
727
|
-
[CSS$
|
|
728
|
-
[CSS$
|
|
727
|
+
[CSS$R.textContainer]: true,
|
|
728
|
+
[CSS$R.textContainerVisible]: textEnabled
|
|
729
729
|
};
|
|
730
730
|
return text ? (h("div", { class: textContainerClasses, key: "text-container" }, text)) : null;
|
|
731
731
|
}
|
|
@@ -739,18 +739,18 @@ const Action = class extends HTMLElement$1 {
|
|
|
739
739
|
const iconNode = calciteLoaderNode || calciteIconNode;
|
|
740
740
|
const hasIconToDisplay = iconNode || ((_a = el.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
741
741
|
const slotContainerNode = (h("div", { class: {
|
|
742
|
-
[CSS$
|
|
743
|
-
[CSS$
|
|
742
|
+
[CSS$R.slotContainer]: true,
|
|
743
|
+
[CSS$R.slotContainerHidden]: loading
|
|
744
744
|
} }, h("slot", null)));
|
|
745
|
-
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$
|
|
745
|
+
return hasIconToDisplay ? (h("div", { "aria-hidden": "true", class: CSS$R.iconContainer, key: "icon-container" }, iconNode, slotContainerNode)) : null;
|
|
746
746
|
}
|
|
747
747
|
render() {
|
|
748
748
|
const { compact, disabled, loading, textEnabled, label, text } = this;
|
|
749
749
|
const ariaLabel = label || text;
|
|
750
750
|
const buttonClasses = {
|
|
751
|
-
[CSS$
|
|
752
|
-
[CSS$
|
|
753
|
-
[CSS$
|
|
751
|
+
[CSS$R.button]: true,
|
|
752
|
+
[CSS$R.buttonTextVisible]: textEnabled,
|
|
753
|
+
[CSS$R.buttonCompact]: compact
|
|
754
754
|
};
|
|
755
755
|
return (h(Host, { onClick: this.calciteActionClickHandler }, h("button", { "aria-busy": toAriaBoolean(loading), "aria-disabled": toAriaBoolean(disabled), "aria-label": ariaLabel, class: buttonClasses, disabled: disabled, ref: (buttonEl) => (this.buttonEl = buttonEl) }, this.renderIconContainer(), this.renderTextContainer())));
|
|
756
756
|
}
|
|
@@ -758,11 +758,11 @@ const Action = class extends HTMLElement$1 {
|
|
|
758
758
|
static get style() { return actionCss; }
|
|
759
759
|
};
|
|
760
760
|
|
|
761
|
-
const CSS$
|
|
761
|
+
const CSS$Q = {
|
|
762
762
|
menu: "menu",
|
|
763
763
|
defaultTrigger: "default-trigger"
|
|
764
764
|
};
|
|
765
|
-
const SLOTS$
|
|
765
|
+
const SLOTS$r = {
|
|
766
766
|
tooltip: "tooltip",
|
|
767
767
|
trigger: "trigger"
|
|
768
768
|
};
|
|
@@ -770,11 +770,11 @@ const ICONS$f = {
|
|
|
770
770
|
menu: "ellipsis"
|
|
771
771
|
};
|
|
772
772
|
|
|
773
|
-
const SLOTS$
|
|
773
|
+
const SLOTS$q = {
|
|
774
774
|
menuActions: "menu-actions",
|
|
775
775
|
menuTooltip: "menu-tooltip"
|
|
776
776
|
};
|
|
777
|
-
const TEXT$
|
|
777
|
+
const TEXT$s = {
|
|
778
778
|
more: "More"
|
|
779
779
|
};
|
|
780
780
|
const ICONS$e = {
|
|
@@ -800,7 +800,7 @@ const getOverflowCount = ({ layout, actionCount, actionWidth, width, actionHeigh
|
|
|
800
800
|
return Math.max(actionCount - getMaxActionCount({ width, actionWidth, layout, height, actionHeight, groupCount }), 0);
|
|
801
801
|
};
|
|
802
802
|
const queryActions = (el) => {
|
|
803
|
-
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$
|
|
803
|
+
return Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.closest("calcite-action-menu") ? action.slot === SLOTS$r.trigger : true);
|
|
804
804
|
};
|
|
805
805
|
const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
806
806
|
let needToSlotCount = overflowCount;
|
|
@@ -808,7 +808,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
808
808
|
let slottedWithinGroupCount = 0;
|
|
809
809
|
const groupActions = queryActions(group).reverse();
|
|
810
810
|
groupActions.forEach((groupAction) => {
|
|
811
|
-
if (groupAction.slot === SLOTS$
|
|
811
|
+
if (groupAction.slot === SLOTS$q.menuActions) {
|
|
812
812
|
groupAction.removeAttribute("slot");
|
|
813
813
|
groupAction.textEnabled = expanded;
|
|
814
814
|
}
|
|
@@ -818,7 +818,7 @@ const overflowActions = ({ actionGroups, expanded, overflowCount }) => {
|
|
|
818
818
|
const unslottedActions = groupActions.filter((action) => !action.slot);
|
|
819
819
|
if (unslottedActions.length > 1 && groupActions.length > 2 && !groupAction.closest("calcite-action-menu")) {
|
|
820
820
|
groupAction.textEnabled = true;
|
|
821
|
-
groupAction.setAttribute("slot", SLOTS$
|
|
821
|
+
groupAction.setAttribute("slot", SLOTS$q.menuActions);
|
|
822
822
|
slottedWithinGroupCount++;
|
|
823
823
|
if (slottedWithinGroupCount > 1) {
|
|
824
824
|
needToSlotCount--;
|
|
@@ -841,7 +841,7 @@ function getCalcitePosition(position, el) {
|
|
|
841
841
|
}
|
|
842
842
|
function toggleChildActionText({ parent, expanded }) {
|
|
843
843
|
queryActions(parent)
|
|
844
|
-
.filter((el) => el.slot !== SLOTS$
|
|
844
|
+
.filter((el) => el.slot !== SLOTS$q.menuActions)
|
|
845
845
|
.forEach((action) => (action.textEnabled = expanded));
|
|
846
846
|
parent
|
|
847
847
|
.querySelectorAll("calcite-action-group, calcite-action-menu")
|
|
@@ -870,14 +870,14 @@ const ExpandToggle = ({ expanded, intlExpand, intlCollapse, toggle, el, position
|
|
|
870
870
|
return actionNode;
|
|
871
871
|
};
|
|
872
872
|
|
|
873
|
-
const CSS$
|
|
873
|
+
const CSS$P = {
|
|
874
874
|
actionGroupBottom: "action-group--bottom"
|
|
875
875
|
};
|
|
876
|
-
const SLOTS$
|
|
876
|
+
const SLOTS$p = {
|
|
877
877
|
bottomActions: "bottom-actions",
|
|
878
878
|
expandTooltip: "expand-tooltip"
|
|
879
879
|
};
|
|
880
|
-
const TEXT$
|
|
880
|
+
const TEXT$r = {
|
|
881
881
|
expand: "Expand",
|
|
882
882
|
collapse: "Collapse"
|
|
883
883
|
};
|
|
@@ -2210,7 +2210,7 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2210
2210
|
const actions = queryActions(el);
|
|
2211
2211
|
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
|
2212
2212
|
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
|
2213
|
-
const groupCount = getSlotted(el, SLOTS$
|
|
2213
|
+
const groupCount = getSlotted(el, SLOTS$p.bottomActions) || !expandDisabled
|
|
2214
2214
|
? actionGroups.length + 1
|
|
2215
2215
|
: actionGroups.length;
|
|
2216
2216
|
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
|
@@ -2312,11 +2312,11 @@ const ActionBar = class extends HTMLElement$1 {
|
|
|
2312
2312
|
// --------------------------------------------------------------------------
|
|
2313
2313
|
renderBottomActionGroup() {
|
|
2314
2314
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
2315
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
2316
|
-
const expandLabel = intlExpand || TEXT$
|
|
2317
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2315
|
+
const tooltip = getSlotted(el, SLOTS$p.expandTooltip);
|
|
2316
|
+
const expandLabel = intlExpand || TEXT$r.expand;
|
|
2317
|
+
const collapseLabel = intlCollapse || TEXT$r.collapse;
|
|
2318
2318
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2319
|
-
return getSlotted(el, SLOTS$
|
|
2319
|
+
return getSlotted(el, SLOTS$p.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$P.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$p.bottomActions }), h("slot", { name: SLOTS$p.expandTooltip }), expandToggleNode)) : null;
|
|
2320
2320
|
}
|
|
2321
2321
|
render() {
|
|
2322
2322
|
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
|
@@ -2384,13 +2384,13 @@ const ActionGroup = class extends HTMLElement$1 {
|
|
|
2384
2384
|
// --------------------------------------------------------------------------
|
|
2385
2385
|
renderTooltip() {
|
|
2386
2386
|
const { el } = this;
|
|
2387
|
-
const hasTooltip = getSlotted(el, SLOTS$
|
|
2388
|
-
return hasTooltip ? h("slot", { name: SLOTS$
|
|
2387
|
+
const hasTooltip = getSlotted(el, SLOTS$q.menuTooltip);
|
|
2388
|
+
return hasTooltip ? h("slot", { name: SLOTS$q.menuTooltip, slot: SLOTS$r.tooltip }) : null;
|
|
2389
2389
|
}
|
|
2390
2390
|
renderMenu() {
|
|
2391
2391
|
const { el, expanded, intlMore, menuOpen, scale, layout } = this;
|
|
2392
|
-
const hasMenuItems = getSlotted(el, SLOTS$
|
|
2393
|
-
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$
|
|
2392
|
+
const hasMenuItems = getSlotted(el, SLOTS$q.menuActions);
|
|
2393
|
+
return hasMenuItems ? (h("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$s.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: layout === "horizontal" ? "bottom-leading" : "leading-start", scale: scale }, h("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$r.trigger, text: intlMore || TEXT$s.more, textEnabled: expanded }), h("slot", { name: SLOTS$q.menuActions }), this.renderTooltip())) : null;
|
|
2394
2394
|
}
|
|
2395
2395
|
render() {
|
|
2396
2396
|
return (h(Fragment, null, h("slot", null), this.renderMenu()));
|
|
@@ -2450,7 +2450,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2450
2450
|
// --------------------------------------------------------------------------
|
|
2451
2451
|
this.connectMenuButtonEl = () => {
|
|
2452
2452
|
const { el, menuButtonId, menuId, open, label } = this;
|
|
2453
|
-
const menuButtonEl = getSlotted(el, SLOTS$
|
|
2453
|
+
const menuButtonEl = getSlotted(el, SLOTS$r.trigger) || this.defaultMenuButtonEl;
|
|
2454
2454
|
if (this.menuButtonEl === menuButtonEl) {
|
|
2455
2455
|
return;
|
|
2456
2456
|
}
|
|
@@ -2473,7 +2473,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2473
2473
|
if (!menuButtonEl.text) {
|
|
2474
2474
|
menuButtonEl.text = label;
|
|
2475
2475
|
}
|
|
2476
|
-
menuButtonEl.addEventListener("
|
|
2476
|
+
menuButtonEl.addEventListener("pointerdown", this.menuButtonClick);
|
|
2477
2477
|
menuButtonEl.addEventListener("keydown", this.menuButtonKeyDown);
|
|
2478
2478
|
};
|
|
2479
2479
|
this.disconnectMenuButtonEl = () => {
|
|
@@ -2481,7 +2481,7 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2481
2481
|
if (!menuButtonEl) {
|
|
2482
2482
|
return;
|
|
2483
2483
|
}
|
|
2484
|
-
menuButtonEl.removeEventListener("
|
|
2484
|
+
menuButtonEl.removeEventListener("pointerdown", this.menuButtonClick);
|
|
2485
2485
|
menuButtonEl.removeEventListener("keydown", this.menuButtonKeyDown);
|
|
2486
2486
|
};
|
|
2487
2487
|
this.setDefaultMenuButtonEl = (el) => {
|
|
@@ -2647,17 +2647,17 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2647
2647
|
}
|
|
2648
2648
|
renderMenuButton() {
|
|
2649
2649
|
const { label, scale, expanded } = this;
|
|
2650
|
-
const menuButtonSlot = (h("slot", { name: SLOTS$
|
|
2650
|
+
const menuButtonSlot = (h("slot", { name: SLOTS$r.trigger }, h("calcite-action", { class: CSS$Q.defaultTrigger, icon: ICONS$f.menu, ref: this.setDefaultMenuButtonEl, scale: scale, text: label, textEnabled: expanded })));
|
|
2651
2651
|
return menuButtonSlot;
|
|
2652
2652
|
}
|
|
2653
2653
|
renderMenuItems() {
|
|
2654
2654
|
const { actionElements, activeMenuItemIndex, open, menuId, menuButtonEl, label, placement, overlayPositioning, flipPlacements } = this;
|
|
2655
2655
|
const activeAction = actionElements[activeMenuItemIndex];
|
|
2656
2656
|
const activeDescendantId = (activeAction === null || activeAction === void 0 ? void 0 : activeAction.id) || null;
|
|
2657
|
-
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$
|
|
2657
|
+
return (h("calcite-popover", { disablePointer: true, flipPlacements: flipPlacements, label: label, offsetDistance: 0, open: open, overlayPositioning: overlayPositioning, placement: placement, referenceElement: menuButtonEl }, h("div", { "aria-activedescendant": activeDescendantId, "aria-labelledby": menuButtonEl === null || menuButtonEl === void 0 ? void 0 : menuButtonEl.id, class: CSS$Q.menu, id: menuId, onClick: this.handleCalciteActionClick, onKeyDown: this.menuActionsContainerKeyDown, ref: (el) => (this.menuEl = el), role: "menu", tabIndex: -1 }, h("slot", null))));
|
|
2658
2658
|
}
|
|
2659
2659
|
render() {
|
|
2660
|
-
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$
|
|
2660
|
+
return (h(Fragment, null, this.renderMenuButton(), this.renderMenuItems(), h("slot", { name: SLOTS$r.tooltip, onSlotchange: this.updateTooltip })));
|
|
2661
2661
|
}
|
|
2662
2662
|
isValidKey(key, supportedKeys) {
|
|
2663
2663
|
return !!supportedKeys.find((k) => k === key);
|
|
@@ -2671,15 +2671,15 @@ const ActionMenu = class extends HTMLElement$1 {
|
|
|
2671
2671
|
static get style() { return actionMenuCss; }
|
|
2672
2672
|
};
|
|
2673
2673
|
|
|
2674
|
-
const CSS$
|
|
2674
|
+
const CSS$O = {
|
|
2675
2675
|
actionGroupBottom: "action-group--bottom",
|
|
2676
2676
|
container: "container"
|
|
2677
2677
|
};
|
|
2678
|
-
const TEXT$
|
|
2678
|
+
const TEXT$q = {
|
|
2679
2679
|
expand: "Expand",
|
|
2680
2680
|
collapse: "Collapse"
|
|
2681
2681
|
};
|
|
2682
|
-
const SLOTS$
|
|
2682
|
+
const SLOTS$o = {
|
|
2683
2683
|
expandTooltip: "expand-tooltip"
|
|
2684
2684
|
};
|
|
2685
2685
|
|
|
@@ -2774,14 +2774,14 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2774
2774
|
// --------------------------------------------------------------------------
|
|
2775
2775
|
renderBottomActionGroup() {
|
|
2776
2776
|
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
|
2777
|
-
const tooltip = getSlotted(el, SLOTS$
|
|
2778
|
-
const expandLabel = intlExpand || TEXT$
|
|
2779
|
-
const collapseLabel = intlCollapse || TEXT$
|
|
2777
|
+
const tooltip = getSlotted(el, SLOTS$o.expandTooltip);
|
|
2778
|
+
const expandLabel = intlExpand || TEXT$q.expand;
|
|
2779
|
+
const collapseLabel = intlCollapse || TEXT$q.collapse;
|
|
2780
2780
|
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
|
2781
|
-
return expandToggleNode ? (h("calcite-action-group", { class: CSS$
|
|
2781
|
+
return expandToggleNode ? (h("calcite-action-group", { class: CSS$O.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$o.expandTooltip }), expandToggleNode)) : null;
|
|
2782
2782
|
}
|
|
2783
2783
|
render() {
|
|
2784
|
-
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$
|
|
2784
|
+
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("div", { class: CSS$O.container }, h("slot", null), this.renderBottomActionGroup())));
|
|
2785
2785
|
}
|
|
2786
2786
|
get el() { return this; }
|
|
2787
2787
|
static get watchers() { return {
|
|
@@ -2790,7 +2790,7 @@ const ActionPad = class extends HTMLElement$1 {
|
|
|
2790
2790
|
static get style() { return actionPadCss; }
|
|
2791
2791
|
};
|
|
2792
2792
|
|
|
2793
|
-
const TEXT$
|
|
2793
|
+
const TEXT$p = {
|
|
2794
2794
|
intlClose: "Close"
|
|
2795
2795
|
};
|
|
2796
2796
|
const DURATIONS = {
|
|
@@ -2798,7 +2798,7 @@ const DURATIONS = {
|
|
|
2798
2798
|
medium: 10000,
|
|
2799
2799
|
fast: 6000
|
|
2800
2800
|
};
|
|
2801
|
-
const SLOTS$
|
|
2801
|
+
const SLOTS$n = {
|
|
2802
2802
|
title: "title",
|
|
2803
2803
|
message: "message",
|
|
2804
2804
|
link: "link"
|
|
@@ -2849,7 +2849,7 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2849
2849
|
*
|
|
2850
2850
|
* @default "Close"
|
|
2851
2851
|
*/
|
|
2852
|
-
this.intlClose = TEXT$
|
|
2852
|
+
this.intlClose = TEXT$p.intlClose;
|
|
2853
2853
|
/** Specifies the placement of the component */
|
|
2854
2854
|
this.placement = "bottom";
|
|
2855
2855
|
/** Specifies the size of the component. */
|
|
@@ -2947,7 +2947,7 @@ const Alert = class extends HTMLElement$1 {
|
|
|
2947
2947
|
container: true,
|
|
2948
2948
|
queued,
|
|
2949
2949
|
[placement]: true
|
|
2950
|
-
}, onTransitionEnd: this.transitionEnd, ref: this.setContainerEl }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$
|
|
2950
|
+
}, onTransitionEnd: this.transitionEnd, ref: this.setContainerEl }, requestedIcon ? (h("div", { class: "alert-icon" }, h("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: "alert-content" }, h("slot", { name: SLOTS$n.title }), h("slot", { name: SLOTS$n.message }), h("slot", { name: SLOTS$n.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? h("div", { class: "alert-dismiss-progress" }) : null)));
|
|
2951
2951
|
}
|
|
2952
2952
|
// when an alert is opened or closed, update queue and determine active alert
|
|
2953
2953
|
alertSync(event) {
|
|
@@ -3278,7 +3278,7 @@ const Avatar = class extends HTMLElement$1 {
|
|
|
3278
3278
|
static get style() { return avatarCss; }
|
|
3279
3279
|
};
|
|
3280
3280
|
|
|
3281
|
-
const CSS$
|
|
3281
|
+
const CSS$N = {
|
|
3282
3282
|
article: "article",
|
|
3283
3283
|
content: "content",
|
|
3284
3284
|
headerContainer: "header-container",
|
|
@@ -3297,13 +3297,13 @@ const CSS$M = {
|
|
|
3297
3297
|
invalid: "invalid",
|
|
3298
3298
|
loading: "loading"
|
|
3299
3299
|
};
|
|
3300
|
-
const TEXT$
|
|
3300
|
+
const TEXT$o = {
|
|
3301
3301
|
collapse: "Collapse",
|
|
3302
3302
|
expand: "Expand",
|
|
3303
3303
|
loading: "Loading",
|
|
3304
3304
|
options: "Options"
|
|
3305
3305
|
};
|
|
3306
|
-
const SLOTS$
|
|
3306
|
+
const SLOTS$m = {
|
|
3307
3307
|
icon: "icon",
|
|
3308
3308
|
control: "control",
|
|
3309
3309
|
headerMenuActions: "header-menu-actions"
|
|
@@ -3356,25 +3356,25 @@ const Block = class extends HTMLElement$1 {
|
|
|
3356
3356
|
*
|
|
3357
3357
|
* @default "Collapse"
|
|
3358
3358
|
*/
|
|
3359
|
-
this.intlCollapse = TEXT$
|
|
3359
|
+
this.intlCollapse = TEXT$o.collapse;
|
|
3360
3360
|
/**
|
|
3361
3361
|
* Aria-label for expanding the toggle and tooltip used for the toggle when collapsed.
|
|
3362
3362
|
*
|
|
3363
3363
|
* @default "Expand"
|
|
3364
3364
|
*/
|
|
3365
|
-
this.intlExpand = TEXT$
|
|
3365
|
+
this.intlExpand = TEXT$o.expand;
|
|
3366
3366
|
/**
|
|
3367
3367
|
* string to override English loading text
|
|
3368
3368
|
*
|
|
3369
3369
|
* @default "Loading"
|
|
3370
3370
|
*/
|
|
3371
|
-
this.intlLoading = TEXT$
|
|
3371
|
+
this.intlLoading = TEXT$o.loading;
|
|
3372
3372
|
/**
|
|
3373
3373
|
* Text string used for the actions menu
|
|
3374
3374
|
*
|
|
3375
3375
|
* @default "Options"
|
|
3376
3376
|
*/
|
|
3377
|
-
this.intlOptions = TEXT$
|
|
3377
|
+
this.intlOptions = TEXT$o.options;
|
|
3378
3378
|
/**
|
|
3379
3379
|
* When true, content is waiting to be loaded. This state shows a busy indicator.
|
|
3380
3380
|
*/
|
|
@@ -3433,32 +3433,32 @@ const Block = class extends HTMLElement$1 {
|
|
|
3433
3433
|
const { el, status } = this;
|
|
3434
3434
|
const showingLoadingStatus = this.loading && !this.open;
|
|
3435
3435
|
const statusIcon = showingLoadingStatus ? ICONS$c.refresh : ICONS$c[status];
|
|
3436
|
-
const hasIcon = getSlotted(el, SLOTS$
|
|
3437
|
-
const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$
|
|
3438
|
-
[CSS$
|
|
3439
|
-
[CSS$
|
|
3440
|
-
[CSS$
|
|
3441
|
-
[CSS$
|
|
3436
|
+
const hasIcon = getSlotted(el, SLOTS$m.icon) || statusIcon;
|
|
3437
|
+
const iconEl = !statusIcon ? (h("slot", { key: "icon-slot", name: SLOTS$m.icon })) : (h("calcite-icon", { class: {
|
|
3438
|
+
[CSS$N.statusIcon]: true,
|
|
3439
|
+
[CSS$N.valid]: status == "valid",
|
|
3440
|
+
[CSS$N.invalid]: status == "invalid",
|
|
3441
|
+
[CSS$N.loading]: showingLoadingStatus
|
|
3442
3442
|
}, icon: statusIcon, scale: "m" }));
|
|
3443
|
-
return hasIcon ? h("div", { class: CSS$
|
|
3443
|
+
return hasIcon ? h("div", { class: CSS$N.icon }, iconEl) : null;
|
|
3444
3444
|
}
|
|
3445
3445
|
renderTitle() {
|
|
3446
3446
|
const { heading, headingLevel, summary, description } = this;
|
|
3447
|
-
return heading || summary || description ? (h("div", { class: CSS$
|
|
3447
|
+
return heading || summary || description ? (h("div", { class: CSS$N.title }, h(Heading, { class: CSS$N.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary || description ? (h("div", { class: CSS$N.description }, summary || description)) : null)) : null;
|
|
3448
3448
|
}
|
|
3449
3449
|
render() {
|
|
3450
3450
|
const { collapsible, el, intlCollapse, intlExpand, loading, open, intlLoading } = this;
|
|
3451
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3452
|
-
const headerContent = (h("header", { class: CSS$
|
|
3453
|
-
const hasControl = !!getSlotted(el, SLOTS$
|
|
3454
|
-
const hasMenuActions = !!getSlotted(el, SLOTS$
|
|
3451
|
+
const toggleLabel = open ? intlCollapse || TEXT$o.collapse : intlExpand || TEXT$o.expand;
|
|
3452
|
+
const headerContent = (h("header", { class: CSS$N.header }, this.renderIcon(), this.renderTitle()));
|
|
3453
|
+
const hasControl = !!getSlotted(el, SLOTS$m.control);
|
|
3454
|
+
const hasMenuActions = !!getSlotted(el, SLOTS$m.headerMenuActions);
|
|
3455
3455
|
const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
|
|
3456
3456
|
const { guid } = this;
|
|
3457
3457
|
const regionId = `${guid}-region`;
|
|
3458
3458
|
const buttonId = `${guid}-button`;
|
|
3459
|
-
const headerNode = (h("div", { class: CSS$
|
|
3459
|
+
const headerNode = (h("div", { class: CSS$N.headerContainer }, this.dragHandle ? h("calcite-handle", null) : null, collapsible ? (h("button", { "aria-controls": regionId, "aria-expanded": collapsible ? toAriaBoolean(open) : null, "aria-label": toggleLabel, class: CSS$N.toggle, id: buttonId, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (h("calcite-icon", { "aria-hidden": "true", class: CSS$N.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (h("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (h("div", { class: CSS$N.controlContainer }, h("slot", { name: SLOTS$m.control }))) : null, hasMenuActions ? (h("calcite-action-menu", { label: this.intlOptions || TEXT$o.options }, h("slot", { name: SLOTS$m.headerMenuActions }))) : null));
|
|
3460
3460
|
return (h(Host, null, h("article", { "aria-busy": toAriaBoolean(loading), class: {
|
|
3461
|
-
[CSS$
|
|
3461
|
+
[CSS$N.article]: true
|
|
3462
3462
|
} }, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: {
|
|
3463
3463
|
content: true,
|
|
3464
3464
|
"content--spaced": !this.disablePadding
|
|
@@ -3468,7 +3468,7 @@ const Block = class extends HTMLElement$1 {
|
|
|
3468
3468
|
static get style() { return blockCss; }
|
|
3469
3469
|
};
|
|
3470
3470
|
|
|
3471
|
-
const CSS$
|
|
3471
|
+
const CSS$M = {
|
|
3472
3472
|
content: "content",
|
|
3473
3473
|
invalid: "invalid",
|
|
3474
3474
|
toggle: "toggle",
|
|
@@ -3480,7 +3480,7 @@ const CSS$L = {
|
|
|
3480
3480
|
statusIcon: "status-icon",
|
|
3481
3481
|
valid: "valid"
|
|
3482
3482
|
};
|
|
3483
|
-
const TEXT$
|
|
3483
|
+
const TEXT$n = {
|
|
3484
3484
|
collapse: "Collapse",
|
|
3485
3485
|
expand: "Expand"
|
|
3486
3486
|
};
|
|
@@ -3538,9 +3538,9 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3538
3538
|
const { status } = this;
|
|
3539
3539
|
const statusIcon = (_a = ICONS$b[status]) !== null && _a !== void 0 ? _a : false;
|
|
3540
3540
|
const statusIconClasses = {
|
|
3541
|
-
[CSS$
|
|
3542
|
-
[CSS$
|
|
3543
|
-
[CSS$
|
|
3541
|
+
[CSS$M.statusIcon]: true,
|
|
3542
|
+
[CSS$M.valid]: status == "valid",
|
|
3543
|
+
[CSS$M.invalid]: status == "invalid"
|
|
3544
3544
|
};
|
|
3545
3545
|
return !!statusIcon ? (h("calcite-icon", { class: statusIconClasses, icon: statusIcon, scale: "s" })) : null;
|
|
3546
3546
|
}
|
|
@@ -3552,18 +3552,18 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3552
3552
|
: dir === "rtl"
|
|
3553
3553
|
? ICONS$b.menuClosedLeft
|
|
3554
3554
|
: ICONS$b.menuClosedRight;
|
|
3555
|
-
const toggleLabel = open ? intlCollapse || TEXT$
|
|
3555
|
+
const toggleLabel = open ? intlCollapse || TEXT$n.collapse : intlExpand || TEXT$n.expand;
|
|
3556
3556
|
const { guid } = this;
|
|
3557
3557
|
const regionId = `${guid}-region`;
|
|
3558
3558
|
const buttonId = `${guid}-button`;
|
|
3559
3559
|
const headerNode = toggleDisplay === "switch" ? (h("div", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3560
|
-
[CSS$
|
|
3561
|
-
[CSS$
|
|
3562
|
-
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$
|
|
3563
|
-
[CSS$
|
|
3564
|
-
[CSS$
|
|
3565
|
-
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$
|
|
3566
|
-
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$
|
|
3560
|
+
[CSS$M.toggle]: true,
|
|
3561
|
+
[CSS$M.toggleSwitch]: true
|
|
3562
|
+
}, id: buttonId, onClick: this.toggleSection, onKeyDown: this.handleHeaderKeyDown, tabIndex: 0, title: toggleLabel }, h("div", { class: CSS$M.toggleSwitchContent }, h("span", { class: CSS$M.toggleSwitchText }, text)), h("calcite-switch", { checked: open, label: toggleLabel, scale: "s", tabIndex: -1 }), this.renderStatusIcon())) : (h("button", { "aria-controls": regionId, "aria-label": toggleLabel, class: {
|
|
3563
|
+
[CSS$M.sectionHeader]: true,
|
|
3564
|
+
[CSS$M.toggle]: true
|
|
3565
|
+
}, id: buttonId, name: toggleLabel, onClick: this.toggleSection }, h("calcite-icon", { icon: arrowIcon, scale: "s" }), h("span", { class: CSS$M.sectionHeaderText }, text), this.renderStatusIcon()));
|
|
3566
|
+
return (h(Host, null, headerNode, h("section", { "aria-expanded": toAriaBoolean(open), "aria-labelledby": buttonId, class: CSS$M.content, hidden: !open, id: regionId }, h("slot", null))));
|
|
3567
3567
|
}
|
|
3568
3568
|
get el() { return this; }
|
|
3569
3569
|
static get style() { return blockSectionCss; }
|
|
@@ -3597,7 +3597,7 @@ const BlockSection = class extends HTMLElement$1 {
|
|
|
3597
3597
|
}
|
|
3598
3598
|
})(HTMLFormElement.prototype);
|
|
3599
3599
|
|
|
3600
|
-
const CSS$
|
|
3600
|
+
const CSS$L = {
|
|
3601
3601
|
buttonLoader: "calcite-button--loader",
|
|
3602
3602
|
content: "content",
|
|
3603
3603
|
contentSlotted: "content--slotted",
|
|
@@ -3609,7 +3609,7 @@ const CSS$K = {
|
|
|
3609
3609
|
iconStartEmpty: "icon-start-empty",
|
|
3610
3610
|
iconEndEmpty: "icon-end-empty"
|
|
3611
3611
|
};
|
|
3612
|
-
const TEXT$
|
|
3612
|
+
const TEXT$m = {
|
|
3613
3613
|
loading: "Loading"
|
|
3614
3614
|
};
|
|
3615
3615
|
|
|
@@ -3956,7 +3956,7 @@ const Button = class extends HTMLElement$1 {
|
|
|
3956
3956
|
*
|
|
3957
3957
|
* @default "Loading"
|
|
3958
3958
|
*/
|
|
3959
|
-
this.intlLoading = TEXT$
|
|
3959
|
+
this.intlLoading = TEXT$m.loading;
|
|
3960
3960
|
/** optionally add a calcite-loader component to the button, disabling interaction. */
|
|
3961
3961
|
this.loading = false;
|
|
3962
3962
|
/** optionally add a round style to the button */
|
|
@@ -4028,14 +4028,14 @@ const Button = class extends HTMLElement$1 {
|
|
|
4028
4028
|
render() {
|
|
4029
4029
|
const childElType = this.href ? "a" : "button";
|
|
4030
4030
|
const Tag = childElType;
|
|
4031
|
-
const loaderNode = this.hasLoader ? (h("div", { class: CSS$
|
|
4032
|
-
const iconStartEl = (h("calcite-icon", { class: { [CSS$
|
|
4033
|
-
const iconEndEl = (h("calcite-icon", { class: { [CSS$
|
|
4034
|
-
const contentEl = (h("span", { class: CSS$
|
|
4031
|
+
const loaderNode = this.hasLoader ? (h("div", { class: CSS$L.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$L.loadingIn : CSS$L.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
|
|
4032
|
+
const iconStartEl = (h("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
|
|
4033
|
+
const iconEndEl = (h("calcite-icon", { class: { [CSS$L.icon]: true, [CSS$L.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
|
|
4034
|
+
const contentEl = (h("span", { class: CSS$L.content }, h("slot", null)));
|
|
4035
4035
|
return (h(Tag, { "aria-label": getLabelText(this), class: {
|
|
4036
|
-
[CSS$
|
|
4037
|
-
[CSS$
|
|
4038
|
-
[CSS$
|
|
4036
|
+
[CSS$L.contentSlotted]: this.hasContent,
|
|
4037
|
+
[CSS$L.iconStartEmpty]: !this.iconStart,
|
|
4038
|
+
[CSS$L.iconEndEmpty]: !this.iconEnd
|
|
4039
4039
|
}, disabled: this.disabled || this.loading, href: childElType === "a" && this.href, name: childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: childElType === "a" && this.target, type: childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
|
|
4040
4040
|
}
|
|
4041
4041
|
//--------------------------------------------------------------------------
|
|
@@ -4076,7 +4076,7 @@ const Button = class extends HTMLElement$1 {
|
|
|
4076
4076
|
static get style() { return buttonCss; }
|
|
4077
4077
|
};
|
|
4078
4078
|
|
|
4079
|
-
const CSS$
|
|
4079
|
+
const CSS$K = {
|
|
4080
4080
|
container: "container",
|
|
4081
4081
|
header: "header",
|
|
4082
4082
|
footer: "footer",
|
|
@@ -4085,14 +4085,14 @@ const CSS$J = {
|
|
|
4085
4085
|
checkboxWrapper: "checkbox-wrapper",
|
|
4086
4086
|
thumbnailWrapper: "thumbnail-wrapper"
|
|
4087
4087
|
};
|
|
4088
|
-
const SLOTS$
|
|
4088
|
+
const SLOTS$l = {
|
|
4089
4089
|
thumbnail: "thumbnail",
|
|
4090
4090
|
title: "title",
|
|
4091
4091
|
subtitle: "subtitle",
|
|
4092
4092
|
footerLeading: "footer-leading",
|
|
4093
4093
|
footerTrailing: "footer-trailing"
|
|
4094
4094
|
};
|
|
4095
|
-
const TEXT$
|
|
4095
|
+
const TEXT$l = {
|
|
4096
4096
|
select: "Select",
|
|
4097
4097
|
deselect: "Deselect",
|
|
4098
4098
|
loading: "Loading"
|
|
@@ -4122,19 +4122,19 @@ const Card = class extends HTMLElement$1 {
|
|
|
4122
4122
|
*
|
|
4123
4123
|
* @default "Loading"
|
|
4124
4124
|
*/
|
|
4125
|
-
this.intlLoading = TEXT$
|
|
4125
|
+
this.intlLoading = TEXT$l.loading;
|
|
4126
4126
|
/**
|
|
4127
4127
|
* string to override English select text for checkbox when selectable is true
|
|
4128
4128
|
*
|
|
4129
4129
|
* @default "Select"
|
|
4130
4130
|
*/
|
|
4131
|
-
this.intlSelect = TEXT$
|
|
4131
|
+
this.intlSelect = TEXT$l.select;
|
|
4132
4132
|
/**
|
|
4133
4133
|
* string to override English deselect text for checkbox when selectable is true
|
|
4134
4134
|
*
|
|
4135
4135
|
* @default "Deselect"
|
|
4136
4136
|
*/
|
|
4137
|
-
this.intlDeselect = TEXT$
|
|
4137
|
+
this.intlDeselect = TEXT$l.deselect;
|
|
4138
4138
|
this.thumbnailPosition = "block-start";
|
|
4139
4139
|
//--------------------------------------------------------------------------
|
|
4140
4140
|
//
|
|
@@ -4173,32 +4173,32 @@ const Card = class extends HTMLElement$1 {
|
|
|
4173
4173
|
render() {
|
|
4174
4174
|
const thumbnailInline = this.thumbnailPosition.startsWith("inline");
|
|
4175
4175
|
const thumbnailStart = this.thumbnailPosition.endsWith("start");
|
|
4176
|
-
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$
|
|
4176
|
+
return (h("div", { class: { "calcite-card-container": true, inline: thumbnailInline } }, this.loading ? (h("div", { class: "calcite-card-loader-container" }, h("calcite-loader", { active: true, label: this.intlLoading }))) : null, thumbnailStart && this.renderThumbnail(), h("section", { "aria-busy": toAriaBoolean(this.loading), class: { [CSS$K.container]: true } }, this.selectable ? this.renderCheckbox() : null, this.renderHeader(), h("div", { class: "card-content" }, h("slot", null)), this.renderFooter()), !thumbnailStart && this.renderThumbnail()));
|
|
4177
4177
|
}
|
|
4178
4178
|
selectCard() {
|
|
4179
4179
|
this.selected = !this.selected;
|
|
4180
4180
|
this.calciteCardSelect.emit();
|
|
4181
4181
|
}
|
|
4182
4182
|
renderThumbnail() {
|
|
4183
|
-
return getSlotted(this.el, SLOTS$
|
|
4183
|
+
return getSlotted(this.el, SLOTS$l.thumbnail) ? (h("section", { class: CSS$K.thumbnailWrapper }, h("slot", { name: SLOTS$l.thumbnail }))) : null;
|
|
4184
4184
|
}
|
|
4185
4185
|
renderCheckbox() {
|
|
4186
4186
|
const checkboxLabel = this.selected ? this.intlDeselect : this.intlSelect;
|
|
4187
|
-
return (h("calcite-label", { class: CSS$
|
|
4187
|
+
return (h("calcite-label", { class: CSS$K.checkboxWrapper, onClick: this.cardSelectClick, onKeyDown: this.cardSelectKeyDown }, h("calcite-checkbox", { checked: this.selected, label: checkboxLabel })));
|
|
4188
4188
|
}
|
|
4189
4189
|
renderHeader() {
|
|
4190
4190
|
const { el } = this;
|
|
4191
|
-
const title = getSlotted(el, SLOTS$
|
|
4192
|
-
const subtitle = getSlotted(el, SLOTS$
|
|
4191
|
+
const title = getSlotted(el, SLOTS$l.title);
|
|
4192
|
+
const subtitle = getSlotted(el, SLOTS$l.subtitle);
|
|
4193
4193
|
const hasHeader = title || subtitle;
|
|
4194
|
-
return hasHeader ? (h("header", { class: CSS$
|
|
4194
|
+
return hasHeader ? (h("header", { class: CSS$K.header }, h("slot", { name: SLOTS$l.title }), h("slot", { name: SLOTS$l.subtitle }))) : null;
|
|
4195
4195
|
}
|
|
4196
4196
|
renderFooter() {
|
|
4197
4197
|
const { el } = this;
|
|
4198
|
-
const leadingFooter = getSlotted(el, SLOTS$
|
|
4199
|
-
const trailingFooter = getSlotted(el, SLOTS$
|
|
4198
|
+
const leadingFooter = getSlotted(el, SLOTS$l.footerLeading);
|
|
4199
|
+
const trailingFooter = getSlotted(el, SLOTS$l.footerTrailing);
|
|
4200
4200
|
const hasFooter = leadingFooter || trailingFooter;
|
|
4201
|
-
return hasFooter ? (h("footer", { class: CSS$
|
|
4201
|
+
return hasFooter ? (h("footer", { class: CSS$K.footer }, h("slot", { name: SLOTS$l.footerLeading }), h("slot", { name: SLOTS$l.footerTrailing }))) : null;
|
|
4202
4202
|
}
|
|
4203
4203
|
get el() { return this; }
|
|
4204
4204
|
static get style() { return cardCss; }
|
|
@@ -4327,17 +4327,17 @@ const Checkbox = class extends HTMLElement$1 {
|
|
|
4327
4327
|
static get style() { return checkboxCss; }
|
|
4328
4328
|
};
|
|
4329
4329
|
|
|
4330
|
-
const CSS$
|
|
4330
|
+
const CSS$J = {
|
|
4331
4331
|
title: "title",
|
|
4332
4332
|
close: "close",
|
|
4333
4333
|
imageContainer: "image-container",
|
|
4334
4334
|
chipIcon: "chip-icon",
|
|
4335
4335
|
closeIcon: "close-icon"
|
|
4336
4336
|
};
|
|
4337
|
-
const TEXT$
|
|
4337
|
+
const TEXT$k = {
|
|
4338
4338
|
close: "Close"
|
|
4339
4339
|
};
|
|
4340
|
-
const SLOTS$
|
|
4340
|
+
const SLOTS$k = {
|
|
4341
4341
|
image: "image"
|
|
4342
4342
|
};
|
|
4343
4343
|
const ICONS$a = {
|
|
@@ -4374,7 +4374,7 @@ const Chip = class extends HTMLElement$1 {
|
|
|
4374
4374
|
*
|
|
4375
4375
|
* @default "Close"
|
|
4376
4376
|
*/
|
|
4377
|
-
this.dismissLabel = TEXT$
|
|
4377
|
+
this.dismissLabel = TEXT$k.close;
|
|
4378
4378
|
/** flip the icon in rtl */
|
|
4379
4379
|
this.iconFlipRtl = false;
|
|
4380
4380
|
/** specify the scale of the chip, defaults to m */
|
|
@@ -4421,13 +4421,13 @@ const Chip = class extends HTMLElement$1 {
|
|
|
4421
4421
|
//--------------------------------------------------------------------------
|
|
4422
4422
|
renderChipImage() {
|
|
4423
4423
|
const { el } = this;
|
|
4424
|
-
const hasChipImage = getSlotted(el, SLOTS$
|
|
4425
|
-
return hasChipImage ? (h("div", { class: CSS$
|
|
4424
|
+
const hasChipImage = getSlotted(el, SLOTS$k.image);
|
|
4425
|
+
return hasChipImage ? (h("div", { class: CSS$J.imageContainer, key: "image" }, h("slot", { name: SLOTS$k.image }))) : null;
|
|
4426
4426
|
}
|
|
4427
4427
|
render() {
|
|
4428
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
4429
|
-
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$
|
|
4430
|
-
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$
|
|
4428
|
+
const iconEl = (h("calcite-icon", { class: CSS$J.chipIcon, flipRtl: this.iconFlipRtl, icon: this.icon, scale: "s" }));
|
|
4429
|
+
const closeButton = (h("button", { "aria-describedby": this.guid, "aria-label": this.dismissLabel, class: CSS$J.close, onClick: this.closeClickHandler, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { class: CSS$J.closeIcon, icon: ICONS$a.close, scale: "s" })));
|
|
4430
|
+
return (h("div", { class: "container" }, this.renderChipImage(), this.icon ? iconEl : null, h("span", { class: CSS$J.title, id: this.guid }, h("slot", null)), this.closable || this.dismissible ? closeButton : null));
|
|
4431
4431
|
}
|
|
4432
4432
|
get el() { return this; }
|
|
4433
4433
|
static get style() { return chipCss; }
|
|
@@ -6543,7 +6543,7 @@ function zeroArray(array, length) {
|
|
|
6543
6543
|
|
|
6544
6544
|
var color = Color;
|
|
6545
6545
|
|
|
6546
|
-
const CSS$
|
|
6546
|
+
const CSS$I = {
|
|
6547
6547
|
container: "container",
|
|
6548
6548
|
controlSection: "control-section",
|
|
6549
6549
|
hexOptions: "color-hex-options",
|
|
@@ -6581,7 +6581,7 @@ const HSV_LIMITS = {
|
|
|
6581
6581
|
s: 100,
|
|
6582
6582
|
v: 100
|
|
6583
6583
|
};
|
|
6584
|
-
const TEXT$
|
|
6584
|
+
const TEXT$j = {
|
|
6585
6585
|
b: "B",
|
|
6586
6586
|
blue: "Blue",
|
|
6587
6587
|
deleteColor: "Delete color",
|
|
@@ -6711,115 +6711,115 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
6711
6711
|
*
|
|
6712
6712
|
* @default "B"
|
|
6713
6713
|
*/
|
|
6714
|
-
this.intlB = TEXT$
|
|
6714
|
+
this.intlB = TEXT$j.b;
|
|
6715
6715
|
/**
|
|
6716
6716
|
* Label used for the blue channel description
|
|
6717
6717
|
*
|
|
6718
6718
|
* @default "Blue"
|
|
6719
6719
|
*/
|
|
6720
|
-
this.intlBlue = TEXT$
|
|
6720
|
+
this.intlBlue = TEXT$j.blue;
|
|
6721
6721
|
/**
|
|
6722
6722
|
* Label used for the delete color button.
|
|
6723
6723
|
*
|
|
6724
6724
|
* @default "Delete color"
|
|
6725
6725
|
*/
|
|
6726
|
-
this.intlDeleteColor = TEXT$
|
|
6726
|
+
this.intlDeleteColor = TEXT$j.deleteColor;
|
|
6727
6727
|
/**
|
|
6728
6728
|
* Label used for the green channel
|
|
6729
6729
|
*
|
|
6730
6730
|
* @default "G"
|
|
6731
6731
|
*/
|
|
6732
|
-
this.intlG = TEXT$
|
|
6732
|
+
this.intlG = TEXT$j.g;
|
|
6733
6733
|
/**
|
|
6734
6734
|
* Label used for the green channel description
|
|
6735
6735
|
*
|
|
6736
6736
|
* @default "Green"
|
|
6737
6737
|
*/
|
|
6738
|
-
this.intlGreen = TEXT$
|
|
6738
|
+
this.intlGreen = TEXT$j.green;
|
|
6739
6739
|
/**
|
|
6740
6740
|
* Label used for the hue channel
|
|
6741
6741
|
*
|
|
6742
6742
|
* @default "H"
|
|
6743
6743
|
*/
|
|
6744
|
-
this.intlH = TEXT$
|
|
6744
|
+
this.intlH = TEXT$j.h;
|
|
6745
6745
|
/**
|
|
6746
6746
|
* Label used for the HSV mode
|
|
6747
6747
|
*
|
|
6748
6748
|
* @default "HSV"
|
|
6749
6749
|
*/
|
|
6750
|
-
this.intlHsv = TEXT$
|
|
6750
|
+
this.intlHsv = TEXT$j.hsv;
|
|
6751
6751
|
/**
|
|
6752
6752
|
* Label used for the hex input
|
|
6753
6753
|
*
|
|
6754
6754
|
* @default "Hex"
|
|
6755
6755
|
*/
|
|
6756
|
-
this.intlHex = TEXT$
|
|
6756
|
+
this.intlHex = TEXT$j.hex;
|
|
6757
6757
|
/**
|
|
6758
6758
|
* Label used for the hue channel description
|
|
6759
6759
|
*
|
|
6760
6760
|
* @default "Hue"
|
|
6761
6761
|
*/
|
|
6762
|
-
this.intlHue = TEXT$
|
|
6762
|
+
this.intlHue = TEXT$j.hue;
|
|
6763
6763
|
/**
|
|
6764
6764
|
* Label used for the hex input when there is no color selected.
|
|
6765
6765
|
*
|
|
6766
6766
|
* @default "No color"
|
|
6767
6767
|
*/
|
|
6768
|
-
this.intlNoColor = TEXT$
|
|
6768
|
+
this.intlNoColor = TEXT$j.noColor;
|
|
6769
6769
|
/**
|
|
6770
6770
|
* Label used for the red channel
|
|
6771
6771
|
*
|
|
6772
6772
|
* @default "R"
|
|
6773
6773
|
*/
|
|
6774
|
-
this.intlR = TEXT$
|
|
6774
|
+
this.intlR = TEXT$j.r;
|
|
6775
6775
|
/**
|
|
6776
6776
|
* Label used for the red channel description
|
|
6777
6777
|
*
|
|
6778
6778
|
* @default "Red"
|
|
6779
6779
|
*/
|
|
6780
|
-
this.intlRed = TEXT$
|
|
6780
|
+
this.intlRed = TEXT$j.red;
|
|
6781
6781
|
/**
|
|
6782
6782
|
* Label used for the RGB mode
|
|
6783
6783
|
*
|
|
6784
6784
|
* @default "RGB"
|
|
6785
6785
|
*/
|
|
6786
|
-
this.intlRgb = TEXT$
|
|
6786
|
+
this.intlRgb = TEXT$j.rgb;
|
|
6787
6787
|
/**
|
|
6788
6788
|
* Label used for the saturation channel
|
|
6789
6789
|
*
|
|
6790
6790
|
* @default "S"
|
|
6791
6791
|
*/
|
|
6792
|
-
this.intlS = TEXT$
|
|
6792
|
+
this.intlS = TEXT$j.s;
|
|
6793
6793
|
/**
|
|
6794
6794
|
* Label used for the saturation channel description
|
|
6795
6795
|
*
|
|
6796
6796
|
* @default "Saturation"
|
|
6797
6797
|
*/
|
|
6798
|
-
this.intlSaturation = TEXT$
|
|
6798
|
+
this.intlSaturation = TEXT$j.saturation;
|
|
6799
6799
|
/**
|
|
6800
6800
|
* Label used for the save color button.
|
|
6801
6801
|
*
|
|
6802
6802
|
* @default "Save color"
|
|
6803
6803
|
*/
|
|
6804
|
-
this.intlSaveColor = TEXT$
|
|
6804
|
+
this.intlSaveColor = TEXT$j.saveColor;
|
|
6805
6805
|
/**
|
|
6806
6806
|
* Label used for the saved colors section
|
|
6807
6807
|
*
|
|
6808
6808
|
* @default "Saved"
|
|
6809
6809
|
*/
|
|
6810
|
-
this.intlSaved = TEXT$
|
|
6810
|
+
this.intlSaved = TEXT$j.saved;
|
|
6811
6811
|
/**
|
|
6812
6812
|
* Label used for the value channel
|
|
6813
6813
|
*
|
|
6814
6814
|
* @default "V"
|
|
6815
6815
|
*/
|
|
6816
|
-
this.intlV = TEXT$
|
|
6816
|
+
this.intlV = TEXT$j.v;
|
|
6817
6817
|
/**
|
|
6818
6818
|
* Label used for the
|
|
6819
6819
|
*
|
|
6820
6820
|
* @default "Value"
|
|
6821
6821
|
*/
|
|
6822
|
-
this.intlValue = TEXT$
|
|
6822
|
+
this.intlValue = TEXT$j.value;
|
|
6823
6823
|
/**
|
|
6824
6824
|
* The scale of the color picker.
|
|
6825
6825
|
*/
|
|
@@ -7086,7 +7086,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7086
7086
|
const { channelMode: activeChannelMode, intlRgb, intlHsv } = this;
|
|
7087
7087
|
const active = channelMode === activeChannelMode;
|
|
7088
7088
|
const label = channelMode === "rgb" ? intlRgb : intlHsv;
|
|
7089
|
-
return (h("calcite-tab-title", { active: active, class: CSS$
|
|
7089
|
+
return (h("calcite-tab-title", { active: active, class: CSS$I.colorMode, "data-color-mode": channelMode, key: channelMode, onCalciteTabsActivate: this.handleTabActivate }, label));
|
|
7090
7090
|
};
|
|
7091
7091
|
this.renderChannelsTab = (channelMode) => {
|
|
7092
7092
|
const { channelMode: activeChannelMode, channels, intlB, intlBlue, intlG, intlGreen, intlH, intlHue, intlR, intlRed, intlS, intlSaturation, intlV, intlValue } = this;
|
|
@@ -7097,11 +7097,11 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7097
7097
|
? [intlRed, intlGreen, intlBlue]
|
|
7098
7098
|
: [intlHue, intlSaturation, intlValue];
|
|
7099
7099
|
const direction = getElementDir(this.el);
|
|
7100
|
-
return (h("calcite-tab", { active: active, class: CSS$
|
|
7100
|
+
return (h("calcite-tab", { active: active, class: CSS$I.control, key: channelMode }, h("div", { class: CSS$I.channels, dir: "ltr" }, channels.map((channel, index) =>
|
|
7101
7101
|
/* the channel container is ltr, so we apply the host's direction */
|
|
7102
7102
|
this.renderChannel(channel, index, channelLabels[index], channelAriaLabels[index], direction)))));
|
|
7103
7103
|
};
|
|
7104
|
-
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$
|
|
7104
|
+
this.renderChannel = (value, index, label, ariaLabel, direction) => (h("calcite-input", { class: CSS$I.channel, "data-channel-index": index, dir: direction, label: ariaLabel, numberButtonType: "none", numberingSystem: this.numberingSystem, onCalciteInputChange: this.handleChannelChange, onCalciteInputInput: this.handleChannelInput, onKeyDown: this.handleKeyDown, prefixText: label, scale: this.scale === "l" ? "m" : "s", type: "number", value: value === null || value === void 0 ? void 0 : value.toString() }));
|
|
7105
7105
|
this.deleteColor = () => {
|
|
7106
7106
|
const colorToDelete = this.color.hex();
|
|
7107
7107
|
const inStorage = this.savedColors.indexOf(colorToDelete) > -1;
|
|
@@ -7204,7 +7204,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7204
7204
|
this.shiftKeyChannelAdjustment = 0;
|
|
7205
7205
|
const key = event.key;
|
|
7206
7206
|
if ((key !== "ArrowUp" && key !== "ArrowDown") ||
|
|
7207
|
-
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$
|
|
7207
|
+
!event.composedPath().some((node) => { var _a; return (_a = node.classList) === null || _a === void 0 ? void 0 : _a.contains(CSS$I.channel); })) {
|
|
7208
7208
|
return;
|
|
7209
7209
|
}
|
|
7210
7210
|
const { shiftKey } = event;
|
|
@@ -7275,20 +7275,20 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7275
7275
|
const hueLeft = hueScopeLeft !== null && hueScopeLeft !== void 0 ? hueScopeLeft : (colorFieldWidth * DEFAULT_COLOR$1.hue()) / HSV_LIMITS.h;
|
|
7276
7276
|
const noColor = color === null;
|
|
7277
7277
|
const vertical = scopeOrientation === "vertical";
|
|
7278
|
-
return (h("div", { class: CSS$
|
|
7279
|
-
[CSS$
|
|
7280
|
-
[CSS$
|
|
7281
|
-
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$
|
|
7282
|
-
[CSS$
|
|
7283
|
-
[CSS$
|
|
7284
|
-
} }, hideHex ? null : (h("div", { class: CSS$
|
|
7285
|
-
[CSS$
|
|
7286
|
-
[CSS$
|
|
7287
|
-
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$
|
|
7288
|
-
[CSS$
|
|
7289
|
-
[CSS$
|
|
7290
|
-
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$
|
|
7291
|
-
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$
|
|
7278
|
+
return (h("div", { class: CSS$I.container }, h("div", { class: CSS$I.colorFieldAndSliderWrap }, h("canvas", { class: {
|
|
7279
|
+
[CSS$I.colorFieldAndSlider]: true,
|
|
7280
|
+
[CSS$I.colorFieldAndSliderInteractive]: colorFieldAndSliderInteractive
|
|
7281
|
+
}, onPointerDown: this.handleColorFieldAndSliderPointerDown, onPointerEnter: this.handleColorFieldAndSliderPointerEnterOrMove, onPointerLeave: this.handleColorFieldAndSliderPointerLeave, onPointerMove: this.handleColorFieldAndSliderPointerEnterOrMove, ref: this.initColorFieldAndSlider }), h("div", { "aria-label": vertical ? this.intlValue : this.intlSaturation, "aria-valuemax": vertical ? HSV_LIMITS.v : HSV_LIMITS.s, "aria-valuemin": "0", "aria-valuenow": (vertical ? color === null || color === void 0 ? void 0 : color.saturationv() : color === null || color === void 0 ? void 0 : color.value()) || "0", class: { [CSS$I.scope]: true, [CSS$I.colorFieldScope]: true }, onKeyDown: this.handleColorFieldScopeKeyDown, ref: this.storeColorFieldScope, role: "slider", style: { top: `${colorFieldScopeTop || 0}px`, left: `${colorFieldScopeLeft || 0}px` }, tabindex: "0" }), h("div", { "aria-label": this.intlHue, "aria-valuemax": HSV_LIMITS.h, "aria-valuemin": "0", "aria-valuenow": (color === null || color === void 0 ? void 0 : color.round().hue()) || DEFAULT_COLOR$1.round().hue(), class: { [CSS$I.scope]: true, [CSS$I.hueScope]: true }, onKeyDown: this.handleHueScopeKeyDown, ref: this.storeHueScope, role: "slider", style: { top: `${hueTop}px`, left: `${hueLeft}px` }, tabindex: "0" })), hideHex && hideChannels ? null : (h("div", { class: {
|
|
7282
|
+
[CSS$I.controlSection]: true,
|
|
7283
|
+
[CSS$I.section]: true
|
|
7284
|
+
} }, hideHex ? null : (h("div", { class: CSS$I.hexOptions }, h("span", { class: {
|
|
7285
|
+
[CSS$I.header]: true,
|
|
7286
|
+
[CSS$I.headerHex]: true
|
|
7287
|
+
} }, intlHex), h("calcite-color-picker-hex-input", { allowEmpty: allowEmpty, class: CSS$I.control, numberingSystem: this.numberingSystem, onCalciteColorPickerHexInputChange: this.handleHexInputChange, scale: hexInputScale, value: selectedColorInHex }))), hideChannels ? null : (h("calcite-tabs", { class: {
|
|
7288
|
+
[CSS$I.colorModeContainer]: true,
|
|
7289
|
+
[CSS$I.splitSection]: true
|
|
7290
|
+
}, scale: hexInputScale }, h("calcite-tab-nav", { slot: "tab-nav" }, this.renderChannelsTabTitle("rgb"), this.renderChannelsTabTitle("hsv")), this.renderChannelsTab("rgb"), this.renderChannelsTab("hsv"))))), hideSaved ? null : (h("div", { class: { [CSS$I.savedColorsSection]: true, [CSS$I.section]: true } }, h("div", { class: CSS$I.header }, h("label", null, intlSaved), h("div", { class: CSS$I.savedColorsButtons }, h("calcite-button", { appearance: "transparent", class: CSS$I.deleteColor, color: "neutral", disabled: noColor, iconStart: "minus", label: intlDeleteColor, onClick: this.deleteColor, scale: hexInputScale, type: "button" }), h("calcite-button", { appearance: "transparent", class: CSS$I.saveColor, color: "neutral", disabled: noColor, iconStart: "plus", label: intlSaveColor, onClick: this.saveColor, scale: hexInputScale, type: "button" }))), savedColors.length > 0 ? (h("div", { class: CSS$I.savedColors }, [
|
|
7291
|
+
...savedColors.map((color) => (h("calcite-color-picker-swatch", { active: selectedColorInHex === color, class: CSS$I.savedColor, color: color, key: color, onClick: this.handleSavedColorSelect, onKeyDown: this.handleSavedColorKeyDown, scale: scale, tabIndex: 0 })))
|
|
7292
7292
|
])) : null))));
|
|
7293
7293
|
}
|
|
7294
7294
|
// --------------------------------------------------------------------------
|
|
@@ -7483,7 +7483,7 @@ const ColorPicker = class extends HTMLElement$1 {
|
|
|
7483
7483
|
static get style() { return colorPickerCss; }
|
|
7484
7484
|
};
|
|
7485
7485
|
|
|
7486
|
-
const CSS$
|
|
7486
|
+
const CSS$H = {
|
|
7487
7487
|
container: "container",
|
|
7488
7488
|
preview: "preview",
|
|
7489
7489
|
input: "input"
|
|
@@ -7514,13 +7514,13 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7514
7514
|
*
|
|
7515
7515
|
* @default "Hex"
|
|
7516
7516
|
*/
|
|
7517
|
-
this.intlHex = TEXT$
|
|
7517
|
+
this.intlHex = TEXT$j.hex;
|
|
7518
7518
|
/**
|
|
7519
7519
|
* Label used for the hex input when there is no color selected.
|
|
7520
7520
|
*
|
|
7521
7521
|
* @default "No color"
|
|
7522
7522
|
*/
|
|
7523
|
-
this.intlNoColor = TEXT$
|
|
7523
|
+
this.intlNoColor = TEXT$j.noColor;
|
|
7524
7524
|
/**
|
|
7525
7525
|
* The component's scale.
|
|
7526
7526
|
*/
|
|
@@ -7614,7 +7614,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7614
7614
|
render() {
|
|
7615
7615
|
const { intlHex, value } = this;
|
|
7616
7616
|
const hexInputValue = this.formatForInternalInput(value);
|
|
7617
|
-
return (h("div", { class: CSS$
|
|
7617
|
+
return (h("div", { class: CSS$H.container }, h("calcite-input", { class: CSS$H.input, label: intlHex, maxLength: 6, numberingSystem: this.numberingSystem, onCalciteInputChange: this.onInputChange, onCalciteInternalInputBlur: this.onCalciteInternalInputBlur, onKeyDown: this.handleKeyDown, prefixText: "#", ref: this.storeInputRef, scale: this.scale, value: hexInputValue }), hexInputValue ? (h("calcite-color-picker-swatch", { active: true, class: CSS$H.preview, color: `#${hexInputValue}`, scale: this.scale })) : null));
|
|
7618
7618
|
}
|
|
7619
7619
|
//--------------------------------------------------------------------------
|
|
7620
7620
|
//
|
|
@@ -7673,7 +7673,7 @@ const ColorPickerHexInput = class extends HTMLElement$1 {
|
|
|
7673
7673
|
static get style() { return colorPickerHexInputCss; }
|
|
7674
7674
|
};
|
|
7675
7675
|
|
|
7676
|
-
const CSS$
|
|
7676
|
+
const CSS$G = {
|
|
7677
7677
|
swatch: "swatch",
|
|
7678
7678
|
noColorIcon: "no-color-icon"
|
|
7679
7679
|
};
|
|
@@ -7720,7 +7720,7 @@ const ColorPickerSwatch = class extends HTMLElement$1 {
|
|
|
7720
7720
|
const hex = internalColor.hex();
|
|
7721
7721
|
const theme = getThemeName(el);
|
|
7722
7722
|
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
7723
|
-
return (h("svg", { class: CSS$
|
|
7723
|
+
return (h("svg", { class: CSS$G.swatch, xmlns: "http://www.w3.org/2000/svg" }, h("title", null, hex), h("rect", { fill: hex, height: "100%", id: "swatch", rx: borderRadius, stroke: borderColor, "stroke-width": "2", style: { "clip-path": `inset(0 round ${borderRadius})` }, width: "100%" })));
|
|
7724
7724
|
}
|
|
7725
7725
|
get el() { return this; }
|
|
7726
7726
|
static get watchers() { return {
|
|
@@ -9370,7 +9370,7 @@ const defaultOffsetDistance = Math.ceil(Math.hypot(visiblePointerSize, visiblePo
|
|
|
9370
9370
|
const ComboboxItem$1 = "CALCITE-COMBOBOX-ITEM";
|
|
9371
9371
|
const ComboboxItemGroup$1 = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
9372
9372
|
const ComboboxChildSelector = `${ComboboxItem$1}, ${ComboboxItemGroup$1}`;
|
|
9373
|
-
const TEXT$
|
|
9373
|
+
const TEXT$i = {
|
|
9374
9374
|
removeTag: "Remove tag"
|
|
9375
9375
|
};
|
|
9376
9376
|
|
|
@@ -9461,7 +9461,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
9461
9461
|
*
|
|
9462
9462
|
* @default "Remove tag"
|
|
9463
9463
|
*/
|
|
9464
|
-
this.intlRemoveTag = TEXT$
|
|
9464
|
+
this.intlRemoveTag = TEXT$i.removeTag;
|
|
9465
9465
|
//--------------------------------------------------------------------------
|
|
9466
9466
|
//
|
|
9467
9467
|
// Private State/Props
|
|
@@ -10211,7 +10211,7 @@ const Combobox = class extends HTMLElement$1 {
|
|
|
10211
10211
|
static get style() { return comboboxCss; }
|
|
10212
10212
|
};
|
|
10213
10213
|
|
|
10214
|
-
const CSS$
|
|
10214
|
+
const CSS$F = {
|
|
10215
10215
|
icon: "icon",
|
|
10216
10216
|
iconActive: "icon--active",
|
|
10217
10217
|
custom: "icon--custom",
|
|
@@ -10302,18 +10302,18 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10302
10302
|
// --------------------------------------------------------------------------
|
|
10303
10303
|
renderIcon(isSingle) {
|
|
10304
10304
|
const { icon, disabled, selected } = this;
|
|
10305
|
-
const level = `${CSS$
|
|
10305
|
+
const level = `${CSS$F.icon}--indent`;
|
|
10306
10306
|
const defaultIcon = isSingle ? "dot" : "check";
|
|
10307
10307
|
const iconPath = disabled ? "circle-disallowed" : defaultIcon;
|
|
10308
10308
|
const showDot = isSingle && !icon && !disabled;
|
|
10309
10309
|
return showDot ? (h("span", { class: {
|
|
10310
|
-
[CSS$
|
|
10311
|
-
[CSS$
|
|
10310
|
+
[CSS$F.icon]: true,
|
|
10311
|
+
[CSS$F.dot]: true,
|
|
10312
10312
|
[level]: true
|
|
10313
10313
|
} })) : (h("calcite-icon", { class: {
|
|
10314
|
-
[CSS$
|
|
10315
|
-
[CSS$
|
|
10316
|
-
[CSS$
|
|
10314
|
+
[CSS$F.icon]: !icon,
|
|
10315
|
+
[CSS$F.custom]: !!icon,
|
|
10316
|
+
[CSS$F.iconActive]: icon && selected,
|
|
10317
10317
|
[level]: true
|
|
10318
10318
|
}, icon: icon || iconPath, scale: "s" }));
|
|
10319
10319
|
}
|
|
@@ -10326,13 +10326,13 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10326
10326
|
render() {
|
|
10327
10327
|
const isSingleSelect = getElementProp(this.el, "selection-mode", "multi") === "single";
|
|
10328
10328
|
const classes = {
|
|
10329
|
-
[CSS$
|
|
10330
|
-
[CSS$
|
|
10331
|
-
[CSS$
|
|
10332
|
-
[CSS$
|
|
10329
|
+
[CSS$F.label]: true,
|
|
10330
|
+
[CSS$F.selected]: this.selected,
|
|
10331
|
+
[CSS$F.active]: this.active,
|
|
10332
|
+
[CSS$F.single]: isSingleSelect
|
|
10333
10333
|
};
|
|
10334
10334
|
const depth = getDepth(this.el);
|
|
10335
|
-
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$
|
|
10335
|
+
return (h(Host, { "aria-hidden": "true" }, h("div", { class: `container scale--${this.scale}`, style: { "--calcite-combobox-item-spacing-indent-multiplier": `${depth}` } }, h("li", { class: classes, id: this.guid, onClick: this.itemClickHandler }, this.renderIcon(isSingleSelect), h("span", { class: CSS$F.title }, this.textLabel)), this.renderChildren())));
|
|
10336
10336
|
}
|
|
10337
10337
|
get el() { return this; }
|
|
10338
10338
|
static get watchers() { return {
|
|
@@ -10341,7 +10341,7 @@ const ComboboxItem = class extends HTMLElement$1 {
|
|
|
10341
10341
|
static get style() { return comboboxItemCss; }
|
|
10342
10342
|
};
|
|
10343
10343
|
|
|
10344
|
-
const CSS$
|
|
10344
|
+
const CSS$E = {
|
|
10345
10345
|
list: "list",
|
|
10346
10346
|
label: "label",
|
|
10347
10347
|
title: "title"
|
|
@@ -10373,8 +10373,8 @@ const ComboboxItemGroup = class extends HTMLElement$1 {
|
|
|
10373
10373
|
// --------------------------------------------------------------------------
|
|
10374
10374
|
render() {
|
|
10375
10375
|
const { el, scale } = this;
|
|
10376
|
-
const indent = `${CSS$
|
|
10377
|
-
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$
|
|
10376
|
+
const indent = `${CSS$E.label}--indent-${getDepth(el)}`;
|
|
10377
|
+
return (h("ul", { "aria-labelledby": this.guid, class: { [CSS$E.list]: true, [`scale--${scale}`]: true }, role: "group" }, h("li", { class: { [CSS$E.label]: true, [indent]: true }, id: this.guid, role: "presentation" }, h("span", { class: CSS$E.title }, this.label)), h("slot", null)));
|
|
10378
10378
|
}
|
|
10379
10379
|
get el() { return this; }
|
|
10380
10380
|
static get style() { return comboboxItemGroupCss; }
|
|
@@ -10879,7 +10879,7 @@ function getDaysDiff(date1, date2) {
|
|
|
10879
10879
|
}
|
|
10880
10880
|
|
|
10881
10881
|
const HEADING_LEVEL$6 = 2;
|
|
10882
|
-
const TEXT$
|
|
10882
|
+
const TEXT$h = {
|
|
10883
10883
|
nextMonth: "Next month",
|
|
10884
10884
|
prevMonth: "Previous month",
|
|
10885
10885
|
year: "Year"
|
|
@@ -10899,19 +10899,19 @@ const DatePicker = class extends HTMLElement$1 {
|
|
|
10899
10899
|
*
|
|
10900
10900
|
* @default "Previous month"
|
|
10901
10901
|
*/
|
|
10902
|
-
this.intlPrevMonth = TEXT$
|
|
10902
|
+
this.intlPrevMonth = TEXT$h.prevMonth;
|
|
10903
10903
|
/**
|
|
10904
10904
|
* Localized string for "next month" (used for aria label)
|
|
10905
10905
|
*
|
|
10906
10906
|
* @default "Next month"
|
|
10907
10907
|
*/
|
|
10908
|
-
this.intlNextMonth = TEXT$
|
|
10908
|
+
this.intlNextMonth = TEXT$h.nextMonth;
|
|
10909
10909
|
/**
|
|
10910
10910
|
* Localized string for "year" (used for aria label)
|
|
10911
10911
|
*
|
|
10912
10912
|
* @default "Year"
|
|
10913
10913
|
*/
|
|
10914
|
-
this.intlYear = TEXT$
|
|
10914
|
+
this.intlYear = TEXT$h.year;
|
|
10915
10915
|
/** BCP 47 language tag for desired language and country format */
|
|
10916
10916
|
this.locale = document.documentElement.lang || "en";
|
|
10917
10917
|
/** specify the scale of the date picker */
|
|
@@ -11839,7 +11839,7 @@ const DatePickerMonthHeader = class extends HTMLElement$1 {
|
|
|
11839
11839
|
static get style() { return datePickerMonthHeaderCss; }
|
|
11840
11840
|
};
|
|
11841
11841
|
|
|
11842
|
-
const SLOTS$
|
|
11842
|
+
const SLOTS$j = {
|
|
11843
11843
|
dropdownTrigger: "dropdown-trigger"
|
|
11844
11844
|
};
|
|
11845
11845
|
|
|
@@ -12089,7 +12089,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12089
12089
|
}
|
|
12090
12090
|
render() {
|
|
12091
12091
|
const { open, guid } = this;
|
|
12092
|
-
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$
|
|
12092
|
+
return (h(Host, null, h("div", { class: "calcite-dropdown-trigger-container", id: `${guid}-menubutton`, onClick: this.openCalciteDropdown, onKeyDown: this.keyDownHandler, ref: this.setReferenceEl }, h("slot", { "aria-controls": `${guid}-menu`, "aria-expanded": toAriaBoolean(open), "aria-haspopup": "menu", name: SLOTS$j.dropdownTrigger, onSlotchange: this.updateTriggers })), h("div", { "aria-hidden": toAriaBoolean(!open), class: "calcite-dropdown-wrapper", ref: this.setFloatingEl }, h("div", { "aria-labelledby": `${guid}-menubutton`, class: {
|
|
12093
12093
|
["calcite-dropdown-content"]: true,
|
|
12094
12094
|
[FloatingCSS.animation]: true,
|
|
12095
12095
|
[FloatingCSS.animationActive]: open
|
|
@@ -12177,7 +12177,9 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12177
12177
|
handleItemSelect(event) {
|
|
12178
12178
|
this.updateSelectedItems();
|
|
12179
12179
|
event.stopPropagation();
|
|
12180
|
-
this.calciteDropdownSelect.emit(
|
|
12180
|
+
this.calciteDropdownSelect.emit({
|
|
12181
|
+
item: event.detail.requestedDropdownItem
|
|
12182
|
+
});
|
|
12181
12183
|
if (!this.disableCloseOnSelect ||
|
|
12182
12184
|
event.detail.requestedDropdownGroup.selectionMode === "none") {
|
|
12183
12185
|
this.closeCalciteDropdown();
|
|
@@ -12271,7 +12273,7 @@ const Dropdown = class extends HTMLElement$1 {
|
|
|
12271
12273
|
static get style() { return dropdownCss; }
|
|
12272
12274
|
};
|
|
12273
12275
|
|
|
12274
|
-
const CSS$
|
|
12276
|
+
const CSS$D = {
|
|
12275
12277
|
containerSmall: "container--s",
|
|
12276
12278
|
containerMedium: "container--m",
|
|
12277
12279
|
containerLarge: "container--l"
|
|
@@ -12305,9 +12307,9 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12305
12307
|
const dropdownSeparator = this.groupPosition > 0 ? h("div", { class: "dropdown-separator", role: "separator" }) : null;
|
|
12306
12308
|
return (h(Host, { "aria-label": this.groupTitle, role: "group" }, h("div", { class: {
|
|
12307
12309
|
container: true,
|
|
12308
|
-
[CSS$
|
|
12309
|
-
[CSS$
|
|
12310
|
-
[CSS$
|
|
12310
|
+
[CSS$D.containerSmall]: scale === "s",
|
|
12311
|
+
[CSS$D.containerMedium]: scale === "m",
|
|
12312
|
+
[CSS$D.containerLarge]: scale === "l"
|
|
12311
12313
|
}, title: this.groupTitle }, dropdownSeparator, groupTitle, h("slot", null))));
|
|
12312
12314
|
}
|
|
12313
12315
|
//--------------------------------------------------------------------------
|
|
@@ -12335,7 +12337,7 @@ const DropdownGroup = class extends HTMLElement$1 {
|
|
|
12335
12337
|
static get style() { return dropdownGroupCss; }
|
|
12336
12338
|
};
|
|
12337
12339
|
|
|
12338
|
-
const CSS$
|
|
12340
|
+
const CSS$C = {
|
|
12339
12341
|
containerLink: "container--link",
|
|
12340
12342
|
containerSmall: "container--s",
|
|
12341
12343
|
containerMedium: "container--m",
|
|
@@ -12407,13 +12409,13 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12407
12409
|
const itemAria = this.selectionMode !== "none" ? toAriaBoolean(this.active) : null;
|
|
12408
12410
|
return (h(Host, { "aria-checked": itemAria, role: itemRole, tabindex: "0" }, h("div", { class: {
|
|
12409
12411
|
container: true,
|
|
12410
|
-
[CSS$
|
|
12411
|
-
[CSS$
|
|
12412
|
-
[CSS$
|
|
12413
|
-
[CSS$
|
|
12414
|
-
[CSS$
|
|
12415
|
-
[CSS$
|
|
12416
|
-
[CSS$
|
|
12412
|
+
[CSS$C.containerLink]: !!this.href,
|
|
12413
|
+
[CSS$C.containerSmall]: scale === "s",
|
|
12414
|
+
[CSS$C.containerMedium]: scale === "m",
|
|
12415
|
+
[CSS$C.containerLarge]: scale === "l",
|
|
12416
|
+
[CSS$C.containerMulti]: this.selectionMode === "multi",
|
|
12417
|
+
[CSS$C.containerSingle]: this.selectionMode === "single",
|
|
12418
|
+
[CSS$C.containerNone]: this.selectionMode === "none"
|
|
12417
12419
|
} }, this.selectionMode !== "none" ? (h("calcite-icon", { class: "dropdown-item-icon", icon: this.selectionMode === "multi" ? "check" : "bullet-point", scale: "s" })) : null, contentEl)));
|
|
12418
12420
|
}
|
|
12419
12421
|
//--------------------------------------------------------------------------
|
|
@@ -12501,7 +12503,7 @@ const DropdownItem = class extends HTMLElement$1 {
|
|
|
12501
12503
|
static get style() { return dropdownItemCss; }
|
|
12502
12504
|
};
|
|
12503
12505
|
|
|
12504
|
-
const CSS$
|
|
12506
|
+
const CSS$B = {
|
|
12505
12507
|
button: "button"
|
|
12506
12508
|
};
|
|
12507
12509
|
const ICONS$9 = {
|
|
@@ -12576,7 +12578,7 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12576
12578
|
render() {
|
|
12577
12579
|
const { appearance, color, disabled, loading, scale, textEnabled, icon, label, text } = this;
|
|
12578
12580
|
const title = !textEnabled ? label || text || null : null;
|
|
12579
|
-
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$
|
|
12581
|
+
return (h("calcite-button", { appearance: appearance === "solid" ? "solid" : "outline", class: CSS$B.button, color: color, disabled: disabled, iconStart: icon, label: label, loading: loading, ref: (buttonEl) => {
|
|
12580
12582
|
this.buttonEl = buttonEl;
|
|
12581
12583
|
}, round: true, scale: scale, title: title, type: "button", width: "auto" }, this.textEnabled ? this.text : null));
|
|
12582
12584
|
}
|
|
@@ -12584,11 +12586,11 @@ const Fab = class extends HTMLElement$1 {
|
|
|
12584
12586
|
static get style() { return fabCss; }
|
|
12585
12587
|
};
|
|
12586
12588
|
|
|
12587
|
-
const CSS$
|
|
12589
|
+
const CSS$A = {
|
|
12588
12590
|
container: "container",
|
|
12589
12591
|
searchIcon: "search-icon"
|
|
12590
12592
|
};
|
|
12591
|
-
const TEXT$
|
|
12593
|
+
const TEXT$g = {
|
|
12592
12594
|
filterLabel: "Filter",
|
|
12593
12595
|
clear: "Clear filter"
|
|
12594
12596
|
};
|
|
@@ -12704,7 +12706,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12704
12706
|
// --------------------------------------------------------------------------
|
|
12705
12707
|
render() {
|
|
12706
12708
|
const { disabled, scale } = this;
|
|
12707
|
-
return (h(Fragment, null, h("div", { class: CSS$
|
|
12709
|
+
return (h(Fragment, null, h("div", { class: CSS$A.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT$g.filterLabel, clearable: true, disabled: disabled, icon: ICONS$8.search, intlClear: this.intlClear || TEXT$g.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
12708
12710
|
this.textInput = el;
|
|
12709
12711
|
}, scale: scale, type: "text", value: this.value })))));
|
|
12710
12712
|
}
|
|
@@ -12716,7 +12718,7 @@ const Filter = class extends HTMLElement$1 {
|
|
|
12716
12718
|
static get style() { return filterCss; }
|
|
12717
12719
|
};
|
|
12718
12720
|
|
|
12719
|
-
const CSS$
|
|
12721
|
+
const CSS$z = {
|
|
12720
12722
|
frame: "frame",
|
|
12721
12723
|
frameAdvancing: "frame--advancing",
|
|
12722
12724
|
frameRetreating: "frame--retreating"
|
|
@@ -12817,9 +12819,9 @@ const Flow = class extends HTMLElement$1 {
|
|
|
12817
12819
|
render() {
|
|
12818
12820
|
const { flowDirection } = this;
|
|
12819
12821
|
const frameDirectionClasses = {
|
|
12820
|
-
[CSS$
|
|
12821
|
-
[CSS$
|
|
12822
|
-
[CSS$
|
|
12822
|
+
[CSS$z.frame]: true,
|
|
12823
|
+
[CSS$z.frameAdvancing]: flowDirection === "advancing",
|
|
12824
|
+
[CSS$z.frameRetreating]: flowDirection === "retreating"
|
|
12823
12825
|
};
|
|
12824
12826
|
return (h("div", { class: frameDirectionClasses }, h("slot", null)));
|
|
12825
12827
|
}
|
|
@@ -13045,7 +13047,7 @@ const Graph = class extends HTMLElement$1 {
|
|
|
13045
13047
|
static get style() { return graphCss; }
|
|
13046
13048
|
};
|
|
13047
13049
|
|
|
13048
|
-
const CSS$
|
|
13050
|
+
const CSS$y = {
|
|
13049
13051
|
handle: "handle",
|
|
13050
13052
|
handleActivated: "handle--activated"
|
|
13051
13053
|
};
|
|
@@ -13116,7 +13118,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13116
13118
|
render() {
|
|
13117
13119
|
return (
|
|
13118
13120
|
// Needs to be a span because of https://github.com/SortableJS/Sortable/issues/1486
|
|
13119
|
-
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$
|
|
13121
|
+
h("span", { "aria-pressed": toAriaBoolean(this.activated), class: { [CSS$y.handle]: true, [CSS$y.handleActivated]: this.activated }, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, ref: (el) => {
|
|
13120
13122
|
this.handleButton = el;
|
|
13121
13123
|
}, role: "button", tabindex: "0", title: this.textTitle }, h("calcite-icon", { icon: ICONS$7.drag, scale: "s" })));
|
|
13122
13124
|
}
|
|
@@ -13124,7 +13126,7 @@ const Handle = class extends HTMLElement$1 {
|
|
|
13124
13126
|
static get style() { return handleCss; }
|
|
13125
13127
|
};
|
|
13126
13128
|
|
|
13127
|
-
const CSS$
|
|
13129
|
+
const CSS$x = {
|
|
13128
13130
|
icon: "icon",
|
|
13129
13131
|
flipRtl: "flip-rtl"
|
|
13130
13132
|
};
|
|
@@ -13244,7 +13246,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13244
13246
|
const semantic = !!textLabel;
|
|
13245
13247
|
const paths = [].concat(pathData || "");
|
|
13246
13248
|
return (h(Host, { "aria-hidden": toAriaBoolean(!semantic), "aria-label": semantic ? textLabel : null, role: semantic ? "img" : null }, h("svg", { class: {
|
|
13247
|
-
[CSS$
|
|
13249
|
+
[CSS$x.flipRtl]: dir === "rtl" && flipRtl,
|
|
13248
13250
|
svg: true
|
|
13249
13251
|
}, fill: "currentColor", height: "100%", viewBox: `0 0 ${size} ${size}`, width: "100%", xmlns: "http://www.w3.org/2000/svg" }, paths.map((path) => typeof path === "string" ? (h("path", { d: path })) : (h("path", { d: path.d, opacity: "opacity" in path ? path.opacity : 1 }))))));
|
|
13250
13252
|
}
|
|
@@ -13285,7 +13287,7 @@ const Icon = class extends HTMLElement$1 {
|
|
|
13285
13287
|
static get style() { return iconCss; }
|
|
13286
13288
|
};
|
|
13287
13289
|
|
|
13288
|
-
const CSS$
|
|
13290
|
+
const CSS$w = {
|
|
13289
13291
|
wrapper: "wrapper",
|
|
13290
13292
|
confirmChangesButton: "confirm-changes-button",
|
|
13291
13293
|
cancelEditingButton: "cancel-editing-button",
|
|
@@ -13294,7 +13296,7 @@ const CSS$v = {
|
|
|
13294
13296
|
enableEditingButton: "enable-editing-button",
|
|
13295
13297
|
controlsWrapper: "controls-wrapper"
|
|
13296
13298
|
};
|
|
13297
|
-
const TEXT$
|
|
13299
|
+
const TEXT$f = {
|
|
13298
13300
|
intlEnablingEditing: "Click to edit",
|
|
13299
13301
|
intlCancelEditing: "Cancel",
|
|
13300
13302
|
intlConfirmChanges: "Save"
|
|
@@ -13328,19 +13330,19 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13328
13330
|
*
|
|
13329
13331
|
* @default "Click to edit"
|
|
13330
13332
|
*/
|
|
13331
|
-
this.intlEnableEditing = TEXT$
|
|
13333
|
+
this.intlEnableEditing = TEXT$f.intlEnablingEditing;
|
|
13332
13334
|
/**
|
|
13333
13335
|
* specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
|
|
13334
13336
|
*
|
|
13335
13337
|
* @default "Cancel"
|
|
13336
13338
|
*/
|
|
13337
|
-
this.intlCancelEditing = TEXT$
|
|
13339
|
+
this.intlCancelEditing = TEXT$f.intlCancelEditing;
|
|
13338
13340
|
/**
|
|
13339
13341
|
* specify text to be user for the confirm changes button's aria-label, defaults to `Save`
|
|
13340
13342
|
*
|
|
13341
13343
|
* @default "Save"
|
|
13342
13344
|
*/
|
|
13343
|
-
this.intlConfirmChanges = TEXT$
|
|
13345
|
+
this.intlConfirmChanges = TEXT$f.intlConfirmChanges;
|
|
13344
13346
|
this.mutationObserver = createObserver("mutation", () => this.mutationObserverCallback());
|
|
13345
13347
|
this.enableEditing = () => {
|
|
13346
13348
|
var _a, _b;
|
|
@@ -13445,12 +13447,12 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13445
13447
|
updateHostInteraction(this);
|
|
13446
13448
|
}
|
|
13447
13449
|
render() {
|
|
13448
|
-
return (h("div", { class: CSS$
|
|
13450
|
+
return (h("div", { class: CSS$w.wrapper, onClick: this.enableEditingHandler, onKeyDown: this.escapeKeyHandler }, h("div", { class: CSS$w.inputWrapper }, h("slot", null)), h("div", { class: CSS$w.controlsWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.enableEditingButton, color: "neutral", disabled: this.disabled, iconStart: "pencil", label: this.intlEnableEditing, onClick: this.enableEditingHandler, ref: (el) => (this.enableEditingButton = el), scale: this.scale, style: {
|
|
13449
13451
|
opacity: this.editingEnabled ? "0" : "1",
|
|
13450
13452
|
width: this.editingEnabled ? "0" : "inherit"
|
|
13451
13453
|
}, type: "button" }), this.shouldShowControls && [
|
|
13452
|
-
h("div", { class: CSS$
|
|
13453
|
-
h("calcite-button", { appearance: "solid", class: CSS$
|
|
13454
|
+
h("div", { class: CSS$w.cancelEditingButtonWrapper }, h("calcite-button", { appearance: "transparent", class: CSS$w.cancelEditingButton, color: "neutral", disabled: this.disabled, iconStart: "x", label: this.intlCancelEditing, onClick: this.cancelEditingHandler, ref: (el) => (this.cancelEditingButton = el), scale: this.scale, type: "button" })),
|
|
13455
|
+
h("calcite-button", { appearance: "solid", class: CSS$w.confirmChangesButton, color: "blue", disabled: this.disabled, iconStart: "check", label: this.intlConfirmChanges, loading: this.loading, onClick: this.confirmChangesHandler, ref: (el) => (this.confirmEditingButton = el), scale: this.scale, type: "button" })
|
|
13454
13456
|
])));
|
|
13455
13457
|
}
|
|
13456
13458
|
//--------------------------------------------------------------------------
|
|
@@ -13513,7 +13515,7 @@ const InlineEditable = class extends HTMLElement$1 {
|
|
|
13513
13515
|
static get style() { return inlineEditableCss; }
|
|
13514
13516
|
};
|
|
13515
13517
|
|
|
13516
|
-
const CSS$
|
|
13518
|
+
const CSS$v = {
|
|
13517
13519
|
loader: "loader",
|
|
13518
13520
|
clearButton: "clear-button",
|
|
13519
13521
|
editingEnabled: "editing-enabled",
|
|
@@ -13537,10 +13539,10 @@ const INPUT_TYPE_ICONS = {
|
|
|
13537
13539
|
time: "clock",
|
|
13538
13540
|
search: "search"
|
|
13539
13541
|
};
|
|
13540
|
-
const SLOTS$
|
|
13542
|
+
const SLOTS$i = {
|
|
13541
13543
|
action: "action"
|
|
13542
13544
|
};
|
|
13543
|
-
const TEXT$
|
|
13545
|
+
const TEXT$e = {
|
|
13544
13546
|
clear: "Clear value"
|
|
13545
13547
|
};
|
|
13546
13548
|
|
|
@@ -13593,7 +13595,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
13593
13595
|
*
|
|
13594
13596
|
* @default "Loading"
|
|
13595
13597
|
*/
|
|
13596
|
-
this.intlLoading = TEXT$
|
|
13598
|
+
this.intlLoading = TEXT$u.loading;
|
|
13597
13599
|
/** When true, the icon is flipped in RTL. */
|
|
13598
13600
|
this.iconFlipRtl = false;
|
|
13599
13601
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -14072,34 +14074,34 @@ const Input = class extends HTMLElement$1 {
|
|
|
14072
14074
|
// --------------------------------------------------------------------------
|
|
14073
14075
|
render() {
|
|
14074
14076
|
const dir = getElementDir(this.el);
|
|
14075
|
-
const loader = (h("div", { class: CSS$
|
|
14076
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$
|
|
14077
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
14077
|
+
const loader = (h("div", { class: CSS$v.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
14078
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$e.clear, class: CSS$v.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
14079
|
+
const iconEl = (h("calcite-icon", { class: CSS$v.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
14078
14080
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
14079
14081
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
14080
|
-
[CSS$
|
|
14081
|
-
[CSS$
|
|
14082
|
+
[CSS$v.numberButtonItem]: true,
|
|
14083
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14082
14084
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
14083
14085
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
14084
|
-
[CSS$
|
|
14085
|
-
[CSS$
|
|
14086
|
+
[CSS$v.numberButtonItem]: true,
|
|
14087
|
+
[CSS$v.buttonItemHorizontal]: isHorizontalNumberButton
|
|
14086
14088
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.numberButtonPointerDownHandler, onPointerOut: this.numberButtonPointerUpAndOutHandler, onPointerUp: this.numberButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
14087
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
14088
|
-
const prefixText = h("div", { class: CSS$
|
|
14089
|
-
const suffixText = h("div", { class: CSS$
|
|
14089
|
+
const numberButtonsVertical = (h("div", { class: CSS$v.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
14090
|
+
const prefixText = h("div", { class: CSS$v.prefix }, this.prefixText);
|
|
14091
|
+
const suffixText = h("div", { class: CSS$v.suffix }, this.suffixText);
|
|
14090
14092
|
const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
|
|
14091
14093
|
const childEl = this.type !== "number"
|
|
14092
14094
|
? [
|
|
14093
14095
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
14094
|
-
[CSS$
|
|
14095
|
-
[CSS$
|
|
14096
|
+
[CSS$v.editingEnabled]: this.editingEnabled,
|
|
14097
|
+
[CSS$v.inlineChild]: !!this.inlineEditableEl
|
|
14096
14098
|
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, max: this.maxString, maxLength: this.maxLength, min: this.minString, minLength: this.minLength, name: this.name, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, step: this.step, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: this.type, value: this.value }),
|
|
14097
|
-
this.isTextarea ? (h("div", { class: CSS$
|
|
14099
|
+
this.isTextarea ? (h("div", { class: CSS$v.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
14098
14100
|
]
|
|
14099
14101
|
: null;
|
|
14100
|
-
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
14102
|
+
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$v.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14101
14103
|
? numberButtonsHorizontalDown
|
|
14102
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
14104
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$v.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$v.actionWrapper }, h("slot", { name: SLOTS$i.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
14103
14105
|
? numberButtonsVertical
|
|
14104
14106
|
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
14105
14107
|
? numberButtonsHorizontalUp
|
|
@@ -14117,7 +14119,7 @@ const Input = class extends HTMLElement$1 {
|
|
|
14117
14119
|
static get style() { return inputCss; }
|
|
14118
14120
|
};
|
|
14119
14121
|
|
|
14120
|
-
const CSS$
|
|
14122
|
+
const CSS$u = {
|
|
14121
14123
|
menu: "menu-container",
|
|
14122
14124
|
menuActive: "menu-container--active"
|
|
14123
14125
|
};
|
|
@@ -14164,19 +14166,19 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14164
14166
|
*
|
|
14165
14167
|
* @default "Previous month"
|
|
14166
14168
|
*/
|
|
14167
|
-
this.intlPrevMonth = TEXT$
|
|
14169
|
+
this.intlPrevMonth = TEXT$h.prevMonth;
|
|
14168
14170
|
/**
|
|
14169
14171
|
* Localized string for "next month" (used for aria label)
|
|
14170
14172
|
*
|
|
14171
14173
|
* @default "Next month"
|
|
14172
14174
|
*/
|
|
14173
|
-
this.intlNextMonth = TEXT$
|
|
14175
|
+
this.intlNextMonth = TEXT$h.nextMonth;
|
|
14174
14176
|
/**
|
|
14175
14177
|
* Localized string for "year" (used for aria label)
|
|
14176
14178
|
*
|
|
14177
14179
|
* @default "Year"
|
|
14178
14180
|
*/
|
|
14179
|
-
this.intlYear = TEXT$
|
|
14181
|
+
this.intlYear = TEXT$h.year;
|
|
14180
14182
|
/** BCP 47 language tag for desired language and country format */
|
|
14181
14183
|
this.locale = document.documentElement.lang || "en";
|
|
14182
14184
|
/** specify the scale of the date picker */
|
|
@@ -14454,8 +14456,8 @@ const InputDatePicker = class extends HTMLElement$1 {
|
|
|
14454
14456
|
const formattedEndDate = endDate ? endDate.toLocaleDateString(this.locale) : "";
|
|
14455
14457
|
const formattedDate = date ? date.toLocaleDateString(this.locale) : "";
|
|
14456
14458
|
return (h(Host, { onBlur: this.deactivate, onKeyDown: this.keyDownHandler, role: "application" }, this.localeData && (h("div", { "aria-expanded": toAriaBoolean(this.open), class: "input-container", role: "application" }, h("div", { class: "input-wrapper", ref: this.setStartWrapper }, h("calcite-input", { class: `input ${this.layout === "vertical" && this.range ? `no-bottom-border` : ``}`, disabled: disabled, icon: "calendar", label: getLabelText(this), "number-button-type": "none", onCalciteInputInput: this.inputInput, onCalciteInternalInputBlur: this.inputBlur, onCalciteInternalInputFocus: this.startInputFocus, placeholder: (_a = this.localeData) === null || _a === void 0 ? void 0 : _a.placeholder, readOnly: readOnly, ref: this.setStartInput, scale: this.scale, type: "text", value: formattedDate })), h("div", { "aria-hidden": toAriaBoolean(!this.open), class: {
|
|
14457
|
-
[CSS$
|
|
14458
|
-
[CSS$
|
|
14459
|
+
[CSS$u.menu]: true,
|
|
14460
|
+
[CSS$u.menuActive]: this.open
|
|
14459
14461
|
}, ref: this.setFloatingEl }, h("div", { class: {
|
|
14460
14462
|
["calendar-picker-wrapper"]: true,
|
|
14461
14463
|
["calendar-picker-wrapper--end"]: this.focusedInput === "end",
|
|
@@ -14714,7 +14716,7 @@ const InputMessage = class extends HTMLElement$1 {
|
|
|
14714
14716
|
static get style() { return inputMessageCss; }
|
|
14715
14717
|
};
|
|
14716
14718
|
|
|
14717
|
-
const CSS$
|
|
14719
|
+
const CSS$t = {
|
|
14718
14720
|
loader: "loader",
|
|
14719
14721
|
clearButton: "clear-button",
|
|
14720
14722
|
editingEnabled: "editing-enabled",
|
|
@@ -14730,10 +14732,10 @@ const CSS$s = {
|
|
|
14730
14732
|
resizeIconWrapper: "resize-icon-wrapper",
|
|
14731
14733
|
numberButtonItem: "number-button-item"
|
|
14732
14734
|
};
|
|
14733
|
-
const SLOTS$
|
|
14735
|
+
const SLOTS$h = {
|
|
14734
14736
|
action: "action"
|
|
14735
14737
|
};
|
|
14736
|
-
const TEXT$
|
|
14738
|
+
const TEXT$d = {
|
|
14737
14739
|
clear: "Clear value"
|
|
14738
14740
|
};
|
|
14739
14741
|
|
|
@@ -14786,7 +14788,7 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
14786
14788
|
*
|
|
14787
14789
|
* @default "Loading"
|
|
14788
14790
|
*/
|
|
14789
|
-
this.intlLoading = TEXT$
|
|
14791
|
+
this.intlLoading = TEXT$u.loading;
|
|
14790
14792
|
/** When true, the icon is flipped in RTL. */
|
|
14791
14793
|
this.iconFlipRtl = false;
|
|
14792
14794
|
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
@@ -15187,25 +15189,25 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15187
15189
|
// --------------------------------------------------------------------------
|
|
15188
15190
|
render() {
|
|
15189
15191
|
const dir = getElementDir(this.el);
|
|
15190
|
-
const loader = (h("div", { class: CSS$
|
|
15191
|
-
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$
|
|
15192
|
-
const iconEl = (h("calcite-icon", { class: CSS$
|
|
15192
|
+
const loader = (h("div", { class: CSS$t.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
15193
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$t.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
15194
|
+
const iconEl = (h("calcite-icon", { class: CSS$t.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
15193
15195
|
const isHorizontalNumberButton = this.numberButtonType === "horizontal";
|
|
15194
15196
|
const numberButtonsHorizontalUp = (h("button", { class: {
|
|
15195
|
-
[CSS$
|
|
15196
|
-
[CSS$
|
|
15197
|
+
[CSS$t.numberButtonItem]: true,
|
|
15198
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15197
15199
|
}, "data-adjustment": "up", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-up", scale: "s" })));
|
|
15198
15200
|
const numberButtonsHorizontalDown = (h("button", { class: {
|
|
15199
|
-
[CSS$
|
|
15200
|
-
[CSS$
|
|
15201
|
+
[CSS$t.numberButtonItem]: true,
|
|
15202
|
+
[CSS$t.buttonItemHorizontal]: isHorizontalNumberButton
|
|
15201
15203
|
}, "data-adjustment": "down", disabled: this.disabled || this.readOnly, onPointerDown: this.nudgeButtonPointerDownHandler, onPointerOut: this.nudgeButtonPointerUpAndOutHandler, onPointerUp: this.nudgeButtonPointerUpAndOutHandler, tabIndex: -1, type: "button" }, h("calcite-icon", { icon: "chevron-down", scale: "s" })));
|
|
15202
|
-
const numberButtonsVertical = (h("div", { class: CSS$
|
|
15203
|
-
const prefixText = h("div", { class: CSS$
|
|
15204
|
-
const suffixText = h("div", { class: CSS$
|
|
15204
|
+
const numberButtonsVertical = (h("div", { class: CSS$t.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
15205
|
+
const prefixText = h("div", { class: CSS$t.prefix }, this.prefixText);
|
|
15206
|
+
const suffixText = h("div", { class: CSS$t.suffix }, this.suffixText);
|
|
15205
15207
|
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputNumberBlurHandler, onFocus: this.inputNumberFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputNumberKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue }));
|
|
15206
|
-
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$
|
|
15208
|
+
return (h(Host, { onClick: this.inputNumberFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$t.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15207
15209
|
? numberButtonsHorizontalDown
|
|
15208
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$
|
|
15210
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS$t.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$t.actionWrapper }, h("slot", { name: SLOTS$h.action })), this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null, this.suffixText ? suffixText : null, this.numberButtonType === "horizontal" && !this.readOnly
|
|
15209
15211
|
? numberButtonsHorizontalUp
|
|
15210
15212
|
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
15211
15213
|
}
|
|
@@ -15220,6 +15222,320 @@ const InputNumber = class extends HTMLElement$1 {
|
|
|
15220
15222
|
static get style() { return inputNumberCss; }
|
|
15221
15223
|
};
|
|
15222
15224
|
|
|
15225
|
+
const CSS$s = {
|
|
15226
|
+
loader: "loader",
|
|
15227
|
+
clearButton: "clear-button",
|
|
15228
|
+
editingEnabled: "editing-enabled",
|
|
15229
|
+
inlineChild: "inline-child",
|
|
15230
|
+
inputIcon: "icon",
|
|
15231
|
+
prefix: "prefix",
|
|
15232
|
+
suffix: "suffix",
|
|
15233
|
+
wrapper: "element-wrapper",
|
|
15234
|
+
inputWrapper: "wrapper",
|
|
15235
|
+
actionWrapper: "action-wrapper",
|
|
15236
|
+
resizeIconWrapper: "resize-icon-wrapper"
|
|
15237
|
+
};
|
|
15238
|
+
const SLOTS$g = {
|
|
15239
|
+
action: "action"
|
|
15240
|
+
};
|
|
15241
|
+
const TEXT$c = {
|
|
15242
|
+
clear: "Clear value"
|
|
15243
|
+
};
|
|
15244
|
+
|
|
15245
|
+
const inputTextCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}input{-webkit-transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;-ms-flex:1 1 0%;flex:1 1 0%;border-radius:0px;background-color:var(--calcite-ui-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}:host input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);color:var(--calcite-ui-text-1)}:host input:-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}:host input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{-webkit-padding-start:2rem;padding-inline-start:2rem}:host([icon][scale=m]) input{-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}:host([icon][scale=l]) input{-webkit-padding-start:3rem;padding-inline-start:3rem}.element-wrapper{position:relative;-ms-flex-order:3;order:3;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:1 1 0%;flex:1 1 0%;-ms-flex-align:center;align-items:center}.icon{pointer-events:none;position:absolute;z-index:10;display:block;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;-ms-flex-order:4;order:4;margin:0px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;min-block-size:100%;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-item-align:stretch;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{-ms-flex-order:7;order:7;display:-ms-flexbox;display:flex}.prefix,.suffix{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-line-pack:center;align-content:center;-ms-flex-align:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-ui-text-2)}.prefix{-ms-flex-order:2;order:2;border-inline-end-width:0px}.suffix{-ms-flex-order:5;order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.resize-icon-wrapper{inset-block-end:2px;inset-inline-end:2px;pointer-events:none;position:absolute;z-index:10;block-size:0.75rem;inline-size:0.75rem;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3)}.resize-icon-wrapper calcite-icon{inset-block-end:0.25rem;inset-inline-end:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl .resize-icon-wrapper calcite-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-ui-border-1)}.inline-child{background-color:transparent;-webkit-transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.inline-child .editing-enabled{background-color:inherit}.inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
15246
|
+
|
|
15247
|
+
const InputText = class extends HTMLElement$1 {
|
|
15248
|
+
constructor() {
|
|
15249
|
+
super();
|
|
15250
|
+
this.__registerHost();
|
|
15251
|
+
this.__attachShadow();
|
|
15252
|
+
this.calciteInternalInputTextFocus = createEvent(this, "calciteInternalInputTextFocus", 7);
|
|
15253
|
+
this.calciteInternalInputTextBlur = createEvent(this, "calciteInternalInputTextBlur", 7);
|
|
15254
|
+
this.calciteInputTextInput = createEvent(this, "calciteInputTextInput", 7);
|
|
15255
|
+
this.calciteInputTextChange = createEvent(this, "calciteInputTextChange", 7);
|
|
15256
|
+
//--------------------------------------------------------------------------
|
|
15257
|
+
//
|
|
15258
|
+
// Properties
|
|
15259
|
+
//
|
|
15260
|
+
//--------------------------------------------------------------------------
|
|
15261
|
+
/** Specifies the text alignment of the component's value. */
|
|
15262
|
+
this.alignment = "start";
|
|
15263
|
+
/**
|
|
15264
|
+
* When true, the component is focused on page load.
|
|
15265
|
+
*
|
|
15266
|
+
* @mdn [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)
|
|
15267
|
+
*/
|
|
15268
|
+
this.autofocus = false;
|
|
15269
|
+
/**
|
|
15270
|
+
* When true, a clear button is displayed when the component has a value.
|
|
15271
|
+
*/
|
|
15272
|
+
this.clearable = false;
|
|
15273
|
+
/**
|
|
15274
|
+
* When true, interaction is prevented and the component is displayed with lower opacity.
|
|
15275
|
+
*
|
|
15276
|
+
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
15277
|
+
*/
|
|
15278
|
+
this.disabled = false;
|
|
15279
|
+
/**
|
|
15280
|
+
* When true, the component will not be visible.
|
|
15281
|
+
*
|
|
15282
|
+
* @mdn [hidden](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden)
|
|
15283
|
+
*/
|
|
15284
|
+
this.hidden = false;
|
|
15285
|
+
/**
|
|
15286
|
+
* Accessible name that will appear while loading.
|
|
15287
|
+
*
|
|
15288
|
+
* @default "Loading"
|
|
15289
|
+
*/
|
|
15290
|
+
this.intlLoading = TEXT$u.loading;
|
|
15291
|
+
/** When true, the icon is flipped in RTL. */
|
|
15292
|
+
this.iconFlipRtl = false;
|
|
15293
|
+
/** When true, the component is in the loading state and `calcite-progress` is displayed. */
|
|
15294
|
+
this.loading = false;
|
|
15295
|
+
/**
|
|
15296
|
+
* When true, the value cannot be modified.
|
|
15297
|
+
*
|
|
15298
|
+
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
15299
|
+
*/
|
|
15300
|
+
this.readOnly = false;
|
|
15301
|
+
/** When true, the component must have a value in order for the form to submit. */
|
|
15302
|
+
this.required = false;
|
|
15303
|
+
/** Specifies the size of the component. */
|
|
15304
|
+
this.scale = "m";
|
|
15305
|
+
/** Specifies the status of the input field, which determines message and icons. */
|
|
15306
|
+
this.status = "idle";
|
|
15307
|
+
/**
|
|
15308
|
+
* @internal
|
|
15309
|
+
*/
|
|
15310
|
+
this.editingEnabled = false;
|
|
15311
|
+
/** The component's value. */
|
|
15312
|
+
this.value = "";
|
|
15313
|
+
this.previousValueOrigin = "initial";
|
|
15314
|
+
this.mutationObserver = createObserver("mutation", () => this.setDisabledAction());
|
|
15315
|
+
this.userChangedValue = false;
|
|
15316
|
+
//--------------------------------------------------------------------------
|
|
15317
|
+
//
|
|
15318
|
+
// Private Methods
|
|
15319
|
+
//
|
|
15320
|
+
//--------------------------------------------------------------------------
|
|
15321
|
+
this.keyDownHandler = (event) => {
|
|
15322
|
+
if (this.readOnly || this.disabled) {
|
|
15323
|
+
return;
|
|
15324
|
+
}
|
|
15325
|
+
if (this.isClearable && event.key === "Escape") {
|
|
15326
|
+
this.clearInputTextValue(event);
|
|
15327
|
+
event.preventDefault();
|
|
15328
|
+
}
|
|
15329
|
+
if (event.key === "Enter" && !event.defaultPrevented) {
|
|
15330
|
+
submitForm(this);
|
|
15331
|
+
}
|
|
15332
|
+
};
|
|
15333
|
+
this.clearInputTextValue = (nativeEvent) => {
|
|
15334
|
+
this.setValue({
|
|
15335
|
+
committing: true,
|
|
15336
|
+
nativeEvent,
|
|
15337
|
+
origin: "user",
|
|
15338
|
+
value: ""
|
|
15339
|
+
});
|
|
15340
|
+
};
|
|
15341
|
+
this.emitChangeIfUserModified = () => {
|
|
15342
|
+
if (this.previousValueOrigin === "user" && this.value !== this.previousEmittedValue) {
|
|
15343
|
+
this.calciteInputTextChange.emit();
|
|
15344
|
+
}
|
|
15345
|
+
this.previousEmittedValue = this.value;
|
|
15346
|
+
};
|
|
15347
|
+
this.inputTextBlurHandler = () => {
|
|
15348
|
+
this.calciteInternalInputTextBlur.emit({
|
|
15349
|
+
element: this.childEl,
|
|
15350
|
+
value: this.value
|
|
15351
|
+
});
|
|
15352
|
+
this.emitChangeIfUserModified();
|
|
15353
|
+
};
|
|
15354
|
+
this.inputTextFocusHandler = (event) => {
|
|
15355
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
15356
|
+
if (event.target !== slottedActionEl) {
|
|
15357
|
+
this.setFocus();
|
|
15358
|
+
}
|
|
15359
|
+
this.calciteInternalInputTextFocus.emit({
|
|
15360
|
+
element: this.childEl,
|
|
15361
|
+
value: this.value
|
|
15362
|
+
});
|
|
15363
|
+
};
|
|
15364
|
+
this.inputTextInputHandler = (nativeEvent) => {
|
|
15365
|
+
if (this.disabled || this.readOnly) {
|
|
15366
|
+
return;
|
|
15367
|
+
}
|
|
15368
|
+
this.setValue({
|
|
15369
|
+
nativeEvent,
|
|
15370
|
+
origin: "user",
|
|
15371
|
+
value: nativeEvent.target.value
|
|
15372
|
+
});
|
|
15373
|
+
};
|
|
15374
|
+
this.inputTextKeyDownHandler = (event) => {
|
|
15375
|
+
if (this.disabled || this.readOnly) {
|
|
15376
|
+
return;
|
|
15377
|
+
}
|
|
15378
|
+
if (event.key === "Enter") {
|
|
15379
|
+
this.emitChangeIfUserModified();
|
|
15380
|
+
}
|
|
15381
|
+
};
|
|
15382
|
+
this.setChildElRef = (el) => {
|
|
15383
|
+
this.childEl = el;
|
|
15384
|
+
};
|
|
15385
|
+
this.setInputValue = (newInputValue) => {
|
|
15386
|
+
if (!this.childEl) {
|
|
15387
|
+
return;
|
|
15388
|
+
}
|
|
15389
|
+
this.childEl.value = newInputValue;
|
|
15390
|
+
};
|
|
15391
|
+
this.setPreviousEmittedValue = (newPreviousEmittedValue) => {
|
|
15392
|
+
this.previousEmittedValue = newPreviousEmittedValue;
|
|
15393
|
+
};
|
|
15394
|
+
this.setPreviousValue = (newPreviousValue) => {
|
|
15395
|
+
this.previousValue = newPreviousValue;
|
|
15396
|
+
};
|
|
15397
|
+
this.setValue = ({ committing = false, nativeEvent, origin, previousValue, value }) => {
|
|
15398
|
+
this.setPreviousValue(previousValue || this.value);
|
|
15399
|
+
this.previousValueOrigin = origin;
|
|
15400
|
+
this.userChangedValue = origin === "user" && value !== this.value;
|
|
15401
|
+
this.value = value;
|
|
15402
|
+
if (origin === "direct") {
|
|
15403
|
+
this.setInputValue(value);
|
|
15404
|
+
}
|
|
15405
|
+
if (nativeEvent) {
|
|
15406
|
+
const calciteInputTextInputEvent = this.calciteInputTextInput.emit({
|
|
15407
|
+
element: this.childEl,
|
|
15408
|
+
nativeEvent,
|
|
15409
|
+
value: this.value
|
|
15410
|
+
});
|
|
15411
|
+
if (calciteInputTextInputEvent.defaultPrevented) {
|
|
15412
|
+
this.value = this.previousValue;
|
|
15413
|
+
}
|
|
15414
|
+
else if (committing) {
|
|
15415
|
+
this.emitChangeIfUserModified();
|
|
15416
|
+
}
|
|
15417
|
+
}
|
|
15418
|
+
};
|
|
15419
|
+
}
|
|
15420
|
+
disabledWatcher() {
|
|
15421
|
+
this.setDisabledAction();
|
|
15422
|
+
}
|
|
15423
|
+
valueWatcher(newValue, previousValue) {
|
|
15424
|
+
if (!this.userChangedValue) {
|
|
15425
|
+
this.setValue({
|
|
15426
|
+
origin: "direct",
|
|
15427
|
+
previousValue,
|
|
15428
|
+
value: !newValue ? "" : newValue
|
|
15429
|
+
});
|
|
15430
|
+
}
|
|
15431
|
+
this.userChangedValue = false;
|
|
15432
|
+
}
|
|
15433
|
+
updateRequestedIcon() {
|
|
15434
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
15435
|
+
}
|
|
15436
|
+
get isClearable() {
|
|
15437
|
+
return this.clearable && this.value.length > 0;
|
|
15438
|
+
}
|
|
15439
|
+
//--------------------------------------------------------------------------
|
|
15440
|
+
//
|
|
15441
|
+
// Lifecycle
|
|
15442
|
+
//
|
|
15443
|
+
//--------------------------------------------------------------------------
|
|
15444
|
+
connectedCallback() {
|
|
15445
|
+
var _a;
|
|
15446
|
+
this.scale = getElementProp(this.el, "scale", this.scale);
|
|
15447
|
+
this.status = getElementProp(this.el, "status", this.status);
|
|
15448
|
+
this.inlineEditableEl = this.el.closest("calcite-inline-editable");
|
|
15449
|
+
if (this.inlineEditableEl) {
|
|
15450
|
+
this.editingEnabled = this.inlineEditableEl.editingEnabled || false;
|
|
15451
|
+
}
|
|
15452
|
+
this.setPreviousEmittedValue(this.value);
|
|
15453
|
+
this.setPreviousValue(this.value);
|
|
15454
|
+
connectLabel(this);
|
|
15455
|
+
connectForm(this);
|
|
15456
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, { childList: true });
|
|
15457
|
+
this.setDisabledAction();
|
|
15458
|
+
}
|
|
15459
|
+
disconnectedCallback() {
|
|
15460
|
+
var _a;
|
|
15461
|
+
disconnectLabel(this);
|
|
15462
|
+
disconnectForm(this);
|
|
15463
|
+
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
15464
|
+
}
|
|
15465
|
+
componentWillLoad() {
|
|
15466
|
+
this.requestedIcon = setRequestedIcon({}, this.icon, "text");
|
|
15467
|
+
}
|
|
15468
|
+
componentDidRender() {
|
|
15469
|
+
updateHostInteraction(this);
|
|
15470
|
+
}
|
|
15471
|
+
//--------------------------------------------------------------------------
|
|
15472
|
+
//
|
|
15473
|
+
// Public Methods
|
|
15474
|
+
//
|
|
15475
|
+
//--------------------------------------------------------------------------
|
|
15476
|
+
/** Sets focus on the component. */
|
|
15477
|
+
async setFocus() {
|
|
15478
|
+
var _a;
|
|
15479
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.focus();
|
|
15480
|
+
}
|
|
15481
|
+
/** Selects all text of the component's `value`. */
|
|
15482
|
+
async selectText() {
|
|
15483
|
+
var _a;
|
|
15484
|
+
(_a = this.childEl) === null || _a === void 0 ? void 0 : _a.select();
|
|
15485
|
+
}
|
|
15486
|
+
onLabelClick() {
|
|
15487
|
+
this.setFocus();
|
|
15488
|
+
}
|
|
15489
|
+
onFormReset() {
|
|
15490
|
+
this.setValue({
|
|
15491
|
+
origin: "reset",
|
|
15492
|
+
value: this.defaultValue
|
|
15493
|
+
});
|
|
15494
|
+
}
|
|
15495
|
+
syncHiddenFormInput(input) {
|
|
15496
|
+
if (this.minLength != null) {
|
|
15497
|
+
input.minLength = this.minLength;
|
|
15498
|
+
}
|
|
15499
|
+
if (this.maxLength != null) {
|
|
15500
|
+
input.maxLength = this.maxLength;
|
|
15501
|
+
}
|
|
15502
|
+
}
|
|
15503
|
+
setDisabledAction() {
|
|
15504
|
+
const slottedActionEl = getSlotted(this.el, "action");
|
|
15505
|
+
if (!slottedActionEl) {
|
|
15506
|
+
return;
|
|
15507
|
+
}
|
|
15508
|
+
this.disabled
|
|
15509
|
+
? slottedActionEl.setAttribute("disabled", "")
|
|
15510
|
+
: slottedActionEl.removeAttribute("disabled");
|
|
15511
|
+
}
|
|
15512
|
+
// --------------------------------------------------------------------------
|
|
15513
|
+
//
|
|
15514
|
+
// Render Methods
|
|
15515
|
+
//
|
|
15516
|
+
// --------------------------------------------------------------------------
|
|
15517
|
+
render() {
|
|
15518
|
+
const dir = getElementDir(this.el);
|
|
15519
|
+
const loader = (h("div", { class: CSS$s.loader }, h("calcite-progress", { label: this.intlLoading, type: "indeterminate" })));
|
|
15520
|
+
const inputClearButton = (h("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$s.clearButton, disabled: this.disabled || this.readOnly, onClick: this.clearInputTextValue, tabIndex: this.disabled ? -1 : 0, type: "button" }, h("calcite-icon", { icon: "x", scale: "s" })));
|
|
15521
|
+
const iconEl = (h("calcite-icon", { class: CSS$s.inputIcon, flipRtl: this.iconFlipRtl, icon: this.requestedIcon, scale: "s" }));
|
|
15522
|
+
const prefixText = h("div", { class: CSS$s.prefix }, this.prefixText);
|
|
15523
|
+
const suffixText = h("div", { class: CSS$s.suffix }, this.suffixText);
|
|
15524
|
+
const childEl = (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
15525
|
+
[CSS$s.editingEnabled]: this.editingEnabled,
|
|
15526
|
+
[CSS$s.inlineChild]: !!this.inlineEditableEl
|
|
15527
|
+
}, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, maxLength: this.maxLength, minLength: this.minLength, name: this.name, onBlur: this.inputTextBlurHandler, onFocus: this.inputTextFocusHandler, onInput: this.inputTextInputHandler, onKeyDown: this.inputTextKeyDownHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildElRef, required: this.required ? true : null, tabIndex: this.disabled || (this.inlineEditableEl && !this.editingEnabled) ? -1 : null, type: "text", value: this.value }));
|
|
15528
|
+
return (h(Host, { onClick: this.inputTextFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$s.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" } }, this.prefixText ? prefixText : null, h("div", { class: CSS$s.wrapper }, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$s.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.suffixText ? suffixText : null, h(HiddenFormInputSlot, { component: this }))));
|
|
15529
|
+
}
|
|
15530
|
+
get el() { return this; }
|
|
15531
|
+
static get watchers() { return {
|
|
15532
|
+
"disabled": ["disabledWatcher"],
|
|
15533
|
+
"value": ["valueWatcher"],
|
|
15534
|
+
"icon": ["updateRequestedIcon"]
|
|
15535
|
+
}; }
|
|
15536
|
+
static get style() { return inputTextCss; }
|
|
15537
|
+
};
|
|
15538
|
+
|
|
15223
15539
|
const maxTenthForMinuteAndSecond = 5;
|
|
15224
15540
|
function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
|
|
15225
15541
|
try {
|
|
@@ -17225,7 +17541,7 @@ const Panel = class extends HTMLElement$1 {
|
|
|
17225
17541
|
renderMenu() {
|
|
17226
17542
|
const { el, intlOptions, menuOpen } = this;
|
|
17227
17543
|
const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
|
|
17228
|
-
return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$
|
|
17544
|
+
return hasMenuItems ? (h("calcite-action-menu", { flipPlacements: ["top", "bottom"], key: "menu", label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, h("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$r.trigger, text: intlOptions || TEXT$8.options }), h("slot", { name: SLOTS$c.headerMenuActions }))) : null;
|
|
17229
17545
|
}
|
|
17230
17546
|
renderHeaderNode() {
|
|
17231
17547
|
const { el, showBackButton } = this;
|
|
@@ -20221,11 +20537,9 @@ const Slider = class extends HTMLElement$1 {
|
|
|
20221
20537
|
const fixedDecimalAdjustment = Number(adjustment.toFixed(decimalPlaces(step)));
|
|
20222
20538
|
this.setValue(activeProp, this.clamp(fixedDecimalAdjustment, activeProp));
|
|
20223
20539
|
}
|
|
20224
|
-
clickHandler(event) {
|
|
20225
|
-
this.focusActiveHandle(event.clientX);
|
|
20226
|
-
}
|
|
20227
20540
|
pointerDownHandler(event) {
|
|
20228
20541
|
const x = event.clientX || event.pageX;
|
|
20542
|
+
this.focusActiveHandle(x);
|
|
20229
20543
|
const position = this.translate(x);
|
|
20230
20544
|
let prop = "value";
|
|
20231
20545
|
if (isRange(this.value)) {
|
|
@@ -27549,7 +27863,7 @@ const CalciteAccordionItem = /*@__PURE__*/proxyCustomElement(AccordionItem, [1,"
|
|
|
27549
27863
|
const CalciteAction = /*@__PURE__*/proxyCustomElement(Action, [1,"calcite-action",{"active":[516],"alignment":[513],"appearance":[513],"compact":[516],"disabled":[516],"icon":[1],"indicator":[516],"intlLoading":[1,"intl-loading"],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
27550
27864
|
const CalciteActionBar = /*@__PURE__*/proxyCustomElement(ActionBar, [1,"calcite-action-bar",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"layout":[513],"overflowActionsDisabled":[4,"overflow-actions-disabled"],"position":[513],"scale":[513]}]);
|
|
27551
27865
|
const CalciteActionGroup = /*@__PURE__*/proxyCustomElement(ActionGroup, [1,"calcite-action-group",{"expanded":[516],"layout":[513],"columns":[514],"intlMore":[1,"intl-more"],"menuOpen":[1540,"menu-open"],"scale":[513]}]);
|
|
27552
|
-
const CalciteActionMenu = /*@__PURE__*/proxyCustomElement(ActionMenu, [1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32]},[[
|
|
27866
|
+
const CalciteActionMenu = /*@__PURE__*/proxyCustomElement(ActionMenu, [1,"calcite-action-menu",{"expanded":[516],"flipPlacements":[16],"label":[1],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"activeMenuItemIndex":[32]},[[9,"pointerdown","closeCalciteActionMenuOnClick"]]]);
|
|
27553
27867
|
const CalciteActionPad = /*@__PURE__*/proxyCustomElement(ActionPad, [1,"calcite-action-pad",{"expandDisabled":[516,"expand-disabled"],"expanded":[1540],"layout":[513],"intlExpand":[1,"intl-expand"],"intlCollapse":[1,"intl-collapse"],"position":[513],"scale":[513]}]);
|
|
27554
27868
|
const CalciteAlert = /*@__PURE__*/proxyCustomElement(Alert, [1,"calcite-alert",{"active":[1540],"open":[1540],"autoDismiss":[4,"auto-dismiss"],"autoDismissDuration":[513,"auto-dismiss-duration"],"color":[513],"icon":[520],"intlClose":[1,"intl-close"],"label":[1],"placement":[1],"scale":[513],"queue":[32],"queueLength":[32],"queued":[32],"requestedIcon":[32]},[[8,"calciteInternalAlertSync","alertSync"],[8,"calciteInternalAlertRegister","alertRegister"]]]);
|
|
27555
27869
|
const CalciteAvatar = /*@__PURE__*/proxyCustomElement(Avatar, [1,"calcite-avatar",{"scale":[513],"thumbnail":[1],"fullName":[1,"full-name"],"username":[1],"userId":[1,"user-id"],"error":[32]}]);
|
|
@@ -27562,14 +27876,14 @@ const CalciteChip = /*@__PURE__*/proxyCustomElement(Chip, [1,"calcite-chip",{"ap
|
|
|
27562
27876
|
const CalciteColorPicker = /*@__PURE__*/proxyCustomElement(ColorPicker, [1,"calcite-color-picker",{"allowEmpty":[4,"allow-empty"],"appearance":[513],"color":[1040],"disabled":[516],"format":[1],"hideHex":[4,"hide-hex"],"hideChannels":[4,"hide-channels"],"hideSaved":[4,"hide-saved"],"intlB":[1,"intl-b"],"intlBlue":[1,"intl-blue"],"intlDeleteColor":[1,"intl-delete-color"],"intlG":[1,"intl-g"],"intlGreen":[1,"intl-green"],"intlH":[1,"intl-h"],"intlHsv":[1,"intl-hsv"],"intlHex":[1,"intl-hex"],"intlHue":[1,"intl-hue"],"intlNoColor":[1,"intl-no-color"],"intlR":[1,"intl-r"],"intlRed":[1,"intl-red"],"intlRgb":[1,"intl-rgb"],"intlS":[1,"intl-s"],"intlSaturation":[1,"intl-saturation"],"intlSaveColor":[1,"intl-save-color"],"intlSaved":[1,"intl-saved"],"intlV":[1,"intl-v"],"intlValue":[1,"intl-value"],"scale":[513],"storageId":[1,"storage-id"],"numberingSystem":[1,"numbering-system"],"value":[1025],"colorFieldAndSliderInteractive":[32],"channelMode":[32],"channels":[32],"dimensions":[32],"savedColors":[32],"colorFieldScopeTop":[32],"colorFieldScopeLeft":[32],"scopeOrientation":[32],"hueScopeLeft":[32],"hueScopeTop":[32]},[[2,"keydown","handleChannelKeyUpOrDown"],[2,"keyup","handleChannelKeyUpOrDown"]]]);
|
|
27563
27877
|
const CalciteColorPickerHexInput = /*@__PURE__*/proxyCustomElement(ColorPickerHexInput, [1,"calcite-color-picker-hex-input",{"allowEmpty":[4,"allow-empty"],"intlHex":[1,"intl-hex"],"intlNoColor":[1,"intl-no-color"],"scale":[513],"value":[1537],"numberingSystem":[1,"numbering-system"],"internalColor":[32]},[[2,"keydown","onInputKeyDown"]]]);
|
|
27564
27878
|
const CalciteColorPickerSwatch = /*@__PURE__*/proxyCustomElement(ColorPickerSwatch, [1,"calcite-color-picker-swatch",{"active":[516],"color":[1],"scale":[513]}]);
|
|
27565
|
-
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(Combobox, [1,"calcite-combobox",{"active":[1540],"open":[1540],"disabled":[516],"label":[1],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32]},[[
|
|
27879
|
+
const CalciteCombobox = /*@__PURE__*/proxyCustomElement(Combobox, [1,"calcite-combobox",{"active":[1540],"open":[1540],"disabled":[516],"label":[1],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"maxItems":[2,"max-items"],"name":[513],"allowCustomValues":[4,"allow-custom-values"],"overlayPositioning":[1,"overlay-positioning"],"required":[4],"selectionMode":[513,"selection-mode"],"scale":[513],"value":[1025],"intlRemoveTag":[1,"intl-remove-tag"],"flipPlacements":[16],"items":[32],"groupItems":[32],"selectedItems":[32],"visibleItems":[32],"needsIcon":[32],"activeItemIndex":[32],"activeChipIndex":[32],"activeDescendant":[32],"text":[32]},[[5,"pointerdown","documentClickHandler"],[0,"calciteComboboxItemChange","calciteComboboxItemChangeHandler"]]]);
|
|
27566
27880
|
const CalciteComboboxItem = /*@__PURE__*/proxyCustomElement(ComboboxItem, [1,"calcite-combobox-item",{"disabled":[516],"selected":[1540],"active":[4],"ancestors":[1040],"guid":[1],"icon":[1],"textLabel":[513,"text-label"],"value":[8],"constant":[516],"filterDisabled":[4,"filter-disabled"]}]);
|
|
27567
27881
|
const CalciteComboboxItemGroup = /*@__PURE__*/proxyCustomElement(ComboboxItemGroup, [1,"calcite-combobox-item-group",{"ancestors":[1040],"label":[1]}]);
|
|
27568
27882
|
const CalciteDatePicker = /*@__PURE__*/proxyCustomElement(DatePicker, [1,"calcite-date-picker",{"activeRange":[1,"active-range"],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"range":[516],"start":[1025],"end":[1025],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"activeDate":[32],"activeStartDate":[32],"activeEndDate":[32],"localeData":[32],"hoverRange":[32]}]);
|
|
27569
27883
|
const CalciteDatePickerDay = /*@__PURE__*/proxyCustomElement(DatePickerDay, [1,"calcite-date-picker-day",{"day":[2],"disabled":[516],"currentMonth":[516,"current-month"],"selected":[516],"highlighted":[516],"range":[516],"startOfRange":[516,"start-of-range"],"endOfRange":[516,"end-of-range"],"rangeHover":[516,"range-hover"],"active":[516],"localeData":[16],"scale":[513],"value":[16]},[[1,"mouseover","mouseoverHandler"]]]);
|
|
27570
27884
|
const CalciteDatePickerMonth = /*@__PURE__*/proxyCustomElement(DatePickerMonth, [1,"calcite-date-picker-month",{"selectedDate":[16],"activeDate":[16],"startDate":[16],"endDate":[16],"min":[16],"max":[16],"scale":[513],"localeData":[16],"hoverRange":[16]},[[1,"mouseout","mouseoutHandler"]]]);
|
|
27571
27885
|
const CalciteDatePickerMonthHeader = /*@__PURE__*/proxyCustomElement(DatePickerMonthHeader, [1,"calcite-date-picker-month-header",{"selectedDate":[16],"activeDate":[16],"headingLevel":[2,"heading-level"],"min":[16],"max":[16],"locale":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"scale":[513],"localeData":[16],"nextMonthDate":[32],"prevMonthDate":[32]}]);
|
|
27572
|
-
const CalciteDropdown = /*@__PURE__*/proxyCustomElement(Dropdown, [1,"calcite-dropdown",{"active":[1540],"open":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513]},[[
|
|
27886
|
+
const CalciteDropdown = /*@__PURE__*/proxyCustomElement(Dropdown, [1,"calcite-dropdown",{"active":[1540],"open":[1540],"disableCloseOnSelect":[516,"disable-close-on-select"],"disabled":[516],"flipPlacements":[16],"maxItems":[2,"max-items"],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"scale":[513],"selectedItems":[1040],"type":[513],"width":[513]},[[9,"pointerdown","closeCalciteDropdownOnClick"],[0,"calciteInternalDropdownCloseRequest","closeCalciteDropdownOnEvent"],[8,"calciteDropdownOpen","closeCalciteDropdownOnOpenEvent"],[1,"mouseenter","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"calciteInternalDropdownItemKeyEvent","calciteInternalDropdownItemKeyEvent"],[0,"calciteInternalDropdownItemSelect","handleItemSelect"]]]);
|
|
27573
27887
|
const CalciteDropdownGroup = /*@__PURE__*/proxyCustomElement(DropdownGroup, [1,"calcite-dropdown-group",{"groupTitle":[513,"group-title"],"selectionMode":[513,"selection-mode"],"scale":[513]},[[0,"calciteInternalDropdownItemSelect","updateActiveItemOnChange"]]]);
|
|
27574
27888
|
const CalciteDropdownItem = /*@__PURE__*/proxyCustomElement(DropdownItem, [1,"calcite-dropdown-item",{"active":[1540],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"iconEnd":[513,"icon-end"],"href":[513],"label":[1],"rel":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","keyDownHandler"],[16,"calciteInternalDropdownItemChange","updateActiveItemOnChange"]]]);
|
|
27575
27889
|
const CalciteFab = /*@__PURE__*/proxyCustomElement(Fab, [1,"calcite-fab",{"appearance":[513],"color":[513],"disabled":[516],"icon":[1],"label":[1],"loading":[516],"scale":[513],"text":[1],"textEnabled":[516,"text-enabled"]}]);
|
|
@@ -27583,6 +27897,7 @@ const CalciteInput = /*@__PURE__*/proxyCustomElement(Input, [1,"calcite-input",{
|
|
|
27583
27897
|
const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(InputDatePicker, [1,"calcite-input-date-picker",{"disabled":[516],"readOnly":[4,"read-only"],"value":[1025],"flipPlacements":[16],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1025],"max":[1025],"active":[1540],"open":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"intlYear":[1,"intl-year"],"locale":[1],"scale":[513],"placement":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDatePickerChange","handleDateOrRangeChange"],[0,"calciteDatePickerRangeChange","handleDateOrRangeChange"],[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
|
|
27584
27898
|
const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(InputMessage, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
|
|
27585
27899
|
const CalciteInputNumber = /*@__PURE__*/proxyCustomElement(InputNumber, [1,"calcite-input-number",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlClear":[1,"intl-clear"],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"numberingSystem":[1,"numbering-system"],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025],"localizedValue":[32]}]);
|
|
27900
|
+
const CalciteInputText = /*@__PURE__*/proxyCustomElement(InputText, [1,"calcite-input-text",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"hidden":[4],"icon":[520],"intlClear":[1,"intl-clear"],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"value":[1025]}]);
|
|
27586
27901
|
const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(InputTimePicker, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"readOnly":[4,"read-only"],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"placement":[513],"step":[2],"value":[1025],"localizedValue":[32]},[[0,"click","clickHandler"],[0,"calciteInternalTimePickerBlur","timePickerBlurHandler"],[0,"calciteInternalTimePickerFocus","timePickerFocusHandler"]]]);
|
|
27587
27902
|
const CalciteLabel = /*@__PURE__*/proxyCustomElement(Label, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disabled":[516],"disableSpacing":[4,"disable-spacing"]}]);
|
|
27588
27903
|
const CalciteLink = /*@__PURE__*/proxyCustomElement(Link, [1,"calcite-link",{"disabled":[516],"download":[520],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1]}]);
|
|
@@ -27612,7 +27927,7 @@ const CalciteSelect = /*@__PURE__*/proxyCustomElement(Select, [1,"calcite-select
|
|
|
27612
27927
|
const CalciteShell = /*@__PURE__*/proxyCustomElement(Shell, [1,"calcite-shell",{"contentBehind":[516,"content-behind"]}]);
|
|
27613
27928
|
const CalciteShellCenterRow = /*@__PURE__*/proxyCustomElement(ShellCenterRow, [1,"calcite-shell-center-row",{"detached":[516],"heightScale":[513,"height-scale"],"position":[513]}]);
|
|
27614
27929
|
const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(ShellPanel, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]);
|
|
27615
|
-
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[
|
|
27930
|
+
const CalciteSlider = /*@__PURE__*/proxyCustomElement(Slider, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"scale":[1],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[1,"pointerdown","pointerDownHandler"]]]);
|
|
27616
27931
|
const CalciteSortableList = /*@__PURE__*/proxyCustomElement(SortableList, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
|
|
27617
27932
|
const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(SplitButton, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[1540],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
|
|
27618
27933
|
const CalciteStepper = /*@__PURE__*/proxyCustomElement(Stepper, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513]},[[0,"calciteInternalStepperItemKeyEvent","calciteInternalStepperItemKeyEvent"],[0,"calciteInternalStepperItemRegister","registerItem"],[0,"calciteInternalStepperItemSelect","updateItem"],[0,"calciteInternalUserRequestedStepperItemSelect","handleUserRequestedStepperItemSelect"]]]);
|
|
@@ -27677,6 +27992,7 @@ const defineCustomElements = (opts) => {
|
|
|
27677
27992
|
CalciteInputDatePicker,
|
|
27678
27993
|
CalciteInputMessage,
|
|
27679
27994
|
CalciteInputNumber,
|
|
27995
|
+
CalciteInputText,
|
|
27680
27996
|
CalciteInputTimePicker,
|
|
27681
27997
|
CalciteLabel,
|
|
27682
27998
|
CalciteLink,
|
|
@@ -27737,4 +28053,4 @@ const defineCustomElements = (opts) => {
|
|
|
27737
28053
|
}
|
|
27738
28054
|
};
|
|
27739
28055
|
|
|
27740
|
-
export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputNumber, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };
|
|
28056
|
+
export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputNumber, CalciteInputText, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };
|