@bolttech/atoms-button 0.2.1 → 0.2.3
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/index.js +58 -12
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1092,10 +1092,21 @@ var SizeVariant;
|
|
|
1092
1092
|
SizeVariant["ghost"] = "ghost";
|
|
1093
1093
|
})(SizeVariant || (SizeVariant = {}));
|
|
1094
1094
|
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1095
|
+
let _ = t => t,
|
|
1096
|
+
_t,
|
|
1097
|
+
_t2,
|
|
1098
|
+
_t3;
|
|
1099
|
+
const Container = styled.div(_t || (_t = _`
|
|
1100
|
+
display: flex;
|
|
1101
|
+
align-items: center;
|
|
1102
|
+
gap: ${0};
|
|
1103
|
+
.left-img-btn,
|
|
1104
|
+
.right-img-btn,
|
|
1105
|
+
svg {
|
|
1106
|
+
width: ${0};
|
|
1107
|
+
height: ${0};
|
|
1108
|
+
}
|
|
1109
|
+
`), ({
|
|
1099
1110
|
theme,
|
|
1100
1111
|
size
|
|
1101
1112
|
}) => theme.components.button[size].generic.gap, ({
|
|
@@ -1105,10 +1116,40 @@ const Container = /*#__PURE__*/styled.div.withConfig({
|
|
|
1105
1116
|
theme,
|
|
1106
1117
|
size
|
|
1107
1118
|
}) => theme.components.button[size].icon.size);
|
|
1108
|
-
const Button$1 =
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1119
|
+
const Button$1 = styled.button(_t2 || (_t2 = _`
|
|
1120
|
+
background-color: ${0};
|
|
1121
|
+
border-radius: ${0};
|
|
1122
|
+
border: 1px solid
|
|
1123
|
+
${0};
|
|
1124
|
+
box-shadow: ${0};
|
|
1125
|
+
color: ${0};
|
|
1126
|
+
fill: ${0};
|
|
1127
|
+
padding: ${0};
|
|
1128
|
+
|
|
1129
|
+
:active:enabled {
|
|
1130
|
+
background-color: ${0};
|
|
1131
|
+
border: 1px solid
|
|
1132
|
+
${0};
|
|
1133
|
+
color: ${0};
|
|
1134
|
+
fill: ${0};
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
:disabled {
|
|
1138
|
+
background-color: ${0};
|
|
1139
|
+
border: 1px solid
|
|
1140
|
+
${0};
|
|
1141
|
+
color: ${0};
|
|
1142
|
+
fill: ${0};
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
:hover:enabled {
|
|
1146
|
+
background-color: ${0};
|
|
1147
|
+
border: 1px solid
|
|
1148
|
+
${0};
|
|
1149
|
+
color: ${0};
|
|
1150
|
+
fill: ${0};
|
|
1151
|
+
}
|
|
1152
|
+
`), ({
|
|
1112
1153
|
theme,
|
|
1113
1154
|
variant
|
|
1114
1155
|
}) => theme.components.button[variant].container.color.default, ({
|
|
@@ -1171,10 +1212,15 @@ const Button$1 = /*#__PURE__*/styled.button.withConfig({
|
|
|
1171
1212
|
theme,
|
|
1172
1213
|
variant
|
|
1173
1214
|
}) => theme.components.button[variant].icon.color.hover);
|
|
1174
|
-
const ButtonTitle =
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1215
|
+
const ButtonTitle = styled.label(_t3 || (_t3 = _`
|
|
1216
|
+
font-size: ${0};
|
|
1217
|
+
font-weight: ${0};
|
|
1218
|
+
letter-spacing: ${0};
|
|
1219
|
+
line-height: ${0};
|
|
1220
|
+
text-decoration: ${0};
|
|
1221
|
+
text-indent: ${0};
|
|
1222
|
+
text-transform: ${0};
|
|
1223
|
+
`), ({
|
|
1178
1224
|
theme,
|
|
1179
1225
|
size,
|
|
1180
1226
|
sizeVariant
|