@kaizen/components 1.19.2 → 1.20.1
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/dist/cjs/{SuccessIcon-502d508a.js → SuccessIcon-5acec84f.js} +1 -1
- package/dist/cjs/{SuccessIcon-502d508a.js.map → SuccessIcon-5acec84f.js.map} +1 -1
- package/dist/cjs/dts/BrandMoment/BrandMoment.d.ts +22 -0
- package/dist/cjs/dts/BrandMoment/index.d.ts +1 -0
- package/dist/cjs/dts/ErrorPage/ErrorPage.d.ts +16 -0
- package/dist/cjs/dts/ErrorPage/hooks/index.d.ts +1 -0
- package/dist/cjs/dts/ErrorPage/hooks/useErrorMessages.d.ts +8 -0
- package/dist/cjs/dts/ErrorPage/index.d.ts +1 -0
- package/dist/cjs/dts/FilterDatePicker/hooks/useDateInputHandlers.d.ts +21 -0
- package/dist/cjs/dts/SVG/icons/ArrowRightIcon.d.ts +6 -0
- package/dist/cjs/dts/SVG/icons/EmailIcon.d.ts +6 -0
- package/dist/cjs/dts/index.d.ts +1 -0
- package/dist/cjs/future.js +1 -1
- package/dist/cjs/index.css +8 -6
- package/dist/cjs/index.js +464 -143
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/{SuccessIcon-44c16cb6.js → SuccessIcon-6a6f04ae.js} +1 -1
- package/dist/esm/{SuccessIcon-44c16cb6.js.map → SuccessIcon-6a6f04ae.js.map} +1 -1
- package/dist/esm/dts/BrandMoment/BrandMoment.d.ts +22 -0
- package/dist/esm/dts/BrandMoment/index.d.ts +1 -0
- package/dist/esm/dts/ErrorPage/ErrorPage.d.ts +16 -0
- package/dist/esm/dts/ErrorPage/hooks/index.d.ts +1 -0
- package/dist/esm/dts/ErrorPage/hooks/useErrorMessages.d.ts +8 -0
- package/dist/esm/dts/ErrorPage/index.d.ts +1 -0
- package/dist/esm/dts/FilterDatePicker/hooks/useDateInputHandlers.d.ts +21 -0
- package/dist/esm/dts/SVG/icons/ArrowRightIcon.d.ts +6 -0
- package/dist/esm/dts/SVG/icons/EmailIcon.d.ts +6 -0
- package/dist/esm/dts/index.d.ts +1 -0
- package/dist/esm/future.js +1 -1
- package/dist/esm/index.css +7 -5
- package/dist/esm/index.js +465 -145
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +18 -1
- package/dist/styles.css +1 -1
- package/locales/ar.json +86 -3
- package/locales/bg.json +86 -3
- package/locales/cs.json +86 -3
- package/locales/cy.json +86 -3
- package/locales/da.json +86 -3
- package/locales/de.json +86 -3
- package/locales/el.json +86 -3
- package/locales/en-GB.json +86 -3
- package/locales/en.json +86 -3
- package/locales/es-419.json +86 -3
- package/locales/es.json +86 -3
- package/locales/et.json +86 -3
- package/locales/fi.json +86 -3
- package/locales/fr-CA.json +86 -3
- package/locales/fr.json +86 -3
- package/locales/he.json +86 -3
- package/locales/hi.json +86 -3
- package/locales/ht.json +86 -3
- package/locales/hu.json +86 -3
- package/locales/id.json +86 -3
- package/locales/it.json +86 -3
- package/locales/ja.json +86 -3
- package/locales/km-KH.json +86 -3
- package/locales/ko.json +86 -3
- package/locales/lt.json +86 -3
- package/locales/lv.json +86 -3
- package/locales/mi.json +86 -3
- package/locales/ms.json +86 -3
- package/locales/nb.json +86 -3
- package/locales/nl.json +86 -3
- package/locales/pl.json +86 -3
- package/locales/pt-BR.json +86 -3
- package/locales/pt.json +86 -3
- package/locales/ro.json +86 -3
- package/locales/ru.json +86 -3
- package/locales/si-LK.json +86 -3
- package/locales/sk.json +86 -3
- package/locales/sr.json +86 -3
- package/locales/sv.json +86 -3
- package/locales/th.json +86 -3
- package/locales/tl.json +86 -3
- package/locales/tr.json +86 -3
- package/locales/uk.json +86 -3
- package/locales/vi.json +86 -3
- package/locales/zh-TW.json +86 -3
- package/locales/zh.json +86 -3
- package/package.json +25 -23
package/locales/zh-TW.json
CHANGED
|
@@ -10,15 +10,98 @@
|
|
|
10
10
|
"variants_enabled" : true
|
|
11
11
|
},
|
|
12
12
|
"filterDateRangePicker.dateFrom" : {
|
|
13
|
-
"description" : "Label for the 'Date from'
|
|
13
|
+
"description" : "Label for the 'Date from' field",
|
|
14
14
|
"message" : "開始日期:"
|
|
15
15
|
},
|
|
16
16
|
"filterDateRangePicker.dateTo" : {
|
|
17
|
-
"description" : "Label for the '
|
|
17
|
+
"description" : "Label for the 'date to' field",
|
|
18
18
|
"message" : "結束日期:"
|
|
19
19
|
},
|
|
20
20
|
"filterDateRangePicker.inputFormat" : {
|
|
21
|
-
"description" : "Label for the 'Input format'
|
|
21
|
+
"description" : "Label for the 'Input format' field",
|
|
22
22
|
"message" : "輸入格式"
|
|
23
|
+
},
|
|
24
|
+
"kzErrorPage" : {
|
|
25
|
+
"description" : "Label for contact button",
|
|
26
|
+
"message" : "聯絡支援中心"
|
|
27
|
+
},
|
|
28
|
+
"kzErrorPage.400.message" : {
|
|
29
|
+
"description" : "Call to action instructions for the user",
|
|
30
|
+
"message" : "抱歉,無法完成您的請求。返回重試,或前往首頁"
|
|
31
|
+
},
|
|
32
|
+
"kzErrorPage.400.title" : {
|
|
33
|
+
"description" : "Heading for page",
|
|
34
|
+
"message" : "您的請求無效"
|
|
35
|
+
},
|
|
36
|
+
"kzErrorPage.401.message" : {
|
|
37
|
+
"description" : "Call to action instructions for the user",
|
|
38
|
+
"message" : "抱歉,我們無法驗證您能否檢視此頁面。返回重試,或前往首頁"
|
|
39
|
+
},
|
|
40
|
+
"kzErrorPage.401.title" : {
|
|
41
|
+
"description" : "Main title for page",
|
|
42
|
+
"message" : "您無法檢視此頁面"
|
|
43
|
+
},
|
|
44
|
+
"kzErrorPage.403.message" : {
|
|
45
|
+
"description" : "Call to action instructions for the user",
|
|
46
|
+
"message" : "抱歉,您似乎沒有檢視此頁面的權限。返回重試,或前往首頁"
|
|
47
|
+
},
|
|
48
|
+
"kzErrorPage.403.title" : {
|
|
49
|
+
"description" : "Main title for page",
|
|
50
|
+
"message" : "您無法檢視此頁面"
|
|
51
|
+
},
|
|
52
|
+
"kzErrorPage.404.message" : {
|
|
53
|
+
"description" : "Call to action instructions for the user",
|
|
54
|
+
"message" : "抱歉,我們找不到您要查找的頁面。返回重試,或前往首頁"
|
|
55
|
+
},
|
|
56
|
+
"kzErrorPage.404.title" : {
|
|
57
|
+
"description" : "Main title of page",
|
|
58
|
+
"message" : "頁面總是無緣無故不知所蹤"
|
|
59
|
+
},
|
|
60
|
+
"kzErrorPage.422.message" : {
|
|
61
|
+
"description" : "Call to action instructions for the user",
|
|
62
|
+
"message" : "抱歉,變更無法完成。返回重試,或前往首頁"
|
|
63
|
+
},
|
|
64
|
+
"kzErrorPage.422.title" : {
|
|
65
|
+
"description" : "Main title of page",
|
|
66
|
+
"message" : "改變從來都不是一件容易的事"
|
|
67
|
+
},
|
|
68
|
+
"kzErrorPage.500" : {
|
|
69
|
+
"description" : "Call to action instructions for the user",
|
|
70
|
+
"message" : "抱歉,我們的系統出現問題,無法顯示此頁面。返回重試,或前往首頁"
|
|
71
|
+
},
|
|
72
|
+
"kzErrorPage.500.title" : {
|
|
73
|
+
"description" : "Main title of page",
|
|
74
|
+
"message" : "我們這邊發生錯誤"
|
|
75
|
+
},
|
|
76
|
+
"kzErrorPage.502.message" : {
|
|
77
|
+
"description" : "Call to action instructions for the user",
|
|
78
|
+
"message" : "對此深表歉意。最好就是返回並重試。"
|
|
79
|
+
},
|
|
80
|
+
"kzErrorPage.502.title" : {
|
|
81
|
+
"description" : "Main title of page",
|
|
82
|
+
"message" : "您無法檢視此頁面"
|
|
83
|
+
},
|
|
84
|
+
"kzErrorPage.503.message" : {
|
|
85
|
+
"description" : "Call to action instructions for the user",
|
|
86
|
+
"message" : "我們對此深表歉意。最好的做法就是返回並重試。"
|
|
87
|
+
},
|
|
88
|
+
"kzErrorPage.503.title" : {
|
|
89
|
+
"description" : "Main title of page",
|
|
90
|
+
"message" : "您無法檢視此頁面"
|
|
91
|
+
},
|
|
92
|
+
"kzErrorPage.504.message" : {
|
|
93
|
+
"description" : "Call to action instructions for the user",
|
|
94
|
+
"message" : "我們對此深表歉意。最好的做法就是返回並重試。"
|
|
95
|
+
},
|
|
96
|
+
"kzErrorPage.504.title" : {
|
|
97
|
+
"description" : "Main title of page",
|
|
98
|
+
"message" : "您無法檢視此頁面"
|
|
99
|
+
},
|
|
100
|
+
"kzErrorPage.errorCode" : {
|
|
101
|
+
"message" : "錯誤代碼 {code}"
|
|
102
|
+
},
|
|
103
|
+
"kzErrorPage.goToHome" : {
|
|
104
|
+
"description" : "Home button label",
|
|
105
|
+
"message" : "前往首頁"
|
|
23
106
|
}
|
|
24
107
|
}
|
package/locales/zh.json
CHANGED
|
@@ -10,15 +10,98 @@
|
|
|
10
10
|
"variants_enabled" : true
|
|
11
11
|
},
|
|
12
12
|
"filterDateRangePicker.dateFrom" : {
|
|
13
|
-
"description" : "Label for the 'Date from'
|
|
13
|
+
"description" : "Label for the 'Date from' field",
|
|
14
14
|
"message" : "起始日期"
|
|
15
15
|
},
|
|
16
16
|
"filterDateRangePicker.dateTo" : {
|
|
17
|
-
"description" : "Label for the '
|
|
17
|
+
"description" : "Label for the 'date to' field",
|
|
18
18
|
"message" : "结束日期"
|
|
19
19
|
},
|
|
20
20
|
"filterDateRangePicker.inputFormat" : {
|
|
21
|
-
"description" : "Label for the 'Input format'
|
|
21
|
+
"description" : "Label for the 'Input format' field",
|
|
22
22
|
"message" : "输入格式"
|
|
23
|
+
},
|
|
24
|
+
"kzErrorPage" : {
|
|
25
|
+
"description" : "Label for contact button",
|
|
26
|
+
"message" : "联系支持人员"
|
|
27
|
+
},
|
|
28
|
+
"kzErrorPage.400.message" : {
|
|
29
|
+
"description" : "Call to action instructions for the user",
|
|
30
|
+
"message" : "很抱歉,您的请求无法完成。请返回并重试,或前往主页"
|
|
31
|
+
},
|
|
32
|
+
"kzErrorPage.400.title" : {
|
|
33
|
+
"description" : "Heading for page",
|
|
34
|
+
"message" : "您的请求已失效"
|
|
35
|
+
},
|
|
36
|
+
"kzErrorPage.401.message" : {
|
|
37
|
+
"description" : "Call to action instructions for the user",
|
|
38
|
+
"message" : "很抱歉,我们无法验证您是否可以查看此页面。请返回并重试,或前往主页"
|
|
39
|
+
},
|
|
40
|
+
"kzErrorPage.401.title" : {
|
|
41
|
+
"description" : "Main title for page",
|
|
42
|
+
"message" : "您无法查看此页面"
|
|
43
|
+
},
|
|
44
|
+
"kzErrorPage.403.message" : {
|
|
45
|
+
"description" : "Call to action instructions for the user",
|
|
46
|
+
"message" : "抱歉,您似乎没有权限查看此页面。请返回并重试,或前往主页"
|
|
47
|
+
},
|
|
48
|
+
"kzErrorPage.403.title" : {
|
|
49
|
+
"description" : "Main title for page",
|
|
50
|
+
"message" : "您无法查看此页面"
|
|
51
|
+
},
|
|
52
|
+
"kzErrorPage.404.message" : {
|
|
53
|
+
"description" : "Call to action instructions for the user",
|
|
54
|
+
"message" : "抱歉,我们无法找到您要查找的页面。请返回并重试,或前往主页"
|
|
55
|
+
},
|
|
56
|
+
"kzErrorPage.404.title" : {
|
|
57
|
+
"description" : "Main title of page",
|
|
58
|
+
"message" : "页面缺失是人生的谜团之一"
|
|
59
|
+
},
|
|
60
|
+
"kzErrorPage.422.message" : {
|
|
61
|
+
"description" : "Call to action instructions for the user",
|
|
62
|
+
"message" : "抱歉,您无法进行更改。请返回并重试,或前往主页"
|
|
63
|
+
},
|
|
64
|
+
"kzErrorPage.422.title" : {
|
|
65
|
+
"description" : "Main title of page",
|
|
66
|
+
"message" : "改变从来都不是一件容易的事"
|
|
67
|
+
},
|
|
68
|
+
"kzErrorPage.500" : {
|
|
69
|
+
"description" : "Call to action instructions for the user",
|
|
70
|
+
"message" : "很抱歉,我们的系统出现问题,无法显示此页面。请返回并重试,或前往主页"
|
|
71
|
+
},
|
|
72
|
+
"kzErrorPage.500.title" : {
|
|
73
|
+
"description" : "Main title of page",
|
|
74
|
+
"message" : "我们这边出了点问题"
|
|
75
|
+
},
|
|
76
|
+
"kzErrorPage.502.message" : {
|
|
77
|
+
"description" : "Call to action instructions for the user",
|
|
78
|
+
"message" : "对此深表歉意。最好的办法就是返回并重试。"
|
|
79
|
+
},
|
|
80
|
+
"kzErrorPage.502.title" : {
|
|
81
|
+
"description" : "Main title of page",
|
|
82
|
+
"message" : "您无法查看此页面"
|
|
83
|
+
},
|
|
84
|
+
"kzErrorPage.503.message" : {
|
|
85
|
+
"description" : "Call to action instructions for the user",
|
|
86
|
+
"message" : "我们对此深表歉意。最好的办法就是返回并重试。"
|
|
87
|
+
},
|
|
88
|
+
"kzErrorPage.503.title" : {
|
|
89
|
+
"description" : "Main title of page",
|
|
90
|
+
"message" : "您无法查看此页面"
|
|
91
|
+
},
|
|
92
|
+
"kzErrorPage.504.message" : {
|
|
93
|
+
"description" : "Call to action instructions for the user",
|
|
94
|
+
"message" : "我们对此深表歉意。最好的办法就是返回并重试。"
|
|
95
|
+
},
|
|
96
|
+
"kzErrorPage.504.title" : {
|
|
97
|
+
"description" : "Main title of page",
|
|
98
|
+
"message" : "您无法查看此页面"
|
|
99
|
+
},
|
|
100
|
+
"kzErrorPage.errorCode" : {
|
|
101
|
+
"message" : "错误代码 403 {code}"
|
|
102
|
+
},
|
|
103
|
+
"kzErrorPage.goToHome" : {
|
|
104
|
+
"description" : "Home button label",
|
|
105
|
+
"message" : "转到主页"
|
|
23
106
|
}
|
|
24
107
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaizen/components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.1",
|
|
4
4
|
"description": "Kaizen component library",
|
|
5
5
|
"author": "Geoffrey Chong <geoff.chong@cultureamp.com>",
|
|
6
6
|
"homepage": "https://cultureamp.design",
|
|
@@ -38,54 +38,56 @@
|
|
|
38
38
|
"ci:test:react-17": "USE_REACT_17=true yarn test:ci"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@cultureamp/i18n-react-intl": "^1.4.
|
|
41
|
+
"@cultureamp/i18n-react-intl": "^1.4.3",
|
|
42
42
|
"@kaizen/a11y": "^1.7.11",
|
|
43
43
|
"@kaizen/brand": "^1.5.8",
|
|
44
44
|
"@kaizen/button": "^3.0.3",
|
|
45
|
-
"@kaizen/date-picker": "^6.2.
|
|
46
|
-
"@kaizen/draft-badge": "^1.13.
|
|
45
|
+
"@kaizen/date-picker": "^6.2.3",
|
|
46
|
+
"@kaizen/draft-badge": "^1.13.12",
|
|
47
47
|
"@kaizen/draft-divider": "^2.2.10",
|
|
48
|
-
"@kaizen/draft-form": "^10.4.
|
|
48
|
+
"@kaizen/draft-form": "^10.4.8",
|
|
49
|
+
"@kaizen/draft-illustration": "^7.0.0",
|
|
49
50
|
"@kaizen/draft-menu": "^5.0.2",
|
|
50
51
|
"@kaizen/draft-tag": "^3.4.16",
|
|
51
|
-
"@kaizen/draft-tooltip": "^5.4.
|
|
52
|
+
"@kaizen/draft-tooltip": "^5.4.47",
|
|
52
53
|
"@kaizen/hosted-assets": "^2.0.2",
|
|
53
54
|
"@kaizen/loading-skeleton": "^2.0.7",
|
|
54
55
|
"@kaizen/loading-spinner": "^2.3.11",
|
|
56
|
+
"@kaizen/responsive": "^1.8.10",
|
|
55
57
|
"@kaizen/typography": "^2.3.10",
|
|
56
58
|
"@popperjs/core": "^2.11.8",
|
|
57
|
-
"@react-aria/button": "^3.
|
|
58
|
-
"@react-aria/focus": "^3.
|
|
59
|
-
"@react-aria/listbox": "^3.
|
|
60
|
-
"@react-aria/menu": "^3.
|
|
61
|
-
"@react-aria/overlays": "^3.
|
|
59
|
+
"@react-aria/button": "^3.8.0",
|
|
60
|
+
"@react-aria/focus": "^3.13.0",
|
|
61
|
+
"@react-aria/listbox": "^3.10.0",
|
|
62
|
+
"@react-aria/menu": "^3.10.0",
|
|
63
|
+
"@react-aria/overlays": "^3.15.0",
|
|
62
64
|
"@react-aria/select": "^3.10.1",
|
|
63
|
-
"@react-aria/utils": "^3.
|
|
64
|
-
"@react-stately/collections": "^3.
|
|
65
|
-
"@react-stately/list": "^3.
|
|
66
|
-
"@react-stately/menu": "^3.5.
|
|
67
|
-
"@react-stately/select": "^3.5.
|
|
65
|
+
"@react-aria/utils": "^3.18.0",
|
|
66
|
+
"@react-stately/collections": "^3.9.0",
|
|
67
|
+
"@react-stately/list": "^3.9.0",
|
|
68
|
+
"@react-stately/menu": "^3.5.3",
|
|
69
|
+
"@react-stately/select": "^3.5.2",
|
|
68
70
|
"@react-types/shared": "^3.18.1",
|
|
69
71
|
"classnames": "^2.3.2",
|
|
70
72
|
"date-fns": "^2.30.0",
|
|
71
|
-
"react-focus-on": "^3.
|
|
73
|
+
"react-focus-on": "^3.9.1",
|
|
72
74
|
"react-intl": "^6.4.4",
|
|
73
75
|
"react-popper": "^2.3.0",
|
|
74
76
|
"uuid": "^9.0.0"
|
|
75
77
|
},
|
|
76
78
|
"devDependencies": {
|
|
77
|
-
"@kaizen/tailwind": "^1.0.
|
|
79
|
+
"@kaizen/tailwind": "^1.0.5",
|
|
78
80
|
"@rollup/plugin-alias": "^5.0.0",
|
|
79
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
81
|
+
"@rollup/plugin-commonjs": "^25.0.3",
|
|
80
82
|
"@rollup/plugin-image": "^3.0.2",
|
|
81
83
|
"@rollup/plugin-json": "^6.0.0",
|
|
82
84
|
"@rollup/plugin-node-resolve": "^15.1.0",
|
|
83
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
85
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
84
86
|
"autoprefixer": "^10.4.14",
|
|
85
87
|
"concat-cli": "^4.0.0",
|
|
86
|
-
"esbuild": "^0.18.
|
|
88
|
+
"esbuild": "^0.18.13",
|
|
87
89
|
"query-string": "^8.1.0",
|
|
88
|
-
"rollup": "^3.
|
|
90
|
+
"rollup": "^3.26.2",
|
|
89
91
|
"rollup-plugin-dts": "^5.3.0",
|
|
90
92
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
91
93
|
"rollup-plugin-ignore": "^1.0.10",
|
|
@@ -93,7 +95,7 @@
|
|
|
93
95
|
"rollup-plugin-postcss": "^4.0.2",
|
|
94
96
|
"sass": "^1.63.6",
|
|
95
97
|
"serialize-query-params": "^2.0.2",
|
|
96
|
-
"ts-jest": "^29.1.
|
|
98
|
+
"ts-jest": "^29.1.1",
|
|
97
99
|
"ttypescript": "^1.5.15",
|
|
98
100
|
"typescript-transform-paths": "^3.4.6"
|
|
99
101
|
},
|