@shoplflow/base 0.43.2 → 0.44.0

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/dist/index.cjs CHANGED
@@ -4295,14 +4295,10 @@ var StyledSelectInputButton = styled6__default.default.div`
4295
4295
  align-items: center;
4296
4296
  justify-content: space-between;
4297
4297
  width: 100%;
4298
- background: ${exports.colorTokens.neutral0};
4298
+ background: ${({ disabled }) => disabled ? exports.colorTokens.neutral100 : exports.colorTokens.neutral0};
4299
4299
  gap: 4px;
4300
- padding: ${({ sizeVar }) => sizeVar === "M" ? "4px 12px" : "0 8px"};
4301
- cursor: pointer;
4302
- ${({ disabled }) => disabled && react$1.css`
4303
- background-color: ${exports.colorTokens.neutral100};
4304
- cursor: not-allowed;
4305
- `}
4300
+ padding: ${({ sizeVar }) => sizeVar === "M" ? "4px 4px 4px 12px" : "0 8px"};
4301
+ cursor: ${({ disabled }) => disabled ? "not-allowed" : "pointer"};
4306
4302
  `;
4307
4303
  var SelectInputButton = (_a) => {
4308
4304
  var _b = _a, {
package/dist/index.js CHANGED
@@ -4268,14 +4268,10 @@ var StyledSelectInputButton = styled6.div`
4268
4268
  align-items: center;
4269
4269
  justify-content: space-between;
4270
4270
  width: 100%;
4271
- background: ${colorTokens.neutral0};
4271
+ background: ${({ disabled }) => disabled ? colorTokens.neutral100 : colorTokens.neutral0};
4272
4272
  gap: 4px;
4273
- padding: ${({ sizeVar }) => sizeVar === "M" ? "4px 12px" : "0 8px"};
4274
- cursor: pointer;
4275
- ${({ disabled }) => disabled && css`
4276
- background-color: ${colorTokens.neutral100};
4277
- cursor: not-allowed;
4278
- `}
4273
+ padding: ${({ sizeVar }) => sizeVar === "M" ? "4px 4px 4px 12px" : "0 8px"};
4274
+ cursor: ${({ disabled }) => disabled ? "not-allowed" : "pointer"};
4279
4275
  `;
4280
4276
  var SelectInputButton = (_a) => {
4281
4277
  var _b = _a, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/base",
3
- "version": "0.43.2",
3
+ "version": "0.44.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",