cas-ds-web-components 1.2.110 → 1.2.112

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.
@@ -152,8 +152,8 @@
152
152
  * Copyright 2018 Google LLC
153
153
  * SPDX-License-Identifier: BSD-3-Clause
154
154
  */const Se=be(class extends Ee{constructor(n){var t;if(super(n),n.type!==xe.ATTRIBUTE||n.name!=="class"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(t=>n[t]).join(" ")+" "}update(n,[t]){var e,i;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!(!((e=this.nt)===null||e===void 0)&&e.has(o))&&this.it.add(o);return this.render(t)}const s=n.element.classList;this.it.forEach(o=>{o in t||(s.remove(o),this.it.delete(o))});for(const o in t){const r=!!t[o];r===this.it.has(o)||!((i=this.nt)===null||i===void 0)&&i.has(o)||(r?(s.add(o),this.it.add(o)):(s.remove(o),this.it.delete(o)))}return N}});function we({variant:n,open:t}){const e=Se({"accordion-container":!0,[n]:!0,open:t}),s=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:e,iconSize:{desktop:"24",mobile:"16"}[s]}}class L extends O{constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:t,title:e,text:i,content:s}=this,{accordionStyle:o,iconSize:r}=we({variant:this.variant,open:this.open}),a={true:"flat-minus",false:"flat-plus"};return Z`
155
- <article class=${o}>
156
- <header @click="${this.toggleAccordion}">
155
+ <article part="article" class=${o}>
156
+ <header part="header" @click="${this.toggleAccordion}">
157
157
  <div class="left">
158
158
  ${e!==""?Z` <cas-text variant="headline3">${e}</cas-text>`:""}
159
159
  ${i!==""?Z` <cas-text variant="footnote2">${i}</cas-text>`:""}
@@ -161,7 +161,7 @@
161
161
  <cas-icon name="${a[t]}" size="${r}"></cas-icon>
162
162
  </header>
163
163
  ${t?Z`
164
- <div class="content">
164
+ <div part="content" class="content">
165
165
  ${s!==""?Z` <cas-text variant="body1" text="${s}"></cas-text>`:""}
166
166
  <slot></slot>
167
167
  </div>
@@ -152,8 +152,8 @@
152
152
  * Copyright 2018 Google LLC
153
153
  * SPDX-License-Identifier: BSD-3-Clause
154
154
  */const Se=be(class extends Ee{constructor(n){var t;if(super(n),n.type!==xe.ATTRIBUTE||n.name!=="class"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(t=>n[t]).join(" ")+" "}update(n,[t]){var e,i;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!(!((e=this.nt)===null||e===void 0)&&e.has(o))&&this.it.add(o);return this.render(t)}const s=n.element.classList;this.it.forEach(o=>{o in t||(s.remove(o),this.it.delete(o))});for(const o in t){const r=!!t[o];r===this.it.has(o)||!((i=this.nt)===null||i===void 0)&&i.has(o)||(r?(s.add(o),this.it.add(o)):(s.remove(o),this.it.delete(o)))}return N}});function we({variant:n,open:t}){const e=Se({"accordion-container":!0,[n]:!0,open:t}),s=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:e,iconSize:{desktop:"24",mobile:"16"}[s]}}class L extends O{constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:t,title:e,text:i,content:s}=this,{accordionStyle:o,iconSize:r}=we({variant:this.variant,open:this.open}),a={true:"flat-minus",false:"flat-plus"};return Z`
155
- <article class=${o}>
156
- <header @click="${this.toggleAccordion}">
155
+ <article part="article" class=${o}>
156
+ <header part="header" @click="${this.toggleAccordion}">
157
157
  <div class="left">
158
158
  ${e!==""?Z` <cas-text variant="headline3">${e}</cas-text>`:""}
159
159
  ${i!==""?Z` <cas-text variant="footnote2">${i}</cas-text>`:""}
@@ -161,7 +161,7 @@
161
161
  <cas-icon name="${a[t]}" size="${r}"></cas-icon>
162
162
  </header>
163
163
  ${t?Z`
164
- <div class="content">
164
+ <div part="content" class="content">
165
165
  ${s!==""?Z` <cas-text variant="body1" text="${s}"></cas-text>`:""}
166
166
  <slot></slot>
167
167
  </div>
@@ -1,4 +1,4 @@
1
- (function(_,J){typeof exports=="object"&&typeof module<"u"?J(exports):typeof define=="function"&&define.amd?define(["exports"],J):(_=typeof globalThis<"u"?globalThis:_||self,J(_["all-components"]={}))})(this,function(_){"use strict";var Fv=Object.defineProperty;var Nv=(_,J,J1)=>J in _?Fv(_,J,{enumerable:!0,configurable:!0,writable:!0,value:J1}):_[J]=J1;var g=(_,J,J1)=>(Nv(_,typeof J!="symbol"?J+"":J,J1),J1);var I3,SC;(()=>{const o=document.createElement("link");o.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"),o.setAttribute("rel","stylesheet"),document.head.appendChild(o)})();const Y5={name:"@eloisa-ds/all-components",version:"1.0.112",dependencies:{},main:"./index.js",module:"./index.mjs",typings:"./index.d.ts",private:!0};/**
1
+ (function(_,J){typeof exports=="object"&&typeof module<"u"?J(exports):typeof define=="function"&&define.amd?define(["exports"],J):(_=typeof globalThis<"u"?globalThis:_||self,J(_["all-components"]={}))})(this,function(_){"use strict";var Fv=Object.defineProperty;var Nv=(_,J,J1)=>J in _?Fv(_,J,{enumerable:!0,configurable:!0,writable:!0,value:J1}):_[J]=J1;var g=(_,J,J1)=>(Nv(_,typeof J!="symbol"?J+"":J,J1),J1);var I3,SC;(()=>{const o=document.createElement("link");o.setAttribute("href","https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap"),o.setAttribute("rel","stylesheet"),document.head.appendChild(o)})();const Y5={name:"@eloisa-ds/all-components",version:"1.0.114",dependencies:{},main:"./index.js",module:"./index.mjs",typings:"./index.d.ts",private:!0};/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
@@ -10577,6 +10577,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10577
10577
  line-height: 16px; /* 133.333% */
10578
10578
  letter-spacing: 0.145px;
10579
10579
  padding-left: 50px;
10580
+ padding-left: 50px;
10581
+ padding-right: 50px;
10580
10582
  outline: none;
10581
10583
 
10582
10584
  &::placeholder {
@@ -10947,6 +10949,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10947
10949
  padding: 0 20px;
10948
10950
  max-width: 100%;
10949
10951
  height: 56px;
10952
+ padding-right: 80px;
10953
+ font-size: 16px;
10950
10954
  //padding-right: 0 !important;
10951
10955
  }
10952
10956
 
@@ -11137,18 +11141,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
11137
11141
  .search[data-theme='dark'] {
11138
11142
  background-color: #203442;
11139
11143
  color: white;
11140
-
11141
- .close {
11142
- color: white;
11143
- }
11144
-
11145
- .card {
11144
+
11145
+ .close {
11146
+ color: white;
11147
+ }
11148
+
11149
+ .card {
11146
11150
  .results-container {
11147
- .result-item {
11148
- color: white;
11149
- }
11150
-
11151
- }
11151
+ .result-item {
11152
+ color: white;
11153
+ }
11154
+
11155
+ }
11152
11156
  }
11153
11157
  }
11154
11158
  }
@@ -12916,8 +12920,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
12916
12920
  }
12917
12921
  }
12918
12922
  `;function Cv({variant:o,open:C}){const t=a2({"accordion-container":!0,[o]:!0,open:C}),i=(()=>{if(window.matchMedia("(min-width: 768px)").matches)return"desktop";if(window.matchMedia("(max-width: 767px)").matches)return"mobile"})();return{accordionStyle:t,iconSize:{desktop:"24",mobile:"16"}[i]}}class A2 extends f{constructor(){super(),this.open=!1,this.variant="simple",this.title="",this.text=""}toggleAccordion(){this.open=!this.open,this.requestUpdate()}render(){const{open:C,title:t,text:e,content:i}=this,{accordionStyle:a,iconSize:l}=Cv({variant:this.variant,open:this.open}),h={true:"flat-minus",false:"flat-plus"};return M`
12919
- <article class=${a}>
12920
- <header @click="${this.toggleAccordion}">
12923
+ <article part="article" class=${a}>
12924
+ <header part="header" @click="${this.toggleAccordion}">
12921
12925
  <div class="left">
12922
12926
  ${t!==""?M` <cas-text variant="headline3">${t}</cas-text>`:""}
12923
12927
  ${e!==""?M` <cas-text variant="footnote2">${e}</cas-text>`:""}
@@ -12925,7 +12929,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
12925
12929
  <cas-icon name="${h[C]}" size="${l}"></cas-icon>
12926
12930
  </header>
12927
12931
  ${C?M`
12928
- <div class="content">
12932
+ <div part="content" class="content">
12929
12933
  ${i!==""?M` <cas-text variant="body1" text="${i}"></cas-text>`:""}
12930
12934
  <slot></slot>
12931
12935
  </div>
@@ -10577,6 +10577,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10577
10577
  line-height: 16px; /* 133.333% */
10578
10578
  letter-spacing: 0.145px;
10579
10579
  padding-left: 50px;
10580
+ padding-left: 50px;
10581
+ padding-right: 50px;
10580
10582
  outline: none;
10581
10583
 
10582
10584
  &::placeholder {
@@ -10947,6 +10949,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
10947
10949
  padding: 0 20px;
10948
10950
  max-width: 100%;
10949
10951
  height: 56px;
10952
+ padding-right: 80px;
10953
+ font-size: 16px;
10950
10954
  //padding-right: 0 !important;
10951
10955
  }
10952
10956
 
@@ -11137,18 +11141,18 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
11137
11141
  .search[data-theme='dark'] {
11138
11142
  background-color: #203442;
11139
11143
  color: white;
11140
-
11141
- .close {
11142
- color: white;
11143
- }
11144
-
11145
- .card {
11144
+
11145
+ .close {
11146
+ color: white;
11147
+ }
11148
+
11149
+ .card {
11146
11150
  .results-container {
11147
- .result-item {
11148
- color: white;
11149
- }
11150
-
11151
- }
11151
+ .result-item {
11152
+ color: white;
11153
+ }
11154
+
11155
+ }
11152
11156
  }
11153
11157
  }
11154
11158
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cas-ds-web-components",
3
3
  "description": "Web Components based on CAS DS",
4
- "version": "1.2.110",
4
+ "version": "1.2.112",
5
5
  "author": "aconejeros",
6
6
  "keywords": [
7
7
  "direflow",