@sixbell-telco/sdk 1.0.3 → 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 (103) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/README.md +641 -163
  3. package/_index.css +85 -28
  4. package/components/avatar/src/avatar.component.d.ts +40 -26
  5. package/components/badge/src/badge.component.d.ts +0 -4
  6. package/components/button/src/button.component.d.ts +2 -2
  7. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +8 -0
  8. package/components/dialog/dialog-content/dialog-content.component.d.ts +5 -0
  9. package/components/dialog/dialog-sub-title/dialog-sub-title.component.d.ts +5 -0
  10. package/components/dialog/dialog-title/dialog-title.component.d.ts +5 -0
  11. package/components/dialog/index.d.ts +5 -0
  12. package/components/dialog/public-api.d.ts +5 -0
  13. package/components/dialog/src/dialog.component.d.ts +132 -0
  14. package/components/dropdown/dropdown-chevron/dropdown-chevron.component.d.ts +39 -0
  15. package/components/dropdown/dropdown-content/dropdown-content.component.d.ts +41 -0
  16. package/components/dropdown/dropdown-group/dropdown-group.component.d.ts +9 -0
  17. package/components/dropdown/dropdown-item/dropdown-item.component.d.ts +23 -12
  18. package/components/dropdown/dropdown-item-checkbox/dropdown-item-checkbox.component.d.ts +49 -0
  19. package/components/dropdown/dropdown-item-radio/dropdown-item-radio.component.d.ts +53 -0
  20. package/components/dropdown/dropdown-label/dropdown-label.component.d.ts +17 -0
  21. package/components/dropdown/dropdown-separator/dropdown-separator.component.d.ts +21 -0
  22. package/components/dropdown/dropdown-trigger/dropdown-trigger.component.d.ts +121 -0
  23. package/components/dropdown/public-api.d.ts +9 -0
  24. package/components/dropdown/src/dropdown.component.d.ts +20 -174
  25. package/components/dropdown/src/services/dropdown.service.d.ts +22 -0
  26. package/components/dropdown-menu/bar/dropdown-menu-bar/dropdown-menu-bar.component.d.ts +22 -0
  27. package/components/dropdown-menu/bar/dropdown-menu-bar-content/dropdown-menu-bar-content.component.d.ts +64 -0
  28. package/components/dropdown-menu/bar/dropdown-menu-bar-item/dropdown-menu-bar-item.component.d.ts +37 -0
  29. package/components/dropdown-menu/bar/dropdown-menu-bar-item-checkbox/dropdown-menu-bar-item-checkbox.component.d.ts +54 -0
  30. package/components/dropdown-menu/bar/dropdown-menu-bar-item-radio/dropdown-menu-bar-item-radio.component.d.ts +58 -0
  31. package/components/dropdown-menu/bar/dropdown-menu-bar-label/dropdown-menu-bar-label.component.d.ts +16 -0
  32. package/components/dropdown-menu/bar/dropdown-menu-bar-separator/dropdown-menu-bar-separator.component.d.ts +16 -0
  33. package/components/dropdown-menu/bar/dropdown-menu-bar-sub-trigger/dropdown-menu-bar-sub-trigger.component.d.ts +29 -0
  34. package/components/dropdown-menu/bar/dropdown-menu-bar-trigger/dropdown-menu-bar-trigger.component.d.ts +50 -0
  35. package/components/dropdown-menu/bar/index.d.ts +5 -0
  36. package/components/dropdown-menu/bar/public-api.d.ts +9 -0
  37. package/components/dropdown-menu/context/dropdown-context-menu-trigger/dropdown-context-menu-trigger.component.d.ts +23 -0
  38. package/components/dropdown-menu/context/index.d.ts +5 -0
  39. package/components/dropdown-menu/context/public-api.d.ts +1 -0
  40. package/components/dropdown-menu/dropdown-menu-chevron/dropdown-menu-chevron.component.d.ts +43 -0
  41. package/components/dropdown-menu/index.d.ts +5 -0
  42. package/components/dropdown-menu/public-api.d.ts +13 -0
  43. package/components/dropdown-menu/src/directives/dropdown-menu.directive.d.ts +40 -0
  44. package/components/dropdown-menu/src/dropdown-menu/dropdown-menu.component.d.ts +9 -0
  45. package/components/dropdown-menu/src/dropdown-menu-content/dropdown-menu-content.component.d.ts +40 -0
  46. package/components/dropdown-menu/src/dropdown-menu-group/dropdown-menu-group.component.d.ts +8 -0
  47. package/components/dropdown-menu/src/dropdown-menu-item/dropdown-menu-item.component.d.ts +38 -0
  48. package/components/dropdown-menu/src/dropdown-menu-label/dropdown-menu-label.component.d.ts +16 -0
  49. package/components/dropdown-menu/src/dropdown-menu-separator/dropdown-menu-separator.component.d.ts +16 -0
  50. package/components/dropdown-menu/src/dropdown-menu-sub/dropdown-menu-sub.component.d.ts +8 -0
  51. package/components/dropdown-menu/src/dropdown-menu-sub-content/dropdown-menu-sub-content.component.d.ts +31 -0
  52. package/components/dropdown-menu/src/dropdown-menu-sub-trigger/dropdown-menu-sub-trigger.component.d.ts +18 -0
  53. package/components/dropdown-menu/src/dropdown-menu-trigger/dropdown-menu-trigger.component.d.ts +19 -0
  54. package/components/dropdown-menu/src/services/dropdown-menu.service.d.ts +22 -0
  55. package/directives/auto-focus/src/autofocus.directive.d.ts +3 -3
  56. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs +75 -39
  57. package/fesm2022/sixbell-telco-sdk-components-avatar.mjs.map +1 -1
  58. package/fesm2022/sixbell-telco-sdk-components-badge.mjs +1 -1
  59. package/fesm2022/sixbell-telco-sdk-components-badge.mjs.map +1 -1
  60. package/fesm2022/sixbell-telco-sdk-components-button.mjs +1 -0
  61. package/fesm2022/sixbell-telco-sdk-components-button.mjs.map +1 -1
  62. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs +305 -0
  63. package/fesm2022/sixbell-telco-sdk-components-dialog.mjs.map +1 -0
  64. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs +529 -0
  65. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-bar.mjs.map +1 -0
  66. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs +52 -0
  67. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu-context.mjs.map +1 -0
  68. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs +539 -0
  69. package/fesm2022/sixbell-telco-sdk-components-dropdown-menu.mjs.map +1 -0
  70. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs +592 -213
  71. package/fesm2022/sixbell-telco-sdk-components-dropdown.mjs.map +1 -1
  72. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs +5 -2
  73. package/fesm2022/sixbell-telco-sdk-components-forms-combobox.mjs.map +1 -1
  74. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs +2 -2
  75. package/fesm2022/sixbell-telco-sdk-components-forms-select.mjs.map +1 -1
  76. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs +1 -1
  77. package/fesm2022/sixbell-telco-sdk-components-product-card.mjs.map +1 -1
  78. package/fesm2022/sixbell-telco-sdk-components-toast.mjs +2 -2
  79. package/fesm2022/sixbell-telco-sdk-components-toast.mjs.map +1 -1
  80. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs +3 -3
  81. package/fesm2022/sixbell-telco-sdk-directives-auto-focus.mjs.map +1 -1
  82. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs +295 -0
  83. package/fesm2022/sixbell-telco-sdk-utils-theme.mjs.map +1 -0
  84. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs +332 -0
  85. package/fesm2022/sixbell-telco-sdk-utils-translation.mjs.map +1 -0
  86. package/package.json +29 -9
  87. package/sixbell-telco-sdk-1.2.0.tgz +0 -0
  88. package/utils/theme/README.md +185 -0
  89. package/{components/modal → utils/theme}/index.d.ts +1 -1
  90. package/utils/theme/public-api.d.ts +1 -0
  91. package/utils/theme/src/theme.service.d.ts +206 -0
  92. package/utils/translation/README.md +274 -0
  93. package/utils/translation/index.d.ts +5 -0
  94. package/utils/translation/public-api.d.ts +5 -0
  95. package/utils/translation/src/translation.service.d.ts +197 -0
  96. package/components/modal/modal-actions/modal-actions.component.d.ts +0 -8
  97. package/components/modal/modal-content/modal-content.component.d.ts +0 -5
  98. package/components/modal/modal-title/modal-title.component.d.ts +0 -5
  99. package/components/modal/public-api.d.ts +0 -4
  100. package/components/modal/src/modal.component.d.ts +0 -102
  101. package/fesm2022/sixbell-telco-sdk-components-modal.mjs +0 -202
  102. package/fesm2022/sixbell-telco-sdk-components-modal.mjs.map +0 -1
  103. package/sixbell-telco-sdk-1.0.3.tgz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,108 @@ 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
+
68
+ ## [1.1.0] - 2025-08-08
69
+
70
+ ### Added
71
+
72
+ - **Dropdown Menu**: Add comprehensive dropdown menu component system with trigger, content, separator, group, checkbox, and radio components for enhanced menu functionality
73
+ - **Dropdown Menu**: Add dropdown menu service for managing menu state and closing nested menus
74
+ - **Dropdown Menu**: Add context menu trigger and bar components for horizontal menu functionality
75
+ - **Theme Service**: Add theme service for managing themes and schemes with data-theme attribute support
76
+ - **Translation Service**: Add translation service with language management and localization features for English, Spanish, and Portuguese
77
+ - **Dropdown**: Add standalone dropdown component with improved trigger and content coordination using CDK overlay positioning
78
+ - **Dropdown Chevron**: Add DropdownChevron component with size and color inputs for improved dropdown navigation (`405bcfd`)
79
+ - **Dropdown Menu Chevron**: Add DropdownMenuChevron component with size and color support and state management service (`1ecf46a`, `6da96fb`)
80
+ - **Avatar Component**: Enhance with DaisyUI patterns and presence indicators for improved user representation (`55b8cc3`)
81
+ - **Theme Colors**: Add custom color base-50 and new gradients for improved theming capabilities (`fbea5c6`, `14b174a`)
82
+ - **Storybook Documentation**: Enhance color documentation with light and dark theme variations (`64157bc`)
83
+
84
+ ### Changed
85
+
86
+ - **Dropdown Components**: Refactor dropdown items to use radio components for better selection handling and improved component structure
87
+ - **Dropdown Events**: Migrate from deprecated `onEvent` pattern to modern Angular signal-based event patterns (`selected`, `opened`, `closed`) following Angular conventions
88
+ - **Dropdown Menu**: Restructure dropdown menu components and enhance functionality with improved icons and context menu support
89
+ - **App Component**: Rename menu action and notification methods for clarity and compatibility during dropdown refactoring
90
+ - **Button Component**: Add 'base' variant to button style variants for enhanced dropdown integration
91
+ - **Code Structure**: Refactor code structure for improved readability and maintainability across dropdown components
92
+ - **Dropdown Trigger**: Update dropdown trigger button styles and adjust chevron size for better visual consistency (`868f532`)
93
+ - **Dropdown Menu**: Enhance dropdown menu with avatar support and improved documentation (`42e0517`)
94
+ - **Dropdown**: Add chevron support to dropdown and menu components (`116bb04`)
95
+ - **Dropdown Menu**: Add shadow option to dropdown menu components for enhanced visual depth (`63ac073`)
96
+ - **Dropdown Trigger**: Update dropdown trigger bindings to use new syntax (`4110978`)
97
+ - **Showcase**: Update avatar usage in showcase examples (`3dc5aca`)
98
+
99
+ ### Fixed
100
+
101
+ - **Dropdown Content**: Update minimum width class for dropdown content to improve layout consistency
102
+ - **Dropdown Trigger**: Change button to div for better accessibility and semantics in dropdown triggers
103
+ - **Dropdown Menu**: Remove unnecessary absolute positioning classes and unused menu position inputs for cleaner implementation
104
+ - **Showcase Compatibility**: Add method aliases (`onMenuAction`, `onNotify`) to maintain backward compatibility with dropdown-menu and toast components
105
+
106
+ ### Removed
107
+
108
+ - **Dropdown Menu**: Remove unused DropdownMenuShortcut component and export to streamline dropdown menu structure
109
+ - **Menu Dropdown**: Remove redundant dropdown menu components and related services to avoid duplication
110
+ - **Dropdown Menu Stack Service**: Remove unused DropdownMenuStackService for code cleanup (`27cac5b`)
111
+
10
112
  ## [1.0.3] - 2025-07-23
11
113
 
12
114
  ### Added