@univerjs/design 0.15.3 → 0.15.4
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 +30 -19
- package/lib/cjs/locale/sk-SK.js +1 -0
- package/lib/es/index.js +32 -21
- package/lib/es/locale/sk-SK.js +50 -0
- package/lib/index.css +1 -1
- package/lib/index.js +32 -21
- package/lib/locale/sk-SK.js +50 -0
- package/lib/types/locale/sk-SK.d.ts +3 -0
- package/lib/umd/index.js +30 -19
- package/lib/umd/locale/sk-SK.js +1 -0
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -3194,7 +3194,8 @@ const em = Ts(
|
|
|
3194
3194
|
hover:univer-bg-gray-100
|
|
3195
3195
|
active:univer-bg-gray-200
|
|
3196
3196
|
dark:!univer-border-gray-600 dark:!univer-bg-gray-700 dark:!univer-text-white
|
|
3197
|
-
dark:hover:!univer-bg-gray-600
|
|
3197
|
+
dark:hover:!univer-bg-gray-600
|
|
3198
|
+
dark:active:!univer-bg-gray-700
|
|
3198
3199
|
`,
|
|
3199
3200
|
primary: `
|
|
3200
3201
|
univer-border-primary-600 univer-bg-primary-600 univer-text-white
|
|
@@ -3210,7 +3211,9 @@ const em = Ts(
|
|
|
3210
3211
|
univer-border-transparent univer-bg-transparent univer-text-gray-900
|
|
3211
3212
|
hover:univer-bg-gray-100
|
|
3212
3213
|
active:univer-bg-gray-200
|
|
3213
|
-
dark:!univer-text-white
|
|
3214
|
+
dark:!univer-text-white
|
|
3215
|
+
dark:hover:!univer-bg-gray-700
|
|
3216
|
+
dark:active:!univer-bg-gray-600
|
|
3214
3217
|
`,
|
|
3215
3218
|
link: `
|
|
3216
3219
|
univer-underline-current univer-border-transparent univer-bg-transparent univer-text-primary-600
|
|
@@ -3222,7 +3225,9 @@ const em = Ts(
|
|
|
3222
3225
|
univer-border-transparent univer-bg-transparent univer-text-gray-900
|
|
3223
3226
|
hover:univer-bg-gray-100
|
|
3224
3227
|
active:univer-bg-gray-200
|
|
3225
|
-
dark:!univer-text-white
|
|
3228
|
+
dark:!univer-text-white
|
|
3229
|
+
dark:hover:!univer-bg-gray-700
|
|
3230
|
+
dark:active:!univer-bg-gray-600
|
|
3226
3231
|
`
|
|
3227
3232
|
},
|
|
3228
3233
|
size: {
|
|
@@ -5730,7 +5735,7 @@ function Yg({ hsv: e, onChange: t }) {
|
|
|
5730
5735
|
"button",
|
|
5731
5736
|
{
|
|
5732
5737
|
type: "button",
|
|
5733
|
-
className: ie("univer-box-border univer-
|
|
5738
|
+
className: ie("univer-box-border univer-size-5 univer-cursor-pointer univer-rounded-full univer-border univer-border-solid univer-border-transparent univer-bg-gray-300 univer-transition-shadow", {
|
|
5734
5739
|
"univer-ring-2 univer-ring-offset-2 univer-ring-offset-white dark:!univer-ring-primary-600 dark:!univer-ring-offset-gray-600": a.toUpperCase() === r.toUpperCase(),
|
|
5735
5740
|
"!univer-border-gray-200": i === 0 && s === 0
|
|
5736
5741
|
}),
|
|
@@ -5802,7 +5807,7 @@ function Xg({ hsv: e, onChange: t, onChanged: n }) {
|
|
|
5802
5807
|
"canvas",
|
|
5803
5808
|
{
|
|
5804
5809
|
ref: r,
|
|
5805
|
-
className: "univer-
|
|
5810
|
+
className: "univer-size-full univer-cursor-crosshair univer-rounded",
|
|
5806
5811
|
onPointerDown: (u) => {
|
|
5807
5812
|
a(!0), s(u);
|
|
5808
5813
|
},
|
|
@@ -7829,8 +7834,7 @@ function Hy({
|
|
|
7829
7834
|
sideOffset: n,
|
|
7830
7835
|
className: ie(
|
|
7831
7836
|
`
|
|
7832
|
-
univer-outline-hidden
|
|
7833
|
-
univer-overflow-y-auto univer-rounded-md univer-bg-white univer-text-gray-900 univer-shadow-md
|
|
7837
|
+
univer-outline-hidden
|
|
7834
7838
|
data-[state=open]:univer-animate-in data-[state=open]:univer-fade-in-0
|
|
7835
7839
|
data-[state=open]:univer-zoom-in-95
|
|
7836
7840
|
data-[state=closed]:univer-animate-out data-[state=closed]:univer-fade-out-0
|
|
@@ -7839,7 +7843,10 @@ function Hy({
|
|
|
7839
7843
|
data-[side=left]:univer-slide-in-from-right-2
|
|
7840
7844
|
data-[side=right]:univer-slide-in-from-left-2
|
|
7841
7845
|
data-[side=top]:univer-slide-in-from-bottom-2
|
|
7842
|
-
|
|
7846
|
+
univer-z-[1080] univer-max-h-[--radix-popper-available-height] univer-overflow-y-auto
|
|
7847
|
+
univer-rounded-md univer-bg-white univer-text-gray-900 univer-shadow-md
|
|
7848
|
+
dark:!univer-bg-gray-900 dark:!univer-text-white
|
|
7849
|
+
dark:focus-visible:!univer-border-gray-600
|
|
7843
7850
|
`,
|
|
7844
7851
|
kt,
|
|
7845
7852
|
vr,
|
|
@@ -14985,7 +14992,8 @@ function Hx({
|
|
|
14985
14992
|
univer-gap-2 univer-rounded univer-px-2 univer-py-1.5 univer-text-sm univer-outline-none
|
|
14986
14993
|
data-[state=open]:univer-bg-gray-100
|
|
14987
14994
|
focus:univer-bg-gray-100
|
|
14988
|
-
dark:data-[state=open]:!univer-bg-gray-600
|
|
14995
|
+
dark:data-[state=open]:!univer-bg-gray-600
|
|
14996
|
+
dark:focus:!univer-bg-gray-600
|
|
14989
14997
|
[&_svg]:univer-pointer-events-none [&_svg]:univer-size-4 [&_svg]:univer-shrink-0
|
|
14990
14998
|
`,
|
|
14991
14999
|
e
|
|
@@ -15016,7 +15024,7 @@ function Wx({
|
|
|
15016
15024
|
data-[side=left]:univer-slide-in-from-right-2
|
|
15017
15025
|
data-[side=right]:univer-slide-in-from-left-2
|
|
15018
15026
|
data-[side=top]:univer-slide-in-from-bottom-2
|
|
15019
|
-
univer-z-[1080] univer-box-border univer-max-h-[
|
|
15027
|
+
univer-z-[1080] univer-box-border univer-max-h-[--radix-popper-available-height]
|
|
15020
15028
|
univer-overflow-y-auto univer-rounded-md univer-bg-white univer-p-1.5 univer-text-gray-900
|
|
15021
15029
|
univer-shadow-md
|
|
15022
15030
|
dark:!univer-bg-gray-700 dark:!univer-text-white
|
|
@@ -15049,7 +15057,7 @@ function Bx({
|
|
|
15049
15057
|
data-[side=left]:univer-slide-in-from-right-2
|
|
15050
15058
|
data-[side=right]:univer-slide-in-from-left-2
|
|
15051
15059
|
data-[side=top]:univer-slide-in-from-bottom-2
|
|
15052
|
-
univer-z-[1080] univer-box-border univer-max-h-[
|
|
15060
|
+
univer-z-[1080] univer-box-border univer-max-h-[--radix-popper-available-height]
|
|
15053
15061
|
univer-overflow-y-auto univer-rounded-md univer-bg-white univer-p-1.5 univer-text-gray-900
|
|
15054
15062
|
univer-shadow-md
|
|
15055
15063
|
dark:!univer-bg-gray-700 dark:!univer-text-white
|
|
@@ -15120,7 +15128,7 @@ function Vx({
|
|
|
15120
15128
|
!n && /* @__PURE__ */ R(
|
|
15121
15129
|
"span",
|
|
15122
15130
|
{
|
|
15123
|
-
className: "univer-absolute univer-left-2 univer-flex univer-
|
|
15131
|
+
className: "univer-absolute univer-left-2 univer-flex univer-size-3.5 univer-items-center univer-justify-center",
|
|
15124
15132
|
children: /* @__PURE__ */ R(ip, { children: /* @__PURE__ */ R(
|
|
15125
15133
|
Wr,
|
|
15126
15134
|
{
|
|
@@ -15163,7 +15171,7 @@ function qx({
|
|
|
15163
15171
|
!n && /* @__PURE__ */ R(
|
|
15164
15172
|
"span",
|
|
15165
15173
|
{
|
|
15166
|
-
className: "univer-absolute univer-left-2 univer-flex univer-
|
|
15174
|
+
className: "univer-absolute univer-left-2 univer-flex univer-size-3.5 univer-items-center univer-justify-center",
|
|
15167
15175
|
children: /* @__PURE__ */ R(ip, { children: /* @__PURE__ */ R(
|
|
15168
15176
|
Wr,
|
|
15169
15177
|
{
|
|
@@ -15521,7 +15529,8 @@ const Kx = Ts(
|
|
|
15521
15529
|
univer-box-border univer-w-full univer-rounded-md univer-bg-white univer-transition-colors univer-duration-200
|
|
15522
15530
|
placeholder:univer-text-gray-400
|
|
15523
15531
|
focus:univer-border-primary-600 focus:univer-outline-none focus:univer-ring-2 focus:univer-ring-primary-50
|
|
15524
|
-
dark:!univer-bg-gray-700 dark:!univer-text-white
|
|
15532
|
+
dark:!univer-bg-gray-700 dark:!univer-text-white
|
|
15533
|
+
dark:focus:!univer-ring-primary-900
|
|
15525
15534
|
`,
|
|
15526
15535
|
{
|
|
15527
15536
|
variants: {
|
|
@@ -16048,7 +16057,7 @@ function W2(e) {
|
|
|
16048
16057
|
{
|
|
16049
16058
|
className: ie(
|
|
16050
16059
|
`
|
|
16051
|
-
univer-absolute univer-top-1/2 univer-
|
|
16060
|
+
univer-absolute univer-top-1/2 univer-size-4 -univer-translate-x-1/2
|
|
16052
16061
|
-univer-translate-y-1/2 univer-cursor-pointer univer-rounded-full univer-border-2
|
|
16053
16062
|
univer-border-white univer-shadow-md
|
|
16054
16063
|
`,
|
|
@@ -17576,7 +17585,7 @@ function K2({ items: e }) {
|
|
|
17576
17585
|
return /* @__PURE__ */ R(
|
|
17577
17586
|
"div",
|
|
17578
17587
|
{
|
|
17579
|
-
className: "univer-menu-item-group univer-flex univer-flex-wrap univer-gap-2.5 univer-p-1 univer-
|
|
17588
|
+
className: "univer-menu-item-group univer-flex univer-flex-wrap univer-gap-2.5 univer-p-1 univer-px-0",
|
|
17580
17589
|
children: e.map((t) => {
|
|
17581
17590
|
const n = /* @__PURE__ */ R(
|
|
17582
17591
|
"div",
|
|
@@ -18158,7 +18167,7 @@ function nE(e) {
|
|
|
18158
18167
|
return /* @__PURE__ */ R(
|
|
18159
18168
|
ap,
|
|
18160
18169
|
{
|
|
18161
|
-
className: "max-h univer-w-[
|
|
18170
|
+
className: "max-h univer-w-[--radix-popper-anchor-width] univer-min-w-36",
|
|
18162
18171
|
align: "start",
|
|
18163
18172
|
open: s,
|
|
18164
18173
|
items: f,
|
|
@@ -18235,7 +18244,7 @@ function rE(e) {
|
|
|
18235
18244
|
return /* @__PURE__ */ R(
|
|
18236
18245
|
ap,
|
|
18237
18246
|
{
|
|
18238
|
-
className: "univer-w-[
|
|
18247
|
+
className: "univer-w-[--radix-popper-anchor-width] univer-min-w-36",
|
|
18239
18248
|
align: "start",
|
|
18240
18249
|
open: s,
|
|
18241
18250
|
items: f,
|
|
@@ -18329,8 +18338,10 @@ function oE({
|
|
|
18329
18338
|
className: ie(
|
|
18330
18339
|
`
|
|
18331
18340
|
univer-shrink-0 univer-bg-gray-200
|
|
18332
|
-
data-[orientation=horizontal]:univer-h-px
|
|
18333
|
-
data-[orientation=vertical]:univer-h-full
|
|
18341
|
+
data-[orientation=horizontal]:univer-h-px
|
|
18342
|
+
data-[orientation=vertical]:univer-h-full
|
|
18343
|
+
data-[orientation=horizontal]:univer-w-full
|
|
18344
|
+
data-[orientation=vertical]:univer-w-px
|
|
18334
18345
|
dark:!univer-bg-gray-600
|
|
18335
18346
|
`,
|
|
18336
18347
|
e
|
|
@@ -18365,7 +18376,7 @@ const iE = (e) => {
|
|
|
18365
18376
|
children: /* @__PURE__ */ R(
|
|
18366
18377
|
"span",
|
|
18367
18378
|
{
|
|
18368
|
-
className: ie("univer-absolute univer-bottom-0.5 univer-left-0.5 univer-
|
|
18379
|
+
className: ie("univer-absolute univer-bottom-0.5 univer-left-0.5 univer-size-3 univer-rounded-full univer-bg-white univer-transition-transform univer-duration-200", {
|
|
18369
18380
|
"univer-translate-x-3": r
|
|
18370
18381
|
})
|
|
18371
18382
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
};
|