@esri/calcite-components 1.0.0-next.309 → 1.0.0-next.312
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
- package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-0229a408.js +5 -0
- package/dist/calcite/{p-54394dfe.system.entry.js → p-0d807182.system.entry.js} +1 -1
- package/dist/calcite/p-0f014648.entry.js +5 -0
- package/dist/calcite/p-0fa1ba75.entry.js +5 -0
- package/dist/calcite/{p-b1351c3e.system.entry.js → p-21290fba.system.entry.js} +1 -1
- package/dist/calcite/{p-a8dc2982.system.entry.js → p-25caf637.system.entry.js} +1 -1
- package/dist/calcite/{p-3a592bf3.system.entry.js → p-34038a94.system.entry.js} +1 -1
- package/dist/calcite/{p-d550ee4d.entry.js → p-34e89de8.entry.js} +1 -1
- package/dist/calcite/p-35a5c74c.system.js +5 -0
- package/dist/calcite/{p-688f06b9.entry.js → p-3b29e94a.entry.js} +1 -1
- package/dist/calcite/{p-fc643963.entry.js → p-45b4443f.entry.js} +1 -1
- package/dist/calcite/{p-dd464e44.system.entry.js → p-55a5535b.system.entry.js} +1 -1
- package/dist/calcite/p-8e252799.system.js +1 -1
- package/dist/calcite/{p-502ea583.entry.js → p-9a3bed69.entry.js} +1 -1
- package/dist/calcite/p-a19e423a.entry.js +5 -0
- package/dist/calcite/p-a46c3870.system.entry.js +5 -0
- package/dist/calcite/{p-109049e6.system.entry.js → p-aaec0d11.system.entry.js} +1 -1
- package/dist/calcite/{p-75264173.entry.js → p-bab99544.entry.js} +1 -1
- package/dist/calcite/{p-968ea270.entry.js → p-bdb92546.entry.js} +1 -1
- package/dist/calcite/{p-ca6025ab.system.entry.js → p-cbbfa133.system.entry.js} +1 -1
- package/dist/calcite/p-f1e111f4.system.entry.js +5 -0
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -11
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/calcite-input.cjs.entry.js +5 -5
- package/dist/cjs/calcite-popover_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -1
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{popper-87bf13e6.js → popper-a7580aca.js} +90 -64
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
- package/dist/collection/components/calcite-input/calcite-input.css +2 -0
- package/dist/collection/components/calcite-input/calcite-input.js +4 -4
- package/dist/collection/components/calcite-label/interfaces.js +1 -0
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +1 -0
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
- package/dist/collection/demos/_assets/demo-spacer.js +17 -0
- package/dist/collection/demos/_assets/demo-template.js +13 -0
- package/dist/collection/demos/_assets/head.js +45 -0
- package/dist/components/calcite-color-picker-swatch2.js +19 -11
- package/dist/components/calcite-input2.js +5 -5
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-split-button.js +4 -1
- package/dist/components/popper.js +90 -64
- package/dist/custom-elements/index.js +119 -83
- package/dist/esm/calcite-color-picker_3.entry.js +19 -11
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm/calcite-input.entry.js +5 -5
- package/dist/esm/calcite-popover_2.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +3 -1
- package/dist/esm/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{popper-dc4b45cf.js → popper-f5caedc4.js} +90 -64
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/popper-f5caedc4.js +5 -0
- package/dist/extras/docs-json.json +23 -1
- package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.js +119 -82
- package/package.json +16 -16
- package/readme.md +2 -2
- package/dist/calcite/p-08d707c4.entry.js +0 -5
- package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
- package/dist/calcite/p-8c02f97a.entry.js +0 -5
- package/dist/calcite/p-aa47308a.entry.js +0 -5
- package/dist/calcite/p-b0e21c19.system.entry.js +0 -5
- package/dist/calcite/p-b1f88d45.system.js +0 -5
- package/dist/calcite/p-d53cc958.js +0 -5
- package/dist/esm-es5/popper-dc4b45cf.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5.38 23H4.277l1.871-4h1.105zm3.469-1l1.403-3H9.147l-1.403 3zm6.298-3l-1.87 4h1.104l1.871-4zm-8.28-1h-1.43a3.438 3.438 0 0 1 0-6.875l.012.001A3.369 3.369 0 0 1 9.4 9.24a5.494 5.494 0 0 1 10.548-.521A4.807 4.807 0 0 1 18.187 18zM3 14.562A2.44 2.44 0 0 0 5.438 17h12.75a3.807 3.807 0 0 0 1.394-7.351l-.429-.17-.15-.436a4.494 4.494 0 0 0-8.629.426l-.232.99-.986-.25a2.407 2.407 0 0 0-.594-.084 2.443 2.443 0 0 0-2.206 1.42l-.268.581h-.715A2.442 2.442 0 0 0 3 14.563z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.787 31H5.682l2.34-5h1.104zm5.234-5l-1.87 4h1.104l1.87-4zm6.597 3h1.104l1.404-3H20.02zM3.678 17a4.486 4.486 0 0 1 2.594-.988A4.487 4.487 0 0 1 10.5 13a4.46 4.46 0 0 1 .64.065 7.497 7.497 0 0 1 14.553-.678A6.496 6.496 0 0 1 23.5 25H6.672a4.614 4.614 0 0 1-4.608-3.727A4.492 4.492 0 0 1 3.68 17zm.092 1.313a3.485 3.485 0 0 0-.72 2.795A3.621 3.621 0 0 0 6.673 24H23.5a5.496 5.496 0 0 0 1.855-10.671l-.478-.172-.143-.488a6.497 6.497 0 0 0-12.612.586l-.18.935-1.01-.145A3.172 3.172 0 0 0 10.5 14a3.497 3.497 0 0 0-3.285 2.344l-.223.633-.67.034a3.507 3.507 0 0 0-2.552 1.302z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11 10h-1V9h1zm1 0h1V9h-1zm2-1v1h1V9zm-2-1h1V7h-1zm0 4h1v-1h-1zm-1.354-1.354l.707.707.5-.5-.707-.707zm3.707-2.293l-.707-.707-.5.5.707.707zm-1.207 2.5l.5.5.707-.707-.5-.5zm-2.5-2.5l.5.5.707-.707-.5-.5zM2 13H1v1h1zm1 1h1v-1H3zm2 0h1v-1H5zm-2-2h1v-1H3zm0 4h1v-1H3zm-1.354-1.354l.707.707.5-.5-.707-.707zm2.5-2.5l.707.707.5-.5-.707-.707zm0 2.707l.5.5.707-.707-.5-.5zm-2.5-2.5l.5.5.707-.707-.5-.5zM5 3H3v1h2zm1 1h1V3H6zm2 0h2V3H8zM6 2h1V0H6zm0 5h1V5H6zm-.128-2.165l-.743-.67L4.12 5.282l.743.67zm3.007-3.117l-.743-.67-1.008 1.117.743.67zm-1.75 3.117l1.007 1.117.743-.67L7.87 4.165zm-1.257-2.67L4.864 1.048l-.743.67L5.13 2.835z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5 20H3v-1h2zm2-1H6v1h1zm3 0H8v1h2zm-3-3H6v2h1zm0 5H6v2h1zm-1.128-.165l-.743-.67-1.008 1.117.743.67zm3.007-3.117l-.743-.67-1.008 1.117.743.67zm0 3.564L7.87 20.165l-.743.67 1.008 1.117zm-3.007-3.117l-1.008-1.117-.743.67 1.008 1.117zM17 15h-2v1h2zm2 0h-1v1h1zm3 0h-2v1h2zm-3-3h-1v2h1zm0 5h-1v2h1zm-1.128-.165l-.743-.67-1.008 1.117.743.67zm3.007-3.117l-.743-.67-1.008 1.117.743.67zm0 3.564l-1.008-1.117-.743.67 1.008 1.117zm-3.007-3.117l-1.008-1.117-.743.67 1.008 1.117zm-3.59-7.214l-1.367.366L11.5 6.5l1.415-.817 1.366.366-.5-.866 1.472-.85-.5-.866-1.472.85-.5-.866-.366 1.366L11 5.634V3l1-1h-1V1h-1v1H9l1 1v2.634l-1.415-.817-.366-1.366-.5.866-1.472-.85-.5.866 1.472.85-.5.866 1.366-.366L9.5 6.5l-1.415.817-1.366-.366.5.866-1.472.85.5.866 1.472-.85.5.866.366-1.366L10 7.366V10l-1 1h1v1h1v-1h1l-1-1V7.366l1.415.817.366 1.366.5-.866 1.472.85.5-.866-1.472-.85z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M19.098 5.831l-1.547.875 1.201.969-.627.78-1.512-1.22-3.097 1.751 3.097 1.75 1.512-1.218.627.779-1.201.97 1.547.874-.493.87-1.528-.863-.162 1.517-.995-.107.21-1.946L13 9.843v3.868l1.727.685-.37.93L13 14.787V16h-1v-1.213l-1.358.54-.369-.93L12 13.71V9.843l-3.13 1.769.21 1.946-.995.107-.162-1.517-1.528.864-.493-.871 1.547-.875-1.201-.97.627-.778 1.512 1.219 3.097-1.75-3.097-1.752-1.512 1.22-.627-.78 1.201-.97-1.547-.874.493-.871 1.528.864.162-1.516.995.107-.21 1.945L12 8.13V4.288l-1.727-.685.37-.93 1.357.54V2h1v1.213l1.358-.54.369.93L13 4.29v3.84l3.13-1.769-.21-1.945.995-.107.162 1.516 1.528-.864zm10.183 13.12l-1.366.366L26.5 18.5l1.415-.817 1.366.366-.5-.866.866-.5-.5-.866-.866.5-.5-.866-.366 1.366-1.415.817V16l1-1h-1v-1h-1v1h-1l1 1v1.634l-1.415-.817-.366-1.366-.5.866-.866-.5-.5.866.866.5-.5.866 1.366-.366 1.415.817-1.415.817-1.366-.366.5.866-.866.5.5.866.866-.5.5.866.366-1.366L25 19.366V21l-1 1h1v1h1v-1h1l-1-1v-1.634l1.415.817.366 1.366.5-.866.866.5.5-.866-.866-.5zm-17.134 3.866l-.866.5-.5-.866-.366 1.366L9 24.634V23l1-1H9v-1H8v1H7l1 1v1.634l-1.415-.817-.366-1.366-.5.866-.866-.5-.5.866.866.5-.5.866 1.366-.366L7.5 25.5l-1.415.817-1.366-.366.5.866-.866.5.5.866.866-.5.5.866.366-1.366L8 26.366V28l-1 1h1v1h1v-1h1l-1-1v-1.634l1.415.817.366 1.366.5-.866.866.5.5-.866-.866-.5.5-.866-1.366.366L9.5 25.5l1.415-.817 1.366.366-.5-.866.866-.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M23 13H1v-2h22z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4.482 2.52L3.856.335l.96-.275.627 2.183a3.797 3.797 0 0 0-.961.275zM2.347 7.046a3.807 3.807 0 0 1-.09-.493l-2.196.63.275.96 2.196-.63a3.812 3.812 0 0 1-.185-.467zm.33-2.89a3.798 3.798 0 0 1 .272-.42l-1.79-.992-.484.875 1.802.999a3.813 3.813 0 0 1 .2-.461zm5.166-1.48a3.81 3.81 0 0 1 .413.285l.999-1.803L8.38.675l-.992 1.789a3.788 3.788 0 0 1 .455.213zM16 9.5a3.5 3.5 0 0 1-3.5 3.5h-9a2.492 2.492 0 0 1-.648-4.9c.065-.018.127-.042.194-.054a2.482 2.482 0 0 1 .394-.941 2.765 2.765 0 0 1 4.23-3.337 3.97 3.97 0 0 1 6.26 2.544A3.495 3.495 0 0 1 16 9.5zm-1 0a2.503 2.503 0 0 0-1.48-2.276l-.483-.218-.092-.522a2.989 2.989 0 0 0-5.857-.17l-.233.992-.987-.252A1.462 1.462 0 0 0 4.03 8.227l-.124.678-.678.124A1.498 1.498 0 0 0 3.5 12h9A2.503 2.503 0 0 0 15 9.5zM4.241 6.34a2.416 2.416 0 0 1 1.874-.255 3.997 3.997 0 0 1 .813-1.621c-.02-.012-.035-.027-.055-.038a1.799 1.799 0 0 0-2.447.701 1.781 1.781 0 0 0-.185 1.214z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.386 3.593L5.633.573l.97-.241.753 3.019zM3.472 9.129l-.121-.485-3.02.752.243.971 3.019-.753zM4.4 5.253L1.829 3.708l-.515.858L3.885 6.11zm6.347-.853l1.544-2.571-.857-.515L9.89 3.885zM23 13.187A4.813 4.813 0 0 1 18.187 18H5.438a3.438 3.438 0 0 1 0-6.875l.012.001a3.457 3.457 0 0 1 .275-.48 3.494 3.494 0 1 1 5.381-4.24A5.47 5.47 0 0 1 19.95 8.72 4.805 4.805 0 0 1 23 13.188zm-1 0a3.789 3.789 0 0 0-2.418-3.538l-.429-.17-.15-.436a4.494 4.494 0 0 0-8.629.426l-.232.99-.986-.25a2.41 2.41 0 0 0-.594-.084 2.443 2.443 0 0 0-2.206 1.42l-.268.581h-.715A2.437 2.437 0 0 0 5.437 17h12.75A3.817 3.817 0 0 0 22 13.187zM6.397 9.908a3.312 3.312 0 0 1 3.004-.667 5.465 5.465 0 0 1 .962-2.02 2.492 2.492 0 1 0-3.966 2.687z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4.593 12.959c.05.162.124.31.184.466l-3.672 1.123-.292-.956 3.657-1.118c.037.162.074.324.123.485zM9.53 4.482L8.408.813l-.956.292L8.57 4.762c.155-.06.31-.12.471-.17.16-.048.326-.073.489-.11zm6.841-2.518l-.883-.47-1.799 3.383a6.613 6.613 0 0 1 .884.468zm-11.03 5.46L1.964 5.63l-.47.883 3.377 1.796c.067-.153.135-.305.213-.454a6.79 6.79 0 0 1 .257-.43zM31 18.5a6.5 6.5 0 0 1-6.5 6.5H7.672a4.614 4.614 0 0 1-4.608-3.727 4.532 4.532 0 0 1 4.208-5.261 4.524 4.524 0 0 1 .434-.876 5.29 5.29 0 1 1 7.765-6.954 7.485 7.485 0 0 1 11.222 4.205A6.497 6.497 0 0 1 31 18.5zm-1 0a5.511 5.511 0 0 0-3.645-5.171l-.478-.172-.143-.488a6.497 6.497 0 0 0-12.612.586l-.18.935-1.01-.145A3.172 3.172 0 0 0 11.5 14a3.497 3.497 0 0 0-3.285 2.344l-.223.633-.67.034a3.5 3.5 0 0 0-3.271 4.098A3.621 3.621 0 0 0 7.672 24H24.5a5.506 5.506 0 0 0 5.5-5.5zM6.873 12.262a4.303 4.303 0 0 0 1.428 2.1A4.438 4.438 0 0 1 11.5 13a4.46 4.46 0 0 1 .64.065 7.498 7.498 0 0 1 2.536-4.304 4.31 4.31 0 0 0-7.803 3.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 9.5a3.495 3.495 0 0 0-2.07-3.188 3.989 3.989 0 0 0-7.815-.227 2.462 2.462 0 0 0-3.07 1.96A2.498 2.498 0 0 0 3.5 13h9A3.5 3.5 0 0 0 16 9.5zM5.5 7a1.493 1.493 0 0 1 .368.054l.987.252.233-.992a2.989 2.989 0 0 1 5.857.17l.092.522.484.218A2.496 2.496 0 0 1 12.5 12h-9a1.498 1.498 0 0 1-.273-2.97l.678-.126.124-.677A1.496 1.496 0 0 1 5.5 7zm-3.778 9H.618l.936-2h1.104zm1.896 0l.936-2h1.104l-.936 2zm3 0l.936-2h1.104l-.936 2zm3 0l.936-2h1.104l-.936 2zm3.936-2h1.104l-.936 2h-1.104z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.316 21H5.212l.935-2h1.105zm2.065 2l1.871-4H9.147l-1.87 4zm3.468-1l1.403-3h-1.105l-1.403 3zm3.298-3l-2.339 5h1.105l2.339-5zm3 0l-.935 2h1.104l.936-2zm-11.28-1h-1.43a3.438 3.438 0 0 1 0-6.875l.012.001A3.369 3.369 0 0 1 9.4 9.24a5.494 5.494 0 0 1 10.548-.521A4.807 4.807 0 0 1 18.187 18zM3 14.562A2.44 2.44 0 0 0 5.438 17h12.75a3.807 3.807 0 0 0 1.394-7.351l-.429-.17-.15-.436a4.494 4.494 0 0 0-8.629.426l-.232.99-.986-.25a2.407 2.407 0 0 0-.594-.084 2.443 2.443 0 0 0-2.206 1.42l-.268.581h-.715A2.442 2.442 0 0 0 3 14.563z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M7.722 29H6.618l1.403-3h1.105zm4.3-3l-2.34 5h1.105l2.339-5zm4 0l-1.872 4h1.105l1.87-4zm4 0l-2.808 6h1.105l2.807-6zm2.596 3h1.104l1.404-3H24.02zM3.678 17a4.486 4.486 0 0 1 2.594-.988A4.487 4.487 0 0 1 10.5 13a4.46 4.46 0 0 1 .64.065 7.497 7.497 0 0 1 14.553-.678A6.496 6.496 0 0 1 23.5 25H6.672a4.614 4.614 0 0 1-4.608-3.727A4.492 4.492 0 0 1 3.68 17zm.092 1.313a3.485 3.485 0 0 0-.72 2.795A3.621 3.621 0 0 0 6.673 24H23.5a5.496 5.496 0 0 0 1.855-10.671l-.478-.172-.143-.488a6.497 6.497 0 0 0-12.612.586l-.18.935-1.01-.145A3.172 3.172 0 0 0 10.5 14a3.498 3.498 0 0 0-3.285 2.344l-.223.633-.67.034a3.507 3.507 0 0 0-2.552 1.302z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M1.723 16H.618l.936-2h1.104zm3 0l.935-2H4.554l-.936 2zm3 0l.935-2H7.554l-.936 2zm3 0l.935-2h-1.104l-.936 2zm1.895 0h1.105l.935-2h-1.104zM16 9.5a3.495 3.495 0 0 0-2.07-3.188 3.989 3.989 0 0 0-3.824-3.302c-.004.02-.004.04-.01.06a1.506 1.506 0 0 1-.354.638 1.49 1.49 0 0 1 .03.311C9.848 4.014 9.922 4 10 4a2.988 2.988 0 0 1 2.946 2.484l.09.522.485.218A2.496 2.496 0 0 1 12.5 12h-9A1.502 1.502 0 0 1 2 10.5a1.473 1.473 0 0 1 .505-1.091 1.502 1.502 0 0 1-.61-.395 1.51 1.51 0 0 1-.312-.115A2.497 2.497 0 0 0 3.5 13h9A3.5 3.5 0 0 0 16 9.5zM2.219 7.549l.366-1.366L4 5.366V7L3 8h1v1h1V8h1L5 7V5.366l1.415.817.366 1.366.5-.866.866.5.5-.866-.866-.5.5-.866-1.366.366L5.5 4.5l1.415-.817 1.366.366-.5-.866.866-.5-.5-.866-.866.5-.5-.866-.366 1.366L5 3.634V2l1-1H5V0H4v1H3l1 1v1.634l-1.415-.817-.366-1.366-.5.866-.866-.5-.5.866.866.5-.5.866 1.366-.366L3.5 4.5l-1.415.817-1.366-.366.5.866-.866.5.5.866.866-.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.316 21H5.212l.935-2h1.105zm2.065 2l1.871-4H9.147l-1.87 4zm3.468-1l1.403-3h-1.105l-1.403 3zm3.298-3l-2.338 5h1.104l2.339-5zm3 0l-.935 2h1.104l.936-2zM23 13.187a4.805 4.805 0 0 0-3.05-4.468 5.409 5.409 0 0 0-6.454-3.557 1.485 1.485 0 0 1-.493.47l-.247.142a1.503 1.503 0 0 1-.043.721 4.48 4.48 0 0 1 6.29 2.548l.15.436.43.17A3.807 3.807 0 0 1 18.187 17H5.438a2.432 2.432 0 0 1-.373-4.835 1.488 1.488 0 0 1-.45-.59 1.505 1.505 0 0 1-.088-.313A3.43 3.43 0 0 0 5.437 18h12.75A4.813 4.813 0 0 0 23 13.187zM5.219 9.55l.366-1.366L7 7.366V10l-1 1h1v1h1v-1h1l-1-1V7.366l1.415.817.366 1.366.5-.866 1.472.85.5-.866-1.472-.85.5-.866-1.366.366L8.5 6.5l1.415-.817 1.366.366-.5-.866 1.472-.85-.5-.866-1.472.85-.5-.866-.366 1.366L8 5.634V3l1-1H8V1H7v1H6l1 1v2.634l-1.415-.817-.366-1.366-.5.866-1.472-.85-.5.866 1.472.85-.5.866 1.366-.366L6.5 6.5l-1.415.817-1.366-.366.5.866-1.472.85.5.866 1.472-.85z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M7.722 29H6.618l1.403-3h1.105zm4.3-3l-2.34 5h1.105l2.339-5zm4 0l-1.872 4h1.105l1.87-4zm4 0l-2.808 6h1.105l2.807-6zm2.596 3h1.104l1.404-3H24.02zM2.064 21.273A4.614 4.614 0 0 0 6.672 25H23.5a6.5 6.5 0 0 0 2.193-12.613 7.487 7.487 0 0 0-6.438-5.324 2.499 2.499 0 0 1-.507.958 6.523 6.523 0 0 1 5.986 4.648l.143.488.478.172A5.496 5.496 0 0 1 23.5 24H6.672a3.621 3.621 0 0 1-3.621-2.892 3.489 3.489 0 0 1 3.2-4.086 2.018 2.018 0 0 1-.275-.946h-.254a4.495 4.495 0 0 0-3.658 5.197zm4.021-6.608l.995-.107-.21-1.946L10 10.843v3.868l-1.727.685.37.93L10 15.787V17h1v-1.213l1.358.54.369-.93L11 14.71v-3.868l3.13 1.769-.21 1.946.995.107.162-1.517 1.528.864.493-.871-1.547-.875 1.201-.97-.627-.778-1.512 1.219-3.097-1.75 3.097-1.752 1.512 1.22.627-.78-1.201-.97 1.547-.874-.493-.871-1.528.864-.162-1.516-.995.107.21 1.945L11 9.13V5.288l1.727-.685-.37-.93-1.357.54V3h-1v1.213l-1.358-.54-.369.93L10 5.29v3.84L6.87 7.36l.21-1.945-.995-.107-.162 1.516-1.528-.864-.493.871 1.547.875-1.201.969.627.78 1.512-1.22 3.097 1.751-3.097 1.75-1.512-1.218-.627.779 1.201.97-1.547.874.493.87 1.528-.863z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M1.723 16H.618l.936-2h1.104zm3 0l.935-2H4.554l-.936 2zm3 0l.935-2H7.554l-.936 2zm3 0l.935-2h-1.104l-.936 2zm1.895 0h1.105l.935-2h-1.104zM9.663 4.029a2.899 2.899 0 0 1 3.282 2.455l.092.522.484.218A2.496 2.496 0 0 1 12.5 12H5.57a2.476 2.476 0 0 1-1.288 1H12.5a3.496 3.496 0 0 0 1.43-6.688A3.993 3.993 0 0 0 10 3c-.117 0-.228.02-.342.03a2.486 2.486 0 0 1 .005.999zM3 6H.452l2.235-6h4.14L5.573 3h2.474L3 12.68zm1-1v3.599L6.397 4H4.071l1.254-3H3.381l-1.49 4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.316 21H5.212l.935-2h1.105zm2.065 2l1.871-4H9.147l-1.87 4zm3.468-1l1.403-3h-1.105l-1.403 3zm3.298-3l-2.338 5h1.104l2.339-5zm2.065 2h1.104l.936-2h-1.105zM23 13.187a4.805 4.805 0 0 0-3.05-4.468 5.41 5.41 0 0 0-6.6-3.519c.012.02.028.035.039.054a2.474 2.474 0 0 1 .286.89 4.428 4.428 0 0 1 5.327 2.899l.15.436.43.17A3.807 3.807 0 0 1 18.187 17H5.438a2.432 2.432 0 0 1-.67-4.772l.063-1.042A3.434 3.434 0 0 0 5.437 18h12.75A4.813 4.813 0 0 0 23 13.187zM6.968 9H2.94l2.326-8h6.087L8.255 6h3.837l-5.52 9.475zm1.064-1l-.204 3.334L10.352 7H6.46l3.098-5h-3.54L4.272 8z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M7.722 29H6.618l1.403-3h1.105zm4.3-3l-2.34 5h1.105l2.339-5zm4 0l-1.872 4h1.105l1.87-4zm4 0l-2.808 6h1.105l2.807-6zm2.596 3h1.104l1.404-3H24.02zM2.064 21.273A4.614 4.614 0 0 0 6.672 25H23.5a6.5 6.5 0 0 0 2.193-12.613 7.493 7.493 0 0 0-9.862-4.895 2.476 2.476 0 0 1 .733.801c.004.006.005.014.008.02A6.436 6.436 0 0 1 18.5 8a6.532 6.532 0 0 1 6.234 4.669l.143.488.478.172A5.496 5.496 0 0 1 23.5 24H6.672a3.621 3.621 0 0 1-3.621-2.891 3.467 3.467 0 0 1 2.777-4.02l.302-1.062a4.49 4.49 0 0 0-4.066 5.246zM9.072 13H4.305l3-10h7.117l-4.307 6h5.167L7.69 21.026l-.795-.382zm1.324-1l-1.489 5.228L13.468 10H8.166l4.307-6H8.049l-2.4 8z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5.172 5.172A4 4 0 1 0 8 4a3.987 3.987 0 0 0-2.828 1.172zm4.95 4.95A3 3 0 1 1 11 8a2.99 2.99 0 0 1-.879 2.121zM1.311 12a7.8 7.8 0 1 1 13.375 0H13.49a6.797 6.797 0 1 0-10.978 0zM16 13v3H0v-3h1v2h6v-2h1v2h7v-2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M12 7.2a4.8 4.8 0 1 0 3.394 1.406A4.785 4.785 0 0 0 12 7.2zm0 8.6a3.804 3.804 0 1 1 2.686-1.114A3.788 3.788 0 0 1 12 15.8zM3.022 18a10.8 10.8 0 1 1 17.956 0h-1.24a9.795 9.795 0 1 0-15.476 0zM23 19v3H1v-3h1v2h9v-2h1v2h10v-2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16 22.797a6.797 6.797 0 1 1 4.809-1.988A6.782 6.782 0 0 1 16 22.797zm0-12.594a5.797 5.797 0 1 0 4.102 1.695A5.781 5.781 0 0 0 16 10.203zM6.903 25A12.798 12.798 0 0 1 25.051 6.95 12.794 12.794 0 0 1 25.097 25h1.348A13.794 13.794 0 0 0 6.242 6.242 13.776 13.776 0 0 0 5.555 25zM29 26v3H16v-3h-1v3H3v-3H2v4h28v-4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M5.5 8.247a7.194 7.194 0 0 1 4.239 1.557 9.055 9.055 0 0 0-.197-1.001 15.32 15.32 0 0 0-.852-2.156A7.708 7.708 0 0 1 7 1H1v9.028a7.368 7.368 0 0 1 4.5-1.781z"},{"d":"M15 1v14h-3v-1h2V6.026a6.874 6.874 0 0 0-3.739 1.67l-.265-.636c-.053-.128-.104-.23-.156-.342a7.952 7.952 0 0 1 4.16-1.7V2H8V1zM6.104 2.955l.993-.125A24.482 24.482 0 0 1 7 1.876V1H5v1h1.008q.043.525.096.955zm2.02 2.83a4.43 4.43 0 0 1-.568-.946l-.922.389a5.428 5.428 0 0 0 .68 1.143 7.47 7.47 0 0 1 .505.767l.871-.49a8.577 8.577 0 0 0-.566-.864zM2 5H1v2h1zM1 1v2h1V2h1V1H1zm6.972 8.094l.026.013-.019-.027zM5.5 9.246C2.462 9.246 0 12.5 0 12.5s2.462 3.254 5.5 3.254S11 12.5 11 12.5 8.538 9.246 5.5 9.246zm0 5.708c-1.938 0-3.679-1.62-4.447-2.454.768-.834 2.51-2.454 4.447-2.454 1.936 0 3.677 1.618 4.446 2.452-.774.835-2.524 2.456-4.446 2.456zM5.5 11A1.5 1.5 0 1 0 7 12.5 1.5 1.5 0 0 0 5.5 11z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M8.458 12.5a10.323 10.323 0 0 1 6.536 2.757 7.942 7.942 0 0 0-2.128-4.878C10.593 8.249 9.145 8.605 9 2H3v12.433A9.392 9.392 0 0 1 8.458 12.5z"},{"d":"M22 2v20h-5v-1h4V9.05a10.327 10.327 0 0 0-5.253 1.91c-.154-.249-.35-.542-.558-.837A11.364 11.364 0 0 1 21 8.048V3H10V2zM3 2v2h1V3h1V2H3zm0 6h1V6H3zm0 4h1v-2H3zM9 2H7v1h1v.022c.017.362.038.7.067 1.024l.996-.09A17.355 17.355 0 0 1 9 2zm5.84 12.214a13.604 13.604 0 0 0-.594-1.81l-.088-.21-.914.406.073.173a12.677 12.677 0 0 1 .553 1.68zM8.397 6.142a7.701 7.701 0 0 0 .773 2.035l.87-.494a6.726 6.726 0 0 1-.67-1.774zm4.47 4.237a11.45 11.45 0 0 0-.989-.802c-.211-.158-.424-.317-.632-.49l-.639.77c.222.183.447.352.671.52a10.747 10.747 0 0 1 .908.732zM16 18.5l-.234.305C15.634 18.976 12.524 23 8.458 23c-4.06 0-7.072-4.017-7.209-4.188L1 18.5l.249-.312C1.386 18.018 4.398 14 8.459 14c4.064 0 7.175 4.024 7.307 4.195zm-1.101 0c-.815-.928-3.39-3.6-6.44-3.6-3.045 0-5.489 2.663-6.338 3.6.85.937 3.293 3.6 6.339 3.6 3.055 0 5.626-2.67 6.439-3.6zM11 18.5A2.5 2.5 0 1 0 8.5 21a2.503 2.503 0 0 0 2.5-2.5z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M11.42 16.543h.188a13.268 13.268 0 0 1 7.771 3.121 13.088 13.088 0 0 0-.282-1.363c-1.825-6.737-4.83-4.49-5.82-11.309A27.182 27.182 0 0 1 13 3H4v16.403a13.11 13.11 0 0 1 7.42-2.86z"},{"d":"M18.37 16.186l-.924.38a7.908 7.908 0 0 0-1-1.77l.796-.604a8.835 8.835 0 0 1 1.128 1.994zm-2.626-3.644a8.005 8.005 0 0 1-1.26-1.606l-.865.502a9.102 9.102 0 0 0 1.406 1.8zm-3-3.217l.961-.275a15.776 15.776 0 0 1-.429-2.058l-.99.145a16.771 16.771 0 0 0 .458 2.188zM4 9h1V7H4zm0-6v2h1V4h1V3H4zm4 1h2V3H8zm-4 9h1v-2H4zm0 4h1v-2H4zm8.057-12.066l.998-.067c-.021-.31-.045-.622-.055-.972S13 3 13 3h-1s-.011.635 0 1 .037.636.057.934zm-.558 23.016a3.441 3.441 0 0 0 3.45-3.394v-.076a3.44 3.44 0 0 0-3.413-3.43h-.072a3.44 3.44 0 0 0-3.414 3.43v.076a3.44 3.44 0 0 0 3.45 3.394zm10.28-3.751c-.184-.254-4.508-6.033-10.17-6.156h-.156C5.791 18.166 1.405 23.945 1.22 24.2l-.22.3.224.299c.187.252 4.632 6.084 10.296 6.147h.022c5.663-.063 10.047-5.895 10.234-6.147L22 24.5zm-10.243 5.746h-.006c-4.516-.05-8.31-4.282-9.27-5.449.953-1.16 4.705-5.355 9.215-5.453h.133c4.515.099 8.204 4.298 9.136 5.453-.956 1.18-4.682 5.396-9.208 5.45zM15 3v.84l.009.16H28v5.97a14.314 14.314 0 0 0-8.996 3.411 8.01 8.01 0 0 1 .454.932A13.213 13.213 0 0 1 28 10.97V27h-5v1h6V3z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M13.551 10.266l1.547.875-.493.871-1.528-.864-.162 1.517-.995-.107.209-1.946L9 8.843v3.868l1.727.685-.369.93L9 13.787V15H8v-1.213l-1.358.539-.369-.93L8 12.711V8.843l-3.129 1.769.209 1.946-.995.107-.162-1.517-1.528.864-.493-.871 1.547-.875-1.201-.969.627-.779 1.512 1.219 3.097-1.751-3.097-1.751-1.512 1.219-.627-.779 1.201-.969-1.547-.875.493-.871 1.528.864.162-1.516.995.107-.209 1.945L8 7.129v-3.84l-1.727-.685.369-.93L8 2.213V1h1v1.213l1.358-.539.369.93L9 3.289v3.84l3.129-1.769-.209-1.945.995-.107.162 1.516 1.528-.864.493.871-1.547.875 1.201.969-.627.779-1.512-1.219-3.097 1.751 3.097 1.751 1.512-1.219.627.779-1.201.969z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M19.335 15.268l2.485 1.405-.492.871-2.467-1.395-.267 2.492-.994-.108.313-2.92L13 12.836v6.04l2.602 1.033-.369.93L13 19.952V22h-1v-2.048l-2.233.887-.369-.93L12 18.876v-6.04l-4.913 2.777.313 2.92-.994.108-.267-2.492-2.467 1.395-.492-.871 2.485-1.405-1.962-1.581.628-.78 2.271 1.832 4.882-2.76-4.881-2.758-2.272 1.832-.628-.78 1.963-1.582L3.18 7.286l.492-.871L6.139 7.81l.267-2.491.994.108-.312 2.919L12 11.123V5.124L9.398 4.091l.369-.93L12 4.048V2h1v2.048l2.233-.887.369.93L13 5.124v5.999l5.195-2.937-.296-2.759.995-.108.249 2.331 2.185-1.235.492.871-2.185 1.235 1.869 1.417-.605.796-2.212-1.677-5.171 2.922 4.882 2.76 2.271-1.832.628.78-1.962 1.581z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M25.486 20.531l3.056 1.727-.492.871-3.035-1.715-.371 3.46-.994-.107.417-3.889L17 16.883v7.973l3.478 1.379-.37.93L17 25.932V29h-1v-3.068l-3.108 1.233-.37-.93L16 24.856v-7.973l-7.067 3.995.417 3.889-.994.107-.371-3.46-3.035 1.715-.492-.871 3.056-1.727-2.728-2.199.628-.779 3.037 2.448L15.531 16l-7.08-4.001-3.037 2.448-.628-.779 2.728-2.199-3.056-1.727.492-.871 3.035 1.715.371-3.46.994.107-.417 3.889L16 15.117V7.144l-3.478-1.379.37-.93L16 6.068V3h1v3.068l3.108-1.233.37.93L17 7.144v7.973l7.067-3.995-.417-3.889.994-.107.371 3.46 3.035-1.715.492.871-3.056 1.727 2.728 2.199-.628.779-3.037-2.448L17.469 16l7.08 4.001 3.037-2.448.628.779-2.728 2.199z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M3.146 2.854l-.5-.5.707-.707.5.5zm-.5 1.793l.707.707.5-.5-.707-.707zM5 3H4v1h1zM3 3H2v1h1zm3.354-.646l-.707-.707-.5.5.707.707zm0 2.293l-.5-.5-.707.707.5.5zM2 11H0v1h2zm2.871-.165L5.88 9.718l-.743-.67-1.008 1.117zM5 1H4v1h1zm1 3h1V3H6zM5 5H4v1h1zm0 7h2v-1H5zm-.872.835l1.008 1.117.743-.67-1.008-1.117zM16 6.332l-6.519 8.711-.752-.34L10.337 9H6.93a1.479 1.479 0 0 0-.043-.173L9.123 1h5.203l-2.95 5H16zM11.663 8l-1.136 3.977L14.25 7H9.625l2.95-5H9.877L8.163 8zM1.121 13.282l.743.67 1.008-1.117-.743-.67zM3 15h1v-2H3zM1.121 9.718l1.008 1.117.743-.67-1.008-1.117zM3 12h1v-1H3zm0-2h1V8H3z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.225 10l5.025-7h-7.972l-3.3 11h5.359l-2.45 8.658.753.349L23.374 10zm.438 3h-5.341l2.7-9H19.3l-5.025 7h7.101l-6.7 8.952zM3 6V5h2v1zm3-1h1v1H6zm4 0v1H8V5zM6 2h1v2H6zm1 7H6V7h1zM4.864 7.952l-.743-.67L5.13 6.165l.743.67zm3.272-4.904l.743.67L7.87 4.835l-.743-.67zm.743 4.234l-.743.67-1.008-1.117.743-.67zM4.12 3.718l.743-.67 1.008 1.117-.743.67zm5.526 11.965l-.866.5.5.866-1.366-.366L6.5 17.5l1.415.817 1.366-.366-.5.866.866.5-.5.866-.866-.5-.5.866-.366-1.366L6 18.366V20l1 1H6v1H5v-1H4l1-1v-1.634l-1.415.817-.366 1.366-.5-.866-.866.5-.5-.866.866-.5-.5-.866 1.366.366L4.5 17.5l-1.415-.817-1.366.366.5-.866-.866-.5.5-.866.866.5.5-.866.366 1.366L5 16.634V15l-1-1h1v-1h1v1h1l-1 1v1.634l1.415-.817.366-1.366.5.866.866-.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M30.502 13L17.795 29.872l-.76-.367L20.336 18h-3.531a1.883 1.883 0 0 0-.522-1h5.383l-2.834 9.835L28.498 14H19.04l6.3-9h-6.97l-3.507 11.396-.012-.001a1.994 1.994 0 0 0-.629.102 1.992 1.992 0 0 0-.298-.45L17.631 4h9.63l-6.3 9zM9 7V6H7v1zm1 0h1V6h-1zm2-1v1h2V6zm-2-1h1V3h-1zm1 3h-1v2h1zm-1.128-.165l-.743-.67L8.12 8.282l.743.67zm1.256-2.67l.743.67 1.008-1.117-.743-.67zm.743 2l-.743.67 1.008 1.117.743-.67zM9.13 5.835l.743-.67-1.008-1.117-.743.67zm3.948 12.989l-.162-1.516-.995.107.21 1.945L9 21.13v-3.841l1.727-.685-.37-.93L9 16.213V15H8v1.213l-1.358-.54-.37.93L8 17.29v3.84l-3.13-1.77.21-1.945-.995-.107-.162 1.516-1.528-.864-.493.871 1.547.875-1.201.969.627.78 1.512-1.22 3.097 1.751-3.097 1.75-1.512-1.218-.627.779 1.201.97-1.547.874.493.87 1.528-.863.162 1.517.995-.107-.21-1.946L8 22.843v3.868l-1.727.685.37.93L8 27.787V29h1v-1.213l1.358.54.369-.93L9 26.71v-3.868l3.13 1.769-.21 1.946.995.107.162-1.517 1.528.864.493-.871-1.547-.875 1.201-.97-.627-.778-1.512 1.219-3.097-1.75 3.097-1.752 1.512 1.22.627-.78-1.201-.97 1.547-.874-.493-.871z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M2.929 2H14.07a.929.929 0 0 1 .929.929V14.07a.929.929 0 0 1-.929.929H2.93a.929.929 0 0 1-.93-.928V2.93A.929.929 0 0 1 2.929 2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4.281 3h16.437A1.281 1.281 0 0 1 22 4.281v16.437A1.282 1.282 0 0 1 20.718 22H4.282A1.282 1.282 0 0 1 3 20.718V4.281A1.281 1.281 0 0 1 4.281 3z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5.798 4h21.404A1.798 1.798 0 0 1 29 5.798V27.2a1.8 1.8 0 0 1-1.8 1.8H5.8A1.8 1.8 0 0 1 4 27.2V5.798A1.798 1.798 0 0 1 5.798 4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zM14 10.778L10.778 14H6.222L3 10.778V6.222L6.222 3h4.556L14 6.222zM8.5 7.793l2.828-2.829.708.708L9.207 8.5l2.829 2.828-.708.708L8.5 9.207l-2.828 2.829-.708-.708L7.793 8.5 4.964 5.672l.708-.708z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zM21 16.02L16.021 21H8.979L4 16.02V8.98L8.979 4h7.042L21 8.98zm-8.5-4.227l4.243-4.243.707.707-4.243 4.243 4.243 4.243-.707.707-4.243-4.243-4.243 4.243-.707-.707 4.243-4.243L7.55 8.257l.707-.707z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zM28 21.264L21.264 28h-9.528L5 21.264v-9.528L11.736 5h9.528L28 11.736zm-11.5-5.471l5.657-5.657.707.707-5.657 5.657 5.657 5.657-.707.707-5.657-5.657-5.657 5.657-.707-.707 5.657-5.657-5.657-5.657.707-.707z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.192 2H5.808L2 5.808v5.384L5.808 15h5.384L15 11.192V5.808zm1.126 9.328l-.99.99L8.5 9.49l-2.828 2.828-.99-.99L7.51 8.5 4.682 5.672l.99-.99L8.5 7.51l2.828-2.828.99.99L9.49 8.5z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M16.435 3h-7.87L3 8.565v7.87L8.565 22h7.87L22 16.435v-7.87zm1.298 13.742l-.99.991-4.243-4.242-4.242 4.242-.991-.99 4.242-4.243-4.242-4.242.99-.991 4.243 4.242 4.242-4.242.991.99-4.242 4.243z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.678 4H11.322L4 11.322v10.356L11.322 29h10.356L29 21.678V11.322zm1.47 18.157l-.99.99L16.5 17.49l-5.657 5.657-.99-.99L15.51 16.5l-5.657-5.657.99-.99L16.5 15.51l5.657-5.657.99.99L17.49 16.5z"
|
|
@@ -189,6 +189,7 @@
|
|
|
189
189
|
|
|
190
190
|
:host([disabled]) {
|
|
191
191
|
pointer-events: none;
|
|
192
|
+
opacity: var(--calcite-ui-opacity-disabled);
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
:host([disabled]) .wrapper {
|
|
@@ -246,6 +247,7 @@
|
|
|
246
247
|
|
|
247
248
|
:host input[readonly], :host textarea[readonly] {
|
|
248
249
|
background-color: var(--calcite-ui-background);
|
|
250
|
+
font-weight: var(--calcite-font-weight-medium);
|
|
249
251
|
}
|
|
250
252
|
|
|
251
253
|
:host input[readonly]:focus, :host textarea[readonly]:focus {
|
|
@@ -423,7 +423,7 @@ export class CalciteInput {
|
|
|
423
423
|
numberButtonsHorizontalDown));
|
|
424
424
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
425
425
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
426
|
-
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,
|
|
426
|
+
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;
|
|
427
427
|
const childEl = this.type !== "number"
|
|
428
428
|
? [
|
|
429
429
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
@@ -436,7 +436,7 @@ export class CalciteInput {
|
|
|
436
436
|
: null;
|
|
437
437
|
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler },
|
|
438
438
|
h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir },
|
|
439
|
-
this.type === "number" && this.numberButtonType === "horizontal"
|
|
439
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
440
440
|
? numberButtonsHorizontalDown
|
|
441
441
|
: null,
|
|
442
442
|
this.prefixText ? prefixText : null,
|
|
@@ -448,11 +448,11 @@ export class CalciteInput {
|
|
|
448
448
|
this.loading ? loader : null),
|
|
449
449
|
h("div", { class: CSS.actionWrapper },
|
|
450
450
|
h("slot", { name: SLOTS.action })),
|
|
451
|
-
this.type === "number" && this.numberButtonType === "vertical"
|
|
451
|
+
this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
452
452
|
? numberButtonsVertical
|
|
453
453
|
: null,
|
|
454
454
|
this.suffixText ? suffixText : null,
|
|
455
|
-
this.type === "number" && this.numberButtonType === "horizontal"
|
|
455
|
+
this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
456
456
|
? numberButtonsHorizontalUp
|
|
457
457
|
: null,
|
|
458
458
|
h(HiddenFormInputSlot, { component: this }))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -26,6 +26,8 @@ export class CalciteSplitButton {
|
|
|
26
26
|
/** optionally add a calcite-loader component to the control,
|
|
27
27
|
disabling interaction. with the primary button */
|
|
28
28
|
this.loading = false;
|
|
29
|
+
/** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
|
|
30
|
+
this.overlayPositioning = "absolute";
|
|
29
31
|
/** specify the scale of the control, defaults to m */
|
|
30
32
|
this.scale = "m";
|
|
31
33
|
/** specify the width of the button, defaults to auto */
|
|
@@ -46,7 +48,7 @@ export class CalciteSplitButton {
|
|
|
46
48
|
h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText),
|
|
47
49
|
h("div", { class: CSS.dividerContainer },
|
|
48
50
|
h("div", { class: CSS.divider })),
|
|
49
|
-
h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
51
|
+
h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale },
|
|
50
52
|
h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }),
|
|
51
53
|
h("slot", null))));
|
|
52
54
|
}
|
|
@@ -211,6 +213,29 @@ export class CalciteSplitButton {
|
|
|
211
213
|
"reflect": true,
|
|
212
214
|
"defaultValue": "false"
|
|
213
215
|
},
|
|
216
|
+
"overlayPositioning": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"mutable": false,
|
|
219
|
+
"complexType": {
|
|
220
|
+
"original": "OverlayPositioning",
|
|
221
|
+
"resolved": "\"absolute\" | \"fixed\"",
|
|
222
|
+
"references": {
|
|
223
|
+
"OverlayPositioning": {
|
|
224
|
+
"location": "import",
|
|
225
|
+
"path": "../../utils/popper"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": false,
|
|
230
|
+
"optional": false,
|
|
231
|
+
"docs": {
|
|
232
|
+
"tags": [],
|
|
233
|
+
"text": "Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value."
|
|
234
|
+
},
|
|
235
|
+
"attribute": "overlay-positioning",
|
|
236
|
+
"reflect": false,
|
|
237
|
+
"defaultValue": "\"absolute\""
|
|
238
|
+
},
|
|
214
239
|
"primaryIconEnd": {
|
|
215
240
|
"type": "string",
|
|
216
241
|
"mutable": false,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
class DemoSpacer extends HTMLElement {
|
|
2
|
+
constructor() {
|
|
3
|
+
super();
|
|
4
|
+
this.attachShadow({ mode: "open" });
|
|
5
|
+
this.shadowRoot.innerHTML = `
|
|
6
|
+
<style>
|
|
7
|
+
:host {
|
|
8
|
+
display: grid;
|
|
9
|
+
grid-template-columns: 1fr;
|
|
10
|
+
grid-gap: ${this.getAttribute("gap") || "12px"};
|
|
11
|
+
}
|
|
12
|
+
</style>
|
|
13
|
+
<slot></slot>
|
|
14
|
+
`;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
customElements.define("demo-spacer", DemoSpacer);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const toggleDir = () => {
|
|
2
|
+
document.dir = document.dir === "rtl" ? "ltr" : "rtl";
|
|
3
|
+
};
|
|
4
|
+
const toggleTheme = () => {
|
|
5
|
+
document.body.classList.toggle("calcite-theme-dark");
|
|
6
|
+
};
|
|
7
|
+
const loadDemoToggles = () => {
|
|
8
|
+
document.querySelectorAll("h1:not(#demo-heading)").forEach((h1) => h1.remove());
|
|
9
|
+
document.getElementById("demo-heading").textContent = document.title;
|
|
10
|
+
document.getElementById("toggle-dir").addEventListener("calciteSwitchChange", toggleDir);
|
|
11
|
+
document.getElementById("toggle-theme").addEventListener("calciteSwitchChange", toggleTheme);
|
|
12
|
+
};
|
|
13
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadDemoToggles) : loadDemoToggles();
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
(() => {
|
|
2
|
+
const DEMO_ROOT = "demos";
|
|
3
|
+
const ASSETS_PATH = "demos/_assets";
|
|
4
|
+
const CSS = [`${ASSETS_PATH}/demos.css`, "build/calcite.css"];
|
|
5
|
+
const urlParams = new URLSearchParams(window.location.search);
|
|
6
|
+
const DISABLE_HEADER_URL_PARAM = "header-disabled";
|
|
7
|
+
const SCRIPTS = [
|
|
8
|
+
{
|
|
9
|
+
src: "build/calcite.esm.js",
|
|
10
|
+
type: "module"
|
|
11
|
+
}
|
|
12
|
+
];
|
|
13
|
+
const parseTemplate = (text) => {
|
|
14
|
+
const parser = new DOMParser();
|
|
15
|
+
const doc = parser.parseFromString(text, "text/html");
|
|
16
|
+
return doc.head.querySelector("template");
|
|
17
|
+
};
|
|
18
|
+
const loadHeader = async () => {
|
|
19
|
+
const root = window.location.pathname.split(DEMO_ROOT).shift();
|
|
20
|
+
const response = await window.fetch(`${root}${ASSETS_PATH}/demo-template.html`);
|
|
21
|
+
const text = await response.text();
|
|
22
|
+
const template = parseTemplate(text);
|
|
23
|
+
const firstChild = document.body.firstChild;
|
|
24
|
+
firstChild && document.body.insertBefore(template.content, firstChild);
|
|
25
|
+
};
|
|
26
|
+
if (window.location.pathname.includes("/demos/") && !urlParams.has(DISABLE_HEADER_URL_PARAM)) {
|
|
27
|
+
document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", loadHeader) : loadHeader();
|
|
28
|
+
}
|
|
29
|
+
const ROOT = window.location.pathname.split(DEMO_ROOT).shift();
|
|
30
|
+
function loadCss(url) {
|
|
31
|
+
const link = document.createElement("link");
|
|
32
|
+
link.rel = "stylesheet";
|
|
33
|
+
link.href = ROOT + url;
|
|
34
|
+
document.head.appendChild(link);
|
|
35
|
+
}
|
|
36
|
+
function loadScript(script) {
|
|
37
|
+
const scriptElement = document.createElement("script");
|
|
38
|
+
Object.keys(script).forEach((key) => {
|
|
39
|
+
scriptElement[key] = key === "src" ? ROOT + script[key] : script[key];
|
|
40
|
+
});
|
|
41
|
+
document.head.appendChild(scriptElement);
|
|
42
|
+
}
|
|
43
|
+
CSS.forEach(loadCss);
|
|
44
|
+
SCRIPTS.forEach(loadScript);
|
|
45
|
+
})();
|
|
@@ -215,12 +215,13 @@ var colorString = createCommonjsModule(function (module) {
|
|
|
215
215
|
/* MIT license */
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
var hasOwnProperty = Object.hasOwnProperty;
|
|
218
219
|
|
|
219
220
|
var reverseNames = {};
|
|
220
221
|
|
|
221
222
|
// create a list of reverse color names
|
|
222
223
|
for (var name in colorName$1) {
|
|
223
|
-
if (colorName$1
|
|
224
|
+
if (hasOwnProperty.call(colorName$1, name)) {
|
|
224
225
|
reverseNames[colorName$1[name]] = name;
|
|
225
226
|
}
|
|
226
227
|
}
|
|
@@ -263,9 +264,9 @@ cs.get.rgb = function (string) {
|
|
|
263
264
|
|
|
264
265
|
var abbr = /^#([a-f0-9]{3,4})$/i;
|
|
265
266
|
var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
|
|
266
|
-
var rgba = /^rgba?\(\s*([+-]?\d+)\s
|
|
267
|
-
var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s
|
|
268
|
-
var keyword =
|
|
267
|
+
var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
268
|
+
var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
|
|
269
|
+
var keyword = /^(\w+)$/;
|
|
269
270
|
|
|
270
271
|
var rgb = [0, 0, 0, 1];
|
|
271
272
|
var match;
|
|
@@ -302,7 +303,11 @@ cs.get.rgb = function (string) {
|
|
|
302
303
|
}
|
|
303
304
|
|
|
304
305
|
if (match[4]) {
|
|
305
|
-
|
|
306
|
+
if (match[5]) {
|
|
307
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
308
|
+
} else {
|
|
309
|
+
rgb[3] = parseFloat(match[4]);
|
|
310
|
+
}
|
|
306
311
|
}
|
|
307
312
|
} else if (match = string.match(per)) {
|
|
308
313
|
for (i = 0; i < 3; i++) {
|
|
@@ -310,19 +315,22 @@ cs.get.rgb = function (string) {
|
|
|
310
315
|
}
|
|
311
316
|
|
|
312
317
|
if (match[4]) {
|
|
313
|
-
|
|
318
|
+
if (match[5]) {
|
|
319
|
+
rgb[3] = parseFloat(match[4]) * 0.01;
|
|
320
|
+
} else {
|
|
321
|
+
rgb[3] = parseFloat(match[4]);
|
|
322
|
+
}
|
|
314
323
|
}
|
|
315
324
|
} else if (match = string.match(keyword)) {
|
|
316
325
|
if (match[1] === 'transparent') {
|
|
317
326
|
return [0, 0, 0, 0];
|
|
318
327
|
}
|
|
319
328
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
if (!rgb) {
|
|
329
|
+
if (!hasOwnProperty.call(colorName$1, match[1])) {
|
|
323
330
|
return null;
|
|
324
331
|
}
|
|
325
332
|
|
|
333
|
+
rgb = colorName$1[match[1]];
|
|
326
334
|
rgb[3] = 1;
|
|
327
335
|
|
|
328
336
|
return rgb;
|
|
@@ -348,7 +356,7 @@ cs.get.hsl = function (string) {
|
|
|
348
356
|
|
|
349
357
|
if (match) {
|
|
350
358
|
var alpha = parseFloat(match[4]);
|
|
351
|
-
var h = (parseFloat(match[1]) + 360) % 360;
|
|
359
|
+
var h = ((parseFloat(match[1]) % 360) + 360) % 360;
|
|
352
360
|
var s = clamp(parseFloat(match[2]), 0, 100);
|
|
353
361
|
var l = clamp(parseFloat(match[3]), 0, 100);
|
|
354
362
|
var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
|
|
@@ -443,7 +451,7 @@ function clamp(num, min, max) {
|
|
|
443
451
|
}
|
|
444
452
|
|
|
445
453
|
function hexDouble(num) {
|
|
446
|
-
var str = num.toString(16).toUpperCase();
|
|
454
|
+
var str = Math.round(num).toString(16).toUpperCase();
|
|
447
455
|
return (str.length < 2) ? '0' + str : str;
|
|
448
456
|
}
|
|
449
457
|
});
|
|
@@ -41,7 +41,7 @@ const SLOTS = {
|
|
|
41
41
|
action: "action"
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
const calciteInputCss = "@-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:300ms}.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-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay: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)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .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]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
44
|
+
const calciteInputCss = "@-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:300ms}.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-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay: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)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .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]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
|
|
45
45
|
|
|
46
46
|
let CalciteInput = class extends HTMLElement {
|
|
47
47
|
constructor() {
|
|
@@ -451,7 +451,7 @@ let CalciteInput = class extends HTMLElement {
|
|
|
451
451
|
const numberButtonsVertical = (h("div", { class: CSS.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
|
|
452
452
|
const prefixText = h("div", { class: CSS.prefix }, this.prefixText);
|
|
453
453
|
const suffixText = h("div", { class: CSS.suffix }, this.suffixText);
|
|
454
|
-
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,
|
|
454
|
+
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;
|
|
455
455
|
const childEl = this.type !== "number"
|
|
456
456
|
? [
|
|
457
457
|
h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
|
|
@@ -461,11 +461,11 @@ let CalciteInput = class extends HTMLElement {
|
|
|
461
461
|
this.isTextarea ? (h("div", { class: CSS.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
|
|
462
462
|
]
|
|
463
463
|
: null;
|
|
464
|
-
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
|
|
464
|
+
return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
465
465
|
? numberButtonsHorizontalDown
|
|
466
|
-
: null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical"
|
|
466
|
+
: null, this.prefixText ? prefixText : null, h("div", { class: CSS.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS.actionWrapper }, h("slot", { name: SLOTS.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
|
|
467
467
|
? numberButtonsVertical
|
|
468
|
-
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
|
|
468
|
+
: null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
|
|
469
469
|
? numberButtonsHorizontalUp
|
|
470
470
|
: null, h(HiddenFormInputSlot, { component: this }))));
|
|
471
471
|
}
|