@arcgis/lumina 5.0.0-next.43 → 5.0.0-next.45

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.
@@ -22,11 +22,11 @@ export declare let shouldBypassReadOnly: boolean;
22
22
  /**
23
23
  * Permits updating read-only properties
24
24
  *
25
- * @see https://qawebgis.esri.com/components/lumina/properties#read-only-properties
25
+ * @see https://qawebgis.esri.com/references/lumina/properties#read-only-properties
26
26
  */
27
27
  export declare const bypassReadOnly: <T = void>(callback: () => T) => T | void;
28
28
  /**
29
- * @deprecated see https://qawebgis.esri.com/components/lumina/properties#get-set-properties
29
+ * @deprecated see https://qawebgis.esri.com/references/lumina/properties#get-set-properties
30
30
  */
31
31
  export declare const bypassSetter: <T = void>(callback: () => T) => T | void;
32
32
  /**
@@ -1,6 +1,6 @@
1
1
  import { default as Accessor } from '@arcgis/core/core/Accessor.js';
2
2
  /**
3
- * See https://qawebgis.esri.com/components/lumina/controllers/useAccessor#createstore-utility
3
+ * See https://qawebgis.esri.com/references/lumina/controllers/useAccessor#createstore-utility
4
4
  */
5
5
  export declare const createStore: <T extends object>(initializer: T | (() => T)) => __esri.Accessor & T;
6
6
  /** @deprecated Use {@link createStore} instead */
@@ -9,7 +9,7 @@ type AlwaysOmit = "addHandles" | "declaredClass" | "destroyed" | "hasHandles" |
9
9
  * Given an Accessor class, create a controller that will do two-way binding of
10
10
  * props between the component and the Accessor.
11
11
  *
12
- * See https://qawebgis.esri.com/components/lumina/controllers/useAccessor for
12
+ * See https://qawebgis.esri.com/references/lumina/controllers/useAccessor for
13
13
  * documentation & examples.
14
14
  */
15
15
  export declare const makeAccessorController: <Props, Accessor extends __esri.Accessor, OmitProps extends string = never>(createInstance: ((props?: Props) => Accessor) | (new (props?: Props) => Accessor), _options?: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Load a value from a promise and provide it to the component
3
3
  *
4
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/load
4
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/load
5
5
  */
6
6
  export declare const load: <T>(loader: () => Promise<T>) => T;
@@ -3,7 +3,7 @@ type Direction = "ltr" | "rtl";
3
3
  * Finds the closest "dir" attribute to current component and returns it's value.
4
4
  * Watches for changes to "dir" and will re-render your component if needed.
5
5
  *
6
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/useDirection
6
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/useDirection
7
7
  *
8
8
  * Design decisions: https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/987
9
9
  */
@@ -3,6 +3,6 @@
3
3
  * whether user asked to use reduced motion, or whether the screen size is above
4
4
  * certain threshold).
5
5
  *
6
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/useMedia
6
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/useMedia
7
7
  */
8
8
  export declare const useMedia: (query: string) => boolean;
@@ -6,7 +6,7 @@ type PropertyChangeController<Component extends LitElement> = <ToWatch extends k
6
6
  /**
7
7
  * Let user easily set watchers for component properties.
8
8
  *
9
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/usePropertyChange
9
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/usePropertyChange
10
10
  */
11
11
  export declare const usePropertyChange: <Component extends LitElement>(
12
12
  /** Needed for typings only */
@@ -38,7 +38,7 @@ export interface UseT9n {
38
38
  /**
39
39
  * Load component's localization strings.
40
40
  *
41
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/useT9n
41
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/useT9n
42
42
  *
43
43
  * Design decisions:
44
44
  * - https://devtopia.esri.com/WebGIS/arcgis-web-components/discussions/969
@@ -2,6 +2,6 @@ import { Controller } from './Controller';
2
2
  /**
3
3
  * Watch when given attributes change on the component element.
4
4
  *
5
- * Documentation: https://qawebgis.esri.com/components/lumina/controllers/useWatchAttributes
5
+ * Documentation: https://qawebgis.esri.com/references/lumina/controllers/useWatchAttributes
6
6
  */
7
7
  export declare const useWatchAttributes: <T extends string>(attributes: readonly T[], callback: (newValue: string | null, oldValue: string | null, attribute: T) => void) => Controller;
@@ -21,19 +21,19 @@ export type EventHandler<E> = {
21
21
  }["bivarianceHack"];
22
22
  export interface CustomAttributes<T = HTMLElement> {
23
23
  /**
24
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#key-prop)
24
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#key-prop)
25
25
  */
26
26
  key?: unknown;
27
27
  /**
28
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#refs)
28
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#refs)
29
29
  */
30
30
  ref?: EventHandler<T | undefined> | Ref<T>;
31
31
  /**
32
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#lit-directives)
32
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#lit-directives)
33
33
  */
34
34
  directives?: readonly DirectiveResult[];
35
35
  /**
36
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#deferring-web-component-load)
36
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#deferring-web-component-load)
37
37
  */
38
38
  deferLoad?: true;
39
39
  }
@@ -63,13 +63,13 @@ declare class DeferLoad extends Directive {
63
63
  /**
64
64
  * @private
65
65
  * Do not use this directive directly. Use the `deferLoad` JSX prop instead.
66
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#deferring-web-component-load)
66
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#deferring-web-component-load)
67
67
  */
68
68
  export declare const deferLoad: DirectiveResult<typeof DeferLoad>;
69
69
  /**
70
70
  * @private
71
71
  * Do not use this directly. Use the `deferLoad` JSX prop instead.
72
- * [Documentation](https://qawebgis.esri.com/components/lumina/jsx#deferring-web-component-load)
72
+ * [Documentation](https://qawebgis.esri.com/references/lumina/jsx#deferring-web-component-load)
73
73
  */
74
74
  export declare const deferredLoaders: Map<string, () => Promise<unknown>>;
75
75
  declare class StabilizedRef extends Directive {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/lumina",
3
- "version": "5.0.0-next.43",
3
+ "version": "5.0.0-next.45",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "dependencies": {
25
- "@arcgis/toolkit": "~5.0.0-next.43",
25
+ "@arcgis/toolkit": "~5.0.0-next.45",
26
26
  "csstype": "^3.1.3",
27
27
  "tslib": "^2.8.1"
28
28
  },