@uzum-tech/ui 2.3.3 → 2.3.5

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 (44) hide show
  1. package/dist/index.js +688 -619
  2. package/dist/index.mjs +688 -619
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/chat/src/Chat.d.ts +363 -3120
  6. package/es/chat/src/Chat.mjs +13 -240
  7. package/es/chat/src/ChatListItems.d.ts +4 -4
  8. package/es/chat/src/ChatMainArea.d.ts +36 -10
  9. package/es/chat/src/ChatMainArea.mjs +49 -3
  10. package/es/chat/src/ChatMessages.d.ts +3 -3
  11. package/es/chat/src/interface.d.ts +2814 -2
  12. package/es/chat/src/interface.mjs +244 -1
  13. package/es/components.d.ts +310 -224
  14. package/es/image/index.d.ts +2 -2
  15. package/es/image/index.mjs +2 -1
  16. package/es/image/src/ImagePreview.d.ts +60 -184
  17. package/es/image/src/ImagePreview.mjs +12 -18
  18. package/es/image/src/interface.d.ts +156 -3
  19. package/es/image/src/interface.mjs +23 -1
  20. package/es/image/src/public-types.d.ts +11 -5
  21. package/es/image/src/styles/index.cssr.mjs +11 -1
  22. package/es/version.d.ts +1 -1
  23. package/es/version.mjs +1 -1
  24. package/lib/chat/src/Chat.d.ts +363 -3120
  25. package/lib/chat/src/Chat.js +15 -180
  26. package/lib/chat/src/ChatListItems.d.ts +4 -4
  27. package/lib/chat/src/ChatMainArea.d.ts +36 -10
  28. package/lib/chat/src/ChatMainArea.js +48 -3
  29. package/lib/chat/src/ChatMessages.d.ts +3 -3
  30. package/lib/chat/src/interface.d.ts +2814 -2
  31. package/lib/chat/src/interface.js +183 -1
  32. package/lib/components.d.ts +310 -224
  33. package/lib/image/index.d.ts +2 -2
  34. package/lib/image/index.js +3 -2
  35. package/lib/image/src/ImagePreview.d.ts +60 -184
  36. package/lib/image/src/ImagePreview.js +18 -17
  37. package/lib/image/src/interface.d.ts +156 -3
  38. package/lib/image/src/interface.js +12 -1
  39. package/lib/image/src/public-types.d.ts +11 -5
  40. package/lib/image/src/styles/index.cssr.js +11 -1
  41. package/lib/version.d.ts +1 -1
  42. package/lib/version.js +1 -1
  43. package/package.json +1 -1
  44. package/web-types.json +55 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uzum-tech/ui",
3
- "version": "2.3.3",
3
+ "version": "2.3.5",
4
4
  "packageManager": "pnpm@10.33.0",
5
5
  "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
6
6
  "author": {
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "2.3.3",
5
+ "version": "2.3.5",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -2390,6 +2390,13 @@
2390
2390
  "description": "Currently selected chat ID. Supports v-model.",
2391
2391
  "default": "undefined"
2392
2392
  },
2393
+ {
2394
+ "name": "input-value",
2395
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
2396
+ "type": "string",
2397
+ "description": "Footer input value. Supports v-model — pass it to control the draft from outside (e.g. set a canned reply after sending). Uncontrolled (internal state) when omitted.",
2398
+ "default": "undefined"
2399
+ },
2393
2400
  {
2394
2401
  "name": "messages",
2395
2402
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
@@ -2555,7 +2562,7 @@
2555
2562
  "name": "footer-input-props",
2556
2563
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
2557
2564
  "type": "Partial<InputProps>",
2558
- "description": "Props for message input field (placeholder can override locale).",
2565
+ "description": "Props for message input field (placeholder can override locale). `value` is ignored (use `input-value`/`update:input-value` to control the draft) — `onUpdateValue`/`onInput` are called alongside the component's own handling, so you can hook into input changes without breaking them.",
2559
2566
  "default": "undefined"
2560
2567
  },
2561
2568
  {
@@ -8278,7 +8285,32 @@
8278
8285
  "source": {
8279
8286
  "symbol": "UImagePreview"
8280
8287
  },
8281
- "slots": [],
8288
+ "slots": [
8289
+ {
8290
+ "name": "spin-default",
8291
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
8292
+ "description": "Forwarded to the internal `u-spin`'s `default` slot.",
8293
+ "description-sections": {
8294
+ "since": "2.3.5"
8295
+ }
8296
+ },
8297
+ {
8298
+ "name": "spin-icon",
8299
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
8300
+ "description": "Forwarded to the internal `u-spin`'s `icon` slot.",
8301
+ "description-sections": {
8302
+ "since": "2.3.5"
8303
+ }
8304
+ },
8305
+ {
8306
+ "name": "spin-description",
8307
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
8308
+ "description": "Forwarded to the internal `u-spin`'s `description` slot.",
8309
+ "description-sections": {
8310
+ "since": "2.3.5"
8311
+ }
8312
+ }
8313
+ ],
8282
8314
  "attributes": [],
8283
8315
  "props": [
8284
8316
  {
@@ -8291,6 +8323,16 @@
8291
8323
  "since": "2.43.0"
8292
8324
  }
8293
8325
  },
8326
+ {
8327
+ "name": "loading",
8328
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
8329
+ "type": "boolean",
8330
+ "description": "Whether to show a loading spinner over the preview.",
8331
+ "default": "false",
8332
+ "description-sections": {
8333
+ "since": "2.3.5"
8334
+ }
8335
+ },
8294
8336
  {
8295
8337
  "name": "render-toolbar",
8296
8338
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
@@ -8331,6 +8373,16 @@
8331
8373
  "since": "2.43.0"
8332
8374
  }
8333
8375
  },
8376
+ {
8377
+ "name": "spin-props",
8378
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
8379
+ "type": "Partial<SpinProps>",
8380
+ "description": "Props forwarded to the internal `u-spin` used for the loading overlay.",
8381
+ "default": "undefined",
8382
+ "description-sections": {
8383
+ "since": "2.3.5"
8384
+ }
8385
+ },
8334
8386
  {
8335
8387
  "name": "src",
8336
8388
  "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",