@bolttech/atoms-button 0.26.2 → 0.27.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.
Files changed (2) hide show
  1. package/index.cjs +7 -4
  2. package/package.json +5 -5
package/index.cjs CHANGED
@@ -1138,7 +1138,7 @@ const Container = /*#__PURE__*/styled__default["default"].div.withConfig({
1138
1138
  const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
1139
1139
  displayName: "atoms-buttonstyles__Button",
1140
1140
  componentId: "sc-i4bzba-1"
1141
- })(["height:fit-content;background-color:", ";border-radius:", ";border:", " solid ", ";box-shadow:", ";color:", ";padding:", ";label.material-symbols-sharp{color:", ";}&:disabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}&:active:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}&:hover:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}", ""], ({
1141
+ })(["height:fit-content;background-color:", ";border-radius:", ";border:", " solid ", ";box-shadow:", ";color:", ";padding:", ";label.material-symbols-sharp{color:", ";}&:disabled{background-color:", ";border:", ";color:", ";label.material-symbols-sharp{color:", ";}}&:active:enabled{background-color:", ";border:", ";color:", ";label.material-symbols-sharp{color:", ";}}&:hover:enabled{background-color:", ";border:", ";color:", ";label.material-symbols-sharp{color:", ";}}", ""], ({
1142
1142
  theme,
1143
1143
  $variant
1144
1144
  }) => theme.components.button[$variant].container.color.default, ({
@@ -1172,7 +1172,8 @@ const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
1172
1172
  }) => theme.components.button[$variant].container.color.disable, ({
1173
1173
  theme,
1174
1174
  $variant
1175
- }) => theme.components.button[$variant].container.border.disable, ({
1175
+ }) => `${theme.components.button.borderWidth.default} solid
1176
+ ${theme.components.button[$variant].container.border.disable}`, ({
1176
1177
  theme,
1177
1178
  $variant
1178
1179
  }) => theme.components.button[$variant].text.color.disable, ({
@@ -1184,7 +1185,8 @@ const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
1184
1185
  }) => theme.components.button[$variant].container.color.active, ({
1185
1186
  theme,
1186
1187
  $variant
1187
- }) => theme.components.button[$variant].container.border.active, ({
1188
+ }) => `${theme.components.button.borderWidth.default} solid
1189
+ ${theme.components.button[$variant].container.border.active}`, ({
1188
1190
  theme,
1189
1191
  $variant
1190
1192
  }) => theme.components.button[$variant].text.color.active, ({
@@ -1196,7 +1198,8 @@ const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
1196
1198
  }) => theme.components.button[$variant].container.color.hover, ({
1197
1199
  theme,
1198
1200
  $variant
1199
- }) => theme.components.button[$variant].container.border.hover, ({
1201
+ }) => `${theme.components.button.borderWidth.default} solid
1202
+ ${theme.components.button[$variant].container.border.hover}`, ({
1200
1203
  theme,
1201
1204
  $variant
1202
1205
  }) => theme.components.button[$variant].text.color.hover, ({
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-button",
3
- "version": "0.26.2",
3
+ "version": "0.27.1",
4
4
  "main": "./index.cjs",
5
5
  "type": "commonjs",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@bolttech/atoms-icon": "0.22.1",
9
- "@bolttech/default-theme": "0.7.0",
10
- "@bolttech/frontend-foundations": "0.8.2",
11
- "@bolttech/ui-utils": "0.3.0",
8
+ "@bolttech/atoms-icon": "0.23.0",
9
+ "@bolttech/default-theme": "0.8.0",
10
+ "@bolttech/frontend-foundations": "0.9.4",
11
+ "@bolttech/ui-utils": "0.4.0",
12
12
  "react": "18.2.0",
13
13
  "styled-components": "6.1.1"
14
14
  },