@a.nemreen/dga-ui 0.3.16 → 0.3.19

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
@@ -1,127 +1,158 @@
1
- # Changelog
2
-
3
- What changed in the packages you install. The same notes are on the live docs: [nemreen.info/dga/docs/changelog](https://nemreen.info/dga/docs/changelog).
4
-
5
- Versions below are the ones published to npm. Work that is only in this repository is listed under **Unreleased** until the next version bump.
6
-
7
- ## 2026-09-30
8
-
9
- `@a.nemreen/dga-ui` **0.3.16**
10
-
11
- ### Fixed
12
-
13
- - `@a.nemreen/dga-ui` — rich text toolbar commands stay applied. Headings, lists, quotes, alignment, links, and clear formatting render in the editor, including tags inserted while typing.
14
-
15
- ## 2026-09-29
16
-
17
- `@a.nemreen/dga-ui` **0.3.15** · `@a.nemreen/dga-tokens` **0.3.8** · `@a.nemreen/dga-dynamic-form` **0.2.5**
18
-
19
- ### Added
20
-
21
- - `@a.nemreen/dga-ui` — choice group, tree, tree select, IBAN, national ID, password strength, confirm dialog, file preview, print, offline, search bar, QR, barcode, map embed, stat strip, FAQ, event calendar, virtual list, bottom sheet, popover, rich text, signature pad, notification inbox, locale toggle, and theme toggle.
22
- - `@a.nemreen/dga-ui` — table data grid: pagination footer, column picker, row actions, debounced filters, typed sort, error and empty states, and auto, table, or cards on small screens.
23
- - `@a.nemreen/dga-ui` — icon overrides through `provideDgaIcons`, using Hugeicons instead of `@platformscode/icons`.
24
- - `@a.nemreen/dga-ui` — select and autocomplete can show a loading row, emit search for remote options, and offer a create row. Buttons can stretch with `fullWidth`. Menus have an icon appearance.
25
-
26
- ### Changed
27
-
28
- - `@a.nemreen/dga-ui` — event calendar days follow the date picker: circular days, a ring for today, a solid fill for the selected day, and no glow. The number stays readable on hover.
29
- - `@a.nemreen/dga-tokens` — `host-compat.css` lists the new component selectors so a host reset does not flatten them.
30
- - `@a.nemreen/dga-dynamic-form` — the published package now includes `CHANGELOG.md`.
31
- - Demo — lighter first load with `NgOptimizedImage`, WebP heroes, and a tighter font-loading path. Docs changelog is paginated.
32
-
33
- ### Fixed
34
-
35
- - `@a.nemreen/dga-ui` — image popup is moved to the document body so it is not painted under a sticky header or sidebar.
36
-
37
- ## 2026-09-20
38
-
39
- `@a.nemreen/dga-ui` **0.3.14** · `@a.nemreen/dga-tokens` **0.3.7**
40
-
41
- ### Added
42
-
43
- - `@a.nemreen/dga-tokens` — `DGA_FONT_STYLESHEETS` and `dgaEnsureFontStylesheet` so a font stylesheet can be injected when the user switches families.
44
- - `@a.nemreen/dga-tokens` **0.3.5** — National Day 96 brand pack.
45
-
46
- ### Changed
47
-
48
- - `@a.nemreen/dga-ui` **0.3.14** — chart, chatbot, page transition, and Saudi cities moved to secondary entries (`@a.nemreen/dga-ui/chart`, `/chatbot`, `/page-transition`, `/saudi-cities`) so the main bundle stays smaller. Icons load on demand.
49
- - `@a.nemreen/dga-ui` **0.3.13** / tokens **0.3.6** — portal footers follow the active brand in light and dark. Toast outlet updated alongside the National Day 96 demo.
50
-
51
- ## 2026-09-17
52
-
53
- `@a.nemreen/dga-ui` **0.3.12** · `@a.nemreen/dga-dynamic-form` **0.2.4**
54
-
55
- ### Added
56
-
57
- - `@a.nemreen/dga-ui` — age range on page feedback.
58
-
59
- ### Changed
60
-
61
- - `@a.nemreen/dga-dynamic-form` **0.2.4** — follows `DgaLocaleService` and updates labels when the locale changes.
62
- - `@a.nemreen/dga-dynamic-form` **0.2.3** / `@a.nemreen/dga-ui` **0.3.11** — field visibility can depend on the selected option. Select menu styling updated.
63
-
64
- ## 2026-09-16
65
-
66
- `@a.nemreen/dga-ui` **0.3.10** · `@a.nemreen/dga-tokens` **0.3.4**
67
-
68
- ### Added
69
-
70
- - `@a.nemreen/dga-ui` — weather on `dga-top-bar`.
71
- - `@a.nemreen/dga-ui` — shared floating-action dock for the chatbot and scroll-to-top.
72
-
73
- ## 2026-09-14
74
-
75
- `@a.nemreen/dga-ui` **0.3.10** · `@a.nemreen/dga-tokens` **0.3.3**
76
-
77
- `0.3.8` and `0.3.9` were not published on their own. Those fixes shipped inside **0.3.10**.
78
-
79
- ### Added
80
-
81
- - `@a.nemreen/dga-ui` **0.3.7** — footer link groups and accessibility links.
82
-
83
- ### Fixed
84
-
85
- - `@a.nemreen/dga-ui` — top-bar stamp notices stack full width on small screens.
86
- - `@a.nemreen/dga-ui` — `NG0950` when `dga-tab` (and the content switcher) read `value` before it was bound.
87
- - `@a.nemreen/dga-tokens` **0.3.2** / `@a.nemreen/dga-ui` **0.3.6** — `host-compat.css` so a host reset (`*` or `a`) no longer flattens DGA components. Top-bar clock lifecycle cleaned up. Broader locale coverage.
88
-
89
- ## 2026-09-03
90
-
91
- `@a.nemreen/dga-ui` **0.3.5** · `@a.nemreen/dga-dynamic-form` **0.2.0**
92
-
93
- ### Added
94
-
95
- - `@a.nemreen/dga-ui` — phone input with more countries and locale-aware formatting.
96
-
97
- ### Changed
98
-
99
- - Dynamic form labels and validators follow the active locale. Locale helpers expanded in tokens and UI.
100
-
101
- ## 2026-09-01
102
-
103
- `@a.nemreen/dga-ui` **0.3.4** · `@a.nemreen/dga-dynamic-form` **0.1.8** · `@a.nemreen/dga-tokens` **0.3.1**
104
-
105
- ### Added
106
-
107
- - `@a.nemreen/dga-dynamic-form` **0.1.8** — cross-field validators (password, Saudi phone, date range), staged uploads, and visibility fixes across the 18 field types.
108
-
109
- ### Changed
110
-
111
- - `@a.nemreen/dga-ui` **0.3.4** — chart tooltips.
112
-
113
- ## 2026-07-28
114
-
115
- `@a.nemreen/dga-ui` **0.3.1**
116
-
117
- ### Fixed
118
-
119
- - Overlay stacking, and the drawer releasing body scroll when it closes.
120
-
121
- ## 2026-07-25
122
-
123
- `@a.nemreen/dga-ui` **0.3.0** · `@a.nemreen/dga-tokens` **0.3.0**
124
-
125
- ### Changed
126
-
127
- - Accessibility panel redesign, stacked toasts, and portal chrome polish.
1
+ # Changelog
2
+
3
+ What changed in the packages you install. The same notes are on the live docs: [nemreen.info/dga/docs/changelog](https://nemreen.info/dga/docs/changelog).
4
+
5
+ Versions below are the ones published to npm. Work that is only in this repository is listed under **Unreleased** until the next version bump.
6
+
7
+ ## 2026-10-18
8
+
9
+ `@a.nemreen/dga-dynamic-form` **0.2.8**
10
+
11
+ ### Fixed
12
+
13
+ - `@a.nemreen/dga-dynamic-form` — staged upload browse button uses `variant="primary"` (brand green) instead of `secondary` (gold).
14
+
15
+ `@a.nemreen/dga-tokens` **0.3.9**
16
+
17
+ ### Fixed
18
+
19
+ - `@a.nemreen/dga-tokens` — `max-w-sm`…`max-w-7xl` (and `3xs`/`2xs`/`xs`) use `--container-*` widths again via unlayered `max-width-compat.css`. Tailwind v4 was binding those classes to the DGA `--spacing-*` scale (e.g. `max-w-7xl` → 64px), which collapsed page layouts that still use classic Tailwind max-width utilities.
20
+
21
+ `@a.nemreen/dga-ui` **0.3.18**
22
+
23
+ ### Fixed
24
+
25
+ - `@a.nemreen/dga-ui` — `dga-switch` renders a visible `label` beside the control (previously aria-only). Use `ariaLabel` when the surrounding layout already shows the title.
26
+
27
+ `@a.nemreen/dga-ui` **0.3.17** · `@a.nemreen/dga-dynamic-form` **0.2.6**
28
+
29
+ ### Added
30
+
31
+ - `@a.nemreen/dga-ui` — `dga-upload` shows accept / max size / max files constraints under the drop zone (e.g. `.pdf,.doc | حجم الملف الأقصى هو : 1MB | الحد الأقصى للملفات هو : 2`).
32
+ - `@a.nemreen/dga-dynamic-form` — staged upload shows the same constraints line; `dgaResolveMaxFileSizeBytes` maps legacy `maxFileSize: 1` (MB) to bytes.
33
+
34
+ ### Changed
35
+
36
+ - `@a.nemreen/dga-dynamic-form` — `maxFileSize` values `1..1023` are treated as megabytes for validation and display; values `>= 1024` stay bytes.
37
+
38
+ ## 2026-09-30
39
+
40
+ `@a.nemreen/dga-ui` **0.3.16**
41
+
42
+ ### Fixed
43
+
44
+ - `@a.nemreen/dga-ui` — rich text toolbar commands stay applied. Headings, lists, quotes, alignment, links, and clear formatting render in the editor, including tags inserted while typing.
45
+
46
+ ## 2026-09-29
47
+
48
+ `@a.nemreen/dga-ui` **0.3.15** · `@a.nemreen/dga-tokens` **0.3.8** · `@a.nemreen/dga-dynamic-form` **0.2.5**
49
+
50
+ ### Added
51
+
52
+ - `@a.nemreen/dga-ui` — choice group, tree, tree select, IBAN, national ID, password strength, confirm dialog, file preview, print, offline, search bar, QR, barcode, map embed, stat strip, FAQ, event calendar, virtual list, bottom sheet, popover, rich text, signature pad, notification inbox, locale toggle, and theme toggle.
53
+ - `@a.nemreen/dga-ui` — table data grid: pagination footer, column picker, row actions, debounced filters, typed sort, error and empty states, and auto, table, or cards on small screens.
54
+ - `@a.nemreen/dga-ui` — icon overrides through `provideDgaIcons`, using Hugeicons instead of `@platformscode/icons`.
55
+ - `@a.nemreen/dga-ui` — select and autocomplete can show a loading row, emit search for remote options, and offer a create row. Buttons can stretch with `fullWidth`. Menus have an icon appearance.
56
+
57
+ ### Changed
58
+
59
+ - `@a.nemreen/dga-ui` — event calendar days follow the date picker: circular days, a ring for today, a solid fill for the selected day, and no glow. The number stays readable on hover.
60
+ - `@a.nemreen/dga-tokens` — `host-compat.css` lists the new component selectors so a host reset does not flatten them.
61
+ - `@a.nemreen/dga-dynamic-form` — the published package now includes `CHANGELOG.md`.
62
+ - Demo — lighter first load with `NgOptimizedImage`, WebP heroes, and a tighter font-loading path. Docs changelog is paginated.
63
+
64
+ ### Fixed
65
+
66
+ - `@a.nemreen/dga-ui` — image popup is moved to the document body so it is not painted under a sticky header or sidebar.
67
+
68
+ ## 2026-09-20
69
+
70
+ `@a.nemreen/dga-ui` **0.3.14** · `@a.nemreen/dga-tokens` **0.3.7**
71
+
72
+ ### Added
73
+
74
+ - `@a.nemreen/dga-tokens` — `DGA_FONT_STYLESHEETS` and `dgaEnsureFontStylesheet` so a font stylesheet can be injected when the user switches families.
75
+ - `@a.nemreen/dga-tokens` **0.3.5** — National Day 96 brand pack.
76
+
77
+ ### Changed
78
+
79
+ - `@a.nemreen/dga-ui` **0.3.14** — chart, chatbot, page transition, and Saudi cities moved to secondary entries (`@a.nemreen/dga-ui/chart`, `/chatbot`, `/page-transition`, `/saudi-cities`) so the main bundle stays smaller. Icons load on demand.
80
+ - `@a.nemreen/dga-ui` **0.3.13** / tokens **0.3.6** — portal footers follow the active brand in light and dark. Toast outlet updated alongside the National Day 96 demo.
81
+
82
+ ## 2026-09-17
83
+
84
+ `@a.nemreen/dga-ui` **0.3.12** · `@a.nemreen/dga-dynamic-form` **0.2.4**
85
+
86
+ ### Added
87
+
88
+ - `@a.nemreen/dga-ui` — age range on page feedback.
89
+
90
+ ### Changed
91
+
92
+ - `@a.nemreen/dga-dynamic-form` **0.2.4** — follows `DgaLocaleService` and updates labels when the locale changes.
93
+ - `@a.nemreen/dga-dynamic-form` **0.2.3** / `@a.nemreen/dga-ui` **0.3.11** — field visibility can depend on the selected option. Select menu styling updated.
94
+
95
+ ## 2026-09-16
96
+
97
+ `@a.nemreen/dga-ui` **0.3.10** · `@a.nemreen/dga-tokens` **0.3.4**
98
+
99
+ ### Added
100
+
101
+ - `@a.nemreen/dga-ui` — weather on `dga-top-bar`.
102
+ - `@a.nemreen/dga-ui` — shared floating-action dock for the chatbot and scroll-to-top.
103
+
104
+ ## 2026-09-14
105
+
106
+ `@a.nemreen/dga-ui` **0.3.10** · `@a.nemreen/dga-tokens` **0.3.3**
107
+
108
+ `0.3.8` and `0.3.9` were not published on their own. Those fixes shipped inside **0.3.10**.
109
+
110
+ ### Added
111
+
112
+ - `@a.nemreen/dga-ui` **0.3.7** — footer link groups and accessibility links.
113
+
114
+ ### Fixed
115
+
116
+ - `@a.nemreen/dga-ui` — top-bar stamp notices stack full width on small screens.
117
+ - `@a.nemreen/dga-ui` — `NG0950` when `dga-tab` (and the content switcher) read `value` before it was bound.
118
+ - `@a.nemreen/dga-tokens` **0.3.2** / `@a.nemreen/dga-ui` **0.3.6** — `host-compat.css` so a host reset (`*` or `a`) no longer flattens DGA components. Top-bar clock lifecycle cleaned up. Broader locale coverage.
119
+
120
+ ## 2026-09-03
121
+
122
+ `@a.nemreen/dga-ui` **0.3.5** · `@a.nemreen/dga-dynamic-form` **0.2.0**
123
+
124
+ ### Added
125
+
126
+ - `@a.nemreen/dga-ui` — phone input with more countries and locale-aware formatting.
127
+
128
+ ### Changed
129
+
130
+ - Dynamic form labels and validators follow the active locale. Locale helpers expanded in tokens and UI.
131
+
132
+ ## 2026-09-01
133
+
134
+ `@a.nemreen/dga-ui` **0.3.4** · `@a.nemreen/dga-dynamic-form` **0.1.8** · `@a.nemreen/dga-tokens` **0.3.1**
135
+
136
+ ### Added
137
+
138
+ - `@a.nemreen/dga-dynamic-form` **0.1.8** — cross-field validators (password, Saudi phone, date range), staged uploads, and visibility fixes across the 18 field types.
139
+
140
+ ### Changed
141
+
142
+ - `@a.nemreen/dga-ui` **0.3.4** — chart tooltips.
143
+
144
+ ## 2026-07-28
145
+
146
+ `@a.nemreen/dga-ui` **0.3.1**
147
+
148
+ ### Fixed
149
+
150
+ - Overlay stacking, and the drawer releasing body scroll when it closes.
151
+
152
+ ## 2026-07-25
153
+
154
+ `@a.nemreen/dga-ui` **0.3.0** · `@a.nemreen/dga-tokens` **0.3.0**
155
+
156
+ ### Changed
157
+
158
+ - Accessibility panel redesign, stacked toasts, and portal chrome polish.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Ahmed Nemreen
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ahmed Nemreen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.