@kaizen/loading-skeleton
Advanced tools
Comparing version 2.0.4 to 2.0.5
128
CHANGELOG.md
# Change Log | ||
## 2.0.5 | ||
### Patch Changes | ||
- [#3608](https://github.com/cultureamp/kaizen-design-system/pull/3608) [`cc96d9835`](https://github.com/cultureamp/kaizen-design-system/commit/cc96d98351ae380fe1a1e8a33d65d80232ed7a57) - Update usages of classnames to not use object syntax | ||
- Updated dependencies [[`cc96d9835`](https://github.com/cultureamp/kaizen-design-system/commit/cc96d98351ae380fe1a1e8a33d65d80232ed7a57)]: | ||
- @kaizen/design-tokens@10.3.7 | ||
- @kaizen/typography@2.3.9 | ||
All notable changes to this project will be documented in this file. | ||
@@ -10,6 +20,2 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## [2.0.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@2.0.2...@kaizen/loading-skeleton@2.0.3) (2023-03-14) | ||
@@ -19,6 +25,2 @@ | ||
## [2.0.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@2.0.1...@kaizen/loading-skeleton@2.0.2) (2023-01-30) | ||
@@ -28,6 +30,2 @@ | ||
## [2.0.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@2.0.0...@kaizen/loading-skeleton@2.0.1) (2023-01-18) | ||
@@ -37,31 +35,22 @@ | ||
# [2.0.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.7.3...@kaizen/loading-skeleton@2.0.0) (2023-01-04) | ||
### Bug Fixes | ||
* **scene:** remove HumanityAtWork illustration ([#3063](https://github.com/cultureamp/kaizen-design-system/issues/3063)) ([b461926](https://github.com/cultureamp/kaizen-design-system/commit/b46192688ef04874550a0b3ed1302ab2b88cce2a)) | ||
- **scene:** remove HumanityAtWork illustration ([#3063](https://github.com/cultureamp/kaizen-design-system/issues/3063)) ([b461926](https://github.com/cultureamp/kaizen-design-system/commit/b46192688ef04874550a0b3ed1302ab2b88cce2a)) | ||
### BREAKING CHANGES | ||
* **scene:** HumanityAtWork illustration is no longer exported from Scene component. | ||
- **scene:** HumanityAtWork illustration is no longer exported from Scene component. | ||
* fix(scene): remove DataCatching scene | ||
- fix(scene): remove DataCatching scene | ||
This illustration was never intended for production use | ||
* **scene:** DataCatching scene is no longer exported | ||
* fix(scene): remove DataCatching & HumanityAtWork components from IllustrationScene stories | ||
- **scene:** DataCatching scene is no longer exported | ||
* test(draft-illustration): update snapshot tests after removing illustrations | ||
- fix(scene): remove DataCatching & HumanityAtWork components from IllustrationScene stories | ||
- test(draft-illustration): update snapshot tests after removing illustrations | ||
## [1.7.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.7.2...@kaizen/loading-skeleton@1.7.3) (2022-10-19) | ||
@@ -71,6 +60,2 @@ | ||
## [1.7.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.7.1...@kaizen/loading-skeleton@1.7.2) (2022-09-14) | ||
@@ -80,6 +65,2 @@ | ||
## [1.7.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.7.0...@kaizen/loading-skeleton@1.7.1) (2022-08-19) | ||
@@ -89,17 +70,8 @@ | ||
# [1.7.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.6...@kaizen/loading-skeleton@1.7.0) (2022-08-18) | ||
### Features | ||
* update react to 16.14.0 ([#2922](https://github.com/cultureamp/kaizen-design-system/issues/2922)) ([22878be](https://github.com/cultureamp/kaizen-design-system/commit/22878beee1884e2f58d0447b3908321937175228)) | ||
- update react to 16.14.0 ([#2922](https://github.com/cultureamp/kaizen-design-system/issues/2922)) ([22878be](https://github.com/cultureamp/kaizen-design-system/commit/22878beee1884e2f58d0447b3908321937175228)) | ||
## [1.6.6](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.5...@kaizen/loading-skeleton@1.6.6) (2022-07-27) | ||
@@ -109,6 +81,2 @@ | ||
## [1.6.5](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.4...@kaizen/loading-skeleton@1.6.5) (2022-07-27) | ||
@@ -118,6 +86,2 @@ | ||
## [1.6.4](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.3...@kaizen/loading-skeleton@1.6.4) (2022-06-22) | ||
@@ -127,6 +91,2 @@ | ||
## [1.6.3](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.2...@kaizen/loading-skeleton@1.6.3) (2022-06-20) | ||
@@ -136,6 +96,2 @@ | ||
## [1.6.2](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.1...@kaizen/loading-skeleton@1.6.2) (2022-06-06) | ||
@@ -145,6 +101,2 @@ | ||
## [1.6.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.6.0...@kaizen/loading-skeleton@1.6.1) (2022-05-30) | ||
@@ -154,39 +106,20 @@ | ||
# [1.6.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.5.1...@kaizen/loading-skeleton@1.6.0) (2022-05-20) | ||
### Features | ||
* add compatibility for react-18 ([#2731](https://github.com/cultureamp/kaizen-design-system/issues/2731)) ([0051f4c](https://github.com/cultureamp/kaizen-design-system/commit/0051f4cee82895acc2c2f44fc7bf8063857de57e)) | ||
- add compatibility for react-18 ([#2731](https://github.com/cultureamp/kaizen-design-system/issues/2731)) ([0051f4c](https://github.com/cultureamp/kaizen-design-system/commit/0051f4cee82895acc2c2f44fc7bf8063857de57e)) | ||
## [1.5.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.5.0...@kaizen/loading-skeleton@1.5.1) (2022-05-03) | ||
### Bug Fixes | ||
* update index.ts to be on root level of package ([#2709](https://github.com/cultureamp/kaizen-design-system/issues/2709)) ([97f2d3f](https://github.com/cultureamp/kaizen-design-system/commit/97f2d3fc1c00811c7f731a5811f38880b1855014)) | ||
- update index.ts to be on root level of package ([#2709](https://github.com/cultureamp/kaizen-design-system/issues/2709)) ([97f2d3f](https://github.com/cultureamp/kaizen-design-system/commit/97f2d3fc1c00811c7f731a5811f38880b1855014)) | ||
# [1.5.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.4.1...@kaizen/loading-skeleton@1.5.0) (2022-04-21) | ||
### Features | ||
* LoadingGraphic and update loading skeleton story ([#2665](https://github.com/cultureamp/kaizen-design-system/issues/2665)) ([0d473bc](https://github.com/cultureamp/kaizen-design-system/commit/0d473bcd6fb0ef0ed5218af2e4708b3fc6d59c6e)) | ||
- LoadingGraphic and update loading skeleton story ([#2665](https://github.com/cultureamp/kaizen-design-system/issues/2665)) ([0d473bc](https://github.com/cultureamp/kaizen-design-system/commit/0d473bcd6fb0ef0ed5218af2e4708b3fc6d59c6e)) | ||
## [1.4.1](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.4.0...@kaizen/loading-skeleton@1.4.1) (2022-04-14) | ||
@@ -196,33 +129,18 @@ | ||
# [1.4.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.3.0...@kaizen/loading-skeleton@1.4.0) (2022-03-30) | ||
### Features | ||
* create loading-input component ([#2659](https://github.com/cultureamp/kaizen-design-system/issues/2659)) ([963abb2](https://github.com/cultureamp/kaizen-design-system/commit/963abb2f1d82316448942f07eaa457113d19a073)) | ||
- create loading-input component ([#2659](https://github.com/cultureamp/kaizen-design-system/issues/2659)) ([963abb2](https://github.com/cultureamp/kaizen-design-system/commit/963abb2f1d82316448942f07eaa457113d19a073)) | ||
# [1.3.0](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/loading-skeleton@1.2.0...@kaizen/loading-skeleton@1.3.0) (2022-03-29) | ||
### Features | ||
* loadingheading component and loadingSkeleton stories ([#2644](https://github.com/cultureamp/kaizen-design-system/issues/2644)) ([a555065](https://github.com/cultureamp/kaizen-design-system/commit/a55506509f096cbfbe7a77ba50b8937eb01caa9b)) | ||
- loadingheading component and loadingSkeleton stories ([#2644](https://github.com/cultureamp/kaizen-design-system/issues/2644)) ([a555065](https://github.com/cultureamp/kaizen-design-system/commit/a55506509f096cbfbe7a77ba50b8937eb01caa9b)) | ||
# 1.2.0 (2022-03-24) | ||
### Features | ||
* create loading-skeleton package and loadingParagraph component ([#2640](https://github.com/cultureamp/kaizen-design-system/issues/2640)) ([c526ae8](https://github.com/cultureamp/kaizen-design-system/commit/c526ae83af65243cf853ecc2a7f5769e90b2f9af)) | ||
- create loading-skeleton package and loadingParagraph component ([#2640](https://github.com/cultureamp/kaizen-design-system/issues/2640)) ([c526ae8](https://github.com/cultureamp/kaizen-design-system/commit/c526ae83af65243cf853ecc2a7f5769e90b2f9af)) |
{ | ||
"name": "@kaizen/loading-skeleton", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "A collection of loading placeholders that display a non-interactive preview of the app’s actual UI", | ||
@@ -9,3 +9,3 @@ "scripts": { | ||
"build:watch": "yarn clean && yarn prepublish --watch", | ||
"clean": "rimraf '**/*.d.ts' '**/*.js' '**/*.map'" | ||
"clean": "rimraf -g '**/*.d.ts' '**/*.js' '**/*.map'" | ||
}, | ||
@@ -34,14 +34,9 @@ "repository": { | ||
"@kaizen/component-base": "^1.1.5", | ||
"@kaizen/typography": "^2.3.8", | ||
"@kaizen/typography": "^2.3.9", | ||
"classnames": "^2.3.2" | ||
}, | ||
"devDependencies": { | ||
"@types/classnames": "^2.3.0", | ||
"rimraf": "^4.4.1" | ||
}, | ||
"peerDependencies": { | ||
"@kaizen/design-tokens": "^2.10.3 || ^3.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", | ||
"@kaizen/design-tokens": "^10.3.7", | ||
"react": "^16.14.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
"gitHead": "1db68ba5d7f7988438f4980ed68a32c10d98dbe9" | ||
} | ||
} |
@@ -42,8 +42,4 @@ "use strict"; | ||
var LoadingGraphic = function (_a) { | ||
var _b; | ||
var isAnimated = _a.isAnimated, isReversed = _a.isReversed, size = _a.size, classNameOverride = _a.classNameOverride, props = __rest(_a, ["isAnimated", "isReversed", "size", "classNameOverride"]); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingGraphic_module_scss_1["default"].graphic, classNameOverride, (_b = {}, | ||
_b[loading_skeleton_module_scss_1["default"].animated] = isAnimated, | ||
_b[LoadingGraphic_module_scss_1["default"].reversed] = isReversed, | ||
_b)), style: { | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingGraphic_module_scss_1["default"].graphic, classNameOverride, isAnimated && loading_skeleton_module_scss_1["default"].animated, isReversed && LoadingGraphic_module_scss_1["default"].reversed), style: { | ||
width: "".concat(graphicSizesRem.get(size), "rem"), | ||
@@ -50,0 +46,0 @@ height: "".concat(graphicSizesRem.get(size), "rem") |
@@ -34,9 +34,4 @@ "use strict"; | ||
var LoadingHeading = function (_a) { | ||
var _b; | ||
var isAnimated = _a.isAnimated, isReversed = _a.isReversed, width = _a.width, isLink = _a.isLink, classNameOverride = _a.classNameOverride, variant = _a.variant, props = __rest(_a, ["isAnimated", "isReversed", "width", "isLink", "classNameOverride", "variant"]); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingHeading_module_scss_1["default"].heading, classNameOverride, LoadingHeading_module_scss_1["default"][variant], (_b = {}, | ||
_b[loading_skeleton_module_scss_1["default"].animated] = isAnimated, | ||
_b[LoadingHeading_module_scss_1["default"].reversed] = isReversed, | ||
_b[LoadingHeading_module_scss_1["default"].link] = isLink, | ||
_b)), style: { width: "".concat(width, "%") } }, props))); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingHeading_module_scss_1["default"].heading, classNameOverride, LoadingHeading_module_scss_1["default"][variant], isAnimated && loading_skeleton_module_scss_1["default"].animated, isReversed && LoadingHeading_module_scss_1["default"].reversed, isLink && LoadingHeading_module_scss_1["default"].link), style: { width: "".concat(width, "%") } }, props))); | ||
}; | ||
@@ -43,0 +38,0 @@ exports.LoadingHeading = LoadingHeading; |
@@ -34,8 +34,4 @@ "use strict"; | ||
var LoadingInput = function (_a) { | ||
var _b; | ||
var isAnimated = _a.isAnimated, isReversed = _a.isReversed, width = _a.width, classNameOverride = _a.classNameOverride, _c = _a.height, height = _c === void 0 ? 48 : _c, props = __rest(_a, ["isAnimated", "isReversed", "width", "classNameOverride", "height"]); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingInput_module_scss_1["default"].input, classNameOverride, (_b = {}, | ||
_b[loading_skeleton_module_scss_1["default"].animated] = isAnimated, | ||
_b[LoadingInput_module_scss_1["default"].reversed] = isReversed, | ||
_b)), style: { width: "".concat(width, "%"), height: "".concat(height, "px") } }, props))); | ||
var isAnimated = _a.isAnimated, isReversed = _a.isReversed, width = _a.width, classNameOverride = _a.classNameOverride, _b = _a.height, height = _b === void 0 ? 48 : _b, props = __rest(_a, ["isAnimated", "isReversed", "width", "classNameOverride", "height"]); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingInput_module_scss_1["default"].input, classNameOverride, isAnimated && loading_skeleton_module_scss_1["default"].animated, isReversed && LoadingInput_module_scss_1["default"].reversed), style: { width: "".concat(width, "%"), height: "".concat(height, "px") } }, props))); | ||
}; | ||
@@ -42,0 +38,0 @@ exports.LoadingInput = LoadingInput; |
@@ -34,13 +34,4 @@ "use strict"; | ||
var LoadingParagraph = function (_a) { | ||
var _b; | ||
var isAnimated = _a.isAnimated, isCentred = _a.isCentred, isReversed = _a.isReversed, isInline = _a.isInline, noBottomMargin = _a.noBottomMargin, width = _a.width, isLink = _a.isLink, inheritBaseline = _a.inheritBaseline, classNameOverride = _a.classNameOverride, props = __rest(_a, ["isAnimated", "isCentred", "isReversed", "isInline", "noBottomMargin", "width", "isLink", "inheritBaseline", "classNameOverride"]); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingParagraph_module_scss_1["default"].paragraph, classNameOverride, (_b = {}, | ||
_b[loading_skeleton_module_scss_1["default"].animated] = isAnimated, | ||
_b[LoadingParagraph_module_scss_1["default"].centered] = isCentred, | ||
_b[LoadingParagraph_module_scss_1["default"].reversed] = isReversed, | ||
_b[LoadingParagraph_module_scss_1["default"].link] = isLink, | ||
_b[LoadingParagraph_module_scss_1["default"].inheritBaseline] = inheritBaseline, | ||
_b[LoadingParagraph_module_scss_1["default"].inline] = isInline, | ||
_b[LoadingParagraph_module_scss_1["default"].noBottomMargin] = noBottomMargin, | ||
_b)), style: { width: "".concat(width, "%") } }, props))); | ||
return (react_1["default"].createElement("div", __assign({ className: (0, classnames_1["default"])(loading_skeleton_module_scss_1["default"].base, LoadingParagraph_module_scss_1["default"].paragraph, classNameOverride, isAnimated && loading_skeleton_module_scss_1["default"].animated, isCentred && LoadingParagraph_module_scss_1["default"].centered, isReversed && LoadingParagraph_module_scss_1["default"].reversed, isLink && LoadingParagraph_module_scss_1["default"].link, inheritBaseline && LoadingParagraph_module_scss_1["default"].inheritBaseline, isInline && LoadingParagraph_module_scss_1["default"].inline, noBottomMargin && LoadingParagraph_module_scss_1["default"].noBottomMargin), style: { width: "".concat(width, "%") } }, props))); | ||
}; | ||
@@ -47,0 +38,0 @@ exports.LoadingParagraph = LoadingParagraph; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
37085
0
39
509
Updated@kaizen/typography@^2.3.9