@arcgis/map-components 5.2.0-next.149 → 5.2.0-next.150

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.2.0-next.149",
3
+ "version": "5.2.0-next.150",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "2D",
@@ -43,16 +43,16 @@
43
43
  "license": "SEE LICENSE IN LICENSE.md",
44
44
  "dependencies": {
45
45
  "@amcharts/amcharts5": "~5.20.8",
46
- "@arcgis/common-components": "5.2.0-next.149",
47
- "@arcgis/lumina": "5.2.0-next.149",
48
- "@arcgis/lumina-toolkit": "5.2.0-next.149",
49
- "@arcgis/toolkit": "5.2.0-next.149",
46
+ "@arcgis/common-components": "5.2.0-next.150",
47
+ "@arcgis/lumina": "5.2.0-next.150",
48
+ "@arcgis/lumina-toolkit": "5.2.0-next.150",
49
+ "@arcgis/toolkit": "5.2.0-next.150",
50
50
  "es-toolkit": "^1.52.0",
51
51
  "lit": "^3.3.0",
52
52
  "tslib": "^2.8.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@arcgis/core": "5.2.0-next.149",
55
+ "@arcgis/core": "5.2.0-next.150",
56
56
  "@esri/calcite-components": "^5.2.0-next.89"
57
57
  },
58
58
  "css.customData": [
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{N as s,O as n,P as l,R as c,S as t,X as h,a as o,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var d=o`:host .container{border:1px solid transparent;touch-action:none;--fast-transition-time: .1s;--slow-transition-time: .3s}:host(.animate-level),.container,.item,.rect{transition:height var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),width var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}:host,.container,.item,.rect{will-change:height;transition:height var(--fast-transition-time) ease-out,width var(--fast-transition-time) ease-out,background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}.rect{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(66deg) rotate(45deg);border:var(--calcite-border-width-md) solid rgb(from var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-3)) r g b / .5);background-color:rgb(from var(--arcgis-internal-building-explorer-button-background-color, var(--calcite-color-foreground-1)) r g b / .7);&.active{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color);background-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}&.hover{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}}.item{pointer-events:none;position:absolute;left:50%;transform:translate(-50%,-50%)}`,r=class extends l{constructor(){super(...arguments),this.#t=s(),this.baseWidth=0,this.hovered=!1,this.active=!1,this.height=0}static{this.properties={messages:0,baseWidth:9,level:9,width:9,hovered:5,active:5,height:9}}static{this.styles=d}#t;focus(){this.#t.value?.focus()}render(){if(this.messages==null)return null;let e=this.width??this.baseWidth,i=e*.8;return a`<div class="container" style=${t({height:`${this.height}px`})}><div class="item" style=${t({width:`${Math.round(e)}px`,height:`${Math.round(e)}px`})}><button class=${c({rect:!0,active:this.active,hover:this.hovered})} style=${t({width:`${Math.round(i)}px`,height:`${Math.round(i)}px`})} tabindex=-1 type=button ${n(this.#t)}></button></div></div>`}};h("arcgis-building-level-item",r);export{r as BuildingLevelItem};