@keeper-security/keeper-js-ui 0.25.0 → 0.25.2

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 (35) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +13 -0
  3. package/dist/index.cjs +6 -6
  4. package/dist/index.js +2029 -2025
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/ui/button.d.ts +1 -1
  7. package/dist/types/components/ui/dropdown-menu.d.ts +1 -1
  8. package/dist/types/components/ui/icon.d.ts +8 -2
  9. package/dist/types/components/ui/icon.d.ts.map +1 -1
  10. package/dist/types/components/ui/list.d.ts +1 -1
  11. package/dist/types/components/ui/loader.d.ts +1 -1
  12. package/dist/types/components/ui/typography.d.ts +1 -1
  13. package/dist/types/components/ui/typography.d.ts.map +1 -1
  14. package/dist/types/icons/docker-brand.d.ts +3 -0
  15. package/dist/types/icons/docker-brand.d.ts.map +1 -0
  16. package/dist/types/icons/docker-logo.d.ts.map +1 -1
  17. package/dist/types/icons/folder-share-outline.d.ts.map +1 -1
  18. package/dist/types/icons/index.d.ts +5 -0
  19. package/dist/types/icons/index.d.ts.map +1 -1
  20. package/dist/types/icons/kubernetes-brand.d.ts +3 -0
  21. package/dist/types/icons/kubernetes-brand.d.ts.map +1 -0
  22. package/dist/types/icons/mysql-brand.d.ts +3 -0
  23. package/dist/types/icons/mysql-brand.d.ts.map +1 -0
  24. package/dist/types/icons/mysql-logo.d.ts.map +1 -1
  25. package/dist/types/icons/postgres-brand.d.ts +3 -0
  26. package/dist/types/icons/postgres-brand.d.ts.map +1 -0
  27. package/dist/types/icons/vnc-brand.d.ts +3 -0
  28. package/dist/types/icons/vnc-brand.d.ts.map +1 -0
  29. package/dist/types/lib/utils.d.ts +3 -2
  30. package/dist/types/lib/utils.d.ts.map +1 -1
  31. package/dist/types/tokens/color.d.ts +37 -91
  32. package/dist/types/tokens/color.d.ts.map +1 -1
  33. package/dist/types/tokens/color.fixtures.d.ts +138 -0
  34. package/dist/types/tokens/color.fixtures.d.ts.map +1 -0
  35. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.25.2](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.25.1...v0.25.2) (2026-05-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Icon:** distinguish between brand and logo icons ([#562](https://github.com/Keeper-Security/keeper-js-ui/issues/562)) ([ecf7e75](https://github.com/Keeper-Security/keeper-js-ui/commit/ecf7e75c8e44cef580e95ca1cd03986dc49db3fb))
9
+ * **Icon:** include Typography color mapping ([#557](https://github.com/Keeper-Security/keeper-js-ui/issues/557)) ([7e11965](https://github.com/Keeper-Security/keeper-js-ui/commit/7e11965e71060d9aae5191081fb4ff197d62ac6a))
10
+ * **Input:** adjust IconButton alignments ([#564](https://github.com/Keeper-Security/keeper-js-ui/issues/564)) ([890882a](https://github.com/Keeper-Security/keeper-js-ui/commit/890882a716032a1c4d89df03dc618da9f0dc2730)), closes [#563](https://github.com/Keeper-Security/keeper-js-ui/issues/563)
11
+
12
+ ## [0.25.1](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.25.0...v0.25.1) (2026-05-13)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **Icon:** update to use legacy-named icon ([#558](https://github.com/Keeper-Security/keeper-js-ui/issues/558)) ([a521bc4](https://github.com/Keeper-Security/keeper-js-ui/commit/a521bc40f95a163927fc16ce29cdf87778ab251f))
18
+
3
19
  ## [0.25.0](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.24.0...v0.25.0) (2026-05-12)
4
20
 
5
21
 
package/README.md CHANGED
@@ -218,6 +218,19 @@ and allow enough time for migration before removal.
218
218
  export { MyNewExampleIcon } from '@/icons/my-new-example'
219
219
  ```
220
220
 
221
+ ### Icon Naming Conventions
222
+
223
+ - All files are located in `/src/icons`.
224
+ - All publicly available icons must be added to `/src/icons/index.ts`.
225
+ - A **logo** icon represents a company.
226
+ - Filename: `*-logo.tsx`.
227
+ - All logo icons must be be able to inherit the `currentColor` or define a semantic color.
228
+ - A logo icon should include `logo` in its `alias` array.
229
+ - A **brand** icon represents a company and preserves brand color.
230
+ - Filename: `*-brand.tsx`.
231
+ - All brand icons must not change their color in any way. Using `color` should cause a TS error.
232
+ - A brand icon should include `brand` and `logo` in its `alias` array.
233
+
221
234
  ## Testing
222
235
 
223
236
  The [Vitest addon](https://storybook.js.org/docs/writing-tests/integrations/vitest-addon) will run smoke tests and unit tests with the command: `npm test`.