cx 26.0.10 → 26.0.12

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.
@@ -0,0 +1,3 @@
1
+ import { jsx } from "./jsx-runtime";
2
+ export declare const jsxDEV: typeof jsx;
3
+ export declare const jsxsDEV: typeof jsx;
@@ -0,0 +1,3 @@
1
+ import { jsx, jsxs } from "./jsx-runtime";
2
+ export const jsxDEV = jsx;
3
+ export const jsxsDEV = jsxs;
@@ -2,20 +2,12 @@ import { Selection, SelectionConfig, SelectionOptions } from "./Selection";
2
2
  import { View } from "../../data/View";
3
3
  import { Prop } from "../Prop";
4
4
  export interface KeySelectionConfig extends SelectionConfig {
5
- /** Binding path for selection state. */
6
- bind?: string;
7
- /** Set to `true` to allow multiple selection. */
8
- multiple?: boolean;
9
5
  /** Name of the field used as a key. Default is `id`. */
10
6
  keyField?: string;
11
7
  /** Storage format. Can be `array` or `hash`. Default is `array`. */
12
8
  storage?: string;
13
9
  /** Selection binding configuration. */
14
10
  selection?: Prop<any>;
15
- /** Record binding. */
16
- record?: Prop<any>;
17
- /** Index binding. */
18
- index?: Prop<any>;
19
11
  }
20
12
  export declare class KeySelection extends Selection {
21
13
  selection: any;
@@ -1,14 +1,20 @@
1
1
  import { Component } from "../../util/Component";
2
2
  import { View } from "../../data/View";
3
+ import { AccessorChain } from "../../data/createAccessorModelProxy";
4
+ import { Prop } from "../Prop";
3
5
  export interface SelectionOptions {
4
6
  toggle?: boolean;
5
7
  add?: boolean;
6
8
  }
7
9
  export interface SelectionConfig {
8
- bind?: string;
9
- record?: any;
10
- index?: any;
10
+ /** Binding path for selection state. */
11
+ bind?: string | AccessorChain<any>;
12
+ /** Record binding. */
13
+ record?: Prop<any>;
14
+ /** Index binding. */
15
+ index?: Prop<number>;
11
16
  toggle?: boolean;
17
+ /** Set to `true` to allow multiple selection. */
12
18
  multiple?: boolean;
13
19
  }
14
20
  export declare class Selection extends Component {
@@ -12,6 +12,8 @@ export interface HtmlElementConfig extends StyledContainerConfig {
12
12
  id?: StringProp | NumberProp;
13
13
  /** Inner text contents. */
14
14
  text?: StringProp | NumberProp;
15
+ /** Inner html contents. */
16
+ html?: StringProp;
15
17
  /** Tooltip configuration. */
16
18
  tooltip?: StringProp | TooltipConfig;
17
19
  }