@weni/unnnic-system 3.35.4 → 3.35.5-alpha.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.
Files changed (37) hide show
  1. package/dist/components/DataTable/DataTableCell.css +1 -1
  2. package/dist/components/DataTable/DataTableCell.vue.mjs +2 -2
  3. package/dist/components/DataTable/DataTableCell.vue2.mjs +68 -31
  4. package/dist/components/DataTable/DataTableLoadingRow.css +1 -1
  5. package/dist/components/DataTable/DataTableLoadingRow.vue.mjs +1 -1
  6. package/dist/components/DataTable/DataTableLoadingRow.vue2.mjs +5 -4
  7. package/dist/components/DataTable/index.css +1 -1
  8. package/dist/components/DataTable/index.vue.mjs +4 -4
  9. package/dist/components/DataTable/index.vue2.mjs +95 -91
  10. package/dist/scss/colors-hsl.scss +179 -0
  11. package/dist/scss/colors.scss +134 -0
  12. package/dist/scss/deprecated/colors.scss +436 -0
  13. package/dist/scss/deprecated/font-utilities.scss +88 -0
  14. package/dist/scss/deprecated/fonts.scss +52 -0
  15. package/dist/scss/deprecated/grid.scss +52 -0
  16. package/dist/scss/deprecated/spacing.scss +103 -0
  17. package/dist/scss/fonts.scss +73 -0
  18. package/dist/scss/icon-sizes.scss +9 -0
  19. package/dist/scss/radii.scss +9 -0
  20. package/dist/scss/scheme-colors.scss +418 -0
  21. package/dist/scss/semantic-colors.scss +48 -0
  22. package/dist/scss/semantic-text-utilities.scss +26 -0
  23. package/dist/scss/shadows.scss +5 -0
  24. package/dist/scss/spaces.scss +17 -0
  25. package/dist/scss/tailwind.scss +113 -0
  26. package/dist/scss/theme.scss +98 -0
  27. package/dist/scss/unnnic.scss +11 -0
  28. package/dist/style.css +3 -3
  29. package/dist/unnnic.umd.js +18 -18
  30. package/package.json +9 -5
  31. package/src/components/DataTable/DataTableCell.vue +59 -2
  32. package/src/components/DataTable/DataTableLoadingRow.vue +1 -0
  33. package/src/components/DataTable/__tests__/DataTable.spec.js +56 -0
  34. package/src/components/DataTable/__tests__/DataTableCell.spec.js +81 -1
  35. package/src/components/DataTable/index.vue +9 -0
  36. package/src/components/DataTable/types.ts +1 -0
  37. package/src/stories/DataTable.stories.js +34 -0
@@ -0,0 +1,5 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ $unnnic-shadow-1: 0px 0.25 * 16px /* 4px */ 16px /* 16px */ 0px rgba(0, 0, 0, 0.16);
5
+ $unnnic-shadow-2: 0px 1.5 * 16px /* 24px */ 3 * 16px /* 48px */ 0px rgba(0, 0, 0, 0.16);
@@ -0,0 +1,17 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ $unnnic-space-0: 0 /* 0px */;
5
+ $unnnic-space-1: 0.25 * 16px /* 4px */;
6
+ $unnnic-space-2: 0.5 * 16px /* 8px */;
7
+ $unnnic-space-3: 0.75 * 16px /* 12px */;
8
+ $unnnic-space-4: 1 * 16px /* 16px */;
9
+ $unnnic-space-5: 1.25 * 16px /* 20px */;
10
+ $unnnic-space-6: 1.5 * 16px /* 24px */;
11
+ $unnnic-space-7: 1.75 * 16px /* 28px */;
12
+ $unnnic-space-8: 2 * 16px /* 32px */;
13
+ $unnnic-space-10: 2.5 * 16px /* 40px */;
14
+ $unnnic-space-12: 3 * 16px /* 48px */;
15
+ $unnnic-space-16: 4 * 16px /* 64px */;
16
+ $unnnic-space-20: 5 * 16px /* 80px */;
17
+ $unnnic-space-05: 0.125 * 16px /* 2px */;
@@ -0,0 +1,113 @@
1
+ @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..600;1,14..32,400..600&display=swap');
2
+ @import './colors-hsl.scss';
3
+ @import './radii.scss';
4
+ @import './fonts.scss';
5
+ @import './theme.scss';
6
+ @import './deprecated/font-utilities.scss';
7
+ @import './deprecated/grid.scss';
8
+ @import './semantic-text-utilities.scss';
9
+
10
+ @tailwind base;
11
+ @tailwind components;
12
+ @tailwind utilities;
13
+
14
+ @layer base {
15
+ :root {
16
+ /* Background colors */
17
+ --background: #{$unnnic-color-bg-base-hsl};
18
+ --foreground: #{$unnnic-color-fg-emphasized-hsl};
19
+
20
+ /* Card colors */
21
+ --card: #{$unnnic-color-bg-base-hsl};
22
+ --card-foreground: #{$unnnic-color-fg-emphasized-hsl};
23
+
24
+ /* Popover colors */
25
+ --popover: #{$unnnic-color-bg-base-hsl};
26
+ --popover-foreground: #{$unnnic-color-fg-emphasized-hsl};
27
+
28
+ /* Primary colors */
29
+ --primary: #{$unnnic-color-teal-8-hsl};
30
+ --primary-foreground: #{$unnnic-color-fg-on-primary-hsl};
31
+
32
+ /* Secondary colors */
33
+ --secondary: #{$unnnic-color-gray-2-hsl};
34
+ --secondary-foreground: #{$unnnic-color-gray-13-hsl};
35
+
36
+ /* Muted colors */
37
+ --muted: #{$unnnic-color-gray-2-hsl};
38
+ --muted-foreground: #{$unnnic-color-fg-base-hsl};
39
+
40
+ /* Accent colors */
41
+ --accent: #{$unnnic-color-gray-1-hsl};
42
+ --accent-foreground: #{$unnnic-color-gray-13-hsl};
43
+
44
+ /* Destructive colors */
45
+ --destructive: #{$unnnic-color-red-7-hsl};
46
+ --destructive-foreground: #{$unnnic-color-gray-0-hsl};
47
+
48
+ /* Border colors */
49
+ --border: #{$unnnic-color-border-base-hsl};
50
+ --input: #{$unnnic-color-border-base-hsl};
51
+
52
+ /* Ring color (focus) */
53
+ --ring: #{$unnnic-color-teal-8-hsl};
54
+
55
+ /* Border radius */
56
+ --radius: #{$unnnic-radius-2};
57
+ }
58
+
59
+ .dark {
60
+ --background: #{$unnnic-color-gray-12-hsl};
61
+ --foreground: #{$unnnic-color-gray-0-hsl};
62
+
63
+ --card: #{$unnnic-color-gray-12-hsl};
64
+ --card-foreground: #{$unnnic-color-gray-0-hsl};
65
+
66
+ --popover: #{$unnnic-color-gray-12-hsl};
67
+ --popover-foreground: #{$unnnic-color-gray-0-hsl};
68
+
69
+ --primary: #{$unnnic-color-teal-6-hsl};
70
+ --primary-foreground: #{$unnnic-color-gray-13-hsl};
71
+
72
+ --secondary: #{$unnnic-color-gray-10-hsl};
73
+ --secondary-foreground: #{$unnnic-color-gray-0-hsl};
74
+
75
+ --muted: #{$unnnic-color-gray-10-hsl};
76
+ --muted-foreground: #{$unnnic-color-gray-5-hsl};
77
+
78
+ --accent: #{$unnnic-color-gray-10-hsl};
79
+ --accent-foreground: #{$unnnic-color-gray-0-hsl};
80
+
81
+ --destructive: #{$unnnic-color-red-8-hsl};
82
+ --destructive-foreground: #{$unnnic-color-gray-0-hsl};
83
+
84
+ --border: #{$unnnic-color-gray-10-hsl};
85
+ --input: #{$unnnic-color-gray-10-hsl};
86
+
87
+ --ring: #{$unnnic-color-teal-6-hsl};
88
+ }
89
+ }
90
+
91
+ @layer base {
92
+ * {
93
+ @apply border-border;
94
+ }
95
+
96
+ body {
97
+ @apply bg-background text-foreground;
98
+ font-family: $unnnic-font-family;
99
+ }
100
+
101
+ button {
102
+ border: none;
103
+ background: none;
104
+ padding: 0;
105
+ margin: 0;
106
+ cursor: pointer;
107
+ }
108
+ }
109
+
110
+ .unnnic--clickable {
111
+ cursor: pointer;
112
+ }
113
+
@@ -0,0 +1,98 @@
1
+
2
+ // Do not edit directly, this file was auto-generated.
3
+
4
+ :root {
5
+ --unnnic-color-bg-base: #FFFFFF;
6
+ --unnnic-color-bg-base-soft: #F5F5F5;
7
+ --unnnic-color-bg-muted: #EBEBEB;
8
+ --unnnic-color-bg-accent-plain: #CFF8F4;
9
+ --unnnic-color-bg-accent-strong: #01A29B;
10
+ --unnnic-color-bg-info: #F1F8FD;
11
+ --unnnic-color-bg-success: #E9FCE3;
12
+ --unnnic-color-bg-warning: #FBF7D4;
13
+ --unnnic-color-bg-critical: #FDF6F5;
14
+ --unnnic-color-bg-red-plain: #FFDFD9;
15
+ --unnnic-color-bg-red-strong: #EC3727;
16
+ --unnnic-color-bg-orange-plain: #FFE0AE;
17
+ --unnnic-color-bg-orange-strong: #E57001;
18
+ --unnnic-color-bg-yellow-plain: #FDF5AD;
19
+ --unnnic-color-bg-yellow-strong: #B18D01;
20
+ --unnnic-color-bg-green-plain: #AFF79E;
21
+ --unnnic-color-bg-green-strong: #08A822;
22
+ --unnnic-color-bg-teal-plain: #ABF2EB;
23
+ --unnnic-color-bg-teal-strong: #01A29B;
24
+ --unnnic-color-bg-blue-plain: #CBE9FF;
25
+ --unnnic-color-bg-blue-strong: #3993F4;
26
+ --unnnic-color-bg-purple-plain: #EDDCFE;
27
+ --unnnic-color-bg-purple-strong: #AD71F8;
28
+ --unnnic-color-bg-pink-plain: #FFDFEB;
29
+ --unnnic-color-bg-pink-strong: #EF5997;
30
+ --unnnic-color-bg-inverted: #1F1F1F;
31
+ --unnnic-color-fg-base: #3D3D3D;
32
+ --unnnic-color-fg-emphasized: #1F1F1F;
33
+ --unnnic-color-fg-muted: #707070;
34
+ --unnnic-color-fg-inverted: #FFFFFF;
35
+ --unnnic-color-fg-on-primary: #FFFFFF;
36
+ --unnnic-color-fg-accent: #01A29B;
37
+ --unnnic-color-fg-info: #157BF4;
38
+ --unnnic-color-fg-success: #019213;
39
+ --unnnic-color-fg-warning: #9C7901;
40
+ --unnnic-color-fg-critical: #EC3727;
41
+ --unnnic-color-border-base: #E0E0E0;
42
+ --unnnic-color-border-muted: #EBEBEB;
43
+ --unnnic-color-border-emphasized: #999999;
44
+ --unnnic-color-border-accent-plain: #66DBD3;
45
+ --unnnic-color-border-accent-strong: #01A29B;
46
+ --unnnic-color-border-info: #97CFFE;
47
+ --unnnic-color-border-success: #74E26C;
48
+ --unnnic-color-border-warning: #E9C701;
49
+ --unnnic-color-border-critical: #FF9E8B;
50
+ }
51
+
52
+ .dark {
53
+ --unnnic-color-bg-base: #1F1F1F;
54
+ --unnnic-color-bg-base-soft: rgba(255, 255, 255, 0.05);
55
+ --unnnic-color-bg-muted: rgba(255, 255, 255, 0.10);
56
+ --unnnic-color-bg-accent-plain: rgba(1, 162, 155, 0.18);
57
+ --unnnic-color-bg-accent-strong: #01A29B;
58
+ --unnnic-color-bg-info: rgba(21, 123, 244, 0.18);
59
+ --unnnic-color-bg-success: rgba(1, 146, 19, 0.18);
60
+ --unnnic-color-bg-warning: rgba(156, 121, 1, 0.18);
61
+ --unnnic-color-bg-critical: rgba(236, 55, 39, 0.18);
62
+ --unnnic-color-bg-red-plain: rgba(236, 55, 39, 0.20);
63
+ --unnnic-color-bg-red-strong: #EC3727;
64
+ --unnnic-color-bg-orange-plain: rgba(229, 112, 1, 0.20);
65
+ --unnnic-color-bg-orange-strong: #E57001;
66
+ --unnnic-color-bg-yellow-plain: rgba(156, 121, 1, 0.20);
67
+ --unnnic-color-bg-yellow-strong: #B18D01;
68
+ --unnnic-color-bg-green-plain: rgba(1, 146, 19, 0.20);
69
+ --unnnic-color-bg-green-strong: #08A822;
70
+ --unnnic-color-bg-teal-plain: rgba(1, 162, 155, 0.18);
71
+ --unnnic-color-bg-teal-strong: #01A29B;
72
+ --unnnic-color-bg-blue-plain: rgba(21, 123, 244, 0.20);
73
+ --unnnic-color-bg-blue-strong: #3993F4;
74
+ --unnnic-color-bg-purple-plain: rgba(156, 86, 243, 0.20);
75
+ --unnnic-color-bg-purple-strong: #AD71F8;
76
+ --unnnic-color-bg-pink-plain: rgba(222, 56, 127, 0.20);
77
+ --unnnic-color-bg-pink-strong: #EF5997;
78
+ --unnnic-color-bg-inverted: #FFFFFF;
79
+ --unnnic-color-fg-base: #D6D6D6;
80
+ --unnnic-color-fg-emphasized: #FFFFFF;
81
+ --unnnic-color-fg-muted: #999999;
82
+ --unnnic-color-fg-inverted: #1F1F1F;
83
+ --unnnic-color-fg-on-primary: #FFFFFF;
84
+ --unnnic-color-fg-accent: #10B6AF;
85
+ --unnnic-color-fg-info: #5AA8F7;
86
+ --unnnic-color-fg-success: #28BC37;
87
+ --unnnic-color-fg-warning: #C5A001;
88
+ --unnnic-color-fg-critical: #FF7F68;
89
+ --unnnic-color-border-base: rgba(255, 255, 255, 0.16);
90
+ --unnnic-color-border-muted: rgba(255, 255, 255, 0.10);
91
+ --unnnic-color-border-emphasized: rgba(255, 255, 255, 0.24);
92
+ --unnnic-color-border-accent-plain: rgba(141, 234, 227, 0.24);
93
+ --unnnic-color-border-accent-strong: #01A29B;
94
+ --unnnic-color-border-info: rgba(182, 223, 255, 0.24);
95
+ --unnnic-color-border-success: rgba(151, 239, 134, 0.24);
96
+ --unnnic-color-border-warning: rgba(250, 222, 30, 0.24);
97
+ --unnnic-color-border-critical: rgba(255, 208, 199, 0.24);
98
+ }
@@ -0,0 +1,11 @@
1
+ @forward './colors';
2
+ @forward './semantic-colors';
3
+ @forward './deprecated/colors';
4
+ @forward './deprecated/fonts';
5
+ @forward './deprecated/spacing';
6
+ @forward './fonts';
7
+ @forward './radii';
8
+ @forward './shadows';
9
+ @forward './spaces';
10
+ @forward './icon-sizes';
11
+ @forward './scheme-colors';