@design.estate/dees-wcctools 3.1.0 → 3.1.2

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.
@@ -43468,22 +43468,22 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
43468
43468
  }
43469
43469
  .selectorButtons2 {
43470
43470
  display: grid;
43471
- grid-template-columns: 1fr 1fr;
43471
+ grid-template-columns: repeat(2, minmax(0, 1fr));
43472
43472
  flex: 1;
43473
43473
  }
43474
43474
  .selectorButtons4 {
43475
43475
  display: grid;
43476
- grid-template-columns: repeat(4, 1fr);
43476
+ grid-template-columns: repeat(4, minmax(0, 1fr));
43477
43477
  flex: 1;
43478
43478
  }
43479
43479
  .selectorButtons5 {
43480
43480
  display: grid;
43481
- grid-template-columns: repeat(5, 1fr);
43481
+ grid-template-columns: repeat(5, minmax(0, 1fr));
43482
43482
  flex: 1;
43483
43483
  }
43484
43484
  .selectorButtons1 {
43485
43485
  display: grid;
43486
- grid-template-columns: 1fr;
43486
+ grid-template-columns: minmax(0, 1fr);
43487
43487
  flex: 1;
43488
43488
  }
43489
43489
  .button {
@@ -43520,6 +43520,11 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
43520
43520
  .button .material-symbols-outlined {
43521
43521
  font-size: 18px;
43522
43522
  font-variation-settings: 'FILL' 0, 'wght' 300;
43523
+ min-width: 18px;
43524
+ min-height: 18px;
43525
+ display: inline-flex;
43526
+ align-items: center;
43527
+ justify-content: center;
43523
43528
  }
43524
43529
 
43525
43530
  .button.selected .material-symbols-outlined {
@@ -43562,7 +43567,7 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
43562
43567
  top: 0.5rem;
43563
43568
  bottom: 0.5rem;
43564
43569
  left: 0.5rem;
43565
- right: calc(520px + 0.5rem);
43570
+ right: calc(600px + 0.5rem);
43566
43571
  display: flex;
43567
43572
  align-items: center;
43568
43573
  justify-content: center;
@@ -44165,14 +44170,14 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
44165
44170
  console.log(this.dashboardRef.selectedType);
44166
44171
  this.dashboardRef.buildUrl();
44167
44172
  }
44168
- async scheduleUpdate() {
44169
- try {
44170
- await this.createProperties();
44171
- } catch (error) {
44172
- console.error("Error creating properties:", error);
44173
- this.propertyContent = [];
44173
+ updated(changedProperties) {
44174
+ super.updated(changedProperties);
44175
+ if (changedProperties.has("selectedItem")) {
44176
+ this.createProperties().catch((error) => {
44177
+ console.error("Error creating properties:", error);
44178
+ this.propertyContent = [];
44179
+ });
44174
44180
  }
44175
- super.scheduleUpdate();
44176
44181
  }
44177
44182
  selectViewport(viewport) {
44178
44183
  this.selectedViewport = viewport;