ds-one 0.1.11-alpha.1 → 0.1.11-alpha.3

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.
@@ -1169,7 +1169,7 @@ Button.styles = i`
1169
1169
  `;
1170
1170
  customElements.define("ds-button", Button);
1171
1171
 
1172
- // dist/2-core/text-v1.js
1172
+ // dist/2-core/ds-text.js
1173
1173
  var Text = class extends i4 {
1174
1174
  static get properties() {
1175
1175
  return {
@@ -1188,7 +1188,7 @@ var Text = class extends i4 {
1188
1188
  this._text = "";
1189
1189
  this.boundHandlers = {
1190
1190
  languageChanged: (() => {
1191
- console.log("Language changed event received in text-v1");
1191
+ console.log("Language changed event received in ds-text");
1192
1192
  this._loadText();
1193
1193
  })
1194
1194
  };
@@ -1237,7 +1237,7 @@ Text.styles = i`
1237
1237
  opacity: 0.6;
1238
1238
  }
1239
1239
  `;
1240
- customElements.define("text-v1", Text);
1240
+ customElements.define("ds-text", Text);
1241
1241
 
1242
1242
  // node_modules/lit-html/directive.js
1243
1243
  var t3 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
@@ -3283,7 +3283,7 @@ var Home = class extends i4 {
3283
3283
  @click="${this._navigateHome}"
3284
3284
  @keydown="${this._onKeyDown}"
3285
3285
  >
3286
- <text-v1 key="home"></text-v1>
3286
+ <ds-text key="home"></ds-text>
3287
3287
  </div>
3288
3288
  `;
3289
3289
  }
@@ -3328,7 +3328,7 @@ Home.styles = i`
3328
3328
  }
3329
3329
 
3330
3330
  /* Inner text spacing without affecting the 80px outer width */
3331
- .home > text-v1 {
3331
+ .home > ds-text {
3332
3332
  padding: 0 calc(var(--1) * 0.15 * var(--scaling-factor));
3333
3333
  box-sizing: border-box;
3334
3334
  height: 100%;
@@ -4370,7 +4370,7 @@ var SingleNav = class extends i4 {
4370
4370
  const href = this.to || navConfig.href;
4371
4371
  return x`
4372
4372
  <a href="${href}">
4373
- <text-v1 key="${navConfig.key}"></text-v1>
4373
+ <ds-text key="${navConfig.key}"></ds-text>
4374
4374
  <icon-v1 type="right"></icon-v1>
4375
4375
  </a>
4376
4376
  `;
@@ -4433,12 +4433,12 @@ var DoubleNav = class extends i4 {
4433
4433
  ${this.previous ? x`
4434
4434
  <a href="${this.previous}" class="nav-previous">
4435
4435
  <icon-v1 type="left"></icon-v1>
4436
- <text-v1>${this.previousText || "Previous"}</text-v1>
4436
+ <ds-text>${this.previousText || "Previous"}</ds-text>
4437
4437
  </a>
4438
4438
  ` : x`<div></div>`}
4439
4439
  ${this.next ? x`
4440
4440
  <a href="${this.next}" class="nav-next">
4441
- <text-v1>${this.nextText || "Next"}</text-v1>
4441
+ <ds-text>${this.nextText || "Next"}</ds-text>
4442
4442
  <icon-v1 type="right"></icon-v1>
4443
4443
  </a>
4444
4444
  ` : x`<div></div>`}
@@ -4621,7 +4621,7 @@ Grid.styles = i`
4621
4621
  margin-top: 0.5px !important;
4622
4622
  margin-left: 0.5px !important;
4623
4623
  display: grid;
4624
- width: 100%;
4624
+ width: 1440px;
4625
4625
  height: 100%;
4626
4626
  grid-template-columns: repeat(auto-fill, 19px);
4627
4627
  grid-template-rows: repeat(auto-fill, 19px);
@@ -4631,7 +4631,7 @@ Grid.styles = i`
4631
4631
  column-rule: 1px solid
4632
4632
  light-dark(rgba(0, 0, 0, 0.03), rgba(238, 238, 238, 0.022));
4633
4633
  outline: 1px solid light-dark(rgba(0, 0, 0, 0.15), #100101e7);
4634
- position: absolute;
4634
+ position: fixed;
4635
4635
  top: 0;
4636
4636
  left: 50%;
4637
4637
  transform: translateX(-50%);
@@ -4650,8 +4650,9 @@ Grid.styles = i`
4650
4650
  }
4651
4651
 
4652
4652
  :host([align="right"]) {
4653
- left: 100%;
4654
- transform: translateX(-100%);
4653
+ left: auto;
4654
+ right: 0;
4655
+ transform: none;
4655
4656
  }
4656
4657
  `;
4657
4658
  customElements.define("ds-grid", Grid);
@@ -4706,7 +4707,7 @@ Layout.styles = i`
4706
4707
  ". footer ."
4707
4708
  ". . .";
4708
4709
  min-height: 600px;
4709
- background-color: rgba(235, 231, 231, 0.44);
4710
+ background-color: rgba(165, 165, 165, 0.03);
4710
4711
  position: relative;
4711
4712
  width: 100%;
4712
4713
  max-width: 640px;
@@ -4742,10 +4743,6 @@ Layout.styles = i`
4742
4743
  justify-self: end;
4743
4744
  }
4744
4745
 
4745
- :host([mode="debug"]) {
4746
- background-color: rgba(200, 114, 114, 0.1);
4747
- }
4748
-
4749
4746
  .debug-overlay {
4750
4747
  position: absolute;
4751
4748
  margin-left: -1px;
@@ -4794,7 +4791,6 @@ Layout.styles = i`
4794
4791
  font-size: 10px;
4795
4792
  font-weight: var(--type-weight-default);
4796
4793
  font-family: var(--typeface);
4797
- background-color: var(--slate);
4798
4794
  color: var(--black);
4799
4795
  border: 1px solid red;
4800
4796
  opacity: 1;
@@ -4802,53 +4798,39 @@ Layout.styles = i`
4802
4798
 
4803
4799
  .debug-square {
4804
4800
  grid-area: square;
4805
- background-color: rgba(255, 0, 0, 0.2);
4806
4801
  }
4807
4802
 
4808
4803
  .debug-title {
4809
4804
  grid-area: title;
4810
- background-color: rgba(0, 255, 0, 0.2);
4811
4805
  }
4812
4806
 
4813
4807
  .debug-header {
4814
4808
  grid-area: header;
4815
- background-color: rgba(0, 0, 255, 0.2);
4816
4809
  border-color: #0000ff;
4817
4810
  }
4818
4811
 
4819
4812
  .debug-projects {
4820
4813
  grid-area: projects;
4821
- background-color: rgba(255, 255, 0, 0.2);
4822
4814
  border-color: #ffff00;
4823
4815
  }
4824
4816
 
4825
4817
  .debug-bio {
4826
4818
  grid-area: bio;
4827
- background-color: rgba(255, 0, 255, 0.2);
4828
4819
  border-color: #ff00ff;
4829
4820
  }
4830
4821
 
4831
4822
  .debug-nav {
4832
4823
  grid-area: nav;
4833
- background-color: rgba(0, 255, 255, 0.2);
4834
4824
  border-color: #00ffff;
4835
4825
  }
4836
4826
 
4837
4827
  .debug-footer {
4838
4828
  grid-area: footer;
4839
- background-color: rgba(255, 165, 0, 0.2);
4840
4829
  border-color: #ffa500;
4841
4830
  }
4842
4831
 
4843
- .debug-header {
4844
- grid-area: header;
4845
- background-color: rgba(0, 0, 255, 0.2);
4846
- border-color: #0000ff;
4847
- }
4848
-
4849
4832
  .debug-content {
4850
4833
  grid-area: content;
4851
- background-color: rgba(21, 169, 21, 0.57);
4852
4834
  border-color: rgba(71, 231, 71, 0.63);
4853
4835
  }
4854
4836
  `;