it-data-nexus-ui-library 2.11.3 → 2.11.4

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.
@@ -1 +1 @@
1
- import{jsx as e}from"react/jsx-runtime";import{Autocomplete as l,TextField as o}from"@mui/material";const a=({options:a,value:n,onChange:t,label:i,placeholder:s,noOptionsText:r="No options",disabled:u=!1,size:p="small"})=>{const d=a.find(e=>e.value===n)??null;return e(l,{options:a,value:d,onChange:(e,l)=>t(l?.value??""),getOptionLabel:e=>e.label,isOptionEqualToValue:(e,l)=>e.value===l.value,noOptionsText:r,disabled:u,size:p,fullWidth:!0,sx:{minWidth:{xs:0,sm:200}},renderInput:l=>e(o,{...l,label:i,placeholder:s})})};export{a as SearchableSelect};
1
+ import{jsx as e}from"react/jsx-runtime";import{Autocomplete as l,TextField as a}from"@mui/material";const o=({options:o,value:i,onChange:n,label:t,placeholder:s,noOptionsText:r="No options",disabled:u=!1,disableClearable:p=!1,size:d="small"})=>{const b=o.find(e=>e.value===i)??null;return e(l,{options:o,value:b,onChange:(e,l)=>n(l?.value??""),getOptionLabel:e=>e.label,isOptionEqualToValue:(e,l)=>e.value===l.value,noOptionsText:r,disabled:u,disableClearable:p,size:d,fullWidth:!0,sx:{minWidth:{xs:0,sm:200}},renderInput:l=>e(a,{...l,label:t,placeholder:s})})};export{o as SearchableSelect};
@@ -1 +1 @@
1
- const o="2.11.3";export{o as SAGE_NEXUS_UI_VERSION};
1
+ const o="2.11.4";export{o as SAGE_NEXUS_UI_VERSION};
package/dist/index.d.ts CHANGED
@@ -1360,9 +1360,10 @@ interface SearchableSelectProps {
1360
1360
  placeholder?: string;
1361
1361
  noOptionsText?: string;
1362
1362
  disabled?: boolean;
1363
+ disableClearable?: boolean;
1363
1364
  size?: "small" | "medium";
1364
1365
  }
1365
- declare const SearchableSelect: ({ options, value, onChange, label, placeholder, noOptionsText, disabled, size, }: SearchableSelectProps) => react.JSX.Element;
1366
+ declare const SearchableSelect: ({ options, value, onChange, label, placeholder, noOptionsText, disabled, disableClearable, size, }: SearchableSelectProps) => react.JSX.Element;
1366
1367
 
1367
1368
  interface SideBladeProps {
1368
1369
  open: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",
@@ -46,28 +46,28 @@
46
46
  "dependencies": {
47
47
  "@mui/x-charts": "^9.4.0",
48
48
  "@radix-ui/react-popover": "^1.1.15",
49
- "dompurify": "3.4.13",
50
49
  "diff": "^9.0.0",
50
+ "dompurify": "3.4.13",
51
51
  "react-json-view-lite": "^2.5.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@xyflow/react": "^12.12.0",
55
54
  "@emotion/react": "^11.14.0",
56
55
  "@emotion/styled": "^11.14.1",
57
56
  "@mui/icons-material": "^7 || ^8 || ^9",
58
57
  "@mui/material": "^7 || ^8 || ^9",
59
58
  "@mui/x-data-grid": "^7 || ^8 || ^9",
60
59
  "@mui/x-date-pickers": "^7 || ^8 || ^9",
60
+ "@rjsf/core": "^6.11.0",
61
+ "@rjsf/mui": "^6.11.0",
62
+ "@rjsf/utils": "^6.11.0",
63
+ "@rjsf/validator-ajv8": "^6.11.0",
64
+ "@xyflow/react": "^12.12.0",
61
65
  "date-fns": "^3 || ^4",
62
66
  "react": "^18 || ^19",
63
67
  "react-day-picker": "^9",
64
68
  "react-dom": "^18 || ^19",
65
69
  "react-markdown": "^10",
66
- "remark-gfm": "^4",
67
- "@rjsf/core": "^6.11.0",
68
- "@rjsf/mui": "^6.11.0",
69
- "@rjsf/utils": "^6.11.0",
70
- "@rjsf/validator-ajv8": "^6.11.0"
70
+ "remark-gfm": "^4"
71
71
  },
72
72
  "peerDependenciesMeta": {
73
73
  "@radix-ui/react-popover": {
@@ -102,7 +102,6 @@
102
102
  }
103
103
  },
104
104
  "devDependencies": {
105
- "@xyflow/react": "^12.12.0",
106
105
  "@chromatic-com/storybook": "^5.3.0",
107
106
  "@emotion/react": "^11.14.0",
108
107
  "@emotion/styled": "^11.14.1",
@@ -133,6 +132,7 @@
133
132
  "@vitejs/plugin-react": "^6.0.1",
134
133
  "@vitest/browser-playwright": "^4.1.4",
135
134
  "@vitest/coverage-v8": "^4.1.4",
135
+ "@xyflow/react": "^12.12.0",
136
136
  "date-fns": "^4.1.0",
137
137
  "eslint": "9.39.4",
138
138
  "eslint-plugin-import": "^2.32.0",