@sixbell-telco/sdk 1.1.0 → 1.2.1

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 (40) hide show
  1. package/CHANGELOG.md +86 -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 +9 -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 +146 -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 +356 -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 +210 -62
  26. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -1
  27. package/package.json +17 -17
  28. package/utils/theme/README.md +185 -0
  29. package/utils/theme/src/theme.service.d.ts +168 -17
  30. package/utils/translation/README.md +274 -0
  31. package/utils/translation/public-api.d.ts +3 -0
  32. package/utils/translation/src/translation.service.d.ts +134 -49
  33. package/components/modal/modal-actions/modal-actions.component.d.ts +0 -8
  34. package/components/modal/modal-content/modal-content.component.d.ts +0 -5
  35. package/components/modal/modal-title/modal-title.component.d.ts +0 -5
  36. package/components/modal/public-api.d.ts +0 -4
  37. package/components/modal/src/modal.component.d.ts +0 -102
  38. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +0 -202
  39. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +0 -1
  40. package/sixbell-telco-sdk-1.1.0.tgz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,92 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.2.1] - 2025-08-22
11
+
12
+ ### Added
13
+
14
+ - **Dialog**: Add dialog injection toggle functionality with switch-case handling (28e04f5)
15
+ - **Dialog**: Add Storybook stories for `st-dialog` with multiple configurations and examples (e585581, 25a2790)
16
+ - **Dialog**: Add basic declarative dialog with subtitle support (ae4b245)
17
+ - **Dialog**: Implement dynamic class assignment for dialog title when subtitle is present (56b0a59)
18
+
19
+ ### Changed
20
+
21
+ - **Dialog**: Adjust margin spacing for dialog title and subtitle components for improved layout (0d499af)
22
+ - **Dialog**: Replace `alignment` input with `xPosition` and `yPosition` for precise positioning (dec8614)
23
+ - **Dialog**: Use paragraph element for dialog subtitle for improved semantics (3d68d28)
24
+ - **App**: Remove unused `DialogModule` import from app configuration (8226140)
25
+ - **Translation**: Simplify public API exports and update export paths for translation module (292cd92, 905893a)
26
+ - **SDK Build**: Update builder path to use `@angular-devkit` (cdc011d)
27
+ - **Storybook**: Add and update Storybook documentation and generated docs for dialog stories (25a2790, a3f8849)
28
+ - **Docs**: Update Storybook generated documentation (a3f8849)
29
+
30
+ ### Fixed
31
+
32
+ - **Dialog**: Improve subscription management and ensure cleanup on destroy to prevent memory leaks (884f89f, 0489ed3)
33
+ - **Dialog**: Fix import paths and handling for dialog title and subtitle components (cb1a66f, e27596f, f6364be)
34
+ - **Dialog**: Adjust margin for dialog subtitle component (66fec71)
35
+ - **Dialog**: Remove unnecessary `alignment` attribute usage from `st-dialog` components (68be5db)
36
+ - **Dropdown Menu**: Fix import paths for dropdown menu components and icons (3082a35)
37
+
38
+ ## [1.2.0] - 2025-08-13
39
+
40
+ ### Added
41
+
42
+ - **Dialog Component**: Implement comprehensive dialog component system with CDK Dialog integration, dynamic positioning, customizable animations, and enhanced styling options
43
+ - **Dialog Component**: Add DialogConfig support with data-driven animations and improved dialog close handling
44
+ - **Dialog Component**: Add positioning controls with x/y axis support and shadow style enhancements
45
+ - **Dialog Component**: Integrate CDK Overlay service for improved dialog positioning and animation timing
46
+ - **Animation**: Add enter and exit keyframes for improved component animations
47
+ - **Watermark**: Add Sixbell watermark SVG logo to project assets
48
+ - **Showcase**: Implement dynamic dialog positioning and enhance dialog examples with new components
49
+ - **Translation**: Add self-contained translation provider with multi-path support and automatic ngx-translate setup
50
+ - **Translation**: Implement provideTranslation function for configurable translation service initialization
51
+ - **Translation**: Add method to get localized language name by code
52
+ - **Translation**: Enhance TranslationService configuration with additional and excluded languages support
53
+ - **Translation**: Add SDK language files for English, Spanish, and Portuguese with theme and UI translations
54
+ - **Theme**: Add light and dark theme configurations with custom color variables
55
+ - **Theme**: Add built-in isDarkTheme signal for simplified theme detection
56
+ - **Theme**: Add resolvedScheme for accurate light/dark detection and enhance theme rendering
57
+ - **Theme**: Add initialization method for MFE environments and enhance provideTheme overloads
58
+ - **Theme**: Add support for availableThemes in ThemeService configuration
59
+ - **Theme**: Add methods for localized theme and scheme names using translations
60
+ - **Styles**: Add backdrop color and shadow properties, and define Poppins font for theme
61
+ - **AI Documentation**: Add AI coding agent instructions for Sixbell Telco SDK
62
+
63
+ ### Changed
64
+
65
+ - **Modal to Dialog Migration**: Replace all st-modal references with new st-dialog component across showcase, dropzone stories, and documentation
66
+ - **App Config**: Integrate CDK Dialog module and enhance language configuration
67
+ - **Translation**: Enhance translation service with improved configuration and testing
68
+ - **Translation**: Replace ThemeService with provideTheme for automatic initialization
69
+ - **Theme**: Update ThemeService to support additional themes and improve configuration options
70
+ - **Theme**: Update default theme to 'sixbell_telco' and adjust related configurations
71
+ - **Theme**: Update theme names to 'sixbell_telco**light' and 'sixbell_telco**dark' for consistency
72
+ - **Theme**: Change default scheme from 'dark' to 'system' for improved user experience
73
+ - **Theme**: Update default scheme to 'system' and enhance initialization logic
74
+ - **i18n**: Update theme name from 'vivid_elegance' to 'sixbell_telco' in localization files
75
+ - **i18n**: Add 'sixbell_telco' theme to English, Spanish, and Portuguese translations
76
+ - **i18n**: Rename language display methods for consistency and localization
77
+ - **Storybook**: Update docs and enhance documentation structure
78
+ - **Documentation**: Update README with enhanced directory structure, service configurations, and usage examples
79
+ - **Documentation**: Clean up README formatting and remove unnecessary lines
80
+ - **Documentation**: Update SDK description and add services section
81
+
82
+ ### Fixed
83
+
84
+ - **Dialog**: Remove unused dialog service export from public API
85
+ - **Toast**: Update z-index for toast container to improve visibility
86
+ - **Combobox**: Handle pristine and untouched state in component class determination
87
+ - **Main**: Correct import order and formatting in main.ts
88
+ - **Documentation**: Update README formatting and structure improvements
89
+
90
+ ### Removed
91
+
92
+ - **Modal Component**: Remove modal component and related files for cleanup as part of migration to dialog system
93
+ - **i18n**: Remove unused UI section from English localization
94
+ - **Theme**: Remove outdated manual implementation examples for isDarkTheme signal
95
+
10
96
  ## [1.1.0] - 2025-08-08
11
97
 
12
98
  ### Added