@revikornmann/muka-ui 0.11.0 → 0.12.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 (79) hide show
  1. package/build/manifest.json +20 -0
  2. package/dist/cjs/components/AgentTaskList/AgentTaskList.css +22 -3
  3. package/dist/cjs/components/BottomBar/BottomBar.css +8 -5
  4. package/dist/cjs/components/Button/Button.css +13 -6
  5. package/dist/cjs/components/Button/Button.js +1 -1
  6. package/dist/cjs/components/ChatBubble/ChatBubble.css +251 -31
  7. package/dist/cjs/components/ChatBubble/ChatBubble.js +17 -4
  8. package/dist/cjs/components/ChatBubble/ChatBubble.js.map +1 -1
  9. package/dist/cjs/components/ChatComposer/ChatComposer.css +13 -1
  10. package/dist/cjs/components/ChatMessageList/ChatMessageList.css +17 -1
  11. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
  12. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js +47 -0
  13. package/dist/cjs/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
  14. package/dist/cjs/components/ChatPhotoGrid/index.js +11 -0
  15. package/dist/cjs/components/ChatPhotoGrid/index.js.map +1 -0
  16. package/dist/cjs/components/index.js +3 -1
  17. package/dist/cjs/components/index.js.map +1 -1
  18. package/dist/esm/components/AgentTaskList/AgentTaskList.css +22 -3
  19. package/dist/esm/components/BottomBar/BottomBar.css +8 -5
  20. package/dist/esm/components/Button/Button.css +13 -6
  21. package/dist/esm/components/Button/Button.js +1 -1
  22. package/dist/esm/components/ChatBubble/ChatBubble.css +251 -31
  23. package/dist/esm/components/ChatBubble/ChatBubble.js +18 -5
  24. package/dist/esm/components/ChatBubble/ChatBubble.js.map +1 -1
  25. package/dist/esm/components/ChatComposer/ChatComposer.css +13 -1
  26. package/dist/esm/components/ChatMessageList/ChatMessageList.css +17 -1
  27. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.css +113 -0
  28. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js +43 -0
  29. package/dist/esm/components/ChatPhotoGrid/ChatPhotoGrid.js.map +1 -0
  30. package/dist/esm/components/ChatPhotoGrid/index.js +3 -0
  31. package/dist/esm/components/ChatPhotoGrid/index.js.map +1 -0
  32. package/dist/esm/components/index.js +1 -0
  33. package/dist/esm/components/index.js.map +1 -1
  34. package/dist/styles/components/AgentTaskList.css +22 -3
  35. package/dist/styles/components/BottomBar.css +8 -5
  36. package/dist/styles/components/Button.css +13 -6
  37. package/dist/styles/components/ChatBubble.css +251 -31
  38. package/dist/styles/components/ChatComposer.css +13 -1
  39. package/dist/styles/components/ChatMessageList.css +17 -1
  40. package/dist/styles/components/ChatPhotoGrid.css +113 -0
  41. package/dist/styles/index.css +1025 -574
  42. package/dist/styles/muka-dark.css +1025 -574
  43. package/dist/styles/muka-light.css +1025 -574
  44. package/dist/styles/tokens-bouwplan-dark.css +58 -0
  45. package/dist/styles/tokens-bouwplan-light.css +58 -0
  46. package/dist/styles/tokens-fscl-dark.css +58 -0
  47. package/dist/styles/tokens-fscl-light.css +58 -0
  48. package/dist/styles/tokens-grip-dark.css +58 -0
  49. package/dist/styles/tokens-grip-light.css +58 -0
  50. package/dist/styles/tokens-muka-dark.css +58 -0
  51. package/dist/styles/tokens-muka-light.css +58 -0
  52. package/dist/styles/tokens-wireframe-dark.css +58 -0
  53. package/dist/styles/tokens-wireframe-light.css +58 -0
  54. package/dist/styles/wireframe-dark.css +1025 -574
  55. package/dist/styles/wireframe-light.css +1025 -574
  56. package/dist/types/components/Button/Button.d.ts +1 -1
  57. package/dist/types/components/ChatBubble/ChatBubble.d.ts +63 -8
  58. package/dist/types/components/ChatBubble/ChatBubble.d.ts.map +1 -1
  59. package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts +44 -0
  60. package/dist/types/components/ChatPhotoGrid/ChatPhotoGrid.d.ts.map +1 -0
  61. package/dist/types/components/ChatPhotoGrid/index.d.ts +3 -0
  62. package/dist/types/components/ChatPhotoGrid/index.d.ts.map +1 -0
  63. package/dist/types/components/index.d.ts +1 -0
  64. package/dist/types/components/index.d.ts.map +1 -1
  65. package/package.json +1 -1
  66. package/tokens/README.md +14 -0
  67. package/tokens/t2-alias/brand/bouwplan/dark.json +24 -0
  68. package/tokens/t2-alias/brand/bouwplan/light.json +24 -0
  69. package/tokens/t2-alias/brand/fscl/dark.json +24 -0
  70. package/tokens/t2-alias/brand/fscl/light.json +24 -0
  71. package/tokens/t2-alias/brand/grip/dark.json +54 -0
  72. package/tokens/t2-alias/brand/grip/light.json +54 -0
  73. package/tokens/t2-alias/brand/muka/dark.json +54 -0
  74. package/tokens/t2-alias/brand/muka/light.json +54 -0
  75. package/tokens/t2-alias/brand/wireframe/dark.json +54 -0
  76. package/tokens/t2-alias/brand/wireframe/light.json +54 -0
  77. package/tokens/t3-semantics/ui.json +190 -0
  78. package/tokens/t4-components/chatbubble.json +154 -0
  79. package/tokens/t4-components/chatphotogrid.json +32 -0
@@ -1055,6 +1055,19 @@
1055
1055
  --color-state-warning-default: #ffc53d;
1056
1056
  --color-state-warning-contrast: #ffca16;
1057
1057
  --color-state-warning-background: #302008;
1058
+ --color-conversation-own-background: #132d21;
1059
+ --color-conversation-own-background-raised: #121b17;
1060
+ --color-conversation-own-border: #174933;
1061
+ --color-conversation-own-foreground: #eeeeee;
1062
+ --color-conversation-peer-background: #111111;
1063
+ --color-conversation-peer-background-raised: #222222;
1064
+ --color-conversation-peer-border: #3a3a3a;
1065
+ --color-conversation-peer-foreground: #eeeeee;
1066
+ --color-conversation-agent-background: #302008;
1067
+ --color-conversation-agent-background-raised: #1d180f;
1068
+ --color-conversation-agent-border: #4d3000;
1069
+ --color-conversation-agent-foreground: #eeeeee;
1070
+ --color-conversation-meta: #eeeeee;
1058
1071
  --color-border-contrast: #606060;
1059
1072
  --color-border-default: #313131;
1060
1073
  --color-border-muted: #2a2a2a;
@@ -1154,6 +1167,16 @@
1154
1167
  --alias-color-state-neutral-surface-level1: #222222;
1155
1168
  --alias-color-state-neutral-surface-level2: #2a2a2a;
1156
1169
  --alias-color-state-neutral-surface-level3: #313131;
1170
+ --alias-color-conversation-own-surface-default: #132d21;
1171
+ --alias-color-conversation-own-surface-raised: #121b17;
1172
+ --alias-color-conversation-own-border: #174933;
1173
+ --alias-color-conversation-peer-surface-default: #111111;
1174
+ --alias-color-conversation-peer-surface-raised: #222222;
1175
+ --alias-color-conversation-peer-border: #3a3a3a;
1176
+ --alias-color-conversation-agent-surface-default: #302008;
1177
+ --alias-color-conversation-agent-surface-raised: #1d180f;
1178
+ --alias-color-conversation-agent-border: #4d3000;
1179
+ --alias-color-conversation-meta: #eeeeee;
1157
1180
  --alias-font-plain-family: Helvetica;
1158
1181
  --alias-font-plain-weight-regular: 400;
1159
1182
  --alias-font-plain-weight-medium: 500;
@@ -1500,6 +1523,41 @@
1500
1523
  --card-border-hover: 0.0625rem solid #606060;
1501
1524
  --card-border-pressed: 0.125rem solid #b4b4b4;
1502
1525
  --card-border-selected: 0.125rem solid #b4b4b4;
1526
+ --chatbubble-max-width: 640px;
1527
+ --chatbubble-radius: 0px;
1528
+ --chatbubble-padding: 1rem;
1529
+ --chatbubble-gap: 0.25rem;
1530
+ --chatbubble-body-gap: 1.5rem;
1531
+ --chatbubble-row-gap: 0.75rem;
1532
+ --chatbubble-avatar-size: 3rem;
1533
+ --chatbubble-color-own-background: #132d21;
1534
+ --chatbubble-color-own-border: #174933;
1535
+ --chatbubble-color-own-foreground: #eeeeee;
1536
+ --chatbubble-color-peer-background: #111111;
1537
+ --chatbubble-color-peer-border: #3a3a3a;
1538
+ --chatbubble-color-peer-foreground: #eeeeee;
1539
+ --chatbubble-color-agent-background: #302008;
1540
+ --chatbubble-color-agent-border: #4d3000;
1541
+ --chatbubble-color-agent-foreground: #eeeeee;
1542
+ --chatbubble-color-timestamp: #eeeeee;
1543
+ --chatbubble-embed-padding: 0.75rem;
1544
+ --chatbubble-embed-gap: 0.5rem;
1545
+ --chatbubble-embed-radius: 0px;
1546
+ --chatbubble-embed-color-own-background: #121b17;
1547
+ --chatbubble-embed-color-own-border: #174933;
1548
+ --chatbubble-embed-color-own-foreground: #eeeeee;
1549
+ --chatbubble-embed-color-peer-background: #222222;
1550
+ --chatbubble-embed-color-peer-border: #3a3a3a;
1551
+ --chatbubble-embed-color-peer-foreground: #eeeeee;
1552
+ --chatbubble-embed-color-agent-background: #1d180f;
1553
+ --chatbubble-embed-color-agent-border: #4d3000;
1554
+ --chatbubble-embed-color-agent-foreground: #eeeeee;
1555
+ --chatbubble-action-stack-gap: 0.75rem;
1556
+ --chatphotogrid-gap: 0.5rem;
1557
+ --chatphotogrid-radius: 0px;
1558
+ --chatphotogrid-color-placeholder: #2a2a2a;
1559
+ --chatphotogrid-color-overflow-background: rgba(0, 0, 0, 0.565);
1560
+ --chatphotogrid-color-overflow-foreground: #111111;
1503
1561
  --input-field-color-default-background: #111111;
1504
1562
  --input-field-color-default-foreground: #eeeeee;
1505
1563
  --input-field-color-default-border: #606060;
@@ -1055,6 +1055,19 @@
1055
1055
  --color-state-warning-default: #ffc53d;
1056
1056
  --color-state-warning-contrast: #ab6400;
1057
1057
  --color-state-warning-background: #fff7c2;
1058
+ --color-conversation-own-background: #e9f6ec;
1059
+ --color-conversation-own-background-raised: #f2fcf4;
1060
+ --color-conversation-own-border: #ccebd1;
1061
+ --color-conversation-own-foreground: #202020;
1062
+ --color-conversation-peer-background: #fcfcfc;
1063
+ --color-conversation-peer-background-raised: #f0f0f0;
1064
+ --color-conversation-peer-border: #d9d9d9;
1065
+ --color-conversation-peer-foreground: #202020;
1066
+ --color-conversation-agent-background: #fff7c2;
1067
+ --color-conversation-agent-background-raised: #fefbe9;
1068
+ --color-conversation-agent-border: #fbe577;
1069
+ --color-conversation-agent-foreground: #202020;
1070
+ --color-conversation-meta: #202020;
1058
1071
  --color-border-contrast: #bbbbbb;
1059
1072
  --color-border-default: #e0e0e0;
1060
1073
  --color-border-muted: #e8e8e8;
@@ -1154,6 +1167,16 @@
1154
1167
  --alias-color-state-neutral-surface-level1: #f0f0f0;
1155
1168
  --alias-color-state-neutral-surface-level2: #e8e8e8;
1156
1169
  --alias-color-state-neutral-surface-level3: #e0e0e0;
1170
+ --alias-color-conversation-own-surface-default: #e9f6ec;
1171
+ --alias-color-conversation-own-surface-raised: #f2fcf4;
1172
+ --alias-color-conversation-own-border: #ccebd1;
1173
+ --alias-color-conversation-peer-surface-default: #fcfcfc;
1174
+ --alias-color-conversation-peer-surface-raised: #f0f0f0;
1175
+ --alias-color-conversation-peer-border: #d9d9d9;
1176
+ --alias-color-conversation-agent-surface-default: #fff7c2;
1177
+ --alias-color-conversation-agent-surface-raised: #fefbe9;
1178
+ --alias-color-conversation-agent-border: #fbe577;
1179
+ --alias-color-conversation-meta: #202020;
1157
1180
  --alias-font-plain-family: Helvetica;
1158
1181
  --alias-font-plain-weight-regular: 400;
1159
1182
  --alias-font-plain-weight-medium: 500;
@@ -1500,6 +1523,41 @@
1500
1523
  --card-border-hover: 0.0625rem solid #bbbbbb;
1501
1524
  --card-border-pressed: 0.125rem solid #113264;
1502
1525
  --card-border-selected: 0.125rem solid #113264;
1526
+ --chatbubble-max-width: 640px;
1527
+ --chatbubble-radius: 0px;
1528
+ --chatbubble-padding: 1rem;
1529
+ --chatbubble-gap: 0.25rem;
1530
+ --chatbubble-body-gap: 1.5rem;
1531
+ --chatbubble-row-gap: 0.75rem;
1532
+ --chatbubble-avatar-size: 3rem;
1533
+ --chatbubble-color-own-background: #e9f6ec;
1534
+ --chatbubble-color-own-border: #ccebd1;
1535
+ --chatbubble-color-own-foreground: #202020;
1536
+ --chatbubble-color-peer-background: #fcfcfc;
1537
+ --chatbubble-color-peer-border: #d9d9d9;
1538
+ --chatbubble-color-peer-foreground: #202020;
1539
+ --chatbubble-color-agent-background: #fff7c2;
1540
+ --chatbubble-color-agent-border: #fbe577;
1541
+ --chatbubble-color-agent-foreground: #202020;
1542
+ --chatbubble-color-timestamp: #202020;
1543
+ --chatbubble-embed-padding: 0.75rem;
1544
+ --chatbubble-embed-gap: 0.5rem;
1545
+ --chatbubble-embed-radius: 0px;
1546
+ --chatbubble-embed-color-own-background: #f2fcf4;
1547
+ --chatbubble-embed-color-own-border: #ccebd1;
1548
+ --chatbubble-embed-color-own-foreground: #202020;
1549
+ --chatbubble-embed-color-peer-background: #f0f0f0;
1550
+ --chatbubble-embed-color-peer-border: #d9d9d9;
1551
+ --chatbubble-embed-color-peer-foreground: #202020;
1552
+ --chatbubble-embed-color-agent-background: #fefbe9;
1553
+ --chatbubble-embed-color-agent-border: #fbe577;
1554
+ --chatbubble-embed-color-agent-foreground: #202020;
1555
+ --chatbubble-action-stack-gap: 0.75rem;
1556
+ --chatphotogrid-gap: 0.5rem;
1557
+ --chatphotogrid-radius: 0px;
1558
+ --chatphotogrid-color-placeholder: #e8e8e8;
1559
+ --chatphotogrid-color-overflow-background: rgba(0, 0, 0, 0.565);
1560
+ --chatphotogrid-color-overflow-foreground: #fcfcfc;
1503
1561
  --input-field-color-default-background: #fcfcfc;
1504
1562
  --input-field-color-default-foreground: #202020;
1505
1563
  --input-field-color-default-border: #bbbbbb;