@keeper-security/keeper-js-ui 0.23.0 → 0.24.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/CHANGELOG.md +21 -0
- package/README.md +24 -7
- package/dist/index.cjs +6 -6
- package/dist/index.js +3303 -3186
- package/dist/style.css +1 -1
- package/dist/types/components/ui/indicator.d.ts +20 -0
- package/dist/types/components/ui/indicator.d.ts.map +1 -0
- package/dist/types/components/ui/label.d.ts.map +1 -1
- package/dist/types/components/ui/list.d.ts +1 -0
- package/dist/types/components/ui/list.d.ts.map +1 -1
- package/dist/types/components/ui/scroll-area.d.ts.map +1 -1
- package/dist/types/components/ui/typography.d.ts +1 -1
- package/dist/types/components/ui/typography.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/tokens/color.d.ts +1 -19
- package/dist/types/tokens/color.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.0](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.23.1...v0.24.0) (2026-05-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **Indicator:** add component to library ([#536](https://github.com/Keeper-Security/keeper-js-ui/issues/536)) ([f36e3a6](https://github.com/Keeper-Security/keeper-js-ui/commit/f36e3a6b5584f1c42d712146642a36d7f970d203))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **ListItemText:** adjust font-size in compact density ([#547](https://github.com/Keeper-Security/keeper-js-ui/issues/547)) ([d895bd1](https://github.com/Keeper-Security/keeper-js-ui/commit/d895bd1bc7a1d72a4882f720479bc9a95e421872))
|
|
14
|
+
|
|
15
|
+
## [0.23.1](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.23.0...v0.23.1) (2026-05-05)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **Input:** fix spacing and forced-color matches ([#542](https://github.com/Keeper-Security/keeper-js-ui/issues/542)) ([04c2f9b](https://github.com/Keeper-Security/keeper-js-ui/commit/04c2f9be9c0501652e10b841586d4c131f4c8035))
|
|
21
|
+
* **ScrollArea:** remove horizontal css rule causing overflow ([#543](https://github.com/Keeper-Security/keeper-js-ui/issues/543)) ([b5d6411](https://github.com/Keeper-Security/keeper-js-ui/commit/b5d641174bd2bac6254c898ff28b3f28472bfe30)), closes [#541](https://github.com/Keeper-Security/keeper-js-ui/issues/541)
|
|
22
|
+
* **Typography:** use text colors instead of surface colors ([#539](https://github.com/Keeper-Security/keeper-js-ui/issues/539)) ([c1bf789](https://github.com/Keeper-Security/keeper-js-ui/commit/c1bf78910686eabf306eb4a7e2c02b52368edb9f))
|
|
23
|
+
|
|
3
24
|
## [0.23.0](https://github.com/Keeper-Security/keeper-js-ui/compare/v0.22.1...v0.23.0) (2026-04-29)
|
|
4
25
|
|
|
5
26
|
|
package/README.md
CHANGED
|
@@ -149,6 +149,22 @@ Your best bet is to use one of [Windows' High Contrast Themes](https://learn.mic
|
|
|
149
149
|
4. Select `Emulate CSS forced-colors: active`.
|
|
150
150
|
5. To deactivate, repeat the `Run` command but select `Do not emulate CSS forced-colors`.
|
|
151
151
|
|
|
152
|
+
## Deprecating Components, Props, and Values
|
|
153
|
+
|
|
154
|
+
While we strive for stable APIs, mistakes happen. The goal of a deprecation
|
|
155
|
+
is to inform consumers that something has changed, provide an alternative,
|
|
156
|
+
and allow enough time for migration before removal.
|
|
157
|
+
|
|
158
|
+
### Deprecating an Entire Component
|
|
159
|
+
|
|
160
|
+
### Deprecating a Prop
|
|
161
|
+
|
|
162
|
+
### Deprecating a Value
|
|
163
|
+
|
|
164
|
+
### Runtime Warnings (Optional)
|
|
165
|
+
|
|
166
|
+
### Commit, Changelog, and PR
|
|
167
|
+
|
|
152
168
|
## Adding Icons
|
|
153
169
|
|
|
154
170
|
1. Create a `.tsx` file in `src/icons`.
|
|
@@ -507,30 +523,31 @@ A `dist` folder will be created at the root of the project. This folder is ignor
|
|
|
507
523
|
|
|
508
524
|
Before publishing, you want to make sure that external projects have access to expected components and intellisense/autocomplete still works.
|
|
509
525
|
|
|
510
|
-
[npm link](https://docs.npmjs.com/cli/v9/commands/npm-link) can be flakey, so the alternative would be run [npm pack](https://docs.npmjs.com/cli/v9/commands/npm-pack) to create a local \*.tgz file and install that file
|
|
526
|
+
[npm link](https://docs.npmjs.com/cli/v9/commands/npm-link) can be flakey, so the alternative would be run [npm pack](https://docs.npmjs.com/cli/v9/commands/npm-pack) to create a local \*.tgz file in the library and install that file into the external project importing the library.
|
|
511
527
|
|
|
512
|
-
0. (Optional): Update
|
|
513
|
-
1.
|
|
528
|
+
0. (Optional): Update the library's `package.json` version number, **_but don't commit it_**. This step is automated with the correct next version number.
|
|
529
|
+
1. From the library, run:
|
|
514
530
|
|
|
515
531
|
```sh
|
|
516
532
|
npm run build && npm pack
|
|
517
533
|
```
|
|
518
534
|
|
|
519
|
-
2. Copy the name and location of the new `*.tgz` file that was created.
|
|
520
|
-
3.
|
|
535
|
+
2. Copy the name and location of the new `*.tgz` file that was created at the root of the library.
|
|
536
|
+
3. Switch over to the project that is importing the library (e.g. Browser Extension).
|
|
537
|
+
4. Update that project's `package.json` reference to the library.
|
|
521
538
|
|
|
522
539
|
```diff
|
|
523
540
|
- "@keeper-security/keeper-js-ui": "1.0.0",
|
|
524
541
|
+ "@keeper-security/keeper-js-ui": "file://../keeper-js-ui/keeper-security-keeper-js-ui-1.0.0.tgz",
|
|
525
542
|
```
|
|
526
543
|
|
|
527
|
-
|
|
544
|
+
5. From the external project, run:
|
|
528
545
|
|
|
529
546
|
```sh
|
|
530
547
|
npm install
|
|
531
548
|
```
|
|
532
549
|
|
|
533
|
-
|
|
550
|
+
6. After testing for component behavior and availability, as well as intellisense/autocomplete and TypeScript prop validation, undo your package reference changes to `package.json` & `package-lock.json`. **_Do not commit them into your external project._**
|
|
534
551
|
|
|
535
552
|
## Publishing an NPM Package
|
|
536
553
|
|