@randstad-uca/design-system 1.0.43 → 1.0.45

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.
@@ -14,6 +14,7 @@ export declare class CustomModal extends LitElement {
14
14
  showSecondaryButton: boolean;
15
15
  secondaryButtonLabel: string;
16
16
  isFooterCustom: boolean;
17
+ modalWidth: string;
17
18
  private scrollable;
18
19
  static styles: import("lit").CSSResult;
19
20
  private closeModal;
package/dist/index.js CHANGED
@@ -216,7 +216,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
216
216
  .button-primary[disabled] {
217
217
  color: var(--secondary-color-60);
218
218
  background-color: var(--secondary-color-20);
219
- cursor: not-allowed;
219
+ cursor: default;
220
220
  }
221
221
 
222
222
  /* Secondary */
@@ -244,7 +244,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
244
244
  .button-secondary[disabled] {
245
245
  color: var(--secondary-color-60);
246
246
  border-color: var(--secondary-color-60);
247
- cursor: not-allowed;
247
+ cursor: default;
248
248
  }
249
249
 
250
250
  /* Tertiary */
@@ -269,7 +269,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
269
269
 
270
270
  .button-tertiary[disabled] {
271
271
  color: var(--secondary-color-60);
272
- cursor: not-allowed;
272
+ cursor: default;
273
273
  }
274
274
 
275
275
  /* Round */
@@ -297,7 +297,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
297
297
 
298
298
  .button-round[disabled] {
299
299
  background-color: var(--secondary-color-20);
300
- cursor: not-allowed;
300
+ cursor: default;
301
301
  }
302
302
 
303
303
  .button-round img.button-icon {
@@ -385,7 +385,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
385
385
  .button-card[disabled] {
386
386
  background-color: #CFD1D9;
387
387
  color: #6F758D;
388
- cursor: not-allowed;
388
+ cursor: default;
389
389
  }
390
390
 
391
391
  `}handleClick(t){if(!this.disabled)if("submit"===this.type){const t=this.closest("form");t&&t.requestSubmit()}else if("reset"===this.type){const t=this.closest("form");t&&t.reset()}else this.idevent&&this.dispatchEvent(new CustomEvent("randstad-button-click",{detail:this.idevent,composed:!0,bubbles:!0,cancelable:!1}))}render(){const t={button:!0,[this.variant]:!0,loader:this.loader,[`button-${this.size}`]:"button-round"!==this.variant&&"button-card"!==this.variant},e="button-tertiary"===this.variant?"var(--primary-color)":"white";return i`
@@ -623,7 +623,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
623
623
  input[type="checkbox"]:disabled {
624
624
  background-color: var(--secondary-color-10);
625
625
  border-color: var(--secondary-color-20);
626
- cursor: not-allowed;
626
+ cursor: default;
627
627
  }
628
628
 
629
629
  `}toggleCheck(t){this.checked=t.target.checked,this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("click",{bubbles:!0,composed:!0}))}render(){return i`
@@ -642,7 +642,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
642
642
  <slot></slot>
643
643
  </span>
644
644
  </label>
645
- `}};n([T({type:Boolean,reflect:!0}),a("design:type",Object)],K.prototype,"checked",void 0),n([T({type:Boolean}),a("design:type",Object)],K.prototype,"error",void 0),n([T({type:Boolean}),a("design:type",Object)],K.prototype,"disabled",void 0),K=n([l("randstad-checkbox")],K);let Y=class extends e{constructor(){super(...arguments),this.value="",this.size="md",this.icon=null,this.helper=null,this.error=!1,this.errorMessage="",this.disabled=!1,this.typing=!1,this.type="text",this.isPasswordVisible=!1,this.cleanButton=!1,this.required=!1,this.optional=!1}static{this.styles=t`
645
+ `}};n([T({type:Boolean,reflect:!0}),a("design:type",Object)],K.prototype,"checked",void 0),n([T({type:Boolean}),a("design:type",Object)],K.prototype,"error",void 0),n([T({type:Boolean}),a("design:type",Object)],K.prototype,"disabled",void 0),K=n([l("randstad-checkbox")],K);let W=class extends e{constructor(){super(...arguments),this.value="",this.size="md",this.icon=null,this.helper=null,this.error=!1,this.errorMessage="",this.disabled=!1,this.typing=!1,this.type="text",this.isPasswordVisible=!1,this.cleanButton=!1,this.required=!1,this.optional=!1}static{this.styles=t`
646
646
  :host {
647
647
  display: block;
648
648
  font-family: 'Graphik', sans-serif;
@@ -711,7 +711,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
711
711
 
712
712
  .form.disabled .form-input {
713
713
  background-color: var(--secondary-color-10);
714
- cursor: not-allowed;
714
+ cursor: default;
715
715
  }
716
716
 
717
717
  input::placeholder {
@@ -767,7 +767,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
767
767
 
768
768
  .form.disabled textarea.form-input {
769
769
  background-color: var(--secondary-color-10);
770
- cursor: not-allowed;
770
+ cursor: default;
771
771
  }
772
772
 
773
773
  .helper-description {
@@ -946,7 +946,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
946
946
 
947
947
  ${this.helper?i`<p class="helper-description">${this.helper}</p>`:o}
948
948
  </div>
949
- `}};n([T({type:String}),a("design:type",String)],Y.prototype,"placeholder",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"label",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"labelColor",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"value",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"size",void 0),n([T({type:String}),a("design:type",Object)],Y.prototype,"icon",void 0),n([T({type:String}),a("design:type",Object)],Y.prototype,"helper",void 0),n([T({type:Boolean}),a("design:type",Boolean)],Y.prototype,"error",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"errorMessage",void 0),n([T({type:Boolean}),a("design:type",Boolean)],Y.prototype,"disabled",void 0),n([T({type:Boolean}),a("design:type",Boolean)],Y.prototype,"typing",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"type",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"tooltipMessage",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"linkText",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"linkRoute",void 0),n([T({type:Boolean,reflect:!0}),a("design:type",Object)],Y.prototype,"isPasswordVisible",void 0),n([T({type:Boolean}),a("design:type",Boolean)],Y.prototype,"cleanButton",void 0),n([T({type:Number}),a("design:type",Number)],Y.prototype,"maxLength",void 0),n([T({type:Boolean}),a("design:type",Object)],Y.prototype,"required",void 0),n([T({type:Boolean}),a("design:type",Object)],Y.prototype,"optional",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"helpLink",void 0),Y=n([l("randstad-form")],Y);let W=class extends e{constructor(){super(...arguments),this.label="",this.error=!1,this.errorMessage="",this.required=!1,this.optional=!1}static{this.styles=t`
949
+ `}};n([T({type:String}),a("design:type",String)],W.prototype,"placeholder",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"label",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"labelColor",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"value",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"size",void 0),n([T({type:String}),a("design:type",Object)],W.prototype,"icon",void 0),n([T({type:String}),a("design:type",Object)],W.prototype,"helper",void 0),n([T({type:Boolean}),a("design:type",Boolean)],W.prototype,"error",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"errorMessage",void 0),n([T({type:Boolean}),a("design:type",Boolean)],W.prototype,"disabled",void 0),n([T({type:Boolean}),a("design:type",Boolean)],W.prototype,"typing",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"type",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"tooltipMessage",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"linkText",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"linkRoute",void 0),n([T({type:Boolean,reflect:!0}),a("design:type",Object)],W.prototype,"isPasswordVisible",void 0),n([T({type:Boolean}),a("design:type",Boolean)],W.prototype,"cleanButton",void 0),n([T({type:Number}),a("design:type",Number)],W.prototype,"maxLength",void 0),n([T({type:Boolean}),a("design:type",Object)],W.prototype,"required",void 0),n([T({type:Boolean}),a("design:type",Object)],W.prototype,"optional",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"helpLink",void 0),W=n([l("randstad-form")],W);let Y=class extends e{constructor(){super(...arguments),this.label="",this.error=!1,this.errorMessage="",this.required=!1,this.optional=!1}static{this.styles=t`
950
950
  :host {
951
951
  display: flex;
952
952
  flex-direction: column;
@@ -999,7 +999,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
999
999
  </div>
1000
1000
 
1001
1001
  ${this.error?i`<span class="error">${this.errorMessage}</span>`:this.helper?i`<span class="helper">${this.helper}</span>`:null}
1002
- `}};n([T({type:String}),a("design:type",Object)],W.prototype,"label",void 0),n([T({type:String}),a("design:type",String)],W.prototype,"helper",void 0),n([T({type:Boolean}),a("design:type",Object)],W.prototype,"error",void 0),n([T({type:String}),a("design:type",Object)],W.prototype,"errorMessage",void 0),n([T({type:Boolean}),a("design:type",Object)],W.prototype,"required",void 0),n([T({type:Boolean}),a("design:type",Object)],W.prototype,"optional",void 0),W=n([l("randstad-form-group")],W);class X extends e{constructor(){super(...arguments),this.name="",this.size="24px"}static{this.styles=t`
1002
+ `}};n([T({type:String}),a("design:type",Object)],Y.prototype,"label",void 0),n([T({type:String}),a("design:type",String)],Y.prototype,"helper",void 0),n([T({type:Boolean}),a("design:type",Object)],Y.prototype,"error",void 0),n([T({type:String}),a("design:type",Object)],Y.prototype,"errorMessage",void 0),n([T({type:Boolean}),a("design:type",Object)],Y.prototype,"required",void 0),n([T({type:Boolean}),a("design:type",Object)],Y.prototype,"optional",void 0),Y=n([l("randstad-form-group")],Y);class X extends e{constructor(){super(...arguments),this.name="",this.size="24px"}static{this.styles=t`
1003
1003
  :host {
1004
1004
  display: inline-flex;
1005
1005
  width: var(--icon-size, 24px);
@@ -1066,7 +1066,7 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1066
1066
  <randstad-icon class="icon" name="${this.icon}" size="24px" style="color: var(--icon-color);"></randstad-icon>
1067
1067
  <span class="message">${this.message}</span>
1068
1068
  </div>
1069
- `}};n([T({type:String}),a("design:type",String)],J.prototype,"type",void 0),n([T({type:String}),a("design:type",String)],J.prototype,"icon",void 0),n([T({type:String}),a("design:type",String)],J.prototype,"message",void 0),n([T({type:Boolean}),a("design:type",Boolean)],J.prototype,"open",void 0),J=n([l("randstad-notice")],J);let Q=class extends e{constructor(){super(...arguments),this.open=!1,this.title="Título del modal",this.showNotice=!1,this.noticeType="informative",this.noticeMessage="",this.noticeIcon="info",this.showPrimaryButton=!1,this.primaryButtonLabel="Aceptar",this.showSecondaryButton=!1,this.secondaryButtonLabel="Cancelar",this.isFooterCustom=!1,this.scrollable=!1,this.setScrollableMode=()=>{this.scrollable=window.innerWidth>940}}static{this.styles=t`
1069
+ `}};n([T({type:String}),a("design:type",String)],J.prototype,"type",void 0),n([T({type:String}),a("design:type",String)],J.prototype,"icon",void 0),n([T({type:String}),a("design:type",String)],J.prototype,"message",void 0),n([T({type:Boolean}),a("design:type",Boolean)],J.prototype,"open",void 0),J=n([l("randstad-notice")],J);let Q=class extends e{constructor(){super(...arguments),this.open=!1,this.title="Título del modal",this.showNotice=!1,this.noticeType="informative",this.noticeMessage="",this.noticeIcon="info",this.showPrimaryButton=!1,this.primaryButtonLabel="Aceptar",this.showSecondaryButton=!1,this.secondaryButtonLabel="Cancelar",this.isFooterCustom=!1,this.modalWidth="500px",this.scrollable=!1,this.setScrollableMode=()=>{this.scrollable=window.innerWidth>940}}static{this.styles=t`
1070
1070
  :host {
1071
1071
  font-family: 'Graphik', sans-serif;
1072
1072
  display: none;
@@ -1083,42 +1083,69 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1083
1083
  left: 0;
1084
1084
  right: 0;
1085
1085
  bottom: 0;
1086
- background: rgba(0, 0, 0, 0.5);
1087
- overflow-y: auto;
1088
- padding: 40px 16px;
1089
1086
  z-index: 9999;
1090
1087
  display: flex;
1088
+ background: rgba(15, 25, 65, 0.4);
1091
1089
  justify-content: center;
1092
- align-items: flex-start;
1090
+ align-items: center;
1091
+ overflow-y: auto;
1093
1092
  }
1094
1093
 
1095
1094
  .modal {
1096
- background: var(--brand-off-white);
1097
1095
  width: 100%;
1098
- max-width: 500px;
1096
+ background: var(--brand-off-white);
1097
+ max-width: var(--modal-width);
1098
+ max-height: 80vh;
1099
1099
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
1100
1100
  display: flex;
1101
1101
  flex-direction: column;
1102
- margin-top: 40px;
1103
1102
  border-radius: 8px;
1104
1103
  }
1105
1104
 
1106
- .modal.scrollable {
1107
- max-height: 90vh;
1108
- }
1109
-
1110
- .modal-body.scrollable {
1105
+ .modal-body {
1111
1106
  overflow-y: auto;
1112
1107
  flex: 1;
1113
1108
  }
1109
+
1110
+ .modal-footer {
1111
+ justify-content: flex-end;
1112
+ }
1114
1113
 
1115
- .modal-body {
1116
- display: flex;
1117
- flex-direction: column;
1118
- padding: 24px;
1119
- gap: 16px;
1114
+ .modal-footer.one-button randstad-button {
1115
+ width: 100%;
1116
+ }
1117
+
1118
+ .modal-footer.two-buttons randstad-button {
1119
+ width: 50%;
1120
+ }
1121
+
1122
+ /* Estilos para dispositivos pequeños (<= 940px) */
1123
+ @media (max-width: 940px) {
1124
+ .modal {
1125
+ /* Se estira para ocupar casi toda la pantalla */
1126
+ width: 96vw;
1127
+ height: 96vh;
1128
+ max-width: none;
1129
+ max-height: none;
1130
+ margin: 0;
1131
+ }
1132
+
1133
+ .modal-header,
1134
+ .modal-body,
1135
+ .modal-footer {
1136
+ padding: 0;
1137
+ }
1138
+
1139
+ .modal-header {
1140
+ margin-bottom: 16px;
1141
+ }
1142
+
1143
+ .modal-footer {
1144
+ margin-top: 16px;
1145
+ }
1120
1146
  }
1121
1147
 
1148
+ /* Estilos comunes a ambos tamaños de pantalla */
1122
1149
  .modal-header {
1123
1150
  display: flex;
1124
1151
  flex-direction: column;
@@ -1170,39 +1197,27 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1170
1197
  padding: 0;
1171
1198
  }
1172
1199
 
1173
- .modal-footer {
1200
+ .modal-body {
1174
1201
  display: flex;
1175
- justify-content: flex-end;
1176
- flex-direction: row;
1202
+ flex-direction: column;
1177
1203
  padding: 24px;
1178
1204
  gap: 16px;
1179
- border-top: 1px solid var(--secondary-color-20);
1180
1205
  }
1181
1206
 
1182
- .modal-footer.one-button randstad-button, .modal-footer.footer-custom {
1183
- width: 100%;
1184
- }
1185
-
1186
- .modal-footer.two-buttons randstad-button {
1187
- width: 50%;
1188
- }
1189
-
1190
- @media (max-width: 940px) {
1191
- .modal-footer.two-buttons {
1192
- flex-direction: column;
1193
- }
1194
-
1195
- .modal-footer.two-buttons randstad-button {
1196
- width: 100%;
1197
- }
1207
+ .modal-footer {
1208
+ display: flex;
1209
+ padding: 24px;
1210
+ gap: 16px;
1211
+ border-top: 1px solid var(--secondary-color-20);
1198
1212
  }
1199
1213
  `}closeModal(){this.dispatchEvent(new CustomEvent("modal-close"))}connectedCallback(){super.connectedCallback(),this.setScrollableMode(),window.addEventListener("resize",this.setScrollableMode)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this.setScrollableMode)}getFooterClass(){return!this.isFooterCustom||this.showPrimaryButton||this.showSecondaryButton?this.showPrimaryButton&&this.showSecondaryButton?"two-buttons":"one-button":"footer-custom"}render(){return i`
1200
1214
  <div class="overlay" role="dialog" aria-modal="true">
1201
- <div class="modal ${this.scrollable?"scrollable":""}">
1215
+ <div class="modal" style="--modal-width: ${this.modalWidth};">
1202
1216
  <div class="modal-header">
1203
1217
  <div class="modal-header-content">
1204
1218
  <div class="titles-container">
1205
1219
  <div class="modal-title">${this.title}</div>
1220
+
1206
1221
  ${this.subtitle?i`<div class="modal-subtitle">${this.subtitle}</div>`:o}
1207
1222
  </div>
1208
1223
 
@@ -1212,12 +1227,13 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1212
1227
  </div>
1213
1228
 
1214
1229
  ${this.showNotice?i`
1215
- <randstad-notice
1216
- .open=${!0}
1217
- .type=${this.noticeType}
1218
- .icon=${this.noticeIcon}
1219
- .message=${this.noticeMessage}
1220
- ></randstad-notice>
1230
+ <randstad-notice
1231
+ .open=${!0}
1232
+ .type=${this.noticeType}
1233
+ .icon=${this.noticeIcon}
1234
+ .message=${this.noticeMessage}
1235
+ >
1236
+ </randstad-notice>
1221
1237
  `:o}
1222
1238
  </div>
1223
1239
 
@@ -1225,30 +1241,31 @@ function F(t,e){return(e,i,o)=>((t,e,i)=>(i.configurable=!0,i.enumerable=!0,Refl
1225
1241
  <slot name="content"></slot>
1226
1242
  </div>
1227
1243
 
1228
- <div class="modal-footer ${this.getFooterClass}">
1244
+ <div class="modal-footer ${this.getFooterClass()}">
1229
1245
  ${!this.isFooterCustom||this.showPrimaryButton||this.showSecondaryButton?o:i` <slot name="footer-custom"></slot> `}
1230
1246
 
1231
1247
  ${this.showSecondaryButton?i`
1232
- <randstad-button
1233
- variant="button-secondary"
1234
- size="md"
1235
- @click=${()=>this.dispatchEvent(new CustomEvent("secondary-click"))}
1236
- label=${this.secondaryButtonLabel}
1237
- ></randstad-button>
1248
+ <randstad-button
1249
+ variant="button-secondary"
1250
+ size="md"
1251
+ @click=${()=>this.dispatchEvent(new CustomEvent("secondary-click"))}
1252
+ label=${this.secondaryButtonLabel}
1253
+ >
1254
+ </randstad-button>
1238
1255
  `:o}
1239
-
1240
1256
  ${this.showPrimaryButton?i`
1241
- <randstad-button
1242
- variant="button-primary"
1243
- size="md"
1244
- @click=${()=>this.dispatchEvent(new CustomEvent("primary-click"))}
1245
- label=${this.primaryButtonLabel}
1246
- ></randstad-button>
1257
+ <randstad-button
1258
+ variant="button-primary"
1259
+ size="md"
1260
+ @click=${()=>this.dispatchEvent(new CustomEvent("primary-click"))}
1261
+ label=${this.primaryButtonLabel}
1262
+ >
1263
+ </randstad-button>
1247
1264
  `:o}
1248
1265
  </div>
1249
1266
  </div>
1250
1267
  </div>
1251
- `}};n([T({type:Boolean,reflect:!0}),a("design:type",Object)],Q.prototype,"open",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"title",void 0),n([T({type:String}),a("design:type",String)],Q.prototype,"subtitle",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showNotice",void 0),n([T({type:String}),a("design:type",String)],Q.prototype,"noticeType",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"noticeMessage",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"noticeIcon",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showPrimaryButton",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"primaryButtonLabel",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showSecondaryButton",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"secondaryButtonLabel",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"isFooterCustom",void 0),n([L(),a("design:type",Object)],Q.prototype,"scrollable",void 0),Q=n([l("custom-modal")],Q);let Z=class extends e{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.title="Título del Popup",this.description="Descripción del popup",this.width="400px",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No",this.stackedActions=[],this._onBackgroundClick=t=>{const e=t.composedPath(),i=this.renderRoot.querySelector(".popup");i&&!e.includes(i)&&(this.dispatchEvent(new CustomEvent("popup-close",{detail:null})),this.open=!1)}}static{this.styles=t`
1268
+ `}};n([T({type:Boolean,reflect:!0}),a("design:type",Object)],Q.prototype,"open",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"title",void 0),n([T({type:String}),a("design:type",String)],Q.prototype,"subtitle",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showNotice",void 0),n([T({type:String}),a("design:type",String)],Q.prototype,"noticeType",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"noticeMessage",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"noticeIcon",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showPrimaryButton",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"primaryButtonLabel",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"showSecondaryButton",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"secondaryButtonLabel",void 0),n([T({type:Boolean}),a("design:type",Object)],Q.prototype,"isFooterCustom",void 0),n([T({type:String}),a("design:type",Object)],Q.prototype,"modalWidth",void 0),n([L(),a("design:type",Object)],Q.prototype,"scrollable",void 0),Q=n([l("custom-modal")],Q);let Z=class extends e{constructor(){super(...arguments),this.open=!1,this.type="default",this.icon="warning",this.title="Título del Popup",this.description="Descripción del popup",this.width="400px",this.buttonText="Aceptar",this.confirmText="Sí",this.cancelText="No",this.stackedActions=[],this._onBackgroundClick=t=>{const e=t.composedPath(),i=this.renderRoot.querySelector(".popup");i&&!e.includes(i)&&(this.dispatchEvent(new CustomEvent("popup-close",{detail:null})),this.open=!1)}}static{this.styles=t`
1252
1269
  :host {
1253
1270
  display: none;
1254
1271
  position: fixed;
@@ -1668,7 +1685,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
1668
1685
  }
1669
1686
 
1670
1687
  md-radio.disabled {
1671
- cursor: not-allowed;
1688
+ cursor: default;
1672
1689
  background: var(--secondary-color-20);
1673
1690
  border: 1px solid var(--secondary-color-20);
1674
1691
  }
@@ -2363,7 +2380,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
2363
2380
  </div>
2364
2381
  `))}
2365
2382
  </div>
2366
- `}};n([T({type:Number}),a("design:type",Object)],Kt.prototype,"totalSteps",void 0),n([T({type:Number}),a("design:type",Object)],Kt.prototype,"currentStep",void 0),Kt=n([l("custom-stepper")],Kt);let Yt=class extends e{constructor(){super(...arguments),this.tabs=[],this.selected="",this.internalSelected="",this.showPrev=!1,this.showNext=!1,this.SCROLL_OFFSET=56,this.handleScroll=()=>{const t=this.renderRoot.querySelector(".tab-wrapper");if(!t)return;const{scrollLeft:e,scrollWidth:i,clientWidth:o}=t;this.showPrev=e>0,this.showNext=e+o<i-1}}static{this.styles=t`
2383
+ `}};n([T({type:Number}),a("design:type",Object)],Kt.prototype,"totalSteps",void 0),n([T({type:Number}),a("design:type",Object)],Kt.prototype,"currentStep",void 0),Kt=n([l("custom-stepper")],Kt);let Wt=class extends e{constructor(){super(...arguments),this.tabs=[],this.selected="",this.internalSelected="",this.showPrev=!1,this.showNext=!1,this.SCROLL_OFFSET=56,this.handleScroll=()=>{const t=this.renderRoot.querySelector(".tab-wrapper");if(!t)return;const{scrollLeft:e,scrollWidth:i,clientWidth:o}=t;this.showPrev=e>0,this.showNext=e+o<i-1}}static{this.styles=t`
2367
2384
  :host {
2368
2385
  display: block;
2369
2386
  border-bottom: 1px solid #E7E8EC;
@@ -2502,7 +2519,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
2502
2519
  </button>
2503
2520
  `:null}
2504
2521
  </div>
2505
- `}};n([T({type:Array}),a("design:type",Array)],Yt.prototype,"tabs",void 0),n([T({type:String}),a("design:type",String)],Yt.prototype,"selected",void 0),n([L(),a("design:type",String)],Yt.prototype,"internalSelected",void 0),n([L(),a("design:type",Object)],Yt.prototype,"showPrev",void 0),n([L(),a("design:type",Object)],Yt.prototype,"showNext",void 0),Yt=n([l("tabs-bar")],Yt);let Wt=class extends e{constructor(){super(...arguments),this.files=[],this.loading=!1,this.progress=0,this.isDragging=!1,this.disabled=!1}static{this.styles=t`
2522
+ `}};n([T({type:Array}),a("design:type",Array)],Wt.prototype,"tabs",void 0),n([T({type:String}),a("design:type",String)],Wt.prototype,"selected",void 0),n([L(),a("design:type",String)],Wt.prototype,"internalSelected",void 0),n([L(),a("design:type",Object)],Wt.prototype,"showPrev",void 0),n([L(),a("design:type",Object)],Wt.prototype,"showNext",void 0),Wt=n([l("tabs-bar")],Wt);let Yt=class extends e{constructor(){super(...arguments),this.files=[],this.loading=!1,this.progress=0,this.isDragging=!1,this.disabled=!1}static{this.styles=t`
2506
2523
 
2507
2524
  :host {
2508
2525
  font-family: 'Graphik', sans-serif;
@@ -2572,7 +2589,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
2572
2589
  :host([disabled]) .button {
2573
2590
  background-color: var(--secondary-color-20);
2574
2591
  color: var(--secondary-color-80);
2575
- cursor: not-allowed;
2592
+ cursor: default;
2576
2593
  }
2577
2594
 
2578
2595
  input[type="file"] {
@@ -2626,5 +2643,5 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
2626
2643
  </label>
2627
2644
  `}
2628
2645
  </div>
2629
- `}};n([T({type:Array}),a("design:type",Array)],Wt.prototype,"files",void 0),n([L(),a("design:type",Object)],Wt.prototype,"loading",void 0),n([L(),a("design:type",Object)],Wt.prototype,"progress",void 0),n([L(),a("design:type",Object)],Wt.prototype,"isDragging",void 0),n([T({type:Boolean,reflect:!0}),a("design:type",Object)],Wt.prototype,"disabled",void 0),Wt=n([l("upload-image")],Wt);export{N as AccordionList,V as AccordionPanel,H as CarouselCard,K as Checkbox,Q as CustomModal,Z as CustomPopup,Vt as CustomRadio,Kt as CustomStepper,Nt as FilterableSelect,W as FormGroup,X as IconComponent,tt as ProgressCircle,G as RandstadButton,Y as RandstadForm,J as RandstadNotice,Yt as TabsBar,Wt as UploadImage};
2646
+ `}};n([T({type:Array}),a("design:type",Array)],Yt.prototype,"files",void 0),n([L(),a("design:type",Object)],Yt.prototype,"loading",void 0),n([L(),a("design:type",Object)],Yt.prototype,"progress",void 0),n([L(),a("design:type",Object)],Yt.prototype,"isDragging",void 0),n([T({type:Boolean,reflect:!0}),a("design:type",Object)],Yt.prototype,"disabled",void 0),Yt=n([l("upload-image")],Yt);export{N as AccordionList,V as AccordionPanel,H as CarouselCard,K as Checkbox,Q as CustomModal,Z as CustomPopup,Vt as CustomRadio,Kt as CustomStepper,Nt as FilterableSelect,Y as FormGroup,X as IconComponent,tt as ProgressCircle,G as RandstadButton,W as RandstadForm,J as RandstadNotice,Wt as TabsBar,Yt as UploadImage};
2630
2647
  //# sourceMappingURL=index.js.map