@dataworkz/crystal 0.1.0-beta.2 → 0.1.0-beta.3
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 +25 -0
- package/fesm2022/dataworkz-crystal-icons.mjs.map +1 -1
- package/fesm2022/dataworkz-crystal.mjs +927 -27
- package/fesm2022/dataworkz-crystal.mjs.map +1 -1
- package/icons/index.d.ts +3 -1
- package/index.d.ts +411 -12
- package/package.json +4 -7
- package/styles/components/content.css +5 -0
- package/styles/components/form.css +31 -1
- package/styles/crystal-no-fonts.css +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
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.3 — 2026-11-04
|
|
6
|
+
|
|
7
|
+
The first step of taking PrimeNG out of apps (docs/PRIMENG-REMOVAL.md): crystal's own form controls, and crystal owns
|
|
8
|
+
PrimeNG.
|
|
9
|
+
|
|
10
|
+
### Breaking
|
|
11
|
+
- `primeng`, `@primeng/themes` and `primeicons` are crystal **dependencies**, no longer peers: an app removes them from
|
|
12
|
+
its own `package.json` (and PrimeIcons' CSS from its build: crystal's stylesheet loads it).
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
- `dwInput` on `<input>` / `<textarea>` (`DW_INPUT`): `size` (`sm|md|lg`), `fluid`, `invalid`, `autoResize`.
|
|
16
|
+
- `[dwTooltip]`: `dwTooltipPosition` (`top` by default), `dwTooltipDelay`, `dwTooltipVariant`
|
|
17
|
+
(`multiline|code|error|toolbar`), `dwTooltipDisabled`.
|
|
18
|
+
- `dw-select` (+ `dwSelectOption`, `dwSelectValue`, `dwSelectFooter` templates) and `dw-multiselect`.
|
|
19
|
+
- `dw-checkbox`, `dw-radio`, `dw-switch` (`xs|sm|md`), `dw-number-input`.
|
|
20
|
+
- All of them work with ngModel, reactive forms or `[(value)]`, show invalid once touched or dirty, emit `changed` for
|
|
21
|
+
the user's change only, and keep the look of the PrimeNG controls they replace. `DwFormControl` is their base.
|
|
22
|
+
- `dw-icon pi="<name>"`: a PrimeIcons glyph, typed by `DwPrimeIcon` (from the installed font); `spin` and `label` on
|
|
23
|
+
every dw-icon.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
- `dw-icon`'s `name` is optional (give `name` or `pi`).
|
|
27
|
+
- `dw-field` docs and every crystal story use crystal controls; `dw-field` keeps a `dw-switch` / `dw-checkbox` /
|
|
28
|
+
`dw-radio` at its own width, as it did PrimeNG's.
|
|
29
|
+
|
|
5
30
|
## 0.1.0-beta.2 — 2026-11-04
|
|
6
31
|
|
|
7
32
|
### Fixed
|