@nmorph/nmorph-ui-kit 1.0.29 → 1.0.31

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.
@@ -14,7 +14,7 @@ interface INmorphProps extends INmorphCommonInputProps {
14
14
  tabindex?: number;
15
15
  }
16
16
  declare function __VLS_template(): {
17
- "icon-slot"?(_: {}): any;
17
+ icon?(_: {}): any;
18
18
  default?(_: {}): any;
19
19
  append?(_: {}): any;
20
20
  };
@@ -3,264 +3,3 @@ export declare enum NmorphIconSize {
3
3
  medium = "medium",
4
4
  large = "large"
5
5
  }
6
- export declare enum NmorphAllIcons {
7
- AddLocation = "NmorphIconAddLocation",
8
- Aim = "NmorphIconAim",
9
- AlarmClock = "NmorphIconAlarmClock",
10
- Apple = "NmorphIconApple",
11
- Archive = "NmorphIconArchive",
12
- ArrowDown = "NmorphIconArrowDown",
13
- ArrowLeft = "NmorphIconArrowLeft",
14
- ArrowRight = "NmorphIconArrowRight",
15
- ArrowUp = "NmorphIconArrowUp",
16
- Audio = "NmorphIconAudio",
17
- Avatar = "NmorphIconAvatar",
18
- Back = "NmorphIconBack",
19
- BellFilled = "NmorphIconBellFilled",
20
- Bell = "NmorphIconBell",
21
- Bicycle = "NmorphIconBicycle",
22
- BottomLeft = "NmorphIconBottomLeft",
23
- BottomRight = "NmorphIconBottomRight",
24
- Bottom = "NmorphIconBottom",
25
- Burger = "NmorphIconBurger",
26
- Calendar = "NmorphIconCalendar",
27
- Camera = "NmorphIconCamera",
28
- CaretBottom = "NmorphIconCaretBottom",
29
- CaretLeft = "NmorphIconCaretLeft",
30
- CaretRight = "NmorphIconCaretRight",
31
- CaretTop = "NmorphIconCaretTop",
32
- Cellphone = "NmorphIconCellphone",
33
- ChatDotRound = "NmorphIconChatDotRound",
34
- ChatDotSquare = "NmorphIconChatDotSquare",
35
- ChatLineRound = "NmorphIconChatLineRound",
36
- ChatLineSquare = "NmorphIconChatLineSquare",
37
- ChatRound = "NmorphIconChatRound",
38
- ChatSquare = "NmorphIconChatSquare",
39
- Check = "NmorphIconCheck",
40
- Checked = "NmorphIconChecked",
41
- Cherry = "NmorphIconCherry",
42
- ChevronDoubleDown = "NmorphIconChevronDoubleDown",
43
- ChevronDown = "NmorphIconChevronDown",
44
- ChromeFilled = "NmorphIconChromeFilled",
45
- CircleCheckFilled = "NmorphIconCircleCheckFilled",
46
- CircleCheck = "NmorphIconCircleCheck",
47
- CircleCloseFilled = "NmorphIconCircleCloseFilled",
48
- CircleClose = "NmorphIconCircleClose",
49
- CirclePlusFilled = "NmorphIconCirclePlusFilled",
50
- CirclePlus = "NmorphIconCirclePlus",
51
- Clock = "NmorphIconClock",
52
- Close = "NmorphIconClose",
53
- Cloudy = "NmorphIconCloudy",
54
- Code = "NmorphIconCode",
55
- CoffeeCup = "NmorphIconCoffeeCup",
56
- Coffee = "NmorphIconCoffee",
57
- Coin = "NmorphIconCoin",
58
- CollectionTag = "NmorphIconCollectionTag",
59
- Collection = "NmorphIconCollection",
60
- Compass = "NmorphIconCompass",
61
- Connection = "NmorphIconConnection",
62
- Coordinate = "NmorphIconCoordinate",
63
- CopyDocument = "NmorphIconCopyDocument",
64
- Copy = "NmorphIconCopy",
65
- Cpu = "NmorphIconCpu",
66
- CreditCard = "NmorphIconCreditCard",
67
- Crop = "NmorphIconCrop",
68
- Cross = "NmorphIconCross",
69
- DeleteFilled = "NmorphIconDeleteFilled",
70
- Delete = "NmorphIconDelete",
71
- Dessert = "NmorphIconDessert",
72
- Discount = "NmorphIconDiscount",
73
- Doc = "NmorphIconDoc",
74
- DocumentAdd = "NmorphIconDocumentAdd",
75
- DocumentChecked = "NmorphIconDocumentChecked",
76
- DocumentCopy = "NmorphIconDocumentCopy",
77
- DocumentDelete = "NmorphIconDocumentDelete",
78
- DocumentRemove = "NmorphIconDocumentRemove",
79
- Document = "NmorphIconDocument",
80
- Download = "NmorphIconDownload",
81
- EditPen = "NmorphIconEditPen",
82
- Edit = "NmorphIconEdit",
83
- Enlarge = "NmorphIconEnlarge",
84
- Expand = "NmorphIconExpand",
85
- Error = "NmorphIconError",
86
- Eye = "NmorphIconEye",
87
- EyeBlocked = "NmorphIconEyeBlocked",
88
- Failed = "NmorphIconFailed",
89
- Files = "NmorphIconFiles",
90
- Film = "NmorphIconFilm",
91
- Filter = "NmorphIconFilter",
92
- Finished = "NmorphIconFinished",
93
- Flag = "NmorphIconFlag",
94
- Fold = "NmorphIconFold",
95
- FolderAdd = "NmorphIconFolderAdd",
96
- FolderChecked = "NmorphIconFolderChecked",
97
- FolderDelete = "NmorphIconFolderDelete",
98
- FolderOpened = "NmorphIconFolderOpened",
99
- Folder = "NmorphIconFolder",
100
- Food = "NmorphIconFood",
101
- ForkSpoon = "NmorphIconForkSpoon",
102
- FullScreen = "NmorphIconFullScreen",
103
- Goblet = "NmorphIconGoblet",
104
- GoldMedal = "NmorphIconGoldMedal",
105
- GoodsFilled = "NmorphIconGoodsFilled",
106
- Goods = "NmorphIconGoods",
107
- Grape = "NmorphIconGrape",
108
- Grid = "NmorphIconGrid",
109
- Guide = "NmorphIconGuide",
110
- Handbag = "NmorphIconHandbag",
111
- Headset = "NmorphIconHeadset",
112
- Histogram = "NmorphIconHistogram",
113
- HotWater = "NmorphIconHotWater",
114
- House = "NmorphIconHouse",
115
- IceCreamRound = "NmorphIconIceCreamRound",
116
- IceDrink = "NmorphIconIceDrink",
117
- InfoFilled = "NmorphIconInfoFilled",
118
- Info = "NmorphIconInfo",
119
- Image = "NmorphIconImage",
120
- Key = "NmorphIconKey",
121
- KnifeFork = "NmorphIconKnifeFork",
122
- Lightning = "NmorphIconLightning",
123
- Link = "NmorphIconLink",
124
- List = "NmorphIconList",
125
- Loader = "NmorphIconLoader",
126
- Loading = "NmorphIconLoading",
127
- LocationFilled = "NmorphIconLocationFilled",
128
- LocationInformation = "NmorphIconLocationInformation",
129
- Logo = "NmorphIconLogo",
130
- Location = "NmorphIconLocation",
131
- Lock = "NmorphIconLock",
132
- Lollipop = "NmorphIconLollipop",
133
- MagicStick = "NmorphIconMagicStick",
134
- Magnet = "NmorphIconMagnet",
135
- Male = "NmorphIconMale",
136
- Management = "NmorphIconManagement",
137
- MapLocation = "NmorphIconMapLocation",
138
- Medal = "NmorphIconMedal",
139
- Memo = "NmorphIconMemo",
140
- Menu = "NmorphIconMenu",
141
- MessageBox = "NmorphIconMessageBox",
142
- Message = "NmorphIconMessage",
143
- Mic = "NmorphIconMic",
144
- Microphone = "NmorphIconMicrophone",
145
- Minus = "NmorphIconMinus",
146
- MinusThin = "NmorphIconMinusThin",
147
- Money = "NmorphIconMoney",
148
- Monitor = "NmorphIconMonitor",
149
- Moon = "NmorphIconMoon",
150
- MoreFilled = "NmorphIconMoreFilled",
151
- More = "NmorphIconMore",
152
- MostlyCloudy = "NmorphIconMostlyCloudy",
153
- Mouse = "NmorphIconMouse",
154
- Mug = "NmorphIconMug",
155
- MuteNotification = "NmorphIconMuteNotification",
156
- Mute = "NmorphIconMute",
157
- NoSmoking = "NmorphIconNoSmoking",
158
- Notebook = "NmorphIconNotebook",
159
- Notification = "NmorphIconNotification",
160
- OfficeBuilding = "NmorphIconOfficeBuilding",
161
- Operation = "NmorphIconOperation",
162
- Opportunity = "NmorphIconOpportunity",
163
- Orange = "NmorphIconOrange",
164
- Paperclip = "NmorphIconPaperclip",
165
- PartlyCloudy = "NmorphIconPartlyCloudy",
166
- Pear = "NmorphIconPear",
167
- PhoneFilled = "NmorphIconPhoneFilled",
168
- Phone = "NmorphIconPhone",
169
- Picture = "NmorphIconPicture",
170
- PieChart = "NmorphIconPieChart",
171
- Place = "NmorphIconPlace",
172
- Platform = "NmorphIconPlatform",
173
- Plus = "NmorphIconPlus",
174
- PlusThin = "NmorphIconPlusThin",
175
- Pointer = "NmorphIconPointer",
176
- Position = "NmorphIconPosition",
177
- PostCard = "NmorphIconPostCard",
178
- Pouring = "NmorphIconPouring",
179
- Present = "NmorphIconPresent",
180
- PriceTag = "NmorphIconPriceTag",
181
- Printer = "NmorphIconPrinter",
182
- Promotion = "NmorphIconPromotion",
183
- QuartzWatch = "NmorphIconQuartzWatch",
184
- QuestionFilled = "NmorphIconQuestionFilled",
185
- Rank = "NmorphIconRank",
186
- ReadingLamp = "NmorphIconReadingLamp",
187
- Reading = "NmorphIconReading",
188
- RefreshLeft = "NmorphIconRefreshLeft",
189
- RefreshRight = "NmorphIconRefreshRight",
190
- Refresh = "NmorphIconRefresh",
191
- Refrigerator = "NmorphIconRefrigerator",
192
- RemoveFilled = "NmorphIconRemoveFilled",
193
- Remove = "NmorphIconRemove",
194
- Right = "NmorphIconRight",
195
- RotateLeft = "NmorphIconRotateLeft",
196
- RotateRight = "NmorphIconRotateRight",
197
- ScaleToOriginal = "NmorphIconScaleToOriginal",
198
- School = "NmorphIconSchool",
199
- Scissor = "NmorphIconScissor",
200
- Search = "NmorphIconSearch",
201
- Select = "NmorphIconSelect",
202
- Sell = "NmorphIconSell",
203
- SemiSelect = "NmorphIconSemiSelect",
204
- Service = "NmorphIconService",
205
- Setting = "NmorphIconSetting",
206
- Share = "NmorphIconShare",
207
- Ship = "NmorphIconShip",
208
- Shop = "NmorphIconShop",
209
- ShoppingBag = "NmorphIconShoppingBag",
210
- ShoppingCartFull = "NmorphIconShoppingCartFull",
211
- ShoppingCart = "NmorphIconShoppingCart",
212
- Shrink = "NmorphIconShrink",
213
- Smoking = "NmorphIconSmoking",
214
- Soccer = "NmorphIconSoccer",
215
- SoldOut = "NmorphIconSoldOut",
216
- SortDown = "NmorphIconSortDown",
217
- SortUp = "NmorphIconSortUp",
218
- Sort = "NmorphIconSort",
219
- Stamp = "NmorphIconStamp",
220
- StarFilled = "NmorphIconStarFilled",
221
- Star = "NmorphIconStar",
222
- SuccessFilled = "NmorphIconSuccessFilled",
223
- Success = "NmorphIconSuccess",
224
- Sugar = "NmorphIconSugar",
225
- Sunny = "NmorphIconSunny",
226
- Sunrise = "NmorphIconSunrise",
227
- Sunset = "NmorphIconSunset",
228
- SwitchButton = "NmorphIconSwitchButton",
229
- SwitchFilled = "NmorphIconSwitchFilled",
230
- Switch = "NmorphIconSwitch",
231
- TakeawayBox = "NmorphIconTakeawayBox",
232
- Ticket = "NmorphIconTicket",
233
- Tickets = "NmorphIconTickets",
234
- Time = "NmorphIconTime",
235
- Timer = "NmorphIconTimer",
236
- ToiletPaper = "NmorphIconToiletPaper",
237
- Tools = "NmorphIconTools",
238
- TopLeft = "NmorphIconTopLeft",
239
- TopRight = "NmorphIconTopRight",
240
- Top = "NmorphIconTop",
241
- TrendCharts = "NmorphIconTrendCharts",
242
- TriangleDown = "NmorphIconTriangleDown",
243
- TrophyBase = "NmorphIconTrophyBase",
244
- Trophy = "NmorphIconTrophy",
245
- TurnOff = "NmorphIconTurnOff",
246
- Umbrella = "NmorphIconUmbrella",
247
- Unlock = "NmorphIconUnlock",
248
- UploadFilled = "NmorphIconUploadFilled",
249
- Upload = "NmorphIconUpload",
250
- UserFilled = "NmorphIconUserFilled",
251
- User = "NmorphIconUser",
252
- Van = "NmorphIconVan",
253
- VideoCamera = "NmorphIconVideoCamera",
254
- VideoPause = "NmorphIconVideoPause",
255
- VideoPlay = "NmorphIconVideoPlay",
256
- Video = "NmorphIconVideo",
257
- View = "NmorphIconView",
258
- WalletFilled = "NmorphIconWalletFilled",
259
- Wallet = "NmorphIconWallet",
260
- WarnTriangleFilled = "NmorphIconWarnTriangleFilled",
261
- Warning = "NmorphIconWarning",
262
- Watch = "NmorphIconWatch",
263
- WindPower = "NmorphIconWindPower",
264
- ZoomIn = "NmorphIconZoomIn",
265
- ZoomOut = "NmorphIconZoomOut"
266
- }
@@ -1,3 +1,26 @@
1
1
  import { TranslateType } from '../../../types';
2
2
 
3
+ export declare const additionalTranslates: {
4
+ zh: {
5
+ sun: string;
6
+ mon: string;
7
+ tue: string;
8
+ wed: string;
9
+ thu: string;
10
+ fri: string;
11
+ sat: string;
12
+ jan: string;
13
+ feb: string;
14
+ mar: string;
15
+ apr: string;
16
+ may: string;
17
+ jun: string;
18
+ jul: string;
19
+ aug: string;
20
+ sep: string;
21
+ oct: string;
22
+ nov: string;
23
+ dec: string;
24
+ };
25
+ };
3
26
  export declare const translate: TranslateType;
@@ -3,8 +3,6 @@ import { I18n } from 'vue-i18n';
3
3
 
4
4
  export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
5
5
  en: TranslateMessages;
6
- ru: TranslateMessages;
7
- zh: TranslateMessages;
8
- } | {
9
- en: TranslateMessages;
6
+ ru?: TranslateMessages;
7
+ zh?: TranslateMessages;
10
8
  }, {}, {}, Locale | "en" | "ru" | "zh", true>;
@@ -117,7 +117,9 @@ export declare enum Locale {
117
117
  ru = "ru",
118
118
  zh = "zh"
119
119
  }
120
- export type TranslateType = Record<keyof typeof Locale, TranslateMessages>;
120
+ export type TranslateType = Partial<Record<keyof typeof Locale, TranslateMessages>> & {
121
+ en: TranslateMessages;
122
+ };
121
123
  export interface TranslateMessages {
122
124
  [key: string]: TranslateMessages | string;
123
125
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nmorph/nmorph-ui-kit",
3
3
  "type": "module",
4
4
  "private": false,
5
- "version": "1.0.29",
5
+ "version": "1.0.31",
6
6
  "license": "MIT",
7
7
  "engines": {
8
8
  "node": "18.13.0",