@webskill/chatbot 0.8.0 → 0.10.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/dist/chatbot.css CHANGED
@@ -21,7 +21,6 @@
21
21
  --text-lg--line-height: calc(1.75 / 1.125);
22
22
  --text-2xl: 1.5rem;
23
23
  --text-2xl--line-height: calc(2 / 1.5);
24
- --font-weight-normal: 400;
25
24
  --font-weight-medium: 500;
26
25
  --font-weight-semibold: 600;
27
26
  --tracking-normal: 0em;
@@ -587,9 +586,6 @@
587
586
  .w-48 {
588
587
  width: calc(var(--spacing) * 48);
589
588
  }
590
- .w-72 {
591
- width: calc(var(--spacing) * 72);
592
- }
593
589
  .w-80 {
594
590
  width: calc(var(--spacing) * 80);
595
591
  }
@@ -617,9 +613,6 @@
617
613
  .max-w-2xl {
618
614
  max-width: var(--container-2xl);
619
615
  }
620
- .max-w-48 {
621
- max-width: calc(var(--spacing) * 48);
622
- }
623
616
  .max-w-72 {
624
617
  max-width: calc(var(--spacing) * 72);
625
618
  }
@@ -910,10 +903,6 @@
910
903
  border-right-style: var(--tw-border-style);
911
904
  border-right-width: 1px;
912
905
  }
913
- .border-r-0 {
914
- border-right-style: var(--tw-border-style);
915
- border-right-width: 0px;
916
- }
917
906
  .border-b {
918
907
  border-bottom-style: var(--tw-border-style);
919
908
  border-bottom-width: 1px;
@@ -1181,6 +1170,9 @@
1181
1170
  .pb-1 {
1182
1171
  padding-bottom: var(--spacing);
1183
1172
  }
1173
+ .pb-2 {
1174
+ padding-bottom: calc(var(--spacing) * 2);
1175
+ }
1184
1176
  .pb-3 {
1185
1177
  padding-bottom: calc(var(--spacing) * 3);
1186
1178
  }
@@ -1256,10 +1248,6 @@
1256
1248
  --tw-font-weight: var(--font-weight-medium);
1257
1249
  font-weight: var(--font-weight-medium);
1258
1250
  }
1259
- .font-normal {
1260
- --tw-font-weight: var(--font-weight-normal);
1261
- font-weight: var(--font-weight-normal);
1262
- }
1263
1251
  .font-semibold {
1264
1252
  --tw-font-weight: var(--font-weight-semibold);
1265
1253
  font-weight: var(--font-weight-semibold);
@@ -1296,9 +1284,6 @@
1296
1284
  .text-destructive-foreground {
1297
1285
  color: var(--destructive-foreground);
1298
1286
  }
1299
- .text-foreground {
1300
- color: var(--foreground);
1301
- }
1302
1287
  .text-info {
1303
1288
  color: var(--info);
1304
1289
  }
@@ -1646,9 +1631,6 @@
1646
1631
  .hover\:bg-surface:hover {
1647
1632
  background-color: var(--card);
1648
1633
  }
1649
- .hover\:text-foreground:hover {
1650
- color: var(--foreground);
1651
- }
1652
1634
  .hover\:text-ink:hover {
1653
1635
  color: var(--foreground);
1654
1636
  }
@@ -1739,11 +1721,6 @@
1739
1721
  .disabled\:opacity-60:disabled {
1740
1722
  opacity: 60%;
1741
1723
  }
1742
- @media (hover: hover) {
1743
- .disabled\:hover\:bg-transparent:disabled:hover {
1744
- background-color: transparent;
1745
- }
1746
- }
1747
1724
  .has-disabled\:cursor-not-allowed:has(:disabled) {
1748
1725
  cursor: not-allowed;
1749
1726
  }
@@ -1896,9 +1873,6 @@
1896
1873
  .sm\:justify-end {
1897
1874
  justify-content: flex-end;
1898
1875
  }
1899
- .sm\:gap-2\.5 {
1900
- gap: calc(var(--spacing) * 2.5);
1901
- }
1902
1876
  .sm\:gap-4 {
1903
1877
  gap: calc(var(--spacing) * 4);
1904
1878
  }
@@ -1907,9 +1881,6 @@
1907
1881
  }
1908
1882
  }
1909
1883
  @media (width >= 48rem) {
1910
- .md\:block {
1911
- display: block;
1912
- }
1913
1884
  .md\:opacity-0 {
1914
1885
  opacity: 0%;
1915
1886
  }
@@ -1925,9 +1896,6 @@
1925
1896
  .lg\:flex {
1926
1897
  display: flex;
1927
1898
  }
1928
- .lg\:hidden {
1929
- display: none;
1930
- }
1931
1899
  .lg\:grid-cols-\[minmax\(0\,1fr\)_0\.625rem_minmax\(18rem\,var\(--webskill-secondary-size\)\)\] {
1932
1900
  grid-template-columns: minmax(0,1fr) 0.625rem minmax(18rem,var(--webskill-secondary-size));
1933
1901
  }
@@ -2412,6 +2380,20 @@
2412
2380
  }
2413
2381
  }
2414
2382
  }
2383
+ [data-slot='sidebar'][data-narrow='true'][data-state='collapsed'] [data-slot='sidebar-container'] {
2384
+ width: 0;
2385
+ border-inline-width: 0;
2386
+ }
2387
+ [data-slot='sidebar'][data-state='collapsed'][data-collapsible='offcanvas'] [data-slot='sidebar-inner'], [data-slot='sidebar'][data-state='collapsed'][data-narrow='true'] [data-slot='sidebar-inner'] {
2388
+ visibility: hidden;
2389
+ }
2390
+ [data-slot='sidebar'][data-variant='floating'][data-state='collapsed'] [data-slot='sidebar-container'] {
2391
+ padding: 0;
2392
+ }
2393
+ [data-slot='sidebar'][data-narrow='false'] {
2394
+ height: auto;
2395
+ align-self: stretch;
2396
+ }
2415
2397
  .webskill-surface-list {
2416
2398
  display: flex;
2417
2399
  flex-direction: column;
@@ -2480,21 +2462,6 @@
2480
2462
  .webskill-surface--table {
2481
2463
  overflow: hidden;
2482
2464
  }
2483
- .webskill-surface__table-tools {
2484
- display: flex;
2485
- flex-wrap: wrap;
2486
- gap: 0.5rem;
2487
- padding: 0.75rem;
2488
- }
2489
- .webskill-surface__table-tools input[type='search'] {
2490
- min-width: min(100%, 14rem);
2491
- flex: 1;
2492
- border: 1px solid var(--color-input);
2493
- border-radius: 0.5rem;
2494
- background: var(--color-background);
2495
- padding: 0.5rem 0.75rem;
2496
- color: var(--color-foreground);
2497
- }
2498
2465
  .webskill-surface__table-scroll {
2499
2466
  max-height: 22.5rem;
2500
2467
  overflow: auto;
@@ -2528,9 +2495,17 @@
2528
2495
  text-align: left;
2529
2496
  vertical-align: middle;
2530
2497
  }
2498
+ .webskill-surface__table-header th {
2499
+ border-inline-end: 0;
2500
+ border-bottom: 0;
2501
+ box-shadow: inset -1px -1px 0 0 var(--color-border);
2502
+ }
2531
2503
  .webskill-surface__table-header th:last-child, .webskill-surface__table-body td:last-child {
2532
2504
  border-inline-end: 0;
2533
2505
  }
2506
+ .webskill-surface__table-header th:last-child {
2507
+ box-shadow: inset 0 -1px 0 0 var(--color-border);
2508
+ }
2534
2509
  .webskill-surface__table-header button {
2535
2510
  width: 100%;
2536
2511
  border-radius: 0;
@@ -2644,6 +2619,33 @@
2644
2619
  --webskill-chat-prose-max: 100%;
2645
2620
  --webskill-chat-surface-max: 100%;
2646
2621
  }
2622
+ .webskill-aui-session-list {
2623
+ width: 18rem;
2624
+ padding: 0.5rem;
2625
+ align-self: stretch;
2626
+ transition: width 200ms linear;
2627
+ }
2628
+ .webskill-aui-session-panel {
2629
+ width: 17rem;
2630
+ flex: 1 1 auto;
2631
+ min-height: 0;
2632
+ }
2633
+ .webskill-aui-shell[data-session-list='collapsed'] .webskill-aui-session-list {
2634
+ width: 0;
2635
+ padding: 0;
2636
+ visibility: hidden;
2637
+ transition: width 200ms linear, padding 200ms linear, visibility 0s linear 200ms;
2638
+ }
2639
+ .webskill-aui-shell[data-session-list='inline'] .webskill-aui-sessions-button {
2640
+ display: none;
2641
+ }
2642
+ .webskill-aui-shell[data-session-narrow='true'] .webskill-aui-session-list {
2643
+ position: absolute;
2644
+ inset-block: 0;
2645
+ inset-inline-start: 0;
2646
+ z-index: var(--webskill-z-raised);
2647
+ max-width: 100%;
2648
+ }
2647
2649
  .webskill-chat-prose {
2648
2650
  max-width: var(--webskill-chat-prose-max);
2649
2651
  }