@trafilea/afrodita-components 5.0.0-beta.220 → 5.0.0-beta.222
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/build/index.d.ts +13 -1
- package/build/index.esm.js +6 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6 -3
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +1 -0
- package/build/theme/shapermint.theme.d.ts +1 -0
- package/build/theme/truekind.theme.d.ts +1 -0
- package/build/theme/tsd.theme.d.ts +1 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -12242,7 +12242,7 @@ var RadioGroupInput = function (_a) {
|
|
|
12242
12242
|
|
|
12243
12243
|
/* base styles & size variants */
|
|
12244
12244
|
var CustomRadioStyles = {
|
|
12245
|
-
baseStyles: function (theme, disabled) {
|
|
12245
|
+
baseStyles: function (theme, disabled, isChecked) {
|
|
12246
12246
|
return css({
|
|
12247
12247
|
borderRadius: '50%',
|
|
12248
12248
|
height: '100%',
|
|
@@ -12250,7 +12250,9 @@ var CustomRadioStyles = {
|
|
|
12250
12250
|
boxSizing: 'border-box',
|
|
12251
12251
|
borderStyle: 'solid',
|
|
12252
12252
|
background: theme.component.radio.background,
|
|
12253
|
-
borderColor:
|
|
12253
|
+
borderColor: isChecked
|
|
12254
|
+
? 'var(--colors-pallete-wine-color)'
|
|
12255
|
+
: theme.component.radio.borderColor,
|
|
12254
12256
|
});
|
|
12255
12257
|
},
|
|
12256
12258
|
small: function (theme, active) {
|
|
@@ -12310,7 +12312,7 @@ var Input$2 = newStyled.input(templateObject_2$L || (templateObject_2$L = __make
|
|
|
12310
12312
|
return (disabled ? 'not-allowed' : 'pointer');
|
|
12311
12313
|
});
|
|
12312
12314
|
var CustomRadio = newStyled.div(function (props) { return [
|
|
12313
|
-
CustomRadioStyles.baseStyles(props.theme, props.disabled),
|
|
12315
|
+
CustomRadioStyles.baseStyles(props.theme, props.disabled, props.isChecked),
|
|
12314
12316
|
CustomRadioStyles[props.size](props.theme, props.isChecked),
|
|
12315
12317
|
]; });
|
|
12316
12318
|
var StyledLabel$1 = newStyled(Label$4)(templateObject_3$B || (templateObject_3$B = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", " !important;\n &[aria-checked='true'] {\n color: var(--colors-pallete-wine-color);\n }\n"], ["\n font-size: ", ";\n line-height: ", " !important;\n &[aria-checked='true'] {\n color: var(--colors-pallete-wine-color);\n }\n"])), function (_a) {
|
|
@@ -18718,6 +18720,7 @@ exports.Bundle = Bundle;
|
|
|
18718
18720
|
exports.ButtonPrimary = ButtonPrimary;
|
|
18719
18721
|
exports.ButtonSecondary = ButtonSecondary;
|
|
18720
18722
|
exports.ButtonSecondaryOutline = ButtonSecondaryOutline;
|
|
18723
|
+
exports.BuyNowPayLater = BuyNowPayLater;
|
|
18721
18724
|
exports.Card = Card$3;
|
|
18722
18725
|
exports.CartProductItem = CartProductItem;
|
|
18723
18726
|
exports.CategoryTag = CategoryTag;
|