@sixbell-telco/sdk 1.4.0 → 1.6.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 +76 -0
- package/README.md +410 -472
- package/_index.css +26 -0
- package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +6 -1
- package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +1 -1
- package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +6 -1
- package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +7 -1
- package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +7 -1
- package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +30 -0
- package/components/dropdown/public-api.d.ts +0 -1
- package/components/dropdown/src/dropdown.component.d.ts +31 -7
- package/components/forms/combobox/src/combobox.component.d.ts +24 -0
- package/components/forms/select/src/select.component.d.ts +24 -0
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +472 -341
- package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +58 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +52 -2
- package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-logger.mjs +578 -0
- package/fesm2022/sixbell-telco-sdk-utils-logger.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-resource-loader.mjs +1222 -0
- package/fesm2022/sixbell-telco-sdk-utils-resource-loader.mjs.map +1 -0
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +1434 -180
- package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +734 -182
- package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
- package/package.json +54 -46
- package/utils/logger/README.md +539 -0
- package/utils/logger/index.d.ts +5 -0
- package/utils/logger/public-api.d.ts +3 -0
- package/utils/logger/src/constants.d.ts +15 -0
- package/utils/logger/src/logger.service.d.ts +123 -0
- package/utils/logger/src/models/logger.d.ts +25 -0
- package/utils/logger/src/providers/logger.provider.d.ts +3 -0
- package/utils/resource-loader/README.md +460 -0
- package/utils/resource-loader/index.d.ts +5 -0
- package/utils/resource-loader/public-api.d.ts +1 -0
- package/utils/resource-loader/src/cache/index.d.ts +2 -0
- package/utils/resource-loader/src/cache/layers/factory.d.ts +38 -0
- package/utils/resource-loader/src/cache/layers/index.d.ts +3 -0
- package/utils/resource-loader/src/cache/layers/indexed-db-cache.d.ts +118 -0
- package/utils/resource-loader/src/cache/layers/local-storage-cache.d.ts +86 -0
- package/utils/resource-loader/src/cache/layers/memory-cache.d.ts +76 -0
- package/utils/resource-loader/src/cache/types.d.ts +107 -0
- package/utils/resource-loader/src/config/index.d.ts +1 -0
- package/utils/resource-loader/src/config/load-config.d.ts +32 -0
- package/utils/resource-loader/src/constants.d.ts +38 -0
- package/utils/resource-loader/src/http/index.d.ts +1 -0
- package/utils/resource-loader/src/http/retryable-client.d.ts +43 -0
- package/utils/resource-loader/src/index.d.ts +1 -0
- package/utils/resource-loader/src/resource-loader.d.ts +67 -0
- package/utils/resource-loader/src/types.d.ts +152 -0
- package/utils/resource-loader/src/utils/cache-validator.d.ts +72 -0
- package/utils/resource-loader/src/utils/helpers.d.ts +15 -0
- package/utils/resource-loader/src/utils/index.d.ts +2 -0
- package/utils/theme/README.md +1054 -109
- package/utils/theme/public-api.d.ts +9 -1
- package/utils/theme/src/constants.d.ts +74 -0
- package/utils/theme/src/models/theme.d.ts +288 -0
- package/utils/theme/src/providers/constants.d.ts +7 -0
- package/utils/theme/src/providers/theme.provider.d.ts +13 -0
- package/utils/theme/src/providers/theme.provider.types.d.ts +29 -0
- package/utils/theme/src/theme-assets/theme-assets.service.d.ts +214 -0
- package/utils/theme/src/theme-assets/theme-assets.types.d.ts +10 -0
- package/utils/theme/src/theme-dom/theme-dom.service.d.ts +87 -0
- package/utils/theme/src/theme-scheme/theme-scheme.service.d.ts +44 -0
- package/utils/theme/src/theme-storage/theme-storage.service.d.ts +47 -0
- package/utils/theme/src/theme.service.d.ts +40 -186
- package/utils/theme/src/utils/utils.d.ts +86 -0
- package/utils/translation/README.md +1414 -176
- package/utils/translation/public-api.d.ts +6 -0
- package/utils/translation/src/constants.d.ts +52 -0
- package/utils/translation/src/models/translation.d.ts +59 -0
- package/utils/translation/src/providers/constants.d.ts +11 -0
- package/utils/translation/src/providers/translation.provider.d.ts +73 -0
- package/utils/translation/src/providers/translation.provider.types.d.ts +26 -0
- package/utils/translation/src/translation-dom/translation-dom.service.d.ts +26 -0
- package/utils/translation/src/translation-storage/translation-storage.service.d.ts +34 -0
- package/utils/translation/src/translation.service.d.ts +19 -166
- package/components/dropdown/src/services/dropdown.service.d.ts +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,82 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.6.0] - 2025-11-11
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Dropdown Dynamic View**: Add event handling for dynamic dropdown opening to reset view for smoother animations (`fcd2942`)
|
|
15
|
+
- **Dropdown Animation States**: Add comprehensive animation state management with proper opening/closing animations and event handling (`745b767`)
|
|
16
|
+
- **Dropdown Animations & Events**: Implement new features for state tracking and programmatic control with enhanced event handling (`00e0052`, `21589dc`)
|
|
17
|
+
- **Dropdown closeOnSelect**: Add new closeOnSelect functionality to dropdown items with animated morphing transitions (`00e0052`)
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
|
|
21
|
+
- **Dropdown Model Signal**: Migrate dropdown to Angular 19 signals API with model signal for programmatic control via `[(open)]="signal"` binding (`3d90015`)
|
|
22
|
+
- **Dropdown Animation Handling**: Enhance open/close methods with proper animation state transitions and event emissions (`ee13e58`)
|
|
23
|
+
- **Dropdown Control Flow**: Simplify conditional logic in position calculations and toggle method using early returns (`fc045e6`)
|
|
24
|
+
- **Select Component Animations**: Implement dynamic animation classes based on overlay position changes for directional animations (`323fb53`)
|
|
25
|
+
- **Combobox Component Animations**: Enhance animation handling with dynamic class mapping based on overlay position (`fb9e184`)
|
|
26
|
+
- **App Configuration**: Update logger configuration to enable logging based on development mode (`4758a44`)
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **Dropdown Service Removal**: Remove DropdownService dependency and update components to use signals for state management (`3d90015`)
|
|
31
|
+
- **Dropdown Close Behavior**: Enhance close behavior with proper animation state handling and ESC key support (`d1fd97c`)
|
|
32
|
+
- **Dropdown Default closeOnSelect**: Set default value of closeOnSelect to false for dropdown items (`896fbcd`)
|
|
33
|
+
|
|
34
|
+
### Refactored
|
|
35
|
+
|
|
36
|
+
- **Dropdown Component**: Remove overlay detach handler and related logging for cleaner, production-ready code (`a8e45d6`)
|
|
37
|
+
|
|
38
|
+
## [1.5.0] - 2025-11-04
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- **Documentation Updates**: Enhance README with Logger Service documentation and runtime configuration examples for themes and translations (`8f70196`, `62715ed`)
|
|
43
|
+
- **Theme i18n Structure**: Add new theme localization files for better organization and remove redundant theme/language sections from existing JSON files (`e26f2fa`)
|
|
44
|
+
- **Data Table i18n**: Add 'perPage' entry to dataTable translations in English, Spanish, and Portuguese (`fc2f7fb`, `daa220b`, `f29ccb9`, `5d9a1f9`, `b68ec31`)
|
|
45
|
+
- **Logger Service**: Add comprehensive logging utility with theme-aware styling, IndexedDB persistence, and configuration options (`ee55092`, `9011968`, `3e9b8d6`, `51c6459`, `8b6362a`, `40803ab`, `12f0865`)
|
|
46
|
+
- **Resource Loader**: Add intelligent resource loading with multi-layer caching (IndexedDB, localStorage, memory), retry logic, and fallback support (`e78622d`, `174959f`, `9a17a6c`, `7569482`)
|
|
47
|
+
- **Runtime Theme Provider**: Enhance with runtime configuration loading, auto-derivation of available themes, and improved asset management (`dfb9b65`, `38e964b`, `a4b9266`, `dc591ee`, `d6b68dc`, `20e76b7`)
|
|
48
|
+
- **Runtime Translation Provider**: Enhance with improved runtime initialization, IndexedDB support, and language preference persistence (`014df6f`, `51c6459`, `29eb934`)
|
|
49
|
+
- **Theme Constants**: Add constants for theme loader defaults, asset types, and improved configuration handling (`a2d693d`, `250b5fb`)
|
|
50
|
+
- **Translation Constants**: Add constants for IndexedDB integration and enforce immutability across configuration (`51c6459`, `014df6f`)
|
|
51
|
+
- **App Configuration**: Enhance showcase app config with new runtime providers and logger setup (`46a9751`, `8aeedbd`)
|
|
52
|
+
- **i18n Structure**: Restructure translation files with theme localization support and multi-path loading (`221a3da`, `c3b6412`)
|
|
53
|
+
- **Themes Configuration**: Add themes.json for comprehensive font and theme configuration with multi-variant support (`60edde2`)
|
|
54
|
+
- **Theme Assets**: Add themed logo assets for 'sixbell_telco' theme in themes.json (`a58b4ae`)
|
|
55
|
+
- **Testing Infrastructure**: Add comprehensive Angular 19 testing patterns with Jest and ng-mocks (`7cd3f6a`)
|
|
56
|
+
- **Git Configuration**: Update .gitignore with OS-generated files section and additional entries (`af3d26a`)
|
|
57
|
+
|
|
58
|
+
### Changed
|
|
59
|
+
|
|
60
|
+
- **Dockerfile**: Update nginx version to 1.29.2-alpine3.22-slim for improved security and compatibility (`3cb2f66`)
|
|
61
|
+
- **Docker Security**: Update nginx base image to version 1.29.3 for improved security and compatibility (`d44cfc6`)
|
|
62
|
+
- **Theme Service**: Integrate LoggerService for enhanced logging in theme configuration methods (`3d11375`, `40803ab`, `12f0865`)
|
|
63
|
+
- **Translation Service**: Enhance logging and replace console methods with logger service (`f7648d1`, `9582538`, `bfe2eee`)
|
|
64
|
+
- **Resource Loader**: Integrate LoggerService for improved error handling and debugging (`9a17a6c`, `7569482`)
|
|
65
|
+
- **Translation Provider**: Replace console.error with logger.error for improved error logging (`f7648d1`)
|
|
66
|
+
- **Sonner Toast**: Enable rich colors for Sonner toaster component for better visual feedback (`f1b67ab`)
|
|
67
|
+
- **App Configuration**: Update translation provider to use runtime configuration with fresh loading (`46a9751`, `c3b6412`)
|
|
68
|
+
- **Language Change**: Prevent page reload on language change for better UX (`b28c3b3`, `1707d4e`)
|
|
69
|
+
- **Cache Handling**: Update freshOnNavigation logic with improved defaults (`4511cf6`, `773e1f6`, `2f496a5`, `cbcfb21`)
|
|
70
|
+
- **Imports Path**: Update imports from runtime-loader to resource-loader for consistency (`f3551ca`, `66378c5`)
|
|
71
|
+
|
|
72
|
+
### Fixed
|
|
73
|
+
|
|
74
|
+
- **Theme Export**: Specify theme.provider export in public API and remove redundant index file (`12f0865`)
|
|
75
|
+
- **Translation Formatting**: Correct formatting by adding line breaks for better readability (`8520b1d`)
|
|
76
|
+
- **App Config**: Update translation provider to runtime configuration for proper initialization (`46a9751`)
|
|
77
|
+
- **Theme Restoration**: Restore freshOnNavigation default behavior for hot-reloading on navigation (`1e35dce`)
|
|
78
|
+
- **Translation Testing**: Update tests to use TRANSLATION_CONFIG_TOKEN and enhance runtime translation options (`b968b6a`)
|
|
79
|
+
- **Config Token**: Correct export path for resource-loader module (`ff6398e`)
|
|
80
|
+
- **Theme Constants**: Correct formatting and improve documentation (`91a79f9`, `6c3c33d`)
|
|
81
|
+
|
|
82
|
+
### Deprecated
|
|
83
|
+
|
|
84
|
+
- **Toast Components**: Marked legacy toast components and services as deprecated, recommending migration to ngx-sonner (`2c566e5`)
|
|
85
|
+
|
|
10
86
|
## [1.4.0] - 2025-09-23
|
|
11
87
|
|
|
12
88
|
### Added
|