@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
|
@@ -877,6 +877,7 @@ var iconFiles = {
|
|
|
877
877
|
"flow-chart": "Icon-flow-chart.svg",
|
|
878
878
|
"logout-circle-r-fill": "Icon-logout-circle-r-fill.svg",
|
|
879
879
|
"logout-circle-r-line": "Icon-logout-circle-r-line.svg",
|
|
880
|
+
"question-line": "Icon-question-line.svg",
|
|
880
881
|
"side-bar-fill": "Icon-side-bar-fill.svg",
|
|
881
882
|
"check-fill": "Icon-check-fill.svg",
|
|
882
883
|
"checkbox-circle-fill": "Icon-checkbox-circle-fill.svg",
|
|
@@ -3155,13 +3156,13 @@ var GlobalSidebarStyles2 = styled9.createGlobalStyle`
|
|
|
3155
3156
|
width: calc(100% - 60px) !important;
|
|
3156
3157
|
}
|
|
3157
3158
|
|
|
3158
|
-
/*
|
|
3159
|
-
/* Also stretch to full height (remove default 8px padding) */
|
|
3159
|
+
/* Sidebar container covers right portion — full height, no gaps */
|
|
3160
3160
|
.copilotKitSidebar {
|
|
3161
3161
|
top: 0 !important;
|
|
3162
3162
|
bottom: 0 !important;
|
|
3163
|
-
|
|
3164
|
-
|
|
3163
|
+
right: 0 !important;
|
|
3164
|
+
left: 50vw !important;
|
|
3165
|
+
width: auto !important;
|
|
3165
3166
|
height: 100vh !important;
|
|
3166
3167
|
}
|
|
3167
3168
|
|
|
@@ -3171,31 +3172,34 @@ var GlobalSidebarStyles2 = styled9.createGlobalStyle`
|
|
|
3171
3172
|
}
|
|
3172
3173
|
|
|
3173
3174
|
.copilotKitSidebar [role="dialog"] {
|
|
3174
|
-
width: min(50vw,
|
|
3175
|
-
max-width: min(50vw,
|
|
3175
|
+
width: min(50vw, 22rem) !important;
|
|
3176
|
+
max-width: min(50vw, 22rem) !important;
|
|
3176
3177
|
left: auto !important;
|
|
3177
|
-
right
|
|
3178
|
-
|
|
3178
|
+
/* Flush with right edge — safe area handled via internal padding */
|
|
3179
|
+
right: 0 !important;
|
|
3180
|
+
/* Fill ALL vertical space — overlay the bottom nav for maximum chat area */
|
|
3181
|
+
/* Keep top safe area so dialog doesn't go behind status bar (battery/wifi) */
|
|
3179
3182
|
top: var(--safe-area-top, 0px) !important;
|
|
3180
|
-
bottom:
|
|
3181
|
-
/*
|
|
3183
|
+
bottom: 0 !important;
|
|
3184
|
+
/* Let top/bottom define height */
|
|
3182
3185
|
height: auto !important;
|
|
3183
3186
|
max-height: none !important;
|
|
3184
|
-
/* Remove margins */
|
|
3185
3187
|
margin: 0 !important;
|
|
3188
|
+
/* Only round the left edges since right is flush with viewport */
|
|
3186
3189
|
border-radius: 0 !important;
|
|
3187
3190
|
border-top-left-radius: ${tokens.borderRadius.xl} !important;
|
|
3188
3191
|
border-bottom-left-radius: ${tokens.borderRadius.xl} !important;
|
|
3189
3192
|
}
|
|
3190
3193
|
|
|
3191
3194
|
/* Compact header in landscape - hide title text but keep close button */
|
|
3195
|
+
/* Safe area top padding applied here so content avoids status bar */
|
|
3192
3196
|
.copilotKitSidebar [role="dialog"] header,
|
|
3193
3197
|
.copilotKitSidebar [role="dialog"] [data-testid="chat-header"],
|
|
3194
3198
|
.copilotKitSidebar [role="dialog"] > div:first-child {
|
|
3195
|
-
padding: 0.25rem 0.5rem !important;
|
|
3199
|
+
padding: 0.25rem 0.5rem 0.25rem !important;
|
|
3196
3200
|
min-height: auto !important;
|
|
3197
|
-
height:
|
|
3198
|
-
padding-right: 1.5rem !important;
|
|
3201
|
+
height: auto !important;
|
|
3202
|
+
padding-right: calc(1.5rem + var(--safe-area-right, 0px)) !important;
|
|
3199
3203
|
}
|
|
3200
3204
|
|
|
3201
3205
|
/* Hide the title text but keep close button visible */
|
|
@@ -3208,9 +3212,9 @@ var GlobalSidebarStyles2 = styled9.createGlobalStyle`
|
|
|
3208
3212
|
display: none !important;
|
|
3209
3213
|
}
|
|
3210
3214
|
|
|
3211
|
-
/* Reduce vertical padding inside chat
|
|
3215
|
+
/* Reduce vertical padding inside chat — right safe area for notch */
|
|
3212
3216
|
.copilotKitMessages {
|
|
3213
|
-
padding: ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3217
|
+
padding: ${tokens.spacing.xs} calc(${tokens.spacing.sm} + var(--safe-area-right, 0px)) ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3214
3218
|
}
|
|
3215
3219
|
|
|
3216
3220
|
.copilotKitMessage {
|
|
@@ -3218,17 +3222,15 @@ var GlobalSidebarStyles2 = styled9.createGlobalStyle`
|
|
|
3218
3222
|
margin: ${tokens.spacing.xs} 0 !important;
|
|
3219
3223
|
}
|
|
3220
3224
|
|
|
3221
|
-
/* Compact input area in landscape */
|
|
3222
|
-
.copilotKitInput,
|
|
3223
|
-
.copilotKitSidebar [role="dialog"] > div:last-child {
|
|
3224
|
-
padding: ${tokens.spacing.xs} ${tokens.spacing.sm} !important;
|
|
3225
|
-
}
|
|
3226
|
-
|
|
3227
3225
|
/* Reduce gap between messages */
|
|
3228
3226
|
.copilotKitMessages > div {
|
|
3229
3227
|
gap: 0.25rem !important;
|
|
3230
3228
|
padding-bottom: 0;
|
|
3231
|
-
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
/* Compact input area — safe area padding for bottom gesture bar and right notch */
|
|
3232
|
+
.copilotKitInput {
|
|
3233
|
+
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;
|
|
3232
3234
|
}
|
|
3233
3235
|
|
|
3234
3236
|
/* Compact suggested prompts in landscape */
|
|
@@ -3239,9 +3241,9 @@ var GlobalSidebarStyles2 = styled9.createGlobalStyle`
|
|
|
3239
3241
|
max-height: 32px !important;
|
|
3240
3242
|
}
|
|
3241
3243
|
|
|
3242
|
-
/*
|
|
3244
|
+
/* Suggestions container — safe area padding for bottom and right */
|
|
3243
3245
|
.copilotKitSidebar [role="dialog"] > div:last-child {
|
|
3244
|
-
padding: 1px !important;
|
|
3246
|
+
padding: 1px calc(1px + var(--safe-area-right, 0px)) calc(1px + var(--safe-area-bottom, 0px)) 1px !important;
|
|
3245
3247
|
}
|
|
3246
3248
|
}
|
|
3247
3249
|
|