@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.
Files changed (84) hide show
  1. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
  2. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js +47 -0
  3. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
  4. package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js +39 -0
  5. package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
  6. package/dist/cjs/components/ChatChoiceCard/index.js +11 -0
  7. package/dist/cjs/components/ChatChoiceCard/index.js.map +1 -0
  8. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
  9. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js +36 -0
  10. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
  11. package/dist/cjs/components/ChatQuestionCard/index.js +11 -0
  12. package/dist/cjs/components/ChatQuestionCard/index.js.map +1 -0
  13. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
  14. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js +93 -0
  15. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
  16. package/dist/cjs/components/ChatQuestionSeries/index.js +11 -0
  17. package/dist/cjs/components/ChatQuestionSeries/index.js.map +1 -0
  18. package/dist/cjs/components/Chip/Chip.js +14 -6
  19. package/dist/cjs/components/Chip/Chip.js.map +1 -1
  20. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
  21. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js +38 -0
  22. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
  23. package/dist/cjs/components/ChipSelectGroup/index.js +11 -0
  24. package/dist/cjs/components/ChipSelectGroup/index.js.map +1 -0
  25. package/dist/cjs/components/index.js +10 -1
  26. package/dist/cjs/components/index.js.map +1 -1
  27. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
  28. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js +41 -0
  29. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
  30. package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js +32 -0
  31. package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
  32. package/dist/esm/components/ChatChoiceCard/index.js +3 -0
  33. package/dist/esm/components/ChatChoiceCard/index.js.map +1 -0
  34. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
  35. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js +30 -0
  36. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
  37. package/dist/esm/components/ChatQuestionCard/index.js +3 -0
  38. package/dist/esm/components/ChatQuestionCard/index.js.map +1 -0
  39. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
  40. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js +87 -0
  41. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
  42. package/dist/esm/components/ChatQuestionSeries/index.js +3 -0
  43. package/dist/esm/components/ChatQuestionSeries/index.js.map +1 -0
  44. package/dist/esm/components/Chip/Chip.js +14 -6
  45. package/dist/esm/components/Chip/Chip.js.map +1 -1
  46. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
  47. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js +32 -0
  48. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
  49. package/dist/esm/components/ChipSelectGroup/index.js +3 -0
  50. package/dist/esm/components/ChipSelectGroup/index.js.map +1 -0
  51. package/dist/esm/components/index.js +5 -0
  52. package/dist/esm/components/index.js.map +1 -1
  53. package/dist/styles/components/ChatChoiceCard.css +33 -0
  54. package/dist/styles/components/ChatQuestionCard.css +76 -0
  55. package/dist/styles/components/ChatQuestionSeries.css +38 -0
  56. package/dist/styles/components/ChipSelectGroup.css +6 -0
  57. package/dist/styles/index.css +702 -537
  58. package/dist/styles/muka-dark.css +702 -537
  59. package/dist/styles/muka-light.css +702 -537
  60. package/dist/styles/wireframe-dark.css +702 -537
  61. package/dist/styles/wireframe-light.css +702 -537
  62. package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts +46 -0
  63. package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts.map +1 -0
  64. package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts +25 -0
  65. package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts.map +1 -0
  66. package/dist/types/components/ChatChoiceCard/index.d.ts +3 -0
  67. package/dist/types/components/ChatChoiceCard/index.d.ts.map +1 -0
  68. package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts +35 -0
  69. package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts.map +1 -0
  70. package/dist/types/components/ChatQuestionCard/index.d.ts +3 -0
  71. package/dist/types/components/ChatQuestionCard/index.d.ts.map +1 -0
  72. package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts +47 -0
  73. package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts.map +1 -0
  74. package/dist/types/components/ChatQuestionSeries/index.d.ts +3 -0
  75. package/dist/types/components/ChatQuestionSeries/index.d.ts.map +1 -0
  76. package/dist/types/components/Chip/Chip.d.ts +7 -0
  77. package/dist/types/components/Chip/Chip.d.ts.map +1 -1
  78. package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts +34 -0
  79. package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts.map +1 -0
  80. package/dist/types/components/ChipSelectGroup/index.d.ts +3 -0
  81. package/dist/types/components/ChipSelectGroup/index.d.ts.map +1 -0
  82. package/dist/types/components/index.d.ts +4 -0
  83. package/dist/types/components/index.d.ts.map +1 -1
  84. 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
+ }
@@ -0,0 +1,6 @@
1
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
2
+ .muka-chip-select-group {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ gap: var(--spacing-2);
6
+ }