@sk-web-gui/core 3.1.0 → 3.3.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/cjs/components/ai/ai-feed.js +26 -4
- package/dist/cjs/components/ai/ai-feed.js.map +1 -1
- package/dist/cjs/components/ai/ai-module.js +54 -8
- package/dist/cjs/components/ai/ai-module.js.map +1 -1
- package/dist/cjs/components/ai/assistant-presentation.js +2 -2
- package/dist/cjs/components/ai/assistant-presentation.js.map +1 -1
- package/dist/cjs/components/ai/bubble.js +8 -6
- package/dist/cjs/components/ai/bubble.js.map +1 -1
- package/dist/cjs/components/ai/feedback.js +4 -3
- package/dist/cjs/components/ai/feedback.js.map +1 -1
- package/dist/cjs/components/ai/markdown-rendered.js +1 -1
- package/dist/cjs/components/ai/markdown-rendered.js.map +1 -1
- package/dist/cjs/components/button.js +1 -4
- package/dist/cjs/components/button.js.map +1 -1
- package/dist/cjs/components/menubar.js +0 -1
- package/dist/cjs/components/menubar.js.map +1 -1
- package/dist/cjs/components/table-autotable.js +1 -1
- package/dist/cjs/components/table-autotable.js.map +1 -1
- package/dist/esm/components/ai/ai-feed.js +26 -4
- package/dist/esm/components/ai/ai-feed.js.map +1 -1
- package/dist/esm/components/ai/ai-module.js +54 -8
- package/dist/esm/components/ai/ai-module.js.map +1 -1
- package/dist/esm/components/ai/assistant-presentation.js +2 -2
- package/dist/esm/components/ai/assistant-presentation.js.map +1 -1
- package/dist/esm/components/ai/bubble.js +8 -6
- package/dist/esm/components/ai/bubble.js.map +1 -1
- package/dist/esm/components/ai/feedback.js +4 -3
- package/dist/esm/components/ai/feedback.js.map +1 -1
- package/dist/esm/components/ai/markdown-rendered.js +1 -1
- package/dist/esm/components/ai/markdown-rendered.js.map +1 -1
- package/dist/esm/components/button.js +1 -4
- package/dist/esm/components/button.js.map +1 -1
- package/dist/esm/components/menubar.js +0 -1
- package/dist/esm/components/menubar.js.map +1 -1
- package/dist/esm/components/table-autotable.js +1 -1
- package/dist/esm/components/table-autotable.js.map +1 -1
- package/dist/types/components/ai/ai-feed.d.ts +24 -2
- package/dist/types/components/ai/ai-module.d.ts +50 -4
- package/dist/types/components/ai/assistant-presentation.d.ts +2 -2
- package/dist/types/components/ai/bubble.d.ts +7 -5
- package/dist/types/components/ai/feedback.d.ts +4 -3
- package/dist/types/components/ai/markdown-rendered.d.ts +1 -1
- package/dist/types/components/button.d.ts +0 -3
- package/dist/types/components/menubar.d.ts +0 -1
- package/dist/types/components/table-autotable.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
export declare const AIFeed: () => {
|
|
2
2
|
'.sk-ai-feed': {
|
|
3
|
-
'@apply
|
|
3
|
+
'@apply h-auto max-h-full flex flex-col gap-32': {};
|
|
4
4
|
'&-entry': {
|
|
5
5
|
'@apply flex items-start gap-12': {};
|
|
6
|
+
'@apply w-full': {};
|
|
6
7
|
'&-avatar': {
|
|
7
8
|
'@apply grow-0 shrink-0 w-fit': {};
|
|
8
9
|
};
|
|
9
10
|
'&-container': {
|
|
10
11
|
'@apply flex flex-col pb-20 gap-20': {};
|
|
12
|
+
'@apply w-full': {};
|
|
11
13
|
};
|
|
12
14
|
'&-content': {
|
|
13
15
|
'@apply break-words max-w-full flex flex-col grow gap-4': {};
|
|
14
16
|
};
|
|
15
17
|
'&-heading': {
|
|
16
18
|
'@apply text-large font-bold': {};
|
|
19
|
+
'&[data-showtitle="false"]': {
|
|
20
|
+
'@apply w-0 h-0 opacity-0': {};
|
|
21
|
+
};
|
|
17
22
|
};
|
|
18
23
|
'&-references': {
|
|
19
|
-
'@apply bg-background-200 rounded-button
|
|
24
|
+
'@apply bg-background-200 rounded-button py-0 pl-20 pr-12 gap-8 text-dark-primary': {};
|
|
20
25
|
'&-header': {
|
|
21
26
|
'@apply text-dark-primary': {};
|
|
22
27
|
};
|
|
@@ -30,5 +35,22 @@ export declare const AIFeed: () => {
|
|
|
30
35
|
};
|
|
31
36
|
};
|
|
32
37
|
};
|
|
38
|
+
'&-live-wrapper': {
|
|
39
|
+
'@apply absolute w-1 h-1 -m-1 overflow-hidden whitespace-nowrap p-0 opacity-0': {};
|
|
40
|
+
};
|
|
41
|
+
'&[data-size="lg"]': {
|
|
42
|
+
'.sk-ai-feed-avatar, .sk-avatar': {
|
|
43
|
+
'@apply w-40 h-40': {};
|
|
44
|
+
};
|
|
45
|
+
'.sk-ai-feed-container': {
|
|
46
|
+
'@apply pb-32 gap-32': {};
|
|
47
|
+
'@apply w-full': {};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&[data-size="sm"]': {
|
|
51
|
+
'.sk-ai-feed-avatar, .sk-avatar': {
|
|
52
|
+
'@apply w-32 h-32': {};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
33
55
|
};
|
|
34
56
|
};
|
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
export declare const AIModule: (colors: string[]) => {
|
|
2
2
|
'.sk-ai-module': {
|
|
3
3
|
'@apply fixed': {};
|
|
4
|
+
'@apply z-50': {};
|
|
5
|
+
'@apply overflow-hidden': {};
|
|
4
6
|
'@apply flex flex-col gap-0 items-center justify-start': {};
|
|
5
7
|
'@apply shadow-200': {};
|
|
6
|
-
'@apply overflow-hidden': {};
|
|
7
8
|
'@apply transition-all': {};
|
|
9
|
+
'@apply duration-300': {};
|
|
8
10
|
'@apply bottom-0 right-0': {};
|
|
9
11
|
'&-content': {
|
|
10
12
|
'@apply flex w-full gap-0 h-full justify-between': {};
|
|
13
|
+
'@apply overflow-hidden': {};
|
|
11
14
|
'&-row': {
|
|
12
15
|
'@apply flex flex-col': {};
|
|
16
|
+
'@apply bg-background-content': {};
|
|
17
|
+
};
|
|
18
|
+
'&-main': {
|
|
19
|
+
'@apply grow shrink max-h-full max-w-full items-center': {};
|
|
13
20
|
};
|
|
14
21
|
};
|
|
15
22
|
'&-sidebar': {
|
|
16
23
|
'@apply flex flex-col': {};
|
|
17
24
|
'@apply min-w-[22em]': {};
|
|
18
25
|
'@apply h-full': {};
|
|
26
|
+
'@apply overflow-hidden': {};
|
|
19
27
|
'@apply border-r-1 border-r-divider': {};
|
|
20
|
-
'@apply pt-20 px-
|
|
28
|
+
'@apply pt-20 px-0 gap-16': {};
|
|
29
|
+
'&-sessions': {
|
|
30
|
+
'@apply flex flex-col': {};
|
|
31
|
+
'@apply grow w-full': {};
|
|
32
|
+
'@apply overflow-y-auto': {};
|
|
33
|
+
'@apply px-24 pb-20 gap-16': {};
|
|
34
|
+
};
|
|
21
35
|
};
|
|
22
36
|
'&-feed': {
|
|
23
37
|
'@apply flex flex-col grow': {};
|
|
24
38
|
'@apply px-16 pt-16 pb-24 gap-16': {};
|
|
39
|
+
'@apply w-full': {};
|
|
40
|
+
'@apply max-h-full overflow-y-auto': {};
|
|
41
|
+
'@apply max-w-full overflow-x-hidden': {};
|
|
25
42
|
'&-questions': {
|
|
26
43
|
'@apply flex flex-col gap-8 w-full': {};
|
|
27
44
|
'&-title': {
|
|
@@ -32,18 +49,42 @@ export declare const AIModule: (colors: string[]) => {
|
|
|
32
49
|
};
|
|
33
50
|
};
|
|
34
51
|
};
|
|
52
|
+
'.sk-ai-inputsection': {
|
|
53
|
+
'@apply shrink-0': {};
|
|
54
|
+
};
|
|
35
55
|
'&[data-fullscreen="false"]': {
|
|
36
56
|
'@apply rounded-tl-groups': {};
|
|
37
57
|
'@apply max-w-[26em]': {};
|
|
58
|
+
'@apply w-[26em]': {};
|
|
59
|
+
'@apply max-h-[44em]': {};
|
|
60
|
+
'&[data-docked="false"]': {
|
|
61
|
+
'@apply h-[44em]': {};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
'.sk-ai-feed': {
|
|
65
|
+
'@apply w-full': {};
|
|
38
66
|
};
|
|
39
67
|
'&[data-fullscreen="true"]': {
|
|
40
|
-
'@apply w-full
|
|
68
|
+
'@apply w-full': {};
|
|
41
69
|
'.sk-ai-module-feed': {
|
|
42
70
|
'@apply gap-40 grow w-full items-center': {};
|
|
71
|
+
'.sk-ai-feed': {
|
|
72
|
+
'@apply text-base max-w-[50em]': {};
|
|
73
|
+
};
|
|
43
74
|
'&-questions': {
|
|
44
75
|
'@apply flex-row gap-16': {};
|
|
76
|
+
'&-wrapper': {
|
|
77
|
+
'@apply text-base max-w-[50em]': {};
|
|
78
|
+
};
|
|
45
79
|
};
|
|
46
80
|
};
|
|
81
|
+
'.sk-ai-inputsection': {
|
|
82
|
+
'@apply text-base max-w-[50em]': {};
|
|
83
|
+
'@apply pt-20 pb-32': {};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
'&[data-docked="true"]': {
|
|
87
|
+
'@apply h-64 w-[19em]': {};
|
|
47
88
|
};
|
|
48
89
|
'&-header': {
|
|
49
90
|
'&[data-fullscreen="true"]': {
|
|
@@ -53,12 +94,14 @@ export declare const AIModule: (colors: string[]) => {
|
|
|
53
94
|
};
|
|
54
95
|
'@apply flex items-center justify-between': {};
|
|
55
96
|
'@apply w-full': {};
|
|
97
|
+
'@apply shrink-0': {};
|
|
56
98
|
'@apply px-14 py-16': {};
|
|
57
99
|
'@apply transition-all': {};
|
|
58
100
|
'@apply bg-inverted-background-content': {};
|
|
59
101
|
'@apply text-inverted-dark-primary': {};
|
|
60
102
|
'&[data-docked="true"]': {
|
|
61
103
|
'@apply px-12 pt-10 pb-12': {};
|
|
104
|
+
'@apply cursor-pointer': {};
|
|
62
105
|
};
|
|
63
106
|
'&-title': {
|
|
64
107
|
'@apply flex justify-start items-center': {};
|
|
@@ -78,7 +121,7 @@ export declare const AIModule: (colors: string[]) => {
|
|
|
78
121
|
'@apply gap-12': {};
|
|
79
122
|
};
|
|
80
123
|
'&[data-variant="alt"]': {
|
|
81
|
-
'@apply
|
|
124
|
+
'@apply pt-0 px-24': {};
|
|
82
125
|
'@apply bg-transparent': {};
|
|
83
126
|
'.sk-avatar': {
|
|
84
127
|
'@apply w-56 h-56': {};
|
|
@@ -100,5 +143,8 @@ export declare const AIModule: (colors: string[]) => {
|
|
|
100
143
|
};
|
|
101
144
|
};
|
|
102
145
|
};
|
|
146
|
+
'.sk-avatar': {
|
|
147
|
+
'@apply transition-all duration-500': {};
|
|
148
|
+
};
|
|
103
149
|
};
|
|
104
150
|
};
|
|
@@ -2,6 +2,7 @@ export declare const AssistantPresentation: () => {
|
|
|
2
2
|
'.sk-ai-assistant-presentation': {
|
|
3
3
|
'@apply flex flex-col gap-16 items-center justify-center': {};
|
|
4
4
|
'@apply text-base': {};
|
|
5
|
+
'@apply h-full grow': {};
|
|
5
6
|
'&-header': {
|
|
6
7
|
'@apply flex flex-col items-center justify-start': {};
|
|
7
8
|
'&-title': {
|
|
@@ -12,7 +13,7 @@ export declare const AssistantPresentation: () => {
|
|
|
12
13
|
};
|
|
13
14
|
};
|
|
14
15
|
'&[data-size="lg"]': {
|
|
15
|
-
'@apply min-h-[25.5em]
|
|
16
|
+
'@apply min-h-[25.5em]': {};
|
|
16
17
|
'@apply p-24': {};
|
|
17
18
|
'@apply max-w-[27em]': {};
|
|
18
19
|
'.sk-avatar': {
|
|
@@ -30,7 +31,6 @@ export declare const AssistantPresentation: () => {
|
|
|
30
31
|
};
|
|
31
32
|
};
|
|
32
33
|
'&[data-size="sm"]': {
|
|
33
|
-
'@apply min-h-[24em]': {};
|
|
34
34
|
'.sk-avatar': {
|
|
35
35
|
'@apply w-72 h-72': {};
|
|
36
36
|
'@apply max-w-72 max-h-72': {};
|
|
@@ -1,29 +1,31 @@
|
|
|
1
1
|
export declare const Bubble: (colors: string[]) => {
|
|
2
2
|
'.sk-ai-bubble': {
|
|
3
3
|
'&-tail': {
|
|
4
|
-
'@apply
|
|
4
|
+
'@apply text-base': {};
|
|
5
|
+
'@apply absolute left-0 bottom-[-1.25em]': {};
|
|
5
6
|
'@apply w-32 h-32': {};
|
|
6
7
|
'@apply rounded-tl-16 rounded-bl-0': {};
|
|
7
8
|
'@apply bg-transparent': {};
|
|
8
|
-
'@apply shadow-[0_-
|
|
9
|
+
'@apply shadow-[0_-1em_0_0_var(--tw-shadow-color)]': {};
|
|
9
10
|
'@apply scale-y-[25%]': {};
|
|
10
11
|
'&:before': {
|
|
11
12
|
'@apply content-[""]': {};
|
|
12
|
-
'@apply absolute left-0 bottom-[-0.
|
|
13
|
+
'@apply absolute left-0 bottom-[-0.15625em]': {};
|
|
13
14
|
'@apply w-32 h-32': {};
|
|
14
15
|
'@apply rounded-tl-16 rounded-bl-0': {};
|
|
15
16
|
'@apply bg-transparent': {};
|
|
16
|
-
'@apply shadow-[0_-0.
|
|
17
|
+
'@apply shadow-[0_-0.15625em_0_0_rgb(0,0,0,0.2)]': {};
|
|
17
18
|
'clip-path': string;
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
'@apply inline-flex text-left items-center justify-start': {};
|
|
21
22
|
'@apply w-fit': {};
|
|
23
|
+
'@apply focus-visible:ring ring-ring': {};
|
|
22
24
|
'@apply relative': {};
|
|
23
25
|
'@apply rounded-t-button rounded-br-button': {};
|
|
24
26
|
'@apply pt-10 pr-12 pb-10 pl-14': {};
|
|
25
27
|
'@apply gap-16': {};
|
|
26
|
-
'@apply shadow-[
|
|
28
|
+
'@apply shadow-[0_1px_0_0_rgba(0,0,0,0.2)]': {};
|
|
27
29
|
'@apply text-small': {};
|
|
28
30
|
'@apply text-dark-secondary': {};
|
|
29
31
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
export declare const Feedback: () => {
|
|
2
2
|
'.sk-ai-feedback': {
|
|
3
|
-
'@apply ml-24 flex gap-24 justify-
|
|
3
|
+
'@apply ml-24 flex gap-24 justify-start mb-16': {};
|
|
4
|
+
'@apply max-w-full': {};
|
|
4
5
|
'&-button': {
|
|
5
6
|
'&[data-current="true"]': {
|
|
6
7
|
'@apply bg-tertiary-surface-hover': {};
|
|
7
8
|
};
|
|
8
9
|
};
|
|
9
10
|
'&-more': {
|
|
10
|
-
'@apply flex flex-col gap-8
|
|
11
|
+
'@apply flex flex-col gap-8 px-14 pt-8 pb-12 bg-background-color-mixin-1 text-dark-primary rounded-button': {};
|
|
11
12
|
'&-header': {
|
|
12
13
|
'@apply flex flex-row items-center justify-between text-label-small': {};
|
|
13
14
|
};
|
|
14
15
|
'&-reason': {
|
|
15
|
-
'@apply flex flex-row items-center gap-8 justify-start': {};
|
|
16
|
+
'@apply flex flex-row items-center gap-8 justify-start flex-wrap': {};
|
|
16
17
|
};
|
|
17
18
|
};
|
|
18
19
|
};
|
|
@@ -187,9 +187,6 @@ export declare const Button: (colors: string[]) => {
|
|
|
187
187
|
'&-disabled, &[aria-disabled="true"]': {
|
|
188
188
|
'@apply shadow-none disabled:shadow-none disabled:cursor-default cursor-default': {};
|
|
189
189
|
'@apply disabled:text-dark-disabled text-dark-disabled disabled:bg-primary-surface-disabled bg-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
190
|
-
'&[data-inverted="true"]': {
|
|
191
|
-
'@apply disabled:text-inverted-dark-disabled text-inverted-dark-disabled disabled:bg-inverted-primary-surface-disabled bg-inverted-primary-surface-disabled disabled:border-transparent border-transparent !important': {};
|
|
192
|
-
};
|
|
193
190
|
};
|
|
194
191
|
};
|
|
195
192
|
};
|
|
@@ -21,7 +21,6 @@ export declare const MenuBar: (colors: string[]) => {
|
|
|
21
21
|
'@apply font-bold': {};
|
|
22
22
|
'@apply gap-2 px-14 py-8': {};
|
|
23
23
|
'@apply h-full min-h-full': {};
|
|
24
|
-
'@apply text-base leading-base': {};
|
|
25
24
|
'@apply inline-flex shrink-0 flex-nowrap': {};
|
|
26
25
|
'@apply border-0': {};
|
|
27
26
|
'@apply focus-visible:bg-background-content focus-visible:ring': {};
|
|
@@ -20,7 +20,7 @@ export declare const TableAutoTable: () => {
|
|
|
20
20
|
'@apply overflow-auto': {};
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
'&:not([data-background="true"])': {
|
|
23
|
+
'&:not([data-background="true"]):not([data-wrappingborder="true"])': {
|
|
24
24
|
'@apply border-0': {};
|
|
25
25
|
'@apply bg-transparent': {};
|
|
26
26
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sk-web-gui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@sk-web-gui/theme": "2.1.1",
|
|
44
44
|
"mini-svg-data-uri": "^1.4.4"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "cd1104a099f541395bdaaa889ce7130deb41c0e0"
|
|
47
47
|
}
|