@uzum-tech/ui 1.12.19 → 1.12.21

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/README.md ADDED
@@ -0,0 +1,73 @@
1
+ <p align="center">
2
+ <img width="144px" src="https://ik.imagekit.io/jbalancer/uzum-logo.svg?updatedAt=1692012347116" />
3
+ </p>
4
+
5
+ <h1 align="center">Uzum UI</h1>
6
+ <p align="center">A Vue 3 Component Library</p>
7
+ <p align="center"><b>Fairly Complete, Theme Customizable, Uses TypeScript, Fast</b></p>
8
+
9
+ <p align="center">English</p>
10
+
11
+ ## Documentation
12
+
13
+ [www.uzumui.com](http://www.uzumui.com)
14
+
15
+ ## Features
16
+
17
+ ### Fairly Complete
18
+
19
+ There are more than 80 components. Hope they can help you write less code.
20
+
21
+ What's more, they are all treeshakable.
22
+
23
+ ### Theme Customizable
24
+
25
+ We provide an advanced type safe theme system built using TypeScript. All you need is to provide a theme overrides object in JS. Then all the stuff will be done by us.
26
+
27
+ What's more, no less/sass/css variables, no webpack loaders are required.
28
+
29
+ ### Uses TypeScript
30
+
31
+ All the stuff in Uzum UI is written in TypeScript. It can work with your typescript project seamlessly.
32
+
33
+ What's more, you don't need to import any CSS to use the components.
34
+
35
+ ### Fast
36
+
37
+ I try to make it not rather slow. At least select, tree, transfer, table and cascader work with virtual list.
38
+
39
+ What's more, ..., no more. Just enjoy it.
40
+
41
+ ## Installation
42
+
43
+ ### npm
44
+
45
+ Use npm to install.
46
+
47
+ ```bash
48
+ npm i -D @uzum-tech/ui
49
+ ```
50
+
51
+ ### Fonts
52
+
53
+ ```bash
54
+ npm i -D vfonts
55
+ ```
56
+
57
+ ### Icons
58
+
59
+ Uzum UI recommends using [xicons](https://www.xicons.org) as icon library.
60
+
61
+ ### Design Resources
62
+
63
+ [Uzum UI (Figma)](https://www.figma.com/file/yKEpk8950c0bZ2fA51psBI/Components-Web?type=design&t=brzuYK7mC2iOHJJ1-6).
64
+
65
+ ## Contributing
66
+
67
+ Later...
68
+
69
+ ## License
70
+
71
+ Uzum UI is licensed under the [MIT license](https://opensource.org/licenses/MIT).
72
+
73
+ Graphics resouces of `result` component is licensed under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/). The graphics resources come from [Twemoji](https://github.com/twitter/twemoji).
package/dist/index.js CHANGED
@@ -54326,8 +54326,8 @@
54326
54326
  };
54327
54327
  const renderAttachment = () => {
54328
54328
  const fileList = props.attachments.map(
54329
- (attachment, index) => ({
54330
- id: `${String(props.message.id)}-attachment-${index}`,
54329
+ (attachment) => ({
54330
+ id: `${String(attachment.id)}`,
54331
54331
  name: attachment.name,
54332
54332
  status: attachment.status || ChatAttachmentStatus.FINISHED,
54333
54333
  percentage: attachment.percentage ?? null,
@@ -124753,6 +124753,7 @@
124753
124753
  opacity: .5;
124754
124754
  `), c$1("& .u-tabs-tab--checked", `
124755
124755
  color: var(--u-header-tab-text-color-active);
124756
+ border-color: var(--u-header-tab-indicator-color);
124756
124757
  `), c$1("& .u-tabs-tab:hover", `
124757
124758
  color: var(--u-header-tab-text-color-hover);
124758
124759
  `), c$1("& .u-tabs-bar", `
@@ -124807,6 +124808,7 @@
124807
124808
  background-color: var(--u-header-card-bg-color);
124808
124809
  border-radius: var(--u-header-card-radius);
124809
124810
  padding: var(--u-header-card-padding);
124811
+ box-shadow: var(--u-header-card-shadow);
124810
124812
  `), cE("menu-grid", `
124811
124813
  display: grid;
124812
124814
  gap: var(--u-header-card-gap);
@@ -126273,6 +126275,7 @@
126273
126275
  required: false
126274
126276
  },
126275
126277
  cssVars: Object,
126278
+ langDropdownThemeOverrides: Object,
126276
126279
  onSearch: Function,
126277
126280
  onPreview: Function,
126278
126281
  onLogout: Function,
@@ -126356,7 +126359,8 @@
126356
126359
  UDropdown,
126357
126360
  {
126358
126361
  options: this.langOptions,
126359
- onSelect: this.onLanguageSelect
126362
+ onSelect: this.onLanguageSelect,
126363
+ themeOverrides: this.langDropdownThemeOverrides
126360
126364
  },
126361
126365
  {
126362
126366
  default: () => /* @__PURE__ */ vue.h(
@@ -126788,6 +126792,7 @@
126788
126792
  "--u-header-card-divider-color": self.cardDividerColor,
126789
126793
  "--u-header-card-gap": self.cardGap,
126790
126794
  "--u-header-card-padding": self.cardPadding,
126795
+ "--u-header-card-shadow": self.cardShadow,
126791
126796
  "--u-header-badge-bg-color": self.badgeBackgroundColor,
126792
126797
  "--u-header-badge-text-color": self.badgeTextColor,
126793
126798
  "--u-header-action-icon-color": self.actionIconColor,
@@ -128771,7 +128776,7 @@
128771
128776
  watermarkProps: watermarkProps
128772
128777
  });
128773
128778
 
128774
- var version = "1.12.19";
128779
+ var version = "1.12.21";
128775
128780
 
128776
128781
  function useExposeProxy(targetRef) {
128777
128782
  return new Proxy({}, {