@univerjs/design 1.0.0-alpha.7 → 1.0.0-beta.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.
- package/lib/cjs/index.js +152 -206
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +3 -3
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fr-FR.js +3 -3
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +3 -3
- package/lib/cjs/locale/pl-PL.js +3 -3
- package/lib/cjs/locale/pt-BR.js +3 -3
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +3 -3
- package/lib/es/index.js +153 -206
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +3 -3
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fr-FR.js +3 -3
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +3 -3
- package/lib/es/locale/pl-PL.js +3 -3
- package/lib/es/locale/pt-BR.js +3 -3
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +3 -3
- package/lib/index.css +32 -88
- package/lib/index.js +153 -206
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +3 -3
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fr-FR.js +3 -3
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +3 -3
- package/lib/locale/pl-PL.js +3 -3
- package/lib/locale/pt-BR.js +3 -3
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +3 -3
- package/lib/types/components/dialog/Dialog.d.ts +0 -6
- package/lib/types/components/popup/Popup.d.ts +0 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/umd/index.js +14 -14
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/package.json +11 -13
- package/lib/types/helper/resize-observer.d.ts +0 -19
package/lib/locale/ar-SA.js
CHANGED
package/lib/locale/ca-ES.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "cancel·la",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "D'acord"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Cap" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Any",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"dg",
|
|
22
22
|
"dl",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Més colors",
|
|
53
53
|
cancel: "cancel·la",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "D'acord"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Lineal",
|
package/lib/locale/de-DE.js
CHANGED
package/lib/locale/es-ES.js
CHANGED
package/lib/locale/fr-FR.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "annuler",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "OK"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Aucun" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Année",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"Dim",
|
|
22
22
|
"Lun",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Plus de couleurs",
|
|
53
53
|
cancel: "annuler",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "OK"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Linéaire",
|
package/lib/locale/id-ID.js
CHANGED
package/lib/locale/it-IT.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "annulla",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "OK"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Nessuno" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Anno",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"Dom",
|
|
22
22
|
"Lun",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Altri Colori",
|
|
53
53
|
cancel: "annulla",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "OK"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Lineare",
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "anuluj",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "OK"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Brak" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Rok",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"nd",
|
|
22
22
|
"pn",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Więcej kolorów",
|
|
53
53
|
cancel: "anuluj",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "OK"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Liniowy",
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "cancelar",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "OK"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Nenhum" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Ano",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"Dom",
|
|
22
22
|
"Seg",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Mais Cores",
|
|
53
53
|
cancel: "cancelar",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "OK"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Linear",
|
package/lib/locale/ru-RU.js
CHANGED
package/lib/locale/sk-SK.js
CHANGED
|
@@ -12,11 +12,11 @@ const locale = { design: {
|
|
|
12
12
|
},
|
|
13
13
|
Confirm: {
|
|
14
14
|
cancel: "zrušiť",
|
|
15
|
-
confirm: "
|
|
15
|
+
confirm: "OK"
|
|
16
16
|
},
|
|
17
17
|
CascaderList: { empty: "Žiadne" },
|
|
18
18
|
Calendar: {
|
|
19
|
-
year: "",
|
|
19
|
+
year: "Rok",
|
|
20
20
|
weekDays: [
|
|
21
21
|
"Ne",
|
|
22
22
|
"Po",
|
|
@@ -51,7 +51,7 @@ const locale = { design: {
|
|
|
51
51
|
ColorPicker: {
|
|
52
52
|
more: "Viac farieb",
|
|
53
53
|
cancel: "zrušiť",
|
|
54
|
-
confirm: "
|
|
54
|
+
confirm: "OK"
|
|
55
55
|
},
|
|
56
56
|
GradientColorPicker: {
|
|
57
57
|
linear: "Lineárny",
|
|
@@ -47,12 +47,6 @@ export interface IDialogProps {
|
|
|
47
47
|
x: number;
|
|
48
48
|
y: number;
|
|
49
49
|
};
|
|
50
|
-
/**
|
|
51
|
-
* Whether the dialog should be destroyed on close.
|
|
52
|
-
* @deprecated
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
destroyOnClose?: boolean;
|
|
56
50
|
/**
|
|
57
51
|
* Whether the dialog should preserve its position on destroy.
|
|
58
52
|
* @default false
|
package/lib/types/index.d.ts
CHANGED
|
@@ -96,5 +96,4 @@ export { borderBottomClassName, borderClassName, borderLeftBottomClassName, bord
|
|
|
96
96
|
export { clsx } from './helper/clsx';
|
|
97
97
|
export { isBrowser } from './helper/is-browser';
|
|
98
98
|
export { render, unmount } from './helper/react-dom';
|
|
99
|
-
export { resizeObserverCtor } from './helper/resize-observer';
|
|
100
99
|
export { cva } from 'class-variance-authority';
|