@design.estate/dees-wcctools 3.0.0 → 3.1.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-wcctools",
3
- "version": "3.0.0",
3
+ "version": "3.1.1",
4
4
  "private": false,
5
5
  "description": "A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-wcctools',
6
- version: '3.0.0',
6
+ version: '3.1.1',
7
7
  description: 'A set of web component tools for creating element catalogues, enabling the structured development and documentation of custom elements and pages.'
8
8
  }
@@ -100,7 +100,7 @@ export class WccProperties extends DeesElement {
100
100
  }
101
101
  .grid {
102
102
  display: grid;
103
- grid-template-columns: 1fr 150px 350px 70px;
103
+ grid-template-columns: 1fr 150px 350px 100px;
104
104
  height: 100%;
105
105
  }
106
106
  .properties {
@@ -197,7 +197,8 @@ export class WccProperties extends DeesElement {
197
197
  }
198
198
 
199
199
  .viewportSelector,
200
- .themeSelector {
200
+ .themeSelector,
201
+ .shareSelector {
201
202
  user-select: none;
202
203
  background: transparent;
203
204
  display: flex;
@@ -206,17 +207,22 @@ export class WccProperties extends DeesElement {
206
207
  }
207
208
  .selectorButtons2 {
208
209
  display: grid;
209
- grid-template-columns: 1fr 1fr;
210
+ grid-template-columns: repeat(2, minmax(0, 1fr));
210
211
  flex: 1;
211
212
  }
212
213
  .selectorButtons4 {
213
214
  display: grid;
214
- grid-template-columns: repeat(4, 1fr);
215
+ grid-template-columns: repeat(4, minmax(0, 1fr));
215
216
  flex: 1;
216
217
  }
217
218
  .selectorButtons5 {
218
219
  display: grid;
219
- grid-template-columns: repeat(5, 1fr);
220
+ grid-template-columns: repeat(5, minmax(0, 1fr));
221
+ flex: 1;
222
+ }
223
+ .selectorButtons1 {
224
+ display: grid;
225
+ grid-template-columns: minmax(0, 1fr);
220
226
  flex: 1;
221
227
  }
222
228
  .button {
@@ -253,6 +259,11 @@ export class WccProperties extends DeesElement {
253
259
  .button .material-symbols-outlined {
254
260
  font-size: 18px;
255
261
  font-variation-settings: 'FILL' 0, 'wght' 300;
262
+ min-width: 18px;
263
+ min-height: 18px;
264
+ display: inline-flex;
265
+ align-items: center;
266
+ justify-content: center;
256
267
  }
257
268
 
258
269
  .button.selected .material-symbols-outlined {
@@ -295,7 +306,7 @@ export class WccProperties extends DeesElement {
295
306
  top: 0.5rem;
296
307
  bottom: 0.5rem;
297
308
  left: 0.5rem;
298
- right: calc(520px + 0.5rem);
309
+ right: calc(600px + 0.5rem);
299
310
  display: flex;
300
311
  align-items: center;
301
312
  justify-content: center;
@@ -671,12 +682,17 @@ export class WccProperties extends DeesElement {
671
682
  </div>
672
683
  </div>
673
684
  </div>
674
- <!-- Recording Button -->
675
- <wcc-record-button
676
- .state=${this.isRecording ? 'recording' : 'idle'}
677
- .duration=${this.recordingDuration}
678
- @record-click=${() => this.handleRecordButtonClick()}
679
- ></wcc-record-button>
685
+ <div class="shareSelector">
686
+ <div class="panelheading">Share</div>
687
+ <div class="selectorButtons1">
688
+ <div
689
+ class="button ${this.isRecording ? 'selected' : ''}"
690
+ @click=${() => this.handleRecordButtonClick()}
691
+ >
692
+ Record<i class="material-symbols-outlined">${this.isRecording ? 'stop_circle' : 'videocam'}</i>
693
+ </div>
694
+ </div>
695
+ </div>
680
696
  </div>
681
697
  ${this.warning ? html`<div class="warning">${this.warning}</div>` : null}
682
698
  </div>