@v1nt1248/3nclient-lib 0.0.7 → 0.0.9

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.
@@ -0,0 +1,72 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ id: {
3
+ type: import("vue").PropType<string>;
4
+ };
5
+ type: {
6
+ type: import("vue").PropType<"success" | "warning" | "info" | "error">;
7
+ };
8
+ content: {
9
+ type: import("vue").PropType<string>;
10
+ required: true;
11
+ };
12
+ icon: {
13
+ type: import("vue").PropType<string>;
14
+ };
15
+ iconSize: {
16
+ type: import("vue").PropType<string | number>;
17
+ };
18
+ iconColor: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ position: {
22
+ type: import("vue").PropType<"left" | "center" | "right">;
23
+ };
24
+ duration: {
25
+ type: import("vue").PropType<number>;
26
+ };
27
+ teleport: {
28
+ type: import("vue").PropType<string>;
29
+ };
30
+ onOpen: {
31
+ type: import("vue").PropType<() => void>;
32
+ };
33
+ onClose: {
34
+ type: import("vue").PropType<() => void>;
35
+ };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ id: {
38
+ type: import("vue").PropType<string>;
39
+ };
40
+ type: {
41
+ type: import("vue").PropType<"success" | "warning" | "info" | "error">;
42
+ };
43
+ content: {
44
+ type: import("vue").PropType<string>;
45
+ required: true;
46
+ };
47
+ icon: {
48
+ type: import("vue").PropType<string>;
49
+ };
50
+ iconSize: {
51
+ type: import("vue").PropType<string | number>;
52
+ };
53
+ iconColor: {
54
+ type: import("vue").PropType<string>;
55
+ };
56
+ position: {
57
+ type: import("vue").PropType<"left" | "center" | "right">;
58
+ };
59
+ duration: {
60
+ type: import("vue").PropType<number>;
61
+ };
62
+ teleport: {
63
+ type: import("vue").PropType<string>;
64
+ };
65
+ onOpen: {
66
+ type: import("vue").PropType<() => void>;
67
+ };
68
+ onClose: {
69
+ type: import("vue").PropType<() => void>;
70
+ };
71
+ }>>, {}, {}>;
72
+ export default _default;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import Ui3nIcon from './components/ui3n-icon.vue';
2
- import type { Ui3nIconProps, Ui3nIconEmits } from './components/ui3n-icon.vue';
3
- import Ui3nButton from './components/ui3n-button.vue';
4
- import type { Ui3nButtonProps, Ui3nButtonEmits } from './components/ui3n-button.vue';
5
- export { Ui3nIcon, Ui3nIconProps, Ui3nIconEmits, Ui3nButton, Ui3nButtonProps, Ui3nButtonEmits, };
1
+ export * from './constants';
2
+ export * from './tools';
3
+ export * from './plugins';
4
+ export * from './directives';
5
+ export * from './components';
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .ui3n-button[data-v-b81e9a9c]{--ui3n-button-text-size: 12px;--ui3n-button-text-height: 16px;--ui3n-button-text-color: var(--system-white, #fff);--ui3n-button-background: var(--blue-main, #0090ec);--ui3n-button-padding-vert: 8px;--ui3n-button-padding-horiz: 16px;display:flex;align-items:center;border:none;outline:none;padding:var(--ui3n-button-padding-vert) var(--ui3n-button-padding-horiz);border-radius:4px;background:var(--ui3n-button-background);font-size:var(--ui3n-button-text-size);line-height:var(--ui3n-button-text-height);font-weight:600;color:var(--ui3n-button-text-color);background-position:center;transition:background .5s ease-in-out}.ui3n-button--round[data-v-b81e9a9c]{--ui3n-button-padding-vert: 4px;--ui3n-button-padding-horiz: 4px;border-radius:50%}.ui3n-button--elevation[data-v-b81e9a9c]{box-shadow:#0003 0 3px 1px -2px #00000024 0 2px 2px 0 #0000001f 0 1px 5px 0}.ui3n-button[data-v-b81e9a9c]:not([disabled]){cursor:pointer}.ui3n-button[data-v-b81e9a9c]:not([disabled]):hover{background:var(--ui3n-button-background) radial-gradient(circle,transparent 1%,var(--ui3n-button-background) 1%) center/15000%}.ui3n-button:not([disabled]):hover .ui3n-button__icon[data-v-b81e9a9c],.ui3n-button:not([disabled]):hover .ui3n-button__text[data-v-b81e9a9c]{opacity:1}.ui3n-button[data-v-b81e9a9c]:not([disabled]):active{opacity:1;background-color:var(--gray-90, #444);background-size:100%;transition:background 0s}.ui3n-button__icon[data-v-b81e9a9c]{opacity:.85;transition:opacity .2s ease-in-out}.ui3n-button__text[data-v-b81e9a9c]{display:block;opacity:.85;transition:opacity .2s ease-in-out}.ui3n-button__text--margin[data-v-b81e9a9c]{margin-left:4px}.ui3n-button[disabled][data-v-b81e9a9c]{opacity:.7}
1
+ .ui3n-button[data-v-b81e9a9c]{--ui3n-button-text-size: 12px;--ui3n-button-text-height: 16px;--ui3n-button-text-color: var(--system-white, #fff);--ui3n-button-background: var(--blue-main, #0090ec);--ui3n-button-padding-vert: 8px;--ui3n-button-padding-horiz: 16px;display:flex;align-items:center;border:none;outline:none;padding:var(--ui3n-button-padding-vert) var(--ui3n-button-padding-horiz);border-radius:4px;background:var(--ui3n-button-background);font-size:var(--ui3n-button-text-size);line-height:var(--ui3n-button-text-height);font-weight:600;color:var(--ui3n-button-text-color);background-position:center;transition:background .5s ease-in-out}.ui3n-button--round[data-v-b81e9a9c]{--ui3n-button-padding-vert: 4px;--ui3n-button-padding-horiz: 4px;border-radius:50%}.ui3n-button--elevation[data-v-b81e9a9c]{box-shadow:#0003 0 3px 1px -2px #00000024 0 2px 2px 0 #0000001f 0 1px 5px 0}.ui3n-button[data-v-b81e9a9c]:not([disabled]){cursor:pointer}.ui3n-button[data-v-b81e9a9c]:not([disabled]):hover{background:var(--ui3n-button-background) radial-gradient(circle,transparent 1%,var(--ui3n-button-background) 1%) center/15000%}.ui3n-button:not([disabled]):hover .ui3n-button__icon[data-v-b81e9a9c],.ui3n-button:not([disabled]):hover .ui3n-button__text[data-v-b81e9a9c]{opacity:1}.ui3n-button[data-v-b81e9a9c]:not([disabled]):active{opacity:1;background-color:var(--gray-90, #444);background-size:100%;transition:background 0s}.ui3n-button__icon[data-v-b81e9a9c]{opacity:.85;transition:opacity .2s ease-in-out}.ui3n-button__text[data-v-b81e9a9c]{display:block;opacity:.85;transition:opacity .2s ease-in-out}.ui3n-button__text--margin[data-v-b81e9a9c]{margin-left:4px}.ui3n-button[disabled][data-v-b81e9a9c]{opacity:.7}.ui3n-notification[data-v-971b182e]{display:flex;position:relative;z-index:5000;border-radius:var(--half-size, 4px);padding:var(--base-size, 8px);max-width:400px;margin-bottom:var(--base-size)}.ui3n-notification--with-icon[data-v-971b182e]{display:flex;justify-content:flex-start;align-items:center}.ui3n-notification--with-icon .ui3n-notification__content[data-v-971b182e]{padding-left:var(--base-size, 8px)}.ui3n-notification__content[data-v-971b182e]{position:relative;flex-grow:2;font-size:var(--font-13, 13px);font-weight:400;line-height:1.5;color:var(--system-white, #fff)}.ui3n-notification__close[data-v-971b182e]{position:absolute;z-index:1;top:0;right:0}.ui3n-notification--success[data-v-971b182e]{background-color:#10c48f}.ui3n-notification--warning[data-v-971b182e]{background-color:#f80}.ui3n-notification--info[data-v-971b182e]{background-color:#10afef}.ui3n-notification--error[data-v-971b182e]{background-color:#ef5350}.ui3n-notification--left[data-v-971b182e]{margin-left:0;margin-right:auto}.ui3n-notification--center[data-v-971b182e]{margin-left:auto;margin-right:auto}.ui3n-notification--right[data-v-971b182e]{margin-left:auto;margin-right:0}
@@ -0,0 +1,21 @@
1
+ import { VNode } from 'vue';
2
+ import type { Ui3nNotificationProps, VueEventBus } from './constants';
3
+ import type { Ui3nButtonProps, Ui3nButtonEmits } from './components';
4
+ declare module '@vue/runtime-core' {
5
+ interface ComponentCustomProperties {
6
+ $createNotice: (params: Ui3nNotificationProps) => void;
7
+ $locale: string;
8
+ $tr: (key: string, placeholders?: Record<string, string>) => string;
9
+ $changeLocale: (lang: string) => void;
10
+ $emitter: VueEventBus;
11
+ }
12
+ }
13
+ declare module '@v1nt1248/3nclient-lib' {
14
+ class Ui3nButton {
15
+ $props: Ui3nButtonProps;
16
+ $emits: Ui3nButtonEmits;
17
+ $clots: {
18
+ default: () => VNode[];
19
+ };
20
+ }
21
+ }