@cgboiler/biz-basic 1.0.67 → 1.0.68
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/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/rich-text-editor/RichTextEditor.js +3 -0
- package/es/rich-text-editor/index.css +1 -1
- package/es/rich-text-editor/index.less +437 -436
- package/es/rich-text-editor/lib/utils.d.ts +123 -0
- package/es/rich-text-editor/lib/utils.js +244 -0
- package/es/rich-text-editor/menu-system/components/_atomic.css +2 -0
- package/es/rich-text-editor/menu-system/components/table-dropdown-menu.d.ts +25 -0
- package/es/rich-text-editor/menu-system/components/table-dropdown-menu.js +167 -0
- package/es/rich-text-editor/menu-system/icons/index.d.ts +13 -0
- package/es/rich-text-editor/menu-system/icons/index.js +26 -0
- package/es/rich-text-editor/menu-system/styles/animations.less +91 -91
- package/es/rich-text-editor/menu-system/styles/button-colors.less +142 -142
- package/es/rich-text-editor/menu-system/styles/button-group.less +23 -23
- package/es/rich-text-editor/menu-system/styles/button.less +322 -322
- package/es/rich-text-editor/menu-system/styles/card.less +78 -78
- package/es/rich-text-editor/menu-system/styles/color-highlight-button.less +57 -57
- package/es/rich-text-editor/menu-system/styles/color-highlight-popover.less +51 -51
- package/es/rich-text-editor/menu-system/styles/dropdown-menu.less +40 -40
- package/es/rich-text-editor/menu-system/styles/image-upload-node.less +240 -240
- package/es/rich-text-editor/menu-system/styles/input.less +53 -53
- package/es/rich-text-editor/menu-system/styles/link-popover.less +32 -32
- package/es/rich-text-editor/menu-system/styles/separator.less +26 -26
- package/es/rich-text-editor/menu-system/styles/simple-editor.less +39 -39
- package/es/rich-text-editor/menu-system/styles/toolbar.less +87 -87
- package/es/rich-text-editor/menu-system/styles/variables.less +294 -294
- package/es/vue-sfc-shim.d.ts +6 -6
- package/es/vue-tsx-shim.d.ts +24 -24
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/rich-text-editor/RichTextEditor.js +3 -0
- package/lib/rich-text-editor/index.css +1 -1
- package/lib/rich-text-editor/index.less +437 -436
- package/lib/rich-text-editor/lib/utils.d.ts +123 -0
- package/lib/rich-text-editor/lib/utils.js +263 -0
- package/lib/rich-text-editor/menu-system/components/_atomic.css +2 -0
- package/lib/rich-text-editor/menu-system/components/table-dropdown-menu.d.ts +25 -0
- package/lib/rich-text-editor/menu-system/components/table-dropdown-menu.js +186 -0
- package/lib/rich-text-editor/menu-system/icons/index.d.ts +13 -0
- package/lib/rich-text-editor/menu-system/icons/index.js +26 -0
- package/lib/rich-text-editor/menu-system/styles/animations.less +91 -91
- package/lib/rich-text-editor/menu-system/styles/button-colors.less +142 -142
- package/lib/rich-text-editor/menu-system/styles/button-group.less +23 -23
- package/lib/rich-text-editor/menu-system/styles/button.less +322 -322
- package/lib/rich-text-editor/menu-system/styles/card.less +78 -78
- package/lib/rich-text-editor/menu-system/styles/color-highlight-button.less +57 -57
- package/lib/rich-text-editor/menu-system/styles/color-highlight-popover.less +51 -51
- package/lib/rich-text-editor/menu-system/styles/dropdown-menu.less +40 -40
- package/lib/rich-text-editor/menu-system/styles/image-upload-node.less +240 -240
- package/lib/rich-text-editor/menu-system/styles/input.less +53 -53
- package/lib/rich-text-editor/menu-system/styles/link-popover.less +32 -32
- package/lib/rich-text-editor/menu-system/styles/separator.less +26 -26
- package/lib/rich-text-editor/menu-system/styles/simple-editor.less +39 -39
- package/lib/rich-text-editor/menu-system/styles/toolbar.less +87 -87
- package/lib/rich-text-editor/menu-system/styles/variables.less +294 -294
- package/lib/vue-sfc-shim.d.ts +6 -6
- package/lib/vue-tsx-shim.d.ts +24 -24
- package/package.json +1 -1
|
@@ -1,294 +1,294 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
/******************
|
|
3
|
-
Basics
|
|
4
|
-
******************/
|
|
5
|
-
|
|
6
|
-
overflow-wrap: break-word;
|
|
7
|
-
text-size-adjust: none;
|
|
8
|
-
text-rendering: optimizeLegibility;
|
|
9
|
-
-webkit-font-smoothing: antialiased;
|
|
10
|
-
-moz-osx-font-smoothing: grayscale;
|
|
11
|
-
|
|
12
|
-
/******************
|
|
13
|
-
Colors variables
|
|
14
|
-
******************/
|
|
15
|
-
|
|
16
|
-
/* Gray alpha (light mode) */
|
|
17
|
-
--tt-gray-light-a-50: rgba(56, 56, 56, 0.04);
|
|
18
|
-
--tt-gray-light-a-100: rgba(15, 22, 36, 0.05);
|
|
19
|
-
--tt-gray-light-a-200: rgba(37, 39, 45, 0.1);
|
|
20
|
-
--tt-gray-light-a-300: rgba(47, 50, 55, 0.2);
|
|
21
|
-
--tt-gray-light-a-400: rgba(40, 44, 51, 0.42);
|
|
22
|
-
--tt-gray-light-a-500: rgba(52, 55, 60, 0.64);
|
|
23
|
-
--tt-gray-light-a-600: rgba(36, 39, 46, 0.78);
|
|
24
|
-
--tt-gray-light-a-700: rgba(35, 37, 42, 0.87);
|
|
25
|
-
--tt-gray-light-a-800: rgba(30, 32, 36, 0.95);
|
|
26
|
-
--tt-gray-light-a-900: rgba(29, 30, 32, 0.98);
|
|
27
|
-
|
|
28
|
-
/* Gray (light mode) */
|
|
29
|
-
--tt-gray-light-50: rgba(250, 250, 250, 1);
|
|
30
|
-
--tt-gray-light-100: rgba(244, 244, 245, 1);
|
|
31
|
-
--tt-gray-light-200: rgba(234, 234, 235, 1);
|
|
32
|
-
--tt-gray-light-300: rgba(213, 214, 215, 1);
|
|
33
|
-
--tt-gray-light-400: rgba(166, 167, 171, 1);
|
|
34
|
-
--tt-gray-light-500: rgba(125, 127, 130, 1);
|
|
35
|
-
--tt-gray-light-600: rgba(83, 86, 90, 1);
|
|
36
|
-
--tt-gray-light-700: rgba(64, 65, 69, 1);
|
|
37
|
-
--tt-gray-light-800: rgba(44, 45, 48, 1);
|
|
38
|
-
--tt-gray-light-900: rgba(34, 35, 37, 1);
|
|
39
|
-
|
|
40
|
-
/* Gray alpha (dark mode) */
|
|
41
|
-
--tt-gray-dark-a-50: rgba(232, 232, 253, 0.05);
|
|
42
|
-
--tt-gray-dark-a-100: rgba(231, 231, 243, 0.07);
|
|
43
|
-
--tt-gray-dark-a-200: rgba(238, 238, 246, 0.11);
|
|
44
|
-
--tt-gray-dark-a-300: rgba(239, 239, 245, 0.22);
|
|
45
|
-
--tt-gray-dark-a-400: rgba(244, 244, 255, 0.37);
|
|
46
|
-
--tt-gray-dark-a-500: rgba(236, 238, 253, 0.5);
|
|
47
|
-
--tt-gray-dark-a-600: rgba(247, 247, 253, 0.64);
|
|
48
|
-
--tt-gray-dark-a-700: rgba(251, 251, 254, 0.75);
|
|
49
|
-
--tt-gray-dark-a-800: rgba(253, 253, 253, 0.88);
|
|
50
|
-
--tt-gray-dark-a-900: rgba(255, 255, 255, 0.96);
|
|
51
|
-
|
|
52
|
-
/* Gray (dark mode) */
|
|
53
|
-
--tt-gray-dark-50: rgba(25, 25, 26, 1);
|
|
54
|
-
--tt-gray-dark-100: rgba(32, 32, 34, 1);
|
|
55
|
-
--tt-gray-dark-200: rgba(45, 45, 47, 1);
|
|
56
|
-
--tt-gray-dark-300: rgba(70, 70, 73, 1);
|
|
57
|
-
--tt-gray-dark-400: rgba(99, 99, 105, 1);
|
|
58
|
-
--tt-gray-dark-500: rgba(124, 124, 131, 1);
|
|
59
|
-
--tt-gray-dark-600: rgba(163, 163, 168, 1);
|
|
60
|
-
--tt-gray-dark-700: rgba(192, 192, 195, 1);
|
|
61
|
-
--tt-gray-dark-800: rgba(224, 224, 225, 1);
|
|
62
|
-
--tt-gray-dark-900: rgba(245, 245, 245, 1);
|
|
63
|
-
|
|
64
|
-
/* Brand colors */
|
|
65
|
-
--tt-brand-color-50: rgba(254, 242, 243, 1);
|
|
66
|
-
--tt-brand-color-100: rgba(252, 232, 233, 1);
|
|
67
|
-
--tt-brand-color-200: rgba(249, 212, 213, 1);
|
|
68
|
-
--tt-brand-color-300: rgba(244, 180, 182, 1);
|
|
69
|
-
--tt-brand-color-400: rgba(235, 116, 126, 1);
|
|
70
|
-
--tt-brand-color-500: rgba(192, 37, 55, 1);
|
|
71
|
-
--tt-brand-color-600: rgba(165, 28, 45, 1);
|
|
72
|
-
--tt-brand-color-700: rgba(139, 24, 38, 1);
|
|
73
|
-
--tt-brand-color-800: rgba(113, 19, 31, 1);
|
|
74
|
-
--tt-brand-color-900: rgba(87, 15, 24, 1);
|
|
75
|
-
--tt-brand-color-950: rgba(58, 10, 16, 1);
|
|
76
|
-
|
|
77
|
-
/* Green */
|
|
78
|
-
--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);
|
|
79
|
-
--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);
|
|
80
|
-
--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);
|
|
81
|
-
--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);
|
|
82
|
-
--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);
|
|
83
|
-
--tt-color-green-base: hsla(147, 99%, 50%, 1);
|
|
84
|
-
--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);
|
|
85
|
-
--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);
|
|
86
|
-
--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);
|
|
87
|
-
--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);
|
|
88
|
-
--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);
|
|
89
|
-
|
|
90
|
-
/* Yellow */
|
|
91
|
-
--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);
|
|
92
|
-
--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);
|
|
93
|
-
--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);
|
|
94
|
-
--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);
|
|
95
|
-
--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);
|
|
96
|
-
--tt-color-yellow-base: hsla(52, 100%, 50%, 1);
|
|
97
|
-
--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);
|
|
98
|
-
--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);
|
|
99
|
-
--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);
|
|
100
|
-
--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);
|
|
101
|
-
--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);
|
|
102
|
-
|
|
103
|
-
/* Red */
|
|
104
|
-
--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);
|
|
105
|
-
--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);
|
|
106
|
-
--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);
|
|
107
|
-
--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);
|
|
108
|
-
--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);
|
|
109
|
-
--tt-color-red-base: hsla(7, 100%, 54%, 1);
|
|
110
|
-
--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);
|
|
111
|
-
--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);
|
|
112
|
-
--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);
|
|
113
|
-
--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);
|
|
114
|
-
--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);
|
|
115
|
-
|
|
116
|
-
/* Basic colors */
|
|
117
|
-
--white: rgba(255, 255, 255, 1);
|
|
118
|
-
--black: rgba(14, 14, 17, 1);
|
|
119
|
-
--transparent: rgba(255, 255, 255, 0);
|
|
120
|
-
|
|
121
|
-
/******************
|
|
122
|
-
Shadow variables
|
|
123
|
-
******************/
|
|
124
|
-
|
|
125
|
-
/* Shadows Light */
|
|
126
|
-
--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(17, 24, 39, 0.04),
|
|
127
|
-
0px 12px 24px 0px rgba(17, 24, 39, 0.04), 0px 6px 8px 0px rgba(17, 24, 39, 0.02),
|
|
128
|
-
0px 2px 3px 0px rgba(17, 24, 39, 0.02);
|
|
129
|
-
|
|
130
|
-
/**************************************************
|
|
131
|
-
Radius variables
|
|
132
|
-
**************************************************/
|
|
133
|
-
|
|
134
|
-
--tt-radius-xxs: 0.125rem; /* 2px */
|
|
135
|
-
--tt-radius-xs: 0.25rem; /* 4px */
|
|
136
|
-
--tt-radius-sm: 0.375rem; /* 6px */
|
|
137
|
-
--tt-radius-md: 0.5rem; /* 8px */
|
|
138
|
-
--tt-radius-lg: 0.75rem; /* 12px */
|
|
139
|
-
--tt-radius-xl: 1rem; /* 16px */
|
|
140
|
-
|
|
141
|
-
/**************************************************
|
|
142
|
-
Transition variables
|
|
143
|
-
**************************************************/
|
|
144
|
-
|
|
145
|
-
--tt-transition-duration-short: 0.1s;
|
|
146
|
-
--tt-transition-duration-default: 0.2s;
|
|
147
|
-
--tt-transition-duration-long: 0.64s;
|
|
148
|
-
--tt-transition-easing-default: cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
149
|
-
--tt-transition-easing-cubic: cubic-bezier(0.65, 0.05, 0.36, 1);
|
|
150
|
-
--tt-transition-easing-quart: cubic-bezier(0.77, 0, 0.18, 1);
|
|
151
|
-
--tt-transition-easing-circ: cubic-bezier(0.79, 0.14, 0.15, 0.86);
|
|
152
|
-
--tt-transition-easing-back: cubic-bezier(0.68, -0.55, 0.27, 1.55);
|
|
153
|
-
|
|
154
|
-
/******************
|
|
155
|
-
Contrast variables
|
|
156
|
-
******************/
|
|
157
|
-
|
|
158
|
-
--tt-accent-contrast: 8%;
|
|
159
|
-
--tt-destructive-contrast: 8%;
|
|
160
|
-
--tt-foreground-contrast: 8%;
|
|
161
|
-
|
|
162
|
-
&,
|
|
163
|
-
*,
|
|
164
|
-
::before,
|
|
165
|
-
::after {
|
|
166
|
-
box-sizing: border-box;
|
|
167
|
-
// transition: none var(--tt-transition-duration-default)
|
|
168
|
-
// var(--tt-transition-easing-default);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
:root {
|
|
173
|
-
/**************************************************
|
|
174
|
-
Global colors
|
|
175
|
-
**************************************************/
|
|
176
|
-
|
|
177
|
-
/* Global colors - Light mode */
|
|
178
|
-
--tt-bg-color: var(--white);
|
|
179
|
-
--tt-border-color: var(--tt-gray-light-a-200);
|
|
180
|
-
--tt-border-color-tint: var(--tt-gray-light-a-100);
|
|
181
|
-
--tt-sidebar-bg-color: var(--tt-gray-light-100);
|
|
182
|
-
--tt-scrollbar-color: var(--tt-gray-light-a-200);
|
|
183
|
-
--tt-cursor-color: var(--tt-brand-color-500);
|
|
184
|
-
--tt-selection-color: rgba(244, 180, 182, 0.2);
|
|
185
|
-
--tt-card-bg-color: var(--white);
|
|
186
|
-
--tt-card-border-color: var(--tt-gray-light-a-100);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
/* Global colors - Dark mode */
|
|
190
|
-
.dark {
|
|
191
|
-
--tt-bg-color: var(--black);
|
|
192
|
-
--tt-border-color: var(--tt-gray-dark-a-200);
|
|
193
|
-
--tt-border-color-tint: var(--tt-gray-dark-a-100);
|
|
194
|
-
--tt-sidebar-bg-color: var(--tt-gray-dark-100);
|
|
195
|
-
--tt-scrollbar-color: var(--tt-gray-dark-a-200);
|
|
196
|
-
--tt-cursor-color: var(--tt-brand-color-400);
|
|
197
|
-
--tt-selection-color: rgba(235, 116, 126, 0.2);
|
|
198
|
-
--tt-card-bg-color: var(--tt-gray-dark-50);
|
|
199
|
-
--tt-card-border-color: var(--tt-gray-dark-a-50);
|
|
200
|
-
|
|
201
|
-
--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(0, 0, 0, 0.5),
|
|
202
|
-
0px 12px 24px 0px rgba(0, 0, 0, 0.24), 0px 6px 8px 0px rgba(0, 0, 0, 0.22),
|
|
203
|
-
0px 2px 3px 0px rgba(0, 0, 0, 0.12);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/* Text colors */
|
|
207
|
-
:root {
|
|
208
|
-
--tt-color-text-gray: hsl(45, 2%, 46%);
|
|
209
|
-
--tt-color-text-brown: hsl(19, 31%, 47%);
|
|
210
|
-
--tt-color-text-orange: hsl(30, 89%, 45%);
|
|
211
|
-
--tt-color-text-yellow: hsl(38, 62%, 49%);
|
|
212
|
-
--tt-color-text-green: hsl(148, 32%, 39%);
|
|
213
|
-
--tt-color-text-blue: hsl(202, 54%, 43%);
|
|
214
|
-
--tt-color-text-purple: hsl(274, 32%, 54%);
|
|
215
|
-
--tt-color-text-pink: hsl(328, 49%, 53%);
|
|
216
|
-
--tt-color-text-red: hsl(2, 62%, 55%);
|
|
217
|
-
|
|
218
|
-
--tt-color-text-gray-contrast: hsla(39, 26%, 26%, 0.15);
|
|
219
|
-
--tt-color-text-brown-contrast: hsla(18, 43%, 69%, 0.35);
|
|
220
|
-
--tt-color-text-orange-contrast: hsla(24, 73%, 55%, 0.27);
|
|
221
|
-
--tt-color-text-yellow-contrast: hsla(44, 82%, 59%, 0.39);
|
|
222
|
-
--tt-color-text-green-contrast: hsla(126, 29%, 60%, 0.27);
|
|
223
|
-
--tt-color-text-blue-contrast: hsla(202, 54%, 59%, 0.27);
|
|
224
|
-
--tt-color-text-purple-contrast: hsla(274, 37%, 64%, 0.27);
|
|
225
|
-
--tt-color-text-pink-contrast: hsla(331, 60%, 71%, 0.27);
|
|
226
|
-
--tt-color-text-red-contrast: hsla(8, 79%, 79%, 0.4);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.dark {
|
|
230
|
-
--tt-color-text-gray: hsl(0, 0%, 61%);
|
|
231
|
-
--tt-color-text-brown: hsl(18, 35%, 58%);
|
|
232
|
-
--tt-color-text-orange: hsl(25, 53%, 53%);
|
|
233
|
-
--tt-color-text-yellow: hsl(36, 54%, 55%);
|
|
234
|
-
--tt-color-text-green: hsl(145, 32%, 47%);
|
|
235
|
-
--tt-color-text-blue: hsl(202, 64%, 52%);
|
|
236
|
-
--tt-color-text-purple: hsl(270, 55%, 62%);
|
|
237
|
-
--tt-color-text-pink: hsl(329, 57%, 58%);
|
|
238
|
-
--tt-color-text-red: hsl(1, 69%, 60%);
|
|
239
|
-
|
|
240
|
-
--tt-color-text-gray-contrast: hsla(0, 0%, 100%, 0.09);
|
|
241
|
-
--tt-color-text-brown-contrast: hsla(17, 45%, 50%, 0.25);
|
|
242
|
-
--tt-color-text-orange-contrast: hsla(27, 82%, 53%, 0.2);
|
|
243
|
-
--tt-color-text-yellow-contrast: hsla(35, 49%, 47%, 0.2);
|
|
244
|
-
--tt-color-text-green-contrast: hsla(151, 55%, 39%, 0.2);
|
|
245
|
-
--tt-color-text-blue-contrast: hsla(202, 54%, 43%, 0.2);
|
|
246
|
-
--tt-color-text-purple-contrast: hsla(271, 56%, 60%, 0.18);
|
|
247
|
-
--tt-color-text-pink-contrast: hsla(331, 67%, 58%, 0.22);
|
|
248
|
-
--tt-color-text-red-contrast: hsla(0, 67%, 60%, 0.25);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/* Highlight colors */
|
|
252
|
-
:root {
|
|
253
|
-
--tt-color-highlight-yellow: #fef9c3;
|
|
254
|
-
--tt-color-highlight-green: #dcfce7;
|
|
255
|
-
--tt-color-highlight-blue: #e0f2fe;
|
|
256
|
-
--tt-color-highlight-purple: #f3e8ff;
|
|
257
|
-
--tt-color-highlight-red: #ffe4e6;
|
|
258
|
-
--tt-color-highlight-gray: rgb(248, 248, 247);
|
|
259
|
-
--tt-color-highlight-brown: rgb(244, 238, 238);
|
|
260
|
-
--tt-color-highlight-orange: rgb(251, 236, 221);
|
|
261
|
-
--tt-color-highlight-pink: rgb(252, 241, 246);
|
|
262
|
-
|
|
263
|
-
--tt-color-highlight-yellow-contrast: #fbe604;
|
|
264
|
-
--tt-color-highlight-green-contrast: #c7fad8;
|
|
265
|
-
--tt-color-highlight-blue-contrast: #ceeafd;
|
|
266
|
-
--tt-color-highlight-purple-contrast: #e4ccff;
|
|
267
|
-
--tt-color-highlight-red-contrast: #ffccd0;
|
|
268
|
-
--tt-color-highlight-gray-contrast: rgba(84, 72, 49, 0.15);
|
|
269
|
-
--tt-color-highlight-brown-contrast: rgba(210, 162, 141, 0.35);
|
|
270
|
-
--tt-color-highlight-orange-contrast: rgba(224, 124, 57, 0.27);
|
|
271
|
-
--tt-color-highlight-pink-contrast: rgba(225, 136, 179, 0.27);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.dark {
|
|
275
|
-
--tt-color-highlight-yellow: #6b6524;
|
|
276
|
-
--tt-color-highlight-green: #509568;
|
|
277
|
-
--tt-color-highlight-blue: #6e92aa;
|
|
278
|
-
--tt-color-highlight-purple: #583e74;
|
|
279
|
-
--tt-color-highlight-red: #743e42;
|
|
280
|
-
--tt-color-highlight-gray: rgb(47, 47, 47);
|
|
281
|
-
--tt-color-highlight-brown: rgb(74, 50, 40);
|
|
282
|
-
--tt-color-highlight-orange: rgb(92, 59, 35);
|
|
283
|
-
--tt-color-highlight-pink: rgb(78, 44, 60);
|
|
284
|
-
|
|
285
|
-
--tt-color-highlight-yellow-contrast: #58531e;
|
|
286
|
-
--tt-color-highlight-green-contrast: #47855d;
|
|
287
|
-
--tt-color-highlight-blue-contrast: #5e86a1;
|
|
288
|
-
--tt-color-highlight-purple-contrast: #4c3564;
|
|
289
|
-
--tt-color-highlight-red-contrast: #643539;
|
|
290
|
-
--tt-color-highlight-gray-contrast: rgba(255, 255, 255, 0.094);
|
|
291
|
-
--tt-color-highlight-brown-contrast: rgba(184, 101, 69, 0.25);
|
|
292
|
-
--tt-color-highlight-orange-contrast: rgba(233, 126, 37, 0.2);
|
|
293
|
-
--tt-color-highlight-pink-contrast: rgba(220, 76, 145, 0.22);
|
|
294
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
/******************
|
|
3
|
+
Basics
|
|
4
|
+
******************/
|
|
5
|
+
|
|
6
|
+
overflow-wrap: break-word;
|
|
7
|
+
text-size-adjust: none;
|
|
8
|
+
text-rendering: optimizeLegibility;
|
|
9
|
+
-webkit-font-smoothing: antialiased;
|
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
|
11
|
+
|
|
12
|
+
/******************
|
|
13
|
+
Colors variables
|
|
14
|
+
******************/
|
|
15
|
+
|
|
16
|
+
/* Gray alpha (light mode) */
|
|
17
|
+
--tt-gray-light-a-50: rgba(56, 56, 56, 0.04);
|
|
18
|
+
--tt-gray-light-a-100: rgba(15, 22, 36, 0.05);
|
|
19
|
+
--tt-gray-light-a-200: rgba(37, 39, 45, 0.1);
|
|
20
|
+
--tt-gray-light-a-300: rgba(47, 50, 55, 0.2);
|
|
21
|
+
--tt-gray-light-a-400: rgba(40, 44, 51, 0.42);
|
|
22
|
+
--tt-gray-light-a-500: rgba(52, 55, 60, 0.64);
|
|
23
|
+
--tt-gray-light-a-600: rgba(36, 39, 46, 0.78);
|
|
24
|
+
--tt-gray-light-a-700: rgba(35, 37, 42, 0.87);
|
|
25
|
+
--tt-gray-light-a-800: rgba(30, 32, 36, 0.95);
|
|
26
|
+
--tt-gray-light-a-900: rgba(29, 30, 32, 0.98);
|
|
27
|
+
|
|
28
|
+
/* Gray (light mode) */
|
|
29
|
+
--tt-gray-light-50: rgba(250, 250, 250, 1);
|
|
30
|
+
--tt-gray-light-100: rgba(244, 244, 245, 1);
|
|
31
|
+
--tt-gray-light-200: rgba(234, 234, 235, 1);
|
|
32
|
+
--tt-gray-light-300: rgba(213, 214, 215, 1);
|
|
33
|
+
--tt-gray-light-400: rgba(166, 167, 171, 1);
|
|
34
|
+
--tt-gray-light-500: rgba(125, 127, 130, 1);
|
|
35
|
+
--tt-gray-light-600: rgba(83, 86, 90, 1);
|
|
36
|
+
--tt-gray-light-700: rgba(64, 65, 69, 1);
|
|
37
|
+
--tt-gray-light-800: rgba(44, 45, 48, 1);
|
|
38
|
+
--tt-gray-light-900: rgba(34, 35, 37, 1);
|
|
39
|
+
|
|
40
|
+
/* Gray alpha (dark mode) */
|
|
41
|
+
--tt-gray-dark-a-50: rgba(232, 232, 253, 0.05);
|
|
42
|
+
--tt-gray-dark-a-100: rgba(231, 231, 243, 0.07);
|
|
43
|
+
--tt-gray-dark-a-200: rgba(238, 238, 246, 0.11);
|
|
44
|
+
--tt-gray-dark-a-300: rgba(239, 239, 245, 0.22);
|
|
45
|
+
--tt-gray-dark-a-400: rgba(244, 244, 255, 0.37);
|
|
46
|
+
--tt-gray-dark-a-500: rgba(236, 238, 253, 0.5);
|
|
47
|
+
--tt-gray-dark-a-600: rgba(247, 247, 253, 0.64);
|
|
48
|
+
--tt-gray-dark-a-700: rgba(251, 251, 254, 0.75);
|
|
49
|
+
--tt-gray-dark-a-800: rgba(253, 253, 253, 0.88);
|
|
50
|
+
--tt-gray-dark-a-900: rgba(255, 255, 255, 0.96);
|
|
51
|
+
|
|
52
|
+
/* Gray (dark mode) */
|
|
53
|
+
--tt-gray-dark-50: rgba(25, 25, 26, 1);
|
|
54
|
+
--tt-gray-dark-100: rgba(32, 32, 34, 1);
|
|
55
|
+
--tt-gray-dark-200: rgba(45, 45, 47, 1);
|
|
56
|
+
--tt-gray-dark-300: rgba(70, 70, 73, 1);
|
|
57
|
+
--tt-gray-dark-400: rgba(99, 99, 105, 1);
|
|
58
|
+
--tt-gray-dark-500: rgba(124, 124, 131, 1);
|
|
59
|
+
--tt-gray-dark-600: rgba(163, 163, 168, 1);
|
|
60
|
+
--tt-gray-dark-700: rgba(192, 192, 195, 1);
|
|
61
|
+
--tt-gray-dark-800: rgba(224, 224, 225, 1);
|
|
62
|
+
--tt-gray-dark-900: rgba(245, 245, 245, 1);
|
|
63
|
+
|
|
64
|
+
/* Brand colors */
|
|
65
|
+
--tt-brand-color-50: rgba(254, 242, 243, 1);
|
|
66
|
+
--tt-brand-color-100: rgba(252, 232, 233, 1);
|
|
67
|
+
--tt-brand-color-200: rgba(249, 212, 213, 1);
|
|
68
|
+
--tt-brand-color-300: rgba(244, 180, 182, 1);
|
|
69
|
+
--tt-brand-color-400: rgba(235, 116, 126, 1);
|
|
70
|
+
--tt-brand-color-500: rgba(192, 37, 55, 1);
|
|
71
|
+
--tt-brand-color-600: rgba(165, 28, 45, 1);
|
|
72
|
+
--tt-brand-color-700: rgba(139, 24, 38, 1);
|
|
73
|
+
--tt-brand-color-800: rgba(113, 19, 31, 1);
|
|
74
|
+
--tt-brand-color-900: rgba(87, 15, 24, 1);
|
|
75
|
+
--tt-brand-color-950: rgba(58, 10, 16, 1);
|
|
76
|
+
|
|
77
|
+
/* Green */
|
|
78
|
+
--tt-color-green-inc-5: hsla(129, 100%, 97%, 1);
|
|
79
|
+
--tt-color-green-inc-4: hsla(129, 100%, 92%, 1);
|
|
80
|
+
--tt-color-green-inc-3: hsla(131, 100%, 86%, 1);
|
|
81
|
+
--tt-color-green-inc-2: hsla(133, 98%, 78%, 1);
|
|
82
|
+
--tt-color-green-inc-1: hsla(137, 99%, 70%, 1);
|
|
83
|
+
--tt-color-green-base: hsla(147, 99%, 50%, 1);
|
|
84
|
+
--tt-color-green-dec-1: hsla(147, 97%, 41%, 1);
|
|
85
|
+
--tt-color-green-dec-2: hsla(146, 98%, 32%, 1);
|
|
86
|
+
--tt-color-green-dec-3: hsla(146, 100%, 24%, 1);
|
|
87
|
+
--tt-color-green-dec-4: hsla(144, 100%, 16%, 1);
|
|
88
|
+
--tt-color-green-dec-5: hsla(140, 100%, 9%, 1);
|
|
89
|
+
|
|
90
|
+
/* Yellow */
|
|
91
|
+
--tt-color-yellow-inc-5: hsla(50, 100%, 97%, 1);
|
|
92
|
+
--tt-color-yellow-inc-4: hsla(50, 100%, 91%, 1);
|
|
93
|
+
--tt-color-yellow-inc-3: hsla(50, 100%, 84%, 1);
|
|
94
|
+
--tt-color-yellow-inc-2: hsla(50, 100%, 77%, 1);
|
|
95
|
+
--tt-color-yellow-inc-1: hsla(50, 100%, 68%, 1);
|
|
96
|
+
--tt-color-yellow-base: hsla(52, 100%, 50%, 1);
|
|
97
|
+
--tt-color-yellow-dec-1: hsla(52, 100%, 41%, 1);
|
|
98
|
+
--tt-color-yellow-dec-2: hsla(52, 100%, 32%, 1);
|
|
99
|
+
--tt-color-yellow-dec-3: hsla(52, 100%, 24%, 1);
|
|
100
|
+
--tt-color-yellow-dec-4: hsla(51, 100%, 16%, 1);
|
|
101
|
+
--tt-color-yellow-dec-5: hsla(50, 100%, 9%, 1);
|
|
102
|
+
|
|
103
|
+
/* Red */
|
|
104
|
+
--tt-color-red-inc-5: hsla(11, 100%, 96%, 1);
|
|
105
|
+
--tt-color-red-inc-4: hsla(11, 100%, 88%, 1);
|
|
106
|
+
--tt-color-red-inc-3: hsla(10, 100%, 80%, 1);
|
|
107
|
+
--tt-color-red-inc-2: hsla(9, 100%, 73%, 1);
|
|
108
|
+
--tt-color-red-inc-1: hsla(7, 100%, 64%, 1);
|
|
109
|
+
--tt-color-red-base: hsla(7, 100%, 54%, 1);
|
|
110
|
+
--tt-color-red-dec-1: hsla(7, 100%, 41%, 1);
|
|
111
|
+
--tt-color-red-dec-2: hsla(5, 100%, 32%, 1);
|
|
112
|
+
--tt-color-red-dec-3: hsla(4, 100%, 24%, 1);
|
|
113
|
+
--tt-color-red-dec-4: hsla(3, 100%, 16%, 1);
|
|
114
|
+
--tt-color-red-dec-5: hsla(1, 100%, 9%, 1);
|
|
115
|
+
|
|
116
|
+
/* Basic colors */
|
|
117
|
+
--white: rgba(255, 255, 255, 1);
|
|
118
|
+
--black: rgba(14, 14, 17, 1);
|
|
119
|
+
--transparent: rgba(255, 255, 255, 0);
|
|
120
|
+
|
|
121
|
+
/******************
|
|
122
|
+
Shadow variables
|
|
123
|
+
******************/
|
|
124
|
+
|
|
125
|
+
/* Shadows Light */
|
|
126
|
+
--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(17, 24, 39, 0.04),
|
|
127
|
+
0px 12px 24px 0px rgba(17, 24, 39, 0.04), 0px 6px 8px 0px rgba(17, 24, 39, 0.02),
|
|
128
|
+
0px 2px 3px 0px rgba(17, 24, 39, 0.02);
|
|
129
|
+
|
|
130
|
+
/**************************************************
|
|
131
|
+
Radius variables
|
|
132
|
+
**************************************************/
|
|
133
|
+
|
|
134
|
+
--tt-radius-xxs: 0.125rem; /* 2px */
|
|
135
|
+
--tt-radius-xs: 0.25rem; /* 4px */
|
|
136
|
+
--tt-radius-sm: 0.375rem; /* 6px */
|
|
137
|
+
--tt-radius-md: 0.5rem; /* 8px */
|
|
138
|
+
--tt-radius-lg: 0.75rem; /* 12px */
|
|
139
|
+
--tt-radius-xl: 1rem; /* 16px */
|
|
140
|
+
|
|
141
|
+
/**************************************************
|
|
142
|
+
Transition variables
|
|
143
|
+
**************************************************/
|
|
144
|
+
|
|
145
|
+
--tt-transition-duration-short: 0.1s;
|
|
146
|
+
--tt-transition-duration-default: 0.2s;
|
|
147
|
+
--tt-transition-duration-long: 0.64s;
|
|
148
|
+
--tt-transition-easing-default: cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
149
|
+
--tt-transition-easing-cubic: cubic-bezier(0.65, 0.05, 0.36, 1);
|
|
150
|
+
--tt-transition-easing-quart: cubic-bezier(0.77, 0, 0.18, 1);
|
|
151
|
+
--tt-transition-easing-circ: cubic-bezier(0.79, 0.14, 0.15, 0.86);
|
|
152
|
+
--tt-transition-easing-back: cubic-bezier(0.68, -0.55, 0.27, 1.55);
|
|
153
|
+
|
|
154
|
+
/******************
|
|
155
|
+
Contrast variables
|
|
156
|
+
******************/
|
|
157
|
+
|
|
158
|
+
--tt-accent-contrast: 8%;
|
|
159
|
+
--tt-destructive-contrast: 8%;
|
|
160
|
+
--tt-foreground-contrast: 8%;
|
|
161
|
+
|
|
162
|
+
&,
|
|
163
|
+
*,
|
|
164
|
+
::before,
|
|
165
|
+
::after {
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
// transition: none var(--tt-transition-duration-default)
|
|
168
|
+
// var(--tt-transition-easing-default);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:root {
|
|
173
|
+
/**************************************************
|
|
174
|
+
Global colors
|
|
175
|
+
**************************************************/
|
|
176
|
+
|
|
177
|
+
/* Global colors - Light mode */
|
|
178
|
+
--tt-bg-color: var(--white);
|
|
179
|
+
--tt-border-color: var(--tt-gray-light-a-200);
|
|
180
|
+
--tt-border-color-tint: var(--tt-gray-light-a-100);
|
|
181
|
+
--tt-sidebar-bg-color: var(--tt-gray-light-100);
|
|
182
|
+
--tt-scrollbar-color: var(--tt-gray-light-a-200);
|
|
183
|
+
--tt-cursor-color: var(--tt-brand-color-500);
|
|
184
|
+
--tt-selection-color: rgba(244, 180, 182, 0.2);
|
|
185
|
+
--tt-card-bg-color: var(--white);
|
|
186
|
+
--tt-card-border-color: var(--tt-gray-light-a-100);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/* Global colors - Dark mode */
|
|
190
|
+
.dark {
|
|
191
|
+
--tt-bg-color: var(--black);
|
|
192
|
+
--tt-border-color: var(--tt-gray-dark-a-200);
|
|
193
|
+
--tt-border-color-tint: var(--tt-gray-dark-a-100);
|
|
194
|
+
--tt-sidebar-bg-color: var(--tt-gray-dark-100);
|
|
195
|
+
--tt-scrollbar-color: var(--tt-gray-dark-a-200);
|
|
196
|
+
--tt-cursor-color: var(--tt-brand-color-400);
|
|
197
|
+
--tt-selection-color: rgba(235, 116, 126, 0.2);
|
|
198
|
+
--tt-card-bg-color: var(--tt-gray-dark-50);
|
|
199
|
+
--tt-card-border-color: var(--tt-gray-dark-a-50);
|
|
200
|
+
|
|
201
|
+
--tt-shadow-elevated-md: 0px 16px 48px 0px rgba(0, 0, 0, 0.5),
|
|
202
|
+
0px 12px 24px 0px rgba(0, 0, 0, 0.24), 0px 6px 8px 0px rgba(0, 0, 0, 0.22),
|
|
203
|
+
0px 2px 3px 0px rgba(0, 0, 0, 0.12);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Text colors */
|
|
207
|
+
:root {
|
|
208
|
+
--tt-color-text-gray: hsl(45, 2%, 46%);
|
|
209
|
+
--tt-color-text-brown: hsl(19, 31%, 47%);
|
|
210
|
+
--tt-color-text-orange: hsl(30, 89%, 45%);
|
|
211
|
+
--tt-color-text-yellow: hsl(38, 62%, 49%);
|
|
212
|
+
--tt-color-text-green: hsl(148, 32%, 39%);
|
|
213
|
+
--tt-color-text-blue: hsl(202, 54%, 43%);
|
|
214
|
+
--tt-color-text-purple: hsl(274, 32%, 54%);
|
|
215
|
+
--tt-color-text-pink: hsl(328, 49%, 53%);
|
|
216
|
+
--tt-color-text-red: hsl(2, 62%, 55%);
|
|
217
|
+
|
|
218
|
+
--tt-color-text-gray-contrast: hsla(39, 26%, 26%, 0.15);
|
|
219
|
+
--tt-color-text-brown-contrast: hsla(18, 43%, 69%, 0.35);
|
|
220
|
+
--tt-color-text-orange-contrast: hsla(24, 73%, 55%, 0.27);
|
|
221
|
+
--tt-color-text-yellow-contrast: hsla(44, 82%, 59%, 0.39);
|
|
222
|
+
--tt-color-text-green-contrast: hsla(126, 29%, 60%, 0.27);
|
|
223
|
+
--tt-color-text-blue-contrast: hsla(202, 54%, 59%, 0.27);
|
|
224
|
+
--tt-color-text-purple-contrast: hsla(274, 37%, 64%, 0.27);
|
|
225
|
+
--tt-color-text-pink-contrast: hsla(331, 60%, 71%, 0.27);
|
|
226
|
+
--tt-color-text-red-contrast: hsla(8, 79%, 79%, 0.4);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.dark {
|
|
230
|
+
--tt-color-text-gray: hsl(0, 0%, 61%);
|
|
231
|
+
--tt-color-text-brown: hsl(18, 35%, 58%);
|
|
232
|
+
--tt-color-text-orange: hsl(25, 53%, 53%);
|
|
233
|
+
--tt-color-text-yellow: hsl(36, 54%, 55%);
|
|
234
|
+
--tt-color-text-green: hsl(145, 32%, 47%);
|
|
235
|
+
--tt-color-text-blue: hsl(202, 64%, 52%);
|
|
236
|
+
--tt-color-text-purple: hsl(270, 55%, 62%);
|
|
237
|
+
--tt-color-text-pink: hsl(329, 57%, 58%);
|
|
238
|
+
--tt-color-text-red: hsl(1, 69%, 60%);
|
|
239
|
+
|
|
240
|
+
--tt-color-text-gray-contrast: hsla(0, 0%, 100%, 0.09);
|
|
241
|
+
--tt-color-text-brown-contrast: hsla(17, 45%, 50%, 0.25);
|
|
242
|
+
--tt-color-text-orange-contrast: hsla(27, 82%, 53%, 0.2);
|
|
243
|
+
--tt-color-text-yellow-contrast: hsla(35, 49%, 47%, 0.2);
|
|
244
|
+
--tt-color-text-green-contrast: hsla(151, 55%, 39%, 0.2);
|
|
245
|
+
--tt-color-text-blue-contrast: hsla(202, 54%, 43%, 0.2);
|
|
246
|
+
--tt-color-text-purple-contrast: hsla(271, 56%, 60%, 0.18);
|
|
247
|
+
--tt-color-text-pink-contrast: hsla(331, 67%, 58%, 0.22);
|
|
248
|
+
--tt-color-text-red-contrast: hsla(0, 67%, 60%, 0.25);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/* Highlight colors */
|
|
252
|
+
:root {
|
|
253
|
+
--tt-color-highlight-yellow: #fef9c3;
|
|
254
|
+
--tt-color-highlight-green: #dcfce7;
|
|
255
|
+
--tt-color-highlight-blue: #e0f2fe;
|
|
256
|
+
--tt-color-highlight-purple: #f3e8ff;
|
|
257
|
+
--tt-color-highlight-red: #ffe4e6;
|
|
258
|
+
--tt-color-highlight-gray: rgb(248, 248, 247);
|
|
259
|
+
--tt-color-highlight-brown: rgb(244, 238, 238);
|
|
260
|
+
--tt-color-highlight-orange: rgb(251, 236, 221);
|
|
261
|
+
--tt-color-highlight-pink: rgb(252, 241, 246);
|
|
262
|
+
|
|
263
|
+
--tt-color-highlight-yellow-contrast: #fbe604;
|
|
264
|
+
--tt-color-highlight-green-contrast: #c7fad8;
|
|
265
|
+
--tt-color-highlight-blue-contrast: #ceeafd;
|
|
266
|
+
--tt-color-highlight-purple-contrast: #e4ccff;
|
|
267
|
+
--tt-color-highlight-red-contrast: #ffccd0;
|
|
268
|
+
--tt-color-highlight-gray-contrast: rgba(84, 72, 49, 0.15);
|
|
269
|
+
--tt-color-highlight-brown-contrast: rgba(210, 162, 141, 0.35);
|
|
270
|
+
--tt-color-highlight-orange-contrast: rgba(224, 124, 57, 0.27);
|
|
271
|
+
--tt-color-highlight-pink-contrast: rgba(225, 136, 179, 0.27);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.dark {
|
|
275
|
+
--tt-color-highlight-yellow: #6b6524;
|
|
276
|
+
--tt-color-highlight-green: #509568;
|
|
277
|
+
--tt-color-highlight-blue: #6e92aa;
|
|
278
|
+
--tt-color-highlight-purple: #583e74;
|
|
279
|
+
--tt-color-highlight-red: #743e42;
|
|
280
|
+
--tt-color-highlight-gray: rgb(47, 47, 47);
|
|
281
|
+
--tt-color-highlight-brown: rgb(74, 50, 40);
|
|
282
|
+
--tt-color-highlight-orange: rgb(92, 59, 35);
|
|
283
|
+
--tt-color-highlight-pink: rgb(78, 44, 60);
|
|
284
|
+
|
|
285
|
+
--tt-color-highlight-yellow-contrast: #58531e;
|
|
286
|
+
--tt-color-highlight-green-contrast: #47855d;
|
|
287
|
+
--tt-color-highlight-blue-contrast: #5e86a1;
|
|
288
|
+
--tt-color-highlight-purple-contrast: #4c3564;
|
|
289
|
+
--tt-color-highlight-red-contrast: #643539;
|
|
290
|
+
--tt-color-highlight-gray-contrast: rgba(255, 255, 255, 0.094);
|
|
291
|
+
--tt-color-highlight-brown-contrast: rgba(184, 101, 69, 0.25);
|
|
292
|
+
--tt-color-highlight-orange-contrast: rgba(233, 126, 37, 0.2);
|
|
293
|
+
--tt-color-highlight-pink-contrast: rgba(220, 76, 145, 0.22);
|
|
294
|
+
}
|
package/es/vue-sfc-shim.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare module '*.vue' {
|
|
2
|
-
// eslint-disable-next-line
|
|
3
|
-
import { DefineComponent } from 'vue'
|
|
4
|
-
const Component: DefineComponent
|
|
5
|
-
export default Component
|
|
6
|
-
}
|
|
1
|
+
declare module '*.vue' {
|
|
2
|
+
// eslint-disable-next-line
|
|
3
|
+
import { DefineComponent } from 'vue'
|
|
4
|
+
const Component: DefineComponent
|
|
5
|
+
export default Component
|
|
6
|
+
}
|
package/es/vue-tsx-shim.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import 'vue';
|
|
2
|
-
|
|
3
|
-
type EventHandler = (...args: any[]) => void;
|
|
4
|
-
|
|
5
|
-
declare module 'vue' {
|
|
6
|
-
interface ComponentCustomProps {
|
|
7
|
-
id?: string;
|
|
8
|
-
role?: string;
|
|
9
|
-
tabindex?: number;
|
|
10
|
-
onClick?: EventHandler;
|
|
11
|
-
onTouchend?: EventHandler;
|
|
12
|
-
onTouchmove?: EventHandler;
|
|
13
|
-
onTouchstart?: EventHandler;
|
|
14
|
-
onTouchcancel?: EventHandler;
|
|
15
|
-
onTouchmovePassive?: EventHandler;
|
|
16
|
-
onTouchstartPassive?: EventHandler;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
interface HTMLAttributes {
|
|
20
|
-
onTouchmovePassive?: EventHandler;
|
|
21
|
-
onTouchstartPassive?: EventHandler;
|
|
22
|
-
onClickCapture?: EventHandler;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
import 'vue';
|
|
2
|
+
|
|
3
|
+
type EventHandler = (...args: any[]) => void;
|
|
4
|
+
|
|
5
|
+
declare module 'vue' {
|
|
6
|
+
interface ComponentCustomProps {
|
|
7
|
+
id?: string;
|
|
8
|
+
role?: string;
|
|
9
|
+
tabindex?: number;
|
|
10
|
+
onClick?: EventHandler;
|
|
11
|
+
onTouchend?: EventHandler;
|
|
12
|
+
onTouchmove?: EventHandler;
|
|
13
|
+
onTouchstart?: EventHandler;
|
|
14
|
+
onTouchcancel?: EventHandler;
|
|
15
|
+
onTouchmovePassive?: EventHandler;
|
|
16
|
+
onTouchstartPassive?: EventHandler;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
interface HTMLAttributes {
|
|
20
|
+
onTouchmovePassive?: EventHandler;
|
|
21
|
+
onTouchstartPassive?: EventHandler;
|
|
22
|
+
onClickCapture?: EventHandler;
|
|
23
|
+
}
|
|
24
|
+
}
|
package/lib/index.d.ts
CHANGED