@nice2dev/ui 1.0.3 → 1.0.4
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 +19 -3
- package/dist/index.cjs +383 -340
- package/dist/index.d.ts +7501 -117
- package/dist/index.mjs +54731 -31753
- package/dist/ui.css +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the core UI library.
|
|
4
4
|
|
|
5
|
+
## [1.0.4] — 2025-01-26
|
|
6
|
+
|
|
7
|
+
### Fixed — TypeScript Compatibility (Quality Release)
|
|
8
|
+
|
|
9
|
+
- **TypeScript strict mode fixes** — resolved 433 TypeScript errors across @nice2dev/ui and @nice2dev/ui-tools
|
|
10
|
+
- **Export deduplication** — removed duplicate exports in namespace barrel files
|
|
11
|
+
- **BarcodeDetector types** — added proper type definitions for barcode scanning APIs
|
|
12
|
+
- **Media component imports** — fixed import paths for audio/video components
|
|
13
|
+
- **Interface consistency** — standardized optional properties across control interfaces
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **Showcase navigation** — redesigned top navigation with category dropdown (Core UI, Data & Viz, Media, Identity, Business, Advanced) for better organization
|
|
18
|
+
|
|
5
19
|
## [1.0.1] — 2026-03-25
|
|
6
20
|
|
|
7
21
|
### Added — New Controls (FAZA 7.1)
|
|
@@ -77,6 +91,7 @@ All notable changes to the core UI library.
|
|
|
77
91
|
Initial production release — 292 source files, 160+ React components.
|
|
78
92
|
|
|
79
93
|
### Core
|
|
94
|
+
|
|
80
95
|
- Theme system with CSS variables, light/dark mode, 100+ presets
|
|
81
96
|
- i18n provider (PL, EN) with `useNiceTranslation`
|
|
82
97
|
- Icon system: `NiceIcon`, `NiceIconProvider`, 300+ built-in SVG icons
|
|
@@ -85,6 +100,7 @@ Initial production release — 292 source files, 160+ React components.
|
|
|
85
100
|
- DataSource pattern: array, REST, OData, GraphQL adapters
|
|
86
101
|
|
|
87
102
|
### Components
|
|
103
|
+
|
|
88
104
|
- **Buttons**: NiceButton, NiceDropDownButton, NiceIconButton, NiceSpeedDial, NiceButtonGroup
|
|
89
105
|
- **Editors**: TextInput, NumberInput, Select, Checkbox, Toggle, DatePicker, TextArea, Autocomplete, ColorPicker, RangeSlider, RadioGroup, TagBox, HtmlEditor, CodeEditor
|
|
90
106
|
- **Data**: DataGrid (sort, filter, page, virtual scroll, group, pivot, edit), TreeView, CardView
|
|
@@ -108,19 +124,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
108
124
|
### Added
|
|
109
125
|
|
|
110
126
|
#### Navigation
|
|
127
|
+
|
|
111
128
|
- `NiceSidebarNav` — full OmniVerk sidebar navigation with role / unit / favourites / preferences modes
|
|
112
129
|
- `NiceSidebarNavSource`, `NiceSidebarNavMode`, `NiceSidebarItemDto`, `NiceNavSection`, `NiceNavBadge`
|
|
113
130
|
- `NiceSidebarNavProps`, `NiceSidebarNavRef` (imperative `setMode`, `setQuery`, `focusSearch` API)
|
|
114
131
|
- Accessible: keyboard navigation, ARIA roles, reduced-motion support
|
|
115
132
|
|
|
116
133
|
### Fixed
|
|
134
|
+
|
|
117
135
|
- `pdfjs-dist` CJS/ESM compatibility under Vite 6: replaced `new Function('require', …)` pattern with a
|
|
118
136
|
proper dynamic `import()` to align with strict CSP and Vite 6 module resolution (`pdf-loader.ts`)
|
|
119
137
|
|
|
120
138
|
---
|
|
121
139
|
|
|
122
|
-
|
|
123
|
-
|
|
124
140
|
### 🚀 Major Feature Release
|
|
125
141
|
|
|
126
142
|
70+ new components, advanced data handling, gamification, ERP/business tools, dev utilities, and theme system expansion.
|
|
@@ -499,7 +515,7 @@ The first stable release of `@nice2dev/ui` — a universal, themeable, i18n-read
|
|
|
499
515
|
|
|
500
516
|
- **78 built-in SVG icons** accessible via `<NiceIcon name="..." />`
|
|
501
517
|
- `NiceIconProvider` for pluggable custom icon resolvers
|
|
502
|
-
- Icons: add, alert, arrow
|
|
518
|
+
- Icons: add, alert, arrow-\*, calendar, chart, check, close, copy, delete, download, edit, email, file, filter, folder, grid, heart, help, home, image, info, link, list, lock, mail, menu, minus, notification, paste, person, phone, pin, play, plus, print, refresh, save, search, settings, share, sort, star, sync, table, tag, time, trash, tree, undo, redo, upload, view, warning, zoom-in, zoom-out, and more
|
|
503
519
|
|
|
504
520
|
### CSS
|
|
505
521
|
|