@snokam/ui 7.2.0 → 7.2.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.2.1](https://github.com/snokam/components/compare/@snokam/ui@7.2.0...@snokam/ui@7.2.1) (2026-11-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **ui:** keep dropzone remove-button icon readable in dark mode ([#3118](https://github.com/snokam/components/issues/3118)) ([6b2122a](https://github.com/snokam/components/commit/6b2122a98254eb744b5abdcf50afa4d29617788c)), closes [#e1f8](https://github.com/snokam/components/issues/e1f8)
11
+
6
12
  # [7.2.0](https://github.com/snokam/components/compare/@snokam/ui@7.1.0...@snokam/ui@7.2.0) (2026-11-02)
7
13
 
8
14
  ### Features
@@ -74,6 +74,10 @@ export const RemoveButton = styled(IconButton) `
74
74
  top: 8px;
75
75
  right: 8px;
76
76
  background-color: rgba(255, 255, 255, 0.8);
77
+ /* Button background stays light in every theme, so keep the icon dark
78
+ regardless of [data-theme="dark"]. Previously this flipped to
79
+ --color-light-blue in dark mode, which is a pale blue (#e1f8ff) on a
80
+ near-white button background \u2014 effectively invisible. */
77
81
  color: var(--color-primary);
78
82
  transition: background-color 0.2s;
79
83
 
@@ -85,9 +89,5 @@ export const RemoveButton = styled(IconButton) `
85
89
  opacity: 0.5;
86
90
  cursor: not-allowed;
87
91
  }
88
-
89
- [data-theme="dark"] & {
90
- color: var(--color-light-blue);
91
- }
92
92
  `;
93
93
  //# sourceMappingURL=SingleFilePreview.styles.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snokam/ui",
3
3
  "description": "Snøkam UI library — the single MUI seam. Apps import from here, never from @mui directly.",
4
- "version": "7.2.0",
4
+ "version": "7.2.1",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
7
7
  "files": [