@revikornmann/muka-ui 0.22.0 → 0.23.1
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/cjs/components/Combobox/Combobox.js +10 -3
- package/dist/cjs/components/Combobox/Combobox.js.map +1 -1
- package/dist/cjs/components/Icon/iconRegistry.js +2 -2
- package/dist/cjs/components/Icon/iconRegistry.js.map +1 -1
- package/dist/cjs/components/Input/Input.css +11 -4
- package/dist/cjs/components/Input/Input.js +13 -5
- package/dist/cjs/components/Input/Input.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.js +6 -6
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/SocialSignInButton/SocialSignInButton.css +147 -0
- package/dist/cjs/components/SocialSignInButton/SocialSignInButton.js +43 -0
- package/dist/cjs/components/SocialSignInButton/SocialSignInButton.js.map +1 -0
- package/dist/cjs/components/SocialSignInButton/icons/AppleLogo.js +11 -0
- package/dist/cjs/components/SocialSignInButton/icons/AppleLogo.js.map +1 -0
- package/dist/cjs/components/SocialSignInButton/icons/GoogleLogo.js +12 -0
- package/dist/cjs/components/SocialSignInButton/icons/GoogleLogo.js.map +1 -0
- package/dist/cjs/components/SocialSignInButton/index.js +11 -0
- package/dist/cjs/components/SocialSignInButton/index.js.map +1 -0
- package/dist/cjs/components/index.js +3 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Combobox/Combobox.js +11 -4
- package/dist/esm/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/components/Icon/iconRegistry.js +2 -2
- package/dist/esm/components/Icon/iconRegistry.js.map +1 -1
- package/dist/esm/components/Input/Input.css +11 -4
- package/dist/esm/components/Input/Input.js +13 -5
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +6 -6
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/SocialSignInButton/SocialSignInButton.css +147 -0
- package/dist/esm/components/SocialSignInButton/SocialSignInButton.js +40 -0
- package/dist/esm/components/SocialSignInButton/SocialSignInButton.js.map +1 -0
- package/dist/esm/components/SocialSignInButton/icons/AppleLogo.js +7 -0
- package/dist/esm/components/SocialSignInButton/icons/AppleLogo.js.map +1 -0
- package/dist/esm/components/SocialSignInButton/icons/GoogleLogo.js +8 -0
- package/dist/esm/components/SocialSignInButton/icons/GoogleLogo.js.map +1 -0
- package/dist/esm/components/SocialSignInButton/index.js +3 -0
- package/dist/esm/components/SocialSignInButton/index.js.map +1 -0
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/Input.css +11 -4
- package/dist/styles/components/SocialSignInButton.css +147 -0
- package/dist/styles/index.css +161 -4
- package/dist/styles/muka-dark.css +161 -4
- package/dist/styles/muka-light.css +161 -4
- package/dist/styles/wireframe-dark.css +161 -4
- package/dist/styles/wireframe-light.css +161 -4
- package/dist/types/components/Combobox/Combobox.d.ts +6 -0
- package/dist/types/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/types/components/Icon/iconRegistry.d.ts +2 -2
- package/dist/types/components/Input/Input.d.ts +5 -0
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Menu/Menu.d.ts +8 -0
- package/dist/types/components/Menu/Menu.d.ts.map +1 -1
- package/dist/types/components/SocialSignInButton/SocialSignInButton.d.ts +41 -0
- package/dist/types/components/SocialSignInButton/SocialSignInButton.d.ts.map +1 -0
- package/dist/types/components/SocialSignInButton/icons/AppleLogo.d.ts +9 -0
- package/dist/types/components/SocialSignInButton/icons/AppleLogo.d.ts.map +1 -0
- package/dist/types/components/SocialSignInButton/icons/GoogleLogo.d.ts +10 -0
- package/dist/types/components/SocialSignInButton/icons/GoogleLogo.d.ts.map +1 -0
- package/dist/types/components/SocialSignInButton/index.d.ts +3 -0
- package/dist/types/components/SocialSignInButton/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
3
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
4
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5
|
+
*
|
|
6
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
7
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
8
|
+
*/
|
|
9
|
+
.muka-social-sign-in-button {
|
|
10
|
+
--ssi-white: #ffffff;
|
|
11
|
+
--ssi-black: #000000;
|
|
12
|
+
--ssi-google-text-light: #1f1f1f;
|
|
13
|
+
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
|
|
18
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
19
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
20
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
21
|
+
font-family: inherit;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
|
|
26
|
+
border: 1px solid transparent;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
user-select: none;
|
|
29
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
30
|
+
|
|
31
|
+
outline: none;
|
|
32
|
+
position: relative;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.muka-social-sign-in-button--apple {
|
|
37
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
38
|
+
Helvetica, Arial, sans-serif;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.muka-social-sign-in-button--google {
|
|
43
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.muka-social-sign-in-button:focus-visible {
|
|
48
|
+
outline: 2px solid var(--color-border-focus);
|
|
49
|
+
outline-offset: 2px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Sizes — heights align with Button md/lg */
|
|
53
|
+
.muka-social-sign-in-button--md {
|
|
54
|
+
padding: 0 var(--button-padding-md-x);
|
|
55
|
+
border-radius: var(--button-radius-md);
|
|
56
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
57
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
58
|
+
min-height: 40px;
|
|
59
|
+
min-width: 240px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
63
|
+
padding: 0 var(--button-gap-md);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
67
|
+
width: var(--button-icon-md);
|
|
68
|
+
height: var(--button-icon-md);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.muka-social-sign-in-button--lg {
|
|
72
|
+
padding: 0 var(--button-padding-lg-x);
|
|
73
|
+
border-radius: var(--button-radius-lg);
|
|
74
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
75
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
76
|
+
min-height: 48px;
|
|
77
|
+
min-width: 280px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
81
|
+
padding: 0 var(--button-gap-lg);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
85
|
+
width: var(--button-icon-lg);
|
|
86
|
+
height: var(--button-icon-lg);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
90
|
+
.muka-social-sign-in-button--white {
|
|
91
|
+
background-color: var(--ssi-white);
|
|
92
|
+
color: var(--ssi-black);
|
|
93
|
+
border-color: var(--ssi-black);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
97
|
+
color: var(--ssi-google-text-light);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Black lockup — for light surfaces */
|
|
101
|
+
.muka-social-sign-in-button--black {
|
|
102
|
+
background-color: var(--ssi-black);
|
|
103
|
+
color: var(--ssi-white);
|
|
104
|
+
border-color: transparent;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
108
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
109
|
+
filter: brightness(0.92);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
113
|
+
filter: brightness(0.85);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.muka-social-sign-in-button:disabled,
|
|
117
|
+
.muka-social-sign-in-button--disabled {
|
|
118
|
+
cursor: not-allowed;
|
|
119
|
+
opacity: 0.4;
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
filter: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.muka-social-sign-in-button--full-width {
|
|
125
|
+
width: 100%;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.muka-social-sign-in-button__icon {
|
|
130
|
+
display: inline-flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
flex-shrink: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.muka-social-sign-in-button__icon > *,
|
|
137
|
+
.muka-social-sign-in-button__icon svg {
|
|
138
|
+
width: auto;
|
|
139
|
+
height: 100%;
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
display: block;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.muka-social-sign-in-button__label {
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from 'react';
|
|
3
|
+
import { AppleLogo } from './icons/AppleLogo';
|
|
4
|
+
import { GoogleLogo } from './icons/GoogleLogo';
|
|
5
|
+
import './SocialSignInButton.css';
|
|
6
|
+
const DEFAULT_LABELS = {
|
|
7
|
+
apple: 'Sign in with Apple',
|
|
8
|
+
google: 'Sign in with Google',
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* SocialSignInButton
|
|
12
|
+
*
|
|
13
|
+
* Brand-agnostic Sign in with Apple / Google lockup button.
|
|
14
|
+
* Colors are intentionally fixed per provider guidelines (Apple HIG /
|
|
15
|
+
* Google Identity branding) and do not follow Muka brand/action tokens —
|
|
16
|
+
* same pattern as LicensePlateInput regulatory colors.
|
|
17
|
+
*
|
|
18
|
+
* Pairing: `color="black"` on light surfaces, `color="white"` on dark.
|
|
19
|
+
* Figma: Button Apple Google (Provider × Color × Size).
|
|
20
|
+
*
|
|
21
|
+
* @accessibility WCAG 2.1 AA — native button, visible focus, label is visible text.
|
|
22
|
+
*/
|
|
23
|
+
export const SocialSignInButton = forwardRef(({ provider, color = 'black', size = 'md', label, fullWidth = false, disabled = false, type = 'button', className = '', ...props }, ref) => {
|
|
24
|
+
const resolvedLabel = label ?? DEFAULT_LABELS[provider];
|
|
25
|
+
const classes = [
|
|
26
|
+
'muka-social-sign-in-button',
|
|
27
|
+
`muka-social-sign-in-button--${provider}`,
|
|
28
|
+
`muka-social-sign-in-button--${color}`,
|
|
29
|
+
`muka-social-sign-in-button--${size}`,
|
|
30
|
+
fullWidth && 'muka-social-sign-in-button--full-width',
|
|
31
|
+
disabled && 'muka-social-sign-in-button--disabled',
|
|
32
|
+
className,
|
|
33
|
+
]
|
|
34
|
+
.filter(Boolean)
|
|
35
|
+
.join(' ');
|
|
36
|
+
return (_jsxs("button", { ref: ref, type: type, className: classes, disabled: disabled, ...props, children: [_jsx("span", { className: "muka-social-sign-in-button__icon", "aria-hidden": "true", children: provider === 'apple' ? _jsx(AppleLogo, {}) : _jsx(GoogleLogo, {}) }), _jsx("span", { className: "muka-social-sign-in-button__label", children: resolvedLabel })] }));
|
|
37
|
+
});
|
|
38
|
+
SocialSignInButton.displayName = 'SocialSignInButton';
|
|
39
|
+
export default SocialSignInButton;
|
|
40
|
+
//# sourceMappingURL=SocialSignInButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocialSignInButton.js","sourceRoot":"","sources":["../../../../components/SocialSignInButton/SocialSignInButton.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,0BAA0B,CAAC;AAuBlC,MAAM,cAAc,GAAoD;IACtE,KAAK,EAAE,oBAAoB;IAC3B,MAAM,EAAE,qBAAqB;CAC9B,CAAC;AA0BF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,UAAU,CAC1C,CACE,EACE,QAAQ,EACR,KAAK,GAAG,OAAO,EACf,IAAI,GAAG,IAAI,EACX,KAAK,EACL,SAAS,GAAG,KAAK,EACjB,QAAQ,GAAG,KAAK,EAChB,IAAI,GAAG,QAAQ,EACf,SAAS,GAAG,EAAE,EACd,GAAG,KAAK,EACT,EACD,GAAG,EACH,EAAE;IACF,MAAM,aAAa,GAAG,KAAK,IAAI,cAAc,CAAC,QAAQ,CAAC,CAAC;IAExD,MAAM,OAAO,GAAG;QACd,4BAA4B;QAC5B,+BAA+B,QAAQ,EAAE;QACzC,+BAA+B,KAAK,EAAE;QACtC,+BAA+B,IAAI,EAAE;QACrC,SAAS,IAAI,wCAAwC;QACrD,QAAQ,IAAI,sCAAsC;QAClD,SAAS;KACV;SACE,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,CAAC;IAEb,OAAO,CACL,kBACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,OAAO,EAClB,QAAQ,EAAE,QAAQ,KACd,KAAK,aAET,eAAM,SAAS,EAAC,kCAAkC,iBAAa,MAAM,YAClE,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,KAAC,SAAS,KAAG,CAAC,CAAC,CAAC,KAAC,UAAU,KAAG,GACjD,EACP,eAAM,SAAS,EAAC,mCAAmC,YAAE,aAAa,GAAQ,IACnE,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAEtD,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Official Apple logo mark from the Muka UI Figma library.
|
|
4
|
+
* Fill follows `currentColor` so black/white lockups inherit from the button.
|
|
5
|
+
*/
|
|
6
|
+
export const AppleLogo = ({ className }) => (_jsx("svg", { className: className, width: "19", height: "23", viewBox: "0 0 19 23", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", focusable: "false", children: _jsx("path", { d: "M9.17338 6.37188C8.29738 6.37188 6.94138 5.37588 5.51338 5.41188C3.62938 5.43588 1.90138 6.50388 0.929378 8.19588C-1.02662 11.5919 0.425378 16.6079 2.33338 19.3679C3.26938 20.7119 4.37338 22.2239 5.83738 22.1759C7.24138 22.1159 7.76938 21.2639 9.47338 21.2639C11.1654 21.2639 11.6454 22.1759 13.1334 22.1399C14.6454 22.1159 15.6054 20.7719 16.5294 19.4159C17.5974 17.8559 18.0414 16.3439 18.0654 16.2599C18.0294 16.2479 15.1254 15.1319 15.0894 11.7719C15.0654 8.96388 17.3814 7.61988 17.4894 7.55988C16.1694 5.62788 14.1414 5.41188 13.4334 5.36388C11.5854 5.21988 10.0374 6.37188 9.17338 6.37188ZM12.2934 3.53988C13.0734 2.60388 13.5894 1.29588 13.4454 -0.00012207C12.3294 0.0478779 10.9854 0.743878 10.1814 1.67988C9.46138 2.50788 8.83738 3.83988 9.00538 5.11188C10.2414 5.20788 11.5134 4.47588 12.2934 3.53988Z", fill: "currentColor" }) }));
|
|
7
|
+
//# sourceMappingURL=AppleLogo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleLogo.js","sourceRoot":"","sources":["../../../../../components/SocialSignInButton/icons/AppleLogo.tsx"],"names":[],"mappings":";AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAqC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC5E,cACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,SAAS,EAAC,OAAO,YAEjB,eACE,CAAC,EAAC,8yBAA8yB,EAChzB,IAAI,EAAC,cAAc,GACnB,GACE,CACP,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Official multicolor Google "G" mark.
|
|
4
|
+
* Solid brand fills (not monochrome) — required by Google Identity branding guidelines.
|
|
5
|
+
* Paths sourced from the Muka UI Figma library Button Apple Google component.
|
|
6
|
+
*/
|
|
7
|
+
export const GoogleLogo = ({ className }) => (_jsxs("svg", { className: className, width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", focusable: "false", children: [_jsx("path", { d: "M19.5833 10.2273C19.5833 9.51818 19.5198 8.83636 19.4017 8.18182H12.5V12.0545H15.3687C15.1326 13.3 14.4241 14.3545 13.3614 15.0636V17.5818H16.6041C18.4934 15.8364 19.5833 13.2727 19.5833 10.2273Z", fill: "#4285F4" }), _jsx("path", { d: "M9.9915 20C12.6892 20 14.9509 19.1091 16.6041 17.5818L13.3614 15.0636C12.4712 15.6636 11.3358 16.0273 9.9915 16.0273C7.39371 16.0273 5.1865 14.2727 4.39626 11.9091H1.07182V14.4909C2.71587 17.7545 6.08573 20 9.9915 20Z", fill: "#34A853" }), _jsx("path", { d: "M4.39626 11.9C4.19643 11.3 4.07835 10.6636 4.07835 10C4.07835 9.33636 4.19643 8.7 4.39626 8.1V5.51818H1.07182C0.390577 6.86364 0 8.38182 0 10C0 11.6182 0.390577 13.1364 1.07182 14.4818L4.39626 11.9Z", fill: "#FBBC05" }), _jsx("path", { d: "M9.9915 3.98182C11.463 3.98182 12.7709 4.49091 13.8155 5.47273L16.6767 2.60909C14.9418 0.990909 12.6892 0 9.9915 0C6.08573 0 2.71587 2.24546 1.07182 5.51818L4.39626 8.1C5.1865 5.73636 7.39371 3.98182 9.9915 3.98182Z", fill: "#EA4335" })] }));
|
|
8
|
+
//# sourceMappingURL=GoogleLogo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleLogo.js","sourceRoot":"","sources":["../../../../../components/SocialSignInButton/icons/GoogleLogo.tsx"],"names":[],"mappings":";AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAqC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC7E,eACE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,iBACtB,MAAM,EAClB,SAAS,EAAC,OAAO,aAGjB,eACE,CAAC,EAAC,qMAAqM,EACvM,IAAI,EAAC,SAAS,GACd,EAEF,eACE,CAAC,EAAC,2NAA2N,EAC7N,IAAI,EAAC,SAAS,GACd,EAEF,eACE,CAAC,EAAC,wMAAwM,EAC1M,IAAI,EAAC,SAAS,GACd,EAEF,eACE,CAAC,EAAC,yNAAyN,EAC3N,IAAI,EAAC,SAAS,GACd,IACE,CACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../components/SocialSignInButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,GAMnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -83,6 +83,7 @@ export { Combobox, } from './Combobox';
|
|
|
83
83
|
export { SwipeActions, } from './SwipeActions';
|
|
84
84
|
export { PullToRefresh } from './PullToRefresh';
|
|
85
85
|
export { LicensePlateInput, } from './LicensePlateInput';
|
|
86
|
+
export { SocialSignInButton, } from './SocialSignInButton';
|
|
86
87
|
export { Thumbnail } from './Thumbnail';
|
|
87
88
|
export { PhotoUploader, } from './PhotoUploader';
|
|
88
89
|
export { TextLink } from './TextLink';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,EAAE,MAAM,EAAoB,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAsB,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAmB,MAAM,SAAS,CAAC;AACjD,OAAO,EACL,IAAI,EAEJ,OAAO,GAMR,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAyB,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,IAAI,EAAkB,MAAM,QAAQ,CAAC;A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GAGb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,gBAAgB,EAIhB,eAAe,EACf,WAAW,EACX,yBAAyB,EACzB,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,eAAe,GAGhB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,WAAW,EAEX,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,aAAa,GAGd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,eAAe,EAA6B,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EACL,kBAAkB,GAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,QAAQ,GAGT,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,YAAY,GAGb,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,aAAa,EAA2B,MAAM,iBAAiB,CAAC;AACzE,OAAO,EACL,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,GAMnB,MAAM,sBAAsB,CAAC;AAO9B,OAAO,EAAE,SAAS,EAAuB,MAAM,aAAa,CAAC;AAC7D,OAAO,EACL,aAAa,GAEd,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAsB,MAAM,YAAY,CAAC"}
|
|
@@ -184,7 +184,8 @@
|
|
|
184
184
|
height: var(--icon-size-default);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
.muka-input__clear
|
|
187
|
+
.muka-input__clear,
|
|
188
|
+
.muka-input__reveal {
|
|
188
189
|
display: inline-flex;
|
|
189
190
|
align-items: center;
|
|
190
191
|
justify-content: center;
|
|
@@ -198,7 +199,8 @@
|
|
|
198
199
|
cursor: pointer;
|
|
199
200
|
}
|
|
200
201
|
|
|
201
|
-
.muka-input__field--sm .muka-input__clear
|
|
202
|
+
.muka-input__field--sm .muka-input__clear,
|
|
203
|
+
.muka-input__field--sm .muka-input__reveal {
|
|
202
204
|
width: var(--size-xl, 1.5rem);
|
|
203
205
|
height: var(--size-xl, 1.5rem);
|
|
204
206
|
}
|
|
@@ -207,14 +209,19 @@
|
|
|
207
209
|
.muka-input__icon .muka-icon,
|
|
208
210
|
.muka-input__clear .muka-icon,
|
|
209
211
|
.muka-input__clear:hover,
|
|
210
|
-
.muka-input__clear:hover .muka-icon
|
|
212
|
+
.muka-input__clear:hover .muka-icon,
|
|
213
|
+
.muka-input__reveal .muka-icon,
|
|
214
|
+
.muka-input__reveal:hover,
|
|
215
|
+
.muka-input__reveal:hover .muka-icon {
|
|
211
216
|
color: var(--color-text-subtle-default);
|
|
212
217
|
}
|
|
213
218
|
|
|
214
219
|
.muka-input__field--disabled .muka-input__icon,
|
|
215
220
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
216
221
|
.muka-input__field--disabled .muka-input__clear,
|
|
217
|
-
.muka-input__field--disabled .muka-input__clear .muka-icon
|
|
222
|
+
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
223
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
224
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
218
225
|
color: var(--input-field-color-disabled-foreground);
|
|
219
226
|
}
|
|
220
227
|
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
3
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
4
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5
|
+
*
|
|
6
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
7
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
8
|
+
*/
|
|
9
|
+
.muka-social-sign-in-button {
|
|
10
|
+
--ssi-white: #ffffff;
|
|
11
|
+
--ssi-black: #000000;
|
|
12
|
+
--ssi-google-text-light: #1f1f1f;
|
|
13
|
+
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
|
|
18
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
19
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
20
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
21
|
+
font-family: inherit;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
|
|
26
|
+
border: 1px solid transparent;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
user-select: none;
|
|
29
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
30
|
+
|
|
31
|
+
outline: none;
|
|
32
|
+
position: relative;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.muka-social-sign-in-button--apple {
|
|
37
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
38
|
+
Helvetica, Arial, sans-serif;
|
|
39
|
+
font-weight: 600;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.muka-social-sign-in-button--google {
|
|
43
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.muka-social-sign-in-button:focus-visible {
|
|
48
|
+
outline: 2px solid var(--color-border-focus);
|
|
49
|
+
outline-offset: 2px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Sizes — heights align with Button md/lg */
|
|
53
|
+
.muka-social-sign-in-button--md {
|
|
54
|
+
padding: 0 var(--button-padding-md-x);
|
|
55
|
+
border-radius: var(--button-radius-md);
|
|
56
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
57
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
58
|
+
min-height: 40px;
|
|
59
|
+
min-width: 240px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
63
|
+
padding: 0 var(--button-gap-md);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
67
|
+
width: var(--button-icon-md);
|
|
68
|
+
height: var(--button-icon-md);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.muka-social-sign-in-button--lg {
|
|
72
|
+
padding: 0 var(--button-padding-lg-x);
|
|
73
|
+
border-radius: var(--button-radius-lg);
|
|
74
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
75
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
76
|
+
min-height: 48px;
|
|
77
|
+
min-width: 280px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
81
|
+
padding: 0 var(--button-gap-lg);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
85
|
+
width: var(--button-icon-lg);
|
|
86
|
+
height: var(--button-icon-lg);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
90
|
+
.muka-social-sign-in-button--white {
|
|
91
|
+
background-color: var(--ssi-white);
|
|
92
|
+
color: var(--ssi-black);
|
|
93
|
+
border-color: var(--ssi-black);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
97
|
+
color: var(--ssi-google-text-light);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Black lockup — for light surfaces */
|
|
101
|
+
.muka-social-sign-in-button--black {
|
|
102
|
+
background-color: var(--ssi-black);
|
|
103
|
+
color: var(--ssi-white);
|
|
104
|
+
border-color: transparent;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
108
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
109
|
+
filter: brightness(0.92);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
113
|
+
filter: brightness(0.85);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.muka-social-sign-in-button:disabled,
|
|
117
|
+
.muka-social-sign-in-button--disabled {
|
|
118
|
+
cursor: not-allowed;
|
|
119
|
+
opacity: 0.4;
|
|
120
|
+
pointer-events: none;
|
|
121
|
+
filter: none;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.muka-social-sign-in-button--full-width {
|
|
125
|
+
width: 100%;
|
|
126
|
+
min-width: 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.muka-social-sign-in-button__icon {
|
|
130
|
+
display: inline-flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
justify-content: center;
|
|
133
|
+
flex-shrink: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.muka-social-sign-in-button__icon > *,
|
|
137
|
+
.muka-social-sign-in-button__icon svg {
|
|
138
|
+
width: auto;
|
|
139
|
+
height: 100%;
|
|
140
|
+
max-width: 100%;
|
|
141
|
+
display: block;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.muka-social-sign-in-button__label {
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
package/dist/styles/index.css
CHANGED
|
@@ -5027,6 +5027,156 @@ body {
|
|
|
5027
5027
|
}
|
|
5028
5028
|
|
|
5029
5029
|
|
|
5030
|
+
/* SocialSignInButton */
|
|
5031
|
+
/*
|
|
5032
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5033
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5034
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5035
|
+
*
|
|
5036
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5037
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5038
|
+
*/
|
|
5039
|
+
.muka-social-sign-in-button {
|
|
5040
|
+
--ssi-white: #ffffff;
|
|
5041
|
+
--ssi-black: #000000;
|
|
5042
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5043
|
+
|
|
5044
|
+
display: inline-flex;
|
|
5045
|
+
align-items: center;
|
|
5046
|
+
justify-content: center;
|
|
5047
|
+
|
|
5048
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5049
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5050
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5051
|
+
font-family: inherit;
|
|
5052
|
+
font-weight: 600;
|
|
5053
|
+
text-decoration: none;
|
|
5054
|
+
white-space: nowrap;
|
|
5055
|
+
|
|
5056
|
+
border: 1px solid transparent;
|
|
5057
|
+
cursor: pointer;
|
|
5058
|
+
user-select: none;
|
|
5059
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5060
|
+
|
|
5061
|
+
outline: none;
|
|
5062
|
+
position: relative;
|
|
5063
|
+
box-sizing: border-box;
|
|
5064
|
+
}
|
|
5065
|
+
|
|
5066
|
+
.muka-social-sign-in-button--apple {
|
|
5067
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5068
|
+
Helvetica, Arial, sans-serif;
|
|
5069
|
+
font-weight: 600;
|
|
5070
|
+
}
|
|
5071
|
+
|
|
5072
|
+
.muka-social-sign-in-button--google {
|
|
5073
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5074
|
+
font-weight: 500;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5078
|
+
outline: 2px solid var(--color-border-focus);
|
|
5079
|
+
outline-offset: 2px;
|
|
5080
|
+
}
|
|
5081
|
+
|
|
5082
|
+
/* Sizes — heights align with Button md/lg */
|
|
5083
|
+
.muka-social-sign-in-button--md {
|
|
5084
|
+
padding: 0 var(--button-padding-md-x);
|
|
5085
|
+
border-radius: var(--button-radius-md);
|
|
5086
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5087
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5088
|
+
min-height: 40px;
|
|
5089
|
+
min-width: 240px;
|
|
5090
|
+
}
|
|
5091
|
+
|
|
5092
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5093
|
+
padding: 0 var(--button-gap-md);
|
|
5094
|
+
}
|
|
5095
|
+
|
|
5096
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5097
|
+
width: var(--button-icon-md);
|
|
5098
|
+
height: var(--button-icon-md);
|
|
5099
|
+
}
|
|
5100
|
+
|
|
5101
|
+
.muka-social-sign-in-button--lg {
|
|
5102
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5103
|
+
border-radius: var(--button-radius-lg);
|
|
5104
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5105
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5106
|
+
min-height: 48px;
|
|
5107
|
+
min-width: 280px;
|
|
5108
|
+
}
|
|
5109
|
+
|
|
5110
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5111
|
+
padding: 0 var(--button-gap-lg);
|
|
5112
|
+
}
|
|
5113
|
+
|
|
5114
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5115
|
+
width: var(--button-icon-lg);
|
|
5116
|
+
height: var(--button-icon-lg);
|
|
5117
|
+
}
|
|
5118
|
+
|
|
5119
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5120
|
+
.muka-social-sign-in-button--white {
|
|
5121
|
+
background-color: var(--ssi-white);
|
|
5122
|
+
color: var(--ssi-black);
|
|
5123
|
+
border-color: var(--ssi-black);
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5127
|
+
color: var(--ssi-google-text-light);
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
/* Black lockup — for light surfaces */
|
|
5131
|
+
.muka-social-sign-in-button--black {
|
|
5132
|
+
background-color: var(--ssi-black);
|
|
5133
|
+
color: var(--ssi-white);
|
|
5134
|
+
border-color: transparent;
|
|
5135
|
+
}
|
|
5136
|
+
|
|
5137
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5138
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5139
|
+
filter: brightness(0.92);
|
|
5140
|
+
}
|
|
5141
|
+
|
|
5142
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5143
|
+
filter: brightness(0.85);
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
.muka-social-sign-in-button:disabled,
|
|
5147
|
+
.muka-social-sign-in-button--disabled {
|
|
5148
|
+
cursor: not-allowed;
|
|
5149
|
+
opacity: 0.4;
|
|
5150
|
+
pointer-events: none;
|
|
5151
|
+
filter: none;
|
|
5152
|
+
}
|
|
5153
|
+
|
|
5154
|
+
.muka-social-sign-in-button--full-width {
|
|
5155
|
+
width: 100%;
|
|
5156
|
+
min-width: 0;
|
|
5157
|
+
}
|
|
5158
|
+
|
|
5159
|
+
.muka-social-sign-in-button__icon {
|
|
5160
|
+
display: inline-flex;
|
|
5161
|
+
align-items: center;
|
|
5162
|
+
justify-content: center;
|
|
5163
|
+
flex-shrink: 0;
|
|
5164
|
+
}
|
|
5165
|
+
|
|
5166
|
+
.muka-social-sign-in-button__icon > *,
|
|
5167
|
+
.muka-social-sign-in-button__icon svg {
|
|
5168
|
+
width: auto;
|
|
5169
|
+
height: 100%;
|
|
5170
|
+
max-width: 100%;
|
|
5171
|
+
display: block;
|
|
5172
|
+
}
|
|
5173
|
+
|
|
5174
|
+
.muka-social-sign-in-button__label {
|
|
5175
|
+
display: inline-flex;
|
|
5176
|
+
align-items: center;
|
|
5177
|
+
}
|
|
5178
|
+
|
|
5179
|
+
|
|
5030
5180
|
/* Skeleton */
|
|
5031
5181
|
/* Skeleton Component Styles */
|
|
5032
5182
|
|
|
@@ -9024,7 +9174,8 @@ li.muka-listitem {
|
|
|
9024
9174
|
height: var(--icon-size-default);
|
|
9025
9175
|
}
|
|
9026
9176
|
|
|
9027
|
-
.muka-input__clear
|
|
9177
|
+
.muka-input__clear,
|
|
9178
|
+
.muka-input__reveal {
|
|
9028
9179
|
display: inline-flex;
|
|
9029
9180
|
align-items: center;
|
|
9030
9181
|
justify-content: center;
|
|
@@ -9038,7 +9189,8 @@ li.muka-listitem {
|
|
|
9038
9189
|
cursor: pointer;
|
|
9039
9190
|
}
|
|
9040
9191
|
|
|
9041
|
-
.muka-input__field--sm .muka-input__clear
|
|
9192
|
+
.muka-input__field--sm .muka-input__clear,
|
|
9193
|
+
.muka-input__field--sm .muka-input__reveal {
|
|
9042
9194
|
width: var(--size-xl, 1.5rem);
|
|
9043
9195
|
height: var(--size-xl, 1.5rem);
|
|
9044
9196
|
}
|
|
@@ -9047,14 +9199,19 @@ li.muka-listitem {
|
|
|
9047
9199
|
.muka-input__icon .muka-icon,
|
|
9048
9200
|
.muka-input__clear .muka-icon,
|
|
9049
9201
|
.muka-input__clear:hover,
|
|
9050
|
-
.muka-input__clear:hover .muka-icon
|
|
9202
|
+
.muka-input__clear:hover .muka-icon,
|
|
9203
|
+
.muka-input__reveal .muka-icon,
|
|
9204
|
+
.muka-input__reveal:hover,
|
|
9205
|
+
.muka-input__reveal:hover .muka-icon {
|
|
9051
9206
|
color: var(--color-text-subtle-default);
|
|
9052
9207
|
}
|
|
9053
9208
|
|
|
9054
9209
|
.muka-input__field--disabled .muka-input__icon,
|
|
9055
9210
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
9056
9211
|
.muka-input__field--disabled .muka-input__clear,
|
|
9057
|
-
.muka-input__field--disabled .muka-input__clear .muka-icon
|
|
9212
|
+
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
9213
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
9214
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
9058
9215
|
color: var(--input-field-color-disabled-foreground);
|
|
9059
9216
|
}
|
|
9060
9217
|
|