@dskripchenko/ui 1.6.1 → 1.7.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/dist/components/Cascader/UidCascader.vue.d.ts +5 -0
- package/dist/components/Checkbox/UidCheckbox.vue.d.ts +1 -1
- package/dist/components/Checkbox/UidCheckboxGroup.vue.d.ts +1 -1
- package/dist/components/Code/UidCode.vue.d.ts +2 -2
- package/dist/components/ColorPicker/UidColorPicker.vue.d.ts +8 -0
- package/dist/components/Combobox/UidCombobox.vue.d.ts +1 -0
- package/dist/components/DatePicker/UidDatePicker.vue.d.ts +5 -0
- package/dist/components/DateRangePicker/UidDateRangePicker.vue.d.ts +8 -3
- package/dist/components/FormField/UidFormField.vue.d.ts +1 -1
- package/dist/components/Gauge/UidGauge.vue.d.ts +3 -0
- package/dist/components/Image/UidImage.vue.d.ts +1 -1
- package/dist/components/Mention/UidMention.vue.d.ts +1 -0
- package/dist/components/Radio/UidRadioGroup.vue.d.ts +1 -1
- package/dist/components/Rating/UidRating.vue.d.ts +3 -0
- package/dist/components/Switch/UidSwitch.vue.d.ts +1 -1
- package/dist/components/Table/UidTable.vue.d.ts +2 -2
- package/dist/components/Textarea/UidTextarea.vue.d.ts +1 -1
- package/dist/components/TimePicker/UidTimePicker.vue.d.ts +5 -0
- package/dist/components/TreeSelect/UidTreeSelect.vue.d.ts +5 -0
- package/dist/composables/useFloatingPanel.d.ts +31 -0
- package/dist/composables/useOverlayStack.d.ts +5 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +2830 -2459
- package/dist/locales/types.d.ts +103 -0
- package/dist/styles/all.css +32 -3
- package/dist/styles/global.css +10 -0
- package/dist/styles/index.css +1 -1
- package/dist/styles/themes.css +4 -0
- package/dist/styles/tokens.css +17 -2
- package/dist/utils/formatNumber.d.ts +14 -0
- package/dist/utils/validation/index.d.ts +1 -1
- package/dist/utils/validation/messages.d.ts +3 -0
- package/package.json +1 -1
package/dist/locales/types.d.ts
CHANGED
|
@@ -29,20 +29,31 @@ export interface UidLocale {
|
|
|
29
29
|
weekdaysShort: readonly string[];
|
|
30
30
|
prevMonth: string;
|
|
31
31
|
nextMonth: string;
|
|
32
|
+
dialog: string;
|
|
32
33
|
};
|
|
33
34
|
dateRangePicker: {
|
|
34
35
|
placeholder: string;
|
|
35
36
|
presetLast: (days: number) => string;
|
|
36
37
|
startTime?: string;
|
|
37
38
|
endTime?: string;
|
|
39
|
+
dialog: string;
|
|
38
40
|
};
|
|
39
41
|
timePicker: {
|
|
40
42
|
placeholder: string;
|
|
41
43
|
now: string;
|
|
42
44
|
confirm: string;
|
|
45
|
+
dialog: string;
|
|
46
|
+
hours: string;
|
|
47
|
+
minutes: string;
|
|
48
|
+
seconds: string;
|
|
43
49
|
};
|
|
44
50
|
colorPicker: {
|
|
45
51
|
placeholder: string;
|
|
52
|
+
dialog: string;
|
|
53
|
+
saturation: string;
|
|
54
|
+
hue: string;
|
|
55
|
+
alpha: string;
|
|
56
|
+
input: string;
|
|
46
57
|
};
|
|
47
58
|
numberInput: {
|
|
48
59
|
increment: (step: number | string) => string;
|
|
@@ -75,6 +86,7 @@ export interface UidLocale {
|
|
|
75
86
|
};
|
|
76
87
|
rating: {
|
|
77
88
|
label: (current: number, max: number) => string;
|
|
89
|
+
star: (n: number) => string;
|
|
78
90
|
};
|
|
79
91
|
mention: {
|
|
80
92
|
noResults: string;
|
|
@@ -95,6 +107,8 @@ export interface UidLocale {
|
|
|
95
107
|
breadcrumb?: {
|
|
96
108
|
/** Accessible name of the "…" button that lists the collapsed crumbs. */
|
|
97
109
|
showHidden: string;
|
|
110
|
+
/** Accessible name of the breadcrumb navigation. */
|
|
111
|
+
label?: string;
|
|
98
112
|
};
|
|
99
113
|
pagination: {
|
|
100
114
|
first: string;
|
|
@@ -103,6 +117,95 @@ export interface UidLocale {
|
|
|
103
117
|
last: string;
|
|
104
118
|
page: (n: number) => string;
|
|
105
119
|
pageSize: (n: number) => string;
|
|
120
|
+
label: string;
|
|
121
|
+
cursorNav: string;
|
|
122
|
+
back: string;
|
|
123
|
+
forward: string;
|
|
124
|
+
loadMore: string;
|
|
125
|
+
rowsPerPage: string;
|
|
126
|
+
};
|
|
127
|
+
sidebar: {
|
|
128
|
+
label: string;
|
|
129
|
+
nav: string;
|
|
130
|
+
};
|
|
131
|
+
header: {
|
|
132
|
+
nav: string;
|
|
133
|
+
};
|
|
134
|
+
pageHeader: {
|
|
135
|
+
back: string;
|
|
136
|
+
};
|
|
137
|
+
emptyState: {
|
|
138
|
+
title: string;
|
|
139
|
+
};
|
|
140
|
+
errorState: {
|
|
141
|
+
title: string;
|
|
142
|
+
notFoundTitle: string;
|
|
143
|
+
notFoundDescription: string;
|
|
144
|
+
serverTitle: string;
|
|
145
|
+
serverDescription: string;
|
|
146
|
+
offlineTitle: string;
|
|
147
|
+
offlineDescription: string;
|
|
148
|
+
};
|
|
149
|
+
wizard: {
|
|
150
|
+
step: (n: number) => string;
|
|
151
|
+
};
|
|
152
|
+
calendar: {
|
|
153
|
+
today: string;
|
|
154
|
+
};
|
|
155
|
+
carousel: {
|
|
156
|
+
prev: string;
|
|
157
|
+
next: string;
|
|
158
|
+
position: (n: number, total: number) => string;
|
|
159
|
+
slide: (n: number) => string;
|
|
160
|
+
};
|
|
161
|
+
stepper: {
|
|
162
|
+
label: (current: number, total: number) => string;
|
|
163
|
+
};
|
|
164
|
+
transfer: {
|
|
165
|
+
available: string;
|
|
166
|
+
selected: string;
|
|
167
|
+
moveRight: string;
|
|
168
|
+
moveLeft: string;
|
|
169
|
+
};
|
|
170
|
+
sparkline: {
|
|
171
|
+
summary: (first: string, last: string, points: number) => string;
|
|
172
|
+
};
|
|
173
|
+
table: {
|
|
174
|
+
empty: string;
|
|
175
|
+
selectAll: string;
|
|
176
|
+
row: (id: string | number) => string;
|
|
177
|
+
};
|
|
178
|
+
avatarGroup: {
|
|
179
|
+
more: (n: number) => string;
|
|
180
|
+
};
|
|
181
|
+
command: {
|
|
182
|
+
placeholder: string;
|
|
183
|
+
empty: string;
|
|
184
|
+
label: string;
|
|
185
|
+
};
|
|
186
|
+
anchor: {
|
|
187
|
+
label: string;
|
|
188
|
+
};
|
|
189
|
+
heatmap: {
|
|
190
|
+
summary: (n: number) => string;
|
|
191
|
+
less: string;
|
|
192
|
+
more: string;
|
|
193
|
+
};
|
|
194
|
+
validation: {
|
|
195
|
+
value: string;
|
|
196
|
+
required: (label: string) => string;
|
|
197
|
+
email: string;
|
|
198
|
+
url: string;
|
|
199
|
+
numeric: string;
|
|
200
|
+
integer: string;
|
|
201
|
+
min: (n: string) => string;
|
|
202
|
+
max: (n: string) => string;
|
|
203
|
+
minValue: (n: string) => string;
|
|
204
|
+
maxValue: (n: string) => string;
|
|
205
|
+
regex: string;
|
|
206
|
+
in: string;
|
|
207
|
+
sameAs: string;
|
|
208
|
+
unknown: (rule: string) => string;
|
|
106
209
|
};
|
|
107
210
|
}
|
|
108
211
|
export type UidPartialLocale = {
|