@revikornmann/muka-ui 0.46.0 → 0.47.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/ChatChoiceCard/ChatChoiceCard.css +33 -0
- package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js +47 -0
- package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
- package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js +39 -0
- package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
- package/dist/cjs/components/ChatChoiceCard/index.js +11 -0
- package/dist/cjs/components/ChatChoiceCard/index.js.map +1 -0
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js +36 -0
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
- package/dist/cjs/components/ChatQuestionCard/index.js +11 -0
- package/dist/cjs/components/ChatQuestionCard/index.js.map +1 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js +93 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
- package/dist/cjs/components/ChatQuestionSeries/index.js +11 -0
- package/dist/cjs/components/ChatQuestionSeries/index.js.map +1 -0
- package/dist/cjs/components/Chip/Chip.js +14 -6
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js +38 -0
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
- package/dist/cjs/components/ChipSelectGroup/index.js +11 -0
- package/dist/cjs/components/ChipSelectGroup/index.js.map +1 -0
- package/dist/cjs/components/index.js +10 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js +41 -0
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
- package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js +32 -0
- package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
- package/dist/esm/components/ChatChoiceCard/index.js +3 -0
- package/dist/esm/components/ChatChoiceCard/index.js.map +1 -0
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js +30 -0
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
- package/dist/esm/components/ChatQuestionCard/index.js +3 -0
- package/dist/esm/components/ChatQuestionCard/index.js.map +1 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js +87 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
- package/dist/esm/components/ChatQuestionSeries/index.js +3 -0
- package/dist/esm/components/ChatQuestionSeries/index.js.map +1 -0
- package/dist/esm/components/Chip/Chip.js +14 -6
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js +32 -0
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
- package/dist/esm/components/ChipSelectGroup/index.js +3 -0
- package/dist/esm/components/ChipSelectGroup/index.js.map +1 -0
- package/dist/esm/components/index.js +5 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/ChatChoiceCard.css +33 -0
- package/dist/styles/components/ChatQuestionCard.css +76 -0
- package/dist/styles/components/ChatQuestionSeries.css +38 -0
- package/dist/styles/components/ChipSelectGroup.css +6 -0
- package/dist/styles/index.css +702 -537
- package/dist/styles/muka-dark.css +702 -537
- package/dist/styles/muka-light.css +702 -537
- package/dist/styles/wireframe-dark.css +702 -537
- package/dist/styles/wireframe-light.css +702 -537
- package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts +46 -0
- package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts.map +1 -0
- package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts +25 -0
- package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts.map +1 -0
- package/dist/types/components/ChatChoiceCard/index.d.ts +3 -0
- package/dist/types/components/ChatChoiceCard/index.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts +35 -0
- package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionCard/index.d.ts +3 -0
- package/dist/types/components/ChatQuestionCard/index.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts +47 -0
- package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionSeries/index.d.ts +3 -0
- package/dist/types/components/ChatQuestionSeries/index.d.ts.map +1 -0
- package/dist/types/components/Chip/Chip.d.ts +7 -0
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts +34 -0
- package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts.map +1 -0
- package/dist/types/components/ChipSelectGroup/index.d.ts +3 -0
- package/dist/types/components/ChipSelectGroup/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ChatQuestionCard — in-thread question widget (experimental).
|
|
3
|
+
* Inspired by the Agentic UX "Gather search criteria" cards: question on top,
|
|
4
|
+
* compact controls, a footer only once there is something to submit.
|
|
5
|
+
*/
|
|
6
|
+
.muka-chat-question-card {
|
|
7
|
+
width: 100%;
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.muka-chat-question-card__card {
|
|
13
|
+
width: 100%;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.muka-chat-question-card__content {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
gap: var(--spacing-3);
|
|
21
|
+
padding: var(--spacing-4);
|
|
22
|
+
min-width: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.muka-chat-question-card__question {
|
|
26
|
+
margin: 0;
|
|
27
|
+
color: var(--color-text-default-default);
|
|
28
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
29
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
30
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
31
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.muka-chat-question-card--answered .muka-chat-question-card__question {
|
|
35
|
+
color: var(--color-text-subtle-default);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.muka-chat-question-card__answer {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
gap: var(--spacing-2);
|
|
42
|
+
margin: 0;
|
|
43
|
+
color: var(--color-text-default-default);
|
|
44
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
45
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
46
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
47
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.muka-chat-question-card__answer-icon {
|
|
51
|
+
display: inline-flex;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
color: var(--color-text-action-default);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.muka-chat-question-card__footer {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: space-between;
|
|
60
|
+
gap: var(--spacing-3);
|
|
61
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
62
|
+
border-top: var(--border-width-regular) solid var(--color-border-muted);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.muka-chat-question-card__footer-start {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.muka-chat-question-card__footer-actions {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--spacing-2);
|
|
75
|
+
margin-inline-start: auto;
|
|
76
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
|
|
2
|
+
.muka-chat-series__dots {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: var(--spacing-1);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.muka-chat-series__dot {
|
|
9
|
+
width: var(--spacing-1);
|
|
10
|
+
height: var(--spacing-1);
|
|
11
|
+
border-radius: var(--border-radius-full);
|
|
12
|
+
background-color: var(--color-border-default);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.muka-chat-series__dot--done {
|
|
16
|
+
background-color: var(--color-text-subtle-default);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.muka-chat-series__dot--current {
|
|
20
|
+
width: var(--spacing-2);
|
|
21
|
+
height: var(--spacing-2);
|
|
22
|
+
background-color: var(--color-text-default-default);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.muka-chat-series__summary {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: var(--spacing-2);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.muka-chat-series__summary-row {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.muka-chat-series__summary-question {
|
|
37
|
+
color: var(--color-text-subtle-default);
|
|
38
|
+
}
|