@uzum-tech/ui 1.12.21 → 1.13.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/index.js +2789 -510
- package/dist/index.prod.js +4 -4
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +1 -0
- package/es/_styles/common/light.js +1 -1
- package/es/chat/src/ChatMessages.js +6 -1
- package/es/chat/src/styles/index.cssr.js +5 -1
- package/es/components.d.ts +1 -0
- package/es/components.js +1 -0
- package/es/config-provider/src/internal-interface.d.ts +3 -0
- package/es/date-picker-v2/index.d.ts +5 -0
- package/es/date-picker-v2/index.js +2 -0
- package/es/date-picker-v2/src/DatePickerV2.d.ts +4765 -0
- package/es/date-picker-v2/src/DatePickerV2.js +750 -0
- package/es/date-picker-v2/src/composables/useCalendarScroll.d.ts +1133 -0
- package/es/date-picker-v2/src/composables/useCalendarScroll.js +61 -0
- package/es/date-picker-v2/src/config.d.ts +14 -0
- package/es/date-picker-v2/src/config.js +34 -0
- package/es/date-picker-v2/src/interface.d.ts +42 -0
- package/es/date-picker-v2/src/interface.js +1 -0
- package/es/date-picker-v2/src/panel/CalendarPanel.d.ts +1222 -0
- package/es/date-picker-v2/src/panel/CalendarPanel.js +186 -0
- package/es/date-picker-v2/src/panel/CalendarRangePanel.d.ts +1246 -0
- package/es/date-picker-v2/src/panel/CalendarRangePanel.js +205 -0
- package/es/date-picker-v2/src/styles/index.cssr.d.ts +2 -0
- package/es/date-picker-v2/src/styles/index.cssr.js +190 -0
- package/es/date-picker-v2/src/utils.d.ts +12 -0
- package/es/date-picker-v2/src/utils.js +92 -0
- package/es/date-picker-v2/styles/dark.d.ts +447 -0
- package/es/date-picker-v2/styles/dark.js +19 -0
- package/es/date-picker-v2/styles/index.d.ts +3 -0
- package/es/date-picker-v2/styles/index.js +2 -0
- package/es/date-picker-v2/styles/light.d.ts +477 -0
- package/es/date-picker-v2/styles/light.js +56 -0
- package/es/dialog/src/DialogProvider.d.ts +2 -0
- package/es/header/src/Header.js +4 -1
- package/es/header/src/HeaderSearchDesktop.d.ts +12 -0
- package/es/header/src/HeaderSearchDesktop.js +21 -4
- package/es/header/src/HeaderSearchMobile.d.ts +12 -0
- package/es/header/src/HeaderSearchMobile.js +8 -2
- package/es/header/src/mobile/HeaderMobile.js +18 -3
- package/es/locales/common/enUS.js +1 -1
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/es/themes/dark.js +2 -0
- package/es/themes/light.js +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +1 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/chat/src/ChatMessages.js +6 -1
- package/lib/chat/src/styles/index.cssr.js +5 -1
- package/lib/components.d.ts +1 -0
- package/lib/components.js +1 -0
- package/lib/config-provider/src/internal-interface.d.ts +3 -0
- package/lib/date-picker-v2/index.d.ts +5 -0
- package/lib/date-picker-v2/index.js +11 -0
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +4765 -0
- package/lib/date-picker-v2/src/DatePickerV2.js +756 -0
- package/lib/date-picker-v2/src/composables/useCalendarScroll.d.ts +1133 -0
- package/lib/date-picker-v2/src/composables/useCalendarScroll.js +64 -0
- package/lib/date-picker-v2/src/config.d.ts +14 -0
- package/lib/date-picker-v2/src/config.js +37 -0
- package/lib/date-picker-v2/src/interface.d.ts +42 -0
- package/lib/date-picker-v2/src/interface.js +4 -0
- package/lib/date-picker-v2/src/panel/CalendarPanel.d.ts +1222 -0
- package/lib/date-picker-v2/src/panel/CalendarPanel.js +188 -0
- package/lib/date-picker-v2/src/panel/CalendarRangePanel.d.ts +1246 -0
- package/lib/date-picker-v2/src/panel/CalendarRangePanel.js +207 -0
- package/lib/date-picker-v2/src/styles/index.cssr.d.ts +2 -0
- package/lib/date-picker-v2/src/styles/index.cssr.js +195 -0
- package/lib/date-picker-v2/src/utils.d.ts +12 -0
- package/lib/date-picker-v2/src/utils.js +101 -0
- package/lib/date-picker-v2/styles/dark.d.ts +447 -0
- package/lib/date-picker-v2/styles/dark.js +21 -0
- package/lib/date-picker-v2/styles/index.d.ts +3 -0
- package/lib/date-picker-v2/styles/index.js +10 -0
- package/lib/date-picker-v2/styles/light.d.ts +477 -0
- package/lib/date-picker-v2/styles/light.js +60 -0
- package/lib/dialog/src/DialogProvider.d.ts +2 -0
- package/lib/header/src/Header.js +4 -1
- package/lib/header/src/HeaderSearchDesktop.d.ts +12 -0
- package/lib/header/src/HeaderSearchDesktop.js +20 -3
- package/lib/header/src/HeaderSearchMobile.d.ts +12 -0
- package/lib/header/src/HeaderSearchMobile.js +7 -1
- package/lib/header/src/mobile/HeaderMobile.js +18 -3
- package/lib/locales/common/enUS.js +1 -1
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
- package/lib/themes/dark.js +2 -0
- package/lib/themes/light.js +2 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/web-types.json +161 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import commonVariables from './_common';
|
|
2
|
-
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { scrollbarColor: 'rgba(255, 255, 255, 0.25)', scrollbarColorHover: 'rgba(255, 255, 255, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary50: '#2B204E', brandPrimary100: '#412A89', brandPrimary200: '#6A40ED', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#8967F1', brandPrimary550: '#6607DF', brandPrimary600: '#5D46A6', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#101010', surfaceSecondary: '#1D1D1D', containerPrimary: '#1D1D1D', containerSecondary: '#313135', textPrimary: '#F3F4F6', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#101010', textBrand: '#F3F4F6', elementsPrimary: '#F3F4F6', elementsSecondary: '#101010', elementsTertiary: '#222222', elementsQuaternary: '#424247', elementsQuinary: '#707479', elementsDarkQuinary: '#919396', elementsSenary: '#DFDFDF', elementsOnContainer: '#101010', transparencyPrimary: 'rgba(255, 255, 255, 0.1)', transparencySecondary: 'rgba(255, 255, 255, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.75)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0 0 0 1px #424247', shadowDepth: '0px 8px 8px 0px rgba(255, 255, 255, 0.25)' // В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
|
|
2
|
+
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { scrollbarColor: 'rgba(255, 255, 255, 0.25)', scrollbarColorHover: 'rgba(255, 255, 255, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary10: '#F3F2F9', brandPrimary50: '#2B204E', brandPrimary100: '#412A89', brandPrimary200: '#6A40ED', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#8967F1', brandPrimary550: '#6607DF', brandPrimary600: '#5D46A6', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#101010', surfaceSecondary: '#1D1D1D', containerPrimary: '#1D1D1D', containerSecondary: '#313135', textPrimary: '#F3F4F6', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#101010', textBrand: '#F3F4F6', elementsPrimary: '#F3F4F6', elementsSecondary: '#101010', elementsTertiary: '#222222', elementsQuaternary: '#424247', elementsQuinary: '#707479', elementsDarkQuinary: '#919396', elementsSenary: '#DFDFDF', elementsOnContainer: '#101010', transparencyPrimary: 'rgba(255, 255, 255, 0.1)', transparencySecondary: 'rgba(255, 255, 255, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.75)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0 0 0 1px #424247', shadowDepth: '0px 8px 8px 0px rgba(255, 255, 255, 0.25)' // В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
|
|
3
3
|
});
|
|
4
4
|
export default derived;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import commonVariables from './_common';
|
|
2
|
-
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { scrollbarColor: 'rgba(0, 0, 0, 0.25)', scrollbarColorHover: 'rgba(0, 0, 0, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary50: '#F8F2FF', brandPrimary100: '#EAE2FF', brandPrimary200: '#DACCFF', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#7000FF', brandPrimary550: '#6607DF', brandPrimary600: '#5B34C1', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#fff', surfaceSecondary: '#1d1d1d', containerPrimary: '#fff', containerSecondary: '#F3F4F6', textPrimary: '#101010', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#FFFFFF', textBrand: '#7000FF', elementsPrimary: '#101010', elementsSecondary: '#fff', elementsTertiary: '#F3F4F6', elementsQuaternary: '#E7E8EA', elementsQuinary: '#C5C7CA', elementsDarkQuinary: '#919396', elementsSenary: '#4E4D4D', elementsOnContainer: '#fff', transparencyPrimary: 'rgba(0, 0, 0, 0.35)', transparencySecondary: 'rgba(0, 0, 0, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.40)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0px 20px 80px 0px rgba(0, 0, 0, 0.07)', shadowDepth: '0px 8px 8px 0px rgba(0, 0, 0, 0.25)' });
|
|
2
|
+
const derived = Object.assign(Object.assign({ name: 'common' }, commonVariables), { scrollbarColor: 'rgba(0, 0, 0, 0.25)', scrollbarColorHover: 'rgba(0, 0, 0, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary10: '#F3F2F9', brandPrimary50: '#F8F2FF', brandPrimary100: '#EAE2FF', brandPrimary200: '#DACCFF', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#7000FF', brandPrimary550: '#6607DF', brandPrimary600: '#5B34C1', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#fff', surfaceSecondary: '#1d1d1d', containerPrimary: '#fff', containerSecondary: '#F3F4F6', textPrimary: '#101010', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#FFFFFF', textBrand: '#7000FF', elementsPrimary: '#101010', elementsSecondary: '#fff', elementsTertiary: '#F3F4F6', elementsQuaternary: '#E7E8EA', elementsQuinary: '#C5C7CA', elementsDarkQuinary: '#919396', elementsSenary: '#4E4D4D', elementsOnContainer: '#fff', transparencyPrimary: 'rgba(0, 0, 0, 0.35)', transparencySecondary: 'rgba(0, 0, 0, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.40)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0px 20px 80px 0px rgba(0, 0, 0, 0.07)', shadowDepth: '0px 8px 8px 0px rgba(0, 0, 0, 0.25)' });
|
|
3
3
|
export default derived;
|
|
@@ -208,7 +208,12 @@ export default defineComponent({
|
|
|
208
208
|
? `${mergedClsPrefixRef.value}-chat-main__message--own`
|
|
209
209
|
: `${mergedClsPrefixRef.value}-chat-main__message--other`
|
|
210
210
|
] },
|
|
211
|
-
h("div", { class:
|
|
211
|
+
h("div", { class: [
|
|
212
|
+
`${mergedClsPrefixRef.value}-chat-main__message-wrapper`,
|
|
213
|
+
isOwn
|
|
214
|
+
? `${mergedClsPrefixRef.value}-chat-main__message-wrapper--own`
|
|
215
|
+
: `${mergedClsPrefixRef.value}-chat-main__message-wrapper--other`
|
|
216
|
+
] },
|
|
212
217
|
hasBubbleActionsSlot ? (h("div", { onContextmenu: (e) => {
|
|
213
218
|
e.preventDefault();
|
|
214
219
|
contextMenuShow.value = false;
|
|
@@ -224,7 +224,11 @@ export default cB('chat', `
|
|
|
224
224
|
flex-direction: column;
|
|
225
225
|
gap: 4px;
|
|
226
226
|
flex-shrink: 0;
|
|
227
|
-
|
|
227
|
+
`, [cM('own', `
|
|
228
|
+
align-items: flex-end;
|
|
229
|
+
`), cM('other', `
|
|
230
|
+
align-items: flex-start;
|
|
231
|
+
`)]), cE('message-bubble', `
|
|
228
232
|
border-radius: 18px;
|
|
229
233
|
font-size: 14px;
|
|
230
234
|
line-height: 20px;
|
package/es/components.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './countdown';
|
|
|
26
26
|
export * from './number-animation';
|
|
27
27
|
export * from './data-table';
|
|
28
28
|
export * from './date-picker';
|
|
29
|
+
export * from './date-picker-v2';
|
|
29
30
|
export * from './descriptions';
|
|
30
31
|
export * from './dialog';
|
|
31
32
|
export * from './divider';
|
package/es/components.js
CHANGED
|
@@ -26,6 +26,7 @@ export * from './countdown';
|
|
|
26
26
|
export * from './number-animation';
|
|
27
27
|
export * from './data-table';
|
|
28
28
|
export * from './date-picker';
|
|
29
|
+
export * from './date-picker-v2';
|
|
29
30
|
export * from './descriptions';
|
|
30
31
|
export * from './dialog';
|
|
31
32
|
export * from './divider';
|
|
@@ -189,6 +189,7 @@ import { SafeTopScrollbarTheme } from '../../_internal/safe-top-scrollbar/styles
|
|
|
189
189
|
import { HeaderTheme } from '../../header/styles';
|
|
190
190
|
import { QrCodeTheme } from '../../qr-code/styles';
|
|
191
191
|
import { HeaderProps } from '../../header';
|
|
192
|
+
import { DatePickerV2Props, DatePickerV2Theme } from '../../components';
|
|
192
193
|
export interface GlobalThemeWithoutCommon {
|
|
193
194
|
Alert?: AlertTheme;
|
|
194
195
|
Anchor?: AnchorTheme;
|
|
@@ -212,6 +213,7 @@ export interface GlobalThemeWithoutCommon {
|
|
|
212
213
|
ColorPicker?: ColorPickerTheme;
|
|
213
214
|
DataTable?: DataTableTheme;
|
|
214
215
|
DatePicker?: DatePickerTheme;
|
|
216
|
+
DatePickerV2?: DatePickerV2Theme;
|
|
215
217
|
Descriptions?: DescriptionsTheme;
|
|
216
218
|
Dialog?: DialogTheme;
|
|
217
219
|
Divider?: DividerTheme;
|
|
@@ -319,6 +321,7 @@ export interface GlobalComponentConfig {
|
|
|
319
321
|
DatePicker?: DatePickerProps & {
|
|
320
322
|
timePickerSize?: TimePickerSize;
|
|
321
323
|
};
|
|
324
|
+
DatePickerV2?: DatePickerV2Props;
|
|
322
325
|
Descriptions?: DescriptionsProps;
|
|
323
326
|
Dialog?: DialogProps & {
|
|
324
327
|
iconPlacement?: IconPlacement;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as UDatePickerV2 } from './src/DatePickerV2';
|
|
2
|
+
export type { DatePickerV2Props } from './src/DatePickerV2';
|
|
3
|
+
export type { Value as DatePickerV2Value, RangeValue as DatePickerV2RangeValue, TriggerPreset as DatePickerV2TriggerPreset } from './src/interface';
|
|
4
|
+
export { datePickerV2Light, datePickerV2Dark } from './styles';
|
|
5
|
+
export type { DatePickerV2Theme, DatePickerV2ThemeVars } from './styles';
|