ninegrid2 6.555.0 → 6.557.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.
@@ -1,4 +1,4 @@
1
- //import ninegrid from "../index.js";
1
+ import ninegrid from "../index.js";
2
2
 
3
3
  class aiSettings extends HTMLElement
4
4
  {
@@ -60,38 +60,8 @@ class aiSettings extends HTMLElement
60
60
 
61
61
  this.shadowRoot.innerHTML = `
62
62
  <style>
63
- @keyframes slideLeft {
64
- 0% { transform: translateX(100%); opacity: 0; }
65
- 100% { transform: translateX(0); opacity: 1; }
66
- }
67
-
68
- :host {
69
- z-index: 9;
70
- display: none;
71
- flex-direction: column;
72
- justify-content: flex-start;
73
- align-items: flex-start;
74
- position: absolute;
75
- background: #fff;
76
- left: 0;
77
- right: 30px;
78
- top: 48px;
79
- bottom: 0;
80
- opacity: 0;
81
- padding-left: 16px;
82
- gap: 16px;
83
- transform: translateX(100%);
84
- transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
85
- }
86
-
87
- :host(.expand) {
88
- display: flex;
89
- animation: slideLeft 0.3s ease-out forwards;
90
- }
91
-
92
- .line:first-of-type {
93
- margin-top: 32px;
94
- }
63
+ @import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ai.css";
64
+ ${ninegrid.getCustomPath(this,"ai.css")}
95
65
  </style>
96
66
 
97
67
  <div class="line">
@@ -27516,8 +27516,6 @@ Array.prototype.nineBinarySearch = function(target)
27516
27516
  return -1;
27517
27517
  };
27518
27518
 
27519
- //import ninegrid from "../index.js";
27520
-
27521
27519
  class aiSettings extends HTMLElement
27522
27520
  {
27523
27521
  #ollamaUrl;
@@ -27578,38 +27576,8 @@ class aiSettings extends HTMLElement
27578
27576
 
27579
27577
  this.shadowRoot.innerHTML = `
27580
27578
  <style>
27581
- @keyframes slideLeft {
27582
- 0% { transform: translateX(100%); opacity: 0; }
27583
- 100% { transform: translateX(0); opacity: 1; }
27584
- }
27585
-
27586
- :host {
27587
- z-index: 9;
27588
- display: none;
27589
- flex-direction: column;
27590
- justify-content: flex-start;
27591
- align-items: flex-start;
27592
- position: absolute;
27593
- background: #fff;
27594
- left: 0;
27595
- right: 30px;
27596
- top: 48px;
27597
- bottom: 0;
27598
- opacity: 0;
27599
- padding-left: 16px;
27600
- gap: 16px;
27601
- transform: translateX(100%);
27602
- transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
27603
- }
27604
-
27605
- :host(.expand) {
27606
- display: flex;
27607
- animation: slideLeft 0.3s ease-out forwards;
27608
- }
27609
-
27610
- .line:first-of-type {
27611
- margin-top: 32px;
27612
- }
27579
+ @import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ai.css";
27580
+ ${ninegrid.getCustomPath(this,"ai.css")}
27613
27581
  </style>
27614
27582
 
27615
27583
  <div class="line">
@@ -27514,8 +27514,6 @@ Array.prototype.nineBinarySearch = function(target)
27514
27514
  return -1;
27515
27515
  };
27516
27516
 
27517
- //import ninegrid from "../index.js";
27518
-
27519
27517
  class aiSettings extends HTMLElement
27520
27518
  {
27521
27519
  #ollamaUrl;
@@ -27576,38 +27574,8 @@ class aiSettings extends HTMLElement
27576
27574
 
27577
27575
  this.shadowRoot.innerHTML = `
27578
27576
  <style>
27579
- @keyframes slideLeft {
27580
- 0% { transform: translateX(100%); opacity: 0; }
27581
- 100% { transform: translateX(0); opacity: 1; }
27582
- }
27583
-
27584
- :host {
27585
- z-index: 9;
27586
- display: none;
27587
- flex-direction: column;
27588
- justify-content: flex-start;
27589
- align-items: flex-start;
27590
- position: absolute;
27591
- background: #fff;
27592
- left: 0;
27593
- right: 30px;
27594
- top: 48px;
27595
- bottom: 0;
27596
- opacity: 0;
27597
- padding-left: 16px;
27598
- gap: 16px;
27599
- transform: translateX(100%);
27600
- transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
27601
- }
27602
-
27603
- :host(.expand) {
27604
- display: flex;
27605
- animation: slideLeft 0.3s ease-out forwards;
27606
- }
27607
-
27608
- .line:first-of-type {
27609
- margin-top: 32px;
27610
- }
27577
+ @import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ai.css";
27578
+ ${ninegrid.getCustomPath(this,"ai.css")}
27611
27579
  </style>
27612
27580
 
27613
27581
  <div class="line">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.555.0",
4
+ "version": "6.557.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -1,4 +1,4 @@
1
- //import ninegrid from "../index.js";
1
+ import ninegrid from "../index.js";
2
2
 
3
3
  class aiSettings extends HTMLElement
4
4
  {
@@ -60,38 +60,8 @@ class aiSettings extends HTMLElement
60
60
 
61
61
  this.shadowRoot.innerHTML = `
62
62
  <style>
63
- @keyframes slideLeft {
64
- 0% { transform: translateX(100%); opacity: 0; }
65
- 100% { transform: translateX(0); opacity: 1; }
66
- }
67
-
68
- :host {
69
- z-index: 9;
70
- display: none;
71
- flex-direction: column;
72
- justify-content: flex-start;
73
- align-items: flex-start;
74
- position: absolute;
75
- background: #fff;
76
- left: 0;
77
- right: 30px;
78
- top: 48px;
79
- bottom: 0;
80
- opacity: 0;
81
- padding-left: 16px;
82
- gap: 16px;
83
- transform: translateX(100%);
84
- transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
85
- }
86
-
87
- :host(.expand) {
88
- display: flex;
89
- animation: slideLeft 0.3s ease-out forwards;
90
- }
91
-
92
- .line:first-of-type {
93
- margin-top: 32px;
94
- }
63
+ @import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/ai.css";
64
+ ${ninegrid.getCustomPath(this,"ai.css")}
95
65
  </style>
96
66
 
97
67
  <div class="line">