@agentiffai/design 1.3.22 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/copilotkit/index.cjs +27 -25
- package/dist/copilotkit/index.cjs.map +1 -1
- package/dist/copilotkit/index.js +27 -25
- package/dist/copilotkit/index.js.map +1 -1
- package/dist/index.cjs +21 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -8
- package/dist/index.js.map +1 -1
- package/dist/layout/index.cjs +21 -7
- package/dist/layout/index.cjs.map +1 -1
- package/dist/layout/index.d.cts +5 -2
- package/dist/layout/index.d.ts +5 -2
- package/dist/layout/index.js +21 -7
- package/dist/layout/index.js.map +1 -1
- package/dist/workflow/index.cjs +0 -1
- package/dist/workflow/index.cjs.map +1 -1
- package/dist/workflow/index.js +0 -1
- package/dist/workflow/index.js.map +1 -1
- package/package.json +1 -1
package/dist/copilotkit/index.js
CHANGED
|
@@ -870,6 +870,7 @@ var iconFiles = {
|
|
|
870
870
|
"flow-chart": "Icon-flow-chart.svg",
|
|
871
871
|
"logout-circle-r-fill": "Icon-logout-circle-r-fill.svg",
|
|
872
872
|
"logout-circle-r-line": "Icon-logout-circle-r-line.svg",
|
|
873
|
+
"question-line": "Icon-question-line.svg",
|
|
873
874
|
"side-bar-fill": "Icon-side-bar-fill.svg",
|
|
874
875
|
"check-fill": "Icon-check-fill.svg",
|
|
875
876
|
"checkbox-circle-fill": "Icon-checkbox-circle-fill.svg",
|
|
@@ -3148,13 +3149,13 @@ var GlobalSidebarStyles2 = createGlobalStyle`
|
|
|
3148
3149
|
width: calc(100% - 60px) !important;
|
|
3149
3150
|
}
|
|
3150
3151
|
|
|
3151
|
-
/*
|
|
3152
|
-
/* Also stretch to full height (remove default 8px padding) */
|
|
3152
|
+
/* Sidebar container covers right portion — full height, no gaps */
|
|
3153
3153
|
.copilotKitSidebar {
|
|
3154
3154
|
top: 0 !important;
|
|
3155
3155
|
bottom: 0 !important;
|
|
3156
|
-
|
|
3157
|
-
|
|
3156
|
+
right: 0 !important;
|
|
3157
|
+
left: 50vw !important;
|
|
3158
|
+
width: auto !important;
|
|
3158
3159
|
height: 100vh !important;
|
|
3159
3160
|
}
|
|
3160
3161
|
|
|
@@ -3164,31 +3165,34 @@ var GlobalSidebarStyles2 = createGlobalStyle`
|
|
|
3164
3165
|
}
|
|
3165
3166
|
|
|
3166
3167
|
.copilotKitSidebar [role="dialog"] {
|
|
3167
|
-
width: min(50vw,
|
|
3168
|
-
max-width: min(50vw,
|
|
3168
|
+
width: min(50vw, 22rem) !important;
|
|
3169
|
+
max-width: min(50vw, 22rem) !important;
|
|
3169
3170
|
left: auto !important;
|
|
3170
|
-
right
|
|
3171
|
-
|
|
3171
|
+
/* Flush with right edge — safe area handled via internal padding */
|
|
3172
|
+
right: 0 !important;
|
|
3173
|
+
/* Fill ALL vertical space — overlay the bottom nav for maximum chat area */
|
|
3174
|
+
/* Keep top safe area so dialog doesn't go behind status bar (battery/wifi) */
|
|
3172
3175
|
top: var(--safe-area-top, 0px) !important;
|
|
3173
|
-
bottom:
|
|
3174
|
-
/*
|
|
3176
|
+
bottom: 0 !important;
|
|
3177
|
+
/* Let top/bottom define height */
|
|
3175
3178
|
height: auto !important;
|
|
3176
3179
|
max-height: none !important;
|
|
3177
|
-
/* Remove margins */
|
|
3178
3180
|
margin: 0 !important;
|
|
3181
|
+
/* Only round the left edges since right is flush with viewport */
|
|
3179
3182
|
border-radius: 0 !important;
|
|
3180
3183
|
border-top-left-radius: ${tokens.borderRadius.xl} !important;
|
|
3181
3184
|
border-bottom-left-radius: ${tokens.borderRadius.xl} !important;
|
|
3182
3185
|
}
|
|
3183
3186
|
|
|
3184
3187
|
/* Compact header in landscape - hide title text but keep close button */
|
|
3188
|
+
/* Safe area top padding applied here so content avoids status bar */
|
|
3185
3189
|
.copilotKitSidebar [role="dialog"] header,
|
|
3186
3190
|
.copilotKitSidebar [role="dialog"] [data-testid="chat-header"],
|
|
3187
3191
|
.copilotKitSidebar [role="dialog"] > div:first-child {
|
|
3188
|
-
padding: 0.25rem 0.5rem !important;
|
|
3192
|
+
padding: 0.25rem 0.5rem 0.25rem !important;
|
|
3189
3193
|
min-height: auto !important;
|
|
3190
|
-
height:
|
|
3191
|
-
padding-right: 1.5rem !important;
|
|
3194
|
+
height: auto !important;
|
|
3195
|
+
padding-right: calc(1.5rem + var(--safe-area-right, 0px)) !important;
|
|
3192
3196
|
}
|
|
3193
3197
|
|
|
3194
3198
|
/* Hide the title text but keep close button visible */
|
|
@@ -3201,9 +3205,9 @@ var GlobalSidebarStyles2 = createGlobalStyle`
|
|
|
3201
3205
|
display: none !important;
|
|
3202
3206
|
}
|
|
3203
3207
|
|
|
3204
|
-
/* Reduce vertical padding inside chat
|
|
3208
|
+
/* Reduce vertical padding inside chat — right safe area for notch */
|
|
3205
3209
|
.copilotKitMessages {
|
|
3206
|
-
padding: ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3210
|
+
padding: ${tokens.spacing.xs} calc(${tokens.spacing.sm} + var(--safe-area-right, 0px)) ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3207
3211
|
}
|
|
3208
3212
|
|
|
3209
3213
|
.copilotKitMessage {
|
|
@@ -3211,17 +3215,15 @@ var GlobalSidebarStyles2 = createGlobalStyle`
|
|
|
3211
3215
|
margin: ${tokens.spacing.xs} 0 !important;
|
|
3212
3216
|
}
|
|
3213
3217
|
|
|
3214
|
-
/* Compact input area in landscape */
|
|
3215
|
-
.copilotKitInput,
|
|
3216
|
-
.copilotKitSidebar [role="dialog"] > div:last-child {
|
|
3217
|
-
padding: ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3218
|
-
}
|
|
3219
|
-
|
|
3220
3218
|
/* Reduce gap between messages */
|
|
3221
3219
|
.copilotKitMessages > div {
|
|
3222
3220
|
gap: 0.25rem !important;
|
|
3223
3221
|
padding-bottom: 0;
|
|
3224
|
-
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
/* Compact input area — safe area padding for bottom gesture bar and right notch */
|
|
3225
|
+
.copilotKitInput {
|
|
3226
|
+
padding: ${tokens.spacing.xs} calc(${tokens.spacing.sm} + var(--safe-area-right, 0px)) calc(${tokens.spacing.xs} + var(--safe-area-bottom, 0px)) ${tokens.spacing.sm} !important;
|
|
3225
3227
|
}
|
|
3226
3228
|
|
|
3227
3229
|
/* Compact suggested prompts in landscape */
|
|
@@ -3232,9 +3234,9 @@ var GlobalSidebarStyles2 = createGlobalStyle`
|
|
|
3232
3234
|
max-height: 32px !important;
|
|
3233
3235
|
}
|
|
3234
3236
|
|
|
3235
|
-
/*
|
|
3237
|
+
/* Suggestions container — safe area padding for bottom and right */
|
|
3236
3238
|
.copilotKitSidebar [role="dialog"] > div:last-child {
|
|
3237
|
-
padding: 1px !important;
|
|
3239
|
+
padding: 1px calc(1px + var(--safe-area-right, 0px)) calc(1px + var(--safe-area-bottom, 0px)) 1px !important;
|
|
3238
3240
|
}
|
|
3239
3241
|
}
|
|
3240
3242
|
|