@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.
Files changed (2) hide show
  1. package/index.js +58 -12
  2. 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
- const Container = /*#__PURE__*/styled.div.withConfig({
1096
- displayName: "atoms-buttonstyles__Container",
1097
- componentId: "i4bzba-0"
1098
- })(["display:flex;align-items:center;gap:", ";.left-img-btn,.right-img-btn,svg{width:", ";height:", ";}"], ({
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 = /*#__PURE__*/styled.button.withConfig({
1109
- displayName: "atoms-buttonstyles__Button",
1110
- componentId: "i4bzba-1"
1111
- })(["background-color:", ";border-radius:", ";border:1px solid ", ";box-shadow:", ";color:", ";fill:", ";padding:", ";:active:enabled{background-color:", ";border:1px solid ", ";color:", ";fill:", ";}:disabled{background-color:", ";border:1px solid ", ";color:", ";fill:", ";}:hover:enabled{background-color:", ";border:1px solid ", ";color:", ";fill:", ";}"], ({
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 = /*#__PURE__*/styled.label.withConfig({
1175
- displayName: "atoms-buttonstyles__ButtonTitle",
1176
- componentId: "i4bzba-2"
1177
- })(["font-size:", ";font-weight:", ";letter-spacing:", ";line-height:", ";text-decoration:", ";text-indent:", ";text-transform:", ";"], ({
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-button",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "module": "./index.js",
5
5
  "main": "./index.js",
6
6
  "type": "module",