Bump @boxyhq/react-ui from 3.3.16 to 3.3.18 (#1939)

* Bump @boxyhq/react-ui from 3.3.16 to 3.3.18

Bumps [@boxyhq/react-ui](https://github.com/boxyhq/ui/tree/HEAD/react) from 3.3.16 to 3.3.18.
- [Release notes](https://github.com/boxyhq/ui/releases)
- [Commits](https://github.com/boxyhq/ui/commits/HEAD/react)

---
updated-dependencies:
- dependency-name: "@boxyhq/react-ui"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix prop and styles

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aswin V <vaswin91@gmail.com>
This commit is contained in:
dependabot[bot] 2023-11-18 21:33:50 +00:00 committed by GitHub
parent 16960c7016
commit 8edd8479d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 21 deletions

View File

@ -1,7 +1,7 @@
import { useRouter } from 'next/router';
import { CreateSAMLConnection as CreateSAML, CreateOIDCConnection as CreateOIDC } from '@boxyhq/react-ui/sso';
import styles from 'styles/sdk-override.module.css';
import { errorToast } from '@components/Toaster';
interface CreateSSOConnectionProps {
@ -24,10 +24,14 @@ const CreateSSOConnection = ({ setupLinkToken, idpType }: CreateSSOConnectionPro
};
const urls = {
save: `/api/setup/${setupLinkToken}/sso-connection`,
post: `/api/setup/${setupLinkToken}/sso-connection`,
};
const _CSS = { input: 'input input-bordered', button: { ctoa: 'btn btn-primary' } };
const _CSS = {
input: `${styles['sdk-input']} input input-bordered`,
button: { ctoa: 'btn btn-primary' },
textarea: styles['sdk-input'],
};
return idpType === 'saml' ? (
<CreateSAML

34
package-lock.json generated
View File

@ -11,7 +11,7 @@
"license": "Apache-2.0",
"dependencies": {
"@boxyhq/metrics": "0.2.5",
"@boxyhq/react-ui": "3.3.16",
"@boxyhq/react-ui": "3.3.18",
"@boxyhq/saml-jackson": "file:npm",
"@heroicons/react": "2.0.18",
"@retracedhq/logs-viewer": "2.5.2",
@ -1404,13 +1404,13 @@
}
},
"node_modules/@boxyhq/react-ui": {
"version": "3.3.16",
"resolved": "https://registry.npmjs.org/@boxyhq/react-ui/-/react-ui-3.3.16.tgz",
"integrity": "sha512-HlxTw5pip1brDqClpUBKLIH61KnAebHsISsopb26bupBQGtMy9ux5CKisjBbdkUmxZfdO565cN4mAolu2XWg3Q==",
"version": "3.3.18",
"resolved": "https://registry.npmjs.org/@boxyhq/react-ui/-/react-ui-3.3.18.tgz",
"integrity": "sha512-ukgFscHfVwn7JzbvK7CvFKp8upfk+aI5zuFSe48a5YKIj9niWQf69DAd7gJDa9RAYwls6/bQon4OVz69VwdjSg==",
"dependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-router-dom": "6.16.0"
"react-router-dom": "6.18.0"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@ -2962,9 +2962,9 @@
}
},
"node_modules/@remix-run/router": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.9.0.tgz",
"integrity": "sha512-bV63itrKBC0zdT27qYm6SDZHlkXwFL1xMBuhkn+X7l0+IIhNaH5wuuvZKp6eKhCD4KFhujhfhCT1YxXW6esUIA==",
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.11.0.tgz",
"integrity": "sha512-BHdhcWgeiudl91HvVa2wxqZjSHbheSgIiDvxrF1VjFzBzpTtuDPkOdOi3Iqvc08kXtFkLjhbS+ML9aM8mJS+wQ==",
"engines": {
"node": ">=14.0.0"
}
@ -16221,11 +16221,11 @@
"integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
},
"node_modules/react-router": {
"version": "6.16.0",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.16.0.tgz",
"integrity": "sha512-VT4Mmc4jj5YyjpOi5jOf0I+TYzGpvzERy4ckNSvSh2RArv8LLoCxlsZ2D+tc7zgjxcY34oTz2hZaeX5RVprKqA==",
"version": "6.18.0",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-6.18.0.tgz",
"integrity": "sha512-vk2y7Dsy8wI02eRRaRmOs9g2o+aE72YCx5q9VasT1N9v+lrdB79tIqrjMfByHiY5+6aYkH2rUa5X839nwWGPDg==",
"dependencies": {
"@remix-run/router": "1.9.0"
"@remix-run/router": "1.11.0"
},
"engines": {
"node": ">=14.0.0"
@ -16235,12 +16235,12 @@
}
},
"node_modules/react-router-dom": {
"version": "6.16.0",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.16.0.tgz",
"integrity": "sha512-aTfBLv3mk/gaKLxgRDUPbPw+s4Y/O+ma3rEN1u8EgEpLpPe6gNjIsWt9rxushMHHMb7mSwxRGdGlGdvmFsyPIg==",
"version": "6.18.0",
"resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.18.0.tgz",
"integrity": "sha512-Ubrue4+Ercc/BoDkFQfc6og5zRQ4A8YxSO3Knsne+eRbZ+IepAsK249XBH/XaFuOYOYr3L3r13CXTLvYt5JDjw==",
"dependencies": {
"@remix-run/router": "1.9.0",
"react-router": "6.16.0"
"@remix-run/router": "1.11.0",
"react-router": "6.18.0"
},
"engines": {
"node": ">=14.0.0"

View File

@ -55,7 +55,7 @@
},
"dependencies": {
"@boxyhq/metrics": "0.2.5",
"@boxyhq/react-ui": "3.3.16",
"@boxyhq/react-ui": "3.3.18",
"@boxyhq/saml-jackson": "file:npm",
"@heroicons/react": "2.0.18",
"@retracedhq/logs-viewer": "2.5.2",

View File

@ -0,0 +1,6 @@
/* Override SDK styles */
.sdk-input:focus {
/* Below styles copied from the tailwindcss/forms plugin */
outline: 2px solid hsla(var(--bc) / 0.2);
outline-offset: 2px;
}