@weni/unnnic-system 3.0.1-alpha.1 → 3.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weni/unnnic-system",
3
- "version": "3.0.1-alpha.1",
3
+ "version": "3.0.1",
4
4
  "type": "commonjs",
5
5
  "files": [
6
6
  "dist",
@@ -82,6 +82,7 @@
82
82
  "@vitest/ui": "^1.6.0",
83
83
  "@vue/eslint-config-prettier": "^9.0.0",
84
84
  "@vue/test-utils": "^2.4.6",
85
+
85
86
  "eslint": "^8.0.0",
86
87
  "eslint-config-prettier": "^9.1.0",
87
88
  "eslint-plugin-prettier": "^5.1.3",
@@ -342,26 +342,26 @@ $scheme-colors:
342
342
  // Background semantic colors
343
343
  "bg-base" $unnnic-color-white,
344
344
  "bg-soft" $unnnic-color-gray-50,
345
- "bg-muted" $unnnic-color-gray-200,
346
- "bg-info" $unnnic-color-aux-blue-50,
347
- "bg-success" $unnnic-color-aux-green-50,
345
+ "bg-muted" $unnnic-color-gray-100,
346
+ "bg-info" $unnnic-color-aux-blue-100,
347
+ "bg-success" $unnnic-color-aux-green-100,
348
348
  "bg-warning" $unnnic-color-aux-yellow-50,
349
349
  "bg-critical" $unnnic-color-aux-red-50,
350
350
 
351
351
  // Text semantic colors
352
- "text-base" $unnnic-color-gray-900,
353
- "text-muted" $unnnic-color-gray-500,
354
- "text-emphasized" $unnnic-color-gray-950,
355
- "text-inverted" $unnnic-color-teal-500,
356
- "text-info" $unnnic-color-aux-blue-500,
357
- "text-success" $unnnic-color-aux-green-500,
358
- "text-warning" $unnnic-color-aux-yellow-600,
359
- "text-critical" $unnnic-color-aux-red-500,
352
+ "fg-base" $unnnic-color-gray-500,
353
+ "fg-muted" $unnnic-color-gray-300,
354
+ "fg-emphasized" $unnnic-color-gray-900,
355
+ "fg-inverted" $unnnic-color-white,
356
+ "fg-info" $unnnic-color-aux-blue-500,
357
+ "fg-success" $unnnic-color-aux-green-500,
358
+ "fg-warning" $unnnic-color-aux-yellow-500,
359
+ "fg-critical" $unnnic-color-aux-red-500,
360
360
 
361
361
  // Border semantic colors
362
362
  "border-base" $unnnic-color-gray-200,
363
363
  "border-soft" $unnnic-color-gray-100,
364
- "border-muted" $unnnic-color-gray-300,
364
+ "border-muted" $unnnic-color-gray-200,
365
365
  "border-emphasized" $unnnic-color-gray-400,
366
366
  "border-info" $unnnic-color-aux-blue-300,
367
367
  "border-success" $unnnic-color-aux-green-300,
@@ -88,7 +88,6 @@ import ModalDialog from './ModalDialog/ModalDialog.vue';
88
88
  import Tour from './Tour/Tour.vue';
89
89
  import Navigator from './Navigator/index.vue';
90
90
  import SelectTime from './SelectTime/index.vue';
91
- import DataTable from './DataTable/index.vue';
92
91
 
93
92
  type VueComponent = Component;
94
93
 
@@ -187,7 +186,6 @@ export const components: ComponentsMap = {
187
186
  unnnicTour: Tour,
188
187
  unnnicNavigator: Navigator,
189
188
  unnnicSelectTime: SelectTime,
190
- unnnicDataTable: DataTable,
191
189
  };
192
190
 
193
191
  export const unnnicFontSize = fontSize;
@@ -280,5 +278,4 @@ export const unnnicDrawer = Drawer;
280
278
  export const unnnicTableNext = TableNext;
281
279
  export const unnnicTour = Tour;
282
280
  export const unnnicNavigator = Navigator;
283
- export const unnnicDataTable = DataTable;
284
- export const unnnicSelectTime = SelectTime as VueComponent;
281
+ export const unnnicSelectTime = SelectTime as VueComponent;
@@ -1,156 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
- headers: {
3
- type: {
4
- title: string;
5
- isSortable?: boolean;
6
- itemKey: string;
7
- align?: "start" | "center" | "end";
8
- size?: number | string;
9
- }[];
10
- required: true;
11
- };
12
- items: {
13
- type: {
14
- [key: string]: any;
15
- }[];
16
- required: true;
17
- };
18
- isLoading: {
19
- type: Boolean;
20
- default: false;
21
- };
22
- size: {
23
- type: "sm" | "md";
24
- default: "md";
25
- };
26
- height: {
27
- type: String;
28
- default: "";
29
- };
30
- maxHeight: {
31
- type: String;
32
- default: "";
33
- };
34
- clickable: {
35
- type: Boolean;
36
- default: false;
37
- };
38
- fixedHeaders: {
39
- type: Boolean;
40
- default: false;
41
- };
42
- hideHeaders: {
43
- type: Boolean;
44
- default: false;
45
- };
46
- hidePagination: {
47
- type: Boolean;
48
- default: false;
49
- };
50
- page: {
51
- type: Number;
52
- default: 1;
53
- };
54
- pageTotal: {
55
- type: Number;
56
- default: 0;
57
- };
58
- pageInterval: {
59
- type: Number;
60
- default: 5;
61
- };
62
- locale: {
63
- type: string;
64
- default: "en";
65
- };
66
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
- "update:sort": (sort: {
68
- header: string;
69
- order: string;
70
- }) => any;
71
- itemClick: (item: {
72
- [key: string]: any;
73
- }) => any;
74
- "update:page": (page: number) => any;
75
- }, string, import('vue').PublicProps, Readonly<{
76
- headers: {
77
- type: {
78
- title: string;
79
- isSortable?: boolean;
80
- itemKey: string;
81
- align?: "start" | "center" | "end";
82
- size?: number | string;
83
- }[];
84
- required: true;
85
- };
86
- items: {
87
- type: {
88
- [key: string]: any;
89
- }[];
90
- required: true;
91
- };
92
- isLoading: {
93
- type: Boolean;
94
- default: false;
95
- };
96
- size: {
97
- type: "sm" | "md";
98
- default: "md";
99
- };
100
- height: {
101
- type: String;
102
- default: "";
103
- };
104
- maxHeight: {
105
- type: String;
106
- default: "";
107
- };
108
- clickable: {
109
- type: Boolean;
110
- default: false;
111
- };
112
- fixedHeaders: {
113
- type: Boolean;
114
- default: false;
115
- };
116
- hideHeaders: {
117
- type: Boolean;
118
- default: false;
119
- };
120
- hidePagination: {
121
- type: Boolean;
122
- default: false;
123
- };
124
- page: {
125
- type: Number;
126
- default: 1;
127
- };
128
- pageTotal: {
129
- type: Number;
130
- default: 0;
131
- };
132
- pageInterval: {
133
- type: Number;
134
- default: 5;
135
- };
136
- locale: {
137
- type: string;
138
- default: "en";
139
- };
140
- }> & Readonly<{
141
- "onUpdate:sort"?: ((sort: {
142
- header: string;
143
- order: string;
144
- }) => any) | undefined;
145
- onItemClick?: ((item: {
146
- [key: string]: any;
147
- }) => any) | undefined;
148
- "onUpdate:page"?: ((page: number) => any) | undefined;
149
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, any>;
150
- export default _default;
151
- type __VLS_WithTemplateSlots<T, S> = T & {
152
- new (): {
153
- $slots: S;
154
- };
155
- };
156
- //# sourceMappingURL=index.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.vue"],"names":[],"mappings":"AA2JA;;aA6gBW;QACP,IAAI,EAAE;mBAtBD,MAAM;yBACA,OAAO;qBACX,MAAM;oBACP,OAAO,GAAG,QAAQ,GAAG,KAAK;mBAC3B,MAAM,GAAG,MAAM;WAkBG,CAAC;QACxB,QAAQ,EAAE,IAAI,CAAC;KAChB;WACM;QACL,IAAI,EAAE;;WAAe,CAAC;QACtB,QAAQ,EAAE,IAAI,CAAC;KAChB;eACU;QACT,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;KAChB;UACK;QACJ,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAClB,OAAO,EAAE,IAAI,CAAC;KACf;YACO;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,EAAE,CAAC;KACb;eACU;QACT,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,EAAE,CAAC;KACb;eACU;QACT,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;KAChB;kBACa;QACZ,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;KAChB;iBACY;QACX,IAAI,EAAE,OAAO,CAAC;QACd,OAAO,EAAE,KAAK,CAAC;KAChB;oBACe;QACd,IAAI,EAAE,OAAO,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