@atlaskit/react-select
Advanced tools
Comparing version 1.3.1 to 1.3.2
# @atlaskit/react-select | ||
## 1.3.2 | ||
### Patch Changes | ||
- [#163217](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163217) | ||
[`560d23ab4dfbe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/560d23ab4dfbe) - | ||
Add null check on safari for SSR | ||
## 1.3.1 | ||
@@ -4,0 +12,0 @@ |
@@ -22,4 +22,8 @@ "use strict"; | ||
function isSafari() { | ||
var ua = navigator.userAgent.toLowerCase(); | ||
return ua.includes('safari') && !ua.includes('chrome'); | ||
if (typeof window !== 'undefined' && window.navigator != null) { | ||
var _window$navigator$use2; | ||
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase(); | ||
return ua ? ua.includes('safari') && !ua.includes('chrome') : false; | ||
} | ||
return false; | ||
} | ||
@@ -26,0 +30,0 @@ function isMac() { |
@@ -11,4 +11,8 @@ function testPlatform(re) { | ||
export function isSafari() { | ||
const ua = navigator.userAgent.toLowerCase(); | ||
return ua.includes('safari') && !ua.includes('chrome'); | ||
if (typeof window !== 'undefined' && window.navigator != null) { | ||
var _window$navigator$use2; | ||
const ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase(); | ||
return ua ? ua.includes('safari') && !ua.includes('chrome') : false; | ||
} | ||
return false; | ||
} | ||
@@ -15,0 +19,0 @@ export function isMac() { |
@@ -11,4 +11,8 @@ function testPlatform(re) { | ||
export function isSafari() { | ||
var ua = navigator.userAgent.toLowerCase(); | ||
return ua.includes('safari') && !ua.includes('chrome'); | ||
if (typeof window !== 'undefined' && window.navigator != null) { | ||
var _window$navigator$use2; | ||
var ua = (_window$navigator$use2 = window.navigator.userAgent) === null || _window$navigator$use2 === void 0 ? void 0 : _window$navigator$use2.toLowerCase(); | ||
return ua ? ua.includes('safari') && !ua.includes('chrome') : false; | ||
} | ||
return false; | ||
} | ||
@@ -15,0 +19,0 @@ export function isMac() { |
@@ -7,3 +7,3 @@ import type Select from './select'; | ||
export { defaultTheme } from './theme'; | ||
export { createFilter } from './filters'; | ||
export { createFilter, type FilterOptionOption } from './filters'; | ||
export { components } from './components'; | ||
@@ -10,0 +10,0 @@ export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>; |
@@ -7,3 +7,3 @@ import type Select from './select'; | ||
export { defaultTheme } from './theme'; | ||
export { createFilter } from './filters'; | ||
export { createFilter, type FilterOptionOption } from './filters'; | ||
export { components } from './components'; | ||
@@ -10,0 +10,0 @@ export type SelectInstance<Option = unknown, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Select<Option, IsMulti, Group>; |
{ | ||
"name": "@atlaskit/react-select", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "A forked version of react-select to only be used in atlaskit/select", | ||
@@ -29,3 +29,3 @@ "author": "Atlassian Pty Ltd", | ||
"dependencies": { | ||
"@atlaskit/ds-lib": "^3.1.0", | ||
"@atlaskit/ds-lib": "^3.2.0", | ||
"@atlaskit/platform-feature-flags": "^0.3.0", | ||
@@ -32,0 +32,0 @@ "@babel/runtime": "^7.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
773098
18524
Updated@atlaskit/ds-lib@^3.2.0