@univerjs/design 0.17.0 → 0.18.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 (140) hide show
  1. package/lib/cjs/index.js +322 -88
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +329 -15659
  15. package/lib/es/locale/ca-ES.js +1 -50
  16. package/lib/es/locale/en-US.js +1 -50
  17. package/lib/es/locale/es-ES.js +1 -50
  18. package/lib/es/locale/fa-IR.js +1 -50
  19. package/lib/es/locale/fr-FR.js +1 -50
  20. package/lib/es/locale/ja-JP.js +1 -50
  21. package/lib/es/locale/ko-KR.js +1 -50
  22. package/lib/es/locale/ru-RU.js +1 -50
  23. package/lib/es/locale/sk-SK.js +1 -50
  24. package/lib/es/locale/vi-VN.js +1 -50
  25. package/lib/es/locale/zh-CN.js +1 -50
  26. package/lib/es/locale/zh-TW.js +1 -50
  27. package/lib/index.css +2580 -1
  28. package/lib/index.js +329 -15659
  29. package/lib/locale/ca-ES.js +1 -50
  30. package/lib/locale/en-US.js +1 -50
  31. package/lib/locale/es-ES.js +1 -50
  32. package/lib/locale/fa-IR.js +1 -50
  33. package/lib/locale/fr-FR.js +1 -50
  34. package/lib/locale/ja-JP.js +1 -50
  35. package/lib/locale/ko-KR.js +1 -50
  36. package/lib/locale/ru-RU.js +1 -50
  37. package/lib/locale/sk-SK.js +1 -50
  38. package/lib/locale/vi-VN.js +1 -50
  39. package/lib/locale/zh-CN.js +1 -50
  40. package/lib/locale/zh-TW.js +1 -50
  41. package/lib/types/components/accordion/Accordion.d.ts +16 -1
  42. package/lib/types/components/accordion/Accordion.stories.d.ts +16 -1
  43. package/lib/types/components/avatar/Avatar.d.ts +18 -3
  44. package/lib/types/components/avatar/Avatar.stories.d.ts +16 -1
  45. package/lib/types/components/badge/Badge.d.ts +16 -1
  46. package/lib/types/components/badge/Badge.stories.d.ts +16 -1
  47. package/lib/types/components/button/Button.d.ts +19 -4
  48. package/lib/types/components/button/Button.stories.d.ts +16 -1
  49. package/lib/types/components/button/ButtonGroup.d.ts +17 -2
  50. package/lib/types/components/button/ButtonGroup.stories.d.ts +16 -1
  51. package/lib/types/components/calendar/Calendar.stories.d.ts +16 -1
  52. package/lib/types/components/cascader-list/CascaderList.stories.d.ts +16 -1
  53. package/lib/types/components/checkbox/Checkbox.d.ts +16 -1
  54. package/lib/types/components/checkbox/Checkbox.stories.d.ts +16 -1
  55. package/lib/types/components/checkbox-group/CheckboxGroup.d.ts +16 -1
  56. package/lib/types/components/checkbox-group/CheckboxGroup.stories.d.ts +16 -1
  57. package/lib/types/components/color-picker/ColorPicker.stories.d.ts +16 -1
  58. package/lib/types/components/config-provider/ConfigProvider.d.ts +17 -2
  59. package/lib/types/components/config-provider/ConfigProvider.stories.d.ts +16 -1
  60. package/lib/types/components/confirm/Confirm.d.ts +16 -1
  61. package/lib/types/components/confirm/Confirm.stories.d.ts +16 -1
  62. package/lib/types/components/date-picker/DatePicker.stories.d.ts +16 -1
  63. package/lib/types/components/date-range-picker/DateRangePicker.stories.d.ts +16 -1
  64. package/lib/types/components/dialog/Dialog.d.ts +16 -1
  65. package/lib/types/components/dialog/Dialog.stories.d.ts +16 -1
  66. package/lib/types/components/dialog/DialogPrimitive.d.ts +24 -9
  67. package/lib/types/components/draggable-list/DraggableList.d.ts +16 -1
  68. package/lib/types/components/draggable-list/DraggableList.stories.d.ts +16 -1
  69. package/lib/types/components/dropdown/Dropdown.d.ts +16 -1
  70. package/lib/types/components/dropdown/Dropdown.stories.d.ts +16 -1
  71. package/lib/types/components/dropdown/PopoverPrimitive.d.ts +16 -1
  72. package/lib/types/components/dropdown-menu/DropdownMenu.d.ts +16 -1
  73. package/lib/types/components/dropdown-menu/DropdownMenuPrimitive.d.ts +16 -1
  74. package/lib/types/components/form-layout/FormLayout.d.ts +16 -1
  75. package/lib/types/components/form-layout/FormLayout.stories.d.ts +16 -1
  76. package/lib/types/components/gallery/Gallery.d.ts +1 -1
  77. package/lib/types/components/gallery/Gallery.stories.d.ts +16 -1
  78. package/lib/types/components/gradient-color-picker/GradientColorPicker.stories.d.ts +16 -1
  79. package/lib/types/components/hover-card/HoverCard.d.ts +16 -1
  80. package/lib/types/components/hover-card/HoverCard.stories.d.ts +16 -1
  81. package/lib/types/components/hover-card/HoverCardPrimitive.d.ts +4 -4
  82. package/lib/types/components/input/Input.d.ts +19 -4
  83. package/lib/types/components/input/Input.stories.d.ts +16 -1
  84. package/lib/types/components/input-number/InputNumber.d.ts +17 -2
  85. package/lib/types/components/input-number/InputNumber.stories.d.ts +16 -1
  86. package/lib/types/components/kbd/Kbd.stories.d.ts +16 -1
  87. package/lib/types/components/message/Message.d.ts +16 -1
  88. package/lib/types/components/message/Message.stories.d.ts +16 -1
  89. package/lib/types/components/pager/Pager.stories.d.ts +16 -1
  90. package/lib/types/components/popup/Popup.d.ts +17 -2
  91. package/lib/types/components/popup/Popup.stories.d.ts +16 -1
  92. package/lib/types/components/radio/Radio.d.ts +16 -1
  93. package/lib/types/components/radio/Radio.stories.d.ts +16 -1
  94. package/lib/types/components/radio-group/RadioGroup.d.ts +16 -1
  95. package/lib/types/components/radio-group/RadioGroup.stories.d.ts +16 -1
  96. package/lib/types/components/segmented/Segmented.stories.d.ts +16 -1
  97. package/lib/types/components/select/MultipleSelect.d.ts +16 -1
  98. package/lib/types/components/select/Select.d.ts +16 -1
  99. package/lib/types/components/select/Select.stories.d.ts +16 -1
  100. package/lib/types/components/select-list/SelectList.stories.d.ts +16 -1
  101. package/lib/types/components/separator/Separator.d.ts +16 -1
  102. package/lib/types/components/textarea/Textarea.d.ts +17 -2
  103. package/lib/types/components/toaster/Toaster.d.ts +16 -1
  104. package/lib/types/components/tooltip/Tooltip.d.ts +16 -1
  105. package/lib/types/components/tooltip/Tooltip.stories.d.ts +16 -1
  106. package/lib/types/components/tree/Tree.d.ts +16 -1
  107. package/lib/types/components/tree/Tree.stories.d.ts +16 -1
  108. package/lib/types/components/tree/util.d.ts +16 -1
  109. package/lib/types/components/virtual-list/VirtualList.d.ts +16 -1
  110. package/lib/types/helper/clsx.d.ts +16 -1
  111. package/lib/types/index.d.ts +0 -1
  112. package/lib/types/locale/ca-ES.d.ts +16 -1
  113. package/lib/types/locale/es-ES.d.ts +16 -1
  114. package/lib/types/locale/fa-IR.d.ts +16 -1
  115. package/lib/types/locale/fr-FR.d.ts +16 -1
  116. package/lib/types/locale/ja-JP.d.ts +16 -1
  117. package/lib/types/locale/ko-KR.d.ts +16 -1
  118. package/lib/types/locale/ru-RU.d.ts +16 -1
  119. package/lib/types/locale/sk-SK.d.ts +16 -1
  120. package/lib/types/locale/vi-VN.d.ts +16 -1
  121. package/lib/types/locale/zh-CN.d.ts +16 -1
  122. package/lib/types/locale/zh-TW.d.ts +16 -1
  123. package/lib/umd/index.js +349 -71
  124. package/lib/umd/locale/ca-ES.js +1 -1
  125. package/lib/umd/locale/en-US.js +1 -1
  126. package/lib/umd/locale/es-ES.js +1 -1
  127. package/lib/umd/locale/fa-IR.js +1 -1
  128. package/lib/umd/locale/fr-FR.js +1 -1
  129. package/lib/umd/locale/ja-JP.js +1 -1
  130. package/lib/umd/locale/ko-KR.js +1 -1
  131. package/lib/umd/locale/ru-RU.js +1 -1
  132. package/lib/umd/locale/sk-SK.js +1 -1
  133. package/lib/umd/locale/vi-VN.js +1 -1
  134. package/lib/umd/locale/zh-CN.js +1 -1
  135. package/lib/umd/locale/zh-TW.js +1 -1
  136. package/package.json +7 -9
  137. package/lib/types/components/menu/Menu.d.ts +0 -27
  138. package/lib/types/components/menu/index.d.ts +0 -17
  139. package/lib/types/components/menu/menu.stories.d.ts +0 -27
  140. package/lib/types/type.d.ts +0 -18
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "cancel·la",
5
- confirm: "ok"
6
- },
7
- CascaderList: {
8
- empty: "Cap"
9
- },
10
- Calendar: {
11
- year: "",
12
- weekDays: ["dg", "dl", "dt", "dc", "dj", "dv", "ds"],
13
- months: [
14
- "gener",
15
- "febrer",
16
- "març",
17
- "abril",
18
- "maig",
19
- "juny",
20
- "juliol",
21
- "agost",
22
- "setembre",
23
- "octubre",
24
- "novembre",
25
- "desembre"
26
- ]
27
- },
28
- Select: {
29
- empty: "Cap"
30
- },
31
- ColorPicker: {
32
- more: "Més colors",
33
- cancel: "cancel·la",
34
- confirm: "ok"
35
- },
36
- GradientColorPicker: {
37
- linear: "Lineal",
38
- radial: "Radial",
39
- angular: "Angular",
40
- diamond: "Diamant",
41
- offset: "Desplaçament",
42
- angle: "Angle",
43
- flip: "Girar",
44
- delete: "Eliminar"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`cancel·la`,confirm:`ok`},CascaderList:{empty:`Cap`},Calendar:{year:``,weekDays:[`dg`,`dl`,`dt`,`dc`,`dj`,`dv`,`ds`],months:[`gener`,`febrer`,`març`,`abril`,`maig`,`juny`,`juliol`,`agost`,`setembre`,`octubre`,`novembre`,`desembre`]},Select:{empty:`Cap`},ColorPicker:{more:`Més colors`,cancel:`cancel·la`,confirm:`ok`},GradientColorPicker:{linear:`Lineal`,radial:`Radial`,angular:`Angular`,diamond:`Diamant`,offset:`Desplaçament`,angle:`Angle`,flip:`Girar`,delete:`Eliminar`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "cancel",
5
- confirm: "ok"
6
- },
7
- CascaderList: {
8
- empty: "None"
9
- },
10
- Calendar: {
11
- year: "",
12
- weekDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
13
- months: [
14
- "Jan",
15
- "Feb",
16
- "Mar",
17
- "Apr",
18
- "May",
19
- "Jun",
20
- "Jul",
21
- "Aug",
22
- "Sep",
23
- "Oct",
24
- "Nov",
25
- "Dec"
26
- ]
27
- },
28
- Select: {
29
- empty: "None"
30
- },
31
- ColorPicker: {
32
- more: "More Colors",
33
- cancel: "cancel",
34
- confirm: "ok"
35
- },
36
- GradientColorPicker: {
37
- linear: "Linear",
38
- radial: "Radial",
39
- angular: "Angular",
40
- diamond: "Diamond",
41
- offset: "Offset",
42
- angle: "Angle",
43
- flip: "Flip",
44
- delete: "Delete"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`cancel`,confirm:`ok`},CascaderList:{empty:`None`},Calendar:{year:``,weekDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]},Select:{empty:`None`},ColorPicker:{more:`More Colors`,cancel:`cancel`,confirm:`ok`},GradientColorPicker:{linear:`Linear`,radial:`Radial`,angular:`Angular`,diamond:`Diamond`,offset:`Offset`,angle:`Angle`,flip:`Flip`,delete:`Delete`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "cancel·la",
5
- confirm: "ok"
6
- },
7
- CascaderList: {
8
- empty: "Cap"
9
- },
10
- Calendar: {
11
- year: "",
12
- weekDays: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
13
- months: [
14
- "Gener",
15
- "Febrer",
16
- "Març",
17
- "Abril",
18
- "Maig",
19
- "Juny",
20
- "Juliol",
21
- "Agost",
22
- "Setembre",
23
- "Octubre",
24
- "Novembre",
25
- "Desembre"
26
- ]
27
- },
28
- Select: {
29
- empty: "Cap"
30
- },
31
- ColorPicker: {
32
- more: "Més colors",
33
- cancel: "cancel·la",
34
- confirm: "ok"
35
- },
36
- GradientColorPicker: {
37
- linear: "Lineal",
38
- radial: "Radial",
39
- angular: "Angular",
40
- diamond: "Diamant",
41
- offset: "Desplaçament",
42
- angle: "Angle",
43
- flip: "Girar",
44
- delete: "Eliminar"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`cancel·la`,confirm:`ok`},CascaderList:{empty:`Cap`},Calendar:{year:``,weekDays:[`Dg`,`Dl`,`Dt`,`Dc`,`Dj`,`Dv`,`Ds`],months:[`Gener`,`Febrer`,`Març`,`Abril`,`Maig`,`Juny`,`Juliol`,`Agost`,`Setembre`,`Octubre`,`Novembre`,`Desembre`]},Select:{empty:`Cap`},ColorPicker:{more:`Més colors`,cancel:`cancel·la`,confirm:`ok`},GradientColorPicker:{linear:`Lineal`,radial:`Radial`,angular:`Angular`,diamond:`Diamant`,offset:`Desplaçament`,angle:`Angle`,flip:`Girar`,delete:`Eliminar`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "لغو",
5
- confirm: "باشه"
6
- },
7
- CascaderList: {
8
- empty: "هیچ کدام"
9
- },
10
- Calendar: {
11
- year: "سال",
12
- weekDays: ["ش", "ی", "د", "س", "چ", "پ", "ج"],
13
- months: [
14
- "فروردین",
15
- "اردیبهشت",
16
- "خرداد",
17
- "تیر",
18
- "مرداد",
19
- "شهریور",
20
- "مهر",
21
- "آبان",
22
- "آذر",
23
- "دی",
24
- "بهمن",
25
- "اسفند"
26
- ]
27
- },
28
- Select: {
29
- empty: "هیچ‌کدام"
30
- },
31
- ColorPicker: {
32
- more: "رنگ‌های بیشتر",
33
- cancel: "لغو",
34
- confirm: "باشه"
35
- },
36
- GradientColorPicker: {
37
- linear: "خطی",
38
- radial: "شعاعی",
39
- angular: "زاویه‌ای",
40
- diamond: "الماسی",
41
- offset: "افست",
42
- angle: "زاویه",
43
- flip: "برگردان",
44
- delete: "حذف"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`لغو`,confirm:`باشه`},CascaderList:{empty:`هیچ کدام`},Calendar:{year:`سال`,weekDays:[`ش`,`ی`,`د`,`س`,`چ`,`پ`,`ج`],months:[`فروردین`,`اردیبهشت`,`خرداد`,`تیر`,`مرداد`,`شهریور`,`مهر`,`آبان`,`آذر`,`دی`,`بهمن`,`اسفند`]},Select:{empty:`هیچ‌کدام`},ColorPicker:{more:`رنگ‌های بیشتر`,cancel:`لغو`,confirm:`باشه`},GradientColorPicker:{linear:`خطی`,radial:`شعاعی`,angular:`زاویه‌ای`,diamond:`الماسی`,offset:`افست`,angle:`زاویه`,flip:`برگردان`,delete:`حذف`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "annuler",
5
- confirm: "ok"
6
- },
7
- CascaderList: {
8
- empty: "Aucun"
9
- },
10
- Calendar: {
11
- year: "",
12
- weekDays: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"],
13
- months: [
14
- "Janvier",
15
- "Février",
16
- "Mars",
17
- "Avril",
18
- "Mai",
19
- "Juin",
20
- "Juillet",
21
- "Août",
22
- "Septembre",
23
- "Octobre",
24
- "Novembre",
25
- "Décembre"
26
- ]
27
- },
28
- Select: {
29
- empty: "Aucun"
30
- },
31
- ColorPicker: {
32
- more: "Plus de couleurs",
33
- cancel: "annuler",
34
- confirm: "ok"
35
- },
36
- GradientColorPicker: {
37
- linear: "Linéaire",
38
- radial: "Radial",
39
- angular: "Angulaire",
40
- diamond: "Diamant",
41
- offset: "Décalage",
42
- angle: "Angle",
43
- flip: "Retourner",
44
- delete: "Supprimer"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`annuler`,confirm:`ok`},CascaderList:{empty:`Aucun`},Calendar:{year:``,weekDays:[`Dim`,`Lun`,`Mar`,`Mer`,`Jeu`,`Ven`,`Sam`],months:[`Janvier`,`Février`,`Mars`,`Avril`,`Mai`,`Juin`,`Juillet`,`Août`,`Septembre`,`Octobre`,`Novembre`,`Décembre`]},Select:{empty:`Aucun`},ColorPicker:{more:`Plus de couleurs`,cancel:`annuler`,confirm:`ok`},GradientColorPicker:{linear:`Linéaire`,radial:`Radial`,angular:`Angulaire`,diamond:`Diamant`,offset:`Décalage`,angle:`Angle`,flip:`Retourner`,delete:`Supprimer`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "キャンセル",
5
- confirm: "確認"
6
- },
7
- CascaderList: {
8
- empty: "該当なし"
9
- },
10
- Calendar: {
11
- year: "年",
12
- weekDays: ["日", "月", "火", "水", "木", "金", "土"],
13
- months: [
14
- "1月",
15
- "2月",
16
- "3月",
17
- "4月",
18
- "5月",
19
- "6月",
20
- "7月",
21
- "8月",
22
- "9月",
23
- "10月",
24
- "11月",
25
- "12月"
26
- ]
27
- },
28
- Select: {
29
- empty: "該当なし"
30
- },
31
- ColorPicker: {
32
- more: "その他の色",
33
- cancel: "キャンセル",
34
- confirm: "確認"
35
- },
36
- GradientColorPicker: {
37
- linear: "線形",
38
- radial: "円形",
39
- angular: "角度",
40
- diamond: "菱形",
41
- offset: "オフセット",
42
- angle: "角度",
43
- flip: "反転",
44
- delete: "削除"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`キャンセル`,confirm:`確認`},CascaderList:{empty:`該当なし`},Calendar:{year:`年`,weekDays:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`]},Select:{empty:`該当なし`},ColorPicker:{more:`その他の色`,cancel:`キャンセル`,confirm:`確認`},GradientColorPicker:{linear:`線形`,radial:`円形`,angular:`角度`,diamond:`菱形`,offset:`オフセット`,angle:`角度`,flip:`反転`,delete:`削除`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "취소",
5
- confirm: "확인"
6
- },
7
- CascaderList: {
8
- empty: "없음"
9
- },
10
- Calendar: {
11
- year: "년",
12
- weekDays: ["일", "월", "화", "수", "목", "금", "토"],
13
- months: [
14
- "1월",
15
- "2월",
16
- "3월",
17
- "4월",
18
- "5월",
19
- "6월",
20
- "7월",
21
- "8월",
22
- "9월",
23
- "10월",
24
- "11월",
25
- "12월"
26
- ]
27
- },
28
- Select: {
29
- empty: "없음"
30
- },
31
- ColorPicker: {
32
- more: "추가 색상",
33
- cancel: "취소",
34
- confirm: "확인"
35
- },
36
- GradientColorPicker: {
37
- linear: "선형",
38
- radial: "방사형",
39
- angular: "각도형",
40
- diamond: "다이아몬드형",
41
- offset: "오프셋",
42
- angle: "각도",
43
- flip: "뒤집기",
44
- delete: "삭제"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`취소`,confirm:`확인`},CascaderList:{empty:`없음`},Calendar:{year:`년`,weekDays:[`일`,`월`,`화`,`수`,`목`,`금`,`토`],months:[`1월`,`2월`,`3월`,`4월`,`5월`,`6월`,`7월`,`8월`,`9월`,`10월`,`11월`,`12월`]},Select:{empty:`없음`},ColorPicker:{more:`추가 색상`,cancel:`취소`,confirm:`확인`},GradientColorPicker:{linear:`선형`,radial:`방사형`,angular:`각도형`,diamond:`다이아몬드형`,offset:`오프셋`,angle:`각도`,flip:`뒤집기`,delete:`삭제`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "отмена",
5
- confirm: "ок"
6
- },
7
- CascaderList: {
8
- empty: "Нет"
9
- },
10
- Select: {
11
- empty: "Нет"
12
- },
13
- Calendar: {
14
- year: "",
15
- weekDays: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
16
- months: [
17
- "Январь",
18
- "Февраль",
19
- "Март",
20
- "Апрель",
21
- "Май",
22
- "Июнь",
23
- "Июль",
24
- "Август",
25
- "Сентябрь",
26
- "Октябрь",
27
- "Ноябрь",
28
- "Декабрь"
29
- ]
30
- },
31
- ColorPicker: {
32
- more: "Больше цветов",
33
- cancel: "отмена",
34
- confirm: "ок"
35
- },
36
- GradientColorPicker: {
37
- linear: "линейный",
38
- radial: "радиальный",
39
- angular: "угловой",
40
- diamond: "ромбовидный",
41
- offset: "смещение",
42
- angle: "угол",
43
- flip: "перевернуть",
44
- delete: "удалить"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`отмена`,confirm:`ок`},CascaderList:{empty:`Нет`},Select:{empty:`Нет`},Calendar:{year:``,weekDays:[`Вс`,`Пн`,`Вт`,`Ср`,`Чт`,`Пт`,`Сб`],months:[`Январь`,`Февраль`,`Март`,`Апрель`,`Май`,`Июнь`,`Июль`,`Август`,`Сентябрь`,`Октябрь`,`Ноябрь`,`Декабрь`]},ColorPicker:{more:`Больше цветов`,cancel:`отмена`,confirm:`ок`},GradientColorPicker:{linear:`линейный`,radial:`радиальный`,angular:`угловой`,diamond:`ромбовидный`,offset:`смещение`,angle:`угол`,flip:`перевернуть`,delete:`удалить`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "zrušiť",
5
- confirm: "ok"
6
- },
7
- CascaderList: {
8
- empty: "Žiadne"
9
- },
10
- Calendar: {
11
- year: "",
12
- weekDays: ["Ne", "Po", "Ut", "St", "Št", "Pi", "So"],
13
- months: [
14
- "Jan",
15
- "Feb",
16
- "Mar",
17
- "Apr",
18
- "Máj",
19
- "Jún",
20
- "Júl",
21
- "Aug",
22
- "Sep",
23
- "Okt",
24
- "Nov",
25
- "Dec"
26
- ]
27
- },
28
- Select: {
29
- empty: "Žiadne"
30
- },
31
- ColorPicker: {
32
- more: "Viac farieb",
33
- cancel: "zrušiť",
34
- confirm: "ok"
35
- },
36
- GradientColorPicker: {
37
- linear: "Lineárny",
38
- radial: "Radiálny",
39
- angular: "Uhlový",
40
- diamond: "Diamantový",
41
- offset: "Posun",
42
- angle: "Uhol",
43
- flip: "Prevrátiť",
44
- delete: "Odstrániť"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`zrušiť`,confirm:`ok`},CascaderList:{empty:`Žiadne`},Calendar:{year:``,weekDays:[`Ne`,`Po`,`Ut`,`St`,`Št`,`Pi`,`So`],months:[`Jan`,`Feb`,`Mar`,`Apr`,`Máj`,`Jún`,`Júl`,`Aug`,`Sep`,`Okt`,`Nov`,`Dec`]},Select:{empty:`Žiadne`},ColorPicker:{more:`Viac farieb`,cancel:`zrušiť`,confirm:`ok`},GradientColorPicker:{linear:`Lineárny`,radial:`Radiálny`,angular:`Uhlový`,diamond:`Diamantový`,offset:`Posun`,angle:`Uhol`,flip:`Prevrátiť`,delete:`Odstrániť`}}};export{e as default};
@@ -1,50 +1 @@
1
- const n = {
2
- design: {
3
- Confirm: {
4
- cancel: "Hủy bỏ",
5
- confirm: "Xác nhận"
6
- },
7
- CascaderList: {
8
- empty: "Không có"
9
- },
10
- Calendar: {
11
- year: "Năm",
12
- weekDays: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
13
- months: [
14
- "Tháng 1",
15
- "Tháng 2",
16
- "Tháng 3",
17
- "Tháng 4",
18
- "Tháng 5",
19
- "Tháng 6",
20
- "Tháng 7",
21
- "Tháng 8",
22
- "Tháng 9",
23
- "Tháng 10",
24
- "Tháng 11",
25
- "Tháng 12"
26
- ]
27
- },
28
- Select: {
29
- empty: "Không có"
30
- },
31
- ColorPicker: {
32
- more: "Màu sắc khác",
33
- cancel: "Hủy bỏ",
34
- confirm: "Xác nhận"
35
- },
36
- GradientColorPicker: {
37
- linear: "Tuyến tính",
38
- radial: "Tỏa ra",
39
- angular: "Góc",
40
- diamond: "Hình thoi",
41
- offset: "Độ lệch",
42
- angle: "Góc",
43
- flip: "Lật",
44
- delete: "Xóa"
45
- }
46
- }
47
- };
48
- export {
49
- n as default
50
- };
1
+ const e={design:{Confirm:{cancel:`Hủy bỏ`,confirm:`Xác nhận`},CascaderList:{empty:`Không có`},Calendar:{year:`Năm`,weekDays:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],months:[`Tháng 1`,`Tháng 2`,`Tháng 3`,`Tháng 4`,`Tháng 5`,`Tháng 6`,`Tháng 7`,`Tháng 8`,`Tháng 9`,`Tháng 10`,`Tháng 11`,`Tháng 12`]},Select:{empty:`Không có`},ColorPicker:{more:`Màu sắc khác`,cancel:`Hủy bỏ`,confirm:`Xác nhận`},GradientColorPicker:{linear:`Tuyến tính`,radial:`Tỏa ra`,angular:`Góc`,diamond:`Hình thoi`,offset:`Độ lệch`,angle:`Góc`,flip:`Lật`,delete:`Xóa`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "取消",
5
- confirm: "确定"
6
- },
7
- CascaderList: {
8
- empty: "无"
9
- },
10
- Calendar: {
11
- year: "年",
12
- weekDays: ["日", "一", "二", "三", "四", "五", "六"],
13
- months: [
14
- "一月",
15
- "二月",
16
- "三月",
17
- "四月",
18
- "五月",
19
- "六月",
20
- "七月",
21
- "八月",
22
- "九月",
23
- "十月",
24
- "十一月",
25
- "十二月"
26
- ]
27
- },
28
- Select: {
29
- empty: "无"
30
- },
31
- ColorPicker: {
32
- more: "更多颜色",
33
- cancel: "取消",
34
- confirm: "确定"
35
- },
36
- GradientColorPicker: {
37
- linear: "线性",
38
- radial: "径向",
39
- angular: "角向",
40
- diamond: "菱形",
41
- offset: "偏移",
42
- angle: "角度",
43
- flip: "翻转",
44
- delete: "删除"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`取消`,confirm:`确定`},CascaderList:{empty:`无`},Calendar:{year:`年`,weekDays:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],months:[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`]},Select:{empty:`无`},ColorPicker:{more:`更多颜色`,cancel:`取消`,confirm:`确定`},GradientColorPicker:{linear:`线性`,radial:`径向`,angular:`角向`,diamond:`菱形`,offset:`偏移`,angle:`角度`,flip:`翻转`,delete:`删除`}}};export{e as default};
@@ -1,50 +1 @@
1
- const e = {
2
- design: {
3
- Confirm: {
4
- cancel: "取消",
5
- confirm: "確定"
6
- },
7
- CascaderList: {
8
- empty: "無"
9
- },
10
- Calendar: {
11
- year: "年",
12
- weekDays: ["日", "一", "二", "三", "四", "五", "六"],
13
- months: [
14
- "一月",
15
- "二月",
16
- "三月",
17
- "四月",
18
- "五月",
19
- "六月",
20
- "七月",
21
- "八月",
22
- "九月",
23
- "十月",
24
- "十一月",
25
- "十二月"
26
- ]
27
- },
28
- Select: {
29
- empty: "無"
30
- },
31
- ColorPicker: {
32
- more: "更多顏色",
33
- cancel: "取消",
34
- confirm: "確定"
35
- },
36
- GradientColorPicker: {
37
- linear: "線性",
38
- radial: "徑向",
39
- angular: "角向",
40
- diamond: "菱形",
41
- offset: "偏移",
42
- angle: "角度",
43
- flip: "翻轉",
44
- delete: "刪除"
45
- }
46
- }
47
- };
48
- export {
49
- e as default
50
- };
1
+ const e={design:{Confirm:{cancel:`取消`,confirm:`確定`},CascaderList:{empty:`無`},Calendar:{year:`年`,weekDays:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],months:[`一月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`十一月`,`十二月`]},Select:{empty:`無`},ColorPicker:{more:`更多顏色`,cancel:`取消`,confirm:`確定`},GradientColorPicker:{linear:`線性`,radial:`徑向`,angular:`角向`,diamond:`菱形`,offset:`偏移`,angle:`角度`,flip:`翻轉`,delete:`刪除`}}};export{e as default};
@@ -1,4 +1,19 @@
1
- import { ReactNode } from 'react';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { ReactNode } from 'react';
2
17
  interface IAccordionItem {
3
18
  label: ReactNode;
4
19
  children: ReactNode;
@@ -1,4 +1,19 @@
1
- import { Meta } from '@storybook/react';
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { Meta } from '@storybook/react';
2
17
  import { Accordion } from './Accordion';
3
18
  declare const meta: Meta<typeof Accordion>;
4
19
  export default meta;