@uniformdev/mesh-sdk-react 20.83.0 → 20.83.1-alpha.4.sha-7a4d8f8f28

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/index.d.mts CHANGED
@@ -1648,7 +1648,11 @@ type FilterOption = {
1648
1648
  valueOptions?: InputOption[];
1649
1649
  /** Set a readonly state on the input */
1650
1650
  readOnly?: boolean;
1651
- /** Set a disabled state on the input */
1651
+ /**
1652
+ * Blocks the criteria from being picked in the "add"/"change" criteria menus, typically because a
1653
+ * row already uses it. Rows already using the criteria keep editable operators and values; use
1654
+ * `readOnly` to lock them.
1655
+ */
1652
1656
  disabled?: boolean;
1653
1657
  /**
1654
1658
  * Marks a criteria that may only appear once across the whole filter set (e.g. content/composition
@@ -1703,7 +1707,9 @@ type Filter = {
1703
1707
  /** The value selected */
1704
1708
  value: string | string[];
1705
1709
  };
1706
- type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOption, 'readOnly' | 'disabled' | 'bindable'> & {
1710
+ type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOption, 'readOnly' | 'bindable'> & {
1711
+ /** Set a disabled state on the input */
1712
+ disabled?: boolean;
1707
1713
  ariaLabel?: string;
1708
1714
  /** The type of filter editor to render */
1709
1715
  editorType: FilterEditor;
package/dist/index.d.ts CHANGED
@@ -1648,7 +1648,11 @@ type FilterOption = {
1648
1648
  valueOptions?: InputOption[];
1649
1649
  /** Set a readonly state on the input */
1650
1650
  readOnly?: boolean;
1651
- /** Set a disabled state on the input */
1651
+ /**
1652
+ * Blocks the criteria from being picked in the "add"/"change" criteria menus, typically because a
1653
+ * row already uses it. Rows already using the criteria keep editable operators and values; use
1654
+ * `readOnly` to lock them.
1655
+ */
1652
1656
  disabled?: boolean;
1653
1657
  /**
1654
1658
  * Marks a criteria that may only appear once across the whole filter set (e.g. content/composition
@@ -1703,7 +1707,9 @@ type Filter = {
1703
1707
  /** The value selected */
1704
1708
  value: string | string[];
1705
1709
  };
1706
- type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOption, 'readOnly' | 'disabled' | 'bindable'> & {
1710
+ type FilterEditorRendererProps<TValue extends string | string[]> = Pick<FilterOption, 'readOnly' | 'bindable'> & {
1711
+ /** Set a disabled state on the input */
1712
+ disabled?: boolean;
1707
1713
  ariaLabel?: string;
1708
1714
  /** The type of filter editor to render */
1709
1715
  editorType: FilterEditor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "20.83.0",
3
+ "version": "20.83.1-alpha.4.sha-7a4d8f8f28",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "@lexical/selection": "0.49.0",
51
51
  "@lexical/utils": "0.49.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.5.0/react-icons-all-files-5.5.0.tgz",
53
- "@uniformdev/canvas": "20.83.0",
54
- "@uniformdev/design-system": "20.83.0",
55
- "@uniformdev/mesh-sdk": "20.83.0",
56
- "@uniformdev/richtext": "20.83.0",
53
+ "@uniformdev/canvas": "20.83.1-alpha.4.sha-7a4d8f8f28",
54
+ "@uniformdev/design-system": "20.83.1-alpha.4.sha-7a4d8f8f28",
55
+ "@uniformdev/mesh-sdk": "20.83.1-alpha.4.sha-7a4d8f8f28",
56
+ "@uniformdev/richtext": "20.83.1-alpha.4.sha-7a4d8f8f28",
57
57
  "dequal": "^2.0.3",
58
58
  "lexical": "0.49.0",
59
59
  "mitt": "3.0.1",
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "gitHead": "4f838a66506f722fae130d7f35e22713fed5db26"
88
+ "gitHead": "7a4d8f8f286da3e179fc262ccf01db3b3afb6c44"
89
89
  }