@hi-ui/alert
Advanced tools
Comparing version 4.0.0-beta.13 to 4.0.0-beta.14
@@ -26,2 +26,4 @@ /** @LICENSE | ||
var types = require('./types.js'); | ||
var useLatest = require('@hi-ui/use-latest'); | ||
@@ -63,3 +65,3 @@ | ||
_a$type = _a.type, | ||
type = _a$type === void 0 ? 'primary' : _a$type, | ||
type = _a$type === void 0 ? types.AlertTypeEnum.PRIMARY : _a$type, | ||
_a$closeable = _a.closeable, | ||
@@ -66,0 +68,0 @@ closeable = _a$closeable === void 0 ? true : _a$closeable, |
@@ -14,2 +14,3 @@ /** @LICENSE | ||
import { __DEV__ } from '@hi-ui/env'; | ||
import { AlertTypeEnum } from './types.js'; | ||
import { useLatestCallback } from '@hi-ui/use-latest'; | ||
@@ -40,3 +41,3 @@ import { useTimeout } from '@hi-ui/use-timeout'; | ||
_a$type = _a.type, | ||
type = _a$type === void 0 ? 'primary' : _a$type, | ||
type = _a$type === void 0 ? AlertTypeEnum.PRIMARY : _a$type, | ||
_a$closeable = _a.closeable, | ||
@@ -43,0 +44,0 @@ closeable = _a$closeable === void 0 ? true : _a$closeable, |
{ | ||
"name": "@hi-ui/alert", | ||
"version": "4.0.0-beta.13", | ||
"version": "4.0.0-beta.14", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -64,3 +64,3 @@ "keywords": [], | ||
}, | ||
"gitHead": "7f47840510e6dfce429eeed1591c154e321cd14f" | ||
"gitHead": "64cc3305632f0d88f852f4a95cba7c27ff388a2d" | ||
} |
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
23912
416