@kaizen/components 1.4.18 → 1.4.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/iife/caution.icon-BHBJMNMA.svg +1 -0
- package/dist/iife/index.js +18 -6
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.4.19](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.18...@kaizen/components@1.4.19) (2023-02-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @kaizen/components
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.4.18](https://github.com/cultureamp/kaizen-design-system/compare/@kaizen/components@1.4.17...@kaizen/components@1.4.18) (2023-02-28)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @kaizen/components
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.67 2.822 2.16 15.849A1.486 1.486 0 0 0 3.488 18h13.024a1.486 1.486 0 0 0 1.33-2.151L11.328 2.822c-.548-1.096-2.11-1.096-2.658 0ZM10.8 15H9.2v-1.6h1.6V15Zm-1.6-3.2h1.6V7H9.2v4.8Z" fill="#000000"/></svg>
|
package/dist/iife/index.js
CHANGED
|
@@ -70883,6 +70883,7 @@ ${singleLine(message)}${reset}
|
|
|
70883
70883
|
import_react144 = __toESM(require_react());
|
|
70884
70884
|
import_classnames56 = __toESM(require_classnames());
|
|
70885
70885
|
init_component_library();
|
|
70886
|
+
init_caution_white_icon();
|
|
70886
70887
|
init_exclamation_white_icon();
|
|
70887
70888
|
init_information_white_icon();
|
|
70888
70889
|
init_success_white_icon();
|
|
@@ -70893,7 +70894,7 @@ ${singleLine(message)}${reset}
|
|
|
70893
70894
|
getIcon = (mood, isProminent) => {
|
|
70894
70895
|
switch (mood) {
|
|
70895
70896
|
case "cautionary":
|
|
70896
|
-
return isProminent ? /* @__PURE__ */ import_react144.default.createElement(Cautionary, { alt: "", isAnimated: true }) : /* @__PURE__ */ import_react144.default.createElement(Icon, { icon:
|
|
70897
|
+
return isProminent ? /* @__PURE__ */ import_react144.default.createElement(Cautionary, { alt: "", isAnimated: true }) : /* @__PURE__ */ import_react144.default.createElement(Icon, { icon: caution_white_icon_default, inheritSize: true, role: "presentation" });
|
|
70897
70898
|
case "informative":
|
|
70898
70899
|
return isProminent ? /* @__PURE__ */ import_react144.default.createElement(Informative, { alt: "", isAnimated: true }) : /* @__PURE__ */ import_react144.default.createElement(Icon, { icon: information_white_icon_default, inheritSize: true, role: "presentation" });
|
|
70899
70900
|
case "negative":
|
|
@@ -71243,6 +71244,14 @@ ${singleLine(message)}${reset}
|
|
|
71243
71244
|
}
|
|
71244
71245
|
});
|
|
71245
71246
|
|
|
71247
|
+
// ../component-library/icons/caution.icon.svg
|
|
71248
|
+
var caution_icon_default;
|
|
71249
|
+
var init_caution_icon = __esm({
|
|
71250
|
+
"../component-library/icons/caution.icon.svg"() {
|
|
71251
|
+
caution_icon_default = "./caution.icon-BHBJMNMA.svg";
|
|
71252
|
+
}
|
|
71253
|
+
});
|
|
71254
|
+
|
|
71246
71255
|
// ../component-library/icons/exclamation.icon.svg
|
|
71247
71256
|
var exclamation_icon_default;
|
|
71248
71257
|
var init_exclamation_icon = __esm({
|
|
@@ -71264,6 +71273,7 @@ ${singleLine(message)}${reset}
|
|
|
71264
71273
|
var init_classMappers = __esm({
|
|
71265
71274
|
"../../draft-packages/popover/KaizenDraft/Popover/classMappers.ts"() {
|
|
71266
71275
|
"use strict";
|
|
71276
|
+
init_caution_icon();
|
|
71267
71277
|
init_exclamation_icon();
|
|
71268
71278
|
init_information_icon();
|
|
71269
71279
|
init_success_icon();
|
|
@@ -71305,7 +71315,7 @@ ${singleLine(message)}${reset}
|
|
|
71305
71315
|
case "negative":
|
|
71306
71316
|
return exclamation_icon_default;
|
|
71307
71317
|
case "cautionary":
|
|
71308
|
-
return
|
|
71318
|
+
return caution_icon_default;
|
|
71309
71319
|
default:
|
|
71310
71320
|
return information_icon_default;
|
|
71311
71321
|
}
|
|
@@ -108981,12 +108991,13 @@ ${singleLine(message)}${reset}
|
|
|
108981
108991
|
var import_react156 = __toESM(require_react());
|
|
108982
108992
|
var import_classnames66 = __toESM(require_classnames());
|
|
108983
108993
|
init_component_library();
|
|
108994
|
+
init_caution_white_icon();
|
|
108984
108995
|
|
|
108985
108996
|
// ../component-library/icons/clear-white.icon.svg
|
|
108986
108997
|
var clear_white_icon_default = "./clear-white.icon-O3ZK5Z2K.svg";
|
|
108987
108998
|
|
|
108988
108999
|
// ../../draft-packages/tag/KaizenDraft/Tag/Tag.tsx
|
|
108989
|
-
|
|
109000
|
+
init_exclamation_white_icon();
|
|
108990
109001
|
init_information_icon();
|
|
108991
109002
|
init_success_icon();
|
|
108992
109003
|
var import_Tag_module = __toESM(__require("./Tag.module-T6PQJLSW.scss"));
|
|
@@ -109035,9 +109046,9 @@ ${singleLine(message)}${reset}
|
|
|
109035
109046
|
case "validationPositive":
|
|
109036
109047
|
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon: success_icon_default, role: "presentation" }));
|
|
109037
109048
|
case "validationNegative":
|
|
109038
|
-
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon:
|
|
109049
|
+
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon: exclamation_white_icon_default, role: "presentation" }));
|
|
109039
109050
|
case "validationCautionary":
|
|
109040
|
-
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon:
|
|
109051
|
+
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon: caution_white_icon_default, role: "presentation" }));
|
|
109041
109052
|
case "validationInformative":
|
|
109042
109053
|
return /* @__PURE__ */ import_react156.default.createElement("span", { className: import_Tag_module.default.validationIcon }, /* @__PURE__ */ import_react156.default.createElement(Icon, { icon: information_icon_default, role: "presentation" }));
|
|
109043
109054
|
case "profile":
|
|
@@ -116460,6 +116471,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
116460
116471
|
var import_react187 = __toESM(require_react());
|
|
116461
116472
|
var import_classnames80 = __toESM(require_classnames());
|
|
116462
116473
|
init_component_library();
|
|
116474
|
+
init_caution_icon();
|
|
116463
116475
|
init_close_icon();
|
|
116464
116476
|
init_exclamation_icon();
|
|
116465
116477
|
init_information_icon();
|
|
@@ -116567,7 +116579,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
116567
116579
|
case "negative":
|
|
116568
116580
|
return exclamation_icon_default;
|
|
116569
116581
|
case "cautionary":
|
|
116570
|
-
return
|
|
116582
|
+
return caution_icon_default;
|
|
116571
116583
|
case "informative":
|
|
116572
116584
|
return information_icon_default;
|
|
116573
116585
|
default:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.19",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@kaizen/a11y": "^1.6.25",
|
|
32
32
|
"@kaizen/brand": "^1.5.4",
|
|
33
|
-
"@kaizen/brand-moment": "^1.12.
|
|
33
|
+
"@kaizen/brand-moment": "^1.12.63",
|
|
34
34
|
"@kaizen/button": "^2.0.20",
|
|
35
35
|
"@kaizen/component-base": "^1.1.3",
|
|
36
36
|
"@kaizen/component-library": "^16.3.2",
|
|
@@ -44,30 +44,30 @@
|
|
|
44
44
|
"@kaizen/draft-empty-state": "^5.3.26",
|
|
45
45
|
"@kaizen/draft-filter-menu-button": "^2.6.32",
|
|
46
46
|
"@kaizen/draft-form": "^10.2.0",
|
|
47
|
-
"@kaizen/draft-guidance-block": "^6.1.
|
|
47
|
+
"@kaizen/draft-guidance-block": "^6.1.15",
|
|
48
48
|
"@kaizen/draft-hero-card": "^2.2.15",
|
|
49
49
|
"@kaizen/draft-illustration": "^6.0.17",
|
|
50
50
|
"@kaizen/draft-likert-scale-legacy": "^1.10.39",
|
|
51
51
|
"@kaizen/draft-menu": "^4.8.31",
|
|
52
|
-
"@kaizen/draft-modal": "^10.
|
|
52
|
+
"@kaizen/draft-modal": "^10.6.0",
|
|
53
53
|
"@kaizen/draft-page-layout": "^2.3.7",
|
|
54
|
-
"@kaizen/draft-popover": "^5.
|
|
55
|
-
"@kaizen/draft-select": "^2.10.
|
|
54
|
+
"@kaizen/draft-popover": "^5.3.0",
|
|
55
|
+
"@kaizen/draft-select": "^2.10.20",
|
|
56
56
|
"@kaizen/draft-table": "^5.6.15",
|
|
57
57
|
"@kaizen/draft-tabs": "^5.2.26",
|
|
58
|
-
"@kaizen/draft-tag": "^3.
|
|
58
|
+
"@kaizen/draft-tag": "^3.4.0",
|
|
59
59
|
"@kaizen/draft-tile": "^5.9.26",
|
|
60
|
-
"@kaizen/draft-title-block-zen": "^7.9.
|
|
60
|
+
"@kaizen/draft-title-block-zen": "^7.9.5",
|
|
61
61
|
"@kaizen/draft-tooltip": "^5.4.28",
|
|
62
62
|
"@kaizen/draft-well": "^4.3.3",
|
|
63
63
|
"@kaizen/hosted-assets": "^2.0.1",
|
|
64
64
|
"@kaizen/loading-skeleton": "^2.0.2",
|
|
65
65
|
"@kaizen/loading-spinner": "^2.3.6",
|
|
66
|
-
"@kaizen/notification": "^1.
|
|
66
|
+
"@kaizen/notification": "^1.4.0",
|
|
67
67
|
"@kaizen/pagination": "^1.6.26",
|
|
68
68
|
"@kaizen/progress-bar": "^2.3.19",
|
|
69
69
|
"@kaizen/responsive": "^1.8.5",
|
|
70
|
-
"@kaizen/rich-text-editor": "^1.19.
|
|
70
|
+
"@kaizen/rich-text-editor": "^1.19.29",
|
|
71
71
|
"@kaizen/select": "^6.13.6",
|
|
72
72
|
"@kaizen/split-button": "^1.3.33",
|
|
73
73
|
"@kaizen/tabs": "^1.5.30",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "85504787c7847e8d40a6fa5306e4f8e15014ee26"
|
|
89
89
|
}
|