Skip to content

Commit

Permalink
Merge pull request #327 from Enterwell/stage
Browse files Browse the repository at this point in the history
Stage
  • Loading branch information
AleksandarDev authored Feb 5, 2024
2 parents 19e97b9 + 7263ace commit 66c13e3
Show file tree
Hide file tree
Showing 9 changed files with 272 additions and 301 deletions.
18 changes: 9 additions & 9 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@
"@enterwell/react-ui": "workspace:*",
"@mdx-js/mdx": "3.0.0",
"@mdx-js/react": "3.0.0",
"@mui/icons-material": "5.15.6",
"@mui/lab": "5.0.0-alpha.162",
"@mui/material": "5.15.6",
"@mui/system": "5.15.6",
"@mui/x-data-grid-pro": "6.19.2",
"@mui/icons-material": "5.15.7",
"@mui/lab": "5.0.0-alpha.163",
"@mui/material": "5.15.7",
"@mui/system": "5.15.7",
"@mui/x-data-grid-pro": "6.19.3",
"@mui/x-date-pickers": "5.0.20",
"@mui/x-date-pickers-pro": "5.0.20",
"classix": "2.1.36",
"comment-parser": "1.4.1",
"next": "14.1.0",
"nextra": "2.13.2",
"nextra-theme-docs": "2.13.2",
"nextra": "2.13.3",
"nextra-theme-docs": "2.13.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"tailwindcss-animate": "1.0.7"
},
"devDependencies": {
"@types/node": "18.19.8",
"@types/react": "18.2.48",
"@types/node": "18.19.10",
"@types/react": "18.2.53",
"@types/react-dom": "18.2.18",
"autoprefixer": "10.4.17",
"postcss": "8.4.33",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"devDependencies": {
"eslint": "8.56.0",
"tsconfig": "workspace:*",
"turbo": "1.11.3",
"@turbo/gen": "1.11.3"
"turbo": "1.12.2",
"@turbo/gen": "1.12.2"
},
"packageManager": "pnpm@8.14.3",
"packageManager": "pnpm@8.15.1",
"name": "ui"
}
4 changes: 2 additions & 2 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.0.0",
"private": true,
"devDependencies": {
"@vercel/style-guide": "5.1.0",
"eslint-config-turbo": "1.11.3"
"@vercel/style-guide": "5.2.0",
"eslint-config-turbo": "1.12.2"
}
}
4 changes: 2 additions & 2 deletions packages/react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
},
"devDependencies": {
"@microsoft/api-extractor": "7.39.4",
"@types/node": "18.19.8",
"@types/react": "18.2.48",
"@types/node": "18.19.10",
"@types/react": "18.2.53",
"@types/react-dom": "18.2.18",
"eslint-config-custom": "workspace:*",
"react": "18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-mui-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"@enterwell/react-hooks": "workspace:*",
"@enterwell/react-ui": "workspace:*",
"@microsoft/api-extractor": "7.39.4",
"@mui/material": "5.15.6",
"@mui/x-data-grid-pro": "6.19.2",
"@types/node": "18.19.8",
"@types/react": "18.2.48",
"@mui/material": "5.15.7",
"@mui/x-data-grid-pro": "6.19.3",
"@types/node": "18.19.10",
"@types/react": "18.2.53",
"@types/react-dom": "18.2.18",
"date-fns": "2.30.0",
"eslint-config-custom": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-ui/DropdownButton/DropdownButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type DropdownButtonProps = Omit<ButtonProps, 'onClick'> & {
* @public
*/
export function DropdownButton({
options, onClick, icon, ...rest
options, onClick, icon, disabled, ...rest
}: DropdownButtonProps) {
const id = useId();
const [open, setOpen] = useState(false);
Expand Down Expand Up @@ -60,7 +60,7 @@ export function DropdownButton({
{...rest}
aria-describedby={id}
onClick={handleButtonClick}
disabled={!options?.length}
disabled={disabled || !options?.length}
>
{icon}
</IconButton>
Expand All @@ -69,7 +69,7 @@ export function DropdownButton({
{...rest}
aria-describedby={id}
onClick={handleButtonClick}
disabled={!options?.length}
disabled={disabled || !options?.length}
/>
)}
<Popover
Expand Down
10 changes: 5 additions & 5 deletions packages/react-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"@emotion/styled": "11.11.0",
"@enterwell/react-hooks": "workspace:*",
"@microsoft/api-extractor": "7.39.4",
"@mui/icons-material": "5.15.6",
"@mui/material": "5.15.6",
"@mui/system": "5.15.6",
"@mui/icons-material": "5.15.7",
"@mui/material": "5.15.7",
"@mui/system": "5.15.7",
"@mui/x-date-pickers-pro": "5.0.20",
"@mui/x-date-pickers": "5.0.20",
"@types/node": "18.19.8",
"@types/react": "18.2.48",
"@types/node": "18.19.10",
"@types/react": "18.2.53",
"@types/react-dom": "18.2.18",
"date-fns": "2.30.0",
"eslint-config-custom": "workspace:*",
Expand Down
Loading

0 comments on commit 66c13e3

Please sign in to comment.