@univerjs/preset-sheets-conditional-formatting 0.25.0 → 1.0.0-alpha.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 (107) hide show
  1. package/README.md +3 -3
  2. package/lib/cjs/index.js +25 -1
  3. package/lib/cjs/locales/ar-SA.js +11 -1
  4. package/lib/cjs/locales/ca-ES.js +11 -1
  5. package/lib/cjs/locales/de-DE.js +11 -1
  6. package/lib/cjs/locales/en-US.js +11 -1
  7. package/lib/cjs/locales/es-ES.js +11 -1
  8. package/lib/cjs/locales/fa-IR.js +11 -1
  9. package/lib/cjs/locales/fr-FR.js +11 -1
  10. package/lib/cjs/locales/id-ID.js +11 -1
  11. package/lib/cjs/locales/it-IT.js +11 -1
  12. package/lib/cjs/locales/ja-JP.js +11 -1
  13. package/lib/cjs/locales/ko-KR.js +11 -1
  14. package/lib/cjs/locales/pl-PL.js +11 -1
  15. package/lib/cjs/locales/pt-BR.js +11 -1
  16. package/lib/cjs/locales/ru-RU.js +11 -1
  17. package/lib/cjs/locales/sk-SK.js +11 -1
  18. package/lib/cjs/locales/vi-VN.js +11 -1
  19. package/lib/cjs/locales/zh-CN.js +11 -1
  20. package/lib/cjs/locales/zh-HK.js +11 -1
  21. package/lib/cjs/locales/zh-TW.js +11 -1
  22. package/lib/cjs/rolldown-runtime-C_NdSu1c.js +34 -0
  23. package/lib/es/index.js +14 -15
  24. package/lib/es/locales/ar-SA.js +8 -8
  25. package/lib/es/locales/ca-ES.js +8 -8
  26. package/lib/es/locales/de-DE.js +8 -8
  27. package/lib/es/locales/en-US.js +8 -8
  28. package/lib/es/locales/es-ES.js +8 -8
  29. package/lib/es/locales/fa-IR.js +8 -8
  30. package/lib/es/locales/fr-FR.js +8 -8
  31. package/lib/es/locales/id-ID.js +8 -8
  32. package/lib/es/locales/it-IT.js +8 -8
  33. package/lib/es/locales/ja-JP.js +8 -8
  34. package/lib/es/locales/ko-KR.js +8 -8
  35. package/lib/es/locales/pl-PL.js +8 -8
  36. package/lib/es/locales/pt-BR.js +8 -8
  37. package/lib/es/locales/ru-RU.js +8 -8
  38. package/lib/es/locales/sk-SK.js +8 -8
  39. package/lib/es/locales/vi-VN.js +8 -8
  40. package/lib/es/locales/zh-CN.js +8 -8
  41. package/lib/es/locales/zh-HK.js +8 -8
  42. package/lib/es/locales/zh-TW.js +8 -8
  43. package/lib/index.css +432 -1
  44. package/lib/index.js +14 -15
  45. package/lib/locales/ar-SA.js +8 -8
  46. package/lib/locales/ca-ES.js +8 -8
  47. package/lib/locales/de-DE.js +8 -8
  48. package/lib/locales/en-US.js +8 -8
  49. package/lib/locales/es-ES.js +8 -8
  50. package/lib/locales/fa-IR.js +8 -8
  51. package/lib/locales/fr-FR.js +8 -8
  52. package/lib/locales/id-ID.js +8 -8
  53. package/lib/locales/it-IT.js +8 -8
  54. package/lib/locales/ja-JP.js +8 -8
  55. package/lib/locales/ko-KR.js +8 -8
  56. package/lib/locales/pl-PL.js +8 -8
  57. package/lib/locales/pt-BR.js +8 -8
  58. package/lib/locales/ru-RU.js +8 -8
  59. package/lib/locales/sk-SK.js +8 -8
  60. package/lib/locales/vi-VN.js +8 -8
  61. package/lib/locales/zh-CN.js +8 -8
  62. package/lib/locales/zh-HK.js +8 -8
  63. package/lib/locales/zh-TW.js +8 -8
  64. package/lib/types/index.d.ts +16 -1
  65. package/lib/types/locales/ar-SA.d.ts +169 -1
  66. package/lib/types/locales/ca-ES.d.ts +169 -1
  67. package/lib/types/locales/de-DE.d.ts +169 -1
  68. package/lib/types/locales/en-US.d.ts +169 -1
  69. package/lib/types/locales/es-ES.d.ts +169 -1
  70. package/lib/types/locales/fa-IR.d.ts +169 -1
  71. package/lib/types/locales/fr-FR.d.ts +169 -1
  72. package/lib/types/locales/id-ID.d.ts +169 -1
  73. package/lib/types/locales/it-IT.d.ts +169 -1
  74. package/lib/types/locales/ja-JP.d.ts +169 -1
  75. package/lib/types/locales/ko-KR.d.ts +169 -1
  76. package/lib/types/locales/pl-PL.d.ts +169 -1
  77. package/lib/types/locales/pt-BR.d.ts +169 -1
  78. package/lib/types/locales/ru-RU.d.ts +169 -1
  79. package/lib/types/locales/sk-SK.d.ts +169 -1
  80. package/lib/types/locales/vi-VN.d.ts +169 -1
  81. package/lib/types/locales/zh-CN.d.ts +169 -1
  82. package/lib/types/locales/zh-HK.d.ts +169 -1
  83. package/lib/types/locales/zh-TW.d.ts +169 -1
  84. package/lib/types/preset.d.ts +19 -0
  85. package/package.json +13 -15
  86. package/lib/types/types.d.ts +0 -11
  87. package/lib/types/umd.d.ts +0 -5
  88. package/lib/umd/index.js +0 -16
  89. package/lib/umd/locales/ar-SA.js +0 -5
  90. package/lib/umd/locales/ca-ES.js +0 -5
  91. package/lib/umd/locales/de-DE.js +0 -5
  92. package/lib/umd/locales/en-US.js +0 -5
  93. package/lib/umd/locales/es-ES.js +0 -5
  94. package/lib/umd/locales/fa-IR.js +0 -5
  95. package/lib/umd/locales/fr-FR.js +0 -5
  96. package/lib/umd/locales/id-ID.js +0 -5
  97. package/lib/umd/locales/it-IT.js +0 -5
  98. package/lib/umd/locales/ja-JP.js +0 -5
  99. package/lib/umd/locales/ko-KR.js +0 -5
  100. package/lib/umd/locales/pl-PL.js +0 -5
  101. package/lib/umd/locales/pt-BR.js +0 -5
  102. package/lib/umd/locales/ru-RU.js +0 -5
  103. package/lib/umd/locales/sk-SK.js +0 -5
  104. package/lib/umd/locales/vi-VN.js +0 -5
  105. package/lib/umd/locales/zh-CN.js +0 -5
  106. package/lib/umd/locales/zh-HK.js +0 -5
  107. package/lib/umd/locales/zh-TW.js +0 -5
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/pt-BR";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/pt-BR";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/pt-BR";
3
+
4
+ //#region src/locales/pt-BR.ts
5
+ var pt_BR_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { pt_BR_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/sheets-conditional-formatting-ui/locale/ru-RU";
3
- const i = o(
4
- r
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/ru-RU";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/ru-RU";
3
+
4
+ //#region src/locales/ru-RU.ts
5
+ var ru_RU_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { ru_RU_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/sk-SK";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/sk-SK";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/sk-SK";
3
+
4
+ //#region src/locales/sk-SK.ts
5
+ var sk_SK_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { sk_SK_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/vi-VN";
3
- const r = o(
4
- t
5
- );
6
- export {
7
- r as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/vi-VN";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/vi-VN";
3
+
4
+ //#region src/locales/vi-VN.ts
5
+ var vi_VN_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { vi_VN_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/zh-CN";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/zh-CN";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/zh-CN";
3
+
4
+ //#region src/locales/zh-CN.ts
5
+ var zh_CN_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { zh_CN_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/zh-HK";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/zh-HK";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/zh-HK";
3
+
4
+ //#region src/locales/zh-HK.ts
5
+ var zh_HK_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { zh_HK_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/zh-TW";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/zh-TW";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/zh-TW";
3
+
4
+ //#region src/locales/zh-TW.ts
5
+ var zh_TW_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { zh_TW_default as default };
package/lib/index.css CHANGED
@@ -1 +1,432 @@
1
- .univer-pointer-events-none{pointer-events:none}.univer-absolute{position:absolute}.univer-relative{position:relative}.univer-bottom-\[-13px\]{bottom:-13px}.univer-left-0{left:0}.univer-right-1{right:.25rem}.univer-z-\[999\]{z-index:999}.univer-my-2\.5{margin-top:.625rem;margin-bottom:.625rem}.univer-mb-1{margin-bottom:.25rem}.univer-mb-2{margin-bottom:.5rem}.univer-mb-2\.5{margin-bottom:.625rem}.univer-mb-3{margin-bottom:.75rem}.univer-ml-1{margin-left:.25rem}.univer-ml-2{margin-left:.5rem}.univer-ml-3{margin-left:.75rem}.univer-ml-6{margin-left:1.5rem}.univer-mr-2{margin-right:.5rem}.univer-mt-0{margin-top:0}.univer-mt-1{margin-top:.25rem}.univer-mt-3{margin-top:.75rem}.univer-mt-4{margin-top:1rem}.univer-mt-5{margin-top:1.25rem}.univer-mt-6{margin-top:1.5rem}.univer-box-border{box-sizing:border-box}.univer-flex{display:flex}.univer-grid{display:grid}.univer-hidden{display:none}.univer-size-4{width:1rem;height:1rem}.univer-size-5{width:1.25rem;height:1.25rem}.univer-size-6{width:1.5rem;height:1.5rem}.univer-h-5{height:1.25rem}.univer-h-8{height:2rem}.univer-h-full{height:100%}.univer-w-1\/2{width:50%}.univer-w-36{width:9rem}.univer-w-64{width:16rem}.univer-w-80{width:20rem}.univer-w-\[45\%\]{width:45%}.univer-w-full{width:100%}.univer-min-w-0{min-width:0}.univer-min-w-\[72px\]{min-width:72px}.univer-max-w-\[250px\]{max-width:250px}.univer-max-w-full{max-width:100%}.univer-flex-shrink{flex-shrink:1}.univer-flex-shrink-0{flex-shrink:0}.univer-cursor-grab{cursor:grab}.univer-cursor-pointer{cursor:pointer}.univer-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.univer-flex-col{flex-direction:column}.univer-flex-wrap{flex-wrap:wrap}.univer-items-center{align-items:center}.univer-justify-end{justify-content:flex-end}.univer-justify-center{justify-content:center}.univer-justify-between{justify-content:space-between}.univer-gap-2{gap:.5rem}.univer-gap-4{gap:1rem}.univer-space-x-2>:not([hidden])~:not([hidden]){--univer-tw-space-x-reverse: 0;margin-right:0;margin-right:calc(.5rem * var(--univer-tw-space-x-reverse));margin-left:calc(.5rem * (1 - var(--univer-tw-space-x-reverse)));margin-left:.5rem;margin-left:calc(.5rem * calc(1 - var(--univer-tw-space-x-reverse)))}.univer-overflow-hidden{overflow:hidden}.univer-text-ellipsis{text-overflow:ellipsis}.univer-rounded{border-radius:.25rem}.univer-rounded-lg{border-radius:.5rem}.univer-rounded-md{border-radius:.375rem}.univer-border{border-width:1px}.univer-border-solid{border-style:solid}.univer-border-red-500{border-color:var(--univer-red-500)}.\!univer-bg-gray-700{background-color:var(--univer-gray-700)!important}.univer-bg-gray-100{background-color:var(--univer-gray-100)}.univer-bg-white{background-color:var(--univer-white)}.univer-fill-primary-600{fill:var(--univer-primary-600)}.univer-p-1{padding:.25rem}.univer-p-4{padding:1rem}.univer-px-1{padding-left:.25rem;padding-right:.25rem}.univer-px-4{padding-left:1rem;padding-right:1rem}.univer-py-2{padding-top:.5rem;padding-bottom:.5rem}.univer-py-4{padding-top:1rem;padding-bottom:1rem}.univer-pl-1{padding-left:.25rem}.univer-pl-5{padding-left:1.25rem}.univer-pr-8{padding-right:2rem}.univer-pt-2{padding-top:.5rem}.univer-text-\[10px\]{font-size:10px}.univer-text-sm{font-size:.875rem;line-height:1.25rem}.univer-text-xs{font-size:.75rem;line-height:1rem}.univer-font-bold{font-weight:700}.univer-font-medium{font-weight:500}.univer-italic{font-style:italic}.univer-text-gray-300{color:var(--univer-gray-300)}.univer-text-gray-400{color:var(--univer-gray-400)}.univer-text-gray-600{color:var(--univer-gray-600)}.univer-text-gray-900{color:var(--univer-gray-900)}.univer-text-red-500{color:var(--univer-red-500)}.univer-transition-all{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.univer-group:hover .group-hover\:univer-flex{display:flex}.hover\:univer-border-primary-600:hover{border-color:var(--univer-primary-600)}.hover\:univer-bg-gray-100:hover{background-color:var(--univer-gray-100)}.hover\:univer-bg-gray-200:hover{background-color:var(--univer-gray-200)}.dark\:\!univer-bg-gray-700:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.dark\:\!univer-text-gray-200:where(.univer-dark,.univer-dark *){color:var(--univer-gray-200)!important}.dark\:\!univer-text-white:where(.univer-dark,.univer-dark *){color:var(--univer-white)!important}.dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark,.univer-dark *){background-color:var(--univer-gray-700)!important}.\[\&\>div\:first-child\]\:univer-px-2\.5>div:first-child{padding-left:.625rem;padding-right:.625rem}.\[\&\>div\]\:univer-h-5>div{height:1.25rem}.\[\&\>div\]\:univer-ring-transparent>div{--univer-tw-ring-color: transparent}
1
+ .univer-pointer-events-none {
2
+ pointer-events: none;
3
+ }
4
+
5
+ .univer-absolute {
6
+ position: absolute;
7
+ }
8
+
9
+ .univer-relative {
10
+ position: relative;
11
+ }
12
+
13
+ .univer-bottom-\[-13px\] {
14
+ bottom: -13px;
15
+ }
16
+
17
+ .univer-left-0 {
18
+ left: 0;
19
+ }
20
+
21
+ .univer-right-1 {
22
+ right: .25rem;
23
+ }
24
+
25
+ .univer-z-\[999\] {
26
+ z-index: 999;
27
+ }
28
+
29
+ .univer-my-2\.5 {
30
+ margin-top: .625rem;
31
+ margin-bottom: .625rem;
32
+ }
33
+
34
+ .univer-mb-1 {
35
+ margin-bottom: .25rem;
36
+ }
37
+
38
+ .univer-mb-2 {
39
+ margin-bottom: .5rem;
40
+ }
41
+
42
+ .univer-mb-2\.5 {
43
+ margin-bottom: .625rem;
44
+ }
45
+
46
+ .univer-mb-3 {
47
+ margin-bottom: .75rem;
48
+ }
49
+
50
+ .univer-ml-1 {
51
+ margin-left: .25rem;
52
+ }
53
+
54
+ .univer-ml-2 {
55
+ margin-left: .5rem;
56
+ }
57
+
58
+ .univer-ml-3 {
59
+ margin-left: .75rem;
60
+ }
61
+
62
+ .univer-ml-6 {
63
+ margin-left: 1.5rem;
64
+ }
65
+
66
+ .univer-mr-2 {
67
+ margin-right: .5rem;
68
+ }
69
+
70
+ .univer-mt-0 {
71
+ margin-top: 0;
72
+ }
73
+
74
+ .univer-mt-1 {
75
+ margin-top: .25rem;
76
+ }
77
+
78
+ .univer-mt-3 {
79
+ margin-top: .75rem;
80
+ }
81
+
82
+ .univer-mt-4 {
83
+ margin-top: 1rem;
84
+ }
85
+
86
+ .univer-mt-5 {
87
+ margin-top: 1.25rem;
88
+ }
89
+
90
+ .univer-mt-6 {
91
+ margin-top: 1.5rem;
92
+ }
93
+
94
+ .univer-box-border {
95
+ box-sizing: border-box;
96
+ }
97
+
98
+ .univer-flex {
99
+ display: flex;
100
+ }
101
+
102
+ .univer-grid {
103
+ display: grid;
104
+ }
105
+
106
+ .univer-hidden {
107
+ display: none;
108
+ }
109
+
110
+ .univer-size-4 {
111
+ width: 1rem;
112
+ height: 1rem;
113
+ }
114
+
115
+ .univer-size-5 {
116
+ width: 1.25rem;
117
+ height: 1.25rem;
118
+ }
119
+
120
+ .univer-size-6 {
121
+ width: 1.5rem;
122
+ height: 1.5rem;
123
+ }
124
+
125
+ .univer-h-5 {
126
+ height: 1.25rem;
127
+ }
128
+
129
+ .univer-h-8 {
130
+ height: 2rem;
131
+ }
132
+
133
+ .univer-h-full {
134
+ height: 100%;
135
+ }
136
+
137
+ .univer-w-1\/2 {
138
+ width: 50%;
139
+ }
140
+
141
+ .univer-w-36 {
142
+ width: 9rem;
143
+ }
144
+
145
+ .univer-w-64 {
146
+ width: 16rem;
147
+ }
148
+
149
+ .univer-w-80 {
150
+ width: 20rem;
151
+ }
152
+
153
+ .univer-w-\[45\%\] {
154
+ width: 45%;
155
+ }
156
+
157
+ .univer-w-full {
158
+ width: 100%;
159
+ }
160
+
161
+ .univer-min-w-0 {
162
+ min-width: 0;
163
+ }
164
+
165
+ .univer-min-w-\[72px\] {
166
+ min-width: 72px;
167
+ }
168
+
169
+ .univer-max-w-\[250px\] {
170
+ max-width: 250px;
171
+ }
172
+
173
+ .univer-max-w-full {
174
+ max-width: 100%;
175
+ }
176
+
177
+ .univer-flex-shrink {
178
+ flex-shrink: 1;
179
+ }
180
+
181
+ .univer-flex-shrink-0 {
182
+ flex-shrink: 0;
183
+ }
184
+
185
+ .univer-cursor-grab {
186
+ cursor: grab;
187
+ }
188
+
189
+ .univer-cursor-pointer {
190
+ cursor: pointer;
191
+ }
192
+
193
+ .univer-grid-cols-2 {
194
+ grid-template-columns: repeat(2, minmax(0, 1fr));
195
+ }
196
+
197
+ .univer-flex-col {
198
+ flex-direction: column;
199
+ }
200
+
201
+ .univer-flex-wrap {
202
+ flex-wrap: wrap;
203
+ }
204
+
205
+ .univer-items-center {
206
+ align-items: center;
207
+ }
208
+
209
+ .univer-justify-end {
210
+ justify-content: flex-end;
211
+ }
212
+
213
+ .univer-justify-center {
214
+ justify-content: center;
215
+ }
216
+
217
+ .univer-justify-between {
218
+ justify-content: space-between;
219
+ }
220
+
221
+ .univer-gap-2 {
222
+ gap: .5rem;
223
+ }
224
+
225
+ .univer-gap-4 {
226
+ gap: 1rem;
227
+ }
228
+
229
+ .univer-space-x-2 > :not([hidden]) ~ :not([hidden]) {
230
+ --univer-tw-space-x-reverse: 0;
231
+ margin-right: 0;
232
+ margin-right: calc(.5rem * var(--univer-tw-space-x-reverse));
233
+ margin-left: .5rem;
234
+ margin-left: calc(.5rem * (1 - var(--univer-tw-space-x-reverse)));
235
+ margin-left: .5rem;
236
+ margin-left: calc(.5rem * calc(1 - var(--univer-tw-space-x-reverse)));
237
+ }
238
+
239
+ .univer-overflow-hidden {
240
+ overflow: hidden;
241
+ }
242
+
243
+ .univer-text-ellipsis {
244
+ text-overflow: ellipsis;
245
+ }
246
+
247
+ .univer-rounded {
248
+ border-radius: .25rem;
249
+ }
250
+
251
+ .univer-rounded-lg {
252
+ border-radius: .5rem;
253
+ }
254
+
255
+ .univer-rounded-md {
256
+ border-radius: .375rem;
257
+ }
258
+
259
+ .univer-border {
260
+ border-width: 1px;
261
+ }
262
+
263
+ .univer-border-solid {
264
+ border-style: solid;
265
+ }
266
+
267
+ .univer-border-red-500 {
268
+ border-color: var(--univer-red-500);
269
+ }
270
+
271
+ .\!univer-bg-gray-700 {
272
+ background-color: var(--univer-gray-700) !important;
273
+ }
274
+
275
+ .univer-bg-gray-100 {
276
+ background-color: var(--univer-gray-100);
277
+ }
278
+
279
+ .univer-bg-white {
280
+ background-color: var(--univer-white);
281
+ }
282
+
283
+ .univer-fill-primary-600 {
284
+ fill: var(--univer-primary-600);
285
+ }
286
+
287
+ .univer-p-1 {
288
+ padding: .25rem;
289
+ }
290
+
291
+ .univer-p-4 {
292
+ padding: 1rem;
293
+ }
294
+
295
+ .univer-px-1 {
296
+ padding-left: .25rem;
297
+ padding-right: .25rem;
298
+ }
299
+
300
+ .univer-px-4 {
301
+ padding-left: 1rem;
302
+ padding-right: 1rem;
303
+ }
304
+
305
+ .univer-py-2 {
306
+ padding-top: .5rem;
307
+ padding-bottom: .5rem;
308
+ }
309
+
310
+ .univer-py-4 {
311
+ padding-top: 1rem;
312
+ padding-bottom: 1rem;
313
+ }
314
+
315
+ .univer-pl-1 {
316
+ padding-left: .25rem;
317
+ }
318
+
319
+ .univer-pl-5 {
320
+ padding-left: 1.25rem;
321
+ }
322
+
323
+ .univer-pr-8 {
324
+ padding-right: 2rem;
325
+ }
326
+
327
+ .univer-pt-2 {
328
+ padding-top: .5rem;
329
+ }
330
+
331
+ .univer-text-\[10px\] {
332
+ font-size: 10px;
333
+ }
334
+
335
+ .univer-text-sm {
336
+ font-size: .875rem;
337
+ line-height: 1.25rem;
338
+ }
339
+
340
+ .univer-text-xs {
341
+ font-size: .75rem;
342
+ line-height: 1rem;
343
+ }
344
+
345
+ .univer-font-bold {
346
+ font-weight: 700;
347
+ }
348
+
349
+ .univer-font-medium {
350
+ font-weight: 500;
351
+ }
352
+
353
+ .univer-italic {
354
+ font-style: italic;
355
+ }
356
+
357
+ .univer-text-gray-300 {
358
+ color: var(--univer-gray-300);
359
+ }
360
+
361
+ .univer-text-gray-400 {
362
+ color: var(--univer-gray-400);
363
+ }
364
+
365
+ .univer-text-gray-600 {
366
+ color: var(--univer-gray-600);
367
+ }
368
+
369
+ .univer-text-gray-900 {
370
+ color: var(--univer-gray-900);
371
+ }
372
+
373
+ .univer-text-red-500 {
374
+ color: var(--univer-red-500);
375
+ }
376
+
377
+ .univer-transition-all {
378
+ transition-property: all;
379
+ transition-duration: .15s;
380
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
381
+ }
382
+
383
+ .univer-transition-colors {
384
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
385
+ transition-duration: .15s;
386
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
387
+ }
388
+
389
+ .univer-group:hover .group-hover\:univer-flex {
390
+ display: flex;
391
+ }
392
+
393
+ .hover\:univer-border-primary-600:hover {
394
+ border-color: var(--univer-primary-600);
395
+ }
396
+
397
+ .hover\:univer-bg-gray-100:hover {
398
+ background-color: var(--univer-gray-100);
399
+ }
400
+
401
+ .hover\:univer-bg-gray-200:hover {
402
+ background-color: var(--univer-gray-200);
403
+ }
404
+
405
+ .dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
406
+ background-color: var(--univer-gray-700) !important;
407
+ }
408
+
409
+ .dark\:\!univer-text-gray-200:where(.univer-dark, .univer-dark *) {
410
+ color: var(--univer-gray-200) !important;
411
+ }
412
+
413
+ .dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
414
+ color: var(--univer-white) !important;
415
+ }
416
+
417
+ .dark\:hover\:\!univer-bg-gray-700:hover:where(.univer-dark, .univer-dark *) {
418
+ background-color: var(--univer-gray-700) !important;
419
+ }
420
+
421
+ .\[\&\>div\:first-child\]\:univer-px-2\.5 > div:first-child {
422
+ padding-left: .625rem;
423
+ padding-right: .625rem;
424
+ }
425
+
426
+ .\[\&\>div\]\:univer-h-5 > div {
427
+ height: 1.25rem;
428
+ }
429
+
430
+ .\[\&\>div\]\:univer-ring-transparent > div {
431
+ --univer-tw-ring-color: transparent;
432
+ }
package/lib/index.js CHANGED
@@ -1,16 +1,15 @@
1
- import { UniverSheetsConditionalFormattingPlugin as i } from "@univerjs/sheets-conditional-formatting";
2
- export * from "@univerjs/sheets-conditional-formatting";
3
- import { UniverSheetsConditionalFormattingUIPlugin as o } from "@univerjs/sheets-conditional-formatting-ui";
4
- export * from "@univerjs/sheets-conditional-formatting-ui";
5
- import "@univerjs/sheets-conditional-formatting/lib/facade";
6
- function m() {
7
- return {
8
- plugins: [
9
- i,
10
- o
11
- ].filter((t) => !!t)
12
- };
1
+ import { UniverSheetsConditionalFormattingPlugin } from "@univerjs/sheets-conditional-formatting";
2
+ import { UniverSheetsConditionalFormattingUIPlugin } from "@univerjs/sheets-conditional-formatting-ui";
3
+ import "@univerjs/sheets-conditional-formatting/facade";
4
+
5
+ export * from "@univerjs/sheets-conditional-formatting"
6
+
7
+ export * from "@univerjs/sheets-conditional-formatting-ui"
8
+
9
+ //#region src/preset.ts
10
+ function UniverSheetsConditionalFormattingPreset() {
11
+ return { plugins: [UniverSheetsConditionalFormattingPlugin, UniverSheetsConditionalFormattingUIPlugin].filter((v) => !!v) };
13
12
  }
14
- export {
15
- m as UniverSheetsConditionalFormattingPreset
16
- };
13
+
14
+ //#endregion
15
+ export { UniverSheetsConditionalFormattingPreset };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import r from "@univerjs/sheets-conditional-formatting-ui/locale/ar-SA";
3
- const i = o(
4
- r
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/ar-SA";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/ar-SA";
3
+
4
+ //#region src/locales/ar-SA.ts
5
+ var ar_SA_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { ar_SA_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import t from "@univerjs/sheets-conditional-formatting-ui/locale/ca-ES";
3
- const i = o(
4
- t
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/ca-ES";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/ca-ES";
3
+
4
+ //#region src/locales/ca-ES.ts
5
+ var ca_ES_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { ca_ES_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import e from "@univerjs/sheets-conditional-formatting-ui/locale/de-DE";
3
- const i = o(
4
- e
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/de-DE";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/de-DE";
3
+
4
+ //#region src/locales/de-DE.ts
5
+ var de_DE_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { de_DE_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import e from "@univerjs/sheets-conditional-formatting-ui/locale/en-US";
3
- const i = o(
4
- e
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/en-US";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/en-US";
3
+
4
+ //#region src/locales/en-US.ts
5
+ var en_US_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { en_US_default as default };
@@ -1,8 +1,8 @@
1
- import { mergeLocales as o } from "@univerjs/core";
2
- import e from "@univerjs/sheets-conditional-formatting-ui/locale/es-ES";
3
- const i = o(
4
- e
5
- );
6
- export {
7
- i as default
8
- };
1
+ import univerjssheetsconditionalformatting from "@univerjs/sheets-conditional-formatting/locale/es-ES";
2
+ import univerjssheetsconditionalformattingui from "@univerjs/sheets-conditional-formatting-ui/locale/es-ES";
3
+
4
+ //#region src/locales/es-ES.ts
5
+ var es_ES_default = Object.assign({}, univerjssheetsconditionalformatting, univerjssheetsconditionalformattingui);
6
+
7
+ //#endregion
8
+ export { es_ES_default as default };