@arcgis/common-components 5.1.0-next.60 → 5.1.0-next.62

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.
@@ -8,7 +8,7 @@ import type { Layout, TickMode, TickValues } from "./types.js";
8
8
  * slider’s range and make more precise selections.
9
9
  *
10
10
  * Tick placement is controlled by the [mode](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#mode), which defines how the [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) are parsed and translated into positions along the
11
- * line. Tick positions are derived from the component’s [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#max) range, with optional none-linear scaling via
11
+ * line. Tick positions are derived from the component’s [min](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#min) and [max](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#max) range, with optional non-linear scaling via
12
12
  * [interpolationExponent](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#interpolationExponent). Ticks can be displayed in vertical or horizontal [layout](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#layout), with optional [showLabels](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#showLabels) and a [showBaseline](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#showBaseline).
13
13
  * The component can also be made [interactive](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#interactive) to respond to user clicks on individual ticks. The [labelFormatter](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#labelFormatter) property allows customization of tick label formatting.
14
14
  *
@@ -17,8 +17,8 @@ import type { Layout, TickMode, TickValues } from "./types.js";
17
17
  * @cssproperty [--arcgis-ticks-gap] - Specifies the gap between the ticks and labels.
18
18
  * @since 5.0
19
19
  * @example
20
- * The following example creates a vertical slider with vertical ticks displayed at every 10 units from 0 to 100.
21
- * The ticks are labeled and positioned on the end side of the slider.
20
+ * The following example creates a vertical slider and ticks.
21
+ * The ticks are positioned at the end of the slider and displayed every 10 units from 0 to 100.
22
22
  * ```html
23
23
  * <arcgis-slider id="sliderComponent" min="0" max="100" show-range-labels values="50" layout="vertical">
24
24
  * <arcgis-ticks slot="content-end" style="flex:1;"
@@ -34,7 +34,7 @@ import type { Layout, TickMode, TickValues } from "./types.js";
34
34
  */
35
35
  export abstract class ArcgisTicks extends LitElement {
36
36
  /**
37
- * When `true`, ticks are clickable and the component emits [@arcgisTickClick](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#event-arcgisTickClick) when the user selects a tick.
37
+ * When `true`, ticks are clickable and the component emits [@arcgisTickClick](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#event-arcgisTickClick) when the user selects a tick.
38
38
  *
39
39
  * @default false
40
40
  * @see [@arcgisTickClick](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#event-arcgisTickClick)
@@ -98,10 +98,11 @@ export abstract class ArcgisTicks extends LitElement {
98
98
  */
99
99
  accessor mirrored: boolean;
100
100
  /**
101
- * The mode or method of positioning ticks along the component. It drives how [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) is interpreted.
102
- * - `count`: Places a fixed number of ticks (provided in the [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) property) at equal distances from each other.
103
- * - `percent`: [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) is interpreted as percentage. If [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) is a number, it indicates the interval between ticks. If it is an array, it indicates the percentage values at which to place the ticks.
104
- * - `value`: Indicates that ticks will only be placed at the values specified in the property.
101
+ * The manner in which ticks are positioned along the component. It determines how [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) is interpreted.
102
+ *
103
+ * - `count`: Places a fixed number of ticks (specified in [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values)) at equal intervals.
104
+ * - `percent`: Interprets [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values) as percentages. If it's a single number, that number is the interval between ticks; if it's an array, the array specifies the percentage positions for ticks.
105
+ * - `value`: Places ticks only at the values listed in [values](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-ticks/#values).
105
106
  *
106
107
  * @default "count"
107
108
  * @example
@@ -118,7 +119,7 @@ export abstract class ArcgisTicks extends LitElement {
118
119
  * </arcgis-slider>
119
120
  * ```
120
121
  * @example
121
- * In count mode, values is the number of ticks to render (not a list of tick values).
122
+ * In count mode, values specifies the number of ticks to render (not a list of tick values).
122
123
  * For example, use `11` ticks to show 0–100 in steps of 10 (0, 10, 20, ..., 100).
123
124
  * ```html
124
125
  * <!-- 11 ticks from 0 to 100 -->