@bolttech/atoms-button 0.2.8 → 0.2.9
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.cjs +5 -8
- package/package.json +7 -5
package/index.cjs
CHANGED
|
@@ -1103,20 +1103,17 @@ var SizeVariant;
|
|
|
1103
1103
|
const Container = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
1104
1104
|
displayName: "atoms-buttonstyles__Container",
|
|
1105
1105
|
componentId: "i4bzba-0"
|
|
1106
|
-
})(["display:flex;align-items:center;gap:", ";.left-img-btn,.right-img-btn
|
|
1106
|
+
})(["display:flex;align-items:center;gap:", ";.left-img-btn,.right-img-btn{display:flex;label{font-size:", ";}}"], ({
|
|
1107
1107
|
theme,
|
|
1108
1108
|
size
|
|
1109
1109
|
}) => theme.components.button[size].generic.gap, ({
|
|
1110
1110
|
theme,
|
|
1111
1111
|
size
|
|
1112
|
-
}) => theme.components.button[size].icon.size, ({
|
|
1113
|
-
theme,
|
|
1114
|
-
size
|
|
1115
1112
|
}) => theme.components.button[size].icon.size);
|
|
1116
1113
|
const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
|
|
1117
1114
|
displayName: "atoms-buttonstyles__Button",
|
|
1118
1115
|
componentId: "i4bzba-1"
|
|
1119
|
-
})(["background-color:", ";border-radius:", ";border:1px solid ", ";box-shadow:", ";color:", ";
|
|
1116
|
+
})(["background-color:", ";border-radius:", ";border:1px solid ", ";box-shadow:", ";color:", ";padding:", ";label.material-symbols-sharp{color:", ";}:active:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}:disabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}:hover:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}", ""], ({
|
|
1120
1117
|
theme,
|
|
1121
1118
|
variant
|
|
1122
1119
|
}) => theme.components.button[variant].container.color.default, ({
|
|
@@ -1136,15 +1133,15 @@ const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
|
|
|
1136
1133
|
theme,
|
|
1137
1134
|
variant
|
|
1138
1135
|
}) => theme.components.button[variant].text.color.default, ({
|
|
1139
|
-
theme,
|
|
1140
|
-
variant
|
|
1141
|
-
}) => theme.components.button[variant].icon.color.default, ({
|
|
1142
1136
|
theme,
|
|
1143
1137
|
size,
|
|
1144
1138
|
sizeVariant
|
|
1145
1139
|
}) => `${theme.components.button[size][sizeVariant].paddingVertical} ${theme.components.button[size][sizeVariant].paddingHorizontal}`, ({
|
|
1146
1140
|
theme,
|
|
1147
1141
|
variant
|
|
1142
|
+
}) => theme.components.button[variant].icon.color.default, ({
|
|
1143
|
+
theme,
|
|
1144
|
+
variant
|
|
1148
1145
|
}) => theme.components.button[variant].container.color.active, ({
|
|
1149
1146
|
theme,
|
|
1150
1147
|
variant
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/atoms-button",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"
|
|
5
|
-
"@bolttech/atoms-icon": "^0.1.
|
|
6
|
-
"styled-components": "5.3.6"
|
|
3
|
+
"version": "0.2.9",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@bolttech/atoms-icon": "^0.1.8"
|
|
7
6
|
},
|
|
8
7
|
"main": "./index.cjs",
|
|
9
8
|
"type": "commonjs",
|
|
10
9
|
"types": "./src/index.d.ts",
|
|
11
|
-
"
|
|
10
|
+
"peerDependencies": {
|
|
11
|
+
"@edirect/frontend-foundations": "0.0.36",
|
|
12
|
+
"styled-components": "5.3.6"
|
|
13
|
+
}
|
|
12
14
|
}
|