@dataworkz/crystal 0.1.0-beta.3 → 0.1.0-beta.5
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 +31 -0
- package/fesm2022/dataworkz-crystal-icons.mjs +1 -1
- package/fesm2022/dataworkz-crystal-icons.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal-primeng.mjs +10 -3
- package/fesm2022/dataworkz-crystal-primeng.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal.mjs +79 -24
- package/fesm2022/dataworkz-crystal.mjs.map +1 -1
- package/icons/index.d.ts +1 -1
- package/index.d.ts +50 -17
- package/package.json +1 -1
- package/primeng/index.d.ts +14 -3
- package/styles/components/form.css +2 -1
- package/styles/components/overlay.css +16 -1
- package/styles/crystal-no-fonts.css +1 -1
- package/styles/icons.css +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this package. Versions follow [semver](https://semver.org); betas may still change the API.
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.5 — 2026-11-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- `dwTooltipVariant="preview"`: a long value shown whole, up to 720 × 340px, then scrolled (line breaks kept). Pair it
|
|
9
|
+
with `dwTooltipInteractive` so the pointer can scroll it.
|
|
10
|
+
- `dw-select` / `dw-multiselect` `baseZIndex`: stacks the list above a layer that sets its own z-index (as dw-dialog /
|
|
11
|
+
dw-drawer / dw-popover's `baseZIndex`).
|
|
12
|
+
- `dw-checkbox` `option`: one box of a set that fills one array (ticked while the array holds the option; a click adds
|
|
13
|
+
or removes it). `DwCheckboxComponent` is generic (`<T = boolean>`); a plain checkbox is unchanged.
|
|
14
|
+
- `DW_PRIMENG_Z_INDEX`, the z-index bases `provideCrystalPrimeNG()` installs.
|
|
15
|
+
- `styles/icons.css`: the PrimeIcons font on its own, for an app that imports crystal's styles file by file (crystal.css
|
|
16
|
+
and crystal-no-fonts.css import it). With it, an app drops primeicons from its own package.json and build.
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
- Tooltips stack from a 5000 base instead of PrimeNG's 1100, so they also clear layers that set their own z-index (they
|
|
20
|
+
already cleared PrimeNG's own overlays). An app's `zIndex` setting still wins. The `code` variant's CSS `z-index`
|
|
21
|
+
(which PrimeNG's inline z-index always overrode) is gone.
|
|
22
|
+
|
|
23
|
+
## 0.1.0-beta.4 — 2026-11-04
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- `dw-select` / `dw-multiselect` `open()` and `close()`: open the list from code (an editable select whose text opens it).
|
|
27
|
+
- `[dwTooltipInteractive]`: the tooltip stays open while the pointer moves onto it, so its text can be copied.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
- `dw-field` gives a `dw-select`, `dw-multiselect` or `dw-number-input` its full width, as it did the PrimeNG controls.
|
|
31
|
+
- `dw-switch`, `dw-radio`, `dw-number-input` and `dw-multiselect` no longer take focus when a page opens (and scroll it to
|
|
32
|
+
themselves): PrimeNG's AutoFocus put `autofocus="true"` on their input unless told `false`.
|
|
33
|
+
- The form controls drive their PrimeNG control without subscribing to PrimeNG's own signals: a write that changed one
|
|
34
|
+
of them could have re-run the write without end.
|
|
35
|
+
|
|
5
36
|
## 0.1.0-beta.3 — 2026-11-04
|
|
6
37
|
|
|
7
38
|
The first step of taking PrimeNG out of apps (docs/PRIMENG-REMOVAL.md): crystal's own form controls, and crystal owns
|
|
@@ -361,7 +361,7 @@ const MIME_BY_EXTENSION = {
|
|
|
361
361
|
m4a: 'audio/m4a',
|
|
362
362
|
flac: 'audio/flac',
|
|
363
363
|
};
|
|
364
|
-
/** File-type icons, inlined as data URIs (icons/svg/files
|
|
364
|
+
/** File-type icons, inlined as data URIs (icons/svg/files/`<key>`.svg). */
|
|
365
365
|
const FILE_TYPE_ICON_PATHS = {
|
|
366
366
|
word: DW_LOGO_URIS['files/word'],
|
|
367
367
|
text: DW_LOGO_URIS['files/text'],
|