@genesislcap/design-system-configurator 14.195.3-FUI-2102.3 → 14.196.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.
@@ -10,7 +10,6 @@
10
10
  overflow-y: auto;
11
11
  display: inline-block;
12
12
  scrollbar-color: var(--neutral-stroke-rest) transparent;
13
- box-sizing: border-box;
14
13
  }
15
14
 
16
15
  .form-controls {
@@ -39,7 +38,7 @@
39
38
  flex-direction: row;
40
39
  align-items: flex-end;
41
40
  justify-content: flex-end;
42
- padding: calc(${f.designUnit} * 1px);
41
+ padding: calc(${f.designUnit} * 2px);
43
42
  gap: 10px;
44
43
  }
45
44
 
@@ -1423,10 +1422,6 @@
1423
1422
  color: ${Fr};
1424
1423
  margin: calc(var(--design-unit) * 2px) 0;
1425
1424
  }
1426
-
1427
- .label-hidden {
1428
- margin: 0;
1429
- }
1430
1425
  `;class Ao extends H.NumberField{}const Oo=H.defaultNumberFieldConfig,Do=H.foundationNumberFieldTemplate,To=H.foundationNumberFieldShadowOptions,Fo=Ao.compose(Object.assign({baseName:"number-field",template:Do,styles:(e,a)=>b.css`
1431
1426
  :host .root {
1432
1427
  --focus-stroke-outer: transparent;
@@ -12057,10 +12052,6 @@
12057
12052
  line-height: var(--type-ramp-base-line-height);
12058
12053
  }
12059
12054
 
12060
- .label-hidden {
12061
- margin: 0;
12062
- }
12063
-
12064
12055
  .controls {
12065
12056
  position: absolute;
12066
12057
  right: 3px;
@@ -12698,10 +12689,6 @@
12698
12689
  font-weight: 700;
12699
12690
  margin: calc(var(--design-unit) * 2px) 0;
12700
12691
  }
12701
-
12702
- .label-hidden {
12703
- margin: 0;
12704
- }
12705
12692
  `,shadowOptions:H.foundationTextFieldShadowOptions},H.defaultTextFieldConfig)),Sh=b.css`
12706
12693
  ${H.foundationToastStyles}
12707
12694
  .toast {
@@ -14787,4 +14774,4 @@
14787
14774
  </template>
14788
14775
  `)(e.prefix)}
14789
14776
  `;let yb=class extends b.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[...vb],this.columnDefs=[{headerName:"#",colId:"rowNum",valueGetter:"node.id",width:80,pinned:"left"},{headerName:"Athlete",field:"athlete",width:150,pinned:"left"},{headerName:"Age",field:"age",width:90,pinned:"left"},{headerName:"Country",field:"country",width:150},{headerName:"Year",field:"year",width:90},{headerName:"Date",field:"date",width:110,filter:"agDateColumnFilter",filterParams:{buttons:["apply","reset"],browserDatePicker:!0,comparator:(e,a)=>{if(null==a)return-1;const r=a.split("/"),t=new Date(Number(r[2]),Number(r[1])-1,Number(r[0]));return e.getTime()===t.getTime()?0:t<e?-1:t>e?1:0}}},{headerName:"Sport",field:"sport",width:150,editable:!0},{headerName:"Gold",field:"gold",width:100},{headerName:"Silver",field:"silver",width:100},{headerName:"Bronze",field:"bronze",width:100},{headerName:"Total",field:"total",width:100,pinned:"right"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData},this.myCustomCheckboxRenderer=e=>2012===e.value?`<div><span style="color: var(--warning-color); font-weight: bold;">${e.value}</span></div>`:e.value,this.multipleCustomFoundationColumnConfigs=[{headerName:"Country",field:"country",cellRenderer:ln.boolean},{headerName:"Year",field:"year",cellRenderer:this.myCustomCheckboxRenderer}],this.multipleActions=[{name:"View",callback:e=>console.log("VIEWW!!!",e)},{name:"Delete",callback:e=>console.log("DELETE!!!",e)},{name:"Edit",callback:e=>console.log("EDIT!!!",e)},{name:"Wait",callback:e=>console.log("WHAT???",e)}],this.multipleActionsMenuSlottedConfig=((e,a={},r="⋮",t=!1,o)=>{const i={cellRenderer:ln.actionsMenu,cellRendererParams:{actions:e,buttonAppearance:o,isVertical:t,buttonText:r},cellStyle:{border:"none",overflow:"visible"},field:`${tl(a.headerName)||"actions-menu"}`,headerName:"Actions",width:150};return Object.assign(Object.assign({},i),a)})(this.multipleActions,{headerName:"Multiple Actions",width:140},"⋮",!0,"stealth"),this.singleActionSlottedConfig={headerName:"Single Action",width:200,cellRenderer:ln.action,cellRendererParams:{actionClick:e=>console.log("CLICKED ON SINGLE ACTION!!!!",e),actionName:"Single Action",appearance:"accent",isDisabled:e=>!!e.isActionDisabled,dataTestId:"singleActionTestId#",uniqueFieldName:"UNIQUE_ID"}}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(zm.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(zm.DS_CHANGED,(e=>{this.handleDSChanges(e)})),b.DOM.queueUpdate((()=>{this.setGridOptions(),f.bodyFont.withDefault($m)}))}handleStyleChanges(e){const a=e.detail;a&&b.DOM.queueUpdate((()=>{Bm(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,b.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Sm.__decorate)([b.observable],yb.prototype,"grid",void 0),(0,Sm.__decorate)([b.attr],yb.prototype,"prefix",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"provider",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"rowData",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"columnDefs",void 0),(0,Sm.__decorate)([b.observable],yb.prototype,"gridOptions",void 0),yb=(0,Sm.__decorate)([(0,b.customElement)({name:"preview-grid",template:wb,styles:fb})],yb),((e,a="zero")=>{e&&(0,H.provideTokens)(t,o,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Ji,ss),(0,l.provideDesignSystem)().register(l.baseComponents,ds),((e,a="rapid")=>{e&&(0,H.provideTokens)(i,n,e);const r=v.DesignSystem.getOrCreate(e).withPrefix(a);return(0,H.createDesignSystemProxy)(r)})().register(Bh,km)}}]);
14790
- //# sourceMappingURL=206.5df3f8f72ab310786f40f486331847c5.js.map
14777
+ //# sourceMappingURL=206.6015a80247e2c6850989e27524cb5a81.js.map