@douyinfe/semi-icons-lab
Advanced tools
Comparing version 2.48.1-alpha.1 to 2.49.0-beta.0
@@ -56,4 +56,4 @@ "use strict"; | ||
} | ||
const IconComponent = (0, _Icon.convertIcon)(SvgComponent, 'scroll-list'); | ||
const IconComponent = (0, _Icon.convertIcon)(SvgComponent, 'scrolllist'); | ||
var _default = IconComponent; | ||
exports.default = _default; |
@@ -13,2 +13,3 @@ export { default as IconAccessibility } from './IconAccessibility'; | ||
export { default as IconCard } from './IconCard'; | ||
export { default as IconCarousel } from './IconCarousel'; | ||
export { default as IconCascader } from './IconCascader'; | ||
@@ -21,2 +22,3 @@ export { default as IconChangelog } from './IconChangelog'; | ||
export { default as IconColorPlatte } from './IconColorPlatte'; | ||
export { default as IconConfig } from './IconConfig'; | ||
export { default as IconDarkMode } from './IconDarkMode'; | ||
@@ -27,2 +29,3 @@ export { default as IconDatePicker } from './IconDatePicker'; | ||
export { default as IconDropdown } from './IconDropdown'; | ||
export { default as IconEmpty } from './IconEmpty'; | ||
export { default as IconFaq } from './IconFaq'; | ||
@@ -44,2 +47,3 @@ export { default as IconForm } from './IconForm'; | ||
export { default as IconNotification } from './IconNotification'; | ||
export { default as IconOverflow } from './IconOverflow'; | ||
export { default as IconPagination } from './IconPagination'; | ||
@@ -65,3 +69,5 @@ export { default as IconPopconfirm } from './IconPopconfirm'; | ||
export { default as IconTimePicker } from './IconTimePicker'; | ||
export { default as IconTimeline } from './IconTimeline'; | ||
export { default as IconToast } from './IconToast'; | ||
export { default as IconToken } from './IconToken'; | ||
export { default as IconTooltip } from './IconTooltip'; | ||
@@ -68,0 +74,0 @@ export { default as IconTransfer } from './IconTransfer'; |
@@ -78,2 +78,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "IconCarousel", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconCarousel.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconCascader", { | ||
@@ -121,2 +127,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "IconConfig", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconConfig.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconDarkMode", { | ||
@@ -152,2 +164,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "IconEmpty", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconEmpty.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconFaq", { | ||
@@ -249,2 +267,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "IconOverflow", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconOverflow.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconPagination", { | ||
@@ -370,2 +394,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "IconTimeline", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconTimeline.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconToast", { | ||
@@ -377,2 +407,8 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, "IconToken", { | ||
enumerable: true, | ||
get: function () { | ||
return _IconToken.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "IconTooltip", { | ||
@@ -438,2 +474,3 @@ enumerable: true, | ||
var _IconCard = _interopRequireDefault(require("./IconCard")); | ||
var _IconCarousel = _interopRequireDefault(require("./IconCarousel")); | ||
var _IconCascader = _interopRequireDefault(require("./IconCascader")); | ||
@@ -446,2 +483,3 @@ var _IconChangelog = _interopRequireDefault(require("./IconChangelog")); | ||
var _IconColorPlatte = _interopRequireDefault(require("./IconColorPlatte")); | ||
var _IconConfig = _interopRequireDefault(require("./IconConfig")); | ||
var _IconDarkMode = _interopRequireDefault(require("./IconDarkMode")); | ||
@@ -452,2 +490,3 @@ var _IconDatePicker = _interopRequireDefault(require("./IconDatePicker")); | ||
var _IconDropdown = _interopRequireDefault(require("./IconDropdown")); | ||
var _IconEmpty = _interopRequireDefault(require("./IconEmpty")); | ||
var _IconFaq = _interopRequireDefault(require("./IconFaq")); | ||
@@ -469,2 +508,3 @@ var _IconForm = _interopRequireDefault(require("./IconForm")); | ||
var _IconNotification = _interopRequireDefault(require("./IconNotification")); | ||
var _IconOverflow = _interopRequireDefault(require("./IconOverflow")); | ||
var _IconPagination = _interopRequireDefault(require("./IconPagination")); | ||
@@ -490,3 +530,5 @@ var _IconPopconfirm = _interopRequireDefault(require("./IconPopconfirm")); | ||
var _IconTimePicker = _interopRequireDefault(require("./IconTimePicker")); | ||
var _IconTimeline = _interopRequireDefault(require("./IconTimeline")); | ||
var _IconToast = _interopRequireDefault(require("./IconToast")); | ||
var _IconToken = _interopRequireDefault(require("./IconToken")); | ||
var _IconTooltip = _interopRequireDefault(require("./IconTooltip")); | ||
@@ -493,0 +535,0 @@ var _IconTransfer = _interopRequireDefault(require("./IconTransfer")); |
import Icon from './components/Icon'; | ||
export * from './components/Icon'; | ||
export * from './icons'; | ||
export default Icon; |
@@ -8,14 +8,3 @@ "use strict"; | ||
exports.default = void 0; | ||
var _Icon = _interopRequireWildcard(require("./components/Icon")); | ||
Object.keys(_Icon).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _Icon[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function () { | ||
return _Icon[key]; | ||
} | ||
}); | ||
}); | ||
var _Icon = _interopRequireDefault(require("./components/Icon")); | ||
var _icons = require("./icons"); | ||
@@ -33,5 +22,4 @@ Object.keys(_icons).forEach(function (key) { | ||
}); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var _default = _Icon.default; | ||
exports.default = _default; |
@@ -48,3 +48,3 @@ import * as React from 'react'; | ||
} | ||
const IconComponent = convertIcon(SvgComponent, 'scroll-list'); | ||
const IconComponent = convertIcon(SvgComponent, 'scrolllist'); | ||
export default IconComponent; |
@@ -13,2 +13,3 @@ export { default as IconAccessibility } from './IconAccessibility'; | ||
export { default as IconCard } from './IconCard'; | ||
export { default as IconCarousel } from './IconCarousel'; | ||
export { default as IconCascader } from './IconCascader'; | ||
@@ -21,2 +22,3 @@ export { default as IconChangelog } from './IconChangelog'; | ||
export { default as IconColorPlatte } from './IconColorPlatte'; | ||
export { default as IconConfig } from './IconConfig'; | ||
export { default as IconDarkMode } from './IconDarkMode'; | ||
@@ -27,2 +29,3 @@ export { default as IconDatePicker } from './IconDatePicker'; | ||
export { default as IconDropdown } from './IconDropdown'; | ||
export { default as IconEmpty } from './IconEmpty'; | ||
export { default as IconFaq } from './IconFaq'; | ||
@@ -44,2 +47,3 @@ export { default as IconForm } from './IconForm'; | ||
export { default as IconNotification } from './IconNotification'; | ||
export { default as IconOverflow } from './IconOverflow'; | ||
export { default as IconPagination } from './IconPagination'; | ||
@@ -65,3 +69,5 @@ export { default as IconPopconfirm } from './IconPopconfirm'; | ||
export { default as IconTimePicker } from './IconTimePicker'; | ||
export { default as IconTimeline } from './IconTimeline'; | ||
export { default as IconToast } from './IconToast'; | ||
export { default as IconToken } from './IconToken'; | ||
export { default as IconTooltip } from './IconTooltip'; | ||
@@ -68,0 +74,0 @@ export { default as IconTransfer } from './IconTransfer'; |
@@ -13,2 +13,3 @@ export { default as IconAccessibility } from './IconAccessibility'; | ||
export { default as IconCard } from './IconCard'; | ||
export { default as IconCarousel } from './IconCarousel'; | ||
export { default as IconCascader } from './IconCascader'; | ||
@@ -21,2 +22,3 @@ export { default as IconChangelog } from './IconChangelog'; | ||
export { default as IconColorPlatte } from './IconColorPlatte'; | ||
export { default as IconConfig } from './IconConfig'; | ||
export { default as IconDarkMode } from './IconDarkMode'; | ||
@@ -27,2 +29,3 @@ export { default as IconDatePicker } from './IconDatePicker'; | ||
export { default as IconDropdown } from './IconDropdown'; | ||
export { default as IconEmpty } from './IconEmpty'; | ||
export { default as IconFaq } from './IconFaq'; | ||
@@ -44,2 +47,3 @@ export { default as IconForm } from './IconForm'; | ||
export { default as IconNotification } from './IconNotification'; | ||
export { default as IconOverflow } from './IconOverflow'; | ||
export { default as IconPagination } from './IconPagination'; | ||
@@ -65,3 +69,5 @@ export { default as IconPopconfirm } from './IconPopconfirm'; | ||
export { default as IconTimePicker } from './IconTimePicker'; | ||
export { default as IconTimeline } from './IconTimeline'; | ||
export { default as IconToast } from './IconToast'; | ||
export { default as IconToken } from './IconToken'; | ||
export { default as IconTooltip } from './IconTooltip'; | ||
@@ -68,0 +74,0 @@ export { default as IconTransfer } from './IconTransfer'; |
import Icon from './components/Icon'; | ||
export * from './components/Icon'; | ||
export * from './icons'; | ||
export default Icon; |
import Icon from './components/Icon'; | ||
export * from './components/Icon'; | ||
export * from './icons'; | ||
export default Icon; |
{ | ||
"name": "@douyinfe/semi-icons-lab", | ||
"version": "2.48.1-alpha.1", | ||
"version": "2.49.0-beta.0", | ||
"description": "semi icons lab", | ||
@@ -60,3 +60,3 @@ "keywords": [ | ||
], | ||
"gitHead": "3ef5ace667d737b225711226c618aa5803d03b0b" | ||
"gitHead": "aa959f0cd22894b27c019eb78254ba9b991f80b3" | ||
} |
@@ -26,1 +26,8 @@ | ||
## How to contribute icon to this package | ||
- Add the svg file under the path ```src/svgs/```, naming references to other files. | ||
- Run command ```lerna run build:icon --scope @douyinfe/semi-icons```, the corresponding tsx file will be generated under the path ```src/icons```. | ||
- Add the category and name of the new icon to the ```src/svgs/meta.json``` file. | ||
- Finally, run command ```yarn docsite``` and go to the icon page to confirm whether the icon is successfully added. |
@@ -13,2 +13,3 @@ export { default as IconAccessibility } from './IconAccessibility'; | ||
export { default as IconCard } from './IconCard'; | ||
export { default as IconCarousel } from './IconCarousel'; | ||
export { default as IconCascader } from './IconCascader'; | ||
@@ -21,2 +22,3 @@ export { default as IconChangelog } from './IconChangelog'; | ||
export { default as IconColorPlatte } from './IconColorPlatte'; | ||
export { default as IconConfig } from './IconConfig'; | ||
export { default as IconDarkMode } from './IconDarkMode'; | ||
@@ -27,2 +29,3 @@ export { default as IconDatePicker } from './IconDatePicker'; | ||
export { default as IconDropdown } from './IconDropdown'; | ||
export { default as IconEmpty } from './IconEmpty'; | ||
export { default as IconFaq } from './IconFaq'; | ||
@@ -44,2 +47,3 @@ export { default as IconForm } from './IconForm'; | ||
export { default as IconNotification } from './IconNotification'; | ||
export { default as IconOverflow } from './IconOverflow'; | ||
export { default as IconPagination } from './IconPagination'; | ||
@@ -65,3 +69,5 @@ export { default as IconPopconfirm } from './IconPopconfirm'; | ||
export { default as IconTimePicker } from './IconTimePicker'; | ||
export { default as IconTimeline } from './IconTimeline'; | ||
export { default as IconToast } from './IconToast'; | ||
export { default as IconToken } from './IconToken'; | ||
export { default as IconTooltip } from './IconTooltip'; | ||
@@ -68,0 +74,0 @@ export { default as IconTransfer } from './IconTransfer'; |
import Icon from './components/Icon'; | ||
export * from './components/Icon'; | ||
export * from './icons'; | ||
export default Icon; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1266446
634
16561
32
0
16