@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
|
@@ -5026,6 +5026,156 @@ body {
|
|
|
5026
5026
|
}
|
|
5027
5027
|
|
|
5028
5028
|
|
|
5029
|
+
/* SocialSignInButton */
|
|
5030
|
+
/*
|
|
5031
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5032
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5033
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5034
|
+
*
|
|
5035
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5036
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5037
|
+
*/
|
|
5038
|
+
.muka-social-sign-in-button {
|
|
5039
|
+
--ssi-white: #ffffff;
|
|
5040
|
+
--ssi-black: #000000;
|
|
5041
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5042
|
+
|
|
5043
|
+
display: inline-flex;
|
|
5044
|
+
align-items: center;
|
|
5045
|
+
justify-content: center;
|
|
5046
|
+
|
|
5047
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5048
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5049
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5050
|
+
font-family: inherit;
|
|
5051
|
+
font-weight: 600;
|
|
5052
|
+
text-decoration: none;
|
|
5053
|
+
white-space: nowrap;
|
|
5054
|
+
|
|
5055
|
+
border: 1px solid transparent;
|
|
5056
|
+
cursor: pointer;
|
|
5057
|
+
user-select: none;
|
|
5058
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5059
|
+
|
|
5060
|
+
outline: none;
|
|
5061
|
+
position: relative;
|
|
5062
|
+
box-sizing: border-box;
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
.muka-social-sign-in-button--apple {
|
|
5066
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5067
|
+
Helvetica, Arial, sans-serif;
|
|
5068
|
+
font-weight: 600;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
.muka-social-sign-in-button--google {
|
|
5072
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5073
|
+
font-weight: 500;
|
|
5074
|
+
}
|
|
5075
|
+
|
|
5076
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5077
|
+
outline: 2px solid var(--color-border-focus);
|
|
5078
|
+
outline-offset: 2px;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
/* Sizes — heights align with Button md/lg */
|
|
5082
|
+
.muka-social-sign-in-button--md {
|
|
5083
|
+
padding: 0 var(--button-padding-md-x);
|
|
5084
|
+
border-radius: var(--button-radius-md);
|
|
5085
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5086
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5087
|
+
min-height: 40px;
|
|
5088
|
+
min-width: 240px;
|
|
5089
|
+
}
|
|
5090
|
+
|
|
5091
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5092
|
+
padding: 0 var(--button-gap-md);
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5096
|
+
width: var(--button-icon-md);
|
|
5097
|
+
height: var(--button-icon-md);
|
|
5098
|
+
}
|
|
5099
|
+
|
|
5100
|
+
.muka-social-sign-in-button--lg {
|
|
5101
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5102
|
+
border-radius: var(--button-radius-lg);
|
|
5103
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5104
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5105
|
+
min-height: 48px;
|
|
5106
|
+
min-width: 280px;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5110
|
+
padding: 0 var(--button-gap-lg);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5114
|
+
width: var(--button-icon-lg);
|
|
5115
|
+
height: var(--button-icon-lg);
|
|
5116
|
+
}
|
|
5117
|
+
|
|
5118
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5119
|
+
.muka-social-sign-in-button--white {
|
|
5120
|
+
background-color: var(--ssi-white);
|
|
5121
|
+
color: var(--ssi-black);
|
|
5122
|
+
border-color: var(--ssi-black);
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5125
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5126
|
+
color: var(--ssi-google-text-light);
|
|
5127
|
+
}
|
|
5128
|
+
|
|
5129
|
+
/* Black lockup — for light surfaces */
|
|
5130
|
+
.muka-social-sign-in-button--black {
|
|
5131
|
+
background-color: var(--ssi-black);
|
|
5132
|
+
color: var(--ssi-white);
|
|
5133
|
+
border-color: transparent;
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5136
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5137
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5138
|
+
filter: brightness(0.92);
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5142
|
+
filter: brightness(0.85);
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
.muka-social-sign-in-button:disabled,
|
|
5146
|
+
.muka-social-sign-in-button--disabled {
|
|
5147
|
+
cursor: not-allowed;
|
|
5148
|
+
opacity: 0.4;
|
|
5149
|
+
pointer-events: none;
|
|
5150
|
+
filter: none;
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.muka-social-sign-in-button--full-width {
|
|
5154
|
+
width: 100%;
|
|
5155
|
+
min-width: 0;
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
.muka-social-sign-in-button__icon {
|
|
5159
|
+
display: inline-flex;
|
|
5160
|
+
align-items: center;
|
|
5161
|
+
justify-content: center;
|
|
5162
|
+
flex-shrink: 0;
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
.muka-social-sign-in-button__icon > *,
|
|
5166
|
+
.muka-social-sign-in-button__icon svg {
|
|
5167
|
+
width: auto;
|
|
5168
|
+
height: 100%;
|
|
5169
|
+
max-width: 100%;
|
|
5170
|
+
display: block;
|
|
5171
|
+
}
|
|
5172
|
+
|
|
5173
|
+
.muka-social-sign-in-button__label {
|
|
5174
|
+
display: inline-flex;
|
|
5175
|
+
align-items: center;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
|
|
5029
5179
|
/* Skeleton */
|
|
5030
5180
|
/* Skeleton Component Styles */
|
|
5031
5181
|
|
|
@@ -9023,7 +9173,8 @@ li.muka-listitem {
|
|
|
9023
9173
|
height: var(--icon-size-default);
|
|
9024
9174
|
}
|
|
9025
9175
|
|
|
9026
|
-
.muka-input__clear
|
|
9176
|
+
.muka-input__clear,
|
|
9177
|
+
.muka-input__reveal {
|
|
9027
9178
|
display: inline-flex;
|
|
9028
9179
|
align-items: center;
|
|
9029
9180
|
justify-content: center;
|
|
@@ -9037,7 +9188,8 @@ li.muka-listitem {
|
|
|
9037
9188
|
cursor: pointer;
|
|
9038
9189
|
}
|
|
9039
9190
|
|
|
9040
|
-
.muka-input__field--sm .muka-input__clear
|
|
9191
|
+
.muka-input__field--sm .muka-input__clear,
|
|
9192
|
+
.muka-input__field--sm .muka-input__reveal {
|
|
9041
9193
|
width: var(--size-xl, 1.5rem);
|
|
9042
9194
|
height: var(--size-xl, 1.5rem);
|
|
9043
9195
|
}
|
|
@@ -9046,14 +9198,19 @@ li.muka-listitem {
|
|
|
9046
9198
|
.muka-input__icon .muka-icon,
|
|
9047
9199
|
.muka-input__clear .muka-icon,
|
|
9048
9200
|
.muka-input__clear:hover,
|
|
9049
|
-
.muka-input__clear:hover .muka-icon
|
|
9201
|
+
.muka-input__clear:hover .muka-icon,
|
|
9202
|
+
.muka-input__reveal .muka-icon,
|
|
9203
|
+
.muka-input__reveal:hover,
|
|
9204
|
+
.muka-input__reveal:hover .muka-icon {
|
|
9050
9205
|
color: var(--color-text-subtle-default);
|
|
9051
9206
|
}
|
|
9052
9207
|
|
|
9053
9208
|
.muka-input__field--disabled .muka-input__icon,
|
|
9054
9209
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
9055
9210
|
.muka-input__field--disabled .muka-input__clear,
|
|
9056
|
-
.muka-input__field--disabled .muka-input__clear .muka-icon
|
|
9211
|
+
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
9212
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
9213
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
9057
9214
|
color: var(--input-field-color-disabled-foreground);
|
|
9058
9215
|
}
|
|
9059
9216
|
|
|
@@ -5026,6 +5026,156 @@ body {
|
|
|
5026
5026
|
}
|
|
5027
5027
|
|
|
5028
5028
|
|
|
5029
|
+
/* SocialSignInButton */
|
|
5030
|
+
/*
|
|
5031
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5032
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5033
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5034
|
+
*
|
|
5035
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5036
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5037
|
+
*/
|
|
5038
|
+
.muka-social-sign-in-button {
|
|
5039
|
+
--ssi-white: #ffffff;
|
|
5040
|
+
--ssi-black: #000000;
|
|
5041
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5042
|
+
|
|
5043
|
+
display: inline-flex;
|
|
5044
|
+
align-items: center;
|
|
5045
|
+
justify-content: center;
|
|
5046
|
+
|
|
5047
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5048
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5049
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5050
|
+
font-family: inherit;
|
|
5051
|
+
font-weight: 600;
|
|
5052
|
+
text-decoration: none;
|
|
5053
|
+
white-space: nowrap;
|
|
5054
|
+
|
|
5055
|
+
border: 1px solid transparent;
|
|
5056
|
+
cursor: pointer;
|
|
5057
|
+
user-select: none;
|
|
5058
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5059
|
+
|
|
5060
|
+
outline: none;
|
|
5061
|
+
position: relative;
|
|
5062
|
+
box-sizing: border-box;
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
.muka-social-sign-in-button--apple {
|
|
5066
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5067
|
+
Helvetica, Arial, sans-serif;
|
|
5068
|
+
font-weight: 600;
|
|
5069
|
+
}
|
|
5070
|
+
|
|
5071
|
+
.muka-social-sign-in-button--google {
|
|
5072
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5073
|
+
font-weight: 500;
|
|
5074
|
+
}
|
|
5075
|
+
|
|
5076
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5077
|
+
outline: 2px solid var(--color-border-focus);
|
|
5078
|
+
outline-offset: 2px;
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
/* Sizes — heights align with Button md/lg */
|
|
5082
|
+
.muka-social-sign-in-button--md {
|
|
5083
|
+
padding: 0 var(--button-padding-md-x);
|
|
5084
|
+
border-radius: var(--button-radius-md);
|
|
5085
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5086
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5087
|
+
min-height: 40px;
|
|
5088
|
+
min-width: 240px;
|
|
5089
|
+
}
|
|
5090
|
+
|
|
5091
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5092
|
+
padding: 0 var(--button-gap-md);
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5096
|
+
width: var(--button-icon-md);
|
|
5097
|
+
height: var(--button-icon-md);
|
|
5098
|
+
}
|
|
5099
|
+
|
|
5100
|
+
.muka-social-sign-in-button--lg {
|
|
5101
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5102
|
+
border-radius: var(--button-radius-lg);
|
|
5103
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5104
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5105
|
+
min-height: 48px;
|
|
5106
|
+
min-width: 280px;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5110
|
+
padding: 0 var(--button-gap-lg);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5114
|
+
width: var(--button-icon-lg);
|
|
5115
|
+
height: var(--button-icon-lg);
|
|
5116
|
+
}
|
|
5117
|
+
|
|
5118
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5119
|
+
.muka-social-sign-in-button--white {
|
|
5120
|
+
background-color: var(--ssi-white);
|
|
5121
|
+
color: var(--ssi-black);
|
|
5122
|
+
border-color: var(--ssi-black);
|
|
5123
|
+
}
|
|
5124
|
+
|
|
5125
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5126
|
+
color: var(--ssi-google-text-light);
|
|
5127
|
+
}
|
|
5128
|
+
|
|
5129
|
+
/* Black lockup — for light surfaces */
|
|
5130
|
+
.muka-social-sign-in-button--black {
|
|
5131
|
+
background-color: var(--ssi-black);
|
|
5132
|
+
color: var(--ssi-white);
|
|
5133
|
+
border-color: transparent;
|
|
5134
|
+
}
|
|
5135
|
+
|
|
5136
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5137
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5138
|
+
filter: brightness(0.92);
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5142
|
+
filter: brightness(0.85);
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5145
|
+
.muka-social-sign-in-button:disabled,
|
|
5146
|
+
.muka-social-sign-in-button--disabled {
|
|
5147
|
+
cursor: not-allowed;
|
|
5148
|
+
opacity: 0.4;
|
|
5149
|
+
pointer-events: none;
|
|
5150
|
+
filter: none;
|
|
5151
|
+
}
|
|
5152
|
+
|
|
5153
|
+
.muka-social-sign-in-button--full-width {
|
|
5154
|
+
width: 100%;
|
|
5155
|
+
min-width: 0;
|
|
5156
|
+
}
|
|
5157
|
+
|
|
5158
|
+
.muka-social-sign-in-button__icon {
|
|
5159
|
+
display: inline-flex;
|
|
5160
|
+
align-items: center;
|
|
5161
|
+
justify-content: center;
|
|
5162
|
+
flex-shrink: 0;
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
.muka-social-sign-in-button__icon > *,
|
|
5166
|
+
.muka-social-sign-in-button__icon svg {
|
|
5167
|
+
width: auto;
|
|
5168
|
+
height: 100%;
|
|
5169
|
+
max-width: 100%;
|
|
5170
|
+
display: block;
|
|
5171
|
+
}
|
|
5172
|
+
|
|
5173
|
+
.muka-social-sign-in-button__label {
|
|
5174
|
+
display: inline-flex;
|
|
5175
|
+
align-items: center;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
|
|
5029
5179
|
/* Skeleton */
|
|
5030
5180
|
/* Skeleton Component Styles */
|
|
5031
5181
|
|
|
@@ -9023,7 +9173,8 @@ li.muka-listitem {
|
|
|
9023
9173
|
height: var(--icon-size-default);
|
|
9024
9174
|
}
|
|
9025
9175
|
|
|
9026
|
-
.muka-input__clear
|
|
9176
|
+
.muka-input__clear,
|
|
9177
|
+
.muka-input__reveal {
|
|
9027
9178
|
display: inline-flex;
|
|
9028
9179
|
align-items: center;
|
|
9029
9180
|
justify-content: center;
|
|
@@ -9037,7 +9188,8 @@ li.muka-listitem {
|
|
|
9037
9188
|
cursor: pointer;
|
|
9038
9189
|
}
|
|
9039
9190
|
|
|
9040
|
-
.muka-input__field--sm .muka-input__clear
|
|
9191
|
+
.muka-input__field--sm .muka-input__clear,
|
|
9192
|
+
.muka-input__field--sm .muka-input__reveal {
|
|
9041
9193
|
width: var(--size-xl, 1.5rem);
|
|
9042
9194
|
height: var(--size-xl, 1.5rem);
|
|
9043
9195
|
}
|
|
@@ -9046,14 +9198,19 @@ li.muka-listitem {
|
|
|
9046
9198
|
.muka-input__icon .muka-icon,
|
|
9047
9199
|
.muka-input__clear .muka-icon,
|
|
9048
9200
|
.muka-input__clear:hover,
|
|
9049
|
-
.muka-input__clear:hover .muka-icon
|
|
9201
|
+
.muka-input__clear:hover .muka-icon,
|
|
9202
|
+
.muka-input__reveal .muka-icon,
|
|
9203
|
+
.muka-input__reveal:hover,
|
|
9204
|
+
.muka-input__reveal:hover .muka-icon {
|
|
9050
9205
|
color: var(--color-text-subtle-default);
|
|
9051
9206
|
}
|
|
9052
9207
|
|
|
9053
9208
|
.muka-input__field--disabled .muka-input__icon,
|
|
9054
9209
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
9055
9210
|
.muka-input__field--disabled .muka-input__clear,
|
|
9056
|
-
.muka-input__field--disabled .muka-input__clear .muka-icon
|
|
9211
|
+
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
9212
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
9213
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
9057
9214
|
color: var(--input-field-color-disabled-foreground);
|
|
9058
9215
|
}
|
|
9059
9216
|
|
|
@@ -4994,6 +4994,156 @@ body {
|
|
|
4994
4994
|
}
|
|
4995
4995
|
|
|
4996
4996
|
|
|
4997
|
+
/* SocialSignInButton */
|
|
4998
|
+
/*
|
|
4999
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5000
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5001
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5002
|
+
*
|
|
5003
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5004
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5005
|
+
*/
|
|
5006
|
+
.muka-social-sign-in-button {
|
|
5007
|
+
--ssi-white: #ffffff;
|
|
5008
|
+
--ssi-black: #000000;
|
|
5009
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5010
|
+
|
|
5011
|
+
display: inline-flex;
|
|
5012
|
+
align-items: center;
|
|
5013
|
+
justify-content: center;
|
|
5014
|
+
|
|
5015
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5016
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5017
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5018
|
+
font-family: inherit;
|
|
5019
|
+
font-weight: 600;
|
|
5020
|
+
text-decoration: none;
|
|
5021
|
+
white-space: nowrap;
|
|
5022
|
+
|
|
5023
|
+
border: 1px solid transparent;
|
|
5024
|
+
cursor: pointer;
|
|
5025
|
+
user-select: none;
|
|
5026
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5027
|
+
|
|
5028
|
+
outline: none;
|
|
5029
|
+
position: relative;
|
|
5030
|
+
box-sizing: border-box;
|
|
5031
|
+
}
|
|
5032
|
+
|
|
5033
|
+
.muka-social-sign-in-button--apple {
|
|
5034
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5035
|
+
Helvetica, Arial, sans-serif;
|
|
5036
|
+
font-weight: 600;
|
|
5037
|
+
}
|
|
5038
|
+
|
|
5039
|
+
.muka-social-sign-in-button--google {
|
|
5040
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5041
|
+
font-weight: 500;
|
|
5042
|
+
}
|
|
5043
|
+
|
|
5044
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5045
|
+
outline: 2px solid var(--color-border-focus);
|
|
5046
|
+
outline-offset: 2px;
|
|
5047
|
+
}
|
|
5048
|
+
|
|
5049
|
+
/* Sizes — heights align with Button md/lg */
|
|
5050
|
+
.muka-social-sign-in-button--md {
|
|
5051
|
+
padding: 0 var(--button-padding-md-x);
|
|
5052
|
+
border-radius: var(--button-radius-md);
|
|
5053
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5054
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5055
|
+
min-height: 40px;
|
|
5056
|
+
min-width: 240px;
|
|
5057
|
+
}
|
|
5058
|
+
|
|
5059
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5060
|
+
padding: 0 var(--button-gap-md);
|
|
5061
|
+
}
|
|
5062
|
+
|
|
5063
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5064
|
+
width: var(--button-icon-md);
|
|
5065
|
+
height: var(--button-icon-md);
|
|
5066
|
+
}
|
|
5067
|
+
|
|
5068
|
+
.muka-social-sign-in-button--lg {
|
|
5069
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5070
|
+
border-radius: var(--button-radius-lg);
|
|
5071
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5072
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5073
|
+
min-height: 48px;
|
|
5074
|
+
min-width: 280px;
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5078
|
+
padding: 0 var(--button-gap-lg);
|
|
5079
|
+
}
|
|
5080
|
+
|
|
5081
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5082
|
+
width: var(--button-icon-lg);
|
|
5083
|
+
height: var(--button-icon-lg);
|
|
5084
|
+
}
|
|
5085
|
+
|
|
5086
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5087
|
+
.muka-social-sign-in-button--white {
|
|
5088
|
+
background-color: var(--ssi-white);
|
|
5089
|
+
color: var(--ssi-black);
|
|
5090
|
+
border-color: var(--ssi-black);
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5093
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5094
|
+
color: var(--ssi-google-text-light);
|
|
5095
|
+
}
|
|
5096
|
+
|
|
5097
|
+
/* Black lockup — for light surfaces */
|
|
5098
|
+
.muka-social-sign-in-button--black {
|
|
5099
|
+
background-color: var(--ssi-black);
|
|
5100
|
+
color: var(--ssi-white);
|
|
5101
|
+
border-color: transparent;
|
|
5102
|
+
}
|
|
5103
|
+
|
|
5104
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5105
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5106
|
+
filter: brightness(0.92);
|
|
5107
|
+
}
|
|
5108
|
+
|
|
5109
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5110
|
+
filter: brightness(0.85);
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
.muka-social-sign-in-button:disabled,
|
|
5114
|
+
.muka-social-sign-in-button--disabled {
|
|
5115
|
+
cursor: not-allowed;
|
|
5116
|
+
opacity: 0.4;
|
|
5117
|
+
pointer-events: none;
|
|
5118
|
+
filter: none;
|
|
5119
|
+
}
|
|
5120
|
+
|
|
5121
|
+
.muka-social-sign-in-button--full-width {
|
|
5122
|
+
width: 100%;
|
|
5123
|
+
min-width: 0;
|
|
5124
|
+
}
|
|
5125
|
+
|
|
5126
|
+
.muka-social-sign-in-button__icon {
|
|
5127
|
+
display: inline-flex;
|
|
5128
|
+
align-items: center;
|
|
5129
|
+
justify-content: center;
|
|
5130
|
+
flex-shrink: 0;
|
|
5131
|
+
}
|
|
5132
|
+
|
|
5133
|
+
.muka-social-sign-in-button__icon > *,
|
|
5134
|
+
.muka-social-sign-in-button__icon svg {
|
|
5135
|
+
width: auto;
|
|
5136
|
+
height: 100%;
|
|
5137
|
+
max-width: 100%;
|
|
5138
|
+
display: block;
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
.muka-social-sign-in-button__label {
|
|
5142
|
+
display: inline-flex;
|
|
5143
|
+
align-items: center;
|
|
5144
|
+
}
|
|
5145
|
+
|
|
5146
|
+
|
|
4997
5147
|
/* Skeleton */
|
|
4998
5148
|
/* Skeleton Component Styles */
|
|
4999
5149
|
|
|
@@ -8991,7 +9141,8 @@ li.muka-listitem {
|
|
|
8991
9141
|
height: var(--icon-size-default);
|
|
8992
9142
|
}
|
|
8993
9143
|
|
|
8994
|
-
.muka-input__clear
|
|
9144
|
+
.muka-input__clear,
|
|
9145
|
+
.muka-input__reveal {
|
|
8995
9146
|
display: inline-flex;
|
|
8996
9147
|
align-items: center;
|
|
8997
9148
|
justify-content: center;
|
|
@@ -9005,7 +9156,8 @@ li.muka-listitem {
|
|
|
9005
9156
|
cursor: pointer;
|
|
9006
9157
|
}
|
|
9007
9158
|
|
|
9008
|
-
.muka-input__field--sm .muka-input__clear
|
|
9159
|
+
.muka-input__field--sm .muka-input__clear,
|
|
9160
|
+
.muka-input__field--sm .muka-input__reveal {
|
|
9009
9161
|
width: var(--size-xl, 1.5rem);
|
|
9010
9162
|
height: var(--size-xl, 1.5rem);
|
|
9011
9163
|
}
|
|
@@ -9014,14 +9166,19 @@ li.muka-listitem {
|
|
|
9014
9166
|
.muka-input__icon .muka-icon,
|
|
9015
9167
|
.muka-input__clear .muka-icon,
|
|
9016
9168
|
.muka-input__clear:hover,
|
|
9017
|
-
.muka-input__clear:hover .muka-icon
|
|
9169
|
+
.muka-input__clear:hover .muka-icon,
|
|
9170
|
+
.muka-input__reveal .muka-icon,
|
|
9171
|
+
.muka-input__reveal:hover,
|
|
9172
|
+
.muka-input__reveal:hover .muka-icon {
|
|
9018
9173
|
color: var(--color-text-subtle-default);
|
|
9019
9174
|
}
|
|
9020
9175
|
|
|
9021
9176
|
.muka-input__field--disabled .muka-input__icon,
|
|
9022
9177
|
.muka-input__field--disabled .muka-input__icon .muka-icon,
|
|
9023
9178
|
.muka-input__field--disabled .muka-input__clear,
|
|
9024
|
-
.muka-input__field--disabled .muka-input__clear .muka-icon
|
|
9179
|
+
.muka-input__field--disabled .muka-input__clear .muka-icon,
|
|
9180
|
+
.muka-input__field--disabled .muka-input__reveal,
|
|
9181
|
+
.muka-input__field--disabled .muka-input__reveal .muka-icon {
|
|
9025
9182
|
color: var(--input-field-color-disabled-foreground);
|
|
9026
9183
|
}
|
|
9027
9184
|
|