@sula-tech/webcomponents 0.17.2 → 0.17.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.
@@ -10,8 +10,8 @@ export class SulaTableHeadCell {
10
10
  replaceHostWithRenderedElement(this.host, 'th');
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h("th", { key: '9799b6fa1e3919d8aeb4cd56ddd577b89f2a5d15', scope: "col", class: "align-middle text-left" }, h("div", { key: '44d833a4380f5fedd8a50c085f81342d75dcf8f3', class: {
14
- 'px-16 py-4 w-full flex justify-start items-center box-border border-b border-line-general text-label-small-bold text-text-secondary': true,
13
+ return (h(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h("th", { key: '20b704d626c2d8f17c141ecc925f06014dc814aa', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: '7cd2c2167c2172fd1a77e9fadcafffb488344081', class: {
14
+ 'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,
15
15
  'min-h-40': this.tableDensity === SulaTableDensity.Compact,
16
16
  'min-h-44': this.tableDensity === SulaTableDensity.Default,
17
17
  'min-h-48': this.tableDensity === SulaTableDensity.Spaced,
@@ -1 +1 @@
1
- {"version":3,"file":"sula-table-head-cell.js","sourceRoot":"","sources":["../../../src/components/sula-table-head-cell/sula-table-head-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAOhG,MAAM,OAAO,iBAAiB;IAG5B,IAAY,YAAY;;QACtB,OAAO,CAAC,MAAA,MAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAA2D,0CAAE,OAAO,mCAAI,gBAAgB,CAAC,OAAO,CAAqB,CAAC;IAC/J,CAAC;IAED,gBAAgB;QACd,8BAA8B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,2DAAI,KAAK,EAAC,KAAK,EAAC,KAAK,EAAC,wBAAwB;gBAC5C,4DACE,KAAK,EAAE;wBACL,qIAAqI,EAAE,IAAI;wBAC3I,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;wBAC1D,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;wBAC1D,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,MAAM;wBACzD,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,WAAW;qBAC/D;oBAED,8DAAa,CACT,CACH,CACA,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, h } from '@stencil/core';\nimport { SulaTableDensity } from '../sula-table/model/sula-table.model';\nimport { replaceHostWithRenderedElement } from '../../utils/replace-host-with-rendered-element';\n\n@Component({\n tag: 'sula-table-head-cell',\n styleUrl: 'sula-table-head-cell.scss',\n shadow: false,\n})\nexport class SulaTableHeadCell {\n @Element() host!: HTMLElement;\n\n private get tableDensity(): SulaTableDensity {\n return ((this.host.closest('sula-table') as (HTMLElement & { density?: SulaTableDensity }) | null)?.density ?? SulaTableDensity.Default) as SulaTableDensity;\n }\n\n componentDidLoad() {\n replaceHostWithRenderedElement(this.host, 'th');\n }\n\n render() {\n return (\n <Host>\n <th scope=\"col\" class=\"align-middle text-left\">\n <div\n class={{\n 'px-16 py-4 w-full flex justify-start items-center box-border border-b border-line-general text-label-small-bold text-text-secondary': true,\n 'min-h-40': this.tableDensity === SulaTableDensity.Compact,\n 'min-h-44': this.tableDensity === SulaTableDensity.Default,\n 'min-h-48': this.tableDensity === SulaTableDensity.Spaced,\n 'min-h-56': this.tableDensity === SulaTableDensity.Confortable,\n }}\n >\n <slot></slot>\n </div>\n </th>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"sula-table-head-cell.js","sourceRoot":"","sources":["../../../src/components/sula-table-head-cell/sula-table-head-cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAOhG,MAAM,OAAO,iBAAiB;IAG5B,IAAY,YAAY;;QACtB,OAAO,CAAC,MAAA,MAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAA2D,0CAAE,OAAO,mCAAI,gBAAgB,CAAC,OAAO,CAAqB,CAAC;IAC/J,CAAC;IAED,gBAAgB;QACd,8BAA8B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAClD,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,2DAAI,KAAK,EAAC,KAAK,EAAC,KAAK,EAAC,qDAAqD;gBACzE,4DACE,KAAK,EAAE;wBACL,wGAAwG,EAAE,IAAI;wBAC9G,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;wBAC1D,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;wBAC1D,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,MAAM;wBACzD,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,WAAW;qBAC/D;oBAED,8DAAa,CACT,CACH,CACA,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, h } from '@stencil/core';\nimport { SulaTableDensity } from '../sula-table/model/sula-table.model';\nimport { replaceHostWithRenderedElement } from '../../utils/replace-host-with-rendered-element';\n\n@Component({\n tag: 'sula-table-head-cell',\n styleUrl: 'sula-table-head-cell.scss',\n shadow: false,\n})\nexport class SulaTableHeadCell {\n @Element() host!: HTMLElement;\n\n private get tableDensity(): SulaTableDensity {\n return ((this.host.closest('sula-table') as (HTMLElement & { density?: SulaTableDensity }) | null)?.density ?? SulaTableDensity.Default) as SulaTableDensity;\n }\n\n componentDidLoad() {\n replaceHostWithRenderedElement(this.host, 'th');\n }\n\n render() {\n return (\n <Host>\n <th scope=\"col\" class=\"align-middle text-left border-b border-line-general\">\n <div\n class={{\n 'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,\n 'min-h-40': this.tableDensity === SulaTableDensity.Compact,\n 'min-h-44': this.tableDensity === SulaTableDensity.Default,\n 'min-h-48': this.tableDensity === SulaTableDensity.Spaced,\n 'min-h-56': this.tableDensity === SulaTableDensity.Confortable,\n }}\n >\n <slot></slot>\n </div>\n </th>\n </Host>\n );\n }\n}\n"]}
@@ -17,8 +17,8 @@ const SulaTableHeadCell$1 = /*@__PURE__*/ proxyCustomElement(class SulaTableHead
17
17
  replaceHostWithRenderedElement(this.host, 'th');
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h("th", { key: '9799b6fa1e3919d8aeb4cd56ddd577b89f2a5d15', scope: "col", class: "align-middle text-left" }, h("div", { key: '44d833a4380f5fedd8a50c085f81342d75dcf8f3', class: {
21
- 'px-16 py-4 w-full flex justify-start items-center box-border border-b border-line-general text-label-small-bold text-text-secondary': true,
20
+ return (h(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h("th", { key: '20b704d626c2d8f17c141ecc925f06014dc814aa', scope: "col", class: "align-middle text-left border-b border-line-general" }, h("div", { key: '7cd2c2167c2172fd1a77e9fadcafffb488344081', class: {
21
+ 'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,
22
22
  'min-h-40': this.tableDensity === SulaTableDensity.Compact,
23
23
  'min-h-44': this.tableDensity === SulaTableDensity.Default,
24
24
  'min-h-48': this.tableDensity === SulaTableDensity.Spaced,
@@ -1 +1 @@
1
- {"file":"sula-table-head-cell.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,w6SAAw6S;;MCSx7SA,mBAAiB,iBAAAC,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;;;;;AAG5B,IAAA,IAAY,YAAY,GAAA;;QACtB,QAAQ,CAAA,EAAA,GAAA,CAAA,EAAA,GAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAA2D,0CAAE,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,gBAAgB,CAAC,OAAO;;IAGzI,gBAAgB,GAAA;AACd,QAAA,8BAA8B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;;IAGjD,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAI,KAAK,EAAC,KAAK,EAAC,KAAK,EAAC,wBAAwB,EAAA,EAC5C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,qIAAqI,EAAE,IAAI;AAC3I,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;AAC1D,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;AAC1D,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,MAAM;AACzD,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,WAAW;AAC/D,aAAA,EAAA,EAED,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACH,CACA;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SulaTableHeadCell","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/sula-table-head-cell/sula-table-head-cell.scss?tag=sula-table-head-cell","src/components/sula-table-head-cell/sula-table-head-cell.tsx"],"sourcesContent":["","import { Component, Element, Host, h } from '@stencil/core';\nimport { SulaTableDensity } from '../sula-table/model/sula-table.model';\nimport { replaceHostWithRenderedElement } from '../../utils/replace-host-with-rendered-element';\n\n@Component({\n tag: 'sula-table-head-cell',\n styleUrl: 'sula-table-head-cell.scss',\n shadow: false,\n})\nexport class SulaTableHeadCell {\n @Element() host!: HTMLElement;\n\n private get tableDensity(): SulaTableDensity {\n return ((this.host.closest('sula-table') as (HTMLElement & { density?: SulaTableDensity }) | null)?.density ?? SulaTableDensity.Default) as SulaTableDensity;\n }\n\n componentDidLoad() {\n replaceHostWithRenderedElement(this.host, 'th');\n }\n\n render() {\n return (\n <Host>\n <th scope=\"col\" class=\"align-middle text-left\">\n <div\n class={{\n 'px-16 py-4 w-full flex justify-start items-center box-border border-b border-line-general text-label-small-bold text-text-secondary': true,\n 'min-h-40': this.tableDensity === SulaTableDensity.Compact,\n 'min-h-44': this.tableDensity === SulaTableDensity.Default,\n 'min-h-48': this.tableDensity === SulaTableDensity.Spaced,\n 'min-h-56': this.tableDensity === SulaTableDensity.Confortable,\n }}\n >\n <slot></slot>\n </div>\n </th>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"sula-table-head-cell.js","mappings":";;;;AAAA,MAAM,oBAAoB,GAAG,w6SAAw6S;;MCSx7SA,mBAAiB,iBAAAC,kBAAA,CAAA,MAAA,iBAAA,SAAAC,CAAA,CAAA;;;;;AAG5B,IAAA,IAAY,YAAY,GAAA;;QACtB,QAAQ,CAAA,EAAA,GAAA,CAAA,EAAA,GAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,CAA2D,0CAAE,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAI,gBAAgB,CAAC,OAAO;;IAGzI,gBAAgB,GAAA;AACd,QAAA,8BAA8B,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;;IAGjD,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAI,KAAK,EAAC,KAAK,EAAC,KAAK,EAAC,qDAAqD,EAAA,EACzE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,wGAAwG,EAAE,IAAI;AAC9G,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;AAC1D,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,OAAO;AAC1D,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,MAAM;AACzD,gBAAA,UAAU,EAAE,IAAI,CAAC,YAAY,KAAK,gBAAgB,CAAC,WAAW;AAC/D,aAAA,EAAA,EAED,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACH,CACA;;;;;;;;;;;;;;;;;;;;;;;;;","names":["SulaTableHeadCell","__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/sula-table-head-cell/sula-table-head-cell.scss?tag=sula-table-head-cell","src/components/sula-table-head-cell/sula-table-head-cell.tsx"],"sourcesContent":["","import { Component, Element, Host, h } from '@stencil/core';\nimport { SulaTableDensity } from '../sula-table/model/sula-table.model';\nimport { replaceHostWithRenderedElement } from '../../utils/replace-host-with-rendered-element';\n\n@Component({\n tag: 'sula-table-head-cell',\n styleUrl: 'sula-table-head-cell.scss',\n shadow: false,\n})\nexport class SulaTableHeadCell {\n @Element() host!: HTMLElement;\n\n private get tableDensity(): SulaTableDensity {\n return ((this.host.closest('sula-table') as (HTMLElement & { density?: SulaTableDensity }) | null)?.density ?? SulaTableDensity.Default) as SulaTableDensity;\n }\n\n componentDidLoad() {\n replaceHostWithRenderedElement(this.host, 'th');\n }\n\n render() {\n return (\n <Host>\n <th scope=\"col\" class=\"align-middle text-left border-b border-line-general\">\n <div\n class={{\n 'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,\n 'min-h-40': this.tableDensity === SulaTableDensity.Compact,\n 'min-h-44': this.tableDensity === SulaTableDensity.Default,\n 'min-h-48': this.tableDensity === SulaTableDensity.Spaced,\n 'min-h-56': this.tableDensity === SulaTableDensity.Confortable,\n }}\n >\n <slot></slot>\n </div>\n </th>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -28621,8 +28621,8 @@ const SulaTableHeadCell = class {
28621
28621
  replaceHostWithRenderedElement(this.host, 'th');
28622
28622
  }
28623
28623
  render() {
28624
- return (h$1(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h$1("th", { key: '9799b6fa1e3919d8aeb4cd56ddd577b89f2a5d15', scope: "col", class: "align-middle text-left" }, h$1("div", { key: '44d833a4380f5fedd8a50c085f81342d75dcf8f3', class: {
28625
- 'px-16 py-4 w-full flex justify-start items-center box-border border-b border-line-general text-label-small-bold text-text-secondary': true,
28624
+ return (h$1(Host, { key: '0009d544b5ef7e7a2894cac4c766f40975469286' }, h$1("th", { key: '20b704d626c2d8f17c141ecc925f06014dc814aa', scope: "col", class: "align-middle text-left border-b border-line-general" }, h$1("div", { key: '7cd2c2167c2172fd1a77e9fadcafffb488344081', class: {
28625
+ 'px-16 py-4 w-full flex justify-start items-center box-border text-label-small-bold text-text-secondary': true,
28626
28626
  'min-h-40': this.tableDensity === SulaTableDensity.Compact,
28627
28627
  'min-h-44': this.tableDensity === SulaTableDensity.Default,
28628
28628
  'min-h-48': this.tableDensity === SulaTableDensity.Spaced,