@arcgis/common-components 5.0.0-next.135 → 5.0.0-next.137

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.
Files changed (111) hide show
  1. package/dist/cdn/{O63ZTZG5.js → 2CMN2PLW.js} +2 -2
  2. package/dist/cdn/{QEMZUVQL.js → 3D5FKOXY.js} +2 -2
  3. package/dist/cdn/{XVOXEDSL.js → 43YNUTPG.js} +2 -2
  4. package/dist/cdn/{RNS5S5UL.js → 4I34IC6Q.js} +2 -2
  5. package/dist/cdn/{BXXIZYBD.js → 5CDET57O.js} +2 -2
  6. package/dist/cdn/{5Z2QK75J.js → 6DBUX6JF.js} +1 -1
  7. package/dist/cdn/ACOIQKWZ.js +6 -0
  8. package/dist/cdn/{K3LTU64J.js → BAXXL46B.js} +2 -2
  9. package/dist/cdn/{FREENMNZ.js → CMYVMNBW.js} +2 -2
  10. package/dist/cdn/{BAEY2UNC.js → ENYQISNB.js} +2 -2
  11. package/dist/cdn/{IGSEZSZY.js → GTFPNZX7.js} +2 -2
  12. package/dist/cdn/{LC3J3GLV.js → HRF4HSM5.js} +2 -2
  13. package/dist/cdn/{LNDXDU5Z.js → IC6DINF6.js} +123 -123
  14. package/dist/cdn/{4JREURGY.js → KY3QFUVB.js} +2 -2
  15. package/dist/cdn/{RD2QMBYZ.js → KYBEHVPR.js} +2 -2
  16. package/dist/cdn/{Y2EXN4GQ.js → L63ONHBD.js} +2 -2
  17. package/dist/cdn/{C2DNC2YJ.js → NFPYN5F7.js} +1 -1
  18. package/dist/cdn/{SYONVE3P.js → OGEHJX2A.js} +2 -2
  19. package/dist/cdn/{62JZVUW3.js → R4UCTMNW.js} +2 -2
  20. package/dist/cdn/{G7BIJSLP.js → ROYSN427.js} +2 -2
  21. package/dist/cdn/{3CIN6YRD.js → X5QI7LLG.js} +1 -1
  22. package/dist/cdn/{JVNYGVN3.js → YAIYR7HY.js} +2 -2
  23. package/dist/cdn/{ZDJE23FU.js → YJBSULAA.js} +2 -2
  24. package/dist/cdn/index.js +2 -2
  25. package/dist/chunks/commonFunctions.js +1 -1
  26. package/dist/chunks/resources.js +1 -1
  27. package/dist/chunks/runtime.js +1 -1
  28. package/dist/chunks/types.js +1 -1
  29. package/dist/chunks/useT9n.js +1 -1
  30. package/dist/components/arcgis-ckeditor5/customElement.d.ts +94 -98
  31. package/dist/components/arcgis-ckeditor5/customElement.js +6887 -7708
  32. package/dist/components/arcgis-ckeditor5/types.d.ts +4 -7
  33. package/dist/components/arcgis-ckeditor5-popover/customElement.d.ts +37 -38
  34. package/dist/components/arcgis-ckeditor5-popover/customElement.js +2 -2
  35. package/dist/components/arcgis-ckeditor5-popover/index.d.ts +0 -2
  36. package/dist/components/arcgis-color-input/customElement.d.ts +105 -82
  37. package/dist/components/arcgis-color-input/customElement.js +1 -1
  38. package/dist/components/arcgis-color-input/index.d.ts +0 -5
  39. package/dist/components/arcgis-field-info/customElement.d.ts +204 -41
  40. package/dist/components/arcgis-field-info/customElement.js +1 -1
  41. package/dist/components/arcgis-field-info/utils/basic.d.ts +2 -36
  42. package/dist/components/arcgis-field-pick-list/customElement.d.ts +196 -170
  43. package/dist/components/arcgis-field-pick-list/customElement.js +1 -1
  44. package/dist/components/arcgis-field-pick-list/index.d.ts +0 -13
  45. package/dist/components/arcgis-field-pick-list/utils/types.d.ts +2 -1
  46. package/dist/components/arcgis-histogram/customElement.d.ts +206 -195
  47. package/dist/components/arcgis-histogram/customElement.js +1 -1
  48. package/dist/components/arcgis-histogram/types.d.ts +22 -30
  49. package/dist/components/arcgis-label-input/customElement.d.ts +46 -45
  50. package/dist/components/arcgis-label-input/customElement.js +1 -1
  51. package/dist/components/arcgis-label-input/index.d.ts +0 -2
  52. package/dist/components/arcgis-picker-input/customElement.d.ts +41 -41
  53. package/dist/components/arcgis-picker-input/customElement.js +2 -2
  54. package/dist/components/arcgis-picker-input/index.d.ts +0 -4
  55. package/dist/components/arcgis-ramp-color/customElement.d.ts +16 -17
  56. package/dist/components/arcgis-ramp-color/customElement.js +1 -1
  57. package/dist/components/arcgis-ramp-color-break/customElement.d.ts +17 -18
  58. package/dist/components/arcgis-ramp-color-break/customElement.js +1 -1
  59. package/dist/components/arcgis-ramp-color-break/index.d.ts +0 -1
  60. package/dist/components/arcgis-ramp-opacity/customElement.d.ts +16 -18
  61. package/dist/components/arcgis-ramp-opacity/customElement.js +1 -1
  62. package/dist/components/arcgis-ramp-opacity/index.d.ts +0 -1
  63. package/dist/components/arcgis-slider/customElement.d.ts +287 -287
  64. package/dist/components/arcgis-slider/customElement.js +1 -1
  65. package/dist/components/arcgis-slider/index.d.ts +0 -2
  66. package/dist/components/arcgis-slider-input/customElement.d.ts +57 -58
  67. package/dist/components/arcgis-slider-input/customElement.js +1 -1
  68. package/dist/components/arcgis-slider-input/index.d.ts +0 -2
  69. package/dist/components/arcgis-ticks/customElement.d.ts +99 -94
  70. package/dist/components/arcgis-ticks/customElement.js +1 -1
  71. package/dist/components/arcgis-unique-values-list/customElement.d.ts +106 -89
  72. package/dist/components/arcgis-unique-values-list/customElement.js +1 -1
  73. package/dist/components/arcgis-unique-values-list/index.d.ts +0 -7
  74. package/dist/components/arcgis-unique-values-list/utils/basic.d.ts +2 -9
  75. package/dist/docs/api.json +1 -7276
  76. package/dist/docs/docs.json +1 -6072
  77. package/dist/docs/vscode.css-custom-data.json +1 -27
  78. package/dist/docs/vscode.html-custom-data.json +1 -1185
  79. package/dist/docs/web-types.json +1 -2387
  80. package/dist/index.d.ts +30 -23
  81. package/dist/index.js +1 -1
  82. package/dist/loader.js +11 -11
  83. package/dist/types/lumina.d.ts +54 -54
  84. package/dist/types/preact.d.ts +54 -54
  85. package/dist/types/react.d.ts +54 -54
  86. package/dist/types/stencil.d.ts +54 -54
  87. package/dist/utils/types.d.ts +33 -29
  88. package/package.json +6 -4
  89. package/dist/cdn/ZMDBYWZB.js +0 -6
  90. package/dist/components/arcgis-ckeditor5/resources.d.ts +0 -9
  91. package/dist/components/arcgis-field-info/utils/feature.d.ts +0 -21
  92. package/dist/components/arcgis-field-info/utils/field.d.ts +0 -30
  93. package/dist/components/arcgis-field-info/utils/index.d.ts +0 -3
  94. package/dist/components/arcgis-histogram/css.d.ts +0 -8
  95. package/dist/components/arcgis-histogram/histogramSample.d.ts +0 -25
  96. package/dist/components/arcgis-histogram/utils.d.ts +0 -19
  97. package/dist/components/arcgis-slider/SliderData.d.ts +0 -37
  98. package/dist/components/arcgis-slider/stepsUtils.d.ts +0 -52
  99. package/dist/components/arcgis-ticks/css.d.ts +0 -11
  100. package/dist/components/arcgis-unique-values-list/utils/date.d.ts +0 -7
  101. package/dist/components/arcgis-unique-values-list/utils/domain.d.ts +0 -5
  102. package/dist/components/arcgis-unique-values-list/utils/field.d.ts +0 -3
  103. package/dist/components/arcgis-unique-values-list/utils/index.d.ts +0 -4
  104. package/dist/controllers/useT9n.d.ts +0 -1
  105. package/dist/runtime.d.ts +0 -6
  106. package/dist/utils/commonFunctions.d.ts +0 -28
  107. package/dist/utils/dom.d.ts +0 -7
  108. package/dist/utils/functional.d.ts +0 -16
  109. package/dist/utils/functionalComponents/FieldIcons.d.ts +0 -6
  110. package/dist/utils/storage.d.ts +0 -3
  111. package/dist/utils/style.d.ts +0 -1
@@ -1,43 +1,43 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
3
- import { IPopoverProps } from '../../utils/types';
2
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
3
+ import type { IPopoverProps } from "../../utils/types.js";
4
+ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
4
5
 
5
- /** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-picker-input/) */
6
- export declare class ArcgisPickerInput extends LitElement {
7
- /**
8
- * If true, disables the component.
9
- *
10
- * @default false
11
- */
12
- disabled: boolean;
13
- /** Heading for the component. */
14
- heading?: string;
15
- /**
16
- * Icon to display at the end of the component.
17
- *
18
- * @default "pencil"
19
- */
20
- iconEnd: HTMLCalciteIconElement["icon"];
21
- /** Text to display within the "Done" button. */
22
- intlDone?: string;
23
- /**
24
- * Label for the component
25
- *
26
- * @default ""
27
- */
28
- label: string;
29
- /** Convenience prop to specify common popover props. */
30
- popoverProps?: IPopoverProps;
31
- /** Close the component. */
32
- close(): Promise<void>;
33
- /** Set focus on the component. */
34
- setFocus(): Promise<void>;
35
- /** Emitted when the component has been opened. */
36
- readonly arcgisPopoverOpen: TargetedEvent<this, void>;
37
- /** Emitted when the component has been closed. */
38
- readonly arcgisPopoverClose: TargetedEvent<this, void>;
39
- "@eventTypes": {
40
- "arcgisPopoverClose": ArcgisPickerInput["arcgisPopoverClose"]["detail"];
41
- "arcgisPopoverOpen": ArcgisPickerInput["arcgisPopoverOpen"]["detail"];
42
- };
43
- }
6
+ export abstract class ArcgisPickerInput extends LitElement {
7
+ /**
8
+ * If true, disables the component.
9
+ *
10
+ * @default false
11
+ */
12
+ accessor disabled: boolean;
13
+ /** Heading for the component. */
14
+ accessor heading: string | undefined;
15
+ /**
16
+ * Icon to display at the end of the component.
17
+ *
18
+ * @default "pencil"
19
+ */
20
+ accessor iconEnd: Icon["icon"];
21
+ /** Text to display within the "Done" button. */
22
+ accessor intlDone: string | undefined;
23
+ /**
24
+ * Label for the component
25
+ *
26
+ * @default ""
27
+ */
28
+ accessor label: string;
29
+ /** Convenience prop to specify common popover props. */
30
+ accessor popoverProps: IPopoverProps | undefined;
31
+ /** Close the component. */
32
+ close(): Promise<void>;
33
+ /** Set focus on the component. */
34
+ setFocus(): Promise<void>;
35
+ /** Emitted when the component has been closed. */
36
+ readonly arcgisPopoverClose: import("@arcgis/lumina").TargetedEvent<this, void>;
37
+ /** Emitted when the component has been opened. */
38
+ readonly arcgisPopoverOpen: import("@arcgis/lumina").TargetedEvent<this, void>;
39
+ readonly "@eventTypes": {
40
+ arcgisPopoverClose: ArcgisPickerInput["arcgisPopoverClose"]["detail"];
41
+ arcgisPopoverOpen: ArcgisPickerInput["arcgisPopoverOpen"]["detail"];
42
+ };
43
+ }
@@ -4,14 +4,14 @@ import { LitElement as l, createEvent as i, safeStyleMap as a } from "@arcgis/lu
4
4
  import { createRef as r, ref as t } from "lit/directives/ref.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.137 */
8
8
  const c = n`:host{display:flex}:host([disabled]){opacity:.25;pointer-events:none}button{overflow:hidden;background-color:transparent;align-items:center;border:none;border-radius:0;box-sizing:border-box;cursor:pointer;display:flex;font-family:inherit;gap:var(--calcite-space-sm);height:100%;justify-content:center;outline-color:transparent;outline-offset:0;padding:3px 0;padding-inline:3px var(--calcite-space-sm);position:relative;text-decoration:none;user-select:none;text-align:center;-webkit-appearance:none;width:100%;&:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-brand);outline-offset:var(--calcite-border-width-md)}&:hover{text-decoration:none}}.preview{border:var(--calcite-border-width-sm) solid #949494;display:flex;align-items:center;flex-grow:1}.container{display:flex;gap:5px;width:100%}::slotted([slot="preview"]){flex-grow:1;display:flex}calcite-icon{color:var(--calcite-color-text-3)}`;
9
9
  class p extends l {
10
10
  constructor() {
11
11
  super(), this.panelEl = r(), this.open = !1, this.disabled = !1, this.iconEnd = "pencil", this.label = "", this.arcgisPopoverOpen = i(), this.arcgisPopoverClose = i(), this.listenOn(document.body, "arcgisPopoverOpen", this.onPopoverOpen);
12
12
  }
13
13
  static {
14
- this.properties = { open: 16, disabled: 7, heading: 1, iconEnd: 0, intlDone: 1, label: 1, popoverProps: 0 };
14
+ this.properties = { open: 16, disabled: 7, heading: 1, iconEnd: 1, intlDone: 1, label: 1, popoverProps: 0 };
15
15
  }
16
16
  static {
17
17
  this.styles = c;
@@ -1,5 +1 @@
1
- import "@esri/calcite-components/components/calcite-popover";
2
- import "@esri/calcite-components/components/calcite-panel";
3
- import "@esri/calcite-components/components/calcite-button";
4
- import "@esri/calcite-components/components/calcite-icon";
5
1
  export * from "./customElement.js";
@@ -1,20 +1,19 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { default as Color } from '@arcgis/core/Color.js';
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
- import { PropertyValues } from 'lit';
2
+ import type Color from "@arcgis/core/Color.js";
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
5
4
 
6
- export interface ColorStop {
7
- color: Color | string;
8
- value: number;
9
- size?: number;
10
- }
11
- /** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ramp-color/) */
12
- export declare class ArcgisRampColor extends LitElement {
13
- /** @default "horizontal" */
14
- layout: "horizontal" | "vertical";
15
- /** @default 0 */
16
- min: number;
17
- /** @default 1 */
18
- max: number;
19
- stops: ColorStop[];
5
+ export abstract class ArcgisRampColor extends LitElement {
6
+ /** @default "horizontal" */
7
+ accessor layout: "horizontal" | "vertical";
8
+ /** @default 1 */
9
+ accessor max: number;
10
+ /** @default 0 */
11
+ accessor min: number;
12
+ accessor stops: ColorStop[];
20
13
  }
14
+
15
+ export interface ColorStop {
16
+ color: Color | string;
17
+ value: number;
18
+ size?: number;
19
+ }
@@ -4,7 +4,7 @@ import { LitElement as x, nothing as u, safeClassMap as C } from "@arcgis/lumina
4
4
  import { css as v, svg as p, html as b } from "lit";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.137 */
8
8
  const S = v`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}.hidden{display:none!important}svg{stroke-width:var(--calcite-border-width-sm);stroke:var(--calcite-color-border-input);margin:0;display:block;block-size:100%;inline-size:100%;padding:0}svg .background{fill:#e0e0e0}`;
9
9
  class I {
10
10
  constructor(t, i, n, e) {
@@ -1,21 +1,20 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { default as Color } from '@arcgis/core/Color.js';
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
- import { PropertyValues } from 'lit';
5
- import { ArcgisRampColor } from '../arcgis-ramp-color/customElement.js';
2
+ import type Color from "@arcgis/core/Color.js";
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
4
+ import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
6
5
 
7
- export interface ColorBreak {
8
- color: Color | string;
9
- max: number;
10
- min: number;
11
- }
12
- /** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ramp-color-break/) */
13
- export declare class ArcgisRampColorBreak extends LitElement {
14
- /** @default "horizontal" */
15
- layout: ArcgisRampColor["layout"];
16
- /** @default 0 */
17
- min: number;
18
- /** @default 1 */
19
- max: number;
20
- stops: ColorBreak[];
6
+ export abstract class ArcgisRampColorBreak extends LitElement {
7
+ /** @default "horizontal" */
8
+ accessor layout: ArcgisRampColor["layout"];
9
+ /** @default 1 */
10
+ accessor max: number;
11
+ /** @default 0 */
12
+ accessor min: number;
13
+ accessor stops: ColorBreak[];
21
14
  }
15
+
16
+ export interface ColorBreak {
17
+ color: Color | string;
18
+ max: number;
19
+ min: number;
20
+ }
@@ -3,7 +3,7 @@ import { LitElement as m } from "@arcgis/lumina";
3
3
  import { css as p, html as c } from "lit";
4
4
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
5
5
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
6
- v5.0.0-next.135 */
6
+ v5.0.0-next.137 */
7
7
  const n = p`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`;
8
8
  class h extends m {
9
9
  constructor() {
@@ -1,2 +1 @@
1
- import "../arcgis-ramp-color/index.js";
2
1
  export * from "./customElement.js";
@@ -1,20 +1,18 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import { default as Color } from '@arcgis/core/Color.js';
3
- import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
4
- import { PropertyValues } from 'lit';
5
- import { ArcgisRampColor } from '../arcgis-ramp-color/customElement.js';
2
+ import type Color from "@arcgis/core/Color.js";
3
+ import type { PublicLitElement as LitElement } from "@arcgis/lumina/PublicLitElement";
4
+ import type { ArcgisRampColor } from "../arcgis-ramp-color/customElement.js";
6
5
 
7
- /** [Read more...](https://developers.arcgis.com/javascript/latest/references/common-components/arcgis-ramp-opacity/) */
8
- export declare class ArcgisRampOpacity extends LitElement {
9
- fillColor: Color | string;
10
- /** @default "horizontal" */
11
- layout: ArcgisRampColor["layout"];
12
- /** @default 0 */
13
- min: number;
14
- /** @default 1 */
15
- max: number;
16
- stops: {
17
- value: number;
18
- opacity: number;
19
- }[];
20
- }
6
+ export abstract class ArcgisRampOpacity extends LitElement {
7
+ accessor fillColor: Color | string;
8
+ /** @default "horizontal" */
9
+ accessor layout: ArcgisRampColor["layout"];
10
+ /** @default 1 */
11
+ accessor max: number;
12
+ /** @default 0 */
13
+ accessor min: number;
14
+ accessor stops: {
15
+ value: number;
16
+ opacity: number;
17
+ }[];
18
+ }
@@ -4,7 +4,7 @@ import { LitElement as e } from "@arcgis/lumina";
4
4
  import { css as m, html as n } from "lit";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
7
- v5.0.0-next.135 */
7
+ v5.0.0-next.137 */
8
8
  const p = m`:host{display:block;block-size:30px;inline-size:100%}:host([layout="vertical"]){writing-mode:vertical-lr}arcgis-ramp-color{block-size:inherit;inline-size:inherit}`, l = new t([0, 121, 193]);
9
9
  class h extends e {
10
10
  constructor() {
@@ -1,2 +1 @@
1
- import "../arcgis-ramp-color/index.js";
2
1
  export * from "./customElement.js";