@muraldevkit/ui-toolkit 2.34.0 → 2.35.0

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.
@@ -30,7 +30,7 @@ interface SelectMenuDefaults {
30
30
  }
31
31
  export declare const selectMenuDefaults: SelectMenuDefaults;
32
32
  export declare const allowedSelectValues: {
33
- states: readonly ["default", "disabled", "open"];
33
+ states: readonly ["default", "disabled", "open", "read-only"];
34
34
  };
35
35
  export type SelectStates = (typeof allowedSelectValues.states)[number];
36
36
  interface SelectDefaults {
@@ -15,6 +15,8 @@ type Action = {
15
15
  payload: string;
16
16
  } | {
17
17
  type: 'disabled';
18
+ } | {
19
+ type: 'read-only';
18
20
  } | {
19
21
  type: 'select';
20
22
  payload: string;
@@ -30,6 +32,7 @@ type State = {
30
32
  defaultValue?: string;
31
33
  disabled: boolean;
32
34
  focusIndex?: number;
35
+ readOnly: boolean;
33
36
  selectedItem?: string;
34
37
  selectedText?: React.ReactNode;
35
38
  id?: string;