@sixbell-telco/sdk 1.1.0 → 1.2.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/README.md +600 -166
  3. package/_index.css +34 -4
  4. package/components/badge/src/badge.component.d.ts +0 -4
  5. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +8 -0
  6. package/components/dialog/dialog-content/dialog-content.component.d.ts +5 -0
  7. package/components/dialog/dialog-sub-title/dialog-sub-title.component.d.ts +5 -0
  8. package/components/dialog/dialog-title/dialog-title.component.d.ts +5 -0
  9. package/components/{modal → dialog}/index.d.ts +1 -1
  10. package/components/dialog/public-api.d.ts +5 -0
  11. package/components/dialog/src/dialog.component.d.ts +132 -0
  12. package/directives/auto-focus/src/autofocus.directive.d.ts +3 -3
  13. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +1 -1
  14. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  15. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +305 -0
  16. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -0
  17. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +3 -0
  18. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  19. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +2 -2
  20. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  21. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  22. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  23. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +221 -65
  24. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -1
  25. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +211 -62
  26. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  27. package/package.json +13 -13
  28. package/sixbell-telco-sdk-1.2.0.tgz +0 -0
  29. package/utils/theme/README.md +185 -0
  30. package/utils/theme/src/theme.service.d.ts +168 -17
  31. package/utils/translation/README.md +274 -0
  32. package/utils/translation/public-api.d.ts +4 -0
  33. package/utils/translation/src/translation.service.d.ts +134 -49
  34. package/components/modal/modal-actions/modal-actions.component.d.ts +0 -8
  35. package/components/modal/modal-content/modal-content.component.d.ts +0 -5
  36. package/components/modal/modal-title/modal-title.component.d.ts +0 -5
  37. package/components/modal/public-api.d.ts +0 -4
  38. package/components/modal/src/modal.component.d.ts +0 -102
  39. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +0 -202
  40. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +0 -1
  41. package/sixbell-telco-sdk-1.1.0.tgz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.0] - 2025-08-13
11
+
12
+ ### Added
13
+
14
+ - **Dialog Component**: Implement comprehensive dialog component system with CDK Dialog integration, dynamic positioning, customizable animations, and enhanced styling options
15
+ - **Dialog Component**: Add DialogConfig support with data-driven animations and improved dialog close handling
16
+ - **Dialog Component**: Add positioning controls with x/y axis support and shadow style enhancements
17
+ - **Dialog Component**: Integrate CDK Overlay service for improved dialog positioning and animation timing
18
+ - **Animation**: Add enter and exit keyframes for improved component animations
19
+ - **Watermark**: Add Sixbell watermark SVG logo to project assets
20
+ - **Showcase**: Implement dynamic dialog positioning and enhance dialog examples with new components
21
+ - **Translation**: Add self-contained translation provider with multi-path support and automatic ngx-translate setup
22
+ - **Translation**: Implement provideTranslation function for configurable translation service initialization
23
+ - **Translation**: Add method to get localized language name by code
24
+ - **Translation**: Enhance TranslationService configuration with additional and excluded languages support
25
+ - **Translation**: Add SDK language files for English, Spanish, and Portuguese with theme and UI translations
26
+ - **Theme**: Add light and dark theme configurations with custom color variables
27
+ - **Theme**: Add built-in isDarkTheme signal for simplified theme detection
28
+ - **Theme**: Add resolvedScheme for accurate light/dark detection and enhance theme rendering
29
+ - **Theme**: Add initialization method for MFE environments and enhance provideTheme overloads
30
+ - **Theme**: Add support for availableThemes in ThemeService configuration
31
+ - **Theme**: Add methods for localized theme and scheme names using translations
32
+ - **Styles**: Add backdrop color and shadow properties, and define Poppins font for theme
33
+ - **AI Documentation**: Add AI coding agent instructions for Sixbell Telco SDK
34
+
35
+ ### Changed
36
+
37
+ - **Modal to Dialog Migration**: Replace all st-modal references with new st-dialog component across showcase, dropzone stories, and documentation
38
+ - **App Config**: Integrate CDK Dialog module and enhance language configuration
39
+ - **Translation**: Enhance translation service with improved configuration and testing
40
+ - **Translation**: Replace ThemeService with provideTheme for automatic initialization
41
+ - **Theme**: Update ThemeService to support additional themes and improve configuration options
42
+ - **Theme**: Update default theme to 'sixbell_telco' and adjust related configurations
43
+ - **Theme**: Update theme names to 'sixbell_telco**light' and 'sixbell_telco**dark' for consistency
44
+ - **Theme**: Change default scheme from 'dark' to 'system' for improved user experience
45
+ - **Theme**: Update default scheme to 'system' and enhance initialization logic
46
+ - **i18n**: Update theme name from 'vivid_elegance' to 'sixbell_telco' in localization files
47
+ - **i18n**: Add 'sixbell_telco' theme to English, Spanish, and Portuguese translations
48
+ - **i18n**: Rename language display methods for consistency and localization
49
+ - **Storybook**: Update docs and enhance documentation structure
50
+ - **Documentation**: Update README with enhanced directory structure, service configurations, and usage examples
51
+ - **Documentation**: Clean up README formatting and remove unnecessary lines
52
+ - **Documentation**: Update SDK description and add services section
53
+
54
+ ### Fixed
55
+
56
+ - **Dialog**: Remove unused dialog service export from public API
57
+ - **Toast**: Update z-index for toast container to improve visibility
58
+ - **Combobox**: Handle pristine and untouched state in component class determination
59
+ - **Main**: Correct import order and formatting in main.ts
60
+ - **Documentation**: Update README formatting and structure improvements
61
+
62
+ ### Removed
63
+
64
+ - **Modal Component**: Remove modal component and related files for cleanup as part of migration to dialog system
65
+ - **i18n**: Remove unused UI section from English localization
66
+ - **Theme**: Remove outdated manual implementation examples for isDarkTheme signal
67
+
10
68
  ## [1.1.0] - 2025-08-08
11
69
 
12
70
  ### Added