@orion-ds/react 5.1.13 → 5.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/AI_COMPONENTS.md +9 -2
- package/README.md +1 -5
- package/dist/blocks/index.cjs +1 -1
- package/dist/blocks/index.mjs +50 -54
- package/dist/blocks/sections/index.d.ts +0 -2
- package/dist/blocks/sections/index.d.ts.map +1 -1
- package/dist/blocks/templates/index.cjs +1 -1
- package/dist/blocks/templates/index.d.ts +0 -5
- package/dist/blocks/templates/index.d.ts.map +1 -1
- package/dist/blocks/templates/index.mjs +12 -14
- package/dist/blocks.css +0 -4
- package/dist/client.d.ts +1 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/components/ThemeController/ThemeController.cjs +1 -1
- package/dist/components/ThemeController/ThemeController.d.ts.map +1 -1
- package/dist/components/ThemeController/ThemeController.mjs +7 -7
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/hooks/useTheme.cjs +1 -1
- package/dist/hooks/useTheme.d.ts +1 -1
- package/dist/hooks/useTheme.d.ts.map +1 -1
- package/dist/hooks/useTheme.mjs +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/styles.css +0 -2
- package/dist/tokens/types.d.ts +64 -37
- package/dist/tokens/types.d.ts.map +1 -1
- package/dist/utils/fonts.cjs +1 -1
- package/dist/utils/fonts.d.ts.map +1 -1
- package/dist/utils/fonts.mjs +1 -0
- package/package.json +1 -6
- package/dist/blocks/sections/Chat/Chat.cjs +0 -1
- package/dist/blocks/sections/Chat/Chat.d.ts +0 -5
- package/dist/blocks/sections/Chat/Chat.d.ts.map +0 -1
- package/dist/blocks/sections/Chat/Chat.mjs +0 -93
- package/dist/blocks/sections/Chat/Chat.module.css +0 -1
- package/dist/blocks/sections/Chat/Chat.module.css.cjs +0 -1
- package/dist/blocks/sections/Chat/Chat.module.css.mjs +0 -47
- package/dist/blocks/sections/Chat/Chat.types.d.ts +0 -33
- package/dist/blocks/sections/Chat/Chat.types.d.ts.map +0 -1
- package/dist/blocks/sections/Chat/index.d.ts +0 -3
- package/dist/blocks/sections/Chat/index.d.ts.map +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.cjs +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts +0 -5
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts.map +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.mjs +0 -192
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.cjs +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.module.css.mjs +0 -81
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts +0 -42
- package/dist/blocks/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts.map +0 -1
- package/dist/blocks/templates/app/ChatPageTemplate/index.d.ts +0 -3
- package/dist/blocks/templates/app/ChatPageTemplate/index.d.ts.map +0 -1
- package/dist/components/Chat/Chat.cjs +0 -1
- package/dist/components/Chat/Chat.d.ts +0 -22
- package/dist/components/Chat/Chat.d.ts.map +0 -1
- package/dist/components/Chat/Chat.mjs +0 -56
- package/dist/components/Chat/Chat.module.css +0 -1
- package/dist/components/Chat/Chat.module.css.cjs +0 -1
- package/dist/components/Chat/Chat.module.css.mjs +0 -237
- package/dist/components/Chat/Chat.types.d.ts +0 -387
- package/dist/components/Chat/Chat.types.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatAttachment.cjs +0 -1
- package/dist/components/Chat/components/ChatAttachment.d.ts +0 -5
- package/dist/components/Chat/components/ChatAttachment.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatAttachment.mjs +0 -125
- package/dist/components/Chat/components/ChatAudioPlayer.cjs +0 -1
- package/dist/components/Chat/components/ChatAudioPlayer.d.ts +0 -5
- package/dist/components/Chat/components/ChatAudioPlayer.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatAudioPlayer.mjs +0 -127
- package/dist/components/Chat/components/ChatCodeBlock.cjs +0 -1
- package/dist/components/Chat/components/ChatCodeBlock.d.ts +0 -5
- package/dist/components/Chat/components/ChatCodeBlock.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatCodeBlock.mjs +0 -93
- package/dist/components/Chat/components/ChatFileUpload.cjs +0 -1
- package/dist/components/Chat/components/ChatFileUpload.d.ts +0 -5
- package/dist/components/Chat/components/ChatFileUpload.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatFileUpload.mjs +0 -114
- package/dist/components/Chat/components/ChatHeader.cjs +0 -1
- package/dist/components/Chat/components/ChatHeader.d.ts +0 -5
- package/dist/components/Chat/components/ChatHeader.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatHeader.mjs +0 -36
- package/dist/components/Chat/components/ChatImagePreview.cjs +0 -1
- package/dist/components/Chat/components/ChatImagePreview.d.ts +0 -5
- package/dist/components/Chat/components/ChatImagePreview.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatImagePreview.mjs +0 -69
- package/dist/components/Chat/components/ChatInput.cjs +0 -1
- package/dist/components/Chat/components/ChatInput.d.ts +0 -5
- package/dist/components/Chat/components/ChatInput.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatInput.mjs +0 -188
- package/dist/components/Chat/components/ChatLightbox.cjs +0 -1
- package/dist/components/Chat/components/ChatLightbox.d.ts +0 -5
- package/dist/components/Chat/components/ChatLightbox.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatLightbox.mjs +0 -57
- package/dist/components/Chat/components/ChatMarkdown.cjs +0 -1
- package/dist/components/Chat/components/ChatMarkdown.d.ts +0 -5
- package/dist/components/Chat/components/ChatMarkdown.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatMarkdown.mjs +0 -70
- package/dist/components/Chat/components/ChatMessage.cjs +0 -1
- package/dist/components/Chat/components/ChatMessage.d.ts +0 -5
- package/dist/components/Chat/components/ChatMessage.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatMessage.mjs +0 -173
- package/dist/components/Chat/components/ChatMessages.cjs +0 -1
- package/dist/components/Chat/components/ChatMessages.d.ts +0 -5
- package/dist/components/Chat/components/ChatMessages.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatMessages.mjs +0 -46
- package/dist/components/Chat/components/ChatSidebar.cjs +0 -1
- package/dist/components/Chat/components/ChatSidebar.d.ts +0 -5
- package/dist/components/Chat/components/ChatSidebar.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatSidebar.mjs +0 -217
- package/dist/components/Chat/components/ChatTypingIndicator.cjs +0 -1
- package/dist/components/Chat/components/ChatTypingIndicator.d.ts +0 -5
- package/dist/components/Chat/components/ChatTypingIndicator.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatTypingIndicator.mjs +0 -31
- package/dist/components/Chat/components/ChatVoiceRecorder.cjs +0 -1
- package/dist/components/Chat/components/ChatVoiceRecorder.d.ts +0 -5
- package/dist/components/Chat/components/ChatVoiceRecorder.d.ts.map +0 -1
- package/dist/components/Chat/components/ChatVoiceRecorder.mjs +0 -111
- package/dist/components/Chat/components/index.d.ts +0 -18
- package/dist/components/Chat/components/index.d.ts.map +0 -1
- package/dist/components/Chat/hooks/index.d.ts +0 -12
- package/dist/components/Chat/hooks/index.d.ts.map +0 -1
- package/dist/components/Chat/hooks/useAutoScroll.cjs +0 -1
- package/dist/components/Chat/hooks/useAutoScroll.d.ts +0 -24
- package/dist/components/Chat/hooks/useAutoScroll.d.ts.map +0 -1
- package/dist/components/Chat/hooks/useAutoScroll.mjs +0 -50
- package/dist/components/Chat/hooks/useChatInput.cjs +0 -1
- package/dist/components/Chat/hooks/useChatInput.d.ts +0 -43
- package/dist/components/Chat/hooks/useChatInput.d.ts.map +0 -1
- package/dist/components/Chat/hooks/useChatInput.mjs +0 -44
- package/dist/components/Chat/hooks/useStreamingText.d.ts +0 -22
- package/dist/components/Chat/hooks/useStreamingText.d.ts.map +0 -1
- package/dist/components/Chat/hooks/useVoiceRecorder.cjs +0 -1
- package/dist/components/Chat/hooks/useVoiceRecorder.d.ts +0 -26
- package/dist/components/Chat/hooks/useVoiceRecorder.d.ts.map +0 -1
- package/dist/components/Chat/hooks/useVoiceRecorder.mjs +0 -74
- package/dist/components/Chat/index.d.ts +0 -28
- package/dist/components/Chat/index.d.ts.map +0 -1
- package/dist/components/Chat/utils.cjs +0 -1
- package/dist/components/Chat/utils.d.ts +0 -16
- package/dist/components/Chat/utils.d.ts.map +0 -1
- package/dist/components/Chat/utils.mjs +0 -12
- package/dist/rich.cjs +0 -1
- package/dist/rich.d.ts +0 -16
- package/dist/rich.d.ts.map +0 -1
- package/dist/rich.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAKH,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AACrC,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../../src/hooks/useTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAKH,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AACrC,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAahF,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IAErB;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;IAErB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC7B,oBAAoB;IACpB,KAAK,EAAE,KAAK,CAAC;IAEb,oBAAoB;IACpB,KAAK,EAAE,KAAK,CAAC;IAEb,gBAAgB;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,gBAAgB;IAChB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,2CAA2C;IAC3C,WAAW,EAAE,MAAM,IAAI,CAAC;IAExB,qCAAqC;IACrC,MAAM,EAAE,OAAO,CAAC;IAEhB,sCAAsC;IACtC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,cAAc,CAuHtE"}
|
package/dist/hooks/useTheme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as f, useCallback as m, useEffect as c } from "react";
|
|
2
|
-
const p = (r) => r === "light" || r === "dark", k = (r) => ["orion", "red", "deepblue", "orange", "lemon"].includes(
|
|
2
|
+
const p = (r) => r === "light" || r === "dark", k = (r) => ["orion", "red", "deepblue", "orange", "ember", "lemon"].includes(
|
|
3
3
|
r
|
|
4
4
|
);
|
|
5
5
|
function w(r = {}) {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAGH,OAAO,qBAAqB,CAAC;AAO7B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,mBA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dist/styles.css
CHANGED
|
@@ -482,8 +482,6 @@
|
|
|
482
482
|
|
|
483
483
|
._container_faue8_8{width:100%;font-family:var(--font-secondary)}._tooltip_faue8_17{background:var(--surface-base);border:1px solid var(--border-subtle);border-radius:var(--radius-control);box-shadow:var(--shadow-lg);padding:var(--spacing-3) var(--spacing-4);font-family:var(--font-secondary);font-size:var(--font-size-13)}._tooltipLabel_faue8_27{font-weight:var(--font-weight-semibold);color:var(--text-primary);margin-bottom:var(--spacing-2);padding-bottom:var(--spacing-2);border-bottom:1px solid var(--border-subtle)}._tooltipItems_faue8_35{display:flex;flex-direction:column;gap:var(--spacing-1)}._tooltipItem_faue8_35{display:flex;align-items:center;gap:var(--spacing-2)}._tooltipDot_faue8_47{width:8px;height:8px;border-radius:var(--radius-full);flex-shrink:0}._tooltipLine_faue8_54{width:12px;height:2px;flex-shrink:0}._tooltipDashed_faue8_60{width:12px;height:2px;flex-shrink:0;border-top:2px dashed}._tooltipName_faue8_67{color:var(--text-secondary)}._tooltipValue_faue8_71{color:var(--text-primary);font-weight:var(--font-weight-medium);margin-left:auto;padding-left:var(--spacing-3)}._legend_faue8_82{display:flex;align-items:center;justify-content:center;gap:var(--spacing-4);padding-top:var(--spacing-3);font-family:var(--font-secondary);font-size:var(--font-size-13)}._legendItem_faue8_92{display:flex;align-items:center;gap:var(--spacing-2);color:var(--text-secondary)}._legendDot_faue8_99{width:8px;height:8px;border-radius:var(--radius-full);flex-shrink:0}
|
|
484
484
|
|
|
485
|
-
._chat_ytosv_12{display:flex;flex-direction:column;height:100%;flex:1;min-height:0;background:var(--surface-base);border-radius:var(--radius-container);overflow:hidden;position:relative}._header_ytosv_28{display:flex;align-items:center;gap:var(--spacing-3);padding:var(--spacing-3) var(--spacing-4);background:var(--surface-base);border-bottom:1px solid var(--border-subtle);flex-shrink:0}._headerAvatar_ytosv_38{flex-shrink:0}._headerContent_ytosv_42{flex:1;min-width:0}._headerTitle_ytosv_47{font-size:var(--font-size-16);font-weight:var(--font-weight-semibold);color:var(--text-primary);line-height:var(--line-height-tight);margin:0}._headerSubtitle_ytosv_55{font-size:var(--font-size-14);color:var(--text-secondary);line-height:var(--line-height-normal);margin:0}._headerActions_ytosv_62{display:flex;align-items:center;gap:var(--spacing-2);flex-shrink:0}._messages_ytosv_73{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:var(--spacing-4);padding-bottom:var(--spacing-32);display:flex;flex-direction:column;gap:var(--spacing-4);scroll-behavior:smooth}._messagesInner_ytosv_86{display:flex;flex-direction:column;flex-shrink:0;gap:var(--spacing-4);max-width:var(--chat-max-width);width:100%;margin:0 auto}._message_ytosv_73{display:flex;gap:var(--spacing-3);max-width:100%;animation:_messageIn_ytosv_1 var(--transition-spring)}@keyframes _messageIn_ytosv_1{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){._message_ytosv_73{animation:none}}._messageUser_ytosv_124{flex-direction:row-reverse}._messageUser_ytosv_124 ._messageContent_ytosv_129{flex:0 1 auto;max-width:75%;align-items:flex-end}._messageAssistant_ytosv_128 ._messageContent_ytosv_129{flex:0 1 auto;max-width:90%}._messageAvatar_ytosv_144{flex-shrink:0;width:var(--size-avatar-md);height:var(--size-avatar-md);border-radius:var(--radius-full);overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--surface-subtle);color:var(--text-secondary);font-size:var(--font-size-14)}._messageAvatarUser_ytosv_158{background:var(--interactive-primary);color:var(--interactive-primary-text)}._messageAvatarAssistant_ytosv_163{background:var(--surface-layer);color:var(--text-brand)}._messageContent_ytosv_129{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--spacing-2)}._messageBubble_ytosv_176{padding:var(--spacing-3) var(--spacing-4);border-radius:var(--chat-bubble-radius);line-height:var(--line-height-relaxed);overflow-wrap:break-word}._messageBubbleUser_ytosv_183{background:var(--interactive-primary);color:var(--text-on-brand-primary);box-shadow:var(--shadow-sm);width:fit-content;max-width:100%}._messageBubbleAssistant_ytosv_191{background:var(--surface-layer);color:var(--text-primary);width:fit-content;max-width:100%}._messageBubbleSystem_ytosv_198{background:var(--surface-layer);color:var(--text-secondary);font-size:var(--font-size-14);text-align:center;border-radius:var(--chat-bubble-radius);padding:var(--spacing-2) var(--spacing-3)}._messageAttachments_ytosv_207{display:flex;flex-wrap:wrap;gap:var(--spacing-2);margin-top:var(--spacing-2)}._messageUser_ytosv_124 ._messageAttachments_ytosv_207{justify-content:flex-end}._messageFooter_ytosv_218{display:flex;align-items:center;gap:var(--spacing-2);padding:0 var(--spacing-1)}._messageUser_ytosv_124 ._messageFooter_ytosv_218{justify-content:flex-end}._messageTimestamp_ytosv_229{font-size:var(--font-size-12);color:var(--text-tertiary)}._messageStatus_ytosv_234{display:flex;align-items:center;gap:var(--spacing-1);font-size:var(--font-size-12);color:var(--text-tertiary)}._messageStatusError_ytosv_242{color:var(--status-error)}._messageActions_ytosv_246{display:flex;align-items:center;gap:var(--spacing-1);opacity:0;transition:opacity var(--transition-fast)}._message_ytosv_73:hover ._messageActions_ytosv_246{opacity:1}._streamingCursor_ytosv_259{display:inline-block;width:var(--spacing-05);height:1.1em;background:currentColor;margin-left:var(--spacing-05);border-radius:1px;vertical-align:text-bottom;animation:_cursorPulse_ytosv_1 1.2s ease-in-out infinite}@keyframes _cursorPulse_ytosv_1{0%,to{opacity:1}50%{opacity:.15}}._thinkingBubble_ytosv_288{display:flex;align-items:center;justify-content:center;min-height:40px;min-width:56px}._thinkingSpinner_ytosv_296{display:block;width:20px;height:20px;border-radius:var(--radius-full);background:conic-gradient(from 0deg,transparent 0%,transparent 10%,var(--text-tertiary) 100%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),var(--text-primary) calc(100% - 2px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),var(--text-primary) calc(100% - 2px));animation:_thinkingSpin_ytosv_296 1.2s linear infinite}@keyframes _thinkingSpin_ytosv_296{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){._thinkingSpinner_ytosv_296{animation:none;background:none;-webkit-mask:none;mask:none;border:2px solid var(--border-subtle);border-top-color:var(--text-tertiary)}}._inputContainer_ytosv_341{position:absolute;bottom:0;left:0;right:0;padding:var(--spacing-10) var(--spacing-4) var(--spacing-4);background:linear-gradient(to bottom,transparent 0%,var(--surface-base) 50%);pointer-events:none;z-index:var(--z-dropdown)}._inputWrapper_ytosv_356{display:flex;flex-direction:column;gap:var(--spacing-2);max-width:var(--chat-max-width);margin:0 auto;pointer-events:auto}._inputBox_ytosv_365{display:flex;align-items:flex-end;gap:var(--spacing-2);background:var(--surface-base);border:1px solid var(--border-default);border-radius:var(--radius-xl);padding:var(--spacing-3) var(--spacing-4);box-shadow:var(--shadow-card-sm);transition:all var(--transition-fast)}._inputBox_ytosv_365:focus-within{border-color:var(--interactive-primary);box-shadow:var(--shadow-md)}._inputActions_ytosv_382{display:flex;align-items:center;gap:var(--spacing-1);flex-shrink:0}._inputTextarea_ytosv_389{flex:1;min-height:var(--chat-textarea-min-height);max-height:var(--chat-textarea-max-height);padding:var(--spacing-1) 0;background:transparent;border:none;outline:none;font-family:var(--font-secondary);font-size:var(--font-size-16);color:var(--text-primary);line-height:var(--line-height-relaxed);resize:none;overflow-y:auto}._inputTextarea_ytosv_389::placeholder{color:var(--text-tertiary)}._inputSendButton_ytosv_409{flex-shrink:0}._inputButton_ytosv_413{display:flex;align-items:center;justify-content:center;width:var(--size-avatar-md);height:var(--size-avatar-md);padding:0;background:transparent;border:none;border-radius:var(--radius-control);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}._inputButton_ytosv_413:hover:not(:disabled){background:var(--surface-layer);color:var(--text-primary)}._inputButton_ytosv_413:disabled{opacity:.5;cursor:not-allowed}._inputButtonPrimary_ytosv_438{background:var(--interactive-primary);color:var(--interactive-primary-text);border-radius:var(--radius-full)}._inputButtonPrimary_ytosv_438:hover:not(:disabled){background:var(--interactive-primary-hover);color:var(--interactive-primary-text)}._pendingAttachments_ytosv_450{display:flex;flex-wrap:wrap;gap:var(--spacing-2);padding:var(--spacing-2) var(--spacing-3);background:var(--surface-subtle);border-radius:var(--chat-bubble-radius)}._pendingAttachment_ytosv_450{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-1) var(--spacing-2);background:var(--surface-base);border:1px solid var(--border-subtle);border-radius:var(--chat-bubble-radius);font-size:var(--font-size-14);color:var(--text-primary)}._pendingAttachmentRemove_ytosv_471{display:flex;align-items:center;justify-content:center;width:var(--size-icon-md);height:var(--size-icon-md);padding:0;background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast)}._pendingAttachmentRemove_ytosv_471:hover{background:var(--surface-subtle);color:var(--status-error)}._codeBlock_ytosv_495{position:relative;margin:var(--spacing-2) 0;border-radius:var(--chat-bubble-radius);overflow:hidden;background:var(--surface-sunken)}._codeBlockHeader_ytosv_503{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-2) var(--spacing-3);background:var(--surface-layer);border-bottom:1px solid var(--border-subtle)}._codeBlockLanguage_ytosv_512{font-size:var(--font-size-12);font-family:var(--font-mono);color:var(--text-secondary);text-transform:uppercase}._codeBlockCopy_ytosv_519{display:flex;align-items:center;gap:var(--spacing-1);padding:var(--spacing-1) var(--spacing-2);background:transparent;border:none;border-radius:var(--radius-sm);font-size:var(--font-size-12);color:var(--text-secondary);cursor:pointer;transition:all var(--transition-fast)}._codeBlockCopy_ytosv_519:hover{background:var(--surface-subtle);color:var(--text-primary)}._codeBlockCopied_ytosv_538{color:var(--status-success)}._codeBlockContent_ytosv_542{overflow-x:auto;padding:var(--spacing-3);font-family:var(--font-mono);font-size:var(--font-size-14);line-height:var(--line-height-relaxed)}._markdown_ytosv_554{font-family:var(--font-secondary);font-size:var(--font-size-16);line-height:var(--line-height-relaxed);color:inherit}._markdown_ytosv_554 p{margin:0 0 var(--spacing-2)}._markdown_ytosv_554 p:last-child{margin-bottom:0}._markdown_ytosv_554 strong{font-weight:var(--font-weight-semibold)}._markdown_ytosv_554 em{font-style:italic}._markdown_ytosv_554 a{color:var(--text-brand);text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color var(--transition-fast)}._markdown_ytosv_554 a:hover{text-decoration-color:currentColor}._markdown_ytosv_554 ul,._markdown_ytosv_554 ol{margin:var(--spacing-2) 0;padding-left:var(--spacing-6)}._markdown_ytosv_554 li{margin:var(--spacing-1) 0}._markdown_ytosv_554 h1,._markdown_ytosv_554 h2,._markdown_ytosv_554 h3,._markdown_ytosv_554 h4,._markdown_ytosv_554 h5,._markdown_ytosv_554 h6{font-weight:var(--font-weight-semibold);line-height:var(--line-height-tight);margin:var(--spacing-4) 0 var(--spacing-2)}._markdown_ytosv_554 h1:first-child,._markdown_ytosv_554 h2:first-child,._markdown_ytosv_554 h3:first-child{margin-top:0}._markdown_ytosv_554 h1{font-size:var(--font-size-24)}._markdown_ytosv_554 h2{font-size:var(--font-size-20)}._markdown_ytosv_554 h3{font-size:var(--font-size-18)}._markdown_ytosv_554 h4{font-size:var(--font-size-16)}._markdown_ytosv_554 blockquote{margin:var(--spacing-3) 0;padding:var(--spacing-2) var(--spacing-4);border-left:3px solid var(--border-strong);background:var(--surface-layer);color:var(--text-secondary)}._markdown_ytosv_554 hr{margin:var(--spacing-4) 0;border:none;border-top:1px solid var(--border-subtle)}._markdown_ytosv_554 table{width:100%;margin:var(--spacing-3) 0;border-collapse:collapse;font-size:var(--font-size-14)}._markdown_ytosv_554 th,._markdown_ytosv_554 td{padding:var(--spacing-2) var(--spacing-3);border:1px solid var(--border-subtle);text-align:left}._markdown_ytosv_554 th{background:var(--surface-layer);font-weight:var(--font-weight-medium)}._markdown_ytosv_554 code{padding:var(--spacing-05) var(--spacing-2);background:var(--surface-layer);border-radius:var(--radius-sm);font-family:var(--font-mono);font-size:.9em}._markdown_ytosv_554 pre{margin:var(--spacing-3) 0;padding:0;background:transparent;border-radius:var(--radius-sm);overflow:hidden}._markdown_ytosv_554 pre code{padding:0;background:transparent;border-radius:0}._markdownUser_ytosv_684 a{color:inherit;opacity:.9}._markdownUser_ytosv_684 code{background:var(--overlay-light)}._imagePreview_ytosv_698{position:relative;border-radius:var(--chat-bubble-radius);overflow:hidden;cursor:pointer;transition:transform var(--transition-fast)}._imagePreview_ytosv_698:hover{transform:scale(1.02)}._imagePreviewImg_ytosv_710{display:block;max-width:var(--chat-image-max-width);max-height:var(--chat-image-max-height);width:auto;height:auto;object-fit:cover;border-radius:var(--chat-bubble-radius)}._audioPlayer_ytosv_721{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-2) var(--spacing-3);background:var(--surface-layer);border-radius:var(--chat-bubble-radius);min-width:200px}._audioPlayerButton_ytosv_731{display:flex;align-items:center;justify-content:center;width:var(--size-avatar-sm);height:var(--size-avatar-sm);padding:0;background:var(--interactive-primary);border:none;border-radius:var(--radius-full);color:var(--interactive-primary-text);cursor:pointer;transition:all var(--transition-fast)}._audioPlayerButton_ytosv_731:hover{background:var(--interactive-primary-hover)}._audioPlayerProgress_ytosv_750{flex:1;display:flex;flex-direction:column;gap:var(--spacing-1)}._audioPlayerTrack_ytosv_757{height:4px;background:var(--surface-subtle);border-radius:var(--radius-full);overflow:hidden}._audioPlayerFill_ytosv_764{height:100%;background:var(--interactive-primary);transition:width .1s linear}._audioPlayerTime_ytosv_770{display:flex;justify-content:space-between;font-size:var(--font-size-12);color:var(--text-tertiary);font-family:var(--font-mono)}._voiceRecorder_ytosv_779{display:flex;align-items:center;gap:var(--spacing-3);padding:var(--spacing-3);background:var(--surface-layer);border-radius:var(--chat-bubble-radius)}._voiceRecorderButton_ytosv_788{display:flex;align-items:center;justify-content:center;width:var(--size-avatar-lg);height:var(--size-avatar-lg);padding:0;background:var(--status-error);border:none;border-radius:var(--radius-full);color:var(--color-neutral-0);cursor:pointer;transition:all var(--transition-fast)}._voiceRecorderButton_ytosv_788:hover{opacity:.9}._voiceRecorderButtonIdle_ytosv_807{background:var(--interactive-primary)}._voiceRecorderInfo_ytosv_811{flex:1;display:flex;flex-direction:column;gap:var(--spacing-1)}._voiceRecorderDuration_ytosv_818{font-size:var(--font-size-18);font-family:var(--font-mono);color:var(--text-primary)}._voiceRecorderLabel_ytosv_824{font-size:var(--font-size-14);color:var(--text-secondary)}._voiceRecorderWaveform_ytosv_829{display:flex;align-items:center;gap:var(--spacing-05);height:32px}._voiceRecorderBar_ytosv_836{width:3px;background:var(--status-error);border-radius:var(--radius-full);animation:_waveform_ytosv_1 .5s ease-in-out infinite}._voiceRecorderBar_ytosv_836:nth-child(2){animation-delay:.1s}._voiceRecorderBar_ytosv_836:nth-child(3){animation-delay:.2s}._voiceRecorderBar_ytosv_836:nth-child(4){animation-delay:.3s}._voiceRecorderBar_ytosv_836:nth-child(5){animation-delay:.4s}@keyframes _waveform_ytosv_1{0%,to{height:8px}50%{height:24px}}._voiceRecorderActions_ytosv_866{display:flex;gap:var(--spacing-2)}._fileUpload_ytosv_872{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--spacing-6);border:2px dashed var(--border-default);border-radius:var(--radius-container);background:var(--surface-subtle);cursor:pointer;transition:all var(--transition-fast)}._fileUpload_ytosv_872:hover{border-color:var(--interactive-primary);background:var(--surface-layer)}._fileUploadDragging_ytosv_890{border-color:var(--interactive-primary);background:var(--interactive-primary-subtle)}._fileUploadIcon_ytosv_895{color:var(--text-tertiary);margin-bottom:var(--spacing-2)}._fileUploadText_ytosv_900{font-size:var(--font-size-14);color:var(--text-secondary);text-align:center}._fileUploadHint_ytosv_906{font-size:var(--font-size-12);color:var(--text-tertiary);margin-top:var(--spacing-1)}._attachmentPreview_ytosv_913{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-2);background:var(--surface-layer);border:1px solid var(--border-subtle);border-radius:var(--chat-bubble-radius);cursor:pointer;transition:all var(--transition-fast)}._attachmentPreview_ytosv_913:hover{border-color:var(--border-default)}._attachmentPreviewIcon_ytosv_929{display:flex;align-items:center;justify-content:center;width:var(--size-avatar-sm);height:var(--size-avatar-sm);background:var(--surface-subtle);border-radius:var(--radius-sm);color:var(--text-secondary)}._attachmentPreviewInfo_ytosv_940{flex:1;min-width:0}._attachmentPreviewName_ytosv_945{font-size:var(--font-size-14);color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._attachmentPreviewMeta_ytosv_953{font-size:var(--font-size-12);color:var(--text-tertiary)}._attachmentPreviewRemove_ytosv_958{display:flex;align-items:center;justify-content:center;width:var(--size-icon-lg);height:var(--size-icon-lg);padding:0;background:transparent;border:none;border-radius:var(--radius-full);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast)}._attachmentPreviewRemove_ytosv_958:hover{background:var(--surface-subtle);color:var(--status-error)}._lightbox_ytosv_982{position:fixed;inset:0;z-index:var(--z-toast);display:flex;align-items:center;justify-content:center;padding:var(--spacing-4);background:var(--overlay-dark-heavy);animation:_lightboxIn_ytosv_1 .2s ease-out}@keyframes _lightboxIn_ytosv_1{0%{opacity:0}to{opacity:1}}._lightboxImage_ytosv_1003{max-width:100%;max-height:100%;object-fit:contain;border-radius:var(--radius-sm)}._lightboxClose_ytosv_1010{position:absolute;top:var(--spacing-4);right:var(--spacing-4);display:flex;align-items:center;justify-content:center;width:var(--size-avatar-md);height:var(--size-avatar-md);padding:0;background:var(--overlay-light-subtle);border:none;border-radius:var(--radius-full);color:var(--color-neutral-0);cursor:pointer;transition:all var(--transition-fast)}._lightboxClose_ytosv_1010:hover{background:var(--overlay-light)}._sidebar_ytosv_1036{display:flex;flex-direction:column;width:var(--size-sidebar-width);flex-shrink:0;height:100%;background:var(--surface-sunken);border-right:1px solid var(--border-subtle);overflow:hidden}._sidebarHeader_ytosv_1047{display:flex;align-items:center;gap:var(--spacing-2);padding:var(--spacing-3) var(--spacing-4);border-bottom:1px solid var(--border-subtle)}._sidebarNewButton_ytosv_1055{flex:1}._sidebarSearch_ytosv_1059{padding:var(--spacing-2) var(--spacing-4)}._sidebarSearchInput_ytosv_1063{width:100%;padding:var(--spacing-2) var(--spacing-3);background:var(--surface-base);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);font-size:var(--font-size-14);color:var(--text-primary);outline:none;transition:all var(--transition-fast)}._sidebarSearchInput_ytosv_1063::placeholder{color:var(--text-tertiary)}._sidebarSearchInput_ytosv_1063:focus{border-color:var(--interactive-primary)}._sidebarList_ytosv_1083{flex:1;overflow-y:auto;padding:var(--spacing-2)}._sidebarItem_ytosv_1089{display:flex;align-items:flex-start;gap:var(--spacing-3);width:100%;padding:var(--spacing-3);background:transparent;border:none;border-radius:var(--radius-sm);text-align:left;cursor:pointer;transition:all var(--transition-fast)}._sidebarItem_ytosv_1089:hover,._sidebarItemActive_ytosv_1107{background:var(--surface-base)}._sidebarItemContent_ytosv_1111{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}._sidebarItemTitle_ytosv_1119{display:block;font-size:var(--font-size-14);font-weight:var(--font-weight-medium);color:var(--text-primary);line-height:var(--line-height-tight);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._sidebarItemPreview_ytosv_1130{display:block;font-size:var(--font-size-12);color:var(--text-tertiary);line-height:var(--line-height-normal);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._sidebarItemDelete_ytosv_1140{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:var(--size-icon-lg);height:var(--size-icon-lg);padding:0;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-tertiary);cursor:pointer;opacity:0;transition:all var(--transition-fast)}._sidebarItem_ytosv_1089:hover ._sidebarItemDelete_ytosv_1140{opacity:1}._sidebarItemDelete_ytosv_1140:hover{background:var(--surface-subtle);color:var(--status-error)}._sidebarFooter_ytosv_1166{padding:var(--spacing-3) var(--spacing-4);border-top:1px solid var(--border-subtle)}._sidebarEmpty_ytosv_1171{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--spacing-8);color:var(--text-tertiary);text-align:center}._sidebarEmptyIcon_ytosv_1181{margin-bottom:var(--spacing-2)}._sidebarGroupHeader_ytosv_1186{padding:var(--spacing-2) var(--spacing-3);margin-top:var(--spacing-3);font-size:var(--font-size-10);font-weight:var(--font-weight-medium);color:var(--text-tertiary);text-transform:uppercase;letter-spacing:var(--letter-spacing-wide)}._sidebarGroupHeader_ytosv_1186:first-child{margin-top:0}._sidebarCollapsed_ytosv_1201{position:fixed;left:0;top:0;bottom:0;transform:translate(-100%);z-index:var(--z-sticky);box-shadow:var(--shadow-lg)}._sidebarCollapsed_ytosv_1201._sidebarOpen_ytosv_1211{transform:translate(0)}._section_ytosv_1219{display:flex;height:100%;background:var(--surface-base);overflow:hidden}._sectionMain_ytosv_1226{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}._pageTemplate_ytosv_1239{display:flex;height:100vh;background:var(--surface-base);overflow:hidden}._pageTemplateHeader_ytosv_1246{display:flex;align-items:center;justify-content:space-between;padding:var(--spacing-3) var(--spacing-4);background:var(--surface-base);border-bottom:1px solid var(--border-subtle)}._pageTemplateLogo_ytosv_1255{display:flex;align-items:center;gap:var(--spacing-2);font-weight:var(--font-weight-semibold);color:var(--text-primary)}._pageTemplateUser_ytosv_1263{display:flex;align-items:center;gap:var(--spacing-2)}._scrollToBottomWrapper_ytosv_1273{position:sticky;bottom:var(--spacing-20);display:flex;justify-content:center;pointer-events:none;z-index:var(--z-dropdown)}._scrollToBottomButton_ytosv_1282{pointer-events:auto;box-shadow:var(--shadow-md)}@keyframes _spin_ytosv_1{to{transform:rotate(360deg)}}._inputSpinner_ytosv_1297{display:inline-block;width:20px;height:20px;border:2px solid currentColor;border-top-color:transparent;border-radius:var(--radius-full);animation:_spin_ytosv_1 1s linear infinite}._pendingAttachmentSize_ytosv_1311{color:var(--text-tertiary)}._voiceRecorderError_ytosv_1319{color:var(--status-error)}._headerAvatarDefault_ytosv_1327{background:var(--surface-layer);color:var(--text-brand)}._sidebarOverlay_ytosv_1336{position:fixed;inset:0;background:var(--overlay-dark-heavy);z-index:var(--z-dropdown);display:none}._sidebarNewButtonInner_ytosv_1344{display:flex;align-items:center;gap:var(--spacing-2);width:100%;justify-content:center}._sidebarCloseButton_ytosv_1352{display:none}._sidebarSearchWrapper_ytosv_1356{position:relative}._sidebarSearchIcon_ytosv_1360{position:absolute;left:var(--spacing-3);top:50%;transform:translateY(-50%);color:var(--text-tertiary);pointer-events:none}._sidebarSearchInputWithIcon_ytosv_1369{padding-left:var(--spacing-8)}._sidebarItemIcon_ytosv_1373{flex-shrink:0;color:var(--text-tertiary);margin-top:2px}._sidebarItemDate_ytosv_1379{font-size:var(--font-size-12);color:var(--text-tertiary);flex-shrink:0;margin-top:2px;white-space:nowrap}._sidebarItemDeleteConfirm_ytosv_1388{font-size:var(--font-size-12);color:var(--status-error);font-weight:var(--font-weight-medium)}._messageRetry_ytosv_1398{display:inline-flex;align-items:center;gap:var(--spacing-1);padding:var(--spacing-1) var(--spacing-2);margin-left:var(--spacing-2);background:transparent;border:1px solid var(--status-error);border-radius:var(--radius-sm);color:var(--status-error);font-size:var(--font-size-12);cursor:pointer;transition:all var(--transition-fast)}._messageRetry_ytosv_1398:hover{background:var(--status-error);color:var(--color-neutral-0)}._messageReactions_ytosv_1422{display:flex;align-items:center;gap:var(--spacing-1);opacity:0;transition:opacity var(--transition-fast)}._message_ytosv_73:hover ._messageReactions_ytosv_1422{opacity:1}._messageReactionButton_ytosv_1434{display:flex;align-items:center;justify-content:center;width:var(--size-icon-lg);height:var(--size-icon-lg);padding:0;background:transparent;border:none;border-radius:var(--radius-sm);color:var(--text-tertiary);cursor:pointer;transition:all var(--transition-fast)}._messageReactionButton_ytosv_1434:hover{background:var(--surface-layer);color:var(--text-primary)}._messageReactionActive_ytosv_1454{color:var(--interactive-primary);opacity:1}._messageReactionsVisible_ytosv_1460{opacity:1}._emptyState_ytosv_1468{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:var(--spacing-4);color:var(--text-tertiary);text-align:center;padding:var(--spacing-8)}._emptyStateIcon_ytosv_1480{width:64px;height:64px;border-radius:var(--radius-full);background:var(--surface-subtle);display:flex;align-items:center;justify-content:center}._emptyStateTitle_ytosv_1490{font-size:var(--font-size-20);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin-bottom:var(--spacing-2)}._emptyStateText_ytosv_1497{font-size:var(--font-size-14)}._pageTemplateSidebarHeader_ytosv_1505{display:flex;align-items:center;gap:var(--spacing-2);width:100%}._pageTemplateSidebarHeaderLogo_ytosv_1512{flex:1}._pageTemplateSidebarHeaderLogoText_ytosv_1516{font-weight:var(--font-weight-semibold);color:var(--text-primary);font-size:var(--font-size-18)}._pageTemplateUserButton_ytosv_1526{display:flex;align-items:center;gap:var(--spacing-2);width:100%;padding:var(--spacing-2);background:transparent;border:none;border-radius:var(--radius-sm);cursor:pointer;transition:all var(--transition-fast)}._pageTemplateUserButtonActive_ytosv_1539{background:var(--surface-base)}._pageTemplateUserAvatar_ytosv_1543{width:32px;height:32px;border-radius:var(--radius-full);object-fit:cover}._pageTemplateUserAvatarFallback_ytosv_1550{width:32px;height:32px;border-radius:var(--radius-full);background:var(--interactive-primary);color:var(--interactive-primary-text);display:flex;align-items:center;justify-content:center}._pageTemplateUserName_ytosv_1561{flex:1;text-align:left;color:var(--text-primary);font-weight:var(--font-weight-medium)}._pageTemplateUserMenu_ytosv_1572{position:absolute;bottom:100%;left:0;right:0;margin-bottom:var(--spacing-2);background:var(--surface-base);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);overflow:hidden}._pageTemplateMenuItem_ytosv_1585{display:flex;align-items:center;gap:var(--spacing-2);width:100%;padding:var(--spacing-2) var(--spacing-3);background:transparent;border:none;color:var(--text-primary);cursor:pointer;text-align:left;font-size:var(--font-size-14);transition:background var(--transition-fast)}._pageTemplateMenuItem_ytosv_1585:hover{background:var(--surface-subtle)}._pageTemplateMenuItemDanger_ytosv_1604{color:var(--status-error)}._pageTemplateMenuItemDanger_ytosv_1604:hover{background:var(--surface-subtle)}._pageTemplateMenuOverlay_ytosv_1613{position:fixed;inset:0;z-index:var(--z-dropdown)}@media(max-width:768px){._sidebar_ytosv_1036{position:fixed;left:0;top:0;bottom:0;z-index:var(--z-sticky);transform:translate(-100%);transition:transform var(--transition-smooth);box-shadow:var(--shadow-lg)}._sidebar_ytosv_1036._sidebarOpen_ytosv_1211{transform:translate(0)}._sidebarOverlay_ytosv_1336{display:block}._sidebarCloseButton_ytosv_1352{display:flex}._messages_ytosv_73{padding:var(--spacing-3);padding-bottom:var(--spacing-24)}._inputContainer_ytosv_341{padding:var(--spacing-8) var(--spacing-3) var(--spacing-3)}._messageAvatar_ytosv_144{width:var(--size-avatar-sm);height:var(--size-avatar-sm)}._messageBubble_ytosv_176{padding:var(--spacing-2) var(--spacing-3)}._messageUser_ytosv_124 ._messageContent_ytosv_129{max-width:85%}._messageAssistant_ytosv_128 ._messageContent_ytosv_129{max-width:100%}._imagePreviewImg_ytosv_710{max-width:var(--chat-image-max-width-mobile);max-height:var(--chat-image-max-height-mobile)}._section_ytosv_1219>._sidebar_ytosv_1036{position:fixed;left:0;top:0;bottom:0;z-index:var(--z-sticky);transform:translate(-100%);transition:transform var(--transition-smooth);box-shadow:var(--shadow-lg)}._section_ytosv_1219>._sidebar_ytosv_1036._sidebarOpen_ytosv_1211{transform:translate(0)}._sectionMobileMenuButton_ytosv_1694{display:flex!important}._pageTemplate_ytosv_1239>._sidebar_ytosv_1036{position:fixed;left:0;top:0;bottom:0;z-index:var(--z-sticky);transform:translate(-100%);transition:transform var(--transition-smooth);box-shadow:var(--shadow-lg)}._pageTemplate_ytosv_1239>._sidebar_ytosv_1036:not(._sidebarCollapsed_ytosv_1201){transform:translate(0)}}@media(min-width:769px){._sectionMobileMenuButton_ytosv_1694{display:none!important}}
|
|
486
|
-
|
|
487
485
|
._container_1ggcm_12{display:inline-flex;flex-direction:column;gap:var(--spacing-1)}._disabled_1ggcm_18{opacity:.5}._labelWrapper_1ggcm_26{display:inline-flex;align-items:center;gap:var(--spacing-3);cursor:pointer;-webkit-user-select:none;user-select:none}._disabled_1ggcm_18 ._labelWrapper_1ggcm_26{cursor:not-allowed;pointer-events:none}._input_1ggcm_43{position:absolute;opacity:0;width:0;height:0;pointer-events:none}._checkbox_1ggcm_55{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;background:var(--surface-base);border:2px solid var(--border-strong);border-radius:var(--radius-sm);transition:all var(--transition-fast)}._checkmark_1ggcm_76{display:flex;align-items:center;justify-content:center;width:12px;height:12px;color:var(--interactive-primary-text);opacity:0;transform:scale(.5);transition:all var(--transition-fast)}._sm_1ggcm_92 ._checkbox_1ggcm_55{width:16px;height:16px}._sm_1ggcm_92 ._checkmark_1ggcm_76{width:10px;height:10px}._md_1ggcm_102 ._checkbox_1ggcm_55{width:20px;height:20px}._md_1ggcm_102 ._checkmark_1ggcm_76{width:12px;height:12px}._lg_1ggcm_112 ._checkbox_1ggcm_55{width:24px;height:24px}._lg_1ggcm_112 ._checkmark_1ggcm_76{width:14px;height:14px}._input_1ggcm_43:checked+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{background:var(--interactive-primary);border-color:var(--interactive-primary)}._input_1ggcm_43:checked+._labelWrapper_1ggcm_26 ._checkmark_1ggcm_76{opacity:1;transform:scale(1)}._input_1ggcm_43:indeterminate+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{background:var(--interactive-primary);border-color:var(--interactive-primary)}._input_1ggcm_43:indeterminate+._labelWrapper_1ggcm_26 ._checkmark_1ggcm_76{opacity:1;transform:scale(1)}._labelWrapper_1ggcm_26:hover ._checkbox_1ggcm_55{border-color:var(--interactive-primary)}._input_1ggcm_43:checked+._labelWrapper_1ggcm_26:hover ._checkbox_1ggcm_55,._input_1ggcm_43:indeterminate+._labelWrapper_1ggcm_26:hover ._checkbox_1ggcm_55{background:var(--interactive-primary-hover);border-color:var(--interactive-primary-hover)}._input_1ggcm_43:focus-visible+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{outline:2px solid var(--interactive-primary);outline-offset:2px;box-shadow:0 0 0 4px var(--soft-brand)}._input_1ggcm_43:disabled+._labelWrapper_1ggcm_26{opacity:.5;cursor:not-allowed;pointer-events:none}._input_1ggcm_43:disabled+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{background:var(--surface-subtle);border-color:var(--border-subtle)}._input_1ggcm_43:disabled:checked+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55,._input_1ggcm_43:disabled:indeterminate+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{background:var(--text-tertiary);border-color:var(--text-tertiary)}._error_1ggcm_199 ._checkbox_1ggcm_55,._error_1ggcm_199 ._labelWrapper_1ggcm_26:hover ._checkbox_1ggcm_55{border-color:var(--status-error)}._error_1ggcm_199 ._input_1ggcm_43:focus-visible+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{outline-color:var(--status-error);box-shadow:0 0 0 4px var(--soft-error)}._label_1ggcm_26{font-family:var(--font-secondary);font-size:var(--font-size-14);font-weight:var(--font-weight-normal);color:var(--text-primary);line-height:1.4}._sm_1ggcm_92 ._label_1ggcm_26{font-size:var(--font-size-13)}._lg_1ggcm_112 ._label_1ggcm_26{font-size:var(--font-size-16)}._required_1ggcm_232{color:var(--status-error);margin-left:2px}._helperText_1ggcm_238{margin:0;font-family:var(--font-secondary);font-size:var(--font-size-12);color:var(--text-secondary);line-height:var(--line-height-snug);padding-left:calc(20px + var(--spacing-3))}._sm_1ggcm_92 ._helperText_1ggcm_238{padding-left:calc(16px + var(--spacing-3))}._lg_1ggcm_112 ._helperText_1ggcm_238{padding-left:calc(24px + var(--spacing-3))}._errorMessage_1ggcm_256{display:flex;align-items:center;gap:var(--spacing-1);margin:0;font-family:var(--font-secondary);font-size:var(--font-size-12);color:var(--status-error);line-height:var(--line-height-snug);padding-left:calc(20px + var(--spacing-3))}._sm_1ggcm_92 ._errorMessage_1ggcm_256{padding-left:calc(16px + var(--spacing-3))}._lg_1ggcm_112 ._errorMessage_1ggcm_256{padding-left:calc(24px + var(--spacing-3))}@media(forced-colors:active){._checkbox_1ggcm_55{border:2px solid CanvasText;background:Canvas}._input_1ggcm_43:checked+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55,._input_1ggcm_43:indeterminate+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{background:Highlight;border-color:Highlight}._checkmark_1ggcm_76{color:Canvas}._input_1ggcm_43:focus-visible+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{outline:3px solid Highlight;outline-offset:2px}._input_1ggcm_43:disabled+._labelWrapper_1ggcm_26 ._checkbox_1ggcm_55{border-color:GrayText}._error_1ggcm_199 ._checkbox_1ggcm_55{border-color:LinkText}._errorMessage_1ggcm_256{color:LinkText}._label_1ggcm_26{color:CanvasText}}@media(prefers-reduced-motion:reduce){._checkbox_1ggcm_55,._checkmark_1ggcm_76{transition:none}}
|
|
488
486
|
|
|
489
487
|
._chip_1thuo_9{display:inline-flex;align-items:center;gap:var(--spacing-1);font-family:var(--font-secondary);font-weight:var(--font-weight-medium);border-radius:var(--radius-full);white-space:nowrap;transition:background-color var(--transition-fast),border-color var(--transition-fast)}._sm_1thuo_26{height:24px;padding:0 var(--spacing-2);font-size:var(--font-size-12)}._md_1thuo_32{height:28px;padding:0 var(--spacing-3);font-size:var(--font-size-12)}._lg_1thuo_38{height:32px;padding:0 var(--spacing-3);font-size:var(--font-size-14)}._default_1thuo_48{background:var(--surface-subtle);color:var(--text-primary);border:1px solid var(--border-subtle)}._primary_1thuo_54{background:color-mix(in srgb,var(--interactive-primary) 15%,transparent);color:var(--text-brand);border:1px solid color-mix(in srgb,var(--interactive-primary) 30%,transparent)}._success_1thuo_61{background:color-mix(in srgb,var(--status-success) 15%,transparent);color:var(--status-success);border:1px solid color-mix(in srgb,var(--status-success) 30%,transparent)}._warning_1thuo_67{background:color-mix(in srgb,var(--status-warning) 15%,transparent);color:var(--status-warning);border:1px solid color-mix(in srgb,var(--status-warning) 30%,transparent)}._error_1thuo_73{background:color-mix(in srgb,var(--status-error) 15%,transparent);color:var(--status-error);border:1px solid color-mix(in srgb,var(--status-error) 30%,transparent)}._info_1thuo_79{background:color-mix(in srgb,var(--status-info) 15%,transparent);color:var(--status-info);border:1px solid color-mix(in srgb,var(--status-info) 30%,transparent)}._inverse_1thuo_85,[data-dark-bg=true] ._default_1thuo_48,[data-dark-bg=true] ._primary_1thuo_54,[data-dark-bg=true] ._success_1thuo_61,[data-dark-bg=true] ._warning_1thuo_67,[data-dark-bg=true] ._error_1thuo_73,[data-dark-bg=true] ._info_1thuo_79{background:color-mix(in srgb,var(--color-neutral-0) 20%,transparent);color:var(--color-neutral-0);border:1px solid color-mix(in srgb,var(--color-neutral-0) 20%,transparent)}._clickable_1thuo_115{cursor:pointer}._clickable_1thuo_115:hover:not(._disabled_1thuo_118){filter:brightness(.95)}._clickable_1thuo_115:focus-visible{outline:2px solid var(--interactive-primary);outline-offset:2px}._clickable_1thuo_115:active:not(._disabled_1thuo_118){transform:scale(.98)}._selected_1thuo_132._default_1thuo_48,._selected_1thuo_132._primary_1thuo_54{background:var(--interactive-primary);color:var(--interactive-primary-text);border-color:var(--interactive-primary)}._disabled_1thuo_118{opacity:.5;cursor:not-allowed;pointer-events:none}._icon_1thuo_156{width:14px;height:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center}._sm_1thuo_26 ._icon_1thuo_156{width:12px;height:12px}._lg_1thuo_38 ._icon_1thuo_156{width:16px;height:16px}._label_1thuo_175{line-height:1}._removeButton_1thuo_179{display:flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:var(--spacing-1);margin-right:calc(var(--spacing-1) * -1);padding:0;background:transparent;border:none;border-radius:50%;color:currentColor;opacity:.6;cursor:pointer;transition:opacity var(--transition-fast),background-color var(--transition-fast)}._removeButton_1thuo_179:hover:not(:disabled){opacity:1;background:var(--interactive-ghost-hover)}._removeButton_1thuo_179:focus-visible{outline:2px solid currentColor;outline-offset:1px}._removeButton_1thuo_179:disabled{cursor:not-allowed}._sm_1thuo_26 ._removeButton_1thuo_179{width:14px;height:14px}._lg_1thuo_38 ._removeButton_1thuo_179{width:18px;height:18px}
|
package/dist/tokens/types.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Orion Design System - TypeScript Type Definitions
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* DYNAMICALLY GENERATED from JSON token files.
|
|
5
5
|
* DO NOT EDIT MANUALLY - Run 'npm run build:tokens' to regenerate.
|
|
6
|
+
*
|
|
7
|
+
* This file uses introspection to match JSON structure exactly,
|
|
8
|
+
* preventing type mismatches when tokens change.
|
|
6
9
|
*/
|
|
7
10
|
export type ColorShades = {
|
|
8
11
|
'50': string;
|
|
@@ -23,6 +26,7 @@ export interface BrandColors {
|
|
|
23
26
|
red: ColorShades;
|
|
24
27
|
orange: ColorShades;
|
|
25
28
|
lemon: ColorShades;
|
|
29
|
+
[key: string]: ColorShades;
|
|
26
30
|
}
|
|
27
31
|
export interface NeutralColors {
|
|
28
32
|
0: string;
|
|
@@ -37,13 +41,15 @@ export interface NeutralColors {
|
|
|
37
41
|
800: string;
|
|
38
42
|
900: string;
|
|
39
43
|
950: string;
|
|
40
|
-
1000
|
|
44
|
+
1000?: string;
|
|
45
|
+
[key: string]: any;
|
|
41
46
|
}
|
|
42
47
|
export interface StatusColors {
|
|
43
48
|
100?: string;
|
|
44
49
|
300?: string;
|
|
45
50
|
500: string;
|
|
46
51
|
700?: string;
|
|
52
|
+
[key: string]: any;
|
|
47
53
|
}
|
|
48
54
|
export interface ColorPrimitives {
|
|
49
55
|
brand: BrandColors;
|
|
@@ -58,15 +64,17 @@ export interface TypographyFamily {
|
|
|
58
64
|
primary: string;
|
|
59
65
|
secondary: string;
|
|
60
66
|
mono: string;
|
|
67
|
+
[key: string]: string;
|
|
61
68
|
}
|
|
62
69
|
export interface TypographyWeight {
|
|
63
70
|
regular: string;
|
|
64
71
|
medium: string;
|
|
65
72
|
bold: string;
|
|
73
|
+
[key: string]: string;
|
|
66
74
|
}
|
|
67
75
|
export interface TypographySize {
|
|
68
76
|
10: string;
|
|
69
|
-
11
|
|
77
|
+
11: string;
|
|
70
78
|
12: string;
|
|
71
79
|
13: string;
|
|
72
80
|
14: string;
|
|
@@ -79,6 +87,7 @@ export interface TypographySize {
|
|
|
79
87
|
64: string;
|
|
80
88
|
80: string;
|
|
81
89
|
96: string;
|
|
90
|
+
[key: string]: any;
|
|
82
91
|
}
|
|
83
92
|
export interface TypographyLineHeight {
|
|
84
93
|
none: string;
|
|
@@ -87,51 +96,56 @@ export interface TypographyLineHeight {
|
|
|
87
96
|
normal: string;
|
|
88
97
|
relaxed: string;
|
|
89
98
|
loose: string;
|
|
99
|
+
[key: string]: string;
|
|
90
100
|
}
|
|
91
101
|
export interface TypographyPrimitives {
|
|
92
102
|
family: TypographyFamily;
|
|
93
103
|
weight: TypographyWeight;
|
|
94
104
|
size: TypographySize;
|
|
95
105
|
lineHeight: TypographyLineHeight;
|
|
106
|
+
[key: string]: any;
|
|
96
107
|
}
|
|
97
108
|
export interface SpacingPrimitives {
|
|
98
|
-
0: string;
|
|
99
|
-
|
|
109
|
+
'0': string;
|
|
110
|
+
'1': string;
|
|
111
|
+
'2': string;
|
|
112
|
+
'3': string;
|
|
113
|
+
'4': string;
|
|
114
|
+
'5': string;
|
|
100
115
|
'05': string;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
20: string;
|
|
115
|
-
24: string;
|
|
116
|
-
32: string;
|
|
116
|
+
'6': string;
|
|
117
|
+
'7': string;
|
|
118
|
+
'8': string;
|
|
119
|
+
'9': string;
|
|
120
|
+
'10': string;
|
|
121
|
+
'11': string;
|
|
122
|
+
'12': string;
|
|
123
|
+
'16': string;
|
|
124
|
+
'20': string;
|
|
125
|
+
'24': string;
|
|
126
|
+
'32': string;
|
|
127
|
+
'px': string;
|
|
128
|
+
[key: string]: any;
|
|
117
129
|
}
|
|
118
130
|
export interface RadiusPrimitives {
|
|
119
|
-
0: string;
|
|
120
|
-
xs?: string;
|
|
121
|
-
sm: string;
|
|
122
|
-
md: string;
|
|
123
|
-
lg: string;
|
|
124
|
-
'lg-2': string;
|
|
125
|
-
xl: string;
|
|
131
|
+
'0': string;
|
|
126
132
|
'2xl': string;
|
|
127
133
|
'3xl'?: string;
|
|
128
134
|
full: string;
|
|
135
|
+
lg: string;
|
|
136
|
+
'lg-2': string;
|
|
137
|
+
md: string;
|
|
138
|
+
sm: string;
|
|
139
|
+
xl: string;
|
|
140
|
+
xs?: string;
|
|
141
|
+
[key: string]: any;
|
|
129
142
|
}
|
|
130
143
|
export interface BlurPrimitives {
|
|
131
144
|
sm: string;
|
|
132
145
|
md: string;
|
|
133
146
|
lg: string;
|
|
134
147
|
xl: string;
|
|
148
|
+
[key: string]: string;
|
|
135
149
|
}
|
|
136
150
|
export interface IconPrimitives {
|
|
137
151
|
library: string;
|
|
@@ -141,8 +155,10 @@ export interface IconPrimitives {
|
|
|
141
155
|
md: string;
|
|
142
156
|
lg: string;
|
|
143
157
|
xl: string;
|
|
158
|
+
[key: string]: string;
|
|
144
159
|
};
|
|
145
160
|
stroke: string;
|
|
161
|
+
[key: string]: any;
|
|
146
162
|
}
|
|
147
163
|
export interface Primitives {
|
|
148
164
|
project?: {
|
|
@@ -156,7 +172,8 @@ export interface Primitives {
|
|
|
156
172
|
radiusScale?: Record<string, any>;
|
|
157
173
|
blur: BlurPrimitives;
|
|
158
174
|
icon: IconPrimitives;
|
|
159
|
-
|
|
175
|
+
zIndex?: Record<string, any>;
|
|
176
|
+
transition?: Record<string, any>;
|
|
160
177
|
}
|
|
161
178
|
export interface SurfaceSemantics {
|
|
162
179
|
base: string;
|
|
@@ -167,11 +184,13 @@ export interface SurfaceSemantics {
|
|
|
167
184
|
glass: string;
|
|
168
185
|
sunken: string;
|
|
169
186
|
overlay: string;
|
|
187
|
+
[key: string]: string;
|
|
170
188
|
}
|
|
171
189
|
export interface TextOnBrandSemantics {
|
|
172
190
|
primary: string;
|
|
173
191
|
secondary: string;
|
|
174
192
|
tertiary: string;
|
|
193
|
+
[key: string]: string;
|
|
175
194
|
}
|
|
176
195
|
export interface TextSemantics {
|
|
177
196
|
primary: string;
|
|
@@ -180,35 +199,42 @@ export interface TextSemantics {
|
|
|
180
199
|
inverse: string;
|
|
181
200
|
brand: string;
|
|
182
201
|
'on-brand'?: TextOnBrandSemantics;
|
|
202
|
+
[key: string]: any;
|
|
183
203
|
}
|
|
184
204
|
export interface BorderSemantics {
|
|
185
205
|
subtle: string;
|
|
186
206
|
strong: string;
|
|
187
207
|
interactive: string;
|
|
208
|
+
[key: string]: string;
|
|
188
209
|
}
|
|
189
210
|
export interface InteractivePrimarySemantics {
|
|
190
211
|
default: string;
|
|
191
212
|
hover: string;
|
|
192
213
|
text: string;
|
|
214
|
+
[key: string]: string;
|
|
193
215
|
}
|
|
194
216
|
export interface InteractiveSecondarySemantics {
|
|
195
217
|
default: string;
|
|
196
218
|
hover: string;
|
|
197
219
|
text: string;
|
|
220
|
+
[key: string]: string;
|
|
198
221
|
}
|
|
199
222
|
export interface InteractiveGhostSemantics {
|
|
200
223
|
hover: string;
|
|
224
|
+
[key: string]: string;
|
|
201
225
|
}
|
|
202
226
|
export interface InteractiveSemantics {
|
|
203
227
|
primary: InteractivePrimarySemantics;
|
|
204
228
|
secondary: InteractiveSecondarySemantics;
|
|
205
229
|
ghost: InteractiveGhostSemantics;
|
|
230
|
+
[key: string]: any;
|
|
206
231
|
}
|
|
207
232
|
export interface StatusSemantics {
|
|
208
233
|
error: string;
|
|
209
234
|
success: string;
|
|
210
235
|
warning: string;
|
|
211
236
|
info: string;
|
|
237
|
+
[key: string]: string;
|
|
212
238
|
}
|
|
213
239
|
export interface SoftSemantics {
|
|
214
240
|
brand: string;
|
|
@@ -238,7 +264,6 @@ export interface SemanticTokens {
|
|
|
238
264
|
start: string;
|
|
239
265
|
end: string;
|
|
240
266
|
};
|
|
241
|
-
[key: string]: any;
|
|
242
267
|
}
|
|
243
268
|
export type Theme = 'light' | 'dark';
|
|
244
269
|
export type Brand = 'orion' | 'deepblue' | 'red' | 'orange' | 'lemon';
|
|
@@ -281,15 +306,16 @@ export interface BrandConfig {
|
|
|
281
306
|
css: string;
|
|
282
307
|
attribute: string | null;
|
|
283
308
|
};
|
|
309
|
+
[key: string]: any;
|
|
284
310
|
}
|
|
285
|
-
export type ColorTokenPath = `color.brand
|
|
286
|
-
export type TypographyTokenPath = `typography.family
|
|
287
|
-
export type SpacingTokenPath = `spacing
|
|
288
|
-
export type RadiusTokenPath = `radius
|
|
289
|
-
export type BlurTokenPath = `blur
|
|
311
|
+
export type ColorTokenPath = `color.brand.\${Brand}.\${keyof ColorShades}` | `color.neutral.\${keyof NeutralColors}` | `color.neutralPure.\${keyof NeutralColors}` | 'color.error.500' | 'color.success.500' | 'color.warning.500' | 'color.info.500';
|
|
312
|
+
export type TypographyTokenPath = `typography.family.\${keyof TypographyFamily}` | `typography.weight.\${keyof TypographyWeight}` | `typography.size.\${keyof TypographySize}` | `typography.lineHeight.\${keyof TypographyLineHeight}`;
|
|
313
|
+
export type SpacingTokenPath = `spacing.\${keyof SpacingPrimitives}`;
|
|
314
|
+
export type RadiusTokenPath = `radius.\${keyof RadiusPrimitives}`;
|
|
315
|
+
export type BlurTokenPath = `blur.\${keyof BlurPrimitives}`;
|
|
290
316
|
export type TokenPath = ColorTokenPath | TypographyTokenPath | SpacingTokenPath | RadiusTokenPath | BlurTokenPath;
|
|
291
|
-
export type SemanticTokenPath = `surface
|
|
292
|
-
export type CSSVariableName =
|
|
317
|
+
export type SemanticTokenPath = `surface.\${keyof SurfaceSemantics}` | `text.\${keyof TextSemantics}` | `border.\${keyof BorderSemantics}` | `interactive.primary.\${keyof InteractivePrimarySemantics}` | `interactive.secondary.\${keyof InteractiveSecondarySemantics}` | `interactive.ghost.\${keyof InteractiveGhostSemantics}` | `status.\${keyof StatusSemantics}` | `soft.\${keyof SoftSemantics}`;
|
|
318
|
+
export type CSSVariableName = `--\${string}`;
|
|
293
319
|
export interface CSSVariableMap {
|
|
294
320
|
'--surface-base': string;
|
|
295
321
|
'--surface-subtle': string;
|
|
@@ -335,6 +361,7 @@ export interface CSSVariableMap {
|
|
|
335
361
|
'--radius-2xl': string;
|
|
336
362
|
'--radius-full': string;
|
|
337
363
|
'--radius-control': string;
|
|
364
|
+
[key: string]: any;
|
|
338
365
|
}
|
|
339
366
|
/** Get nested property type from dot notation path */
|
|
340
367
|
export type GetTokenValue<T, Path extends string> = Path extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? GetTokenValue<T[Key], Rest> : never : Path extends keyof T ? T[Path] : never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tokens/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/tokens/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC;IACtB,GAAG,EAAE,WAAW,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,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CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IAGvB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAMD,sDAAsD;AACtD,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,IAC9C,IAAI,SAAS,GAAG,MAAM,GAAG,IAAI,MAAM,IAAI,EAAE,GACrC,GAAG,SAAS,MAAM,CAAC,GACjB,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,GAC3B,KAAK,GACP,IAAI,SAAS,MAAM,CAAC,GACpB,CAAC,CAAC,IAAI,CAAC,GACP,KAAK,CAAC;AAEZ,6BAA6B;AAC7B,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,SAAS,IAAI,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/utils/fonts.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={orion:["Libre Baskerville","Inter","JetBrains Mono"],deepblue:["Work Sans","JetBrains Mono"],red:["Poppins","Inter","JetBrains Mono"],orange:["DM Sans","Inter","JetBrains Mono"],lemon:["Anton","Work Sans","JetBrains Mono"]},i=["Libre Baskerville","DM Sans","Inter","JetBrains Mono","Work Sans","Poppins","Anton"],s="https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400;500&family=Work+Sans:wght@400;500;700&family=Poppins:wght@400;500;700&family=Anton&display=swap",a=["https://fonts.googleapis.com","https://fonts.gstatic.com"];function e(n){if(typeof document>"u")return!0;try{return document.fonts.check(`16px "${n}"`)}catch{return!0}}function c(n){return o[n].every(e)}function f(n){return o[n].filter(r=>!e(r))}async function l(n){if(typeof document>"u")return!0;try{return await Promise.all(n.map(t=>document.fonts.load(`16px "${t}"`))),!0}catch{return!1}}function u(){return`<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={orion:["Libre Baskerville","Inter","JetBrains Mono"],deepblue:["Work Sans","JetBrains Mono"],red:["Poppins","Inter","JetBrains Mono"],orange:["DM Sans","Inter","JetBrains Mono"],ember:["DM Sans","Inter","JetBrains Mono"],lemon:["Anton","Work Sans","JetBrains Mono"]},i=["Libre Baskerville","DM Sans","Inter","JetBrains Mono","Work Sans","Poppins","Anton"],s="https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;700&family=JetBrains+Mono:wght@400;500&family=Work+Sans:wght@400;500;700&family=Poppins:wght@400;500;700&family=Anton&display=swap",a=["https://fonts.googleapis.com","https://fonts.gstatic.com"];function e(n){if(typeof document>"u")return!0;try{return document.fonts.check(`16px "${n}"`)}catch{return!0}}function c(n){return o[n].every(e)}function f(n){return o[n].filter(r=>!e(r))}async function l(n){if(typeof document>"u")return!0;try{return await Promise.all(n.map(t=>document.fonts.load(`16px "${t}"`))),!0}catch{return!1}}function u(){return`<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
2
2
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
3
3
|
<link href="${s}" rel="stylesheet">`}exports.ALL_FONTS=i;exports.BRAND_FONTS=o;exports.FONT_PRECONNECT_URLS=a;exports.GOOGLE_FONTS_URL=s;exports.areBrandFontsLoaded=c;exports.getFontLinkTags=u;exports.getMissingFonts=f;exports.isFontLoaded=e;exports.waitForFonts=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,CAO/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,uGAQZ,CAAC;AAEX;;;;;;;;;GASG;AACH,eAAO,MAAM,gBAAgB,QASb,CAAC;AAEjB;;GAEG;AACH,eAAO,MAAM,oBAAoB,wEAGvB,CAAC;AAEX;;GAEG;AACH,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CASxD;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAGzD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE,CAGtD;AAED;;GAEG;AACH,wBAAsB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAWpE;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAIxC"}
|
package/dist/utils/fonts.mjs
CHANGED
|
@@ -3,6 +3,7 @@ const o = {
|
|
|
3
3
|
deepblue: ["Work Sans", "JetBrains Mono"],
|
|
4
4
|
red: ["Poppins", "Inter", "JetBrains Mono"],
|
|
5
5
|
orange: ["DM Sans", "Inter", "JetBrains Mono"],
|
|
6
|
+
ember: ["DM Sans", "Inter", "JetBrains Mono"],
|
|
6
7
|
lemon: ["Anton", "Work Sans", "JetBrains Mono"]
|
|
7
8
|
}, i = [
|
|
8
9
|
"Libre Baskerville",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orion-ds/react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Orion Design System - React component library with 40+ AI-ready components and 9 templates",
|
|
6
6
|
"author": "Orion Design System Team",
|
|
@@ -63,11 +63,6 @@
|
|
|
63
63
|
"import": "./dist/dnd.mjs",
|
|
64
64
|
"require": "./dist/dnd.cjs"
|
|
65
65
|
},
|
|
66
|
-
"./rich": {
|
|
67
|
-
"types": "./dist/rich.d.ts",
|
|
68
|
-
"import": "./dist/rich.mjs",
|
|
69
|
-
"require": "./dist/rich.cjs"
|
|
70
|
-
},
|
|
71
66
|
"./blocks.css": "./dist/blocks.css"
|
|
72
67
|
},
|
|
73
68
|
"files": [
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("react"),s=require("./Chat.module.css.cjs"),r=n.forwardRef(({messages:u=[],conversations:a,activeConversationId:c,onConversationSelect:o,onSendMessage:m,placeholder:f="Type a message...",className:h},v)=>{const[b,j]=n.useState(u),[p,x]=n.useState(c||a?.[0]?.id||""),[l,i]=n.useState(""),g=e=>{x(e),o?.(e)},d=()=>{const e=l.trim();if(!e)return;const S={id:`msg-${Date.now()}`,role:"user",content:e};j(C=>[...C,S]),i(""),m?.(e)},N=e=>{e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),d())},y=a&&a.length>0;return t.jsxs("section",{ref:v,className:`${s.default.section} ${h||""}`,children:[y&&t.jsxs("aside",{className:s.default.sidebar,children:[t.jsx("div",{className:s.default.sidebarHeader,children:"Conversations"}),t.jsx("div",{className:s.default.conversationList,children:a.map(e=>t.jsx("button",{className:`${s.default.conversationItem} ${p===e.id?s.default.conversationItemActive:""}`,onClick:()=>g(e.id),type:"button",children:t.jsx("span",{className:s.default.conversationTitle,children:e.title})},e.id))})]}),t.jsxs("div",{className:s.default.main,children:[t.jsx("div",{className:s.default.messages,children:b.map(e=>t.jsxs("div",{className:`${s.default.message} ${e.role==="user"?s.default.messageUser:e.role==="assistant"?s.default.messageAssistant:s.default.messageSystem}`,children:[e.role!=="system"&&t.jsx("div",{className:s.default.messageAvatar,children:e.role==="user"?"U":"A"}),t.jsx("div",{className:`${s.default.messageBubble} ${e.role==="user"?s.default.messageBubbleUser:e.role==="assistant"?s.default.messageBubbleAssistant:s.default.messageBubbleSystem}`,children:e.content})]},e.id))}),t.jsxs("div",{className:s.default.inputArea,children:[t.jsx("input",{type:"text",className:s.default.input,placeholder:f,value:l,onChange:e=>i(e.target.value),onKeyDown:N,"aria-label":"Message input"}),t.jsx("button",{className:s.default.sendButton,onClick:d,disabled:!l.trim(),type:"button",children:"Send"})]})]})]})});r.displayName="ChatSection";exports.ChatSection=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/blocks/sections/Chat/Chat.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGrD,eAAO,MAAM,WAAW,sFAgIvB,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import I, { useState as l } from "react";
|
|
3
|
-
import s from "./Chat.module.css.mjs";
|
|
4
|
-
const w = I.forwardRef(
|
|
5
|
-
({
|
|
6
|
-
messages: c = [],
|
|
7
|
-
conversations: n,
|
|
8
|
-
activeConversationId: d,
|
|
9
|
-
onConversationSelect: m,
|
|
10
|
-
onSendMessage: u,
|
|
11
|
-
placeholder: h = "Type a message...",
|
|
12
|
-
className: p
|
|
13
|
-
}, v) => {
|
|
14
|
-
const [b, N] = l(c), [g, y] = l(
|
|
15
|
-
d || n?.[0]?.id || ""
|
|
16
|
-
), [i, r] = l(""), C = (e) => {
|
|
17
|
-
y(e), m?.(e);
|
|
18
|
-
}, o = () => {
|
|
19
|
-
const e = i.trim();
|
|
20
|
-
if (!e) return;
|
|
21
|
-
const $ = {
|
|
22
|
-
id: `msg-${Date.now()}`,
|
|
23
|
-
role: "user",
|
|
24
|
-
content: e
|
|
25
|
-
};
|
|
26
|
-
N((A) => [...A, $]), r(""), u?.(e);
|
|
27
|
-
}, f = (e) => {
|
|
28
|
-
e.key === "Enter" && !e.shiftKey && (e.preventDefault(), o());
|
|
29
|
-
}, S = n && n.length > 0;
|
|
30
|
-
return /* @__PURE__ */ t("section", { ref: v, className: `${s.section} ${p || ""}`, children: [
|
|
31
|
-
S && /* @__PURE__ */ t("aside", { className: s.sidebar, children: [
|
|
32
|
-
/* @__PURE__ */ a("div", { className: s.sidebarHeader, children: "Conversations" }),
|
|
33
|
-
/* @__PURE__ */ a("div", { className: s.conversationList, children: n.map((e) => /* @__PURE__ */ a(
|
|
34
|
-
"button",
|
|
35
|
-
{
|
|
36
|
-
className: `${s.conversationItem} ${g === e.id ? s.conversationItemActive : ""}`,
|
|
37
|
-
onClick: () => C(e.id),
|
|
38
|
-
type: "button",
|
|
39
|
-
children: /* @__PURE__ */ a("span", { className: s.conversationTitle, children: e.title })
|
|
40
|
-
},
|
|
41
|
-
e.id
|
|
42
|
-
)) })
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ t("div", { className: s.main, children: [
|
|
45
|
-
/* @__PURE__ */ a("div", { className: s.messages, children: b.map((e) => /* @__PURE__ */ t(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
className: `${s.message} ${e.role === "user" ? s.messageUser : e.role === "assistant" ? s.messageAssistant : s.messageSystem}`,
|
|
49
|
-
children: [
|
|
50
|
-
e.role !== "system" && /* @__PURE__ */ a("div", { className: s.messageAvatar, children: e.role === "user" ? "U" : "A" }),
|
|
51
|
-
/* @__PURE__ */ a(
|
|
52
|
-
"div",
|
|
53
|
-
{
|
|
54
|
-
className: `${s.messageBubble} ${e.role === "user" ? s.messageBubbleUser : e.role === "assistant" ? s.messageBubbleAssistant : s.messageBubbleSystem}`,
|
|
55
|
-
children: e.content
|
|
56
|
-
}
|
|
57
|
-
)
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
e.id
|
|
61
|
-
)) }),
|
|
62
|
-
/* @__PURE__ */ t("div", { className: s.inputArea, children: [
|
|
63
|
-
/* @__PURE__ */ a(
|
|
64
|
-
"input",
|
|
65
|
-
{
|
|
66
|
-
type: "text",
|
|
67
|
-
className: s.input,
|
|
68
|
-
placeholder: h,
|
|
69
|
-
value: i,
|
|
70
|
-
onChange: (e) => r(e.target.value),
|
|
71
|
-
onKeyDown: f,
|
|
72
|
-
"aria-label": "Message input"
|
|
73
|
-
}
|
|
74
|
-
),
|
|
75
|
-
/* @__PURE__ */ a(
|
|
76
|
-
"button",
|
|
77
|
-
{
|
|
78
|
-
className: s.sendButton,
|
|
79
|
-
onClick: o,
|
|
80
|
-
disabled: !i.trim(),
|
|
81
|
-
type: "button",
|
|
82
|
-
children: "Send"
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
] })
|
|
86
|
-
] })
|
|
87
|
-
] });
|
|
88
|
-
}
|
|
89
|
-
);
|
|
90
|
-
w.displayName = "ChatSection";
|
|
91
|
-
export {
|
|
92
|
-
w as ChatSection
|
|
93
|
-
};
|