@agentiffai/design 1.3.22 → 1.3.23

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