diff --git a/packages/calendars/CHANGELOG.md b/packages/calendars/CHANGELOG.md index 79e888729..2a92fcce6 100644 --- a/packages/calendars/CHANGELOG.md +++ b/packages/calendars/CHANGELOG.md @@ -1,5 +1,23 @@ # @bubbles-ui/calendars +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.80 + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.79 + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/calendars/package.json b/packages/calendars/package.json index 7ca7e38d0..ff66b588b 100644 --- a/packages/calendars/package.json +++ b/packages/calendars/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/calendars", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -59,8 +59,8 @@ "rrule": "^2.6.8" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.78", - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/components": "^1.2.80", + "@bubbles-ui/icons": "^1.2.80", "react": "^17.0.1", "react-dom": "^17.0.1", "webpack": "*" diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index c5ce3acd5..dfa674279 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -1,5 +1,21 @@ # @bubbles-ui/components +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/components/package.json b/packages/components/package.json index 10e465123..daa438099 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/components", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -61,7 +61,7 @@ "chromatic": "npx chromatic --project-token=7b10302a7b6b --build-script-name=build:storybook:raw" }, "dependencies": { - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/icons": "^1.2.80", "@emotion/react": "^11.10.0", "@heroicons/react": "^1.0.5", "@hookform/resolvers": "^3.3.2", diff --git a/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js b/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js index 9df20e727..460f5d6e8 100644 --- a/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js +++ b/packages/components/src/misc/CardEmptyCover/CardEmptyCover.js @@ -18,6 +18,7 @@ import { AssetModuleIcon } from '../FileIcon/AssetModuleIcon'; import { AssetFeedbackIcon } from '../FileIcon/AssetFeedbackIcon'; import { FileItemDisplay } from '../../informative/FileItemDisplay'; import { AssetDocumentIconSmall } from '../FileIcon/AssetDocumentIcon'; +import { AssetScormIcon } from '../FileIcon/AssetScormIcon'; const CardEmptyCover = memo(({ icon, fileType }) => { const pairColumnRef = useRef(null); @@ -38,6 +39,10 @@ const CardEmptyCover = memo(({ icon, fileType }) => { key: 'learningpaths.module', value: , }, + { + key: 'scorm', + value: , + }, { key: 'file', value: , diff --git a/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.constants.js b/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.constants.js new file mode 100644 index 000000000..133ab962b --- /dev/null +++ b/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.constants.js @@ -0,0 +1,12 @@ +import PropTypes from 'prop-types'; + +export const ASSET_SCORM_ICON_DEFAULT_PROPS = { + width: 24, + height: 24, + color: '#7E8795', +}; +export const ASSET_SCORM_ICON_PROP_TYPES = { + width: PropTypes.number, + height: PropTypes.number, + color: PropTypes.string, +}; diff --git a/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.js b/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.js new file mode 100644 index 000000000..bdbb09ab2 --- /dev/null +++ b/packages/components/src/misc/FileIcon/AssetScormIcon/AssetScormIcon.js @@ -0,0 +1,31 @@ +import React from 'react'; +import { + ASSET_SCORM_ICON_PROP_TYPES, + ASSET_SCORM_ICON_DEFAULT_PROPS, +} from './AssetScormIcon.constants'; + +const AssetScormIcon = ({ width, height, color }) => ( + + + +); + +AssetScormIcon.defaultProps = ASSET_SCORM_ICON_DEFAULT_PROPS; +AssetScormIcon.propTypes = ASSET_SCORM_ICON_PROP_TYPES; + +AssetScormIcon.displayName = 'AssetModuleIcon'; +export default AssetScormIcon; +export { AssetScormIcon }; diff --git a/packages/components/src/misc/FileIcon/AssetScormIcon/index.js b/packages/components/src/misc/FileIcon/AssetScormIcon/index.js new file mode 100644 index 000000000..9d85ab88d --- /dev/null +++ b/packages/components/src/misc/FileIcon/AssetScormIcon/index.js @@ -0,0 +1 @@ +export * from './AssetScormIcon'; diff --git a/packages/components/src/misc/FileIcon/FileIcon.js b/packages/components/src/misc/FileIcon/FileIcon.js index 837c9eb21..be0bca4e6 100644 --- a/packages/components/src/misc/FileIcon/FileIcon.js +++ b/packages/components/src/misc/FileIcon/FileIcon.js @@ -10,6 +10,7 @@ import { AssetAudioIcon } from './AssetAudioIcon'; import { AssetImageIcon } from './AssetImageIcon'; import { AssetBookmarkIcon } from './AssetBookmarkIcon'; import { AssetDocumentIconSmall } from './AssetDocumentIcon'; +import { AssetScormIcon } from './AssetScormIcon'; export const FILE_ICON_DEFAULT_PROPS = { size: 16, @@ -37,6 +38,7 @@ const FileIcon = ({ fileType, fileExtension, label, size, color, iconStyle, ...p { key: 'path', value: }, { key: 'curriculum', value: }, { key: 'document', value: }, + { key: 'scorm', value: }, { key: 'file', value: ( diff --git a/packages/components/src/misc/index.js b/packages/components/src/misc/index.js index 75750f2b9..1b4b69297 100644 --- a/packages/components/src/misc/index.js +++ b/packages/components/src/misc/index.js @@ -9,5 +9,6 @@ export * from './FileIcon/AssetBookmarkIcon'; export * from './FileIcon/AssetVideoIcon'; export * from './FileIcon/AssetMediaIcon'; export * from './FileIcon/AssetDocumentIcon'; +export * from './FileIcon/AssetScormIcon'; export * from './AvatarSubject'; export * from './CardEmptyCover'; diff --git a/packages/editors/CHANGELOG.md b/packages/editors/CHANGELOG.md index 28e2c8c66..0595c0869 100644 --- a/packages/editors/CHANGELOG.md +++ b/packages/editors/CHANGELOG.md @@ -1,5 +1,23 @@ # @bubbles-ui/editors +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.80 + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.79 + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/editors/package.json b/packages/editors/package.json index 7dd6a776e..2ebda68f3 100644 --- a/packages/editors/package.json +++ b/packages/editors/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/editors", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -79,8 +79,8 @@ "styled-icons": "^10.45.0" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.78", - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/components": "^1.2.80", + "@bubbles-ui/icons": "^1.2.80", "react": "^17.0.1", "react-dom": "^17.0.1", "webpack": "*" diff --git a/packages/extras/CHANGELOG.md b/packages/extras/CHANGELOG.md index aa74e1577..2a4b0199c 100644 --- a/packages/extras/CHANGELOG.md +++ b/packages/extras/CHANGELOG.md @@ -1,5 +1,23 @@ # @bubbles-ui/extras +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.80 + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.79 + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/extras/package.json b/packages/extras/package.json index bc93fb11b..cd259551a 100644 --- a/packages/extras/package.json +++ b/packages/extras/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/extras", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -53,8 +53,8 @@ "swiper": "^8.1.4" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.78", - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/components": "^1.2.80", + "@bubbles-ui/icons": "^1.2.80", "@mantine/core": "5.2.4", "@mantine/hooks": "5.2.4", "react": "^17.0.1", diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index e3de42140..d2ef2bfe6 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,17 @@ # @bubbles-ui/icons +## 1.2.80 + +### Patch Changes + +- Versions bump + +## 1.2.79 + +### Patch Changes + +- Versions bump + ## 1.2.78 ### Patch Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index a79f1f0e6..3d7399a74 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/icons", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System icons library.", "license": "MIT", "repository": { diff --git a/packages/leemons/CHANGELOG.md b/packages/leemons/CHANGELOG.md index f15bf2f27..c84714a6b 100644 --- a/packages/leemons/CHANGELOG.md +++ b/packages/leemons/CHANGELOG.md @@ -1,5 +1,27 @@ # @bubbles-ui/leemons +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.80 + - @bubbles-ui/calendars@1.2.80 + - @bubbles-ui/editors@1.2.80 + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.79 + - @bubbles-ui/calendars@1.2.79 + - @bubbles-ui/editors@1.2.79 + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/leemons/package.json b/packages/leemons/package.json index c0faf553f..7e3fe9310 100644 --- a/packages/leemons/package.json +++ b/packages/leemons/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/leemons", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -74,10 +74,10 @@ "ajv": "6.12.6" }, "peerDependencies": { - "@bubbles-ui/calendars": "^1.2.78", - "@bubbles-ui/components": "^1.2.78", - "@bubbles-ui/editors": "^1.2.78", - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/calendars": "^1.2.80", + "@bubbles-ui/components": "^1.2.80", + "@bubbles-ui/editors": "^1.2.80", + "@bubbles-ui/icons": "^1.2.80", "dayjs": "^1.10.7", "react": "^17.0.1", "react-dom": "^17.0.1", diff --git a/packages/notifications/CHANGELOG.md b/packages/notifications/CHANGELOG.md index 30b76bded..60510b7c5 100644 --- a/packages/notifications/CHANGELOG.md +++ b/packages/notifications/CHANGELOG.md @@ -1,5 +1,23 @@ # @bubbles-ui/notifications +## 1.2.80 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.80 + - @bubbles-ui/icons@1.2.80 + +## 1.2.79 + +### Patch Changes + +- Versions bump +- Updated dependencies + - @bubbles-ui/components@1.2.79 + - @bubbles-ui/icons@1.2.79 + ## 1.2.78 ### Patch Changes diff --git a/packages/notifications/package.json b/packages/notifications/package.json index 1df7ed8a8..6e4a2983d 100644 --- a/packages/notifications/package.json +++ b/packages/notifications/package.json @@ -1,6 +1,6 @@ { "name": "@bubbles-ui/notifications", - "version": "1.2.78", + "version": "1.2.80", "description": "The Bubbles Design System is Leemonade's open-source design system for products and experiences.", "main": "lib/index.js", "module": "es/index.js", @@ -52,8 +52,8 @@ "react-transition-group": "^4.4.2" }, "peerDependencies": { - "@bubbles-ui/components": "^1.2.78", - "@bubbles-ui/icons": "^1.2.78", + "@bubbles-ui/components": "^1.2.80", + "@bubbles-ui/icons": "^1.2.80", "@mantine/core": "5.2.4", "@mantine/hooks": "5.2.4", "react": "^17.0.1",