turbowrap-issue-widget 0.1.0 → 0.1.1

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.
@@ -2,7 +2,7 @@ export interface WidgetConfig {
2
2
  apiUrl: string;
3
3
  apiKey: string;
4
4
  teamId: string;
5
- position?: 'bottom-right' | 'bottom-left';
5
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
6
6
  theme?: 'light' | 'dark' | 'auto';
7
7
  buttonText?: string;
8
8
  accentColor?: string;
@@ -5129,6 +5129,16 @@ const Jc = `
5129
5129
  left: 24px;
5130
5130
  }
5131
5131
 
5132
+ .iw-trigger.top-right {
5133
+ top: 24px;
5134
+ right: 24px;
5135
+ }
5136
+
5137
+ .iw-trigger.top-left {
5138
+ top: 24px;
5139
+ left: 24px;
5140
+ }
5141
+
5132
5142
  .iw-trigger svg {
5133
5143
  width: 18px;
5134
5144
  height: 18px;
@@ -5186,6 +5196,16 @@ const Jc = `
5186
5196
  left: 24px;
5187
5197
  }
5188
5198
 
5199
+ .iw-modal.top-right {
5200
+ top: 100px;
5201
+ right: 24px;
5202
+ }
5203
+
5204
+ .iw-modal.top-left {
5205
+ top: 100px;
5206
+ left: 24px;
5207
+ }
5208
+
5189
5209
  .iw-header {
5190
5210
  display: flex;
5191
5211
  align-items: center;
@@ -5491,7 +5511,10 @@ const Jc = `
5491
5511
  }
5492
5512
 
5493
5513
  .iw-modal.bottom-right,
5494
- .iw-modal.bottom-left {
5514
+ .iw-modal.bottom-left,
5515
+ .iw-modal.top-right,
5516
+ .iw-modal.top-left {
5517
+ top: 0;
5495
5518
  bottom: 0;
5496
5519
  left: 0;
5497
5520
  right: 0;