scu-web-components 0.0.32 → 0.0.35

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.
Files changed (184) hide show
  1. package/bin/cli.mjs +1 -1
  2. package/dist/chunks/{chunk.44PMNKPK.js → chunk.2LAHOOSK.js} +2 -2
  3. package/dist/chunks/{chunk.44PMNKPK.js.map → chunk.2LAHOOSK.js.map} +1 -1
  4. package/dist/chunks/chunk.2VTI5GPU.js +2 -0
  5. package/dist/chunks/{chunk.GNBOEY2A.js.map → chunk.2VTI5GPU.js.map} +0 -0
  6. package/dist/chunks/chunk.3IHJDK6I.js +2 -0
  7. package/dist/chunks/{chunk.YNNOL5UD.js.map → chunk.3IHJDK6I.js.map} +0 -0
  8. package/dist/chunks/{chunk.N5JAB5AA.js → chunk.3R7BMGFH.js} +2 -2
  9. package/dist/chunks/{chunk.N5JAB5AA.js.map → chunk.3R7BMGFH.js.map} +0 -0
  10. package/dist/chunks/{chunk.ROL6L4X5.js → chunk.3RQ6ROTP.js} +2 -2
  11. package/dist/chunks/{chunk.ROL6L4X5.js.map → chunk.3RQ6ROTP.js.map} +0 -0
  12. package/dist/chunks/{chunk.7A4QGO6F.js → chunk.4LJQJY4M.js} +2 -2
  13. package/dist/chunks/{chunk.7A4QGO6F.js.map → chunk.4LJQJY4M.js.map} +0 -0
  14. package/dist/chunks/{chunk.X2MZFY6Y.js → chunk.56YMDF4N.js} +2 -2
  15. package/dist/chunks/{chunk.X2MZFY6Y.js.map → chunk.56YMDF4N.js.map} +2 -2
  16. package/dist/chunks/{chunk.XJXDLZMZ.js → chunk.6WTOZOY7.js} +2 -2
  17. package/dist/chunks/{chunk.XJXDLZMZ.js.map → chunk.6WTOZOY7.js.map} +0 -0
  18. package/dist/chunks/chunk.6ZXOCFW5.js +2 -0
  19. package/dist/chunks/{chunk.U6A3IKTV.js.map → chunk.6ZXOCFW5.js.map} +2 -2
  20. package/dist/chunks/{chunk.TC4A7NX7.js → chunk.75W5GH3K.js} +2 -2
  21. package/dist/chunks/{chunk.TC4A7NX7.js.map → chunk.75W5GH3K.js.map} +0 -0
  22. package/dist/chunks/{chunk.DJQ6FHEA.js → chunk.7C4BKIQF.js} +1 -1
  23. package/dist/chunks/{chunk.DJQ6FHEA.js.map → chunk.7C4BKIQF.js.map} +0 -0
  24. package/dist/chunks/{chunk.TLUKKBKO.js → chunk.7IEAISVE.js} +2 -2
  25. package/dist/chunks/{chunk.TLUKKBKO.js.map → chunk.7IEAISVE.js.map} +0 -0
  26. package/dist/chunks/chunk.CN3FBMLH.js +2 -0
  27. package/dist/chunks/{chunk.GIK7EHP5.js.map → chunk.CN3FBMLH.js.map} +0 -0
  28. package/dist/chunks/{chunk.TY7FVHDQ.js → chunk.IHQUNZQU.js} +2 -2
  29. package/dist/chunks/{chunk.TY7FVHDQ.js.map → chunk.IHQUNZQU.js.map} +0 -0
  30. package/dist/chunks/{chunk.KVCUHP7N.js → chunk.KBIUGQUO.js} +1 -1
  31. package/dist/chunks/{chunk.KVCUHP7N.js.map → chunk.KBIUGQUO.js.map} +1 -1
  32. package/dist/chunks/chunk.MSP7TQ3T.js +2 -0
  33. package/dist/chunks/{chunk.QVO7RTDL.js.map → chunk.MSP7TQ3T.js.map} +0 -0
  34. package/dist/chunks/chunk.QHEFJCZI.js +2 -0
  35. package/dist/chunks/{chunk.VTUIFUTJ.js.map → chunk.QHEFJCZI.js.map} +0 -0
  36. package/dist/chunks/{chunk.RPACMUBY.js → chunk.QSH5IYLY.js} +2 -2
  37. package/dist/chunks/{chunk.RPACMUBY.js.map → chunk.QSH5IYLY.js.map} +0 -0
  38. package/dist/chunks/chunk.S3DM53HD.js +2 -0
  39. package/dist/chunks/{chunk.UNJ2HAKH.js.map → chunk.S3DM53HD.js.map} +0 -0
  40. package/dist/chunks/chunk.SHURDDW4.js +2 -0
  41. package/dist/chunks/{chunk.5XMC6YA4.js.map → chunk.SHURDDW4.js.map} +0 -0
  42. package/dist/chunks/{chunk.CJAF5ARK.js → chunk.SNSOKG54.js} +2 -2
  43. package/dist/chunks/{chunk.CJAF5ARK.js.map → chunk.SNSOKG54.js.map} +0 -0
  44. package/dist/chunks/{chunk.MGNPSQQS.js → chunk.TAIV7XKZ.js} +2 -2
  45. package/dist/chunks/{chunk.MGNPSQQS.js.map → chunk.TAIV7XKZ.js.map} +0 -0
  46. package/dist/chunks/chunk.TASESTIH.js +2 -0
  47. package/dist/chunks/{chunk.BNXLNCIW.js.map → chunk.TASESTIH.js.map} +0 -0
  48. package/dist/chunks/{chunk.GTNXXY2T.js → chunk.TH7XY5AV.js} +2 -2
  49. package/dist/chunks/{chunk.GTNXXY2T.js.map → chunk.TH7XY5AV.js.map} +0 -0
  50. package/dist/chunks/chunk.VWEPTKXE.js +2 -0
  51. package/dist/chunks/{chunk.LCLP3O74.js.map → chunk.VWEPTKXE.js.map} +0 -0
  52. package/dist/chunks/chunk.VYN4PQL4.js +2 -0
  53. package/dist/chunks/{chunk.YO4XRUOI.js.map → chunk.VYN4PQL4.js.map} +0 -0
  54. package/dist/chunks/chunk.WXMMTZTU.js +2 -0
  55. package/dist/chunks/{chunk.W2QJT7Q4.js.map → chunk.WXMMTZTU.js.map} +0 -0
  56. package/dist/chunks/{chunk.42R5SIJT.js → chunk.XKGTDJG6.js} +2 -2
  57. package/dist/chunks/{chunk.42R5SIJT.js.map → chunk.XKGTDJG6.js.map} +0 -0
  58. package/dist/chunks/chunk.YMIT4ZQO.js +2 -0
  59. package/dist/chunks/{chunk.72DKVHIA.js.map → chunk.YMIT4ZQO.js.map} +0 -0
  60. package/dist/chunks/{chunk.NGL6WE6V.js → chunk.YNLLA3ZB.js} +2 -2
  61. package/dist/chunks/{chunk.NGL6WE6V.js.map → chunk.YNLLA3ZB.js.map} +0 -0
  62. package/dist/chunks/chunk.Z4H6RRS7.js +2 -0
  63. package/dist/chunks/{chunk.J2BS5MIF.js.map → chunk.Z4H6RRS7.js.map} +0 -0
  64. package/dist/chunks/{chunk.WUOL7WM2.js → chunk.ZFQ275QN.js} +2 -2
  65. package/dist/chunks/{chunk.WUOL7WM2.js.map → chunk.ZFQ275QN.js.map} +0 -0
  66. package/dist/chunks/{chunk.PFDERFXL.js → chunk.ZKJROKIG.js} +2 -2
  67. package/dist/chunks/{chunk.PFDERFXL.js.map → chunk.ZKJROKIG.js.map} +0 -0
  68. package/dist/custom-elements.json +323 -322
  69. package/dist/docs/components/ScwAlert.json +2 -2
  70. package/dist/docs/components/ScwButton.json +17 -16
  71. package/dist/docs/components/ScwCard.json +2 -2
  72. package/dist/docs/components/ScwCenterComponent.json +2 -2
  73. package/dist/docs/components/ScwComponent.json +2 -2
  74. package/dist/docs/components/ScwElementComponent.json +2 -2
  75. package/dist/docs/components/ScwFlexHComponent.json +2 -2
  76. package/dist/docs/components/ScwFlexVComponent.json +2 -2
  77. package/dist/docs/components/ScwFloatComponent.json +2 -2
  78. package/dist/docs/components/ScwForm.json +2 -2
  79. package/dist/docs/components/ScwFormComponent.json +2 -2
  80. package/dist/docs/components/ScwHeading.json +2 -2
  81. package/dist/docs/components/ScwIcon.json +3 -3
  82. package/dist/docs/components/ScwImage.json +2 -2
  83. package/dist/docs/components/ScwInput.json +2 -2
  84. package/dist/docs/components/ScwInputField.json +2 -2
  85. package/dist/docs/components/ScwInputLayout.json +2 -2
  86. package/dist/docs/components/ScwLayoutComponent.json +2 -2
  87. package/dist/docs/components/ScwLink.json +2 -2
  88. package/dist/docs/components/ScwLinkBase.json +2 -2
  89. package/dist/docs/components/ScwMenu.json +2 -2
  90. package/dist/docs/components/ScwMenuItem.json +2 -2
  91. package/dist/docs/components/ScwPageAlert.json +2 -2
  92. package/dist/docs/components/ScwPaneComponent.json +2 -2
  93. package/dist/docs/components/ScwResponsive.json +2 -2
  94. package/dist/docs/components/ScwSelect.json +2 -2
  95. package/dist/docs/components/ScwSingleInput.json +2 -2
  96. package/dist/docs/components/ScwSingleInputLayout.json +2 -2
  97. package/dist/docs/components/ScwStackComponent.json +2 -2
  98. package/dist/docs/components/ScwTest.json +2 -2
  99. package/dist/docs/components/ScwTextarea.json +2 -2
  100. package/dist/docs/components/ScwValidate.json +2 -2
  101. package/dist/docs/components/ScwValidation.json +2 -2
  102. package/dist/docs/components/manifest.json +57 -57
  103. package/dist/docs/config.json +1 -1
  104. package/dist/scw-alert/ScwAlert.js +1 -1
  105. package/dist/scw-alert/scw-alert.js +1 -1
  106. package/dist/scw-button/ScwButton.js +1 -1
  107. package/dist/scw-button/scw-button.js +1 -1
  108. package/dist/scw-card/ScwCard.js +1 -1
  109. package/dist/scw-card/scw-card.js +1 -1
  110. package/dist/scw-center-component/ScwCenterComponent.js +1 -1
  111. package/dist/scw-center-component/scw-center-component.js +1 -1
  112. package/dist/scw-component/ScwComponent.d.ts +1 -1
  113. package/dist/scw-component/ScwComponent.js +1 -1
  114. package/dist/scw-component/scw-component-interface.d.ts +2 -0
  115. package/dist/scw-component/scw-component.js +1 -1
  116. package/dist/scw-components.js +1 -1
  117. package/dist/scw-element-component/scw-element-component.js +1 -1
  118. package/dist/scw-flex-h-component/scw-flex-h-component.js +1 -1
  119. package/dist/scw-flex-v-component/scw-flex-v-component.js +1 -1
  120. package/dist/scw-float-component/scw-float-component.js +1 -1
  121. package/dist/scw-form/scw-form.js +1 -1
  122. package/dist/scw-form-component/scw-form-component.js +1 -1
  123. package/dist/scw-heading/ScwHeading.js +1 -1
  124. package/dist/scw-heading/scw-heading.js +1 -1
  125. package/dist/scw-icon/ScwIcon.js +1 -1
  126. package/dist/scw-icon/scw-icon.js +1 -1
  127. package/dist/scw-image/ScwImage.js +1 -1
  128. package/dist/scw-image/scw-image.js +1 -1
  129. package/dist/scw-input/scw-input.js +3 -3
  130. package/dist/scw-input/scw-input.js.map +2 -2
  131. package/dist/scw-input-field/scw-input-field.js +1 -1
  132. package/dist/scw-input-layout/scw-input-layout.js +1 -1
  133. package/dist/scw-layout-component/scw-layout-component.js +1 -1
  134. package/dist/scw-link/ScwLink.js +1 -1
  135. package/dist/scw-link/scw-link.js +1 -1
  136. package/dist/scw-link-base/ScwLinkBase.js +1 -1
  137. package/dist/scw-link-base/scw-link-base.js +1 -1
  138. package/dist/scw-menu/ScwMenu.js +1 -1
  139. package/dist/scw-menu/scw-menu.js +1 -1
  140. package/dist/scw-menu-item/ScwMenuItem.js +1 -1
  141. package/dist/scw-menu-item/scw-menu-item.js +1 -1
  142. package/dist/scw-page-alert/scw-page-alert.js +1 -1
  143. package/dist/scw-pane-component/scw-pane-component.js +1 -1
  144. package/dist/scw-responsive/scw-responsive.js +1 -1
  145. package/dist/scw-select/scw-select.js +2 -2
  146. package/dist/scw-select/scw-select.js.map +2 -2
  147. package/dist/scw-single-input/scw-single-input.js +1 -1
  148. package/dist/scw-single-input-layout/scw-single-input-layout.js +1 -1
  149. package/dist/scw-stack-component/scw-stack-component.js +1 -1
  150. package/dist/scw-test/ScwTest.js +1 -1
  151. package/dist/scw-test/scw-test.js +1 -1
  152. package/dist/scw-textarea/scw-textarea.js +3 -3
  153. package/dist/scw-textarea/scw-textarea.js.map +2 -2
  154. package/dist/scw-validate/scw-validate.js +1 -1
  155. package/dist/scw-validation/scw-validation.js +1 -1
  156. package/dist/scw.js +1 -1
  157. package/dist/tokens/source/jsCss.js +1 -1
  158. package/dist/tokens/source/jsCss.js.gz +0 -0
  159. package/dist/tokens/source/jsCssGenerator.js +1 -1
  160. package/dist/tokens/source/jsCssGenerator.js.gz +0 -0
  161. package/dist/tokens/source/jsCssGeneratorSansAssets.js +1 -1
  162. package/dist/tokens/source/jsCssGeneratorSansAssets.js.gz +0 -0
  163. package/dist/utils/responsive/ResponsiveElement.js +1 -1
  164. package/dist/utils/responsive/breakpoints.js +1 -1
  165. package/dist/utils/responsive/connectStyles.js +1 -1
  166. package/dist/utils/responsive/processAttributes.js +1 -1
  167. package/dist/utils/suffix.js +1 -1
  168. package/package.json +5 -4
  169. package/scripts/ssr.mjs +23 -0
  170. package/src/utils/responsive/{breakpoints.mjs → breakpointsData.mjs} +0 -0
  171. package/dist/chunks/chunk.5XMC6YA4.js +0 -2
  172. package/dist/chunks/chunk.72DKVHIA.js +0 -2
  173. package/dist/chunks/chunk.BNXLNCIW.js +0 -2
  174. package/dist/chunks/chunk.GIK7EHP5.js +0 -2
  175. package/dist/chunks/chunk.GNBOEY2A.js +0 -2
  176. package/dist/chunks/chunk.J2BS5MIF.js +0 -2
  177. package/dist/chunks/chunk.LCLP3O74.js +0 -2
  178. package/dist/chunks/chunk.QVO7RTDL.js +0 -2
  179. package/dist/chunks/chunk.U6A3IKTV.js +0 -2
  180. package/dist/chunks/chunk.UNJ2HAKH.js +0 -2
  181. package/dist/chunks/chunk.VTUIFUTJ.js +0 -2
  182. package/dist/chunks/chunk.W2QJT7Q4.js +0 -2
  183. package/dist/chunks/chunk.YNNOL5UD.js +0 -2
  184. package/dist/chunks/chunk.YO4XRUOI.js +0 -2
@@ -1,4 +1,4 @@
1
- import{a as r}from"./chunk.UXHVIMZV.js";import{a as e}from"./chunk.RPACMUBY.js";import{a as l,b as s}from"./chunk.44PMNKPK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as c}from"./chunk.5YJY6NT6.js";var n=l`
1
+ import{a as r}from"./chunk.UXHVIMZV.js";import{a as e}from"./chunk.QSH5IYLY.js";import{a as l,b as s}from"./chunk.2LAHOOSK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as c}from"./chunk.5YJY6NT6.js";var n=l`
2
2
  :host([design=main]) {
3
3
  outline: none;
4
4
  background-color: rgba(0, 0, 0, 0);
@@ -205,4 +205,4 @@ import{a as r}from"./chunk.UXHVIMZV.js";import{a as e}from"./chunk.RPACMUBY.js";
205
205
  <div>${super.renderContent()}</div>
206
206
  <div class="selected"></div>
207
207
  `):(this.removeAttribute("aria-current"),super.renderContent())}render(){return this.renderLink(this.renderContent())}};c([s({type:String,attribute:"aria-selected"})],t.prototype,"ariaSelected",2);export{t as a};
208
- //# sourceMappingURL=chunk.N5JAB5AA.js.map
208
+ //# sourceMappingURL=chunk.3R7BMGFH.js.map
@@ -1,4 +1,4 @@
1
- import{d as i}from"./chunk.X2MZFY6Y.js";import{a as r,b as o}from"./chunk.44PMNKPK.js";import{a as s}from"./chunk.IHVBWZ57.js";import{g as c}from"./chunk.5YJY6NT6.js";var a=r`
1
+ import{d as i}from"./chunk.56YMDF4N.js";import{a as r,b as o}from"./chunk.2LAHOOSK.js";import{a as s}from"./chunk.IHVBWZ57.js";import{g as c}from"./chunk.5YJY6NT6.js";var a=r`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -27,4 +27,4 @@ import{d as i}from"./chunk.X2MZFY6Y.js";import{a as r,b as o}from"./chunk.44PMNK
27
27
  <span class="message">${this.ariaLabel}</span>
28
28
  <span class="description">${this.description}</span>
29
29
  `)}};c([o({type:String})],t.prototype,"description",2);export{t as a};
30
- //# sourceMappingURL=chunk.ROL6L4X5.js.map
30
+ //# sourceMappingURL=chunk.3RQ6ROTP.js.map
@@ -1,4 +1,4 @@
1
- import{e as o}from"./chunk.44PMNKPK.js";import{a as e}from"./chunk.IHVBWZ57.js";var t=class extends o{constructor(){super(),this.element="layout-component",this.setAttribute("scw-layout-initial",""),this.responsive=!0}render(){return e`
1
+ import{e as o}from"./chunk.2LAHOOSK.js";import{a as e}from"./chunk.IHVBWZ57.js";var t=class extends o{constructor(){super(),this.element="layout-component",this.setAttribute("scw-layout-initial",""),this.responsive=!0}render(){return e`
2
2
  <slot></slot>
3
3
  `}};export{t as a};
4
- //# sourceMappingURL=chunk.7A4QGO6F.js.map
4
+ //# sourceMappingURL=chunk.4LJQJY4M.js.map
@@ -1,4 +1,4 @@
1
- import{a as d}from"./chunk.GATDLRXZ.js";import{a as l,b as a,d as u,e as f}from"./chunk.44PMNKPK.js";import{a as r,d as c}from"./chunk.IHVBWZ57.js";import{b,d as L,f as g,g as i}from"./chunk.5YJY6NT6.js";var p={};L(p,{validationWarnings:()=>v});var v,m=b(()=>{"use strict";v={ariaLabelWarning:"link without a label",noIconWarning:"could not find the icon"}});var s=n=>n!=null?n:c;var h=l`
1
+ import{a as d}from"./chunk.GATDLRXZ.js";import{a as l,b as a,d as u,e as f}from"./chunk.2LAHOOSK.js";import{a as r,d as c}from"./chunk.IHVBWZ57.js";import{b,d as L,f as g,g as i}from"./chunk.5YJY6NT6.js";var p={};L(p,{validationWarnings:()=>v});var v,m=b(()=>{"use strict";v={ariaLabelWarning:"link without a label",noIconWarning:"could not find the icon"}});var s=n=>n!=null?n:c;var h=l`
2
2
  .scw-link-base {
3
3
  display: block;
4
4
  text-decoration: none;
@@ -30,4 +30,4 @@ import{a as d}from"./chunk.GATDLRXZ.js";import{a as l,b as a,d as u,e as f}from"
30
30
  * Copyright 2018 Google LLC
31
31
  * SPDX-License-Identifier: BSD-3-Clause
32
32
  */
33
- //# sourceMappingURL=chunk.X2MZFY6Y.js.map
33
+ //# sourceMappingURL=chunk.56YMDF4N.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/utils/validation/warnings.mjs", "../../../node_modules/lit-html/src/directives/if-defined.ts", "../../src/scw-link-base/scss/scw-link-base.scss", "../../src/scw-link-base/ScwLinkBase.ts"],
4
- "sourcesContent": ["\n\nexport const validationWarnings = {\n ariaLabelWarning: 'link without a label',\n noIconWarning: 'could not find the icon',\n};\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing} from '../lit-html.js';\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = <T>(value: T) => value ?? nothing;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n.scw-link-base {\n display: block;\n text-decoration: none;\n}\n.scw-link-base:focus-visible {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 4px;\n}\n.scw-link-base:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3Njb3R0cm91c2UvV29ya3NwYWNlL3Njdy1kZXNpZ24tc3lzdGVtLXdlYi9zY3ctZGVzaWduLXN5c3RlbS1tb25vL3NjdS13ZWItY29tcG9uZW50cy9zcmMvc2N3LWxpbmstYmFzZS9zY3NzIiwic291cmNlcyI6WyJzY3ctbGluay1iYXNlLnNjc3MiLCIuLi8uLi8uLi9kaXN0L3Rva2Vucy9zb3VyY2UvY3NzQXBpLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0E7RUFDRTtFQUNBOztBQUVBO0VBQ0U7RUNrNGJGO0VEaDRiRTs7QUFHRjtFQUNFO0VBQ0EifQ== */`;\n", "import {html} from 'lit';\nimport {property, query} from 'lit/decorators.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport parseLightDomAnchor from './parseLightDomAnchor';\nimport {Components} from '../utils/enums/Components';\nimport styles from './scss/scw-link-base.scss';\nconst {validationWarnings} = require('../utils/validation/warnings.mjs');\n\n/**\n * ScwLinkBase\n * @class\n * @tag scw-link-base\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwLinkBase extends ScwComponent {/**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwLinkBase =======================================\n\n\n /**\n * (ScwLinkBase) link location - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n href : string | undefined;\n\n /**\n * (ScwLinkBase) link target - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n target : '_blank' | '_parent' | '_self' | '_top' | undefined;\n\n @query('a.scw-link-base')\n linkAnchor: HTMLAnchorElement | undefined;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.linkBase;\n }\n\n /**\n * request update\n */\n updated() {\n if (this.ariaDisabled === 'true') {\n this.addEventListener('click', this.cancelEvent, {capture: true} );\n } else {\n this.removeEventListener('click', this.cancelEvent, {capture: true} );\n }\n }\n\n /**\n * cancel event\n * @param {Event} evt\n */\n cancelEvent(evt: Event) {\n evt.preventDefault();\n evt.stopImmediatePropagation();\n }\n\n /**\n * override with anchor info\n */\n parseAndValidateLightDom() {\n super.parseAndValidateLightDom();\n parseLightDomAnchor(this);\n if (this.isLink() && this.ariaLabel.trim().length === 0) {\n this.warn(validationWarnings.ariaLabelWarning);// 'link without a label');\n }\n }\n\n /**\n * Should this element be rendered as a link...\n * @return {boolean}\n */\n isLink() {\n if (this.href) {\n return true;\n }\n return false;\n }\n\n /**\n * renderLink\n * @param {object} children\n * @param {string} styles\n * @return {object} component DOM\n */\n renderLink(children: object, styles?: string): object {\n if (this.isLink() && this.ariaDisabled !== 'true') {\n return html`\n <a\n class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\"\n href=\"${this.href ? this.href : 'javascript:'}\"\n target=\"${this.target ? this.target : '_self'}\"\n aria-label=\"${this.ariaLabel}\">\n ${children}\n </a>`;\n } else {\n // need a consistent container for styling\n return html`\n <div class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\">\n ${children}\n </div>`;\n }\n }\n\n /**\n * focus\n */\n focus(): void {\n if (this.linkAnchor) {\n this.linkAnchor.focus();\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return this.renderLink(\n html`${this._lastWarning ? this._lastWarning : this.ariaLabel}`,\n );\n }\n}\n"],
5
- "mappings": "4MAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,IAEaA,EAFbC,EAAAC,EAAA,kBAEaF,EAAqB,CAChC,iBAAkB,uBAClB,cAAe,yBACjB,ICSa,IAAAG,EAAgBC,GAAaA,GAAAA,KAAAA,EAASC,ECbnD,IAAOC,EAAQC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;qdCMf,GAAM,CAAC,mBAAAC,CAAkB,EAAI,WAaRC,EAArB,cAAyCC,CAAa,CAiCpD,aAAc,CACZ,MAAM,EACN,KAAK,mBACP,CAjCA,WAAW,QAAS,CAClB,MAAO,CACL,MAAM,OACNC,CACF,CACF,CAiCA,SAAU,CACJ,KAAK,eAAiB,OACxB,KAAK,iBAAiB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,EAEjE,KAAK,oBAAoB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,CAExE,CAMA,YAAYC,EAAY,CACtBA,EAAI,eAAe,EACnBA,EAAI,yBAAyB,CAC/B,CAKA,0BAA2B,CACzB,MAAM,yBAAyB,EAC/BC,EAAoB,IAAI,EACpB,KAAK,OAAO,GAAK,KAAK,UAAU,KAAK,EAAE,SAAW,GACpD,KAAK,KAAKL,EAAmB,gBAAgB,CAEjD,CAMA,QAAS,CACP,MAAI,OAAK,IAIX,CAQA,WAAWM,EAAkBC,EAAyB,CACpD,OAAI,KAAK,OAAO,GAAK,KAAK,eAAiB,OAClCC;AAAA;AAAA;AAAA,mBAGMC,EAAUF,CAAM;AAAA,kBACjB,KAAK,KAAO,KAAK,KAAO;AAAA,oBACtB,KAAK,OAAS,KAAK,OAAS;AAAA,wBACxB,KAAK;AAAA,YACjBD;AAAA,cAICE;AAAA;AAAA,mBAEMC,EAAUF,CAAM;AAAA,YACvBD;AAAA,eAGV,CAKA,OAAc,CACR,KAAK,YACP,KAAK,WAAW,MAAM,CAE1B,CAMA,QAAiB,CACf,OAAO,KAAK,WACVE,IAAO,KAAK,aAAe,KAAK,aAAe,KAAK,WACtD,CACF,CACF,EA3GIE,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GAjBpBV,EAkBjB,oBAOAS,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GAxBpBV,EAyBjB,sBAGAS,EAAA,CADDE,EAAM,iBAAiB,GA3BLX,EA4BjB",
4
+ "sourcesContent": ["\n\nexport const validationWarnings = {\n ariaLabelWarning: 'link without a label',\n noIconWarning: 'could not find the icon',\n};\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing} from '../lit-html.js';\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = <T>(value: T) => value ?? nothing;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n.scw-link-base {\n display: block;\n text-decoration: none;\n}\n.scw-link-base:focus-visible {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 4px;\n}\n.scw-link-base:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}\n/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3Njb3R0cm91c2UvV29ya3NwYWNlL3Njdy1kZXNpZ24tc3lzdGVtLXdlYi9zY3ctZGVzaWduLXN5c3RlbS1tb25vL3NjdS13ZWItY29tcG9uZW50cy9zcmMvc2N3LWxpbmstYmFzZS9zY3NzIiwic291cmNlcyI6WyJzY3ctbGluay1iYXNlLnNjc3MiLCIuLi8uLi8uLi9kaXN0L3Rva2Vucy9zb3VyY2UvY3NzQXBpLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR0E7RUFDRTtFQUNBOztBQUVBO0VBQ0U7RUNrNGJGO0VEaDRiRTs7QUFHRjtFQUNFO0VBQ0EifQ== */`;\n", "import {html} from 'lit';\nimport {property, query} from 'lit/decorators.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport parseLightDomAnchor from './parseLightDomAnchor';\nimport {Components} from '../utils/enums/Components';\nimport styles from './scss/scw-link-base.scss';\nconst {validationWarnings} = require('../utils/validation/warnings.mjs');\n\n/**\n * ScwLinkBase\n * @class\n * @tag scw-link-base\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwLinkBase extends ScwComponent {/**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwLinkBase =======================================\n /**\n * (ScwLinkBase) link location - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n href : string | undefined;\n\n /**\n * (ScwLinkBase) link target - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n target : '_blank' | '_parent' | '_self' | '_top' | undefined;\n\n @query('a.scw-link-base')\n linkAnchor: HTMLAnchorElement | undefined;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.linkBase;\n }\n\n /**\n * request update\n */\n updated() {\n if (this.ariaDisabled === 'true') {\n this.addEventListener('click', this.cancelEvent, {capture: true} );\n } else {\n this.removeEventListener('click', this.cancelEvent, {capture: true} );\n }\n }\n\n /**\n * cancel event\n * @param {Event} evt\n */\n cancelEvent(evt: Event) {\n evt.preventDefault();\n evt.stopImmediatePropagation();\n }\n\n /**\n * override with anchor info\n */\n parseAndValidateLightDom() {\n super.parseAndValidateLightDom();\n parseLightDomAnchor(this);\n if (this.isLink() && this.ariaLabel.trim().length === 0) {\n this.warn(validationWarnings.ariaLabelWarning);// 'link without a label');\n }\n }\n\n /**\n * Should this element be rendered as a link...\n * @return {boolean}\n */\n isLink() {\n if (this.href) {\n return true;\n }\n return false;\n }\n\n /**\n * renderLink\n * @param {object} children\n * @param {string} styles\n * @return {object} component DOM\n */\n renderLink(children: object, styles?: string): object {\n if (this.isLink() && this.ariaDisabled !== 'true') {\n return html`\n <a\n class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\"\n href=\"${this.href ? this.href : 'javascript:'}\"\n target=\"${this.target ? this.target : '_self'}\"\n aria-label=\"${this.ariaLabel}\">\n ${children}\n </a>`;\n } else {\n // need a consistent container for styling\n return html`\n <div class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\">\n ${children}\n </div>`;\n }\n }\n\n /**\n * focus\n */\n focus(): void {\n if (this.linkAnchor) {\n this.linkAnchor.focus();\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return this.renderLink(\n html`${this._lastWarning ? this._lastWarning : this.ariaLabel}`,\n );\n }\n}\n"],
5
+ "mappings": "4MAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,wBAAAE,IAAA,IAEaA,EAFbC,EAAAC,EAAA,kBAEaF,EAAqB,CAChC,iBAAkB,uBAClB,cAAe,yBACjB,ICSa,IAAAG,EAAgBC,GAAaA,GAAAA,KAAAA,EAASC,ECbnD,IAAOC,EAAQC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;qdCMf,GAAM,CAAC,mBAAAC,CAAkB,EAAI,WAaRC,EAArB,cAAyCC,CAAa,CA+BpD,aAAc,CACZ,MAAM,EACN,KAAK,mBACP,CA/BA,WAAW,QAAS,CAClB,MAAO,CACL,MAAM,OACNC,CACF,CACF,CA+BA,SAAU,CACJ,KAAK,eAAiB,OACxB,KAAK,iBAAiB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,EAEjE,KAAK,oBAAoB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,CAExE,CAMA,YAAYC,EAAY,CACtBA,EAAI,eAAe,EACnBA,EAAI,yBAAyB,CAC/B,CAKA,0BAA2B,CACzB,MAAM,yBAAyB,EAC/BC,EAAoB,IAAI,EACpB,KAAK,OAAO,GAAK,KAAK,UAAU,KAAK,EAAE,SAAW,GACpD,KAAK,KAAKL,EAAmB,gBAAgB,CAEjD,CAMA,QAAS,CACP,MAAI,OAAK,IAIX,CAQA,WAAWM,EAAkBC,EAAyB,CACpD,OAAI,KAAK,OAAO,GAAK,KAAK,eAAiB,OAClCC;AAAA;AAAA;AAAA,mBAGMC,EAAUF,CAAM;AAAA,kBACjB,KAAK,KAAO,KAAK,KAAO;AAAA,oBACtB,KAAK,OAAS,KAAK,OAAS;AAAA,wBACxB,KAAK;AAAA,YACjBD;AAAA,cAICE;AAAA;AAAA,mBAEMC,EAAUF,CAAM;AAAA,YACvBD;AAAA,eAGV,CAKA,OAAc,CACR,KAAK,YACP,KAAK,WAAW,MAAM,CAE1B,CAMA,QAAiB,CACf,OAAO,KAAK,WACVE,IAAO,KAAK,aAAe,KAAK,aAAe,KAAK,WACtD,CACF,CACF,EA3GIE,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GAfpBV,EAgBjB,oBAOAS,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GAtBpBV,EAuBjB,sBAGAS,EAAA,CADDE,EAAM,iBAAiB,GAzBLX,EA0BjB",
6
6
  "names": ["warnings_exports", "__export", "validationWarnings", "init_warnings", "__esmMin", "ifDefined", "value", "nothing", "scw_link_base_default", "r", "validationWarnings", "ScwLinkBase", "ScwComponent", "scw_link_base_default", "evt", "parseLightDomAnchor", "children", "styles", "$", "l", "__decorateClass", "e", "i"]
7
7
  }
@@ -1,4 +1,4 @@
1
- import{e as r}from"./chunk.44PMNKPK.js";import{a as e}from"./chunk.IHVBWZ57.js";var t=class extends r{constructor(){super(),this.element="center-component",this.setAttribute("scw-center-initial",""),this.responsive=!0}render(){return e`
1
+ import{e as r}from"./chunk.2LAHOOSK.js";import{a as e}from"./chunk.IHVBWZ57.js";var t=class extends r{constructor(){super(),this.element="center-component",this.setAttribute("scw-center-initial",""),this.responsive=!0}render(){return e`
2
2
  <slot></slot>
3
3
  `}};export{t as a};
4
- //# sourceMappingURL=chunk.XJXDLZMZ.js.map
4
+ //# sourceMappingURL=chunk.6WTOZOY7.js.map
@@ -0,0 +1,2 @@
1
+ import{a as r}from"./chunk.QSH5IYLY.js";import{a as m}from"./chunk.B7II36CO.js";import{b as i}from"./chunk.2LAHOOSK.js";import{g as e}from"./chunk.5YJY6NT6.js";var t=class extends r{constructor(){super();this.submitType="submit";this.element="button",this.href="javascript:"}connectedCallback(){super.connectedCallback(),this.addEventListener("click",()=>{this.submitType==="submit"&&m("scw-submit-intent",this)})}};e([i({type:String,reflect:!0,attribute:"submit-type"})],t.prototype,"submitType",2);export{t as a};
2
+ //# sourceMappingURL=chunk.6ZXOCFW5.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/scw-button/ScwButton.ts"],
4
- "sourcesContent": ["import {property} from 'lit/decorators.js';\nimport ScwLink from '../scw-link/ScwLink';\nimport {ScwFormComponentSubmitTypes}\n from '../scw-form-component/scw-form-component';\nimport {Components} from '../utils/enums/Components';\nimport {ScwEvents} from '../utils/events/event';\nimport {emit} from '../utils/events/event';\n\n/**\n * ScwButton\n * @class\n * @tag scw-button\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwButton extends ScwLink {\n /** <ScwFormComponent> the usage in a form (& scw-form a query target) */\n @property({type: String, reflect: true, attribute: 'submit-type'})\n submitType: ScwFormComponentSubmitTypes =\n ScwFormComponentSubmitTypes.submit;\n\n /** connectedCallback */\n connectedCallback(): void {\n super.connectedCallback();\n this.addEventListener(\n 'click',\n () => {\n if (this.submitType === ScwFormComponentSubmitTypes.submit ) {\n emit(\n ScwEvents.submitIntent,\n this,\n );\n }\n },\n );\n }\n\n /** Constructor */\n constructor() {\n super();\n this.element = Components.button;\n // need to tell scw-link-base to turn this into a link each time...\n this.setAttribute('onclick', 'javascript:');\n }\n}\n"],
5
- "mappings": "gKAmBA,IAAqBA,EAArB,cAAuCC,CAAQ,CAuB7C,aAAc,CACZ,MAAM,EArBN,yBAsBA,KAAK,iBAEL,KAAK,aAAa,UAAW,aAAa,CAC5C,CArBA,mBAA0B,CACxB,MAAM,kBAAkB,EACxB,KAAK,iBACH,QACA,IAAM,CACA,KAAK,uBACPC,sBAEE,IACF,CAEJ,CACF,CACF,CASF,EA1BIC,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,GAAM,UAAW,aAAa,CAAC,GAF9CJ,EAGjB",
4
+ "sourcesContent": ["import {property} from 'lit/decorators.js';\nimport ScwLink from '../scw-link/ScwLink';\nimport {ScwFormComponentSubmitTypes}\n from '../scw-form-component/scw-form-component';\nimport {Components} from '../utils/enums/Components';\nimport {ScwEvents} from '../utils/events/event';\nimport {emit} from '../utils/events/event';\n\n/**\n * ScwButton\n * @class\n * @tag scw-button\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwButton extends ScwLink {\n /** <ScwFormComponent> the usage in a form (& scw-form a query target) */\n @property({type: String, reflect: true, attribute: 'submit-type'})\n submitType: ScwFormComponentSubmitTypes =\n ScwFormComponentSubmitTypes.submit;\n\n /** connectedCallback */\n connectedCallback(): void {\n super.connectedCallback();\n this.addEventListener(\n 'click',\n () => {\n if (this.submitType === ScwFormComponentSubmitTypes.submit ) {\n emit(\n ScwEvents.submitIntent,\n this,\n );\n }\n },\n );\n }\n\n /** Constructor */\n constructor() {\n super();\n this.element = Components.button;\n this.href = 'javascript:';// link each time...\n }\n}\n"],
5
+ "mappings": "gKAmBA,IAAqBA,EAArB,cAAuCC,CAAQ,CAuB7C,aAAc,CACZ,MAAM,EArBN,yBAsBA,KAAK,iBACL,KAAK,KAAO,aACd,CApBA,mBAA0B,CACxB,MAAM,kBAAkB,EACxB,KAAK,iBACH,QACA,IAAM,CACA,KAAK,uBACPC,sBAEE,IACF,CAEJ,CACF,CACF,CAQF,EAzBIC,EAAA,CADDC,EAAS,CAAC,KAAM,OAAQ,QAAS,GAAM,UAAW,aAAa,CAAC,GAF9CJ,EAGjB",
6
6
  "names": ["ScwButton", "ScwLink", "emit", "__decorateClass", "e"]
7
7
  }
@@ -1,2 +1,2 @@
1
- import{b}from"./chunk.KVCUHP7N.js";var B=1e5;function y(t){t.attrBreakpoints={};let o={};t.breakpoints=[];let i={},e=t.responsiveInfo.attributes;for(let r=0;r<e.length;r++){let s=e[r],n=s.name,u=s.value;if(n.indexOf("-bp-")===-1)h(t,o,n,u);else{let c=n.split("-bp-"),a=c[0],p=c[1];t.attrBreakpoints[a]||(t.attrBreakpoints[a]=[{name:"empty",minWidth:0,maxWidth:B,attribute:a,value:"",priority:-1}]);let m=t.attrBreakpoints[a],k=b()[p];if(k){i[p]||(i[p]=!0,t.breakpoints.push(k)),m.push({...k,attribute:a,value:u});let f=o[a];f&&(m.push(f),delete o[a])}}}Object.values(t.attrBreakpoints).map(r=>{r.sort((s,n)=>s.priority>n.priority?-1:1)})}function h(t,o,i,e){let r={name:"default",minWidth:0,maxWidth:B,attribute:i,value:e,priority:0};t.attrBreakpoints[i]?t.attrBreakpoints[i].push(r):o[i]=r}export{y as a};
2
- //# sourceMappingURL=chunk.TC4A7NX7.js.map
1
+ import{b}from"./chunk.KBIUGQUO.js";var B=1e5;function y(t){t.attrBreakpoints={};let o={};t.breakpoints=[];let i={},e=t.responsiveInfo.attributes;for(let r=0;r<e.length;r++){let s=e[r],n=s.name,u=s.value;if(n.indexOf("-bp-")===-1)h(t,o,n,u);else{let c=n.split("-bp-"),a=c[0],p=c[1];t.attrBreakpoints[a]||(t.attrBreakpoints[a]=[{name:"empty",minWidth:0,maxWidth:B,attribute:a,value:"",priority:-1}]);let m=t.attrBreakpoints[a],k=b()[p];if(k){i[p]||(i[p]=!0,t.breakpoints.push(k)),m.push({...k,attribute:a,value:u});let f=o[a];f&&(m.push(f),delete o[a])}}}Object.values(t.attrBreakpoints).map(r=>{r.sort((s,n)=>s.priority>n.priority?-1:1)})}function h(t,o,i,e){let r={name:"default",minWidth:0,maxWidth:B,attribute:i,value:e,priority:0};t.attrBreakpoints[i]?t.attrBreakpoints[i].push(r):o[i]=r}export{y as a};
2
+ //# sourceMappingURL=chunk.75W5GH3K.js.map
@@ -14,4 +14,4 @@ import{a as f}from"./chunk.T25QZW3W.js";import{c as w,e as h,f as u}from"./chunk
14
14
  * Copyright 2020 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- //# sourceMappingURL=chunk.DJQ6FHEA.js.map
17
+ //# sourceMappingURL=chunk.7C4BKIQF.js.map
@@ -1,4 +1,4 @@
1
- import{a as p}from"./chunk.ZHMMWIFH.js";import{a as u}from"./chunk.A6Q2K43E.js";import{d as b}from"./chunk.X2MZFY6Y.js";import{a as d,b as e,c as n}from"./chunk.44PMNKPK.js";import{a as l}from"./chunk.33FSL7Y7.js";import{b as c}from"./chunk.KVCUHP7N.js";import{a as r}from"./chunk.IHVBWZ57.js";import{g as i}from"./chunk.5YJY6NT6.js";var m=d`
1
+ import{a as p}from"./chunk.ZHMMWIFH.js";import{a as u}from"./chunk.A6Q2K43E.js";import{d as b}from"./chunk.56YMDF4N.js";import{a as d,b as e,c as n}from"./chunk.2LAHOOSK.js";import{a as l}from"./chunk.33FSL7Y7.js";import{b as c}from"./chunk.KBIUGQUO.js";import{a as r}from"./chunk.IHVBWZ57.js";import{g as i}from"./chunk.5YJY6NT6.js";var m=d`
2
2
  :host {
3
3
  /* scw element */
4
4
  position: relative;
@@ -56,4 +56,4 @@ import{a as p}from"./chunk.ZHMMWIFH.js";import{a as u}from"./chunk.A6Q2K43E.js";
56
56
  style="${this.renderImgCss()}"
57
57
  src="${this.src?this.src:!1}"
58
58
  alt="${this.alt?this.alt:"NO ALT!"}" />`:r``}render(){return this.renderLink(this.renderContent(),this.renderContainerCss())}};i([e({type:String,attribute:"aspect-ratio"})],t.prototype,"aspectRatio",2),i([e({type:String,attribute:"object-fit"})],t.prototype,"objectFit",2),i([e({type:String,attribute:"object-position"})],t.prototype,"objectPosition",2),i([e({type:String})],t.prototype,"srcset",2),i([e({type:String})],t.prototype,"src",2),i([e({type:String})],t.prototype,"alt",2),i([e({type:Boolean})],t.prototype,"preload",2),i([e({type:Boolean,attribute:"no-lazy-loading"})],t.prototype,"noLazyLoading",2),i([e({type:String,attribute:"resize-breakpoints"})],t.prototype,"resizeBreakpoints",2),i([n()],t.prototype,"_imageSize",2),i([n()],t.prototype,"_isIntersecting",2),i([n()],t.prototype,"_hasIntersected",2);export{t as a};
59
- //# sourceMappingURL=chunk.TLUKKBKO.js.map
59
+ //# sourceMappingURL=chunk.7IEAISVE.js.map
@@ -0,0 +1,2 @@
1
+ import{e as o}from"./chunk.2LAHOOSK.js";customElements.define("scw-component",o);
2
+ //# sourceMappingURL=chunk.CN3FBMLH.js.map
@@ -1,4 +1,4 @@
1
- import{a as h}from"./chunk.TE6ZDRYB.js";import{a}from"./chunk.MQ57PGFU.js";import{b as U,c as n,d as l}from"./chunk.X2MZFY6Y.js";import{a as e,b as t,c as i}from"./chunk.44PMNKPK.js";import{a as c}from"./chunk.IHVBWZ57.js";import{f as g,g as s}from"./chunk.5YJY6NT6.js";var F=e`
1
+ import{a as h}from"./chunk.TE6ZDRYB.js";import{a}from"./chunk.MQ57PGFU.js";import{b as U,c as n,d as l}from"./chunk.56YMDF4N.js";import{a as e,b as t,c as i}from"./chunk.2LAHOOSK.js";import{a as c}from"./chunk.IHVBWZ57.js";import{f as g,g as s}from"./chunk.5YJY6NT6.js";var F=e`
2
2
  :host .scw-link-base {
3
3
  outline: none;
4
4
  user-select: none;
@@ -115,4 +115,4 @@ import{a as h}from"./chunk.TE6ZDRYB.js";import{a}from"./chunk.MQ57PGFU.js";impor
115
115
  /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3Njb3R0cm91c2UvV29ya3NwYWNlL3Njdy1kZXNpZ24tc3lzdGVtLXdlYi9zY3ctZGVzaWduLXN5c3RlbS1tb25vL3NjdS13ZWItY29tcG9uZW50cy9zcmMvc2N3LWljb24vc2NzcyIsInNvdXJjZXMiOlsic2N3LWljb24uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQWE7RUFDYjs7QUFFQTtFQUNFO0VBQ0E7RUFDQTtFQUNBOzs7QUFJSjtFQUVFO0VBQWE7O0FBRWI7RUFDRTs7QUFHRjtFQUNFOztBQUdGO0VBQ0U7O0FBRUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7O0FBRUY7QUFBQTtFQUVFOztBQUVGO0VBQ0U7O0FBRUY7RUFDRTs7QUFFRjtFQUNFOztBQUVGO0VBQ0U7OztBQUtGO0VBQ0U7O0FBRUY7RUFFRSxrQkFDRTs7QUFJSjtFQUNFOzs7QUFJSjtFQUNFO0VBQWE7OztBQUVmO0VBQ0U7RUFBYTs7O0FBRWY7RUFDRTtFQUFhOzs7QUFFZjtFQUNFO0VBQWE7OztBQUVmO0VBQ0U7RUFBYTs7O0FBRWY7RUFDRTtFQUFhOzs7QUFFZjtFQUNFO0VBQWE7OztBQUVmO0VBQ0U7RUFBYTs7O0FBRWY7RUFDRTtFQUFhOzs7QUFFZjtFQUNFO0VBQWMifQ== */`;var{validationWarnings:p}=(n(),g(U)),o=class extends l{constructor(){super();this.size="50";this.colorBackground=!1;this._svgInfo="";this.element="icon"}static get styles(){return[super.styles,F]}parseAndValidateLightDom(){super.parseAndValidateLightDom(),a(this.icon,r=>{r===!1?this.warn(p.noIconWarning):this._svgInfo=r})}render(){return this.renderLink(c`
116
116
  ${h(this._svgInfo)}
117
117
  `)}};s([t({type:String,reflect:!0})],o.prototype,"icon",2),s([t({type:String,reflect:!0})],o.prototype,"size",2),s([t({type:Boolean,reflect:!0,attribute:"color-background"})],o.prototype,"colorBackground",2),s([i()],o.prototype,"_svgInfo",2);export{o as a};
118
- //# sourceMappingURL=chunk.TY7FVHDQ.js.map
118
+ //# sourceMappingURL=chunk.IHQUNZQU.js.map
@@ -1,2 +1,2 @@
1
1
  var n=[{name:"01",minWidth:0,maxWidth:320,priority:1e3},{name:"02",minWidth:0,maxWidth:450,priority:900},{name:"sm",minWidth:0,maxWidth:450,priority:900},{name:"03",minWidth:0,maxWidth:600,priority:800},{name:"04",minWidth:0,maxWidth:750,priority:700},{name:"05",minWidth:0,maxWidth:900,priority:600},{name:"06",minWidth:0,maxWidth:1024,priority:500},{name:"md",minWidth:0,maxWidth:1024,priority:500},{name:"07",minWidth:0,maxWidth:1150,priority:400},{name:"08",minWidth:0,maxWidth:1300,priority:300},{name:"lg",minWidth:0,maxWidth:1300,priority:300},{name:"09",minWidth:0,maxWidth:1450,priority:200},{name:"10",minWidth:0,maxWidth:1600,priority:100}],i;function o(){return i||(i={},n.map(t=>{i&&(i[t.name]=t)})),i}export{n as a,o as b};
2
- //# sourceMappingURL=chunk.KVCUHP7N.js.map
2
+ //# sourceMappingURL=chunk.KBIUGQUO.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/utils/responsive/breakpoints.ts"],
4
- "sourcesContent": ["import {BreakpointNames, Breakpoint} from './BreakpointTypes';\n\nexport const breakpoints : Breakpoint[] = [\n {name: BreakpointNames.breakpoint01,\n minWidth: 0, maxWidth: 320, priority: 1000},\n {name: BreakpointNames.breakpoint02,\n minWidth: 0, maxWidth: 450, priority: 900},\n\n {name: BreakpointNames.breakpointSM,\n minWidth: 0, maxWidth: 450, priority: 900}, // SM\n\n {name: BreakpointNames.breakpoint03,\n minWidth: 0, maxWidth: 600, priority: 800},\n {name: BreakpointNames.breakpoint04,\n minWidth: 0, maxWidth: 750, priority: 700},\n {name: BreakpointNames.breakpoint05,\n minWidth: 0, maxWidth: 900, priority: 600},\n {name: BreakpointNames.breakpoint06,\n minWidth: 0, maxWidth: 1024, priority: 500},\n\n {name: BreakpointNames.breakpointMD,\n minWidth: 0, maxWidth: 1024, priority: 500}, // MD\n\n {name: BreakpointNames.breakpoint07,\n minWidth: 0, maxWidth: 1150, priority: 400},\n {name: BreakpointNames.breakpoint08,\n minWidth: 0, maxWidth: 1300, priority: 300},\n\n {name: BreakpointNames.breakpointLG,\n minWidth: 0, maxWidth: 1300, priority: 300}, // LG\n\n {name: BreakpointNames.breakpoint09,\n minWidth: 0, maxWidth: 1450, priority: 200},\n {name: BreakpointNames.breakpoint10,\n minWidth: 0, maxWidth: 1600, priority: 100},\n];\n\nlet _breakpointLookup: {[key: string] : Breakpoint} | undefined;\n\n/**\n * breakpoint lookup\n * @return {object}\n */\nexport function breakpointLookup() {\n if (!_breakpointLookup) {\n _breakpointLookup = {};\n breakpoints.map((bp) => {\n if (_breakpointLookup) {\n _breakpointLookup[bp.name] = bp;\n }\n });\n }\n return _breakpointLookup;\n}\n"],
4
+ "sourcesContent": ["import {BreakpointNames, Breakpoint} from './BreakpointTypes';\n\nexport const breakpoints : Breakpoint[] = [\n {name: BreakpointNames.breakpoint01,\n minWidth: 0, maxWidth: 320, priority: 1000},\n {name: BreakpointNames.breakpoint02,\n minWidth: 0, maxWidth: 450, priority: 900},\n\n {name: BreakpointNames.breakpointSM,\n minWidth: 0, maxWidth: 450, priority: 900}, // SM\n\n {name: BreakpointNames.breakpoint03,\n minWidth: 0, maxWidth: 600, priority: 800},\n {name: BreakpointNames.breakpoint04,\n minWidth: 0, maxWidth: 750, priority: 700},\n {name: BreakpointNames.breakpoint05,\n minWidth: 0, maxWidth: 900, priority: 600},\n {name: BreakpointNames.breakpoint06,\n minWidth: 0, maxWidth: 1024, priority: 500},\n\n {name: BreakpointNames.breakpointMD,\n minWidth: 0, maxWidth: 1024, priority: 500}, // MD\n\n {name: BreakpointNames.breakpoint07,\n minWidth: 0, maxWidth: 1150, priority: 400},\n {name: BreakpointNames.breakpoint08,\n minWidth: 0, maxWidth: 1300, priority: 300},\n\n {name: BreakpointNames.breakpointLG,\n minWidth: 0, maxWidth: 1300, priority: 300}, // LG\n\n {name: BreakpointNames.breakpoint09,\n minWidth: 0, maxWidth: 1450, priority: 200},\n {name: BreakpointNames.breakpoint10,\n minWidth: 0, maxWidth: 1600, priority: 100},\n];\n\nlet _breakpointLookup: {[key: string] : Breakpoint} | undefined;\n\n/**\n * breakpoint lookup\n * @return {object}\n */\nexport function breakpointLookup() {\n if (!_breakpointLookup) {\n _breakpointLookup = {};\n breakpoints.map((bp) => {\n if (_breakpointLookup) {\n _breakpointLookup[bp.name] = bp;\n }\n });\n }\n return _breakpointLookup;\n}\n\n"],
5
5
  "mappings": "AAEO,IAAMA,EAA6B,CACxC,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAI,EAC5C,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAG,EAE3C,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAG,EAE3C,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAG,EAC3C,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAG,EAC3C,CAAC,UACC,SAAU,EAAG,SAAU,IAAK,SAAU,GAAG,EAC3C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAE5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAE5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAC5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAE5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAE5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,EAC5C,CAAC,UACC,SAAU,EAAG,SAAU,KAAM,SAAU,GAAG,CAC9C,EAEIC,EAMG,SAASC,GAAmB,CACjC,OAAKD,IACHA,EAAoB,CAAC,EACrBD,EAAY,IAAKG,GAAO,CAClBF,IACFA,EAAkBE,EAAG,MAAQA,EAEjC,CAAC,GAEIF,CACT",
6
6
  "names": ["breakpoints", "_breakpointLookup", "breakpointLookup", "bp"]
7
7
  }
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.3R7BMGFH.js";customElements.define("scw-menu-item",e);
2
+ //# sourceMappingURL=chunk.MSP7TQ3T.js.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.ZFQ275QN.js";customElements.define("scw-menu",e);
2
+ //# sourceMappingURL=chunk.QHEFJCZI.js.map
@@ -1,4 +1,4 @@
1
- import{b as d}from"./chunk.I4ZVEUHX.js";import{a}from"./chunk.TE6ZDRYB.js";import{a as b}from"./chunk.MQ57PGFU.js";import{d as r}from"./chunk.X2MZFY6Y.js";import{a as i,b as e,c as o}from"./chunk.44PMNKPK.js";import{a as l}from"./chunk.IHVBWZ57.js";import{g as s}from"./chunk.5YJY6NT6.js";var p=i`
1
+ import{b as d}from"./chunk.I4ZVEUHX.js";import{a}from"./chunk.TE6ZDRYB.js";import{a as b}from"./chunk.MQ57PGFU.js";import{d as r}from"./chunk.56YMDF4N.js";import{a as i,b as e,c as o}from"./chunk.2LAHOOSK.js";import{a as l}from"./chunk.IHVBWZ57.js";import{g as s}from"./chunk.5YJY6NT6.js";var p=i`
2
2
  :host .label {
3
3
  display: inline-flex;
4
4
  justify-content: center;
@@ -258,4 +258,4 @@ import{b as d}from"./chunk.I4ZVEUHX.js";import{a}from"./chunk.TE6ZDRYB.js";impor
258
258
  <div class="icon">
259
259
  ${a(this._svgInfo)}
260
260
  </div>`:""}`}findStyle(){switch(this.design){case"solid":return v;case"outlined":return g;case"text":return L;case"plain":default:return u}}render(){return this.renderLink(this.renderContent())}};s([e({type:String,reflect:!0})],c.prototype,"icon",2),s([e({type:String,reflect:!0,attribute:"icon-side"})],c.prototype,"iconSide",2),s([e({type:String,reflect:!0})],c.prototype,"design",2),s([o()],c.prototype,"_svgInfo",2);export{c as a};
261
- //# sourceMappingURL=chunk.RPACMUBY.js.map
261
+ //# sourceMappingURL=chunk.QSH5IYLY.js.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.XKGTDJG6.js";customElements.define("scw-heading",e);
2
+ //# sourceMappingURL=chunk.S3DM53HD.js.map
@@ -0,0 +1,2 @@
1
+ import{b as f}from"./chunk.7C4BKIQF.js";function t(i="-"){return f&&f.suffix?`${i}${f.suffix}`:""}export{t as a};
2
+ //# sourceMappingURL=chunk.SHURDDW4.js.map
@@ -1,4 +1,4 @@
1
- import{a as r,b as i,e as s}from"./chunk.44PMNKPK.js";import{a as o}from"./chunk.IHVBWZ57.js";import{g as e}from"./chunk.5YJY6NT6.js";var t=class extends s{constructor(){super();this.name="hi";this.element="test",this.setAttribute("role","button")}static get styles(){return r`
1
+ import{a as r,b as i,e as s}from"./chunk.2LAHOOSK.js";import{a as o}from"./chunk.IHVBWZ57.js";import{g as e}from"./chunk.5YJY6NT6.js";var t=class extends s{constructor(){super();this.name="hi";this.element="test",this.setAttribute("role","button")}static get styles(){return r`
2
2
  :host {
3
3
  display: block;
4
4
  border: 1px solid red;
@@ -7,4 +7,4 @@ import{a as r,b as i,e as s}from"./chunk.44PMNKPK.js";import{a as o}from"./chunk
7
7
  <div @click=${this.clickHandler}>ima ${this.name}</div>
8
8
  <slot></slot>
9
9
  `}};e([i({type:String,reflect:!0})],t.prototype,"name",2);export{t as a};
10
- //# sourceMappingURL=chunk.CJAF5ARK.js.map
10
+ //# sourceMappingURL=chunk.SNSOKG54.js.map
@@ -1,4 +1,4 @@
1
- import{a as o}from"./chunk.B7II36CO.js";import{a,b as r,e as d}from"./chunk.44PMNKPK.js";import{a as c}from"./chunk.IHVBWZ57.js";import{g as i}from"./chunk.5YJY6NT6.js";var s=a`
1
+ import{a as o}from"./chunk.B7II36CO.js";import{a,b as r,e as d}from"./chunk.2LAHOOSK.js";import{a as c}from"./chunk.IHVBWZ57.js";import{g as i}from"./chunk.5YJY6NT6.js";var s=a`
2
2
  :host {
3
3
  background-color: rgb(255, 255, 255);
4
4
  display: flex;
@@ -180,4 +180,4 @@ import{a as o}from"./chunk.B7II36CO.js";import{a,b as r,e as d}from"./chunk.44PM
180
180
  ${this.feedback}&nbsp;
181
181
  </div>`}
182
182
  `}};i([r({type:String})],t.prototype,"feedback",2),i([r({type:String,attribute:"hide-feedback"})],t.prototype,"hideFeedback",2),i([r({type:String,attribute:"left-action-icon"})],t.prototype,"leftActionIcon",2),i([r({type:String,attribute:"right-action-icon"})],t.prototype,"rightActionIcon",2),i([r({type:String,attribute:"right-icon"})],t.prototype,"rightIcon",2),i([r({type:String,attribute:"right-2-icon"})],t.prototype,"right2Icon",2);export{e as a,t as b};
183
- //# sourceMappingURL=chunk.MGNPSQQS.js.map
183
+ //# sourceMappingURL=chunk.TAIV7XKZ.js.map
@@ -0,0 +1,2 @@
1
+ import{d as e}from"./chunk.56YMDF4N.js";customElements.define("scw-link-base",e);
2
+ //# sourceMappingURL=chunk.TASESTIH.js.map
@@ -1,4 +1,4 @@
1
- import{a as c,b as o}from"./chunk.HONWLPRG.js";import{a as L}from"./chunk.5XMC6YA4.js";import{a as s,d as l}from"./chunk.X2MZFY6Y.js";import{a,b as e,e as r}from"./chunk.44PMNKPK.js";import{a as d}from"./chunk.KSN3XTKS.js";import{g as i}from"./chunk.5YJY6NT6.js";var p=a`
1
+ import{a as c,b as o}from"./chunk.HONWLPRG.js";import{a as L}from"./chunk.SHURDDW4.js";import{a as s,d as l}from"./chunk.56YMDF4N.js";import{a,b as e,e as r}from"./chunk.2LAHOOSK.js";import{a as d}from"./chunk.KSN3XTKS.js";import{g as i}from"./chunk.5YJY6NT6.js";var p=a`
2
2
  :host {
3
3
  /* scw element */
4
4
  position: relative;
@@ -244,4 +244,4 @@ import{a as c,b as o}from"./chunk.HONWLPRG.js";import{a as L}from"./chunk.5XMC6Y
244
244
  </div>`:""}`}render(){return this.action==="whole"?this.renderBody():o`
245
245
  ${this.renderBody()}
246
246
  ${this.renderButton()}`}};i([e()],t.prototype,"src",2),i([e()],t.prototype,"srcset",2),i([e()],t.prototype,"alt",2),i([e()],t.prototype,"heading",2),i([e()],t.prototype,"superHeading",2),i([e()],t.prototype,"description",2),i([e()],t.prototype,"linkLabel",2),i([e({type:Boolean})],t.prototype,"preload",2),i([e({type:String,reflect:!0})],t.prototype,"size",2),i([e({type:String,reflect:!0})],t.prototype,"action",2);export{t as a};
247
- //# sourceMappingURL=chunk.GTNXXY2T.js.map
247
+ //# sourceMappingURL=chunk.TH7XY5AV.js.map
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk.IHQUNZQU.js";customElements.define("scw-icon",c);
2
+ //# sourceMappingURL=chunk.VWEPTKXE.js.map
@@ -0,0 +1,2 @@
1
+ import{a as c}from"./chunk.TH7XY5AV.js";customElements.define("scw-card",c);
2
+ //# sourceMappingURL=chunk.VYN4PQL4.js.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.7IEAISVE.js";customElements.define("scw-image",e);
2
+ //# sourceMappingURL=chunk.WXMMTZTU.js.map
@@ -1,4 +1,4 @@
1
- import{a as i}from"./chunk.OOCO42E3.js";import{d as s}from"./chunk.X2MZFY6Y.js";import{a as e,b as o}from"./chunk.44PMNKPK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as t}from"./chunk.5YJY6NT6.js";var c=e`
1
+ import{a as i}from"./chunk.OOCO42E3.js";import{d as s}from"./chunk.56YMDF4N.js";import{a as e,b as o}from"./chunk.2LAHOOSK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as t}from"./chunk.5YJY6NT6.js";var c=e`
2
2
  a.scw-link-base h1:hover, a.scw-link-base h2:hover, a.scw-link-base h3:hover, a.scw-link-base h4:hover, a.scw-link-base h5:hover {
3
3
  cursor: pointer;
4
4
  text-decoration: underline;
@@ -56,4 +56,4 @@ a.scw-link-base[aria-disabled=true] h1:hover, a.scw-link-base[aria-disabled=true
56
56
  color: var(--scw-color-04, var(--scw-color-grey-02));
57
57
  }
58
58
  /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3Njb3R0cm91c2UvV29ya3NwYWNlL3Njdy1kZXNpZ24tc3lzdGVtLXdlYi9zY3ctZGVzaWduLXN5c3RlbS1tb25vL3NjdS13ZWItY29tcG9uZW50cy9zcmMvc2N3LWhlYWRpbmcvc2NzcyIsInNvdXJjZXMiOlsic2N3LWhlYWRpbmcuc2NzcyIsIi4uLy4uLy4uL2Rpc3QvdG9rZW5zL3NlZ21lbnRzL2NvbXAtc2N3LWhlYWRpbmcvX3N0YXRlLWRpc2FibGVkLWxhYmVsLXZhcnMuc2NzcyIsIi4uLy4uLy4uL2Rpc3QvdG9rZW5zL3NlZ21lbnRzL2NvbXAtc2N3LWhlYWRpbmcvX2RlZmF1bHQtbGFiZWwtbWl4aW5zLnNjc3MiLCIuLi8uLi8uLi9kaXN0L3Rva2Vucy9zZWdtZW50cy9jb21wLXNjdy1oZWFkaW5nL19zaXplLWgyLWxhYmVsLW1peGlucy5zY3NzIiwiLi4vLi4vLi4vZGlzdC90b2tlbnMvc2VnbWVudHMvY29tcC1zY3ctaGVhZGluZy9fc2l6ZS1oMy1sYWJlbC1taXhpbnMuc2NzcyIsIi4uLy4uLy4uL2Rpc3QvdG9rZW5zL3NlZ21lbnRzL2NvbXAtc2N3LWhlYWRpbmcvX3NpemUtaDQtbGFiZWwtbWl4aW5zLnNjc3MiLCIuLi8uLi8uLi9kaXN0L3Rva2Vucy9zZWdtZW50cy9jb21wLXNjdy1oZWFkaW5nL19zaXplLWg1LWxhYmVsLW1peGlucy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCRTtFQUNFO0VBQ0E7OztBQVFGO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtFQUNFLE9DcEJJOztBRHNCTjtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7RUFDRTtFQUNBOzs7QUFPRjtFQUNFOztBQUdGO0VFcENBO0VBQ0E7RUFFRTs7QUZvQ0Y7RUd2Q0E7RUFDQTtFQUVFOztBSHVDRjtFSTFDQTtFQUNBO0VBRUU7O0FKMENGO0VLN0NBO0VBQ0E7RUFFRTs7QUw2Q0Y7RU1oREE7RUFDQTtFQUVFOztBTmlERjtFQUNFO0VBQVc7RUFDWCJ9 */`;var r=class extends s{constructor(){super();this.size="H1";this.element="heading"}static get styles(){return[super.styles,c]}parseAndValidateLightDom(){super.parseAndValidateLightDom(),i(this)}renderHeading(){switch(this.size.toUpperCase()){case"H5":return a`<h5>${this.ariaLabel}</h5>`;case"H4":return a`<h4>${this.ariaLabel}</h4>`;case"H3":return a`<h3>${this.ariaLabel}</h3>`;case"H2":return a`<h2>${this.ariaLabel}</h2>`;case"H1":default:return a`<h1>${this.ariaLabel}</h1>`}}render(){return this.renderLink(this.renderHeading())}};t([o({type:String,reflect:!0})],r.prototype,"size",2);export{r as a};
59
- //# sourceMappingURL=chunk.42R5SIJT.js.map
59
+ //# sourceMappingURL=chunk.XKGTDJG6.js.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.QSH5IYLY.js";customElements.define("scw-link",e);
2
+ //# sourceMappingURL=chunk.YMIT4ZQO.js.map
@@ -1,2 +1,2 @@
1
- import{a as o,b as p}from"./chunk.J5OGWB43.js";import{a as m}from"./chunk.TC4A7NX7.js";import{a as r}from"./chunk.33FSL7Y7.js";var t=class{constructor(n,i,s,c){this.responsiveType="none";this.breakpoints=[];this.attrBreakpoints={};this.stylesCompiled="";this.uuid="";this.uuid=`res-${t.instanceIndex++}`,this.mediaQueryHandler=this.mediaQueryHandler.bind(this),this.responsiveInfo=n,this.responsiveClient=i||n,this.responsiveObserved=s||document,this.responsiveClientSelector=c,this.responsiveType=this.responsiveObserved===document?"viewport":"element",this.connect()}run(){this.mediaQueryHandler()}connect(){m(this),o(this)}disconnect(){r.removeBreakpointListener(this.breakpoints,this.mediaQueryHandler)}mediaQueryHandler(){p(this)}},e=t;e.instanceIndex=0;export{e as a};
2
- //# sourceMappingURL=chunk.NGL6WE6V.js.map
1
+ import{a as o,b as p}from"./chunk.J5OGWB43.js";import{a as m}from"./chunk.75W5GH3K.js";import{a as r}from"./chunk.33FSL7Y7.js";var t=class{constructor(n,i,s,c){this.responsiveType="none";this.breakpoints=[];this.attrBreakpoints={};this.stylesCompiled="";this.uuid="";this.uuid=`res-${t.instanceIndex++}`,this.mediaQueryHandler=this.mediaQueryHandler.bind(this),this.responsiveInfo=n,this.responsiveClient=i||n,this.responsiveObserved=s||document,this.responsiveClientSelector=c,this.responsiveType=this.responsiveObserved===document?"viewport":"element",this.connect()}run(){this.mediaQueryHandler()}connect(){m(this),o(this)}disconnect(){r.removeBreakpointListener(this.breakpoints,this.mediaQueryHandler)}mediaQueryHandler(){p(this)}},e=t;e.instanceIndex=0;export{e as a};
2
+ //# sourceMappingURL=chunk.YNLLA3ZB.js.map
@@ -0,0 +1,2 @@
1
+ import{a as e}from"./chunk.3RQ6ROTP.js";customElements.define("scw-alert",e);
2
+ //# sourceMappingURL=chunk.Z4H6RRS7.js.map
@@ -1,4 +1,4 @@
1
- import{a as o}from"./chunk.QZ7HSWXB.js";import{a as d}from"./chunk.V6IT6TY7.js";import{a as r,b as n,e as s}from"./chunk.44PMNKPK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as e}from"./chunk.5YJY6NT6.js";var u=r`
1
+ import{a as o}from"./chunk.QZ7HSWXB.js";import{a as d}from"./chunk.V6IT6TY7.js";import{a as r,b as n,e as s}from"./chunk.2LAHOOSK.js";import{a}from"./chunk.IHVBWZ57.js";import{g as e}from"./chunk.5YJY6NT6.js";var u=r`
2
2
  :host {
3
3
  /* scw element */
4
4
  position: relative;
@@ -34,4 +34,4 @@ import{a as o}from"./chunk.QZ7HSWXB.js";import{a as d}from"./chunk.V6IT6TY7.js";
34
34
  margin: 0 !important;
35
35
  }
36
36
  /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiL1VzZXJzL3Njb3R0cm91c2UvV29ya3NwYWNlL3Njdy1kZXNpZ24tc3lzdGVtLXdlYi9zY3ctZGVzaWduLXN5c3RlbS1tb25vL3NjdS13ZWItY29tcG9uZW50cy9zcmMvc2N3LW1lbnUvc2NzcyIsInNvdXJjZXMiOlsiLi4vLi4vc2N3LWNvbXBvbmVudC9zY3NzL3Njdy1jb21wb25lbnQuc2NzcyIsIi4uLy4uLy4uL2Rpc3QvdG9rZW5zL3NvdXJjZS9jc3NBcGkuc2NzcyIsInNjdy1tZW51LnNjc3MiLCIuLi8uLi91dGlscy9hZGEuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQTtBQ2tudEJFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUVBOzs7QUR4bnRCRjtFQUNFOzs7QUVKRjtFQUNFOztBQUVBO0VBQ0U7RUFDQTs7QUFHRjtFQ1BBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VER0UifQ== */`;var i=class extends s{constructor(){super();this.ariaHidden="false";this.keyboardDirection="either";this.element="menu",this.setAttribute("tabindex","0"),this.setAttribute("scw-flex-h-initial","")}static get styles(){return[super.styles,u]}firstUpdated(t){super.firstUpdated(t),this._keyboardManager=new d(this)}connectedCallback(){super.connectedCallback(),this._menuItem=this.findMenuItem(),this._menuItem&&this._menuItem.setAttribute("aria-expanded","false"),this.setAttribute("role",this.isSubMenu()?"menu":"menubar")}findMenuItem(){let t=this.previousElementSibling;if(t&&t.nodeName.indexOf("SCW-MENU-ITEM")===0)return t}isSubMenu(){return this._menuItem!==void 0}parseAndValidateLightDom(){super.parseAndValidateLightDom(),o(this)}render(){return this.style&&(this.style.display=this.ariaHidden==="true"?"none":""),this.isSubMenu()&&this._menuItem&&this._menuItem.setAttribute("aria-expanded",this.ariaHidden==="true"?"false":"true"),a`<slot></slot>`}};e([n({type:String,attribute:"aria-hidden"})],i.prototype,"ariaHidden",2),e([n({type:String,attribute:"keyboard-direction"})],i.prototype,"keyboardDirection",2);export{i as a};
37
- //# sourceMappingURL=chunk.WUOL7WM2.js.map
37
+ //# sourceMappingURL=chunk.ZFQ275QN.js.map
@@ -1,4 +1,4 @@
1
- import{a as u}from"./chunk.5XMC6YA4.js";import{b as n,c as r,e as f}from"./chunk.44PMNKPK.js";import{a as o}from"./chunk.IHVBWZ57.js";import{g as a}from"./chunk.5YJY6NT6.js";var c=(e=>(e.text="text",e.boolean="boolean",e.submit="submit",e))(c||{}),h=(i=>(i.submit="submit",i.cancel="cancel",i))(h||{}),t=class extends f{constructor(){super(...arguments);this.formType="text";this.value="";this.placeholder="";this.selected=!1;this.readOnly=!1;this.required=!1;this.requiredLabel=" *";this.focused=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.required&&this.createAndAddValidationRule("required",this.requiredFeedback)}decorateValues(i){if(!this.name){this.warn(`${this.element} didn't find a name`);return}this.formType==="boolean"?i[this.name]=this.selected:i[this.name]=this.value}findIfRequired(){let i=this.findValidationRules();return i?i.isRequired():!1}findValidationRules(){return Array.from(this.children).find(l=>l.nodeName.indexOf("SCW-VALIDATION")===0)}validate(){let i=this.findValidationRules(),e=[];return i&&(e=i.validate(this.value)),this.invalid=e.length>0,this.invalid?this.feedback=e[0].feedback:this.feedback="",e}createValidateRule(){return document.createElement(`scw-${"validate"}${u()}`)}addValidationRule(i){let e=this.findValidationRules();e||(e=document.createElement(`scw-${"validation"}${u()}`),this.prepend(e)),Array.from(e.children).find(s=>s.getAttribute("type")===i.type)||e.appendChild(i)}createAndAddValidationRule(i,e){let l=this.createValidateRule();l.setAttribute("type",i),e&&l.setAttribute("feedback",e),this.addValidationRule(l)}removeValidationRule(i){let e=this.findValidationRules();if(!e)return;let d=Array.from(e.children).find(s=>s.type===i);d&&d.parentNode&&d.parentNode.removeChild(d)}render(){return o`
1
+ import{a as u}from"./chunk.SHURDDW4.js";import{b as n,c as r,e as f}from"./chunk.2LAHOOSK.js";import{a as o}from"./chunk.IHVBWZ57.js";import{g as a}from"./chunk.5YJY6NT6.js";var c=(e=>(e.text="text",e.boolean="boolean",e.submit="submit",e))(c||{}),h=(i=>(i.submit="submit",i.cancel="cancel",i))(h||{}),t=class extends f{constructor(){super(...arguments);this.formType="text";this.value="";this.placeholder="";this.selected=!1;this.readOnly=!1;this.required=!1;this.requiredLabel=" *";this.focused=!1;this.invalid=!1}connectedCallback(){super.connectedCallback(),this.required&&this.createAndAddValidationRule("required",this.requiredFeedback)}decorateValues(i){if(!this.name){this.warn(`${this.element} didn't find a name`);return}this.formType==="boolean"?i[this.name]=this.selected:i[this.name]=this.value}findIfRequired(){let i=this.findValidationRules();return i?i.isRequired():!1}findValidationRules(){return Array.from(this.children).find(l=>l.nodeName.indexOf("SCW-VALIDATION")===0)}validate(){let i=this.findValidationRules(),e=[];return i&&(e=i.validate(this.value)),this.invalid=e.length>0,this.invalid?this.feedback=e[0].feedback:this.feedback="",e}createValidateRule(){return document.createElement(`scw-${"validate"}${u()}`)}addValidationRule(i){let e=this.findValidationRules();e||(e=document.createElement(`scw-${"validation"}${u()}`),this.prepend(e)),Array.from(e.children).find(s=>s.getAttribute("type")===i.type)||e.appendChild(i)}createAndAddValidationRule(i,e){let l=this.createValidateRule();l.setAttribute("type",i),e&&l.setAttribute("feedback",e),this.addValidationRule(l)}removeValidationRule(i){let e=this.findValidationRules();if(!e)return;let d=Array.from(e.children).find(s=>s.type===i);d&&d.parentNode&&d.parentNode.removeChild(d)}render(){return o`
2
2
  scw-form-component
3
3
  `}};a([n({type:c,reflect:!0,attribute:"form-type"})],t.prototype,"formType",2),a([n({type:String})],t.prototype,"name",2),a([n({type:String})],t.prototype,"value",2),a([n({type:String})],t.prototype,"placeholder",2),a([n({type:String})],t.prototype,"selected",2),a([n({type:Boolean,attribute:"read-only"})],t.prototype,"readOnly",2),a([n({type:Boolean})],t.prototype,"required",2),a([n({type:String,attribute:"required-label"})],t.prototype,"requiredLabel",2),a([n({type:String,attribute:"required-feedback"})],t.prototype,"requiredFeedback",2),a([r()],t.prototype,"feedback",2),a([r()],t.prototype,"focused",2),a([r()],t.prototype,"invalid",2);export{c as a,h as b,t as c};
4
- //# sourceMappingURL=chunk.PFDERFXL.js.map
4
+ //# sourceMappingURL=chunk.ZKJROKIG.js.map