@randstad-uca/design-system 1.0.44 → 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.
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/stories/Button.stories.d.ts +1 -0
- package/dist/styles/forms.css +1 -1
- package/package.json +1 -1
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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`
|
|
@@ -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:
|
|
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:
|
|
770
|
+
cursor: default;
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
.helper-description {
|
|
@@ -1685,7 +1685,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
|
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
1687
1687
|
md-radio.disabled {
|
|
1688
|
-
cursor:
|
|
1688
|
+
cursor: default;
|
|
1689
1689
|
background: var(--secondary-color-20);
|
|
1690
1690
|
border: 1px solid var(--secondary-color-20);
|
|
1691
1691
|
}
|
|
@@ -2589,7 +2589,7 @@ const Ut=t`@layer{:host{display:inline-flex;height:var(--md-radio-icon-size, 20p
|
|
|
2589
2589
|
:host([disabled]) .button {
|
|
2590
2590
|
background-color: var(--secondary-color-20);
|
|
2591
2591
|
color: var(--secondary-color-80);
|
|
2592
|
-
cursor:
|
|
2592
|
+
cursor: default;
|
|
2593
2593
|
}
|
|
2594
2594
|
|
|
2595
2595
|
input[type="file"] {
|