testeranto 0.156.0 → 0.157.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "testeranto",
3
3
  "description": "the AI powered BDD test framework for typescript projects",
4
- "version": "0.156.0",
4
+ "version": "0.157.0",
5
5
  "engines": {
6
6
  "node": "18.18.0"
7
7
  },
package/src/Init.ts CHANGED
@@ -21,8 +21,13 @@ export default async () => {
21
21
  });
22
22
 
23
23
  fs.copyFileSync(
24
- `node_modules/testeranto/dist/prebuild/Project.js`,
25
- `testeranto/Project.js`
24
+ `node_modules/testeranto/dist/prebuild/App.js`,
25
+ `testeranto/App.js`
26
+ );
27
+
28
+ fs.copyFileSync(
29
+ `node_modules/testeranto/dist/prebuild/App.js`,
30
+ `testeranto/App.js`
26
31
  );
27
32
 
28
33
  // fs.copyFileSync(
@@ -30,23 +35,23 @@ export default async () => {
30
35
  // `testeranto/ReportClient.js`
31
36
  // );
32
37
 
33
- fs.copyFileSync(
34
- `node_modules/testeranto/dist/prebuild/Project.css`,
35
- `testeranto/Project.css`
36
- );
38
+ // fs.copyFileSync(
39
+ // `node_modules/testeranto/dist/prebuild/Project.css`,
40
+ // `testeranto/Project.css`
41
+ // );
37
42
 
38
43
  // fs.copyFileSync(
39
44
  // `node_modules/testeranto/dist/prebuild/ReportClient.css`,
40
45
  // `testeranto/ReportClient.css`
41
46
  // );
42
47
 
43
- fs.copyFileSync(
44
- `node_modules/testeranto/dist/prebuild/TestReport.js`,
45
- `testeranto/TestReport.js`
46
- );
48
+ // fs.copyFileSync(
49
+ // `node_modules/testeranto/dist/prebuild/TestReport.js`,
50
+ // `testeranto/TestReport.js`
51
+ // );
47
52
 
48
- fs.copyFileSync(
49
- `node_modules/testeranto/dist/prebuild/TestReport.css`,
50
- `testeranto/TestReport.css`
51
- );
53
+ // fs.copyFileSync(
54
+ // `node_modules/testeranto/dist/prebuild/TestReport.css`,
55
+ // `testeranto/TestReport.css`
56
+ // );
52
57
  };
@@ -1 +1 @@
1
- @use "style.scss";
1
+ // @use "style.scss";
@@ -24,7 +24,7 @@ const getBaseHtml = (title: string) => `
24
24
  export const AppHtml = () => `
25
25
  ${getBaseHtml("Testeranto")}
26
26
 
27
- <link rel="stylesheet" href="ReportApp.css" />
27
+ <link rel="stylesheet" href="App.css" />
28
28
  <script src="App.js"></script>
29
29
  </head>
30
30
  <body>
@@ -1,6 +1,6 @@
1
1
  @charset "UTF-8";
2
2
 
3
- /* src/ReportApp.scss */
3
+ /* src/TestReport.scss */
4
4
  :root,
5
5
  [data-bs-theme=light] {
6
6
  --bs-blue: #0d6efd;
@@ -11553,6 +11553,134 @@ h6,
11553
11553
  background-size: 300% 300%, 200% 200%;
11554
11554
  }
11555
11555
  }
11556
+ pre,
11557
+ code {
11558
+ white-space: pre-wrap;
11559
+ word-wrap: break-word;
11560
+ max-width: 80ch;
11561
+ overflow-x: auto;
11562
+ display: block;
11563
+ padding: 1rem;
11564
+ border-radius: 4px;
11565
+ font-family: monospace;
11566
+ line-height: 1.4;
11567
+ color: #333;
11568
+ background-color: rgba(255, 255, 255, 0.1);
11569
+ backdrop-filter: blur(16px) saturate(180%);
11570
+ border: 1px solid rgba(255, 255, 255, 0.2);
11571
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
11572
+ isolation: isolate;
11573
+ }
11574
+ #settings-button {
11575
+ z-index: 1000;
11576
+ background-color: rgba(var(--primary-rgb), 0.15);
11577
+ margin: 0.5rem;
11578
+ padding: 0.5rem;
11579
+ position: fixed;
11580
+ bottom: 0;
11581
+ left: 0;
11582
+ border-radius: 8px;
11583
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
11584
+ overflow: hidden;
11585
+ backdrop-filter: blur(20px) saturate(200%);
11586
+ border: 1px solid rgba(255, 255, 255, 0.2);
11587
+ transition: all 0.3s ease;
11588
+ isolation: isolate;
11589
+ }
11590
+ #settings-button:hover {
11591
+ transform: scale(1.05);
11592
+ box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
11593
+ }
11594
+ #settings-button:hover #gear-icon-settings {
11595
+ animation: spin 1s linear infinite;
11596
+ transform-origin: center;
11597
+ }
11598
+ .theme-card {
11599
+ cursor: pointer;
11600
+ transition: all 0.2s ease;
11601
+ height: 100%;
11602
+ background-color: rgba(255, 255, 255, 0.1);
11603
+ backdrop-filter: blur(8px);
11604
+ border: 1px solid rgba(255, 255, 255, 0.1);
11605
+ overflow: hidden;
11606
+ }
11607
+ .theme-card:hover {
11608
+ transform: translateY(-5px);
11609
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
11610
+ backdrop-filter: blur(12px);
11611
+ }
11612
+ .theme-card:hover::before {
11613
+ opacity: 0.1;
11614
+ }
11615
+ .theme-card.border-primary {
11616
+ box-shadow: 0 0 0 2px var(--primary);
11617
+ background-color: rgba(var(--primary-rgb), 0.2);
11618
+ }
11619
+ .theme-card::before {
11620
+ content: "";
11621
+ position: absolute;
11622
+ top: 0;
11623
+ left: 0;
11624
+ right: 0;
11625
+ bottom: 0;
11626
+ background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
11627
+ opacity: 0;
11628
+ transition: opacity 0.3s ease;
11629
+ }
11630
+ .theme-card .card-body {
11631
+ position: relative;
11632
+ z-index: 1;
11633
+ }
11634
+ .accordion-button {
11635
+ font-weight: 500;
11636
+ background-color: rgba(255, 255, 255, 0.1);
11637
+ backdrop-filter: blur(8px);
11638
+ border: 1px solid rgba(255, 255, 255, 0.1);
11639
+ }
11640
+ .accordion-button:not(.collapsed) {
11641
+ background-color: rgba(var(--primary-rgb), 0.2);
11642
+ color: var(--dark);
11643
+ backdrop-filter: blur(12px);
11644
+ }
11645
+ .modal-content {
11646
+ border-radius: 12px;
11647
+ overflow: hidden;
11648
+ background-color: rgba(255, 255, 255, 0.08);
11649
+ backdrop-filter: blur(24px) saturate(200%);
11650
+ border: 1px solid rgba(255, 255, 255, 0.25);
11651
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
11652
+ isolation: isolate;
11653
+ }
11654
+ @keyframes spin {
11655
+ from {
11656
+ transform: rotate(0deg);
11657
+ }
11658
+ to {
11659
+ transform: rotate(360deg);
11660
+ }
11661
+ }
11662
+ .gear-icon {
11663
+ transition: transform 0.3s ease;
11664
+ }
11665
+ .nav-tabs {
11666
+ border-bottom: 2px solid rgba(255, 255, 255, 0.2);
11667
+ }
11668
+ .nav-tabs .nav-link {
11669
+ color: var(--dark);
11670
+ border: none;
11671
+ padding: 0.75rem 1.5rem;
11672
+ font-weight: 500;
11673
+ transition: all 0.2s ease;
11674
+ }
11675
+ .nav-tabs .nav-link:hover {
11676
+ background-color: rgba(255, 255, 255, 0.1);
11677
+ border-color: transparent;
11678
+ }
11679
+ .nav-tabs .nav-link.active {
11680
+ color: var(--primary);
11681
+ background-color: rgba(var(--primary-rgb), 0.1);
11682
+ border-bottom: 2px solid var(--primary);
11683
+ }
11556
11684
  /*!
11557
11685
  * Bootstrap v5.3.5 (https://getbootstrap.com/)
11558
11686
  * Copyright 2011-2025 The Bootstrap Authors
@@ -22,7 +22,7 @@
22
22
  </script>
23
23
 
24
24
 
25
- <link rel="stylesheet" href="ReportApp.css" />
25
+ <link rel="stylesheet" href="App.css" />
26
26
  <script src="App.js"></script>
27
27
  </head>
28
28
  <body>