@filerobot/common
Advanced tools
Comparing version 0.0.0-beta.60 to 0.0.0-beta.61
import { useState } from 'react'; | ||
import { FolderIcon, FileIcon, VideoIcon } from '@filerobot/icons'; | ||
import { FolderIcon, FileIcon } from '@filerobot/icons'; | ||
import { FILE_TYPES_AND_ICONS } from '@filerobot/utils/lib/constants'; | ||
@@ -25,5 +25,2 @@ import { Image } from '.'; | ||
case 'video': | ||
return /*#__PURE__*/_jsx(VideoIcon, {}); | ||
default: | ||
@@ -30,0 +27,0 @@ return /*#__PURE__*/_jsx(Image, { |
@@ -43,13 +43,15 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
className: "filerobot-common-link-input-header", | ||
children: [/*#__PURE__*/_jsxs("label", { | ||
children: [/*#__PURE__*/_jsx("label", { | ||
className: "filerobot-common-link-input-header-label", | ||
children: [/*#__PURE__*/_jsx(Tooltip, { | ||
message: renderDescription(description), | ||
position: "right", | ||
children: /*#__PURE__*/_jsx(QuestionMarkIcon, { | ||
color: "#5D6D7E" | ||
}) | ||
}), /*#__PURE__*/_jsx("span", { | ||
children: props.i18n(labelI18nString) | ||
})] | ||
children: labelI18nString && /*#__PURE__*/_jsxs(_Fragment, { | ||
children: [/*#__PURE__*/_jsx(Tooltip, { | ||
message: renderDescription(description), | ||
position: "right", | ||
children: /*#__PURE__*/_jsx(QuestionMarkIcon, { | ||
color: "#5D6D7E" | ||
}) | ||
}), /*#__PURE__*/_jsx("span", { | ||
children: props.i18n(labelI18nString) | ||
})] | ||
}) | ||
}), (!isHash || isHash && isShowBlurhashOptions) && /*#__PURE__*/_jsxs("div", { | ||
@@ -56,0 +58,0 @@ className: "filerobot-common-link-input-header-options", |
{ | ||
"name": "@filerobot/common", | ||
"version": "0.0.0-beta.60", | ||
"version": "0.0.0-beta.61", | ||
"description": "The common components shared between Filerobot Media Asset Widget modules", | ||
@@ -17,4 +17,4 @@ "homepage": "", | ||
"dependencies": { | ||
"@filerobot/icons": "0.0.0-beta.60", | ||
"@filerobot/utils": "0.0.0-beta.60", | ||
"@filerobot/icons": "0.0.0-beta.61", | ||
"@filerobot/utils": "0.0.0-beta.61", | ||
"react": "^17.0.1", | ||
@@ -21,0 +21,0 @@ "react-dom": "^17.0.1" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
203579
3932
+ Added@filerobot/icons@0.0.0-beta.61(transitive)
+ Added@filerobot/utils@0.0.0-beta.61(transitive)
- Removed@filerobot/icons@0.0.0-beta.60(transitive)
- Removed@filerobot/utils@0.0.0-beta.60(transitive)