@arcgis/common-components 5.2.0-next.118 → 5.2.0-next.119

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/loader.js CHANGED
@@ -19,7 +19,7 @@ const s = a(e, {
19
19
  "arcgis-slider-field": [() => import("./components/arcgis-slider-field/customElement.js"), "activeValue:,disabled,fieldType,fillPlacement,label,labelFormatter:,layout,max,messageOverrides:,messages:,min,mirrored,popoverLabel,rangeLabelsEditingEnabled,rangeLabelsPlacement,showRangeLabels,valueLabelsDisplay,valueLabelsEditingEnabled,valueLabelsPlacement,values,valuesAsDateOnly:,valuesAsFieldType:,valuesAsNumbers:,valuesAsTimeOnly:,valuesAsTimestampOffset:"],
20
20
  "arcgis-slider-histogram-range": [() => import("./components/arcgis-slider-histogram-range/customElement.js"), "activeValue:,average,bins:,dataLines:,excludedBarColor:,fieldType,fillPlacement,includedBarColor:,label,labelFormatter:,layout,max,min,rangeLabelsEditingEnabled,rangeLabelsPlacement,showRangeLabels,standardDeviation,standardDeviationCount,valueLabelsDisplay,valueLabelsEditingEnabled,values;destroy,generateWhereClause,updateFromHistogramResult"],
21
21
  "arcgis-slider-input": [() => import("./components/arcgis-slider-input/customElement.js"), "disabled,flipLabels,label,max,min,scale,step,unitsLabel,value,withSteppers"],
22
- "arcgis-ticks": [() => import("./components/arcgis-ticks/customElement.js"), "_messages:,interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values"],
22
+ "arcgis-ticks": [() => import("./components/arcgis-ticks/customElement.js"), "_messages:,autoDestroyDisabled,interactive,interpolationExponent,labelFormatter:,labelPlacement,layout,max,min,mirrored,mode,showBaseline,showLabels,values;destroy"],
23
23
  "arcgis-toolbar": [() => import("./components/arcgis-toolbar/customElement.js"), "barElement:,layout,relativePosition,scale,toolbarKind,tooltipAppearance;;allocate,measure,proxiedRender"],
24
24
  "arcgis-toolbar-action": [() => import("./components/arcgis-toolbar-action/customElement.js"), "actionElement:,active,appearance,disabled,icon,iconFlipRtl,indicator,kind,labelText,loading,textEnabled,tooltipText;;measure,proxiedRender"],
25
25
  "arcgis-toolbar-group": [() => import("./components/arcgis-toolbar-group/customElement.js"), "preferEndSlot,priority;;measure,proxiedRender"],
@@ -128,7 +128,7 @@ interface LuminaArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disab
128
128
  onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
129
129
  }
130
130
 
131
- interface LuminaArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, h.JSX.HTMLAttributes<ArcgisTicks> {
131
+ interface LuminaArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabled" | "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, h.JSX.HTMLAttributes<ArcgisTicks> {
132
132
  onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
133
133
  }
134
134
 
@@ -129,7 +129,7 @@ interface PreactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disab
129
129
  onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
130
130
  }
131
131
 
132
- interface PreactArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, HTMLAttributes<ArcgisTicks> {
132
+ interface PreactArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabled" | "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, HTMLAttributes<ArcgisTicks> {
133
133
  onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
134
134
  }
135
135
 
@@ -129,7 +129,7 @@ interface ReactArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disabl
129
129
  onarcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
130
130
  }
131
131
 
132
- interface ReactArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, HTMLProps<ArcgisTicks> {
132
+ interface ReactArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabled" | "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, HTMLProps<ArcgisTicks> {
133
133
  onarcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
134
134
  }
135
135
 
@@ -129,7 +129,7 @@ interface StencilArcgisSliderInput extends Partial<Pick<ArcgisSliderInput, "disa
129
129
  onArcgisValueChange?: EventHandler<ArcgisSliderInput["arcgisValueChange"]>;
130
130
  }
131
131
 
132
- interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks, "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, StencilJsx.HTMLAttributes<ArcgisTicks> {
132
+ interface StencilArcgisTicks extends Partial<Pick<ArcgisTicks, "autoDestroyDisabled" | "interactive" | "interpolationExponent" | "labelFormatter" | "labelPlacement" | "layout" | "max" | "min" | "mirrored" | "mode" | "showBaseline" | "showLabels" | "values">>, StencilJsx.HTMLAttributes<ArcgisTicks> {
133
133
  onArcgisTickClick?: EventHandler<ArcgisTicks["arcgisTickClick"]>;
134
134
  }
135
135
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/common-components",
3
- "version": "5.2.0-next.118",
3
+ "version": "5.2.0-next.119",
4
4
  "description": "ArcGIS Maps SDK for JavaScript common components",
5
5
  "keywords": [
6
6
  "2D",
@@ -45,15 +45,15 @@
45
45
  ],
46
46
  "license": "SEE LICENSE IN LICENSE.md",
47
47
  "dependencies": {
48
- "@arcgis/lumina": "5.2.0-next.118",
49
- "@arcgis/toolkit": "5.2.0-next.118",
48
+ "@arcgis/lumina": "5.2.0-next.119",
49
+ "@arcgis/toolkit": "5.2.0-next.119",
50
50
  "@esri/arcgis-html-sanitizer": "~4.1.0",
51
51
  "@lit/task": "^1.0.3",
52
52
  "lit": "^3.3.0",
53
53
  "tslib": "^2.8.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@arcgis/core": "5.2.0-next.118",
56
+ "@arcgis/core": "5.2.0-next.119",
57
57
  "@esri/calcite-components": "^5.2.0-next.73"
58
58
  },
59
59
  "css.customData": [
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as g}from"./XMGOCO2S.js";import{b as v}from"./L7XGWJZF.js";import{c as s}from"./O4H2JR53.js";import"./LAQNGXPG.js";import"./TWW63D32.js";import{K as h,L as m,M as p,O as l,R as $,j as i,t as d}from"./PWYFUIF6.js";var n=class extends m{constructor(){super(...arguments),this._active=!1,this._elementReferenceController=new g(this),this.icon="question-mark",this.tooltipText="",this.labelText="",this.disabled=!1,this.loading=!1,this.iconFlipRtl=!1,this.arcgisItemSelected=d()}static{this.properties={icon:3,lastActivated:0,active:7,tooltipText:1,labelText:3,disabled:7,loading:7,iconFlipRtl:7,actionElement:32}}get active(){return this._active}set active(e){e!==this._active&&(this._active=e,e&&(this.lastActivated=new Date))}get actionElement(){return this._elementReferenceController.element}measure({scale:e}){return[s.action[e]+s.actionPadding[e]]}proxiedRender(e,a,b){let c=e.tooltipAppearance,r=this._elementReferenceController.element,f=c!=="native"&&a==="collapsed-action",x=c==="calcite-dark"?"calcite-mode-dark":void 0,u=v(e),t=this.tooltipText||this.labelText;return a==="dropdown-item"?i`<calcite-dropdown-item .disabled=${this.disabled} icon-start=${this.icon??l} .iconFlipRtl=${this.iconFlipRtl?"both":void 0} .label=${t} @click=${o=>this._handleDropdownItemClick(o)} .selected=${this.active||b} title=${t??l}>${this.labelText}</calcite-dropdown-item>`:i`<calcite-action .active=${this.active} .disabled=${this.disabled} .icon=${this.icon} .iconFlipRtl=${this.iconFlipRtl} .label=${t} .loading=${this.loading} @click=${o=>this._handleActionClick(o)} .scale=${e.scale} .text=${this.labelText} .textEnabled=${a==="expanded-action"} title=${(c==="native"?t:void 0)??l} ${h(this._elementReferenceController.ref)}></calcite-action>${f&&r?i`<calcite-tooltip class=${p(x)} close-on-click overlay-positioning=fixed .placement=${u} .referenceElement=${r}><span>${t}</span></calcite-tooltip>`:void 0}`}_handleActionClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}_handleDropdownItemClick(e){this.isConnected&&(this.lastActivated=new Date,this.arcgisItemSelected?.emit({element:e.currentTarget}))}};$("arcgis-toolbar-item",n);export{n as ArcgisToolbarItem};