@uzum-tech/ui 2.3.4 → 2.3.6
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/index.js +6368 -441
- package/dist/index.mjs +6368 -441
- package/dist/index.prod.js +4 -2
- package/dist/index.prod.mjs +4 -2
- package/es/_utils/markdown/constants.d.ts +27 -0
- package/es/_utils/markdown/constants.mjs +26 -0
- package/es/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/es/_utils/markdown/create-markdown-renderer.mjs +65 -0
- package/es/_utils/markdown/index.d.ts +2 -0
- package/es/_utils/markdown/index.mjs +1 -0
- package/es/_utils/markdown/interface.d.ts +14 -0
- package/es/_utils/markdown/interface.mjs +7 -0
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +31 -0
- package/es/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/es/_utils/markdown/rulers/clamp-heading.mjs +25 -0
- package/es/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/es/_utils/markdown/rulers/equals-divider.mjs +19 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/es/_utils/markdown/rulers/prune-empty-blocks.mjs +31 -0
- package/es/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/es/_utils/markdown/rulers/strikethrough.mjs +38 -0
- package/es/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/es/_utils/markdown/rulers/strip-html.mjs +7 -0
- package/es/chat/src/Chat.d.ts +515 -23
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatListItems.d.ts +172 -4
- package/es/chat/src/ChatListItems.mjs +3 -2
- package/es/chat/src/ChatMainArea.d.ts +200 -5
- package/es/chat/src/ChatMainArea.mjs +27 -13
- package/es/chat/src/ChatMessages.d.ts +198 -3
- package/es/chat/src/ChatMessages.mjs +20 -2
- package/es/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/es/chat/src/interface.d.ts +56 -0
- package/es/chat/src/interface.mjs +8 -0
- package/es/chat/styles/dark.d.ts +14 -0
- package/es/chat/styles/light.d.ts +19 -0
- package/es/chat/styles/light.mjs +5 -0
- package/es/components.d.ts +1452 -456
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/es/data-table/src/TableParts/Header.mjs +1 -1
- package/es/data-table/src/use-sorter.d.ts +2 -5
- package/es/data-table/src/use-table-data.d.ts +1 -4
- package/es/image/index.d.ts +2 -2
- package/es/image/index.mjs +2 -1
- package/es/image/src/ImagePreview.d.ts +60 -184
- package/es/image/src/ImagePreview.mjs +12 -18
- package/es/image/src/interface.d.ts +156 -3
- package/es/image/src/interface.mjs +23 -1
- package/es/image/src/public-types.d.ts +11 -5
- package/es/image/src/styles/index.cssr.mjs +11 -1
- package/es/layout/src/LayoutSider.d.ts +1 -1
- package/es/message-bubble/index.d.ts +1 -0
- package/es/message-bubble/src/MessageBubble.d.ts +78 -6
- package/es/message-bubble/src/MessageBubble.mjs +49 -7
- package/es/message-bubble/src/interface.d.ts +36 -0
- package/es/message-bubble/src/interface.mjs +8 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +17 -1
- package/es/message-bubble/styles/dark.d.ts +9 -0
- package/es/message-bubble/styles/light.d.ts +18 -0
- package/es/message-bubble/styles/light.mjs +10 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_utils/markdown/constants.d.ts +27 -0
- package/lib/_utils/markdown/constants.js +55 -0
- package/lib/_utils/markdown/create-markdown-renderer.d.ts +3 -0
- package/lib/_utils/markdown/create-markdown-renderer.js +84 -0
- package/lib/_utils/markdown/index.d.ts +2 -0
- package/lib/_utils/markdown/index.js +6 -0
- package/lib/_utils/markdown/interface.d.ts +14 -0
- package/lib/_utils/markdown/interface.js +10 -0
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +38 -0
- package/lib/_utils/markdown/rulers/clamp-heading.d.ts +2 -0
- package/lib/_utils/markdown/rulers/clamp-heading.js +30 -0
- package/lib/_utils/markdown/rulers/equals-divider.d.ts +2 -0
- package/lib/_utils/markdown/rulers/equals-divider.js +28 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.d.ts +2 -0
- package/lib/_utils/markdown/rulers/prune-empty-blocks.js +40 -0
- package/lib/_utils/markdown/rulers/strikethrough.d.ts +3 -0
- package/lib/_utils/markdown/rulers/strikethrough.js +43 -0
- package/lib/_utils/markdown/rulers/strip-html.d.ts +2 -0
- package/lib/_utils/markdown/rulers/strip-html.js +15 -0
- package/lib/chat/src/Chat.d.ts +515 -23
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatListItems.d.ts +172 -4
- package/lib/chat/src/ChatListItems.js +7 -2
- package/lib/chat/src/ChatMainArea.d.ts +200 -5
- package/lib/chat/src/ChatMainArea.js +26 -14
- package/lib/chat/src/ChatMessages.d.ts +198 -3
- package/lib/chat/src/ChatMessages.js +11 -4
- package/lib/chat/src/ChatParts/Sidebar.d.ts +28 -0
- package/lib/chat/src/interface.d.ts +56 -0
- package/lib/chat/src/interface.js +6 -0
- package/lib/chat/styles/dark.d.ts +14 -0
- package/lib/chat/styles/light.d.ts +19 -0
- package/lib/chat/styles/light.js +5 -0
- package/lib/components.d.ts +1073 -77
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/lib/data-table/src/TableParts/Header.js +1 -1
- package/lib/data-table/src/use-sorter.d.ts +2 -5
- package/lib/data-table/src/use-table-data.d.ts +1 -4
- package/lib/image/index.d.ts +2 -2
- package/lib/image/index.js +3 -2
- package/lib/image/src/ImagePreview.d.ts +60 -184
- package/lib/image/src/ImagePreview.js +18 -17
- package/lib/image/src/interface.d.ts +156 -3
- package/lib/image/src/interface.js +12 -1
- package/lib/image/src/public-types.d.ts +11 -5
- package/lib/image/src/styles/index.cssr.js +11 -1
- package/lib/layout/src/LayoutSider.d.ts +1 -1
- package/lib/message-bubble/index.d.ts +1 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +78 -6
- package/lib/message-bubble/src/MessageBubble.js +39 -7
- package/lib/message-bubble/src/interface.d.ts +36 -0
- package/lib/message-bubble/src/interface.js +6 -0
- package/lib/message-bubble/src/styles/index.cssr.js +17 -1
- package/lib/message-bubble/styles/dark.d.ts +9 -0
- package/lib/message-bubble/styles/light.d.ts +18 -0
- package/lib/message-bubble/styles/light.js +10 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -1
- package/web-types.json +75 -2
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.
|
|
5
|
+
"version": "2.3.6",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -2404,6 +2404,20 @@
|
|
|
2404
2404
|
"description": "Array of messages for the selected chat.",
|
|
2405
2405
|
"default": "[]"
|
|
2406
2406
|
},
|
|
2407
|
+
{
|
|
2408
|
+
"name": "markdown",
|
|
2409
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2410
|
+
"type": "boolean",
|
|
2411
|
+
"description": "Render message content as sanitized Markdown. Can be overridden per message via `ChatMessageData.markdown`. Only a safe subset of syntax is supported — see the Markdown Support section below.",
|
|
2412
|
+
"default": "true"
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"name": "markdown-options",
|
|
2416
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
2417
|
+
"type": "MarkdownOptions",
|
|
2418
|
+
"description": "Options to customize Markdown rendering — see MarkdownOptions Type below.",
|
|
2419
|
+
"default": "undefined"
|
|
2420
|
+
},
|
|
2407
2421
|
{
|
|
2408
2422
|
"name": "disabled",
|
|
2409
2423
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/chat",
|
|
@@ -8285,7 +8299,32 @@
|
|
|
8285
8299
|
"source": {
|
|
8286
8300
|
"symbol": "UImagePreview"
|
|
8287
8301
|
},
|
|
8288
|
-
"slots": [
|
|
8302
|
+
"slots": [
|
|
8303
|
+
{
|
|
8304
|
+
"name": "spin-default",
|
|
8305
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
8306
|
+
"description": "Forwarded to the internal `u-spin`'s `default` slot.",
|
|
8307
|
+
"description-sections": {
|
|
8308
|
+
"since": "2.3.5"
|
|
8309
|
+
}
|
|
8310
|
+
},
|
|
8311
|
+
{
|
|
8312
|
+
"name": "spin-icon",
|
|
8313
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
8314
|
+
"description": "Forwarded to the internal `u-spin`'s `icon` slot.",
|
|
8315
|
+
"description-sections": {
|
|
8316
|
+
"since": "2.3.5"
|
|
8317
|
+
}
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
"name": "spin-description",
|
|
8321
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
8322
|
+
"description": "Forwarded to the internal `u-spin`'s `description` slot.",
|
|
8323
|
+
"description-sections": {
|
|
8324
|
+
"since": "2.3.5"
|
|
8325
|
+
}
|
|
8326
|
+
}
|
|
8327
|
+
],
|
|
8289
8328
|
"attributes": [],
|
|
8290
8329
|
"props": [
|
|
8291
8330
|
{
|
|
@@ -8298,6 +8337,16 @@
|
|
|
8298
8337
|
"since": "2.43.0"
|
|
8299
8338
|
}
|
|
8300
8339
|
},
|
|
8340
|
+
{
|
|
8341
|
+
"name": "loading",
|
|
8342
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
8343
|
+
"type": "boolean",
|
|
8344
|
+
"description": "Whether to show a loading spinner over the preview.",
|
|
8345
|
+
"default": "false",
|
|
8346
|
+
"description-sections": {
|
|
8347
|
+
"since": "2.3.5"
|
|
8348
|
+
}
|
|
8349
|
+
},
|
|
8301
8350
|
{
|
|
8302
8351
|
"name": "render-toolbar",
|
|
8303
8352
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
@@ -8338,6 +8387,16 @@
|
|
|
8338
8387
|
"since": "2.43.0"
|
|
8339
8388
|
}
|
|
8340
8389
|
},
|
|
8390
|
+
{
|
|
8391
|
+
"name": "spin-props",
|
|
8392
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
8393
|
+
"type": "Partial<SpinProps>",
|
|
8394
|
+
"description": "Props forwarded to the internal `u-spin` used for the loading overlay.",
|
|
8395
|
+
"default": "undefined",
|
|
8396
|
+
"description-sections": {
|
|
8397
|
+
"since": "2.3.5"
|
|
8398
|
+
}
|
|
8399
|
+
},
|
|
8341
8400
|
{
|
|
8342
8401
|
"name": "src",
|
|
8343
8402
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/image",
|
|
@@ -10384,6 +10443,20 @@
|
|
|
10384
10443
|
"description": "Message or service content.",
|
|
10385
10444
|
"default": "undefined"
|
|
10386
10445
|
},
|
|
10446
|
+
{
|
|
10447
|
+
"name": "markdown",
|
|
10448
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10449
|
+
"type": "boolean",
|
|
10450
|
+
"description": "Render `content` (when it's a string) as sanitized Markdown. Only a safe subset of syntax is supported — see the Markdown Support section below.",
|
|
10451
|
+
"default": "false"
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
"name": "markdown-options",
|
|
10455
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10456
|
+
"type": "MarkdownOptions",
|
|
10457
|
+
"description": "Options to customize Markdown rendering — see MarkdownOptions Type below.",
|
|
10458
|
+
"default": "undefined"
|
|
10459
|
+
},
|
|
10387
10460
|
{
|
|
10388
10461
|
"name": "timestamp",
|
|
10389
10462
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|