@kaizen/components 1.39.2 → 1.40.0

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.
Files changed (182) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs +4 -4
  3. package/dist/cjs/ErrorPage/hooks/useErrorMessages.cjs.map +1 -1
  4. package/dist/cjs/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
  5. package/dist/cjs/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
  6. package/dist/cjs/dts/Menu/_docs/examples.d.ts +1 -1
  7. package/dist/cjs/index.css +2 -2
  8. package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs +4 -4
  9. package/dist/esm/ErrorPage/hooks/useErrorMessages.mjs.map +1 -1
  10. package/dist/esm/dts/Filter/FilterDatePicker/_docs/controls/validationControls.d.ts +4 -4
  11. package/dist/esm/dts/Filter/FilterDateRangePicker/_docs/controls/validationControls.d.ts +4 -4
  12. package/dist/esm/dts/Menu/_docs/examples.d.ts +1 -1
  13. package/dist/esm/index.css +1 -1
  14. package/dist/styles.css +1 -1
  15. package/locales/ar.json +4 -4
  16. package/locales/bg.json +4 -4
  17. package/locales/cs.json +4 -4
  18. package/locales/cy.json +4 -4
  19. package/locales/da.json +4 -4
  20. package/locales/de.json +4 -4
  21. package/locales/el.json +4 -4
  22. package/locales/en-GB.json +4 -4
  23. package/locales/en.json +4 -4
  24. package/locales/es-419.json +4 -4
  25. package/locales/es.json +4 -4
  26. package/locales/et.json +4 -4
  27. package/locales/fi.json +4 -4
  28. package/locales/fr-CA.json +4 -4
  29. package/locales/fr.json +4 -4
  30. package/locales/he.json +4 -4
  31. package/locales/hi.json +4 -4
  32. package/locales/ht.json +4 -4
  33. package/locales/hu.json +4 -4
  34. package/locales/id.json +4 -4
  35. package/locales/it.json +4 -4
  36. package/locales/ja.json +4 -4
  37. package/locales/km-KH.json +4 -4
  38. package/locales/ko.json +4 -4
  39. package/locales/lt.json +4 -4
  40. package/locales/lv.json +4 -4
  41. package/locales/mi.json +4 -4
  42. package/locales/ms.json +4 -4
  43. package/locales/nb.json +4 -4
  44. package/locales/nl.json +4 -4
  45. package/locales/pl.json +4 -4
  46. package/locales/pt-BR.json +4 -4
  47. package/locales/pt.json +4 -4
  48. package/locales/ro.json +4 -4
  49. package/locales/ru.json +4 -4
  50. package/locales/si-LK.json +4 -4
  51. package/locales/sk.json +4 -4
  52. package/locales/sr.json +4 -4
  53. package/locales/sv.json +4 -4
  54. package/locales/th.json +4 -4
  55. package/locales/tl.json +4 -4
  56. package/locales/tr.json +4 -4
  57. package/locales/uk.json +4 -4
  58. package/locales/vi.json +4 -4
  59. package/locales/zh-TW.json +4 -4
  60. package/locales/zh.json +4 -4
  61. package/package.json +23 -23
  62. package/src/Avatar/_docs/Avatar.mdx +2 -5
  63. package/src/AvatarGroup/_docs/AvatarGroup.mdx +2 -6
  64. package/src/Badge/_docs/Badge.mdx +2 -6
  65. package/src/Brand/_docs/Brand.mdx +2 -5
  66. package/src/BrandMoment/_docs/BrandMoment.mdx +2 -6
  67. package/src/BrandMoment/_docs/BrandMoment.stories.tsx +1 -1
  68. package/src/Button/Button/Button.tsx +0 -0
  69. package/src/Button/Button/_docs/Button.mdx +2 -5
  70. package/src/Button/GenericButton/GenericButton.module.scss +0 -0
  71. package/src/Button/GenericButton/GenericButton.tsx +0 -0
  72. package/src/Button/IconButton/_docs/IconButton.mdx +2 -6
  73. package/src/ButtonGroup/_docs/ButtonGroup.stories.tsx +1 -1
  74. package/src/Calendar/CalendarRange/_docs/CalendarRange.mdx +2 -6
  75. package/src/Calendar/CalendarRange/_docs/CalendarRange.stickersheet.stories.tsx +1 -1
  76. package/src/Calendar/CalendarSingle/_docs/CalendarSingle.mdx +2 -6
  77. package/src/Calendar/CalendarSingle/_docs/CalendarSingle.stickersheet.stories.tsx +1 -1
  78. package/src/Card/_docs/Card.mdx +2 -6
  79. package/src/Checkbox/Checkbox/_docs/Checkbox.mdx +2 -6
  80. package/src/Checkbox/CheckboxField/_docs/CheckboxField.mdx +2 -6
  81. package/src/Checkbox/CheckboxGroup/_docs/CheckboxGroup.mdx +2 -11
  82. package/src/Collapsible/Collapsible/_docs/Collapsible.mdx +2 -6
  83. package/src/Collapsible/CollapsibleGroup/_docs/CollapsibleGroup.mdx +2 -6
  84. package/src/Collapsible/ExpertAdviceCollapsible/_docs/ExpertAdviceCollapsible.mdx +2 -6
  85. package/src/Container/_docs/Container.mdx +2 -6
  86. package/src/Content/_docs/Content.mdx +2 -6
  87. package/src/DatePicker/_docs/DatePicker.mdx +2 -6
  88. package/src/DateRangePicker/_docs/DateRangePicker.mdx +2 -6
  89. package/src/Divider/_docs/Divider.mdx +2 -6
  90. package/src/EmptyState/_docs/EmptyState.mdx +2 -6
  91. package/src/EmptyState/illustrations/action.png +0 -0
  92. package/src/EmptyState/illustrations/informative.png +0 -0
  93. package/src/EmptyState/illustrations/negative.png +0 -0
  94. package/src/EmptyState/illustrations/neutral.png +0 -0
  95. package/src/EmptyState/illustrations/positive.png +0 -0
  96. package/src/ErrorPage/hooks/useErrorMessages.ts +4 -4
  97. package/src/FieldGroup/_docs/FieldGroup.mdx +2 -8
  98. package/src/FieldMessage/_docs/FieldMessage.mdx +2 -6
  99. package/src/Filter/Filter/_docs/Filter.mdx +2 -6
  100. package/src/Filter/FilterBar/_docs/FilterBar.mdx +2 -6
  101. package/src/Filter/FilterButton/_docs/filter-buttons.mdx +2 -6
  102. package/src/Filter/FilterDatePicker/FilterDatePicker.spec.stories.tsx +1 -2
  103. package/src/Filter/FilterDatePicker/_docs/FilterDatePicker.mdx +2 -6
  104. package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.mdx +2 -6
  105. package/src/Filter/FilterDateRangePicker/_docs/FilterDateRangePicker.stickersheet.stories.tsx +1 -1
  106. package/src/Filter/FilterSelect/_docs/FilterSelect.mdx +2 -6
  107. package/src/GuidanceBlock/_docs/GuidanceBlock.mdx +2 -6
  108. package/src/Heading/_docs/Heading.mdx +2 -7
  109. package/src/Icon/bin/update-icons.sh +2 -2
  110. package/src/Icon/bin/wrapSVGs.ts +0 -0
  111. package/src/Illustration/Scene/BrandMomentCaptureIntro/_docs/BrandMomentCaptureIntro.mdx +2 -6
  112. package/src/Illustration/Scene/_docs/Scene.mdx +2 -3
  113. package/src/Illustration/Spot/_docs/Spot.mdx +2 -6
  114. package/src/Input/Input/_docs/Input.mdx +2 -6
  115. package/src/Input/InputRange/_docs/InputRange.mdx +2 -6
  116. package/src/Input/InputSearch/_docs/InputSearch.mdx +2 -7
  117. package/src/Label/_docs/Label.mdx +2 -6
  118. package/src/LikertScaleLegacy/_docs/LikertScaleLegacy.mdx +2 -6
  119. package/src/Loading/LoadingGraphic/_docs/LoadingGraphic.mdx +2 -6
  120. package/src/Loading/LoadingHeading/_docs/LoadingHeading.mdx +2 -6
  121. package/src/Loading/LoadingInput/_docs/LoadingInput.mdx +2 -6
  122. package/src/Loading/LoadingParagraph/_docs/LoadingParagraph.mdx +2 -6
  123. package/src/Loading/LoadingSpinner/_docs/LoadingSpinner.mdx +2 -11
  124. package/src/Menu/_docs/Menu.mdx +2 -6
  125. package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +0 -0
  126. package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.mdx +2 -6
  127. package/src/Modal/ContextModal/_docs/ContextModal.mdx +2 -6
  128. package/src/Modal/GenericModal/_docs/GenericModal.mdx +2 -6
  129. package/src/Modal/InputEditModal/_docs/InputEditModal.mdx +2 -6
  130. package/src/MultiSelect/_docs/MultiSelect.mdx +2 -5
  131. package/src/Notification/GlobalNotification/_docs/GlobalNotification.mdx +2 -6
  132. package/src/Notification/InlineNotification/_docs/InlineNotification.mdx +2 -6
  133. package/src/Notification/ToastNotification/_docs/ToastNotification.mdx +2 -6
  134. package/src/Pagination/_docs/Pagination.mdx +2 -6
  135. package/src/Pagination/subcomponents/DirectionalLink/_docs/DirectionalLink.mdx +2 -6
  136. package/src/Pagination/subcomponents/PaginationLink/_docs/PaginationLink.mdx +2 -7
  137. package/src/Popover/_docs/Popover.mdx +2 -6
  138. package/src/ProgressBar/_docs/ProgressBar.mdx +2 -6
  139. package/src/Radio/Radio/_docs/Radio.mdx +2 -6
  140. package/src/Radio/RadioField/_docs/RadioField.mdx +2 -6
  141. package/src/Radio/RadioGroup/_docs/RadioGroup.mdx +2 -6
  142. package/src/RichTextEditor/EditableRichTextContent/_docs/EditableRichTextContent.mdx +2 -6
  143. package/src/RichTextEditor/RichTextContent/_docs/RichTextContent.mdx +2 -6
  144. package/src/RichTextEditor/RichTextEditor/RichTextEditor.spec.stories.tsx +1 -2
  145. package/src/RichTextEditor/RichTextEditor/_docs/RichTextEditor.mdx +2 -8
  146. package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/_docs/ToggleIconButton.mdx +2 -6
  147. package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/_docs/Toolbar.mdx +2 -6
  148. package/src/RichTextEditor/index.ts +0 -0
  149. package/src/SearchField/_docs/SearchField.mdx +2 -6
  150. package/src/Select/_docs/Select.mdx +2 -6
  151. package/src/Skirt/_docs/Skirt.mdx +2 -6
  152. package/src/Slider/_docs/Slider.mdx +2 -6
  153. package/src/SplitButton/_docs/SplitButton.mdx +2 -6
  154. package/src/Table/_docs/Table.mdx +3 -6
  155. package/src/Tabs/_docs/Tabs.mdx +3 -5
  156. package/src/Tag/_docs/Tag.mdx +2 -6
  157. package/src/Text/_docs/Text.mdx +2 -6
  158. package/src/TextArea/_docs/TextArea.mdx +2 -7
  159. package/src/TextAreaField/_docs/TextAreaField.mdx +2 -6
  160. package/src/TextField/_docs/TextField.mdx +2 -6
  161. package/src/Tile/InformationTile/_docs/InformationTile.mdx +2 -6
  162. package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +2 -6
  163. package/src/Tile/TileGrid/_docs/TileGrid.mdx +2 -6
  164. package/src/Tile/subcomponents/GenericTile/GenericTile.spec.stories.tsx +1 -3
  165. package/src/TimeField/_docs/TimeField.mdx +2 -6
  166. package/src/TitleBlockZen/_docs/TitleBlockZen.mdx +2 -6
  167. package/src/ToggleSwitch/ToggleSwitch/_docs/ToggleSwitch.mdx +2 -6
  168. package/src/ToggleSwitch/ToggleSwitchField/_docs/ToggleSwitchField.mdx +2 -6
  169. package/src/Tooltip/_docs/Tooltip.mdx +2 -6
  170. package/src/VisuallyHidden/_docs/VisuallyHidden.mdx +2 -6
  171. package/src/Well/_docs/Well.mdx +2 -6
  172. package/src/Workflow/_docs/ProgressStepper.stories.tsx +1 -1
  173. package/src/Workflow/_docs/Workflow.mdx +2 -6
  174. package/src/Workflow/_docs/WorkflowFooter.stories.tsx +1 -1
  175. package/src/Workflow/_docs/WorkflowHeader.stories.tsx +1 -1
  176. package/src/__future__/Select/_docs/Select.mdx +2 -6
  177. package/src/__future__/Tag/RemovableTag/_docs/RemovableTag.mdx +2 -7
  178. package/src/__future__/Tag/Tag/_docs/Tag.mdx +2 -6
  179. package/src/__future__/Workflow/_docs/ProgressStepper.mdx +2 -6
  180. package/src/__future__/Workflow/_docs/Workflow.mdx +2 -5
  181. package/src/__future__/Workflow/_docs/WorkflowFooter.mdx +2 -5
  182. package/src/__future__/Workflow/_docs/WorkflowHeader.mdx +2 -5
package/locales/sv.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "Din begäran kunde tyvärr inte slutföras. tillbaka och försök igen, eller gå till startsidan."
30
+ "message" : "Sidan kan inte läsas in just nu. Försök igen eller gå tillbaka till startsidan."
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "Din begäran svävar i rymden"
34
+ "message" : "Sidan kan inte läsas in"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "Saknade sidor är ett av livets mysterier"
58
+ "message" : "Sidan hittades inte"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "Förändring är aldrig lätt"
74
+ "message" : "Ändringen kunde inte utföras"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/th.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "ขออภัย ไม่สามารถดำเนินการตามคำขอของคุณ กลับไปลองอีกครั้งหรือไปที่หน้าแรก"
30
+ "message" : "เกิดปัญหาในการโหลดหน้าเว็บในขณะนี้ ลองอีกครั้งหรือไปที่หน้าแรก"
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "คำขอของคุณหลุดเข้าไปในโมฆะ"
34
+ "message" : "เกิดปัญหาในการโหลดหน้าเว็บ"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "หน้าหายไปเป็นหนึ่งในความลึกลับของชีวิต"
58
+ "message" : "ไม่พบหน้าเว็บ"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "การเปลี่ยนแปลงไม่ได้เกิดขึ้นง่ายๆ"
74
+ "message" : "ไม่สามารถทำการเปลี่ยนแปลงได้"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/tl.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "Pasensya na pero hindi nakumpleto ang kahilingan mo. Bumalik at subukan ulit, o pumunta sa Home"
30
+ "message" : "Nagkakaproblema sa pag-load ng page sa ngayon. Subukan ulit o bumalik sa home."
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "Nawala ang iyong kahilingan"
34
+ "message" : "Nagkakaproblema sa pag-load ng page"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "Isa sa mga misteryo ng buhay ang mga nawawalang page"
58
+ "message" : "Hindi nahanap ang page"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "Hindi talaga madali ang pagbabago"
74
+ "message" : "Hindi nagawa ang pagbabago"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/tr.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "Üzgünüz, isteğiniz tamamlanamadı. Geri dönün ve yeniden deneyin ya da Ana Sayfa'ya gidin"
30
+ "message" : "Şu anda sayfa yüklenirken sorun oluştu. Tekrar deneyin veya ana sayfaya gidin."
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "İsteğiniz boşluğa düştü"
34
+ "message" : "Sayfa yüklenirken sorun oluştu"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "Kayıp sayfalar hayatın gizemlerinden biridir"
58
+ "message" : "Sayfa bulunamadı"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "Değişim asla kolay değildir"
74
+ "message" : "Değişiklik gerçekleştirilemedi"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/uk.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "На жаль, не вдалося виконати ваш запит. Поверніться та повторіть спробу або перейдіть на Головну"
30
+ "message" : "Не вдалося зараз завантажити сторінку. Спробуйте ще раз або перейдіть на Головну."
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "Ваш запит зник"
34
+ "message" : "Не вдалося завантажити сторінку"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "Зниклі сторінки — одна із загадок життя"
58
+ "message" : "Сторінку не знайдено"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "Зміни ніколи не даються легко"
74
+ "message" : "Не вдалося внести зміни"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/vi.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "Rất tiếc, không thể hoàn thành yêu cầu của bạn. Hãy quay lại và thử lại hoặc đi tới Trang chủ"
30
+ "message" : "Sự cố tải trang ngay bây giờ. Hãy thử lại hoặc đi tới trang chủ."
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "Yêu cầu của bạn không còn hiệu lực"
34
+ "message" : "Sự cố khi tải trang"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "Những trang bị thiếu là một trong những bí ẩn của cuộc sống"
58
+ "message" : "Không tìm thấy trang"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "Thay đổi không bao giờ dễ dàng"
74
+ "message" : "Không thể thực hiện thay đổi"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "抱歉,無法完成您的請求。返回重試,或前往首頁"
30
+ "message" : "現在載入頁面時出現問題。重試或前往首頁。"
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "您的請求無效"
34
+ "message" : "載入頁面時出現問題"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "頁面總是無緣無故不知所蹤"
58
+ "message" : "未找到頁面"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "改變從來都不是一件容易的事"
74
+ "message" : "無法更改"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/locales/zh.json CHANGED
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "kzErrorPage.400.message" : {
29
29
  "description" : "Call to action instructions for the user",
30
- "message" : "很抱歉,您的请求无法完成。请返回并重试,或前往主页"
30
+ "message" : "现在加载页面时出现问题。请重试,或前往主页。"
31
31
  },
32
32
  "kzErrorPage.400.title" : {
33
33
  "description" : "Heading for page",
34
- "message" : "您的请求已失效"
34
+ "message" : "加载页面时出现问题"
35
35
  },
36
36
  "kzErrorPage.401.message" : {
37
37
  "description" : "Call to action instructions for the user",
@@ -55,7 +55,7 @@
55
55
  },
56
56
  "kzErrorPage.404.title" : {
57
57
  "description" : "Main title of page",
58
- "message" : "页面缺失是人生的谜团之一"
58
+ "message" : "未找到页面"
59
59
  },
60
60
  "kzErrorPage.413" : {
61
61
  "description" : "Call to action instructions for the user",
@@ -71,7 +71,7 @@
71
71
  },
72
72
  "kzErrorPage.422.title" : {
73
73
  "description" : "Main title of page",
74
- "message" : "改变从来都不是一件容易的事"
74
+ "message" : "无法进行更改"
75
75
  },
76
76
  "kzErrorPage.500" : {
77
77
  "description" : "Call to action instructions for the user",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaizen/components",
3
- "version": "1.39.2",
3
+ "version": "1.40.0",
4
4
  "description": "Kaizen component library",
5
5
  "author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
6
6
  "homepage": "https://cultureamp.design",
@@ -25,27 +25,10 @@
25
25
  "sideEffects": [
26
26
  "styles.css"
27
27
  ],
28
- "scripts": {
29
- "prepublishOnly": "yarn build:components && yarn build:styles && yarn postBuild && yarn dist:clean",
30
- "build": "yarn clean && yarn prepublishOnly",
31
- "test": "FORCE_COLOR=1 jest",
32
- "test:ci": "yarn test --ci",
33
- "test:treeshake": "agadoo ./dist/esm/index.mjs",
34
- "clean": "rimraf dist node_modules",
35
- "build:components": "rollup -c",
36
- "build:styles": "postcss styles/global.css --output dist/global.css",
37
- "compile": "tsc",
38
- "dist:clean": "rm ./dist/global.css ./dist/raw-styles.css",
39
- "dist:combine-styles": "concat-cli -f ./dist/*.css ./dist/esm/*.css -o ./dist/raw-styles.css",
40
- "dist:postcss": "postcss dist/raw-styles.css --output dist/styles.css",
41
- "postBuild": "yarn dist:combine-styles && yarn dist:postcss",
42
- "update-icons": "./src/Icon/bin/update-icons.sh"
43
- },
44
28
  "dependencies": {
45
29
  "@floating-ui/react-dom": "^2.0.5",
46
30
  "@headlessui/react": "<=1.5.0",
47
31
  "@internationalized/date": "^3.5.1",
48
- "@kaizen/hosted-assets": "^2.0.3",
49
32
  "@popperjs/core": "^2.11.8",
50
33
  "@reach/tabs": "^0.18.0",
51
34
  "@react-aria/button": "^3.9.1",
@@ -89,7 +72,8 @@
89
72
  "resize-observer-polyfill": "^1.5.1",
90
73
  "tslib": "^2.6.2",
91
74
  "use-debounce": "^10.0.0",
92
- "uuid": "^9.0.1"
75
+ "uuid": "^9.0.1",
76
+ "@kaizen/hosted-assets": "2.0.3"
93
77
  },
94
78
  "dependenciesComments": {
95
79
  "react-day-picker": "Version locked until a11y gets fixed (https://github.com/gpbl/react-day-picker/pull/1708)"
@@ -98,8 +82,6 @@
98
82
  "@babel/plugin-transform-react-pure-annotations": "^7.23.3",
99
83
  "@cultureamp/frontend-apis": "^9.2.0",
100
84
  "@cultureamp/i18n-react-intl": "^2.1.10",
101
- "@kaizen/design-tokens": "^10.3.17",
102
- "@kaizen/tailwind": "^1.2.3",
103
85
  "@rollup/plugin-alias": "^5.1.0",
104
86
  "@rollup/plugin-babel": "^6.0.4",
105
87
  "@rollup/plugin-commonjs": "^25.0.7",
@@ -127,11 +109,29 @@
127
109
  "svgo": "^3.2.0",
128
110
  "ts-jest": "^29.1.1",
129
111
  "ts-patch": "^3.1.2",
130
- "typescript-transform-paths": "^3.4.6"
112
+ "typescript-transform-paths": "^3.4.6",
113
+ "@kaizen/design-tokens": "10.3.17",
114
+ "@kaizen/tailwind": "1.2.3"
131
115
  },
132
116
  "peerDependencies": {
133
117
  "@cultureamp/i18n-react-intl": "^2.1.10",
134
118
  "react": "^18.2.0",
135
119
  "react-intl": "^6.6.0"
120
+ },
121
+ "scripts": {
122
+ "build": "pnpm clean && pnpm prepublishOnly",
123
+ "test": "FORCE_COLOR=1 jest",
124
+ "test:ci": "pnpm test -- --ci",
125
+ "test:treeshake": "agadoo ./dist/esm/index.mjs",
126
+ "clean": "rimraf dist",
127
+ "build:components": "rollup -c",
128
+ "build:styles": "postcss styles/global.css --output dist/global.css",
129
+ "compile": "tsc",
130
+ "dist:clean": "rm ./dist/global.css ./dist/raw-styles.css",
131
+ "dist:combine-styles": "concat-cli -f ./dist/*.css ./dist/esm/*.css -o ./dist/raw-styles.css",
132
+ "dist:postcss": "postcss dist/raw-styles.css --output dist/styles.css",
133
+ "postBuild": "pnpm dist:combine-styles && pnpm dist:postcss",
134
+ "update-icons": "./src/Icon/bin/update-icons.sh",
135
+ "i18n:extract": "pnpm i18n-extract"
136
136
  }
137
- }
137
+ }
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as AvatarStories from "./Avatar.stories"
4
4
 
5
5
  <Meta of={AvatarStories} />
@@ -14,10 +14,7 @@ import * as AvatarStories from "./Avatar.stories"
14
14
  />
15
15
 
16
16
 
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { Avatar } from "@kaizen/components"'
20
- />
17
+ <KAIOInstallation exportNames="Avatar" />
21
18
 
22
19
  ## Overview
23
20
 
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as AvatarGroupStories from "./AvatarGroup.stories"
4
4
 
5
5
  <Meta of={AvatarGroupStories} />
@@ -13,11 +13,7 @@ import * as AvatarGroupStories from "./AvatarGroup.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { AvatarGroup } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="AvatarGroup" />
21
17
 
22
18
  ## Overview
23
19
 
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as BadgeStories from "./Badge.stories"
4
4
 
5
5
  <Meta of={BadgeStories} />
@@ -13,11 +13,7 @@ import * as BadgeStories from "./Badge.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { Badge } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="Badge" />
21
17
 
22
18
  ## Overview
23
19
 
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as BrandStories from "./Brand.stories"
4
4
 
5
5
  <Meta of={BrandStories} />
@@ -14,10 +14,7 @@ import * as BrandStories from "./Brand.stories"
14
14
  />
15
15
 
16
16
 
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { Brand } from "@kaizen/components"'
20
- />
17
+ <KAIOInstallation exportNames="Brand" />
21
18
 
22
19
  ## Overview
23
20
 
@@ -1,6 +1,6 @@
1
1
  import { Canvas, Meta } from "@storybook/blocks"
2
2
  import { InlineNotification } from "~components/Notification"
3
- import { ResourceLinks, Installation } from "~storybook/components"
3
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
4
4
  import * as BrandMoment from "./BrandMoment.stories"
5
5
 
6
6
  <Meta of={BrandMoment} />
@@ -14,11 +14,7 @@ import * as BrandMoment from "./BrandMoment.stories"
14
14
  className="!mb-8"
15
15
  />
16
16
 
17
-
18
- <Installation
19
- installCommand="yarn add @kaizen/components"
20
- importStatement='import { BrandMoment } from "@kaizen/components"'
21
- />
17
+ <KAIOInstallation exportNames="BrandMoment" />
22
18
 
23
19
  ## Overview
24
20
 
@@ -196,7 +196,7 @@ export const Error: Story = {
196
196
  illustration: <BrandMomentError {...illustrationProps} />,
197
197
  header: <FakeNavBar />,
198
198
  text: {
199
- title: "Missing pages are one of life's mysteries",
199
+ title: "Page not found",
200
200
  },
201
201
  body: (
202
202
  <>
File without changes
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation, LinkTo } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation, LinkTo } from "~storybook/components"
3
3
  import * as ButtonStories from "./Button.stories"
4
4
 
5
5
  <Meta of={ButtonStories} />
@@ -14,10 +14,7 @@ import * as ButtonStories from "./Button.stories"
14
14
  />
15
15
 
16
16
 
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { Button } from "@kaizen/components"'
20
- />
17
+ <KAIOInstallation exportNames="Button" />
21
18
 
22
19
  ## Overview
23
20
 
File without changes
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation, LinkTo } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation, LinkTo } from "~storybook/components"
3
3
  import * as IconButtonStories from "./IconButton.stories"
4
4
 
5
5
  <Meta of={IconButtonStories} />
@@ -13,11 +13,7 @@ import * as IconButtonStories from "./IconButton.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { IconButton } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="IconButton" />
21
17
 
22
18
  ## Overview
23
19
 
@@ -17,7 +17,7 @@ const meta = {
17
17
  },
18
18
  isInKaio: true,
19
19
  installation: [
20
- "yarn add @kaizen/components",
20
+ "pnpm add @kaizen/components",
21
21
  "import { ButtonGroup } from `@kaizen/components`",
22
22
  ],
23
23
  resourceLinks: {
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as CalendarRangeStories from "./CalendarRange.stories"
4
4
 
5
5
  <Meta of={CalendarRangeStories} />
@@ -13,11 +13,7 @@ import * as CalendarRangeStories from "./CalendarRange.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { CalendarRange } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="CalendarRange" />
21
17
 
22
18
  ## Overview
23
19
 
@@ -1,6 +1,6 @@
1
1
  import React from "react"
2
2
  import { Meta } from "@storybook/react"
3
- import { within } from "@storybook/testing-library"
3
+ import { within } from "@storybook/test"
4
4
  import {
5
5
  StickerSheet,
6
6
  StickerSheetStory,
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as CalendarSingleStories from "./CalendarSingle.stories"
4
4
 
5
5
  <Meta of={CalendarSingleStories} />
@@ -13,11 +13,7 @@ import * as CalendarSingleStories from "./CalendarSingle.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { CalendarSingle } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="CalendarSingle" />
21
17
 
22
18
  ## Overview
23
19
 
@@ -1,6 +1,6 @@
1
1
  import React from "react"
2
2
  import { Meta } from "@storybook/react"
3
- import { within } from "@storybook/testing-library"
3
+ import { within } from "@storybook/test"
4
4
  import {
5
5
  StickerSheet,
6
6
  StickerSheetStory,
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, DocsStory, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as CardStories from "./Card.stories"
4
4
 
5
5
  <Meta of={CardStories} />
@@ -11,11 +11,7 @@ import * as CardStories from "./Card.stories"
11
11
  className="!mb-8"
12
12
  />
13
13
 
14
-
15
- <Installation
16
- installCommand="yarn add @kaizen/components"
17
- importStatement='import { Card } from "@kaizen/components"'
18
- />
14
+ <KAIOInstallation exportNames="Card" />
19
15
 
20
16
  ## Overview
21
17
 
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import { LinkTo } from "~storybook/components/LinkTo"
4
4
  import * as CheckboxStories from "./Checkbox.stories"
5
5
 
@@ -12,11 +12,7 @@ import * as CheckboxStories from "./Checkbox.stories"
12
12
  className="!mb-8"
13
13
  />
14
14
 
15
-
16
- <Installation
17
- installCommand="yarn add @kaizen/components"
18
- importStatement='import { Checkbox } from "@kaizen/components"'
19
- />
15
+ <KAIOInstallation exportNames="Checkbox" />
20
16
 
21
17
  ## Overview
22
18
 
@@ -1,5 +1,5 @@
1
1
  import { Canvas, Controls, Meta } from "@storybook/blocks"
2
- import { ResourceLinks, Installation } from "~storybook/components"
2
+ import { ResourceLinks, KAIOInstallation } from "~storybook/components"
3
3
  import * as CheckboxFieldStories from "./CheckboxField.stories"
4
4
 
5
5
  <Meta of={CheckboxFieldStories} />
@@ -13,11 +13,7 @@ import * as CheckboxFieldStories from "./CheckboxField.stories"
13
13
  className="!mb-8"
14
14
  />
15
15
 
16
-
17
- <Installation
18
- installCommand="yarn add @kaizen/components"
19
- importStatement='import { CheckboxField } from "@kaizen/components"'
20
- />
16
+ <KAIOInstallation exportNames="CheckboxField" />
21
17
 
22
18
  ## Overview
23
19